varfue=Object.defineProperty;varE4=t=>{throwTypeError(t)};varhue=(t,e,n)=>eint?fue(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;varTe=(t,e,n)=>hue(t,typeofe!="symbol"?e+"":e,n),JN=(t,e,n)=>e.has(t)||E4("Cannot "+n);varA=(t,e,n)=>(JN(t,e,"read from private field"),n?n.call(t):e.get(t)),B=(t,e,n)=>e.has(t)?E4("Cannot add the same private member more than once"):einstanceofWeakSet?e.add(t):e.set(t,n),$=(t,e,n,r)=>(JN(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),z=(t,e,n)=>(JN(t,e,"access private method"),n);varSs=(t,e,n,r)=>({set_(s){$(t,e,s,n)},get_(){returnA(t,e,r)}});functioneH(t,e){for(varn=0;n<e.length;n++){constr=e[n];if(typeofr!="string"&&!Array.isArray(r)){for(constsinr)if(s!=="default"&&!(sint)){consti=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(t,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}returnObject.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){conste=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(constsofdocument.querySelectorAll('link[rel="modulepreload"]'))r(s);newMutationObserver(s=>{for(constiofs)if(i.type==="childList")for(constoofi.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});functionn(s){consti={};returns.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}functionr(s){if(s.ep)return;s.ep=!0;consti=n(s);fetch(s.href,i)}})();varpr=typeofglobalThis<"u"?globalThis:typeofwindow<"u"?window:typeofglobal<"u"?global:typeofself<"u"?self:{};functionxu(t){returnt&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}functionpue(t){if(t.__esModule)returnt;vare=t.default;if(typeofe=="function"){varn=functionr(){returnthisinstanceofr?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}elsen={};returnObject.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){vars=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){returnt[r]}})}),n}vartH={exports:{}},kR={},nH={exports:{}},zt={};/**
*/var r_=Symbol.for("react.element"),mue=Symbol.for("react.portal"),gue=Symbol.for("react.fragment"),vue=Symbol.for("react.strict_mode"),yue=Symbol.for("react.profiler"),bue=Symbol.for("react.provider"),xue=Symbol.for("react.context"),wue=Symbol.for("react.forward_ref"),_ue=Symbol.for("react.suspense"),Sue=Symbol.for("react.memo"),Cue=Symbol.for("react.lazy"),R4=Symbol.iterator;function Eue(t){return t===null||typeof t!="object"?null:(t=R4&&t[R4]||t["@@iterator"],typeof t=="function"?t:null)}var rH={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sH=Object.assign,iH={};function ny(t,e,n){this.props=t,this.context=e,this.refs=iH,this.updater=n||rH}ny.prototype.isReactComponent={};ny.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")};ny.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function oH(){}oH.prototype=ny.prototype;function ZI(t,e,n){this.props=t,this.context=e,this.refs=iH,this.updater=n||rH}var JI=ZI.prototype=new oH;JI.constructor=ZI;sH(JI,ny.prototype);JI.isPureReactComponent=!0;var A4=Array.isArray,aH=Object.prototype.hasOwnProperty,ej={current:null},lH={key:!0,ref:!0,__self:!0,__source:!0};function cH(t,e,n){var r,s={},i=null,o=null;if(e!=null)for(r in e.ref!==void 0&&(o=e.ref),e.key!==void 0&&(i=""+e.key),e)aH.call(e,r)&&!lH.hasOwnProperty(r)&&(s[r]=e[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];s.children=c}if(t&&t.defaultProps)for(r in a=t.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:r_,type:t,key:i,ref:o,props:s,_owner:ej.current}}function Rue(t,e){return{$$typeof:r_,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function tj(t){return typeof t=="object"&&t!==null&&t.$$typeof===r_}function Aue(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){returne[n]})}varP4=/\/+/g;functioneT(t,e){returntypeoft=="object"&&t!==null&&t.key!=null?Aue(""+t.key):e.toString(36)}functionU1(t,e,n,r,s){vari=typeoft;(i==="undefined"||i==="boolean")&&(t=null);varo=!1;if(t===null)o=!0;elseswitch(i){case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){caser_:casemue:o=!0}}if(o)returno=t,s=s(o),t=r===""?"."+eT(o,0):r,A4(s)?(n="",t!=null&&(n=t.replace(P4,"$&/")+"/"),U1(s,e,n,"",function(u){returnu})):s!=null&&(tj(s)&&(s=Rue(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(P4,"$&/")+"/")+t)),e.push(s)),1;if(o=0,r=r===""?".":r+":",A4(t))for(vara=0;a<t.length;a++){i=t[a];varc=r+eT(i,a);o+=U1(i,e,n,c,s)}elseif(c=Eue(t),typeofc=="function")for(t=c.call(t),a=0;!(i=t.next()).done;)i=i.value,c=r+eT(i,a++),o+=U1(i,e,n,c,s);elseif(i==="object")throwe=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.");returno}functionVS(t,e,n){if(t==null)returnt;varr=[],s=0;returnU1(t,r,"","",function(i){returne.call(n,i,s++)}),r}functionPue(t){if(t._status===-1){vare=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)returnt._result.default;throwt._result}varoi={current:null},H1={transition:null},Nue={ReactCurrentDispatcher:oi,ReactCurrentBatchConfig:H1,ReactCurrentOwner:ej};functionuH(){throwError("act(...) is not supported in production builds of React.")}zt.Children={map:VS,forEach:function(t,e,n){VS(t,function(){e.apply(this,arguments)},n)},count:function(t){vare=0;returnVS(t,function(){e++}),e},toArray:function(t){returnVS(t,function(e){returne})||[]},only:function(t){if(!tj(t))throwError("React.Children.onlyexpect
`},""):String(r.body);return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:d}}}else if(r.formEncType==="application/json"){if(!Ia(o))return s();try{let d=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch{return s()}}}Ot(typeof FormData=="function","FormData is not available in this environment");let c,u;if(r.formData)c=gM(r.formData),u=r.formData;else if(r.body instanceof FormData)c=gM(r.body),u=r.body;else if(r.body instanceof URLSearchParams)c=r.body,u=Qz(c);else if(r.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(r.body),u=Qz(c)}catch{return s()}let f={formMethod:o,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Ia(f.formMethod))return{path:n,submission:f};let l=vf(n);return e&&l.search&&Xj(l.search)&&c.append("index",""),l.search="?"+c,{path:wp(l),submission:f}}function upe(t,e){let n=t;if(e){let r=t.findIndex(s=>s.route.id===e);r>=0&&(n=t.slice(0,r))}return n}function Gz(t,e,n,r,s,i,o,a,c,u,f,l,d,p,h,m){let y=m?ho(m[1])?m[1].error:m[1].data:void 0,g=t.createURL(e.location),v=t.createURL(s),b=m&&ho(m[1])?m[0]:void 0,_=b?upe(n,b):n,R=m?m[1].statusCode:void 0,P=o&&R&&R>=400,T=_.filter((N,k)=>{let{route:M}=N;if(M.lazy)return!0;if(M.loader==null)return!1;if(i)return typeof M.loader!="function"||M.loader.hydrate?!0:e.loaderData[M.id]===void 0&&(!e.errors||e.errors[M.id]===void 0);if(dpe(e.loaderData,e.matches[k],N)||c.some(L=>L===N.route.id))return!0;let I=e.matches[k],j=N;return Kz(N,tr({currentUrl:g,currentParams:I.params,nextUrl:v,nextParams:j.params},r,{actionResult:y,actionStatus:R,defaultShouldRevalidate:P?!1:a||g.pathname+g.search===v.pathname+v.search||g.search!==v.search||j8(I,j)}))}),E=[];return l.forEach((N,k)=>{if(i||!n.some(U=>U.route.id===N.routeId)||f.has(k))return;let M=Wf(p,N.path,h);if(!M){E.push({key:k,routeId:N.routeId,path:N.path,matches:null,match:null,controller:null});return}let I=e.fetchers.get(k),j=zb(M,N.path),L=!1;d.has(k)?L=!1:u.has(k)?(u.delete(k),L=!0):I&&I.state!=="idle"&&I.data===void 0?L=a:L=Kz(j,tr({currentUrl:g,currentParams:e.matches[e.matches.length-1].params,nextUrl:v,nextParams:n[n.length-1].params},r,{actionResult:y,actionStatus:R,defaultShouldRevalidate:P?!1:a})),L&&E.push({key:k,routeId:N.routeId,path:N.path,matches:M,match:j,controller:new AbortController})}),[T,E]}function dpe(t,e,n){let r=!e||n.route.id!==e.route.id,s=t[n.route.id]===void 0;return r||s}function j8(t,e){let n=t.route.path;return t.pathname!==e.pathname||n!=null&&n.endsWith("*")&&t.params["*"]!==e.params["*"]}function Kz(t,e){if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate(e);if(typeof n=="boolean")return n}return e.defaultShouldRevalidate}async function fpe(t,e,n,r,s,i,o,a){let c=[e,...n.map(u=>u.route.id)].join("-");try{let u=o.get(c);u||(u=t({path:e,matches:n,patch:(f,l)=>{a.aborted||L8(f,l,r,s,i)}}),o.set(c,u)),u&&xpe(u)&&await u}finally{o.delete(c)}}function L8(t,e,n,r,s){if(t){var i;let o=r[t];Ot(o,"No route found to patch children into: routeId = "+t);let a=Z0(e,s,[t,"patch",String(((i=o.children)==null?void 0:i.length)||"0")],r);o.children?o.children.push(...a):o.children=a}else{let o=Z0(e,s,["patch",String(n.length||"0")],r);n.push(...o)}}async function Yz(t,e,n){if(!t.lazy)return;let r=await t.lazy();if(!t.lazy)return;let s=n[t.id];Ot(s,"No route found in manifest");let i={};for(let o in r){let c=s[o]!==void 0&&o!=="hasErrorBoundary";Bv(!c,'Route "'+s.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!c&&!Ihe.has(o)&&(i[o]=r[o])}Object.assign(s,i),Object.assign(s,tr({},e(s),{lazy:void 0}))}function hpe(t){return Promise.all(t.matches.map(e=>e.resolve()))}async function ppe(t,e,n,r,s,i,o,a){let c=r.reduce((l,d)=>l.add(d.route.id),new Set),u=new Set,f=await t({matches:s.map(l=>{let d=c.has(l.route.id)
`+o):s&&n&&r?c="You made a "+s+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"?c="defer() is not supported in actions":i==="invalid-body"&&(c="Unable to encode submission body")):t===403?(a="Forbidden",c='Route "'+r+'" does not match URL "'+n+'"'):t===404?(a="Not Found",c='No route matches URL "'+n+'"'):t===405&&(a="Method Not Allowed",s&&n&&r?c="You made a "+s.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":s&&(c='Invalid request method "'+s.toUpperCase()+'"')),new hE(t||500,a,new Error(c),!0)}function nB(t){for(let e=t.length-1;e>=0;e--){let n=t[e];if(nh(n))return{result:n,idx:e}}}function $8(t){let e=typeof t=="string"?vf(t):t;return wp(tr({},e,{hash:""}))}function bpe(t,e){return t.pathname!==e.pathname||t.search!==e.search?!1:t.hash===""?e.hash!=="":t.hash===e.hash?!0:e.hash!==""}function xpe(t){return typeof t=="object"&&t!=null&&"then"in t}function wpe(t){return F8(t.result)&&spe.has(t.result.status)}function th(t){return t.type===Rn.deferred}function ho(t){return t.type===Rn.error}function nh(t){return(t&&t.type)===Rn.redirect}function rB(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function _pe(t){let e=t;return e&&typeof e=="object"&&typeof e.data=="object"&&typeof e.subscribe=="function"&&typeof e.cancel=="function"&&typeof e.resolveData=="function"}function F8(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function Spe(t){return rpe.has(t.toLowerCase())}function Ia(t){return tpe.has(t.toLowerCase())}async function sB(t,e,n,r,s,i){for(let o=0;o<n.length;o++){let a=n[o],c=e[o];if(!c)continue;let u=t.find(l=>l.route.id===c.route.id),f=u!=null&&!j8(u,c)&&(i&&i[c.route.id])!==void 0;if(th(a)&&(s||f)){let l=r[o];Ot(l,"Expected an AbortSignal for revalidating fetcher deferred result"),await z8(a,l,s).then(d=>{d&&(n[o]=d||n[o])})}}}async function z8(t,e,n){if(n===void 0&&(n=!1),!await t.deferredData.resolveData(e)){if(n)try{return{type:Rn.data,data:t.deferredData.unwrappedData}}catch(s){return{type:Rn.error,error:s}}return{type:Rn.data,data:t.deferredData.data}}}function Xj(t){return new URLSearchParams(t).getAll("index").some(e=>e==="")}function zb(t,e){let n=typeof e=="string"?vf(e).search:e.search;if(t[t.length-1].route.index&&Xj(n||""))return t[t.length-1];let r=M8(t);return r[r.length-1]}function iB(t){let{formMethod:e,formAction:n,formEncType:r,text:s,formData:i,json:o}=t;if(!(!e||!n||!r)){if(s!=null)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:void 0,text:s};if(i!=null)return{formMethod:e,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(o!==void 0)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function NT(t,e){return e?{state:"loading",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Cpe(t,e){return{state:"submitting",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}function hb(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Epe(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}function qu(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Rpe(t,e){try{let n=t.sessionStorage.getItem(I8);if(n){let
Ifyouwanttohidethe\`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
Formoreinformation,seehttps://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return S.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},dye="DialogDescriptionWarning",fye=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${oW(dye).contentName}}.`;return S.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},aA=Gq,lA=Yq,cA=Qq,dy=Zq,fy=Jq,hy=tW,py=gL,my=sW,aW="AlertDialog",[hye,EUe]=In(aW,[Wq]),Eu=Wq(),lW=t=>{const{__scopeAlertDialog:e,...n}=t,r=Eu(e);return w.jsx(aA,{...r,...n,modal:!0})};lW.displayName=aW;var pye="AlertDialogTrigger",mye=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Eu(n);return w.jsx(lA,{...s,...r,ref:e})});mye.displayName=pye;var gye="AlertDialogPortal",cW=t=>{const{__scopeAlertDialog:e,...n}=t,r=Eu(e);return w.jsx(cA,{...r,...n})};cW.displayName=gye;var vye="AlertDialogOverlay",uW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Eu(n);return w.jsx(dy,{...s,...r,ref:e})});uW.displayName=vye;var hg="AlertDialogContent",[yye,bye]=hye(hg),dW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,children:r,...s}=t,i=Eu(n),o=S.useRef(null),a=Je(e,o),c=S.useRef(null);return w.jsx(cye,{contentName:hg,titleName:fW,docsSlug:"alert-dialog",children:w.jsx(yye,{scope:n,cancelRef:c,children:w.jsxs(fy,{role:"alertdialog",...i,...s,ref:a,onOpenAutoFocus:ye(s.onOpenAutoFocus,u=>{var f;u.preventDefault(),(f=c.current)==null||f.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[w.jsx(Jj,{children:r}),w.jsx(wye,{contentRef:o})]})})})});dW.displayName=hg;var fW="AlertDialogTitle",hW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Eu(n);return w.jsx(hy,{...s,...r,ref:e})});hW.displayName=fW;var pW="AlertDialogDescription",mW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Eu(n);return w.jsx(py,{...s,...r,ref:e})});mW.displayName=pW;var xye="AlertDialogAction",gW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,s=Eu(n);return w.jsx(my,{...s,...r,ref:e})});gW.displayName=xye;var vW="AlertDialogCancel",yW=S.forwardRef((t,e)=>{const{__scopeAlertDialog:n,...r}=t,{cancelRef:s}=bye(vW,n),i=Eu(n),o=Je(e,s);return w.jsx(my,{...i,...r,ref:o})});yW.displayName=vW;var wye=({contentRef:t})=>{const e=`\`${hg}\` requires a description for the component to be accessible for screen reader users.
Youcanaddadescriptiontothe\`${hg}\` by passing a \`${pW}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
Alternatively,youcanuseyourowncomponentasadescriptionbyassigningitan\`id\` and passing the same value to the \`aria-describedby\` prop in \`${hg}\`. 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.
Inordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterator]()method.`)}function f1e(t,e){if(t){if(typeof t=="string")return ZB(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 ZB(t,e)}}function ZB(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 h1e(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,s,i,o,a=[],c=!0,u=!1;try{if(i=(n=n.call(t)).next,e!==0)for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==e);c=!0);}catch(f){u=!0,s=f}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw s}}return a}}function p1e(t){if(Array.isArray(t))return t}var m1e=S.forwardRef(function(t,e){var n=t.aspect,r=t.initialDimension,s=r===void 0?{width:-1,height:-1}:r,i=t.width,o=i===void 0?"100%":i,a=t.height,c=a===void 0?"100%":a,u=t.minWidth,f=u===void 0?0:u,l=t.minHeight,d=t.maxHeight,p=t.children,h=t.debounce,m=h===void 0?0:h,y=t.id,g=t.className,v=t.onResize,b=t.style,_=b===void 0?{}:b,R=S.useRef(null),P=S.useRef();P.current=v,S.useImperativeHandle(e,function(){return Object.defineProperty(R.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),R.current},configurable:!0})});var T=S.useState({containerWidth:s.width,containerHeight:s.height}),E=u1e(T,2),N=E[0],k=E[1],M=S.useCallback(function(j,L){k(function(U){var K=Math.round(j),H=Math.round(L);return U.containerWidth===K&&U.containerHeight===H?U:{containerWidth:K,containerHeight:H}})},[]);S.useEffect(function(){var j=function(ee){var se,X=ee[0].contentRect,G=X.width,Y=X.height;M(G,Y),(se=P.current)===null||se===void 0||se.call(P,G,Y)};m>0&&(j=o1e(j,m,{trailing:!0,leading:!1}));var L=new ResizeObserver(j),U=R.current.getBoundingClientRect(),K=U.width,H=U.height;return M(K,H),L.observe(R.current),function(){L.disconnect()}},[M,m]);var I=S.useMemo(function(){var j=N.containerWidth,L=N.containerHeight;if(j<0||L<0)return null;KT(p1(o)||p1(c),`Thewidth(%s)andheight(%s)arebothfixednumbers,
maybeyoudon'tneedtouseaResponsiveContainer.`,o,c),KT(!n||n>0,"The aspect(%s) must be greater than zero.",n);var U=p1(o)?j:o,K=p1(c)?L:c;n&&n>0&&(U?K=U/n:K&&(U=K*n),d&&K>d&&(K=d)),KT(U>0||K>0,`Thewidth(%s)andheight(%s)ofchartshouldbegreaterthan0,
`)){a.insertNode(document.createTextNode(i)),this.editorDiv.normalize(),o.collapseToStart();return}const{startContainer:c,startOffset:u}=a,f=[],l=[];if(c.nodeType===Node.TEXT_NODE){const g=c.parentElement;if(l.push(c.nodeValue.slice(u).replaceAll(B1,"")),g!==this.editorDiv){let v=f;for(const b of this.editorDiv.childNodes){if(b===g){v=l;continue}v.push(z(m=$n,uu,AC).call(m,b))}}f.push(c.nodeValue.slice(0,u).replaceAll(B1,""))}else if(c===this.editorDiv){let g=f,v=0;for(const b of this.editorDiv.childNodes)v++===u&&(g=l),g.push(z(y=$n,uu,AC).call(y,b))}$(this,io,`${f.join(`
`)},RC=function(){const[n,r]=this.parentDimensions;let s;if(this.isAttachedToDOM)s=this.div.getBoundingClientRect();else{const{currentLayer:i,div:o}=this,a=o.style.display,c=o.classList.contains("hidden");o.classList.remove("hidden"),o.style.display="hidden",i.div.append(this.div),s=o.getBoundingClientRect(),o.remove(),o.style.display=a,o.classList.toggle("hidden",c)}this.rotation%180===this.parentRotation%180?(this.width=s.width/n,this.height=s.height/r):(this.width=s.height/n,this.height=s.width/r),this.fixAndSetPosition()},uu=new WeakSet,AC=function(n){return(n.nodeType===Node.TEXT_NODE?n.nodeValue:n.innerText).replaceAll(B1,"")},PC=function(){if(this.editorDiv.replaceChildren(),!!A(this,io))for(const n of A(this,io).split(`
`)){const r=document.createElement("div");r.append(n?document.createTextNode(n):document.createElement("br")),this.editorDiv.append(r)}},Ete=function(){return A(this,io).replaceAll(""," ")},pI=function(n){return n.replaceAll(" ","")},Rte=function(n){const{value:r,fontSize:s,color:i,pageIndex:o}=A(this,mv);return this._hasBeenMoved||n.value!==r||n.fontSize!==s||n.color.some((a,c)=>a!==i[c])||n.pageIndex!==o},B($n,uu),Te($n,"_freeTextDefaultContent",""),Te($n,"_internalPadding",0),Te($n,"_defaultColor",null),Te($n,"_defaultFontSize",10),Te($n,"_type","freetext"),Te($n,"_editorType",Gt.FREETEXT);let hI=$n;var Ow,kd,Na,si,Ate,NC,Pte,Nte,gI;class mI{constructor(e,n=0,r=0,s=!0){B(this,si);B(this,Ow);B(this,kd,[]);B(this,Na,[]);let i=1/0,o=-1/0,a=1/0,c=-1/0;const f=10**-4;for(const{x:g,y:v,width:b,height:_}of e){const R=Math.floor((g-n)/f)*f,P=Math.ceil((g+b+n)/f)*f,T=Math.floor((v-n)/f)*f,E=Math.ceil((v+_+n)/f)*f,N=[R,T,E,!0],k=[P,T,E,!1];A(this,kd).push(N,k),i=Math.min(i,R),o=Math.max(o,P),a=Math.min(a,T),c=Math.max(c,E)}const l=o-i+2*r,d=c-a+2*r,p=i-r,h=a-r,m=A(this,kd).at(s?-1:-2),y=[m[0],m[2]];for(const g of A(this,kd)){const[v,b,_]=g;g[0]=(v-p)/l,g[1]=(b-h)/d,g[2]=(_-h)/d}$(this,Ow,{x:p,y:h,width:l,height:d,lastPoint:y})}getOutlines(){A(this,kd).sort((n,r)=>n[0]-r[0]||n[1]-r[1]||n[2]-r[2]);const e=[];for(const n of A(this,kd))n[3]?(e.push(...z(this,si,gI).call(this,n)),z(this,si,Pte).call(this,n)):(z(this,si,Nte).call(this,n),e.push(...z(this,si,gI).call(this,n)));return z(this,si,Ate).call(this,e)}}Ow=new WeakMap,kd=new WeakMap,Na=new WeakMap,si=new WeakSet,Ate=function(e){const n=[],r=new Set;for(const o of e){const[a,c,u]=o;n.push([a,c,o],[a,u,o])}n.sort((o,a)=>o[1]-a[1]||o[0]-a[0]);for(let o=0,a=n.length;o<a;o+=2){const c=n[o][2],u=n[o+1][2];c.push(u),u.push(c),r.add(c),r.add(u)}const s=[];let i;for(;r.size>0;){const o=r.values().next().value;let[a,c,u,f,l]=o;r.delete(o);let d=a,p=c;for(i=[a,u],s.push(i);;){let h;if(r.has(f))h=f;else if(r.has(l))h=l;else break;r.delete(h),[a,c,u,f,l]=h,d!==a&&(i.push(d,p,a,p===c?c:u),d=a),p=p===c?u:c}i.push(d,p)}return new CFe(s,A(this,Ow))},NC=function(e){const n=A(this,Na);let r=0,s=n.length-1;for(;r<=s;){const i=r+s>>1,o=n[i][0];if(o===e)return i;o<e?r=i+1:s=i-1}return s+1},Pte=function([,e,n]){const r=z(this,si,NC).call(this,e);A(this,Na).splice(r,0,[e,n])},Nte=function([,e,n]){const r=z(this,si,NC).call(this,e);for(let s=r;s<A(this,Na).length;s++){const[i,o]=A(this,Na)[s];if(i!==e)break;if(i===e&&o===n){A(this,Na).splice(s,1);return}}for(let s=r-1;s>=0;s--){const[i,o]=A(this,Na)[s];if(i!==e)break;if(i===e&&o===n){A(this,Na).splice(s,1);return}}},gI=function(e){const[n,r,s]=e,i=[[n,r,s]],o=z(this,si,NC).call(this,s);for(let a=0;a<o;a++){const[c,u]=A(this,Na)[a];for(let f=0,l=i.length;f<l;f++){const[,d,p]=i[f];if(!(u<=d||p<=c)){if(d>=c){if(p>u)i[f][1]=u;else{if(l===1)return[];i.splice(f,1),f--,l--}continue}i[f][2]=c,p>u&&i.push([n,u,p])}}}return i};class Tte{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 yI}}var Iw,gv;class CFe extends Tte{constructor(n,r){super();B(this,Iw);B(this,gv);$(this,gv,n),$(this,Iw,r)}toSVGPath(){const n=[];for(const r of A(this,gv)){let[s,i]=r;n.push(`M${s}${i}`);for(let o=2;o<r.length;o+=2){const a=r[o],c=r[o+1];a===s?(n.push(`V${c}`),i=c):c===i&&(n.push(`H${a}`),s=a)}n.push("Z")}return n.join(" ")}serialize([n,r,s,i],o){const a=[],c=s-n,u=i-r;for(const f of A(this,gv)){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;a.push(l)}return a}get box(){return A(this,Iw)}}Iw=new WeakMap,gv=new WeakMap;var xl,zc,vv,yv,wl,Vt,Gh,Kh,jw,Lw,bv,xv,Dd,$w,PR,NR,Fw,vI;const xc=class xc{constructor({x:e,y:n},r,s,i,o,a=0){B(this,Fw);B(this,xl);B(this,zc,[]);B(this,vv);B(this,yv);B(this,wl,[]);B(this,Vt,new Float64Array(18));B(this,Gh);B(this,Kh);B(this,jw);B(this,Lw);B(this,bv);B(this,xv);B(this,Dd,[]);$(this,
Inordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterator]()method.`)}function tze(t,e){if(t){if(typeof t=="string")return x6(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 x6(t,e)}}function x6(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 nze(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r=[],s=!0,i=!1,o,a;try{for(n=n.call(t);!(s=(o=n.next()).done)&&(r.push(o.value),!(e&&r.length===e));s=!0);}catch(c){i=!0,a=c}finally{try{!s&&n.return!=null&&n.return()}finally{if(i)throw a}}return r}}function rze(t){if(Array.isArray(t))return t}var w6=(0,Q4e.getSecurePrefix)(),sze=function(){var e={};if(typeof window<"u")for(var n=new X4e.default,r=0,s=Object.entries(localStorage);r<s.length;r++){var i=J4e(s[r],2),o=i[0],a=i[1];if(o.startsWith(w6)){var c=o.replace(w6,"")[0],u=o.replace(/[.][bjns][.]/,"."),f=n.decrypt(a),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},ize=sze;jP.default=ize;Object.defineProperty(W$,"__esModule",{value:!0});var Pl=W$.default=void 0,oze=Nne(Z_),aze=Nne(jP),lze=Ll;function Nne(t){return t&&t.__esModule?t:{default:t}}function cze(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uze(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 dze(t,e,n){return e&&uze(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function fze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lR(t){"@babel/helpers - typeof";return lR=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},lR(t)}var $C=(0,lze.getSecurePrefix)(),hze=function(e){return lR(e)==="object"?"j":typeof e=="boolean"?"b":typeof e=="number"?"n":"s"},_6=function(e,n){var r=hze(n);return $C+"".concat(r,".")+e},pze=function(){function t(){cze(this,t),fze(this,"_localStorageItems",{}),this._localStorageItems=(0,aze.default)()}return dze(t,[{key:"setItem",value:function(n,r){if(r==null)this.removeItem(n);else{var s=lR(r)==="object"?JSON.stringify(r):r+"",i=_6(n,r),o=$C+n;n!=null&&(this._localStorageItems[o]=r);var a=new oze.default;localStorage.setItem(i,a.encrypt(s))}}},{key:"getItem",value:function(n){var r,s=$C+n;return(r=this._localStorageItems[s])!==null&&r!==void 0?r:null}},{key:"removeItem",value:function(n){var r=$C+n,s=this._localStorageItems[r],i=_6(n,s);this._localStorageItems[r]!==void 0&&delete this._localStorageItems[r],localStorage.removeItem(i)}},{key:"clear",value:function(){this._localStorageItems={},localStorage.clear()}}]),t}(),mze=new pze,gze=mze;Pl=W$.default=gze;const vze={theme:"system",setTheme:()=>null},yze=S.createContext(vze);function bze({children:t,defaultTheme:e="system",storageKey:n="vite-ui-theme",...r}){const[s,i]=S.useState(()=>Pl.getItem(n)||e);S.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),s==="system"){const c=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(c);return}a.classList.add(s)},[s]);const o={theme:s,setTheme:a=>{Pl.setItem(n,a),i(a)}};return w.jsx(yze.Provider,{...r,value:o,children:t})}const Tne=S.createContext(null),xze=()=>{const t=S.useContext(Tne);if(t===null)throw new Error("useWarnAboutChange must be used within a UnsavedWarnProvider");return t},K$=({isDirty:t=!1,title:e=re("hooks.use_unsaved_changes_notifier.title"),subtitle:n=re("hooks.use_unsaved_changes_notifier.subtitle"),confirmText:r=re("hooks.use_unsaved_changes
`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||e[n]&&b5e[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},N6=Symbol("internals");function Db(t){return t&&String(t).trim().toLowerCase()}function zC(t){return t===!1||t==null?t:be.isArray(t)?t.map(zC):String(t)}function w5e(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 _5e=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());functionaD(t,e,n,r,s){if(be.isFunction(r))returnr.call(this,e,n);if(s&&(e=n),!!be.isString(e)){if(be.isString(r))returne.indexOf(r)!==-1;if(be.isRegExp(r))returnr.test(e)}}functionS5e(t){returnt.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}functionC5e(t,e){constn=be.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(s,i,o){returnthis[r].call(this,e,s,i,o)},configurable:!0})})}class$i{constructor(e){e&&this.set(e)}set(e,n,r){consts=this;functioni(a,c,u){constf=Db(c);if(!f)thrownewError("header name must be a non-empty string");constl=be.findKey(s,f);(!l||s[l]===void0||u===!0||u===void0&&s[l]!==!1)&&(s[l||c]=zC(a))}consto=(a,c)=>be.forEach(a,(u,f)=>i(u,f,c));if(be.isPlainObject(e)||einstanceofthis.constructor)o(e,n);elseif(be.isString(e)&&(e=e.trim())&&!_5e(e))o(x5e(e),n);elseif(be.isHeaders(e))for(const[a,c]ofe.entries())i(c,a,r);elsee!=null&&i(n,e,r);returnthis}get(e,n){if(e=Db(e),e){constr=be.findKey(this,e);if(r){consts=this[r];if(!n)returns;if(n===!0)returnw5e(s);if(be.isFunction(n))returnn.call(this,s,r);if(be.isRegExp(n))returnn.exec(s);thrownewTypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Db(e),e){constr=be.findKey(this,e);return!!(r&&this[r]!==void0&&(!n||aD(this,this[r],r,n)))}return!1}delete(e,n){constr=this;lets=!1;functioni(o){if(o=Db(o),o){consta=be.findKey(r,o);a&&(!n||aD(r,r[a],a,n))&&(deleter[a],s=!0)}}returnbe.isArray(e)?e.forEach(i):i(e),s}clear(e){constn=Object.keys(this);letr=n.length,s=!1;for(;r--;){consti=n[r];(!e||aD(this,this[i],i,e,!0))&&(deletethis[i],s=!0)}returns}normalize(e){constn=this,r={};returnbe.forEach(this,(s,i)=>{consto=be.findKey(r,i);if(o){n[o]=zC(s),deleten[i];return}consta=e?S5e(i):String(i).trim();a!==i&&deleten[i],n[a]=zC(s),r[a]=!0}),this}concat(...e){returnthis.constructor.concat(this,...e)}toJSON(e){constn=Object.create(null);returnbe.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&be.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){returnObject.entries(this.toJSON())[Symbol.iterator]()}toString(){returnObject.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
`):" "+I6(i[0]):"as no adapter specified";throw new Ct("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:YI};function cD(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Uy(null,t)}function j6(t){return cD(t),t.headers=$i.from(t.headers),t.data=lD.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ire.getAdapter(t.adapter||nS.adapter)(t).then(function(r){return cD(t),r.data=lD.call(t,t.transformResponse,r),r.headers=$i.from(r.headers),r},function(r){return Jne(r)||(cD(t),r&&r.response&&(r.response.data=lD.call(t,t.transformResponse,r.response),r.response.headers=$i.from(r.response.headers))),Promise.reject(r)})}const ore="1.7.3",eF={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{eF[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const L6={};eF.transitional=function(e,n,r){function s(i,o){return"[Axios v"+ore+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,a)=>{if(e===!1)throw new Ct(s(o," has been removed"+(n?" in "+n:"")),Ct.ERR_DEPRECATED);return n&&!L6[o]&&(L6[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,o,a):!0}};function U5e(t,e,n){if(typeof t!="object")throw new Ct("options must be an object",Ct.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const i=r[s],o=e[i];if(o){const a=t[i],c=a===void 0||o(a,i,t);if(c!==!0)throw new Ct("option "+i+" must be "+c,Ct.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ct("Unknown option "+i,Ct.ERR_BAD_OPTION)}}const XI={assertOptions:U5e,validators:eF},Hu=XI.validators;class pp{constructor(e){this.defaults=e,this.interceptors={request:new P6,response:new P6}}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+=`
Ifyoucontinue,youwilllosethechanges.`,confirm_text:"Continue",cancel_text:"Cancel"}},main_menu:{home:"Home",settings:"Settings",dealers:"Dealers",catalog:"Catalog",quotes:"Quotes",search_placeholder:"Type here for search quotes and articles",user:{user_menu:"User menu",my_account:"My account",profile:"Profile",settings:"Settings",support:"Support",logout:"Logout"},logout_dialog:{title:"Confirm",description:"Are you sure you want to log out?",confirm_label:"Log out",cancel_label:"Cancel"}},login_page:{title:"Partner intranet",description:"Enter your email address and password to login",email_label:"Email",email_placeholder:"myemail@sample.com",password_label:"Password",forgotten_password:"Forgot your password?",become_dealer:"Do you want to become a Uecko partner?",contact_us:"Contact us",login:"Log in"},dashboard:{welcome:"Welcome"},catalog:{list:{title:"Catalog of articles",columns:{description:"Description",points:"Points",retail_price:"Retail price"}}},quotes:{list:{title:"Quotes",subtitle:"",tabs_title:"Status",tabs:{all:"All",draft:"Draft",ready:"Ready",delivered:"Delivered",accepted:"Accepted",rejected:"Rejected",archived:"Archived"},columns:{date:"Date",reference:"Reference",status:"Status",customer_reference:"Customer Ref.",customer_information:"Customer",total_price:"Imp. total",actions:{edit:"Edit quote"}},resume:{title:"Quote",download_quote:"Download quote",tabs:{resume:"Resume",preview:"Preview"},quote_information:"Quote Information",customer_information:"Customer Information",payment_information:"Payment Information",price_information:"Quote totals"}},create:{title:"New quote",tabs:{general:"General data",items:"Quote items",preview:"Quote preview",documents:"Documents",history:"History"},form_groups:{general:{title:"General Data",desc:"General data and quote customer"},status:{title:"Status",desc:"Quote status"},items:{title:"Quote Items",desc:"Quote detail lines. Use the catalog to make it easier to fill in the content."},documents:{title:"Attached Documents",desc:"Attach documents such as photos, drawings, sketches, etc. to your quotation."},history:{title:"History",desc:"Quote history"}},edit:{title:"Quote"}},edit:{title:"Quote"},downloading_dialog:{title:"Downloading quote",description:"Please wait while your quotation is generated and downloaded in PDF format...",progress:{label:"Download is in {{status}}",status_in_progress:"in progress",status_stopped:"stopped",value_label:"Elapsed time in seconds {{elapsed}}"},cancel_button:"Cancel the download",toast_success:"Quote downloaded"},catalog_picker_dialog:{title:"Select catalog items",description:"To complete your quote, you can add items from the catalog.",toast_article_added:"Catalog item added:"},quote_status_editor:{trigger_button:"Change quote status",title:"Change quote status",status:{draft:{title:"Draft",description:"The quote is in the initial stages of creation."},ready:{title:"Ready",description:"The quote is completed and ready to be delivered to the customer."},delivered:{title:"Delivered",description:"The quote has been sent to the client and a response is awaited."},accepted:{title:"Accepted",description:"The customer has approved the quote."},rejected:{title:"Rejected",description:"The customer has not accepted the quotation."},archived:{title:"Archived",description:"The quote is archived."}},submit_button:"Change status",toast_status_changed:"Quote status changed to:"},status:{draft:"Draft",ready:"Ready",delivered:"Delivered",accepted:"Accepted",rejected:"Rejected",archived:"Archived"},form_fields:{date:{label:"Date",desc:"Quote's date",placeholder:""},reference:{label:"Reference",desc:"Quote reference",placeholder:""},status:{label:"Status",desc:"Quote status",placeholder:""},lang_code:{label:"Language",desc:"Quote language",placeholder:""},currency_code:{label:"Currency",desc:"Quote currency",placeholder:""},customer_reference:{label:"Customer reference",desc:"Customer reference for this quote",placeholder:""},customer_information:{label:"Customer's contact data",desc:"Recommendation: enter the customer's name on the first lin
Streetandnumber
zipcodeandcityorstate...`},payment_method:{label:"Payment method",placeholder:"",desc:"Method of payment for this quote"},notes:{label:"Notes",placeholder:"",desc:"Quote's notes"},validity:{label:"Validity time",placeholder:"",desc:"Quote's validity time"},subtotal_price:{label:"Subtotal",placeholder:"",desc:"Quote subtotal"},discount:{label:"Discount (%)",placeholder:"",desc:"Percentage discount"},discount_value:{label:"Discount ({{value}}%)",placeholder:"",desc:"Percentage discount"},discount_price:{label:"Discount price",placeholder:"",desc:"Percentage discount price"},before_tax_price:{label:"Before tax price",placeholder:"",desc:"Before tax price"},tax:{label:"Tax (%)",placeholder:"",desc:"Percentage Tax"},tax_value:{label:"Tax ({{value}}%)",placeholder:"",desc:"Percentage Tax"},tax_price:{label:"Tax price",placeholder:"",desc:"Percentage tax price"},total_price:{label:"Total price",placeholder:"",desc:"Quote total price"},items:{quantity:{label:"Quantity",placeholder:"",desc:""},description:{label:"Description",placeholder:"",desc:""},unit_price:{label:"Unit price",placeholder:"",desc:"Item unit price"},subtotal_price:{label:"Subtotal",placeholder:"",desc:""},discount:{label:"Dto (%)",placeholder:"",desc:"Percentage discount"},total_price:{label:"Total price",placeholder:"",desc:"Total price with percentage discount"}}}},settings:{edit:{title:"Settings",subtitle:"",tabs:{profile:"Profile settings",quotes:"Quote settings",legal:"Legal settings"}},form_fields:{image:{label:"Logotype",placeholder:"",desc:""},contact_information:{label:"Your contact information",placeholder:"",desc:"Your contact information as a dealer that will appear on the quotes given to your customers."},default_tax:{label:"Default tax (%)",placeholder:"",desc:"Default tax rate for your quotes"},default_legal_terms:{label:"Legal terms",placeholder:"",desc:"Legal information to be included at the end of your quotes"},default_payment_method:{label:"Payment method",placeholder:"",desc:"Default payment method to be used for new quotes"},default_notes:{label:"Notes",placeholder:"",desc:"Default notes to be used for new quotes"},default_quote_validity:{label:"Quote validity",placeholder:"",desc:"Default validity time to be used for new quotes"}}}},bUe={translation:yUe},xUe={common:{required:"obligatorio",cancel:"Cancelar",no:"No",yes:"Sí",save:"Guardar",save_close:"Guardar y Cerrar",accept:"Aceptar",discard:"Decartar",hide:"Ocultar",back:"Volver",upload:"Cargar",continue:"Continuar",close:"Cerrar",more:"More",add:"Añadir",sort_asc:"Asc",sort_asc_description:"En order ascendente. Click para ordenar descendentemente.",sort_desc:"Desc",sort_desc_description:"En orden descendente. Click para ordenar ascendentemente.",sort_none_description:"Sin orden. Click para ordenar ascendentemente.",rows_selected:"{{count}} fila(s) seleccionadas.",rows_selected_of_total:"{{count}} de {{total}} fila(s) seleccionadas.",rows_per_page:"Filas por página",num_page_of_total:"Página {{count}} de {{total}}",go_to_first_page:"Ir a la primera página",go_to_prev_page:"Ir a la página anterior",go_to_next_page:"Ir a la página siguiente",go_to_last_page:"Ir a la última página",filter_placeholder:"Escribe aquí para filtrar...",reset_filter:"Quitar el filtro",error:"Error",actions:"Acciones",open_menu:"Abrir el menú",duplicate_row:"Duplicar",duplicate_selected_rows:"Duplicar",duplicate_selected_rows_tooltip:"Duplica las fila(s) seleccionadas(s)",append_empty_row:"Añadir fila",append_empty_row_tooltip:"Añadir una fila vacía",append_article:"Añadir artículo",append_article_tooltip:"Elegir un artículo del catálogo y añadirlo",remove_row:"Eliminar",remove_selected_rows:"Eliminar",remove_selected_rows_tooltip:"Elimina las fila(s) seleccionadas(s)",reset_selected_rows:"Quitar selection",reset_selected_rows_tooltip:"Dejar de seleccionar la(s) fila(s)",insert_row_above:"Insertar fila encima",insert_row_below:"Insertar fila debajo",pick_date:"Elige una fecha",required_field:"Este campo es obligatorio",unsaved_changes_prompt:"Los últimos cambios no se han guardado. Si co
Sicontinúa,perderáloscambios.`,confirm_text:"Continuar",cancel_text:"No continuar"}},main_menu:{home:"Inicio",settings:"Ajustes",dealers:"Distribuidores",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",columns:{description:"Descripción",points:"Puntos",retail_price:"PVP"}}},quotes:{list:{title:"Cotizaciones",subtitle:"",tabs_title:"Estados",tabs:{all:"Todas",draft:"Borradores",ready:"Preparados",delivered:"Entregado",accepted:"Aceptados",rejected:"Rechazados",archived:"Archivados"},columns:{date:"Fecha",reference:"Referencia",status:"Estado",customer_reference:"Ref. cliente",customer_information:"Cliente",total_price:"Imp. total",actions:{edit:"Editar"}},resume:{title:"Cotización",download_quote:"Descargar",tabs:{resume:"Resumen",preview:"Previsualización"},quote_information:"Información",customer_information:"Cliente",payment_information:"Pago",price_information:"Importes"}},create:{title:"Nueva cotización",tabs:{general:"Datos generales",items:"Contenido",preview:"Vista previa",documents:"Documentos",history:"Historial"},form_groups:{general:{title:"Datos generales",desc:"Datos generales y cliente al que va la cotización"},status:{title:"Estado",desc:"Estado de la cotización"},items:{title:"Contenido de la cotización",desc:"Líneas de detalle de la cotización. Ayúdese del catálogo para rellenar más fácilmente el contenido."},documents:{title:"Documentos",desc:"Añada adjuntar con su cotización documentos como fotos, planos, croquis, etc."},history:{title:"Historial",desc:"Historial de la cotización"}},edit:{title:"Cotización"}},edit:{title:"Cotización"},downloading_dialog:{title:"Descargando cotización",description:"Espere mientras se genera la cotización y se descarga en formato PDF...",progress:{label:"La descarga está {{status}}",status_in_progress:"en marcha",status_stopped:"parada",value_label:"Elapsed time in seconds {{elapsed}}"},cancel_button:"Cancelar la descarga",toast_success:"Quote downloaded"},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:"},quote_status_editor:{trigger_button:"Cambiar el estado",title:"Cambiar el estado de la cotización",status:{draft:{title:"Borrador",description:"La cotización está en fase inicial de creación."},ready:{title:"Preparado",description:"La cotización está completo y listo para ser entregado al cliente."},delivered:{title:"Entregado",description:"La cotización ha sido enviado al cliente y se espera su respuesta."},accepted:{title:"Aceptado",description:"El cliente ha aprobado la cotización."},rejected:{title:"Rechazado",description:"El cliente no ha aceptado la cotización."},archived:{title:"Archivado",description:"La cotización se ha guardado para referencia futura."}},submit_button:"Cambiar estado",toast_status_changed:"Estado de la cotización cambiado a:"},status:{draft:"Borrador",ready:"Preparado",delivered:"Entregado",accepted:"Aceptado",rejected:"Rechazado",archived:"Archivado"},form_fields:{date:{label:"Fecha",desc:"Fecha de esta cotización",placeholder:""},reference:{label:"Referencia",desc:"Referencia para esta cotización",placeholder:""},lang_code:{label:"Idioma",desc:"Idioma de la cotización",plac
Calleynúmero
Códigopostalyciudad...`},payment_method:{label:"Forma de pago",placeholder:"placeholder",desc:"desc"},notes:{label:"Notas",placeholder:"",desc:"desc"},validity:{label:"Validez de la cotización",placeholder:"",desc:"desc"},subtotal_price:{label:"Importe neto",placeholder:"",desc:""},discount:{label:"Descuento (%)",placeholder:"",desc:"Porcentaje de descuento"},discount_value:{label:"Descuento ({{value}}%)",placeholder:"",desc:"Porcentaje de descuento"},discount_price:{label:"Imp. descuento",placeholder:"",desc:"Importe del descuento"},before_tax_price:{label:"Base imponible",placeholder:"",desc:""},tax:{label:"IVA (%)",placeholder:"",desc:"Porcentaje de IVA"},tax_value:{label:"IVA ({{value}}%)",placeholder:"",desc:"Porcentaje de IVA"},tax_price:{label:"Imp. descuento",placeholder:"",desc:"Importe del descuento"},total_price:{label:"Total price",placeholder:"",desc:"Quote total price"},items:{quantity:{label:"Cantidad",placeholder:"",desc:""},description:{label:"Descripción",placeholder:"",desc:""},unit_price:{label:"Imp. unitario",placeholder:"",desc:"Importe unitario del artículo"},subtotal_price:{label:"Subtotal",placeholder:"",desc:""},discount:{label:"Dto (%)",placeholder:"",desc:"Porcentaje de descuento"},total_price:{label:"Imp. total",placeholder:"",desc:"Importe total con el descuento ya aplicado"}}}},settings:{edit:{title:"Ajustes",subtitle:"",tabs:{profile:"Ajustes de perfil",quotes:"Ajustes legales",legal:"Ajustes para cotizaciones"}},form_fields:{logo:{label:"Logotipo",placeholder:"",desc:"Este logotipo aparecerá en las propuestas exportadas en PDF",requirements:"Se permiten ficheros JPG o PNG. Las dimensiones del logotipo deben ser 200x100 píxeles o proporcionales.",upload:"Subir logotipo",invalid_format:"Sólo se permiten ficheros JPG o PNG",invalid_dimensions:"Las dimensiones del logotipo deben ser 200x100 píxeles o proporcionales."},contact_information:{label:"Información de contacto",placeholder:"",desc:"Esta información de contacto aparecerá en las cotizaciones que entregue a sus clientes."},default_tax:{label:"IVA por defecto (%)",placeholder:"",desc:"Porcentaje de IVA por defecto en las cotizaciones"},default_legal_terms:{label:"Cláusulas legales",placeholder:"",desc:"Texto de texto legal que desee incluir en todas las cotizaciones nuevas"},default_payment_method:{label:"Forma de pago",placeholder:"",desc:"Texto para la forma de pago que se utilizará en las cotizaciones nuevas"},default_notes:{label:"Notas",placeholder:"",desc:"Notas a incluir en todas las cotizaciones nuevas"},default_quote_validity:{label:"Validez por defecto",placeholder:"",desc:"Texto para indicar el tiempo de validez de la cotización"}}},support:{modal:{title:"Enviar una incidencia",subtitle:"Utiliza este formulario para informar sobre cualquier problema que hayas encontrado mientras usabas la aplicación. Nuestro equipo de desarrollo revisará tu incidencia y tratará de resolverla."},form_fields:{}}},wUe={translation:xUe};Fs.use(dre).use(l2e).init({debug:!1,fallbackLng:"es",interpolation:{escapeValue:!1},resources:{ca:vUe,en:bUe,es:wUe}});uD.createRoot(document.getElementById("uecko")).render(w.jsx(oe.StrictMode,{children:w.jsx(nUe,{})}));