Presupuestador_web/dist/client/assets/index-Dma5RbLy.js

637 lines
2.0 MiB
JavaScript
Raw Normal View History

2025-04-16 09:17:50 +00:00
var qpe=Object.defineProperty;var cq=e=>{throw TypeError(e)};var Gpe=(e,t,n)=>t in e?qpe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Be=(e,t,n)=>Gpe(e,typeof t!="symbol"?t+"":t,n),d3=(e,t,n)=>t.has(e)||cq("Cannot "+n);var P=(e,t,n)=>(d3(e,t,"read from private field"),n?n.call(e):t.get(e)),G=(e,t,n)=>t.has(e)?cq("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),V=(e,t,n,r)=>(d3(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),K=(e,t,n)=>(d3(e,t,"access private method"),n);var Ui=(e,t,n,r)=>({set _(s){V(e,t,s,n)},get _(){return P(e,t,r)}});function AX(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();var xr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Al(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Kpe(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var RX={exports:{}},Uk={},PX={exports:{}},ln={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var AA=Symbol.for("react.element"),Ype=Symbol.for("react.portal"),Xpe=Symbol.for("react.fragment"),Qpe=Symbol.for("react.strict_mode"),Zpe=Symbol.for("react.profiler"),Jpe=Symbol.for("react.provider"),eme=Symbol.for("react.context"),tme=Symbol.for("react.forward_ref"),nme=Symbol.for("react.suspense"),rme=Symbol.for("react.memo"),sme=Symbol.for("react.lazy"),uq=Symbol.iterator;function ime(e){return e===null||typeof e!="object"?null:(e=uq&&e[uq]||e["@@iterator"],typeof e=="function"?e:null)}var NX={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},TX=Object.assign,kX={};function Ex(e,t,n){this.props=e,this.context=t,this.refs=kX,this.updater=n||NX}Ex.prototype.isReactComponent={};Ex.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ex.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function DX(){}DX.prototype=Ex.prototype;function EV(e,t,n){this.props=e,this.context=t,this.refs=kX,this.updater=n||NX}var AV=EV.prototype=new DX;AV.constructor=EV;TX(AV,Ex.prototype);AV.isPureReactComponent=!0;var dq=Array.isArray,OX=Object.prototype.hasOwnProperty,RV={current:null},MX={key:!0,ref:!0,__self:!0,__source:!0};function IX(e,t,n){var r,s={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)OX.call(t,r)&&!MX.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var c=Array(a),d=0;d<a;d++)c[d]=arguments[d+2];s.children=c}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:AA,type:e,key:i,ref:o,props:s,_owner:RV.current}}function ome(e,t){return{$$typeof:AA,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function PV(e){return typeof e=="object"&&e!==null&&e.$$typeof===AA}function ame(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var fq=/\/+/g;function f3(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ame(""+e.key):t.toString(36)}function jP(e,t,n,r,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case AA:case Ype:o=!0}}if(o)return o=e,s=s(o),e=r===""?"."+f3(o,0):r,dq(s)?(n="",e!=null&&(n=e.replace(fq,"$&/")+"/"),jP(s,t,n,"",function(d){return d})):s!=null&&(PV(s)&&(s=ome(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(fq,"$&/")+"/")+e)),t.push(s)),1;if(o=0,r=r===""?".":r+":",dq(e))for(var a=0;a<e.length;a++){i=e[a];var c=r+f3(i,a);o+=jP(i,t,n,c,s)}else if(c=ime(e),typeof c=="function")for(e=c.call(e),a=0;!(i=e.next()).done;)i=i.value,c=r+f3(i,a++),o+=jP(i,t,n,c,s);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function kR(e,t,n){if(e==null)return e;var r=[],s=0;return jP(e,r,"","",function(i){return t.call(n,i,s++)}),r}function lme(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Oo={current:null},$P={transition:null},cme={ReactCurrentDispatcher:Oo,ReactCurrentBatchConfig:$P,ReactCurrentOwner:RV};function LX(){throw Error("act(...) is not supported in production builds of React.")}ln.Children={map:kR,forEach:function(e,t,n){kR(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return kR(e,function(){t++}),t},toArray:function(e){return kR(e,function(t){return t})||[]},only:function(e){if(!PV(e))throw Error("React.Children.only expect
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ume=C,dme=Symbol.for("react.element"),fme=Symbol.for("react.fragment"),hme=Object.prototype.hasOwnProperty,pme=ume.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,mme={key:!0,ref:!0,__self:!0,__source:!0};function jX(e,t,n){var r,s={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)hme.call(t,r)&&!mme.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:dme,type:e,key:i,ref:o,props:s,_owner:pme.current}}Uk.Fragment=fme;Uk.jsx=jX;Uk.jsxs=jX;RX.exports=Uk;var _=RX.exports,Rz={},$X={exports:{}},el={},FX={exports:{}},zX={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(H,se){var he=H.length;H.push(se);e:for(;0<he;){var re=he-1>>>1,J=H[re];if(0<s(J,se))H[re]=se,H[he]=J,he=re;else break e}}function n(H){return H.length===0?null:H[0]}function r(H){if(H.length===0)return null;var se=H[0],he=H.pop();if(he!==se){H[0]=he;e:for(var re=0,J=H.length,te=J>>>1;re<te;){var ae=2*(re+1)-1,be=H[ae],xe=ae+1,ve=H[xe];if(0>s(be,he))xe<J&&0>s(ve,be)?(H[re]=ve,H[xe]=he,re=xe):(H[re]=be,H[ae]=he,re=ae);else if(xe<J&&0>s(ve,he))H[re]=ve,H[xe]=he,re=xe;else break e}}return se}function s(H,se){var he=H.sortIndex-se.sortIndex;return he!==0?he:H.id-se.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var c=[],d=[],h=1,u=null,f=3,g=!1,v=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(H){for(var se=n(d);se!==null;){if(se.callback===null)r(d);else if(se.startTime<=H)r(d),se.sortIndex=se.expirationTime,t(c,se);else break;se=n(d)}}function E(H){if(m=!1,w(H),!v)if(n(c)!==null)v=!0,Z(R);else{var se=n(d);se!==null&&Y(E,se.startTime-H)}}function R(H,se){v=!1,m&&(m=!1,y(A),A=-1),g=!0;var he=f;try{for(w(se),u=n(c);u!==null&&(!(u.expirationTime>se)||H&&!I());){var re=u.callback;if(typeof re=="function"){u.callback=null,f=u.priorityLevel;var J=re(u.expirationTime<=se);se=e.unstable_now(),typeof J=="function"?u.callback=J:u===n(c)&&r(c),w(se)}else r(c);u=n(c)}if(u!==null)var te=!0;else{var ae=n(d);ae!==null&&Y(E,ae.startTime-se),te=!1}return te}finally{u=null,f=he,g=!1}}var T=!1,N=null,A=-1,D=5,O=-1;function I(){return!(e.unstable_now()-O<D)}function $(){if(N!==null){var H=e.unstable_now();O=H;var se=!0;try{se=N(!0,H)}finally{se?F():(T=!1,N=null)}}else T=!1}var F;if(typeof b=="function")F=function(){b($)};else if(typeof MessageChannel<"u"){var B=new MessageChannel,W=B.port2;B.port1.onmessage=$,F=function(){W.postMessage(null)}}else F=function(){x($,0)};function Z(H){N=H,T||(T=!0,F())}function Y(H,se){A=x(function(){H(e.unstable_now())},se)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(H){H.callback=null},e.unstable_continueExecution=function(){v||g||(v=!0,Z(R))},e.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<H?Math.floor(1e3/H):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(H){switch(f){case 1:case 2:case 3:var se=3;break;default:se=f}var he=f;f=se;try{return H()}finally{f=he}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(H,se){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var he=f;f=H;try{return se()}finally{f=he}},e.unstable_scheduleCallback=function(H,se,he){var re=e.unstable_now();switch(typeof he=="object"&&he!==null?(he=he.delay,he=typeof he=="number"&&0<he?re+he:re):he=re,H){case 1:var J=-1;break;case 2:J=250;break;case 5:J=1073741823;break;case 4:J=1e4;break;default:J=5e3}return J=he+J,H={id:h++,callback:se,priorityLevel:H,startTime:he,expirationTime:J,sortIndex:-1},he>re?(H.sortIndex=he,t(d,H),n(c)===null&&H===n(d)&&(m?(y(A),A=-1):m=!0,Y(E,he-re))):(H.sortIndex=J,t(c,H),v||g||(v=!0,Z(R))),H},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(H){var se=f;return function(){var he=f;f=se;try{return H.apply(this,arguments)}finally{f=he}}}})(zX);FX.exports=zX;var gme=FX.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var vme=C,Qa=gme;function Ve(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var BX=new Set,J1={};function sy(e,t){Q0(e,t),Q0(e+"Capture",t)}function Q0(e,t){for(J1[e]=t,e=0;e<t.length;e++)BX.add(t[e])}var Df=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pz=Object.prototype.hasOwnProperty,yme=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,hq={},pq={};function bme(e){return Pz.call(pq,e)?!0:Pz.call(hq,e)?!1:yme.test(e)?pq[e]=!0:(hq[e]=!0,!1)}function xme(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function _me(e,t,n,r){if(t===null||typeof t>"u"||xme(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Mo(e,t,n,r,s,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Fi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fi[e]=new Mo(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Fi[t]=new Mo(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fi[e]=new Mo(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fi[e]=new Mo(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Fi[e]=new Mo(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fi[e]=new Mo(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fi[e]=new Mo(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fi[e]=new Mo(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fi[e]=new Mo(e,5,!1,e.toLowerCase(),null,!1,!1)});var NV=/[\-:]([a-z])/g;function TV(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y ver
`+h3+e}var p3=!1;function m3(e,t){if(!e||p3)return"";p3=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(d){var r=d}Reflect.construct(e,[],t)}else{try{t.call()}catch(d){r=d}e.call(t.prototype)}else{try{throw Error()}catch(d){r=d}e()}}catch(d){if(d&&r&&typeof d.stack=="string"){for(var s=d.stack.split(`
`),i=r.stack.split(`
`),o=s.length-1,a=i.length-1;1<=o&&0<=a&&s[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(s[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||s[o]!==i[a]){var c=`
`+s[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=a);break}}}finally{p3=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?r1(e):""}function wme(e){switch(e.tag){case 5:return r1(e.type);case 16:return r1("Lazy");case 13:return r1("Suspense");case 19:return r1("SuspenseList");case 0:case 2:case 15:return e=m3(e.type,!1),e;case 11:return e=m3(e.type.render,!1),e;case 1:return e=m3(e.type,!0),e;default:return""}}function Dz(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ib:return"Fragment";case sb:return"Portal";case Nz:return"Profiler";case DV:return"StrictMode";case Tz:return"Suspense";case kz:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case VX:return(e.displayName||"Context")+".Consumer";case UX:return(e._context.displayName||"Context")+".Provider";case OV:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case MV:return t=e.displayName||null,t!==null?t:Dz(e.type)||"Memo";case lh:t=e._payload,e=e._init;try{return Dz(e(t))}catch{}}return null}function Sme(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Dz(t);case 8:return t===DV?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function fp(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function WX(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Cme(e){var t=WX(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function OR(e){e._valueTracker||(e._valueTracker=Cme(e))}function qX(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=WX(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function BN(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Oz(e,t){var n=t.checked;return is({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function gq(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=fp(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function GX(e,t){t=t.checked,t!=null&&kV(e,"checked",t,!1)}function Mz(e,t){GX(e,t);var n=fp(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Iz(e,t.type,n):t.hasOwnProperty("defaultValue")&&Iz(e,t.type,fp(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function vq(e,t,n){if(t.hasOwnProperty(
`).replace(Mge,"")}function BR(e,t,n){if(t=zq(t),zq(e)!==t&&n)throw Error(Ve(425))}function YN(){}var Yz=null,Xz=null;function Qz(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Zz=typeof setTimeout=="function"?setTimeout:void 0,Ige=typeof clearTimeout=="function"?clearTimeout:void 0,Bq=typeof Promise=="function"?Promise:void 0,Lge=typeof queueMicrotask=="function"?queueMicrotask:typeof Bq<"u"?function(e){return Bq.resolve(null).then(e).catch(jge)}:Zz;function jge(e){setTimeout(function(){throw e})}function P3(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),sC(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);sC(t)}function rp(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Uq(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Rx=Math.random().toString(36).slice(2),hu="__reactFiber$"+Rx,cC="__reactProps$"+Rx,Of="__reactContainer$"+Rx,Jz="__reactEvents$"+Rx,$ge="__reactListeners$"+Rx,Fge="__reactHandles$"+Rx;function cg(e){var t=e[hu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Of]||n[hu]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Uq(e);e!==null;){if(n=e[hu])return n;e=Uq(e)}return t}e=n,n=e.parentNode}return null}function NA(e){return e=e[hu]||e[Of],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function cb(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Ve(33))}function Gk(e){return e[cC]||null}var eB=[],ub=-1;function Ap(e){return{current:e}}function Ur(e){0>ub||(e.current=eB[ub],eB[ub]=null,ub--)}function Ar(e,t){ub++,eB[ub]=e.current,e.current=t}var hp={},so=Ap(hp),ta=Ap(!1),kv=hp;function Z0(e,t){var n=e.type.contextTypes;if(!n)return hp;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function na(e){return e=e.childContextTypes,e!=null}function XN(){Ur(ta),Ur(so)}function Vq(e,t,n){if(so.current!==hp)throw Error(Ve(168));Ar(so,t),Ar(ta,n)}function IQ(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(Ve(108,Sme(e)||"Unknown",s));return is({},n,r)}function QN(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hp,kv=so.current,Ar(so,e),Ar(ta,ta.current),!0}function Hq(e,t,n){var r=e.stateNode;if(!r)throw Error(Ve(169));n?(e=IQ(e,t,kv),r.__reactInternalMemoizedMergedChildContext=e,Ur(ta),Ur(so),Ar(so,e)):Ur(ta),Ar(ta,n)}var Vd=null,Kk=!1,N3=!1;function LQ(e){Vd===null?Vd=[e]:Vd.push(e)}function zge(e){Kk=!0,LQ(e)}function Rp(){if(!N3&&Vd!==null){N3=!0;var e=0,t=rr;try{var n=Vd;for(rr=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Vd=null,Kk=!1}catch(s){throw Vd!==null&&(Vd=Vd.slice(e+1)),aQ(LV,Rp),s}finally{rr=t,N3=!1}}return null}var db=[],fb=0,ZN=null,JN=0,pl=[],ml=0,Dv=null,xf=1,_f="";function Jm(e,t){db[fb++]=JN,db[fb++]=ZN,ZN=e,JN=t}function jQ(e,t,n){pl[ml++]=xf,pl[ml++]=_f,pl[ml++]=Dv,Dv=e;var r=xf;e=_f;var s=32-bc(r)-1;r&=~(1<<s),n+=1;var i=32-bc(t)+s;if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,xf=1<<32-bc(t)+s|n<<s|r,_f=i+e}else xf=1<<i|n<<s|r,_f=e}function WV(e){e.return!==null&&(Jm(e,1),jQ(e,1,0))}function qV(e){for(;e===ZN;)ZN=db[--fb],db[fb]=null,JN=db[--fb],db[fb]=null;for(;e===Dv;)Dv=pl[--ml],pl[ml]=null,_f=pl[--ml],pl[ml]=null,xf=pl[--ml],pl[ml]=null}var Ga=null,qa=null,Gr=!1,hc=null;function $Q(e,t){var n=bl(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:s,digest:null}}function M3(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function oB(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Yge=typeof WeakMap=="function"?WeakMap:Map;function dZ(e,t,n){n=Sf(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){aT||(aT=!0,gB=r),oB(e,t)},n}function fZ(e,t,n){n=Sf(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){oB(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){oB(e,t),typeof r!="function"&&(ip===null?ip=new Set([this]):ip.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function eG(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Yge;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=cve.bind(null,e,t,n),t.then(e,e))}function tG(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function nG(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Sf(-1,1),t.tag=2,sp(n,t,1))),n.lanes|=1),e)}var Xge=Bf.ReactCurrentOwner,Xo=!1;function So(e,t,n,r){t.child=e===null?BQ(t,null,n,r):ex(t,e.child,n,r)}function rG(e,t,n,r,s){n=n.render;var i=t.ref;return Cb(t,s),r=rH(e,t,n,r,i,s),n=sH(),e!==null&&!Xo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,If(e,t,s)):(Gr&&n&&WV(t),t.flags|=1,So(e,t,r,s),t.child)}function sG(e,t,n,r,s){if(e===null){var i=n.type;return typeof i=="function"&&!pH(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,hZ(e,t,i,r,s)):(e=KP(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:oC,n(o,r)&&e.ref===t.ref)return If(e,t,s)}return t.flags|=1,e=ap(i,r),e.ref=t.ref,e.return=t,t.child=e}function hZ(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if(oC(i,r)&&e.ref===t.ref)if(Xo=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(Xo=!0);else return t.lanes=e.lanes,If(e,t,s)}return aB(e,t,n,r,s)}function pZ(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ar(mb,za),za|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ar(mb,za),za|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Ar(mb,za),za|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ar(mb,za),za|=r;return So(e,t,s,n),t.child}function mZ(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function aB(e,t,n,r,s){var i=na(n)?kv:so.current;return i=Z0(t,i),Cb(t,s),n=rH(e,t,n,r,i,s),r=sH(),e!==null&&!Xo?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,If(e,t,s)):(Gr&&r&&WV(t),t.flags|=1,So(e,t,n,s),t.child)}function iG(e,t,n,r,s){if(na(n)){var i=!0;QN(t)}else i=!1;if(Cb(t,s),t.stateNode===null)WP(e,t),uZ(t,n,r),iB(t,n,r,s),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var c=o.context,d=n.contextType;typeof d=="object"&&d!==null?d=Sl(d):(d=na(n)?kv:so.current,d=Z0(t,d));var h=n.getDerivedStateFromProps,u=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function";u||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||c!==d)&&Jq(t,o,r,d),ch=!1;var f=t.memoizedState;o.state=f,nT(t,r,o,s),c=t.memoizedState,a!==r||f!==c||ta.current||ch?(typeof h=="function"&&(sB(t,n,h,r),c=t.memoizedState),(a=ch||Zq(t,n,a,r,f,c,d))?(u||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeo
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wye=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),vJ=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var qye={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gye=C.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...a},c)=>C.createElement("svg",{ref:c,...qye,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:vJ("lucide",s),...a},[...o.map(([d,h])=>C.createElement(d,h)),...Array.isArray(i)?i:[i]]));/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wt=(e,t)=>{const n=C.forwardRef(({className:r,...s},i)=>C.createElement(Gye,{ref:i,iconNode:t,className:vJ(`lucide-${Wye(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yJ=Wt("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kye=Wt("ArrowDownUp",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"m21 8-4-4-4 4",key:"1c9v7m"}],["path",{d:"M17 4v16",key:"7dpous"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PG=Wt("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NG=Wt("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yye=Wt("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OA=Wt("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nx=Wt("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lD=Wt("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tx=Wt("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bJ=Wt("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xye=Wt("ChevronsLeft",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qye=Wt("ChevronsRight",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xJ=Wt("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _J=Wt("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zye=Wt("CirclePlus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jye=Wt("CircleUser",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ebe=Wt("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cD=Wt("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tbe=Wt("CopyPlus",[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DH=Wt("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wJ=Wt("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nbe=Wt("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SJ=Wt("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rbe=Wt("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sbe=Wt("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CJ=Wt("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ibe=Wt("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const obe=Wt("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const abe=Wt("Loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lbe=Wt("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const cbe=Wt("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ube=Wt("Package2",[["path",{d:"M3 9h18v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z",key:"1ront0"}],["path",{d:"m3 9 2.45-4.9A2 2 0 0 1 7.24 3h9.52a2 2 0 0 1 1.8 1.1L21 9",key:"19h2x1"}],["path",{d:"M12 3v6",key:"1holv5"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OH=Wt("PackagePlus",[["path",{d:"M16 16h6",key:"100bgy"}],["path",{d:"M19 13v6",key:"85cyf1"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MH=Wt("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const EJ=Wt("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dbe=Wt("Scan",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IH=Wt("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fbe=Wt("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hbe=Wt("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pbe=Wt("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const AJ=Wt("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RJ=Wt("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
* @license lucide-react v0.427.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sx=Wt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function PJ(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=PJ(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function oy(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=PJ(e))&&(r&&(r+=" "),r+=t);return r}const LH="-",mbe=e=>{const t=vbe(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(LH);return a[0]===""&&a.length!==1&&a.shift(),NJ(a,t)||gbe(o)},getConflictingClassGroupIds:(o,a)=>{const c=n[o]||[];return a&&r[o]?[...c,...r[o]]:c}}},NJ=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?NJ(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(LH);return(o=t.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},TG=/^\[(.+)\]$/,gbe=e=>{if(TG.test(e)){const t=TG.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},vbe=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return bbe(Object.entries(e.classGroups),n).forEach(([i,o])=>{LB(o,r,i,t)}),r},LB=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:kG(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(ybe(s)){LB(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,o])=>{LB(o,kG(t,i),n,r)})})},kG=(e,t)=>{let n=e;return t.split(LH).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},ybe=e=>e.isThemeGetter,bbe=(e,t)=>t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[t+o,a])):i);return[n,s]}):e,xbe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){n.has(i)?n.set(i,o):s(i,o)}}},TJ="!",_be=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],i=t.length,o=a=>{const c=[];let d=0,h=0,u;for(let x=0;x<a.length;x++){let y=a[x];if(d===0){if(y===s&&(r||a.slice(x,x+i)===t)){c.push(a.slice(h,x)),h=x+i;continue}if(y==="/"){u=x;continue}}y==="["?d++:y==="]"&&d--}const f=c.length===0?a:a.substring(h),g=f.startsWith(TJ),v=g?f.substring(1):f,m=u&&u>h?u-h:void 0;return{modifiers:c,hasImportantModifier:g,baseClassName:v,maybePostfixModifierPosition:m}};return n?a=>n({className:a,parseClassName:o}):o},wbe=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Sbe=e=>({cache:xbe(e.cacheSize),parseClassName:_be(e),...mbe(e)}),Cbe=/\s+/,Ebe=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=[],o=e.trim().split(Cbe);let a="";for(let c=o.length-1;c>=0;c-=1){const d=o[c],{modifiers:h,hasImportantModifier:u,baseClassName:f,maybePostfixModifierPosition:g}=n(d);let v=!!g,m=r(v?f.substring(0,g):f);if(!m){if(!v){a=d+(a.length>0?" "+a:a);continue}if(m=r(f),!m){a=d+(a.length>0?" "+a:a);continue}v=!1}const x=wbe(h).join(":"),y=u?x+TJ:x,b=y+m;if(i.includes(b))continue;i.push(b);const w=s(m,v);for(let E=0;E<w.length;++E){const R=w[E];i.push(y+R)}a=d+(a.length>0?" "+a:a)}return a};function Abe(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=kJ(t))&&(r&&(r+=" "),r+=n);return r}const kJ=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=kJ(e[r]))&&(n&&(n+=" "),n+=t);return n};function Rbe(e,...t){let n,r,s,i=o;function o(c){const d=t.reduce((h,u)=>u(h),e());return n=Sbe(d),r=n.cache.get,s=n.cache.set,i=a,a(c)}function a(c){const d=r(c);if(d)return d;const h=Ebe(c,n);return s(c,h),h}return function(){return i(Abe.apply(null,arguments))}}const jr=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},DJ=/^\[(?:([
.`.concat(h0e,` {
overflow: hidden `).concat(r,`;
padding-right: `).concat(a,"px ").concat(r,`;
}
body[`).concat(Tb,`] {
overflow: hidden `).concat(r,`;
overscroll-behavior: contain;
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
padding-left: `.concat(s,`px;
padding-top: `).concat(i,`px;
padding-right: `).concat(o,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(a,"px ").concat(r,`;
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
}
.`).concat(Pb,` {
right: `).concat(a,"px ").concat(r,`;
}
.`).concat(Nb,` {
margin-right: `).concat(a,"px ").concat(r,`;
}
.`).concat(Pb," .").concat(Pb,` {
right: 0 `).concat(r,`;
}
.`).concat(Nb," .").concat(Nb,` {
margin-right: 0 `).concat(r,`;
}
body[`).concat(Tb,`] {
`).concat(p0e,": ").concat(a,`px;
}
`)},UG=function(){var e=parseInt(document.body.getAttribute(Tb)||"0",10);return isFinite(e)?e:0},T0e=function(){C.useEffect(function(){return document.body.setAttribute(Tb,(UG()+1).toString()),function(){var e=UG()-1;e<=0?document.body.removeAttribute(Tb):document.body.setAttribute(Tb,e.toString())}},[])},HH=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;T0e();var i=C.useMemo(function(){return R0e(s)},[s]);return C.createElement(P0e,{styles:N0e(i,!t,s,n?"":"!important")})},$B=!1;if(typeof window<"u")try{var XR=Object.defineProperty({},"passive",{get:function(){return $B=!0,!0}});window.addEventListener("test",XR,XR),window.removeEventListener("test",XR,XR)}catch{$B=!1}var Ny=$B?{passive:!1}:!1,k0e=function(e){return e.tagName==="TEXTAREA"},BJ=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!k0e(e)&&n[t]==="visible")},D0e=function(e){return BJ(e,"overflowY")},O0e=function(e){return BJ(e,"overflowX")},VG=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=UJ(e,r);if(s){var i=VJ(e,r),o=i[1],a=i[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},M0e=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},I0e=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},UJ=function(e,t){return e==="v"?D0e(t):O0e(t)},VJ=function(e,t){return e==="v"?M0e(t):I0e(t)},L0e=function(e,t){return e==="h"&&t==="rtl"?-1:1},j0e=function(e,t,n,r,s){var i=L0e(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,c=t.contains(a),d=!1,h=o>0,u=0,f=0;do{var g=VJ(e,a),v=g[0],m=g[1],x=g[2],y=m-x-i*v;(v||y)&&UJ(e,a)&&(u+=y,f+=v),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(h&&Math.abs(u)<1||!h&&Math.abs(f)<1)&&(d=!0),d},QR=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},HG=function(e){return[e.deltaX,e.deltaY]},WG=function(e){return e&&"current"in e?e.current:e},$0e=function(e,t){return e[0]===t[0]&&e[1]===t[1]},F0e=function(e){return`
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},z0e=0,Ty=[];function B0e(e){var t=C.useRef([]),n=C.useRef([0,0]),r=C.useRef(),s=C.useState(z0e++)[0],i=C.useState(hD)[0],o=C.useRef(e);C.useEffect(function(){o.current=e},[e]),C.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var m=zH([e.lockRef.current],(e.shards||[]).map(WG),!0).filter(Boolean);return m.forEach(function(x){return x.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),m.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var a=C.useCallback(function(m,x){if("touches"in m&&m.touches.length===2)return!o.current.allowPinchZoom;var y=QR(m),b=n.current,w="deltaX"in m?m.deltaX:b[0]-y[0],E="deltaY"in m?m.deltaY:b[1]-y[1],R,T=m.target,N=Math.abs(w)>Math.abs(E)?"h":"v";if("touches"in m&&N==="h"&&T.type==="range")return!1;var A=VG(N,T);if(!A)return!0;if(A?R=N:(R=N==="v"?"h":"v",A=VG(N,T)),!A)return!1;if(!r.current&&"changedTouches"in m&&(w||E)&&(r.current=R),!R)return!0;var D=r.current||R;return j0e(D,x,m,D==="h"?w:E)},[]),c=C.useCallback(function(m){var x=m;if(!(!Ty.length||Ty[Ty.length-1]!==i)){var y="deltaY"in x?HG(x):QR(x),b=t.current.filter(function(R){return R.name===x.type&&(R.target===x.target||x.target===R.shadowParent)&&$0e(R.delta,y)})[0];if(b&&b.should){x.cancelable&&x.preventDefault();return}if(!b){var w=(o.current.shards||[]).map(WG).filter(Boolean).filter(function(R){return R.contains(x.target)}),E=w.length>0?a(x,w[0]):!o.current.noIsolation;E&&x.cancelable&&x.preventDefault()}}},[]),d=C.useCallback(function(m,x,y,b){var w={name:m,delta:x,target:y,should:b,shadowParent:U0e(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(E){return E!==w})},1)},[]),h=C.useCallback(function(m){n.current=QR(m),r.current=void 0},[]),u=C.useCallback(function(m){d(m.type,HG(m),m.target,a(m,e.lockRef.current))},[]),f=C.useCallback(function(m){d(m.type,QR(m),m.target,a(m,e.lockRef.current))},[]);C.useEffect(function(){return Ty.push(i),e.setCallbacks({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:f}),document.addEventListener("wheel",c,Ny),document.addEventListener("touchmove",c,Ny),document.addEventListener("touchstart",h,Ny),function(){Ty=Ty.filter(function(m){return m!==i}),document.removeEventListener("wheel",c,Ny),document.removeEventListener("touchmove",c,Ny),document.removeEventListener("touchstart",h,Ny)}},[]);var g=e.removeScrollBar,v=e.inert;return C.createElement(C.Fragment,null,v?C.createElement(i,{styles:F0e(s)}):null,g?C.createElement(HH,{gapMode:e.gapMode}):null)}function U0e(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const V0e=VH(zJ,B0e);var IA=C.forwardRef(function(e,t){return C.createElement(fD,fs({},e,{ref:t,sideCar:V0e}))});IA.classNames=fD.classNames;var H0e=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ky=new WeakMap,ZR=new WeakMap,JR={},q3=0,HJ=function(e){return e&&(e.host||HJ(e.parentNode))},W0e=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=HJ(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},q0e=function(e,t,n,r){var s=W0e(t,Array.isArray(e)?e:[e]);JR[n]||(JR[n]=new WeakMap);var i=JR[n],o=[],a=new Set,c=new Set(s),d=function(u){!u||a.has(u)||(a.add(u),d(u.parentNode))};s.forEach(d);var h=function(u){!u||c.has(u)||Array.prototype.forEach.call(u.children,function(f){if(a.has(f))h(f);else try{var g=f.getAttribute(r),v=g!==null&&g!=="false",m=(ky.get(f)||0)+1,x=(i.get(f)||0)+1;ky.set(f,m),i.set(f,x),o.push(f),m===1&&v&&ZR.set(f,!0),x===1&&f.setAttribute(n,"true"),v||f.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",f,y)}})};return h(t),a.clear(),q3++,function(){o.forEach(function(u){var f=ky.get(u)-1,g=i.get(u)-1;ky.set(u,f),i.set(u,g),f||(ZR.has(u)||u.removeAttribute(r),ZR.delete(u)),g||u.removeAttribute(n)
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return C.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},exe="DialogDescriptionWarning",txe=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${oee(exe).contentName}}.`;return C.useEffect(()=>{var i;const s=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},XH=GJ,QH=YJ,ZH=QJ,LA=ZJ,jA=JJ,$A=tee,FA=KH,zA=see,aee="AlertDialog",[nxe,r7e]=_r(aee,[qJ]),Wf=qJ(),lee=e=>{const{__scopeAlertDialog:t,...n}=e,r=Wf(t);return _.jsx(XH,{...r,...n,modal:!0})};lee.displayName=aee;var rxe="AlertDialogTrigger",cee=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,s=Wf(n);return _.jsx(QH,{...s,...r,ref:t})});cee.displayName=rxe;var sxe="AlertDialogPortal",uee=e=>{const{__scopeAlertDialog:t,...n}=e,r=Wf(t);return _.jsx(ZH,{...r,...n})};uee.displayName=sxe;var ixe="AlertDialogOverlay",dee=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,s=Wf(n);return _.jsx(LA,{...s,...r,ref:t})});dee.displayName=ixe;var kb="AlertDialogContent",[oxe,axe]=nxe(kb),fee=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...s}=e,i=Wf(n),o=C.useRef(null),a=_t(t,o),c=C.useRef(null);return _.jsx(Z0e,{contentName:kb,titleName:hee,docsSlug:"alert-dialog",children:_.jsx(oxe,{scope:n,cancelRef:c,children:_.jsxs(jA,{role:"alertdialog",...i,...s,ref:a,onOpenAutoFocus:Ae(s.onOpenAutoFocus,d=>{var h;d.preventDefault(),(h=c.current)==null||h.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault(),children:[_.jsx(CH,{children:r}),_.jsx(cxe,{contentRef:o})]})})})});fee.displayName=kb;var hee="AlertDialogTitle",pee=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,s=Wf(n);return _.jsx($A,{...s,...r,ref:t})});pee.displayName=hee;var mee="AlertDialogDescription",gee=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,s=Wf(n);return _.jsx(FA,{...s,...r,ref:t})});gee.displayName=mee;var lxe="AlertDialogAction",vee=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,s=Wf(n);return _.jsx(zA,{...s,...r,ref:t})});vee.displayName=lxe;var yee="AlertDialogCancel",bee=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:s}=axe(yee,n),i=Wf(n),o=_t(t,s);return _.jsx(zA,{...i,...r,ref:o})});bee.displayName=yee;var cxe=({contentRef:e})=>{const t=`\`${kb}\` requires a description for the component to be accessible for screen reader users.
You can add a description to the \`${kb}\` by passing a \`${mee}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${kb}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return C.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},uxe=lee,dxe=cee,fxe=uee,xee=dee,_ee=fee,wee=vee,See=bee,Cee=pee,Eee=gee;const yC=Io("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),at=C.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},i)=>{const o=r?Cc:"button";return _.jsx(o,{className:ge(yC({variant:t,size:n,className:e})),ref:i,...s})});at.displayName="Button";const JH=uxe,hxe=dxe,pxe=fxe,Aee=C.forwardRef(({className:e,...t},n)=>_.jsx(xee,{className:ge("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));Aee.displayName=xee.displayName;const pD=C.forwardRef(({className:e,...t},n)=>_.jsxs(pxe,{children:[_.jsx(Aee,{}),_.jsx(_ee,{ref:n,className:ge("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...t})]}));pD.displayName=_ee.displayName;const mD=({className:e,...t})=>_.jsx("div",{className:ge("flex flex-col space-y-2 text-center sm:text-left",e),...t});mD.displayName="AlertDialogHeader";const gD=({className:e,...t})=>_.jsx("div",{className:ge("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});gD.displayName="AlertDialogFooter";const vD=C.forwardRef(({className:e,...t},n)=>_.jsx(Cee,{ref:n,className:ge("text-lg font-semibold",e),...t}));vD.displayName=Cee.displayName;const yD=C.forwardRef(({className:e,...t},n)=>_.jsx(Eee,{ref:n,className:ge("text-sm text-muted-foreground",e),...t}));yD.displayName=Eee.displayName;const bD=C.forwardRef(({className:e,...t},n)=>_.jsx(wee,{ref:n,className:ge(yC(),e),...t}));bD.displayName=wee.displayName;const xD=C.forwardRef(({className:e,...t},n)=>_.jsx(See,{ref:n,className:ge(yC({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));xD.displayName=See.displayName;const mxe=({textAreaRef:e,triggerAutoSize:t,maxHeight:n=Number.MAX_SAFE_INTEGER,minHeight:r=0})=>{const[s,i]=C.useState(!0);C.useEffect(()=>{if(e){s&&(e.style.minHeight=`${r+2}px`,n>r&&(e.style.maxHeight=`${n}px`),i(!1)),e.style.height=`${r+2}px`;const a=e.scrollHeight;a>n?e.style.height=`${n}px`:e.style.height=`${a+2}px`}},[e,t,s,n,r])},Ree=C.forwardRef(({maxHeight:e=Number.MAX_SAFE_INTEGER,minHeight:t=52,className:n,onChange:r,value:s,...i},o)=>{const a=C.useRef(null),[c,d]=C.useState("");return mxe({textAreaRef:a.current,triggerAutoSize:c,maxHeight:e,minHeight:t}),C.useImperativeHandle(o,()=>({textArea:a.current,focus:()=>{var h;return(h=a.current)==null?void 0:h.focus()},maxHeight:e,minHeight:t})),C.useEffect(()=>{(s||i!=null&&i.defaultValue)&&d(s)},[s||(i==null?void 0:i.defaultValue)]),_.jsx("textarea",{...i,value:s,ref:a,className:ge
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var g6=Symbol.for("react.element"),v6=Symbol.for("react.portal"),ND=Symbol.for("react.fragment"),TD=Symbol.for("react.strict_mode"),kD=Symbol.for("react.profiler"),DD=Symbol.for("react.provider"),OD=Symbol.for("react.context"),GEe=Symbol.for("react.server_context"),MD=Symbol.for("react.forward_ref"),ID=Symbol.for("react.suspense"),LD=Symbol.for("react.suspense_list"),jD=Symbol.for("react.memo"),$D=Symbol.for("react.lazy"),KEe=Symbol.for("react.offscreen"),lte;lte=Symbol.for("react.module.reference");function Rl(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case g6:switch(e=e.type,e){case ND:case kD:case TD:case ID:case LD:return e;default:switch(e=e&&e.$$typeof,e){case GEe:case OD:case MD:case $D:case jD:case DD:return e;default:return t}}case v6:return t}}}ur.ContextConsumer=OD;ur.ContextProvider=DD;ur.Element=g6;ur.ForwardRef=MD;ur.Fragment=ND;ur.Lazy=$D;ur.Memo=jD;ur.Portal=v6;ur.Profiler=kD;ur.StrictMode=TD;ur.Suspense=ID;ur.SuspenseList=LD;ur.isAsyncMode=function(){return!1};ur.isConcurrentMode=function(){return!1};ur.isContextConsumer=function(e){return Rl(e)===OD};ur.isContextProvider=function(e){return Rl(e)===DD};ur.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===g6};ur.isForwardRef=function(e){return Rl(e)===MD};ur.isFragment=function(e){return Rl(e)===ND};ur.isLazy=function(e){return Rl(e)===$D};ur.isMemo=function(e){return Rl(e)===jD};ur.isPortal=function(e){return Rl(e)===v6};ur.isProfiler=function(e){return Rl(e)===kD};ur.isStrictMode=function(e){return Rl(e)===TD};ur.isSuspense=function(e){return Rl(e)===ID};ur.isSuspenseList=function(e){return Rl(e)===LD};ur.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ND||e===kD||e===TD||e===ID||e===LD||e===KEe||typeof e=="object"&&e!==null&&(e.$$typeof===$D||e.$$typeof===jD||e.$$typeof===DD||e.$$typeof===OD||e.$$typeof===MD||e.$$typeof===lte||e.getModuleId!==void 0)};ur.typeOf=Rl;var eP=function(t){return qEe(t)&&t.indexOf("%")===t.length-1},YEe=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},t4=function(t,n){for(var r=arguments.length,s=new Array(r>2?r-2:0),i=2;i<r;i++)s[i-2]=arguments[i]},XEe=CD,QEe=function(){return XEe.Date.now()},ZEe=QEe,JEe=/\s/;function eAe(e){for(var t=e.length;t--&&JEe.test(e.charAt(t)););return t}var tAe=eAe,nAe=tAe,rAe=/^\s+/;function sAe(e){return e&&e.slice(0,nAe(e)+1).replace(rAe,"")}var iAe=sAe,oAe=iAe,u9=Mx,aAe=ED,d9=NaN,lAe=/^[-+]0x[0-9a-f]+$/i,cAe=/^0b[01]+$/i,uAe=/^0o[0-7]+$/i,dAe=parseInt;function fAe(e){if(typeof e=="number")return e;if(aAe(e))return d9;if(u9(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=u9(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=oAe(e);var n=cAe.test(e);return n||uAe.test(e)?dAe(e.slice(2),n?2:8):lAe.test(e)?d9:+e}var hAe=fAe,pAe=Mx,n4=ZEe,f9=hAe,mAe="Expected a function",gAe=Math.max,vAe=Math.min;function yAe(e,t,n){var r,s,i,o,a,c,d=0,h=!1,u=!1,f=!0;if(typeof e!="function")throw new TypeError(mAe);t=f9(t)||0,pAe(n)&&(h=!!n.leading,u="maxWait"in n,i=u?gAe(f9(n.maxWait)||0,t):i,f="trailing"in n?!!n.trailing:f);function g(T){var N=r,A=s;return r=s=void 0,d=T,o=e.apply(A,N),o}function v(T){return d=T,a=setTimeout(y,t),h?g(T):o}function m(T){var N=T-c,A=T-d,D=t-N;return u?vAe(D,i-A):D}function x(T){var N=T-c,A=T-d;return c===void 0||N>=t||N<0||u&&A>=i}function y(){var T=n4();if(x(T))return b(T);a=setTimeout(y,m(T))}function b(T){return a=void 0,f&&r?g(T):(r=s=void 0,o)}function w(){a!==void 0&&clearTimeout(a),d=0,r=c=s=a=void 0}function E(){return a===void 0?o:b(n4())}function R(){var T=n4(),N=x(T);if(r=arguments,s=this,c=T,N){if(a===void 0)return v(c);if(u)return clearTimeout(a),a=setTimeout(y,t),g(c)}return a===void 0&&(a=setTimeout(y,t)),o}return R.cancel=w,R.flush=E,R}var bAe=yAe,xAe=bAe,_Ae=Mx,wAe="Expected a function";function SAe(e,t,n){var r=!0,s=!0;if(typeof e!="function")throw new TypeError(wAe);return _Ae(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),xAe(e,t,{leading:r,maxWait:t,trailing:s})}var CAe=SAe;const EAe=Al(CAe);function xC(e){"@babel/helper
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kAe(e,t){if(e){if(typeof e=="string")return p9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p9(e,t)}}function p9(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function DAe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,s,i,o,a=[],c=!0,d=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(h){d=!0,s=h}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(d)throw s}}return a}}function OAe(e){if(Array.isArray(e))return e}var MAe=C.forwardRef(function(e,t){var n=e.aspect,r=e.initialDimension,s=r===void 0?{width:-1,height:-1}:r,i=e.width,o=i===void 0?"100%":i,a=e.height,c=a===void 0?"100%":a,d=e.minWidth,h=d===void 0?0:d,u=e.minHeight,f=e.maxHeight,g=e.children,v=e.debounce,m=v===void 0?0:v,x=e.id,y=e.className,b=e.onResize,w=e.style,E=w===void 0?{}:w,R=C.useRef(null),T=C.useRef();T.current=b,C.useImperativeHandle(t,function(){return Object.defineProperty(R.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),R.current},configurable:!0})});var N=C.useState({containerWidth:s.width,containerHeight:s.height}),A=NAe(N,2),D=A[0],O=A[1],I=C.useCallback(function(F,B){O(function(W){var Z=Math.round(F),Y=Math.round(B);return W.containerWidth===Z&&W.containerHeight===Y?W:{containerWidth:Z,containerHeight:Y}})},[]);C.useEffect(function(){var F=function(se){var he,re=se[0].contentRect,J=re.width,te=re.height;I(J,te),(he=T.current)===null||he===void 0||he.call(T,J,te)};m>0&&(F=EAe(F,m,{trailing:!0,leading:!1}));var B=new ResizeObserver(F),W=R.current.getBoundingClientRect(),Z=W.width,Y=W.height;return I(Z,Y),B.observe(R.current),function(){B.disconnect()}},[I,m]);var $=C.useMemo(function(){var F=D.containerWidth,B=D.containerHeight;if(F<0||B<0)return null;t4(eP(o)||eP(c),`The width(%s) and height(%s) are both fixed numbers,
maybe you don't need to use a ResponsiveContainer.`,o,c),t4(!n||n>0,"The aspect(%s) must be greater than zero.",n);var W=eP(o)?F:o,Z=eP(c)?B:c;n&&n>0&&(W?Z=W/n:Z&&(W=Z*n),f&&Z>f&&(Z=f)),t4(W>0||Z>0,`The width(%s) and height(%s) of chart should be greater than 0,
please check the style of container, or the props width(%s) and height(%s),
or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
height and width.`,W,Z,o,c,h,u,n);var Y=!Array.isArray(g)&&YEe(g.type).endsWith("Chart");return fe.Children.map(g,function(H){return fe.isValidElement(H)?C.cloneElement(H,tP({width:W,height:Z},Y?{style:tP({height:"100%",width:"100%",maxHeight:Z,maxWidth:W},H.props.style)}:{})):H})},[n,g,c,f,u,h,D,o]);return fe.createElement("div",{id:x?"".concat(x):void 0,className:oy("recharts-responsive-container",y),style:tP(tP({},E),{},{width:o,height:c,minWidth:h,minHeight:u,maxHeight:f}),ref:R},$)}),IAe="Invariant failed";function yr(e,t){if(!e)throw new Error(IAe)}function UB(){return UB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UB.apply(null,arguments)}const LAe={light:"",dark:".dark"},cte=C.createContext(null);function ute(){const e=C.useContext(cte);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}const jAe=C.forwardRef(({id:e,className:t,children:n,config:r,...s},i)=>{const o=C.useId(),a=`chart-${e||o.replace(/:/g,"")}`;return _.jsx(cte.Provider,{value:{config:r},children:_.jsxs("div",{"data-chart":a,ref:i,className:ge("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",t),...s,children:[_.jsx($Ae,{id:a,config:r}),_.jsx(MAe,{children:n})]})})});jAe.displayName="Chart";const $Ae=({id:e,config:t})=>{const n=Object.entries(t).filter(([r,s])=>s.theme||s.color);return n.length?_.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(LAe).map(([r,s])=>`
${s} [data-chart=${e}] {
${n.map(([i,o])=>{var c;const a=((c=o.theme)==null?void 0:c[r])||o.color;return a?` --color-${i}: ${a};`:null}).join(`
`)}
}
`).join(`
`)}}):null},FAe=C.forwardRef(({active:e,payload:t,className:n,indicator:r="dot",hideLabel:s=!1,hideIndicator:i=!1,label:o,labelFormatter:a,labelClassName:c,formatter:d,color:h,nameKey:u,labelKey:f},g)=>{const{config:v}=ute(),m=C.useMemo(()=>{var R;if(s||!(t!=null&&t.length))return null;const[y]=t,b=`${f||y.dataKey||y.name||"value"}`,w=VB(v,y,b),E=!f&&typeof o=="string"?((R=v[o])==null?void 0:R.label)||o:w==null?void 0:w.label;return a?_.jsx("div",{className:ge("font-medium",c),children:a(E,t)}):E?_.jsx("div",{className:ge("font-medium",c),children:E}):null},[o,a,t,s,c,v,f]);if(!e||!(t!=null&&t.length))return null;const x=t.length===1&&r!=="dot";return _.jsxs("div",{ref:g,className:ge("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",n),children:[x?null:m,_.jsx("div",{className:"grid gap-1.5",children:t.map((y,b)=>{const w=`${u||y.name||y.dataKey||"value"}`,E=VB(v,y,w),R=h||y.payload.fill||y.color;return _.jsx("div",{className:ge("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",r==="dot"&&"items-center"),children:d&&(y==null?void 0:y.value)!==void 0&&y.name?d(y.value,y.name,y,b,y.payload):_.jsxs(_.Fragment,{children:[E!=null&&E.icon?_.jsx(E.icon,{}):!i&&_.jsx("div",{className:ge("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":r==="dot","w-1":r==="line","w-0 border-[1.5px] border-dashed bg-transparent":r==="dashed","my-0.5":x&&r==="dashed"}),style:{"--color-bg":R,"--color-border":R}}),_.jsxs("div",{className:ge("flex flex-1 justify-between leading-none",x?"items-end":"items-center"),children:[_.jsxs("div",{className:"grid gap-1.5",children:[x?m:null,_.jsx("span",{className:"text-muted-foreground",children:(E==null?void 0:E.label)||y.name})]}),y.value&&_.jsx("span",{className:"font-mono font-medium tabular-nums text-foreground",children:y.value.toLocaleString()})]})]})},y.dataKey)})})]})});FAe.displayName="ChartTooltip";const zAe=C.forwardRef(({className:e,hideIcon:t=!1,payload:n,verticalAlign:r="bottom",nameKey:s},i)=>{const{config:o}=ute();return n!=null&&n.length?_.jsx("div",{ref:i,className:ge("flex items-center justify-center gap-4",r==="top"?"pb-3":"pt-3",e),children:n.map(a=>{const c=`${s||a.dataKey||"value"}`,d=VB(o,a,c);return _.jsxs("div",{className:ge("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[d!=null&&d.icon&&!t?_.jsx(d.icon,{}):_.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:a.color}}),d==null?void 0:d.label]},a.value)})}):null});zAe.displayName="ChartLegend";function VB(e,t,n){if(typeof t!="object"||t===null)return;const r="payload"in t&&typeof t.payload=="object"&&t.payload!==null?t.payload:void 0;let s=n;return n in t&&typeof t[n]=="string"?s=t[n]:r&&n in r&&typeof r[n]=="string"&&(s=r[n]),s in e?e[s]:e[n]}function $x(e){const t=C.useRef({value:e,previous:e});return C.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function WA(e){const[t,n]=C.useState(void 0);return Rr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let o,a;if("borderBoxSize"in i){const c=i.borderBoxSize,d=Array.isArray(c)?c[0]:c;o=d.inlineSize,a=d.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var y6="Checkbox",[BAe,i7e]=_r(y6),[UAe,VAe]=BAe(y6),dte=C.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:s,defaultChecked:i,required:o,disabled:a,value:c="on",onCheckedChange:d,...h}=e,[u,f]=C.useState(null),g=_t(t,w=>f(w)),v=C.useRef(!1),m=u?!!u.closest("form"):!0,[x=!1,y]=os({prop:s,defaultProp:i,onChange:d}),b=C.useRef(x);return C.useEffect(()=>{const w=u==null?void 0:u.form;if(w){const E=()=>y(b.current);return w.addEventListener("reset",E),()=>w.removeEventListener("reset",E)}},[u,y]),_.jsxs(UAe,{scope:n,state:x,disabled:a,children:[_.jsx(He
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},VRe=0,My=[];function HRe(e){var t=C.useRef([]),n=C.useRef([0,0]),r=C.useRef(),s=C.useState(VRe++)[0],i=C.useState(hD)[0],o=C.useRef(e);C.useEffect(function(){o.current=e},[e]),C.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var m=zH([e.lockRef.current],(e.shards||[]).map(R9),!0).filter(Boolean);return m.forEach(function(x){return x.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),m.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var a=C.useCallback(function(m,x){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!o.current.allowPinchZoom;var y=sP(m),b=n.current,w="deltaX"in m?m.deltaX:b[0]-y[0],E="deltaY"in m?m.deltaY:b[1]-y[1],R,T=m.target,N=Math.abs(w)>Math.abs(E)?"h":"v";if("touches"in m&&N==="h"&&T.type==="range")return!1;var A=E9(N,T);if(!A)return!0;if(A?R=N:(R=N==="v"?"h":"v",A=E9(N,T)),!A)return!1;if(!r.current&&"changedTouches"in m&&(w||E)&&(r.current=R),!R)return!0;var D=r.current||R;return zRe(D,x,m,D==="h"?w:E)},[]),c=C.useCallback(function(m){var x=m;if(!(!My.length||My[My.length-1]!==i)){var y="deltaY"in x?A9(x):sP(x),b=t.current.filter(function(R){return R.name===x.type&&(R.target===x.target||x.target===R.shadowParent)&&BRe(R.delta,y)})[0];if(b&&b.should){x.cancelable&&x.preventDefault();return}if(!b){var w=(o.current.shards||[]).map(R9).filter(Boolean).filter(function(R){return R.contains(x.target)}),E=w.length>0?a(x,w[0]):!o.current.noIsolation;E&&x.cancelable&&x.preventDefault()}}},[]),d=C.useCallback(function(m,x,y,b){var w={name:m,delta:x,target:y,should:b,shadowParent:WRe(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(E){return E!==w})},1)},[]),h=C.useCallback(function(m){n.current=sP(m),r.current=void 0},[]),u=C.useCallback(function(m){d(m.type,A9(m),m.target,a(m,e.lockRef.current))},[]),f=C.useCallback(function(m){d(m.type,sP(m),m.target,a(m,e.lockRef.current))},[]);C.useEffect(function(){return My.push(i),e.setCallbacks({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:f}),document.addEventListener("wheel",c,Oy),document.addEventListener("touchmove",c,Oy),document.addEventListener("touchstart",h,Oy),function(){My=My.filter(function(m){return m!==i}),document.removeEventListener("wheel",c,Oy),document.removeEventListener("touchmove",c,Oy),document.removeEventListener("touchstart",h,Oy)}},[]);var g=e.removeScrollBar,v=e.inert;return C.createElement(C.Fragment,null,v?C.createElement(i,{styles:URe(s)}):null,g?C.createElement(HH,{gapMode:e.gapMode}):null)}function WRe(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const qRe=VH(Ste,HRe);var Rte=C.forwardRef(function(e,t){return C.createElement(zD,fs({},e,{ref:t,sideCar:qRe}))});Rte.classNames=zD.classNames;var x6="Dialog",[Pte,o7e]=nRe(x6),[GRe,Oc]=Pte(x6),Nte=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:o=!0}=e,a=C.useRef(null),c=C.useRef(null),[d=!1,h]=oRe({prop:r,defaultProp:s,onChange:i});return _.jsx(GRe,{scope:t,triggerRef:a,contentRef:c,contentId:Cf(),titleId:Cf(),descriptionId:Cf(),open:d,onOpenChange:h,onOpenToggle:C.useCallback(()=>h(u=>!u),[h]),modal:o,children:n})};Nte.displayName=x6;var Tte="DialogTrigger",KRe=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Oc(Tte,n),i=ly(t,s.triggerRef);return _.jsx(zi.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":S6(s.open),...r,ref:i,onClick:lp(e.onClick,s.onOpenToggle)})});KRe.displayName=Tte;var _6="DialogPortal",[YRe,kte]=Pte(_6,{forceMount:void 0}),Dte=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,i=Oc(_6,t);return _.jsx(YRe,{scope:t,forceMount:n,children:C.Children.map(r,o=>_.jsx(FD,{present:n||i.open,children:_.jsx(wte,{asChild:!0,container:s,children:o})}))})};Dte.displayName=_6;var yT="DialogOverlay",Ote=C.forwardRef((e,t)=>{const n=kte(yT,e.__scopeDialog),{forceMou
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return C.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},rPe="DialogDescriptionWarning",sPe=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Fte(rPe).contentName}}.`;return C.useEffect(()=>{var i;const s=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},iPe=Nte,oPe=Dte,aPe=Ote,lPe=Mte,$S='[cmdk-group=""]',c4='[cmdk-group-items=""]',cPe='[cmdk-group-heading=""]',zte='[cmdk-item=""]',P9=`${zte}:not([aria-disabled="true"])`,KB="cmdk-item-select",Ky="data-value",uPe=(e,t,n)=>eRe(e,t,n),Bte=C.createContext(void 0),qA=()=>C.useContext(Bte),Ute=C.createContext(void 0),C6=()=>C.useContext(Ute),Vte=C.createContext(void 0),Hte=C.forwardRef((e,t)=>{let n=Yy(()=>{var J,te;return{search:"",value:(te=(J=e.value)!=null?J:e.defaultValue)!=null?te:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=Yy(()=>new Set),s=Yy(()=>new Map),i=Yy(()=>new Map),o=Yy(()=>new Set),a=Wte(e),{label:c,children:d,value:h,onValueChange:u,filter:f,shouldFilter:g,loop:v,disablePointerSelection:m=!1,vimBindings:x=!0,...y}=e,b=Cf(),w=Cf(),E=Cf(),R=C.useRef(null),T=_Pe();Vv(()=>{if(h!==void 0){let J=h.trim();n.current.value=J,N.emit()}},[h]),Vv(()=>{T(6,F)},[]);let N=C.useMemo(()=>({subscribe:J=>(o.current.add(J),()=>o.current.delete(J)),snapshot:()=>n.current,setState:(J,te,ae)=>{var be,xe,ve,Pe;if(!Object.is(n.current[J],te)){if(n.current[J]=te,J==="search")$(),O(),T(1,I);else if(J==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let Oe=document.getElementById(E);Oe?Oe.focus():(be=document.getElementById(b))==null||be.focus()}if(T(7,()=>{var Oe;n.current.selectedItemId=(Oe=B())==null?void 0:Oe.id,N.emit()}),ae||T(5,F),((xe=a.current)==null?void 0:xe.value)!==void 0){let Oe=te??"";(Pe=(ve=a.current).onValueChange)==null||Pe.call(ve,Oe);return}}N.emit()}},emit:()=>{o.current.forEach(J=>J())}}),[]),A=C.useMemo(()=>({value:(J,te,ae)=>{var be;te!==((be=i.current.get(J))==null?void 0:be.value)&&(i.current.set(J,{value:te,keywords:ae}),n.current.filtered.items.set(J,D(te,ae)),T(2,()=>{O(),N.emit()}))},item:(J,te)=>(r.current.add(J),te&&(s.current.has(te)?s.current.get(te).add(J):s.current.set(te,new Set([J]))),T(3,()=>{$(),O(),n.current.value||I(),N.emit()}),()=>{i.current.delete(J),r.current.delete(J),n.current.filtered.items.delete(J);let ae=B();T(4,()=>{$(),(ae==null?void 0:ae.getAttribute("id"))===J&&I(),N.emit()})}),group:J=>(s.current.has(J)||s.current.set(J,new Set),()=>{i.current.delete(J),s.current.delete(J)}),filter:()=>a.current.shouldFilter,label:c||e["aria-label"],getDisablePointerSelection:()=>a.current.disablePointerSelection,listId:b,inputId:E,labelId:w,listInnerRef:R}),[]);function D(J,te){var ae,be;let xe=(be=(ae=a.current)==null?void 0:ae.filter)!=null?be:uPe;return J?xe(J,n.current.search,te):0}function O(){if(!n.current.search||a.current.shouldFilter===!1)return;let J=n.current.filtered.items,te=[];n.current.filtered.groups.forEach(be=>{let xe=s.current.get(be),ve=0;xe.forEach(Pe=>{let Oe=J.get(Pe);ve=Math.max(Oe,ve)}),te.push([be,ve])});let ae=R.current;W().sort((be,xe)=>{var ve,Pe;let Oe=be.getAttribute("id"),ke=xe.getAttribute("id");return((ve=J.get(ke))!=null?ve:0)-((Pe=J.get(Oe))!=null?Pe:0)}).forEach(be=>{let xe=be.closest(c4);xe?xe.appendChild(be.parentElement===xe?be:be.closest(`${c4} > *`)):ae.appendChild(be.parentElement===ae?be:be.closest(`${c4} > *`))}),te.sort((be,xe)=>xe[1]-be[1]).forEach(be=>{var xe;let ve=(xe=R.current)==null?void 0:xe.querySelector(`${$S}[${Ky}="${encodeURIComponent(be[0])}"]`);ve==null||ve.parentElement.appendChild(ve)})}function I(){let J=W().find(ae=>ae.getAttribute("aria-disabled")!=="true"),te=J==null?void 0:J.getAttribute(Ky);N.setState("value",te||void 0)}function $(){var J,te,ae,be;if(!n.current.search||a.current.shouldFilter===!1){n.current.filte
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},Tke=0,Ly=[];function kke(e){var t=C.useRef([]),n=C.useRef([0,0]),r=C.useRef(),s=C.useState(Tke++)[0],i=C.useState(hD)[0],o=C.useRef(e);C.useEffect(function(){o.current=e},[e]),C.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var m=zH([e.lockRef.current],(e.shards||[]).map(Y9),!0).filter(Boolean);return m.forEach(function(x){return x.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),m.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var a=C.useCallback(function(m,x){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!o.current.allowPinchZoom;var y=cP(m),b=n.current,w="deltaX"in m?m.deltaX:b[0]-y[0],E="deltaY"in m?m.deltaY:b[1]-y[1],R,T=m.target,N=Math.abs(w)>Math.abs(E)?"h":"v";if("touches"in m&&N==="h"&&T.type==="range")return!1;var A=G9(N,T);if(!A)return!0;if(A?R=N:(R=N==="v"?"h":"v",A=G9(N,T)),!A)return!1;if(!r.current&&"changedTouches"in m&&(w||E)&&(r.current=R),!R)return!0;var D=r.current||R;return Rke(D,x,m,D==="h"?w:E)},[]),c=C.useCallback(function(m){var x=m;if(!(!Ly.length||Ly[Ly.length-1]!==i)){var y="deltaY"in x?K9(x):cP(x),b=t.current.filter(function(R){return R.name===x.type&&(R.target===x.target||x.target===R.shadowParent)&&Pke(R.delta,y)})[0];if(b&&b.should){x.cancelable&&x.preventDefault();return}if(!b){var w=(o.current.shards||[]).map(Y9).filter(Boolean).filter(function(R){return R.contains(x.target)}),E=w.length>0?a(x,w[0]):!o.current.noIsolation;E&&x.cancelable&&x.preventDefault()}}},[]),d=C.useCallback(function(m,x,y,b){var w={name:m,delta:x,target:y,should:b,shadowParent:Dke(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(E){return E!==w})},1)},[]),h=C.useCallback(function(m){n.current=cP(m),r.current=void 0},[]),u=C.useCallback(function(m){d(m.type,K9(m),m.target,a(m,e.lockRef.current))},[]),f=C.useCallback(function(m){d(m.type,cP(m),m.target,a(m,e.lockRef.current))},[]);C.useEffect(function(){return Ly.push(i),e.setCallbacks({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:f}),document.addEventListener("wheel",c,Iy),document.addEventListener("touchmove",c,Iy),document.addEventListener("touchstart",h,Iy),function(){Ly=Ly.filter(function(m){return m!==i}),document.removeEventListener("wheel",c,Iy),document.removeEventListener("touchmove",c,Iy),document.removeEventListener("touchstart",h,Iy)}},[]);var g=e.removeScrollBar,v=e.inert;return C.createElement(C.Fragment,null,v?C.createElement(i,{styles:Nke(s)}):null,g?C.createElement(HH,{gapMode:e.gapMode}):null)}function Dke(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Oke=VH(gre,kke);var xre=C.forwardRef(function(e,t){return C.createElement(YD,fs({},e,{ref:t,sideCar:Oke}))});xre.classNames=YD.classNames;var n8="Dialog",[_re,d7e]=KTe(n8),[Mke,Mc]=_re(n8),wre=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:o=!0}=e,a=C.useRef(null),c=C.useRef(null),[d=!1,h]=os({prop:r,defaultProp:s,onChange:i});return _.jsx(Mke,{scope:t,triggerRef:a,contentRef:c,contentId:si(),titleId:si(),descriptionId:si(),open:d,onOpenChange:h,onOpenToggle:C.useCallback(()=>h(u=>!u),[h]),modal:o,children:n})};wre.displayName=n8;var Sre="DialogTrigger",Ike=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Mc(Sre,n),i=my(t,s.triggerRef);return _.jsx(Gf.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":i8(s.open),...r,ref:i,onClick:cp(e.onClick,s.onOpenToggle)})});Ike.displayName=Sre;var r8="DialogPortal",[Lke,Cre]=_re(r8,{forceMount:void 0}),Ere=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,i=Mc(r8,t);return _.jsx(Lke,{scope:t,forceMount:n,children:C.Children.map(r,o=>_.jsx(KD,{present:n||i.open,children:_.jsx(mre,{asChild:!0,container:s,children:o})}))})};Ere.displayName=r8;var AT="DialogOverlay",Are=C.forwardRef((e,t)=>{const n=Cre(AT,e.__scopeDialog),{forceMoun
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return C.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Bke="DialogDescriptionWarning",Uke=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Ire(Bke).contentName}}.`;return C.useEffect(()=>{var i;const s=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Vke=wre,Hke=Ere,Wke=Are,qke=Rre,Gke=Nre,Kke=kre,Yke=Ore;function Xke(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const Lre=fe.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),nR=()=>{const e=fe.useContext(Lre);if(!e)throw new Error("useDrawerContext must be used within a Drawer.Root");return e};Xke(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,100%,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,-100%,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(-100%,0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(100%,0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transi
[data-state=closed]
){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,100%,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,100%,0)}}@keyframes slideFromTop{from{transform:translate3d(0,-100%,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,-100%,0)}}@keyframes slideFromLeft{from{transform:translate3d(-100%,0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(-100%,0,0)}}@keyframes slideFromRight{from{transform:translate3d(100%,0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(100%,0,0)}}`);const Qke=24,Zke=typeof window<"u"?C.useLayoutEffect:C.useEffect;function X9(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}function Jke(){return o8(/^Mac/)}function eDe(){return o8(/^iPhone/)}function Q9(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function tDe(){return o8(/^iPad/)||Jke()&&navigator.maxTouchPoints>1}function jre(){return eDe()||tDe()}function o8(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.platform):void 0}const g4=typeof document<"u"&&window.visualViewport;function Z9(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function $re(e){for(Z9(e)&&(e=e.parentElement);e&&!Z9(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}const nDe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let uP=0,v4;function rDe(e={}){let{isDisabled:t}=e;Zke(()=>{if(!t)return uP++,uP===1&&jre()&&(v4=sDe()),()=>{uP--,uP===0&&(v4==null||v4())}},[t])}function sDe(){let e,t=0,n=u=>{e=$re(u.target),!(e===document.documentElement&&e===document.body)&&(t=u.changedTouches[0].pageY)},r=u=>{if(!e||e===document.documentElement||e===document.body){u.preventDefault();return}let f=u.changedTouches[0].pageY,g=e.scrollTop,v=e.scrollHeight-e.clientHeight;v!==0&&((g<=0&&f>t||g>=v&&f<t)&&u.preventDefault(),t=f)},s=u=>{let f=u.target;nU(f)&&f!==document.activeElement&&(u.preventDefault(),f.style.transform="translateY(-2000px)",f.focus(),requestAnimationFrame(()=>{f.style.transform=""}))},i=u=>{let f=u.target;nU(f)&&(f.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{f.style.transform="",g4&&(g4.height<window.innerHeight?requestAnimationFrame(()=>{J9(f)}):g4.addEventListener("resize",()=>J9(f),{once:!0}))}))},o=()=>{window.scrollTo(0,0)},a=window.pageXOffset,c=window.pageYOffset,d=X9(iDe(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let h=X9(FS(document,"touchstart",n,{passive:!1,capture:!0}),FS(document,"touchmove",r,{passive:!1,capture:!0}),FS(document,"touchend",s,{passive:!1,capture:!0}),FS(document,"focus",i,!0),FS(window,"scroll",o));return()=>{d(),h(),window.scrollTo(a,c)}}function iDe(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function FS(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function J9(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let n=$re(e);if(n!==document.documentElement&&n!==document.body&&n!==e){let r=n.getBoundingClientRect().top,s=e.getBoundingClientRect().top,i=e.getBoundingClientRect().bottom;const o=n.getBoundingClientRect().bottom+Qke;i>o&&(n.scr
- a positive number
- less than the value passed to \`max\` (or ${N8} if no \`max\` prop is set)
- \`null\` or \`undefined\` if the progress is indeterminate.
Defaulting to \`null\`.`}var hoe=coe,rIe=doe;const T8=C.forwardRef(({className:e,value:t,...n},r)=>_.jsx(hoe,{ref:r,className:ge("relative h-4 w-full overflow-hidden rounded-full bg-secondary",e),...n,children:_.jsx(rIe,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));T8.displayName=hoe.displayName;var k8="Radio",[sIe,poe]=_r(k8),[iIe,oIe]=sIe(k8),moe=C.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:s=!1,required:i,disabled:o,value:a="on",onCheck:c,...d}=e,[h,u]=C.useState(null),f=_t(t,m=>u(m)),g=C.useRef(!1),v=h?!!h.closest("form"):!0;return _.jsxs(iIe,{scope:n,checked:s,disabled:o,children:[_.jsx(He.button,{type:"button",role:"radio","aria-checked":s,"data-state":yoe(s),"data-disabled":o?"":void 0,disabled:o,value:a,...d,ref:f,onClick:Ae(e.onClick,m=>{s||c==null||c(),v&&(g.current=m.isPropagationStopped(),g.current||m.stopPropagation())})}),v&&_.jsx(aIe,{control:h,bubbles:!g.current,name:r,value:a,checked:s,required:i,disabled:o,style:{transform:"translateX(-100%)"}})]})});moe.displayName=k8;var goe="RadioIndicator",voe=C.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...s}=e,i=oIe(goe,n);return _.jsx(Vr,{present:r||i.checked,children:_.jsx(He.span,{"data-state":yoe(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:t})})});voe.displayName=goe;var aIe=e=>{const{control:t,checked:n,bubbles:r=!0,...s}=e,i=C.useRef(null),o=$x(n),a=WA(t);return C.useEffect(()=>{const c=i.current,d=window.HTMLInputElement.prototype,u=Object.getOwnPropertyDescriptor(d,"checked").set;if(o!==n&&u){const f=new Event("click",{bubbles:r});u.call(c,n),c.dispatchEvent(f)}},[o,n,r]),_.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:n,...s,tabIndex:-1,ref:i,style:{...e.style,...a,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function yoe(e){return e?"checked":"unchecked"}var lIe=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],D8="RadioGroup",[cIe,w7e]=_r(D8,[Lu,poe]),boe=Lu(),xoe=poe(),[uIe,dIe]=cIe(D8),_oe=C.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:s,value:i,required:o=!1,disabled:a=!1,orientation:c,dir:d,loop:h=!0,onValueChange:u,...f}=e,g=boe(n),v=kc(d),[m,x]=os({prop:i,defaultProp:s,onChange:u});return _.jsx(uIe,{scope:n,name:r,required:o,disabled:a,value:m,onValueChange:x,children:_.jsx(QA,{asChild:!0,...g,orientation:c,dir:v,loop:h,children:_.jsx(He.div,{role:"radiogroup","aria-required":o,"aria-orientation":c,"data-disabled":a?"":void 0,dir:v,...f,ref:t})})})});_oe.displayName=D8;var woe="RadioGroupItem",Soe=C.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...s}=e,i=dIe(woe,n),o=i.disabled||r,a=boe(n),c=xoe(n),d=C.useRef(null),h=_t(t,d),u=i.value===s.value,f=C.useRef(!1);return C.useEffect(()=>{const g=m=>{lIe.includes(m.key)&&(f.current=!0)},v=()=>f.current=!1;return document.addEventListener("keydown",g),document.addEventListener("keyup",v),()=>{document.removeEventListener("keydown",g),document.removeEventListener("keyup",v)}},[]),_.jsx(ZA,{asChild:!0,...a,focusable:!o,active:u,children:_.jsx(moe,{disabled:o,required:i.required,checked:u,...c,...s,name:i.name,ref:h,onCheck:()=>i.onValueChange(s.value),onKeyDown:Ae(g=>{g.key==="Enter"&&g.preventDefault()}),onFocus:Ae(s.onFocus,()=>{var g;f.current&&((g=d.current)==null||g.click())})})})});Soe.displayName=woe;var fIe="RadioGroupIndicator",Coe=C.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,s=xoe(n);return _.jsx(voe,{...s,...r,ref:t})});Coe.displayName=fIe;var Eoe=_oe,Aoe=Soe,hIe=Coe;const pIe=C.forwardRef(({className:e,...t},n)=>_.jsx(Eoe,{className:ge("grid gap-2",e),...t,ref:n}));pIe.displayName=Eoe.displayName;const mIe=C.forwardRef(({className:e,...t},n)=>_.jsx(Aoe,{ref:n,className:ge("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:_.jsx(hIe,{className:"flex items-center justify-center",children:_.jsx(cD,{className:"h-2.5 w-2.5 fill-curr
* @remix-run/router v1.23.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function qr(){return qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qr.apply(this,arguments)}var Ns;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ns||(Ns={}));const k7="popstate";function f2e(e){e===void 0&&(e={});function t(r,s){let{pathname:i,search:o,hash:a}=r.location;return kC("",{pathname:i,search:o,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:Kv(s)}return p2e(t,n,null,e)}function sn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function hx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function h2e(){return Math.random().toString(36).substr(2,8)}function D7(e,t){return{usr:e.state,key:e.key,idx:t}}function kC(e,t,n,r){return n===void 0&&(n=null),qr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Dp(t):t,{state:n,key:t&&t.key||r||h2e()})}function Kv(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Dp(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function p2e(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,a=Ns.Pop,c=null,d=h();d==null&&(d=0,o.replaceState(qr({},o.state,{idx:d}),""));function h(){return(o.state||{idx:null}).idx}function u(){a=Ns.Pop;let x=h(),y=x==null?null:x-d;d=x,c&&c({action:a,location:m.location,delta:y})}function f(x,y){a=Ns.Push;let b=kC(m.location,x,y);d=h()+1;let w=D7(b,d),E=m.createHref(b);try{o.pushState(w,"",E)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;s.location.assign(E)}i&&c&&c({action:a,location:m.location,delta:1})}function g(x,y){a=Ns.Replace;let b=kC(m.location,x,y);d=h();let w=D7(b,d),E=m.createHref(b);o.replaceState(w,"",E),i&&c&&c({action:a,location:m.location,delta:0})}function v(x){let y=s.location.origin!=="null"?s.location.origin:s.location.href,b=typeof x=="string"?x:Kv(x);return b=b.replace(/ $/,"%20"),sn(y,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,y)}let m={get action(){return a},get location(){return e(s,o)},listen(x){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(k7,u),c=x,()=>{s.removeEventListener(k7,u),c=null}},createHref(x){return t(s,x)},createURL:v,encodeLocation(x){let y=v(x);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:f,replace:g,go(x){return o.go(x)}};return m}var er;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(er||(er={}));const m2e=new Set(["lazy","caseSensitive","path","id","index","children"]);function g2e(e){return e.index===!0}function VT(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((s,i)=>{let o=[...n,String(i)],a=typeof s.id=="string"?s.id:o.join("-");if(sn(s.index!==!0||!s.children,"Cannot specify children on an index route"),sn(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),g2e(s)){let c=qr({},s,t(s),{id:a});return r[a]=c,c}else{let c=qr({},s,t(s),{id:a,children:void 0});return r[a]=c,s.children&&(c.children=VT(s.children,t,o,r)),c}})}function ig(e,t,n){return n===void 0&&(n="/"),nN(e,t,n,!1)}function nN(e,t,n,r){let s=typeof t=="string"?Dp(t):t,i=yp(s.pathname||"/",n);if(i==null)return null;let o=Sce(e);y2e(o);let a=null;for(let c=0;a==null&&c<o.length;++c){let d=N2e(i);a=R2e(o[c],d,r)}return a}function v2e(e,t){let{route:n,pathname:r,params:s}=e;return{id:n.id,pathname:r,params:s,data:t[n.id],handle:n.handle}}function Sce(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,o,a)=>{let c={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith
`},""):String(r.body);return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:f}}}else if(r.formEncType==="application/json"){if(!fc(o))return s();try{let f=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:f,text:void 0}}}catch{return s()}}}sn(typeof FormData=="function","FormData is not available in this environment");let c,d;if(r.formData)c=DU(r.formData),d=r.formData;else if(r.body instanceof FormData)c=DU(r.body),d=r.body;else if(r.body instanceof URLSearchParams)c=r.body,d=B7(c);else if(r.body==null)c=new URLSearchParams,d=new FormData;else try{c=new URLSearchParams(r.body),d=B7(c)}catch{return s()}let h={formMethod:o,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:d,json:void 0,text:void 0};if(fc(h.formMethod))return{path:n,submission:h};let u=Dp(n);return t&&u.search&&rW(u.search)&&c.append("index",""),u.search="?"+c,{path:Kv(u),submission:h}}function L7(e,t,n){n===void 0&&(n=!1);let r=e.findIndex(s=>s.route.id===t);return r>=0?e.slice(0,n?r+1:r):e}function j7(e,t,n,r,s,i,o,a,c,d,h,u,f,g,v,m){let x=m?Va(m[1])?m[1].error:m[1].data:void 0,y=e.createURL(t.location),b=e.createURL(s),w=n;i&&t.errors?w=L7(n,Object.keys(t.errors)[0],!0):m&&Va(m[1])&&(w=L7(n,m[0]));let E=m?m[1].statusCode:void 0,R=o&&E&&E>=400,T=w.filter((A,D)=>{let{route:O}=A;if(O.lazy)return!0;if(O.loader==null)return!1;if(i)return kU(O,t.loaderData,t.errors);if(H2e(t.loaderData,t.matches[D],A)||c.some(F=>F===A.route.id))return!0;let I=t.matches[D],$=A;return $7(A,qr({currentUrl:y,currentParams:I.params,nextUrl:b,nextParams:$.params},r,{actionResult:x,actionStatus:E,defaultShouldRevalidate:R?!1:a||y.pathname+y.search===b.pathname+b.search||y.search!==b.search||Pce(I,$)}))}),N=[];return u.forEach((A,D)=>{if(i||!n.some(B=>B.route.id===A.routeId)||h.has(D))return;let O=ig(g,A.path,v);if(!O){N.push({key:D,routeId:A.routeId,path:A.path,matches:null,match:null,controller:null});return}let I=t.fetchers.get(D),$=f1(O,A.path),F=!1;f.has(D)?F=!1:d.has(D)?(d.delete(D),F=!0):I&&I.state!=="idle"&&I.data===void 0?F=a:F=$7($,qr({currentUrl:y,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:n[n.length-1].params},r,{actionResult:x,actionStatus:E,defaultShouldRevalidate:R?!1:a})),F&&N.push({key:D,routeId:A.routeId,path:A.path,matches:O,match:$,controller:new AbortController})}),[T,N]}function kU(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=t!=null&&t[e.id]!==void 0,s=n!=null&&n[e.id]!==void 0;return!r&&s?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!r&&!s}function H2e(e,t,n){let r=!t||n.route.id!==t.route.id,s=e[n.route.id]===void 0;return r||s}function Pce(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function $7(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function F7(e,t,n,r,s){var i;let o;if(e){let d=r[e];sn(d,"No route found to patch children into: routeId = "+e),d.children||(d.children=[]),o=d.children}else o=n;let a=t.filter(d=>!o.some(h=>Nce(d,h))),c=VT(a,s,[e||"_","patch",String(((i=o)==null?void 0:i.length)||"0")],r);o.push(...c)}function Nce(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,r)=>{var s;return(s=t.children)==null?void 0:s.some(i=>Nce(n,i))}):!1}async function W2e(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let s=n[e.id];sn(s,"No route found in manifest");let i={};for(let o in r){let c=s[o]!==void 0&&o!=="hasErrorBoundary";hx(!c,'Route "'+s.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!c&&!m2e.has(o)&&(i[o]=r[o])}Object.assign(s,i),Object.assign(s,qr({},t(s),{
* React Router v6.30.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function px(){return px=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},px.apply(this,arguments)}const SO=C.createContext(null),Dce=C.createContext(null),Op=C.createContext(null),sW=C.createContext(null),zu=C.createContext({outlet:null,matches:[],isDataRoute:!1}),Oce=C.createContext(null);function l$e(e,t){let{relative:n}=t===void 0?{}:t;Xx()||sn(!1);let{basename:r,navigator:s}=C.useContext(Op),{hash:i,pathname:o,search:a}=Ice(e,{relative:n}),c=o;return r!=="/"&&(c=o==="/"?r:Af([r,o])),s.createHref({pathname:c,search:a,hash:i})}function Xx(){return C.useContext(sW)!=null}function Mp(){return Xx()||sn(!1),C.useContext(sW).location}function Mce(e){C.useContext(Op).static||C.useLayoutEffect(e)}function io(){let{isDataRoute:e}=C.useContext(zu);return e?S$e():c$e()}function c$e(){Xx()||sn(!1);let e=C.useContext(SO),{basename:t,future:n,navigator:r}=C.useContext(Op),{matches:s}=C.useContext(zu),{pathname:i}=Mp(),o=JSON.stringify(_O(s,n.v7_relativeSplatPath)),a=C.useRef(!1);return Mce(()=>{a.current=!0}),C.useCallback(function(d,h){if(h===void 0&&(h={}),!a.current)return;if(typeof d=="number"){r.go(d);return}let u=wO(d,JSON.parse(o),i,h.relative==="path");e==null&&t!=="/"&&(u.pathname=u.pathname==="/"?t:Af([t,u.pathname])),(h.replace?r.replace:r.push)(u,h.state,h)},[t,r,o,i,e])}const u$e=C.createContext(null);function d$e(e){let t=C.useContext(zu).outlet;return t&&C.createElement(u$e.Provider,{value:e},t)}function f$e(){let{matches:e}=C.useContext(zu),t=e[e.length-1];return t?t.params:{}}function Ice(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=C.useContext(Op),{matches:s}=C.useContext(zu),{pathname:i}=Mp(),o=JSON.stringify(_O(s,r.v7_relativeSplatPath));return C.useMemo(()=>wO(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function h$e(e,t,n,r){Xx()||sn(!1);let{navigator:s,static:i}=C.useContext(Op),{matches:o}=C.useContext(zu),a=o[o.length-1],c=a?a.params:{};a&&a.pathname;let d=a?a.pathnameBase:"/";a&&a.route;let h=Mp(),u;u=h;let f=u.pathname||"/",g=f;if(d!=="/"){let x=d.replace(/^\//,"").split("/");g="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let v=!i&&n&&n.matches&&n.matches.length>0?n.matches:ig(e,{pathname:g});return y$e(v&&v.map(x=>Object.assign({},x,{params:Object.assign({},c,x.params),pathname:Af([d,s.encodeLocation?s.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?d:Af([d,s.encodeLocation?s.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r)}function p$e(){let e=x$e(),t=DC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:s},n):null,null)}const m$e=C.createElement(p$e,null);class g$e extends C.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?C.createElement(zu.Provider,{value:this.props.routeContext},C.createElement(Oce.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function v$e(e){let{routeContext:t,match:n,children:r}=e,s=C.useContext(SO);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement(zu.Provider,{value:t},r)}function y$e(e,t,n,r){var s;if(t===vo
* React Router DOM v6.30.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function OC(){return OC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OC.apply(this,arguments)}function P$e(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,i;for(i=0;i<r.length;i++)s=r[i],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function N$e(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function T$e(e,t){return e.button===0&&(!t||t==="_self")&&!N$e(e)}function OU(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(s=>[n,s]):[[n,r]])},[]))}function k$e(e,t){let n=OU(e);return t&&t.forEach((r,s)=>{n.has(s)||t.getAll(s).forEach(i=>{n.append(s,i)})}),n}const D$e=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],O$e="6";try{window.__reactRouterVersion=O$e}catch{}function M$e(e,t){return U2e({basename:t==null?void 0:t.basename,future:OC({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:f2e({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||I$e(),routes:e,mapRouteProperties:R$e,dataStrategy:t==null?void 0:t.dataStrategy,patchRoutesOnNavigation:t==null?void 0:t.patchRoutesOnNavigation,window:t==null?void 0:t.window}).initialize()}function I$e(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=OC({},t,{errors:L$e(t.errors)})),t}function L$e(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,s]of t)if(s&&s.__type==="RouteErrorResponse")n[r]=new HT(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let i=window[s.__subType];if(typeof i=="function")try{let o=new i(s.message);o.stack="",n[r]=o}catch{}}if(n[r]==null){let i=new Error(s.message);i.stack="",n[r]=i}}else n[r]=s;return n}const j$e=C.createContext({isTransitioning:!1}),$$e=C.createContext(new Map),F$e="startTransition",Y7=Tv[F$e],z$e="flushSync",X7=xve[z$e];function B$e(e){Y7?Y7(e):e()}function WS(e){X7?X7(e):e()}class U$e{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function V$e(e){let{fallbackElement:t,router:n,future:r}=e,[s,i]=C.useState(n.state),[o,a]=C.useState(),[c,d]=C.useState({isTransitioning:!1}),[h,u]=C.useState(),[f,g]=C.useState(),[v,m]=C.useState(),x=C.useRef(new Map),{v7_startTransition:y}=r||{},b=C.useCallback(A=>{y?B$e(A):A()},[y]),w=C.useCallback((A,D)=>{let{deletedFetchers:O,flushSync:I,viewTransitionOpts:$}=D;A.fetchers.forEach((B,W)=>{B.data!==void 0&&x.current.set(W,B.data)}),O.forEach(B=>x.current.delete(B));let F=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!$||F){I?WS(()=>i(A)):b(()=>i(A));return}if(I){WS(()=>{f&&(h&&h.resolve(),f.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:$.currentLocation,nextLocation:$.nextLocation})});let B=n.window.document.startViewTransition(()=>{WS(()=>i(A))});B.finished.finally(()=>{WS(()=>{u(void 0),g(void 0),a(void 0),d({isTransitioning:!1})})}),WS(()=>g(B));return}f?(h&&h.resolve(),f.skipTransition(),m({state:A,currentLocation:$.currentLocation,nextLocation:$.nextLocation})):(a(A),d({isTransitioning:!0,flushSync:!1,currentLocation:$.currentLocation,nextLocation:$.nextLocation}))},[n.window,f,h,x,b]);C.useLayoutEffect(()=>n.subscribe(w),[n,w]),C.useEffect(()=>{c.isTransitioning&&!c.flushSync&&u(new U$e)},[c]),C.useEffect(()=>{if(h&&o&&n.window){let A=o,D=h.promise,O=n.window.document.startViewTransition(async()=>{b(()=>i(A)),await D});O.finished.finally(()=>{u(void 0),g(void 0),a(void 0),d({isTransitioning:!1})}),g(O)}},[b,o,h,n.window]),C.useEffect(()=>{h&&o&&s.location.key===o.location.key&&h.resolve()},[h,f,s.location,o]),C.useEffect(()=>{!c.isTransitioning&&v&&(a(v.state),d({isTransit
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var MFe={normalizePrecision:function(t){var n=t.reduce(function(r,s){return Math.max(r.getPrecision(),s.getPrecision())});return t.map(function(r){return r.getPrecision()!==n?r.convertPrecision(n):r})},minimum:function(t){var n=dK(t),r=n[0],s=n.slice(1),i=r;return s.forEach(function(o){i=i.lessThan(o)?i:o}),i},maximum:function(t){var n=dK(t),r=n[0],s=n.slice(1),i=r;return s.forEach(function(o){i=i.greaterThan(o)?i:o}),i}};function Gce(e){return!isNaN(parseInt(e))&&isFinite(e)}function IFe(e){return Gce(e)&&e<=100&&e>=0}function LFe(e){return e.length>0&&e.every(function(t){return t>=0})&&e.some(function(t){return t>0})}function hK(e){return e%2===0}function pK(e){return Gce(e)&&!Number.isInteger(e)}function jFe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=e.toString();if(t.indexOf("e-")>0)return parseInt(t.split("e-")[1]);var n=t.split(".")[1];return n?n.length:0}function GS(e){return Math.abs(e)%1===.5}function $Fe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(n,r){var s=Object.assign(new XMLHttpRequest,{onreadystatechange:function(){s.readyState===4&&(s.status>=200&&s.status<400?n(JSON.parse(s.responseText)):r(new Error(s.statusText)))},onerror:function(){r(new Error("Network error"))}});s.open("GET",e,!0),FFe(s,t.headers),s.send()})}function FFe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in t)e.setRequestHeader(n,t[n]);return e}function h1(e){return typeof e>"u"}function Kce(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".",n={};return Object.entries(e).forEach(function(r){if(V1(r[1])==="object"){var s=Kce(r[1]);Object.entries(s).forEach(function(i){n[r[0]+t+i[0]]=i[1]})}else n[r[0]]=r[1]}),n}function zFe(e){return!!e&&(V1(e)==="object"||typeof e=="function")&&typeof e.then=="function"}function Yce(){var e=function(r,s){var i=function(c){return Math.pow(10,jFe(c))},o=Math.max(i(r),i(s));return Math.round(r*o)*Math.round(s*o)/(o*o)},t={HALF_ODD:function(r){var s=Math.round(r);return GS(r)&&hK(s)?s-1:s},HALF_EVEN:function(r){var s=Math.round(r);return GS(r)?hK(s)?s:s-1:s},HALF_UP:function(r){return Math.round(r)},HALF_DOWN:function(r){return GS(r)?Math.floor(r):Math.round(r)},HALF_TOWARDS_ZERO:function(r){return GS(r)?Math.sign(r)*Math.floor(Math.abs(r)):Math.round(r)},HALF_AWAY_FROM_ZERO:function(r){return GS(r)?Math.sign(r)*Math.ceil(Math.abs(r)):Math.round(r)},DOWN:function(r){return Math.floor(r)}};return{add:function(r,s){return r+s},subtract:function(r,s){return r-s},multiply:function(r,s){return pK(r)||pK(s)?e(r,s):r*s},divide:function(r,s){return r/s},modulo:function(r,s){return r%s},round:function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"HALF_EVEN";return t[s](r)}}}var BFe=Yce();function UFe(e){var t=/^(?:(\$|USD)?0(?:(,)0)?(\.)?(0+)?|0(?:(,)0)?(\.)?(0+)?\s?(dollar)?)$/gm.exec(e);return{getMatches:function(){return t!==null?t.slice(1).filter(function(r){return!h1(r)}):[]},getMinimumFractionDigits:function(){var r=function(i){return i==="."};return h1(this.getMatches().find(r))?0:this.getMatches()[BFe.add(this.getMatches().findIndex(r),1)].split("").length},getCurrencyDisplay:function(){var r={USD:"code",dollar:"name",$:"symbol"};return r[this.getMatches().find(function(s){return s==="USD"||s==="dollar"||s==="$"})]},getStyle:function(){return h1(this.getCurrencyDisplay(this.getMatches()))?"decimal":"currency"},getUseGrouping:function(){return!h1(this.getMatches().find(function(r){return r===","}))}}}function VFe(e){var t=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=arguments.length>1?arguments[1]:void 0;for(var o in i)s=s.replace("{{".concat(o,"}}"),i[o]);return s},n=function(s,i){return $Fe(t(e.endpoint,{from:s,to:i}),{headers:e.headers})};return{getExchangeRate:function(s,i){return(zFe(e.endpoint)?e.endpoint:n(s,i)).then(function(o){return Kce(o)[t(e.propertyPath,{from:s,to:i})]})}}}function IC(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arg
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/YT.exports;(function(e,t){(function(){var n,r="4.17.21",s=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",a="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",d=500,h="__lodash_placeholder__",u=1,f=2,g=4,v=1,m=2,x=1,y=2,b=4,w=8,E=16,R=32,T=64,N=128,A=256,D=512,O=30,I="...",$=800,F=16,B=1,W=2,Z=3,Y=1/0,H=9007199254740991,se=17976931348623157e292,he=NaN,re=4294967295,J=re-1,te=re>>>1,ae=[["ary",N],["bind",x],["bindKey",y],["curry",w],["curryRight",E],["flip",D],["partial",R],["partialRight",T],["rearg",A]],be="[object Arguments]",xe="[object Array]",ve="[object AsyncFunction]",Pe="[object Boolean]",Oe="[object Date]",ke="[object DOMException]",ze="[object Error]",$e="[object Function]",Te="[object GeneratorFunction]",Ue="[object Map]",wt="[object Number]",ut="[object Null]",St="[object Object]",Nn="[object Promise]",cn="[object Proxy]",hn="[object RegExp]",It="[object Set]",U="[object String]",ee="[object Symbol]",ie="[object Undefined]",_e="[object WeakMap]",we="[object WeakSet]",pe="[object ArrayBuffer]",Se="[object DataView]",Fe="[object Float32Array]",ft="[object Float64Array]",ht="[object Int8Array]",hs="[object Int16Array]",Mn="[object Int32Array]",Hr="[object Uint8Array]",Yt="[object Uint8ClampedArray]",un="[object Uint16Array]",xn="[object Uint32Array]",Ze=/\b__p \+= '';/g,Rt=/\b(__p \+=) '' \+/g,Pt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ut=/&(?:amp|lt|gt|quot|#39);/g,yt=/[&<>"']/g,dn=RegExp(Ut.source),Gt=RegExp(yt.source),Hn=/<%-([\s\S]+?)%>/g,In=/<%([\s\S]+?)%>/g,Tn=/<%=([\s\S]+?)%>/g,sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Kr=/^\w*$/,ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,de=/[\\^$.*+?()[\]{}|]/g,ye=RegExp(de.source),Ce=/^\s+/,Me=/\s/,Ge=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,lt=/\{\n\/\* \[wrapped with (.+)\] \*/,Ct=/,? & /,st=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dt=/[()=,{}\[\]\/\s]/,ot=/\\(\\)?/g,gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Lt=/\w*$/,Jt=/^[-+]0x[0-9a-f]+$/i,ps=/^0b[01]+$/i,Wn=/^\[object .+?Constructor\]$/,pn=/^0o[0-7]+$/i,wr=/^(?:0|[1-9]\d*)$/,Lc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,oo=/($^)/,fa=/['\n\r\u2028\u2029\\]/g,As="\\ud800-\\udfff",$p="\\u0300-\\u036f",Bu="\\ufe20-\\ufe2f",Tl="\\u20d0-\\u20ff",jc=$p+Bu+Tl,$c="\\u2700-\\u27bf",en="a-z\\xdf-\\xf6\\xf8-\\xff",Sr="\\xac\\xb1\\xd7\\xf7",Fc="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Uu="\\u2000-\\u206f",Wr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nl="A-Z\\xc0-\\xd6\\xd8-\\xde",Kf="\\ufe0e\\ufe0f",Fp=Sr+Fc+Uu+Wr,zp="[']",dM="["+As+"]",o_="["+Fp+"]",Vu="["+jc+"]",a_="\\d+",fM="["+$c+"]",l_="["+en+"]",c_="[^"+As+Fp+a_+$c+en+nl+"]",Bp="\\ud83c[\\udffb-\\udfff]",hM="(?:"+Vu+"|"+Bp+")",u_="[^"+As+"]",Up="(?:\\ud83c[\\udde6-\\uddff]){2}",Vp="[\\ud800-\\udbff][\\udc00-\\udfff]",ha="["+nl+"]",d_="\\u200d",f_="(?:"+l_+"|"+c_+")",pM="(?:"+ha+"|"+c_+")",h_="(?:"+zp+"(?:d|ll|m|re|s|t|ve))?",p_="(?:"+zp+"(?:D|LL|M|RE|S|T|VE))?",m_=hM+"?",g_="["+Kf+"]?",mM="(?:"+d_+"(?:"+[u_,Up,Vp].join("|")+")"+g_+m_+")*",gM="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",vM="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",v_=g_+m_+mM,yM="(?:"+[fM,Up,Vp].join("|")+")"+v_,bM="(?:"+[u_+Vu+"?",Vu,Up,Vp,dM].join("|")+")",xM=RegExp(zp,"g"),_M=RegExp(Vu,"g"),Hp=RegExp(Bp+"(?="+Bp+")|"+bM+v_,"g"),wM=RegExp([ha+"?"+l_+"+"+h_+"(?="+[o_,ha,"$"].join("|")+")",pM+"+"+p_+"(?="+[o_,ha+f_,"$"].join("|")+")",ha+"?"+f_+"+"+h_,ha+"+"+p_,vM,gM,a_,yM].join("|"),"g"),SM=RegExp("["+d_+As+jc+Kf+"]"),CM=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,EM=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],AM=-1,Tt
/* [wrapped with `+p+`] */
`)}function VL(l){return qe(l)||go(l)||!!(z_&&l&&l[z_])}function Fs(l,p){var S=typeof l;return p=p??H,!!p&&(S=="number"||S!="symbol"&&wr.test(l))&&l>-1&&l%1==0&&l<p}function jn(l,p,S){if(!jt(S))return!1;var k=typeof p;return(k=="number"?Kn(S)&&Fs(p,S.length):k=="string"&&p in S)?Qr(S[p],l):!1}function km(l,p){if(qe(l))return!1;var S=typeof l;return S=="number"||S=="symbol"||S=="boolean"||l==null||pr(l)?!0:Kr.test(l)||!sr.test(l)||p!=null&&l in Et(p)}function HL(l){var p=typeof l;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?l!=="__proto__":l===null}function Dm(l){var p=yd(l),S=L[p];if(typeof S!="function"||!(p in et.prototype))return!1;if(l===S)return!0;var k=Pm(S);return!!k&&l===k[0]}function WL(l){return!!L_&&L_ in l}var qL=Ku?zs:Ym;function Vl(l){var p=l&&l.constructor,S=typeof p=="function"&&p.prototype||ya;return l===S}function Lw(l){return l===l&&!jt(l)}function jw(l,p){return function(S){return S==null?!1:S[l]===p&&(p!==n||l in Et(S))}}function GL(l){var p=Cd(l,function(k){return S.size===d&&S.clear(),k}),S=p.cache;return p}function KL(l,p){var S=l[1],k=p[1],M=S|k,j=M<(x|y|N),z=k==N&&S==w||k==N&&S==A&&l[7].length<=p[8]||k==(N|A)&&p[7].length<=p[8]&&S==w;if(!(j||z))return l;k&x&&(l[2]=p[2],M|=S&x?0:b);var q=p[3];if(q){var Q=l[3];l[3]=Q?bw(Q,q,p[4]):q,l[4]=Q?mi(l[3],h):p[4]}return q=p[5],q&&(Q=l[5],l[5]=Q?xw(Q,q,p[6]):q,l[6]=Q?mi(l[5],h):p[6]),q=p[7],q&&(l[7]=q),k&N&&(l[8]=l[8]==null?p[8]:Sn(l[8],p[8])),l[9]==null&&(l[9]=p[9]),l[0]=p[0],l[1]=M,l}function YL(l){var p=[];if(l!=null)for(var S in Et(l))p.push(S);return p}function XL(l){return Xu.call(l)}function $w(l,p,S){return p=Qt(p===n?l.length-1:p,0),function(){for(var k=arguments,M=-1,j=Qt(k.length-p,0),z=ne(j);++M<j;)z[M]=k[p+M];M=-1;for(var q=ne(p+1);++M<p;)q[M]=k[M];return q[p]=S(z),dr(l,this,q)}}function Fw(l,p){return p.length<2?l:ho(l,Mr(p,0,-1))}function QL(l,p){for(var S=l.length,k=Sn(p.length,S),M=Gn(l);k--;){var j=p[k];l[k]=Fs(j,S)?M[j]:n}return l}function Om(l,p){if(!(p==="constructor"&&typeof l[p]=="function")&&p!="__proto__")return l[p]}var zw=Uw(cw),Hl=fI||function(l,p){return mn.setTimeout(l,p)},Mm=Uw(xL);function Bw(l,p,S){var k=p+"";return Mm(l,UL(k,ZL(FL(k),S)))}function Uw(l){var p=0,S=0;return function(){var k=gI(),M=F-(k-S);if(S=k,M>0){if(++p>=$)return arguments[0]}else p=0;return l.apply(n,arguments)}}function xd(l,p){var S=-1,k=l.length,M=k-1;for(p=p===n?k:p;++S<p;){var j=gm(S,M),z=l[j];l[j]=l[S],l[S]=z}return l.length=p,l}var Vw=GL(function(l){var p=[];return l.charCodeAt(0)===46&&p.push(""),l.replace(ir,function(S,k,M,j){p.push(M?j.replace(ot,"$1"):k||S)}),p});function vs(l){if(typeof l=="string"||pr(l))return l;var p=l+"";return p=="0"&&1/l==-1/0?"-0":p}function mo(l){if(l!=null){try{return Yu.call(l)}catch{}try{return l+""}catch{}}return""}function ZL(l,p){return Tr(ae,function(S){var k="_."+S[0];p&S[1]&&!Hu(l,k)&&l.push(k)}),l.sort()}function Hw(l){if(l instanceof et)return l.clone();var p=new Dr(l.__wrapped__,l.__chain__);return p.__actions__=Gn(l.__actions__),p.__index__=l.__index__,p.__values__=l.__values__,p}function JL(l,p,S){(S?jn(l,p,S):p===n)?p=1:p=Qt(Ke(p),0);var k=l==null?0:l.length;if(!k||p<1)return[];for(var M=0,j=0,z=ne(nd(k/p));M<k;)z[j++]=Mr(l,M,M+=p);return z}function ej(l){for(var p=-1,S=l==null?0:l.length,k=0,M=[];++p<S;){var j=l[p];j&&(M[k++]=j)}return M}function tj(){var l=arguments.length;if(!l)return[];for(var p=ne(l-1),S=arguments[0],k=l;k--;)p[k-1]=arguments[k];return pi(qe(S)?Gn(S):[S],gn(p,1))}var nj=Qe(function(l,p){return Vt(l)?$l(l,gn(p,1,Vt,!0)):[]}),rj=Qe(function(l,p){var S=Ir(p);return Vt(S)&&(S=n),Vt(l)?$l(l,gn(p,1,Vt,!0),Ie(S,2)):[]}),sj=Qe(function(l,p){var S=Ir(p);return Vt(S)&&(S=n),Vt(l)?$l(l,gn(p,1,Vt,!0),n,S):[]});function ij(l,p,S){var k=l==null?0:l.length;return k?(p=S||p===n?1:Ke(p),Mr(l,p<0?0:p,k)):[]}function oj(l,p,S){var k=l==null?0:l.length;return k?(p=S||p===n?1:Ke(p),p=k-p,Mr(l,0,p<0?0:p)):[]}function aj(l,p){return l&&l.length?fd(l,Ie(p,3),!0,!0):[]}function lj(l,p){return l&&l.length?fd(l,Ie(p,3),!0):[]}function cj(l,p,S,k){var M=l==null?0:l.length;return M?(S&&typeof S!
`;l.replace(Ee,function(je,Je,rt,mr,$n,gr){return rt||(rt=mr),me+=l.slice(le,gr).replace(fa,qM),Je&&(q=!0,me+=`' +
__e(`+Je+`) +
'`),$n&&(Q=!0,me+=`';
`+$n+`;
__p += '`),rt&&(me+=`' +
((__t = (`+rt+`)) == null ? '' : __t) +
'`),le=gr+je.length,je}),me+=`';
`;var Le=bt.call(p,"variable")&&p.variable;if(!Le)me=`with (obj) {
`+me+`
}
`;else if(dt.test(Le))throw new We(a);me=(Q?me.replace(Ze,""):me).replace(Rt,"$1").replace(Pt,"$1;"),me="function("+(Le||"obj")+`) {
`+(Le?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(q?", __e = _.escape":"")+(Q?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+me+`return __p
}`;var Xe=wS(function(){return pt(j,De+"return "+me).apply(n,z)});if(Xe.source=me,Fm(Xe))throw Xe;return Xe}function yF(l){return vt(l).toLowerCase()}function bF(l){return vt(l).toUpperCase()}function xF(l,p,S){if(l=vt(l),l&&(S||p===n))return k_(l);if(!l||!(p=hr(p)))return l;var k=Yr(l),M=Yr(p),j=D_(k,M),z=O_(k,M)+1;return xi(k,j,z).join("")}function _F(l,p,S){if(l=vt(l),l&&(S||p===n))return l.slice(0,I_(l)+1);if(!l||!(p=hr(p)))return l;var k=Yr(l),M=O_(k,Yr(p))+1;return xi(k,0,M).join("")}function wF(l,p,S){if(l=vt(l),l&&(S||p===n))return l.replace(Ce,"");if(!l||!(p=hr(p)))return l;var k=Yr(l),M=D_(k,Yr(p));return xi(k,M).join("")}function SF(l,p){var S=O,k=I;if(jt(p)){var M="separator"in p?p.separator:M;S="length"in p?Ke(p.length):S,k="omission"in p?hr(p.omission):k}l=vt(l);var j=l.length;if(ma(l)){var z=Yr(l);j=z.length}if(S>=j)return l;var q=S-ga(k);if(q<1)return k;var Q=z?xi(z,0,q).join(""):l.slice(0,q);if(M===n)return Q+k;if(z&&(q+=Q.length-q),zm(M)){if(l.slice(q).search(M)){var le,ce=Q;for(M.global||(M=nm(M.source,vt(Lt.exec(M))+"g")),M.lastIndex=0;le=M.exec(ce);)var me=le.index;Q=Q.slice(0,me===n?q:me)}}else if(l.indexOf(hr(M),q)!=q){var Ee=Q.lastIndexOf(M);Ee>-1&&(Q=Q.slice(0,Ee))}return Q+k}function CF(l){return l=vt(l),l&&dn.test(l)?l.replace(Ut,JM):l}var EF=Sa(function(l,p,S){return l+(S?" ":"")+p.toUpperCase()}),Vm=Sw("toUpperCase");function _S(l,p,S){return l=vt(l),p=S?n:p,p===n?KM(l)?nI(l):FM(l):l.match(p)||[]}var wS=Qe(function(l,p){try{return dr(l,n,p)}catch(S){return Fm(S)?S:new We(S)}}),AF=$s(function(l,p){return Tr(p,function(S){S=vs(S),Ls(l,S,jm(l[S],l))}),l});function RF(l){var p=l==null?0:l.length,S=Ie();return l=p?Ot(l,function(k){if(typeof k[1]!="function")throw new kr(o);return[S(k[0]),k[1]]}):[],Qe(function(k){for(var M=-1;++M<p;){var j=l[M];if(dr(j[0],this,k))return dr(j[1],this,k)}})}function PF(l){return JI(Or(l,u))}function Hm(l){return function(){return l}}function NF(l,p){return l==null||l!==l?p:l}var TF=Ew(),kF=Ew(!0);function Xn(l){return l}function Wm(l){return tw(typeof l=="function"?l:Or(l,u))}function DF(l){return rw(Or(l,u))}function OF(l,p){return sw(l,Or(p,u))}var MF=Qe(function(l,p){return function(S){return Fl(S,l,p)}}),IF=Qe(function(l,p){return function(S){return Fl(l,S,p)}});function qm(l,p,S){var k=rn(p),M=cd(p,k);S==null&&!(jt(p)&&(M.length||!k.length))&&(S=p,p=l,l=this,M=cd(p,rn(p)));var j=!(jt(S)&&"chain"in S)||!!S.chain,z=zs(l);return Tr(M,function(q){var Q=p[q];l[q]=Q,z&&(l.prototype[q]=function(){var le=this.__chain__;if(j||le){var ce=l(this.__wrapped__),me=ce.__actions__=Gn(this.__actions__);return me.push({func:Q,args:arguments,thisArg:l}),ce.__chain__=le,ce}return Q.apply(l,pi([this.value()],arguments))})}),l}function LF(){return mn._===this&&(mn._=lI),this}function Gm(){}function jF(l){return l=Ke(l),Qe(function(p){return iw(p,l)})}var $F=Cm(Ot),FF=Cm(A_),zF=Cm(Yp);function SS(l){return km(l)?Xp(vs(l)):gL(l)}function BF(l){return function(p){return l==null?n:ho(l,p)}}var UF=Rw(),VF=Rw(!0);function Km(){return[]}function Ym(){return!1}function HF(){return{}}function WF(){return""}function qF(){return!0}function GF(l,p){if(l=Ke(l),l<1||l>H)return[];var S=re,k=Sn(l,re);p=Ie(p),l-=re;for(var M=Jp(k,p);++S<l;)p(S);return M}function KF(l){return qe(l)?Ot(l,vs):pr(l)?[l]:Gn(Vw(vt(l)))}function YF(l){var p=++oI;return vt(l)+p}var XF=md(function(l,p){return l+p},0),QF=Em("ceil"),ZF=md(function(l,p){return l/p},1),JF=Em("floor");function e3(l){return l&&l.length?ld(l,Xn,um):n}function t3(l,p){return l&&l.length?ld(l,Ie(p,2),um):n}function n3(l){return N_(l,Xn)}function r3(l,p){return N_(l,Ie(p,2))}function s3(l){return l&&l.length?ld(l,Xn,pm):n}function i3(l,p){return l&&l.length?ld(l,Ie(p,2),pm):n}var o3=md(function(l,p){return l*p},1),a3=Em("round"),l3=md(function(l,p){return l-p},0);function c3(l){return l&&l.length?Zp(l,Xn):0}function u3(l,p){return l&&l.length?Zp(l,Ie(p,2)):0}return L.after=D2,L.ary=eS,L.assign=b$,L.assignIn=pS,L.assignInWith=Pd,L.assignWith=x$,L.at=_$,L.before=tS,L.bind=jm,L.bindAll=AF,L.bindKey=nS,L.castArray=H2,L.chain=Qw,L.chunk=JL,L.compact=ej,L.
* table-core
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function r3e(){return{accessor:(e,t)=>typeof e=="function"?{...t,accessorFn:e}:{...t,accessorKey:e},display:e=>e,group:e=>e}}function Jh(e,t){return typeof e=="function"?e(t):e}function Ja(e,t){return n=>{t.setState(r=>({...r,[e]:Jh(n,r[e])}))}}function AO(e){return e instanceof Function}function s3e(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function i3e(e,t){const n=[],r=s=>{s.forEach(i=>{n.push(i);const o=t(i);o!=null&&o.length&&r(o)})};return r(e),n}function kt(e,t,n){let r=[],s;return i=>{let o;n.key&&n.debug&&(o=Date.now());const a=e(i);if(!(a.length!==r.length||a.some((h,u)=>r[u]!==h)))return s;r=a;let d;if(n.key&&n.debug&&(d=Date.now()),s=t(...a),n==null||n.onChange==null||n.onChange(s),n.key&&n.debug&&n!=null&&n.debug()){const h=Math.round((Date.now()-o)*100)/100,u=Math.round((Date.now()-d)*100)/100,f=u/16,g=(v,m)=>{for(v=String(v);v.length<m;)v=" "+v;return v};console.info(`%c ${g(u,5)} /${g(h,5)} ms`,`
font-size: .6rem;
font-weight: bold;
color: hsl(${Math.max(0,Math.min(120-120*f,120))}deg 100% 31%);`,n==null?void 0:n.key)}return s}}function Dt(e,t,n,r){return{debug:()=>{var s;return(s=e==null?void 0:e.debugAll)!=null?s:e[t]},key:!1,onChange:r}}function o3e(e,t,n,r){const s=()=>{var o;return(o=i.getValue())!=null?o:e.options.renderFallbackValue},i={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:s,getContext:kt(()=>[e,n,t,i],(o,a,c,d)=>({table:o,column:a,row:c,cell:d,getValue:d.getValue,renderValue:d.renderValue}),Dt(e.options,"debugCells"))};return e._features.forEach(o=>{o.createCell==null||o.createCell(i,n,t,e)},{}),i}function a3e(e,t,n,r){var s,i;const a={...e._getDefaultColumnDef(),...t},c=a.accessorKey;let d=(s=(i=a.id)!=null?i:c?typeof String.prototype.replaceAll=="function"?c.replaceAll(".","_"):c.replace(/\./g,"_"):void 0)!=null?s:typeof a.header=="string"?a.header:void 0,h;if(a.accessorFn?h=a.accessorFn:c&&(c.includes(".")?h=f=>{let g=f;for(const m of c.split(".")){var v;g=(v=g)==null?void 0:v[m]}return g}:h=f=>f[a.accessorKey]),!d)throw new Error;let u={id:`${String(d)}`,accessorFn:h,parent:r,depth:n,columnDef:a,columns:[],getFlatColumns:kt(()=>[!0],()=>{var f;return[u,...(f=u.columns)==null?void 0:f.flatMap(g=>g.getFlatColumns())]},Dt(e.options,"debugColumns")),getLeafColumns:kt(()=>[e._getOrderColumnsFn()],f=>{var g;if((g=u.columns)!=null&&g.length){let v=u.columns.flatMap(m=>m.getLeafColumns());return f(v)}return[u]},Dt(e.options,"debugColumns"))};for(const f of e._features)f.createColumn==null||f.createColumn(u,e);return u}const Wi="debugHeaders";function gK(e,t,n){var r;let i={id:(r=n.id)!=null?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const o=[],a=c=>{c.subHeaders&&c.subHeaders.length&&c.subHeaders.map(a),o.push(c)};return a(i),o},getContext:()=>({table:e,header:i,column:t})};return e._features.forEach(o=>{o.createHeader==null||o.createHeader(i,e)}),i}const l3e={createTable:e=>{e.getHeaderGroups=kt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,s)=>{var i,o;const a=(i=r==null?void 0:r.map(u=>n.find(f=>f.id===u)).filter(Boolean))!=null?i:[],c=(o=s==null?void 0:s.map(u=>n.find(f=>f.id===u)).filter(Boolean))!=null?o:[],d=n.filter(u=>!(r!=null&&r.includes(u.id))&&!(s!=null&&s.includes(u.id)));return xP(t,[...a,...d,...c],e)},Dt(e.options,Wi)),e.getCenterHeaderGroups=kt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,s)=>(n=n.filter(i=>!(r!=null&&r.includes(i.id))&&!(s!=null&&s.includes(i.id))),xP(t,n,e,"center")),Dt(e.options,Wi)),e.getLeftHeaderGroups=kt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var s;const i=(s=r==null?void 0:r.map(o=>n.find(a=>a.id===o)).filter(Boolean))!=null?s:[];return xP(t,i,e,"left")},Dt(e.options,Wi)),e.getRightHeaderGroups=kt(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var s;const i=(s=r==null?void 0:r.map(o=>n.find(a=>a.id===o)).filter(Boolean))!=null?s:[];return xP(t,i,e,"right")},Dt(e.options,Wi)),e.getFooterGroups=kt(()=>[e.getHeaderGroups()],t=>[...t].reverse(),Dt(e.options,Wi)),e.getLeftFooterGroups=kt(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),Dt(e.options,Wi)),e.getCenterFooterGroups=kt(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),Dt(e.options,Wi)),e.getRightFooterGroups=kt(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),Dt(e.options,Wi)),e.getFlatHeaders=kt(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),Dt(e.options,Wi)),e.getLeftFlatHeaders=kt(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),Dt(e.options,Wi)),e.getCenterFlatHeaders=kt(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),Dt(e.options,Wi)),e.getRightFlatHeaders=kt(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),Dt(e.options,Wi)),e.getCenterLeafHeaders=kt(()=>[e.getCen
* react-table
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function XT(e,t){return e?K3e(e)?C.createElement(e,t):e:null}function K3e(e){return Y3e(e)||typeof e=="function"||X3e(e)}function Y3e(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function X3e(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function pue(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=C.useState(()=>({current:B3e(t)})),[r,s]=C.useState(()=>n.current.initialState);return n.current.setOptions(i=>({...i,...e,state:{...r,...e.state},onStateChange:o=>{s(o),e.onStateChange==null||e.onStateChange(o)}})),n.current}const Yv=fe.forwardRef(({className:e,...t},n)=>_.jsx("div",{ref:n,className:ge("flex items-center gap-2",e),...t}));Yv.displayName="ButtonGroup";const mue=({label:e="Cancelar",...t})=>_.jsx(at,{type:"button",variant:"secondary",...t,children:e});mue.displayName="CancelButton";const Q3e=({buttonText:e,title:t="",content:n,className:r=""})=>_.jsx("div",{className:`flex items-baseline justify-center mr-4 font-medium ${r}`,children:_.jsxs(Fx,{children:[_.jsx(E6,{asChild:!0,children:_.jsxs(at,{variant:"link",className:"inline-flex items-center font-medium group",children:[_.jsx("span",{className:"underline-offset-4 group-hover:underline",children:e}),_.jsx(_J,{className:"w-4 h-4 ml-1 text-muted-foreground"})]})}),_.jsxs(cy,{className:"sm:max-w-[425px]",children:[_.jsx(uy,{children:_.jsx(fy,{children:t})}),_.jsxs(sO,{className:"grid gap-4 py-2",children:[n,_.jsx(dy,{children:_.jsx(bT,{asChild:!0,children:_.jsx(at,{type:"button",children:ue("common.close")})})})]})]})]})}),Z3e=Io("",{variants:{size:{default:"w-4 h-4",sm:"h-3.5 w-3.5",lg:"h-6 w-6",icon:"w-7 h-7"}},defaultVariants:{size:"default"}}),gue=fe.forwardRef(({className:e,label:t,size:n,icon:r,children:s,...i},o)=>{const a=!!r;return _.jsxs(at,{ref:o,size:n,className:ge(a?"gap-1":"",e),...i,children:[a&&_.jsx(r,{className:ge(Z3e({size:n}))}),_.jsx(_.Fragment,{children:t||s})]})});gue.displayName="CustomButton";const RO=({label:e="Enviar",...t})=>_.jsx(gue,{type:"submit",label:e,variant:"default",...t});RO.displayName="SubmitButton";function J3e(e){let r=0;for(let h=0;h<e.length;h++)r=e.charCodeAt(h)+((r<<5)-r);let s="#";for(let h=0;h<3;h++){const u=r>>h*8&255;s+=("00"+u.toString(16)).substr(-2)}const i=parseInt(s.substr(1,2),16),o=parseInt(s.substr(3,2),16),a=parseInt(s.substr(5,2),16),c=`#${(i*.7|0).toString(16).padStart(2,"0")}${(o*.7|0).toString(16).padStart(2,"0")}${(a*.7|0).toString(16).padStart(2,"0")}`,d=`#${Math.min(255,Math.floor(i+(255-i)*.7)).toString(16).padStart(2,"0")}${Math.min(255,Math.floor(o+(255-o)*.7)).toString(16).padStart(2,"0")}${Math.min(255,Math.floor(a+(255-a)*.7)).toString(16).padStart(2,"0")}`;return[c,d]}const vue=({label:e,className:t})=>{const[n,r]=J3e(e);return _.jsx(_D,{className:t,style:t?{}:{backgroundColor:r,color:n},children:e})},e4e=Io("p-6",{variants:{variant:{full:"w-full",boxed:"container max-w-3xl lg:max-w-5xl mx-auto"}},defaultVariants:{variant:"full"}}),yue=({className:e,as:t="article",variant:n,...r})=>_.jsx(t,{className:ge(e4e({variant:n,className:e})),...r});yue.displayName="Container";const hW=()=>{const e=io();return _.jsxs(at,{variant:"outline",size:"icon",className:"h-7 w-7",onClick:()=>e(-1),children:[_.jsx(lD,{className:"w-4 h-4"}),_.jsx("span",{className:"sr-only",children:ue("common.back")})]})};function bue({table:e,header:t,className:n}){return t.column.getCanSort()?_.jsx("div",{className:ge("flex items-center space-x-2",n),children:_.jsxs(rR,{children:[_.jsx(sR,{asChild:!0,children:_.jsxs(at,{"aria-label":t.column.getIsSorted()==="desc"?ue("common.sort_desc_description"):t.column.getIsSorted()==="asc"?ue("common.sort_asc_description"):ue("sort_none_description"),size:"sm",variant:"ghost",className:"-ml-3 h-8 data-[state=open]:bg-accent font-bold text-muted-foreground",children:[XT(t.column.columnDef.header,t.getContext()),t.column.getIsSorted()==="desc"?_.jsx(PG,{className:"w-4 h-4 ml-2","aria-hidden":"true"
To pick up a draggable item, press the space bar.
While dragging, use the arrow keys to move the item.
Press space again to drop the item in its new position, or press escape to cancel.
`},m4e={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function g4e(e){let{announcements:t=m4e,container:n,hiddenTextDescribedById:r,screenReaderInstructions:s=p4e}=e;const{announce:i,announcement:o}=d4e(),a=gR("DndLiveRegion"),[c,d]=C.useState(!1);if(C.useEffect(()=>{d(!0)},[]),f4e(C.useMemo(()=>({onDragStart(u){let{active:f}=u;i(t.onDragStart({active:f}))},onDragMove(u){let{active:f,over:g}=u;t.onDragMove&&i(t.onDragMove({active:f,over:g}))},onDragOver(u){let{active:f,over:g}=u;i(t.onDragOver({active:f,over:g}))},onDragEnd(u){let{active:f,over:g}=u;i(t.onDragEnd({active:f,over:g}))},onDragCancel(u){let{active:f,over:g}=u;i(t.onDragCancel({active:f,over:g}))}}),[i,t])),!c)return null;const h=fe.createElement(fe.Fragment,null,fe.createElement(c4e,{id:r,value:s.draggable}),fe.createElement(u4e,{id:a,announcement:o}));return n?Li.createPortal(h,n):h}var ei;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(ei||(ei={}));function tk(){}function SP(e,t){return C.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function v4e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return C.useMemo(()=>[...t].filter(r=>r!=null),[...t])}const Tc=Object.freeze({x:0,y:0});function y4e(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function b4e(e,t){const n=ek(e);if(!n)return"0 0";const r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+"% "+r.y+"%"}function x4e(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function _4e(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function w4e(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function bK(e,t,n){return t===void 0&&(t=e.left),n===void 0&&(n=e.top),{x:t+e.width*.5,y:n+e.height*.5}}const S4e=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const s=bK(t,t.left,t.top),i=[];for(const o of r){const{id:a}=o,c=n.get(a);if(c){const d=y4e(bK(c),s);i.push({id:a,data:{droppableContainer:o,value:d}})}}return i.sort(x4e)};function C4e(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),s=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),o=s-r,a=i-n;if(r<s&&n<i){const c=t.width*t.height,d=e.width*e.height,h=o*a,u=h/(c+d-h);return Number(u.toFixed(4))}return 0}const E4e=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const s=[];for(const i of r){const{id:o}=i,a=n.get(o);if(a){const c=C4e(a,t);c>0&&s.push({id:o,data:{droppableContainer:i,value:c}})}}return s.sort(_4e)};function A4e(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function Sue(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Tc}function R4e(e){return function(n){for(var r=arguments.length,s=new Array(r>1?r-1:0),i=1;i<r;i++)s[i-1]=arguments[i];return s.reduce((o,a)=>({...o,top:o.top+e*a.y,bottom:o.bottom+e*a.y,left:o.left+e*a.x,right:o.right+e*a.x}),{...n})}}const P4e=R4e(1);function Cue(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function N4e(e,t,n){const r=Cue(t);if(!r)return e;const{scaleX:s,scaleY:i,x:o,y:a}=r,c=e.left-o-(1-s)*parseFloat(n),d=e.top-a-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),h=s?e.width/s:e.width,u=i?e.height/i:e.height;return{width:h,height:u,top:d,right:c+h,bottom:d+u,left
`);return t.join("")}}function v1(e,t){try{const{protocol:n}=t?new URL(e,t):new URL(e);return n==="http:"||n==="https:"}catch{return!1}}function ia(e){e.preventDefault()}function pde(e){console.log("Deprecated API usage: "+e)}let BK;class mde{static toDateObject(t){if(!t||typeof t!="string")return null;BK||(BK=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const n=BK.exec(t);if(!n)return null;const r=parseInt(n[1],10);let s=parseInt(n[2],10);s=s>=1&&s<=12?s-1:0;let i=parseInt(n[3],10);i=i>=1&&i<=31?i:1;let o=parseInt(n[4],10);o=o>=0&&o<=23?o:0;let a=parseInt(n[5],10);a=a>=0&&a<=59?a:0;let c=parseInt(n[6],10);c=c>=0&&c<=59?c:0;const d=n[7]||"Z";let h=parseInt(n[8],10);h=h>=0&&h<=23?h:0;let u=parseInt(n[9],10)||0;return u=u>=0&&u<=59?u:0,d==="-"?(o+=h,a+=u):d==="+"&&(o-=h,a-=u),new Date(Date.UTC(r,s,i,o,a,c))}}function bUe(e,{scale:t=1,rotation:n=0}){const{width:r,height:s}=e.attributes.style,i=[0,0,parseInt(r),parseInt(s)];return new yR({viewBox:i,scale:t,rotation:n})}function OW(e){if(e.startsWith("#")){const t=parseInt(e.slice(1),16);return[(t&16711680)>>16,(t&65280)>>8,t&255]}return e.startsWith("rgb(")?e.slice(4,-1).split(",").map(t=>parseInt(t)):e.startsWith("rgba(")?e.slice(5,-1).split(",").map(t=>parseInt(t)).slice(0,3):(nn(`Not a valid color format: "${e}"`),[0,0,0])}function xUe(e){const t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(const n of e.keys()){t.style.color=n;const r=window.getComputedStyle(t).color;e.set(n,OW(r))}t.remove()}function es(e){const{a:t,b:n,c:r,d:s,e:i,f:o}=e.getTransform();return[t,n,r,s,i,o]}function Od(e){const{a:t,b:n,c:r,d:s,e:i,f:o}=e.getTransform().invertSelf();return[t,n,r,s,i,o]}function Xv(e,t,n=!1,r=!0){if(t instanceof yR){const{pageWidth:s,pageHeight:i}=t.rawDims,{style:o}=e,a=Jo.isCSSRoundSupported,c=`var(--scale-factor) * ${s}px`,d=`var(--scale-factor) * ${i}px`,h=a?`round(${c}, 1px)`:`calc(${c})`,u=a?`round(${d}, 1px)`:`calc(${d})`;!n||t.rotation%180===0?(o.width=h,o.height=u):(o.width=u,o.height=h)}r&&e.setAttribute("data-main-rotation",t.rotation)}var Ng,Tg,Da,kg,Ck,gde,ko,vde,yde,uN,bde,r5;const Ek=class Ek{constructor(t){G(this,ko);G(this,Ng,null);G(this,Tg,null);G(this,Da);G(this,kg,null);V(this,Da,t)}render(){const t=V(this,Ng,document.createElement("div"));t.className="editToolbar",t.setAttribute("role","toolbar");const n=P(this,Da)._uiManager._signal;t.addEventListener("contextmenu",ia,{signal:n}),t.addEventListener("pointerdown",K(Ek,Ck,gde),{signal:n});const r=V(this,kg,document.createElement("div"));r.className="buttons",t.append(r);const s=P(this,Da).toolbarPosition;if(s){const{style:i}=t,o=P(this,Da)._uiManager.direction==="ltr"?1-s[0]:s[0];i.insetInlineEnd=`${100*o}%`,i.top=`calc(${100*s[1]}% + var(--editor-toolbar-vert-offset))`}return K(this,ko,bde).call(this),t}hide(){var t;P(this,Ng).classList.add("hidden"),(t=P(this,Tg))==null||t.hideDropdown()}show(){P(this,Ng).classList.remove("hidden")}addAltTextButton(t){K(this,ko,uN).call(this,t),P(this,kg).prepend(t,P(this,ko,r5))}addColorPicker(t){V(this,Tg,t);const n=t.renderButton();K(this,ko,uN).call(this,n),P(this,kg).prepend(n,P(this,ko,r5))}remove(){var t;P(this,Ng).remove(),(t=P(this,Tg))==null||t.destroy(),V(this,Tg,null)}};Ng=new WeakMap,Tg=new WeakMap,Da=new WeakMap,kg=new WeakMap,Ck=new WeakSet,gde=function(t){t.stopPropagation()},ko=new WeakSet,vde=function(t){P(this,Da)._focusEventsAllowed=!1,t.preventDefault(),t.stopPropagation()},yde=function(t){P(this,Da)._focusEventsAllowed=!0,t.preventDefault(),t.stopPropagation()},uN=function(t){const n=P(this,Da)._uiManager._signal;t.addEventListener("focusin",K(this,ko,vde).bind(this),{capture:!0,signal:n}),t.addEventListener("focusout",K(this,ko,yde).bind(this),{capture:!0,signal:n}),t.addEventListener("contextmenu",ia,{signal:n})},bde=function(){const t=document.createElement("button");t.className="delete",t.tabIndex=0,t.setAttribute("data-l10n-id",`pdfjs-editor-remove-${P(this,Da).editorType}-button`),K(this,ko,uN).call(this,t),t.addEventListener("click",n=>{P(
`))||null;d&&this.data.comb&&(d=d.replaceAll(/\s+/g,""));const h={userValue:a,formattedValue:d,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(r=document.createElement("textarea"),r.textContent=d??a,this.data.doNotScroll&&(r.style.overflowY="hidden")):(r=document.createElement("input"),r.type="text",r.setAttribute("value",d??a),this.data.doNotScroll&&(r.style.overflowX="hidden")),this.data.hasOwnCanvas&&(r.hidden=!0),Zv.add(r),r.setAttribute("data-element-id",n),r.disabled=this.data.readOnly,r.name=this.data.fieldName,r.tabIndex=_R,this._setRequired(r,this.data.required),c&&(r.maxLength=c),r.addEventListener("input",f=>{t.setValue(n,{value:f.target.value}),this.setPropertyOnSiblings(r,"value",f.target.value,"value"),h.formattedValue=null}),r.addEventListener("resetform",f=>{const g=this.data.defaultFieldValue??"";r.value=h.userValue=g,h.formattedValue=null});let u=f=>{const{formattedValue:g}=h;g!=null&&(f.target.value=g),f.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){r.addEventListener("focus",g=>{var m;if(h.focused)return;const{target:v}=g;h.userValue&&(v.value=h.userValue),h.lastCommittedValue=v.value,h.commitKey=1,(m=this.data.actions)!=null&&m.Focus||(h.focused=!0)}),r.addEventListener("updatefromsandbox",g=>{this.showElementAndHideCanvas(g.target);const v={value(m){h.userValue=m.detail.value??"",t.setValue(n,{value:h.userValue.toString()}),m.target.value=h.userValue},formattedValue(m){const{formattedValue:x}=m.detail;h.formattedValue=x,x!=null&&m.target!==document.activeElement&&(m.target.value=x),t.setValue(n,{formattedValue:x})},selRange(m){m.target.setSelectionRange(...m.detail.selRange)},charLimit:m=>{var w;const{charLimit:x}=m.detail,{target:y}=m;if(x===0){y.removeAttribute("maxLength");return}y.setAttribute("maxLength",x);let b=h.userValue;!b||b.length<=x||(b=b.slice(0,x),y.value=h.userValue=b,t.setValue(n,{value:b}),(w=this.linkService.eventBus)==null||w.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:b,willCommit:!0,commitKey:1,selStart:y.selectionStart,selEnd:y.selectionEnd}}))}};this._dispatchEventFromSandbox(v,g)}),r.addEventListener("keydown",g=>{var x;h.commitKey=1;let v=-1;if(g.key==="Escape"?v=0:g.key==="Enter"&&!this.data.multiLine?v=2:g.key==="Tab"&&(h.commitKey=3),v===-1)return;const{value:m}=g.target;h.lastCommittedValue!==m&&(h.lastCommittedValue=m,h.userValue=m,(x=this.linkService.eventBus)==null||x.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:m,willCommit:!0,commitKey:v,selStart:g.target.selectionStart,selEnd:g.target.selectionEnd}}))});const f=u;u=null,r.addEventListener("blur",g=>{var m,x;if(!h.focused||!g.relatedTarget)return;(m=this.data.actions)!=null&&m.Blur||(h.focused=!1);const{value:v}=g.target;h.userValue=v,h.lastCommittedValue!==v&&((x=this.linkService.eventBus)==null||x.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:v,willCommit:!0,commitKey:h.commitKey,selStart:g.target.selectionStart,selEnd:g.target.selectionEnd}})),f(g)}),(i=this.data.actions)!=null&&i.Keystroke&&r.addEventListener("beforeinput",g=>{var R;h.lastCommittedValue=null;const{data:v,target:m}=g,{value:x,selectionStart:y,selectionEnd:b}=m;let w=y,E=b;switch(g.inputType){case"deleteWordBackward":{const T=x.substring(0,y).match(/\w*[^\w]*$/);T&&(w-=T[0].length);break}case"deleteWordForward":{const T=x.substring(y).match(/^[^\w]*\w*/);T&&(E+=T[0].length);break}case"deleteContentBackward":y===b&&(w-=1);break;case"deleteContentForward":y===b&&(E+=1);break}g.preventDefault(),(R=this.linkService.eventBus)==null||R.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:x,change:v||"",willCommit:!1,selStart:w,selEnd:E}})}),this._setEventListeners(r,h,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],g=>g.target.value)}if(u&&r.addEventListener("blur",u),this.data.comb){const g=(this.data.rect[2]-this.data.rect[0])/c;r.classList.add("comb"),r.style.letterSpacing=`
`))n.push({name:"span",value:i,attributes:s});return r},ffe=function(t){t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||(t.key==="Enter"||t.key==="Escape"&&P(this,of))&&K(this,cr,bN).call(this)},hfe=function(){if(P(this,af)!==null)return;const{page:{view:t},viewport:{rawDims:{pageWidth:n,pageHeight:r,pageX:s,pageY:i}}}=P(this,zE);let o=!!P(this,k0),a=o?P(this,k0):P(this,BE);for(const v of P(this,FE))if(!a||xt.intersect(v.data.rect,a)!==null){a=v.data.rect,o=!0;break}const c=xt.normalizeRect([a[0],t[3]-a[1]+t[1],a[2],t[3]-a[3]+t[1]]),h=o?a[2]-a[0]+5:0,u=c[0]+h,f=c[1];V(this,af,[100*(u-s)/n,100*(f-i)/r]);const{style:g}=P(this,us);g.left=`${P(this,af)[0]}%`,g.top=`${P(this,af)[1]}%`},bN=function(){V(this,of,!P(this,of)),P(this,of)?(K(this,cr,xN).call(this),P(this,us).addEventListener("click",P(this,T0)),P(this,us).addEventListener("keydown",P(this,N0))):(K(this,cr,M5).call(this),P(this,us).removeEventListener("click",P(this,T0)),P(this,us).removeEventListener("keydown",P(this,N0)))},xN=function(){P(this,sc)||this.render(),this.isVisible?P(this,of)&&P(this,us).classList.add("focused"):(K(this,cr,hfe).call(this),P(this,us).hidden=!1,P(this,us).style.zIndex=parseInt(P(this,us).style.zIndex)+1e3)},M5=function(){P(this,us).classList.remove("focused"),!(P(this,of)||!this.isVisible)&&(P(this,us).hidden=!0,P(this,us).style.zIndex=parseInt(P(this,us).style.zIndex)-1e3)};class pfe extends Cs{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.textContent=t.data.textContent,this.textPosition=t.data.textPosition,this.annotationEditorType=_n.FREETEXT}render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){const t=document.createElement("div");t.classList.add("annotationTextContent"),t.setAttribute("role","comment");for(const n of this.textContent){const r=document.createElement("span");r.textContent=n,t.append(r)}this.container.append(t)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}get _isEditable(){return this.data.hasOwnCanvas}}var VE;class B5e extends Cs{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});G(this,VE,null)}render(){this.container.classList.add("lineAnnotation");const n=this.data,{width:r,height:s}=Pf(n.rect),i=this.svgFactory.create(r,s,!0),o=V(this,VE,this.svgFactory.createElement("svg:line"));return o.setAttribute("x1",n.rect[2]-n.lineCoordinates[0]),o.setAttribute("y1",n.rect[3]-n.lineCoordinates[1]),o.setAttribute("x2",n.rect[2]-n.lineCoordinates[2]),o.setAttribute("y2",n.rect[3]-n.lineCoordinates[3]),o.setAttribute("stroke-width",n.borderStyle.width||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),i.append(o),this.container.append(i),!n.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return P(this,VE)}addHighlightArea(){this.container.classList.add("highlightArea")}}VE=new WeakMap;var HE;class U5e extends Cs{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});G(this,HE,null)}render(){this.container.classList.add("squareAnnotation");const n=this.data,{width:r,height:s}=Pf(n.rect),i=this.svgFactory.create(r,s,!0),o=n.borderStyle.width,a=V(this,HE,this.svgFactory.createElement("svg:rect"));return a.setAttribute("x",o/2),a.setAttribute("y",o/2),a.setAttribute("width",r-o),a.setAttribute("height",s-o),a.setAttribute("stroke-width",o||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),i.append(a),this.container.append(i),!n.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return P(this,HE)}addHighlightArea(){this.container.classList.add("highlightArea")}}HE=new WeakMap;var WE;class V5e extends Cs{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});G(this,WE,null)}render(){this.container.classList.add("circleAnnotation");const n=this.data,{width:r,height:s}=Pf(n.rect),i=this.svgFactory.create(r,s,!0),o=n.borderStyle.width,a=V(this,WE,this.svgFactory.createElement("svg:ellipse"));return a.setAttribute("cx",r/2),a.setAttribute("cy",s/2),a.setAttribute("rx",r/2-o/2),a.s
`);if(!i)return;const o=window.getSelection();if(!o.rangeCount)return;this.editorDiv.normalize(),o.deleteFromDocument();const a=o.getRangeAt(0);if(!i.includes(`
`)){a.insertNode(document.createTextNode(i)),this.editorDiv.normalize(),o.collapseToStart();return}const{startContainer:c,startOffset:d}=a,h=[],u=[];if(c.nodeType===Node.TEXT_NODE){const y=c.parentElement;if(u.push(c.nodeValue.slice(d).replaceAll(kP,"")),y!==this.editorDiv){let b=h;for(const w of this.editorDiv.childNodes){if(w===y){b=u;continue}b.push(K(m=Cr,kf,wN).call(m,w))}}h.push(c.nodeValue.slice(0,d).replaceAll(kP,""))}else if(c===this.editorDiv){let y=h,b=0;for(const w of this.editorDiv.childNodes)b++===d&&(y=u),y.push(K(x=Cr,kf,wN).call(x,w))}V(this,Ia,`${h.join(`
`)}${i}${u.join(`
`)}`),K(this,Os,SN).call(this);const f=new Range;let g=h.reduce((y,b)=>y+b.length,0);for(const{firstChild:y}of this.editorDiv.childNodes)if(y.nodeType===Node.TEXT_NODE){const b=y.nodeValue.length;if(g<=b){f.setStart(y,g),f.setEnd(y,g);break}g-=b}o.removeAllRanges(),o.addRange(f)}get contentDiv(){return this.editorDiv}static deserialize(n,r,s){var a;let i=null;if(n instanceof pfe){const{data:{defaultAppearanceData:{fontSize:c,fontColor:d},rect:h,rotation:u,id:f},textContent:g,textPosition:v,parent:{page:{pageNumber:m}}}=n;if(!g||g.length===0)return null;i=n={annotationType:_n.FREETEXT,color:Array.from(d),fontSize:c,value:g.join(`
`),position:v,pageIndex:m-1,rect:h.slice(0),rotation:u,id:f,deleted:!1}}const o=super.deserialize(n,r,s);return V(o,La,n.fontSize),V(o,ic,xt.makeHexColor(...n.color)),V(o,Ia,K(a=Cr,kf,$5).call(a,n.value)),o.annotationElementId=n.id||null,V(o,O0,i),o}serialize(n=!1){if(this.isEmpty())return null;if(this.deleted)return{pageIndex:this.pageIndex,id:this.annotationElementId,deleted:!0};const r=Cr._internalPadding*this.parentScale,s=this.getRect(r,r),i=tr._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:P(this,ic)),o={annotationType:_n.FREETEXT,color:i,fontSize:P(this,La),value:K(this,Os,wfe).call(this),pageIndex:this.pageIndex,rect:s,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return n?o:this.annotationElementId&&!K(this,Os,Sfe).call(this,o)?null:(o.id=this.annotationElementId,o)}renderAnnotationElement(n){const r=super.renderAnnotationElement(n);if(this.deleted)return r;const{style:s}=r;s.fontSize=`calc(${P(this,La)}px * var(--scale-factor))`,s.color=P(this,ic),r.replaceChildren();for(const o of P(this,Ia).split(`
`)){const a=document.createElement("div");a.append(o?document.createTextNode(o):document.createElement("br")),r.append(a)}const i=Cr._internalPadding*this.parentScale;return n.updateEdited({rect:this.getRect(i,i),popupContent:P(this,Ia)}),r}resetAnnotationElement(n){super.resetAnnotationElement(n),n.resetEdited()}};QE=new WeakMap,ZE=new WeakMap,JE=new WeakMap,eA=new WeakMap,tA=new WeakMap,ic=new WeakMap,Ia=new WeakMap,nA=new WeakMap,La=new WeakMap,O0=new WeakMap,Os=new WeakSet,bfe=function(n){const r=i=>{this.editorDiv.style.fontSize=`calc(${i}px * var(--scale-factor))`,this.translate(0,-(i-P(this,La))*this.parentScale),V(this,La,i),K(this,Os,_N).call(this)},s=P(this,La);this.addCommands({cmd:r.bind(this,n),undo:r.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:zt.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})},xfe=function(n){const r=i=>{V(this,ic,this.editorDiv.style.color=i)},s=P(this,ic);this.addCommands({cmd:r.bind(this,n),undo:r.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:zt.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},_fe=function(){var r;const n=[];this.editorDiv.normalize();for(const s of this.editorDiv.childNodes)n.push(K(r=Cr,kf,wN).call(r,s));return n.join(`
`)},_N=function(){const[n,r]=this.parentDimensions;let s;if(this.isAttachedToDOM)s=this.div.getBoundingClientRect();else{const{currentLayer:i,div:o}=this,a=o.style.display,c=o.classList.contains("hidden");o.classList.remove("hidden"),o.style.display="hidden",i.div.append(this.div),s=o.getBoundingClientRect(),o.remove(),o.style.display=a,o.classList.toggle("hidden",c)}this.rotation%180===this.parentRotation%180?(this.width=s.width/n,this.height=s.height/r):(this.width=s.height/n,this.height=s.width/r),this.fixAndSetPosition()},kf=new WeakSet,wN=function(n){return(n.nodeType===Node.TEXT_NODE?n.nodeValue:n.innerText).replaceAll(kP,"")},SN=function(){if(this.editorDiv.replaceChildren(),!!P(this,Ia))for(const n of P(this,Ia).split(`
`)){const r=document.createElement("div");r.append(n?document.createTextNode(n):document.createElement("br")),this.editorDiv.append(r)}},wfe=function(){return P(this,Ia).replaceAll(" "," ")},$5=function(n){return n.replaceAll(" "," ")},Sfe=function(n){const{value:r,fontSize:s,color:i,pageIndex:o}=P(this,O0);return this._hasBeenMoved||n.value!==r||n.fontSize!==s||n.color.some((a,c)=>a!==i[c])||n.pageIndex!==o},G(Cr,kf),Be(Cr,"_freeTextDefaultContent",""),Be(Cr,"_internalPadding",0),Be(Cr,"_defaultColor",null),Be(Cr,"_defaultFontSize",10),Be(Cr,"_type","freetext"),Be(Cr,"_editorType",_n.FREETEXT);let j5=Cr;var rA,Bh,oc,Do,Cfe,CN,Efe,Afe,z5;class F5{constructor(t,n=0,r=0,s=!0){G(this,Do);G(this,rA);G(this,Bh,[]);G(this,oc,[]);let i=1/0,o=-1/0,a=1/0,c=-1/0;const d=10**-4;for(const{x,y,width:b,height:w}of t){const E=Math.floor((x-n)/d)*d,R=Math.ceil((x+b+n)/d)*d,T=Math.floor((y-n)/d)*d,N=Math.ceil((y+w+n)/d)*d,A=[E,T,N,!0],D=[R,T,N,!1];P(this,Bh).push(A,D),i=Math.min(i,E),o=Math.max(o,R),a=Math.min(a,T),c=Math.max(c,N)}const h=o-i+2*r,u=c-a+2*r,f=i-r,g=a-r,v=P(this,Bh).at(s?-1:-2),m=[v[0],v[2]];for(const x of P(this,Bh)){const[y,b,w]=x;x[0]=(y-f)/h,x[1]=(b-g)/u,x[2]=(w-g)/u}V(this,rA,{x:f,y:g,width:h,height:u,lastPoint:m})}getOutlines(){P(this,Bh).sort((n,r)=>n[0]-r[0]||n[1]-r[1]||n[2]-r[2]);const t=[];for(const n of P(this,Bh))n[3]?(t.push(...K(this,Do,z5).call(this,n)),K(this,Do,Efe).call(this,n)):(K(this,Do,Afe).call(this,n),t.push(...K(this,Do,z5).call(this,n)));return K(this,Do,Cfe).call(this,t)}}rA=new WeakMap,Bh=new WeakMap,oc=new WeakMap,Do=new WeakSet,Cfe=function(t){const n=[],r=new Set;for(const o of t){const[a,c,d]=o;n.push([a,c,o],[a,d,o])}n.sort((o,a)=>o[1]-a[1]||o[0]-a[0]);for(let o=0,a=n.length;o<a;o+=2){const c=n[o][2],d=n[o+1][2];c.push(d),d.push(c),r.add(c),r.add(d)}const s=[];let i;for(;r.size>0;){const o=r.values().next().value;let[a,c,d,h,u]=o;r.delete(o);let f=a,g=c;for(i=[a,d],s.push(i);;){let v;if(r.has(h))v=h;else if(r.has(u))v=u;else break;r.delete(v),[a,c,d,h,u]=v,f!==a&&(i.push(f,g,a,g===c?c:d),f=a),g=g===c?d:c}i.push(f,g)}return new Z5e(s,P(this,rA))},CN=function(t){const n=P(this,oc);let r=0,s=n.length-1;for(;r<=s;){const i=r+s>>1,o=n[i][0];if(o===t)return i;o<t?r=i+1:s=i-1}return s+1},Efe=function([,t,n]){const r=K(this,Do,CN).call(this,t);P(this,oc).splice(r,0,[t,n])},Afe=function([,t,n]){const r=K(this,Do,CN).call(this,t);for(let s=r;s<P(this,oc).length;s++){const[i,o]=P(this,oc)[s];if(i!==t)break;if(i===t&&o===n){P(this,oc).splice(s,1);return}}for(let s=r-1;s>=0;s--){const[i,o]=P(this,oc)[s];if(i!==t)break;if(i===t&&o===n){P(this,oc).splice(s,1);return}}},z5=function(t){const[n,r,s]=t,i=[[n,r,s]],o=K(this,Do,CN).call(this,s);for(let a=0;a<o;a++){const[c,d]=P(this,oc)[a];for(let h=0,u=i.length;h<u;h++){const[,f,g]=i[h];if(!(d<=f||g<=c)){if(f>=c){if(g>d)i[h][1]=d;else{if(u===1)return[];i.splice(h,1),h--,u--}continue}i[h][2]=c,g>d&&i.push([n,d,g])}}}return i};class Rfe{toSVGPath(){throw new Error("Abstract method `toSVGPath` must be implemented.")}get box(){throw new Error("Abstract getter `box` must be implemented.")}serialize(t,n){throw new Error("Abstract method `serialize` must be implemented.")}get free(){return this instanceof U5}}var sA,M0;class Z5e extends Rfe{constructor(n,r){super();G(this,sA);G(this,M0);V(this,M0,n),V(this,sA,r)}toSVGPath(){const n=[];for(const r of P(this,M0)){let[s,i]=r;n.push(`M${s} ${i}`);for(let o=2;o<r.length;o+=2){const a=r[o],c=r[o+1];a===s?(n.push(`V${c}`),i=c):c===i&&(n.push(`H${a}`),s=a)}n.push("Z")}return n.join(" ")}serialize([n,r,s,i],o){const a=[],c=s-n,d=i-r;for(const h of P(this,M0)){const u=new Array(h.length);for(let f=0;f<h.length;f+=2)u[f]=n+h[f]*c,u[f+1]=i-h[f+1]*d;a.push(u)}return a}get box(){return P(this,sA)}}sA=new WeakMap,M0=new WeakMap;var ru,cf,I0,L0,su,yn,ov,av,iA,oA,j0,$0,Uh,aA,Fk,zk,lA,B5;const Bd=class Bd{constructor({x:t,y:n},r,s,i,o,a=0){G(this,lA);G(this,ru);G(this,cf,[]);G(this,I0);G(this,L0);G(this,su,[]);G(this,yn,new Float64Array(18));G(this,ov);G(this,av);G(this,iA);G(this,oA);G(this,j0);G(this,$0);G(this,Uh,[]);V(this,ru,r
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N6e(e,t){if(e){if(typeof e=="string")return SY(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return SY(e,t)}}function SY(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function T6e(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],s=!0,i=!1,o,a;try{for(n=n.call(e);!(s=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));s=!0);}catch(c){i=!0,a=c}finally{try{!s&&n.return!=null&&n.return()}finally{if(i)throw a}}return r}}function k6e(e){if(Array.isArray(e))return e}var CY=(0,E6e.getSecurePrefix)(),D6e=function(){var t={};if(typeof window<"u")for(var n=new C6e.default,r=0,s=Object.entries(localStorage);r<s.length;r++){var i=R6e(s[r],2),o=i[0],a=i[1];if(o.startsWith(CY)){var c=o.replace(CY,"")[0],d=o.replace(/[.][bjns][.]/,"."),h=n.decrypt(a),u=null;if(h!=null)switch(c){case"b":u=h==="true";break;case"j":try{u=JSON.parse(h)}catch{u=null}break;case"n":try{u=Number(h)}catch{u=null}break;default:u=h}t[d]=u}}return t},O6e=D6e;JO.default=O6e;Object.defineProperty($W,"__esModule",{value:!0});var dl=$W.default=void 0,M6e=Rhe(SR),I6e=Rhe(JO),L6e=Su;function Rhe(e){return e&&e.__esModule?e:{default:e}}function j6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $6e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F6e(e,t,n){return t&&$6e(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function z6e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hk(e){"@babel/helpers - typeof";return hk=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hk(e)}var ON=(0,L6e.getSecurePrefix)(),B6e=function(t){return hk(t)==="object"?"j":typeof t=="boolean"?"b":typeof t=="number"?"n":"s"},EY=function(t,n){var r=B6e(n);return ON+"".concat(r,".")+t},U6e=function(){function e(){j6e(this,e),z6e(this,"_localStorageItems",{}),this._localStorageItems=(0,I6e.default)()}return F6e(e,[{key:"setItem",value:function(n,r){if(r==null)this.removeItem(n);else{var s=hk(r)==="object"?JSON.stringify(r):r+"",i=EY(n,r),o=ON+n;n!=null&&(this._localStorageItems[o]=r);var a=new M6e.default;localStorage.setItem(i,a.encrypt(s))}}},{key:"getItem",value:function(n){var r,s=ON+n;return(r=this._localStorageItems[s])!==null&&r!==void 0?r:null}},{key:"removeItem",value:function(n){var r=ON+n,s=this._localStorageItems[r],i=EY(n,s);this._localStorageItems[r]!==void 0&&delete this._localStorageItems[r],localStorage.removeItem(i)}},{key:"clear",value:function(){this._localStorageItems={},localStorage.clear()}}]),e}(),V6e=new U6e,H6e=V6e;dl=$W.default=H6e;const W6e={theme:"system",setTheme:()=>null},q6e=C.createContext(W6e);function G6e({children:e,defaultTheme:t="system",storageKey:n="vite-ui-theme",...r}){const[s,i]=C.useState(()=>dl.getItem(n)||t);C.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),s==="system"){const c=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(c);return}a.classList.add(s)},[s]);const o={theme:s,setTheme:a=>{dl.setItem(n,a),i(a)}};return _.jsx(q6e.Provider,{...r,value:o,children:e})}const Phe=C.createContext(null),K6e=()=>{const e=C.useContext(Phe);if(e===null)throw new Error("useWarnAboutChange must be used within a UnsavedWarnProvider");return e},zW=({isDirty:e=!1,title:t=ue("hooks.use_unsaved_changes_notifier.title"),subtitle:n=ue("hooks.use_unsaved_changes_notifier.subtitle"),confirmText:r=ue("hooks.use_unsaved_changes
appearance: none;
margin: 0;
border: 0;
color: white;
padding: 5px !important;
border-radius: 0 !important;
background: ${e=>e.hideBackground?"":`${En.blue} !important`};
transition: 0.2s all;
&:hover {
background: ${En.lightBlue};
}
`,sqe=Cx(ey)`
font-size: 14px;
font-weight: bold;
margin: 0 4px 0 auto;
background: none !important;
display: flex;
width: 25px;
height: 25px;
justify-content: center;
line-height: 14px !important;
border-radius: 50% !important;
padding: 0 !important;
transition: 0.2s all;
&:hover {
background: ${En.lightBlue};
}
&:active {
background: black;
}
`,iqe=Cx.input`
&::placeholder {
color: #b3b3b3;
}
&:focus::placeholder {
color: white;
}
`,oqe=Cx.table`
transition: 0.3s all;
&:hover {
background: ${En.primary};
}
`,aqe=({setVisible:e,control:t})=>{const{isValid:n}=XW({control:t});return C.createElement("header",{style:{display:"flex",alignItems:"center",paddingLeft:10,backgroundColor:"transparent"}},C.createElement("p",{style:Object.assign(Object.assign({},Er),{margin:0,padding:0,fontWeight:400,fontSize:12})},C.createElement("span",{style:{transition:"0.5s all",color:n?En.green:En.lightPink}},"■")," ","React Hook Form"),C.createElement(sqe,{title:"Close dev panel",onClick:()=>e(!1)},"✕"))},lqe=({refObject:e,hasError:t,isDirty:n,fieldsValues:r,isNative:s,errorMessage:i,errorType:o,type:a,isTouched:c,name:d,collapseAll:h})=>{const[u,f]=C.useState(!1);C.useEffect(()=>{f(!h)},[h]);let g=r?it(r,d):"",v=!1;if(!MY(g))if(GSe(g))try{g=C.createElement("pre",{style:{margin:0}},C.createElement("code",{style:{fontSize:12}},JSON.stringify(g,null,2))),v=!0}catch{g=C.createElement("span",null,"[Nested Object]")}else typeof g!="string"&&(g=String(g));return C.createElement(oqe,{style:{padding:"5px 8px",width:"100%",transition:".3s all",borderLeft:`2px solid ${t?En.secondary:En.buttonBlue}`,background:"none"}},C.createElement("thead",null,C.createElement("tr",null,C.createElement("td",{valign:"top",style:{width:85,lineHeight:"22px"}},C.createElement(ey,{onClick:()=>f(!u),title:"Toggle field table",style:{border:`1px solid ${En.lightBlue}`,borderRadius:2,padding:"3px 5px",display:"inline-block",fontSize:9,lineHeight:"13px",width:20,textAlign:"center",marginRight:8},type:"button"},u?"+":"-"),C.createElement(ey,{onClick:()=>{e.scrollIntoView&&e.scrollIntoView({behavior:"smooth"})},title:"Scroll into view",style:Object.assign({border:`1px solid ${En.lightBlue}`,borderRadius:2,padding:"3px 5px",display:"inline-block",fontSize:9,lineHeight:"13px",textAlign:"center",width:"calc(100% - 30px)"},s?{}:{cursor:"not-allowed",background:En.lightBlue}),type:"button"},s?"Native":"Custom")),C.createElement("td",{style:{display:"block",maxWidth:140}},C.createElement("p",{style:Object.assign(Object.assign({margin:0,padding:0,top:0,position:"relative",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},Er),{lineHeight:"24px"}),title:d},d)))),!u&&C.createElement("tbody",null,a&&C.createElement("tr",null,C.createElement("td",{align:"right",style:Object.assign({paddingRight:5,fontWeight:500,verticalAlign:"top"},Er)},"Type:"),C.createElement("td",{style:Object.assign({display:"block",maxWidth:100},Er)},a)),o&&C.createElement("tr",null,C.createElement("td",{align:"right",style:Object.assign({paddingRight:5,fontWeight:500,verticalAlign:"top"},Er)},"ERROR Type:"),C.createElement("td",{style:Object.assign({display:"block",maxWidth:100},Er)},o)),i&&C.createElement("tr",null,C.createElement("td",{align:"right",style:Object.assign({paddingRight:5,fontWeight:500,verticalAlign:"top"},Er)},"MESSAGE:"),C.createElement("td",{style:Object.assign({display:"block",maxWidth:100},Er)},typeof i=="string"?i.trim():JSON.stringify(i))),!MY(g)&&C.createElement("tr",null,C.createElement("td",{align:"right",style:Object.assign({paddingRight:5,fontWeight:500,verticalAlign:"top"},Er)},"Value:"),C.createElement("td",{"data-testid":`${d}-field-value`,style:Object.assign({display:"block",maxWidth:100},Er)},!v&&C.createElement("p",{title:g,style:Object.assign(Object.assign({},Er),{margin:0,padding:0})},g),v&&C.createElement("div",{style:Object.assign(Object.assign({},Er),{margin:0,padding:0})},g))),C.createElement("tr",null,C.createElement("td",{align:"right",style:Object.assign({paddingRight:5,fontWeight:500,verticalAlign:"top"},Er)},"Touched:"),C.createElement("td",null,C.createElement("code",{style:Object.assign(Object.assign({color:c?En.green:En.lightPink},Er),{fontSize:12})},c?"true":"false"))),C.createElement("tr",null,C.createElement("td",{align:"right",style:Object.assign({paddingRight:5,fontWeight:500,verticalAlign:"top"},Er)},"Dirty:"),C.createElement("td",null,C.createElement("code",{style:Object.assign(Object.assign({color:n?En.green:En.lightPink},Er),{fontSize:12})},n?"true":"false")))))},cqe=({formState:e,showFormState:t,setShowFormState:n})=>C.createElement("div",{style
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function mqe(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function KY(e){return Reflect.ownKeys(e).reduce((t,n)=>(t[n]=e[n],t),{})}function LP(e,t,n){return e.reduce((r,s)=>(r[s]=BB(t,s)||n,r),{})}function gqe({id:e,control:t}){const n=spe({control:t}),r=XW({control:t}),[s,i]=C.useState(!1),o=a=>{a.data.source!=="react-hook-form-bridge"||a.data.type!=="INIT"||(window.postMessage({source:"react-hook-form-bridge",type:"WELCOME"}),i(!0))};return C.useEffect(()=>(window.addEventListener("message",o),()=>window.removeEventListener("message",o)),[]),jWe(()=>{if(!s)return;const a=KY(r),{errors:c,dirtyFields:d,touchedFields:h}=a,u=mqe(a,["errors","dirtyFields","touchedFields"]),f=[...t._names.mount],g=LP(f,n,""),v=LP(f,d,!1),m=LP(f,h,!1),x=LP(f,c),y=Object.entries(x).reduce((E,[R,T])=>(E[R]={type:T==null?void 0:T.type,message:T==null?void 0:T.message},E),{}),b=f.reduce((E,R)=>{var T,N;const A=(T=BB(t._fields,R))===null||T===void 0?void 0:T._f;return E[R]=(N=BB(A,"ref"))===null||N===void 0?void 0:N.type,E},{}),w={id:e,data:{formValues:g,formState:Object.assign({errors:y,dirtyFields:v,touchedFields:m,nativeFields:b},u)}};window.postMessage({source:"react-hook-form-bridge",type:"UPDATE",payload:w})},[s,n,KY(r)]),{isExtensionEnabled:s}}typeof window<"u"&&y8e({visible:!1,isCollapse:!1,filterName:""},{name:"__REACT_HOOK_FORM_DEVTOOLS__",middleWares:[],storageType:window.localStorage});const vqe=e=>{var t,n,r;const s=YW(),i=C.useRef("");C.useEffect(()=>{i.current=C8e()},[]);const{isExtensionEnabled:o}=gqe({id:(t=e==null?void 0:e.id)!==null&&t!==void 0?t:i.current,control:(n=e==null?void 0:e.control)!==null&&n!==void 0?n:s.control});return o?null:C.createElement(v8e,null,C.createElement(pqe,{control:(r=e==null?void 0:e.control)!==null&&r!==void 0?r:s.control,placement:e==null?void 0:e.placement,styles:e==null?void 0:e.styles}))};var bk={exports:{}};/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/bk.exports;(function(e,t){(function(){var n,r="4.17.21",s=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",a="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",d=500,h="__lodash_placeholder__",u=1,f=2,g=4,v=1,m=2,x=1,y=2,b=4,w=8,E=16,R=32,T=64,N=128,A=256,D=512,O=30,I="...",$=800,F=16,B=1,W=2,Z=3,Y=1/0,H=9007199254740991,se=17976931348623157e292,he=NaN,re=4294967295,J=re-1,te=re>>>1,ae=[["ary",N],["bind",x],["bindKey",y],["curry",w],["curryRight",E],["flip",D],["partial",R],["partialRight",T],["rearg",A]],be="[object Arguments]",xe="[object Array]",ve="[object AsyncFunction]",Pe="[object Boolean]",Oe="[object Date]",ke="[object DOMException]",ze="[object Error]",$e="[object Function]",Te="[object GeneratorFunction]",Ue="[object Map]",wt="[object Number]",ut="[object Null]",St="[object Object]",Nn="[object Promise]",cn="[object Proxy]",hn="[object RegExp]",It="[object Set]",U="[object String]",ee="[object Symbol]",ie="[object Undefined]",_e="[object WeakMap]",we="[object WeakSet]",pe="[object ArrayBuffer]",Se="[object DataView]",Fe="[object Float32Array]",ft="[object Float64Array]",ht="[object Int8Array]",hs="[object Int16Array]",Mn="[object Int32Array]",Hr="[object Uint8Array]",Yt="[object Uint8ClampedArray]",un="[object Uint16Array]",xn="[object Uint32Array]",Ze=/\b__p \+= '';/g,Rt=/\b(__p \+=) '' \+/g,Pt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ut=/&(?:amp|lt|gt|quot|#39);/g,yt=/[&<>"']/g,dn=RegExp(Ut.source),Gt=RegExp(yt.source),Hn=/<%-([\s\S]+?)%>/g,In=/<%([\s\S]+?)%>/g,Tn=/<%=([\s\S]+?)%>/g,sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Kr=/^\w*$/,ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,de=/[\\^$.*+?()[\]{}|]/g,ye=RegExp(de.source),Ce=/^\s+/,Me=/\s/,Ge=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,lt=/\{\n\/\* \[wrapped with (.+)\] \*/,Ct=/,? & /,st=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dt=/[()=,{}\[\]\/\s]/,ot=/\\(\\)?/g,gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Lt=/\w*$/,Jt=/^[-+]0x[0-9a-f]+$/i,ps=/^0b[01]+$/i,Wn=/^\[object .+?Constructor\]$/,pn=/^0o[0-7]+$/i,wr=/^(?:0|[1-9]\d*)$/,Lc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,oo=/($^)/,fa=/['\n\r\u2028\u2029\\]/g,As="\\ud800-\\udfff",$p="\\u0300-\\u036f",Bu="\\ufe20-\\ufe2f",Tl="\\u20d0-\\u20ff",jc=$p+Bu+Tl,$c="\\u2700-\\u27bf",en="a-z\\xdf-\\xf6\\xf8-\\xff",Sr="\\xac\\xb1\\xd7\\xf7",Fc="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Uu="\\u2000-\\u206f",Wr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nl="A-Z\\xc0-\\xd6\\xd8-\\xde",Kf="\\ufe0e\\ufe0f",Fp=Sr+Fc+Uu+Wr,zp="[']",dM="["+As+"]",o_="["+Fp+"]",Vu="["+jc+"]",a_="\\d+",fM="["+$c+"]",l_="["+en+"]",c_="[^"+As+Fp+a_+$c+en+nl+"]",Bp="\\ud83c[\\udffb-\\udfff]",hM="(?:"+Vu+"|"+Bp+")",u_="[^"+As+"]",Up="(?:\\ud83c[\\udde6-\\uddff]){2}",Vp="[\\ud800-\\udbff][\\udc00-\\udfff]",ha="["+nl+"]",d_="\\u200d",f_="(?:"+l_+"|"+c_+")",pM="(?:"+ha+"|"+c_+")",h_="(?:"+zp+"(?:d|ll|m|re|s|t|ve))?",p_="(?:"+zp+"(?:D|LL|M|RE|S|T|VE))?",m_=hM+"?",g_="["+Kf+"]?",mM="(?:"+d_+"(?:"+[u_,Up,Vp].join("|")+")"+g_+m_+")*",gM="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",vM="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",v_=g_+m_+mM,yM="(?:"+[fM,Up,Vp].join("|")+")"+v_,bM="(?:"+[u_+Vu+"?",Vu,Up,Vp,dM].join("|")+")",xM=RegExp(zp,"g"),_M=RegExp(Vu,"g"),Hp=RegExp(Bp+"(?="+Bp+")|"+bM+v_,"g"),wM=RegExp([ha+"?"+l_+"+"+h_+"(?="+[o_,ha,"$"].join("|")+")",pM+"+"+p_+"(?="+[o_,ha+f_,"$"].join("|")+")",ha+"?"+f_+"+"+h_,ha+"+"+p_,vM,gM,a_,yM].join("|"),"g"),SM=RegExp("["+d_+As+jc+Kf+"]"),CM=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,EM=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],AM=-1,Tt
/* [wrapped with `+p+`] */
`)}function VL(l){return qe(l)||go(l)||!!(z_&&l&&l[z_])}function Fs(l,p){var S=typeof l;return p=p??H,!!p&&(S=="number"||S!="symbol"&&wr.test(l))&&l>-1&&l%1==0&&l<p}function jn(l,p,S){if(!jt(S))return!1;var k=typeof p;return(k=="number"?Kn(S)&&Fs(p,S.length):k=="string"&&p in S)?Qr(S[p],l):!1}function km(l,p){if(qe(l))return!1;var S=typeof l;return S=="number"||S=="symbol"||S=="boolean"||l==null||pr(l)?!0:Kr.test(l)||!sr.test(l)||p!=null&&l in Et(p)}function HL(l){var p=typeof l;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?l!=="__proto__":l===null}function Dm(l){var p=yd(l),S=L[p];if(typeof S!="function"||!(p in et.prototype))return!1;if(l===S)return!0;var k=Pm(S);return!!k&&l===k[0]}function WL(l){return!!L_&&L_ in l}var qL=Ku?zs:Ym;function Vl(l){var p=l&&l.constructor,S=typeof p=="function"&&p.prototype||ya;return l===S}function Lw(l){return l===l&&!jt(l)}function jw(l,p){return function(S){return S==null?!1:S[l]===p&&(p!==n||l in Et(S))}}function GL(l){var p=Cd(l,function(k){return S.size===d&&S.clear(),k}),S=p.cache;return p}function KL(l,p){var S=l[1],k=p[1],M=S|k,j=M<(x|y|N),z=k==N&&S==w||k==N&&S==A&&l[7].length<=p[8]||k==(N|A)&&p[7].length<=p[8]&&S==w;if(!(j||z))return l;k&x&&(l[2]=p[2],M|=S&x?0:b);var q=p[3];if(q){var Q=l[3];l[3]=Q?bw(Q,q,p[4]):q,l[4]=Q?mi(l[3],h):p[4]}return q=p[5],q&&(Q=l[5],l[5]=Q?xw(Q,q,p[6]):q,l[6]=Q?mi(l[5],h):p[6]),q=p[7],q&&(l[7]=q),k&N&&(l[8]=l[8]==null?p[8]:Sn(l[8],p[8])),l[9]==null&&(l[9]=p[9]),l[0]=p[0],l[1]=M,l}function YL(l){var p=[];if(l!=null)for(var S in Et(l))p.push(S);return p}function XL(l){return Xu.call(l)}function $w(l,p,S){return p=Qt(p===n?l.length-1:p,0),function(){for(var k=arguments,M=-1,j=Qt(k.length-p,0),z=ne(j);++M<j;)z[M]=k[p+M];M=-1;for(var q=ne(p+1);++M<p;)q[M]=k[M];return q[p]=S(z),dr(l,this,q)}}function Fw(l,p){return p.length<2?l:ho(l,Mr(p,0,-1))}function QL(l,p){for(var S=l.length,k=Sn(p.length,S),M=Gn(l);k--;){var j=p[k];l[k]=Fs(j,S)?M[j]:n}return l}function Om(l,p){if(!(p==="constructor"&&typeof l[p]=="function")&&p!="__proto__")return l[p]}var zw=Uw(cw),Hl=fI||function(l,p){return mn.setTimeout(l,p)},Mm=Uw(xL);function Bw(l,p,S){var k=p+"";return Mm(l,UL(k,ZL(FL(k),S)))}function Uw(l){var p=0,S=0;return function(){var k=gI(),M=F-(k-S);if(S=k,M>0){if(++p>=$)return arguments[0]}else p=0;return l.apply(n,arguments)}}function xd(l,p){var S=-1,k=l.length,M=k-1;for(p=p===n?k:p;++S<p;){var j=gm(S,M),z=l[j];l[j]=l[S],l[S]=z}return l.length=p,l}var Vw=GL(function(l){var p=[];return l.charCodeAt(0)===46&&p.push(""),l.replace(ir,function(S,k,M,j){p.push(M?j.replace(ot,"$1"):k||S)}),p});function vs(l){if(typeof l=="string"||pr(l))return l;var p=l+"";return p=="0"&&1/l==-1/0?"-0":p}function mo(l){if(l!=null){try{return Yu.call(l)}catch{}try{return l+""}catch{}}return""}function ZL(l,p){return Tr(ae,function(S){var k="_."+S[0];p&S[1]&&!Hu(l,k)&&l.push(k)}),l.sort()}function Hw(l){if(l instanceof et)return l.clone();var p=new Dr(l.__wrapped__,l.__chain__);return p.__actions__=Gn(l.__actions__),p.__index__=l.__index__,p.__values__=l.__values__,p}function JL(l,p,S){(S?jn(l,p,S):p===n)?p=1:p=Qt(Ke(p),0);var k=l==null?0:l.length;if(!k||p<1)return[];for(var M=0,j=0,z=ne(nd(k/p));M<k;)z[j++]=Mr(l,M,M+=p);return z}function ej(l){for(var p=-1,S=l==null?0:l.length,k=0,M=[];++p<S;){var j=l[p];j&&(M[k++]=j)}return M}function tj(){var l=arguments.length;if(!l)return[];for(var p=ne(l-1),S=arguments[0],k=l;k--;)p[k-1]=arguments[k];return pi(qe(S)?Gn(S):[S],gn(p,1))}var nj=Qe(function(l,p){return Vt(l)?$l(l,gn(p,1,Vt,!0)):[]}),rj=Qe(function(l,p){var S=Ir(p);return Vt(S)&&(S=n),Vt(l)?$l(l,gn(p,1,Vt,!0),Ie(S,2)):[]}),sj=Qe(function(l,p){var S=Ir(p);return Vt(S)&&(S=n),Vt(l)?$l(l,gn(p,1,Vt,!0),n,S):[]});function ij(l,p,S){var k=l==null?0:l.length;return k?(p=S||p===n?1:Ke(p),Mr(l,p<0?0:p,k)):[]}function oj(l,p,S){var k=l==null?0:l.length;return k?(p=S||p===n?1:Ke(p),p=k-p,Mr(l,0,p<0?0:p)):[]}function aj(l,p){return l&&l.length?fd(l,Ie(p,3),!0,!0):[]}function lj(l,p){return l&&l.length?fd(l,Ie(p,3),!0):[]}function cj(l,p,S,k){var M=l==null?0:l.length;return M?(S&&typeof S!
`;l.replace(Ee,function(je,Je,rt,mr,$n,gr){return rt||(rt=mr),me+=l.slice(le,gr).replace(fa,qM),Je&&(q=!0,me+=`' +
__e(`+Je+`) +
'`),$n&&(Q=!0,me+=`';
`+$n+`;
__p += '`),rt&&(me+=`' +
((__t = (`+rt+`)) == null ? '' : __t) +
'`),le=gr+je.length,je}),me+=`';
`;var Le=bt.call(p,"variable")&&p.variable;if(!Le)me=`with (obj) {
`+me+`
}
`;else if(dt.test(Le))throw new We(a);me=(Q?me.replace(Ze,""):me).replace(Rt,"$1").replace(Pt,"$1;"),me="function("+(Le||"obj")+`) {
`+(Le?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(q?", __e = _.escape":"")+(Q?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+me+`return __p
}`;var Xe=wS(function(){return pt(j,De+"return "+me).apply(n,z)});if(Xe.source=me,Fm(Xe))throw Xe;return Xe}function yF(l){return vt(l).toLowerCase()}function bF(l){return vt(l).toUpperCase()}function xF(l,p,S){if(l=vt(l),l&&(S||p===n))return k_(l);if(!l||!(p=hr(p)))return l;var k=Yr(l),M=Yr(p),j=D_(k,M),z=O_(k,M)+1;return xi(k,j,z).join("")}function _F(l,p,S){if(l=vt(l),l&&(S||p===n))return l.slice(0,I_(l)+1);if(!l||!(p=hr(p)))return l;var k=Yr(l),M=O_(k,Yr(p))+1;return xi(k,0,M).join("")}function wF(l,p,S){if(l=vt(l),l&&(S||p===n))return l.replace(Ce,"");if(!l||!(p=hr(p)))return l;var k=Yr(l),M=D_(k,Yr(p));return xi(k,M).join("")}function SF(l,p){var S=O,k=I;if(jt(p)){var M="separator"in p?p.separator:M;S="length"in p?Ke(p.length):S,k="omission"in p?hr(p.omission):k}l=vt(l);var j=l.length;if(ma(l)){var z=Yr(l);j=z.length}if(S>=j)return l;var q=S-ga(k);if(q<1)return k;var Q=z?xi(z,0,q).join(""):l.slice(0,q);if(M===n)return Q+k;if(z&&(q+=Q.length-q),zm(M)){if(l.slice(q).search(M)){var le,ce=Q;for(M.global||(M=nm(M.source,vt(Lt.exec(M))+"g")),M.lastIndex=0;le=M.exec(ce);)var me=le.index;Q=Q.slice(0,me===n?q:me)}}else if(l.indexOf(hr(M),q)!=q){var Ee=Q.lastIndexOf(M);Ee>-1&&(Q=Q.slice(0,Ee))}return Q+k}function CF(l){return l=vt(l),l&&dn.test(l)?l.replace(Ut,JM):l}var EF=Sa(function(l,p,S){return l+(S?" ":"")+p.toUpperCase()}),Vm=Sw("toUpperCase");function _S(l,p,S){return l=vt(l),p=S?n:p,p===n?KM(l)?nI(l):FM(l):l.match(p)||[]}var wS=Qe(function(l,p){try{return dr(l,n,p)}catch(S){return Fm(S)?S:new We(S)}}),AF=$s(function(l,p){return Tr(p,function(S){S=vs(S),Ls(l,S,jm(l[S],l))}),l});function RF(l){var p=l==null?0:l.length,S=Ie();return l=p?Ot(l,function(k){if(typeof k[1]!="function")throw new kr(o);return[S(k[0]),k[1]]}):[],Qe(function(k){for(var M=-1;++M<p;){var j=l[M];if(dr(j[0],this,k))return dr(j[1],this,k)}})}function PF(l){return JI(Or(l,u))}function Hm(l){return function(){return l}}function NF(l,p){return l==null||l!==l?p:l}var TF=Ew(),kF=Ew(!0);function Xn(l){return l}function Wm(l){return tw(typeof l=="function"?l:Or(l,u))}function DF(l){return rw(Or(l,u))}function OF(l,p){return sw(l,Or(p,u))}var MF=Qe(function(l,p){return function(S){return Fl(S,l,p)}}),IF=Qe(function(l,p){return function(S){return Fl(l,S,p)}});function qm(l,p,S){var k=rn(p),M=cd(p,k);S==null&&!(jt(p)&&(M.length||!k.length))&&(S=p,p=l,l=this,M=cd(p,rn(p)));var j=!(jt(S)&&"chain"in S)||!!S.chain,z=zs(l);return Tr(M,function(q){var Q=p[q];l[q]=Q,z&&(l.prototype[q]=function(){var le=this.__chain__;if(j||le){var ce=l(this.__wrapped__),me=ce.__actions__=Gn(this.__actions__);return me.push({func:Q,args:arguments,thisArg:l}),ce.__chain__=le,ce}return Q.apply(l,pi([this.value()],arguments))})}),l}function LF(){return mn._===this&&(mn._=lI),this}function Gm(){}function jF(l){return l=Ke(l),Qe(function(p){return iw(p,l)})}var $F=Cm(Ot),FF=Cm(A_),zF=Cm(Yp);function SS(l){return km(l)?Xp(vs(l)):gL(l)}function BF(l){return function(p){return l==null?n:ho(l,p)}}var UF=Rw(),VF=Rw(!0);function Km(){return[]}function Ym(){return!1}function HF(){return{}}function WF(){return""}function qF(){return!0}function GF(l,p){if(l=Ke(l),l<1||l>H)return[];var S=re,k=Sn(l,re);p=Ie(p),l-=re;for(var M=Jp(k,p);++S<l;)p(S);return M}function KF(l){return qe(l)?Ot(l,vs):pr(l)?[l]:Gn(Vw(vt(l)))}function YF(l){var p=++oI;return vt(l)+p}var XF=md(function(l,p){return l+p},0),QF=Em("ceil"),ZF=md(function(l,p){return l/p},1),JF=Em("floor");function e3(l){return l&&l.length?ld(l,Xn,um):n}function t3(l,p){return l&&l.length?ld(l,Ie(p,2),um):n}function n3(l){return N_(l,Xn)}function r3(l,p){return N_(l,Ie(p,2))}function s3(l){return l&&l.length?ld(l,Xn,pm):n}function i3(l,p){return l&&l.length?ld(l,Ie(p,2),pm):n}var o3=md(function(l,p){return l*p},1),a3=Em("round"),l3=md(function(l,p){return l-p},0);function c3(l){return l&&l.length?Zp(l,Xn):0}function u3(l,p){return l&&l.length?Zp(l,Ie(p,2)):0}return L.after=D2,L.ary=eS,L.assign=b$,L.assignIn=pS,L.assignInWith=Pd,L.assignWith=x$,L.at=_$,L.before=tS,L.bind=jm,L.bindAll=AF,L.bindKey=nS,L.castArray=H2,L.chain=Qw,L.chunk=JL,L.compact=ej,L.
Hanging rods: CHROME/ BLACK\r
Glass drawer fronts: STRAIGHT / "U" - FLOAT BRONZE C-424 \r
Drawer handle: xxxxx / Drawers: 4 DE 180 MM.\r
Shoe rack door: YES/NO / Profile finish: BLACK LACQUER / SILVER MATTE\r
Shoe cabinet door glass finish: FLOAT BRONZE C-424\r
Composed of:`},{id:2000000084,code:"CAP_FRE_ARM_ABATIBLE_EN",title:"CHARACTERISTICS OF THE FRONT OF THE HINGED WARDROBE",body:`Size of opening: 2275x1390 mm.\r
Model: ARGO / Finish: LACQUER / Colour: TO BE DETERMINED\r
Door thickness: 22 or 19 mm\r
Door finish: SMOOTH \r
Handle: KNOB TO BE DETERMINED\r
Hardware finish: CHROME OR ANTHRACITE\r
Perimetral doorposts: VISIBLE, REMETED OR COMBI TO BE DETERMINED.\r
Number of doors: 2 \r
Composed of:`},{id:2000000089,code:"CAP_FRE_ARM_CORREDERA_EN",title:"Size of opening: 2440x5180mm. ",body:`Model: PANORAMIC P.O. / Finish: LACQUER / Colour: WHITE\r
No. of listers: NO LISTELS / Panels finish: LACQUERED PANEL \r
Handle: \r
Perimeter frame: \r
of doors: \r
INCORPORATED HYDRAULIC BRAKE (not available in lower doors of 650 mm.) OR INCORPORATED MAGNETIC BRAKE. \r
Composed of:`},{id:2000000092,code:"CAP_INT_ARM_FORRADO_EN",title:"Finish: MELAMINE / colour: TO BE DETERMINED",body:`Thickness block: 19 mm / Thickness complements: 19 mm.\r
Hanging rods: CHROME/ BLACK\r
Glass drawer fronts: STRAIGHT / "U" - FLOAT BRONZE C-424 \r
Drawer handle: xxxxx / Drawers: 4 DE 180 MM.\r
Composed of:`},{id:2000000109,code:"CAP_INT_EST_CRISTAL_EN",title:"Frames finish: BLACK ANODIZED",body:`Side frame panel finish: BRONZE FLOAT BRONZE GLASS C-424\r
Rear panel finish: BRONZE FLOAT GLASS C-424\r
Complements finish: MELAMIN / Colour: DENBER OAK M-242\r
Thickness of accessories: 25 mm.\r
Hanging bars: BLACK\r
Glass drawer fronts: STRAIGHT / "U" - FLOAT BRONZE C-424 \r
Drawer handle: xxxxx / Drawers: 4 DE 180 MM.\r
Composed of:`},{id:2000000095,code:"CAP_SEP_AMBIENTES_EN",title:"CHARACTERISTICS SEPARATION OF ROOMS",body:`Size of opening: 2450x3000 mm.\r
Model: LYN / Finish: ANODISED / Colour: BLACK\r
No. of crosspieces: 2 HORIZONTAL CROSSBARS\r
Panel finish: TRANSPARENT TEMPLARED \r
Handle: DOUBLE PER DOOR\r
Brake: DOUBLE PER DOOR (OPENING AND CLOSING)\r
Guide: VISTA (DOUBLE EMBELLECEDOR)\r
Number of panels: 2 SLIDING + 2 FIXED`}],es:[{id:54,code:"CAP_CLA_SEMI_SUSPENDIDO_ES",title:"Acabado: MELAMINA / color: A DETERMINAR",body:`Espesor bloque: 25 mm. / Espesor complementos: 25 mm.\r
Barras de colgar: CROMO/ NEGRA/ BRONCE\r
Frentes cristal cajones: RECTO / U FLOAT BRONCE C-424\r
Tirador cajones: FRENTE BAJO / Cajones: 4 DE 180 MM. A DETERMINAR\r
Baldas deslizantes: X DE 145 MM. A DETERMINAR\r
Compuesto por:`},{id:52,code:"CAP_FRE_ARM_ABATIBLE_ES",title:"CARACTERISTICAS FRENTE DE ARMARIO",body:`Medida de hueco: 2275x1390 mm.\r
Modelo: ARGO / Acabado: LACADO / Color: A DETERMINAR\r
Grosor hoja: 22 o 19 mm\r
Acabado de hojas: LISAS\r
Tirador: UÑERO A DETERMINAR\r
Acabado herrajes: CROMADO O ANTRACITA\r
Jambas perimetrales: VISTAS, REMETIDAS O COMBI A DETERMINAR.\r
de hojas: 2\r
Compuesto por:`},{id:51,code:"CAP_FRE_ARM_CORREDERA_ES",title:"CARACTERISTICAS FRENTE DE ARMARIO",body:`Medida de Hueco:2440x5180mm.\r
Modelo: PANORAMIC P.O. / Acabado: LACADO / Color: BLANCO\r
de lístelos: SIN LISTELOS / Acabado paneles: PANEL LACADO\r
Tirador:\r
Cerco perimetral: \r
de hojas:\r
FRENO HIDRAULICO INCORPORADO O FRENO MAGNETICO INCORPORADO\r
Compuesto por:`},{id:53,code:"CAP_INT_ARM_FORRADO_ES",title:"CARACTERISTICAS INTERIOR DE ARMARIO",body:`Acabado: MELAMINA / color: A DETERMINAR\r
Espesor bloque: 19 mm. / Espesor complementos: 19 mm.\r
Barras de colgar: CROMO/ NEGRA/ BRONCE\r
Frentes cristal cajones: RECTO / U FLOAT BRONCE C-424\r
Tirador cajones: FRENTE BAJO / Cajones: 4 DE 180 MM. A DETERMINAR\r
Baldas deslizantes: X DE 145 MM. A DETERMINAR\r
Compuesto por:`},{id:2000000108,code:"CAP_INT_EST_CRISTAL_ES",title:"Acabado bastidores: ANODIZADO NEGRO",body:`Acabado panel bastidores laterales: CRISTAL TEMPLADO FLOAT BRONCE C-424\r
Acabado trasera: CRISTAL TEMPLADO FLOAT BRONCE C-424\r
Acabado complementos: MELAMINA / Color: ROBLE DENBER M-242\r
Espesor complementos: 25 mm.\r
Barras de colgar: NEGRA\r
Frentes cristal cajones: RECTO / U FLOAT BRONCE C-424 \r
Tirador cajones: xxxxx / Cajones: 4 DE 180 MM.\r
Compuesto por:`},{id:50,code:"CAP_SEP_AMBIENTES_ES",title:"CARACTERISTICAS SEPARACIÓN DE AMBIENTES",body:`Medida de Hueco: 2450x3000 mm.\r
Modelo: LYN / Acabado: ANODIZADO / Color: NEGRO\r
de travesaños: 2 TRAVESAÑOS HORIZONTALES\r
Acabado paneles: TRANSPARENTE TEMPLADO \r
Tirador: DOBLE POR PUERTA\r
Freno: DOBLE POR PUERTA (APERTURA Y CIERRE)\r
Guía: VISTA (DOBLE EMBELLECEDOR)\r
de hojas: 2 CORREDERAS + 2 FIJOS`}]},XY=({onSelect:e})=>{const{i18n:t}=AW(),[n]=C.useState(t.resolvedLanguage||"es"),[r]=C.useState(Rqe[n.toLowerCase()]);return console.log(n),_.jsx(sO,{className:"h-96",children:_.jsx("div",{className:"flex flex-col gap-2 p-4 pt-0",children:r&&r.sort((s,i)=>s.title.localeCompare(i.title)).map((s,i)=>_.jsx("button",{className:"flex flex-col items-start gap-2 p-3 text-sm text-left transition-all border rounded-lg hover:bg-accent",onClick:()=>e&&e(s,1),children:_.jsxs("div",{className:"flex flex-col w-full gap-1",children:[_.jsx("div",{className:"flex items-center",children:_.jsx("div",{className:"flex items-center gap-2",children:_.jsx("div",{className:"font-semibold",children:s.title})})}),_.jsx("div",{className:"text-xs line-clamp-2 text-muted-foreground",children:_.jsx("p",{dangerouslySetInnerHTML:{__html:s.body.substring(0,300).replace(`\r
`,"<br>")}})})]})},s.id))})})},Pqe=({isOpen:e,onOpenChange:t,onSelect:n})=>xhe("(min-width: 768px)")?_.jsx(Fx,{modal:!0,open:e,onOpenChange:t,children:_.jsxs(cy,{className:"w-full max-w-full md:w-9/12 lg:w-10/12",children:[_.jsxs(uy,{children:[_.jsx(fy,{children:ue("quotes.blocks_picker_dialog.title")}),_.jsx(GA,{children:ue("quotes.blocks_picker_dialog.description")})]}),_.jsx(XY,{onSelect:n}),_.jsx(dy,{children:_.jsx(at,{type:"submit",onClick:()=>t(!1),children:ue("common.close")})})]})}):_.jsx(a8,{open:e,onOpenChange:t,children:_.jsxs(l8,{children:[_.jsxs(c8,{className:"text-left",children:[_.jsx(d8,{children:ue("quotes.blocks_picker_dialog.title")}),_.jsx(f8,{children:ue("quotes.blocks_picker_dialog.description")})]}),_.jsx(XY,{onSelect:n}),_.jsx(u8,{className:"pt-2",children:_.jsx(Gre,{asChild:!0,children:_.jsx(at,{variant:"outline",children:ue("common.close")})})})]})}),Nqe=({isOpen:e,onOpenChange:t,onSelect:n})=>xhe("(min-width: 768px)")?_.jsx(Fx,{modal:!0,open:e,onOpenChange:t,children:_.jsxs(cy,{className:"w-full max-w-full md:w-9/12 lg:w-10/12",children:[_.jsxs(uy,{children:[_.jsx(fy,{children:ue("quotes.catalog_picker_dialog.title")}),_.jsx(GA,{children:ue("quotes.catalog_picker_dialog.description")})]}),_.jsx(mx,{syncWithLocation:!1,initialPageSize:5,children:_.jsx(yV,{onSelect:n})}),_.jsx(dy,{children:_.jsx(at,{type:"submit",onClick:()=>t(!1),children:ue("common.close")})})]})}):_.jsx(a8,{open:e,onOpenChange:t,children:_.jsxs(l8,{children:[_.jsxs(c8,{className:"text-left",children:[_.jsx(d8,{children:ue("quotes.catalog_picker_dialog.title")}),_.jsx(f8,{children:ue("quotes.catalog_picker_dialog.description")})]}),_.jsx(mx,{syncWithLocation:!1,initialPageSize:5,children:_.jsx(yV,{onSelect:n})}),_.jsx(u8,{className:"pt-2",children:_.jsx(Gre,{asChild:!0,children:_.jsx(at,{variant:"outline",children:ue("common.close")})})})]})}),Tqe=({currency:e,language:t,defaultValues:n})=>{const{toast:r}=Fu(),{control:s,register:i}=ua(),[o]=C.useState("dialog"),[a,c]=C.useState(!1),[d,h]=C.useState(!1),{fields:u,...f}=fOe({control:s,name:"items"}),g=d8e([{id:"description",accessorKey:"description",header:ue("quotes.form_fields.items.description.label"),cell:({row:{index:E,original:R}})=>_.jsx(gc,{readOnly:R==null?void 0:R.id_article,autoSize:!0,...i(`items.${E}.description`)}),minSize:200,size:400},{id:"quantity",accessorKey:"quantity",header:()=>_.jsx("div",{className:"text-right",children:ue("quotes.form_fields.items.quantity.label")}),cell:({row:{index:E}})=>_.jsx(lBe,{scale:0,className:"text-right",...i(`items.${E}.quantity`)}),size:75},{id:"unit_price",accessorKey:"unit_price",header:()=>_.jsx("div",{className:"text-right",children:ue("quotes.form_fields.items.unit_price.label")}),cell:({row:{index:E}})=>_.jsx(iN,{currency:e,language:t,scale:2,className:"text-right",...i(`items.${E}.unit_price`)}),size:125},{id:"subtotal_price",accessorKey:"subtotal_price",header:()=>_.jsx("div",{className:"text-right",children:ue("quotes.form_fields.items.subtotal_price.label")}),cell:({row:{index:E}})=>_.jsx(iN,{variant:"ghost",currency:e,language:t,scale:2,readOnly:!0,className:"text-right",...i(`items.${E}.subtotal_price`)}),size:150},{id:"discount",accessorKey:"discount",header:()=>_.jsx("div",{className:"text-right",children:ue("quotes.form_fields.items.discount.label")}),cell:({row:{index:E}})=>_.jsx(sk,{scale:2,className:"text-right",...i(`items.${E}.discount`)}),size:100},{id:"total_price",accessorKey:"total_price",header:()=>_.jsx("div",{className:"text-right",children:ue("quotes.form_fields.items.total_price.label")}),cell:({row:{index:E}})=>_.jsx(iN,{variant:"ghost",currency:e,language:t,scale:2,readOnly:!0,className:"font-semibold text-right",...i(`items.${E}.total_price`)}),size:150}],{enableDragHandleColumn:!0,enableSelectionColumn:!0,enableActionsColumn:!0,rowActionFn:E=>{const{table:R,row:T}=E;return[{label:ue("common.duplicate_row"),icon:_.jsx(DH,{className:"w-4 h-4 mr-2"}),onClick:()=>{var N;return(N=R.options.meta)==null?void 0:N.duplicateItems(T.index)}},{label:ue("common.insert_row_above"),icon:_.jsx(bJ,{className:"
${E.body}`,quantity:{amount:null,scale:xp.DEFAULT_SCALE},unit_price:{amount:null,scale:KFe.DEFAULT_SCALE},discount:{amount:null,scale:2}}),r({title:ue("quotes.blocks_picker_dialog.toast_article_added"),description:E.title})},[f]),[x,y]=C.useState(!1),b=[265,440,655],w=4;return o==="dialog"?_.jsxs("div",{className:"relative",children:[_.jsx(YY,{actions:{...f,pickCatalogArticle:()=>c(!0),pickBlock:()=>h(!0)},columns:g,data:u,defaultValues:n}),_.jsx(Nqe,{onSelect:v,isOpen:a,onOpenChange:c}),_.jsx(Pqe,{onSelect:m,isOpen:d,onOpenChange:h})]}):_.jsxs(qIe,{direction:"horizontal",autoSaveId:"uecko.quotes.details_layout",className:"items-stretch h-full",children:[_.jsx(A7,{defaultSize:b[0],collapsedSize:w,collapsible:!0,minSize:50,maxSize:90,onCollapse:()=>{y(!0)},onExpand:()=>{y(!1)},className:ge(x&&"min-w-[50px] transition-all duration-300 ease-in-out"),children:_.jsx(YY,{actions:f,columns:g,data:u,defaultValues:n})}),_.jsx(GIe,{withHandle:!0,className:"mx-3"}),_.jsx(A7,{defaultSize:b[1],minSize:10,children:_.jsx(mx,{syncWithLocation:!1,children:_.jsx(yV,{onSelect:v})})})]})},kqe=()=>{const{register:e,formState:t}=ua();return _.jsxs("div",{className:"grid gap-6 md:grid-cols-6",children:[_.jsxs(rk,{className:"md:col-span-6",title:ue("quotes.create.form_groups.general.title"),description:ue("quotes.create.form_groups.general.desc"),children:[_.jsxs("div",{className:"grid grid-cols-6 gap-6",children:[_.jsx(mg,{required:!0,className:"col-span-2",label:ue("quotes.form_fields.customer_reference.label"),description:ue("quotes.form_fields.customer_reference.desc"),disabled:t.disabled,placeholder:ue("quotes.form_fields.customer_reference.placeholder"),...e("customer_reference")}),_.jsx(Yue,{required:!0,label:ue("quotes.form_fields.date.label"),description:ue("quotes.form_fields.date.desc"),disabled:t.disabled,placeholder:ue("quotes.form_fields.date.placeholder"),...e("date",{required:!0})}),_.jsx(mg,{label:ue("quotes.form_fields.validity.label"),description:ue("quotes.form_fields.validity.desc"),disabled:t.disabled,placeholder:ue("quotes.form_fields.validity.placeholder"),...e("validity",{required:!1})}),_.jsx(gc,{className:"col-span-2",label:ue("quotes.form_fields.payment_method.label"),description:ue("quotes.form_fields.payment_method.desc"),disabled:t.disabled,placeholder:ue("quotes.form_fields.payment_method.placeholder"),...e("payment_method",{required:!1})})]}),_.jsxs("div",{className:"grid grid-cols-6 gap-6",children:[_.jsx(gc,{className:"col-span-3",required:!0,label:ue("quotes.form_fields.customer_information.label"),description:ue("quotes.form_fields.customer_information.desc"),disabled:t.disabled,placeholder:ue("quotes.form_fields.customer_information.placeholder"),...e("customer_information",{required:!0}),errors:t.errors}),_.jsx(gc,{className:"col-span-3",label:ue("quotes.form_fields.notes.label"),description:ue("quotes.form_fields.notes.desc"),disabled:t.disabled,placeholder:ue("quotes.form_fields.notes.placeholder"),...e("notes",{required:!1})})]})]}),_.jsx(rk,{className:"hidden md:col-span-2",title:ue("quotes.create.form_groups.status.title"),description:ue("quotes.create.form_groups.status.desc"),children:_.jsxs("div",{className:"grid gap-6",children:[_.jsxs("div",{className:"grid gap-3",children:[_.jsx(gy,{htmlFor:"status",children:"Status"}),_.jsxs(U8,{children:[_.jsx(lO,{id:"status","aria-label":"Select status",children:_.jsx(V8,{placeholder:"Select status"})}),_.jsxs(cO,{children:[_.jsx(Ib,{value:"draft",children:"Draft"}),_.jsx(Ib,{value:"published",children:"Active"}),_.jsx(Ib,{value:"archived",children:"Archived"})]})]})]}),_.jsx(mg,{required:!0,label:ue("quotes.form_fields.lang_code.label"),description:ue("quotes.form_fields.lang_code.desc"),placeholder:ue("quotes.form_fields.lang_code.placeholder"),...e("lang_code",{required:!0})}),_.jsx(mg,{required:!0,label:ue("quotes.form_fields.currency_code.label"),description:ue("quotes.form_fields.currency_code.desc"),placeholder:ue("quotes.form_fields.currency_code.placeholder"),...e("currency_code",{required:!0})})]})})]})},ppe=({id:e,onSentTo:t,disabled:n})=>{const r
`).map((se,he)=>_.jsxs("span",{className:he===0?"font-medium":"hidden text-sm text-muted-foreground md:inline",children:[se,_.jsx("br",{})]},he))}),size:500}],Y=[{id:"row-actions",header:()=>null,cell:({row:{original:H}})=>{const se=(H==null?void 0:H.status)==="accepted"&&!(H!=null&&H.date_sent),he=(H==null?void 0:H.status)==="accepted"&&!!(H!=null&&H.date_sent),re=(H==null?void 0:H.status)==="archived";return _.jsxs("div",{className:"flex gap-1",children:[_.jsxs(Yv,{className:"gap-0",children:[_.jsxs(Mi,{children:[_.jsx(Ii,{asChild:!0,children:_.jsxs(at,{variant:"ghost",size:"icon",disabled:he,onClick:J=>{J.preventDefault(),O(H)},children:[_.jsx(AJ,{className:"w-4 h-4"}),_.jsx("span",{className:"sr-only",children:"Editar"})]})}),_.jsx(di,{children:_.jsx("p",{children:"Editar"})})]}),_.jsxs(Mi,{children:[_.jsx(Ii,{asChild:!0,children:_.jsxs(at,{variant:"ghost",size:"icon",onClick:J=>{J.preventDefault(),I(H.id)},children:[_.jsx(DH,{className:"w-4 h-4"}),_.jsx("span",{className:"sr-only",children:"Duplicar"})]})}),_.jsx(di,{children:_.jsx("p",{children:"Duplicar"})})]}),_.jsxs(Mi,{children:[_.jsx(Ii,{asChild:!0,children:_.jsxs(at,{variant:"ghost",size:"icon",onClick:()=>{T(H.id,m(H))},children:[_.jsx(wJ,{className:"w-4 h-4"}),_.jsx("span",{className:"sr-only",children:"Descargar"})]})}),_.jsx(di,{children:_.jsx("p",{children:"Descargar"})})]}),_.jsxs(Mi,{children:[_.jsx(Ii,{asChild:!0,children:_.jsxs(at,{variant:"ghost",size:"icon",disabled:re||he,onClick:J=>{J.preventDefault(),$(H.id)},children:[_.jsx(yJ,{className:"w-4 h-4"}),_.jsx("span",{className:"sr-only",children:"Archivar"})]})}),_.jsx(di,{children:_.jsx("p",{children:"Archivar"})})]})]}),_.jsx(Yv,{children:_.jsx(ppe,{id:H.id,onSentTo:()=>null,disabled:he||!se})})]})}}];return t?Z:[...Z,...Y]},[t]),{table:W}=XO({data:(b==null?void 0:b.items)??[],columns:B,pageCount:(b==null?void 0:b.total_pages)??-1});return C.useEffect(()=>{W&&b&&(b==null?void 0:b.total_pages)>0&&h(W.getRowModel().rows[0])},[b,W]),E?_.jsx(Ip,{subtitle:R.message}):w?_.jsxs("div",{className:"grid items-start flex-1 gap-4 sm:py-0 md:gap-8 lg:grid-cols-3 xl:grid-cols-3",children:[_.jsx(bs,{className:"grid items-start gap-4 auto-rows-max md:gap-8 lg:col-span-2",children:_.jsx(xs,{children:_.jsx(MO,{columnCount:6,searchableColumnCount:1,filterableColumnCount:2,shrinkZero:!0})})}),_.jsx("div",{})]}):(b==null?void 0:b.total_items)===0&&!c?_.jsx(bs,{children:_.jsx(xs,{children:_.jsx(IO,{subtitle:"Empieza creando alguna cotización",buttonText:ue("quotes.create.title"),onButtonClick:()=>n("add",{relative:"path"})})})}):_.jsxs(_.Fragment,{children:[_.jsxs("div",{className:"flex flex-col items-stretch flex-1 gap-4 xl:flex-row",children:[_.jsx("div",{id:s,className:"flex items-stretch flex-1",children:_.jsx(PO,{table:W,paginationOptions:{visible:!0},className:"grid items-start flex-1 gap-4 auto-rows-max md:gap-8 lg:col-span-2",onRowClick:A,activeRowIndex:d==null?void 0:d.index,children:_.jsx(Mhe,{table:W})})}),t&&_.jsx("div",{id:i,className:"flex items-stretch ",children:_.jsx(Mqe,{quoteId:d==null?void 0:d.original.id})})]}),_.jsx(fpe,{...N,onFinishDownload:D})]})},Lqe=()=>{const e=io(),t=g8e(),{toast:n}=Fu(),[r,s]=C.useState(Rv.createDefaultCode().object),[i,o]=C.useState(U1.createDefaultCode().object),a=C.useMemo(()=>({date:"",reference:"",customer_reference:"",customer_information:"",lang_code:"",currency_code:"",payment_method:"",notes:"",validity:"",subtotal_price:{amount:void 0,scale:2,currency_code:""},discount:{amount:0,scale:0},discount_price:{amount:0,scale:0,currency_code:""},before_tax_price:{amount:void 0,scale:2,currency_code:""},tax:{amount:void 0,scale:0},tax_price:{amount:void 0,scale:2,currency_code:""},total_price:{amount:void 0,scale:2,currency_code:""},items:[{id_article:"",description:"",quantity:{amount:void 0,scale:2},unit_price:{amount:void 0,scale:2,currency_code:""},subtotal_price:{amount:void 0,scale:2,currency_code:""},discount:{amount:void 0,scale:2},total_price:{amount:void 0,scale:2,currency_code:""}}]}),[]),{useOne:c,useUpdate:d}=ER(),{data:h,status:u,error:f}=c(t),{mutate:g,i
`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||t[n]&&KGe[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},tX=Symbol("internals");function n1(e){return e&&String(e).trim().toLowerCase()}function FN(e){return e===!1||e==null?e:Ne.isArray(e)?e.map(FN):String(e)}function XGe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const QGe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Cz(e,t,n,r,s){if(Ne.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!Ne.isString(t)){if(Ne.isString(r))return t.indexOf(r)!==-1;if(Ne.isRegExp(r))return r.test(t)}}function ZGe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function JGe(e,t){const n=Ne.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,i,o){return this[r].call(this,t,s,i,o)},configurable:!0})})}let oa=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(a,c,d){const h=n1(c);if(!h)throw new Error("header name must be a non-empty string");const u=Ne.findKey(s,h);(!u||s[u]===void 0||d===!0||d===void 0&&s[u]!==!1)&&(s[u||c]=FN(a))}const o=(a,c)=>Ne.forEach(a,(d,h)=>i(d,h,c));if(Ne.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(Ne.isString(t)&&(t=t.trim())&&!QGe(t))o(YGe(t),n);else if(Ne.isHeaders(t))for(const[a,c]of t.entries())i(c,a,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=n1(t),t){const r=Ne.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return XGe(s);if(Ne.isFunction(n))return n.call(this,s,r);if(Ne.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=n1(t),t){const r=Ne.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Cz(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(o){if(o=n1(o),o){const a=Ne.findKey(r,o);a&&(!n||Cz(r,r[a],a,n))&&(delete r[a],s=!0)}}return Ne.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!t||Cz(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return Ne.forEach(this,(s,i)=>{const o=Ne.findKey(r,i);if(o){n[o]=FN(s),delete n[i];return}const a=t?ZGe(i):String(i).trim();a!==i&&delete n[i],n[a]=FN(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Ne.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&Ne.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[tX]=this[tX]={accessors:{}}).accessors,s=this.prototype;function i(o){const a=n1(o);r[a]||(JGe(s,o),r[a]=!0)}return Ne.isArray(t)?t.forEach(i):i(t),this}};oa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ne.reduceDescriptors(oa.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Ne.freezeMethods(oa);function Ez(e,t){const n=this||TR,r=t||n,s=oa.from(r.headers);let i=r.data;return Ne.forEach(e,function(a){i=a.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function Tpe(e){return!!(e&&e.__CANCEL__)}function i_(e,t,n){qt.call(this,e??"canceled",qt.ERR_CANCELED,t,n),this.name="CanceledError"}Ne.inherits(i_,qt,{__CANCEL__:!0});function kpe(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new qt("Request failed with status code "+n.status,[qt.ERR_BAD_REQUEST,qt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function e9e(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function t9e(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(c){const d=Date.now(),h=r[i];o||(o=d),n[s]=c,r[s]=d;let u=i,f=0;for(;u!==s;)f+=n[u++],u=u%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),d-o<t)return;const g=h&&d-h;return g?Math.round(f*1e3/g):void 0}}function n9e(e,t){let n=0,r=1e3/t,s,i;const o=(d,h=Date.now())=>{n=h,s=null,i&&(clearTimeout(i),i=null),e.apply(null,d)};return[(...d)=>{const h=Date.now(),u=h-n;u>=r?o(d,h):(s=d,i||(i=setTimeout(()=>{i=null,o(s)},r-u)))},()=>s&&o(s)]}const xk=(e,t,n=3)=>{let r=0;const s=t9e(50,250);return n9e(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,c=o-r,d=s(c),h=o<=a;r=o;const u={loaded:o,total:a,progress:a?o/a:void 0,bytes:c,rate:d||void 0,estimated:d&&a&&h?(a-o)/d:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(u)},n)},nX=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},rX=e=>(...t)=>Ne.asap(()=>e(...t)),r9e=no.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,no.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(no.origin),no.navigator&&/(msie|trident)/i.test(no.navigator.userAgent)):()=>!0,s9e=no.hasStandardBrowserEnv?{write(e,t,n,r,s,i){const o=[e+"="+encodeURIComponent(t)];Ne.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),Ne.isString(r)&&o.push("path="+r),Ne.isString(s)&&o.push("domain="+s),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function i9e(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function o9e(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Dpe(e,t,n){let r=!i9e(t);return e&&(r||n==!1)?o9e(e,t):t}const sX=e=>e instanceof oa?{...e}:e;function ty(e,t){t=t||{};const n={};function r(d,h,u,f){return Ne.isPlainObject(d)&&Ne.isPlainObject(h)?Ne.merge.call({caseless:f},d,h):Ne.isPlainObject(h)?Ne.merge({},h):Ne.isArray(h)?h.slice():h}function s(d,h,u,f){if(Ne.isUndefined(h)){if(!Ne.isUndefined(d))return r(void 0,d,u,f)}else return r(d,h,u,f)}function i(d,h){if(!Ne.isUndefined(h))return r(void 0,h)}function o(d,h){if(Ne.isUndefined(h)){if(!Ne.isUndefined(d))return r(void 0,d)}else return r(void 0,h)}function a(d,h,u){if(u in t)return r(d,h);if(u in e)return r(void 0,d)}const c={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPa
`+i.map(aX).join(`
`):" "+aX(i[0]):"as no adapter specified";throw new qt("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:SV};function Az(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i_(null,e)}function lX(e){return Az(e),e.headers=oa.from(e.headers),e.data=Ez.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Lpe.getAdapter(e.adapter||TR.adapter)(e).then(function(r){return Az(e),r.data=Ez.call(e,e.transformResponse,r),r.headers=oa.from(r.headers),r},function(r){return Tpe(r)||(Az(e),r&&r.response&&(r.response.data=Ez.call(e,e.transformResponse,r.response),r.response.headers=oa.from(r.response.headers))),Promise.reject(r)})}const jpe="1.8.4",uM={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{uM[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const cX={};uM.transitional=function(t,n,r){function s(i,o){return"[Axios v"+jpe+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,a)=>{if(t===!1)throw new qt(s(o," has been removed"+(n?" in "+n:"")),qt.ERR_DEPRECATED);return n&&!cX[o]&&(cX[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};uM.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function b9e(e,t,n){if(typeof e!="object")throw new qt("options must be an object",qt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const i=r[s],o=t[i];if(o){const a=e[i],c=a===void 0||o(a,i,e);if(c!==!0)throw new qt("option "+i+" must be "+c,qt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new qt("Unknown option "+i,qt.ERR_BAD_OPTION)}}const zN={assertOptions:b9e,validators:uM},Uc=zN.validators;let Nv=class{constructor(t){this.defaults=t,this.interceptors={request:new eX,response:new eX}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ty(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&zN.assertOptions(r,{silentJSONParsing:Uc.transitional(Uc.boolean),forcedJSONParsing:Uc.transitional(Uc.boolean),clarifyTimeoutError:Uc.transitional(Uc.boolean)},!1),s!=null&&(Ne.isFunction(s)?n.paramsSerializer={serialize:s}:zN.assertOptions(s,{encode:Uc.function,serialize:Uc.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),zN.assertOptions(n,{baseUrl:Uc.spelling("baseURL"),withXsrfToken:Uc.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&Ne.merge(i.common,i[n.method]);i&&Ne.forEach(["delete","get","head","post","put","patch","common"],v=>{delete i[v]}),n.headers=oa.concat(o,i);const a=[];let c=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(c=c&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const d=[];this.interceptors.response.forEach(function(m){d.push(m.fulfilled,m.rejected)});let h,u=0,f;if(!c){const v=[lX.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,d),f=v.length,h=Promise.resolve(n);u<f;)h=h.then(v[u++],v[u++]);return h}f=a.length;let g=n;for(u=0;u<f;){const v=a[u++],m=a[u++];try{g=v(g)}catch(x){m.call(this,x);break}}try{h=lX.call(this,g)}catch(v){return Promise.reject(v)}for(u=0,f=d.length;u<f;)h=h.then(d[u++],d[u++]);return h}getUri(t){t=ty(this.defaults,t);const n=Dpe(t.baseURL,t.url,t.allowAbsoluteUrls);return Rpe(n,t.params,t.paramsSerializer)}};Ne.forEach(["delete","get","head","options"],function(t){Nv.prototype[t]=function(n,r){return this.request(ty(r||{},{method:t,url:n,data:(r||{}).data}))}});Ne.forEach(["post","put","patch"],function(t){function n(r){return function(i,o,a){return this.request(ty(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Nv.prototype[t]=n(),Nv.prototype[t+"Form"]=n(!0)});let x9e=class $pe{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(s=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(a=>{r.subscribe(a),i=a}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,a){r.reason||(r.reason=new i_(i,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new $pe(function(s){t=s}),cancel:t}}};function _9e(e){return function(n){return e.apply(null,n)}}function w9e(e){return Ne.isObject(e)&&e.isAxiosError===!0}const CV={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHe
If you continue, you will lose the changes.`,confirm_text:"Continue",cancel_text:"Cancel"}},main_menu:{home:"Home",settings:"Settings",dealers:"Dealers",catalog:"Catalog",quotes:"Quotes",orders:"Orders",search_placeholder:"Type here for search quotes and articles",user:{user_menu:"User menu",my_account:"My account",profile:"Profile",settings:"Settings",support:"Support",logout:"Logout"},logout_dialog:{title:"Confirm",description:"Are you sure you want to log out?",confirm_label:"Log out",cancel_label:"Cancel"}},login_page:{title:"Partner intranet",description:"Enter your email address and password to login",email_label:"Email",email_placeholder:"myemail@sample.com",password_label:"Password",forgotten_password:"Forgot your password?",become_dealer:"Do you want to become a Uecko partner?",contact_us:"Contact us",login:"Log in"},dashboard:{welcome:"Welcome"},catalog:{list:{title:"Catalog of articles",columns:{description:"Description",points:"Points",retail_price:"Retail price",quantity:"quantity"}}},quotes:{list:{title:"Quotes",subtitle:"",tabs_title:"Status",tabs:{all:"All",draft:"Draft",ready:"Ready",delivered:"Delivered",accepted:"Accepted",rejected:"Rejected",archived:"Archived"},columns:{date:"Date",date_sent:"Sent to Uecko",reference:"Reference",status:"Status",customer_reference:"Customer Ref.",customer_information:"Customer",total_price:"Imp. total",actions:{edit:"Edit quote",sent_to:"Send to Uecko"}},resume:{title:"Quote",download_quote:"Download quote",tabs:{resume:"Resume",preview:"Preview"},quote_information:"Quote Information",customer_information:"Customer Information",payment_information:"Payment Information",price_information:"Quote totals"}},create:{title:"New quote",tabs:{general:"General data",items:"Quote items",preview:"Quote preview",documents:"Documents",history:"History"},form_groups:{general:{title:"General Data",desc:"General data and quote customer"},status:{title:"Status",desc:"Quote status"},items:{title:"Quote Items",desc:"Quote detail lines. Use the catalog to make it easier to fill in the content."},documents:{title:"Attached Documents",desc:"Attach documents such as photos, drawings, sketches, etc. to your quotation."},history:{title:"History",desc:"Quote history"}},edit:{title:"Quote"}},edit:{title:"Quote",buttons:{save_quote:"Save quote"}},duplicate_action:{toast_success:"Quote duplicated"},downloading_dialog:{title:"Downloading quote",description:"Please wait while your quotation is generated and downloaded in PDF format...",progress:{label:"Download is in {{status}}",status_in_progress:"in progress",status_stopped:"stopped",value_label:"Elapsed time in seconds {{elapsed}}"},cancel_button:"Cancel the download",toast_success:"Quote downloaded"},catalog_picker_dialog:{title:"Select catalog items",description:"To complete your quote, you can add items from the catalog.",toast_article_added:"Catalog item added:"},blocks_picker_dialog:{title:"Select a text block",description:"To complete your quote, you can default text blocks.",toast_article_added:"Text block added:"},quote_status_editor:{trigger_button:"Change quote status",title:"Change quote status",status:{draft:{title:"Draft",description:"The quote is in the initial stages of creation."},ready:{title:"Ready",description:"The quote is completed and ready to be delivered to the customer."},delivered:{title:"Delivered",description:"The quote has been sent to the client and a response is awaited."},accepted:{title:"Accepted",description:"The customer has approved the quote."},rejected:{title:"Rejected",description:"The customer has not accepted the quotation."},archived:{title:"Archived",description:"The quote is archived."}},submit_button:"Change status",toast_status_changed:"Quote status changed to: {{newStatus}}"},status:{draft:"Draft",ready:"Ready",delivered:"Delivered",accepted:"Accepted",rejected:"Rejected",archived:"Archived"},form_fields:{date:{label:"Date",desc:"Quote's date",placeholder:""},reference:{label:"Reference",desc:"Quote reference",placeholder:""},status:{label:"Status",desc:"Quote status",placeholder:""},lang_code:{lab
Street and number
zip code and city or state...`},payment_method:{label:"Payment method",placeholder:"",desc:"Method of payment for this quote"},notes:{label:"Notes",placeholder:"",desc:"Quote's notes"},validity:{label:"Validity time",placeholder:"",desc:"Quote's validity time"},subtotal_price:{label:"Subtotal",placeholder:"",desc:"Quote subtotal"},discount:{label:"Discount (%)",placeholder:"",desc:"Percentage discount"},discount_value:{label:"Discount ({{value}}%)",placeholder:"",desc:"Percentage discount"},discount_price:{label:"Discount price",placeholder:"",desc:"Percentage discount price"},before_tax_price:{label:"Before tax price",placeholder:"",desc:"Before tax price"},tax:{label:"Tax (%)",placeholder:"",desc:"Percentage Tax"},tax_value:{label:"Tax ({{value}}%)",placeholder:"",desc:"Percentage Tax"},tax_price:{label:"Tax price",placeholder:"",desc:"Percentage tax price"},total_price:{label:"Total price",placeholder:"",desc:"Quote total price"},items:{quantity:{label:"Quantity",placeholder:"",desc:""},description:{label:"Description",placeholder:"",desc:""},unit_price:{label:"Unit price",placeholder:"",desc:"Item unit price"},subtotal_price:{label:"Subtotal",placeholder:"",desc:""},discount:{label:"Dto (%)",placeholder:"",desc:"Percentage discount"},total_price:{label:"Total price",placeholder:"",desc:"Total price with percentage discount"}}}},settings:{edit:{title:"Settings",subtitle:"",tabs:{profile:"Profile settings",quotes:"Quote settings",legal:"Legal settings"}},form_fields:{image:{label:"Logotype",placeholder:"",desc:""},contact_information:{label:"Your contact information",placeholder:"",desc:"Your contact information as a dealer that will appear on the quotes given to your customers."},default_tax:{label:"Default tax (%)",placeholder:"",desc:"Default tax rate for your quotes"},default_legal_terms:{label:"Legal terms",placeholder:"",desc:"Legal information to be included at the end of your quotes"},default_payment_method:{label:"Payment method",placeholder:"",desc:"Default payment method to be used for new quotes"},default_notes:{label:"Notes",placeholder:"",desc:"Default notes to be used for new quotes"},default_quote_validity:{label:"Quote validity",placeholder:"",desc:"Default validity time to be used for new quotes"}}}},X9e={translation:Y9e},Q9e={common:{required:"obligatorio",cancel:"Cancelar",no:"No",yes:"Sí",save:"Guardar",save_close:"Guardar y Cerrar",accept:"Aceptar",discard:"Descartar",hide:"Ocultar",back:"Volver",upload:"Cargar",continue:"Continuar",close:"Cerrar",more:"More",add:"Añadir",sort_asc:"Asc",sort_asc_description:"En order ascendente. Click para ordenar descendentemente.",sort_desc:"Desc",sort_desc_description:"En orden descendente. Click para ordenar ascendentemente.",sort_none_description:"Sin orden. Click para ordenar ascendentemente.",rows_selected:"{{count}} fila(s) seleccionadas.",rows_selected_of_total:"{{count}} de {{total}} fila(s) seleccionadas.",rows_per_page:"Filas por página",num_page_of_total:"Página {{count}} de {{total}}",go_to_first_page:"Ir a la primera página",go_to_prev_page:"Ir a la página anterior",go_to_next_page:"Ir a la página siguiente",go_to_last_page:"Ir a la última página",error:"Error",actions:"Acciones",open_menu:"Abrir el menú",duplicate_row:"Duplicar",duplicate_selected_rows:"Duplicar",duplicate_selected_rows_tooltip:"Duplica las fila(s) seleccionadas(s)",append_empty_row:"Añadir fila",append_empty_row_tooltip:"Añadir una fila vacía",append_article:"Añadir artículo",append_article_tooltip:"Elegir un artículo del catálogo y añadirlo",append_block:"Añadir bloque de texto",append_block_tooltip:"Elegir un bloque de texto y añadirlo",move_row:"Mover fila",remove_row:"Eliminar",remove_selected_rows:"Eliminar",remove_selected_rows_tooltip:"Elimina las fila(s) seleccionadas(s)",reset_selected_rows:"Quitar selection",reset_selected_rows_tooltip:"Dejar de seleccionar la(s) fila(s)",insert_row_above:"Insertar fila encima",insert_row_below:"Insertar fila debajo",pick_date:"Elige una fecha",required_field:"Este campo es obligatorio",unsaved_changes_prompt:"Los ú
Si continúa, perderá los cambios.`,confirm_text:"Continuar",cancel_text:"No continuar"}},main_menu:{home:"Inicio",settings:"Ajustes",dealers:"Distribuidores",catalog:"Catálogo",quotes:"Cotizaciones",orders:"Pedidos",search_placeholder:"Buscar productos, cotizaciones, etc...",user:{user_menu:"Menú del usuario",my_account:"Mi cuenta",profile:"Perfil",settings:"Ajustes",support:"Soporte",logout:"Salir"},logout_dialog:{title:"Salir de la cuenta",description:"¿Desea salir de su cuenta?",confirm_label:"Salir",cancel_label:"Cancelar"}},login_page:{title:"Presupuestador para distribuidores",description:"Introduzca su dirección de correo electrónico y contraseña para acceder",email_label:"Email",email_placeholder:"micorreo@ejemplo.com",password_label:"Contraseña",forgotten_password:"¿Has olvidado tu contraseña?",become_dealer:"¿Quieres ser distribuidor de Uecko?",contact_us:"Contacta con nosotros",login:"Entrar"},dashboard:{welcome:"Bienvenido"},catalog:{list:{title:"Catálogo de artículos",columns:{description:"Descripción",points:"Puntos",retail_price:"PVP",quantity:"Cantidad"}}},quotes:{list:{title:"Cotizaciones",subtitle:"",tabs_title:"Estados",tabs:{all:"Todas",draft:"Borradores",ready:"Preparados",delivered:"Entregado",accepted:"Aceptados",rejected:"Rechazados",archived:"Archivados"},columns:{date:"Fecha",date_sent:"Enviado a Uecko",reference:"Referencia",status:"Estado",customer_reference:"Ref. cliente",customer_information:"Cliente",total_price:"Imp. total",actions:{edit:"Editar",sent_to:"Enviar a Uecko"}},resume:{title:"Cotización",download_quote:"Descargar",tabs:{resume:"Resumen",preview:"Previsualización"},quote_information:"Información",customer_information:"Cliente",payment_information:"Pago",price_information:"Importes"}},create:{title:"Nueva cotización",tabs:{general:"Datos generales",items:"Contenido",preview:"Vista previa",documents:"Documentos",history:"Historial"},form_groups:{general:{title:"Datos generales",desc:"Datos generales y cliente al que va la cotización"},status:{title:"Estado",desc:"Estado de la cotización"},items:{title:"Contenido de la cotización",desc:"Líneas de detalle de la cotización. Ayúdese del catálogo para rellenar más fácilmente el contenido."},documents:{title:"Documentos",desc:"Añada adjuntar con su cotización documentos como fotos, planos, croquis, etc."},history:{title:"Historial",desc:"Historial de la cotización"}},edit:{title:"Cotización"}},edit:{title:"Cotización",buttons:{save_quote:"Guardar cotización"}},duplicate_action:{toast_success:"Cotización duplicada"},downloading_dialog:{title:"Descargando cotización",description:"Espere mientras se genera la cotización y se descarga en formato PDF...",progress:{label:"La descarga está {{status}}",status_in_progress:"en marcha",status_stopped:"parada",value_label:"Elapsed time in seconds {{elapsed}}"},cancel_button:"Cancelar la descarga",toast_success:"Cotización descargada"},catalog_picker_dialog:{title:"Seleccionar artículos del catálogo",description:"Para rellenar su cotización, puede añadir artículos del catálogo.",toast_article_added:"Artículo del catálogo añadido:"},blocks_picker_dialog:{title:"Selecctionar bloques de texto",description:"Para ayudar a rellenar la cotización, puede añadir bloques de texto predefinidos de esta lista.",toast_article_added:"Bloque de texto añadido:"},quote_sent_to_editor:{trigger_button:"Enviar a Uecko",title:"Enviar la cotización a Uecko",description:"¿Desea enviar esta cotización a Uecko? Esta acción no se puede deshacer.",submit_button:"Enviar",toast_status_changed:"Cotización enviada a Uecko"},quote_status_editor:{trigger_button:"Cambiar el estado",title:"Cambiar el estado de la cotización",status:{draft:{title:"Borrador",description:"La cotización está en fase inicial de creación."},ready:{title:"Preparado",description:"La cotización está completo y listo para ser entregado al cliente."},delivered:{title:"Entregado",description:"La cotización ha sido enviado al cliente y se espera su respuesta."},accepted:{title:"Aceptado",description:"
Calle y número
Código postal y ciudad...`},payment_method:{label:"Forma de pago",placeholder:"placeholder",desc:"Forma de pago que se utilizará en esta cotización"},notes:{label:"Notas",placeholder:"",desc:"Notas a incluir en la cotización"},validity:{label:"Validez de la cotización",placeholder:"",desc:"Validez de la cotización"},subtotal_price:{label:"Importe neto",placeholder:"",desc:""},discount:{label:"Descuento (%)",placeholder:"",desc:"Porcentaje de descuento"},discount_value:{label:"Descuento ({{value}}%)",placeholder:"",desc:"Porcentaje de descuento"},discount_price:{label:"Imp. descuento",placeholder:"",desc:"Importe del descuento"},before_tax_price:{label:"Base imponible",placeholder:"",desc:""},tax:{label:"IVA (%)",placeholder:"",desc:"Porcentaje de IVA"},tax_value:{label:"IVA ({{value}}%)",placeholder:"",desc:"Porcentaje de IVA"},tax_price:{label:"Imp. IVA",placeholder:"",desc:"Importe del IVA"},total_price:{label:"Total price",placeholder:"",desc:"Quote total price"},items:{quantity:{label:"Cantidad",placeholder:"",desc:""},description:{label:"Descripción",placeholder:"",desc:""},unit_price:{label:"Imp. unitario",placeholder:"",desc:"Importe unitario del artículo"},subtotal_price:{label:"Subtotal",placeholder:"",desc:""},discount:{label:"Dto (%)",placeholder:"",desc:"Porcentaje de descuento"},total_price:{label:"Imp. total",placeholder:"",desc:"Importe total con el descuento ya aplicado"}}}},settings:{edit:{title:"Ajustes",subtitle:"",tabs:{profile:"Ajustes de perfil",quotes:"Ajustes legales",legal:"Ajustes para cotizaciones"}},form_fields:{logo:{label:"Logotipo",placeholder:"",desc:"Este logotipo aparecerá en las propuestas exportadas en PDF",requirements:"Se permiten ficheros JPG o PNG. Las dimensiones del logotipo deben ser 200x100 píxeles o proporcionales.",upload:"Subir logotipo",invalid_format:"Sólo se permiten ficheros JPG o PNG",invalid_dimensions:"Las dimensiones del logotipo deben ser 200x100 píxeles o proporcionales."},contact_information:{label:"Información de contacto",placeholder:"",desc:"Esta información de contacto aparecerá en las cotizaciones que entregue a sus clientes."},default_tax:{label:"IVA por defecto (%)",placeholder:"",desc:"Porcentaje de IVA por defecto en las cotizaciones"},default_legal_terms:{label:"Cláusulas legales",placeholder:"",desc:"Texto de texto legal que desee incluir en todas las cotizaciones nuevas"},default_payment_method:{label:"Forma de pago",placeholder:"",desc:"Texto para la forma de pago que se utilizará en las cotizaciones nuevas"},default_notes:{label:"Notas",placeholder:"",desc:"Notas a incluir en todas las cotizaciones nuevas"},default_quote_validity:{label:"Validez por defecto",placeholder:"",desc:"Texto para indicar el tiempo de validez de la cotización"}}},support:{modal:{title:"Enviar una incidencia",subtitle:"Utiliza este formulario para informar sobre cualquier problema que hayas encontrado mientras usabas la aplicación. Nuestro equipo de desarrollo revisará tu incidencia y tratará de resolverla."},form_fields:{}}},Z9e={translation:Q9e};Bi.use(Wpe).use(jBe).init({detection:{order:["navigator"]},debug:!1,fallbackLng:"es",interpolation:{escapeValue:!1},resources:{ca:K9e,en:X9e,es:Z9e}});function J9e(){const e=new jve({defaultOptions:{queries:{retry:!1,staleTime:1e4}}});return _.jsx(BBe,{i18n:Bi,children:_.jsx(Uve,{client:e,children:_.jsx(JFe,{dataSource:N9e("https://presupuestos.uecko.com:13001/api/v1"),children:_.jsx(_ve,{authActions:P9e("https://presupuestos.uecko.com:13001/api/v1"),children:_.jsxs(G6e,{defaultTheme:"light",storageKey:"vite-ui-theme",children:[_.jsx(wce,{delayDuration:0,children:_.jsx(Nhe,{children:_.jsx(C.Suspense,{fallback:_.jsx(Ou,{}),children:_.jsx(Gqe,{})})})}),_.jsx(tce,{}),_.jsx(IHe,{}),_.jsx(Y6e,{initialIsOpen:!1})]})})})})})}Rz.createRoot(document.getElementById("uecko")).render(_.jsx(fe.StrictMode,{children:_.jsx(J9e,{})}));