adpro-react 0.0.39 → 0.0.40

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.
@@ -526,7 +526,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
526
526
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
527
527
  * See the License for the specific language governing permissions and
528
528
  * limitations under the License.
529
- */function Ct(e){return e.variant===jt.FIDELITY||e.variant===jt.CONTENT}function $2(e){return e.variant===jt.MONOCHROME}function oh(e,t,n,r){let o=n,i=ke.from(e,t,n);if(i.chroma<t){let a=i.chroma;for(;i.chroma<t;){o+=r?-1:1;const s=ke.from(e,t,o);if(a>s.chroma||Math.abs(s.chroma-t)<.4)break;const l=Math.abs(s.chroma-t),u=Math.abs(i.chroma-t);l<u&&(i=s),a=Math.max(a,s.chroma)}}return o}class U{static highestSurface(t){return t.isDark?U.surfaceBright:U.surfaceDim}}U.contentAccentToneDelta=15;U.primaryPaletteKeyColor=a2.fromPalette({name:"primary_palette_key_color",palette:e=>e.primaryPalette,tone:e=>e.primaryPalette.keyColor.tone});U.secondaryPaletteKeyColor=a2.fromPalette({name:"secondary_palette_key_color",palette:e=>e.secondaryPalette,tone:e=>e.secondaryPalette.keyColor.tone});U.tertiaryPaletteKeyColor=a2.fromPalette({name:"tertiary_palette_key_color",palette:e=>e.tertiaryPalette,tone:e=>e.tertiaryPalette.keyColor.tone});U.neutralPaletteKeyColor=a2.fromPalette({name:"neutral_palette_key_color",palette:e=>e.neutralPalette,tone:e=>e.neutralPalette.keyColor.tone});U.neutralVariantPaletteKeyColor=a2.fromPalette({name:"neutral_variant_palette_key_color",palette:e=>e.neutralVariantPalette,tone:e=>e.neutralVariantPalette.keyColor.tone});U.background=a2.fromPalette({name:"background",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});U.onBackground=a2.fromPalette({name:"on_background",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>U.background,contrastCurve:new u2(3,3,4.5,7)});U.surface=a2.fromPalette({name:"surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});U.surfaceDim=a2.fromPalette({name:"surface_dim",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:new u2(87,87,80,75).get(e.contrastLevel),isBackground:!0});U.surfaceBright=a2.fromPalette({name:"surface_bright",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(24,24,29,34).get(e.contrastLevel):98,isBackground:!0});U.surfaceContainerLowest=a2.fromPalette({name:"surface_container_lowest",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(4,4,2,0).get(e.contrastLevel):100,isBackground:!0});U.surfaceContainerLow=a2.fromPalette({name:"surface_container_low",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(10,10,11,12).get(e.contrastLevel):new u2(96,96,96,95).get(e.contrastLevel),isBackground:!0});U.surfaceContainer=a2.fromPalette({name:"surface_container",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(12,12,16,20).get(e.contrastLevel):new u2(94,94,92,90).get(e.contrastLevel),isBackground:!0});U.surfaceContainerHigh=a2.fromPalette({name:"surface_container_high",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(17,17,21,25).get(e.contrastLevel):new u2(92,92,88,85).get(e.contrastLevel),isBackground:!0});U.surfaceContainerHighest=a2.fromPalette({name:"surface_container_highest",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(22,22,26,30).get(e.contrastLevel):new u2(90,90,84,80).get(e.contrastLevel),isBackground:!0});U.onSurface=a2.fromPalette({name:"on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>U.highestSurface(e),contrastCurve:new u2(4.5,7,11,21)});U.surfaceVariant=a2.fromPalette({name:"surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:90,isBackground:!0});U.onSurfaceVariant=a2.fromPalette({name:"on_surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?80:30,background:e=>U.highestSurface(e),contrastCurve:new u2(3,4.5,7,11)});U.inverseSurface=a2.fromPalette({name:"inverse_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:20});U.inverseOnSurface=a2.fromPalette({name:"inverse_on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?20:95,background:e=>U.inverseSurface,contrastCurve:new u2(4.5,7,11,21)});U.outline=a2.fromPalette({name:"outline",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?60:50,background:e=>U.highestSurface(e),contrastCurve:new u2(1.5,3,4.5,7)});U.outlineVariant=a2.fromPalette({name:"outline_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:80,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5)});U.shadow=a2.fromPalette({name:"shadow",palette:e=>e.neutralPalette,tone:e=>0});U.scrim=a2.fromPalette({name:"scrim",palette:e=>e.neutralPalette,tone:e=>0});U.surfaceTint=a2.fromPalette({name:"surface_tint",palette:e=>e.primaryPalette,tone:e=>e.isDark?80:40,isBackground:!0});U.primary=a2.fromPalette({name:"primary",palette:e=>e.primaryPalette,tone:e=>$2(e)?e.isDark?100:0:e.isDark?80:40,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(3,4.5,7,7),toneDeltaPair:e=>new f1(U.primaryContainer,U.primary,10,"nearer",!1)});U.onPrimary=a2.fromPalette({name:"on_primary",palette:e=>e.primaryPalette,tone:e=>$2(e)?e.isDark?10:90:e.isDark?20:100,background:e=>U.primary,contrastCurve:new u2(4.5,7,11,21)});U.primaryContainer=a2.fromPalette({name:"primary_container",palette:e=>e.primaryPalette,tone:e=>Ct(e)?e.sourceColorHct.tone:$2(e)?e.isDark?85:25:e.isDark?30:90,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.primaryContainer,U.primary,10,"nearer",!1)});U.onPrimaryContainer=a2.fromPalette({name:"on_primary_container",palette:e=>e.primaryPalette,tone:e=>Ct(e)?a2.foregroundTone(U.primaryContainer.tone(e),4.5):$2(e)?e.isDark?0:100:e.isDark?90:30,background:e=>U.primaryContainer,contrastCurve:new u2(3,4.5,7,11)});U.inversePrimary=a2.fromPalette({name:"inverse_primary",palette:e=>e.primaryPalette,tone:e=>e.isDark?40:80,background:e=>U.inverseSurface,contrastCurve:new u2(3,4.5,7,7)});U.secondary=a2.fromPalette({name:"secondary",palette:e=>e.secondaryPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(3,4.5,7,7),toneDeltaPair:e=>new f1(U.secondaryContainer,U.secondary,10,"nearer",!1)});U.onSecondary=a2.fromPalette({name:"on_secondary",palette:e=>e.secondaryPalette,tone:e=>$2(e)?e.isDark?10:100:e.isDark?20:100,background:e=>U.secondary,contrastCurve:new u2(4.5,7,11,21)});U.secondaryContainer=a2.fromPalette({name:"secondary_container",palette:e=>e.secondaryPalette,tone:e=>{const t=e.isDark?30:90;return $2(e)?e.isDark?30:85:Ct(e)?oh(e.secondaryPalette.hue,e.secondaryPalette.chroma,t,!e.isDark):t},isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.secondaryContainer,U.secondary,10,"nearer",!1)});U.onSecondaryContainer=a2.fromPalette({name:"on_secondary_container",palette:e=>e.secondaryPalette,tone:e=>$2(e)?e.isDark?90:10:Ct(e)?a2.foregroundTone(U.secondaryContainer.tone(e),4.5):e.isDark?90:30,background:e=>U.secondaryContainer,contrastCurve:new u2(3,4.5,7,11)});U.tertiary=a2.fromPalette({name:"tertiary",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?e.isDark?90:25:e.isDark?80:40,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(3,4.5,7,7),toneDeltaPair:e=>new f1(U.tertiaryContainer,U.tertiary,10,"nearer",!1)});U.onTertiary=a2.fromPalette({name:"on_tertiary",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?e.isDark?10:90:e.isDark?20:100,background:e=>U.tertiary,contrastCurve:new u2(4.5,7,11,21)});U.tertiaryContainer=a2.fromPalette({name:"tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>{if($2(e))return e.isDark?60:49;if(!Ct(e))return e.isDark?30:90;const t=e.tertiaryPalette.getHct(e.sourceColorHct.tone);return K0.fixIfDisliked(t).tone},isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.tertiaryContainer,U.tertiary,10,"nearer",!1)});U.onTertiaryContainer=a2.fromPalette({name:"on_tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?e.isDark?0:100:Ct(e)?a2.foregroundTone(U.tertiaryContainer.tone(e),4.5):e.isDark?90:30,background:e=>U.tertiaryContainer,contrastCurve:new u2(3,4.5,7,11)});U.error=a2.fromPalette({name:"error",palette:e=>e.errorPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(3,4.5,7,7),toneDeltaPair:e=>new f1(U.errorContainer,U.error,10,"nearer",!1)});U.onError=a2.fromPalette({name:"on_error",palette:e=>e.errorPalette,tone:e=>e.isDark?20:100,background:e=>U.error,contrastCurve:new u2(4.5,7,11,21)});U.errorContainer=a2.fromPalette({name:"error_container",palette:e=>e.errorPalette,tone:e=>e.isDark?30:90,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.errorContainer,U.error,10,"nearer",!1)});U.onErrorContainer=a2.fromPalette({name:"on_error_container",palette:e=>e.errorPalette,tone:e=>$2(e)?e.isDark?90:10:e.isDark?90:30,background:e=>U.errorContainer,contrastCurve:new u2(3,4.5,7,11)});U.primaryFixed=a2.fromPalette({name:"primary_fixed",palette:e=>e.primaryPalette,tone:e=>$2(e)?40:90,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.primaryFixed,U.primaryFixedDim,10,"lighter",!0)});U.primaryFixedDim=a2.fromPalette({name:"primary_fixed_dim",palette:e=>e.primaryPalette,tone:e=>$2(e)?30:80,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.primaryFixed,U.primaryFixedDim,10,"lighter",!0)});U.onPrimaryFixed=a2.fromPalette({name:"on_primary_fixed",palette:e=>e.primaryPalette,tone:e=>$2(e)?100:10,background:e=>U.primaryFixedDim,secondBackground:e=>U.primaryFixed,contrastCurve:new u2(4.5,7,11,21)});U.onPrimaryFixedVariant=a2.fromPalette({name:"on_primary_fixed_variant",palette:e=>e.primaryPalette,tone:e=>$2(e)?90:30,background:e=>U.primaryFixedDim,secondBackground:e=>U.primaryFixed,contrastCurve:new u2(3,4.5,7,11)});U.secondaryFixed=a2.fromPalette({name:"secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>$2(e)?80:90,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.secondaryFixed,U.secondaryFixedDim,10,"lighter",!0)});U.secondaryFixedDim=a2.fromPalette({name:"secondary_fixed_dim",palette:e=>e.secondaryPalette,tone:e=>$2(e)?70:80,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.secondaryFixed,U.secondaryFixedDim,10,"lighter",!0)});U.onSecondaryFixed=a2.fromPalette({name:"on_secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>10,background:e=>U.secondaryFixedDim,secondBackground:e=>U.secondaryFixed,contrastCurve:new u2(4.5,7,11,21)});U.onSecondaryFixedVariant=a2.fromPalette({name:"on_secondary_fixed_variant",palette:e=>e.secondaryPalette,tone:e=>$2(e)?25:30,background:e=>U.secondaryFixedDim,secondBackground:e=>U.secondaryFixed,contrastCurve:new u2(3,4.5,7,11)});U.tertiaryFixed=a2.fromPalette({name:"tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?40:90,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.tertiaryFixed,U.tertiaryFixedDim,10,"lighter",!0)});U.tertiaryFixedDim=a2.fromPalette({name:"tertiary_fixed_dim",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?30:80,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.tertiaryFixed,U.tertiaryFixedDim,10,"lighter",!0)});U.onTertiaryFixed=a2.fromPalette({name:"on_tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?100:10,background:e=>U.tertiaryFixedDim,secondBackground:e=>U.tertiaryFixed,contrastCurve:new u2(4.5,7,11,21)});U.onTertiaryFixedVariant=a2.fromPalette({name:"on_tertiary_fixed_variant",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?90:30,background:e=>U.tertiaryFixedDim,secondBackground:e=>U.tertiaryFixed,contrastCurve:new u2(3,4.5,7,11)});const Fr={...q2,components:{...q2.components,MuiTableHead:{styleOverrides:{root:{th:{padding:"0.2rem 0.5rem !important",borderBottom:"1px solid rgba(226, 227, 232, 1) !important",color:"text-primary",background:k3[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:k3[100]}}}},MuiTableFooter:{styleOverrides:{root:{".MuiTableCell-footer":{padding:"2px 4px !important"}}}}}},J5=e=>{const{label:t,helperText:n,inputRef:r,name:o,customTheme:i,required:a,error:s,placeholder:l,size:u,type:f,labelText:C,optionAll:m,showId:b,action:h}=e,{dataList:c,loading:g,isFocused:v,autocompleteValue:M,textFieldValue:L,handleAutocompleteValue:S,handleTextFieldValue:w,handleReasonChangeTextField:R,setIsFocused:k,clearValues:j}=n4(e);let N=i||Fr,E=m?[m,...c]:c;const A=d.useMemo(()=>{const y={...e};return delete y.handleValue,delete y.labelText,delete y.labelKey,delete y.helperText,delete y.error,delete y.ref,delete y.inputRef,delete y.name,delete y.labelSelection,delete y.size,delete y.optionAll,delete y.showId,y},[e]);return O.jsx(i2.ThemeProvider,{theme:N,children:O.jsx(i2.Autocomplete,{...A,filterOptions:y=>y,noOptionsText:"No se encontraron resultados.",options:E,onChange:(y,P)=>S(P),onInputChange:(y,P,V)=>{w(P),R(V)},getOptionLabel:e.getOptionLabel?e.getOptionLabel:y=>y?y[C]:"",renderOption:(y,P)=>d.createElement(i2.Box,{component:"li",...y,key:`${P[e.labelKey]}-${P[e.labelText]}`,sx:{borderBottom:P[e.labelKey]==="-1"||P[e.labelKey]===-1?`${q2.palette.divider} 1px solid`:"inherit"}},b&&P[e.labelKey]!=="-1"&&P[e.labelKey]!==-1?`${P[e.labelKey]} - ${P[e.labelText]}`:`${P[e.labelText]}`),value:M,inputValue:L,loading:g,loadingText:"Consultando...",size:u,onBlur:()=>{k(!1)},renderInput:y=>O.jsx(i2.TextField,{...y,label:t,value:L,error:s,helperText:n,placeholder:l,required:a,ref:r,name:o??"",size:u,onFocus:P=>{k(!0)},InputProps:{...y.InputProps,endAdornment:O.jsxs(O.Fragment,{children:[L&&f!=="list"?O.jsx(i2.IconButton,{size:"small",onClick:j,sx:{height:"22px",width:"22px"},children:O.jsx(Nl,{fontSize:"small",color:"action",sx:{height:"16px",width:"16px"}})}):null,g?O.jsx(i2.CircularProgress,{color:"primary",size:20}):f==="list"||h==="all"&&f==="request"?v?O.jsx(Fl,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}}):O.jsx(Il,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}}):O.jsx(zl,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}})]})}})})})};function Q5(e){const{options:t,value:n,onSelected:r,labelKey:o,labelText:i,todos:a,disableAutoSelectTodos:s}=e,l=a?{[o]:"-1",[i]:"Todos"}:null,u=a&&l?[l,...t]:t,f=u.filter(b=>b[o]!=="-1"),C=n.length===f.length;return d.useEffect(()=>{a&&!s&&n.length===0&&f.length>0&&r(f)},[]),{updatedOptions:u,handleChange:(b,h)=>{if(!a||!l){r(h);return}const c=h.some(g=>g[o]===l[o]);r(c?C?[]:f:h)},isAllSelected:C}}const e7=({text:e,variant:t="body3",align:n,placement:r,color:o})=>{const i=d.useRef(null),[a,s]=d.useState(!1);d.useEffect(()=>{const u=i.current;u&&s(u.offsetWidth<u.scrollWidth)},[e]);const l=O.jsx(i2.Typography,{variant:t,noWrap:!0,ref:i,textAlign:n,color:o,children:e});return a?O.jsx(i2.ThemeProvider,{theme:q2,children:O.jsx(i2.Tooltip,{title:e,arrow:!0,placement:r,children:l})}):l};function i0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a0(e,t){return a0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},a0(e,t)}function X0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a0(e,t)}var l6=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function ih(e,t){return!!(e===t||l6(e)&&l6(t))}function ah(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!ih(e[n],t[n]))return!1;return!0}function m3(e,t){t===void 0&&(t=ah);var n,r=[],o,i=!1;function a(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return i&&n===this&&t(s,r)||(o=e.apply(this,s),i=!0,n=this,r=s),o}return a}function t7(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var sh=typeof performance=="object"&&typeof performance.now=="function",c6=sh?function(){return performance.now()}:function(){return Date.now()};function u6(e){cancelAnimationFrame(e.id)}function lh(e,t){var n=c6();function r(){c6()-n>=t?e.call(null):o.id=requestAnimationFrame(r)}var o={id:requestAnimationFrame(r)};return o}var g3=-1;function d6(e){if(e===void 0&&(e=!1),g3===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),g3=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return g3}var Qe=null;function f6(e){if(e===void 0&&(e=!1),Qe===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Qe="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Qe="negative":Qe="positive-ascending"),document.body.removeChild(t),Qe}return Qe}process.env.NODE_ENV;var ch=150,uh=function(t,n){return t},Rn=null,On=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(Rn=new WeakSet,On=new WeakSet);function dh(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,l=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return t=(function(C){X0(m,C);function m(h){var c;return c=C.call(this,h)||this,c._instanceProps=l(c.props,i0(c)),c._outerRef=void 0,c._resetIsScrollingTimeoutId=null,c.state={instance:i0(c),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof c.props.initialScrollOffset=="number"?c.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},c._callOnItemsRendered=void 0,c._callOnItemsRendered=m3(function(g,v,M,L){return c.props.onItemsRendered({overscanStartIndex:g,overscanStopIndex:v,visibleStartIndex:M,visibleStopIndex:L})}),c._callOnScroll=void 0,c._callOnScroll=m3(function(g,v,M){return c.props.onScroll({scrollDirection:g,scrollOffset:v,scrollUpdateWasRequested:M})}),c._getItemStyle=void 0,c._getItemStyle=function(g){var v=c.props,M=v.direction,L=v.itemSize,S=v.layout,w=c._getItemStyleCache(u&&L,u&&S,u&&M),R;if(w.hasOwnProperty(g))R=w[g];else{var k=n(c.props,g,c._instanceProps),j=o(c.props,g,c._instanceProps),N=M==="horizontal"||S==="horizontal",E=M==="rtl",A=N?k:0;w[g]=R={position:"absolute",left:E?void 0:A,right:E?A:void 0,top:N?0:k,height:N?"100%":j,width:N?j:"100%"}}return R},c._getItemStyleCache=void 0,c._getItemStyleCache=m3(function(g,v,M){return{}}),c._onScrollHorizontal=function(g){var v=g.currentTarget,M=v.clientWidth,L=v.scrollLeft,S=v.scrollWidth;c.setState(function(w){if(w.scrollOffset===L)return null;var R=c.props.direction,k=L;if(R==="rtl")switch(f6()){case"negative":k=-L;break;case"positive-descending":k=S-M-L;break}return k=Math.max(0,Math.min(k,S-M)),{isScrolling:!0,scrollDirection:w.scrollOffset<k?"forward":"backward",scrollOffset:k,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._onScrollVertical=function(g){var v=g.currentTarget,M=v.clientHeight,L=v.scrollHeight,S=v.scrollTop;c.setState(function(w){if(w.scrollOffset===S)return null;var R=Math.max(0,Math.min(S,L-M));return{isScrolling:!0,scrollDirection:w.scrollOffset<R?"forward":"backward",scrollOffset:R,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._outerRefSetter=function(g){var v=c.props.outerRef;c._outerRef=g,typeof v=="function"?v(g):v!=null&&typeof v=="object"&&v.hasOwnProperty("current")&&(v.current=g)},c._resetIsScrollingDebounced=function(){c._resetIsScrollingTimeoutId!==null&&u6(c._resetIsScrollingTimeoutId),c._resetIsScrollingTimeoutId=lh(c._resetIsScrolling,ch)},c._resetIsScrolling=function(){c._resetIsScrollingTimeoutId=null,c.setState({isScrolling:!1},function(){c._getItemStyleCache(-1,null)})},c}m.getDerivedStateFromProps=function(c,g){return fh(c,g),f(c),null};var b=m.prototype;return b.scrollTo=function(c){c=Math.max(0,c),this.setState(function(g){return g.scrollOffset===c?null:{scrollDirection:g.scrollOffset<c?"forward":"backward",scrollOffset:c,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},b.scrollToItem=function(c,g){g===void 0&&(g="auto");var v=this.props,M=v.itemCount,L=v.layout,S=this.state.scrollOffset;c=Math.max(0,Math.min(c,M-1));var w=0;if(this._outerRef){var R=this._outerRef;L==="vertical"?w=R.scrollWidth>R.clientWidth?d6():0:w=R.scrollHeight>R.clientHeight?d6():0}this.scrollTo(i(this.props,c,g,S,this._instanceProps,w))},b.componentDidMount=function(){var c=this.props,g=c.direction,v=c.initialScrollOffset,M=c.layout;if(typeof v=="number"&&this._outerRef!=null){var L=this._outerRef;g==="horizontal"||M==="horizontal"?L.scrollLeft=v:L.scrollTop=v}this._callPropsCallbacks()},b.componentDidUpdate=function(){var c=this.props,g=c.direction,v=c.layout,M=this.state,L=M.scrollOffset,S=M.scrollUpdateWasRequested;if(S&&this._outerRef!=null){var w=this._outerRef;if(g==="horizontal"||v==="horizontal")if(g==="rtl")switch(f6()){case"negative":w.scrollLeft=-L;break;case"positive-ascending":w.scrollLeft=L;break;default:var R=w.clientWidth,k=w.scrollWidth;w.scrollLeft=k-R-L;break}else w.scrollLeft=L;else w.scrollTop=L}this._callPropsCallbacks()},b.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&u6(this._resetIsScrollingTimeoutId)},b.render=function(){var c=this.props,g=c.children,v=c.className,M=c.direction,L=c.height,S=c.innerRef,w=c.innerElementType,R=c.innerTagName,k=c.itemCount,j=c.itemData,N=c.itemKey,E=N===void 0?uh:N,A=c.layout,y=c.outerElementType,P=c.outerTagName,V=c.style,H=c.useIsScrolling,B=c.width,J=this.state.isScrolling,X=M==="horizontal"||A==="horizontal",e2=X?this._onScrollHorizontal:this._onScrollVertical,$=this._getRangeToRender(),T=$[0],I=$[1],Z=[];if(k>0)for(var z=T;z<=I;z++)Z.push(d.createElement(g,{data:j,key:E(z,j),index:z,isScrolling:H?J:void 0,style:this._getItemStyle(z)}));var K=r(this.props,this._instanceProps);return d.createElement(y||P||"div",{className:v,onScroll:e2,ref:this._outerRefSetter,style:$t({position:"relative",height:L,width:B,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:M},V)},d.createElement(w||R||"div",{children:Z,ref:S,style:{height:X?"100%":K,pointerEvents:J?"none":void 0,width:X?K:"100%"}}))},b._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var c=this.props.itemCount;if(c>0){var g=this._getRangeToRender(),v=g[0],M=g[1],L=g[2],S=g[3];this._callOnItemsRendered(v,M,L,S)}}if(typeof this.props.onScroll=="function"){var w=this.state,R=w.scrollDirection,k=w.scrollOffset,j=w.scrollUpdateWasRequested;this._callOnScroll(R,k,j)}},b._getRangeToRender=function(){var c=this.props,g=c.itemCount,v=c.overscanCount,M=this.state,L=M.isScrolling,S=M.scrollDirection,w=M.scrollOffset;if(g===0)return[0,0,0,0];var R=a(this.props,w,this._instanceProps),k=s(this.props,R,w,this._instanceProps),j=!L||S==="backward"?Math.max(1,v):1,N=!L||S==="forward"?Math.max(1,v):1;return[Math.max(0,R-j),Math.max(0,Math.min(g-1,k+N)),R,k]},m})(d.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var fh=function(t,n){var r=t.children,o=t.direction,i=t.height,a=t.layout,s=t.innerTagName,l=t.outerTagName,u=t.width,f=n.instance;if(process.env.NODE_ENV!=="production"){(s!=null||l!=null)&&On&&!On.has(f)&&(On.add(f),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var C=o==="horizontal"||a==="horizontal";switch(o){case"horizontal":case"vertical":Rn&&!Rn.has(f)&&(Rn.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(a){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+a+'" was specified.'))}if(r==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(r===null?"null":typeof r)+'" was specified.'));if(C&&typeof u!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(u===null?"null":typeof u)+'" was specified.'));if(!C&&typeof i!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(i===null?"null":typeof i)+'" was specified.'))}},ph=dh({getItemOffset:function(t,n){var r=t.itemSize;return n*r},getItemSize:function(t,n){var r=t.itemSize;return r},getEstimatedTotalSize:function(t){var n=t.itemCount,r=t.itemSize;return r*n},getOffsetForIndexAndAlignment:function(t,n,r,o,i,a){var s=t.direction,l=t.height,u=t.itemCount,f=t.itemSize,C=t.layout,m=t.width,b=s==="horizontal"||C==="horizontal",h=b?m:l,c=Math.max(0,u*f-h),g=Math.min(c,n*f),v=Math.max(0,n*f-h+f+a);switch(r==="smart"&&(o>=v-h&&o<=g+h?r="auto":r="center"),r){case"start":return g;case"end":return v;case"center":{var M=Math.round(v+(g-v)/2);return M<Math.ceil(h/2)?0:M>c+Math.floor(h/2)?c:M}case"auto":default:return o>=v&&o<=g?o:o<v?v:g}},getStartIndexForOffset:function(t,n){var r=t.itemCount,o=t.itemSize;return Math.max(0,Math.min(r-1,Math.floor(n/o)))},getStopIndexForStartIndex:function(t,n,r){var o=t.direction,i=t.height,a=t.itemCount,s=t.itemSize,l=t.layout,u=t.width,f=o==="horizontal"||l==="horizontal",C=n*s,m=f?u:i,b=Math.ceil((m+r-C)/s);return Math.max(0,Math.min(a-1,n+b-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){var n=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof n!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(n===null?"null":typeof n)+'" was specified.'))}});const Ch=0,hh=35,mh=35;function gh(e){const{data:t,index:n,style:r}=e,o=t[n],i={...r,top:r.top+Ch};return d.cloneElement(o,{style:i})}const yh=d.forwardRef(function(t,n){const{children:r,...o}=t,i=d.Children.toArray(r),a=i.length,l=window.matchMedia("(max-width: 600px)").matches?hh:mh,u=()=>a>20?20*l:a*l;return O.jsx("div",{ref:n,...o,style:{overflow:"hidden"},children:O.jsx(ph,{height:u(),width:"100%",itemSize:l,overscanCount:5,itemCount:a,itemData:i,children:gh})})}),bh=e=>{const{value:t,placeholder:n,labelKey:r,labelText:o,label:i,todos:a,showSelectedCount:s,customTheme:l,showId:u}=e,f=(c,g)=>g?"Todos":u?`${c[r]} - ${c[o]}`:String(c[o]),{isAllSelected:C,updatedOptions:m,handleChange:b}=Q5(e);let h=l||Fr;return O.jsx(i2.ThemeProvider,{theme:h,children:O.jsx(i2.Autocomplete,{multiple:!0,fullWidth:!0,limitTags:1,id:"checkboxes-multiselect",options:m,value:t,onChange:b,disableCloseOnSelect:!0,disableListWrap:!0,ListboxComponent:yh,isOptionEqualToValue:(c,g)=>c[r]===g[r],getOptionLabel:c=>f(c,c[r]==="-1"),renderTags:c=>s?C?a?"Todos":`${c.length} seleccionados`:`${c.length} seleccionados`:O.jsx(O.Fragment,{}),renderOption:(c,g,{selected:v})=>{const{key:M,...L}=c,S=g[r]==="-1",w=S?C:v;return O.jsxs(i2.MenuItem,{...L,sx:{borderBottom:a&&g[o]==="Todos"?"1px #0000001F solid":"",gap:1,padding:"7px 16px !important"},children:[O.jsx(i2.Checkbox,{checked:w}),O.jsx(i2.ListItemText,{children:O.jsx(e7,{text:f(g,S),variant:"body1",placement:"bottom"})})]},String(g[r]))},renderInput:c=>O.jsx(i2.TextField,{...c,label:i,placeholder:s?"":n,fullWidth:!0}),onOpen:e.onOpen})})},p6="DD/MM/YYYY",C6=(e,t)=>{const n=e!==""?w1(e,p6):w1().subtract(2,"month"),r=t!==""?w1(t,p6):w1();return{defaultI:n,defaultF:r}},n7=({defaultValue:e,onchange:t,onInvalidDate:n,clear:r})=>{const o=C6((e==null?void 0:e.inicial)||"",(e==null?void 0:e.final)||""),[i,a]=d.useState([o.defaultI,o.defaultF]),[s,l]=d.useState(null);d.useEffect(()=>{if(r===!0){const{defaultI:m,defaultF:b}=C6((e==null?void 0:e.inicial)||"",(e==null?void 0:e.final)||"");a([m,b])}},[r]);const u=m=>{const b=w1(m[0]),h=w1(m[1]),c=f([b,h]);a(m),c==""?l(""):(l(c),n&&n())},f=m=>{const b=w1(m[0]),h=w1(m[1]);return b.isValid()&&h.isValid()?b.year()<2010?"Fecha inicial mínima es del año 2010":h.year()<2010?"Fecha final mínima es del año 2010":b.isBefore(h)?"":"La fecha inicial debe ser menor que la fecha final":"Fecha no válida"};return{selectedDateRange:i,handleDateChange:u,warningMessage:s,handleClose:()=>{const m=w1(i[0]),b=w1(i[1]),h=f([m,b]);h==""?(l(""),t({fechai:m.format("DD/MM/YYYY"),fechaf:b.format("DD/MM/YYYY")})):(n&&n(),l(h))}}},vh=e=>{const{selectedDateRange:t,handleDateChange:n,warningMessage:r,handleClose:o}=n7(e),i=gr(),a=Os(i.breakpoints.up("sm")),s=e.localeText??{start:"Fecha inicial",end:"Fecha final"};return O.jsx(M4,{display:"flex",gap:"0.75rem",width:"100%",justifyContent:"center",p:0,m:0,children:O.jsxs(B4,{width:"100%",sx:{color:"text.secondary"},children:[O.jsx(i2.Typography,{paddingY:1,children:e.label}),O.jsx(Dn.DateRangePicker,{sx:{"& .MuiMultiInputDateRangeField-separator":{display:"none"}},value:t,onClose:o,onChange:n,desktopModeMediaQuery:e.isInputIndividual&&a==!1?"sm":"",slots:e.isInputIndividual?{}:{field:Dn.SingleInputDateRangeField},slotProps:{textField:l=>{const u=l.position;return{size:"small",label:u==="start"?s.start:s.end,helperText:r,error:r!=""&&r!=null,fullWidth:!0,InputProps:{endAdornment:u==="start"?O.jsx(Ul,{sx:{color:"rgba(16, 24, 64, 0.54)"}}):O.jsx(_l,{sx:{color:"rgba(16, 24, 64, 0.54)"}})}}}},localeText:s})]})})},xh="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",Eh=({title:e,isLoading:t,zIndex:n=9999,sx:r})=>t?O.jsx(i2.ThemeProvider,{theme:q2,children:O.jsxs(i2.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:n,...r},children:[O.jsxs(i2.Box,{sx:{width:"auto",display:"inline-flex",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden",fontFamily:"Nunito, Segoe UI, sans-serif"},children:[O.jsx("img",{src:xh,alt:"Logo ADPRO",className:"imagenLogoADPRO",width:"120px",style:{zIndex:10}}),O.jsxs(i2.Box,{sx:{display:"flex",gap:"5px"},children:[O.jsx("div",{className:"pointLoading",style:{animationDelay:"0s"},children:"•"}),O.jsx("div",{className:"pointLoading",style:{animationDelay:"0.2s"},children:"•"}),O.jsx("div",{className:"pointLoading",style:{animationDelay:"0.4s"},children:"•"})]}),O.jsx(i2.Box,{display:"flex",justifyContent:"center",alignItems:"center",children:O.jsx(i2.Typography,{variant:"h5",sx:{color:"#10184099"},mt:1,children:e})})]}),O.jsx("style",{type:"text/css",children:`
529
+ */function Ct(e){return e.variant===jt.FIDELITY||e.variant===jt.CONTENT}function $2(e){return e.variant===jt.MONOCHROME}function oh(e,t,n,r){let o=n,i=ke.from(e,t,n);if(i.chroma<t){let a=i.chroma;for(;i.chroma<t;){o+=r?-1:1;const s=ke.from(e,t,o);if(a>s.chroma||Math.abs(s.chroma-t)<.4)break;const l=Math.abs(s.chroma-t),u=Math.abs(i.chroma-t);l<u&&(i=s),a=Math.max(a,s.chroma)}}return o}class U{static highestSurface(t){return t.isDark?U.surfaceBright:U.surfaceDim}}U.contentAccentToneDelta=15;U.primaryPaletteKeyColor=a2.fromPalette({name:"primary_palette_key_color",palette:e=>e.primaryPalette,tone:e=>e.primaryPalette.keyColor.tone});U.secondaryPaletteKeyColor=a2.fromPalette({name:"secondary_palette_key_color",palette:e=>e.secondaryPalette,tone:e=>e.secondaryPalette.keyColor.tone});U.tertiaryPaletteKeyColor=a2.fromPalette({name:"tertiary_palette_key_color",palette:e=>e.tertiaryPalette,tone:e=>e.tertiaryPalette.keyColor.tone});U.neutralPaletteKeyColor=a2.fromPalette({name:"neutral_palette_key_color",palette:e=>e.neutralPalette,tone:e=>e.neutralPalette.keyColor.tone});U.neutralVariantPaletteKeyColor=a2.fromPalette({name:"neutral_variant_palette_key_color",palette:e=>e.neutralVariantPalette,tone:e=>e.neutralVariantPalette.keyColor.tone});U.background=a2.fromPalette({name:"background",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});U.onBackground=a2.fromPalette({name:"on_background",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>U.background,contrastCurve:new u2(3,3,4.5,7)});U.surface=a2.fromPalette({name:"surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});U.surfaceDim=a2.fromPalette({name:"surface_dim",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:new u2(87,87,80,75).get(e.contrastLevel),isBackground:!0});U.surfaceBright=a2.fromPalette({name:"surface_bright",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(24,24,29,34).get(e.contrastLevel):98,isBackground:!0});U.surfaceContainerLowest=a2.fromPalette({name:"surface_container_lowest",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(4,4,2,0).get(e.contrastLevel):100,isBackground:!0});U.surfaceContainerLow=a2.fromPalette({name:"surface_container_low",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(10,10,11,12).get(e.contrastLevel):new u2(96,96,96,95).get(e.contrastLevel),isBackground:!0});U.surfaceContainer=a2.fromPalette({name:"surface_container",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(12,12,16,20).get(e.contrastLevel):new u2(94,94,92,90).get(e.contrastLevel),isBackground:!0});U.surfaceContainerHigh=a2.fromPalette({name:"surface_container_high",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(17,17,21,25).get(e.contrastLevel):new u2(92,92,88,85).get(e.contrastLevel),isBackground:!0});U.surfaceContainerHighest=a2.fromPalette({name:"surface_container_highest",palette:e=>e.neutralPalette,tone:e=>e.isDark?new u2(22,22,26,30).get(e.contrastLevel):new u2(90,90,84,80).get(e.contrastLevel),isBackground:!0});U.onSurface=a2.fromPalette({name:"on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>U.highestSurface(e),contrastCurve:new u2(4.5,7,11,21)});U.surfaceVariant=a2.fromPalette({name:"surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:90,isBackground:!0});U.onSurfaceVariant=a2.fromPalette({name:"on_surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?80:30,background:e=>U.highestSurface(e),contrastCurve:new u2(3,4.5,7,11)});U.inverseSurface=a2.fromPalette({name:"inverse_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:20});U.inverseOnSurface=a2.fromPalette({name:"inverse_on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?20:95,background:e=>U.inverseSurface,contrastCurve:new u2(4.5,7,11,21)});U.outline=a2.fromPalette({name:"outline",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?60:50,background:e=>U.highestSurface(e),contrastCurve:new u2(1.5,3,4.5,7)});U.outlineVariant=a2.fromPalette({name:"outline_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:80,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5)});U.shadow=a2.fromPalette({name:"shadow",palette:e=>e.neutralPalette,tone:e=>0});U.scrim=a2.fromPalette({name:"scrim",palette:e=>e.neutralPalette,tone:e=>0});U.surfaceTint=a2.fromPalette({name:"surface_tint",palette:e=>e.primaryPalette,tone:e=>e.isDark?80:40,isBackground:!0});U.primary=a2.fromPalette({name:"primary",palette:e=>e.primaryPalette,tone:e=>$2(e)?e.isDark?100:0:e.isDark?80:40,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(3,4.5,7,7),toneDeltaPair:e=>new f1(U.primaryContainer,U.primary,10,"nearer",!1)});U.onPrimary=a2.fromPalette({name:"on_primary",palette:e=>e.primaryPalette,tone:e=>$2(e)?e.isDark?10:90:e.isDark?20:100,background:e=>U.primary,contrastCurve:new u2(4.5,7,11,21)});U.primaryContainer=a2.fromPalette({name:"primary_container",palette:e=>e.primaryPalette,tone:e=>Ct(e)?e.sourceColorHct.tone:$2(e)?e.isDark?85:25:e.isDark?30:90,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.primaryContainer,U.primary,10,"nearer",!1)});U.onPrimaryContainer=a2.fromPalette({name:"on_primary_container",palette:e=>e.primaryPalette,tone:e=>Ct(e)?a2.foregroundTone(U.primaryContainer.tone(e),4.5):$2(e)?e.isDark?0:100:e.isDark?90:30,background:e=>U.primaryContainer,contrastCurve:new u2(3,4.5,7,11)});U.inversePrimary=a2.fromPalette({name:"inverse_primary",palette:e=>e.primaryPalette,tone:e=>e.isDark?40:80,background:e=>U.inverseSurface,contrastCurve:new u2(3,4.5,7,7)});U.secondary=a2.fromPalette({name:"secondary",palette:e=>e.secondaryPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(3,4.5,7,7),toneDeltaPair:e=>new f1(U.secondaryContainer,U.secondary,10,"nearer",!1)});U.onSecondary=a2.fromPalette({name:"on_secondary",palette:e=>e.secondaryPalette,tone:e=>$2(e)?e.isDark?10:100:e.isDark?20:100,background:e=>U.secondary,contrastCurve:new u2(4.5,7,11,21)});U.secondaryContainer=a2.fromPalette({name:"secondary_container",palette:e=>e.secondaryPalette,tone:e=>{const t=e.isDark?30:90;return $2(e)?e.isDark?30:85:Ct(e)?oh(e.secondaryPalette.hue,e.secondaryPalette.chroma,t,!e.isDark):t},isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.secondaryContainer,U.secondary,10,"nearer",!1)});U.onSecondaryContainer=a2.fromPalette({name:"on_secondary_container",palette:e=>e.secondaryPalette,tone:e=>$2(e)?e.isDark?90:10:Ct(e)?a2.foregroundTone(U.secondaryContainer.tone(e),4.5):e.isDark?90:30,background:e=>U.secondaryContainer,contrastCurve:new u2(3,4.5,7,11)});U.tertiary=a2.fromPalette({name:"tertiary",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?e.isDark?90:25:e.isDark?80:40,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(3,4.5,7,7),toneDeltaPair:e=>new f1(U.tertiaryContainer,U.tertiary,10,"nearer",!1)});U.onTertiary=a2.fromPalette({name:"on_tertiary",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?e.isDark?10:90:e.isDark?20:100,background:e=>U.tertiary,contrastCurve:new u2(4.5,7,11,21)});U.tertiaryContainer=a2.fromPalette({name:"tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>{if($2(e))return e.isDark?60:49;if(!Ct(e))return e.isDark?30:90;const t=e.tertiaryPalette.getHct(e.sourceColorHct.tone);return K0.fixIfDisliked(t).tone},isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.tertiaryContainer,U.tertiary,10,"nearer",!1)});U.onTertiaryContainer=a2.fromPalette({name:"on_tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?e.isDark?0:100:Ct(e)?a2.foregroundTone(U.tertiaryContainer.tone(e),4.5):e.isDark?90:30,background:e=>U.tertiaryContainer,contrastCurve:new u2(3,4.5,7,11)});U.error=a2.fromPalette({name:"error",palette:e=>e.errorPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(3,4.5,7,7),toneDeltaPair:e=>new f1(U.errorContainer,U.error,10,"nearer",!1)});U.onError=a2.fromPalette({name:"on_error",palette:e=>e.errorPalette,tone:e=>e.isDark?20:100,background:e=>U.error,contrastCurve:new u2(4.5,7,11,21)});U.errorContainer=a2.fromPalette({name:"error_container",palette:e=>e.errorPalette,tone:e=>e.isDark?30:90,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.errorContainer,U.error,10,"nearer",!1)});U.onErrorContainer=a2.fromPalette({name:"on_error_container",palette:e=>e.errorPalette,tone:e=>$2(e)?e.isDark?90:10:e.isDark?90:30,background:e=>U.errorContainer,contrastCurve:new u2(3,4.5,7,11)});U.primaryFixed=a2.fromPalette({name:"primary_fixed",palette:e=>e.primaryPalette,tone:e=>$2(e)?40:90,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.primaryFixed,U.primaryFixedDim,10,"lighter",!0)});U.primaryFixedDim=a2.fromPalette({name:"primary_fixed_dim",palette:e=>e.primaryPalette,tone:e=>$2(e)?30:80,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.primaryFixed,U.primaryFixedDim,10,"lighter",!0)});U.onPrimaryFixed=a2.fromPalette({name:"on_primary_fixed",palette:e=>e.primaryPalette,tone:e=>$2(e)?100:10,background:e=>U.primaryFixedDim,secondBackground:e=>U.primaryFixed,contrastCurve:new u2(4.5,7,11,21)});U.onPrimaryFixedVariant=a2.fromPalette({name:"on_primary_fixed_variant",palette:e=>e.primaryPalette,tone:e=>$2(e)?90:30,background:e=>U.primaryFixedDim,secondBackground:e=>U.primaryFixed,contrastCurve:new u2(3,4.5,7,11)});U.secondaryFixed=a2.fromPalette({name:"secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>$2(e)?80:90,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.secondaryFixed,U.secondaryFixedDim,10,"lighter",!0)});U.secondaryFixedDim=a2.fromPalette({name:"secondary_fixed_dim",palette:e=>e.secondaryPalette,tone:e=>$2(e)?70:80,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.secondaryFixed,U.secondaryFixedDim,10,"lighter",!0)});U.onSecondaryFixed=a2.fromPalette({name:"on_secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>10,background:e=>U.secondaryFixedDim,secondBackground:e=>U.secondaryFixed,contrastCurve:new u2(4.5,7,11,21)});U.onSecondaryFixedVariant=a2.fromPalette({name:"on_secondary_fixed_variant",palette:e=>e.secondaryPalette,tone:e=>$2(e)?25:30,background:e=>U.secondaryFixedDim,secondBackground:e=>U.secondaryFixed,contrastCurve:new u2(3,4.5,7,11)});U.tertiaryFixed=a2.fromPalette({name:"tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?40:90,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.tertiaryFixed,U.tertiaryFixedDim,10,"lighter",!0)});U.tertiaryFixedDim=a2.fromPalette({name:"tertiary_fixed_dim",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?30:80,isBackground:!0,background:e=>U.highestSurface(e),contrastCurve:new u2(1,1,3,4.5),toneDeltaPair:e=>new f1(U.tertiaryFixed,U.tertiaryFixedDim,10,"lighter",!0)});U.onTertiaryFixed=a2.fromPalette({name:"on_tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?100:10,background:e=>U.tertiaryFixedDim,secondBackground:e=>U.tertiaryFixed,contrastCurve:new u2(4.5,7,11,21)});U.onTertiaryFixedVariant=a2.fromPalette({name:"on_tertiary_fixed_variant",palette:e=>e.tertiaryPalette,tone:e=>$2(e)?90:30,background:e=>U.tertiaryFixedDim,secondBackground:e=>U.tertiaryFixed,contrastCurve:new u2(3,4.5,7,11)});const Fr={...q2,components:{...q2.components,MuiTableHead:{styleOverrides:{root:{th:{padding:"0.2rem 0.5rem !important",borderBottom:"1px solid rgba(226, 227, 232, 1) !important",color:"text-primary",background:k3[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:k3[100]}}}},MuiTableFooter:{styleOverrides:{root:{".MuiTableCell-footer":{padding:"2px 4px !important"}}}}}},J5=e=>{const{label:t,helperText:n,inputRef:r,name:o,customTheme:i,required:a,error:s,placeholder:l,size:u,type:f,labelText:C,optionAll:m,showId:b,action:h}=e,{dataList:c,loading:g,isFocused:v,autocompleteValue:M,textFieldValue:L,handleAutocompleteValue:S,handleTextFieldValue:w,handleReasonChangeTextField:R,setIsFocused:k,clearValues:j}=n4(e);let N=i||Fr,E=m?[m,...c]:c;const A=d.useMemo(()=>{const y={...e};return delete y.handleValue,delete y.labelText,delete y.labelKey,delete y.helperText,delete y.error,delete y.ref,delete y.inputRef,delete y.name,delete y.labelSelection,delete y.size,delete y.optionAll,delete y.showId,delete y.action,delete y.type,delete y.request,y},[e]);return O.jsx(i2.ThemeProvider,{theme:N,children:O.jsx(i2.Autocomplete,{...A,filterOptions:y=>y,noOptionsText:"No se encontraron resultados.",options:E,onChange:(y,P)=>S(P),onInputChange:(y,P,V)=>{w(P),R(V)},getOptionLabel:e.getOptionLabel?e.getOptionLabel:y=>y?y[C]:"",renderOption:(y,P)=>d.createElement(i2.Box,{component:"li",...y,key:`${P[e.labelKey]}-${P[e.labelText]}`,sx:{borderBottom:P[e.labelKey]==="-1"||P[e.labelKey]===-1?`${q2.palette.divider} 1px solid`:"inherit"}},b&&P[e.labelKey]!=="-1"&&P[e.labelKey]!==-1?`${P[e.labelKey]} - ${P[e.labelText]}`:`${P[e.labelText]}`),value:M,inputValue:L,loading:g,loadingText:"Consultando...",size:u,onBlur:()=>{k(!1)},renderInput:y=>O.jsx(i2.TextField,{...y,label:t,value:L,error:s,helperText:n,placeholder:l,required:a,ref:r,name:o??"",size:u,onFocus:P=>{k(!0)},InputProps:{...y.InputProps,endAdornment:O.jsxs(O.Fragment,{children:[L&&f!=="list"?O.jsx(i2.IconButton,{size:"small",onClick:j,sx:{height:"22px",width:"22px"},children:O.jsx(Nl,{fontSize:"small",color:"action",sx:{height:"16px",width:"16px"}})}):null,g?O.jsx(i2.CircularProgress,{color:"primary",size:20}):f==="list"||h==="all"&&f==="request"?v?O.jsx(Fl,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}}):O.jsx(Il,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}}):O.jsx(zl,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}})]})}})})})};function Q5(e){const{options:t,value:n,onSelected:r,labelKey:o,labelText:i,todos:a,disableAutoSelectTodos:s}=e,l=a?{[o]:"-1",[i]:"Todos"}:null,u=a&&l?[l,...t]:t,f=u.filter(b=>b[o]!=="-1"),C=n.length===f.length;return d.useEffect(()=>{a&&!s&&n.length===0&&f.length>0&&r(f)},[]),{updatedOptions:u,handleChange:(b,h)=>{if(!a||!l){r(h);return}const c=h.some(g=>g[o]===l[o]);r(c?C?[]:f:h)},isAllSelected:C}}const e7=({text:e,variant:t="body3",align:n,placement:r,color:o})=>{const i=d.useRef(null),[a,s]=d.useState(!1);d.useEffect(()=>{const u=i.current;u&&s(u.offsetWidth<u.scrollWidth)},[e]);const l=O.jsx(i2.Typography,{variant:t,noWrap:!0,ref:i,textAlign:n,color:o,children:e});return a?O.jsx(i2.ThemeProvider,{theme:q2,children:O.jsx(i2.Tooltip,{title:e,arrow:!0,placement:r,children:l})}):l};function i0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a0(e,t){return a0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},a0(e,t)}function X0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a0(e,t)}var l6=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function ih(e,t){return!!(e===t||l6(e)&&l6(t))}function ah(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!ih(e[n],t[n]))return!1;return!0}function m3(e,t){t===void 0&&(t=ah);var n,r=[],o,i=!1;function a(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return i&&n===this&&t(s,r)||(o=e.apply(this,s),i=!0,n=this,r=s),o}return a}function t7(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var sh=typeof performance=="object"&&typeof performance.now=="function",c6=sh?function(){return performance.now()}:function(){return Date.now()};function u6(e){cancelAnimationFrame(e.id)}function lh(e,t){var n=c6();function r(){c6()-n>=t?e.call(null):o.id=requestAnimationFrame(r)}var o={id:requestAnimationFrame(r)};return o}var g3=-1;function d6(e){if(e===void 0&&(e=!1),g3===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),g3=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return g3}var Qe=null;function f6(e){if(e===void 0&&(e=!1),Qe===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Qe="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Qe="negative":Qe="positive-ascending"),document.body.removeChild(t),Qe}return Qe}process.env.NODE_ENV;var ch=150,uh=function(t,n){return t},Rn=null,On=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(Rn=new WeakSet,On=new WeakSet);function dh(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,l=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return t=(function(C){X0(m,C);function m(h){var c;return c=C.call(this,h)||this,c._instanceProps=l(c.props,i0(c)),c._outerRef=void 0,c._resetIsScrollingTimeoutId=null,c.state={instance:i0(c),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof c.props.initialScrollOffset=="number"?c.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},c._callOnItemsRendered=void 0,c._callOnItemsRendered=m3(function(g,v,M,L){return c.props.onItemsRendered({overscanStartIndex:g,overscanStopIndex:v,visibleStartIndex:M,visibleStopIndex:L})}),c._callOnScroll=void 0,c._callOnScroll=m3(function(g,v,M){return c.props.onScroll({scrollDirection:g,scrollOffset:v,scrollUpdateWasRequested:M})}),c._getItemStyle=void 0,c._getItemStyle=function(g){var v=c.props,M=v.direction,L=v.itemSize,S=v.layout,w=c._getItemStyleCache(u&&L,u&&S,u&&M),R;if(w.hasOwnProperty(g))R=w[g];else{var k=n(c.props,g,c._instanceProps),j=o(c.props,g,c._instanceProps),N=M==="horizontal"||S==="horizontal",E=M==="rtl",A=N?k:0;w[g]=R={position:"absolute",left:E?void 0:A,right:E?A:void 0,top:N?0:k,height:N?"100%":j,width:N?j:"100%"}}return R},c._getItemStyleCache=void 0,c._getItemStyleCache=m3(function(g,v,M){return{}}),c._onScrollHorizontal=function(g){var v=g.currentTarget,M=v.clientWidth,L=v.scrollLeft,S=v.scrollWidth;c.setState(function(w){if(w.scrollOffset===L)return null;var R=c.props.direction,k=L;if(R==="rtl")switch(f6()){case"negative":k=-L;break;case"positive-descending":k=S-M-L;break}return k=Math.max(0,Math.min(k,S-M)),{isScrolling:!0,scrollDirection:w.scrollOffset<k?"forward":"backward",scrollOffset:k,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._onScrollVertical=function(g){var v=g.currentTarget,M=v.clientHeight,L=v.scrollHeight,S=v.scrollTop;c.setState(function(w){if(w.scrollOffset===S)return null;var R=Math.max(0,Math.min(S,L-M));return{isScrolling:!0,scrollDirection:w.scrollOffset<R?"forward":"backward",scrollOffset:R,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._outerRefSetter=function(g){var v=c.props.outerRef;c._outerRef=g,typeof v=="function"?v(g):v!=null&&typeof v=="object"&&v.hasOwnProperty("current")&&(v.current=g)},c._resetIsScrollingDebounced=function(){c._resetIsScrollingTimeoutId!==null&&u6(c._resetIsScrollingTimeoutId),c._resetIsScrollingTimeoutId=lh(c._resetIsScrolling,ch)},c._resetIsScrolling=function(){c._resetIsScrollingTimeoutId=null,c.setState({isScrolling:!1},function(){c._getItemStyleCache(-1,null)})},c}m.getDerivedStateFromProps=function(c,g){return fh(c,g),f(c),null};var b=m.prototype;return b.scrollTo=function(c){c=Math.max(0,c),this.setState(function(g){return g.scrollOffset===c?null:{scrollDirection:g.scrollOffset<c?"forward":"backward",scrollOffset:c,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},b.scrollToItem=function(c,g){g===void 0&&(g="auto");var v=this.props,M=v.itemCount,L=v.layout,S=this.state.scrollOffset;c=Math.max(0,Math.min(c,M-1));var w=0;if(this._outerRef){var R=this._outerRef;L==="vertical"?w=R.scrollWidth>R.clientWidth?d6():0:w=R.scrollHeight>R.clientHeight?d6():0}this.scrollTo(i(this.props,c,g,S,this._instanceProps,w))},b.componentDidMount=function(){var c=this.props,g=c.direction,v=c.initialScrollOffset,M=c.layout;if(typeof v=="number"&&this._outerRef!=null){var L=this._outerRef;g==="horizontal"||M==="horizontal"?L.scrollLeft=v:L.scrollTop=v}this._callPropsCallbacks()},b.componentDidUpdate=function(){var c=this.props,g=c.direction,v=c.layout,M=this.state,L=M.scrollOffset,S=M.scrollUpdateWasRequested;if(S&&this._outerRef!=null){var w=this._outerRef;if(g==="horizontal"||v==="horizontal")if(g==="rtl")switch(f6()){case"negative":w.scrollLeft=-L;break;case"positive-ascending":w.scrollLeft=L;break;default:var R=w.clientWidth,k=w.scrollWidth;w.scrollLeft=k-R-L;break}else w.scrollLeft=L;else w.scrollTop=L}this._callPropsCallbacks()},b.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&u6(this._resetIsScrollingTimeoutId)},b.render=function(){var c=this.props,g=c.children,v=c.className,M=c.direction,L=c.height,S=c.innerRef,w=c.innerElementType,R=c.innerTagName,k=c.itemCount,j=c.itemData,N=c.itemKey,E=N===void 0?uh:N,A=c.layout,y=c.outerElementType,P=c.outerTagName,V=c.style,H=c.useIsScrolling,B=c.width,J=this.state.isScrolling,X=M==="horizontal"||A==="horizontal",e2=X?this._onScrollHorizontal:this._onScrollVertical,$=this._getRangeToRender(),T=$[0],I=$[1],Z=[];if(k>0)for(var z=T;z<=I;z++)Z.push(d.createElement(g,{data:j,key:E(z,j),index:z,isScrolling:H?J:void 0,style:this._getItemStyle(z)}));var K=r(this.props,this._instanceProps);return d.createElement(y||P||"div",{className:v,onScroll:e2,ref:this._outerRefSetter,style:$t({position:"relative",height:L,width:B,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:M},V)},d.createElement(w||R||"div",{children:Z,ref:S,style:{height:X?"100%":K,pointerEvents:J?"none":void 0,width:X?K:"100%"}}))},b._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var c=this.props.itemCount;if(c>0){var g=this._getRangeToRender(),v=g[0],M=g[1],L=g[2],S=g[3];this._callOnItemsRendered(v,M,L,S)}}if(typeof this.props.onScroll=="function"){var w=this.state,R=w.scrollDirection,k=w.scrollOffset,j=w.scrollUpdateWasRequested;this._callOnScroll(R,k,j)}},b._getRangeToRender=function(){var c=this.props,g=c.itemCount,v=c.overscanCount,M=this.state,L=M.isScrolling,S=M.scrollDirection,w=M.scrollOffset;if(g===0)return[0,0,0,0];var R=a(this.props,w,this._instanceProps),k=s(this.props,R,w,this._instanceProps),j=!L||S==="backward"?Math.max(1,v):1,N=!L||S==="forward"?Math.max(1,v):1;return[Math.max(0,R-j),Math.max(0,Math.min(g-1,k+N)),R,k]},m})(d.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var fh=function(t,n){var r=t.children,o=t.direction,i=t.height,a=t.layout,s=t.innerTagName,l=t.outerTagName,u=t.width,f=n.instance;if(process.env.NODE_ENV!=="production"){(s!=null||l!=null)&&On&&!On.has(f)&&(On.add(f),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var C=o==="horizontal"||a==="horizontal";switch(o){case"horizontal":case"vertical":Rn&&!Rn.has(f)&&(Rn.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(a){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+a+'" was specified.'))}if(r==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(r===null?"null":typeof r)+'" was specified.'));if(C&&typeof u!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(u===null?"null":typeof u)+'" was specified.'));if(!C&&typeof i!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(i===null?"null":typeof i)+'" was specified.'))}},ph=dh({getItemOffset:function(t,n){var r=t.itemSize;return n*r},getItemSize:function(t,n){var r=t.itemSize;return r},getEstimatedTotalSize:function(t){var n=t.itemCount,r=t.itemSize;return r*n},getOffsetForIndexAndAlignment:function(t,n,r,o,i,a){var s=t.direction,l=t.height,u=t.itemCount,f=t.itemSize,C=t.layout,m=t.width,b=s==="horizontal"||C==="horizontal",h=b?m:l,c=Math.max(0,u*f-h),g=Math.min(c,n*f),v=Math.max(0,n*f-h+f+a);switch(r==="smart"&&(o>=v-h&&o<=g+h?r="auto":r="center"),r){case"start":return g;case"end":return v;case"center":{var M=Math.round(v+(g-v)/2);return M<Math.ceil(h/2)?0:M>c+Math.floor(h/2)?c:M}case"auto":default:return o>=v&&o<=g?o:o<v?v:g}},getStartIndexForOffset:function(t,n){var r=t.itemCount,o=t.itemSize;return Math.max(0,Math.min(r-1,Math.floor(n/o)))},getStopIndexForStartIndex:function(t,n,r){var o=t.direction,i=t.height,a=t.itemCount,s=t.itemSize,l=t.layout,u=t.width,f=o==="horizontal"||l==="horizontal",C=n*s,m=f?u:i,b=Math.ceil((m+r-C)/s);return Math.max(0,Math.min(a-1,n+b-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){var n=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof n!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(n===null?"null":typeof n)+'" was specified.'))}});const Ch=0,hh=35,mh=35;function gh(e){const{data:t,index:n,style:r}=e,o=t[n],i={...r,top:r.top+Ch};return d.cloneElement(o,{style:i})}const yh=d.forwardRef(function(t,n){const{children:r,...o}=t,i=d.Children.toArray(r),a=i.length,l=window.matchMedia("(max-width: 600px)").matches?hh:mh,u=()=>a>20?20*l:a*l;return O.jsx("div",{ref:n,...o,style:{overflow:"hidden"},children:O.jsx(ph,{height:u(),width:"100%",itemSize:l,overscanCount:5,itemCount:a,itemData:i,children:gh})})}),bh=e=>{const{value:t,placeholder:n,labelKey:r,labelText:o,label:i,todos:a,showSelectedCount:s,customTheme:l,showId:u}=e,f=(c,g)=>g?"Todos":u?`${c[r]} - ${c[o]}`:String(c[o]),{isAllSelected:C,updatedOptions:m,handleChange:b}=Q5(e);let h=l||Fr;return O.jsx(i2.ThemeProvider,{theme:h,children:O.jsx(i2.Autocomplete,{multiple:!0,fullWidth:!0,limitTags:1,id:"checkboxes-multiselect",options:m,value:t,onChange:b,disableCloseOnSelect:!0,disableListWrap:!0,ListboxComponent:yh,isOptionEqualToValue:(c,g)=>c[r]===g[r],getOptionLabel:c=>f(c,c[r]==="-1"),renderTags:c=>s?C?a?"Todos":`${c.length} seleccionados`:`${c.length} seleccionados`:O.jsx(O.Fragment,{}),renderOption:(c,g,{selected:v})=>{const{key:M,...L}=c,S=g[r]==="-1",w=S?C:v;return O.jsxs(i2.MenuItem,{...L,sx:{borderBottom:a&&g[o]==="Todos"?"1px #0000001F solid":"",gap:1,padding:"7px 16px !important"},children:[O.jsx(i2.Checkbox,{checked:w}),O.jsx(i2.ListItemText,{children:O.jsx(e7,{text:f(g,S),variant:"body1",placement:"bottom"})})]},String(g[r]))},renderInput:c=>O.jsx(i2.TextField,{...c,label:i,placeholder:s?"":n,fullWidth:!0}),onOpen:e.onOpen})})},p6="DD/MM/YYYY",C6=(e,t)=>{const n=e!==""?w1(e,p6):w1().subtract(2,"month"),r=t!==""?w1(t,p6):w1();return{defaultI:n,defaultF:r}},n7=({defaultValue:e,onchange:t,onInvalidDate:n,clear:r})=>{const o=C6((e==null?void 0:e.inicial)||"",(e==null?void 0:e.final)||""),[i,a]=d.useState([o.defaultI,o.defaultF]),[s,l]=d.useState(null);d.useEffect(()=>{if(r===!0){const{defaultI:m,defaultF:b}=C6((e==null?void 0:e.inicial)||"",(e==null?void 0:e.final)||"");a([m,b])}},[r]);const u=m=>{const b=w1(m[0]),h=w1(m[1]),c=f([b,h]);a(m),c==""?l(""):(l(c),n&&n())},f=m=>{const b=w1(m[0]),h=w1(m[1]);return b.isValid()&&h.isValid()?b.year()<2010?"Fecha inicial mínima es del año 2010":h.year()<2010?"Fecha final mínima es del año 2010":b.isBefore(h)?"":"La fecha inicial debe ser menor que la fecha final":"Fecha no válida"};return{selectedDateRange:i,handleDateChange:u,warningMessage:s,handleClose:()=>{const m=w1(i[0]),b=w1(i[1]),h=f([m,b]);h==""?(l(""),t({fechai:m.format("DD/MM/YYYY"),fechaf:b.format("DD/MM/YYYY")})):(n&&n(),l(h))}}},vh=e=>{const{selectedDateRange:t,handleDateChange:n,warningMessage:r,handleClose:o}=n7(e),i=gr(),a=Os(i.breakpoints.up("sm")),s=e.localeText??{start:"Fecha inicial",end:"Fecha final"};return O.jsx(M4,{display:"flex",gap:"0.75rem",width:"100%",justifyContent:"center",p:0,m:0,children:O.jsxs(B4,{width:"100%",sx:{color:"text.secondary"},children:[O.jsx(i2.Typography,{paddingY:1,children:e.label}),O.jsx(Dn.DateRangePicker,{sx:{"& .MuiMultiInputDateRangeField-separator":{display:"none"}},value:t,onClose:o,onChange:n,desktopModeMediaQuery:e.isInputIndividual&&a==!1?"sm":"",slots:e.isInputIndividual?{}:{field:Dn.SingleInputDateRangeField},slotProps:{textField:l=>{const u=l.position;return{size:"small",label:u==="start"?s.start:s.end,helperText:r,error:r!=""&&r!=null,fullWidth:!0,InputProps:{endAdornment:u==="start"?O.jsx(Ul,{sx:{color:"rgba(16, 24, 64, 0.54)"}}):O.jsx(_l,{sx:{color:"rgba(16, 24, 64, 0.54)"}})}}}},localeText:s})]})})},xh="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",Eh=({title:e,isLoading:t,zIndex:n=9999,sx:r})=>t?O.jsx(i2.ThemeProvider,{theme:q2,children:O.jsxs(i2.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:n,...r},children:[O.jsxs(i2.Box,{sx:{width:"auto",display:"inline-flex",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden",fontFamily:"Nunito, Segoe UI, sans-serif"},children:[O.jsx("img",{src:xh,alt:"Logo ADPRO",className:"imagenLogoADPRO",width:"120px",style:{zIndex:10}}),O.jsxs(i2.Box,{sx:{display:"flex",gap:"5px"},children:[O.jsx("div",{className:"pointLoading",style:{animationDelay:"0s"},children:"•"}),O.jsx("div",{className:"pointLoading",style:{animationDelay:"0.2s"},children:"•"}),O.jsx("div",{className:"pointLoading",style:{animationDelay:"0.4s"},children:"•"})]}),O.jsx(i2.Box,{display:"flex",justifyContent:"center",alignItems:"center",children:O.jsx(i2.Typography,{variant:"h5",sx:{color:"#10184099"},mt:1,children:e})})]}),O.jsx("style",{type:"text/css",children:`
530
530
 
531
531
  .pointLoading {
532
532
  color: rgb(10, 91, 94);
@@ -25240,7 +25240,7 @@ const oo = {
25240
25240
  let N = i || oo, E = m ? [m, ...c] : c;
25241
25241
  const A = _6(() => {
25242
25242
  const y = { ...e };
25243
- return delete y.handleValue, delete y.labelText, delete y.labelKey, delete y.helperText, delete y.error, delete y.ref, delete y.inputRef, delete y.name, delete y.labelSelection, delete y.size, delete y.optionAll, delete y.showId, y;
25243
+ return delete y.handleValue, delete y.labelText, delete y.labelKey, delete y.helperText, delete y.error, delete y.ref, delete y.inputRef, delete y.name, delete y.labelSelection, delete y.size, delete y.optionAll, delete y.showId, delete y.action, delete y.type, delete y.request, y;
25244
25244
  }, [e]);
25245
25245
  return /* @__PURE__ */ O.jsx(Xt, { theme: N, children: /* @__PURE__ */ O.jsx(
25246
25246
  j6,
@@ -1 +1 @@
1
- {"version":3,"file":"AuctocompleteADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/autocomplete/view/AuctocompleteADPRO.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAwB,MAAM,8BAA8B,CAAC;AAQ5F,eAAO,MAAM,iBAAiB,GACzB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,sBAAsB,CAAC,CAAC,CAAC,4CA4J/D,CAAA"}
1
+ {"version":3,"file":"AuctocompleteADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/autocomplete/view/AuctocompleteADPRO.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAwB,MAAM,8BAA8B,CAAC;AAQ5F,eAAO,MAAM,iBAAiB,GACzB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,sBAAsB,CAAC,CAAC,CAAC,4CA+J/D,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adpro-react",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "author": "Joel Mateo Robles Atuesta",
5
5
  "main": "dist/adpro-react.cjs.js",
6
6
  "module": "dist/adpro-react.es.js",