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

327 lines
1.7 MiB
JavaScript
Raw Normal View History

2026-10-08 17:46:43 +00:00
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-oEuJT1z9.js","assets/index-DtTssDoC.css"])))=>i.map(i=>d[i]);
2026-10-08 10:42:55 +00:00
var _le=Object.defineProperty;var Aj=t=>{throw TypeError(t)};var xle=(t,e,n)=>e in t?_le(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var He=(t,e,n)=>xle(t,typeof e!="symbol"?e+"":e,n),xP=(t,e,n)=>e.has(t)||Aj("Cannot "+n);var C=(t,e,n)=>(xP(t,e,"read from private field"),n?n.call(t):e.get(t)),z=(t,e,n)=>e.has(t)?Aj("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),$=(t,e,n,r)=>(xP(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),B=(t,e,n)=>(xP(t,e,"access private method"),n);var vs=(t,e,n,r)=>({set _(s){$(t,e,s,n)},get _(){return C(t,e,r)}});function f5(t,e){for(var n=0;n<e.length;n++){const r=e[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in t)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(t,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.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 a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).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 yr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Dd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Sle(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),n}var h5={exports:{}},v1={},p5={exports:{}},Lt={};/**
2026-09-25 11:19:08 +00:00
* @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 Kw=Symbol.for("react.element"),Ele=Symbol.for("react.portal"),Cle=Symbol.for("react.fragment"),Ale=Symbol.for("react.strict_mode"),Rle=Symbol.for("react.profiler"),Ple=Symbol.for("react.provider"),Tle=Symbol.for("react.context"),kle=Symbol.for("react.forward_ref"),Dle=Symbol.for("react.suspense"),Nle=Symbol.for("react.memo"),Mle=Symbol.for("react.lazy"),Rj=Symbol.iterator;function Ole(t){return t===null||typeof t!="object"?null:(t=Rj&&t[Rj]||t["@@iterator"],typeof t=="function"?t:null)}var m5={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g5=Object.assign,v5={};function mv(t,e,n){this.props=t,this.context=e,this.refs=v5,this.updater=n||m5}mv.prototype.isReactComponent={};mv.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,e,"setState")};mv.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function y5(){}y5.prototype=mv.prototype;function aO(t,e,n){this.props=t,this.context=e,this.refs=v5,this.updater=n||m5}var lO=aO.prototype=new y5;lO.constructor=aO;g5(lO,mv.prototype);lO.isPureReactComponent=!0;var Pj=Array.isArray,b5=Object.prototype.hasOwnProperty,cO={current:null},w5={key:!0,ref:!0,__self:!0,__source:!0};function _5(t,e,n){var r,s={},i=null,a=null;if(e!=null)for(r in e.ref!==void 0&&(a=e.ref),e.key!==void 0&&(i=""+e.key),e)b5.call(e,r)&&!w5.hasOwnProperty(r)&&(s[r]=e[r]);var o=arguments.length-2;if(o===1)s.children=n;else if(1<o){for(var c=Array(o),u=0;u<o;u++)c[u]=arguments[u+2];s.children=c}if(t&&t.defaultProps)for(r in o=t.defaultProps,o)s[r]===void 0&&(s[r]=o[r]);return{$$typeof:Kw,type:t,key:i,ref:a,props:s,_owner:cO.current}}function Lle(t,e){return{$$typeof:Kw,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function uO(t){return typeof t=="object"&&t!==null&&t.$$typeof===Kw}function Ile(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var Tj=/\/+/g;function SP(t,e){return typeof t=="object"&&t!==null&&t.key!=null?Ile(""+t.key):e.toString(36)}function PS(t,e,n,r,s){var i=typeof t;(i==="undefined"||i==="boolean")&&(t=null);var a=!1;if(t===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case Kw:case Ele:a=!0}}if(a)return a=t,s=s(a),t=r===""?"."+SP(a,0):r,Pj(s)?(n="",t!=null&&(n=t.replace(Tj,"$&/")+"/"),PS(s,e,n,"",function(u){return u})):s!=null&&(uO(s)&&(s=Lle(s,n+(!s.key||a&&a.key===s.key?"":(""+s.key).replace(Tj,"$&/")+"/")+t)),e.push(s)),1;if(a=0,r=r===""?".":r+":",Pj(t))for(var o=0;o<t.length;o++){i=t[o];var c=r+SP(i,o);a+=PS(i,e,n,c,s)}else if(c=Ole(t),typeof c=="function")for(t=c.call(t),o=0;!(i=t.next()).done;)i=i.value,c=r+SP(i,o++),a+=PS(i,e,n,c,s);else if(i==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return a}function Nx(t,e,n){if(t==null)return t;var r=[],s=0;return PS(t,r,"","",function(i){return e.call(n,i,s++)}),r}function $le(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){(t._status===0||t._status===-1)&&(t._status=1,t._result=n)},function(n){(t._status===0||t._status===-1)&&(t._status=2,t._result=n)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Qs={current:null},TS={transition:null},Fle={ReactCurrentDispatcher:Qs,ReactCurrentBatchConfig:TS,ReactCurrentOwner:cO};function x5(){throw Error("act(...) is not supported in production builds of React.")}Lt.Children={map:Nx,forEach:function(t,e,n){Nx(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return Nx(t,function(){e++}),e},toArray:function(t){return Nx(t,function(e){return e})||[]},only:function(t){if(!uO(t))throw Error("React.Children.only expect
2026-09-25 11:19:08 +00:00
* @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 jle=_,zle=Symbol.for("react.element"),Ble=Symbol.for("react.fragment"),Ule=Object.prototype.hasOwnProperty,Hle=jle.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Vle={key:!0,ref:!0,__self:!0,__source:!0};function S5(t,e,n){var r,s={},i=null,a=null;n!==void 0&&(i=""+n),e.key!==void 0&&(i=""+e.key),e.ref!==void 0&&(a=e.ref);for(r in e)Ule.call(e,r)&&!Vle.hasOwnProperty(r)&&(s[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps,e)s[r]===void 0&&(s[r]=e[r]);return{$$typeof:zle,type:t,key:i,ref:a,props:s,_owner:Hle.current}}v1.Fragment=Ble;v1.jsx=S5;v1.jsxs=S5;h5.exports=v1;var P=h5.exports,Sk={},E5={exports:{}},ao={},C5={exports:{}},A5={};/**
2026-09-25 11:19:08 +00:00
* @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(t){function e(H,ee){var re=H.length;H.push(ee);e:for(;0<re;){var X=re-1>>>1,G=H[X];if(0<s(G,ee))H[X]=ee,H[re]=G,re=X;else break e}}function n(H){return H.length===0?null:H[0]}function r(H){if(H.length===0)return null;var ee=H[0],re=H.pop();if(re!==ee){H[0]=re;e:for(var X=0,G=H.length,K=G>>>1;X<K;){var Z=2*(X+1)-1,ue=H[Z],de=Z+1,ie=H[de];if(0>s(ue,re))de<G&&0>s(ie,ue)?(H[X]=ie,H[de]=re,X=de):(H[X]=ue,H[Z]=re,X=Z);else if(de<G&&0>s(ie,re))H[X]=ie,H[de]=re,X=de;else break e}}return ee}function s(H,ee){var re=H.sortIndex-ee.sortIndex;return re!==0?re:H.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;t.unstable_now=function(){return i.now()}}else{var a=Date,o=a.now();t.unstable_now=function(){return a.now()-o}}var c=[],u=[],f=1,l=null,d=3,m=!1,p=!1,h=!1,y=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,v=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 ee=n(u);ee!==null;){if(ee.callback===null)r(u);else if(ee.startTime<=H)r(u),ee.sortIndex=ee.expirationTime,e(c,ee);else break;ee=n(u)}}function x(H){if(h=!1,w(H),!p)if(n(c)!==null)p=!0,Y(A);else{var ee=n(u);ee!==null&&V(x,ee.startTime-H)}}function A(H,ee){p=!1,h&&(h=!1,g(E),E=-1),m=!0;var re=d;try{for(w(ee),l=n(c);l!==null&&(!(l.expirationTime>ee)||H&&!M());){var X=l.callback;if(typeof X=="function"){l.callback=null,d=l.priorityLevel;var G=X(l.expirationTime<=ee);ee=t.unstable_now(),typeof G=="function"?l.callback=G:l===n(c)&&r(c),w(ee)}else r(c);l=n(c)}if(l!==null)var K=!0;else{var Z=n(u);Z!==null&&V(x,Z.startTime-ee),K=!1}return K}finally{l=null,d=re,m=!1}}var k=!1,R=null,E=-1,T=5,D=-1;function M(){return!(t.unstable_now()-D<T)}function L(){if(R!==null){var H=t.unstable_now();D=H;var ee=!0;try{ee=R(!0,H)}finally{ee?I():(k=!1,R=null)}}else k=!1}var I;if(typeof v=="function")I=function(){v(L)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,U=F.port2;F.port1.onmessage=L,I=function(){U.postMessage(null)}}else I=function(){y(L,0)};function Y(H){R=H,k||(k=!0,I())}function V(H,ee){E=y(function(){H(t.unstable_now())},ee)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(H){H.callback=null},t.unstable_continueExecution=function(){p||m||(p=!0,Y(A))},t.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"):T=0<H?Math.floor(1e3/H):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return n(c)},t.unstable_next=function(H){switch(d){case 1:case 2:case 3:var ee=3;break;default:ee=d}var re=d;d=ee;try{return H()}finally{d=re}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(H,ee){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var re=d;d=H;try{return ee()}finally{d=re}},t.unstable_scheduleCallback=function(H,ee,re){var X=t.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?X+re:X):re=X,H){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=re+G,H={id:f++,callback:ee,priorityLevel:H,startTime:re,expirationTime:G,sortIndex:-1},re>X?(H.sortIndex=re,e(u,H),n(c)===null&&H===n(u)&&(h?(g(E),E=-1):h=!0,V(x,re-X))):(H.sortIndex=G,e(c,H),p||m||(p=!0,Y(A))),H},t.unstable_shouldYield=M,t.unstable_wrapCallback=function(H){var ee=d;return function(){var re=d;d=ee;try{return H.apply(this,arguments)}finally{d=re}}}})(A5);C5.exports=A5;var Wle=C5.exports;/**
2026-09-25 11:19:08 +00:00
* @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 qle=_,io=Wle;function ke(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var R5=new Set,Cb={};function lp(t,e){Zg(t,e),Zg(t+"Capture",e)}function Zg(t,e){for(Cb[t]=e,t=0;t<e.length;t++)R5.add(e[t])}var Fc=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ek=Object.prototype.hasOwnProperty,Gle=/^[: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]*$/,kj={},Dj={};function Kle(t){return Ek.call(Dj,t)?!0:Ek.call(kj,t)?!1:Gle.test(t)?Dj[t]=!0:(kj[t]=!0,!1)}function Yle(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function Xle(t,e,n,r){if(e===null||typeof e>"u"||Yle(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Zs(t,e,n,r,s,i,a){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=i,this.removeEmptyString=a}var ds={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){ds[t]=new Zs(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];ds[e]=new Zs(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){ds[t]=new Zs(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){ds[t]=new Zs(t,2,!1,t,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(t){ds[t]=new Zs(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){ds[t]=new Zs(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){ds[t]=new Zs(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){ds[t]=new Zs(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){ds[t]=new Zs(t,5,!1,t.toLowerCase(),null,!1,!1)});var dO=/[\-:]([a-z])/g;function fO(t){return t[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
`+EP+t}var CP=!1;function AP(t,e){if(!t||CP)return"";CP=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(u){var r=u}Reflect.construct(t,[],e)}else{try{e.call()}catch(u){r=u}t.call(e.prototype)}else{try{throw Error()}catch(u){r=u}t()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(`
2026-09-25 11:19:08 +00:00
`),i=r.stack.split(`
`),a=s.length-1,o=i.length-1;1<=a&&0<=o&&s[a]!==i[o];)o--;for(;1<=a&&0<=o;a--,o--)if(s[a]!==i[o]){if(a!==1||o!==1)do if(a--,o--,0>o||s[a]!==i[o]){var c=`
`+s[a].replace(" at new "," at ");return t.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",t.displayName)),c}while(1<=a&&0<=o);break}}}finally{CP=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?Ny(t):""}function Qle(t){switch(t.tag){case 5:return Ny(t.type);case 16:return Ny("Lazy");case 13:return Ny("Suspense");case 19:return Ny("SuspenseList");case 0:case 2:case 15:return t=AP(t.type,!1),t;case 11:return t=AP(t.type.render,!1),t;case 1:return t=AP(t.type,!0),t;default:return""}}function Pk(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case cm:return"Fragment";case lm:return"Portal";case Ck:return"Profiler";case pO:return"StrictMode";case Ak:return"Suspense";case Rk:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case T5:return(t.displayName||"Context")+".Consumer";case P5:return(t._context.displayName||"Context")+".Provider";case mO:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case gO:return e=t.displayName||null,e!==null?e:Pk(t.type)||"Memo";case Su:e=t._payload,t=t._init;try{return Pk(t(e))}catch{}}return null}function Zle(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Pk(e);case 8:return e===pO?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function _d(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function D5(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Jle(t){var e=D5(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Ox(t){t._valueTracker||(t._valueTracker=Jle(t))}function N5(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=D5(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function AE(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Tk(t,e){var n=e.checked;return rr({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function Mj(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=_d(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function M5(t,e){e=e.checked,e!=null&&hO(t,"checked",e,!1)}function kk(t,e){M5(t,e);var n=_d(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?Dk(t,e.type,n):e.hasOwnProperty("defaultValue")&&Dk(t,e.type,_d(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function Oj(t,e,n){if(e.hasOwnProperty(
`).replace(cue,"")}function Ux(t,e,n){if(e=r3(e),r3(t)!==e&&n)throw Error(ke(425))}function OE(){}var Wk=null,qk=null;function Gk(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Kk=typeof setTimeout=="function"?setTimeout:void 0,uue=typeof clearTimeout=="function"?clearTimeout:void 0,s3=typeof Promise=="function"?Promise:void 0,due=typeof queueMicrotask=="function"?queueMicrotask:typeof s3<"u"?function(t){return s3.resolve(null).then(t).catch(fue)}:Kk;function fue(t){setTimeout(function(){throw t})}function jP(t,e){var n=e,r=0;do{var s=n.nextSibling;if(t.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){t.removeChild(s),kb(e);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);kb(e)}function pd(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function i3(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}var vv=Math.random().toString(36).slice(2),cl="__reactFiber$"+vv,Lb="__reactProps$"+vv,jc="__reactContainer$"+vv,Yk="__reactEvents$"+vv,hue="__reactListeners$"+vv,pue="__reactHandles$"+vv;function bf(t){var e=t[cl];if(e)return e;for(var n=t.parentNode;n;){if(e=n[jc]||n[cl]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=i3(t);t!==null;){if(n=t[cl])return n;t=i3(t)}return e}t=n,n=t.parentNode}return null}function Zw(t){return t=t[cl]||t[jc],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function hm(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(ke(33))}function x1(t){return t[Lb]||null}var Xk=[],pm=-1;function Md(t){return{current:t}}function Un(t){0>pm||(t.current=Xk[pm],Xk[pm]=null,pm--)}function On(t,e){pm++,Xk[pm]=t.current,t.current=e}var xd={},Ns=Md(xd),wi=Md(!1),Ih=xd;function Jg(t,e){var n=t.type.contextTypes;if(!n)return xd;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=e[i];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=s),s}function _i(t){return t=t.childContextTypes,t!=null}function LE(){Un(wi),Un(Ns)}function o3(t,e,n){if(Ns.current!==xd)throw Error(ke(168));On(Ns,e),On(wi,n)}function _H(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in e))throw Error(ke(108,Zle(t)||"Unknown",s));return rr({},n,r)}function IE(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||xd,Ih=Ns.current,On(Ns,t),On(wi,wi.current),!0}function a3(t,e,n){var r=t.stateNode;if(!r)throw Error(ke(169));n?(t=_H(t,e,Ih),r.__reactInternalMemoizedMergedChildContext=t,Un(wi),Un(Ns),On(Ns,t)):Un(wi),On(wi,n)}var Zl=null,S1=!1,zP=!1;function xH(t){Zl===null?Zl=[t]:Zl.push(t)}function mue(t){S1=!0,xH(t)}function Od(){if(!zP&&Zl!==null){zP=!0;var t=0,e=mn;try{var n=Zl;for(mn=1;t<n.length;t++){var r=n[t];do r=r(!0);while(r!==null)}Zl=null,S1=!1}catch(s){throw Zl!==null&&(Zl=Zl.slice(t+1)),G5(yO,Od),s}finally{mn=e,zP=!1}}return null}var mm=[],gm=0,$E=null,FE=0,Po=[],To=0,$h=null,Pc=1,Tc="";function lf(t,e){mm[gm++]=FE,mm[gm++]=$E,$E=t,FE=e}function SH(t,e,n){Po[To++]=Pc,Po[To++]=Tc,Po[To++]=$h,$h=t;var r=Pc;t=Tc;var s=32-ba(r)-1;r&=~(1<<s),n+=1;var i=32-ba(e)+s;if(30<i){var a=s-s%5;i=(r&(1<<a)-1).toString(32),r>>=a,s-=a,Pc=1<<32-ba(e)+s|n<<s|r,Tc=i+t}else Pc=1<<i|n<<s|r,Tc=t}function RO(t){t.return!==null&&(lf(t,1),SH(t,1,0))}function PO(t){for(;t===$E;)$E=mm[--gm],mm[gm]=null,FE=mm[--gm],mm[gm]=null;for(;t===$h;)$h=Po[--To],Po[To]=null,Tc=Po[--To],Po[To]=null,Pc=Po[--To],Po[To]=null}var to=null,eo=null,Kn=!1,ga=null;function EH(t,e){var n=Mo(5,null,null,0);n.elementType="DELETED",n.stateNode=e,n.return
2026-09-25 11:19:08 +00:00
Error generating stack: `+i.message+`
`+i.stack}return{value:t,source:e,stack:s,digest:null}}function WP(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function nD(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var Eue=typeof WeakMap=="function"?WeakMap:Map;function QH(t,e,n){n=kc(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){qE||(qE=!0,fD=r),nD(t,e)},n}function ZH(t,e,n){n=kc(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var s=e.value;n.payload=function(){return r(s)},n.callback=function(){nD(t,e)}}var i=t.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){nD(t,e),typeof r!="function"&&(gd===null?gd=new Set([this]):gd.add(this));var a=e.stack;this.componentDidCatch(e.value,{componentStack:a!==null?a:""})}),n}function v3(t,e,n){var r=t.pingCache;if(r===null){r=t.pingCache=new Eue;var s=new Set;r.set(e,s)}else s=r.get(e),s===void 0&&(s=new Set,r.set(e,s));s.has(n)||(s.add(n),t=Fue.bind(null,t,e,n),e.then(t,t))}function y3(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function b3(t,e,n,r,s){return t.mode&1?(t.flags|=65536,t.lanes=s,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=kc(-1,1),e.tag=2,md(n,e,1))),n.lanes|=1),t)}var Cue=qc.ReactCurrentOwner,mi=!1;function Hs(t,e,n,r){e.child=t===null?RH(e,null,n,r):tv(e,t.child,n,r)}function w3(t,e,n,r,s){n=n.render;var i=e.ref;return Pm(e,s),r=jO(t,e,n,r,i,s),n=zO(),t!==null&&!mi?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~s,Bc(t,e,s)):(Kn&&n&&RO(e),e.flags|=1,Hs(t,e,r,s),e.child)}function _3(t,e,n,r,s){if(t===null){var i=n.type;return typeof i=="function"&&!XO(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=i,JH(t,e,i,r,s)):(t=jS(n.type,null,r,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!(t.lanes&s)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:Nb,n(a,r)&&t.ref===e.ref)return Bc(t,e,s)}return e.flags|=1,t=yd(i,r),t.ref=e.ref,t.return=e,e.child=t}function JH(t,e,n,r,s){if(t!==null){var i=t.memoizedProps;if(Nb(i,r)&&t.ref===e.ref)if(mi=!1,e.pendingProps=r=i,(t.lanes&s)!==0)t.flags&131072&&(mi=!0);else return e.lanes=t.lanes,Bc(t,e,s)}return rD(t,e,n,r,s)}function eV(t,e,n){var r=e.pendingProps,s=r.children,i=t!==null?t.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},On(bm,Ki),Ki|=n;else{if(!(n&1073741824))return t=i!==null?i.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,On(bm,Ki),Ki|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,On(bm,Ki),Ki|=r}else i!==null?(r=i.baseLanes|n,e.memoizedState=null):r=n,On(bm,Ki),Ki|=r;return Hs(t,e,s,n),e.child}function tV(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function rD(t,e,n,r,s){var i=_i(n)?Ih:Ns.current;return i=Jg(e,i),Pm(e,s),n=jO(t,e,n,r,i,s),r=zO(),t!==null&&!mi?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~s,Bc(t,e,s)):(Kn&&r&&RO(e),e.flags|=1,Hs(t,e,n,s),e.child)}function x3(t,e,n,r,s){if(_i(n)){var i=!0;IE(e)}else i=!1;if(Pm(e,s),e.stateNode===null)IS(t,e),XH(e,n,r),tD(e,n,r,s),r=!0;else if(t===null){var a=e.stateNode,o=e.memoizedProps;a.props=o;var c=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=$o(u):(u=_i(n)?Ih:Ns.current,u=Jg(e,u));var f=n.getDerivedStateFromProps,l=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function";l||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(o!==r||c!==u)&&g3(e,a,r,u),Eu=!1;var d=e.memoizedState;a.state=d,BE(e,r,a,s),c=e.memoizedState,o!==r||d!==c||wi.current||Eu?(typeof f=="function"&&(eD(e,n,f,r),c=e.memoizedState),(o=Eu||m3(e,n,o,r,d,c,u))?(l||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeo
2026-09-25 11:19:08 +00:00
* @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 wfe=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a6=(...t)=>t.filter((e,n,r)=>!!e&&r.indexOf(e)===n).join(" ");/**
2026-09-25 11:19:08 +00:00
* @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 _fe={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"};/**
2026-09-25 11:19:08 +00:00
* @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 xfe=_.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:a,...o},c)=>_.createElement("svg",{ref:c,..._fe,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:a6("lucide",s),...o},[...a.map(([u,f])=>_.createElement(u,f)),...Array.isArray(i)?i:[i]]));/**
2026-09-25 11:19:08 +00:00
* @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 Zr=(t,e)=>{const n=_.forwardRef(({className:r,...s},i)=>_.createElement(xfe,{ref:i,iconNode:e,className:a6(`lucide-${wfe(t)}`,r),...s}));return n.displayName=`${t}`,n};/**
2026-09-25 11:19:08 +00:00
* @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 Sfe=Zr("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"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 n_=Zr("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 L1=Zr("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 hL=Zr("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 r_=Zr("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 Efe=Zr("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 Cfe=Zr("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"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 Afe=Zr("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"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 I1=Zr("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 Rfe=Zr("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"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 Pfe=Zr("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"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 Tfe=Zr("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"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 kfe=Zr("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"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 Dfe=Zr("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"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 Nfe=Zr("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"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 Mfe=Zr("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 Ofe=Zr("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"}]]);/**
2026-09-25 11:19:08 +00:00
* @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 pL=Zr("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function l6(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;e<s;e++)t[e]&&(n=l6(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function up(){for(var t,e,n=0,r="",s=arguments.length;n<s;n++)(t=arguments[n])&&(e=l6(t))&&(r&&(r+=" "),r+=e);return r}const mL="-",Lfe=t=>{const e=$fe(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:a=>{const o=a.split(mL);return o[0]===""&&o.length!==1&&o.shift(),c6(o,e)||Ife(a)},getConflictingClassGroupIds:(a,o)=>{const c=n[a]||[];return o&&r[a]?[...c,...r[a]]:c}}},c6=(t,e)=>{var a;if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),s=r?c6(t.slice(1),r):void 0;if(s)return s;if(e.validators.length===0)return;const i=t.join(mL);return(a=e.validators.find(({validator:o})=>o(i)))==null?void 0:a.classGroupId},W3=/^\[(.+)\]$/,Ife=t=>{if(W3.test(t)){const e=W3.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},$fe=t=>{const{theme:e,prefix:n}=t,r={nextPart:new Map,validators:[]};return jfe(Object.entries(t.classGroups),n).forEach(([i,a])=>{ND(a,r,i,e)}),r},ND=(t,e,n,r)=>{t.forEach(s=>{if(typeof s=="string"){const i=s===""?e:q3(e,s);i.classGroupId=n;return}if(typeof s=="function"){if(Ffe(s)){ND(s(r),e,n,r);return}e.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,a])=>{ND(a,q3(e,i),n,r)})})},q3=(t,e)=>{let n=t;return e.split(mL).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Ffe=t=>t.isThemeGetter,jfe=(t,e)=>e?t.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,o])=>[e+a,o])):i);return[n,s]}):t,zfe=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,r=new Map;const s=(i,a)=>{n.set(i,a),e++,e>t&&(e=0,r=n,n=new Map)};return{get(i){let a=n.get(i);if(a!==void 0)return a;if((a=r.get(i))!==void 0)return s(i,a),a},set(i,a){n.has(i)?n.set(i,a):s(i,a)}}},u6="!",Bfe=t=>{const{separator:e,experimentalParseClassName:n}=t,r=e.length===1,s=e[0],i=e.length,a=o=>{const c=[];let u=0,f=0,l;for(let y=0;y<o.length;y++){let g=o[y];if(u===0){if(g===s&&(r||o.slice(y,y+i)===e)){c.push(o.slice(f,y)),f=y+i;continue}if(g==="/"){l=y;continue}}g==="["?u++:g==="]"&&u--}const d=c.length===0?o:o.substring(f),m=d.startsWith(u6),p=m?d.substring(1):d,h=l&&l>f?l-f:void 0;return{modifiers:c,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:h}};return n?o=>n({className:o,parseClassName:a}):a},Ufe=t=>{if(t.length<=1)return t;const e=[];let n=[];return t.forEach(r=>{r[0]==="["?(e.push(...n.sort(),r),n=[]):n.push(r)}),e.push(...n.sort()),e},Hfe=t=>({cache:zfe(t.cacheSize),parseClassName:Bfe(t),...Lfe(t)}),Vfe=/\s+/,Wfe=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=e,i=[],a=t.trim().split(Vfe);let o="";for(let c=a.length-1;c>=0;c-=1){const u=a[c],{modifiers:f,hasImportantModifier:l,baseClassName:d,maybePostfixModifierPosition:m}=n(u);let p=!!m,h=r(p?d.substring(0,m):d);if(!h){if(!p){o=u+(o.length>0?" "+o:o);continue}if(h=r(d),!h){o=u+(o.length>0?" "+o:o);continue}p=!1}const y=Ufe(f).join(":"),g=l?y+u6:y,v=g+h;if(i.includes(v))continue;i.push(v);const w=s(h,p);for(let x=0;x<w.length;++x){const A=w[x];i.push(g+A)}o=u+(o.length>0?" "+o:o)}return o};function qfe(){let t=0,e,n,r="";for(;t<arguments.length;)(e=arguments[t++])&&(n=d6(e))&&(r&&(r+=" "),r+=n);return r}const d6=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=d6(t[r]))&&(n&&(n+=" "),n+=e);return n};function Gfe(t,...e){let n,r,s,i=a;function a(c){const u=e.reduce((f,l)=>l(f),t());return n=Hfe(u),r=n.cache.get,s=n.cache.set,i=o,o(c)}function o(c){const u=r(c);if(u)return u;const f=Wfe(c,n);return s(c,f),f}return function(){return i(qfe.apply(null,arguments))}}const Fn=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},f6=/^\[(?:([
.`.concat(Ihe,` {
2026-09-25 11:19:08 +00:00
overflow: hidden `).concat(r,`;
padding-right: `).concat(o,"px ").concat(r,`;
}
body[`).concat(Om,`] {
2026-09-25 11:19:08 +00:00
overflow: hidden `).concat(r,`;
overscroll-behavior: contain;
`).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&`
padding-left: `.concat(s,`px;
padding-top: `).concat(i,`px;
padding-right: `).concat(a,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(o,"px ").concat(r,`;
`),n==="padding"&&"padding-right: ".concat(o,"px ").concat(r,";")].filter(Boolean).join(""),`
}
.`).concat(Nm,` {
right: `).concat(o,"px ").concat(r,`;
}
.`).concat(Mm,` {
2026-09-25 11:19:08 +00:00
margin-right: `).concat(o,"px ").concat(r,`;
}
.`).concat(Nm," .").concat(Nm,` {
right: 0 `).concat(r,`;
}
.`).concat(Mm," .").concat(Mm,` {
2026-09-25 11:19:08 +00:00
margin-right: 0 `).concat(r,`;
}
body[`).concat(Om,`] {
`).concat($he,": ").concat(o,`px;
2026-09-25 11:19:08 +00:00
}
`)},rz=function(){var t=parseInt(document.body.getAttribute(Om)||"0",10);return isFinite(t)?t:0},Jhe=function(){_.useEffect(function(){return document.body.setAttribute(Om,(rz()+1).toString()),function(){var t=rz()-1;t<=0?document.body.removeAttribute(Om):document.body.setAttribute(Om,t.toString())}},[])},wL=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,s=r===void 0?"margin":r;Jhe();var i=_.useMemo(function(){return Xhe(s)},[s]);return _.createElement(Qhe,{styles:Zhe(i,!e,s,n?"":"!important")})},OD=!1;if(typeof window<"u")try{var Qx=Object.defineProperty({},"passive",{get:function(){return OD=!0,!0}});window.addEventListener("test",Qx,Qx),window.removeEventListener("test",Qx,Qx)}catch{OD=!1}var Op=OD?{passive:!1}:!1,epe=function(t){return t.tagName==="TEXTAREA"},_6=function(t,e){var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!epe(t)&&n[e]==="visible")},tpe=function(t){return _6(t,"overflowY")},npe=function(t){return _6(t,"overflowX")},sz=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=x6(t,r);if(s){var i=S6(t,r),a=i[1],o=i[2];if(a>o)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},rpe=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},spe=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},x6=function(t,e){return t==="v"?tpe(e):npe(e)},S6=function(t,e){return t==="v"?rpe(e):spe(e)},ipe=function(t,e){return t==="h"&&e==="rtl"?-1:1},ope=function(t,e,n,r,s){var i=ipe(t,window.getComputedStyle(e).direction),a=i*r,o=n.target,c=e.contains(o),u=!1,f=a>0,l=0,d=0;do{var m=S6(t,o),p=m[0],h=m[1],y=m[2],g=h-y-i*p;(p||g)&&x6(t,o)&&(l+=g,d+=p),o instanceof ShadowRoot?o=o.host:o=o.parentNode}while(!c&&o!==document.body||c&&(e.contains(o)||e===o));return(f&&Math.abs(l)<1||!f&&Math.abs(d)<1)&&(u=!0),u},Zx=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},iz=function(t){return[t.deltaX,t.deltaY]},oz=function(t){return t&&"current"in t?t.current:t},ape=function(t,e){return t[0]===e[0]&&t[1]===e[1]},lpe=function(t){return`
2026-09-25 11:19:08 +00:00
.block-interactivity-`.concat(t,` {pointer-events: none;}
.allow-interactivity-`).concat(t,` {pointer-events: all;}
`)},cpe=0,Lp=[];function upe(t){var e=_.useRef([]),n=_.useRef([0,0]),r=_.useRef(),s=_.useState(cpe++)[0],i=_.useState(z1)[0],a=_.useRef(t);_.useEffect(function(){a.current=t},[t]),_.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var h=gL([t.lockRef.current],(t.shards||[]).map(oz),!0).filter(Boolean);return h.forEach(function(y){return y.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),h.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var o=_.useCallback(function(h,y){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var g=Zx(h),v=n.current,w="deltaX"in h?h.deltaX:v[0]-g[0],x="deltaY"in h?h.deltaY:v[1]-g[1],A,k=h.target,R=Math.abs(w)>Math.abs(x)?"h":"v";if("touches"in h&&R==="h"&&k.type==="range")return!1;var E=sz(R,k);if(!E)return!0;if(E?A=R:(A=R==="v"?"h":"v",E=sz(R,k)),!E)return!1;if(!r.current&&"changedTouches"in h&&(w||x)&&(r.current=A),!A)return!0;var T=r.current||A;return ope(T,y,h,T==="h"?w:x)},[]),c=_.useCallback(function(h){var y=h;if(!(!Lp.length||Lp[Lp.length-1]!==i)){var g="deltaY"in y?iz(y):Zx(y),v=e.current.filter(function(A){return A.name===y.type&&(A.target===y.target||y.target===A.shadowParent)&&ape(A.delta,g)})[0];if(v&&v.should){y.cancelable&&y.preventDefault();return}if(!v){var w=(a.current.shards||[]).map(oz).filter(Boolean).filter(function(A){return A.contains(y.target)}),x=w.length>0?o(y,w[0]):!a.current.noIsolation;x&&y.cancelable&&y.preventDefault()}}},[]),u=_.useCallback(function(h,y,g,v){var w={name:h,delta:y,target:g,should:v,shadowParent:dpe(g)};e.current.push(w),setTimeout(function(){e.current=e.current.filter(function(x){return x!==w})},1)},[]),f=_.useCallback(function(h){n.current=Zx(h),r.current=void 0},[]),l=_.useCallback(function(h){u(h.type,iz(h),h.target,o(h,t.lockRef.current))},[]),d=_.useCallback(function(h){u(h.type,Zx(h),h.target,o(h,t.lockRef.current))},[]);_.useEffect(function(){return Lp.push(i),t.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:d}),document.addEventListener("wheel",c,Op),document.addEventListener("touchmove",c,Op),document.addEventListener("touchstart",f,Op),function(){Lp=Lp.filter(function(h){return h!==i}),document.removeEventListener("wheel",c,Op),document.removeEventListener("touchmove",c,Op),document.removeEventListener("touchstart",f,Op)}},[]);var m=t.removeScrollBar,p=t.inert;return _.createElement(_.Fragment,null,p?_.createElement(i,{styles:lpe(s)}):null,m?_.createElement(wL,{gapMode:t.gapMode}):null)}function dpe(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const fpe=bL(w6,upe);var i_=_.forwardRef(function(t,e){return _.createElement(j1,fr({},t,{ref:e,sideCar:fpe}))});i_.classNames=j1.classNames;var hpe=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Ip=new WeakMap,Jx=new WeakMap,eS={},rT=0,E6=function(t){return t&&(t.host||E6(t.parentNode))},ppe=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=E6(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},mpe=function(t,e,n,r){var s=ppe(e,Array.isArray(t)?t:[t]);eS[n]||(eS[n]=new WeakMap);var i=eS[n],a=[],o=new Set,c=new Set(s),u=function(l){!l||o.has(l)||(o.add(l),u(l.parentNode))};s.forEach(u);var f=function(l){!l||c.has(l)||Array.prototype.forEach.call(l.children,function(d){if(o.has(d))f(d);else try{var m=d.getAttribute(r),p=m!==null&&m!=="false",h=(Ip.get(d)||0)+1,y=(i.get(d)||0)+1;Ip.set(d,h),i.set(d,y),a.push(d),h===1&&p&&Jx.set(d,!0),y===1&&d.setAttribute(n,"true"),p||d.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",d,g)}})};return f(e),o.clear(),rT++,function(){a.forEach(function(l){var d=Ip.get(l)-1,m=i.get(l)-1;Ip.set(l,d),i.set(l,m),d||(Jx.has(l)||l.removeAttribute(r),Jx.delete(l)),m||l.removeAttribute(n)
2026-09-25 11:19:08 +00:00
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return _.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},Spe="DialogDescriptionWarning",Epe=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${B6(Spe).contentName}}.`;return _.useEffect(()=>{var i;const s=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},CL=R6,AL=T6,RL=D6,o_=N6,a_=M6,l_=L6,c_=$6,u_=j6,U6="AlertDialog",[Cpe,H4e]=Tn(U6,[A6]),Xc=A6(),H6=t=>{const{__scopeAlertDialog:e,...n}=t,r=Xc(e);return P.jsx(CL,{...r,...n,modal:!0})};H6.displayName=U6;var Ape="AlertDialogTrigger",V6=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Xc(n);return P.jsx(AL,{...s,...r,ref:e})});V6.displayName=Ape;var Rpe="AlertDialogPortal",W6=t=>{const{__scopeAlertDialog:e,...n}=t,r=Xc(e);return P.jsx(RL,{...r,...n})};W6.displayName=Rpe;var Ppe="AlertDialogOverlay",q6=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Xc(n);return P.jsx(o_,{...s,...r,ref:e})});q6.displayName=Ppe;var Lm="AlertDialogContent",[Tpe,kpe]=Cpe(Lm),G6=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,children:r,...s}=t,i=Xc(n),a=_.useRef(null),o=tt(e,a),c=_.useRef(null);return P.jsx(_pe,{contentName:Lm,titleName:K6,docsSlug:"alert-dialog",children:P.jsx(Tpe,{scope:n,cancelRef:c,children:P.jsxs(a_,{role:"alertdialog",...i,...s,ref:o,onOpenAutoFocus:me(s.onOpenAutoFocus,u=>{var f;u.preventDefault(),(f=c.current)==null||f.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[P.jsx(iL,{children:r}),P.jsx(Npe,{contentRef:a})]})})})});G6.displayName=Lm;var K6="AlertDialogTitle",Y6=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Xc(n);return P.jsx(l_,{...s,...r,ref:e})});Y6.displayName=K6;var X6="AlertDialogDescription",Q6=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Xc(n);return P.jsx(c_,{...s,...r,ref:e})});Q6.displayName=X6;var Dpe="AlertDialogAction",Z6=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Xc(n);return P.jsx(u_,{...s,...r,ref:e})});Z6.displayName=Dpe;var J6="AlertDialogCancel",eW=_.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,{cancelRef:s}=kpe(J6,n),i=Xc(n),a=tt(e,s);return P.jsx(u_,{...i,...r,ref:a})});eW.displayName=J6;var Npe=({contentRef:t})=>{const e=`\`${Lm}\` requires a description for the component to be accessible for screen reader users.
2026-09-25 11:19:08 +00:00
You can add a description to the \`${Lm}\` by passing a \`${X6}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
2026-09-25 11:19:08 +00:00
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 \`${Lm}\`. 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 _.useEffect(()=>{var r;document.getElementById((r=t.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(e)},[e,t]),null},Mpe=H6,Ope=V6,Lpe=W6,tW=q6,nW=G6,rW=Z6,sW=eW,iW=Y6,oW=Q6;const Vb=zo("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"}}),no=_.forwardRef(({className:t,variant:e,size:n,asChild:r=!1,...s},i)=>{const a=r?Ea:"button";return P.jsx(a,{className:ce(Vb({variant:e,size:n,className:t})),ref:i,...s})});no.displayName="Button";const aW=Mpe,V4e=Ope,Ipe=Lpe,lW=_.forwardRef(({className:t,...e},n)=>P.jsx(tW,{className:ce("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",t),...e,ref:n}));lW.displayName=tW.displayName;const PL=_.forwardRef(({className:t,...e},n)=>P.jsxs(Ipe,{children:[P.jsx(lW,{}),P.jsx(nW,{ref:n,className:ce("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",t),...e})]}));PL.displayName=nW.displayName;const TL=({className:t,...e})=>P.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",t),...e});TL.displayName="AlertDialogHeader";const kL=({className:t,...e})=>P.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});kL.displayName="AlertDialogFooter";const DL=_.forwardRef(({className:t,...e},n)=>P.jsx(iW,{ref:n,className:ce("text-lg font-semibold",t),...e}));DL.displayName=iW.displayName;const NL=_.forwardRef(({className:t,...e},n)=>P.jsx(oW,{ref:n,className:ce("text-sm text-muted-foreground",t),...e}));NL.displayName=oW.displayName;const ML=_.forwardRef(({className:t,...e},n)=>P.jsx(rW,{ref:n,className:ce(Vb(),t),...e}));ML.displayName=rW.displayName;const OL=_.forwardRef(({className:t,...e},n)=>P.jsx(sW,{ref:n,className:ce(Vb({variant:"outline"}),"mt-2 sm:mt-0",t),...e}));OL.displayName=sW.displayName;const $pe=({textAreaRef:t,triggerAutoSize:e,maxHeight:n=Number.MAX_SAFE_INTEGER,minHeight:r=0})=>{const[s,i]=_.useState(!0);_.useEffect(()=>{if(t){s&&(t.style.minHeight=`${r+2}px`,n>r&&(t.style.maxHeight=`${n}px`),i(!1)),t.style.height=`${r+2}px`;const o=t.scrollHeight;o>n?t.style.height=`${n}px`:t.style.height=`${o+2}px`}},[t,e,s,n,r])},cW=_.forwardRef(({maxHeight:t=Number.MAX_SAFE_INTEGER,minHeight:e=52,className:n,onChange:r,value:s,...i},a)=>{const o=_.useRef(null),[c,u]=_.useState("");return $pe({textAreaRef:o.current,triggerAutoSize:c,maxHeight:t,minHeight:e}),_.useImperativeHandle(a,()=>({textArea:o.current,focus:()=>{var f;return(f=o.current)==null?void 0:f.focus()},maxHeight:t,minHeight:e})),_.useEffect(()=>{(s||i!=null&&i.defaultValue)&&u(s)},[s||(i==null?void 0:i.defaultValue)]),P.jsx("textarea",{...i,value:s,ref:o,className:ce("flex w-full rounded-md border
2026-09-25 11:19:08 +00:00
* @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 QL=Symbol.for("react.element"),ZL=Symbol.for("react.portal"),G1=Symbol.for("react.fragment"),K1=Symbol.for("react.strict_mode"),Y1=Symbol.for("react.profiler"),X1=Symbol.for("react.provider"),Q1=Symbol.for("react.context"),awe=Symbol.for("react.server_context"),Z1=Symbol.for("react.forward_ref"),J1=Symbol.for("react.suspense"),eA=Symbol.for("react.suspense_list"),tA=Symbol.for("react.memo"),nA=Symbol.for("react.lazy"),lwe=Symbol.for("react.offscreen"),QW;QW=Symbol.for("react.module.reference");function Bo(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case QL:switch(t=t.type,t){case G1:case Y1:case K1:case J1:case eA:return t;default:switch(t=t&&t.$$typeof,t){case awe:case Q1:case Z1:case nA:case tA:case X1:return t;default:return e}}case ZL:return e}}}Sn.ContextConsumer=Q1;Sn.ContextProvider=X1;Sn.Element=QL;Sn.ForwardRef=Z1;Sn.Fragment=G1;Sn.Lazy=nA;Sn.Memo=tA;Sn.Portal=ZL;Sn.Profiler=Y1;Sn.StrictMode=K1;Sn.Suspense=J1;Sn.SuspenseList=eA;Sn.isAsyncMode=function(){return!1};Sn.isConcurrentMode=function(){return!1};Sn.isContextConsumer=function(t){return Bo(t)===Q1};Sn.isContextProvider=function(t){return Bo(t)===X1};Sn.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===QL};Sn.isForwardRef=function(t){return Bo(t)===Z1};Sn.isFragment=function(t){return Bo(t)===G1};Sn.isLazy=function(t){return Bo(t)===nA};Sn.isMemo=function(t){return Bo(t)===tA};Sn.isPortal=function(t){return Bo(t)===ZL};Sn.isProfiler=function(t){return Bo(t)===Y1};Sn.isStrictMode=function(t){return Bo(t)===K1};Sn.isSuspense=function(t){return Bo(t)===J1};Sn.isSuspenseList=function(t){return Bo(t)===eA};Sn.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===G1||t===Y1||t===K1||t===J1||t===eA||t===lwe||typeof t=="object"&&t!==null&&(t.$$typeof===nA||t.$$typeof===tA||t.$$typeof===X1||t.$$typeof===Q1||t.$$typeof===Z1||t.$$typeof===QW||t.getModuleId!==void 0)};Sn.typeOf=Bo;var nS=function(e){return owe(e)&&e.indexOf("%")===e.length-1},cwe=function(e){return typeof e=="string"?e:e?e.displayName||e.name||"Component":""},pT=function(e,n){for(var r=arguments.length,s=new Array(r>2?r-2:0),i=2;i<r;i++)s[i-2]=arguments[i]},uwe=H1,dwe=function(){return uwe.Date.now()},fwe=dwe,hwe=/\s/;function pwe(t){for(var e=t.length;e--&&hwe.test(t.charAt(e)););return e}var mwe=pwe,gwe=mwe,vwe=/^\s+/;function ywe(t){return t&&t.slice(0,gwe(t)+1).replace(vwe,"")}var bwe=ywe,wwe=bwe,Lz=m_,_we=Mye,Iz=NaN,xwe=/^[-+]0x[0-9a-f]+$/i,Swe=/^0b[01]+$/i,Ewe=/^0o[0-7]+$/i,Cwe=parseInt;function Awe(t){if(typeof t=="number")return t;if(_we(t))return Iz;if(Lz(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Lz(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=wwe(t);var n=Swe.test(t);return n||Ewe.test(t)?Cwe(t.slice(2),n?2:8):xwe.test(t)?Iz:+t}var Rwe=Awe,Pwe=m_,mT=fwe,$z=Rwe,Twe="Expected a function",kwe=Math.max,Dwe=Math.min;function Nwe(t,e,n){var r,s,i,a,o,c,u=0,f=!1,l=!1,d=!0;if(typeof t!="function")throw new TypeError(Twe);e=$z(e)||0,Pwe(n)&&(f=!!n.leading,l="maxWait"in n,i=l?kwe($z(n.maxWait)||0,e):i,d="trailing"in n?!!n.trailing:d);function m(k){var R=r,E=s;return r=s=void 0,u=k,a=t.apply(E,R),a}function p(k){return u=k,o=setTimeout(g,e),f?m(k):a}function h(k){var R=k-c,E=k-u,T=e-R;return l?Dwe(T,i-E):T}function y(k){var R=k-c,E=k-u;return c===void 0||R>=e||R<0||l&&E>=i}function g(){var k=mT();if(y(k))return v(k);o=setTimeout(g,h(k))}function v(k){return o=void 0,d&&r?m(k):(r=s=void 0,a)}function w(){o!==void 0&&clearTimeout(o),u=0,r=c=s=o=void 0}function x(){return o===void 0?a:v(mT())}function A(){var k=mT(),R=y(k);if(r=arguments,s=this,c=k,R){if(o===void 0)return p(c);if(l)return clearTimeout(o),o=setTimeout(g,e),m(c)}return o===void 0&&(o=setTimeout(g,e)),a}return A.cancel=w,A.flush=x,A}var Mwe=Nwe,Owe=Mwe,Lwe=m_,Iwe="Expected a function";function $we(t,e,n){var r=!0,s=!0;if(typeof t!="function")throw new TypeError(Iwe);return Lwe(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),Owe(t,e,{leading:r,maxWait:e,trailing:s})}var Fwe=$we;const jwe=Dd(Fwe);function Gb(t){"@babel/helpers
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wwe(t,e){if(t){if(typeof t=="string")return jz(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jz(t,e)}}function jz(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function qwe(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,s,i,a,o=[],c=!0,u=!1;try{if(i=(n=n.call(t)).next,e!==0)for(;!(c=(r=i.call(n)).done)&&(o.push(r.value),o.length!==e);c=!0);}catch(f){u=!0,s=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw s}}return o}}function Gwe(t){if(Array.isArray(t))return t}var Kwe=_.forwardRef(function(t,e){var n=t.aspect,r=t.initialDimension,s=r===void 0?{width:-1,height:-1}:r,i=t.width,a=i===void 0?"100%":i,o=t.height,c=o===void 0?"100%":o,u=t.minWidth,f=u===void 0?0:u,l=t.minHeight,d=t.maxHeight,m=t.children,p=t.debounce,h=p===void 0?0:p,y=t.id,g=t.className,v=t.onResize,w=t.style,x=w===void 0?{}:w,A=_.useRef(null),k=_.useRef();k.current=v,_.useImperativeHandle(e,function(){return Object.defineProperty(A.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),A.current},configurable:!0})});var R=_.useState({containerWidth:s.width,containerHeight:s.height}),E=Hwe(R,2),T=E[0],D=E[1],M=_.useCallback(function(I,F){D(function(U){var Y=Math.round(I),V=Math.round(F);return U.containerWidth===Y&&U.containerHeight===V?U:{containerWidth:Y,containerHeight:V}})},[]);_.useEffect(function(){var I=function(ee){var re,X=ee[0].contentRect,G=X.width,K=X.height;M(G,K),(re=k.current)===null||re===void 0||re.call(k,G,K)};h>0&&(I=jwe(I,h,{trailing:!0,leading:!1}));var F=new ResizeObserver(I),U=A.current.getBoundingClientRect(),Y=U.width,V=U.height;return M(Y,V),F.observe(A.current),function(){F.disconnect()}},[M,h]);var L=_.useMemo(function(){var I=T.containerWidth,F=T.containerHeight;if(I<0||F<0)return null;pT(nS(a)||nS(c),`The width(%s) and height(%s) are both fixed numbers,
2026-10-08 10:42:55 +00:00
maybe you don't need to use a ResponsiveContainer.`,a,c),pT(!n||n>0,"The aspect(%s) must be greater than zero.",n);var U=nS(a)?I:a,Y=nS(c)?F:c;n&&n>0&&(U?Y=U/n:Y&&(U=Y*n),d&&Y>d&&(Y=d)),pT(U>0||Y>0,`The width(%s) and height(%s) of chart should be greater than 0,
2026-09-25 11:19:08 +00:00
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
2026-10-08 10:42:55 +00:00
height and width.`,U,Y,a,c,f,l,n);var V=!Array.isArray(m)&&cwe(m.type).endsWith("Chart");return se.Children.map(m,function(H){return se.isValidElement(H)?_.cloneElement(H,rS({width:U,height:Y},V?{style:rS({height:"100%",width:"100%",maxHeight:Y,maxWidth:U},H.props.style)}:{})):H})},[n,m,c,d,l,f,T,a]);return se.createElement("div",{id:y?"".concat(y):void 0,className:up("recharts-responsive-container",g),style:rS(rS({},x),{},{width:a,height:c,minWidth:f,minHeight:l,maxHeight:d}),ref:A},L)}),Ywe="Invariant failed";function Rn(t,e){if(!t)throw new Error(Ywe)}const Xwe={light:"",dark:".dark"},ZW=_.createContext(null);function JW(){const t=_.useContext(ZW);if(!t)throw new Error("useChart must be used within a <ChartContainer />");return t}const Qwe=_.forwardRef(({id:t,className:e,children:n,config:r,...s},i)=>{const a=_.useId(),o=`chart-${t||a.replace(/:/g,"")}`;return P.jsx(ZW.Provider,{value:{config:r},children:P.jsxs("div",{"data-chart":o,ref:i,className:ce("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",e),...s,children:[P.jsx(Zwe,{id:o,config:r}),P.jsx(Kwe,{children:n})]})})});Qwe.displayName="Chart";const Zwe=({id:t,config:e})=>{const n=Object.entries(e).filter(([r,s])=>s.theme||s.color);return n.length?P.jsx("style",{dangerouslySetInnerHTML:{__html:Object.entries(Xwe).map(([r,s])=>`
2026-09-25 11:19:08 +00:00
${s} [data-chart=${t}] {
${n.map(([i,a])=>{var c;const o=((c=a.theme)==null?void 0:c[r])||a.color;return o?` --color-${i}: ${o};`:null}).join(`
`)}
}
`).join(`
`)}}):null},Jwe=_.forwardRef(({active:t,payload:e,className:n,indicator:r="dot",hideLabel:s=!1,hideIndicator:i=!1,label:a,labelFormatter:o,labelClassName:c,formatter:u,color:f,nameKey:l,labelKey:d},m)=>{const{config:p}=JW(),h=_.useMemo(()=>{var A;if(s||!(e!=null&&e.length))return null;const[g]=e,v=`${d||g.dataKey||g.name||"value"}`,w=FD(p,g,v),x=!d&&typeof a=="string"?((A=p[a])==null?void 0:A.label)||a:w==null?void 0:w.label;return o?P.jsx("div",{className:ce("font-medium",c),children:o(x,e)}):x?P.jsx("div",{className:ce("font-medium",c),children:x}):null},[a,o,e,s,c,p,d]);if(!t||!(e!=null&&e.length))return null;const y=e.length===1&&r!=="dot";return P.jsxs("div",{ref:m,className:ce("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:[y?null:h,P.jsx("div",{className:"grid gap-1.5",children:e.map((g,v)=>{const w=`${l||g.name||g.dataKey||"value"}`,x=FD(p,g,w),A=f||g.payload.fill||g.color;return P.jsx("div",{className:ce("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:u&&(g==null?void 0:g.value)!==void 0&&g.name?u(g.value,g.name,g,v,g.payload):P.jsxs(P.Fragment,{children:[x!=null&&x.icon?P.jsx(x.icon,{}):!i&&P.jsx("div",{className:ce("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":y&&r==="dashed"}),style:{"--color-bg":A,"--color-border":A}}),P.jsxs("div",{className:ce("flex flex-1 justify-between leading-none",y?"items-end":"items-center"),children:[P.jsxs("div",{className:"grid gap-1.5",children:[y?h:null,P.jsx("span",{className:"text-muted-foreground",children:(x==null?void 0:x.label)||g.name})]}),g.value&&P.jsx("span",{className:"font-mono font-medium tabular-nums text-foreground",children:g.value.toLocaleString()})]})]})},g.dataKey)})})]})});Jwe.displayName="ChartTooltip";const e_e=_.forwardRef(({className:t,hideIcon:e=!1,payload:n,verticalAlign:r="bottom",nameKey:s},i)=>{const{config:a}=JW();return n!=null&&n.length?P.jsx("div",{ref:i,className:ce("flex items-center justify-center gap-4",r==="top"?"pb-3":"pt-3",t),children:n.map(o=>{const c=`${s||o.dataKey||"value"}`,u=FD(a,o,c);return P.jsxs("div",{className:ce("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[u!=null&&u.icon&&!e?P.jsx(u.icon,{}):P.jsx("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:o.color}}),u==null?void 0:u.label]},o.value)})}):null});e_e.displayName="ChartLegend";function FD(t,e,n){if(typeof e!="object"||e===null)return;const r="payload"in e&&typeof e.payload=="object"&&e.payload!==null?e.payload:void 0;let s=n;return n in e&&typeof e[n]=="string"?s=e[n]:r&&n in r&&typeof r[n]=="string"&&(s=r[n]),s in t?t[s]:t[n]}function Cv(t){const e=_.useRef({value:t,previous:t});return _.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}function g_(t){const[e,n]=_.useState(void 0);return Ln(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let a,o;if("borderBoxSize"in i){const c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;a=u.inlineSize,o=u.blockSize}else a=t.offsetWidth,o=t.offsetHeight;n({width:a,height:o})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var JL="Checkbox",[t_e,q4e]=Tn(JL),[n_e,r_e]=t_e(JL),e8=_.forwardRef((t,e)=>{const{__scopeCheckbox:n,name:r,checked:s,defaultChecked:i,required:a,disabled:o,value:c="on",onCheckedChange:u,...f}=t,[l,d]=_.useState(null),m=tt(e,w=>d(w)),p=_.useRef(!1),h=l?!!l.closest("form"):!0,[y=!1,g]=sr({prop:s,defaultProp:i,onChange:u}),v=_.useRef(y);return _.useEffect(()=>{const w=l==null?void 0:l.form;if(w){const x=()=>g(v.current);return w.addEventListener("reset",x),()=>w.removeEventListener("reset",x)}},[l,g]),P.jsxs(n_e,{scope:n,state:y,disabled:o,children:[P.jsx(De.bu
2026-09-25 11:19:08 +00:00
.block-interactivity-`.concat(t,` {pointer-events: none;}
.allow-interactivity-`).concat(t,` {pointer-events: all;}
`)},sxe=0,Bp=[];function ixe(t){var e=_.useRef([]),n=_.useRef([0,0]),r=_.useRef(),s=_.useState(sxe++)[0],i=_.useState(z1)[0],a=_.useRef(t);_.useEffect(function(){a.current=t},[t]),_.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var h=gL([t.lockRef.current],(t.shards||[]).map(Zz),!0).filter(Boolean);return h.forEach(function(y){return y.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),h.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var o=_.useCallback(function(h,y){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!a.current.allowPinchZoom;var g=oS(h),v=n.current,w="deltaX"in h?h.deltaX:v[0]-g[0],x="deltaY"in h?h.deltaY:v[1]-g[1],A,k=h.target,R=Math.abs(w)>Math.abs(x)?"h":"v";if("touches"in h&&R==="h"&&k.type==="range")return!1;var E=Xz(R,k);if(!E)return!0;if(E?A=R:(A=R==="v"?"h":"v",E=Xz(R,k)),!E)return!1;if(!r.current&&"changedTouches"in h&&(w||x)&&(r.current=A),!A)return!0;var T=r.current||A;return txe(T,y,h,T==="h"?w:x)},[]),c=_.useCallback(function(h){var y=h;if(!(!Bp.length||Bp[Bp.length-1]!==i)){var g="deltaY"in y?Qz(y):oS(y),v=e.current.filter(function(A){return A.name===y.type&&(A.target===y.target||y.target===A.shadowParent)&&nxe(A.delta,g)})[0];if(v&&v.should){y.cancelable&&y.preventDefault();return}if(!v){var w=(a.current.shards||[]).map(Zz).filter(Boolean).filter(function(A){return A.contains(y.target)}),x=w.length>0?o(y,w[0]):!a.current.noIsolation;x&&y.cancelable&&y.preventDefault()}}},[]),u=_.useCallback(function(h,y,g,v){var w={name:h,delta:y,target:g,should:v,shadowParent:oxe(g)};e.current.push(w),setTimeout(function(){e.current=e.current.filter(function(x){return x!==w})},1)},[]),f=_.useCallback(function(h){n.current=oS(h),r.current=void 0},[]),l=_.useCallback(function(h){u(h.type,Qz(h),h.target,o(h,t.lockRef.current))},[]),d=_.useCallback(function(h){u(h.type,oS(h),h.target,o(h,t.lockRef.current))},[]);_.useEffect(function(){return Bp.push(i),t.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:d}),document.addEventListener("wheel",c,zp),document.addEventListener("touchmove",c,zp),document.addEventListener("touchstart",f,zp),function(){Bp=Bp.filter(function(h){return h!==i}),document.removeEventListener("wheel",c,zp),document.removeEventListener("touchmove",c,zp),document.removeEventListener("touchstart",f,zp)}},[]);var m=t.removeScrollBar,p=t.inert;return _.createElement(_.Fragment,null,p?_.createElement(i,{styles:rxe(s)}):null,m?_.createElement(wL,{gapMode:t.gapMode}):null)}function oxe(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const axe=bL(f8,ixe);var g8=_.forwardRef(function(t,e){return _.createElement(sA,fr({},t,{ref:e,sideCar:axe}))});g8.classNames=sA.classNames;var tI="Dialog",[v8,G4e]=v_e(tI),[lxe,Na]=v8(tI),y8=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:a=!0}=t,o=_.useRef(null),c=_.useRef(null),[u=!1,f]=__e({prop:r,defaultProp:s,onChange:i});return P.jsx(lxe,{scope:e,triggerRef:o,contentRef:c,contentId:Dc(),titleId:Dc(),descriptionId:Dc(),open:u,onOpenChange:f,onOpenToggle:_.useCallback(()=>f(l=>!l),[f]),modal:a,children:n})};y8.displayName=tI;var b8="DialogTrigger",cxe=_.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=Na(b8,n),i=fp(e,s.triggerRef);return P.jsx(hs.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":sI(s.open),...r,ref:i,onClick:bd(t.onClick,s.onOpenToggle)})});cxe.displayName=b8;var nI="DialogPortal",[uxe,w8]=v8(nI,{forceMount:void 0}),_8=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:s}=t,i=Na(nI,e);return P.jsx(uxe,{scope:e,forceMount:n,children:_.Children.map(r,a=>P.jsx(rA,{present:n||i.open,children:P.jsx(d8,{asChild:!0,container:s,children:a})}))})};_8.displayName=nI;var aC="DialogOverlay",x8=_.forwardRef((t,e)=>{const n=w8(aC,t.__scopeDialog),{forceMount:r=n.forceMount
2026-09-25 11:19:08 +00:00
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return _.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},yxe="DialogDescriptionWarning",bxe=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${P8(yxe).contentName}}.`;return _.useEffect(()=>{var i;const s=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},wxe=y8,_xe=_8,xxe=x8,Sxe=S8,yy='[cmdk-group=""]',xT='[cmdk-group-items=""]',Exe='[cmdk-group-heading=""]',T8='[cmdk-item=""]',Jz=`${T8}:not([aria-disabled="true"])`,HD="cmdk-item-select",Zp="data-value",Cxe=(t,e,n)=>m_e(t,e,n),k8=_.createContext(void 0),v_=()=>_.useContext(k8),D8=_.createContext(void 0),iI=()=>_.useContext(D8),N8=_.createContext(void 0),M8=_.forwardRef((t,e)=>{let n=Jp(()=>{var G,K;return{search:"",value:(K=(G=t.value)!=null?G:t.defaultValue)!=null?K:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=Jp(()=>new Set),s=Jp(()=>new Map),i=Jp(()=>new Map),a=Jp(()=>new Set),o=O8(t),{label:c,children:u,value:f,onValueChange:l,filter:d,shouldFilter:m,loop:p,disablePointerSelection:h=!1,vimBindings:y=!0,...g}=t,v=Dc(),w=Dc(),x=Dc(),A=_.useRef(null),k=Ixe();Kh(()=>{if(f!==void 0){let G=f.trim();n.current.value=G,R.emit()}},[f]),Kh(()=>{k(6,I)},[]);let R=_.useMemo(()=>({subscribe:G=>(a.current.add(G),()=>a.current.delete(G)),snapshot:()=>n.current,setState:(G,K,Z)=>{var ue,de,ie,be;if(!Object.is(n.current[G],K)){if(n.current[G]=K,G==="search")L(),D(),k(1,M);else if(G==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let Ae=document.getElementById(x);Ae?Ae.focus():(ue=document.getElementById(v))==null||ue.focus()}if(k(7,()=>{var Ae;n.current.selectedItemId=(Ae=F())==null?void 0:Ae.id,R.emit()}),Z||k(5,I),((de=o.current)==null?void 0:de.value)!==void 0){let Ae=K??"";(be=(ie=o.current).onValueChange)==null||be.call(ie,Ae);return}}R.emit()}},emit:()=>{a.current.forEach(G=>G())}}),[]),E=_.useMemo(()=>({value:(G,K,Z)=>{var ue;K!==((ue=i.current.get(G))==null?void 0:ue.value)&&(i.current.set(G,{value:K,keywords:Z}),n.current.filtered.items.set(G,T(K,Z)),k(2,()=>{D(),R.emit()}))},item:(G,K)=>(r.current.add(G),K&&(s.current.has(K)?s.current.get(K).add(G):s.current.set(K,new Set([G]))),k(3,()=>{L(),D(),n.current.value||M(),R.emit()}),()=>{i.current.delete(G),r.current.delete(G),n.current.filtered.items.delete(G);let Z=F();k(4,()=>{L(),(Z==null?void 0:Z.getAttribute("id"))===G&&M(),R.emit()})}),group:G=>(s.current.has(G)||s.current.set(G,new Set),()=>{i.current.delete(G),s.current.delete(G)}),filter:()=>o.current.shouldFilter,label:c||t["aria-label"],getDisablePointerSelection:()=>o.current.disablePointerSelection,listId:v,inputId:x,labelId:w,listInnerRef:A}),[]);function T(G,K){var Z,ue;let de=(ue=(Z=o.current)==null?void 0:Z.filter)!=null?ue:Cxe;return G?de(G,n.current.search,K):0}function D(){if(!n.current.search||o.current.shouldFilter===!1)return;let G=n.current.filtered.items,K=[];n.current.filtered.groups.forEach(ue=>{let de=s.current.get(ue),ie=0;de.forEach(be=>{let Ae=G.get(be);ie=Math.max(Ae,ie)}),K.push([ue,ie])});let Z=A.current;U().sort((ue,de)=>{var ie,be;let Ae=ue.getAttribute("id"),_e=de.getAttribute("id");return((ie=G.get(_e))!=null?ie:0)-((be=G.get(Ae))!=null?be:0)}).forEach(ue=>{let de=ue.closest(xT);de?de.appendChild(ue.parentElement===de?ue:ue.closest(`${xT} > *`)):Z.appendChild(ue.parentElement===Z?ue:ue.closest(`${xT} > *`))}),K.sort((ue,de)=>de[1]-ue[1]).forEach(ue=>{var de;let ie=(de=A.current)==null?void 0:de.querySelector(`${yy}[${Zp}="${encodeURIComponent(ue[0])}"]`);ie==null||ie.parentElement.appendChild(ie)})}function M(){let G=U().find(Z=>Z.getAttribute("aria-disabled")!=="true"),K=G==null?void 0:G.getAttribute(Zp);R.setState("value",K||void 0)}function L(){var G,K,Z,ue;if(!n.current.search||o.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.grou
2026-09-25 11:19:08 +00:00
.block-interactivity-`.concat(t,` {pointer-events: none;}
.allow-interactivity-`).concat(t,` {pointer-events: all;}
`)},GCe=0,Hp=[];function KCe(t){var e=_.useRef([]),n=_.useRef([0,0]),r=_.useRef(),s=_.useState(GCe++)[0],i=_.useState(z1)[0],a=_.useRef(t);_.useEffect(function(){a.current=t},[t]),_.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var h=gL([t.lockRef.current],(t.shards||[]).map(wB),!0).filter(Boolean);return h.forEach(function(y){return y.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),h.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var o=_.useCallback(function(h,y){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!a.current.allowPinchZoom;var g=dS(h),v=n.current,w="deltaX"in h?h.deltaX:v[0]-g[0],x="deltaY"in h?h.deltaY:v[1]-g[1],A,k=h.target,R=Math.abs(w)>Math.abs(x)?"h":"v";if("touches"in h&&R==="h"&&k.type==="range")return!1;var E=yB(R,k);if(!E)return!0;if(E?A=R:(A=R==="v"?"h":"v",E=yB(R,k)),!E)return!1;if(!r.current&&"changedTouches"in h&&(w||x)&&(r.current=A),!A)return!0;var T=r.current||A;return VCe(T,y,h,T==="h"?w:x)},[]),c=_.useCallback(function(h){var y=h;if(!(!Hp.length||Hp[Hp.length-1]!==i)){var g="deltaY"in y?bB(y):dS(y),v=e.current.filter(function(A){return A.name===y.type&&(A.target===y.target||y.target===A.shadowParent)&&WCe(A.delta,g)})[0];if(v&&v.should){y.cancelable&&y.preventDefault();return}if(!v){var w=(a.current.shards||[]).map(wB).filter(Boolean).filter(function(A){return A.contains(y.target)}),x=w.length>0?o(y,w[0]):!a.current.noIsolation;x&&y.cancelable&&y.preventDefault()}}},[]),u=_.useCallback(function(h,y,g,v){var w={name:h,delta:y,target:g,should:v,shadowParent:YCe(g)};e.current.push(w),setTimeout(function(){e.current=e.current.filter(function(x){return x!==w})},1)},[]),f=_.useCallback(function(h){n.current=dS(h),r.current=void 0},[]),l=_.useCallback(function(h){u(h.type,bB(h),h.target,o(h,t.lockRef.current))},[]),d=_.useCallback(function(h){u(h.type,dS(h),h.target,o(h,t.lockRef.current))},[]);_.useEffect(function(){return Hp.push(i),t.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:d}),document.addEventListener("wheel",c,Up),document.addEventListener("touchmove",c,Up),document.addEventListener("touchstart",f,Up),function(){Hp=Hp.filter(function(h){return h!==i}),document.removeEventListener("wheel",c,Up),document.removeEventListener("touchmove",c,Up),document.removeEventListener("touchstart",f,Up)}},[]);var m=t.removeScrollBar,p=t.inert;return _.createElement(_.Fragment,null,p?_.createElement(i,{styles:qCe(s)}):null,m?_.createElement(wL,{gapMode:t.gapMode}):null)}function YCe(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const XCe=bL(uG,KCe);var pG=_.forwardRef(function(t,e){return _.createElement(hA,fr({},t,{ref:e,sideCar:XCe}))});pG.classNames=hA.classNames;var II="Dialog",[mG,J4e]=dCe(II),[QCe,Ma]=mG(II),gG=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:a=!0}=t,o=_.useRef(null),c=_.useRef(null),[u=!1,f]=sr({prop:r,defaultProp:s,onChange:i});return P.jsx(QCe,{scope:e,triggerRef:o,contentRef:c,contentId:Hr(),titleId:Hr(),descriptionId:Hr(),open:u,onOpenChange:f,onOpenToggle:_.useCallback(()=>f(l=>!l),[f]),modal:a,children:n})};gG.displayName=II;var vG="DialogTrigger",ZCe=_.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=Ma(vG,n),i=mp(e,s.triggerRef);return P.jsx(Zc.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":jI(s.open),...r,ref:i,onClick:wd(t.onClick,s.onOpenToggle)})});ZCe.displayName=vG;var $I="DialogPortal",[JCe,yG]=mG($I,{forceMount:void 0}),bG=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:s}=t,i=Ma($I,e);return P.jsx(JCe,{scope:e,forceMount:n,children:_.Children.map(r,a=>P.jsx(fA,{present:n||i.open,children:P.jsx(cG,{asChild:!0,container:s,children:a})}))})};bG.displayName=$I;var pC="DialogOverlay",wG=_.forwardRef((t,e)=>{const n=yG(pC,t.__scopeDialog),{forceMount:r=n.forceMount,
2026-09-25 11:19:08 +00:00
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return _.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},s1e="DialogDescriptionWarning",i1e=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${TG(s1e).contentName}}.`;return _.useEffect(()=>{var i;const s=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},o1e=gG,a1e=bG,l1e=wG,c1e=_G,u1e=SG,d1e=CG,f1e=RG;function h1e(t){if(typeof document>"u")return;let e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}const kG=se.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}),A_=()=>{const t=se.useContext(kG);if(!t)throw new Error("useDrawerContext must be used within a Drawer.Root");return t};h1e(`[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;transition:opaci
2026-09-25 11:19:08 +00:00
[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 p1e=24,m1e=typeof window<"u"?_.useLayoutEffect:_.useEffect;function _B(...t){return(...e)=>{for(let n of t)typeof n=="function"&&n(...e)}}function g1e(){return zI(/^Mac/)}function v1e(){return zI(/^iPhone/)}function xB(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function y1e(){return zI(/^iPad/)||g1e()&&navigator.maxTouchPoints>1}function DG(){return v1e()||y1e()}function zI(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.platform):void 0}const TT=typeof document<"u"&&window.visualViewport;function SB(t){let e=window.getComputedStyle(t);return/(auto|scroll)/.test(e.overflow+e.overflowX+e.overflowY)}function NG(t){for(SB(t)&&(t=t.parentElement);t&&!SB(t);)t=t.parentElement;return t||document.scrollingElement||document.documentElement}const b1e=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let fS=0,kT;function w1e(t={}){let{isDisabled:e}=t;m1e(()=>{if(!e)return fS++,fS===1&&DG()&&(kT=_1e()),()=>{fS--,fS===0&&(kT==null||kT())}},[e])}function _1e(){let t,e=0,n=l=>{t=NG(l.target),!(t===document.documentElement&&t===document.body)&&(e=l.changedTouches[0].pageY)},r=l=>{if(!t||t===document.documentElement||t===document.body){l.preventDefault();return}let d=l.changedTouches[0].pageY,m=t.scrollTop,p=t.scrollHeight-t.clientHeight;p!==0&&((m<=0&&d>e||m>=p&&d<e)&&l.preventDefault(),e=d)},s=l=>{let d=l.target;QD(d)&&d!==document.activeElement&&(l.preventDefault(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""}))},i=l=>{let d=l.target;QD(d)&&(d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",TT&&(TT.height<window.innerHeight?requestAnimationFrame(()=>{EB(d)}):TT.addEventListener("resize",()=>EB(d),{once:!0}))}))},a=()=>{window.scrollTo(0,0)},o=window.pageXOffset,c=window.pageYOffset,u=_B(x1e(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let f=_B(by(document,"touchstart",n,{passive:!1,capture:!0}),by(document,"touchmove",r,{passive:!1,capture:!0}),by(document,"touchend",s,{passive:!1,capture:!0}),by(document,"focus",i,!0),by(window,"scroll",a));return()=>{u(),f(),window.scrollTo(o,c)}}function x1e(t,e,n){let r=t.style[e];return t.style[e]=n,()=>{t.style[e]=r}}function by(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}function EB(t){let e=document.scrollingElement||document.documentElement;for(;t&&t!==e;){let n=NG(t);if(n!==document.documentElement&&n!==document.body&&n!==t){let r=n.getBoundingClientRect().top,s=t.getBoundingClientRect().top,i=t.getBoundingClientRect().bottom;const a=n.getBoundingClientRect().bottom+p1e;i>a&&(n.scrollTo
2026-09-25 11:19:08 +00:00
- a positive number
- less than the value passed to \`max\` (or ${s$} if no \`max\` prop is set)
2026-09-25 11:19:08 +00:00
- \`null\` or \`undefined\` if the progress is indeterminate.
Defaulting to \`null\`.`}var i9=t9,LPe=r9;const IPe=_.forwardRef(({className:t,value:e,...n},r)=>P.jsx(i9,{ref:r,className:ce("relative h-4 w-full overflow-hidden rounded-full bg-secondary",t),...n,children:P.jsx(LPe,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));IPe.displayName=i9.displayName;var i$="Radio",[$Pe,o9]=Tn(i$),[FPe,jPe]=$Pe(i$),a9=_.forwardRef((t,e)=>{const{__scopeRadio:n,name:r,checked:s=!1,required:i,disabled:a,value:o="on",onCheck:c,...u}=t,[f,l]=_.useState(null),d=tt(e,h=>l(h)),m=_.useRef(!1),p=f?!!f.closest("form"):!0;return P.jsxs(FPe,{scope:n,checked:s,disabled:a,children:[P.jsx(De.button,{type:"button",role:"radio","aria-checked":s,"data-state":u9(s),"data-disabled":a?"":void 0,disabled:a,value:o,...u,ref:d,onClick:me(t.onClick,h=>{s||c==null||c(),p&&(m.current=h.isPropagationStopped(),m.current||h.stopPropagation())})}),p&&P.jsx(zPe,{control:f,bubbles:!m.current,name:r,value:o,checked:s,required:i,disabled:a,style:{transform:"translateX(-100%)"}})]})});a9.displayName=i$;var l9="RadioIndicator",c9=_.forwardRef((t,e)=>{const{__scopeRadio:n,forceMount:r,...s}=t,i=jPe(l9,n);return P.jsx(Hn,{present:r||i.checked,children:P.jsx(De.span,{"data-state":u9(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:e})})});c9.displayName=l9;var zPe=t=>{const{control:e,checked:n,bubbles:r=!0,...s}=t,i=_.useRef(null),a=Cv(n),o=g_(e);return _.useEffect(()=>{const c=i.current,u=window.HTMLInputElement.prototype,l=Object.getOwnPropertyDescriptor(u,"checked").set;if(a!==n&&l){const d=new Event("click",{bubbles:r});l.call(c,n),c.dispatchEvent(d)}},[a,n,r]),P.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:n,...s,tabIndex:-1,ref:i,style:{...t.style,...o,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function u9(t){return t?"checked":"unchecked"}var BPe=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],o$="RadioGroup",[UPe,fUe]=Tn(o$,[Cl,o9]),d9=Cl(),f9=o9(),[HPe,VPe]=UPe(o$),h9=_.forwardRef((t,e)=>{const{__scopeRadioGroup:n,name:r,defaultValue:s,value:i,required:a=!1,disabled:o=!1,orientation:c,dir:u,loop:f=!0,onValueChange:l,...d}=t,m=d9(n),p=ka(u),[h,y]=sr({prop:i,defaultProp:s,onChange:l});return P.jsx(HPe,{scope:n,name:r,required:a,disabled:o,value:h,onValueChange:y,children:P.jsx(__,{asChild:!0,...m,orientation:c,dir:p,loop:f,children:P.jsx(De.div,{role:"radiogroup","aria-required":a,"aria-orientation":c,"data-disabled":o?"":void 0,dir:p,...d,ref:e})})})});h9.displayName=o$;var p9="RadioGroupItem",m9=_.forwardRef((t,e)=>{const{__scopeRadioGroup:n,disabled:r,...s}=t,i=VPe(p9,n),a=i.disabled||r,o=d9(n),c=f9(n),u=_.useRef(null),f=tt(e,u),l=i.value===s.value,d=_.useRef(!1);return _.useEffect(()=>{const m=h=>{BPe.includes(h.key)&&(d.current=!0)},p=()=>d.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",p),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",p)}},[]),P.jsx(x_,{asChild:!0,...o,focusable:!a,active:l,children:P.jsx(a9,{disabled:a,required:i.required,checked:l,...c,...s,name:i.name,ref:f,onCheck:()=>i.onValueChange(s.value),onKeyDown:me(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:me(s.onFocus,()=>{var m;d.current&&((m=u.current)==null||m.click())})})})});m9.displayName=p9;var WPe="RadioGroupIndicator",g9=_.forwardRef((t,e)=>{const{__scopeRadioGroup:n,...r}=t,s=f9(n);return P.jsx(c9,{...s,...r,ref:e})});g9.displayName=WPe;var v9=h9,y9=m9,qPe=g9;const GPe=_.forwardRef(({className:t,...e},n)=>P.jsx(v9,{className:ce("grid gap-2",t),...e,ref:n}));GPe.displayName=v9.displayName;const KPe=_.forwardRef(({className:t,...e},n)=>P.jsx(y9,{ref:n,className:ce("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",t),...e,children:P.jsx(qPe,{className:"flex items-center justify-center",children:P.jsx(I1,{className:"h-2.5 w-2.5 fill-current text-current"})})}));KPe.displayName=
2026-09-25 11:19:08 +00:00
* @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 Gn(){return Gn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Gn.apply(this,arguments)}var Er;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Er||(Er={}));const t4="popstate";function uNe(t){t===void 0&&(t={});function e(r,s){let{pathname:i,search:a,hash:o}=r.location;return n0("",{pathname:i,search:a,hash:o},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:Jh(s)}return fNe(e,n,null,t)}function Nt(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function fv(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function dNe(){return Math.random().toString(36).substr(2,8)}function n4(t,e){return{usr:t.state,key:t.key,idx:e}}function n0(t,e,n,r){return n===void 0&&(n=null),Gn({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?zd(e):e,{state:n,key:e&&e.key||r||dNe()})}function Jh(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function zd(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function fNe(t,e,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,a=s.history,o=Er.Pop,c=null,u=f();u==null&&(u=0,a.replaceState(Gn({},a.state,{idx:u}),""));function f(){return(a.state||{idx:null}).idx}function l(){o=Er.Pop;let y=f(),g=y==null?null:y-u;u=y,c&&c({action:o,location:h.location,delta:g})}function d(y,g){o=Er.Push;let v=n0(h.location,y,g);u=f()+1;let w=n4(v,u),x=h.createHref(v);try{a.pushState(w,"",x)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;s.location.assign(x)}i&&c&&c({action:o,location:h.location,delta:1})}function m(y,g){o=Er.Replace;let v=n0(h.location,y,g);u=f();let w=n4(v,u),x=h.createHref(v);a.replaceState(w,"",x),i&&c&&c({action:o,location:h.location,delta:0})}function p(y){let g=s.location.origin!=="null"?s.location.origin:s.location.href,v=typeof y=="string"?y:Jh(y);return v=v.replace(/ $/,"%20"),Nt(g,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,g)}let h={get action(){return o},get location(){return t(s,a)},listen(y){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(t4,l),c=y,()=>{s.removeEventListener(t4,l),c=null}},createHref(y){return e(s,y)},createURL:p,encodeLocation(y){let g=p(y);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:d,replace:m,go(y){return a.go(y)}};return h}var hn;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(hn||(hn={}));const hNe=new Set(["lazy","caseSensitive","path","id","index","children"]);function pNe(t){return t.index===!0}function TC(t,e,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),t.map((s,i)=>{let a=[...n,String(i)],o=typeof s.id=="string"?s.id:a.join("-");if(Nt(s.index!==!0||!s.children,"Cannot specify children on an index route"),Nt(!r[o],'Found a route id collision on id "'+o+`". Route id's must be globally unique within Data Router usages`),pNe(s)){let c=Gn({},s,e(s),{id:o});return r[o]=c,c}else{let c=Gn({},s,e(s),{id:o,children:void 0});return r[o]=c,s.children&&(c.children=TC(s.children,e,a,r)),c}})}function pf(t,e,n){return n===void 0&&(n="/"),GS(t,e,n,!1)}function GS(t,e,n,r){let s=typeof e=="string"?zd(e):e,i=Rd(s.pathname||"/",n);if(i==null)return null;let a=lQ(t);gNe(a);let o=null;for(let c=0;o==null&&c<a.length;++c){let u=RNe(i);o=CNe(a[c],u,r)}return o}function mNe(t,e){let{route:n,pathname:r,params:s}=t;return{id:n.id,pathname:r,params:s,data:e[n.id],handle:n.handle}}function lQ(t,e,n,r){e===void 0&&(e=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,a,o)=>{let c={relativePath:o===void 0?i.path||"":o,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};c.relativePath.startsWith("
`},""):String(r.body);return{path:n,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:void 0,text:d}}}else if(r.formEncType==="application/json"){if(!ma(a))return s();try{let d=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch{return s()}}}Nt(typeof FormData=="function","FormData is not available in this environment");let c,u;if(r.formData)c=TN(r.formData),u=r.formData;else if(r.body instanceof FormData)c=TN(r.body),u=r.body;else if(r.body instanceof URLSearchParams)c=r.body,u=d4(c);else if(r.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(r.body),u=d4(c)}catch{return s()}let f={formMethod:a,formAction:o,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(ma(f.formMethod))return{path:n,submission:f};let l=zd(n);return e&&l.search&&P$(l.search)&&c.append("index",""),l.search="?"+c,{path:Jh(l),submission:f}}function o4(t,e,n){n===void 0&&(n=!1);let r=t.findIndex(s=>s.route.id===e);return r>=0?t.slice(0,n?r+1:r):t}function a4(t,e,n,r,s,i,a,o,c,u,f,l,d,m,p,h){let y=h?Qi(h[1])?h[1].error:h[1].data:void 0,g=t.createURL(e.location),v=t.createURL(s),w=n;i&&e.errors?w=o4(n,Object.keys(e.errors)[0],!0):h&&Qi(h[1])&&(w=o4(n,h[0]));let x=h?h[1].statusCode:void 0,A=a&&x&&x>=400,k=w.filter((E,T)=>{let{route:D}=E;if(D.lazy)return!0;if(D.loader==null)return!1;if(i)return PN(D,e.loaderData,e.errors);if(UNe(e.loaderData,e.matches[T],E)||c.some(I=>I===E.route.id))return!0;let M=e.matches[T],L=E;return l4(E,Gn({currentUrl:g,currentParams:M.params,nextUrl:v,nextParams:L.params},r,{actionResult:y,actionStatus:x,defaultShouldRevalidate:A?!1:o||g.pathname+g.search===v.pathname+v.search||g.search!==v.search||hQ(M,L)}))}),R=[];return l.forEach((E,T)=>{if(i||!n.some(F=>F.route.id===E.routeId)||f.has(T))return;let D=pf(m,E.path,p);if(!D){R.push({key:T,routeId:E.routeId,path:E.path,matches:null,match:null,controller:null});return}let M=e.fetchers.get(T),L=By(D,E.path),I=!1;d.has(T)?I=!1:u.has(T)?(u.delete(T),I=!0):M&&M.state!=="idle"&&M.data===void 0?I=o:I=l4(L,Gn({currentUrl:g,currentParams:e.matches[e.matches.length-1].params,nextUrl:v,nextParams:n[n.length-1].params},r,{actionResult:y,actionStatus:x,defaultShouldRevalidate:A?!1:o})),I&&R.push({key:T,routeId:E.routeId,path:E.path,matches:D,match:L,controller:new AbortController})}),[k,R]}function PN(t,e,n){if(t.lazy)return!0;if(!t.loader)return!1;let r=e!=null&&e[t.id]!==void 0,s=n!=null&&n[t.id]!==void 0;return!r&&s?!1:typeof t.loader=="function"&&t.loader.hydrate===!0?!0:!r&&!s}function UNe(t,e,n){let r=!e||n.route.id!==e.route.id,s=t[n.route.id]===void 0;return r||s}function hQ(t,e){let n=t.route.path;return t.pathname!==e.pathname||n!=null&&n.endsWith("*")&&t.params["*"]!==e.params["*"]}function l4(t,e){if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate(e);if(typeof n=="boolean")return n}return e.defaultShouldRevalidate}function c4(t,e,n,r,s){var i;let a;if(t){let u=r[t];Nt(u,"No route found to patch children into: routeId = "+t),u.children||(u.children=[]),a=u.children}else a=n;let o=e.filter(u=>!a.some(f=>pQ(u,f))),c=TC(o,s,[t||"_","patch",String(((i=a)==null?void 0:i.length)||"0")],r);a.push(...c)}function pQ(t,e){return"id"in t&&"id"in e&&t.id===e.id?!0:t.index===e.index&&t.path===e.path&&t.caseSensitive===e.caseSensitive?(!t.children||t.children.length===0)&&(!e.children||e.children.length===0)?!0:t.children.every((n,r)=>{var s;return(s=e.children)==null?void 0:s.some(i=>pQ(n,i))}):!1}async function HNe(t,e,n){if(!t.lazy)return;let r=await t.lazy();if(!t.lazy)return;let s=n[t.id];Nt(s,"No route found in manifest");let i={};for(let a in r){let c=s[a]!==void 0&&a!=="hasErrorBoundary";fv(!c,'Route "'+s.id+'" has a static property "'+a+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+a+'" will be ignored.')),!c&&!hNe.has(a)&&(i[a]=r[a])}Object.assign(s,i),Object.assign(s,Gn({},e(s),{lazy:
2026-09-25 11:19:08 +00:00
* 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 hv(){return hv=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},hv.apply(this,arguments)}const IA=_.createContext(null),vQ=_.createContext(null),Bd=_.createContext(null),T$=_.createContext(null),Pl=_.createContext({outlet:null,matches:[],isDataRoute:!1}),yQ=_.createContext(null);function oMe(t,e){let{relative:n}=e===void 0?{}:e;Ov()||Nt(!1);let{basename:r,navigator:s}=_.useContext(Bd),{hash:i,pathname:a,search:o}=wQ(t,{relative:n}),c=a;return r!=="/"&&(c=a==="/"?r:Nc([r,a])),s.createHref({pathname:c,search:o,hash:i})}function Ov(){return _.useContext(T$)!=null}function Ud(){return Ov()||Nt(!1),_.useContext(T$).location}function bQ(t){_.useContext(Bd).static||_.useLayoutEffect(t)}function Lv(){let{isDataRoute:t}=_.useContext(Pl);return t?bMe():aMe()}function aMe(){Ov()||Nt(!1);let t=_.useContext(IA),{basename:e,future:n,navigator:r}=_.useContext(Bd),{matches:s}=_.useContext(Pl),{pathname:i}=Ud(),a=JSON.stringify(OA(s,n.v7_relativeSplatPath)),o=_.useRef(!1);return bQ(()=>{o.current=!0}),_.useCallback(function(u,f){if(f===void 0&&(f={}),!o.current)return;if(typeof u=="number"){r.go(u);return}let l=LA(u,JSON.parse(a),i,f.relative==="path");t==null&&e!=="/"&&(l.pathname=l.pathname==="/"?e:Nc([e,l.pathname])),(f.replace?r.replace:r.push)(l,f.state,f)},[e,r,a,i,t])}const lMe=_.createContext(null);function cMe(t){let e=_.useContext(Pl).outlet;return e&&_.createElement(lMe.Provider,{value:t},e)}function RUe(){let{matches:t}=_.useContext(Pl),e=t[t.length-1];return e?e.params:{}}function wQ(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=_.useContext(Bd),{matches:s}=_.useContext(Pl),{pathname:i}=Ud(),a=JSON.stringify(OA(s,r.v7_relativeSplatPath));return _.useMemo(()=>LA(t,JSON.parse(a),i,n==="path"),[t,a,i,n])}function uMe(t,e,n,r){Ov()||Nt(!1);let{navigator:s,static:i}=_.useContext(Bd),{matches:a}=_.useContext(Pl),o=a[a.length-1],c=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let f=Ud(),l;l=f;let d=l.pathname||"/",m=d;if(u!=="/"){let y=u.replace(/^\//,"").split("/");m="/"+d.replace(/^\//,"").split("/").slice(y.length).join("/")}let p=!i&&n&&n.matches&&n.matches.length>0?n.matches:pf(t,{pathname:m});return mMe(p&&p.map(y=>Object.assign({},y,{params:Object.assign({},c,y.params),pathname:Nc([u,s.encodeLocation?s.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?u:Nc([u,s.encodeLocation?s.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),a,n,r)}function dMe(){let t=vMe(),e=r0(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},e),n?_.createElement("pre",{style:s},n):null,null)}const fMe=_.createElement(dMe,null);class hMe extends _.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?_.createElement(Pl.Provider,{value:this.props.routeContext},_.createElement(yQ.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function pMe(t){let{routeContext:e,match:n,children:r}=t,s=_.useContext(IA);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(Pl.Provider,{value:e},r)}function mMe(t,e,n,r){var s;if(e===void 0&&(
2026-09-25 11:19:08 +00:00
* 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 s0(){return s0=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s0.apply(this,arguments)}function EMe(t,e){if(t==null)return{};var n={},r=Object.keys(t),s,i;for(i=0;i<r.length;i++)s=r[i],!(e.indexOf(s)>=0)&&(n[s]=t[s]);return n}function CMe(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function AMe(t,e){return t.button===0&&(!e||e==="_self")&&!CMe(t)}function kN(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,n)=>{let r=t[n];return e.concat(Array.isArray(r)?r.map(s=>[n,s]):[[n,r]])},[]))}function RMe(t,e){let n=kN(t);return e&&e.forEach((r,s)=>{n.has(s)||e.getAll(s).forEach(i=>{n.append(s,i)})}),n}const PMe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],TMe="6";try{window.__reactRouterVersion=TMe}catch{}function kMe(t,e){return zNe({basename:e==null?void 0:e.basename,future:s0({},e==null?void 0:e.future,{v7_prependBasename:!0}),history:uNe({window:e==null?void 0:e.window}),hydrationData:(e==null?void 0:e.hydrationData)||DMe(),routes:t,mapRouteProperties:SMe,dataStrategy:e==null?void 0:e.dataStrategy,patchRoutesOnNavigation:e==null?void 0:e.patchRoutesOnNavigation,window:e==null?void 0:e.window}).initialize()}function DMe(){var t;let e=(t=window)==null?void 0:t.__staticRouterHydrationData;return e&&e.errors&&(e=s0({},e,{errors:NMe(e.errors)})),e}function NMe(t){if(!t)return null;let e=Object.entries(t),n={};for(let[r,s]of e)if(s&&s.__type==="RouteErrorResponse")n[r]=new kC(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 a=new i(s.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let i=new Error(s.message);i.stack="",n[r]=i}}else n[r]=s;return n}const MMe=_.createContext({isTransitioning:!1}),OMe=_.createContext(new Map),LMe="startTransition",b4=Yw[LMe],IMe="flushSync",w4=Yue[IMe];function $Me(t){b4?b4(t):t()}function Cy(t){w4?w4(t):t()}class FMe{constructor(){this.status="pending",this.promise=new Promise((e,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function jMe(t){let{fallbackElement:e,router:n,future:r}=t,[s,i]=_.useState(n.state),[a,o]=_.useState(),[c,u]=_.useState({isTransitioning:!1}),[f,l]=_.useState(),[d,m]=_.useState(),[p,h]=_.useState(),y=_.useRef(new Map),{v7_startTransition:g}=r||{},v=_.useCallback(E=>{g?$Me(E):E()},[g]),w=_.useCallback((E,T)=>{let{deletedFetchers:D,flushSync:M,viewTransitionOpts:L}=T;E.fetchers.forEach((F,U)=>{F.data!==void 0&&y.current.set(U,F.data)}),D.forEach(F=>y.current.delete(F));let I=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!L||I){M?Cy(()=>i(E)):v(()=>i(E));return}if(M){Cy(()=>{d&&(f&&f.resolve(),d.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:L.currentLocation,nextLocation:L.nextLocation})});let F=n.window.document.startViewTransition(()=>{Cy(()=>i(E))});F.finished.finally(()=>{Cy(()=>{l(void 0),m(void 0),o(void 0),u({isTransitioning:!1})})}),Cy(()=>m(F));return}d?(f&&f.resolve(),d.skipTransition(),h({state:E,currentLocation:L.currentLocation,nextLocation:L.nextLocation})):(o(E),u({isTransitioning:!0,flushSync:!1,currentLocation:L.currentLocation,nextLocation:L.nextLocation}))},[n.window,d,f,y,v]);_.useLayoutEffect(()=>n.subscribe(w),[n,w]),_.useEffect(()=>{c.isTransitioning&&!c.flushSync&&l(new FMe)},[c]),_.useEffect(()=>{if(f&&a&&n.window){let E=a,T=f.promise,D=n.window.document.startViewTransition(async()=>{v(()=>i(E)),await T});D.finished.finally(()=>{l(void 0),m(void 0),o(void 0),u({isTransitioning:!1})}),m(D)}},[v,a,f,n.window]),_.useEffect(()=>{f&&a&&s.location.key===a.location.key&&f.resolve()},[f,d,s.location,a]),_.useEffect(()=>{!c.isTransitioning&&p&&(o(p.state),u({isTransit
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var nOe={normalizePrecision:function(e){var n=e.reduce(function(r,s){return Math.max(r.getPrecision(),s.getPrecision())});return e.map(function(r){return r.getPrecision()!==n?r.convertPrecision(n):r})},minimum:function(e){var n=S4(e),r=n[0],s=n.slice(1),i=r;return s.forEach(function(a){i=i.lessThan(a)?i:a}),i},maximum:function(e){var n=S4(e),r=n[0],s=n.slice(1),i=r;return s.forEach(function(a){i=i.greaterThan(a)?i:a}),i}};function NQ(t){return!isNaN(parseInt(t))&&isFinite(t)}function rOe(t){return NQ(t)&&t<=100&&t>=0}function sOe(t){return t.length>0&&t.every(function(e){return e>=0})&&t.some(function(e){return e>0})}function C4(t){return t%2===0}function A4(t){return NQ(t)&&!Number.isInteger(t)}function iOe(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=t.toString();if(e.indexOf("e-")>0)return parseInt(e.split("e-")[1]);var n=e.split(".")[1];return n?n.length:0}function Ay(t){return Math.abs(t)%1===.5}function oOe(t){var e=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",t,!0),aOe(s,e.headers),s.send()})}function aOe(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in e)t.setRequestHeader(n,e[n]);return t}function Uy(t){return typeof t>"u"}function MQ(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".",n={};return Object.entries(t).forEach(function(r){if(vb(r[1])==="object"){var s=MQ(r[1]);Object.entries(s).forEach(function(i){n[r[0]+e+i[0]]=i[1]})}else n[r[0]]=r[1]}),n}function lOe(t){return!!t&&(vb(t)==="object"||typeof t=="function")&&typeof t.then=="function"}function OQ(){var t=function(r,s){var i=function(c){return Math.pow(10,iOe(c))},a=Math.max(i(r),i(s));return Math.round(r*a)*Math.round(s*a)/(a*a)},e={HALF_ODD:function(r){var s=Math.round(r);return Ay(r)&&C4(s)?s-1:s},HALF_EVEN:function(r){var s=Math.round(r);return Ay(r)?C4(s)?s:s-1:s},HALF_UP:function(r){return Math.round(r)},HALF_DOWN:function(r){return Ay(r)?Math.floor(r):Math.round(r)},HALF_TOWARDS_ZERO:function(r){return Ay(r)?Math.sign(r)*Math.floor(Math.abs(r)):Math.round(r)},HALF_AWAY_FROM_ZERO:function(r){return Ay(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 A4(r)||A4(s)?t(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 e[s](r)}}}var cOe=OQ();function uOe(t){var e=/^(?:(\$|USD)?0(?:(,)0)?(\.)?(0+)?|0(?:(,)0)?(\.)?(0+)?\s?(dollar)?)$/gm.exec(t);return{getMatches:function(){return e!==null?e.slice(1).filter(function(r){return!Uy(r)}):[]},getMinimumFractionDigits:function(){var r=function(i){return i==="."};return Uy(this.getMatches().find(r))?0:this.getMatches()[cOe.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 Uy(this.getCurrencyDisplay(this.getMatches()))?"decimal":"currency"},getUseGrouping:function(){return!Uy(this.getMatches().find(function(r){return r===","}))}}}function dOe(t){var e=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=arguments.length>1?arguments[1]:void 0;for(var a in i)s=s.replace("{{".concat(a,"}}"),i[a]);return s},n=function(s,i){return oOe(e(t.endpoint,{from:s,to:i}),{headers:t.headers})};return{getExchangeRate:function(s,i){return(lOe(t.endpoint)?t.endpoint:n(s,i)).then(function(a){return MQ(a)[e(t.propertyPath,{from:s,to:i})]})}}}function o0(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2
2026-09-25 11:19:08 +00:00
* @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
*/NC.exports;(function(t,e){(function(){var n,r="4.17.21",s=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",u=500,f="__lodash_placeholder__",l=1,d=2,m=4,p=1,h=2,y=1,g=2,v=4,w=8,x=16,A=32,k=64,R=128,E=256,T=512,D=30,M="...",L=800,I=16,F=1,U=2,Y=3,V=1/0,H=9007199254740991,ee=17976931348623157e292,re=NaN,X=4294967295,G=X-1,K=X>>>1,Z=[["ary",R],["bind",y],["bindKey",g],["curry",w],["curryRight",x],["flip",T],["partial",A],["partialRight",k],["rearg",E]],ue="[object Arguments]",de="[object Array]",ie="[object AsyncFunction]",be="[object Boolean]",Ae="[object Date]",_e="[object DOMException]",Oe="[object Error]",Ne="[object Function]",ye="[object GeneratorFunction]",$e="[object Map]",ut="[object Number]",Qe="[object Null]",yt="[object Object]",En="[object Promise]",Xt="[object Proxy]",gn="[object RegExp]",Qt="[object Set]",J="[object String]",fe="[object Symbol]",ge="[object Undefined]",Pe="[object WeakMap]",Me="[object WeakSet]",xe="[object ArrayBuffer]",Te="[object DataView]",Ye="[object Float32Array]",Pt="[object Float64Array]",wt="[object Int8Array]",Ms="[object Int16Array]",Yn="[object Int32Array]",ps="[object Uint8Array]",Ht="[object Uint8ClampedArray]",an="[object Uint16Array]",vn="[object Uint32Array]",Be=/\b__p \+= '';/g,it=/\b(__p \+=) '' \+/g,ot=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Et=/&(?:amp|lt|gt|quot|#39);/g,nt=/[&<>"']/g,Vt=RegExp(Et.source),At=RegExp(nt.source),yn=/<%-([\s\S]+?)%>/g,ln=/<%([\s\S]+?)%>/g,cn=/<%=([\s\S]+?)%>/g,kn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hr=/^\w*$/,Dn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(te.source),he=/^\s+/,Ce=/\s/,Le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ge=/\{\n\/\* \[wrapped with (.+)\] \*/,st=/,? & /,Ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[()=,{}\[\]\/\s]/,We=/\\(\\)?/g,Je=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,It=/^[-+]0x[0-9a-f]+$/i,Rr=/^0b[01]+$/i,bn=/^\[object .+?Constructor\]$/,qt=/^0o[0-7]+$/i,Vn=/^(?:0|[1-9]\d*)$/,Jc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,La=/($^)/,Vo=/['\n\r\u2028\u2029\\]/g,Os="\\ud800-\\udfff",Bv="\\u0300-\\u036f",Wd="\\ufe20-\\ufe2f",Tl="\\u20d0-\\u20ff",qd=Bv+Wd+Tl,Gd="\\u2700-\\u27bf",Ft="a-z\\xdf-\\xf6\\xf8-\\xff",Wn="\\xac\\xb1\\xd7\\xf7",eu="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Kd="\\u2000-\\u206f",ir=" \\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",kl="A-Z\\xc0-\\xd6\\xd8-\\xde",Uv="\\ufe0e\\ufe0f",W_=Wn+eu+Kd+ir,fR="['’]",_te="["+Os+"]",a2="["+W_+"]",q_="["+qd+"]",l2="\\d+",xte="["+Gd+"]",c2="["+Ft+"]",u2="[^"+Os+W_+l2+Gd+Ft+kl+"]",hR="\\ud83c[\\udffb-\\udfff]",Ste="(?:"+q_+"|"+hR+")",d2="[^"+Os+"]",pR="(?:\\ud83c[\\udde6-\\uddff]){2}",mR="[\\ud800-\\udbff][\\udc00-\\udfff]",bp="["+kl+"]",f2="\\u200d",h2="(?:"+c2+"|"+u2+")",Ete="(?:"+bp+"|"+u2+")",p2="(?:"+fR+"(?:d|ll|m|re|s|t|ve))?",m2="(?:"+fR+"(?:D|LL|M|RE|S|T|VE))?",g2=Ste+"?",v2="["+Uv+"]?",Cte="(?:"+f2+"(?:"+[d2,pR,mR].join("|")+")"+v2+g2+")*",Ate="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Rte="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",y2=v2+g2+Cte,Pte="(?:"+[xte,pR,mR].join("|")+")"+y2,Tte="(?:"+[d2+q_+"?",q_,pR,mR,_te].join("|")+")",kte=RegExp(fR,"g"),Dte=RegExp(q_,"g"),gR=RegExp(hR+"(?="+hR+")|"+Tte+y2,"g"),Nte=RegExp([bp+"?"+c2+"+"+p2+"(?="+[a2,bp,"$"].join("|")+")",Ete+"+"+m2+"(?="+[a2,bp+h2,"$"].join("|")+")",bp+"?"+h2+"+"+p2,bp+"+"+m2,Rte,Ate,l2,Pte].join("|"),"g"),Mte=RegExp("["+f2+Os+qd+Uv+"]"),Ote=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Lte=["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","se
2026-09-25 11:19:08 +00:00
/* [wrapped with `+S+`] */
`)}function Jre(b){return bt(b)||rf(b)||!!(B2&&b&&b[B2])}function Il(b,S){var N=typeof b;return S=S??H,!!S&&(N=="number"||N!="symbol"&&Vn.test(b))&&b>-1&&b%1==0&&b<S}function Is(b,S,N){if(!Xn(N))return!1;var O=typeof S;return(O=="number"?ni(N)&&Il(S,N.length):O=="string"&&S in N)?Go(N[S],b):!1}function rP(b,S){if(bt(b))return!1;var N=typeof b;return N=="number"||N=="symbol"||N=="boolean"||b==null||Ni(b)?!0:hr.test(b)||!kn.test(b)||S!=null&&b in Cn(S)}function ese(b){var S=typeof b;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?b!=="__proto__":b===null}function sP(b){var S=_x(b),N=W[S];if(typeof N!="function"||!(S in $t.prototype))return!1;if(b===N)return!0;var O=eP(N);return!!O&&b===O[0]}function tse(b){return!!$2&&$2 in b}var nse=Q_?$l:_P;function ty(b){var S=b&&b.constructor,N=typeof S=="function"&&S.prototype||Ep;return b===N}function $F(b){return b===b&&!Xn(b)}function FF(b,S){return function(N){return N==null?!1:N[b]===S&&(S!==n||b in Cn(N))}}function rse(b){var S=Rx(b,function(O){return N.size===u&&N.clear(),O}),N=S.cache;return S}function sse(b,S){var N=b[1],O=S[1],j=N|O,q=j<(y|g|R),Q=O==R&&N==w||O==R&&N==E&&b[7].length<=S[8]||O==(R|E)&&S[7].length<=S[8]&&N==w;if(!(q||Q))return b;O&y&&(b[2]=S[2],j|=N&y?0:v);var ne=S[3];if(ne){var le=b[3];b[3]=le?wF(le,ne,S[4]):ne,b[4]=le?ru(b[3],f):S[4]}return ne=S[5],ne&&(le=b[5],b[5]=le?_F(le,ne,S[6]):ne,b[6]=le?ru(b[5],f):S[6]),ne=S[7],ne&&(b[7]=ne),O&R&&(b[8]=b[8]==null?S[8]:ms(b[8],S[8])),b[9]==null&&(b[9]=S[9]),b[0]=S[0],b[1]=j,b}function ise(b){var S=[];if(b!=null)for(var N in Cn(b))S.push(N);return S}function ose(b){return J_.call(b)}function jF(b,S,N){return S=Tr(S===n?b.length-1:S,0),function(){for(var O=arguments,j=-1,q=Tr(O.length-S,0),Q=pe(q);++j<q;)Q[j]=O[S+j];j=-1;for(var ne=pe(S+1);++j<S;)ne[j]=O[j];return ne[S]=N(Q),Ti(b,this,ne)}}function zF(b,S){return S.length<2?b:ef(b,mo(S,0,-1))}function ase(b,S){for(var N=b.length,O=ms(S.length,N),j=ti(b);O--;){var q=S[O];b[O]=Il(q,N)?j[q]:n}return b}function iP(b,S){if(!(S==="constructor"&&typeof b[S]=="function")&&S!="__proto__")return b[S]}var BF=HF(uF),ny=xne||function(b,S){return Jr.setTimeout(b,S)},oP=HF(kre);function UF(b,S,N){var O=S+"";return oP(b,Zre(O,lse(Yre(O),N)))}function HF(b){var S=0,N=0;return function(){var O=Ane(),j=I-(O-N);if(N=O,j>0){if(++S>=L)return arguments[0]}else S=0;return b.apply(n,arguments)}}function Sx(b,S){var N=-1,O=b.length,j=O-1;for(S=S===n?O:S;++N<S;){var q=UR(N,j),Q=b[q];b[q]=b[N],b[N]=Q}return b.length=S,b}var VF=rse(function(b){var S=[];return b.charCodeAt(0)===46&&S.push(""),b.replace(Dn,function(N,O,j,q){S.push(j?q.replace(We,"$1"):O||N)}),S});function Fa(b){if(typeof b=="string"||Ni(b))return b;var S=b+"";return S=="0"&&1/b==-1/0?"-0":S}function nf(b){if(b!=null){try{return Z_.call(b)}catch{}try{return b+""}catch{}}return""}function lse(b,S){return uo(Z,function(N){var O="_."+N[0];S&N[1]&&!G_(b,O)&&b.push(O)}),b.sort()}function WF(b){if(b instanceof $t)return b.clone();var S=new ho(b.__wrapped__,b.__chain__);return S.__actions__=ti(b.__actions__),S.__index__=b.__index__,S.__values__=b.__values__,S}function cse(b,S,N){(N?Is(b,S,N):S===n)?S=1:S=Tr(xt(S),0);var O=b==null?0:b.length;if(!O||S<1)return[];for(var j=0,q=0,Q=pe(ix(O/S));j<O;)Q[q++]=mo(b,j,j+=S);return Q}function use(b){for(var S=-1,N=b==null?0:b.length,O=0,j=[];++S<N;){var q=b[S];q&&(j[O++]=q)}return j}function dse(){var b=arguments.length;if(!b)return[];for(var S=pe(b-1),N=arguments[0],O=b;O--;)S[O-1]=arguments[O];return nu(bt(N)?ti(N):[N],es(S,1))}var fse=Rt(function(b,S){return pr(b)?Xv(b,es(S,1,pr,!0)):[]}),hse=Rt(function(b,S){var N=go(S);return pr(N)&&(N=n),pr(b)?Xv(b,es(S,1,pr,!0),at(N,2)):[]}),pse=Rt(function(b,S){var N=go(S);return pr(N)&&(N=n),pr(b)?Xv(b,es(S,1,pr,!0),n,N):[]});function mse(b,S,N){var O=b==null?0:b.length;return O?(S=N||S===n?1:xt(S),mo(b,S<0?0:S,O)):[]}function gse(b,S,N){var O=b==null?0:b.length;return O?(S=N||S===n?1:xt(S),S=O-S,mo(b,0,S<0?0:S)):[]}function vse(b,S){return b&&b.length?mx(b,at(S,3),!0,!0):[]}function yse(b,S){return b&&b.length?mx(b,at(S,3),!0):[]}function bse(b,S,N,
`;b.replace(Fe,function(ct,Dt,jt,Mi,$s,Oi){return jt||(jt=Mi),Re+=b.slice(Se,Oi).replace(Vo,nne),Dt&&(ne=!0,Re+=`' +
2026-10-08 10:42:55 +00:00
__e(`+Dt+`) +
2026-09-25 11:19:08 +00:00
'`),$s&&(le=!0,Re+=`';
`+$s+`;
2026-10-08 10:42:55 +00:00
__p += '`),jt&&(Re+=`' +
((__t = (`+jt+`)) == null ? '' : __t) +
'`),Se=Oi+ct.length,ct}),Re+=`';
2026-10-08 10:42:55 +00:00
`;var lt=un.call(S,"variable")&&S.variable;if(!lt)Re=`with (obj) {
2026-09-25 11:19:08 +00:00
`+Re+`
}
2026-10-08 10:42:55 +00:00
`;else if(Xe.test(lt))throw new vt(o);Re=(le?Re.replace(Be,""):Re).replace(it,"$1").replace(ot,"$1;"),Re="function("+(lt||"obj")+`) {
2026-09-25 11:19:08 +00:00
`+(lt?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(ne?", __e = _.escape":"")+(le?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Re+`return __p
}`;var Ct=Sj(function(){return tn(q,Ze+"return "+Re).apply(n,Q)});if(Ct.source=Re,dP(Ct))throw Ct;return Ct}function Pae(b){return sn(b).toLowerCase()}function Tae(b){return sn(b).toUpperCase()}function kae(b,S,N){if(b=sn(b),b&&(N||S===n))return N2(b);if(!b||!(S=Di(S)))return b;var O=Wo(b),j=Wo(S),q=M2(O,j),Q=O2(O,j)+1;return lu(O,q,Q).join("")}function Dae(b,S,N){if(b=sn(b),b&&(N||S===n))return b.slice(0,I2(b)+1);if(!b||!(S=Di(S)))return b;var O=Wo(b),j=O2(O,Wo(S))+1;return lu(O,0,j).join("")}function Nae(b,S,N){if(b=sn(b),b&&(N||S===n))return b.replace(he,"");if(!b||!(S=Di(S)))return b;var O=Wo(b),j=M2(O,Wo(S));return lu(O,j).join("")}function Mae(b,S){var N=D,O=M;if(Xn(S)){var j="separator"in S?S.separator:j;N="length"in S?xt(S.length):N,O="omission"in S?Di(S.omission):O}b=sn(b);var q=b.length;if(_p(b)){var Q=Wo(b);q=Q.length}if(N>=q)return b;var ne=N-xp(O);if(ne<1)return O;var le=Q?lu(Q,0,ne).join(""):b.slice(0,ne);if(j===n)return le+O;if(Q&&(ne+=le.length-ne),fP(j)){if(b.slice(ne).search(j)){var Se,Ee=le;for(j.global||(j=PR(j.source,sn(gt.exec(j))+"g")),j.lastIndex=0;Se=j.exec(Ee);)var Re=Se.index;le=le.slice(0,Re===n?ne:Re)}}else if(b.indexOf(Di(j),ne)!=ne){var Fe=le.lastIndexOf(j);Fe>-1&&(le=le.slice(0,Fe))}return le+O}function Oae(b){return b=sn(b),b&&Vt.test(b)?b.replace(Et,cne):b}var Lae=Tp(function(b,S,N){return b+(N?" ":"")+S.toUpperCase()}),mP=EF("toUpperCase");function xj(b,S,N){return b=sn(b),S=N?n:S,S===n?sne(b)?fne(b):Yte(b):b.match(S)||[]}var Sj=Rt(function(b,S){try{return Ti(b,n,S)}catch(N){return dP(N)?N:new vt(N)}}),Iae=Ll(function(b,S){return uo(S,function(N){N=Fa(N),Ml(b,N,cP(b[N],b))}),b});function $ae(b){var S=b==null?0:b.length,N=at();return b=S?qn(b,function(O){if(typeof O[1]!="function")throw new fo(a);return[N(O[0]),O[1]]}):[],Rt(function(O){for(var j=-1;++j<S;){var q=b[j];if(Ti(q[0],this,O))return Ti(q[1],this,O)}})}function Fae(b){return cre(po(b,l))}function gP(b){return function(){return b}}function jae(b,S){return b==null||b!==b?S:b}var zae=AF(),Bae=AF(!0);function si(b){return b}function vP(b){return nF(typeof b=="function"?b:po(b,l))}function Uae(b){return sF(po(b,l))}function Hae(b,S){return iF(b,po(S,l))}var Vae=Rt(function(b,S){return function(N){return Qv(N,b,S)}}),Wae=Rt(function(b,S){return function(N){return Qv(b,N,S)}});function yP(b,S,N){var O=Vr(S),j=fx(S,O);N==null&&!(Xn(S)&&(j.length||!O.length))&&(N=S,S=b,b=this,j=fx(S,Vr(S)));var q=!(Xn(N)&&"chain"in N)||!!N.chain,Q=$l(b);return uo(j,function(ne){var le=S[ne];b[ne]=le,Q&&(b.prototype[ne]=function(){var Se=this.__chain__;if(q||Se){var Ee=b(this.__wrapped__),Re=Ee.__actions__=ti(this.__actions__);return Re.push({func:le,args:arguments,thisArg:b}),Ee.__chain__=Se,Ee}return le.apply(b,nu([this.value()],arguments))})}),b}function qae(){return Jr._===this&&(Jr._=yne),this}function bP(){}function Gae(b){return b=xt(b),Rt(function(S){return oF(S,b)})}var Kae=XR(qn),Yae=XR(R2),Xae=XR(_R);function Ej(b){return rP(b)?xR(Fa(b)):Are(b)}function Qae(b){return function(S){return b==null?n:ef(b,S)}}var Zae=PF(),Jae=PF(!0);function wP(){return[]}function _P(){return!1}function ele(){return{}}function tle(){return""}function nle(){return!0}function rle(b,S){if(b=xt(b),b<1||b>H)return[];var N=X,O=ms(b,X);S=at(S),b-=X;for(var j=CR(O,S);++N<b;)S(N);return j}function sle(b){return bt(b)?qn(b,Fa):Ni(b)?[b]:ti(VF(sn(b)))}function ile(b){var S=++gne;return sn(b)+S}var ole=yx(function(b,S){return b+S},0),ale=QR("ceil"),lle=yx(function(b,S){return b/S},1),cle=QR("floor");function ule(b){return b&&b.length?dx(b,si,IR):n}function dle(b,S){return b&&b.length?dx(b,at(S,2),IR):n}function fle(b){return k2(b,si)}function hle(b,S){return k2(b,at(S,2))}function ple(b){return b&&b.length?dx(b,si,zR):n}function mle(b,S){return b&&b.length?dx(b,at(S,2),zR):n}var gle=yx(function(b,S){return b*S},1),vle=QR("round"),yle=yx(function(b,S){return b-S},0);function ble(b){return b&&b.length?ER(b,si):0}function wle(b,S){return b&&b.length?ER(b,at(S,2)):0}return W.after=Uie,W.ary=tj,W.assign=Toe,W.assignIn=mj,W.assignInWith=Dx,W.assignWith=koe,W.at=Doe,W.before=nj,W.bi
2026-09-25 11:19:08 +00:00
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.
`},zOe={onDragStart(t){let{active:e}=t;return"Picked up draggable item "+e.id+"."},onDragOver(t){let{active:e,over:n}=t;return n?"Draggable item "+e.id+" was moved over droppable area "+n.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(t){let{active:e,over:n}=t;return n?"Draggable item "+e.id+" was dropped over droppable area "+n.id:"Draggable item "+e.id+" was dropped."},onDragCancel(t){let{active:e}=t;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function BOe(t){let{announcements:e=zOe,container:n,hiddenTextDescribedById:r,screenReaderInstructions:s=jOe}=t;const{announce:i,announcement:a}=IOe(),o=O_("DndLiveRegion"),[c,u]=_.useState(!1);if(_.useEffect(()=>{u(!0)},[]),$Oe(_.useMemo(()=>({onDragStart(l){let{active:d}=l;i(e.onDragStart({active:d}))},onDragMove(l){let{active:d,over:m}=l;e.onDragMove&&i(e.onDragMove({active:d,over:m}))},onDragOver(l){let{active:d,over:m}=l;i(e.onDragOver({active:d,over:m}))},onDragEnd(l){let{active:d,over:m}=l;i(e.onDragEnd({active:d,over:m}))},onDragCancel(l){let{active:d,over:m}=l;i(e.onDragCancel({active:d,over:m}))}}),[i,e])),!c)return null;const f=se.createElement(se.Fragment,null,se.createElement(OOe,{id:r,value:s.draggable}),se.createElement(LOe,{id:o,announcement:a}));return n?ks.createPortal(f,n):f}var jr;(function(t){t.DragStart="dragStart",t.DragMove="dragMove",t.DragEnd="dragEnd",t.DragCancel="dragCancel",t.DragOver="dragOver",t.RegisterDroppable="registerDroppable",t.SetDroppableDisabled="setDroppableDisabled",t.UnregisterDroppable="unregisterDroppable"})(jr||(jr={}));function FC(){}function UUe(t,e){return _.useMemo(()=>({sensor:t,options:e??{}}),[t,e])}function HUe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return _.useMemo(()=>[...e].filter(r=>r!=null),[...e])}const Ta=Object.freeze({x:0,y:0});function UOe(t,e){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function HOe(t,e){const n=$C(t);if(!n)return"0 0";const r={x:(n.x-e.left)/e.width*100,y:(n.y-e.top)/e.height*100};return r.x+"% "+r.y+"%"}function VOe(t,e){let{data:{value:n}}=t,{data:{value:r}}=e;return n-r}function WOe(t,e){let{data:{value:n}}=t,{data:{value:r}}=e;return r-n}function qOe(t,e){if(!t||t.length===0)return null;const[n]=t;return n[e]}function P4(t,e,n){return e===void 0&&(e=t.left),n===void 0&&(n=t.top),{x:e+t.width*.5,y:n+t.height*.5}}const VUe=t=>{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t;const s=P4(e,e.left,e.top),i=[];for(const a of r){const{id:o}=a,c=n.get(o);if(c){const u=UOe(P4(c),s);i.push({id:o,data:{droppableContainer:a,value:u}})}}return i.sort(VOe)};function GOe(t,e){const n=Math.max(e.top,t.top),r=Math.max(e.left,t.left),s=Math.min(e.left+e.width,t.left+t.width),i=Math.min(e.top+e.height,t.top+t.height),a=s-r,o=i-n;if(r<s&&n<i){const c=e.width*e.height,u=t.width*t.height,f=a*o,l=f/(c+u-f);return Number(l.toFixed(4))}return 0}const KOe=t=>{let{collisionRect:e,droppableRects:n,droppableContainers:r}=t;const s=[];for(const i of r){const{id:a}=i,o=n.get(a);if(o){const c=GOe(o,e);c>0&&s.push({id:a,data:{droppableContainer:i,value:c}})}}return s.sort(WOe)};function YOe(t,e,n){return{...t,scaleX:e&&n?e.width/n.width:1,scaleY:e&&n?e.height/n.height:1}}function UQ(t,e){return t&&e?{x:t.left-e.left,y:t.top-e.top}:Ta}function XOe(t){return function(n){for(var r=arguments.length,s=new Array(r>1?r-1:0),i=1;i<r;i++)s[i-1]=arguments[i];return s.reduce((a,o)=>({...a,top:a.top+t*o.y,bottom:a.bottom+t*o.y,left:a.left+t*o.x,right:a.right+t*o.x}),{...n})}}const QOe=XOe(1);function HQ(t){if(t.startsWith("matrix3d(")){const e=t.slice(9,-1).split(/, /);return{x:+e[12],y:+e[13],scaleX:+e[0],scaleY:+e[5]}}else if(t.startsWith("matrix(")){const e=t.slice(7,-1).split(/, /);return{x:+e[4],y:+e[5],scaleX:+e[0],scaleY:+e[3]}}return null}function ZOe(t,e,n){const r=HQ(e);if(!r)return t;const{scaleX:s,scaleY:i,x:a,y:o}=r,c=t.left-a-(1-s)*parseFloat(n),u=t.top-o-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),f=s?t.width/s:t.width,l=i?t.height/i:t.height;return{width:f,height:l,top:u,right:c+f,bottom:u+l,left:c
`);return e.join("")}}function qy(t,e){try{const{protocol:n}=e?new URL(t,e):new URL(t);return n==="http:"||n==="https:"}catch{return!1}}function Ei(t){t.preventDefault()}function NZ(t){console.log("Deprecated API usage: "+t)}let J4;class MZ{static toDateObject(e){if(!e||typeof e!="string")return null;J4||(J4=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const n=J4.exec(e);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 a=parseInt(n[4],10);a=a>=0&&a<=23?a:0;let o=parseInt(n[5],10);o=o>=0&&o<=59?o:0;let c=parseInt(n[6],10);c=c>=0&&c<=59?c:0;const u=n[7]||"Z";let f=parseInt(n[8],10);f=f>=0&&f<=23?f:0;let l=parseInt(n[9],10)||0;return l=l>=0&&l<=59?l:0,u==="-"?(a+=f,o+=l):u==="+"&&(a-=f,o-=l),new Date(Date.UTC(r,s,i,a,o,c))}}function V$e(t,{scale:e=1,rotation:n=0}){const{width:r,height:s}=t.attributes.style,i=[0,0,parseInt(r),parseInt(s)];return new I_({viewBox:i,scale:e,rotation:n})}function G$(t){if(t.startsWith("#")){const e=parseInt(t.slice(1),16);return[(e&16711680)>>16,(e&65280)>>8,e&255]}return t.startsWith("rgb(")?t.slice(4,-1).split(",").map(e=>parseInt(e)):t.startsWith("rgba(")?t.slice(5,-1).split(",").map(e=>parseInt(e)).slice(0,3):(kt(`Not a valid color format: "${t}"`),[0,0,0])}function W$e(t){const e=document.createElement("span");e.style.visibility="hidden",document.body.append(e);for(const n of t.keys()){e.style.color=n;const r=window.getComputedStyle(e).color;t.set(n,G$(r))}e.remove()}function Zn(t){const{a:e,b:n,c:r,d:s,e:i,f:a}=t.getTransform();return[e,n,r,s,i,a]}function Vl(t){const{a:e,b:n,c:r,d:s,e:i,f:a}=t.getTransform().invertSelf();return[e,n,r,s,i,a]}function tp(t,e,n=!1,r=!0){if(e instanceof I_){const{pageWidth:s,pageHeight:i}=e.rawDims,{style:a}=t,o=yi.isCSSRoundSupported,c=`var(--scale-factor) * ${s}px`,u=`var(--scale-factor) * ${i}px`,f=o?`round(${c}, 1px)`:`calc(${c})`,l=o?`round(${u}, 1px)`:`calc(${u})`;!n||e.rotation%180===0?(a.width=f,a.height=l):(a.width=l,a.height=f)}r&&t.setAttribute("data-main-rotation",e.rotation)}var $f,Ff,zi,jf,JC,OZ,Ys,LZ,IZ,JS,$Z,WN;const e1=class e1{constructor(e){z(this,Ys);z(this,$f,null);z(this,Ff,null);z(this,zi);z(this,jf,null);$(this,zi,e)}render(){const e=$(this,$f,document.createElement("div"));e.className="editToolbar",e.setAttribute("role","toolbar");const n=C(this,zi)._uiManager._signal;e.addEventListener("contextmenu",Ei,{signal:n}),e.addEventListener("pointerdown",B(e1,JC,OZ),{signal:n});const r=$(this,jf,document.createElement("div"));r.className="buttons",e.append(r);const s=C(this,zi).toolbarPosition;if(s){const{style:i}=e,a=C(this,zi)._uiManager.direction==="ltr"?1-s[0]:s[0];i.insetInlineEnd=`${100*a}%`,i.top=`calc(${100*s[1]}% + var(--editor-toolbar-vert-offset))`}return B(this,Ys,$Z).call(this),e}hide(){var e;C(this,$f).classList.add("hidden"),(e=C(this,Ff))==null||e.hideDropdown()}show(){C(this,$f).classList.remove("hidden")}addAltTextButton(e){B(this,Ys,JS).call(this,e),C(this,jf).prepend(e,C(this,Ys,WN))}addColorPicker(e){$(this,Ff,e);const n=e.renderButton();B(this,Ys,JS).call(this,n),C(this,jf).prepend(n,C(this,Ys,WN))}remove(){var e;C(this,$f).remove(),(e=C(this,Ff))==null||e.destroy(),$(this,Ff,null)}};$f=new WeakMap,Ff=new WeakMap,zi=new WeakMap,jf=new WeakMap,JC=new WeakSet,OZ=function(e){e.stopPropagation()},Ys=new WeakSet,LZ=function(e){C(this,zi)._focusEventsAllowed=!1,e.preventDefault(),e.stopPropagation()},IZ=function(e){C(this,zi)._focusEventsAllowed=!0,e.preventDefault(),e.stopPropagation()},JS=function(e){const n=C(this,zi)._uiManager._signal;e.addEventListener("focusin",B(this,Ys,LZ).bind(this),{capture:!0,signal:n}),e.addEventListener("focusout",B(this,Ys,IZ).bind(this),{capture:!0,signal:n}),e.addEventListener("contextmenu",Ei,{signal:n})},$Z=function(){const e=document.createElement("button");e.className="delete",e.tabIndex=0,e.setAttribute("data-l10n-id",`pdfjs-editor-remove-${C(this,zi).editorType}-button`),B(this,Ys,JS).call(this,e),e.addEventListener("click",n=>{C(this,zi)._uiMa
`))||null;u&&this.data.comb&&(u=u.replaceAll(/\s+/g,""));const f={userValue:o,formattedValue:u,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(r=document.createElement("textarea"),r.textContent=u??o,this.data.doNotScroll&&(r.style.overflowY="hidden")):(r=document.createElement("input"),r.type="text",r.setAttribute("value",u??o),this.data.doNotScroll&&(r.style.overflowX="hidden")),this.data.hasOwnCanvas&&(r.hidden=!0),rp.add(r),r.setAttribute("data-element-id",n),r.disabled=this.data.readOnly,r.name=this.data.fieldName,r.tabIndex=j_,this._setRequired(r,this.data.required),c&&(r.maxLength=c),r.addEventListener("input",d=>{e.setValue(n,{value:d.target.value}),this.setPropertyOnSiblings(r,"value",d.target.value,"value"),f.formattedValue=null}),r.addEventListener("resetform",d=>{const m=this.data.defaultFieldValue??"";r.value=f.userValue=m,f.formattedValue=null});let l=d=>{const{formattedValue:m}=f;m!=null&&(d.target.value=m),d.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){r.addEventListener("focus",m=>{var h;if(f.focused)return;const{target:p}=m;f.userValue&&(p.value=f.userValue),f.lastCommittedValue=p.value,f.commitKey=1,(h=this.data.actions)!=null&&h.Focus||(f.focused=!0)}),r.addEventListener("updatefromsandbox",m=>{this.showElementAndHideCanvas(m.target);const p={value(h){f.userValue=h.detail.value??"",e.setValue(n,{value:f.userValue.toString()}),h.target.value=f.userValue},formattedValue(h){const{formattedValue:y}=h.detail;f.formattedValue=y,y!=null&&h.target!==document.activeElement&&(h.target.value=y),e.setValue(n,{formattedValue:y})},selRange(h){h.target.setSelectionRange(...h.detail.selRange)},charLimit:h=>{var w;const{charLimit:y}=h.detail,{target:g}=h;if(y===0){g.removeAttribute("maxLength");return}g.setAttribute("maxLength",y);let v=f.userValue;!v||v.length<=y||(v=v.slice(0,y),g.value=f.userValue=v,e.setValue(n,{value:v}),(w=this.linkService.eventBus)==null||w.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:v,willCommit:!0,commitKey:1,selStart:g.selectionStart,selEnd:g.selectionEnd}}))}};this._dispatchEventFromSandbox(p,m)}),r.addEventListener("keydown",m=>{var y;f.commitKey=1;let p=-1;if(m.key==="Escape"?p=0:m.key==="Enter"&&!this.data.multiLine?p=2:m.key==="Tab"&&(f.commitKey=3),p===-1)return;const{value:h}=m.target;f.lastCommittedValue!==h&&(f.lastCommittedValue=h,f.userValue=h,(y=this.linkService.eventBus)==null||y.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:h,willCommit:!0,commitKey:p,selStart:m.target.selectionStart,selEnd:m.target.selectionEnd}}))});const d=l;l=null,r.addEventListener("blur",m=>{var h,y;if(!f.focused||!m.relatedTarget)return;(h=this.data.actions)!=null&&h.Blur||(f.focused=!1);const{value:p}=m.target;f.userValue=p,f.lastCommittedValue!==p&&((y=this.linkService.eventBus)==null||y.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:p,willCommit:!0,commitKey:f.commitKey,selStart:m.target.selectionStart,selEnd:m.target.selectionEnd}})),d(m)}),(i=this.data.actions)!=null&&i.Keystroke&&r.addEventListener("beforeinput",m=>{var A;f.lastCommittedValue=null;const{data:p,target:h}=m,{value:y,selectionStart:g,selectionEnd:v}=h;let w=g,x=v;switch(m.inputType){case"deleteWordBackward":{const k=y.substring(0,g).match(/\w*[^\w]*$/);k&&(w-=k[0].length);break}case"deleteWordForward":{const k=y.substring(g).match(/^[^\w]*\w*/);k&&(x+=k[0].length);break}case"deleteContentBackward":g===v&&(w-=1);break;case"deleteContentForward":g===v&&(x+=1);break}m.preventDefault(),(A=this.linkService.eventBus)==null||A.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:y,change:p||"",willCommit:!1,selStart:w,selEnd:x}})}),this._setEventListeners(r,f,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],m=>m.target.value)}if(l&&r.addEventListener("blur",l),this.data.comb){const m=(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},kJ=function(e){e.altKey||e.shiftKey||e.ctrlKey||e.metaKey||(e.key==="Enter"||e.key==="Escape"&&C(this,mc))&&B(this,xn,lE).call(this)},DJ=function(){if(C(this,gc)!==null)return;const{page:{view:e},viewport:{rawDims:{pageWidth:n,pageHeight:r,pageX:s,pageY:i}}}=C(this,lw);let a=!!C(this,Ng),o=a?C(this,Ng):C(this,cw);for(const p of C(this,aw))if(!o||et.intersect(p.data.rect,o)!==null){o=p.data.rect,a=!0;break}const c=et.normalizeRect([o[0],e[3]-o[1]+e[1],o[2],e[3]-o[3]+e[1]]),f=a?o[2]-o[0]+5:0,l=c[0]+f,d=c[1];$(this,gc,[100*(l-s)/n,100*(d-i)/r]);const{style:m}=C(this,cr);m.left=`${C(this,gc)[0]}%`,m.top=`${C(this,gc)[1]}%`},lE=function(){$(this,mc,!C(this,mc)),C(this,mc)?(B(this,xn,cE).call(this),C(this,cr).addEventListener("click",C(this,Dg)),C(this,cr).addEventListener("keydown",C(this,kg))):(B(this,xn,xM).call(this),C(this,cr).removeEventListener("click",C(this,Dg)),C(this,cr).removeEventListener("keydown",C(this,kg)))},cE=function(){C(this,aa)||this.render(),this.isVisible?C(this,mc)&&C(this,cr).classList.add("focused"):(B(this,xn,DJ).call(this),C(this,cr).hidden=!1,C(this,cr).style.zIndex=parseInt(C(this,cr).style.zIndex)+1e3)},xM=function(){C(this,cr).classList.remove("focused"),!(C(this,mc)||!this.isVisible)&&(C(this,cr).hidden=!0,C(this,cr).style.zIndex=parseInt(C(this,cr).style.zIndex)-1e3)};class NJ extends wr{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.textContent=e.data.textContent,this.textPosition=e.data.textPosition,this.annotationEditorType=Wt.FREETEXT}render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){const e=document.createElement("div");e.classList.add("annotationTextContent"),e.setAttribute("role","comment");for(const n of this.textContent){const r=document.createElement("span");r.textContent=n,e.append(r)}this.container.append(e)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}get _isEditable(){return this.data.hasOwnCanvas}}var dw;class fFe extends wr{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});z(this,dw,null)}render(){this.container.classList.add("lineAnnotation");const n=this.data,{width:r,height:s}=Oc(n.rect),i=this.svgFactory.create(r,s,!0),a=$(this,dw,this.svgFactory.createElement("svg:line"));return a.setAttribute("x1",n.rect[2]-n.lineCoordinates[0]),a.setAttribute("y1",n.rect[3]-n.lineCoordinates[1]),a.setAttribute("x2",n.rect[2]-n.lineCoordinates[2]),a.setAttribute("y2",n.rect[3]-n.lineCoordinates[3]),a.setAttribute("stroke-width",n.borderStyle.width||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 C(this,dw)}addHighlightArea(){this.container.classList.add("highlightArea")}}dw=new WeakMap;var fw;class hFe extends wr{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});z(this,fw,null)}render(){this.container.classList.add("squareAnnotation");const n=this.data,{width:r,height:s}=Oc(n.rect),i=this.svgFactory.create(r,s,!0),a=n.borderStyle.width,o=$(this,fw,this.svgFactory.createElement("svg:rect"));return o.setAttribute("x",a/2),o.setAttribute("y",a/2),o.setAttribute("width",r-a),o.setAttribute("height",s-a),o.setAttribute("stroke-width",a||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 C(this,fw)}addHighlightArea(){this.container.classList.add("highlightArea")}}fw=new WeakMap;var hw;class pFe extends wr{constructor(n){super(n,{isRenderable:!0,ignoreBorder:!0});z(this,hw,null)}render(){this.container.classList.add("circleAnnotation");const n=this.data,{width:r,height:s}=Oc(n.rect),i=this.svgFactory.create(r,s,!0),a=n.borderStyle.width,o=$(this,hw,this.svgFactory.createElement("svg:ellipse"));return o.setAttribute("cx",r/2),o.setAttribute("cy",s/2),o.setAttribute("rx",r/2-a/2),o.setAt
2026-09-25 11:19:08 +00:00
`);if(!i)return;const a=window.getSelection();if(!a.rangeCount)return;this.editorDiv.normalize(),a.deleteFromDocument();const o=a.getRangeAt(0);if(!i.includes(`
`)){o.insertNode(document.createTextNode(i)),this.editorDiv.normalize(),a.collapseToStart();return}const{startContainer:c,startOffset:u}=o,f=[],l=[];if(c.nodeType===Node.TEXT_NODE){const g=c.parentElement;if(l.push(c.nodeValue.slice(u).replaceAll(AS,"")),g!==this.editorDiv){let v=f;for(const w of this.editorDiv.childNodes){if(w===g){v=l;continue}v.push(B(h=Mn,$c,dE).call(h,w))}}f.push(c.nodeValue.slice(0,u).replaceAll(AS,""))}else if(c===this.editorDiv){let g=f,v=0;for(const w of this.editorDiv.childNodes)v++===u&&(g=l),g.push(B(y=Mn,$c,dE).call(y,w))}$(this,Hi,`${f.join(`
2026-09-25 11:19:08 +00:00
`)}${i}${l.join(`
2026-10-08 10:42:55 +00:00
`)}`),B(this,Ar,fE).call(this);const d=new Range;let m=f.reduce((g,v)=>g+v.length,0);for(const{firstChild:g}of this.editorDiv.childNodes)if(g.nodeType===Node.TEXT_NODE){const v=g.nodeValue.length;if(m<=v){d.setStart(g,m),d.setEnd(g,m);break}m-=v}a.removeAllRanges(),a.addRange(d)}get contentDiv(){return this.editorDiv}static deserialize(n,r,s){var o;let i=null;if(n instanceof NJ){const{data:{defaultAppearanceData:{fontSize:c,fontColor:u},rect:f,rotation:l,id:d},textContent:m,textPosition:p,parent:{page:{pageNumber:h}}}=n;if(!m||m.length===0)return null;i=n={annotationType:Wt.FREETEXT,color:Array.from(u),fontSize:c,value:m.join(`
`),position:p,pageIndex:h-1,rect:f.slice(0),rotation:l,id:d,deleted:!1}}const a=super.deserialize(n,r,s);return $(a,Vi,n.fontSize),$(a,la,et.makeHexColor(...n.color)),$(a,Hi,B(o=Mn,$c,AM).call(o,n.value)),a.annotationElementId=n.id||null,$(a,Og,i),a}serialize(n=!1){if(this.isEmpty())return null;if(this.deleted)return{pageIndex:this.pageIndex,id:this.annotationElementId,deleted:!0};const r=Mn._internalPadding*this.parentScale,s=this.getRect(r,r),i=pn._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:C(this,la)),a={annotationType:Wt.FREETEXT,color:i,fontSize:C(this,Vi),value:B(this,Ar,zJ).call(this),pageIndex:this.pageIndex,rect:s,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return n?a:this.annotationElementId&&!B(this,Ar,BJ).call(this,a)?null:(a.id=this.annotationElementId,a)}renderAnnotationElement(n){const r=super.renderAnnotationElement(n);if(this.deleted)return r;const{style:s}=r;s.fontSize=`calc(${C(this,Vi)}px * var(--scale-factor))`,s.color=C(this,la),r.replaceChildren();for(const a of C(this,Hi).split(`
`)){const o=document.createElement("div");o.append(a?document.createTextNode(a):document.createElement("br")),r.append(o)}const i=Mn._internalPadding*this.parentScale;return n.updateEdited({rect:this.getRect(i,i),popupContent:C(this,Hi)}),r}resetAnnotationElement(n){super.resetAnnotationElement(n),n.resetEdited()}};bw=new WeakMap,ww=new WeakMap,_w=new WeakMap,xw=new WeakMap,Sw=new WeakMap,la=new WeakMap,Hi=new WeakMap,Ew=new WeakMap,Vi=new WeakMap,Og=new WeakMap,Ar=new WeakSet,$J=function(n){const r=i=>{this.editorDiv.style.fontSize=`calc(${i}px * var(--scale-factor))`,this.translate(0,-(i-C(this,Vi))*this.parentScale),$(this,Vi,i),B(this,Ar,uE).call(this)},s=C(this,Vi);this.addCommands({cmd:r.bind(this,n),undo:r.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:pt.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})},FJ=function(n){const r=i=>{$(this,la,this.editorDiv.style.color=i)},s=C(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:pt.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},jJ=function(){var r;const n=[];this.editorDiv.normalize();for(const s of this.editorDiv.childNodes)n.push(B(r=Mn,$c,dE).call(r,s));return n.join(`
`)},uE=function(){const[n,r]=this.parentDimensions;let s;if(this.isAttachedToDOM)s=this.div.getBoundingClientRect();else{const{currentLayer:i,div:a}=this,o=a.style.display,c=a.classList.contains("hidden");a.classList.remove("hidden"),a.style.display="hidden",i.div.append(this.div),s=a.getBoundingClientRect(),a.remove(),a.style.display=o,a.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()},$c=new WeakSet,dE=function(n){return(n.nodeType===Node.TEXT_NODE?n.nodeValue:n.innerText).replaceAll(AS,"")},fE=function(){if(this.editorDiv.replaceChildren(),!!C(this,Hi))for(const n of C(this,Hi).split(`
`)){const r=document.createElement("div");r.append(n?document.createTextNode(n):document.createElement("br")),this.editorDiv.append(r)}},zJ=function(){return C(this,Hi).replaceAll(" "," ")},AM=function(n){return n.replaceAll(" "," ")},BJ=function(n){const{value:r,fontSize:s,color:i,pageIndex:a}=C(this,Og);return this._hasBeenMoved||n.value!==r||n.fontSize!==s||n.color.some((o,c)=>o!==i[c])||n.pageIndex!==a},z(Mn,$c),He(Mn,"_freeTextDefaultContent",""),He(Mn,"_internalPadding",0),He(Mn,"_defaultColor",null),He(Mn,"_defaultFontSize",10),He(Mn,"_type","freetext"),He(Mn,"_editorType",Wt.FREETEXT);let CM=Mn;var Cw,Ju,ca,Xs,UJ,hE,HJ,VJ,PM;class RM{constructor(e,n=0,r=0,s=!0){z(this,Xs);z(this,Cw);z(this,Ju,[]);z(this,ca,[]);let i=1/0,a=-1/0,o=1/0,c=-1/0;const u=10**-4;for(const{x:y,y:g,width:v,height:w}of e){const x=Math.floor((y-n)/u)*u,A=Math.ceil((y+v+n)/u)*u,k=Math.floor((g-n)/u)*u,R=Math.ceil((g+w+n)/u)*u,E=[x,k,R,!0],T=[A,k,R,!1];C(this,Ju).push(E,T),i=Math.min(i,x),a=Math.max(a,A),o=Math.min(o,k),c=Math.max(c,R)}const f=a-i+2*r,l=c-o+2*r,d=i-r,m=o-r,p=C(this,Ju).at(s?-1:-2),h=[p[0],p[2]];for(const y of C(this,Ju)){const[g,v,w]=y;y[0]=(g-d)/f,y[1]=(v-m)/l,y[2]=(w-m)/l}$(this,Cw,{x:d,y:m,width:f,height:l,lastPoint:h})}getOutlines(){C(this,Ju).sort((n,r)=>n[0]-r[0]||n[1]-r[1]||n[2]-r[2]);const e=[];for(const n of C(this,Ju))n[3]?(e.push(...B(this,Xs,PM).call(this,n)),B(this,Xs,HJ).call(this,n)):(B(this,Xs,VJ).call(this,n),e.push(...B(this,Xs,PM).call(this,n)));return B(this,Xs,UJ).call(this,e)}}Cw=new WeakMap,Ju=new WeakMap,ca=new WeakMap,Xs=new WeakSet,UJ=function(e){const n=[],r=new Set;for(const a of e){const[o,c,u]=a;n.push([o,c,a],[o,u,a])}n.sort((a,o)=>a[1]-o[1]||a[0]-o[0]);for(let a=0,o=n.length;a<o;a+=2){const c=n[a][2],u=n[a+1][2];c.push(u),u.push(c),r.add(c),r.add(u)}const s=[];let i;for(;r.size>0;){const a=r.values().next().value;let[o,c,u,f,l]=a;r.delete(a);let d=o,m=c;for(i=[o,u],s.push(i);;){let p;if(r.has(f))p=f;else if(r.has(l))p=l;else break;r.delete(p),[o,c,u,f,l]=p,d!==o&&(i.push(d,m,o,m===c?c:u),d=o),m=m===c?u:c}i.push(d,m)}return new SFe(s,C(this,Cw))},hE=function(e){const n=C(this,ca);let r=0,s=n.length-1;for(;r<=s;){const i=r+s>>1,a=n[i][0];if(a===e)return i;a<e?r=i+1:s=i-1}return s+1},HJ=function([,e,n]){const r=B(this,Xs,hE).call(this,e);C(this,ca).splice(r,0,[e,n])},VJ=function([,e,n]){const r=B(this,Xs,hE).call(this,e);for(let s=r;s<C(this,ca).length;s++){const[i,a]=C(this,ca)[s];if(i!==e)break;if(i===e&&a===n){C(this,ca).splice(s,1);return}}for(let s=r-1;s>=0;s--){const[i,a]=C(this,ca)[s];if(i!==e)break;if(i===e&&a===n){C(this,ca).splice(s,1);return}}},PM=function(e){const[n,r,s]=e,i=[[n,r,s]],a=B(this,Xs,hE).call(this,s);for(let o=0;o<a;o++){const[c,u]=C(this,ca)[o];for(let f=0,l=i.length;f<l;f++){const[,d,m]=i[f];if(!(u<=d||m<=c)){if(d>=c){if(m>u)i[f][1]=u;else{if(l===1)return[];i.splice(f,1),f--,l--}continue}i[f][2]=c,m>u&&i.push([n,u,m])}}}return i};class WJ{toSVGPath(){throw new Error("Abstract method `toSVGPath` must be implemented.")}get box(){throw new Error("Abstract getter `box` must be implemented.")}serialize(e,n){throw new Error("Abstract method `serialize` must be implemented.")}get free(){return this instanceof kM}}var Aw,Lg;class SFe extends WJ{constructor(n,r){super();z(this,Aw);z(this,Lg);$(this,Lg,n),$(this,Aw,r)}toSVGPath(){const n=[];for(const r of C(this,Lg)){let[s,i]=r;n.push(`M${s} ${i}`);for(let a=2;a<r.length;a+=2){const o=r[a],c=r[a+1];o===s?(n.push(`V${c}`),i=c):c===i&&(n.push(`H${o}`),s=o)}n.push("Z")}return n.join(" ")}serialize([n,r,s,i],a){const o=[],c=s-n,u=i-r;for(const f of C(this,Lg)){const l=new Array(f.length);for(let d=0;d<f.length;d+=2)l[d]=n+f[d]*c,l[d+1]=i-f[d+1]*u;o.push(l)}return o}get box(){return C(this,Aw)}}Aw=new WeakMap,Lg=new WeakMap;var tl,yc,Ig,$g,nl,Bt,ph,mh,Rw,Pw,Fg,jg,ed,Tw,p1,m1,kw,TM;const Xl=class Xl{constructor({x:e,y:n},r,s,i,a,o=0){z(this,kw);z(this,tl);z(this,yc,[]);z(this,Ig);z(this,$g);z(this,nl,[]);z(this,Bt,new Float64Array(18));z(this,ph);z(this,mh);z(this,Rw);z(this,Pw);z(this,Fg);z(this,jg);z(this,ed,[]);$(this,tl,r),$(this,
2026-10-08 17:46:43 +00:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function X3e(t,e){if(t){if(typeof t=="string")return OU(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OU(t,e)}}function OU(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Q3e(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r=[],s=!0,i=!1,a,o;try{for(n=n.call(t);!(s=(a=n.next()).done)&&(r.push(a.value),!(e&&r.length===e));s=!0);}catch(c){i=!0,o=c}finally{try{!s&&n.return!=null&&n.return()}finally{if(i)throw o}}return r}}function Z3e(t){if(Array.isArray(t))return t}var LU=(0,q3e.getSecurePrefix)(),J3e=function(){var e={};if(typeof window<"u")for(var n=new W3e.default,r=0,s=Object.entries(localStorage);r<s.length;r++){var i=K3e(s[r],2),a=i[0],o=i[1];if(a.startsWith(LU)){var c=a.replace(LU,"")[0],u=a.replace(/[.][bjns][.]/,"."),f=n.decrypt(o),l=null;if(f!=null)switch(c){case"b":l=f==="true";break;case"j":try{l=JSON.parse(f)}catch{l=null}break;case"n":try{l=Number(f)}catch{l=null}break;default:l=f}e[u]=l}}return e},eze=J3e;iR.default=eze;Object.defineProperty(Z$,"__esModule",{value:!0});var Ao=Z$.default=void 0,tze=Hee(B_),nze=Hee(iR),rze=gl;function Hee(t){return t&&t.__esModule?t:{default:t}}function sze(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ize(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function oze(t,e,n){return e&&ize(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function aze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function KC(t){"@babel/helpers - typeof";return KC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},KC(t)}var xE=(0,rze.getSecurePrefix)(),lze=function(e){return KC(e)==="object"?"j":typeof e=="boolean"?"b":typeof e=="number"?"n":"s"},IU=function(e,n){var r=lze(n);return xE+"".concat(r,".")+e},cze=function(){function t(){sze(this,t),aze(this,"_localStorageItems",{}),this._localStorageItems=(0,nze.default)()}return oze(t,[{key:"setItem",value:function(n,r){if(r==null)this.removeItem(n);else{var s=KC(r)==="object"?JSON.stringify(r):r+"",i=IU(n,r),a=xE+n;n!=null&&(this._localStorageItems[a]=r);var o=new tze.default;localStorage.setItem(i,o.encrypt(s))}}},{key:"getItem",value:function(n){var r,s=xE+n;return(r=this._localStorageItems[s])!==null&&r!==void 0?r:null}},{key:"removeItem",value:function(n){var r=xE+n,s=this._localStorageItems[r],i=IU(n,s);this._localStorageItems[r]!==void 0&&delete this._localStorageItems[r],localStorage.removeItem(i)}},{key:"clear",value:function(){this._localStorageItems={},localStorage.clear()}}]),t}(),uze=new cze,dze=uze;Ao=Z$.default=dze;const fze={theme:"system",setTheme:()=>null},hze=_.createContext(fze);function pze({children:t,defaultTheme:e="system",storageKey:n="vite-ui-theme",...r}){const[s,i]=_.useState(()=>Ao.getItem(n)||e);_.useEffect(()=>{const o=window.document.documentElement;if(o.classList.remove("light","dark"),s==="system"){const c=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";o.classList.add(c);return}o.classList.add(s)},[s]);const a={theme:s,setTheme:o=>{Ao.setItem(n,o),i(o)}};return P.jsx(hze.Provider,{...r,value:a,children:t})}const mze=_.createContext(null),Vee=({children:t})=>{const[e,n]=_.useState(null),[r,s]=_.useState(!1),i=_.useCallback(u=>{n(u),s(!0)},[s,n]),a=()=>{var u;(u=e==null?void 0:e.onConfirm)==null||u.call(e),s(!1)},o=()=>{var u;(u=e==null?void 0:e.onCancel)==null||u.call(e),s(!1)},c=_.useMemo(()=>({show:i}),[i]);return P.jsxs(mze.Provider,{value:c,ch
`).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||e[n]&&DBe[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},BU=Symbol("internals");function Dy(t){return t&&String(t).trim().toLowerCase()}function EE(t){return t===!1||t==null?t:ve.isArray(t)?t.map(EE):String(t)}function MBe(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const OBe=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function wk(t,e,n,r,s){if(ve.isFunction(r))return r.call(this,e,n);if(s&&(e=n),!!ve.isString(e)){if(ve.isString(r))return e.indexOf(r)!==-1;if(ve.isRegExp(r))return r.test(e)}}function LBe(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function IBe(t,e){const n=ve.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(s,i,a){return this[r].call(this,e,s,i,a)},configurable:!0})})}let Ci=class{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(o,c,u){const f=Dy(c);if(!f)throw new Error("header name must be a non-empty string");const l=ve.findKey(s,f);(!l||s[l]===void 0||u===!0||u===void 0&&s[l]!==!1)&&(s[l||c]=EE(o))}const a=(o,c)=>ve.forEach(o,(u,f)=>i(u,f,c));if(ve.isPlainObject(e)||e instanceof this.constructor)a(e,n);else if(ve.isString(e)&&(e=e.trim())&&!OBe(e))a(NBe(e),n);else if(ve.isHeaders(e))for(const[o,c]of e.entries())i(c,o,r);else e!=null&&i(n,e,r);return this}get(e,n){if(e=Dy(e),e){const r=ve.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return MBe(s);if(ve.isFunction(n))return n.call(this,s,r);if(ve.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Dy(e),e){const r=ve.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||wk(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(a){if(a=Dy(a),a){const o=ve.findKey(r,a);o&&(!n||wk(r,r[o],o,n))&&(delete r[o],s=!0)}}return ve.isArray(e)?e.forEach(i):i(e),s}clear(e){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!e||wk(this,this[i],i,e,!0))&&(delete this[i],s=!0)}return s}normalize(e){const n=this,r={};return ve.forEach(this,(s,i)=>{const a=ve.findKey(r,i);if(a){n[a]=EE(s),delete n[i];return}const o=e?LBe(i):String(i).trim();o!==i&&delete n[i],n[o]=EE(s),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return ve.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&ve.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(s=>r.set(s)),r}static accessor(e){const r=(this[BU]=this[BU]={accessors:{}}).accessors,s=this.prototype;function i(a){const o=Dy(a);r[o]||(IBe(s,a),r[o]=!0)}return ve.isArray(e)?e.forEach(i):i(e),this}};Ci.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ve.reduceDescriptors(Ci.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});ve.freezeMethods(Ci);function _k(t,e){const n=this||V_,r=e||n,s=Ci.from(r.headers);let i=r.data;return ve.forEach(t,function(o){i=o.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function ite(t){return!!(t&&t.__CANCEL__)}function zv(t,e,n){_t.call(this,t??"canceled",_t.ERR_CANCELED,e,n),this.name="CanceledError"}ve.inherits(zv,_t,{__CANCEL__:!0});function ote(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new _t("Request failed with status code "+n.status,[_t.ERR_BAD_REQUEST,_t.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function $Be(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function FBe(t,e){t=t||10;const n=new Array(t),r=new Array(t);let s=0,i=0,a;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),f=r[i];a||(a=u),n[s]=c,r[s]=u;let l=i,d=0;for(;l!==s;)d+=n[l++],l=l%t;if(s=(s+1)%t,s===i&&(i=(i+1)%t),u-a<e)return;const m=f&&u-f;return m?Math.round(d*1e3/m):void 0}}function jBe(t,e){let n=0,r=1e3/e,s,i;const a=(u,f=Date.now())=>{n=f,s=null,i&&(clearTimeout(i),i=null),t.apply(null,u)};return[(...u)=>{const f=Date.now(),l=f-n;l>=r?a(u,f):(s=u,i||(i=setTimeout(()=>{i=null,a(s)},r-l)))},()=>s&&a(s)]}const YC=(t,e,n=3)=>{let r=0;const s=FBe(50,250);return jBe(i=>{const a=i.loaded,o=i.lengthComputable?i.total:void 0,c=a-r,u=s(c),f=a<=o;r=a;const l={loaded:a,total:o,progress:o?a/o:void 0,bytes:c,rate:u||void 0,estimated:u&&o&&f?(o-a)/u:void 0,event:i,lengthComputable:o!=null,[e?"download":"upload"]:!0};t(l)},n)},UU=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},HU=t=>(...e)=>ve.asap(()=>t(...e)),zBe=Ts.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Ts.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Ts.origin),Ts.navigator&&/(msie|trident)/i.test(Ts.navigator.userAgent)):()=>!0,BBe=Ts.hasStandardBrowserEnv?{write(t,e,n,r,s,i){const a=[t+"="+encodeURIComponent(e)];ve.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ve.isString(r)&&a.push("path="+r),ve.isString(s)&&a.push("domain="+s),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function UBe(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function HBe(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function ate(t,e,n){let r=!UBe(e);return t&&(r||n==!1)?HBe(t,e):e}const VU=t=>t instanceof Ci?{...t}:t;function ip(t,e){e=e||{};const n={};function r(u,f,l,d){return ve.isPlainObject(u)&&ve.isPlainObject(f)?ve.merge.call({caseless:d},u,f):ve.isPlainObject(f)?ve.merge({},f):ve.isArray(f)?f.slice():f}function s(u,f,l,d){if(ve.isUndefined(f)){if(!ve.isUndefined(u))return r(void 0,u,l,d)}else return r(u,f,l,d)}function i(u,f){if(!ve.isUndefined(f))return r(void 0,f)}function a(u,f){if(ve.isUndefined(f)){if(!ve.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function o(u,f,l){if(l in e)return r(u,f);if(l in t)return r(void 0,u)}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPa
`+i.map(GU).join(`
`):" "+GU(i[0]):"as no adapter specified";throw new _t("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:iO};function xk(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new zv(null,t)}function KU(t){return xk(t),t.headers=Ci.from(t.headers),t.data=_k.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),dte.getAdapter(t.adapter||V_.adapter)(t).then(function(r){return xk(t),r.data=_k.call(t,t.transformResponse,r),r.headers=Ci.from(r.headers),r},function(r){return ite(r)||(xk(t),r&&r.response&&(r.response.data=_k.call(t,t.transformResponse,r.response),r.response.headers=Ci.from(r.response.headers))),Promise.reject(r)})}const fte="1.8.4",dR={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{dR[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const YU={};dR.transitional=function(e,n,r){function s(i,a){return"[Axios v"+fte+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,o)=>{if(e===!1)throw new _t(s(a," has been removed"+(n?" in "+n:"")),_t.ERR_DEPRECATED);return n&&!YU[a]&&(YU[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,a,o):!0}};dR.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function n4e(t,e,n){if(typeof t!="object")throw new _t("options must be an object",_t.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const i=r[s],a=e[i];if(a){const o=t[i],c=o===void 0||a(o,i,t);if(c!==!0)throw new _t("option "+i+" must be "+c,_t.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new _t("Unknown option "+i,_t.ERR_BAD_OPTION)}}const CE={assertOptions:n4e,validators:dR},Ba=CE.validators;let Lh=class{constructor(e){this.defaults=e,this.interceptors={request:new zU,response:new zU}}async request(e,n){try{return await this._request(e,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(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=ip(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&CE.assertOptions(r,{silentJSONParsing:Ba.transitional(Ba.boolean),forcedJSONParsing:Ba.transitional(Ba.boolean),clarifyTimeoutError:Ba.transitional(Ba.boolean)},!1),s!=null&&(ve.isFunction(s)?n.paramsSerializer={serialize:s}:CE.assertOptions(s,{encode:Ba.function,serialize:Ba.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),CE.assertOptions(n,{baseUrl:Ba.spelling("baseURL"),withXsrfToken:Ba.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&ve.merge(i.common,i[n.method]);i&&ve.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=Ci.concat(a,i);const o=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(c=c&&h.synchronous,o.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let f,l=0,d;if(!c){const p=[KU.bind(this),void 0];for(p.unshift.apply(p,o),p.push.apply(p,u),d=p.length,f=Promise.resolve(n);l<d;)f=f.then(p[l++],p[l++]);return f}d=o.length;let m=n;for(l=0;l<d;){const p=o[l++],h=o[l++];try{m=p(m)}catch(y){h.call(this,y);break}}try{f=KU.call(this,m)}catch(p){return Promise.reject(p)}for(l=0,d=u.length;l<d;)f=f.then(u[l++],u[l++]);return f}getUri(e){e=ip(this.defaults,e);const n=ate(e.baseURL,e.url,e.allowAbsoluteUrls);return nte(n,e.params,e.paramsSerializer)}};ve.forEach(["delete","get","head","options"],function(e){Lh.prototype[e]=function(n,r){return this.request(ip(r||{},{method:e,url:n,data:(r||{}).data}))}});ve.forEach(["post","put","patch"],function(e){function n(r){return function(i,a,o){return this.request(ip(o||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Lh.prototype[e]=n(),Lh.prototype[e+"Form"]=n(!0)});let r4e=class hte{constructor(e){if(typeof e!="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 a=new Promise(o=>{r.subscribe(o),i=o}).then(s);return a.cancel=function(){r.unsubscribe(i)},a},e(function(i,a,o){r.reason||(r.reason=new zv(i,a,o),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new hte(function(s){e=s}),cancel:e}}};function s4e(t){return function(n){return t.apply(null,n)}}function i4e(t){return ve.isObject(t)&&t.isAxiosError===!0}const oO={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:{toggle_navigation:"Toggle navigation menu",settings:"Settings",catalog:"Catalog",quotes:"Quotes",search_placeholder:"Search products, quotes, etc.",user:{user_menu:"User menu",my_account:"My account",profile:"Profile",settings:"Settings",support:"Support",logout:"Logout"},logout_dialog:{title:"Log out",description:"Are you sure you want to log out?",confirm_label:"Log out",cancel_label:"Cancel"}},login_page:{title:"Quoting tool for distributors",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",empty_state:{subtitle:"Start by loading catalog items"},columns:{description:"Description",points:"Points",retail_price:"Retail price",quantity:"Quantity"}}},quotes:{list:{title:"Quotes",subtitle:"",tabs_title:"Statuses",select_status:"Select status",preview_aria:"Show quote preview",empty_state:{subtitle:"Start by creating a quote"},status_help:{title:"Quote status help",intro:"A quote status indicates its current position in the business process.",possible:"The possible statuses are:",outro:"Use these statuses to track quotes efficiently and improve your sales process. The Archived status helps keep history without interfering with active quotes."},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:"Total amount"},resume:{title:"Quote",tabs:{resume:"Summary",preview:"Preview"},quote_information:"Quote Information",customer_information:"Customer Information",price_information:"Quote totals",select_quote:"Select a quote"}},notifications:{created:"Quote created",saved:"Quote saved",saving:"Saving quote"},pdf_generation:{title:"Generating PDF",error:"Error generating PDF",progress:"Progress: {{percentage}}%",elapsed:"Elapsed time: {{elapsed}} seconds",remaining:"Estimated time remaining: {{estimatedTime}} seconds",cancel:"Cancel generation"},create:{title:"New quote",form_groups:{general:{title:"General Data",desc:"General information and the quote's customer"},status:{title:"Status",desc:"Quote status"},documents:{title:"Attached Documents",desc:"Attach documents such as photos, drawings, sketches, etc. to your quotation.",images:"Images"}}},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"},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 help complete your quote, you can add predefined text blocks from this list.",toast_article_added:"Text block added:"},quote_sent_to_editor:{trigger_button:"Send to Uecko",title:"Send quote to Uecko",description:"Do you want to send this quote to Uecko? This action cannot be undone.",toast_status_changed:"Quote sent to Uecko"},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."},accepte
2026-09-25 11:19:08 +00:00
Street and number
zip code and city or state...`},payment_method:{label:"Payment method",placeholder:"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 amount",placeholder:"",desc:"Discount amount"},before_tax_price:{label:"Taxable amount",placeholder:"",desc:"Taxable amount"},tax:{label:"Tax (%)",placeholder:"",desc:"Percentage Tax"},tax_value:{label:"{{label}} ({{value}}%)",placeholder:"",desc:"Percentage Tax"},tax_price:{label:"Tax amount",placeholder:"",desc:"Tax amount"},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:"Discount (%)",placeholder:"",desc:"Percentage discount"},total_price:{label:"Total price",placeholder:"",desc:"Total price with percentage discount"}}}},settings:{edit:{title:"Settings",tabs:{profile:"Profile settings",quotes:"Quote settings",legal:"Legal settings"}},form_fields:{language:{label:"Language",placeholder:"Select a language",desc:"Preferred language for the interface",options:{es:"Spanish",en:"English",fr:"French"}},logo:{label:"Logo",desc:"This logo will appear in PDF-exported proposals",requirements:"JPG or PNG files are allowed. The logo dimensions must be 200x100 pixels or proportional.",upload:"Upload logo",invalid_format:"Only JPG or PNG files are allowed",invalid_dimensions:"The logo dimensions must be 200x100 pixels or proportional."},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_tax_label:{placeholder:"% VAT",desc:"Name or label shown alongside the tax"},default_show_line_discount_column:{label:"Show discount column by default",desc:"New quotes will initially show the discount column in their lines. You can change this option later for each quote."},default_legal_terms:{label:"Legal terms",placeholder:"",desc:"Legal text to include in all new 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"}},notifications:{saved:"Settings saved",saving:"Saving settings"}},support:{modal:{title:"Send an issue",subtitle:"Use this form to report any problem you encountered while using the application. Our development team will review your issue and try to resolve it.",open:"Open support window",placeholder:"Describe the issue here...",submit:"Send issue",validation:{empty:"Write something before sending",min:"The text is too short. It must contain at least 10 characters",max:"The text is too long.",required:"A description is required"},notifications:{sent_title:"Issue sent",sent_description:"The issue was sent successfully",error_title:"Sending error",error_description:"The issue could not be sent. Please try again."},cancel_confirmation:{title:"Are you sure you want to cancel?",description:"You have entered text in the description field. Closing the window will discard your unsaved changes.",back:"Return to form",confirm:"Yes, close"}},form_fields:{}}},M4e={translation:N4e},O4e={common:{required:"obligatorio",cancel:"Cancelar",no:"No",yes:"Sí",save:"Guardar",save_close:"Guardar y Cerrar",discard:"Descartar",hide:"Ocultar",back:"Volver
Si continúa, perderá los cambios.`,confirm_text:"Continuar",cancel_text:"No continuar"}},main_menu:{toggle_navigation:"Alternar el menú de navegación",settings:"Ajustes",catalog:"Catálogo",quotes:"Cotizaciones",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",empty_state:{subtitle:"Empieza cargando los artículos del catálogo"},columns:{description:"Descripción",points:"Puntos",retail_price:"PVP",quantity:"Cantidad"}}},quotes:{list:{title:"Cotizaciones",subtitle:"",tabs_title:"Estados",select_status:"Seleccionar estado",preview_aria:"Mostrar vista previa de la cotización",empty_state:{subtitle:"Empieza creando alguna cotización"},status_help:{title:"Ayuda sobre el estado de las cotizaciones",intro:"El estado de una cotización indica su posición actual en el proceso de negocio.",possible:"Los estados posibles son:",outro:"Utiliza estos estados para hacer un seguimiento eficiente de tus cotizaciones y optimizar tu proceso de ventas. El estado Archivado ayuda a conservar el historial sin interferir con las cotizaciones activas."},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"},resume:{title:"Cotización",tabs:{resume:"Resumen",preview:"Previsualización"},quote_information:"Información",customer_information:"Cliente",price_information:"Importes",select_quote:"Selecciona una cotización"}},notifications:{created:"Cotización creada",saved:"Cotización guardada",saving:"Guardando cotización"},pdf_generation:{title:"Generando PDF",error:"Error al generar el PDF",progress:"Progreso: {{percentage}}%",elapsed:"Tiempo transcurrido: {{elapsed}} segundos",remaining:"Tiempo estimado restante: {{estimatedTime}} segundos",cancel:"Cancelar generación"},create:{title:"Nueva cotización",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"},documents:{title:"Documentos",desc:"Añada adjuntar con su cotización documentos como fotos, planos, croquis, etc.",images:"Imágenes"}}},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"},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.",toast_
2026-09-25 11:19:08 +00:00
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:"Impuesto (%)",placeholder:"",desc:"Porcentaje de impuesto"},tax_value:{label:"{{label}} ({{value}}%)",placeholder:"",desc:"Porcentaje de impuesto"},tax_price:{label:"Imp. impuesto",placeholder:"",desc:"Importe del impuesto"},total_price:{label:"Imp. total",placeholder:"",desc:"Importe total"},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",tabs:{profile:"Ajustes de perfil",quotes:"Ajustes para cotizaciones",legal:"Ajustes legales"}},form_fields:{language:{label:"Idioma",placeholder:"Selecciona un idioma",desc:"Idioma preferido para la interfaz",options:{es:"Español",en:"Inglés",fr:"Francés"}},logo:{label:"Logotipo",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:"Impuesto por defecto (%)",placeholder:"",desc:"Porcentaje de impuesto por defecto en las cotizaciones"},default_tax_label:{placeholder:"% IVA",desc:"Nombre o etiqueta que se mostrará junto al impuesto"},default_show_line_discount_column:{label:"Mostrar columna descuento por defecto",desc:"Los nuevos presupuestos mostrarán inicialmente la columna de descuento en las líneas. Podrás cambiar esta opción posteriormente en cada presupuesto."},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"}},notifications:{saved:"Ajustes guardados",saving:"Guardando ajustes"}},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.",open:"Abrir ventana de soporte",placeholder:"Describe la incidencia aquí...",submit:"Enviar incidencia",validation:{empty:"Debe escribir algo antes de enviar",min:"El texto es demasiado corto. Debe tener al menos 10 caracteres",max:"El texto es demasiado largo.",required:"La descripción es requerida"},notifications:{sent_title:"Incidencia enviada",sent_description:"La incidencia se ha enviado correctamente",error_title:"Error en el envío",error_description:"No se ha podido env
Si vous continuez, vous les perdrez.`,confirm_text:"Continuer",cancel_text:"Ne pas continuer"}},main_menu:{toggle_navigation:"Basculer le menu de navigation",settings:"Paramètres",catalog:"Catalogue",quotes:"Devis",search_placeholder:"Rechercher des produits, devis, etc.",user:{user_menu:"Menu utilisateur",my_account:"Mon compte",profile:"Profil",settings:"Paramètres",support:"Assistance",logout:"Se déconnecter"},logout_dialog:{title:"Se déconnecter",description:"Voulez-vous vous déconnecter ?",confirm_label:"Se déconnecter",cancel_label:"Annuler"}},login_page:{title:"Outil de devis pour distributeurs",description:"Saisissez votre adresse e-mail et votre mot de passe pour accéder",email_label:"E-mail",email_placeholder:"monemail@exemple.com",password_label:"Mot de passe",forgotten_password:"Mot de passe oublié ?",become_dealer:"Vous souhaitez devenir distributeur Uecko ?",contact_us:"Contactez-nous",login:"Se connecter"},dashboard:{welcome:"Bienvenue"},catalog:{list:{title:"Catalogue d’articles",empty_state:{subtitle:"Commencez par charger les articles du catalogue"},columns:{description:"Description",points:"Points",retail_price:"Prix public",quantity:"Quantité"}}},quotes:{list:{title:"Devis",subtitle:"",tabs_title:"États",select_status:"Sélectionner un état",preview_aria:"Afficher l’aperçu du devis",empty_state:{subtitle:"Commencez par créer un devis"},tabs:{all:"Tous",draft:"Brouillons",ready:"Prêts",delivered:"Livrés",accepted:"Acceptés",rejected:"Refusés",archived:"Archivés"},columns:{date:"Date",date_sent:"Envoyé à Uecko",reference:"Référence",status:"État",customer_reference:"Réf. client",customer_information:"Client",total_price:"Montant total"},resume:{title:"Devis",tabs:{resume:"Résumé",preview:"Aperçu"},quote_information:"Informations",customer_information:"Client",price_information:"Montants",select_quote:"Sélectionnez un devis"}},notifications:{created:"Devis créé",saved:"Devis enregistré",saving:"Enregistrement du devis"},pdf_generation:{title:"Génération du PDF",error:"Erreur lors de la génération du PDF",progress:"Progression : {{percentage}}%",elapsed:"Temps écoulé : {{elapsed}} secondes",remaining:"Temps restant estimé : {{estimatedTime}} secondes",cancel:"Annuler la génération"},create:{title:"Nouveau devis",form_groups:{general:{title:"Données générales",desc:"Données générales et client auquel le devis est destiné"},status:{title:"État",desc:"État du devis"},documents:{title:"Documents",desc:"Ajoutez à votre devis des documents tels que photos, plans, croquis, etc.",images:"Images"}}},edit:{title:"Devis",buttons:{save_quote:"Enregistrer le devis"}},duplicate_action:{toast_success:"Devis dupliqué"},downloading_dialog:{title:"Téléchargement du devis",description:"Veuillez patienter pendant la génération et le téléchargement du devis au format PDF…",progress:{label:"Le téléchargement est {{status}}",status_in_progress:"en cours",status_stopped:"arrêté"},cancel_button:"Annuler le téléchargement",toast_success:"Devis téléchargé"},catalog_picker_dialog:{title:"Sélectionner des articles du catalogue",description:"Pour compléter votre devis, vous pouvez ajouter des articles du catalogue.",toast_article_added:"Article du catalogue ajouté :"},blocks_picker_dialog:{title:"Sélectionner des blocs de texte",description:"Pour vous aider à compléter le devis, vous pouvez ajouter des blocs de texte prédéfinis de cette liste.",toast_article_added:"Bloc de texte ajouté :"},quote_sent_to_editor:{trigger_button:"Envoyer à Uecko",title:"Envoyer le devis à Uecko",description:"Voulez-vous envoyer ce devis à Uecko ? Cette action est irréversible.",toast_status_changed:"Devis envoyé à Uecko"},status:{draft:"Brouillon",ready:"Prêt",delivered:"Livré",accepted:"Accepté",rejected:"Refusé",archived:"Archivé"},form_fields:{date:{label:"Date",desc:"Date de ce devis",placeholder:""},reference:{label:"Référence",desc:"Référence de ce devis",placeholder:""},lang_code:{label:"Langue du document",desc:"Langue utilisée pour générer le devi
Rue et numéro
Code postal et ville…`},payment_method:{label:"Mode de paiement",placeholder:"",desc:"Mode de paiement utilisé pour ce devis"},notes:{label:"Notes",placeholder:"",desc:"Notes à inclure dans le devis"},validity:{label:"Validité du devis",placeholder:"",desc:"Validité de ce devis"},subtotal_price:{label:"Montant net",placeholder:"",desc:""},discount:{label:"Remise (%)",placeholder:"",desc:"Pourcentage de remise"},discount_price:{label:"Montant de la remise",placeholder:"",desc:"Montant de la remise"},before_tax_price:{label:"Base imposable",placeholder:"",desc:""},tax:{label:"Taxe (%)",placeholder:"",desc:"Pourcentage de taxe"},tax_price:{label:"Montant de la taxe",placeholder:"",desc:"Montant de la taxe"},total_price:{label:"Montant total",placeholder:"",desc:"Montant total"},items:{quantity:{label:"Quantité",placeholder:"",desc:""},description:{label:"Description",placeholder:"",desc:""},unit_price:{label:"Prix unitaire",placeholder:"",desc:"Prix unitaire de l’article"},subtotal_price:{label:"Sous-total",placeholder:"",desc:""},discount:{label:"Remise (%)",placeholder:"",desc:"Pourcentage de remise"},total_price:{label:"Montant total",placeholder:"",desc:"Montant total après application de la remise"}}}},settings:{edit:{title:"Paramètres",tabs:{profile:"Paramètres du profil",quotes:"Paramètres des devis",legal:"Paramètres juridiques"}},form_fields:{language:{label:"Langue",placeholder:"Sélectionnez une langue",desc:"Langue préférée de l’interface",options:{es:"Espagnol",en:"Anglais",fr:"Français"}},logo:{label:"Logo",desc:"Ce logo apparaîtra dans les propositions exportées au format PDF",requirements:"Les fichiers JPG ou PNG sont acceptés.",upload:"Téléverser le logo",invalid_format:"Seuls les fichiers JPG ou PNG sont acceptés",invalid_dimensions:"Les dimensions du logo sont invalides."},contact_information:{label:"Informations de contact",placeholder:"",desc:"Ces coordonnées apparaîtront dans les devis remis à vos clients."},default_tax:{label:"Taxe par défaut (%)",placeholder:"",desc:"Pourcentage de taxe par défaut dans les devis"},default_tax_label:{placeholder:"% TVA",desc:"Libellé affiché à côté de la taxe"},default_show_line_discount_column:{label:"Afficher la colonne de remise par défaut",desc:"Les nouveaux devis afficheront initialement la colonne de remise."},default_legal_terms:{label:"Clauses juridiques",placeholder:"",desc:"Texte juridique à inclure dans les nouveaux devis"},default_payment_method:{label:"Mode de paiement",placeholder:"",desc:"Texte utilisé dans les nouveaux devis"},default_notes:{label:"Notes",placeholder:"",desc:"Notes à inclure dans les nouveaux devis"},default_quote_validity:{label:"Validité par défaut",placeholder:"",desc:"Durée de validité du devis"}},notifications:{saved:"Paramètres enregistrés",saving:"Enregistrement des paramètres"}},support:{modal:{title:"Envoyer une incidence",subtitle:"Utilisez ce formulaire pour signaler un problème rencontré pendant l’utilisation de l’application.",open:"Ouvrir la fenêtre d’assistance",placeholder:"Décrivez l’incidence ici…",submit:"Envoyer l’incidence",validation:{empty:"Vous devez écrire quelque chose avant d’envoyer",min:"Le texte est trop court.",max:"Le texte est trop long.",required:"La description est obligatoire"},notifications:{sent_title:"Incident envoyé",sent_description:"L’incident a été envoyé correctement",error_title:"Erreur d’envoi",error_description:"L’incident n’a pas pu être envoyé. Veuillez réessayer."},cancel_confirmation:{title:"Voulez-vous annuler ?",description:"Vous perdrez les modifications non enregistrées.",back:"Retour au formulaire",confirm:"Oui, fermer"}},form_fields:{}}},$4e={translation:I4e};fs.use(wte).use(a$e).init({detection:{order:["navigator"]},debug:!1,fallbackLng:"es",interpolation:{escapeValue:!1},resources:{ca:D4e,en:M4e,es:L4e,fr:$4e}});function F4e(){const t=new fde({defaultOptions:{queries:{retry:!1,staleTime:1e4}}});return P.jsx(f$e,{i18n:fs,children:P.jsx(vde,{client:t,children:P.jsx(vOe,{dataSource:f4e("https://pres