diff --git a/bloques.xml b/bloques.xml
new file mode 100644
index 0000000..ba9b109
--- /dev/null
+++ b/bloques.xml
@@ -0,0 +1,354 @@
+
+
- {t("quotes.discount_column.description")} -
++ {t("quotes.additional_currency.date")} +
++ {exchangeDate ? new Date(exchangeDate).toLocaleDateString() : "—"} +
++ {t("quotes.additional_currency.rate")} +
++ {rate ? `1 EUR = ${Number(rate).toLocaleString()} ${code}` : "—"} +
++ {t("quotes.additional_currency.total", { code })} +
++ {formattedTotal ?? "—"} + {formattedTotal && ( + {currencySymbol} + )} +
+1?p-1:0),y=1;y
{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,r||(r=tS),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(f=>{this[f]=function(){return e.store[f](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(f=>{this[f]=function(){return e.store[f](...arguments),e}});const c=py(),u=()=>{const f=(l,d)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(d),r(l,d)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}loadResources(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tS;const s=mt(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const i=[],a=o=>{if(!o||o==="cimode")return;this.services.languageUtils.toResolveHierarchy(o).forEach(u=>{u!=="cimode"&&i.indexOf(u)<0&&i.push(u)})};s?a(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>a(c)),this.options.preload&&this.options.preload.forEach(o=>a(o)),this.services.backendConnector.load(i,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(o)})}else r(null)}reloadResources(e,n,r){const s=py();return typeof e=="function"&&(r=e,e=void 0),typeof n=="function"&&(r=n,n=void 0),e||(e=this.languages),n||(n=this.options.ns),r||(r=tS),this.services.backendConnector.reload(e,n,i=>{s.resolve(),r(i)}),s}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&wW.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let n=0;n 0?x:0,l.style.justifyContent="flex-end")}}}c.current=f.scrollTop})})})]})});uY.displayName=mN;var dY="SelectGroup",[eke,tke]=Dv(dY),nke=_.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,s=Hr();return P.jsx(eke,{scope:n,id:s,children:P.jsx(De.div,{role:"group","aria-labelledby":s,...r,ref:e})})});nke.displayName=dY;var fY="SelectLabel",hY=_.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,s=tke(fY,n);return P.jsx(De.div,{id:s.id,...r,ref:e})});hY.displayName=fY;var RC="SelectItem",[rke,pY]=Dv(RC),mY=_.forwardRef((t,e)=>{const{__scopeSelect:n,value:r,disabled:s=!1,textValue:i,...a}=t,o=Fd(RC,n),c=jd(RC,n),u=o.value===r,[f,l]=_.useState(i??""),[d,m]=_.useState(!1),p=tt(e,g=>{var v;return(v=c.itemRefCallback)==null?void 0:v.call(c,g,r,s)}),h=Hr(),y=()=>{s||(o.onValueChange(r),o.onOpenChange(!1))};if(r==="")throw new Error("A =":return m>=p;case"<=":return m<=p}},i.default=function(m,p){return m===void 0?p:m},i.isIsoDate=function(m){return d.isoDate.test(m)},i.isNumber=function(m){return typeof m=="number"&&!isNaN(m)},i.isResolvable=function(m){return!!m&&(m[i.symbols.ref]||m[i.symbols.template])},i.isSchema=function(m,p={}){const h=m&&m[i.symbols.any];return!!h&&(o(p.legacy||h.version===i.version,"Cannot mix different versions of joi schemas"),!0)},i.isValues=function(m){return m[i.symbols.values]},i.limit=function(m){return Number.isSafeInteger(m)&&m>=0},i.preferences=function(m,p){f=f||a(6914),m=m||{},p=p||{};const h=Object.assign({},m,p);return p.errors&&m.errors&&(h.errors=Object.assign({},m.errors,p.errors),h.errors.wrap=Object.assign({},m.errors.wrap,p.errors.wrap)),p.messages&&(h.messages=f.compile(p.messages,m.messages)),delete h[i.symbols.prefs],h},i.tryWithPath=function(m,p,h={}){try{return m()}catch(y){throw y.path!==void 0?y.path=p+"."+y.path:y.path=p,h.append&&(y.message=`${y.message} (${y.path})`),y}},i.validateArg=function(m,p,{assert:h,message:y}){if(i.isSchema(h)){const g=h.validate(m);return g.error?g.error.message:void 0}if(!h(m))return p?`${p} ${y}`:y},i.verifyFlat=function(m,p){for(const h of m)o(!Array.isArray(h),"Method no longer accepts array arguments:",p)}},3292:(s,i,a)=>{const o=a(375),c=a(8160),u=a(6133),f={};i.schema=function(l,d,m={}){c.assertOptions(m,["appendPath","override"]);try{return f.schema(l,d,m)}catch(p){throw m.appendPath&&p.path!==void 0&&(p.message=`${p.message} (${p.path})`),p}},f.schema=function(l,d,m){o(d!==void 0,"Invalid undefined schema"),Array.isArray(d)&&(o(d.length,"Invalid empty array schema"),d.length===1&&(d=d[0]));const p=(h,...y)=>m.override!==!1?h.valid(l.override,...y):h.valid(...y);if(f.simple(d))return p(l,d);if(typeof d=="function")return l.custom(d);if(o(typeof d=="object","Invalid schema content:",typeof d),c.isResolvable(d))return p(l,d);if(c.isSchema(d))return d;if(Array.isArray(d)){for(const h of d)if(!f.simple(h))return l.alternatives().try(...d);return p(l,...d)}return d instanceof RegExp?l.string().regex(d):d instanceof Date?p(l.date(),d):(o(Object.getPrototypeOf(d)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),l.object().keys(d))},i.ref=function(l,d){return u.isRef(l)?l:u.create(l,d)},i.compile=function(l,d,m={}){c.assertOptions(m,["legacy"]);const p=d&&d[c.symbols.any];if(p)return o(m.legacy||p.version===c.version,"Cannot mix different versions of joi schemas:",p.version,c.version),d;if(typeof d!="object"||!m.legacy)return i.schema(l,d,{appendPath:!0});const h=f.walk(d);return h?h.compile(h.root,d):i.schema(l,d,{appendPath:!0})},f.walk=function(l){if(typeof l!="object")return null;if(Array.isArray(l)){for(const m of l){const p=f.walk(m);if(p)return p}return null}const d=l[c.symbols.any];if(d)return{root:l[d.root],compile:d.compile};o(Object.getPrototypeOf(l)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const m in l){const p=f.walk(l[m]);if(p)return p}return null},f.simple=function(l){return l===null||["boolean","string","number"].includes(typeof l)},i.when=function(l,d,m){if(m===void 0&&(o(d&&typeof d=="object","Missing options"),m=d,d=u.create(".")),Array.isArray(m)&&(m={switch:m}),c.assertOptions(m,["is","not","then","otherwise","switch","break"]),c.isSchema(d))return o(m.is===void 0,'"is" can not be used with a schema condition'),o(m.not===void 0,'"not" can not be used with a schema condition'),o(m.switch===void 0,'"switch" can not be used with a schema condition'),f.condition(l,{is:d,then:m.then,otherwise:m.otherwise,break:m.break});if(o(u.isRef(d)||typeof d=="string","Invalid condition:",d),o(m.not===void 0||m.is===void 0,'Cannot combine "is" with "not"'),m.switch===void 0){let h=m;m.not!==void 0&&(h={is:m.not,then:m.otherwise,otherwise:m.then,break:m.break});let y=h.is!==void 0?l.$_compile(h.is):l.$_root.invalid(null,!1,0,"").required();return o(h.then!==void 0||h.otherwise!==void 0,'options must have at least one of "then", "otherwise", or "switch"'),o(h.break===void 0||h.then===void 0||h.otherwise===void 0,"Cannot specify then, otherwise, and break all together"),m.is===void 0||u.isRef(m.is)||c.isSchema(m.is)||(y=y.required()),f.condition(l,{ref:i.ref(d),is:y,then:h.then,otherwise:h.otherwise,break:h.break})}o(Array.isArray(m.switch),'"switch" must be an array'),o(m.is===void 0,'Cannot combine "switch" with "is"'),o(m.not===void 0,'Cannot combine "switch" with "not"'),o(m.then===void 0,'Cannot combine "switch" with "then"');const p={ref:i.ref(d),switch:[],break:m.break};for(let h=0;h1&&(c||!u),l=e>1&&(u||!c),d=function(){r&&i(r)},m=function(){s&&i(s)};return P.jsx(ove,{displayMonth:t.displayMonth,hideNext:f,hidePrevious:l,nextMonth:s,previousMonth:r,onPreviousClick:d,onNextClick:m})}function ave(t){var e,n=In(),r=n.classNames,s=n.disableNavigation,i=n.styles,a=n.captionLayout,o=n.components,c=(e=o==null?void 0:o.CaptionLabel)!==null&&e!==void 0?e:NW,u;return s?u=P.jsx(c,{id:t.id,displayMonth:t.displayMonth}):a==="dropdown"?u=P.jsx(Sz,{displayMonth:t.displayMonth,id:t.id}):a==="dropdown-buttons"?u=P.jsxs(P.Fragment,{children:[P.jsx(Sz,{displayMonth:t.displayMonth,displayIndex:t.displayIndex,id:t.id}),P.jsx(Ez,{displayMonth:t.displayMonth,displayIndex:t.displayIndex,id:t.id})]}):u=P.jsxs(P.Fragment,{children:[P.jsx(c,{id:t.id,displayMonth:t.displayMonth,displayIndex:t.displayIndex}),P.jsx(Ez,{displayMonth:t.displayMonth,id:t.id})]}),P.jsx("div",{className:r.caption,style:i.caption,children:u})}function lve(t){var e=In(),n=e.footer,r=e.styles,s=e.classNames.tfoot;return n?P.jsx("tfoot",{className:s,style:r.tfoot,children:P.jsx("tr",{children:P.jsx("td",{colSpan:8,children:n})})}):P.jsx(P.Fragment,{})}function cve(t,e,n){for(var r=n?Vh(new Date):bl(new Date,{locale:t,weekStartsOn:e}),s=[],i=0;i<7;i++){var a=Vs(r,i);s.push(a)}return s}function uve(){var t=In(),e=t.classNames,n=t.styles,r=t.showWeekNumber,s=t.locale,i=t.weekStartsOn,a=t.ISOWeek,o=t.formatters.formatWeekdayName,c=t.labels.labelWeekday,u=cve(s,i,a);return P.jsxs("tr",{style:n.head_row,className:e.head_row,children:[r&&P.jsx("td",{style:n.head_cell,className:e.head_cell}),u.map(function(f,l){return P.jsx("th",{scope:"col",className:e.head_cell,style:n.head_cell,"aria-label":c(f,{locale:s}),children:o(f,{locale:s})},l)})]})}function dve(){var t,e=In(),n=e.classNames,r=e.styles,s=e.components,i=(t=s==null?void 0:s.HeadRow)!==null&&t!==void 0?t:uve;return P.jsx("thead",{style:r.head,className:n.head,children:P.jsx(i,{})})}function fve(t){var e=In(),n=e.locale,r=e.formatters.formatDay;return P.jsx(P.Fragment,{children:r(t.date,{locale:n})})}var BL=_.createContext(void 0);function hve(t){if(!f_(t.initialProps)){var e={selected:void 0,modifiers:{disabled:[]}};return P.jsx(BL.Provider,{value:e,children:t.children})}return P.jsx(pve,{initialProps:t.initialProps,children:t.children})}function pve(t){var e=t.initialProps,n=t.children,r=e.selected,s=e.min,i=e.max,a=function(u,f,l){var d,m;(d=e.onDayClick)===null||d===void 0||d.call(e,u,f,l);var p=!!(f.selected&&s&&(r==null?void 0:r.length)===s);if(!p){var h=!!(!f.selected&&i&&(r==null?void 0:r.length)===i);if(!h){var y=r?kW([],r):[];if(f.selected){var g=y.findIndex(function(v){return gi(u,v)});y.splice(g,1)}else y.push(u);(m=e.onSelect)===null||m===void 0||m.call(e,y,u,f,l)}}},o={disabled:[]};r&&o.disabled.push(function(u){var f=i&&r.length>i-1,l=r.some(function(d){return gi(d,u)});return!!(f&&!l)});var c={selected:r,onDayClick:a,modifiers:o};return P.jsx(BL.Provider,{value:c,children:n})}function UL(){var t=_.useContext(BL);if(!t)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return t}function mve(t,e){var n=e||{},r=n.from,s=n.to;return r&&s?gi(s,t)&&gi(r,t)?void 0:gi(s,t)?{from:s,to:void 0}:gi(r,t)?void 0:$D(r,t)?{from:t,to:s}:{from:r,to:t}:s?$D(t,s)?{from:s,to:t}:{from:t,to:s}:r?TW(t,r)?{from:t,to:r}:{from:r,to:t}:{from:t,to:void 0}}var HL=_.createContext(void 0);function gve(t){if(!h_(t.initialProps)){var e={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return P.jsx(HL.Provider,{value:e,children:t.children})}return P.jsx(vve,{initialProps:t.initialProps,children:t.children})}function vve(t){var e=t.initialProps,n=t.children,r=e.selected,s=r||{},i=s.from,a=s.to,o=e.min,c=e.max,u=function(m,p,h){var y,g;(y=e.onDayClick)===null||y===void 0||y.call(e,m,p,h);var v=mve(m,r);(g=e.onSelect)===null||g===void 0||g.call(e,v,m,p,h)},f={range_start:[],range_end:[],range_middle:[],disabled:[]};if(i?(f.range_start=[i],a?(f.range_end=[a],gi(i,a)||(f.range_middle=[{after:i,before:a}])):f.range_end=[i]):a&&(f.range_start=[a],f.range_end=[a]),o&&(i&&!a&&f.disabled.push({after:aT(i,o-1),before:Vs(i,o-1)}),i&&a&&f.disabled.push({after:i,before:Vs(i,o-1)}),!i&&a&&f.disabled.push({after:aT(a,o-1),before:Vs(a,o-1)})),c){if(i&&!a&&(f.disabled.push({before:Vs(i,-c+1)}),f.disabled.push({after:Vs(i,c-1)})),i&&a){var l=dl(a,i)+1,d=c-l;f.disabled.push({before:aT(i,d)}),f.disabled.push({after:Vs(a,d)})}!i&&a&&(f.disabled.push({before:Vs(a,-c+1)}),f.disabled.push({after:Vs(a,c-1)}))}return P.jsx(HL.Provider,{value:{selected:r,onDayClick:u,modifiers:f},children:n})}function VL(){var t=_.useContext(HL);if(!t)throw new Error("useSelectRange must be used within a SelectRangeProvider");return t}function BS(t){return Array.isArray(t)?kW([],t):t!==void 0?[t]:[]}function yve(t){var e={};return Object.entries(t).forEach(function(n){var r=n[0],s=n[1];e[r]=BS(s)}),e}var Aa;(function(t){t.Outside="outside",t.Disabled="disabled",t.Selected="selected",t.Hidden="hidden",t.Today="today",t.RangeStart="range_start",t.RangeEnd="range_end",t.RangeMiddle="range_middle"})(Aa||(Aa={}));var bve=Aa.Selected,Bl=Aa.Disabled,wve=Aa.Hidden,_ve=Aa.Today,cT=Aa.RangeEnd,uT=Aa.RangeMiddle,dT=Aa.RangeStart,xve=Aa.Outside;function Sve(t,e,n){var r,s=(r={},r[bve]=BS(t.selected),r[Bl]=BS(t.disabled),r[wve]=BS(t.hidden),r[_ve]=[t.today],r[cT]=[],r[uT]=[],r[dT]=[],r[xve]=[],r);return t.fromDate&&s[Bl].push({before:t.fromDate}),t.toDate&&s[Bl].push({after:t.toDate}),f_(t)?s[Bl]=s[Bl].concat(e.modifiers[Bl]):h_(t)&&(s[Bl]=s[Bl].concat(n.modifiers[Bl]),s[dT]=n.modifiers[dT],s[uT]=n.modifiers[uT],s[cT]=n.modifiers[cT]),s}var LW=_.createContext(void 0);function Eve(t){var e=In(),n=UL(),r=VL(),s=Sve(e,n,r),i=yve(e.modifiers),a=dt(dt({},s),i);return P.jsx(LW.Provider,{value:a,children:t.children})}function IW(){var t=_.useContext(LW);if(!t)throw new Error("useModifiers must be used within a ModifiersProvider");return t}function Cve(t){return!!(t&&typeof t=="object"&&"before"in t&&"after"in t)}function Ave(t){return!!(t&&typeof t=="object"&&"from"in t)}function Rve(t){return!!(t&&typeof t=="object"&&"after"in t)}function Pve(t){return!!(t&&typeof t=="object"&&"before"in t)}function Tve(t){return!!(t&&typeof t=="object"&&"dayOfWeek"in t)}function kve(t,e){var n,r=e.from,s=e.to;if(r&&s){var i=dl(s,r)<0;i&&(n=[s,r],r=n[0],s=n[1]);var a=dl(t,r)>=0&&dl(s,t)>=0;return a}return s?gi(s,t):r?gi(r,t):!1}function Dve(t){return $L(t)}function Nve(t){return Array.isArray(t)&&t.every($L)}function Mve(t,e){return e.some(function(n){if(typeof n=="boolean")return n;if(Dve(n))return gi(t,n);if(Nve(n))return n.includes(t);if(Ave(n))return kve(t,n);if(Tve(n))return n.dayOfWeek.includes(t.getDay());if(Cve(n)){var r=dl(n.before,t),s=dl(n.after,t),i=r>0,a=s<0,o=$D(n.before,n.after);return o?a&&i:i||a}return Rve(n)?dl(t,n.after)>0:Pve(n)?dl(n.before,t)>0:typeof n=="function"?n(t):!1})}function WL(t,e,n){var r=Object.keys(e).reduce(function(i,a){var o=e[a];return Mve(t,o)&&i.push(a),i},[]),s={};return r.forEach(function(i){return s[i]=!0}),n&&!zL(t,n)&&(s.outside=!0),s}function Ove(t,e){for(var n=Si(t[0]),r=FL(t[t.length-1]),s,i,a=n;a<=r;){var o=WL(a,e),c=!o.disabled&&!o.hidden;if(!c){a=Vs(a,1);continue}if(o.selected)return a;o.today&&!i&&(i=a),s||(s=a),a=Vs(a,1)}return i||s}var Lve=365;function $W(t,e){var n=e.moveBy,r=e.direction,s=e.context,i=e.modifiers,a=e.retry,o=a===void 0?{count:0,lastFocused:t}:a,c=s.weekStartsOn,u=s.fromDate,f=s.toDate,l=s.locale,d={day:Vs,week:ID,month:Ca,year:Sme,startOfWeek:function(y){return s.ISOWeek?Vh(y):bl(y,{locale:l,weekStartsOn:c})},endOfWeek:function(y){return s.ISOWeek?SW(y):jL(y,{locale:l,weekStartsOn:c})}},m=d[n](t,r==="after"?1:-1);r==="before"&&u?m=Eme([u,m]):r==="after"&&f&&(m=Cme([f,m]));var p=!0;if(i){var h=WL(m,i);p=!h.disabled&&!h.hidden}return p?m:o.count>Lve?o.lastFocused:$W(m,{moveBy:n,direction:r,context:s,modifiers:i,retry:dt(dt({},o),{count:o.count+1})})}var FW=_.createContext(void 0);function Ive(t){var e=p_(),n=IW(),r=_.useState(),s=r[0],i=r[1],a=_.useState(),o=a[0],c=a[1],u=Ove(e.displayMonths,n),f=s??(o&&e.isDateDisplayed(o))?o:u,l=function(){c(s),i(void 0)},d=function(y){i(y)},m=In(),p=function(y,g){if(s){var v=$W(s,{moveBy:y,direction:g,context:m,modifiers:n});gi(s,v)||(e.goToDate(v,s),d(v))}},h={focusedDay:s,focusTarget:f,blur:l,focus:d,focusDayAfter:function(){return p("day","after")},focusDayBefore:function(){return p("day","before")},focusWeekAfter:function(){return p("week","after")},focusWeekBefore:function(){return p("week","before")},focusMonthBefore:function(){return p("month","before")},focusMonthAfter:function(){return p("month","after")},focusYearBefore:function(){return p("year","before")},focusYearAfter:function(){return p("year","after")},focusStartOfWeek:function(){return p("startOfWeek","before")},focusEndOfWeek:function(){return p("endOfWeek","after")}};return P.jsx(FW.Provider,{value:h,children:t.children})}function qL(){var t=_.useContext(FW);if(!t)throw new Error("useFocusContext must be used within a FocusProvider");return t}function $ve(t,e){var n=IW(),r=WL(t,n,e);return r}var GL=_.createContext(void 0);function Fve(t){if(!U1(t.initialProps)){var e={selected:void 0};return P.jsx(GL.Provider,{value:e,children:t.children})}return P.jsx(jve,{initialProps:t.initialProps,children:t.children})}function jve(t){var e=t.initialProps,n=t.children,r=function(i,a,o){var c,u,f;if((c=e.onDayClick)===null||c===void 0||c.call(e,i,a,o),a.selected&&!e.required){(u=e.onSelect)===null||u===void 0||u.call(e,void 0,i,a,o);return}(f=e.onSelect)===null||f===void 0||f.call(e,i,i,a,o)},s={selected:e.selected,onDayClick:r};return P.jsx(GL.Provider,{value:s,children:n})}function jW(){var t=_.useContext(GL);if(!t)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return t}function zve(t,e){var n=In(),r=jW(),s=UL(),i=VL(),a=qL(),o=a.focusDayAfter,c=a.focusDayBefore,u=a.focusWeekAfter,f=a.focusWeekBefore,l=a.blur,d=a.focus,m=a.focusMonthBefore,p=a.focusMonthAfter,h=a.focusYearBefore,y=a.focusYearAfter,g=a.focusStartOfWeek,v=a.focusEndOfWeek,w=function(V){var H,ee,re,X;U1(n)?(H=r.onDayClick)===null||H===void 0||H.call(r,t,e,V):f_(n)?(ee=s.onDayClick)===null||ee===void 0||ee.call(s,t,e,V):h_(n)?(re=i.onDayClick)===null||re===void 0||re.call(i,t,e,V):(X=n.onDayClick)===null||X===void 0||X.call(n,t,e,V)},x=function(V){var H;d(t),(H=n.onDayFocus)===null||H===void 0||H.call(n,t,e,V)},A=function(V){var H;l(),(H=n.onDayBlur)===null||H===void 0||H.call(n,t,e,V)},k=function(V){var H;(H=n.onDayMouseEnter)===null||H===void 0||H.call(n,t,e,V)},R=function(V){var H;(H=n.onDayMouseLeave)===null||H===void 0||H.call(n,t,e,V)},E=function(V){var H;(H=n.onDayPointerEnter)===null||H===void 0||H.call(n,t,e,V)},T=function(V){var H;(H=n.onDayPointerLeave)===null||H===void 0||H.call(n,t,e,V)},D=function(V){var H;(H=n.onDayTouchCancel)===null||H===void 0||H.call(n,t,e,V)},M=function(V){var H;(H=n.onDayTouchEnd)===null||H===void 0||H.call(n,t,e,V)},L=function(V){var H;(H=n.onDayTouchMove)===null||H===void 0||H.call(n,t,e,V)},I=function(V){var H;(H=n.onDayTouchStart)===null||H===void 0||H.call(n,t,e,V)},F=function(V){var H;(H=n.onDayKeyUp)===null||H===void 0||H.call(n,t,e,V)},U=function(V){var H;switch(V.key){case"ArrowLeft":V.preventDefault(),V.stopPropagation(),n.dir==="rtl"?o():c();break;case"ArrowRight":V.preventDefault(),V.stopPropagation(),n.dir==="rtl"?c():o();break;case"ArrowDown":V.preventDefault(),V.stopPropagation(),u();break;case"ArrowUp":V.preventDefault(),V.stopPropagation(),f();break;case"PageUp":V.preventDefault(),V.stopPropagation(),V.shiftKey?h():m();break;case"PageDown":V.preventDefault(),V.stopPropagation(),V.shiftKey?y():p();break;case"Home":V.preventDefault(),V.stopPropagation(),g();break;case"End":V.preventDefault(),V.stopPropagation(),v();break}(H=n.onDayKeyDown)===null||H===void 0||H.call(n,t,e,V)},Y={onClick:w,onFocus:x,onBlur:A,onKeyDown:U,onKeyUp:F,onMouseEnter:k,onMouseLeave:R,onPointerEnter:E,onPointerLeave:T,onTouchCancel:D,onTouchEnd:M,onTouchMove:L,onTouchStart:I};return Y}function Bve(){var t=In(),e=jW(),n=UL(),r=VL(),s=U1(t)?e.selected:f_(t)?n.selected:h_(t)?r.selected:void 0;return s}function Uve(t){return Object.values(Aa).includes(t)}function Hve(t,e){var n=[t.classNames.day];return Object.keys(e).forEach(function(r){var s=t.modifiersClassNames[r];if(s)n.push(s);else if(Uve(r)){var i=t.classNames["day_".concat(r)];i&&n.push(i)}}),n}function Vve(t,e){var n=dt({},t.styles.day);return Object.keys(e).forEach(function(r){var s;n=dt(dt({},n),(s=t.modifiersStyles)===null||s===void 0?void 0:s[r])}),n}function Wve(t,e,n){var r,s,i,a=In(),o=qL(),c=$ve(t,e),u=zve(t,c),f=Bve(),l=!!(a.onDayClick||a.mode!=="default");_.useEffect(function(){var k;c.outside||o.focusedDay&&l&&gi(o.focusedDay,t)&&((k=n.current)===null||k===void 0||k.focus())},[o.focusedDay,t,n,l,c.outside]);var d=Hve(a,c).join(" "),m=Vve(a,c),p=!!(c.outside&&!a.showOutsideDays||c.hidden),h=(i=(s=a.components)===null||s===void 0?void 0:s.DayContent)!==null&&i!==void 0?i:fve,y=P.jsx(h,{date:t,displayMonth:e,activeModifiers:c}),g={style:m,className:d,children:y,role:"gridcell"},v=o.focusTarget&&gi(o.focusTarget,t)&&!c.outside,w=o.focusedDay&&gi(o.focusedDay,t),x=dt(dt(dt({},g),(r={disabled:c.disabled,role:"gridcell"},r["aria-selected"]=c.selected,r.tabIndex=w||v?0:-1,r)),u),A={isButton:l,isHidden:p,activeModifiers:c,selectedDays:f,buttonProps:x,divProps:g};return A}function qve(t){var e=_.useRef(null),n=Wve(t.date,t.displayMonth,e);return n.isHidden?P.jsx("div",{role:"gridcell"}):n.isButton?P.jsx(iC,dt({name:"day",ref:e},n.buttonProps)):P.jsx("div",dt({},n.divProps))}function Gve(t){var e=t.number,n=t.dates,r=In(),s=r.onWeekNumberClick,i=r.styles,a=r.classNames,o=r.locale,c=r.labels.labelWeekNumber,u=r.formatters.formatWeekNumber,f=u(Number(e),{locale:o});if(!s)return P.jsx("span",{className:a.weeknumber,style:i.weeknumber,children:f});var l=c(Number(e),{locale:o}),d=function(m){s(e,n,m)};return P.jsx(iC,{name:"week-number","aria-label":l,className:a.weeknumber,style:i.weeknumber,onClick:d,children:f})}function Kve(t){var e,n,r=In(),s=r.styles,i=r.classNames,a=r.showWeekNumber,o=r.components,c=(e=o==null?void 0:o.Day)!==null&&e!==void 0?e:qve,u=(n=o==null?void 0:o.WeekNumber)!==null&&n!==void 0?n:Gve,f;return a&&(f=P.jsx("td",{className:i.cell,style:s.cell,children:P.jsx(u,{number:t.weekNumber,dates:t.dates})})),P.jsxs("tr",{className:i.row,style:s.row,children:[f,t.dates.map(function(l){return P.jsx("td",{className:i.cell,style:s.cell,role:"presentation",children:P.jsx(c,{displayMonth:t.displayMonth,date:l})},Ege(l))})]})}function Cz(t,e,n){for(var r=n!=null&&n.ISOWeek?SW(e):jL(e,n),s=n!=null&&n.ISOWeek?Vh(t):bl(t,n),i=dl(r,s),a=[],o=0;o<=i;o++)a.push(Vs(s,o));var c=a.reduce(function(u,f){var l=n!=null&&n.ISOWeek?CW(f):RW(f,n),d=u.find(function(m){return m.weekNumber===l});return d?(d.dates.push(f),u):(u.push({weekNumber:l,dates:[f]}),u)},[]);return c}function Yve(t,e){var n=Cz(Si(t),FL(t),e);if(e!=null&&e.useFixedWeeks){var r=Age(t,e);if(r<6){var s=n[n.length-1],i=s.dates[s.dates.length-1],a=ID(i,6-r),o=Cz(ID(i,1),a,e);n.push.apply(n,o)}}return n}function Xve(t){var e,n,r,s=In(),i=s.locale,a=s.classNames,o=s.styles,c=s.hideHead,u=s.fixedWeeks,f=s.components,l=s.weekStartsOn,d=s.firstWeekContainsDate,m=s.ISOWeek,p=Yve(t.displayMonth,{useFixedWeeks:!!u,ISOWeek:m,locale:i,weekStartsOn:l,firstWeekContainsDate:d}),h=(e=f==null?void 0:f.Head)!==null&&e!==void 0?e:dve,y=(n=f==null?void 0:f.Row)!==null&&n!==void 0?n:Kve,g=(r=f==null?void 0:f.Footer)!==null&&r!==void 0?r:lve;return P.jsxs("table",{id:t.id,className:a.table,style:o.table,role:"grid","aria-labelledby":t["aria-labelledby"],children:[!c&&P.jsx(h,{}),P.jsx("tbody",{className:a.tbody,style:o.tbody,children:p.map(function(v){return P.jsx(y,{displayMonth:t.displayMonth,dates:v.dates,weekNumber:v.weekNumber},v.weekNumber)})}),P.jsx(g,{displayMonth:t.displayMonth})]})}function Qve(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Zve=Qve()?_.useLayoutEffect:_.useEffect,fT=!1,Jve=0;function Az(){return"react-day-picker-".concat(++Jve)}function eye(t){var e,n=t??(fT?Az():null),r=_.useState(n),s=r[0],i=r[1];return Zve(function(){s===null&&i(Az())},[]),_.useEffect(function(){fT===!1&&(fT=!0)},[]),(e=t??s)!==null&&e!==void 0?e:void 0}function tye(t){var e,n,r=In(),s=r.dir,i=r.classNames,a=r.styles,o=r.components,c=p_().displayMonths,u=eye(r.id?"".concat(r.id,"-").concat(t.displayIndex):void 0),f=r.id?"".concat(r.id,"-grid-").concat(t.displayIndex):void 0,l=[i.month],d=a.month,m=t.displayIndex===0,p=t.displayIndex===c.length-1,h=!m&&!p;s==="rtl"&&(e=[m,p],p=e[0],m=e[1]),m&&(l.push(i.caption_start),d=dt(dt({},d),a.caption_start)),p&&(l.push(i.caption_end),d=dt(dt({},d),a.caption_end)),h&&(l.push(i.caption_between),d=dt(dt({},d),a.caption_between));var y=(n=o==null?void 0:o.Caption)!==null&&n!==void 0?n:ave;return P.jsxs("div",{className:l.join(" "),style:d,children:[P.jsx(y,{id:u,displayMonth:t.displayMonth,displayIndex:t.displayIndex}),P.jsx(Xve,{id:f,"aria-labelledby":u,displayMonth:t.displayMonth})]},t.displayIndex)}function nye(t){var e=In(),n=e.classNames,r=e.styles;return P.jsx("div",{className:n.months,style:r.months,children:t.children})}function rye(t){var e,n,r=t.initialProps,s=In(),i=qL(),a=p_(),o=_.useState(!1),c=o[0],u=o[1];_.useEffect(function(){s.initialFocus&&i.focusTarget&&(c||(i.focus(i.focusTarget),u(!0)))},[s.initialFocus,c,i.focus,i.focusTarget,i]);var f=[s.classNames.root,s.className];s.numberOfMonths>1&&f.push(s.classNames.multiple_months),s.showWeekNumber&&f.push(s.classNames.with_weeknumber);var l=dt(dt({},s.styles.root),s.style),d=Object.keys(r).filter(function(p){return p.startsWith("data-")}).reduce(function(p,h){var y;return dt(dt({},p),(y={},y[h]=r[h],y))},{}),m=(n=(e=r.components)===null||e===void 0?void 0:e.Months)!==null&&n!==void 0?n:nye;return P.jsx("div",dt({className:f.join(" "),style:l,dir:s.dir,id:s.id,nonce:r.nonce,title:r.title,lang:r.lang},d,{children:P.jsx(m,{children:a.displayMonths.map(function(p,h){return P.jsx(tye,{displayIndex:h,displayMonth:p},h)})})}))}function sye(t){var e=t.children,n=Pge(t,["children"]);return P.jsx(Gge,{initialProps:n,children:P.jsx(rve,{children:P.jsx(Fve,{initialProps:n,children:P.jsx(hve,{initialProps:n,children:P.jsx(gve,{initialProps:n,children:P.jsx(Eve,{children:P.jsx(Ive,{children:e})})})})})})})}function iye(t){return P.jsx(sye,dt({},t,{children:P.jsx(rye,{initialProps:t})}))}function zW({className:t,classNames:e,showOutsideDays:n=!0,...r}){return P.jsx(iye,{showOutsideDays:n,className:ce("p-3",t),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:ce(Vb({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:ce(Vb({variant:"ghost"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...e},components:{IconLeft:()=>P.jsx(hL,{className:"w-4 h-4"}),IconRight:()=>P.jsx(r_,{className:"w-4 h-4"})},...r})}zW.displayName="Calendar";const BW=_.forwardRef(({className:t,...e},n)=>P.jsx("div",{ref:n,className:ce("rounded-md border bg-card text-card-foreground shadow",t),...e}));BW.displayName="Card";const UW=_.forwardRef(({className:t,...e},n)=>P.jsx("div",{ref:n,className:ce("flex flex-col space-y-1.5 p-6",t),...e}));UW.displayName="CardHeader";const HW=_.forwardRef(({className:t,...e},n)=>P.jsx("h3",{ref:n,className:ce("font-semibold leading-none tracking-tight",t),...e}));HW.displayName="CardTitle";const VW=_.forwardRef(({className:t,...e},n)=>P.jsx("p",{ref:n,className:ce("text-sm text-muted-foreground",t),...e}));VW.displayName="CardDescription";const WW=_.forwardRef(({className:t,...e},n)=>P.jsx("div",{ref:n,className:ce("p-6 pt-0",t),...e}));WW.displayName="CardContent";const qW=_.forwardRef(({className:t,...e},n)=>P.jsx("div",{ref:n,className:ce("flex items-center p-6 pt-0",t),...e}));qW.displayName="CardFooter";var oye=Array.isArray,aye=oye,lye=typeof yr=="object"&&yr&&yr.Object===Object&&yr,cye=lye,uye=cye,dye=typeof self=="object"&&self&&self.Object===Object&&self,fye=uye||dye||Function("return this")(),H1=fye,hye=H1,pye=hye.Symbol,KL=pye,Rz=KL,GW=Object.prototype,mye=GW.hasOwnProperty,gye=GW.toString,vy=Rz?Rz.toStringTag:void 0;function vye(t){var e=mye.call(t,vy),n=t[vy];try{t[vy]=void 0;var r=!0}catch{}var s=gye.call(t);return r&&(e?t[vy]=n:delete t[vy]),s}var yye=vye,bye=Object.prototype,wye=bye.toString;function _ye(t){return wye.call(t)}var xye=_ye,Pz=KL,Sye=yye,Eye=xye,Cye="[object Null]",Aye="[object Undefined]",Tz=Pz?Pz.toStringTag:void 0;function Rye(t){return t==null?t===void 0?Aye:Cye:Tz&&Tz in Object(t)?Sye(t):Eye(t)}var YL=Rye;function Pye(t){return t!=null&&typeof t=="object"}var KW=Pye,Tye=YL,kye=KW,Dye="[object Symbol]";function Nye(t){return typeof t=="symbol"||kye(t)&&Tye(t)==Dye}var Mye=Nye;function Oye(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var m_=Oye,Lye=YL,Iye=m_,$ye="[object AsyncFunction]",Fye="[object Function]",jye="[object GeneratorFunction]",zye="[object Proxy]";function Bye(t){if(!Iye(t))return!1;var e=Lye(t);return e==Fye||e==jye||e==$ye||e==zye}var Uye=Bye,Hye=H1,Vye=Hye["__core-js_shared__"],Wye=Vye,hT=Wye,kz=function(){var t=/[^.]+$/.exec(hT&&hT.keys&&hT.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function qye(t){return!!kz&&kz in t}var Gye=qye,Kye=Function.prototype,Yye=Kye.toString;function Xye(t){if(t!=null){try{return Yye.call(t)}catch{}try{return t+""}catch{}}return""}var Qye=Xye,Zye=Uye,Jye=Gye,ebe=m_,tbe=Qye,nbe=/[\\^$.*+?()[\]{}|]/g,rbe=/^\[object .+?Constructor\]$/,sbe=Function.prototype,ibe=Object.prototype,obe=sbe.toString,abe=ibe.hasOwnProperty,lbe=RegExp("^"+obe.call(abe).replace(nbe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function cbe(t){if(!ebe(t)||Jye(t))return!1;var e=Zye(t)?lbe:rbe;return e.test(tbe(t))}var ube=cbe;function dbe(t,e){return t==null?void 0:t[e]}var fbe=dbe,hbe=ube,pbe=fbe;function mbe(t,e){var n=pbe(t,e);return hbe(n)?n:void 0}var YW=mbe,gbe=YW,vbe=gbe(Object,"create"),V1=vbe,Dz=V1;function ybe(){this.__data__=Dz?Dz(null):{},this.size=0}var bbe=ybe;function wbe(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var _be=wbe,xbe=V1,Sbe="__lodash_hash_undefined__",Ebe=Object.prototype,Cbe=Ebe.hasOwnProperty;function Abe(t){var e=this.__data__;if(xbe){var n=e[t];return n===Sbe?void 0:n}return Cbe.call(e,t)?e[t]:void 0}var Rbe=Abe,Pbe=V1,Tbe=Object.prototype,kbe=Tbe.hasOwnProperty;function Dbe(t){var e=this.__data__;return Pbe?e[t]!==void 0:kbe.call(e,t)}var Nbe=Dbe,Mbe=V1,Obe="__lodash_hash_undefined__";function Lbe(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Mbe&&e===void 0?Obe:e,this}var Ibe=Lbe,$be=bbe,Fbe=_be,jbe=Rbe,zbe=Nbe,Bbe=Ibe;function xv(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e=120&&Ee.length>=120)?new Zd(Q&&Ee):n}Ee=b[0];var Re=-1,Fe=ne[0];e:for(;++Re j?0:j+S),N=N>j?j:N,N<0&&(N+=j),j=S>N?0:N-S>>>0,S>>>=0;for(var q=pe(j);++O
=s){var Se=S?null:Hre(b);if(Se)return Y_(Se);Q=!1,j=Hv,le=new Zd}else le=S?[]:ne;e:for(;++O=O?b:mo(b,S,N)}var gF=wne||function(b){return Jr.clearTimeout(b)};function vF(b,S){if(S)return b.slice();var N=b.length,O=F2?F2(N):new b.constructor(N);return b.copy(O),O}function YR(b){var S=new b.constructor(b.byteLength);return new tx(S).set(new tx(b)),S}function Ore(b,S){var N=S?YR(b.buffer):b.buffer;return new b.constructor(N,b.byteOffset,b.byteLength)}function Lre(b){var S=new b.constructor(b.source,gt.exec(b));return S.lastIndex=b.lastIndex,S}function Ire(b){return Kv?Cn(Kv.call(b)):{}}function yF(b,S){var N=S?YR(b.buffer):b.buffer;return new b.constructor(N,b.byteOffset,b.length)}function bF(b,S){if(b!==S){var N=b!==n,O=b===null,j=b===b,q=Ni(b),Q=S!==n,ne=S===null,le=S===S,Se=Ni(S);if(!ne&&!Se&&!q&&b>S||q&&Q&&le&&!ne&&!Se||O&&Q&&le||!N&&le||!j)return 1;if(!O&&!q&&!Se&&b
=ne)return le;var Se=N[O];return le*(Se=="desc"?-1:1)}}return b.index-S.index}function wF(b,S,N,O){for(var j=-1,q=b.length,Q=N.length,ne=-1,le=S.length,Se=Tr(q-Q,0),Ee=pe(le+Se),Re=!O;++ne0){if(++S>=L)return arguments[0]}else S=0;return b.apply(n,arguments)}}function Sx(b,S){var N=-1,O=b.length,j=O-1;for(S=S===n?O:S;++N1?b[S-1]:n;return N=typeof N=="function"?(b.pop(),N):n,QF(b,N)});function ZF(b){var S=W(b);return S.__chain__=!0,S}function uie(b,S){return S(b),b}function Ex(b,S){return S(b)}var die=Ll(function(b){var S=b.length,N=S?b[0]:0,O=this.__wrapped__,j=function(q){return MR(q,b)};return S>1||this.__actions__.length||!(O instanceof $t)||!Il(N)?this.thru(j):(O=O.slice(N,+N+(S?1:0)),O.__actions__.push({func:Ex,args:[j],thisArg:n}),new ho(O,this.__chain__).thru(function(q){return S&&!q.length&&q.push(n),q}))});function fie(){return ZF(this)}function hie(){return new ho(this.value(),this.__chain__)}function pie(){this.__values__===n&&(this.__values__=fj(this.value()));var b=this.__index__>=this.__values__.length,S=b?n:this.__values__[this.__index__++];return{done:b,value:S}}function mie(){return this}function gie(b){for(var S,N=this;N instanceof cx;){var O=WF(N);O.__index__=0,O.__values__=n,S?j.__wrapped__=O:S=O;var j=O;N=N.__wrapped__}return j.__wrapped__=b,S}function vie(){var b=this.__wrapped__;if(b instanceof $t){var S=b;return this.__actions__.length&&(S=new $t(this)),S=S.reverse(),S.__actions__.push({func:Ex,args:[aP],thisArg:n}),new ho(S,this.__chain__)}return this.thru(aP)}function yie(){return pF(this.__wrapped__,this.__actions__)}var bie=gx(function(b,S,N){un.call(b,N)?++b[N]:Ml(b,N,1)});function wie(b,S,N){var O=bt(b)?R2:ure;return N&&Is(b,S,N)&&(S=n),O(b,at(S,3))}function _ie(b,S){var N=bt(b)?tu:Q2;return N(b,at(S,3))}var xie=CF(qF),Sie=CF(GF);function Eie(b,S){return es(Cx(b,S),1)}function Cie(b,S){return es(Cx(b,S),V)}function Aie(b,S,N){return N=N===n?1:xt(N),es(Cx(b,S),N)}function JF(b,S){var N=bt(b)?uo:iu;return N(b,at(S,3))}function ej(b,S){var N=bt(b)?Wte:X2;return N(b,at(S,3))}var Rie=gx(function(b,S,N){un.call(b,N)?b[N].push(S):Ml(b,N,[S])});function Pie(b,S,N,O){b=ni(b)?b:Np(b),N=N&&!O?xt(N):0;var j=b.length;return N<0&&(N=Tr(j+N,0)),kx(b)?N<=j&&b.indexOf(S,N)>-1:!!j&&wp(b,S,N)>-1}var Tie=Rt(function(b,S,N){var O=-1,j=typeof S=="function",q=ni(b)?pe(b.length):[];return iu(b,function(Q){q[++O]=j?Ti(S,Q,N):Qv(Q,S,N)}),q}),kie=gx(function(b,S,N){Ml(b,N,S)});function Cx(b,S){var N=bt(b)?qn:rF;return N(b,at(S,3))}function Die(b,S,N,O){return b==null?[]:(bt(S)||(S=S==null?[]:[S]),N=O?n:N,bt(N)||(N=N==null?[]:[N]),aF(b,S,N))}var Nie=gx(function(b,S,N){b[N?0:1].push(S)},function(){return[[],[]]});function Mie(b,S,N){var O=bt(b)?wR:D2,j=arguments.length<3;return O(b,at(S,4),N,j,iu)}function Oie(b,S,N){var O=bt(b)?qte:D2,j=arguments.length<3;return O(b,at(S,4),N,j,X2)}function Lie(b,S){var N=bt(b)?tu:Q2;return N(b,Px(at(S,3)))}function Iie(b){var S=bt(b)?q2:Pre;return S(b)}function $ie(b,S,N){(N?Is(b,S,N):S===n)?S=1:S=xt(S);var O=bt(b)?ire:Tre;return O(b,S)}function Fie(b){var S=bt(b)?ore:Dre;return S(b)}function jie(b){if(b==null)return 0;if(ni(b))return kx(b)?xp(b):b.length;var S=gs(b);return S==$e||S==Qt?b.size:jR(b).length}function zie(b,S,N){var O=bt(b)?_R:Nre;return N&&Is(b,S,N)&&(S=n),O(b,at(S,3))}var Bie=Rt(function(b,S){if(b==null)return[];var N=S.length;return N>1&&Is(b,S[0],S[1])?S=[]:N>2&&Is(S[0],S[1],S[2])&&(S=[S[0]]),aF(b,es(S,1),[])}),Ax=_ne||function(){return Jr.Date.now()};function Uie(b,S){if(typeof S!="function")throw new fo(a);return b=xt(b),function(){if(--b<1)return S.apply(this,arguments)}}function tj(b,S,N){return S=N?n:S,S=b&&S==null?b.length:S,Ol(b,R,n,n,n,n,S)}function nj(b,S){var N;if(typeof S!="function")throw new fo(a);return b=xt(b),function(){return--b>0&&(N=S.apply(this,arguments)),b<=1&&(S=n),N}}var cP=Rt(function(b,S,N){var O=y;if(N.length){var j=ru(N,kp(cP));O|=A}return Ol(b,O,S,N,j)}),rj=Rt(function(b,S,N){var O=y|g;if(N.length){var j=ru(N,kp(rj));O|=A}return Ol(S,O,b,N,j)});function sj(b,S,N){S=N?n:S;var O=Ol(b,w,n,n,n,n,n,S);return O.placeholder=sj.placeholder,O}function ij(b,S,N){S=N?n:S;var O=Ol(b,x,n,n,n,n,n,S);return O.placeholder=ij.placeholder,O}function oj(b,S,N){var O,j,q,Q,ne,le,Se=0,Ee=!1,Re=!1,Fe=!0;if(typeof b!="function")throw new fo(a);S=vo(S)||0,Xn(N)&&(Ee=!!N.leading,Re="maxWait"in N,q=Re?Tr(vo(N.maxWait)||0,S):q,Fe="trailing"in N?!!N.trailing:Fe);function Ze(mr){var Ko=O,jl=j;return O=j=n,Se=mr,Q=b.apply(jl,Ko),Q}function lt(mr){return Se=mr,ne=ny(Dt,S),Ee?Ze(mr):Q}function Ct(mr){var Ko=mr-le,jl=mr-Se,Cj=S-Ko;return Re?ms(Cj,q-jl):Cj}function ct(mr){var Ko=mr-le,jl=mr-Se;return le===n||Ko>=S||Ko<0||Re&&jl>=q}function Dt(){var mr=Ax();if(ct(mr))return jt(mr);ne=ny(Dt,Ct(mr))}function jt(mr){return ne=n,Fe&&O?Ze(mr):(O=j=n,Q)}function Mi(){ne!==n&&gF(ne),Se=0,O=le=j=ne=n}function $s(){return ne===n?Q:jt(Ax())}function Oi(){var mr=Ax(),Ko=ct(mr);if(O=arguments,j=this,le=mr,Ko){if(ne===n)return lt(le);if(Re)return gF(ne),ne=ny(Dt,S),Ze(le)}return ne===n&&(ne=ny(Dt,S)),Q}return Oi.cancel=Mi,Oi.flush=$s,Oi}var Hie=Rt(function(b,S){return Y2(b,1,S)}),Vie=Rt(function(b,S,N){return Y2(b,vo(S)||0,N)});function Wie(b){return Ol(b,T)}function Rx(b,S){if(typeof b!="function"||S!=null&&typeof S!="function")throw new fo(a);var N=function(){var O=arguments,j=S?S.apply(this,O):O[0],q=N.cache;if(q.has(j))return q.get(j);var Q=b.apply(this,O);return N.cache=q.set(j,Q)||q,Q};return N.cache=new(Rx.Cache||Nl),N}Rx.Cache=Nl;function Px(b){if(typeof b!="function")throw new fo(a);return function(){var S=arguments;switch(S.length){case 0:return!b.call(this);case 1:return!b.call(this,S[0]);case 2:return!b.call(this,S[0],S[1]);case 3:return!b.call(this,S[0],S[1],S[2])}return!b.apply(this,S)}}function qie(b){return nj(2,b)}var Gie=Mre(function(b,S){S=S.length==1&&bt(S[0])?qn(S[0],ki(at())):qn(es(S,1),ki(at()));var N=S.length;return Rt(function(O){for(var j=-1,q=ms(O.length,N);++j=S}),rf=eF(function(){return arguments}())?eF:function(b){return or(b)&&un.call(b,"callee")&&!z2.call(b,"callee")},bt=pe.isArray,loe=_2?ki(_2):gre;function ni(b){return b!=null&&Tx(b.length)&&!$l(b)}function pr(b){return or(b)&&ni(b)}function coe(b){return b===!0||b===!1||or(b)&&Ls(b)==be}var cu=Sne||_P,uoe=x2?ki(x2):vre;function doe(b){return or(b)&&b.nodeType===1&&!ry(b)}function foe(b){if(b==null)return!0;if(ni(b)&&(bt(b)||typeof b=="string"||typeof b.splice=="function"||cu(b)||Dp(b)||rf(b)))return!b.length;var S=gs(b);if(S==$e||S==Qt)return!b.size;if(ty(b))return!jR(b).length;for(var N in b)if(un.call(b,N))return!1;return!0}function hoe(b,S){return Zv(b,S)}function poe(b,S,N){N=typeof N=="function"?N:n;var O=N?N(b,S):n;return O===n?Zv(b,S,n,N):!!O}function dP(b){if(!or(b))return!1;var S=Ls(b);return S==Oe||S==_e||typeof b.message=="string"&&typeof b.name=="string"&&!ry(b)}function moe(b){return typeof b=="number"&&U2(b)}function $l(b){if(!Xn(b))return!1;var S=Ls(b);return S==Ne||S==ye||S==ie||S==Xt}function lj(b){return typeof b=="number"&&b==xt(b)}function Tx(b){return typeof b=="number"&&b>-1&&b%1==0&&b<=H}function Xn(b){var S=typeof b;return b!=null&&(S=="object"||S=="function")}function or(b){return b!=null&&typeof b=="object"}var cj=S2?ki(S2):bre;function goe(b,S){return b===S||FR(b,S,tP(S))}function voe(b,S,N){return N=typeof N=="function"?N:n,FR(b,S,tP(S),N)}function yoe(b){return uj(b)&&b!=+b}function boe(b){if(nse(b))throw new vt(i);return tF(b)}function woe(b){return b===null}function _oe(b){return b==null}function uj(b){return typeof b=="number"||or(b)&&Ls(b)==ut}function ry(b){if(!or(b)||Ls(b)!=yt)return!1;var S=nx(b);if(S===null)return!0;var N=un.call(S,"constructor")&&S.constructor;return typeof N=="function"&&N instanceof N&&Z_.call(N)==vne}var fP=E2?ki(E2):wre;function xoe(b){return lj(b)&&b>=-9007199254740991&&b<=H}var dj=C2?ki(C2):_re;function kx(b){return typeof b=="string"||!bt(b)&&or(b)&&Ls(b)==J}function Ni(b){return typeof b=="symbol"||or(b)&&Ls(b)==fe}var Dp=A2?ki(A2):xre;function Soe(b){return b===n}function Eoe(b){return or(b)&&gs(b)==Pe}function Coe(b){return or(b)&&Ls(b)==Me}var Aoe=wx(zR),Roe=wx(function(b,S){return b<=S});function fj(b){if(!b)return[];if(ni(b))return kx(b)?Wo(b):ti(b);if(Vv&&b[Vv])return ine(b[Vv]());var S=gs(b),N=S==$e?RR:S==Qt?Y_:Np;return N(b)}function Fl(b){if(!b)return b===0?b:0;if(b=vo(b),b===V||b===-1/0){var S=b<0?-1:1;return S*ee}return b===b?b:0}function xt(b){var S=Fl(b),N=S%1;return S===S?N?S-N:S:0}function hj(b){return b?Jd(xt(b),0,X):0}function vo(b){if(typeof b=="number")return b;if(Ni(b))return re;if(Xn(b)){var S=typeof b.valueOf=="function"?b.valueOf():b;b=Xn(S)?S+"":S}if(typeof b!="string")return b===0?b:+b;b=N2(b);var N=Rr.test(b);return N||qt.test(b)?Ute(b.slice(2),N?2:8):It.test(b)?re:+b}function pj(b){return $a(b,ri(b))}function Poe(b){return b?Jd(xt(b),-9007199254740991,H):b===0?b:0}function sn(b){return b==null?"":Di(b)}var Toe=Pp(function(b,S){if(ty(S)||ni(S)){$a(S,Vr(S),b);return}for(var N in S)un.call(S,N)&&Yv(b,N,S[N])}),mj=Pp(function(b,S){$a(S,ri(S),b)}),Dx=Pp(function(b,S,N,O){$a(S,ri(S),b,O)}),koe=Pp(function(b,S,N,O){$a(S,Vr(S),b,O)}),Doe=Ll(MR);function Noe(b,S){var N=Rp(b);return S==null?N:G2(N,S)}var Moe=Rt(function(b,S){b=Cn(b);var N=-1,O=S.length,j=O>2?S[2]:n;for(j&&Is(S[0],S[1],j)&&(O=1);++N
>>0,N?(b=sn(b),b&&(typeof S=="string"||S!=null&&!fP(S))&&(S=Di(S),!S&&_p(b))?lu(Wo(b),0,N):b.split(S,N)):[]}var Cae=Tp(function(b,S,N){return b+(N?" ":"")+mP(S)});function Aae(b,S,N){return b=sn(b),N=N==null?0:Jd(xt(N),0,b.length),S=Di(S),b.slice(N,N+S.length)==S}function Rae(b,S,N){var O=W.templateSettings;N&&Is(b,S,N)&&(S=n),b=sn(b),S=Dx({},S,O,DF);var j=Dx({},S.imports,O.imports,DF),q=Vr(j),Q=AR(j,q),ne,le,Se=0,Ee=S.interpolate||La,Re="__p += '",Fe=PR((S.escape||La).source+"|"+Ee.source+"|"+(Ee===cn?Je:La).source+"|"+(S.evaluate||La).source+"|$","g"),Ze="//# sourceURL="+(un.call(S,"sourceURL")?(S.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ite+"]")+`
-`;b.replace(Fe,function(ct,Dt,jt,Mi,$s,Oi){return jt||(jt=Mi),Re+=b.slice(Se,Oi).replace(Vo,nne),Dt&&(ne=!0,Re+=`' +
-__e(`+Dt+`) +
-'`),$s&&(le=!0,Re+=`';
-`+$s+`;
-__p += '`),jt&&(Re+=`' +
-((__t = (`+jt+`)) == null ? '' : __t) +
-'`),Se=Oi+ct.length,ct}),Re+=`';
-`;var lt=un.call(S,"variable")&&S.variable;if(!lt)Re=`with (obj) {
-`+Re+`
-}
-`;else if(Xe.test(lt))throw new vt(o);Re=(le?Re.replace(Be,""):Re).replace(it,"$1").replace(ot,"$1;"),Re="function("+(lt||"obj")+`) {
-`+(lt?"":`obj || (obj = {});
-`)+"var __t, __p = ''"+(ne?", __e = _.escape":"")+(le?`, __j = Array.prototype.join;
-function print() { __p += __j.call(arguments, '') }
-`:`;
-`)+Re+`return __p
-}`;var Ct=Sj(function(){return tn(q,Ze+"return "+Re).apply(n,Q)});if(Ct.source=Re,dP(Ct))throw Ct;return Ct}function Pae(b){return sn(b).toLowerCase()}function Tae(b){return sn(b).toUpperCase()}function kae(b,S,N){if(b=sn(b),b&&(N||S===n))return N2(b);if(!b||!(S=Di(S)))return b;var O=Wo(b),j=Wo(S),q=M2(O,j),Q=O2(O,j)+1;return lu(O,q,Q).join("")}function Dae(b,S,N){if(b=sn(b),b&&(N||S===n))return b.slice(0,I2(b)+1);if(!b||!(S=Di(S)))return b;var O=Wo(b),j=O2(O,Wo(S))+1;return lu(O,0,j).join("")}function Nae(b,S,N){if(b=sn(b),b&&(N||S===n))return b.replace(he,"");if(!b||!(S=Di(S)))return b;var O=Wo(b),j=M2(O,Wo(S));return lu(O,j).join("")}function Mae(b,S){var N=D,O=M;if(Xn(S)){var j="separator"in S?S.separator:j;N="length"in S?xt(S.length):N,O="omission"in S?Di(S.omission):O}b=sn(b);var q=b.length;if(_p(b)){var Q=Wo(b);q=Q.length}if(N>=q)return b;var ne=N-xp(O);if(ne<1)return O;var le=Q?lu(Q,0,ne).join(""):b.slice(0,ne);if(j===n)return le+O;if(Q&&(ne+=le.length-ne),fP(j)){if(b.slice(ne).search(j)){var Se,Ee=le;for(j.global||(j=PR(j.source,sn(gt.exec(j))+"g")),j.lastIndex=0;Se=j.exec(Ee);)var Re=Se.index;le=le.slice(0,Re===n?ne:Re)}}else if(b.indexOf(Di(j),ne)!=ne){var Fe=le.lastIndexOf(j);Fe>-1&&(le=le.slice(0,Fe))}return le+O}function Oae(b){return b=sn(b),b&&Vt.test(b)?b.replace(Et,cne):b}var Lae=Tp(function(b,S,N){return b+(N?" ":"")+S.toUpperCase()}),mP=EF("toUpperCase");function xj(b,S,N){return b=sn(b),S=N?n:S,S===n?sne(b)?fne(b):Yte(b):b.match(S)||[]}var Sj=Rt(function(b,S){try{return Ti(b,n,S)}catch(N){return dP(N)?N:new vt(N)}}),Iae=Ll(function(b,S){return uo(S,function(N){N=Fa(N),Ml(b,N,cP(b[N],b))}),b});function $ae(b){var S=b==null?0:b.length,N=at();return b=S?qn(b,function(O){if(typeof O[1]!="function")throw new fo(a);return[N(O[0]),O[1]]}):[],Rt(function(O){for(var j=-1;++jH)return[];var N=X,O=ms(b,X);S=at(S),b-=X;for(var j=CR(O,S);++N0||S<0)?new $t(N):(b<0?N=N.takeRight(-b):b&&(N=N.drop(b)),S!==n&&(S=xt(S),N=S<0?N.dropRight(-S):N.take(S-b)),N)},$t.prototype.takeRightWhile=function(b){return this.reverse().takeWhile(b).reverse()},$t.prototype.toArray=function(){return this.take(X)},Ia($t.prototype,function(b,S){var N=/^(?:filter|find|map|reject)|While$/.test(S),O=/^(?:head|last)$/.test(S),j=W[O?"take"+(S=="last"?"Right":""):S],q=O||/^find/.test(S);j&&(W.prototype[S]=function(){var Q=this.__wrapped__,ne=O?[1]:arguments,le=Q instanceof $t,Se=ne[0],Ee=le||bt(Q),Re=function(Dt){var jt=j.apply(W,nu([Dt],ne));return O&&Fe?jt[0]:jt};Ee&&N&&typeof Se=="function"&&Se.length!=1&&(le=Ee=!1);var Fe=this.__chain__,Ze=!!this.__actions__.length,lt=q&&!Fe,Ct=le&&!Ze;if(!q&&Ee){Q=Ct?Q:new $t(this);var ct=b.apply(Q,ne);return ct.__actions__.push({func:Ex,args:[Re],thisArg:n}),new ho(ct,Fe)}return lt&&Ct?b.apply(this,ne):(ct=this.thru(Re),lt?O?ct.value()[0]:ct.value():ct)})}),uo(["pop","push","shift","sort","splice","unshift"],function(b){var S=X_[b],N=/^(?:push|sort|unshift)$/.test(b)?"tap":"thru",O=/^(?:pop|shift)$/.test(b);W.prototype[b]=function(){var j=arguments;if(O&&!this.__chain__){var q=this.value();return S.apply(bt(q)?q:[],j)}return this[N](function(Q){return S.apply(bt(Q)?Q:[],j)})}}),Ia($t.prototype,function(b,S){var N=W[S];if(N){var O=N.name+"";un.call(Ap,O)||(Ap[O]=[]),Ap[O].push({name:S,func:N})}}),Ap[vx(n,g).name]=[{name:"wrapper",func:n}],$t.prototype.clone=One,$t.prototype.reverse=Lne,$t.prototype.value=Ine,W.prototype.at=die,W.prototype.chain=fie,W.prototype.commit=hie,W.prototype.next=pie,W.prototype.plant=gie,W.prototype.reverse=vie,W.prototype.toJSON=W.prototype.valueOf=W.prototype.value=yie,W.prototype.first=W.prototype.head,Vv&&(W.prototype[Vv]=mie),W},Sp=hne();Yd?((Yd.exports=Sp)._=Sp,vR._=Sp):Jr._=Sp}).call(yr)})(NC,NC.exports);var mOe=NC.exports;const gOe=({amount:t,scale:e})=>{const n=10**e;return Number(t)/n},$Ue=t=>{const e=t.getFullYear(),n=String(t.getMonth()+1).padStart(2,"0"),r=String(t.getDate()).padStart(2,"0");return`${e}-${n}-${r}`},JT={locale:"es-ES"},Kp={amount:null,currencyCode:DC.DEFAULT_CURRENCY_CODE,scale:2},ar=class ar extends DQ{constructor(n,r,s){super(n);He(this,"_isNull");He(this,"_options");He(this,"isEmpty",()=>this.isNull());He(this,"isNull",()=>this._isNull);this._isNull=Object.freeze(r),this._options=Object.freeze(s)}static validate(n,r){const s=dr.any().optional().valid(null),i=dr.number().label(r.label?r.label:"amount"),a=dr.alternatives(s,i);return Jl.validate(a,n)}static getMonetaryValueInfo(n){const[r,s]=n.split("."),i=s?s.length:0;return[(r+s).replace(/[^0-9]/g,""),i]}static create(n=Kp,r=JT){if(n===null)throw new Error("InvalidParams: props params is missing");const{amount:s=Kp.amount,currencyCode:i=Kp.currencyCode,scale:a=Kp.scale}=n||{},o=ar.validate(s,r);if(o.isFailure)return xa.fail(TQ(i0.INVALID_INPUT_DATA,o.error.message,r));const c=ar.sanitize(o.object),u=i,f=bS({amount:Number(c),currency:u,precision:a}).setLocale(r.locale);return xa.ok(new this(f,mOe.isNull(c),r))}static createFromFormattedValue(n,r,s=ar.DEFAULT_SCALE,i={locale:JT.locale}){if(n===null||n==="")return ar.create({amount:null,scale:s,currencyCode:r});const a=String(n),[o,c]=a.split(",");let u=o,f=2;return c===void 0?f=0:(c===""&&(u=o+c.padEnd(1,"0"),f=1),c.length===1?(u=o+c.padEnd(1,"0"),f=1):c.length===2?(u=o+c.padEnd(2,"0"),f=2):c.length===3?(u=o+c.padEnd(3,"0"),f=3):c.length===4&&(u=o+c.padEnd(4,"0"),f=4)),ar.create({amount:u,scale:f,currencyCode:r},i)}static sanitize(n){let r=null;return typeof n=="string"?r=parseFloat(n):r=n,r}static createFromDinero(n){return xa.ok(new ar(n,!1,JT))}static normalizeScale(n){return bS.normalizePrecision(n.map(r=>r.props)).map(r=>ar.createFromDinero(r).object)}static minimum(n){return ar.createFromDinero(bS.minimum(n.map(r=>r.props))).object}static maximum(n){return ar.createFromDinero(bS.maximum(n.map(r=>r.props))).object}static _toString(n,r,s){if(n===null)return"";new Intl.NumberFormat(s,{useGrouping:!0}).format(n===null?0:gOe({amount:n,scale:r}));const i=Math.pow(10,r);return(Number(n)/i).toFixed(r)}toString(){return ar._toString(this.isNull()?null:this.getAmount(),this.getScale(),this._options.locale)}toJSON(){var n;return this._isNull?{}:(n=this.props)==null?void 0:n.toJSON()}toPrimitive(){var n;return this._isNull?null:Number((n=this.props)==null?void 0:n.getAmount())}toPrimitives(){return this.toObject()}getAmount(){return this.props.getAmount()}getScale(){return this.props.getPrecision()}convertScale(n,r="HALF_UP"){return this._isNull?ar.create({amount:null,scale:n,currencyCode:this.getCurrency().code}).object:ar.createFromDinero(this.props.convertPrecision(n,r)).object}getCurrency(){return DC.createFromCode(this.props.getCurrency()).object}getLocale(){return this.props.getLocale()}add(n){return ar.createFromDinero(this.props.add(n.props)).object}subtract(n){return ar.createFromDinero(this.props.subtract(n.props)).object}multiply(n,r){return ar.createFromDinero(this.props.multiply(n,r)).object}divide(n,r){return ar.createFromDinero(this.props.divide(n,r)).object}percentage(n,r){return ar.createFromDinero(this.props.percentage(n,r)).object}allocate(n){return this.props.allocate(n).map(r=>ar.createFromDinero(r).object)}equalsTo(n){return this.props.equalsTo(n.props)}lessThan(n){return this.props.lessThan(n.props)}lessThanOrEqual(n){return this.props.lessThanOrEqual(n.props)}greaterThan(n){return this.props.greaterThan(n.props)}greaterThanOrEqual(n){return this.props.greaterThanOrEqual(n.props)}isZero(){return this.props.isZero()}isPositive(){return this.props.isPositive()}isNegative(){return this.props.isNegative()}hasSameCurrency(n){return this.props.hasSameCurrency(n.props)}hasSameAmount(n){return this.props.hasSameAmount(n.props)}toFormat(n,r){return this._isNull?"":this.props.toFormat(n,r)}toUnit(){return this.props.toUnit()}toRoundedUnit(n,r){return this.props.toRoundedUnit(n,r)}toObject(){const n=this.props.toObject();return{amount:this._isNull?null:n.amount,scale:n.precision,currency_code:String(n.currency)}}toNumber(){return this.toUnit()}};He(ar,"DEFAULT_SCALE",Kp.scale),He(ar,"DEFAULT_CURRENCY_CODE",Kp.currencyCode);let MC=ar;class FUe extends dr.ValidationError{}class jUe extends dr.ValidationError{}const yb=0,D$=10,DN=1,LQ=9999,IQ=_.createContext(void 0),vOe=({dataSource:t,children:e})=>P.jsx(IQ.Provider,{value:t,children:e}),zUe=[5,10,15,30,50,75,100],$Q=(t=yb,e=D$)=>{const[n,r]=_.useState({pageIndex:t,pageSize:e});return[n,i=>{const a=i;return a.pageIndex{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t;const s=[];for(const i of r){const{id:a}=i,o=n.get(a);if(o){const c=GOe(o,e);c>0&&s.push({id:a,data:{droppableContainer:i,value:c}})}}return s.sort(WOe)};function YOe(t,e,n){return{...t,scaleX:e&&n?e.width/n.width:1,scaleY:e&&n?e.height/n.height:1}}function UQ(t,e){return t&&e?{x:t.left-e.left,y:t.top-e.top}:Ta}function XOe(t){return function(n){for(var r=arguments.length,s=new Array(r>1?r-1:0),i=1;i1){if(n===0)return t.replace(e,"");if(t.includes(e)){var r=t.split(e),s=r[0],i=r[1];if(i.length===n)return t;if(i.length>n)return"".concat(s).concat(e).concat(i.slice(0,n))}var a=t.length>n?new RegExp("(\\d+)(\\d{".concat(n,"})")):new RegExp("(\\d)(\\d+)"),o=t.match(a);if(o){var s=o[1],i=o[2];return"".concat(s).concat(e).concat(i)}}return t},fZ=function(t,e){var n=e.groupSeparator,r=n===void 0?",":n,s=e.decimalSeparator,i=s===void 0?".":s,a=new RegExp("\\d([^".concat(xl(r)).concat(xl(i),"0-9]+)")),o=t.match(a);return o?o[1]:void 0},Ry=function(t){var e=t.value,n=t.decimalSeparator,r=t.intlConfig,s=t.decimalScale,i=t.prefix,a=i===void 0?"":i,o=t.suffix,c=o===void 0?"":o;if(e===""||e===void 0)return"";if(e==="-")return"-";var u=new RegExp("^\\d?-".concat(a?"".concat(xl(a),"?"):"","\\d")).test(e),f=n!=="."?wIe(e,n,u):e;n&&n!=="-"&&f.startsWith(n)&&(f="0"+f);var l=r||{},d=l.locale,m=l.currency,p=F$(l,["locale","currency"]),h=Jt(Jt({},p),{minimumFractionDigits:s||0,maximumFractionDigits:20}),y=r?new Intl.NumberFormat(d,Jt(Jt({},h),m&&{style:"currency",currency:m})):new Intl.NumberFormat(void 0,h),g=y.formatToParts(Number(f)),v=_Ie(g,t),w=fZ(v,Jt({},t)),x=e.slice(-1)===n?n:"",A=f.match(RegExp("\\d+\\.(\\d+)"))||[],k=A[1];return s===void 0&&k&&n&&(v.includes(n)?v=v.replace(RegExp("(\\d+)(".concat(xl(n),")(\\d+)"),"g"),"$1$2".concat(k)):w&&!c?v=v.replace(w,"".concat(n).concat(k).concat(w)):v="".concat(v).concat(n).concat(k)),c&&x?"".concat(v).concat(x).concat(c):w&&x?v.replace(w,"".concat(x).concat(w)):w&&c?v.replace(w,"".concat(x).concat(c)):[v,x,c].join("")},wIe=function(t,e,n){var r=t;return e&&e!=="."&&(r=r.replace(RegExp(xl(e),"g"),"."),n&&e==="-"&&(r="-".concat(r.slice(1)))),r},_Ie=function(t,e){var n=e.prefix,r=e.groupSeparator,s=e.decimalSeparator,i=e.decimalScale,a=e.disableGroupSeparators,o=a===void 0?!1:a;return t.reduce(function(c,u,f){var l=u.type,d=u.value;return f===0&&n?l==="minusSign"?[d,n]:l==="currency"?$i($i([],c,!0),[n],!1):[n,d]:l==="currency"?n?c:$i($i([],c,!0),[d],!1):l==="group"?o?c:$i($i([],c,!0),[r!==void 0?r:d],!1):l==="decimal"?i!==void 0&&i===0?c:$i($i([],c,!0),[s!==void 0?s:d],!1):l==="fraction"?$i($i([],c,!0),[i!==void 0?d.slice(0,i):d],!1):$i($i([],c,!0),[d],!1)},[""]).join("")},xIe={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},SIe=function(t){var e=t||{},n=e.locale,r=e.currency,s=F$(e,["locale","currency"]),i=n?new Intl.NumberFormat(n,Jt(Jt({},s),r&&{currency:r,style:"currency"})):new Intl.NumberFormat;return i.formatToParts(1000.1).reduce(function(a,o,c){return o.type==="currency"?c===0?Jt(Jt({},a),{currencySymbol:o.value,prefix:o.value}):Jt(Jt({},a),{currencySymbol:o.value,suffix:o.value}):o.type==="group"?Jt(Jt({},a),{groupSeparator:o.value}):o.type==="decimal"?Jt(Jt({},a),{decimalSeparator:o.value}):a},xIe)},z4=function(t){return RegExp(/\d/,"gi").test(t)},EIe=function(t,e,n){if(n===void 0||e===""||e===void 0||t===""||t===void 0)return t;if(!t.match(/\d/g))return"";var r=t.split(e),s=r[0],i=r[1];if(n===0)return s;var a=i||"";if(a.length