import{r as v,a as ml,b as S,c as eE,R as sE,g as V5,d as Tt,e as ws}from"./vendor-BVMGUPL5.js";import{L as I,u as an,a as Js,b as Dc,N as zn,R as tE,c as Ge,B as P5}from"./router-DdsJny-9.js";(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function a(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(i){if(i.ep)return;i.ep=!0;const r=a(i);fetch(i.href,r)}})();var aE={exports:{}},Bg={};/**
 * @license React
 * react-jsx-dev-runtime.development.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(){var e=v,s=Symbol.for("react.element"),a=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),h=Symbol.iterator,g="@@iterator";function p(W){if(W===null||typeof W!="object")return null;var fe=h&&W[h]||W[g];return typeof fe=="function"?fe:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function D(W){{for(var fe=arguments.length,Ce=new Array(fe>1?fe-1:0),M=1;M<fe;M++)Ce[M-1]=arguments[M];N("error",W,Ce)}}function N(W,fe,Ce){{var M=x.ReactDebugCurrentFrame,ae=M.getStackAddendum();ae!==""&&(fe+="%s",Ce=Ce.concat([ae]));var de=Ce.map(function(De){return String(De)});de.unshift("Warning: "+fe),Function.prototype.apply.call(console[W],console,de)}}var C=!1,y=!1,G=!1,k=!1,E=!1,U;U=Symbol.for("react.module.reference");function T(W){return!!(typeof W=="string"||typeof W=="function"||W===n||W===r||E||W===i||W===c||W===m||k||W===f||C||y||G||typeof W=="object"&&W!==null&&(W.$$typeof===b||W.$$typeof===d||W.$$typeof===o||W.$$typeof===l||W.$$typeof===u||W.$$typeof===U||W.getModuleId!==void 0))}function H(W,fe,Ce){var M=W.displayName;if(M)return M;var ae=fe.displayName||fe.name||"";return ae!==""?Ce+"("+ae+")":Ce}function j(W){return W.displayName||"Context"}function w(W){if(W==null)return null;if(typeof W.tag=="number"&&D("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof W=="function")return W.displayName||W.name||null;if(typeof W=="string")return W;switch(W){case n:return"Fragment";case a:return"Portal";case r:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case m:return"SuspenseList"}if(typeof W=="object")switch(W.$$typeof){case l:var fe=W;return j(fe)+".Consumer";case o:var Ce=W;return j(Ce._context)+".Provider";case u:return H(W,W.render,"ForwardRef");case d:var M=W.displayName||null;return M!==null?M:w(W.type)||"Memo";case b:{var ae=W,de=ae._payload,De=ae._init;try{return w(De(de))}catch{return null}}}return null}var A=Object.assign,P=0,V,_,O,$,Q,ne,Z;function ee(){}ee.__reactDisabledLog=!0;function ge(){{if(P===0){V=console.log,_=console.info,O=console.warn,$=console.error,Q=console.group,ne=console.groupCollapsed,Z=console.groupEnd;var W={configurable:!0,enumerable:!0,value:ee,writable:!0};Object.defineProperties(console,{info:W,log:W,warn:W,error:W,group:W,groupCollapsed:W,groupEnd:W})}P++}}function xe(){{if(P--,P===0){var W={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},W,{value:V}),info:A({},W,{value:_}),warn:A({},W,{value:O}),error:A({},W,{value:$}),group:A({},W,{value:Q}),groupCollapsed:A({},W,{value:ne}),groupEnd:A({},W,{value:Z})})}P<0&&D("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var le=x.ReactCurrentDispatcher,se;function be(W,fe,Ce){{if(se===void 0)try{throw Error()}catch(ae){var M=ae.stack.trim().match(/\n( *(at )?)/);se=M&&M[1]||""}return`
`+se+W}}var te=!1,ce;{var he=typeof WeakMap=="function"?WeakMap:Map;ce=new he}function R(W,fe){if(!W||te)return"";{var Ce=ce.get(W);if(Ce!==void 0)return Ce}var M;te=!0;var ae=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var de;de=le.current,le.current=null,ge();try{if(fe){var De=function(){throw Error()};if(Object.defineProperty(De.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(De,[])}catch(Gs){M=Gs}Reflect.construct(W,[],De)}else{try{De.call()}catch(Gs){M=Gs}W.call(De.prototype)}}else{try{throw Error()}catch(Gs){M=Gs}W()}}catch(Gs){if(Gs&&M&&typeof Gs.stack=="string"){for(var Le=Gs.stack.split(`
`),qe=M.stack.split(`
`),Ae=Le.length-1,Pe=qe.length-1;Ae>=1&&Pe>=0&&Le[Ae]!==qe[Pe];)Pe--;for(;Ae>=1&&Pe>=0;Ae--,Pe--)if(Le[Ae]!==qe[Pe]){if(Ae!==1||Pe!==1)do if(Ae--,Pe--,Pe<0||Le[Ae]!==qe[Pe]){var hs=`
`+Le[Ae].replace(" at new "," at ");return W.displayName&&hs.includes("<anonymous>")&&(hs=hs.replace("<anonymous>",W.displayName)),typeof W=="function"&&ce.set(W,hs),hs}while(Ae>=1&&Pe>=0);break}}}finally{te=!1,le.current=de,xe(),Error.prepareStackTrace=ae}var vs=W?W.displayName||W.name:"",Ns=vs?be(vs):"";return typeof W=="function"&&ce.set(W,Ns),Ns}function ve(W,fe,Ce){return R(W,!1)}function J(W){var fe=W.prototype;return!!(fe&&fe.isReactComponent)}function ke(W,fe,Ce){if(W==null)return"";if(typeof W=="function")return R(W,J(W));if(typeof W=="string")return be(W);switch(W){case c:return be("Suspense");case m:return be("SuspenseList")}if(typeof W=="object")switch(W.$$typeof){case u:return ve(W.render);case d:return ke(W.type,fe,Ce);case b:{var M=W,ae=M._payload,de=M._init;try{return ke(de(ae),fe,Ce)}catch{}}}return""}var Ue=Object.prototype.hasOwnProperty,Ye={},cs=x.ReactDebugCurrentFrame;function Ds(W){if(W){var fe=W._owner,Ce=ke(W.type,W._source,fe?fe.type:null);cs.setExtraStackFrame(Ce)}else cs.setExtraStackFrame(null)}function Wt(W,fe,Ce,M,ae){{var de=Function.call.bind(Ue);for(var De in W)if(de(W,De)){var Le=void 0;try{if(typeof W[De]!="function"){var qe=Error((M||"React class")+": "+Ce+" type `"+De+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof W[De]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw qe.name="Invariant Violation",qe}Le=W[De](fe,De,M,Ce,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ae){Le=Ae}Le&&!(Le instanceof Error)&&(Ds(ae),D("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",M||"React class",Ce,De,typeof Le),Ds(null)),Le instanceof Error&&!(Le.message in Ye)&&(Ye[Le.message]=!0,Ds(ae),D("Failed %s type: %s",Ce,Le.message),Ds(null))}}}var dt=Array.isArray;function Ks(W){return dt(W)}function vt(W){{var fe=typeof Symbol=="function"&&Symbol.toStringTag,Ce=fe&&W[Symbol.toStringTag]||W.constructor.name||"Object";return Ce}}function Ga(W){try{return zt(W),!1}catch{return!0}}function zt(W){return""+W}function Fs(W){if(Ga(W))return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",vt(W)),zt(W)}var _s=x.ReactCurrentOwner,Br={key:!0,ref:!0,__self:!0,__source:!0},cn,ya,Sn;Sn={};function qr(W){if(Ue.call(W,"ref")){var fe=Object.getOwnPropertyDescriptor(W,"ref").get;if(fe&&fe.isReactWarning)return!1}return W.ref!==void 0}function Wi(W){if(Ue.call(W,"key")){var fe=Object.getOwnPropertyDescriptor(W,"key").get;if(fe&&fe.isReactWarning)return!1}return W.key!==void 0}function mn(W,fe){if(typeof W.ref=="string"&&_s.current&&fe&&_s.current.stateNode!==fe){var Ce=w(_s.current.type);Sn[Ce]||(D('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',w(_s.current.type),W.ref),Sn[Ce]=!0)}}function Wr(W,fe){{var Ce=function(){cn||(cn=!0,D("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",fe))};Ce.isReactWarning=!0,Object.defineProperty(W,"key",{get:Ce,configurable:!0})}}function dn(W,fe){{var Ce=function(){ya||(ya=!0,D("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",fe))};Ce.isReactWarning=!0,Object.defineProperty(W,"ref",{get:Ce,configurable:!0})}}var Fl=function(W,fe,Ce,M,ae,de,De){var Le={$$typeof:s,type:W,key:fe,ref:Ce,props:De,_owner:de};return Le._store={},Object.defineProperty(Le._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Le,"_self",{configurable:!1,enumerable:!1,writable:!1,value:M}),Object.defineProperty(Le,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ae}),Object.freeze&&(Object.freeze(Le.props),Object.freeze(Le)),Le};function Bl(W,fe,Ce,M,ae){{var de,De={},Le=null,qe=null;Ce!==void 0&&(Fs(Ce),Le=""+Ce),Wi(fe)&&(Fs(fe.key),Le=""+fe.key),qr(fe)&&(qe=fe.ref,mn(fe,ae));for(de in fe)Ue.call(fe,de)&&!Br.hasOwnProperty(de)&&(De[de]=fe[de]);if(W&&W.defaultProps){var Ae=W.defaultProps;for(de in Ae)De[de]===void 0&&(De[de]=Ae[de])}if(Le||qe){var Pe=typeof W=="function"?W.displayName||W.name||"Unknown":W;Le&&Wr(De,Pe),qe&&dn(De,Pe)}return Fl(W,Le,qe,ae,M,_s.current,De)}}var bn=x.ReactCurrentOwner,di=x.ReactDebugCurrentFrame;function It(W){if(W){var fe=W._owner,Ce=ke(W.type,W._source,fe?fe.type:null);di.setExtraStackFrame(Ce)}else di.setExtraStackFrame(null)}var Ma;Ma=!1;function Ut(W){return typeof W=="object"&&W!==null&&W.$$typeof===s}function zi(){{if(bn.current){var W=w(bn.current.type);if(W)return`

Check the render method of \``+W+"`."}return""}}function Fe(W){{if(W!==void 0){var fe=W.fileName.replace(/^.*[\\\/]/,""),Ce=W.lineNumber;return`

Check your code at `+fe+":"+Ce+"."}return""}}var ts={};function ps(W){{var fe=zi();if(!fe){var Ce=typeof W=="string"?W:W.displayName||W.name;Ce&&(fe=`

Check the top-level render call using <`+Ce+">.")}return fe}}function Gt(W,fe){{if(!W._store||W._store.validated||W.key!=null)return;W._store.validated=!0;var Ce=ps(fe);if(ts[Ce])return;ts[Ce]=!0;var M="";W&&W._owner&&W._owner!==bn.current&&(M=" It was passed a child from "+w(W._owner.type)+"."),It(W),D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ce,M),It(null)}}function yt(W,fe){{if(typeof W!="object")return;if(Ks(W))for(var Ce=0;Ce<W.length;Ce++){var M=W[Ce];Ut(M)&&Gt(M,fe)}else if(Ut(W))W._store&&(W._store.validated=!0);else if(W){var ae=p(W);if(typeof ae=="function"&&ae!==W.entries)for(var de=ae.call(W),De;!(De=de.next()).done;)Ut(De.value)&&Gt(De.value,fe)}}}function Ca(W){{var fe=W.type;if(fe==null||typeof fe=="string")return;var Ce;if(typeof fe=="function")Ce=fe.propTypes;else if(typeof fe=="object"&&(fe.$$typeof===u||fe.$$typeof===d))Ce=fe.propTypes;else return;if(Ce){var M=w(fe);Wt(Ce,W.props,"prop",M,W)}else if(fe.PropTypes!==void 0&&!Ma){Ma=!0;var ae=w(fe);D("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ae||"Unknown")}typeof fe.getDefaultProps=="function"&&!fe.getDefaultProps.isReactClassApproved&&D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Oa(W){{for(var fe=Object.keys(W.props),Ce=0;Ce<fe.length;Ce++){var M=fe[Ce];if(M!=="children"&&M!=="key"){It(W),D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",M),It(null);break}}W.ref!==null&&(It(W),D("Invalid attribute `ref` supplied to `React.Fragment`."),It(null))}}var Ct={};function la(W,fe,Ce,M,ae,de){{var De=T(W);if(!De){var Le="";(W===void 0||typeof W=="object"&&W!==null&&Object.keys(W).length===0)&&(Le+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var qe=Fe(ae);qe?Le+=qe:Le+=zi();var Ae;W===null?Ae="null":Ks(W)?Ae="array":W!==void 0&&W.$$typeof===s?(Ae="<"+(w(W.type)||"Unknown")+" />",Le=" Did you accidentally export a JSX literal instead of a component?"):Ae=typeof W,D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ae,Le)}var Pe=Bl(W,fe,Ce,ae,de);if(Pe==null)return Pe;if(De){var hs=fe.children;if(hs!==void 0)if(M)if(Ks(hs)){for(var vs=0;vs<hs.length;vs++)yt(hs[vs],W);Object.freeze&&Object.freeze(hs)}else D("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else yt(hs,W)}if(Ue.call(fe,"key")){var Ns=w(W),Gs=Object.keys(fe).filter(function(Ht){return Ht!=="key"}),fn=Gs.length>0?"{key: someKey, "+Gs.join(": ..., ")+": ...}":"{key: someKey}";if(!Ct[Ns+fn]){var Tn=Gs.length>0?"{"+Gs.join(": ..., ")+": ...}":"{}";D(`A props object containing a "key" prop is being spread into JSX:
  let props = %s;
  <%s {...props} />
React keys must be passed directly to JSX without using spread:
  let props = %s;
  <%s key={someKey} {...props} />`,fn,Ns,Tn,Ns),Ct[Ns+fn]=!0}}return W===n?Oa(Pe):Ca(Pe),Pe}}var kf=la;Bg.Fragment=n,Bg.jsxDEV=kf})();aE.exports=Bg;var t=aE.exports,nE,fD=ml;{var gD=fD.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;nE=function(e,s){gD.usingClientEntryPoint=!0;try{return fD.createRoot(e,s)}finally{gD.usingClientEntryPoint=!1}}}const A5=1,S5=1e6;let Lf=0;function T5(){return Lf=(Lf+1)%Number.MAX_SAFE_INTEGER,Lf.toString()}const jf=new Map,pD=e=>{if(jf.has(e))return;const s=setTimeout(()=>{jf.delete(e),cu({type:"REMOVE_TOAST",toastId:e})},S5);jf.set(e,s)},_5=(e,s)=>{switch(s.type){case"ADD_TOAST":return{...e,toasts:[s.toast,...e.toasts].slice(0,A5)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===s.toast.id?{...a,...s.toast}:a)};case"DISMISS_TOAST":{const{toastId:a}=s;return a?pD(a):e.toasts.forEach(n=>{pD(n.id)}),{...e,toasts:e.toasts.map(n=>n.id===a||a===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return s.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==s.toastId)}}},Em=[];let Lm={toasts:[]};function cu(e){Lm=_5(Lm,e),Em.forEach(s=>{s(Lm)})}function R5({...e}){const s=T5(),a=i=>cu({type:"UPDATE_TOAST",toast:{...i,id:s}}),n=()=>cu({type:"DISMISS_TOAST",toastId:s});return cu({type:"ADD_TOAST",toast:{...e,id:s,open:!0,onOpenChange:i=>{i||n()}}}),{id:s,dismiss:n,update:a}}function M5(){const[e,s]=v.useState(Lm);return v.useEffect(()=>(Em.push(s),()=>{const a=Em.indexOf(s);a>-1&&Em.splice(a,1)}),[e]),{...e,toast:R5,dismiss:a=>cu({type:"DISMISS_TOAST",toastId:a})}}function je(e,s,{checkForDefaultPrevented:a=!0}={}){return function(i){if(e?.(i),a===!1||!i.defaultPrevented)return s?.(i)}}function hD(e,s){if(typeof e=="function")return e(s);e!=null&&(e.current=s)}function iE(...e){return s=>{let a=!1;const n=e.map(i=>{const r=hD(i,s);return!a&&typeof r=="function"&&(a=!0),r});if(a)return()=>{for(let i=0;i<n.length;i++){const r=n[i];typeof r=="function"?r():hD(e[i],null)}}}}function ns(...e){return v.useCallback(iE(...e),e)}var rE={exports:{}},jm={};/**
 * @license React
 * react-jsx-runtime.development.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(){var e=v,s=Symbol.for("react.element"),a=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),h=Symbol.iterator,g="@@iterator";function p(M){if(M===null||typeof M!="object")return null;var ae=h&&M[h]||M[g];return typeof ae=="function"?ae:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function D(M){{for(var ae=arguments.length,de=new Array(ae>1?ae-1:0),De=1;De<ae;De++)de[De-1]=arguments[De];N("error",M,de)}}function N(M,ae,de){{var De=x.ReactDebugCurrentFrame,Le=De.getStackAddendum();Le!==""&&(ae+="%s",de=de.concat([Le]));var qe=de.map(function(Ae){return String(Ae)});qe.unshift("Warning: "+ae),Function.prototype.apply.call(console[M],console,qe)}}var C=!1,y=!1,G=!1,k=!1,E=!1,U;U=Symbol.for("react.module.reference");function T(M){return!!(typeof M=="string"||typeof M=="function"||M===n||M===r||E||M===i||M===c||M===m||k||M===f||C||y||G||typeof M=="object"&&M!==null&&(M.$$typeof===b||M.$$typeof===d||M.$$typeof===o||M.$$typeof===l||M.$$typeof===u||M.$$typeof===U||M.getModuleId!==void 0))}function H(M,ae,de){var De=M.displayName;if(De)return De;var Le=ae.displayName||ae.name||"";return Le!==""?de+"("+Le+")":de}function j(M){return M.displayName||"Context"}function w(M){if(M==null)return null;if(typeof M.tag=="number"&&D("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof M=="function")return M.displayName||M.name||null;if(typeof M=="string")return M;switch(M){case n:return"Fragment";case a:return"Portal";case r:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case m:return"SuspenseList"}if(typeof M=="object")switch(M.$$typeof){case l:var ae=M;return j(ae)+".Consumer";case o:var de=M;return j(de._context)+".Provider";case u:return H(M,M.render,"ForwardRef");case d:var De=M.displayName||null;return De!==null?De:w(M.type)||"Memo";case b:{var Le=M,qe=Le._payload,Ae=Le._init;try{return w(Ae(qe))}catch{return null}}}return null}var A=Object.assign,P=0,V,_,O,$,Q,ne,Z;function ee(){}ee.__reactDisabledLog=!0;function ge(){{if(P===0){V=console.log,_=console.info,O=console.warn,$=console.error,Q=console.group,ne=console.groupCollapsed,Z=console.groupEnd;var M={configurable:!0,enumerable:!0,value:ee,writable:!0};Object.defineProperties(console,{info:M,log:M,warn:M,error:M,group:M,groupCollapsed:M,groupEnd:M})}P++}}function xe(){{if(P--,P===0){var M={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:A({},M,{value:V}),info:A({},M,{value:_}),warn:A({},M,{value:O}),error:A({},M,{value:$}),group:A({},M,{value:Q}),groupCollapsed:A({},M,{value:ne}),groupEnd:A({},M,{value:Z})})}P<0&&D("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var le=x.ReactCurrentDispatcher,se;function be(M,ae,de){{if(se===void 0)try{throw Error()}catch(Le){var De=Le.stack.trim().match(/\n( *(at )?)/);se=De&&De[1]||""}return`
`+se+M}}var te=!1,ce;{var he=typeof WeakMap=="function"?WeakMap:Map;ce=new he}function R(M,ae){if(!M||te)return"";{var de=ce.get(M);if(de!==void 0)return de}var De;te=!0;var Le=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var qe;qe=le.current,le.current=null,ge();try{if(ae){var Ae=function(){throw Error()};if(Object.defineProperty(Ae.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ae,[])}catch(Ht){De=Ht}Reflect.construct(M,[],Ae)}else{try{Ae.call()}catch(Ht){De=Ht}M.call(Ae.prototype)}}else{try{throw Error()}catch(Ht){De=Ht}M()}}catch(Ht){if(Ht&&De&&typeof Ht.stack=="string"){for(var Pe=Ht.stack.split(`
`),hs=De.stack.split(`
`),vs=Pe.length-1,Ns=hs.length-1;vs>=1&&Ns>=0&&Pe[vs]!==hs[Ns];)Ns--;for(;vs>=1&&Ns>=0;vs--,Ns--)if(Pe[vs]!==hs[Ns]){if(vs!==1||Ns!==1)do if(vs--,Ns--,Ns<0||Pe[vs]!==hs[Ns]){var Gs=`
`+Pe[vs].replace(" at new "," at ");return M.displayName&&Gs.includes("<anonymous>")&&(Gs=Gs.replace("<anonymous>",M.displayName)),typeof M=="function"&&ce.set(M,Gs),Gs}while(vs>=1&&Ns>=0);break}}}finally{te=!1,le.current=qe,xe(),Error.prepareStackTrace=Le}var fn=M?M.displayName||M.name:"",Tn=fn?be(fn):"";return typeof M=="function"&&ce.set(M,Tn),Tn}function ve(M,ae,de){return R(M,!1)}function J(M){var ae=M.prototype;return!!(ae&&ae.isReactComponent)}function ke(M,ae,de){if(M==null)return"";if(typeof M=="function")return R(M,J(M));if(typeof M=="string")return be(M);switch(M){case c:return be("Suspense");case m:return be("SuspenseList")}if(typeof M=="object")switch(M.$$typeof){case u:return ve(M.render);case d:return ke(M.type,ae,de);case b:{var De=M,Le=De._payload,qe=De._init;try{return ke(qe(Le),ae,de)}catch{}}}return""}var Ue=Object.prototype.hasOwnProperty,Ye={},cs=x.ReactDebugCurrentFrame;function Ds(M){if(M){var ae=M._owner,de=ke(M.type,M._source,ae?ae.type:null);cs.setExtraStackFrame(de)}else cs.setExtraStackFrame(null)}function Wt(M,ae,de,De,Le){{var qe=Function.call.bind(Ue);for(var Ae in M)if(qe(M,Ae)){var Pe=void 0;try{if(typeof M[Ae]!="function"){var hs=Error((De||"React class")+": "+de+" type `"+Ae+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof M[Ae]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw hs.name="Invariant Violation",hs}Pe=M[Ae](ae,Ae,De,de,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(vs){Pe=vs}Pe&&!(Pe instanceof Error)&&(Ds(Le),D("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",De||"React class",de,Ae,typeof Pe),Ds(null)),Pe instanceof Error&&!(Pe.message in Ye)&&(Ye[Pe.message]=!0,Ds(Le),D("Failed %s type: %s",de,Pe.message),Ds(null))}}}var dt=Array.isArray;function Ks(M){return dt(M)}function vt(M){{var ae=typeof Symbol=="function"&&Symbol.toStringTag,de=ae&&M[Symbol.toStringTag]||M.constructor.name||"Object";return de}}function Ga(M){try{return zt(M),!1}catch{return!0}}function zt(M){return""+M}function Fs(M){if(Ga(M))return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",vt(M)),zt(M)}var _s=x.ReactCurrentOwner,Br={key:!0,ref:!0,__self:!0,__source:!0},cn,ya,Sn;Sn={};function qr(M){if(Ue.call(M,"ref")){var ae=Object.getOwnPropertyDescriptor(M,"ref").get;if(ae&&ae.isReactWarning)return!1}return M.ref!==void 0}function Wi(M){if(Ue.call(M,"key")){var ae=Object.getOwnPropertyDescriptor(M,"key").get;if(ae&&ae.isReactWarning)return!1}return M.key!==void 0}function mn(M,ae){if(typeof M.ref=="string"&&_s.current&&ae&&_s.current.stateNode!==ae){var de=w(_s.current.type);Sn[de]||(D('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',w(_s.current.type),M.ref),Sn[de]=!0)}}function Wr(M,ae){{var de=function(){cn||(cn=!0,D("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ae))};de.isReactWarning=!0,Object.defineProperty(M,"key",{get:de,configurable:!0})}}function dn(M,ae){{var de=function(){ya||(ya=!0,D("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ae))};de.isReactWarning=!0,Object.defineProperty(M,"ref",{get:de,configurable:!0})}}var Fl=function(M,ae,de,De,Le,qe,Ae){var Pe={$$typeof:s,type:M,key:ae,ref:de,props:Ae,_owner:qe};return Pe._store={},Object.defineProperty(Pe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Pe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:De}),Object.defineProperty(Pe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Le}),Object.freeze&&(Object.freeze(Pe.props),Object.freeze(Pe)),Pe};function Bl(M,ae,de,De,Le){{var qe,Ae={},Pe=null,hs=null;de!==void 0&&(Fs(de),Pe=""+de),Wi(ae)&&(Fs(ae.key),Pe=""+ae.key),qr(ae)&&(hs=ae.ref,mn(ae,Le));for(qe in ae)Ue.call(ae,qe)&&!Br.hasOwnProperty(qe)&&(Ae[qe]=ae[qe]);if(M&&M.defaultProps){var vs=M.defaultProps;for(qe in vs)Ae[qe]===void 0&&(Ae[qe]=vs[qe])}if(Pe||hs){var Ns=typeof M=="function"?M.displayName||M.name||"Unknown":M;Pe&&Wr(Ae,Ns),hs&&dn(Ae,Ns)}return Fl(M,Pe,hs,Le,De,_s.current,Ae)}}var bn=x.ReactCurrentOwner,di=x.ReactDebugCurrentFrame;function It(M){if(M){var ae=M._owner,de=ke(M.type,M._source,ae?ae.type:null);di.setExtraStackFrame(de)}else di.setExtraStackFrame(null)}var Ma;Ma=!1;function Ut(M){return typeof M=="object"&&M!==null&&M.$$typeof===s}function zi(){{if(bn.current){var M=w(bn.current.type);if(M)return`

Check the render method of \``+M+"`."}return""}}function Fe(M){return""}var ts={};function ps(M){{var ae=zi();if(!ae){var de=typeof M=="string"?M:M.displayName||M.name;de&&(ae=`

Check the top-level render call using <`+de+">.")}return ae}}function Gt(M,ae){{if(!M._store||M._store.validated||M.key!=null)return;M._store.validated=!0;var de=ps(ae);if(ts[de])return;ts[de]=!0;var De="";M&&M._owner&&M._owner!==bn.current&&(De=" It was passed a child from "+w(M._owner.type)+"."),It(M),D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',de,De),It(null)}}function yt(M,ae){{if(typeof M!="object")return;if(Ks(M))for(var de=0;de<M.length;de++){var De=M[de];Ut(De)&&Gt(De,ae)}else if(Ut(M))M._store&&(M._store.validated=!0);else if(M){var Le=p(M);if(typeof Le=="function"&&Le!==M.entries)for(var qe=Le.call(M),Ae;!(Ae=qe.next()).done;)Ut(Ae.value)&&Gt(Ae.value,ae)}}}function Ca(M){{var ae=M.type;if(ae==null||typeof ae=="string")return;var de;if(typeof ae=="function")de=ae.propTypes;else if(typeof ae=="object"&&(ae.$$typeof===u||ae.$$typeof===d))de=ae.propTypes;else return;if(de){var De=w(ae);Wt(de,M.props,"prop",De,M)}else if(ae.PropTypes!==void 0&&!Ma){Ma=!0;var Le=w(ae);D("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Le||"Unknown")}typeof ae.getDefaultProps=="function"&&!ae.getDefaultProps.isReactClassApproved&&D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Oa(M){{for(var ae=Object.keys(M.props),de=0;de<ae.length;de++){var De=ae[de];if(De!=="children"&&De!=="key"){It(M),D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",De),It(null);break}}M.ref!==null&&(It(M),D("Invalid attribute `ref` supplied to `React.Fragment`."),It(null))}}var Ct={};function la(M,ae,de,De,Le,qe){{var Ae=T(M);if(!Ae){var Pe="";(M===void 0||typeof M=="object"&&M!==null&&Object.keys(M).length===0)&&(Pe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var hs=Fe();hs?Pe+=hs:Pe+=zi();var vs;M===null?vs="null":Ks(M)?vs="array":M!==void 0&&M.$$typeof===s?(vs="<"+(w(M.type)||"Unknown")+" />",Pe=" Did you accidentally export a JSX literal instead of a component?"):vs=typeof M,D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",vs,Pe)}var Ns=Bl(M,ae,de,Le,qe);if(Ns==null)return Ns;if(Ae){var Gs=ae.children;if(Gs!==void 0)if(De)if(Ks(Gs)){for(var fn=0;fn<Gs.length;fn++)yt(Gs[fn],M);Object.freeze&&Object.freeze(Gs)}else D("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else yt(Gs,M)}if(Ue.call(ae,"key")){var Tn=w(M),Ht=Object.keys(ae).filter(function(H5){return H5!=="key"}),Ef=Ht.length>0?"{key: someKey, "+Ht.join(": ..., ")+": ...}":"{key: someKey}";if(!Ct[Tn+Ef]){var U5=Ht.length>0?"{"+Ht.join(": ..., ")+": ...}":"{}";D(`A props object containing a "key" prop is being spread into JSX:
  let props = %s;
  <%s {...props} />
React keys must be passed directly to JSX without using spread:
  let props = %s;
  <%s key={someKey} {...props} />`,Ef,Tn,U5,Tn),Ct[Tn+Ef]=!0}}return M===n?Oa(Ns):Ca(Ns),Ns}}function kf(M,ae,de){return la(M,ae,de,!0)}function W(M,ae,de){return la(M,ae,de,!1)}var fe=W,Ce=kf;jm.Fragment=n,jm.jsx=fe,jm.jsxs=Ce})();rE.exports=jm;var q=rE.exports;function O5(e,s){const a=v.createContext(s),n=r=>{const{children:o,...l}=r,u=v.useMemo(()=>l,Object.values(l));return q.jsx(a.Provider,{value:u,children:o})};n.displayName=e+"Provider";function i(r){const o=v.useContext(a);if(o)return o;if(s!==void 0)return s;throw new Error(`\`${r}\` must be used within \`${e}\``)}return[n,i]}function Mt(e,s=[]){let a=[];function n(r,o){const l=v.createContext(o),u=a.length;a=[...a,o];const c=d=>{const{scope:b,children:f,...h}=d,g=b?.[e]?.[u]||l,p=v.useMemo(()=>h,Object.values(h));return q.jsx(g.Provider,{value:p,children:f})};c.displayName=r+"Provider";function m(d,b){const f=b?.[e]?.[u]||l,h=v.useContext(f);if(h)return h;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${r}\``)}return[c,m]}const i=()=>{const r=a.map(o=>v.createContext(o));return function(l){const u=l?.[e]||r;return v.useMemo(()=>({[`__scope${e}`]:{...l,[e]:u}}),[l,u])}};return i.scopeName=e,[n,I5(i,...s)]}function I5(...e){const s=e[0];if(e.length===1)return s;const a=()=>{const n=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(r){const o=n.reduce((l,{useScope:u,scopeName:c})=>{const d=u(r)[`__scope${c}`];return{...l,...d}},{});return v.useMemo(()=>({[`__scope${s.scopeName}`]:o}),[o])}};return a.scopeName=s.scopeName,a}function Uo(e){const s=F5(e),a=v.forwardRef((n,i)=>{const{children:r,...o}=n,l=v.Children.toArray(r),u=l.find(q5);if(u){const c=u.props.children,m=l.map(d=>d===u?v.Children.count(c)>1?v.Children.only(null):v.isValidElement(c)?c.props.children:null:d);return q.jsx(s,{...o,ref:i,children:v.isValidElement(c)?v.cloneElement(c,void 0,m):null})}return q.jsx(s,{...o,ref:i,children:r})});return a.displayName=`${e}.Slot`,a}var $5=Uo("Slot");function F5(e){const s=v.forwardRef((a,n)=>{const{children:i,...r}=a;if(v.isValidElement(i)){const o=z5(i),l=W5(r,i.props);return i.type!==v.Fragment&&(l.ref=n?iE(n,o):o),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return s.displayName=`${e}.SlotClone`,s}var oE=Symbol("radix.slottable");function B5(e){const s=({children:a})=>q.jsx(q.Fragment,{children:a});return s.displayName=`${e}.Slottable`,s.__radixId=oE,s}function q5(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===oE}function W5(e,s){const a={...s};for(const n in s){const i=e[n],r=s[n];/^on[A-Z]/.test(n)?i&&r?a[n]=(...l)=>{const u=r(...l);return i(...l),u}:i&&(a[n]=i):n==="style"?a[n]={...i,...r}:n==="className"&&(a[n]=[i,r].filter(Boolean).join(" "))}return{...e,...a}}function z5(e){let s=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=s&&"isReactWarning"in s&&s.isReactWarning;return a?e.ref:(s=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=s&&"isReactWarning"in s&&s.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}function ib(e){const s=e+"CollectionProvider",[a,n]=Mt(s),[i,r]=a(s,{collectionRef:{current:null},itemMap:new Map}),o=g=>{const{scope:p,children:x}=g,D=S.useRef(null),N=S.useRef(new Map).current;return q.jsx(i,{scope:p,itemMap:N,collectionRef:D,children:x})};o.displayName=s;const l=e+"CollectionSlot",u=Uo(l),c=S.forwardRef((g,p)=>{const{scope:x,children:D}=g,N=r(l,x),C=ns(p,N.collectionRef);return q.jsx(u,{ref:C,children:D})});c.displayName=l;const m=e+"CollectionItemSlot",d="data-radix-collection-item",b=Uo(m),f=S.forwardRef((g,p)=>{const{scope:x,children:D,...N}=g,C=S.useRef(null),y=ns(p,C),G=r(m,x);return S.useEffect(()=>(G.itemMap.set(C,{ref:C,...N}),()=>void G.itemMap.delete(C))),q.jsx(b,{[d]:"",ref:y,children:D})});f.displayName=m;function h(g){const p=r(e+"CollectionConsumer",g);return S.useCallback(()=>{const D=p.collectionRef.current;if(!D)return[];const N=Array.from(D.querySelectorAll(`[${d}]`));return Array.from(p.itemMap.values()).sort((G,k)=>N.indexOf(G.ref.current)-N.indexOf(k.ref.current))},[p.collectionRef,p.itemMap])}return[{Provider:o,Slot:c,ItemSlot:f},h,n]}var K5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ve=K5.reduce((e,s)=>{const a=Uo(`Primitive.${s}`),n=v.forwardRef((i,r)=>{const{asChild:o,...l}=i,u=o?a:s;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),q.jsx(u,{...l,ref:r})});return n.displayName=`Primitive.${s}`,{...e,[s]:n}},{});function lE(e,s){e&&ml.flushSync(()=>e.dispatchEvent(s))}function ha(e){const s=v.useRef(e);return v.useEffect(()=>{s.current=e}),v.useMemo(()=>(...a)=>s.current?.(...a),[])}function Y5(e,s=globalThis?.document){const a=ha(e);v.useEffect(()=>{const n=i=>{i.key==="Escape"&&a(i)};return s.addEventListener("keydown",n,{capture:!0}),()=>s.removeEventListener("keydown",n,{capture:!0})},[a,s])}var Q5="DismissableLayer",qg="dismissableLayer.update",Z5="dismissableLayer.pointerDownOutside",X5="dismissableLayer.focusOutside",vD,uE=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dl=v.forwardRef((e,s)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:r,onInteractOutside:o,onDismiss:l,...u}=e,c=v.useContext(uE),[m,d]=v.useState(null),b=m?.ownerDocument??globalThis?.document,[,f]=v.useState({}),h=ns(s,k=>d(k)),g=Array.from(c.layers),[p]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),x=g.indexOf(p),D=m?g.indexOf(m):-1,N=c.layersWithOutsidePointerEventsDisabled.size>0,C=D>=x,y=eP(k=>{const E=k.target,U=[...c.branches].some(T=>T.contains(E));!C||U||(i?.(k),o?.(k),k.defaultPrevented||l?.())},b),G=sP(k=>{const E=k.target;[...c.branches].some(T=>T.contains(E))||(r?.(k),o?.(k),k.defaultPrevented||l?.())},b);return Y5(k=>{D===c.layers.size-1&&(n?.(k),!k.defaultPrevented&&l&&(k.preventDefault(),l()))},b),v.useEffect(()=>{if(m)return a&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(vD=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(m)),c.layers.add(m),ND(),()=>{a&&c.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=vD)}},[m,b,a,c]),v.useEffect(()=>()=>{m&&(c.layers.delete(m),c.layersWithOutsidePointerEventsDisabled.delete(m),ND())},[m,c]),v.useEffect(()=>{const k=()=>f({});return document.addEventListener(qg,k),()=>document.removeEventListener(qg,k)},[]),q.jsx(Ve.div,{...u,ref:h,style:{pointerEvents:N?C?"auto":"none":void 0,...e.style},onFocusCapture:je(e.onFocusCapture,G.onFocusCapture),onBlurCapture:je(e.onBlurCapture,G.onBlurCapture),onPointerDownCapture:je(e.onPointerDownCapture,y.onPointerDownCapture)})});dl.displayName=Q5;var J5="DismissableLayerBranch",cE=v.forwardRef((e,s)=>{const a=v.useContext(uE),n=v.useRef(null),i=ns(s,n);return v.useEffect(()=>{const r=n.current;if(r)return a.branches.add(r),()=>{a.branches.delete(r)}},[a.branches]),q.jsx(Ve.div,{...e,ref:i})});cE.displayName=J5;function eP(e,s=globalThis?.document){const a=ha(e),n=v.useRef(!1),i=v.useRef(()=>{});return v.useEffect(()=>{const r=l=>{if(l.target&&!n.current){let u=function(){mE(Z5,a,c,{discrete:!0})};const c={originalEvent:l};l.pointerType==="touch"?(s.removeEventListener("click",i.current),i.current=u,s.addEventListener("click",i.current,{once:!0})):u()}else s.removeEventListener("click",i.current);n.current=!1},o=window.setTimeout(()=>{s.addEventListener("pointerdown",r)},0);return()=>{window.clearTimeout(o),s.removeEventListener("pointerdown",r),s.removeEventListener("click",i.current)}},[s,a]),{onPointerDownCapture:()=>n.current=!0}}function sP(e,s=globalThis?.document){const a=ha(e),n=v.useRef(!1);return v.useEffect(()=>{const i=r=>{r.target&&!n.current&&mE(X5,a,{originalEvent:r},{discrete:!1})};return s.addEventListener("focusin",i),()=>s.removeEventListener("focusin",i)},[s,a]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function ND(){const e=new CustomEvent(qg);document.dispatchEvent(e)}function mE(e,s,a,{discrete:n}){const i=a.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});s&&i.addEventListener(e,s,{once:!0}),n?lE(i,r):i.dispatchEvent(r)}var tP=dl,aP=cE,tt=globalThis?.document?v.useLayoutEffect:()=>{},nP="Portal",rb=v.forwardRef((e,s)=>{const{container:a,...n}=e,[i,r]=v.useState(!1);tt(()=>r(!0),[]);const o=a||i&&globalThis?.document?.body;return o?eE.createPortal(q.jsx(Ve.div,{...n,ref:s}),o):null});rb.displayName=nP;function iP(e,s){return v.useReducer((a,n)=>s[a][n]??a,e)}var nn=e=>{const{present:s,children:a}=e,n=rP(s),i=typeof a=="function"?a({present:n.isPresent}):v.Children.only(a),r=ns(n.ref,oP(i));return typeof a=="function"||n.isPresent?v.cloneElement(i,{ref:r}):null};nn.displayName="Presence";function rP(e){const[s,a]=v.useState(),n=v.useRef(null),i=v.useRef(e),r=v.useRef("none"),o=e?"mounted":"unmounted",[l,u]=iP(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const c=Fc(n.current);r.current=l==="mounted"?c:"none"},[l]),tt(()=>{const c=n.current,m=i.current;if(m!==e){const b=r.current,f=Fc(c);e?u("MOUNT"):f==="none"||c?.display==="none"?u("UNMOUNT"):u(m&&b!==f?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,u]),tt(()=>{if(s){let c;const m=s.ownerDocument.defaultView??window,d=f=>{const g=Fc(n.current).includes(f.animationName);if(f.target===s&&g&&(u("ANIMATION_END"),!i.current)){const p=s.style.animationFillMode;s.style.animationFillMode="forwards",c=m.setTimeout(()=>{s.style.animationFillMode==="forwards"&&(s.style.animationFillMode=p)})}},b=f=>{f.target===s&&(r.current=Fc(n.current))};return s.addEventListener("animationstart",b),s.addEventListener("animationcancel",d),s.addEventListener("animationend",d),()=>{m.clearTimeout(c),s.removeEventListener("animationstart",b),s.removeEventListener("animationcancel",d),s.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[s,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:v.useCallback(c=>{n.current=c?getComputedStyle(c):null,a(c)},[])}}function Fc(e){return e?.animationName||"none"}function oP(e){let s=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=s&&"isReactWarning"in s&&s.isReactWarning;return a?e.ref:(s=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=s&&"isReactWarning"in s&&s.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var lP=sE[" useInsertionEffect ".trim().toString()]||tt;function va({prop:e,defaultProp:s,onChange:a=()=>{},caller:n}){const[i,r,o]=uP({defaultProp:s,onChange:a}),l=e!==void 0,u=l?e:i;{const m=v.useRef(e!==void 0);v.useEffect(()=>{const d=m.current;d!==l&&console.warn(`${n} is changing from ${d?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=l},[l,n])}const c=v.useCallback(m=>{if(l){const d=cP(m)?m(e):m;d!==e&&o.current?.(d)}else r(m)},[l,e,r,o]);return[u,c]}function uP({defaultProp:e,onChange:s}){const[a,n]=v.useState(e),i=v.useRef(a),r=v.useRef(s);return lP(()=>{r.current=s},[s]),v.useEffect(()=>{i.current!==a&&(r.current?.(a),i.current=a)},[a,i]),[a,n,r]}function cP(e){return typeof e=="function"}var dE=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),mP="VisuallyHidden",ob=v.forwardRef((e,s)=>q.jsx(Ve.span,{...e,ref:s,style:{...dE,...e.style}}));ob.displayName=mP;var dP=ob,kv="ToastProvider",[Ev,bP,fP]=ib("Toast"),[bE,WGe]=Mt("Toast",[fP]),[gP,lb]=bE(kv),fE=e=>{const{__scopeToast:s,label:a="Notification",duration:n=5e3,swipeDirection:i="right",swipeThreshold:r=50,children:o}=e,[l,u]=v.useState(null),[c,m]=v.useState(0),d=v.useRef(!1),b=v.useRef(!1);return a.trim()||console.error(`Invalid prop \`label\` supplied to \`${kv}\`. Expected non-empty \`string\`.`),q.jsx(Ev.Provider,{scope:s,children:q.jsx(gP,{scope:s,label:a,duration:n,swipeDirection:i,swipeThreshold:r,toastCount:c,viewport:l,onViewportChange:u,onToastAdd:v.useCallback(()=>m(f=>f+1),[]),onToastRemove:v.useCallback(()=>m(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:b,children:o})})};fE.displayName=kv;var gE="ToastViewport",pP=["F8"],Wg="toast.viewportPause",zg="toast.viewportResume",pE=v.forwardRef((e,s)=>{const{__scopeToast:a,hotkey:n=pP,label:i="Notifications ({hotkey})",...r}=e,o=lb(gE,a),l=bP(a),u=v.useRef(null),c=v.useRef(null),m=v.useRef(null),d=v.useRef(null),b=ns(s,d,o.onViewportChange),f=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=o.toastCount>0;v.useEffect(()=>{const p=x=>{n.length!==0&&n.every(N=>x[N]||x.code===N)&&d.current?.focus()};return document.addEventListener("keydown",p),()=>document.removeEventListener("keydown",p)},[n]),v.useEffect(()=>{const p=u.current,x=d.current;if(h&&p&&x){const D=()=>{if(!o.isClosePausedRef.current){const G=new CustomEvent(Wg);x.dispatchEvent(G),o.isClosePausedRef.current=!0}},N=()=>{if(o.isClosePausedRef.current){const G=new CustomEvent(zg);x.dispatchEvent(G),o.isClosePausedRef.current=!1}},C=G=>{!p.contains(G.relatedTarget)&&N()},y=()=>{p.contains(document.activeElement)||N()};return p.addEventListener("focusin",D),p.addEventListener("focusout",C),p.addEventListener("pointermove",D),p.addEventListener("pointerleave",y),window.addEventListener("blur",D),window.addEventListener("focus",N),()=>{p.removeEventListener("focusin",D),p.removeEventListener("focusout",C),p.removeEventListener("pointermove",D),p.removeEventListener("pointerleave",y),window.removeEventListener("blur",D),window.removeEventListener("focus",N)}}},[h,o.isClosePausedRef]);const g=v.useCallback(({tabbingDirection:p})=>{const D=l().map(N=>{const C=N.ref.current,y=[C,...wP(C)];return p==="forwards"?y:y.reverse()});return(p==="forwards"?D.reverse():D).flat()},[l]);return v.useEffect(()=>{const p=d.current;if(p){const x=D=>{const N=D.altKey||D.ctrlKey||D.metaKey;if(D.key==="Tab"&&!N){const y=document.activeElement,G=D.shiftKey;if(D.target===p&&G){c.current?.focus();return}const U=g({tabbingDirection:G?"backwards":"forwards"}),T=U.findIndex(H=>H===y);wf(U.slice(T+1))?D.preventDefault():G?c.current?.focus():m.current?.focus()}};return p.addEventListener("keydown",x),()=>p.removeEventListener("keydown",x)}},[l,g]),q.jsxs(aP,{ref:u,role:"region","aria-label":i.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:h?void 0:"none"},children:[h&&q.jsx(Kg,{ref:c,onFocusFromOutsideViewport:()=>{const p=g({tabbingDirection:"forwards"});wf(p)}}),q.jsx(Ev.Slot,{scope:a,children:q.jsx(Ve.ol,{tabIndex:-1,...r,ref:b})}),h&&q.jsx(Kg,{ref:m,onFocusFromOutsideViewport:()=>{const p=g({tabbingDirection:"backwards"});wf(p)}})]})});pE.displayName=gE;var hE="ToastFocusProxy",Kg=v.forwardRef((e,s)=>{const{__scopeToast:a,onFocusFromOutsideViewport:n,...i}=e,r=lb(hE,a);return q.jsx(ob,{"aria-hidden":!0,tabIndex:0,...i,ref:s,style:{position:"fixed"},onFocus:o=>{const l=o.relatedTarget;!r.viewport?.contains(l)&&n()}})});Kg.displayName=hE;var Gc="Toast",hP="toast.swipeStart",vP="toast.swipeMove",NP="toast.swipeCancel",xP="toast.swipeEnd",vE=v.forwardRef((e,s)=>{const{forceMount:a,open:n,defaultOpen:i,onOpenChange:r,...o}=e,[l,u]=va({prop:n,defaultProp:i??!0,onChange:r,caller:Gc});return q.jsx(nn,{present:a||l,children:q.jsx(yP,{open:l,...o,ref:s,onClose:()=>u(!1),onPause:ha(e.onPause),onResume:ha(e.onResume),onSwipeStart:je(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:je(e.onSwipeMove,c=>{const{x:m,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${m}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:je(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:je(e.onSwipeEnd,c=>{const{x:m,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${m}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),u(!1)})})})});vE.displayName=Gc;var[DP,GP]=bE(Gc,{onClose(){}}),yP=v.forwardRef((e,s)=>{const{__scopeToast:a,type:n="foreground",duration:i,open:r,onClose:o,onEscapeKeyDown:l,onPause:u,onResume:c,onSwipeStart:m,onSwipeMove:d,onSwipeCancel:b,onSwipeEnd:f,...h}=e,g=lb(Gc,a),[p,x]=v.useState(null),D=ns(s,A=>x(A)),N=v.useRef(null),C=v.useRef(null),y=i||g.duration,G=v.useRef(0),k=v.useRef(y),E=v.useRef(0),{onToastAdd:U,onToastRemove:T}=g,H=ha(()=>{p?.contains(document.activeElement)&&g.viewport?.focus(),o()}),j=v.useCallback(A=>{!A||A===1/0||(window.clearTimeout(E.current),G.current=new Date().getTime(),E.current=window.setTimeout(H,A))},[H]);v.useEffect(()=>{const A=g.viewport;if(A){const P=()=>{j(k.current),c?.()},V=()=>{const _=new Date().getTime()-G.current;k.current=k.current-_,window.clearTimeout(E.current),u?.()};return A.addEventListener(Wg,V),A.addEventListener(zg,P),()=>{A.removeEventListener(Wg,V),A.removeEventListener(zg,P)}}},[g.viewport,y,u,c,j]),v.useEffect(()=>{r&&!g.isClosePausedRef.current&&j(y)},[r,y,g.isClosePausedRef,j]),v.useEffect(()=>(U(),()=>T()),[U,T]);const w=v.useMemo(()=>p?kE(p):null,[p]);return g.viewport?q.jsxs(q.Fragment,{children:[w&&q.jsx(CP,{__scopeToast:a,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0,children:w}),q.jsx(DP,{scope:a,onClose:H,children:ml.createPortal(q.jsx(Ev.ItemSlot,{scope:a,children:q.jsx(tP,{asChild:!0,onEscapeKeyDown:je(l,()=>{g.isFocusedToastEscapeKeyDownRef.current||H(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:q.jsx(Ve.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":r?"open":"closed","data-swipe-direction":g.swipeDirection,...h,ref:D,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:je(e.onKeyDown,A=>{A.key==="Escape"&&(l?.(A.nativeEvent),A.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,H()))}),onPointerDown:je(e.onPointerDown,A=>{A.button===0&&(N.current={x:A.clientX,y:A.clientY})}),onPointerMove:je(e.onPointerMove,A=>{if(!N.current)return;const P=A.clientX-N.current.x,V=A.clientY-N.current.y,_=!!C.current,O=["left","right"].includes(g.swipeDirection),$=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,Q=O?$(0,P):0,ne=O?0:$(0,V),Z=A.pointerType==="touch"?10:2,ee={x:Q,y:ne},ge={originalEvent:A,delta:ee};_?(C.current=ee,Bc(vP,d,ge,{discrete:!1})):xD(ee,g.swipeDirection,Z)?(C.current=ee,Bc(hP,m,ge,{discrete:!1}),A.target.setPointerCapture(A.pointerId)):(Math.abs(P)>Z||Math.abs(V)>Z)&&(N.current=null)}),onPointerUp:je(e.onPointerUp,A=>{const P=C.current,V=A.target;if(V.hasPointerCapture(A.pointerId)&&V.releasePointerCapture(A.pointerId),C.current=null,N.current=null,P){const _=A.currentTarget,O={originalEvent:A,delta:P};xD(P,g.swipeDirection,g.swipeThreshold)?Bc(xP,f,O,{discrete:!0}):Bc(NP,b,O,{discrete:!0}),_.addEventListener("click",$=>$.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),CP=e=>{const{__scopeToast:s,children:a,...n}=e,i=lb(Gc,s),[r,o]=v.useState(!1),[l,u]=v.useState(!1);return LP(()=>o(!0)),v.useEffect(()=>{const c=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(c)},[]),l?null:q.jsx(rb,{asChild:!0,children:q.jsx(ob,{...n,children:r&&q.jsxs(q.Fragment,{children:[i.label," ",a]})})})},kP="ToastTitle",NE=v.forwardRef((e,s)=>{const{__scopeToast:a,...n}=e;return q.jsx(Ve.div,{...n,ref:s})});NE.displayName=kP;var EP="ToastDescription",xE=v.forwardRef((e,s)=>{const{__scopeToast:a,...n}=e;return q.jsx(Ve.div,{...n,ref:s})});xE.displayName=EP;var DE="ToastAction",GE=v.forwardRef((e,s)=>{const{altText:a,...n}=e;return a.trim()?q.jsx(CE,{altText:a,asChild:!0,children:q.jsx(Lv,{...n,ref:s})}):(console.error(`Invalid prop \`altText\` supplied to \`${DE}\`. Expected non-empty \`string\`.`),null)});GE.displayName=DE;var yE="ToastClose",Lv=v.forwardRef((e,s)=>{const{__scopeToast:a,...n}=e,i=GP(yE,a);return q.jsx(CE,{asChild:!0,children:q.jsx(Ve.button,{type:"button",...n,ref:s,onClick:je(e.onClick,i.onClose)})})});Lv.displayName=yE;var CE=v.forwardRef((e,s)=>{const{__scopeToast:a,altText:n,...i}=e;return q.jsx(Ve.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0,...i,ref:s})});function kE(e){const s=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&s.push(n.textContent),jP(n)){const i=n.ariaHidden||n.hidden||n.style.display==="none",r=n.dataset.radixToastAnnounceExclude==="";if(!i)if(r){const o=n.dataset.radixToastAnnounceAlt;o&&s.push(o)}else s.push(...kE(n))}}),s}function Bc(e,s,a,{discrete:n}){const i=a.originalEvent.currentTarget,r=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:a});s&&i.addEventListener(e,s,{once:!0}),n?lE(i,r):i.dispatchEvent(r)}var xD=(e,s,a=0)=>{const n=Math.abs(e.x),i=Math.abs(e.y),r=n>i;return s==="left"||s==="right"?r&&n>a:!r&&i>a};function LP(e=()=>{}){const s=ha(e);tt(()=>{let a=0,n=0;return a=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(s)),()=>{window.cancelAnimationFrame(a),window.cancelAnimationFrame(n)}},[s])}function jP(e){return e.nodeType===e.ELEMENT_NODE}function wP(e){const s=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)s.push(a.currentNode);return s}function wf(e){const s=document.activeElement;return e.some(a=>a===s?!0:(a.focus(),document.activeElement!==s))}var UP=fE,EE=pE,LE=vE,jE=NE,wE=xE,UE=GE,HE=Lv;function VE(e){var s,a,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(s=0;s<i;s++)e[s]&&(a=VE(e[s]))&&(n&&(n+=" "),n+=a)}else for(a in e)e[a]&&(n&&(n+=" "),n+=a);return n}function es(){for(var e,s,a=0,n="",i=arguments.length;a<i;a++)(e=arguments[a])&&(s=VE(e))&&(n&&(n+=" "),n+=s);return n}const DD=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,GD=es,rn=(e,s)=>a=>{var n;if(s?.variants==null)return GD(e,a?.class,a?.className);const{variants:i,defaultVariants:r}=s,o=Object.keys(i).map(c=>{const m=a?.[c],d=r?.[c];if(m===null)return null;const b=DD(m)||DD(d);return i[c][b]}),l=a&&Object.entries(a).reduce((c,m)=>{let[d,b]=m;return b===void 0||(c[d]=b),c},{}),u=s==null||(n=s.compoundVariants)===null||n===void 0?void 0:n.reduce((c,m)=>{let{class:d,className:b,...f}=m;return Object.entries(f).every(h=>{let[g,p]=h;return Array.isArray(p)?p.includes({...r,...l}[g]):{...r,...l}[g]===p})?[...c,d,b]:c},[]);return GD(e,o,u,a?.class,a?.className)};/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const HP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),PE=(...e)=>e.filter((s,a,n)=>!!s&&s.trim()!==""&&n.indexOf(s)===a).join(" ").trim();/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var VP={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const PP=v.forwardRef(({color:e="currentColor",size:s=24,strokeWidth:a=2,absoluteStrokeWidth:n,className:i="",children:r,iconNode:o,...l},u)=>v.createElement("svg",{ref:u,...VP,width:s,height:s,stroke:e,strokeWidth:n?Number(a)*24/Number(s):a,className:PE("lucide",i),...l},[...o.map(([c,m])=>v.createElement(c,m)),...Array.isArray(r)?r:[r]]));/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ue=(e,s)=>{const a=v.forwardRef(({className:n,...i},r)=>v.createElement(PP,{ref:r,iconNode:s,className:PE(`lucide-${HP(e)}`,n),...i}));return a.displayName=`${e}`,a};/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Yg=ue("ArrowDownLeft",[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Nr=ue("ArrowDownRight",[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Nn=ue("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const AP=ue("ArrowRightLeft",[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _e=ue("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Sa=ue("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ub=ue("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Pr=ue("Banknote",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ho=ue("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const SP=ue("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ta=ue("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jt=ue("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Vo=ue("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Se=ue("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jv=ue("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Po=ue("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yu=ue("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const TP=ue("ChartLine",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const br=ue("ChartPie",[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const AE=ue("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const cb=ue("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _P=ue("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const SE=ue("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const RP=ue("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ut=ue("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const js=ue("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ls=ue("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Cu=ue("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const MP=ue("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ao=ue("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const OP=ue("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const IP=ue("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ar=ue("ClipboardList",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xa=ue("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Sr=ue("Coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qc=ue("Command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xr=ue("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const as=ue("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $P=ue("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Xs=ue("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Wc=ue("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const wv=ue("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yD=ue("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const FP=ue("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dr=ue("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const BP=ue("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const CD=ue("FileDown",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ot=ue("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const TE=ue("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Vn=ue("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qP=ue("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const WP=ue("Grid3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const bl=ue("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Uv=ue("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Rt=ue("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _E=ue("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zP=ue("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const fl=ue("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const gl=ue("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xn=ue("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const KP=ue("LockOpen",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Jn=ue("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const YP=ue("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Qg=ue("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ra=ue("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const iu=ue("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const RE=ue("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ss=ue("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const QP=ue("MessagesSquare",[["path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z",key:"p1xzt8"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1",key:"1cx29u"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ZP=ue("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const XP=ue("Pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);/**
 * @license lucide-react v0.462.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=ue("Percent",[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ss=ue("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Da=ue("PiggyBank",[["path",{d:"M19 5c-1.5 0-2.8 1.4-3 2-3.5-1.5-11-.3-11 5 0 1.8 0 3 2 4.5V20h4v-2h3v2h4v-4c1-.5 1.7-1 2-2h2v-4h-2c0-1-.5-1.5-1-2V5z",key:"1ivx2i"}],["path",{d:"M2 9v1c0 1.1.9 2 2 2h1",key:"nm575m"}],["path",{d:"M16 11h.01",key:"xkw8gn"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ME=ue("Plane",[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nt=ue("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Zg=ue("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const JP=ue("Printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ku=ue("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const eA=ue("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/**
 * @license lucide-react v0.462.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=ue("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const OE=ue("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yc=ue("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mt=ue("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zs=ue("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ft=ue("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sA=ue("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Tr=ue("Sprout",[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Cc=ue("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const tA=ue("Stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const wt=ue("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const aA=ue("Tractor",[["path",{d:"m10 11 11 .9a1 1 0 0 1 .8 1.1l-.665 4.158a1 1 0 0 1-.988.842H20",key:"she1j9"}],["path",{d:"M16 18h-5",key:"bq60fd"}],["path",{d:"M18 5a1 1 0 0 0-1 1v5.573",key:"1kv8ia"}],["path",{d:"M3 4h8.129a1 1 0 0 1 .99.863L13 11.246",key:"1q1ert"}],["path",{d:"M4 11V4",key:"9ft8pt"}],["path",{d:"M7 15h.01",key:"k5ht0j"}],["path",{d:"M8 10.1V4",key:"1jgyzo"}],["circle",{cx:"18",cy:"18",r:"2",key:"1emm8v"}],["circle",{cx:"7",cy:"15",r:"5",key:"ddtuc"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Kn=ue("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ke=ue("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nA=ue("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const kD=ue("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const IE=ue("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $E=ue("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const iA=ue("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const rA=ue("UserX",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Za=ue("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Cs=ue("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Gr=ue("Wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const FE=ue("Wheat",[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mb=ue("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Cn=ue("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Hv="-",oA=e=>{const s=uA(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:o=>{const l=o.split(Hv);return l[0]===""&&l.length!==1&&l.shift(),BE(l,s)||lA(o)},getConflictingClassGroupIds:(o,l)=>{const u=a[o]||[];return l&&n[o]?[...u,...n[o]]:u}}},BE=(e,s)=>{if(e.length===0)return s.classGroupId;const a=e[0],n=s.nextPart.get(a),i=n?BE(e.slice(1),n):void 0;if(i)return i;if(s.validators.length===0)return;const r=e.join(Hv);return s.validators.find(({validator:o})=>o(r))?.classGroupId},ED=/^\[(.+)\]$/,lA=e=>{if(ED.test(e)){const s=ED.exec(e)[1],a=s?.substring(0,s.indexOf(":"));if(a)return"arbitrary.."+a}},uA=e=>{const{theme:s,prefix:a}=e,n={nextPart:new Map,validators:[]};return mA(Object.entries(e.classGroups),a).forEach(([r,o])=>{Xg(o,n,r,s)}),n},Xg=(e,s,a,n)=>{e.forEach(i=>{if(typeof i=="string"){const r=i===""?s:LD(s,i);r.classGroupId=a;return}if(typeof i=="function"){if(cA(i)){Xg(i(n),s,a,n);return}s.validators.push({validator:i,classGroupId:a});return}Object.entries(i).forEach(([r,o])=>{Xg(o,LD(s,r),a,n)})})},LD=(e,s)=>{let a=e;return s.split(Hv).forEach(n=>{a.nextPart.has(n)||a.nextPart.set(n,{nextPart:new Map,validators:[]}),a=a.nextPart.get(n)}),a},cA=e=>e.isThemeGetter,mA=(e,s)=>s?e.map(([a,n])=>{const i=n.map(r=>typeof r=="string"?s+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([o,l])=>[s+o,l])):r);return[a,i]}):e,dA=e=>{if(e<1)return{get:()=>{},set:()=>{}};let s=0,a=new Map,n=new Map;const i=(r,o)=>{a.set(r,o),s++,s>e&&(s=0,n=a,a=new Map)};return{get(r){let o=a.get(r);if(o!==void 0)return o;if((o=n.get(r))!==void 0)return i(r,o),o},set(r,o){a.has(r)?a.set(r,o):i(r,o)}}},qE="!",bA=e=>{const{separator:s,experimentalParseClassName:a}=e,n=s.length===1,i=s[0],r=s.length,o=l=>{const u=[];let c=0,m=0,d;for(let p=0;p<l.length;p++){let x=l[p];if(c===0){if(x===i&&(n||l.slice(p,p+r)===s)){u.push(l.slice(m,p)),m=p+r;continue}if(x==="/"){d=p;continue}}x==="["?c++:x==="]"&&c--}const b=u.length===0?l:l.substring(m),f=b.startsWith(qE),h=f?b.substring(1):b,g=d&&d>m?d-m:void 0;return{modifiers:u,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:g}};return a?l=>a({className:l,parseClassName:o}):o},fA=e=>{if(e.length<=1)return e;const s=[];let a=[];return e.forEach(n=>{n[0]==="["?(s.push(...a.sort(),n),a=[]):a.push(n)}),s.push(...a.sort()),s},gA=e=>({cache:dA(e.cacheSize),parseClassName:bA(e),...oA(e)}),pA=/\s+/,hA=(e,s)=>{const{parseClassName:a,getClassGroupId:n,getConflictingClassGroupIds:i}=s,r=[],o=e.trim().split(pA);let l="";for(let u=o.length-1;u>=0;u-=1){const c=o[u],{modifiers:m,hasImportantModifier:d,baseClassName:b,maybePostfixModifierPosition:f}=a(c);let h=!!f,g=n(h?b.substring(0,f):b);if(!g){if(!h){l=c+(l.length>0?" "+l:l);continue}if(g=n(b),!g){l=c+(l.length>0?" "+l:l);continue}h=!1}const p=fA(m).join(":"),x=d?p+qE:p,D=x+g;if(r.includes(D))continue;r.push(D);const N=i(g,h);for(let C=0;C<N.length;++C){const y=N[C];r.push(x+y)}l=c+(l.length>0?" "+l:l)}return l};function vA(){let e=0,s,a,n="";for(;e<arguments.length;)(s=arguments[e++])&&(a=WE(s))&&(n&&(n+=" "),n+=a);return n}const WE=e=>{if(typeof e=="string")return e;let s,a="";for(let n=0;n<e.length;n++)e[n]&&(s=WE(e[n]))&&(a&&(a+=" "),a+=s);return a};function NA(e,...s){let a,n,i,r=o;function o(u){const c=s.reduce((m,d)=>d(m),e());return a=gA(c),n=a.cache.get,i=a.cache.set,r=l,l(u)}function l(u){const c=n(u);if(c)return c;const m=hA(u,a);return i(u,m),m}return function(){return r(vA.apply(null,arguments))}}const Us=e=>{const s=a=>a[e]||[];return s.isThemeGetter=!0,s},zE=/^\[(?:([a-z-]+):)?(.+)\]$/i,xA=/^\d+\/\d+$/,DA=new Set(["px","full","screen"]),GA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yA=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,CA=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,kA=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,EA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_n=e=>Do(e)||DA.has(e)||xA.test(e),bi=e=>vl(e,"length",AA),Do=e=>!!e&&!Number.isNaN(Number(e)),Uf=e=>vl(e,"number",Do),ql=e=>!!e&&Number.isInteger(Number(e)),LA=e=>e.endsWith("%")&&Do(e.slice(0,-1)),We=e=>zE.test(e),fi=e=>GA.test(e),jA=new Set(["length","size","percentage"]),wA=e=>vl(e,jA,KE),UA=e=>vl(e,"position",KE),HA=new Set(["image","url"]),VA=e=>vl(e,HA,TA),PA=e=>vl(e,"",SA),Wl=()=>!0,vl=(e,s,a)=>{const n=zE.exec(e);return n?n[1]?typeof s=="string"?n[1]===s:s.has(n[1]):a(n[2]):!1},AA=e=>yA.test(e)&&!CA.test(e),KE=()=>!1,SA=e=>kA.test(e),TA=e=>EA.test(e),_A=()=>{const e=Us("colors"),s=Us("spacing"),a=Us("blur"),n=Us("brightness"),i=Us("borderColor"),r=Us("borderRadius"),o=Us("borderSpacing"),l=Us("borderWidth"),u=Us("contrast"),c=Us("grayscale"),m=Us("hueRotate"),d=Us("invert"),b=Us("gap"),f=Us("gradientColorStops"),h=Us("gradientColorStopPositions"),g=Us("inset"),p=Us("margin"),x=Us("opacity"),D=Us("padding"),N=Us("saturate"),C=Us("scale"),y=Us("sepia"),G=Us("skew"),k=Us("space"),E=Us("translate"),U=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",We,s],j=()=>[We,s],w=()=>["",_n,bi],A=()=>["auto",Do,We],P=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],_=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],$=()=>["","0",We],Q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ne=()=>[Do,We];return{cacheSize:500,separator:":",theme:{colors:[Wl],spacing:[_n,bi],blur:["none","",fi,We],brightness:ne(),borderColor:[e],borderRadius:["none","","full",fi,We],borderSpacing:j(),borderWidth:w(),contrast:ne(),grayscale:$(),hueRotate:ne(),invert:$(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[LA,bi],inset:H(),margin:H(),opacity:ne(),padding:j(),saturate:ne(),scale:ne(),sepia:$(),skew:ne(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",We]}],container:["container"],columns:[{columns:[fi]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...P(),We]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ql,We]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",We]}],grow:[{grow:$()}],shrink:[{shrink:$()}],order:[{order:["first","last","none",ql,We]}],"grid-cols":[{"grid-cols":[Wl]}],"col-start-end":[{col:["auto",{span:["full",ql,We]},We]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Wl]}],"row-start-end":[{row:["auto",{span:[ql,We]},We]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",We]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",We]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[D]}],px:[{px:[D]}],py:[{py:[D]}],ps:[{ps:[D]}],pe:[{pe:[D]}],pt:[{pt:[D]}],pr:[{pr:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",We,s]}],"min-w":[{"min-w":[We,s,"min","max","fit"]}],"max-w":[{"max-w":[We,s,"none","full","min","max","fit","prose",{screen:[fi]},fi]}],h:[{h:[We,s,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[We,s,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[We,s,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[We,s,"auto","min","max","fit"]}],"font-size":[{text:["base",fi,bi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Uf]}],"font-family":[{font:[Wl]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",We]}],"line-clamp":[{"line-clamp":["none",Do,Uf]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_n,We]}],"list-image":[{"list-image":["none",We]}],"list-style-type":[{list:["none","disc","decimal",We]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_n,bi]}],"underline-offset":[{"underline-offset":["auto",_n,We]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",We]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",We]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...P(),UA]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wA]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},VA]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:V()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[_n,We]}],"outline-w":[{outline:[_n,bi]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:w()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[_n,bi]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",fi,PA]}],"shadow-color":[{shadow:[Wl]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[..._(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":_()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",fi,We]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[d]}],saturate:[{saturate:[N]}],sepia:[{sepia:[y]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[N]}],"backdrop-sepia":[{"backdrop-sepia":[y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",We]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",We]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",We]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[ql,We]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[G]}],"skew-y":[{"skew-y":[G]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",We]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",We]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",We]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_n,bi,Uf]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},RA=NA(_A);function me(...e){return RA(es(e))}const MA=UP,YE=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(EE,{ref:a,className:me("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toast.tsx",lineNumber:14,columnNumber:3},void 0));YE.displayName=EE.displayName;const OA=rn("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),QE=v.forwardRef(({className:e,variant:s,...a},n)=>t.jsxDEV(LE,{ref:n,className:me(OA({variant:s}),e),...a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toast.tsx",lineNumber:44,columnNumber:10},void 0));QE.displayName=LE.displayName;const IA=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(UE,{ref:a,className:me("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toast.tsx",lineNumber:52,columnNumber:3},void 0));IA.displayName=UE.displayName;const ZE=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(HE,{ref:a,className:me("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...s,children:t.jsxDEV(mb,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toast.tsx",lineNumber:76,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toast.tsx",lineNumber:67,columnNumber:3},void 0));ZE.displayName=HE.displayName;const XE=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(jE,{ref:a,className:me("text-sm font-semibold",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toast.tsx",lineNumber:85,columnNumber:3},void 0));XE.displayName=jE.displayName;const JE=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(wE,{ref:a,className:me("text-sm opacity-90",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toast.tsx",lineNumber:93,columnNumber:3},void 0));JE.displayName=wE.displayName;function $A(){const{toasts:e}=M5();return t.jsxDEV(MA,{children:[e.map(function({id:s,title:a,description:n,action:i,...r}){return t.jsxDEV(QE,{...r,children:[t.jsxDEV("div",{className:"grid gap-1",children:[a&&t.jsxDEV(XE,{children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toaster.tsx",lineNumber:13,columnNumber:25},this),n&&t.jsxDEV(JE,{children:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toaster.tsx",lineNumber:14,columnNumber:31},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toaster.tsx",lineNumber:12,columnNumber:13},this),i,t.jsxDEV(ZE,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toaster.tsx",lineNumber:17,columnNumber:13},this)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toaster.tsx",lineNumber:11,columnNumber:11},this)}),t.jsxDEV(YE,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toaster.tsx",lineNumber:21,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/toaster.tsx",lineNumber:8,columnNumber:5},this)}var jD=["light","dark"],FA="(prefers-color-scheme: dark)",BA=v.createContext(void 0),qA={setTheme:e=>{},themes:[]},WA=()=>{var e;return(e=v.useContext(BA))!=null?e:qA};v.memo(({forcedTheme:e,storageKey:s,attribute:a,enableSystem:n,enableColorScheme:i,defaultTheme:r,value:o,attrs:l,nonce:u})=>{let c=r==="system",m=a==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(h=>`'${h}'`).join(",")})`};`:`var d=document.documentElement,n='${a}',s='setAttribute';`,d=i?jD.includes(r)&&r?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${r}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",b=(h,g=!1,p=!0)=>{let x=o?o[h]:h,D=g?h+"|| ''":`'${x}'`,N="";return i&&p&&!g&&jD.includes(h)&&(N+=`d.style.colorScheme = '${h}';`),a==="class"?g||x?N+=`c.add(${D})`:N+="null":x&&(N+=`d[s](n,${D})`),N},f=e?`!function(){${m}${b(e)}}()`:n?`!function(){try{${m}var e=localStorage.getItem('${s}');if('system'===e||(!e&&${c})){var t='${FA}',m=window.matchMedia(t);if(m.media!==t||m.matches){${b("dark")}}else{${b("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${b(o?"x[e]":"e",!0)}}${c?"":"else{"+b(r,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${m}var e=localStorage.getItem('${s}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${b(o?"x[e]":"e",!0)}}else{${b(r,!1,!1)};}${d}}catch(t){}}();`;return v.createElement("script",{nonce:u,dangerouslySetInnerHTML:{__html:f}})});var zA=e=>{switch(e){case"success":return QA;case"info":return XA;case"warning":return ZA;case"error":return JA;default:return null}},KA=Array(12).fill(0),YA=({visible:e,className:s})=>S.createElement("div",{className:["sonner-loading-wrapper",s].filter(Boolean).join(" "),"data-visible":e},S.createElement("div",{className:"sonner-spinner"},KA.map((a,n)=>S.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),QA=S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},S.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),ZA=S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},S.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),XA=S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},S.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),JA=S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},S.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),eS=S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},S.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),S.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),sS=()=>{let[e,s]=S.useState(document.hidden);return S.useEffect(()=>{let a=()=>{s(document.hidden)};return document.addEventListener("visibilitychange",a),()=>window.removeEventListener("visibilitychange",a)},[]),e},Jg=1,tS=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let s=this.subscribers.indexOf(e);this.subscribers.splice(s,1)}),this.publish=e=>{this.subscribers.forEach(s=>s(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var s;let{message:a,...n}=e,i=typeof e?.id=="number"||((s=e.id)==null?void 0:s.length)>0?e.id:Jg++,r=this.toasts.find(l=>l.id===i),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),r?this.toasts=this.toasts.map(l=>l.id===i?(this.publish({...l,...e,id:i,title:a}),{...l,...e,id:i,dismissible:o,title:a}):l):this.addToast({title:a,...n,dismissible:o,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(s=>{this.subscribers.forEach(a=>a({id:s.id,dismiss:!0}))}),this.subscribers.forEach(s=>s({id:e,dismiss:!0})),e),this.message=(e,s)=>this.create({...s,message:e}),this.error=(e,s)=>this.create({...s,message:e,type:"error"}),this.success=(e,s)=>this.create({...s,type:"success",message:e}),this.info=(e,s)=>this.create({...s,type:"info",message:e}),this.warning=(e,s)=>this.create({...s,type:"warning",message:e}),this.loading=(e,s)=>this.create({...s,type:"loading",message:e}),this.promise=(e,s)=>{if(!s)return;let a;s.loading!==void 0&&(a=this.create({...s,promise:e,type:"loading",message:s.loading,description:typeof s.description!="function"?s.description:void 0}));let n=e instanceof Promise?e:e(),i=a!==void 0,r,o=n.then(async u=>{if(r=["resolve",u],S.isValidElement(u))i=!1,this.create({id:a,type:"default",message:u});else if(nS(u)&&!u.ok){i=!1;let c=typeof s.error=="function"?await s.error(`HTTP error! status: ${u.status}`):s.error,m=typeof s.description=="function"?await s.description(`HTTP error! status: ${u.status}`):s.description;this.create({id:a,type:"error",message:c,description:m})}else if(s.success!==void 0){i=!1;let c=typeof s.success=="function"?await s.success(u):s.success,m=typeof s.description=="function"?await s.description(u):s.description;this.create({id:a,type:"success",message:c,description:m})}}).catch(async u=>{if(r=["reject",u],s.error!==void 0){i=!1;let c=typeof s.error=="function"?await s.error(u):s.error,m=typeof s.description=="function"?await s.description(u):s.description;this.create({id:a,type:"error",message:c,description:m})}}).finally(()=>{var u;i&&(this.dismiss(a),a=void 0),(u=s.finally)==null||u.call(s)}),l=()=>new Promise((u,c)=>o.then(()=>r[0]==="reject"?c(r[1]):u(r[1])).catch(c));return typeof a!="string"&&typeof a!="number"?{unwrap:l}:Object.assign(a,{unwrap:l})},this.custom=(e,s)=>{let a=s?.id||Jg++;return this.create({jsx:e(a),id:a,...s}),a},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Yt=new tS,aS=(e,s)=>{let a=s?.id||Jg++;return Yt.addToast({title:e,...s,id:a}),a},nS=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",iS=aS,rS=()=>Yt.toasts,oS=()=>Yt.getActiveToasts(),rs=Object.assign(iS,{success:Yt.success,info:Yt.info,warning:Yt.warning,error:Yt.error,custom:Yt.custom,message:Yt.message,promise:Yt.promise,dismiss:Yt.dismiss,loading:Yt.loading},{getHistory:rS,getToasts:oS});function lS(e,{insertAt:s}={}){if(typeof document>"u")return;let a=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",s==="top"&&a.firstChild?a.insertBefore(n,a.firstChild):a.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}lS(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
`);function zc(e){return e.label!==void 0}var uS=3,cS="32px",mS="16px",wD=4e3,dS=356,bS=14,fS=20,gS=200;function Ia(...e){return e.filter(Boolean).join(" ")}function pS(e){let[s,a]=e.split("-"),n=[];return s&&n.push(s),a&&n.push(a),n}var hS=e=>{var s,a,n,i,r,o,l,u,c,m,d;let{invert:b,toast:f,unstyled:h,interacting:g,setHeights:p,visibleToasts:x,heights:D,index:N,toasts:C,expanded:y,removeToast:G,defaultRichColors:k,closeButton:E,style:U,cancelButtonStyle:T,actionButtonStyle:H,className:j="",descriptionClassName:w="",duration:A,position:P,gap:V,loadingIcon:_,expandByDefault:O,classNames:$,icons:Q,closeButtonAriaLabel:ne="Close toast",pauseWhenPageIsHidden:Z}=e,[ee,ge]=S.useState(null),[xe,le]=S.useState(null),[se,be]=S.useState(!1),[te,ce]=S.useState(!1),[he,R]=S.useState(!1),[ve,J]=S.useState(!1),[ke,Ue]=S.useState(!1),[Ye,cs]=S.useState(0),[Ds,Wt]=S.useState(0),dt=S.useRef(f.duration||A||wD),Ks=S.useRef(null),vt=S.useRef(null),Ga=N===0,zt=N+1<=x,Fs=f.type,_s=f.dismissible!==!1,Br=f.className||"",cn=f.descriptionClassName||"",ya=S.useMemo(()=>D.findIndex(Fe=>Fe.toastId===f.id)||0,[D,f.id]),Sn=S.useMemo(()=>{var Fe;return(Fe=f.closeButton)!=null?Fe:E},[f.closeButton,E]),qr=S.useMemo(()=>f.duration||A||wD,[f.duration,A]),Wi=S.useRef(0),mn=S.useRef(0),Wr=S.useRef(0),dn=S.useRef(null),[Fl,Bl]=P.split("-"),bn=S.useMemo(()=>D.reduce((Fe,ts,ps)=>ps>=ya?Fe:Fe+ts.height,0),[D,ya]),di=sS(),It=f.invert||b,Ma=Fs==="loading";mn.current=S.useMemo(()=>ya*V+bn,[ya,bn]),S.useEffect(()=>{dt.current=qr},[qr]),S.useEffect(()=>{be(!0)},[]),S.useEffect(()=>{let Fe=vt.current;if(Fe){let ts=Fe.getBoundingClientRect().height;return Wt(ts),p(ps=>[{toastId:f.id,height:ts,position:f.position},...ps]),()=>p(ps=>ps.filter(Gt=>Gt.toastId!==f.id))}},[p,f.id]),S.useLayoutEffect(()=>{if(!se)return;let Fe=vt.current,ts=Fe.style.height;Fe.style.height="auto";let ps=Fe.getBoundingClientRect().height;Fe.style.height=ts,Wt(ps),p(Gt=>Gt.find(yt=>yt.toastId===f.id)?Gt.map(yt=>yt.toastId===f.id?{...yt,height:ps}:yt):[{toastId:f.id,height:ps,position:f.position},...Gt])},[se,f.title,f.description,p,f.id]);let Ut=S.useCallback(()=>{ce(!0),cs(mn.current),p(Fe=>Fe.filter(ts=>ts.toastId!==f.id)),setTimeout(()=>{G(f)},gS)},[f,G,p,mn]);S.useEffect(()=>{if(f.promise&&Fs==="loading"||f.duration===1/0||f.type==="loading")return;let Fe;return y||g||Z&&di?(()=>{if(Wr.current<Wi.current){let ts=new Date().getTime()-Wi.current;dt.current=dt.current-ts}Wr.current=new Date().getTime()})():dt.current!==1/0&&(Wi.current=new Date().getTime(),Fe=setTimeout(()=>{var ts;(ts=f.onAutoClose)==null||ts.call(f,f),Ut()},dt.current)),()=>clearTimeout(Fe)},[y,g,f,Fs,Z,di,Ut]),S.useEffect(()=>{f.delete&&Ut()},[Ut,f.delete]);function zi(){var Fe,ts,ps;return Q!=null&&Q.loading?S.createElement("div",{className:Ia($?.loader,(Fe=f?.classNames)==null?void 0:Fe.loader,"sonner-loader"),"data-visible":Fs==="loading"},Q.loading):_?S.createElement("div",{className:Ia($?.loader,(ts=f?.classNames)==null?void 0:ts.loader,"sonner-loader"),"data-visible":Fs==="loading"},_):S.createElement(YA,{className:Ia($?.loader,(ps=f?.classNames)==null?void 0:ps.loader),visible:Fs==="loading"})}return S.createElement("li",{tabIndex:0,ref:vt,className:Ia(j,Br,$?.toast,(s=f?.classNames)==null?void 0:s.toast,$?.default,$?.[Fs],(a=f?.classNames)==null?void 0:a[Fs]),"data-sonner-toast":"","data-rich-colors":(n=f.richColors)!=null?n:k,"data-styled":!(f.jsx||f.unstyled||h),"data-mounted":se,"data-promise":!!f.promise,"data-swiped":ke,"data-removed":te,"data-visible":zt,"data-y-position":Fl,"data-x-position":Bl,"data-index":N,"data-front":Ga,"data-swiping":he,"data-dismissible":_s,"data-type":Fs,"data-invert":It,"data-swipe-out":ve,"data-swipe-direction":xe,"data-expanded":!!(y||O&&se),style:{"--index":N,"--toasts-before":N,"--z-index":C.length-N,"--offset":`${te?Ye:mn.current}px`,"--initial-height":O?"auto":`${Ds}px`,...U,...f.style},onDragEnd:()=>{R(!1),ge(null),dn.current=null},onPointerDown:Fe=>{Ma||!_s||(Ks.current=new Date,cs(mn.current),Fe.target.setPointerCapture(Fe.pointerId),Fe.target.tagName!=="BUTTON"&&(R(!0),dn.current={x:Fe.clientX,y:Fe.clientY}))},onPointerUp:()=>{var Fe,ts,ps,Gt;if(ve||!_s)return;dn.current=null;let yt=Number(((Fe=vt.current)==null?void 0:Fe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ca=Number(((ts=vt.current)==null?void 0:ts.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Oa=new Date().getTime()-((ps=Ks.current)==null?void 0:ps.getTime()),Ct=ee==="x"?yt:Ca,la=Math.abs(Ct)/Oa;if(Math.abs(Ct)>=fS||la>.11){cs(mn.current),(Gt=f.onDismiss)==null||Gt.call(f,f),le(ee==="x"?yt>0?"right":"left":Ca>0?"down":"up"),Ut(),J(!0),Ue(!1);return}R(!1),ge(null)},onPointerMove:Fe=>{var ts,ps,Gt,yt;if(!dn.current||!_s||((ts=window.getSelection())==null?void 0:ts.toString().length)>0)return;let Ca=Fe.clientY-dn.current.y,Oa=Fe.clientX-dn.current.x,Ct=(ps=e.swipeDirections)!=null?ps:pS(P);!ee&&(Math.abs(Oa)>1||Math.abs(Ca)>1)&&ge(Math.abs(Oa)>Math.abs(Ca)?"x":"y");let la={x:0,y:0};ee==="y"?(Ct.includes("top")||Ct.includes("bottom"))&&(Ct.includes("top")&&Ca<0||Ct.includes("bottom")&&Ca>0)&&(la.y=Ca):ee==="x"&&(Ct.includes("left")||Ct.includes("right"))&&(Ct.includes("left")&&Oa<0||Ct.includes("right")&&Oa>0)&&(la.x=Oa),(Math.abs(la.x)>0||Math.abs(la.y)>0)&&Ue(!0),(Gt=vt.current)==null||Gt.style.setProperty("--swipe-amount-x",`${la.x}px`),(yt=vt.current)==null||yt.style.setProperty("--swipe-amount-y",`${la.y}px`)}},Sn&&!f.jsx?S.createElement("button",{"aria-label":ne,"data-disabled":Ma,"data-close-button":!0,onClick:Ma||!_s?()=>{}:()=>{var Fe;Ut(),(Fe=f.onDismiss)==null||Fe.call(f,f)},className:Ia($?.closeButton,(i=f?.classNames)==null?void 0:i.closeButton)},(r=Q?.close)!=null?r:eS):null,f.jsx||v.isValidElement(f.title)?f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title:S.createElement(S.Fragment,null,Fs||f.icon||f.promise?S.createElement("div",{"data-icon":"",className:Ia($?.icon,(o=f?.classNames)==null?void 0:o.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||zi():null,f.type!=="loading"?f.icon||Q?.[Fs]||zA(Fs):null):null,S.createElement("div",{"data-content":"",className:Ia($?.content,(l=f?.classNames)==null?void 0:l.content)},S.createElement("div",{"data-title":"",className:Ia($?.title,(u=f?.classNames)==null?void 0:u.title)},typeof f.title=="function"?f.title():f.title),f.description?S.createElement("div",{"data-description":"",className:Ia(w,cn,$?.description,(c=f?.classNames)==null?void 0:c.description)},typeof f.description=="function"?f.description():f.description):null),v.isValidElement(f.cancel)?f.cancel:f.cancel&&zc(f.cancel)?S.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||T,onClick:Fe=>{var ts,ps;zc(f.cancel)&&_s&&((ps=(ts=f.cancel).onClick)==null||ps.call(ts,Fe),Ut())},className:Ia($?.cancelButton,(m=f?.classNames)==null?void 0:m.cancelButton)},f.cancel.label):null,v.isValidElement(f.action)?f.action:f.action&&zc(f.action)?S.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||H,onClick:Fe=>{var ts,ps;zc(f.action)&&((ps=(ts=f.action).onClick)==null||ps.call(ts,Fe),!Fe.defaultPrevented&&Ut())},className:Ia($?.actionButton,(d=f?.classNames)==null?void 0:d.actionButton)},f.action.label):null))};function UD(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function vS(e,s){let a={};return[e,s].forEach((n,i)=>{let r=i===1,o=r?"--mobile-offset":"--offset",l=r?mS:cS;function u(c){["top","right","bottom","left"].forEach(m=>{a[`${o}-${m}`]=typeof c=="number"?`${c}px`:c})}typeof n=="number"||typeof n=="string"?u(n):typeof n=="object"?["top","right","bottom","left"].forEach(c=>{n[c]===void 0?a[`${o}-${c}`]=l:a[`${o}-${c}`]=typeof n[c]=="number"?`${n[c]}px`:n[c]}):u(l)}),a}var NS=v.forwardRef(function(e,s){let{invert:a,position:n="bottom-right",hotkey:i=["altKey","KeyT"],expand:r,closeButton:o,className:l,offset:u,mobileOffset:c,theme:m="light",richColors:d,duration:b,style:f,visibleToasts:h=uS,toastOptions:g,dir:p=UD(),gap:x=bS,loadingIcon:D,icons:N,containerAriaLabel:C="Notifications",pauseWhenPageIsHidden:y}=e,[G,k]=S.useState([]),E=S.useMemo(()=>Array.from(new Set([n].concat(G.filter(Z=>Z.position).map(Z=>Z.position)))),[G,n]),[U,T]=S.useState([]),[H,j]=S.useState(!1),[w,A]=S.useState(!1),[P,V]=S.useState(m!=="system"?m:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),_=S.useRef(null),O=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),$=S.useRef(null),Q=S.useRef(!1),ne=S.useCallback(Z=>{k(ee=>{var ge;return(ge=ee.find(xe=>xe.id===Z.id))!=null&&ge.delete||Yt.dismiss(Z.id),ee.filter(({id:xe})=>xe!==Z.id)})},[]);return S.useEffect(()=>Yt.subscribe(Z=>{if(Z.dismiss){k(ee=>ee.map(ge=>ge.id===Z.id?{...ge,delete:!0}:ge));return}setTimeout(()=>{eE.flushSync(()=>{k(ee=>{let ge=ee.findIndex(xe=>xe.id===Z.id);return ge!==-1?[...ee.slice(0,ge),{...ee[ge],...Z},...ee.slice(ge+1)]:[Z,...ee]})})})}),[]),S.useEffect(()=>{if(m!=="system"){V(m);return}if(m==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?V("dark"):V("light")),typeof window>"u")return;let Z=window.matchMedia("(prefers-color-scheme: dark)");try{Z.addEventListener("change",({matches:ee})=>{V(ee?"dark":"light")})}catch{Z.addListener(({matches:ge})=>{try{V(ge?"dark":"light")}catch(xe){console.error(xe)}})}},[m]),S.useEffect(()=>{G.length<=1&&j(!1)},[G]),S.useEffect(()=>{let Z=ee=>{var ge,xe;i.every(le=>ee[le]||ee.code===le)&&(j(!0),(ge=_.current)==null||ge.focus()),ee.code==="Escape"&&(document.activeElement===_.current||(xe=_.current)!=null&&xe.contains(document.activeElement))&&j(!1)};return document.addEventListener("keydown",Z),()=>document.removeEventListener("keydown",Z)},[i]),S.useEffect(()=>{if(_.current)return()=>{$.current&&($.current.focus({preventScroll:!0}),$.current=null,Q.current=!1)}},[_.current]),S.createElement("section",{ref:s,"aria-label":`${C} ${O}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},E.map((Z,ee)=>{var ge;let[xe,le]=Z.split("-");return G.length?S.createElement("ol",{key:Z,dir:p==="auto"?UD():p,tabIndex:-1,ref:_,className:l,"data-sonner-toaster":!0,"data-theme":P,"data-y-position":xe,"data-lifted":H&&G.length>1&&!r,"data-x-position":le,style:{"--front-toast-height":`${((ge=U[0])==null?void 0:ge.height)||0}px`,"--width":`${dS}px`,"--gap":`${x}px`,...f,...vS(u,c)},onBlur:se=>{Q.current&&!se.currentTarget.contains(se.relatedTarget)&&(Q.current=!1,$.current&&($.current.focus({preventScroll:!0}),$.current=null))},onFocus:se=>{se.target instanceof HTMLElement&&se.target.dataset.dismissible==="false"||Q.current||(Q.current=!0,$.current=se.relatedTarget)},onMouseEnter:()=>j(!0),onMouseMove:()=>j(!0),onMouseLeave:()=>{w||j(!1)},onDragEnd:()=>j(!1),onPointerDown:se=>{se.target instanceof HTMLElement&&se.target.dataset.dismissible==="false"||A(!0)},onPointerUp:()=>A(!1)},G.filter(se=>!se.position&&ee===0||se.position===Z).map((se,be)=>{var te,ce;return S.createElement(hS,{key:se.id,icons:N,index:be,toast:se,defaultRichColors:d,duration:(te=g?.duration)!=null?te:b,className:g?.className,descriptionClassName:g?.descriptionClassName,invert:a,visibleToasts:h,closeButton:(ce=g?.closeButton)!=null?ce:o,interacting:w,position:Z,style:g?.style,unstyled:g?.unstyled,classNames:g?.classNames,cancelButtonStyle:g?.cancelButtonStyle,actionButtonStyle:g?.actionButtonStyle,removeToast:ne,toasts:G.filter(he=>he.position==se.position),heights:U.filter(he=>he.position==se.position),setHeights:T,expandByDefault:r,gap:x,loadingIcon:D,expanded:H,pauseWhenPageIsHidden:y,swipeDirections:e.swipeDirections})})):null}))});const xS=({...e})=>{const{theme:s="system"}=WA();return t.jsxDEV(NS,{theme:s,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/sonner.tsx",lineNumber:10,columnNumber:5},void 0)};var DS=sE[" useId ".trim().toString()]||(()=>{}),GS=0;function Xa(e){const[s,a]=v.useState(DS());return tt(()=>{a(n=>n??String(GS++))},[e]),s?`radix-${s}`:""}const yS=["top","right","bottom","left"],Hi=Math.min,ba=Math.max,Tm=Math.round,Kc=Math.floor,kn=e=>({x:e,y:e}),CS={left:"right",right:"left",bottom:"top",top:"bottom"},kS={start:"end",end:"start"};function ep(e,s,a){return ba(e,Hi(s,a))}function ei(e,s){return typeof e=="function"?e(s):e}function si(e){return e.split("-")[0]}function Nl(e){return e.split("-")[1]}function Vv(e){return e==="x"?"y":"x"}function Pv(e){return e==="y"?"height":"width"}const ES=new Set(["top","bottom"]);function Dn(e){return ES.has(si(e))?"y":"x"}function Av(e){return Vv(Dn(e))}function LS(e,s,a){a===void 0&&(a=!1);const n=Nl(e),i=Av(e),r=Pv(i);let o=i==="x"?n===(a?"end":"start")?"right":"left":n==="start"?"bottom":"top";return s.reference[r]>s.floating[r]&&(o=_m(o)),[o,_m(o)]}function jS(e){const s=_m(e);return[sp(e),s,sp(s)]}function sp(e){return e.replace(/start|end/g,s=>kS[s])}const HD=["left","right"],VD=["right","left"],wS=["top","bottom"],US=["bottom","top"];function HS(e,s,a){switch(e){case"top":case"bottom":return a?s?VD:HD:s?HD:VD;case"left":case"right":return s?wS:US;default:return[]}}function VS(e,s,a,n){const i=Nl(e);let r=HS(si(e),a==="start",n);return i&&(r=r.map(o=>o+"-"+i),s&&(r=r.concat(r.map(sp)))),r}function _m(e){return e.replace(/left|right|bottom|top/g,s=>CS[s])}function PS(e){return{top:0,right:0,bottom:0,left:0,...e}}function e2(e){return typeof e!="number"?PS(e):{top:e,right:e,bottom:e,left:e}}function Rm(e){const{x:s,y:a,width:n,height:i}=e;return{width:n,height:i,top:a,left:s,right:s+n,bottom:a+i,x:s,y:a}}function PD(e,s,a){let{reference:n,floating:i}=e;const r=Dn(s),o=Av(s),l=Pv(o),u=si(s),c=r==="y",m=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,b=n[l]/2-i[l]/2;let f;switch(u){case"top":f={x:m,y:n.y-i.height};break;case"bottom":f={x:m,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:d};break;case"left":f={x:n.x-i.width,y:d};break;default:f={x:n.x,y:n.y}}switch(Nl(s)){case"start":f[o]-=b*(a&&c?-1:1);break;case"end":f[o]+=b*(a&&c?-1:1);break}return f}const AS=async(e,s,a)=>{const{placement:n="bottom",strategy:i="absolute",middleware:r=[],platform:o}=a,l=r.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(s));let c=await o.getElementRects({reference:e,floating:s,strategy:i}),{x:m,y:d}=PD(c,n,u),b=n,f={},h=0;for(let g=0;g<l.length;g++){const{name:p,fn:x}=l[g],{x:D,y:N,data:C,reset:y}=await x({x:m,y:d,initialPlacement:n,placement:b,strategy:i,middlewareData:f,rects:c,platform:o,elements:{reference:e,floating:s}});m=D??m,d=N??d,f={...f,[p]:{...f[p],...C}},y&&h<=50&&(h++,typeof y=="object"&&(y.placement&&(b=y.placement),y.rects&&(c=y.rects===!0?await o.getElementRects({reference:e,floating:s,strategy:i}):y.rects),{x:m,y:d}=PD(c,b,u)),g=-1)}return{x:m,y:d,placement:b,strategy:i,middlewareData:f}};async function Eu(e,s){var a;s===void 0&&(s={});const{x:n,y:i,platform:r,rects:o,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:m="viewport",elementContext:d="floating",altBoundary:b=!1,padding:f=0}=ei(s,e),h=e2(f),p=l[b?d==="floating"?"reference":"floating":d],x=Rm(await r.getClippingRect({element:(a=await(r.isElement==null?void 0:r.isElement(p)))==null||a?p:p.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:m,strategy:u})),D=d==="floating"?{x:n,y:i,width:o.floating.width,height:o.floating.height}:o.reference,N=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),C=await(r.isElement==null?void 0:r.isElement(N))?await(r.getScale==null?void 0:r.getScale(N))||{x:1,y:1}:{x:1,y:1},y=Rm(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:D,offsetParent:N,strategy:u}):D);return{top:(x.top-y.top+h.top)/C.y,bottom:(y.bottom-x.bottom+h.bottom)/C.y,left:(x.left-y.left+h.left)/C.x,right:(y.right-x.right+h.right)/C.x}}const SS=e=>({name:"arrow",options:e,async fn(s){const{x:a,y:n,placement:i,rects:r,platform:o,elements:l,middlewareData:u}=s,{element:c,padding:m=0}=ei(e,s)||{};if(c==null)return{};const d=e2(m),b={x:a,y:n},f=Av(i),h=Pv(f),g=await o.getDimensions(c),p=f==="y",x=p?"top":"left",D=p?"bottom":"right",N=p?"clientHeight":"clientWidth",C=r.reference[h]+r.reference[f]-b[f]-r.floating[h],y=b[f]-r.reference[f],G=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let k=G?G[N]:0;(!k||!await(o.isElement==null?void 0:o.isElement(G)))&&(k=l.floating[N]||r.floating[h]);const E=C/2-y/2,U=k/2-g[h]/2-1,T=Hi(d[x],U),H=Hi(d[D],U),j=T,w=k-g[h]-H,A=k/2-g[h]/2+E,P=ep(j,A,w),V=!u.arrow&&Nl(i)!=null&&A!==P&&r.reference[h]/2-(A<j?T:H)-g[h]/2<0,_=V?A<j?A-j:A-w:0;return{[f]:b[f]+_,data:{[f]:P,centerOffset:A-P-_,...V&&{alignmentOffset:_}},reset:V}}}),TS=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(s){var a,n;const{placement:i,middlewareData:r,rects:o,initialPlacement:l,platform:u,elements:c}=s,{mainAxis:m=!0,crossAxis:d=!0,fallbackPlacements:b,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...p}=ei(e,s);if((a=r.arrow)!=null&&a.alignmentOffset)return{};const x=si(i),D=Dn(l),N=si(l)===l,C=await(u.isRTL==null?void 0:u.isRTL(c.floating)),y=b||(N||!g?[_m(l)]:jS(l)),G=h!=="none";!b&&G&&y.push(...VS(l,g,h,C));const k=[l,...y],E=await Eu(s,p),U=[];let T=((n=r.flip)==null?void 0:n.overflows)||[];if(m&&U.push(E[x]),d){const A=LS(i,o,C);U.push(E[A[0]],E[A[1]])}if(T=[...T,{placement:i,overflows:U}],!U.every(A=>A<=0)){var H,j;const A=(((H=r.flip)==null?void 0:H.index)||0)+1,P=k[A];if(P&&(!(d==="alignment"?D!==Dn(P):!1)||T.every(O=>O.overflows[0]>0&&Dn(O.placement)===D)))return{data:{index:A,overflows:T},reset:{placement:P}};let V=(j=T.filter(_=>_.overflows[0]<=0).sort((_,O)=>_.overflows[1]-O.overflows[1])[0])==null?void 0:j.placement;if(!V)switch(f){case"bestFit":{var w;const _=(w=T.filter(O=>{if(G){const $=Dn(O.placement);return $===D||$==="y"}return!0}).map(O=>[O.placement,O.overflows.filter($=>$>0).reduce(($,Q)=>$+Q,0)]).sort((O,$)=>O[1]-$[1])[0])==null?void 0:w[0];_&&(V=_);break}case"initialPlacement":V=l;break}if(i!==V)return{reset:{placement:V}}}return{}}}};function AD(e,s){return{top:e.top-s.height,right:e.right-s.width,bottom:e.bottom-s.height,left:e.left-s.width}}function SD(e){return yS.some(s=>e[s]>=0)}const _S=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(s){const{rects:a}=s,{strategy:n="referenceHidden",...i}=ei(e,s);switch(n){case"referenceHidden":{const r=await Eu(s,{...i,elementContext:"reference"}),o=AD(r,a.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:SD(o)}}}case"escaped":{const r=await Eu(s,{...i,altBoundary:!0}),o=AD(r,a.floating);return{data:{escapedOffsets:o,escaped:SD(o)}}}default:return{}}}}},s2=new Set(["left","top"]);async function RS(e,s){const{placement:a,platform:n,elements:i}=e,r=await(n.isRTL==null?void 0:n.isRTL(i.floating)),o=si(a),l=Nl(a),u=Dn(a)==="y",c=s2.has(o)?-1:1,m=r&&u?-1:1,d=ei(s,e);let{mainAxis:b,crossAxis:f,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof h=="number"&&(f=l==="end"?h*-1:h),u?{x:f*m,y:b*c}:{x:b*c,y:f*m}}const MS=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(s){var a,n;const{x:i,y:r,placement:o,middlewareData:l}=s,u=await RS(s,e);return o===((a=l.offset)==null?void 0:a.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:r+u.y,data:{...u,placement:o}}}}},OS=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(s){const{x:a,y:n,placement:i}=s,{mainAxis:r=!0,crossAxis:o=!1,limiter:l={fn:p=>{let{x,y:D}=p;return{x,y:D}}},...u}=ei(e,s),c={x:a,y:n},m=await Eu(s,u),d=Dn(si(i)),b=Vv(d);let f=c[b],h=c[d];if(r){const p=b==="y"?"top":"left",x=b==="y"?"bottom":"right",D=f+m[p],N=f-m[x];f=ep(D,f,N)}if(o){const p=d==="y"?"top":"left",x=d==="y"?"bottom":"right",D=h+m[p],N=h-m[x];h=ep(D,h,N)}const g=l.fn({...s,[b]:f,[d]:h});return{...g,data:{x:g.x-a,y:g.y-n,enabled:{[b]:r,[d]:o}}}}}},IS=function(e){return e===void 0&&(e={}),{options:e,fn(s){const{x:a,y:n,placement:i,rects:r,middlewareData:o}=s,{offset:l=0,mainAxis:u=!0,crossAxis:c=!0}=ei(e,s),m={x:a,y:n},d=Dn(i),b=Vv(d);let f=m[b],h=m[d];const g=ei(l,s),p=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const N=b==="y"?"height":"width",C=r.reference[b]-r.floating[N]+p.mainAxis,y=r.reference[b]+r.reference[N]-p.mainAxis;f<C?f=C:f>y&&(f=y)}if(c){var x,D;const N=b==="y"?"width":"height",C=s2.has(si(i)),y=r.reference[d]-r.floating[N]+(C&&((x=o.offset)==null?void 0:x[d])||0)+(C?0:p.crossAxis),G=r.reference[d]+r.reference[N]+(C?0:((D=o.offset)==null?void 0:D[d])||0)-(C?p.crossAxis:0);h<y?h=y:h>G&&(h=G)}return{[b]:f,[d]:h}}}},$S=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(s){var a,n;const{placement:i,rects:r,platform:o,elements:l}=s,{apply:u=()=>{},...c}=ei(e,s),m=await Eu(s,c),d=si(i),b=Nl(i),f=Dn(i)==="y",{width:h,height:g}=r.floating;let p,x;d==="top"||d==="bottom"?(p=d,x=b===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(x=d,p=b==="end"?"top":"bottom");const D=g-m.top-m.bottom,N=h-m.left-m.right,C=Hi(g-m[p],D),y=Hi(h-m[x],N),G=!s.middlewareData.shift;let k=C,E=y;if((a=s.middlewareData.shift)!=null&&a.enabled.x&&(E=N),(n=s.middlewareData.shift)!=null&&n.enabled.y&&(k=D),G&&!b){const T=ba(m.left,0),H=ba(m.right,0),j=ba(m.top,0),w=ba(m.bottom,0);f?E=h-2*(T!==0||H!==0?T+H:ba(m.left,m.right)):k=g-2*(j!==0||w!==0?j+w:ba(m.top,m.bottom))}await u({...s,availableWidth:E,availableHeight:k});const U=await o.getDimensions(l.floating);return h!==U.width||g!==U.height?{reset:{rects:!0}}:{}}}};function db(){return typeof window<"u"}function xl(e){return t2(e)?(e.nodeName||"").toLowerCase():"#document"}function ga(e){var s;return(e==null||(s=e.ownerDocument)==null?void 0:s.defaultView)||window}function Pn(e){var s;return(s=(t2(e)?e.ownerDocument:e.document)||window.document)==null?void 0:s.documentElement}function t2(e){return db()?e instanceof Node||e instanceof ga(e).Node:!1}function sn(e){return db()?e instanceof Element||e instanceof ga(e).Element:!1}function wn(e){return db()?e instanceof HTMLElement||e instanceof ga(e).HTMLElement:!1}function TD(e){return!db()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ga(e).ShadowRoot}const FS=new Set(["inline","contents"]);function kc(e){const{overflow:s,overflowX:a,overflowY:n,display:i}=tn(e);return/auto|scroll|overlay|hidden|clip/.test(s+n+a)&&!FS.has(i)}const BS=new Set(["table","td","th"]);function qS(e){return BS.has(xl(e))}const WS=[":popover-open",":modal"];function bb(e){return WS.some(s=>{try{return e.matches(s)}catch{return!1}})}const zS=["transform","translate","scale","rotate","perspective"],KS=["transform","translate","scale","rotate","perspective","filter"],YS=["paint","layout","strict","content"];function Sv(e){const s=Tv(),a=sn(e)?tn(e):e;return zS.some(n=>a[n]?a[n]!=="none":!1)||(a.containerType?a.containerType!=="normal":!1)||!s&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!s&&(a.filter?a.filter!=="none":!1)||KS.some(n=>(a.willChange||"").includes(n))||YS.some(n=>(a.contain||"").includes(n))}function QS(e){let s=Vi(e);for(;wn(s)&&!So(s);){if(Sv(s))return s;if(bb(s))return null;s=Vi(s)}return null}function Tv(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ZS=new Set(["html","body","#document"]);function So(e){return ZS.has(xl(e))}function tn(e){return ga(e).getComputedStyle(e)}function fb(e){return sn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Vi(e){if(xl(e)==="html")return e;const s=e.assignedSlot||e.parentNode||TD(e)&&e.host||Pn(e);return TD(s)?s.host:s}function a2(e){const s=Vi(e);return So(s)?e.ownerDocument?e.ownerDocument.body:e.body:wn(s)&&kc(s)?s:a2(s)}function Lu(e,s,a){var n;s===void 0&&(s=[]),a===void 0&&(a=!0);const i=a2(e),r=i===((n=e.ownerDocument)==null?void 0:n.body),o=ga(i);if(r){const l=tp(o);return s.concat(o,o.visualViewport||[],kc(i)?i:[],l&&a?Lu(l):[])}return s.concat(i,Lu(i,[],a))}function tp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function n2(e){const s=tn(e);let a=parseFloat(s.width)||0,n=parseFloat(s.height)||0;const i=wn(e),r=i?e.offsetWidth:a,o=i?e.offsetHeight:n,l=Tm(a)!==r||Tm(n)!==o;return l&&(a=r,n=o),{width:a,height:n,$:l}}function _v(e){return sn(e)?e:e.contextElement}function Go(e){const s=_v(e);if(!wn(s))return kn(1);const a=s.getBoundingClientRect(),{width:n,height:i,$:r}=n2(s);let o=(r?Tm(a.width):a.width)/n,l=(r?Tm(a.height):a.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const XS=kn(0);function i2(e){const s=ga(e);return!Tv()||!s.visualViewport?XS:{x:s.visualViewport.offsetLeft,y:s.visualViewport.offsetTop}}function JS(e,s,a){return s===void 0&&(s=!1),!a||s&&a!==ga(e)?!1:s}function yr(e,s,a,n){s===void 0&&(s=!1),a===void 0&&(a=!1);const i=e.getBoundingClientRect(),r=_v(e);let o=kn(1);s&&(n?sn(n)&&(o=Go(n)):o=Go(e));const l=JS(r,a,n)?i2(r):kn(0);let u=(i.left+l.x)/o.x,c=(i.top+l.y)/o.y,m=i.width/o.x,d=i.height/o.y;if(r){const b=ga(r),f=n&&sn(n)?ga(n):n;let h=b,g=tp(h);for(;g&&n&&f!==h;){const p=Go(g),x=g.getBoundingClientRect(),D=tn(g),N=x.left+(g.clientLeft+parseFloat(D.paddingLeft))*p.x,C=x.top+(g.clientTop+parseFloat(D.paddingTop))*p.y;u*=p.x,c*=p.y,m*=p.x,d*=p.y,u+=N,c+=C,h=ga(g),g=tp(h)}}return Rm({width:m,height:d,x:u,y:c})}function Rv(e,s){const a=fb(e).scrollLeft;return s?s.left+a:yr(Pn(e)).left+a}function r2(e,s,a){a===void 0&&(a=!1);const n=e.getBoundingClientRect(),i=n.left+s.scrollLeft-(a?0:Rv(e,n)),r=n.top+s.scrollTop;return{x:i,y:r}}function e9(e){let{elements:s,rect:a,offsetParent:n,strategy:i}=e;const r=i==="fixed",o=Pn(n),l=s?bb(s.floating):!1;if(n===o||l&&r)return a;let u={scrollLeft:0,scrollTop:0},c=kn(1);const m=kn(0),d=wn(n);if((d||!d&&!r)&&((xl(n)!=="body"||kc(o))&&(u=fb(n)),wn(n))){const f=yr(n);c=Go(n),m.x=f.x+n.clientLeft,m.y=f.y+n.clientTop}const b=o&&!d&&!r?r2(o,u,!0):kn(0);return{width:a.width*c.x,height:a.height*c.y,x:a.x*c.x-u.scrollLeft*c.x+m.x+b.x,y:a.y*c.y-u.scrollTop*c.y+m.y+b.y}}function s9(e){return Array.from(e.getClientRects())}function t9(e){const s=Pn(e),a=fb(e),n=e.ownerDocument.body,i=ba(s.scrollWidth,s.clientWidth,n.scrollWidth,n.clientWidth),r=ba(s.scrollHeight,s.clientHeight,n.scrollHeight,n.clientHeight);let o=-a.scrollLeft+Rv(e);const l=-a.scrollTop;return tn(n).direction==="rtl"&&(o+=ba(s.clientWidth,n.clientWidth)-i),{width:i,height:r,x:o,y:l}}function a9(e,s){const a=ga(e),n=Pn(e),i=a.visualViewport;let r=n.clientWidth,o=n.clientHeight,l=0,u=0;if(i){r=i.width,o=i.height;const c=Tv();(!c||c&&s==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:r,height:o,x:l,y:u}}const n9=new Set(["absolute","fixed"]);function i9(e,s){const a=yr(e,!0,s==="fixed"),n=a.top+e.clientTop,i=a.left+e.clientLeft,r=wn(e)?Go(e):kn(1),o=e.clientWidth*r.x,l=e.clientHeight*r.y,u=i*r.x,c=n*r.y;return{width:o,height:l,x:u,y:c}}function _D(e,s,a){let n;if(s==="viewport")n=a9(e,a);else if(s==="document")n=t9(Pn(e));else if(sn(s))n=i9(s,a);else{const i=i2(e);n={x:s.x-i.x,y:s.y-i.y,width:s.width,height:s.height}}return Rm(n)}function o2(e,s){const a=Vi(e);return a===s||!sn(a)||So(a)?!1:tn(a).position==="fixed"||o2(a,s)}function r9(e,s){const a=s.get(e);if(a)return a;let n=Lu(e,[],!1).filter(l=>sn(l)&&xl(l)!=="body"),i=null;const r=tn(e).position==="fixed";let o=r?Vi(e):e;for(;sn(o)&&!So(o);){const l=tn(o),u=Sv(o);!u&&l.position==="fixed"&&(i=null),(r?!u&&!i:!u&&l.position==="static"&&!!i&&n9.has(i.position)||kc(o)&&!u&&o2(e,o))?n=n.filter(m=>m!==o):i=l,o=Vi(o)}return s.set(e,n),n}function o9(e){let{element:s,boundary:a,rootBoundary:n,strategy:i}=e;const o=[...a==="clippingAncestors"?bb(s)?[]:r9(s,this._c):[].concat(a),n],l=o[0],u=o.reduce((c,m)=>{const d=_D(s,m,i);return c.top=ba(d.top,c.top),c.right=Hi(d.right,c.right),c.bottom=Hi(d.bottom,c.bottom),c.left=ba(d.left,c.left),c},_D(s,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function l9(e){const{width:s,height:a}=n2(e);return{width:s,height:a}}function u9(e,s,a){const n=wn(s),i=Pn(s),r=a==="fixed",o=yr(e,!0,r,s);let l={scrollLeft:0,scrollTop:0};const u=kn(0);function c(){u.x=Rv(i)}if(n||!n&&!r)if((xl(s)!=="body"||kc(i))&&(l=fb(s)),n){const f=yr(s,!0,r,s);u.x=f.x+s.clientLeft,u.y=f.y+s.clientTop}else i&&c();r&&!n&&i&&c();const m=i&&!n&&!r?r2(i,l):kn(0),d=o.left+l.scrollLeft-u.x-m.x,b=o.top+l.scrollTop-u.y-m.y;return{x:d,y:b,width:o.width,height:o.height}}function Hf(e){return tn(e).position==="static"}function RD(e,s){if(!wn(e)||tn(e).position==="fixed")return null;if(s)return s(e);let a=e.offsetParent;return Pn(e)===a&&(a=a.ownerDocument.body),a}function l2(e,s){const a=ga(e);if(bb(e))return a;if(!wn(e)){let i=Vi(e);for(;i&&!So(i);){if(sn(i)&&!Hf(i))return i;i=Vi(i)}return a}let n=RD(e,s);for(;n&&qS(n)&&Hf(n);)n=RD(n,s);return n&&So(n)&&Hf(n)&&!Sv(n)?a:n||QS(e)||a}const c9=async function(e){const s=this.getOffsetParent||l2,a=this.getDimensions,n=await a(e.floating);return{reference:u9(e.reference,await s(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function m9(e){return tn(e).direction==="rtl"}const d9={convertOffsetParentRelativeRectToViewportRelativeRect:e9,getDocumentElement:Pn,getClippingRect:o9,getOffsetParent:l2,getElementRects:c9,getClientRects:s9,getDimensions:l9,getScale:Go,isElement:sn,isRTL:m9};function u2(e,s){return e.x===s.x&&e.y===s.y&&e.width===s.width&&e.height===s.height}function b9(e,s){let a=null,n;const i=Pn(e);function r(){var l;clearTimeout(n),(l=a)==null||l.disconnect(),a=null}function o(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),r();const c=e.getBoundingClientRect(),{left:m,top:d,width:b,height:f}=c;if(l||s(),!b||!f)return;const h=Kc(d),g=Kc(i.clientWidth-(m+b)),p=Kc(i.clientHeight-(d+f)),x=Kc(m),N={rootMargin:-h+"px "+-g+"px "+-p+"px "+-x+"px",threshold:ba(0,Hi(1,u))||1};let C=!0;function y(G){const k=G[0].intersectionRatio;if(k!==u){if(!C)return o();k?o(!1,k):n=setTimeout(()=>{o(!1,1e-7)},1e3)}k===1&&!u2(c,e.getBoundingClientRect())&&o(),C=!1}try{a=new IntersectionObserver(y,{...N,root:i.ownerDocument})}catch{a=new IntersectionObserver(y,N)}a.observe(e)}return o(!0),r}function f9(e,s,a,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,c=_v(e),m=i||r?[...c?Lu(c):[],...Lu(s)]:[];m.forEach(x=>{i&&x.addEventListener("scroll",a,{passive:!0}),r&&x.addEventListener("resize",a)});const d=c&&l?b9(c,a):null;let b=-1,f=null;o&&(f=new ResizeObserver(x=>{let[D]=x;D&&D.target===c&&f&&(f.unobserve(s),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var N;(N=f)==null||N.observe(s)})),a()}),c&&!u&&f.observe(c),f.observe(s));let h,g=u?yr(e):null;u&&p();function p(){const x=yr(e);g&&!u2(g,x)&&a(),g=x,h=requestAnimationFrame(p)}return a(),()=>{var x;m.forEach(D=>{i&&D.removeEventListener("scroll",a),r&&D.removeEventListener("resize",a)}),d?.(),(x=f)==null||x.disconnect(),f=null,u&&cancelAnimationFrame(h)}}const g9=MS,p9=OS,h9=TS,v9=$S,N9=_S,MD=SS,x9=IS,D9=(e,s,a)=>{const n=new Map,i={platform:d9,...a},r={...i.platform,_c:n};return AS(e,s,{...i,platform:r})};var G9=typeof document<"u",y9=function(){},wm=G9?v.useLayoutEffect:y9;function Mm(e,s){if(e===s)return!0;if(typeof e!=typeof s)return!1;if(typeof e=="function"&&e.toString()===s.toString())return!0;let a,n,i;if(e&&s&&typeof e=="object"){if(Array.isArray(e)){if(a=e.length,a!==s.length)return!1;for(n=a;n--!==0;)if(!Mm(e[n],s[n]))return!1;return!0}if(i=Object.keys(e),a=i.length,a!==Object.keys(s).length)return!1;for(n=a;n--!==0;)if(!{}.hasOwnProperty.call(s,i[n]))return!1;for(n=a;n--!==0;){const r=i[n];if(!(r==="_owner"&&e.$$typeof)&&!Mm(e[r],s[r]))return!1}return!0}return e!==e&&s!==s}function c2(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function OD(e,s){const a=c2(e);return Math.round(s*a)/a}function Vf(e){const s=v.useRef(e);return wm(()=>{s.current=e}),s}function C9(e){e===void 0&&(e={});const{placement:s="bottom",strategy:a="absolute",middleware:n=[],platform:i,elements:{reference:r,floating:o}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[m,d]=v.useState({x:0,y:0,strategy:a,placement:s,middlewareData:{},isPositioned:!1}),[b,f]=v.useState(n);Mm(b,n)||f(n);const[h,g]=v.useState(null),[p,x]=v.useState(null),D=v.useCallback(O=>{O!==G.current&&(G.current=O,g(O))},[]),N=v.useCallback(O=>{O!==k.current&&(k.current=O,x(O))},[]),C=r||h,y=o||p,G=v.useRef(null),k=v.useRef(null),E=v.useRef(m),U=u!=null,T=Vf(u),H=Vf(i),j=Vf(c),w=v.useCallback(()=>{if(!G.current||!k.current)return;const O={placement:s,strategy:a,middleware:b};H.current&&(O.platform=H.current),D9(G.current,k.current,O).then($=>{const Q={...$,isPositioned:j.current!==!1};A.current&&!Mm(E.current,Q)&&(E.current=Q,ml.flushSync(()=>{d(Q)}))})},[b,s,a,H,j]);wm(()=>{c===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,d(O=>({...O,isPositioned:!1})))},[c]);const A=v.useRef(!1);wm(()=>(A.current=!0,()=>{A.current=!1}),[]),wm(()=>{if(C&&(G.current=C),y&&(k.current=y),C&&y){if(T.current)return T.current(C,y,w);w()}},[C,y,w,T,U]);const P=v.useMemo(()=>({reference:G,floating:k,setReference:D,setFloating:N}),[D,N]),V=v.useMemo(()=>({reference:C,floating:y}),[C,y]),_=v.useMemo(()=>{const O={position:a,left:0,top:0};if(!V.floating)return O;const $=OD(V.floating,m.x),Q=OD(V.floating,m.y);return l?{...O,transform:"translate("+$+"px, "+Q+"px)",...c2(V.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:$,top:Q}},[a,l,V.floating,m.x,m.y]);return v.useMemo(()=>({...m,update:w,refs:P,elements:V,floatingStyles:_}),[m,w,P,V,_])}const k9=e=>{function s(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){const{element:n,padding:i}=typeof e=="function"?e(a):e;return n&&s(n)?n.current!=null?MD({element:n.current,padding:i}).fn(a):{}:n?MD({element:n,padding:i}).fn(a):{}}}},E9=(e,s)=>({...g9(e),options:[e,s]}),L9=(e,s)=>({...p9(e),options:[e,s]}),j9=(e,s)=>({...x9(e),options:[e,s]}),w9=(e,s)=>({...h9(e),options:[e,s]}),U9=(e,s)=>({...v9(e),options:[e,s]}),H9=(e,s)=>({...N9(e),options:[e,s]}),V9=(e,s)=>({...k9(e),options:[e,s]});var P9="Arrow",m2=v.forwardRef((e,s)=>{const{children:a,width:n=10,height:i=5,...r}=e;return q.jsx(Ve.svg,{...r,ref:s,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?a:q.jsx("polygon",{points:"0,0 30,0 15,10"})})});m2.displayName=P9;var A9=m2;function Mv(e){const[s,a]=v.useState(void 0);return tt(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let o,l;if("borderBoxSize"in r){const u=r.borderBoxSize,c=Array.isArray(u)?u[0]:u;o=c.inlineSize,l=c.blockSize}else o=e.offsetWidth,l=e.offsetHeight;a({width:o,height:l})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else a(void 0)},[e]),s}var Ov="Popper",[d2,Dl]=Mt(Ov),[S9,b2]=d2(Ov),f2=e=>{const{__scopePopper:s,children:a}=e,[n,i]=v.useState(null);return q.jsx(S9,{scope:s,anchor:n,onAnchorChange:i,children:a})};f2.displayName=Ov;var g2="PopperAnchor",p2=v.forwardRef((e,s)=>{const{__scopePopper:a,virtualRef:n,...i}=e,r=b2(g2,a),o=v.useRef(null),l=ns(s,o);return v.useEffect(()=>{r.onAnchorChange(n?.current||o.current)}),n?null:q.jsx(Ve.div,{...i,ref:l})});p2.displayName=g2;var Iv="PopperContent",[T9,_9]=d2(Iv),h2=v.forwardRef((e,s)=>{const{__scopePopper:a,side:n="bottom",sideOffset:i=0,align:r="center",alignOffset:o=0,arrowPadding:l=0,avoidCollisions:u=!0,collisionBoundary:c=[],collisionPadding:m=0,sticky:d="partial",hideWhenDetached:b=!1,updatePositionStrategy:f="optimized",onPlaced:h,...g}=e,p=b2(Iv,a),[x,D]=v.useState(null),N=ns(s,se=>D(se)),[C,y]=v.useState(null),G=Mv(C),k=G?.width??0,E=G?.height??0,U=n+(r!=="center"?"-"+r:""),T=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},H=Array.isArray(c)?c:[c],j=H.length>0,w={padding:T,boundary:H.filter(M9),altBoundary:j},{refs:A,floatingStyles:P,placement:V,isPositioned:_,middlewareData:O}=C9({strategy:"fixed",placement:U,whileElementsMounted:(...se)=>f9(...se,{animationFrame:f==="always"}),elements:{reference:p.anchor},middleware:[E9({mainAxis:i+E,alignmentAxis:o}),u&&L9({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?j9():void 0,...w}),u&&w9({...w}),U9({...w,apply:({elements:se,rects:be,availableWidth:te,availableHeight:ce})=>{const{width:he,height:R}=be.reference,ve=se.floating.style;ve.setProperty("--radix-popper-available-width",`${te}px`),ve.setProperty("--radix-popper-available-height",`${ce}px`),ve.setProperty("--radix-popper-anchor-width",`${he}px`),ve.setProperty("--radix-popper-anchor-height",`${R}px`)}}),C&&V9({element:C,padding:l}),O9({arrowWidth:k,arrowHeight:E}),b&&H9({strategy:"referenceHidden",...w})]}),[$,Q]=x2(V),ne=ha(h);tt(()=>{_&&ne?.()},[_,ne]);const Z=O.arrow?.x,ee=O.arrow?.y,ge=O.arrow?.centerOffset!==0,[xe,le]=v.useState();return tt(()=>{x&&le(window.getComputedStyle(x).zIndex)},[x]),q.jsx("div",{ref:A.setFloating,"data-radix-popper-content-wrapper":"",style:{...P,transform:_?P.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[O.transformOrigin?.x,O.transformOrigin?.y].join(" "),...O.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:q.jsx(T9,{scope:a,placedSide:$,onArrowChange:y,arrowX:Z,arrowY:ee,shouldHideArrow:ge,children:q.jsx(Ve.div,{"data-side":$,"data-align":Q,...g,ref:N,style:{...g.style,animation:_?void 0:"none"}})})})});h2.displayName=Iv;var v2="PopperArrow",R9={top:"bottom",right:"left",bottom:"top",left:"right"},N2=v.forwardRef(function(s,a){const{__scopePopper:n,...i}=s,r=_9(v2,n),o=R9[r.placedSide];return q.jsx("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:q.jsx(A9,{...i,ref:a,style:{...i.style,display:"block"}})})});N2.displayName=v2;function M9(e){return e!==null}var O9=e=>({name:"transformOrigin",options:e,fn(s){const{placement:a,rects:n,middlewareData:i}=s,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,u=o?0:e.arrowHeight,[c,m]=x2(a),d={start:"0%",center:"50%",end:"100%"}[m],b=(i.arrow?.x??0)+l/2,f=(i.arrow?.y??0)+u/2;let h="",g="";return c==="bottom"?(h=o?d:`${b}px`,g=`${-u}px`):c==="top"?(h=o?d:`${b}px`,g=`${n.floating.height+u}px`):c==="right"?(h=`${-u}px`,g=o?d:`${f}px`):c==="left"&&(h=`${n.floating.width+u}px`,g=o?d:`${f}px`),{data:{x:h,y:g}}}});function x2(e){const[s,a="center"]=e.split("-");return[s,a]}var $v=f2,Fv=p2,Bv=h2,qv=N2,[gb,zGe]=Mt("Tooltip",[Dl]),pb=Dl(),D2="TooltipProvider",I9=700,ap="tooltip.open",[$9,Wv]=gb(D2),G2=e=>{const{__scopeTooltip:s,delayDuration:a=I9,skipDelayDuration:n=300,disableHoverableContent:i=!1,children:r}=e,o=v.useRef(!0),l=v.useRef(!1),u=v.useRef(0);return v.useEffect(()=>{const c=u.current;return()=>window.clearTimeout(c)},[]),q.jsx($9,{scope:s,isOpenDelayedRef:o,delayDuration:a,onOpen:v.useCallback(()=>{window.clearTimeout(u.current),o.current=!1},[]),onClose:v.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>o.current=!0,n)},[n]),isPointerInTransitRef:l,onPointerInTransitChange:v.useCallback(c=>{l.current=c},[]),disableHoverableContent:i,children:r})};G2.displayName=D2;var ju="Tooltip",[F9,hb]=gb(ju),y2=e=>{const{__scopeTooltip:s,children:a,open:n,defaultOpen:i,onOpenChange:r,disableHoverableContent:o,delayDuration:l}=e,u=Wv(ju,e.__scopeTooltip),c=pb(s),[m,d]=v.useState(null),b=Xa(),f=v.useRef(0),h=o??u.disableHoverableContent,g=l??u.delayDuration,p=v.useRef(!1),[x,D]=va({prop:n,defaultProp:i??!1,onChange:k=>{k?(u.onOpen(),document.dispatchEvent(new CustomEvent(ap))):u.onClose(),r?.(k)},caller:ju}),N=v.useMemo(()=>x?p.current?"delayed-open":"instant-open":"closed",[x]),C=v.useCallback(()=>{window.clearTimeout(f.current),f.current=0,p.current=!1,D(!0)},[D]),y=v.useCallback(()=>{window.clearTimeout(f.current),f.current=0,D(!1)},[D]),G=v.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{p.current=!0,D(!0),f.current=0},g)},[g,D]);return v.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),q.jsx($v,{...c,children:q.jsx(F9,{scope:s,contentId:b,open:x,stateAttribute:N,trigger:m,onTriggerChange:d,onTriggerEnter:v.useCallback(()=>{u.isOpenDelayedRef.current?G():C()},[u.isOpenDelayedRef,G,C]),onTriggerLeave:v.useCallback(()=>{h?y():(window.clearTimeout(f.current),f.current=0)},[y,h]),onOpen:C,onClose:y,disableHoverableContent:h,children:a})})};y2.displayName=ju;var np="TooltipTrigger",C2=v.forwardRef((e,s)=>{const{__scopeTooltip:a,...n}=e,i=hb(np,a),r=Wv(np,a),o=pb(a),l=v.useRef(null),u=ns(s,l,i.onTriggerChange),c=v.useRef(!1),m=v.useRef(!1),d=v.useCallback(()=>c.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),q.jsx(Fv,{asChild:!0,...o,children:q.jsx(Ve.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...n,ref:u,onPointerMove:je(e.onPointerMove,b=>{b.pointerType!=="touch"&&!m.current&&!r.isPointerInTransitRef.current&&(i.onTriggerEnter(),m.current=!0)}),onPointerLeave:je(e.onPointerLeave,()=>{i.onTriggerLeave(),m.current=!1}),onPointerDown:je(e.onPointerDown,()=>{i.open&&i.onClose(),c.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:je(e.onFocus,()=>{c.current||i.onOpen()}),onBlur:je(e.onBlur,i.onClose),onClick:je(e.onClick,i.onClose)})})});C2.displayName=np;var B9="TooltipPortal",[KGe,q9]=gb(B9,{forceMount:void 0}),To="TooltipContent",k2=v.forwardRef((e,s)=>{const a=q9(To,e.__scopeTooltip),{forceMount:n=a.forceMount,side:i="top",...r}=e,o=hb(To,e.__scopeTooltip);return q.jsx(nn,{present:n||o.open,children:o.disableHoverableContent?q.jsx(E2,{side:i,...r,ref:s}):q.jsx(W9,{side:i,...r,ref:s})})}),W9=v.forwardRef((e,s)=>{const a=hb(To,e.__scopeTooltip),n=Wv(To,e.__scopeTooltip),i=v.useRef(null),r=ns(s,i),[o,l]=v.useState(null),{trigger:u,onClose:c}=a,m=i.current,{onPointerInTransitChange:d}=n,b=v.useCallback(()=>{l(null),d(!1)},[d]),f=v.useCallback((h,g)=>{const p=h.currentTarget,x={x:h.clientX,y:h.clientY},D=Z9(x,p.getBoundingClientRect()),N=X9(x,D),C=J9(g.getBoundingClientRect()),y=s6([...N,...C]);l(y),d(!0)},[d]);return v.useEffect(()=>()=>b(),[b]),v.useEffect(()=>{if(u&&m){const h=p=>f(p,m),g=p=>f(p,u);return u.addEventListener("pointerleave",h),m.addEventListener("pointerleave",g),()=>{u.removeEventListener("pointerleave",h),m.removeEventListener("pointerleave",g)}}},[u,m,f,b]),v.useEffect(()=>{if(o){const h=g=>{const p=g.target,x={x:g.clientX,y:g.clientY},D=u?.contains(p)||m?.contains(p),N=!e6(x,o);D?b():N&&(b(),c())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[u,m,o,c,b]),q.jsx(E2,{...e,ref:r})}),[z9,K9]=gb(ju,{isInside:!1}),Y9=B5("TooltipContent"),E2=v.forwardRef((e,s)=>{const{__scopeTooltip:a,children:n,"aria-label":i,onEscapeKeyDown:r,onPointerDownOutside:o,...l}=e,u=hb(To,a),c=pb(a),{onClose:m}=u;return v.useEffect(()=>(document.addEventListener(ap,m),()=>document.removeEventListener(ap,m)),[m]),v.useEffect(()=>{if(u.trigger){const d=b=>{b.target?.contains(u.trigger)&&m()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[u.trigger,m]),q.jsx(dl,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:d=>d.preventDefault(),onDismiss:m,children:q.jsxs(Bv,{"data-state":u.stateAttribute,...c,...l,ref:s,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[q.jsx(Y9,{children:n}),q.jsx(z9,{scope:a,isInside:!0,children:q.jsx(dP,{id:u.contentId,role:"tooltip",children:i||n})})]})})});k2.displayName=To;var L2="TooltipArrow",Q9=v.forwardRef((e,s)=>{const{__scopeTooltip:a,...n}=e,i=pb(a);return K9(L2,a).isInside?null:q.jsx(qv,{...i,...n,ref:s})});Q9.displayName=L2;function Z9(e,s){const a=Math.abs(s.top-e.y),n=Math.abs(s.bottom-e.y),i=Math.abs(s.right-e.x),r=Math.abs(s.left-e.x);switch(Math.min(a,n,i,r)){case r:return"left";case i:return"right";case a:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function X9(e,s,a=5){const n=[];switch(s){case"top":n.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":n.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":n.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":n.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a});break}return n}function J9(e){const{top:s,right:a,bottom:n,left:i}=e;return[{x:i,y:s},{x:a,y:s},{x:a,y:n},{x:i,y:n}]}function e6(e,s){const{x:a,y:n}=e;let i=!1;for(let r=0,o=s.length-1;r<s.length;o=r++){const l=s[r],u=s[o],c=l.x,m=l.y,d=u.x,b=u.y;m>n!=b>n&&a<(d-c)*(n-m)/(b-m)+c&&(i=!i)}return i}function s6(e){const s=e.slice();return s.sort((a,n)=>a.x<n.x?-1:a.x>n.x?1:a.y<n.y?-1:a.y>n.y?1:0),t6(s)}function t6(e){if(e.length<=1)return e.slice();const s=[];for(let n=0;n<e.length;n++){const i=e[n];for(;s.length>=2;){const r=s[s.length-1],o=s[s.length-2];if((r.x-o.x)*(i.y-o.y)>=(r.y-o.y)*(i.x-o.x))s.pop();else break}s.push(i)}s.pop();const a=[];for(let n=e.length-1;n>=0;n--){const i=e[n];for(;a.length>=2;){const r=a[a.length-1],o=a[a.length-2];if((r.x-o.x)*(i.y-o.y)>=(r.y-o.y)*(i.x-o.x))a.pop();else break}a.push(i)}return a.pop(),s.length===1&&a.length===1&&s[0].x===a[0].x&&s[0].y===a[0].y?s:s.concat(a)}var a6=G2,n6=y2,i6=C2,j2=k2;const zv=a6,w2=n6,U2=i6,Kv=v.forwardRef(({className:e,sideOffset:s=4,...a},n)=>t.jsxDEV(j2,{ref:n,sideOffset:s,className:me("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/tooltip.tsx",lineNumber:16,columnNumber:3},void 0));Kv.displayName=j2.displayName;var vb=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Nb=typeof window>"u"||"Deno"in globalThis;function Wa(){}function r6(e,s){return typeof e=="function"?e(s):e}function o6(e){return typeof e=="number"&&e>=0&&e!==1/0}function l6(e,s){return Math.max(e+(s||0)-Date.now(),0)}function ip(e,s){return typeof e=="function"?e(s):e}function u6(e,s){return typeof e=="function"?e(s):e}function ID(e,s){const{type:a="all",exact:n,fetchStatus:i,predicate:r,queryKey:o,stale:l}=e;if(o){if(n){if(s.queryHash!==Yv(o,s.options))return!1}else if(!Uu(s.queryKey,o))return!1}if(a!=="all"){const u=s.isActive();if(a==="active"&&!u||a==="inactive"&&u)return!1}return!(typeof l=="boolean"&&s.isStale()!==l||i&&i!==s.state.fetchStatus||r&&!r(s))}function $D(e,s){const{exact:a,status:n,predicate:i,mutationKey:r}=e;if(r){if(!s.options.mutationKey)return!1;if(a){if(wu(s.options.mutationKey)!==wu(r))return!1}else if(!Uu(s.options.mutationKey,r))return!1}return!(n&&s.state.status!==n||i&&!i(s))}function Yv(e,s){return(s?.queryKeyHashFn||wu)(e)}function wu(e){return JSON.stringify(e,(s,a)=>op(a)?Object.keys(a).sort().reduce((n,i)=>(n[i]=a[i],n),{}):a)}function Uu(e,s){return e===s?!0:typeof e!=typeof s?!1:e&&s&&typeof e=="object"&&typeof s=="object"?Object.keys(s).every(a=>Uu(e[a],s[a])):!1}function rp(e,s){if(e===s)return e;const a=FD(e)&&FD(s);if(a||op(e)&&op(s)){const n=a?e:Object.keys(e),i=n.length,r=a?s:Object.keys(s),o=r.length,l=a?[]:{},u=new Set(n);let c=0;for(let m=0;m<o;m++){const d=a?m:r[m];(!a&&u.has(d)||a)&&e[d]===void 0&&s[d]===void 0?(l[d]=void 0,c++):(l[d]=rp(e[d],s[d]),l[d]===e[d]&&e[d]!==void 0&&c++)}return i===o&&c===i?e:l}return s}function FD(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function op(e){if(!BD(e))return!1;const s=e.constructor;if(s===void 0)return!0;const a=s.prototype;return!(!BD(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function BD(e){return Object.prototype.toString.call(e)==="[object Object]"}function c6(e){return new Promise(s=>{setTimeout(s,e)})}function m6(e,s,a){if(typeof a.structuralSharing=="function")return a.structuralSharing(e,s);if(a.structuralSharing!==!1){try{return rp(e,s)}catch(n){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${a.queryHash}]: ${n}`),n}return rp(e,s)}return s}function d6(e,s,a=0){const n=[...e,s];return a&&n.length>a?n.slice(1):n}function b6(e,s,a=0){const n=[s,...e];return a&&n.length>a?n.slice(0,-1):n}var Om=Symbol();function H2(e,s){return e.queryFn===Om&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&s?.initialPromise?()=>s.initialPromise:!e.queryFn||e.queryFn===Om?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var f6=class extends vb{#e;#s;#t;constructor(){super(),this.#t=e=>{if(!Nb&&window.addEventListener){const s=()=>e();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}}}onSubscribe(){this.#s||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#s?.(),this.#s=void 0)}setEventListener(e){this.#t=e,this.#s?.(),this.#s=e(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(s=>{s(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},V2=new f6,g6=class extends vb{#e=!0;#s;#t;constructor(){super(),this.#t=e=>{if(!Nb&&window.addEventListener){const s=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#s||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#s?.(),this.#s=void 0)}setEventListener(e){this.#t=e,this.#s?.(),this.#s=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(a=>{a(e)}))}isOnline(){return this.#e}},Im=new g6;function p6(){let e,s;const a=new Promise((i,r)=>{e=i,s=r});a.status="pending",a.catch(()=>{});function n(i){Object.assign(a,i),delete a.resolve,delete a.reject}return a.resolve=i=>{n({status:"fulfilled",value:i}),e(i)},a.reject=i=>{n({status:"rejected",reason:i}),s(i)},a}function h6(e){return Math.min(1e3*2**e,3e4)}function P2(e){return(e??"online")==="online"?Im.isOnline():!0}var A2=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Pf(e){return e instanceof A2}function S2(e){let s=!1,a=0,n=!1,i;const r=p6(),o=g=>{n||(b(new A2(g)),e.abort?.())},l=()=>{s=!0},u=()=>{s=!1},c=()=>V2.isFocused()&&(e.networkMode==="always"||Im.isOnline())&&e.canRun(),m=()=>P2(e.networkMode)&&e.canRun(),d=g=>{n||(n=!0,e.onSuccess?.(g),i?.(),r.resolve(g))},b=g=>{n||(n=!0,e.onError?.(g),i?.(),r.reject(g))},f=()=>new Promise(g=>{i=p=>{(n||c())&&g(p)},e.onPause?.()}).then(()=>{i=void 0,n||e.onContinue?.()}),h=()=>{if(n)return;let g;const p=a===0?e.initialPromise:void 0;try{g=p??e.fn()}catch(x){g=Promise.reject(x)}Promise.resolve(g).then(d).catch(x=>{if(n)return;const D=e.retry??(Nb?0:3),N=e.retryDelay??h6,C=typeof N=="function"?N(a,x):N,y=D===!0||typeof D=="number"&&a<D||typeof D=="function"&&D(a,x);if(s||!y){b(x);return}a++,e.onFail?.(a,x),c6(C).then(()=>c()?void 0:f()).then(()=>{s?b(x):h()})})};return{promise:r,cancel:o,continue:()=>(i?.(),r),cancelRetry:l,continueRetry:u,canStart:m,start:()=>(m()?h():f().then(h),r)}}var v6=e=>setTimeout(e,0);function N6(){let e=[],s=0,a=l=>{l()},n=l=>{l()},i=v6;const r=l=>{s?e.push(l):i(()=>{a(l)})},o=()=>{const l=e;e=[],l.length&&i(()=>{n(()=>{l.forEach(u=>{a(u)})})})};return{batch:l=>{let u;s++;try{u=l()}finally{s--,s||o()}return u},batchCalls:l=>(...u)=>{r(()=>{l(...u)})},schedule:r,setNotifyFunction:l=>{a=l},setBatchNotifyFunction:l=>{n=l},setScheduler:l=>{i=l}}}var $t=N6(),T2=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),o6(this.gcTime)&&(this.#e=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Nb?1/0:5*60*1e3))}clearGcTimeout(){this.#e&&(clearTimeout(this.#e),this.#e=void 0)}},x6=class extends T2{#e;#s;#t;#n;#a;#r;#o;constructor(e){super(),this.#o=!1,this.#r=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#n=e.client,this.#t=this.#n.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=G6(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(e){this.options={...this.#r,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#t.remove(this)}setData(e,s){const a=m6(this.state.data,e,this.options);return this.#i({data:a,type:"success",dataUpdatedAt:s?.updatedAt,manual:s?.manual}),a}setState(e,s){this.#i({type:"setState",state:e,setStateOptions:s})}cancel(e){const s=this.#a?.promise;return this.#a?.cancel(e),s?s.then(Wa).catch(Wa):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>u6(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Om||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>ip(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!l6(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(s=>s.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(s=>s.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(s=>s!==e),this.observers.length||(this.#a&&(this.#o?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#t.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}fetch(e,s){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&s?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){const u=this.observers.find(c=>c.options.queryFn);u&&this.setOptions(u.options)}Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']");const a=new AbortController,n=u=>{Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(this.#o=!0,a.signal)})},i=()=>{const u=H2(this.options,s),m=(()=>{const d={client:this.#n,queryKey:this.queryKey,meta:this.meta};return n(d),d})();return this.#o=!1,this.options.persister?this.options.persister(u,m,this):u(m)},o=(()=>{const u={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:i};return n(u),u})();this.options.behavior?.onFetch(o,this),this.#s=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#i({type:"fetch",meta:o.fetchOptions?.meta});const l=u=>{Pf(u)&&u.silent||this.#i({type:"error",error:u}),Pf(u)||(this.#t.config.onError?.(u,this),this.#t.config.onSettled?.(this.state.data,u,this)),this.scheduleGc()};return this.#a=S2({initialPromise:s?.initialPromise,fn:o.fetchFn,abort:a.abort.bind(a),onSuccess:u=>{if(u===void 0){console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(u)}catch(c){l(c);return}this.#t.config.onSuccess?.(u,this),this.#t.config.onSettled?.(u,this.state.error,this),this.scheduleGc()},onError:l,onFail:(u,c)=>{this.#i({type:"failed",failureCount:u,error:c})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0}),this.#a.start()}#i(e){const s=a=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...D6(a.data,this.options),fetchMeta:e.meta??null};case"success":return this.#s=void 0,{...a,data:e.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=e.error;return Pf(n)&&n.revert&&this.#s?{...this.#s,fetchStatus:"idle"}:{...a,error:n,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=s(this.state),$t.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#t.notify({query:this,type:"updated",action:e})})}};function D6(e,s){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:P2(s.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function G6(e){const s=typeof e.initialData=="function"?e.initialData():e.initialData,a=s!==void 0,n=a?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:s,dataUpdateCount:0,dataUpdatedAt:a?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var y6=class extends vb{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,s,a){const n=s.queryKey,i=s.queryHash??Yv(n,s);let r=this.get(i);return r||(r=new x6({client:e,queryKey:n,queryHash:i,options:e.defaultQueryOptions(s),state:a,defaultOptions:e.getQueryDefaults(n)}),this.add(r)),r}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const s=this.#e.get(e.queryHash);s&&(e.destroy(),s===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){$t.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const s={exact:!0,...e};return this.getAll().find(a=>ID(s,a))}findAll(e={}){const s=this.getAll();return Object.keys(e).length>0?s.filter(a=>ID(e,a)):s}notify(e){$t.batch(()=>{this.listeners.forEach(s=>{s(e)})})}onFocus(){$t.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){$t.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},C6=class extends T2{#e;#s;#t;constructor(e){super(),this.mutationId=e.mutationId,this.#s=e.mutationCache,this.#e=[],this.state=e.state||k6(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(s=>s!==e),this.scheduleGc(),this.#s.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#s.remove(this))}continue(){return this.#t?.continue()??this.execute(this.state.variables)}async execute(e){const s=()=>{this.#n({type:"continue"})};this.#t=S2({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(i,r)=>{this.#n({type:"failed",failureCount:i,error:r})},onPause:()=>{this.#n({type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#s.canRun(this)});const a=this.state.status==="pending",n=!this.#t.canStart();try{if(a)s();else{this.#n({type:"pending",variables:e,isPaused:n}),await this.#s.config.onMutate?.(e,this);const r=await this.options.onMutate?.(e);r!==this.state.context&&this.#n({type:"pending",context:r,variables:e,isPaused:n})}const i=await this.#t.start();return await this.#s.config.onSuccess?.(i,e,this.state.context,this),await this.options.onSuccess?.(i,e,this.state.context),await this.#s.config.onSettled?.(i,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(i,null,e,this.state.context),this.#n({type:"success",data:i}),i}catch(i){try{throw await this.#s.config.onError?.(i,e,this.state.context,this),await this.options.onError?.(i,e,this.state.context),await this.#s.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,i,e,this.state.context),i}finally{this.#n({type:"error",error:i})}}finally{this.#s.runNext(this)}}#n(e){const s=a=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=s(this.state),$t.batch(()=>{this.#e.forEach(a=>{a.onMutationUpdate(e)}),this.#s.notify({mutation:this,type:"updated",action:e})})}};function k6(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var E6=class extends vb{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#s=new Map,this.#t=0}#e;#s;#t;build(e,s,a){const n=new C6({mutationCache:this,mutationId:++this.#t,options:e.defaultMutationOptions(s),state:a});return this.add(n),n}add(e){this.#e.add(e);const s=Yc(e);if(typeof s=="string"){const a=this.#s.get(s);a?a.push(e):this.#s.set(s,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const s=Yc(e);if(typeof s=="string"){const a=this.#s.get(s);if(a)if(a.length>1){const n=a.indexOf(e);n!==-1&&a.splice(n,1)}else a[0]===e&&this.#s.delete(s)}}this.notify({type:"removed",mutation:e})}canRun(e){const s=Yc(e);if(typeof s=="string"){const n=this.#s.get(s)?.find(i=>i.state.status==="pending");return!n||n===e}else return!0}runNext(e){const s=Yc(e);return typeof s=="string"?this.#s.get(s)?.find(n=>n!==e&&n.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){$t.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#s.clear()})}getAll(){return Array.from(this.#e)}find(e){const s={exact:!0,...e};return this.getAll().find(a=>$D(s,a))}findAll(e={}){return this.getAll().filter(s=>$D(e,s))}notify(e){$t.batch(()=>{this.listeners.forEach(s=>{s(e)})})}resumePausedMutations(){const e=this.getAll().filter(s=>s.state.isPaused);return $t.batch(()=>Promise.all(e.map(s=>s.continue().catch(Wa))))}};function Yc(e){return e.options.scope?.id}function qD(e){return{onFetch:(s,a)=>{const n=s.options,i=s.fetchOptions?.meta?.fetchMore?.direction,r=s.state.data?.pages||[],o=s.state.data?.pageParams||[];let l={pages:[],pageParams:[]},u=0;const c=async()=>{let m=!1;const d=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(s.signal.aborted?m=!0:s.signal.addEventListener("abort",()=>{m=!0}),s.signal)})},b=H2(s.options,s.fetchOptions),f=async(h,g,p)=>{if(m)return Promise.reject();if(g==null&&h.pages.length)return Promise.resolve(h);const D=(()=>{const G={client:s.client,queryKey:s.queryKey,pageParam:g,direction:p?"backward":"forward",meta:s.options.meta};return d(G),G})(),N=await b(D),{maxPages:C}=s.options,y=p?b6:d6;return{pages:y(h.pages,N,C),pageParams:y(h.pageParams,g,C)}};if(i&&r.length){const h=i==="backward",g=h?L6:WD,p={pages:r,pageParams:o},x=g(n,p);l=await f(p,x,h)}else{const h=e??r.length;do{const g=u===0?o[0]??n.initialPageParam:WD(n,l);if(u>0&&g==null)break;l=await f(l,g),u++}while(u<h)}return l};s.options.persister?s.fetchFn=()=>s.options.persister?.(c,{client:s.client,queryKey:s.queryKey,meta:s.options.meta,signal:s.signal},a):s.fetchFn=c}}}function WD(e,{pages:s,pageParams:a}){const n=s.length-1;return s.length>0?e.getNextPageParam(s[n],s,a[n],a):void 0}function L6(e,{pages:s,pageParams:a}){return s.length>0?e.getPreviousPageParam?.(s[0],s,a[0],a):void 0}var j6=class{#e;#s;#t;#n;#a;#r;#o;#i;constructor(e={}){this.#e=e.queryCache||new y6,this.#s=e.mutationCache||new E6,this.#t=e.defaultOptions||{},this.#n=new Map,this.#a=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#o=V2.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=Im.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#o?.(),this.#o=void 0,this.#i?.(),this.#i=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#s.findAll({...e,status:"pending"}).length}getQueryData(e){const s=this.defaultQueryOptions({queryKey:e});return this.#e.get(s.queryHash)?.state.data}ensureQueryData(e){const s=this.defaultQueryOptions(e),a=this.#e.build(this,s),n=a.state.data;return n===void 0?this.fetchQuery(e):(e.revalidateIfStale&&a.isStaleByTime(ip(s.staleTime,a))&&this.prefetchQuery(s),Promise.resolve(n))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:s,state:a})=>{const n=a.data;return[s,n]})}setQueryData(e,s,a){const n=this.defaultQueryOptions({queryKey:e}),r=this.#e.get(n.queryHash)?.state.data,o=r6(s,r);if(o!==void 0)return this.#e.build(this,n).setData(o,{...a,manual:!0})}setQueriesData(e,s,a){return $t.batch(()=>this.#e.findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,s,a)]))}getQueryState(e){const s=this.defaultQueryOptions({queryKey:e});return this.#e.get(s.queryHash)?.state}removeQueries(e){const s=this.#e;$t.batch(()=>{s.findAll(e).forEach(a=>{s.remove(a)})})}resetQueries(e,s){const a=this.#e;return $t.batch(()=>(a.findAll(e).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...e},s)))}cancelQueries(e,s={}){const a={revert:!0,...s},n=$t.batch(()=>this.#e.findAll(e).map(i=>i.cancel(a)));return Promise.all(n).then(Wa).catch(Wa)}invalidateQueries(e,s={}){return $t.batch(()=>(this.#e.findAll(e).forEach(a=>{a.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},s)))}refetchQueries(e,s={}){const a={...s,cancelRefetch:s.cancelRefetch??!0},n=$t.batch(()=>this.#e.findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let r=i.fetch(void 0,a);return a.throwOnError||(r=r.catch(Wa)),i.state.fetchStatus==="paused"?Promise.resolve():r}));return Promise.all(n).then(Wa)}fetchQuery(e){const s=this.defaultQueryOptions(e);s.retry===void 0&&(s.retry=!1);const a=this.#e.build(this,s);return a.isStaleByTime(ip(s.staleTime,a))?a.fetch(s):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Wa).catch(Wa)}fetchInfiniteQuery(e){return e.behavior=qD(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Wa).catch(Wa)}ensureInfiniteQueryData(e){return e.behavior=qD(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Im.isOnline()?this.#s.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#s}getDefaultOptions(){return this.#t}setDefaultOptions(e){this.#t=e}setQueryDefaults(e,s){this.#n.set(wu(e),{queryKey:e,defaultOptions:s})}getQueryDefaults(e){const s=[...this.#n.values()],a={};return s.forEach(n=>{Uu(e,n.queryKey)&&Object.assign(a,n.defaultOptions)}),a}setMutationDefaults(e,s){this.#a.set(wu(e),{mutationKey:e,defaultOptions:s})}getMutationDefaults(e){const s=[...this.#a.values()],a={};return s.forEach(n=>{Uu(e,n.mutationKey)&&Object.assign(a,n.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;const s={...this.#t.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return s.queryHash||(s.queryHash=Yv(s.queryKey,s)),s.refetchOnReconnect===void 0&&(s.refetchOnReconnect=s.networkMode!=="always"),s.throwOnError===void 0&&(s.throwOnError=!!s.suspense),!s.networkMode&&s.persister&&(s.networkMode="offlineFirst"),s.queryFn===Om&&(s.enabled=!1),s}defaultMutationOptions(e){return e?._defaulted?e:{...this.#t.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#s.clear()}},w6=v.createContext(void 0),U6=({client:e,children:s})=>(v.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),q.jsx(w6.Provider,{value:e,children:s}));const Je={phone:"+48 732 123 213",phoneTel:"+48732123213",phoneHref:"tel:+48732123213",fax:"+48 732 123 123",email:"info@gatescbank.com",website:"www.gatescbank.com",hours:"8am - 5:30pm daily",address:"Warsaw Financial Center, Emilii Plater 53, 00-113 Warsaw, Poland"},H6=[{title:"Personal",links:[{name:"Accounts",url:"/personal"},{name:"Home Loans",url:"/personal/home-loans"},{name:"Credit Cards",url:"/personal/credit-cards"},{name:"Personal Loans",url:"/personal/personal-loans"},{name:"Insurance",url:"/personal/insurance"}]},{title:"Business",links:[{name:"Business Banking",url:"/business/banking"},{name:"Loans & Finance",url:"/business/loans"},{name:"Investments",url:"/business/investments"},{name:"Professional Services",url:"/business/professional-services"}]},{title:"Rural",links:[{name:"Starting Rural Business",url:"/rural/starting"},{name:"Growing Your Business",url:"/rural/growing"},{name:"Accounts & Services",url:"/rural/accounts"},{name:"Private Banking",url:"/rural/private-banking"}]},{title:"Company",links:[{name:"About",url:"/about"},{name:"Contact",url:"/contact"},{name:"News",url:"/company/news"}]},{title:"Legal",links:[{name:"Terms",url:"/legal/terms"},{name:"Privacy",url:"/legal/privacy"}]}],V6=({name:e,url:s})=>{if(s.startsWith("http")||s.startsWith("mailto")||s.startsWith("tel")){const n=s.startsWith("http")?"_blank":void 0,i=n?"noreferrer":void 0;return t.jsxDEV("li",{children:t.jsxDEV("a",{href:s,target:n,rel:i,className:"text-xs transition-colors hover:text-amber-300 sm:text-sm",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:60,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:59,columnNumber:7},void 0)}return t.jsxDEV("li",{children:t.jsxDEV(I,{to:s,className:"text-xs transition-colors hover:text-amber-300 sm:text-sm",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:74,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:73,columnNumber:5},void 0)},P6=({title:e,links:s})=>t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h3",{className:"text-sm font-semibold text-amber-300 sm:text-base",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:92,columnNumber:5},void 0),t.jsxDEV("ul",{className:"space-y-1.5 text-emerald-100",children:s.map(a=>t.jsxDEV(V6,{...a},a.name,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:97,columnNumber:9},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:95,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:91,columnNumber:3},void 0),Ie=()=>t.jsxDEV("footer",{className:"bg-gradient-to-b from-emerald-900 via-emerald-950 to-emerald-900 text-emerald-50",children:[t.jsxDEV("div",{className:"container mx-auto px-4 py-8 sm:py-12",children:t.jsxDEV("div",{className:"space-y-6 sm:space-y-8",children:[t.jsxDEV("div",{className:"rounded-xl bg-white/5 p-4 shadow-lg backdrop-blur sm:p-6",children:[t.jsxDEV("div",{className:"mb-2 text-sm font-bold text-amber-300 sm:text-base",children:"Gates Capital Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:109,columnNumber:13},void 0),t.jsxDEV("div",{className:"flex flex-col gap-2 text-sm text-emerald-100 sm:flex-row sm:flex-wrap sm:items-center sm:gap-x-6",children:[t.jsxDEV("a",{href:Je.phoneHref,className:"inline-flex items-center gap-2 hover:text-amber-300 transition-colors",children:[t.jsxDEV(ss,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:117,columnNumber:17},void 0),Je.phone]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:113,columnNumber:15},void 0),t.jsxDEV("a",{href:`mailto:${Je.email}`,className:"inline-flex items-center gap-2 hover:text-amber-300 transition-colors",children:[t.jsxDEV(ra,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:124,columnNumber:17},void 0),Je.email]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:120,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:112,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:108,columnNumber:11},void 0),t.jsxDEV("div",{className:"grid grid-cols-2 gap-4 sm:gap-6 md:grid-cols-3 lg:grid-cols-5",children:H6.map(e=>t.jsxDEV(P6,{...e},e.title,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:132,columnNumber:15},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:130,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:107,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:106,columnNumber:7},void 0),t.jsxDEV("div",{className:"border-t border-white/10",children:t.jsxDEV("div",{className:"container mx-auto px-4 py-4",children:t.jsxDEV("div",{className:"flex flex-col items-center gap-2 text-center text-xs text-emerald-100 md:flex-row md:justify-between md:text-sm",children:[t.jsxDEV("p",{children:"© 2025 Gates Capital Banking. All rights reserved."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:141,columnNumber:13},void 0),t.jsxDEV("div",{className:"flex flex-wrap justify-center gap-4 md:justify-end",children:[t.jsxDEV(I,{to:"/legal/terms",className:"hover:text-amber-300 transition-colors",children:"Terms"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:143,columnNumber:15},void 0),t.jsxDEV(I,{to:"/legal/privacy",className:"hover:text-amber-300 transition-colors",children:"Privacy"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:149,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:142,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:140,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:139,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:138,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Footer.tsx",lineNumber:105,columnNumber:5},void 0),A6=rn("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{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"}}),L=v.forwardRef(({className:e,variant:s,size:a,asChild:n=!1,...i},r)=>{const o=n?$5:"button";return t.jsxDEV(o,{className:me(A6({variant:s,size:a,className:e})),ref:r,...i},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/button.tsx",lineNumber:42,columnNumber:12},void 0)});L.displayName="Button";var Af="focusScope.autoFocusOnMount",Sf="focusScope.autoFocusOnUnmount",zD={bubbles:!1,cancelable:!0},S6="FocusScope",Qv=v.forwardRef((e,s)=>{const{loop:a=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:r,...o}=e,[l,u]=v.useState(null),c=ha(i),m=ha(r),d=v.useRef(null),b=ns(s,g=>u(g)),f=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(n){let g=function(N){if(f.paused||!l)return;const C=N.target;l.contains(C)?d.current=C:hi(d.current,{select:!0})},p=function(N){if(f.paused||!l)return;const C=N.relatedTarget;C!==null&&(l.contains(C)||hi(d.current,{select:!0}))},x=function(N){if(document.activeElement===document.body)for(const y of N)y.removedNodes.length>0&&hi(l)};document.addEventListener("focusin",g),document.addEventListener("focusout",p);const D=new MutationObserver(x);return l&&D.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",p),D.disconnect()}}},[n,l,f.paused]),v.useEffect(()=>{if(l){YD.add(f);const g=document.activeElement;if(!l.contains(g)){const x=new CustomEvent(Af,zD);l.addEventListener(Af,c),l.dispatchEvent(x),x.defaultPrevented||(T6(I6(_2(l)),{select:!0}),document.activeElement===g&&hi(l))}return()=>{l.removeEventListener(Af,c),setTimeout(()=>{const x=new CustomEvent(Sf,zD);l.addEventListener(Sf,m),l.dispatchEvent(x),x.defaultPrevented||hi(g??document.body,{select:!0}),l.removeEventListener(Sf,m),YD.remove(f)},0)}}},[l,c,m,f]);const h=v.useCallback(g=>{if(!a&&!n||f.paused)return;const p=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,x=document.activeElement;if(p&&x){const D=g.currentTarget,[N,C]=_6(D);N&&C?!g.shiftKey&&x===C?(g.preventDefault(),a&&hi(N,{select:!0})):g.shiftKey&&x===N&&(g.preventDefault(),a&&hi(C,{select:!0})):x===D&&g.preventDefault()}},[a,n,f.paused]);return q.jsx(Ve.div,{tabIndex:-1,...o,ref:b,onKeyDown:h})});Qv.displayName=S6;function T6(e,{select:s=!1}={}){const a=document.activeElement;for(const n of e)if(hi(n,{select:s}),document.activeElement!==a)return}function _6(e){const s=_2(e),a=KD(s,e),n=KD(s.reverse(),e);return[a,n]}function _2(e){const s=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)s.push(a.currentNode);return s}function KD(e,s){for(const a of e)if(!R6(a,{upTo:s}))return a}function R6(e,{upTo:s}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(s!==void 0&&e===s)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function M6(e){return e instanceof HTMLInputElement&&"select"in e}function hi(e,{select:s=!1}={}){if(e&&e.focus){const a=document.activeElement;e.focus({preventScroll:!0}),e!==a&&M6(e)&&s&&e.select()}}var YD=O6();function O6(){let e=[];return{add(s){const a=e[0];s!==a&&a?.pause(),e=QD(e,s),e.unshift(s)},remove(s){e=QD(e,s),e[0]?.resume()}}}function QD(e,s){const a=[...e],n=a.indexOf(s);return n!==-1&&a.splice(n,1),a}function I6(e){return e.filter(s=>s.tagName!=="A")}var Tf=0;function R2(){v.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??ZD()),document.body.insertAdjacentElement("beforeend",e[1]??ZD()),Tf++,()=>{Tf===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(s=>s.remove()),Tf--}},[])}function ZD(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var vn=function(){return vn=Object.assign||function(s){for(var a,n=1,i=arguments.length;n<i;n++){a=arguments[n];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(s[r]=a[r])}return s},vn.apply(this,arguments)};function M2(e,s){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&s.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)s.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(a[n[i]]=e[n[i]]);return a}function $6(e,s,a){if(a||arguments.length===2)for(var n=0,i=s.length,r;n<i;n++)(r||!(n in s))&&(r||(r=Array.prototype.slice.call(s,0,n)),r[n]=s[n]);return e.concat(r||Array.prototype.slice.call(s))}var Um="right-scroll-bar-position",Hm="width-before-scroll-bar",F6="with-scroll-bars-hidden",B6="--removed-body-scroll-bar-size";function _f(e,s){return typeof e=="function"?e(s):e&&(e.current=s),e}function q6(e,s){var a=v.useState(function(){return{value:e,callback:s,facade:{get current(){return a.value},set current(n){var i=a.value;i!==n&&(a.value=n,a.callback(n,i))}}}})[0];return a.callback=s,a.facade}var W6=typeof window<"u"?v.useLayoutEffect:v.useEffect,XD=new WeakMap;function z6(e,s){var a=q6(null,function(n){return e.forEach(function(i){return _f(i,n)})});return W6(function(){var n=XD.get(a);if(n){var i=new Set(n),r=new Set(e),o=a.current;i.forEach(function(l){r.has(l)||_f(l,null)}),r.forEach(function(l){i.has(l)||_f(l,o)})}XD.set(a,e)},[e]),a}function K6(e){return e}function Y6(e,s){s===void 0&&(s=K6);var a=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:e},useMedium:function(r){var o=s(r,n);return a.push(o),function(){a=a.filter(function(l){return l!==o})}},assignSyncMedium:function(r){for(n=!0;a.length;){var o=a;a=[],o.forEach(r)}a={push:function(l){return r(l)},filter:function(){return a}}},assignMedium:function(r){n=!0;var o=[];if(a.length){var l=a;a=[],l.forEach(r),o=a}var u=function(){var m=o;o=[],m.forEach(r)},c=function(){return Promise.resolve().then(u)};c(),a={push:function(m){o.push(m),c()},filter:function(m){return o=o.filter(m),a}}}};return i}function Q6(e){e===void 0&&(e={});var s=Y6(null);return s.options=vn({async:!0,ssr:!1},e),s}var O2=function(e){var s=e.sideCar,a=M2(e,["sideCar"]);if(!s)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=s.read();if(!n)throw new Error("Sidecar medium not found");return v.createElement(n,vn({},a))};O2.isSideCarExport=!0;function Z6(e,s){return e.useMedium(s),O2}var I2=Q6(),Rf=function(){},xb=v.forwardRef(function(e,s){var a=v.useRef(null),n=v.useState({onScrollCapture:Rf,onWheelCapture:Rf,onTouchMoveCapture:Rf}),i=n[0],r=n[1],o=e.forwardProps,l=e.children,u=e.className,c=e.removeScrollBar,m=e.enabled,d=e.shards,b=e.sideCar,f=e.noRelative,h=e.noIsolation,g=e.inert,p=e.allowPinchZoom,x=e.as,D=x===void 0?"div":x,N=e.gapMode,C=M2(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),y=b,G=z6([a,s]),k=vn(vn({},C),i);return v.createElement(v.Fragment,null,m&&v.createElement(y,{sideCar:I2,removeScrollBar:c,shards:d,noRelative:f,noIsolation:h,inert:g,setCallbacks:r,allowPinchZoom:!!p,lockRef:a,gapMode:N}),o?v.cloneElement(v.Children.only(l),vn(vn({},k),{ref:G})):v.createElement(D,vn({},k,{className:u,ref:G}),l))});xb.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};xb.classNames={fullWidth:Hm,zeroRight:Um};var X6=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function J6(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var s=X6();return s&&e.setAttribute("nonce",s),e}function e7(e,s){e.styleSheet?e.styleSheet.cssText=s:e.appendChild(document.createTextNode(s))}function s7(e){var s=document.head||document.getElementsByTagName("head")[0];s.appendChild(e)}var t7=function(){var e=0,s=null;return{add:function(a){e==0&&(s=J6())&&(e7(s,a),s7(s)),e++},remove:function(){e--,!e&&s&&(s.parentNode&&s.parentNode.removeChild(s),s=null)}}},a7=function(){var e=t7();return function(s,a){v.useEffect(function(){return e.add(s),function(){e.remove()}},[s&&a])}},$2=function(){var e=a7(),s=function(a){var n=a.styles,i=a.dynamic;return e(n,i),null};return s},n7={left:0,top:0,right:0,gap:0},Mf=function(e){return parseInt(e||"",10)||0},i7=function(e){var s=window.getComputedStyle(document.body),a=s[e==="padding"?"paddingLeft":"marginLeft"],n=s[e==="padding"?"paddingTop":"marginTop"],i=s[e==="padding"?"paddingRight":"marginRight"];return[Mf(a),Mf(n),Mf(i)]},r7=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return n7;var s=i7(e),a=document.documentElement.clientWidth,n=window.innerWidth;return{left:s[0],top:s[1],right:s[2],gap:Math.max(0,n-a+s[2]-s[0])}},o7=$2(),yo="data-scroll-locked",l7=function(e,s,a,n){var i=e.left,r=e.top,o=e.right,l=e.gap;return a===void 0&&(a="margin"),`
  .`.concat(F6,` {
   overflow: hidden `).concat(n,`;
   padding-right: `).concat(l,"px ").concat(n,`;
  }
  body[`).concat(yo,`] {
    overflow: hidden `).concat(n,`;
    overscroll-behavior: contain;
    `).concat([s&&"position: relative ".concat(n,";"),a==="margin"&&`
    padding-left: `.concat(i,`px;
    padding-top: `).concat(r,`px;
    padding-right: `).concat(o,`px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(l,"px ").concat(n,`;
    `),a==="padding"&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),`
  }
  
  .`).concat(Um,` {
    right: `).concat(l,"px ").concat(n,`;
  }
  
  .`).concat(Hm,` {
    margin-right: `).concat(l,"px ").concat(n,`;
  }
  
  .`).concat(Um," .").concat(Um,` {
    right: 0 `).concat(n,`;
  }
  
  .`).concat(Hm," .").concat(Hm,` {
    margin-right: 0 `).concat(n,`;
  }
  
  body[`).concat(yo,`] {
    `).concat(B6,": ").concat(l,`px;
  }
`)},JD=function(){var e=parseInt(document.body.getAttribute(yo)||"0",10);return isFinite(e)?e:0},u7=function(){v.useEffect(function(){return document.body.setAttribute(yo,(JD()+1).toString()),function(){var e=JD()-1;e<=0?document.body.removeAttribute(yo):document.body.setAttribute(yo,e.toString())}},[])},c7=function(e){var s=e.noRelative,a=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n;u7();var r=v.useMemo(function(){return r7(i)},[i]);return v.createElement(o7,{styles:l7(r,!s,i,a?"":"!important")})},lp=!1;if(typeof window<"u")try{var Qc=Object.defineProperty({},"passive",{get:function(){return lp=!0,!0}});window.addEventListener("test",Qc,Qc),window.removeEventListener("test",Qc,Qc)}catch{lp=!1}var zr=lp?{passive:!1}:!1,m7=function(e){return e.tagName==="TEXTAREA"},F2=function(e,s){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[s]!=="hidden"&&!(a.overflowY===a.overflowX&&!m7(e)&&a[s]==="visible")},d7=function(e){return F2(e,"overflowY")},b7=function(e){return F2(e,"overflowX")},e0=function(e,s){var a=s.ownerDocument,n=s;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=B2(e,n);if(i){var r=q2(e,n),o=r[1],l=r[2];if(o>l)return!0}n=n.parentNode}while(n&&n!==a.body);return!1},f7=function(e){var s=e.scrollTop,a=e.scrollHeight,n=e.clientHeight;return[s,a,n]},g7=function(e){var s=e.scrollLeft,a=e.scrollWidth,n=e.clientWidth;return[s,a,n]},B2=function(e,s){return e==="v"?d7(s):b7(s)},q2=function(e,s){return e==="v"?f7(s):g7(s)},p7=function(e,s){return e==="h"&&s==="rtl"?-1:1},h7=function(e,s,a,n,i){var r=p7(e,window.getComputedStyle(s).direction),o=r*n,l=a.target,u=s.contains(l),c=!1,m=o>0,d=0,b=0;do{if(!l)break;var f=q2(e,l),h=f[0],g=f[1],p=f[2],x=g-p-r*h;(h||x)&&B2(e,l)&&(d+=x,b+=h);var D=l.parentNode;l=D&&D.nodeType===Node.DOCUMENT_FRAGMENT_NODE?D.host:D}while(!u&&l!==document.body||u&&(s.contains(l)||s===l));return(m&&(Math.abs(d)<1||!i)||!m&&(Math.abs(b)<1||!i))&&(c=!0),c},Zc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},s0=function(e){return[e.deltaX,e.deltaY]},t0=function(e){return e&&"current"in e?e.current:e},v7=function(e,s){return e[0]===s[0]&&e[1]===s[1]},N7=function(e){return`
  .block-interactivity-`.concat(e,` {pointer-events: none;}
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},x7=0,Kr=[];function D7(e){var s=v.useRef([]),a=v.useRef([0,0]),n=v.useRef(),i=v.useState(x7++)[0],r=v.useState($2)[0],o=v.useRef(e);v.useEffect(function(){o.current=e},[e]),v.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var g=$6([e.lockRef.current],(e.shards||[]).map(t0),!0).filter(Boolean);return g.forEach(function(p){return p.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),g.forEach(function(p){return p.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=v.useCallback(function(g,p){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!o.current.allowPinchZoom;var x=Zc(g),D=a.current,N="deltaX"in g?g.deltaX:D[0]-x[0],C="deltaY"in g?g.deltaY:D[1]-x[1],y,G=g.target,k=Math.abs(N)>Math.abs(C)?"h":"v";if("touches"in g&&k==="h"&&G.type==="range")return!1;var E=e0(k,G);if(!E)return!0;if(E?y=k:(y=k==="v"?"h":"v",E=e0(k,G)),!E)return!1;if(!n.current&&"changedTouches"in g&&(N||C)&&(n.current=y),!y)return!0;var U=n.current||y;return h7(U,p,g,U==="h"?N:C,!0)},[]),u=v.useCallback(function(g){var p=g;if(!(!Kr.length||Kr[Kr.length-1]!==r)){var x="deltaY"in p?s0(p):Zc(p),D=s.current.filter(function(y){return y.name===p.type&&(y.target===p.target||p.target===y.shadowParent)&&v7(y.delta,x)})[0];if(D&&D.should){p.cancelable&&p.preventDefault();return}if(!D){var N=(o.current.shards||[]).map(t0).filter(Boolean).filter(function(y){return y.contains(p.target)}),C=N.length>0?l(p,N[0]):!o.current.noIsolation;C&&p.cancelable&&p.preventDefault()}}},[]),c=v.useCallback(function(g,p,x,D){var N={name:g,delta:p,target:x,should:D,shadowParent:G7(x)};s.current.push(N),setTimeout(function(){s.current=s.current.filter(function(C){return C!==N})},1)},[]),m=v.useCallback(function(g){a.current=Zc(g),n.current=void 0},[]),d=v.useCallback(function(g){c(g.type,s0(g),g.target,l(g,e.lockRef.current))},[]),b=v.useCallback(function(g){c(g.type,Zc(g),g.target,l(g,e.lockRef.current))},[]);v.useEffect(function(){return Kr.push(r),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:b}),document.addEventListener("wheel",u,zr),document.addEventListener("touchmove",u,zr),document.addEventListener("touchstart",m,zr),function(){Kr=Kr.filter(function(g){return g!==r}),document.removeEventListener("wheel",u,zr),document.removeEventListener("touchmove",u,zr),document.removeEventListener("touchstart",m,zr)}},[]);var f=e.removeScrollBar,h=e.inert;return v.createElement(v.Fragment,null,h?v.createElement(r,{styles:N7(i)}):null,f?v.createElement(c7,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function G7(e){for(var s=null;e!==null;)e instanceof ShadowRoot&&(s=e.host,e=e.host),e=e.parentNode;return s}const y7=Z6(I2,D7);var Zv=v.forwardRef(function(e,s){return v.createElement(xb,vn({},e,{ref:s,sideCar:y7}))});Zv.classNames=xb.classNames;var C7=function(e){if(typeof document>"u")return null;var s=Array.isArray(e)?e[0]:e;return s.ownerDocument.body},Yr=new WeakMap,Xc=new WeakMap,Jc={},Of=0,W2=function(e){return e&&(e.host||W2(e.parentNode))},k7=function(e,s){return s.map(function(a){if(e.contains(a))return a;var n=W2(a);return n&&e.contains(n)?n:(console.error("aria-hidden",a,"in not contained inside",e,". Doing nothing"),null)}).filter(function(a){return!!a})},E7=function(e,s,a,n){var i=k7(s,Array.isArray(e)?e:[e]);Jc[a]||(Jc[a]=new WeakMap);var r=Jc[a],o=[],l=new Set,u=new Set(i),c=function(d){!d||l.has(d)||(l.add(d),c(d.parentNode))};i.forEach(c);var m=function(d){!d||u.has(d)||Array.prototype.forEach.call(d.children,function(b){if(l.has(b))m(b);else try{var f=b.getAttribute(n),h=f!==null&&f!=="false",g=(Yr.get(b)||0)+1,p=(r.get(b)||0)+1;Yr.set(b,g),r.set(b,p),o.push(b),g===1&&h&&Xc.set(b,!0),p===1&&b.setAttribute(a,"true"),h||b.setAttribute(n,"true")}catch(x){console.error("aria-hidden: cannot operate on ",b,x)}})};return m(s),l.clear(),Of++,function(){o.forEach(function(d){var b=Yr.get(d)-1,f=r.get(d)-1;Yr.set(d,b),r.set(d,f),b||(Xc.has(d)||d.removeAttribute(n),Xc.delete(d)),f||d.removeAttribute(a)}),Of--,Of||(Yr=new WeakMap,Yr=new WeakMap,Xc=new WeakMap,Jc={})}},z2=function(e,s,a){a===void 0&&(a="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=C7(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),E7(n,i,a,"aria-hidden")):function(){return null}},Db="Dialog",[K2,YGe]=Mt(Db),[L7,on]=K2(Db),Y2=e=>{const{__scopeDialog:s,children:a,open:n,defaultOpen:i,onOpenChange:r,modal:o=!0}=e,l=v.useRef(null),u=v.useRef(null),[c,m]=va({prop:n,defaultProp:i??!1,onChange:r,caller:Db});return q.jsx(L7,{scope:s,triggerRef:l,contentRef:u,contentId:Xa(),titleId:Xa(),descriptionId:Xa(),open:c,onOpenChange:m,onOpenToggle:v.useCallback(()=>m(d=>!d),[m]),modal:o,children:a})};Y2.displayName=Db;var Q2="DialogTrigger",Z2=v.forwardRef((e,s)=>{const{__scopeDialog:a,...n}=e,i=on(Q2,a),r=ns(s,i.triggerRef);return q.jsx(Ve.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":eN(i.open),...n,ref:r,onClick:je(e.onClick,i.onOpenToggle)})});Z2.displayName=Q2;var Xv="DialogPortal",[j7,X2]=K2(Xv,{forceMount:void 0}),J2=e=>{const{__scopeDialog:s,forceMount:a,children:n,container:i}=e,r=on(Xv,s);return q.jsx(j7,{scope:s,forceMount:a,children:v.Children.map(n,o=>q.jsx(nn,{present:a||r.open,children:q.jsx(rb,{asChild:!0,container:i,children:o})}))})};J2.displayName=Xv;var $m="DialogOverlay",eL=v.forwardRef((e,s)=>{const a=X2($m,e.__scopeDialog),{forceMount:n=a.forceMount,...i}=e,r=on($m,e.__scopeDialog);return r.modal?q.jsx(nn,{present:n||r.open,children:q.jsx(U7,{...i,ref:s})}):null});eL.displayName=$m;var w7=Uo("DialogOverlay.RemoveScroll"),U7=v.forwardRef((e,s)=>{const{__scopeDialog:a,...n}=e,i=on($m,a);return q.jsx(Zv,{as:w7,allowPinchZoom:!0,shards:[i.contentRef],children:q.jsx(Ve.div,{"data-state":eN(i.open),...n,ref:s,style:{pointerEvents:"auto",...n.style}})})}),Cr="DialogContent",sL=v.forwardRef((e,s)=>{const a=X2(Cr,e.__scopeDialog),{forceMount:n=a.forceMount,...i}=e,r=on(Cr,e.__scopeDialog);return q.jsx(nn,{present:n||r.open,children:r.modal?q.jsx(H7,{...i,ref:s}):q.jsx(V7,{...i,ref:s})})});sL.displayName=Cr;var H7=v.forwardRef((e,s)=>{const a=on(Cr,e.__scopeDialog),n=v.useRef(null),i=ns(s,a.contentRef,n);return v.useEffect(()=>{const r=n.current;if(r)return z2(r)},[]),q.jsx(tL,{...e,ref:i,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:je(e.onCloseAutoFocus,r=>{r.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:je(e.onPointerDownOutside,r=>{const o=r.detail.originalEvent,l=o.button===0&&o.ctrlKey===!0;(o.button===2||l)&&r.preventDefault()}),onFocusOutside:je(e.onFocusOutside,r=>r.preventDefault())})}),V7=v.forwardRef((e,s)=>{const a=on(Cr,e.__scopeDialog),n=v.useRef(!1),i=v.useRef(!1);return q.jsx(tL,{...e,ref:s,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{e.onCloseAutoFocus?.(r),r.defaultPrevented||(n.current||a.triggerRef.current?.focus(),r.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:r=>{e.onInteractOutside?.(r),r.defaultPrevented||(n.current=!0,r.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const o=r.target;a.triggerRef.current?.contains(o)&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&i.current&&r.preventDefault()}})}),tL=v.forwardRef((e,s)=>{const{__scopeDialog:a,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:r,...o}=e,l=on(Cr,a),u=v.useRef(null),c=ns(s,u);return R2(),q.jsxs(q.Fragment,{children:[q.jsx(Qv,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:r,children:q.jsx(dl,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":eN(l.open),...o,ref:c,onDismiss:()=>l.onOpenChange(!1)})}),q.jsxs(q.Fragment,{children:[q.jsx(P7,{titleId:l.titleId}),q.jsx(S7,{contentRef:u,descriptionId:l.descriptionId})]})]})}),Jv="DialogTitle",aL=v.forwardRef((e,s)=>{const{__scopeDialog:a,...n}=e,i=on(Jv,a);return q.jsx(Ve.h2,{id:i.titleId,...n,ref:s})});aL.displayName=Jv;var nL="DialogDescription",iL=v.forwardRef((e,s)=>{const{__scopeDialog:a,...n}=e,i=on(nL,a);return q.jsx(Ve.p,{id:i.descriptionId,...n,ref:s})});iL.displayName=nL;var rL="DialogClose",oL=v.forwardRef((e,s)=>{const{__scopeDialog:a,...n}=e,i=on(rL,a);return q.jsx(Ve.button,{type:"button",...n,ref:s,onClick:je(e.onClick,()=>i.onOpenChange(!1))})});oL.displayName=rL;function eN(e){return e?"open":"closed"}var lL="DialogTitleWarning",[QGe,uL]=O5(lL,{contentName:Cr,titleName:Jv,docsSlug:"dialog"}),P7=({titleId:e})=>{const s=uL(lL),a=`\`${s.contentName}\` requires a \`${s.titleName}\` for the component to be accessible for screen reader users.

If you want to hide the \`${s.titleName}\`, you can wrap it with our VisuallyHidden component.

For more information, see https://radix-ui.com/primitives/docs/components/${s.docsSlug}`;return v.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},A7="DialogDescriptionWarning",S7=({contentRef:e,descriptionId:s})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${uL(A7).contentName}}.`;return v.useEffect(()=>{const i=e.current?.getAttribute("aria-describedby");s&&i&&(document.getElementById(s)||console.warn(n))},[n,e,s]),null},cL=Y2,T7=Z2,mL=J2,Gb=eL,yb=sL,Cb=aL,kb=iL,sN=oL;const dL=cL,bL=T7,ca=sN,_7=mL,fL=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(Gb,{className:me("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...s,ref:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/sheet.tsx",lineNumber:20,columnNumber:3},void 0));fL.displayName=Gb.displayName;const R7=rn("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),tN=v.forwardRef(({side:e="right",className:s,children:a,...n},i)=>t.jsxDEV(_7,{children:[t.jsxDEV(fL,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/sheet.tsx",lineNumber:57,columnNumber:7},void 0),t.jsxDEV(yb,{ref:i,className:me(R7({side:e}),s),...n,children:[a,t.jsxDEV(sN,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[t.jsxDEV(mb,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/sheet.tsx",lineNumber:61,columnNumber:11},void 0),t.jsxDEV("span",{className:"sr-only",children:"Close"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/sheet.tsx",lineNumber:62,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/sheet.tsx",lineNumber:60,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/sheet.tsx",lineNumber:58,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/sheet.tsx",lineNumber:56,columnNumber:5},void 0));tN.displayName=yb.displayName;const M7=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(Cb,{ref:a,className:me("text-lg font-semibold text-foreground",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/sheet.tsx",lineNumber:84,columnNumber:3},void 0));M7.displayName=Cb.displayName;const O7=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(kb,{ref:a,className:me("text-sm text-muted-foreground",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/sheet.tsx",lineNumber:92,columnNumber:3},void 0));O7.displayName=kb.displayName;function I7({parentTo:e,items:s,width:a="w-64"}){return t.jsxDEV("div",{className:`absolute left-0 mt-1 ${a} bg-white rounded-md shadow-lg z-50 border border-gray-200 opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200`,role:"navigation","aria-label":"submenu",children:t.jsxDEV("div",{className:"py-2",children:[e&&t.jsxDEV(I,{to:e,className:"block px-4 py-3 text-sm text-gray-700 hover:bg-gray-100 hover:text-emerald-700 transition-colors",children:t.jsxDEV("span",{className:"font-medium",children:"Overview"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/NavDropdown.tsx",lineNumber:33,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/NavDropdown.tsx",lineNumber:29,columnNumber:11},this),s.map(n=>{const i=n.icon;return t.jsxDEV(I,{to:n.to,className:"flex items-start gap-3 px-4 py-3 hover:bg-gray-50 transition-colors text-sm text-gray-700",children:[i?t.jsxDEV("div",{className:"flex items-center justify-center w-7 h-7 rounded-full bg-emerald-50 text-emerald-700",children:t.jsxDEV(i,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/NavDropdown.tsx",lineNumber:47,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/NavDropdown.tsx",lineNumber:46,columnNumber:17},this):t.jsxDEV("div",{className:"w-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/NavDropdown.tsx",lineNumber:50,columnNumber:17},this),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("div",{className:"font-medium",children:n.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/NavDropdown.tsx",lineNumber:53,columnNumber:17},this),n.description&&t.jsxDEV("div",{className:"text-xs text-muted-foreground mt-1",children:n.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/NavDropdown.tsx",lineNumber:54,columnNumber:36},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/NavDropdown.tsx",lineNumber:52,columnNumber:15},this)]},n.to,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/NavDropdown.tsx",lineNumber:40,columnNumber:13},this)})]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/NavDropdown.tsx",lineNumber:26,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/NavDropdown.tsx",lineNumber:21,columnNumber:5},this)}const kr=({showTagline:e=!0,showText:s=!0,size:a="small",darkBackground:n=!1})=>{const i=a==="large"?"h-[72px]":"h-[60px]",r="/";return t.jsxDEV("img",{src:`${r}gatesbank-logo.png`,alt:"Gates Capital Bank - The Bank for changing world",className:`${i} object-contain`,onError:o=>{console.warn(`Logo image not found at ${r}gatesbank-logo.png`)}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Logo.tsx",lineNumber:20,columnNumber:5},void 0)},$7="modulepreload",F7=function(e){return"/"+e},a0={},_r=function(s,a,n){let i=Promise.resolve();if(a&&a.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=o?.nonce||o?.getAttribute("nonce");i=Promise.allSettled(a.map(u=>{if(u=F7(u),u in a0)return;a0[u]=!0;const c=u.endsWith(".css"),m=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${m}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":$7,c||(d.as="script"),d.crossOrigin="",d.href=u,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((b,f)=>{d.addEventListener("load",b),d.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${u}`)))})}))}function r(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return i.then(o=>{for(const l of o||[])l.status==="rejected"&&r(l.reason);return s().catch(r)})},B7=e=>{let s;return e?s=e:typeof fetch>"u"?s=(...a)=>_r(async()=>{const{default:n}=await Promise.resolve().then(()=>Gl);return{default:n}},void 0).then(({default:n})=>n(...a)):s=fetch,(...a)=>s(...a)};class aN extends Error{constructor(s,a="FunctionsError",n){super(s),this.name=a,this.context=n}}class n0 extends aN{constructor(s){super("Failed to send a request to the Edge Function","FunctionsFetchError",s)}}class i0 extends aN{constructor(s){super("Relay Error invoking the Edge Function","FunctionsRelayError",s)}}class r0 extends aN{constructor(s){super("Edge Function returned a non-2xx status code","FunctionsHttpError",s)}}var up;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(up||(up={}));var q7=function(e,s,a,n){function i(r){return r instanceof a?r:new a(function(o){o(r)})}return new(a||(a=Promise))(function(r,o){function l(m){try{c(n.next(m))}catch(d){o(d)}}function u(m){try{c(n.throw(m))}catch(d){o(d)}}function c(m){m.done?r(m.value):i(m.value).then(l,u)}c((n=n.apply(e,s||[])).next())})};class W7{constructor(s,{headers:a={},customFetch:n,region:i=up.Any}={}){this.url=s,this.headers=a,this.region=i,this.fetch=B7(n)}setAuth(s){this.headers.Authorization=`Bearer ${s}`}invoke(s){return q7(this,arguments,void 0,function*(a,n={}){var i;try{const{headers:r,method:o,body:l,signal:u}=n;let c={},{region:m}=n;m||(m=this.region);const d=new URL(`${this.url}/${a}`);m&&m!=="any"&&(c["x-region"]=m,d.searchParams.set("forceFunctionRegion",m));let b;l&&(r&&!Object.prototype.hasOwnProperty.call(r,"Content-Type")||!r)&&(typeof Blob<"u"&&l instanceof Blob||l instanceof ArrayBuffer?(c["Content-Type"]="application/octet-stream",b=l):typeof l=="string"?(c["Content-Type"]="text/plain",b=l):typeof FormData<"u"&&l instanceof FormData?b=l:(c["Content-Type"]="application/json",b=JSON.stringify(l)));const f=yield this.fetch(d.toString(),{method:o||"POST",headers:Object.assign(Object.assign(Object.assign({},c),this.headers),r),body:b,signal:u}).catch(x=>{throw x.name==="AbortError"?x:new n0(x)}),h=f.headers.get("x-relay-error");if(h&&h==="true")throw new i0(f);if(!f.ok)throw new r0(f);let g=((i=f.headers.get("Content-Type"))!==null&&i!==void 0?i:"text/plain").split(";")[0].trim(),p;return g==="application/json"?p=yield f.json():g==="application/octet-stream"?p=yield f.blob():g==="text/event-stream"?p=f:g==="multipart/form-data"?p=yield f.formData():p=yield f.text(),{data:p,error:null,response:f}}catch(r){return r instanceof Error&&r.name==="AbortError"?{data:null,error:new n0(r)}:{data:null,error:r,response:r instanceof r0||r instanceof i0?r.context:void 0}}})}}var Zt={},nN={},Eb={},Ec={},Lb={},jb={},z7=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")},_o=z7();const K7=_o.fetch,gL=_o.fetch.bind(_o),pL=_o.Headers,Y7=_o.Request,Q7=_o.Response,Gl=Object.freeze(Object.defineProperty({__proto__:null,Headers:pL,Request:Y7,Response:Q7,default:gL,fetch:K7},Symbol.toStringTag,{value:"Module"})),Z7=V5(Gl);var wb={};Object.defineProperty(wb,"__esModule",{value:!0});let X7=class extends Error{constructor(s){super(s.message),this.name="PostgrestError",this.details=s.details,this.hint=s.hint,this.code=s.code}};wb.default=X7;var hL=Tt&&Tt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jb,"__esModule",{value:!0});const J7=hL(Z7),eT=hL(wb);let sT=class{constructor(s){var a,n;this.shouldThrowOnError=!1,this.method=s.method,this.url=s.url,this.headers=new Headers(s.headers),this.schema=s.schema,this.body=s.body,this.shouldThrowOnError=(a=s.shouldThrowOnError)!==null&&a!==void 0?a:!1,this.signal=s.signal,this.isMaybeSingle=(n=s.isMaybeSingle)!==null&&n!==void 0?n:!1,s.fetch?this.fetch=s.fetch:typeof fetch>"u"?this.fetch=J7.default:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(s,a){return this.headers=new Headers(this.headers),this.headers.set(s,a),this}then(s,a){this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json");const n=this.fetch;let i=n(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async r=>{var o,l,u,c;let m=null,d=null,b=null,f=r.status,h=r.statusText;if(r.ok){if(this.method!=="HEAD"){const D=await r.text();D===""||(this.headers.get("Accept")==="text/csv"||this.headers.get("Accept")&&(!((o=this.headers.get("Accept"))===null||o===void 0)&&o.includes("application/vnd.pgrst.plan+text"))?d=D:d=JSON.parse(D))}const p=(l=this.headers.get("Prefer"))===null||l===void 0?void 0:l.match(/count=(exact|planned|estimated)/),x=(u=r.headers.get("content-range"))===null||u===void 0?void 0:u.split("/");p&&x&&x.length>1&&(b=parseInt(x[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(d)&&(d.length>1?(m={code:"PGRST116",details:`Results contain ${d.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},d=null,b=null,f=406,h="Not Acceptable"):d.length===1?d=d[0]:d=null)}else{const p=await r.text();try{m=JSON.parse(p),Array.isArray(m)&&r.status===404&&(d=[],m=null,f=200,h="OK")}catch{r.status===404&&p===""?(f=204,h="No Content"):m={message:p}}if(m&&this.isMaybeSingle&&(!((c=m?.details)===null||c===void 0)&&c.includes("0 rows"))&&(m=null,f=200,h="OK"),m&&this.shouldThrowOnError)throw new eT.default(m)}return{error:m,data:d,count:b,status:f,statusText:h}});return this.shouldThrowOnError||(i=i.catch(r=>{var o,l,u;return{error:{message:`${(o=r?.name)!==null&&o!==void 0?o:"FetchError"}: ${r?.message}`,details:`${(l=r?.stack)!==null&&l!==void 0?l:""}`,hint:"",code:`${(u=r?.code)!==null&&u!==void 0?u:""}`},data:null,count:null,status:0,statusText:""}})),i.then(s,a)}returns(){return this}overrideTypes(){return this}};jb.default=sT;var tT=Tt&&Tt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Lb,"__esModule",{value:!0});const aT=tT(jb);let nT=class extends aT.default{select(s){let a=!1;const n=(s??"*").split("").map(i=>/\s/.test(i)&&!a?"":(i==='"'&&(a=!a),i)).join("");return this.url.searchParams.set("select",n),this.headers.append("Prefer","return=representation"),this}order(s,{ascending:a=!0,nullsFirst:n,foreignTable:i,referencedTable:r=i}={}){const o=r?`${r}.order`:"order",l=this.url.searchParams.get(o);return this.url.searchParams.set(o,`${l?`${l},`:""}${s}.${a?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(s,{foreignTable:a,referencedTable:n=a}={}){const i=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(i,`${s}`),this}range(s,a,{foreignTable:n,referencedTable:i=n}={}){const r=typeof i>"u"?"offset":`${i}.offset`,o=typeof i>"u"?"limit":`${i}.limit`;return this.url.searchParams.set(r,`${s}`),this.url.searchParams.set(o,`${a-s+1}`),this}abortSignal(s){return this.signal=s,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.method==="GET"?this.headers.set("Accept","application/json"):this.headers.set("Accept","application/vnd.pgrst.object+json"),this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}explain({analyze:s=!1,verbose:a=!1,settings:n=!1,buffers:i=!1,wal:r=!1,format:o="text"}={}){var l;const u=[s?"analyze":null,a?"verbose":null,n?"settings":null,i?"buffers":null,r?"wal":null].filter(Boolean).join("|"),c=(l=this.headers.get("Accept"))!==null&&l!==void 0?l:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${o}; for="${c}"; options=${u};`),o==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(s){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${s}`),this}};Lb.default=nT;var iT=Tt&&Tt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ec,"__esModule",{value:!0});const rT=iT(Lb);let oT=class extends rT.default{eq(s,a){return this.url.searchParams.append(s,`eq.${a}`),this}neq(s,a){return this.url.searchParams.append(s,`neq.${a}`),this}gt(s,a){return this.url.searchParams.append(s,`gt.${a}`),this}gte(s,a){return this.url.searchParams.append(s,`gte.${a}`),this}lt(s,a){return this.url.searchParams.append(s,`lt.${a}`),this}lte(s,a){return this.url.searchParams.append(s,`lte.${a}`),this}like(s,a){return this.url.searchParams.append(s,`like.${a}`),this}likeAllOf(s,a){return this.url.searchParams.append(s,`like(all).{${a.join(",")}}`),this}likeAnyOf(s,a){return this.url.searchParams.append(s,`like(any).{${a.join(",")}}`),this}ilike(s,a){return this.url.searchParams.append(s,`ilike.${a}`),this}ilikeAllOf(s,a){return this.url.searchParams.append(s,`ilike(all).{${a.join(",")}}`),this}ilikeAnyOf(s,a){return this.url.searchParams.append(s,`ilike(any).{${a.join(",")}}`),this}is(s,a){return this.url.searchParams.append(s,`is.${a}`),this}in(s,a){const n=Array.from(new Set(a)).map(i=>typeof i=="string"&&new RegExp("[,()]").test(i)?`"${i}"`:`${i}`).join(",");return this.url.searchParams.append(s,`in.(${n})`),this}contains(s,a){return typeof a=="string"?this.url.searchParams.append(s,`cs.${a}`):Array.isArray(a)?this.url.searchParams.append(s,`cs.{${a.join(",")}}`):this.url.searchParams.append(s,`cs.${JSON.stringify(a)}`),this}containedBy(s,a){return typeof a=="string"?this.url.searchParams.append(s,`cd.${a}`):Array.isArray(a)?this.url.searchParams.append(s,`cd.{${a.join(",")}}`):this.url.searchParams.append(s,`cd.${JSON.stringify(a)}`),this}rangeGt(s,a){return this.url.searchParams.append(s,`sr.${a}`),this}rangeGte(s,a){return this.url.searchParams.append(s,`nxl.${a}`),this}rangeLt(s,a){return this.url.searchParams.append(s,`sl.${a}`),this}rangeLte(s,a){return this.url.searchParams.append(s,`nxr.${a}`),this}rangeAdjacent(s,a){return this.url.searchParams.append(s,`adj.${a}`),this}overlaps(s,a){return typeof a=="string"?this.url.searchParams.append(s,`ov.${a}`):this.url.searchParams.append(s,`ov.{${a.join(",")}}`),this}textSearch(s,a,{config:n,type:i}={}){let r="";i==="plain"?r="pl":i==="phrase"?r="ph":i==="websearch"&&(r="w");const o=n===void 0?"":`(${n})`;return this.url.searchParams.append(s,`${r}fts${o}.${a}`),this}match(s){return Object.entries(s).forEach(([a,n])=>{this.url.searchParams.append(a,`eq.${n}`)}),this}not(s,a,n){return this.url.searchParams.append(s,`not.${a}.${n}`),this}or(s,{foreignTable:a,referencedTable:n=a}={}){const i=n?`${n}.or`:"or";return this.url.searchParams.append(i,`(${s})`),this}filter(s,a,n){return this.url.searchParams.append(s,`${a}.${n}`),this}};Ec.default=oT;var lT=Tt&&Tt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Eb,"__esModule",{value:!0});const zl=lT(Ec);let uT=class{constructor(s,{headers:a={},schema:n,fetch:i}){this.url=s,this.headers=new Headers(a),this.schema=n,this.fetch=i}select(s,a){const{head:n=!1,count:i}=a??{},r=n?"HEAD":"GET";let o=!1;const l=(s??"*").split("").map(u=>/\s/.test(u)&&!o?"":(u==='"'&&(o=!o),u)).join("");return this.url.searchParams.set("select",l),i&&this.headers.append("Prefer",`count=${i}`),new zl.default({method:r,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch})}insert(s,{count:a,defaultToNull:n=!0}={}){var i;const r="POST";if(a&&this.headers.append("Prefer",`count=${a}`),n||this.headers.append("Prefer","missing=default"),Array.isArray(s)){const o=s.reduce((l,u)=>l.concat(Object.keys(u)),[]);if(o.length>0){const l=[...new Set(o)].map(u=>`"${u}"`);this.url.searchParams.set("columns",l.join(","))}}return new zl.default({method:r,url:this.url,headers:this.headers,schema:this.schema,body:s,fetch:(i=this.fetch)!==null&&i!==void 0?i:fetch})}upsert(s,{onConflict:a,ignoreDuplicates:n=!1,count:i,defaultToNull:r=!0}={}){var o;const l="POST";if(this.headers.append("Prefer",`resolution=${n?"ignore":"merge"}-duplicates`),a!==void 0&&this.url.searchParams.set("on_conflict",a),i&&this.headers.append("Prefer",`count=${i}`),r||this.headers.append("Prefer","missing=default"),Array.isArray(s)){const u=s.reduce((c,m)=>c.concat(Object.keys(m)),[]);if(u.length>0){const c=[...new Set(u)].map(m=>`"${m}"`);this.url.searchParams.set("columns",c.join(","))}}return new zl.default({method:l,url:this.url,headers:this.headers,schema:this.schema,body:s,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch})}update(s,{count:a}={}){var n;const i="PATCH";return a&&this.headers.append("Prefer",`count=${a}`),new zl.default({method:i,url:this.url,headers:this.headers,schema:this.schema,body:s,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch})}delete({count:s}={}){var a;const n="DELETE";return s&&this.headers.append("Prefer",`count=${s}`),new zl.default({method:n,url:this.url,headers:this.headers,schema:this.schema,fetch:(a=this.fetch)!==null&&a!==void 0?a:fetch})}};Eb.default=uT;var vL=Tt&&Tt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(nN,"__esModule",{value:!0});const cT=vL(Eb),mT=vL(Ec);let dT=class NL{constructor(s,{headers:a={},schema:n,fetch:i}={}){this.url=s,this.headers=new Headers(a),this.schemaName=n,this.fetch=i}from(s){const a=new URL(`${this.url}/${s}`);return new cT.default(a,{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch})}schema(s){return new NL(this.url,{headers:this.headers,schema:s,fetch:this.fetch})}rpc(s,a={},{head:n=!1,get:i=!1,count:r}={}){var o;let l;const u=new URL(`${this.url}/rpc/${s}`);let c;n||i?(l=n?"HEAD":"GET",Object.entries(a).filter(([d,b])=>b!==void 0).map(([d,b])=>[d,Array.isArray(b)?`{${b.join(",")}}`:`${b}`]).forEach(([d,b])=>{u.searchParams.append(d,b)})):(l="POST",c=a);const m=new Headers(this.headers);return r&&m.set("Prefer",`count=${r}`),new mT.default({method:l,url:u,headers:m,schema:this.schemaName,body:c,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch})}};nN.default=dT;var yl=Tt&&Tt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Zt,"__esModule",{value:!0});Zt.PostgrestError=Zt.PostgrestBuilder=Zt.PostgrestTransformBuilder=Zt.PostgrestFilterBuilder=Zt.PostgrestQueryBuilder=Zt.PostgrestClient=void 0;const xL=yl(nN);Zt.PostgrestClient=xL.default;const DL=yl(Eb);Zt.PostgrestQueryBuilder=DL.default;const GL=yl(Ec);Zt.PostgrestFilterBuilder=GL.default;const yL=yl(Lb);Zt.PostgrestTransformBuilder=yL.default;const CL=yl(jb);Zt.PostgrestBuilder=CL.default;const kL=yl(wb);Zt.PostgrestError=kL.default;var bT=Zt.default={PostgrestClient:xL.default,PostgrestQueryBuilder:DL.default,PostgrestFilterBuilder:GL.default,PostgrestTransformBuilder:yL.default,PostgrestBuilder:CL.default,PostgrestError:kL.default};const{PostgrestClient:fT,PostgrestQueryBuilder:t1e,PostgrestFilterBuilder:a1e,PostgrestTransformBuilder:n1e,PostgrestBuilder:i1e,PostgrestError:r1e}=bT;class gT{static detectEnvironment(){var s;if(typeof WebSocket<"u")return{type:"native",constructor:WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocket<"u")return{type:"native",constructor:globalThis.WebSocket};if(typeof global<"u"&&typeof global.WebSocket<"u")return{type:"native",constructor:global.WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&globalThis.EdgeRuntime||typeof navigator<"u"&&(!((s=navigator.userAgent)===null||s===void 0)&&s.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};if(typeof process<"u"){const a=process.versions;if(a&&a.node){const n=a.node,i=parseInt(n.replace(/^v/,"").split(".")[0]);return i>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${i} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${i} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option:
import ws from "ws"
new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const s=this.detectEnvironment();if(s.constructor)return s.constructor;let a=s.error||"WebSocket not supported in this environment.";throw s.workaround&&(a+=`

Suggested solution: ${s.workaround}`),new Error(a)}static createWebSocket(s,a){const n=this.getWebSocketConstructor();return new n(s,a)}static isWebSocketSupported(){try{const s=this.detectEnvironment();return s.type==="native"||s.type==="ws"}catch{return!1}}}const pT="2.75.1",hT=`realtime-js/${pT}`,vT="1.0.0",cp=1e4,NT=1e3,xT=100;var mu;(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(mu||(mu={}));var gt;(function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"})(gt||(gt={}));var za;(function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"})(za||(za={}));var mp;(function(e){e.websocket="websocket"})(mp||(mp={}));var ar;(function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"})(ar||(ar={}));class DT{constructor(){this.HEADER_LENGTH=1}decode(s,a){return s.constructor===ArrayBuffer?a(this._binaryDecode(s)):a(typeof s=="string"?JSON.parse(s):{})}_binaryDecode(s){const a=new DataView(s),n=new TextDecoder;return this._decodeBroadcast(s,a,n)}_decodeBroadcast(s,a,n){const i=a.getUint8(1),r=a.getUint8(2);let o=this.HEADER_LENGTH+2;const l=n.decode(s.slice(o,o+i));o=o+i;const u=n.decode(s.slice(o,o+r));o=o+r;const c=JSON.parse(n.decode(s.slice(o,s.byteLength)));return{ref:null,topic:l,event:u,payload:c}}}class EL{constructor(s,a){this.callback=s,this.timerCalc=a,this.timer=void 0,this.tries=0,this.callback=s,this.timerCalc=a}reset(){this.tries=0,clearTimeout(this.timer),this.timer=void 0}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var ks;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(ks||(ks={}));const o0=(e,s,a={})=>{var n;const i=(n=a.skipTypes)!==null&&n!==void 0?n:[];return s?Object.keys(s).reduce((r,o)=>(r[o]=GT(o,e,s,i),r),{}):{}},GT=(e,s,a,n)=>{const i=s.find(l=>l.name===e),r=i?.type,o=a[e];return r&&!n.includes(r)?LL(r,o):dp(o)},LL=(e,s)=>{if(e.charAt(0)==="_"){const a=e.slice(1,e.length);return ET(s,a)}switch(e){case ks.bool:return yT(s);case ks.float4:case ks.float8:case ks.int2:case ks.int4:case ks.int8:case ks.numeric:case ks.oid:return CT(s);case ks.json:case ks.jsonb:return kT(s);case ks.timestamp:return LT(s);case ks.abstime:case ks.date:case ks.daterange:case ks.int4range:case ks.int8range:case ks.money:case ks.reltime:case ks.text:case ks.time:case ks.timestamptz:case ks.timetz:case ks.tsrange:case ks.tstzrange:return dp(s);default:return dp(s)}},dp=e=>e,yT=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},CT=e=>{if(typeof e=="string"){const s=parseFloat(e);if(!Number.isNaN(s))return s}return e},kT=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch(s){return console.log(`JSON parse error: ${s}`),e}return e},ET=(e,s)=>{if(typeof e!="string")return e;const a=e.length-1,n=e[a];if(e[0]==="{"&&n==="}"){let r;const o=e.slice(1,a);try{r=JSON.parse("["+o+"]")}catch{r=o?o.split(","):[]}return r.map(l=>LL(s,l))}return e},LT=e=>typeof e=="string"?e.replace(" ","T"):e,jL=e=>{let s=e;return s=s.replace(/^ws/i,"http"),s=s.replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,""),s.replace(/\/+$/,"")+"/api/broadcast"};class If{constructor(s,a,n={},i=cp){this.channel=s,this.event=a,this.payload=n,this.timeout=i,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(s){this.timeout=s,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(s){this.payload=Object.assign(Object.assign({},this.payload),s)}receive(s,a){var n;return this._hasReceived(s)&&a((n=this.receivedResp)===null||n===void 0?void 0:n.response),this.recHooks.push({status:s,callback:a}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const s=a=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=a,this._matchReceive(a)};this.channel._on(this.refEvent,{},s),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(s,a){this.refEvent&&this.channel._trigger(this.refEvent,{status:s,response:a})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:s,response:a}){this.recHooks.filter(n=>n.status===s).forEach(n=>n.callback(a))}_hasReceived(s){return this.receivedResp&&this.receivedResp.status===s}}var l0;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(l0||(l0={}));class du{constructor(s,a){this.channel=s,this.state={},this.pendingDiffs=[],this.joinRef=null,this.enabled=!1,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const n=a?.events||{state:"presence_state",diff:"presence_diff"};this.channel._on(n.state,{},i=>{const{onJoin:r,onLeave:o,onSync:l}=this.caller;this.joinRef=this.channel._joinRef(),this.state=du.syncState(this.state,i,r,o),this.pendingDiffs.forEach(u=>{this.state=du.syncDiff(this.state,u,r,o)}),this.pendingDiffs=[],l()}),this.channel._on(n.diff,{},i=>{const{onJoin:r,onLeave:o,onSync:l}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(i):(this.state=du.syncDiff(this.state,i,r,o),l())}),this.onJoin((i,r,o)=>{this.channel._trigger("presence",{event:"join",key:i,currentPresences:r,newPresences:o})}),this.onLeave((i,r,o)=>{this.channel._trigger("presence",{event:"leave",key:i,currentPresences:r,leftPresences:o})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(s,a,n,i){const r=this.cloneDeep(s),o=this.transformState(a),l={},u={};return this.map(r,(c,m)=>{o[c]||(u[c]=m)}),this.map(o,(c,m)=>{const d=r[c];if(d){const b=m.map(p=>p.presence_ref),f=d.map(p=>p.presence_ref),h=m.filter(p=>f.indexOf(p.presence_ref)<0),g=d.filter(p=>b.indexOf(p.presence_ref)<0);h.length>0&&(l[c]=h),g.length>0&&(u[c]=g)}else l[c]=m}),this.syncDiff(r,{joins:l,leaves:u},n,i)}static syncDiff(s,a,n,i){const{joins:r,leaves:o}={joins:this.transformState(a.joins),leaves:this.transformState(a.leaves)};return n||(n=()=>{}),i||(i=()=>{}),this.map(r,(l,u)=>{var c;const m=(c=s[l])!==null&&c!==void 0?c:[];if(s[l]=this.cloneDeep(u),m.length>0){const d=s[l].map(f=>f.presence_ref),b=m.filter(f=>d.indexOf(f.presence_ref)<0);s[l].unshift(...b)}n(l,m,u)}),this.map(o,(l,u)=>{let c=s[l];if(!c)return;const m=u.map(d=>d.presence_ref);c=c.filter(d=>m.indexOf(d.presence_ref)<0),s[l]=c,i(l,c,u),c.length===0&&delete s[l]}),s}static map(s,a){return Object.getOwnPropertyNames(s).map(n=>a(n,s[n]))}static transformState(s){return s=this.cloneDeep(s),Object.getOwnPropertyNames(s).reduce((a,n)=>{const i=s[n];return"metas"in i?a[n]=i.metas.map(r=>(r.presence_ref=r.phx_ref,delete r.phx_ref,delete r.phx_ref_prev,r)):a[n]=i,a},{})}static cloneDeep(s){return JSON.parse(JSON.stringify(s))}onJoin(s){this.caller.onJoin=s}onLeave(s){this.caller.onLeave=s}onSync(s){this.caller.onSync=s}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var u0;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(u0||(u0={}));var bu;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(bu||(bu={}));var Mn;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(Mn||(Mn={}));class iN{constructor(s,a={config:{}},n){var i,r;if(this.topic=s,this.params=a,this.socket=n,this.bindings={},this.state=gt.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=s.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},a.config),this.timeout=this.socket.timeout,this.joinPush=new If(this,za.join,this.params,this.timeout),this.rejoinTimer=new EL(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=gt.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(o=>o.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=gt.closed,this.socket._remove(this)}),this._onError(o=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,o),this.state=gt.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=gt.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("error",o=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,o),this.state=gt.errored,this.rejoinTimer.scheduleTimeout())}),this._on(za.reply,{},(o,l)=>{this._trigger(this._replyEventName(l),o)}),this.presence=new du(this),this.broadcastEndpointURL=jL(this.socket.endPoint),this.private=this.params.config.private||!1,!this.private&&(!((r=(i=this.params.config)===null||i===void 0?void 0:i.broadcast)===null||r===void 0)&&r.replay))throw`tried to use replay on public channel '${this.topic}'. It must be a private channel.`}subscribe(s,a=this.timeout){var n,i,r;if(this.socket.isConnected()||this.socket.connect(),this.state==gt.closed){const{config:{broadcast:o,presence:l,private:u}}=this.params,c=(i=(n=this.bindings.postgres_changes)===null||n===void 0?void 0:n.map(f=>f.filter))!==null&&i!==void 0?i:[],m=!!this.bindings[bu.PRESENCE]&&this.bindings[bu.PRESENCE].length>0||((r=this.params.config.presence)===null||r===void 0?void 0:r.enabled)===!0,d={},b={broadcast:o,presence:Object.assign(Object.assign({},l),{enabled:m}),postgres_changes:c,private:u};this.socket.accessTokenValue&&(d.access_token=this.socket.accessTokenValue),this._onError(f=>s?.(Mn.CHANNEL_ERROR,f)),this._onClose(()=>s?.(Mn.CLOSED)),this.updateJoinPayload(Object.assign({config:b},d)),this.joinedOnce=!0,this._rejoin(a),this.joinPush.receive("ok",async({postgres_changes:f})=>{var h;if(this.socket.setAuth(),f===void 0){s?.(Mn.SUBSCRIBED);return}else{const g=this.bindings.postgres_changes,p=(h=g?.length)!==null&&h!==void 0?h:0,x=[];for(let D=0;D<p;D++){const N=g[D],{filter:{event:C,schema:y,table:G,filter:k}}=N,E=f&&f[D];if(E&&E.event===C&&E.schema===y&&E.table===G&&E.filter===k)x.push(Object.assign(Object.assign({},N),{id:E.id}));else{this.unsubscribe(),this.state=gt.errored,s?.(Mn.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=x,s&&s(Mn.SUBSCRIBED);return}}).receive("error",f=>{this.state=gt.errored,s?.(Mn.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(f).join(", ")||"error")))}).receive("timeout",()=>{s?.(Mn.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(s,a={}){return await this.send({type:"presence",event:"track",payload:s},a.timeout||this.timeout)}async untrack(s={}){return await this.send({type:"presence",event:"untrack"},s)}on(s,a,n){return this.state===gt.joined&&s===bu.PRESENCE&&(this.socket.log("channel",`resubscribe to ${this.topic} due to change in presence callbacks on joined channel`),this.unsubscribe().then(()=>this.subscribe())),this._on(s,a,n)}async send(s,a={}){var n,i;if(!this._canPush()&&s.type==="broadcast"){const{event:r,payload:o}=s,u={method:"POST",headers:{Authorization:this.socket.accessTokenValue?`Bearer ${this.socket.accessTokenValue}`:"",apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:r,payload:o,private:this.private}]})};try{const c=await this._fetchWithTimeout(this.broadcastEndpointURL,u,(n=a.timeout)!==null&&n!==void 0?n:this.timeout);return await((i=c.body)===null||i===void 0?void 0:i.cancel()),c.ok?"ok":"error"}catch(c){return c.name==="AbortError"?"timed out":"error"}}else return new Promise(r=>{var o,l,u;const c=this._push(s.type,s,a.timeout||this.timeout);s.type==="broadcast"&&!(!((u=(l=(o=this.params)===null||o===void 0?void 0:o.config)===null||l===void 0?void 0:l.broadcast)===null||u===void 0)&&u.ack)&&r("ok"),c.receive("ok",()=>r("ok")),c.receive("error",()=>r("error")),c.receive("timeout",()=>r("timed out"))})}updateJoinPayload(s){this.joinPush.updatePayload(s)}unsubscribe(s=this.timeout){this.state=gt.leaving;const a=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(za.close,"leave",this._joinRef())};this.joinPush.destroy();let n=null;return new Promise(i=>{n=new If(this,za.leave,{},s),n.receive("ok",()=>{a(),i("ok")}).receive("timeout",()=>{a(),i("timed out")}).receive("error",()=>{i("error")}),n.send(),this._canPush()||n.trigger("ok",{})}).finally(()=>{n?.destroy()})}teardown(){this.pushBuffer.forEach(s=>s.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=gt.closed,this.bindings={}}async _fetchWithTimeout(s,a,n){const i=new AbortController,r=setTimeout(()=>i.abort(),n),o=await this.socket.fetch(s,Object.assign(Object.assign({},a),{signal:i.signal}));return clearTimeout(r),o}_push(s,a,n=this.timeout){if(!this.joinedOnce)throw`tried to push '${s}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let i=new If(this,s,a,n);return this._canPush()?i.send():this._addToPushBuffer(i),i}_addToPushBuffer(s){if(s.startTimeout(),this.pushBuffer.push(s),this.pushBuffer.length>xT){const a=this.pushBuffer.shift();a&&(a.destroy(),this.socket.log("channel",`discarded push due to buffer overflow: ${a.event}`,a.payload))}}_onMessage(s,a,n){return a}_isMember(s){return this.topic===s}_joinRef(){return this.joinPush.ref}_trigger(s,a,n){var i,r;const o=s.toLocaleLowerCase(),{close:l,error:u,leave:c,join:m}=za;if(n&&[l,u,c,m].indexOf(o)>=0&&n!==this._joinRef())return;let b=this._onMessage(o,a,n);if(a&&!b)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(o)?(i=this.bindings.postgres_changes)===null||i===void 0||i.filter(f=>{var h,g,p;return((h=f.filter)===null||h===void 0?void 0:h.event)==="*"||((p=(g=f.filter)===null||g===void 0?void 0:g.event)===null||p===void 0?void 0:p.toLocaleLowerCase())===o}).map(f=>f.callback(b,n)):(r=this.bindings[o])===null||r===void 0||r.filter(f=>{var h,g,p,x,D,N;if(["broadcast","presence","postgres_changes"].includes(o))if("id"in f){const C=f.id,y=(h=f.filter)===null||h===void 0?void 0:h.event;return C&&((g=a.ids)===null||g===void 0?void 0:g.includes(C))&&(y==="*"||y?.toLocaleLowerCase()===((p=a.data)===null||p===void 0?void 0:p.type.toLocaleLowerCase()))}else{const C=(D=(x=f?.filter)===null||x===void 0?void 0:x.event)===null||D===void 0?void 0:D.toLocaleLowerCase();return C==="*"||C===((N=a?.event)===null||N===void 0?void 0:N.toLocaleLowerCase())}else return f.type.toLocaleLowerCase()===o}).map(f=>{if(typeof b=="object"&&"ids"in b){const h=b.data,{schema:g,table:p,commit_timestamp:x,type:D,errors:N}=h;b=Object.assign(Object.assign({},{schema:g,table:p,commit_timestamp:x,eventType:D,new:{},old:{},errors:N}),this._getPayloadRecords(h))}f.callback(b,n)})}_isClosed(){return this.state===gt.closed}_isJoined(){return this.state===gt.joined}_isJoining(){return this.state===gt.joining}_isLeaving(){return this.state===gt.leaving}_replyEventName(s){return`chan_reply_${s}`}_on(s,a,n){const i=s.toLocaleLowerCase(),r={type:i,filter:a,callback:n};return this.bindings[i]?this.bindings[i].push(r):this.bindings[i]=[r],this}_off(s,a){const n=s.toLocaleLowerCase();return this.bindings[n]&&(this.bindings[n]=this.bindings[n].filter(i=>{var r;return!(((r=i.type)===null||r===void 0?void 0:r.toLocaleLowerCase())===n&&iN.isEqual(i.filter,a))})),this}static isEqual(s,a){if(Object.keys(s).length!==Object.keys(a).length)return!1;for(const n in s)if(s[n]!==a[n])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(s){this._on(za.close,{},s)}_onError(s){this._on(za.error,{},a=>s(a))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(s=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=gt.joining,this.joinPush.resend(s))}_getPayloadRecords(s){const a={new:{},old:{}};return(s.type==="INSERT"||s.type==="UPDATE")&&(a.new=o0(s.columns,s.record)),(s.type==="UPDATE"||s.type==="DELETE")&&(a.old=o0(s.columns,s.old_record)),a}}const $f=()=>{},em={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},jT=[1e3,2e3,5e3,1e4],wT=1e4,UT=`
  addEventListener("message", (e) => {
    if (e.data.event === "start") {
      setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval);
    }
  });`;class HT{constructor(s,a){var n;if(this.accessTokenValue=null,this.apiKey=null,this.channels=new Array,this.endPoint="",this.httpEndpoint="",this.headers={},this.params={},this.timeout=cp,this.transport=null,this.heartbeatIntervalMs=em.HEARTBEAT_INTERVAL,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=$f,this.ref=0,this.reconnectTimer=null,this.logger=$f,this.conn=null,this.sendBuffer=[],this.serializer=new DT,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._connectionState="disconnected",this._wasManualDisconnect=!1,this._authPromise=null,this._resolveFetch=i=>{let r;return i?r=i:typeof fetch>"u"?r=(...o)=>_r(async()=>{const{default:l}=await Promise.resolve().then(()=>Gl);return{default:l}},void 0).then(({default:l})=>l(...o)).catch(l=>{throw new Error(`Failed to load @supabase/node-fetch: ${l.message}. This is required for HTTP requests in Node.js environments without native fetch.`)}):r=fetch,(...o)=>r(...o)},!(!((n=a?.params)===null||n===void 0)&&n.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=a.params.apikey,this.endPoint=`${s}/${mp.websocket}`,this.httpEndpoint=jL(s),this._initializeOptions(a),this._setupReconnectionTimer(),this.fetch=this._resolveFetch(a?.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.conn!==null&&this.isConnected())){if(this._setConnectionState("connecting"),this._setAuthSafely("connect"),this.transport)this.conn=new this.transport(this.endpointURL());else try{this.conn=gT.createWebSocket(this.endpointURL())}catch(s){this._setConnectionState("disconnected");const a=s.message;throw a.includes("Node.js")?new Error(`${a}

To use Realtime in Node.js, you need to provide a WebSocket implementation:

Option 1: Use Node.js 22+ which has native WebSocket support
Option 2: Install and provide the "ws" package:

  npm install ws

  import ws from "ws"
  const client = new RealtimeClient(url, {
    ...options,
    transport: ws
  })`):new Error(`WebSocket not available: ${a}`)}this._setupConnectionHandlers()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:vT}))}disconnect(s,a){if(!this.isDisconnecting())if(this._setConnectionState("disconnecting",!0),this.conn){const n=setTimeout(()=>{this._setConnectionState("disconnected")},100);this.conn.onclose=()=>{clearTimeout(n),this._setConnectionState("disconnected")},s?this.conn.close(s,a??""):this.conn.close(),this._teardownConnection()}else this._setConnectionState("disconnected")}getChannels(){return this.channels}async removeChannel(s){const a=await s.unsubscribe();return this.channels.length===0&&this.disconnect(),a}async removeAllChannels(){const s=await Promise.all(this.channels.map(a=>a.unsubscribe()));return this.channels=[],this.disconnect(),s}log(s,a,n){this.logger(s,a,n)}connectionState(){switch(this.conn&&this.conn.readyState){case mu.connecting:return ar.Connecting;case mu.open:return ar.Open;case mu.closing:return ar.Closing;default:return ar.Closed}}isConnected(){return this.connectionState()===ar.Open}isConnecting(){return this._connectionState==="connecting"}isDisconnecting(){return this._connectionState==="disconnecting"}channel(s,a={config:{}}){const n=`realtime:${s}`,i=this.getChannels().find(r=>r.topic===n);if(i)return i;{const r=new iN(`realtime:${s}`,a,this);return this.channels.push(r),r}}push(s){const{topic:a,event:n,payload:i,ref:r}=s,o=()=>{this.encode(s,l=>{var u;(u=this.conn)===null||u===void 0||u.send(l)})};this.log("push",`${a} ${n} (${r})`,i),this.isConnected()?o():this.sendBuffer.push(o)}async setAuth(s=null){this._authPromise=this._performAuth(s);try{await this._authPromise}finally{this._authPromise=null}}async sendHeartbeat(){var s;if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(a){this.log("error","error in heartbeat callback",a)}return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(a){this.log("error","error in heartbeat callback",a)}this._wasManualDisconnect=!1,(s=this.conn)===null||s===void 0||s.close(NT,"heartbeat timeout"),setTimeout(()=>{var a;this.isConnected()||(a=this.reconnectTimer)===null||a===void 0||a.scheduleTimeout()},em.HEARTBEAT_TIMEOUT_FALLBACK);return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(a){this.log("error","error in heartbeat callback",a)}this._setAuthSafely("heartbeat")}onHeartbeat(s){this.heartbeatCallback=s}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(s=>s()),this.sendBuffer=[])}_makeRef(){let s=this.ref+1;return s===this.ref?this.ref=0:this.ref=s,this.ref.toString()}_leaveOpenTopic(s){let a=this.channels.find(n=>n.topic===s&&(n._isJoined()||n._isJoining()));a&&(this.log("transport",`leaving duplicate topic "${s}"`),a.unsubscribe())}_remove(s){this.channels=this.channels.filter(a=>a.topic!==s.topic)}_onConnMessage(s){this.decode(s.data,a=>{if(a.topic==="phoenix"&&a.event==="phx_reply")try{this.heartbeatCallback(a.payload.status==="ok"?"ok":"error")}catch(c){this.log("error","error in heartbeat callback",c)}a.ref&&a.ref===this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null);const{topic:n,event:i,payload:r,ref:o}=a,l=o?`(${o})`:"",u=r.status||"";this.log("receive",`${u} ${n} ${i} ${l}`.trim(),r),this.channels.filter(c=>c._isMember(n)).forEach(c=>c._trigger(i,r,o)),this._triggerStateCallbacks("message",a)})}_clearTimer(s){var a;s==="heartbeat"&&this.heartbeatTimer?(clearInterval(this.heartbeatTimer),this.heartbeatTimer=void 0):s==="reconnect"&&((a=this.reconnectTimer)===null||a===void 0||a.reset())}_clearAllTimers(){this._clearTimer("heartbeat"),this._clearTimer("reconnect")}_setupConnectionHandlers(){this.conn&&("binaryType"in this.conn&&(this.conn.binaryType="arraybuffer"),this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=s=>this._onConnError(s),this.conn.onmessage=s=>this._onConnMessage(s),this.conn.onclose=s=>this._onConnClose(s))}_teardownConnection(){this.conn&&(this.conn.onopen=null,this.conn.onerror=null,this.conn.onmessage=null,this.conn.onclose=null,this.conn=null),this._clearAllTimers(),this.channels.forEach(s=>s.teardown())}_onConnOpen(){this._setConnectionState("connected"),this.log("transport",`connected to ${this.endpointURL()}`),this.flushSendBuffer(),this._clearTimer("reconnect"),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this._triggerStateCallbacks("open")}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const s=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(s),this.workerRef.onerror=a=>{this.log("worker","worker error",a.message),this.workerRef.terminate()},this.workerRef.onmessage=a=>{a.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_onConnClose(s){var a;this._setConnectionState("disconnected"),this.log("transport","close",s),this._triggerChanError(),this._clearTimer("heartbeat"),this._wasManualDisconnect||(a=this.reconnectTimer)===null||a===void 0||a.scheduleTimeout(),this._triggerStateCallbacks("close",s)}_onConnError(s){this._setConnectionState("disconnected"),this.log("transport",`${s}`),this._triggerChanError(),this._triggerStateCallbacks("error",s)}_triggerChanError(){this.channels.forEach(s=>s._trigger(za.error))}_appendParams(s,a){if(Object.keys(a).length===0)return s;const n=s.match(/\?/)?"&":"?",i=new URLSearchParams(a);return`${s}${n}${i}`}_workerObjectUrl(s){let a;if(s)a=s;else{const n=new Blob([UT],{type:"application/javascript"});a=URL.createObjectURL(n)}return a}_setConnectionState(s,a=!1){this._connectionState=s,s==="connecting"?this._wasManualDisconnect=!1:s==="disconnecting"&&(this._wasManualDisconnect=a)}async _performAuth(s=null){let a;s?a=s:this.accessToken?a=await this.accessToken():a=this.accessTokenValue,this.accessTokenValue!=a&&(this.accessTokenValue=a,this.channels.forEach(n=>{const i={access_token:a,version:hT};a&&n.updateJoinPayload(i),n.joinedOnce&&n._isJoined()&&n._push(za.access_token,{access_token:a})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(s="general"){this.setAuth().catch(a=>{this.log("error",`error setting auth in ${s}`,a)})}_triggerStateCallbacks(s,a){try{this.stateChangeCallbacks[s].forEach(n=>{try{n(a)}catch(i){this.log("error",`error in ${s} callback`,i)}})}catch(n){this.log("error",`error triggering ${s} callbacks`,n)}}_setupReconnectionTimer(){this.reconnectTimer=new EL(async()=>{setTimeout(async()=>{await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()},em.RECONNECT_DELAY)},this.reconnectAfterMs)}_initializeOptions(s){var a,n,i,r,o,l,u,c,m;if(this.transport=(a=s?.transport)!==null&&a!==void 0?a:null,this.timeout=(n=s?.timeout)!==null&&n!==void 0?n:cp,this.heartbeatIntervalMs=(i=s?.heartbeatIntervalMs)!==null&&i!==void 0?i:em.HEARTBEAT_INTERVAL,this.worker=(r=s?.worker)!==null&&r!==void 0?r:!1,this.accessToken=(o=s?.accessToken)!==null&&o!==void 0?o:null,this.heartbeatCallback=(l=s?.heartbeatCallback)!==null&&l!==void 0?l:$f,s?.params&&(this.params=s.params),s?.logger&&(this.logger=s.logger),(s?.logLevel||s?.log_level)&&(this.logLevel=s.logLevel||s.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),this.reconnectAfterMs=(u=s?.reconnectAfterMs)!==null&&u!==void 0?u:d=>jT[d-1]||wT,this.encode=(c=s?.encode)!==null&&c!==void 0?c:(d,b)=>b(JSON.stringify(d)),this.decode=(m=s?.decode)!==null&&m!==void 0?m:this.serializer.decode.bind(this.serializer),this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=s?.workerUrl}}}class rN extends Error{constructor(s){super(s),this.__isStorageError=!0,this.name="StorageError"}}function ot(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}class VT extends rN{constructor(s,a,n){super(s),this.name="StorageApiError",this.status=a,this.statusCode=n}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}}class bp extends rN{constructor(s,a){super(s),this.name="StorageUnknownError",this.originalError=a}}var PT=function(e,s,a,n){function i(r){return r instanceof a?r:new a(function(o){o(r)})}return new(a||(a=Promise))(function(r,o){function l(m){try{c(n.next(m))}catch(d){o(d)}}function u(m){try{c(n.throw(m))}catch(d){o(d)}}function c(m){m.done?r(m.value):i(m.value).then(l,u)}c((n=n.apply(e,s||[])).next())})};const wL=e=>{let s;return e?s=e:typeof fetch>"u"?s=(...a)=>_r(async()=>{const{default:n}=await Promise.resolve().then(()=>Gl);return{default:n}},void 0).then(({default:n})=>n(...a)):s=fetch,(...a)=>s(...a)},AT=()=>PT(void 0,void 0,void 0,function*(){return typeof Response>"u"?(yield _r(()=>Promise.resolve().then(()=>Gl),void 0)).Response:Response}),fp=e=>{if(Array.isArray(e))return e.map(a=>fp(a));if(typeof e=="function"||e!==Object(e))return e;const s={};return Object.entries(e).forEach(([a,n])=>{const i=a.replace(/([-_][a-z])/gi,r=>r.toUpperCase().replace(/[-_]/g,""));s[i]=fp(n)}),s},ST=e=>{if(typeof e!="object"||e===null)return!1;const s=Object.getPrototypeOf(e);return(s===null||s===Object.prototype||Object.getPrototypeOf(s)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)};var Rr=function(e,s,a,n){function i(r){return r instanceof a?r:new a(function(o){o(r)})}return new(a||(a=Promise))(function(r,o){function l(m){try{c(n.next(m))}catch(d){o(d)}}function u(m){try{c(n.throw(m))}catch(d){o(d)}}function c(m){m.done?r(m.value):i(m.value).then(l,u)}c((n=n.apply(e,s||[])).next())})};const Ff=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),TT=(e,s,a)=>Rr(void 0,void 0,void 0,function*(){const n=yield AT();e instanceof n&&!a?.noResolveJson?e.json().then(i=>{const r=e.status||500,o=i?.statusCode||r+"";s(new VT(Ff(i),r,o))}).catch(i=>{s(new bp(Ff(i),i))}):s(new bp(Ff(e),e))}),_T=(e,s,a,n)=>{const i={method:e,headers:s?.headers||{}};return e==="GET"||!n?i:(ST(n)?(i.headers=Object.assign({"Content-Type":"application/json"},s?.headers),i.body=JSON.stringify(n)):i.body=n,s?.duplex&&(i.duplex=s.duplex),Object.assign(Object.assign({},i),a))};function Lc(e,s,a,n,i,r){return Rr(this,void 0,void 0,function*(){return new Promise((o,l)=>{e(a,_T(s,n,i,r)).then(u=>{if(!u.ok)throw u;return n?.noResolveJson?u:u.json()}).then(u=>o(u)).catch(u=>TT(u,l,n))})})}function Fm(e,s,a,n){return Rr(this,void 0,void 0,function*(){return Lc(e,"GET",s,a,n)})}function pn(e,s,a,n,i){return Rr(this,void 0,void 0,function*(){return Lc(e,"POST",s,n,i,a)})}function gp(e,s,a,n,i){return Rr(this,void 0,void 0,function*(){return Lc(e,"PUT",s,n,i,a)})}function RT(e,s,a,n){return Rr(this,void 0,void 0,function*(){return Lc(e,"HEAD",s,Object.assign(Object.assign({},a),{noResolveJson:!0}),n)})}function UL(e,s,a,n,i){return Rr(this,void 0,void 0,function*(){return Lc(e,"DELETE",s,n,i,a)})}var MT=function(e,s,a,n){function i(r){return r instanceof a?r:new a(function(o){o(r)})}return new(a||(a=Promise))(function(r,o){function l(m){try{c(n.next(m))}catch(d){o(d)}}function u(m){try{c(n.throw(m))}catch(d){o(d)}}function c(m){m.done?r(m.value):i(m.value).then(l,u)}c((n=n.apply(e,s||[])).next())})};class OT{constructor(s,a){this.downloadFn=s,this.shouldThrowOnError=a}then(s,a){return this.execute().then(s,a)}execute(){return MT(this,void 0,void 0,function*(){try{return{data:(yield this.downloadFn()).body,error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(ot(s))return{data:null,error:s};throw s}})}}var IT=function(e,s,a,n){function i(r){return r instanceof a?r:new a(function(o){o(r)})}return new(a||(a=Promise))(function(r,o){function l(m){try{c(n.next(m))}catch(d){o(d)}}function u(m){try{c(n.throw(m))}catch(d){o(d)}}function c(m){m.done?r(m.value):i(m.value).then(l,u)}c((n=n.apply(e,s||[])).next())})},HL;class $T{constructor(s,a){this.downloadFn=s,this.shouldThrowOnError=a,this[HL]="BlobDownloadBuilder",this.promise=null}asStream(){return new OT(this.downloadFn,this.shouldThrowOnError)}then(s,a){return this.getPromise().then(s,a)}catch(s){return this.getPromise().catch(s)}finally(s){return this.getPromise().finally(s)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}execute(){return IT(this,void 0,void 0,function*(){try{return{data:yield(yield this.downloadFn()).blob(),error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(ot(s))return{data:null,error:s};throw s}})}}HL=Symbol.toStringTag;var Kt=function(e,s,a,n){function i(r){return r instanceof a?r:new a(function(o){o(r)})}return new(a||(a=Promise))(function(r,o){function l(m){try{c(n.next(m))}catch(d){o(d)}}function u(m){try{c(n.throw(m))}catch(d){o(d)}}function c(m){m.done?r(m.value):i(m.value).then(l,u)}c((n=n.apply(e,s||[])).next())})};const FT={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},c0={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class BT{constructor(s,a={},n,i){this.shouldThrowOnError=!1,this.url=s,this.headers=a,this.bucketId=n,this.fetch=wL(i)}throwOnError(){return this.shouldThrowOnError=!0,this}uploadOrUpdate(s,a,n,i){return Kt(this,void 0,void 0,function*(){try{let r;const o=Object.assign(Object.assign({},c0),i);let l=Object.assign(Object.assign({},this.headers),s==="POST"&&{"x-upsert":String(o.upsert)});const u=o.metadata;typeof Blob<"u"&&n instanceof Blob?(r=new FormData,r.append("cacheControl",o.cacheControl),u&&r.append("metadata",this.encodeMetadata(u)),r.append("",n)):typeof FormData<"u"&&n instanceof FormData?(r=n,r.append("cacheControl",o.cacheControl),u&&r.append("metadata",this.encodeMetadata(u))):(r=n,l["cache-control"]=`max-age=${o.cacheControl}`,l["content-type"]=o.contentType,u&&(l["x-metadata"]=this.toBase64(this.encodeMetadata(u)))),i?.headers&&(l=Object.assign(Object.assign({},l),i.headers));const c=this._removeEmptyFolders(a),m=this._getFinalPath(c),d=yield(s=="PUT"?gp:pn)(this.fetch,`${this.url}/object/${m}`,r,Object.assign({headers:l},o?.duplex?{duplex:o.duplex}:{}));return{data:{path:c,id:d.Id,fullPath:d.Key},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(ot(r))return{data:null,error:r};throw r}})}upload(s,a,n){return Kt(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",s,a,n)})}uploadToSignedUrl(s,a,n,i){return Kt(this,void 0,void 0,function*(){const r=this._removeEmptyFolders(s),o=this._getFinalPath(r),l=new URL(this.url+`/object/upload/sign/${o}`);l.searchParams.set("token",a);try{let u;const c=Object.assign({upsert:c0.upsert},i),m=Object.assign(Object.assign({},this.headers),{"x-upsert":String(c.upsert)});typeof Blob<"u"&&n instanceof Blob?(u=new FormData,u.append("cacheControl",c.cacheControl),u.append("",n)):typeof FormData<"u"&&n instanceof FormData?(u=n,u.append("cacheControl",c.cacheControl)):(u=n,m["cache-control"]=`max-age=${c.cacheControl}`,m["content-type"]=c.contentType);const d=yield gp(this.fetch,l.toString(),u,{headers:m});return{data:{path:r,fullPath:d.Key},error:null}}catch(u){if(this.shouldThrowOnError)throw u;if(ot(u))return{data:null,error:u};throw u}})}createSignedUploadUrl(s,a){return Kt(this,void 0,void 0,function*(){try{let n=this._getFinalPath(s);const i=Object.assign({},this.headers);a?.upsert&&(i["x-upsert"]="true");const r=yield pn(this.fetch,`${this.url}/object/upload/sign/${n}`,{},{headers:i}),o=new URL(this.url+r.url),l=o.searchParams.get("token");if(!l)throw new rN("No token returned by API");return{data:{signedUrl:o.toString(),path:s,token:l},error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(ot(n))return{data:null,error:n};throw n}})}update(s,a,n){return Kt(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",s,a,n)})}move(s,a,n){return Kt(this,void 0,void 0,function*(){try{return{data:yield pn(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:s,destinationKey:a,destinationBucket:n?.destinationBucket},{headers:this.headers}),error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(ot(i))return{data:null,error:i};throw i}})}copy(s,a,n){return Kt(this,void 0,void 0,function*(){try{return{data:{path:(yield pn(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:s,destinationKey:a,destinationBucket:n?.destinationBucket},{headers:this.headers})).Key},error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(ot(i))return{data:null,error:i};throw i}})}createSignedUrl(s,a,n){return Kt(this,void 0,void 0,function*(){try{let i=this._getFinalPath(s),r=yield pn(this.fetch,`${this.url}/object/sign/${i}`,Object.assign({expiresIn:a},n?.transform?{transform:n.transform}:{}),{headers:this.headers});const o=n?.download?`&download=${n.download===!0?"":n.download}`:"";return r={signedUrl:encodeURI(`${this.url}${r.signedURL}${o}`)},{data:r,error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(ot(i))return{data:null,error:i};throw i}})}createSignedUrls(s,a,n){return Kt(this,void 0,void 0,function*(){try{const i=yield pn(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:a,paths:s},{headers:this.headers}),r=n?.download?`&download=${n.download===!0?"":n.download}`:"";return{data:i.map(o=>Object.assign(Object.assign({},o),{signedUrl:o.signedURL?encodeURI(`${this.url}${o.signedURL}${r}`):null})),error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(ot(i))return{data:null,error:i};throw i}})}download(s,a){const i=typeof a?.transform<"u"?"render/image/authenticated":"object",r=this.transformOptsToQueryString(a?.transform||{}),o=r?`?${r}`:"",l=this._getFinalPath(s),u=()=>Fm(this.fetch,`${this.url}/${i}/${l}${o}`,{headers:this.headers,noResolveJson:!0});return new $T(u,this.shouldThrowOnError)}info(s){return Kt(this,void 0,void 0,function*(){const a=this._getFinalPath(s);try{const n=yield Fm(this.fetch,`${this.url}/object/info/${a}`,{headers:this.headers});return{data:fp(n),error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(ot(n))return{data:null,error:n};throw n}})}exists(s){return Kt(this,void 0,void 0,function*(){const a=this._getFinalPath(s);try{return yield RT(this.fetch,`${this.url}/object/${a}`,{headers:this.headers}),{data:!0,error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(ot(n)&&n instanceof bp){const i=n.originalError;if([400,404].includes(i?.status))return{data:!1,error:n}}throw n}})}getPublicUrl(s,a){const n=this._getFinalPath(s),i=[],r=a?.download?`download=${a.download===!0?"":a.download}`:"";r!==""&&i.push(r);const l=typeof a?.transform<"u"?"render/image":"object",u=this.transformOptsToQueryString(a?.transform||{});u!==""&&i.push(u);let c=i.join("&");return c!==""&&(c=`?${c}`),{data:{publicUrl:encodeURI(`${this.url}/${l}/public/${n}${c}`)}}}remove(s){return Kt(this,void 0,void 0,function*(){try{return{data:yield UL(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:s},{headers:this.headers}),error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(ot(a))return{data:null,error:a};throw a}})}list(s,a,n){return Kt(this,void 0,void 0,function*(){try{const i=Object.assign(Object.assign(Object.assign({},FT),a),{prefix:s||""});return{data:yield pn(this.fetch,`${this.url}/object/list/${this.bucketId}`,i,{headers:this.headers},n),error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(ot(i))return{data:null,error:i};throw i}})}listV2(s,a){return Kt(this,void 0,void 0,function*(){try{const n=Object.assign({},s);return{data:yield pn(this.fetch,`${this.url}/object/list-v2/${this.bucketId}`,n,{headers:this.headers},a),error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(ot(n))return{data:null,error:n};throw n}})}encodeMetadata(s){return JSON.stringify(s)}toBase64(s){return typeof Buffer<"u"?Buffer.from(s).toString("base64"):btoa(s)}_getFinalPath(s){return`${this.bucketId}/${s.replace(/^\/+/,"")}`}_removeEmptyFolders(s){return s.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(s){const a=[];return s.width&&a.push(`width=${s.width}`),s.height&&a.push(`height=${s.height}`),s.resize&&a.push(`resize=${s.resize}`),s.format&&a.push(`format=${s.format}`),s.quality&&a.push(`quality=${s.quality}`),a.join("&")}}const qT="2.75.1",WT={"X-Client-Info":`storage-js/${qT}`};var Qr=function(e,s,a,n){function i(r){return r instanceof a?r:new a(function(o){o(r)})}return new(a||(a=Promise))(function(r,o){function l(m){try{c(n.next(m))}catch(d){o(d)}}function u(m){try{c(n.throw(m))}catch(d){o(d)}}function c(m){m.done?r(m.value):i(m.value).then(l,u)}c((n=n.apply(e,s||[])).next())})};class zT{constructor(s,a={},n,i){this.shouldThrowOnError=!1;const r=new URL(s);i?.useNewHostname&&/supabase\.(co|in|red)$/.test(r.hostname)&&!r.hostname.includes("storage.supabase.")&&(r.hostname=r.hostname.replace("supabase.","storage.supabase.")),this.url=r.href.replace(/\/$/,""),this.headers=Object.assign(Object.assign({},WT),a),this.fetch=wL(n)}throwOnError(){return this.shouldThrowOnError=!0,this}listBuckets(){return Qr(this,void 0,void 0,function*(){try{return{data:yield Fm(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(ot(s))return{data:null,error:s};throw s}})}getBucket(s){return Qr(this,void 0,void 0,function*(){try{return{data:yield Fm(this.fetch,`${this.url}/bucket/${s}`,{headers:this.headers}),error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(ot(a))return{data:null,error:a};throw a}})}createBucket(s){return Qr(this,arguments,void 0,function*(a,n={public:!1}){try{return{data:yield pn(this.fetch,`${this.url}/bucket`,{id:a,name:a,type:n.type,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(ot(i))return{data:null,error:i};throw i}})}updateBucket(s,a){return Qr(this,void 0,void 0,function*(){try{return{data:yield gp(this.fetch,`${this.url}/bucket/${s}`,{id:s,name:s,public:a.public,file_size_limit:a.fileSizeLimit,allowed_mime_types:a.allowedMimeTypes},{headers:this.headers}),error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(ot(n))return{data:null,error:n};throw n}})}emptyBucket(s){return Qr(this,void 0,void 0,function*(){try{return{data:yield pn(this.fetch,`${this.url}/bucket/${s}/empty`,{},{headers:this.headers}),error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(ot(a))return{data:null,error:a};throw a}})}deleteBucket(s){return Qr(this,void 0,void 0,function*(){try{return{data:yield UL(this.fetch,`${this.url}/bucket/${s}`,{},{headers:this.headers}),error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(ot(a))return{data:null,error:a};throw a}})}}class KT extends zT{constructor(s,a={},n,i){super(s,a,n,i)}from(s){return new BT(this.url,this.headers,s,this.fetch)}}const YT="2.75.1";let ru="";typeof Deno<"u"?ru="deno":typeof document<"u"?ru="web":typeof navigator<"u"&&navigator.product==="ReactNative"?ru="react-native":ru="node";const QT={"X-Client-Info":`supabase-js-${ru}/${YT}`},ZT={headers:QT},XT={schema:"public"},JT={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},e_={};var s_=function(e,s,a,n){function i(r){return r instanceof a?r:new a(function(o){o(r)})}return new(a||(a=Promise))(function(r,o){function l(m){try{c(n.next(m))}catch(d){o(d)}}function u(m){try{c(n.throw(m))}catch(d){o(d)}}function c(m){m.done?r(m.value):i(m.value).then(l,u)}c((n=n.apply(e,s||[])).next())})};const t_=e=>{let s;return e?s=e:typeof fetch>"u"?s=gL:s=fetch,(...a)=>s(...a)},a_=()=>typeof Headers>"u"?pL:Headers,n_=(e,s,a)=>{const n=t_(a),i=a_();return(r,o)=>s_(void 0,void 0,void 0,function*(){var l;const u=(l=yield s())!==null&&l!==void 0?l:e;let c=new i(o?.headers);return c.has("apikey")||c.set("apikey",e),c.has("Authorization")||c.set("Authorization",`Bearer ${u}`),n(r,Object.assign(Object.assign({},o),{headers:c}))})};var i_=function(e,s,a,n){function i(r){return r instanceof a?r:new a(function(o){o(r)})}return new(a||(a=Promise))(function(r,o){function l(m){try{c(n.next(m))}catch(d){o(d)}}function u(m){try{c(n.throw(m))}catch(d){o(d)}}function c(m){m.done?r(m.value):i(m.value).then(l,u)}c((n=n.apply(e,s||[])).next())})};function r_(e){return e.endsWith("/")?e:e+"/"}function o_(e,s){var a,n;const{db:i,auth:r,realtime:o,global:l}=e,{db:u,auth:c,realtime:m,global:d}=s,b={db:Object.assign(Object.assign({},u),i),auth:Object.assign(Object.assign({},c),r),realtime:Object.assign(Object.assign({},m),o),storage:{},global:Object.assign(Object.assign(Object.assign({},d),l),{headers:Object.assign(Object.assign({},(a=d?.headers)!==null&&a!==void 0?a:{}),(n=l?.headers)!==null&&n!==void 0?n:{})}),accessToken:()=>i_(this,void 0,void 0,function*(){return""})};return e.accessToken?b.accessToken=e.accessToken:delete b.accessToken,b}function l_(e){const s=e?.trim();if(!s)throw new Error("supabaseUrl is required.");if(!s.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(r_(s))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}const VL="2.75.1",oo=30*1e3,pp=3,Bf=pp*oo,u_="http://localhost:9999",c_="supabase.auth.token",m_={"X-Client-Info":`gotrue-js/${VL}`},hp="X-Supabase-Api-Version",PL={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},d_=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,b_=10*60*1e3;class Hu extends Error{constructor(s,a,n){super(s),this.__isAuthError=!0,this.name="AuthError",this.status=a,this.code=n}}function Te(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class f_ extends Hu{constructor(s,a,n){super(s,a,n),this.name="AuthApiError",this.status=a,this.code=n}}function g_(e){return Te(e)&&e.name==="AuthApiError"}class nr extends Hu{constructor(s,a){super(s),this.name="AuthUnknownError",this.originalError=a}}class Si extends Hu{constructor(s,a,n,i){super(s,n,i),this.name=a,this.status=n}}class vi extends Si{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function p_(e){return Te(e)&&e.name==="AuthSessionMissingError"}class Zr extends Si{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class sm extends Si{constructor(s){super(s,"AuthInvalidCredentialsError",400,void 0)}}class tm extends Si{constructor(s,a=null){super(s,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=a}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function h_(e){return Te(e)&&e.name==="AuthImplicitGrantRedirectError"}class m0 extends Si{constructor(s,a=null){super(s,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=a}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class vp extends Si{constructor(s,a){super(s,"AuthRetryableFetchError",a,void 0)}}function qf(e){return Te(e)&&e.name==="AuthRetryableFetchError"}class d0 extends Si{constructor(s,a,n){super(s,"AuthWeakPasswordError",a,"weak_password"),this.reasons=n}}class Np extends Si{constructor(s){super(s,"AuthInvalidJwtError",400,"invalid_jwt")}}const Bm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),b0=` 	
\r=`.split(""),v_=(()=>{const e=new Array(128);for(let s=0;s<e.length;s+=1)e[s]=-1;for(let s=0;s<b0.length;s+=1)e[b0[s].charCodeAt(0)]=-2;for(let s=0;s<Bm.length;s+=1)e[Bm[s].charCodeAt(0)]=s;return e})();function f0(e,s,a){if(e!==null)for(s.queue=s.queue<<8|e,s.queuedBits+=8;s.queuedBits>=6;){const n=s.queue>>s.queuedBits-6&63;a(Bm[n]),s.queuedBits-=6}else if(s.queuedBits>0)for(s.queue=s.queue<<6-s.queuedBits,s.queuedBits=6;s.queuedBits>=6;){const n=s.queue>>s.queuedBits-6&63;a(Bm[n]),s.queuedBits-=6}}function AL(e,s,a){const n=v_[e];if(n>-1)for(s.queue=s.queue<<6|n,s.queuedBits+=6;s.queuedBits>=8;)a(s.queue>>s.queuedBits-8&255),s.queuedBits-=8;else{if(n===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function g0(e){const s=[],a=o=>{s.push(String.fromCodePoint(o))},n={utf8seq:0,codepoint:0},i={queue:0,queuedBits:0},r=o=>{D_(o,n,a)};for(let o=0;o<e.length;o+=1)AL(e.charCodeAt(o),i,r);return s.join("")}function N_(e,s){if(e<=127){s(e);return}else if(e<=2047){s(192|e>>6),s(128|e&63);return}else if(e<=65535){s(224|e>>12),s(128|e>>6&63),s(128|e&63);return}else if(e<=1114111){s(240|e>>18),s(128|e>>12&63),s(128|e>>6&63),s(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function x_(e,s){for(let a=0;a<e.length;a+=1){let n=e.charCodeAt(a);if(n>55295&&n<=56319){const i=(n-55296)*1024&65535;n=(e.charCodeAt(a+1)-56320&65535|i)+65536,a+=1}N_(n,s)}}function D_(e,s,a){if(s.utf8seq===0){if(e<=127){a(e);return}for(let n=1;n<6;n+=1)if(!(e>>7-n&1)){s.utf8seq=n;break}if(s.utf8seq===2)s.codepoint=e&31;else if(s.utf8seq===3)s.codepoint=e&15;else if(s.utf8seq===4)s.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");s.utf8seq-=1}else if(s.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");s.codepoint=s.codepoint<<6|e&63,s.utf8seq-=1,s.utf8seq===0&&a(s.codepoint)}}function Co(e){const s=[],a={queue:0,queuedBits:0},n=i=>{s.push(i)};for(let i=0;i<e.length;i+=1)AL(e.charCodeAt(i),a,n);return new Uint8Array(s)}function G_(e){const s=[];return x_(e,a=>s.push(a)),new Uint8Array(s)}function ir(e){const s=[],a={queue:0,queuedBits:0},n=i=>{s.push(i)};return e.forEach(i=>f0(i,a,n)),f0(null,a,n),s.join("")}function y_(e){return Math.round(Date.now()/1e3)+e}function C_(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const s=Math.random()*16|0;return(e=="x"?s:s&3|8).toString(16)})}const ua=()=>typeof window<"u"&&typeof document<"u",Ki={tested:!1,writable:!1},SL=()=>{if(!ua())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(Ki.tested)return Ki.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),Ki.tested=!0,Ki.writable=!0}catch{Ki.tested=!0,Ki.writable=!1}return Ki.writable};function k_(e){const s={},a=new URL(e);if(a.hash&&a.hash[0]==="#")try{new URLSearchParams(a.hash.substring(1)).forEach((i,r)=>{s[r]=i})}catch{}return a.searchParams.forEach((n,i)=>{s[i]=n}),s}const TL=e=>{let s;return e?s=e:typeof fetch>"u"?s=(...a)=>_r(async()=>{const{default:n}=await Promise.resolve().then(()=>Gl);return{default:n}},void 0).then(({default:n})=>n(...a)):s=fetch,(...a)=>s(...a)},E_=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",lo=async(e,s,a)=>{await e.setItem(s,JSON.stringify(a))},Yi=async(e,s)=>{const a=await e.getItem(s);if(!a)return null;try{return JSON.parse(a)}catch{return a}},gi=async(e,s)=>{await e.removeItem(s)};class Ub{constructor(){this.promise=new Ub.promiseConstructor((s,a)=>{this.resolve=s,this.reject=a})}}Ub.promiseConstructor=Promise;function Wf(e){const s=e.split(".");if(s.length!==3)throw new Np("Invalid JWT structure");for(let n=0;n<s.length;n++)if(!d_.test(s[n]))throw new Np("JWT not in base64url format");return{header:JSON.parse(g0(s[0])),payload:JSON.parse(g0(s[1])),signature:Co(s[2]),raw:{header:s[0],payload:s[1]}}}async function L_(e){return await new Promise(s=>{setTimeout(()=>s(null),e)})}function j_(e,s){return new Promise((n,i)=>{(async()=>{for(let r=0;r<1/0;r++)try{const o=await e(r);if(!s(r,null,o)){n(o);return}}catch(o){if(!s(r,o)){i(o);return}}})()})}function w_(e){return("0"+e.toString(16)).substr(-2)}function U_(){const s=new Uint32Array(56);if(typeof crypto>"u"){const a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",n=a.length;let i="";for(let r=0;r<56;r++)i+=a.charAt(Math.floor(Math.random()*n));return i}return crypto.getRandomValues(s),Array.from(s,w_).join("")}async function H_(e){const a=new TextEncoder().encode(e),n=await crypto.subtle.digest("SHA-256",a),i=new Uint8Array(n);return Array.from(i).map(r=>String.fromCharCode(r)).join("")}async function V_(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const a=await H_(e);return btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Xr(e,s,a=!1){const n=U_();let i=n;a&&(i+="/PASSWORD_RECOVERY"),await lo(e,`${s}-code-verifier`,i);const r=await V_(n);return[r,n===r?"plain":"s256"]}const P_=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function A_(e){const s=e.headers.get(hp);if(!s||!s.match(P_))return null;try{return new Date(`${s}T00:00:00.0Z`)}catch{return null}}function S_(e){if(!e)throw new Error("Missing exp claim");const s=Math.floor(Date.now()/1e3);if(e<=s)throw new Error("JWT has expired")}function T_(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const __=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function Jr(e){if(!__.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function zf(){const e={};return new Proxy(e,{get:(s,a)=>{if(a==="__isUserNotAvailableProxy")return!0;if(typeof a=="symbol"){const n=a.toString();if(n==="Symbol(Symbol.toPrimitive)"||n==="Symbol(Symbol.toStringTag)"||n==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${a}" property of the session object is not supported. Please use getUser() instead.`)},set:(s,a)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${a}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(s,a)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${a}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function p0(e){return JSON.parse(JSON.stringify(e))}var R_=function(e,s){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&s.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)s.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(a[n[i]]=e[n[i]]);return a};const Xi=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),M_=[502,503,504];async function h0(e){var s;if(!E_(e))throw new vp(Xi(e),0);if(M_.includes(e.status))throw new vp(Xi(e),e.status);let a;try{a=await e.json()}catch(r){throw new nr(Xi(r),r)}let n;const i=A_(e);if(i&&i.getTime()>=PL["2024-01-01"].timestamp&&typeof a=="object"&&a&&typeof a.code=="string"?n=a.code:typeof a=="object"&&a&&typeof a.error_code=="string"&&(n=a.error_code),n){if(n==="weak_password")throw new d0(Xi(a),e.status,((s=a.weak_password)===null||s===void 0?void 0:s.reasons)||[]);if(n==="session_not_found")throw new vi}else if(typeof a=="object"&&a&&typeof a.weak_password=="object"&&a.weak_password&&Array.isArray(a.weak_password.reasons)&&a.weak_password.reasons.length&&a.weak_password.reasons.reduce((r,o)=>r&&typeof o=="string",!0))throw new d0(Xi(a),e.status,a.weak_password.reasons);throw new f_(Xi(a),e.status||500,n)}const O_=(e,s,a,n)=>{const i={method:e,headers:s?.headers||{}};return e==="GET"?i:(i.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},s?.headers),i.body=JSON.stringify(n),Object.assign(Object.assign({},i),a))};async function Be(e,s,a,n){var i;const r=Object.assign({},n?.headers);r[hp]||(r[hp]=PL["2024-01-01"].name),n?.jwt&&(r.Authorization=`Bearer ${n.jwt}`);const o=(i=n?.query)!==null&&i!==void 0?i:{};n?.redirectTo&&(o.redirect_to=n.redirectTo);const l=Object.keys(o).length?"?"+new URLSearchParams(o).toString():"",u=await I_(e,s,a+l,{headers:r,noResolveJson:n?.noResolveJson},{},n?.body);return n?.xform?n?.xform(u):{data:Object.assign({},u),error:null}}async function I_(e,s,a,n,i,r){const o=O_(s,n,i,r);let l;try{l=await e(a,Object.assign({},o))}catch(u){throw console.error(u),new vp(Xi(u),0)}if(l.ok||await h0(l),n?.noResolveJson)return l;try{return await l.json()}catch(u){await h0(u)}}function Fa(e){var s;let a=null;B_(e)&&(a=Object.assign({},e),e.expires_at||(a.expires_at=y_(e.expires_in)));const n=(s=e.user)!==null&&s!==void 0?s:e;return{data:{session:a,user:n},error:null}}function v0(e){const s=Fa(e);return!s.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((a,n)=>a&&typeof n=="string",!0)&&(s.data.weak_password=e.weak_password),s}function Gi(e){var s;return{data:{user:(s=e.user)!==null&&s!==void 0?s:e},error:null}}function $_(e){return{data:e,error:null}}function F_(e){const{action_link:s,email_otp:a,hashed_token:n,redirect_to:i,verification_type:r}=e,o=R_(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),l={action_link:s,email_otp:a,hashed_token:n,redirect_to:i,verification_type:r},u=Object.assign({},o);return{data:{properties:l,user:u},error:null}}function N0(e){return e}function B_(e){return e.access_token&&e.refresh_token&&e.expires_in}const Kf=["global","local","others"];var q_=function(e,s){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&s.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)s.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(a[n[i]]=e[n[i]]);return a};class W_{constructor({url:s="",headers:a={},fetch:n}){this.url=s,this.headers=a,this.fetch=TL(n),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)}}async signOut(s,a=Kf[0]){if(Kf.indexOf(a)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${Kf.join(", ")}`);try{return await Be(this.fetch,"POST",`${this.url}/logout?scope=${a}`,{headers:this.headers,jwt:s,noResolveJson:!0}),{data:null,error:null}}catch(n){if(Te(n))return{data:null,error:n};throw n}}async inviteUserByEmail(s,a={}){try{return await Be(this.fetch,"POST",`${this.url}/invite`,{body:{email:s,data:a.data},headers:this.headers,redirectTo:a.redirectTo,xform:Gi})}catch(n){if(Te(n))return{data:{user:null},error:n};throw n}}async generateLink(s){try{const{options:a}=s,n=q_(s,["options"]),i=Object.assign(Object.assign({},n),a);return"newEmail"in n&&(i.new_email=n?.newEmail,delete i.newEmail),await Be(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:i,headers:this.headers,xform:F_,redirectTo:a?.redirectTo})}catch(a){if(Te(a))return{data:{properties:null,user:null},error:a};throw a}}async createUser(s){try{return await Be(this.fetch,"POST",`${this.url}/admin/users`,{body:s,headers:this.headers,xform:Gi})}catch(a){if(Te(a))return{data:{user:null},error:a};throw a}}async listUsers(s){var a,n,i,r,o,l,u;try{const c={nextPage:null,lastPage:0,total:0},m=await Be(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(n=(a=s?.page)===null||a===void 0?void 0:a.toString())!==null&&n!==void 0?n:"",per_page:(r=(i=s?.perPage)===null||i===void 0?void 0:i.toString())!==null&&r!==void 0?r:""},xform:N0});if(m.error)throw m.error;const d=await m.json(),b=(o=m.headers.get("x-total-count"))!==null&&o!==void 0?o:0,f=(u=(l=m.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&u!==void 0?u:[];return f.length>0&&(f.forEach(h=>{const g=parseInt(h.split(";")[0].split("=")[1].substring(0,1)),p=JSON.parse(h.split(";")[1].split("=")[1]);c[`${p}Page`]=g}),c.total=parseInt(b)),{data:Object.assign(Object.assign({},d),c),error:null}}catch(c){if(Te(c))return{data:{users:[]},error:c};throw c}}async getUserById(s){Jr(s);try{return await Be(this.fetch,"GET",`${this.url}/admin/users/${s}`,{headers:this.headers,xform:Gi})}catch(a){if(Te(a))return{data:{user:null},error:a};throw a}}async updateUserById(s,a){Jr(s);try{return await Be(this.fetch,"PUT",`${this.url}/admin/users/${s}`,{body:a,headers:this.headers,xform:Gi})}catch(n){if(Te(n))return{data:{user:null},error:n};throw n}}async deleteUser(s,a=!1){Jr(s);try{return await Be(this.fetch,"DELETE",`${this.url}/admin/users/${s}`,{headers:this.headers,body:{should_soft_delete:a},xform:Gi})}catch(n){if(Te(n))return{data:{user:null},error:n};throw n}}async _listFactors(s){Jr(s.userId);try{const{data:a,error:n}=await Be(this.fetch,"GET",`${this.url}/admin/users/${s.userId}/factors`,{headers:this.headers,xform:i=>({data:{factors:i},error:null})});return{data:a,error:n}}catch(a){if(Te(a))return{data:null,error:a};throw a}}async _deleteFactor(s){Jr(s.userId),Jr(s.id);try{return{data:await Be(this.fetch,"DELETE",`${this.url}/admin/users/${s.userId}/factors/${s.id}`,{headers:this.headers}),error:null}}catch(a){if(Te(a))return{data:null,error:a};throw a}}async _listOAuthClients(s){var a,n,i,r,o,l,u;try{const c={nextPage:null,lastPage:0,total:0},m=await Be(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(n=(a=s?.page)===null||a===void 0?void 0:a.toString())!==null&&n!==void 0?n:"",per_page:(r=(i=s?.perPage)===null||i===void 0?void 0:i.toString())!==null&&r!==void 0?r:""},xform:N0});if(m.error)throw m.error;const d=await m.json(),b=(o=m.headers.get("x-total-count"))!==null&&o!==void 0?o:0,f=(u=(l=m.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&u!==void 0?u:[];return f.length>0&&(f.forEach(h=>{const g=parseInt(h.split(";")[0].split("=")[1].substring(0,1)),p=JSON.parse(h.split(";")[1].split("=")[1]);c[`${p}Page`]=g}),c.total=parseInt(b)),{data:Object.assign(Object.assign({},d),c),error:null}}catch(c){if(Te(c))return{data:{clients:[]},error:c};throw c}}async _createOAuthClient(s){try{return await Be(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:s,headers:this.headers,xform:a=>({data:a,error:null})})}catch(a){if(Te(a))return{data:null,error:a};throw a}}async _getOAuthClient(s){try{return await Be(this.fetch,"GET",`${this.url}/admin/oauth/clients/${s}`,{headers:this.headers,xform:a=>({data:a,error:null})})}catch(a){if(Te(a))return{data:null,error:a};throw a}}async _deleteOAuthClient(s){try{return await Be(this.fetch,"DELETE",`${this.url}/admin/oauth/clients/${s}`,{headers:this.headers,xform:a=>({data:a,error:null})})}catch(a){if(Te(a))return{data:null,error:a};throw a}}async _regenerateOAuthClientSecret(s){try{return await Be(this.fetch,"POST",`${this.url}/admin/oauth/clients/${s}/regenerate_secret`,{headers:this.headers,xform:a=>({data:a,error:null})})}catch(a){if(Te(a))return{data:null,error:a};throw a}}}function x0(e={}){return{getItem:s=>e[s]||null,setItem:(s,a)=>{e[s]=a},removeItem:s=>{delete e[s]}}}const eo={debug:!!(globalThis&&SL()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class _L extends Error{constructor(s){super(s),this.isAcquireTimeout=!0}}class z_ extends _L{}async function K_(e,s,a){eo.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,s);const n=new globalThis.AbortController;return s>0&&setTimeout(()=>{n.abort(),eo.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},s),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,s===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:n.signal},async i=>{if(i){eo.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,i.name);try{return await a()}finally{eo.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,i.name)}}else{if(s===0)throw eo.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new z_(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(eo.debug)try{const r=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(r,null,"  "))}catch(r){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",r)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await a()}}))}function Y_(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function RL(e){if(!/^0x[a-fA-F0-9]{40}$/.test(e))throw new Error(`@supabase/auth-js: Address "${e}" is invalid.`);return e.toLowerCase()}function Q_(e){return parseInt(e,16)}function Z_(e){const s=new TextEncoder().encode(e);return"0x"+Array.from(s,n=>n.toString(16).padStart(2,"0")).join("")}function X_(e){var s;const{chainId:a,domain:n,expirationTime:i,issuedAt:r=new Date,nonce:o,notBefore:l,requestId:u,resources:c,scheme:m,uri:d,version:b}=e;{if(!Number.isInteger(a))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${a}`);if(!n)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(o&&o.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${o}`);if(!d)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(b!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${b}`);if(!((s=e.statement)===null||s===void 0)&&s.includes(`
`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${e.statement}`)}const f=RL(e.address),h=m?`${m}://${n}`:n,g=e.statement?`${e.statement}
`:"",p=`${h} wants you to sign in with your Ethereum account:
${f}

${g}`;let x=`URI: ${d}
Version: ${b}
Chain ID: ${a}${o?`
Nonce: ${o}`:""}
Issued At: ${r.toISOString()}`;if(i&&(x+=`
Expiration Time: ${i.toISOString()}`),l&&(x+=`
Not Before: ${l.toISOString()}`),u&&(x+=`
Request ID: ${u}`),c){let D=`
Resources:`;for(const N of c){if(!N||typeof N!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${N}`);D+=`
- ${N}`}x+=D}return`${p}
${x}`}class rt extends Error{constructor({message:s,code:a,cause:n,name:i}){var r;super(s,{cause:n}),this.__isWebAuthnError=!0,this.name=(r=i??(n instanceof Error?n.name:void 0))!==null&&r!==void 0?r:"Unknown Error",this.code=a}}class qm extends rt{constructor(s,a){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:a,message:s}),this.name="WebAuthnUnknownError",this.originalError=a}}function J_({error:e,options:s}){var a,n,i;const{publicKey:r}=s;if(!r)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(s.signal instanceof AbortSignal)return new rt({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(((a=r.authenticatorSelection)===null||a===void 0?void 0:a.requireResidentKey)===!0)return new rt({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(s.mediation==="conditional"&&((n=r.authenticatorSelection)===null||n===void 0?void 0:n.userVerification)==="required")return new rt({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(((i=r.authenticatorSelection)===null||i===void 0?void 0:i.userVerification)==="required")return new rt({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new rt({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new rt({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return r.pubKeyCredParams.filter(l=>l.type==="public-key").length===0?new rt({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new rt({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const o=window.location.hostname;if(OL(o)){if(r.rp.id!==o)return new rt({message:`The RP ID "${r.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new rt({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(r.user.id.byteLength<1||r.user.id.byteLength>64)return new rt({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new rt({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new rt({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}function e8({error:e,options:s}){const{publicKey:a}=s;if(!a)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(s.signal instanceof AbortSignal)return new rt({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new rt({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const n=window.location.hostname;if(OL(n)){if(a.rpId!==n)return new rt({message:`The RP ID "${a.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new rt({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new rt({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new rt({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}var ML=function(e,s){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&s.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)s.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(a[n[i]]=e[n[i]]);return a};class s8{createNewAbortSignal(){if(this.controller){const a=new Error("Cancelling existing WebAuthn API call for new one");a.name="AbortError",this.controller.abort(a)}const s=new AbortController;return this.controller=s,s.signal}cancelCeremony(){if(this.controller){const s=new Error("Manually cancelling existing WebAuthn API call");s.name="AbortError",this.controller.abort(s),this.controller=void 0}}}const t8=new s8;function a8(e){if(!e)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(e);const{challenge:s,user:a,excludeCredentials:n}=e,i=ML(e,["challenge","user","excludeCredentials"]),r=Co(s).buffer,o=Object.assign(Object.assign({},a),{id:Co(a.id).buffer}),l=Object.assign(Object.assign({},i),{challenge:r,user:o});if(n&&n.length>0){l.excludeCredentials=new Array(n.length);for(let u=0;u<n.length;u++){const c=n[u];l.excludeCredentials[u]=Object.assign(Object.assign({},c),{id:Co(c.id).buffer,type:c.type||"public-key",transports:c.transports})}}return l}function n8(e){if(!e)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(e);const{challenge:s,allowCredentials:a}=e,n=ML(e,["challenge","allowCredentials"]),i=Co(s).buffer,r=Object.assign(Object.assign({},n),{challenge:i});if(a&&a.length>0){r.allowCredentials=new Array(a.length);for(let o=0;o<a.length;o++){const l=a[o];r.allowCredentials[o]=Object.assign(Object.assign({},l),{id:Co(l.id).buffer,type:l.type||"public-key",transports:l.transports})}}return r}function i8(e){var s;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const a=e;return{id:e.id,rawId:e.id,response:{attestationObject:ir(new Uint8Array(e.response.attestationObject)),clientDataJSON:ir(new Uint8Array(e.response.clientDataJSON))},type:"public-key",clientExtensionResults:e.getClientExtensionResults(),authenticatorAttachment:(s=a.authenticatorAttachment)!==null&&s!==void 0?s:void 0}}function r8(e){var s;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const a=e,n=e.getClientExtensionResults(),i=e.response;return{id:e.id,rawId:e.id,response:{authenticatorData:ir(new Uint8Array(i.authenticatorData)),clientDataJSON:ir(new Uint8Array(i.clientDataJSON)),signature:ir(new Uint8Array(i.signature)),userHandle:i.userHandle?ir(new Uint8Array(i.userHandle)):void 0},type:"public-key",clientExtensionResults:n,authenticatorAttachment:(s=a.authenticatorAttachment)!==null&&s!==void 0?s:void 0}}function OL(e){return e==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}function D0(){var e,s;return!!(ua()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((e=navigator?.credentials)===null||e===void 0?void 0:e.create)=="function"&&typeof((s=navigator?.credentials)===null||s===void 0?void 0:s.get)=="function")}async function o8(e){try{const s=await navigator.credentials.create(e);return s?s instanceof PublicKeyCredential?{data:s,error:null}:{data:null,error:new qm("Browser returned unexpected credential type",s)}:{data:null,error:new qm("Empty credential response",s)}}catch(s){return{data:null,error:J_({error:s,options:e})}}}async function l8(e){try{const s=await navigator.credentials.get(e);return s?s instanceof PublicKeyCredential?{data:s,error:null}:{data:null,error:new qm("Browser returned unexpected credential type",s)}:{data:null,error:new qm("Empty credential response",s)}}catch(s){return{data:null,error:e8({error:s,options:e})}}}const u8={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"none"},c8={userVerification:"preferred",hints:["security-key"]};function Wm(...e){const s=i=>i!==null&&typeof i=="object"&&!Array.isArray(i),a=i=>i instanceof ArrayBuffer||ArrayBuffer.isView(i),n={};for(const i of e)if(i)for(const r in i){const o=i[r];if(o!==void 0)if(Array.isArray(o))n[r]=o;else if(a(o))n[r]=o;else if(s(o)){const l=n[r];s(l)?n[r]=Wm(l,o):n[r]=Wm(o)}else n[r]=o}return n}function m8(e,s){return Wm(u8,e,s||{})}function d8(e,s){return Wm(c8,e,s||{})}class b8{constructor(s){this.client=s,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(s){return this.client.mfa.enroll(Object.assign(Object.assign({},s),{factorType:"webauthn"}))}async _challenge({factorId:s,webauthn:a,friendlyName:n,signal:i},r){try{const{data:o,error:l}=await this.client.mfa.challenge({factorId:s,webauthn:a});if(!o)return{data:null,error:l};const u=i??t8.createNewAbortSignal();if(o.webauthn.type==="create"){const{user:c}=o.webauthn.credential_options.publicKey;c.name||(c.name=`${c.id}:${n}`),c.displayName||(c.displayName=c.name)}switch(o.webauthn.type){case"create":{const c=m8(o.webauthn.credential_options.publicKey,r?.create),{data:m,error:d}=await o8({publicKey:c,signal:u});return m?{data:{factorId:s,challengeId:o.id,webauthn:{type:o.webauthn.type,credential_response:m}},error:null}:{data:null,error:d}}case"request":{const c=d8(o.webauthn.credential_options.publicKey,r?.request),{data:m,error:d}=await l8(Object.assign(Object.assign({},o.webauthn.credential_options),{publicKey:c,signal:u}));return m?{data:{factorId:s,challengeId:o.id,webauthn:{type:o.webauthn.type,credential_response:m}},error:null}:{data:null,error:d}}}}catch(o){return Te(o)?{data:null,error:o}:{data:null,error:new nr("Unexpected error in challenge",o)}}}async _verify({challengeId:s,factorId:a,webauthn:n}){return this.client.mfa.verify({factorId:a,challengeId:s,webauthn:n})}async _authenticate({factorId:s,webauthn:{rpId:a=typeof window<"u"?window.location.hostname:void 0,rpOrigins:n=typeof window<"u"?[window.location.origin]:void 0,signal:i}},r){if(!a)return{data:null,error:new Hu("rpId is required for WebAuthn authentication")};try{if(!D0())return{data:null,error:new nr("Browser does not support WebAuthn",null)};const{data:o,error:l}=await this.challenge({factorId:s,webauthn:{rpId:a,rpOrigins:n},signal:i},{request:r});if(!o)return{data:null,error:l};const{webauthn:u}=o;return this._verify({factorId:s,challengeId:o.challengeId,webauthn:{type:u.type,rpId:a,rpOrigins:n,credential_response:u.credential_response}})}catch(o){return Te(o)?{data:null,error:o}:{data:null,error:new nr("Unexpected error in authenticate",o)}}}async _register({friendlyName:s,rpId:a=typeof window<"u"?window.location.hostname:void 0,rpOrigins:n=typeof window<"u"?[window.location.origin]:void 0,signal:i},r){if(!a)return{data:null,error:new Hu("rpId is required for WebAuthn registration")};try{if(!D0())return{data:null,error:new nr("Browser does not support WebAuthn",null)};const{data:o,error:l}=await this._enroll({friendlyName:s});if(!o)return await this.client.mfa.listFactors().then(m=>{var d;return(d=m.data)===null||d===void 0?void 0:d.all.find(b=>b.factor_type==="webauthn"&&b.friendly_name===s&&b.status!=="unverified")}).then(m=>m?this.client.mfa.unenroll({factorId:m?.id}):void 0),{data:null,error:l};const{data:u,error:c}=await this._challenge({factorId:o.id,friendlyName:o.friendly_name,webauthn:{rpId:a,rpOrigins:n},signal:i},{create:r});return u?this._verify({factorId:o.id,challengeId:u.challengeId,webauthn:{rpId:a,rpOrigins:n,type:u.webauthn.type,credential_response:u.webauthn.credential_response}}):{data:null,error:c}}catch(o){return Te(o)?{data:null,error:o}:{data:null,error:new nr("Unexpected error in register",o)}}}}Y_();const f8={url:u_,storageKey:c_,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:m_,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1};async function G0(e,s,a){return await a()}const so={};class Vu{get jwks(){var s,a;return(a=(s=so[this.storageKey])===null||s===void 0?void 0:s.jwks)!==null&&a!==void 0?a:{keys:[]}}set jwks(s){so[this.storageKey]=Object.assign(Object.assign({},so[this.storageKey]),{jwks:s})}get jwks_cached_at(){var s,a;return(a=(s=so[this.storageKey])===null||s===void 0?void 0:s.cachedAt)!==null&&a!==void 0?a:Number.MIN_SAFE_INTEGER}set jwks_cached_at(s){so[this.storageKey]=Object.assign(Object.assign({},so[this.storageKey]),{cachedAt:s})}constructor(s){var a,n;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=Vu.nextInstanceID,Vu.nextInstanceID+=1,this.instanceID>0&&ua()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");const i=Object.assign(Object.assign({},f8),s);if(this.logDebugMessages=!!i.debug,typeof i.debug=="function"&&(this.logger=i.debug),this.persistSession=i.persistSession,this.storageKey=i.storageKey,this.autoRefreshToken=i.autoRefreshToken,this.admin=new W_({url:i.url,headers:i.headers,fetch:i.fetch}),this.url=i.url,this.headers=i.headers,this.fetch=TL(i.fetch),this.lock=i.lock||G0,this.detectSessionInUrl=i.detectSessionInUrl,this.flowType=i.flowType,this.hasCustomAuthorizationHeader=i.hasCustomAuthorizationHeader,i.lock?this.lock=i.lock:ua()&&(!((a=globalThis?.navigator)===null||a===void 0)&&a.locks)?this.lock=K_:this.lock=G0,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new b8(this)},this.persistSession?(i.storage?this.storage=i.storage:SL()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=x0(this.memoryStorage)),i.userStorage&&(this.userStorage=i.userStorage)):(this.memoryStorage={},this.storage=x0(this.memoryStorage)),ua()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(r){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",r)}(n=this.broadcastChannel)===null||n===void 0||n.addEventListener("message",async r=>{this._debug("received broadcast notification from other tab or client",r),await this._notifyAllSubscribers(r.data.event,r.data.session,!1)})}this.initialize()}_debug(...s){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${VL}) ${new Date().toISOString()}`,...s),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var s;try{const a=k_(window.location.href);let n="none";if(this._isImplicitGrantCallback(a)?n="implicit":await this._isPKCECallback(a)&&(n="pkce"),ua()&&this.detectSessionInUrl&&n!=="none"){const{data:i,error:r}=await this._getSessionFromURL(a,n);if(r){if(this._debug("#_initialize()","error detecting session from URL",r),h_(r)){const u=(s=r.details)===null||s===void 0?void 0:s.code;if(u==="identity_already_exists"||u==="identity_not_found"||u==="single_identity_not_deletable")return{error:r}}return await this._removeSession(),{error:r}}const{session:o,redirectType:l}=i;return this._debug("#_initialize()","detected session in URL",o,"redirect type",l),await this._saveSession(o),setTimeout(async()=>{l==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",o):await this._notifyAllSubscribers("SIGNED_IN",o)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(a){return Te(a)?{error:a}:{error:new nr("Unexpected error during initialization",a)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(s){var a,n,i;try{const r=await Be(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(n=(a=s?.options)===null||a===void 0?void 0:a.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:(i=s?.options)===null||i===void 0?void 0:i.captchaToken}},xform:Fa}),{data:o,error:l}=r;if(l||!o)return{data:{user:null,session:null},error:l};const u=o.session,c=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",u)),{data:{user:c,session:u},error:null}}catch(r){if(Te(r))return{data:{user:null,session:null},error:r};throw r}}async signUp(s){var a,n,i;try{let r;if("email"in s){const{email:m,password:d,options:b}=s;let f=null,h=null;this.flowType==="pkce"&&([f,h]=await Xr(this.storage,this.storageKey)),r=await Be(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:b?.emailRedirectTo,body:{email:m,password:d,data:(a=b?.data)!==null&&a!==void 0?a:{},gotrue_meta_security:{captcha_token:b?.captchaToken},code_challenge:f,code_challenge_method:h},xform:Fa})}else if("phone"in s){const{phone:m,password:d,options:b}=s;r=await Be(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:m,password:d,data:(n=b?.data)!==null&&n!==void 0?n:{},channel:(i=b?.channel)!==null&&i!==void 0?i:"sms",gotrue_meta_security:{captcha_token:b?.captchaToken}},xform:Fa})}else throw new sm("You must provide either an email or phone number and a password");const{data:o,error:l}=r;if(l||!o)return{data:{user:null,session:null},error:l};const u=o.session,c=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",u)),{data:{user:c,session:u},error:null}}catch(r){if(Te(r))return{data:{user:null,session:null},error:r};throw r}}async signInWithPassword(s){try{let a;if("email"in s){const{email:r,password:o,options:l}=s;a=await Be(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:r,password:o,gotrue_meta_security:{captcha_token:l?.captchaToken}},xform:v0})}else if("phone"in s){const{phone:r,password:o,options:l}=s;a=await Be(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:r,password:o,gotrue_meta_security:{captcha_token:l?.captchaToken}},xform:v0})}else throw new sm("You must provide either an email or phone number and a password");const{data:n,error:i}=a;return i?{data:{user:null,session:null},error:i}:!n||!n.session||!n.user?{data:{user:null,session:null},error:new Zr}:(n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers("SIGNED_IN",n.session)),{data:Object.assign({user:n.user,session:n.session},n.weak_password?{weakPassword:n.weak_password}:null),error:i})}catch(a){if(Te(a))return{data:{user:null,session:null},error:a};throw a}}async signInWithOAuth(s){var a,n,i,r;return await this._handleProviderSignIn(s.provider,{redirectTo:(a=s.options)===null||a===void 0?void 0:a.redirectTo,scopes:(n=s.options)===null||n===void 0?void 0:n.scopes,queryParams:(i=s.options)===null||i===void 0?void 0:i.queryParams,skipBrowserRedirect:(r=s.options)===null||r===void 0?void 0:r.skipBrowserRedirect})}async exchangeCodeForSession(s){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(s))}async signInWithWeb3(s){const{chain:a}=s;switch(a){case"ethereum":return await this.signInWithEthereum(s);case"solana":return await this.signInWithSolana(s);default:throw new Error(`@supabase/auth-js: Unsupported chain "${a}"`)}}async signInWithEthereum(s){var a,n,i,r,o,l,u,c,m,d,b;let f,h;if("message"in s)f=s.message,h=s.signature;else{const{chain:g,wallet:p,statement:x,options:D}=s;let N;if(ua())if(typeof p=="object")N=p;else{const U=window;if("ethereum"in U&&typeof U.ethereum=="object"&&"request"in U.ethereum&&typeof U.ethereum.request=="function")N=U.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof p!="object"||!D?.url)throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");N=p}const C=new URL((a=D?.url)!==null&&a!==void 0?a:window.location.href),y=await N.request({method:"eth_requestAccounts"}).then(U=>U).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!y||y.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const G=RL(y[0]);let k=(n=D?.signInWithEthereum)===null||n===void 0?void 0:n.chainId;if(!k){const U=await N.request({method:"eth_chainId"});k=Q_(U)}const E={domain:C.host,address:G,statement:x,uri:C.href,version:"1",chainId:k,nonce:(i=D?.signInWithEthereum)===null||i===void 0?void 0:i.nonce,issuedAt:(o=(r=D?.signInWithEthereum)===null||r===void 0?void 0:r.issuedAt)!==null&&o!==void 0?o:new Date,expirationTime:(l=D?.signInWithEthereum)===null||l===void 0?void 0:l.expirationTime,notBefore:(u=D?.signInWithEthereum)===null||u===void 0?void 0:u.notBefore,requestId:(c=D?.signInWithEthereum)===null||c===void 0?void 0:c.requestId,resources:(m=D?.signInWithEthereum)===null||m===void 0?void 0:m.resources};f=X_(E),h=await N.request({method:"personal_sign",params:[Z_(f),G]})}try{const{data:g,error:p}=await Be(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:f,signature:h},!((d=s.options)===null||d===void 0)&&d.captchaToken?{gotrue_meta_security:{captcha_token:(b=s.options)===null||b===void 0?void 0:b.captchaToken}}:null),xform:Fa});if(p)throw p;return!g||!g.session||!g.user?{data:{user:null,session:null},error:new Zr}:(g.session&&(await this._saveSession(g.session),await this._notifyAllSubscribers("SIGNED_IN",g.session)),{data:Object.assign({},g),error:p})}catch(g){if(Te(g))return{data:{user:null,session:null},error:g};throw g}}async signInWithSolana(s){var a,n,i,r,o,l,u,c,m,d,b,f;let h,g;if("message"in s)h=s.message,g=s.signature;else{const{chain:p,wallet:x,statement:D,options:N}=s;let C;if(ua())if(typeof x=="object")C=x;else{const G=window;if("solana"in G&&typeof G.solana=="object"&&("signIn"in G.solana&&typeof G.solana.signIn=="function"||"signMessage"in G.solana&&typeof G.solana.signMessage=="function"))C=G.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof x!="object"||!N?.url)throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");C=x}const y=new URL((a=N?.url)!==null&&a!==void 0?a:window.location.href);if("signIn"in C&&C.signIn){const G=await C.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},N?.signInWithSolana),{version:"1",domain:y.host,uri:y.href}),D?{statement:D}:null));let k;if(Array.isArray(G)&&G[0]&&typeof G[0]=="object")k=G[0];else if(G&&typeof G=="object"&&"signedMessage"in G&&"signature"in G)k=G;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in k&&"signature"in k&&(typeof k.signedMessage=="string"||k.signedMessage instanceof Uint8Array)&&k.signature instanceof Uint8Array)h=typeof k.signedMessage=="string"?k.signedMessage:new TextDecoder().decode(k.signedMessage),g=k.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in C)||typeof C.signMessage!="function"||!("publicKey"in C)||typeof C!="object"||!C.publicKey||!("toBase58"in C.publicKey)||typeof C.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");h=[`${y.host} wants you to sign in with your Solana account:`,C.publicKey.toBase58(),...D?["",D,""]:[""],"Version: 1",`URI: ${y.href}`,`Issued At: ${(i=(n=N?.signInWithSolana)===null||n===void 0?void 0:n.issuedAt)!==null&&i!==void 0?i:new Date().toISOString()}`,...!((r=N?.signInWithSolana)===null||r===void 0)&&r.notBefore?[`Not Before: ${N.signInWithSolana.notBefore}`]:[],...!((o=N?.signInWithSolana)===null||o===void 0)&&o.expirationTime?[`Expiration Time: ${N.signInWithSolana.expirationTime}`]:[],...!((l=N?.signInWithSolana)===null||l===void 0)&&l.chainId?[`Chain ID: ${N.signInWithSolana.chainId}`]:[],...!((u=N?.signInWithSolana)===null||u===void 0)&&u.nonce?[`Nonce: ${N.signInWithSolana.nonce}`]:[],...!((c=N?.signInWithSolana)===null||c===void 0)&&c.requestId?[`Request ID: ${N.signInWithSolana.requestId}`]:[],...!((d=(m=N?.signInWithSolana)===null||m===void 0?void 0:m.resources)===null||d===void 0)&&d.length?["Resources",...N.signInWithSolana.resources.map(k=>`- ${k}`)]:[]].join(`
`);const G=await C.signMessage(new TextEncoder().encode(h),"utf8");if(!G||!(G instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");g=G}}try{const{data:p,error:x}=await Be(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:h,signature:ir(g)},!((b=s.options)===null||b===void 0)&&b.captchaToken?{gotrue_meta_security:{captcha_token:(f=s.options)===null||f===void 0?void 0:f.captchaToken}}:null),xform:Fa});if(x)throw x;return!p||!p.session||!p.user?{data:{user:null,session:null},error:new Zr}:(p.session&&(await this._saveSession(p.session),await this._notifyAllSubscribers("SIGNED_IN",p.session)),{data:Object.assign({},p),error:x})}catch(p){if(Te(p))return{data:{user:null,session:null},error:p};throw p}}async _exchangeCodeForSession(s){const a=await Yi(this.storage,`${this.storageKey}-code-verifier`),[n,i]=(a??"").split("/");try{const{data:r,error:o}=await Be(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:s,code_verifier:n},xform:Fa});if(await gi(this.storage,`${this.storageKey}-code-verifier`),o)throw o;return!r||!r.session||!r.user?{data:{user:null,session:null,redirectType:null},error:new Zr}:(r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),{data:Object.assign(Object.assign({},r),{redirectType:i??null}),error:o})}catch(r){if(Te(r))return{data:{user:null,session:null,redirectType:null},error:r};throw r}}async signInWithIdToken(s){try{const{options:a,provider:n,token:i,access_token:r,nonce:o}=s,l=await Be(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:n,id_token:i,access_token:r,nonce:o,gotrue_meta_security:{captcha_token:a?.captchaToken}},xform:Fa}),{data:u,error:c}=l;return c?{data:{user:null,session:null},error:c}:!u||!u.session||!u.user?{data:{user:null,session:null},error:new Zr}:(u.session&&(await this._saveSession(u.session),await this._notifyAllSubscribers("SIGNED_IN",u.session)),{data:u,error:c})}catch(a){if(Te(a))return{data:{user:null,session:null},error:a};throw a}}async signInWithOtp(s){var a,n,i,r,o;try{if("email"in s){const{email:l,options:u}=s;let c=null,m=null;this.flowType==="pkce"&&([c,m]=await Xr(this.storage,this.storageKey));const{error:d}=await Be(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:l,data:(a=u?.data)!==null&&a!==void 0?a:{},create_user:(n=u?.shouldCreateUser)!==null&&n!==void 0?n:!0,gotrue_meta_security:{captcha_token:u?.captchaToken},code_challenge:c,code_challenge_method:m},redirectTo:u?.emailRedirectTo});return{data:{user:null,session:null},error:d}}if("phone"in s){const{phone:l,options:u}=s,{data:c,error:m}=await Be(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:l,data:(i=u?.data)!==null&&i!==void 0?i:{},create_user:(r=u?.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:u?.captchaToken},channel:(o=u?.channel)!==null&&o!==void 0?o:"sms"}});return{data:{user:null,session:null,messageId:c?.message_id},error:m}}throw new sm("You must provide either an email or phone number.")}catch(l){if(Te(l))return{data:{user:null,session:null},error:l};throw l}}async verifyOtp(s){var a,n;try{let i,r;"options"in s&&(i=(a=s.options)===null||a===void 0?void 0:a.redirectTo,r=(n=s.options)===null||n===void 0?void 0:n.captchaToken);const{data:o,error:l}=await Be(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},s),{gotrue_meta_security:{captcha_token:r}}),redirectTo:i,xform:Fa});if(l)throw l;if(!o)throw new Error("An error occurred on token verification.");const u=o.session,c=o.user;return u?.access_token&&(await this._saveSession(u),await this._notifyAllSubscribers(s.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",u)),{data:{user:c,session:u},error:null}}catch(i){if(Te(i))return{data:{user:null,session:null},error:i};throw i}}async signInWithSSO(s){var a,n,i;try{let r=null,o=null;return this.flowType==="pkce"&&([r,o]=await Xr(this.storage,this.storageKey)),await Be(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in s?{provider_id:s.providerId}:null),"domain"in s?{domain:s.domain}:null),{redirect_to:(n=(a=s.options)===null||a===void 0?void 0:a.redirectTo)!==null&&n!==void 0?n:void 0}),!((i=s?.options)===null||i===void 0)&&i.captchaToken?{gotrue_meta_security:{captcha_token:s.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:r,code_challenge_method:o}),headers:this.headers,xform:$_})}catch(r){if(Te(r))return{data:null,error:r};throw r}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async s=>{const{data:{session:a},error:n}=s;if(n)throw n;if(!a)throw new vi;const{error:i}=await Be(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:a.access_token});return{data:{user:null,session:null},error:i}})}catch(s){if(Te(s))return{data:{user:null,session:null},error:s};throw s}}async resend(s){try{const a=`${this.url}/resend`;if("email"in s){const{email:n,type:i,options:r}=s,{error:o}=await Be(this.fetch,"POST",a,{headers:this.headers,body:{email:n,type:i,gotrue_meta_security:{captcha_token:r?.captchaToken}},redirectTo:r?.emailRedirectTo});return{data:{user:null,session:null},error:o}}else if("phone"in s){const{phone:n,type:i,options:r}=s,{data:o,error:l}=await Be(this.fetch,"POST",a,{headers:this.headers,body:{phone:n,type:i,gotrue_meta_security:{captcha_token:r?.captchaToken}}});return{data:{user:null,session:null,messageId:o?.message_id},error:l}}throw new sm("You must provide either an email or phone number and a type")}catch(a){if(Te(a))return{data:{user:null,session:null},error:a};throw a}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async a=>a))}async _acquireLock(s,a){this._debug("#_acquireLock","begin",s);try{if(this.lockAcquired){const n=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),i=(async()=>(await n,await a()))();return this.pendingInLock.push((async()=>{try{await i}catch{}})()),i}return await this.lock(`lock:${this.storageKey}`,s,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const n=a();for(this.pendingInLock.push((async()=>{try{await n}catch{}})()),await n;this.pendingInLock.length;){const i=[...this.pendingInLock];await Promise.all(i),this.pendingInLock.splice(0,i.length)}return await n}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(s){this._debug("#_useSession","begin");try{const a=await this.__loadSession();return await s(a)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let s=null;const a=await Yi(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",a),a!==null&&(this._isValidSession(a)?s=a:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!s)return{data:{session:null},error:null};const n=s.expires_at?s.expires_at*1e3-Date.now()<Bf:!1;if(this._debug("#__loadSession()",`session has${n?"":" not"} expired`,"expires_at",s.expires_at),!n){if(this.userStorage){const o=await Yi(this.userStorage,this.storageKey+"-user");o?.user?s.user=o.user:s.user=zf()}if(this.storage.isServer&&s.user){let o=this.suppressGetSessionWarning;s=new Proxy(s,{get:(u,c,m)=>(!o&&c==="user"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),o=!0,this.suppressGetSessionWarning=!0),Reflect.get(u,c,m))})}return{data:{session:s},error:null}}const{data:i,error:r}=await this._callRefreshToken(s.refresh_token);return r?{data:{session:null},error:r}:{data:{session:i},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(s){return s?await this._getUser(s):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(s){try{return s?await Be(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:s,xform:Gi}):await this._useSession(async a=>{var n,i,r;const{data:o,error:l}=a;if(l)throw l;return!(!((n=o.session)===null||n===void 0)&&n.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new vi}:await Be(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(r=(i=o.session)===null||i===void 0?void 0:i.access_token)!==null&&r!==void 0?r:void 0,xform:Gi})})}catch(a){if(Te(a))return p_(a)&&(await this._removeSession(),await gi(this.storage,`${this.storageKey}-code-verifier`)),{data:{user:null},error:a};throw a}}async updateUser(s,a={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(s,a))}async _updateUser(s,a={}){try{return await this._useSession(async n=>{const{data:i,error:r}=n;if(r)throw r;if(!i.session)throw new vi;const o=i.session;let l=null,u=null;this.flowType==="pkce"&&s.email!=null&&([l,u]=await Xr(this.storage,this.storageKey));const{data:c,error:m}=await Be(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:a?.emailRedirectTo,body:Object.assign(Object.assign({},s),{code_challenge:l,code_challenge_method:u}),jwt:o.access_token,xform:Gi});if(m)throw m;return o.user=c.user,await this._saveSession(o),await this._notifyAllSubscribers("USER_UPDATED",o),{data:{user:o.user},error:null}})}catch(n){if(Te(n))return{data:{user:null},error:n};throw n}}async setSession(s){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(s))}async _setSession(s){try{if(!s.access_token||!s.refresh_token)throw new vi;const a=Date.now()/1e3;let n=a,i=!0,r=null;const{payload:o}=Wf(s.access_token);if(o.exp&&(n=o.exp,i=n<=a),i){const{data:l,error:u}=await this._callRefreshToken(s.refresh_token);if(u)return{data:{user:null,session:null},error:u};if(!l)return{data:{user:null,session:null},error:null};r=l}else{const{data:l,error:u}=await this._getUser(s.access_token);if(u)throw u;r={access_token:s.access_token,refresh_token:s.refresh_token,user:l.user,token_type:"bearer",expires_in:n-a,expires_at:n},await this._saveSession(r),await this._notifyAllSubscribers("SIGNED_IN",r)}return{data:{user:r.user,session:r},error:null}}catch(a){if(Te(a))return{data:{session:null,user:null},error:a};throw a}}async refreshSession(s){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(s))}async _refreshSession(s){try{return await this._useSession(async a=>{var n;if(!s){const{data:o,error:l}=a;if(l)throw l;s=(n=o.session)!==null&&n!==void 0?n:void 0}if(!s?.refresh_token)throw new vi;const{data:i,error:r}=await this._callRefreshToken(s.refresh_token);return r?{data:{user:null,session:null},error:r}:i?{data:{user:i.user,session:i},error:null}:{data:{user:null,session:null},error:null}})}catch(a){if(Te(a))return{data:{user:null,session:null},error:a};throw a}}async _getSessionFromURL(s,a){try{if(!ua())throw new tm("No browser detected.");if(s.error||s.error_description||s.error_code)throw new tm(s.error_description||"Error in URL with unspecified error_description",{error:s.error||"unspecified_error",code:s.error_code||"unspecified_code"});switch(a){case"implicit":if(this.flowType==="pkce")throw new m0("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new tm("Not a valid implicit grant flow url.");break;default:}if(a==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!s.code)throw new m0("No code detected.");const{data:D,error:N}=await this._exchangeCodeForSession(s.code);if(N)throw N;const C=new URL(window.location.href);return C.searchParams.delete("code"),window.history.replaceState(window.history.state,"",C.toString()),{data:{session:D.session,redirectType:null},error:null}}const{provider_token:n,provider_refresh_token:i,access_token:r,refresh_token:o,expires_in:l,expires_at:u,token_type:c}=s;if(!r||!l||!o||!c)throw new tm("No session defined in URL");const m=Math.round(Date.now()/1e3),d=parseInt(l);let b=m+d;u&&(b=parseInt(u));const f=b-m;f*1e3<=oo&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${f}s, should have been closer to ${d}s`);const h=b-d;m-h>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",h,b,m):m-h<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",h,b,m);const{data:g,error:p}=await this._getUser(r);if(p)throw p;const x={provider_token:n,provider_refresh_token:i,access_token:r,expires_in:d,expires_at:b,refresh_token:o,token_type:c,user:g.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:x,redirectType:s.type},error:null}}catch(n){if(Te(n))return{data:{session:null,redirectType:null},error:n};throw n}}_isImplicitGrantCallback(s){return!!(s.access_token||s.error_description)}async _isPKCECallback(s){const a=await Yi(this.storage,`${this.storageKey}-code-verifier`);return!!(s.code&&a)}async signOut(s={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(s))}async _signOut({scope:s}={scope:"global"}){return await this._useSession(async a=>{var n;const{data:i,error:r}=a;if(r)return{error:r};const o=(n=i.session)===null||n===void 0?void 0:n.access_token;if(o){const{error:l}=await this.admin.signOut(o,s);if(l&&!(g_(l)&&(l.status===404||l.status===401||l.status===403)))return{error:l}}return s!=="others"&&(await this._removeSession(),await gi(this.storage,`${this.storageKey}-code-verifier`)),{error:null}})}onAuthStateChange(s){const a=C_(),n={id:a,callback:s,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",a),this.stateChangeEmitters.delete(a)}};return this._debug("#onAuthStateChange()","registered callback with id",a),this.stateChangeEmitters.set(a,n),(async()=>(await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(a)})))(),{data:{subscription:n}}}async _emitInitialSession(s){return await this._useSession(async a=>{var n,i;try{const{data:{session:r},error:o}=a;if(o)throw o;await((n=this.stateChangeEmitters.get(s))===null||n===void 0?void 0:n.callback("INITIAL_SESSION",r)),this._debug("INITIAL_SESSION","callback id",s,"session",r)}catch(r){await((i=this.stateChangeEmitters.get(s))===null||i===void 0?void 0:i.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",s,"error",r),console.error(r)}})}async resetPasswordForEmail(s,a={}){let n=null,i=null;this.flowType==="pkce"&&([n,i]=await Xr(this.storage,this.storageKey,!0));try{return await Be(this.fetch,"POST",`${this.url}/recover`,{body:{email:s,code_challenge:n,code_challenge_method:i,gotrue_meta_security:{captcha_token:a.captchaToken}},headers:this.headers,redirectTo:a.redirectTo})}catch(r){if(Te(r))return{data:null,error:r};throw r}}async getUserIdentities(){var s;try{const{data:a,error:n}=await this.getUser();if(n)throw n;return{data:{identities:(s=a.user.identities)!==null&&s!==void 0?s:[]},error:null}}catch(a){if(Te(a))return{data:null,error:a};throw a}}async linkIdentity(s){return"token"in s?this.linkIdentityIdToken(s):this.linkIdentityOAuth(s)}async linkIdentityOAuth(s){var a;try{const{data:n,error:i}=await this._useSession(async r=>{var o,l,u,c,m;const{data:d,error:b}=r;if(b)throw b;const f=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,s.provider,{redirectTo:(o=s.options)===null||o===void 0?void 0:o.redirectTo,scopes:(l=s.options)===null||l===void 0?void 0:l.scopes,queryParams:(u=s.options)===null||u===void 0?void 0:u.queryParams,skipBrowserRedirect:!0});return await Be(this.fetch,"GET",f,{headers:this.headers,jwt:(m=(c=d.session)===null||c===void 0?void 0:c.access_token)!==null&&m!==void 0?m:void 0})});if(i)throw i;return ua()&&!(!((a=s.options)===null||a===void 0)&&a.skipBrowserRedirect)&&window.location.assign(n?.url),{data:{provider:s.provider,url:n?.url},error:null}}catch(n){if(Te(n))return{data:{provider:s.provider,url:null},error:n};throw n}}async linkIdentityIdToken(s){return await this._useSession(async a=>{var n;try{const{error:i,data:{session:r}}=a;if(i)throw i;const{options:o,provider:l,token:u,access_token:c,nonce:m}=s,d=await Be(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(n=r?.access_token)!==null&&n!==void 0?n:void 0,body:{provider:l,id_token:u,access_token:c,nonce:m,link_identity:!0,gotrue_meta_security:{captcha_token:o?.captchaToken}},xform:Fa}),{data:b,error:f}=d;return f?{data:{user:null,session:null},error:f}:!b||!b.session||!b.user?{data:{user:null,session:null},error:new Zr}:(b.session&&(await this._saveSession(b.session),await this._notifyAllSubscribers("USER_UPDATED",b.session)),{data:b,error:f})}catch(i){if(Te(i))return{data:{user:null,session:null},error:i};throw i}})}async unlinkIdentity(s){try{return await this._useSession(async a=>{var n,i;const{data:r,error:o}=a;if(o)throw o;return await Be(this.fetch,"DELETE",`${this.url}/user/identities/${s.identity_id}`,{headers:this.headers,jwt:(i=(n=r.session)===null||n===void 0?void 0:n.access_token)!==null&&i!==void 0?i:void 0})})}catch(a){if(Te(a))return{data:null,error:a};throw a}}async _refreshAccessToken(s){const a=`#_refreshAccessToken(${s.substring(0,5)}...)`;this._debug(a,"begin");try{const n=Date.now();return await j_(async i=>(i>0&&await L_(200*Math.pow(2,i-1)),this._debug(a,"refreshing attempt",i),await Be(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:s},headers:this.headers,xform:Fa})),(i,r)=>{const o=200*Math.pow(2,i);return r&&qf(r)&&Date.now()+o-n<oo})}catch(n){if(this._debug(a,"error",n),Te(n))return{data:{session:null,user:null},error:n};throw n}finally{this._debug(a,"end")}}_isValidSession(s){return typeof s=="object"&&s!==null&&"access_token"in s&&"refresh_token"in s&&"expires_at"in s}async _handleProviderSignIn(s,a){const n=await this._getUrlForProvider(`${this.url}/authorize`,s,{redirectTo:a.redirectTo,scopes:a.scopes,queryParams:a.queryParams});return this._debug("#_handleProviderSignIn()","provider",s,"options",a,"url",n),ua()&&!a.skipBrowserRedirect&&window.location.assign(n),{data:{provider:s,url:n},error:null}}async _recoverAndRefresh(){var s,a;const n="#_recoverAndRefresh()";this._debug(n,"begin");try{const i=await Yi(this.storage,this.storageKey);if(i&&this.userStorage){let o=await Yi(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!o&&(o={user:i.user},await lo(this.userStorage,this.storageKey+"-user",o)),i.user=(s=o?.user)!==null&&s!==void 0?s:zf()}else if(i&&!i.user&&!i.user){const o=await Yi(this.storage,this.storageKey+"-user");o&&o?.user?(i.user=o.user,await gi(this.storage,this.storageKey+"-user"),await lo(this.storage,this.storageKey,i)):i.user=zf()}if(this._debug(n,"session from storage",i),!this._isValidSession(i)){this._debug(n,"session is not valid"),i!==null&&await this._removeSession();return}const r=((a=i.expires_at)!==null&&a!==void 0?a:1/0)*1e3-Date.now()<Bf;if(this._debug(n,`session has${r?"":" not"} expired with margin of ${Bf}s`),r){if(this.autoRefreshToken&&i.refresh_token){const{error:o}=await this._callRefreshToken(i.refresh_token);o&&(console.error(o),qf(o)||(this._debug(n,"refresh failed with a non-retryable error, removing the session",o),await this._removeSession()))}}else if(i.user&&i.user.__isUserNotAvailableProxy===!0)try{const{data:o,error:l}=await this._getUser(i.access_token);!l&&o?.user?(i.user=o.user,await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)):this._debug(n,"could not get user data, skipping SIGNED_IN notification")}catch(o){console.error("Error getting user data:",o),this._debug(n,"error getting user data, skipping SIGNED_IN notification",o)}else await this._notifyAllSubscribers("SIGNED_IN",i)}catch(i){this._debug(n,"error",i),console.error(i);return}finally{this._debug(n,"end")}}async _callRefreshToken(s){var a,n;if(!s)throw new vi;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const i=`#_callRefreshToken(${s.substring(0,5)}...)`;this._debug(i,"begin");try{this.refreshingDeferred=new Ub;const{data:r,error:o}=await this._refreshAccessToken(s);if(o)throw o;if(!r.session)throw new vi;await this._saveSession(r.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",r.session);const l={data:r.session,error:null};return this.refreshingDeferred.resolve(l),l}catch(r){if(this._debug(i,"error",r),Te(r)){const o={data:null,error:r};return qf(r)||await this._removeSession(),(a=this.refreshingDeferred)===null||a===void 0||a.resolve(o),o}throw(n=this.refreshingDeferred)===null||n===void 0||n.reject(r),r}finally{this.refreshingDeferred=null,this._debug(i,"end")}}async _notifyAllSubscribers(s,a,n=!0){const i=`#_notifyAllSubscribers(${s})`;this._debug(i,"begin",a,`broadcast = ${n}`);try{this.broadcastChannel&&n&&this.broadcastChannel.postMessage({event:s,session:a});const r=[],o=Array.from(this.stateChangeEmitters.values()).map(async l=>{try{await l.callback(s,a)}catch(u){r.push(u)}});if(await Promise.all(o),r.length>0){for(let l=0;l<r.length;l+=1)console.error(r[l]);throw r[0]}}finally{this._debug(i,"end")}}async _saveSession(s){this._debug("#_saveSession()",s),this.suppressGetSessionWarning=!0;const a=Object.assign({},s),n=a.user&&a.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!n&&a.user&&await lo(this.userStorage,this.storageKey+"-user",{user:a.user});const i=Object.assign({},a);delete i.user;const r=p0(i);await lo(this.storage,this.storageKey,r)}else{const i=p0(a);await lo(this.storage,this.storageKey,i)}}async _removeSession(){this._debug("#_removeSession()"),await gi(this.storage,this.storageKey),await gi(this.storage,this.storageKey+"-code-verifier"),await gi(this.storage,this.storageKey+"-user"),this.userStorage&&await gi(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const s=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{s&&ua()&&window?.removeEventListener&&window.removeEventListener("visibilitychange",s)}catch(a){console.error("removing visibilitychange callback failed",a)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const s=setInterval(()=>this._autoRefreshTokenTick(),oo);this.autoRefreshTicker=s,s&&typeof s=="object"&&typeof s.unref=="function"?s.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(s),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const s=this.autoRefreshTicker;this.autoRefreshTicker=null,s&&clearInterval(s)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const s=Date.now();try{return await this._useSession(async a=>{const{data:{session:n}}=a;if(!n||!n.refresh_token||!n.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const i=Math.floor((n.expires_at*1e3-s)/oo);this._debug("#_autoRefreshTokenTick()",`access token expires in ${i} ticks, a tick lasts ${oo}ms, refresh threshold is ${pp} ticks`),i<=pp&&await this._callRefreshToken(n.refresh_token)})}catch(a){console.error("Auto refresh tick failed with error. This is likely a transient error.",a)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(s){if(s.isAcquireTimeout||s instanceof _L)this._debug("auto refresh token tick lock not available");else throw s}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!ua()||!window?.addEventListener)return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),window?.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(s){console.error("_handleVisibilityChange",s)}}async _onVisibilityChanged(s){const a=`#_onVisibilityChanged(${s})`;this._debug(a,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),s||(await this.initializePromise,await this._acquireLock(-1,async()=>{if(document.visibilityState!=="visible"){this._debug(a,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(s,a,n){const i=[`provider=${encodeURIComponent(a)}`];if(n?.redirectTo&&i.push(`redirect_to=${encodeURIComponent(n.redirectTo)}`),n?.scopes&&i.push(`scopes=${encodeURIComponent(n.scopes)}`),this.flowType==="pkce"){const[r,o]=await Xr(this.storage,this.storageKey),l=new URLSearchParams({code_challenge:`${encodeURIComponent(r)}`,code_challenge_method:`${encodeURIComponent(o)}`});i.push(l.toString())}if(n?.queryParams){const r=new URLSearchParams(n.queryParams);i.push(r.toString())}return n?.skipBrowserRedirect&&i.push(`skip_http_redirect=${n.skipBrowserRedirect}`),`${s}?${i.join("&")}`}async _unenroll(s){try{return await this._useSession(async a=>{var n;const{data:i,error:r}=a;return r?{data:null,error:r}:await Be(this.fetch,"DELETE",`${this.url}/factors/${s.factorId}`,{headers:this.headers,jwt:(n=i?.session)===null||n===void 0?void 0:n.access_token})})}catch(a){if(Te(a))return{data:null,error:a};throw a}}async _enroll(s){try{return await this._useSession(async a=>{var n,i;const{data:r,error:o}=a;if(o)return{data:null,error:o};const l=Object.assign({friendly_name:s.friendlyName,factor_type:s.factorType},s.factorType==="phone"?{phone:s.phone}:s.factorType==="totp"?{issuer:s.issuer}:{}),{data:u,error:c}=await Be(this.fetch,"POST",`${this.url}/factors`,{body:l,headers:this.headers,jwt:(n=r?.session)===null||n===void 0?void 0:n.access_token});return c?{data:null,error:c}:(s.factorType==="totp"&&u.type==="totp"&&(!((i=u?.totp)===null||i===void 0)&&i.qr_code)&&(u.totp.qr_code=`data:image/svg+xml;utf-8,${u.totp.qr_code}`),{data:u,error:null})})}catch(a){if(Te(a))return{data:null,error:a};throw a}}async _verify(s){return this._acquireLock(-1,async()=>{try{return await this._useSession(async a=>{var n;const{data:i,error:r}=a;if(r)return{data:null,error:r};const o=Object.assign({challenge_id:s.challengeId},"webauthn"in s?{webauthn:Object.assign(Object.assign({},s.webauthn),{credential_response:s.webauthn.type==="create"?i8(s.webauthn.credential_response):r8(s.webauthn.credential_response)})}:{code:s.code}),{data:l,error:u}=await Be(this.fetch,"POST",`${this.url}/factors/${s.factorId}/verify`,{body:o,headers:this.headers,jwt:(n=i?.session)===null||n===void 0?void 0:n.access_token});return u?{data:null,error:u}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+l.expires_in},l)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",l),{data:l,error:u})})}catch(a){if(Te(a))return{data:null,error:a};throw a}})}async _challenge(s){return this._acquireLock(-1,async()=>{try{return await this._useSession(async a=>{var n;const{data:i,error:r}=a;if(r)return{data:null,error:r};const o=await Be(this.fetch,"POST",`${this.url}/factors/${s.factorId}/challenge`,{body:s,headers:this.headers,jwt:(n=i?.session)===null||n===void 0?void 0:n.access_token});if(o.error)return o;const{data:l}=o;if(l.type!=="webauthn")return{data:l,error:null};switch(l.webauthn.type){case"create":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:a8(l.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:n8(l.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(a){if(Te(a))return{data:null,error:a};throw a}})}async _challengeAndVerify(s){const{data:a,error:n}=await this._challenge({factorId:s.factorId});return n?{data:null,error:n}:await this._verify({factorId:s.factorId,challengeId:a.id,code:s.code})}async _listFactors(){var s;const{data:{user:a},error:n}=await this.getUser();if(n)return{data:null,error:n};const i={all:[],phone:[],totp:[],webauthn:[]};for(const r of(s=a?.factors)!==null&&s!==void 0?s:[])i.all.push(r),r.status==="verified"&&i[r.factor_type].push(r);return{data:i,error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async s=>{var a,n;const{data:{session:i},error:r}=s;if(r)return{data:null,error:r};if(!i)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:o}=Wf(i.access_token);let l=null;o.aal&&(l=o.aal);let u=l;((n=(a=i.user.factors)===null||a===void 0?void 0:a.filter(d=>d.status==="verified"))!==null&&n!==void 0?n:[]).length>0&&(u="aal2");const m=o.amr||[];return{data:{currentLevel:l,nextLevel:u,currentAuthenticationMethods:m},error:null}}))}async fetchJwk(s,a={keys:[]}){let n=a.keys.find(l=>l.kid===s);if(n)return n;const i=Date.now();if(n=this.jwks.keys.find(l=>l.kid===s),n&&this.jwks_cached_at+b_>i)return n;const{data:r,error:o}=await Be(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(o)throw o;return!r.keys||r.keys.length===0||(this.jwks=r,this.jwks_cached_at=i,n=r.keys.find(l=>l.kid===s),!n)?null:n}async getClaims(s,a={}){try{let n=s;if(!n){const{data:f,error:h}=await this.getSession();if(h||!f.session)return{data:null,error:h};n=f.session.access_token}const{header:i,payload:r,signature:o,raw:{header:l,payload:u}}=Wf(n);a?.allowExpired||S_(r.exp);const c=!i.alg||i.alg.startsWith("HS")||!i.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(i.kid,a?.keys?{keys:a.keys}:a?.jwks);if(!c){const{error:f}=await this.getUser(n);if(f)throw f;return{data:{claims:r,header:i,signature:o},error:null}}const m=T_(i.alg),d=await crypto.subtle.importKey("jwk",c,m,!0,["verify"]);if(!await crypto.subtle.verify(m,d,o,G_(`${l}.${u}`)))throw new Np("Invalid JWT signature");return{data:{claims:r,header:i,signature:o},error:null}}catch(n){if(Te(n))return{data:null,error:n};throw n}}}Vu.nextInstanceID=0;const g8=Vu;class p8 extends g8{constructor(s){super(s)}}var h8=function(e,s,a,n){function i(r){return r instanceof a?r:new a(function(o){o(r)})}return new(a||(a=Promise))(function(r,o){function l(m){try{c(n.next(m))}catch(d){o(d)}}function u(m){try{c(n.throw(m))}catch(d){o(d)}}function c(m){m.done?r(m.value):i(m.value).then(l,u)}c((n=n.apply(e,s||[])).next())})};class v8{constructor(s,a,n){var i,r,o;this.supabaseUrl=s,this.supabaseKey=a;const l=l_(s);if(!a)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",l),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",l),this.storageUrl=new URL("storage/v1",l),this.functionsUrl=new URL("functions/v1",l);const u=`sb-${l.hostname.split(".")[0]}-auth-token`,c={db:XT,realtime:e_,auth:Object.assign(Object.assign({},JT),{storageKey:u}),global:ZT},m=o_(n??{},c);this.storageKey=(i=m.auth.storageKey)!==null&&i!==void 0?i:"",this.headers=(r=m.global.headers)!==null&&r!==void 0?r:{},m.accessToken?(this.accessToken=m.accessToken,this.auth=new Proxy({},{get:(d,b)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(b)} is not possible`)}})):this.auth=this._initSupabaseAuthClient((o=m.auth)!==null&&o!==void 0?o:{},this.headers,m.global.fetch),this.fetch=n_(a,this._getAccessToken.bind(this),m.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers,accessToken:this._getAccessToken.bind(this)},m.realtime)),this.rest=new fT(new URL("rest/v1",l).href,{headers:this.headers,schema:m.db.schema,fetch:this.fetch}),this.storage=new KT(this.storageUrl.href,this.headers,this.fetch,n?.storage),m.accessToken||this._listenForAuthEvents()}get functions(){return new W7(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(s){return this.rest.from(s)}schema(s){return this.rest.schema(s)}rpc(s,a={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(s,a,n)}channel(s,a={config:{}}){return this.realtime.channel(s,a)}getChannels(){return this.realtime.getChannels()}removeChannel(s){return this.realtime.removeChannel(s)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){return h8(this,void 0,void 0,function*(){var s,a;if(this.accessToken)return yield this.accessToken();const{data:n}=yield this.auth.getSession();return(a=(s=n.session)===null||s===void 0?void 0:s.access_token)!==null&&a!==void 0?a:this.supabaseKey})}_initSupabaseAuthClient({autoRefreshToken:s,persistSession:a,detectSessionInUrl:n,storage:i,userStorage:r,storageKey:o,flowType:l,lock:u,debug:c},m,d){const b={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new p8({url:this.authUrl.href,headers:Object.assign(Object.assign({},b),m),storageKey:o,autoRefreshToken:s,persistSession:a,detectSessionInUrl:n,storage:i,userStorage:r,flowType:l,lock:u,debug:c,fetch:d,hasCustomAuthorizationHeader:Object.keys(this.headers).some(f=>f.toLowerCase()==="authorization")})}_initRealtimeClient(s){return new HT(this.realtimeUrl.href,Object.assign(Object.assign({},s),{params:Object.assign({apikey:this.supabaseKey},s?.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((a,n)=>{this._handleTokenChanged(a,"CLIENT",n?.access_token)})}_handleTokenChanged(s,a,n){(s==="TOKEN_REFRESHED"||s==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):s==="SIGNED_OUT"&&(this.realtime.setAuth(),a=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}}const N8=(e,s,a)=>new v8(e,s,a);function x8(){if(typeof window<"u"||typeof process>"u")return!1;const e=process.version;if(e==null)return!1;const s=e.match(/^v(\d+)\./);return s?parseInt(s[1],10)<=18:!1}x8()&&console.warn("⚠️  Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");const D8="https://huehnpbwouwstkjdlovc.supabase.co",G8="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imh1ZWhucGJ3b3V3c3RramRsb3ZjIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjEyNjExODAsImV4cCI6MjA3NjgzNzE4MH0.uWT63sD9UxIP1emVFZEaUh1Txaj-noMAkQrpExnvTtE";let am=null;function IL(){return am||(am=N8(D8,G8,{auth:{persistSession:!0,autoRefreshToken:!0,storage:typeof window<"u"?window.localStorage:void 0}}),am)}const oe=IL();function at(){const[e,s]=v.useState(null),[a,n]=v.useState(null),[i,r]=v.useState(!0),[o,l]=v.useState({step:"credentials"}),[u,c]=v.useState(null),[m,d]=v.useState(!1),b="devAuth",f="devAuthUser";v.useEffect(()=>{oe.auth.getSession().then(({data:{session:y}})=>{if(n(y),s(y?.user??null),r(!1),!y&&typeof window<"u")try{const G=window.localStorage.getItem(b)==="true",k=window.localStorage.getItem(f);if(G&&k){const E=JSON.parse(k);s(E),n({access_token:"dev",token_type:"bearer",expires_in:3600,expires_at:Math.floor(Date.now()/1e3)+3600,refresh_token:"dev",provider_token:null,user:E})}}catch{}});const{data:{subscription:C}}=oe.auth.onAuthStateChange((y,G)=>{n(G),s(G?.user??null),r(!1)});return()=>C.unsubscribe()},[]);const h=async(C,y,G)=>{const k=C.includes("@");let E=C;if(!k){const{data:H,error:j}=await oe.rpc("get_user_by_username",{username_input:C});if(j)return console.error("RPC Error:",j),{data:null,error:{message:"Unable to verify username. Please try again."}};if(!H||H.length===0)return{data:null,error:{message:"Invalid username or password"}};E=H[0].email,console.log("Username lookup successful. Email:",E)}const{data:U,error:T}=await oe.auth.signInWithPassword({email:E,password:y});if(T&&console.error("Auth Error:",T.message,"Email used:",E),T&&T.message.includes("Email not confirmed")){const H={id:"dev-user-id",email:E,user_metadata:{},app_metadata:{},aud:"authenticated",created_at:new Date().toISOString(),updated_at:new Date().toISOString(),email_confirmed_at:null,phone:null,confirmed_at:null,last_sign_in_at:new Date().toISOString(),role:"authenticated",factors:null,identities:[]};s(H);try{window.localStorage.setItem(f,JSON.stringify(H)),window.localStorage.setItem(b,"pending")}catch{}return l({step:"security",selectedAccount:G,securityQuestion:{questionKey:"actor",questionText:"What is the name of your best actor?"}}),{data:{user:H,session:null},error:null}}if(U.user&&!T){const{data:H,error:j}=await oe.from("profiles").select("security_questions").eq("id",U.user.id).maybeSingle();if(!j&&H?.security_questions){const A=Object.keys(H.security_questions).filter(P=>{const V=H.security_questions[P];return typeof V=="string"&&V.trim().length>0});if(A.length>0){const P={actor:"What is the name of your best actor?",book:"What is your favorite book?",town:"What town was your mother born?"},V=A[Math.floor(Math.random()*A.length)];d(!0),c(H.security_questions),l({step:"security",selectedAccount:G,securityQuestion:{questionKey:V,questionText:P[V]||`What is your ${V}?`}})}else d(!1),c(null),l({step:"needs_setup"})}else d(!1),c(null),l({step:"needs_setup"})}return{data:U,error:T}},g=async C=>{if(!e||!o.securityQuestion)return{success:!1,error:"No user or security question available"};if(e.id==="dev-user-id")if({actor:"Smith",book:"Hover",town:"California"}[o.securityQuestion.questionKey]?.toLowerCase()===C.toLowerCase()){l({step:"complete"}),d(!1);try{window.localStorage.setItem(b,"true"),window.localStorage.setItem(f,JSON.stringify(e)),sessionStorage.setItem("securityQuestionVerified","true"),sessionStorage.setItem("securityQuestionVerifiedAt",Date.now().toString())}catch{}return{success:!0}}else return{success:!1,error:"Incorrect security question answer"};const{data:y,error:G}=await oe.rpc("verify_security_question",{user_uuid:e.id,question_key:o.securityQuestion.questionKey,answer:C});return G?{success:!1,error:G.message}:y?(l({step:"complete"}),d(!1),typeof window<"u"&&(sessionStorage.setItem("securityQuestionVerified","true"),sessionStorage.setItem("securityQuestionVerifiedAt",Date.now().toString())),{success:!0}):{success:!1,error:"Incorrect security question answer"}},p=async(C,y,G)=>{const{data:k,error:E}=await oe.auth.signUp({email:C,password:y,options:{data:G,emailRedirectTo:`${window.location.origin}/auth/callback`}});if(k.user&&!E){await x(k.user.id,C,G);try{await oe.rpc("generate_activation_code",{user_uuid:k.user.id})}catch(U){console.error("Error generating activation code:",U)}}return{data:k,error:E}},x=async(C,y,G)=>{try{console.log("Creating/updating profile for user:",C);const{data:k,error:E}=await oe.from("profiles").select("*").eq("id",C).maybeSingle();if(E&&E.code!=="PGRST116")return console.error("Profile fetch error:",E),{success:!1,error:E};const U=G?.username||y.split("@")[0];if(k){const T={};let H=!1;if(G?.username&&(T.username=G.username,H=!0),G?.securityQuestions&&typeof G.securityQuestions=="object"){const j=G.securityQuestions;Object.values(j).some(A=>A&&typeof A=="string"&&A.trim().length>0)&&(T.security_questions=j,H=!0)}if(G?.forename&&typeof G.forename=="string"&&k.first_name!==G.forename?(T.first_name=G.forename,H=!0):G?.first_name&&typeof G.first_name=="string"&&k.first_name!==G.first_name&&(T.first_name=G.first_name,H=!0),G?.surname&&typeof G.surname=="string"&&k.last_name!==G.surname?(T.last_name=G.surname,H=!0):G?.last_name&&typeof G.last_name=="string"&&k.last_name!==G.last_name&&(T.last_name=G.last_name,H=!0),G?.middleName&&typeof G.middleName=="string"&&k.middle_name!==G.middleName?(T.middle_name=G.middleName,H=!0):G?.middle_name&&typeof G.middle_name=="string"&&k.middle_name!==G.middle_name&&(T.middle_name=G.middle_name,H=!0),G?.title&&typeof G.title=="string"&&k.title!==G.title&&(T.title=G.title,H=!0),G?.dateOfBirth)try{const j=typeof G.dateOfBirth=="string"?G.dateOfBirth:String(G.dateOfBirth);j.match(/^\d{4}-\d{2}-\d{2}$/)&&k.date_of_birth!==j&&(T.date_of_birth=j,H=!0)}catch(j){console.warn("Failed to parse dateOfBirth:",j)}else G?.date_of_birth&&k.date_of_birth!==G.date_of_birth&&(T.date_of_birth=G.date_of_birth,H=!0);if(G?.phone&&typeof G.phone=="string"&&k.phone!==G.phone&&(T.phone=G.phone,H=!0),G?.address){let j;if(typeof G.address=="object"&&G.address!==null)j=G.address;else if(typeof G.address=="string")try{j=JSON.parse(G.address)}catch{j={line1:G.address}}j&&JSON.stringify(k.address)!==JSON.stringify(j)&&(T.address=j,H=!0)}if(G?.zipPostcode&&typeof G.zipPostcode=="string"&&k.zip_postcode!==G.zipPostcode?(T.zip_postcode=G.zipPostcode,H=!0):G?.zip_postcode&&typeof G.zip_postcode=="string"&&k.zip_postcode!==G.zip_postcode&&(T.zip_postcode=G.zip_postcode,H=!0),G?.country&&typeof G.country=="string"&&k.country!==G.country&&(T.country=G.country,H=!0),H){const{error:j}=await oe.from("profiles").update(T).eq("id",C);if(j)return console.error("Profile update failed:",j),{success:!1,error:j};console.log("Profile updated successfully")}return{success:!0}}else{const T={id:C,email:y,username:U,status:"active"};if(G?.securityQuestions&&typeof G.securityQuestions=="object"){const j=G.securityQuestions;Object.values(j).some(A=>A&&typeof A=="string"&&A.trim().length>0)&&(T.security_questions=j)}if(G?.forename&&typeof G.forename=="string"?T.first_name=G.forename:G?.first_name&&typeof G.first_name=="string"&&(T.first_name=G.first_name),G?.surname&&typeof G.surname=="string"?T.last_name=G.surname:G?.last_name&&typeof G.last_name=="string"&&(T.last_name=G.last_name),G?.middleName&&typeof G.middleName=="string"?T.middle_name=G.middleName:G?.middle_name&&typeof G.middle_name=="string"&&(T.middle_name=G.middle_name),G?.title&&typeof G.title=="string"&&(T.title=G.title),G?.dateOfBirth)try{const j=typeof G.dateOfBirth=="string"?G.dateOfBirth:String(G.dateOfBirth);j.match(/^\d{4}-\d{2}-\d{2}$/)&&(T.date_of_birth=j)}catch(j){console.warn("Failed to parse dateOfBirth:",j)}else G?.date_of_birth&&(T.date_of_birth=G.date_of_birth);if(G?.phone&&typeof G.phone=="string"&&(T.phone=G.phone),G?.address){if(typeof G.address=="object"&&G.address!==null)T.address=G.address;else if(typeof G.address=="string")try{T.address=JSON.parse(G.address)}catch{T.address={line1:G.address}}}G?.zipPostcode&&typeof G.zipPostcode=="string"?T.zip_postcode=G.zipPostcode:G?.zip_postcode&&typeof G.zip_postcode=="string"&&(T.zip_postcode=G.zip_postcode),G?.country&&typeof G.country=="string"&&(T.country=G.country);const{error:H}=await oe.from("profiles").insert(T);return H?(console.error("Profile insert failed:",H),{success:!1,error:H}):(console.log("Profile created successfully"),{success:!0})}}catch(k){return console.error("Error in ensureProfileAndDefaults:",k),{success:!1,error:k}}};return{user:e,session:a,loading:i,signIn:h,signUp:p,signOut:async()=>{const{error:C}=await oe.auth.signOut();d(!1),c(null),l({step:"credentials"});try{window.localStorage.removeItem(b),window.localStorage.removeItem(f),sessionStorage.removeItem("securityQuestionVerified"),sessionStorage.removeItem("securityQuestionVerifiedAt")}catch{}return s(null),n(null),{error:C}},loginStep:o,requiresSecurityQuestions:m,securityQuestions:u,verifySecurityQuestion:g,resetLoginStep:()=>{l({step:"credentials"}),d(!1),c(null);try{sessionStorage.removeItem("securityQuestionVerified"),sessionStorage.removeItem("securityQuestionVerifiedAt")}catch{}}}}function Cl(){const{user:e}=at(),[s,a]=v.useState(!1),[n,i]=v.useState(!0),[r,o]=v.useState(null);return v.useEffect(()=>{let l=!0;return(async()=>{if(!e){l&&(a(!1),i(!1));return}l&&i(!0);try{const{data:c,error:m}=await oe.from("user_roles").select("*").eq("user_id",e.id).in("role",["admin","banker","manager"]).maybeSingle();if(!l)return;m?(console.error("[useAdmin] Error fetching admin role:",m),a(!1),o(null)):c?(a(!0),o(c)):(a(!1),o(null))}catch(c){if(!l)return;console.error("[useAdmin] Exception checking admin status:",c),a(!1)}finally{l&&i(!1)}})(),()=>{l=!1}},[e]),{isAdmin:s,isLoading:n,userRole:r}}const $L=[{to:"/",label:"Home",icon:Rt},{to:"/personal",label:"Personal",icon:Za},{to:"/business",label:"Business",icon:Vo},{to:"/rural",label:"Rural",icon:FE},{to:"/calculators",label:"Calculators",icon:Se},{to:"/legal",label:"Legal",icon:zs},{to:"/support",label:"Support",icon:Cu},{to:"/company",label:"Company",icon:Cs},{to:"/contact",label:"Contact",icon:ss}],FL={"/":[{label:"About",to:"/about"},{label:"Contact",to:"/contact"},{label:"Login",to:"/login"},{label:"Register",to:"/register"},{label:"Activate",to:"/activate"}],"/personal":[{label:"Accounts",to:"/personal/accounts",icon:Cs,description:"Everyday & savings accounts"},{label:"Home Loans",to:"/personal/home-loans",icon:Vo,description:"Purchase or refinance"},{label:"Credit Cards",to:"/personal/credit-cards",icon:as,description:"Rewards & low-rate cards"},{label:"Insurance",to:"/personal/insurance",icon:zs,description:"Protect what matters"},{label:"Investments",to:"/personal/investments",icon:wt,description:"Grow your wealth"},{label:"Personal Loans",to:"/personal/personal-loans",icon:Cn,description:"Flexible borrowing options"}],"/business":[{label:"Banking",to:"/business/banking"},{label:"Loans",to:"/business/loans"},{label:"Merchant Services",to:"/business/merchant-services"},{label:"Deposits",to:"/business/deposits"},{label:"Investments",to:"/business/investments"},{label:"Online Banking",to:"/business/online-banking"},{label:"Professional Services",to:"/business/professional-services"}],"/rural":[{label:"Starting",to:"/rural/starting"},{label:"Growing",to:"/rural/growing"},{label:"Farm Planning",to:"/rural/farm-planning"},{label:"Accounts",to:"/rural/accounts"},{label:"Lending",to:"/rural/lending"},{label:"Private Banking",to:"/rural/private-banking"}],"/legal":[{label:"Privacy Policy",to:"/legal/privacy"},{label:"Terms & Conditions",to:"/legal/terms"}],"/support":[{label:"FAQs",to:"/support/faqs"},{label:"Help Center",to:"/support/help"}],"/company":[{label:"Careers",to:"/company/careers"},{label:"Leadership",to:"/company/leadership"},{label:"News",to:"/company/news"}],"/calculators":[{label:"All Calculators",to:"/calculators"},{label:"Savings Calculators",to:"/calculators/savings"},{label:"Investing Calculators",to:"/calculators/investing"},{label:"Home Loan Calculators",to:"/calculators/home-loans"}]},y8=[{to:"/login",label:"Sign In",icon:YP,hoverBg:"hover:bg-blue-50",hoverText:"hover:text-blue-600"},{to:"/register",label:"Create Account",icon:$E,hoverBg:"hover:bg-green-50",hoverText:"hover:text-green-600"}],C8=()=>{const e=v.useCallback(s=>{console.log("Language changed to:",s.target.value)},[]);return t.jsxDEV("div",{className:"hidden lg:flex items-center gap-2",children:[t.jsxDEV("label",{htmlFor:"language",className:"text-xs text-gray-600 uppercase tracking-wide",children:"Select Language"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:126,columnNumber:7},void 0),t.jsxDEV("select",{id:"language",className:"text-sm border border-gray-300 rounded bg-white px-2 py-1 focus:outline-none focus:ring-2 focus:ring-gatesib-green",defaultValue:"en","aria-label":"Select language",onChange:e,children:[t.jsxDEV("option",{value:"en",children:"English"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:139,columnNumber:9},void 0),t.jsxDEV("option",{value:"pl",children:"Polski"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:140,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:132,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:125,columnNumber:5},void 0)},k8=()=>{const[e,s]=v.useState(""),a=v.useCallback(n=>{n.preventDefault(),e.trim()&&console.log("Searching for:",e)},[e]);return t.jsxDEV("form",{onSubmit:a,className:"relative hidden md:block",children:[t.jsxDEV("input",{type:"text",placeholder:"Search Gates Capital Banking",className:"pl-9 pr-4 py-1.5 text-sm border border-gray-300 rounded bg-white focus:outline-none focus:ring-2 focus:ring-gatesib-green w-64",value:e,onChange:n=>s(n.target.value),"aria-label":"Search"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:160,columnNumber:7},void 0),t.jsxDEV("button",{type:"submit","aria-label":"Submit search",children:t.jsxDEV(hl,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:169,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:168,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:159,columnNumber:5},void 0)},E8=()=>t.jsxDEV("div",{className:"hidden md:flex items-center gap-2",children:[t.jsxDEV(L,{variant:"outline",size:"sm",className:"border-gray-300 text-gray-700 hover:bg-gray-50",asChild:!0,children:t.jsxDEV(I,{to:"/register",children:"Register"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:179,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:178,columnNumber:5},void 0),t.jsxDEV(L,{variant:"outline",size:"sm",className:"border-gray-300 text-gray-700 hover:bg-gray-50",asChild:!0,children:t.jsxDEV(I,{to:"/activate",children:"Activate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:182,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:181,columnNumber:5},void 0),t.jsxDEV(L,{size:"sm",className:"bg-gatesib-green hover:bg-gatesib-green/90 text-white",asChild:!0,children:t.jsxDEV(I,{to:"/login","aria-label":"Log in to your account",children:"🔒 Log In"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:185,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:184,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:177,columnNumber:3},void 0),L8=()=>{const{isAdmin:e}=Cl();return e?t.jsxDEV(L,{variant:"outline",size:"sm",className:"border-gatesib-green text-gatesib-green hover:bg-gatesib-green/10",asChild:!0,children:t.jsxDEV(I,{to:"/admin",children:"Admin"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:196,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:195,columnNumber:5},void 0):null},j8=()=>{const e=an();return t.jsxDEV("div",{className:"hidden md:flex items-center gap-1",children:$L.map(s=>{s.icon;const a=e.pathname===s.to,n=FL[s.to];return n&&n.length?t.jsxDEV("div",{className:"relative group",children:[t.jsxDEV(I,{to:s.to,className:`px-6 py-3 hover:bg-white/10 transition-colors border-r border-white/20 text-sm font-medium flex items-center gap-1 ${a?"bg-white/10":""}`,"aria-current":a?"page":void 0,children:[s.label,t.jsxDEV("svg",{className:"w-4 h-4 ml-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:224,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:223,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:216,columnNumber:15},void 0),t.jsxDEV(I7,{parentTo:s.to,items:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:229,columnNumber:15},void 0)]},s.to,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:215,columnNumber:13},void 0):t.jsxDEV(I,{to:s.to,className:`px-6 py-3 hover:bg-white/10 transition-colors border-r border-white/20 text-sm font-medium ${a?"bg-white/10":""}`,"aria-current":a?"page":void 0,children:s.label},s.to,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:235,columnNumber:11},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:206,columnNumber:5},void 0)},w8=({isOpen:e,onClose:s,onToggle:a})=>{const n=an(),[i,r]=v.useState([]),o=v.useCallback(()=>{s()},[s]),l=v.useCallback(c=>{r(m=>m.includes(c)?m.filter(d=>d!==c):[...m,c])},[]),u=v.useCallback(c=>i.includes(c),[i]);return t.jsxDEV(dL,{open:e,onOpenChange:c=>!c&&s(),children:[t.jsxDEV(bL,{asChild:!0,children:t.jsxDEV(L,{variant:"ghost",size:"sm",className:"md:hidden text-gatesib-green hover:bg-gatesib-green/10 active:bg-gatesib-green/20 p-2 min-h-[44px] min-w-[44px] flex items-center justify-center rounded-lg transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-gatesib-green/50 touch-manipulation","aria-label":"Toggle mobile menu","aria-controls":"mobile-navigation",onClick:a,children:t.jsxDEV(RE,{className:`h-5 w-5 transition-transform duration-200 ${e?"rotate-90":""}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:290,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:282,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:281,columnNumber:7},void 0),t.jsxDEV(tN,{side:"left",className:"w-[85vw] max-w-sm h-full bg-white border-r border-gray-200 p-0 flex flex-col touch-manipulation",id:"mobile-navigation","aria-label":"Mobile navigation menu",children:t.jsxDEV("div",{className:"flex flex-col h-full overflow-y-auto overscroll-contain",children:[t.jsxDEV("div",{className:"p-6 border-b border-gray-100 bg-gradient-to-b from-green-50 to-white",children:[t.jsxDEV("div",{className:"flex items-center justify-between",children:t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(I,{to:"/",onClick:o,"aria-label":"Go to home",className:"inline-flex",children:t.jsxDEV(kr,{showTagline:!1,size:"large"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:305,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:304,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:303,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:302,columnNumber:13},void 0),t.jsxDEV("div",{className:"mt-4 grid grid-cols-2 gap-3",children:[t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(L,{asChild:!0,className:"w-full bg-gatesib-green text-white hover:bg-gatesib-green/90 min-h-[44px]",children:t.jsxDEV(I,{to:"/login",onClick:o,children:"Secure Login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:312,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:311,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:310,columnNumber:15},void 0),t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(L,{variant:"outline",asChild:!0,className:"w-full border-gatesib-green text-gatesib-green hover:bg-gatesib-green/10 min-h-[44px]",children:t.jsxDEV(I,{to:"/register",onClick:o,children:"Create Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:319,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:318,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:317,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:309,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:301,columnNumber:11},void 0),t.jsxDEV("div",{className:"flex-1 px-4 py-5",children:[t.jsxDEV("nav",{className:"space-y-2","aria-label":"Main navigation",children:$L.map(c=>{const m=c.icon,d=n.pathname===c.to,b=FL[c.to],f=!!(b&&b.length),h=u(c.to);return f?t.jsxDEV("div",{className:"space-y-1",children:[t.jsxDEV("div",{className:`flex items-center gap-4 px-5 py-4 rounded-xl transition-all duration-200 group min-h-[52px] touch-manipulation shadow-sm cursor-pointer ${d?"bg-gatesib-green/10 text-gatesib-green ring-1 ring-gatesib-green/30":"bg-white text-gray-800 hover:bg-gatesib-green/5 active:bg-gatesib-green/10"}`,onClick:()=>l(c.to),role:"button",tabIndex:0,onKeyDown:g=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),l(c.to))},"aria-haspopup":"true",children:[t.jsxDEV(m,{className:`h-5 w-5 ${d?"text-gatesib-green":"text-gray-500 group-hover:text-gatesib-green"}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:357,columnNumber:25},void 0),t.jsxDEV("span",{className:"font-medium text-base flex-1",children:c.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:359,columnNumber:25},void 0),t.jsxDEV("svg",{className:`w-5 h-5 transition-transform duration-200 ${h?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t.jsxDEV("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:367,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:360,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:341,columnNumber:23},void 0),t.jsxDEV("div",{className:`overflow-hidden transition-all duration-200 ${h?"max-h-96 opacity-100":"max-h-0 opacity-0"}`,children:t.jsxDEV("div",{className:"pl-4 space-y-1",children:[t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(I,{to:c.to,className:`flex items-center gap-4 px-5 py-3 rounded-lg transition-all duration-200 min-h-[44px] touch-manipulation ${d?"bg-gatesib-green/5 text-gatesib-green":"bg-gray-50 text-gray-700 hover:bg-gatesib-green/5 hover:text-gatesib-green"}`,onClick:o,children:[t.jsxDEV("div",{className:"w-2 h-2 rounded-full bg-gatesib-green/30"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:385,columnNumber:31},void 0),t.jsxDEV("span",{className:"text-sm font-medium",children:"Overview"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:386,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:377,columnNumber:29},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:376,columnNumber:27},void 0),b.map(g=>t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(I,{to:g.to,className:"flex items-center gap-4 px-5 py-3 rounded-lg transition-all duration-200 min-h-[44px] touch-manipulation bg-gray-50 text-gray-700 hover:bg-gatesib-green/5 hover:text-gatesib-green",onClick:o,children:[t.jsxDEV("div",{className:"w-2 h-2 rounded-full bg-gray-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:398,columnNumber:33},void 0),t.jsxDEV("span",{className:"text-sm font-medium",children:g.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:399,columnNumber:33},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:393,columnNumber:31},void 0)},g.to,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:392,columnNumber:29},void 0))]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:374,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:372,columnNumber:23},void 0)]},c.to,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:339,columnNumber:21},void 0):t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(I,{to:c.to,className:`flex items-center gap-4 px-5 py-4 rounded-xl transition-all duration-200 group min-h-[52px] touch-manipulation shadow-sm ${d?"bg-gatesib-green/10 text-gatesib-green ring-1 ring-gatesib-green/30":"bg-white text-gray-800 hover:bg-gatesib-green/5 active:bg-gatesib-green/10"}`,onClick:o,"aria-current":d?"page":void 0,children:[t.jsxDEV(m,{className:`h-5 w-5 ${d?"text-gatesib-green":"text-gray-500 group-hover:text-gatesib-green"}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:421,columnNumber:23},void 0),t.jsxDEV("span",{className:"font-medium text-base",children:c.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:423,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:412,columnNumber:21},void 0)},c.to,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:411,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:329,columnNumber:13},void 0),t.jsxDEV("div",{className:"mt-8 pt-6 border-t border-gray-100",children:[t.jsxDEV("h3",{className:"text-sm font-semibold text-gray-900 mb-3 px-1",children:"Quick Actions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:432,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-2",children:y8.map(c=>{const m=c.icon;return t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(I,{to:c.to,className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${c.hoverBg} ${c.hoverText}`,onClick:o,children:[t.jsxDEV(m,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:444,columnNumber:25},void 0),t.jsxDEV("span",{className:"text-sm font-medium",children:c.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:445,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:439,columnNumber:23},void 0)},c.to,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:438,columnNumber:21},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:433,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:431,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:328,columnNumber:11},void 0),t.jsxDEV("div",{className:"hidden p-4 border-t border-gray-100 bg-gray-50",children:t.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(L,{variant:"outline",asChild:!0,className:"w-full border-gatesib-green text-gatesib-green hover:bg-gatesib-green/10 min-h-[44px]",children:t.jsxDEV(I,{to:"/activate",onClick:o,children:"Activate Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:459,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:458,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:457,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:456,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:455,columnNumber:11},void 0),t.jsxDEV("div",{className:"p-4 border-t border-gray-100 bg-gray-50",children:t.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:[t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(L,{variant:"outline",asChild:!0,className:"w-full border-gatesib-green text-gatesib-green hover:bg-gatesib-green/10 min-h-[44px]",children:t.jsxDEV(I,{to:"/activate",onClick:o,children:"Activate Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:472,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:471,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:470,columnNumber:15},void 0),t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(L,{className:"w-full bg-gatesib-green hover:bg-gatesib-green/90 text-white shadow-sm transition-all duration-200 min-h-[48px] touch-manipulation",asChild:!0,children:t.jsxDEV(I,{to:"/login",onClick:o,children:"🔒 Secure Login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:482,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:478,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:477,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:469,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:468,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:299,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:293,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:280,columnNumber:5},void 0)},$e=()=>{const[e,s]=v.useState(!1),[a,n]=v.useState(!1),i=an();Js(),v.useEffect(()=>{const l=()=>{n(window.scrollY>10)};return window.addEventListener("scroll",l),()=>window.removeEventListener("scroll",l)},[]),v.useEffect(()=>{const l=()=>{window.innerWidth>=768&&e&&s(!1)},u=()=>{s(!1)};return window.addEventListener("resize",l),window.addEventListener("popstate",u),()=>{window.removeEventListener("resize",l),window.removeEventListener("popstate",u)}},[e]),v.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[e]),v.useEffect(()=>{s(!1)},[i.pathname]);const r=v.useCallback(()=>{s(!1)},[]),o=v.useCallback(()=>{s(l=>!l)},[]);return typeof window>"u"?null:t.jsxDEV("nav",{className:"w-full sticky top-0 z-50",role:"navigation","aria-label":"Main navigation",children:[t.jsxDEV("div",{className:`bg-white border-b border-gray-200 transition-shadow duration-200 ${a?"shadow-sm":""}`,children:t.jsxDEV("div",{className:"container mx-auto px-4 py-3 flex items-center justify-between",children:[t.jsxDEV("div",{className:"flex justify-start",children:t.jsxDEV(w8,{isOpen:e,onClose:r,onToggle:o},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:575,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:574,columnNumber:11},void 0),t.jsxDEV("div",{className:"flex-1 flex justify-center md:justify-start",children:t.jsxDEV(I,{to:"/",className:"flex-shrink-0",children:t.jsxDEV(kr,{showTagline:!0,size:"small"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:585,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:584,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:583,columnNumber:11},void 0),t.jsxDEV("div",{className:"flex justify-end",children:[t.jsxDEV("div",{className:"hidden md:flex items-center gap-2 lg:gap-3",children:[t.jsxDEV(C8,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:592,columnNumber:15},void 0),t.jsxDEV(k8,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:593,columnNumber:15},void 0),t.jsxDEV(L8,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:594,columnNumber:15},void 0),t.jsxDEV(E8,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:595,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:591,columnNumber:13},void 0),t.jsxDEV("div",{className:"w-11 h-11 md:hidden"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:597,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:590,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:572,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:570,columnNumber:7},void 0),t.jsxDEV("div",{className:"bg-gatesib-green text-white",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV(j8,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:605,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:604,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:603,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/Navbar.tsx",lineNumber:568,columnNumber:5},void 0)},U8=rn("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function He({className:e,variant:s,...a}){return t.jsxDEV("div",{className:me(U8({variant:s}),e),...a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/badge.tsx",lineNumber:26,columnNumber:10},this)}const F=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("div",{ref:a,className:me("rounded-lg border bg-card text-card-foreground shadow-sm",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/card.tsx",lineNumber:6,columnNumber:3},void 0));F.displayName="Card";const z=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("div",{ref:a,className:me("flex flex-col space-y-1.5 p-6",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/card.tsx",lineNumber:12,columnNumber:5},void 0));z.displayName="CardHeader";const K=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("h3",{ref:a,className:me("text-2xl font-semibold leading-none tracking-tight",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/card.tsx",lineNumber:19,columnNumber:5},void 0));K.displayName="CardTitle";const st=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("p",{ref:a,className:me("text-sm text-muted-foreground",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/card.tsx",lineNumber:26,columnNumber:5},void 0));st.displayName="CardDescription";const B=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("div",{ref:a,className:me("p-6 pt-0",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/card.tsx",lineNumber:32,columnNumber:37},void 0));B.displayName="CardContent";const jc=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("div",{ref:a,className:me("flex items-center p-6 pt-0",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/card.tsx",lineNumber:38,columnNumber:5},void 0));jc.displayName="CardFooter";const re=v.forwardRef(({className:e,type:s,...a},n)=>t.jsxDEV("input",{type:s,className:me("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/input.tsx",lineNumber:8,columnNumber:7},void 0));re.displayName="Input";var H8="Label",BL=v.forwardRef((e,s)=>q.jsx(Ve.label,{...e,ref:s,onMouseDown:a=>{a.target.closest("button, input, select, textarea")||(e.onMouseDown?.(a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}}));BL.displayName=H8;var qL=BL;const V8=rn("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Y=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(qL,{ref:a,className:me(V8(),e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/label.tsx",lineNumber:13,columnNumber:3},void 0));Y.displayName=qL.displayName;const P8=[{label:"Customer satisfaction",value:"98%",icon:mt},{label:"Digital transactions daily",value:"2.4M",icon:Ft},{label:"Active business clients",value:"45K",icon:Ke},{label:"Global markets access",value:"120+",icon:Vn}],A8=[{label:"Register for internet banking",href:"/register"},{label:"Forgotten password?",href:"/support/faqs"},{label:"Mobile banking help",href:"/support/help"}],S8=()=>{const{signIn:e,loading:s}=at(),a=Js(),[n,i]=v.useState(""),[r,o]=v.useState(""),[l,u]=v.useState(""),c=async m=>{m.preventDefault(),u("");const{data:d,error:b}=await e(n,r);b?u(b.message):d.user&&a("/dashboard3")};return t.jsxDEV("div",{children:[t.jsxDEV("div",{"aria-hidden":!0,className:"z-[2] absolute inset-0 pointer-events-none isolate opacity-50 contain-strict hidden lg:block",children:[t.jsxDEV("div",{className:"w-[35rem] h-[80rem] -translate-y-87.5 absolute left-0 top-0 -rotate-45 rounded-full bg-[radial-gradient(68.54%_68.72%_at_55.02%_31.46%,hsla(0,0%,85%,.08)_0,hsla(0,0%,55%,.02)_50%,hsla(0,0%,45%,0)_80%)]"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:40,columnNumber:9},void 0),t.jsxDEV("div",{className:"h-[80rem] absolute left-0 top-0 w-56 -rotate-45 rounded-full bg-[radial-gradient(50%_50%_at_50%_50%,hsla(0,0%,85%,.06)_0,hsla(0,0%,45%,.02)_80%,transparent_100%)] [translate:5%_-50%]"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:41,columnNumber:9},void 0),t.jsxDEV("div",{className:"h-[80rem] -translate-y-87.5 absolute left-0 top-0 w-56 -rotate-45 bg-[radial-gradient(50%_50%_at_50%_50%,hsla(0,0%,85%,.04)_0,hsla(0,0%,45%,.02)_80%,transparent_100%)]"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:42,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:36,columnNumber:7},void 0),t.jsxDEV("section",{className:"overflow-hidden bg-white dark:bg-transparent relative",role:"banner","aria-label":"Hero section",children:[t.jsxDEV("div",{className:"absolute inset-0",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1600&q=80",alt:"Professional team collaborating on financial growth and success",className:"h-full w-full object-cover",loading:"eager"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:48,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-600/90 via-emerald-700/85 to-emerald-800/80"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:55,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjYwIiBoZWlnaHQ9IjYwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDYwIDAgTCAwIDAgMCA2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=')] opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:57,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:47,columnNumber:9},void 0),t.jsxDEV("div",{className:"relative mx-auto max-w-7xl px-6 py-28 lg:py-24",children:t.jsxDEV("div",{className:"grid gap-12 lg:grid-cols-[1.8fr,1fr] lg:items-start",children:[t.jsxDEV("div",{className:"relative z-10 space-y-8 text-white",children:[t.jsxDEV(He,{className:"bg-white/20 text-white backdrop-blur-sm border-white/30 px-4 py-2 text-sm font-medium",children:"🚀 Empowering our most ambitious clients globally"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:64,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h1",{className:"text-balance text-4xl font-bold md:text-5xl lg:text-6xl leading-tight tracking-tight",children:"Your Gateway to Financial Freedom and Growth"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:69,columnNumber:17},void 0),t.jsxDEV("p",{className:"mx-auto max-w-2xl text-xl text-gray-100 leading-relaxed",children:"Discover a modern banking partner with premium advisory, always-on digital tools, and sustainable finance expertise built around your ambitions."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:72,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:68,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-col gap-4 sm:flex-row",children:[t.jsxDEV(L,{size:"lg",className:"bg-amber-400 text-gray-900 hover:bg-amber-300 shadow-lg hover:shadow-xl transition-all duration-300 font-semibold px-8 py-4 text-lg",asChild:!0,children:t.jsxDEV(I,{to:"/register",children:[t.jsxDEV("span",{children:"Open an account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:85,columnNumber:21},void 0),t.jsxDEV(_e,{className:"ml-2 h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:86,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:84,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:79,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white/70 bg-white/10 text-white hover:bg-white/20 hover:text-white backdrop-blur-sm font-semibold px-8 py-4 text-lg transition-all duration-300",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Speak with an advisor"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:95,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:89,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:78,columnNumber:15},void 0),t.jsxDEV("div",{className:"grid gap-6 sm:grid-cols-2 lg:max-w-3xl",children:P8.map(m=>{const d=m.icon;return t.jsxDEV("div",{className:"group flex items-start gap-4 rounded-2xl bg-white/15 p-6 backdrop-blur-sm transition-all duration-300 hover:bg-white/25 border border-white/20 hover:border-white/30 hover:scale-105",children:[t.jsxDEV("span",{className:"mt-1 rounded-full bg-white/25 p-3 group-hover:bg-white/35 transition-colors duration-300",children:t.jsxDEV(d,{className:"h-5 w-5 text-white"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:109,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:108,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-3xl font-bold text-white",children:m.value},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:112,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-gray-200 font-medium",children:m.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:113,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:111,columnNumber:23},void 0)]},m.label,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:104,columnNumber:21},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:100,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:63,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative z-10",children:t.jsxDEV(F,{className:"border border-gray-200/50 bg-white/95 shadow-2xl backdrop-blur-sm rounded-2xl overflow-hidden",children:[t.jsxDEV(z,{className:"bg-gradient-to-r from-emerald-50 to-emerald-100/60 pb-4",children:t.jsxDEV(K,{className:"text-2xl font-bold text-gray-900 flex items-center gap-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:125,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:124,columnNumber:17},void 0),t.jsxDEV(B,{className:"space-y-6 p-6",children:[l&&t.jsxDEV("div",{className:"bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded text-sm",children:l},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:132,columnNumber:21},void 0),t.jsxDEV("form",{onSubmit:c,className:"space-y-6",children:[t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV(Y,{htmlFor:"username",className:"text-sm font-semibold text-gray-800",children:"Username"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:139,columnNumber:23},void 0),t.jsxDEV(re,{id:"username",value:n,onChange:m=>i(m.target.value),placeholder:"Enter your username",autoComplete:"username",className:"h-12 border-gray-300 focus:border-emerald-600 focus:ring-emerald-600 bg-white/90 backdrop-blur-sm",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:140,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:138,columnNumber:21},void 0),t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV(Y,{htmlFor:"password",className:"text-sm font-semibold text-gray-800",children:"Password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:151,columnNumber:23},void 0),t.jsxDEV(re,{id:"password",type:"password",value:r,onChange:m=>o(m.target.value),placeholder:"••••••••",autoComplete:"current-password",className:"h-12 border-gray-300 focus:border-emerald-600 focus:ring-emerald-600 bg-white/90 backdrop-blur-sm",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:152,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:150,columnNumber:21},void 0),t.jsxDEV(L,{type:"submit",disabled:s,className:"w-full h-12 bg-gradient-to-r from-emerald-600 to-emerald-700 text-white hover:from-emerald-700 hover:to-emerald-800 font-semibold text-base transition-all duration-300 shadow-lg hover:shadow-xl",children:s?"Signing in...":"Sign in securely"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:163,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:137,columnNumber:19},void 0),t.jsxDEV("div",{className:"flex items-center justify-between text-sm",children:[t.jsxDEV(I,{to:"/support/security",className:"text-emerald-700 hover:text-emerald-800 hover:underline font-semibold transition-colors",children:"Need help signing in?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:172,columnNumber:21},void 0),t.jsxDEV(I,{to:"/login",className:"text-gray-600 hover:text-emerald-700 font-semibold transition-colors",children:"Advanced login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:175,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:171,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:130,columnNumber:17},void 0),t.jsxDEV(jc,{className:"flex flex-col gap-3 border-t border-gray-200 pt-6 px-6 pb-6",children:A8.map(m=>t.jsxDEV(I,{to:m.href,className:"group flex items-center justify-between text-sm font-semibold text-emerald-700 transition-all duration-300 hover:text-emerald-800 hover:bg-emerald-50/80 p-3 rounded-lg border border-transparent hover:border-emerald-200",children:[t.jsxDEV("span",{children:m.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:187,columnNumber:23},void 0),t.jsxDEV(_e,{className:"h-4 w-4 group-hover:translate-x-1 transition-transform"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:188,columnNumber:23},void 0)]},m.label,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:182,columnNumber:21},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:180,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:123,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:122,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:61,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:60,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:45,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/HeroSection.tsx",lineNumber:34,columnNumber:5},void 0)},T8=S.memo(S8),_8=[{title:"Personal Banking",description:"From current accounts to lifestyle rewards, manage everyday finances effortlessly.",href:"/personal",icon:Da},{title:"Business Banking",description:"Accelerate growth with tailored lending, treasury, and merchant solutions.",href:"/business",icon:Ta},{title:"Rural Banking",description:"Specialist advisors helping agribusinesses thrive through every season.",href:"/rural",icon:Tr},{title:"Global Services",description:"Seamless international transfers and premium concierge support worldwide.",href:"/global-services",icon:Vn}],R8=()=>t.jsxDEV("section",{className:"bg-gradient-to-br from-gray-50 to-white py-20",children:t.jsxDEV("div",{className:"container space-y-16",children:[t.jsxDEV("div",{className:"flex flex-col gap-6 text-center",children:[t.jsxDEV(He,{className:"mx-auto w-fit bg-emerald-100 text-emerald-700 px-4 py-2 text-sm font-semibold",children:"🏦 Our banking services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:14,columnNumber:11},void 0),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-4xl font-bold text-gray-900 sm:text-5xl leading-tight",children:"Tailored solutions for every ambition"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:18,columnNumber:13},void 0),t.jsxDEV("p",{className:"mx-auto max-w-3xl text-xl text-gray-600 leading-relaxed",children:"From personal goals to global expansions, Gates Capital Banking pairs high-touch advisory with cutting-edge digital capabilities."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:21,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:17,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:13,columnNumber:9},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-2 xl:grid-cols-4",children:_8.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:"group h-full border-0 shadow-lg hover:shadow-2xl transition-all duration-500 hover:-translate-y-2 bg-white/80 backdrop-blur-sm rounded-2xl overflow-hidden",children:[t.jsxDEV(z,{className:"pb-4",children:[t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-emerald-500 to-emerald-600 text-white group-hover:scale-110 transition-transform duration-300",children:t.jsxDEV(s,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:37,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:36,columnNumber:19},void 0),t.jsxDEV(K,{className:"text-xl font-bold text-gray-900 group-hover:text-emerald-700 transition-colors duration-300",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:39,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:35,columnNumber:17},void 0),t.jsxDEV(B,{className:"text-gray-600 leading-relaxed pb-4",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:43,columnNumber:17},void 0),t.jsxDEV(jc,{className:"pt-4",children:t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-600 hover:text-emerald-700 font-semibold group-hover:bg-emerald-50 p-3 rounded-lg transition-all duration-300",asChild:!0,children:t.jsxDEV(I,{to:e.href,children:["Explore",t.jsxDEV(_e,{className:"ml-2 h-4 w-4 transition-transform group-hover:translate-x-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:54,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:52,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:47,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:46,columnNumber:17},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:31,columnNumber:15},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:27,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:12,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/ServicesSection.tsx",lineNumber:11,columnNumber:5},void 0),M8=S.memo(R8),O8=[{title:"Personal Banking",description:"Digital-first accounts and tools designed around your lifestyle goals.",icon:Rt,highlights:["Goal-based savings vaults","Instant virtual cards","24/7 concierge team"],href:"/personal"},{title:"Business Banking",description:"Scaling businesses trust us for strategic guidance and capital expertise.",icon:TP,highlights:["Working capital financing","Trade & treasury desks","Dedicated relationship managers"],href:"/business"},{title:"Rural Banking",description:"Partnering with producers to unlock sustainable growth across rural communities.",icon:Tr,highlights:["Seasonal cashflow planning","Specialist agritech insights","Green investment pathways"],href:"/rural"}],I8=()=>t.jsxDEV("section",{className:"bg-gradient-to-br from-emerald-50 via-white to-emerald-50/30 py-20",children:t.jsxDEV("div",{className:"container space-y-16",children:[t.jsxDEV("div",{className:"flex flex-col gap-6 text-center",children:[t.jsxDEV(He,{className:"mx-auto w-fit bg-emerald-100 text-emerald-700 px-4 py-2 text-sm font-semibold",children:"💼 Banking solutions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:14,columnNumber:11},void 0),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-4xl font-bold text-gray-900 sm:text-5xl leading-tight",children:"Expertise that scales with you"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:18,columnNumber:13},void 0),t.jsxDEV("p",{className:"mx-auto max-w-3xl text-xl text-gray-600 leading-relaxed",children:"Unlock next-level financial planning with specialists dedicated to your personal, business, or rural growth story."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:21,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:17,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:13,columnNumber:9},void 0),t.jsxDEV("div",{className:"grid gap-8 lg:grid-cols-3",children:O8.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:"group flex h-full flex-col border-0 bg-white/90 backdrop-blur-sm shadow-xl hover:shadow-2xl transition-all duration-500 hover:-translate-y-2 rounded-2xl overflow-hidden",children:[t.jsxDEV(z,{className:"space-y-6 p-8 pb-6",children:[t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-emerald-500 to-emerald-600 text-white group-hover:scale-110 transition-transform duration-300",children:t.jsxDEV(s,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:37,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:36,columnNumber:19},void 0),t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV(K,{className:"text-2xl font-bold text-gray-900 group-hover:text-emerald-700 transition-colors duration-300",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:40,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-gray-600 leading-relaxed",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:43,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:39,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:35,columnNumber:17},void 0),t.jsxDEV(B,{className:"flex-1 space-y-4 px-8",children:e.highlights.map(a=>t.jsxDEV("div",{className:"flex items-start gap-3 text-gray-700",children:[t.jsxDEV(Ls,{className:"mt-1 h-5 w-5 text-emerald-600 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:49,columnNumber:23},void 0),t.jsxDEV("span",{className:"font-medium",children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:50,columnNumber:23},void 0)]},a,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:48,columnNumber:21},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:46,columnNumber:17},void 0),t.jsxDEV(jc,{className:"p-8 pt-6",children:t.jsxDEV(L,{variant:"ghost",className:"group gap-3 text-emerald-600 hover:text-emerald-700 hover:bg-emerald-50 font-semibold p-4 rounded-xl transition-all duration-300 w-full justify-start",asChild:!0,children:t.jsxDEV(I,{to:e.href,children:["Book a consultation",t.jsxDEV(_e,{className:"h-5 w-5 transition-transform group-hover:translate-x-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:62,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:60,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:55,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:54,columnNumber:17},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:31,columnNumber:15},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:27,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:12,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/SolutionsSection.tsx",lineNumber:11,columnNumber:5},void 0),$8=S.memo(I8),F8=[{quote:"Our relationship manager understands our growth strategy and moves quickly when opportunity knocks.",name:"Elena Fischer",role:"Founder, Baltic Craft Co."},{quote:"The mobile experience is intuitive and keeps our household finances perfectly on track.",name:"Thomas & Sarah",role:"Personal Banking Clients"},{quote:"Gates Capital has been instrumental in modernising our farm's operations and sustainability goals.",name:"Marek Nowak",role:"Owner, Green Fields Cooperative"}],B8=()=>t.jsxDEV("section",{className:"bg-gradient-to-br from-gray-50 to-white py-20",children:t.jsxDEV("div",{className:"container space-y-16",children:[t.jsxDEV("div",{className:"flex flex-col items-center gap-6 text-center",children:[t.jsxDEV(He,{className:"bg-emerald-100 text-emerald-700 px-4 py-2 text-sm font-semibold",children:"💬 Testimonials"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:11,columnNumber:11},void 0),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-4xl font-bold text-gray-900 sm:text-5xl leading-tight",children:"What our customers say"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:15,columnNumber:13},void 0),t.jsxDEV("p",{className:"max-w-3xl text-xl text-gray-600 leading-relaxed",children:"Hear from clients who chose Gates Capital Banking for their most important financial milestones."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:18,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:14,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:10,columnNumber:9},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-3",children:F8.map(e=>t.jsxDEV(F,{className:"group h-full border-0 bg-white/80 backdrop-blur-sm shadow-xl hover:shadow-2xl transition-all duration-500 hover:-translate-y-2 rounded-2xl overflow-hidden",children:t.jsxDEV(B,{className:"flex h-full flex-col gap-8 p-8",children:[t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("div",{className:"text-6xl text-emerald-200 mb-4",children:'"'},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:28,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-lg text-gray-700 leading-relaxed font-medium",children:e.quote},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:29,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:27,columnNumber:17},void 0),t.jsxDEV("div",{className:"border-t border-gray-100 pt-6",children:[t.jsxDEV("p",{className:"font-bold text-gray-900 text-lg",children:e.name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:34,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-emerald-600 font-semibold",children:e.role},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:35,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:33,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:26,columnNumber:15},void 0)},e.name,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:25,columnNumber:13},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:23,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:9,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/TestimonialsSection.tsx",lineNumber:8,columnNumber:5},void 0),q8=S.memo(B8),W8=[{title:"Gates Capital introduces climate-linked savings bonds",category:"Sustainability",date:"May 8, 2024",href:"/company/news/climate-linked-bonds"},{title:"New Warsaw flagship branch delivers digital-first advisory",category:"Branch Network",date:"April 23, 2024",href:"/company/news/warsaw-flagship"},{title:"Quarterly results highlight 18% YoY growth in SME lending",category:"Investor Relations",date:"April 5, 2024",href:"/company/news/q1-results"}],z8=()=>t.jsxDEV("section",{className:"bg-gradient-to-br from-white to-gray-50 py-20",children:t.jsxDEV("div",{className:"container space-y-16",children:[t.jsxDEV("div",{className:"flex flex-col gap-6 text-center",children:[t.jsxDEV(He,{className:"mx-auto w-fit bg-emerald-100 text-emerald-700 px-4 py-2 text-sm font-semibold",children:"📰 Latest updates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:16,columnNumber:11},void 0),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-4xl font-bold text-gray-900 sm:text-5xl leading-tight",children:"News & insights"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:20,columnNumber:13},void 0),t.jsxDEV("p",{className:"mx-auto max-w-3xl text-xl text-gray-600 leading-relaxed",children:"Stay ahead with announcements, research, and insights from Gates Capital Banking experts."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:23,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:19,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:15,columnNumber:9},void 0),t.jsxDEV("div",{className:"grid gap-8 lg:grid-cols-[2fr,1fr]",children:[t.jsxDEV("div",{className:"grid gap-8 sm:grid-cols-2",children:W8.slice(0,2).map(e=>t.jsxDEV(F,{className:"group h-full border-0 bg-white/90 backdrop-blur-sm shadow-xl hover:shadow-2xl transition-all duration-500 hover:-translate-y-2 rounded-2xl overflow-hidden",children:[t.jsxDEV(z,{className:"space-y-4 p-8 pb-6",children:[t.jsxDEV(He,{className:"w-fit bg-emerald-100 text-emerald-700 px-3 py-1 text-sm font-semibold",children:e.category},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:33,columnNumber:19},void 0),t.jsxDEV(K,{className:"text-xl font-bold text-gray-900 group-hover:text-emerald-700 transition-colors duration-300 leading-tight",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:36,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-sm text-gray-500 font-medium",children:e.date},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:39,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:32,columnNumber:17},void 0),t.jsxDEV(jc,{className:"p-8 pt-0",children:t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-600 hover:text-emerald-700 font-semibold group-hover:bg-emerald-50 p-3 rounded-lg transition-all duration-300",asChild:!0,children:t.jsxDEV(I,{to:e.href,children:["Read more",t.jsxDEV(_e,{className:"ml-2 h-4 w-4 transition-transform group-hover:translate-x-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:49,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:47,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:42,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:41,columnNumber:17},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:31,columnNumber:15},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:29,columnNumber:11},void 0),t.jsxDEV(F,{className:"flex h-full flex-col justify-between border-0 bg-gradient-to-br from-emerald-600 to-emerald-700 text-white shadow-2xl rounded-2xl overflow-hidden",children:[t.jsxDEV(z,{className:"space-y-6 p-8",children:[t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-white/20",children:t.jsxDEV(ZP,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:59,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:58,columnNumber:15},void 0),t.jsxDEV(K,{className:"text-2xl font-bold",children:"Insights delivered weekly"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:61,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-white/90 leading-relaxed",children:"Get curated market commentary and financial planning tips sent directly to your inbox."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:62,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:57,columnNumber:13},void 0),t.jsxDEV(B,{className:"space-y-6 p-8 pt-0",children:[t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV(Y,{htmlFor:"newsletter-email",className:"text-white font-semibold",children:"Email address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:68,columnNumber:17},void 0),t.jsxDEV(re,{id:"newsletter-email",type:"email",placeholder:"you@example.com",className:"h-12 bg-white/20 text-white placeholder:text-white/70 border-white/30 focus:border-white focus:ring-white"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:71,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:67,columnNumber:15},void 0),t.jsxDEV(L,{className:"w-full h-12 bg-white text-emerald-700 hover:bg-white/90 font-semibold text-base transition-all duration-300 shadow-lg hover:shadow-xl",children:"Subscribe"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:78,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-xs text-white/80 leading-relaxed",children:"By subscribing you agree to receive communications from Gates Capital Banking. You can unsubscribe at any time."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:81,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:66,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:56,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:28,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:14,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/NewsSection.tsx",lineNumber:13,columnNumber:5},void 0),K8=S.memo(z8),Y8=()=>t.jsxDEV("section",{className:"relative bg-gradient-to-br from-emerald-700 via-emerald-800 to-emerald-900 py-24 overflow-hidden",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjYwIiBoZWlnaHQ9IjYwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDYwIDAgTCAwIDAgMCA2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=')] opacity-10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:10,columnNumber:7},void 0),t.jsxDEV("div",{className:"container relative z-10 flex flex-col items-center gap-8 text-center text-white",children:[t.jsxDEV(He,{className:"bg-white/20 text-white px-4 py-2 text-sm font-semibold backdrop-blur-sm",children:"🚀 Ready to get started?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:13,columnNumber:9},void 0),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-4xl font-bold sm:text-5xl leading-tight",children:"Start your Gates Capital banking journey today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:17,columnNumber:11},void 0),t.jsxDEV("p",{className:"max-w-4xl text-xl text-white/90 leading-relaxed",children:"Book a meeting with our advisory team or explore our digital onboarding to unlock personalised financial solutions in minutes."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:20,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:16,columnNumber:9},void 0),t.jsxDEV("div",{className:"flex flex-col gap-4 sm:flex-row",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-emerald-700 hover:bg-white/90 font-semibold px-8 py-4 text-lg shadow-lg hover:shadow-xl transition-all duration-300",asChild:!0,children:t.jsxDEV(I,{to:"/register",children:"Join now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:31,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:26,columnNumber:11},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white/70 bg-white/10 text-white hover:bg-white/20 hover:text-white font-semibold px-8 py-4 text-lg backdrop-blur-sm transition-all duration-300",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Talk to our team"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:39,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:33,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:25,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:12,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/index/CallToActionSection.tsx",lineNumber:8,columnNumber:5},void 0),Q8=S.memo(Y8),WL=S.memo(()=>t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-gray-50",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Index.tsx",lineNumber:29,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV(T8,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Index.tsx",lineNumber:32,columnNumber:9},void 0),t.jsxDEV(M8,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Index.tsx",lineNumber:33,columnNumber:9},void 0),t.jsxDEV($8,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Index.tsx",lineNumber:34,columnNumber:9},void 0),t.jsxDEV(q8,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Index.tsx",lineNumber:35,columnNumber:9},void 0),t.jsxDEV(K8,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Index.tsx",lineNumber:36,columnNumber:9},void 0),t.jsxDEV(Q8,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Index.tsx",lineNumber:37,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Index.tsx",lineNumber:31,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Index.tsx",lineNumber:40,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Index.tsx",lineNumber:28,columnNumber:5},void 0));WL.displayName="Index";var Z8="Separator",y0="horizontal",X8=["horizontal","vertical"],zL=v.forwardRef((e,s)=>{const{decorative:a,orientation:n=y0,...i}=e,r=J8(n)?n:y0,l=a?{role:"none"}:{"aria-orientation":r==="vertical"?r:void 0,role:"separator"};return q.jsx(Ve.div,{"data-orientation":r,...l,...i,ref:s})});zL.displayName=Z8;function J8(e){return X8.includes(e)}var KL=zL;const us=v.forwardRef(({className:e,orientation:s="horizontal",decorative:a=!0,...n},i)=>t.jsxDEV(KL,{ref:i,decorative:a,orientation:s,className:me("shrink-0 bg-border",s==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/separator.tsx",lineNumber:10,columnNumber:3},void 0));us.displayName=KL.displayName;function Ts({items:e,className:s}){const a=v.useMemo(()=>e.filter(r=>r.href.startsWith("#")).map(r=>r.href.slice(1)),[e]),[n,i]=v.useState(null);return v.useEffect(()=>{if(a.length===0)return;const r=new IntersectionObserver(o=>{for(const l of o)l.isIntersecting&&i(l.target.id)},{root:null,rootMargin:"0px 0px -70% 0px",threshold:[0,.25,.5,1]});return a.forEach(o=>{const l=document.getElementById(o);l&&r.observe(l)}),()=>r.disconnect()},[a]),t.jsxDEV("nav",{className:`border-b bg-white ${s??""}`,"aria-label":"Section navigation",children:t.jsxDEV("div",{className:"container mx-auto px-4 py-2 sm:py-3",children:t.jsxDEV("div",{className:"flex items-center gap-2 sm:gap-3 overflow-x-auto whitespace-nowrap scrollbar-thin scrollbar-thumb-emerald-200 scrollbar-track-transparent [scrollbar-color:theme(colors.emerald.200)_transparent]",children:e.map(r=>{const o=r.href.startsWith("#"),l=o&&n===r.href.slice(1),u="rounded-full px-3 py-2 text-sm transition border",c=l?"bg-emerald-700 text-white border-emerald-700":"text-muted-foreground hover:text-primary hover:bg-emerald-50/60 border-transparent";return o?t.jsxDEV("a",{href:r.href,"aria-current":l?"true":void 0,className:`${u} ${c}`,children:r.label},r.label,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SectionNav.tsx",lineNumber:65,columnNumber:15},this):t.jsxDEV(I,{to:r.href,className:`${u} ${c}`,children:r.label},r.label,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SectionNav.tsx",lineNumber:74,columnNumber:15},this)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SectionNav.tsx",lineNumber:55,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SectionNav.tsx",lineNumber:54,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SectionNav.tsx",lineNumber:53,columnNumber:5},this)}const eR=[{label:"Products",href:"#products"},{label:"Features",href:"#features"},{label:"How it works",href:"#get-started"},{label:"FAQs",href:"#faqs"},{label:"Contact us",href:"/contact"}],sR=[{title:"Everyday & savings accounts",description:"Simple everyday banking and goals-based savings.",icon:Da,href:"/personal/accounts"},{title:"Home loans",description:"Flexible options with offset and redraw.",icon:jt,href:"/personal/home-loans"},{title:"Credit cards",description:"Rewards and low-rate options that fit your lifestyle.",icon:as,href:"/personal/credit-cards"},{title:"Personal loans",description:"Borrow with clear terms and no surprises.",icon:Cn,href:"/personal/personal-loans"},{title:"Insurance",description:"Protect what matters most to you.",icon:mt,href:"/personal/insurance"},{title:"Investments",description:"Grow your wealth with smart tools and insights.",icon:wt,href:"/personal/investments"}],gn=[{id:1,title:"Gates Capital Banking money tips for calculating home loan costs when looking to buy a house.",buttonText:"Find out more",buttonHref:"/calculators/home-loans",image:"https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",imageAlt:"Home loan calculation tips",backgroundImage:"https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80"},{id:2,title:"Home Loan – 1 year fixed rate special 4.15% p.a.",buttonText:"Find out more",buttonHref:"/personal/home-loans",image:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",imageAlt:"Home loan fixed rates",backgroundImage:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80"},{id:3,title:"Calculators for foreign exchange and more",buttonText:"Find out more",buttonHref:"/calculators",image:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",imageAlt:"Financial calculators",backgroundImage:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80"},{id:4,title:"Our variable home loan rates are decreasing.",buttonText:"Read the blog",buttonHref:"/company/news",image:"https://images.unsplash.com/photo-1553729784-e91953dec042?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",imageAlt:"Variable home loan rates",backgroundImage:"https://images.unsplash.com/photo-1553729784-e91953dec042?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80"},{id:5,title:"Follow our handy tips to make sure you're ready for house hunting.",buttonText:"Find out more",buttonHref:"/company/news",image:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80",imageAlt:"House hunting tips",backgroundImage:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80"}],tR=[{title:"Gates Capital Banking Rates",description:"Know our latest interest rates",icon:pl,href:"/calculators/savings"},{title:"Calculators",description:"For foreign exchange and more",icon:Se,href:"/calculators"},{title:"Variable rates update",description:"Our variable home loan rates are decreasing",icon:jt,href:"/personal/home-loans"},{title:"Money tips",description:"Follow our handy tips for home hunting",icon:SP,href:"/company/news"}],aR=[{title:"Mobile made effortless",description:"Biometric login, instant card controls, and real-time alerts keep you connected everywhere.",icon:Ft},{title:"Advanced security",description:"Encryption, fraud monitoring, and multi-factor authentication on every device.",icon:Jn},{title:"Smarter savings goals",description:"Create vaults, automate contributions, and track progress with live insights.",icon:Da},{title:"Digital wallets",description:"Add your cards to Apple Pay and Google Pay for quick, secure checkout.",icon:Gr},{title:"Personalised rewards",description:"Earn more where you spend; offers refresh based on your habits.",icon:sA},{title:"Human support",description:"Specialists available by phone or chat when you need them.",icon:Cs}],nR=[{title:"01. Choose",description:"Pick the account or product that fits your everyday needs and goals.",icon:Se},{title:"02. Apply",description:"Complete your application online in minutes—no branch visit required.",icon:jt},{title:"03. Start banking",description:"Get approved and start using your account with full mobile access.",icon:as}],C0=[{q:"How do I open a personal account?",a:"Apply online in minutes. You’ll need valid ID and basic personal details. We’ll guide you through each step."},{q:"Are there monthly account fees?",a:"We offer everyday accounts with no monthly maintenance fees and transparent pricing elsewhere."},{q:"Can I add my card to a mobile wallet?",a:"Yes. You can add cards to Apple Pay and Google Pay directly from the app."},{q:"How fast is approval?",a:"Most applications are approved same-day; some may require additional verification."}],iR=[{title:"Speak to a specialist",description:"Get personalised guidance on the best setup for you.",cta:"Find a specialist",href:"/contact",icon:Ss},{title:"Call us",description:"We’re available Monday to Friday, 8am–6pm.",cta:"+48 732 123 213",href:"tel:+48732123213",icon:ss}],rR=()=>{const[e,s]=v.useState(0),[a,n]=v.useState(!1),i=()=>{s(l=>(l+1)%gn.length)},r=()=>{s(l=>(l-1+gn.length)%gn.length)},o=l=>{s(l)};return v.useEffect(()=>{if(a)return;const l=setInterval(()=>{i()},5e3);return()=>clearInterval(l)},[a]),v.useEffect(()=>{const l=u=>{u.key==="ArrowLeft"?r():u.key==="ArrowRight"&&i()};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[]),t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:292,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-amber-400",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat opacity-30 transition-opacity duration-1000",style:{backgroundImage:`url(${gn[e].backgroundImage})`}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:298,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-amber-400/70 via-amber-400/50 to-amber-400/30"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:303,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-10 md:py-14 lg:py-16 relative z-10",children:[t.jsxDEV("div",{className:"relative mx-auto max-w-5xl",onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[t.jsxDEV("div",{className:"absolute top-10 right-10 w-32 h-32 rounded-full bg-white/5 animate-pulse"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:313,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute bottom-20 left-10 w-24 h-24 rounded-full bg-white/3 animate-pulse delay-1000"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:314,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute top-1/2 left-1/4 w-16 h-16 rounded-full bg-white/4 animate-pulse delay-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:315,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute top-1/3 right-1/4 w-20 h-20 rounded-full bg-white/2 animate-pulse delay-2000"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:316,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute bottom-1/3 right-1/3 w-12 h-12 rounded-full bg-white/3 animate-pulse delay-1500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:317,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-white/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:319,columnNumber:15},void 0),t.jsxDEV("button",{type:"button",onClick:r,"aria-label":"Previous slide",className:"absolute left-0 top-1/2 -translate-y-1/2 z-20 hidden md:inline-flex h-10 w-10 items-center justify-center rounded-full bg-black/10 text-black hover:bg-black/20 transition-colors",children:t.jsxDEV(_P,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:327,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:321,columnNumber:15},void 0),t.jsxDEV("div",{className:"mx-auto rounded-md bg-white shadow-xl ring-1 ring-black/5 relative overflow-hidden z-10",children:t.jsxDEV("div",{className:"grid items-center gap-6 p-6 md:grid-cols-[1fr_320px] md:p-8",children:[t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("h1",{className:"text-2xl font-semibold text-emerald-900 md:text-3xl",children:gn[e].title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:333,columnNumber:21},void 0),t.jsxDEV(L,{size:"sm",className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:gn[e].buttonHref,children:gn[e].buttonText},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:337,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:336,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:332,columnNumber:19},void 0),t.jsxDEV("div",{className:"h-40 w-full overflow-hidden rounded bg-gradient-to-br from-emerald-100 to-emerald-200 md:h-48 relative",children:t.jsxDEV("img",{src:gn[e].image,alt:gn[e].imageAlt,className:"h-full w-full object-cover transition-opacity duration-500",loading:"eager",onError:l=>{const u=l.target;u.src="https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80"}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:341,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:340,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:331,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:330,columnNumber:15},void 0),t.jsxDEV("button",{type:"button",onClick:i,"aria-label":"Next slide",className:"absolute right-0 top-1/2 -translate-y-1/2 z-20 hidden md:inline-flex h-10 w-10 items-center justify-center rounded-full bg-black/10 text-black hover:bg-black/20 transition-colors",children:t.jsxDEV(SE,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:361,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:355,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-2 z-20",children:gn.map((l,u)=>t.jsxDEV("button",{onClick:()=>o(u),className:`h-2 w-2 rounded-full transition-all duration-300 ${u===e?"bg-black/70 w-6":"bg-black/30 hover:bg-black/50"}`,"aria-label":`Go to slide ${u+1}`},u,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:367,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:365,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:307,columnNumber:13},void 0),t.jsxDEV("div",{className:"mx-auto mt-6 grid max-w-5xl grid-cols-1 gap-3 md:grid-cols-4",children:tR.map(l=>{const u=l.icon;return t.jsxDEV(I,{to:l.href,className:"group flex items-start gap-3 rounded-md bg-emerald-800 p-4 text-white shadow hover:bg-emerald-700",children:[t.jsxDEV("div",{className:"mt-1 inline-flex h-7 w-7 items-center justify-center rounded-full bg-white/15",children:t.jsxDEV(u,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:391,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:390,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("div",{className:"text-sm font-semibold leading-tight",children:l.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:394,columnNumber:23},void 0),t.jsxDEV("div",{className:"mt-1 text-xs opacity-90",children:l.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:395,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:393,columnNumber:21},void 0),t.jsxDEV(_e,{className:"ml-auto h-4 w-4 opacity-80 group-hover:translate-x-0.5 group-hover:opacity-100 transition"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:397,columnNumber:21},void 0)]},l.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:385,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:381,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:305,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:296,columnNumber:9},void 0),t.jsxDEV(Ts,{items:eR,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:405,columnNumber:9},void 0),t.jsxDEV("section",{id:"products",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Explore personal products"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:410,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Build your perfect setup with accounts, cards, and lending tailored to your life."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:411,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:409,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-3",children:sR.map(l=>t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV(z,{className:"space-y-4 p-6",children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(l.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:421,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:420,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:l.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:424,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:l.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:425,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:423,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:419,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:418,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:l.href,children:["Learn more",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:433,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:431,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:430,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:429,columnNumber:19},void 0)]},l.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:417,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:415,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:408,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:407,columnNumber:9},void 0),t.jsxDEV("section",{id:"features",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why bank with us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:446,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:445,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:aR.map(l=>t.jsxDEV("div",{className:"flex gap-4 rounded-2xl border border-emerald-50 bg-white p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(l.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:455,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:454,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:l.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:458,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:l.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:459,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:457,columnNumber:19},void 0)]},l.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:450,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:448,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:444,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:443,columnNumber:9},void 0),t.jsxDEV("section",{id:"get-started",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-12 px-4 lg:grid-cols-[1fr_1.2fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How to get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:470,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Open an account, add your card to a wallet, and start banking—usually same-day."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:471,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/register",children:"Open your account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:475,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:474,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:469,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4 rounded-3xl border border-emerald-100 bg-emerald-50/40 p-6",children:nR.map((l,u)=>t.jsxDEV("div",{className:"flex items-start gap-4 rounded-2xl border border-transparent bg-white/70 p-4 md:p-5 transition hover:border-emerald-200 hover:bg-white",children:[t.jsxDEV(l.icon,{className:"mt-1 h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:484,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:l.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:486,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:l.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:487,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:485,columnNumber:19},void 0),t.jsxDEV("span",{className:"ml-auto mt-1 text-emerald-500 text-sm font-semibold",children:["0",u+1]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:489,columnNumber:19},void 0)]},l.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:480,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:478,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:468,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:467,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold text-emerald-900 md:text-3xl",children:"Frequently asked questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:499,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:C0.map((l,u)=>t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("h3",{className:"text-sm font-semibold text-emerald-900",children:l.q},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:503,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:l.a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:504,columnNumber:21},void 0),u<C0.length-1&&t.jsxDEV(us,{className:"bg-emerald-100"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:505,columnNumber:47},void 0)]},l.q,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:502,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:500,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:498,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Need some help?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:511,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Our personal banking specialists can help you choose the right setup for your lifestyle."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:512,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:iR.map(l=>t.jsxDEV("div",{className:"flex items-center gap-4 rounded-2xl border border-white/10 bg-white/10 p-4",children:[t.jsxDEV(l.icon,{className:"h-6 w-6 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:518,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("p",{className:"text-sm font-medium",children:l.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:520,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-xs text-emerald-100",children:l.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:521,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:519,columnNumber:21},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-amber-300",asChild:!0,children:l.href.startsWith("tel")?t.jsxDEV("a",{href:l.href,children:l.cta},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:524,columnNumber:52},void 0):t.jsxDEV(I,{to:l.href,children:l.cta},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:524,columnNumber:85},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:523,columnNumber:21},void 0)]},l.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:517,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:515,columnNumber:15},void 0),t.jsxDEV(L,{className:"w-full bg-amber-400 text-black hover:bg-amber-300",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact us today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:530,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:529,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:510,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:497,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:496,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Ready to reimagine your everyday banking?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:539,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Open an account in minutes and start banking with powerful tools and human support."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:540,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:543,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/register",children:"Open your account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:546,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:545,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Book a consultation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:549,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:548,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:544,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:538,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?q=80&w=800&auto=format&fit=crop",alt:"Personal banking specialist",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:555,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:554,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:553,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:537,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:536,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:294,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:566,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalBanking.tsx",lineNumber:291,columnNumber:5},void 0)},oN=v.createContext({});function lN(e){const s=v.useRef(null);return s.current===null&&(s.current=e()),s.current}const uN=typeof window<"u",YL=uN?v.useLayoutEffect:v.useEffect,Hb=v.createContext(null);function cN(e,s){e.indexOf(s)===-1&&e.push(s)}function mN(e,s){const a=e.indexOf(s);a>-1&&e.splice(a,1)}const ti=(e,s,a)=>a>s?s:a<e?e:a;function xp(e,s){return s?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${s}`:e}let kl=()=>{},ai=()=>{};kl=(e,s,a)=>{!e&&typeof console<"u"&&console.warn(xp(s,a))},ai=(e,s,a)=>{if(!e)throw new Error(xp(s,a))};const ni={},QL=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ZL(e){return typeof e=="object"&&e!==null}const XL=e=>/^0[^.\s]+$/u.test(e);function dN(e){let s;return()=>(s===void 0&&(s=e()),s)}const Pa=e=>e,oR=(e,s)=>a=>s(e(a)),wc=(...e)=>e.reduce(oR),Pu=(e,s,a)=>{const n=s-e;return n===0?1:(a-e)/n};class bN{constructor(){this.subscriptions=[]}add(s){return cN(this.subscriptions,s),()=>mN(this.subscriptions,s)}notify(s,a,n){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](s,a,n);else for(let r=0;r<i;r++){const o=this.subscriptions[r];o&&o(s,a,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ja=e=>e*1e3,Ha=e=>e/1e3;function JL(e,s){return s?e*(1e3/s):0}const k0=new Set;function fN(e,s,a){e||k0.has(s)||(console.warn(xp(s,a)),k0.add(s))}const ej=(e,s,a)=>(((1-3*a+3*s)*e+(3*a-6*s))*e+3*s)*e,lR=1e-7,uR=12;function cR(e,s,a,n,i){let r,o,l=0;do o=s+(a-s)/2,r=ej(o,n,i)-e,r>0?a=o:s=o;while(Math.abs(r)>lR&&++l<uR);return o}function Uc(e,s,a,n){if(e===s&&a===n)return Pa;const i=r=>cR(r,0,1,e,a);return r=>r===0||r===1?r:ej(i(r),s,n)}const sj=e=>s=>s<=.5?e(2*s)/2:(2-e(2*(1-s)))/2,tj=e=>s=>1-e(1-s),aj=Uc(.33,1.53,.69,.99),gN=tj(aj),nj=sj(gN),ij=e=>(e*=2)<1?.5*gN(e):.5*(2-Math.pow(2,-10*(e-1))),pN=e=>1-Math.sin(Math.acos(e)),rj=tj(pN),oj=sj(pN),mR=Uc(.42,0,1,1),dR=Uc(0,0,.58,1),lj=Uc(.42,0,.58,1),bR=e=>Array.isArray(e)&&typeof e[0]!="number",uj=e=>Array.isArray(e)&&typeof e[0]=="number",E0={linear:Pa,easeIn:mR,easeInOut:lj,easeOut:dR,circIn:pN,circInOut:oj,circOut:rj,backIn:gN,backInOut:nj,backOut:aj,anticipate:ij},fR=e=>typeof e=="string",L0=e=>{if(uj(e)){ai(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[s,a,n,i]=e;return Uc(s,a,n,i)}else if(fR(e))return ai(E0[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),E0[e];return e},nm=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],j0={value:null,addProjectionMetrics:null};function gR(e,s){let a=new Set,n=new Set,i=!1,r=!1;const o=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},u=0;function c(d){o.has(d)&&(m.schedule(d),e()),u++,d(l)}const m={schedule:(d,b=!1,f=!1)=>{const g=f&&i?a:n;return b&&o.add(d),g.has(d)||g.add(d),d},cancel:d=>{n.delete(d),o.delete(d)},process:d=>{if(l=d,i){r=!0;return}i=!0,[a,n]=[n,a],a.forEach(c),s&&j0.value&&j0.value.frameloop[s].push(u),u=0,a.clear(),i=!1,r&&(r=!1,m.process(d))}};return m}const pR=40;function cj(e,s){let a=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>a=!0,o=nm.reduce((N,C)=>(N[C]=gR(r,s?C:void 0),N),{}),{setup:l,read:u,resolveKeyframes:c,preUpdate:m,update:d,preRender:b,render:f,postRender:h}=o,g=()=>{const N=ni.useManualTiming?i.timestamp:performance.now();a=!1,ni.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(N-i.timestamp,pR),1)),i.timestamp=N,i.isProcessing=!0,l.process(i),u.process(i),c.process(i),m.process(i),d.process(i),b.process(i),f.process(i),h.process(i),i.isProcessing=!1,a&&s&&(n=!1,e(g))},p=()=>{a=!0,n=!0,i.isProcessing||e(g)};return{schedule:nm.reduce((N,C)=>{const y=o[C];return N[C]=(G,k=!1,E=!1)=>(a||p(),y.schedule(G,k,E)),N},{}),cancel:N=>{for(let C=0;C<nm.length;C++)o[nm[C]].cancel(N)},state:i,steps:o}}const{schedule:Is,cancel:Pi,state:Et,steps:Yf}=cj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Pa,!0);let Vm;function hR(){Vm=void 0}const Xt={now:()=>(Vm===void 0&&Xt.set(Et.isProcessing||ni.useManualTiming?Et.timestamp:performance.now()),Vm),set:e=>{Vm=e,queueMicrotask(hR)}},mj=e=>s=>typeof s=="string"&&s.startsWith(e),hN=mj("--"),vR=mj("var(--"),vN=e=>vR(e)?NR.test(e.split("/*")[0].trim()):!1,NR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,El={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Au={...El,transform:e=>ti(0,1,e)},im={...El,default:1},fu=e=>Math.round(e*1e5)/1e5,NN=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function xR(e){return e==null}const DR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,xN=(e,s)=>a=>!!(typeof a=="string"&&DR.test(a)&&a.startsWith(e)||s&&!xR(a)&&Object.prototype.hasOwnProperty.call(a,s)),dj=(e,s,a)=>n=>{if(typeof n!="string")return n;const[i,r,o,l]=n.match(NN);return{[e]:parseFloat(i),[s]:parseFloat(r),[a]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},GR=e=>ti(0,255,e),Qf={...El,transform:e=>Math.round(GR(e))},rr={test:xN("rgb","red"),parse:dj("red","green","blue"),transform:({red:e,green:s,blue:a,alpha:n=1})=>"rgba("+Qf.transform(e)+", "+Qf.transform(s)+", "+Qf.transform(a)+", "+fu(Au.transform(n))+")"};function yR(e){let s="",a="",n="",i="";return e.length>5?(s=e.substring(1,3),a=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(s=e.substring(1,2),a=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),s+=s,a+=a,n+=n,i+=i),{red:parseInt(s,16),green:parseInt(a,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const Dp={test:xN("#"),parse:yR,transform:rr.transform},Hc=e=>({test:s=>typeof s=="string"&&s.endsWith(e)&&s.split(" ").length===1,parse:parseFloat,transform:s=>`${s}${e}`}),Ni=Hc("deg"),En=Hc("%"),Oe=Hc("px"),CR=Hc("vh"),kR=Hc("vw"),w0={...En,parse:e=>En.parse(e)/100,transform:e=>En.transform(e*100)},mo={test:xN("hsl","hue"),parse:dj("hue","saturation","lightness"),transform:({hue:e,saturation:s,lightness:a,alpha:n=1})=>"hsla("+Math.round(e)+", "+En.transform(fu(s))+", "+En.transform(fu(a))+", "+fu(Au.transform(n))+")"},lt={test:e=>rr.test(e)||Dp.test(e)||mo.test(e),parse:e=>rr.test(e)?rr.parse(e):mo.test(e)?mo.parse(e):Dp.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?rr.transform(e):mo.transform(e),getAnimatableNone:e=>{const s=lt.parse(e);return s.alpha=0,lt.transform(s)}},ER=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function LR(e){return isNaN(e)&&typeof e=="string"&&(e.match(NN)?.length||0)+(e.match(ER)?.length||0)>0}const bj="number",fj="color",jR="var",wR="var(",U0="${}",UR=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Su(e){const s=e.toString(),a=[],n={color:[],number:[],var:[]},i=[];let r=0;const l=s.replace(UR,u=>(lt.test(u)?(n.color.push(r),i.push(fj),a.push(lt.parse(u))):u.startsWith(wR)?(n.var.push(r),i.push(jR),a.push(u)):(n.number.push(r),i.push(bj),a.push(parseFloat(u))),++r,U0)).split(U0);return{values:a,split:l,indexes:n,types:i}}function gj(e){return Su(e).values}function pj(e){const{split:s,types:a}=Su(e),n=s.length;return i=>{let r="";for(let o=0;o<n;o++)if(r+=s[o],i[o]!==void 0){const l=a[o];l===bj?r+=fu(i[o]):l===fj?r+=lt.transform(i[o]):r+=i[o]}return r}}const HR=e=>typeof e=="number"?0:lt.test(e)?lt.getAnimatableNone(e):e;function VR(e){const s=gj(e);return pj(e)(s.map(HR))}const Ai={test:LR,parse:gj,createTransformer:pj,getAnimatableNone:VR};function Zf(e,s,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(s-e)*6*a:a<1/2?s:a<2/3?e+(s-e)*(2/3-a)*6:e}function PR({hue:e,saturation:s,lightness:a,alpha:n}){e/=360,s/=100,a/=100;let i=0,r=0,o=0;if(!s)i=r=o=a;else{const l=a<.5?a*(1+s):a+s-a*s,u=2*a-l;i=Zf(u,l,e+1/3),r=Zf(u,l,e),o=Zf(u,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:n}}function zm(e,s){return a=>a>0?s:e}const qs=(e,s,a)=>e+(s-e)*a,Xf=(e,s,a)=>{const n=e*e,i=a*(s*s-n)+n;return i<0?0:Math.sqrt(i)},AR=[Dp,rr,mo],SR=e=>AR.find(s=>s.test(e));function H0(e){const s=SR(e);if(kl(!!s,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!s)return!1;let a=s.parse(e);return s===mo&&(a=PR(a)),a}const V0=(e,s)=>{const a=H0(e),n=H0(s);if(!a||!n)return zm(e,s);const i={...a};return r=>(i.red=Xf(a.red,n.red,r),i.green=Xf(a.green,n.green,r),i.blue=Xf(a.blue,n.blue,r),i.alpha=qs(a.alpha,n.alpha,r),rr.transform(i))},Gp=new Set(["none","hidden"]);function TR(e,s){return Gp.has(e)?a=>a<=0?e:s:a=>a>=1?s:e}function _R(e,s){return a=>qs(e,s,a)}function DN(e){return typeof e=="number"?_R:typeof e=="string"?vN(e)?zm:lt.test(e)?V0:OR:Array.isArray(e)?hj:typeof e=="object"?lt.test(e)?V0:RR:zm}function hj(e,s){const a=[...e],n=a.length,i=e.map((r,o)=>DN(r)(r,s[o]));return r=>{for(let o=0;o<n;o++)a[o]=i[o](r);return a}}function RR(e,s){const a={...e,...s},n={};for(const i in a)e[i]!==void 0&&s[i]!==void 0&&(n[i]=DN(e[i])(e[i],s[i]));return i=>{for(const r in n)a[r]=n[r](i);return a}}function MR(e,s){const a=[],n={color:0,var:0,number:0};for(let i=0;i<s.values.length;i++){const r=s.types[i],o=e.indexes[r][n[r]],l=e.values[o]??0;a[i]=l,n[r]++}return a}const OR=(e,s)=>{const a=Ai.createTransformer(s),n=Su(e),i=Su(s);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?Gp.has(e)&&!i.values.length||Gp.has(s)&&!n.values.length?TR(e,s):wc(hj(MR(n,i),i.values),a):(kl(!0,`Complex values '${e}' and '${s}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),zm(e,s))};function vj(e,s,a){return typeof e=="number"&&typeof s=="number"&&typeof a=="number"?qs(e,s,a):DN(e)(e,s)}const IR=e=>{const s=({timestamp:a})=>e(a);return{start:(a=!0)=>Is.update(s,a),stop:()=>Pi(s),now:()=>Et.isProcessing?Et.timestamp:Xt.now()}},Nj=(e,s,a=10)=>{let n="";const i=Math.max(Math.round(s/a),2);for(let r=0;r<i;r++)n+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},Km=2e4;function GN(e){let s=0;const a=50;let n=e.next(s);for(;!n.done&&s<Km;)s+=a,n=e.next(s);return s>=Km?1/0:s}function $R(e,s=100,a){const n=a({...e,keyframes:[0,s]}),i=Math.min(GN(n),Km);return{type:"keyframes",ease:r=>n.next(i*r).value/s,duration:Ha(i)}}const FR=5;function xj(e,s,a){const n=Math.max(s-FR,0);return JL(a-e(n),s-n)}const Bs={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Jf=.001;function BR({duration:e=Bs.duration,bounce:s=Bs.bounce,velocity:a=Bs.velocity,mass:n=Bs.mass}){let i,r;kl(e<=Ja(Bs.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-s;o=ti(Bs.minDamping,Bs.maxDamping,o),e=ti(Bs.minDuration,Bs.maxDuration,Ha(e)),o<1?(i=c=>{const m=c*o,d=m*e,b=m-a,f=yp(c,o),h=Math.exp(-d);return Jf-b/f*h},r=c=>{const d=c*o*e,b=d*a+a,f=Math.pow(o,2)*Math.pow(c,2)*e,h=Math.exp(-d),g=yp(Math.pow(c,2),o);return(-i(c)+Jf>0?-1:1)*((b-f)*h)/g}):(i=c=>{const m=Math.exp(-c*e),d=(c-a)*e+1;return-Jf+m*d},r=c=>{const m=Math.exp(-c*e),d=(a-c)*(e*e);return m*d});const l=5/e,u=WR(i,r,l);if(e=Ja(e),isNaN(u))return{stiffness:Bs.stiffness,damping:Bs.damping,duration:e};{const c=Math.pow(u,2)*n;return{stiffness:c,damping:o*2*Math.sqrt(n*c),duration:e}}}const qR=12;function WR(e,s,a){let n=a;for(let i=1;i<qR;i++)n=n-e(n)/s(n);return n}function yp(e,s){return e*Math.sqrt(1-s*s)}const zR=["duration","bounce"],KR=["stiffness","damping","mass"];function P0(e,s){return s.some(a=>e[a]!==void 0)}function YR(e){let s={velocity:Bs.velocity,stiffness:Bs.stiffness,damping:Bs.damping,mass:Bs.mass,isResolvedFromDuration:!1,...e};if(!P0(e,KR)&&P0(e,zR))if(e.visualDuration){const a=e.visualDuration,n=2*Math.PI/(a*1.2),i=n*n,r=2*ti(.05,1,1-(e.bounce||0))*Math.sqrt(i);s={...s,mass:Bs.mass,stiffness:i,damping:r}}else{const a=BR(e);s={...s,...a,mass:Bs.mass},s.isResolvedFromDuration=!0}return s}function Ym(e=Bs.visualDuration,s=Bs.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:s}:e;let{restSpeed:n,restDelta:i}=a;const r=a.keyframes[0],o=a.keyframes[a.keyframes.length-1],l={done:!1,value:r},{stiffness:u,damping:c,mass:m,duration:d,velocity:b,isResolvedFromDuration:f}=YR({...a,velocity:-Ha(a.velocity||0)}),h=b||0,g=c/(2*Math.sqrt(u*m)),p=o-r,x=Ha(Math.sqrt(u/m)),D=Math.abs(p)<5;n||(n=D?Bs.restSpeed.granular:Bs.restSpeed.default),i||(i=D?Bs.restDelta.granular:Bs.restDelta.default);let N;if(g<1){const y=yp(x,g);N=G=>{const k=Math.exp(-g*x*G);return o-k*((h+g*x*p)/y*Math.sin(y*G)+p*Math.cos(y*G))}}else if(g===1)N=y=>o-Math.exp(-x*y)*(p+(h+x*p)*y);else{const y=x*Math.sqrt(g*g-1);N=G=>{const k=Math.exp(-g*x*G),E=Math.min(y*G,300);return o-k*((h+g*x*p)*Math.sinh(E)+y*p*Math.cosh(E))/y}}const C={calculatedDuration:f&&d||null,next:y=>{const G=N(y);if(f)l.done=y>=d;else{let k=y===0?h:0;g<1&&(k=y===0?Ja(h):xj(N,y,G));const E=Math.abs(k)<=n,U=Math.abs(o-G)<=i;l.done=E&&U}return l.value=l.done?o:G,l},toString:()=>{const y=Math.min(GN(C),Km),G=Nj(k=>C.next(y*k).value,y,30);return y+"ms "+G},toTransition:()=>{}};return C}Ym.applyToOptions=e=>{const s=$R(e,100,Ym);return e.ease=s.ease,e.duration=Ja(s.duration),e.type="keyframes",e};function Cp({keyframes:e,velocity:s=0,power:a=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:l,max:u,restDelta:c=.5,restSpeed:m}){const d=e[0],b={done:!1,value:d},f=E=>l!==void 0&&E<l||u!==void 0&&E>u,h=E=>l===void 0?u:u===void 0||Math.abs(l-E)<Math.abs(u-E)?l:u;let g=a*s;const p=d+g,x=o===void 0?p:o(p);x!==p&&(g=x-d);const D=E=>-g*Math.exp(-E/n),N=E=>x+D(E),C=E=>{const U=D(E),T=N(E);b.done=Math.abs(U)<=c,b.value=b.done?x:T};let y,G;const k=E=>{f(b.value)&&(y=E,G=Ym({keyframes:[b.value,h(b.value)],velocity:xj(N,E,b.value),damping:i,stiffness:r,restDelta:c,restSpeed:m}))};return k(0),{calculatedDuration:null,next:E=>{let U=!1;return!G&&y===void 0&&(U=!0,C(E),k(E)),y!==void 0&&E>=y?G.next(E-y):(!U&&C(E),b)}}}function QR(e,s,a){const n=[],i=a||ni.mix||vj,r=e.length-1;for(let o=0;o<r;o++){let l=i(e[o],e[o+1]);if(s){const u=Array.isArray(s)?s[o]||Pa:s;l=wc(u,l)}n.push(l)}return n}function ZR(e,s,{clamp:a=!0,ease:n,mixer:i}={}){const r=e.length;if(ai(r===s.length,"Both input and output ranges must be the same length","range-length"),r===1)return()=>s[0];if(r===2&&s[0]===s[1])return()=>s[1];const o=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),s=[...s].reverse());const l=QR(s,n,i),u=l.length,c=m=>{if(o&&m<e[0])return s[0];let d=0;if(u>1)for(;d<e.length-2&&!(m<e[d+1]);d++);const b=Pu(e[d],e[d+1],m);return l[d](b)};return a?m=>c(ti(e[0],e[r-1],m)):c}function XR(e,s){const a=e[e.length-1];for(let n=1;n<=s;n++){const i=Pu(0,s,n);e.push(qs(a,1,i))}}function JR(e){const s=[0];return XR(s,e.length-1),s}function eM(e,s){return e.map(a=>a*s)}function sM(e,s){return e.map(()=>s||lj).splice(0,e.length-1)}function bo({duration:e=300,keyframes:s,times:a,ease:n="easeInOut"}){const i=bR(n)?n.map(L0):L0(n),r={done:!1,value:s[0]},o=eM(a&&a.length===s.length?a:JR(s),e),l=ZR(o,s,{ease:Array.isArray(i)?i:sM(s,i)});return{calculatedDuration:e,next:u=>(r.value=l(u),r.done=u>=e,r)}}const tM=e=>e!==null;function yN(e,{repeat:s,repeatType:a="loop"},n,i=1){const r=e.filter(tM),l=i<0||s&&a!=="loop"&&s%2===1?0:r.length-1;return!l||n===void 0?r[l]:n}const aM={decay:Cp,inertia:Cp,tween:bo,keyframes:bo,spring:Ym};function Dj(e){typeof e.type=="string"&&(e.type=aM[e.type])}class CN{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(s=>{this.resolve=s})}notifyFinished(){this.resolve()}then(s,a){return this.finished.then(s,a)}}const nM=e=>e/100;class kN extends CN{constructor(s){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:a}=this.options;a&&a.updatedAt!==Xt.now()&&this.tick(Xt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=s,this.initAnimation(),this.play(),s.autoplay===!1&&this.pause()}initAnimation(){const{options:s}=this;Dj(s);const{type:a=bo,repeat:n=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=s;let{keyframes:l}=s;const u=a||bo;u!==bo&&ai(l.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${l}`,"spring-two-frames"),u!==bo&&typeof l[0]!="number"&&(this.mixKeyframes=wc(nM,vj(l[0],l[1])),l=[0,100]);const c=u({...s,keyframes:l});r==="mirror"&&(this.mirroredGenerator=u({...s,keyframes:[...l].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=GN(c));const{calculatedDuration:m}=c;this.calculatedDuration=m,this.resolvedDuration=m+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=c}updateTime(s){const a=Math.round(s-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(s,a=!1){const{generator:n,totalDuration:i,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:u}=this;if(this.startTime===null)return n.next(0);const{delay:c=0,keyframes:m,repeat:d,repeatType:b,repeatDelay:f,type:h,onUpdate:g,finalKeyframe:p}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,s):this.speed<0&&(this.startTime=Math.min(s-i/this.speed,this.startTime)),a?this.currentTime=s:this.updateTime(s);const x=this.currentTime-c*(this.playbackSpeed>=0?1:-1),D=this.playbackSpeed>=0?x<0:x>i;this.currentTime=Math.max(x,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let N=this.currentTime,C=n;if(d){const E=Math.min(this.currentTime,i)/l;let U=Math.floor(E),T=E%1;!T&&E>=1&&(T=1),T===1&&U--,U=Math.min(U,d+1),!!(U%2)&&(b==="reverse"?(T=1-T,f&&(T-=f/l)):b==="mirror"&&(C=o)),N=ti(0,1,T)*l}const y=D?{done:!1,value:m[0]}:C.next(N);r&&(y.value=r(y.value));let{done:G}=y;!D&&u!==null&&(G=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&G);return k&&h!==Cp&&(y.value=yN(m,this.options,p,this.speed)),g&&g(y.value),k&&this.finish(),y}then(s,a){return this.finished.then(s,a)}get duration(){return Ha(this.calculatedDuration)}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+Ha(s)}get time(){return Ha(this.currentTime)}set time(s){s=Ja(s),this.currentTime=s,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=s:this.driver&&(this.startTime=this.driver.now()-s/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(s){this.updateTime(Xt.now());const a=this.playbackSpeed!==s;this.playbackSpeed=s,a&&(this.time=Ha(this.currentTime))}play(){if(this.isStopped)return;const{driver:s=IR,startTime:a}=this.options;this.driver||(this.driver=s(i=>this.tick(i))),this.options.onPlay?.();const n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=a??n),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Xt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(s){return this.startTime=0,this.tick(s,!0)}attachTimeline(s){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),s.observe(this)}}function iM(e){for(let s=1;s<e.length;s++)e[s]??(e[s]=e[s-1])}const or=e=>e*180/Math.PI,kp=e=>{const s=or(Math.atan2(e[1],e[0]));return Ep(s)},rM={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:kp,rotateZ:kp,skewX:e=>or(Math.atan(e[1])),skewY:e=>or(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ep=e=>(e=e%360,e<0&&(e+=360),e),A0=kp,S0=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),T0=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),oM={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:S0,scaleY:T0,scale:e=>(S0(e)+T0(e))/2,rotateX:e=>Ep(or(Math.atan2(e[6],e[5]))),rotateY:e=>Ep(or(Math.atan2(-e[2],e[0]))),rotateZ:A0,rotate:A0,skewX:e=>or(Math.atan(e[4])),skewY:e=>or(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Lp(e){return e.includes("scale")?1:0}function jp(e,s){if(!e||e==="none")return Lp(s);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(a)n=oM,i=a;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=rM,i=l}if(!i)return Lp(s);const r=n[s],o=i[1].split(",").map(uM);return typeof r=="function"?r(o):o[r]}const lM=(e,s)=>{const{transform:a="none"}=getComputedStyle(e);return jp(a,s)};function uM(e){return parseFloat(e.trim())}const Ll=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],jl=new Set(Ll),_0=e=>e===El||e===Oe,cM=new Set(["x","y","z"]),mM=Ll.filter(e=>!cM.has(e));function dM(e){const s=[];return mM.forEach(a=>{const n=e.getValue(a);n!==void 0&&(s.push([a,n.get()]),n.set(a.startsWith("scale")?1:0))}),s}const fr={width:({x:e},{paddingLeft:s="0",paddingRight:a="0"})=>e.max-e.min-parseFloat(s)-parseFloat(a),height:({y:e},{paddingTop:s="0",paddingBottom:a="0"})=>e.max-e.min-parseFloat(s)-parseFloat(a),top:(e,{top:s})=>parseFloat(s),left:(e,{left:s})=>parseFloat(s),bottom:({y:e},{top:s})=>parseFloat(s)+(e.max-e.min),right:({x:e},{left:s})=>parseFloat(s)+(e.max-e.min),x:(e,{transform:s})=>jp(s,"x"),y:(e,{transform:s})=>jp(s,"y")};fr.translateX=fr.x;fr.translateY=fr.y;const gr=new Set;let wp=!1,Up=!1,Hp=!1;function Gj(){if(Up){const e=Array.from(gr).filter(n=>n.needsMeasurement),s=new Set(e.map(n=>n.element)),a=new Map;s.forEach(n=>{const i=dM(n);i.length&&(a.set(n,i),n.render())}),e.forEach(n=>n.measureInitialState()),s.forEach(n=>{n.render();const i=a.get(n);i&&i.forEach(([r,o])=>{n.getValue(r)?.set(o)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}Up=!1,wp=!1,gr.forEach(e=>e.complete(Hp)),gr.clear()}function yj(){gr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Up=!0)})}function bM(){Hp=!0,yj(),Gj(),Hp=!1}class EN{constructor(s,a,n,i,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...s],this.onComplete=a,this.name=n,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(gr.add(this),wp||(wp=!0,Is.read(yj),Is.resolveKeyframes(Gj))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:s,name:a,element:n,motionValue:i}=this;if(s[0]===null){const r=i?.get(),o=s[s.length-1];if(r!==void 0)s[0]=r;else if(n&&a){const l=n.readValue(a,o);l!=null&&(s[0]=l)}s[0]===void 0&&(s[0]=o),i&&r===void 0&&i.set(s[0])}iM(s)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(s=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,s),gr.delete(this)}cancel(){this.state==="scheduled"&&(gr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const fM=e=>e.startsWith("--");function gM(e,s,a){fM(s)?e.style.setProperty(s,a):e.style[s]=a}const pM=dN(()=>window.ScrollTimeline!==void 0),hM={};function vM(e,s){const a=dN(e);return()=>hM[s]??a()}const Cj=vM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ou=([e,s,a,n])=>`cubic-bezier(${e}, ${s}, ${a}, ${n})`,R0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ou([0,.65,.55,1]),circOut:ou([.55,0,1,.45]),backIn:ou([.31,.01,.66,-.59]),backOut:ou([.33,1.53,.69,.99])};function kj(e,s){if(e)return typeof e=="function"?Cj()?Nj(e,s):"ease-out":uj(e)?ou(e):Array.isArray(e)?e.map(a=>kj(a,s)||R0.easeOut):R0[e]}function NM(e,s,a,{delay:n=0,duration:i=300,repeat:r=0,repeatType:o="loop",ease:l="easeOut",times:u}={},c=void 0){const m={[s]:a};u&&(m.offset=u);const d=kj(l,i);Array.isArray(d)&&(m.easing=d);const b={delay:n,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"};return c&&(b.pseudoElement=c),e.animate(m,b)}function Ej(e){return typeof e=="function"&&"applyToOptions"in e}function xM({type:e,...s}){return Ej(e)&&Cj()?e.applyToOptions(s):(s.duration??(s.duration=300),s.ease??(s.ease="easeOut"),s)}class DM extends CN{constructor(s){if(super(),this.finishedTime=null,this.isStopped=!1,!s)return;const{element:a,name:n,keyframes:i,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:l,onComplete:u}=s;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=s,ai(typeof s.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const c=xM(s);this.animation=NM(a,n,i,c,r),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const m=yN(i,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(m):gM(a,n,m),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:s}=this;s==="idle"||s==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const s=this.animation.effect?.getComputedTiming?.().duration||0;return Ha(Number(s))}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+Ha(s)}get time(){return Ha(Number(this.animation.currentTime)||0)}set time(s){this.finishedTime=null,this.animation.currentTime=Ja(s)}get speed(){return this.animation.playbackRate}set speed(s){s<0&&(this.finishedTime=null),this.animation.playbackRate=s}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(s){this.animation.startTime=s}attachTimeline({timeline:s,observe:a}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,s&&pM()?(this.animation.timeline=s,Pa):a(this)}}const Lj={anticipate:ij,backInOut:nj,circInOut:oj};function GM(e){return e in Lj}function yM(e){typeof e.ease=="string"&&GM(e.ease)&&(e.ease=Lj[e.ease])}const M0=10;class CM extends DM{constructor(s){yM(s),Dj(s),super(s),s.startTime&&(this.startTime=s.startTime),this.options=s}updateMotionValue(s){const{motionValue:a,onUpdate:n,onComplete:i,element:r,...o}=this.options;if(!a)return;if(s!==void 0){a.set(s);return}const l=new kN({...o,autoplay:!1}),u=Ja(this.finishedTime??this.time);a.setWithVelocity(l.sample(u-M0).value,l.sample(u).value,M0),l.stop()}}const O0=(e,s)=>s==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ai.test(e)||e==="0")&&!e.startsWith("url("));function kM(e){const s=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==s)return!0}function EM(e,s,a,n){const i=e[0];if(i===null)return!1;if(s==="display"||s==="visibility")return!0;const r=e[e.length-1],o=O0(i,s),l=O0(r,s);return kl(o===l,`You are trying to animate ${s} from "${i}" to "${r}". "${o?r:i}" is not an animatable value.`,"value-not-animatable"),!o||!l?!1:kM(e)||(a==="spring"||Ej(a))&&n}function Vp(e){e.duration=0,e.type="keyframes"}const LM=new Set(["opacity","clipPath","filter","transform"]),jM=dN(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function wM(e){const{motionValue:s,name:a,repeatDelay:n,repeatType:i,damping:r,type:o}=e;if(!(s?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:c}=s.owner.getProps();return jM()&&a&&LM.has(a)&&(a!=="transform"||!c)&&!u&&!n&&i!=="mirror"&&r!==0&&o!=="inertia"}const UM=40;class HM extends CN{constructor({autoplay:s=!0,delay:a=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o="loop",keyframes:l,name:u,motionValue:c,element:m,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Xt.now();const b={autoplay:s,delay:a,type:n,repeat:i,repeatDelay:r,repeatType:o,name:u,motionValue:c,element:m,...d},f=m?.KeyframeResolver||EN;this.keyframeResolver=new f(l,(h,g,p)=>this.onKeyframesResolved(h,g,b,!p),u,c,m),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(s,a,n,i){this.keyframeResolver=void 0;const{name:r,type:o,velocity:l,delay:u,isHandoff:c,onUpdate:m}=n;this.resolvedAt=Xt.now(),EM(s,r,o,l)||((ni.instantAnimations||!u)&&m?.(yN(s,n,a)),s[0]=s[s.length-1],Vp(n),n.repeat=0);const b={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>UM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...n,keyframes:s},f=!c&&wM(b)?new CM({...b,element:b.motionValue.owner.current}):new kN(b);f.finished.then(()=>this.notifyFinished()).catch(Pa),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}get finished(){return this._animation?this.animation.finished:this._finished}then(s,a){return this.finished.finally(s).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),bM()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(s){this.animation.time=s}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(s){this.animation.speed=s}get startTime(){return this.animation.startTime}attachTimeline(s){return this._animation?this.stopTimeline=this.animation.attachTimeline(s):this.pendingTimeline=s,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const VM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function PM(e){const s=VM.exec(e);if(!s)return[,];const[,a,n,i]=s;return[`--${a??n}`,i]}const AM=4;function jj(e,s,a=1){ai(a<=AM,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[n,i]=PM(e);if(!n)return;const r=window.getComputedStyle(s).getPropertyValue(n);if(r){const o=r.trim();return QL(o)?parseFloat(o):o}return vN(i)?jj(i,s,a+1):i}function LN(e,s){return e?.[s]??e?.default??e}const wj=new Set(["width","height","top","left","right","bottom",...Ll]),SM={test:e=>e==="auto",parse:e=>e},Uj=e=>s=>s.test(e),Hj=[El,Oe,En,Ni,kR,CR,SM],I0=e=>Hj.find(Uj(e));function TM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||XL(e):!0}const _M=new Set(["brightness","contrast","saturate","opacity"]);function RM(e){const[s,a]=e.slice(0,-1).split("(");if(s==="drop-shadow")return e;const[n]=a.match(NN)||[];if(!n)return e;const i=a.replace(n,"");let r=_M.has(s)?1:0;return n!==a&&(r*=100),s+"("+r+i+")"}const MM=/\b([a-z-]*)\(.*?\)/gu,Pp={...Ai,getAnimatableNone:e=>{const s=e.match(MM);return s?s.map(RM).join(" "):e}},$0={...El,transform:Math.round},OM={rotate:Ni,rotateX:Ni,rotateY:Ni,rotateZ:Ni,scale:im,scaleX:im,scaleY:im,scaleZ:im,skew:Ni,skewX:Ni,skewY:Ni,distance:Oe,translateX:Oe,translateY:Oe,translateZ:Oe,x:Oe,y:Oe,z:Oe,perspective:Oe,transformPerspective:Oe,opacity:Au,originX:w0,originY:w0,originZ:Oe},jN={borderWidth:Oe,borderTopWidth:Oe,borderRightWidth:Oe,borderBottomWidth:Oe,borderLeftWidth:Oe,borderRadius:Oe,radius:Oe,borderTopLeftRadius:Oe,borderTopRightRadius:Oe,borderBottomRightRadius:Oe,borderBottomLeftRadius:Oe,width:Oe,maxWidth:Oe,height:Oe,maxHeight:Oe,top:Oe,right:Oe,bottom:Oe,left:Oe,padding:Oe,paddingTop:Oe,paddingRight:Oe,paddingBottom:Oe,paddingLeft:Oe,margin:Oe,marginTop:Oe,marginRight:Oe,marginBottom:Oe,marginLeft:Oe,backgroundPositionX:Oe,backgroundPositionY:Oe,...OM,zIndex:$0,fillOpacity:Au,strokeOpacity:Au,numOctaves:$0},IM={...jN,color:lt,backgroundColor:lt,outlineColor:lt,fill:lt,stroke:lt,borderColor:lt,borderTopColor:lt,borderRightColor:lt,borderBottomColor:lt,borderLeftColor:lt,filter:Pp,WebkitFilter:Pp},Vj=e=>IM[e];function Pj(e,s){let a=Vj(e);return a!==Pp&&(a=Ai),a.getAnimatableNone?a.getAnimatableNone(s):void 0}const $M=new Set(["auto","none","0"]);function FM(e,s,a){let n=0,i;for(;n<e.length&&!i;){const r=e[n];typeof r=="string"&&!$M.has(r)&&Su(r).values.length&&(i=e[n]),n++}if(i&&a)for(const r of s)e[r]=Pj(a,i)}class BM extends EN{constructor(s,a,n,i,r){super(s,a,n,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:s,element:a,name:n}=this;if(!a||!a.current)return;super.readKeyframes();for(let u=0;u<s.length;u++){let c=s[u];if(typeof c=="string"&&(c=c.trim(),vN(c))){const m=jj(c,a.current);m!==void 0&&(s[u]=m),u===s.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!wj.has(n)||s.length!==2)return;const[i,r]=s,o=I0(i),l=I0(r);if(o!==l)if(_0(o)&&_0(l))for(let u=0;u<s.length;u++){const c=s[u];typeof c=="string"&&(s[u]=parseFloat(c))}else fr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:s,name:a}=this,n=[];for(let i=0;i<s.length;i++)(s[i]===null||TM(s[i]))&&n.push(i);n.length&&FM(s,n,a)}measureInitialState(){const{element:s,unresolvedKeyframes:a,name:n}=this;if(!s||!s.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=fr[n](s.measureViewportBox(),window.getComputedStyle(s.current)),a[0]=this.measuredOrigin;const i=a[a.length-1];i!==void 0&&s.getValue(n,i).jump(i,!1)}measureEndState(){const{element:s,name:a,unresolvedKeyframes:n}=this;if(!s||!s.current)return;const i=s.getValue(a);i&&i.jump(this.measuredOrigin,!1);const r=n.length-1,o=n[r];n[r]=fr[a](s.measureViewportBox(),window.getComputedStyle(s.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([l,u])=>{s.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function qM(e,s,a){if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const Aj=(e,s)=>s&&typeof e=="number"?s.transform(e):e;function Sj(e){return ZL(e)&&"offsetHeight"in e}const F0=30,WM=e=>!isNaN(parseFloat(e));class zM{constructor(s,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const i=Xt.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(s),this.owner=a.owner}setCurrent(s){this.current=s,this.updatedAt=Xt.now(),this.canTrackVelocity===null&&s!==void 0&&(this.canTrackVelocity=WM(this.current))}setPrevFrameValue(s=this.current){this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt}onChange(s){return fN(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",s)}on(s,a){this.events[s]||(this.events[s]=new bN);const n=this.events[s].add(a);return s==="change"?()=>{n(),Is.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const s in this.events)this.events[s].clear()}attach(s,a){this.passiveEffect=s,this.stopPassiveEffect=a}set(s){this.passiveEffect?this.passiveEffect(s,this.updateAndNotify):this.updateAndNotify(s)}setWithVelocity(s,a,n){this.set(a),this.prev=void 0,this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt-n}jump(s,a=!0){this.updateAndNotify(s),this.prev=s,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(s){this.dependents||(this.dependents=new Set),this.dependents.add(s)}removeDependent(s){this.dependents&&this.dependents.delete(s)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const s=Xt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||s-this.updatedAt>F0)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,F0);return JL(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(s){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=s(a),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ro(e,s){return new zM(e,s)}const{schedule:wN,cancel:o1e}=cj(queueMicrotask,!1),Ba={x:!1,y:!1};function Tj(){return Ba.x||Ba.y}function KM(e){return e==="x"||e==="y"?Ba[e]?null:(Ba[e]=!0,()=>{Ba[e]=!1}):Ba.x||Ba.y?null:(Ba.x=Ba.y=!0,()=>{Ba.x=Ba.y=!1})}function _j(e,s){const a=qM(e),n=new AbortController,i={passive:!0,...s,signal:n.signal};return[a,i,()=>n.abort()]}function B0(e){return!(e.pointerType==="touch"||Tj())}function YM(e,s,a={}){const[n,i,r]=_j(e,a),o=l=>{if(!B0(l))return;const{target:u}=l,c=s(u,l);if(typeof c!="function"||!u)return;const m=d=>{B0(d)&&(c(d),u.removeEventListener("pointerleave",m))};u.addEventListener("pointerleave",m,i)};return n.forEach(l=>{l.addEventListener("pointerenter",o,i)}),r}const Rj=(e,s)=>s?e===s?!0:Rj(e,s.parentElement):!1,UN=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,QM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ZM(e){return QM.has(e.tagName)||e.tabIndex!==-1}const Pm=new WeakSet;function q0(e){return s=>{s.key==="Enter"&&e(s)}}function eg(e,s){e.dispatchEvent(new PointerEvent("pointer"+s,{isPrimary:!0,bubbles:!0}))}const XM=(e,s)=>{const a=e.currentTarget;if(!a)return;const n=q0(()=>{if(Pm.has(a))return;eg(a,"down");const i=q0(()=>{eg(a,"up")}),r=()=>eg(a,"cancel");a.addEventListener("keyup",i,s),a.addEventListener("blur",r,s)});a.addEventListener("keydown",n,s),a.addEventListener("blur",()=>a.removeEventListener("keydown",n),s)};function W0(e){return UN(e)&&!Tj()}function JM(e,s,a={}){const[n,i,r]=_j(e,a),o=l=>{const u=l.currentTarget;if(!W0(l))return;Pm.add(u);const c=s(u,l),m=(f,h)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",b),Pm.has(u)&&Pm.delete(u),W0(f)&&typeof c=="function"&&c(f,{success:h})},d=f=>{m(f,u===window||u===document||a.useGlobalTarget||Rj(u,f.target))},b=f=>{m(f,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",b,i)};return n.forEach(l=>{(a.useGlobalTarget?window:l).addEventListener("pointerdown",o,i),Sj(l)&&(l.addEventListener("focus",c=>XM(c,i)),!ZM(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),r}function Mj(e){return ZL(e)&&"ownerSVGElement"in e}function eO(e){return Mj(e)&&e.tagName==="svg"}const _t=e=>!!(e&&e.getVelocity),sO=[...Hj,lt,Ai],tO=e=>sO.find(Uj(e)),HN=v.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function z0(e,s){if(typeof e=="function")return e(s);e!=null&&(e.current=s)}function aO(...e){return s=>{let a=!1;const n=e.map(i=>{const r=z0(i,s);return!a&&typeof r=="function"&&(a=!0),r});if(a)return()=>{for(let i=0;i<n.length;i++){const r=n[i];typeof r=="function"?r():z0(e[i],null)}}}}function nO(...e){return v.useCallback(aO(...e),e)}class iO extends v.Component{getSnapshotBeforeUpdate(s){const a=this.props.childRef.current;if(a&&s.isPresent&&!this.props.isPresent){const n=a.offsetParent,i=Sj(n)&&n.offsetWidth||0,r=this.props.sizeRef.current;r.height=a.offsetHeight||0,r.width=a.offsetWidth||0,r.top=a.offsetTop,r.left=a.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function rO({children:e,isPresent:s,anchorX:a,root:n}){const i=v.useId(),r=v.useRef(null),o=v.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:l}=v.useContext(HN),u=nO(r,e?.ref);return v.useInsertionEffect(()=>{const{width:c,height:m,top:d,left:b,right:f}=o.current;if(s||!r.current||!c||!m)return;const h=a==="left"?`left: ${b}`:`right: ${f}`;r.current.dataset.motionPopId=i;const g=document.createElement("style");l&&(g.nonce=l);const p=n??document.head;return p.appendChild(g),g.sheet&&g.sheet.insertRule(`
          [data-motion-pop-id="${i}"] {
            position: absolute !important;
            width: ${c}px !important;
            height: ${m}px !important;
            ${h}px !important;
            top: ${d}px !important;
          }
        `),()=>{p.contains(g)&&p.removeChild(g)}},[s]),q.jsx(iO,{isPresent:s,childRef:r,sizeRef:o,children:v.cloneElement(e,{ref:u})})}const oO=({children:e,initial:s,isPresent:a,onExitComplete:n,custom:i,presenceAffectsLayout:r,mode:o,anchorX:l,root:u})=>{const c=lN(lO),m=v.useId();let d=!0,b=v.useMemo(()=>(d=!1,{id:m,initial:s,isPresent:a,custom:i,onExitComplete:f=>{c.set(f,!0);for(const h of c.values())if(!h)return;n&&n()},register:f=>(c.set(f,!1),()=>c.delete(f))}),[a,c,n]);return r&&d&&(b={...b}),v.useMemo(()=>{c.forEach((f,h)=>c.set(h,!1))},[a]),v.useEffect(()=>{!a&&!c.size&&n&&n()},[a]),o==="popLayout"&&(e=q.jsx(rO,{isPresent:a,anchorX:l,root:u,children:e})),q.jsx(Hb.Provider,{value:b,children:e})};function lO(){return new Map}function Oj(e=!0){const s=v.useContext(Hb);if(s===null)return[!0,null];const{isPresent:a,onExitComplete:n,register:i}=s,r=v.useId();v.useEffect(()=>{if(e)return i(r)},[e]);const o=v.useCallback(()=>e&&n&&n(r),[r,n,e]);return!a&&n?[!1,o]:[!0]}const rm=e=>e.key||"";function K0(e){const s=[];return v.Children.forEach(e,a=>{v.isValidElement(a)&&s.push(a)}),s}const uO=({children:e,custom:s,initial:a=!0,onExitComplete:n,presenceAffectsLayout:i=!0,mode:r="sync",propagate:o=!1,anchorX:l="left",root:u})=>{const[c,m]=Oj(o),d=v.useMemo(()=>K0(e),[e]),b=o&&!c?[]:d.map(rm),f=v.useRef(!0),h=v.useRef(d),g=lN(()=>new Map),[p,x]=v.useState(d),[D,N]=v.useState(d);YL(()=>{f.current=!1,h.current=d;for(let G=0;G<D.length;G++){const k=rm(D[G]);b.includes(k)?g.delete(k):g.get(k)!==!0&&g.set(k,!1)}},[D,b.length,b.join("-")]);const C=[];if(d!==p){let G=[...d];for(let k=0;k<D.length;k++){const E=D[k],U=rm(E);b.includes(U)||(G.splice(k,0,E),C.push(E))}return r==="wait"&&C.length&&(G=C),N(K0(G)),x(d),null}r==="wait"&&D.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:y}=v.useContext(oN);return q.jsx(q.Fragment,{children:D.map(G=>{const k=rm(G),E=o&&!c?!1:d===D||b.includes(k),U=()=>{if(g.has(k))g.set(k,!0);else return;let T=!0;g.forEach(H=>{H||(T=!1)}),T&&(y?.(),N(h.current),o&&m?.(),n&&n())};return q.jsx(oO,{isPresent:E,initial:!f.current||a?void 0:!1,custom:s,presenceAffectsLayout:i,mode:r,root:u,onExitComplete:E?void 0:U,anchorX:l,children:G},k)})})},Ij=v.createContext({strict:!1}),Y0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Mo={};for(const e in Y0)Mo[e]={isEnabled:s=>Y0[e].some(a=>!!s[a])};function cO(e){for(const s in e)Mo[s]={...Mo[s],...e[s]}}const mO=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Qm(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||mO.has(e)}let $j=e=>!Qm(e);function dO(e){typeof e=="function"&&($j=s=>s.startsWith("on")?!Qm(s):e(s))}try{dO(require("@emotion/is-prop-valid").default)}catch{}function bO(e,s,a){const n={};for(const i in e)i==="values"&&typeof e.values=="object"||($j(i)||a===!0&&Qm(i)||!s&&!Qm(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}const Vb=v.createContext({});function Pb(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Tu(e){return typeof e=="string"||Array.isArray(e)}const VN=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],PN=["initial",...VN];function Ab(e){return Pb(e.animate)||PN.some(s=>Tu(e[s]))}function Fj(e){return!!(Ab(e)||e.variants)}function fO(e,s){if(Ab(e)){const{initial:a,animate:n}=e;return{initial:a===!1||Tu(a)?a:void 0,animate:Tu(n)?n:void 0}}return e.inherit!==!1?s:{}}function gO(e){const{initial:s,animate:a}=fO(e,v.useContext(Vb));return v.useMemo(()=>({initial:s,animate:a}),[Q0(s),Q0(a)])}function Q0(e){return Array.isArray(e)?e.join(" "):e}const _u={};function pO(e){for(const s in e)_u[s]=e[s],hN(s)&&(_u[s].isCSSVariable=!0)}function Bj(e,{layout:s,layoutId:a}){return jl.has(e)||e.startsWith("origin")||(s||a!==void 0)&&(!!_u[e]||e==="opacity")}const hO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},vO=Ll.length;function NO(e,s,a){let n="",i=!0;for(let r=0;r<vO;r++){const o=Ll[r],l=e[o];if(l===void 0)continue;let u=!0;if(typeof l=="number"?u=l===(o.startsWith("scale")?1:0):u=parseFloat(l)===0,!u||a){const c=Aj(l,jN[o]);if(!u){i=!1;const m=hO[o]||o;n+=`${m}(${c}) `}a&&(s[o]=c)}}return n=n.trim(),a?n=a(s,i?"":n):i&&(n="none"),n}function AN(e,s,a){const{style:n,vars:i,transformOrigin:r}=e;let o=!1,l=!1;for(const u in s){const c=s[u];if(jl.has(u)){o=!0;continue}else if(hN(u)){i[u]=c;continue}else{const m=Aj(c,jN[u]);u.startsWith("origin")?(l=!0,r[u]=m):n[u]=m}}if(s.transform||(o||a?n.transform=NO(s,e.transform,a):n.transform&&(n.transform="none")),l){const{originX:u="50%",originY:c="50%",originZ:m=0}=r;n.transformOrigin=`${u} ${c} ${m}`}}const SN=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function qj(e,s,a){for(const n in s)!_t(s[n])&&!Bj(n,a)&&(e[n]=s[n])}function xO({transformTemplate:e},s){return v.useMemo(()=>{const a=SN();return AN(a,s,e),Object.assign({},a.vars,a.style)},[s])}function DO(e,s){const a=e.style||{},n={};return qj(n,a,e),Object.assign(n,xO(e,s)),n}function GO(e,s){const a={},n=DO(e,s);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=n,a}const yO={offset:"stroke-dashoffset",array:"stroke-dasharray"},CO={offset:"strokeDashoffset",array:"strokeDasharray"};function kO(e,s,a=1,n=0,i=!0){e.pathLength=1;const r=i?yO:CO;e[r.offset]=Oe.transform(-n);const o=Oe.transform(s),l=Oe.transform(a);e[r.array]=`${o} ${l}`}function Wj(e,{attrX:s,attrY:a,attrScale:n,pathLength:i,pathSpacing:r=1,pathOffset:o=0,...l},u,c,m){if(AN(e,l,c),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:b}=e;d.transform&&(b.transform=d.transform,delete d.transform),(b.transform||d.transformOrigin)&&(b.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),b.transform&&(b.transformBox=m?.transformBox??"fill-box",delete d.transformBox),s!==void 0&&(d.x=s),a!==void 0&&(d.y=a),n!==void 0&&(d.scale=n),i!==void 0&&kO(d,i,r,o,!1)}const zj=()=>({...SN(),attrs:{}}),Kj=e=>typeof e=="string"&&e.toLowerCase()==="svg";function EO(e,s,a,n){const i=v.useMemo(()=>{const r=zj();return Wj(r,s,Kj(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[s]);if(e.style){const r={};qj(r,e.style,e),i.style={...r,...i.style}}return i}const LO=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function TN(e){return typeof e!="string"||e.includes("-")?!1:!!(LO.indexOf(e)>-1||/[A-Z]/u.test(e))}function jO(e,s,a,{latestValues:n},i,r=!1){const l=(TN(e)?EO:GO)(s,n,i,e),u=bO(s,typeof e=="string",r),c=e!==v.Fragment?{...u,...l,ref:a}:{},{children:m}=s,d=v.useMemo(()=>_t(m)?m.get():m,[m]);return v.createElement(e,{...c,children:d})}function Z0(e){const s=[{},{}];return e?.values.forEach((a,n)=>{s[0][n]=a.get(),s[1][n]=a.getVelocity()}),s}function _N(e,s,a,n){if(typeof s=="function"){const[i,r]=Z0(n);s=s(a!==void 0?a:e.custom,i,r)}if(typeof s=="string"&&(s=e.variants&&e.variants[s]),typeof s=="function"){const[i,r]=Z0(n);s=s(a!==void 0?a:e.custom,i,r)}return s}function Am(e){return _t(e)?e.get():e}function wO({scrapeMotionValuesFromProps:e,createRenderState:s},a,n,i){return{latestValues:UO(a,n,i,e),renderState:s()}}function UO(e,s,a,n){const i={},r=n(e,{});for(const b in r)i[b]=Am(r[b]);let{initial:o,animate:l}=e;const u=Ab(e),c=Fj(e);s&&c&&!u&&e.inherit!==!1&&(o===void 0&&(o=s.initial),l===void 0&&(l=s.animate));let m=a?a.initial===!1:!1;m=m||o===!1;const d=m?l:o;if(d&&typeof d!="boolean"&&!Pb(d)){const b=Array.isArray(d)?d:[d];for(let f=0;f<b.length;f++){const h=_N(e,b[f]);if(h){const{transitionEnd:g,transition:p,...x}=h;for(const D in x){let N=x[D];if(Array.isArray(N)){const C=m?N.length-1:0;N=N[C]}N!==null&&(i[D]=N)}for(const D in g)i[D]=g[D]}}}return i}const Yj=e=>(s,a)=>{const n=v.useContext(Vb),i=v.useContext(Hb),r=()=>wO(e,s,n,i);return a?r():lN(r)};function RN(e,s,a){const{style:n}=e,i={};for(const r in n)(_t(n[r])||s.style&&_t(s.style[r])||Bj(r,e)||a?.getValue(r)?.liveStyle!==void 0)&&(i[r]=n[r]);return i}const HO=Yj({scrapeMotionValuesFromProps:RN,createRenderState:SN});function Qj(e,s,a){const n=RN(e,s,a);for(const i in e)if(_t(e[i])||_t(s[i])){const r=Ll.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[r]=e[i]}return n}const VO=Yj({scrapeMotionValuesFromProps:Qj,createRenderState:zj}),PO=Symbol.for("motionComponentSymbol");function fo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function AO(e,s,a){return v.useCallback(n=>{n&&e.onMount&&e.onMount(n),s&&(n?s.mount(n):s.unmount()),a&&(typeof a=="function"?a(n):fo(a)&&(a.current=n))},[s])}const MN=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),SO="framerAppearId",Zj="data-"+MN(SO),Xj=v.createContext({});function TO(e,s,a,n,i){const{visualElement:r}=v.useContext(Vb),o=v.useContext(Ij),l=v.useContext(Hb),u=v.useContext(HN).reducedMotion,c=v.useRef(null);n=n||o.renderer,!c.current&&n&&(c.current=n(e,{visualState:s,parent:r,props:a,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const m=c.current,d=v.useContext(Xj);m&&!m.projection&&i&&(m.type==="html"||m.type==="svg")&&_O(c.current,a,i,d);const b=v.useRef(!1);v.useInsertionEffect(()=>{m&&b.current&&m.update(a,l)});const f=a[Zj],h=v.useRef(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return YL(()=>{m&&(b.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),h.current&&m.animationState&&m.animationState.animateChanges())}),v.useEffect(()=>{m&&(!h.current&&m.animationState&&m.animationState.animateChanges(),h.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),h.current=!1),m.enteringChildren=void 0)}),m}function _O(e,s,a,n){const{layoutId:i,layout:r,drag:o,dragConstraints:l,layoutScroll:u,layoutRoot:c,layoutCrossfade:m}=s;e.projection=new a(e.latestValues,s["data-framer-portal-id"]?void 0:Jj(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!o||l&&fo(l),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:n,crossfade:m,layoutScroll:u,layoutRoot:c})}function Jj(e){if(e)return e.options.allowProjection!==!1?e.projection:Jj(e.parent)}function sg(e,{forwardMotionProps:s=!1}={},a,n){a&&cO(a);const i=TN(e)?VO:HO;function r(l,u){let c;const m={...v.useContext(HN),...l,layoutId:RO(l)},{isStatic:d}=m,b=gO(l),f=i(l,d);if(!d&&uN){MO(m,a);const h=OO(m);c=h.MeasureLayout,b.visualElement=TO(e,f,m,n,h.ProjectionNode)}return q.jsxs(Vb.Provider,{value:b,children:[c&&b.visualElement?q.jsx(c,{visualElement:b.visualElement,...m}):null,jO(e,l,AO(f,b.visualElement,u),f,d,s)]})}r.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const o=v.forwardRef(r);return o[PO]=e,o}function RO({layoutId:e}){const s=v.useContext(oN).id;return s&&e!==void 0?s+"-"+e:e}function MO(e,s){const a=v.useContext(Ij).strict;if(s&&a){const n="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?kl(!1,n,"lazy-strict-mode"):ai(!1,n,"lazy-strict-mode")}}function OO(e){const{drag:s,layout:a}=Mo;if(!s&&!a)return{};const n={...s,...a};return{MeasureLayout:s?.isEnabled(e)||a?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}function IO(e,s){if(typeof Proxy>"u")return sg;const a=new Map,n=(r,o)=>sg(r,o,e,s),i=(r,o)=>(fN(!1,"motion() is deprecated. Use motion.create() instead."),n(r,o));return new Proxy(i,{get:(r,o)=>o==="create"?n:(a.has(o)||a.set(o,sg(o,void 0,e,s)),a.get(o))})}function ew({top:e,left:s,right:a,bottom:n}){return{x:{min:s,max:a},y:{min:e,max:n}}}function $O({x:e,y:s}){return{top:s.min,right:e.max,bottom:s.max,left:e.min}}function FO(e,s){if(!s)return e;const a=s({x:e.left,y:e.top}),n=s({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:n.y,right:n.x}}function tg(e){return e===void 0||e===1}function Ap({scale:e,scaleX:s,scaleY:a}){return!tg(e)||!tg(s)||!tg(a)}function Ji(e){return Ap(e)||sw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function sw(e){return X0(e.x)||X0(e.y)}function X0(e){return e&&e!=="0%"}function Zm(e,s,a){const n=e-a,i=s*n;return a+i}function J0(e,s,a,n,i){return i!==void 0&&(e=Zm(e,i,n)),Zm(e,a,n)+s}function Sp(e,s=0,a=1,n,i){e.min=J0(e.min,s,a,n,i),e.max=J0(e.max,s,a,n,i)}function tw(e,{x:s,y:a}){Sp(e.x,s.translate,s.scale,s.originPoint),Sp(e.y,a.translate,a.scale,a.originPoint)}const eG=.999999999999,sG=1.0000000000001;function BO(e,s,a,n=!1){const i=a.length;if(!i)return;s.x=s.y=1;let r,o;for(let l=0;l<i;l++){r=a[l],o=r.projectionDelta;const{visualElement:u}=r.options;u&&u.props.style&&u.props.style.display==="contents"||(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&po(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),o&&(s.x*=o.x.scale,s.y*=o.y.scale,tw(e,o)),n&&Ji(r.latestValues)&&po(e,r.latestValues))}s.x<sG&&s.x>eG&&(s.x=1),s.y<sG&&s.y>eG&&(s.y=1)}function go(e,s){e.min=e.min+s,e.max=e.max+s}function tG(e,s,a,n,i=.5){const r=qs(e.min,e.max,i);Sp(e,s,a,r,n)}function po(e,s){tG(e.x,s.x,s.scaleX,s.scale,s.originX),tG(e.y,s.y,s.scaleY,s.scale,s.originY)}function aw(e,s){return ew(FO(e.getBoundingClientRect(),s))}function qO(e,s,a){const n=aw(e,a),{scroll:i}=s;return i&&(go(n.x,i.offset.x),go(n.y,i.offset.y)),n}const aG=()=>({translate:0,scale:1,origin:0,originPoint:0}),ho=()=>({x:aG(),y:aG()}),nG=()=>({min:0,max:0}),et=()=>({x:nG(),y:nG()}),Tp={current:null},nw={current:!1};function WO(){if(nw.current=!0,!!uN)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),s=()=>Tp.current=e.matches;e.addEventListener("change",s),s()}else Tp.current=!1}const zO=new WeakMap;function KO(e,s,a){for(const n in s){const i=s[n],r=a[n];if(_t(i))e.addValue(n,i);else if(_t(r))e.addValue(n,Ro(i,{owner:e}));else if(r!==i)if(e.hasValue(n)){const o=e.getValue(n);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(n);e.addValue(n,Ro(o!==void 0?o:i,{owner:e}))}}for(const n in a)s[n]===void 0&&e.removeValue(n);return s}const iG=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class YO{scrapeMotionValuesFromProps(s,a,n){return{}}constructor({parent:s,props:a,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:r,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=EN,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const b=Xt.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,Is.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=o;this.latestValues=u,this.baseTarget={...u},this.initialValues=a.initial?{...u}:{},this.renderState=c,this.parent=s,this.props=a,this.presenceContext=n,this.depth=s?s.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.blockInitialAnimation=!!r,this.isControllingVariants=Ab(a),this.isVariantNode=Fj(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(s&&s.current);const{willChange:m,...d}=this.scrapeMotionValuesFromProps(a,{},this);for(const b in d){const f=d[b];u[b]!==void 0&&_t(f)&&f.set(u[b])}}mount(s){this.current=s,zO.set(s,this),this.projection&&!this.projection.instance&&this.projection.mount(s),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,n)=>this.bindToMotionValue(n,a)),nw.current||WO(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Tp.current,fN(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Pi(this.notifyUpdate),Pi(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const a=this.features[s];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(s){this.children.add(s),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(s)}removeChild(s){this.children.delete(s),this.enteringChildren&&this.enteringChildren.delete(s)}bindToMotionValue(s,a){this.valueSubscriptions.has(s)&&this.valueSubscriptions.get(s)();const n=jl.has(s);n&&this.onBindTransform&&this.onBindTransform();const i=a.on("change",o=>{this.latestValues[s]=o,this.props.onUpdate&&Is.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,s,a)),this.valueSubscriptions.set(s,()=>{i(),r&&r(),a.owner&&a.stop()})}sortNodePosition(s){return!this.current||!this.sortInstanceNodePosition||this.type!==s.type?0:this.sortInstanceNodePosition(this.current,s.current)}updateFeatures(){let s="animation";for(s in Mo){const a=Mo[s];if(!a)continue;const{isEnabled:n,Feature:i}=a;if(!this.features[s]&&i&&n(this.props)&&(this.features[s]=new i(this)),this.features[s]){const r=this.features[s];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):et()}getStaticValue(s){return this.latestValues[s]}setStaticValue(s,a){this.latestValues[s]=a}update(s,a){(s.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=s,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let n=0;n<iG.length;n++){const i=iG[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,o=s[r];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=KO(this,this.scrapeMotionValuesFromProps(s,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(s){return this.props.variants?this.props.variants[s]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(s){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(s),()=>a.variantChildren.delete(s)}addValue(s,a){const n=this.values.get(s);a!==n&&(n&&this.removeValue(s),this.bindToMotionValue(s,a),this.values.set(s,a),this.latestValues[s]=a.get())}removeValue(s){this.values.delete(s);const a=this.valueSubscriptions.get(s);a&&(a(),this.valueSubscriptions.delete(s)),delete this.latestValues[s],this.removeValueFromRenderState(s,this.renderState)}hasValue(s){return this.values.has(s)}getValue(s,a){if(this.props.values&&this.props.values[s])return this.props.values[s];let n=this.values.get(s);return n===void 0&&a!==void 0&&(n=Ro(a===null?void 0:a,{owner:this}),this.addValue(s,n)),n}readValue(s,a){let n=this.latestValues[s]!==void 0||!this.current?this.latestValues[s]:this.getBaseTargetFromProps(this.props,s)??this.readValueFromInstance(this.current,s,this.options);return n!=null&&(typeof n=="string"&&(QL(n)||XL(n))?n=parseFloat(n):!tO(n)&&Ai.test(a)&&(n=Pj(s,a)),this.setBaseTarget(s,_t(n)?n.get():n)),_t(n)?n.get():n}setBaseTarget(s,a){this.baseTarget[s]=a}getBaseTarget(s){const{initial:a}=this.props;let n;if(typeof a=="string"||typeof a=="object"){const r=_N(this.props,a,this.presenceContext?.custom);r&&(n=r[s])}if(a&&n!==void 0)return n;const i=this.getBaseTargetFromProps(this.props,s);return i!==void 0&&!_t(i)?i:this.initialValues[s]!==void 0&&n===void 0?void 0:this.baseTarget[s]}on(s,a){return this.events[s]||(this.events[s]=new bN),this.events[s].add(a)}notify(s,...a){this.events[s]&&this.events[s].notify(...a)}scheduleRenderMicrotask(){wN.render(this.render)}}class iw extends YO{constructor(){super(...arguments),this.KeyframeResolver=BM}sortInstanceNodePosition(s,a){return s.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(s,a){return s.style?s.style[a]:void 0}removeValueFromRenderState(s,{vars:a,style:n}){delete a[s],delete n[s]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:s}=this.props;_t(s)&&(this.childSubscription=s.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}function rw(e,{style:s,vars:a},n,i){const r=e.style;let o;for(o in s)r[o]=s[o];i?.applyProjectionStyles(r,n);for(o in a)r.setProperty(o,a[o])}function QO(e){return window.getComputedStyle(e)}class ZO extends iw{constructor(){super(...arguments),this.type="html",this.renderInstance=rw}readValueFromInstance(s,a){if(jl.has(a))return this.projection?.isProjecting?Lp(a):lM(s,a);{const n=QO(s),i=(hN(a)?n.getPropertyValue(a):n[a])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(s,{transformPagePoint:a}){return aw(s,a)}build(s,a,n){AN(s,a,n.transformTemplate)}scrapeMotionValuesFromProps(s,a,n){return RN(s,a,n)}}const ow=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function XO(e,s,a,n){rw(e,s,void 0,n);for(const i in s.attrs)e.setAttribute(ow.has(i)?i:MN(i),s.attrs[i])}class JO extends iw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=et}getBaseTargetFromProps(s,a){return s[a]}readValueFromInstance(s,a){if(jl.has(a)){const n=Vj(a);return n&&n.default||0}return a=ow.has(a)?a:MN(a),s.getAttribute(a)}scrapeMotionValuesFromProps(s,a,n){return Qj(s,a,n)}build(s,a,n){Wj(s,a,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(s,a,n,i){XO(s,a,n,i)}mount(s){this.isSVGTag=Kj(s.tagName),super.mount(s)}}const eI=(e,s)=>TN(e)?new JO(s):new ZO(s,{allowProjection:e!==v.Fragment});function ko(e,s,a){const n=e.getProps();return _N(n,s,a!==void 0?a:n.custom,e)}const _p=e=>Array.isArray(e);function sI(e,s,a){e.hasValue(s)?e.getValue(s).set(a):e.addValue(s,Ro(a))}function tI(e){return _p(e)?e[e.length-1]||0:e}function aI(e,s){const a=ko(e,s);let{transitionEnd:n={},transition:i={},...r}=a||{};r={...r,...n};for(const o in r){const l=tI(r[o]);sI(e,o,l)}}function nI(e){return!!(_t(e)&&e.add)}function Rp(e,s){const a=e.getValue("willChange");if(nI(a))return a.add(s);if(!a&&ni.WillChange){const n=new ni.WillChange("auto");e.addValue("willChange",n),n.add(s)}}function lw(e){return e.props[Zj]}const iI=e=>e!==null;function rI(e,{repeat:s,repeatType:a="loop"},n){const i=e.filter(iI),r=s&&a!=="loop"&&s%2===1?0:i.length-1;return!r||n===void 0?i[r]:n}const oI={type:"spring",stiffness:500,damping:25,restSpeed:10},lI=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),uI={type:"keyframes",duration:.8},cI={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},mI=(e,{keyframes:s})=>s.length>2?uI:jl.has(e)?e.startsWith("scale")?lI(s[1]):oI:cI;function dI({when:e,delay:s,delayChildren:a,staggerChildren:n,staggerDirection:i,repeat:r,repeatType:o,repeatDelay:l,from:u,elapsed:c,...m}){return!!Object.keys(m).length}const ON=(e,s,a,n={},i,r)=>o=>{const l=LN(n,e)||{},u=l.delay||n.delay||0;let{elapsed:c=0}=n;c=c-Ja(u);const m={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:s.getVelocity(),...l,delay:-c,onUpdate:b=>{s.set(b),l.onUpdate&&l.onUpdate(b)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:e,motionValue:s,element:r?void 0:i};dI(l)||Object.assign(m,mI(e,m)),m.duration&&(m.duration=Ja(m.duration)),m.repeatDelay&&(m.repeatDelay=Ja(m.repeatDelay)),m.from!==void 0&&(m.keyframes[0]=m.from);let d=!1;if((m.type===!1||m.duration===0&&!m.repeatDelay)&&(Vp(m),m.delay===0&&(d=!0)),(ni.instantAnimations||ni.skipAnimations)&&(d=!0,Vp(m),m.delay=0),m.allowFlatten=!l.type&&!l.ease,d&&!r&&s.get()!==void 0){const b=rI(m.keyframes,l);if(b!==void 0){Is.update(()=>{m.onUpdate(b),m.onComplete()});return}}return l.isSync?new kN(m):new HM(m)};function bI({protectedKeys:e,needsAnimating:s},a){const n=e.hasOwnProperty(a)&&s[a]!==!0;return s[a]=!1,n}function uw(e,s,{delay:a=0,transitionOverride:n,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:o,...l}=s;n&&(r=n);const u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const m in l){const d=e.getValue(m,e.latestValues[m]??null),b=l[m];if(b===void 0||c&&bI(c,m))continue;const f={delay:a,...LN(r||{},m)},h=d.get();if(h!==void 0&&!d.isAnimating&&!Array.isArray(b)&&b===h&&!f.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const x=lw(e);if(x){const D=window.MotionHandoffAnimation(x,m,Is);D!==null&&(f.startTime=D,g=!0)}}Rp(e,m),d.start(ON(m,d,b,e.shouldReduceMotion&&wj.has(m)?{type:!1}:f,e,g));const p=d.animation;p&&u.push(p)}return o&&Promise.all(u).then(()=>{Is.update(()=>{o&&aI(e,o)})}),u}function cw(e,s,a,n=0,i=1){const r=Array.from(e).sort((c,m)=>c.sortNodePosition(m)).indexOf(s),o=e.size,l=(o-1)*n;return typeof a=="function"?a(r,o):i===1?r*n:l-r*n}function Mp(e,s,a={}){const n=ko(e,s,a.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=n||{};a.transitionOverride&&(i=a.transitionOverride);const r=n?()=>Promise.all(uw(e,n,a)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:m,staggerDirection:d}=i;return fI(e,s,u,c,m,d,a)}:()=>Promise.resolve(),{when:l}=i;if(l){const[u,c]=l==="beforeChildren"?[r,o]:[o,r];return u().then(()=>c())}else return Promise.all([r(),o(a.delay)])}function fI(e,s,a=0,n=0,i=0,r=1,o){const l=[];for(const u of e.variantChildren)u.notify("AnimationStart",s),l.push(Mp(u,s,{...o,delay:a+(typeof n=="function"?0:n)+cw(e.variantChildren,u,n,i,r)}).then(()=>u.notify("AnimationComplete",s)));return Promise.all(l)}function gI(e,s,a={}){e.notify("AnimationStart",s);let n;if(Array.isArray(s)){const i=s.map(r=>Mp(e,r,a));n=Promise.all(i)}else if(typeof s=="string")n=Mp(e,s,a);else{const i=typeof s=="function"?ko(e,s,a.custom):s;n=Promise.all(uw(e,i,a))}return n.then(()=>{e.notify("AnimationComplete",s)})}function mw(e,s){if(!Array.isArray(s))return!1;const a=s.length;if(a!==e.length)return!1;for(let n=0;n<a;n++)if(s[n]!==e[n])return!1;return!0}const pI=PN.length;function dw(e){if(!e)return;if(!e.isControllingVariants){const a=e.parent?dw(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}const s={};for(let a=0;a<pI;a++){const n=PN[a],i=e.props[n];(Tu(i)||i===!1)&&(s[n]=i)}return s}const hI=[...VN].reverse(),vI=VN.length;function NI(e){return s=>Promise.all(s.map(({animation:a,options:n})=>gI(e,a,n)))}function xI(e){let s=NI(e),a=rG(),n=!0;const i=u=>(c,m)=>{const d=ko(e,m,u==="exit"?e.presenceContext?.custom:void 0);if(d){const{transition:b,transitionEnd:f,...h}=d;c={...c,...h,...f}}return c};function r(u){s=u(e)}function o(u){const{props:c}=e,m=dw(e.parent)||{},d=[],b=new Set;let f={},h=1/0;for(let p=0;p<vI;p++){const x=hI[p],D=a[x],N=c[x]!==void 0?c[x]:m[x],C=Tu(N),y=x===u?D.isActive:null;y===!1&&(h=p);let G=N===m[x]&&N!==c[x]&&C;if(G&&n&&e.manuallyAnimateOnMount&&(G=!1),D.protectedKeys={...f},!D.isActive&&y===null||!N&&!D.prevProp||Pb(N)||typeof N=="boolean")continue;const k=DI(D.prevProp,N);let E=k||x===u&&D.isActive&&!G&&C||p>h&&C,U=!1;const T=Array.isArray(N)?N:[N];let H=T.reduce(i(x),{});y===!1&&(H={});const{prevResolvedValues:j={}}=D,w={...j,...H},A=_=>{E=!0,b.has(_)&&(U=!0,b.delete(_)),D.needsAnimating[_]=!0;const O=e.getValue(_);O&&(O.liveStyle=!1)};for(const _ in w){const O=H[_],$=j[_];if(f.hasOwnProperty(_))continue;let Q=!1;_p(O)&&_p($)?Q=!mw(O,$):Q=O!==$,Q?O!=null?A(_):b.add(_):O!==void 0&&b.has(_)?A(_):D.protectedKeys[_]=!0}D.prevProp=N,D.prevResolvedValues=H,D.isActive&&(f={...f,...H}),n&&e.blockInitialAnimation&&(E=!1);const P=G&&k;E&&(!P||U)&&d.push(...T.map(_=>{const O={type:x};if(typeof _=="string"&&n&&!P&&e.manuallyAnimateOnMount&&e.parent){const{parent:$}=e,Q=ko($,_);if($.enteringChildren&&Q){const{delayChildren:ne}=Q.transition||{};O.delay=cw($.enteringChildren,e,ne)}}return{animation:_,options:O}}))}if(b.size){const p={};if(typeof c.initial!="boolean"){const x=ko(e,Array.isArray(c.initial)?c.initial[0]:c.initial);x&&x.transition&&(p.transition=x.transition)}b.forEach(x=>{const D=e.getBaseTarget(x),N=e.getValue(x);N&&(N.liveStyle=!0),p[x]=D??null}),d.push({animation:p})}let g=!!d.length;return n&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(g=!1),n=!1,g?s(d):Promise.resolve()}function l(u,c){if(a[u].isActive===c)return Promise.resolve();e.variantChildren?.forEach(d=>d.animationState?.setActive(u,c)),a[u].isActive=c;const m=o(u);for(const d in a)a[d].protectedKeys={};return m}return{animateChanges:o,setActive:l,setAnimateFunction:r,getState:()=>a,reset:()=>{a=rG()}}}function DI(e,s){return typeof s=="string"?s!==e:Array.isArray(s)?!mw(s,e):!1}function Qi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rG(){return{animate:Qi(!0),whileInView:Qi(),whileHover:Qi(),whileTap:Qi(),whileDrag:Qi(),whileFocus:Qi(),exit:Qi()}}class Ti{constructor(s){this.isMounted=!1,this.node=s}update(){}}class GI extends Ti{constructor(s){super(s),s.animationState||(s.animationState=xI(s))}updateAnimationControlsSubscription(){const{animate:s}=this.node.getProps();Pb(s)&&(this.unmountControls=s.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:s}=this.node.getProps(),{animate:a}=this.node.prevProps||{};s!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let yI=0;class CI extends Ti{constructor(){super(...arguments),this.id=yI++}update(){if(!this.node.presenceContext)return;const{isPresent:s,onExitComplete:a}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||s===n)return;const i=this.node.animationState.setActive("exit",!s);a&&!s&&i.then(()=>{a(this.id)})}mount(){const{register:s,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),s&&(this.unmount=s(this.id))}unmount(){}}const kI={animation:{Feature:GI},exit:{Feature:CI}};function Ru(e,s,a,n={passive:!0}){return e.addEventListener(s,a,n),()=>e.removeEventListener(s,a)}function Vc(e){return{point:{x:e.pageX,y:e.pageY}}}const EI=e=>s=>UN(s)&&e(s,Vc(s));function gu(e,s,a,n){return Ru(e,s,EI(a),n)}const bw=1e-4,LI=1-bw,jI=1+bw,fw=.01,wI=0-fw,UI=0+fw;function Bt(e){return e.max-e.min}function HI(e,s,a){return Math.abs(e-s)<=a}function oG(e,s,a,n=.5){e.origin=n,e.originPoint=qs(s.min,s.max,e.origin),e.scale=Bt(a)/Bt(s),e.translate=qs(a.min,a.max,e.origin)-e.originPoint,(e.scale>=LI&&e.scale<=jI||isNaN(e.scale))&&(e.scale=1),(e.translate>=wI&&e.translate<=UI||isNaN(e.translate))&&(e.translate=0)}function pu(e,s,a,n){oG(e.x,s.x,a.x,n?n.originX:void 0),oG(e.y,s.y,a.y,n?n.originY:void 0)}function lG(e,s,a){e.min=a.min+s.min,e.max=e.min+Bt(s)}function VI(e,s,a){lG(e.x,s.x,a.x),lG(e.y,s.y,a.y)}function uG(e,s,a){e.min=s.min-a.min,e.max=e.min+Bt(s)}function hu(e,s,a){uG(e.x,s.x,a.x),uG(e.y,s.y,a.y)}function wa(e){return[e("x"),e("y")]}const gw=({current:e})=>e?e.ownerDocument.defaultView:null,cG=(e,s)=>Math.abs(e-s);function PI(e,s){const a=cG(e.x,s.x),n=cG(e.y,s.y);return Math.sqrt(a**2+n**2)}class pw{constructor(s,a,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:o=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=ng(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=PI(b.offset,{x:0,y:0})>=this.distanceThreshold;if(!f&&!h)return;const{point:g}=b,{timestamp:p}=Et;this.history.push({...g,timestamp:p});const{onStart:x,onMove:D}=this.handlers;f||(x&&x(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),D&&D(this.lastMoveEvent,b)},this.handlePointerMove=(b,f)=>{this.lastMoveEvent=b,this.lastMoveEventInfo=ag(f,this.transformPagePoint),Is.update(this.updatePoint,!0)},this.handlePointerUp=(b,f)=>{this.end();const{onEnd:h,onSessionEnd:g,resumeAnimation:p}=this.handlers;if(this.dragSnapToOrigin&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=ng(b.type==="pointercancel"?this.lastMoveEventInfo:ag(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(b,x),g&&g(b,x)},!UN(s))return;this.dragSnapToOrigin=r,this.handlers=a,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=i||window;const l=Vc(s),u=ag(l,this.transformPagePoint),{point:c}=u,{timestamp:m}=Et;this.history=[{...c,timestamp:m}];const{onSessionStart:d}=a;d&&d(s,ng(u,this.history)),this.removeListeners=wc(gu(this.contextWindow,"pointermove",this.handlePointerMove),gu(this.contextWindow,"pointerup",this.handlePointerUp),gu(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(s){this.handlers=s}end(){this.removeListeners&&this.removeListeners(),Pi(this.updatePoint)}}function ag(e,s){return s?{point:s(e.point)}:e}function mG(e,s){return{x:e.x-s.x,y:e.y-s.y}}function ng({point:e},s){return{point:e,delta:mG(e,hw(s)),offset:mG(e,AI(s)),velocity:SI(s,.1)}}function AI(e){return e[0]}function hw(e){return e[e.length-1]}function SI(e,s){if(e.length<2)return{x:0,y:0};let a=e.length-1,n=null;const i=hw(e);for(;a>=0&&(n=e[a],!(i.timestamp-n.timestamp>Ja(s)));)a--;if(!n)return{x:0,y:0};const r=Ha(i.timestamp-n.timestamp);if(r===0)return{x:0,y:0};const o={x:(i.x-n.x)/r,y:(i.y-n.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function TI(e,{min:s,max:a},n){return s!==void 0&&e<s?e=n?qs(s,e,n.min):Math.max(e,s):a!==void 0&&e>a&&(e=n?qs(a,e,n.max):Math.min(e,a)),e}function dG(e,s,a){return{min:s!==void 0?e.min+s:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function _I(e,{top:s,left:a,bottom:n,right:i}){return{x:dG(e.x,a,i),y:dG(e.y,s,n)}}function bG(e,s){let a=s.min-e.min,n=s.max-e.max;return s.max-s.min<e.max-e.min&&([a,n]=[n,a]),{min:a,max:n}}function RI(e,s){return{x:bG(e.x,s.x),y:bG(e.y,s.y)}}function MI(e,s){let a=.5;const n=Bt(e),i=Bt(s);return i>n?a=Pu(s.min,s.max-n,e.min):n>i&&(a=Pu(e.min,e.max-i,s.min)),ti(0,1,a)}function OI(e,s){const a={};return s.min!==void 0&&(a.min=s.min-e.min),s.max!==void 0&&(a.max=s.max-e.min),a}const Op=.35;function II(e=Op){return e===!1?e=0:e===!0&&(e=Op),{x:fG(e,"left","right"),y:fG(e,"top","bottom")}}function fG(e,s,a){return{min:gG(e,s),max:gG(e,a)}}function gG(e,s){return typeof e=="number"?e:e[s]||0}const $I=new WeakMap;class FI{constructor(s){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=et(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=s}start(s,{snapToCursor:a=!1,distanceThreshold:n}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=d=>{const{dragSnapToOrigin:b}=this.getProps();b?this.pauseAnimation():this.stopAnimation(),a&&this.snapToCursor(Vc(d).point)},o=(d,b)=>{const{drag:f,dragPropagation:h,onDragStart:g}=this.getProps();if(f&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=KM(f),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),wa(x=>{let D=this.getAxisMotionValue(x).get()||0;if(En.test(D)){const{projection:N}=this.visualElement;if(N&&N.layout){const C=N.layout.layoutBox[x];C&&(D=Bt(C)*(parseFloat(D)/100))}}this.originPoint[x]=D}),g&&Is.postRender(()=>g(d,b)),Rp(this.visualElement,"transform");const{animationState:p}=this.visualElement;p&&p.setActive("whileDrag",!0)},l=(d,b)=>{this.latestPointerEvent=d,this.latestPanInfo=b;const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:g,onDrag:p}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:x}=b;if(h&&this.currentDirection===null){this.currentDirection=BI(x),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",b.point,x),this.updateAxis("y",b.point,x),this.visualElement.render(),p&&p(d,b)},u=(d,b)=>{this.latestPointerEvent=d,this.latestPanInfo=b,this.stop(d,b),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>wa(d=>this.getAnimationState(d)==="paused"&&this.getAxisMotionValue(d).animation?.play()),{dragSnapToOrigin:m}=this.getProps();this.panSession=new pw(s,{onSessionStart:r,onStart:o,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,distanceThreshold:n,contextWindow:gw(this.visualElement)})}stop(s,a){const n=s||this.latestPointerEvent,i=a||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!n)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:l}=this.getProps();l&&Is.postRender(()=>l(n,i))}cancel(){this.isDragging=!1;const{projection:s,animationState:a}=this.visualElement;s&&(s.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}updateAxis(s,a,n){const{drag:i}=this.getProps();if(!n||!om(s,i,this.currentDirection))return;const r=this.getAxisMotionValue(s);let o=this.originPoint[s]+n[s];this.constraints&&this.constraints[s]&&(o=TI(o,this.constraints[s],this.elastic[s])),r.set(o)}resolveConstraints(){const{dragConstraints:s,dragElastic:a}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;s&&fo(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&n?this.constraints=_I(n.layoutBox,s):this.constraints=!1,this.elastic=II(a),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&wa(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=OI(n.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:s,onMeasureDragConstraints:a}=this.getProps();if(!s||!fo(s))return!1;const n=s.current;ai(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=qO(n,i.root,this.visualElement.getTransformPagePoint());let o=RI(i.layout.layoutBox,r);if(a){const l=a($O(o));this.hasMutatedConstraints=!!l,l&&(o=ew(l))}return o}startAnimation(s){const{drag:a,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),u=this.constraints||{},c=wa(m=>{if(!om(m,a,this.currentDirection))return;let d=u&&u[m]||{};o&&(d={min:0,max:0});const b=i?200:1e6,f=i?40:1e7,h={type:"inertia",velocity:n?s[m]:0,bounceStiffness:b,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...r,...d};return this.startAxisValueAnimation(m,h)});return Promise.all(c).then(l)}startAxisValueAnimation(s,a){const n=this.getAxisMotionValue(s);return Rp(this.visualElement,s),n.start(ON(s,n,0,a,this.visualElement,!1))}stopAnimation(){wa(s=>this.getAxisMotionValue(s).stop())}pauseAnimation(){wa(s=>this.getAxisMotionValue(s).animation?.pause())}getAnimationState(s){return this.getAxisMotionValue(s).animation?.state}getAxisMotionValue(s){const a=`_drag${s.toUpperCase()}`,n=this.visualElement.getProps(),i=n[a];return i||this.visualElement.getValue(s,(n.initial?n.initial[s]:void 0)||0)}snapToCursor(s){wa(a=>{const{drag:n}=this.getProps();if(!om(a,n,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(a);if(i&&i.layout){const{min:o,max:l}=i.layout.layoutBox[a];r.set(s[a]-qs(o,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:s,dragConstraints:a}=this.getProps(),{projection:n}=this.visualElement;if(!fo(a)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};wa(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const u=l.get();i[o]=MI({min:u,max:u},this.constraints[o])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),wa(o=>{if(!om(o,s,null))return;const l=this.getAxisMotionValue(o),{min:u,max:c}=this.constraints[o];l.set(qs(u,c,i[o]))})}addListeners(){if(!this.visualElement.current)return;$I.set(this.visualElement,this);const s=this.visualElement.current,a=gu(s,"pointerdown",u=>{const{drag:c,dragListener:m=!0}=this.getProps();c&&m&&this.start(u)}),n=()=>{const{dragConstraints:u}=this.getProps();fo(u)&&u.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),Is.read(n);const o=Ru(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(wa(m=>{const d=this.getAxisMotionValue(m);d&&(this.originPoint[m]+=u[m].translate,d.set(d.get()+u[m].translate))}),this.visualElement.render())});return()=>{o(),a(),r(),l&&l()}}getProps(){const s=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=Op,dragMomentum:l=!0}=s;return{...s,drag:a,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:l}}}function om(e,s,a){return(s===!0||s===e)&&(a===null||a===e)}function BI(e,s=10){let a=null;return Math.abs(e.y)>s?a="y":Math.abs(e.x)>s&&(a="x"),a}class qI extends Ti{constructor(s){super(s),this.removeGroupControls=Pa,this.removeListeners=Pa,this.controls=new FI(s)}mount(){const{dragControls:s}=this.node.getProps();s&&(this.removeGroupControls=s.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Pa}unmount(){this.removeGroupControls(),this.removeListeners()}}const pG=e=>(s,a)=>{e&&Is.postRender(()=>e(s,a))};class WI extends Ti{constructor(){super(...arguments),this.removePointerDownListener=Pa}onPointerDown(s){this.session=new pw(s,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:gw(this.node)})}createPanHandlers(){const{onPanSessionStart:s,onPanStart:a,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:pG(s),onStart:pG(a),onMove:n,onEnd:(r,o)=>{delete this.session,i&&Is.postRender(()=>i(r,o))}}}mount(){this.removePointerDownListener=gu(this.node.current,"pointerdown",s=>this.onPointerDown(s))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Sm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function hG(e,s){return s.max===s.min?0:e/(s.max-s.min)*100}const Kl={correct:(e,s)=>{if(!s.target)return e;if(typeof e=="string")if(Oe.test(e))e=parseFloat(e);else return e;const a=hG(e,s.target.x),n=hG(e,s.target.y);return`${a}% ${n}%`}},zI={correct:(e,{treeScale:s,projectionDelta:a})=>{const n=e,i=Ai.parse(e);if(i.length>5)return n;const r=Ai.createTransformer(e),o=typeof i[0]!="number"?1:0,l=a.x.scale*s.x,u=a.y.scale*s.y;i[0+o]/=l,i[1+o]/=u;const c=qs(l,u,.5);return typeof i[2+o]=="number"&&(i[2+o]/=c),typeof i[3+o]=="number"&&(i[3+o]/=c),r(i)}};let ig=!1;class KI extends v.Component{componentDidMount(){const{visualElement:s,layoutGroup:a,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=s;pO(YI),r&&(a.group&&a.group.add(r),n&&n.register&&i&&n.register(r),ig&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Sm.hasEverUpdated=!0}getSnapshotBeforeUpdate(s){const{layoutDependency:a,visualElement:n,drag:i,isPresent:r}=this.props,{projection:o}=n;return o&&(o.isPresent=r,ig=!0,i||s.layoutDependency!==a||a===void 0||s.isPresent!==r?o.willUpdate():this.safeToRemove(),s.isPresent!==r&&(r?o.promote():o.relegate()||Is.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:s}=this.props.visualElement;s&&(s.root.didUpdate(),wN.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:s,layoutGroup:a,switchLayoutGroup:n}=this.props,{projection:i}=s;ig=!0,i&&(i.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:s}=this.props;s&&s()}render(){return null}}function vw(e){const[s,a]=Oj(),n=v.useContext(oN);return q.jsx(KI,{...e,layoutGroup:n,switchLayoutGroup:v.useContext(Xj),isPresent:s,safeToRemove:a})}const YI={borderRadius:{...Kl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Kl,borderTopRightRadius:Kl,borderBottomLeftRadius:Kl,borderBottomRightRadius:Kl,boxShadow:zI};function QI(e,s,a){const n=_t(e)?e:Ro(e);return n.start(ON("",n,s,a)),n.animation}const ZI=(e,s)=>e.depth-s.depth;class XI{constructor(){this.children=[],this.isDirty=!1}add(s){cN(this.children,s),this.isDirty=!0}remove(s){mN(this.children,s),this.isDirty=!0}forEach(s){this.isDirty&&this.children.sort(ZI),this.isDirty=!1,this.children.forEach(s)}}function JI(e,s){const a=Xt.now(),n=({timestamp:i})=>{const r=i-a;r>=s&&(Pi(n),e(r-s))};return Is.setup(n,!0),()=>Pi(n)}const Nw=["TopLeft","TopRight","BottomLeft","BottomRight"],e$=Nw.length,vG=e=>typeof e=="string"?parseFloat(e):e,NG=e=>typeof e=="number"||Oe.test(e);function s$(e,s,a,n,i,r){i?(e.opacity=qs(0,a.opacity??1,t$(n)),e.opacityExit=qs(s.opacity??1,0,a$(n))):r&&(e.opacity=qs(s.opacity??1,a.opacity??1,n));for(let o=0;o<e$;o++){const l=`border${Nw[o]}Radius`;let u=xG(s,l),c=xG(a,l);if(u===void 0&&c===void 0)continue;u||(u=0),c||(c=0),u===0||c===0||NG(u)===NG(c)?(e[l]=Math.max(qs(vG(u),vG(c),n),0),(En.test(c)||En.test(u))&&(e[l]+="%")):e[l]=c}(s.rotate||a.rotate)&&(e.rotate=qs(s.rotate||0,a.rotate||0,n))}function xG(e,s){return e[s]!==void 0?e[s]:e.borderRadius}const t$=xw(0,.5,rj),a$=xw(.5,.95,Pa);function xw(e,s,a){return n=>n<e?0:n>s?1:a(Pu(e,s,n))}function DG(e,s){e.min=s.min,e.max=s.max}function ka(e,s){DG(e.x,s.x),DG(e.y,s.y)}function GG(e,s){e.translate=s.translate,e.scale=s.scale,e.originPoint=s.originPoint,e.origin=s.origin}function yG(e,s,a,n,i){return e-=s,e=Zm(e,1/a,n),i!==void 0&&(e=Zm(e,1/i,n)),e}function n$(e,s=0,a=1,n=.5,i,r=e,o=e){if(En.test(s)&&(s=parseFloat(s),s=qs(o.min,o.max,s/100)-o.min),typeof s!="number")return;let l=qs(r.min,r.max,n);e===r&&(l-=s),e.min=yG(e.min,s,a,l,i),e.max=yG(e.max,s,a,l,i)}function CG(e,s,[a,n,i],r,o){n$(e,s[a],s[n],s[i],s.scale,r,o)}const i$=["x","scaleX","originX"],r$=["y","scaleY","originY"];function kG(e,s,a,n){CG(e.x,s,i$,a?a.x:void 0,n?n.x:void 0),CG(e.y,s,r$,a?a.y:void 0,n?n.y:void 0)}function EG(e){return e.translate===0&&e.scale===1}function Dw(e){return EG(e.x)&&EG(e.y)}function LG(e,s){return e.min===s.min&&e.max===s.max}function o$(e,s){return LG(e.x,s.x)&&LG(e.y,s.y)}function jG(e,s){return Math.round(e.min)===Math.round(s.min)&&Math.round(e.max)===Math.round(s.max)}function Gw(e,s){return jG(e.x,s.x)&&jG(e.y,s.y)}function wG(e){return Bt(e.x)/Bt(e.y)}function UG(e,s){return e.translate===s.translate&&e.scale===s.scale&&e.originPoint===s.originPoint}class l${constructor(){this.members=[]}add(s){cN(this.members,s),s.scheduleRender()}remove(s){if(mN(this.members,s),s===this.prevLead&&(this.prevLead=void 0),s===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(s){const a=this.members.findIndex(i=>s===i);if(a===0)return!1;let n;for(let i=a;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){n=r;break}}return n?(this.promote(n),!0):!1}promote(s,a){const n=this.lead;if(s!==n&&(this.prevLead=n,this.lead=s,s.show(),n)){n.instance&&n.scheduleRender(),s.scheduleRender(),s.resumeFrom=n,a&&(s.resumeFrom.preserveOpacity=!0),n.snapshot&&(s.snapshot=n.snapshot,s.snapshot.latestValues=n.animationValues||n.latestValues),s.root&&s.root.isUpdating&&(s.isLayoutDirty=!0);const{crossfade:i}=s.options;i===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(s=>{const{options:a,resumingFrom:n}=s;a.onExitComplete&&a.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(s=>{s.instance&&s.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function u$(e,s,a){let n="";const i=e.x.translate/s.x,r=e.y.translate/s.y,o=a?.z||0;if((i||r||o)&&(n=`translate3d(${i}px, ${r}px, ${o}px) `),(s.x!==1||s.y!==1)&&(n+=`scale(${1/s.x}, ${1/s.y}) `),a){const{transformPerspective:c,rotate:m,rotateX:d,rotateY:b,skewX:f,skewY:h}=a;c&&(n=`perspective(${c}px) ${n}`),m&&(n+=`rotate(${m}deg) `),d&&(n+=`rotateX(${d}deg) `),b&&(n+=`rotateY(${b}deg) `),f&&(n+=`skewX(${f}deg) `),h&&(n+=`skewY(${h}deg) `)}const l=e.x.scale*s.x,u=e.y.scale*s.y;return(l!==1||u!==1)&&(n+=`scale(${l}, ${u})`),n||"none"}const rg=["","X","Y","Z"],c$=1e3;let m$=0;function og(e,s,a,n){const{latestValues:i}=s;i[e]&&(a[e]=i[e],s.setStaticValue(e,0),n&&(n[e]=0))}function yw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:s}=e.options;if(!s)return;const a=lw(s);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",Is,!(i||r))}const{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&yw(n)}function Cw({attachResizeListener:e,defaultParent:s,measureScroll:a,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(o={},l=s?.()){this.id=m$++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(f$),this.nodes.forEach(v$),this.nodes.forEach(N$),this.nodes.forEach(g$)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new XI)}addEventListener(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new bN),this.eventHandlers.get(o).add(l)}notifyListeners(o,...l){const u=this.eventHandlers.get(o);u&&u.notify(...l)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=Mj(o)&&!eO(o),this.instance=o;const{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(u||l)&&(this.isLayoutDirty=!0),e){let m,d=0;const b=()=>this.root.updateBlockedByResize=!1;Is.read(()=>{d=window.innerWidth}),e(o,()=>{const f=window.innerWidth;f!==d&&(d=f,this.root.updateBlockedByResize=!0,m&&m(),m=JI(b,250),Sm.hasAnimatedSinceResize&&(Sm.hasAnimatedSinceResize=!1,this.nodes.forEach(PG)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:d,hasRelativeLayoutChanged:b,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const h=this.options.transition||c.getDefaultTransition()||C$,{onLayoutAnimationStart:g,onLayoutAnimationComplete:p}=c.getProps(),x=!this.targetLayout||!Gw(this.targetLayout,f),D=!d&&b;if(this.options.layoutRoot||this.resumeFrom||D||d&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const N={...LN(h,"layout"),onPlay:g,onComplete:p};(c.shouldReduceMotion||this.options.layoutRoot)&&(N.delay=0,N.type=!1),this.startAnimation(N),this.setAnimationOrigin(m,D)}else d||PG(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=f})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Pi(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(x$),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&yw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let m=0;m<this.path.length;m++){const d=this.path[m];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:l,layout:u}=this.options;if(l===void 0&&!u)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(HG);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(VG);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(h$),this.nodes.forEach(d$),this.nodes.forEach(b$)):this.nodes.forEach(VG),this.clearAllSnapshots();const l=Xt.now();Et.delta=ti(0,1e3/60,l-Et.timestamp),Et.timestamp=l,Et.isProcessing=!0,Yf.update.process(Et),Yf.preRender.process(Et),Yf.render.process(Et),Et.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,wN.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(p$),this.sharedNodes.forEach(D$)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Is.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Is.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Bt(this.snapshot.measuredBox.x)&&!Bt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u<this.path.length;u++)this.path[u].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=et(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(l=!1),l&&this.instance){const u=n(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:u,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:u}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!Dw(this.projectionDelta),u=this.getTransformTemplate(),c=u?u(this.latestValues,""):void 0,m=c!==this.prevTransformTemplateValue;o&&this.instance&&(l||Ji(this.latestValues)||m)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const l=this.measurePageBox();let u=this.removeElementScroll(l);return o&&(u=this.removeTransform(u)),k$(u),{animationId:this.root.animationId,measuredBox:l,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:o}=this.options;if(!o)return et();const l=o.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(E$))){const{scroll:c}=this.root;c&&(go(l.x,c.offset.x),go(l.y,c.offset.y))}return l}removeElementScroll(o){const l=et();if(ka(l,o),this.scroll?.wasRoot)return l;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:m,options:d}=c;c!==this.root&&m&&d.layoutScroll&&(m.wasRoot&&ka(l,o),go(l.x,m.offset.x),go(l.y,m.offset.y))}return l}applyTransform(o,l=!1){const u=et();ka(u,o);for(let c=0;c<this.path.length;c++){const m=this.path[c];!l&&m.options.layoutScroll&&m.scroll&&m!==m.root&&po(u,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),Ji(m.latestValues)&&po(u,m.latestValues)}return Ji(this.latestValues)&&po(u,this.latestValues),u}removeTransform(o){const l=et();ka(l,o);for(let u=0;u<this.path.length;u++){const c=this.path[u];if(!c.instance||!Ji(c.latestValues))continue;Ap(c.latestValues)&&c.updateSnapshot();const m=et(),d=c.measurePageBox();ka(m,d),kG(l,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,m)}return Ji(this.latestValues)&&kG(l,this.latestValues),l}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Et.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==l;if(!(o||u&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:m,layoutId:d}=this.options;if(!(!this.layout||!(m||d))){if(this.resolvedRelativeTargetAt=Et.timestamp,!this.targetDelta&&!this.relativeTarget){const b=this.getClosestProjectingParent();b&&b.layout&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=et(),this.relativeTargetOrigin=et(),hu(this.relativeTargetOrigin,this.layout.layoutBox,b.layout.layoutBox),ka(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=et(),this.targetWithTransforms=et()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),VI(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ka(this.target,this.layout.layoutBox),tw(this.target,this.targetDelta)):ka(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const b=this.getClosestProjectingParent();b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=et(),this.relativeTargetOrigin=et(),hu(this.relativeTargetOrigin,this.target,b.target),ka(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Ap(this.parent.latestValues)||sw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const o=this.getLead(),l=!!this.resumingFrom||this!==o;let u=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===Et.timestamp&&(u=!1),u)return;const{layout:c,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||m))return;ka(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,b=this.treeScale.y;BO(this.layoutCorrected,this.treeScale,this.path,l),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=et());const{target:f}=o;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(GG(this.prevProjectionDelta.x,this.projectionDelta.x),GG(this.prevProjectionDelta.y,this.projectionDelta.y)),pu(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==b||!UG(this.projectionDelta.x,this.prevProjectionDelta.x)||!UG(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",f))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){if(this.options.visualElement?.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ho(),this.projectionDelta=ho(),this.projectionDeltaWithTransform=ho()}setAnimationOrigin(o,l=!1){const u=this.snapshot,c=u?u.latestValues:{},m={...this.latestValues},d=ho();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const b=et(),f=u?u.source:void 0,h=this.layout?this.layout.source:void 0,g=f!==h,p=this.getStack(),x=!p||p.members.length<=1,D=!!(g&&!x&&this.options.crossfade===!0&&!this.path.some(y$));this.animationProgress=0;let N;this.mixTargetDelta=C=>{const y=C/1e3;AG(d.x,o.x,y),AG(d.y,o.y,y),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(hu(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),G$(this.relativeTarget,this.relativeTargetOrigin,b,y),N&&o$(this.relativeTarget,N)&&(this.isProjectionDirty=!1),N||(N=et()),ka(N,this.relativeTarget)),g&&(this.animationValues=m,s$(m,c,this.latestValues,y,D,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Pi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Is.update(()=>{Sm.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ro(0)),this.currentAnimation=QI(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),o.onUpdate&&o.onUpdate(l)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(c$),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:u,layout:c,latestValues:m}=o;if(!(!l||!u||!c)){if(this!==o&&this.layout&&c&&kw(this.options.animationType,this.layout.layoutBox,c.layoutBox)){u=this.target||et();const d=Bt(this.layout.layoutBox.x);u.x.min=o.target.x.min,u.x.max=u.x.min+d;const b=Bt(this.layout.layoutBox.y);u.y.min=o.target.y.min,u.y.max=u.y.min+b}ka(l,u),po(l,m),pu(this.projectionDeltaWithTransform,this.layoutCorrected,l,m)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new l$),this.sharedNodes.get(o).add(l);const c=l.options.initialPromotionConfig;l.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){const{layoutId:o}=this.options;return o?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:o}=this.options;return o?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:u}={}){const c=this.getStack();c&&c.promote(this,u),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:u}=o;if((u.z||u.rotate||u.rotateX||u.rotateY||u.rotateZ||u.skewX||u.skewY)&&(l=!0),!l)return;const c={};u.z&&og("z",o,c,this.animationValues);for(let m=0;m<rg.length;m++)og(`rotate${rg[m]}`,o,c,this.animationValues),og(`skew${rg[m]}`,o,c,this.animationValues);o.render();for(const m in c)o.setStaticValue(m,c[m]),this.animationValues&&(this.animationValues[m]=c[m]);o.scheduleRender()}applyProjectionStyles(o,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const u=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Am(l?.pointerEvents)||"",o.transform=u?u(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Am(l?.pointerEvents)||""),this.hasProjected&&!Ji(this.latestValues)&&(o.transform=u?u({},""):"none",this.hasProjected=!1);return}o.visibility="";const m=c.animationValues||c.latestValues;this.applyTransformsToTarget();let d=u$(this.projectionDeltaWithTransform,this.treeScale,m);u&&(d=u(m,d)),o.transform=d;const{x:b,y:f}=this.projectionDelta;o.transformOrigin=`${b.origin*100}% ${f.origin*100}% 0`,c.animationValues?o.opacity=c===this?m.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:o.opacity=c===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const h in _u){if(m[h]===void 0)continue;const{correct:g,applyTo:p,isCSSVariable:x}=_u[h],D=d==="none"?m[h]:g(m[h],c);if(p){const N=p.length;for(let C=0;C<N;C++)o[p[C]]=D}else x?this.options.visualElement.renderState.vars[h]=D:o[h]=D}this.options.layoutId&&(o.pointerEvents=c===this?Am(l?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>o.currentAnimation?.stop()),this.root.nodes.forEach(HG),this.root.sharedNodes.clear()}}}function d$(e){e.updateLayout()}function b$(e){const s=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&s&&e.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:n}=e.layout,{animationType:i}=e.options,r=s.source!==e.layout.source;i==="size"?wa(m=>{const d=r?s.measuredBox[m]:s.layoutBox[m],b=Bt(d);d.min=a[m].min,d.max=d.min+b}):kw(i,s.layoutBox,a)&&wa(m=>{const d=r?s.measuredBox[m]:s.layoutBox[m],b=Bt(a[m]);d.max=d.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[m].max=e.relativeTarget[m].min+b)});const o=ho();pu(o,a,s.layoutBox);const l=ho();r?pu(l,e.applyTransform(n,!0),s.measuredBox):pu(l,a,s.layoutBox);const u=!Dw(o);let c=!1;if(!e.resumeFrom){const m=e.getClosestProjectingParent();if(m&&!m.resumeFrom){const{snapshot:d,layout:b}=m;if(d&&b){const f=et();hu(f,s.layoutBox,d.layoutBox);const h=et();hu(h,a,b.layoutBox),Gw(f,h)||(c=!0),m.options.layoutRoot&&(e.relativeTarget=h,e.relativeTargetOrigin=f,e.relativeParent=m)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:s,delta:l,layoutDelta:o,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function f$(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function g$(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function p$(e){e.clearSnapshot()}function HG(e){e.clearMeasurements()}function VG(e){e.isLayoutDirty=!1}function h$(e){const{visualElement:s}=e.options;s&&s.getProps().onBeforeLayoutMeasure&&s.notify("BeforeLayoutMeasure"),e.resetTransform()}function PG(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function v$(e){e.resolveTargetDelta()}function N$(e){e.calcProjection()}function x$(e){e.resetSkewAndRotation()}function D$(e){e.removeLeadSnapshot()}function AG(e,s,a){e.translate=qs(s.translate,0,a),e.scale=qs(s.scale,1,a),e.origin=s.origin,e.originPoint=s.originPoint}function SG(e,s,a,n){e.min=qs(s.min,a.min,n),e.max=qs(s.max,a.max,n)}function G$(e,s,a,n){SG(e.x,s.x,a.x,n),SG(e.y,s.y,a.y,n)}function y$(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const C$={duration:.45,ease:[.4,0,.1,1]},TG=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),_G=TG("applewebkit/")&&!TG("chrome/")?Math.round:Pa;function RG(e){e.min=_G(e.min),e.max=_G(e.max)}function k$(e){RG(e.x),RG(e.y)}function kw(e,s,a){return e==="position"||e==="preserve-aspect"&&!HI(wG(s),wG(a),.2)}function E$(e){return e!==e.root&&e.scroll?.wasRoot}const L$=Cw({attachResizeListener:(e,s)=>Ru(e,"resize",s),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),lg={current:void 0},Ew=Cw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!lg.current){const e=new L$({});e.mount(window),e.setOptions({layoutScroll:!0}),lg.current=e}return lg.current},resetTransform:(e,s)=>{e.style.transform=s!==void 0?s:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),j$={pan:{Feature:WI},drag:{Feature:qI,ProjectionNode:Ew,MeasureLayout:vw}};function MG(e,s,a){const{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover",a==="Start");const i="onHover"+a,r=n[i];r&&Is.postRender(()=>r(s,Vc(s)))}class w$ extends Ti{mount(){const{current:s}=this.node;s&&(this.unmount=YM(s,(a,n)=>(MG(this.node,n,"Start"),i=>MG(this.node,i,"End"))))}unmount(){}}class U$ extends Ti{constructor(){super(...arguments),this.isActive=!1}onFocus(){let s=!1;try{s=this.node.current.matches(":focus-visible")}catch{s=!0}!s||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=wc(Ru(this.node.current,"focus",()=>this.onFocus()),Ru(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function OG(e,s,a){const{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap",a==="Start");const i="onTap"+(a==="End"?"":a),r=n[i];r&&Is.postRender(()=>r(s,Vc(s)))}class H$ extends Ti{mount(){const{current:s}=this.node;s&&(this.unmount=JM(s,(a,n)=>(OG(this.node,n,"Start"),(i,{success:r})=>OG(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Ip=new WeakMap,ug=new WeakMap,V$=e=>{const s=Ip.get(e.target);s&&s(e)},P$=e=>{e.forEach(V$)};function A$({root:e,...s}){const a=e||document;ug.has(a)||ug.set(a,{});const n=ug.get(a),i=JSON.stringify(s);return n[i]||(n[i]=new IntersectionObserver(P$,{root:e,...s})),n[i]}function S$(e,s,a){const n=A$(s);return Ip.set(e,a),n.observe(e),()=>{Ip.delete(e),n.unobserve(e)}}const T$={some:0,all:1};class _$ extends Ti{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:s={}}=this.node.getProps(),{root:a,margin:n,amount:i="some",once:r}=s,o={root:a?a.current:void 0,rootMargin:n,threshold:typeof i=="number"?i:T$[i]},l=u=>{const{isIntersecting:c}=u;if(this.isInView===c||(this.isInView=c,r&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:m,onViewportLeave:d}=this.node.getProps(),b=c?m:d;b&&b(u)};return S$(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:s,prevProps:a}=this.node;["amount","margin","root"].some(R$(s,a))&&this.startObserver()}unmount(){}}function R$({viewport:e={}},{viewport:s={}}={}){return a=>e[a]!==s[a]}const M$={inView:{Feature:_$},tap:{Feature:H$},focus:{Feature:U$},hover:{Feature:w$}},O$={layout:{ProjectionNode:Ew,MeasureLayout:vw}},I$={...kI,...M$,...j$,...O$},Rs=IO(I$,eI),$$=rn("relative flex flex-col gap-4 p-6 rounded-2xl border transition-all duration-300 ease-in-out group cursor-pointer",{variants:{variant:{default:"bg-white border-gray-100 shadow-sm hover:shadow-lg hover:-translate-y-1",emerald:"bg-emerald-50/60 border-emerald-100 shadow-sm hover:shadow-lg hover:-translate-y-1 hover:bg-emerald-50",gradient:"bg-gradient-to-br from-emerald-50 to-green-50 border-emerald-200 shadow-sm hover:shadow-lg hover:-translate-y-1"}},defaultVariants:{variant:"default"}}),Lw=v.forwardRef(({className:e,variant:s,title:a,description:n,icon:i,delay:r=0,...o},l)=>t.jsxDEV(Rs.div,{ref:l,className:me($$({variant:s,className:e})),initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:r},whileHover:{scale:1.02,transition:{duration:.2}},...o,children:[t.jsxDEV(Rs.div,{className:"flex h-14 w-14 items-center justify-center rounded-full bg-emerald-700 text-white",whileHover:{scale:1.1,rotate:5,transition:{duration:.2}},children:t.jsxDEV(i,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/feature-card.tsx",lineNumber:54,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/feature-card.tsx",lineNumber:46,columnNumber:9},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900 group-hover:text-emerald-800 transition-colors",children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/feature-card.tsx",lineNumber:58,columnNumber:11},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground leading-relaxed",children:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/feature-card.tsx",lineNumber:61,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/feature-card.tsx",lineNumber:57,columnNumber:9},void 0),t.jsxDEV(Rs.div,{className:"absolute inset-0 rounded-2xl bg-gradient-to-br from-emerald-500/5 to-green-500/5 opacity-0 group-hover:opacity-100 transition-opacity duration-300",initial:{opacity:0},whileHover:{opacity:1}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/feature-card.tsx",lineNumber:67,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/feature-card.tsx",lineNumber:34,columnNumber:7},void 0));Lw.displayName="FeatureCard";const F$=rn("relative overflow-hidden rounded-2xl border-0 shadow-lg transition-all duration-500 ease-in-out group cursor-pointer",{variants:{variant:{default:"bg-white",gradient:"bg-gradient-to-br from-emerald-50 to-green-50"}},defaultVariants:{variant:"default"}}),jw=v.forwardRef(({className:e,variant:s,title:a,description:n,image:i,href:r,delay:o=0,...l},u)=>t.jsxDEV(Rs.div,{ref:u,className:me(F$({variant:s,className:e})),initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:o},whileHover:{y:-8,transition:{duration:.3}},...l,children:[t.jsxDEV(Rs.div,{className:"h-56 w-full overflow-hidden",whileHover:{scale:1.05},transition:{duration:.4},children:[t.jsxDEV("img",{src:i,alt:a,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-110"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/service-card.tsx",lineNumber:53,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-t from-black/20 via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/service-card.tsx",lineNumber:59,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/service-card.tsx",lineNumber:48,columnNumber:9},void 0),t.jsxDEV("div",{className:"space-y-3 p-4 md:space-y-4 md:p-6",children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900 group-hover:text-emerald-800 transition-colors",children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/service-card.tsx",lineNumber:63,columnNumber:11},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground leading-relaxed",children:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/service-card.tsx",lineNumber:66,columnNumber:11},void 0),t.jsxDEV(Rs.div,{className:"flex items-center text-emerald-700 font-semibold text-sm",whileHover:{x:5},transition:{duration:.2},children:[t.jsxDEV("span",{children:"Learn more"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/service-card.tsx",lineNumber:75,columnNumber:13},void 0),t.jsxDEV(_e,{className:"ml-2 h-4 w-4 transition-transform group-hover:translate-x-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/service-card.tsx",lineNumber:76,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/service-card.tsx",lineNumber:70,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/service-card.tsx",lineNumber:62,columnNumber:9},void 0),t.jsxDEV(Rs.div,{className:"absolute inset-0 rounded-2xl border-2 border-emerald-200 opacity-0 group-hover:opacity-100 transition-opacity duration-300",initial:{scale:.95},whileHover:{scale:1}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/service-card.tsx",lineNumber:81,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/service-card.tsx",lineNumber:35,columnNumber:7},void 0));jw.displayName="ServiceCard";const B$=rn("relative flex flex-col items-center rounded-3xl bg-white p-6 md:p-8 text-center shadow-lg transition-all duration-300 ease-in-out group cursor-pointer",{variants:{variant:{default:"hover:shadow-xl hover:-translate-y-2",gradient:"bg-gradient-to-br from-emerald-50 to-green-50 hover:shadow-xl hover:-translate-y-2"}},defaultVariants:{variant:"default"}}),ww=v.forwardRef(({className:e,variant:s,title:a,description:n,icon:i,stepNumber:r,delay:o=0,...l},u)=>t.jsxDEV(Rs.div,{ref:u,className:me(B$({variant:s,className:e})),initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:o},whileHover:{scale:1.05,transition:{duration:.2}},...l,children:[t.jsxDEV(Rs.div,{className:"absolute -top-3 -right-3 flex h-8 w-8 items-center justify-center rounded-full bg-emerald-700 text-white text-sm font-bold shadow-lg",whileHover:{scale:1.2,rotate:10,transition:{duration:.2}},children:r},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/step-card.tsx",lineNumber:47,columnNumber:9},void 0),t.jsxDEV(Rs.div,{className:"mb-5 flex h-20 w-20 items-center justify-center rounded-full bg-emerald-700 text-white shadow-lg",whileHover:{scale:1.1,rotate:5,transition:{duration:.3}},initial:{scale:0},animate:{scale:1},transition:{duration:.5,delay:o+.2},children:t.jsxDEV(i,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/step-card.tsx",lineNumber:70,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/step-card.tsx",lineNumber:59,columnNumber:9},void 0),t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900 group-hover:text-emerald-800 transition-colors",children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/step-card.tsx",lineNumber:74,columnNumber:11},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground leading-relaxed",children:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/step-card.tsx",lineNumber:77,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/step-card.tsx",lineNumber:73,columnNumber:9},void 0),t.jsxDEV(Rs.div,{className:"absolute -right-6 top-1/2 h-0.5 w-12 bg-emerald-200 hidden md:block",initial:{scaleX:0},animate:{scaleX:1},transition:{duration:.8,delay:o+.5}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/step-card.tsx",lineNumber:83,columnNumber:9},void 0),t.jsxDEV(Rs.div,{className:"absolute inset-0 rounded-3xl bg-gradient-to-br from-emerald-500/10 to-green-500/10 opacity-0 group-hover:opacity-100 transition-opacity duration-300",initial:{opacity:0},whileHover:{opacity:1}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/step-card.tsx",lineNumber:91,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/step-card.tsx",lineNumber:34,columnNumber:7},void 0));ww.displayName="StepCard";const q$=rn("relative flex flex-col gap-3 md:gap-4 rounded-3xl border border-emerald-100 bg-emerald-50/60 p-5 md:p-6 transition-all duration-300 ease-in-out group cursor-pointer",{variants:{variant:{default:"hover:bg-emerald-50 hover:border-emerald-200 hover:shadow-lg",gradient:"bg-gradient-to-br from-emerald-50 to-green-50 hover:from-emerald-100 hover:to-green-100"}},defaultVariants:{variant:"default"}}),Uw=v.forwardRef(({className:e,variant:s,title:a,description:n,actionLabel:i,icon:r,href:o,delay:l=0,...u},c)=>t.jsxDEV(Rs.div,{ref:c,className:me(q$({variant:s,className:e})),initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:l},whileHover:{scale:1.02,y:-2,transition:{duration:.2}},...u,children:[t.jsxDEV(Rs.div,{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white shadow-md",whileHover:{scale:1.1,rotate:5,transition:{duration:.2}},children:t.jsxDEV(r,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:58,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:50,columnNumber:9},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900 group-hover:text-emerald-800 transition-colors",children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:62,columnNumber:11},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground leading-relaxed",children:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:65,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:61,columnNumber:9},void 0),t.jsxDEV(Rs.div,{className:"flex items-center text-emerald-700 font-semibold text-sm group-hover:text-emerald-800 transition-colors",whileHover:{x:5},transition:{duration:.2},children:[t.jsxDEV("span",{children:i},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:76,columnNumber:11},void 0),t.jsxDEV(Rs.div,{animate:{x:[0,3,0]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"},children:t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:81,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:77,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:71,columnNumber:9},void 0),t.jsxDEV(Rs.div,{className:"absolute inset-0 rounded-3xl bg-gradient-to-br from-emerald-500/5 to-green-500/5 opacity-0 group-hover:opacity-100 transition-opacity duration-300",initial:{opacity:0},whileHover:{opacity:1}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:86,columnNumber:9},void 0),t.jsxDEV(Rs.div,{className:"absolute inset-0 rounded-3xl bg-emerald-500/20 scale-0 group-active:scale-100 transition-transform duration-300",initial:{scale:0},whileTap:{scale:1}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:93,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/contact-card.tsx",lineNumber:36,columnNumber:7},void 0));Uw.displayName="ContactCard";const W$=rn("relative flex items-center justify-between rounded-2xl border border-emerald-100 bg-emerald-50/80 px-5 py-4 transition-all duration-300 ease-in-out group cursor-pointer",{variants:{variant:{default:"hover:bg-emerald-50 hover:border-emerald-200 hover:shadow-md",expanded:"bg-emerald-100 border-emerald-200 shadow-md"}},defaultVariants:{variant:"default"}}),Hw=v.forwardRef(({className:e,variant:s,question:a,answer:n,isExpanded:i=!1,onToggle:r,delay:o=0,...l},u)=>{const[c,m]=v.useState(i),d=()=>{m(!c),r?.()};return t.jsxDEV(Rs.div,{ref:u,className:"w-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.4,delay:o},children:[t.jsxDEV(Rs.div,{className:me(W$({variant:c?"expanded":"default",className:e})),onClick:d,whileHover:{scale:1.01,transition:{duration:.2}},whileTap:{scale:.98},...l,children:[t.jsxDEV("span",{className:"text-sm font-medium text-emerald-900 group-hover:text-emerald-800 transition-colors pr-4",children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:59,columnNumber:11},void 0),t.jsxDEV(Rs.div,{animate:{rotate:c?180:0},transition:{duration:.3},className:"flex-shrink-0",children:t.jsxDEV(cb,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:68,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:63,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:49,columnNumber:9},void 0),t.jsxDEV(uO,{children:c&&n&&t.jsxDEV(Rs.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"overflow-hidden",children:t.jsxDEV(Rs.div,{className:"px-5 py-4 bg-emerald-50/50 border-l-4 border-emerald-200",initial:{x:-20,opacity:0},animate:{x:0,opacity:1},transition:{duration:.3,delay:.1},children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground leading-relaxed",children:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:87,columnNumber:17},void 0),t.jsxDEV(Rs.div,{className:"flex items-center text-emerald-700 font-semibold text-xs mt-3 group",whileHover:{x:5},transition:{duration:.2},children:[t.jsxDEV("span",{children:"Learn more"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:97,columnNumber:19},void 0),t.jsxDEV(_e,{className:"ml-1 h-3 w-3 transition-transform group-hover:translate-x-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:98,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:92,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:81,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:74,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:72,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/faq-card.tsx",lineNumber:42,columnNumber:7},void 0)});Hw.displayName="FaqCard";const z$=[{label:"Why choose us",href:"#reasons"},{label:"How we help",href:"#help"},{label:"Options to consider",href:"#options"},{label:"Get started",href:"#get-started"},{label:"Next steps",href:"#next-steps"},{label:"FAQs",href:"#faqs"},{label:"Contact us",href:"/contact"}],K$=[{title:"Expert guidance",description:"Get access to experienced business bankers who understand your industry and growth challenges.",icon:bl},{title:"Industry insights",description:"Stay ahead with market intelligence, economic updates, and strategic advice for your sector.",icon:gl},{title:"Fast approvals",description:"Save time with streamlined lending processes and quick decisions on business finance needs.",icon:xa},{title:"Dedicated support",description:"Work with a relationship manager who understands your business goals and stays with you long-term.",icon:Cs}],Y$=[{title:"Business banking solutions",description:"Comprehensive accounts, cash management, and payment solutions designed for modern businesses.",image:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",href:"/business/banking"},{title:"Growth financing",description:"Flexible lending options, equipment finance, and working capital solutions to fuel expansion.",image:"https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",href:"/business/loans"},{title:"Cash flow management",description:"Optimize working capital with treasury services, merchant facilities, and strategic financial tools.",image:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",href:"/business/deposits"}],Q$=[{title:"Business accounts",description:"Transaction accounts, savings accounts, and term deposits designed for business cash flow needs."},{title:"Commercial lending",description:"Property finance, equipment loans, and working capital solutions for business growth."},{title:"Merchant services",description:"Payment processing, EFTPOS solutions, and e-commerce integration for seamless transactions."},{title:"Specialized services",description:"Industry-specific banking solutions for professionals, franchises, and enterprise clients."}],Z$=[{title:"01. Assess",description:"Review your business needs and create a financial strategy that supports your growth objectives.",icon:Se},{title:"02. Structure",description:"Design the right combination of accounts, lending, and services for your specific requirements.",icon:fl},{title:"03. Partner",description:"Work with your business banker who provides ongoing support and adapts to your changing needs.",icon:Ar}],X$=[{title:"Find a specialist",description:"Connect with a Gates Capital Banking Business Manager for personalized banking solutions.",actionLabel:"Find a specialist",icon:Ss,href:"/contact"},{title:"Call us",description:"Speak with business banking experts Monday to Friday, 8am-6pm.",actionLabel:"+48 732 123 213",icon:ss,href:"tel:+48732123213"},{title:"Email us",description:"Share your business banking requirements and receive a response within one business day.",actionLabel:"info@gatescbank.com",icon:Ss,href:"mailto:info@gatescbank.com"}],J$=[{question:"How do I open a business account with Gates Capital Banking?",answer:"Opening a business account is simple. Contact our business banking team, provide your business documentation, and we'll guide you through our streamlined application process. Most accounts are approved within 2-3 business days."},{question:"What lending options are available for business expansion?",answer:"We offer flexible commercial lending including term loans, lines of credit, equipment financing, and property loans. Our relationship managers work with you to structure the right financing solution for your growth plans."},{question:"How can I integrate payment solutions with my business?",answer:"Our merchant services team provides seamless integration of payment processing, EFTPOS terminals, and e-commerce solutions. We offer competitive rates and 24/7 technical support for all payment systems."},{question:"What support do you offer for cash flow management?",answer:"We provide comprehensive cash flow management tools including online banking, mobile apps, treasury services, and dedicated relationship managers who help optimize your working capital and financial operations."}],eF=["Register for business internet banking","Log in to business internet banking","Download the Gates Capital Banking Business app","I need help with my business password"],sF=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:196,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:200,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto grid gap-8 md:gap-12 px-4 py-12 md:py-16 lg:grid-cols-[minmax(0,1fr)_480px] lg:items-center lg:py-24",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Business banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:203,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Banking solutions built for business success."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:206,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Access comprehensive banking services, expert guidance, and flexible financing options designed to help your business thrive in today's competitive market."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:209,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:215,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:214,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Find an expert"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:218,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:217,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:213,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:202,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1551836022-4c4c79ecde51?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80",alt:"Team collaborating in a modern business meeting",className:"h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:223,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:230,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:222,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:201,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:199,columnNumber:9},void 0),t.jsxDEV(Ts,{items:z$,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:235,columnNumber:9},void 0),t.jsxDEV("section",{id:"reasons",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why businesses choose Gatesbank"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:240,columnNumber:15},void 0),t.jsxDEV("div",{className:"mx-auto mt-4 h-1 w-24 rounded-full bg-amber-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:243,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:239,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-2",children:K$.map(({title:e,description:s,icon:a},n)=>t.jsxDEV(Lw,{title:e,description:s,icon:a,variant:"emerald",delay:n*.1},e,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:247,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:245,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:238,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:237,columnNumber:9},void 0),t.jsxDEV("section",{id:"help",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How can we support your business?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:263,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"From startups to established enterprises, we provide comprehensive banking solutions tailored to your business size, industry, and growth stage."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:266,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:262,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-3",children:Y$.map((e,s)=>t.jsxDEV(jw,{title:e.title,description:e.description,image:e.image,href:e.href,variant:"gradient",delay:s*.15},e.title,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:273,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:271,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:261,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:260,columnNumber:9},void 0),t.jsxDEV("section",{id:"options",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-8 md:gap-12 px-4 lg:grid-cols-[1fr_1.2fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Banking options for every business"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:290,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Choose from our comprehensive range of business banking solutions designed to support your operations, manage cash flow, and fuel sustainable growth."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:293,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Speak to an expert"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:298,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:297,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:289,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4 rounded-3xl border border-emerald-100 bg-emerald-50/40 p-6",children:Q$.map(e=>t.jsxDEV("div",{className:"flex items-start gap-4 rounded-2xl border border-transparent bg-white/70 p-4 md:p-5 transition hover:border-emerald-200 hover:bg-white",children:[t.jsxDEV(Sr,{className:"mt-1 h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:307,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:309,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:310,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:308,columnNumber:19},void 0),t.jsxDEV(_e,{className:"ml-auto mt-1 h-5 w-5 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:312,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:303,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:301,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:288,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:287,columnNumber:9},void 0),t.jsxDEV("section",{id:"get-started",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-8 md:space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Get started with business banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:322,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:321,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-3",children:Z$.map(({title:e,description:s,icon:a},n)=>t.jsxDEV(ww,{title:e,description:s,icon:a,stepNumber:n+1,variant:"gradient",delay:n*.2},e,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:328,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:326,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:320,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:319,columnNumber:9},void 0),t.jsxDEV("section",{id:"next-steps",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Next steps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:345,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:344,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-3",children:X$.map(({title:e,description:s,actionLabel:a,icon:n,href:i},r)=>t.jsxDEV(Uw,{title:e,description:s,actionLabel:a,icon:n,href:i,variant:"gradient",delay:r*.1},e,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:349,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:347,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:343,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:342,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold text-emerald-900 md:text-3xl",children:"Frequently asked questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:367,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:J$.map((e,s)=>t.jsxDEV(Hw,{question:e.question,answer:e.answer,delay:s*.1},e.question,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:372,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:370,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:366,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4 md:space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Manage your business accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:382,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Quick access to business banking tools and support whenever you need them."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:383,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4",children:eF.map(e=>t.jsxDEV("div",{className:"flex items-center justify-between rounded-2xl border border-white/10 bg-white/10 px-4 py-3 md:px-5 md:py-4",children:[t.jsxDEV("span",{className:"text-sm font-medium",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:392,columnNumber:21},void 0),t.jsxDEV(_e,{className:"h-5 w-5 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:393,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:388,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:386,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:381,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:365,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:364,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Ready to grow your business?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:404,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Whether you're starting up, scaling up, or optimizing operations, our business banking specialists are here to support your journey with expert guidance and tailored solutions."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:407,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:411,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact us today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:414,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:413,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/business/online-banking",children:"Explore online banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:417,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:416,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:412,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:403,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Business banking specialist",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:423,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:422,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:421,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:402,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:401,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:198,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:434,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Business.tsx",lineNumber:195,columnNumber:5},void 0);var Sb="Collapsible",[tF,Vw]=Mt(Sb),[aF,IN]=tF(Sb),Pw=v.forwardRef((e,s)=>{const{__scopeCollapsible:a,open:n,defaultOpen:i,disabled:r,onOpenChange:o,...l}=e,[u,c]=va({prop:n,defaultProp:i??!1,onChange:o,caller:Sb});return q.jsx(aF,{scope:a,disabled:r,contentId:Xa(),open:u,onOpenToggle:v.useCallback(()=>c(m=>!m),[c]),children:q.jsx(Ve.div,{"data-state":FN(u),"data-disabled":r?"":void 0,...l,ref:s})})});Pw.displayName=Sb;var Aw="CollapsibleTrigger",Sw=v.forwardRef((e,s)=>{const{__scopeCollapsible:a,...n}=e,i=IN(Aw,a);return q.jsx(Ve.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":FN(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...n,ref:s,onClick:je(e.onClick,i.onOpenToggle)})});Sw.displayName=Aw;var $N="CollapsibleContent",Tw=v.forwardRef((e,s)=>{const{forceMount:a,...n}=e,i=IN($N,e.__scopeCollapsible);return q.jsx(nn,{present:a||i.open,children:({present:r})=>q.jsx(nF,{...n,ref:s,present:r})})});Tw.displayName=$N;var nF=v.forwardRef((e,s)=>{const{__scopeCollapsible:a,present:n,children:i,...r}=e,o=IN($N,a),[l,u]=v.useState(n),c=v.useRef(null),m=ns(s,c),d=v.useRef(0),b=d.current,f=v.useRef(0),h=f.current,g=o.open||l,p=v.useRef(g),x=v.useRef(void 0);return v.useEffect(()=>{const D=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(D)},[]),tt(()=>{const D=c.current;if(D){x.current=x.current||{transitionDuration:D.style.transitionDuration,animationName:D.style.animationName},D.style.transitionDuration="0s",D.style.animationName="none";const N=D.getBoundingClientRect();d.current=N.height,f.current=N.width,p.current||(D.style.transitionDuration=x.current.transitionDuration,D.style.animationName=x.current.animationName),u(n)}},[o.open,n]),q.jsx(Ve.div,{"data-state":FN(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!g,...r,ref:m,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":h?`${h}px`:void 0,...e.style},children:g&&i})});function FN(e){return e?"open":"closed"}var iF=Pw,rF=Sw,oF=Tw,lF=v.createContext(void 0);function Pc(e){const s=v.useContext(lF);return e||s||"ltr"}var ln="Accordion",uF=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[BN,cF,mF]=ib(ln),[Tb,u1e]=Mt(ln,[mF,Vw]),qN=Vw(),_w=S.forwardRef((e,s)=>{const{type:a,...n}=e,i=n,r=n;return q.jsx(BN.Provider,{scope:e.__scopeAccordion,children:a==="multiple"?q.jsx(gF,{...r,ref:s}):q.jsx(fF,{...i,ref:s})})});_w.displayName=ln;var[Rw,dF]=Tb(ln),[Mw,bF]=Tb(ln,{collapsible:!1}),fF=S.forwardRef((e,s)=>{const{value:a,defaultValue:n,onValueChange:i=()=>{},collapsible:r=!1,...o}=e,[l,u]=va({prop:a,defaultProp:n??"",onChange:i,caller:ln});return q.jsx(Rw,{scope:e.__scopeAccordion,value:S.useMemo(()=>l?[l]:[],[l]),onItemOpen:u,onItemClose:S.useCallback(()=>r&&u(""),[r,u]),children:q.jsx(Mw,{scope:e.__scopeAccordion,collapsible:r,children:q.jsx(Ow,{...o,ref:s})})})}),gF=S.forwardRef((e,s)=>{const{value:a,defaultValue:n,onValueChange:i=()=>{},...r}=e,[o,l]=va({prop:a,defaultProp:n??[],onChange:i,caller:ln}),u=S.useCallback(m=>l((d=[])=>[...d,m]),[l]),c=S.useCallback(m=>l((d=[])=>d.filter(b=>b!==m)),[l]);return q.jsx(Rw,{scope:e.__scopeAccordion,value:o,onItemOpen:u,onItemClose:c,children:q.jsx(Mw,{scope:e.__scopeAccordion,collapsible:!0,children:q.jsx(Ow,{...r,ref:s})})})}),[pF,_b]=Tb(ln),Ow=S.forwardRef((e,s)=>{const{__scopeAccordion:a,disabled:n,dir:i,orientation:r="vertical",...o}=e,l=S.useRef(null),u=ns(l,s),c=cF(a),d=Pc(i)==="ltr",b=je(e.onKeyDown,f=>{if(!uF.includes(f.key))return;const h=f.target,g=c().filter(E=>!E.ref.current?.disabled),p=g.findIndex(E=>E.ref.current===h),x=g.length;if(p===-1)return;f.preventDefault();let D=p;const N=0,C=x-1,y=()=>{D=p+1,D>C&&(D=N)},G=()=>{D=p-1,D<N&&(D=C)};switch(f.key){case"Home":D=N;break;case"End":D=C;break;case"ArrowRight":r==="horizontal"&&(d?y():G());break;case"ArrowDown":r==="vertical"&&y();break;case"ArrowLeft":r==="horizontal"&&(d?G():y());break;case"ArrowUp":r==="vertical"&&G();break}const k=D%x;g[k].ref.current?.focus()});return q.jsx(pF,{scope:a,disabled:n,direction:i,orientation:r,children:q.jsx(BN.Slot,{scope:a,children:q.jsx(Ve.div,{...o,"data-orientation":r,ref:u,onKeyDown:n?void 0:b})})})}),Xm="AccordionItem",[hF,WN]=Tb(Xm),Iw=S.forwardRef((e,s)=>{const{__scopeAccordion:a,value:n,...i}=e,r=_b(Xm,a),o=dF(Xm,a),l=qN(a),u=Xa(),c=n&&o.value.includes(n)||!1,m=r.disabled||e.disabled;return q.jsx(hF,{scope:a,open:c,disabled:m,triggerId:u,children:q.jsx(iF,{"data-orientation":r.orientation,"data-state":zw(c),...l,...i,ref:s,disabled:m,open:c,onOpenChange:d=>{d?o.onItemOpen(n):o.onItemClose(n)}})})});Iw.displayName=Xm;var $w="AccordionHeader",Fw=S.forwardRef((e,s)=>{const{__scopeAccordion:a,...n}=e,i=_b(ln,a),r=WN($w,a);return q.jsx(Ve.h3,{"data-orientation":i.orientation,"data-state":zw(r.open),"data-disabled":r.disabled?"":void 0,...n,ref:s})});Fw.displayName=$w;var $p="AccordionTrigger",Bw=S.forwardRef((e,s)=>{const{__scopeAccordion:a,...n}=e,i=_b(ln,a),r=WN($p,a),o=bF($p,a),l=qN(a);return q.jsx(BN.ItemSlot,{scope:a,children:q.jsx(rF,{"aria-disabled":r.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:r.triggerId,...l,...n,ref:s})})});Bw.displayName=$p;var qw="AccordionContent",Ww=S.forwardRef((e,s)=>{const{__scopeAccordion:a,...n}=e,i=_b(ln,a),r=WN(qw,a),o=qN(a);return q.jsx(oF,{role:"region","aria-labelledby":r.triggerId,"data-orientation":i.orientation,...o,...n,ref:s,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});Ww.displayName=qw;function zw(e){return e?"open":"closed"}var vF=_w,NF=Iw,xF=Fw,Kw=Bw,Yw=Ww;const Ci=vF,In=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(NF,{ref:a,className:me("border-b",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/accordion.tsx",lineNumber:13,columnNumber:3},void 0));In.displayName="AccordionItem";const $n=v.forwardRef(({className:e,children:s,...a},n)=>t.jsxDEV(xF,{className:"flex",children:t.jsxDEV(Kw,{ref:n,className:me("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...a,children:[s,t.jsxDEV(cb,{className:"h-4 w-4 shrink-0 transition-transform duration-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/accordion.tsx",lineNumber:31,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/accordion.tsx",lineNumber:22,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/accordion.tsx",lineNumber:21,columnNumber:3},void 0));$n.displayName=Kw.displayName;const Fn=v.forwardRef(({className:e,children:s,...a},n)=>t.jsxDEV(Yw,{ref:n,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...a,children:t.jsxDEV("div",{className:me("pb-4 pt-0",e),children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/accordion.tsx",lineNumber:46,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/accordion.tsx",lineNumber:41,columnNumber:3},void 0));Fn.displayName=Yw.displayName;const DF="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='1600'%20height='1600'%20viewBox='0%200%201600%201600'%20role='img'%20aria-labelledby='title%20desc'%3e%3ctitle%20id='title'%3eRural%20banking%20advisor%20meeting%3c/title%3e%3cdesc%20id='desc'%3eIllustration%20of%20a%20rural%20advisor%20meeting%20with%20a%20farmer,%20reviewing%20plans%20against%20a%20countryside%20backdrop.%3c/desc%3e%3cdefs%3e%3clinearGradient%20id='purpleSky'%20x1='0%25'%20y1='0%25'%20x2='0%25'%20y2='100%25'%3e%3cstop%20offset='0%25'%20stop-color='%232a1547'%20/%3e%3cstop%20offset='50%25'%20stop-color='%234c2a75'%20/%3e%3cstop%20offset='100%25'%20stop-color='%237c5ca6'%20/%3e%3c/linearGradient%3e%3clinearGradient%20id='field'%20x1='0%25'%20y1='0%25'%20x2='100%25'%20y2='100%25'%3e%3cstop%20offset='0%25'%20stop-color='%23d4c772'%20/%3e%3cstop%20offset='100%25'%20stop-color='%237a6a2b'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3crect%20width='1600'%20height='1600'%20fill='url(%23purpleSky)'%20/%3e%3cellipse%20cx='800'%20cy='1480'%20rx='820'%20ry='320'%20fill='%231f1034'%20opacity='0.5'%20/%3e%3ccircle%20cx='420'%20cy='380'%20r='140'%20fill='%23ffffff'%20opacity='0.18'%20/%3e%3ccircle%20cx='1180'%20cy='420'%20r='200'%20fill='%23ffffff'%20opacity='0.12'%20/%3e%3cpath%20d='M0%201100%20Q%20200%201040%20400%201080%20T%20800%201080%20T%201200%201080%20T%201600%201100%20L%201600%201600%20L%200%201600%20Z'%20fill='url(%23field)'%20/%3e%3cg%20fill='%23332655'%20opacity='0.35'%3e%3cpath%20d='M0%201180%20Q%20200%201120%20400%201160%20T%20800%201160%20T%201200%201160%20T%201600%201180%20L%201600%201600%20L%200%201600%20Z'%20/%3e%3c/g%3e%3cg%20transform='translate(240%20520)'%3e%3crect%20x='320'%20y='420'%20width='480'%20height='240'%20rx='48'%20fill='%23ffffff'%20opacity='0.85'%20/%3e%3crect%20x='360'%20y='460'%20width='400'%20height='160'%20rx='32'%20fill='%23f5f0ff'%20/%3e%3cpath%20d='M0%20640%20q%20200%20-240%20420%20-240%20t%20420%20240'%20fill='%234c2a75'%20opacity='0.85'%20/%3e%3cpath%20d='M200%20400%20q%20120%20-200%20280%20-200%20t%20280%20200'%20fill='%236b47a5'%20opacity='0.9'%20/%3e%3ccircle%20cx='210'%20cy='400'%20r='160'%20fill='%23f7ede2'%20/%3e%3ccircle%20cx='930'%20cy='400'%20r='160'%20fill='%23f7ede2'%20/%3e%3ccircle%20cx='560'%20cy='260'%20r='180'%20fill='%23f7ede2'%20/%3e%3cpath%20d='M180%20420%20q%2080%20-100%20160%20-10%20q%20-10%20120%20-160%20100'%20fill='%23d89a6d'%20/%3e%3cpath%20d='M900%20420%20q%20-80%20-100%20-160%20-10%20q%2010%20120%20160%20100'%20fill='%23d89a6d'%20/%3e%3cpath%20d='M520%20280%20q%20100%20-100%20200%200%20q%20-30%20140%20-200%20140'%20fill='%23d89a6d'%20/%3e%3cellipse%20cx='210'%20cy='660'%20rx='180'%20ry='120'%20fill='%232a1547'%20opacity='0.75'%20/%3e%3cellipse%20cx='930'%20cy='660'%20rx='180'%20ry='120'%20fill='%232a1547'%20opacity='0.75'%20/%3e%3cellipse%20cx='560'%20cy='520'%20rx='320'%20ry='180'%20fill='%234c2a75'%20opacity='0.5'%20/%3e%3crect%20x='460'%20y='520'%20width='200'%20height='160'%20rx='36'%20fill='%234c2a75'%20opacity='0.9'%20/%3e%3crect%20x='500'%20y='560'%20width='120'%20height='80'%20rx='20'%20fill='%232a1547'%20opacity='0.8'%20/%3e%3c/g%3e%3c/svg%3e";var GF="AspectRatio",Qw=v.forwardRef((e,s)=>{const{ratio:a=1/1,style:n,...i}=e;return q.jsx("div",{style:{position:"relative",width:"100%",paddingBottom:`${100/a}%`},"data-radix-aspect-ratio-wrapper":"",children:q.jsx(Ve.div,{...i,ref:s,style:{...n,position:"absolute",top:0,right:0,bottom:0,left:0}})})});Qw.displayName=GF;var yF=Qw;const pr=yF,CF=[{label:"Why choose us",href:"#reasons"},{label:"How we help",href:"#help"},{label:"Options to consider",href:"#options"},{label:"Get started",href:"#get-started"},{label:"Next steps",href:"#next-steps"},{label:"FAQs",href:"#faqs"},{label:"Enquire online",href:"/contact"}],kF=[{title:"Local expertise",description:"Get access to local rural banking experts and specialised lending tools tailored to your region.",icon:bl},{title:"Industry knowledge",description:"We’ll connect you with specialist advisors who understand your industry, from dairy to horticulture.",icon:gl},{title:"Stay informed",description:"Stay informed with rural market insights, seasonal updates, and fresh perspective to support decisions.",icon:Tr},{title:"Fast responses",description:"Save time with rapid decisions on lending needs, supported by a team dedicated to rural customers.",icon:Cs}],EF=[{title:"Starting your business",description:"Build a business plan that brings your rural ideas to life with insights, forecast tools, and pastoral networks.",image:"https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80",alt:"Farmers planning at a table with notebooks and maps",href:"/rural/starting"},{title:"Growing your business",description:"Scale with confidence through flexible lending, equipment finance, and innovation grants guidance.",image:"https://images.unsplash.com/photo-1500076656116-558758c991c1?auto=format&fit=crop&w=1200&q=80",alt:"Farmers working together in agricultural field",href:"/rural/growing"},{title:"Managing your business",description:"Optimise cash flow with treasury services, support for seasonal peaks, and strategic benchmarking.",image:"https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&w=1200&q=80",alt:"Farmers managing agricultural operations",href:"/rural/farm-planning"}],LF=[{title:"Business and rural loans",description:"Access investment facilities created to help you manage growth with confidence."},{title:"Rural finance",description:"Manage large capital works or everyday transactions across the farm."},{title:"Rural development combo loans",description:"A specially designed loan structure that helps fund expansion and environmental commitments."},{title:"About finance",description:"Discuss your plans with a specialist who understands your industry."}],jF=[{title:"01. Calculate",description:"Know what you need to borrow and create a plan that fits the particular season.",icon:Se},{title:"02. Choose",description:"Our rural bankers tailor the right blend of lending products for your requirements.",icon:fl},{title:"03. Consult",description:"Work with your local banker and rural manager who will stay with you long-term.",icon:Ar}],wF=[{title:"Find an expert",description:"Discover your local Gates Capital Banking Rural Manager and get personalised support.",actionLabel:"Find an expert",icon:Ss,href:"/contact"},{title:"Call us",description:"Connect with rural banking specialists Monday to Friday.",actionLabel:"+48 732 123 213",icon:ss,href:"tel:+48732123213"},{title:"Email us",description:"Share your rural banking needs and we’ll respond within one business day.",actionLabel:"info@gatescbank.com",icon:Ss,href:"mailto:info@gatescbank.com"}],UF=[{question:"What can we finance for spring growth?",answer:"We can help fund stock, feed, and equipment with seasonal loans that match your cash-flow cycle."},{question:"How do I open a rural account with Gates Capital Banking?",answer:"Book a consultation with a rural manager who will guide you through the application, ID checks, and setup."},{question:"What services does the Gates Capital Banking Mobile app offer?",answer:"Use the app to monitor balances, approve payments, and stay on top of supplier invoices wherever you are."},{question:"Which accounts work best for share milkers?",answer:"Our rural transaction and savings accounts are designed to separate personal, farm, and GST funds with ease."}],HF=["Register for internet banking","Log in to internet banking","Download the Gates Capital Banking Mobile app","I forgot my password"],VF=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:204,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:208,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto grid gap-8 md:gap-12 px-4 py-12 md:py-16 lg:grid-cols-[minmax(0,1fr)_480px] lg:items-center lg:py-24",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Rural banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:211,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Get a head start on achieving your rural ambitions."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:214,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Access the right people, specialised tools, and tailored lending products from Gates Capital Banking Rural Banking to keep your business moving."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:217,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Enquire now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:223,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:222,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Find an expert"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:226,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:225,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:221,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:210,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl",children:t.jsxDEV(pr,{ratio:16/9,className:"relative",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80",alt:"Farmer operating tractor in a working field",className:"absolute inset-0 h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:232,columnNumber:17},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:239,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:231,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:230,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:209,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:207,columnNumber:9},void 0),t.jsxDEV(Ts,{items:CF,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:245,columnNumber:9},void 0),t.jsxDEV("section",{id:"reasons",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Great reasons to choose us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:250,columnNumber:15},void 0),t.jsxDEV("div",{className:"mx-auto mt-4 h-1 w-24 rounded-full bg-amber-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:253,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:249,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-2",children:kF.map(({title:e,description:s,icon:a})=>t.jsxDEV("div",{className:"flex gap-5 rounded-2xl border border-emerald-50 bg-emerald-50/60 p-5 md:p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-14 w-14 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:262,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:261,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:265,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:266,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:264,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:257,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:255,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:248,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:247,columnNumber:9},void 0),t.jsxDEV("section",{id:"help",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How can we help your business?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:277,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Wherever you are on your journey, our rural specialists provide practical support designed for the realities of farming and agribusiness."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:280,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:276,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-3",children:EF.map(e=>t.jsxDEV(I,{to:e.href,className:"group",children:t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg transition group-hover:-translate-y-1 group-hover:shadow-xl",children:[t.jsxDEV(pr,{ratio:4/3,className:"overflow-hidden",children:t.jsxDEV("img",{src:e.image,alt:e.alt,className:"absolute inset-0 h-full w-full object-cover transition duration-500 group-hover:scale-105",loading:"lazy",sizes:"(min-width: 1024px) 32vw, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:290,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:289,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-3 p-4 md:space-y-4 md:p-6",children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:299,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:300,columnNumber:23},void 0),t.jsxDEV("span",{className:"inline-flex items-center text-emerald-700",children:["Learn more",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:303,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:301,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:298,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:288,columnNumber:19},void 0)},e.title,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:287,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:285,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:275,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:274,columnNumber:9},void 0),t.jsxDEV("section",{id:"options",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-8 md:gap-12 px-4 lg:grid-cols-[1fr_1.2fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Options to consider"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:316,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Bring together the right mix of our banking solutions to create a financial strategy built around your rural ambitions. We’ll help you match funding to seasonal patterns, capital improvements, and long-term aspirations."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:319,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Find an expert"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:325,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:324,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:315,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4 rounded-3xl border border-emerald-100 bg-emerald-50/40 p-6",children:LF.map(e=>t.jsxDEV("div",{className:"flex items-start gap-4 rounded-2xl border border-transparent bg-white/70 p-4 md:p-5 transition hover:border-emerald-200 hover:bg-white",children:[t.jsxDEV(Sr,{className:"mt-1 h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:334,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:336,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:337,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:335,columnNumber:19},void 0),t.jsxDEV(_e,{className:"ml-auto mt-1 h-5 w-5 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:339,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:330,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:328,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:314,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:313,columnNumber:9},void 0),t.jsxDEV("section",{id:"get-started",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-8 md:space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Get started today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:349,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:348,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-3",children:jF.map(({title:e,description:s,icon:a})=>t.jsxDEV("div",{className:"flex flex-col items-center rounded-3xl bg-white p-6 md:p-8 text-center shadow-lg",children:[t.jsxDEV("div",{className:"mb-5 flex h-20 w-20 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:360,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:359,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:362,columnNumber:19},void 0),t.jsxDEV("p",{className:"mt-3 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:363,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:355,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:353,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:347,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:346,columnNumber:9},void 0),t.jsxDEV("section",{id:"next-steps",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Next steps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:373,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:372,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-3",children:wF.map(({title:e,description:s,actionLabel:a,icon:n,href:i})=>t.jsxDEV("div",{className:"flex flex-col gap-3 md:gap-4 rounded-3xl border border-emerald-100 bg-emerald-50/60 p-5 md:p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(n,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:382,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:381,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:384,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:385,columnNumber:19},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-700",asChild:!0,children:i.startsWith("http")||i.startsWith("tel")||i.startsWith("mailto")?t.jsxDEV("a",{href:i,children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:388,columnNumber:23},void 0):t.jsxDEV(I,{to:i,children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:390,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:386,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:377,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:375,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:371,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:370,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold text-emerald-900 md:text-3xl",children:"Frequently asked questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:402,columnNumber:15},void 0),t.jsxDEV(Ci,{type:"single",collapsible:!0,className:"space-y-4",children:UF.map(({question:e,answer:s},a)=>t.jsxDEV(In,{value:`faq-${a}`,className:"overflow-hidden rounded-2xl border border-emerald-100 bg-emerald-50/80 border-b-0",children:[t.jsxDEV($n,{className:"group px-5 py-4 text-left text-sm font-medium text-emerald-900 hover:no-underline focus:outline-none focus-visible:ring-2 focus-visible:ring-emerald-500 focus-visible:ring-offset-2 focus-visible:ring-offset-emerald-50 [&>svg:last-child]:hidden",children:t.jsxDEV("span",{className:"flex w-full items-center justify-between gap-3",children:[e,t.jsxDEV(_e,{className:"h-5 w-5 text-emerald-600 transition-transform duration-200 group-data-[state=open]:translate-x-1 group-data-[state=open]:rotate-90"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:415,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:413,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:412,columnNumber:21},void 0),t.jsxDEV(Fn,{className:"px-5 pb-5 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:418,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:407,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:405,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:401,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4 md:space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Manage your account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:426,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Quick links to keep your banking on track wherever you are."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:427,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4",children:HF.map(e=>t.jsxDEV("div",{className:"flex items-center justify-between rounded-2xl border border-white/10 bg-white/10 px-4 py-3 md:px-5 md:py-4",children:[t.jsxDEV("span",{className:"text-sm font-medium",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:436,columnNumber:21},void 0),t.jsxDEV(_e,{className:"h-5 w-5 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:437,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:432,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:430,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:425,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:400,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:399,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Preparing your next season?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:448,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"We’re here when you need to plan, pivot, or invest. Talk to us about tools that help with cash-flow modelling, sustainability reporting, and succession planning."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:451,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:455,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Enquire online"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:458,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:457,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/support/faqs",children:"Explore support"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:461,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:460,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:456,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:447,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV(pr,{ratio:1,className:"relative",children:t.jsxDEV("img",{src:DF,alt:"Rural banking advisor meeting with a farmer",className:"absolute inset-0 h-full w-full object-cover",loading:"lazy",sizes:"(min-width: 1024px) 380px, 90vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:468,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:467,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:466,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:465,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:446,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:445,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:206,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:482,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Rural.tsx",lineNumber:203,columnNumber:5},void 0),Un=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("textarea",{className:me("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/textarea.tsx",lineNumber:9,columnNumber:5},void 0));Un.displayName="Textarea";const PF=()=>{const[e,s]=v.useState({enquiry:"",name:"",email:""}),[a,n]=v.useState(!1),[i,r]=v.useState("idle"),[o,l]=v.useState(""),u=m=>{const{id:d,value:b}=m.target;s(f=>({...f,[d]:b}))},c=async m=>{m.preventDefault(),n(!0),r("idle"),l("");try{await new Promise(d=>setTimeout(d,1e3)),r("success"),s({enquiry:"",name:"",email:""})}catch{r("error"),l("Failed to send message. Please try again.")}finally{n(!1)}};return t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:58,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-image-cover opacity-20","data-bg-image":"hero-bg"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:63,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:67,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_480px] lg:items-center lg:py-24",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Get in touch"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:71,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"We're here to help you succeed."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:74,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Get in touch with our team of banking experts. We're available every day from 8am to 5:30pm to assist with your financial needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:77,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV("a",{href:Je.phoneHref,children:[t.jsxDEV(ss,{className:"mr-2 h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:84,columnNumber:21},void 0),"Call us now"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:83,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:82,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV("a",{href:`mailto:${Je.email}`,children:[t.jsxDEV(ra,{className:"mr-2 h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:90,columnNumber:21},void 0),"Email us"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:89,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:88,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:81,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:70,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-image-cover","data-bg-image":"contact-card"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:99,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-emerald-900/80 via-emerald-800/60 to-green-700/40"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:103,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute inset-0 flex flex-col items-center justify-center p-4 text-center md:p-6 lg:p-8",children:t.jsxDEV("div",{className:"space-y-4 md:space-y-6",children:[t.jsxDEV("div",{className:"mx-auto w-16 h-16 rounded-full bg-white/20 backdrop-blur-sm flex items-center justify-center border-2 border-white/30 md:w-20 md:h-20 lg:w-24 lg:h-24",children:t.jsxDEV(Ss,{className:"h-8 w-8 text-white md:h-10 md:w-10 lg:h-12 lg:w-12"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:108,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:107,columnNumber:19},void 0),t.jsxDEV("div",{className:"space-y-2 md:space-y-3",children:[t.jsxDEV("h3",{className:"text-xl font-bold text-white md:text-2xl",children:"Ready to connect"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:111,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-white/90 text-xs max-w-xs md:text-sm",children:"Our friendly team is standing by to help with all your banking needs"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:112,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:110,columnNumber:19},void 0),t.jsxDEV("div",{className:"flex items-center justify-center gap-2 text-amber-200",children:[t.jsxDEV("div",{className:"w-2 h-2 bg-amber-400 rounded-full animate-pulse"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:117,columnNumber:21},void 0),t.jsxDEV("span",{className:"text-xs font-medium md:text-sm",children:"Live chat available"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:118,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:116,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:106,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:105,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:98,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:69,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:62,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4 space-y-12",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Contact Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:130,columnNumber:15},void 0),t.jsxDEV("div",{className:"mx-auto mt-4 h-1 w-24 rounded-full bg-amber-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:133,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-6 max-w-2xl mx-auto text-muted-foreground",children:"Multiple ways to reach our expert team. Choose the method that works best for you."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:134,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:129,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-4 sm:gap-6 md:gap-8 md:grid-cols-2 lg:grid-cols-3",children:[t.jsxDEV("div",{className:"group flex flex-col items-center text-center space-y-3 p-4 rounded-2xl border border-emerald-100 bg-emerald-50/60 transition-all duration-300 hover:border-emerald-200 hover:bg-emerald-50 hover:shadow-lg hover:-translate-y-1 md:space-y-4 md:p-6",children:[t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white group-hover:bg-emerald-600 transition-colors",children:t.jsxDEV(ss,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:142,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:141,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:"Phone"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:145,columnNumber:19},void 0),t.jsxDEV("a",{href:Je.phoneHref,className:"text-xl md:text-2xl font-bold text-emerald-700 mt-1 md:mt-2 hover:text-emerald-600 transition-colors",children:Je.phone},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:146,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-xs md:text-sm text-muted-foreground mt-1",children:["Available ",Je.hours]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:149,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:144,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:140,columnNumber:15},void 0),t.jsxDEV("div",{className:"group flex flex-col items-center text-center space-y-3 p-4 rounded-2xl border border-emerald-100 bg-emerald-50/60 transition-all duration-300 hover:border-emerald-200 hover:bg-emerald-50 hover:shadow-lg hover:-translate-y-1 md:space-y-4 md:p-6",children:[t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white group-hover:bg-emerald-600 transition-colors",children:t.jsxDEV(ra,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:155,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:154,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:"Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:158,columnNumber:19},void 0),t.jsxDEV("a",{href:`mailto:${Je.email}`,className:"text-base md:text-lg font-semibold text-emerald-700 mt-1 md:mt-2 hover:text-emerald-600 transition-colors",children:Je.email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:159,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-xs md:text-sm text-muted-foreground mt-1",children:"General enquiries"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:162,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:157,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:153,columnNumber:15},void 0),t.jsxDEV("div",{className:"group flex flex-col items-center text-center space-y-3 p-4 rounded-2xl border border-emerald-100 bg-emerald-50/60 transition-all duration-300 hover:border-emerald-200 hover:bg-emerald-50 hover:shadow-lg hover:-translate-y-1 md:space-y-4 md:p-6",children:[t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white group-hover:bg-emerald-600 transition-colors",children:t.jsxDEV(iu,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:168,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:167,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:"Address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:171,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-xs md:text-sm text-emerald-700 mt-1 md:mt-2 font-medium",children:Je.address},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:172,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:170,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:166,columnNumber:15},void 0),t.jsxDEV("div",{className:"group flex flex-col items-center text-center space-y-3 p-4 rounded-2xl border border-emerald-100 bg-emerald-50/60 transition-all duration-300 hover:border-emerald-200 hover:bg-emerald-50 hover:shadow-lg hover:-translate-y-1 md:space-y-4 md:p-6",children:[t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white group-hover:bg-emerald-600 transition-colors",children:t.jsxDEV(jt,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:178,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:177,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:"Fax"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:181,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-base md:text-lg font-semibold text-emerald-700 mt-1 md:mt-2",children:Je.fax},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:182,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-xs md:text-sm text-muted-foreground mt-1",children:"Document transmission"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:183,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:180,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:176,columnNumber:15},void 0),t.jsxDEV("div",{className:"group flex flex-col items-center text-center space-y-3 p-4 rounded-2xl border border-emerald-100 bg-emerald-50/60 transition-all duration-300 hover:border-emerald-200 hover:bg-emerald-50 hover:shadow-lg hover:-translate-y-1 md:space-y-4 md:p-6",children:[t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white group-hover:bg-emerald-600 transition-colors",children:t.jsxDEV(Ss,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:189,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:188,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:"Website"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:192,columnNumber:19},void 0),t.jsxDEV("a",{href:`https://${Je.website}`,className:"text-base md:text-lg font-semibold text-emerald-700 mt-1 md:mt-2 hover:text-emerald-600 transition-colors",children:Je.website},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:193,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-xs md:text-sm text-muted-foreground mt-1",children:"Online banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:196,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:191,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:187,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:139,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:128,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:127,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-muted/40 py-12 md:py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4 max-w-2xl",children:[t.jsxDEV("div",{className:"text-center mb-8",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Send us a message"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:209,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 text-muted-foreground",children:"Have a question or need assistance? We'll get back to you as soon as possible."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:212,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:208,columnNumber:13},void 0),t.jsxDEV(F,{className:"border-emerald-100 bg-white shadow-lg",children:t.jsxDEV(B,{className:"p-6 md:p-8",children:[i==="success"&&t.jsxDEV("div",{className:"mb-6 bg-green-50 border border-green-200 text-green-700 px-4 py-3 rounded-lg flex items-center gap-2",children:[t.jsxDEV(js,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:221,columnNumber:21},void 0),t.jsxDEV("span",{children:"Message sent successfully! We'll get back to you soon."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:222,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:220,columnNumber:19},void 0),i==="error"&&t.jsxDEV("div",{className:"mb-6 bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded-lg",children:o},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:227,columnNumber:19},void 0),t.jsxDEV("form",{onSubmit:c,className:"space-y-6",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"enquiry",className:"text-sm font-semibold text-emerald-900",children:"Tell us about your enquiry"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:234,columnNumber:21},void 0),t.jsxDEV(Un,{id:"enquiry",rows:4,value:e.enquiry,onChange:u,placeholder:"Provide as much detail as possible so we can direct your enquiry to the right team.",className:"mt-2 border-emerald-200 focus:border-emerald-500 focus:ring-emerald-500",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:237,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:233,columnNumber:19},void 0),t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"name",className:"text-sm font-semibold text-emerald-900",children:"Your name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:249,columnNumber:23},void 0),t.jsxDEV(re,{id:"name",value:e.name,onChange:u,placeholder:"Enter your name",className:"mt-2 border-emerald-200 focus:border-emerald-500 focus:ring-emerald-500",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:252,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:248,columnNumber:21},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"email",className:"text-sm font-semibold text-emerald-900",children:"Your email address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:262,columnNumber:23},void 0),t.jsxDEV(re,{id:"email",type:"email",value:e.email,onChange:u,placeholder:"Enter your email address",className:"mt-2 border-emerald-200 focus:border-emerald-500 focus:ring-emerald-500",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:265,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:261,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:247,columnNumber:19},void 0),t.jsxDEV(L,{type:"submit",disabled:a,className:"w-full bg-emerald-700 text-white hover:bg-emerald-600 disabled:opacity-50",size:"lg",children:[t.jsxDEV(OE,{className:"mr-2 h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:282,columnNumber:21},void 0),a?"Sending...":"Send Message"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:276,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:232,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:218,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:217,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:207,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:206,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:60,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:293,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Contact.tsx",lineNumber:57,columnNumber:5},void 0)},AF=[{label:"Who we are",href:"#who"},{label:"Our values",href:"#values"},{label:"Our journey",href:"#journey"},{label:"Our promise",href:"#promise"},{label:"Connect with us",href:"/contact"}],SF=[{title:"Transparency",description:"We communicate in plain language, no fine print surprises.",icon:zs},{title:"Personal service",description:"Real people who know your name and understand your goals.",icon:Cs},{title:"Modern banking",description:"Simple digital tools that make money management effortless.",icon:gl},{title:"Local roots",description:"Supporting communities where we live and work.",icon:Uv}],TF=[{year:"1990",event:"Founded with a mission to make banking accessible for all"},{year:"2000",event:"Expanded services to rural and urban communities"},{year:"2010",event:"Launched our first mobile banking app"},{year:"2020",event:"Introduced our award-winning rural banking division"},{year:"2024",event:"Modernized our platform with AI-powered support"}],_F=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:52,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:56,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto grid gap-8 md:gap-12 px-4 py-12 md:py-16 lg:grid-cols-[minmax(0,1fr)_480px] lg:items-center lg:py-24",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"About Gates Capital Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:59,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"The bank for a changing world."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:62,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"For over 30 years, we've been helping families and businesses navigate life's financial moments with honesty, simplicity, and genuine care."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:65,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get in touch"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:71,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:70,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/",children:"Explore our services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:74,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:73,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:69,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:58,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1600&q=80",alt:"Gates Capital Bank team collaboration",className:"h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:79,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:86,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:78,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:57,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:55,columnNumber:9},void 0),t.jsxDEV(Ts,{items:AF,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:91,columnNumber:9},void 0),t.jsxDEV("section",{id:"who",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-6 px-4",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl text-center",children:"Who we are"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:95,columnNumber:13},void 0),t.jsxDEV("p",{className:"mx-auto max-w-3xl text-center text-sm text-muted-foreground md:text-base",children:"Gates Capital Banking is a modern financial institution built on traditional values. We're your neighbors, your business partners, and your support team—combining the warmth of local banking with the convenience of digital innovation."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:98,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:94,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:93,columnNumber:9},void 0),t.jsxDEV("section",{id:"values",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"What we stand for"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:109,columnNumber:15},void 0),t.jsxDEV("div",{className:"mx-auto mt-4 h-1 w-24 rounded-full bg-amber-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:110,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:108,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:SF.map(({title:e,description:s,icon:a})=>t.jsxDEV(F,{className:"border-emerald-100 bg-white",children:t.jsxDEV(B,{className:"space-y-3 p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:117,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:116,columnNumber:21},void 0),t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:119,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:120,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:115,columnNumber:19},void 0)},e,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:114,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:112,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:107,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:106,columnNumber:9},void 0),t.jsxDEV("section",{id:"journey",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Our journey"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:131,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Three decades of growth, innovation, and unwavering commitment to our communities."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:132,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:130,columnNumber:13},void 0),t.jsxDEV("div",{className:"mx-auto max-w-3xl space-y-6",children:TF.map((e,s)=>t.jsxDEV("div",{className:"flex gap-6 rounded-2xl border border-emerald-100 bg-emerald-50/40 p-6",children:[t.jsxDEV("div",{className:"flex h-16 w-16 shrink-0 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(jt,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:143,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:142,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"mb-2 text-sm font-semibold text-emerald-700",children:e.year},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:146,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.event},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:147,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:145,columnNumber:19},void 0)]},e.year,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:138,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:136,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:129,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:128,columnNumber:9},void 0),t.jsxDEV("section",{id:"promise",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-10 px-4 md:grid-cols-2 md:items-center",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold text-emerald-900 md:text-3xl",children:"Our promise to you"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:158,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"We promise to be the bank you can actually understand—no confusing terms, no hidden fees, no runaround. When you walk through our doors or open our app, you'll find real people who care about your success and tools that make banking simpler, not more complicated."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:159,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("div",{className:"flex items-start gap-3",children:[t.jsxDEV(ub,{className:"mt-0.5 h-5 w-5 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:166,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-medium text-emerald-900",children:"Award-winning service"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:168,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-xs text-muted-foreground",children:"Recognized for excellence in customer satisfaction"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:169,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:167,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:165,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex items-start gap-3",children:[t.jsxDEV(zs,{className:"mt-0.5 h-5 w-5 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:173,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-medium text-emerald-900",children:"Your money, protected"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:175,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-xs text-muted-foreground",children:"Bank-level security with 24/7 monitoring"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:176,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:174,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:172,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex items-start gap-3",children:[t.jsxDEV(Vn,{className:"mt-0.5 h-5 w-5 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:180,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-medium text-emerald-900",children:"Here for You"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:182,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-xs text-muted-foreground",children:"Supporting communities from coast to coast"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:183,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:181,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:179,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:164,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3 pt-4",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Start banking with us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:189,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:188,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",children:"Read our story"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:191,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:187,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:157,columnNumber:13},void 0),t.jsxDEV("div",{className:"rounded-3xl bg-emerald-900/95 p-6 text-white shadow-xl",children:[t.jsxDEV("h3",{className:"mb-4 text-xl font-semibold",children:"Join our community"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:197,columnNumber:15},void 0),t.jsxDEV("p",{className:"mb-6 text-sm text-emerald-100",children:"Users around the world use our services. From saving for your first home to growing your business, we're here for every step."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:198,columnNumber:15},void 0),t.jsxDEV(us,{className:"my-4 bg-white/20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:202,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-3",children:["Open an account","Find a branch","Contact support"].map(e=>t.jsxDEV("div",{className:"flex items-center justify-between rounded-2xl border border-white/10 bg-white/10 px-4 py-3",children:[t.jsxDEV("span",{className:"text-sm font-medium",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:209,columnNumber:21},void 0),t.jsxDEV(_e,{className:"h-5 w-5 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:210,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:205,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:203,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:196,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:156,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:155,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Let's grow together"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:221,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Whether you're buying your first apartment, expanding your family business, or managing your farm in the countryside—we're committed to being your partner for the long term. Your success is our success."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:224,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:229,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Visit us today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:232,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:231,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/",children:"Explore our services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:235,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:234,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:230,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:220,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=800&q=80",alt:"Gates Capital Bank team meeting",className:"h-full w-full object-cover",loading:"lazy",sizes:"(min-width: 1024px) 380px, 90vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:241,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:240,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:239,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:219,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:218,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:54,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:254,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/About.tsx",lineNumber:51,columnNumber:5},void 0),RF=()=>{const e=an();return v.useEffect(()=>{},[e.pathname]),t.jsxDEV("div",{className:"flex min-h-screen items-center justify-center bg-gray-100",children:t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h1",{className:"mb-4 text-4xl font-bold",children:"404"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/NotFound.tsx",lineNumber:15,columnNumber:9},void 0),t.jsxDEV("p",{className:"mb-4 text-xl text-gray-600",children:"Oops! Page not found"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/NotFound.tsx",lineNumber:16,columnNumber:9},void 0),t.jsxDEV(I,{to:"/",className:"text-blue-500 underline hover:text-blue-700",children:"Return to Home"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/NotFound.tsx",lineNumber:17,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/NotFound.tsx",lineNumber:14,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/NotFound.tsx",lineNumber:13,columnNumber:5},void 0)},MF=[{label:"Executive team",href:"#team"},{label:"Values & vision",href:"#values"},{label:"Leadership structure",href:"#structure"},{label:"FAQs",href:"#faqs"},{label:"Contact",href:"/contact"}],OF=[{name:"Katarzyna Nowak",role:"Chief Executive Officer",bio:"Leads strategy and growth with 20+ years in European retail & commercial banking.",image:"https://images.unsplash.com/photo-1544006659-f0b21884ce1d?auto=format&fit=crop&w=800&q=80"},{name:"Piotr Lewandowski",role:"Chief Financial Officer",bio:"Oversees capital planning, treasury and financial reporting.",image:"https://images.unsplash.com/photo-1547425260-76bcadfb4f2c?auto=format&fit=crop&w=800&q=80"},{name:"Anna Kowalczyk",role:"Chief Risk Officer",bio:"Responsible for risk management, compliance, and resilience.",image:"https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=800&q=80"},{name:"Michał Zieliński",role:"Chief Technology Officer",bio:"Leads engineering, data and platform modernization.",image:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=800&q=80"}],IF=[{title:"Customers first",description:"We design products and decisions around real customer outcomes.",icon:wt},{title:"Secure by design",description:"We protect customers with strong controls, testing and transparency.",icon:mt},{title:"One team",description:"We win together with accountability, kindness and candour.",icon:Cs},{title:"Ambition with integrity",description:"We pursue excellence while doing what’s right for our communities.",icon:ub}],$F=[{q:"Where is the leadership team based?",a:"Our headquarters, with coverage globally."},{q:"How do I contact the leadership team for speaking or media?",a:"Please contact our Communications team via the Contact page and we’ll route your enquiry."}],FF=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:87,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative overflow-hidden bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat opacity-25",style:{backgroundImage:"url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80')"}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:92,columnNumber:11},void 0),t.jsxDEV("div",{className:"relative py-16 md:py-24",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl",children:[t.jsxDEV("p",{className:"text-sm uppercase tracking-[0.2em] text-white/80 mb-2",children:"Experienced leaders guiding our strategy and values"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:102,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-3xl md:text-5xl font-bold text-white mb-4 leading-tight",children:"Leadership"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:103,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-white/90 max-w-2xl text-lg leading-relaxed mb-6",children:"Our executive team brings deep banking, technology and risk expertise to deliver secure, modern banking for customers globally."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:104,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:101,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:100,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:99,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:91,columnNumber:9},void 0),t.jsxDEV(Ts,{items:MF,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:112,columnNumber:9},void 0),t.jsxDEV("section",{id:"team",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Executive team"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:118,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Meet the leaders shaping the bank’s strategy and culture."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:119,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:117,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:OF.map(e=>t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV("div",{className:"h-56 w-full overflow-hidden",children:t.jsxDEV("img",{src:e.image,alt:e.name,className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:125,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:124,columnNumber:19},void 0),t.jsxDEV(z,{className:"pb-2",children:[t.jsxDEV(K,{className:"text-lg text-emerald-900",children:e.name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:128,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.role},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:129,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:127,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.bio},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:132,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:131,columnNumber:19},void 0)]},e.name,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:123,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:121,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:116,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:115,columnNumber:9},void 0),t.jsxDEV("section",{id:"values",className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Values & vision"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:144,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"The principles that guide our decisions and customer outcomes."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:145,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:143,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:IF.map(({title:e,description:s,icon:a})=>t.jsxDEV("div",{className:"flex flex-col gap-4 rounded-2xl border border-emerald-50 bg-white p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:151,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:150,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:154,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:155,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:153,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:149,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:147,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:142,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:141,columnNumber:9},void 0),t.jsxDEV("section",{id:"structure",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4 max-w-5xl",children:[t.jsxDEV("div",{className:"text-center mb-10",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Leadership structure"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:167,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 text-sm text-muted-foreground",children:"Clear accountability ensures secure, reliable banking for our customers."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:168,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:166,columnNumber:13},void 0),t.jsxDEV(F,{className:"border-0 shadow-lg",children:t.jsxDEV(B,{className:"p-6 md:p-8",children:[t.jsxDEV("ul",{className:"grid gap-3 md:grid-cols-2",children:[t.jsxDEV("li",{className:"text-sm text-muted-foreground",children:[t.jsxDEV("span",{className:"font-medium text-emerald-900",children:"CEO:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:173,columnNumber:65},void 0)," Strategy, culture, and performance"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:173,columnNumber:19},void 0),t.jsxDEV("li",{className:"text-sm text-muted-foreground",children:[t.jsxDEV("span",{className:"font-medium text-emerald-900",children:"CFO:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:174,columnNumber:65},void 0)," Capital, treasury, and reporting"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:174,columnNumber:19},void 0),t.jsxDEV("li",{className:"text-sm text-muted-foreground",children:[t.jsxDEV("span",{className:"font-medium text-emerald-900",children:"CRO:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:175,columnNumber:65},void 0)," Risk, compliance, and resilience"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:175,columnNumber:19},void 0),t.jsxDEV("li",{className:"text-sm text-muted-foreground",children:[t.jsxDEV("span",{className:"font-medium text-emerald-900",children:"CTO:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:176,columnNumber:65},void 0)," Technology, data, and platforms"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:176,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:172,columnNumber:17},void 0),t.jsxDEV(us,{className:"my-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:178,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3 justify-center",children:[t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Security-first"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:180,columnNumber:19},void 0),t.jsxDEV(He,{variant:"outline",className:"border-emerald-200 text-emerald-900",children:"Customer-centric"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:181,columnNumber:19},void 0),t.jsxDEV(He,{variant:"outline",className:"border-emerald-200 text-emerald-900",children:"Transparent"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:182,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:179,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:171,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:170,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:165,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:164,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900",children:"Frequently Asked Questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:193,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Learn more about our leadership and governance."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:194,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:192,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:$F.map((e,s)=>t.jsxDEV(F,{className:"border-0 shadow-md",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"text-base font-semibold text-emerald-900",children:e.q},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:200,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:199,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:203,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:202,columnNumber:19},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:198,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:196,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:191,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:190,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4 text-center",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-white",children:"Connect with our team"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:215,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-white/90",children:"For media or speaking enquiries, contact our Communications team."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:216,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:219,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:218,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:"tel:+48732123213",children:"Call us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:222,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:221,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:217,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:214,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:213,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:212,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:89,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:230,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Leadership.tsx",lineNumber:86,columnNumber:5},void 0),BF=[{label:"Why work here",href:"#benefits"},{label:"Open roles",href:"#roles"},{label:"How we hire",href:"#process"},{label:"FAQs",href:"#faqs"},{label:"Contact",href:"/contact"}],qF=[{title:"People first",description:"Inclusive culture built on trust and candour.",icon:Cs},{title:"Comprehensive healthcare",description:"Private medical cover for you and your family.",icon:Uv},{title:"Security & stability",description:"Strong governance and risk culture.",icon:mt},{title:"Time to recharge",description:"Generous leave, hybrid work and flexible hours.",icon:ME},{title:"Learn & grow",description:"Training budget, conferences and coaching.",icon:qP},{title:"Meaningful impact",description:"Build secure, modern banking globally.",icon:Ta}],WF=[{title:"Senior Backend Engineer (Node/TS)",location:"Remote/Hybrid",type:"Full‑time",tags:["Node.js","TypeScript","PostgreSQL","AWS"]},{title:"Risk Analyst",location:"Remote/Hybrid",type:"Full‑time",tags:["Credit Risk","Data","Excel/SQL"]},{title:"UX/UI Designer",location:"Remote",type:"Full‑time",tags:["Figma","Design Systems","Accessibility"]}],zF=[{step:"01",title:"Apply",description:"Share your CV/LinkedIn and a short note."},{step:"02",title:"Talk",description:"Initial chat with Talent to learn more about you."},{step:"03",title:"Exercise",description:"Role‑relevant task or portfolio walk‑through."},{step:"04",title:"Meet",description:"Panel with hiring manager and future teammates."},{step:"05",title:"Offer",description:"We move quickly and give clear feedback."}],KF=[{q:"Do you support hybrid work?",a:"Yes. Most roles offer hybrid or remote‑friendly options depending on team needs."},{q:"Do you sponsor visas?",a:"We consider sponsorship for critical roles when appropriate."},{q:"How long does hiring take?",a:"Typically 2–3 weeks from first conversation to offer."}],YF=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:66,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative overflow-hidden bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat opacity-25",style:{backgroundImage:"url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80')"}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:71,columnNumber:11},void 0),t.jsxDEV("div",{className:"relative py-16 md:py-24",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl",children:[t.jsxDEV("p",{className:"text-sm uppercase tracking-[0.2em] text-white/80 mb-2",children:"Join a team committed to customers and community"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:81,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-3xl md:text-5xl font-bold text-white mb-4 leading-tight",children:"Careers"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:82,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-white/90 max-w-2xl text-lg leading-relaxed mb-6",children:"We're building secure, modern banking globally. Come make a meaningful impact."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:83,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:80,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:79,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:78,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:70,columnNumber:9},void 0),t.jsxDEV(Ts,{items:BF,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:89,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why work here"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:95,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Support to do your best work, grow your career, and live well."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:96,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:94,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:qF.map(({title:e,description:s,icon:a})=>t.jsxDEV("div",{className:"flex flex-col gap-4 rounded-2xl border border-emerald-50 bg-white p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:102,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:101,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:105,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:106,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:104,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:100,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:98,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:93,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:92,columnNumber:9},void 0),t.jsxDEV("section",{id:"roles",className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Open roles"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:118,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"We hire for craft, character and learning mindset."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:119,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:117,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:WF.map(e=>t.jsxDEV(F,{className:"border-0 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV(z,{children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:125,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground mt-1",children:[e.location," • ",e.type]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:126,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:124,columnNumber:19},void 0),t.jsxDEV(B,{children:[t.jsxDEV("div",{className:"flex flex-wrap gap-2",children:e.tags.map(s=>t.jsxDEV(He,{variant:"outline",className:"border-emerald-200 text-emerald-900",children:s},s,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:131,columnNumber:25},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:129,columnNumber:21},void 0),t.jsxDEV(L,{className:"mt-4 w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:135,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:134,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:128,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:123,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:121,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:116,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:115,columnNumber:9},void 0),t.jsxDEV("section",{id:"process",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-12 px-4 lg:grid-cols-[1fr_1.2fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How we hire"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:148,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Clear steps, fast feedback and a respectful process."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:149,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Submit your application"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:151,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:150,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:147,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4 rounded-3xl border border-emerald-100 bg-emerald-50/40 p-6",children:zF.map(e=>t.jsxDEV("div",{className:"flex items-start gap-4 rounded-2xl border border-transparent bg-white/70 p-4 md:p-5 transition hover:border-emerald-200 hover:bg-white",children:[t.jsxDEV(Ls,{className:"mt-1 h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:157,columnNumber:19},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:159,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:160,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:158,columnNumber:19},void 0),t.jsxDEV("span",{className:"ml-auto mt-1 text-emerald-500 text-sm font-semibold",children:e.step},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:162,columnNumber:19},void 0)]},e.step,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:156,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:154,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:146,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:145,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900",children:"Frequently Asked Questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:173,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Hiring process and work arrangements."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:174,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:172,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:KF.map((e,s)=>t.jsxDEV(F,{className:"border-0 shadow-md",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"text-base font-semibold text-emerald-900",children:e.q},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:180,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:179,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:183,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:182,columnNumber:19},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:178,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:176,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:171,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:170,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4 text-center",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-white",children:"Build secure, modern banking with us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:195,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-white/90",children:"Apply today or talk to our Talent team."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:196,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:199,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:198,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:"tel:+48732123213",children:"Call us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:202,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:201,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:197,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:194,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:193,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:192,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:68,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:210,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/Careers.tsx",lineNumber:65,columnNumber:5},void 0),QF=[{label:"Latest",href:"#latest"},{label:"Announcements",href:"#announcements"},{label:"Insights",href:"#insights"},{label:"Media contact",href:"#media"}],IG=[{title:"Gates Capital Banking launches enhanced online business banking",date:"Nov 2, 2025",category:"Announcement",image:"https://images.unsplash.com/photo-1556741533-f6acd6476e38?auto=format&fit=crop&w=1200&q=80",excerpt:"A new online business banking experience with advanced security, multi‑user permissions and approvals."},{title:"Quarterly update: Strong growth and continued investment in security",date:"Oct 15, 2025",category:"Update",image:"https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=80",excerpt:"We continue to strengthen our capital position while investing in engineering, risk and customer support."},{title:"Insight: Building customer‑centric products in a regulated environment",date:"Sep 20, 2025",category:"Insight",image:"https://images.unsplash.com/photo-1515879218367-8466d910aaa4?auto=format&fit=crop&w=1200&q=80",excerpt:"How we blend design, engineering and compliance to deliver secure, modern banking."}],ZF=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:47,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative overflow-hidden bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat opacity-25",style:{backgroundImage:"url('https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=1600&q=80')"}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:52,columnNumber:11},void 0),t.jsxDEV("div",{className:"relative py-16 md:py-24",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl",children:[t.jsxDEV("p",{className:"text-sm uppercase tracking-[0.2em] text-white/80 mb-2",children:"Updates, announcements, and insights"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:62,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-3xl md:text-5xl font-bold text-white mb-4 leading-tight",children:"News"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:63,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-white/90 max-w-2xl text-lg leading-relaxed mb-6",children:"Latest from Gates Capital Banking."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:64,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:61,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:60,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:59,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:51,columnNumber:9},void 0),t.jsxDEV(Ts,{items:QF,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:70,columnNumber:9},void 0),t.jsxDEV("section",{id:"latest",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-2 lg:grid-cols-3",children:IG.map(e=>t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV("div",{className:"h-48 w-full overflow-hidden",children:t.jsxDEV("img",{src:e.image,alt:e.title,className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:79,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:78,columnNumber:19},void 0),t.jsxDEV(z,{className:"pb-3",children:[t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV(He,{variant:"outline",className:"border-emerald-200 text-emerald-900",children:e.category},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:83,columnNumber:23},void 0),t.jsxDEV("span",{className:"text-xs text-muted-foreground",children:e.date},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:84,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:82,columnNumber:21},void 0),t.jsxDEV(K,{className:"text-lg text-emerald-900 mt-2",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:86,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:81,columnNumber:19},void 0),t.jsxDEV(B,{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.excerpt},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:89,columnNumber:21},void 0),t.jsxDEV(L,{className:"mt-4 w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Read more"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:91,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:90,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:88,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:77,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:75,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:74,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:73,columnNumber:9},void 0),t.jsxDEV("section",{id:"announcements",className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("h2",{className:"text-2xl md:text-3xl font-semibold text-emerald-900 mb-6",children:"Announcements"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:103,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-2 lg:grid-cols-3",children:IG.slice(0,2).map(e=>t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg",children:[t.jsxDEV("div",{className:"h-40 w-full overflow-hidden",children:t.jsxDEV("img",{src:e.image,alt:e.title,className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:108,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:107,columnNumber:19},void 0),t.jsxDEV(z,{className:"pb-3",children:[t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV(He,{variant:"outline",className:"border-emerald-200 text-emerald-900",children:e.category},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:112,columnNumber:23},void 0),t.jsxDEV("span",{className:"text-xs text-muted-foreground",children:e.date},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:113,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:111,columnNumber:21},void 0),t.jsxDEV(K,{className:"text-lg text-emerald-900 mt-2",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:115,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:110,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:106,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:104,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:102,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:101,columnNumber:9},void 0),t.jsxDEV("section",{id:"media",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[t.jsxDEV("h2",{className:"text-2xl md:text-3xl font-semibold text-emerald-900",children:"Media enquiries"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:126,columnNumber:13},void 0),t.jsxDEV("p",{className:"mt-3 text-sm text-muted-foreground",children:"For press enquiries, interviews or speaking requests, please contact our Communications team."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:127,columnNumber:13},void 0),t.jsxDEV("div",{className:"mt-6 flex items-center justify-center gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact communications"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:130,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:129,columnNumber:15},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-900 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:Je.phoneHref,children:["Call ",Je.phone]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:133,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:132,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:128,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:125,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:124,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:49,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:140,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/company/News.tsx",lineNumber:46,columnNumber:5},void 0),XF=[{label:"Popular topics",href:"#popular"},{label:"Categories",href:"#categories"},{label:"Search",href:"#search"},{label:"Contact support",href:"#contact"}],JF=[{title:"Reset your password",icon:_E},{title:"Set up a payment",icon:yc},{title:"Manage your card",icon:as},{title:"Security & 2FA",icon:zs},{title:"Mobile app",icon:Ft}],eB=[{title:"Accounts",items:["Open an account","Update details","Closing an account"]},{title:"Cards",items:["Activate card","Replace card","Disputes & chargebacks"]},{title:"Payments",items:["Domestic transfers","International transfers","Scheduled payments"]},{title:"Security",items:["2FA","Report fraud","Scam awareness"]}],sB=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:36,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative overflow-hidden bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70",children:t.jsxDEV("div",{className:"relative py-16 md:py-24",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl",children:[t.jsxDEV("p",{className:"text-sm uppercase tracking-[0.2em] text-white/80 mb-2",children:"Guides for common banking tasks and features"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:44,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-3xl md:text-5xl font-bold text-white mb-4 leading-tight",children:"Help Centre"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:45,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-white/90 max-w-2xl text-lg leading-relaxed mb-6",children:"Browse topics, search how‑tos, or contact support."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:46,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:43,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:42,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:41,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:40,columnNumber:9},void 0),t.jsxDEV(Ts,{items:XF,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:52,columnNumber:9},void 0),t.jsxDEV("section",{id:"popular",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-5",children:JF.map(({title:e,icon:s})=>t.jsxDEV(F,{className:"border-0 shadow-lg",children:t.jsxDEV(z,{className:"flex items-center gap-3",children:[t.jsxDEV("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:62,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:61,columnNumber:21},void 0),t.jsxDEV(K,{className:"text-base text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:64,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:60,columnNumber:19},void 0)},e,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:59,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:57,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:56,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:55,columnNumber:9},void 0),t.jsxDEV("section",{id:"categories",className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:eB.map(e=>t.jsxDEV(F,{className:"border-0 shadow-lg",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-lg text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:79,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:78,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("ul",{className:"space-y-2 text-sm text-muted-foreground",children:e.items.map(s=>t.jsxDEV("li",{className:"hover:text-emerald-800 transition",children:t.jsxDEV("a",{href:"#search",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:84,columnNumber:83},void 0)},s,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:84,columnNumber:25},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:82,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:81,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:77,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:75,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:74,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:73,columnNumber:9},void 0),t.jsxDEV("section",{id:"search",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4 max-w-3xl",children:[t.jsxDEV("div",{className:"flex items-center gap-3 rounded-xl border border-emerald-200 bg-white p-3 shadow-sm",children:[t.jsxDEV(hl,{className:"h-5 w-5 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:98,columnNumber:15},void 0),t.jsxDEV(re,{placeholder:"Search help articles",className:"border-0 shadow-none focus-visible:ring-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:99,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",children:"Search"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:100,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:97,columnNumber:13},void 0),t.jsxDEV("p",{className:"mt-3 text-xs text-muted-foreground",children:"Tip: Try “reset password”, “international transfer” or “replace card”."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:102,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:96,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:95,columnNumber:9},void 0),t.jsxDEV("section",{id:"contact",className:"bg-amber-400 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900",children:"Still need help?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:110,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Our support team is available daily from 8am–5:30pm."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:111,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:109,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:t.jsxDEV(F,{className:"border-0 shadow-md",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"text-base font-semibold text-emerald-900 flex items-center gap-2",children:[t.jsxDEV(Ss,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:116,columnNumber:107},void 0)," Contact us"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:116,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:115,columnNumber:17},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"flex gap-3",children:[t.jsxDEV(L,{asChild:!0,className:"bg-emerald-700 text-white hover:bg-emerald-600",children:t.jsxDEV(I,{to:"/contact",children:"Chat / Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:120,columnNumber:96},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:120,columnNumber:21},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-900 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV("a",{href:Je.phoneHref,children:[t.jsxDEV(ss,{className:"mr-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:122,columnNumber:59},void 0)," ",Je.phone]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:122,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:121,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:119,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:118,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:114,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:113,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:108,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:107,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:38,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:132,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Help.tsx",lineNumber:35,columnNumber:5},void 0),tB=[{label:"General",href:"#general"},{label:"Accounts",href:"#accounts"},{label:"Banking services",href:"#banking"},{label:"Security",href:"#security"},{label:"Need more help?",href:"#help"}],aB=[{question:"How do I open an account with Gates Capital Banking?",answer:"You can open an account online in minutes or visit any of our branches. Simply provide a valid ID, proof of address, and complete our online application form. Our digital process is secure and typically takes less than 10 minutes."},{question:"What identification is required to open an account?",answer:"You'll need a valid government-issued photo ID (passport, national ID card, or driver's license) and proof of address dated within the last 3 months (utility bill, bank statement, or tenancy agreement)."},{question:"How can I contact customer support?",answer:"You can reach us via phone at +48 732 123 213 (Monday-Friday, 8am-6pm), email at info@gatescbank.com, live chat on our website, or visit any branch during business hours. We're here to help with any questions."},{question:"Is Gates Capital Banking available nationwide?",answer:"Yes, we have branches globally and serve customers worldwide. You can also access all our services online and through our mobile app 24/7, regardless of your location."}],nB=[{question:"How many accounts can I have?",answer:"You can have multiple accounts including checking, savings, investment, and business accounts. There's no limit to the number of accounts you can open with us."},{question:"What are the fees for maintaining an account?",answer:"Many of our accounts have no monthly maintenance fees. Fees vary by account type - some premium accounts include additional benefits. We'll provide full fee disclosure during account opening."},{question:"Can I manage my account online?",answer:"Yes! Access your accounts anytime through our online banking portal or mobile app. You can check balances, transfer funds, pay bills, and manage your account settings securely from anywhere."},{question:"How do I set up recurring payments?",answer:"Log into online banking, navigate to 'Payments & Transfers', select 'Recurring Payments', and follow the prompts to set up automatic payments for bills, subscriptions, or regular transfers."}],iB=[{question:"How do I apply for a loan?",answer:"You can apply online, over the phone, or in person at any branch. We offer personal loans, mortgages, business loans, and rural finance. Our quick application process typically provides a decision within 24-48 hours."},{question:"What credit cards do you offer?",answer:"We offer a range of credit cards including rewards cards, low interest cards, and premium cards with exclusive benefits. Compare options on our website or speak with an advisor to find the best card for your needs."},{question:"How do I transfer money internationally?",answer:"Use our online banking or mobile app to send money abroad. We offer competitive exchange rates and secure transfers. You can track your transfer status in real-time and we'll notify you when funds are received."},{question:"Can I deposit checks using my phone?",answer:"Yes! Use our mobile app to deposit checks by taking a photo. Simply select 'Deposit Check', take photos of the front and back, and funds are typically available within 1-2 business days."}],rB=[{question:"How do I protect my account from fraud?",answer:"We use multi-factor authentication, encryption, and real-time fraud monitoring. Never share your PIN or password, enable two-factor authentication, and regularly review your account activity. Report suspicious activity immediately."},{question:"What should I do if I lose my card?",answer:"Contact us immediately at +48 732 123 213 to report the loss. We'll freeze your card instantly to prevent unauthorized use. You can also block your card through online banking or our mobile app."},{question:"How secure is online banking?",answer:"Very secure. We use bank-level encryption, multi-factor authentication, and continuous monitoring. All transactions are protected by our advanced security systems and fraud prevention measures."},{question:"Can I set up account alerts?",answer:"Yes! Set up custom alerts via online banking or mobile app to receive notifications for large transactions, low balances, suspicious activity, or important account updates via email or SMS."}],oB=[{title:"Live chat",description:"Get instant answers to your questions",actionLabel:"Start chat",icon:Ss,href:"/contact"},{title:"Call us",description:"Speak with our support team",actionLabel:"+48 732 123 213",icon:ss,href:"tel:+48732123213"},{title:"Visit a branch",description:"Find your nearest location",actionLabel:"Find branches",icon:jt,href:"/contact"}],lB=[{label:"Account opening",icon:Ot},{label:"Credit cards",icon:as},{label:"Security",icon:zs},{label:"Mobile banking",icon:Ft}],uB=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:162,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:167,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:168,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-12 md:py-16 lg:py-24",children:t.jsxDEV("div",{className:"max-w-3xl space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Support"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:171,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Answers to frequently asked questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:174,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Find quick answers to common questions about our services, accounts, and banking solutions."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:177,columnNumber:15},void 0),t.jsxDEV("div",{className:"relative mt-8",children:[t.jsxDEV(hl,{className:"absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 text-muted-foreground"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:181,columnNumber:17},void 0),t.jsxDEV("input",{type:"search",placeholder:"Search frequently asked questions...",className:"w-full rounded-full border border-white/20 bg-white/10 px-12 py-3 text-white placeholder:text-white/60 focus:border-white/40 focus:outline-none focus:ring-2 focus:ring-white/20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:182,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:180,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:170,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:169,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:165,columnNumber:9},void 0),t.jsxDEV(Ts,{items:tB,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:192,columnNumber:9},void 0),t.jsxDEV("section",{id:"general",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-8 px-4",children:[t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV(Cu,{className:"h-8 w-8 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:197,columnNumber:15},void 0),t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"General"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:198,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:196,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:aB.map(({question:e,answer:s},a)=>t.jsxDEV(F,{className:"border-emerald-100 bg-emerald-50/40",children:t.jsxDEV(Ci,{type:"single",collapsible:!0,children:t.jsxDEV(In,{value:`general-${a}`,className:"border-0",children:[t.jsxDEV($n,{className:"group px-6 py-5 text-left font-medium text-emerald-900 hover:no-underline",children:t.jsxDEV("span",{className:"flex w-full items-center justify-between gap-3",children:[e,t.jsxDEV(_e,{className:"h-5 w-5 text-emerald-600 transition-transform duration-200 group-data-[state=open]:translate-x-1 group-data-[state=open]:rotate-90"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:208,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:206,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:205,columnNumber:23},void 0),t.jsxDEV(Fn,{className:"px-6 pb-5 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:211,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:204,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:203,columnNumber:19},void 0)},e,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:202,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:200,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:195,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:194,columnNumber:9},void 0),t.jsxDEV("section",{id:"accounts",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-8 px-4",children:[t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV(Ot,{className:"h-8 w-8 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:225,columnNumber:15},void 0),t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:226,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:224,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:nB.map(({question:e,answer:s},a)=>t.jsxDEV(F,{className:"border-emerald-100 bg-white",children:t.jsxDEV(Ci,{type:"single",collapsible:!0,children:t.jsxDEV(In,{value:`account-${a}`,className:"border-0",children:[t.jsxDEV($n,{className:"group px-6 py-5 text-left font-medium text-emerald-900 hover:no-underline",children:t.jsxDEV("span",{className:"flex w-full items-center justify-between gap-3",children:[e,t.jsxDEV(_e,{className:"h-5 w-5 text-emerald-600 transition-transform duration-200 group-data-[state=open]:translate-x-1 group-data-[state=open]:rotate-90"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:236,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:234,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:233,columnNumber:23},void 0),t.jsxDEV(Fn,{className:"px-6 pb-5 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:239,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:232,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:231,columnNumber:19},void 0)},e,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:230,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:228,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:223,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:222,columnNumber:9},void 0),t.jsxDEV("section",{id:"banking",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-8 px-4",children:[t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV(as,{className:"h-8 w-8 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:253,columnNumber:15},void 0),t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Banking Services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:254,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:252,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:iB.map(({question:e,answer:s},a)=>t.jsxDEV(F,{className:"border-emerald-100 bg-emerald-50/40",children:t.jsxDEV(Ci,{type:"single",collapsible:!0,children:t.jsxDEV(In,{value:`banking-${a}`,className:"border-0",children:[t.jsxDEV($n,{className:"group px-6 py-5 text-left font-medium text-emerald-900 hover:no-underline",children:t.jsxDEV("span",{className:"flex w-full items-center justify-between gap-3",children:[e,t.jsxDEV(_e,{className:"h-5 w-5 text-emerald-600 transition-transform duration-200 group-data-[state=open]:translate-x-1 group-data-[state=open]:rotate-90"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:264,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:262,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:261,columnNumber:23},void 0),t.jsxDEV(Fn,{className:"px-6 pb-5 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:267,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:260,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:259,columnNumber:19},void 0)},e,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:258,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:256,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:251,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:250,columnNumber:9},void 0),t.jsxDEV("section",{id:"security",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-8 px-4",children:[t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV(zs,{className:"h-8 w-8 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:281,columnNumber:15},void 0),t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Security"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:282,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:280,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:rB.map(({question:e,answer:s},a)=>t.jsxDEV(F,{className:"border-emerald-100 bg-white",children:t.jsxDEV(Ci,{type:"single",collapsible:!0,children:t.jsxDEV(In,{value:`security-${a}`,className:"border-0",children:[t.jsxDEV($n,{className:"group px-6 py-5 text-left font-medium text-emerald-900 hover:no-underline",children:t.jsxDEV("span",{className:"flex w-full items-center justify-between gap-3",children:[e,t.jsxDEV(_e,{className:"h-5 w-5 text-emerald-600 transition-transform duration-200 group-data-[state=open]:translate-x-1 group-data-[state=open]:rotate-90"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:292,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:290,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:289,columnNumber:23},void 0),t.jsxDEV(Fn,{className:"px-6 pb-5 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:295,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:288,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:287,columnNumber:19},void 0)},e,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:286,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:284,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:279,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:278,columnNumber:9},void 0),t.jsxDEV("section",{id:"help",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Need more help?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:309,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 text-sm text-emerald-800 md:text-base",children:"Our support team is ready to assist you with any questions or concerns."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:310,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:308,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-3",children:oB.map(({title:e,description:s,actionLabel:a,icon:n,href:i})=>t.jsxDEV("div",{className:"flex flex-col gap-3 md:gap-4 rounded-3xl border border-white/20 bg-white/90 p-5 md:p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(n,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:321,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:320,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:323,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:324,columnNumber:19},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-700",asChild:!0,children:i.startsWith("http")||i.startsWith("tel")||i.startsWith("mailto")?t.jsxDEV("a",{href:i,children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:327,columnNumber:23},void 0):t.jsxDEV(I,{to:i,children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:329,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:325,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:316,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:314,columnNumber:13},void 0),t.jsxDEV("div",{className:"rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white",children:[t.jsxDEV("h3",{className:"text-xl font-semibold mb-4",children:"Popular help topics"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:336,columnNumber:15},void 0),t.jsxDEV("div",{className:"grid gap-3 md:grid-cols-2",children:lB.map(({label:e,icon:s})=>t.jsxDEV("div",{className:"flex items-center gap-3 rounded-2xl border border-white/10 bg-white/10 px-4 py-3",children:[t.jsxDEV(s,{className:"h-5 w-5 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:343,columnNumber:21},void 0),t.jsxDEV("span",{className:"text-sm font-medium",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:344,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:339,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:337,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:335,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:307,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:306,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Still have questions?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:355,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Our banking specialists are here to help. Get personalized assistance for your specific needs and discover how Gates Capital Banking can support your financial goals."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:358,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:362,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:365,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:364,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/",children:"Return to home"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:368,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:367,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:363,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:354,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV(pr,{ratio:1,className:"relative",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=800&q=80",alt:"Professional banking consultation",className:"absolute inset-0 h-full w-full object-cover",loading:"lazy",sizes:"(min-width: 1024px) 380px, 90vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:375,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:374,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:373,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:372,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:353,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:352,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:164,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:389,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/FAQs.tsx",lineNumber:161,columnNumber:5},void 0),cB=()=>t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:11,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1 bg-muted/40 py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4 max-w-4xl",children:[t.jsxDEV("div",{className:"text-center mb-8",children:[t.jsxDEV("h1",{className:"text-3xl font-bold text-gatesib-green mb-4",children:"Login Help & Security"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:16,columnNumber:13},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Having trouble signing in? We're here to help you access your account securely."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:17,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:15,columnNumber:11},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Jn,{className:"h-5 w-5 text-gatesib-green"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:26,columnNumber:19},void 0),"Forgotten Password"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:25,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:24,columnNumber:15},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"If you've forgotten your password, you can reset it using your registered email address."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:31,columnNumber:17},void 0),t.jsxDEV(L,{className:"w-full",variant:"outline",asChild:!0,children:t.jsxDEV(I,{to:"/forgot-password",children:"Reset Password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:35,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:34,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:30,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:23,columnNumber:13},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(zs,{className:"h-5 w-5 text-gatesib-green"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:43,columnNumber:19},void 0),"Account Locked"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:42,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:41,columnNumber:15},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"If your account has been locked due to multiple failed login attempts, please contact us."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:48,columnNumber:17},void 0),t.jsxDEV(L,{className:"w-full",variant:"outline",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact Support"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:52,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:51,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:47,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:40,columnNumber:13},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(ss,{className:"h-5 w-5 text-gatesib-green"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:60,columnNumber:19},void 0),"Phone Support"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:59,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:58,columnNumber:15},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Call our customer service team for immediate assistance with your login issues."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:65,columnNumber:17},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("p",{className:"font-semibold",children:"+48 732 123 213"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:69,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-xs text-muted-foreground",children:["Monday - Friday: 8:00 AM - 8:00 PM",t.jsxDEV("br",{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:71,columnNumber:55},void 0),"Saturday: 9:00 AM - 5:00 PM"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:70,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:68,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:64,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:57,columnNumber:13},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(ra,{className:"h-5 w-5 text-gatesib-green"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:81,columnNumber:19},void 0),"Email Support"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:80,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:79,columnNumber:15},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Send us an email and we'll get back to you within 24 hours."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:86,columnNumber:17},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("p",{className:"font-semibold",children:"info@gatescbank.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:90,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-xs text-muted-foreground",children:"Include your client ID and a description of the issue"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:91,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:89,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:85,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:78,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:22,columnNumber:11},void 0),t.jsxDEV(F,{className:"mt-8",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(ut,{className:"h-5 w-5 text-amber-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:102,columnNumber:17},void 0),"Security Tips"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:101,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:100,columnNumber:13},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Keep Your Account Safe"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:109,columnNumber:19},void 0),t.jsxDEV("ul",{className:"text-sm text-muted-foreground space-y-1",children:[t.jsxDEV("li",{children:"• Never share your login credentials"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:111,columnNumber:21},void 0),t.jsxDEV("li",{children:"• Use a strong, unique password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:112,columnNumber:21},void 0),t.jsxDEV("li",{children:"• Log out completely when finished"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:113,columnNumber:21},void 0),t.jsxDEV("li",{children:"• Don't access your account on public computers"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:114,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:110,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:108,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Recognize Fraud"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:118,columnNumber:19},void 0),t.jsxDEV("ul",{className:"text-sm text-muted-foreground space-y-1",children:[t.jsxDEV("li",{children:"• We'll never ask for passwords via email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:120,columnNumber:21},void 0),t.jsxDEV("li",{children:"• Always check the website URL"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:121,columnNumber:21},void 0),t.jsxDEV("li",{children:"• Report suspicious activity immediately"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:122,columnNumber:21},void 0),t.jsxDEV("li",{children:"• Use official app stores for mobile apps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:123,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:119,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:117,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:107,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:106,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:99,columnNumber:11},void 0),t.jsxDEV("div",{className:"text-center mt-8",children:t.jsxDEV(L,{asChild:!0,children:t.jsxDEV(I,{to:"/login",children:"Back to Login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:132,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:131,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:130,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:14,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:13,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:138,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Security.tsx",lineNumber:10,columnNumber:5},void 0),mB=()=>t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:12,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1 bg-muted/40 py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4 max-w-6xl",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h1",{className:"text-4xl font-bold text-gatesib-green mb-4",children:"Gates Capital Banking Mobile Apps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:17,columnNumber:13},void 0),t.jsxDEV("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Bank on the go with our award-winning mobile apps. Secure, fast, and feature-rich banking at your fingertips."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:18,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:16,columnNumber:11},void 0),t.jsxDEV("div",{className:"grid gap-8 lg:grid-cols-2 mb-12",children:[t.jsxDEV(F,{className:"overflow-hidden",children:[t.jsxDEV(z,{className:"bg-gradient-to-r from-blue-50 to-blue-100",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"flex items-center gap-3 text-2xl",children:[t.jsxDEV(Ft,{className:"h-8 w-8 text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:30,columnNumber:23},void 0),"Gates Capital Banking iOS"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:29,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-muted-foreground mt-2",children:"For iPhone and iPad"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:33,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:28,columnNumber:19},void 0),t.jsxDEV(He,{className:"bg-blue-600 text-white",children:"4.8 ★"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:35,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:27,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:26,columnNumber:15},void 0),t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(Wc,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:43,columnNumber:21},void 0),"Over 500K downloads"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:42,columnNumber:19},void 0),t.jsxDEV("ul",{className:"space-y-2 text-sm",children:[t.jsxDEV("li",{className:"flex items-center gap-2",children:[t.jsxDEV(zs,{className:"h-4 w-4 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:48,columnNumber:23},void 0),"Face ID & Touch ID support"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:47,columnNumber:21},void 0),t.jsxDEV("li",{className:"flex items-center gap-2",children:[t.jsxDEV(Cn,{className:"h-4 w-4 text-amber-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:52,columnNumber:23},void 0),"Instant notifications"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:51,columnNumber:21},void 0),t.jsxDEV("li",{className:"flex items-center gap-2",children:[t.jsxDEV(as,{className:"h-4 w-4 text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:56,columnNumber:23},void 0),"Mobile payments & transfers"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:55,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:46,columnNumber:19},void 0),t.jsxDEV("div",{className:"pt-4",children:t.jsxDEV(L,{className:"w-full bg-black text-white hover:bg-gray-800",children:[t.jsxDEV(Wc,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:62,columnNumber:23},void 0),"Download on App Store"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:61,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:60,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:41,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:40,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:25,columnNumber:13},void 0),t.jsxDEV(F,{className:"overflow-hidden",children:[t.jsxDEV(z,{className:"bg-gradient-to-r from-green-50 to-green-100",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"flex items-center gap-3 text-2xl",children:[t.jsxDEV(Ft,{className:"h-8 w-8 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:76,columnNumber:23},void 0),"Gates Capital Banking Android"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:75,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-muted-foreground mt-2",children:"For Android devices"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:79,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:74,columnNumber:19},void 0),t.jsxDEV(He,{className:"bg-green-600 text-white",children:"4.7 ★"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:81,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:73,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:72,columnNumber:15},void 0),t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(Wc,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:89,columnNumber:21},void 0),"Over 750K downloads"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:88,columnNumber:19},void 0),t.jsxDEV("ul",{className:"space-y-2 text-sm",children:[t.jsxDEV("li",{className:"flex items-center gap-2",children:[t.jsxDEV(zs,{className:"h-4 w-4 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:94,columnNumber:23},void 0),"Fingerprint & PIN security"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:93,columnNumber:21},void 0),t.jsxDEV("li",{className:"flex items-center gap-2",children:[t.jsxDEV(Cn,{className:"h-4 w-4 text-amber-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:98,columnNumber:23},void 0),"Real-time balance updates"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:97,columnNumber:21},void 0),t.jsxDEV("li",{className:"flex items-center gap-2",children:[t.jsxDEV(as,{className:"h-4 w-4 text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:102,columnNumber:23},void 0),"Google Pay integration"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:101,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:92,columnNumber:19},void 0),t.jsxDEV("div",{className:"pt-4",children:t.jsxDEV(L,{className:"w-full bg-green-600 text-white hover:bg-green-700",children:[t.jsxDEV(Wc,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:108,columnNumber:23},void 0),"Get it on Google Play"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:107,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:106,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:87,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:86,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:71,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:23,columnNumber:11},void 0),t.jsxDEV("div",{className:"mb-12",children:[t.jsxDEV("h2",{className:"text-2xl font-bold text-center mb-8",children:"Key Features"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:119,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:[{icon:zs,title:"Bank-Grade Security",description:"256-bit encryption and multi-factor authentication"},{icon:Cn,title:"Instant Transfers",description:"Send money instantly to friends and family"},{icon:as,title:"Card Management",description:"Freeze, unfreeze, and manage your cards"},{icon:Cc,title:"Award Winning",description:"Recognized as best banking app 2023"}].map((e,s)=>{const a=e.icon;return t.jsxDEV(F,{className:"text-center",children:t.jsxDEV(B,{className:"pt-6",children:[t.jsxDEV(a,{className:"h-12 w-12 mx-auto mb-4 text-gatesib-green"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:147,columnNumber:23},void 0),t.jsxDEV("h3",{className:"font-semibold mb-2",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:148,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:149,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:146,columnNumber:21},void 0)},s,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:145,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:120,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:118,columnNumber:11},void 0),t.jsxDEV(F,{className:"mb-8",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"System Requirements"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:160,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:159,columnNumber:13},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-3 flex items-center gap-2",children:[t.jsxDEV(Ft,{className:"h-5 w-5 text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:166,columnNumber:21},void 0),"iOS Requirements"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:165,columnNumber:19},void 0),t.jsxDEV("ul",{className:"text-sm text-muted-foreground space-y-1",children:[t.jsxDEV("li",{children:"• iOS 14.0 or later"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:170,columnNumber:21},void 0),t.jsxDEV("li",{children:"• iPhone 6s or newer"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:171,columnNumber:21},void 0),t.jsxDEV("li",{children:"• iPad (5th generation) or newer"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:172,columnNumber:21},void 0),t.jsxDEV("li",{children:"• 100MB free storage space"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:173,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:169,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:164,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-3 flex items-center gap-2",children:[t.jsxDEV(Ft,{className:"h-5 w-5 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:178,columnNumber:21},void 0),"Android Requirements"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:177,columnNumber:19},void 0),t.jsxDEV("ul",{className:"text-sm text-muted-foreground space-y-1",children:[t.jsxDEV("li",{children:"• Android 7.0 (API level 24) or higher"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:182,columnNumber:21},void 0),t.jsxDEV("li",{children:"• 2GB RAM minimum"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:183,columnNumber:21},void 0),t.jsxDEV("li",{children:"• 150MB free storage space"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:184,columnNumber:21},void 0),t.jsxDEV("li",{children:"• Google Play Services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:185,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:181,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:176,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:163,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:162,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:158,columnNumber:11},void 0),t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("p",{className:"text-muted-foreground mb-4",children:"Need help with the mobile app? Visit our support center or contact customer service."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:193,columnNumber:13},void 0),t.jsxDEV("div",{className:"flex gap-4 justify-center",children:[t.jsxDEV(L,{variant:"outline",asChild:!0,children:t.jsxDEV(I,{to:"/support/help",children:"Get Help"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:198,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:197,columnNumber:15},void 0),t.jsxDEV(L,{variant:"outline",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact Us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:201,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:200,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:196,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:192,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:15,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:14,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:208,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/support/Mobile.tsx",lineNumber:11,columnNumber:5},void 0),zN=({title:e,subtitle:s,description:a,ctaPrimary:n,ctaSecondary:i,heroBackgroundImage:r,children:o})=>{const l=(u,c)=>{if(!u)return null;const m={size:"lg",className:c==="primary"?"bg-white text-gatesib-green hover:bg-white/90":me("border-white text-white hover:bg-white/10","bg-transparent"),variant:c==="primary"?"default":"outline"};return u.href?t.jsxDEV(L,{asChild:!0,...m,children:t.jsxDEV("a",{href:u.href,onClick:u.onClick,children:u.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:50,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:49,columnNumber:9},void 0):t.jsxDEV(L,{...m,onClick:u.onClick,children:u.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:58,columnNumber:7},void 0)};return t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:66,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative overflow-hidden",children:[r?t.jsxDEV("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${r})`}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:70,columnNumber:13},void 0):null,t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:75,columnNumber:11},void 0),t.jsxDEV("div",{className:"relative py-16 md:py-24",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl",children:[s?t.jsxDEV("p",{className:"text-sm uppercase tracking-[0.2em] text-white/80",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:80,columnNumber:19},void 0):null,t.jsxDEV("h1",{className:"text-3xl md:text-5xl font-bold text-white mb-4 leading-tight",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:82,columnNumber:17},void 0),a?t.jsxDEV("p",{className:"text-white/90 max-w-2xl text-lg leading-relaxed mb-6",children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:84,columnNumber:19},void 0):null,n||i?t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4",children:[l(n,"primary"),l(i,"secondary")]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:87,columnNumber:19},void 0):null]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:78,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:77,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:76,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:68,columnNumber:9},void 0),t.jsxDEV("section",{className:"py-12 bg-background",children:t.jsxDEV("div",{className:"container mx-auto px-4 max-w-5xl",children:o},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:97,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:96,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:67,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:102,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/DetailPageLayout.tsx",lineNumber:65,columnNumber:5},void 0)},dB=()=>t.jsxDEV(zN,{title:"Privacy Policy",subtitle:"How we collect, use, and protect your information.",children:t.jsxDEV("div",{className:"space-y-8",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(zs,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:16,columnNumber:15},void 0),"Our Commitment to Your Privacy"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:15,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:14,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-muted-foreground",children:"At Gates Capital Banking, we are committed to protecting your privacy and ensuring the security of your personal information. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you use our banking services."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:21,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:20,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:13,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Dr,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:31,columnNumber:15},void 0),"Information We Collect"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:30,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:29,columnNumber:11},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold text-lg mb-2",children:"Personal Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:37,columnNumber:15},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"Name, address, date of birth, and contact information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:39,columnNumber:17},void 0),t.jsxDEV("li",{children:"Government-issued identification numbers"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:40,columnNumber:17},void 0),t.jsxDEV("li",{children:"Employment and income information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:41,columnNumber:17},void 0),t.jsxDEV("li",{children:"Financial information and banking history"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:42,columnNumber:17},void 0),t.jsxDEV("li",{children:"Credit reports and credit scores"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:43,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:38,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:36,columnNumber:13},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold text-lg mb-2",children:"Usage Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:48,columnNumber:15},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"Online banking activity and transaction history"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:50,columnNumber:17},void 0),t.jsxDEV("li",{children:"Device information and IP addresses"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:51,columnNumber:17},void 0),t.jsxDEV("li",{children:"Cookies and similar tracking technologies"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:52,columnNumber:17},void 0),t.jsxDEV("li",{children:"Communication preferences and marketing responses"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:53,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:49,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:47,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:35,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:28,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(IE,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:63,columnNumber:15},void 0),"How We Use Your Information"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:62,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:61,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Service Delivery"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:70,columnNumber:17},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"Process applications and provide banking services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:72,columnNumber:19},void 0),t.jsxDEV("li",{children:"Verify your identity and prevent fraud"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:73,columnNumber:19},void 0),t.jsxDEV("li",{children:"Manage your accounts and transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:74,columnNumber:19},void 0),t.jsxDEV("li",{children:"Provide customer support and assistance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:75,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:71,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:69,columnNumber:15},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Legal Compliance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:79,columnNumber:17},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"Comply with banking regulations and laws"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:81,columnNumber:19},void 0),t.jsxDEV("li",{children:"Report to regulatory authorities as required"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:82,columnNumber:19},void 0),t.jsxDEV("li",{children:"Prevent money laundering and terrorist financing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:83,columnNumber:19},void 0),t.jsxDEV("li",{children:"Meet anti-terrorism and sanctions requirements"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:84,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:80,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:78,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:68,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:67,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:60,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Jn,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:95,columnNumber:15},void 0),"How We Protect Your Information"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:94,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:93,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-3",children:[t.jsxDEV("div",{className:"text-center p-4 bg-emerald-50 rounded-lg",children:[t.jsxDEV(Jn,{className:"h-8 w-8 text-emerald-600 mx-auto mb-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:102,columnNumber:17},void 0),t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Encryption"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:103,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"All data is encrypted using industry-standard SSL/TLS protocols"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:104,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:101,columnNumber:15},void 0),t.jsxDEV("div",{className:"text-center p-4 bg-emerald-50 rounded-lg",children:[t.jsxDEV(zs,{className:"h-8 w-8 text-emerald-600 mx-auto mb-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:107,columnNumber:17},void 0),t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Access Controls"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:108,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Strict access controls and authentication requirements"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:109,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:106,columnNumber:15},void 0),t.jsxDEV("div",{className:"text-center p-4 bg-emerald-50 rounded-lg",children:[t.jsxDEV(Dr,{className:"h-8 w-8 text-emerald-600 mx-auto mb-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:112,columnNumber:17},void 0),t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Monitoring"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:113,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Continuous monitoring and fraud detection systems"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:114,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:111,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:100,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:99,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:92,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Your Privacy Rights"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:123,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:122,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Access and Correction"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:128,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"You have the right to access and correct your personal information. You can update your information through online banking or by contacting us."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:129,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:127,columnNumber:15},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Data Portability"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:132,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"You can request a copy of your data in a structured, machine-readable format."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:133,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:131,columnNumber:15},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Marketing Preferences"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:136,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"You can opt out of marketing communications at any time by updating your preferences or contacting us."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:137,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:135,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:126,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:125,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:121,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Cookies and Tracking Technologies"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:146,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:145,columnNumber:11},void 0),t.jsxDEV(B,{children:[t.jsxDEV("p",{className:"text-muted-foreground mb-4",children:"We use cookies and similar technologies to enhance your banking experience, analyze usage patterns, and provide personalized services. You can manage cookie preferences through your browser settings."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:149,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Essential Cookies"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:154,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Required for basic banking functionality and security"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:155,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:153,columnNumber:15},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Analytics Cookies"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:158,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Help us understand how you use our services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:159,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:157,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:152,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:148,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:144,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Vn,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:169,columnNumber:15},void 0),"International Data Transfers"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:168,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:167,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-muted-foreground",children:"Some of your information may be transferred to and processed in countries outside the European Economic Area. We ensure appropriate safeguards are in place to protect your data in accordance with applicable data protection laws."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:174,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:173,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:166,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(ra,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:184,columnNumber:15},void 0),"Contact Us"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:183,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:182,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-muted-foreground",children:"If you have questions about this Privacy Policy or how we handle your personal information, please contact us:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:190,columnNumber:15},void 0),t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-2",children:t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Data Protection Officer"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:195,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Email: privacy@gatescbank.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:196,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Phone: +48 732 123 213"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:197,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Fax: +48 732 123 123"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:198,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Email: info@gatescbank.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:199,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Website: www.gatescbank.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:200,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:194,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:193,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:189,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:188,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:181,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Updates to This Policy"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:212,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:211,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-muted-foreground",children:"We may update this Privacy Policy from time to time to reflect changes in our practices or applicable laws. We will notify you of any material changes through our website or by email. The effective date of this policy is January 1, 2025."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:215,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:214,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:210,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:11,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Privacy.tsx",lineNumber:7,columnNumber:5},void 0),bB=()=>t.jsxDEV(zN,{title:"Terms & Conditions",subtitle:"Terms of service and conditions of use.",children:t.jsxDEV("div",{className:"space-y-8",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Ot,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:16,columnNumber:15},void 0),"Agreement to Terms"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:15,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:14,columnNumber:11},void 0),t.jsxDEV(B,{children:"By accessing and using Gates bank's services, you agree to be bound by these Terms and Conditions. If you do not agree to these terms, please do not use our services."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:20,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:13,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Cs,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:29,columnNumber:15},void 0),"Account Terms and Eligibility"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:28,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:27,columnNumber:11},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold text-lg mb-2",children:"Eligibility Requirements"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:35,columnNumber:15},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"You must be at least 18 years old to open an account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:37,columnNumber:17},void 0),t.jsxDEV("li",{children:"You must be a legal resident of a supported jurisdiction"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:38,columnNumber:17},void 0),t.jsxDEV("li",{children:"You must provide accurate and complete information during application"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:39,columnNumber:17},void 0),t.jsxDEV("li",{children:"You must not be prohibited from banking services by law or regulation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:40,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:36,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:34,columnNumber:13},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold text-lg mb-2",children:"Account Responsibilities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:45,columnNumber:15},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"Maintain accurate and up-to-date account information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:47,columnNumber:17},void 0),t.jsxDEV("li",{children:"Keep your login credentials secure and confidential"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:48,columnNumber:17},void 0),t.jsxDEV("li",{children:"Monitor your account regularly for unauthorized activity"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:49,columnNumber:17},void 0),t.jsxDEV("li",{children:"Report any suspicious activity immediately"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:50,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:46,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:44,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:33,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:26,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Banking Services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:59,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:58,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Account Services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:64,columnNumber:17},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"Personal and business checking accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:66,columnNumber:19},void 0),t.jsxDEV("li",{children:"Savings and investment accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:67,columnNumber:19},void 0),t.jsxDEV("li",{children:"Online and mobile banking access"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:68,columnNumber:19},void 0),t.jsxDEV("li",{children:"ATM and debit card services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:69,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:65,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:63,columnNumber:15},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Lending Services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:73,columnNumber:17},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"Personal and business loans"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:75,columnNumber:19},void 0),t.jsxDEV("li",{children:"Home mortgages and refinancing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:76,columnNumber:19},void 0),t.jsxDEV("li",{children:"Credit cards and lines of credit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:77,columnNumber:19},void 0),t.jsxDEV("li",{children:"Agricultural and rural lending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:78,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:74,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:72,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:62,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:61,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:57,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(zs,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:89,columnNumber:15},void 0),"User Responsibilities and Prohibited Activities"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:88,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:87,columnNumber:11},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold text-lg mb-2",children:"Prohibited Activities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:95,columnNumber:15},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"Money laundering or terrorist financing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:97,columnNumber:17},void 0),t.jsxDEV("li",{children:"Fraudulent or illegal transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:98,columnNumber:17},void 0),t.jsxDEV("li",{children:"Unauthorized access to other accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:99,columnNumber:17},void 0),t.jsxDEV("li",{children:"Violation of applicable laws and regulations"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:100,columnNumber:17},void 0),t.jsxDEV("li",{children:"Harassment or abuse of bank staff or systems"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:101,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:96,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:94,columnNumber:13},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold text-lg mb-2",children:"Security Requirements"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:106,columnNumber:15},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"Use strong, unique passwords for all accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:108,columnNumber:17},void 0),t.jsxDEV("li",{children:"Enable two-factor authentication when available"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:109,columnNumber:17},void 0),t.jsxDEV("li",{children:"Keep your contact information current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:110,columnNumber:17},void 0),t.jsxDEV("li",{children:"Report lost or stolen cards immediately"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:111,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:107,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:105,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:93,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:86,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Xs,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:121,columnNumber:15},void 0),"Fees and Charges"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:120,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:119,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-muted-foreground",children:"We may charge fees for various services as outlined in our fee schedule. All fees are disclosed at the time of account opening and in our fee schedule, which is available online and at our branches."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:127,columnNumber:15},void 0),t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Common Fees"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:132,columnNumber:19},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"Monthly account maintenance fees"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:134,columnNumber:21},void 0),t.jsxDEV("li",{children:"Transaction fees for certain services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:135,columnNumber:21},void 0),t.jsxDEV("li",{children:"Overdraft and insufficient funds fees"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:136,columnNumber:21},void 0),t.jsxDEV("li",{children:"Wire transfer and international fees"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:137,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:133,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:131,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Fee Changes"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:141,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"We may change our fees with 30 days' notice. Fee changes will be communicated through your preferred contact method and posted on our website."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:142,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:140,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:130,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:126,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:125,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:118,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(nA,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:155,columnNumber:15},void 0),"Liability Limitations and Disclaimers"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:154,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:153,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Limitation of Liability"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:162,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Our liability for any claims arising from our services is limited to the amount of fees you have paid us in the 12 months preceding the claim, or the actual damages suffered, whichever is less."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:163,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:161,columnNumber:15},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Service Availability"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:168,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"While we strive to provide continuous service availability, we do not guarantee uninterrupted access to our online banking services. We are not liable for service interruptions due to maintenance, technical issues, or circumstances beyond our control."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:169,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:167,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:160,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:159,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:152,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(eA,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:181,columnNumber:15},void 0),"Dispute Resolution and Governing Law"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:180,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:179,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Governing Law"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:188,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"These terms are governed by applicable laws. Any disputes will be resolved through standard legal processes."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:189,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:187,columnNumber:15},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Dispute Resolution Process"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:194,columnNumber:17},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"First, contact our customer service to resolve the issue"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:196,columnNumber:19},void 0),t.jsxDEV("li",{children:"If unresolved, you may file a complaint with the platform administrators"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:197,columnNumber:19},void 0),t.jsxDEV("li",{children:"Mediation and arbitration options are available for certain disputes"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:198,columnNumber:19},void 0),t.jsxDEV("li",{children:"Legal action may be taken as a last resort"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:199,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:195,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:193,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:186,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:185,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:178,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Termination and Suspension"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:209,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:208,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Account Termination"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:214,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Either party may terminate the banking relationship with 30 days' written notice. We may immediately suspend or terminate accounts for violations of these terms or suspicious activity."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:215,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:213,columnNumber:15},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Effect of Termination"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:220,columnNumber:17},void 0),t.jsxDEV("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground",children:[t.jsxDEV("li",{children:"All outstanding balances become immediately due"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:222,columnNumber:19},void 0),t.jsxDEV("li",{children:"Access to online banking services is revoked"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:223,columnNumber:19},void 0),t.jsxDEV("li",{children:"Cards and checks must be returned or destroyed"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:224,columnNumber:19},void 0),t.jsxDEV("li",{children:"Final account statements will be provided"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:225,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:221,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:219,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:212,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:211,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:207,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Intellectual Property Rights"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:235,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:234,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-muted-foreground",children:"All content, trademarks, logos, and intellectual property on our website and in our services are owned by Gates bank or our licensors. You may not use, copy, or distribute our intellectual property without written permission."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:238,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:237,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:233,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Changes to Terms"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:247,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:246,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-muted-foreground",children:"We may modify these terms at any time. Material changes will be communicated through your preferred contact method with at least 30 days' notice. Continued use of our services after changes constitutes acceptance of the new terms."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:250,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:249,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:245,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(ss,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:260,columnNumber:15},void 0),"Contact Information"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:259,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:258,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-muted-foreground",children:"For questions about these Terms and Conditions, please contact us:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:266,columnNumber:15},void 0),t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Customer Service"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:271,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Phone: +48 732 123 213"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:272,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Fax: +48 732 123 123"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:273,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Email: info@gatescbank.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:274,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Website: gatescbank.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:275,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:270,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"font-semibold mb-2",children:"Legal Department"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:279,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Email: legal@gatescbank.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:280,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:278,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:269,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:265,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:264,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:257,columnNumber:9},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Effective Date"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:291,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:290,columnNumber:11},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-muted-foreground",children:"These Terms and Conditions are effective as of January 1, 2025, and apply to all banking relationships established on or after this date."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:294,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:293,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:289,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:11,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/legal/Terms.tsx",lineNumber:7,columnNumber:5},void 0),fB=[{label:"Account types",href:"#products"},{label:"Benefits",href:"#benefits"},{label:"Features",href:"#features"},{label:"How to apply",href:"#process"},{label:"Contact us",href:"/contact"}],gB=[{title:"Streamline Account",description:"Perfect for everyday transactions with no monthly fees and unlimited transactions",monthlyFee:"€0",interestRate:"0.01% p.a.",features:["No monthly account fees","Unlimited transactions","Free EFTPOS","Online & mobile banking","ATM access","Direct debit"],icon:as,popular:!1},{title:"Omni Account",description:"Flexible account with optional overdraft and premium features for active users",monthlyFee:"€10",interestRate:"0.05% p.a.",features:["Overdraft options","Premium card options","Interest on balances","Priority customer service","Higher transaction limits","Travel insurance"],icon:Cc,popular:!0},{title:"Savings Account",description:"Grow your savings with competitive interest rates and easy access to funds",monthlyFee:"€0",interestRate:"4.25% p.a.",features:["Competitive interest rates","No withdrawal fees","Online savings goals","Automatic transfers","Bonus interest tiers","Mobile app integration"],icon:Da,popular:!1},{title:"Premium Savings",description:"Maximum interest account for serious savers with higher balance requirements",monthlyFee:"€0",interestRate:"4.75% p.a.",features:["Higher interest rates","Bonus interest eligible","No withdrawal restrictions","Dedicated savings advisor","Advanced budgeting tools","Priority support"],icon:Ke,popular:!1}],pB=[{title:"No hidden fees",description:"Transparent pricing with no unexpected charges or hidden costs",icon:mt},{title:"Easy access",description:"Access your money 24/7 through online banking, mobile app, and ATM network",icon:xa},{title:"Secure banking",description:"Advanced security features including biometric login and real-time notifications",icon:Cn},{title:"Expert support",description:"Get help from our friendly customer service team whenever you need it",icon:Cs}],hB=[{title:"Online banking",description:"Manage your accounts, pay bills, and transfer money from anywhere"},{title:"Mobile banking app",description:"Bank on the go with our feature-rich mobile app and biometric security"},{title:"ATM network",description:"Access to thousands of ATMs nationwide with no fees at selected locations"},{title:"Direct debit",description:"Set up automatic payments for bills and regular transfers"},{title:"Real-time notifications",description:"Stay informed with instant alerts for transactions and account activity"},{title:"Budgeting tools",description:"Track spending, set savings goals, and manage your finances effectively"}],$G=[{step:"01",title:"Choose your account",description:"Select the account type that best fits your banking needs and lifestyle",icon:wt},{step:"02",title:"Complete application",description:"Fill out our simple online application with your personal details",icon:Se},{step:"03",title:"Verify identity",description:"Upload your ID documents and complete the verification process",icon:js},{step:"04",title:"Start banking",description:"Receive your account details and begin banking immediately",icon:Pr}],vB=[{title:"Compare accounts",description:"Use our comparison tool to find the perfect account",actionLabel:"Compare now",href:"/personal/accounts#products",icon:Se},{title:"Apply online",description:"Complete your application in under 10 minutes",actionLabel:"Apply now",href:"/contact",icon:js},{title:"Speak to an expert",description:"Get personalized advice from our banking specialists",actionLabel:"Call us",href:"tel:1300555222",icon:ss}],NB=()=>t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:186,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-600 via-emerald-700 to-emerald-800",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-[url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80')] bg-cover bg-center bg-no-repeat opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:190,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-600/90 via-emerald-700/80 to-emerald-800/70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:191,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-16 md:py-20 lg:py-24 relative z-10",children:t.jsxDEV("div",{className:"grid gap-8 lg:grid-cols-2 lg:gap-12 items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Personal accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:196,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight text-white md:text-5xl",children:"Personal accounts for everyday banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:199,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Choose from a range of personal accounts designed for your lifestyle. From everyday transactions to high-interest savings, find the perfect account with low fees and easy access."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:202,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/register",children:"Open account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:207,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:206,columnNumber:19},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/personal/accounts#products",children:"Compare accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:210,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:209,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:205,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:195,columnNumber:15},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80",alt:"Personal banking accounts and financial planning",className:"h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:215,columnNumber:17},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:222,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:214,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:194,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:193,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:189,columnNumber:9},void 0),t.jsxDEV(Ts,{items:fB,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:228,columnNumber:9},void 0),t.jsxDEV("section",{id:"products",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Personal account options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:233,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Choose from our comprehensive range of personal accounts designed to meet your everyday banking needs and financial goals."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:236,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:232,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:gB.map(e=>t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:245,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:244,columnNumber:21},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:251,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:250,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:254,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:255,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:253,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:249,columnNumber:21},void 0),t.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Monthly fee"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:260,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.monthlyFee},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:261,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:259,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Interest rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:264,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.interestRate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:265,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:263,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:258,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:248,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Key features:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:271,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(s=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(js,{className:"h-4 w-4 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:275,columnNumber:29},void 0),s]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:274,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:272,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:270,columnNumber:21},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/register",children:"Open account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:282,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:281,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:269,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:242,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:240,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:231,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:230,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why choose Gates Capital Banking accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:294,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our personal accounts offer competitive rates, low fees, and exceptional service to help you manage your money effectively."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:297,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:293,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:pB.map(e=>t.jsxDEV("div",{className:"space-y-4 rounded-2xl bg-white p-6 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:305,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:304,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:308,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:309,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:307,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:303,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:301,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:292,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:291,columnNumber:9},void 0),t.jsxDEV("section",{id:"features",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Account features"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:320,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"All our personal accounts come with a comprehensive suite of features to make banking simple and convenient."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:323,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:319,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:hB.map(e=>t.jsxDEV("div",{className:"space-y-4 rounded-2xl border border-emerald-100 bg-emerald-50/50 p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(js,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:331,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:330,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:334,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:335,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:333,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:329,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:327,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:318,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:317,columnNumber:9},void 0),t.jsxDEV("section",{id:"process",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How to open a personal account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:346,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Opening an account with Gates Capital Banking is quick and easy. Follow these simple steps to get started."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:349,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:345,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:$G.map((e,s)=>t.jsxDEV("div",{className:"relative space-y-4 text-center",children:[t.jsxDEV("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV("span",{className:"text-lg font-bold",children:e.step},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:357,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:356,columnNumber:19},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:360,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:361,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:359,columnNumber:19},void 0),s<$G.length-1&&t.jsxDEV("div",{className:"absolute left-1/2 top-8 hidden h-px w-full -translate-x-1/2 bg-emerald-200 md:block"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:364,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:355,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:353,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:344,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:343,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4 py-16",children:t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Ready to open an account?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:375,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Customers around the world trust Gates Capital Banking for their everyday banking needs. Open your account today and start enjoying great rates and exceptional service."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:376,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:vB.map(e=>t.jsxDEV("div",{className:"flex items-center gap-4 rounded-2xl border border-white/10 bg-white/10 p-4",children:[t.jsxDEV(e.icon,{className:"h-6 w-6 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:385,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("p",{className:"text-sm font-medium",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:387,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-xs text-emerald-100",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:388,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:386,columnNumber:21},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-amber-300",asChild:!0,children:e.href.startsWith("http")||e.href.startsWith("tel")||e.href.startsWith("mailto")?t.jsxDEV("a",{href:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:392,columnNumber:25},void 0):t.jsxDEV(I,{to:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:394,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:390,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:381,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:379,columnNumber:15},void 0),t.jsxDEV(L,{className:"w-full bg-amber-400 text-black hover:bg-amber-300",asChild:!0,children:t.jsxDEV(I,{to:"/register",children:"Open your account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:401,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:400,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:374,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:373,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:372,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Need help choosing an account?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:410,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Our personal banking specialists are here to help you find the perfect account for your needs. Whether you're saving for a goal or managing everyday expenses, we have the right solution."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:413,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:416,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Speak to an expert"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:419,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:418,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/personal/accounts#products",children:"Compare accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:422,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:421,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:417,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:409,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Personal banking specialist",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:428,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:427,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:426,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:408,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:407,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:188,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:439,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Accounts.tsx",lineNumber:185,columnNumber:5},void 0),xB=[{label:"Loan products",href:"#products"},{label:"Benefits",href:"#benefits"},{label:"Interest rates",href:"#rates"},{label:"Features",href:"#features"},{label:"How to apply",href:"#process"},{label:"Contact us",href:"/contact"}],DB=[{title:"Fixed Rate Home Loan",description:"Lock in your interest rate for certainty and peace of mind with fixed terms",interestRate:"From 5.79% p.a.",comparisonRate:"5.95% p.a.",features:["Fixed rates from 1 to 5 years","Budget certainty","Protection from rate rises","Flexible loan terms","No break costs","Rate lock option"],icon:mt,popular:!0},{title:"Variable Rate Home Loan",description:"Flexibility to make extra repayments and access features like offset accounts",interestRate:"From 5.49% p.a.",comparisonRate:"5.63% p.a.",features:["Offset and redraw options","Unlimited extra repayments","Rate may decrease","Flexible features","100% offset account","Redraw facility"],icon:Ke,popular:!1},{title:"First Home Buyer Package",description:"Lower deposit options and reduced fees to help you into your first home",interestRate:"From 5.69% p.a.",comparisonRate:"5.85% p.a.",features:["Deposit options from 5%","LMI discounts available","Dedicated first-home specialist","Government grant guidance","No application fee","First home buyer seminars"],icon:Rt,popular:!1},{title:"Refinance & Save",description:"Switch your mortgage and unlock a sharper rate plus cashback offers",interestRate:"From 5.59% p.a.",comparisonRate:"5.75% p.a.",features:["Break-cost assessment support","We handle the paperwork","Potential cashback on settlement","Consolidate debts option","Free valuation","Discharge of mortgage"],icon:Xs,popular:!1}],GB=[{title:"Competitive rates",description:"Market-leading interest rates that help reduce your borrowing costs and improve cash flow",icon:pl},{title:"Flexible terms",description:"Choose from various loan terms and repayment options to match your financial goals",icon:xa},{title:"Expert guidance",description:"Work with experienced home loan specialists who understand your needs and goals",icon:Cs},{title:"Fast approval",description:"Streamlined application process with quick decisions to keep your purchase on track",icon:Cn}],yB=[{title:"Offset accounts",description:"Offset your savings against your loan balance to reduce interest charges"},{title:"Extra repayments",description:"Make additional payments without penalties to pay off your loan faster"},{title:"Redraw facility",description:"Access extra payments you've made if you need funds in the future"},{title:"Loan portability",description:"Transfer your loan to a new property without additional fees or charges"},{title:"Rate lock",description:"Lock in your interest rate for up to 90 days while you find your perfect home"},{title:"Top-up options",description:"Access additional funds for renovations or other needs as your equity grows"}],CB=[{loanType:"Variable Rate",rate:"5.49% p.a.",comparisonRate:"5.63% p.a.",features:"Offset account, redraw facility"},{loanType:"1 Year Fixed",rate:"5.79% p.a.",comparisonRate:"5.95% p.a.",features:"Rate certainty, budget protection"},{loanType:"2 Year Fixed",rate:"5.89% p.a.",comparisonRate:"6.05% p.a.",features:"Rate certainty, budget protection"},{loanType:"3 Year Fixed",rate:"5.99% p.a.",comparisonRate:"6.15% p.a.",features:"Rate certainty, budget protection"},{loanType:"5 Year Fixed",rate:"6.19% p.a.",comparisonRate:"6.35% p.a.",features:"Long-term certainty, budget protection"}],kB=[{feature:"Interest rate",fixed:"5.79% p.a.",variable:"5.49% p.a.",firstHome:"5.69% p.a.",refinance:"5.59% p.a."},{feature:"Comparison rate",fixed:"5.95% p.a.",variable:"5.63% p.a.",firstHome:"5.85% p.a.",refinance:"5.75% p.a."},{feature:"Offset account",fixed:"Available",variable:"Available",firstHome:"Available",refinance:"Available"},{feature:"Extra repayments",fixed:"Limited",variable:"Unlimited",firstHome:"Unlimited",refinance:"Unlimited"},{feature:"Redraw facility",fixed:"Available",variable:"Available",firstHome:"Available",refinance:"Available"},{feature:"Cashback offer",fixed:"Not available",variable:"Not available",firstHome:"Not available",refinance:"Up to €3,000"}],FG=[{step:"01",title:"Get pre-approved",description:"Find out how much you can borrow and strengthen your buying position",icon:wt},{step:"02",title:"Find your property",description:"Search for your dream home with confidence in your budget",icon:Rt},{step:"03",title:"Submit application",description:"Complete your formal loan application with all supporting documents",icon:Se},{step:"04",title:"Settlement",description:"Finalize your loan and move into your new home",icon:Pr}],EB=[{title:"Calculate repayments",description:"Use our home loan calculator to estimate your monthly payments",actionLabel:"Try calculator",href:"/calculators/home-loans",icon:Se},{title:"Get pre-approved",description:"Find out how much you can borrow before you start house hunting",actionLabel:"Get pre-approved",href:"/contact",icon:js},{title:"Speak to a specialist",description:"Get personalized advice from our experienced home loan experts",actionLabel:"Call us",href:"tel:1300555222",icon:ss}],LB=()=>t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:263,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-600 via-emerald-700 to-emerald-800",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-[url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80')] bg-cover bg-center bg-no-repeat opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:267,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-600/90 via-emerald-700/80 to-emerald-800/70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:268,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-16 md:py-20 lg:py-24 relative z-10",children:t.jsxDEV("div",{className:"grid gap-8 lg:grid-cols-2 lg:gap-12 items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Home loans"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:273,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight text-white md:text-5xl",children:"Home loans to make your dreams reality"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:276,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Get competitive rates and flexible terms to help you buy your dream home. From first home buyers to refinancers, we have the perfect loan solution."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:279,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:284,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:283,columnNumber:19},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/calculators/home-loans",children:"Calculate payments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:287,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:286,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:282,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:272,columnNumber:15},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80",alt:"Home loans and property financing",className:"h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:292,columnNumber:17},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:299,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:291,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:271,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:270,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:266,columnNumber:9},void 0),t.jsxDEV(Ts,{items:xB,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:305,columnNumber:9},void 0),t.jsxDEV("section",{id:"products",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Home loan options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:310,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Choose from our comprehensive range of home loans designed to suit different needs, from first home buyers to property investors."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:313,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:309,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:DB.map(e=>t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:322,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:321,columnNumber:21},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:328,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:327,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:331,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:332,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:330,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:326,columnNumber:21},void 0),t.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Interest rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:337,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.interestRate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:338,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:336,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Comparison rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:341,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.comparisonRate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:342,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:340,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:335,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:325,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Key features:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:348,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(s=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(js,{className:"h-4 w-4 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:352,columnNumber:29},void 0),s]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:351,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:349,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:347,columnNumber:21},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:359,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:358,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:346,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:319,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:317,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:308,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:307,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why choose Gates Capital Banking home loans"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:371,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our home loans offer competitive rates, flexible features, and exceptional service to help you achieve your property goals."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:374,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:370,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:GB.map(e=>t.jsxDEV("div",{className:"space-y-4 rounded-2xl bg-white p-6 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:382,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:381,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:385,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:386,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:384,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:380,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:378,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:369,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:368,columnNumber:9},void 0),t.jsxDEV("section",{id:"rates",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Current interest rates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:397,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our competitive rates are designed to make home ownership more affordable. All rates are current as of today and subject to change."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:400,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:396,columnNumber:13},void 0),t.jsxDEV("div",{className:"mx-auto max-w-4xl",children:[t.jsxDEV("div",{className:"space-y-4",children:CB.map((e,s)=>t.jsxDEV("div",{className:"rounded-2xl border border-emerald-100 bg-emerald-50/50 p-6",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.loanType},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:410,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.features},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:411,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:409,columnNumber:23},void 0),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.rate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:414,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:["Comparison: ",e.comparisonRate]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:415,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:413,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:408,columnNumber:21},void 0)},e.loanType,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:407,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:405,columnNumber:15},void 0),t.jsxDEV("div",{className:"mt-6 rounded-2xl bg-amber-50 p-4",children:t.jsxDEV("p",{className:"text-sm text-amber-800",children:[t.jsxDEV("strong",{children:"Important:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:423,columnNumber:19},void 0)," Interest rates are indicative only and subject to change. Final rates depend on your credit assessment, loan amount, and term. Comparison rates include all fees and charges."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:422,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:421,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:404,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:395,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:394,columnNumber:9},void 0),t.jsxDEV("section",{id:"features",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Loan features"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:433,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"All our home loans come with flexible features designed to help you pay off your loan faster and save money."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:436,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:432,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:yB.map(e=>t.jsxDEV("div",{className:"space-y-4 rounded-2xl border border-emerald-100 bg-emerald-50/50 p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(js,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:444,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:443,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:447,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:448,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:446,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:442,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:440,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:431,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:430,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Compare home loan options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:459,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Find the perfect loan for your needs with our detailed comparison of features and benefits."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:462,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:458,columnNumber:13},void 0),t.jsxDEV("div",{className:"mx-auto max-w-5xl",children:[t.jsxDEV("div",{className:"overflow-x-auto rounded-2xl border border-emerald-100 bg-white shadow-lg",children:t.jsxDEV("table",{className:"min-w-full text-left",children:[t.jsxDEV("thead",{className:"bg-emerald-700 text-white",children:t.jsxDEV("tr",{children:[t.jsxDEV("th",{className:"p-4 rounded-tl-2xl font-semibold",children:"Feature"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:471,columnNumber:23},void 0),t.jsxDEV("th",{className:"p-4 font-semibold",children:"Fixed Rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:472,columnNumber:23},void 0),t.jsxDEV("th",{className:"p-4 font-semibold",children:"Variable Rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:473,columnNumber:23},void 0),t.jsxDEV("th",{className:"p-4 font-semibold",children:"First Home"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:474,columnNumber:23},void 0),t.jsxDEV("th",{className:"p-4 rounded-tr-2xl font-semibold",children:"Refinance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:475,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:470,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:469,columnNumber:19},void 0),t.jsxDEV("tbody",{className:"divide-y divide-emerald-100",children:kB.map((e,s)=>t.jsxDEV("tr",{className:`text-gray-700 hover:bg-emerald-50/50 transition-colors ${s%2===0?"bg-white":"bg-emerald-25"}`,children:[t.jsxDEV("td",{className:"p-4 font-medium text-emerald-900",children:e.feature},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:481,columnNumber:25},void 0),t.jsxDEV("td",{className:"p-4 text-center font-semibold",children:e.fixed},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:482,columnNumber:25},void 0),t.jsxDEV("td",{className:"p-4 text-center font-semibold",children:e.variable},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:483,columnNumber:25},void 0),t.jsxDEV("td",{className:"p-4 text-center font-semibold",children:e.firstHome},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:484,columnNumber:25},void 0),t.jsxDEV("td",{className:"p-4 text-center font-semibold",children:e.refinance},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:485,columnNumber:25},void 0)]},e.feature,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:480,columnNumber:23},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:478,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:468,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:467,columnNumber:15},void 0),t.jsxDEV("div",{className:"mt-6 text-center",children:t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply for your preferred loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:493,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:492,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:491,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:466,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:457,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:456,columnNumber:9},void 0),t.jsxDEV("section",{id:"process",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How to apply for a home loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:503,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our streamlined application process makes it easy to get approved for the home loan that fits your needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:506,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:502,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:FG.map((e,s)=>t.jsxDEV("div",{className:"relative space-y-4 text-center",children:[t.jsxDEV("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV("span",{className:"text-lg font-bold",children:e.step},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:514,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:513,columnNumber:19},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:517,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:518,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:516,columnNumber:19},void 0),s<FG.length-1&&t.jsxDEV("div",{className:"absolute left-1/2 top-8 hidden h-px w-full -translate-x-1/2 bg-emerald-200 md:block"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:521,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:512,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:510,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:501,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:500,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4 py-16",children:t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Ready to buy your dream home?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:532,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Our home loan specialists are here to help you find the right loan and guide you through every step of the process."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:533,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:EB.map(e=>t.jsxDEV("div",{className:"flex items-center gap-4 rounded-2xl border border-white/10 bg-white/10 p-4",children:[t.jsxDEV(e.icon,{className:"h-6 w-6 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:542,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("p",{className:"text-sm font-medium",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:544,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-xs text-emerald-100",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:545,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:543,columnNumber:21},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-amber-300",asChild:!0,children:e.href.startsWith("http")||e.href.startsWith("tel")||e.href.startsWith("mailto")?t.jsxDEV("a",{href:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:549,columnNumber:25},void 0):t.jsxDEV(I,{to:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:551,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:547,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:538,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:536,columnNumber:15},void 0),t.jsxDEV(L,{className:"w-full bg-amber-400 text-black hover:bg-amber-300",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:558,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:557,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:531,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:530,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:529,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Need help with your home loan?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:567,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Whether you're a first home buyer, looking to refinance, or investing in property, our experienced home loan specialists are here to help you find the perfect solution for your needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:570,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:573,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Speak to a specialist"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:576,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:575,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/calculators/home-loans",children:"Calculate repayments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:579,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:578,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:574,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:566,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Home loan specialist",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:585,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:584,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:583,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:565,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:564,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:265,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:596,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/HomeLoans.tsx",lineNumber:262,columnNumber:5},void 0),jB=[{label:"Card types",href:"#products"},{label:"Benefits",href:"#benefits"},{label:"Features",href:"#features"},{label:"Comparison",href:"#comparison"},{label:"How to apply",href:"#process"},{label:"Contact us",href:"/contact"}],wB=[{title:"Rewards Card",description:"Earn points on everyday purchases with our premium rewards program",annualFee:"$0",interestRate:"19.99% p.a.",features:["Earn 1 point per $1 spent","Bonus points on dining & travel","Travel insurance included","Mobile wallet ready","Contactless payments","24/7 fraud protection"],icon:TE,popular:!0,highlights:["100k bonus points","$0 annual fee","Travel insurance"]},{title:"Low Rate Card",description:"Competitive interest rates with no annual fees for responsible spending",annualFee:"$0",interestRate:"12.99% p.a.",features:["Low interest rate","No annual fee","Credit building features","Mobile app access","Zero liability protection","Purchase protection"],icon:pl,popular:!1,highlights:["12.99% p.a.","$0 annual fee","Credit building"]},{title:"Premium Card",description:"Exclusive benefits and higher credit limits for our valued customers",annualFee:"$199",interestRate:"18.99% p.a.",features:["Higher credit limits","Premium travel benefits","Priority customer service","Lounge access","Concierge service","Extended warranty"],icon:Cc,popular:!1,highlights:["$199 annual fee","Premium benefits","Concierge service"]}],UB=[{title:"Rewards program",description:"Earn points on every purchase and redeem for travel, merchandise, or cash back",icon:TE},{title:"Security features",description:"Advanced fraud protection, zero liability, and real-time transaction monitoring",icon:mt},{title:"Mobile banking",description:"Manage your card, track spending, and make payments through our mobile app",icon:Ft},{title:"Global acceptance",description:"Use your card anywhere in the world with competitive foreign exchange rates",icon:Vn}],HB=[{title:"Contactless payments",description:"Tap to pay for quick and secure transactions under $100"},{title:"Digital wallet ready",description:"Add your card to Apple Pay, Google Pay, or Samsung Pay"},{title:"Real-time notifications",description:"Instant alerts for all transactions and security events"},{title:"Spending insights",description:"Track your spending patterns and manage your budget effectively"},{title:"Payment flexibility",description:"Choose your payment date and set up automatic payments"},{title:"Balance transfers",description:"Transfer balances from other cards with competitive rates"}],VB=[{feature:"Annual fee",rewards:"$0",lowRate:"$0",premium:"$199"},{feature:"Interest rate",rewards:"19.99% p.a.",lowRate:"12.99% p.a.",premium:"18.99% p.a."},{feature:"Points earning",rewards:"1x per $1",lowRate:"0.25x per $1",premium:"1.5x per $1"},{feature:"Travel insurance",rewards:"Comprehensive",lowRate:"Purchase only",premium:"Premium cover"},{feature:"Credit limit",rewards:"$1k–$10k",lowRate:"$1k–$8k",premium:"$10k–$50k"},{feature:"Concierge service",rewards:"Not included",lowRate:"Not included",premium:"Included"}],BG=[{step:"01",title:"Check eligibility",description:"Verify your credit status and income requirements online",icon:wt},{step:"02",title:"Complete application",description:"Fill out our simple online application in under 10 minutes",icon:Se},{step:"03",title:"Upload documents",description:"Submit your ID and income verification documents securely",icon:js},{step:"04",title:"Receive card",description:"Get approved and receive your card within 5-7 business days",icon:Pr}],PB=[{title:"Compare cards",description:"Use our comparison tool to find the perfect card",actionLabel:"Compare now",href:"/personal/credit-cards#comparison",icon:Se},{title:"Apply online",description:"Complete your application in under 10 minutes",actionLabel:"Apply now",href:"/contact",icon:js},{title:"Speak to an advisor",description:"Get personalized advice from our credit specialists",actionLabel:"Call us",href:"tel:1300555222",icon:ss}],AB=()=>t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:223,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-600 via-emerald-700 to-emerald-800",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-[url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80')] bg-cover bg-center bg-no-repeat opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:227,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-600/90 via-emerald-700/80 to-emerald-800/70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:228,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-16 md:py-20 lg:py-24 relative z-10",children:t.jsxDEV("div",{className:"grid gap-8 lg:grid-cols-2 lg:gap-12 items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Credit cards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:233,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight text-white md:text-5xl",children:"Credit cards that reward your lifestyle"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:236,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Choose from a range of credit cards designed to fit your spending habits. Earn rewards, enjoy low rates, and get the security and convenience you deserve."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:239,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:244,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:243,columnNumber:19},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/personal/credit-cards#products",children:"Compare cards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:247,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:246,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:242,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:232,columnNumber:15},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80",alt:"Credit cards and financial rewards",className:"h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:252,columnNumber:17},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:259,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:251,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:231,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:230,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:226,columnNumber:9},void 0),t.jsxDEV(Ts,{items:jB,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:265,columnNumber:9},void 0),t.jsxDEV("section",{id:"products",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Credit card options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:270,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Find the perfect credit card for your lifestyle and spending habits. All our cards offer security, convenience, and great value."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:273,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:269,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-3",children:wB.map(e=>t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:282,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:281,columnNumber:21},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:288,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:287,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:291,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:292,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:290,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:286,columnNumber:21},void 0),t.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Annual fee"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:297,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.annualFee},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:298,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:296,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Interest rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:301,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.interestRate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:302,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:300,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:295,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:285,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Key features:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:308,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(s=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(js,{className:"h-4 w-4 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:312,columnNumber:29},void 0),s]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:311,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:309,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:307,columnNumber:21},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Highlights:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:319,columnNumber:23},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-2",children:e.highlights.map(s=>t.jsxDEV(He,{variant:"secondary",className:"bg-amber-50 text-amber-700",children:s},s,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:322,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:320,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:318,columnNumber:21},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:329,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:328,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:306,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:279,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:277,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:268,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:267,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why choose Gates Capital Banking credit cards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:341,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our credit cards offer competitive rates, valuable rewards, and exceptional security features to enhance your financial life."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:344,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:340,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:UB.map(e=>t.jsxDEV("div",{className:"space-y-4 rounded-2xl bg-white p-6 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:352,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:351,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:355,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:356,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:354,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:350,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:348,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:339,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:338,columnNumber:9},void 0),t.jsxDEV("section",{id:"features",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Card features"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:367,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"All our credit cards come with comprehensive features designed to make managing your money simple and secure."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:370,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:366,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:HB.map(e=>t.jsxDEV("div",{className:"space-y-4 rounded-2xl border border-emerald-100 bg-emerald-50/50 p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(js,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:378,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:377,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:381,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:382,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:380,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:376,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:374,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:365,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:364,columnNumber:9},void 0),t.jsxDEV("section",{id:"comparison",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Compare credit cards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:393,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Find the perfect card for your needs with our detailed comparison of features and benefits."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:396,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:392,columnNumber:13},void 0),t.jsxDEV("div",{className:"mx-auto max-w-4xl",children:[t.jsxDEV("div",{className:"overflow-x-auto rounded-2xl border border-emerald-100 bg-white shadow-lg",children:t.jsxDEV("table",{className:"min-w-full text-left",children:[t.jsxDEV("thead",{className:"bg-emerald-700 text-white",children:t.jsxDEV("tr",{children:[t.jsxDEV("th",{className:"p-4 rounded-tl-2xl font-semibold",children:"Feature"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:405,columnNumber:23},void 0),t.jsxDEV("th",{className:"p-4 font-semibold",children:"Rewards Card"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:406,columnNumber:23},void 0),t.jsxDEV("th",{className:"p-4 font-semibold",children:"Low Rate Card"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:407,columnNumber:23},void 0),t.jsxDEV("th",{className:"p-4 rounded-tr-2xl font-semibold",children:"Premium Card"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:408,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:404,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:403,columnNumber:19},void 0),t.jsxDEV("tbody",{className:"divide-y divide-emerald-100",children:VB.map((e,s)=>t.jsxDEV("tr",{className:`text-gray-700 hover:bg-emerald-50/50 transition-colors ${s%2===0?"bg-white":"bg-emerald-25"}`,children:[t.jsxDEV("td",{className:"p-4 font-medium text-emerald-900",children:e.feature},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:414,columnNumber:25},void 0),t.jsxDEV("td",{className:"p-4 text-center font-semibold",children:e.rewards},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:415,columnNumber:25},void 0),t.jsxDEV("td",{className:"p-4 text-center font-semibold",children:e.lowRate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:416,columnNumber:25},void 0),t.jsxDEV("td",{className:"p-4 text-center font-semibold",children:e.premium},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:417,columnNumber:25},void 0)]},e.feature,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:413,columnNumber:23},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:411,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:402,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:401,columnNumber:15},void 0),t.jsxDEV("div",{className:"mt-6 text-center",children:t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply for your preferred card"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:425,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:424,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:423,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:400,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:391,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:390,columnNumber:9},void 0),t.jsxDEV("section",{id:"process",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How to apply for a credit card"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:435,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our streamlined application process makes it easy to get approved for the credit card that fits your needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:438,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:434,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:BG.map((e,s)=>t.jsxDEV("div",{className:"relative space-y-4 text-center",children:[t.jsxDEV("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV("span",{className:"text-lg font-bold",children:e.step},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:446,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:445,columnNumber:19},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:449,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:450,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:448,columnNumber:19},void 0),s<BG.length-1&&t.jsxDEV("div",{className:"absolute left-1/2 top-8 hidden h-px w-full -translate-x-1/2 bg-emerald-200 md:block"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:453,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:444,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:442,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:433,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:432,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4 py-16",children:t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Ready to apply for a credit card?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:464,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Customers around the world trust Gates Capital Banking for their credit card needs. Apply today and start enjoying great rewards and benefits."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:465,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:PB.map(e=>t.jsxDEV("div",{className:"flex items-center gap-4 rounded-2xl border border-white/10 bg-white/10 p-4",children:[t.jsxDEV(e.icon,{className:"h-6 w-6 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:474,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("p",{className:"text-sm font-medium",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:476,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-xs text-emerald-100",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:477,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:475,columnNumber:21},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-amber-300",asChild:!0,children:e.href.startsWith("http")||e.href.startsWith("tel")||e.href.startsWith("mailto")?t.jsxDEV("a",{href:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:481,columnNumber:25},void 0):t.jsxDEV(I,{to:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:483,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:479,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:470,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:468,columnNumber:15},void 0),t.jsxDEV(L,{className:"w-full bg-amber-400 text-black hover:bg-amber-300",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply for a credit card"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:490,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:489,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:463,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:462,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:461,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Need help choosing a credit card?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:499,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Our credit card specialists are here to help you find the perfect card for your lifestyle and financial goals. Whether you want to earn rewards or need a low rate, we have the right solution."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:502,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:505,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Speak to a specialist"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:508,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:507,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/personal/credit-cards#products",children:"Compare cards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:511,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:510,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:506,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:498,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Credit card specialist",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:517,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:516,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:515,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:497,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:496,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:225,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:528,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/CreditCards.tsx",lineNumber:222,columnNumber:5},void 0),SB=[{label:"Loan options",href:"#products"},{label:"Benefits",href:"#benefits"},{label:"Interest rates",href:"#rates"},{label:"How it works",href:"#process"},{label:"Contact us",href:"/contact"}],TB=[{title:"Debt Consolidation Loan",description:"Consolidate multiple debts into one manageable payment with lower interest rates",interestRate:"From 8.99% p.a.",minimumAmount:"€5,000",features:["Lower monthly payments","Fixed interest rates","No early repayment fees","Quick approval"],icon:as,popular:!0},{title:"Car Loan",description:"Finance your new or used car with competitive rates and flexible terms",interestRate:"From 7.49% p.a.",minimumAmount:"€10,000",features:["New and used vehicles","Up to 7-year terms","Pre-approval available","Fast processing"],icon:Po,popular:!1},{title:"Renovation Loan",description:"Fund your home improvements with loans designed for renovation projects",interestRate:"From 8.49% p.a.",minimumAmount:"€5,000",features:["Home improvement focus","Larger loan amounts","Flexible repayment","Tax-deductible interest"],icon:Rt,popular:!1},{title:"Personal Loan",description:"Flexible personal loans for any purpose with clear terms and no surprises",interestRate:"From 9.99% p.a.",minimumAmount:"€3,000",features:["Any purpose","No security required","Fixed repayments","Online application"],icon:Xs,popular:!1}],_B=[{title:"Competitive rates",description:"Market-leading interest rates that help reduce your borrowing costs and improve cash flow",icon:Ke},{title:"Flexible terms",description:"Choose from various loan terms and repayment options to match your financial needs",icon:xa},{title:"Quick approval",description:"Streamlined application process with fast decisions to get your funds when you need them",icon:Cn},{title:"No hidden fees",description:"Transparent pricing with no ongoing monthly fees or early repayment penalties",icon:mt}],RB=[{loanType:"Debt Consolidation",rate:"8.99% - 15.99% p.a.",comparisonRate:"9.15% - 16.35% p.a.",features:"Fixed rate, up to 7 years"},{loanType:"Car Loan",rate:"7.49% - 14.99% p.a.",comparisonRate:"7.85% - 15.35% p.a.",features:"Fixed rate, up to 7 years"},{loanType:"Renovation Loan",rate:"8.49% - 15.49% p.a.",comparisonRate:"8.85% - 15.85% p.a.",features:"Fixed rate, up to 10 years"},{loanType:"Personal Loan",rate:"9.99% - 17.99% p.a.",comparisonRate:"10.35% - 18.35% p.a.",features:"Fixed rate, up to 5 years"}],qG=[{step:"01",title:"Apply online",description:"Complete our simple online application in just 10 minutes",icon:Se},{step:"02",title:"Get approved",description:"Receive a decision within 24 hours of submitting your application",icon:js},{step:"03",title:"Receive funds",description:"Once approved, funds are transferred to your account within 1-2 business days",icon:Pr}],MB=[{title:"Calculate your loan",description:"Use our loan calculator to estimate repayments",actionLabel:"Try calculator",href:"/calculators/personal-loans",icon:Se},{title:"Check eligibility",description:"See if you pre-qualify without affecting your credit score",actionLabel:"Check now",href:"/contact",icon:js},{title:"Speak to an expert",description:"Get personalized advice from our lending specialists",actionLabel:"Call us",href:"tel:1300555222",icon:ss}],OB=()=>t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:179,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-600 via-emerald-700 to-emerald-800",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-[url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80')] bg-cover bg-center bg-no-repeat opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:183,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-600/90 via-emerald-700/80 to-emerald-800/70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:184,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-16 md:py-20 lg:py-24 relative z-10",children:t.jsxDEV("div",{className:"grid gap-8 lg:grid-cols-2 lg:gap-12 items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Personal loans"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:189,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight text-white md:text-5xl",children:"Personal loans with flexible terms"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:192,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Borrow with clear terms and no surprises. Get competitive rates for debt consolidation, car purchases, renovations, or any personal need."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:195,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:200,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:199,columnNumber:19},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/calculators/personal-loans",children:"Calculate payments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:203,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:202,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:198,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:188,columnNumber:15},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80",alt:"Personal loan application and financial planning",className:"h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:208,columnNumber:17},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:215,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:207,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:187,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:186,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:182,columnNumber:9},void 0),t.jsxDEV(Ts,{items:SB,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:221,columnNumber:9},void 0),t.jsxDEV("section",{id:"products",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Personal loan options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:226,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Choose from our range of personal loans designed to meet your specific financial needs and goals."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:229,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:225,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:TB.map(e=>t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:238,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:237,columnNumber:21},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:244,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:243,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:247,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:248,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:246,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:242,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex items-center justify-between",children:t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.interestRate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:253,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:["Minimum: ",e.minimumAmount]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:254,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:252,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:251,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:241,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Key features:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:260,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(s=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(js,{className:"h-4 w-4 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:264,columnNumber:29},void 0),s]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:263,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:261,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:259,columnNumber:21},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Learn more"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:271,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:270,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:258,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:235,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:233,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:224,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:223,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why choose Gates Capital Banking personal loans"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:283,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our personal loans offer flexible terms, competitive rates, and transparent pricing to help you achieve your financial goals."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:286,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:282,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:_B.map(e=>t.jsxDEV("div",{className:"space-y-4 rounded-2xl bg-white p-6 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:294,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:293,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:297,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:298,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:296,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:292,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:290,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:281,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:280,columnNumber:9},void 0),t.jsxDEV("section",{id:"rates",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Current interest rates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:309,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our competitive rates are designed to make borrowing affordable. All rates are current as of today and subject to change."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:312,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:308,columnNumber:13},void 0),t.jsxDEV("div",{className:"mx-auto max-w-4xl",children:[t.jsxDEV("div",{className:"space-y-4",children:RB.map((e,s)=>t.jsxDEV("div",{className:"rounded-2xl border border-emerald-100 bg-emerald-50/50 p-6",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.loanType},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:322,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.features},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:323,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:321,columnNumber:23},void 0),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.rate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:326,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:["Comparison: ",e.comparisonRate]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:327,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:325,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:320,columnNumber:21},void 0)},e.loanType,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:319,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:317,columnNumber:15},void 0),t.jsxDEV("div",{className:"mt-6 rounded-2xl bg-amber-50 p-4",children:t.jsxDEV("p",{className:"text-sm text-amber-800",children:[t.jsxDEV("strong",{children:"Important:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:335,columnNumber:19},void 0)," Interest rates are indicative only and subject to change. Final rates depend on your credit assessment, loan amount, and term. Comparison rates include all fees and charges."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:334,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:333,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:316,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:307,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:306,columnNumber:9},void 0),t.jsxDEV("section",{id:"process",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How to apply for a personal loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:345,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our streamlined application process makes it easy to get the funds you need quickly and efficiently."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:348,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:344,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-3",children:qG.map((e,s)=>t.jsxDEV("div",{className:"relative space-y-4 text-center",children:[t.jsxDEV("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV("span",{className:"text-lg font-bold",children:e.step},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:356,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:355,columnNumber:19},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:359,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:360,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:358,columnNumber:19},void 0),s<qG.length-1&&t.jsxDEV("div",{className:"absolute left-1/2 top-8 hidden h-px w-full -translate-x-1/2 bg-emerald-200 md:block"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:363,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:354,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:352,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:343,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:342,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4 py-16",children:t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Ready to get started?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:374,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Our personal lending specialists are here to help you find the right loan for your needs and guide you through the application process."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:375,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:MB.map(e=>t.jsxDEV("div",{className:"flex items-center gap-4 rounded-2xl border border-white/10 bg-white/10 p-4",children:[t.jsxDEV(e.icon,{className:"h-6 w-6 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:384,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("p",{className:"text-sm font-medium",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:386,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-xs text-emerald-100",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:387,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:385,columnNumber:21},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-amber-300",asChild:!0,children:e.href.startsWith("http")||e.href.startsWith("tel")||e.href.startsWith("mailto")?t.jsxDEV("a",{href:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:391,columnNumber:25},void 0):t.jsxDEV(I,{to:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:393,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:389,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:380,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:378,columnNumber:15},void 0),t.jsxDEV(L,{className:"w-full bg-amber-400 text-black hover:bg-amber-300",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact us today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:400,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:399,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:373,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:372,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:371,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Need a personal loan?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:409,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Whether you need to consolidate debt, finance a major purchase, or cover unexpected expenses, our personal loans provide flexible terms and competitive rates to help you achieve your financial goals."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:412,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:415,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply for a loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:418,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:417,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/calculators/personal-loans",children:"Calculate repayments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:421,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:420,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:416,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:408,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Personal loan specialist",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:427,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:426,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:425,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:407,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:406,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:181,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:438,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/PersonalLoans.tsx",lineNumber:178,columnNumber:5},void 0),IB=[{label:"Insurance types",href:"#products"},{label:"Benefits",href:"#benefits"},{label:"Coverage details",href:"#coverage"},{label:"Claims process",href:"#process"},{label:"Contact us",href:"/contact"}],$B=[{title:"Home Insurance",description:"Protect your home and belongings from unexpected events with comprehensive coverage",premium:"From €25/month",coverage:"Up to €500,000",features:["Building and contents protection","Storm and flood coverage","Theft and vandalism protection","Emergency assistance","Temporary accommodation","Legal liability"],icon:Rt,popular:!0},{title:"Vehicle Insurance",description:"Comprehensive coverage for your car with flexible options and roadside assistance",premium:"From €35/month",coverage:"Market value",features:["Comprehensive and third party options","24/7 roadside assistance","Rental car reimbursement","New car replacement","No claim bonus","Multi-policy discount"],icon:Po,popular:!1},{title:"Life Insurance",description:"Financial security for your family with term and whole life options available",premium:"From €20/month",coverage:"Up to €1,000,000",features:["Term and whole life options","Income protection","Critical illness cover","Flexible payment terms","Terminal illness benefit","Family support services"],icon:Uv,popular:!1},{title:"Health Insurance",description:"Medical coverage including hospital, dental, and optical benefits for you and your family",premium:"From €45/month",coverage:"Full hospital cover",features:["Hospital and medical expenses","Dental and optical coverage","Mental health support","Preventive care benefits","Ambulance cover","Physiotherapy services"],icon:tA,popular:!1}],FB=[{title:"Comprehensive coverage",description:"Get complete protection for what matters most with our extensive policy options",icon:mt},{title:"Affordable premiums",description:"Competitive rates that fit your budget without compromising on quality coverage",icon:Xs},{title:"Easy claims process",description:"Simple and fast claims handling with dedicated support throughout the process",icon:Ot},{title:"24/7 support",description:"Round-the-clock assistance from our experienced insurance specialists",icon:ss}],BB=[{category:"Home Insurance",items:["Building and contents protection","Storm, flood, and fire damage","Theft and vandalism coverage","Legal liability up to €20 million","Emergency repairs and temporary accommodation","Valuables and personal items coverage"]},{category:"Vehicle Insurance",items:["Accident damage coverage","Third party property damage","Theft and attempted theft","24/7 roadside assistance","Rental car following accident","No claim bonus protection"]},{category:"Life Insurance",items:["Death benefit payment","Terminal illness benefit","Income protection options","Critical illness coverage","Family support services","Flexible benefit amounts"]},{category:"Health Insurance",items:["Hospital accommodation","Medical and surgical procedures","Emergency ambulance services","Dental and optical benefits","Mental health support","Preventive health checks"]}],WG=[{step:"01",title:"Report your claim",description:"Contact us immediately through our 24/7 claims line or online portal",icon:ss},{step:"02",title:"Provide details",description:"Submit all necessary documentation and incident details through our secure system",icon:Ot},{step:"03",title:"Assessment & approval",description:"Our claims team reviews your claim and provides regular updates on progress",icon:js},{step:"04",title:"Settlement",description:"Receive your claim payment quickly and efficiently once approved",icon:Pr}],qB=[{title:"Get a quote",description:"Compare insurance options and get a personalized quote",actionLabel:"Get quote",href:"/contact",icon:Se},{title:"Speak to an advisor",description:"Get expert advice on the best coverage for your needs",actionLabel:"Call us",href:"tel:1300555222",icon:ss},{title:"File a claim",description:"Start the claims process with our dedicated support team",actionLabel:"Make claim",href:"/contact",icon:Ot}],WB=()=>t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:207,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-600 via-emerald-700 to-emerald-800",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-[url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80')] bg-cover bg-center bg-no-repeat opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:211,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-600/90 via-emerald-700/80 to-emerald-800/70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:212,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-16 md:py-20 lg:py-24 relative z-10",children:t.jsxDEV("div",{className:"grid gap-8 lg:grid-cols-2 lg:gap-12 items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Insurance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:217,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight text-white md:text-5xl",children:"Insurance protection for what matters"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:220,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Protect what matters most with comprehensive insurance solutions. Get the coverage you need with competitive rates and exceptional service."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:223,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get a quote"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:228,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:227,columnNumber:19},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"File a claim"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:231,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:230,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:226,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:216,columnNumber:15},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80",alt:"Insurance protection and family security",className:"h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:236,columnNumber:17},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:243,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:235,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:215,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:214,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:210,columnNumber:9},void 0),t.jsxDEV(Ts,{items:IB,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:249,columnNumber:9},void 0),t.jsxDEV("section",{id:"products",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Insurance coverage options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:254,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Choose from our comprehensive range of insurance products designed to protect what matters most to you and your family."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:257,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:253,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:$B.map(e=>t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:266,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:265,columnNumber:21},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:272,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:271,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:275,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:276,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:274,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:270,columnNumber:21},void 0),t.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"From"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:281,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.premium},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:282,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:280,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Coverage"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:285,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.coverage},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:286,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:284,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:279,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:269,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Coverage includes:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:292,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(s=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(js,{className:"h-4 w-4 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:296,columnNumber:29},void 0),s]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:295,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:293,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:291,columnNumber:21},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get quote"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:303,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:302,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:290,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:263,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:261,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:252,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:251,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why choose Gates Capital Banking insurance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:315,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our insurance products offer comprehensive coverage, competitive rates, and exceptional service to give you peace of mind."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:318,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:314,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:FB.map(e=>t.jsxDEV("div",{className:"space-y-4 rounded-2xl bg-white p-6 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:326,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:325,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:329,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:330,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:328,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:324,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:322,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:313,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:312,columnNumber:9},void 0),t.jsxDEV("section",{id:"coverage",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Coverage details"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:341,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Detailed coverage information for each insurance type to help you understand what's included in your policy."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:344,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:340,columnNumber:13},void 0),t.jsxDEV("div",{className:"mx-auto max-w-4xl space-y-6",children:BB.map(e=>t.jsxDEV("div",{className:"rounded-2xl border border-emerald-100 bg-emerald-50/50 p-6",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900 mb-4",children:e.category},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:351,columnNumber:19},void 0),t.jsxDEV("div",{className:"grid gap-2 md:grid-cols-2",children:e.items.map(s=>t.jsxDEV("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(js,{className:"h-4 w-4 text-emerald-600 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:355,columnNumber:25},void 0),s]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:354,columnNumber:23},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:352,columnNumber:19},void 0)]},e.category,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:350,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:348,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:339,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:338,columnNumber:9},void 0),t.jsxDEV("section",{id:"process",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Claims process"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:369,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our streamlined claims process makes it easy to get the support you need when you need it most."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:372,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:368,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:WG.map((e,s)=>t.jsxDEV("div",{className:"relative space-y-4 text-center",children:[t.jsxDEV("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV("span",{className:"text-lg font-bold",children:e.step},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:380,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:379,columnNumber:19},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:383,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:384,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:382,columnNumber:19},void 0),s<WG.length-1&&t.jsxDEV("div",{className:"absolute left-1/2 top-8 hidden h-px w-full -translate-x-1/2 bg-emerald-200 md:block"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:387,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:378,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:376,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:367,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:366,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4 py-16",children:t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Need insurance coverage?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:398,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Our insurance specialists are here to help you find the right coverage for your needs and guide you through the process."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:399,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:qB.map(e=>t.jsxDEV("div",{className:"flex items-center gap-4 rounded-2xl border border-white/10 bg-white/10 p-4",children:[t.jsxDEV(e.icon,{className:"h-6 w-6 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:408,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("p",{className:"text-sm font-medium",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:410,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-xs text-emerald-100",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:411,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:409,columnNumber:21},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-amber-300",asChild:!0,children:e.href.startsWith("http")||e.href.startsWith("tel")||e.href.startsWith("mailto")?t.jsxDEV("a",{href:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:415,columnNumber:25},void 0):t.jsxDEV(I,{to:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:417,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:413,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:404,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:402,columnNumber:15},void 0),t.jsxDEV(L,{className:"w-full bg-amber-400 text-black hover:bg-amber-300",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get insurance quote"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:424,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:423,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:397,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:396,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:395,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Protect what matters most"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:433,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Whether you need to protect your home, vehicle, health, or loved ones, our comprehensive insurance solutions provide the coverage and peace of mind you deserve."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:436,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:439,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get a quote"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:442,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:441,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Speak to an advisor"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:445,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:444,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:440,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:432,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Insurance specialist",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:451,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:450,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:449,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:431,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:430,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:209,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:462,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Insurance.tsx",lineNumber:206,columnNumber:5},void 0);var KN="Progress",YN=100,[zB,c1e]=Mt(KN),[KB,YB]=zB(KN),Zw=v.forwardRef((e,s)=>{const{__scopeProgress:a,value:n=null,max:i,getValueLabel:r=QB,...o}=e;(i||i===0)&&!zG(i)&&console.error(ZB(`${i}`,"Progress"));const l=zG(i)?i:YN;n!==null&&!KG(n,l)&&console.error(XB(`${n}`,"Progress"));const u=KG(n,l)?n:null,c=Jm(u)?r(u,l):void 0;return q.jsx(KB,{scope:a,value:u,max:l,children:q.jsx(Ve.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":Jm(u)?u:void 0,"aria-valuetext":c,role:"progressbar","data-state":eU(u,l),"data-value":u??void 0,"data-max":l,...o,ref:s})})});Zw.displayName=KN;var Xw="ProgressIndicator",Jw=v.forwardRef((e,s)=>{const{__scopeProgress:a,...n}=e,i=YB(Xw,a);return q.jsx(Ve.div,{"data-state":eU(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...n,ref:s})});Jw.displayName=Xw;function QB(e,s){return`${Math.round(e/s*100)}%`}function eU(e,s){return e==null?"indeterminate":e===s?"complete":"loading"}function Jm(e){return typeof e=="number"}function zG(e){return Jm(e)&&!isNaN(e)&&e>0}function KG(e,s){return Jm(e)&&!isNaN(e)&&e<=s&&e>=0}function ZB(e,s){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${s}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${YN}\`.`}function XB(e,s){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${s}\`. The \`value\` prop must be:
  - a positive number
  - less than the value passed to \`max\` (or ${YN} if no \`max\` prop is set)
  - \`null\` or \`undefined\` if the progress is indeterminate.

Defaulting to \`null\`.`}var sU=Zw,JB=Jw;const uo=v.forwardRef(({className:e,value:s,...a},n)=>t.jsxDEV(sU,{ref:n,className:me("relative h-4 w-full overflow-hidden rounded-full bg-secondary",e),...a,children:t.jsxDEV(JB,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(s||0)}%)`}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/progress.tsx",lineNumber:15,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/progress.tsx",lineNumber:10,columnNumber:3},void 0));uo.displayName=sU.displayName;const Ms=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("div",{className:"relative w-full overflow-auto",children:t.jsxDEV("table",{ref:a,className:me("w-full caption-bottom text-sm",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/table.tsx",lineNumber:8,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/table.tsx",lineNumber:7,columnNumber:5},void 0));Ms.displayName="Table";const xt=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("thead",{ref:a,className:me("[&_tr]:border-b",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/table.tsx",lineNumber:15,columnNumber:37},void 0));xt.displayName="TableHeader";const Os=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("tbody",{ref:a,className:me("[&_tr:last-child]:border-0",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/table.tsx",lineNumber:21,columnNumber:5},void 0));Os.displayName="TableBody";const eq=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("tfoot",{ref:a,className:me("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/table.tsx",lineNumber:28,columnNumber:5},void 0));eq.displayName="TableFooter";const Ee=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("tr",{ref:a,className:me("border-b transition-colors data-[state=selected]:bg-muted hover:bg-muted/50",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/table.tsx",lineNumber:35,columnNumber:5},void 0));Ee.displayName="TableRow";const pe=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("th",{ref:a,className:me("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/table.tsx",lineNumber:46,columnNumber:5},void 0));pe.displayName="TableHead";const X=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("td",{ref:a,className:me("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/table.tsx",lineNumber:60,columnNumber:5},void 0));X.displayName="TableCell";const sq=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("caption",{ref:a,className:me("mt-4 text-sm text-muted-foreground",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/table.tsx",lineNumber:67,columnNumber:5},void 0));sq.displayName="TableCaption";var tq=Array.isArray,oa=tq,aq=typeof Tt=="object"&&Tt&&Tt.Object===Object&&Tt,tU=aq,nq=tU,iq=typeof self=="object"&&self&&self.Object===Object&&self,rq=nq||iq||Function("return this")(),An=rq,oq=An,lq=oq.Symbol,Ac=lq,YG=Ac,aU=Object.prototype,uq=aU.hasOwnProperty,cq=aU.toString,Yl=YG?YG.toStringTag:void 0;function mq(e){var s=uq.call(e,Yl),a=e[Yl];try{e[Yl]=void 0;var n=!0}catch{}var i=cq.call(e);return n&&(s?e[Yl]=a:delete e[Yl]),i}var dq=mq,bq=Object.prototype,fq=bq.toString;function gq(e){return fq.call(e)}var pq=gq,QG=Ac,hq=dq,vq=pq,Nq="[object Null]",xq="[object Undefined]",ZG=QG?QG.toStringTag:void 0;function Dq(e){return e==null?e===void 0?xq:Nq:ZG&&ZG in Object(e)?hq(e):vq(e)}var ui=Dq;function Gq(e){return e!=null&&typeof e=="object"}var ci=Gq,yq=ui,Cq=ci,kq="[object Symbol]";function Eq(e){return typeof e=="symbol"||Cq(e)&&yq(e)==kq}var wl=Eq,Lq=oa,jq=wl,wq=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Uq=/^\w*$/;function Hq(e,s){if(Lq(e))return!1;var a=typeof e;return a=="number"||a=="symbol"||a=="boolean"||e==null||jq(e)?!0:Uq.test(e)||!wq.test(e)||s!=null&&e in Object(s)}var QN=Hq;function Vq(e){var s=typeof e;return e!=null&&(s=="object"||s=="function")}var _i=Vq;const Ul=ws(_i);var Pq=ui,Aq=_i,Sq="[object AsyncFunction]",Tq="[object Function]",_q="[object GeneratorFunction]",Rq="[object Proxy]";function Mq(e){if(!Aq(e))return!1;var s=Pq(e);return s==Tq||s==_q||s==Sq||s==Rq}var ZN=Mq;const ze=ws(ZN);var Oq=An,Iq=Oq["__core-js_shared__"],$q=Iq,cg=$q,XG=function(){var e=/[^.]+$/.exec(cg&&cg.keys&&cg.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Fq(e){return!!XG&&XG in e}var Bq=Fq,qq=Function.prototype,Wq=qq.toString;function zq(e){if(e!=null){try{return Wq.call(e)}catch{}try{return e+""}catch{}}return""}var nU=zq,Kq=ZN,Yq=Bq,Qq=_i,Zq=nU,Xq=/[\\^$.*+?()[\]{}|]/g,Jq=/^\[object .+?Constructor\]$/,eW=Function.prototype,sW=Object.prototype,tW=eW.toString,aW=sW.hasOwnProperty,nW=RegExp("^"+tW.call(aW).replace(Xq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function iW(e){if(!Qq(e)||Yq(e))return!1;var s=Kq(e)?nW:Jq;return s.test(Zq(e))}var rW=iW;function oW(e,s){return e?.[s]}var lW=oW,uW=rW,cW=lW;function mW(e,s){var a=cW(e,s);return uW(a)?a:void 0}var Mr=mW,dW=Mr,bW=dW(Object,"create"),Rb=bW,JG=Rb;function fW(){this.__data__=JG?JG(null):{},this.size=0}var gW=fW;function pW(e){var s=this.has(e)&&delete this.__data__[e];return this.size-=s?1:0,s}var hW=pW,vW=Rb,NW="__lodash_hash_undefined__",xW=Object.prototype,DW=xW.hasOwnProperty;function GW(e){var s=this.__data__;if(vW){var a=s[e];return a===NW?void 0:a}return DW.call(s,e)?s[e]:void 0}var yW=GW,CW=Rb,kW=Object.prototype,EW=kW.hasOwnProperty;function LW(e){var s=this.__data__;return CW?s[e]!==void 0:EW.call(s,e)}var jW=LW,wW=Rb,UW="__lodash_hash_undefined__";function HW(e,s){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=wW&&s===void 0?UW:s,this}var VW=HW,PW=gW,AW=hW,SW=yW,TW=jW,_W=VW;function Hl(e){var s=-1,a=e==null?0:e.length;for(this.clear();++s<a;){var n=e[s];this.set(n[0],n[1])}}Hl.prototype.clear=PW;Hl.prototype.delete=AW;Hl.prototype.get=SW;Hl.prototype.has=TW;Hl.prototype.set=_W;var RW=Hl;function MW(){this.__data__=[],this.size=0}var OW=MW;function IW(e,s){return e===s||e!==e&&s!==s}var XN=IW,$W=XN;function FW(e,s){for(var a=e.length;a--;)if($W(e[a][0],s))return a;return-1}var Mb=FW,BW=Mb,qW=Array.prototype,WW=qW.splice;function zW(e){var s=this.__data__,a=BW(s,e);if(a<0)return!1;var n=s.length-1;return a==n?s.pop():WW.call(s,a,1),--this.size,!0}var KW=zW,YW=Mb;function QW(e){var s=this.__data__,a=YW(s,e);return a<0?void 0:s[a][1]}var ZW=QW,XW=Mb;function JW(e){return XW(this.__data__,e)>-1}var ez=JW,sz=Mb;function tz(e,s){var a=this.__data__,n=sz(a,e);return n<0?(++this.size,a.push([e,s])):a[n][1]=s,this}var az=tz,nz=OW,iz=KW,rz=ZW,oz=ez,lz=az;function Vl(e){var s=-1,a=e==null?0:e.length;for(this.clear();++s<a;){var n=e[s];this.set(n[0],n[1])}}Vl.prototype.clear=nz;Vl.prototype.delete=iz;Vl.prototype.get=rz;Vl.prototype.has=oz;Vl.prototype.set=lz;var Ob=Vl,uz=Mr,cz=An,mz=uz(cz,"Map"),JN=mz,e1=RW,dz=Ob,bz=JN;function fz(){this.size=0,this.__data__={hash:new e1,map:new(bz||dz),string:new e1}}var gz=fz;function pz(e){var s=typeof e;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?e!=="__proto__":e===null}var hz=pz,vz=hz;function Nz(e,s){var a=e.__data__;return vz(s)?a[typeof s=="string"?"string":"hash"]:a.map}var Ib=Nz,xz=Ib;function Dz(e){var s=xz(this,e).delete(e);return this.size-=s?1:0,s}var Gz=Dz,yz=Ib;function Cz(e){return yz(this,e).get(e)}var kz=Cz,Ez=Ib;function Lz(e){return Ez(this,e).has(e)}var jz=Lz,wz=Ib;function Uz(e,s){var a=wz(this,e),n=a.size;return a.set(e,s),this.size+=a.size==n?0:1,this}var Hz=Uz,Vz=gz,Pz=Gz,Az=kz,Sz=jz,Tz=Hz;function Pl(e){var s=-1,a=e==null?0:e.length;for(this.clear();++s<a;){var n=e[s];this.set(n[0],n[1])}}Pl.prototype.clear=Vz;Pl.prototype.delete=Pz;Pl.prototype.get=Az;Pl.prototype.has=Sz;Pl.prototype.set=Tz;var ex=Pl,iU=ex,_z="Expected a function";function sx(e,s){if(typeof e!="function"||s!=null&&typeof s!="function")throw new TypeError(_z);var a=function(){var n=arguments,i=s?s.apply(this,n):n[0],r=a.cache;if(r.has(i))return r.get(i);var o=e.apply(this,n);return a.cache=r.set(i,o)||r,o};return a.cache=new(sx.Cache||iU),a}sx.Cache=iU;var rU=sx;const Rz=ws(rU);var Mz=rU,Oz=500;function Iz(e){var s=Mz(e,function(n){return a.size===Oz&&a.clear(),n}),a=s.cache;return s}var $z=Iz,Fz=$z,Bz=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qz=/\\(\\)?/g,Wz=Fz(function(e){var s=[];return e.charCodeAt(0)===46&&s.push(""),e.replace(Bz,function(a,n,i,r){s.push(i?r.replace(qz,"$1"):n||a)}),s}),zz=Wz;function Kz(e,s){for(var a=-1,n=e==null?0:e.length,i=Array(n);++a<n;)i[a]=s(e[a],a,e);return i}var tx=Kz,s1=Ac,Yz=tx,Qz=oa,Zz=wl,Xz=1/0,t1=s1?s1.prototype:void 0,a1=t1?t1.toString:void 0;function oU(e){if(typeof e=="string")return e;if(Qz(e))return Yz(e,oU)+"";if(Zz(e))return a1?a1.call(e):"";var s=e+"";return s=="0"&&1/e==-Xz?"-0":s}var Jz=oU,eK=Jz;function sK(e){return e==null?"":eK(e)}var lU=sK,tK=oa,aK=QN,nK=zz,iK=lU;function rK(e,s){return tK(e)?e:aK(e,s)?[e]:nK(iK(e))}var uU=rK,oK=wl,lK=1/0;function uK(e){if(typeof e=="string"||oK(e))return e;var s=e+"";return s=="0"&&1/e==-lK?"-0":s}var $b=uK,cK=uU,mK=$b;function dK(e,s){s=cK(s,e);for(var a=0,n=s.length;e!=null&&a<n;)e=e[mK(s[a++])];return a&&a==n?e:void 0}var ax=dK,bK=ax;function fK(e,s,a){var n=e==null?void 0:bK(e,s);return n===void 0?a:n}var cU=fK;const Aa=ws(cU);function gK(e){return e==null}var pK=gK;const Xe=ws(pK);var hK=ui,vK=oa,NK=ci,xK="[object String]";function DK(e){return typeof e=="string"||!vK(e)&&NK(e)&&hK(e)==xK}var GK=DK;const Er=ws(GK);var mU={exports:{}},fs={};/**
 * @license React
 * react-is.development.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(){var e=Symbol.for("react.element"),s=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),r=Symbol.for("react.provider"),o=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),h=!1,g=!1,p=!1,x=!1,D=!1,N;N=Symbol.for("react.module.reference");function C(J){return!!(typeof J=="string"||typeof J=="function"||J===a||J===i||D||J===n||J===c||J===m||x||J===f||h||g||p||typeof J=="object"&&J!==null&&(J.$$typeof===b||J.$$typeof===d||J.$$typeof===r||J.$$typeof===o||J.$$typeof===u||J.$$typeof===N||J.getModuleId!==void 0))}function y(J){if(typeof J=="object"&&J!==null){var ke=J.$$typeof;switch(ke){case e:var Ue=J.type;switch(Ue){case a:case i:case n:case c:case m:return Ue;default:var Ye=Ue&&Ue.$$typeof;switch(Ye){case l:case o:case u:case b:case d:case r:return Ye;default:return ke}}case s:return ke}}}var G=o,k=r,E=e,U=u,T=a,H=b,j=d,w=s,A=i,P=n,V=c,_=m,O=!1,$=!1;function Q(J){return O||(O=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ne(J){return $||($=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Z(J){return y(J)===o}function ee(J){return y(J)===r}function ge(J){return typeof J=="object"&&J!==null&&J.$$typeof===e}function xe(J){return y(J)===u}function le(J){return y(J)===a}function se(J){return y(J)===b}function be(J){return y(J)===d}function te(J){return y(J)===s}function ce(J){return y(J)===i}function he(J){return y(J)===n}function R(J){return y(J)===c}function ve(J){return y(J)===m}fs.ContextConsumer=G,fs.ContextProvider=k,fs.Element=E,fs.ForwardRef=U,fs.Fragment=T,fs.Lazy=H,fs.Memo=j,fs.Portal=w,fs.Profiler=A,fs.StrictMode=P,fs.Suspense=V,fs.SuspenseList=_,fs.isAsyncMode=Q,fs.isConcurrentMode=ne,fs.isContextConsumer=Z,fs.isContextProvider=ee,fs.isElement=ge,fs.isForwardRef=xe,fs.isFragment=le,fs.isLazy=se,fs.isMemo=be,fs.isPortal=te,fs.isProfiler=ce,fs.isStrictMode=he,fs.isSuspense=R,fs.isSuspenseList=ve,fs.isValidElementType=C,fs.typeOf=y})();mU.exports=fs;var yK=mU.exports,CK=ui,kK=ci,EK="[object Number]";function LK(e){return typeof e=="number"||kK(e)&&CK(e)==EK}var dU=LK;const jK=ws(dU);var wK=dU;function UK(e){return wK(e)&&e!=+e}var HK=UK;const Al=ws(HK);var Qa=function(s){return s===0?0:s>0?1:-1},lr=function(s){return Er(s)&&s.indexOf("%")===s.length-1},Ne=function(s){return jK(s)&&!Al(s)},VK=function(s){return Xe(s)},pt=function(s){return Ne(s)||Er(s)},PK=0,Sc=function(s){var a=++PK;return"".concat(s||"").concat(a)},Lr=function(s,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!Ne(s)&&!Er(s))return n;var r;if(lr(s)){var o=s.indexOf("%");r=a*parseFloat(s.slice(0,o))/100}else r=+s;return Al(r)&&(r=n),i&&r>a&&(r=a),r},yi=function(s){if(!s)return null;var a=Object.keys(s);return a&&a.length?s[a[0]]:null},AK=function(s){if(!Array.isArray(s))return!1;for(var a=s.length,n={},i=0;i<a;i++)if(!n[s[i]])n[s[i]]=!0;else return!0;return!1},Ua=function(s,a){return Ne(s)&&Ne(a)?function(n){return s+n*(a-s)}:function(){return a}};function ed(e,s,a){return!e||!e.length?null:e.find(function(n){return n&&(typeof s=="function"?s(n):Aa(n,s))===a})}var SK=function(s,a){return Ne(s)&&Ne(a)?s-a:Er(s)&&Er(a)?s.localeCompare(a):s instanceof Date&&a instanceof Date?s.getTime()-a.getTime():String(s).localeCompare(String(a))};function Eo(e,s){for(var a in e)if({}.hasOwnProperty.call(e,a)&&(!{}.hasOwnProperty.call(s,a)||e[a]!==s[a]))return!1;for(var n in s)if({}.hasOwnProperty.call(s,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function Fp(e){"@babel/helpers - typeof";return Fp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Fp(e)}var TK=["viewBox","children"],_K=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],n1=["points","pathLength"],mg={svg:TK,polygon:n1,polyline:n1},nx=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],sd=function(s,a){if(!s||typeof s=="function"||typeof s=="boolean")return null;var n=s;if(v.isValidElement(s)&&(n=s.props),!Ul(n))return null;var i={};return Object.keys(n).forEach(function(r){nx.includes(r)&&(i[r]=a||function(o){return n[r](n,o)})}),i},RK=function(s,a,n){return function(i){return s(a,n,i),null}},td=function(s,a,n){if(!Ul(s)||Fp(s)!=="object")return null;var i=null;return Object.keys(s).forEach(function(r){var o=s[r];nx.includes(r)&&typeof o=="function"&&(i||(i={}),i[r]=RK(o,a,n))}),i},MK=["children"],OK=["children"];function i1(e,s){if(e==null)return{};var a=IK(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function IK(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function Bp(e){"@babel/helpers - typeof";return Bp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Bp(e)}var r1={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},Yn=function(s){return typeof s=="string"?s:s?s.displayName||s.name||"Component":""},o1=null,dg=null,ix=function e(s){if(s===o1&&Array.isArray(dg))return dg;var a=[];return v.Children.forEach(s,function(n){Xe(n)||(yK.isFragment(n)?a=a.concat(e(n.props.children)):a.push(n))}),dg=a,o1=s,a};function en(e,s){var a=[],n=[];return Array.isArray(s)?n=s.map(function(i){return Yn(i)}):n=[Yn(s)],ix(e).forEach(function(i){var r=Aa(i,"type.displayName")||Aa(i,"type.name");n.indexOf(r)!==-1&&a.push(i)}),a}function da(e,s){var a=en(e,s);return a&&a[0]}var l1=function(s){if(!s||!s.props)return!1;var a=s.props,n=a.width,i=a.height;return!(!Ne(n)||n<=0||!Ne(i)||i<=0)},$K=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],FK=function(s){return s&&s.type&&Er(s.type)&&$K.indexOf(s.type)>=0},BK=function(s){return s&&Bp(s)==="object"&&"clipDot"in s},qK=function(s,a,n,i){var r,o=(r=mg?.[i])!==null&&r!==void 0?r:[];return a.startsWith("data-")||!ze(s)&&(i&&o.includes(a)||_K.includes(a))||n&&nx.includes(a)},Ze=function(s,a,n){if(!s||typeof s=="function"||typeof s=="boolean")return null;var i=s;if(v.isValidElement(s)&&(i=s.props),!Ul(i))return null;var r={};return Object.keys(i).forEach(function(o){var l;qK((l=i)===null||l===void 0?void 0:l[o],o,a,n)&&(r[o]=i[o])}),r},qp=function e(s,a){if(s===a)return!0;var n=v.Children.count(s);if(n!==v.Children.count(a))return!1;if(n===0)return!0;if(n===1)return u1(Array.isArray(s)?s[0]:s,Array.isArray(a)?a[0]:a);for(var i=0;i<n;i++){var r=s[i],o=a[i];if(Array.isArray(r)||Array.isArray(o)){if(!e(r,o))return!1}else if(!u1(r,o))return!1}return!0},u1=function(s,a){if(Xe(s)&&Xe(a))return!0;if(!Xe(s)&&!Xe(a)){var n=s.props||{},i=n.children,r=i1(n,MK),o=a.props||{},l=o.children,u=i1(o,OK);return i&&l?Eo(r,u)&&qp(i,l):!i&&!l?Eo(r,u):!1}return!1},c1=function(s,a){var n=[],i={};return ix(s).forEach(function(r,o){if(FK(r))n.push(r);else if(r){var l=Yn(r.type),u=a[l]||{},c=u.handler,m=u.once;if(c&&(!m||!i[l])){var d=c(r,l,o);n.push(d),i[l]=!0}}}),n},WK=function(s){var a=s&&s.type;return a&&r1[a]?r1[a]:null},zK=function(s,a){return ix(a).indexOf(s)},KK=["children","width","height","viewBox","className","style","title","desc"];function Wp(){return Wp=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Wp.apply(this,arguments)}function YK(e,s){if(e==null)return{};var a=QK(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function QK(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function zp(e){var s=e.children,a=e.width,n=e.height,i=e.viewBox,r=e.className,o=e.style,l=e.title,u=e.desc,c=YK(e,KK),m=i||{width:a,height:n,x:0,y:0},d=es("recharts-surface",r);return S.createElement("svg",Wp({},Ze(c,!0,"svg"),{className:d,width:a,height:n,style:o,viewBox:"".concat(m.x," ").concat(m.y," ").concat(m.width," ").concat(m.height)}),S.createElement("title",null,l),S.createElement("desc",null,u),s)}var ZK=["children","className"];function Kp(){return Kp=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Kp.apply(this,arguments)}function XK(e,s){if(e==null)return{};var a=JK(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function JK(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}var Ws=S.forwardRef(function(e,s){var a=e.children,n=e.className,i=XK(e,ZK),r=es("recharts-layer",n);return S.createElement("g",Kp({className:r},Ze(i,!0),{ref:s}),a)}),Qn=function(s,a){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if(typeof console<"u"&&console.warn&&(a===void 0&&console.warn("LogUtils requires an error message argument"),!s))if(a===void 0)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;console.warn(a.replace(/%s/g,function(){return i[o++]}))}};function eY(e,s,a){var n=-1,i=e.length;s<0&&(s=-s>i?0:i+s),a=a>i?i:a,a<0&&(a+=i),i=s>a?0:a-s>>>0,s>>>=0;for(var r=Array(i);++n<i;)r[n]=e[n+s];return r}var sY=eY,tY=sY;function aY(e,s,a){var n=e.length;return a=a===void 0?n:a,!s&&a>=n?e:tY(e,s,a)}var nY=aY,iY="\\ud800-\\udfff",rY="\\u0300-\\u036f",oY="\\ufe20-\\ufe2f",lY="\\u20d0-\\u20ff",uY=rY+oY+lY,cY="\\ufe0e\\ufe0f",mY="\\u200d",dY=RegExp("["+mY+iY+uY+cY+"]");function bY(e){return dY.test(e)}var bU=bY;function fY(e){return e.split("")}var gY=fY,fU="\\ud800-\\udfff",pY="\\u0300-\\u036f",hY="\\ufe20-\\ufe2f",vY="\\u20d0-\\u20ff",NY=pY+hY+vY,xY="\\ufe0e\\ufe0f",DY="["+fU+"]",Yp="["+NY+"]",Qp="\\ud83c[\\udffb-\\udfff]",GY="(?:"+Yp+"|"+Qp+")",gU="[^"+fU+"]",pU="(?:\\ud83c[\\udde6-\\uddff]){2}",hU="[\\ud800-\\udbff][\\udc00-\\udfff]",yY="\\u200d",vU=GY+"?",NU="["+xY+"]?",CY="(?:"+yY+"(?:"+[gU,pU,hU].join("|")+")"+NU+vU+")*",kY=NU+vU+CY,EY="(?:"+[gU+Yp+"?",Yp,pU,hU,DY].join("|")+")",LY=RegExp(Qp+"(?="+Qp+")|"+EY+kY,"g");function jY(e){return e.match(LY)||[]}var wY=jY,UY=gY,HY=bU,VY=wY;function PY(e){return HY(e)?VY(e):UY(e)}var AY=PY,SY=nY,TY=bU,_Y=AY,RY=lU;function MY(e){return function(s){s=RY(s);var a=TY(s)?_Y(s):void 0,n=a?a[0]:s.charAt(0),i=a?SY(a,1).join(""):s.slice(1);return n[e]()+i}}var OY=MY,IY=OY,$Y=IY("toUpperCase"),FY=$Y;const Fb=ws(FY);function Es(e){return function(){return e}}const xU=Math.cos,ad=Math.sin,un=Math.sqrt,nd=Math.PI,Bb=2*nd,Zp=Math.PI,Xp=2*Zp,er=1e-6,BY=Xp-er;function DU(e){this._+=e[0];for(let s=1,a=e.length;s<a;++s)this._+=arguments[s]+e[s]}function qY(e){let s=Math.floor(e);if(!(s>=0))throw new Error(`invalid digits: ${e}`);if(s>15)return DU;const a=10**s;return function(n){this._+=n[0];for(let i=1,r=n.length;i<r;++i)this._+=Math.round(arguments[i]*a)/a+n[i]}}class WY{constructor(s){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=s==null?DU:qY(s)}moveTo(s,a){this._append`M${this._x0=this._x1=+s},${this._y0=this._y1=+a}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(s,a){this._append`L${this._x1=+s},${this._y1=+a}`}quadraticCurveTo(s,a,n,i){this._append`Q${+s},${+a},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(s,a,n,i,r,o){this._append`C${+s},${+a},${+n},${+i},${this._x1=+r},${this._y1=+o}`}arcTo(s,a,n,i,r){if(s=+s,a=+a,n=+n,i=+i,r=+r,r<0)throw new Error(`negative radius: ${r}`);let o=this._x1,l=this._y1,u=n-s,c=i-a,m=o-s,d=l-a,b=m*m+d*d;if(this._x1===null)this._append`M${this._x1=s},${this._y1=a}`;else if(b>er)if(!(Math.abs(d*u-c*m)>er)||!r)this._append`L${this._x1=s},${this._y1=a}`;else{let f=n-o,h=i-l,g=u*u+c*c,p=f*f+h*h,x=Math.sqrt(g),D=Math.sqrt(b),N=r*Math.tan((Zp-Math.acos((g+b-p)/(2*x*D)))/2),C=N/D,y=N/x;Math.abs(C-1)>er&&this._append`L${s+C*m},${a+C*d}`,this._append`A${r},${r},0,0,${+(d*f>m*h)},${this._x1=s+y*u},${this._y1=a+y*c}`}}arc(s,a,n,i,r,o){if(s=+s,a=+a,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(i),u=n*Math.sin(i),c=s+l,m=a+u,d=1^o,b=o?i-r:r-i;this._x1===null?this._append`M${c},${m}`:(Math.abs(this._x1-c)>er||Math.abs(this._y1-m)>er)&&this._append`L${c},${m}`,n&&(b<0&&(b=b%Xp+Xp),b>BY?this._append`A${n},${n},0,1,${d},${s-l},${a-u}A${n},${n},0,1,${d},${this._x1=c},${this._y1=m}`:b>er&&this._append`A${n},${n},0,${+(b>=Zp)},${d},${this._x1=s+n*Math.cos(r)},${this._y1=a+n*Math.sin(r)}`)}rect(s,a,n,i){this._append`M${this._x0=this._x1=+s},${this._y0=this._y1=+a}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function rx(e){let s=3;return e.digits=function(a){if(!arguments.length)return s;if(a==null)s=null;else{const n=Math.floor(a);if(!(n>=0))throw new RangeError(`invalid digits: ${a}`);s=n}return e},()=>new WY(s)}function ox(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function GU(e){this._context=e}GU.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,s){switch(e=+e,s=+s,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,s):this._context.moveTo(e,s);break;case 1:this._point=2;default:this._context.lineTo(e,s);break}}};function qb(e){return new GU(e)}function yU(e){return e[0]}function CU(e){return e[1]}function kU(e,s){var a=Es(!0),n=null,i=qb,r=null,o=rx(l);e=typeof e=="function"?e:e===void 0?yU:Es(e),s=typeof s=="function"?s:s===void 0?CU:Es(s);function l(u){var c,m=(u=ox(u)).length,d,b=!1,f;for(n==null&&(r=i(f=o())),c=0;c<=m;++c)!(c<m&&a(d=u[c],c,u))===b&&((b=!b)?r.lineStart():r.lineEnd()),b&&r.point(+e(d,c,u),+s(d,c,u));if(f)return r=null,f+""||null}return l.x=function(u){return arguments.length?(e=typeof u=="function"?u:Es(+u),l):e},l.y=function(u){return arguments.length?(s=typeof u=="function"?u:Es(+u),l):s},l.defined=function(u){return arguments.length?(a=typeof u=="function"?u:Es(!!u),l):a},l.curve=function(u){return arguments.length?(i=u,n!=null&&(r=i(n)),l):i},l.context=function(u){return arguments.length?(u==null?n=r=null:r=i(n=u),l):n},l}function lm(e,s,a){var n=null,i=Es(!0),r=null,o=qb,l=null,u=rx(c);e=typeof e=="function"?e:e===void 0?yU:Es(+e),s=typeof s=="function"?s:Es(s===void 0?0:+s),a=typeof a=="function"?a:a===void 0?CU:Es(+a);function c(d){var b,f,h,g=(d=ox(d)).length,p,x=!1,D,N=new Array(g),C=new Array(g);for(r==null&&(l=o(D=u())),b=0;b<=g;++b){if(!(b<g&&i(p=d[b],b,d))===x)if(x=!x)f=b,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),h=b-1;h>=f;--h)l.point(N[h],C[h]);l.lineEnd(),l.areaEnd()}x&&(N[b]=+e(p,b,d),C[b]=+s(p,b,d),l.point(n?+n(p,b,d):N[b],a?+a(p,b,d):C[b]))}if(D)return l=null,D+""||null}function m(){return kU().defined(i).curve(o).context(r)}return c.x=function(d){return arguments.length?(e=typeof d=="function"?d:Es(+d),n=null,c):e},c.x0=function(d){return arguments.length?(e=typeof d=="function"?d:Es(+d),c):e},c.x1=function(d){return arguments.length?(n=d==null?null:typeof d=="function"?d:Es(+d),c):n},c.y=function(d){return arguments.length?(s=typeof d=="function"?d:Es(+d),a=null,c):s},c.y0=function(d){return arguments.length?(s=typeof d=="function"?d:Es(+d),c):s},c.y1=function(d){return arguments.length?(a=d==null?null:typeof d=="function"?d:Es(+d),c):a},c.lineX0=c.lineY0=function(){return m().x(e).y(s)},c.lineY1=function(){return m().x(e).y(a)},c.lineX1=function(){return m().x(n).y(s)},c.defined=function(d){return arguments.length?(i=typeof d=="function"?d:Es(!!d),c):i},c.curve=function(d){return arguments.length?(o=d,r!=null&&(l=o(r)),c):o},c.context=function(d){return arguments.length?(d==null?r=l=null:l=o(r=d),c):r},c}class EU{constructor(s,a){this._context=s,this._x=a}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(s,a){switch(s=+s,a=+a,this._point){case 0:{this._point=1,this._line?this._context.lineTo(s,a):this._context.moveTo(s,a);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+s)/2,this._y0,this._x0,a,s,a):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+a)/2,s,this._y0,s,a);break}}this._x0=s,this._y0=a}}function zY(e){return new EU(e,!0)}function KY(e){return new EU(e,!1)}const lx={draw(e,s){const a=un(s/nd);e.moveTo(a,0),e.arc(0,0,a,0,Bb)}},YY={draw(e,s){const a=un(s/5)/2;e.moveTo(-3*a,-a),e.lineTo(-a,-a),e.lineTo(-a,-3*a),e.lineTo(a,-3*a),e.lineTo(a,-a),e.lineTo(3*a,-a),e.lineTo(3*a,a),e.lineTo(a,a),e.lineTo(a,3*a),e.lineTo(-a,3*a),e.lineTo(-a,a),e.lineTo(-3*a,a),e.closePath()}},LU=un(1/3),QY=LU*2,ZY={draw(e,s){const a=un(s/QY),n=a*LU;e.moveTo(0,-a),e.lineTo(n,0),e.lineTo(0,a),e.lineTo(-n,0),e.closePath()}},XY={draw(e,s){const a=un(s),n=-a/2;e.rect(n,n,a,a)}},JY=.8908130915292852,jU=ad(nd/10)/ad(7*nd/10),eQ=ad(Bb/10)*jU,sQ=-xU(Bb/10)*jU,tQ={draw(e,s){const a=un(s*JY),n=eQ*a,i=sQ*a;e.moveTo(0,-a),e.lineTo(n,i);for(let r=1;r<5;++r){const o=Bb*r/5,l=xU(o),u=ad(o);e.lineTo(u*a,-l*a),e.lineTo(l*n-u*i,u*n+l*i)}e.closePath()}},bg=un(3),aQ={draw(e,s){const a=-un(s/(bg*3));e.moveTo(0,a*2),e.lineTo(-bg*a,-a),e.lineTo(bg*a,-a),e.closePath()}},Ea=-.5,La=un(3)/2,Jp=1/un(12),nQ=(Jp/2+1)*3,iQ={draw(e,s){const a=un(s/nQ),n=a/2,i=a*Jp,r=n,o=a*Jp+a,l=-r,u=o;e.moveTo(n,i),e.lineTo(r,o),e.lineTo(l,u),e.lineTo(Ea*n-La*i,La*n+Ea*i),e.lineTo(Ea*r-La*o,La*r+Ea*o),e.lineTo(Ea*l-La*u,La*l+Ea*u),e.lineTo(Ea*n+La*i,Ea*i-La*n),e.lineTo(Ea*r+La*o,Ea*o-La*r),e.lineTo(Ea*l+La*u,Ea*u-La*l),e.closePath()}};function rQ(e,s){let a=null,n=rx(i);e=typeof e=="function"?e:Es(e||lx),s=typeof s=="function"?s:Es(s===void 0?64:+s);function i(){let r;if(a||(a=r=n()),e.apply(this,arguments).draw(a,+s.apply(this,arguments)),r)return a=null,r+""||null}return i.type=function(r){return arguments.length?(e=typeof r=="function"?r:Es(r),i):e},i.size=function(r){return arguments.length?(s=typeof r=="function"?r:Es(+r),i):s},i.context=function(r){return arguments.length?(a=r??null,i):a},i}function id(){}function rd(e,s,a){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+s)/6,(e._y0+4*e._y1+a)/6)}function wU(e){this._context=e}wU.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:rd(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,s){switch(e=+e,s=+s,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,s):this._context.moveTo(e,s);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:rd(this,e,s);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=s}};function oQ(e){return new wU(e)}function UU(e){this._context=e}UU.prototype={areaStart:id,areaEnd:id,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,s){switch(e=+e,s=+s,this._point){case 0:this._point=1,this._x2=e,this._y2=s;break;case 1:this._point=2,this._x3=e,this._y3=s;break;case 2:this._point=3,this._x4=e,this._y4=s,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+s)/6);break;default:rd(this,e,s);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=s}};function lQ(e){return new UU(e)}function HU(e){this._context=e}HU.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,s){switch(e=+e,s=+s,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var a=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+s)/6;this._line?this._context.lineTo(a,n):this._context.moveTo(a,n);break;case 3:this._point=4;default:rd(this,e,s);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=s}};function uQ(e){return new HU(e)}function VU(e){this._context=e}VU.prototype={areaStart:id,areaEnd:id,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,s){e=+e,s=+s,this._point?this._context.lineTo(e,s):(this._point=1,this._context.moveTo(e,s))}};function cQ(e){return new VU(e)}function m1(e){return e<0?-1:1}function d1(e,s,a){var n=e._x1-e._x0,i=s-e._x1,r=(e._y1-e._y0)/(n||i<0&&-0),o=(a-e._y1)/(i||n<0&&-0),l=(r*i+o*n)/(n+i);return(m1(r)+m1(o))*Math.min(Math.abs(r),Math.abs(o),.5*Math.abs(l))||0}function b1(e,s){var a=e._x1-e._x0;return a?(3*(e._y1-e._y0)/a-s)/2:s}function fg(e,s,a){var n=e._x0,i=e._y0,r=e._x1,o=e._y1,l=(r-n)/3;e._context.bezierCurveTo(n+l,i+l*s,r-l,o-l*a,r,o)}function od(e){this._context=e}od.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:fg(this,this._t0,b1(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,s){var a=NaN;if(e=+e,s=+s,!(e===this._x1&&s===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,s):this._context.moveTo(e,s);break;case 1:this._point=2;break;case 2:this._point=3,fg(this,b1(this,a=d1(this,e,s)),a);break;default:fg(this,this._t0,a=d1(this,e,s));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=s,this._t0=a}}};function PU(e){this._context=new AU(e)}(PU.prototype=Object.create(od.prototype)).point=function(e,s){od.prototype.point.call(this,s,e)};function AU(e){this._context=e}AU.prototype={moveTo:function(e,s){this._context.moveTo(s,e)},closePath:function(){this._context.closePath()},lineTo:function(e,s){this._context.lineTo(s,e)},bezierCurveTo:function(e,s,a,n,i,r){this._context.bezierCurveTo(s,e,n,a,r,i)}};function mQ(e){return new od(e)}function dQ(e){return new PU(e)}function SU(e){this._context=e}SU.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,s=this._y,a=e.length;if(a)if(this._line?this._context.lineTo(e[0],s[0]):this._context.moveTo(e[0],s[0]),a===2)this._context.lineTo(e[1],s[1]);else for(var n=f1(e),i=f1(s),r=0,o=1;o<a;++r,++o)this._context.bezierCurveTo(n[0][r],i[0][r],n[1][r],i[1][r],e[o],s[o]);(this._line||this._line!==0&&a===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,s){this._x.push(+e),this._y.push(+s)}};function f1(e){var s,a=e.length-1,n,i=new Array(a),r=new Array(a),o=new Array(a);for(i[0]=0,r[0]=2,o[0]=e[0]+2*e[1],s=1;s<a-1;++s)i[s]=1,r[s]=4,o[s]=4*e[s]+2*e[s+1];for(i[a-1]=2,r[a-1]=7,o[a-1]=8*e[a-1]+e[a],s=1;s<a;++s)n=i[s]/r[s-1],r[s]-=n,o[s]-=n*o[s-1];for(i[a-1]=o[a-1]/r[a-1],s=a-2;s>=0;--s)i[s]=(o[s]-i[s+1])/r[s];for(r[a-1]=(e[a]+i[a-1])/2,s=0;s<a-1;++s)r[s]=2*e[s+1]-i[s+1];return[i,r]}function bQ(e){return new SU(e)}function Wb(e,s){this._context=e,this._t=s}Wb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,s){switch(e=+e,s=+s,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,s):this._context.moveTo(e,s);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,s),this._context.lineTo(e,s);else{var a=this._x*(1-this._t)+e*this._t;this._context.lineTo(a,this._y),this._context.lineTo(a,s)}break}}this._x=e,this._y=s}};function fQ(e){return new Wb(e,.5)}function gQ(e){return new Wb(e,0)}function pQ(e){return new Wb(e,1)}function Oo(e,s){if((o=e.length)>1)for(var a=1,n,i,r=e[s[0]],o,l=r.length;a<o;++a)for(i=r,r=e[s[a]],n=0;n<l;++n)r[n][1]+=r[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function eh(e){for(var s=e.length,a=new Array(s);--s>=0;)a[s]=s;return a}function hQ(e,s){return e[s]}function vQ(e){const s=[];return s.key=e,s}function NQ(){var e=Es([]),s=eh,a=Oo,n=hQ;function i(r){var o=Array.from(e.apply(this,arguments),vQ),l,u=o.length,c=-1,m;for(const d of r)for(l=0,++c;l<u;++l)(o[l][c]=[0,+n(d,o[l].key,c,r)]).data=d;for(l=0,m=ox(s(o));l<u;++l)o[m[l]].index=l;return a(o,m),o}return i.keys=function(r){return arguments.length?(e=typeof r=="function"?r:Es(Array.from(r)),i):e},i.value=function(r){return arguments.length?(n=typeof r=="function"?r:Es(+r),i):n},i.order=function(r){return arguments.length?(s=r==null?eh:typeof r=="function"?r:Es(Array.from(r)),i):s},i.offset=function(r){return arguments.length?(a=r??Oo,i):a},i}function xQ(e,s){if((n=e.length)>0){for(var a,n,i=0,r=e[0].length,o;i<r;++i){for(o=a=0;a<n;++a)o+=e[a][i][1]||0;if(o)for(a=0;a<n;++a)e[a][i][1]/=o}Oo(e,s)}}function DQ(e,s){if((i=e.length)>0){for(var a=0,n=e[s[0]],i,r=n.length;a<r;++a){for(var o=0,l=0;o<i;++o)l+=e[o][a][1]||0;n[a][1]+=n[a][0]=-l/2}Oo(e,s)}}function GQ(e,s){if(!(!((o=e.length)>0)||!((r=(i=e[s[0]]).length)>0))){for(var a=0,n=1,i,r,o;n<r;++n){for(var l=0,u=0,c=0;l<o;++l){for(var m=e[s[l]],d=m[n][1]||0,b=m[n-1][1]||0,f=(d-b)/2,h=0;h<l;++h){var g=e[s[h]],p=g[n][1]||0,x=g[n-1][1]||0;f+=p-x}u+=d,c+=f*d}i[n-1][1]+=i[n-1][0]=a,u&&(a-=c/u)}i[n-1][1]+=i[n-1][0]=a,Oo(e,s)}}function Mu(e){"@babel/helpers - typeof";return Mu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Mu(e)}var yQ=["type","size","sizeType"];function sh(){return sh=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},sh.apply(this,arguments)}function g1(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function p1(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?g1(Object(a),!0).forEach(function(n){CQ(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g1(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function CQ(e,s,a){return s=kQ(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function kQ(e){var s=EQ(e,"string");return Mu(s)=="symbol"?s:s+""}function EQ(e,s){if(Mu(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Mu(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function LQ(e,s){if(e==null)return{};var a=jQ(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function jQ(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}var TU={symbolCircle:lx,symbolCross:YY,symbolDiamond:ZY,symbolSquare:XY,symbolStar:tQ,symbolTriangle:aQ,symbolWye:iQ},wQ=Math.PI/180,UQ=function(s){var a="symbol".concat(Fb(s));return TU[a]||lx},HQ=function(s,a,n){if(a==="area")return s;switch(n){case"cross":return 5*s*s/9;case"diamond":return .5*s*s/Math.sqrt(3);case"square":return s*s;case"star":{var i=18*wQ;return 1.25*s*s*(Math.tan(i)-Math.tan(i*2)*Math.pow(Math.tan(i),2))}case"triangle":return Math.sqrt(3)*s*s/4;case"wye":return(21-10*Math.sqrt(3))*s*s/8;default:return Math.PI*s*s/4}},VQ=function(s,a){TU["symbol".concat(Fb(s))]=a},ux=function(s){var a=s.type,n=a===void 0?"circle":a,i=s.size,r=i===void 0?64:i,o=s.sizeType,l=o===void 0?"area":o,u=LQ(s,yQ),c=p1(p1({},u),{},{type:n,size:r,sizeType:l}),m=function(){var p=UQ(n),x=rQ().type(p).size(HQ(r,l,n));return x()},d=c.className,b=c.cx,f=c.cy,h=Ze(c,!0);return b===+b&&f===+f&&r===+r?S.createElement("path",sh({},h,{className:es("recharts-symbols",d),transform:"translate(".concat(b,", ").concat(f,")"),d:m()})):null};ux.registerSymbol=VQ;function Io(e){"@babel/helpers - typeof";return Io=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Io(e)}function th(){return th=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},th.apply(this,arguments)}function h1(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function PQ(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?h1(Object(a),!0).forEach(function(n){Ou(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):h1(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function AQ(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function SQ(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,RU(n.key),n)}}function TQ(e,s,a){return s&&SQ(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function _Q(e,s,a){return s=ld(s),RQ(e,_U()?Reflect.construct(s,a||[],ld(e).constructor):s.apply(e,a))}function RQ(e,s){if(s&&(Io(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return MQ(e)}function MQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _U(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_U=function(){return!!e})()}function ld(e){return ld=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},ld(e)}function OQ(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&ah(e,s)}function ah(e,s){return ah=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ah(e,s)}function Ou(e,s,a){return s=RU(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function RU(e){var s=IQ(e,"string");return Io(s)=="symbol"?s:s+""}function IQ(e,s){if(Io(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Io(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var ja=32,cx=function(e){function s(){return AQ(this,s),_Q(this,s,arguments)}return OQ(s,e),TQ(s,[{key:"renderIcon",value:function(n){var i=this.props.inactiveColor,r=ja/2,o=ja/6,l=ja/3,u=n.inactive?i:n.color;if(n.type==="plainline")return S.createElement("line",{strokeWidth:4,fill:"none",stroke:u,strokeDasharray:n.payload.strokeDasharray,x1:0,y1:r,x2:ja,y2:r,className:"recharts-legend-icon"});if(n.type==="line")return S.createElement("path",{strokeWidth:4,fill:"none",stroke:u,d:"M0,".concat(r,"h").concat(l,`
            A`).concat(o,",").concat(o,",0,1,1,").concat(2*l,",").concat(r,`
            H`).concat(ja,"M").concat(2*l,",").concat(r,`
            A`).concat(o,",").concat(o,",0,1,1,").concat(l,",").concat(r),className:"recharts-legend-icon"});if(n.type==="rect")return S.createElement("path",{stroke:"none",fill:u,d:"M0,".concat(ja/8,"h").concat(ja,"v").concat(ja*3/4,"h").concat(-ja,"z"),className:"recharts-legend-icon"});if(S.isValidElement(n.legendIcon)){var c=PQ({},n);return delete c.legendIcon,S.cloneElement(n.legendIcon,c)}return S.createElement(ux,{fill:u,cx:r,cy:r,size:ja,sizeType:"diameter",type:n.type})}},{key:"renderItems",value:function(){var n=this,i=this.props,r=i.payload,o=i.iconSize,l=i.layout,u=i.formatter,c=i.inactiveColor,m={x:0,y:0,width:ja,height:ja},d={display:l==="horizontal"?"inline-block":"block",marginRight:10},b={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(f,h){var g=f.formatter||u,p=es(Ou(Ou({"recharts-legend-item":!0},"legend-item-".concat(h),!0),"inactive",f.inactive));if(f.type==="none")return null;var x=ze(f.value)?null:f.value;Qn(!ze(f.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name="Name of my Data"/>`);var D=f.inactive?c:f.color;return S.createElement("li",th({className:p,style:d,key:"legend-item-".concat(h)},td(n.props,f,h)),S.createElement(zp,{width:o,height:o,viewBox:m,style:b},n.renderIcon(f)),S.createElement("span",{className:"recharts-legend-item-text",style:{color:D}},g?g(x,f,h):x))})}},{key:"render",value:function(){var n=this.props,i=n.payload,r=n.layout,o=n.align;if(!i||!i.length)return null;var l={padding:0,margin:0,textAlign:r==="horizontal"?o:"left"};return S.createElement("ul",{className:"recharts-default-legend",style:l},this.renderItems())}}])}(v.PureComponent);Ou(cx,"displayName","Legend");Ou(cx,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var $Q=Ob;function FQ(){this.__data__=new $Q,this.size=0}var BQ=FQ;function qQ(e){var s=this.__data__,a=s.delete(e);return this.size=s.size,a}var WQ=qQ;function zQ(e){return this.__data__.get(e)}var KQ=zQ;function YQ(e){return this.__data__.has(e)}var QQ=YQ,ZQ=Ob,XQ=JN,JQ=ex,eZ=200;function sZ(e,s){var a=this.__data__;if(a instanceof ZQ){var n=a.__data__;if(!XQ||n.length<eZ-1)return n.push([e,s]),this.size=++a.size,this;a=this.__data__=new JQ(n)}return a.set(e,s),this.size=a.size,this}var tZ=sZ,aZ=Ob,nZ=BQ,iZ=WQ,rZ=KQ,oZ=QQ,lZ=tZ;function Sl(e){var s=this.__data__=new aZ(e);this.size=s.size}Sl.prototype.clear=nZ;Sl.prototype.delete=iZ;Sl.prototype.get=rZ;Sl.prototype.has=oZ;Sl.prototype.set=lZ;var MU=Sl,uZ="__lodash_hash_undefined__";function cZ(e){return this.__data__.set(e,uZ),this}var mZ=cZ;function dZ(e){return this.__data__.has(e)}var bZ=dZ,fZ=ex,gZ=mZ,pZ=bZ;function ud(e){var s=-1,a=e==null?0:e.length;for(this.__data__=new fZ;++s<a;)this.add(e[s])}ud.prototype.add=ud.prototype.push=gZ;ud.prototype.has=pZ;var OU=ud;function hZ(e,s){for(var a=-1,n=e==null?0:e.length;++a<n;)if(s(e[a],a,e))return!0;return!1}var IU=hZ;function vZ(e,s){return e.has(s)}var $U=vZ,NZ=OU,xZ=IU,DZ=$U,GZ=1,yZ=2;function CZ(e,s,a,n,i,r){var o=a&GZ,l=e.length,u=s.length;if(l!=u&&!(o&&u>l))return!1;var c=r.get(e),m=r.get(s);if(c&&m)return c==s&&m==e;var d=-1,b=!0,f=a&yZ?new NZ:void 0;for(r.set(e,s),r.set(s,e);++d<l;){var h=e[d],g=s[d];if(n)var p=o?n(g,h,d,s,e,r):n(h,g,d,e,s,r);if(p!==void 0){if(p)continue;b=!1;break}if(f){if(!xZ(s,function(x,D){if(!DZ(f,D)&&(h===x||i(h,x,a,n,r)))return f.push(D)})){b=!1;break}}else if(!(h===g||i(h,g,a,n,r))){b=!1;break}}return r.delete(e),r.delete(s),b}var FU=CZ,kZ=An,EZ=kZ.Uint8Array,LZ=EZ;function jZ(e){var s=-1,a=Array(e.size);return e.forEach(function(n,i){a[++s]=[i,n]}),a}var wZ=jZ;function UZ(e){var s=-1,a=Array(e.size);return e.forEach(function(n){a[++s]=n}),a}var mx=UZ,v1=Ac,N1=LZ,HZ=XN,VZ=FU,PZ=wZ,AZ=mx,SZ=1,TZ=2,_Z="[object Boolean]",RZ="[object Date]",MZ="[object Error]",OZ="[object Map]",IZ="[object Number]",$Z="[object RegExp]",FZ="[object Set]",BZ="[object String]",qZ="[object Symbol]",WZ="[object ArrayBuffer]",zZ="[object DataView]",x1=v1?v1.prototype:void 0,gg=x1?x1.valueOf:void 0;function KZ(e,s,a,n,i,r,o){switch(a){case zZ:if(e.byteLength!=s.byteLength||e.byteOffset!=s.byteOffset)return!1;e=e.buffer,s=s.buffer;case WZ:return!(e.byteLength!=s.byteLength||!r(new N1(e),new N1(s)));case _Z:case RZ:case IZ:return HZ(+e,+s);case MZ:return e.name==s.name&&e.message==s.message;case $Z:case BZ:return e==s+"";case OZ:var l=PZ;case FZ:var u=n&SZ;if(l||(l=AZ),e.size!=s.size&&!u)return!1;var c=o.get(e);if(c)return c==s;n|=TZ,o.set(e,s);var m=VZ(l(e),l(s),n,i,r,o);return o.delete(e),m;case qZ:if(gg)return gg.call(e)==gg.call(s)}return!1}var YZ=KZ;function QZ(e,s){for(var a=-1,n=s.length,i=e.length;++a<n;)e[i+a]=s[a];return e}var BU=QZ,ZZ=BU,XZ=oa;function JZ(e,s,a){var n=s(e);return XZ(e)?n:ZZ(n,a(e))}var eX=JZ;function sX(e,s){for(var a=-1,n=e==null?0:e.length,i=0,r=[];++a<n;){var o=e[a];s(o,a,e)&&(r[i++]=o)}return r}var tX=sX;function aX(){return[]}var nX=aX,iX=tX,rX=nX,oX=Object.prototype,lX=oX.propertyIsEnumerable,D1=Object.getOwnPropertySymbols,uX=D1?function(e){return e==null?[]:(e=Object(e),iX(D1(e),function(s){return lX.call(e,s)}))}:rX,cX=uX;function mX(e,s){for(var a=-1,n=Array(e);++a<e;)n[a]=s(a);return n}var dX=mX,bX=ui,fX=ci,gX="[object Arguments]";function pX(e){return fX(e)&&bX(e)==gX}var hX=pX,G1=hX,vX=ci,qU=Object.prototype,NX=qU.hasOwnProperty,xX=qU.propertyIsEnumerable,DX=G1(function(){return arguments}())?G1:function(e){return vX(e)&&NX.call(e,"callee")&&!xX.call(e,"callee")},dx=DX,cd={exports:{}};function GX(){return!1}var yX=GX;cd.exports;(function(e,s){var a=An,n=yX,i=s&&!s.nodeType&&s,r=i&&!0&&e&&!e.nodeType&&e,o=r&&r.exports===i,l=o?a.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||n;e.exports=c})(cd,cd.exports);var WU=cd.exports,CX=9007199254740991,kX=/^(?:0|[1-9]\d*)$/;function EX(e,s){var a=typeof e;return s=s??CX,!!s&&(a=="number"||a!="symbol"&&kX.test(e))&&e>-1&&e%1==0&&e<s}var bx=EX,LX=9007199254740991;function jX(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=LX}var fx=jX,wX=ui,UX=fx,HX=ci,VX="[object Arguments]",PX="[object Array]",AX="[object Boolean]",SX="[object Date]",TX="[object Error]",_X="[object Function]",RX="[object Map]",MX="[object Number]",OX="[object Object]",IX="[object RegExp]",$X="[object Set]",FX="[object String]",BX="[object WeakMap]",qX="[object ArrayBuffer]",WX="[object DataView]",zX="[object Float32Array]",KX="[object Float64Array]",YX="[object Int8Array]",QX="[object Int16Array]",ZX="[object Int32Array]",XX="[object Uint8Array]",JX="[object Uint8ClampedArray]",eJ="[object Uint16Array]",sJ="[object Uint32Array]",Hs={};Hs[zX]=Hs[KX]=Hs[YX]=Hs[QX]=Hs[ZX]=Hs[XX]=Hs[JX]=Hs[eJ]=Hs[sJ]=!0;Hs[VX]=Hs[PX]=Hs[qX]=Hs[AX]=Hs[WX]=Hs[SX]=Hs[TX]=Hs[_X]=Hs[RX]=Hs[MX]=Hs[OX]=Hs[IX]=Hs[$X]=Hs[FX]=Hs[BX]=!1;function tJ(e){return HX(e)&&UX(e.length)&&!!Hs[wX(e)]}var aJ=tJ;function nJ(e){return function(s){return e(s)}}var zU=nJ,md={exports:{}};md.exports;(function(e,s){var a=tU,n=s&&!s.nodeType&&s,i=n&&!0&&e&&!e.nodeType&&e,r=i&&i.exports===n,o=r&&a.process,l=function(){try{var u=i&&i.require&&i.require("util").types;return u||o&&o.binding&&o.binding("util")}catch{}}();e.exports=l})(md,md.exports);var iJ=md.exports,rJ=aJ,oJ=zU,y1=iJ,C1=y1&&y1.isTypedArray,lJ=C1?oJ(C1):rJ,KU=lJ,uJ=dX,cJ=dx,mJ=oa,dJ=WU,bJ=bx,fJ=KU,gJ=Object.prototype,pJ=gJ.hasOwnProperty;function hJ(e,s){var a=mJ(e),n=!a&&cJ(e),i=!a&&!n&&dJ(e),r=!a&&!n&&!i&&fJ(e),o=a||n||i||r,l=o?uJ(e.length,String):[],u=l.length;for(var c in e)(s||pJ.call(e,c))&&!(o&&(c=="length"||i&&(c=="offset"||c=="parent")||r&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||bJ(c,u)))&&l.push(c);return l}var vJ=hJ,NJ=Object.prototype;function xJ(e){var s=e&&e.constructor,a=typeof s=="function"&&s.prototype||NJ;return e===a}var DJ=xJ;function GJ(e,s){return function(a){return e(s(a))}}var YU=GJ,yJ=YU,CJ=yJ(Object.keys,Object),kJ=CJ,EJ=DJ,LJ=kJ,jJ=Object.prototype,wJ=jJ.hasOwnProperty;function UJ(e){if(!EJ(e))return LJ(e);var s=[];for(var a in Object(e))wJ.call(e,a)&&a!="constructor"&&s.push(a);return s}var HJ=UJ,VJ=ZN,PJ=fx;function AJ(e){return e!=null&&PJ(e.length)&&!VJ(e)}var Tc=AJ,SJ=vJ,TJ=HJ,_J=Tc;function RJ(e){return _J(e)?SJ(e):TJ(e)}var zb=RJ,MJ=eX,OJ=cX,IJ=zb;function $J(e){return MJ(e,IJ,OJ)}var FJ=$J,k1=FJ,BJ=1,qJ=Object.prototype,WJ=qJ.hasOwnProperty;function zJ(e,s,a,n,i,r){var o=a&BJ,l=k1(e),u=l.length,c=k1(s),m=c.length;if(u!=m&&!o)return!1;for(var d=u;d--;){var b=l[d];if(!(o?b in s:WJ.call(s,b)))return!1}var f=r.get(e),h=r.get(s);if(f&&h)return f==s&&h==e;var g=!0;r.set(e,s),r.set(s,e);for(var p=o;++d<u;){b=l[d];var x=e[b],D=s[b];if(n)var N=o?n(D,x,b,s,e,r):n(x,D,b,e,s,r);if(!(N===void 0?x===D||i(x,D,a,n,r):N)){g=!1;break}p||(p=b=="constructor")}if(g&&!p){var C=e.constructor,y=s.constructor;C!=y&&"constructor"in e&&"constructor"in s&&!(typeof C=="function"&&C instanceof C&&typeof y=="function"&&y instanceof y)&&(g=!1)}return r.delete(e),r.delete(s),g}var KJ=zJ,YJ=Mr,QJ=An,ZJ=YJ(QJ,"DataView"),XJ=ZJ,JJ=Mr,eee=An,see=JJ(eee,"Promise"),tee=see,aee=Mr,nee=An,iee=aee(nee,"Set"),QU=iee,ree=Mr,oee=An,lee=ree(oee,"WeakMap"),uee=lee,nh=XJ,ih=JN,rh=tee,oh=QU,lh=uee,ZU=ui,Tl=nU,E1="[object Map]",cee="[object Object]",L1="[object Promise]",j1="[object Set]",w1="[object WeakMap]",U1="[object DataView]",mee=Tl(nh),dee=Tl(ih),bee=Tl(rh),fee=Tl(oh),gee=Tl(lh),sr=ZU;(nh&&sr(new nh(new ArrayBuffer(1)))!=U1||ih&&sr(new ih)!=E1||rh&&sr(rh.resolve())!=L1||oh&&sr(new oh)!=j1||lh&&sr(new lh)!=w1)&&(sr=function(e){var s=ZU(e),a=s==cee?e.constructor:void 0,n=a?Tl(a):"";if(n)switch(n){case mee:return U1;case dee:return E1;case bee:return L1;case fee:return j1;case gee:return w1}return s});var pee=sr,pg=MU,hee=FU,vee=YZ,Nee=KJ,H1=pee,V1=oa,P1=WU,xee=KU,Dee=1,A1="[object Arguments]",S1="[object Array]",um="[object Object]",Gee=Object.prototype,T1=Gee.hasOwnProperty;function yee(e,s,a,n,i,r){var o=V1(e),l=V1(s),u=o?S1:H1(e),c=l?S1:H1(s);u=u==A1?um:u,c=c==A1?um:c;var m=u==um,d=c==um,b=u==c;if(b&&P1(e)){if(!P1(s))return!1;o=!0,m=!1}if(b&&!m)return r||(r=new pg),o||xee(e)?hee(e,s,a,n,i,r):vee(e,s,u,a,n,i,r);if(!(a&Dee)){var f=m&&T1.call(e,"__wrapped__"),h=d&&T1.call(s,"__wrapped__");if(f||h){var g=f?e.value():e,p=h?s.value():s;return r||(r=new pg),i(g,p,a,n,r)}}return b?(r||(r=new pg),Nee(e,s,a,n,i,r)):!1}var Cee=yee,kee=Cee,_1=ci;function XU(e,s,a,n,i){return e===s?!0:e==null||s==null||!_1(e)&&!_1(s)?e!==e&&s!==s:kee(e,s,a,n,XU,i)}var gx=XU,Eee=MU,Lee=gx,jee=1,wee=2;function Uee(e,s,a,n){var i=a.length,r=i,o=!n;if(e==null)return!r;for(e=Object(e);i--;){var l=a[i];if(o&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<r;){l=a[i];var u=l[0],c=e[u],m=l[1];if(o&&l[2]){if(c===void 0&&!(u in e))return!1}else{var d=new Eee;if(n)var b=n(c,m,u,e,s,d);if(!(b===void 0?Lee(m,c,jee|wee,n,d):b))return!1}}return!0}var Hee=Uee,Vee=_i;function Pee(e){return e===e&&!Vee(e)}var JU=Pee,Aee=JU,See=zb;function Tee(e){for(var s=See(e),a=s.length;a--;){var n=s[a],i=e[n];s[a]=[n,i,Aee(i)]}return s}var _ee=Tee;function Ree(e,s){return function(a){return a==null?!1:a[e]===s&&(s!==void 0||e in Object(a))}}var eH=Ree,Mee=Hee,Oee=_ee,Iee=eH;function $ee(e){var s=Oee(e);return s.length==1&&s[0][2]?Iee(s[0][0],s[0][1]):function(a){return a===e||Mee(a,e,s)}}var Fee=$ee;function Bee(e,s){return e!=null&&s in Object(e)}var qee=Bee,Wee=uU,zee=dx,Kee=oa,Yee=bx,Qee=fx,Zee=$b;function Xee(e,s,a){s=Wee(s,e);for(var n=-1,i=s.length,r=!1;++n<i;){var o=Zee(s[n]);if(!(r=e!=null&&a(e,o)))break;e=e[o]}return r||++n!=i?r:(i=e==null?0:e.length,!!i&&Qee(i)&&Yee(o,i)&&(Kee(e)||zee(e)))}var Jee=Xee,ese=qee,sse=Jee;function tse(e,s){return e!=null&&sse(e,s,ese)}var ase=tse,nse=gx,ise=cU,rse=ase,ose=QN,lse=JU,use=eH,cse=$b,mse=1,dse=2;function bse(e,s){return ose(e)&&lse(s)?use(cse(e),s):function(a){var n=ise(a,e);return n===void 0&&n===s?rse(a,e):nse(s,n,mse|dse)}}var fse=bse;function gse(e){return e}var _l=gse;function pse(e){return function(s){return s?.[e]}}var hse=pse,vse=ax;function Nse(e){return function(s){return vse(s,e)}}var xse=Nse,Dse=hse,Gse=xse,yse=QN,Cse=$b;function kse(e){return yse(e)?Dse(Cse(e)):Gse(e)}var Ese=kse,Lse=Fee,jse=fse,wse=_l,Use=oa,Hse=Ese;function Vse(e){return typeof e=="function"?e:e==null?wse:typeof e=="object"?Use(e)?jse(e[0],e[1]):Lse(e):Hse(e)}var Ri=Vse;function Pse(e,s,a,n){for(var i=e.length,r=a+(n?1:-1);n?r--:++r<i;)if(s(e[r],r,e))return r;return-1}var sH=Pse;function Ase(e){return e!==e}var Sse=Ase;function Tse(e,s,a){for(var n=a-1,i=e.length;++n<i;)if(e[n]===s)return n;return-1}var _se=Tse,Rse=sH,Mse=Sse,Ose=_se;function Ise(e,s,a){return s===s?Ose(e,s,a):Rse(e,Mse,a)}var $se=Ise,Fse=$se;function Bse(e,s){var a=e==null?0:e.length;return!!a&&Fse(e,s,0)>-1}var qse=Bse;function Wse(e,s,a){for(var n=-1,i=e==null?0:e.length;++n<i;)if(a(s,e[n]))return!0;return!1}var zse=Wse;function Kse(){}var Yse=Kse,hg=QU,Qse=Yse,Zse=mx,Xse=1/0,Jse=hg&&1/Zse(new hg([,-0]))[1]==Xse?function(e){return new hg(e)}:Qse,ete=Jse,ste=OU,tte=qse,ate=zse,nte=$U,ite=ete,rte=mx,ote=200;function lte(e,s,a){var n=-1,i=tte,r=e.length,o=!0,l=[],u=l;if(a)o=!1,i=ate;else if(r>=ote){var c=s?null:ite(e);if(c)return rte(c);o=!1,i=nte,u=new ste}else u=s?[]:l;e:for(;++n<r;){var m=e[n],d=s?s(m):m;if(m=a||m!==0?m:0,o&&d===d){for(var b=u.length;b--;)if(u[b]===d)continue e;s&&u.push(d),l.push(m)}else i(u,d,a)||(u!==l&&u.push(d),l.push(m))}return l}var ute=lte,cte=Ri,mte=ute;function dte(e,s){return e&&e.length?mte(e,cte(s)):[]}var bte=dte;const R1=ws(bte);function tH(e,s,a){return s===!0?R1(e,a):ze(s)?R1(e,s):e}function $o(e){"@babel/helpers - typeof";return $o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},$o(e)}var fte=["ref"];function M1(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Rn(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?M1(Object(a),!0).forEach(function(n){Kb(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):M1(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function gte(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function O1(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,nH(n.key),n)}}function pte(e,s,a){return s&&O1(e.prototype,s),a&&O1(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function hte(e,s,a){return s=dd(s),vte(e,aH()?Reflect.construct(s,a||[],dd(e).constructor):s.apply(e,a))}function vte(e,s){if(s&&($o(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Nte(e)}function Nte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aH(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(aH=function(){return!!e})()}function dd(e){return dd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},dd(e)}function xte(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&uh(e,s)}function uh(e,s){return uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},uh(e,s)}function Kb(e,s,a){return s=nH(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function nH(e){var s=Dte(e,"string");return $o(s)=="symbol"?s:s+""}function Dte(e,s){if($o(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if($o(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function Gte(e,s){if(e==null)return{};var a=yte(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function yte(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function Cte(e){return e.value}function kte(e,s){if(S.isValidElement(e))return S.cloneElement(e,s);if(typeof e=="function")return S.createElement(e,s);s.ref;var a=Gte(s,fte);return S.createElement(cx,a)}var I1=1,Lo=function(e){function s(){var a;gte(this,s);for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return a=hte(this,s,[].concat(i)),Kb(a,"lastBoundingBox",{width:-1,height:-1}),a}return xte(s,e),pte(s,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();return n.height=this.wrapperNode.offsetHeight,n.width=this.wrapperNode.offsetWidth,n}return null}},{key:"updateBBox",value:function(){var n=this.props.onBBoxUpdate,i=this.getBBox();i?(Math.abs(i.width-this.lastBoundingBox.width)>I1||Math.abs(i.height-this.lastBoundingBox.height)>I1)&&(this.lastBoundingBox.width=i.width,this.lastBoundingBox.height=i.height,n&&n(i)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,n&&n(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Rn({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(n){var i=this.props,r=i.layout,o=i.align,l=i.verticalAlign,u=i.margin,c=i.chartWidth,m=i.chartHeight,d,b;if(!n||(n.left===void 0||n.left===null)&&(n.right===void 0||n.right===null))if(o==="center"&&r==="vertical"){var f=this.getBBoxSnapshot();d={left:((c||0)-f.width)/2}}else d=o==="right"?{right:u&&u.right||0}:{left:u&&u.left||0};if(!n||(n.top===void 0||n.top===null)&&(n.bottom===void 0||n.bottom===null))if(l==="middle"){var h=this.getBBoxSnapshot();b={top:((m||0)-h.height)/2}}else b=l==="bottom"?{bottom:u&&u.bottom||0}:{top:u&&u.top||0};return Rn(Rn({},d),b)}},{key:"render",value:function(){var n=this,i=this.props,r=i.content,o=i.width,l=i.height,u=i.wrapperStyle,c=i.payloadUniqBy,m=i.payload,d=Rn(Rn({position:"absolute",width:o||"auto",height:l||"auto"},this.getDefaultPosition(u)),u);return S.createElement("div",{className:"recharts-legend-wrapper",style:d,ref:function(f){n.wrapperNode=f}},kte(r,Rn(Rn({},this.props),{},{payload:tH(m,c,Cte)})))}}],[{key:"getWithHeight",value:function(n,i){var r=Rn(Rn({},this.defaultProps),n.props),o=r.layout;return o==="vertical"&&Ne(n.props.height)?{height:n.props.height}:o==="horizontal"?{width:n.props.width||i}:null}}])}(v.PureComponent);Kb(Lo,"displayName","Legend");Kb(Lo,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var $1=Ac,Ete=dx,Lte=oa,F1=$1?$1.isConcatSpreadable:void 0;function jte(e){return Lte(e)||Ete(e)||!!(F1&&e&&e[F1])}var wte=jte,Ute=BU,Hte=wte;function iH(e,s,a,n,i){var r=-1,o=e.length;for(a||(a=Hte),i||(i=[]);++r<o;){var l=e[r];s>0&&a(l)?s>1?iH(l,s-1,a,n,i):Ute(i,l):n||(i[i.length]=l)}return i}var rH=iH;function Vte(e){return function(s,a,n){for(var i=-1,r=Object(s),o=n(s),l=o.length;l--;){var u=o[e?l:++i];if(a(r[u],u,r)===!1)break}return s}}var Pte=Vte,Ate=Pte,Ste=Ate(),Tte=Ste,_te=Tte,Rte=zb;function Mte(e,s){return e&&_te(e,s,Rte)}var oH=Mte,Ote=Tc;function Ite(e,s){return function(a,n){if(a==null)return a;if(!Ote(a))return e(a,n);for(var i=a.length,r=s?i:-1,o=Object(a);(s?r--:++r<i)&&n(o[r],r,o)!==!1;);return a}}var $te=Ite,Fte=oH,Bte=$te,qte=Bte(Fte),px=qte,Wte=px,zte=Tc;function Kte(e,s){var a=-1,n=zte(e)?Array(e.length):[];return Wte(e,function(i,r,o){n[++a]=s(i,r,o)}),n}var lH=Kte;function Yte(e,s){var a=e.length;for(e.sort(s);a--;)e[a]=e[a].value;return e}var Qte=Yte,B1=wl;function Zte(e,s){if(e!==s){var a=e!==void 0,n=e===null,i=e===e,r=B1(e),o=s!==void 0,l=s===null,u=s===s,c=B1(s);if(!l&&!c&&!r&&e>s||r&&o&&u&&!l&&!c||n&&o&&u||!a&&u||!i)return 1;if(!n&&!r&&!c&&e<s||c&&a&&i&&!n&&!r||l&&a&&i||!o&&i||!u)return-1}return 0}var Xte=Zte,Jte=Xte;function eae(e,s,a){for(var n=-1,i=e.criteria,r=s.criteria,o=i.length,l=a.length;++n<o;){var u=Jte(i[n],r[n]);if(u){if(n>=l)return u;var c=a[n];return u*(c=="desc"?-1:1)}}return e.index-s.index}var sae=eae,vg=tx,tae=ax,aae=Ri,nae=lH,iae=Qte,rae=zU,oae=sae,lae=_l,uae=oa;function cae(e,s,a){s.length?s=vg(s,function(r){return uae(r)?function(o){return tae(o,r.length===1?r[0]:r)}:r}):s=[lae];var n=-1;s=vg(s,rae(aae));var i=nae(e,function(r,o,l){var u=vg(s,function(c){return c(r)});return{criteria:u,index:++n,value:r}});return iae(i,function(r,o){return oae(r,o,a)})}var mae=cae;function dae(e,s,a){switch(a.length){case 0:return e.call(s);case 1:return e.call(s,a[0]);case 2:return e.call(s,a[0],a[1]);case 3:return e.call(s,a[0],a[1],a[2])}return e.apply(s,a)}var bae=dae,fae=bae,q1=Math.max;function gae(e,s,a){return s=q1(s===void 0?e.length-1:s,0),function(){for(var n=arguments,i=-1,r=q1(n.length-s,0),o=Array(r);++i<r;)o[i]=n[s+i];i=-1;for(var l=Array(s+1);++i<s;)l[i]=n[i];return l[s]=a(o),fae(e,this,l)}}var pae=gae;function hae(e){return function(){return e}}var vae=hae,Nae=Mr,xae=function(){try{var e=Nae(Object,"defineProperty");return e({},"",{}),e}catch{}}(),uH=xae,Dae=vae,W1=uH,Gae=_l,yae=W1?function(e,s){return W1(e,"toString",{configurable:!0,enumerable:!1,value:Dae(s),writable:!0})}:Gae,Cae=yae,kae=800,Eae=16,Lae=Date.now;function jae(e){var s=0,a=0;return function(){var n=Lae(),i=Eae-(n-a);if(a=n,i>0){if(++s>=kae)return arguments[0]}else s=0;return e.apply(void 0,arguments)}}var wae=jae,Uae=Cae,Hae=wae,Vae=Hae(Uae),Pae=Vae,Aae=_l,Sae=pae,Tae=Pae;function _ae(e,s){return Tae(Sae(e,s,Aae),e+"")}var Rae=_ae,Mae=XN,Oae=Tc,Iae=bx,$ae=_i;function Fae(e,s,a){if(!$ae(a))return!1;var n=typeof s;return(n=="number"?Oae(a)&&Iae(s,a.length):n=="string"&&s in a)?Mae(a[s],e):!1}var Yb=Fae,Bae=rH,qae=mae,Wae=Rae,z1=Yb,zae=Wae(function(e,s){if(e==null)return[];var a=s.length;return a>1&&z1(e,s[0],s[1])?s=[]:a>2&&z1(s[0],s[1],s[2])&&(s=[s[0]]),qae(e,Bae(s,1),[])}),Kae=zae;const hx=ws(Kae);function Iu(e){"@babel/helpers - typeof";return Iu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Iu(e)}function ch(){return ch=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ch.apply(this,arguments)}function Yae(e,s){return Jae(e)||Xae(e,s)||Zae(e,s)||Qae()}function Qae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zae(e,s){if(e){if(typeof e=="string")return K1(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return K1(e,s)}}function K1(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function Xae(e,s){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,i,r,o,l=[],u=!0,c=!1;try{if(r=(a=a.call(e)).next,s!==0)for(;!(u=(n=r.call(a)).done)&&(l.push(n.value),l.length!==s);u=!0);}catch(m){c=!0,i=m}finally{try{if(!u&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function Jae(e){if(Array.isArray(e))return e}function Y1(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Ng(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?Y1(Object(a),!0).forEach(function(n){ene(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Y1(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function ene(e,s,a){return s=sne(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function sne(e){var s=tne(e,"string");return Iu(s)=="symbol"?s:s+""}function tne(e,s){if(Iu(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Iu(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function ane(e){return Array.isArray(e)&&pt(e[0])&&pt(e[1])?e.join(" ~ "):e}var nne=function(s){var a=s.separator,n=a===void 0?" : ":a,i=s.contentStyle,r=i===void 0?{}:i,o=s.itemStyle,l=o===void 0?{}:o,u=s.labelStyle,c=u===void 0?{}:u,m=s.payload,d=s.formatter,b=s.itemSorter,f=s.wrapperClassName,h=s.labelClassName,g=s.label,p=s.labelFormatter,x=s.accessibilityLayer,D=x===void 0?!1:x,N=function(){if(m&&m.length){var j={padding:0,margin:0},w=(b?hx(m,b):m).map(function(A,P){if(A.type==="none")return null;var V=Ng({display:"block",paddingTop:4,paddingBottom:4,color:A.color||"#000"},l),_=A.formatter||d||ane,O=A.value,$=A.name,Q=O,ne=$;if(_&&Q!=null&&ne!=null){var Z=_(O,$,A,P,m);if(Array.isArray(Z)){var ee=Yae(Z,2);Q=ee[0],ne=ee[1]}else Q=Z}return S.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(P),style:V},pt(ne)?S.createElement("span",{className:"recharts-tooltip-item-name"},ne):null,pt(ne)?S.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,S.createElement("span",{className:"recharts-tooltip-item-value"},Q),S.createElement("span",{className:"recharts-tooltip-item-unit"},A.unit||""))});return S.createElement("ul",{className:"recharts-tooltip-item-list",style:j},w)}return null},C=Ng({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},r),y=Ng({margin:0},c),G=!Xe(g),k=G?g:"",E=es("recharts-default-tooltip",f),U=es("recharts-tooltip-label",h);G&&p&&m!==void 0&&m!==null&&(k=p(g,m));var T=D?{role:"status","aria-live":"assertive"}:{};return S.createElement("div",ch({className:E,style:C},T),S.createElement("p",{className:U,style:y},S.isValidElement(k)?k:"".concat(k)),N())};function $u(e){"@babel/helpers - typeof";return $u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},$u(e)}function cm(e,s,a){return s=ine(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function ine(e){var s=rne(e,"string");return $u(s)=="symbol"?s:s+""}function rne(e,s){if($u(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if($u(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var Ql="recharts-tooltip-wrapper",one={visibility:"hidden"};function lne(e){var s=e.coordinate,a=e.translateX,n=e.translateY;return es(Ql,cm(cm(cm(cm({},"".concat(Ql,"-right"),Ne(a)&&s&&Ne(s.x)&&a>=s.x),"".concat(Ql,"-left"),Ne(a)&&s&&Ne(s.x)&&a<s.x),"".concat(Ql,"-bottom"),Ne(n)&&s&&Ne(s.y)&&n>=s.y),"".concat(Ql,"-top"),Ne(n)&&s&&Ne(s.y)&&n<s.y))}function Q1(e){var s=e.allowEscapeViewBox,a=e.coordinate,n=e.key,i=e.offsetTopLeft,r=e.position,o=e.reverseDirection,l=e.tooltipDimension,u=e.viewBox,c=e.viewBoxDimension;if(r&&Ne(r[n]))return r[n];var m=a[n]-l-i,d=a[n]+i;if(s[n])return o[n]?m:d;if(o[n]){var b=m,f=u[n];return b<f?Math.max(d,u[n]):Math.max(m,u[n])}var h=d+l,g=u[n]+c;return h>g?Math.max(m,u[n]):Math.max(d,u[n])}function une(e){var s=e.translateX,a=e.translateY,n=e.useTranslate3d;return{transform:n?"translate3d(".concat(s,"px, ").concat(a,"px, 0)"):"translate(".concat(s,"px, ").concat(a,"px)")}}function cne(e){var s=e.allowEscapeViewBox,a=e.coordinate,n=e.offsetTopLeft,i=e.position,r=e.reverseDirection,o=e.tooltipBox,l=e.useTranslate3d,u=e.viewBox,c,m,d;return o.height>0&&o.width>0&&a?(m=Q1({allowEscapeViewBox:s,coordinate:a,key:"x",offsetTopLeft:n,position:i,reverseDirection:r,tooltipDimension:o.width,viewBox:u,viewBoxDimension:u.width}),d=Q1({allowEscapeViewBox:s,coordinate:a,key:"y",offsetTopLeft:n,position:i,reverseDirection:r,tooltipDimension:o.height,viewBox:u,viewBoxDimension:u.height}),c=une({translateX:m,translateY:d,useTranslate3d:l})):c=one,{cssProperties:c,cssClasses:lne({translateX:m,translateY:d,coordinate:a})}}function Fo(e){"@babel/helpers - typeof";return Fo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Fo(e)}function Z1(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function X1(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?Z1(Object(a),!0).forEach(function(n){dh(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Z1(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function mne(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function dne(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,mH(n.key),n)}}function bne(e,s,a){return s&&dne(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function fne(e,s,a){return s=bd(s),gne(e,cH()?Reflect.construct(s,a||[],bd(e).constructor):s.apply(e,a))}function gne(e,s){if(s&&(Fo(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return pne(e)}function pne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cH(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(cH=function(){return!!e})()}function bd(e){return bd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},bd(e)}function hne(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&mh(e,s)}function mh(e,s){return mh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},mh(e,s)}function dh(e,s,a){return s=mH(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function mH(e){var s=vne(e,"string");return Fo(s)=="symbol"?s:s+""}function vne(e,s){if(Fo(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Fo(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var J1=1,Nne=function(e){function s(){var a;mne(this,s);for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return a=fne(this,s,[].concat(i)),dh(a,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),dh(a,"handleKeyDown",function(o){if(o.key==="Escape"){var l,u,c,m;a.setState({dismissed:!0,dismissedAtCoordinate:{x:(l=(u=a.props.coordinate)===null||u===void 0?void 0:u.x)!==null&&l!==void 0?l:0,y:(c=(m=a.props.coordinate)===null||m===void 0?void 0:m.y)!==null&&c!==void 0?c:0}})}}),a}return hne(s,e),bne(s,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-this.state.lastBoundingBox.width)>J1||Math.abs(n.height-this.state.lastBoundingBox.height)>J1)&&this.setState({lastBoundingBox:{width:n.width,height:n.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var n,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var n=this,i=this.props,r=i.active,o=i.allowEscapeViewBox,l=i.animationDuration,u=i.animationEasing,c=i.children,m=i.coordinate,d=i.hasPayload,b=i.isAnimationActive,f=i.offset,h=i.position,g=i.reverseDirection,p=i.useTranslate3d,x=i.viewBox,D=i.wrapperStyle,N=cne({allowEscapeViewBox:o,coordinate:m,offsetTopLeft:f,position:h,reverseDirection:g,tooltipBox:this.state.lastBoundingBox,useTranslate3d:p,viewBox:x}),C=N.cssClasses,y=N.cssProperties,G=X1(X1({transition:b&&r?"transform ".concat(l,"ms ").concat(u):void 0},y),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&d?"visible":"hidden",position:"absolute",top:0,left:0},D);return S.createElement("div",{tabIndex:-1,className:C,style:G,ref:function(E){n.wrapperNode=E}},c)}}])}(v.PureComponent),xne=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},Zn={isSsr:xne(),get:function(s){return Zn[s]},set:function(s,a){if(typeof s=="string")Zn[s]=a;else{var n=Object.keys(s);n&&n.length&&n.forEach(function(i){Zn[i]=s[i]})}}};function Bo(e){"@babel/helpers - typeof";return Bo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Bo(e)}function ey(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function sy(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?ey(Object(a),!0).forEach(function(n){vx(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ey(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Dne(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function Gne(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,bH(n.key),n)}}function yne(e,s,a){return s&&Gne(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function Cne(e,s,a){return s=fd(s),kne(e,dH()?Reflect.construct(s,a||[],fd(e).constructor):s.apply(e,a))}function kne(e,s){if(s&&(Bo(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ene(e)}function Ene(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dH(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(dH=function(){return!!e})()}function fd(e){return fd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},fd(e)}function Lne(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&bh(e,s)}function bh(e,s){return bh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},bh(e,s)}function vx(e,s,a){return s=bH(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function bH(e){var s=jne(e,"string");return Bo(s)=="symbol"?s:s+""}function jne(e,s){if(Bo(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Bo(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function wne(e){return e.dataKey}function Une(e,s){return S.isValidElement(e)?S.cloneElement(e,s):typeof e=="function"?S.createElement(e,s):S.createElement(nne,s)}var hn=function(e){function s(){return Dne(this,s),Cne(this,s,arguments)}return Lne(s,e),yne(s,[{key:"render",value:function(){var n=this,i=this.props,r=i.active,o=i.allowEscapeViewBox,l=i.animationDuration,u=i.animationEasing,c=i.content,m=i.coordinate,d=i.filterNull,b=i.isAnimationActive,f=i.offset,h=i.payload,g=i.payloadUniqBy,p=i.position,x=i.reverseDirection,D=i.useTranslate3d,N=i.viewBox,C=i.wrapperStyle,y=h??[];d&&y.length&&(y=tH(h.filter(function(k){return k.value!=null&&(k.hide!==!0||n.props.includeHidden)}),g,wne));var G=y.length>0;return S.createElement(Nne,{allowEscapeViewBox:o,animationDuration:l,animationEasing:u,isAnimationActive:b,active:r,coordinate:m,hasPayload:G,offset:f,position:p,reverseDirection:x,useTranslate3d:D,viewBox:N,wrapperStyle:C},Une(c,sy(sy({},this.props),{},{payload:y})))}}])}(v.PureComponent);vx(hn,"displayName","Tooltip");vx(hn,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Zn.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var Hne=An,Vne=function(){return Hne.Date.now()},Pne=Vne,Ane=/\s/;function Sne(e){for(var s=e.length;s--&&Ane.test(e.charAt(s)););return s}var Tne=Sne,_ne=Tne,Rne=/^\s+/;function Mne(e){return e&&e.slice(0,_ne(e)+1).replace(Rne,"")}var One=Mne,Ine=One,ty=_i,$ne=wl,ay=NaN,Fne=/^[-+]0x[0-9a-f]+$/i,Bne=/^0b[01]+$/i,qne=/^0o[0-7]+$/i,Wne=parseInt;function zne(e){if(typeof e=="number")return e;if($ne(e))return ay;if(ty(e)){var s=typeof e.valueOf=="function"?e.valueOf():e;e=ty(s)?s+"":s}if(typeof e!="string")return e===0?e:+e;e=Ine(e);var a=Bne.test(e);return a||qne.test(e)?Wne(e.slice(2),a?2:8):Fne.test(e)?ay:+e}var fH=zne,Kne=_i,xg=Pne,ny=fH,Yne="Expected a function",Qne=Math.max,Zne=Math.min;function Xne(e,s,a){var n,i,r,o,l,u,c=0,m=!1,d=!1,b=!0;if(typeof e!="function")throw new TypeError(Yne);s=ny(s)||0,Kne(a)&&(m=!!a.leading,d="maxWait"in a,r=d?Qne(ny(a.maxWait)||0,s):r,b="trailing"in a?!!a.trailing:b);function f(G){var k=n,E=i;return n=i=void 0,c=G,o=e.apply(E,k),o}function h(G){return c=G,l=setTimeout(x,s),m?f(G):o}function g(G){var k=G-u,E=G-c,U=s-k;return d?Zne(U,r-E):U}function p(G){var k=G-u,E=G-c;return u===void 0||k>=s||k<0||d&&E>=r}function x(){var G=xg();if(p(G))return D(G);l=setTimeout(x,g(G))}function D(G){return l=void 0,b&&n?f(G):(n=i=void 0,o)}function N(){l!==void 0&&clearTimeout(l),c=0,n=u=i=l=void 0}function C(){return l===void 0?o:D(xg())}function y(){var G=xg(),k=p(G);if(n=arguments,i=this,u=G,k){if(l===void 0)return h(u);if(d)return clearTimeout(l),l=setTimeout(x,s),f(u)}return l===void 0&&(l=setTimeout(x,s)),o}return y.cancel=N,y.flush=C,y}var Jne=Xne,eie=Jne,sie=_i,tie="Expected a function";function aie(e,s,a){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(tie);return sie(a)&&(n="leading"in a?!!a.leading:n,i="trailing"in a?!!a.trailing:i),eie(e,s,{leading:n,maxWait:s,trailing:i})}var nie=aie;const gH=ws(nie);function Fu(e){"@babel/helpers - typeof";return Fu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Fu(e)}function iy(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function mm(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?iy(Object(a),!0).forEach(function(n){iie(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):iy(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function iie(e,s,a){return s=rie(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function rie(e){var s=oie(e,"string");return Fu(s)=="symbol"?s:s+""}function oie(e,s){if(Fu(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Fu(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function lie(e,s){return die(e)||mie(e,s)||cie(e,s)||uie()}function uie(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cie(e,s){if(e){if(typeof e=="string")return ry(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return ry(e,s)}}function ry(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function mie(e,s){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,i,r,o,l=[],u=!0,c=!1;try{if(r=(a=a.call(e)).next,s!==0)for(;!(u=(n=r.call(a)).done)&&(l.push(n.value),l.length!==s);u=!0);}catch(m){c=!0,i=m}finally{try{if(!u&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function die(e){if(Array.isArray(e))return e}var bie=v.forwardRef(function(e,s){var a=e.aspect,n=e.initialDimension,i=n===void 0?{width:-1,height:-1}:n,r=e.width,o=r===void 0?"100%":r,l=e.height,u=l===void 0?"100%":l,c=e.minWidth,m=c===void 0?0:c,d=e.minHeight,b=e.maxHeight,f=e.children,h=e.debounce,g=h===void 0?0:h,p=e.id,x=e.className,D=e.onResize,N=e.style,C=N===void 0?{}:N,y=v.useRef(null),G=v.useRef();G.current=D,v.useImperativeHandle(s,function(){return Object.defineProperty(y.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),y.current},configurable:!0})});var k=v.useState({containerWidth:i.width,containerHeight:i.height}),E=lie(k,2),U=E[0],T=E[1],H=v.useCallback(function(w,A){T(function(P){var V=Math.round(w),_=Math.round(A);return P.containerWidth===V&&P.containerHeight===_?P:{containerWidth:V,containerHeight:_}})},[]);v.useEffect(function(){var w=function($){var Q,ne=$[0].contentRect,Z=ne.width,ee=ne.height;H(Z,ee),(Q=G.current)===null||Q===void 0||Q.call(G,Z,ee)};g>0&&(w=gH(w,g,{trailing:!0,leading:!1}));var A=new ResizeObserver(w),P=y.current.getBoundingClientRect(),V=P.width,_=P.height;return H(V,_),A.observe(y.current),function(){A.disconnect()}},[H,g]);var j=v.useMemo(function(){var w=U.containerWidth,A=U.containerHeight;if(w<0||A<0)return null;Qn(lr(o)||lr(u),`The width(%s) and height(%s) are both fixed numbers,
       maybe you don't need to use a ResponsiveContainer.`,o,u),Qn(!a||a>0,"The aspect(%s) must be greater than zero.",a);var P=lr(o)?w:o,V=lr(u)?A:u;a&&a>0&&(P?V=P/a:V&&(P=V*a),b&&V>b&&(V=b)),Qn(P>0||V>0,`The width(%s) and height(%s) of chart should be greater than 0,
       please check the style of container, or the props width(%s) and height(%s),
       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
       height and width.`,P,V,o,u,m,d,a);var _=!Array.isArray(f)&&Yn(f.type).endsWith("Chart");return S.Children.map(f,function(O){return S.isValidElement(O)?v.cloneElement(O,mm({width:P,height:V},_?{style:mm({height:"100%",width:"100%",maxHeight:V,maxWidth:P},O.props.style)}:{})):O})},[a,f,u,b,d,m,U,o]);return S.createElement("div",{id:p?"".concat(p):void 0,className:es("recharts-responsive-container",x),style:mm(mm({},C),{},{width:o,height:u,minWidth:m,minHeight:d,maxHeight:b}),ref:y},j)}),pH=function(s){return null};pH.displayName="Cell";function Bu(e){"@babel/helpers - typeof";return Bu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Bu(e)}function oy(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function fh(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?oy(Object(a),!0).forEach(function(n){fie(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):oy(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function fie(e,s,a){return s=gie(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function gie(e){var s=pie(e,"string");return Bu(s)=="symbol"?s:s+""}function pie(e,s){if(Bu(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Bu(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var to={widthCache:{},cacheCount:0},hie=2e3,vie={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},ly="recharts_measurement_span";function Nie(e){var s=fh({},e);return Object.keys(s).forEach(function(a){s[a]||delete s[a]}),s}var vu=function(s){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s==null||Zn.isSsr)return{width:0,height:0};var n=Nie(a),i=JSON.stringify({text:s,copyStyle:n});if(to.widthCache[i])return to.widthCache[i];try{var r=document.getElementById(ly);r||(r=document.createElement("span"),r.setAttribute("id",ly),r.setAttribute("aria-hidden","true"),document.body.appendChild(r));var o=fh(fh({},vie),n);Object.assign(r.style,o),r.textContent="".concat(s);var l=r.getBoundingClientRect(),u={width:l.width,height:l.height};return to.widthCache[i]=u,++to.cacheCount>hie&&(to.cacheCount=0,to.widthCache={}),u}catch{return{width:0,height:0}}},xie=function(s){return{top:s.top+window.scrollY-document.documentElement.clientTop,left:s.left+window.scrollX-document.documentElement.clientLeft}};function qu(e){"@babel/helpers - typeof";return qu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},qu(e)}function gd(e,s){return Cie(e)||yie(e,s)||Gie(e,s)||Die()}function Die(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gie(e,s){if(e){if(typeof e=="string")return uy(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return uy(e,s)}}function uy(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function yie(e,s){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,i,r,o,l=[],u=!0,c=!1;try{if(r=(a=a.call(e)).next,s===0){if(Object(a)!==a)return;u=!1}else for(;!(u=(n=r.call(a)).done)&&(l.push(n.value),l.length!==s);u=!0);}catch(m){c=!0,i=m}finally{try{if(!u&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function Cie(e){if(Array.isArray(e))return e}function kie(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function cy(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Lie(n.key),n)}}function Eie(e,s,a){return s&&cy(e.prototype,s),a&&cy(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lie(e){var s=jie(e,"string");return qu(s)=="symbol"?s:s+""}function jie(e,s){if(qu(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s);if(qu(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var my=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,dy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,wie=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,Uie=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,hH={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},Hie=Object.keys(hH),vo="NaN";function Vie(e,s){return e*hH[s]}var dm=function(){function e(s,a){kie(this,e),this.num=s,this.unit=a,this.num=s,this.unit=a,Number.isNaN(s)&&(this.unit=""),a!==""&&!wie.test(a)&&(this.num=NaN,this.unit=""),Hie.includes(a)&&(this.num=Vie(s,a),this.unit="px")}return Eie(e,[{key:"add",value:function(a){return this.unit!==a.unit?new e(NaN,""):new e(this.num+a.num,this.unit)}},{key:"subtract",value:function(a){return this.unit!==a.unit?new e(NaN,""):new e(this.num-a.num,this.unit)}},{key:"multiply",value:function(a){return this.unit!==""&&a.unit!==""&&this.unit!==a.unit?new e(NaN,""):new e(this.num*a.num,this.unit||a.unit)}},{key:"divide",value:function(a){return this.unit!==""&&a.unit!==""&&this.unit!==a.unit?new e(NaN,""):new e(this.num/a.num,this.unit||a.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(a){var n,i=(n=Uie.exec(a))!==null&&n!==void 0?n:[],r=gd(i,3),o=r[1],l=r[2];return new e(parseFloat(o),l??"")}}])}();function vH(e){if(e.includes(vo))return vo;for(var s=e;s.includes("*")||s.includes("/");){var a,n=(a=my.exec(s))!==null&&a!==void 0?a:[],i=gd(n,4),r=i[1],o=i[2],l=i[3],u=dm.parse(r??""),c=dm.parse(l??""),m=o==="*"?u.multiply(c):u.divide(c);if(m.isNaN())return vo;s=s.replace(my,m.toString())}for(;s.includes("+")||/.-\d+(?:\.\d+)?/.test(s);){var d,b=(d=dy.exec(s))!==null&&d!==void 0?d:[],f=gd(b,4),h=f[1],g=f[2],p=f[3],x=dm.parse(h??""),D=dm.parse(p??""),N=g==="+"?x.add(D):x.subtract(D);if(N.isNaN())return vo;s=s.replace(dy,N.toString())}return s}var by=/\(([^()]*)\)/;function Pie(e){for(var s=e;s.includes("(");){var a=by.exec(s),n=gd(a,2),i=n[1];s=s.replace(by,vH(i))}return s}function Aie(e){var s=e.replace(/\s+/g,"");return s=Pie(s),s=vH(s),s}function Sie(e){try{return Aie(e)}catch{return vo}}function Dg(e){var s=Sie(e.slice(5,-1));return s===vo?"":s}var Tie=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],_ie=["dx","dy","angle","className","breakAll"];function gh(){return gh=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},gh.apply(this,arguments)}function fy(e,s){if(e==null)return{};var a=Rie(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Rie(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function gy(e,s){return $ie(e)||Iie(e,s)||Oie(e,s)||Mie()}function Mie(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oie(e,s){if(e){if(typeof e=="string")return py(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return py(e,s)}}function py(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function Iie(e,s){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,i,r,o,l=[],u=!0,c=!1;try{if(r=(a=a.call(e)).next,s===0){if(Object(a)!==a)return;u=!1}else for(;!(u=(n=r.call(a)).done)&&(l.push(n.value),l.length!==s);u=!0);}catch(m){c=!0,i=m}finally{try{if(!u&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function $ie(e){if(Array.isArray(e))return e}var NH=/[ \f\n\r\t\v\u2028\u2029]+/,xH=function(s){var a=s.children,n=s.breakAll,i=s.style;try{var r=[];Xe(a)||(n?r=a.toString().split(""):r=a.toString().split(NH));var o=r.map(function(u){return{word:u,width:vu(u,i).width}}),l=n?0:vu(" ",i).width;return{wordsWithComputedWidth:o,spaceWidth:l}}catch{return null}},Fie=function(s,a,n,i,r){var o=s.maxLines,l=s.children,u=s.style,c=s.breakAll,m=Ne(o),d=l,b=function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return P.reduce(function(V,_){var O=_.word,$=_.width,Q=V[V.length-1];if(Q&&(i==null||r||Q.width+$+n<Number(i)))Q.words.push(O),Q.width+=$+n;else{var ne={words:[O],width:$};V.push(ne)}return V},[])},f=b(a),h=function(P){return P.reduce(function(V,_){return V.width>_.width?V:_})};if(!m)return f;for(var g="…",p=function(P){var V=d.slice(0,P),_=xH({breakAll:c,style:u,children:V+g}).wordsWithComputedWidth,O=b(_),$=O.length>o||h(O).width>Number(i);return[$,O]},x=0,D=d.length-1,N=0,C;x<=D&&N<=d.length-1;){var y=Math.floor((x+D)/2),G=y-1,k=p(G),E=gy(k,2),U=E[0],T=E[1],H=p(y),j=gy(H,1),w=j[0];if(!U&&!w&&(x=y+1),U&&w&&(D=y-1),!U&&w){C=T;break}N++}return C||f},hy=function(s){var a=Xe(s)?[]:s.toString().split(NH);return[{words:a}]},Bie=function(s){var a=s.width,n=s.scaleToFit,i=s.children,r=s.style,o=s.breakAll,l=s.maxLines;if((a||n)&&!Zn.isSsr){var u,c,m=xH({breakAll:o,children:i,style:r});if(m){var d=m.wordsWithComputedWidth,b=m.spaceWidth;u=d,c=b}else return hy(i);return Fie({breakAll:o,children:i,maxLines:l,style:r},u,c,a,n)}return hy(i)},vy="#808080",pd=function(s){var a=s.x,n=a===void 0?0:a,i=s.y,r=i===void 0?0:i,o=s.lineHeight,l=o===void 0?"1em":o,u=s.capHeight,c=u===void 0?"0.71em":u,m=s.scaleToFit,d=m===void 0?!1:m,b=s.textAnchor,f=b===void 0?"start":b,h=s.verticalAnchor,g=h===void 0?"end":h,p=s.fill,x=p===void 0?vy:p,D=fy(s,Tie),N=v.useMemo(function(){return Bie({breakAll:D.breakAll,children:D.children,maxLines:D.maxLines,scaleToFit:d,style:D.style,width:D.width})},[D.breakAll,D.children,D.maxLines,d,D.style,D.width]),C=D.dx,y=D.dy,G=D.angle,k=D.className,E=D.breakAll,U=fy(D,_ie);if(!pt(n)||!pt(r))return null;var T=n+(Ne(C)?C:0),H=r+(Ne(y)?y:0),j;switch(g){case"start":j=Dg("calc(".concat(c,")"));break;case"middle":j=Dg("calc(".concat((N.length-1)/2," * -").concat(l," + (").concat(c," / 2))"));break;default:j=Dg("calc(".concat(N.length-1," * -").concat(l,")"));break}var w=[];if(d){var A=N[0].width,P=D.width;w.push("scale(".concat((Ne(P)?P/A:1)/A,")"))}return G&&w.push("rotate(".concat(G,", ").concat(T,", ").concat(H,")")),w.length&&(U.transform=w.join(" ")),S.createElement("text",gh({},Ze(U,!0),{x:T,y:H,className:es("recharts-text",k),textAnchor:f,fill:x.includes("url")?vy:x}),N.map(function(V,_){var O=V.words.join(E?"":" ");return S.createElement("tspan",{x:T,dy:_===0?j:l,key:"".concat(O,"-").concat(_)},O)}))};function ji(e,s){return e==null||s==null?NaN:e<s?-1:e>s?1:e>=s?0:NaN}function qie(e,s){return e==null||s==null?NaN:s<e?-1:s>e?1:s>=e?0:NaN}function Nx(e){let s,a,n;e.length!==2?(s=ji,a=(l,u)=>ji(e(l),u),n=(l,u)=>e(l)-u):(s=e===ji||e===qie?e:Wie,a=e,n=e);function i(l,u,c=0,m=l.length){if(c<m){if(s(u,u)!==0)return m;do{const d=c+m>>>1;a(l[d],u)<0?c=d+1:m=d}while(c<m)}return c}function r(l,u,c=0,m=l.length){if(c<m){if(s(u,u)!==0)return m;do{const d=c+m>>>1;a(l[d],u)<=0?c=d+1:m=d}while(c<m)}return c}function o(l,u,c=0,m=l.length){const d=i(l,u,c,m-1);return d>c&&n(l[d-1],u)>-n(l[d],u)?d-1:d}return{left:i,center:o,right:r}}function Wie(){return 0}function DH(e){return e===null?NaN:+e}function*zie(e,s){for(let a of e)a!=null&&(a=+a)>=a&&(yield a)}const Kie=Nx(ji),_c=Kie.right;Nx(DH).center;class Ny extends Map{constructor(s,a=Zie){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:a}}),s!=null)for(const[n,i]of s)this.set(n,i)}get(s){return super.get(xy(this,s))}has(s){return super.has(xy(this,s))}set(s,a){return super.set(Yie(this,s),a)}delete(s){return super.delete(Qie(this,s))}}function xy({_intern:e,_key:s},a){const n=s(a);return e.has(n)?e.get(n):a}function Yie({_intern:e,_key:s},a){const n=s(a);return e.has(n)?e.get(n):(e.set(n,a),a)}function Qie({_intern:e,_key:s},a){const n=s(a);return e.has(n)&&(a=e.get(n),e.delete(n)),a}function Zie(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Xie(e=ji){if(e===ji)return GH;if(typeof e!="function")throw new TypeError("compare is not a function");return(s,a)=>{const n=e(s,a);return n||n===0?n:(e(a,a)===0)-(e(s,s)===0)}}function GH(e,s){return(e==null||!(e>=e))-(s==null||!(s>=s))||(e<s?-1:e>s?1:0)}const Jie=Math.sqrt(50),ere=Math.sqrt(10),sre=Math.sqrt(2);function hd(e,s,a){const n=(s-e)/Math.max(0,a),i=Math.floor(Math.log10(n)),r=n/Math.pow(10,i),o=r>=Jie?10:r>=ere?5:r>=sre?2:1;let l,u,c;return i<0?(c=Math.pow(10,-i)/o,l=Math.round(e*c),u=Math.round(s*c),l/c<e&&++l,u/c>s&&--u,c=-c):(c=Math.pow(10,i)*o,l=Math.round(e/c),u=Math.round(s/c),l*c<e&&++l,u*c>s&&--u),u<l&&.5<=a&&a<2?hd(e,s,a*2):[l,u,c]}function ph(e,s,a){if(s=+s,e=+e,a=+a,!(a>0))return[];if(e===s)return[e];const n=s<e,[i,r,o]=n?hd(s,e,a):hd(e,s,a);if(!(r>=i))return[];const l=r-i+1,u=new Array(l);if(n)if(o<0)for(let c=0;c<l;++c)u[c]=(r-c)/-o;else for(let c=0;c<l;++c)u[c]=(r-c)*o;else if(o<0)for(let c=0;c<l;++c)u[c]=(i+c)/-o;else for(let c=0;c<l;++c)u[c]=(i+c)*o;return u}function hh(e,s,a){return s=+s,e=+e,a=+a,hd(e,s,a)[2]}function vh(e,s,a){s=+s,e=+e,a=+a;const n=s<e,i=n?hh(s,e,a):hh(e,s,a);return(n?-1:1)*(i<0?1/-i:i)}function Dy(e,s){let a;for(const n of e)n!=null&&(a<n||a===void 0&&n>=n)&&(a=n);return a}function Gy(e,s){let a;for(const n of e)n!=null&&(a>n||a===void 0&&n>=n)&&(a=n);return a}function yH(e,s,a=0,n=1/0,i){if(s=Math.floor(s),a=Math.floor(Math.max(0,a)),n=Math.floor(Math.min(e.length-1,n)),!(a<=s&&s<=n))return e;for(i=i===void 0?GH:Xie(i);n>a;){if(n-a>600){const u=n-a+1,c=s-a+1,m=Math.log(u),d=.5*Math.exp(2*m/3),b=.5*Math.sqrt(m*d*(u-d)/u)*(c-u/2<0?-1:1),f=Math.max(a,Math.floor(s-c*d/u+b)),h=Math.min(n,Math.floor(s+(u-c)*d/u+b));yH(e,s,f,h,i)}const r=e[s];let o=a,l=n;for(Zl(e,a,s),i(e[n],r)>0&&Zl(e,a,n);o<l;){for(Zl(e,o,l),++o,--l;i(e[o],r)<0;)++o;for(;i(e[l],r)>0;)--l}i(e[a],r)===0?Zl(e,a,l):(++l,Zl(e,l,n)),l<=s&&(a=l+1),s<=l&&(n=l-1)}return e}function Zl(e,s,a){const n=e[s];e[s]=e[a],e[a]=n}function tre(e,s,a){if(e=Float64Array.from(zie(e)),!(!(n=e.length)||isNaN(s=+s))){if(s<=0||n<2)return Gy(e);if(s>=1)return Dy(e);var n,i=(n-1)*s,r=Math.floor(i),o=Dy(yH(e,r).subarray(0,r+1)),l=Gy(e.subarray(r+1));return o+(l-o)*(i-r)}}function are(e,s,a=DH){if(!(!(n=e.length)||isNaN(s=+s))){if(s<=0||n<2)return+a(e[0],0,e);if(s>=1)return+a(e[n-1],n-1,e);var n,i=(n-1)*s,r=Math.floor(i),o=+a(e[r],r,e),l=+a(e[r+1],r+1,e);return o+(l-o)*(i-r)}}function nre(e,s,a){e=+e,s=+s,a=(i=arguments.length)<2?(s=e,e=0,1):i<3?1:+a;for(var n=-1,i=Math.max(0,Math.ceil((s-e)/a))|0,r=new Array(i);++n<i;)r[n]=e+n*a;return r}function Ra(e,s){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(s).domain(e);break}return this}function mi(e,s){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof s=="function"?this.interpolator(s):this.range(s);break}}return this}const Nh=Symbol("implicit");function xx(){var e=new Ny,s=[],a=[],n=Nh;function i(r){let o=e.get(r);if(o===void 0){if(n!==Nh)return n;e.set(r,o=s.push(r)-1)}return a[o%a.length]}return i.domain=function(r){if(!arguments.length)return s.slice();s=[],e=new Ny;for(const o of r)e.has(o)||e.set(o,s.push(o)-1);return i},i.range=function(r){return arguments.length?(a=Array.from(r),i):a.slice()},i.unknown=function(r){return arguments.length?(n=r,i):n},i.copy=function(){return xx(s,a).unknown(n)},Ra.apply(i,arguments),i}function Wu(){var e=xx().unknown(void 0),s=e.domain,a=e.range,n=0,i=1,r,o,l=!1,u=0,c=0,m=.5;delete e.unknown;function d(){var b=s().length,f=i<n,h=f?i:n,g=f?n:i;r=(g-h)/Math.max(1,b-u+c*2),l&&(r=Math.floor(r)),h+=(g-h-r*(b-u))*m,o=r*(1-u),l&&(h=Math.round(h),o=Math.round(o));var p=nre(b).map(function(x){return h+r*x});return a(f?p.reverse():p)}return e.domain=function(b){return arguments.length?(s(b),d()):s()},e.range=function(b){return arguments.length?([n,i]=b,n=+n,i=+i,d()):[n,i]},e.rangeRound=function(b){return[n,i]=b,n=+n,i=+i,l=!0,d()},e.bandwidth=function(){return o},e.step=function(){return r},e.round=function(b){return arguments.length?(l=!!b,d()):l},e.padding=function(b){return arguments.length?(u=Math.min(1,c=+b),d()):u},e.paddingInner=function(b){return arguments.length?(u=Math.min(1,b),d()):u},e.paddingOuter=function(b){return arguments.length?(c=+b,d()):c},e.align=function(b){return arguments.length?(m=Math.max(0,Math.min(1,b)),d()):m},e.copy=function(){return Wu(s(),[n,i]).round(l).paddingInner(u).paddingOuter(c).align(m)},Ra.apply(d(),arguments)}function CH(e){var s=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return CH(s())},e}function Nu(){return CH(Wu.apply(null,arguments).paddingInner(1))}function Dx(e,s,a){e.prototype=s.prototype=a,a.constructor=e}function kH(e,s){var a=Object.create(e.prototype);for(var n in s)a[n]=s[n];return a}function Rc(){}var zu=.7,vd=1/zu,jo="\\s*([+-]?\\d+)\\s*",Ku="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ln="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ire=/^#([0-9a-f]{3,8})$/,rre=new RegExp(`^rgb\\(${jo},${jo},${jo}\\)$`),ore=new RegExp(`^rgb\\(${Ln},${Ln},${Ln}\\)$`),lre=new RegExp(`^rgba\\(${jo},${jo},${jo},${Ku}\\)$`),ure=new RegExp(`^rgba\\(${Ln},${Ln},${Ln},${Ku}\\)$`),cre=new RegExp(`^hsl\\(${Ku},${Ln},${Ln}\\)$`),mre=new RegExp(`^hsla\\(${Ku},${Ln},${Ln},${Ku}\\)$`),yy={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Dx(Rc,Yu,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Cy,formatHex:Cy,formatHex8:dre,formatHsl:bre,formatRgb:ky,toString:ky});function Cy(){return this.rgb().formatHex()}function dre(){return this.rgb().formatHex8()}function bre(){return EH(this).formatHsl()}function ky(){return this.rgb().formatRgb()}function Yu(e){var s,a;return e=(e+"").trim().toLowerCase(),(s=ire.exec(e))?(a=s[1].length,s=parseInt(s[1],16),a===6?Ey(s):a===3?new Jt(s>>8&15|s>>4&240,s>>4&15|s&240,(s&15)<<4|s&15,1):a===8?bm(s>>24&255,s>>16&255,s>>8&255,(s&255)/255):a===4?bm(s>>12&15|s>>8&240,s>>8&15|s>>4&240,s>>4&15|s&240,((s&15)<<4|s&15)/255):null):(s=rre.exec(e))?new Jt(s[1],s[2],s[3],1):(s=ore.exec(e))?new Jt(s[1]*255/100,s[2]*255/100,s[3]*255/100,1):(s=lre.exec(e))?bm(s[1],s[2],s[3],s[4]):(s=ure.exec(e))?bm(s[1]*255/100,s[2]*255/100,s[3]*255/100,s[4]):(s=cre.exec(e))?wy(s[1],s[2]/100,s[3]/100,1):(s=mre.exec(e))?wy(s[1],s[2]/100,s[3]/100,s[4]):yy.hasOwnProperty(e)?Ey(yy[e]):e==="transparent"?new Jt(NaN,NaN,NaN,0):null}function Ey(e){return new Jt(e>>16&255,e>>8&255,e&255,1)}function bm(e,s,a,n){return n<=0&&(e=s=a=NaN),new Jt(e,s,a,n)}function fre(e){return e instanceof Rc||(e=Yu(e)),e?(e=e.rgb(),new Jt(e.r,e.g,e.b,e.opacity)):new Jt}function xh(e,s,a,n){return arguments.length===1?fre(e):new Jt(e,s,a,n??1)}function Jt(e,s,a,n){this.r=+e,this.g=+s,this.b=+a,this.opacity=+n}Dx(Jt,xh,kH(Rc,{brighter(e){return e=e==null?vd:Math.pow(vd,e),new Jt(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?zu:Math.pow(zu,e),new Jt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Jt(hr(this.r),hr(this.g),hr(this.b),Nd(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ly,formatHex:Ly,formatHex8:gre,formatRgb:jy,toString:jy}));function Ly(){return`#${ur(this.r)}${ur(this.g)}${ur(this.b)}`}function gre(){return`#${ur(this.r)}${ur(this.g)}${ur(this.b)}${ur((isNaN(this.opacity)?1:this.opacity)*255)}`}function jy(){const e=Nd(this.opacity);return`${e===1?"rgb(":"rgba("}${hr(this.r)}, ${hr(this.g)}, ${hr(this.b)}${e===1?")":`, ${e})`}`}function Nd(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function hr(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ur(e){return e=hr(e),(e<16?"0":"")+e.toString(16)}function wy(e,s,a,n){return n<=0?e=s=a=NaN:a<=0||a>=1?e=s=NaN:s<=0&&(e=NaN),new Ya(e,s,a,n)}function EH(e){if(e instanceof Ya)return new Ya(e.h,e.s,e.l,e.opacity);if(e instanceof Rc||(e=Yu(e)),!e)return new Ya;if(e instanceof Ya)return e;e=e.rgb();var s=e.r/255,a=e.g/255,n=e.b/255,i=Math.min(s,a,n),r=Math.max(s,a,n),o=NaN,l=r-i,u=(r+i)/2;return l?(s===r?o=(a-n)/l+(a<n)*6:a===r?o=(n-s)/l+2:o=(s-a)/l+4,l/=u<.5?r+i:2-r-i,o*=60):l=u>0&&u<1?0:o,new Ya(o,l,u,e.opacity)}function pre(e,s,a,n){return arguments.length===1?EH(e):new Ya(e,s,a,n??1)}function Ya(e,s,a,n){this.h=+e,this.s=+s,this.l=+a,this.opacity=+n}Dx(Ya,pre,kH(Rc,{brighter(e){return e=e==null?vd:Math.pow(vd,e),new Ya(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?zu:Math.pow(zu,e),new Ya(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,s=isNaN(e)||isNaN(this.s)?0:this.s,a=this.l,n=a+(a<.5?a:1-a)*s,i=2*a-n;return new Jt(Gg(e>=240?e-240:e+120,i,n),Gg(e,i,n),Gg(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Ya(Uy(this.h),fm(this.s),fm(this.l),Nd(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Nd(this.opacity);return`${e===1?"hsl(":"hsla("}${Uy(this.h)}, ${fm(this.s)*100}%, ${fm(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Uy(e){return e=(e||0)%360,e<0?e+360:e}function fm(e){return Math.max(0,Math.min(1,e||0))}function Gg(e,s,a){return(e<60?s+(a-s)*e/60:e<180?a:e<240?s+(a-s)*(240-e)/60:s)*255}const Gx=e=>()=>e;function hre(e,s){return function(a){return e+a*s}}function vre(e,s,a){return e=Math.pow(e,a),s=Math.pow(s,a)-e,a=1/a,function(n){return Math.pow(e+n*s,a)}}function Nre(e){return(e=+e)==1?LH:function(s,a){return a-s?vre(s,a,e):Gx(isNaN(s)?a:s)}}function LH(e,s){var a=s-e;return a?hre(e,a):Gx(isNaN(e)?s:e)}const Hy=function e(s){var a=Nre(s);function n(i,r){var o=a((i=xh(i)).r,(r=xh(r)).r),l=a(i.g,r.g),u=a(i.b,r.b),c=LH(i.opacity,r.opacity);return function(m){return i.r=o(m),i.g=l(m),i.b=u(m),i.opacity=c(m),i+""}}return n.gamma=e,n}(1);function xre(e,s){s||(s=[]);var a=e?Math.min(s.length,e.length):0,n=s.slice(),i;return function(r){for(i=0;i<a;++i)n[i]=e[i]*(1-r)+s[i]*r;return n}}function Dre(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Gre(e,s){var a=s?s.length:0,n=e?Math.min(a,e.length):0,i=new Array(n),r=new Array(a),o;for(o=0;o<n;++o)i[o]=Rl(e[o],s[o]);for(;o<a;++o)r[o]=s[o];return function(l){for(o=0;o<n;++o)r[o]=i[o](l);return r}}function yre(e,s){var a=new Date;return e=+e,s=+s,function(n){return a.setTime(e*(1-n)+s*n),a}}function xd(e,s){return e=+e,s=+s,function(a){return e*(1-a)+s*a}}function Cre(e,s){var a={},n={},i;(e===null||typeof e!="object")&&(e={}),(s===null||typeof s!="object")&&(s={});for(i in s)i in e?a[i]=Rl(e[i],s[i]):n[i]=s[i];return function(r){for(i in a)n[i]=a[i](r);return n}}var Dh=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,yg=new RegExp(Dh.source,"g");function kre(e){return function(){return e}}function Ere(e){return function(s){return e(s)+""}}function Lre(e,s){var a=Dh.lastIndex=yg.lastIndex=0,n,i,r,o=-1,l=[],u=[];for(e=e+"",s=s+"";(n=Dh.exec(e))&&(i=yg.exec(s));)(r=i.index)>a&&(r=s.slice(a,r),l[o]?l[o]+=r:l[++o]=r),(n=n[0])===(i=i[0])?l[o]?l[o]+=i:l[++o]=i:(l[++o]=null,u.push({i:o,x:xd(n,i)})),a=yg.lastIndex;return a<s.length&&(r=s.slice(a),l[o]?l[o]+=r:l[++o]=r),l.length<2?u[0]?Ere(u[0].x):kre(s):(s=u.length,function(c){for(var m=0,d;m<s;++m)l[(d=u[m]).i]=d.x(c);return l.join("")})}function Rl(e,s){var a=typeof s,n;return s==null||a==="boolean"?Gx(s):(a==="number"?xd:a==="string"?(n=Yu(s))?(s=n,Hy):Lre:s instanceof Yu?Hy:s instanceof Date?yre:Dre(s)?xre:Array.isArray(s)?Gre:typeof s.valueOf!="function"&&typeof s.toString!="function"||isNaN(s)?Cre:xd)(e,s)}function yx(e,s){return e=+e,s=+s,function(a){return Math.round(e*(1-a)+s*a)}}function jre(e,s){s===void 0&&(s=e,e=Rl);for(var a=0,n=s.length-1,i=s[0],r=new Array(n<0?0:n);a<n;)r[a]=e(i,i=s[++a]);return function(o){var l=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return r[l](o-l)}}function wre(e){return function(){return e}}function Dd(e){return+e}var Vy=[0,1];function qt(e){return e}function Gh(e,s){return(s-=e=+e)?function(a){return(a-e)/s}:wre(isNaN(s)?NaN:.5)}function Ure(e,s){var a;return e>s&&(a=e,e=s,s=a),function(n){return Math.max(e,Math.min(s,n))}}function Hre(e,s,a){var n=e[0],i=e[1],r=s[0],o=s[1];return i<n?(n=Gh(i,n),r=a(o,r)):(n=Gh(n,i),r=a(r,o)),function(l){return r(n(l))}}function Vre(e,s,a){var n=Math.min(e.length,s.length)-1,i=new Array(n),r=new Array(n),o=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),s=s.slice().reverse());++o<n;)i[o]=Gh(e[o],e[o+1]),r[o]=a(s[o],s[o+1]);return function(l){var u=_c(e,l,1,n)-1;return r[u](i[u](l))}}function Mc(e,s){return s.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Qb(){var e=Vy,s=Vy,a=Rl,n,i,r,o=qt,l,u,c;function m(){var b=Math.min(e.length,s.length);return o!==qt&&(o=Ure(e[0],e[b-1])),l=b>2?Vre:Hre,u=c=null,d}function d(b){return b==null||isNaN(b=+b)?r:(u||(u=l(e.map(n),s,a)))(n(o(b)))}return d.invert=function(b){return o(i((c||(c=l(s,e.map(n),xd)))(b)))},d.domain=function(b){return arguments.length?(e=Array.from(b,Dd),m()):e.slice()},d.range=function(b){return arguments.length?(s=Array.from(b),m()):s.slice()},d.rangeRound=function(b){return s=Array.from(b),a=yx,m()},d.clamp=function(b){return arguments.length?(o=b?!0:qt,m()):o!==qt},d.interpolate=function(b){return arguments.length?(a=b,m()):a},d.unknown=function(b){return arguments.length?(r=b,d):r},function(b,f){return n=b,i=f,m()}}function Cx(){return Qb()(qt,qt)}function Pre(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Gd(e,s){if((a=(e=s?e.toExponential(s-1):e.toExponential()).indexOf("e"))<0)return null;var a,n=e.slice(0,a);return[n.length>1?n[0]+n.slice(2):n,+e.slice(a+1)]}function qo(e){return e=Gd(Math.abs(e)),e?e[1]:NaN}function Are(e,s){return function(a,n){for(var i=a.length,r=[],o=0,l=e[0],u=0;i>0&&l>0&&(u+l+1>n&&(l=Math.max(1,n-u)),r.push(a.substring(i-=l,i+l)),!((u+=l+1)>n));)l=e[o=(o+1)%e.length];return r.reverse().join(s)}}function Sre(e){return function(s){return s.replace(/[0-9]/g,function(a){return e[+a]})}}var Tre=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Qu(e){if(!(s=Tre.exec(e)))throw new Error("invalid format: "+e);var s;return new kx({fill:s[1],align:s[2],sign:s[3],symbol:s[4],zero:s[5],width:s[6],comma:s[7],precision:s[8]&&s[8].slice(1),trim:s[9],type:s[10]})}Qu.prototype=kx.prototype;function kx(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}kx.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function _re(e){e:for(var s=e.length,a=1,n=-1,i;a<s;++a)switch(e[a]){case".":n=i=a;break;case"0":n===0&&(n=a),i=a;break;default:if(!+e[a])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var jH;function Rre(e,s){var a=Gd(e,s);if(!a)return e+"";var n=a[0],i=a[1],r=i-(jH=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=n.length;return r===o?n:r>o?n+new Array(r-o+1).join("0"):r>0?n.slice(0,r)+"."+n.slice(r):"0."+new Array(1-r).join("0")+Gd(e,Math.max(0,s+r-1))[0]}function Py(e,s){var a=Gd(e,s);if(!a)return e+"";var n=a[0],i=a[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const Ay={"%":(e,s)=>(e*100).toFixed(s),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Pre,e:(e,s)=>e.toExponential(s),f:(e,s)=>e.toFixed(s),g:(e,s)=>e.toPrecision(s),o:e=>Math.round(e).toString(8),p:(e,s)=>Py(e*100,s),r:Py,s:Rre,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Sy(e){return e}var Ty=Array.prototype.map,_y=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Mre(e){var s=e.grouping===void 0||e.thousands===void 0?Sy:Are(Ty.call(e.grouping,Number),e.thousands+""),a=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",r=e.numerals===void 0?Sy:Sre(Ty.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",u=e.nan===void 0?"NaN":e.nan+"";function c(d){d=Qu(d);var b=d.fill,f=d.align,h=d.sign,g=d.symbol,p=d.zero,x=d.width,D=d.comma,N=d.precision,C=d.trim,y=d.type;y==="n"?(D=!0,y="g"):Ay[y]||(N===void 0&&(N=12),C=!0,y="g"),(p||b==="0"&&f==="=")&&(p=!0,b="0",f="=");var G=g==="$"?a:g==="#"&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",k=g==="$"?n:/[%p]/.test(y)?o:"",E=Ay[y],U=/[defgprs%]/.test(y);N=N===void 0?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,N)):Math.max(0,Math.min(20,N));function T(H){var j=G,w=k,A,P,V;if(y==="c")w=E(H)+w,H="";else{H=+H;var _=H<0||1/H<0;if(H=isNaN(H)?u:E(Math.abs(H),N),C&&(H=_re(H)),_&&+H==0&&h!=="+"&&(_=!1),j=(_?h==="("?h:l:h==="-"||h==="("?"":h)+j,w=(y==="s"?_y[8+jH/3]:"")+w+(_&&h==="("?")":""),U){for(A=-1,P=H.length;++A<P;)if(V=H.charCodeAt(A),48>V||V>57){w=(V===46?i+H.slice(A+1):H.slice(A))+w,H=H.slice(0,A);break}}}D&&!p&&(H=s(H,1/0));var O=j.length+H.length+w.length,$=O<x?new Array(x-O+1).join(b):"";switch(D&&p&&(H=s($+H,$.length?x-w.length:1/0),$=""),f){case"<":H=j+H+w+$;break;case"=":H=j+$+H+w;break;case"^":H=$.slice(0,O=$.length>>1)+j+H+w+$.slice(O);break;default:H=$+j+H+w;break}return r(H)}return T.toString=function(){return d+""},T}function m(d,b){var f=c((d=Qu(d),d.type="f",d)),h=Math.max(-8,Math.min(8,Math.floor(qo(b)/3)))*3,g=Math.pow(10,-h),p=_y[8+h/3];return function(x){return f(g*x)+p}}return{format:c,formatPrefix:m}}var gm,Ex,wH;Ore({thousands:",",grouping:[3],currency:["$",""]});function Ore(e){return gm=Mre(e),Ex=gm.format,wH=gm.formatPrefix,gm}function Ire(e){return Math.max(0,-qo(Math.abs(e)))}function $re(e,s){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(qo(s)/3)))*3-qo(Math.abs(e)))}function Fre(e,s){return e=Math.abs(e),s=Math.abs(s)-e,Math.max(0,qo(s)-qo(e))+1}function UH(e,s,a,n){var i=vh(e,s,a),r;switch(n=Qu(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(s));return n.precision==null&&!isNaN(r=$re(i,o))&&(n.precision=r),wH(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(r=Fre(i,Math.max(Math.abs(e),Math.abs(s))))&&(n.precision=r-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(r=Ire(i))&&(n.precision=r-(n.type==="%")*2);break}}return Ex(n)}function Mi(e){var s=e.domain;return e.ticks=function(a){var n=s();return ph(n[0],n[n.length-1],a??10)},e.tickFormat=function(a,n){var i=s();return UH(i[0],i[i.length-1],a??10,n)},e.nice=function(a){a==null&&(a=10);var n=s(),i=0,r=n.length-1,o=n[i],l=n[r],u,c,m=10;for(l<o&&(c=o,o=l,l=c,c=i,i=r,r=c);m-- >0;){if(c=hh(o,l,a),c===u)return n[i]=o,n[r]=l,s(n);if(c>0)o=Math.floor(o/c)*c,l=Math.ceil(l/c)*c;else if(c<0)o=Math.ceil(o*c)/c,l=Math.floor(l*c)/c;else break;u=c}return e},e}function yd(){var e=Cx();return e.copy=function(){return Mc(e,yd())},Ra.apply(e,arguments),Mi(e)}function HH(e){var s;function a(n){return n==null||isNaN(n=+n)?s:n}return a.invert=a,a.domain=a.range=function(n){return arguments.length?(e=Array.from(n,Dd),a):e.slice()},a.unknown=function(n){return arguments.length?(s=n,a):s},a.copy=function(){return HH(e).unknown(s)},e=arguments.length?Array.from(e,Dd):[0,1],Mi(a)}function VH(e,s){e=e.slice();var a=0,n=e.length-1,i=e[a],r=e[n],o;return r<i&&(o=a,a=n,n=o,o=i,i=r,r=o),e[a]=s.floor(i),e[n]=s.ceil(r),e}function Ry(e){return Math.log(e)}function My(e){return Math.exp(e)}function Bre(e){return-Math.log(-e)}function qre(e){return-Math.exp(-e)}function Wre(e){return isFinite(e)?+("1e"+e):e<0?0:e}function zre(e){return e===10?Wre:e===Math.E?Math.exp:s=>Math.pow(e,s)}function Kre(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),s=>Math.log(s)/e)}function Oy(e){return(s,a)=>-e(-s,a)}function Lx(e){const s=e(Ry,My),a=s.domain;let n=10,i,r;function o(){return i=Kre(n),r=zre(n),a()[0]<0?(i=Oy(i),r=Oy(r),e(Bre,qre)):e(Ry,My),s}return s.base=function(l){return arguments.length?(n=+l,o()):n},s.domain=function(l){return arguments.length?(a(l),o()):a()},s.ticks=l=>{const u=a();let c=u[0],m=u[u.length-1];const d=m<c;d&&([c,m]=[m,c]);let b=i(c),f=i(m),h,g;const p=l==null?10:+l;let x=[];if(!(n%1)&&f-b<p){if(b=Math.floor(b),f=Math.ceil(f),c>0){for(;b<=f;++b)for(h=1;h<n;++h)if(g=b<0?h/r(-b):h*r(b),!(g<c)){if(g>m)break;x.push(g)}}else for(;b<=f;++b)for(h=n-1;h>=1;--h)if(g=b>0?h/r(-b):h*r(b),!(g<c)){if(g>m)break;x.push(g)}x.length*2<p&&(x=ph(c,m,p))}else x=ph(b,f,Math.min(f-b,p)).map(r);return d?x.reverse():x},s.tickFormat=(l,u)=>{if(l==null&&(l=10),u==null&&(u=n===10?"s":","),typeof u!="function"&&(!(n%1)&&(u=Qu(u)).precision==null&&(u.trim=!0),u=Ex(u)),l===1/0)return u;const c=Math.max(1,n*l/s.ticks().length);return m=>{let d=m/r(Math.round(i(m)));return d*n<n-.5&&(d*=n),d<=c?u(m):""}},s.nice=()=>a(VH(a(),{floor:l=>r(Math.floor(i(l))),ceil:l=>r(Math.ceil(i(l)))})),s}function PH(){const e=Lx(Qb()).domain([1,10]);return e.copy=()=>Mc(e,PH()).base(e.base()),Ra.apply(e,arguments),e}function Iy(e){return function(s){return Math.sign(s)*Math.log1p(Math.abs(s/e))}}function $y(e){return function(s){return Math.sign(s)*Math.expm1(Math.abs(s))*e}}function jx(e){var s=1,a=e(Iy(s),$y(s));return a.constant=function(n){return arguments.length?e(Iy(s=+n),$y(s)):s},Mi(a)}function AH(){var e=jx(Qb());return e.copy=function(){return Mc(e,AH()).constant(e.constant())},Ra.apply(e,arguments)}function Fy(e){return function(s){return s<0?-Math.pow(-s,e):Math.pow(s,e)}}function Yre(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Qre(e){return e<0?-e*e:e*e}function wx(e){var s=e(qt,qt),a=1;function n(){return a===1?e(qt,qt):a===.5?e(Yre,Qre):e(Fy(a),Fy(1/a))}return s.exponent=function(i){return arguments.length?(a=+i,n()):a},Mi(s)}function Ux(){var e=wx(Qb());return e.copy=function(){return Mc(e,Ux()).exponent(e.exponent())},Ra.apply(e,arguments),e}function Zre(){return Ux.apply(null,arguments).exponent(.5)}function By(e){return Math.sign(e)*e*e}function Xre(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function SH(){var e=Cx(),s=[0,1],a=!1,n;function i(r){var o=Xre(e(r));return isNaN(o)?n:a?Math.round(o):o}return i.invert=function(r){return e.invert(By(r))},i.domain=function(r){return arguments.length?(e.domain(r),i):e.domain()},i.range=function(r){return arguments.length?(e.range((s=Array.from(r,Dd)).map(By)),i):s.slice()},i.rangeRound=function(r){return i.range(r).round(!0)},i.round=function(r){return arguments.length?(a=!!r,i):a},i.clamp=function(r){return arguments.length?(e.clamp(r),i):e.clamp()},i.unknown=function(r){return arguments.length?(n=r,i):n},i.copy=function(){return SH(e.domain(),s).round(a).clamp(e.clamp()).unknown(n)},Ra.apply(i,arguments),Mi(i)}function TH(){var e=[],s=[],a=[],n;function i(){var o=0,l=Math.max(1,s.length);for(a=new Array(l-1);++o<l;)a[o-1]=are(e,o/l);return r}function r(o){return o==null||isNaN(o=+o)?n:s[_c(a,o)]}return r.invertExtent=function(o){var l=s.indexOf(o);return l<0?[NaN,NaN]:[l>0?a[l-1]:e[0],l<a.length?a[l]:e[e.length-1]]},r.domain=function(o){if(!arguments.length)return e.slice();e=[];for(let l of o)l!=null&&!isNaN(l=+l)&&e.push(l);return e.sort(ji),i()},r.range=function(o){return arguments.length?(s=Array.from(o),i()):s.slice()},r.unknown=function(o){return arguments.length?(n=o,r):n},r.quantiles=function(){return a.slice()},r.copy=function(){return TH().domain(e).range(s).unknown(n)},Ra.apply(r,arguments)}function _H(){var e=0,s=1,a=1,n=[.5],i=[0,1],r;function o(u){return u!=null&&u<=u?i[_c(n,u,0,a)]:r}function l(){var u=-1;for(n=new Array(a);++u<a;)n[u]=((u+1)*s-(u-a)*e)/(a+1);return o}return o.domain=function(u){return arguments.length?([e,s]=u,e=+e,s=+s,l()):[e,s]},o.range=function(u){return arguments.length?(a=(i=Array.from(u)).length-1,l()):i.slice()},o.invertExtent=function(u){var c=i.indexOf(u);return c<0?[NaN,NaN]:c<1?[e,n[0]]:c>=a?[n[a-1],s]:[n[c-1],n[c]]},o.unknown=function(u){return arguments.length&&(r=u),o},o.thresholds=function(){return n.slice()},o.copy=function(){return _H().domain([e,s]).range(i).unknown(r)},Ra.apply(Mi(o),arguments)}function RH(){var e=[.5],s=[0,1],a,n=1;function i(r){return r!=null&&r<=r?s[_c(e,r,0,n)]:a}return i.domain=function(r){return arguments.length?(e=Array.from(r),n=Math.min(e.length,s.length-1),i):e.slice()},i.range=function(r){return arguments.length?(s=Array.from(r),n=Math.min(e.length,s.length-1),i):s.slice()},i.invertExtent=function(r){var o=s.indexOf(r);return[e[o-1],e[o]]},i.unknown=function(r){return arguments.length?(a=r,i):a},i.copy=function(){return RH().domain(e).range(s).unknown(a)},Ra.apply(i,arguments)}const Cg=new Date,kg=new Date;function ht(e,s,a,n){function i(r){return e(r=arguments.length===0?new Date:new Date(+r)),r}return i.floor=r=>(e(r=new Date(+r)),r),i.ceil=r=>(e(r=new Date(r-1)),s(r,1),e(r),r),i.round=r=>{const o=i(r),l=i.ceil(r);return r-o<l-r?o:l},i.offset=(r,o)=>(s(r=new Date(+r),o==null?1:Math.floor(o)),r),i.range=(r,o,l)=>{const u=[];if(r=i.ceil(r),l=l==null?1:Math.floor(l),!(r<o)||!(l>0))return u;let c;do u.push(c=new Date(+r)),s(r,l),e(r);while(c<r&&r<o);return u},i.filter=r=>ht(o=>{if(o>=o)for(;e(o),!r(o);)o.setTime(o-1)},(o,l)=>{if(o>=o)if(l<0)for(;++l<=0;)for(;s(o,-1),!r(o););else for(;--l>=0;)for(;s(o,1),!r(o););}),a&&(i.count=(r,o)=>(Cg.setTime(+r),kg.setTime(+o),e(Cg),e(kg),Math.floor(a(Cg,kg))),i.every=r=>(r=Math.floor(r),!isFinite(r)||!(r>0)?null:r>1?i.filter(n?o=>n(o)%r===0:o=>i.count(0,o)%r===0):i)),i}const Cd=ht(()=>{},(e,s)=>{e.setTime(+e+s)},(e,s)=>s-e);Cd.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?ht(s=>{s.setTime(Math.floor(s/e)*e)},(s,a)=>{s.setTime(+s+a*e)},(s,a)=>(a-s)/e):Cd);Cd.range;const Bn=1e3,Va=Bn*60,qn=Va*60,ii=qn*24,Hx=ii*7,qy=ii*30,Eg=ii*365,cr=ht(e=>{e.setTime(e-e.getMilliseconds())},(e,s)=>{e.setTime(+e+s*Bn)},(e,s)=>(s-e)/Bn,e=>e.getUTCSeconds());cr.range;const Vx=ht(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Bn)},(e,s)=>{e.setTime(+e+s*Va)},(e,s)=>(s-e)/Va,e=>e.getMinutes());Vx.range;const Px=ht(e=>{e.setUTCSeconds(0,0)},(e,s)=>{e.setTime(+e+s*Va)},(e,s)=>(s-e)/Va,e=>e.getUTCMinutes());Px.range;const Ax=ht(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Bn-e.getMinutes()*Va)},(e,s)=>{e.setTime(+e+s*qn)},(e,s)=>(s-e)/qn,e=>e.getHours());Ax.range;const Sx=ht(e=>{e.setUTCMinutes(0,0,0)},(e,s)=>{e.setTime(+e+s*qn)},(e,s)=>(s-e)/qn,e=>e.getUTCHours());Sx.range;const Oc=ht(e=>e.setHours(0,0,0,0),(e,s)=>e.setDate(e.getDate()+s),(e,s)=>(s-e-(s.getTimezoneOffset()-e.getTimezoneOffset())*Va)/ii,e=>e.getDate()-1);Oc.range;const Zb=ht(e=>{e.setUTCHours(0,0,0,0)},(e,s)=>{e.setUTCDate(e.getUTCDate()+s)},(e,s)=>(s-e)/ii,e=>e.getUTCDate()-1);Zb.range;const MH=ht(e=>{e.setUTCHours(0,0,0,0)},(e,s)=>{e.setUTCDate(e.getUTCDate()+s)},(e,s)=>(s-e)/ii,e=>Math.floor(e/ii));MH.range;function Or(e){return ht(s=>{s.setDate(s.getDate()-(s.getDay()+7-e)%7),s.setHours(0,0,0,0)},(s,a)=>{s.setDate(s.getDate()+a*7)},(s,a)=>(a-s-(a.getTimezoneOffset()-s.getTimezoneOffset())*Va)/Hx)}const Xb=Or(0),kd=Or(1),Jre=Or(2),eoe=Or(3),Wo=Or(4),soe=Or(5),toe=Or(6);Xb.range;kd.range;Jre.range;eoe.range;Wo.range;soe.range;toe.range;function Ir(e){return ht(s=>{s.setUTCDate(s.getUTCDate()-(s.getUTCDay()+7-e)%7),s.setUTCHours(0,0,0,0)},(s,a)=>{s.setUTCDate(s.getUTCDate()+a*7)},(s,a)=>(a-s)/Hx)}const Jb=Ir(0),Ed=Ir(1),aoe=Ir(2),noe=Ir(3),zo=Ir(4),ioe=Ir(5),roe=Ir(6);Jb.range;Ed.range;aoe.range;noe.range;zo.range;ioe.range;roe.range;const Tx=ht(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,s)=>{e.setMonth(e.getMonth()+s)},(e,s)=>s.getMonth()-e.getMonth()+(s.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Tx.range;const _x=ht(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,s)=>{e.setUTCMonth(e.getUTCMonth()+s)},(e,s)=>s.getUTCMonth()-e.getUTCMonth()+(s.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());_x.range;const ri=ht(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,s)=>{e.setFullYear(e.getFullYear()+s)},(e,s)=>s.getFullYear()-e.getFullYear(),e=>e.getFullYear());ri.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:ht(s=>{s.setFullYear(Math.floor(s.getFullYear()/e)*e),s.setMonth(0,1),s.setHours(0,0,0,0)},(s,a)=>{s.setFullYear(s.getFullYear()+a*e)});ri.range;const oi=ht(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,s)=>{e.setUTCFullYear(e.getUTCFullYear()+s)},(e,s)=>s.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());oi.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:ht(s=>{s.setUTCFullYear(Math.floor(s.getUTCFullYear()/e)*e),s.setUTCMonth(0,1),s.setUTCHours(0,0,0,0)},(s,a)=>{s.setUTCFullYear(s.getUTCFullYear()+a*e)});oi.range;function OH(e,s,a,n,i,r){const o=[[cr,1,Bn],[cr,5,5*Bn],[cr,15,15*Bn],[cr,30,30*Bn],[r,1,Va],[r,5,5*Va],[r,15,15*Va],[r,30,30*Va],[i,1,qn],[i,3,3*qn],[i,6,6*qn],[i,12,12*qn],[n,1,ii],[n,2,2*ii],[a,1,Hx],[s,1,qy],[s,3,3*qy],[e,1,Eg]];function l(c,m,d){const b=m<c;b&&([c,m]=[m,c]);const f=d&&typeof d.range=="function"?d:u(c,m,d),h=f?f.range(c,+m+1):[];return b?h.reverse():h}function u(c,m,d){const b=Math.abs(m-c)/d,f=Nx(([,,p])=>p).right(o,b);if(f===o.length)return e.every(vh(c/Eg,m/Eg,d));if(f===0)return Cd.every(Math.max(vh(c,m,d),1));const[h,g]=o[b/o[f-1][2]<o[f][2]/b?f-1:f];return h.every(g)}return[l,u]}const[ooe,loe]=OH(oi,_x,Jb,MH,Sx,Px),[uoe,coe]=OH(ri,Tx,Xb,Oc,Ax,Vx);function Lg(e){if(0<=e.y&&e.y<100){var s=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return s.setFullYear(e.y),s}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function jg(e){if(0<=e.y&&e.y<100){var s=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return s.setUTCFullYear(e.y),s}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Xl(e,s,a){return{y:e,m:s,d:a,H:0,M:0,S:0,L:0}}function moe(e){var s=e.dateTime,a=e.date,n=e.time,i=e.periods,r=e.days,o=e.shortDays,l=e.months,u=e.shortMonths,c=Jl(i),m=eu(i),d=Jl(r),b=eu(r),f=Jl(o),h=eu(o),g=Jl(l),p=eu(l),x=Jl(u),D=eu(u),N={a:_,A:O,b:$,B:Q,c:null,d:Zy,e:Zy,f:Aoe,g:Boe,G:Woe,H:Hoe,I:Voe,j:Poe,L:IH,m:Soe,M:Toe,p:ne,q:Z,Q:eC,s:sC,S:_oe,u:Roe,U:Moe,V:Ooe,w:Ioe,W:$oe,x:null,X:null,y:Foe,Y:qoe,Z:zoe,"%":Jy},C={a:ee,A:ge,b:xe,B:le,c:null,d:Xy,e:Xy,f:Zoe,g:ole,G:ule,H:Koe,I:Yoe,j:Qoe,L:FH,m:Xoe,M:Joe,p:se,q:be,Q:eC,s:sC,S:ele,u:sle,U:tle,V:ale,w:nle,W:ile,x:null,X:null,y:rle,Y:lle,Z:cle,"%":Jy},y={a:T,A:H,b:j,B:w,c:A,d:Yy,e:Yy,f:Loe,g:Ky,G:zy,H:Qy,I:Qy,j:yoe,L:Eoe,m:Goe,M:Coe,p:U,q:Doe,Q:woe,s:Uoe,S:koe,u:poe,U:hoe,V:voe,w:goe,W:Noe,x:P,X:V,y:Ky,Y:zy,Z:xoe,"%":joe};N.x=G(a,N),N.X=G(n,N),N.c=G(s,N),C.x=G(a,C),C.X=G(n,C),C.c=G(s,C);function G(te,ce){return function(he){var R=[],ve=-1,J=0,ke=te.length,Ue,Ye,cs;for(he instanceof Date||(he=new Date(+he));++ve<ke;)te.charCodeAt(ve)===37&&(R.push(te.slice(J,ve)),(Ye=Wy[Ue=te.charAt(++ve)])!=null?Ue=te.charAt(++ve):Ye=Ue==="e"?" ":"0",(cs=ce[Ue])&&(Ue=cs(he,Ye)),R.push(Ue),J=ve+1);return R.push(te.slice(J,ve)),R.join("")}}function k(te,ce){return function(he){var R=Xl(1900,void 0,1),ve=E(R,te,he+="",0),J,ke;if(ve!=he.length)return null;if("Q"in R)return new Date(R.Q);if("s"in R)return new Date(R.s*1e3+("L"in R?R.L:0));if(ce&&!("Z"in R)&&(R.Z=0),"p"in R&&(R.H=R.H%12+R.p*12),R.m===void 0&&(R.m="q"in R?R.q:0),"V"in R){if(R.V<1||R.V>53)return null;"w"in R||(R.w=1),"Z"in R?(J=jg(Xl(R.y,0,1)),ke=J.getUTCDay(),J=ke>4||ke===0?Ed.ceil(J):Ed(J),J=Zb.offset(J,(R.V-1)*7),R.y=J.getUTCFullYear(),R.m=J.getUTCMonth(),R.d=J.getUTCDate()+(R.w+6)%7):(J=Lg(Xl(R.y,0,1)),ke=J.getDay(),J=ke>4||ke===0?kd.ceil(J):kd(J),J=Oc.offset(J,(R.V-1)*7),R.y=J.getFullYear(),R.m=J.getMonth(),R.d=J.getDate()+(R.w+6)%7)}else("W"in R||"U"in R)&&("w"in R||(R.w="u"in R?R.u%7:"W"in R?1:0),ke="Z"in R?jg(Xl(R.y,0,1)).getUTCDay():Lg(Xl(R.y,0,1)).getDay(),R.m=0,R.d="W"in R?(R.w+6)%7+R.W*7-(ke+5)%7:R.w+R.U*7-(ke+6)%7);return"Z"in R?(R.H+=R.Z/100|0,R.M+=R.Z%100,jg(R)):Lg(R)}}function E(te,ce,he,R){for(var ve=0,J=ce.length,ke=he.length,Ue,Ye;ve<J;){if(R>=ke)return-1;if(Ue=ce.charCodeAt(ve++),Ue===37){if(Ue=ce.charAt(ve++),Ye=y[Ue in Wy?ce.charAt(ve++):Ue],!Ye||(R=Ye(te,he,R))<0)return-1}else if(Ue!=he.charCodeAt(R++))return-1}return R}function U(te,ce,he){var R=c.exec(ce.slice(he));return R?(te.p=m.get(R[0].toLowerCase()),he+R[0].length):-1}function T(te,ce,he){var R=f.exec(ce.slice(he));return R?(te.w=h.get(R[0].toLowerCase()),he+R[0].length):-1}function H(te,ce,he){var R=d.exec(ce.slice(he));return R?(te.w=b.get(R[0].toLowerCase()),he+R[0].length):-1}function j(te,ce,he){var R=x.exec(ce.slice(he));return R?(te.m=D.get(R[0].toLowerCase()),he+R[0].length):-1}function w(te,ce,he){var R=g.exec(ce.slice(he));return R?(te.m=p.get(R[0].toLowerCase()),he+R[0].length):-1}function A(te,ce,he){return E(te,s,ce,he)}function P(te,ce,he){return E(te,a,ce,he)}function V(te,ce,he){return E(te,n,ce,he)}function _(te){return o[te.getDay()]}function O(te){return r[te.getDay()]}function $(te){return u[te.getMonth()]}function Q(te){return l[te.getMonth()]}function ne(te){return i[+(te.getHours()>=12)]}function Z(te){return 1+~~(te.getMonth()/3)}function ee(te){return o[te.getUTCDay()]}function ge(te){return r[te.getUTCDay()]}function xe(te){return u[te.getUTCMonth()]}function le(te){return l[te.getUTCMonth()]}function se(te){return i[+(te.getUTCHours()>=12)]}function be(te){return 1+~~(te.getUTCMonth()/3)}return{format:function(te){var ce=G(te+="",N);return ce.toString=function(){return te},ce},parse:function(te){var ce=k(te+="",!1);return ce.toString=function(){return te},ce},utcFormat:function(te){var ce=G(te+="",C);return ce.toString=function(){return te},ce},utcParse:function(te){var ce=k(te+="",!0);return ce.toString=function(){return te},ce}}}var Wy={"-":"",_:" ",0:"0"},Dt=/^\s*\d+/,doe=/^%/,boe=/[\\^$*+?|[\]().{}]/g;function is(e,s,a){var n=e<0?"-":"",i=(n?-e:e)+"",r=i.length;return n+(r<a?new Array(a-r+1).join(s)+i:i)}function foe(e){return e.replace(boe,"\\$&")}function Jl(e){return new RegExp("^(?:"+e.map(foe).join("|")+")","i")}function eu(e){return new Map(e.map((s,a)=>[s.toLowerCase(),a]))}function goe(e,s,a){var n=Dt.exec(s.slice(a,a+1));return n?(e.w=+n[0],a+n[0].length):-1}function poe(e,s,a){var n=Dt.exec(s.slice(a,a+1));return n?(e.u=+n[0],a+n[0].length):-1}function hoe(e,s,a){var n=Dt.exec(s.slice(a,a+2));return n?(e.U=+n[0],a+n[0].length):-1}function voe(e,s,a){var n=Dt.exec(s.slice(a,a+2));return n?(e.V=+n[0],a+n[0].length):-1}function Noe(e,s,a){var n=Dt.exec(s.slice(a,a+2));return n?(e.W=+n[0],a+n[0].length):-1}function zy(e,s,a){var n=Dt.exec(s.slice(a,a+4));return n?(e.y=+n[0],a+n[0].length):-1}function Ky(e,s,a){var n=Dt.exec(s.slice(a,a+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),a+n[0].length):-1}function xoe(e,s,a){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(s.slice(a,a+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),a+n[0].length):-1}function Doe(e,s,a){var n=Dt.exec(s.slice(a,a+1));return n?(e.q=n[0]*3-3,a+n[0].length):-1}function Goe(e,s,a){var n=Dt.exec(s.slice(a,a+2));return n?(e.m=n[0]-1,a+n[0].length):-1}function Yy(e,s,a){var n=Dt.exec(s.slice(a,a+2));return n?(e.d=+n[0],a+n[0].length):-1}function yoe(e,s,a){var n=Dt.exec(s.slice(a,a+3));return n?(e.m=0,e.d=+n[0],a+n[0].length):-1}function Qy(e,s,a){var n=Dt.exec(s.slice(a,a+2));return n?(e.H=+n[0],a+n[0].length):-1}function Coe(e,s,a){var n=Dt.exec(s.slice(a,a+2));return n?(e.M=+n[0],a+n[0].length):-1}function koe(e,s,a){var n=Dt.exec(s.slice(a,a+2));return n?(e.S=+n[0],a+n[0].length):-1}function Eoe(e,s,a){var n=Dt.exec(s.slice(a,a+3));return n?(e.L=+n[0],a+n[0].length):-1}function Loe(e,s,a){var n=Dt.exec(s.slice(a,a+6));return n?(e.L=Math.floor(n[0]/1e3),a+n[0].length):-1}function joe(e,s,a){var n=doe.exec(s.slice(a,a+1));return n?a+n[0].length:-1}function woe(e,s,a){var n=Dt.exec(s.slice(a));return n?(e.Q=+n[0],a+n[0].length):-1}function Uoe(e,s,a){var n=Dt.exec(s.slice(a));return n?(e.s=+n[0],a+n[0].length):-1}function Zy(e,s){return is(e.getDate(),s,2)}function Hoe(e,s){return is(e.getHours(),s,2)}function Voe(e,s){return is(e.getHours()%12||12,s,2)}function Poe(e,s){return is(1+Oc.count(ri(e),e),s,3)}function IH(e,s){return is(e.getMilliseconds(),s,3)}function Aoe(e,s){return IH(e,s)+"000"}function Soe(e,s){return is(e.getMonth()+1,s,2)}function Toe(e,s){return is(e.getMinutes(),s,2)}function _oe(e,s){return is(e.getSeconds(),s,2)}function Roe(e){var s=e.getDay();return s===0?7:s}function Moe(e,s){return is(Xb.count(ri(e)-1,e),s,2)}function $H(e){var s=e.getDay();return s>=4||s===0?Wo(e):Wo.ceil(e)}function Ooe(e,s){return e=$H(e),is(Wo.count(ri(e),e)+(ri(e).getDay()===4),s,2)}function Ioe(e){return e.getDay()}function $oe(e,s){return is(kd.count(ri(e)-1,e),s,2)}function Foe(e,s){return is(e.getFullYear()%100,s,2)}function Boe(e,s){return e=$H(e),is(e.getFullYear()%100,s,2)}function qoe(e,s){return is(e.getFullYear()%1e4,s,4)}function Woe(e,s){var a=e.getDay();return e=a>=4||a===0?Wo(e):Wo.ceil(e),is(e.getFullYear()%1e4,s,4)}function zoe(e){var s=e.getTimezoneOffset();return(s>0?"-":(s*=-1,"+"))+is(s/60|0,"0",2)+is(s%60,"0",2)}function Xy(e,s){return is(e.getUTCDate(),s,2)}function Koe(e,s){return is(e.getUTCHours(),s,2)}function Yoe(e,s){return is(e.getUTCHours()%12||12,s,2)}function Qoe(e,s){return is(1+Zb.count(oi(e),e),s,3)}function FH(e,s){return is(e.getUTCMilliseconds(),s,3)}function Zoe(e,s){return FH(e,s)+"000"}function Xoe(e,s){return is(e.getUTCMonth()+1,s,2)}function Joe(e,s){return is(e.getUTCMinutes(),s,2)}function ele(e,s){return is(e.getUTCSeconds(),s,2)}function sle(e){var s=e.getUTCDay();return s===0?7:s}function tle(e,s){return is(Jb.count(oi(e)-1,e),s,2)}function BH(e){var s=e.getUTCDay();return s>=4||s===0?zo(e):zo.ceil(e)}function ale(e,s){return e=BH(e),is(zo.count(oi(e),e)+(oi(e).getUTCDay()===4),s,2)}function nle(e){return e.getUTCDay()}function ile(e,s){return is(Ed.count(oi(e)-1,e),s,2)}function rle(e,s){return is(e.getUTCFullYear()%100,s,2)}function ole(e,s){return e=BH(e),is(e.getUTCFullYear()%100,s,2)}function lle(e,s){return is(e.getUTCFullYear()%1e4,s,4)}function ule(e,s){var a=e.getUTCDay();return e=a>=4||a===0?zo(e):zo.ceil(e),is(e.getUTCFullYear()%1e4,s,4)}function cle(){return"+0000"}function Jy(){return"%"}function eC(e){return+e}function sC(e){return Math.floor(+e/1e3)}var ao,qH,WH;mle({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function mle(e){return ao=moe(e),qH=ao.format,ao.parse,WH=ao.utcFormat,ao.utcParse,ao}function dle(e){return new Date(e)}function ble(e){return e instanceof Date?+e:+new Date(+e)}function Rx(e,s,a,n,i,r,o,l,u,c){var m=Cx(),d=m.invert,b=m.domain,f=c(".%L"),h=c(":%S"),g=c("%I:%M"),p=c("%I %p"),x=c("%a %d"),D=c("%b %d"),N=c("%B"),C=c("%Y");function y(G){return(u(G)<G?f:l(G)<G?h:o(G)<G?g:r(G)<G?p:n(G)<G?i(G)<G?x:D:a(G)<G?N:C)(G)}return m.invert=function(G){return new Date(d(G))},m.domain=function(G){return arguments.length?b(Array.from(G,ble)):b().map(dle)},m.ticks=function(G){var k=b();return e(k[0],k[k.length-1],G??10)},m.tickFormat=function(G,k){return k==null?y:c(k)},m.nice=function(G){var k=b();return(!G||typeof G.range!="function")&&(G=s(k[0],k[k.length-1],G??10)),G?b(VH(k,G)):m},m.copy=function(){return Mc(m,Rx(e,s,a,n,i,r,o,l,u,c))},m}function fle(){return Ra.apply(Rx(uoe,coe,ri,Tx,Xb,Oc,Ax,Vx,cr,qH).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function gle(){return Ra.apply(Rx(ooe,loe,oi,_x,Jb,Zb,Sx,Px,cr,WH).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ef(){var e=0,s=1,a,n,i,r,o=qt,l=!1,u;function c(d){return d==null||isNaN(d=+d)?u:o(i===0?.5:(d=(r(d)-a)*i,l?Math.max(0,Math.min(1,d)):d))}c.domain=function(d){return arguments.length?([e,s]=d,a=r(e=+e),n=r(s=+s),i=a===n?0:1/(n-a),c):[e,s]},c.clamp=function(d){return arguments.length?(l=!!d,c):l},c.interpolator=function(d){return arguments.length?(o=d,c):o};function m(d){return function(b){var f,h;return arguments.length?([f,h]=b,o=d(f,h),c):[o(0),o(1)]}}return c.range=m(Rl),c.rangeRound=m(yx),c.unknown=function(d){return arguments.length?(u=d,c):u},function(d){return r=d,a=d(e),n=d(s),i=a===n?0:1/(n-a),c}}function Oi(e,s){return s.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function zH(){var e=Mi(ef()(qt));return e.copy=function(){return Oi(e,zH())},mi.apply(e,arguments)}function KH(){var e=Lx(ef()).domain([1,10]);return e.copy=function(){return Oi(e,KH()).base(e.base())},mi.apply(e,arguments)}function YH(){var e=jx(ef());return e.copy=function(){return Oi(e,YH()).constant(e.constant())},mi.apply(e,arguments)}function Mx(){var e=wx(ef());return e.copy=function(){return Oi(e,Mx()).exponent(e.exponent())},mi.apply(e,arguments)}function ple(){return Mx.apply(null,arguments).exponent(.5)}function QH(){var e=[],s=qt;function a(n){if(n!=null&&!isNaN(n=+n))return s((_c(e,n,1)-1)/(e.length-1))}return a.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let i of n)i!=null&&!isNaN(i=+i)&&e.push(i);return e.sort(ji),a},a.interpolator=function(n){return arguments.length?(s=n,a):s},a.range=function(){return e.map((n,i)=>s(i/(e.length-1)))},a.quantiles=function(n){return Array.from({length:n+1},(i,r)=>tre(e,r/n))},a.copy=function(){return QH(s).domain(e)},mi.apply(a,arguments)}function sf(){var e=0,s=.5,a=1,n=1,i,r,o,l,u,c=qt,m,d=!1,b;function f(g){return isNaN(g=+g)?b:(g=.5+((g=+m(g))-r)*(n*g<n*r?l:u),c(d?Math.max(0,Math.min(1,g)):g))}f.domain=function(g){return arguments.length?([e,s,a]=g,i=m(e=+e),r=m(s=+s),o=m(a=+a),l=i===r?0:.5/(r-i),u=r===o?0:.5/(o-r),n=r<i?-1:1,f):[e,s,a]},f.clamp=function(g){return arguments.length?(d=!!g,f):d},f.interpolator=function(g){return arguments.length?(c=g,f):c};function h(g){return function(p){var x,D,N;return arguments.length?([x,D,N]=p,c=jre(g,[x,D,N]),f):[c(0),c(.5),c(1)]}}return f.range=h(Rl),f.rangeRound=h(yx),f.unknown=function(g){return arguments.length?(b=g,f):b},function(g){return m=g,i=g(e),r=g(s),o=g(a),l=i===r?0:.5/(r-i),u=r===o?0:.5/(o-r),n=r<i?-1:1,f}}function ZH(){var e=Mi(sf()(qt));return e.copy=function(){return Oi(e,ZH())},mi.apply(e,arguments)}function XH(){var e=Lx(sf()).domain([.1,1,10]);return e.copy=function(){return Oi(e,XH()).base(e.base())},mi.apply(e,arguments)}function JH(){var e=jx(sf());return e.copy=function(){return Oi(e,JH()).constant(e.constant())},mi.apply(e,arguments)}function Ox(){var e=wx(sf());return e.copy=function(){return Oi(e,Ox()).exponent(e.exponent())},mi.apply(e,arguments)}function hle(){return Ox.apply(null,arguments).exponent(.5)}const tC=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:Wu,scaleDiverging:ZH,scaleDivergingLog:XH,scaleDivergingPow:Ox,scaleDivergingSqrt:hle,scaleDivergingSymlog:JH,scaleIdentity:HH,scaleImplicit:Nh,scaleLinear:yd,scaleLog:PH,scaleOrdinal:xx,scalePoint:Nu,scalePow:Ux,scaleQuantile:TH,scaleQuantize:_H,scaleRadial:SH,scaleSequential:zH,scaleSequentialLog:KH,scaleSequentialPow:Mx,scaleSequentialQuantile:QH,scaleSequentialSqrt:ple,scaleSequentialSymlog:YH,scaleSqrt:Zre,scaleSymlog:AH,scaleThreshold:RH,scaleTime:fle,scaleUtc:gle,tickFormat:UH},Symbol.toStringTag,{value:"Module"}));var vle=wl;function Nle(e,s,a){for(var n=-1,i=e.length;++n<i;){var r=e[n],o=s(r);if(o!=null&&(l===void 0?o===o&&!vle(o):a(o,l)))var l=o,u=r}return u}var eV=Nle;function xle(e,s){return e>s}var Dle=xle,Gle=eV,yle=Dle,Cle=_l;function kle(e){return e&&e.length?Gle(e,Cle,yle):void 0}var Ele=kle;const ki=ws(Ele);function Lle(e,s){return e<s}var jle=Lle,wle=eV,Ule=jle,Hle=_l;function Vle(e){return e&&e.length?wle(e,Hle,Ule):void 0}var Ple=Vle;const tf=ws(Ple);var Ale=tx,Sle=Ri,Tle=lH,_le=oa;function Rle(e,s){var a=_le(e)?Ale:Tle;return a(e,Sle(s))}var Mle=Rle,Ole=rH,Ile=Mle;function $le(e,s){return Ole(Ile(e,s),1)}var Fle=$le;const Ble=ws(Fle);var qle=gx;function Wle(e,s){return qle(e,s)}var zle=Wle;const Zu=ws(zle);var Ml=1e9,Kle={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},$x,$s=!0,_a="[DecimalError] ",vr=_a+"Invalid argument: ",Ix=_a+"Exponent out of range: ",Ol=Math.floor,tr=Math.pow,Yle=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,fa,Nt=1e7,Vs=7,sV=9007199254740991,Ld=Ol(sV/Vs),we={};we.absoluteValue=we.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};we.comparedTo=we.cmp=function(e){var s,a,n,i,r=this;if(e=new r.constructor(e),r.s!==e.s)return r.s||-e.s;if(r.e!==e.e)return r.e>e.e^r.s<0?1:-1;for(n=r.d.length,i=e.d.length,s=0,a=n<i?n:i;s<a;++s)if(r.d[s]!==e.d[s])return r.d[s]>e.d[s]^r.s<0?1:-1;return n===i?0:n>i^r.s<0?1:-1};we.decimalPlaces=we.dp=function(){var e=this,s=e.d.length-1,a=(s-e.e)*Vs;if(s=e.d[s],s)for(;s%10==0;s/=10)a--;return a<0?0:a};we.dividedBy=we.div=function(e){return Xn(this,new this.constructor(e))};we.dividedToIntegerBy=we.idiv=function(e){var s=this,a=s.constructor;return ys(Xn(s,new a(e),0,1),a.precision)};we.equals=we.eq=function(e){return!this.cmp(e)};we.exponent=function(){return ct(this)};we.greaterThan=we.gt=function(e){return this.cmp(e)>0};we.greaterThanOrEqualTo=we.gte=function(e){return this.cmp(e)>=0};we.isInteger=we.isint=function(){return this.e>this.d.length-2};we.isNegative=we.isneg=function(){return this.s<0};we.isPositive=we.ispos=function(){return this.s>0};we.isZero=function(){return this.s===0};we.lessThan=we.lt=function(e){return this.cmp(e)<0};we.lessThanOrEqualTo=we.lte=function(e){return this.cmp(e)<1};we.logarithm=we.log=function(e){var s,a=this,n=a.constructor,i=n.precision,r=i+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(fa))throw Error(_a+"NaN");if(a.s<1)throw Error(_a+(a.s?"NaN":"-Infinity"));return a.eq(fa)?new n(0):($s=!1,s=Xn(Xu(a,r),Xu(e,r),r),$s=!0,ys(s,i))};we.minus=we.sub=function(e){var s=this;return e=new s.constructor(e),s.s==e.s?nV(s,e):tV(s,(e.s=-e.s,e))};we.modulo=we.mod=function(e){var s,a=this,n=a.constructor,i=n.precision;if(e=new n(e),!e.s)throw Error(_a+"NaN");return a.s?($s=!1,s=Xn(a,e,0,1).times(e),$s=!0,a.minus(s)):ys(new n(a),i)};we.naturalExponential=we.exp=function(){return aV(this)};we.naturalLogarithm=we.ln=function(){return Xu(this)};we.negated=we.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};we.plus=we.add=function(e){var s=this;return e=new s.constructor(e),s.s==e.s?tV(s,e):nV(s,(e.s=-e.s,e))};we.precision=we.sd=function(e){var s,a,n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(vr+e);if(s=ct(i)+1,n=i.d.length-1,a=n*Vs+1,n=i.d[n],n){for(;n%10==0;n/=10)a--;for(n=i.d[0];n>=10;n/=10)a++}return e&&s>a?s:a};we.squareRoot=we.sqrt=function(){var e,s,a,n,i,r,o,l=this,u=l.constructor;if(l.s<1){if(!l.s)return new u(0);throw Error(_a+"NaN")}for(e=ct(l),$s=!1,i=Math.sqrt(+l),i==0||i==1/0?(s=Gn(l.d),(s.length+e)%2==0&&(s+="0"),i=Math.sqrt(s),e=Ol((e+1)/2)-(e<0||e%2),i==1/0?s="5e"+e:(s=i.toExponential(),s=s.slice(0,s.indexOf("e")+1)+e),n=new u(s)):n=new u(i.toString()),a=u.precision,i=o=a+3;;)if(r=n,n=r.plus(Xn(l,r,o+2)).times(.5),Gn(r.d).slice(0,o)===(s=Gn(n.d)).slice(0,o)){if(s=s.slice(o-3,o+1),i==o&&s=="4999"){if(ys(r,a+1,0),r.times(r).eq(l)){n=r;break}}else if(s!="9999")break;o+=4}return $s=!0,ys(n,a)};we.times=we.mul=function(e){var s,a,n,i,r,o,l,u,c,m=this,d=m.constructor,b=m.d,f=(e=new d(e)).d;if(!m.s||!e.s)return new d(0);for(e.s*=m.s,a=m.e+e.e,u=b.length,c=f.length,u<c&&(r=b,b=f,f=r,o=u,u=c,c=o),r=[],o=u+c,n=o;n--;)r.push(0);for(n=c;--n>=0;){for(s=0,i=u+n;i>n;)l=r[i]+f[n]*b[i-n-1]+s,r[i--]=l%Nt|0,s=l/Nt|0;r[i]=(r[i]+s)%Nt|0}for(;!r[--o];)r.pop();return s?++a:r.shift(),e.d=r,e.e=a,$s?ys(e,d.precision):e};we.toDecimalPlaces=we.todp=function(e,s){var a=this,n=a.constructor;return a=new n(a),e===void 0?a:(Hn(e,0,Ml),s===void 0?s=n.rounding:Hn(s,0,8),ys(a,e+ct(a)+1,s))};we.toExponential=function(e,s){var a,n=this,i=n.constructor;return e===void 0?a=jr(n,!0):(Hn(e,0,Ml),s===void 0?s=i.rounding:Hn(s,0,8),n=ys(new i(n),e+1,s),a=jr(n,!0,e+1)),a};we.toFixed=function(e,s){var a,n,i=this,r=i.constructor;return e===void 0?jr(i):(Hn(e,0,Ml),s===void 0?s=r.rounding:Hn(s,0,8),n=ys(new r(i),e+ct(i)+1,s),a=jr(n.abs(),!1,e+ct(n)+1),i.isneg()&&!i.isZero()?"-"+a:a)};we.toInteger=we.toint=function(){var e=this,s=e.constructor;return ys(new s(e),ct(e)+1,s.rounding)};we.toNumber=function(){return+this};we.toPower=we.pow=function(e){var s,a,n,i,r,o,l=this,u=l.constructor,c=12,m=+(e=new u(e));if(!e.s)return new u(fa);if(l=new u(l),!l.s){if(e.s<1)throw Error(_a+"Infinity");return l}if(l.eq(fa))return l;if(n=u.precision,e.eq(fa))return ys(l,n);if(s=e.e,a=e.d.length-1,o=s>=a,r=l.s,o){if((a=m<0?-m:m)<=sV){for(i=new u(fa),s=Math.ceil(n/Vs+4),$s=!1;a%2&&(i=i.times(l),nC(i.d,s)),a=Ol(a/2),a!==0;)l=l.times(l),nC(l.d,s);return $s=!0,e.s<0?new u(fa).div(i):ys(i,n)}}else if(r<0)throw Error(_a+"NaN");return r=r<0&&e.d[Math.max(s,a)]&1?-1:1,l.s=1,$s=!1,i=e.times(Xu(l,n+c)),$s=!0,i=aV(i),i.s=r,i};we.toPrecision=function(e,s){var a,n,i=this,r=i.constructor;return e===void 0?(a=ct(i),n=jr(i,a<=r.toExpNeg||a>=r.toExpPos)):(Hn(e,1,Ml),s===void 0?s=r.rounding:Hn(s,0,8),i=ys(new r(i),e,s),a=ct(i),n=jr(i,e<=a||a<=r.toExpNeg,e)),n};we.toSignificantDigits=we.tosd=function(e,s){var a=this,n=a.constructor;return e===void 0?(e=n.precision,s=n.rounding):(Hn(e,1,Ml),s===void 0?s=n.rounding:Hn(s,0,8)),ys(new n(a),e,s)};we.toString=we.valueOf=we.val=we.toJSON=we[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,s=ct(e),a=e.constructor;return jr(e,s<=a.toExpNeg||s>=a.toExpPos)};function tV(e,s){var a,n,i,r,o,l,u,c,m=e.constructor,d=m.precision;if(!e.s||!s.s)return s.s||(s=new m(e)),$s?ys(s,d):s;if(u=e.d,c=s.d,o=e.e,i=s.e,u=u.slice(),r=o-i,r){for(r<0?(n=u,r=-r,l=c.length):(n=c,i=o,l=u.length),o=Math.ceil(d/Vs),l=o>l?o+1:l+1,r>l&&(r=l,n.length=1),n.reverse();r--;)n.push(0);n.reverse()}for(l=u.length,r=c.length,l-r<0&&(r=l,n=c,c=u,u=n),a=0;r;)a=(u[--r]=u[r]+c[r]+a)/Nt|0,u[r]%=Nt;for(a&&(u.unshift(a),++i),l=u.length;u[--l]==0;)u.pop();return s.d=u,s.e=i,$s?ys(s,d):s}function Hn(e,s,a){if(e!==~~e||e<s||e>a)throw Error(vr+e)}function Gn(e){var s,a,n,i=e.length-1,r="",o=e[0];if(i>0){for(r+=o,s=1;s<i;s++)n=e[s]+"",a=Vs-n.length,a&&(r+=Di(a)),r+=n;o=e[s],n=o+"",a=Vs-n.length,a&&(r+=Di(a))}else if(o===0)return"0";for(;o%10===0;)o/=10;return r+o}var Xn=function(){function e(n,i){var r,o=0,l=n.length;for(n=n.slice();l--;)r=n[l]*i+o,n[l]=r%Nt|0,o=r/Nt|0;return o&&n.unshift(o),n}function s(n,i,r,o){var l,u;if(r!=o)u=r>o?1:-1;else for(l=u=0;l<r;l++)if(n[l]!=i[l]){u=n[l]>i[l]?1:-1;break}return u}function a(n,i,r){for(var o=0;r--;)n[r]-=o,o=n[r]<i[r]?1:0,n[r]=o*Nt+n[r]-i[r];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,r,o){var l,u,c,m,d,b,f,h,g,p,x,D,N,C,y,G,k,E,U=n.constructor,T=n.s==i.s?1:-1,H=n.d,j=i.d;if(!n.s)return new U(n);if(!i.s)throw Error(_a+"Division by zero");for(u=n.e-i.e,k=j.length,y=H.length,f=new U(T),h=f.d=[],c=0;j[c]==(H[c]||0);)++c;if(j[c]>(H[c]||0)&&--u,r==null?D=r=U.precision:o?D=r+(ct(n)-ct(i))+1:D=r,D<0)return new U(0);if(D=D/Vs+2|0,c=0,k==1)for(m=0,j=j[0],D++;(c<y||m)&&D--;c++)N=m*Nt+(H[c]||0),h[c]=N/j|0,m=N%j|0;else{for(m=Nt/(j[0]+1)|0,m>1&&(j=e(j,m),H=e(H,m),k=j.length,y=H.length),C=k,g=H.slice(0,k),p=g.length;p<k;)g[p++]=0;E=j.slice(),E.unshift(0),G=j[0],j[1]>=Nt/2&&++G;do m=0,l=s(j,g,k,p),l<0?(x=g[0],k!=p&&(x=x*Nt+(g[1]||0)),m=x/G|0,m>1?(m>=Nt&&(m=Nt-1),d=e(j,m),b=d.length,p=g.length,l=s(d,g,b,p),l==1&&(m--,a(d,k<b?E:j,b))):(m==0&&(l=m=1),d=j.slice()),b=d.length,b<p&&d.unshift(0),a(g,d,p),l==-1&&(p=g.length,l=s(j,g,k,p),l<1&&(m++,a(g,k<p?E:j,p))),p=g.length):l===0&&(m++,g=[0]),h[c++]=m,l&&g[0]?g[p++]=H[C]||0:(g=[H[C]],p=1);while((C++<y||g[0]!==void 0)&&D--)}return h[0]||h.shift(),f.e=u,ys(f,o?r+ct(f)+1:r)}}();function aV(e,s){var a,n,i,r,o,l,u=0,c=0,m=e.constructor,d=m.precision;if(ct(e)>16)throw Error(Ix+ct(e));if(!e.s)return new m(fa);for(s==null?($s=!1,l=d):l=s,o=new m(.03125);e.abs().gte(.1);)e=e.times(o),c+=5;for(n=Math.log(tr(2,c))/Math.LN10*2+5|0,l+=n,a=i=r=new m(fa),m.precision=l;;){if(i=ys(i.times(e),l),a=a.times(++u),o=r.plus(Xn(i,a,l)),Gn(o.d).slice(0,l)===Gn(r.d).slice(0,l)){for(;c--;)r=ys(r.times(r),l);return m.precision=d,s==null?($s=!0,ys(r,d)):r}r=o}}function ct(e){for(var s=e.e*Vs,a=e.d[0];a>=10;a/=10)s++;return s}function wg(e,s,a){if(s>e.LN10.sd())throw $s=!0,a&&(e.precision=a),Error(_a+"LN10 precision limit exceeded");return ys(new e(e.LN10),s)}function Di(e){for(var s="";e--;)s+="0";return s}function Xu(e,s){var a,n,i,r,o,l,u,c,m,d=1,b=10,f=e,h=f.d,g=f.constructor,p=g.precision;if(f.s<1)throw Error(_a+(f.s?"NaN":"-Infinity"));if(f.eq(fa))return new g(0);if(s==null?($s=!1,c=p):c=s,f.eq(10))return s==null&&($s=!0),wg(g,c);if(c+=b,g.precision=c,a=Gn(h),n=a.charAt(0),r=ct(f),Math.abs(r)<15e14){for(;n<7&&n!=1||n==1&&a.charAt(1)>3;)f=f.times(e),a=Gn(f.d),n=a.charAt(0),d++;r=ct(f),n>1?(f=new g("0."+a),r++):f=new g(n+"."+a.slice(1))}else return u=wg(g,c+2,p).times(r+""),f=Xu(new g(n+"."+a.slice(1)),c-b).plus(u),g.precision=p,s==null?($s=!0,ys(f,p)):f;for(l=o=f=Xn(f.minus(fa),f.plus(fa),c),m=ys(f.times(f),c),i=3;;){if(o=ys(o.times(m),c),u=l.plus(Xn(o,new g(i),c)),Gn(u.d).slice(0,c)===Gn(l.d).slice(0,c))return l=l.times(2),r!==0&&(l=l.plus(wg(g,c+2,p).times(r+""))),l=Xn(l,new g(d),c),g.precision=p,s==null?($s=!0,ys(l,p)):l;l=u,i+=2}}function aC(e,s){var a,n,i;for((a=s.indexOf("."))>-1&&(s=s.replace(".","")),(n=s.search(/e/i))>0?(a<0&&(a=n),a+=+s.slice(n+1),s=s.substring(0,n)):a<0&&(a=s.length),n=0;s.charCodeAt(n)===48;)++n;for(i=s.length;s.charCodeAt(i-1)===48;)--i;if(s=s.slice(n,i),s){if(i-=n,a=a-n-1,e.e=Ol(a/Vs),e.d=[],n=(a+1)%Vs,a<0&&(n+=Vs),n<i){for(n&&e.d.push(+s.slice(0,n)),i-=Vs;n<i;)e.d.push(+s.slice(n,n+=Vs));s=s.slice(n),n=Vs-s.length}else n-=i;for(;n--;)s+="0";if(e.d.push(+s),$s&&(e.e>Ld||e.e<-Ld))throw Error(Ix+a)}else e.s=0,e.e=0,e.d=[0];return e}function ys(e,s,a){var n,i,r,o,l,u,c,m,d=e.d;for(o=1,r=d[0];r>=10;r/=10)o++;if(n=s-o,n<0)n+=Vs,i=s,c=d[m=0];else{if(m=Math.ceil((n+1)/Vs),r=d.length,m>=r)return e;for(c=r=d[m],o=1;r>=10;r/=10)o++;n%=Vs,i=n-Vs+o}if(a!==void 0&&(r=tr(10,o-i-1),l=c/r%10|0,u=s<0||d[m+1]!==void 0||c%r,u=a<4?(l||u)&&(a==0||a==(e.s<0?3:2)):l>5||l==5&&(a==4||u||a==6&&(n>0?i>0?c/tr(10,o-i):0:d[m-1])%10&1||a==(e.s<0?8:7))),s<1||!d[0])return u?(r=ct(e),d.length=1,s=s-r-1,d[0]=tr(10,(Vs-s%Vs)%Vs),e.e=Ol(-s/Vs)||0):(d.length=1,d[0]=e.e=e.s=0),e;if(n==0?(d.length=m,r=1,m--):(d.length=m+1,r=tr(10,Vs-n),d[m]=i>0?(c/tr(10,o-i)%tr(10,i)|0)*r:0),u)for(;;)if(m==0){(d[0]+=r)==Nt&&(d[0]=1,++e.e);break}else{if(d[m]+=r,d[m]!=Nt)break;d[m--]=0,r=1}for(n=d.length;d[--n]===0;)d.pop();if($s&&(e.e>Ld||e.e<-Ld))throw Error(Ix+ct(e));return e}function nV(e,s){var a,n,i,r,o,l,u,c,m,d,b=e.constructor,f=b.precision;if(!e.s||!s.s)return s.s?s.s=-s.s:s=new b(e),$s?ys(s,f):s;if(u=e.d,d=s.d,n=s.e,c=e.e,u=u.slice(),o=c-n,o){for(m=o<0,m?(a=u,o=-o,l=d.length):(a=d,n=c,l=u.length),i=Math.max(Math.ceil(f/Vs),l)+2,o>i&&(o=i,a.length=1),a.reverse(),i=o;i--;)a.push(0);a.reverse()}else{for(i=u.length,l=d.length,m=i<l,m&&(l=i),i=0;i<l;i++)if(u[i]!=d[i]){m=u[i]<d[i];break}o=0}for(m&&(a=u,u=d,d=a,s.s=-s.s),l=u.length,i=d.length-l;i>0;--i)u[l++]=0;for(i=d.length;i>o;){if(u[--i]<d[i]){for(r=i;r&&u[--r]===0;)u[r]=Nt-1;--u[r],u[i]+=Nt}u[i]-=d[i]}for(;u[--l]===0;)u.pop();for(;u[0]===0;u.shift())--n;return u[0]?(s.d=u,s.e=n,$s?ys(s,f):s):new b(0)}function jr(e,s,a){var n,i=ct(e),r=Gn(e.d),o=r.length;return s?(a&&(n=a-o)>0?r=r.charAt(0)+"."+r.slice(1)+Di(n):o>1&&(r=r.charAt(0)+"."+r.slice(1)),r=r+(i<0?"e":"e+")+i):i<0?(r="0."+Di(-i-1)+r,a&&(n=a-o)>0&&(r+=Di(n))):i>=o?(r+=Di(i+1-o),a&&(n=a-i-1)>0&&(r=r+"."+Di(n))):((n=i+1)<o&&(r=r.slice(0,n)+"."+r.slice(n)),a&&(n=a-o)>0&&(i+1===o&&(r+="."),r+=Di(n))),e.s<0?"-"+r:r}function nC(e,s){if(e.length>s)return e.length=s,!0}function iV(e){var s,a,n;function i(r){var o=this;if(!(o instanceof i))return new i(r);if(o.constructor=i,r instanceof i){o.s=r.s,o.e=r.e,o.d=(r=r.d)?r.slice():r;return}if(typeof r=="number"){if(r*0!==0)throw Error(vr+r);if(r>0)o.s=1;else if(r<0)r=-r,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(r===~~r&&r<1e7){o.e=0,o.d=[r];return}return aC(o,r.toString())}else if(typeof r!="string")throw Error(vr+r);if(r.charCodeAt(0)===45?(r=r.slice(1),o.s=-1):o.s=1,Yle.test(r))aC(o,r);else throw Error(vr+r)}if(i.prototype=we,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=iV,i.config=i.set=Qle,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],s=0;s<n.length;)e.hasOwnProperty(a=n[s++])||(e[a]=this[a]);return i.config(e),i}function Qle(e){if(!e||typeof e!="object")throw Error(_a+"Object expected");var s,a,n,i=["precision",1,Ml,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(s=0;s<i.length;s+=3)if((n=e[a=i[s]])!==void 0)if(Ol(n)===n&&n>=i[s+1]&&n<=i[s+2])this[a]=n;else throw Error(vr+a+": "+n);if((n=e[a="LN10"])!==void 0)if(n==Math.LN10)this[a]=new this(n);else throw Error(vr+a+": "+n);return this}var $x=iV(Kle);fa=new $x(1);const xs=$x;function Zle(e){return sue(e)||eue(e)||Jle(e)||Xle()}function Xle(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jle(e,s){if(e){if(typeof e=="string")return yh(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return yh(e,s)}}function eue(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function sue(e){if(Array.isArray(e))return yh(e)}function yh(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}var tue=function(s){return s},rV={"@@functional/placeholder":!0},oV=function(s){return s===rV},iC=function(s){return function a(){return arguments.length===0||arguments.length===1&&oV(arguments.length<=0?void 0:arguments[0])?a:s.apply(void 0,arguments)}},aue=function e(s,a){return s===1?a:iC(function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=i.filter(function(l){return l!==rV}).length;return o>=s?a.apply(void 0,i):e(s-o,iC(function(){for(var l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];var m=i.map(function(d){return oV(d)?u.shift():d});return a.apply(void 0,Zle(m).concat(u))}))})},af=function(s){return aue(s.length,s)},Ch=function(s,a){for(var n=[],i=s;i<a;++i)n[i-s]=i;return n},nue=af(function(e,s){return Array.isArray(s)?s.map(e):Object.keys(s).map(function(a){return s[a]}).map(e)}),iue=function(){for(var s=arguments.length,a=new Array(s),n=0;n<s;n++)a[n]=arguments[n];if(!a.length)return tue;var i=a.reverse(),r=i[0],o=i.slice(1);return function(){return o.reduce(function(l,u){return u(l)},r.apply(void 0,arguments))}},kh=function(s){return Array.isArray(s)?s.reverse():s.split("").reverse.join("")},lV=function(s){var a=null,n=null;return function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return a&&r.every(function(l,u){return l===a[u]})||(a=r,n=s.apply(void 0,r)),n}};function rue(e){var s;return e===0?s=1:s=Math.floor(new xs(e).abs().log(10).toNumber())+1,s}function oue(e,s,a){for(var n=new xs(e),i=0,r=[];n.lt(s)&&i<1e5;)r.push(n.toNumber()),n=n.add(a),i++;return r}var lue=af(function(e,s,a){var n=+e,i=+s;return n+a*(i-n)}),uue=af(function(e,s,a){var n=s-+e;return n=n||1/0,(a-e)/n}),cue=af(function(e,s,a){var n=s-+e;return n=n||1/0,Math.max(0,Math.min(1,(a-e)/n))});const nf={rangeStep:oue,getDigitCount:rue,interpolateNumber:lue,uninterpolateNumber:uue,uninterpolateTruncation:cue};function Eh(e){return bue(e)||due(e)||uV(e)||mue()}function mue(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function due(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function bue(e){if(Array.isArray(e))return Lh(e)}function Ju(e,s){return pue(e)||gue(e,s)||uV(e,s)||fue()}function fue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uV(e,s){if(e){if(typeof e=="string")return Lh(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Lh(e,s)}}function Lh(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function gue(e,s){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var a=[],n=!0,i=!1,r=void 0;try{for(var o=e[Symbol.iterator](),l;!(n=(l=o.next()).done)&&(a.push(l.value),!(s&&a.length===s));n=!0);}catch(u){i=!0,r=u}finally{try{!n&&o.return!=null&&o.return()}finally{if(i)throw r}}return a}}function pue(e){if(Array.isArray(e))return e}function cV(e){var s=Ju(e,2),a=s[0],n=s[1],i=a,r=n;return a>n&&(i=n,r=a),[i,r]}function mV(e,s,a){if(e.lte(0))return new xs(0);var n=nf.getDigitCount(e.toNumber()),i=new xs(10).pow(n),r=e.div(i),o=n!==1?.05:.1,l=new xs(Math.ceil(r.div(o).toNumber())).add(a).mul(o),u=l.mul(i);return s?u:new xs(Math.ceil(u))}function hue(e,s,a){var n=1,i=new xs(e);if(!i.isint()&&a){var r=Math.abs(e);r<1?(n=new xs(10).pow(nf.getDigitCount(e)-1),i=new xs(Math.floor(i.div(n).toNumber())).mul(n)):r>1&&(i=new xs(Math.floor(e)))}else e===0?i=new xs(Math.floor((s-1)/2)):a||(i=new xs(Math.floor(e)));var o=Math.floor((s-1)/2),l=iue(nue(function(u){return i.add(new xs(u-o).mul(n)).toNumber()}),Ch);return l(0,s)}function dV(e,s,a,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((s-e)/(a-1)))return{step:new xs(0),tickMin:new xs(0),tickMax:new xs(0)};var r=mV(new xs(s).sub(e).div(a-1),n,i),o;e<=0&&s>=0?o=new xs(0):(o=new xs(e).add(s).div(2),o=o.sub(new xs(o).mod(r)));var l=Math.ceil(o.sub(e).div(r).toNumber()),u=Math.ceil(new xs(s).sub(o).div(r).toNumber()),c=l+u+1;return c>a?dV(e,s,a,n,i+1):(c<a&&(u=s>0?u+(a-c):u,l=s>0?l:l+(a-c)),{step:r,tickMin:o.sub(new xs(l).mul(r)),tickMax:o.add(new xs(u).mul(r))})}function vue(e){var s=Ju(e,2),a=s[0],n=s[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Math.max(i,2),l=cV([a,n]),u=Ju(l,2),c=u[0],m=u[1];if(c===-1/0||m===1/0){var d=m===1/0?[c].concat(Eh(Ch(0,i-1).map(function(){return 1/0}))):[].concat(Eh(Ch(0,i-1).map(function(){return-1/0})),[m]);return a>n?kh(d):d}if(c===m)return hue(c,i,r);var b=dV(c,m,o,r),f=b.step,h=b.tickMin,g=b.tickMax,p=nf.rangeStep(h,g.add(new xs(.1).mul(f)),f);return a>n?kh(p):p}function Nue(e,s){var a=Ju(e,2),n=a[0],i=a[1],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=cV([n,i]),l=Ju(o,2),u=l[0],c=l[1];if(u===-1/0||c===1/0)return[n,i];if(u===c)return[u];var m=Math.max(s,2),d=mV(new xs(c).sub(u).div(m-1),r,0),b=[].concat(Eh(nf.rangeStep(new xs(u),new xs(c).sub(new xs(.99).mul(d)),d)),[c]);return n>i?kh(b):b}var xue=lV(vue),Due=lV(Nue),rC="Invariant failed";function wr(e,s){var a=typeof s=="function"?s():s,n=a?"".concat(rC,": ").concat(a):rC;throw new Error(n)}var Gue=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Ko(e){"@babel/helpers - typeof";return Ko=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ko(e)}function jd(){return jd=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},jd.apply(this,arguments)}function yue(e,s){return Lue(e)||Eue(e,s)||kue(e,s)||Cue()}function Cue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kue(e,s){if(e){if(typeof e=="string")return oC(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return oC(e,s)}}function oC(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function Eue(e,s){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,i,r,o,l=[],u=!0,c=!1;try{if(r=(a=a.call(e)).next,s!==0)for(;!(u=(n=r.call(a)).done)&&(l.push(n.value),l.length!==s);u=!0);}catch(m){c=!0,i=m}finally{try{if(!u&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function Lue(e){if(Array.isArray(e))return e}function jue(e,s){if(e==null)return{};var a=wue(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function wue(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function Uue(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function Hue(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,gV(n.key),n)}}function Vue(e,s,a){return s&&Hue(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function Pue(e,s,a){return s=wd(s),Aue(e,bV()?Reflect.construct(s,a||[],wd(e).constructor):s.apply(e,a))}function Aue(e,s){if(s&&(Ko(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Sue(e)}function Sue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bV(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(bV=function(){return!!e})()}function wd(e){return wd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},wd(e)}function Tue(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&jh(e,s)}function jh(e,s){return jh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},jh(e,s)}function fV(e,s,a){return s=gV(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function gV(e){var s=_ue(e,"string");return Ko(s)=="symbol"?s:s+""}function _ue(e,s){if(Ko(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Ko(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var rf=function(e){function s(){return Uue(this,s),Pue(this,s,arguments)}return Tue(s,e),Vue(s,[{key:"render",value:function(){var n=this.props,i=n.offset,r=n.layout,o=n.width,l=n.dataKey,u=n.data,c=n.dataPointFormatter,m=n.xAxis,d=n.yAxis,b=jue(n,Gue),f=Ze(b,!1);this.props.direction==="x"&&m.type!=="number"&&wr(!1,'ErrorBar requires Axis type property to be "number".');var h=u.map(function(g){var p=c(g,l),x=p.x,D=p.y,N=p.value,C=p.errorVal;if(!C)return null;var y=[],G,k;if(Array.isArray(C)){var E=yue(C,2);G=E[0],k=E[1]}else G=k=C;if(r==="vertical"){var U=m.scale,T=D+i,H=T+o,j=T-o,w=U(N-G),A=U(N+k);y.push({x1:A,y1:H,x2:A,y2:j}),y.push({x1:w,y1:T,x2:A,y2:T}),y.push({x1:w,y1:H,x2:w,y2:j})}else if(r==="horizontal"){var P=d.scale,V=x+i,_=V-o,O=V+o,$=P(N-G),Q=P(N+k);y.push({x1:_,y1:Q,x2:O,y2:Q}),y.push({x1:V,y1:$,x2:V,y2:Q}),y.push({x1:_,y1:$,x2:O,y2:$})}return S.createElement(Ws,jd({className:"recharts-errorBar",key:"bar-".concat(y.map(function(ne){return"".concat(ne.x1,"-").concat(ne.x2,"-").concat(ne.y1,"-").concat(ne.y2)}))},f),y.map(function(ne){return S.createElement("line",jd({},ne,{key:"line-".concat(ne.x1,"-").concat(ne.x2,"-").concat(ne.y1,"-").concat(ne.y2)}))}))});return S.createElement(Ws,{className:"recharts-errorBars"},h)}}])}(S.Component);fV(rf,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});fV(rf,"displayName","ErrorBar");function ec(e){"@babel/helpers - typeof";return ec=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},ec(e)}function lC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Zi(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?lC(Object(a),!0).forEach(function(n){Rue(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):lC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Rue(e,s,a){return s=Mue(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function Mue(e){var s=Oue(e,"string");return ec(s)=="symbol"?s:s+""}function Oue(e,s){if(ec(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(ec(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var pV=function(s){var a=s.children,n=s.formattedGraphicalItems,i=s.legendWidth,r=s.legendContent,o=da(a,Lo);if(!o)return null;var l=Lo.defaultProps,u=l!==void 0?Zi(Zi({},l),o.props):{},c;return o.props&&o.props.payload?c=o.props&&o.props.payload:r==="children"?c=(n||[]).reduce(function(m,d){var b=d.item,f=d.props,h=f.sectors||f.data||[];return m.concat(h.map(function(g){return{type:o.props.iconType||b.props.legendType,value:g.name,color:g.fill,payload:g}}))},[]):c=(n||[]).map(function(m){var d=m.item,b=d.type.defaultProps,f=b!==void 0?Zi(Zi({},b),d.props):{},h=f.dataKey,g=f.name,p=f.legendType,x=f.hide;return{inactive:x,dataKey:h,type:u.iconType||p||"square",color:Fx(d),value:g||h,payload:f}}),Zi(Zi(Zi({},u),Lo.getWithHeight(o,i)),{},{payload:c,item:o})};function sc(e){"@babel/helpers - typeof";return sc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},sc(e)}function uC(e){return Bue(e)||Fue(e)||$ue(e)||Iue()}function Iue(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $ue(e,s){if(e){if(typeof e=="string")return wh(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return wh(e,s)}}function Fue(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bue(e){if(Array.isArray(e))return wh(e)}function wh(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function cC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Ys(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?cC(Object(a),!0).forEach(function(n){wo(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):cC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function wo(e,s,a){return s=que(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function que(e){var s=Wue(e,"string");return sc(s)=="symbol"?s:s+""}function Wue(e,s){if(sc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(sc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function Na(e,s,a){return Xe(e)||Xe(s)?a:pt(s)?Aa(e,s,a):ze(s)?s(e):a}function xu(e,s,a,n){var i=Ble(e,function(l){return Na(l,s)});if(a==="number"){var r=i.filter(function(l){return Ne(l)||parseFloat(l)});return r.length?[tf(r),ki(r)]:[1/0,-1/0]}var o=n?i.filter(function(l){return!Xe(l)}):i;return o.map(function(l){return pt(l)||l instanceof Date?l:""})}var zue=function(s){var a,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=-1,l=(a=n?.length)!==null&&a!==void 0?a:0;if(l<=1)return 0;if(r&&r.axisType==="angleAxis"&&Math.abs(Math.abs(r.range[1]-r.range[0])-360)<=1e-6)for(var u=r.range,c=0;c<l;c++){var m=c>0?i[c-1].coordinate:i[l-1].coordinate,d=i[c].coordinate,b=c>=l-1?i[0].coordinate:i[c+1].coordinate,f=void 0;if(Qa(d-m)!==Qa(b-d)){var h=[];if(Qa(b-d)===Qa(u[1]-u[0])){f=b;var g=d+u[1]-u[0];h[0]=Math.min(g,(g+m)/2),h[1]=Math.max(g,(g+m)/2)}else{f=m;var p=b+u[1]-u[0];h[0]=Math.min(d,(p+d)/2),h[1]=Math.max(d,(p+d)/2)}var x=[Math.min(d,(f+d)/2),Math.max(d,(f+d)/2)];if(s>x[0]&&s<=x[1]||s>=h[0]&&s<=h[1]){o=i[c].index;break}}else{var D=Math.min(m,b),N=Math.max(m,b);if(s>(D+d)/2&&s<=(N+d)/2){o=i[c].index;break}}}else for(var C=0;C<l;C++)if(C===0&&s<=(n[C].coordinate+n[C+1].coordinate)/2||C>0&&C<l-1&&s>(n[C].coordinate+n[C-1].coordinate)/2&&s<=(n[C].coordinate+n[C+1].coordinate)/2||C===l-1&&s>(n[C].coordinate+n[C-1].coordinate)/2){o=n[C].index;break}return o},Fx=function(s){var a,n=s,i=n.type.displayName,r=(a=s.type)!==null&&a!==void 0&&a.defaultProps?Ys(Ys({},s.type.defaultProps),s.props):s.props,o=r.stroke,l=r.fill,u;switch(i){case"Line":u=o;break;case"Area":case"Radar":u=o&&o!=="none"?o:l;break;default:u=l;break}return u},Kue=function(s){var a=s.barSize,n=s.totalSize,i=s.stackGroups,r=i===void 0?{}:i;if(!r)return{};for(var o={},l=Object.keys(r),u=0,c=l.length;u<c;u++)for(var m=r[l[u]].stackGroups,d=Object.keys(m),b=0,f=d.length;b<f;b++){var h=m[d[b]],g=h.items,p=h.cateAxisId,x=g.filter(function(k){return Yn(k.type).indexOf("Bar")>=0});if(x&&x.length){var D=x[0].type.defaultProps,N=D!==void 0?Ys(Ys({},D),x[0].props):x[0].props,C=N.barSize,y=N[p];o[y]||(o[y]=[]);var G=Xe(C)?a:C;o[y].push({item:x[0],stackList:x.slice(1),barSize:Xe(G)?void 0:Lr(G,n,0)})}}return o},Yue=function(s){var a=s.barGap,n=s.barCategoryGap,i=s.bandSize,r=s.sizeList,o=r===void 0?[]:r,l=s.maxBarSize,u=o.length;if(u<1)return null;var c=Lr(a,i,0,!0),m,d=[];if(o[0].barSize===+o[0].barSize){var b=!1,f=i/u,h=o.reduce(function(C,y){return C+y.barSize||0},0);h+=(u-1)*c,h>=i&&(h-=(u-1)*c,c=0),h>=i&&f>0&&(b=!0,f*=.9,h=u*f);var g=(i-h)/2>>0,p={offset:g-c,size:0};m=o.reduce(function(C,y){var G={item:y.item,position:{offset:p.offset+p.size+c,size:b?f:y.barSize}},k=[].concat(uC(C),[G]);return p=k[k.length-1].position,y.stackList&&y.stackList.length&&y.stackList.forEach(function(E){k.push({item:E,position:p})}),k},d)}else{var x=Lr(n,i,0,!0);i-2*x-(u-1)*c<=0&&(c=0);var D=(i-2*x-(u-1)*c)/u;D>1&&(D>>=0);var N=l===+l?Math.min(D,l):D;m=o.reduce(function(C,y,G){var k=[].concat(uC(C),[{item:y.item,position:{offset:x+(D+c)*G+(D-N)/2,size:N}}]);return y.stackList&&y.stackList.length&&y.stackList.forEach(function(E){k.push({item:E,position:k[k.length-1].position})}),k},d)}return m},Que=function(s,a,n,i){var r=n.children,o=n.width,l=n.margin,u=o-(l.left||0)-(l.right||0),c=pV({children:r,legendWidth:u});if(c){var m=i||{},d=m.width,b=m.height,f=c.align,h=c.verticalAlign,g=c.layout;if((g==="vertical"||g==="horizontal"&&h==="middle")&&f!=="center"&&Ne(s[f]))return Ys(Ys({},s),{},wo({},f,s[f]+(d||0)));if((g==="horizontal"||g==="vertical"&&f==="center")&&h!=="middle"&&Ne(s[h]))return Ys(Ys({},s),{},wo({},h,s[h]+(b||0)))}return s},Zue=function(s,a,n){return Xe(a)?!0:s==="horizontal"?a==="yAxis":s==="vertical"||n==="x"?a==="xAxis":n==="y"?a==="yAxis":!0},hV=function(s,a,n,i,r){var o=a.props.children,l=en(o,rf).filter(function(c){return Zue(i,r,c.props.direction)});if(l&&l.length){var u=l.map(function(c){return c.props.dataKey});return s.reduce(function(c,m){var d=Na(m,n);if(Xe(d))return c;var b=Array.isArray(d)?[tf(d),ki(d)]:[d,d],f=u.reduce(function(h,g){var p=Na(m,g,0),x=b[0]-Math.abs(Array.isArray(p)?p[0]:p),D=b[1]+Math.abs(Array.isArray(p)?p[1]:p);return[Math.min(x,h[0]),Math.max(D,h[1])]},[1/0,-1/0]);return[Math.min(f[0],c[0]),Math.max(f[1],c[1])]},[1/0,-1/0])}return null},Xue=function(s,a,n,i,r){var o=a.map(function(l){return hV(s,l,n,r,i)}).filter(function(l){return!Xe(l)});return o&&o.length?o.reduce(function(l,u){return[Math.min(l[0],u[0]),Math.max(l[1],u[1])]},[1/0,-1/0]):null},vV=function(s,a,n,i,r){var o=a.map(function(u){var c=u.props.dataKey;return n==="number"&&c&&hV(s,u,c,i)||xu(s,c,n,r)});if(n==="number")return o.reduce(function(u,c){return[Math.min(u[0],c[0]),Math.max(u[1],c[1])]},[1/0,-1/0]);var l={};return o.reduce(function(u,c){for(var m=0,d=c.length;m<d;m++)l[c[m]]||(l[c[m]]=!0,u.push(c[m]));return u},[])},NV=function(s,a){return s==="horizontal"&&a==="xAxis"||s==="vertical"&&a==="yAxis"||s==="centric"&&a==="angleAxis"||s==="radial"&&a==="radiusAxis"},xV=function(s,a,n,i){if(i)return s.map(function(u){return u.coordinate});var r,o,l=s.map(function(u){return u.coordinate===a&&(r=!0),u.coordinate===n&&(o=!0),u.coordinate});return r||l.push(a),o||l.push(n),l},Wn=function(s,a,n){if(!s)return null;var i=s.scale,r=s.duplicateDomain,o=s.type,l=s.range,u=s.realScaleType==="scaleBand"?i.bandwidth()/2:2,c=(a||n)&&o==="category"&&i.bandwidth?i.bandwidth()/u:0;if(c=s.axisType==="angleAxis"&&l?.length>=2?Qa(l[0]-l[1])*2*c:c,a&&(s.ticks||s.niceTicks)){var m=(s.ticks||s.niceTicks).map(function(d){var b=r?r.indexOf(d):d;return{coordinate:i(b)+c,value:d,offset:c}});return m.filter(function(d){return!Al(d.coordinate)})}return s.isCategorical&&s.categoricalDomain?s.categoricalDomain.map(function(d,b){return{coordinate:i(d)+c,value:d,index:b,offset:c}}):i.ticks&&!n?i.ticks(s.tickCount).map(function(d){return{coordinate:i(d)+c,value:d,offset:c}}):i.domain().map(function(d,b){return{coordinate:i(d)+c,value:r?r[d]:d,index:b,offset:c}})},Ug=new WeakMap,pm=function(s,a){if(typeof a!="function")return s;Ug.has(s)||Ug.set(s,new WeakMap);var n=Ug.get(s);if(n.has(a))return n.get(a);var i=function(){s.apply(void 0,arguments),a.apply(void 0,arguments)};return n.set(a,i),i},Jue=function(s,a,n){var i=s.scale,r=s.type,o=s.layout,l=s.axisType;if(i==="auto")return o==="radial"&&l==="radiusAxis"?{scale:Wu(),realScaleType:"band"}:o==="radial"&&l==="angleAxis"?{scale:yd(),realScaleType:"linear"}:r==="category"&&a&&(a.indexOf("LineChart")>=0||a.indexOf("AreaChart")>=0||a.indexOf("ComposedChart")>=0&&!n)?{scale:Nu(),realScaleType:"point"}:r==="category"?{scale:Wu(),realScaleType:"band"}:{scale:yd(),realScaleType:"linear"};if(Er(i)){var u="scale".concat(Fb(i));return{scale:(tC[u]||Nu)(),realScaleType:tC[u]?u:"point"}}return ze(i)?{scale:i}:{scale:Nu(),realScaleType:"point"}},mC=1e-4,ece=function(s){var a=s.domain();if(!(!a||a.length<=2)){var n=a.length,i=s.range(),r=Math.min(i[0],i[1])-mC,o=Math.max(i[0],i[1])+mC,l=s(a[0]),u=s(a[n-1]);(l<r||l>o||u<r||u>o)&&s.domain([a[0],a[n-1]])}},sce=function(s,a){if(!s)return null;for(var n=0,i=s.length;n<i;n++)if(s[n].item===a)return s[n].position;return null},tce=function(s,a){if(!a||a.length!==2||!Ne(a[0])||!Ne(a[1]))return s;var n=Math.min(a[0],a[1]),i=Math.max(a[0],a[1]),r=[s[0],s[1]];return(!Ne(s[0])||s[0]<n)&&(r[0]=n),(!Ne(s[1])||s[1]>i)&&(r[1]=i),r[0]>i&&(r[0]=i),r[1]<n&&(r[1]=n),r},ace=function(s){var a=s.length;if(!(a<=0))for(var n=0,i=s[0].length;n<i;++n)for(var r=0,o=0,l=0;l<a;++l){var u=Al(s[l][n][1])?s[l][n][0]:s[l][n][1];u>=0?(s[l][n][0]=r,s[l][n][1]=r+u,r=s[l][n][1]):(s[l][n][0]=o,s[l][n][1]=o+u,o=s[l][n][1])}},nce=function(s){var a=s.length;if(!(a<=0))for(var n=0,i=s[0].length;n<i;++n)for(var r=0,o=0;o<a;++o){var l=Al(s[o][n][1])?s[o][n][0]:s[o][n][1];l>=0?(s[o][n][0]=r,s[o][n][1]=r+l,r=s[o][n][1]):(s[o][n][0]=0,s[o][n][1]=0)}},ice={sign:ace,expand:xQ,none:Oo,silhouette:DQ,wiggle:GQ,positive:nce},rce=function(s,a,n){var i=a.map(function(l){return l.props.dataKey}),r=ice[n],o=NQ().keys(i).value(function(l,u){return+Na(l,u,0)}).order(eh).offset(r);return o(s)},oce=function(s,a,n,i,r,o){if(!s)return null;var l=o?a.reverse():a,u={},c=l.reduce(function(d,b){var f,h=(f=b.type)!==null&&f!==void 0&&f.defaultProps?Ys(Ys({},b.type.defaultProps),b.props):b.props,g=h.stackId,p=h.hide;if(p)return d;var x=h[n],D=d[x]||{hasStack:!1,stackGroups:{}};if(pt(g)){var N=D.stackGroups[g]||{numericAxisId:n,cateAxisId:i,items:[]};N.items.push(b),D.hasStack=!0,D.stackGroups[g]=N}else D.stackGroups[Sc("_stackId_")]={numericAxisId:n,cateAxisId:i,items:[b]};return Ys(Ys({},d),{},wo({},x,D))},u),m={};return Object.keys(c).reduce(function(d,b){var f=c[b];if(f.hasStack){var h={};f.stackGroups=Object.keys(f.stackGroups).reduce(function(g,p){var x=f.stackGroups[p];return Ys(Ys({},g),{},wo({},p,{numericAxisId:n,cateAxisId:i,items:x.items,stackedData:rce(s,x.items,r)}))},h)}return Ys(Ys({},d),{},wo({},b,f))},m)},lce=function(s,a){var n=a.realScaleType,i=a.type,r=a.tickCount,o=a.originalDomain,l=a.allowDecimals,u=n||a.scale;if(u!=="auto"&&u!=="linear")return null;if(r&&i==="number"&&o&&(o[0]==="auto"||o[1]==="auto")){var c=s.domain();if(!c.length)return null;var m=xue(c,r,l);return s.domain([tf(m),ki(m)]),{niceTicks:m}}if(r&&i==="number"){var d=s.domain(),b=Due(d,r,l);return{niceTicks:b}}return null};function dC(e){var s=e.axis,a=e.ticks,n=e.bandSize,i=e.entry,r=e.index,o=e.dataKey;if(s.type==="category"){if(!s.allowDuplicatedCategory&&s.dataKey&&!Xe(i[s.dataKey])){var l=ed(a,"value",i[s.dataKey]);if(l)return l.coordinate+n/2}return a[r]?a[r].coordinate+n/2:null}var u=Na(i,Xe(o)?s.dataKey:o);return Xe(u)?null:s.scale(u)}var bC=function(s){var a=s.axis,n=s.ticks,i=s.offset,r=s.bandSize,o=s.entry,l=s.index;if(a.type==="category")return n[l]?n[l].coordinate+i:null;var u=Na(o,a.dataKey,a.domain[l]);return Xe(u)?null:a.scale(u)-r/2+i},uce=function(s){var a=s.numericAxis,n=a.scale.domain();if(a.type==="number"){var i=Math.min(n[0],n[1]),r=Math.max(n[0],n[1]);return i<=0&&r>=0?0:r<0?r:i}return n[0]},cce=function(s,a){var n,i=(n=s.type)!==null&&n!==void 0&&n.defaultProps?Ys(Ys({},s.type.defaultProps),s.props):s.props,r=i.stackId;if(pt(r)){var o=a[r];if(o){var l=o.items.indexOf(s);return l>=0?o.stackedData[l]:null}}return null},mce=function(s){return s.reduce(function(a,n){return[tf(n.concat([a[0]]).filter(Ne)),ki(n.concat([a[1]]).filter(Ne))]},[1/0,-1/0])},DV=function(s,a,n){return Object.keys(s).reduce(function(i,r){var o=s[r],l=o.stackedData,u=l.reduce(function(c,m){var d=mce(m.slice(a,n+1));return[Math.min(c[0],d[0]),Math.max(c[1],d[1])]},[1/0,-1/0]);return[Math.min(u[0],i[0]),Math.max(u[1],i[1])]},[1/0,-1/0]).map(function(i){return i===1/0||i===-1/0?0:i})},fC=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,gC=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Uh=function(s,a,n){if(ze(s))return s(a,n);if(!Array.isArray(s))return a;var i=[];if(Ne(s[0]))i[0]=n?s[0]:Math.min(s[0],a[0]);else if(fC.test(s[0])){var r=+fC.exec(s[0])[1];i[0]=a[0]-r}else ze(s[0])?i[0]=s[0](a[0]):i[0]=a[0];if(Ne(s[1]))i[1]=n?s[1]:Math.max(s[1],a[1]);else if(gC.test(s[1])){var o=+gC.exec(s[1])[1];i[1]=a[1]+o}else ze(s[1])?i[1]=s[1](a[1]):i[1]=a[1];return i},Ud=function(s,a,n){if(s&&s.scale&&s.scale.bandwidth){var i=s.scale.bandwidth();if(!n||i>0)return i}if(s&&a&&a.length>=2){for(var r=hx(a,function(d){return d.coordinate}),o=1/0,l=1,u=r.length;l<u;l++){var c=r[l],m=r[l-1];o=Math.min((c.coordinate||0)-(m.coordinate||0),o)}return o===1/0?0:o}return n?void 0:0},pC=function(s,a,n){return!s||!s.length||Zu(s,Aa(n,"type.defaultProps.domain"))?a:s},GV=function(s,a){var n=s.type.defaultProps?Ys(Ys({},s.type.defaultProps),s.props):s.props,i=n.dataKey,r=n.name,o=n.unit,l=n.formatter,u=n.tooltipType,c=n.chartType,m=n.hide;return Ys(Ys({},Ze(s,!1)),{},{dataKey:i,unit:o,formatter:l,name:r||i,color:Fx(s),value:Na(a,i),type:u,payload:a,chartType:c,hide:m})};function tc(e){"@babel/helpers - typeof";return tc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},tc(e)}function hC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function vC(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?hC(Object(a),!0).forEach(function(n){dce(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):hC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function dce(e,s,a){return s=bce(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function bce(e){var s=fce(e,"string");return tc(s)=="symbol"?s:s+""}function fce(e,s){if(tc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(tc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var Hd=Math.PI/180,gce=function(s){return s*180/Math.PI},Lt=function(s,a,n,i){return{x:s+Math.cos(-Hd*i)*n,y:a+Math.sin(-Hd*i)*n}},pce=function(s,a){var n=s.x,i=s.y,r=a.x,o=a.y;return Math.sqrt(Math.pow(n-r,2)+Math.pow(i-o,2))},hce=function(s,a){var n=s.x,i=s.y,r=a.cx,o=a.cy,l=pce({x:n,y:i},{x:r,y:o});if(l<=0)return{radius:l};var u=(n-r)/l,c=Math.acos(u);return i>o&&(c=2*Math.PI-c),{radius:l,angle:gce(c),angleInRadian:c}},vce=function(s){var a=s.startAngle,n=s.endAngle,i=Math.floor(a/360),r=Math.floor(n/360),o=Math.min(i,r);return{startAngle:a-o*360,endAngle:n-o*360}},Nce=function(s,a){var n=a.startAngle,i=a.endAngle,r=Math.floor(n/360),o=Math.floor(i/360),l=Math.min(r,o);return s+l*360},NC=function(s,a){var n=s.x,i=s.y,r=hce({x:n,y:i},a),o=r.radius,l=r.angle,u=a.innerRadius,c=a.outerRadius;if(o<u||o>c)return!1;if(o===0)return!0;var m=vce(a),d=m.startAngle,b=m.endAngle,f=l,h;if(d<=b){for(;f>b;)f-=360;for(;f<d;)f+=360;h=f>=d&&f<=b}else{for(;f>d;)f-=360;for(;f<b;)f+=360;h=f>=b&&f<=d}return h?vC(vC({},a),{},{radius:o,angle:Nce(f,a)}):null};function ac(e){"@babel/helpers - typeof";return ac=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},ac(e)}var xce=["offset"];function Dce(e){return kce(e)||Cce(e)||yce(e)||Gce()}function Gce(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yce(e,s){if(e){if(typeof e=="string")return Hh(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Hh(e,s)}}function Cce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kce(e){if(Array.isArray(e))return Hh(e)}function Hh(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function Ece(e,s){if(e==null)return{};var a=Lce(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Lce(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function xC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function ft(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?xC(Object(a),!0).forEach(function(n){jce(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):xC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function jce(e,s,a){return s=wce(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function wce(e){var s=Uce(e,"string");return ac(s)=="symbol"?s:s+""}function Uce(e,s){if(ac(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(ac(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function nc(){return nc=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},nc.apply(this,arguments)}var Hce=function(s){var a=s.value,n=s.formatter,i=Xe(s.children)?a:s.children;return ze(n)?n(i):i},Vce=function(s,a){var n=Qa(a-s),i=Math.min(Math.abs(a-s),360);return n*i},Pce=function(s,a,n){var i=s.position,r=s.viewBox,o=s.offset,l=s.className,u=r,c=u.cx,m=u.cy,d=u.innerRadius,b=u.outerRadius,f=u.startAngle,h=u.endAngle,g=u.clockWise,p=(d+b)/2,x=Vce(f,h),D=x>=0?1:-1,N,C;i==="insideStart"?(N=f+D*o,C=g):i==="insideEnd"?(N=h-D*o,C=!g):i==="end"&&(N=h+D*o,C=g),C=x<=0?C:!C;var y=Lt(c,m,p,N),G=Lt(c,m,p,N+(C?1:-1)*359),k="M".concat(y.x,",").concat(y.y,`
    A`).concat(p,",").concat(p,",0,1,").concat(C?0:1,`,
    `).concat(G.x,",").concat(G.y),E=Xe(s.id)?Sc("recharts-radial-line-"):s.id;return S.createElement("text",nc({},n,{dominantBaseline:"central",className:es("recharts-radial-bar-label",l)}),S.createElement("defs",null,S.createElement("path",{id:E,d:k})),S.createElement("textPath",{xlinkHref:"#".concat(E)},a))},Ace=function(s){var a=s.viewBox,n=s.offset,i=s.position,r=a,o=r.cx,l=r.cy,u=r.innerRadius,c=r.outerRadius,m=r.startAngle,d=r.endAngle,b=(m+d)/2;if(i==="outside"){var f=Lt(o,l,c+n,b),h=f.x,g=f.y;return{x:h,y:g,textAnchor:h>=o?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:o,y:l,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:o,y:l,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:o,y:l,textAnchor:"middle",verticalAnchor:"end"};var p=(u+c)/2,x=Lt(o,l,p,b),D=x.x,N=x.y;return{x:D,y:N,textAnchor:"middle",verticalAnchor:"middle"}},Sce=function(s){var a=s.viewBox,n=s.parentViewBox,i=s.offset,r=s.position,o=a,l=o.x,u=o.y,c=o.width,m=o.height,d=m>=0?1:-1,b=d*i,f=d>0?"end":"start",h=d>0?"start":"end",g=c>=0?1:-1,p=g*i,x=g>0?"end":"start",D=g>0?"start":"end";if(r==="top"){var N={x:l+c/2,y:u-d*i,textAnchor:"middle",verticalAnchor:f};return ft(ft({},N),n?{height:Math.max(u-n.y,0),width:c}:{})}if(r==="bottom"){var C={x:l+c/2,y:u+m+b,textAnchor:"middle",verticalAnchor:h};return ft(ft({},C),n?{height:Math.max(n.y+n.height-(u+m),0),width:c}:{})}if(r==="left"){var y={x:l-p,y:u+m/2,textAnchor:x,verticalAnchor:"middle"};return ft(ft({},y),n?{width:Math.max(y.x-n.x,0),height:m}:{})}if(r==="right"){var G={x:l+c+p,y:u+m/2,textAnchor:D,verticalAnchor:"middle"};return ft(ft({},G),n?{width:Math.max(n.x+n.width-G.x,0),height:m}:{})}var k=n?{width:c,height:m}:{};return r==="insideLeft"?ft({x:l+p,y:u+m/2,textAnchor:D,verticalAnchor:"middle"},k):r==="insideRight"?ft({x:l+c-p,y:u+m/2,textAnchor:x,verticalAnchor:"middle"},k):r==="insideTop"?ft({x:l+c/2,y:u+b,textAnchor:"middle",verticalAnchor:h},k):r==="insideBottom"?ft({x:l+c/2,y:u+m-b,textAnchor:"middle",verticalAnchor:f},k):r==="insideTopLeft"?ft({x:l+p,y:u+b,textAnchor:D,verticalAnchor:h},k):r==="insideTopRight"?ft({x:l+c-p,y:u+b,textAnchor:x,verticalAnchor:h},k):r==="insideBottomLeft"?ft({x:l+p,y:u+m-b,textAnchor:D,verticalAnchor:f},k):r==="insideBottomRight"?ft({x:l+c-p,y:u+m-b,textAnchor:x,verticalAnchor:f},k):Ul(r)&&(Ne(r.x)||lr(r.x))&&(Ne(r.y)||lr(r.y))?ft({x:l+Lr(r.x,c),y:u+Lr(r.y,m),textAnchor:"end",verticalAnchor:"end"},k):ft({x:l+c/2,y:u+m/2,textAnchor:"middle",verticalAnchor:"middle"},k)},Tce=function(s){return"cx"in s&&Ne(s.cx)};function At(e){var s=e.offset,a=s===void 0?5:s,n=Ece(e,xce),i=ft({offset:a},n),r=i.viewBox,o=i.position,l=i.value,u=i.children,c=i.content,m=i.className,d=m===void 0?"":m,b=i.textBreakAll;if(!r||Xe(l)&&Xe(u)&&!v.isValidElement(c)&&!ze(c))return null;if(v.isValidElement(c))return v.cloneElement(c,i);var f;if(ze(c)){if(f=v.createElement(c,i),v.isValidElement(f))return f}else f=Hce(i);var h=Tce(r),g=Ze(i,!0);if(h&&(o==="insideStart"||o==="insideEnd"||o==="end"))return Pce(i,f,g);var p=h?Ace(i):Sce(i);return S.createElement(pd,nc({className:es("recharts-label",d)},g,p,{breakAll:b}),f)}At.displayName="Label";var yV=function(s){var a=s.cx,n=s.cy,i=s.angle,r=s.startAngle,o=s.endAngle,l=s.r,u=s.radius,c=s.innerRadius,m=s.outerRadius,d=s.x,b=s.y,f=s.top,h=s.left,g=s.width,p=s.height,x=s.clockWise,D=s.labelViewBox;if(D)return D;if(Ne(g)&&Ne(p)){if(Ne(d)&&Ne(b))return{x:d,y:b,width:g,height:p};if(Ne(f)&&Ne(h))return{x:f,y:h,width:g,height:p}}return Ne(d)&&Ne(b)?{x:d,y:b,width:0,height:0}:Ne(a)&&Ne(n)?{cx:a,cy:n,startAngle:r||i||0,endAngle:o||i||0,innerRadius:c||0,outerRadius:m||u||l||0,clockWise:x}:s.viewBox?s.viewBox:{}},_ce=function(s,a){return s?s===!0?S.createElement(At,{key:"label-implicit",viewBox:a}):pt(s)?S.createElement(At,{key:"label-implicit",viewBox:a,value:s}):v.isValidElement(s)?s.type===At?v.cloneElement(s,{key:"label-implicit",viewBox:a}):S.createElement(At,{key:"label-implicit",content:s,viewBox:a}):ze(s)?S.createElement(At,{key:"label-implicit",content:s,viewBox:a}):Ul(s)?S.createElement(At,nc({viewBox:a},s,{key:"label-implicit"})):null:null},Rce=function(s,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!s||!s.children&&n&&!s.label)return null;var i=s.children,r=yV(s),o=en(i,At).map(function(u,c){return v.cloneElement(u,{viewBox:a||r,key:"label-".concat(c)})});if(!n)return o;var l=_ce(s.label,a||r);return[l].concat(Dce(o))};At.parseViewBox=yV;At.renderCallByParent=Rce;function Mce(e){var s=e==null?0:e.length;return s?e[s-1]:void 0}var Oce=Mce;const Ice=ws(Oce);function ic(e){"@babel/helpers - typeof";return ic=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},ic(e)}var $ce=["valueAccessor"],Fce=["data","dataKey","clockWise","id","textBreakAll"];function Bce(e){return Kce(e)||zce(e)||Wce(e)||qce()}function qce(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wce(e,s){if(e){if(typeof e=="string")return Vh(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Vh(e,s)}}function zce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Kce(e){if(Array.isArray(e))return Vh(e)}function Vh(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function Vd(){return Vd=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Vd.apply(this,arguments)}function DC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function GC(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?DC(Object(a),!0).forEach(function(n){Yce(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):DC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Yce(e,s,a){return s=Qce(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function Qce(e){var s=Zce(e,"string");return ic(s)=="symbol"?s:s+""}function Zce(e,s){if(ic(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(ic(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function yC(e,s){if(e==null)return{};var a=Xce(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Xce(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}var Jce=function(s){return Array.isArray(s.value)?Ice(s.value):s.value};function wi(e){var s=e.valueAccessor,a=s===void 0?Jce:s,n=yC(e,$ce),i=n.data,r=n.dataKey,o=n.clockWise,l=n.id,u=n.textBreakAll,c=yC(n,Fce);return!i||!i.length?null:S.createElement(Ws,{className:"recharts-label-list"},i.map(function(m,d){var b=Xe(r)?a(m,d):Na(m&&m.payload,r),f=Xe(l)?{}:{id:"".concat(l,"-").concat(d)};return S.createElement(At,Vd({},Ze(m,!0),c,f,{parentViewBox:m.parentViewBox,value:b,textBreakAll:u,viewBox:At.parseViewBox(Xe(o)?m:GC(GC({},m),{},{clockWise:o})),key:"label-".concat(d),index:d}))}))}wi.displayName="LabelList";function eme(e,s){return e?e===!0?S.createElement(wi,{key:"labelList-implicit",data:s}):S.isValidElement(e)||ze(e)?S.createElement(wi,{key:"labelList-implicit",data:s,content:e}):Ul(e)?S.createElement(wi,Vd({data:s},e,{key:"labelList-implicit"})):null:null}function sme(e,s){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&a&&!e.label)return null;var n=e.children,i=en(n,wi).map(function(o,l){return v.cloneElement(o,{data:s,key:"labelList-".concat(l)})});if(!a)return i;var r=eme(e.label,s);return[r].concat(Bce(i))}wi.renderCallByParent=sme;function rc(e){"@babel/helpers - typeof";return rc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},rc(e)}function Ph(){return Ph=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Ph.apply(this,arguments)}function CC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function kC(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?CC(Object(a),!0).forEach(function(n){tme(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):CC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function tme(e,s,a){return s=ame(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function ame(e){var s=nme(e,"string");return rc(s)=="symbol"?s:s+""}function nme(e,s){if(rc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(rc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var ime=function(s,a){var n=Qa(a-s),i=Math.min(Math.abs(a-s),359.999);return n*i},hm=function(s){var a=s.cx,n=s.cy,i=s.radius,r=s.angle,o=s.sign,l=s.isExternal,u=s.cornerRadius,c=s.cornerIsExternal,m=u*(l?1:-1)+i,d=Math.asin(u/m)/Hd,b=c?r:r+o*d,f=Lt(a,n,m,b),h=Lt(a,n,i,b),g=c?r-o*d:r,p=Lt(a,n,m*Math.cos(d*Hd),g);return{center:f,circleTangency:h,lineTangency:p,theta:d}},CV=function(s){var a=s.cx,n=s.cy,i=s.innerRadius,r=s.outerRadius,o=s.startAngle,l=s.endAngle,u=ime(o,l),c=o+u,m=Lt(a,n,r,o),d=Lt(a,n,r,c),b="M ".concat(m.x,",").concat(m.y,`
    A `).concat(r,",").concat(r,`,0,
    `).concat(+(Math.abs(u)>180),",").concat(+(o>c),`,
    `).concat(d.x,",").concat(d.y,`
  `);if(i>0){var f=Lt(a,n,i,o),h=Lt(a,n,i,c);b+="L ".concat(h.x,",").concat(h.y,`
            A `).concat(i,",").concat(i,`,0,
            `).concat(+(Math.abs(u)>180),",").concat(+(o<=c),`,
            `).concat(f.x,",").concat(f.y," Z")}else b+="L ".concat(a,",").concat(n," Z");return b},rme=function(s){var a=s.cx,n=s.cy,i=s.innerRadius,r=s.outerRadius,o=s.cornerRadius,l=s.forceCornerRadius,u=s.cornerIsExternal,c=s.startAngle,m=s.endAngle,d=Qa(m-c),b=hm({cx:a,cy:n,radius:r,angle:c,sign:d,cornerRadius:o,cornerIsExternal:u}),f=b.circleTangency,h=b.lineTangency,g=b.theta,p=hm({cx:a,cy:n,radius:r,angle:m,sign:-d,cornerRadius:o,cornerIsExternal:u}),x=p.circleTangency,D=p.lineTangency,N=p.theta,C=u?Math.abs(c-m):Math.abs(c-m)-g-N;if(C<0)return l?"M ".concat(h.x,",").concat(h.y,`
        a`).concat(o,",").concat(o,",0,0,1,").concat(o*2,`,0
        a`).concat(o,",").concat(o,",0,0,1,").concat(-o*2,`,0
      `):CV({cx:a,cy:n,innerRadius:i,outerRadius:r,startAngle:c,endAngle:m});var y="M ".concat(h.x,",").concat(h.y,`
    A`).concat(o,",").concat(o,",0,0,").concat(+(d<0),",").concat(f.x,",").concat(f.y,`
    A`).concat(r,",").concat(r,",0,").concat(+(C>180),",").concat(+(d<0),",").concat(x.x,",").concat(x.y,`
    A`).concat(o,",").concat(o,",0,0,").concat(+(d<0),",").concat(D.x,",").concat(D.y,`
  `);if(i>0){var G=hm({cx:a,cy:n,radius:i,angle:c,sign:d,isExternal:!0,cornerRadius:o,cornerIsExternal:u}),k=G.circleTangency,E=G.lineTangency,U=G.theta,T=hm({cx:a,cy:n,radius:i,angle:m,sign:-d,isExternal:!0,cornerRadius:o,cornerIsExternal:u}),H=T.circleTangency,j=T.lineTangency,w=T.theta,A=u?Math.abs(c-m):Math.abs(c-m)-U-w;if(A<0&&o===0)return"".concat(y,"L").concat(a,",").concat(n,"Z");y+="L".concat(j.x,",").concat(j.y,`
      A`).concat(o,",").concat(o,",0,0,").concat(+(d<0),",").concat(H.x,",").concat(H.y,`
      A`).concat(i,",").concat(i,",0,").concat(+(A>180),",").concat(+(d>0),",").concat(k.x,",").concat(k.y,`
      A`).concat(o,",").concat(o,",0,0,").concat(+(d<0),",").concat(E.x,",").concat(E.y,"Z")}else y+="L".concat(a,",").concat(n,"Z");return y},ome={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},kV=function(s){var a=kC(kC({},ome),s),n=a.cx,i=a.cy,r=a.innerRadius,o=a.outerRadius,l=a.cornerRadius,u=a.forceCornerRadius,c=a.cornerIsExternal,m=a.startAngle,d=a.endAngle,b=a.className;if(o<r||m===d)return null;var f=es("recharts-sector",b),h=o-r,g=Lr(l,h,0,!0),p;return g>0&&Math.abs(m-d)<360?p=rme({cx:n,cy:i,innerRadius:r,outerRadius:o,cornerRadius:Math.min(g,h/2),forceCornerRadius:u,cornerIsExternal:c,startAngle:m,endAngle:d}):p=CV({cx:n,cy:i,innerRadius:r,outerRadius:o,startAngle:m,endAngle:d}),S.createElement("path",Ph({},Ze(a,!0),{className:f,d:p,role:"img"}))};function oc(e){"@babel/helpers - typeof";return oc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},oc(e)}function Ah(){return Ah=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Ah.apply(this,arguments)}function EC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function LC(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?EC(Object(a),!0).forEach(function(n){lme(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):EC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function lme(e,s,a){return s=ume(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function ume(e){var s=cme(e,"string");return oc(s)=="symbol"?s:s+""}function cme(e,s){if(oc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(oc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var jC={curveBasisClosed:lQ,curveBasisOpen:uQ,curveBasis:oQ,curveBumpX:zY,curveBumpY:KY,curveLinearClosed:cQ,curveLinear:qb,curveMonotoneX:mQ,curveMonotoneY:dQ,curveNatural:bQ,curveStep:fQ,curveStepAfter:pQ,curveStepBefore:gQ},vm=function(s){return s.x===+s.x&&s.y===+s.y},su=function(s){return s.x},tu=function(s){return s.y},mme=function(s,a){if(ze(s))return s;var n="curve".concat(Fb(s));return(n==="curveMonotone"||n==="curveBump")&&a?jC["".concat(n).concat(a==="vertical"?"Y":"X")]:jC[n]||qb},dme=function(s){var a=s.type,n=a===void 0?"linear":a,i=s.points,r=i===void 0?[]:i,o=s.baseLine,l=s.layout,u=s.connectNulls,c=u===void 0?!1:u,m=mme(n,l),d=c?r.filter(function(g){return vm(g)}):r,b;if(Array.isArray(o)){var f=c?o.filter(function(g){return vm(g)}):o,h=d.map(function(g,p){return LC(LC({},g),{},{base:f[p]})});return l==="vertical"?b=lm().y(tu).x1(su).x0(function(g){return g.base.x}):b=lm().x(su).y1(tu).y0(function(g){return g.base.y}),b.defined(vm).curve(m),b(h)}return l==="vertical"&&Ne(o)?b=lm().y(tu).x1(su).x0(o):Ne(o)?b=lm().x(su).y1(tu).y0(o):b=kU().x(su).y(tu),b.defined(vm).curve(m),b(d)},Du=function(s){var a=s.className,n=s.points,i=s.path,r=s.pathRef;if((!n||!n.length)&&!i)return null;var o=n&&n.length?dme(s):i;return v.createElement("path",Ah({},Ze(s,!1),sd(s),{className:es("recharts-curve",a),d:o,ref:r}))},EV={exports:{}},LV={exports:{}},gs={};/** @license React v16.13.1
 * react-is.development.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(){var e=typeof Symbol=="function"&&Symbol.for,s=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function N(R){return typeof R=="string"||typeof R=="function"||R===n||R===c||R===r||R===i||R===d||R===b||typeof R=="object"&&R!==null&&(R.$$typeof===h||R.$$typeof===f||R.$$typeof===o||R.$$typeof===l||R.$$typeof===m||R.$$typeof===p||R.$$typeof===x||R.$$typeof===D||R.$$typeof===g)}function C(R){if(typeof R=="object"&&R!==null){var ve=R.$$typeof;switch(ve){case s:var J=R.type;switch(J){case u:case c:case n:case r:case i:case d:return J;default:var ke=J&&J.$$typeof;switch(ke){case l:case m:case h:case f:case o:return ke;default:return ve}}case a:return ve}}}var y=u,G=c,k=l,E=o,U=s,T=m,H=n,j=h,w=f,A=a,P=r,V=i,_=d,O=!1;function $(R){return O||(O=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Q(R)||C(R)===u}function Q(R){return C(R)===c}function ne(R){return C(R)===l}function Z(R){return C(R)===o}function ee(R){return typeof R=="object"&&R!==null&&R.$$typeof===s}function ge(R){return C(R)===m}function xe(R){return C(R)===n}function le(R){return C(R)===h}function se(R){return C(R)===f}function be(R){return C(R)===a}function te(R){return C(R)===r}function ce(R){return C(R)===i}function he(R){return C(R)===d}gs.AsyncMode=y,gs.ConcurrentMode=G,gs.ContextConsumer=k,gs.ContextProvider=E,gs.Element=U,gs.ForwardRef=T,gs.Fragment=H,gs.Lazy=j,gs.Memo=w,gs.Portal=A,gs.Profiler=P,gs.StrictMode=V,gs.Suspense=_,gs.isAsyncMode=$,gs.isConcurrentMode=Q,gs.isContextConsumer=ne,gs.isContextProvider=Z,gs.isElement=ee,gs.isForwardRef=ge,gs.isFragment=xe,gs.isLazy=le,gs.isMemo=se,gs.isPortal=be,gs.isProfiler=te,gs.isStrictMode=ce,gs.isSuspense=he,gs.isValidElementType=N,gs.typeOf=C})();LV.exports=gs;var jV=LV.exports;/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var wC=Object.getOwnPropertySymbols,bme=Object.prototype.hasOwnProperty,fme=Object.prototype.propertyIsEnumerable;function gme(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function pme(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var s={},a=0;a<10;a++)s["_"+String.fromCharCode(a)]=a;var n=Object.getOwnPropertyNames(s).map(function(r){return s[r]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(r){i[r]=r}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var hme=pme()?Object.assign:function(e,s){for(var a,n=gme(e),i,r=1;r<arguments.length;r++){a=Object(arguments[r]);for(var o in a)bme.call(a,o)&&(n[o]=a[o]);if(wC){i=wC(a);for(var l=0;l<i.length;l++)fme.call(a,i[l])&&(n[i[l]]=a[i[l]])}}return n},vme="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",wV=vme,UV=Function.call.bind(Object.prototype.hasOwnProperty),Sh=function(){};{var Nme=wV,Th={},xme=UV;Sh=function(e){var s="Warning: "+e;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function HV(e,s,a,n,i){for(var r in e)if(xme(e,r)){var o;try{if(typeof e[r]!="function"){var l=Error((n||"React class")+": "+a+" type `"+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[r]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}o=e[r](s,r,n,a,null,Nme)}catch(c){o=c}if(o&&!(o instanceof Error)&&Sh((n||"React class")+": type specification of "+a+" `"+r+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),o instanceof Error&&!(o.message in Th)){Th[o.message]=!0;var u=i?i():"";Sh("Failed "+a+" type: "+o.message+(u??""))}}}HV.resetWarningCache=function(){Th={}};var Dme=HV,Gme=jV,yme=hme,no=wV,Hg=UV,UC=Dme,co=function(){};co=function(e){var s="Warning: "+e;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}};function Nm(){return null}var Cme=function(e,s){var a=typeof Symbol=="function"&&Symbol.iterator,n="@@iterator";function i(w){var A=w&&(a&&w[a]||w[n]);if(typeof A=="function")return A}var r="<<anonymous>>",o={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:d(),arrayOf:b,element:f(),elementType:h(),instanceOf:g,node:N(),objectOf:x,oneOf:p,oneOfType:D,shape:y,exact:G};function l(w,A){return w===A?w!==0||1/w===1/A:w!==w&&A!==A}function u(w,A){this.message=w,this.data=A&&typeof A=="object"?A:{},this.stack=""}u.prototype=Error.prototype;function c(w){var A={},P=0;function V(O,$,Q,ne,Z,ee,ge){if(ne=ne||r,ee=ee||Q,ge!==no){if(s){var xe=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw xe.name="Invariant Violation",xe}else if(typeof console<"u"){var le=ne+":"+Q;!A[le]&&P<3&&(co("You are manually calling a React.PropTypes validation function for the `"+ee+"` prop on `"+ne+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),A[le]=!0,P++)}}return $[Q]==null?O?$[Q]===null?new u("The "+Z+" `"+ee+"` is marked as required "+("in `"+ne+"`, but its value is `null`.")):new u("The "+Z+" `"+ee+"` is marked as required in "+("`"+ne+"`, but its value is `undefined`.")):null:w($,Q,ne,Z,ee)}var _=V.bind(null,!1);return _.isRequired=V.bind(null,!0),_}function m(w){function A(P,V,_,O,$,Q){var ne=P[V],Z=U(ne);if(Z!==w){var ee=T(ne);return new u("Invalid "+O+" `"+$+"` of type "+("`"+ee+"` supplied to `"+_+"`, expected ")+("`"+w+"`."),{expectedType:w})}return null}return c(A)}function d(){return c(Nm)}function b(w){function A(P,V,_,O,$){if(typeof w!="function")return new u("Property `"+$+"` of component `"+_+"` has invalid PropType notation inside arrayOf.");var Q=P[V];if(!Array.isArray(Q)){var ne=U(Q);return new u("Invalid "+O+" `"+$+"` of type "+("`"+ne+"` supplied to `"+_+"`, expected an array."))}for(var Z=0;Z<Q.length;Z++){var ee=w(Q,Z,_,O,$+"["+Z+"]",no);if(ee instanceof Error)return ee}return null}return c(A)}function f(){function w(A,P,V,_,O){var $=A[P];if(!e($)){var Q=U($);return new u("Invalid "+_+" `"+O+"` of type "+("`"+Q+"` supplied to `"+V+"`, expected a single ReactElement."))}return null}return c(w)}function h(){function w(A,P,V,_,O){var $=A[P];if(!Gme.isValidElementType($)){var Q=U($);return new u("Invalid "+_+" `"+O+"` of type "+("`"+Q+"` supplied to `"+V+"`, expected a single ReactElement type."))}return null}return c(w)}function g(w){function A(P,V,_,O,$){if(!(P[V]instanceof w)){var Q=w.name||r,ne=j(P[V]);return new u("Invalid "+O+" `"+$+"` of type "+("`"+ne+"` supplied to `"+_+"`, expected ")+("instance of `"+Q+"`."))}return null}return c(A)}function p(w){if(!Array.isArray(w))return arguments.length>1?co("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):co("Invalid argument supplied to oneOf, expected an array."),Nm;function A(P,V,_,O,$){for(var Q=P[V],ne=0;ne<w.length;ne++)if(l(Q,w[ne]))return null;var Z=JSON.stringify(w,function(ge,xe){var le=T(xe);return le==="symbol"?String(xe):xe});return new u("Invalid "+O+" `"+$+"` of value `"+String(Q)+"` "+("supplied to `"+_+"`, expected one of "+Z+"."))}return c(A)}function x(w){function A(P,V,_,O,$){if(typeof w!="function")return new u("Property `"+$+"` of component `"+_+"` has invalid PropType notation inside objectOf.");var Q=P[V],ne=U(Q);if(ne!=="object")return new u("Invalid "+O+" `"+$+"` of type "+("`"+ne+"` supplied to `"+_+"`, expected an object."));for(var Z in Q)if(Hg(Q,Z)){var ee=w(Q,Z,_,O,$+"."+Z,no);if(ee instanceof Error)return ee}return null}return c(A)}function D(w){if(!Array.isArray(w))return co("Invalid argument supplied to oneOfType, expected an instance of array."),Nm;for(var A=0;A<w.length;A++){var P=w[A];if(typeof P!="function")return co("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+H(P)+" at index "+A+"."),Nm}function V(_,O,$,Q,ne){for(var Z=[],ee=0;ee<w.length;ee++){var ge=w[ee],xe=ge(_,O,$,Q,ne,no);if(xe==null)return null;xe.data&&Hg(xe.data,"expectedType")&&Z.push(xe.data.expectedType)}var le=Z.length>0?", expected one of type ["+Z.join(", ")+"]":"";return new u("Invalid "+Q+" `"+ne+"` supplied to "+("`"+$+"`"+le+"."))}return c(V)}function N(){function w(A,P,V,_,O){return k(A[P])?null:new u("Invalid "+_+" `"+O+"` supplied to "+("`"+V+"`, expected a ReactNode."))}return c(w)}function C(w,A,P,V,_){return new u((w||"React class")+": "+A+" type `"+P+"."+V+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+_+"`.")}function y(w){function A(P,V,_,O,$){var Q=P[V],ne=U(Q);if(ne!=="object")return new u("Invalid "+O+" `"+$+"` of type `"+ne+"` "+("supplied to `"+_+"`, expected `object`."));for(var Z in w){var ee=w[Z];if(typeof ee!="function")return C(_,O,$,Z,T(ee));var ge=ee(Q,Z,_,O,$+"."+Z,no);if(ge)return ge}return null}return c(A)}function G(w){function A(P,V,_,O,$){var Q=P[V],ne=U(Q);if(ne!=="object")return new u("Invalid "+O+" `"+$+"` of type `"+ne+"` "+("supplied to `"+_+"`, expected `object`."));var Z=yme({},P[V],w);for(var ee in Z){var ge=w[ee];if(Hg(w,ee)&&typeof ge!="function")return C(_,O,$,ee,T(ge));if(!ge)return new u("Invalid "+O+" `"+$+"` key `"+ee+"` supplied to `"+_+"`.\nBad object: "+JSON.stringify(P[V],null,"  ")+`
Valid keys: `+JSON.stringify(Object.keys(w),null,"  "));var xe=ge(Q,ee,_,O,$+"."+ee,no);if(xe)return xe}return null}return c(A)}function k(w){switch(typeof w){case"number":case"string":case"undefined":return!0;case"boolean":return!w;case"object":if(Array.isArray(w))return w.every(k);if(w===null||e(w))return!0;var A=i(w);if(A){var P=A.call(w),V;if(A!==w.entries){for(;!(V=P.next()).done;)if(!k(V.value))return!1}else for(;!(V=P.next()).done;){var _=V.value;if(_&&!k(_[1]))return!1}}else return!1;return!0;default:return!1}}function E(w,A){return w==="symbol"?!0:A?A["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&A instanceof Symbol:!1}function U(w){var A=typeof w;return Array.isArray(w)?"array":w instanceof RegExp?"object":E(A,w)?"symbol":A}function T(w){if(typeof w>"u"||w===null)return""+w;var A=U(w);if(A==="object"){if(w instanceof Date)return"date";if(w instanceof RegExp)return"regexp"}return A}function H(w){var A=T(w);switch(A){case"array":case"object":return"an "+A;case"boolean":case"date":case"regexp":return"a "+A;default:return A}}function j(w){return!w.constructor||!w.constructor.name?r:w.constructor.name}return o.checkPropTypes=UC,o.resetWarningCache=UC.resetWarningCache,o.PropTypes=o,o};{var kme=jV,Eme=!0;EV.exports=Cme(kme.isElement,Eme)}var Lme=EV.exports;const ms=ws(Lme);var jme=Object.getOwnPropertyNames,wme=Object.getOwnPropertySymbols,Ume=Object.prototype.hasOwnProperty;function HC(e,s){return function(n,i,r){return e(n,i,r)&&s(n,i,r)}}function xm(e){return function(a,n,i){if(!a||!n||typeof a!="object"||typeof n!="object")return e(a,n,i);var r=i.cache,o=r.get(a),l=r.get(n);if(o&&l)return o===n&&l===a;r.set(a,n),r.set(n,a);var u=e(a,n,i);return r.delete(a),r.delete(n),u}}function VC(e){return jme(e).concat(wme(e))}var Hme=Object.hasOwn||function(e,s){return Ume.call(e,s)};function $r(e,s){return e===s||!e&&!s&&e!==e&&s!==s}var Vme="__v",Pme="__o",Ame="_owner",PC=Object.getOwnPropertyDescriptor,AC=Object.keys;function Sme(e,s,a){var n=e.length;if(s.length!==n)return!1;for(;n-- >0;)if(!a.equals(e[n],s[n],n,n,e,s,a))return!1;return!0}function Tme(e,s){return $r(e.getTime(),s.getTime())}function _me(e,s){return e.name===s.name&&e.message===s.message&&e.cause===s.cause&&e.stack===s.stack}function Rme(e,s){return e===s}function SC(e,s,a){var n=e.size;if(n!==s.size)return!1;if(!n)return!0;for(var i=new Array(n),r=e.entries(),o,l,u=0;(o=r.next())&&!o.done;){for(var c=s.entries(),m=!1,d=0;(l=c.next())&&!l.done;){if(i[d]){d++;continue}var b=o.value,f=l.value;if(a.equals(b[0],f[0],u,d,e,s,a)&&a.equals(b[1],f[1],b[0],f[0],e,s,a)){m=i[d]=!0;break}d++}if(!m)return!1;u++}return!0}var Mme=$r;function Ome(e,s,a){var n=AC(e),i=n.length;if(AC(s).length!==i)return!1;for(;i-- >0;)if(!VV(e,s,a,n[i]))return!1;return!0}function au(e,s,a){var n=VC(e),i=n.length;if(VC(s).length!==i)return!1;for(var r,o,l;i-- >0;)if(r=n[i],!VV(e,s,a,r)||(o=PC(e,r),l=PC(s,r),(o||l)&&(!o||!l||o.configurable!==l.configurable||o.enumerable!==l.enumerable||o.writable!==l.writable)))return!1;return!0}function Ime(e,s){return $r(e.valueOf(),s.valueOf())}function $me(e,s){return e.source===s.source&&e.flags===s.flags}function TC(e,s,a){var n=e.size;if(n!==s.size)return!1;if(!n)return!0;for(var i=new Array(n),r=e.values(),o,l;(o=r.next())&&!o.done;){for(var u=s.values(),c=!1,m=0;(l=u.next())&&!l.done;){if(!i[m]&&a.equals(o.value,l.value,o.value,l.value,e,s,a)){c=i[m]=!0;break}m++}if(!c)return!1}return!0}function Fme(e,s){var a=e.length;if(s.length!==a)return!1;for(;a-- >0;)if(e[a]!==s[a])return!1;return!0}function Bme(e,s){return e.hostname===s.hostname&&e.pathname===s.pathname&&e.protocol===s.protocol&&e.port===s.port&&e.hash===s.hash&&e.username===s.username&&e.password===s.password}function VV(e,s,a,n){return(n===Ame||n===Pme||n===Vme)&&(e.$$typeof||s.$$typeof)?!0:Hme(s,n)&&a.equals(e[n],s[n],n,n,e,s,a)}var qme="[object Arguments]",Wme="[object Boolean]",zme="[object Date]",Kme="[object Error]",Yme="[object Map]",Qme="[object Number]",Zme="[object Object]",Xme="[object RegExp]",Jme="[object Set]",ede="[object String]",sde="[object URL]",tde=Array.isArray,_C=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,RC=Object.assign,ade=Object.prototype.toString.call.bind(Object.prototype.toString);function nde(e){var s=e.areArraysEqual,a=e.areDatesEqual,n=e.areErrorsEqual,i=e.areFunctionsEqual,r=e.areMapsEqual,o=e.areNumbersEqual,l=e.areObjectsEqual,u=e.arePrimitiveWrappersEqual,c=e.areRegExpsEqual,m=e.areSetsEqual,d=e.areTypedArraysEqual,b=e.areUrlsEqual;return function(h,g,p){if(h===g)return!0;if(h==null||g==null)return!1;var x=typeof h;if(x!==typeof g)return!1;if(x!=="object")return x==="number"?o(h,g,p):x==="function"?i(h,g,p):!1;var D=h.constructor;if(D!==g.constructor)return!1;if(D===Object)return l(h,g,p);if(tde(h))return s(h,g,p);if(_C!=null&&_C(h))return d(h,g,p);if(D===Date)return a(h,g,p);if(D===RegExp)return c(h,g,p);if(D===Map)return r(h,g,p);if(D===Set)return m(h,g,p);var N=ade(h);return N===zme?a(h,g,p):N===Xme?c(h,g,p):N===Yme?r(h,g,p):N===Jme?m(h,g,p):N===Zme?typeof h.then!="function"&&typeof g.then!="function"&&l(h,g,p):N===sde?b(h,g,p):N===Kme?n(h,g,p):N===qme?l(h,g,p):N===Wme||N===Qme||N===ede?u(h,g,p):!1}}function ide(e){var s=e.circular,a=e.createCustomConfig,n=e.strict,i={areArraysEqual:n?au:Sme,areDatesEqual:Tme,areErrorsEqual:_me,areFunctionsEqual:Rme,areMapsEqual:n?HC(SC,au):SC,areNumbersEqual:Mme,areObjectsEqual:n?au:Ome,arePrimitiveWrappersEqual:Ime,areRegExpsEqual:$me,areSetsEqual:n?HC(TC,au):TC,areTypedArraysEqual:n?au:Fme,areUrlsEqual:Bme};if(a&&(i=RC({},i,a(i))),s){var r=xm(i.areArraysEqual),o=xm(i.areMapsEqual),l=xm(i.areObjectsEqual),u=xm(i.areSetsEqual);i=RC({},i,{areArraysEqual:r,areMapsEqual:o,areObjectsEqual:l,areSetsEqual:u})}return i}function rde(e){return function(s,a,n,i,r,o,l){return e(s,a,l)}}function ode(e){var s=e.circular,a=e.comparator,n=e.createState,i=e.equals,r=e.strict;if(n)return function(u,c){var m=n(),d=m.cache,b=d===void 0?s?new WeakMap:void 0:d,f=m.meta;return a(u,c,{cache:b,equals:i,meta:f,strict:r})};if(s)return function(u,c){return a(u,c,{cache:new WeakMap,equals:i,meta:void 0,strict:r})};var o={cache:void 0,equals:i,meta:void 0,strict:r};return function(u,c){return a(u,c,o)}}var lde=Ii();Ii({strict:!0});Ii({circular:!0});Ii({circular:!0,strict:!0});Ii({createInternalComparator:function(){return $r}});Ii({strict:!0,createInternalComparator:function(){return $r}});Ii({circular:!0,createInternalComparator:function(){return $r}});Ii({circular:!0,createInternalComparator:function(){return $r},strict:!0});function Ii(e){e===void 0&&(e={});var s=e.circular,a=s===void 0?!1:s,n=e.createInternalComparator,i=e.createState,r=e.strict,o=r===void 0?!1:r,l=ide(e),u=nde(l),c=n?n(u):rde(u);return ode({circular:a,comparator:u,createState:i,equals:c,strict:o})}function ude(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function MC(e){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=-1,n=function i(r){a<0&&(a=r),r-a>s?(e(r),a=-1):ude(i)};requestAnimationFrame(n)}function _h(e){"@babel/helpers - typeof";return _h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},_h(e)}function cde(e){return fde(e)||bde(e)||dde(e)||mde()}function mde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dde(e,s){if(e){if(typeof e=="string")return OC(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return OC(e,s)}}function OC(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function bde(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fde(e){if(Array.isArray(e))return e}function gde(){var e={},s=function(){return null},a=!1,n=function i(r){if(!a){if(Array.isArray(r)){if(!r.length)return;var o=r,l=cde(o),u=l[0],c=l.slice(1);if(typeof u=="number"){MC(i.bind(null,c),u);return}i(u),MC(i.bind(null,c));return}_h(r)==="object"&&(e=r,s(e)),typeof r=="function"&&r()}};return{stop:function(){a=!0},start:function(r){a=!1,n(r)},subscribe:function(r){return s=r,function(){s=function(){return null}}}}}function lc(e){"@babel/helpers - typeof";return lc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},lc(e)}function IC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function $C(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?IC(Object(a),!0).forEach(function(n){PV(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):IC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function PV(e,s,a){return s=pde(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function pde(e){var s=hde(e,"string");return lc(s)==="symbol"?s:String(s)}function hde(e,s){if(lc(e)!=="object"||e===null)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(lc(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var vde=function(s,a){return[Object.keys(s),Object.keys(a)].reduce(function(n,i){return n.filter(function(r){return i.includes(r)})})},Nde=function(s){return s},xde=function(s){return s.replace(/([A-Z])/g,function(a){return"-".concat(a.toLowerCase())})},Gu=function(s,a){return Object.keys(a).reduce(function(n,i){return $C($C({},n),{},PV({},i,s(i,a[i])))},{})},FC=function(s,a,n){return s.map(function(i){return"".concat(xde(i)," ").concat(a,"ms ").concat(n)}).join(",")},Pd=function(s,a,n,i,r,o,l,u){if(typeof console<"u"&&console.warn&&(a===void 0&&console.warn("LogUtils requires an error message argument"),!s))if(a===void 0)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,i,r,o,l,u],m=0;console.warn(a.replace(/%s/g,function(){return c[m++]}))}};function Dde(e,s){return Cde(e)||yde(e,s)||AV(e,s)||Gde()}function Gde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yde(e,s){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,i,r,o,l=[],u=!0,c=!1;try{if(r=(a=a.call(e)).next,s!==0)for(;!(u=(n=r.call(a)).done)&&(l.push(n.value),l.length!==s);u=!0);}catch(m){c=!0,i=m}finally{try{if(!u&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function Cde(e){if(Array.isArray(e))return e}function kde(e){return jde(e)||Lde(e)||AV(e)||Ede()}function Ede(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function AV(e,s){if(e){if(typeof e=="string")return Rh(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Rh(e,s)}}function Lde(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jde(e){if(Array.isArray(e))return Rh(e)}function Rh(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}var Ad=1e-4,SV=function(s,a){return[0,3*s,3*a-6*s,3*s-3*a+1]},TV=function(s,a){return s.map(function(n,i){return n*Math.pow(a,i)}).reduce(function(n,i){return n+i})},BC=function(s,a){return function(n){var i=SV(s,a);return TV(i,n)}},wde=function(s,a){return function(n){var i=SV(s,a),r=[].concat(kde(i.map(function(o,l){return o*l}).slice(1)),[0]);return TV(r,n)}},qC=function(){for(var s=arguments.length,a=new Array(s),n=0;n<s;n++)a[n]=arguments[n];var i=a[0],r=a[1],o=a[2],l=a[3];if(a.length===1)switch(a[0]){case"linear":i=0,r=0,o=1,l=1;break;case"ease":i=.25,r=.1,o=.25,l=1;break;case"ease-in":i=.42,r=0,o=1,l=1;break;case"ease-out":i=.42,r=0,o=.58,l=1;break;case"ease-in-out":i=0,r=0,o=.58,l=1;break;default:{var u=a[0].split("(");if(u[0]==="cubic-bezier"&&u[1].split(")")[0].split(",").length===4){var c=u[1].split(")")[0].split(",").map(function(p){return parseFloat(p)}),m=Dde(c,4);i=m[0],r=m[1],o=m[2],l=m[3]}else Pd(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",a)}}Pd([i,o,r,l].every(function(p){return typeof p=="number"&&p>=0&&p<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",a);var d=BC(i,o),b=BC(r,l),f=wde(i,o),h=function(x){return x>1?1:x<0?0:x},g=function(x){for(var D=x>1?1:x,N=D,C=0;C<8;++C){var y=d(N)-D,G=f(N);if(Math.abs(y-D)<Ad||G<Ad)return b(N);N=h(N-y/G)}return b(N)};return g.isStepper=!1,g},Ude=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=s.stiff,n=a===void 0?100:a,i=s.damping,r=i===void 0?8:i,o=s.dt,l=o===void 0?17:o,u=function(m,d,b){var f=-(m-d)*n,h=b*r,g=b+(f-h)*l/1e3,p=b*l/1e3+m;return Math.abs(p-d)<Ad&&Math.abs(g)<Ad?[d,0]:[p,g]};return u.isStepper=!0,u.dt=l,u},Hde=function(){for(var s=arguments.length,a=new Array(s),n=0;n<s;n++)a[n]=arguments[n];var i=a[0];if(typeof i=="string")switch(i){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return qC(i);case"spring":return Ude();default:if(i.split("(")[0]==="cubic-bezier")return qC(i);Pd(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead  received %s",a)}return typeof i=="function"?i:(Pd(!1,"[configEasing]: first argument type should be function or string, instead received %s",a),null)};function uc(e){"@babel/helpers - typeof";return uc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},uc(e)}function WC(e){return Ade(e)||Pde(e)||_V(e)||Vde()}function Vde(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pde(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ade(e){if(Array.isArray(e))return Oh(e)}function zC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function kt(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?zC(Object(a),!0).forEach(function(n){Mh(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):zC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Mh(e,s,a){return s=Sde(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function Sde(e){var s=Tde(e,"string");return uc(s)==="symbol"?s:String(s)}function Tde(e,s){if(uc(e)!=="object"||e===null)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(uc(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function _de(e,s){return Ode(e)||Mde(e,s)||_V(e,s)||Rde()}function Rde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _V(e,s){if(e){if(typeof e=="string")return Oh(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Oh(e,s)}}function Oh(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function Mde(e,s){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,i,r,o,l=[],u=!0,c=!1;try{if(r=(a=a.call(e)).next,s!==0)for(;!(u=(n=r.call(a)).done)&&(l.push(n.value),l.length!==s);u=!0);}catch(m){c=!0,i=m}finally{try{if(!u&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function Ode(e){if(Array.isArray(e))return e}var Sd=function(s,a,n){return s+(a-s)*n},Ih=function(s){var a=s.from,n=s.to;return a!==n},Ide=function e(s,a,n){var i=Gu(function(r,o){if(Ih(o)){var l=s(o.from,o.to,o.velocity),u=_de(l,2),c=u[0],m=u[1];return kt(kt({},o),{},{from:c,velocity:m})}return o},a);return n<1?Gu(function(r,o){return Ih(o)?kt(kt({},o),{},{velocity:Sd(o.velocity,i[r].velocity,n),from:Sd(o.from,i[r].from,n)}):o},a):e(s,i,n-1)};const $de=function(e,s,a,n,i){var r=vde(e,s),o=r.reduce(function(p,x){return kt(kt({},p),{},Mh({},x,[e[x],s[x]]))},{}),l=r.reduce(function(p,x){return kt(kt({},p),{},Mh({},x,{from:e[x],velocity:0,to:s[x]}))},{}),u=-1,c,m,d=function(){return null},b=function(){return Gu(function(x,D){return D.from},l)},f=function(){return!Object.values(l).filter(Ih).length},h=function(x){c||(c=x);var D=x-c,N=D/a.dt;l=Ide(a,l,N),i(kt(kt(kt({},e),s),b())),c=x,f()||(u=requestAnimationFrame(d))},g=function(x){m||(m=x);var D=(x-m)/n,N=Gu(function(y,G){return Sd.apply(void 0,WC(G).concat([a(D)]))},o);if(i(kt(kt(kt({},e),s),N)),D<1)u=requestAnimationFrame(d);else{var C=Gu(function(y,G){return Sd.apply(void 0,WC(G).concat([a(1)]))},o);i(kt(kt(kt({},e),s),C))}};return d=a.isStepper?h:g,function(){return requestAnimationFrame(d),function(){cancelAnimationFrame(u)}}};function Yo(e){"@babel/helpers - typeof";return Yo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Yo(e)}var Fde=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function Bde(e,s){if(e==null)return{};var a=qde(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function qde(e,s){if(e==null)return{};var a={},n=Object.keys(e),i,r;for(r=0;r<n.length;r++)i=n[r],!(s.indexOf(i)>=0)&&(a[i]=e[i]);return a}function Vg(e){return Yde(e)||Kde(e)||zde(e)||Wde()}function Wde(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zde(e,s){if(e){if(typeof e=="string")return $h(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return $h(e,s)}}function Kde(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Yde(e){if(Array.isArray(e))return $h(e)}function $h(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function KC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function $a(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?KC(Object(a),!0).forEach(function(n){lu(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):KC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function lu(e,s,a){return s=RV(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function Qde(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function Zde(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,RV(n.key),n)}}function Xde(e,s,a){return s&&Zde(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function RV(e){var s=Jde(e,"string");return Yo(s)==="symbol"?s:String(s)}function Jde(e,s){if(Yo(e)!=="object"||e===null)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Yo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function ebe(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&Fh(e,s)}function Fh(e,s){return Fh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Fh(e,s)}function sbe(e){var s=tbe();return function(){var n=Td(e),i;if(s){var r=Td(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return Bh(this,i)}}function Bh(e,s){if(s&&(Yo(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return qh(e)}function qh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tbe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Td(e){return Td=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Td(e)}var li=function(e){ebe(a,e);var s=sbe(a);function a(n,i){var r;Qde(this,a),r=s.call(this,n,i);var o=r.props,l=o.isActive,u=o.attributeName,c=o.from,m=o.to,d=o.steps,b=o.children,f=o.duration;if(r.handleStyleChange=r.handleStyleChange.bind(qh(r)),r.changeStyle=r.changeStyle.bind(qh(r)),!l||f<=0)return r.state={style:{}},typeof b=="function"&&(r.state={style:m}),Bh(r);if(d&&d.length)r.state={style:d[0].style};else if(c){if(typeof b=="function")return r.state={style:c},Bh(r);r.state={style:u?lu({},u,c):c}}else r.state={style:{}};return r}return Xde(a,[{key:"componentDidMount",value:function(){var i=this.props,r=i.isActive,o=i.canBegin;this.mounted=!0,!(!r||!o)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var r=this.props,o=r.isActive,l=r.canBegin,u=r.attributeName,c=r.shouldReAnimate,m=r.to,d=r.from,b=this.state.style;if(l){if(!o){var f={style:u?lu({},u,m):m};this.state&&b&&(u&&b[u]!==m||!u&&b!==m)&&this.setState(f);return}if(!(lde(i.to,m)&&i.canBegin&&i.isActive)){var h=!i.canBegin||!i.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var g=h||c?d:i.to;if(this.state&&b){var p={style:u?lu({},u,g):g};(u&&b[u]!==g||!u&&b!==g)&&this.setState(p)}this.runAnimation($a($a({},this.props),{},{from:g,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var i=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),i&&i()}},{key:"handleStyleChange",value:function(i){this.changeStyle(i)}},{key:"changeStyle",value:function(i){this.mounted&&this.setState({style:i})}},{key:"runJSAnimation",value:function(i){var r=this,o=i.from,l=i.to,u=i.duration,c=i.easing,m=i.begin,d=i.onAnimationEnd,b=i.onAnimationStart,f=$de(o,l,Hde(c),u,this.changeStyle),h=function(){r.stopJSAnimation=f()};this.manager.start([b,m,h,u,d])}},{key:"runStepAnimation",value:function(i){var r=this,o=i.steps,l=i.begin,u=i.onAnimationStart,c=o[0],m=c.style,d=c.duration,b=d===void 0?0:d,f=function(g,p,x){if(x===0)return g;var D=p.duration,N=p.easing,C=N===void 0?"ease":N,y=p.style,G=p.properties,k=p.onAnimationEnd,E=x>0?o[x-1]:p,U=G||Object.keys(y);if(typeof C=="function"||C==="spring")return[].concat(Vg(g),[r.runJSAnimation.bind(r,{from:E.style,to:y,duration:D,easing:C}),D]);var T=FC(U,D,C),H=$a($a($a({},E.style),y),{},{transition:T});return[].concat(Vg(g),[H,D,k]).filter(Nde)};return this.manager.start([u].concat(Vg(o.reduce(f,[m,Math.max(b,l)])),[i.onAnimationEnd]))}},{key:"runAnimation",value:function(i){this.manager||(this.manager=gde());var r=i.begin,o=i.duration,l=i.attributeName,u=i.to,c=i.easing,m=i.onAnimationStart,d=i.onAnimationEnd,b=i.steps,f=i.children,h=this.manager;if(this.unSubscribe=h.subscribe(this.handleStyleChange),typeof c=="function"||typeof f=="function"||c==="spring"){this.runJSAnimation(i);return}if(b.length>1){this.runStepAnimation(i);return}var g=l?lu({},l,u):u,p=FC(Object.keys(g),o,c);h.start([m,r,$a($a({},g),{},{transition:p}),o,d])}},{key:"render",value:function(){var i=this.props,r=i.children;i.begin;var o=i.duration;i.attributeName,i.easing;var l=i.isActive;i.steps,i.from,i.to,i.canBegin,i.onAnimationEnd,i.shouldReAnimate,i.onAnimationReStart;var u=Bde(i,Fde),c=v.Children.count(r),m=this.state.style;if(typeof r=="function")return r(m);if(!l||c===0||o<=0)return r;var d=function(f){var h=f.props,g=h.style,p=g===void 0?{}:g,x=h.className,D=v.cloneElement(f,$a($a({},u),{},{style:$a($a({},p),m),className:x}));return D};return c===1?d(v.Children.only(r)):S.createElement("div",null,v.Children.map(r,function(b){return d(b)}))}}]),a}(v.PureComponent);li.displayName="Animate";li.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};li.propTypes={from:ms.oneOfType([ms.object,ms.string]),to:ms.oneOfType([ms.object,ms.string]),attributeName:ms.string,duration:ms.number,begin:ms.number,easing:ms.oneOfType([ms.string,ms.func]),steps:ms.arrayOf(ms.shape({duration:ms.number.isRequired,style:ms.object.isRequired,easing:ms.oneOfType([ms.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),ms.func]),properties:ms.arrayOf("string"),onAnimationEnd:ms.func})),children:ms.oneOfType([ms.node,ms.func]),isActive:ms.bool,canBegin:ms.bool,onAnimationEnd:ms.func,shouldReAnimate:ms.bool,onAnimationStart:ms.func,onAnimationReStart:ms.func};function cc(e){"@babel/helpers - typeof";return cc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},cc(e)}function _d(){return _d=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},_d.apply(this,arguments)}function abe(e,s){return obe(e)||rbe(e,s)||ibe(e,s)||nbe()}function nbe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ibe(e,s){if(e){if(typeof e=="string")return YC(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return YC(e,s)}}function YC(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function rbe(e,s){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,i,r,o,l=[],u=!0,c=!1;try{if(r=(a=a.call(e)).next,s!==0)for(;!(u=(n=r.call(a)).done)&&(l.push(n.value),l.length!==s);u=!0);}catch(m){c=!0,i=m}finally{try{if(!u&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function obe(e){if(Array.isArray(e))return e}function QC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function ZC(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?QC(Object(a),!0).forEach(function(n){lbe(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):QC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function lbe(e,s,a){return s=ube(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function ube(e){var s=cbe(e,"string");return cc(s)=="symbol"?s:s+""}function cbe(e,s){if(cc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(cc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var XC=function(s,a,n,i,r){var o=Math.min(Math.abs(n)/2,Math.abs(i)/2),l=i>=0?1:-1,u=n>=0?1:-1,c=i>=0&&n>=0||i<0&&n<0?1:0,m;if(o>0&&r instanceof Array){for(var d=[0,0,0,0],b=0,f=4;b<f;b++)d[b]=r[b]>o?o:r[b];m="M".concat(s,",").concat(a+l*d[0]),d[0]>0&&(m+="A ".concat(d[0],",").concat(d[0],",0,0,").concat(c,",").concat(s+u*d[0],",").concat(a)),m+="L ".concat(s+n-u*d[1],",").concat(a),d[1]>0&&(m+="A ".concat(d[1],",").concat(d[1],",0,0,").concat(c,`,
        `).concat(s+n,",").concat(a+l*d[1])),m+="L ".concat(s+n,",").concat(a+i-l*d[2]),d[2]>0&&(m+="A ".concat(d[2],",").concat(d[2],",0,0,").concat(c,`,
        `).concat(s+n-u*d[2],",").concat(a+i)),m+="L ".concat(s+u*d[3],",").concat(a+i),d[3]>0&&(m+="A ".concat(d[3],",").concat(d[3],",0,0,").concat(c,`,
        `).concat(s,",").concat(a+i-l*d[3])),m+="Z"}else if(o>0&&r===+r&&r>0){var h=Math.min(o,r);m="M ".concat(s,",").concat(a+l*h,`
            A `).concat(h,",").concat(h,",0,0,").concat(c,",").concat(s+u*h,",").concat(a,`
            L `).concat(s+n-u*h,",").concat(a,`
            A `).concat(h,",").concat(h,",0,0,").concat(c,",").concat(s+n,",").concat(a+l*h,`
            L `).concat(s+n,",").concat(a+i-l*h,`
            A `).concat(h,",").concat(h,",0,0,").concat(c,",").concat(s+n-u*h,",").concat(a+i,`
            L `).concat(s+u*h,",").concat(a+i,`
            A `).concat(h,",").concat(h,",0,0,").concat(c,",").concat(s,",").concat(a+i-l*h," Z")}else m="M ".concat(s,",").concat(a," h ").concat(n," v ").concat(i," h ").concat(-n," Z");return m},mbe=function(s,a){if(!s||!a)return!1;var n=s.x,i=s.y,r=a.x,o=a.y,l=a.width,u=a.height;if(Math.abs(l)>0&&Math.abs(u)>0){var c=Math.min(r,r+l),m=Math.max(r,r+l),d=Math.min(o,o+u),b=Math.max(o,o+u);return n>=c&&n<=m&&i>=d&&i<=b}return!1},dbe={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Bx=function(s){var a=ZC(ZC({},dbe),s),n=v.useRef(),i=v.useState(-1),r=abe(i,2),o=r[0],l=r[1];v.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var C=n.current.getTotalLength();C&&l(C)}catch{}},[]);var u=a.x,c=a.y,m=a.width,d=a.height,b=a.radius,f=a.className,h=a.animationEasing,g=a.animationDuration,p=a.animationBegin,x=a.isAnimationActive,D=a.isUpdateAnimationActive;if(u!==+u||c!==+c||m!==+m||d!==+d||m===0||d===0)return null;var N=es("recharts-rectangle",f);return D?S.createElement(li,{canBegin:o>0,from:{width:m,height:d,x:u,y:c},to:{width:m,height:d,x:u,y:c},duration:g,animationEasing:h,isActive:D},function(C){var y=C.width,G=C.height,k=C.x,E=C.y;return S.createElement(li,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:p,duration:g,isActive:x,easing:h},S.createElement("path",_d({},Ze(a,!0),{className:N,d:XC(k,E,y,G,b),ref:n})))}):S.createElement("path",_d({},Ze(a,!0),{className:N,d:XC(u,c,m,d,b)}))};function Wh(){return Wh=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Wh.apply(this,arguments)}var qx=function(s){var a=s.cx,n=s.cy,i=s.r,r=s.className,o=es("recharts-dot",r);return a===+a&&n===+n&&i===+i?v.createElement("circle",Wh({},Ze(s,!1),sd(s),{className:o,cx:a,cy:n,r:i})):null};function mc(e){"@babel/helpers - typeof";return mc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},mc(e)}var bbe=["x","y","top","left","width","height","className"];function zh(){return zh=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},zh.apply(this,arguments)}function JC(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function fbe(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?JC(Object(a),!0).forEach(function(n){gbe(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):JC(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function gbe(e,s,a){return s=pbe(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function pbe(e){var s=hbe(e,"string");return mc(s)=="symbol"?s:s+""}function hbe(e,s){if(mc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(mc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function vbe(e,s){if(e==null)return{};var a=Nbe(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Nbe(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}var xbe=function(s,a,n,i,r,o){return"M".concat(s,",").concat(r,"v").concat(i,"M").concat(o,",").concat(a,"h").concat(n)},Dbe=function(s){var a=s.x,n=a===void 0?0:a,i=s.y,r=i===void 0?0:i,o=s.top,l=o===void 0?0:o,u=s.left,c=u===void 0?0:u,m=s.width,d=m===void 0?0:m,b=s.height,f=b===void 0?0:b,h=s.className,g=vbe(s,bbe),p=fbe({x:n,y:r,top:l,left:c,width:d,height:f},g);return!Ne(n)||!Ne(r)||!Ne(d)||!Ne(f)||!Ne(l)||!Ne(c)?null:S.createElement("path",zh({},Ze(p,!0),{className:es("recharts-cross",h),d:xbe(n,r,d,f,l,c)}))},Gbe=YU,ybe=Gbe(Object.getPrototypeOf,Object),Cbe=ybe,kbe=ui,Ebe=Cbe,Lbe=ci,jbe="[object Object]",wbe=Function.prototype,Ube=Object.prototype,MV=wbe.toString,Hbe=Ube.hasOwnProperty,Vbe=MV.call(Object);function Pbe(e){if(!Lbe(e)||kbe(e)!=jbe)return!1;var s=Ebe(e);if(s===null)return!0;var a=Hbe.call(s,"constructor")&&s.constructor;return typeof a=="function"&&a instanceof a&&MV.call(a)==Vbe}var Abe=Pbe;const Sbe=ws(Abe);var Tbe=ui,_be=ci,Rbe="[object Boolean]";function Mbe(e){return e===!0||e===!1||_be(e)&&Tbe(e)==Rbe}var Obe=Mbe;const Ibe=ws(Obe);function dc(e){"@babel/helpers - typeof";return dc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},dc(e)}function Rd(){return Rd=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Rd.apply(this,arguments)}function $be(e,s){return Wbe(e)||qbe(e,s)||Bbe(e,s)||Fbe()}function Fbe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bbe(e,s){if(e){if(typeof e=="string")return ek(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return ek(e,s)}}function ek(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function qbe(e,s){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,i,r,o,l=[],u=!0,c=!1;try{if(r=(a=a.call(e)).next,s!==0)for(;!(u=(n=r.call(a)).done)&&(l.push(n.value),l.length!==s);u=!0);}catch(m){c=!0,i=m}finally{try{if(!u&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function Wbe(e){if(Array.isArray(e))return e}function sk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function tk(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?sk(Object(a),!0).forEach(function(n){zbe(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):sk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function zbe(e,s,a){return s=Kbe(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function Kbe(e){var s=Ybe(e,"string");return dc(s)=="symbol"?s:s+""}function Ybe(e,s){if(dc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(dc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var ak=function(s,a,n,i,r){var o=n-i,l;return l="M ".concat(s,",").concat(a),l+="L ".concat(s+n,",").concat(a),l+="L ".concat(s+n-o/2,",").concat(a+r),l+="L ".concat(s+n-o/2-i,",").concat(a+r),l+="L ".concat(s,",").concat(a," Z"),l},Qbe={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Zbe=function(s){var a=tk(tk({},Qbe),s),n=v.useRef(),i=v.useState(-1),r=$be(i,2),o=r[0],l=r[1];v.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var N=n.current.getTotalLength();N&&l(N)}catch{}},[]);var u=a.x,c=a.y,m=a.upperWidth,d=a.lowerWidth,b=a.height,f=a.className,h=a.animationEasing,g=a.animationDuration,p=a.animationBegin,x=a.isUpdateAnimationActive;if(u!==+u||c!==+c||m!==+m||d!==+d||b!==+b||m===0&&d===0||b===0)return null;var D=es("recharts-trapezoid",f);return x?S.createElement(li,{canBegin:o>0,from:{upperWidth:0,lowerWidth:0,height:b,x:u,y:c},to:{upperWidth:m,lowerWidth:d,height:b,x:u,y:c},duration:g,animationEasing:h,isActive:x},function(N){var C=N.upperWidth,y=N.lowerWidth,G=N.height,k=N.x,E=N.y;return S.createElement(li,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:p,duration:g,easing:h},S.createElement("path",Rd({},Ze(a,!0),{className:D,d:ak(k,E,C,y,G),ref:n})))}):S.createElement("g",null,S.createElement("path",Rd({},Ze(a,!0),{className:D,d:ak(u,c,m,d,b)})))},Xbe=["option","shapeType","propTransformer","activeClassName","isActive"];function bc(e){"@babel/helpers - typeof";return bc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},bc(e)}function Jbe(e,s){if(e==null)return{};var a=efe(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function efe(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function nk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Md(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?nk(Object(a),!0).forEach(function(n){sfe(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):nk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function sfe(e,s,a){return s=tfe(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function tfe(e){var s=afe(e,"string");return bc(s)=="symbol"?s:s+""}function afe(e,s){if(bc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(bc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function nfe(e,s){return Md(Md({},s),e)}function ife(e,s){return e==="symbols"}function ik(e){var s=e.shapeType,a=e.elementProps;switch(s){case"rectangle":return S.createElement(Bx,a);case"trapezoid":return S.createElement(Zbe,a);case"sector":return S.createElement(kV,a);case"symbols":if(ife(s))return S.createElement(ux,a);break;default:return null}}function rfe(e){return v.isValidElement(e)?e.props:e}function ofe(e){var s=e.option,a=e.shapeType,n=e.propTransformer,i=n===void 0?nfe:n,r=e.activeClassName,o=r===void 0?"recharts-active-shape":r,l=e.isActive,u=Jbe(e,Xbe),c;if(v.isValidElement(s))c=v.cloneElement(s,Md(Md({},u),rfe(s)));else if(ze(s))c=s(u);else if(Sbe(s)&&!Ibe(s)){var m=i(s,u);c=S.createElement(ik,{shapeType:a,elementProps:m})}else{var d=u;c=S.createElement(ik,{shapeType:a,elementProps:d})}return l?S.createElement(Ws,{className:o},c):c}function of(e,s){return s!=null&&"trapezoids"in e.props}function lf(e,s){return s!=null&&"sectors"in e.props}function fc(e,s){return s!=null&&"points"in e.props}function lfe(e,s){var a,n,i=e.x===(s==null||(a=s.labelViewBox)===null||a===void 0?void 0:a.x)||e.x===s.x,r=e.y===(s==null||(n=s.labelViewBox)===null||n===void 0?void 0:n.y)||e.y===s.y;return i&&r}function ufe(e,s){var a=e.endAngle===s.endAngle,n=e.startAngle===s.startAngle;return a&&n}function cfe(e,s){var a=e.x===s.x,n=e.y===s.y,i=e.z===s.z;return a&&n&&i}function mfe(e,s){var a;return of(e,s)?a=lfe:lf(e,s)?a=ufe:fc(e,s)&&(a=cfe),a}function dfe(e,s){var a;return of(e,s)?a="trapezoids":lf(e,s)?a="sectors":fc(e,s)&&(a="points"),a}function bfe(e,s){if(of(e,s)){var a;return(a=s.tooltipPayload)===null||a===void 0||(a=a[0])===null||a===void 0||(a=a.payload)===null||a===void 0?void 0:a.payload}if(lf(e,s)){var n;return(n=s.tooltipPayload)===null||n===void 0||(n=n[0])===null||n===void 0||(n=n.payload)===null||n===void 0?void 0:n.payload}return fc(e,s)?s.payload:{}}function ffe(e){var s=e.activeTooltipItem,a=e.graphicalItem,n=e.itemData,i=dfe(a,s),r=bfe(a,s),o=n.filter(function(u,c){var m=Zu(r,u),d=a.props[i].filter(function(h){var g=mfe(a,s);return g(h,s)}),b=a.props[i].indexOf(d[d.length-1]),f=c===b;return m&&f}),l=n.indexOf(o[o.length-1]);return l}var gfe=Math.ceil,pfe=Math.max;function hfe(e,s,a,n){for(var i=-1,r=pfe(gfe((s-e)/(a||1)),0),o=Array(r);r--;)o[n?r:++i]=e,e+=a;return o}var vfe=hfe,Nfe=fH,rk=1/0,xfe=17976931348623157e292;function Dfe(e){if(!e)return e===0?e:0;if(e=Nfe(e),e===rk||e===-rk){var s=e<0?-1:1;return s*xfe}return e===e?e:0}var OV=Dfe,Gfe=vfe,yfe=Yb,Pg=OV;function Cfe(e){return function(s,a,n){return n&&typeof n!="number"&&yfe(s,a,n)&&(a=n=void 0),s=Pg(s),a===void 0?(a=s,s=0):a=Pg(a),n=n===void 0?s<a?1:-1:Pg(n),Gfe(s,a,n,e)}}var kfe=Cfe,Efe=kfe,Lfe=Efe(),jfe=Lfe;const Od=ws(jfe);function gc(e){"@babel/helpers - typeof";return gc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},gc(e)}function ok(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function lk(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?ok(Object(a),!0).forEach(function(n){IV(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ok(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function IV(e,s,a){return s=wfe(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function wfe(e){var s=Ufe(e,"string");return gc(s)=="symbol"?s:s+""}function Ufe(e,s){if(gc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(gc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var Hfe=["Webkit","Moz","O","ms"],Vfe=function(s,a){var n=s.replace(/(\w)/,function(r){return r.toUpperCase()}),i=Hfe.reduce(function(r,o){return lk(lk({},r),{},IV({},o+n,a))},{});return i[s]=a,i};function Qo(e){"@babel/helpers - typeof";return Qo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Qo(e)}function Id(){return Id=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Id.apply(this,arguments)}function uk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Ag(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?uk(Object(a),!0).forEach(function(n){ma(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):uk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Pfe(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function ck(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,FV(n.key),n)}}function Afe(e,s,a){return s&&ck(e.prototype,s),a&&ck(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function Sfe(e,s,a){return s=$d(s),Tfe(e,$V()?Reflect.construct(s,a||[],$d(e).constructor):s.apply(e,a))}function Tfe(e,s){if(s&&(Qo(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _fe(e)}function _fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $V(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return($V=function(){return!!e})()}function $d(e){return $d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},$d(e)}function Rfe(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&Kh(e,s)}function Kh(e,s){return Kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Kh(e,s)}function ma(e,s,a){return s=FV(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function FV(e){var s=Mfe(e,"string");return Qo(s)=="symbol"?s:s+""}function Mfe(e,s){if(Qo(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Qo(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var Ofe=function(s){var a=s.data,n=s.startIndex,i=s.endIndex,r=s.x,o=s.width,l=s.travellerWidth;if(!a||!a.length)return{};var u=a.length,c=Nu().domain(Od(0,u)).range([r,r+o-l]),m=c.domain().map(function(d){return c(d)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:c(n),endX:c(i),scale:c,scaleValues:m}},mk=function(s){return s.changedTouches&&!!s.changedTouches.length},Zo=function(e){function s(a){var n;return Pfe(this,s),n=Sfe(this,s,[a]),ma(n,"handleDrag",function(i){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(i):n.state.isSlideMoving&&n.handleSlideDrag(i)}),ma(n,"handleTouchMove",function(i){i.changedTouches!=null&&i.changedTouches.length>0&&n.handleDrag(i.changedTouches[0])}),ma(n,"handleDragEnd",function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var i=n.props,r=i.endIndex,o=i.onDragEnd,l=i.startIndex;o?.({endIndex:r,startIndex:l})}),n.detachDragEndListener()}),ma(n,"handleLeaveWrapper",function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),ma(n,"handleEnterSlideOrTraveller",function(){n.setState({isTextActive:!0})}),ma(n,"handleLeaveSlideOrTraveller",function(){n.setState({isTextActive:!1})}),ma(n,"handleSlideDragStart",function(i){var r=mk(i)?i.changedTouches[0]:i;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),n.attachDragEndListener()}),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(n,"startX"),endX:n.handleTravellerDragStart.bind(n,"endX")},n.state={},n}return Rfe(s,e),Afe(s,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(n){var i=n.startX,r=n.endX,o=this.state.scaleValues,l=this.props,u=l.gap,c=l.data,m=c.length-1,d=Math.min(i,r),b=Math.max(i,r),f=s.getIndexInRange(o,d),h=s.getIndexInRange(o,b);return{startIndex:f-f%u,endIndex:h===m?m:h-h%u}}},{key:"getTextOfTick",value:function(n){var i=this.props,r=i.data,o=i.tickFormatter,l=i.dataKey,u=Na(r[n],l,n);return ze(o)?o(u,n):u}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(n){var i=this.state,r=i.slideMoveStartX,o=i.startX,l=i.endX,u=this.props,c=u.x,m=u.width,d=u.travellerWidth,b=u.startIndex,f=u.endIndex,h=u.onChange,g=n.pageX-r;g>0?g=Math.min(g,c+m-d-l,c+m-d-o):g<0&&(g=Math.max(g,c-o,c-l));var p=this.getIndex({startX:o+g,endX:l+g});(p.startIndex!==b||p.endIndex!==f)&&h&&h(p),this.setState({startX:o+g,endX:l+g,slideMoveStartX:n.pageX})}},{key:"handleTravellerDragStart",value:function(n,i){var r=mk(i)?i.changedTouches[0]:i;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:n,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(n){var i=this.state,r=i.brushMoveStartX,o=i.movingTravellerId,l=i.endX,u=i.startX,c=this.state[o],m=this.props,d=m.x,b=m.width,f=m.travellerWidth,h=m.onChange,g=m.gap,p=m.data,x={startX:this.state.startX,endX:this.state.endX},D=n.pageX-r;D>0?D=Math.min(D,d+b-f-c):D<0&&(D=Math.max(D,d-c)),x[o]=c+D;var N=this.getIndex(x),C=N.startIndex,y=N.endIndex,G=function(){var E=p.length-1;return o==="startX"&&(l>u?C%g===0:y%g===0)||l<u&&y===E||o==="endX"&&(l>u?y%g===0:C%g===0)||l>u&&y===E};this.setState(ma(ma({},o,c+D),"brushMoveStartX",n.pageX),function(){h&&G()&&h(N)})}},{key:"handleTravellerMoveKeyboard",value:function(n,i){var r=this,o=this.state,l=o.scaleValues,u=o.startX,c=o.endX,m=this.state[i],d=l.indexOf(m);if(d!==-1){var b=d+n;if(!(b===-1||b>=l.length)){var f=l[b];i==="startX"&&f>=c||i==="endX"&&f<=u||this.setState(ma({},i,f),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))})}}}},{key:"renderBackground",value:function(){var n=this.props,i=n.x,r=n.y,o=n.width,l=n.height,u=n.fill,c=n.stroke;return S.createElement("rect",{stroke:c,fill:u,x:i,y:r,width:o,height:l})}},{key:"renderPanorama",value:function(){var n=this.props,i=n.x,r=n.y,o=n.width,l=n.height,u=n.data,c=n.children,m=n.padding,d=v.Children.only(c);return d?S.cloneElement(d,{x:i,y:r,width:o,height:l,margin:m,compact:!0,data:u}):null}},{key:"renderTravellerLayer",value:function(n,i){var r,o,l=this,u=this.props,c=u.y,m=u.travellerWidth,d=u.height,b=u.traveller,f=u.ariaLabel,h=u.data,g=u.startIndex,p=u.endIndex,x=Math.max(n,this.props.x),D=Ag(Ag({},Ze(this.props,!1)),{},{x,y:c,width:m,height:d}),N=f||"Min value: ".concat((r=h[g])===null||r===void 0?void 0:r.name,", Max value: ").concat((o=h[p])===null||o===void 0?void 0:o.name);return S.createElement(Ws,{tabIndex:0,role:"slider","aria-label":N,"aria-valuenow":n,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[i],onTouchStart:this.travellerDragStartHandlers[i],onKeyDown:function(y){["ArrowLeft","ArrowRight"].includes(y.key)&&(y.preventDefault(),y.stopPropagation(),l.handleTravellerMoveKeyboard(y.key==="ArrowRight"?1:-1,i))},onFocus:function(){l.setState({isTravellerFocused:!0})},onBlur:function(){l.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},s.renderTraveller(b,D))}},{key:"renderSlide",value:function(n,i){var r=this.props,o=r.y,l=r.height,u=r.stroke,c=r.travellerWidth,m=Math.min(n,i)+c,d=Math.max(Math.abs(i-n)-c,0);return S.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:u,fillOpacity:.2,x:m,y:o,width:d,height:l})}},{key:"renderText",value:function(){var n=this.props,i=n.startIndex,r=n.endIndex,o=n.y,l=n.height,u=n.travellerWidth,c=n.stroke,m=this.state,d=m.startX,b=m.endX,f=5,h={pointerEvents:"none",fill:c};return S.createElement(Ws,{className:"recharts-brush-texts"},S.createElement(pd,Id({textAnchor:"end",verticalAnchor:"middle",x:Math.min(d,b)-f,y:o+l/2},h),this.getTextOfTick(i)),S.createElement(pd,Id({textAnchor:"start",verticalAnchor:"middle",x:Math.max(d,b)+u+f,y:o+l/2},h),this.getTextOfTick(r)))}},{key:"render",value:function(){var n=this.props,i=n.data,r=n.className,o=n.children,l=n.x,u=n.y,c=n.width,m=n.height,d=n.alwaysShowText,b=this.state,f=b.startX,h=b.endX,g=b.isTextActive,p=b.isSlideMoving,x=b.isTravellerMoving,D=b.isTravellerFocused;if(!i||!i.length||!Ne(l)||!Ne(u)||!Ne(c)||!Ne(m)||c<=0||m<=0)return null;var N=es("recharts-brush",r),C=S.Children.count(o)===1,y=Vfe("userSelect","none");return S.createElement(Ws,{className:N,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:y},this.renderBackground(),C&&this.renderPanorama(),this.renderSlide(f,h),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(h,"endX"),(g||p||x||D||d)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(n){var i=n.x,r=n.y,o=n.width,l=n.height,u=n.stroke,c=Math.floor(r+l/2)-1;return S.createElement(S.Fragment,null,S.createElement("rect",{x:i,y:r,width:o,height:l,fill:u,stroke:"none"}),S.createElement("line",{x1:i+1,y1:c,x2:i+o-1,y2:c,fill:"none",stroke:"#fff"}),S.createElement("line",{x1:i+1,y1:c+2,x2:i+o-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(n,i){var r;return S.isValidElement(n)?r=S.cloneElement(n,i):ze(n)?r=n(i):r=s.renderDefaultTraveller(i),r}},{key:"getDerivedStateFromProps",value:function(n,i){var r=n.data,o=n.width,l=n.x,u=n.travellerWidth,c=n.updateId,m=n.startIndex,d=n.endIndex;if(r!==i.prevData||c!==i.prevUpdateId)return Ag({prevData:r,prevTravellerWidth:u,prevUpdateId:c,prevX:l,prevWidth:o},r&&r.length?Ofe({data:r,width:o,x:l,travellerWidth:u,startIndex:m,endIndex:d}):{scale:null,scaleValues:null});if(i.scale&&(o!==i.prevWidth||l!==i.prevX||u!==i.prevTravellerWidth)){i.scale.range([l,l+o-u]);var b=i.scale.domain().map(function(f){return i.scale(f)});return{prevData:r,prevTravellerWidth:u,prevUpdateId:c,prevX:l,prevWidth:o,startX:i.scale(n.startIndex),endX:i.scale(n.endIndex),scaleValues:b}}return null}},{key:"getIndexInRange",value:function(n,i){for(var r=n.length,o=0,l=r-1;l-o>1;){var u=Math.floor((o+l)/2);n[u]>i?l=u:o=u}return i>=n[l]?l:o}}])}(v.PureComponent);ma(Zo,"displayName","Brush");ma(Zo,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var Ife=px;function $fe(e,s){var a;return Ife(e,function(n,i,r){return a=s(n,i,r),!a}),!!a}var Ffe=$fe,Bfe=IU,qfe=Ri,Wfe=Ffe,zfe=oa,Kfe=Yb;function Yfe(e,s,a){var n=zfe(e)?Bfe:Wfe;return a&&Kfe(e,s,a)&&(s=void 0),n(e,qfe(s))}var Qfe=Yfe;const Zfe=ws(Qfe);var jn=function(s,a){var n=s.alwaysShow,i=s.ifOverflow;return n&&(i="extendDomain"),i===a},dk=uH;function Xfe(e,s,a){s=="__proto__"&&dk?dk(e,s,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[s]=a}var Jfe=Xfe,ege=Jfe,sge=oH,tge=Ri;function age(e,s){var a={};return s=tge(s),sge(e,function(n,i,r){ege(a,i,s(n,i,r))}),a}var nge=age;const ige=ws(nge);function rge(e,s){for(var a=-1,n=e==null?0:e.length;++a<n;)if(!s(e[a],a,e))return!1;return!0}var oge=rge,lge=px;function uge(e,s){var a=!0;return lge(e,function(n,i,r){return a=!!s(n,i,r),a}),a}var cge=uge,mge=oge,dge=cge,bge=Ri,fge=oa,gge=Yb;function pge(e,s,a){var n=fge(e)?mge:dge;return a&&gge(e,s,a)&&(s=void 0),n(e,bge(s))}var hge=pge;const BV=ws(hge);var vge=["x","y"];function Xo(e){"@babel/helpers - typeof";return Xo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Xo(e)}function Yh(){return Yh=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Yh.apply(this,arguments)}function bk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function nu(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?bk(Object(a),!0).forEach(function(n){Nge(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):bk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Nge(e,s,a){return s=xge(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function xge(e){var s=Dge(e,"string");return Xo(s)=="symbol"?s:s+""}function Dge(e,s){if(Xo(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Xo(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function Gge(e,s){if(e==null)return{};var a=yge(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function yge(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function Cge(e,s){var a=e.x,n=e.y,i=Gge(e,vge),r="".concat(a),o=parseInt(r,10),l="".concat(n),u=parseInt(l,10),c="".concat(s.height||i.height),m=parseInt(c,10),d="".concat(s.width||i.width),b=parseInt(d,10);return nu(nu(nu(nu(nu({},s),i),o?{x:o}:{}),u?{y:u}:{}),{},{height:m,width:b,name:s.name,radius:s.radius})}function fk(e){return S.createElement(ofe,Yh({shapeType:"rectangle",propTransformer:Cge,activeClassName:"recharts-active-bar"},e))}var kge=function(s){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(n,i){if(typeof s=="number")return s;var r=Ne(n)||VK(n);return r?s(n,i):(r||wr(!1,"minPointSize callback function received a value with type of ".concat(Xo(n),". Currently only numbers or null/undefined are supported.")),a)}},Ege=["value","background"],qV;function Jo(e){"@babel/helpers - typeof";return Jo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Jo(e)}function Lge(e,s){if(e==null)return{};var a=jge(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function jge(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function Fd(){return Fd=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Fd.apply(this,arguments)}function gk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function it(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?gk(Object(a),!0).forEach(function(n){Ei(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):gk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function wge(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function pk(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,zV(n.key),n)}}function Uge(e,s,a){return s&&pk(e.prototype,s),a&&pk(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function Hge(e,s,a){return s=Bd(s),Vge(e,WV()?Reflect.construct(s,a||[],Bd(e).constructor):s.apply(e,a))}function Vge(e,s){if(s&&(Jo(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pge(e)}function Pge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WV(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(WV=function(){return!!e})()}function Bd(e){return Bd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Bd(e)}function Age(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&Qh(e,s)}function Qh(e,s){return Qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Qh(e,s)}function Ei(e,s,a){return s=zV(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function zV(e){var s=Sge(e,"string");return Jo(s)=="symbol"?s:s+""}function Sge(e,s){if(Jo(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Jo(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var Ic=function(e){function s(){var a;wge(this,s);for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return a=Hge(this,s,[].concat(i)),Ei(a,"state",{isAnimationFinished:!1}),Ei(a,"id",Sc("recharts-bar-")),Ei(a,"handleAnimationEnd",function(){var o=a.props.onAnimationEnd;a.setState({isAnimationFinished:!0}),o&&o()}),Ei(a,"handleAnimationStart",function(){var o=a.props.onAnimationStart;a.setState({isAnimationFinished:!1}),o&&o()}),a}return Age(s,e),Uge(s,[{key:"renderRectanglesStatically",value:function(n){var i=this,r=this.props,o=r.shape,l=r.dataKey,u=r.activeIndex,c=r.activeBar,m=Ze(this.props,!1);return n&&n.map(function(d,b){var f=b===u,h=f?c:o,g=it(it(it({},m),d),{},{isActive:f,option:h,index:b,dataKey:l,onAnimationStart:i.handleAnimationStart,onAnimationEnd:i.handleAnimationEnd});return S.createElement(Ws,Fd({className:"recharts-bar-rectangle"},td(i.props,d,b),{key:"rectangle-".concat(d?.x,"-").concat(d?.y,"-").concat(d?.value,"-").concat(b)}),S.createElement(fk,g))})}},{key:"renderRectanglesWithAnimation",value:function(){var n=this,i=this.props,r=i.data,o=i.layout,l=i.isAnimationActive,u=i.animationBegin,c=i.animationDuration,m=i.animationEasing,d=i.animationId,b=this.state.prevData;return S.createElement(li,{begin:u,duration:c,isActive:l,easing:m,from:{t:0},to:{t:1},key:"bar-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(f){var h=f.t,g=r.map(function(p,x){var D=b&&b[x];if(D){var N=Ua(D.x,p.x),C=Ua(D.y,p.y),y=Ua(D.width,p.width),G=Ua(D.height,p.height);return it(it({},p),{},{x:N(h),y:C(h),width:y(h),height:G(h)})}if(o==="horizontal"){var k=Ua(0,p.height),E=k(h);return it(it({},p),{},{y:p.y+p.height-E,height:E})}var U=Ua(0,p.width),T=U(h);return it(it({},p),{},{width:T})});return S.createElement(Ws,null,n.renderRectanglesStatically(g))})}},{key:"renderRectangles",value:function(){var n=this.props,i=n.data,r=n.isAnimationActive,o=this.state.prevData;return r&&i&&i.length&&(!o||!Zu(o,i))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(i)}},{key:"renderBackground",value:function(){var n=this,i=this.props,r=i.data,o=i.dataKey,l=i.activeIndex,u=Ze(this.props.background,!1);return r.map(function(c,m){c.value;var d=c.background,b=Lge(c,Ege);if(!d)return null;var f=it(it(it(it(it({},b),{},{fill:"#eee"},d),u),td(n.props,c,m)),{},{onAnimationStart:n.handleAnimationStart,onAnimationEnd:n.handleAnimationEnd,dataKey:o,index:m,className:"recharts-bar-background-rectangle"});return S.createElement(fk,Fd({key:"background-bar-".concat(m),option:n.props.background,isActive:m===l},f))})}},{key:"renderErrorBar",value:function(n,i){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.data,l=r.xAxis,u=r.yAxis,c=r.layout,m=r.children,d=en(m,rf);if(!d)return null;var b=c==="vertical"?o[0].height/2:o[0].width/2,f=function(p,x){var D=Array.isArray(p.value)?p.value[1]:p.value;return{x:p.x,y:p.y,value:D,errorVal:Na(p,x)}},h={clipPath:n?"url(#clipPath-".concat(i,")"):null};return S.createElement(Ws,h,d.map(function(g){return S.cloneElement(g,{key:"error-bar-".concat(i,"-").concat(g.props.dataKey),data:o,xAxis:l,yAxis:u,layout:c,offset:b,dataPointFormatter:f})}))}},{key:"render",value:function(){var n=this.props,i=n.hide,r=n.data,o=n.className,l=n.xAxis,u=n.yAxis,c=n.left,m=n.top,d=n.width,b=n.height,f=n.isAnimationActive,h=n.background,g=n.id;if(i||!r||!r.length)return null;var p=this.state.isAnimationFinished,x=es("recharts-bar",o),D=l&&l.allowDataOverflow,N=u&&u.allowDataOverflow,C=D||N,y=Xe(g)?this.id:g;return S.createElement(Ws,{className:x},D||N?S.createElement("defs",null,S.createElement("clipPath",{id:"clipPath-".concat(y)},S.createElement("rect",{x:D?c:c-d/2,y:N?m:m-b/2,width:D?d:d*2,height:N?b:b*2}))):null,S.createElement(Ws,{className:"recharts-bar-rectangles",clipPath:C?"url(#clipPath-".concat(y,")"):null},h?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(C,y),(!f||p)&&wi.renderCallByParent(this.props,r))}}],[{key:"getDerivedStateFromProps",value:function(n,i){return n.animationId!==i.prevAnimationId?{prevAnimationId:n.animationId,curData:n.data,prevData:i.curData}:n.data!==i.curData?{curData:n.data}:null}}])}(v.PureComponent);qV=Ic;Ei(Ic,"displayName","Bar");Ei(Ic,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!Zn.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});Ei(Ic,"getComposedData",function(e){var s=e.props,a=e.item,n=e.barPosition,i=e.bandSize,r=e.xAxis,o=e.yAxis,l=e.xAxisTicks,u=e.yAxisTicks,c=e.stackedData,m=e.dataStartIndex,d=e.displayedData,b=e.offset,f=sce(n,a);if(!f)return null;var h=s.layout,g=a.type.defaultProps,p=g!==void 0?it(it({},g),a.props):a.props,x=p.dataKey,D=p.children,N=p.minPointSize,C=h==="horizontal"?o:r,y=c?C.scale.domain():null,G=uce({numericAxis:C}),k=en(D,pH),E=d.map(function(U,T){var H,j,w,A,P,V;c?H=tce(c[m+T],y):(H=Na(U,x),Array.isArray(H)||(H=[G,H]));var _=kge(N,qV.defaultProps.minPointSize)(H[1],T);if(h==="horizontal"){var O,$=[o.scale(H[0]),o.scale(H[1])],Q=$[0],ne=$[1];j=bC({axis:r,ticks:l,bandSize:i,offset:f.offset,entry:U,index:T}),w=(O=ne??Q)!==null&&O!==void 0?O:void 0,A=f.size;var Z=Q-ne;if(P=Number.isNaN(Z)?0:Z,V={x:j,y:o.y,width:A,height:o.height},Math.abs(_)>0&&Math.abs(P)<Math.abs(_)){var ee=Qa(P||_)*(Math.abs(_)-Math.abs(P));w-=ee,P+=ee}}else{var ge=[r.scale(H[0]),r.scale(H[1])],xe=ge[0],le=ge[1];if(j=xe,w=bC({axis:o,ticks:u,bandSize:i,offset:f.offset,entry:U,index:T}),A=le-xe,P=f.size,V={x:r.x,y:w,width:r.width,height:P},Math.abs(_)>0&&Math.abs(A)<Math.abs(_)){var se=Qa(A||_)*(Math.abs(_)-Math.abs(A));A+=se}}return it(it(it({},U),{},{x:j,y:w,width:A,height:P,value:c?H:H[1],payload:U,background:V},k&&k[T]&&k[T].props),{},{tooltipPayload:[GV(a,U)],tooltipPosition:{x:j+A/2,y:w+P/2}})});return it({data:E,layout:h},b)});function pc(e){"@babel/helpers - typeof";return pc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},pc(e)}function Tge(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function hk(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,KV(n.key),n)}}function _ge(e,s,a){return s&&hk(e.prototype,s),a&&hk(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function vk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Ka(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?vk(Object(a),!0).forEach(function(n){uf(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):vk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function uf(e,s,a){return s=KV(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function KV(e){var s=Rge(e,"string");return pc(s)=="symbol"?s:s+""}function Rge(e,s){if(pc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(pc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var Mge=function(s,a,n,i,r){var o=s.width,l=s.height,u=s.layout,c=s.children,m=Object.keys(a),d={left:n.left,leftMirror:n.left,right:o-n.right,rightMirror:o-n.right,top:n.top,topMirror:n.top,bottom:l-n.bottom,bottomMirror:l-n.bottom},b=!!da(c,Ic);return m.reduce(function(f,h){var g=a[h],p=g.orientation,x=g.domain,D=g.padding,N=D===void 0?{}:D,C=g.mirror,y=g.reversed,G="".concat(p).concat(C?"Mirror":""),k,E,U,T,H;if(g.type==="number"&&(g.padding==="gap"||g.padding==="no-gap")){var j=x[1]-x[0],w=1/0,A=g.categoricalDomain.sort(SK);if(A.forEach(function(ge,xe){xe>0&&(w=Math.min((ge||0)-(A[xe-1]||0),w))}),Number.isFinite(w)){var P=w/j,V=g.layout==="vertical"?n.height:n.width;if(g.padding==="gap"&&(k=P*V/2),g.padding==="no-gap"){var _=Lr(s.barCategoryGap,P*V),O=P*V/2;k=O-_-(O-_)/V*_}}}i==="xAxis"?E=[n.left+(N.left||0)+(k||0),n.left+n.width-(N.right||0)-(k||0)]:i==="yAxis"?E=u==="horizontal"?[n.top+n.height-(N.bottom||0),n.top+(N.top||0)]:[n.top+(N.top||0)+(k||0),n.top+n.height-(N.bottom||0)-(k||0)]:E=g.range,y&&(E=[E[1],E[0]]);var $=Jue(g,r,b),Q=$.scale,ne=$.realScaleType;Q.domain(x).range(E),ece(Q);var Z=lce(Q,Ka(Ka({},g),{},{realScaleType:ne}));i==="xAxis"?(H=p==="top"&&!C||p==="bottom"&&C,U=n.left,T=d[G]-H*g.height):i==="yAxis"&&(H=p==="left"&&!C||p==="right"&&C,U=d[G]-H*g.width,T=n.top);var ee=Ka(Ka(Ka({},g),Z),{},{realScaleType:ne,x:U,y:T,scale:Q,width:i==="xAxis"?n.width:g.width,height:i==="yAxis"?n.height:g.height});return ee.bandSize=Ud(ee,Z),!g.hide&&i==="xAxis"?d[G]+=(H?-1:1)*ee.height:g.hide||(d[G]+=(H?-1:1)*ee.width),Ka(Ka({},f),{},uf({},h,ee))},{})},YV=function(s,a){var n=s.x,i=s.y,r=a.x,o=a.y;return{x:Math.min(n,r),y:Math.min(i,o),width:Math.abs(r-n),height:Math.abs(o-i)}},Oge=function(s){var a=s.x1,n=s.y1,i=s.x2,r=s.y2;return YV({x:a,y:n},{x:i,y:r})},QV=function(){function e(s){Tge(this,e),this.scale=s}return _ge(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.bandAware,r=n.position;if(a!==void 0){if(r)switch(r){case"start":return this.scale(a);case"middle":{var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(a)+o}case"end":{var l=this.bandwidth?this.bandwidth():0;return this.scale(a)+l}default:return this.scale(a)}if(i){var u=this.bandwidth?this.bandwidth()/2:0;return this.scale(a)+u}return this.scale(a)}}},{key:"isInRange",value:function(a){var n=this.range(),i=n[0],r=n[n.length-1];return i<=r?a>=i&&a<=r:a>=r&&a<=i}}],[{key:"create",value:function(a){return new e(a)}}])}();uf(QV,"EPS",1e-4);var Wx=function(s){var a=Object.keys(s).reduce(function(n,i){return Ka(Ka({},n),{},uf({},i,QV.create(s[i])))},{});return Ka(Ka({},a),{},{apply:function(i){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.bandAware,l=r.position;return ige(i,function(u,c){return a[c].apply(u,{bandAware:o,position:l})})},isInRange:function(i){return BV(i,function(r,o){return a[o].isInRange(r)})}})};function Ige(e){return(e%180+180)%180}var $ge=function(s){var a=s.width,n=s.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=Ige(i),o=r*Math.PI/180,l=Math.atan(n/a),u=o>l&&o<Math.PI-l?n/Math.sin(o):a/Math.cos(o);return Math.abs(u)},Fge=Ri,Bge=Tc,qge=zb;function Wge(e){return function(s,a,n){var i=Object(s);if(!Bge(s)){var r=Fge(a);s=qge(s),a=function(l){return r(i[l],l,i)}}var o=e(s,a,n);return o>-1?i[r?s[o]:o]:void 0}}var zge=Wge,Kge=OV;function Yge(e){var s=Kge(e),a=s%1;return s===s?a?s-a:s:0}var Qge=Yge,Zge=sH,Xge=Ri,Jge=Qge,epe=Math.max;function spe(e,s,a){var n=e==null?0:e.length;if(!n)return-1;var i=a==null?0:Jge(a);return i<0&&(i=epe(n+i,0)),Zge(e,Xge(s),i)}var tpe=spe,ape=zge,npe=tpe,ipe=ape(npe),rpe=ipe;const ope=ws(rpe);var lpe=Rz(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")});function qd(e){"@babel/helpers - typeof";return qd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},qd(e)}var zx=v.createContext(void 0),Kx=v.createContext(void 0),ZV=v.createContext(void 0),XV=v.createContext({}),JV=v.createContext(void 0),e3=v.createContext(0),s3=v.createContext(0),Nk=function(s){var a=s.state,n=a.xAxisMap,i=a.yAxisMap,r=a.offset,o=s.clipPathId,l=s.children,u=s.width,c=s.height,m=lpe(r);return S.createElement(zx.Provider,{value:n},S.createElement(Kx.Provider,{value:i},S.createElement(XV.Provider,{value:r},S.createElement(ZV.Provider,{value:m},S.createElement(JV.Provider,{value:o},S.createElement(e3.Provider,{value:c},S.createElement(s3.Provider,{value:u},l)))))))},upe=function(){return v.useContext(JV)};function t3(e){var s=Object.keys(e);return s.length===0?"There are no available ids.":"Available ids are: ".concat(s,".")}var a3=function(s){var a=v.useContext(zx);a==null&&wr(!1,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?");var n=a[s];return n==null&&wr(!1,'Could not find xAxis by id "'.concat(s,'" [').concat(qd(s),"]. ").concat(t3(a))),n},cpe=function(){var s=v.useContext(zx);return yi(s)},mpe=function(){var s=v.useContext(Kx),a=ope(s,function(n){return BV(n.domain,Number.isFinite)});return a||yi(s)},n3=function(s){var a=v.useContext(Kx);a==null&&wr(!1,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?");var n=a[s];return n==null&&wr(!1,'Could not find yAxis by id "'.concat(s,'" [').concat(qd(s),"]. ").concat(t3(a))),n},dpe=function(){var s=v.useContext(ZV);return s},bpe=function(){return v.useContext(XV)},Yx=function(){return v.useContext(s3)},Qx=function(){return v.useContext(e3)};function el(e){"@babel/helpers - typeof";return el=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},el(e)}function fpe(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function gpe(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,r3(n.key),n)}}function ppe(e,s,a){return s&&gpe(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function hpe(e,s,a){return s=Wd(s),vpe(e,i3()?Reflect.construct(s,a||[],Wd(e).constructor):s.apply(e,a))}function vpe(e,s){if(s&&(el(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Npe(e)}function Npe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(i3=function(){return!!e})()}function Wd(e){return Wd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Wd(e)}function xpe(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&Zh(e,s)}function Zh(e,s){return Zh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Zh(e,s)}function xk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Dk(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?xk(Object(a),!0).forEach(function(n){Zx(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):xk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Zx(e,s,a){return s=r3(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function r3(e){var s=Dpe(e,"string");return el(s)=="symbol"?s:s+""}function Dpe(e,s){if(el(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(el(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function Gpe(e,s){return Epe(e)||kpe(e,s)||Cpe(e,s)||ype()}function ype(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cpe(e,s){if(e){if(typeof e=="string")return Gk(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Gk(e,s)}}function Gk(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function kpe(e,s){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,i,r,o,l=[],u=!0,c=!1;try{if(r=(a=a.call(e)).next,s!==0)for(;!(u=(n=r.call(a)).done)&&(l.push(n.value),l.length!==s);u=!0);}catch(m){c=!0,i=m}finally{try{if(!u&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function Epe(e){if(Array.isArray(e))return e}function Xh(){return Xh=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Xh.apply(this,arguments)}var Lpe=function(s,a){var n;return S.isValidElement(s)?n=S.cloneElement(s,a):ze(s)?n=s(a):n=S.createElement("line",Xh({},a,{className:"recharts-reference-line-line"})),n},jpe=function(s,a,n,i,r,o,l,u,c){var m=r.x,d=r.y,b=r.width,f=r.height;if(n){var h=c.y,g=s.y.apply(h,{position:o});if(jn(c,"discard")&&!s.y.isInRange(g))return null;var p=[{x:m+b,y:g},{x:m,y:g}];return u==="left"?p.reverse():p}if(a){var x=c.x,D=s.x.apply(x,{position:o});if(jn(c,"discard")&&!s.x.isInRange(D))return null;var N=[{x:D,y:d+f},{x:D,y:d}];return l==="top"?N.reverse():N}if(i){var C=c.segment,y=C.map(function(G){return s.apply(G,{position:o})});return jn(c,"discard")&&Zfe(y,function(G){return!s.isInRange(G)})?null:y}return null};function wpe(e){var s=e.x,a=e.y,n=e.segment,i=e.xAxisId,r=e.yAxisId,o=e.shape,l=e.className,u=e.alwaysShow,c=upe(),m=a3(i),d=n3(r),b=dpe();if(!c||!b)return null;Qn(u===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=Wx({x:m.scale,y:d.scale}),h=pt(s),g=pt(a),p=n&&n.length===2,x=jpe(f,h,g,p,b,e.position,m.orientation,d.orientation,e);if(!x)return null;var D=Gpe(x,2),N=D[0],C=N.x,y=N.y,G=D[1],k=G.x,E=G.y,U=jn(e,"hidden")?"url(#".concat(c,")"):void 0,T=Dk(Dk({clipPath:U},Ze(e,!0)),{},{x1:C,y1:y,x2:k,y2:E});return S.createElement(Ws,{className:es("recharts-reference-line",l)},Lpe(o,T),At.renderCallByParent(e,Oge({x1:C,y1:y,x2:k,y2:E})))}var Xx=function(e){function s(){return fpe(this,s),hpe(this,s,arguments)}return xpe(s,e),ppe(s,[{key:"render",value:function(){return S.createElement(wpe,this.props)}}])}(S.Component);Zx(Xx,"displayName","ReferenceLine");Zx(Xx,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function Jh(){return Jh=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Jh.apply(this,arguments)}function sl(e){"@babel/helpers - typeof";return sl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},sl(e)}function yk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Ck(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?yk(Object(a),!0).forEach(function(n){cf(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):yk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Upe(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function Hpe(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l3(n.key),n)}}function Vpe(e,s,a){return s&&Hpe(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ppe(e,s,a){return s=zd(s),Ape(e,o3()?Reflect.construct(s,a||[],zd(e).constructor):s.apply(e,a))}function Ape(e,s){if(s&&(sl(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Spe(e)}function Spe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(o3=function(){return!!e})()}function zd(e){return zd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},zd(e)}function Tpe(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&ev(e,s)}function ev(e,s){return ev=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ev(e,s)}function cf(e,s,a){return s=l3(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function l3(e){var s=_pe(e,"string");return sl(s)=="symbol"?s:s+""}function _pe(e,s){if(sl(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(sl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var Rpe=function(s){var a=s.x,n=s.y,i=s.xAxis,r=s.yAxis,o=Wx({x:i.scale,y:r.scale}),l=o.apply({x:a,y:n},{bandAware:!0});return jn(s,"discard")&&!o.isInRange(l)?null:l},mf=function(e){function s(){return Upe(this,s),Ppe(this,s,arguments)}return Tpe(s,e),Vpe(s,[{key:"render",value:function(){var n=this.props,i=n.x,r=n.y,o=n.r,l=n.alwaysShow,u=n.clipPathId,c=pt(i),m=pt(r);if(Qn(l===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!m)return null;var d=Rpe(this.props);if(!d)return null;var b=d.x,f=d.y,h=this.props,g=h.shape,p=h.className,x=jn(this.props,"hidden")?"url(#".concat(u,")"):void 0,D=Ck(Ck({clipPath:x},Ze(this.props,!0)),{},{cx:b,cy:f});return S.createElement(Ws,{className:es("recharts-reference-dot",p)},s.renderDot(g,D),At.renderCallByParent(this.props,{x:b-o,y:f-o,width:2*o,height:2*o}))}}])}(S.Component);cf(mf,"displayName","ReferenceDot");cf(mf,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});cf(mf,"renderDot",function(e,s){var a;return S.isValidElement(e)?a=S.cloneElement(e,s):ze(e)?a=e(s):a=S.createElement(qx,Jh({},s,{cx:s.cx,cy:s.cy,className:"recharts-reference-dot-dot"})),a});function sv(){return sv=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},sv.apply(this,arguments)}function tl(e){"@babel/helpers - typeof";return tl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},tl(e)}function kk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Ek(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?kk(Object(a),!0).forEach(function(n){df(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):kk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Mpe(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function Ope(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c3(n.key),n)}}function Ipe(e,s,a){return s&&Ope(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function $pe(e,s,a){return s=Kd(s),Fpe(e,u3()?Reflect.construct(s,a||[],Kd(e).constructor):s.apply(e,a))}function Fpe(e,s){if(s&&(tl(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Bpe(e)}function Bpe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(u3=function(){return!!e})()}function Kd(e){return Kd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Kd(e)}function qpe(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&tv(e,s)}function tv(e,s){return tv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},tv(e,s)}function df(e,s,a){return s=c3(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function c3(e){var s=Wpe(e,"string");return tl(s)=="symbol"?s:s+""}function Wpe(e,s){if(tl(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(tl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var zpe=function(s,a,n,i,r){var o=r.x1,l=r.x2,u=r.y1,c=r.y2,m=r.xAxis,d=r.yAxis;if(!m||!d)return null;var b=Wx({x:m.scale,y:d.scale}),f={x:s?b.x.apply(o,{position:"start"}):b.x.rangeMin,y:n?b.y.apply(u,{position:"start"}):b.y.rangeMin},h={x:a?b.x.apply(l,{position:"end"}):b.x.rangeMax,y:i?b.y.apply(c,{position:"end"}):b.y.rangeMax};return jn(r,"discard")&&(!b.isInRange(f)||!b.isInRange(h))?null:YV(f,h)},bf=function(e){function s(){return Mpe(this,s),$pe(this,s,arguments)}return qpe(s,e),Ipe(s,[{key:"render",value:function(){var n=this.props,i=n.x1,r=n.x2,o=n.y1,l=n.y2,u=n.className,c=n.alwaysShow,m=n.clipPathId;Qn(c===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var d=pt(i),b=pt(r),f=pt(o),h=pt(l),g=this.props.shape;if(!d&&!b&&!f&&!h&&!g)return null;var p=zpe(d,b,f,h,this.props);if(!p&&!g)return null;var x=jn(this.props,"hidden")?"url(#".concat(m,")"):void 0;return S.createElement(Ws,{className:es("recharts-reference-area",u)},s.renderRect(g,Ek(Ek({clipPath:x},Ze(this.props,!0)),p)),At.renderCallByParent(this.props,p))}}])}(S.Component);df(bf,"displayName","ReferenceArea");df(bf,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});df(bf,"renderRect",function(e,s){var a;return S.isValidElement(e)?a=S.cloneElement(e,s):ze(e)?a=e(s):a=S.createElement(Bx,sv({},s,{className:"recharts-reference-area-rect"})),a});function m3(e,s,a){if(s<1)return[];if(s===1&&a===void 0)return e;for(var n=[],i=0;i<e.length;i+=s)n.push(e[i]);return n}function Kpe(e,s,a){var n={width:e.width+s.width,height:e.height+s.height};return $ge(n,a)}function Ype(e,s,a){var n=a==="width",i=e.x,r=e.y,o=e.width,l=e.height;return s===1?{start:n?i:r,end:n?i+o:r+l}:{start:n?i+o:r+l,end:n?i:r}}function Yd(e,s,a,n,i){if(e*s<e*n||e*s>e*i)return!1;var r=a();return e*(s-e*r/2-n)>=0&&e*(s+e*r/2-i)<=0}function Qpe(e,s){return m3(e,s+1)}function Zpe(e,s,a,n,i){for(var r=(n||[]).slice(),o=s.start,l=s.end,u=0,c=1,m=o,d=function(){var h=n?.[u];if(h===void 0)return{v:m3(n,c)};var g=u,p,x=function(){return p===void 0&&(p=a(h,g)),p},D=h.coordinate,N=u===0||Yd(e,D,x,m,l);N||(u=0,m=o,c+=1),N&&(m=D+e*(x()/2+i),u+=c)},b;c<=r.length;)if(b=d(),b)return b.v;return[]}function hc(e){"@babel/helpers - typeof";return hc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},hc(e)}function Lk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Pt(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?Lk(Object(a),!0).forEach(function(n){Xpe(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Lk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Xpe(e,s,a){return s=Jpe(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function Jpe(e){var s=ehe(e,"string");return hc(s)=="symbol"?s:s+""}function ehe(e,s){if(hc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(hc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function she(e,s,a,n,i){for(var r=(n||[]).slice(),o=r.length,l=s.start,u=s.end,c=function(b){var f=r[b],h,g=function(){return h===void 0&&(h=a(f,b)),h};if(b===o-1){var p=e*(f.coordinate+e*g()/2-u);r[b]=f=Pt(Pt({},f),{},{tickCoord:p>0?f.coordinate-p*e:f.coordinate})}else r[b]=f=Pt(Pt({},f),{},{tickCoord:f.coordinate});var x=Yd(e,f.tickCoord,g,l,u);x&&(u=f.tickCoord-e*(g()/2+i),r[b]=Pt(Pt({},f),{},{isShow:!0}))},m=o-1;m>=0;m--)c(m);return r}function the(e,s,a,n,i,r){var o=(n||[]).slice(),l=o.length,u=s.start,c=s.end;if(r){var m=n[l-1],d=a(m,l-1),b=e*(m.coordinate+e*d/2-c);o[l-1]=m=Pt(Pt({},m),{},{tickCoord:b>0?m.coordinate-b*e:m.coordinate});var f=Yd(e,m.tickCoord,function(){return d},u,c);f&&(c=m.tickCoord-e*(d/2+i),o[l-1]=Pt(Pt({},m),{},{isShow:!0}))}for(var h=r?l-1:l,g=function(D){var N=o[D],C,y=function(){return C===void 0&&(C=a(N,D)),C};if(D===0){var G=e*(N.coordinate-e*y()/2-u);o[D]=N=Pt(Pt({},N),{},{tickCoord:G<0?N.coordinate-G*e:N.coordinate})}else o[D]=N=Pt(Pt({},N),{},{tickCoord:N.coordinate});var k=Yd(e,N.tickCoord,y,u,c);k&&(u=N.tickCoord+e*(y()/2+i),o[D]=Pt(Pt({},N),{},{isShow:!0}))},p=0;p<h;p++)g(p);return o}function Jx(e,s,a){var n=e.tick,i=e.ticks,r=e.viewBox,o=e.minTickGap,l=e.orientation,u=e.interval,c=e.tickFormatter,m=e.unit,d=e.angle;if(!i||!i.length||!n)return[];if(Ne(u)||Zn.isSsr)return Qpe(i,typeof u=="number"&&Ne(u)?u:0);var b=[],f=l==="top"||l==="bottom"?"width":"height",h=m&&f==="width"?vu(m,{fontSize:s,letterSpacing:a}):{width:0,height:0},g=function(N,C){var y=ze(c)?c(N.value,C):N.value;return f==="width"?Kpe(vu(y,{fontSize:s,letterSpacing:a}),h,d):vu(y,{fontSize:s,letterSpacing:a})[f]},p=i.length>=2?Qa(i[1].coordinate-i[0].coordinate):1,x=Ype(r,p,f);return u==="equidistantPreserveStart"?Zpe(p,x,g,i,o):(u==="preserveStart"||u==="preserveStartEnd"?b=the(p,x,g,i,o,u==="preserveStartEnd"):b=she(p,x,g,i,o),b.filter(function(D){return D.isShow}))}var ahe=["viewBox"],nhe=["viewBox"],ihe=["ticks"];function al(e){"@babel/helpers - typeof";return al=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},al(e)}function No(){return No=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},No.apply(this,arguments)}function jk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function bt(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?jk(Object(a),!0).forEach(function(n){eD(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):jk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Sg(e,s){if(e==null)return{};var a=rhe(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function rhe(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function ohe(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function wk(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b3(n.key),n)}}function lhe(e,s,a){return s&&wk(e.prototype,s),a&&wk(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function uhe(e,s,a){return s=Qd(s),che(e,d3()?Reflect.construct(s,a||[],Qd(e).constructor):s.apply(e,a))}function che(e,s){if(s&&(al(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return mhe(e)}function mhe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(d3=function(){return!!e})()}function Qd(e){return Qd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Qd(e)}function dhe(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&av(e,s)}function av(e,s){return av=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},av(e,s)}function eD(e,s,a){return s=b3(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function b3(e){var s=bhe(e,"string");return al(s)=="symbol"?s:s+""}function bhe(e,s){if(al(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(al(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var Il=function(e){function s(a){var n;return ohe(this,s),n=uhe(this,s,[a]),n.state={fontSize:"",letterSpacing:""},n}return dhe(s,e),lhe(s,[{key:"shouldComponentUpdate",value:function(n,i){var r=n.viewBox,o=Sg(n,ahe),l=this.props,u=l.viewBox,c=Sg(l,nhe);return!Eo(r,u)||!Eo(o,c)||!Eo(i,this.state)}},{key:"componentDidMount",value:function(){var n=this.layerReference;if(n){var i=n.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];i&&this.setState({fontSize:window.getComputedStyle(i).fontSize,letterSpacing:window.getComputedStyle(i).letterSpacing})}}},{key:"getTickLineCoord",value:function(n){var i=this.props,r=i.x,o=i.y,l=i.width,u=i.height,c=i.orientation,m=i.tickSize,d=i.mirror,b=i.tickMargin,f,h,g,p,x,D,N=d?-1:1,C=n.tickSize||m,y=Ne(n.tickCoord)?n.tickCoord:n.coordinate;switch(c){case"top":f=h=n.coordinate,p=o+ +!d*u,g=p-N*C,D=g-N*b,x=y;break;case"left":g=p=n.coordinate,h=r+ +!d*l,f=h-N*C,x=f-N*b,D=y;break;case"right":g=p=n.coordinate,h=r+ +d*l,f=h+N*C,x=f+N*b,D=y;break;default:f=h=n.coordinate,p=o+ +d*u,g=p+N*C,D=g+N*b,x=y;break}return{line:{x1:f,y1:g,x2:h,y2:p},tick:{x,y:D}}}},{key:"getTickTextAnchor",value:function(){var n=this.props,i=n.orientation,r=n.mirror,o;switch(i){case"left":o=r?"start":"end";break;case"right":o=r?"end":"start";break;default:o="middle";break}return o}},{key:"getTickVerticalAnchor",value:function(){var n=this.props,i=n.orientation,r=n.mirror,o="end";switch(i){case"left":case"right":o="middle";break;case"top":o=r?"start":"end";break;default:o=r?"end":"start";break}return o}},{key:"renderAxisLine",value:function(){var n=this.props,i=n.x,r=n.y,o=n.width,l=n.height,u=n.orientation,c=n.mirror,m=n.axisLine,d=bt(bt(bt({},Ze(this.props,!1)),Ze(m,!1)),{},{fill:"none"});if(u==="top"||u==="bottom"){var b=+(u==="top"&&!c||u==="bottom"&&c);d=bt(bt({},d),{},{x1:i,y1:r+b*l,x2:i+o,y2:r+b*l})}else{var f=+(u==="left"&&!c||u==="right"&&c);d=bt(bt({},d),{},{x1:i+f*o,y1:r,x2:i+f*o,y2:r+l})}return S.createElement("line",No({},d,{className:es("recharts-cartesian-axis-line",Aa(m,"className"))}))}},{key:"renderTicks",value:function(n,i,r){var o=this,l=this.props,u=l.tickLine,c=l.stroke,m=l.tick,d=l.tickFormatter,b=l.unit,f=Jx(bt(bt({},this.props),{},{ticks:n}),i,r),h=this.getTickTextAnchor(),g=this.getTickVerticalAnchor(),p=Ze(this.props,!1),x=Ze(m,!1),D=bt(bt({},p),{},{fill:"none"},Ze(u,!1)),N=f.map(function(C,y){var G=o.getTickLineCoord(C),k=G.line,E=G.tick,U=bt(bt(bt(bt({textAnchor:h,verticalAnchor:g},p),{},{stroke:"none",fill:c},x),E),{},{index:y,payload:C,visibleTicksCount:f.length,tickFormatter:d});return S.createElement(Ws,No({className:"recharts-cartesian-axis-tick",key:"tick-".concat(C.value,"-").concat(C.coordinate,"-").concat(C.tickCoord)},td(o.props,C,y)),u&&S.createElement("line",No({},D,k,{className:es("recharts-cartesian-axis-tick-line",Aa(u,"className"))})),m&&s.renderTickItem(m,U,"".concat(ze(d)?d(C.value,y):C.value).concat(b||"")))});return S.createElement("g",{className:"recharts-cartesian-axis-ticks"},N)}},{key:"render",value:function(){var n=this,i=this.props,r=i.axisLine,o=i.width,l=i.height,u=i.ticksGenerator,c=i.className,m=i.hide;if(m)return null;var d=this.props,b=d.ticks,f=Sg(d,ihe),h=b;return ze(u)&&(h=b&&b.length>0?u(this.props):u(f)),o<=0||l<=0||!h||!h.length?null:S.createElement(Ws,{className:es("recharts-cartesian-axis",c),ref:function(p){n.layerReference=p}},r&&this.renderAxisLine(),this.renderTicks(h,this.state.fontSize,this.state.letterSpacing),At.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(n,i,r){var o,l=es(i.className,"recharts-cartesian-axis-tick-value");return S.isValidElement(n)?o=S.cloneElement(n,bt(bt({},i),{},{className:l})):ze(n)?o=n(bt(bt({},i),{},{className:l})):o=S.createElement(pd,No({},i,{className:"recharts-cartesian-axis-tick-value"}),r),o}}])}(v.Component);eD(Il,"displayName","CartesianAxis");eD(Il,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var fhe=["x1","y1","x2","y2","key"],ghe=["offset"];function Ur(e){"@babel/helpers - typeof";return Ur=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ur(e)}function Uk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function St(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?Uk(Object(a),!0).forEach(function(n){phe(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Uk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function phe(e,s,a){return s=hhe(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function hhe(e){var s=vhe(e,"string");return Ur(s)=="symbol"?s:s+""}function vhe(e,s){if(Ur(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Ur(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},mr.apply(this,arguments)}function Hk(e,s){if(e==null)return{};var a=Nhe(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Nhe(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}var xhe=function(s){var a=s.fill;if(!a||a==="none")return null;var n=s.fillOpacity,i=s.x,r=s.y,o=s.width,l=s.height,u=s.ry;return S.createElement("rect",{x:i,y:r,ry:u,width:o,height:l,stroke:"none",fill:a,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function f3(e,s){var a;if(S.isValidElement(e))a=S.cloneElement(e,s);else if(ze(e))a=e(s);else{var n=s.x1,i=s.y1,r=s.x2,o=s.y2,l=s.key,u=Hk(s,fhe),c=Ze(u,!1);c.offset;var m=Hk(c,ghe);a=S.createElement("line",mr({},m,{x1:n,y1:i,x2:r,y2:o,fill:"none",key:l}))}return a}function Dhe(e){var s=e.x,a=e.width,n=e.horizontal,i=n===void 0?!0:n,r=e.horizontalPoints;if(!i||!r||!r.length)return null;var o=r.map(function(l,u){var c=St(St({},e),{},{x1:s,y1:l,x2:s+a,y2:l,key:"line-".concat(u),index:u});return f3(i,c)});return S.createElement("g",{className:"recharts-cartesian-grid-horizontal"},o)}function Ghe(e){var s=e.y,a=e.height,n=e.vertical,i=n===void 0?!0:n,r=e.verticalPoints;if(!i||!r||!r.length)return null;var o=r.map(function(l,u){var c=St(St({},e),{},{x1:l,y1:s,x2:l,y2:s+a,key:"line-".concat(u),index:u});return f3(i,c)});return S.createElement("g",{className:"recharts-cartesian-grid-vertical"},o)}function yhe(e){var s=e.horizontalFill,a=e.fillOpacity,n=e.x,i=e.y,r=e.width,o=e.height,l=e.horizontalPoints,u=e.horizontal,c=u===void 0?!0:u;if(!c||!s||!s.length)return null;var m=l.map(function(b){return Math.round(b+i-i)}).sort(function(b,f){return b-f});i!==m[0]&&m.unshift(0);var d=m.map(function(b,f){var h=!m[f+1],g=h?i+o-b:m[f+1]-b;if(g<=0)return null;var p=f%s.length;return S.createElement("rect",{key:"react-".concat(f),y:b,x:n,height:g,width:r,stroke:"none",fill:s[p],fillOpacity:a,className:"recharts-cartesian-grid-bg"})});return S.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},d)}function Che(e){var s=e.vertical,a=s===void 0?!0:s,n=e.verticalFill,i=e.fillOpacity,r=e.x,o=e.y,l=e.width,u=e.height,c=e.verticalPoints;if(!a||!n||!n.length)return null;var m=c.map(function(b){return Math.round(b+r-r)}).sort(function(b,f){return b-f});r!==m[0]&&m.unshift(0);var d=m.map(function(b,f){var h=!m[f+1],g=h?r+l-b:m[f+1]-b;if(g<=0)return null;var p=f%n.length;return S.createElement("rect",{key:"react-".concat(f),x:b,y:o,width:g,height:u,stroke:"none",fill:n[p],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return S.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},d)}var khe=function(s,a){var n=s.xAxis,i=s.width,r=s.height,o=s.offset;return xV(Jx(St(St(St({},Il.defaultProps),n),{},{ticks:Wn(n,!0),viewBox:{x:0,y:0,width:i,height:r}})),o.left,o.left+o.width,a)},Ehe=function(s,a){var n=s.yAxis,i=s.width,r=s.height,o=s.offset;return xV(Jx(St(St(St({},Il.defaultProps),n),{},{ticks:Wn(n,!0),viewBox:{x:0,y:0,width:i,height:r}})),o.top,o.top+o.height,a)},io={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function g3(e){var s,a,n,i,r,o,l=Yx(),u=Qx(),c=bpe(),m=St(St({},e),{},{stroke:(s=e.stroke)!==null&&s!==void 0?s:io.stroke,fill:(a=e.fill)!==null&&a!==void 0?a:io.fill,horizontal:(n=e.horizontal)!==null&&n!==void 0?n:io.horizontal,horizontalFill:(i=e.horizontalFill)!==null&&i!==void 0?i:io.horizontalFill,vertical:(r=e.vertical)!==null&&r!==void 0?r:io.vertical,verticalFill:(o=e.verticalFill)!==null&&o!==void 0?o:io.verticalFill,x:Ne(e.x)?e.x:c.left,y:Ne(e.y)?e.y:c.top,width:Ne(e.width)?e.width:c.width,height:Ne(e.height)?e.height:c.height}),d=m.x,b=m.y,f=m.width,h=m.height,g=m.syncWithTicks,p=m.horizontalValues,x=m.verticalValues,D=cpe(),N=mpe();if(!Ne(f)||f<=0||!Ne(h)||h<=0||!Ne(d)||d!==+d||!Ne(b)||b!==+b)return null;var C=m.verticalCoordinatesGenerator||khe,y=m.horizontalCoordinatesGenerator||Ehe,G=m.horizontalPoints,k=m.verticalPoints;if((!G||!G.length)&&ze(y)){var E=p&&p.length,U=y({yAxis:N?St(St({},N),{},{ticks:E?p:N.ticks}):void 0,width:l,height:u,offset:c},E?!0:g);Qn(Array.isArray(U),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(Ur(U),"]")),Array.isArray(U)&&(G=U)}if((!k||!k.length)&&ze(C)){var T=x&&x.length,H=C({xAxis:D?St(St({},D),{},{ticks:T?x:D.ticks}):void 0,width:l,height:u,offset:c},T?!0:g);Qn(Array.isArray(H),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(Ur(H),"]")),Array.isArray(H)&&(k=H)}return S.createElement("g",{className:"recharts-cartesian-grid"},S.createElement(xhe,{fill:m.fill,fillOpacity:m.fillOpacity,x:m.x,y:m.y,width:m.width,height:m.height,ry:m.ry}),S.createElement(Dhe,mr({},m,{offset:c,horizontalPoints:G,xAxis:D,yAxis:N})),S.createElement(Ghe,mr({},m,{offset:c,verticalPoints:k,xAxis:D,yAxis:N})),S.createElement(yhe,mr({},m,{horizontalPoints:G})),S.createElement(Che,mr({},m,{verticalPoints:k})))}g3.displayName="CartesianGrid";var Lhe=["layout","type","stroke","connectNulls","isRange","ref"],jhe=["key"],p3;function nl(e){"@babel/helpers - typeof";return nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},nl(e)}function h3(e,s){if(e==null)return{};var a=whe(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function whe(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function dr(){return dr=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},dr.apply(this,arguments)}function Vk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function xi(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?Vk(Object(a),!0).forEach(function(n){yn(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Vk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Uhe(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function Pk(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,N3(n.key),n)}}function Hhe(e,s,a){return s&&Pk(e.prototype,s),a&&Pk(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function Vhe(e,s,a){return s=Zd(s),Phe(e,v3()?Reflect.construct(s,a||[],Zd(e).constructor):s.apply(e,a))}function Phe(e,s){if(s&&(nl(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ahe(e)}function Ahe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(v3=function(){return!!e})()}function Zd(e){return Zd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Zd(e)}function She(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&nv(e,s)}function nv(e,s){return nv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},nv(e,s)}function yn(e,s,a){return s=N3(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function N3(e){var s=The(e,"string");return nl(s)=="symbol"?s:s+""}function The(e,s){if(nl(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(nl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var $i=function(e){function s(){var a;Uhe(this,s);for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return a=Vhe(this,s,[].concat(i)),yn(a,"state",{isAnimationFinished:!0}),yn(a,"id",Sc("recharts-area-")),yn(a,"handleAnimationEnd",function(){var o=a.props.onAnimationEnd;a.setState({isAnimationFinished:!0}),ze(o)&&o()}),yn(a,"handleAnimationStart",function(){var o=a.props.onAnimationStart;a.setState({isAnimationFinished:!1}),ze(o)&&o()}),a}return She(s,e),Hhe(s,[{key:"renderDots",value:function(n,i,r){var o=this.props.isAnimationActive,l=this.state.isAnimationFinished;if(o&&!l)return null;var u=this.props,c=u.dot,m=u.points,d=u.dataKey,b=Ze(this.props,!1),f=Ze(c,!0),h=m.map(function(p,x){var D=xi(xi(xi({key:"dot-".concat(x),r:3},b),f),{},{index:x,cx:p.x,cy:p.y,dataKey:d,value:p.value,payload:p.payload,points:m});return s.renderDotItem(c,D)}),g={clipPath:n?"url(#clipPath-".concat(i?"":"dots-").concat(r,")"):null};return S.createElement(Ws,dr({className:"recharts-area-dots"},g),h)}},{key:"renderHorizontalRect",value:function(n){var i=this.props,r=i.baseLine,o=i.points,l=i.strokeWidth,u=o[0].x,c=o[o.length-1].x,m=n*Math.abs(u-c),d=ki(o.map(function(b){return b.y||0}));return Ne(r)&&typeof r=="number"?d=Math.max(r,d):r&&Array.isArray(r)&&r.length&&(d=Math.max(ki(r.map(function(b){return b.y||0})),d)),Ne(d)?S.createElement("rect",{x:u<c?u:u-m,y:0,width:m,height:Math.floor(d+(l?parseInt("".concat(l),10):1))}):null}},{key:"renderVerticalRect",value:function(n){var i=this.props,r=i.baseLine,o=i.points,l=i.strokeWidth,u=o[0].y,c=o[o.length-1].y,m=n*Math.abs(u-c),d=ki(o.map(function(b){return b.x||0}));return Ne(r)&&typeof r=="number"?d=Math.max(r,d):r&&Array.isArray(r)&&r.length&&(d=Math.max(ki(r.map(function(b){return b.x||0})),d)),Ne(d)?S.createElement("rect",{x:0,y:u<c?u:u-m,width:d+(l?parseInt("".concat(l),10):1),height:Math.floor(m)}):null}},{key:"renderClipRect",value:function(n){var i=this.props.layout;return i==="vertical"?this.renderVerticalRect(n):this.renderHorizontalRect(n)}},{key:"renderAreaStatically",value:function(n,i,r,o){var l=this.props,u=l.layout,c=l.type,m=l.stroke,d=l.connectNulls,b=l.isRange;l.ref;var f=h3(l,Lhe);return S.createElement(Ws,{clipPath:r?"url(#clipPath-".concat(o,")"):null},S.createElement(Du,dr({},Ze(f,!0),{points:n,connectNulls:d,type:c,baseLine:i,layout:u,stroke:"none",className:"recharts-area-area"})),m!=="none"&&S.createElement(Du,dr({},Ze(this.props,!1),{className:"recharts-area-curve",layout:u,type:c,connectNulls:d,fill:"none",points:n})),m!=="none"&&b&&S.createElement(Du,dr({},Ze(this.props,!1),{className:"recharts-area-curve",layout:u,type:c,connectNulls:d,fill:"none",points:i})))}},{key:"renderAreaWithAnimation",value:function(n,i){var r=this,o=this.props,l=o.points,u=o.baseLine,c=o.isAnimationActive,m=o.animationBegin,d=o.animationDuration,b=o.animationEasing,f=o.animationId,h=this.state,g=h.prevPoints,p=h.prevBaseLine;return S.createElement(li,{begin:m,duration:d,isActive:c,easing:b,from:{t:0},to:{t:1},key:"area-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(x){var D=x.t;if(g){var N=g.length/l.length,C=l.map(function(E,U){var T=Math.floor(U*N);if(g[T]){var H=g[T],j=Ua(H.x,E.x),w=Ua(H.y,E.y);return xi(xi({},E),{},{x:j(D),y:w(D)})}return E}),y;if(Ne(u)&&typeof u=="number"){var G=Ua(p,u);y=G(D)}else if(Xe(u)||Al(u)){var k=Ua(p,0);y=k(D)}else y=u.map(function(E,U){var T=Math.floor(U*N);if(p[T]){var H=p[T],j=Ua(H.x,E.x),w=Ua(H.y,E.y);return xi(xi({},E),{},{x:j(D),y:w(D)})}return E});return r.renderAreaStatically(C,y,n,i)}return S.createElement(Ws,null,S.createElement("defs",null,S.createElement("clipPath",{id:"animationClipPath-".concat(i)},r.renderClipRect(D))),S.createElement(Ws,{clipPath:"url(#animationClipPath-".concat(i,")")},r.renderAreaStatically(l,u,n,i)))})}},{key:"renderArea",value:function(n,i){var r=this.props,o=r.points,l=r.baseLine,u=r.isAnimationActive,c=this.state,m=c.prevPoints,d=c.prevBaseLine,b=c.totalLength;return u&&o&&o.length&&(!m&&b>0||!Zu(m,o)||!Zu(d,l))?this.renderAreaWithAnimation(n,i):this.renderAreaStatically(o,l,n,i)}},{key:"render",value:function(){var n,i=this.props,r=i.hide,o=i.dot,l=i.points,u=i.className,c=i.top,m=i.left,d=i.xAxis,b=i.yAxis,f=i.width,h=i.height,g=i.isAnimationActive,p=i.id;if(r||!l||!l.length)return null;var x=this.state.isAnimationFinished,D=l.length===1,N=es("recharts-area",u),C=d&&d.allowDataOverflow,y=b&&b.allowDataOverflow,G=C||y,k=Xe(p)?this.id:p,E=(n=Ze(o,!1))!==null&&n!==void 0?n:{r:3,strokeWidth:2},U=E.r,T=U===void 0?3:U,H=E.strokeWidth,j=H===void 0?2:H,w=BK(o)?o:{},A=w.clipDot,P=A===void 0?!0:A,V=T*2+j;return S.createElement(Ws,{className:N},C||y?S.createElement("defs",null,S.createElement("clipPath",{id:"clipPath-".concat(k)},S.createElement("rect",{x:C?m:m-f/2,y:y?c:c-h/2,width:C?f:f*2,height:y?h:h*2})),!P&&S.createElement("clipPath",{id:"clipPath-dots-".concat(k)},S.createElement("rect",{x:m-V/2,y:c-V/2,width:f+V,height:h+V}))):null,D?null:this.renderArea(G,k),(o||D)&&this.renderDots(G,P,k),(!g||x)&&wi.renderCallByParent(this.props,l))}}],[{key:"getDerivedStateFromProps",value:function(n,i){return n.animationId!==i.prevAnimationId?{prevAnimationId:n.animationId,curPoints:n.points,curBaseLine:n.baseLine,prevPoints:i.curPoints,prevBaseLine:i.curBaseLine}:n.points!==i.curPoints||n.baseLine!==i.curBaseLine?{curPoints:n.points,curBaseLine:n.baseLine}:null}}])}(v.PureComponent);p3=$i;yn($i,"displayName","Area");yn($i,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!Zn.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});yn($i,"getBaseValue",function(e,s,a,n){var i=e.layout,r=e.baseValue,o=s.props.baseValue,l=o??r;if(Ne(l)&&typeof l=="number")return l;var u=i==="horizontal"?n:a,c=u.scale.domain();if(u.type==="number"){var m=Math.max(c[0],c[1]),d=Math.min(c[0],c[1]);return l==="dataMin"?d:l==="dataMax"||m<0?m:Math.max(Math.min(c[0],c[1]),0)}return l==="dataMin"?c[0]:l==="dataMax"?c[1]:c[0]});yn($i,"getComposedData",function(e){var s=e.props,a=e.item,n=e.xAxis,i=e.yAxis,r=e.xAxisTicks,o=e.yAxisTicks,l=e.bandSize,u=e.dataKey,c=e.stackedData,m=e.dataStartIndex,d=e.displayedData,b=e.offset,f=s.layout,h=c&&c.length,g=p3.getBaseValue(s,a,n,i),p=f==="horizontal",x=!1,D=d.map(function(C,y){var G;h?G=c[m+y]:(G=Na(C,u),Array.isArray(G)?x=!0:G=[g,G]);var k=G[1]==null||h&&Na(C,u)==null;return p?{x:dC({axis:n,ticks:r,bandSize:l,entry:C,index:y}),y:k?null:i.scale(G[1]),value:G,payload:C}:{x:k?null:n.scale(G[1]),y:dC({axis:i,ticks:o,bandSize:l,entry:C,index:y}),value:G,payload:C}}),N;return h||x?N=D.map(function(C){var y=Array.isArray(C.value)?C.value[0]:null;return p?{x:C.x,y:y!=null&&C.y!=null?i.scale(y):null}:{x:y!=null?n.scale(y):null,y:C.y}}):N=p?i.scale(g):n.scale(g),xi({points:D,baseLine:N,layout:f,isRange:x},b)});yn($i,"renderDotItem",function(e,s){var a;if(S.isValidElement(e))a=S.cloneElement(e,s);else if(ze(e))a=e(s);else{var n=es("recharts-area-dot",typeof e!="boolean"?e.className:""),i=s.key,r=h3(s,jhe);a=S.createElement(qx,dr({},r,{key:i,className:n}))}return a});function il(e){"@babel/helpers - typeof";return il=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},il(e)}function _he(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function Rhe(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,G3(n.key),n)}}function Mhe(e,s,a){return s&&Rhe(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ohe(e,s,a){return s=Xd(s),Ihe(e,x3()?Reflect.construct(s,a||[],Xd(e).constructor):s.apply(e,a))}function Ihe(e,s){if(s&&(il(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $he(e)}function $he(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(x3=function(){return!!e})()}function Xd(e){return Xd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Xd(e)}function Fhe(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&iv(e,s)}function iv(e,s){return iv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},iv(e,s)}function D3(e,s,a){return s=G3(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function G3(e){var s=Bhe(e,"string");return il(s)=="symbol"?s:s+""}function Bhe(e,s){if(il(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(il(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function rv(){return rv=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},rv.apply(this,arguments)}function qhe(e){var s=e.xAxisId,a=Yx(),n=Qx(),i=a3(s);return i==null?null:v.createElement(Il,rv({},i,{className:es("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:a,height:n},ticksGenerator:function(o){return Wn(o,!0)}}))}var ff=function(e){function s(){return _he(this,s),Ohe(this,s,arguments)}return Fhe(s,e),Mhe(s,[{key:"render",value:function(){return v.createElement(qhe,this.props)}}])}(v.Component);D3(ff,"displayName","XAxis");D3(ff,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});function rl(e){"@babel/helpers - typeof";return rl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},rl(e)}function Whe(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function zhe(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,k3(n.key),n)}}function Khe(e,s,a){return s&&zhe(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function Yhe(e,s,a){return s=Jd(s),Qhe(e,y3()?Reflect.construct(s,a||[],Jd(e).constructor):s.apply(e,a))}function Qhe(e,s){if(s&&(rl(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Zhe(e)}function Zhe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(y3=function(){return!!e})()}function Jd(e){return Jd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Jd(e)}function Xhe(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&ov(e,s)}function ov(e,s){return ov=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ov(e,s)}function C3(e,s,a){return s=k3(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function k3(e){var s=Jhe(e,"string");return rl(s)=="symbol"?s:s+""}function Jhe(e,s){if(rl(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(rl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function lv(){return lv=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},lv.apply(this,arguments)}var eve=function(s){var a=s.yAxisId,n=Yx(),i=Qx(),r=n3(a);return r==null?null:v.createElement(Il,lv({},r,{className:es("recharts-".concat(r.axisType," ").concat(r.axisType),r.className),viewBox:{x:0,y:0,width:n,height:i},ticksGenerator:function(l){return Wn(l,!0)}}))},sD=function(e){function s(){return Whe(this,s),Yhe(this,s,arguments)}return Xhe(s,e),Khe(s,[{key:"render",value:function(){return v.createElement(eve,this.props)}}])}(v.Component);C3(sD,"displayName","YAxis");C3(sD,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});function Ak(e){return nve(e)||ave(e)||tve(e)||sve()}function sve(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tve(e,s){if(e){if(typeof e=="string")return uv(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return uv(e,s)}}function ave(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nve(e){if(Array.isArray(e))return uv(e)}function uv(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}var cv=function(s,a,n,i,r){var o=en(s,Xx),l=en(s,mf),u=[].concat(Ak(o),Ak(l)),c=en(s,bf),m="".concat(i,"Id"),d=i[0],b=a;if(u.length&&(b=u.reduce(function(g,p){if(p.props[m]===n&&jn(p.props,"extendDomain")&&Ne(p.props[d])){var x=p.props[d];return[Math.min(g[0],x),Math.max(g[1],x)]}return g},b)),c.length){var f="".concat(d,"1"),h="".concat(d,"2");b=c.reduce(function(g,p){if(p.props[m]===n&&jn(p.props,"extendDomain")&&Ne(p.props[f])&&Ne(p.props[h])){var x=p.props[f],D=p.props[h];return[Math.min(g[0],x,D),Math.max(g[1],x,D)]}return g},b)}return r&&r.length&&(b=r.reduce(function(g,p){return Ne(p)?[Math.min(g[0],p),Math.max(g[1],p)]:g},b)),b},E3={exports:{}};(function(e){var s=Object.prototype.hasOwnProperty,a="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(a=!1));function i(u,c,m){this.fn=u,this.context=c,this.once=m||!1}function r(u,c,m,d,b){if(typeof m!="function")throw new TypeError("The listener must be a function");var f=new i(m,d||u,b),h=a?a+c:c;return u._events[h]?u._events[h].fn?u._events[h]=[u._events[h],f]:u._events[h].push(f):(u._events[h]=f,u._eventsCount++),u}function o(u,c){--u._eventsCount===0?u._events=new n:delete u._events[c]}function l(){this._events=new n,this._eventsCount=0}l.prototype.eventNames=function(){var c=[],m,d;if(this._eventsCount===0)return c;for(d in m=this._events)s.call(m,d)&&c.push(a?d.slice(1):d);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(m)):c},l.prototype.listeners=function(c){var m=a?a+c:c,d=this._events[m];if(!d)return[];if(d.fn)return[d.fn];for(var b=0,f=d.length,h=new Array(f);b<f;b++)h[b]=d[b].fn;return h},l.prototype.listenerCount=function(c){var m=a?a+c:c,d=this._events[m];return d?d.fn?1:d.length:0},l.prototype.emit=function(c,m,d,b,f,h){var g=a?a+c:c;if(!this._events[g])return!1;var p=this._events[g],x=arguments.length,D,N;if(p.fn){switch(p.once&&this.removeListener(c,p.fn,void 0,!0),x){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,m),!0;case 3:return p.fn.call(p.context,m,d),!0;case 4:return p.fn.call(p.context,m,d,b),!0;case 5:return p.fn.call(p.context,m,d,b,f),!0;case 6:return p.fn.call(p.context,m,d,b,f,h),!0}for(N=1,D=new Array(x-1);N<x;N++)D[N-1]=arguments[N];p.fn.apply(p.context,D)}else{var C=p.length,y;for(N=0;N<C;N++)switch(p[N].once&&this.removeListener(c,p[N].fn,void 0,!0),x){case 1:p[N].fn.call(p[N].context);break;case 2:p[N].fn.call(p[N].context,m);break;case 3:p[N].fn.call(p[N].context,m,d);break;case 4:p[N].fn.call(p[N].context,m,d,b);break;default:if(!D)for(y=1,D=new Array(x-1);y<x;y++)D[y-1]=arguments[y];p[N].fn.apply(p[N].context,D)}}return!0},l.prototype.on=function(c,m,d){return r(this,c,m,d,!1)},l.prototype.once=function(c,m,d){return r(this,c,m,d,!0)},l.prototype.removeListener=function(c,m,d,b){var f=a?a+c:c;if(!this._events[f])return this;if(!m)return o(this,f),this;var h=this._events[f];if(h.fn)h.fn===m&&(!b||h.once)&&(!d||h.context===d)&&o(this,f);else{for(var g=0,p=[],x=h.length;g<x;g++)(h[g].fn!==m||b&&!h[g].once||d&&h[g].context!==d)&&p.push(h[g]);p.length?this._events[f]=p.length===1?p[0]:p:o(this,f)}return this},l.prototype.removeAllListeners=function(c){var m;return c?(m=a?a+c:c,this._events[m]&&o(this,m)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=a,l.EventEmitter=l,e.exports=l})(E3);var ive=E3.exports;const rve=ws(ive);var Tg=new rve,_g="recharts.syncMouseEvents";function vc(e){"@babel/helpers - typeof";return vc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},vc(e)}function ove(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function lve(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,L3(n.key),n)}}function uve(e,s,a){return s&&lve(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function Rg(e,s,a){return s=L3(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function L3(e){var s=cve(e,"string");return vc(s)=="symbol"?s:s+""}function cve(e,s){if(vc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s);if(vc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var mve=function(){function e(){ove(this,e),Rg(this,"activeIndex",0),Rg(this,"coordinateList",[]),Rg(this,"layout","horizontal")}return uve(e,[{key:"setDetails",value:function(a){var n,i=a.coordinateList,r=i===void 0?null:i,o=a.container,l=o===void 0?null:o,u=a.layout,c=u===void 0?null:u,m=a.offset,d=m===void 0?null:m,b=a.mouseHandlerCallback,f=b===void 0?null:b;this.coordinateList=(n=r??this.coordinateList)!==null&&n!==void 0?n:[],this.container=l??this.container,this.layout=c??this.layout,this.offset=d??this.offset,this.mouseHandlerCallback=f??this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(a){if(this.coordinateList.length!==0)switch(a.key){case"ArrowRight":{if(this.layout!=="horizontal")return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break}case"ArrowLeft":{if(this.layout!=="horizontal")return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break}}}},{key:"setIndex",value:function(a){this.activeIndex=a}},{key:"spoofMouse",value:function(){var a,n;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var i=this.container.getBoundingClientRect(),r=i.x,o=i.y,l=i.height,u=this.coordinateList[this.activeIndex].coordinate,c=((a=window)===null||a===void 0?void 0:a.scrollX)||0,m=((n=window)===null||n===void 0?void 0:n.scrollY)||0,d=r+u+c,b=o+this.offset.top+l/2+m;this.mouseHandlerCallback({pageX:d,pageY:b})}}}])}();function dve(e,s,a){if(a==="number"&&s===!0&&Array.isArray(e)){var n=e?.[0],i=e?.[1];if(n&&i&&Ne(n)&&Ne(i))return!0}return!1}function bve(e,s,a,n){var i=n/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?s.x-i:a.left+.5,y:e==="horizontal"?a.top+.5:s.y-i,width:e==="horizontal"?n:a.width-1,height:e==="horizontal"?a.height-1:n}}function j3(e){var s=e.cx,a=e.cy,n=e.radius,i=e.startAngle,r=e.endAngle,o=Lt(s,a,n,i),l=Lt(s,a,n,r);return{points:[o,l],cx:s,cy:a,radius:n,startAngle:i,endAngle:r}}function fve(e,s,a){var n,i,r,o;if(e==="horizontal")n=s.x,r=n,i=a.top,o=a.top+a.height;else if(e==="vertical")i=s.y,o=i,n=a.left,r=a.left+a.width;else if(s.cx!=null&&s.cy!=null)if(e==="centric"){var l=s.cx,u=s.cy,c=s.innerRadius,m=s.outerRadius,d=s.angle,b=Lt(l,u,c,d),f=Lt(l,u,m,d);n=b.x,i=b.y,r=f.x,o=f.y}else return j3(s);return[{x:n,y:i},{x:r,y:o}]}function Nc(e){"@babel/helpers - typeof";return Nc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Nc(e)}function Sk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function Dm(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?Sk(Object(a),!0).forEach(function(n){gve(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Sk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function gve(e,s,a){return s=pve(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function pve(e){var s=hve(e,"string");return Nc(s)=="symbol"?s:s+""}function hve(e,s){if(Nc(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(Nc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}function vve(e){var s,a,n=e.element,i=e.tooltipEventType,r=e.isActive,o=e.activeCoordinate,l=e.activePayload,u=e.offset,c=e.activeTooltipIndex,m=e.tooltipAxisBandSize,d=e.layout,b=e.chartName,f=(s=n.props.cursor)!==null&&s!==void 0?s:(a=n.type.defaultProps)===null||a===void 0?void 0:a.cursor;if(!n||!f||!r||!o||b!=="ScatterChart"&&i!=="axis")return null;var h,g=Du;if(b==="ScatterChart")h=o,g=Dbe;else if(b==="BarChart")h=bve(d,o,u,m),g=Bx;else if(d==="radial"){var p=j3(o),x=p.cx,D=p.cy,N=p.radius,C=p.startAngle,y=p.endAngle;h={cx:x,cy:D,startAngle:C,endAngle:y,innerRadius:N,outerRadius:N},g=kV}else h={points:fve(d,o,u)},g=Du;var G=Dm(Dm(Dm(Dm({stroke:"#ccc",pointerEvents:"none"},u),h),Ze(f,!1)),{},{payload:l,payloadIndex:c,className:es("recharts-tooltip-cursor",f.className)});return v.isValidElement(f)?v.cloneElement(f,G):v.createElement(g,G)}var Nve=["item"],xve=["children","className","width","height","style","compact","title","desc"];function ol(e){"@babel/helpers - typeof";return ol=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},ol(e)}function xo(){return xo=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},xo.apply(this,arguments)}function Tk(e,s){return yve(e)||Gve(e,s)||U3(e,s)||Dve()}function Dve(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gve(e,s){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,i,r,o,l=[],u=!0,c=!1;try{if(r=(a=a.call(e)).next,s!==0)for(;!(u=(n=r.call(a)).done)&&(l.push(n.value),l.length!==s);u=!0);}catch(m){c=!0,i=m}finally{try{if(!u&&a.return!=null&&(o=a.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function yve(e){if(Array.isArray(e))return e}function _k(e,s){if(e==null)return{};var a=Cve(e,s),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],!(s.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Cve(e,s){if(e==null)return{};var a={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(s.indexOf(n)>=0)continue;a[n]=e[n]}return a}function kve(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function Eve(e,s){for(var a=0;a<s.length;a++){var n=s[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,H3(n.key),n)}}function Lve(e,s,a){return s&&Eve(e.prototype,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function jve(e,s,a){return s=eb(s),wve(e,w3()?Reflect.construct(s,a||[],eb(e).constructor):s.apply(e,a))}function wve(e,s){if(s&&(ol(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Uve(e)}function Uve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(w3=function(){return!!e})()}function eb(e){return eb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},eb(e)}function Hve(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),s&&mv(e,s)}function mv(e,s){return mv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},mv(e,s)}function ll(e){return Ave(e)||Pve(e)||U3(e)||Vve()}function Vve(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U3(e,s){if(e){if(typeof e=="string")return dv(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return dv(e,s)}}function Pve(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ave(e){if(Array.isArray(e))return dv(e)}function dv(e,s){(s==null||s>e.length)&&(s=e.length);for(var a=0,n=new Array(s);a<s;a++)n[a]=e[a];return n}function Rk(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function ie(e){for(var s=1;s<arguments.length;s++){var a=arguments[s]!=null?arguments[s]:{};s%2?Rk(Object(a),!0).forEach(function(n){Re(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Rk(Object(a)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function Re(e,s,a){return s=H3(s),s in e?Object.defineProperty(e,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[s]=a,e}function H3(e){var s=Sve(e,"string");return ol(s)=="symbol"?s:s+""}function Sve(e,s){if(ol(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var n=a.call(e,s||"default");if(ol(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(e)}var Tve={xAxis:["bottom","top"],yAxis:["left","right"]},_ve={width:"100%",height:"100%"},V3={x:0,y:0};function Gm(e){return e}var Rve=function(s,a){return a==="horizontal"?s.x:a==="vertical"?s.y:a==="centric"?s.angle:s.radius},Mve=function(s,a,n,i){var r=a.find(function(m){return m&&m.index===n});if(r){if(s==="horizontal")return{x:r.coordinate,y:i.y};if(s==="vertical")return{x:i.x,y:r.coordinate};if(s==="centric"){var o=r.coordinate,l=i.radius;return ie(ie(ie({},i),Lt(i.cx,i.cy,l,o)),{},{angle:o,radius:l})}var u=r.coordinate,c=i.angle;return ie(ie(ie({},i),Lt(i.cx,i.cy,u,c)),{},{angle:c,radius:u})}return V3},gf=function(s,a){var n=a.graphicalItems,i=a.dataStartIndex,r=a.dataEndIndex,o=(n??[]).reduce(function(l,u){var c=u.props.data;return c&&c.length?[].concat(ll(l),ll(c)):l},[]);return o.length>0?o:s&&s.length&&Ne(i)&&Ne(r)?s.slice(i,r+1):[]};function P3(e){return e==="number"?[0,"auto"]:void 0}var bv=function(s,a,n,i){var r=s.graphicalItems,o=s.tooltipAxis,l=gf(a,s);return n<0||!r||!r.length||n>=l.length?null:r.reduce(function(u,c){var m,d=(m=c.props.data)!==null&&m!==void 0?m:a;d&&s.dataStartIndex+s.dataEndIndex!==0&&s.dataEndIndex-s.dataStartIndex>=n&&(d=d.slice(s.dataStartIndex,s.dataEndIndex+1));var b;if(o.dataKey&&!o.allowDuplicatedCategory){var f=d===void 0?l:d;b=ed(f,o.dataKey,i)}else b=d&&d[n]||l[n];return b?[].concat(ll(u),[GV(c,b)]):u},[])},Mk=function(s,a,n,i){var r=i||{x:s.chartX,y:s.chartY},o=Rve(r,n),l=s.orderedTooltipTicks,u=s.tooltipAxis,c=s.tooltipTicks,m=zue(o,l,c,u);if(m>=0&&c){var d=c[m]&&c[m].value,b=bv(s,a,m,d),f=Mve(n,l,m,r);return{activeTooltipIndex:m,activeLabel:d,activePayload:b,activeCoordinate:f}}return null},Ove=function(s,a){var n=a.axes,i=a.graphicalItems,r=a.axisType,o=a.axisIdKey,l=a.stackGroups,u=a.dataStartIndex,c=a.dataEndIndex,m=s.layout,d=s.children,b=s.stackOffset,f=NV(m,r);return n.reduce(function(h,g){var p,x=g.type.defaultProps!==void 0?ie(ie({},g.type.defaultProps),g.props):g.props,D=x.type,N=x.dataKey,C=x.allowDataOverflow,y=x.allowDuplicatedCategory,G=x.scale,k=x.ticks,E=x.includeHidden,U=x[o];if(h[U])return h;var T=gf(s.data,{graphicalItems:i.filter(function(Z){var ee,ge=o in Z.props?Z.props[o]:(ee=Z.type.defaultProps)===null||ee===void 0?void 0:ee[o];return ge===U}),dataStartIndex:u,dataEndIndex:c}),H=T.length,j,w,A;dve(x.domain,C,D)&&(j=Uh(x.domain,null,C),f&&(D==="number"||G!=="auto")&&(A=xu(T,N,"category")));var P=P3(D);if(!j||j.length===0){var V,_=(V=x.domain)!==null&&V!==void 0?V:P;if(N){if(j=xu(T,N,D),D==="category"&&f){var O=AK(j);y&&O?(w=j,j=Od(0,H)):y||(j=pC(_,j,g).reduce(function(Z,ee){return Z.indexOf(ee)>=0?Z:[].concat(ll(Z),[ee])},[]))}else if(D==="category")y?j=j.filter(function(Z){return Z!==""&&!Xe(Z)}):j=pC(_,j,g).reduce(function(Z,ee){return Z.indexOf(ee)>=0||ee===""||Xe(ee)?Z:[].concat(ll(Z),[ee])},[]);else if(D==="number"){var $=Xue(T,i.filter(function(Z){var ee,ge,xe=o in Z.props?Z.props[o]:(ee=Z.type.defaultProps)===null||ee===void 0?void 0:ee[o],le="hide"in Z.props?Z.props.hide:(ge=Z.type.defaultProps)===null||ge===void 0?void 0:ge.hide;return xe===U&&(E||!le)}),N,r,m);$&&(j=$)}f&&(D==="number"||G!=="auto")&&(A=xu(T,N,"category"))}else f?j=Od(0,H):l&&l[U]&&l[U].hasStack&&D==="number"?j=b==="expand"?[0,1]:DV(l[U].stackGroups,u,c):j=vV(T,i.filter(function(Z){var ee=o in Z.props?Z.props[o]:Z.type.defaultProps[o],ge="hide"in Z.props?Z.props.hide:Z.type.defaultProps.hide;return ee===U&&(E||!ge)}),D,m,!0);if(D==="number")j=cv(d,j,U,r,k),_&&(j=Uh(_,j,C));else if(D==="category"&&_){var Q=_,ne=j.every(function(Z){return Q.indexOf(Z)>=0});ne&&(j=Q)}}return ie(ie({},h),{},Re({},U,ie(ie({},x),{},{axisType:r,domain:j,categoricalDomain:A,duplicateDomain:w,originalDomain:(p=x.domain)!==null&&p!==void 0?p:P,isCategorical:f,layout:m})))},{})},Ive=function(s,a){var n=a.graphicalItems,i=a.Axis,r=a.axisType,o=a.axisIdKey,l=a.stackGroups,u=a.dataStartIndex,c=a.dataEndIndex,m=s.layout,d=s.children,b=gf(s.data,{graphicalItems:n,dataStartIndex:u,dataEndIndex:c}),f=b.length,h=NV(m,r),g=-1;return n.reduce(function(p,x){var D=x.type.defaultProps!==void 0?ie(ie({},x.type.defaultProps),x.props):x.props,N=D[o],C=P3("number");if(!p[N]){g++;var y;return h?y=Od(0,f):l&&l[N]&&l[N].hasStack?(y=DV(l[N].stackGroups,u,c),y=cv(d,y,N,r)):(y=Uh(C,vV(b,n.filter(function(G){var k,E,U=o in G.props?G.props[o]:(k=G.type.defaultProps)===null||k===void 0?void 0:k[o],T="hide"in G.props?G.props.hide:(E=G.type.defaultProps)===null||E===void 0?void 0:E.hide;return U===N&&!T}),"number",m),i.defaultProps.allowDataOverflow),y=cv(d,y,N,r)),ie(ie({},p),{},Re({},N,ie(ie({axisType:r},i.defaultProps),{},{hide:!0,orientation:Aa(Tve,"".concat(r,".").concat(g%2),null),domain:y,originalDomain:C,isCategorical:h,layout:m})))}return p},{})},$ve=function(s,a){var n=a.axisType,i=n===void 0?"xAxis":n,r=a.AxisComp,o=a.graphicalItems,l=a.stackGroups,u=a.dataStartIndex,c=a.dataEndIndex,m=s.children,d="".concat(i,"Id"),b=en(m,r),f={};return b&&b.length?f=Ove(s,{axes:b,graphicalItems:o,axisType:i,axisIdKey:d,stackGroups:l,dataStartIndex:u,dataEndIndex:c}):o&&o.length&&(f=Ive(s,{Axis:r,graphicalItems:o,axisType:i,axisIdKey:d,stackGroups:l,dataStartIndex:u,dataEndIndex:c})),f},Fve=function(s){var a=yi(s),n=Wn(a,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:hx(n,function(i){return i.coordinate}),tooltipAxis:a,tooltipAxisBandSize:Ud(a,n)}},Ok=function(s){var a=s.children,n=s.defaultShowTooltip,i=da(a,Zo),r=0,o=0;return s.data&&s.data.length!==0&&(o=s.data.length-1),i&&i.props&&(i.props.startIndex>=0&&(r=i.props.startIndex),i.props.endIndex>=0&&(o=i.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:r,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!n}},Bve=function(s){return!s||!s.length?!1:s.some(function(a){var n=Yn(a&&a.type);return n&&n.indexOf("Bar")>=0})},Ik=function(s){return s==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:s==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:s==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},qve=function(s,a){var n=s.props,i=s.graphicalItems,r=s.xAxisMap,o=r===void 0?{}:r,l=s.yAxisMap,u=l===void 0?{}:l,c=n.width,m=n.height,d=n.children,b=n.margin||{},f=da(d,Zo),h=da(d,Lo),g=Object.keys(u).reduce(function(y,G){var k=u[G],E=k.orientation;return!k.mirror&&!k.hide?ie(ie({},y),{},Re({},E,y[E]+k.width)):y},{left:b.left||0,right:b.right||0}),p=Object.keys(o).reduce(function(y,G){var k=o[G],E=k.orientation;return!k.mirror&&!k.hide?ie(ie({},y),{},Re({},E,Aa(y,"".concat(E))+k.height)):y},{top:b.top||0,bottom:b.bottom||0}),x=ie(ie({},p),g),D=x.bottom;f&&(x.bottom+=f.props.height||Zo.defaultProps.height),h&&a&&(x=Que(x,i,n,a));var N=c-x.left-x.right,C=m-x.top-x.bottom;return ie(ie({brushBottom:D},x),{},{width:Math.max(N,0),height:Math.max(C,0)})},Wve=function(s,a){if(a==="xAxis")return s[a].width;if(a==="yAxis")return s[a].height},zve=function(s){var a=s.chartName,n=s.GraphicalChild,i=s.defaultTooltipEventType,r=i===void 0?"axis":i,o=s.validateTooltipEventTypes,l=o===void 0?["axis"]:o,u=s.axisComponents,c=s.legendContent,m=s.formatAxisMap,d=s.defaultProps,b=function(x,D){var N=D.graphicalItems,C=D.stackGroups,y=D.offset,G=D.updateId,k=D.dataStartIndex,E=D.dataEndIndex,U=x.barSize,T=x.layout,H=x.barGap,j=x.barCategoryGap,w=x.maxBarSize,A=Ik(T),P=A.numericAxisName,V=A.cateAxisName,_=Bve(N),O=[];return N.forEach(function($,Q){var ne=gf(x.data,{graphicalItems:[$],dataStartIndex:k,dataEndIndex:E}),Z=$.type.defaultProps!==void 0?ie(ie({},$.type.defaultProps),$.props):$.props,ee=Z.dataKey,ge=Z.maxBarSize,xe=Z["".concat(P,"Id")],le=Z["".concat(V,"Id")],se={},be=u.reduce(function(dt,Ks){var vt,Ga,zt=D["".concat(Ks.axisType,"Map")],Fs=Z["".concat(Ks.axisType,"Id")];zt&&zt[Fs]||Ks.axisType==="zAxis"||wr(!1,"Specifying a(n) ".concat(Ks.axisType,"Id requires a corresponding ").concat(Ks.axisType,"Id on the targeted graphical component ").concat((vt=$==null||(Ga=$.type)===null||Ga===void 0?void 0:Ga.displayName)!==null&&vt!==void 0?vt:""));var _s=zt[Fs];return ie(ie({},dt),{},Re(Re({},Ks.axisType,_s),"".concat(Ks.axisType,"Ticks"),Wn(_s)))},se),te=be[V],ce=be["".concat(V,"Ticks")],he=C&&C[xe]&&C[xe].hasStack&&cce($,C[xe].stackGroups),R=Yn($.type).indexOf("Bar")>=0,ve=Ud(te,ce),J=[],ke=_&&Kue({barSize:U,stackGroups:C,totalSize:Wve(be,V)});if(R){var Ue,Ye,cs=Xe(ge)?w:ge,Ds=(Ue=(Ye=Ud(te,ce,!0))!==null&&Ye!==void 0?Ye:cs)!==null&&Ue!==void 0?Ue:0;J=Yue({barGap:H,barCategoryGap:j,bandSize:Ds!==ve?Ds:ve,sizeList:ke[le],maxBarSize:cs}),Ds!==ve&&(J=J.map(function(dt){return ie(ie({},dt),{},{position:ie(ie({},dt.position),{},{offset:dt.position.offset-Ds/2})})}))}var Wt=$&&$.type&&$.type.getComposedData;Wt&&O.push({props:ie(ie({},Wt(ie(ie({},be),{},{displayedData:ne,props:x,dataKey:ee,item:$,bandSize:ve,barPosition:J,offset:y,stackedData:he,layout:T,dataStartIndex:k,dataEndIndex:E}))),{},Re(Re(Re({key:$.key||"item-".concat(Q)},P,be[P]),V,be[V]),"animationId",G)),childIndex:zK($,x.children),item:$})}),O},f=function(x,D){var N=x.props,C=x.dataStartIndex,y=x.dataEndIndex,G=x.updateId;if(!l1({props:N}))return null;var k=N.children,E=N.layout,U=N.stackOffset,T=N.data,H=N.reverseStackOrder,j=Ik(E),w=j.numericAxisName,A=j.cateAxisName,P=en(k,n),V=oce(T,P,"".concat(w,"Id"),"".concat(A,"Id"),U,H),_=u.reduce(function(Z,ee){var ge="".concat(ee.axisType,"Map");return ie(ie({},Z),{},Re({},ge,$ve(N,ie(ie({},ee),{},{graphicalItems:P,stackGroups:ee.axisType===w&&V,dataStartIndex:C,dataEndIndex:y}))))},{}),O=qve(ie(ie({},_),{},{props:N,graphicalItems:P}),D?.legendBBox);Object.keys(_).forEach(function(Z){_[Z]=m(N,_[Z],O,Z.replace("Map",""),a)});var $=_["".concat(A,"Map")],Q=Fve($),ne=b(N,ie(ie({},_),{},{dataStartIndex:C,dataEndIndex:y,updateId:G,graphicalItems:P,stackGroups:V,offset:O}));return ie(ie({formattedGraphicalItems:ne,graphicalItems:P,offset:O,stackGroups:V},Q),_)},h=function(p){function x(D){var N,C,y;return kve(this,x),y=jve(this,x,[D]),Re(y,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),Re(y,"accessibilityManager",new mve),Re(y,"handleLegendBBoxUpdate",function(G){if(G){var k=y.state,E=k.dataStartIndex,U=k.dataEndIndex,T=k.updateId;y.setState(ie({legendBBox:G},f({props:y.props,dataStartIndex:E,dataEndIndex:U,updateId:T},ie(ie({},y.state),{},{legendBBox:G}))))}}),Re(y,"handleReceiveSyncEvent",function(G,k,E){if(y.props.syncId===G){if(E===y.eventEmitterSymbol&&typeof y.props.syncMethod!="function")return;y.applySyncEvent(k)}}),Re(y,"handleBrushChange",function(G){var k=G.startIndex,E=G.endIndex;if(k!==y.state.dataStartIndex||E!==y.state.dataEndIndex){var U=y.state.updateId;y.setState(function(){return ie({dataStartIndex:k,dataEndIndex:E},f({props:y.props,dataStartIndex:k,dataEndIndex:E,updateId:U},y.state))}),y.triggerSyncEvent({dataStartIndex:k,dataEndIndex:E})}}),Re(y,"handleMouseEnter",function(G){var k=y.getMouseInfo(G);if(k){var E=ie(ie({},k),{},{isTooltipActive:!0});y.setState(E),y.triggerSyncEvent(E);var U=y.props.onMouseEnter;ze(U)&&U(E,G)}}),Re(y,"triggeredAfterMouseMove",function(G){var k=y.getMouseInfo(G),E=k?ie(ie({},k),{},{isTooltipActive:!0}):{isTooltipActive:!1};y.setState(E),y.triggerSyncEvent(E);var U=y.props.onMouseMove;ze(U)&&U(E,G)}),Re(y,"handleItemMouseEnter",function(G){y.setState(function(){return{isTooltipActive:!0,activeItem:G,activePayload:G.tooltipPayload,activeCoordinate:G.tooltipPosition||{x:G.cx,y:G.cy}}})}),Re(y,"handleItemMouseLeave",function(){y.setState(function(){return{isTooltipActive:!1}})}),Re(y,"handleMouseMove",function(G){G.persist(),y.throttleTriggeredAfterMouseMove(G)}),Re(y,"handleMouseLeave",function(G){y.throttleTriggeredAfterMouseMove.cancel();var k={isTooltipActive:!1};y.setState(k),y.triggerSyncEvent(k);var E=y.props.onMouseLeave;ze(E)&&E(k,G)}),Re(y,"handleOuterEvent",function(G){var k=WK(G),E=Aa(y.props,"".concat(k));if(k&&ze(E)){var U,T;/.*touch.*/i.test(k)?T=y.getMouseInfo(G.changedTouches[0]):T=y.getMouseInfo(G),E((U=T)!==null&&U!==void 0?U:{},G)}}),Re(y,"handleClick",function(G){var k=y.getMouseInfo(G);if(k){var E=ie(ie({},k),{},{isTooltipActive:!0});y.setState(E),y.triggerSyncEvent(E);var U=y.props.onClick;ze(U)&&U(E,G)}}),Re(y,"handleMouseDown",function(G){var k=y.props.onMouseDown;if(ze(k)){var E=y.getMouseInfo(G);k(E,G)}}),Re(y,"handleMouseUp",function(G){var k=y.props.onMouseUp;if(ze(k)){var E=y.getMouseInfo(G);k(E,G)}}),Re(y,"handleTouchMove",function(G){G.changedTouches!=null&&G.changedTouches.length>0&&y.throttleTriggeredAfterMouseMove(G.changedTouches[0])}),Re(y,"handleTouchStart",function(G){G.changedTouches!=null&&G.changedTouches.length>0&&y.handleMouseDown(G.changedTouches[0])}),Re(y,"handleTouchEnd",function(G){G.changedTouches!=null&&G.changedTouches.length>0&&y.handleMouseUp(G.changedTouches[0])}),Re(y,"handleDoubleClick",function(G){var k=y.props.onDoubleClick;if(ze(k)){var E=y.getMouseInfo(G);k(E,G)}}),Re(y,"handleContextMenu",function(G){var k=y.props.onContextMenu;if(ze(k)){var E=y.getMouseInfo(G);k(E,G)}}),Re(y,"triggerSyncEvent",function(G){y.props.syncId!==void 0&&Tg.emit(_g,y.props.syncId,G,y.eventEmitterSymbol)}),Re(y,"applySyncEvent",function(G){var k=y.props,E=k.layout,U=k.syncMethod,T=y.state.updateId,H=G.dataStartIndex,j=G.dataEndIndex;if(G.dataStartIndex!==void 0||G.dataEndIndex!==void 0)y.setState(ie({dataStartIndex:H,dataEndIndex:j},f({props:y.props,dataStartIndex:H,dataEndIndex:j,updateId:T},y.state)));else if(G.activeTooltipIndex!==void 0){var w=G.chartX,A=G.chartY,P=G.activeTooltipIndex,V=y.state,_=V.offset,O=V.tooltipTicks;if(!_)return;if(typeof U=="function")P=U(O,G);else if(U==="value"){P=-1;for(var $=0;$<O.length;$++)if(O[$].value===G.activeLabel){P=$;break}}var Q=ie(ie({},_),{},{x:_.left,y:_.top}),ne=Math.min(w,Q.x+Q.width),Z=Math.min(A,Q.y+Q.height),ee=O[P]&&O[P].value,ge=bv(y.state,y.props.data,P),xe=O[P]?{x:E==="horizontal"?O[P].coordinate:ne,y:E==="horizontal"?Z:O[P].coordinate}:V3;y.setState(ie(ie({},G),{},{activeLabel:ee,activeCoordinate:xe,activePayload:ge,activeTooltipIndex:P}))}else y.setState(G)}),Re(y,"renderCursor",function(G){var k,E=y.state,U=E.isTooltipActive,T=E.activeCoordinate,H=E.activePayload,j=E.offset,w=E.activeTooltipIndex,A=E.tooltipAxisBandSize,P=y.getTooltipEventType(),V=(k=G.props.active)!==null&&k!==void 0?k:U,_=y.props.layout,O=G.key||"_recharts-cursor";return S.createElement(vve,{key:O,activeCoordinate:T,activePayload:H,activeTooltipIndex:w,chartName:a,element:G,isActive:V,layout:_,offset:j,tooltipAxisBandSize:A,tooltipEventType:P})}),Re(y,"renderPolarAxis",function(G,k,E){var U=Aa(G,"type.axisType"),T=Aa(y.state,"".concat(U,"Map")),H=G.type.defaultProps,j=H!==void 0?ie(ie({},H),G.props):G.props,w=T&&T[j["".concat(U,"Id")]];return v.cloneElement(G,ie(ie({},w),{},{className:es(U,w.className),key:G.key||"".concat(k,"-").concat(E),ticks:Wn(w,!0)}))}),Re(y,"renderPolarGrid",function(G){var k=G.props,E=k.radialLines,U=k.polarAngles,T=k.polarRadius,H=y.state,j=H.radiusAxisMap,w=H.angleAxisMap,A=yi(j),P=yi(w),V=P.cx,_=P.cy,O=P.innerRadius,$=P.outerRadius;return v.cloneElement(G,{polarAngles:Array.isArray(U)?U:Wn(P,!0).map(function(Q){return Q.coordinate}),polarRadius:Array.isArray(T)?T:Wn(A,!0).map(function(Q){return Q.coordinate}),cx:V,cy:_,innerRadius:O,outerRadius:$,key:G.key||"polar-grid",radialLines:E})}),Re(y,"renderLegend",function(){var G=y.state.formattedGraphicalItems,k=y.props,E=k.children,U=k.width,T=k.height,H=y.props.margin||{},j=U-(H.left||0)-(H.right||0),w=pV({children:E,formattedGraphicalItems:G,legendWidth:j,legendContent:c});if(!w)return null;var A=w.item,P=_k(w,Nve);return v.cloneElement(A,ie(ie({},P),{},{chartWidth:U,chartHeight:T,margin:H,onBBoxUpdate:y.handleLegendBBoxUpdate}))}),Re(y,"renderTooltip",function(){var G,k=y.props,E=k.children,U=k.accessibilityLayer,T=da(E,hn);if(!T)return null;var H=y.state,j=H.isTooltipActive,w=H.activeCoordinate,A=H.activePayload,P=H.activeLabel,V=H.offset,_=(G=T.props.active)!==null&&G!==void 0?G:j;return v.cloneElement(T,{viewBox:ie(ie({},V),{},{x:V.left,y:V.top}),active:_,label:P,payload:_?A:[],coordinate:w,accessibilityLayer:U})}),Re(y,"renderBrush",function(G){var k=y.props,E=k.margin,U=k.data,T=y.state,H=T.offset,j=T.dataStartIndex,w=T.dataEndIndex,A=T.updateId;return v.cloneElement(G,{key:G.key||"_recharts-brush",onChange:pm(y.handleBrushChange,G.props.onChange),data:U,x:Ne(G.props.x)?G.props.x:H.left,y:Ne(G.props.y)?G.props.y:H.top+H.height+H.brushBottom-(E.bottom||0),width:Ne(G.props.width)?G.props.width:H.width,startIndex:j,endIndex:w,updateId:"brush-".concat(A)})}),Re(y,"renderReferenceElement",function(G,k,E){if(!G)return null;var U=y,T=U.clipPathId,H=y.state,j=H.xAxisMap,w=H.yAxisMap,A=H.offset,P=G.type.defaultProps||{},V=G.props,_=V.xAxisId,O=_===void 0?P.xAxisId:_,$=V.yAxisId,Q=$===void 0?P.yAxisId:$;return v.cloneElement(G,{key:G.key||"".concat(k,"-").concat(E),xAxis:j[O],yAxis:w[Q],viewBox:{x:A.left,y:A.top,width:A.width,height:A.height},clipPathId:T})}),Re(y,"renderActivePoints",function(G){var k=G.item,E=G.activePoint,U=G.basePoint,T=G.childIndex,H=G.isRange,j=[],w=k.props.key,A=k.item.type.defaultProps!==void 0?ie(ie({},k.item.type.defaultProps),k.item.props):k.item.props,P=A.activeDot,V=A.dataKey,_=ie(ie({index:T,dataKey:V,cx:E.x,cy:E.y,r:4,fill:Fx(k.item),strokeWidth:2,stroke:"#fff",payload:E.payload,value:E.value},Ze(P,!1)),sd(P));return j.push(x.renderActiveDot(P,_,"".concat(w,"-activePoint-").concat(T))),U?j.push(x.renderActiveDot(P,ie(ie({},_),{},{cx:U.x,cy:U.y}),"".concat(w,"-basePoint-").concat(T))):H&&j.push(null),j}),Re(y,"renderGraphicChild",function(G,k,E){var U=y.filterFormatItem(G,k,E);if(!U)return null;var T=y.getTooltipEventType(),H=y.state,j=H.isTooltipActive,w=H.tooltipAxis,A=H.activeTooltipIndex,P=H.activeLabel,V=y.props.children,_=da(V,hn),O=U.props,$=O.points,Q=O.isRange,ne=O.baseLine,Z=U.item.type.defaultProps!==void 0?ie(ie({},U.item.type.defaultProps),U.item.props):U.item.props,ee=Z.activeDot,ge=Z.hide,xe=Z.activeBar,le=Z.activeShape,se=!!(!ge&&j&&_&&(ee||xe||le)),be={};T!=="axis"&&_&&_.props.trigger==="click"?be={onClick:pm(y.handleItemMouseEnter,G.props.onClick)}:T!=="axis"&&(be={onMouseLeave:pm(y.handleItemMouseLeave,G.props.onMouseLeave),onMouseEnter:pm(y.handleItemMouseEnter,G.props.onMouseEnter)});var te=v.cloneElement(G,ie(ie({},U.props),be));function ce(Ks){return typeof w.dataKey=="function"?w.dataKey(Ks.payload):null}if(se)if(A>=0){var he,R;if(w.dataKey&&!w.allowDuplicatedCategory){var ve=typeof w.dataKey=="function"?ce:"payload.".concat(w.dataKey.toString());he=ed($,ve,P),R=Q&&ne&&ed(ne,ve,P)}else he=$?.[A],R=Q&&ne&&ne[A];if(le||xe){var J=G.props.activeIndex!==void 0?G.props.activeIndex:A;return[v.cloneElement(G,ie(ie(ie({},U.props),be),{},{activeIndex:J})),null,null]}if(!Xe(he))return[te].concat(ll(y.renderActivePoints({item:U,activePoint:he,basePoint:R,childIndex:A,isRange:Q})))}else{var ke,Ue=(ke=y.getItemByXY(y.state.activeCoordinate))!==null&&ke!==void 0?ke:{graphicalItem:te},Ye=Ue.graphicalItem,cs=Ye.item,Ds=cs===void 0?G:cs,Wt=Ye.childIndex,dt=ie(ie(ie({},U.props),be),{},{activeIndex:Wt});return[v.cloneElement(Ds,dt),null,null]}return Q?[te,null,null]:[te,null]}),Re(y,"renderCustomized",function(G,k,E){return v.cloneElement(G,ie(ie({key:"recharts-customized-".concat(E)},y.props),y.state))}),Re(y,"renderMap",{CartesianGrid:{handler:Gm,once:!0},ReferenceArea:{handler:y.renderReferenceElement},ReferenceLine:{handler:Gm},ReferenceDot:{handler:y.renderReferenceElement},XAxis:{handler:Gm},YAxis:{handler:Gm},Brush:{handler:y.renderBrush,once:!0},Bar:{handler:y.renderGraphicChild},Line:{handler:y.renderGraphicChild},Area:{handler:y.renderGraphicChild},Radar:{handler:y.renderGraphicChild},RadialBar:{handler:y.renderGraphicChild},Scatter:{handler:y.renderGraphicChild},Pie:{handler:y.renderGraphicChild},Funnel:{handler:y.renderGraphicChild},Tooltip:{handler:y.renderCursor,once:!0},PolarGrid:{handler:y.renderPolarGrid,once:!0},PolarAngleAxis:{handler:y.renderPolarAxis},PolarRadiusAxis:{handler:y.renderPolarAxis},Customized:{handler:y.renderCustomized}}),y.clipPathId="".concat((N=D.id)!==null&&N!==void 0?N:Sc("recharts"),"-clip"),y.throttleTriggeredAfterMouseMove=gH(y.triggeredAfterMouseMove,(C=D.throttleDelay)!==null&&C!==void 0?C:1e3/60),y.state={},y}return Hve(x,p),Lve(x,[{key:"componentDidMount",value:function(){var N,C;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(N=this.props.margin.left)!==null&&N!==void 0?N:0,top:(C=this.props.margin.top)!==null&&C!==void 0?C:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var N=this.props,C=N.children,y=N.data,G=N.height,k=N.layout,E=da(C,hn);if(E){var U=E.props.defaultIndex;if(!(typeof U!="number"||U<0||U>this.state.tooltipTicks.length-1)){var T=this.state.tooltipTicks[U]&&this.state.tooltipTicks[U].value,H=bv(this.state,y,U,T),j=this.state.tooltipTicks[U].coordinate,w=(this.state.offset.top+G)/2,A=k==="horizontal",P=A?{x:j,y:w}:{y:j,x:w},V=this.state.formattedGraphicalItems.find(function(O){var $=O.item;return $.type.name==="Scatter"});V&&(P=ie(ie({},P),V.props.points[U].tooltipPosition),H=V.props.points[U].tooltipPayload);var _={activeTooltipIndex:U,isTooltipActive:!0,activeLabel:T,activePayload:H,activeCoordinate:P};this.setState(_),this.renderCursor(E),this.accessibilityManager.setIndex(U)}}}},{key:"getSnapshotBeforeUpdate",value:function(N,C){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==C.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==N.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==N.margin){var y,G;this.accessibilityManager.setDetails({offset:{left:(y=this.props.margin.left)!==null&&y!==void 0?y:0,top:(G=this.props.margin.top)!==null&&G!==void 0?G:0}})}return null}},{key:"componentDidUpdate",value:function(N){qp([da(N.children,hn)],[da(this.props.children,hn)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var N=da(this.props.children,hn);if(N&&typeof N.props.shared=="boolean"){var C=N.props.shared?"axis":"item";return l.indexOf(C)>=0?C:r}return r}},{key:"getMouseInfo",value:function(N){if(!this.container)return null;var C=this.container,y=C.getBoundingClientRect(),G=xie(y),k={chartX:Math.round(N.pageX-G.left),chartY:Math.round(N.pageY-G.top)},E=y.width/C.offsetWidth||1,U=this.inRange(k.chartX,k.chartY,E);if(!U)return null;var T=this.state,H=T.xAxisMap,j=T.yAxisMap,w=this.getTooltipEventType(),A=Mk(this.state,this.props.data,this.props.layout,U);if(w!=="axis"&&H&&j){var P=yi(H).scale,V=yi(j).scale,_=P&&P.invert?P.invert(k.chartX):null,O=V&&V.invert?V.invert(k.chartY):null;return ie(ie({},k),{},{xValue:_,yValue:O},A)}return A?ie(ie({},k),A):null}},{key:"inRange",value:function(N,C){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,G=this.props.layout,k=N/y,E=C/y;if(G==="horizontal"||G==="vertical"){var U=this.state.offset,T=k>=U.left&&k<=U.left+U.width&&E>=U.top&&E<=U.top+U.height;return T?{x:k,y:E}:null}var H=this.state,j=H.angleAxisMap,w=H.radiusAxisMap;if(j&&w){var A=yi(j);return NC({x:k,y:E},A)}return null}},{key:"parseEventsOfWrapper",value:function(){var N=this.props.children,C=this.getTooltipEventType(),y=da(N,hn),G={};y&&C==="axis"&&(y.props.trigger==="click"?G={onClick:this.handleClick}:G={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var k=sd(this.props,this.handleOuterEvent);return ie(ie({},k),G)}},{key:"addListener",value:function(){Tg.on(_g,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Tg.removeListener(_g,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(N,C,y){for(var G=this.state.formattedGraphicalItems,k=0,E=G.length;k<E;k++){var U=G[k];if(U.item===N||U.props.key===N.key||C===Yn(U.item.type)&&y===U.childIndex)return U}return null}},{key:"renderClipPath",value:function(){var N=this.clipPathId,C=this.state.offset,y=C.left,G=C.top,k=C.height,E=C.width;return S.createElement("defs",null,S.createElement("clipPath",{id:N},S.createElement("rect",{x:y,y:G,height:k,width:E})))}},{key:"getXScales",value:function(){var N=this.state.xAxisMap;return N?Object.entries(N).reduce(function(C,y){var G=Tk(y,2),k=G[0],E=G[1];return ie(ie({},C),{},Re({},k,E.scale))},{}):null}},{key:"getYScales",value:function(){var N=this.state.yAxisMap;return N?Object.entries(N).reduce(function(C,y){var G=Tk(y,2),k=G[0],E=G[1];return ie(ie({},C),{},Re({},k,E.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(N){var C;return(C=this.state.xAxisMap)===null||C===void 0||(C=C[N])===null||C===void 0?void 0:C.scale}},{key:"getYScaleByAxisId",value:function(N){var C;return(C=this.state.yAxisMap)===null||C===void 0||(C=C[N])===null||C===void 0?void 0:C.scale}},{key:"getItemByXY",value:function(N){var C=this.state,y=C.formattedGraphicalItems,G=C.activeItem;if(y&&y.length)for(var k=0,E=y.length;k<E;k++){var U=y[k],T=U.props,H=U.item,j=H.type.defaultProps!==void 0?ie(ie({},H.type.defaultProps),H.props):H.props,w=Yn(H.type);if(w==="Bar"){var A=(T.data||[]).find(function(O){return mbe(N,O)});if(A)return{graphicalItem:U,payload:A}}else if(w==="RadialBar"){var P=(T.data||[]).find(function(O){return NC(N,O)});if(P)return{graphicalItem:U,payload:P}}else if(of(U,G)||lf(U,G)||fc(U,G)){var V=ffe({graphicalItem:U,activeTooltipItem:G,itemData:j.data}),_=j.activeIndex===void 0?V:j.activeIndex;return{graphicalItem:ie(ie({},U),{},{childIndex:_}),payload:fc(U,G)?j.data[V]:U.props.data[V]}}}return null}},{key:"render",value:function(){var N=this;if(!l1(this))return null;var C=this.props,y=C.children,G=C.className,k=C.width,E=C.height,U=C.style,T=C.compact,H=C.title,j=C.desc,w=_k(C,xve),A=Ze(w,!1);if(T)return S.createElement(Nk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},S.createElement(zp,xo({},A,{width:k,height:E,title:H,desc:j}),this.renderClipPath(),c1(y,this.renderMap)));if(this.props.accessibilityLayer){var P,V;A.tabIndex=(P=this.props.tabIndex)!==null&&P!==void 0?P:0,A.role=(V=this.props.role)!==null&&V!==void 0?V:"application",A.onKeyDown=function(O){N.accessibilityManager.keyboardEvent(O)},A.onFocus=function(){N.accessibilityManager.focus()}}var _=this.parseEventsOfWrapper();return S.createElement(Nk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},S.createElement("div",xo({className:es("recharts-wrapper",G),style:ie({position:"relative",cursor:"default",width:k,height:E},U)},_,{ref:function($){N.container=$}}),S.createElement(zp,xo({},A,{width:k,height:E,title:H,desc:j,style:_ve}),this.renderClipPath(),c1(y,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])}(v.Component);Re(h,"displayName",a),Re(h,"defaultProps",ie({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},d)),Re(h,"getDerivedStateFromProps",function(p,x){var D=p.dataKey,N=p.data,C=p.children,y=p.width,G=p.height,k=p.layout,E=p.stackOffset,U=p.margin,T=x.dataStartIndex,H=x.dataEndIndex;if(x.updateId===void 0){var j=Ok(p);return ie(ie(ie({},j),{},{updateId:0},f(ie(ie({props:p},j),{},{updateId:0}),x)),{},{prevDataKey:D,prevData:N,prevWidth:y,prevHeight:G,prevLayout:k,prevStackOffset:E,prevMargin:U,prevChildren:C})}if(D!==x.prevDataKey||N!==x.prevData||y!==x.prevWidth||G!==x.prevHeight||k!==x.prevLayout||E!==x.prevStackOffset||!Eo(U,x.prevMargin)){var w=Ok(p),A={chartX:x.chartX,chartY:x.chartY,isTooltipActive:x.isTooltipActive},P=ie(ie({},Mk(x,N,k)),{},{updateId:x.updateId+1}),V=ie(ie(ie({},w),A),P);return ie(ie(ie({},V),f(ie({props:p},V),x)),{},{prevDataKey:D,prevData:N,prevWidth:y,prevHeight:G,prevLayout:k,prevStackOffset:E,prevMargin:U,prevChildren:C})}if(!qp(C,x.prevChildren)){var _,O,$,Q,ne=da(C,Zo),Z=ne&&(_=(O=ne.props)===null||O===void 0?void 0:O.startIndex)!==null&&_!==void 0?_:T,ee=ne&&($=(Q=ne.props)===null||Q===void 0?void 0:Q.endIndex)!==null&&$!==void 0?$:H,ge=Z!==T||ee!==H,xe=!Xe(N),le=xe&&!ge?x.updateId:x.updateId+1;return ie(ie({updateId:le},f(ie(ie({props:p},x),{},{updateId:le,dataStartIndex:Z,dataEndIndex:ee}),x)),{},{prevChildren:C,dataStartIndex:Z,dataEndIndex:ee})}return null}),Re(h,"renderActiveDot",function(p,x,D){var N;return v.isValidElement(p)?N=v.cloneElement(p,x):ze(p)?N=p(x):N=S.createElement(qx,x),S.createElement(Ws,{className:"recharts-active-dot",key:D},N)});var g=v.forwardRef(function(x,D){return S.createElement(h,xo({},x,{ref:D}))});return g.displayName=h.displayName,g},Kve=zve({chartName:"AreaChart",GraphicalChild:$i,axisComponents:[{axisType:"xAxis",AxisComp:ff},{axisType:"yAxis",AxisComp:sD}],formatAxisMap:Mge});const Yve={light:"",dark:".dark"},A3=v.createContext(null);function S3(){const e=v.useContext(A3);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}const T3=v.forwardRef(({id:e,className:s,children:a,config:n,...i},r)=>{const o=v.useId(),l=`chart-${e||o.replace(/:/g,"")}`;return t.jsxDEV(A3.Provider,{value:{config:n},children:t.jsxDEV("div",{"data-chart":l,ref:r,className:me("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",s),...i,children:[t.jsxDEV(Qve,{id:l,config:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:53,columnNumber:9},void 0),t.jsxDEV(bie,{children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:54,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:44,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:43,columnNumber:5},void 0)});T3.displayName="Chart";const Qve=({id:e,config:s})=>{const a=Object.entries(s).filter(([n,i])=>i.theme||i.color);return a.length?t.jsxDEV("style",{dangerouslySetInnerHTML:{__html:Object.entries(Yve).map(([n,i])=>`
${i} [data-chart=${e}] {
${a.map(([r,o])=>{const l=o.theme?.[n]||o.color;return l?`  --color-${r}: ${l};`:null}).join(`
`)}
}
`).join(`
`)}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:69,columnNumber:5},void 0):null},Zve=hn,_3=v.forwardRef(({active:e,payload:s,className:a,indicator:n="dot",hideLabel:i=!1,hideIndicator:r=!1,label:o,labelFormatter:l,labelClassName:u,formatter:c,color:m,nameKey:d,labelKey:b},f)=>{const{config:h}=S3(),g=v.useMemo(()=>{if(i||!s?.length)return null;const[x]=s,D=`${b||x.dataKey||x.name||"value"}`,N=fv(h,x,D),C=!b&&typeof o=="string"?h[o]?.label||o:N?.label;return l?t.jsxDEV("div",{className:me("font-medium",u),children:l(C,s)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:137,columnNumber:16},void 0):C?t.jsxDEV("div",{className:me("font-medium",u),children:C},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:144,columnNumber:14},void 0):null},[o,l,s,i,u,h,b]);if(!e||!s?.length)return null;const p=s.length===1&&n!=="dot";return t.jsxDEV("div",{ref:f,className:me("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",a),children:[p?null:g,t.jsxDEV("div",{className:"grid gap-1.5",children:s.map((x,D)=>{const N=`${d||x.name||x.dataKey||"value"}`,C=fv(h,x,N),y=m||x.payload.fill||x.color;return t.jsxDEV("div",{className:me("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",n==="dot"&&"items-center"),children:c&&x?.value!==void 0&&x.name?c(x.value,x.name,x,D,x.payload):t.jsxDEV(t.Fragment,{children:[C?.icon?t.jsxDEV(C.icon,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:181,columnNumber:23},void 0):!r&&t.jsxDEV("div",{className:me("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":n==="dot","w-1":n==="line","w-0 border-[1.5px] border-dashed bg-transparent":n==="dashed","my-0.5":p&&n==="dashed"}),style:{"--color-bg":y,"--color-border":y}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:184,columnNumber:25},void 0),t.jsxDEV("div",{className:me("flex flex-1 justify-between leading-none",p?"items-end":"items-center"),children:[t.jsxDEV("div",{className:"grid gap-1.5",children:[p?g:null,t.jsxDEV("span",{className:"text-muted-foreground",children:C?.label||x.name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:208,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:206,columnNumber:23},void 0),x.value&&t.jsxDEV("span",{className:"font-mono font-medium tabular-nums text-foreground",children:x.value.toLocaleString()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:211,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:200,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:179,columnNumber:19},void 0)},x.dataKey,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:169,columnNumber:15},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:162,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:154,columnNumber:7},void 0)});_3.displayName="ChartTooltip";const Xve=v.forwardRef(({className:e,hideIcon:s=!1,payload:a,verticalAlign:n="bottom",nameKey:i},r)=>{const{config:o}=S3();return a?.length?t.jsxDEV("div",{ref:r,className:me("flex items-center justify-center gap-4",n==="top"?"pb-3":"pt-3",e),children:a.map(l=>{const u=`${i||l.dataKey||"value"}`,c=fv(o,l,u);return t.jsxDEV("div",{className:me("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[c?.icon&&!s?t.jsxDEV(c.icon,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:259,columnNumber:15},void 0):t.jsxDEV("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:l.color}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:261,columnNumber:15},void 0),c?.label]},l.value,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:254,columnNumber:11},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/chart.tsx",lineNumber:245,columnNumber:5},void 0):null});Xve.displayName="ChartLegend";function fv(e,s,a){if(typeof s!="object"||s===null)return;const n="payload"in s&&typeof s.payload=="object"&&s.payload!==null?s.payload:void 0;let i=a;return a in s&&typeof s[a]=="string"?i=s[a]:n&&a in n&&typeof n[a]=="string"&&(i=n[a]),i in e?e[i]:e[a]}const Jve=[{label:"Investment options",href:"#products"},{label:"Benefits",href:"#benefits"},{label:"Portfolio performance",href:"#performance"},{label:"Holdings",href:"#holdings"},{label:"How to start",href:"#process"},{label:"Contact us",href:"/contact"}],$k=e=>new Intl.NumberFormat(void 0,{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e),eNe={value:{label:"Portfolio Value",color:"hsl(var(--chart-1))"}},sNe=[{month:"Jan",value:12e3},{month:"Feb",value:13250},{month:"Mar",value:14800},{month:"Apr",value:15600},{month:"May",value:17050},{month:"Jun",value:18200},{month:"Jul",value:19450},{month:"Aug",value:20800},{month:"Sep",value:20250},{month:"Oct",value:21900}],Fk=[{symbol:"AAPL",name:"Apple Inc.",class:"Equity",allocation:16.4,ytd:12.3,price:192.14},{symbol:"TGI",name:"Tech Giant Inc",class:"Equity",allocation:14.1,ytd:15.1,price:414.32},{symbol:"VOO",name:"Vanguard S&P 500",class:"ETF",allocation:22.7,ytd:10.4,price:489.21},{symbol:"BND",name:"Vanguard Total Bond",class:"ETF",allocation:9.5,ytd:3.2,price:73.45},{symbol:"GLD",name:"SPDR Gold Trust",class:"Commodity",allocation:6.9,ytd:7.9,price:205.88}],tNe=[{title:"Managed Portfolio",description:"Professionally managed investment portfolio tailored to your risk tolerance and goals",minimumInvestment:"€5,000",managementFee:"0.85% p.a.",features:["Professional management","Diversified across asset classes","Regular rebalancing","Performance reporting","Tax optimization","Risk management"],icon:br,popular:!0},{title:"Self-Directed Trading",description:"Full control over your investments with advanced trading tools and research",minimumInvestment:"€1,000",managementFee:"0.25% p.a.",features:["Advanced trading platform","Real-time market data","Research tools","Mobile trading app","Educational resources","24/7 customer support"],icon:yu,popular:!1},{title:"Retirement Planning",description:"Specialized retirement accounts with tax advantages and long-term growth strategies",minimumInvestment:"€2,000",managementFee:"0.75% p.a.",features:["Tax-advantaged accounts","Retirement calculators","Auto-rebalancing","Contribution tracking","Withdrawal planning","Estate planning"],icon:wt,popular:!1},{title:"Ethical Investing",description:"Socially responsible investment options that align with your values and ethics",minimumInvestment:"€3,000",managementFee:"0.95% p.a.",features:["ESG screening","Impact reporting","Sustainable companies","Green bonds","Clean energy focus","Transparency reports"],icon:ub,popular:!1}],aNe=[{title:"Expert management",description:"Professional investment managers with decades of experience and proven track records",icon:Cs},{title:"Diversification",description:"Spread your investments across multiple asset classes to reduce risk and optimize returns",icon:Ke},{title:"Advanced tools",description:"Access to professional-grade research, analytics, and portfolio management tools",icon:yu},{title:"Tax optimization",description:"Strategic tax planning and optimization to maximize your after-tax returns",icon:Se}],nNe=[{title:"Real-time reporting",description:"Live portfolio updates and performance tracking across all your devices"},{title:"Risk management",description:"Advanced risk assessment tools and portfolio stress testing capabilities"},{title:"Automated rebalancing",description:"Maintain your target asset allocation with automatic portfolio rebalancing"},{title:"Educational resources",description:"Comprehensive learning materials and webinars to enhance your investment knowledge"},{title:"Mobile access",description:"Full-featured mobile app for portfolio management on the go"},{title:"24/7 support",description:"Round-the-clock customer service from our investment specialists"}],iNe=[{step:"01",title:"Complete assessment",description:"Tell us about your financial goals, risk tolerance, and investment timeline",icon:wt},{step:"02",title:"Choose strategy",description:"Select from our range of professionally managed portfolios or self-directed options",icon:Se},{step:"03",title:"Fund account",description:"Transfer funds securely and start investing in your chosen strategy",icon:Pr},{step:"04",title:"Monitor & grow",description:"Track performance and adjust your strategy as your needs evolve",icon:Ke}],rNe=[{title:"Take risk assessment",description:"Complete our investment questionnaire to find the right strategy",actionLabel:"Start assessment",href:"/contact",icon:Se},{title:"Schedule consultation",description:"Speak with our investment advisors about your financial goals",actionLabel:"Book consultation",href:"/contact",icon:Cs},{title:"Open investment account",description:"Start investing today with our simple online application",actionLabel:"Open account",href:"/contact",icon:js}],ym=({label:e,value:s,delta:a})=>t.jsxDEV(F,{className:"relative overflow-hidden border-0 bg-white shadow-lg",children:[t.jsxDEV("div",{className:"pointer-events-none absolute inset-0 bg-gradient-to-tr from-emerald-50 to-transparent"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:221,columnNumber:5},void 0),t.jsxDEV(z,{className:"pb-2",children:[t.jsxDEV(st,{className:"text-xs uppercase tracking-wide text-muted-foreground",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:223,columnNumber:7},void 0),t.jsxDEV(K,{className:"text-2xl font-bold text-emerald-900",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:224,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:222,columnNumber:5},void 0),a?t.jsxDEV(B,{className:"pt-0",children:t.jsxDEV("div",{className:"inline-flex items-center gap-1 text-xs text-emerald-600",children:[t.jsxDEV(Sa,{className:"h-3.5 w-3.5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:229,columnNumber:11},void 0),a]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:228,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:227,columnNumber:7},void 0):null]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:220,columnNumber:3},void 0),oNe=()=>t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:240,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-600 via-emerald-700 to-emerald-800",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-[url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80')] bg-cover bg-center bg-no-repeat opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:244,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-600/90 via-emerald-700/80 to-emerald-800/70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:245,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-16 md:py-20 lg:py-24 relative z-10",children:t.jsxDEV("div",{className:"grid gap-8 lg:grid-cols-2 lg:gap-12 items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Investment solutions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:250,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight text-white md:text-5xl",children:"Grow your wealth with smart investing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:253,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Access professional investment management, diversified portfolios, and advanced tools to help you achieve your financial goals with confidence."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:256,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Start investing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:261,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:260,columnNumber:19},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/calculators/investment",children:"Calculate returns"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:264,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:263,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:259,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:249,columnNumber:15},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80",alt:"Investment portfolio and wealth management",className:"h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:269,columnNumber:17},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:276,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:268,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:248,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:247,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:243,columnNumber:9},void 0),t.jsxDEV(Ts,{items:Jve,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:282,columnNumber:9},void 0),t.jsxDEV("section",{id:"products",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Investment options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:287,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Choose from our range of professionally managed investment solutions designed to help you achieve your financial objectives."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:290,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:286,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:tNe.map(e=>t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:299,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:298,columnNumber:21},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:305,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:304,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:308,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:309,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:307,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:303,columnNumber:21},void 0),t.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Minimum investment"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:314,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.minimumInvestment},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:315,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:313,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Management fee"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:318,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.managementFee},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:319,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:317,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:312,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:302,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Key features:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:325,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(s=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(js,{className:"h-4 w-4 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:329,columnNumber:29},void 0),s]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:328,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:326,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:324,columnNumber:21},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:336,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:335,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:323,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:296,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:294,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:285,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:284,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why choose Gates Capital Banking investments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:348,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our investment solutions offer professional management, advanced tools, and personalized strategies to help you build wealth."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:351,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:347,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:aNe.map(e=>t.jsxDEV("div",{className:"space-y-4 rounded-2xl bg-white p-6 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:359,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:358,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:362,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:363,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:361,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:357,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:355,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:346,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:345,columnNumber:9},void 0),t.jsxDEV("section",{id:"performance",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Portfolio performance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:374,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Track your investment performance with real-time updates and comprehensive reporting across all your holdings."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:377,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:373,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 lg:grid-cols-3",children:[t.jsxDEV("div",{className:"lg:col-span-2",children:t.jsxDEV(F,{className:"h-full",children:[t.jsxDEV(z,{className:"pb-2",children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Ke,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:386,columnNumber:23},void 0),"Portfolio growth"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:385,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:384,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV(T3,{config:eNe,className:"aspect-[16/9]",children:t.jsxDEV(Kve,{data:sNe,margin:{left:12,right:12},children:[t.jsxDEV("defs",{children:t.jsxDEV("linearGradient",{id:"fillValue",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsxDEV("stop",{offset:"5%",stopColor:"#059669",stopOpacity:.35},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:395,columnNumber:29},void 0),t.jsxDEV("stop",{offset:"95%",stopColor:"#059669",stopOpacity:.05},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:396,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:394,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:393,columnNumber:25},void 0),t.jsxDEV(g3,{vertical:!1,strokeDasharray:"3 3",className:"stroke-muted"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:399,columnNumber:25},void 0),t.jsxDEV(ff,{dataKey:"month",tickLine:!1,axisLine:!1,tickMargin:8},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:400,columnNumber:25},void 0),t.jsxDEV($i,{dataKey:"value",type:"monotone",fill:"url(#fillValue)",stroke:"#059669",strokeWidth:2,dot:!1,activeDot:{r:5}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:401,columnNumber:25},void 0),t.jsxDEV(Zve,{cursor:!1,content:t.jsxDEV(_3,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:402,columnNumber:63},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:402,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:392,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:391,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:390,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:383,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:382,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(ym,{label:"Portfolio Value",value:$k(21900),delta:"+12.8% YTD"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:409,columnNumber:17},void 0),t.jsxDEV(ym,{label:"24H Change",value:"+1.1%"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:410,columnNumber:17},void 0),t.jsxDEV(ym,{label:"Risk Score",value:"Moderate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:411,columnNumber:17},void 0),t.jsxDEV(ym,{label:"Holdings",value:String(Fk.length)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:412,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:408,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:381,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:372,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:371,columnNumber:9},void 0),t.jsxDEV("section",{id:"holdings",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Portfolio allocation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:421,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Diversified across multiple asset classes to optimize risk-adjusted returns and achieve your investment objectives."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:424,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:420,columnNumber:13},void 0),t.jsxDEV("div",{className:"mx-auto max-w-4xl space-y-8",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Asset allocation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:431,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:430,columnNumber:17},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"mb-2 flex items-center justify-between text-sm",children:[t.jsxDEV("span",{className:"font-medium text-emerald-900",children:"Equities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:436,columnNumber:23},void 0),t.jsxDEV("span",{className:"text-muted-foreground",children:"61%"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:437,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:435,columnNumber:21},void 0),t.jsxDEV(uo,{value:61,className:"h-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:439,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:434,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"mb-2 flex items-center justify-between text-sm",children:[t.jsxDEV("span",{className:"font-medium text-emerald-900",children:"Fixed Income"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:443,columnNumber:23},void 0),t.jsxDEV("span",{className:"text-muted-foreground",children:"19%"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:444,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:442,columnNumber:21},void 0),t.jsxDEV(uo,{value:19,className:"h-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:446,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:441,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"mb-2 flex items-center justify-between text-sm",children:[t.jsxDEV("span",{className:"font-medium text-emerald-900",children:"Commodities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:450,columnNumber:23},void 0),t.jsxDEV("span",{className:"text-muted-foreground",children:"9%"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:451,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:449,columnNumber:21},void 0),t.jsxDEV(uo,{value:9,className:"h-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:453,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:448,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"mb-2 flex items-center justify-between text-sm",children:[t.jsxDEV("span",{className:"font-medium text-emerald-900",children:"International"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:457,columnNumber:23},void 0),t.jsxDEV("span",{className:"text-muted-foreground",children:"11%"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:458,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:456,columnNumber:21},void 0),t.jsxDEV(uo,{value:11,className:"h-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:460,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:455,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:433,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:429,columnNumber:15},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Current holdings"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:467,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:466,columnNumber:17},void 0),t.jsxDEV(B,{children:t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{className:"w-[120px]",children:"Symbol"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:473,columnNumber:25},void 0),t.jsxDEV(pe,{children:"Asset"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:474,columnNumber:25},void 0),t.jsxDEV(pe,{children:"Class"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:475,columnNumber:25},void 0),t.jsxDEV(pe,{children:"Allocation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:476,columnNumber:25},void 0),t.jsxDEV(pe,{className:"text-right",children:"YTD"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:477,columnNumber:25},void 0),t.jsxDEV(pe,{className:"text-right",children:"Price"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:478,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:472,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:471,columnNumber:21},void 0),t.jsxDEV(Os,{children:Fk.map(e=>t.jsxDEV(Ee,{className:"hover:bg-muted/40",children:[t.jsxDEV(X,{children:t.jsxDEV(He,{variant:"outline",className:"font-mono",children:e.symbol},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:485,columnNumber:29},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:484,columnNumber:27},void 0),t.jsxDEV(X,{className:"font-medium",children:e.name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:487,columnNumber:27},void 0),t.jsxDEV(X,{children:t.jsxDEV(He,{variant:"secondary",children:e.class},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:488,columnNumber:38},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:488,columnNumber:27},void 0),t.jsxDEV(X,{className:"w-[220px]",children:t.jsxDEV(zv,{children:t.jsxDEV(w2,{children:[t.jsxDEV(U2,{asChild:!0,children:t.jsxDEV("div",{children:t.jsxDEV(uo,{value:e.allocation,className:"h-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:493,columnNumber:40},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:493,columnNumber:35},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:492,columnNumber:33},void 0),t.jsxDEV(Kv,{children:[e.allocation,"% of portfolio"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:495,columnNumber:33},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:491,columnNumber:31},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:490,columnNumber:29},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:489,columnNumber:27},void 0),t.jsxDEV(X,{className:"text-right",children:t.jsxDEV("span",{className:e.ytd>=0?"text-emerald-600":"text-red-600",children:[e.ytd>=0?"+":"",e.ytd,"%"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:500,columnNumber:29},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:499,columnNumber:27},void 0),t.jsxDEV(X,{className:"text-right font-medium",children:$k(e.price)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:504,columnNumber:27},void 0)]},e.symbol,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:483,columnNumber:25},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:481,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:470,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:469,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:465,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:428,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:419,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:418,columnNumber:9},void 0),t.jsxDEV("section",{id:"features",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Investment features"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:518,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Advanced investment tools and resources to help you make informed decisions and optimize your portfolio performance."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:521,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:517,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:nNe.map(e=>t.jsxDEV("div",{className:"space-y-4 rounded-2xl border border-emerald-100 bg-emerald-50/50 p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(js,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:529,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:528,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:532,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:533,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:531,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:527,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:525,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:516,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:515,columnNumber:9},void 0),t.jsxDEV("section",{id:"process",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How to start investing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:544,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our simple process makes it easy to start investing and begin building your wealth with professional guidance."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:547,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:543,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:iNe.map((e,s)=>t.jsxDEV("div",{className:"relative space-y-4 text-center",children:[t.jsxDEV("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV("span",{className:"text-lg font-bold",children:e.step},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:555,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:554,columnNumber:19},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:558,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:559,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:557,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:553,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:551,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:542,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:541,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4 py-16",children:t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Ready to start investing?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:570,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Our investment specialists are here to help you build a portfolio that matches your goals and risk tolerance. Start your wealth-building journey today."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:571,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:rNe.map(e=>t.jsxDEV("div",{className:"flex items-center gap-4 rounded-2xl border border-white/10 bg-white/10 p-4",children:[t.jsxDEV(e.icon,{className:"h-6 w-6 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:580,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("p",{className:"text-sm font-medium",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:582,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-xs text-emerald-100",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:583,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:581,columnNumber:21},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-amber-300",asChild:!0,children:e.href.startsWith("http")||e.href.startsWith("tel")||e.href.startsWith("mailto")?t.jsxDEV("a",{href:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:587,columnNumber:25},void 0):t.jsxDEV(I,{to:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:589,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:585,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:576,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:574,columnNumber:15},void 0),t.jsxDEV(L,{className:"w-full bg-amber-400 text-black hover:bg-amber-300",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Start your investment journey"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:596,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:595,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:569,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:568,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:567,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Need investment advice?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:605,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Whether you're new to investing or looking to optimize your existing portfolio, our experienced investment advisors are here to provide personalized guidance and help you achieve your financial goals."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:608,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:611,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Speak to an advisor"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:614,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:613,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/calculators/investment",children:"Calculate returns"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:617,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:616,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:612,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:604,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Investment advisor",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:623,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:622,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:621,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:603,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:602,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:242,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:634,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/personal/Investments.tsx",lineNumber:239,columnNumber:5},void 0),lNe=[{label:"Why choose us",href:"#reasons"},{label:"Account solutions",href:"#solutions"},{label:"Features",href:"#features"},{label:"Get started",href:"#get-started"},{label:"Next steps",href:"#next-steps"},{label:"FAQs",href:"#faqs"},{label:"Contact us",href:"/contact"}],uNe=[{title:"Multi-user access",description:"Grant secure access to team members with role-based permissions and approval workflows.",icon:Cs},{title:"Mobile banking",description:"Bank on the go with our business mobile app featuring biometric login and real-time notifications.",icon:Ft},{title:"Fast approvals",description:"Streamlined processes and quick decisions on applications to keep your business moving.",icon:xa},{title:"Dedicated support",description:"Work with a relationship manager who understands your business and stays with you long-term.",icon:bl}],cNe=[{title:"Business Transaction Account",description:"Perfect for day-to-day business operations with unlimited transactions.",image:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",href:"/business/banking"},{title:"Business Savings",description:"Competitive interest rates on your business savings to grow your capital.",image:"https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",href:"/business/banking"},{title:"Premium Business Account",description:"Advanced features for growing businesses with higher transaction volumes.",image:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",href:"/business/banking"}],mNe=[{title:"Unlimited transactions",description:"No transaction limits on eligible accounts, giving you freedom to operate without restrictions."},{title:"Online & mobile banking",description:"Full-featured digital banking with multi-user access and approval workflows."},{title:"Advanced reporting",description:"Customizable dashboards and financial insights to make informed business decisions."},{title:"Integration ready",description:"Seamless integration with popular accounting software and payment platforms."}],dNe=[{title:"01. Choose",description:"Select the business account type that matches your needs and transaction volume.",icon:Se},{title:"02. Apply",description:"Complete our online application with your business details and required documents.",icon:fl},{title:"03. Start banking",description:"Get approved and start using your business account with full online banking access.",icon:Ar}],bNe=[{title:"Find a specialist",description:"Connect with a Gates Capital Banking Business Manager for personalized banking solutions.",actionLabel:"Find a specialist",icon:Ss,href:"/contact"},{title:"Call us",description:"Speak with business banking experts Monday to Friday, 8am-6pm.",actionLabel:"+48 732 123 213",icon:ss,href:"tel:+48732123213"},{title:"Email us",description:"Share your business banking requirements and receive a response within one business day.",actionLabel:"info@gatescbank.com",icon:Ss,href:"mailto:info@gatescbank.com"}],fNe=["How do I open a business account with Gates Capital Banking?","What are the fees for business banking services?","Can I give multiple employees access to the business account?","How do I integrate business banking with my accounting software?"],gNe=["Register for business internet banking","Log in to business internet banking","Download the Gates Capital Banking Business app","I need help with my business password"],pNe=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:180,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:184,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto grid gap-8 md:gap-12 px-4 py-12 md:py-16 lg:grid-cols-[minmax(0,1fr)_480px] lg:items-center lg:py-24",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Business banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:187,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Business banking solutions tailored to your needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:190,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Access comprehensive banking services with unlimited transactions, multi-user access, and advanced tools designed to help your business thrive."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:193,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:199,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:198,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Find an expert"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:202,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:201,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:197,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:186,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80",alt:"Team of business professionals reviewing dashboards together",className:"h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:207,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:214,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:206,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:185,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:183,columnNumber:9},void 0),t.jsxDEV(Ts,{items:lNe,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:219,columnNumber:9},void 0),t.jsxDEV("section",{id:"reasons",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why businesses choose Gates Capital Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:224,columnNumber:15},void 0),t.jsxDEV("div",{className:"mx-auto mt-4 h-1 w-24 rounded-full bg-amber-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:227,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:223,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-2",children:uNe.map(({title:e,description:s,icon:a})=>t.jsxDEV("div",{className:"flex gap-5 rounded-2xl border border-emerald-50 bg-emerald-50/60 p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-14 w-14 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:236,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:235,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:239,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:240,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:238,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:231,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:229,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:222,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:221,columnNumber:9},void 0),t.jsxDEV("section",{id:"solutions",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Business account solutions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:251,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Choose from our comprehensive range of business banking accounts designed to support your operations and manage cash flow."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:254,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:250,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-3",children:cNe.map(e=>t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg",children:[t.jsxDEV("div",{className:"h-56 w-full overflow-hidden",children:t.jsxDEV("img",{src:e.image,alt:e.title,className:"h-full w-full object-cover transition duration-500 hover:scale-105"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:263,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:262,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-3 p-4 md:space-y-4 md:p-6",children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:270,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:271,columnNumber:21},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-700",asChild:!0,children:t.jsxDEV(I,{to:e.href,children:["Learn more",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:275,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:273,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:272,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:269,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:261,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:259,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:249,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:248,columnNumber:9},void 0),t.jsxDEV("section",{id:"features",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-8 md:gap-12 px-4 lg:grid-cols-[1fr_1.2fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Banking features for businesses"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:288,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Powerful tools and features designed to streamline your business operations and keep you in control of your finances."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:291,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Speak to an expert"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:296,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:295,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:287,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4 rounded-3xl border border-emerald-100 bg-emerald-50/40 p-6",children:mNe.map(e=>t.jsxDEV("div",{className:"flex items-start gap-4 rounded-2xl border border-transparent bg-white/70 p-4 md:p-5 transition hover:border-emerald-200 hover:bg-white",children:[t.jsxDEV(Sr,{className:"mt-1 h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:305,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:307,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:308,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:306,columnNumber:19},void 0),t.jsxDEV(_e,{className:"ml-auto mt-1 h-5 w-5 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:310,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:301,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:299,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:286,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:285,columnNumber:9},void 0),t.jsxDEV("section",{id:"get-started",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-8 md:space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Get started with business banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:320,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:319,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-3",children:dNe.map(({title:e,description:s,icon:a})=>t.jsxDEV("div",{className:"flex flex-col items-center rounded-3xl bg-white p-6 md:p-8 text-center shadow-lg",children:[t.jsxDEV("div",{className:"mb-5 flex h-20 w-20 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:331,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:330,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:333,columnNumber:19},void 0),t.jsxDEV("p",{className:"mt-3 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:334,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:326,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:324,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:318,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:317,columnNumber:9},void 0),t.jsxDEV("section",{id:"next-steps",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Next steps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:344,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:343,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-3",children:bNe.map(({title:e,description:s,actionLabel:a,icon:n,href:i})=>t.jsxDEV("div",{className:"flex flex-col gap-3 md:gap-4 rounded-3xl border border-emerald-100 bg-emerald-50/60 p-5 md:p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(n,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:353,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:352,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:355,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:356,columnNumber:19},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-700",asChild:!0,children:i.startsWith("http")||i.startsWith("tel")||i.startsWith("mailto")?t.jsxDEV("a",{href:i,children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:359,columnNumber:23},void 0):t.jsxDEV(I,{to:i,children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:361,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:357,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:348,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:346,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:342,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:341,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold text-emerald-900 md:text-3xl",children:"Frequently asked questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:373,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:fNe.map(e=>t.jsxDEV("div",{className:"flex items-center justify-between rounded-2xl border border-emerald-100 bg-emerald-50/80 px-5 py-4",children:[t.jsxDEV("span",{className:"text-sm font-medium text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:379,columnNumber:21},void 0),t.jsxDEV(_e,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:380,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:378,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:376,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:372,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4 md:space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Manage your business accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:386,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Quick access to business banking tools and support whenever you need them."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:387,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4",children:gNe.map(e=>t.jsxDEV("div",{className:"flex items-center justify-between rounded-2xl border border-white/10 bg-white/10 px-4 py-3 md:px-5 md:py-4",children:[t.jsxDEV("span",{className:"text-sm font-medium",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:396,columnNumber:21},void 0),t.jsxDEV(_e,{className:"h-5 w-5 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:397,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:392,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:390,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:385,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:371,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:370,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Ready to grow your business?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:408,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Whether you're starting up, scaling up, or optimizing operations, our business banking specialists are here to support your journey with expert guidance and tailored solutions."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:411,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:415,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact us today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:418,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:417,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/business/online-banking",children:"Explore online banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:421,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:420,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:416,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:407,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Business banking specialist",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:427,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:426,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:425,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:406,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:405,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:182,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:438,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Banking.tsx",lineNumber:179,columnNumber:5},void 0),hNe=[{label:"Loan products",href:"#products"},{label:"Benefits",href:"#benefits"},{label:"Interest rates",href:"#rates"},{label:"How it works",href:"#process"},{label:"FAQs",href:"#faqs"},{label:"Contact us",href:"/contact"}],vNe=[{title:"Business Term Loan",description:"Fixed-rate loans for business expansion, equipment purchase, or working capital",interestRate:"From 5.49% p.a.",minimumAmount:"$50,000",features:["Fixed interest rates","Flexible terms","No early repayment fees","Quick approval"],icon:jt,popular:!0},{title:"Business Line of Credit",description:"Flexible credit facility for ongoing business needs and cash flow management",interestRate:"From 6.25% p.a.",minimumAmount:"$25,000",features:["Draw funds as needed","Interest on used amount only","Revolving credit","Online management"],icon:Xs,popular:!1},{title:"Equipment Finance",description:"Specialized loans for business equipment, vehicles, and technology purchases",interestRate:"From 4.99% p.a.",minimumAmount:"$10,000",features:["Asset-backed security","Competitive rates","Flexible terms","Tax benefits"],icon:mt,popular:!1},{title:"Commercial Property Loan",description:"Long-term financing for commercial real estate purchases and development",interestRate:"From 5.75% p.a.",minimumAmount:"$100,000",features:["Long-term financing","Competitive rates","Flexible repayment","Property investment"],icon:Pr,popular:!1}],NNe=[{title:"Competitive rates",description:"Market-leading interest rates that help reduce your borrowing costs and improve cash flow",icon:Ke},{title:"Flexible terms",description:"Choose from various loan terms and repayment options to match your business needs",icon:xa},{title:"Quick approval",description:"Streamlined application process with fast decisions to keep your business moving",icon:Cn},{title:"Dedicated support",description:"Work with experienced business lending specialists who understand your industry",icon:Cs},{title:"No hidden fees",description:"Transparent pricing with no application fees, establishment fees, or hidden charges",icon:js},{title:"Online management",description:"Manage your loan through our secure online banking platform and mobile app",icon:wt}],xNe=[{term:"6 months",rate:"5.49%",minimum:"$50,000"},{term:"12 months",rate:"5.75%",minimum:"$50,000"},{term:"24 months",rate:"6.25%",minimum:"$100,000"},{term:"36 months",rate:"6.50%",minimum:"$100,000"},{term:"60 months",rate:"6.75%",minimum:"$250,000"},{term:"120 months",rate:"7.25%",minimum:"$500,000"}],DNe=[{title:"Pre-approval",description:"Get pre-approved to understand your borrowing capacity and strengthen your position",icon:Se},{title:"Application",description:"Complete our streamlined application with your business details and financial information",icon:jt},{title:"Assessment",description:"Our specialists review your application and may request additional documentation",icon:mt},{title:"Approval & Settlement",description:"Receive approval and access your funds to grow your business",icon:js}],Bk=[{question:"What is the minimum loan amount for business loans?",answer:"Our business loans start from $10,000 for equipment finance, $25,000 for lines of credit, and $50,000 for term loans. Higher amounts may qualify for better rates."},{question:"How long does the loan approval process take?",answer:"Pre-approval can be completed within 24 hours, while full approval typically takes 3-5 business days for standard applications. Complex applications may take longer."},{question:"What documents do I need to apply for a business loan?",answer:"You'll need business financial statements, tax returns, bank statements, business plan, and details about the loan purpose. Our team will guide you through the requirements."},{question:"Can I make extra repayments on my business loan?",answer:"Yes, most of our business loans allow extra repayments without penalty, helping you pay off your loan faster and save on interest."},{question:"What security is required for business loans?",answer:"Security requirements vary by loan type and amount. Some loans may be unsecured, while others may require business assets, property, or personal guarantees."}],GNe=[{title:"Get pre-approved",description:"Start with our quick pre-approval process to understand your borrowing capacity",actionLabel:"Apply for pre-approval",icon:Se,href:"/contact"},{title:"Speak to a specialist",description:"Connect with our business lending specialists for personalized advice",actionLabel:"Find a specialist",icon:Ss,href:"/contact"},{title:"Call us",description:"Speak with business lending experts Monday to Friday, 8am-6pm",actionLabel:"+48 732 123 213",icon:ss,href:"tel:+48732123213"}],yNe=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:194,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:198,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto grid gap-8 md:gap-12 px-4 py-12 md:py-16 lg:grid-cols-[minmax(0,1fr)_480px] lg:items-center lg:py-24",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Business loans"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:201,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Business loans to fuel your growth"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:204,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Access flexible financing solutions with competitive rates, quick approval, and dedicated support to help your business thrive and expand."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:207,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:212,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:211,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get pre-approved"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:215,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:214,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:210,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:200,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80",alt:"Business professionals reviewing financial documents and loan applications",className:"h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:220,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:227,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:219,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:199,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:197,columnNumber:9},void 0),t.jsxDEV(Ts,{items:hNe,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:232,columnNumber:9},void 0),t.jsxDEV("section",{id:"products",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Business loan products"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:237,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Choose from our comprehensive range of business loans designed to support your growth and operational needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:240,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:236,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:vNe.map(e=>t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:249,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:248,columnNumber:21},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:255,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:254,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:258,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:259,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:257,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:253,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex items-center justify-between",children:t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.interestRate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:264,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:["Minimum: ",e.minimumAmount]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:265,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:263,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:262,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:252,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Key features:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:271,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(s=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(js,{className:"h-4 w-4 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:275,columnNumber:29},void 0),s]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:274,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:272,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:270,columnNumber:21},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Learn more"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:282,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:281,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:269,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:246,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:244,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:235,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:234,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why choose Gates Capital Banking for business loans"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:294,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our business loans are designed to provide flexible financing solutions with competitive rates and exceptional service."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:297,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:293,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:NNe.map(e=>t.jsxDEV("div",{className:"flex gap-4 rounded-2xl border border-emerald-50 bg-white p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white flex-shrink-0",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:308,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:307,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:311,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:312,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:310,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:303,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:301,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:292,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:291,columnNumber:9},void 0),t.jsxDEV("section",{id:"rates",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Current interest rates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:323,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Competitive rates that help reduce your borrowing costs. Rates are subject to change and may vary based on loan amount and term."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:326,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:322,columnNumber:13},void 0),t.jsxDEV("div",{className:"max-w-4xl mx-auto",children:[t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg",children:[t.jsxDEV(z,{className:"bg-emerald-50",children:t.jsxDEV(K,{className:"text-xl text-emerald-900",children:"Business Loan Rates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:333,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:332,columnNumber:17},void 0),t.jsxDEV(B,{className:"p-0",children:t.jsxDEV("div",{className:"overflow-x-auto",children:t.jsxDEV("table",{className:"w-full",children:[t.jsxDEV("thead",{className:"bg-muted/50",children:t.jsxDEV("tr",{children:[t.jsxDEV("th",{className:"px-6 py-4 text-left text-sm font-semibold text-emerald-900",children:"Term"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:340,columnNumber:27},void 0),t.jsxDEV("th",{className:"px-6 py-4 text-left text-sm font-semibold text-emerald-900",children:"Interest Rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:341,columnNumber:27},void 0),t.jsxDEV("th",{className:"px-6 py-4 text-left text-sm font-semibold text-emerald-900",children:"Minimum Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:342,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:339,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:338,columnNumber:23},void 0),t.jsxDEV("tbody",{children:xNe.map((e,s)=>t.jsxDEV("tr",{className:`border-t ${s%2===0?"bg-white":"bg-muted/20"}`,children:[t.jsxDEV("td",{className:"px-6 py-4 text-sm font-medium text-emerald-900",children:e.term},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:348,columnNumber:29},void 0),t.jsxDEV("td",{className:"px-6 py-4 text-sm font-bold text-emerald-700",children:e.rate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:349,columnNumber:29},void 0),t.jsxDEV("td",{className:"px-6 py-4 text-sm text-muted-foreground",children:e.minimum},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:350,columnNumber:29},void 0)]},e.term,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:347,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:345,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:337,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:336,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:335,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:331,columnNumber:15},void 0),t.jsxDEV("div",{className:"mt-6 text-center",children:t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get personalized rates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:360,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:359,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:358,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:330,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:321,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:320,columnNumber:9},void 0),t.jsxDEV("section",{id:"process",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How to apply for a business loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:370,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Getting a business loan is straightforward with our streamlined process and dedicated support team."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:373,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:369,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-2 lg:grid-cols-4",children:DNe.map((e,s)=>t.jsxDEV("div",{className:"flex flex-col items-center rounded-3xl bg-white p-6 md:p-8 text-center shadow-lg",children:[t.jsxDEV("div",{className:"mb-5 flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:384,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:383,columnNumber:19},void 0),t.jsxDEV("div",{className:"mb-3 text-2xl font-bold text-emerald-700",children:["0",s+1]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:386,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:387,columnNumber:19},void 0),t.jsxDEV("p",{className:"mt-3 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:388,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:379,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:377,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:368,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:367,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold text-emerald-900 md:text-3xl",children:"Frequently asked questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:398,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:Bk.map((e,s)=>t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("h3",{className:"text-sm font-semibold text-emerald-900",children:e.question},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:404,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.answer},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:405,columnNumber:21},void 0),s<Bk.length-1&&t.jsxDEV(us,{className:"bg-emerald-100"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:406,columnNumber:49},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:403,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:401,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:397,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Ready to get started?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:412,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Our business lending specialists are here to help you find the right loan for your business needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:413,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:GNe.map(e=>t.jsxDEV("div",{className:"flex items-center gap-4 rounded-2xl border border-white/10 bg-white/10 p-4",children:[t.jsxDEV(e.icon,{className:"h-6 w-6 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:422,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("p",{className:"text-sm font-medium",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:424,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-xs text-emerald-100",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:425,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:423,columnNumber:21},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-amber-300",asChild:!0,children:e.href.startsWith("http")||e.href.startsWith("tel")||e.href.startsWith("mailto")?t.jsxDEV("a",{href:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:429,columnNumber:25},void 0):t.jsxDEV(I,{to:e.href,children:e.actionLabel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:431,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:427,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:418,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:416,columnNumber:15},void 0),t.jsxDEV(L,{className:"w-full bg-amber-400 text-black hover:bg-amber-300",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact us today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:438,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:437,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:411,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:396,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:395,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Ready to grow your business?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:447,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Whether you're expanding operations, purchasing equipment, or need working capital, our business loans provide the flexibility and support your business needs to succeed."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:450,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:453,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply for a loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:456,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:455,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/business/banking",children:"Explore business banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:459,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:458,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:454,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:446,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Business lending specialist",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:465,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:464,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:463,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:445,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:444,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:196,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:476,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Loans.tsx",lineNumber:193,columnNumber:5},void 0),CNe=[{label:"Deposit products",href:"#products"},{label:"Benefits",href:"#benefits"},{label:"Interest rates",href:"#rates"},{label:"How it works",href:"#process"},{label:"FAQs",href:"#faqs"},{label:"Contact us",href:"/contact"}],kNe=[{title:"Business Savings Account",description:"High-yield savings with flexible access to your funds",interestRate:"Up to 4.25% APY",minimumDeposit:"$1,000",features:["No monthly fees","Online management","Mobile banking","24/7 access"],icon:Da,popular:!1},{title:"Notice Saver Account",description:"Higher returns with advance notice requirements",interestRate:"Up to 4.75% APY",minimumDeposit:"$5,000",features:["30-day notice period","Competitive rates","Online access","Flexible terms"],icon:xa,popular:!0},{title:"Term Deposit",description:"Fixed-term deposits with predictable returns",interestRate:"Up to 5.25% APY",minimumDeposit:"$10,000",features:["Fixed interest rate","Multiple term options","Predictable returns","Secure deposits"],icon:Jn,popular:!1},{title:"Premium Business Deposit",description:"Exclusive high-yield account for larger deposits",interestRate:"Up to 5.75% APY",minimumDeposit:"$50,000",features:["Premium rates","Dedicated support","Priority service","Custom terms"],icon:Cc,popular:!1}],ENe=[{title:"Predictable returns",description:"Fixed interest rates provide predictable returns on your business deposits",icon:wt},{title:"Flexible maturities",description:"Choose from 30 days to 5 years to match your business cash flow needs",icon:jv},{title:"Online management",description:"Full control through our secure online banking platform and mobile app",icon:Ft},{title:"Secure deposits",description:"We use modern security controls to protect deposit accounts and customer data",icon:zs},{title:"Competitive rates",description:"Market-leading interest rates that help your business capital grow",icon:Ke},{title:"No hidden fees",description:"Transparent pricing with no monthly maintenance fees or hidden charges",icon:js}],LNe=[{term:"30 days",rate:"4.25%",minimum:"$1,000"},{term:"90 days",rate:"4.50%",minimum:"$1,000"},{term:"6 months",rate:"4.75%",minimum:"$5,000"},{term:"12 months",rate:"5.00%",minimum:"$10,000"},{term:"24 months",rate:"5.25%",minimum:"$10,000"},{term:"36 months",rate:"5.50%",minimum:"$25,000"}],jNe=[{title:"Choose your product",description:"Select the deposit product that best fits your business needs and timeline",icon:Se},{title:"Apply online",description:"Complete our simple online application with your business information",icon:jt},{title:"Fund your account",description:"Transfer funds from your existing business account or external source",icon:Xs},{title:"Start earning",description:"Watch your business capital grow with competitive interest rates",icon:Ke}],qk=[{question:"What is the minimum deposit amount for business deposits?",answer:"Minimum deposits vary by product: $1,000 for basic savings, $5,000 for notice savers, and $10,000 for term deposits. Premium accounts require $50,000 minimum."},{question:"How are business deposits protected?",answer:"We use security best practices (encryption in transit, access controls, and monitoring) to help protect deposit accounts and customer information."},{question:"Can I access my funds before maturity?",answer:"Term deposits have fixed maturity dates, but we offer penalty-free early withdrawal options for certain circumstances. Notice saver accounts require 30-day advance notice."},{question:"How do I manage my business deposits online?",answer:"You can manage all your business deposits through our secure online banking platform and mobile app, including viewing balances, interest earned, and maturity dates."},{question:"What happens when my term deposit matures?",answer:"We'll notify you 30 days before maturity. You can choose to renew at current rates, transfer to another account, or withdraw funds. If no action is taken, deposits auto-renew."}],wNe=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:171,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:175,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto grid gap-8 md:gap-12 px-4 py-12 md:py-16 lg:grid-cols-[minmax(0,1fr)_480px] lg:items-center lg:py-24",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"SECURE SAVINGS AND TERM DEPOSITS"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:178,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Business Deposits"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:181,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Grow your business capital with competitive interest rates, flexible terms, and secure deposit products designed for businesses of all sizes."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:184,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Open account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:189,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:188,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Calculate returns"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:192,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:191,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:187,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:177,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80",alt:"Business financial planning and deposit management",className:"h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:197,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:204,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:196,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:176,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:174,columnNumber:9},void 0),t.jsxDEV(Ts,{items:CNe,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:209,columnNumber:9},void 0),t.jsxDEV("section",{id:"products",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Business deposit products"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:214,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Choose from our range of deposit products designed to help your business capital work harder."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:217,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:213,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:kNe.map(e=>t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:226,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:225,columnNumber:21},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:232,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:231,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:235,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:236,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:234,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:230,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex items-center justify-between",children:t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.interestRate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:241,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:["Minimum: ",e.minimumDeposit]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:242,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:240,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:239,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:229,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Key features:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:248,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(s=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(js,{className:"h-4 w-4 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:252,columnNumber:29},void 0),s]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:251,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:249,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:247,columnNumber:21},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Learn more"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:259,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:258,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:246,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:223,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:221,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:212,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:211,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why choose Gates Capital Banking for business deposits"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:271,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Our business deposit products are designed to help your capital work harder while keeping your funds secure and accessible."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:274,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:270,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:ENe.map(e=>t.jsxDEV("div",{className:"flex gap-4 rounded-2xl border border-emerald-50 bg-white p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white flex-shrink-0",children:t.jsxDEV(e.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:285,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:284,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:288,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:289,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:287,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:280,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:278,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:269,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:268,columnNumber:9},void 0),t.jsxDEV("section",{id:"rates",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Current interest rates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:300,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Competitive rates that help your business capital grow. Rates are subject to change and may vary based on deposit amount."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:303,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:299,columnNumber:13},void 0),t.jsxDEV("div",{className:"max-w-4xl mx-auto",children:[t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg",children:[t.jsxDEV(z,{className:"bg-emerald-50",children:t.jsxDEV(K,{className:"text-xl text-emerald-900",children:"Term Deposit Rates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:310,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:309,columnNumber:17},void 0),t.jsxDEV(B,{className:"p-0",children:t.jsxDEV("div",{className:"overflow-x-auto",children:t.jsxDEV("table",{className:"w-full",children:[t.jsxDEV("thead",{className:"bg-muted/50",children:t.jsxDEV("tr",{children:[t.jsxDEV("th",{className:"px-6 py-4 text-left text-sm font-semibold text-emerald-900",children:"Term"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:317,columnNumber:27},void 0),t.jsxDEV("th",{className:"px-6 py-4 text-left text-sm font-semibold text-emerald-900",children:"Interest Rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:318,columnNumber:27},void 0),t.jsxDEV("th",{className:"px-6 py-4 text-left text-sm font-semibold text-emerald-900",children:"Minimum Deposit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:319,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:316,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:315,columnNumber:23},void 0),t.jsxDEV("tbody",{children:LNe.map((e,s)=>t.jsxDEV("tr",{className:`border-t ${s%2===0?"bg-white":"bg-muted/20"}`,children:[t.jsxDEV("td",{className:"px-6 py-4 text-sm font-medium text-emerald-900",children:e.term},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:325,columnNumber:29},void 0),t.jsxDEV("td",{className:"px-6 py-4 text-sm font-bold text-emerald-700",children:e.rate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:326,columnNumber:29},void 0),t.jsxDEV("td",{className:"px-6 py-4 text-sm text-muted-foreground",children:e.minimum},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:327,columnNumber:29},void 0)]},e.term,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:324,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:322,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:314,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:313,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:312,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:308,columnNumber:15},void 0),t.jsxDEV("div",{className:"mt-6 text-center",children:t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get personalized rates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:337,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:336,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:335,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:307,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:298,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:297,columnNumber:9},void 0),t.jsxDEV("section",{id:"process",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How to open a business deposit account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:347,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Getting started with business deposits is simple and straightforward. Follow these steps to open your account."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:350,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:346,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-2 lg:grid-cols-4",children:jNe.map((e,s)=>t.jsxDEV("div",{className:"flex flex-col items-center rounded-3xl bg-white p-6 md:p-8 text-center shadow-lg",children:[t.jsxDEV("div",{className:"mb-5 flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:361,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:360,columnNumber:19},void 0),t.jsxDEV("div",{className:"mb-3 text-2xl font-bold text-emerald-700",children:["0",s+1]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:363,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:364,columnNumber:19},void 0),t.jsxDEV("p",{className:"mt-3 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:365,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:356,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:354,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:345,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:344,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold text-emerald-900 md:text-3xl",children:"Frequently asked questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:375,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:qk.map((e,s)=>t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("h3",{className:"text-sm font-semibold text-emerald-900",children:e.question},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:381,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.answer},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:382,columnNumber:21},void 0),s<qk.length-1&&t.jsxDEV(us,{className:"bg-emerald-100"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:383,columnNumber:49},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:380,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:378,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:374,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-emerald-900/95 p-6 md:p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Need help getting started?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:389,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Our business banking specialists are here to help you choose the right deposit products for your business."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:390,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"flex items-center gap-4 rounded-2xl border border-white/10 bg-white/10 p-4",children:[t.jsxDEV(ss,{className:"h-6 w-6 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:395,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-medium",children:"Call us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:397,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-xs text-emerald-100",children:"+48 732 123 213"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:398,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:396,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:394,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex items-center gap-4 rounded-2xl border border-white/10 bg-white/10 p-4",children:[t.jsxDEV(ra,{className:"h-6 w-6 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:402,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-medium",children:"Email us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:404,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-xs text-emerald-100",children:"info@gatescbank.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:405,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:403,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:401,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex items-center gap-4 rounded-2xl border border-white/10 bg-white/10 p-4",children:[t.jsxDEV(Cs,{className:"h-6 w-6 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:409,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-medium",children:"Find a specialist"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:411,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-xs text-emerald-100",children:"Book a consultation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:412,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:410,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:408,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:393,columnNumber:15},void 0),t.jsxDEV(L,{className:"w-full bg-amber-400 text-black hover:bg-amber-300",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact us today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:417,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:416,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:388,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:373,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:372,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Ready to grow your business capital?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:426,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Start earning competitive returns on your business deposits today. Our team of specialists will help you choose the right products for your business needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:429,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:432,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Open account today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:435,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:434,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/business/banking",children:"Explore business banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:438,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:437,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:433,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:425,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Business deposit specialist",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:444,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:443,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:442,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:424,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:423,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:173,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:455,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Deposits.tsx",lineNumber:170,columnNumber:5},void 0),UNe=()=>t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-gray-50",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:10,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"bg-gatesib-green text-white py-8",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("h1",{className:"text-4xl md:text-5xl font-bold mb-2",children:"Investments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:16,columnNumber:13},void 0),t.jsxDEV("p",{className:"text-lg text-green-100",children:"Investment advice, managed funds, retirement schemes and sharetrading."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:17,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:15,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:14,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white border-b border-gray-200",children:t.jsxDEV("div",{className:"container mx-auto px-4 py-3",children:t.jsxDEV("div",{className:"flex items-center gap-4 overflow-x-auto",children:[t.jsxDEV(I,{to:"/business/banking",className:"px-4 py-2 text-sm hover:bg-gray-100 rounded transition whitespace-nowrap",children:"Business Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:27,columnNumber:15},void 0),t.jsxDEV(I,{to:"/business/loans",className:"px-4 py-2 text-sm hover:bg-gray-100 rounded transition whitespace-nowrap",children:"Loans & Finance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:33,columnNumber:15},void 0),t.jsxDEV(I,{to:"/business/investments",className:"px-4 py-2 text-sm bg-gatesib-green text-white rounded transition whitespace-nowrap",children:"Investments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:39,columnNumber:15},void 0),t.jsxDEV(I,{to:"/business/professional-services",className:"px-4 py-2 text-sm hover:bg-gray-100 rounded transition whitespace-nowrap",children:"Specialist Industries"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:45,columnNumber:15},void 0),t.jsxDEV(I,{to:"/business",className:"px-4 py-2 text-sm hover:bg-gray-100 rounded transition whitespace-nowrap",children:"About Us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:51,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:26,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:25,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:24,columnNumber:9},void 0),t.jsxDEV("section",{className:"py-12 bg-gray-50",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-[280px_1fr_280px] gap-8",children:[t.jsxDEV("aside",{className:"space-y-6",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-gatesib-green mb-3",children:"Quick Links"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:69,columnNumber:19},void 0),t.jsxDEV("ul",{className:"space-y-2",children:[t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#advice",className:"flex items-center gap-2 text-gatesib-green hover:text-green-700",children:[t.jsxDEV(nt,{className:"h-4 w-4 fill-gatesib-yellow text-gatesib-yellow"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:73,columnNumber:25},void 0),"Get advice"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:72,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:71,columnNumber:21},void 0),t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#options",className:"flex items-center gap-2 text-gatesib-green hover:text-green-700",children:[t.jsxDEV(nt,{className:"h-4 w-4 fill-gatesib-yellow text-gatesib-yellow"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:79,columnNumber:25},void 0),"Your investment options"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:78,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:77,columnNumber:21},void 0),t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#tools",className:"flex items-center gap-2 text-gatesib-green hover:text-green-700",children:[t.jsxDEV(nt,{className:"h-4 w-4 fill-gatesib-yellow text-gatesib-yellow"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:85,columnNumber:25},void 0),"Investment tools"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:84,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:83,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:70,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:68,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-gatesib-green mb-3",children:"Investment Products"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:93,columnNumber:19},void 0),t.jsxDEV("ul",{className:"space-y-2",children:[t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:97,columnNumber:25},void 0),"Gates Capital Banking Cash Fund"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:96,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:95,columnNumber:21},void 0),t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:103,columnNumber:25},void 0),"Gates Capital Banking Term Fund"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:102,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:101,columnNumber:21},void 0),t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:109,columnNumber:25},void 0),"Investment tools"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:108,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:107,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:94,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:92,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:67,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-8",children:[t.jsxDEV("div",{className:"relative bg-gray-200 rounded-lg overflow-hidden min-h-[400px]",children:[t.jsxDEV("div",{className:"absolute inset-0",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1200&q=80",alt:"Financial advisor",className:"w-full h-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:122,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:121,columnNumber:19},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-r from-black/70 via-black/40 to-transparent"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:128,columnNumber:19},void 0),t.jsxDEV("div",{className:"relative p-8 md:p-12 flex flex-col justify-center h-full",children:t.jsxDEV("div",{className:"max-w-lg",children:[t.jsxDEV("h2",{className:"text-4xl md:text-5xl font-bold text-white mb-4",children:"Financial information 24 hours a day."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:131,columnNumber:23},void 0),t.jsxDEV("div",{className:"flex items-center gap-2 text-white",children:[t.jsxDEV(nt,{className:"h-5 w-5 fill-gatesib-yellow text-gatesib-yellow"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:135,columnNumber:25},void 0),t.jsxDEV("span",{className:"text-xl font-semibold",children:"Sharetrading"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:136,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:134,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:130,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:129,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:120,columnNumber:17},void 0),t.jsxDEV("div",{id:"advice",className:"bg-white rounded-lg p-6 border border-gray-200",children:[t.jsxDEV("div",{className:"flex items-center gap-2 mb-4",children:[t.jsxDEV(nt,{className:"h-5 w-5 fill-gatesib-yellow text-gatesib-yellow"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:145,columnNumber:21},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-gatesib-green",children:"Get advice"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:146,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:144,columnNumber:19},void 0),t.jsxDEV("ul",{className:"space-y-2 ml-7",children:t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:151,columnNumber:25},void 0),"Advice process"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:150,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:149,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:148,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:143,columnNumber:17},void 0),t.jsxDEV("div",{id:"options",className:"bg-white rounded-lg p-6 border border-gray-200",children:[t.jsxDEV("div",{className:"flex items-center gap-2 mb-4",children:[t.jsxDEV(nt,{className:"h-5 w-5 fill-gatesib-yellow text-gatesib-yellow"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:161,columnNumber:21},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-gatesib-green",children:"Your investment options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:162,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:160,columnNumber:19},void 0),t.jsxDEV("ul",{className:"space-y-2 ml-7",children:[t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:167,columnNumber:25},void 0),"EasyFunds"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:166,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:165,columnNumber:21},void 0),t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:173,columnNumber:25},void 0),"Gates Capital Banking Portfolio Series"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:172,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:171,columnNumber:21},void 0),t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:179,columnNumber:25},void 0),"Term deposits"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:178,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:177,columnNumber:21},void 0),t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:185,columnNumber:25},void 0),"Sharetrading"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:184,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:183,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:164,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:159,columnNumber:17},void 0),t.jsxDEV("div",{id:"tools",className:"bg-white rounded-lg p-6 border border-gray-200",children:[t.jsxDEV("div",{className:"flex items-center gap-2 mb-4",children:[t.jsxDEV(nt,{className:"h-5 w-5 fill-gatesib-yellow text-gatesib-yellow"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:195,columnNumber:21},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-gatesib-green",children:"Investment tools"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:196,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:194,columnNumber:19},void 0),t.jsxDEV("ul",{className:"space-y-2 ml-7",children:[t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:201,columnNumber:25},void 0),"What type of investor are you?"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:200,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:199,columnNumber:21},void 0),t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:207,columnNumber:25},void 0),"Investment calculators"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:206,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:205,columnNumber:21},void 0),t.jsxDEV("li",{children:t.jsxDEV(I,{to:"#",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:213,columnNumber:25},void 0),"Investor's checklist"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:212,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:211,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:198,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:193,columnNumber:17},void 0),t.jsxDEV("div",{className:"bg-gray-100 rounded-lg p-4",children:t.jsxDEV("p",{className:"text-sm text-gray-600",children:"Gates Capital Banking Wealth Managers' disclosure statements are available on request and free of charge from your Gates Capital Banking Wealth Manager."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:222,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:221,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:118,columnNumber:15},void 0),t.jsxDEV("aside",{className:"space-y-6",children:[t.jsxDEV("div",{className:"bg-white rounded-lg p-6 border border-gray-200",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-gatesib-green mb-4",children:"Get in touch with us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:231,columnNumber:19},void 0),t.jsxDEV("ul",{className:"space-y-3",children:[t.jsxDEV("li",{children:t.jsxDEV(I,{to:"/contact",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:235,columnNumber:25},void 0),"Ask a question"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:234,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:233,columnNumber:21},void 0),t.jsxDEV("li",{children:t.jsxDEV(I,{to:"/contact",className:"flex items-center gap-2 text-black hover:text-gatesib-green",children:[t.jsxDEV(nt,{className:"h-3 w-3 fill-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:241,columnNumber:25},void 0),"Corporate Banking Enquiries"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:240,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:239,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:232,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:230,columnNumber:17},void 0),t.jsxDEV("div",{className:"bg-white rounded-lg p-6 border border-gray-200",children:t.jsxDEV("div",{className:"flex flex-col gap-3",children:[t.jsxDEV(L,{variant:"outline",className:"w-full justify-start gap-2 hover:bg-gray-50",onClick:()=>window.print(),children:[t.jsxDEV(JP,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:256,columnNumber:23},void 0),"PRINT"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:251,columnNumber:21},void 0),t.jsxDEV(L,{variant:"outline",className:"w-full justify-start gap-2 hover:bg-gray-50",onClick:()=>window.location.href=`mailto:?subject=Gates Capital Banking Information&body=Check out this page: ${window.location.href}`,children:[t.jsxDEV(ra,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:264,columnNumber:23},void 0),"EMAIL"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:259,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:250,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:249,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:229,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:64,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:63,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:62,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:12,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:275,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/Investments.tsx",lineNumber:9,columnNumber:5},void 0),HNe=[{label:"Service sectors",href:"#sectors"},{label:"Solutions",href:"#solutions"},{label:"Service model",href:"#model"},{label:"Benefits",href:"#benefits"},{label:"Get started",href:"#get-started"},{label:"FAQs",href:"#faqs"},{label:"Contact us",href:"/contact"}],VNe=[{title:"Accounting & Finance",description:"Tailored banking solutions for accounting firms, financial advisors, and tax professionals.",features:["Business accounts","Merchant services","Client trust accounts","Cash flow management"],icon:Se,popular:!0},{title:"Legal Services",description:"Specialized banking products for law firms, barristers, and legal professionals.",features:["Trust accounts","Client disbursements","Merchant services","Commercial lending"],icon:Ot,popular:!1},{title:"Medical & Healthcare",description:"Banking solutions designed for medical practices, clinics, and healthcare professionals.",features:["Practice accounts","Equipment finance","Cash flow solutions","Payment processing"],icon:mt,popular:!1},{title:"Engineering & Consulting",description:"Financial services for engineering firms, consultants, and professional service providers.",features:["Project accounts","Invoice financing","Equipment finance","Working capital"],icon:jt,popular:!1}],PNe=[{title:"Tailored lending",description:"Customized loan solutions designed for professional service businesses, including practice acquisition, equipment finance, and working capital.",icon:Xs},{title:"Cashflow tools",description:"Advanced cash flow management tools and solutions to help you manage client payments, invoicing, and business expenses.",icon:Ke},{title:"Wealth management partners",description:"Access to experienced wealth management advisors who understand the unique needs of professional service providers.",icon:wt},{title:"Merchant services",description:"Professional payment processing solutions tailored for service-based businesses with transparent pricing.",icon:Ta},{title:"Trust accounts",description:"Specialized trust account solutions for legal and accounting professionals managing client funds.",icon:mt},{title:"Business banking",description:"Comprehensive business banking accounts with features designed for professional service operations.",icon:jt}],ANe=[{step:"01",title:"Understand your needs",description:"Meet with our professional services specialists to discuss your business requirements and goals.",icon:Ss},{step:"02",title:"Customized solutions",description:"Receive tailored banking and financial solutions designed specifically for your professional practice.",icon:Ta},{step:"03",title:"Ongoing support",description:"Work with dedicated relationship managers who understand professional services and provide ongoing guidance.",icon:bl}],SNe=[{title:"Industry expertise",description:"Banking specialists who understand the unique challenges and opportunities in professional services."},{title:"Customized solutions",description:"Tailored products and services designed specifically for your professional practice and industry sector."},{title:"Fast approvals",description:"Streamlined processes and quick decisions on applications to keep your business moving forward."},{title:"Comprehensive support",description:"Access to a full range of banking, lending, and wealth management services from a single provider."}],TNe=[{q:"What professional service sectors do you support?",a:"We support accounting and finance, legal services, medical and healthcare, engineering and consulting, and other professional service sectors. Our specialists understand the unique needs of each industry."},{q:"What lending solutions are available for professional services?",a:"We offer tailored lending including practice acquisition finance, equipment finance, working capital loans, and commercial property finance. Terms and rates are customized to your professional practice."},{q:"Do you offer trust account solutions?",a:"Yes, we provide specialized trust account solutions for legal and accounting professionals who need to manage client funds separately. These accounts include specialized reporting and compliance features."},{q:"How do I get started with professional services banking?",a:"Contact our professional services team for an initial consultation. We'll assess your needs and recommend the most appropriate banking and financial solutions for your practice."}],_Ne=[{title:"Book a consultation",description:"Speak with our professional services specialists about your banking needs.",actionLabel:"Contact us",href:"/contact",icon:Ss},{title:"Call us",description:"Speak with our professional services team Monday to Friday, 8am-6pm.",actionLabel:Je.phone,href:Je.phoneHref,icon:ss}],RNe=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:183,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative overflow-hidden bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjYwIiBoZWlnaHQ9IjYwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDYwIDAgTCAwIDAgMCA2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=')] opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:188,columnNumber:11},void 0),t.jsxDEV("div",{className:"relative py-16 md:py-24",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl",children:[t.jsxDEV("p",{className:"text-sm uppercase tracking-[0.2em] text-white/80 mb-2",children:"Specialized support for professionals and consultants"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:192,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-3xl md:text-5xl font-bold text-white mb-4 leading-tight",children:"Professional Services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:195,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-white/90 max-w-2xl text-lg leading-relaxed mb-6",children:"Banking solutions tailored for accounting, legal, medical, engineering, and other professional service businesses. Tailored lending, cashflow tools, and wealth management partners."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:198,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:203,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:202,columnNumber:19},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:"#sectors",children:"View sectors"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:206,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:205,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:201,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:191,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:190,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:189,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:187,columnNumber:9},void 0),t.jsxDEV(Ts,{items:HNe,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:214,columnNumber:9},void 0),t.jsxDEV("section",{id:"sectors",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Service Sectors"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:220,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Accounting, legal, medical, engineering, and more. We understand the unique needs of each professional sector."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:221,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:219,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:VNe.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:232,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:231,columnNumber:23},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:238,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:237,columnNumber:25},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:241,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground mt-2",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:242,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:240,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:236,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:235,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV(us,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:247,columnNumber:23},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Key services:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:249,columnNumber:25},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(a=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(Ls,{className:"h-4 w-4 text-emerald-700 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:253,columnNumber:31},void 0),a]},a,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:252,columnNumber:29},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:250,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:248,columnNumber:23},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:["Learn more",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:262,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:260,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:259,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:246,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:229,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:225,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:218,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:217,columnNumber:9},void 0),t.jsxDEV("section",{id:"solutions",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Solutions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:277,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Comprehensive banking and financial solutions designed for professional service businesses."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:278,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:276,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:PNe.map(e=>{const s=e.icon;return t.jsxDEV("div",{className:"flex flex-col gap-4 rounded-2xl border border-emerald-50 bg-white p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:291,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:290,columnNumber:21},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:294,columnNumber:23},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:295,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:293,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:286,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:282,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:275,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:274,columnNumber:9},void 0),t.jsxDEV("section",{id:"model",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-12 px-4 lg:grid-cols-[1fr_1.2fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Our Service Model"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:308,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Tailored lending, cashflow tools, and wealth management partners working together to support your professional practice."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:309,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:313,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:312,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:307,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4 rounded-3xl border border-emerald-100 bg-emerald-50/40 p-6",children:ANe.map(e=>{const s=e.icon;return t.jsxDEV("div",{className:"flex items-start gap-4 rounded-2xl border border-transparent bg-white/70 p-4 md:p-5 transition hover:border-emerald-200 hover:bg-white",children:[t.jsxDEV(s,{className:"mt-1 h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:324,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:326,columnNumber:23},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:327,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:325,columnNumber:21},void 0),t.jsxDEV("span",{className:"ml-auto mt-1 text-emerald-500 text-sm font-semibold",children:e.step},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:329,columnNumber:21},void 0)]},e.step,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:320,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:316,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:306,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:305,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Benefits"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:341,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Why choose Gates Capital Banking for your professional services banking needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:342,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:340,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:SNe.map((e,s)=>t.jsxDEV(F,{className:"border-0 shadow-lg",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-lg text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:350,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:349,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:353,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:352,columnNumber:19},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:348,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:346,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:339,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:338,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900",children:"Frequently Asked Questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:365,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Find answers to common questions about professional services banking."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:366,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:364,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:TNe.map((e,s)=>t.jsxDEV(F,{className:"border-0 shadow-md",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"text-base font-semibold text-emerald-900",children:e.q},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:374,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:373,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:377,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:376,columnNumber:19},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:372,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:370,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:363,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:362,columnNumber:9},void 0),t.jsxDEV("section",{id:"get-started",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Get Started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:389,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Ready to explore professional services banking? Contact our specialists today."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:390,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:388,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:_Ne.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:"border-0 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:402,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:401,columnNumber:25},void 0),t.jsxDEV(K,{className:"text-lg text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:404,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:400,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:399,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:408,columnNumber:23},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:e.href,children:[e.actionLabel,t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:412,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:410,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:409,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:407,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:398,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:394,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:387,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:386,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4 text-center",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-white",children:"Banking Solutions for Professionals"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:427,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-white/90",children:"Get tailored banking, lending, and financial solutions designed for your professional practice."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:430,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:435,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:434,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:Je.phoneHref,children:"Call us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:438,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:437,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:433,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:426,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:425,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:424,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:185,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:446,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/ProfessionalServices.tsx",lineNumber:182,columnNumber:5},void 0),MNe="data:image/jpeg;base64,ZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlCM2FXUjBhRDBpTkRBd0lpQm9aV2xuYUhROUlqTXdNQ0lnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JajRLSUNBOGNtVmpkQ0IzYVdSMGFEMGlNVEF3SlNJZ2FHVnBaMmgwUFNJeE1EQWxJaUJtYVd4c1BTSWpaVFZtTjJabUlpOCtDaUFnUEhSbGVIUWdlRDBpTlRBbElpQjVQU0kxTUNVaUlHWnZiblF0Wm1GdGFXeDVQU0pCY21saGJDd2djMkZ1Y3kxelpYSnBaaUlnWm05dWRDMXphWHBsUFNJeU5DSWdabWxzYkQwaUl6TTNOREUxTVNJZ2RHVjRkQzFoYm1Ob2IzSTlJbTFwWkdSc1pTSWdaSGs5SWk0elpXMGlQa0oxYzJsdVpYTnpJRUpoYm10cGJtYzhMM1JsZUhRK0Nqd3ZjM1puUGdvPQ0K",ONe=()=>t.jsxDEV(zN,{title:"Merchant Services",subtitle:"Business banking",description:"Modern payment solutions for every checkout — in-store, online, and on the go.",heroBackgroundImage:MNe,ctaPrimary:{label:"Get started",href:"/contact"},ctaSecondary:{label:"Talk to sales",href:"/contact"},children:t.jsxDEV("div",{className:"space-y-16 py-12",children:[t.jsxDEV("section",{className:"container mx-auto",children:t.jsxDEV("div",{className:"grid gap-12 lg:grid-cols-2 lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("div",{className:"text-center lg:text-left",children:[t.jsxDEV("span",{className:"text-sm font-semibold uppercase tracking-wide text-gatesib-green/80",children:"Unified payments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:32,columnNumber:17},void 0),t.jsxDEV("h2",{className:"mt-2 text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Accept payments with confidence"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:35,columnNumber:17},void 0),t.jsxDEV("div",{className:"mx-auto mt-4 h-1 w-24 rounded-full bg-amber-400 lg:mx-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:38,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:31,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Whether you run a boutique, a busy café, or a growing online store, our merchant services make getting paid simple and secure. Connect your POS, add an online gateway, and automate invoicing — all managed from a single dashboard."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:40,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-col gap-3 sm:flex-row",children:[t.jsxDEV(L,{size:"lg",className:"bg-amber-400 text-black hover:bg-amber-300",children:"Talk to a payments specialist"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:46,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",children:"See pricing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:49,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:45,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:30,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:[{icon:t.jsxDEV(br,{className:"h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:57,columnNumber:25},void 0),title:"Unified reporting",description:"Consolidate in-store and online sales with real-time reconciliation."},{icon:t.jsxDEV(as,{className:"h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:62,columnNumber:25},void 0),title:"Transparent pricing",description:"Low interchange and card fees with no hidden extras."},{icon:t.jsxDEV(mt,{className:"h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:67,columnNumber:25},void 0),title:"Bank-grade security",description:"24/7 fraud monitoring, tokenization, and secure customer vaulting."},{icon:t.jsxDEV(xa,{className:"h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:72,columnNumber:25},void 0),title:"Dedicated support",description:"Local specialists with proactive health checks and chargeback assistance."}].map(e=>t.jsxDEV("div",{className:"flex gap-4 rounded-2xl border border-emerald-50 bg-emerald-50/60 p-5 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-white",children:e.icon},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:81,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-md font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:85,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-1 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:86,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:84,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:77,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:54,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:29,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:28,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-muted/40 py-16",children:t.jsxDEV("div",{className:"container mx-auto",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Designed for every business model"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:98,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Retailers, venues, and online-first companies rely on Gatesib to keep checkouts flowing. Tailor your stack with flexible hardware, modular integrations, and real-time cash flow insights."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:101,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:97,columnNumber:13},void 0),t.jsxDEV("div",{className:"mt-12 grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4",children:[{title:"Retail",description:"Inventory-aware POS, digital receipts, and loyalty integrations.",image:"https://images.unsplash.com/photo-1556740738-b6a63e2775df?auto=format&fit=crop&w=800&q=80",alt:"Customer paying at a retail counter using a card"},{title:"Hospitality",description:"Tableside ordering, split bills, surcharging, and offline mode.",image:"https://images.unsplash.com/photo-1528605248644-14dd04022da1?auto=format&fit=crop&w=800&q=80",alt:"Waiter taking an order at a busy restaurant"},{title:"E-commerce",description:"Hosted checkout, payment links, one-click returns, and BNPL.",image:"https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=800&q=80",alt:"Person shopping online on a laptop"},{title:"Services",description:"Professional invoicing, recurring billing, and automated reminders.",image:"https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=800&q=80",alt:"Two professionals discussing business over documents"}].map(e=>t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg transition-shadow duration-300 hover:shadow-xl",children:[t.jsxDEV("div",{className:"h-48 w-full overflow-hidden",children:t.jsxDEV("img",{src:e.image,alt:e.alt,className:"h-full w-full object-cover transition duration-500 hover:scale-105"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:135,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:134,columnNumber:19},void 0),t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-xl font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:142,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:141,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:145,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:144,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:133,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:106,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:96,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:95,columnNumber:9},void 0),t.jsxDEV("section",{className:"container mx-auto",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Complete payment solutions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:156,columnNumber:13},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Everything you need to accept payments and manage your business, all in one place."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:159,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:155,columnNumber:11},void 0),t.jsxDEV("div",{className:"mt-12 grid grid-cols-1 gap-8 md:grid-cols-3",children:[t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg",children:[t.jsxDEV("div",{className:"h-48 w-full overflow-hidden",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1588196749107-15d0c3d91789?auto=format&fit=crop&w=800&q=80",alt:"Mobile POS system in a cafe",className:"h-full w-full object-cover transition duration-500 hover:scale-105"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:166,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:165,columnNumber:15},void 0),t.jsxDEV(z,{className:"flex-row items-center gap-4",children:[t.jsxDEV(Ft,{className:"h-8 w-8 text-emerald-700 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:173,columnNumber:17},void 0),t.jsxDEV(K,{className:"text-xl font-semibold text-emerald-900",children:"EFTPOS & POS"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:174,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:172,columnNumber:15},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Countertop, mobile, and QR options that just work — tap, chip, or swipe with instant confirmations."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:177,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:176,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:164,columnNumber:13},void 0),t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg",children:[t.jsxDEV("div",{className:"h-48 w-full overflow-hidden",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1563013544-824ae1b704d3?auto=format&fit=crop&w=800&q=80",alt:"Online shopping cart on a screen",className:"h-full w-full object-cover transition duration-500 hover:scale-105"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:184,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:183,columnNumber:15},void 0),t.jsxDEV(z,{className:"flex-row items-center gap-4",children:[t.jsxDEV(Vn,{className:"h-8 w-8 text-emerald-700 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:191,columnNumber:17},void 0),t.jsxDEV(K,{className:"text-xl font-semibold text-emerald-900",children:"Online gateway"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:192,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:190,columnNumber:15},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Fast checkout with cards, Apple Pay, Google Pay, and tokenized vaulting for returning customers."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:195,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:194,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:182,columnNumber:13},void 0),t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg",children:[t.jsxDEV("div",{className:"h-48 w-full overflow-hidden",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1599580410431-73b33a59d3e5?auto=format&fit=crop&w=800&q=80",alt:"Business invoice on a clipboard",className:"h-full w-full object-cover transition duration-500 hover:scale-105"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:202,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:201,columnNumber:15},void 0),t.jsxDEV(z,{className:"flex-row items-center gap-4",children:[t.jsxDEV(Ot,{className:"h-8 w-8 text-emerald-700 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:209,columnNumber:17},void 0),t.jsxDEV(K,{className:"text-xl font-semibold text-emerald-900",children:"Invoicing & recurring"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:210,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:208,columnNumber:15},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Send branded invoices, automate reminders, and set up subscriptions in minutes."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:213,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:212,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:200,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:163,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:154,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-muted/40 py-16",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 lg:grid-cols-2 lg:items-center",children:[t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1579621970795-87f54f12c6a0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80",alt:"Secure payment processing",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:225,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:224,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"text-sm font-semibold uppercase tracking-wide text-gatesib-green/80",children:"Secure by design"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:232,columnNumber:15},void 0),t.jsxDEV("h3",{className:"text-3xl font-semibold text-emerald-900",children:"Why merchants choose Gatesib"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:235,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"We combine bank-grade resilience with human support, so every checkout feels effortless and protected."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:236,columnNumber:15},void 0),t.jsxDEV("ul",{className:"space-y-3 text-sm text-muted-foreground",children:["Next-business-day settlements to your Gatesib account","Chargeback assistance and proactive dispute insights","Developer-friendly APIs with sandbox, SDKs, and accounting integrations","Local support team who know your business"].map(e=>t.jsxDEV("li",{className:"flex items-start gap-3",children:[t.jsxDEV(Ke,{className:"mt-1 h-4 w-4 text-amber-400 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:247,columnNumber:21},void 0),t.jsxDEV("span",{children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:248,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:246,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:239,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:231,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:223,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:222,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-amber-400",children:t.jsxDEV("div",{className:"container mx-auto px-4 py-12",children:t.jsxDEV("div",{className:"flex flex-col items-center justify-between gap-6 text-center md:flex-row md:text-left",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h3",{className:"text-2xl font-semibold text-emerald-900 md:text-3xl",children:"Start accepting payments today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:261,columnNumber:17},void 0),t.jsxDEV("p",{className:"max-w-2xl text-emerald-800/90",children:"Get a tailored plan for your volumes, channels, and settlement needs. No setup fees, no lock-in contracts."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:264,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:260,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-shrink-0 flex-col gap-3 sm:flex-row",children:[t.jsxDEV(L,{size:"lg",className:"bg-emerald-700 text-white hover:bg-emerald-600",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:269,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-emerald-800/50 text-emerald-900 hover:bg-white/30",children:"Contact sales"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:272,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:268,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:259,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:258,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:257,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:26,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/MerchantServices.tsx",lineNumber:18,columnNumber:5},void 0),INe=[{label:"Capabilities",href:"#capabilities"},{label:"Security",href:"#security"},{label:"User roles",href:"#roles"},{label:"Benefits",href:"#benefits"},{label:"Get started",href:"#get-started"},{label:"FAQs",href:"#faqs"},{label:"Contact us",href:"/contact"}],$Ne=[{title:"Payments",description:"Make payments, transfers, and manage cash flow with real-time processing.",features:["Instant transfers","Bulk payments","Scheduled payments","International transfers"],icon:as,popular:!0},{title:"Approvals",description:"Multi-level approval workflows with customizable rules and limits.",features:["Multi-user approvals","Custom rules","Approval chains","Audit trails"],icon:Ls},{title:"Payroll",description:"Streamlined payroll processing with employee management and scheduling.",features:["Employee management","Scheduled payments","Tax reporting","Direct deposits"],icon:Cs},{title:"Multi-user permissions",description:"Granular roles and permissions for secure team access to accounts.",features:["Role-based access","Permission controls","User management","Activity monitoring"],icon:yc}],FNe=[{title:"2FA & device recognition",description:"Two-factor authentication and trusted devices for enhanced protection.",icon:mt},{title:"Granular roles",description:"Detailed permission controls and per-action approvals for each user.",icon:Cs},{title:"Audit trails",description:"Comprehensive logs of transactions and activities for compliance.",icon:Ot},{title:"Encrypted connections",description:"Bank‑grade encryption for all sessions and API traffic.",icon:Jn},{title:"Real‑time alerts",description:"Instant notifications for logins, payments and permission changes.",icon:Cn},{title:"Transaction limits",description:"Per‑user and per‑day limits to reduce operational risk.",icon:Dr}],BNe=[{role:"Administrator",description:"Full access to accounts, user management and system configuration.",permissions:["View all accounts","Manage users","Configure settings","Approve transactions"]},{role:"Approver",description:"Can view accounts and approve transactions within limits.",permissions:["View accounts","Approve payments","View reports","Manage approvals"]},{role:"Viewer",description:"Read‑only access to balances and transaction history.",permissions:["View accounts","View transactions","Download statements","View reports"]},{role:"Operator",description:"Can initiate payments and manage payees within limits.",permissions:["Initiate payments","View accounts","Create transfers","Manage payees"]}],qNe=[{title:"24/7 access",description:"Manage finances anytime on web and mobile."},{title:"Time savings",description:"Automate routine tasks and approvals."},{title:"Enhanced security",description:"2FA, encryption and audit trails."},{title:"Better control",description:"Granular permissions and workflows."}],WNe=[{q:"What can I do with online business banking?",a:"Make payments, set approvals, run payroll and manage users—all in one secure place."},{q:"How secure is it?",a:"Bank‑grade encryption, 2FA, device recognition and complete audit trails protect every action."},{q:"Can I set different permissions per user?",a:"Yes. Use built‑in roles or customize permissions to match your process."},{q:"How do we get started?",a:"Contact the business banking team. We’ll help set up users, roles and approvals."}],zNe=[{title:"Get started",description:"Contact our business banking team to set up online business banking.",actionLabel:"Contact us",href:"/contact",icon:Ss},{title:"Call us",description:"Speak with our team Monday to Friday, 8am–6pm.",actionLabel:Je.phone,href:Je.phoneHref,icon:ss}],KNe=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:217,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative overflow-hidden bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat opacity-25",style:{backgroundImage:"url('https://images.unsplash.com/photo-1556157382-97eda2d62296?auto=format&fit=crop&w=1600&q=80')"}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:223,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjYwIiBoZWlnaHQ9IjYwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDYwIDAgTCAwIDAgMCA2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=')] opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:230,columnNumber:11},void 0),t.jsxDEV("div",{className:"relative py-16 md:py-24",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl",children:[t.jsxDEV("p",{className:"text-sm uppercase tracking-[0.2em] text-white/80 mb-2",children:"Manage finances anytime with secure online tools"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:234,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-3xl md:text-5xl font-bold text-white mb-4 leading-tight",children:"Online Business Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:235,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-white/90 max-w-2xl text-lg leading-relaxed mb-6",children:"Payments, approvals, payroll and multi‑user permissions—protected by 2FA, device recognition and full audit trails."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:236,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:241,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:240,columnNumber:19},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:"#capabilities",children:"View features"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:244,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:243,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:239,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:233,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:232,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:231,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:221,columnNumber:9},void 0),t.jsxDEV(Ts,{items:INe,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:252,columnNumber:9},void 0),t.jsxDEV("section",{id:"capabilities",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Capabilities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:258,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Comprehensive features to streamline operations."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:259,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:257,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:$Ne.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:268,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:267,columnNumber:23},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:274,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:273,columnNumber:25},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:277,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground mt-2",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:278,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:276,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:272,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:271,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV(us,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:283,columnNumber:23},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Key features:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:285,columnNumber:25},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(a=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(Ls,{className:"h-4 w-4 text-emerald-700 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:289,columnNumber:31},void 0),a]},a,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:288,columnNumber:29},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:286,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:284,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:282,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:265,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:261,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:256,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:255,columnNumber:9},void 0),t.jsxDEV("section",{id:"security",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Security"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:307,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Bank‑grade protections for every action."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:308,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:306,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:FNe.map(e=>{const s=e.icon;return t.jsxDEV("div",{className:"flex flex-col gap-4 rounded-2xl border border-emerald-50 bg-white p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:316,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:315,columnNumber:21},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:319,columnNumber:23},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:320,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:318,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:314,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:310,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:305,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:304,columnNumber:9},void 0),t.jsxDEV("section",{id:"roles",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"User Roles & Permissions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:333,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Grant the right access to the right people."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:334,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:332,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 max-w-5xl mx-auto",children:BNe.map((e,s)=>t.jsxDEV(F,{className:"border-0 shadow-lg",children:[t.jsxDEV(z,{children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.role},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:340,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground mt-2",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:341,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:339,columnNumber:19},void 0),t.jsxDEV(B,{children:[t.jsxDEV(us,{className:"mb-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:344,columnNumber:21},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900 text-sm",children:"Permissions:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:346,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.permissions.map(a=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(Ls,{className:"h-4 w-4 text-emerald-700 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:350,columnNumber:29},void 0),a]},a,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:349,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:347,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:345,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:343,columnNumber:19},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:338,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:336,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:331,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:330,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Benefits"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:367,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Why businesses choose Gates Capital Banking."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:368,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:366,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:qNe.map((e,s)=>t.jsxDEV(F,{className:"border-0 shadow-lg",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-lg text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:374,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:373,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:377,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:376,columnNumber:19},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:372,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:370,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:365,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:364,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900",children:"Frequently Asked Questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:389,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Answers to common questions about online business banking."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:390,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:388,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:WNe.map((e,s)=>t.jsxDEV(F,{className:"border-0 shadow-md",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"text-base font-semibold text-emerald-900",children:e.q},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:396,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:395,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:399,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:398,columnNumber:19},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:394,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:392,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:387,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:386,columnNumber:9},void 0),t.jsxDEV("section",{id:"get-started",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Get Started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:411,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Ready to set up online business banking?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:412,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:410,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:zNe.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:"border-0 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:422,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:421,columnNumber:25},void 0),t.jsxDEV(K,{className:"text-lg text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:424,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:420,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:419,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:428,columnNumber:23},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:e.href,children:[e.actionLabel,t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:432,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:430,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:429,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:427,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:418,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:414,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:409,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:408,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4 text-center",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-white",children:"Start Managing Your Business Online"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:447,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-white/90",children:"Secure, comprehensive online business banking with payments, approvals, payroll and multi‑user controls."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:448,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:451,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:450,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:Je.phoneHref,children:"Call us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:454,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:453,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:449,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:446,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:445,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:444,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:219,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:462,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/business/OnlineBanking.tsx",lineNumber:216,columnNumber:5},void 0),YNe=[{label:"Why choose us",href:"#reasons"},{label:"How we help",href:"#help"},{label:"Options to consider",href:"#options"},{label:"Get started",href:"#get-started"},{label:"Next steps",href:"#next-steps"},{label:"FAQs",href:"#faqs"},{label:"Enquire online",href:"/contact"}],QNe=[{title:"Expert guidance",description:"Get personalized support from rural banking specialists who understand the unique challenges of starting a rural business.",icon:bl},{title:"Flexible financing",description:"Access startup loans and funding options designed specifically for rural entrepreneurs and agricultural ventures.",icon:Sr},{title:"Business planning tools",description:"Use our specialized tools and templates to create comprehensive business plans tailored to rural industries.",icon:gl},{title:"Ongoing support",description:"Receive continuous guidance as your business grows, with dedicated rural managers who stay with you long-term.",icon:Cs}],ZNe=[{title:"Business planning",description:"Develop a solid foundation with expert guidance on creating business plans that account for seasonal cycles and rural market conditions.",image:"https://www.gatesib.com/app/uploads/2021/08/rural-starting-business-768x512.jpg",href:"/rural/starting"},{title:"Startup financing",description:"Secure the funding you need with specialized loans designed for rural startups, from equipment purchases to initial working capital.",image:"https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",href:"/rural/lending"},{title:"Cash flow management",description:"Learn essential skills for managing seasonal cash flows, budgeting for peak periods, and maintaining financial stability.",image:"https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",href:"/rural/accounts"}],XNe=[{title:"Rural startup loans",description:"Specialized financing for new rural businesses, including equipment loans and working capital solutions."},{title:"Business accounts",description:"Transaction accounts designed for rural businesses with features for managing seasonal cash flows."},{title:"Grant guidance",description:"Support in identifying and applying for government grants and rural development funding opportunities."},{title:"Insurance options",description:"Protect your new venture with comprehensive insurance solutions tailored for rural business risks."}],JNe=[{title:"01. Plan",description:"Develop your business plan with our rural specialists, incorporating seasonal considerations and market analysis.",icon:Se},{title:"02. Finance",description:"Secure appropriate funding through our range of startup loans and financing options designed for rural businesses.",icon:fl},{title:"03. Launch",description:"Start your business with confidence, supported by ongoing banking services and expert rural management.",icon:Ar}],exe=[{title:"Find a rural specialist",description:"Connect with a Gates Capital Banking Rural Manager for personalized startup guidance and support.",actionLabel:"Find a specialist",icon:Ss,href:"/contact"},{title:"Call us",description:"Speak with rural startup specialists Monday to Friday, 8am-6pm.",actionLabel:"+48 732 123 213",icon:ss,href:"tel:+48732123213"},{title:"Email us",description:"Share your rural business startup plans and receive expert advice within one business day.",actionLabel:"info@gatescbank.com",icon:Ss,href:"mailto:info@gatescbank.com"}],sxe=["What funding options are available for rural startups?","How do I create a business plan for a rural venture?","What insurance do I need for my rural business?","How can I manage seasonal cash flow challenges?"],txe=["Register for rural business internet banking","Log in to business internet banking","Download the Gates Capital Banking Rural app","I need help with my rural business password"],axe=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:172,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:176,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_480px] lg:items-center lg:py-24",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Rural business startup"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:179,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Turn your rural vision into reality."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:182,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Get expert guidance, flexible financing, and specialized tools to launch and grow your rural business with confidence."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:185,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:190,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:189,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Find an expert"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:193,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:192,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:188,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:178,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1500382017468-9049fed747ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Modern farm equipment and rural landscape",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:198,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:203,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:197,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:177,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:175,columnNumber:9},void 0),t.jsxDEV("nav",{className:"border-b border-t bg-white",children:t.jsxDEV("div",{className:"container mx-auto flex flex-wrap items-center justify-between gap-2 px-4 py-3 text-sm font-medium",children:YNe.map(e=>e.href.startsWith("#")?t.jsxDEV("a",{href:e.href,className:"text-muted-foreground transition hover:text-primary",children:e.label},e.label,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:211,columnNumber:15},void 0):t.jsxDEV(I,{to:e.href,className:"text-muted-foreground transition hover:text-primary",children:e.label},e.label,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:219,columnNumber:15},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:209,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:208,columnNumber:9},void 0),t.jsxDEV("section",{id:"reasons",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why choose Gates Capital Banking for your rural startup?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:233,columnNumber:15},void 0),t.jsxDEV("div",{className:"mx-auto mt-4 h-1 w-24 rounded-full bg-amber-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:236,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:232,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-2",children:QNe.map(({title:e,description:s,icon:a})=>t.jsxDEV("div",{className:"flex gap-5 rounded-2xl border border-emerald-50 bg-emerald-50/60 p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-14 w-14 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:245,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:244,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:248,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:249,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:247,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:240,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:238,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:231,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:230,columnNumber:9},void 0),t.jsxDEV("section",{id:"help",className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How we help you start your rural business"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:260,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"From initial planning to securing funding, our rural specialists provide comprehensive support tailored to the unique challenges and opportunities of rural entrepreneurship."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:263,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:259,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-8 lg:grid-cols-3",children:ZNe.map(e=>t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg",children:[t.jsxDEV("div",{className:"h-56 w-full overflow-hidden",children:t.jsxDEV("img",{src:e.image,alt:e.title,className:"h-full w-full object-cover transition duration-500 hover:scale-105"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:272,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:271,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-4 p-6",children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:279,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:280,columnNumber:21},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-700",asChild:!0,children:t.jsxDEV(I,{to:e.href,children:["Learn more",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:284,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:282,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:281,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:278,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:270,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:268,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:258,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:257,columnNumber:9},void 0),t.jsxDEV("section",{id:"options",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1fr_1.2fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Startup options for rural businesses"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:297,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Choose from our comprehensive range of banking solutions designed to support rural startups from day one, with flexible options that grow with your business."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:300,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Find an expert"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:305,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:304,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:296,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4 rounded-3xl border border-emerald-100 bg-emerald-50/40 p-6",children:XNe.map(e=>t.jsxDEV("div",{className:"flex items-start gap-4 rounded-2xl border border-transparent bg-white/70 p-5 transition hover:border-emerald-200 hover:bg-white",children:[t.jsxDEV(Sr,{className:"mt-1 h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:314,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:316,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:317,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:315,columnNumber:19},void 0),t.jsxDEV(_e,{className:"ml-auto mt-1 h-5 w-5 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:319,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:310,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:308,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:295,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:294,columnNumber:9},void 0),t.jsxDEV("section",{id:"get-started",className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Get started with your rural business"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:329,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:328,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-3",children:JNe.map(({title:e,description:s,icon:a})=>t.jsxDEV("div",{className:"flex flex-col items-center rounded-3xl bg-white p-8 text-center shadow-lg",children:[t.jsxDEV("div",{className:"mb-5 flex h-20 w-20 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:340,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:339,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:342,columnNumber:19},void 0),t.jsxDEV("p",{className:"mt-3 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:343,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:335,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:333,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:327,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:326,columnNumber:9},void 0),t.jsxDEV("section",{id:"next-steps",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Next steps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:353,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:352,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-3",children:exe.map(({title:e,description:s,actionLabel:a,icon:n,href:i})=>t.jsxDEV("div",{className:"flex flex-col gap-4 rounded-3xl border border-emerald-100 bg-emerald-50/60 p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(n,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:362,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:361,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:364,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:365,columnNumber:19},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-700",asChild:!0,children:i.startsWith("http")||i.startsWith("tel")||i.startsWith("mailto")?t.jsxDEV("a",{href:i,children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:368,columnNumber:23},void 0):t.jsxDEV(I,{to:i,children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:370,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:366,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:357,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:355,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:351,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:350,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold text-emerald-900 md:text-3xl",children:"Frequently asked questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:382,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:sxe.map(e=>t.jsxDEV("div",{className:"flex items-center justify-between rounded-2xl border border-emerald-100 bg-emerald-50/80 px-5 py-4",children:[t.jsxDEV("span",{className:"text-sm font-medium text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:388,columnNumber:21},void 0),t.jsxDEV(_e,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:389,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:387,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:385,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:381,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-emerald-900/95 p-8 text-white shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Manage your startup account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:395,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100",children:"Quick access to rural business banking tools and support as you build your venture."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:396,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-4",children:txe.map(e=>t.jsxDEV("div",{className:"flex items-center justify-between rounded-2xl border border-white/10 bg-white/10 px-5 py-4",children:[t.jsxDEV("span",{className:"text-sm font-medium",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:405,columnNumber:21},void 0),t.jsxDEV(_e,{className:"h-5 w-5 text-amber-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:406,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:401,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:399,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:394,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:380,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:379,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Ready to start your rural business journey?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:417,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Our rural banking specialists are here to help you turn your vision into a thriving business. Get expert guidance, flexible financing, and ongoing support every step of the way."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:420,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:424,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Start your application"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:427,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:426,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/support/faqs",children:"Explore support"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:430,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:429,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:425,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:416,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",alt:"Rural business specialist",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:436,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:435,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:434,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:415,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:414,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:174,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:447,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Starting.tsx",lineNumber:171,columnNumber:5},void 0),nxe=[{label:"Why expand",href:"#why-expand"},{label:"Financing options",href:"#financing"},{label:"How it works",href:"#how-it-works"},{label:"Success stories",href:"#success"},{label:"Get started",href:"#get-started"},{label:"FAQs",href:"#faqs"},{label:"Speak to us",href:"/contact"}],ixe=[{title:"Scale production capacity",description:"Expand your operations to meet growing demand and increase your market share with flexible financing solutions.",icon:Ke},{title:"Modernise equipment",description:"Invest in the latest farming technology and machinery to improve efficiency and reduce operational costs.",icon:jt},{title:"Acquire land or assets",description:"Secure additional land or strategic assets to support long-term growth and build generational wealth.",icon:Tr},{title:"Build working capital",description:"Maintain healthy cash flow during peak seasons and bridge the gap between planting and harvest periods.",icon:Sr}],rxe=[{title:"Seasonal lending",description:"Flexible credit facilities designed to match your cash flow cycles, from planting to harvest.",features:["Lower interest rates during off-season","Repayment aligned with harvest","Quick access to funds"],icon:fl},{title:"Equipment finance",description:"Finance new machinery, vehicles, and technology with competitive rates and flexible terms.",features:["Up to 100% financing available","Tax benefits included","Tailored repayment schedules"],icon:jt},{title:"Working capital loans",description:"Bridge the gap between expenses and income with revolving credit facilities and overdrafts.",features:["Access funds as needed","Pay interest only on what you use","Easy online management"],icon:Da},{title:"Property development loans",description:"Fund construction, expansion, or renovations with long-term financing solutions.",features:["Up to 25-year terms","Interest-only periods available","Construction drawdown facilities"],icon:Tr}],oxe=[{step:"01",title:"Assess your growth plan",description:"Review your business plan and identify funding needs for expansion, equipment, or working capital.",icon:Se},{step:"02",title:"Choose your financing",description:"Select the right mix of products from seasonal lending, equipment finance, and working capital solutions.",icon:fl},{step:"03",title:"Secure approval",description:"Work with our rural specialists to finalise terms and access funds quickly to capitalise on opportunities.",icon:mt}],lxe=[{title:"Dairy expansion success",description:"Read how a family dairy farm scaled from 200 to 600 cows with strategic financing.",image:"https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1200&q=80",alt:"Happy dairy farmers with cows in pasture"},{title:"Modernising crop operations",description:"Learn how a grain farmer increased yields by 40% with an equipment finance package.",image:"https://images.unsplash.com/photo-1625246333195-78d9c38ad449?auto=format&fit=crop&w=1200&q=80",alt:"Modern farming equipment in wheat field"},{title:"Seasonal cash flow solution",description:"Discover how seasonal lending helped a horticulture business manage peak harvest periods.",image:"https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=1200&q=80",alt:"Harvested fruit in crates ready for market"}],uxe=[{question:"How quickly can I access growth financing?",answer:"Most applications are approved within 2-5 business days. Our rural specialists work to expedite your application, and funds can be available within a week for standard requirements."},{question:"What can I use growth financing for?",answer:"Our financing solutions cover equipment purchases, land acquisition, building construction, seasonal working capital, and technology upgrades. We tailor solutions to match your specific growth plans."},{question:"Are there minimum loan amounts for growth financing?",answer:"We offer financing from €50,000 upwards, with flexible terms up to 25 years for property. Our specialists can discuss the right structure for your business scale and requirements."},{question:"Can I combine different financing products?",answer:"Yes. Many successful growing businesses use a combination of seasonal lending, equipment finance, and working capital facilities. We'll help you structure a customised funding package."}],cxe=[{title:"Calculate your needs",description:"Use our online tools to estimate financing requirements for your growth plans.",actionLabel:"Try our calculator",icon:Se,href:"/tools/calculator"},{title:"Speak to a specialist",description:"Connect with a rural banking expert who understands your industry.",actionLabel:"Find an expert",icon:Ss,href:"/contact"},{title:"Call us",description:"Talk to our rural banking team Monday to Friday, 8am-6pm.",actionLabel:"+48 732 123 213",icon:ss,href:"tel:+48732123213"}],mxe=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:198,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute inset-0 -z-10",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1500076656116-558758c991c1?auto=format&fit=crop&w=1920&q=80",alt:"Farmers discussing agricultural business in field",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:204,columnNumber:13},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-900/90 via-emerald-800/85 to-green-700/90"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:209,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:203,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:211,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto grid gap-8 md:gap-12 px-4 py-12 md:py-16 lg:grid-cols-[minmax(0,1fr)_480px] lg:items-center lg:py-24",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Growing your business"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:214,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Finance your business growth with confidence."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:217,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Access flexible financing solutions to expand operations, modernise equipment, and scale your rural business with Gates Capital Banking Rural Banking."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:220,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:226,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:225,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"#financing",children:"Explore options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:229,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:228,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:224,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:213,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl",children:t.jsxDEV(pr,{ratio:16/9,className:"relative",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1625246333195-78d9c38ad449?auto=format&fit=crop&w=1600&q=80",alt:"Modern agriculture equipment working in green fields",className:"absolute inset-0 h-full w-full object-cover",loading:"eager",sizes:"(min-width: 1024px) 480px, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:235,columnNumber:17},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:242,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:234,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:233,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:212,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:201,columnNumber:9},void 0),t.jsxDEV(Ts,{items:nxe,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:248,columnNumber:9},void 0),t.jsxDEV("section",{id:"why-expand",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why expand your operations?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:253,columnNumber:15},void 0),t.jsxDEV("div",{className:"mx-auto mt-4 h-1 w-24 rounded-full bg-amber-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:256,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:252,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-2",children:ixe.map(({title:e,description:s,icon:a})=>t.jsxDEV("div",{className:"flex gap-5 rounded-2xl border border-emerald-50 bg-emerald-50/60 p-5 md:p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-14 w-14 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:265,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:264,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:268,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:269,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:267,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:260,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:258,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:251,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:250,columnNumber:9},void 0),t.jsxDEV("section",{id:"financing",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Financing options for growth"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:280,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Choose from flexible financing solutions designed to support your business expansion and growth ambitions."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:283,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:279,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:rxe.map(e=>t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg",children:t.jsxDEV(B,{className:"p-6 md:p-8",children:[t.jsxDEV("div",{className:"mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(e.icon,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:292,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:291,columnNumber:21},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900 mb-3",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:294,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground mb-4",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:295,columnNumber:21},void 0),t.jsxDEV("div",{className:"space-y-2",children:e.features.map((s,a)=>t.jsxDEV("div",{className:"flex items-start gap-2",children:[t.jsxDEV(Ls,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:299,columnNumber:27},void 0),t.jsxDEV("span",{className:"text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:300,columnNumber:27},void 0)]},a,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:298,columnNumber:25},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:296,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:290,columnNumber:19},void 0)},e.title,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:289,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:287,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:278,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:277,columnNumber:9},void 0),t.jsxDEV("section",{id:"how-it-works",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How it works"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:314,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:313,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-3",children:oxe.map(({step:e,title:s,description:a,icon:n})=>t.jsxDEV("div",{className:"flex flex-col items-center rounded-3xl bg-muted/40 p-6 md:p-8 text-center shadow-lg",children:[t.jsxDEV("div",{className:"mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-sm font-bold text-white",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:324,columnNumber:19},void 0),t.jsxDEV("div",{className:"mb-5 flex h-20 w-20 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(n,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:328,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:327,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:330,columnNumber:19},void 0),t.jsxDEV("p",{className:"mt-3 text-sm text-muted-foreground",children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:331,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:320,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:318,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:312,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:311,columnNumber:9},void 0),t.jsxDEV("section",{id:"success",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Success stories"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:341,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"See how other rural businesses have grown with our financing solutions."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:344,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:340,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-3",children:lxe.map(e=>t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg transition hover:-translate-y-1 hover:shadow-xl",children:[t.jsxDEV(pr,{ratio:4/3,className:"overflow-hidden",children:t.jsxDEV("img",{src:e.image,alt:e.alt,className:"absolute inset-0 h-full w-full object-cover transition duration-500 hover:scale-105",loading:"lazy",sizes:"(min-width: 1024px) 32vw, 100vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:352,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:351,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-3 p-4 md:space-y-4 md:p-6",children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:361,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:362,columnNumber:21},void 0),t.jsxDEV("span",{className:"inline-flex items-center text-emerald-700",children:["Read more",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:365,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:363,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:360,columnNumber:19},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:350,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:348,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:339,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:338,columnNumber:9},void 0),t.jsxDEV("section",{id:"get-started",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:377,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:376,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-3",children:cxe.map(({title:e,description:s,actionLabel:a,icon:n,href:i})=>t.jsxDEV("div",{className:"flex flex-col gap-3 md:gap-4 rounded-3xl border border-emerald-100 bg-emerald-50/60 p-5 md:p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(n,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:386,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:385,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:388,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:389,columnNumber:19},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-700",asChild:!0,children:i.startsWith("http")||i.startsWith("tel")||i.startsWith("mailto")?t.jsxDEV("a",{href:i,children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:392,columnNumber:23},void 0):t.jsxDEV(I,{to:i,children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:394,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:390,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:381,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:379,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:375,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:374,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"mx-auto max-w-3xl space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold text-emerald-900 md:text-3xl",children:"Frequently asked questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:406,columnNumber:15},void 0),t.jsxDEV(Ci,{type:"single",collapsible:!0,className:"space-y-4",children:uxe.map(({question:e,answer:s},a)=>t.jsxDEV(In,{value:`faq-${a}`,className:"overflow-hidden rounded-2xl border border-emerald-100 bg-emerald-50/80 border-b-0",children:[t.jsxDEV($n,{className:"group px-5 py-4 text-left text-sm font-medium text-emerald-900 hover:no-underline focus:outline-none focus-visible:ring-2 focus-visible:ring-emerald-500 focus-visible:ring-offset-2 focus-visible:ring-offset-emerald-50 [&>svg:last-child]:hidden",children:t.jsxDEV("span",{className:"flex w-full items-center justify-between gap-3",children:[e,t.jsxDEV(_e,{className:"h-5 w-5 text-emerald-600 transition-transform duration-200 group-data-[state=open]:translate-x-1 group-data-[state=open]:rotate-90"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:419,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:417,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:416,columnNumber:21},void 0),t.jsxDEV(Fn,{className:"px-5 pb-5 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:422,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:411,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:409,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:405,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:404,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:403,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden bg-white",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-10 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_380px] lg:items-center",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Ready to grow your business?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:435,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Our rural banking specialists are here to help you access the financing you need to expand operations, modernise equipment, and scale your business with confidence."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:438,columnNumber:15},void 0),t.jsxDEV(us,{className:"bg-emerald-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:442,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply for financing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:445,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:444,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-800 hover:bg-emerald-50",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/rural",children:"Return to rural banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:448,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:447,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:443,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:434,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto w-full max-w-sm rounded-[48px] bg-amber-300 p-6 shadow-2xl",children:t.jsxDEV("div",{className:"overflow-hidden rounded-[40px] border-4 border-white",children:t.jsxDEV(pr,{ratio:1,className:"relative",children:t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1564510687944-1d8f2d6d7b46?auto=format&fit=crop&w=800&q=80",alt:"Prosperous agricultural landscape with growing crops",className:"absolute inset-0 h-full w-full object-cover",loading:"lazy",sizes:"(min-width: 1024px) 380px, 90vw"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:455,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:454,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:453,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:452,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:433,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:432,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:200,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:469,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Growing.tsx",lineNumber:197,columnNumber:5},void 0);var Mg,pf="HoverCard",[R3,m1e]=Mt(pf,[Dl]),hf=Dl(),[dxe,tD]=R3(pf),M3=e=>{const{__scopeHoverCard:s,children:a,open:n,defaultOpen:i,onOpenChange:r,openDelay:o=700,closeDelay:l=300}=e,u=hf(s),c=v.useRef(0),m=v.useRef(0),d=v.useRef(!1),b=v.useRef(!1),[f,h]=va({prop:n,defaultProp:i??!1,onChange:r,caller:pf}),g=v.useCallback(()=>{clearTimeout(m.current),c.current=window.setTimeout(()=>h(!0),o)},[o,h]),p=v.useCallback(()=>{clearTimeout(c.current),!d.current&&!b.current&&(m.current=window.setTimeout(()=>h(!1),l))},[l,h]),x=v.useCallback(()=>h(!1),[h]);return v.useEffect(()=>()=>{clearTimeout(c.current),clearTimeout(m.current)},[]),q.jsx(dxe,{scope:s,open:f,onOpenChange:h,onOpen:g,onClose:p,onDismiss:x,hasSelectionRef:d,isPointerDownOnContentRef:b,children:q.jsx($v,{...u,children:a})})};M3.displayName=pf;var O3="HoverCardTrigger",I3=v.forwardRef((e,s)=>{const{__scopeHoverCard:a,...n}=e,i=tD(O3,a),r=hf(a);return q.jsx(Fv,{asChild:!0,...r,children:q.jsx(Ve.a,{"data-state":i.open?"open":"closed",...n,ref:s,onPointerEnter:je(e.onPointerEnter,tb(i.onOpen)),onPointerLeave:je(e.onPointerLeave,tb(i.onClose)),onFocus:je(e.onFocus,i.onOpen),onBlur:je(e.onBlur,i.onClose),onTouchStart:je(e.onTouchStart,o=>o.preventDefault())})})});I3.displayName=O3;var bxe="HoverCardPortal",[d1e,fxe]=R3(bxe,{forceMount:void 0}),sb="HoverCardContent",$3=v.forwardRef((e,s)=>{const a=fxe(sb,e.__scopeHoverCard),{forceMount:n=a.forceMount,...i}=e,r=tD(sb,e.__scopeHoverCard);return q.jsx(nn,{present:n||r.open,children:q.jsx(gxe,{"data-state":r.open?"open":"closed",...i,onPointerEnter:je(e.onPointerEnter,tb(r.onOpen)),onPointerLeave:je(e.onPointerLeave,tb(r.onClose)),ref:s})})});$3.displayName=sb;var gxe=v.forwardRef((e,s)=>{const{__scopeHoverCard:a,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:r,onInteractOutside:o,...l}=e,u=tD(sb,a),c=hf(a),m=v.useRef(null),d=ns(s,m),[b,f]=v.useState(!1);return v.useEffect(()=>{if(b){const h=document.body;return Mg=h.style.userSelect||h.style.webkitUserSelect,h.style.userSelect="none",h.style.webkitUserSelect="none",()=>{h.style.userSelect=Mg,h.style.webkitUserSelect=Mg}}},[b]),v.useEffect(()=>{if(m.current){const h=()=>{f(!1),u.isPointerDownOnContentRef.current=!1,setTimeout(()=>{document.getSelection()?.toString()!==""&&(u.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",h),()=>{document.removeEventListener("pointerup",h),u.hasSelectionRef.current=!1,u.isPointerDownOnContentRef.current=!1}}},[u.isPointerDownOnContentRef,u.hasSelectionRef]),v.useEffect(()=>{m.current&&vxe(m.current).forEach(g=>g.setAttribute("tabindex","-1"))}),q.jsx(dl,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:o,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:je(r,h=>{h.preventDefault()}),onDismiss:u.onDismiss,children:q.jsx(Bv,{...c,...l,onPointerDown:je(l.onPointerDown,h=>{h.currentTarget.contains(h.target)&&f(!0),u.hasSelectionRef.current=!1,u.isPointerDownOnContentRef.current=!0}),ref:d,style:{...l.style,userSelect:b?"text":void 0,WebkitUserSelect:b?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})}),pxe="HoverCardArrow",hxe=v.forwardRef((e,s)=>{const{__scopeHoverCard:a,...n}=e,i=hf(a);return q.jsx(qv,{...i,...n,ref:s})});hxe.displayName=pxe;function tb(e){return s=>s.pointerType==="touch"?void 0:e()}function vxe(e){const s=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;a.nextNode();)s.push(a.currentNode);return s}var Nxe=M3,xxe=I3,F3=$3;const Dxe=Nxe,Gxe=xxe,B3=v.forwardRef(({className:e,align:s="center",sideOffset:a=4,...n},i)=>t.jsxDEV(F3,{ref:i,align:s,sideOffset:a,className:me("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/hover-card.tsx",lineNumber:14,columnNumber:3},void 0));B3.displayName=F3.displayName;const yxe=[{label:"Why choose us",href:"#reasons"},{label:"Planning",href:"#planning"},{label:"Finance options",href:"#finance"},{label:"Tools & resources",href:"#tools"},{label:"Get started",href:"#get-started"},{label:"FAQs",href:"#faqs"},{label:"Contact",href:"#contact"}],Cxe=[{title:"Local expertise",description:"Work with specialists who understand your region, seasons, and rural networks.",icon:bl},{title:"Industry insight",description:"Tap into practical knowledge across farming and agribusiness sectors.",icon:gl},{title:"Fast decisions",description:"Move quickly with streamlined processes designed for rural start-ups.",icon:Tr},{title:"Ongoing support",description:"Stay connected to a dedicated team throughout your first seasons and beyond.",icon:Cs}],kxe=[{title:"Business plan",description:"Set your direction with a grounded plan covering goals, seasons, and operations.",href:"/rural/farm-planning"},{title:"Cashflow & budgeting",description:"Map seasonal income and expenses and stay ahead of variability.",href:"/personal/accounts"},{title:"Land & compliance",description:"Understand permits, environmental responsibilities, and local regulations.",href:"/support/faqs"},{title:"Risk & insurance",description:"Identify key risks and consider cover appropriate to your operation.",href:"/personal/insurance"}],Exe=[{title:"Start-up loans",href:"/rural/lending"},{title:"Equipment finance",href:"/rural/lending"},{title:"Overdrafts for seasonality",href:"/rural/lending"},{title:"Environmental improvement loans",href:"/rural/lending"}],Lxe=[{title:"Budget calculator",description:"Estimate seasonal budgets and forecast cashflow.",icon:Se,href:"/support/help"},{title:"Grants & programs",description:"Explore support available for rural businesses.",icon:gl,href:"/support/help"},{title:"First-season checklist",description:"Track set-up tasks and key milestones.",icon:Ar,href:"/support/faqs"}],jxe=[{title:"01 Define goals",description:"Outline what success looks like across yield, sustainability, and finances.",icon:Ar},{title:"02 Choose finance",description:"Match borrowing to seasonality, equipment needs, and risk appetite.",icon:Se},{title:"03 Consult expert",description:"Speak with a rural specialist to refine your plan and next steps.",icon:Cs}],wxe=[{question:"How long do applications take?",answer:"Most rural start-up applications are assessed within five to seven business days once all supporting documents arrive.",actions:[{label:"Chat now",href:"/support/help#chat",icon:Ss},{label:"Download timeline",href:"/resources/application-timeline",icon:CD}]},{question:"What documents will I need?",answer:"Have your business plan, seasonal cashflow forecast, and recent financial statements ready so our team can fast-track checks.",actions:[{label:"View checklist",href:"/support/faqs#documents",icon:Ar},{label:"Email an expert",href:"/contact",icon:ra}]},{question:"What security is required?",answer:"Security is tailored to your asset mix. We typically consider land, equipment, or approved guarantees for new lending.",actions:[{label:"Discuss options",href:"/support/help#specialists",icon:Ss},{label:"Download guide",href:"/resources/security-guide",icon:CD}]},{question:"How do I onboard on mobile?",answer:"Use the Rural Banking app to verify ID, set permissions, and sync your farm team in under ten minutes.",actions:[{label:"Download app",href:"/support/help#app",icon:Ft},{label:"Watch tutorial",href:"/support/faqs#onboarding",icon:MP}]}],Uxe=[{title:"Register for online banking",description:"Create secure access for your farm accounts and set user roles in minutes.",href:"/register",cta:"Start registration",icon:$E},{title:"Log in securely",description:"Jump straight to approvals, payments, and seasonal dashboards.",href:"/login",cta:"Open login",icon:mt},{title:"Download the mobile app",description:"Monitor cashflow, upload receipts, and approve tasks from anywhere.",href:"/support/help#app",cta:"Get the app",icon:Ft},{title:"Reset or unlock access",description:"Recover passwords or request a rapid security review with one tap.",href:"/support/faqs#security",cta:"Fix access",icon:_E}],Hxe=["rgba(94, 234, 212, 0.35)","rgba(250, 204, 21, 0.35)","rgba(134, 239, 172, 0.38)"],Vxe=[{title:"Find an expert",description:"Connect with a rural specialist for tailored guidance.",href:"/contact",icon:Cs},{title:"Call us",description:"Mon–Fri, 8:00am–6:00pm",href:"tel:+48732123213",icon:ss},{title:"Email us",description:"We’ll respond within one business day.",href:"mailto:info@gatescbank.com",icon:ra}],Og=new Date().getMonth(),Wk=[11,0,1].includes(Og)?{season:"Summer",tip:"Review water plans and schedule equipment maintenance."}:[2,3,4].includes(Og)?{season:"Autumn",tip:"Prepare budgets for winter feed and pasture renewal."}:[5,6,7].includes(Og)?{season:"Winter",tip:"Plan capital works and update compliance records."}:{season:"Spring",tip:"Soil testing and cashflow checks ahead of peak."},Pxe=[{label:"Avg approval time",value:"48 hrs"},{label:"Rural specialists",value:"120+"},{label:"Client satisfaction",value:"97%"}],Axe=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:264,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-950 via-emerald-800 to-emerald-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:269,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 py-16 lg:grid-cols-[minmax(0,1fr)_480px] lg:items-center lg:py-24",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-white/15 px-4 py-1 text-xs font-semibold uppercase tracking-wider text-amber-200",children:"Rural • Getting started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:272,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Starting your rural business"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:275,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-emerald-50/90 md:text-xl",children:"Plan with confidence using our tools, tailored finance options, and direct access to rural specialists who understand seasonal realities."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:278,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-3",children:[t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Talk to a rural specialist"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:284,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:283,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/rural/lending",children:"Explore rural lending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:287,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:286,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:282,columnNumber:15},void 0),t.jsxDEV("div",{className:"grid w-full gap-4 pt-4 sm:grid-cols-3",children:Pxe.map(e=>t.jsxDEV("div",{className:"rounded-2xl border border-white/15 bg-white/10 p-4 text-white shadow-inner",children:[t.jsxDEV("div",{className:"text-2xl font-semibold",children:e.value},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:293,columnNumber:21},void 0),t.jsxDEV("div",{className:"text-xs uppercase tracking-wide text-emerald-100/90",children:e.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:294,columnNumber:21},void 0)]},e.label,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:292,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:290,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:271,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative h-72 overflow-hidden rounded-tl-[48px] rounded-br-[48px] border border-white/20 bg-white/10 shadow-2xl md:h-96 lg:h-[420px]",children:[t.jsxDEV("img",{src:"https://images.unsplash.com/photo-1603188017960-5db11f90f51b?q=80&w=1200&auto=format&fit=crop",alt:"Farmer planning at sunrise over fields",className:"h-full w-full object-cover"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:300,columnNumber:15},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-tr from-black/10 via-transparent to-amber-300/10"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:305,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:299,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:270,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:268,columnNumber:9},void 0),t.jsxDEV("nav",{className:"sticky top-0 z-30 border-b border-t border-emerald-100 bg-white/80 backdrop-blur supports-[backdrop-filter]:bg-white/70",children:t.jsxDEV("div",{className:"container mx-auto flex flex-wrap items-center justify-between gap-2 px-4 py-3 text-sm font-medium",children:yxe.map(e=>t.jsxDEV("a",{href:e.href,className:"text-muted-foreground transition hover:text-primary",children:e.label},e.label,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:314,columnNumber:15},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:312,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:311,columnNumber:9},void 0),t.jsxDEV("section",{id:"reasons",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why choose us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:325,columnNumber:15},void 0),t.jsxDEV("div",{className:"mx-auto mt-4 h-1 w-24 rounded-full bg-amber-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:326,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:324,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-3",children:Cxe.map(({title:e,description:s,icon:a},n)=>t.jsxDEV("div",{className:`flex gap-5 rounded-3xl border p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg ${n===0?"border-emerald-100 bg-emerald-50/70":n===1?"border-amber-100 bg-amber-50/60":n===2?"border-emerald-100 bg-white":"border-emerald-50 bg-white/70"}`,children:[t.jsxDEV("div",{className:"flex h-14 w-14 items-center justify-center rounded-2xl bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:342,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:341,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:345,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:346,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:344,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:330,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:328,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:323,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:322,columnNumber:9},void 0),t.jsxDEV("section",{id:"planning",className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Planning your start"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:358,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Cover the essentials from your first season: build a practical plan, model cashflow, understand compliance, and consider your risk position."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:359,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:357,columnNumber:13},void 0),t.jsxDEV("div",{className:"mx-auto max-w-4xl rounded-2xl border border-emerald-100 bg-white p-4 text-sm text-emerald-900 shadow-sm md:flex md:items-center md:gap-4",children:[t.jsxDEV("span",{className:"inline-flex items-center rounded-full bg-emerald-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-emerald-700",children:["Seasonal insight: ",Wk.season]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:365,columnNumber:15},void 0),t.jsxDEV("span",{className:"mt-2 block md:mt-0",children:Wk.tip},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:368,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:364,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:kxe.map(e=>t.jsxDEV(F,{className:"border-0 shadow-lg",children:t.jsxDEV(B,{className:"space-y-4 p-6",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:374,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:375,columnNumber:21},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-700",asChild:!0,children:t.jsxDEV(I,{to:e.href,"aria-label":`Learn more about ${e.title}`,children:["Learn more",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:379,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:377,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:376,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:373,columnNumber:19},void 0)},e.title,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:372,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:370,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:356,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:355,columnNumber:9},void 0),t.jsxDEV("section",{id:"finance",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1fr_1.2fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Finance options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:393,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Choose lending that fits your operation’s rhythm. Structure borrowing around seasonal cashflow, equipment needs, and environmental goals with guidance from rural specialists."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:394,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Find an expert"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:399,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:398,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:392,columnNumber:13},void 0),t.jsxDEV("div",{className:"rounded-3xl border border-emerald-100 bg-emerald-50/40 p-2",children:t.jsxDEV(Ci,{type:"single",collapsible:!0,children:Exe.map((e,s)=>t.jsxDEV(In,{value:`item-${s}`,children:[t.jsxDEV($n,{className:"px-4",children:t.jsxDEV("div",{className:"flex items-center gap-3 text-left",children:[t.jsxDEV(Tr,{className:"h-5 w-5 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:408,columnNumber:25},void 0),t.jsxDEV("span",{className:"text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:409,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:407,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:406,columnNumber:21},void 0),t.jsxDEV(Fn,{className:"px-4 pb-4",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Learn how this option can support your seasonal needs, repayments, and equipment plans."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:413,columnNumber:23},void 0),t.jsxDEV("div",{className:"pt-3",children:t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-700",asChild:!0,children:t.jsxDEV(I,{to:e.href,children:["View options",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:420,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:418,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:417,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:416,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:412,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:405,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:403,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:402,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:391,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:390,columnNumber:9},void 0),t.jsxDEV("section",{id:"tools",className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Tools & resources"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:436,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:435,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-3",children:Lxe.map(({title:e,description:s,icon:a,href:n})=>t.jsxDEV(Dxe,{children:[t.jsxDEV(Gxe,{asChild:!0,children:t.jsxDEV("div",{className:"flex cursor-pointer flex-col gap-4 rounded-3xl bg-white p-6 shadow-lg transition hover:-translate-y-1 hover:shadow-xl",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:444,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:443,columnNumber:23},void 0),t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:446,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:447,columnNumber:23},void 0),t.jsxDEV(L,{variant:"link",className:"px-0 text-emerald-700",asChild:!0,children:t.jsxDEV(I,{to:n,"aria-label":`Open ${e}`,children:"Open tool"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:449,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:448,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:442,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:441,columnNumber:19},void 0),t.jsxDEV(B3,{className:"w-72 text-sm",children:t.jsxDEV("p",{className:"text-muted-foreground",children:["Preview: ",e,". This resource helps you plan with more clarity before talking to an expert."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:454,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:453,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:440,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:438,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:434,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:433,columnNumber:9},void 0),t.jsxDEV("section",{id:"get-started",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:468,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:467,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative",children:[t.jsxDEV("div",{className:"pointer-events-none absolute left-[12%] right-[12%] top-10 hidden h-0.5 bg-emerald-200 md:block"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:471,columnNumber:15},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-3",children:jxe.map(({title:e,description:s,icon:a})=>t.jsxDEV("div",{className:"relative flex flex-col items-center rounded-3xl bg-emerald-50 p-8 text-center shadow-sm",children:[t.jsxDEV("div",{className:"mb-5 flex h-20 w-20 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(a,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:476,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:475,columnNumber:21},void 0),t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:478,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-3 text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:479,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:474,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:472,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:470,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:466,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:465,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"mx-auto max-w-6xl",children:t.jsxDEV("div",{className:"relative overflow-hidden rounded-[48px] bg-gradient-to-br from-emerald-950 via-emerald-900 to-emerald-700 p-[1px] shadow-[0_0_45px_rgba(16,185,129,0.35)]",children:[t.jsxDEV("div",{className:"absolute inset-0 -z-10 bg-gradient-to-br from-emerald-500/20 via-transparent to-emerald-300/10 blur-3xl"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:492,columnNumber:17},void 0),t.jsxDEV("div",{className:"relative grid gap-6 rounded-[46px] bg-emerald-950/85 p-6 backdrop-blur-xl sm:p-8 lg:grid-cols-[1.1fr_0.9fr] lg:gap-12",children:[t.jsxDEV("div",{className:"space-y-4 sm:space-y-6",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("p",{className:"text-sm uppercase tracking-wide text-emerald-200/80",children:"Support hub"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:496,columnNumber:23},void 0),t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-50 md:text-4xl",children:"Frequently asked questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:497,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100 md:text-base",children:"Quick answers from our rural specialists so you can keep planning with confidence."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:498,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:495,columnNumber:21},void 0),t.jsxDEV(Ci,{type:"single",collapsible:!0,className:"space-y-4",children:wxe.map((e,s)=>t.jsxDEV(In,{value:`faq-${s}`,className:"overflow-hidden rounded-3xl border border-white/10 bg-white/10 px-3 backdrop-blur-sm sm:px-4",children:[t.jsxDEV($n,{className:"text-left text-base font-semibold text-emerald-50 md:text-lg",children:e.question},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:509,columnNumber:27},void 0),t.jsxDEV(Fn,{className:"space-y-4 pb-5 text-sm text-emerald-100 md:text-base",children:[t.jsxDEV("p",{className:"leading-relaxed text-emerald-100/90",children:e.answer},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:513,columnNumber:29},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-2 md:gap-3",children:e.actions.map(a=>t.jsxDEV(L,{size:"sm",variant:"secondary",className:"rounded-full border border-emerald-400/40 bg-emerald-500/10 text-emerald-100 hover:bg-emerald-500/20",asChild:!0,children:t.jsxDEV(I,{to:a.href,children:t.jsxDEV("span",{className:"flex items-center gap-2",children:[a.icon?t.jsxDEV(a.icon,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:526,columnNumber:41},void 0):null,a.label]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:524,columnNumber:37},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:523,columnNumber:35},void 0)},a.label,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:516,columnNumber:33},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:514,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:512,columnNumber:27},void 0)]},e.question,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:504,columnNumber:25},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:502,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:494,columnNumber:19},void 0),t.jsxDEV("div",{className:"relative overflow-hidden rounded-[32px] border border-white/15 bg-emerald-800/30 p-6 text-white shadow-[0_18px_55px_rgba(8,47,35,0.35)] backdrop-blur-lg sm:p-8",children:[t.jsxDEV("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_top,rgba(74,222,128,0.45),transparent_60%)] opacity-80"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:540,columnNumber:21},void 0),t.jsxDEV("div",{className:"relative space-y-4 sm:space-y-6",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h2",{className:"text-2xl font-semibold md:text-3xl",children:"Manage your account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:543,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100 md:text-base",children:"Responsive tools that keep your banking in sync with your season."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:544,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:542,columnNumber:23},void 0),t.jsxDEV("div",{className:"grid gap-4 sm:grid-cols-2 md:gap-6",children:Uxe.map(({title:e,description:s,href:a,cta:n,icon:i})=>t.jsxDEV("div",{className:"flex flex-col gap-4 rounded-3xl border border-white/15 bg-white/10 p-5 shadow-lg backdrop-blur-xl",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-emerald-500/20 text-amber-200",children:t.jsxDEV(i,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:555,columnNumber:31},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:554,columnNumber:29},void 0),t.jsxDEV("div",{className:"space-y-1",children:[t.jsxDEV("h3",{className:"text-lg font-semibold",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:558,columnNumber:31},void 0),t.jsxDEV("p",{className:"text-sm text-emerald-100/90",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:559,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:557,columnNumber:29},void 0),t.jsxDEV(L,{size:"sm",variant:"secondary",className:"mt-auto w-fit rounded-full border border-emerald-300/40 bg-emerald-500/20 text-emerald-50 hover:bg-emerald-500/30",asChild:!0,children:t.jsxDEV(I,{to:a,children:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:567,columnNumber:31},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:561,columnNumber:29},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:550,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:548,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:541,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:539,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:493,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:491,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:490,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:489,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:488,columnNumber:9},void 0),t.jsxDEV("section",{id:"contact",className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Contact"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:584,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:583,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-3",children:Vxe.map(({title:e,description:s,href:a,icon:n})=>a.startsWith("http")||a.startsWith("tel")||a.startsWith("mailto")?t.jsxDEV("a",{href:a,className:"flex flex-col gap-4 rounded-3xl border border-emerald-100 bg-emerald-50/60 p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(n,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:595,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:594,columnNumber:21},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:597,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:598,columnNumber:21},void 0),t.jsxDEV("span",{className:"inline-flex items-center text-emerald-700",children:a.replace("mailto:","").replace("tel:","")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:599,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:589,columnNumber:19},void 0):t.jsxDEV(I,{to:a,className:"flex flex-col gap-4 rounded-3xl border border-emerald-100 bg-emerald-50/60 p-6",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(n,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:610,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:609,columnNumber:21},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:612,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:613,columnNumber:21},void 0),t.jsxDEV("span",{className:"inline-flex items-center text-emerald-700",children:"Get in touch"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:614,columnNumber:21},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:604,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:586,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:582,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:581,columnNumber:9},void 0),t.jsxDEV("section",{className:"relative overflow-hidden text-white",style:{clipPath:"polygon(0 7%, 100% 0, 100% 100%, 0 100%)"},children:[t.jsxDEV("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-950 via-emerald-900 to-emerald-800"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:627,columnNumber:11},void 0),t.jsxDEV("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top_right,rgba(59,130,246,0.15),transparent_55%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:628,columnNumber:11},void 0),t.jsxDEV("div",{className:"container relative z-10 mx-auto grid gap-8 px-4 py-20 lg:grid-cols-[minmax(0,1fr)_360px] lg:items-center lg:gap-12",children:[t.jsxDEV("div",{className:"space-y-4 md:space-y-6",children:[t.jsxDEV("p",{className:"text-sm uppercase tracking-[0.2em] text-emerald-200/80",children:"Next steps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:631,columnNumber:15},void 0),t.jsxDEV("h2",{className:"text-3xl font-semibold md:text-4xl",children:"Walk the paddocks with us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:632,columnNumber:15},void 0),t.jsxDEV("blockquote",{className:"rounded-3xl border border-white/20 bg-white/10 p-6 text-base leading-relaxed text-emerald-100/90 shadow-lg backdrop-blur",children:"“Their specialist sat with us in the shed, mapped out water lines, and left us confident about the season ahead.”"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:633,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-wrap gap-4 md:gap-6",children:[t.jsxDEV(L,{className:"rounded-full bg-amber-400 px-6 py-2 text-base font-semibold text-emerald-950 shadow-lg transition hover:bg-amber-300",asChild:!0,children:t.jsxDEV(I,{to:"/contact#visit",children:"Book a farm visit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:641,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:637,columnNumber:17},void 0),t.jsxDEV(L,{variant:"outline",className:"rounded-full border-white/40 px-6 py-2 text-base text-white hover:bg-white/10",asChild:!0,children:t.jsxDEV(I,{to:"/support/help#specialists",children:"Talk with a specialist"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:648,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:643,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:636,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:630,columnNumber:13},void 0),t.jsxDEV("div",{className:"relative mx-auto flex w-full max-w-md items-end justify-center gap-6 py-6",children:Hxe.map((e,s)=>t.jsxDEV("div",{className:"relative flex h-48 w-32 flex-col items-center justify-end rounded-[60px]",style:{background:`linear-gradient(180deg, ${e} 0%, rgba(6, 95, 70, 0.7) 100%)`,boxShadow:"0 25px 55px rgba(6, 78, 59, 0.45)",transform:`translateY(${s*10}px)`},children:[t.jsxDEV("span",{className:"absolute -top-10 h-16 w-16 rounded-full",style:{background:`radial-gradient(circle, ${e} 0%, rgba(6, 78, 59, 0.8) 70%)`,boxShadow:"0 10px 25px rgba(6, 78, 59, 0.45)"}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:663,columnNumber:19},void 0),t.jsxDEV("span",{className:"absolute top-8 h-20 w-24 rounded-[48px]",style:{background:`linear-gradient(180deg, ${e} 0%, rgba(6, 78, 59, 0.85) 100%)`,clipPath:"polygon(15% 0, 85% 0, 100% 45%, 100% 100%, 0 100%, 0 45%)"}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:670,columnNumber:19},void 0),t.jsxDEV("span",{className:"absolute bottom-8 h-10 w-28 rounded-full",style:{background:"radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(15, 118, 110, 0.4) 70%)",filter:"blur(8px)"}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:677,columnNumber:19},void 0)]},e,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:654,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:652,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:629,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:623,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:266,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:691,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/FarmPlanning.tsx",lineNumber:263,columnNumber:5},void 0),Sxe=[{label:"Account types",href:"#accounts"},{label:"Features",href:"#features"},{label:"Benefits",href:"#benefits"},{label:"How to apply",href:"#process"},{label:"FAQs",href:"#faqs"},{label:"Contact us",href:"/contact"}],Txe=[{title:"Rural Transaction Account",description:"Everyday banking for rural operations with unlimited transactions and seasonal flexibility.",features:["Unlimited transactions","No monthly fees","Linked offset accounts","Seasonal repayment options"],icon:as,popular:!0},{title:"Rural Savings Account",description:"High-interest savings designed for managing seasonal cash flows and building reserves.",features:["Competitive interest rates","Flexible deposits","Linked to transaction account","Easy access"],icon:Da,popular:!1},{title:"Specialty Rural Account",description:"Specialized accounts for specific rural needs like livestock management or crop finance.",features:["Customized features","Dedicated support","Integrated tools","Specialized reporting"],icon:jt,popular:!1}],_xe=[{title:"Seasonal flexibility",description:"Account features that adapt to your seasonal cash flow patterns and operational needs.",icon:xa},{title:"Linked offset accounts",description:"Offset your savings against loans to reduce interest and maximize your financial efficiency.",icon:Ke},{title:"Integrated online tools",description:"Access comprehensive online banking with specialized tools for rural business management.",icon:Vn},{title:"Mobile banking",description:"Bank on the go with our mobile app featuring rural-specific features and real-time notifications.",icon:Ft},{title:"Multi-user access",description:"Grant secure access to team members with role-based permissions for farm operations.",icon:Cs},{title:"Priority support",description:"Dedicated rural banking specialists available to assist with your account needs.",icon:mt}],Rxe=[{title:"No monthly fees",description:"Rural transaction accounts with no monthly maintenance fees, keeping costs low for your operation."},{title:"Competitive rates",description:"Attractive interest rates on savings accounts to help grow your reserves during peak seasons."},{title:"Flexible access",description:"Access your accounts anytime, anywhere with online, mobile, and branch banking options."},{title:"Dedicated support",description:"Work with rural banking specialists who understand agricultural operations and seasonal challenges."}],Mxe=[{step:"01",title:"Choose your account",description:"Select the account type that best suits your rural operation and financial needs.",icon:wt},{step:"02",title:"Apply online",description:"Complete your application online in minutes with support from our rural banking team.",icon:Se},{step:"03",title:"Get approved",description:"Receive fast approval and start using your account with full online and mobile access.",icon:Ls}],Oxe=[{q:"What account types are available for rural operations?",a:"We offer Rural Transaction Accounts for everyday banking, Rural Savings Accounts for managing seasonal cash flows, and Specialty Rural Accounts for specific needs like livestock or crop finance."},{q:"Are there monthly fees for rural accounts?",a:"Our Rural Transaction Account has no monthly maintenance fees. Savings accounts may have different fee structures depending on balance and transaction levels."},{q:"Can I link my rural account to offset loans?",a:"Yes, you can link your savings account to offset eligible loans, reducing interest charges and helping you pay off loans faster."},{q:"How do I manage seasonal cash flow with these accounts?",a:"Our accounts offer flexible features including seasonal repayment options, interest-only periods during low-income seasons, and tools to track and manage cash flow throughout the year."}],Ixe=[{title:"Open an account",description:"Start your application online and get approved quickly.",actionLabel:"Apply now",href:"/contact",icon:as},{title:"Speak to a specialist",description:"Get personalized guidance on choosing the right account for your operation.",actionLabel:"Contact us",href:"/contact",icon:Ss},{title:"Call us",description:"Speak with our rural banking team Monday to Friday, 8am-6pm.",actionLabel:Je.phone,href:Je.phoneHref,icon:ss}],$xe=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:181,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative overflow-hidden bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjYwIiBoZWlnaHQ9IjYwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDYwIDAgTCAwIDAgMCA2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=')] opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:186,columnNumber:11},void 0),t.jsxDEV("div",{className:"relative py-16 md:py-24",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl",children:[t.jsxDEV("p",{className:"text-sm uppercase tracking-[0.2em] text-white/80 mb-2",children:"Accounts tailored for rural needs"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:190,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-3xl md:text-5xl font-bold text-white mb-4 leading-tight",children:"Rural Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:193,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-white/90 max-w-2xl text-lg leading-relaxed mb-6",children:"Transaction, savings, and specialty accounts for rural operations. Features designed for seasonal flexibility, linked offset accounts, and integrated online tools."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:196,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Open an account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:201,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:200,columnNumber:19},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:"#accounts",children:"View accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:204,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:203,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:199,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:189,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:188,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:187,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:185,columnNumber:9},void 0),t.jsxDEV(Ts,{items:Sxe,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:212,columnNumber:9},void 0),t.jsxDEV("section",{id:"accounts",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Account Types"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:218,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Choose from our range of accounts designed specifically for rural operations and agricultural businesses."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:219,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:217,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-3",children:Txe.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:230,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:229,columnNumber:23},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:236,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:235,columnNumber:25},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:239,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground mt-2",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:240,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:238,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:234,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:233,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV(us,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:245,columnNumber:23},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Key features:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:247,columnNumber:25},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(a=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(Ls,{className:"h-4 w-4 text-emerald-700 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:251,columnNumber:31},void 0),a]},a,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:250,columnNumber:29},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:248,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:246,columnNumber:23},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:["Learn more",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:260,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:258,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:257,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:244,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:227,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:223,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:216,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:215,columnNumber:9},void 0),t.jsxDEV("section",{id:"features",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Account Features"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:275,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Comprehensive features designed to support your rural operation and financial management."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:276,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:274,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:_xe.map(e=>{const s=e.icon;return t.jsxDEV("div",{className:"flex flex-col gap-4 rounded-2xl border border-emerald-50 bg-white p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:289,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:288,columnNumber:21},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:292,columnNumber:23},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:293,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:291,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:284,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:280,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:273,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:272,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Benefits"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:306,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Why choose Gates Capital Banking for your rural banking needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:307,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:305,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:Rxe.map((e,s)=>t.jsxDEV(F,{className:"border-0 shadow-lg",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-lg text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:315,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:314,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:318,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:317,columnNumber:19},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:313,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:311,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:304,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:303,columnNumber:9},void 0),t.jsxDEV("section",{id:"process",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-12 px-4 lg:grid-cols-[1fr_1.2fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How to Apply"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:330,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Open your rural account quickly and easily with our streamlined application process."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:331,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Start application"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:335,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:334,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:329,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4 rounded-3xl border border-emerald-100 bg-emerald-50/40 p-6",children:Mxe.map(e=>{const s=e.icon;return t.jsxDEV("div",{className:"flex items-start gap-4 rounded-2xl border border-transparent bg-white/70 p-4 md:p-5 transition hover:border-emerald-200 hover:bg-white",children:[t.jsxDEV(s,{className:"mt-1 h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:346,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:348,columnNumber:23},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:349,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:347,columnNumber:21},void 0),t.jsxDEV("span",{className:"ml-auto mt-1 text-emerald-500 text-sm font-semibold",children:e.step},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:351,columnNumber:21},void 0)]},e.step,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:342,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:338,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:328,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:327,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900",children:"Frequently Asked Questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:363,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Find answers to common questions about rural accounts and banking services."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:364,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:362,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:Oxe.map((e,s)=>t.jsxDEV(F,{className:"border-0 shadow-md",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"text-base font-semibold text-emerald-900",children:e.q},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:372,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:371,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:375,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:374,columnNumber:19},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:370,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:368,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:361,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:360,columnNumber:9},void 0),t.jsxDEV("section",{id:"next-steps",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Next Steps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:387,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Ready to open a rural account? Get started today."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:388,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:386,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-3 max-w-5xl mx-auto",children:Ixe.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:"border-0 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:400,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:399,columnNumber:25},void 0),t.jsxDEV(K,{className:"text-lg text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:402,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:398,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:397,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:406,columnNumber:23},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:e.href,children:[e.actionLabel,t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:410,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:408,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:407,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:405,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:396,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:392,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:385,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:384,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4 text-center",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-white",children:"Open Your Rural Account Today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:425,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-white/90",children:"Get accounts designed for rural operations with seasonal flexibility and dedicated support."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:428,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Open an account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:433,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:432,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:Je.phoneHref,children:"Call us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:436,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:435,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:431,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:424,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:423,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:422,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:183,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:444,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Accounts.tsx",lineNumber:180,columnNumber:5},void 0),Fxe=[{label:"Loan products",href:"#products"},{label:"Benefits",href:"#benefits"},{label:"Interest rates",href:"#rates"},{label:"How to apply",href:"#process"},{label:"FAQs",href:"#faqs"},{label:"Contact us",href:"/contact"}],Bxe=[{title:"Livestock Finance",description:"Flexible financing for cattle, sheep, and other livestock purchases and management.",interestRate:"From 4.99% p.a.",comparisonRate:"5.15% p.a.",features:["Seasonal repayment options","Livestock security","Flexible terms","Quick approval"],icon:aA,popular:!0},{title:"Equipment Finance",description:"Finance for farm machinery, vehicles, and essential equipment with competitive rates.",interestRate:"From 5.49% p.a.",comparisonRate:"5.65% p.a.",features:["New and used equipment","Balloon payment options","Tax benefits","Asset protection"],icon:jt,popular:!1},{title:"Property Finance",description:"Rural property purchases, expansions, and refinancing tailored to agricultural needs.",interestRate:"From 5.29% p.a.",comparisonRate:"5.45% p.a.",features:["Farm property expertise","Long-term options","Offset accounts","Flexible repayments"],icon:jt,popular:!1},{title:"Seasonal Finance",description:"Working capital solutions aligned to farm cash cycles and seasonal operations.",interestRate:"From 5.79% p.a.",comparisonRate:"5.95% p.a.",features:["Cash flow aligned","Harvest season support","Flexible drawdown","Interest-only options"],icon:FE,popular:!1}],qxe=[{title:"Aligned to farm cash cycles",description:"Repayment structures that match your seasonal income patterns and operational needs.",icon:xa},{title:"Competitive rates",description:"Market-leading interest rates designed specifically for rural and agricultural businesses.",icon:pl},{title:"Dedicated rural specialists",description:"Work with experienced rural banking specialists who understand agricultural operations.",icon:Cs},{title:"Flexible terms",description:"Customized loan terms and repayment options that fit your farming operation.",icon:Ke}],Wxe=[{loanType:"Livestock Finance",rate:"4.99% p.a.",comparisonRate:"5.15% p.a.",features:"Seasonal repayment options"},{loanType:"Equipment Finance",rate:"5.49% p.a.",comparisonRate:"5.65% p.a.",features:"New and used equipment"},{loanType:"Property Finance",rate:"5.29% p.a.",comparisonRate:"5.45% p.a.",features:"Farm property expertise"},{loanType:"Seasonal Finance",rate:"5.79% p.a.",comparisonRate:"5.95% p.a.",features:"Cash flow aligned"}],zxe=[{step:"01",title:"Initial consultation",description:"Meet with a rural lending specialist to discuss your financing needs and goals.",icon:Ss},{step:"02",title:"Application",description:"Complete your loan application with support from your dedicated rural specialist.",icon:Se},{step:"03",title:"Assessment",description:"Fast-track assessment with understanding of rural operations and seasonal factors.",icon:mt},{step:"04",title:"Approval & settlement",description:"Get approved and access funds quickly to keep your operation moving forward.",icon:Ls}],Kxe=[{q:"What types of rural lending do you offer?",a:"We offer financing for livestock, equipment, rural property, and seasonal working capital. Each product is designed specifically for agricultural operations."},{q:"How do repayment schedules work with farm cash cycles?",a:"We structure repayments to align with your seasonal income patterns. This can include interest-only periods during low-income seasons and principal repayments during harvest or peak periods."},{q:"What security do you accept for rural loans?",a:"We accept livestock, farm equipment, rural property, and other agricultural assets as security. Your rural specialist will work with you to structure the most appropriate security arrangement."},{q:"How quickly can I get approved?",a:"With our streamlined process and dedicated rural specialists, most applications are assessed within 2-3 business days. Some simple applications can be approved even faster."}],Yxe=[{title:"Calculate repayments",description:"Use our loan calculator to estimate your repayments for different loan amounts and terms.",actionLabel:"Try calculator",href:"/calculators",icon:Se},{title:"Speak to a rural specialist",description:"Get personalized advice from our experienced rural lending team.",actionLabel:"Contact us",href:"/contact",icon:Ss},{title:"Call us",description:"Speak with our rural lending team Monday to Friday, 8am-6pm.",actionLabel:Je.phone,href:Je.phoneHref,icon:ss}],Qxe=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:201,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative overflow-hidden bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjYwIiBoZWlnaHQ9IjYwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDYwIDAgTCAwIDAgMCA2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=')] opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:206,columnNumber:11},void 0),t.jsxDEV("div",{className:"relative py-16 md:py-24",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl",children:[t.jsxDEV("p",{className:"text-sm uppercase tracking-[0.2em] text-white/80 mb-2",children:"Flexible lending for agriculture"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:210,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-3xl md:text-5xl font-bold text-white mb-4 leading-tight",children:"Rural Lending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:213,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-white/90 max-w-2xl text-lg leading-relaxed mb-6",children:"Finance for livestock, equipment, property, and seasonal needs. Aligned to farm cash cycles with competitive rates and dedicated rural specialists."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:216,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:221,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:220,columnNumber:19},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:"#products",children:"View products"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:224,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:223,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:219,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:209,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:208,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:207,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:205,columnNumber:9},void 0),t.jsxDEV(Ts,{items:Fxe,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:232,columnNumber:9},void 0),t.jsxDEV("section",{id:"products",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Rural Lending Solutions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:238,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Finance for livestock, equipment, property, and seasonal needs tailored to your agricultural operation."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:239,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:237,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:Bxe.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:`overflow-hidden border-0 shadow-lg transition hover:shadow-xl ${e.popular?"ring-2 ring-amber-400":""}`,children:[e.popular&&t.jsxDEV("div",{className:"absolute top-4 right-4 z-10",children:t.jsxDEV(He,{className:"bg-amber-400 text-black",children:"Most Popular"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:250,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:249,columnNumber:23},void 0),t.jsxDEV(z,{className:"space-y-4 p-6",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:256,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:255,columnNumber:25},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:259,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground mt-2",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:260,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:258,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:254,columnNumber:23},void 0),t.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Interest rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:265,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.interestRate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:266,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:264,columnNumber:25},void 0),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Comparison rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:269,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:e.comparisonRate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:270,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:268,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:263,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:253,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-4 p-6 pt-0",children:[t.jsxDEV(us,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:275,columnNumber:23},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900",children:"Key features:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:277,columnNumber:25},void 0),t.jsxDEV("ul",{className:"space-y-1",children:e.features.map(a=>t.jsxDEV("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsxDEV(Ls,{className:"h-4 w-4 text-emerald-700 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:281,columnNumber:31},void 0),a]},a,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:280,columnNumber:29},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:278,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:276,columnNumber:23},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:["Apply now",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:290,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:288,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:287,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:274,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:247,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:243,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:236,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:235,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Benefits of Rural Lending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:305,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Why choose Gates Capital Banking for your rural financing needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:306,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:304,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:qxe.map(e=>{const s=e.icon;return t.jsxDEV("div",{className:"flex flex-col gap-4 rounded-2xl border border-emerald-50 bg-white p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:319,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:318,columnNumber:21},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:322,columnNumber:23},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:323,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:321,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:314,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:310,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:303,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:302,columnNumber:9},void 0),t.jsxDEV("section",{id:"rates",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Interest Rates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:336,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Competitive rates designed specifically for rural and agricultural operations."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:337,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:335,columnNumber:13},void 0),t.jsxDEV(F,{className:"border-0 shadow-lg max-w-4xl mx-auto",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-xl text-emerald-900",children:"Current Rural Lending Rates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:343,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:342,columnNumber:15},void 0),t.jsxDEV(B,{children:[t.jsxDEV("div",{className:"overflow-x-auto",children:t.jsxDEV("table",{className:"w-full",children:[t.jsxDEV("thead",{children:t.jsxDEV("tr",{className:"border-b",children:[t.jsxDEV("th",{className:"text-left py-3 px-4 font-semibold text-emerald-900",children:"Loan Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:350,columnNumber:25},void 0),t.jsxDEV("th",{className:"text-left py-3 px-4 font-semibold text-emerald-900",children:"Interest Rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:351,columnNumber:25},void 0),t.jsxDEV("th",{className:"text-left py-3 px-4 font-semibold text-emerald-900",children:"Comparison Rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:352,columnNumber:25},void 0),t.jsxDEV("th",{className:"text-left py-3 px-4 font-semibold text-emerald-900",children:"Features"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:353,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:349,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:348,columnNumber:21},void 0),t.jsxDEV("tbody",{children:Wxe.map((e,s)=>t.jsxDEV("tr",{className:"border-b last:border-b-0",children:[t.jsxDEV("td",{className:"py-3 px-4 font-medium text-emerald-900",children:e.loanType},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:359,columnNumber:27},void 0),t.jsxDEV("td",{className:"py-3 px-4 text-emerald-700 font-semibold",children:e.rate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:360,columnNumber:27},void 0),t.jsxDEV("td",{className:"py-3 px-4 text-muted-foreground",children:e.comparisonRate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:361,columnNumber:27},void 0),t.jsxDEV("td",{className:"py-3 px-4 text-sm text-muted-foreground",children:e.features},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:362,columnNumber:27},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:358,columnNumber:25},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:356,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:347,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:346,columnNumber:17},void 0),t.jsxDEV("p",{className:"mt-4 text-xs text-muted-foreground",children:"Rates are subject to change and individual assessment. Comparison rates are calculated on a secured loan of €150,000 over 25 years. WARNING: This comparison rate is true only for the examples given and may not include all fees and charges. Different terms, fees or other loan amounts might result in a different comparison rate."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:368,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:345,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:341,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:334,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:333,columnNumber:9},void 0),t.jsxDEV("section",{id:"process",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-12 px-4 lg:grid-cols-[1fr_1.2fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"How to Apply"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:380,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Our streamlined application process is designed to get you approved quickly so you can focus on your operation."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:381,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Start application"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:385,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:384,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:379,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4 rounded-3xl border border-emerald-100 bg-emerald-50/40 p-6",children:zxe.map(e=>{const s=e.icon;return t.jsxDEV("div",{className:"flex items-start gap-4 rounded-2xl border border-transparent bg-white/70 p-4 md:p-5 transition hover:border-emerald-200 hover:bg-white",children:[t.jsxDEV(s,{className:"mt-1 h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:396,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:398,columnNumber:23},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:399,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:397,columnNumber:21},void 0),t.jsxDEV("span",{className:"ml-auto mt-1 text-emerald-500 text-sm font-semibold",children:e.step},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:401,columnNumber:21},void 0)]},e.step,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:392,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:388,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:378,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:377,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900",children:"Frequently Asked Questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:413,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Find answers to common questions about rural lending and financing options."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:414,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:412,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:Kxe.map((e,s)=>t.jsxDEV(F,{className:"border-0 shadow-md",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"text-base font-semibold text-emerald-900",children:e.q},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:422,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:421,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:425,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:424,columnNumber:19},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:420,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:418,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:411,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:410,columnNumber:9},void 0),t.jsxDEV("section",{id:"next-steps",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Next Steps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:437,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Ready to finance your rural operation? Get in touch with our rural lending specialists."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:438,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:436,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-3 max-w-5xl mx-auto",children:Yxe.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:"border-0 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:450,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:449,columnNumber:25},void 0),t.jsxDEV(K,{className:"text-lg text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:452,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:448,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:447,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:456,columnNumber:23},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:e.href,children:[e.actionLabel,t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:460,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:458,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:457,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:455,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:446,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:442,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:435,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:434,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4 text-center",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-white",children:"Finance Your Rural Operation Today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:475,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-white/90",children:"Get competitive rates, flexible terms, and expert guidance from our dedicated rural lending specialists."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:478,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Apply now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:483,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:482,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:Je.phoneHref,children:"Call us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:486,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:485,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:481,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:474,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:473,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:472,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:203,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:494,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/Lending.tsx",lineNumber:200,columnNumber:5},void 0),Zxe=[{label:"Services",href:"#services"},{label:"Benefits",href:"#benefits"},{label:"Service model",href:"#model"},{label:"Eligibility",href:"#eligibility"},{label:"Get started",href:"#get-started"},{label:"Next steps",href:"#next-steps"},{label:"Contact us",href:"/contact"}],Xxe=[{title:"Bespoke Lending",description:"Customized loan solutions tailored to your unique financial needs and goals.",icon:as,features:["Flexible terms","Competitive rates","Portfolio-based lending","Custom repayment structures"]},{title:"Investment Advice",description:"Professional wealth management and investment strategies from experienced advisors.",icon:Ke,features:["Portfolio management","Risk assessment","Tax optimization","Retirement planning"]},{title:"Dedicated Relationship Managers",description:"Your personal banking specialist who understands your needs and stays with you long-term.",icon:Cs,features:["One-on-one service","Priority support","Proactive guidance","24/7 availability"]},{title:"Exclusive Banking Products",description:"Access to premium accounts, cards, and services designed for high-net-worth clients.",icon:$P,features:["Premium accounts","Exclusive cards","Priority processing","Waived fees"]}],Jxe=[{title:"Tailored solutions",description:"Every service is customized to match your unique financial situation and objectives.",icon:wt},{title:"Priority servicing",description:"Fast-track approvals, dedicated support lines, and priority access to all banking services.",icon:ub},{title:"Exclusive offers",description:"Access to special rates, investment opportunities, and exclusive events available only to private banking clients.",icon:Cc},{title:"Comprehensive wealth management",description:"Holistic approach combining banking, investment, lending, and estate planning services.",icon:Ta}],eDe=[{step:"01",title:"Initial consultation",description:"Meet with your dedicated relationship manager to understand your financial goals and needs."},{step:"02",title:"Customized plan",description:"Receive a tailored financial plan designed specifically for your situation and objectives."},{step:"03",title:"Ongoing management",description:"Continuous monitoring, adjustments, and proactive recommendations as your needs evolve."}],sDe=["Minimum investable assets of €500,000","Annual income exceeding €200,000","Complex banking or investment needs","Desire for personalized, premium service"],tDe=[{q:"What is Private Banking?",a:"Private Banking is our premium service offering personalized financial solutions, dedicated relationship management, and exclusive products for high-net-worth clients who require sophisticated banking and investment services."},{q:"What are the eligibility requirements?",a:"Typically, clients need minimum investable assets of €500,000 or annual income exceeding €200,000. However, we also consider clients with complex banking needs or those seeking premium service."},{q:"What services are included?",a:"Private Banking includes bespoke lending solutions, investment advice, dedicated relationship managers, exclusive banking products, priority servicing, and comprehensive wealth management services."},{q:"How do I get started?",a:"Contact our Private Banking team for an initial consultation. We'll assess your needs and determine if Private Banking is the right fit for you."}],aDe=[{title:"Speak to a Private Banking specialist",description:"Book a consultation with our Private Banking team to discuss your needs.",actionLabel:"Book consultation",icon:Ss,href:"/contact"},{title:"Call us",description:"Speak with our Private Banking team Monday to Friday, 8am-6pm.",actionLabel:Je.phone,icon:ss,href:Je.phoneHref}],nDe=()=>t.jsxDEV("div",{className:"flex min-h-screen flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:154,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative overflow-hidden bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70",children:[t.jsxDEV("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjYwIiBoZWlnaHQ9IjYwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDYwIDAgTCAwIDAgMCA2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=')] opacity-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:159,columnNumber:11},void 0),t.jsxDEV("div",{className:"relative py-16 md:py-24",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl",children:[t.jsxDEV("p",{className:"text-sm uppercase tracking-[0.2em] text-white/80 mb-2",children:"Personalized premium service for high-net-worth clients"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:163,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-3xl md:text-5xl font-bold text-white mb-4 leading-tight",children:"Private Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:166,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-white/90 max-w-2xl text-lg leading-relaxed mb-6",children:"Experience bespoke lending, investment advice, and dedicated relationship managers who understand your unique financial needs."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:169,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Book a consultation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:174,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:173,columnNumber:19},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:"#services",children:"Learn more"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:177,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:176,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:172,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:162,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:161,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:160,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:158,columnNumber:9},void 0),t.jsxDEV(Ts,{items:Zxe,className:"border-t"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:185,columnNumber:9},void 0),t.jsxDEV("section",{id:"services",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Our Private Banking Services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:191,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Comprehensive financial solutions designed for high-net-worth clients seeking personalized, premium banking services."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:192,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:190,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 lg:grid-cols-2",children:Xxe.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:"overflow-hidden border-0 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV(z,{className:"space-y-4 p-6",children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:204,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:203,columnNumber:25},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:207,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground mt-2",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:208,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:206,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:202,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:201,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-3 p-6 pt-0",children:[t.jsxDEV(us,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:213,columnNumber:23},void 0),t.jsxDEV("div",{className:"grid grid-cols-2 gap-2",children:e.features.map(a=>t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Ls,{className:"h-4 w-4 text-emerald-700 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:217,columnNumber:29},void 0),t.jsxDEV("span",{className:"text-sm text-muted-foreground",children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:218,columnNumber:29},void 0)]},a,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:216,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:214,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:212,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:200,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:196,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:189,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:188,columnNumber:9},void 0),t.jsxDEV("section",{id:"benefits",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto space-y-12 px-4",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Advantages of Private Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:234,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Experience the difference of personalized, premium banking services designed for your success."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:235,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:233,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4",children:Jxe.map(e=>{const s=e.icon;return t.jsxDEV("div",{className:"flex flex-col gap-4 rounded-2xl border border-emerald-50 bg-white p-6 shadow-sm transition hover:-translate-y-1 hover:shadow-lg",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:248,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:247,columnNumber:21},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:251,columnNumber:23},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:252,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:250,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:243,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:239,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:232,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:231,columnNumber:9},void 0),t.jsxDEV("section",{id:"model",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-6 md:gap-12 px-4 lg:grid-cols-[1fr_1.2fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Our Service Model"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:265,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground md:text-base",children:"Bespoke lending, investment advice, and dedicated relationship managers working together to deliver exceptional results."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:266,columnNumber:15},void 0),t.jsxDEV(L,{className:"bg-amber-400 text-black hover:bg-amber-300",size:"lg",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:270,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:269,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:264,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-3 md:space-y-4 rounded-3xl border border-emerald-100 bg-emerald-50/40 p-6",children:eDe.map(e=>t.jsxDEV("div",{className:"flex items-start gap-4 rounded-2xl border border-transparent bg-white/70 p-4 md:p-5 transition hover:border-emerald-200 hover:bg-white",children:[t.jsxDEV("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-emerald-700 text-white font-semibold",children:e.step},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:279,columnNumber:19},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:283,columnNumber:21},void 0),t.jsxDEV("p",{className:"mt-2 text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:284,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:282,columnNumber:19},void 0)]},e.step,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:275,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:273,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:263,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:262,columnNumber:9},void 0),t.jsxDEV("section",{id:"eligibility",className:"bg-muted/40 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"mx-auto max-w-3xl",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Eligibility"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:297,columnNumber:17},void 0),t.jsxDEV("p",{className:"mt-4 text-sm text-muted-foreground md:text-base",children:"Private Banking is designed for clients who meet certain criteria and value personalized, premium service."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:298,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:296,columnNumber:15},void 0),t.jsxDEV(F,{className:"border-0 shadow-lg",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-xl text-emerald-900",children:"Typical Eligibility Criteria"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:304,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:303,columnNumber:17},void 0),t.jsxDEV(B,{className:"space-y-3",children:[sDe.map((e,s)=>t.jsxDEV("div",{className:"flex items-start gap-3",children:[t.jsxDEV(Ls,{className:"h-5 w-5 text-emerald-700 mt-0.5 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:309,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:310,columnNumber:23},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:308,columnNumber:21},void 0)),t.jsxDEV(us,{className:"my-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:313,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Don't meet these criteria? We also consider clients with complex banking needs or those seeking premium service. Contact us to discuss your situation."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:314,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:306,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:302,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:295,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:294,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:293,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"bg-amber-400 scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto grid gap-12 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:items-start",children:[t.jsxDEV("div",{className:"space-y-6 rounded-3xl bg-white p-8 shadow-xl",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900",children:"Frequently Asked Questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:328,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Find answers to common questions about Private Banking services and eligibility."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:329,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:327,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-4",children:tDe.map((e,s)=>t.jsxDEV(F,{className:"border-0 shadow-md",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"text-base font-semibold text-emerald-900",children:e.q},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:337,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:336,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:340,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:339,columnNumber:19},void 0)]},s,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:335,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:333,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:326,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:325,columnNumber:9},void 0),t.jsxDEV("section",{id:"next-steps",className:"bg-white scroll-mt-24 md:scroll-mt-28 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Next Steps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:352,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl text-sm text-muted-foreground md:mx-auto md:text-base",children:"Ready to experience Private Banking? Get in touch with our team to begin your journey."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:353,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:351,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:aDe.map(e=>{const s=e.icon;return t.jsxDEV(F,{className:"border-0 shadow-lg transition hover:shadow-xl",children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(s,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:365,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:364,columnNumber:25},void 0),t.jsxDEV(K,{className:"text-lg text-emerald-900",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:367,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:363,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:362,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:371,columnNumber:23},void 0),t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:e.href,children:[e.actionLabel,t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:375,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:373,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:372,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:370,columnNumber:21},void 0)]},e.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:361,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:357,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:350,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:349,columnNumber:9},void 0),t.jsxDEV("section",{id:"get-started",className:"bg-gradient-to-br from-gatesib-green/90 via-gatesib-green/80 to-gatesib-green/70 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4 text-center",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto space-y-6",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-white",children:"Experience Premium Banking Services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:390,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-white/90",children:"Join our Private Banking clients who value personalized service, expert guidance, and exclusive benefits."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:393,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-white/90",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Book a consultation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:398,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:397,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10 bg-transparent",asChild:!0,children:t.jsxDEV(I,{to:Je.phoneHref,children:"Call us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:401,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:400,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:396,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:389,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:388,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:387,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:156,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:409,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/rural/PrivateBanking.tsx",lineNumber:153,columnNumber:5},void 0),iDe=()=>{const e=[{title:"Investing",description:"Take the guesswork out of financial planning with these handy calculators and checklists.",calculators:[{title:"What type of investor are you?",description:"Automatically create a printable description of your profile as an investor, by selecting answers to five questions.",href:"/calculators/investing/investor-type"},{title:"Net Worth Calculator",description:"Before planning future investments, it's a good idea to have a clear and accurate picture of your current finances. This handy calculator will help you bring everything together on one page.",href:"/calculators/investing/net-worth"},{title:"Calculate your PIR",description:"Calculate your Prescribed Investor Rate (PIR) - the rate at which you should pay tax on taxable investment income you earn from Portfolio Investment Entities (PIEs).",href:"/calculators/investing/pir"},{title:"Investor checklist",description:"Scan a list of information you could bring to your first meeting, to help the adviser understand your current situation.",href:"/calculators/investing/checklist"}]},{title:"Savings",description:"Every Zloty makes a difference when you are on your way to a goal. See how it all adds up.",calculators:[{title:"Calculate your RWT rate",description:"Calculate your Resident Withholding Tax (RWT) rate - the rate at which tax should be deducted on interest paid on term deposits or bank account deposits.",href:"/calculators/savings/rwt"},{title:"Net Worth Calculator",description:"Before planning future investments, it's a good idea to have a clear and accurate picture of your current finances.",href:"/calculators/savings/net-worth"},{title:"Enquire online",description:"Tell us what you want and we'll contact you to help.",href:"/contact"}]},{title:"Foreign Exchange",description:"Convert over 20 different currencies with our quick and simple foreign currency conversion tool.",calculators:[{title:"Foreign exchange calculator",description:"Use this calculator to work out how much your money is worth in another currency.",href:"/calculators/foreign-exchange"}]}];return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:73,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:78,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-16 md:py-24",children:t.jsxDEV("div",{className:"mx-auto max-w-3xl text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(Se,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:82,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:81,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Calculators"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:84,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 text-lg text-emerald-50/90 md:text-xl",children:"Coaching the number crunching."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:87,columnNumber:15},void 0),t.jsxDEV("div",{className:"mt-8 flex flex-wrap justify-center gap-3 text-sm text-emerald-50/80",children:[t.jsxDEV("span",{className:"rounded-full bg-white/15 px-4 py-2",children:"Choose your scenario"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:91,columnNumber:17},void 0),t.jsxDEV("span",{className:"rounded-full bg-white/15 px-4 py-2",children:"Jump right in"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:92,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:90,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:80,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:79,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:77,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("p",{className:"text-muted-foreground mb-4",children:"Choose your scenario, or just choose any calculator and jump right in."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:102,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex justify-center mb-8",children:t.jsxDEV("div",{className:"bg-gray-100 p-1 rounded-lg",children:[t.jsxDEV(L,{variant:"ghost",className:"text-emerald-700",asChild:!0,children:t.jsxDEV(I,{to:"/calculators/investing",children:"Investing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:108,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:107,columnNumber:19},void 0),t.jsxDEV(L,{variant:"ghost",className:"text-emerald-700",asChild:!0,children:t.jsxDEV(I,{to:"/calculators/savings",children:"Savings"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:111,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:110,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:106,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:105,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:101,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-16",children:e.map(s=>t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"text-center mb-8",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl mb-4",children:s.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:121,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:s.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:124,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:120,columnNumber:19},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-2 lg:grid-cols-3",children:s.calculators.map(a=>t.jsxDEV(F,{className:"group relative overflow-hidden border-emerald-100 bg-emerald-50/60 transition-all hover:border-emerald-200 hover:shadow-lg hover:-translate-y-1",children:[t.jsxDEV(z,{className:"pb-4",children:[t.jsxDEV(K,{className:"text-lg font-semibold text-emerald-900",children:a.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:133,columnNumber:27},void 0),t.jsxDEV(st,{className:"text-sm",children:a.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:136,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:132,columnNumber:25},void 0),t.jsxDEV(B,{className:"pt-0",children:t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:a.href,children:"Start here »"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:142,columnNumber:29},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:141,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:140,columnNumber:25},void 0)]},a.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:131,columnNumber:23},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:129,columnNumber:19},void 0)]},s.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:119,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:117,columnNumber:13},void 0),t.jsxDEV("div",{className:"text-center mt-12 p-6 bg-gray-50 rounded-lg",children:t.jsxDEV("p",{className:"text-muted-foreground mb-4",children:["Need Help? ",t.jsxDEV(I,{to:"/contact",className:"text-emerald-700 hover:underline",children:"Email us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:156,columnNumber:28},void 0)," or call +48 732 123 213"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:155,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:154,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:100,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:99,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Why use our calculators?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:166,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl mx-auto text-muted-foreground",children:"Our calculators are designed to give you accurate, real-time results to help you make informed financial decisions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:169,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:165,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-8 md:grid-cols-3",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(Se,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:177,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:176,columnNumber:17},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900 mb-2",children:"Accurate calculations"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:179,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Our calculators use current rates and formulas to provide precise results you can rely on"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:180,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:175,columnNumber:15},void 0),t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(Ke,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:187,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:186,columnNumber:17},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900 mb-2",children:"Real-time updates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:189,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Calculations update instantly as you adjust variables, giving you immediate insights"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:190,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:185,columnNumber:15},void 0),t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(Da,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:197,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:196,columnNumber:17},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900 mb-2",children:"Plan with confidence"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:199,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Make better financial decisions with clear projections and scenario planning tools"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:200,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:195,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:174,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:164,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:163,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 py-16 md:py-20 text-white",children:t.jsxDEV("div",{className:"container mx-auto px-4 text-center",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold md:text-4xl",children:"Ready to plan your financial future?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:211,columnNumber:13},void 0),t.jsxDEV("p",{className:"mt-4 text-lg text-emerald-50/90 max-w-2xl mx-auto",children:"Start using our calculators today to make informed decisions about your money"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:214,columnNumber:13},void 0),t.jsxDEV("div",{className:"mt-8 flex flex-wrap justify-center gap-4",children:[t.jsxDEV(L,{size:"lg",variant:"secondary",asChild:!0,children:t.jsxDEV(I,{to:"/calculators/savings",children:"Start with savings"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:219,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:218,columnNumber:15},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white/60 bg-white/10 text-white hover:bg-white/20",asChild:!0,children:t.jsxDEV(I,{to:"/calculators/investing",children:"Explore investing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:222,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:221,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:217,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:210,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:209,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:75,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:229,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Calculators.tsx",lineNumber:72,columnNumber:5},void 0)},rDe=()=>{const e=[{title:"Calculate your RWT rate",description:"Calculate your Resident Withholding Tax (RWT) rate - the rate at which tax should be deducted on interest paid on term deposits or bank account deposits.",icon:Se,href:"/calculators/savings/rwt",action:"Start here »"},{title:"Net Worth Calculator",description:"Before planning future investments, it's a good idea to have a clear and accurate picture of your current finances.",icon:wt,href:"/calculators/savings/net-worth",action:"Start here »"},{title:"Enquire online",description:"Tell us what you want and we'll contact you to help.",icon:ss,href:"/contact",action:"Start here »"}];return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:36,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:41,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-16 md:py-24",children:t.jsxDEV("div",{className:"mx-auto max-w-3xl text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(Se,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:45,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:44,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Savings"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:47,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 text-lg text-emerald-50/90 md:text-xl",children:"Every Zloty makes a difference when you are on your way to a goal. See how it all adds up."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:50,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:43,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:42,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:40,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto",children:[t.jsxDEV("div",{className:"mb-8",children:[t.jsxDEV("p",{className:"text-muted-foreground mb-6",children:"Whatever you're saving for, it helps to know how much you can afford to save and how long it might take to reach your goal. These calculators are designed to help."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:62,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-muted-foreground mb-8",children:"You can follow the steps in the order below or start anywhere you choose. And to save you time, the information you enter in one calculator will automatically appear in the others."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:65,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:61,columnNumber:15},void 0),t.jsxDEV("div",{className:"mb-8",children:t.jsxDEV("h2",{className:"text-2xl font-semibold text-emerald-900 mb-4",children:"Start anywhere you like:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:71,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:70,columnNumber:15},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-3 mb-16",children:e.map(s=>t.jsxDEV(F,{className:"group relative overflow-hidden border-emerald-100 bg-emerald-50/60 transition-all hover:border-emerald-200 hover:shadow-lg hover:-translate-y-1",children:[t.jsxDEV(z,{className:"pb-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white group-hover:bg-emerald-600 transition-colors",children:t.jsxDEV(s.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:79,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:78,columnNumber:23},void 0),t.jsxDEV(K,{className:"text-lg font-semibold text-emerald-900",children:s.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:81,columnNumber:23},void 0),t.jsxDEV(st,{className:"text-sm",children:s.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:84,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:77,columnNumber:21},void 0),t.jsxDEV(B,{className:"pt-0",children:t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:s.href,children:s.action},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:90,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:89,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:88,columnNumber:21},void 0)]},s.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:76,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:74,columnNumber:15},void 0),t.jsxDEV("div",{className:"bg-gray-50 p-6 rounded-lg",children:t.jsxDEV("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900 mb-2",children:"Still unsure?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:102,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"We're ready to help at any time, just call +48 732 123 213"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:103,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:101,columnNumber:19},void 0),t.jsxDEV("div",{className:"flex gap-4",children:[t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-700 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Email us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:109,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:108,columnNumber:21},void 0),t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV("a",{href:"tel:+48732123213",children:"Call: +48 732 123 213"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:112,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:111,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:107,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:100,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:99,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:60,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:59,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:58,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto text-center",children:t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-2",children:[t.jsxDEV(F,{className:"border-emerald-100 bg-white",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-lg font-semibold text-emerald-900",children:"Learn more"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:128,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:127,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("ul",{className:"space-y-2 text-sm text-muted-foreground",children:t.jsxDEV("li",{children:t.jsxDEV(I,{to:"/personal/accounts",className:"text-emerald-700 hover:underline",children:"Types of accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:134,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:134,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:133,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:132,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:126,columnNumber:17},void 0),t.jsxDEV(F,{className:"border-emerald-100 bg-white",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-lg font-semibold text-emerald-900",children:"Still unsure?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:141,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:140,columnNumber:19},void 0),t.jsxDEV(B,{children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground mb-4",children:"We're ready to help at any time, just call +48 732 123 213"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:146,columnNumber:21},void 0),t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV("a",{href:"tel:+48732123213",children:"Call now"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:150,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:149,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:145,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:139,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:125,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:124,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:123,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:122,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:38,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:160,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Savings.tsx",lineNumber:35,columnNumber:5},void 0)},oDe=()=>{const e=[{title:"What type of investor are you?",description:"Automatically create a printable description of your profile as an investor, by selecting answers to five questions.",icon:wt,href:"/calculators/investing/investor-type",action:"Start here »"},{title:"Net Worth Calculator",description:"Before planning future investments, it's a good idea to have a clear and accurate picture of your current finances. This handy calculator will help you bring everything together on one page.",icon:Se,href:"/calculators/investing/net-worth",action:"Start here »"},{title:"Calculate your PIR",description:"Calculate your Prescribed Investor Rate (PIR) - the rate at which you should pay tax on taxable investment income you earn from Portfolio Investment Entities (PIEs).",icon:Xs,href:"/calculators/investing/pir",action:"Start here »"},{title:"Investor checklist",description:"Scan a list of information you could bring to your first meeting, to help the adviser understand your current situation.",icon:BP,href:"/calculators/investing/checklist",action:"Start here »"}],s=[{title:"Gates Capital Banking Term Fund comparable rate calculator",description:"See what returns you could get and compare these to a Gates Capital Banking term deposit.",icon:Se,href:"/calculators/investing/term-fund",action:"Start here »"},{title:"Enquire online",description:"Tell us what you want and we'll contact you to help.",icon:ss,href:"/contact",action:"Start here »"}];return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:60,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:65,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-16 md:py-24",children:t.jsxDEV("div",{className:"mx-auto max-w-3xl text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(Se,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:69,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:68,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Investing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:71,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 text-lg text-emerald-50/90 md:text-xl",children:"Take the guesswork out of financial planning with these handy calculators and checklists."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:74,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:67,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:66,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:64,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto",children:[t.jsxDEV("div",{className:"mb-8",children:t.jsxDEV("p",{className:"text-muted-foreground mb-6",children:"Start anywhere you like:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:86,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:85,columnNumber:15},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-2 mb-16",children:e.map(a=>t.jsxDEV(F,{className:"group relative overflow-hidden border-emerald-100 bg-emerald-50/60 transition-all hover:border-emerald-200 hover:shadow-lg hover:-translate-y-1",children:[t.jsxDEV(z,{className:"pb-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white group-hover:bg-emerald-600 transition-colors",children:t.jsxDEV(a.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:96,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:95,columnNumber:23},void 0),t.jsxDEV(K,{className:"text-lg font-semibold text-emerald-900",children:a.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:98,columnNumber:23},void 0),t.jsxDEV(st,{className:"text-sm",children:a.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:101,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:94,columnNumber:21},void 0),t.jsxDEV(B,{className:"pt-0",children:t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:a.href,children:a.action},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:107,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:106,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:105,columnNumber:21},void 0)]},a.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:93,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:91,columnNumber:15},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-2 mb-16",children:s.map(a=>t.jsxDEV(F,{className:"group relative overflow-hidden border-emerald-100 bg-emerald-50/60 transition-all hover:border-emerald-200 hover:shadow-lg hover:-translate-y-1",children:[t.jsxDEV(z,{className:"pb-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white group-hover:bg-emerald-600 transition-colors",children:t.jsxDEV(a.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:121,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:120,columnNumber:23},void 0),t.jsxDEV(K,{className:"text-lg font-semibold text-emerald-900",children:a.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:123,columnNumber:23},void 0),t.jsxDEV(st,{className:"text-sm",children:a.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:126,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:119,columnNumber:21},void 0),t.jsxDEV(B,{className:"pt-0",children:t.jsxDEV(L,{className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV(I,{to:a.href,children:a.action},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:132,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:131,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:130,columnNumber:21},void 0)]},a.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:118,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:116,columnNumber:15},void 0),t.jsxDEV("div",{className:"bg-gray-50 p-6 rounded-lg",children:t.jsxDEV("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900 mb-2",children:"Learn more"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:144,columnNumber:21},void 0),t.jsxDEV("ul",{className:"space-y-2 text-sm text-muted-foreground",children:[t.jsxDEV("li",{children:t.jsxDEV(I,{to:"/personal/investments",className:"text-emerald-700 hover:underline",children:"Your investment options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:146,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:146,columnNumber:23},void 0),t.jsxDEV("li",{children:t.jsxDEV(I,{to:"/personal/investments",className:"text-emerald-700 hover:underline",children:"Get advice"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:147,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:147,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:145,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:143,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900 mb-2",children:"Still unsure?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:151,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-muted-foreground mb-4",children:"We're ready to help at any time, just call +48 732 123 213"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:152,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex gap-4",children:[t.jsxDEV(L,{variant:"outline",className:"border-emerald-200 text-emerald-700 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Email us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:157,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:156,columnNumber:23},void 0),t.jsxDEV(L,{className:"bg-emerald-700 text-white hover:bg-emerald-600",asChild:!0,children:t.jsxDEV("a",{href:"tel:+48732123213",children:"Call: +48 732 123 213"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:160,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:159,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:155,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:150,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:142,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:141,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:84,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:83,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:82,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:62,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:171,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/Investing.tsx",lineNumber:59,columnNumber:5},void 0)};function zk(e,[s,a]){return Math.min(a,Math.max(s,e))}function aD(e){const s=v.useRef({value:e,previous:e});return v.useMemo(()=>(s.current.value!==e&&(s.current.previous=s.current.value,s.current.value=e),s.current.previous),[e])}var lDe=[" ","Enter","ArrowUp","ArrowDown"],uDe=[" ","Enter"],Hr="Select",[vf,Nf,cDe]=ib(Hr),[$l,b1e]=Mt(Hr,[cDe,Dl]),xf=Dl(),[mDe,Fi]=$l(Hr),[dDe,bDe]=$l(Hr),q3=e=>{const{__scopeSelect:s,children:a,open:n,defaultOpen:i,onOpenChange:r,value:o,defaultValue:l,onValueChange:u,dir:c,name:m,autoComplete:d,disabled:b,required:f,form:h}=e,g=xf(s),[p,x]=v.useState(null),[D,N]=v.useState(null),[C,y]=v.useState(!1),G=Pc(c),[k,E]=va({prop:n,defaultProp:i??!1,onChange:r,caller:Hr}),[U,T]=va({prop:o,defaultProp:l,onChange:u,caller:Hr}),H=v.useRef(null),j=p?h||!!p.closest("form"):!0,[w,A]=v.useState(new Set),P=Array.from(w).map(V=>V.props.value).join(";");return q.jsx($v,{...g,children:q.jsxs(mDe,{required:f,scope:s,trigger:p,onTriggerChange:x,valueNode:D,onValueNodeChange:N,valueNodeHasChildren:C,onValueNodeHasChildrenChange:y,contentId:Xa(),value:U,onValueChange:T,open:k,onOpenChange:E,dir:G,triggerPointerDownPosRef:H,disabled:b,children:[q.jsx(vf.Provider,{scope:s,children:q.jsx(dDe,{scope:e.__scopeSelect,onNativeOptionAdd:v.useCallback(V=>{A(_=>new Set(_).add(V))},[]),onNativeOptionRemove:v.useCallback(V=>{A(_=>{const O=new Set(_);return O.delete(V),O})},[]),children:a})}),j?q.jsxs(g4,{"aria-hidden":!0,required:f,tabIndex:-1,name:m,autoComplete:d,value:U,onChange:V=>T(V.target.value),disabled:b,form:h,children:[U===void 0?q.jsx("option",{value:""}):null,Array.from(w)]},P):null]})})};q3.displayName=Hr;var W3="SelectTrigger",z3=v.forwardRef((e,s)=>{const{__scopeSelect:a,disabled:n=!1,...i}=e,r=xf(a),o=Fi(W3,a),l=o.disabled||n,u=ns(s,o.onTriggerChange),c=Nf(a),m=v.useRef("touch"),[d,b,f]=h4(g=>{const p=c().filter(N=>!N.disabled),x=p.find(N=>N.value===o.value),D=v4(p,g,x);D!==void 0&&o.onValueChange(D.value)}),h=g=>{l||(o.onOpenChange(!0),f()),g&&(o.triggerPointerDownPosRef.current={x:Math.round(g.pageX),y:Math.round(g.pageY)})};return q.jsx(Fv,{asChild:!0,...r,children:q.jsx(Ve.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":p4(o.value)?"":void 0,...i,ref:u,onClick:je(i.onClick,g=>{g.currentTarget.focus(),m.current!=="mouse"&&h(g)}),onPointerDown:je(i.onPointerDown,g=>{m.current=g.pointerType;const p=g.target;p.hasPointerCapture(g.pointerId)&&p.releasePointerCapture(g.pointerId),g.button===0&&g.ctrlKey===!1&&g.pointerType==="mouse"&&(h(g),g.preventDefault())}),onKeyDown:je(i.onKeyDown,g=>{const p=d.current!=="";!(g.ctrlKey||g.altKey||g.metaKey)&&g.key.length===1&&b(g.key),!(p&&g.key===" ")&&lDe.includes(g.key)&&(h(),g.preventDefault())})})})});z3.displayName=W3;var K3="SelectValue",Y3=v.forwardRef((e,s)=>{const{__scopeSelect:a,className:n,style:i,children:r,placeholder:o="",...l}=e,u=Fi(K3,a),{onValueNodeHasChildrenChange:c}=u,m=r!==void 0,d=ns(s,u.onValueNodeChange);return tt(()=>{c(m)},[c,m]),q.jsx(Ve.span,{...l,ref:d,style:{pointerEvents:"none"},children:p4(u.value)?q.jsx(q.Fragment,{children:o}):r})});Y3.displayName=K3;var fDe="SelectIcon",Q3=v.forwardRef((e,s)=>{const{__scopeSelect:a,children:n,...i}=e;return q.jsx(Ve.span,{"aria-hidden":!0,...i,ref:s,children:n||"▼"})});Q3.displayName=fDe;var gDe="SelectPortal",Z3=e=>q.jsx(rb,{asChild:!0,...e});Z3.displayName=gDe;var Vr="SelectContent",X3=v.forwardRef((e,s)=>{const a=Fi(Vr,e.__scopeSelect),[n,i]=v.useState();if(tt(()=>{i(new DocumentFragment)},[]),!a.open){const r=n;return r?ml.createPortal(q.jsx(J3,{scope:e.__scopeSelect,children:q.jsx(vf.Slot,{scope:e.__scopeSelect,children:q.jsx("div",{children:e.children})})}),r):null}return q.jsx(e4,{...e,ref:s})});X3.displayName=Vr;var qa=10,[J3,Bi]=$l(Vr),pDe="SelectContentImpl",hDe=Uo("SelectContent.RemoveScroll"),e4=v.forwardRef((e,s)=>{const{__scopeSelect:a,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:r,onPointerDownOutside:o,side:l,sideOffset:u,align:c,alignOffset:m,arrowPadding:d,collisionBoundary:b,collisionPadding:f,sticky:h,hideWhenDetached:g,avoidCollisions:p,...x}=e,D=Fi(Vr,a),[N,C]=v.useState(null),[y,G]=v.useState(null),k=ns(s,se=>C(se)),[E,U]=v.useState(null),[T,H]=v.useState(null),j=Nf(a),[w,A]=v.useState(!1),P=v.useRef(!1);v.useEffect(()=>{if(N)return z2(N)},[N]),R2();const V=v.useCallback(se=>{const[be,...te]=j().map(R=>R.ref.current),[ce]=te.slice(-1),he=document.activeElement;for(const R of se)if(R===he||(R?.scrollIntoView({block:"nearest"}),R===be&&y&&(y.scrollTop=0),R===ce&&y&&(y.scrollTop=y.scrollHeight),R?.focus(),document.activeElement!==he))return},[j,y]),_=v.useCallback(()=>V([E,N]),[V,E,N]);v.useEffect(()=>{w&&_()},[w,_]);const{onOpenChange:O,triggerPointerDownPosRef:$}=D;v.useEffect(()=>{if(N){let se={x:0,y:0};const be=ce=>{se={x:Math.abs(Math.round(ce.pageX)-($.current?.x??0)),y:Math.abs(Math.round(ce.pageY)-($.current?.y??0))}},te=ce=>{se.x<=10&&se.y<=10?ce.preventDefault():N.contains(ce.target)||O(!1),document.removeEventListener("pointermove",be),$.current=null};return $.current!==null&&(document.addEventListener("pointermove",be),document.addEventListener("pointerup",te,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",be),document.removeEventListener("pointerup",te,{capture:!0})}}},[N,O,$]),v.useEffect(()=>{const se=()=>O(!1);return window.addEventListener("blur",se),window.addEventListener("resize",se),()=>{window.removeEventListener("blur",se),window.removeEventListener("resize",se)}},[O]);const[Q,ne]=h4(se=>{const be=j().filter(he=>!he.disabled),te=be.find(he=>he.ref.current===document.activeElement),ce=v4(be,se,te);ce&&setTimeout(()=>ce.ref.current.focus())}),Z=v.useCallback((se,be,te)=>{const ce=!P.current&&!te;(D.value!==void 0&&D.value===be||ce)&&(U(se),ce&&(P.current=!0))},[D.value]),ee=v.useCallback(()=>N?.focus(),[N]),ge=v.useCallback((se,be,te)=>{const ce=!P.current&&!te;(D.value!==void 0&&D.value===be||ce)&&H(se)},[D.value]),xe=n==="popper"?gv:s4,le=xe===gv?{side:l,sideOffset:u,align:c,alignOffset:m,arrowPadding:d,collisionBoundary:b,collisionPadding:f,sticky:h,hideWhenDetached:g,avoidCollisions:p}:{};return q.jsx(J3,{scope:a,content:N,viewport:y,onViewportChange:G,itemRefCallback:Z,selectedItem:E,onItemLeave:ee,itemTextRefCallback:ge,focusSelectedItem:_,selectedItemText:T,position:n,isPositioned:w,searchRef:Q,children:q.jsx(Zv,{as:hDe,allowPinchZoom:!0,children:q.jsx(Qv,{asChild:!0,trapped:D.open,onMountAutoFocus:se=>{se.preventDefault()},onUnmountAutoFocus:je(i,se=>{D.trigger?.focus({preventScroll:!0}),se.preventDefault()}),children:q.jsx(dl,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:se=>se.preventDefault(),onDismiss:()=>D.onOpenChange(!1),children:q.jsx(xe,{role:"listbox",id:D.contentId,"data-state":D.open?"open":"closed",dir:D.dir,onContextMenu:se=>se.preventDefault(),...x,...le,onPlaced:()=>A(!0),ref:k,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:je(x.onKeyDown,se=>{const be=se.ctrlKey||se.altKey||se.metaKey;if(se.key==="Tab"&&se.preventDefault(),!be&&se.key.length===1&&ne(se.key),["ArrowUp","ArrowDown","Home","End"].includes(se.key)){let ce=j().filter(he=>!he.disabled).map(he=>he.ref.current);if(["ArrowUp","End"].includes(se.key)&&(ce=ce.slice().reverse()),["ArrowUp","ArrowDown"].includes(se.key)){const he=se.target,R=ce.indexOf(he);ce=ce.slice(R+1)}setTimeout(()=>V(ce)),se.preventDefault()}})})})})})})});e4.displayName=pDe;var vDe="SelectItemAlignedPosition",s4=v.forwardRef((e,s)=>{const{__scopeSelect:a,onPlaced:n,...i}=e,r=Fi(Vr,a),o=Bi(Vr,a),[l,u]=v.useState(null),[c,m]=v.useState(null),d=ns(s,k=>m(k)),b=Nf(a),f=v.useRef(!1),h=v.useRef(!0),{viewport:g,selectedItem:p,selectedItemText:x,focusSelectedItem:D}=o,N=v.useCallback(()=>{if(r.trigger&&r.valueNode&&l&&c&&g&&p&&x){const k=r.trigger.getBoundingClientRect(),E=c.getBoundingClientRect(),U=r.valueNode.getBoundingClientRect(),T=x.getBoundingClientRect();if(r.dir!=="rtl"){const he=T.left-E.left,R=U.left-he,ve=k.left-R,J=k.width+ve,ke=Math.max(J,E.width),Ue=window.innerWidth-qa,Ye=zk(R,[qa,Math.max(qa,Ue-ke)]);l.style.minWidth=J+"px",l.style.left=Ye+"px"}else{const he=E.right-T.right,R=window.innerWidth-U.right-he,ve=window.innerWidth-k.right-R,J=k.width+ve,ke=Math.max(J,E.width),Ue=window.innerWidth-qa,Ye=zk(R,[qa,Math.max(qa,Ue-ke)]);l.style.minWidth=J+"px",l.style.right=Ye+"px"}const H=b(),j=window.innerHeight-qa*2,w=g.scrollHeight,A=window.getComputedStyle(c),P=parseInt(A.borderTopWidth,10),V=parseInt(A.paddingTop,10),_=parseInt(A.borderBottomWidth,10),O=parseInt(A.paddingBottom,10),$=P+V+w+O+_,Q=Math.min(p.offsetHeight*5,$),ne=window.getComputedStyle(g),Z=parseInt(ne.paddingTop,10),ee=parseInt(ne.paddingBottom,10),ge=k.top+k.height/2-qa,xe=j-ge,le=p.offsetHeight/2,se=p.offsetTop+le,be=P+V+se,te=$-be;if(be<=ge){const he=H.length>0&&p===H[H.length-1].ref.current;l.style.bottom="0px";const R=c.clientHeight-g.offsetTop-g.offsetHeight,ve=Math.max(xe,le+(he?ee:0)+R+_),J=be+ve;l.style.height=J+"px"}else{const he=H.length>0&&p===H[0].ref.current;l.style.top="0px";const ve=Math.max(ge,P+g.offsetTop+(he?Z:0)+le)+te;l.style.height=ve+"px",g.scrollTop=be-ge+g.offsetTop}l.style.margin=`${qa}px 0`,l.style.minHeight=Q+"px",l.style.maxHeight=j+"px",n?.(),requestAnimationFrame(()=>f.current=!0)}},[b,r.trigger,r.valueNode,l,c,g,p,x,r.dir,n]);tt(()=>N(),[N]);const[C,y]=v.useState();tt(()=>{c&&y(window.getComputedStyle(c).zIndex)},[c]);const G=v.useCallback(k=>{k&&h.current===!0&&(N(),D?.(),h.current=!1)},[N,D]);return q.jsx(xDe,{scope:a,contentWrapper:l,shouldExpandOnScrollRef:f,onScrollButtonChange:G,children:q.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:q.jsx(Ve.div,{...i,ref:d,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});s4.displayName=vDe;var NDe="SelectPopperPosition",gv=v.forwardRef((e,s)=>{const{__scopeSelect:a,align:n="start",collisionPadding:i=qa,...r}=e,o=xf(a);return q.jsx(Bv,{...o,...r,ref:s,align:n,collisionPadding:i,style:{boxSizing:"border-box",...r.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});gv.displayName=NDe;var[xDe,nD]=$l(Vr,{}),pv="SelectViewport",t4=v.forwardRef((e,s)=>{const{__scopeSelect:a,nonce:n,...i}=e,r=Bi(pv,a),o=nD(pv,a),l=ns(s,r.onViewportChange),u=v.useRef(0);return q.jsxs(q.Fragment,{children:[q.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),q.jsx(vf.Slot,{scope:a,children:q.jsx(Ve.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:je(i.onScroll,c=>{const m=c.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:b}=o;if(b?.current&&d){const f=Math.abs(u.current-m.scrollTop);if(f>0){const h=window.innerHeight-qa*2,g=parseFloat(d.style.minHeight),p=parseFloat(d.style.height),x=Math.max(g,p);if(x<h){const D=x+f,N=Math.min(h,D),C=D-N;d.style.height=N+"px",d.style.bottom==="0px"&&(m.scrollTop=C>0?C:0,d.style.justifyContent="flex-end")}}}u.current=m.scrollTop})})})]})});t4.displayName=pv;var a4="SelectGroup",[DDe,GDe]=$l(a4),yDe=v.forwardRef((e,s)=>{const{__scopeSelect:a,...n}=e,i=Xa();return q.jsx(DDe,{scope:a,id:i,children:q.jsx(Ve.div,{role:"group","aria-labelledby":i,...n,ref:s})})});yDe.displayName=a4;var n4="SelectLabel",i4=v.forwardRef((e,s)=>{const{__scopeSelect:a,...n}=e,i=GDe(n4,a);return q.jsx(Ve.div,{id:i.id,...n,ref:s})});i4.displayName=n4;var ab="SelectItem",[CDe,r4]=$l(ab),o4=v.forwardRef((e,s)=>{const{__scopeSelect:a,value:n,disabled:i=!1,textValue:r,...o}=e,l=Fi(ab,a),u=Bi(ab,a),c=l.value===n,[m,d]=v.useState(r??""),[b,f]=v.useState(!1),h=ns(s,D=>u.itemRefCallback?.(D,n,i)),g=Xa(),p=v.useRef("touch"),x=()=>{i||(l.onValueChange(n),l.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return q.jsx(CDe,{scope:a,value:n,disabled:i,textId:g,isSelected:c,onItemTextChange:v.useCallback(D=>{d(N=>N||(D?.textContent??"").trim())},[]),children:q.jsx(vf.ItemSlot,{scope:a,value:n,disabled:i,textValue:m,children:q.jsx(Ve.div,{role:"option","aria-labelledby":g,"data-highlighted":b?"":void 0,"aria-selected":c&&b,"data-state":c?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...o,ref:h,onFocus:je(o.onFocus,()=>f(!0)),onBlur:je(o.onBlur,()=>f(!1)),onClick:je(o.onClick,()=>{p.current!=="mouse"&&x()}),onPointerUp:je(o.onPointerUp,()=>{p.current==="mouse"&&x()}),onPointerDown:je(o.onPointerDown,D=>{p.current=D.pointerType}),onPointerMove:je(o.onPointerMove,D=>{p.current=D.pointerType,i?u.onItemLeave?.():p.current==="mouse"&&D.currentTarget.focus({preventScroll:!0})}),onPointerLeave:je(o.onPointerLeave,D=>{D.currentTarget===document.activeElement&&u.onItemLeave?.()}),onKeyDown:je(o.onKeyDown,D=>{u.searchRef?.current!==""&&D.key===" "||(uDe.includes(D.key)&&x(),D.key===" "&&D.preventDefault())})})})})});o4.displayName=ab;var uu="SelectItemText",l4=v.forwardRef((e,s)=>{const{__scopeSelect:a,className:n,style:i,...r}=e,o=Fi(uu,a),l=Bi(uu,a),u=r4(uu,a),c=bDe(uu,a),[m,d]=v.useState(null),b=ns(s,x=>d(x),u.onItemTextChange,x=>l.itemTextRefCallback?.(x,u.value,u.disabled)),f=m?.textContent,h=v.useMemo(()=>q.jsx("option",{value:u.value,disabled:u.disabled,children:f},u.value),[u.disabled,u.value,f]),{onNativeOptionAdd:g,onNativeOptionRemove:p}=c;return tt(()=>(g(h),()=>p(h)),[g,p,h]),q.jsxs(q.Fragment,{children:[q.jsx(Ve.span,{id:u.textId,...r,ref:b}),u.isSelected&&o.valueNode&&!o.valueNodeHasChildren?ml.createPortal(r.children,o.valueNode):null]})});l4.displayName=uu;var u4="SelectItemIndicator",c4=v.forwardRef((e,s)=>{const{__scopeSelect:a,...n}=e;return r4(u4,a).isSelected?q.jsx(Ve.span,{"aria-hidden":!0,...n,ref:s}):null});c4.displayName=u4;var hv="SelectScrollUpButton",m4=v.forwardRef((e,s)=>{const a=Bi(hv,e.__scopeSelect),n=nD(hv,e.__scopeSelect),[i,r]=v.useState(!1),o=ns(s,n.onScrollButtonChange);return tt(()=>{if(a.viewport&&a.isPositioned){let l=function(){const c=u.scrollTop>0;r(c)};const u=a.viewport;return l(),u.addEventListener("scroll",l),()=>u.removeEventListener("scroll",l)}},[a.viewport,a.isPositioned]),i?q.jsx(b4,{...e,ref:o,onAutoScroll:()=>{const{viewport:l,selectedItem:u}=a;l&&u&&(l.scrollTop=l.scrollTop-u.offsetHeight)}}):null});m4.displayName=hv;var vv="SelectScrollDownButton",d4=v.forwardRef((e,s)=>{const a=Bi(vv,e.__scopeSelect),n=nD(vv,e.__scopeSelect),[i,r]=v.useState(!1),o=ns(s,n.onScrollButtonChange);return tt(()=>{if(a.viewport&&a.isPositioned){let l=function(){const c=u.scrollHeight-u.clientHeight,m=Math.ceil(u.scrollTop)<c;r(m)};const u=a.viewport;return l(),u.addEventListener("scroll",l),()=>u.removeEventListener("scroll",l)}},[a.viewport,a.isPositioned]),i?q.jsx(b4,{...e,ref:o,onAutoScroll:()=>{const{viewport:l,selectedItem:u}=a;l&&u&&(l.scrollTop=l.scrollTop+u.offsetHeight)}}):null});d4.displayName=vv;var b4=v.forwardRef((e,s)=>{const{__scopeSelect:a,onAutoScroll:n,...i}=e,r=Bi("SelectScrollButton",a),o=v.useRef(null),l=Nf(a),u=v.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return v.useEffect(()=>()=>u(),[u]),tt(()=>{l().find(m=>m.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[l]),q.jsx(Ve.div,{"aria-hidden":!0,...i,ref:s,style:{flexShrink:0,...i.style},onPointerDown:je(i.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(n,50))}),onPointerMove:je(i.onPointerMove,()=>{r.onItemLeave?.(),o.current===null&&(o.current=window.setInterval(n,50))}),onPointerLeave:je(i.onPointerLeave,()=>{u()})})}),kDe="SelectSeparator",f4=v.forwardRef((e,s)=>{const{__scopeSelect:a,...n}=e;return q.jsx(Ve.div,{"aria-hidden":!0,...n,ref:s})});f4.displayName=kDe;var Nv="SelectArrow",EDe=v.forwardRef((e,s)=>{const{__scopeSelect:a,...n}=e,i=xf(a),r=Fi(Nv,a),o=Bi(Nv,a);return r.open&&o.position==="popper"?q.jsx(qv,{...i,...n,ref:s}):null});EDe.displayName=Nv;var LDe="SelectBubbleInput",g4=v.forwardRef(({__scopeSelect:e,value:s,...a},n)=>{const i=v.useRef(null),r=ns(n,i),o=aD(s);return v.useEffect(()=>{const l=i.current;if(!l)return;const u=window.HTMLSelectElement.prototype,m=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==s&&m){const d=new Event("change",{bubbles:!0});m.call(l,s),l.dispatchEvent(d)}},[o,s]),q.jsx(Ve.select,{...a,style:{...dE,...a.style},ref:r,defaultValue:s})});g4.displayName=LDe;function p4(e){return e===""||e===void 0}function h4(e){const s=ha(e),a=v.useRef(""),n=v.useRef(0),i=v.useCallback(o=>{const l=a.current+o;s(l),function u(c){a.current=c,window.clearTimeout(n.current),c!==""&&(n.current=window.setTimeout(()=>u(""),1e3))}(l)},[s]),r=v.useCallback(()=>{a.current="",window.clearTimeout(n.current)},[]);return v.useEffect(()=>()=>window.clearTimeout(n.current),[]),[a,i,r]}function v4(e,s,a){const i=s.length>1&&Array.from(s).every(c=>c===s[0])?s[0]:s,r=a?e.indexOf(a):-1;let o=jDe(e,Math.max(r,0));i.length===1&&(o=o.filter(c=>c!==a));const u=o.find(c=>c.textValue.toLowerCase().startsWith(i.toLowerCase()));return u!==a?u:void 0}function jDe(e,s){return e.map((a,n)=>e[(s+n)%e.length])}var wDe=q3,N4=z3,UDe=Y3,HDe=Q3,VDe=Z3,x4=X3,PDe=t4,D4=i4,G4=o4,ADe=l4,SDe=c4,y4=m4,C4=d4,k4=f4;const ds=wDe,bs=UDe,os=v.forwardRef(({className:e,children:s,...a},n)=>t.jsxDEV(N4,{ref:n,className:me("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...a,children:[s,t.jsxDEV(HDe,{asChild:!0,children:t.jsxDEV(cb,{className:"h-4 w-4 opacity-50"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:27,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:26,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:17,columnNumber:3},void 0));os.displayName=N4.displayName;const E4=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(y4,{ref:a,className:me("flex cursor-default items-center justify-center py-1",e),...s,children:t.jsxDEV(RP,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:42,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:37,columnNumber:3},void 0));E4.displayName=y4.displayName;const L4=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(C4,{ref:a,className:me("flex cursor-default items-center justify-center py-1",e),...s,children:t.jsxDEV(cb,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:56,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:51,columnNumber:3},void 0));L4.displayName=C4.displayName;const ls=v.forwardRef(({className:e,children:s,position:a="popper",...n},i)=>t.jsxDEV(VDe,{children:t.jsxDEV(x4,{ref:i,className:me("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,...n,children:[t.jsxDEV(E4,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:77,columnNumber:7},void 0),t.jsxDEV(PDe,{className:me("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:78,columnNumber:7},void 0),t.jsxDEV(L4,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:87,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:66,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:65,columnNumber:3},void 0));ls.displayName=x4.displayName;const TDe=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(D4,{ref:a,className:me("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:97,columnNumber:3},void 0));TDe.displayName=D4.displayName;const ye=v.forwardRef(({className:e,children:s,...a},n)=>t.jsxDEV(G4,{ref:n,className:me("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),...a,children:[t.jsxDEV("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:t.jsxDEV(SDe,{children:t.jsxDEV(AE,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:115,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:114,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:113,columnNumber:5},void 0),t.jsxDEV(ADe,{children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:119,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:105,columnNumber:3},void 0));ye.displayName=G4.displayName;const _De=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(k4,{ref:a,className:me("-mx-1 my-1 h-px bg-muted",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/select.tsx",lineNumber:128,columnNumber:3},void 0));_De.displayName=k4.displayName;const RDe=()=>{const[e,s]=v.useState(""),[a,n]=v.useState(""),[i,r]=v.useState(""),[o,l]=v.useState("monthly"),[u,c]=v.useState(null),m=()=>{const b=parseFloat(e)||0,f=(parseFloat(a)||0)/100,h=parseFloat(i)||0,g=f/12,p=h*12,x=b*g*Math.pow(1+g,p)/(Math.pow(1+g,p)-1),D=x*p,N=D-b,C=[];let y=b;for(let G=1;G<=h;G++){let k=0,E=0;for(let U=1;U<=12;U++){const T=y*g,H=x-T;E+=T,k+=H,y-=H}C.push({year:G,principal:Math.round(k*100)/100,interest:Math.round(E*100)/100,balance:Math.round(y*100)/100})}c({monthlyPayment:Math.round(x*100)/100,totalPayments:Math.round(D*100)/100,totalInterest:Math.round(N*100)/100,yearlyBreakdown:C})},d=[{title:"Mortgage Calculator",description:"Calculate your monthly mortgage payments and total interest",icon:Rt,href:"#mortgage-calculator"},{title:"Affordability Calculator",description:"Find out how much you can afford to borrow",icon:Xs,href:"#affordability-calculator"},{title:"Extra Repayments Calculator",description:"See how extra payments can reduce your loan term",icon:Ke,href:"#extra-repayments-calculator"}];return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:96,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:101,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-16 md:py-24",children:t.jsxDEV("div",{className:"mx-auto max-w-3xl text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(Rt,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:105,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:104,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"Home Loan Calculators"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:107,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 text-lg text-emerald-50/90 md:text-xl",children:"Calculate mortgage payments, affordability, and see how extra repayments can save you money"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:110,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:103,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:102,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:100,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Choose your home loan calculator"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:121,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl mx-auto text-muted-foreground",children:"Find the right tool to help you plan your home purchase and mortgage"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:124,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:120,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-3 mb-16",children:d.map(b=>t.jsxDEV(F,{className:"group cursor-pointer border-emerald-100 bg-emerald-50/60 transition-all hover:border-emerald-200 hover:shadow-lg hover:-translate-y-1",children:[t.jsxDEV(z,{className:"pb-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white group-hover:bg-emerald-600 transition-colors",children:t.jsxDEV(b.icon,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:134,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:133,columnNumber:21},void 0),t.jsxDEV(K,{className:"text-xl font-semibold text-emerald-900",children:b.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:136,columnNumber:21},void 0),t.jsxDEV(st,{className:"text-sm",children:b.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:139,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:132,columnNumber:19},void 0),t.jsxDEV(B,{className:"pt-0",children:t.jsxDEV(L,{variant:"outline",className:"w-full border-emerald-200 text-emerald-700 hover:bg-emerald-50",asChild:!0,children:t.jsxDEV(I,{to:b.href,children:"Use calculator"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:145,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:144,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:143,columnNumber:19},void 0)]},b.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:131,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:129,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:119,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:118,columnNumber:9},void 0),t.jsxDEV("section",{id:"mortgage-calculator",className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"grid gap-8 lg:grid-cols-2 lg:items-start",children:[t.jsxDEV("div",{children:t.jsxDEV(F,{className:"border-emerald-100 bg-white shadow-lg",children:[t.jsxDEV(z,{children:[t.jsxDEV(K,{className:"text-2xl font-semibold text-emerald-900 flex items-center gap-2",children:[t.jsxDEV(Se,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:163,columnNumber:23},void 0),"Mortgage Payment Calculator"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:162,columnNumber:21},void 0),t.jsxDEV(st,{children:"Calculate your monthly mortgage payments and total loan cost"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:166,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:161,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-6",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"loan-amount",children:"Loan amount ($)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:172,columnNumber:23},void 0),t.jsxDEV(re,{id:"loan-amount",type:"number",placeholder:"500000",value:e,onChange:b=>s(b.target.value),className:"border-emerald-200 focus:border-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:173,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:171,columnNumber:21},void 0),t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"interest-rate",children:"Interest rate (%)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:185,columnNumber:25},void 0),t.jsxDEV(re,{id:"interest-rate",type:"number",step:"0.01",placeholder:"6.5",value:a,onChange:b=>n(b.target.value),className:"border-emerald-200 focus:border-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:186,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:184,columnNumber:23},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"loan-term",children:"Loan term (years)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:197,columnNumber:25},void 0),t.jsxDEV(re,{id:"loan-term",type:"number",placeholder:"30",value:i,onChange:b=>r(b.target.value),className:"border-emerald-200 focus:border-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:198,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:196,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:183,columnNumber:21},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"repayment-frequency",children:"Repayment frequency"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:210,columnNumber:23},void 0),t.jsxDEV(ds,{value:o,onValueChange:l,children:[t.jsxDEV(os,{className:"border-emerald-200",children:t.jsxDEV(bs,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:213,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:212,columnNumber:25},void 0),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"monthly",children:"Monthly"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:216,columnNumber:27},void 0),t.jsxDEV(ye,{value:"fortnightly",children:"Fortnightly"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:217,columnNumber:27},void 0),t.jsxDEV(ye,{value:"weekly",children:"Weekly"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:218,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:215,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:211,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:209,columnNumber:21},void 0),t.jsxDEV(L,{onClick:m,className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",size:"lg",children:"Calculate mortgage"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:223,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:170,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:160,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:159,columnNumber:15},void 0),t.jsxDEV("div",{children:u?t.jsxDEV(F,{className:"border-emerald-100 bg-emerald-50/60",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-2xl font-semibold text-emerald-900 flex items-center gap-2",children:[t.jsxDEV(Rt,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:240,columnNumber:25},void 0),"Your mortgage results"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:239,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:238,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-6",children:[t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-3",children:[t.jsxDEV("div",{className:"text-center p-4 rounded-lg bg-white border border-emerald-100",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Monthly payment"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:247,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:["$",u.monthlyPayment.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:248,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:246,columnNumber:25},void 0),t.jsxDEV("div",{className:"text-center p-4 rounded-lg bg-white border border-emerald-100",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Total payments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:253,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:["$",u.totalPayments.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:254,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:252,columnNumber:25},void 0),t.jsxDEV("div",{className:"text-center p-4 rounded-lg bg-white border border-emerald-100",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Total interest"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:259,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:["$",u.totalInterest.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:260,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:258,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:245,columnNumber:23},void 0),t.jsxDEV(us,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:266,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900 mb-4",children:"Payment breakdown"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:269,columnNumber:25},void 0),t.jsxDEV("div",{className:"space-y-2 max-h-64 overflow-y-auto",children:u.yearlyBreakdown.slice(0,5).map(b=>t.jsxDEV("div",{className:"flex justify-between items-center p-2 rounded bg-white/60",children:[t.jsxDEV("span",{className:"text-sm font-medium",children:["Year ",b.year]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:273,columnNumber:31},void 0),t.jsxDEV("div",{className:"text-sm text-emerald-700",children:t.jsxDEV("span",{className:"font-semibold",children:["€",b.balance.toLocaleString()," balance"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:275,columnNumber:33},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:274,columnNumber:31},void 0)]},b.year,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:272,columnNumber:29},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:270,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:268,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:244,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:237,columnNumber:19},void 0):t.jsxDEV(F,{className:"border-emerald-100 bg-emerald-50/60",children:t.jsxDEV(B,{className:"p-8 text-center",children:[t.jsxDEV(Se,{className:"h-12 w-12 text-emerald-400 mx-auto mb-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:286,columnNumber:23},void 0),t.jsxDEV("h3",{className:"text-lg font-semibold text-emerald-900 mb-2",children:"Ready to calculate?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:287,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:"Enter your loan details and click calculate to see your mortgage payments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:290,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:285,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:284,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:235,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:157,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:156,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:155,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl font-semibold text-emerald-900 md:text-4xl",children:"Home loan tips & strategies"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:305,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 max-w-2xl mx-auto text-muted-foreground",children:"Make informed decisions about your home loan with these expert tips"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:308,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:304,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-2 lg:grid-cols-3",children:[t.jsxDEV(F,{className:"border-emerald-100 bg-emerald-50/60",children:[t.jsxDEV(z,{children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(pl,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:317,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:316,columnNumber:19},void 0),t.jsxDEV(K,{className:"text-lg font-semibold text-emerald-900",children:"Compare rates"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:319,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:315,columnNumber:17},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Even small differences in interest rates can save you thousands over the life of your loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:324,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:323,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:314,columnNumber:15},void 0),t.jsxDEV(F,{className:"border-emerald-100 bg-emerald-50/60",children:[t.jsxDEV(z,{children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(jv,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:333,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:332,columnNumber:19},void 0),t.jsxDEV(K,{className:"text-lg font-semibold text-emerald-900",children:"Consider loan term"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:335,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:331,columnNumber:17},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Shorter loan terms mean higher payments but less total interest paid"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:340,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:339,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:330,columnNumber:15},void 0),t.jsxDEV(F,{className:"border-emerald-100 bg-emerald-50/60",children:[t.jsxDEV(z,{children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-700 text-white",children:t.jsxDEV(Ke,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:349,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:348,columnNumber:19},void 0),t.jsxDEV(K,{className:"text-lg font-semibold text-emerald-900",children:"Extra repayments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:351,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:347,columnNumber:17},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Making extra payments can significantly reduce your loan term and total interest"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:356,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:355,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:346,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:313,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:303,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:302,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:98,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:366,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/HomeLoans.tsx",lineNumber:95,columnNumber:5},void 0)},MDe=()=>{const[e,s]=v.useState(""),[a,n]=v.useState(""),[i,r]=v.useState(null),o=()=>{const l=parseFloat(e)||0;let u=10.5;l<=14e3?u=10.5:l<=48e3?u=17.5:l<=7e4?u=30:u=33;const c=l*u/100,m=c/12;r({rwtRate:u,monthlyTax:Math.round(m*100)/100,annualTax:Math.round(c*100)/100})};return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:50,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"relative isolate overflow-hidden bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white",children:[t.jsxDEV("div",{className:"absolute right-0 top-0 h-full w-full max-w-4xl translate-x-1/3 bg-[radial-gradient(circle_at_top,rgba(255,201,8,0.45),transparent_60%)] opacity-70"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:55,columnNumber:11},void 0),t.jsxDEV("div",{className:"container mx-auto px-4 py-16 md:py-24",children:t.jsxDEV("div",{className:"mx-auto max-w-3xl text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(pl,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:59,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:58,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold leading-tight md:text-5xl",children:"RWT Rate Calculator"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:61,columnNumber:15},void 0),t.jsxDEV("p",{className:"mt-4 text-lg text-emerald-50/90 md:text-xl",children:"Calculate your Resident Withholding Tax rate for interest income"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:64,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:57,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:56,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:54,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-white py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-2xl mx-auto",children:[t.jsxDEV(F,{className:"border-emerald-100 bg-white shadow-lg",children:[t.jsxDEV(z,{children:[t.jsxDEV(K,{className:"text-2xl font-semibold text-emerald-900 flex items-center gap-2",children:[t.jsxDEV(Se,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:78,columnNumber:21},void 0),"Calculate Your RWT Rate"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:77,columnNumber:19},void 0),t.jsxDEV(st,{children:"Calculate your Resident Withholding Tax (RWT) rate - the rate at which tax should be deducted on interest paid on term deposits or bank account deposits."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:81,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:76,columnNumber:17},void 0),t.jsxDEV(B,{className:"space-y-6",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"annual-income",children:"Annual taxable income ($)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:87,columnNumber:21},void 0),t.jsxDEV(re,{id:"annual-income",type:"number",placeholder:"50000",value:e,onChange:l=>s(l.target.value),className:"border-emerald-200 focus:border-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:88,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:86,columnNumber:19},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"tax-code",children:"Tax code"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:99,columnNumber:21},void 0),t.jsxDEV(ds,{value:a,onValueChange:n,children:[t.jsxDEV(os,{className:"border-emerald-200",children:t.jsxDEV(bs,{placeholder:"Select your tax code"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:102,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:101,columnNumber:23},void 0),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"M",children:"M - Primary income"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:105,columnNumber:25},void 0),t.jsxDEV(ye,{value:"S",children:"S - Secondary income"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:106,columnNumber:25},void 0),t.jsxDEV(ye,{value:"SH",children:"SH - Secondary higher rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:107,columnNumber:25},void 0),t.jsxDEV(ye,{value:"ST",children:"ST - Secondary trust rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:108,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:104,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:100,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:98,columnNumber:19},void 0),t.jsxDEV(L,{onClick:o,className:"w-full bg-emerald-700 text-white hover:bg-emerald-600",size:"lg",children:"Calculate RWT rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:113,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:85,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:75,columnNumber:15},void 0),i&&t.jsxDEV(F,{className:"border-emerald-100 bg-emerald-50/60 mt-6",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-2xl font-semibold text-emerald-900 flex items-center gap-2",children:[t.jsxDEV(Ot,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:128,columnNumber:23},void 0),"Your RWT calculation results"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:127,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:126,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-6",children:[t.jsxDEV("div",{className:"grid gap-4 md:grid-cols-3",children:[t.jsxDEV("div",{className:"text-center p-4 rounded-lg bg-white border border-emerald-100",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"RWT rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:135,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:[i.rwtRate,"%"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:136,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:134,columnNumber:23},void 0),t.jsxDEV("div",{className:"text-center p-4 rounded-lg bg-white border border-emerald-100",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Monthly tax"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:141,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:["$",i.monthlyTax.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:142,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:140,columnNumber:23},void 0),t.jsxDEV("div",{className:"text-center p-4 rounded-lg bg-white border border-emerald-100",children:[t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Annual tax"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:147,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-700",children:["$",i.annualTax.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:148,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:146,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:133,columnNumber:21},void 0),t.jsxDEV("div",{className:"bg-blue-50 p-4 rounded-lg",children:t.jsxDEV("p",{className:"text-sm text-blue-800",children:[t.jsxDEV("strong",{children:"Note:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:156,columnNumber:25},void 0)," This is a simplified calculation for estimation purposes. For accurate tax calculations, please consult with a tax professional or use the official IRD calculator."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:155,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:154,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:132,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:125,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:74,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:73,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:72,columnNumber:9},void 0),t.jsxDEV("section",{className:"bg-muted/40 py-16 md:py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto",children:t.jsxDEV("div",{className:"grid gap-6 md:gap-8 md:grid-cols-2",children:[t.jsxDEV(F,{className:"border-emerald-100 bg-white",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-lg font-semibold text-emerald-900",children:"What is RWT?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:174,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:173,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Resident Withholding Tax (RWT) is deducted from interest you earn on bank deposits. The rate depends on your total taxable income and is used to ensure you pay the correct amount of tax."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:179,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:178,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:172,columnNumber:17},void 0),t.jsxDEV(F,{className:"border-emerald-100 bg-white",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-lg font-semibold text-emerald-900",children:"Why does it matter?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:188,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:187,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Using the correct RWT rate ensures you don't overpay or underpay tax on your interest income. This helps avoid surprises when filing your annual tax return."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:193,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:192,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:186,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:171,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:170,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:169,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:168,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:52,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:205,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/RWT.tsx",lineNumber:49,columnNumber:5},void 0)};var Ig="rovingFocusGroup.onEntryFocus",ODe={bubbles:!1,cancelable:!0},$c="RovingFocusGroup",[xv,j4,IDe]=ib($c),[$De,Df]=Mt($c,[IDe]),[FDe,BDe]=$De($c),w4=v.forwardRef((e,s)=>q.jsx(xv.Provider,{scope:e.__scopeRovingFocusGroup,children:q.jsx(xv.Slot,{scope:e.__scopeRovingFocusGroup,children:q.jsx(qDe,{...e,ref:s})})}));w4.displayName=$c;var qDe=v.forwardRef((e,s)=>{const{__scopeRovingFocusGroup:a,orientation:n,loop:i=!1,dir:r,currentTabStopId:o,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:u,onEntryFocus:c,preventScrollOnEntryFocus:m=!1,...d}=e,b=v.useRef(null),f=ns(s,b),h=Pc(r),[g,p]=va({prop:o,defaultProp:l??null,onChange:u,caller:$c}),[x,D]=v.useState(!1),N=ha(c),C=j4(a),y=v.useRef(!1),[G,k]=v.useState(0);return v.useEffect(()=>{const E=b.current;if(E)return E.addEventListener(Ig,N),()=>E.removeEventListener(Ig,N)},[N]),q.jsx(FDe,{scope:a,orientation:n,dir:h,loop:i,currentTabStopId:g,onItemFocus:v.useCallback(E=>p(E),[p]),onItemShiftTab:v.useCallback(()=>D(!0),[]),onFocusableItemAdd:v.useCallback(()=>k(E=>E+1),[]),onFocusableItemRemove:v.useCallback(()=>k(E=>E-1),[]),children:q.jsx(Ve.div,{tabIndex:x||G===0?-1:0,"data-orientation":n,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:je(e.onMouseDown,()=>{y.current=!0}),onFocus:je(e.onFocus,E=>{const U=!y.current;if(E.target===E.currentTarget&&U&&!x){const T=new CustomEvent(Ig,ODe);if(E.currentTarget.dispatchEvent(T),!T.defaultPrevented){const H=C().filter(V=>V.focusable),j=H.find(V=>V.active),w=H.find(V=>V.id===g),P=[j,w,...H].filter(Boolean).map(V=>V.ref.current);V4(P,m)}}y.current=!1}),onBlur:je(e.onBlur,()=>D(!1))})})}),U4="RovingFocusGroupItem",H4=v.forwardRef((e,s)=>{const{__scopeRovingFocusGroup:a,focusable:n=!0,active:i=!1,tabStopId:r,children:o,...l}=e,u=Xa(),c=r||u,m=BDe(U4,a),d=m.currentTabStopId===c,b=j4(a),{onFocusableItemAdd:f,onFocusableItemRemove:h,currentTabStopId:g}=m;return v.useEffect(()=>{if(n)return f(),()=>h()},[n,f,h]),q.jsx(xv.ItemSlot,{scope:a,id:c,focusable:n,active:i,children:q.jsx(Ve.span,{tabIndex:d?0:-1,"data-orientation":m.orientation,...l,ref:s,onMouseDown:je(e.onMouseDown,p=>{n?m.onItemFocus(c):p.preventDefault()}),onFocus:je(e.onFocus,()=>m.onItemFocus(c)),onKeyDown:je(e.onKeyDown,p=>{if(p.key==="Tab"&&p.shiftKey){m.onItemShiftTab();return}if(p.target!==p.currentTarget)return;const x=KDe(p,m.orientation,m.dir);if(x!==void 0){if(p.metaKey||p.ctrlKey||p.altKey||p.shiftKey)return;p.preventDefault();let N=b().filter(C=>C.focusable).map(C=>C.ref.current);if(x==="last")N.reverse();else if(x==="prev"||x==="next"){x==="prev"&&N.reverse();const C=N.indexOf(p.currentTarget);N=m.loop?YDe(N,C+1):N.slice(C+1)}setTimeout(()=>V4(N))}}),children:typeof o=="function"?o({isCurrentTabStop:d,hasTabStop:g!=null}):o})})});H4.displayName=U4;var WDe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function zDe(e,s){return s!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function KDe(e,s,a){const n=zDe(e.key,a);if(!(s==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(s==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return WDe[n]}function V4(e,s=!1){const a=document.activeElement;for(const n of e)if(n===a||(n.focus({preventScroll:s}),document.activeElement!==a))return}function YDe(e,s){return e.map((a,n)=>e[(s+n)%e.length])}var P4=w4,A4=H4,Gf="Tabs",[QDe,f1e]=Mt(Gf,[Df]),S4=Df(),[ZDe,iD]=QDe(Gf),T4=v.forwardRef((e,s)=>{const{__scopeTabs:a,value:n,onValueChange:i,defaultValue:r,orientation:o="horizontal",dir:l,activationMode:u="automatic",...c}=e,m=Pc(l),[d,b]=va({prop:n,onChange:i,defaultProp:r??"",caller:Gf});return q.jsx(ZDe,{scope:a,baseId:Xa(),value:d,onValueChange:b,orientation:o,dir:m,activationMode:u,children:q.jsx(Ve.div,{dir:m,"data-orientation":o,...c,ref:s})})});T4.displayName=Gf;var _4="TabsList",R4=v.forwardRef((e,s)=>{const{__scopeTabs:a,loop:n=!0,...i}=e,r=iD(_4,a),o=S4(a);return q.jsx(P4,{asChild:!0,...o,orientation:r.orientation,dir:r.dir,loop:n,children:q.jsx(Ve.div,{role:"tablist","aria-orientation":r.orientation,...i,ref:s})})});R4.displayName=_4;var M4="TabsTrigger",O4=v.forwardRef((e,s)=>{const{__scopeTabs:a,value:n,disabled:i=!1,...r}=e,o=iD(M4,a),l=S4(a),u=F4(o.baseId,n),c=B4(o.baseId,n),m=n===o.value;return q.jsx(A4,{asChild:!0,...l,focusable:!i,active:m,children:q.jsx(Ve.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":c,"data-state":m?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:u,...r,ref:s,onMouseDown:je(e.onMouseDown,d=>{!i&&d.button===0&&d.ctrlKey===!1?o.onValueChange(n):d.preventDefault()}),onKeyDown:je(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&o.onValueChange(n)}),onFocus:je(e.onFocus,()=>{const d=o.activationMode!=="manual";!m&&!i&&d&&o.onValueChange(n)})})})});O4.displayName=M4;var I4="TabsContent",$4=v.forwardRef((e,s)=>{const{__scopeTabs:a,value:n,forceMount:i,children:r,...o}=e,l=iD(I4,a),u=F4(l.baseId,n),c=B4(l.baseId,n),m=n===l.value,d=v.useRef(m);return v.useEffect(()=>{const b=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(b)},[]),q.jsx(nn,{present:i||m,children:({present:b})=>q.jsx(Ve.div,{"data-state":m?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":u,hidden:!b,id:c,tabIndex:0,...o,ref:s,style:{...e.style,animationDuration:d.current?"0s":void 0},children:b&&r})})});$4.displayName=I4;function F4(e,s){return`${e}-trigger-${s}`}function B4(e,s){return`${e}-content-${s}`}var XDe=T4,q4=R4,W4=O4,z4=$4;const Fr=XDe,qi=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(q4,{ref:a,className:me("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/tabs.tsx",lineNumber:12,columnNumber:3},void 0));qi.displayName=q4.displayName;const Ps=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(W4,{ref:a,className:me("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/tabs.tsx",lineNumber:27,columnNumber:3},void 0));Ps.displayName=W4.displayName;const As=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(z4,{ref:a,className:me("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/tabs.tsx",lineNumber:42,columnNumber:3},void 0));As.displayName=z4.displayName;const JDe=()=>{const[e,s]=v.useState({cash:"",savings:"",investments:"",retirement:"",realEstate:"",vehicles:"",otherAssets:""}),[a,n]=v.useState({mortgage:"",carLoans:"",creditCards:"",studentLoans:"",personalLoans:"",otherLiabilities:""}),[i,r]=v.useState(!1),o=()=>{const g=Object.values(e).reduce((D,N)=>D+(parseFloat(N)||0),0),p=Object.values(a).reduce((D,N)=>D+(parseFloat(N)||0),0),x=g-p;return{totalAssets:g,totalLiabilities:p,netWorth:x}},l=(g,p)=>{s(x=>({...x,[g]:p}))},u=(g,p)=>{n(x=>({...x,[g]:p}))},c=()=>{r(!0)},m=()=>{s({cash:"",savings:"",investments:"",retirement:"",realEstate:"",vehicles:"",otherAssets:""}),n({mortgage:"",carLoans:"",creditCards:"",studentLoans:"",personalLoans:"",otherLiabilities:""}),r(!1)},d=o(),b=d.netWorth>=0?"positive":"negative",f=[{key:"cash",label:"Cash & Checking",icon:Xs,placeholder:"0.00"},{key:"savings",label:"Savings Accounts",icon:Da,placeholder:"0.00"},{key:"investments",label:"Investment Accounts",icon:Ke,placeholder:"0.00"},{key:"retirement",label:"Retirement Accounts",icon:Ta,placeholder:"0.00"},{key:"realEstate",label:"Real Estate",icon:Rt,placeholder:"0.00"},{key:"vehicles",label:"Vehicles",icon:Po,placeholder:"0.00"},{key:"otherAssets",label:"Other Assets",icon:Se,placeholder:"0.00"}],h=[{key:"mortgage",label:"Mortgage",icon:Rt,placeholder:"0.00"},{key:"carLoans",label:"Car Loans",icon:Po,placeholder:"0.00"},{key:"creditCards",label:"Credit Card Debt",icon:Xs,placeholder:"0.00"},{key:"studentLoans",label:"Student Loans",icon:Ta,placeholder:"0.00"},{key:"personalLoans",label:"Personal Loans",icon:Se,placeholder:"0.00"},{key:"otherLiabilities",label:"Other Liabilities",icon:Se,placeholder:"0.00"}];return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:103,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(Se,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:110,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:109,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold mb-4",children:"Net Worth Calculator"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:112,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-emerald-50/90 text-lg",children:"Get a clear picture of your current financial position by calculating your net worth"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:113,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:108,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:107,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:106,columnNumber:9},void 0),t.jsxDEV("section",{className:"py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto",children:[t.jsxDEV(Fr,{defaultValue:"assets",className:"space-y-8",children:[t.jsxDEV(qi,{className:"grid w-full grid-cols-3",children:[t.jsxDEV(Ps,{value:"assets",children:"Assets"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:125,columnNumber:19},void 0),t.jsxDEV(Ps,{value:"liabilities",children:"Liabilities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:126,columnNumber:19},void 0),t.jsxDEV(Ps,{value:"results",disabled:!i,children:"Results"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:127,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:124,columnNumber:17},void 0),t.jsxDEV(As,{value:"assets",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:[t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Ke,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:134,columnNumber:25},void 0),"Your Assets"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:133,columnNumber:23},void 0),t.jsxDEV(st,{children:"Enter the current value of all your assets"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:137,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:132,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-6",children:[f.map(g=>{const p=g.icon;return t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:g.key,className:"flex items-center gap-2 text-base font-medium",children:[t.jsxDEV(p,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:147,columnNumber:31},void 0),g.label]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:146,columnNumber:29},void 0),t.jsxDEV(re,{id:g.key,type:"number",placeholder:g.placeholder,value:e[g.key],onChange:x=>l(g.key,x.target.value),className:"text-lg"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:150,columnNumber:29},void 0)]},g.key,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:145,columnNumber:27},void 0)}),t.jsxDEV("div",{className:"pt-4 border-t",children:t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-lg font-semibold",children:"Total Assets:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:163,columnNumber:27},void 0),t.jsxDEV("span",{className:"text-2xl font-bold text-emerald-600",children:["$",d.totalAssets.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:164,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:162,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:161,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:141,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:131,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:130,columnNumber:17},void 0),t.jsxDEV(As,{value:"liabilities",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:[t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Kn,{className:"h-5 w-5 text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:177,columnNumber:25},void 0),"Your Liabilities"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:176,columnNumber:23},void 0),t.jsxDEV(st,{children:"Enter the current balance of all your debts and liabilities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:180,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:175,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-6",children:[h.map(g=>{const p=g.icon;return t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:g.key,className:"flex items-center gap-2 text-base font-medium",children:[t.jsxDEV(p,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:190,columnNumber:31},void 0),g.label]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:189,columnNumber:29},void 0),t.jsxDEV(re,{id:g.key,type:"number",placeholder:g.placeholder,value:a[g.key],onChange:x=>u(g.key,x.target.value),className:"text-lg"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:193,columnNumber:29},void 0)]},g.key,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:188,columnNumber:27},void 0)}),t.jsxDEV("div",{className:"pt-4 border-t",children:t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-lg font-semibold",children:"Total Liabilities:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:206,columnNumber:27},void 0),t.jsxDEV("span",{className:"text-2xl font-bold text-red-600",children:["$",d.totalLiabilities.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:207,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:205,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:204,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:184,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:174,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:173,columnNumber:17},void 0),t.jsxDEV(As,{value:"results",children:t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{className:"border-2 border-emerald-200",children:[t.jsxDEV(z,{className:"text-center",children:[t.jsxDEV(K,{className:"text-2xl",children:"Your Net Worth"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:220,columnNumber:25},void 0),t.jsxDEV(st,{children:"The difference between your total assets and total liabilities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:221,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:219,columnNumber:23},void 0),t.jsxDEV(B,{children:[t.jsxDEV("div",{className:"text-center mb-8",children:[t.jsxDEV("div",{className:`text-5xl font-bold mb-2 ${b==="positive"?"text-emerald-600":"text-red-600"}`,children:[b==="positive"?"+":"","$",d.netWorth.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:227,columnNumber:27},void 0),t.jsxDEV("div",{className:`inline-flex items-center gap-2 px-4 py-2 rounded-full text-sm font-medium ${b==="positive"?"bg-emerald-100 text-emerald-800":"bg-red-100 text-red-800"}`,children:b==="positive"?t.jsxDEV(t.Fragment,{children:[t.jsxDEV(Ke,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:239,columnNumber:33},void 0),"Positive Net Worth"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:238,columnNumber:31},void 0):t.jsxDEV(t.Fragment,{children:[t.jsxDEV(Kn,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:244,columnNumber:33},void 0),"Negative Net Worth"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:243,columnNumber:31},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:232,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:226,columnNumber:25},void 0),t.jsxDEV("div",{className:"grid md:grid-cols-2 gap-6",children:[t.jsxDEV("div",{className:"bg-emerald-50 p-6 rounded-lg",children:[t.jsxDEV("div",{className:"flex items-center gap-2 mb-2",children:[t.jsxDEV(Ke,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:254,columnNumber:31},void 0),t.jsxDEV("h3",{className:"font-semibold text-emerald-900",children:"Total Assets"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:255,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:253,columnNumber:29},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-600",children:["$",d.totalAssets.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:257,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:252,columnNumber:27},void 0),t.jsxDEV("div",{className:"bg-red-50 p-6 rounded-lg",children:[t.jsxDEV("div",{className:"flex items-center gap-2 mb-2",children:[t.jsxDEV(Kn,{className:"h-5 w-5 text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:263,columnNumber:31},void 0),t.jsxDEV("h3",{className:"font-semibold text-red-900",children:"Total Liabilities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:264,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:262,columnNumber:29},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-red-600",children:["$",d.totalLiabilities.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:266,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:261,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:251,columnNumber:25},void 0),t.jsxDEV("div",{className:"mt-8 p-6 bg-gray-50 rounded-lg",children:[t.jsxDEV("h3",{className:"font-semibold text-gray-900 mb-4",children:"What This Means"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:273,columnNumber:27},void 0),b==="positive"?t.jsxDEV("div",{className:"space-y-3 text-muted-foreground",children:[t.jsxDEV("p",{children:"• You have more assets than liabilities, which is a strong financial position"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:276,columnNumber:31},void 0),t.jsxDEV("p",{children:"• Focus on continuing to build your assets and reduce debt"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:277,columnNumber:31},void 0),t.jsxDEV("p",{children:"• Consider increasing investments and emergency savings"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:278,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:275,columnNumber:29},void 0):t.jsxDEV("div",{className:"space-y-3 text-muted-foreground",children:[t.jsxDEV("p",{children:"• You have more liabilities than assets, which requires attention"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:282,columnNumber:31},void 0),t.jsxDEV("p",{children:"• Focus on paying down high-interest debt first"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:283,columnNumber:31},void 0),t.jsxDEV("p",{children:"• Create a budget to increase savings and reduce expenses"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:284,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:281,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:272,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:225,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:218,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex gap-4",children:[t.jsxDEV(L,{onClick:m,variant:"outline",className:"flex-1",children:"Recalculate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:292,columnNumber:23},void 0),t.jsxDEV(L,{asChild:!0,className:"flex-1 bg-emerald-700 hover:bg-emerald-600",children:t.jsxDEV(I,{to:"/calculators",children:"Back to Calculators"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:296,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:295,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:291,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:217,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:216,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:123,columnNumber:15},void 0),!i&&t.jsxDEV("div",{className:"mt-8 flex justify-center",children:t.jsxDEV(L,{onClick:c,size:"lg",className:"bg-emerald-700 hover:bg-emerald-600 px-8",children:"Calculate Net Worth"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:305,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:304,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:122,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:121,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:120,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:105,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:319,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/savings/NetWorth.tsx",lineNumber:102,columnNumber:5},void 0)};var rD="Radio",[e0e,K4]=Mt(rD),[s0e,t0e]=e0e(rD),Y4=v.forwardRef((e,s)=>{const{__scopeRadio:a,name:n,checked:i=!1,required:r,disabled:o,value:l="on",onCheck:u,form:c,...m}=e,[d,b]=v.useState(null),f=ns(s,p=>b(p)),h=v.useRef(!1),g=d?c||!!d.closest("form"):!0;return q.jsxs(s0e,{scope:a,checked:i,disabled:o,children:[q.jsx(Ve.button,{type:"button",role:"radio","aria-checked":i,"data-state":J4(i),"data-disabled":o?"":void 0,disabled:o,value:l,...m,ref:f,onClick:je(e.onClick,p=>{i||u?.(),g&&(h.current=p.isPropagationStopped(),h.current||p.stopPropagation())})}),g&&q.jsx(X4,{control:d,bubbles:!h.current,name:n,value:l,checked:i,required:r,disabled:o,form:c,style:{transform:"translateX(-100%)"}})]})});Y4.displayName=rD;var Q4="RadioIndicator",Z4=v.forwardRef((e,s)=>{const{__scopeRadio:a,forceMount:n,...i}=e,r=t0e(Q4,a);return q.jsx(nn,{present:n||r.checked,children:q.jsx(Ve.span,{"data-state":J4(r.checked),"data-disabled":r.disabled?"":void 0,...i,ref:s})})});Z4.displayName=Q4;var a0e="RadioBubbleInput",X4=v.forwardRef(({__scopeRadio:e,control:s,checked:a,bubbles:n=!0,...i},r)=>{const o=v.useRef(null),l=ns(o,r),u=aD(a),c=Mv(s);return v.useEffect(()=>{const m=o.current;if(!m)return;const d=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(d,"checked").set;if(u!==a&&f){const h=new Event("click",{bubbles:n});f.call(m,a),m.dispatchEvent(h)}},[u,a,n]),q.jsx(Ve.input,{type:"radio","aria-hidden":!0,defaultChecked:a,...i,tabIndex:-1,ref:l,style:{...i.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});X4.displayName=a0e;function J4(e){return e?"checked":"unchecked"}var n0e=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],yf="RadioGroup",[i0e,g1e]=Mt(yf,[Df,K4]),e5=Df(),s5=K4(),[r0e,o0e]=i0e(yf),t5=v.forwardRef((e,s)=>{const{__scopeRadioGroup:a,name:n,defaultValue:i,value:r,required:o=!1,disabled:l=!1,orientation:u,dir:c,loop:m=!0,onValueChange:d,...b}=e,f=e5(a),h=Pc(c),[g,p]=va({prop:r,defaultProp:i??null,onChange:d,caller:yf});return q.jsx(r0e,{scope:a,name:n,required:o,disabled:l,value:g,onValueChange:p,children:q.jsx(P4,{asChild:!0,...f,orientation:u,dir:h,loop:m,children:q.jsx(Ve.div,{role:"radiogroup","aria-required":o,"aria-orientation":u,"data-disabled":l?"":void 0,dir:h,...b,ref:s})})})});t5.displayName=yf;var a5="RadioGroupItem",n5=v.forwardRef((e,s)=>{const{__scopeRadioGroup:a,disabled:n,...i}=e,r=o0e(a5,a),o=r.disabled||n,l=e5(a),u=s5(a),c=v.useRef(null),m=ns(s,c),d=r.value===i.value,b=v.useRef(!1);return v.useEffect(()=>{const f=g=>{n0e.includes(g.key)&&(b.current=!0)},h=()=>b.current=!1;return document.addEventListener("keydown",f),document.addEventListener("keyup",h),()=>{document.removeEventListener("keydown",f),document.removeEventListener("keyup",h)}},[]),q.jsx(A4,{asChild:!0,...l,focusable:!o,active:d,children:q.jsx(Y4,{disabled:o,required:r.required,checked:d,...u,...i,name:r.name,ref:m,onCheck:()=>r.onValueChange(i.value),onKeyDown:je(f=>{f.key==="Enter"&&f.preventDefault()}),onFocus:je(i.onFocus,()=>{b.current&&c.current?.click()})})})});n5.displayName=a5;var l0e="RadioGroupIndicator",i5=v.forwardRef((e,s)=>{const{__scopeRadioGroup:a,...n}=e,i=s5(a);return q.jsx(Z4,{...i,...n,ref:s})});i5.displayName=l0e;var r5=t5,o5=n5,u0e=i5;const nb=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(r5,{className:me("grid gap-2",e),...s,ref:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/radio-group.tsx",lineNumber:11,columnNumber:10},void 0));nb.displayName=r5.displayName;const On=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(o5,{ref:a,className:me("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...s,children:t.jsxDEV(u0e,{className:"flex items-center justify-center",children:t.jsxDEV(OP,{className:"h-2.5 w-2.5 fill-current text-current"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/radio-group.tsx",lineNumber:29,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/radio-group.tsx",lineNumber:28,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/radio-group.tsx",lineNumber:20,columnNumber:5},void 0));On.displayName=o5.displayName;const c0e=()=>{const[e,s]=v.useState(0),[a,n]=v.useState([]),[i,r]=v.useState(!1),o=[{id:"time_horizon",question:"How long do you plan to invest before needing to access your money?",options:[{value:"short",label:"Less than 2 years",description:"I may need access to funds soon"},{value:"medium",label:"2-5 years",description:"Medium-term investment goals"},{value:"long",label:"More than 5 years",description:"Long-term wealth building"}]},{id:"risk_tolerance",question:"How would you feel if your investment portfolio dropped 20% in value?",options:[{value:"conservative",label:"Very concerned - I'd sell immediately",description:"Capital preservation is my priority"},{value:"moderate",label:"Concerned but I'd hold on",description:"I understand markets fluctuate"},{value:"aggressive",label:"I'd see it as a buying opportunity",description:"I'm comfortable with volatility"}]},{id:"investment_knowledge",question:"How would you describe your investment knowledge?",options:[{value:"beginner",label:"Beginner",description:"I'm just starting to learn about investing"},{value:"intermediate",label:"Intermediate",description:"I understand basic investment concepts"},{value:"advanced",label:"Advanced",description:"I'm experienced with various investment types"}]},{id:"investment_goal",question:"What is your primary investment goal?",options:[{value:"income",label:"Regular income",description:"I want consistent returns and cash flow"},{value:"balanced",label:"Balanced growth",description:"Mix of income and capital growth"},{value:"growth",label:"Capital growth",description:"I want to maximize long-term returns"}]},{id:"financial_situation",question:"How stable is your current financial situation?",options:[{value:"cautious",label:"I need to be very careful",description:"Limited emergency funds or income stability"},{value:"stable",label:"Reasonably stable",description:"Good emergency fund and steady income"},{value:"secure",label:"Very secure",description:"Strong financial foundation"}]}],l=f=>{const h={conservative:0,moderate:0,aggressive:0};return f.forEach(g=>{g==="short"||g==="conservative"||g==="beginner"||g==="income"||g==="cautious"?h.conservative+=1:g==="medium"||g==="moderate"||g==="intermediate"||g==="balanced"||g==="stable"?h.moderate+=1:(g==="long"||g==="aggressive"||g==="advanced"||g==="growth"||g==="secure")&&(h.aggressive+=1)}),h.conservative>=3?"conservative":h.aggressive>=3?"aggressive":"moderate"},u=f=>({conservative:{title:"Conservative Investor",icon:zs,description:"You prioritize capital preservation and steady, predictable returns.",characteristics:["Low risk tolerance","Short to medium investment horizon","Preference for guaranteed or low-risk investments","Focus on capital preservation over high returns"],suitableInvestments:["Term deposits and savings accounts","Government bonds","Conservative managed funds","Blue-chip dividend stocks"],riskLevel:"Low",expectedReturns:"3-6% annually",color:"blue"},moderate:{title:"Balanced Investor",icon:wt,description:"You seek a balance between risk and return with a diversified approach.",characteristics:["Medium risk tolerance","Medium to long investment horizon","Comfortable with some market volatility","Seeking balanced growth and income"],suitableInvestments:["Diversified managed funds","Mix of bonds and equities","Property investments","Some international exposure"],riskLevel:"Medium",expectedReturns:"6-10% annually",color:"emerald"},aggressive:{title:"Growth Investor",icon:Ke,description:"You're comfortable with higher risk for potentially greater long-term returns.",characteristics:["High risk tolerance","Long investment horizon","Comfortable with significant market volatility","Focus on maximizing capital growth"],suitableInvestments:["Growth-oriented managed funds","International equities","Emerging markets","Sector-specific investments","Alternative investments"],riskLevel:"High",expectedReturns:"10%+ annually",color:"purple"}})[f],c=f=>{const h=[...a];h[e]=f,n(h),e<o.length-1?s(e+1):r(!0)},m=()=>{e>0&&s(e-1)},d=()=>{s(0),n([]),r(!1)},b=(e+(i?1:0))/o.length*100;if(i){const f=l(a),h=u(f),g=h.icon;return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:188,columnNumber:9},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(Za,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:195,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:194,columnNumber:17},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold mb-4",children:"Your Investor Profile"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:197,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-emerald-50/90 text-lg",children:"Based on your answers, here's your investment personality"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:198,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:193,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:192,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:191,columnNumber:11},void 0),t.jsxDEV("section",{className:"py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto",children:t.jsxDEV(F,{className:"border-2 border-emerald-200 shadow-lg",children:[t.jsxDEV(z,{className:"text-center pb-8",children:[t.jsxDEV("div",{className:"mx-auto mb-4 flex h-20 w-20 items-center justify-center rounded-full bg-emerald-100",children:t.jsxDEV(g,{className:"h-10 w-10 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:211,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:210,columnNumber:21},void 0),t.jsxDEV(K,{className:"text-3xl font-bold text-emerald-900",children:h.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:213,columnNumber:21},void 0),t.jsxDEV(st,{className:"text-lg text-muted-foreground mt-2",children:h.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:216,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:209,columnNumber:19},void 0),t.jsxDEV(B,{className:"space-y-8",children:[t.jsxDEV("div",{className:"grid md:grid-cols-2 gap-8",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900 mb-4",children:"Your Characteristics"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:224,columnNumber:25},void 0),t.jsxDEV("ul",{className:"space-y-2",children:h.characteristics.map((p,x)=>t.jsxDEV("li",{className:"flex items-start",children:[t.jsxDEV("div",{className:"h-2 w-2 bg-emerald-600 rounded-full mt-2 mr-3 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:228,columnNumber:31},void 0),t.jsxDEV("span",{className:"text-muted-foreground",children:p},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:229,columnNumber:31},void 0)]},x,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:227,columnNumber:29},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:225,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:223,columnNumber:23},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-emerald-900 mb-4",children:"Suitable Investments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:236,columnNumber:25},void 0),t.jsxDEV("ul",{className:"space-y-2",children:h.suitableInvestments.map((p,x)=>t.jsxDEV("li",{className:"flex items-start",children:[t.jsxDEV("div",{className:"h-2 w-2 bg-emerald-600 rounded-full mt-2 mr-3 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:240,columnNumber:31},void 0),t.jsxDEV("span",{className:"text-muted-foreground",children:p},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:241,columnNumber:31},void 0)]},x,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:239,columnNumber:29},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:237,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:235,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:222,columnNumber:21},void 0),t.jsxDEV("div",{className:"bg-emerald-50 p-6 rounded-lg",children:t.jsxDEV("div",{className:"grid md:grid-cols-2 gap-6",children:[t.jsxDEV("div",{children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900 mb-2",children:"Risk Level"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:251,columnNumber:27},void 0),t.jsxDEV("div",{className:"flex items-center space-x-2",children:[t.jsxDEV("div",{className:"h-3 flex-1 bg-emerald-200 rounded-full overflow-hidden",children:t.jsxDEV("div",{className:`h-full bg-${h.color}-500`,style:{width:h.riskLevel==="Low"?"33%":h.riskLevel==="Medium"?"66%":"100%"}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:254,columnNumber:31},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:253,columnNumber:29},void 0),t.jsxDEV("span",{className:"text-sm font-medium text-emerald-900",children:h.riskLevel},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:261,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:252,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:250,columnNumber:25},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h4",{className:"font-semibold text-emerald-900 mb-2",children:"Expected Returns"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:265,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-emerald-700 font-medium",children:h.expectedReturns},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:266,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:264,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:249,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:248,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4 pt-6",children:[t.jsxDEV(L,{onClick:d,variant:"outline",className:"flex-1",children:"Retake Quiz"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:272,columnNumber:23},void 0),t.jsxDEV(L,{asChild:!0,className:"flex-1 bg-emerald-700 hover:bg-emerald-600",children:t.jsxDEV(I,{to:"/calculators",children:"Back to Calculators"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:276,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:275,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:271,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:221,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:208,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:207,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:206,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:205,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:190,columnNumber:9},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:286,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:187,columnNumber:7},void 0)}return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:293,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(Se,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:300,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:299,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold mb-4",children:"What Type of Investor Are You?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:302,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-emerald-50/90 text-lg",children:"Answer these 5 questions to discover your investment personality"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:303,columnNumber:15},void 0),t.jsxDEV("div",{className:"mt-6",children:t.jsxDEV("div",{className:"flex items-center justify-center space-x-4",children:[t.jsxDEV("span",{className:"text-sm text-emerald-50/80",children:["Question ",e+1," of ",o.length]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:308,columnNumber:19},void 0),t.jsxDEV("div",{className:"w-32 bg-white/20 rounded-full h-2",children:t.jsxDEV("div",{className:"bg-white h-2 rounded-full transition-all duration-300",style:{width:`${b}%`}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:310,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:309,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:307,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:306,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:298,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:297,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:296,columnNumber:9},void 0),t.jsxDEV("section",{className:"py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto",children:t.jsxDEV(F,{className:"border-2 border-emerald-200 shadow-lg",children:[t.jsxDEV(z,{className:"text-center pb-8",children:t.jsxDEV(K,{className:"text-2xl font-semibold text-emerald-900",children:o[e].question},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:326,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:325,columnNumber:17},void 0),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV(nb,{onValueChange:c,value:a[e],children:o[e].options.map(f=>t.jsxDEV("div",{className:"space-y-2",children:t.jsxDEV("div",{className:"flex items-center space-x-3 p-4 rounded-lg border border-emerald-100 hover:bg-emerald-50 transition-colors cursor-pointer",children:[t.jsxDEV(On,{value:f.value,id:f.value,className:"text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:336,columnNumber:27},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV(Y,{htmlFor:f.value,className:"text-base font-medium cursor-pointer",children:f.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:338,columnNumber:29},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground mt-1",children:f.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:341,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:337,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:335,columnNumber:25},void 0)},f.value,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:334,columnNumber:23},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:332,columnNumber:19},void 0),t.jsxDEV("div",{className:"flex justify-between pt-6",children:[t.jsxDEV(L,{variant:"outline",onClick:m,disabled:e===0,children:"Previous"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:349,columnNumber:21},void 0),t.jsxDEV(L,{variant:"ghost",asChild:!0,children:t.jsxDEV(I,{to:"/calculators",children:"Exit Quiz"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:357,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:356,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:348,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:331,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:324,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:323,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:322,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:321,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:295,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:367,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/InvestorType.tsx",lineNumber:292,columnNumber:5},void 0)},m0e=()=>{const[e,s]=v.useState({cash:"",savings:"",investments:"",retirement:"",realEstate:"",vehicles:"",otherAssets:""}),[a,n]=v.useState({mortgage:"",carLoans:"",creditCards:"",studentLoans:"",personalLoans:"",otherLiabilities:""}),[i,r]=v.useState(!1),o=()=>{const g=Object.values(e).reduce((D,N)=>D+(parseFloat(N)||0),0),p=Object.values(a).reduce((D,N)=>D+(parseFloat(N)||0),0),x=g-p;return{totalAssets:g,totalLiabilities:p,netWorth:x}},l=(g,p)=>{s(x=>({...x,[g]:p}))},u=(g,p)=>{n(x=>({...x,[g]:p}))},c=()=>{r(!0)},m=()=>{s({cash:"",savings:"",investments:"",retirement:"",realEstate:"",vehicles:"",otherAssets:""}),n({mortgage:"",carLoans:"",creditCards:"",studentLoans:"",personalLoans:"",otherLiabilities:""}),r(!1)},d=o(),b=d.netWorth>=0?"positive":"negative",f=[{key:"cash",label:"Cash & Checking",icon:Xs,placeholder:"0.00"},{key:"savings",label:"Savings Accounts",icon:Da,placeholder:"0.00"},{key:"investments",label:"Investment Accounts",icon:Ke,placeholder:"0.00"},{key:"retirement",label:"Retirement Accounts",icon:Ta,placeholder:"0.00"},{key:"realEstate",label:"Real Estate",icon:Rt,placeholder:"0.00"},{key:"vehicles",label:"Vehicles",icon:Po,placeholder:"0.00"},{key:"otherAssets",label:"Other Assets",icon:Se,placeholder:"0.00"}],h=[{key:"mortgage",label:"Mortgage",icon:Rt,placeholder:"0.00"},{key:"carLoans",label:"Car Loans",icon:Po,placeholder:"0.00"},{key:"creditCards",label:"Credit Card Debt",icon:Xs,placeholder:"0.00"},{key:"studentLoans",label:"Student Loans",icon:Ta,placeholder:"0.00"},{key:"personalLoans",label:"Personal Loans",icon:Se,placeholder:"0.00"},{key:"otherLiabilities",label:"Other Liabilities",icon:Se,placeholder:"0.00"}];return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:103,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(Se,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:110,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:109,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold mb-4",children:"Net Worth Calculator"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:112,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-emerald-50/90 text-lg",children:"Get a clear picture of your current financial position by calculating your net worth"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:113,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:108,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:107,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:106,columnNumber:9},void 0),t.jsxDEV("section",{className:"py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto",children:[t.jsxDEV(Fr,{defaultValue:"assets",className:"space-y-8",children:[t.jsxDEV(qi,{className:"grid w-full grid-cols-3",children:[t.jsxDEV(Ps,{value:"assets",children:"Assets"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:125,columnNumber:19},void 0),t.jsxDEV(Ps,{value:"liabilities",children:"Liabilities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:126,columnNumber:19},void 0),t.jsxDEV(Ps,{value:"results",disabled:!i,children:"Results"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:127,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:124,columnNumber:17},void 0),t.jsxDEV(As,{value:"assets",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:[t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Ke,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:134,columnNumber:25},void 0),"Your Assets"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:133,columnNumber:23},void 0),t.jsxDEV(st,{children:"Enter the current value of all your assets"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:137,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:132,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-6",children:[f.map(g=>{const p=g.icon;return t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:g.key,className:"flex items-center gap-2 text-base font-medium",children:[t.jsxDEV(p,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:147,columnNumber:31},void 0),g.label]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:146,columnNumber:29},void 0),t.jsxDEV(re,{id:g.key,type:"number",placeholder:g.placeholder,value:e[g.key],onChange:x=>l(g.key,x.target.value),className:"text-lg"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:150,columnNumber:29},void 0)]},g.key,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:145,columnNumber:27},void 0)}),t.jsxDEV("div",{className:"pt-4 border-t",children:t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-lg font-semibold",children:"Total Assets:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:163,columnNumber:27},void 0),t.jsxDEV("span",{className:"text-2xl font-bold text-emerald-600",children:["$",d.totalAssets.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:164,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:162,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:161,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:141,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:131,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:130,columnNumber:17},void 0),t.jsxDEV(As,{value:"liabilities",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:[t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Kn,{className:"h-5 w-5 text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:177,columnNumber:25},void 0),"Your Liabilities"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:176,columnNumber:23},void 0),t.jsxDEV(st,{children:"Enter the current balance of all your debts and liabilities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:180,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:175,columnNumber:21},void 0),t.jsxDEV(B,{className:"space-y-6",children:[h.map(g=>{const p=g.icon;return t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:g.key,className:"flex items-center gap-2 text-base font-medium",children:[t.jsxDEV(p,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:190,columnNumber:31},void 0),g.label]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:189,columnNumber:29},void 0),t.jsxDEV(re,{id:g.key,type:"number",placeholder:g.placeholder,value:a[g.key],onChange:x=>u(g.key,x.target.value),className:"text-lg"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:193,columnNumber:29},void 0)]},g.key,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:188,columnNumber:27},void 0)}),t.jsxDEV("div",{className:"pt-4 border-t",children:t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-lg font-semibold",children:"Total Liabilities:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:206,columnNumber:27},void 0),t.jsxDEV("span",{className:"text-2xl font-bold text-red-600",children:["$",d.totalLiabilities.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:207,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:205,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:204,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:184,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:174,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:173,columnNumber:17},void 0),t.jsxDEV(As,{value:"results",children:t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{className:"border-2 border-emerald-200",children:[t.jsxDEV(z,{className:"text-center",children:[t.jsxDEV(K,{className:"text-2xl",children:"Your Net Worth"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:220,columnNumber:25},void 0),t.jsxDEV(st,{children:"The difference between your total assets and total liabilities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:221,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:219,columnNumber:23},void 0),t.jsxDEV(B,{children:[t.jsxDEV("div",{className:"text-center mb-8",children:[t.jsxDEV("div",{className:`text-5xl font-bold mb-2 ${b==="positive"?"text-emerald-600":"text-red-600"}`,children:[b==="positive"?"+":"","$",d.netWorth.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:227,columnNumber:27},void 0),t.jsxDEV("div",{className:`inline-flex items-center gap-2 px-4 py-2 rounded-full text-sm font-medium ${b==="positive"?"bg-emerald-100 text-emerald-800":"bg-red-100 text-red-800"}`,children:b==="positive"?t.jsxDEV(t.Fragment,{children:[t.jsxDEV(Ke,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:239,columnNumber:33},void 0),"Positive Net Worth"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:238,columnNumber:31},void 0):t.jsxDEV(t.Fragment,{children:[t.jsxDEV(Kn,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:244,columnNumber:33},void 0),"Negative Net Worth"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:243,columnNumber:31},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:232,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:226,columnNumber:25},void 0),t.jsxDEV("div",{className:"grid md:grid-cols-2 gap-6",children:[t.jsxDEV("div",{className:"bg-emerald-50 p-6 rounded-lg",children:[t.jsxDEV("div",{className:"flex items-center gap-2 mb-2",children:[t.jsxDEV(Ke,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:254,columnNumber:31},void 0),t.jsxDEV("h3",{className:"font-semibold text-emerald-900",children:"Total Assets"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:255,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:253,columnNumber:29},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-emerald-600",children:["$",d.totalAssets.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:257,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:252,columnNumber:27},void 0),t.jsxDEV("div",{className:"bg-red-50 p-6 rounded-lg",children:[t.jsxDEV("div",{className:"flex items-center gap-2 mb-2",children:[t.jsxDEV(Kn,{className:"h-5 w-5 text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:263,columnNumber:31},void 0),t.jsxDEV("h3",{className:"font-semibold text-red-900",children:"Total Liabilities"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:264,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:262,columnNumber:29},void 0),t.jsxDEV("p",{className:"text-2xl font-bold text-red-600",children:["$",d.totalLiabilities.toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:266,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:261,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:251,columnNumber:25},void 0),t.jsxDEV("div",{className:"mt-8 p-6 bg-gray-50 rounded-lg",children:[t.jsxDEV("h3",{className:"font-semibold text-gray-900 mb-4",children:"What This Means"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:273,columnNumber:27},void 0),b==="positive"?t.jsxDEV("div",{className:"space-y-3 text-muted-foreground",children:[t.jsxDEV("p",{children:"• You have more assets than liabilities, which is a strong financial position"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:276,columnNumber:31},void 0),t.jsxDEV("p",{children:"• Focus on continuing to build your assets and reduce debt"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:277,columnNumber:31},void 0),t.jsxDEV("p",{children:"• Consider increasing investments and emergency savings"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:278,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:275,columnNumber:29},void 0):t.jsxDEV("div",{className:"space-y-3 text-muted-foreground",children:[t.jsxDEV("p",{children:"• You have more liabilities than assets, which requires attention"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:282,columnNumber:31},void 0),t.jsxDEV("p",{children:"• Focus on paying down high-interest debt first"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:283,columnNumber:31},void 0),t.jsxDEV("p",{children:"• Create a budget to increase savings and reduce expenses"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:284,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:281,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:272,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:225,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:218,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex gap-4",children:[t.jsxDEV(L,{onClick:m,variant:"outline",className:"flex-1",children:"Recalculate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:292,columnNumber:23},void 0),t.jsxDEV(L,{asChild:!0,className:"flex-1 bg-emerald-700 hover:bg-emerald-600",children:t.jsxDEV(I,{to:"/calculators",children:"Back to Calculators"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:296,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:295,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:291,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:217,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:216,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:123,columnNumber:15},void 0),!i&&t.jsxDEV("div",{className:"mt-8 flex justify-center",children:t.jsxDEV(L,{onClick:c,size:"lg",className:"bg-emerald-700 hover:bg-emerald-600 px-8",children:"Calculate Net Worth"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:305,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:304,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:122,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:121,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:120,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:105,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:319,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/NetWorth.tsx",lineNumber:102,columnNumber:5},void 0)},d0e=()=>{const[e,s]=v.useState(""),[a,n]=v.useState(""),[i,r]=v.useState(!1),o=()=>{const m=parseFloat(e)||0;return a==="nz"?m<=14e3?"10.5%":m<=48e3?"17.5%":m<=7e4?"30%":m<=18e4?"33%":"39%":"28%"},l=()=>{e&&a&&r(!0)},u=()=>{s(""),n(""),r(!1)},c=o();return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:46,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(Se,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:53,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:52,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold mb-4",children:"Calculate Your PIR"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:55,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-emerald-50/90 text-lg",children:"Calculate your Prescribed Investor Rate (PIR) - the rate at which you should pay tax on taxable investment income"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:56,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:51,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:50,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:49,columnNumber:9},void 0),t.jsxDEV("section",{className:"py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto",children:t.jsxDEV(F,{className:"border-2 border-emerald-200 shadow-lg",children:[t.jsxDEV(z,{className:"text-center pb-8",children:[t.jsxDEV(K,{className:"text-2xl font-semibold text-emerald-900",children:"PIR Calculator"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:68,columnNumber:19},void 0),t.jsxDEV(st,{className:"text-lg",children:"Answer these questions to determine your correct PIR rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:71,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:67,columnNumber:17},void 0),t.jsxDEV(B,{className:"space-y-8",children:i?t.jsxDEV("div",{className:"space-y-8",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-20 w-20 items-center justify-center rounded-full bg-emerald-100",children:t.jsxDEV(Ot,{className:"h-10 w-10 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:172,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:171,columnNumber:25},void 0),t.jsxDEV("h2",{className:"text-3xl font-bold text-emerald-900 mb-2",children:"Your PIR Rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:174,columnNumber:25},void 0),t.jsxDEV("div",{className:"text-6xl font-bold text-emerald-600 mb-4",children:c},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:175,columnNumber:25},void 0),t.jsxDEV("p",{className:"text-lg text-muted-foreground",children:"This is the rate you should use for your Portfolio Investment Entity (PIE) investments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:178,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:170,columnNumber:23},void 0),t.jsxDEV("div",{className:"bg-emerald-50 p-6 rounded-lg",children:[t.jsxDEV("h3",{className:"font-semibold text-emerald-900 mb-4",children:"What This Means"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:184,columnNumber:25},void 0),t.jsxDEV("div",{className:"space-y-3 text-muted-foreground",children:[t.jsxDEV("p",{children:"Your Prescribed Investor Rate (PIR) determines the tax rate applied to income you earn from Portfolio Investment Entities (PIEs) such as managed funds and KiwiSaver."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:186,columnNumber:27},void 0),t.jsxDEV("p",{children:"Using the correct PIR rate ensures you're not overpaying or underpaying tax on your investment income."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:189,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:185,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:183,columnNumber:23},void 0),t.jsxDEV("div",{className:"bg-blue-50 p-6 rounded-lg",children:[t.jsxDEV("h3",{className:"font-semibold text-blue-900 mb-4",children:"Next Steps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:196,columnNumber:25},void 0),t.jsxDEV("div",{className:"space-y-3 text-muted-foreground",children:[t.jsxDEV("p",{children:"• Contact your investment provider to update your PIR rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:198,columnNumber:27},void 0),t.jsxDEV("p",{children:"• You may need to complete a PIR declaration form"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:199,columnNumber:27},void 0),t.jsxDEV("p",{children:"• Review your PIR rate annually as your income may change"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:200,columnNumber:27},void 0),t.jsxDEV("p",{children:"• Keep records of your income for tax purposes"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:201,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:197,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:195,columnNumber:23},void 0),t.jsxDEV("div",{className:"grid md:grid-cols-2 gap-6",children:[t.jsxDEV("div",{className:"bg-gray-50 p-6 rounded-lg",children:[t.jsxDEV("h3",{className:"font-semibold text-gray-900 mb-2",children:"Your Details"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:207,columnNumber:27},void 0),t.jsxDEV("div",{className:"space-y-2 text-sm",children:[t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"Income Range:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:209,columnNumber:32},void 0)," ",e==="14000"?"$14,000 or less":e==="48000"?"$14,001 to $48,000":e==="70000"?"$48,001 to $70,000":e==="180000"?"$70,001 to $180,000":"Over $180,000"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:209,columnNumber:29},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"Tax Residency:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:216,columnNumber:32},void 0)," ",a==="nz"?"New Zealand tax resident":"Non-New Zealand tax resident"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:216,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:208,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:206,columnNumber:25},void 0),t.jsxDEV("div",{className:"bg-gray-50 p-6 rounded-lg",children:[t.jsxDEV("h3",{className:"font-semibold text-gray-900 mb-2",children:"Important Note"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:222,columnNumber:27},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"This calculator provides general guidance only. For specific tax advice, please consult with a tax professional or the IRD."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:223,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:221,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:205,columnNumber:23},void 0),t.jsxDEV("div",{className:"flex gap-4",children:[t.jsxDEV(L,{onClick:u,variant:"outline",className:"flex-1",children:"Recalculate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:230,columnNumber:25},void 0),t.jsxDEV(L,{asChild:!0,className:"flex-1 bg-emerald-700 hover:bg-emerald-600",children:t.jsxDEV(I,{to:"/calculators",children:"Back to Calculators"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:234,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:233,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:229,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:169,columnNumber:21},void 0):t.jsxDEV(t.Fragment,{children:[t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV(Y,{className:"text-base font-medium",children:"What is your taxable income for the year?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:80,columnNumber:25},void 0),t.jsxDEV("div",{className:"space-y-3",children:t.jsxDEV(nb,{value:e,onValueChange:s,children:[t.jsxDEV("div",{className:"flex items-center space-x-3 p-4 rounded-lg border border-emerald-100 hover:bg-emerald-50 transition-colors cursor-pointer",children:[t.jsxDEV(On,{value:"14000",id:"income1",className:"text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:84,columnNumber:31},void 0),t.jsxDEV("div",{className:"flex-1",children:t.jsxDEV(Y,{htmlFor:"income1",className:"text-base font-medium cursor-pointer",children:"$14,000 or less"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:86,columnNumber:33},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:85,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:83,columnNumber:29},void 0),t.jsxDEV("div",{className:"flex items-center space-x-3 p-4 rounded-lg border border-emerald-100 hover:bg-emerald-50 transition-colors cursor-pointer",children:[t.jsxDEV(On,{value:"48000",id:"income2",className:"text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:92,columnNumber:31},void 0),t.jsxDEV("div",{className:"flex-1",children:t.jsxDEV(Y,{htmlFor:"income2",className:"text-base font-medium cursor-pointer",children:"$14,001 to $48,000"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:94,columnNumber:33},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:93,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:91,columnNumber:29},void 0),t.jsxDEV("div",{className:"flex items-center space-x-3 p-4 rounded-lg border border-emerald-100 hover:bg-emerald-50 transition-colors cursor-pointer",children:[t.jsxDEV(On,{value:"70000",id:"income3",className:"text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:100,columnNumber:31},void 0),t.jsxDEV("div",{className:"flex-1",children:t.jsxDEV(Y,{htmlFor:"income3",className:"text-base font-medium cursor-pointer",children:"$48,001 to $70,000"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:102,columnNumber:33},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:101,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:99,columnNumber:29},void 0),t.jsxDEV("div",{className:"flex items-center space-x-3 p-4 rounded-lg border border-emerald-100 hover:bg-emerald-50 transition-colors cursor-pointer",children:[t.jsxDEV(On,{value:"180000",id:"income4",className:"text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:108,columnNumber:31},void 0),t.jsxDEV("div",{className:"flex-1",children:t.jsxDEV(Y,{htmlFor:"income4",className:"text-base font-medium cursor-pointer",children:"$70,001 to $180,000"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:110,columnNumber:33},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:109,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:107,columnNumber:29},void 0),t.jsxDEV("div",{className:"flex items-center space-x-3 p-4 rounded-lg border border-emerald-100 hover:bg-emerald-50 transition-colors cursor-pointer",children:[t.jsxDEV(On,{value:"180001",id:"income5",className:"text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:116,columnNumber:31},void 0),t.jsxDEV("div",{className:"flex-1",children:t.jsxDEV(Y,{htmlFor:"income5",className:"text-base font-medium cursor-pointer",children:"Over $180,000"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:118,columnNumber:33},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:117,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:115,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:82,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:81,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:79,columnNumber:23},void 0),t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV(Y,{className:"text-base font-medium",children:"What is your tax residency status?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:128,columnNumber:25},void 0),t.jsxDEV("div",{className:"space-y-3",children:t.jsxDEV(nb,{value:a,onValueChange:n,children:[t.jsxDEV("div",{className:"flex items-center space-x-3 p-4 rounded-lg border border-emerald-100 hover:bg-emerald-50 transition-colors cursor-pointer",children:[t.jsxDEV(On,{value:"nz",id:"residency1",className:"text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:132,columnNumber:31},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV(Y,{htmlFor:"residency1",className:"text-base font-medium cursor-pointer",children:"New Zealand tax resident"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:134,columnNumber:33},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground mt-1",children:"You live in New Zealand and are a tax resident"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:137,columnNumber:33},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:133,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:131,columnNumber:29},void 0),t.jsxDEV("div",{className:"flex items-center space-x-3 p-4 rounded-lg border border-emerald-100 hover:bg-emerald-50 transition-colors cursor-pointer",children:[t.jsxDEV(On,{value:"non-nz",id:"residency2",className:"text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:143,columnNumber:31},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV(Y,{htmlFor:"residency2",className:"text-base font-medium cursor-pointer",children:"Non-New Zealand tax resident"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:145,columnNumber:33},void 0),t.jsxDEV("p",{className:"text-sm text-muted-foreground mt-1",children:"You don't live in New Zealand and are not a tax resident"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:148,columnNumber:33},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:144,columnNumber:31},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:142,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:130,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:129,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:127,columnNumber:23},void 0),t.jsxDEV("div",{className:"flex justify-center pt-6",children:t.jsxDEV(L,{onClick:l,size:"lg",className:"bg-emerald-700 hover:bg-emerald-600 px-8",disabled:!e||!a,children:"Calculate My PIR"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:158,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:157,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:78,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:76,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:66,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:65,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:64,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:63,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:48,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:246,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/PIR.tsx",lineNumber:45,columnNumber:5},void 0)};var Cf="Checkbox",[b0e,p1e]=Mt(Cf),[f0e,oD]=b0e(Cf);function g0e(e){const{__scopeCheckbox:s,checked:a,children:n,defaultChecked:i,disabled:r,form:o,name:l,onCheckedChange:u,required:c,value:m="on",internal_do_not_use_render:d}=e,[b,f]=va({prop:a,defaultProp:i??!1,onChange:u,caller:Cf}),[h,g]=v.useState(null),[p,x]=v.useState(null),D=v.useRef(!1),N=h?!!o||!!h.closest("form"):!0,C={checked:b,disabled:r,setChecked:f,control:h,setControl:g,name:l,form:o,value:m,hasConsumerStoppedPropagationRef:D,required:c,defaultChecked:Ui(i)?!1:i,isFormControl:N,bubbleInput:p,setBubbleInput:x};return q.jsx(f0e,{scope:s,...C,children:p0e(d)?d(C):n})}var l5="CheckboxTrigger",u5=v.forwardRef(({__scopeCheckbox:e,onKeyDown:s,onClick:a,...n},i)=>{const{control:r,value:o,disabled:l,checked:u,required:c,setControl:m,setChecked:d,hasConsumerStoppedPropagationRef:b,isFormControl:f,bubbleInput:h}=oD(l5,e),g=ns(i,m),p=v.useRef(u);return v.useEffect(()=>{const x=r?.form;if(x){const D=()=>d(p.current);return x.addEventListener("reset",D),()=>x.removeEventListener("reset",D)}},[r,d]),q.jsx(Ve.button,{type:"button",role:"checkbox","aria-checked":Ui(u)?"mixed":u,"aria-required":c,"data-state":f5(u),"data-disabled":l?"":void 0,disabled:l,value:o,...n,ref:g,onKeyDown:je(s,x=>{x.key==="Enter"&&x.preventDefault()}),onClick:je(a,x=>{d(D=>Ui(D)?!0:!D),h&&f&&(b.current=x.isPropagationStopped(),b.current||x.stopPropagation())})})});u5.displayName=l5;var lD=v.forwardRef((e,s)=>{const{__scopeCheckbox:a,name:n,checked:i,defaultChecked:r,required:o,disabled:l,value:u,onCheckedChange:c,form:m,...d}=e;return q.jsx(g0e,{__scopeCheckbox:a,checked:i,defaultChecked:r,disabled:l,required:o,onCheckedChange:c,name:n,form:m,value:u,internal_do_not_use_render:({isFormControl:b})=>q.jsxs(q.Fragment,{children:[q.jsx(u5,{...d,ref:s,__scopeCheckbox:a}),b&&q.jsx(b5,{__scopeCheckbox:a})]})})});lD.displayName=Cf;var c5="CheckboxIndicator",m5=v.forwardRef((e,s)=>{const{__scopeCheckbox:a,forceMount:n,...i}=e,r=oD(c5,a);return q.jsx(nn,{present:n||Ui(r.checked)||r.checked===!0,children:q.jsx(Ve.span,{"data-state":f5(r.checked),"data-disabled":r.disabled?"":void 0,...i,ref:s,style:{pointerEvents:"none",...e.style}})})});m5.displayName=c5;var d5="CheckboxBubbleInput",b5=v.forwardRef(({__scopeCheckbox:e,...s},a)=>{const{control:n,hasConsumerStoppedPropagationRef:i,checked:r,defaultChecked:o,required:l,disabled:u,name:c,value:m,form:d,bubbleInput:b,setBubbleInput:f}=oD(d5,e),h=ns(a,f),g=aD(r),p=Mv(n);v.useEffect(()=>{const D=b;if(!D)return;const N=window.HTMLInputElement.prototype,y=Object.getOwnPropertyDescriptor(N,"checked").set,G=!i.current;if(g!==r&&y){const k=new Event("click",{bubbles:G});D.indeterminate=Ui(r),y.call(D,Ui(r)?!1:r),D.dispatchEvent(k)}},[b,g,r,i]);const x=v.useRef(Ui(r)?!1:r);return q.jsx(Ve.input,{type:"checkbox","aria-hidden":!0,defaultChecked:o??x.current,required:l,disabled:u,name:c,value:m,form:d,...s,tabIndex:-1,ref:h,style:{...s.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});b5.displayName=d5;function p0e(e){return typeof e=="function"}function Ui(e){return e==="indeterminate"}function f5(e){return Ui(e)?"indeterminate":e?"checked":"unchecked"}const Vt=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(lD,{ref:a,className:me("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...s,children:t.jsxDEV(m5,{className:me("flex items-center justify-center text-current"),children:t.jsxDEV(AE,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/checkbox.tsx",lineNumber:20,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/checkbox.tsx",lineNumber:19,columnNumber:5},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/checkbox.tsx",lineNumber:11,columnNumber:3},void 0));Vt.displayName=lD.displayName;const h0e=()=>{const[e,s]=v.useState({}),a=[{title:"Personal Information",icon:Za,description:"Basic information about yourself and your family",items:["Photo ID (passport, driver's license)","Proof of address (utility bill, bank statement)","IRD number","Contact information (phone, email)","Marital status and dependents information"]},{title:"Financial Information",icon:Xs,description:"Details about your income, expenses, and assets",items:["Recent payslips (last 3 months)","Annual income details","Bank statements (last 3-6 months)","List of monthly expenses","Details of other income sources"]},{title:"Assets & Liabilities",icon:Rt,description:"Information about what you own and what you owe",items:["Property details and valuations","Vehicle information and values","Investment statements","Superannuation/KiwiSaver details","List of all debts and loans","Credit card statements"]},{title:"Insurance & Protection",icon:zs,description:"Current insurance policies and protection",items:["Life insurance policy details","Health insurance information","Income protection policies","House and contents insurance","Vehicle insurance details"]},{title:"Goals & Objectives",icon:wt,description:"Your financial goals and what you want to achieve",items:["Short-term financial goals (1-2 years)","Medium-term goals (3-5 years)","Long-term goals (5+ years)","Retirement plans and timeline","Risk tolerance assessment","Investment preferences"]},{title:"Business & Employment",icon:Ta,description:"Information about your work and business interests",items:["Employment contract or details","Business financial statements (if self-employed)","Company structure information","Partnership agreements","Business insurance policies"]}],n=(c,m)=>{s(d=>({...d,[c]:m}))},i=()=>{const c=a.reduce((d,b)=>d+b.items.length,0),m=Object.values(e).filter(Boolean).length;return c>0?Math.round(m/c*100):0},r=()=>Object.values(e).filter(Boolean).length,o=()=>a.reduce((c,m)=>c+m.items.length,0),l=()=>{s({})},u=()=>{window.print()};return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:123,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(Ot,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:130,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:129,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold mb-4",children:"Investor Checklist"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:132,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-emerald-50/90 text-lg",children:"Prepare for your first meeting with a financial adviser by gathering this important information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:133,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:128,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:127,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:126,columnNumber:9},void 0),t.jsxDEV("section",{className:"py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto",children:[t.jsxDEV(F,{className:"mb-8 border-2 border-emerald-200",children:[t.jsxDEV(z,{children:[t.jsxDEV(K,{className:"text-center",children:"Your Progress"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:146,columnNumber:19},void 0),t.jsxDEV(st,{className:"text-center",children:"Track what you've prepared for your adviser meeting"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:147,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:145,columnNumber:17},void 0),t.jsxDEV(B,{children:[t.jsxDEV("div",{className:"text-center mb-4",children:[t.jsxDEV("div",{className:"text-3xl font-bold text-emerald-600 mb-2",children:[i(),"%"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:153,columnNumber:21},void 0),t.jsxDEV("p",{className:"text-muted-foreground",children:[r()," of ",o()," items prepared"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:156,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:152,columnNumber:19},void 0),t.jsxDEV("div",{className:"w-full bg-gray-200 rounded-full h-3",children:t.jsxDEV("div",{className:"bg-emerald-600 h-3 rounded-full transition-all duration-300",style:{width:`${i()}%`}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:161,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:160,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:151,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:144,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-8",children:a.map((c,m)=>{const d=c.icon,b=c.items.filter((f,h)=>e[`${m}-${h}`]).length;return t.jsxDEV(F,{className:"border border-emerald-100",children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100",children:t.jsxDEV(d,{className:"h-6 w-6 text-emerald-700"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:182,columnNumber:29},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:181,columnNumber:27},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV(K,{className:"text-xl text-emerald-900",children:c.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:185,columnNumber:29},void 0),t.jsxDEV(st,{children:c.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:186,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:184,columnNumber:27},void 0),t.jsxDEV("div",{className:"text-sm font-medium text-muted-foreground",children:[b,"/",c.items.length]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:188,columnNumber:27},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:180,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:179,columnNumber:23},void 0),t.jsxDEV(B,{className:"space-y-3",children:c.items.map((f,h)=>t.jsxDEV("div",{className:"flex items-start space-x-3 p-3 rounded-lg hover:bg-emerald-50 transition-colors",children:[t.jsxDEV(Vt,{id:`${m}-${h}`,checked:e[`${m}-${h}`]||!1,onCheckedChange:g=>n(`${m}-${h}`,g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:196,columnNumber:29},void 0),t.jsxDEV(Y,{htmlFor:`${m}-${h}`,className:"flex-1 text-sm leading-relaxed cursor-pointer",children:f},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:201,columnNumber:29},void 0)]},h,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:195,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:193,columnNumber:23},void 0)]},c.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:178,columnNumber:21},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:170,columnNumber:15},void 0),t.jsxDEV(F,{className:"mt-8 bg-blue-50 border-blue-200",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-blue-900",children:"Tips for Your Meeting"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:218,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:217,columnNumber:17},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"grid md:grid-cols-2 gap-6",children:[t.jsxDEV("div",{children:[t.jsxDEV("h4",{className:"font-semibold text-blue-900 mb-3",children:"Before the Meeting"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:223,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-2 text-sm text-blue-800",children:[t.jsxDEV("li",{children:"• Organize documents in folders by category"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:225,columnNumber:25},void 0),t.jsxDEV("li",{children:"• Make copies of important documents"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:226,columnNumber:25},void 0),t.jsxDEV("li",{children:"• Write down questions you want to ask"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:227,columnNumber:25},void 0),t.jsxDEV("li",{children:"• Be honest about your financial situation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:228,columnNumber:25},void 0),t.jsxDEV("li",{children:"• Think about your priorities and goals"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:229,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:224,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:222,columnNumber:21},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h4",{className:"font-semibold text-blue-900 mb-3",children:"During the Meeting"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:233,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-2 text-sm text-blue-800",children:[t.jsxDEV("li",{children:"• Take notes during the discussion"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:235,columnNumber:25},void 0),t.jsxDEV("li",{children:"• Ask for clarification on anything unclear"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:236,columnNumber:25},void 0),t.jsxDEV("li",{children:"• Be prepared to discuss your risk tolerance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:237,columnNumber:25},void 0),t.jsxDEV("li",{children:"• Share your concerns and expectations"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:238,columnNumber:25},void 0),t.jsxDEV("li",{children:"• Ask about next steps and timelines"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:239,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:234,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:232,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:221,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:220,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:216,columnNumber:15},void 0),t.jsxDEV("div",{className:"mt-8 flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsxDEV(L,{onClick:l,variant:"outline",className:"flex-1 sm:flex-initial",children:"Reset Checklist"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:248,columnNumber:17},void 0),t.jsxDEV(L,{onClick:u,variant:"outline",className:"flex-1 sm:flex-initial",children:"Print Checklist"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:251,columnNumber:17},void 0),t.jsxDEV(L,{asChild:!0,className:"flex-1 sm:flex-initial bg-emerald-700 hover:bg-emerald-600",children:t.jsxDEV(I,{to:"/contact",children:"Book Appointment"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:255,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:254,columnNumber:17},void 0),t.jsxDEV(L,{asChild:!0,variant:"ghost",className:"flex-1 sm:flex-initial",children:t.jsxDEV(I,{to:"/calculators",children:"Back to Calculators"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:258,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:257,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:247,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:142,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:141,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:140,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:125,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:266,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/investing/Checklist.tsx",lineNumber:122,columnNumber:5},void 0)},v0e=()=>{const[e,s]=v.useState("1000"),[a,n]=v.useState("USD"),[i,r]=v.useState("NZD"),[o,l]=v.useState(null),[u,c]=v.useState(null),m=v.useMemo(()=>({USD:{NZD:1.65,AUD:1.52,EUR:.92,GBP:.79,JPY:149.5,CAD:1.36,CHF:.88,CNY:7.24,USD:1},NZD:{USD:.61,AUD:.92,EUR:.56,GBP:.48,JPY:90.61,CAD:.82,CHF:.53,CNY:4.39,NZD:1},AUD:{USD:.66,NZD:1.09,EUR:.61,GBP:.52,JPY:98.36,CAD:.9,CHF:.58,CNY:4.77,AUD:1},EUR:{USD:1.09,NZD:1.8,AUD:1.65,GBP:.86,JPY:162.5,CAD:1.48,CHF:.96,CNY:7.88,EUR:1},GBP:{USD:1.27,NZD:2.09,AUD:1.92,EUR:1.16,JPY:189.05,CAD:1.72,CHF:1.11,CNY:9.16,GBP:1},JPY:{USD:.0067,NZD:.011,AUD:.01,EUR:.0062,GBP:.0053,CAD:.0091,CHF:.0059,CNY:.048,JPY:1},CAD:{USD:.74,NZD:1.21,AUD:1.11,EUR:.68,GBP:.58,JPY:109.93,CHF:.65,CNY:5.32,CAD:1},CHF:{USD:1.14,NZD:1.88,AUD:1.72,EUR:1.04,GBP:.9,JPY:169.89,CAD:1.54,CNY:8.22,CHF:1},CNY:{USD:.14,NZD:.23,AUD:.21,EUR:.13,GBP:.11,JPY:20.66,CAD:.19,CHF:.12,CNY:1}}),[]),d=[{code:"USD",name:"US Dollar",symbol:"$"},{code:"NZD",name:"New Zealand Dollar",symbol:"$"},{code:"AUD",name:"Australian Dollar",symbol:"$"},{code:"EUR",name:"Euro",symbol:"€"},{code:"GBP",name:"British Pound",symbol:"£"},{code:"JPY",name:"Japanese Yen",symbol:"¥"},{code:"CAD",name:"Canadian Dollar",symbol:"$"},{code:"CHF",name:"Swiss Franc",symbol:"Fr"},{code:"CNY",name:"Chinese Yuan",symbol:"¥"}],b=v.useCallback(()=>{const p=m[a]?.[i];if(p&&e){const x=parseFloat(e);isNaN(x)||(c(p),l(x*p))}},[a,i,e,m]),f=()=>{n(i),r(a),l(null),c(null)},h=()=>{s("1000"),n("USD"),r("NZD"),l(null),c(null)};v.useEffect(()=>{b()},[a,i,e,b]);const g=p=>d.find(D=>D.code===p)?.symbol||p;return t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:176,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"bg-gradient-to-br from-emerald-900 via-emerald-800 to-green-700 text-white py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsxDEV("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-white/20 backdrop-blur-sm",children:t.jsxDEV(Vn,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:183,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:182,columnNumber:15},void 0),t.jsxDEV("h1",{className:"text-4xl font-semibold mb-4",children:"Foreign Exchange Calculator"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:185,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-emerald-50/90 text-lg",children:"Convert over 20 different currencies with our quick and simple foreign currency conversion tool"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:186,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:181,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:180,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:179,columnNumber:9},void 0),t.jsxDEV("section",{className:"py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto",children:[t.jsxDEV(F,{className:"border-2 border-emerald-200 shadow-lg",children:[t.jsxDEV(z,{className:"text-center pb-8",children:[t.jsxDEV(K,{className:"text-2xl font-semibold text-emerald-900",children:"Currency Converter"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:198,columnNumber:19},void 0),t.jsxDEV(st,{className:"text-lg",children:"Convert between major world currencies"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:201,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:197,columnNumber:17},void 0),t.jsxDEV(B,{className:"space-y-8",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"amount",className:"text-base font-medium",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:209,columnNumber:21},void 0),t.jsxDEV(re,{id:"amount",type:"number",value:e,onChange:p=>s(p.target.value),className:"text-lg text-center text-2xl font-semibold h-12",placeholder:"Enter amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:212,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:208,columnNumber:19},void 0),t.jsxDEV("div",{className:"grid md:grid-cols-2 gap-6",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-base font-medium",children:"From"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:225,columnNumber:23},void 0),t.jsxDEV(ds,{value:a,onValueChange:n,children:[t.jsxDEV(os,{className:"text-lg h-12",children:t.jsxDEV(bs,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:228,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:227,columnNumber:25},void 0),t.jsxDEV(ls,{children:d.map(p=>t.jsxDEV(ye,{value:p.code,children:t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV("span",{className:"font-medium",children:p.code},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:234,columnNumber:33},void 0),t.jsxDEV("span",{className:"text-muted-foreground",children:["- ",p.name]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:235,columnNumber:33},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:233,columnNumber:31},void 0)},p.code,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:232,columnNumber:29},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:230,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:226,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:224,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex items-center justify-center",children:t.jsxDEV(L,{variant:"outline",size:"icon",onClick:f,className:"h-12 w-12 rounded-full",children:t.jsxDEV(AP,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:250,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:244,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:243,columnNumber:21},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-base font-medium",children:"To"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:255,columnNumber:23},void 0),t.jsxDEV(ds,{value:i,onValueChange:r,children:[t.jsxDEV(os,{className:"text-lg h-12",children:t.jsxDEV(bs,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:258,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:257,columnNumber:25},void 0),t.jsxDEV(ls,{children:d.map(p=>t.jsxDEV(ye,{value:p.code,children:t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV("span",{className:"font-medium",children:p.code},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:264,columnNumber:33},void 0),t.jsxDEV("span",{className:"text-muted-foreground",children:["- ",p.name]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:265,columnNumber:33},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:263,columnNumber:31},void 0)},p.code,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:262,columnNumber:29},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:260,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:256,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:254,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:223,columnNumber:19},void 0),o!==null&&u!==null&&t.jsxDEV("div",{className:"bg-emerald-50 p-8 rounded-lg border border-emerald-200",children:t.jsxDEV("div",{className:"text-center space-y-4",children:[t.jsxDEV("div",{className:"text-4xl font-bold text-emerald-900",children:[g(i),o.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:278,columnNumber:25},void 0),t.jsxDEV("div",{className:"text-lg text-muted-foreground",children:[g(a),parseFloat(e).toLocaleString()," ",a," = ",g(i),o.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})," ",i]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:284,columnNumber:25},void 0),t.jsxDEV("div",{className:"text-sm text-muted-foreground bg-white p-3 rounded-lg",children:["Exchange Rate: 1 ",a," = ",u.toFixed(4)," ",i]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:290,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:277,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:276,columnNumber:21},void 0),t.jsxDEV("div",{className:"flex gap-4 justify-center",children:[t.jsxDEV(L,{onClick:h,variant:"outline",children:"Reset"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:299,columnNumber:21},void 0),t.jsxDEV(L,{asChild:!0,className:"bg-emerald-700 hover:bg-emerald-600",children:t.jsxDEV(I,{to:"/calculators",children:"Back to Calculators"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:303,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:302,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:298,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:206,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:196,columnNumber:15},void 0),t.jsxDEV("div",{className:"mt-12 grid md:grid-cols-2 gap-8",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Ke,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:314,columnNumber:23},void 0),"Exchange Rate Information"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:313,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:312,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-3 text-sm text-muted-foreground",children:[t.jsxDEV("p",{children:"• Exchange rates are updated regularly during business hours"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:320,columnNumber:23},void 0),t.jsxDEV("p",{children:"• Rates shown are for indicative purposes only"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:321,columnNumber:23},void 0),t.jsxDEV("p",{children:"• Actual rates may vary based on transaction amount and type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:322,columnNumber:23},void 0),t.jsxDEV("p",{children:"• Contact us for current rates on large transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:323,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:319,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:318,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:311,columnNumber:17},void 0),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Se,{className:"h-5 w-5 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:331,columnNumber:23},void 0),"How to Use"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:330,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:329,columnNumber:19},void 0),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-3 text-sm text-muted-foreground",children:[t.jsxDEV("p",{children:"1. Enter the amount you want to convert"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:337,columnNumber:23},void 0),t.jsxDEV("p",{children:"2. Select the source currency (from)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:338,columnNumber:23},void 0),t.jsxDEV("p",{children:"3. Select the target currency (to)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:339,columnNumber:23},void 0),t.jsxDEV("p",{children:"4. View the converted amount instantly"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:340,columnNumber:23},void 0),t.jsxDEV("p",{children:"5. Use the swap button to quickly reverse currencies"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:341,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:336,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:335,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:328,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:310,columnNumber:15},void 0),t.jsxDEV("div",{className:"mt-8 p-6 bg-gray-50 rounded-lg",children:[t.jsxDEV("h3",{className:"font-semibold text-gray-900 mb-3",children:"Important Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:349,columnNumber:17},void 0),t.jsxDEV("div",{className:"space-y-2 text-sm text-muted-foreground",children:[t.jsxDEV("p",{children:"• The exchange rates provided are for informational purposes only and may not reflect the rates available for actual transactions."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:351,columnNumber:19},void 0),t.jsxDEV("p",{children:"• For actual foreign exchange transactions, please visit your nearest branch or contact our foreign exchange desk."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:352,columnNumber:19},void 0),t.jsxDEV("p",{children:"• Rates are subject to market fluctuations and may change throughout the day."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:353,columnNumber:19},void 0),t.jsxDEV("p",{children:"• Additional fees and charges may apply to foreign exchange transactions."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:354,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:350,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:348,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:195,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:194,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:193,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:178,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:362,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/calculators/ForeignExchange.tsx",lineNumber:175,columnNumber:5},void 0)},N0e=[{label:"Why choose us",href:"#reasons"},{label:"International services",href:"#services"},{label:"Global coverage",href:"#coverage"},{label:"Get started",href:"#get-started"},{label:"Next steps",href:"#next-steps"},{label:"FAQs",href:"#faqs"},{label:"Contact us",href:"/contact"}],x0e=[{title:"Global expertise",description:"Access to international banking specialists with deep knowledge of cross-border regulations and markets.",icon:Vn},{title:"24/7 support",description:"Round-the-clock assistance across all time zones with multilingual support for seamless global operations.",icon:xa},{title:"Competitive rates",description:"Transparent, competitive exchange rates and low fees for international transfers and currency conversions.",icon:Ke},{title:"Secure transfers",description:"Bank-grade security with real-time tracking and instant notifications for all international transactions.",icon:zs}],D0e=[{title:"International Money Transfers",description:"Send money worldwide with competitive rates and fast processing times.",features:["Same-day transfers to major countries","Real-time exchange rates","Low transfer fees","Recipient tracking"],icon:Sr},{title:"Multi-Currency Accounts",description:"Hold and manage multiple currencies in a single account.",features:["Up to 15 major currencies","Instant currency conversion","No monthly fees","Mobile banking access"],icon:as},{title:"Global Business Banking",description:"Comprehensive banking solutions for international business operations.",features:["International trade finance","Foreign exchange hedging","Global cash management","Cross-border payments"],icon:jt},{title:"Travel & Lifestyle Services",description:"Premium concierge services for frequent travelers and expatriates.",features:["Travel insurance","Airport lounge access","Global ATM network","Emergency assistance"],icon:ME},{title:"Wealth Management",description:"International investment and wealth management services.",features:["Global investment options","Tax optimization strategies","Estate planning","Private banking services"],icon:Ke},{title:"Corporate Services",description:"Specialized services for multinational corporations and institutions.",features:["Treasury management","Risk management solutions","Regulatory compliance","Custom reporting"],icon:Ta}],G0e=[{region:"Americas",countries:["United States","Canada","Mexico","Brazil","Argentina","Chile"],icon:iu},{region:"Europe",countries:["United Kingdom","Germany","France","Italy","Spain","Netherlands"],icon:iu},{region:"Asia Pacific",countries:["Japan","Singapore","Hong Kong","Australia","India","South Korea"],icon:iu},{region:"Middle East & Africa",countries:["UAE","Saudi Arabia","South Africa","Egypt","Nigeria","Kenya"],icon:iu}],y0e=()=>t.jsxDEV("div",{className:"min-h-screen flex flex-col bg-muted/40",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:169,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1",children:[t.jsxDEV("section",{className:"bg-gradient-to-br from-gatesib-green to-gatesib-dark-green text-white py-20",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto text-center",children:[t.jsxDEV("h1",{className:"text-4xl md:text-6xl font-bold mb-6",children:"Global Services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:175,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-xl md:text-2xl mb-8 text-green-100",children:"Seamless international transfers and premium concierge support worldwide"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:178,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-green-50",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:183,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:182,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white hover:text-gatesib-green",asChild:!0,children:t.jsxDEV(I,{to:"#services",children:"Explore services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:186,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:185,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:181,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:174,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:173,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:172,columnNumber:9},void 0),t.jsxDEV(Ts,{items:N0e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:194,columnNumber:9},void 0),t.jsxDEV("section",{id:"reasons",className:"py-16 bg-white",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Why choose our global services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:200,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"Experience world-class international banking with personalized support and cutting-edge technology"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:203,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:199,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:x0e.map((e,s)=>{const a=e.icon;return t.jsxDEV(F,{className:"text-center border-0 shadow-lg",children:t.jsxDEV(B,{className:"p-8",children:[t.jsxDEV("div",{className:"flex justify-center mb-4",children:t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-gatesib-green/10 text-gatesib-green",children:t.jsxDEV(a,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:215,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:214,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:213,columnNumber:23},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold mb-3",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:218,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-gray-600",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:219,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:212,columnNumber:21},void 0)},s,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:211,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:207,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:198,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:197,columnNumber:9},void 0),t.jsxDEV("section",{id:"services",className:"py-16 bg-muted/40",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"International services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:232,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"Comprehensive solutions for all your international banking needs"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:235,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:231,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:D0e.map((e,s)=>{const a=e.icon;return t.jsxDEV(F,{className:"h-full border-0 shadow-lg hover:shadow-xl transition-shadow",children:t.jsxDEV(B,{className:"p-8",children:[t.jsxDEV("div",{className:"flex items-center mb-4",children:[t.jsxDEV("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-gatesib-green/10 text-gatesib-green mr-4",children:t.jsxDEV(a,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:247,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:246,columnNumber:25},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:249,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:245,columnNumber:23},void 0),t.jsxDEV("p",{className:"text-gray-600 mb-6",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:251,columnNumber:23},void 0),t.jsxDEV("ul",{className:"space-y-2",children:e.features.map((n,i)=>t.jsxDEV("li",{className:"flex items-center text-sm text-gray-600",children:[t.jsxDEV("div",{className:"w-2 h-2 bg-gatesib-green rounded-full mr-3 flex-shrink-0"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:255,columnNumber:29},void 0),n]},i,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:254,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:252,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:244,columnNumber:21},void 0)},s,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:243,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:239,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:230,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:229,columnNumber:9},void 0),t.jsxDEV("section",{id:"coverage",className:"py-16 bg-white",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Global coverage"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:272,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"We serve clients across all major regions with local expertise and global reach"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:275,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:271,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:G0e.map((e,s)=>{const a=e.icon;return t.jsxDEV(F,{className:"text-center border-0 shadow-lg",children:t.jsxDEV(B,{className:"p-8",children:[t.jsxDEV("div",{className:"flex justify-center mb-4",children:t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-gatesib-green/10 text-gatesib-green",children:t.jsxDEV(a,{className:"h-8 w-8"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:287,columnNumber:27},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:286,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:285,columnNumber:23},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold mb-4",children:e.region},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:290,columnNumber:23},void 0),t.jsxDEV("div",{className:"space-y-2",children:e.countries.map((n,i)=>t.jsxDEV("div",{className:"text-sm text-gray-600",children:n},i,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:293,columnNumber:27},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:291,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:284,columnNumber:21},void 0)},s,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:283,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:279,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:270,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:269,columnNumber:9},void 0),t.jsxDEV("section",{id:"get-started",className:"py-16 bg-gradient-to-r from-gatesib-green to-gatesib-dark-green text-white",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto text-center",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:"Ready to go global?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:310,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-xl mb-8 text-green-100",children:"Start your international banking journey with Gates Capital Banking today"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:313,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsxDEV(L,{size:"lg",className:"bg-white text-gatesib-green hover:bg-green-50",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Contact us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:318,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:317,columnNumber:17},void 0),t.jsxDEV(L,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white hover:text-gatesib-green",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Schedule consultation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:321,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:320,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:316,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:309,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:308,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:307,columnNumber:9},void 0),t.jsxDEV("section",{id:"next-steps",className:"py-16 bg-muted/40",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Next steps"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:332,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"Here's how to get started with our global services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:335,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:331,columnNumber:13},void 0),t.jsxDEV("div",{className:"grid md:grid-cols-3 gap-8",children:[t.jsxDEV(F,{className:"text-center border-0 shadow-lg",children:t.jsxDEV(B,{className:"p-8",children:[t.jsxDEV("div",{className:"flex justify-center mb-4",children:t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-gatesib-green/10 text-gatesib-green",children:t.jsxDEV("span",{className:"text-2xl font-bold",children:"1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:344,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:343,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:342,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold mb-4",children:"Contact our team"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:347,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-gray-600 mb-6",children:"Speak with our international banking specialists to discuss your needs"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:348,columnNumber:19},void 0),t.jsxDEV(L,{asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get in touch"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:352,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:351,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:341,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:340,columnNumber:15},void 0),t.jsxDEV(F,{className:"text-center border-0 shadow-lg",children:t.jsxDEV(B,{className:"p-8",children:[t.jsxDEV("div",{className:"flex justify-center mb-4",children:t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-gatesib-green/10 text-gatesib-green",children:t.jsxDEV("span",{className:"text-2xl font-bold",children:"2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:360,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:359,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:358,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold mb-4",children:"Account setup"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:363,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-gray-600 mb-6",children:"We'll help you set up the right accounts and services for your needs"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:364,columnNumber:19},void 0),t.jsxDEV(L,{variant:"outline",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Learn more"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:368,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:367,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:357,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:356,columnNumber:15},void 0),t.jsxDEV(F,{className:"text-center border-0 shadow-lg",children:t.jsxDEV(B,{className:"p-8",children:[t.jsxDEV("div",{className:"flex justify-center mb-4",children:t.jsxDEV("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-gatesib-green/10 text-gatesib-green",children:t.jsxDEV("span",{className:"text-2xl font-bold",children:"3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:376,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:375,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:374,columnNumber:19},void 0),t.jsxDEV("h3",{className:"text-xl font-semibold mb-4",children:"Start banking globally"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:379,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-gray-600 mb-6",children:"Access your accounts and start making international transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:380,columnNumber:19},void 0),t.jsxDEV(L,{variant:"outline",asChild:!0,children:t.jsxDEV(I,{to:"/contact",children:"Get started"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:384,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:383,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:373,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:372,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:339,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:330,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:329,columnNumber:9},void 0),t.jsxDEV("section",{id:"faqs",className:"py-16 bg-white",children:t.jsxDEV("div",{className:"container mx-auto px-4",children:[t.jsxDEV("div",{className:"text-center mb-12",children:[t.jsxDEV("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Frequently asked questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:396,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"Common questions about our global services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:399,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:395,columnNumber:13},void 0),t.jsxDEV("div",{className:"max-w-4xl mx-auto space-y-6",children:[t.jsxDEV(F,{className:"border-0 shadow-lg",children:t.jsxDEV(B,{className:"p-8",children:[t.jsxDEV("h3",{className:"text-xl font-semibold mb-4",children:"What currencies do you support?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:406,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-gray-600",children:"We support all major currencies including USD, EUR, GBP, JPY, CAD, AUD, and more. You can hold up to 15 different currencies in a single multi-currency account."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:407,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:405,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:404,columnNumber:15},void 0),t.jsxDEV(F,{className:"border-0 shadow-lg",children:t.jsxDEV(B,{className:"p-8",children:[t.jsxDEV("h3",{className:"text-xl font-semibold mb-4",children:"How long do international transfers take?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:415,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-gray-600",children:"Most international transfers are processed within 1-2 business days. Same-day transfers are available to major countries for an additional fee."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:416,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:414,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:413,columnNumber:15},void 0),t.jsxDEV(F,{className:"border-0 shadow-lg",children:t.jsxDEV(B,{className:"p-8",children:[t.jsxDEV("h3",{className:"text-xl font-semibold mb-4",children:"What are your transfer fees?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:424,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-gray-600",children:"Our international transfer fees are competitive and transparent. Fees vary by destination and transfer amount, starting from $5 for standard transfers."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:425,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:423,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:422,columnNumber:15},void 0),t.jsxDEV(F,{className:"border-0 shadow-lg",children:t.jsxDEV(B,{className:"p-8",children:[t.jsxDEV("h3",{className:"text-xl font-semibold mb-4",children:"Do you offer 24/7 support?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:433,columnNumber:19},void 0),t.jsxDEV("p",{className:"text-gray-600",children:"Yes, our global services team provides 24/7 support across all time zones with multilingual assistance for seamless international banking."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:434,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:432,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:431,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:403,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:394,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:393,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:170,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:444,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/GlobalServices.tsx",lineNumber:168,columnNumber:5},void 0),Dv=[{name:"Afghanistan",code:"AF",phoneCode:"+93"},{name:"Albania",code:"AL",phoneCode:"+355"},{name:"Algeria",code:"DZ",phoneCode:"+213"},{name:"American Samoa",code:"AS",phoneCode:"+1-684"},{name:"Andorra",code:"AD",phoneCode:"+376"},{name:"Angola",code:"AO",phoneCode:"+244"},{name:"Anguilla",code:"AI",phoneCode:"+1-264"},{name:"Antarctica",code:"AQ",phoneCode:"+672"},{name:"Antigua and Barbuda",code:"AG",phoneCode:"+1-268"},{name:"Argentina",code:"AR",phoneCode:"+54"},{name:"Armenia",code:"AM",phoneCode:"+374"},{name:"Aruba",code:"AW",phoneCode:"+297"},{name:"Australia",code:"AU",phoneCode:"+61"},{name:"Austria",code:"AT",phoneCode:"+43"},{name:"Azerbaijan",code:"AZ",phoneCode:"+994"},{name:"Bahamas",code:"BS",phoneCode:"+1-242"},{name:"Bahrain",code:"BH",phoneCode:"+973"},{name:"Bangladesh",code:"BD",phoneCode:"+880"},{name:"Barbados",code:"BB",phoneCode:"+1-246"},{name:"Belarus",code:"BY",phoneCode:"+375"},{name:"Belgium",code:"BE",phoneCode:"+32"},{name:"Belize",code:"BZ",phoneCode:"+501"},{name:"Benin",code:"BJ",phoneCode:"+229"},{name:"Bermuda",code:"BM",phoneCode:"+1-441"},{name:"Bhutan",code:"BT",phoneCode:"+975"},{name:"Bolivia",code:"BO",phoneCode:"+591"},{name:"Bosnia and Herzegovina",code:"BA",phoneCode:"+387"},{name:"Botswana",code:"BW",phoneCode:"+267"},{name:"Brazil",code:"BR",phoneCode:"+55"},{name:"British Indian Ocean Territory",code:"IO",phoneCode:"+246"},{name:"British Virgin Islands",code:"VG",phoneCode:"+1-284"},{name:"Brunei",code:"BN",phoneCode:"+673"},{name:"Bulgaria",code:"BG",phoneCode:"+359"},{name:"Burkina Faso",code:"BF",phoneCode:"+226"},{name:"Burundi",code:"BI",phoneCode:"+257"},{name:"Cambodia",code:"KH",phoneCode:"+855"},{name:"Cameroon",code:"CM",phoneCode:"+237"},{name:"Canada",code:"CA",phoneCode:"+1"},{name:"Cape Verde",code:"CV",phoneCode:"+238"},{name:"Cayman Islands",code:"KY",phoneCode:"+1-345"},{name:"Central African Republic",code:"CF",phoneCode:"+236"},{name:"Chad",code:"TD",phoneCode:"+235"},{name:"Chile",code:"CL",phoneCode:"+56"},{name:"China",code:"CN",phoneCode:"+86"},{name:"Christmas Island",code:"CX",phoneCode:"+61"},{name:"Cocos Islands",code:"CC",phoneCode:"+61"},{name:"Colombia",code:"CO",phoneCode:"+57"},{name:"Comoros",code:"KM",phoneCode:"+269"},{name:"Cook Islands",code:"CK",phoneCode:"+682"},{name:"Costa Rica",code:"CR",phoneCode:"+506"},{name:"Croatia",code:"HR",phoneCode:"+385"},{name:"Cuba",code:"CU",phoneCode:"+53"},{name:"Curacao",code:"CW",phoneCode:"+599"},{name:"Cyprus",code:"CY",phoneCode:"+357"},{name:"Czech Republic",code:"CZ",phoneCode:"+420"},{name:"Democratic Republic of the Congo",code:"CD",phoneCode:"+243"},{name:"Denmark",code:"DK",phoneCode:"+45"},{name:"Djibouti",code:"DJ",phoneCode:"+253"},{name:"Dominica",code:"DM",phoneCode:"+1-767"},{name:"Dominican Republic",code:"DO",phoneCode:"+1-809"},{name:"East Timor",code:"TL",phoneCode:"+670"},{name:"Ecuador",code:"EC",phoneCode:"+593"},{name:"Egypt",code:"EG",phoneCode:"+20"},{name:"El Salvador",code:"SV",phoneCode:"+503"},{name:"Equatorial Guinea",code:"GQ",phoneCode:"+240"},{name:"Eritrea",code:"ER",phoneCode:"+291"},{name:"Estonia",code:"EE",phoneCode:"+372"},{name:"Ethiopia",code:"ET",phoneCode:"+251"},{name:"Falkland Islands",code:"FK",phoneCode:"+500"},{name:"Faroe Islands",code:"FO",phoneCode:"+298"},{name:"Fiji",code:"FJ",phoneCode:"+679"},{name:"Finland",code:"FI",phoneCode:"+358"},{name:"France",code:"FR",phoneCode:"+33"},{name:"French Polynesia",code:"PF",phoneCode:"+689"},{name:"Gabon",code:"GA",phoneCode:"+241"},{name:"Gambia",code:"GM",phoneCode:"+220"},{name:"Georgia",code:"GE",phoneCode:"+995"},{name:"Germany",code:"DE",phoneCode:"+49"},{name:"Ghana",code:"GH",phoneCode:"+233"},{name:"Gibraltar",code:"GI",phoneCode:"+350"},{name:"Greece",code:"GR",phoneCode:"+30"},{name:"Greenland",code:"GL",phoneCode:"+299"},{name:"Grenada",code:"GD",phoneCode:"+1-473"},{name:"Guam",code:"GU",phoneCode:"+1-671"},{name:"Guatemala",code:"GT",phoneCode:"+502"},{name:"Guernsey",code:"GG",phoneCode:"+44-1481"},{name:"Guinea",code:"GN",phoneCode:"+224"},{name:"Guinea-Bissau",code:"GW",phoneCode:"+245"},{name:"Guyana",code:"GY",phoneCode:"+592"},{name:"Haiti",code:"HT",phoneCode:"+509"},{name:"Honduras",code:"HN",phoneCode:"+504"},{name:"Hong Kong",code:"HK",phoneCode:"+852"},{name:"Hungary",code:"HU",phoneCode:"+36"},{name:"Iceland",code:"IS",phoneCode:"+354"},{name:"India",code:"IN",phoneCode:"+91"},{name:"Indonesia",code:"ID",phoneCode:"+62"},{name:"Iran",code:"IR",phoneCode:"+98"},{name:"Iraq",code:"IQ",phoneCode:"+964"},{name:"Ireland",code:"IE",phoneCode:"+353"},{name:"Isle of Man",code:"IM",phoneCode:"+44-1624"},{name:"Israel",code:"IL",phoneCode:"+972"},{name:"Italy",code:"IT",phoneCode:"+39"},{name:"Ivory Coast",code:"CI",phoneCode:"+225"},{name:"Jamaica",code:"JM",phoneCode:"+1-876"},{name:"Japan",code:"JP",phoneCode:"+81"},{name:"Jersey",code:"JE",phoneCode:"+44-1534"},{name:"Jordan",code:"JO",phoneCode:"+962"},{name:"Kazakhstan",code:"KZ",phoneCode:"+7"},{name:"Kenya",code:"KE",phoneCode:"+254"},{name:"Kiribati",code:"KI",phoneCode:"+686"},{name:"Kosovo",code:"XK",phoneCode:"+383"},{name:"Kuwait",code:"KW",phoneCode:"+965"},{name:"Kyrgyzstan",code:"KG",phoneCode:"+996"},{name:"Laos",code:"LA",phoneCode:"+856"},{name:"Latvia",code:"LV",phoneCode:"+371"},{name:"Lebanon",code:"LB",phoneCode:"+961"},{name:"Lesotho",code:"LS",phoneCode:"+266"},{name:"Liberia",code:"LR",phoneCode:"+231"},{name:"Libya",code:"LY",phoneCode:"+218"},{name:"Liechtenstein",code:"LI",phoneCode:"+423"},{name:"Lithuania",code:"LT",phoneCode:"+370"},{name:"Luxembourg",code:"LU",phoneCode:"+352"},{name:"Macau",code:"MO",phoneCode:"+853"},{name:"Macedonia",code:"MK",phoneCode:"+389"},{name:"Madagascar",code:"MG",phoneCode:"+261"},{name:"Malawi",code:"MW",phoneCode:"+265"},{name:"Malaysia",code:"MY",phoneCode:"+60"},{name:"Maldives",code:"MV",phoneCode:"+960"},{name:"Mali",code:"ML",phoneCode:"+223"},{name:"Malta",code:"MT",phoneCode:"+356"},{name:"Marshall Islands",code:"MH",phoneCode:"+692"},{name:"Mauritania",code:"MR",phoneCode:"+222"},{name:"Mauritius",code:"MU",phoneCode:"+230"},{name:"Mayotte",code:"YT",phoneCode:"+262"},{name:"Mexico",code:"MX",phoneCode:"+52"},{name:"Micronesia",code:"FM",phoneCode:"+691"},{name:"Moldova",code:"MD",phoneCode:"+373"},{name:"Monaco",code:"MC",phoneCode:"+377"},{name:"Mongolia",code:"MN",phoneCode:"+976"},{name:"Montenegro",code:"ME",phoneCode:"+382"},{name:"Montserrat",code:"MS",phoneCode:"+1-664"},{name:"Morocco",code:"MA",phoneCode:"+212"},{name:"Mozambique",code:"MZ",phoneCode:"+258"},{name:"Myanmar",code:"MM",phoneCode:"+95"},{name:"Namibia",code:"NA",phoneCode:"+264"},{name:"Nauru",code:"NR",phoneCode:"+674"},{name:"Nepal",code:"NP",phoneCode:"+977"},{name:"Netherlands",code:"NL",phoneCode:"+31"},{name:"Netherlands Antilles",code:"AN",phoneCode:"+599"},{name:"New Caledonia",code:"NC",phoneCode:"+687"},{name:"New Zealand",code:"NZ",phoneCode:"+64"},{name:"Nicaragua",code:"NI",phoneCode:"+505"},{name:"Niger",code:"NE",phoneCode:"+227"},{name:"Nigeria",code:"NG",phoneCode:"+234"},{name:"Niue",code:"NU",phoneCode:"+683"},{name:"North Korea",code:"KP",phoneCode:"+850"},{name:"Northern Mariana Islands",code:"MP",phoneCode:"+1-670"},{name:"Norway",code:"NO",phoneCode:"+47"},{name:"Oman",code:"OM",phoneCode:"+968"},{name:"Pakistan",code:"PK",phoneCode:"+92"},{name:"Palau",code:"PW",phoneCode:"+680"},{name:"Palestine",code:"PS",phoneCode:"+970"},{name:"Panama",code:"PA",phoneCode:"+507"},{name:"Papua New Guinea",code:"PG",phoneCode:"+675"},{name:"Paraguay",code:"PY",phoneCode:"+595"},{name:"Peru",code:"PE",phoneCode:"+51"},{name:"Philippines",code:"PH",phoneCode:"+63"},{name:"Pitcairn",code:"PN",phoneCode:"+64"},{name:"Poland",code:"PL",phoneCode:"+48"},{name:"Portugal",code:"PT",phoneCode:"+351"},{name:"Puerto Rico",code:"PR",phoneCode:"+1-787"},{name:"Qatar",code:"QA",phoneCode:"+974"},{name:"Republic of the Congo",code:"CG",phoneCode:"+242"},{name:"Reunion",code:"RE",phoneCode:"+262"},{name:"Romania",code:"RO",phoneCode:"+40"},{name:"Russia",code:"RU",phoneCode:"+7"},{name:"Rwanda",code:"RW",phoneCode:"+250"},{name:"Saint Barthelemy",code:"BL",phoneCode:"+590"},{name:"Saint Helena",code:"SH",phoneCode:"+290"},{name:"Saint Kitts and Nevis",code:"KN",phoneCode:"+1-869"},{name:"Saint Lucia",code:"LC",phoneCode:"+1-758"},{name:"Saint Martin",code:"MF",phoneCode:"+590"},{name:"Saint Pierre and Miquelon",code:"PM",phoneCode:"+508"},{name:"Saint Vincent and the Grenadines",code:"VC",phoneCode:"+1-784"},{name:"Samoa",code:"WS",phoneCode:"+685"},{name:"San Marino",code:"SM",phoneCode:"+378"},{name:"Sao Tome and Principe",code:"ST",phoneCode:"+239"},{name:"Saudi Arabia",code:"SA",phoneCode:"+966"},{name:"Senegal",code:"SN",phoneCode:"+221"},{name:"Serbia",code:"RS",phoneCode:"+381"},{name:"Seychelles",code:"SC",phoneCode:"+248"},{name:"Sierra Leone",code:"SL",phoneCode:"+232"},{name:"Singapore",code:"SG",phoneCode:"+65"},{name:"Sint Maarten",code:"SX",phoneCode:"+1-721"},{name:"Slovakia",code:"SK",phoneCode:"+421"},{name:"Slovenia",code:"SI",phoneCode:"+386"},{name:"Solomon Islands",code:"SB",phoneCode:"+677"},{name:"Somalia",code:"SO",phoneCode:"+252"},{name:"South Africa",code:"ZA",phoneCode:"+27"},{name:"South Korea",code:"KR",phoneCode:"+82"},{name:"South Sudan",code:"SS",phoneCode:"+211"},{name:"Spain",code:"ES",phoneCode:"+34"},{name:"Sri Lanka",code:"LK",phoneCode:"+94"},{name:"Sudan",code:"SD",phoneCode:"+249"},{name:"Suriname",code:"SR",phoneCode:"+597"},{name:"Svalbard and Jan Mayen",code:"SJ",phoneCode:"+47"},{name:"Swaziland",code:"SZ",phoneCode:"+268"},{name:"Sweden",code:"SE",phoneCode:"+46"},{name:"Switzerland",code:"CH",phoneCode:"+41"},{name:"Syria",code:"SY",phoneCode:"+963"},{name:"Taiwan",code:"TW",phoneCode:"+886"},{name:"Tajikistan",code:"TJ",phoneCode:"+992"},{name:"Tanzania",code:"TZ",phoneCode:"+255"},{name:"Thailand",code:"TH",phoneCode:"+66"},{name:"Togo",code:"TG",phoneCode:"+228"},{name:"Tokelau",code:"TK",phoneCode:"+690"},{name:"Tonga",code:"TO",phoneCode:"+676"},{name:"Trinidad and Tobago",code:"TT",phoneCode:"+1-868"},{name:"Tunisia",code:"TN",phoneCode:"+216"},{name:"Turkey",code:"TR",phoneCode:"+90"},{name:"Turkmenistan",code:"TM",phoneCode:"+993"},{name:"Turks and Caicos Islands",code:"TC",phoneCode:"+1-649"},{name:"Tuvalu",code:"TV",phoneCode:"+688"},{name:"U.S. Virgin Islands",code:"VI",phoneCode:"+1-340"},{name:"Uganda",code:"UG",phoneCode:"+256"},{name:"Ukraine",code:"UA",phoneCode:"+380"},{name:"United Arab Emirates",code:"AE",phoneCode:"+971"},{name:"United Kingdom",code:"GB",phoneCode:"+44"},{name:"United States",code:"US",phoneCode:"+1"},{name:"Uruguay",code:"UY",phoneCode:"+598"},{name:"Uzbekistan",code:"UZ",phoneCode:"+998"},{name:"Vanuatu",code:"VU",phoneCode:"+678"},{name:"Vatican",code:"VA",phoneCode:"+379"},{name:"Venezuela",code:"VE",phoneCode:"+58"},{name:"Vietnam",code:"VN",phoneCode:"+84"},{name:"Wallis and Futuna",code:"WF",phoneCode:"+681"},{name:"Western Sahara",code:"EH",phoneCode:"+212"},{name:"Yemen",code:"YE",phoneCode:"+967"},{name:"Zambia",code:"ZM",phoneCode:"+260"},{name:"Zimbabwe",code:"ZW",phoneCode:"+263"}],C0e=()=>{const{signUp:e}=at(),s=Js(),[a,n]=v.useState(1),[i,r]=v.useState(!1),[o,l]=v.useState(""),[u,c]=v.useState([]),[m,d]=v.useState({accountType:"",title:"",forename:"",middleName:"",surname:"",dateOfBirth:{day:"",month:"",year:""},phone:{countryCode:"",number:""},email:"",address:{line1:"",line2:""},zipPostcode:"",country:"",username:"",password:"",confirmPassword:"",securityQuestions:{actor:"",book:"",town:""},termsAccepted:!1}),b=(j,w)=>{d(A=>({...A,[j]:w}))},f=(j,w,A)=>{d(P=>{const V=P[j];return{...P,[j]:{...V&&typeof V=="object"?V:{},[w]:A}}})},h=(j,w,A)=>{const P=parseInt(j),V=parseInt(w),_=parseInt(A);if(P<1||P>31||V<1||V>12||_<1900)return!1;const O=new Date(_,V-1,P);return new Date().getFullYear()-_>=18&&O.getDate()===P},g=j=>{j.preventDefault(),c(w=>[...w,1]),n(2)},p=j=>{if(j.preventDefault(),!m.termsAccepted){l("You must accept the terms and conditions to continue");return}c(w=>[...w,2]),n(3)},x=j=>{if(j.preventDefault(),!h(m.dateOfBirth.day,m.dateOfBirth.month,m.dateOfBirth.year)){l("Date of birth is not correct. You must be 18 or older.");return}c(w=>[...w,3]),n(4)},D=j=>{if(j.preventDefault(),m.password!==m.confirmPassword){l("Passwords do not match");return}if(m.password.length<8){l("Password must be at least 8 characters long");return}c(w=>[...w,4]),n(5)},N=async j=>{j.preventDefault(),r(!0),l("");try{const w={accountType:m.accountType,title:m.title,forename:m.forename,middleName:m.middleName,surname:m.surname,dateOfBirth:`${m.dateOfBirth.year}-${m.dateOfBirth.month.padStart(2,"0")}-${m.dateOfBirth.day.padStart(2,"0")}`,phone:`${m.phone.countryCode}${m.phone.number}`,address:m.address,zipPostcode:m.zipPostcode,country:m.country,securityQuestions:m.securityQuestions,username:m.username},{data:A,error:P}=await e(m.email,m.password,w);P?l(P.message):s("/login",{state:{message:"Registration successful! Please check your email for activation instructions."}})}catch{l("Registration failed. Please try again.")}finally{r(!1)}},C=j=>{(u.includes(j)||j===a)&&n(j)},y=[{number:1,label:"Intro",description:"Getting Started"},{number:2,label:"Terms",description:"Terms & Conditions"},{number:3,label:"Personal",description:"Personal Details"},{number:4,label:"Account",description:"Account Setup"},{number:5,label:"Security",description:"Security Questions"}],G=()=>t.jsxDEV("div",{className:"mb-8",children:[t.jsxDEV("div",{className:"flex justify-between text-sm text-gray-600 mb-4",children:[t.jsxDEV("span",{className:"font-medium",children:["Step ",a," of 5"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:211,columnNumber:9},void 0),t.jsxDEV("span",{className:"font-medium",children:[Math.round(a/5*100),"% Complete"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:212,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:210,columnNumber:7},void 0),t.jsxDEV("div",{className:"w-full bg-gray-200 rounded-full h-3 mb-6",children:t.jsxDEV("div",{className:"bg-blue-600 h-3 rounded-full transition-all duration-500 ease-out",style:{width:`${a/5*100}%`}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:217,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:216,columnNumber:7},void 0),t.jsxDEV("div",{className:"flex justify-between",children:y.map(j=>t.jsxDEV("button",{onClick:()=>C(j.number),className:`flex flex-col items-center p-3 rounded-lg transition-all duration-200 ${j.number===a?"bg-blue-100 text-blue-700 border-2 border-blue-300":u.includes(j.number)?"bg-green-100 text-green-700 border-2 border-green-300 hover:bg-green-200":"bg-gray-100 text-gray-500 border-2 border-gray-200"}`,disabled:!u.includes(j.number)&&j.number!==a,children:[t.jsxDEV("div",{className:`w-8 h-8 rounded-full flex items-center justify-center text-sm font-bold mb-2 ${j.number===a?"bg-blue-600 text-white":u.includes(j.number)?"bg-green-600 text-white":"bg-gray-400 text-white"}`,children:u.includes(j.number)?"✓":j.number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:238,columnNumber:13},void 0),t.jsxDEV("span",{className:"text-xs font-medium",children:j.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:246,columnNumber:13},void 0),t.jsxDEV("span",{className:"text-xs text-gray-500",children:j.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:247,columnNumber:13},void 0)]},j.number,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:227,columnNumber:11},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:225,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:209,columnNumber:5},void 0),k=()=>t.jsxDEV("form",{onSubmit:g,className:"space-y-6",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Internet Banking Registration"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:257,columnNumber:9},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600 mb-6",children:"Step 1 of 5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:258,columnNumber:9},void 0),t.jsxDEV("h3",{className:"text-lg font-medium text-gray-800 mb-4",children:"Registering for online servicing"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:259,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:256,columnNumber:7},void 0),t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("h4",{className:"font-medium text-gray-900",children:"How to register"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:264,columnNumber:9},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600",children:"Registering for online servicing is easy and only takes a few minutes. You will need:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:265,columnNumber:9},void 0),t.jsxDEV("ul",{className:"list-disc list-inside text-sm text-gray-600 space-y-1",children:[t.jsxDEV("li",{children:"Your name and address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:269,columnNumber:11},void 0),t.jsxDEV("li",{children:"The sort code or account number of an existing account you have with us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:270,columnNumber:11},void 0),t.jsxDEV("li",{className:"text-center",children:"-or-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:271,columnNumber:11},void 0),t.jsxDEV("li",{children:"Your existing Gates Capital Banking Credit Card number (For Credit Card account)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:272,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:268,columnNumber:9},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600",children:"During the registration process, you will be asked to choose a unique username for logging into your account."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:275,columnNumber:9},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600",children:"Once you have completed the registration process, you will need to activate your account. You will receive an activation message within the next 24 hours. Upon receipt, you will be able to complete the easy-to-follow activation process by following the instructions in the message."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:279,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:263,columnNumber:7},void 0),t.jsxDEV(L,{type:"submit",className:"w-full bg-black hover:bg-gray-800 text-white",children:["Continue",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:286,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:284,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:255,columnNumber:5},void 0),E=()=>t.jsxDEV("form",{onSubmit:p,className:"space-y-6",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Internet Banking Registration"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:294,columnNumber:9},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600 mb-6",children:"Step 2 of 5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:295,columnNumber:9},void 0),t.jsxDEV("h3",{className:"text-lg font-medium text-gray-800 mb-4",children:"Terms and conditions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:296,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:293,columnNumber:7},void 0),t.jsxDEV("div",{className:"max-h-[600px] overflow-y-auto border border-gray-200 rounded-md p-4",children:[t.jsxDEV("h4",{className:"font-bold text-lg mb-4",children:"GATES CAPITAL BANKING ONLINE TERMS AND CONDITIONS"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:300,columnNumber:9},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600 mb-4",children:'Before you can start using our online service, you must agree to be bound by the conditions below. You must read the conditions before you decide whether to accept them. If you agree to be bound by these conditions, please click the "I accept" button below. If you click on the "Decline" button, you will not be able to continue your registration for our online services. We strongly recommend that you print a copy of these conditions for your reference.'},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:302,columnNumber:9},void 0),t.jsxDEV("div",{className:"space-y-4 text-sm text-gray-600",children:[t.jsxDEV("div",{children:[t.jsxDEV("h5",{className:"font-bold",children:"1. DEFINITIONS."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:308,columnNumber:13},void 0),t.jsxDEV("p",{children:"In these conditions the following words have the following meanings."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:309,columnNumber:13},void 0),t.jsxDEV("ul",{className:"list-disc list-inside ml-4 space-y-1",children:[t.jsxDEV("li",{children:[t.jsxDEV("strong",{children:"ACCOUNT"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:311,columnNumber:19},void 0)," - any account which you hold and access via our online service."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:311,columnNumber:15},void 0),t.jsxDEV("li",{children:[t.jsxDEV("strong",{children:"ADDITIONAL SECURITY DETAILS"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:312,columnNumber:19},void 0)," - the additional information you give us to help us identify you including the additional security question you provide yourself."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:312,columnNumber:15},void 0),t.jsxDEV("li",{children:[t.jsxDEV("strong",{children:"IDENTITY DETAILS"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:313,columnNumber:19},void 0)," - the access code we may provide you with."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:313,columnNumber:15},void 0),t.jsxDEV("li",{children:[t.jsxDEV("strong",{children:"PASSWORD and USERNAME"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:314,columnNumber:19},void 0)," - the password and name you choose to identify yourself when you use our online service."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:314,columnNumber:15},void 0),t.jsxDEV("li",{children:[t.jsxDEV("strong",{children:"WE, US and OUR"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:315,columnNumber:19},void 0)," - mean Gates Capital Banking."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:315,columnNumber:15},void 0),t.jsxDEV("li",{children:[t.jsxDEV("strong",{children:"YOU, YOUR and YOURSELF"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:316,columnNumber:19},void 0)," - refer to the person who has entered into this agreement with us."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:316,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:310,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:307,columnNumber:11},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h5",{className:"font-bold",children:"2. USING THE ONLINE SERVICE."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:321,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"a."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:323,columnNumber:18},void 0)," These conditions apply to your use of our online service and in relation to any accounts. They explain the relationship between you and us in relation to our online service. You should read these conditions carefully to understand how these services work and your and our rights and duties under them. If there is a conflict between these conditions and your account conditions, these conditions will apply. This means that, when you use our online service both sets of conditions will apply unless they contradict each other in which case, the relevant condition in these conditions apply."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:323,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"b."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:325,columnNumber:18},void 0)," If any of your accounts is a joint account, these conditions apply to all of you together and any of you separately. If more than one of you uses our online service you must each choose your own username, password and additional security details."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:325,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"c."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:327,columnNumber:18},void 0)," By registering to use our online service, you accept these conditions and agree that we may communicate with you by e-mail or through our website."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:327,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"d."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:329,columnNumber:18},void 0)," When you use our online service you must follow the instructions we give you from time to time. You are responsible for ensuring that your computer, software and other equipment are capable of being used with our online service."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:329,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"e."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:331,columnNumber:18},void 0)," Our online sites are secure. Disconnection from the Internet or leaving these sites will not automatically log you off. You must always use the log off facility when you are finished and never leave your machine unattended while you are logged in. As a security measure, if you have not used the sites for more than a specified period of time we will ask you to log in again."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:331,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:322,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:320,columnNumber:11},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h5",{className:"font-bold",children:"3. WHAT RULES APPLY TO SECURITY?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:336,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"a."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:338,columnNumber:18},void 0)," As part of the registration for our online service you must provide us with identity details before we will allow you to use the services for the first time. You must enter your identity details immediately after signing in, so we can identify you."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:338,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"b."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:340,columnNumber:18},void 0)," Every time you use our online service you must give us your username, your password and the answer to an additional security question."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:340,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"c."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:342,columnNumber:18},void 0)," You can change your username or password online by following the instructions on the screen."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:342,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"d."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:344,columnNumber:18},void 0)," For administration or security reasons, we can require you to choose a new username or change your password before you use (or carry on using) our online service."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:344,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"e."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:346,columnNumber:18},void 0)," You must not write down, store (whether encrypted or otherwise) on your computer or let anyone else know your password, identity details or additional security details, and the fact that they are for use with your accounts."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:346,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"f."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:348,columnNumber:18},void 0)," If you think that someone else knows your password or any of your additional security details or has used any of them to use our online service, you must do the following:"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:348,columnNumber:15},void 0),t.jsxDEV("ul",{className:"list-disc list-inside ml-6 space-y-1",children:[t.jsxDEV("li",{children:"For your password, change it online as soon as possible. If you have difficulty changing your password, you must phone us on +48 732 123 213 immediately. You can give us your username if you phone to change your password."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:350,columnNumber:17},void 0),t.jsxDEV("li",{children:"For your additional security details, you will need to phone us immediately to change your additional security details."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:351,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:349,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"g."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:354,columnNumber:18},void 0)," We may give the police or any prosecuting authority any information they need if we think it will help them find out if someone else is using your username, password or any of your additional security details."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:354,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"h."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:356,columnNumber:18},void 0)," We may also keep any e-mails sent to or from us. We do this to check what was written and also to help train our staff."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:356,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"i."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:358,columnNumber:18},void 0)," If we think that:"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:358,columnNumber:15},void 0),t.jsxDEV("ul",{className:"list-disc list-inside ml-6 space-y-1",children:[t.jsxDEV("li",{children:"someone else is trying to use our service for your accounts;"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:360,columnNumber:17},void 0),t.jsxDEV("li",{children:"the wrong username, password or any of your additional security details have been used for your account;"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:361,columnNumber:17},void 0),t.jsxDEV("li",{children:"you or someone else is using our online service illegally;"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:362,columnNumber:17},void 0),t.jsxDEV("li",{children:"you are not keeping to these conditions or the conditions of any of your accounts; or"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:363,columnNumber:17},void 0),t.jsxDEV("li",{children:"your username, password or any of your additional security details might be known or used by someone else,"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:364,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:359,columnNumber:15},void 0),t.jsxDEV("p",{className:"ml-6",children:"we can stop you (or someone else) using our online service. We will tell you as soon as possible if we do this."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:366,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"j."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:368,columnNumber:18},void 0)," We may require you to provide one or more of the additional security details and/or enter your password again before we accept instructions about your account."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:368,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"k."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:370,columnNumber:18},void 0)," You must not tell anyone your password or additional security details. You can give the Helpdesk your username if you need help to change your password or need to report that someone else knows your password, username or additional security details."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:370,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"l."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:372,columnNumber:18},void 0)," For your protection, we occasionally check requests to move or transfer money. Therefore, some transactions may be subject to a delay of up to 24 hours whilst these checks are carried out."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:372,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:337,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:335,columnNumber:11},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h5",{className:"font-bold",children:"4. WHAT IS THE EXTENT OF YOUR LIABILITY?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:377,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"a."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:380,columnNumber:18},void 0)," Unless you are a victim of fraud you are responsible for all instructions and other information sent using your username, password or additional security details."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:380,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"b."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:382,columnNumber:18},void 0)," You will not be held responsible for any instructions or information sent after you have told us that someone knows your password or additional security details and has used any of them to access our online service."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:382,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"c."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:384,columnNumber:18},void 0)," We do not accept responsibility for any loss you or anybody else may suffer because any instructions or information you sent us are sent in error, fail to reach us or are distorted unless you have been the victim of fraud."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:384,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"e."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:386,columnNumber:18},void 0)," We do not accept responsibility for any loss you or anybody else may suffer because any instructions or information we send you fail to reach you or are distorted unless you have been the victim of fraud."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:386,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:378,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:376,columnNumber:11},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h5",{className:"font-bold",children:"5. HOW WE CAN CHANGE THESE CONDITIONS"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:391,columnNumber:13},void 0),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"a."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:393,columnNumber:18},void 0)," We may change these conditions for any reason by giving you written notice or publishing the change on our website."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:393,columnNumber:15},void 0),t.jsxDEV("p",{children:[t.jsxDEV("strong",{children:"b."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:395,columnNumber:18},void 0)," We may send all written notices to you at the last e-mail address you gave us. You must let us know immediately if you change your e-mail address (you can do so online), to make sure that we have your current e-mail address at all times."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:395,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:392,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:390,columnNumber:11},void 0),t.jsxDEV("div",{children:[t.jsxDEV("h5",{className:"font-bold",children:"6. GENERAL"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:400,columnNumber:13},void 0),t.jsxDEV("p",{children:"Our online service is available to you if you are 18 years of age or over."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:401,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:399,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:306,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:299,columnNumber:7},void 0),t.jsxDEV("div",{className:"flex items-center space-x-2",children:[t.jsxDEV(Vt,{id:"terms",checked:m.termsAccepted,onCheckedChange:j=>b("termsAccepted",j)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:407,columnNumber:9},void 0),t.jsxDEV(Y,{htmlFor:"terms",className:"text-sm",children:"I have read and agree to the terms and conditions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:412,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:406,columnNumber:7},void 0),o&&t.jsxDEV("div",{className:"text-red-600 text-sm text-center",children:o},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:418,columnNumber:9},void 0),t.jsxDEV("div",{className:"flex space-x-3",children:[t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>n(1),className:"flex-1",children:[t.jsxDEV(Nn,{className:"mr-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:428,columnNumber:11},void 0),"Back"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:422,columnNumber:9},void 0),t.jsxDEV(L,{type:"submit",className:"flex-1 bg-black hover:bg-gray-800 text-white",children:["I Accept",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:436,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:431,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:421,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:292,columnNumber:5},void 0),U=()=>t.jsxDEV("form",{onSubmit:x,className:"space-y-6",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Internet Banking Registration"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:445,columnNumber:9},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600 mb-6",children:"Step 3 of 5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:446,columnNumber:9},void 0),t.jsxDEV("h3",{className:"text-lg font-medium text-gray-800 mb-4",children:"Enter your personal details"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:447,columnNumber:9},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600 mb-6",children:"Remember you are only required to register once. You can register with either your Gates Capital Banking savings, checking or credit card account."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:448,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:444,columnNumber:7},void 0),t.jsxDEV("div",{className:"grid grid-cols-1 gap-4",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"accountType",children:"Existing account type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:455,columnNumber:11},void 0),t.jsxDEV(ds,{value:m.accountType,onValueChange:j=>b("accountType",j),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Please Select"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:458,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:457,columnNumber:13},void 0),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"Savings Account",children:"Savings Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:461,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Current Account",children:"Current Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:462,columnNumber:15},void 0),t.jsxDEV(ye,{value:"International Non-Resident",children:"International Non-Resident"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:463,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Credit Card Account",children:"Credit Card Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:464,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Digital Asset Account",children:"Digital Asset Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:465,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Other",children:"Other"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:466,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:460,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:456,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:454,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"title",children:"Title"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:472,columnNumber:11},void 0),t.jsxDEV(ds,{value:m.title,onValueChange:j=>b("title",j),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Please Select"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:475,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:474,columnNumber:13},void 0),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"Mr",children:"Mr"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:478,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Mrs",children:"Mrs"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:479,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Miss",children:"Miss"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:480,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Ms",children:"Ms"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:481,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Doctor",children:"Doctor"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:482,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Father",children:"Father"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:483,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Sir",children:"Sir"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:484,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Professor",children:"Professor"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:485,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Lady",children:"Lady"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:486,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Lord",children:"Lord"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:487,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Reverend",children:"Reverend"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:488,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Captain",children:"Captain"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:489,columnNumber:15},void 0),t.jsxDEV(ye,{value:"Sergeant",children:"Sergeant"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:490,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:477,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:473,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:471,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"forename",children:"First Name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:496,columnNumber:11},void 0),t.jsxDEV(re,{id:"forename",placeholder:"Enter your first name",value:m.forename,onChange:j=>b("forename",j.target.value),required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:497,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:495,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"middleName",children:"Middle Name (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:507,columnNumber:11},void 0),t.jsxDEV(re,{id:"middleName",placeholder:"Enter your middle name (optional)",value:m.middleName,onChange:j=>b("middleName",j.target.value)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:508,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:506,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"surname",children:"Surname"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:517,columnNumber:11},void 0),t.jsxDEV(re,{id:"surname",placeholder:"Enter your last name",value:m.surname,onChange:j=>b("surname",j.target.value),required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:518,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:516,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Date of birth"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:528,columnNumber:11},void 0),t.jsxDEV("div",{className:"grid grid-cols-3 gap-2 mt-1",children:[t.jsxDEV(ds,{value:m.dateOfBirth.day,onValueChange:j=>f("dateOfBirth","day",j),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Day"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:532,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:531,columnNumber:15},void 0),t.jsxDEV(ls,{children:Array.from({length:31},(j,w)=>t.jsxDEV(ye,{value:(w+1).toString(),children:w+1},w+1,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:536,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:534,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:530,columnNumber:13},void 0),t.jsxDEV(ds,{value:m.dateOfBirth.month,onValueChange:j=>f("dateOfBirth","month",j),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Month"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:544,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:543,columnNumber:15},void 0),t.jsxDEV(ls,{children:Array.from({length:12},(j,w)=>t.jsxDEV(ye,{value:(w+1).toString(),children:new Date(0,w).toLocaleString("default",{month:"long"})},w+1,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:548,columnNumber:19},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:546,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:542,columnNumber:13},void 0),t.jsxDEV(ds,{value:m.dateOfBirth.year,onValueChange:j=>f("dateOfBirth","year",j),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Year"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:556,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:555,columnNumber:15},void 0),t.jsxDEV(ls,{children:Array.from({length:100},(j,w)=>{const A=new Date().getFullYear()-18-w;return t.jsxDEV(ye,{value:A.toString(),children:A},A,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:562,columnNumber:21},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:558,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:554,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:529,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:527,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"phone",children:"Telephone number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:573,columnNumber:11},void 0),t.jsxDEV("div",{className:"grid grid-cols-2 gap-2 mt-1",children:[t.jsxDEV(ds,{value:m.phone.countryCode,onValueChange:j=>f("phone","countryCode",j),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Code"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:577,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:576,columnNumber:15},void 0),t.jsxDEV(ls,{children:Dv.sort((j,w)=>{const A=j.phoneCode.localeCompare(w.phoneCode);return A!==0?A:j.name.localeCompare(w.name)}).map(j=>t.jsxDEV(ye,{value:j.phoneCode,children:[j.phoneCode," (",j.name,")"]},`phone-${j.phoneCode}-${j.code}`,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:587,columnNumber:21},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:579,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:575,columnNumber:13},void 0),t.jsxDEV(re,{value:m.phone.number,onChange:j=>f("phone","number",j.target.value),placeholder:"Phone number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:593,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:574,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:572,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"email",children:"Email address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:602,columnNumber:11},void 0),t.jsxDEV(re,{id:"email",type:"email",value:m.email,onChange:j=>b("email",j.target.value),required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:603,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:601,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"address1",children:"Address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:613,columnNumber:11},void 0),t.jsxDEV(re,{id:"address1",value:m.address.line1,onChange:j=>f("address","line1",j.target.value),className:"mt-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:614,columnNumber:11},void 0),t.jsxDEV(re,{value:m.address.line2,onChange:j=>f("address","line2",j.target.value),className:"mt-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:620,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:612,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"zipPostcode",children:"Zip / Postcode"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:628,columnNumber:11},void 0),t.jsxDEV(re,{id:"zipPostcode",value:m.zipPostcode,onChange:j=>b("zipPostcode",j.target.value),required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:629,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:627,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"country",children:"Country"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:638,columnNumber:11},void 0),t.jsxDEV(ds,{value:m.country,onValueChange:j=>b("country",j),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Please Select"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:641,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:640,columnNumber:13},void 0),t.jsxDEV(ls,{children:Dv.sort((j,w)=>j.name.localeCompare(w.name)).map(j=>t.jsxDEV(ye,{value:j.name,children:j.name},j.code,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:645,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:643,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:639,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:637,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:453,columnNumber:7},void 0),o&&t.jsxDEV("div",{className:"text-red-600 text-sm text-center",children:o},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:655,columnNumber:9},void 0),t.jsxDEV("div",{className:"flex space-x-3",children:[t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>n(2),className:"flex-1",children:[t.jsxDEV(Nn,{className:"mr-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:665,columnNumber:11},void 0),"Back"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:659,columnNumber:9},void 0),t.jsxDEV(L,{type:"submit",className:"flex-1 bg-black hover:bg-gray-800 text-white",children:["Continue",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:673,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:668,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:658,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:443,columnNumber:5},void 0),T=()=>t.jsxDEV("form",{onSubmit:D,className:"space-y-6",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Internet Banking Registration"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:682,columnNumber:9},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600 mb-6",children:"Step 4 of 5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:683,columnNumber:9},void 0),t.jsxDEV("h3",{className:"text-lg font-medium text-gray-800 mb-4",children:"Choose your username and password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:684,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:681,columnNumber:7},void 0),t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"username",children:"Username"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:689,columnNumber:11},void 0),t.jsxDEV(re,{id:"username",value:m.username,onChange:j=>b("username",j.target.value),placeholder:"Choose a unique username",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:690,columnNumber:11},void 0),t.jsxDEV("p",{className:"text-xs text-gray-500 mt-1",children:"This will be used to log into your account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:697,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:688,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"password",children:"Password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:701,columnNumber:11},void 0),t.jsxDEV(re,{id:"password",type:"password",value:m.password,onChange:j=>b("password",j.target.value),placeholder:"Create a strong password",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:702,columnNumber:11},void 0),t.jsxDEV("p",{className:"text-xs text-gray-500 mt-1",children:"Must be at least 8 characters long"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:710,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:700,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"confirmPassword",children:"Confirm Password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:714,columnNumber:11},void 0),t.jsxDEV(re,{id:"confirmPassword",type:"password",value:m.confirmPassword,onChange:j=>b("confirmPassword",j.target.value),placeholder:"Confirm your password",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:715,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:713,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:687,columnNumber:7},void 0),o&&t.jsxDEV("div",{className:"text-red-600 text-sm text-center",children:o},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:727,columnNumber:9},void 0),t.jsxDEV("div",{className:"flex space-x-3",children:[t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>n(3),className:"flex-1",children:[t.jsxDEV(Nn,{className:"mr-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:737,columnNumber:11},void 0),"Back"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:731,columnNumber:9},void 0),t.jsxDEV(L,{type:"submit",className:"flex-1 bg-black hover:bg-gray-800 text-white",children:["Continue",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:745,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:740,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:730,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:680,columnNumber:5},void 0),H=()=>t.jsxDEV("form",{onSubmit:N,className:"space-y-6",children:[t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Internet Banking Registration"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:754,columnNumber:9},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600 mb-6",children:"Step 5 of 5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:755,columnNumber:9},void 0),t.jsxDEV("h3",{className:"text-lg font-medium text-gray-800 mb-4",children:"Set up your security questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:756,columnNumber:9},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600 mb-6",children:"These questions will be used to verify your identity when logging in."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:757,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:753,columnNumber:7},void 0),t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"actor",children:"What is the name of your favorite actor?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:764,columnNumber:11},void 0),t.jsxDEV(re,{id:"actor",value:m.securityQuestions.actor,onChange:j=>f("securityQuestions","actor",j.target.value),placeholder:"Enter your answer",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:765,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:763,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"book",children:"What is your favorite book?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:775,columnNumber:11},void 0),t.jsxDEV(re,{id:"book",value:m.securityQuestions.book,onChange:j=>f("securityQuestions","book",j.target.value),placeholder:"Enter your answer",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:776,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:774,columnNumber:9},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"town",children:"In what town was your mother born?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:786,columnNumber:11},void 0),t.jsxDEV(re,{id:"town",value:m.securityQuestions.town,onChange:j=>f("securityQuestions","town",j.target.value),placeholder:"Enter your answer",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:787,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:785,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:762,columnNumber:7},void 0),o&&t.jsxDEV("div",{className:"text-red-600 text-sm text-center",children:o},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:798,columnNumber:9},void 0),t.jsxDEV("div",{className:"flex space-x-3",children:[t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>n(4),className:"flex-1",children:[t.jsxDEV(Nn,{className:"mr-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:808,columnNumber:11},void 0),"Back"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:802,columnNumber:9},void 0),t.jsxDEV(L,{type:"submit",disabled:i,className:"flex-1 bg-black hover:bg-gray-800 text-white",children:i?"Creating Account...":t.jsxDEV(t.Fragment,{children:["Complete Registration",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:819,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:817,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:811,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:801,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:752,columnNumber:5},void 0);return t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:829,columnNumber:7},void 0),t.jsxDEV("div",{className:"flex-1 flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8",children:t.jsxDEV("div",{className:"max-w-4xl w-full space-y-8",children:[t.jsxDEV("div",{className:"text-center",children:t.jsxDEV("button",{onClick:()=>s("/login"),className:"text-blue-600 hover:text-blue-800 underline text-sm",children:"← Back to Login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:834,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:833,columnNumber:11},void 0),G(),t.jsxDEV(F,{children:t.jsxDEV(B,{className:"pt-6",children:[a===1&&k(),a===2&&E(),a===3&&U(),a===4&&T(),a===5&&H()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:846,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:845,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:832,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:831,columnNumber:7},void 0),t.jsxDEV("footer",{className:"bg-gray-50 border-t mt-12",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto px-4 py-4",children:[t.jsxDEV("p",{className:"text-xs text-gray-600 leading-relaxed",children:"Gates Capital Bank"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:860,columnNumber:11},void 0),t.jsxDEV("p",{className:"text-xs text-gray-600 mt-2",children:"© 2025 Gates Capital Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:863,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:859,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:858,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:869,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Register.tsx",lineNumber:828,columnNumber:5},void 0)},Kk=[{to:"/login",label:"Login"},{to:"/register",label:"Register"},{to:"/activate",label:"Activate"}],k0e=()=>{const e=an();return t.jsxDEV("nav",{className:"bg-muted py-2",children:t.jsxDEV("div",{className:"container mx-auto px-4 flex items-center justify-end gap-3 text-sm",children:Kk.map((s,a)=>{const n=e.pathname===s.to;return t.jsxDEV("span",{className:"flex items-center gap-3",children:[t.jsxDEV(I,{to:s.to,className:`font-medium transition-colors ${n?"text-gatesib-blue underline":"text-muted-foreground hover:text-foreground"}`,children:s.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AuthMiniNav.tsx",lineNumber:20,columnNumber:15},void 0),a<Kk.length-1&&t.jsxDEV("span",{className:"text-muted-foreground",children:"|"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AuthMiniNav.tsx",lineNumber:28,columnNumber:48},void 0)]},s.to,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AuthMiniNav.tsx",lineNumber:19,columnNumber:13},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AuthMiniNav.tsx",lineNumber:14,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AuthMiniNav.tsx",lineNumber:13,columnNumber:5},void 0)},E0e=rn("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Qs=v.forwardRef(({className:e,variant:s,...a},n)=>t.jsxDEV("div",{ref:n,role:"alert",className:me(E0e({variant:s}),e),...a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/alert.tsx",lineNumber:25,columnNumber:3},void 0));Qs.displayName="Alert";const L0e=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("h5",{ref:a,className:me("mb-1 font-medium leading-none tracking-tight",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/alert.tsx",lineNumber:31,columnNumber:5},void 0));L0e.displayName="AlertTitle";const Zs=v.forwardRef(({className:e,...s},a)=>t.jsxDEV("div",{ref:a,className:me("text-sm [&_p]:leading-relaxed",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/alert.tsx",lineNumber:38,columnNumber:5},void 0));Zs.displayName="AlertDescription";const j0e=()=>{const e=Js(),[s,a]=v.useState(""),[n,i]=v.useState(""),[r,o]=v.useState(!1),[l,u]=v.useState(""),[c,m]=v.useState(!1),d=async b=>{b.preventDefault(),o(!0),u(""),m(!1);try{const{data:f,error:h}=await oe.rpc("activate_user_account",{username_input:s.trim(),code_input:n.trim()});if(h)throw h;f&&f.success?(m(!0),setTimeout(()=>{e("/login",{state:{message:"Account activated successfully! You can now log in."}})},2e3)):u(f?.error||"Activation failed. Please check your details and try again.")}catch(f){console.error("Activation error:",f),u(f.message||"Failed to activate account. Please check your details and try again.")}finally{o(!1)}};return t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:57,columnNumber:7},void 0),t.jsxDEV(k0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:58,columnNumber:7},void 0),t.jsxDEV("main",{className:"flex-1 bg-muted/40 py-16",children:t.jsxDEV("div",{className:"container mx-auto px-4 max-w-3xl space-y-10",children:[t.jsxDEV("header",{className:"text-center space-y-3",children:[t.jsxDEV("h1",{className:"text-3xl font-bold text-gatesib-green",children:"Account Activation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:63,columnNumber:13},void 0),t.jsxDEV("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Enter your details below to activate your online banking access. You will need the unique activation code we sent you when you registered."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:64,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:62,columnNumber:11},void 0),t.jsxDEV(F,{className:"shadow-lg",children:[t.jsxDEV(z,{className:"border-b",children:t.jsxDEV(K,{className:"text-2xl text-gatesib-green",children:"Enter your details below"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:72,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:71,columnNumber:13},void 0),t.jsxDEV(B,{className:"pt-6 space-y-6",children:[t.jsxDEV("form",{className:"space-y-4",onSubmit:d,children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"username",className:"font-semibold text-muted-foreground",children:"Username"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:77,columnNumber:19},void 0),t.jsxDEV(re,{id:"username",placeholder:"You chose this during registration",className:"mt-1",value:s,onChange:b=>a(b.target.value),required:!0,disabled:r||c},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:80,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:76,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"access-code",className:"font-semibold text-muted-foreground",children:"Access Code"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:91,columnNumber:19},void 0),t.jsxDEV(re,{id:"access-code",placeholder:"A unique code included in the welcome message we sent you",className:"mt-1",value:n,onChange:b=>i(b.target.value),required:!0,disabled:r||c},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:94,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:90,columnNumber:17},void 0),l&&t.jsxDEV(Qs,{variant:"destructive",children:[t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:107,columnNumber:21},void 0),t.jsxDEV(Zs,{children:l},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:108,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:106,columnNumber:19},void 0),c&&t.jsxDEV(Qs,{children:[t.jsxDEV(Ls,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:114,columnNumber:21},void 0),t.jsxDEV(Zs,{children:"Account activated successfully! Redirecting to login..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:115,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:113,columnNumber:19},void 0),t.jsxDEV(L,{type:"submit",className:"bg-gatesib-blue hover:bg-blue-600 text-white px-8",disabled:r||c,children:r?"Activating...":c?"Activated!":"Submit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:121,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:75,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-2 text-sm text-muted-foreground",children:t.jsxDEV("p",{children:["If you haven't received your activation code or are unsure which username you selected, please contact our Customer Care team on ",Je.phone,"."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:131,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:130,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:74,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:70,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:61,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:60,columnNumber:7},void 0),t.jsxDEV("footer",{className:"bg-gray-50 border-t mt-12",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto px-4 py-4",children:[t.jsxDEV("p",{className:"text-xs text-gray-600 leading-relaxed",children:"Gates Capital Bank"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:144,columnNumber:11},void 0),t.jsxDEV("p",{className:"text-xs text-gray-600 mt-2",children:"© 2025 Gates Capital Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:147,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:143,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:142,columnNumber:7},void 0),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:153,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Activate.tsx",lineNumber:56,columnNumber:5},void 0)},w0e=()=>{const{signIn:e,user:s,requiresSecurityQuestions:a,securityQuestions:n,verifySecurityQuestion:i,loading:r,loginStep:o,resetLoginStep:l}=at(),u=Js(),[c,m]=v.useState(1),[d,b]=v.useState(""),[f,h]=v.useState(""),[g,p]=v.useState("Please Select"),[x,D]=v.useState({}),[N,C]=v.useState(""),[y,G]=v.useState(!1),[k,E]=v.useState([]),[U,T]=v.useState(!1);v.useEffect(()=>{const P=localStorage.getItem("rememberedUsername");P&&(b(P),G(!0))},[]),v.useEffect(()=>{if(s&&o.step==="needs_setup")C("Please set up your security questions in your profile before accessing the dashboard."),u("/dashboard3/profile?setup=security");else if(s&&!a&&o.step==="complete"){const P=g!=="Please Select"?g:null;P?(sessionStorage.setItem("loginAccountType",P),u(`/dashboard3?accountType=${encodeURIComponent(P)}`)):u("/dashboard3")}else a&&o.step==="security"&&m(2)},[s,a,o,u,g]),v.useEffect(()=>{(async()=>{T(!0);try{const{data:V,error:_}=await oe.from("account_types").select("id, name, description").order("name");if(_)throw _;E(V||[])}catch(V){console.error("Error loading account types:",V)}finally{T(!1)}})()},[]);const H=async P=>{P.preventDefault(),C(""),m(1);const{data:V,error:_}=await e(d,f,g);_?_.message.includes("Email not confirmed")||_.message.includes("email_not_confirmed")?C("Please check your email and click the confirmation link to activate your account before logging in."):_.message.includes("Invalid login credentials")?C("Invalid username or password. Please check your credentials and try again."):C(_.message):V.user&&(y?localStorage.setItem("rememberedUsername",d):localStorage.removeItem("rememberedUsername"))},j=async P=>{P.preventDefault(),C("");const{success:V,error:_}=await i(x[o.securityQuestion?.questionKey||""]);if(_)C(_);else if(V){const O=g!=="Please Select"?g:null;O?(sessionStorage.setItem("loginAccountType",O),u(`/dashboard3?accountType=${encodeURIComponent(O)}`)):u("/dashboard3")}},w=(P,V)=>{D(_=>({..._,[P]:V}))},A=()=>{l(),m(1),D({}),C("")};return r?t.jsxDEV("div",{className:"min-h-screen flex items-center justify-center",children:"Loading..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:138,columnNumber:12},void 0):t.jsxDEV("div",{className:"min-h-screen bg-white",children:[t.jsxDEV("header",{className:"bg-white border-b border-gray-200 py-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto px-4 flex items-center justify-between",children:[t.jsxDEV("div",{className:"flex items-center space-x-3",children:t.jsxDEV(kr,{showTagline:!0,size:"small",darkBackground:!1},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:147,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:146,columnNumber:11},void 0),t.jsxDEV("div",{className:"flex space-x-4 text-sm",children:[t.jsxDEV("button",{onClick:()=>u("/login"),className:"text-gray-700 hover:text-gatesib-green transition-colors",children:"Login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:150,columnNumber:13},void 0),t.jsxDEV("span",{className:"text-gray-400",children:"|"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:156,columnNumber:13},void 0),t.jsxDEV("button",{onClick:()=>u("/register"),className:"text-gray-700 hover:text-gatesib-green transition-colors",children:"Register"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:157,columnNumber:13},void 0),t.jsxDEV("span",{className:"text-gray-400",children:"|"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:163,columnNumber:13},void 0),t.jsxDEV("button",{className:"text-gray-700 hover:text-gatesib-green transition-colors",children:"Activate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:164,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:149,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:145,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:144,columnNumber:7},void 0),t.jsxDEV("main",{className:"max-w-4xl mx-auto px-4 py-8",children:t.jsxDEV("div",{className:"flex gap-8",children:[t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("h2",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Internet Banking Sign On"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:176,columnNumber:13},void 0),t.jsxDEV("p",{className:"text-gray-600 mb-6",children:"Enter your Username and Password to Sign on to Internet Banking."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:177,columnNumber:13},void 0),N&&t.jsxDEV("p",{className:"text-red-500 text-sm mb-4",children:N},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:180,columnNumber:23},void 0),c===1&&t.jsxDEV("form",{onSubmit:H,className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"username",className:"block text-sm font-medium text-gray-700 mb-1",children:"Username or Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:185,columnNumber:19},void 0),t.jsxDEV(re,{id:"username",type:"text",placeholder:"Enter your username or email",value:d,onChange:P=>b(P.target.value),className:"w-full max-w-md",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:186,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:184,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"password",className:"block text-sm font-medium text-gray-700 mb-1",children:"Password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:198,columnNumber:19},void 0),t.jsxDEV(re,{id:"password",type:"password",placeholder:"Enter your password",value:f,onChange:P=>h(P.target.value),className:"w-full max-w-md",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:199,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:197,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex items-center space-x-2",children:[t.jsxDEV(Vt,{id:"remember",checked:y,onCheckedChange:P=>G(P===!0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:211,columnNumber:19},void 0),t.jsxDEV(Y,{htmlFor:"remember",className:"text-sm text-gray-700",children:"Remember Username"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:216,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:210,columnNumber:17},void 0),t.jsxDEV(L,{type:"submit",className:"bg-black text-yellow-400 hover:bg-gray-800 flex items-center gap-2 px-6 py-2",children:["Login ",t.jsxDEV(_e,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:220,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:219,columnNumber:17},void 0),t.jsxDEV("div",{className:"mt-4",children:t.jsxDEV("button",{type:"button",onClick:()=>u("/forgot-password"),className:"text-blue-600 hover:text-blue-800 text-sm underline",children:"Forgot your Username or Password?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:224,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:223,columnNumber:17},void 0),t.jsxDEV("div",{className:"mt-4",children:[t.jsxDEV("span",{className:"text-gray-600 text-sm",children:"Don't have an account? "},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:234,columnNumber:19},void 0),t.jsxDEV("button",{type:"button",onClick:()=>u("/register"),className:"text-blue-600 hover:text-blue-800 text-sm underline font-medium",children:"Sign up here"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:235,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:233,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:183,columnNumber:15},void 0),c===2&&a&&o.securityQuestion&&t.jsxDEV("form",{onSubmit:j,className:"space-y-4",children:[t.jsxDEV("h3",{className:"text-xl font-semibold text-gray-900",children:"Security Questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:248,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600",children:"Please answer your security question to proceed."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:249,columnNumber:17},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"security-question",className:"block text-sm font-medium text-gray-700 mb-1",children:o.securityQuestion.questionText},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:252,columnNumber:19},void 0),t.jsxDEV(re,{id:"security-question",type:"text",value:x[o.securityQuestion.questionKey]||"",onChange:P=>w(o.securityQuestion.questionKey,P.target.value),className:"w-full max-w-md",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:255,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:251,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex gap-2",children:[t.jsxDEV(L,{type:"button",onClick:A,variant:"outline",className:"flex items-center gap-2",children:[t.jsxDEV(Nn,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:272,columnNumber:21},void 0)," Back"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:266,columnNumber:19},void 0),t.jsxDEV(L,{type:"submit",className:"bg-black text-yellow-400 hover:bg-gray-800 flex items-center gap-2",children:["Verify ",t.jsxDEV(_e,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:275,columnNumber:28},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:274,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:265,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:247,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:175,columnNumber:11},void 0),t.jsxDEV("div",{className:"w-80",children:[t.jsxDEV("div",{className:"bg-gray-100 p-4 rounded",children:[t.jsxDEV("h3",{className:"font-medium text-gray-900 mb-2",children:"To sign on to a different account, select from the options below."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:285,columnNumber:15},void 0),t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV(ds,{value:g,onValueChange:p,disabled:U,children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:U?"Loading account types...":"Select An Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:289,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:288,columnNumber:19},void 0),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"Please Select",children:"Please Select"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:292,columnNumber:21},void 0),k.map(P=>t.jsxDEV(ye,{value:P.name,children:P.name},P.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:294,columnNumber:23},void 0))]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:291,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:287,columnNumber:17},void 0),t.jsxDEV(L,{className:"w-full",type:"button",disabled:g==="Please Select",title:g==="Please Select"?"Please select an account type":`Account type "${g}" will be used after login`,children:"Go"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:300,columnNumber:17},void 0),t.jsxDEV("p",{className:"text-xs text-gray-500 mt-2",children:"Select an account type to view that section after login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:310,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:286,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:284,columnNumber:13},void 0),t.jsxDEV("div",{className:"mt-6",children:[t.jsxDEV("h4",{className:"font-medium text-gray-900 mb-2",children:"Login Timeout"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:318,columnNumber:15},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600",children:"To protect your personal information, your session will automatically timeout after 10 minutes of inactivity."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:319,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:317,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:283,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:173,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:172,columnNumber:7},void 0),t.jsxDEV("footer",{className:"bg-gray-50 border-t mt-12",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto px-4 py-4",children:t.jsxDEV("p",{className:"text-xs text-gray-600 leading-relaxed",children:"© 2025 Gates Capital Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:330,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:329,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:328,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Login.tsx",lineNumber:142,columnNumber:5},void 0)};var g5={exports:{}},p5={};/**
 * @license React
 * use-sync-external-store-shim.development.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(){function e(f,h){return f===h&&(f!==0||1/f===1/h)||f!==f&&h!==h}function s(f,h){m||i.startTransition===void 0||(m=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var g=h();if(!d){var p=h();r(g,p)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),d=!0)}p=o({inst:{value:g,getSnapshot:h}});var x=p[0].inst,D=p[1];return u(function(){x.value=g,x.getSnapshot=h,a(x)&&D({inst:x})},[f,g,h]),l(function(){return a(x)&&D({inst:x}),f(function(){a(x)&&D({inst:x})})},[f]),c(g),g}function a(f){var h=f.getSnapshot;f=f.value;try{var g=h();return!r(f,g)}catch{return!0}}function n(f,h){return h()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=v,r=typeof Object.is=="function"?Object.is:e,o=i.useState,l=i.useEffect,u=i.useLayoutEffect,c=i.useDebugValue,m=!1,d=!1,b=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:s;p5.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:b,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})();g5.exports=p5;var U0e=g5.exports;function H0e(){return U0e.useSyncExternalStore(V0e,()=>!0,()=>!1)}function V0e(){return()=>{}}var uD="Avatar",[P0e,h1e]=Mt(uD),[A0e,h5]=P0e(uD),v5=v.forwardRef((e,s)=>{const{__scopeAvatar:a,...n}=e,[i,r]=v.useState("idle");return q.jsx(A0e,{scope:a,imageLoadingStatus:i,onImageLoadingStatusChange:r,children:q.jsx(Ve.span,{...n,ref:s})})});v5.displayName=uD;var N5="AvatarImage",x5=v.forwardRef((e,s)=>{const{__scopeAvatar:a,src:n,onLoadingStatusChange:i=()=>{},...r}=e,o=h5(N5,a),l=S0e(n,r),u=ha(c=>{i(c),o.onImageLoadingStatusChange(c)});return tt(()=>{l!=="idle"&&u(l)},[l,u]),l==="loaded"?q.jsx(Ve.img,{...r,ref:s,src:n}):null});x5.displayName=N5;var D5="AvatarFallback",G5=v.forwardRef((e,s)=>{const{__scopeAvatar:a,delayMs:n,...i}=e,r=h5(D5,a),[o,l]=v.useState(n===void 0);return v.useEffect(()=>{if(n!==void 0){const u=window.setTimeout(()=>l(!0),n);return()=>window.clearTimeout(u)}},[n]),o&&r.imageLoadingStatus!=="loaded"?q.jsx(Ve.span,{...i,ref:s}):null});G5.displayName=D5;function Yk(e,s){return e?s?(e.src!==s&&(e.src=s),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function S0e(e,{referrerPolicy:s,crossOrigin:a}){const n=H0e(),i=v.useRef(null),r=n?(i.current||(i.current=new window.Image),i.current):null,[o,l]=v.useState(()=>Yk(r,e));return tt(()=>{l(Yk(r,e))},[r,e]),tt(()=>{const u=d=>()=>{l(d)};if(!r)return;const c=u("loaded"),m=u("error");return r.addEventListener("load",c),r.addEventListener("error",m),s&&(r.referrerPolicy=s),typeof a=="string"&&(r.crossOrigin=a),()=>{r.removeEventListener("load",c),r.removeEventListener("error",m)}},[r,a,s]),o}var y5=v5,C5=x5,k5=G5;const ul=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(y5,{ref:a,className:me("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/avatar.tsx",lineNumber:10,columnNumber:3},void 0));ul.displayName=y5.displayName;const xc=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(C5,{ref:a,className:me("aspect-square h-full w-full",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/avatar.tsx",lineNumber:22,columnNumber:3},void 0));xc.displayName=C5.displayName;const cl=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(k5,{ref:a,className:me("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/avatar.tsx",lineNumber:30,columnNumber:3},void 0));cl.displayName=k5.displayName;const Qe=(e,s={})=>{const a=typeof e=="string"?parseFloat(e||"0"):e||0;return new Intl.NumberFormat("en-IE",{style:"currency",currency:"EUR",minimumFractionDigits:2,maximumFractionDigits:2,...s}).format(a)};async function cD(e,s){const{data:a,error:n}=await e.from("profiles").select("*").eq("id",s.id).maybeSingle();if(n&&n.code!=="PGRST116")throw n;if(a)return a;const i=s.user_metadata?.username,r=(s.email||"").split("@")[0],o=(i||r||"user").toString();let l=0,u=o;for(;l<5;){const{data:c,error:m}=await e.from("profiles").insert({id:s.id,email:s.email||"",username:u,status:"active",security_questions:{}}).select().single();if(!m)return c;if(m.code==="23505"&&typeof m.message=="string"&&m.message.includes("profiles_username_key")){l+=1,u=`${o}-${Math.random().toString(36).slice(2,6)}`;continue}throw m}throw new Error("Unable to create profile with a unique username. Please try again.")}const T0e=Object.freeze(Object.defineProperty({__proto__:null,createOrFetchProfile:cD},Symbol.toStringTag,{value:"Module"}));function _0e(){const{signOut:e,user:s}=at(),a=Js(),n=an(),[i,r]=v.useState(null),[o,l]=v.useState([]),[u,c]=v.useState([]),[m,d]=v.useState([]),[b,f]=v.useState(!0),[h,g]=v.useState(null);v.useEffect(()=>{(async()=>{if(s)try{f(!0),g(null);const E="https://huehnpbwouwstkjdlovc.supabase.co",U="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imh1ZWhucGJ3b3V3c3RramRsb3ZjIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjEyNjExODAsImV4cCI6MjA3NjgzNzE4MH0.uWT63sD9UxIP1emVFZEaUh1Txaj-noMAkQrpExnvTtE",{data:T,error:H}=await oe.from("profiles").select("*").eq("id",s.id).maybeSingle();if(H&&H.code!=="PGRST116")throw H;if(T)r(T);else try{const V=await cD(oe,s);r(V)}catch(V){if(console.error("Profile creation error:",V),V?.message?.includes("fetch")||V?.message?.includes("network"))throw new Error("Unable to create profile. Please check your connection and try again.");console.warn("Profile creation failed, continuing with limited data")}const{data:j,error:w}=await oe.from("accounts").select(`
            *,
            account_types (
              name,
              description,
              features
            )
          `).eq("user_id",s.id).eq("status","active");if(w)throw w;if(l(j||[]),j&&j.length>0){const V=j.map($=>$.id),{data:_,error:O}=await oe.from("transactions").select("*").in("account_id",V).order("created_at",{ascending:!1}).limit(10);if(O)throw O;c(_||[])}else c([]);const{data:A,error:P}=await oe.from("account_types").select("*");if(P)throw P;d(A||[])}catch(E){console.error("Error loading user data:",E),E?.message?.includes("fetch")||E?.message?.includes("network")||E?.message?.includes("Failed to fetch")?g("Unable to connect to the server. Please check your internet connection and try again."):E?.code==="PGRST116"||E?.message?.includes("not found")?g(null):g(E?.message||"Failed to load user data. Please refresh the page.")}finally{f(!1)}})()},[s]);const p=async()=>{await e(),a("/login")},x=i?.first_name&&i?.last_name?`${i.first_name} ${i.last_name}`:s?.email?.split("@")[0]||"User",D=[{label:"Overview",href:"/dashboard"},{label:"Accounts",href:"/dashboard/accounts"},{label:"Transfers",href:"/dashboard/transfers"},{label:"Pay Bills",href:"/dashboard/pay-bills"},{label:"Apply For Loan",href:"/dashboard/loan-center"},{label:"Contact Us",href:"/dashboard/contact"}],N=k=>k==="/dashboard"?n.pathname===k:n.pathname===k||n.pathname.startsWith(`${k}/`),C=k=>{n.pathname!==k&&a(k)},y=s?.last_sign_in_at?new Date(s.last_sign_in_at).toLocaleString():"Last log on unavailable";if(b)return t.jsxDEV("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("div",{className:"animate-spin rounded-full h-32 w-32 border-b-2 border-blue-600 mx-auto"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:188,columnNumber:11},this),t.jsxDEV("p",{className:"mt-4 text-gray-600",children:"Loading your dashboard..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:189,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:187,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:186,columnNumber:7},this);if(h)return t.jsxDEV("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxDEV("div",{className:"text-center max-w-md px-4",children:[t.jsxDEV("div",{className:"mb-4",children:[t.jsxDEV("p",{className:"text-red-600 text-lg font-semibold mb-2",children:"Failed to load user data"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:200,columnNumber:13},this),t.jsxDEV("p",{className:"text-gray-600 text-sm",children:h},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:201,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:199,columnNumber:11},this),t.jsxDEV(L,{onClick:()=>{g(null),f(!0),s&&(r(null),l([]),c([]))},className:"mt-4",children:"Retry"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:203,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:198,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:197,columnNumber:7},this);const G=o.reduce((k,E)=>k+parseFloat(E.balance||0),0);return t.jsxDEV("div",{className:"min-h-screen bg-gray-50",children:t.jsxDEV("header",{className:"bg-slate-950 text-slate-100 border-b border-slate-900 shadow-sm",children:t.jsxDEV("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxDEV("div",{className:"flex flex-col gap-3 py-4 md:flex-row md:items-center md:justify-between",children:[t.jsxDEV("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-2 text-sm",children:[t.jsxDEV("span",{className:"font-medium",children:["Welcome, ",x]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:236,columnNumber:15},this),t.jsxDEV(He,{variant:"outline",className:"border-slate-700 text-slate-200 bg-slate-900/60",children:"Admin"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:237,columnNumber:15},this),t.jsxDEV("span",{className:"flex items-center gap-1 text-slate-300",children:[t.jsxDEV(xa,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:241,columnNumber:17},this),"Auto log off in: 10:00 (mins)"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:240,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:235,columnNumber:13},this),t.jsxDEV("div",{className:"flex flex-wrap items-center gap-2 text-sm",children:[t.jsxDEV(L,{variant:"ghost",size:"sm",className:"gap-2 text-slate-200 hover:text-white hover:bg-slate-800",children:[t.jsxDEV(iA,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:247,columnNumber:17},this),"Profile"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:246,columnNumber:15},this),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"gap-2 text-slate-200 hover:text-white hover:bg-slate-800",children:[t.jsxDEV(ra,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:251,columnNumber:17},this),"Messages"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:250,columnNumber:15},this),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"gap-2 text-slate-200 hover:text-white hover:bg-slate-800",children:[t.jsxDEV(Ho,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:255,columnNumber:17},this),"Alerts"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:254,columnNumber:15},this),t.jsxDEV(L,{variant:"ghost",size:"sm",onClick:p,className:"gap-2 text-slate-200 hover:text-white hover:bg-slate-800",children:[t.jsxDEV(Qg,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:264,columnNumber:17},this),"Log Off"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:258,columnNumber:15},this),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"gap-2 text-slate-200 hover:text-white hover:bg-slate-800",children:[t.jsxDEV(Cu,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:268,columnNumber:17},this),"Help"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:267,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:245,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:234,columnNumber:11},this),t.jsxDEV("div",{className:"flex flex-col gap-4 border-t border-slate-800 py-6 md:flex-row md:items-center md:justify-between",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV(ul,{className:"h-12 w-12 border border-slate-700",children:t.jsxDEV(cl,{className:"bg-slate-800 text-lg font-semibold",children:x.charAt(0).toUpperCase()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:278,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:277,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-lg font-semibold tracking-tight",children:x},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:283,columnNumber:17},this),t.jsxDEV("p",{className:"text-sm text-slate-300",children:s?.email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:284,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:282,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:276,columnNumber:13},this),t.jsxDEV("div",{className:"text-center md:text-right",children:[t.jsxDEV("p",{className:"text-xs uppercase tracking-[0.3em] text-slate-500",children:"Gates Capital Bank"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:288,columnNumber:15},this),t.jsxDEV("h1",{className:"text-2xl font-semibold tracking-tight text-slate-50",children:"GCB"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:289,columnNumber:15},this),t.jsxDEV("p",{className:"text-xs text-slate-400 mt-2",children:["Last log on: ",y]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:290,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:287,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:275,columnNumber:11},this),t.jsxDEV("div",{className:"border-t border-slate-800 py-4",children:[t.jsxDEV("nav",{className:"hidden md:flex items-center gap-2",children:D.map(k=>{const E=N(k.href);return t.jsxDEV(L,{size:"sm",variant:E?"secondary":"ghost",className:E?"bg-slate-100 text-slate-900 hover:bg-slate-200":"text-slate-200 hover:text-white hover:bg-slate-800",onClick:()=>C(k.href),children:k.label},k.href,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:300,columnNumber:19},this)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:296,columnNumber:13},this),t.jsxDEV("div",{className:"md:hidden -mx-4 px-4",children:t.jsxDEV("div",{className:"flex gap-2 overflow-x-auto pb-2 [scrollbar-width:none] [-ms-overflow-style:none]",children:D.map(k=>{const E=N(k.href);return t.jsxDEV(L,{size:"sm",variant:E?"secondary":"ghost",className:E?"bg-slate-100 text-slate-900 whitespace-nowrap hover:bg-slate-200":"text-slate-200 whitespace-nowrap hover:text-white hover:bg-slate-800",onClick:()=>C(k.href),children:k.label},k.href,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:317,columnNumber:21},this)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:313,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:312,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:295,columnNumber:11},this),t.jsxDEV("div",{className:"border-t border-slate-800 bg-gray-50 min-h-screen",children:t.jsxDEV("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:t.jsxDEV("div",{className:"flex items-start gap-6 mb-6",children:[t.jsxDEV("div",{className:"hidden lg:block",children:t.jsxDEV("div",{className:"w-12 h-12 bg-blue-600 rounded flex items-center justify-center",children:t.jsxDEV(WP,{className:"h-6 w-6 text-white"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:343,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:342,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:341,columnNumber:17},this),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 mb-8",children:[t.jsxDEV(F,{children:t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"flex items-center",children:[t.jsxDEV(Xs,{className:"h-8 w-8 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:353,columnNumber:27},this),t.jsxDEV("div",{className:"ml-4",children:[t.jsxDEV("p",{className:"text-sm font-medium text-gray-600",children:"Total Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:355,columnNumber:29},this),t.jsxDEV("p",{className:"text-2xl font-bold text-gray-900",children:Qe(G)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:356,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:354,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:352,columnNumber:25},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:351,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:350,columnNumber:21},this),t.jsxDEV(F,{children:t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"flex items-center",children:[t.jsxDEV(as,{className:"h-8 w-8 text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:365,columnNumber:27},this),t.jsxDEV("div",{className:"ml-4",children:[t.jsxDEV("p",{className:"text-sm font-medium text-gray-600",children:"Active Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:367,columnNumber:29},this),t.jsxDEV("p",{className:"text-2xl font-bold text-gray-900",children:o.length},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:368,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:366,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:364,columnNumber:25},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:363,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:362,columnNumber:21},this),t.jsxDEV(F,{children:t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"flex items-center",children:[t.jsxDEV(Ke,{className:"h-8 w-8 text-purple-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:377,columnNumber:27},this),t.jsxDEV("div",{className:"ml-4",children:[t.jsxDEV("p",{className:"text-sm font-medium text-gray-600",children:"Recent Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:379,columnNumber:29},this),t.jsxDEV("p",{className:"text-2xl font-bold text-gray-900",children:u.length},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:380,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:378,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:376,columnNumber:25},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:375,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:374,columnNumber:21},this),t.jsxDEV(F,{children:t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"flex items-center",children:[t.jsxDEV(Vo,{className:"h-8 w-8 text-orange-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:389,columnNumber:27},this),t.jsxDEV("div",{className:"ml-4",children:[t.jsxDEV("p",{className:"text-sm font-medium text-gray-600",children:"Account Types"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:391,columnNumber:29},this),t.jsxDEV("p",{className:"text-2xl font-bold text-gray-900",children:m.length},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:392,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:390,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:388,columnNumber:25},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:387,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:386,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:349,columnNumber:19},this),t.jsxDEV(F,{className:"mb-8",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Recent Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:402,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:401,columnNumber:21},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-4",children:u.length>0?u.map(k=>t.jsxDEV("div",{className:"flex items-center justify-between p-3 border rounded-lg",children:[t.jsxDEV("div",{className:"flex items-center space-x-3",children:[t.jsxDEV("div",{className:`w-8 h-8 rounded-full flex items-center justify-center ${k.transaction_type==="deposit"?"bg-green-100":"bg-red-100"}`,children:k.transaction_type==="deposit"?t.jsxDEV(Yg,{className:"h-4 w-4 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:413,columnNumber:37},this):t.jsxDEV(Sa,{className:"h-4 w-4 text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:415,columnNumber:37},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:410,columnNumber:33},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-medium capitalize",children:k.transaction_type},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:419,columnNumber:35},this),t.jsxDEV("p",{className:"text-sm text-gray-500",children:k.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:420,columnNumber:35},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:418,columnNumber:33},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:409,columnNumber:31},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("p",{className:`font-semibold ${k.transaction_type==="deposit"?"text-green-600":"text-red-600"}`,children:[k.transaction_type==="deposit"?"+":"-","$",parseFloat(k.amount).toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:424,columnNumber:33},this),t.jsxDEV("p",{className:"text-sm text-gray-500",children:new Date(k.created_at).toLocaleDateString()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:428,columnNumber:33},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:423,columnNumber:31},this)]},k.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:408,columnNumber:29},this)):t.jsxDEV("div",{className:"text-center py-8 text-gray-500",children:t.jsxDEV("p",{children:"No recent transactions found."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:436,columnNumber:29},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:435,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:405,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:404,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:400,columnNumber:19},this),t.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[t.jsxDEV("div",{className:"lg:col-span-2",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center justify-between",children:[t.jsxDEV("span",{children:"My Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:449,columnNumber:29},this),t.jsxDEV(L,{size:"sm",variant:"outline",children:[t.jsxDEV(yD,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:451,columnNumber:31},this),"View All"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:450,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:448,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:447,columnNumber:25},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-4",children:o.length>0?o.map(k=>t.jsxDEV("div",{className:"flex items-center justify-between p-4 border rounded-lg hover:bg-gray-50",children:[t.jsxDEV("div",{className:"flex items-center space-x-3",children:[t.jsxDEV("div",{className:"w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center",children:t.jsxDEV("span",{className:"text-blue-600 font-semibold text-sm",children:k.account_types?.name?.charAt(0)||"A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:463,columnNumber:39},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:462,columnNumber:37},this),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("p",{className:"font-medium",children:k.account_types?.name||"Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:468,columnNumber:39},this),t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV("p",{className:"text-sm text-gray-500 font-mono",children:k.account_number||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:470,columnNumber:41},this),k.account_number&&t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-5 w-5 p-0",onClick:async E=>{E.stopPropagation();try{await navigator.clipboard.writeText(k.account_number),rs.success("Account number copied!")}catch{rs.error("Failed to copy")}},title:"Copy account number",children:t.jsxDEV(xr,{className:"h-3 w-3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:489,columnNumber:45},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:474,columnNumber:43},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:469,columnNumber:39},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:467,columnNumber:37},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:461,columnNumber:35},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("p",{className:"font-semibold",children:Qe(parseFloat(k.balance||0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:496,columnNumber:37},this),t.jsxDEV("p",{className:"text-sm text-gray-500",children:k.currency},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:497,columnNumber:37},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:495,columnNumber:35},this)]},k.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:460,columnNumber:33},this)):t.jsxDEV("div",{className:"text-center py-8 text-gray-500",children:t.jsxDEV("p",{children:"No accounts found. Contact support to open an account."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:503,columnNumber:33},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:502,columnNumber:31},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:457,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:456,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:446,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:445,columnNumber:21},this),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Quick Actions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:515,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:514,columnNumber:25},this),t.jsxDEV(B,{className:"space-y-3",children:[t.jsxDEV(L,{className:"w-full justify-start",variant:"outline",onClick:()=>a("/dashboard/transfers"),children:[t.jsxDEV(Sa,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:523,columnNumber:29},this),"Transfer Money"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:518,columnNumber:27},this),t.jsxDEV(L,{className:"w-full justify-start",variant:"outline",onClick:()=>a("/dashboard/pay-bills"),children:[t.jsxDEV(as,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:531,columnNumber:29},this),"Pay Bills"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:526,columnNumber:27},this),t.jsxDEV(L,{className:"w-full justify-start",variant:"outline",onClick:()=>a("/dashboard/loan-center"),children:[t.jsxDEV(Vo,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:539,columnNumber:29},this),"Apply for Loan"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:534,columnNumber:27},this),t.jsxDEV(L,{className:"w-full justify-start",variant:"outline",onClick:()=>a("/dashboard/accounts"),children:[t.jsxDEV(yD,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:547,columnNumber:29},this),"Open New Account"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:542,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:517,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:513,columnNumber:23},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Account Types Available"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:555,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:554,columnNumber:25},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-2",children:m.slice(0,5).map(k=>t.jsxDEV("div",{className:"flex items-center justify-between p-2 border rounded",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-medium",children:k.name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:562,columnNumber:35},this),t.jsxDEV("p",{className:"text-xs text-gray-500",children:k.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:563,columnNumber:35},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:561,columnNumber:33},this),t.jsxDEV(L,{size:"sm",variant:"ghost",children:"Apply"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:565,columnNumber:33},this)]},k.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:560,columnNumber:31},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:558,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:557,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:553,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:512,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:443,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:347,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:340,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:338,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:337,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:232,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:231,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard.tsx",lineNumber:229,columnNumber:5},this)}const R0e={wallet:Gr,dollar:Xs,credit:as,savings:Da},Qt=({title:e,value:s,change:a,changeType:n,icon:i,className:r})=>{const o=typeof i=="string"?R0e[i]:i;return t.jsxDEV(F,{className:me("bg-white border-0 shadow-sm hover:shadow-lg transition-all duration-300 rounded-xl overflow-hidden",r),children:[t.jsxDEV(z,{className:"flex flex-row items-center justify-between space-y-0 pb-2 px-6 pt-6",children:[t.jsxDEV(K,{className:"text-sm font-medium text-gray-600 tracking-wide",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/DashboardCard.tsx",lineNumber:37,columnNumber:9},void 0),o&&t.jsxDEV("div",{className:"p-2 rounded-lg bg-gray-50",children:t.jsxDEV(o,{className:"h-5 w-5 text-gray-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/DashboardCard.tsx",lineNumber:42,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/DashboardCard.tsx",lineNumber:41,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/DashboardCard.tsx",lineNumber:36,columnNumber:7},void 0),t.jsxDEV(B,{className:"px-6 pb-6",children:[t.jsxDEV("div",{className:"text-3xl font-bold text-gray-900 mb-2",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/DashboardCard.tsx",lineNumber:47,columnNumber:9},void 0),t.jsxDEV("div",{className:"flex items-center text-sm",children:[n==="increase"?t.jsxDEV(Ke,{className:"h-4 w-4 text-green-500 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/DashboardCard.tsx",lineNumber:50,columnNumber:13},void 0):t.jsxDEV(Kn,{className:"h-4 w-4 text-red-500 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/DashboardCard.tsx",lineNumber:52,columnNumber:13},void 0),t.jsxDEV("span",{className:me("font-medium",n==="increase"?"text-green-600":"text-red-600"),children:[a>0?"+":"",a,"% from last month"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/DashboardCard.tsx",lineNumber:54,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/DashboardCard.tsx",lineNumber:48,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/DashboardCard.tsx",lineNumber:46,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/DashboardCard.tsx",lineNumber:32,columnNumber:5},void 0)},Gv=({transactions:e,title:s="Recent Transactions",showViewAll:a=!0,className:n})=>{const i=r=>({Entertainment:"bg-purple-100 text-purple-800",Salary:"bg-green-100 text-green-800",Food:"bg-orange-100 text-orange-800",Transport:"bg-blue-100 text-blue-800",Shopping:"bg-pink-100 text-pink-800",Bills:"bg-red-100 text-red-800",Investment:"bg-emerald-100 text-emerald-800"})[r]||"bg-gray-100 text-gray-800";return t.jsxDEV(F,{className:me("bg-white border-0 shadow-sm rounded-xl",n),children:[t.jsxDEV(z,{className:"px-6 pt-6 pb-4",children:t.jsxDEV(K,{className:"text-lg font-semibold text-gray-900 flex items-center justify-between",children:[s,a&&t.jsxDEV(L,{variant:"ghost",size:"sm",className:"text-blue-600 hover:text-blue-700",children:"View All"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:50,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:47,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:46,columnNumber:7},void 0),t.jsxDEV(B,{className:"px-6 pb-6 space-y-3",children:[e.map((r,o)=>t.jsxDEV("div",{className:me("flex items-center justify-between p-4 rounded-xl transition-colors hover:bg-gray-50",o!==e.length-1&&"border-b border-gray-100"),children:[t.jsxDEV("div",{className:"flex items-center space-x-4 flex-1",children:[t.jsxDEV("div",{className:me("p-2 rounded-lg",r.type==="income"?"bg-green-100":"bg-red-100"),children:r.type==="income"?t.jsxDEV(Sa,{className:"h-4 w-4 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:73,columnNumber:19},void 0):t.jsxDEV(Nr,{className:"h-4 w-4 text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:75,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:66,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex-1 min-w-0",children:[t.jsxDEV("div",{className:"font-medium text-gray-900 truncate",children:r.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:79,columnNumber:17},void 0),t.jsxDEV("div",{className:"text-sm text-gray-500 flex items-center space-x-2",children:[t.jsxDEV("span",{children:r.date},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:83,columnNumber:19},void 0),t.jsxDEV(He,{variant:"secondary",className:me("text-xs",i(r.category)),children:r.category},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:84,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:82,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:78,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:65,columnNumber:13},void 0),t.jsxDEV("div",{className:"flex items-center space-x-3",children:[t.jsxDEV("span",{className:me("font-semibold text-lg",r.type==="income"?"text-green-600":"text-red-600"),children:[r.type==="income"?"+":"-",Qe(Math.abs(r.amount))]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:94,columnNumber:15},void 0),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"p-1",children:t.jsxDEV(Dr,{className:"h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:102,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:101,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:93,columnNumber:13},void 0)]},r.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:58,columnNumber:11},void 0)),a&&t.jsxDEV(L,{variant:"outline",className:"w-full mt-4 border-gray-200 hover:bg-gray-50",children:"View All Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:109,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:56,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/TransactionList.tsx",lineNumber:45,columnNumber:5},void 0)},M0e=({wallet:e,className:s})=>{const a=i=>({blue:"from-blue-500 to-blue-700",green:"from-green-500 to-green-700",purple:"from-purple-500 to-purple-700",orange:"from-orange-500 to-orange-700",red:"from-red-500 to-red-700"})[i]||"from-gray-500 to-gray-700",n=i=>{switch(i){case"credit":return t.jsxDEV(as,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:38,columnNumber:16},void 0);case"debit":return t.jsxDEV(as,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:40,columnNumber:16},void 0);case"savings":return t.jsxDEV(as,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:42,columnNumber:16},void 0);default:return t.jsxDEV(as,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:44,columnNumber:16},void 0)}};return t.jsxDEV(F,{className:me("relative overflow-hidden border-0 shadow-lg hover:shadow-xl transition-all duration-300",s),children:[t.jsxDEV("div",{className:me("absolute inset-0 bg-gradient-to-br",a(e.color))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:53,columnNumber:7},void 0),t.jsxDEV(B,{className:"relative z-10 p-6 text-white",children:[t.jsxDEV("div",{className:"flex items-center justify-between mb-6",children:[t.jsxDEV("div",{className:"flex items-center space-x-2",children:[n(e.type),t.jsxDEV("span",{className:"text-sm font-medium opacity-90",children:e.name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:62,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:60,columnNumber:11},void 0),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"text-white hover:bg-white/20 p-1",children:t.jsxDEV(wv,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:67,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:66,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:59,columnNumber:9},void 0),t.jsxDEV("div",{className:"mb-6",children:[t.jsxDEV("div",{className:"text-2xl font-bold mb-2",children:Qe(e.balance)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:72,columnNumber:11},void 0),t.jsxDEV("div",{className:"text-sm opacity-80",children:"Available Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:75,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:71,columnNumber:9},void 0),t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"text-sm opacity-80 mb-1",children:"Card Number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:82,columnNumber:13},void 0),t.jsxDEV("div",{className:"font-mono text-sm",children:["•••• •••• •••• ",e.cardNumber.slice(-4)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:83,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:81,columnNumber:11},void 0),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("div",{className:"text-sm opacity-80 mb-1",children:"Expires"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:88,columnNumber:13},void 0),t.jsxDEV("div",{className:"text-sm font-medium",children:e.expiryDate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:89,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:87,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:80,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:58,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:49,columnNumber:5},void 0)},E5=({wallets:e,className:s})=>t.jsxDEV(F,{className:me("bg-white border-0 shadow-sm rounded-xl",s),children:[t.jsxDEV(z,{className:"px-6 pt-6 pb-4",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV(K,{className:"text-lg font-semibold text-gray-900",children:"My Wallets"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:109,columnNumber:11},void 0),t.jsxDEV(L,{size:"sm",className:"bg-blue-600 hover:bg-blue-700 text-white",children:[t.jsxDEV(Zg,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:113,columnNumber:13},void 0),"Add Card"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:112,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:108,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:107,columnNumber:7},void 0),t.jsxDEV(B,{className:"px-6 pb-6",children:t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:e.map(a=>t.jsxDEV(M0e,{wallet:a},a.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:121,columnNumber:13},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:119,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:118,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/WalletCard.tsx",lineNumber:106,columnNumber:5},void 0),O0e=({invoice:e,className:s})=>{const a=n=>({paid:"bg-green-100 text-green-800",pending:"bg-yellow-100 text-yellow-800",overdue:"bg-red-100 text-red-800"})[n]||"bg-gray-100 text-gray-800";return t.jsxDEV(F,{className:me("bg-white border-0 shadow-sm hover:shadow-md transition-all duration-300 rounded-xl",s),children:t.jsxDEV(B,{className:"p-6",children:[t.jsxDEV("div",{className:"flex items-start justify-between mb-4",children:[t.jsxDEV("div",{className:"flex items-center space-x-3",children:[t.jsxDEV("div",{className:"p-2 bg-blue-100 rounded-lg",children:t.jsxDEV(Ot,{className:"h-5 w-5 text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:42,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:41,columnNumber:13},void 0),t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"font-semibold text-gray-900",children:e.clientName},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:45,columnNumber:15},void 0),t.jsxDEV("div",{className:"text-sm text-gray-500",children:["#",e.invoiceNumber]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:48,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:44,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:40,columnNumber:11},void 0),t.jsxDEV(He,{className:a(e.status),children:e.status.charAt(0).toUpperCase()+e.status.slice(1)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:53,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:39,columnNumber:9},void 0),t.jsxDEV("div",{className:"mb-4",children:[t.jsxDEV("div",{className:"text-sm text-gray-600 mb-1",children:"Description"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:59,columnNumber:11},void 0),t.jsxDEV("div",{className:"text-gray-900",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:60,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:58,columnNumber:9},void 0),t.jsxDEV("div",{className:"flex items-center justify-between mb-4",children:[t.jsxDEV("div",{className:"flex items-center space-x-4",children:[t.jsxDEV("div",{className:"flex items-center space-x-2",children:[t.jsxDEV(Xs,{className:"h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:66,columnNumber:15},void 0),t.jsxDEV("span",{className:"text-sm text-gray-600",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:67,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:65,columnNumber:13},void 0),t.jsxDEV("div",{className:"font-semibold text-gray-900",children:Qe(e.amount)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:69,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:64,columnNumber:11},void 0),t.jsxDEV("div",{className:"flex items-center space-x-2",children:[t.jsxDEV(jv,{className:"h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:74,columnNumber:13},void 0),t.jsxDEV("span",{className:"text-sm text-gray-600",children:["Due ",e.dueDate]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:75,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:73,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:63,columnNumber:9},void 0),t.jsxDEV("div",{className:"flex space-x-2",children:[t.jsxDEV(L,{variant:"outline",size:"sm",className:"flex-1",children:"View Details"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:82,columnNumber:11},void 0),e.status==="pending"&&t.jsxDEV(L,{size:"sm",className:"flex-1 bg-blue-600 hover:bg-blue-700",children:"Send Reminder"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:86,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:81,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:38,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:34,columnNumber:5},void 0)},L5=({invoices:e,title:s="New Invoices",className:a})=>t.jsxDEV(F,{className:me("bg-white border-0 shadow-sm rounded-xl",a),children:[t.jsxDEV(z,{className:"px-6 pt-6 pb-4",children:t.jsxDEV(K,{className:"text-lg font-semibold text-gray-900 flex items-center justify-between",children:[s,t.jsxDEV(L,{variant:"ghost",size:"sm",className:"text-blue-600 hover:text-blue-700",children:"View All"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:112,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:110,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:109,columnNumber:7},void 0),t.jsxDEV(B,{className:"px-6 pb-6",children:t.jsxDEV("div",{className:"space-y-4",children:e.map(n=>t.jsxDEV(O0e,{invoice:n},n.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:120,columnNumber:13},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:118,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:117,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/InvoiceCard.tsx",lineNumber:108,columnNumber:5},void 0),I0e=({title:e,data:s,type:a,className:n})=>{const i=r=>{switch(r){case"line":return t.jsxDEV(Ke,{className:"h-5 w-5 text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:26,columnNumber:16},void 0);case"bar":return t.jsxDEV(yu,{className:"h-5 w-5 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:28,columnNumber:16},void 0);case"pie":return t.jsxDEV(br,{className:"h-5 w-5 text-purple-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:30,columnNumber:16},void 0);default:return t.jsxDEV(yu,{className:"h-5 w-5 text-gray-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:32,columnNumber:16},void 0)}};return t.jsxDEV(F,{className:me("bg-white border-0 shadow-sm rounded-xl",n),children:[t.jsxDEV(z,{className:"px-6 pt-6 pb-4",children:t.jsxDEV(K,{className:"text-lg font-semibold text-gray-900 flex items-center space-x-2",children:[i(a),t.jsxDEV("span",{children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:41,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:39,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:38,columnNumber:7},void 0),t.jsxDEV(B,{className:"px-6 pb-6",children:[t.jsxDEV("div",{className:"h-64 bg-gradient-to-br from-blue-50 to-indigo-100 rounded-lg flex items-center justify-center mb-4",children:t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("div",{className:"text-4xl font-bold text-gray-700 mb-2",children:Qe(s.reduce((r,o)=>r+o.value,0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:48,columnNumber:13},void 0),t.jsxDEV("div",{className:"text-sm text-gray-500",children:"Total Value"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:51,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:47,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:46,columnNumber:9},void 0),t.jsxDEV("div",{className:"space-y-3",children:s.map((r,o)=>t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{className:"flex items-center space-x-3",children:[t.jsxDEV("div",{className:me("w-3 h-3 rounded-full",o===0?"bg-blue-500":o===1?"bg-green-500":o===2?"bg-purple-500":"bg-orange-500")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:60,columnNumber:17},void 0),t.jsxDEV("span",{className:"text-sm font-medium text-gray-700",children:r.name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:67,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:59,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex items-center space-x-2",children:[t.jsxDEV("span",{className:"text-sm font-semibold text-gray-900",children:Qe(r.value)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:72,columnNumber:17},void 0),t.jsxDEV("div",{className:"flex items-center",children:[r.changeType==="increase"?t.jsxDEV(Ke,{className:"h-3 w-3 text-green-500 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:77,columnNumber:21},void 0):t.jsxDEV(Kn,{className:"h-3 w-3 text-red-500 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:79,columnNumber:21},void 0),t.jsxDEV("span",{className:me("text-xs font-medium",r.changeType==="increase"?"text-green-600":"text-red-600"),children:[r.change>0?"+":"",r.change,"%"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:81,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:75,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:71,columnNumber:15},void 0)]},o,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:58,columnNumber:13},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:56,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:44,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:37,columnNumber:5},void 0)},yv=({className:e})=>{const s=[{name:"Cash Flow",value:5240,change:12.5,changeType:"increase"},{name:"Accounts Receivable",value:3200,change:8.2,changeType:"increase"},{name:"Inventory",value:1800,change:-3.1,changeType:"decrease"},{name:"Accounts Payable",value:2100,change:5.2,changeType:"increase"}];return t.jsxDEV(I0e,{title:"Working Capital",data:s,type:"line",className:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/maglo/ChartCard.tsx",lineNumber:110,columnNumber:5},void 0)};function Me({className:e,...s}){return t.jsxDEV("div",{className:me("animate-pulse rounded-md bg-muted",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/skeleton.tsx",lineNumber:4,columnNumber:10},this)}function $0e(){const{signOut:e,user:s}=at(),a=Js(),[n,i]=v.useState(null),[r,o]=v.useState([]),[l,u]=v.useState([]),[c,m]=v.useState([]),[d,b]=v.useState(!0),[f,h]=v.useState(null),[g,p]=v.useState("overview");v.useEffect(()=>{(async()=>{if(s)try{b(!0);const{data:U,error:T}=await oe.from("profiles").select("*").eq("id",s.id).single();if(T)throw T;i(U);const{data:H,error:j}=await oe.from("accounts").select(`
            *,
            account_types (
              name,
              description,
              features
            )
          `).eq("user_id",s.id).eq("status","active");if(j)throw j;o(H||[]);const{data:w,error:A}=await oe.from("transactions").select("*").in("account_id",H?.map(O=>O.id)||[]).order("created_at",{ascending:!1}).limit(10);if(A)throw A;const P=(w||[]).map(O=>({id:O.id,description:O.transaction_type||"Transaction",amount:parseFloat(O.amount||0),date:new Date(O.created_at).toLocaleDateString(),type:parseFloat(O.amount||0)>0?"income":"expense",category:O.transaction_type||"Other",status:"completed"}));u(P);const{data:V,error:_}=await oe.from("account_types").select("*");if(_)throw _;m(V||[])}catch(U){console.error("Error loading user data:",U),h(U instanceof Error?U.message:"Failed to load user data")}finally{b(!1)}})()},[s]);const x=async()=>{await e(),a("/login")},D=r.reduce((E,U)=>E+parseFloat(U.balance||0),0),N=l.filter(E=>E.type==="income").reduce((E,U)=>E+U.amount,0),C=Math.abs(l.filter(E=>E.type==="expense").reduce((E,U)=>E+U.amount,0)),y=N>0?(N-C)/N*100:0,G=r.map(E=>({id:E.id,name:E.account_types?.name||E.account_number,type:"debit",balance:parseFloat(E.balance||0),cardNumber:E.account_number||"0000 0000 0000 0000",expiryDate:"12/26",color:E.account_types?.name?.toLowerCase().includes("savings")?"green":"blue"})),k=[{id:"1",clientName:"Monthly Utilities",amount:250,dueDate:"2025-01-25",status:"pending",invoiceNumber:"UTIL-001",description:"Electricity, Water, Internet"},{id:"2",clientName:"Credit Card Payment",amount:1800,dueDate:"2025-01-30",status:"pending",invoiceNumber:"CC-002",description:"Monthly credit card statement"},{id:"3",clientName:"Insurance Premium",amount:320,dueDate:"2025-01-20",status:"paid",invoiceNumber:"INS-003",description:"Home insurance monthly premium"}];return d?t.jsxDEV("div",{className:"min-h-screen bg-gray-50",children:[t.jsxDEV("header",{className:"bg-white/90 backdrop-blur border-b sticky top-0 z-30 px-6 py-4",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV(Me,{className:"h-6 w-48 mb-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:204,columnNumber:15},this),t.jsxDEV(Me,{className:"h-4 w-64"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:205,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:203,columnNumber:13},this),t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV(Me,{className:"h-9 w-64"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:208,columnNumber:15},this),t.jsxDEV(Me,{className:"h-9 w-9 rounded"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:209,columnNumber:15},this),t.jsxDEV(Me,{className:"h-9 w-9 rounded"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:210,columnNumber:15},this),t.jsxDEV(Me,{className:"h-9 w-9 rounded"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:211,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:207,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:202,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:201,columnNumber:9},this),t.jsxDEV("div",{className:"p-6 max-w-7xl mx-auto space-y-8",children:[t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:[...Array(4)].map((E,U)=>t.jsxDEV(F,{children:t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV(Me,{className:"h-8 w-8 rounded-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:221,columnNumber:21},this),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV(Me,{className:"h-3 w-24 mb-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:223,columnNumber:23},this),t.jsxDEV(Me,{className:"h-5 w-28"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:224,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:222,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:220,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:219,columnNumber:17},this)},U,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:218,columnNumber:15},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:216,columnNumber:11},this),t.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[t.jsxDEV(F,{className:"lg:col-span-2",children:[t.jsxDEV(z,{children:t.jsxDEV(Me,{className:"h-5 w-56"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:235,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:234,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-4",children:[...Array(4)].map((E,U)=>t.jsxDEV("div",{className:"flex items-center justify-between p-3 border rounded-lg",children:[t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV(Me,{className:"h-8 w-8 rounded-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:241,columnNumber:23},this),t.jsxDEV("div",{children:[t.jsxDEV(Me,{className:"h-4 w-32 mb-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:243,columnNumber:25},this),t.jsxDEV(Me,{className:"h-3 w-40"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:244,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:242,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:240,columnNumber:21},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV(Me,{className:"h-4 w-16 mb-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:248,columnNumber:23},this),t.jsxDEV(Me,{className:"h-3 w-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:249,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:247,columnNumber:21},this)]},U,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:239,columnNumber:19},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:237,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:233,columnNumber:13},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(Me,{className:"h-5 w-40"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:257,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:256,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-3",children:[...Array(3)].map((E,U)=>t.jsxDEV(Me,{className:"h-9 w-full"},U,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:261,columnNumber:19},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:259,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:255,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:232,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:215,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:200,columnNumber:7},this):f?t.jsxDEV("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("p",{className:"text-red-600 mb-4",children:["Error loading dashboard: ",f]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:275,columnNumber:11},this),t.jsxDEV(L,{onClick:()=>window.location.reload(),children:"Retry"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:276,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:274,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:273,columnNumber:7},this):t.jsxDEV("div",{className:"min-h-screen bg-gray-50",children:[t.jsxDEV("header",{className:"bg-white/90 backdrop-blur border-b sticky top-0 z-30 px-6 py-4",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("h1",{className:"text-2xl font-bold text-gray-900",children:"Financial Dashboard"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:288,columnNumber:13},this),t.jsxDEV("p",{className:"text-sm text-gray-600",children:["Welcome back, ",n?.first_name||s?.email?.split("@")[0]||"User","! Here's what's happening with your finances."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:289,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:287,columnNumber:11},this),t.jsxDEV("div",{className:"flex items-center space-x-4",children:[t.jsxDEV("div",{className:"relative",children:[t.jsxDEV(hl,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:296,columnNumber:15},this),t.jsxDEV(re,{placeholder:"Search transactions...",className:"pl-10 w-64"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:297,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:295,columnNumber:13},this),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"relative",children:[t.jsxDEV(Ho,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:303,columnNumber:15},this),t.jsxDEV(He,{className:"absolute -top-1 -right-1 h-5 w-5 rounded-full bg-red-500 text-white text-xs",children:"3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:304,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:302,columnNumber:13},this),t.jsxDEV(L,{variant:"ghost",size:"sm",onClick:()=>a("/dashboard"),children:"Back to Classic"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:308,columnNumber:13},this),t.jsxDEV(L,{variant:"ghost",size:"sm",children:t.jsxDEV(yc,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:312,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:311,columnNumber:13},this),t.jsxDEV(L,{variant:"ghost",size:"sm",children:t.jsxDEV(Za,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:315,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:314,columnNumber:13},this),t.jsxDEV(L,{variant:"ghost",size:"sm",onClick:x,children:t.jsxDEV(Yg,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:318,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:317,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:294,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:286,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:285,columnNumber:7},this),t.jsxDEV("div",{className:"p-6",children:t.jsxDEV("div",{className:"max-w-7xl mx-auto",children:t.jsxDEV(Fr,{value:g,onValueChange:p,className:"mb-8",children:[t.jsxDEV(qi,{className:"grid w-full grid-cols-4",children:[t.jsxDEV(Ps,{value:"overview",children:"Overview"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:329,columnNumber:15},this),t.jsxDEV(Ps,{value:"accounts",children:"Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:330,columnNumber:15},this),t.jsxDEV(Ps,{value:"transactions",children:"Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:331,columnNumber:15},this),t.jsxDEV(Ps,{value:"analytics",children:"Analytics"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:332,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:328,columnNumber:13},this),t.jsxDEV(As,{value:"overview",className:"space-y-8",children:[t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[t.jsxDEV(Qt,{title:"Total Balance",value:Qe(D),change:12.5,changeType:"increase",icon:"wallet"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:338,columnNumber:17},this),t.jsxDEV(Qt,{title:"Monthly Income",value:Qe(N),change:8.2,changeType:"increase",icon:"dollar"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:345,columnNumber:17},this),t.jsxDEV(Qt,{title:"Monthly Expenses",value:Qe(C),change:-3.1,changeType:"decrease",icon:"credit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:352,columnNumber:17},this),t.jsxDEV(Qt,{title:"Savings Rate",value:`${y.toFixed(1)}%`,change:5.2,changeType:"increase",icon:"savings"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:359,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:337,columnNumber:15},this),t.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[t.jsxDEV("div",{className:"lg:col-span-2",children:t.jsxDEV(yv,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:372,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:371,columnNumber:17},this),t.jsxDEV("div",{children:t.jsxDEV(Gv,{transactions:l,title:"Recent Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:377,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:376,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:369,columnNumber:15},this),t.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[t.jsxDEV(E5,{wallets:G},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:387,columnNumber:17},this),t.jsxDEV(L5,{invoices:k},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:390,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:385,columnNumber:15},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t.jsxDEV(Qt,{title:"Upcoming Payments",value:Qe(550.25),change:-2.1,changeType:"decrease",className:"bg-gradient-to-br from-blue-50 to-blue-100 border-blue-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:395,columnNumber:17},this),t.jsxDEV(Qt,{title:"Investment Returns",value:Qe(250.8),change:15.3,changeType:"increase",className:"bg-gradient-to-br from-green-50 to-green-100 border-green-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:402,columnNumber:17},this),t.jsxDEV(Qt,{title:"Credit Score",value:"785",change:12,changeType:"increase",className:"bg-gradient-to-br from-purple-50 to-purple-100 border-purple-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:409,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:394,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:335,columnNumber:13},this),t.jsxDEV(As,{value:"accounts",className:"space-y-8",children:t.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center space-x-2",children:[t.jsxDEV(Gr,{className:"h-5 w-5 text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:424,columnNumber:23},this),t.jsxDEV("span",{children:"Your Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:425,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:423,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:422,columnNumber:19},this),t.jsxDEV(B,{className:"space-y-4",children:r.map(E=>t.jsxDEV("div",{className:"flex items-center justify-between p-4 border rounded-lg hover:bg-gray-50 transition-colors",children:[t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("div",{className:"font-medium",children:E.account_types?.name||"Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:432,columnNumber:27},this),t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV("div",{className:"text-sm text-gray-500 font-mono",children:E.account_number||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:434,columnNumber:29},this),E.account_number&&t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-5 w-5 p-0",onClick:async U=>{U.stopPropagation();try{await navigator.clipboard.writeText(E.account_number),rs.success("Account number copied!")}catch{rs.error("Failed to copy")}},title:"Copy account number",children:t.jsxDEV(xr,{className:"h-3 w-3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:453,columnNumber:33},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:438,columnNumber:31},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:433,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:431,columnNumber:25},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("div",{className:"font-semibold",children:Qe(parseFloat(E.balance||0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:459,columnNumber:27},this),t.jsxDEV("div",{className:"text-sm text-gray-500",children:E.currency},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:460,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:458,columnNumber:25},this)]},E.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:430,columnNumber:23},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:428,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:421,columnNumber:17},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center space-x-2",children:[t.jsxDEV(Ke,{className:"h-5 w-5 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:470,columnNumber:23},this),t.jsxDEV("span",{children:"Account Summary"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:471,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:469,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:468,columnNumber:19},this),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-gray-600",children:"Total Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:476,columnNumber:23},this),t.jsxDEV("span",{className:"font-semibold",children:r.length},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:477,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:475,columnNumber:21},this),t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-gray-600",children:"Active Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:480,columnNumber:23},this),t.jsxDEV("span",{className:"font-semibold text-green-600",children:r.filter(E=>E.status==="active").length},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:481,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:479,columnNumber:21},this),t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-gray-600",children:"Total Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:484,columnNumber:23},this),t.jsxDEV("span",{className:"font-semibold",children:Qe(D)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:485,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:483,columnNumber:21},this),t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-gray-600",children:"Average Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:488,columnNumber:23},this),t.jsxDEV("span",{className:"font-semibold",children:Qe(r.length?D/r.length:0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:489,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:487,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:474,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:467,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:420,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:419,columnNumber:13},this),t.jsxDEV(As,{value:"transactions",className:"space-y-8",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center space-x-2",children:[t.jsxDEV(Sa,{className:"h-5 w-5 text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:502,columnNumber:21},this),t.jsxDEV("span",{children:"All Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:503,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:501,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:500,columnNumber:17},this),t.jsxDEV(B,{children:t.jsxDEV(Gv,{transactions:l,title:"All Transactions",showViewAll:!1},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:507,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:506,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:499,columnNumber:15},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t.jsxDEV(F,{children:t.jsxDEV(B,{className:"pt-6",children:t.jsxDEV("div",{className:"flex items-center",children:[t.jsxDEV(Sa,{className:"h-8 w-8 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:519,columnNumber:23},this),t.jsxDEV("div",{className:"ml-4",children:[t.jsxDEV("p",{className:"text-sm font-medium text-gray-600",children:"Total Income"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:521,columnNumber:25},this),t.jsxDEV("p",{className:"text-2xl font-bold text-gray-900",children:Qe(N)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:522,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:520,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:518,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:517,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:516,columnNumber:17},this),t.jsxDEV(F,{children:t.jsxDEV(B,{className:"pt-6",children:t.jsxDEV("div",{className:"flex items-center",children:[t.jsxDEV(Yg,{className:"h-8 w-8 text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:531,columnNumber:23},this),t.jsxDEV("div",{className:"ml-4",children:[t.jsxDEV("p",{className:"text-sm font-medium text-gray-600",children:"Total Expenses"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:533,columnNumber:25},this),t.jsxDEV("p",{className:"text-2xl font-bold text-gray-900",children:Qe(C)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:534,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:532,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:530,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:529,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:528,columnNumber:17},this),t.jsxDEV(F,{children:t.jsxDEV(B,{className:"pt-6",children:t.jsxDEV("div",{className:"flex items-center",children:[t.jsxDEV(Xs,{className:"h-8 w-8 text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:543,columnNumber:23},this),t.jsxDEV("div",{className:"ml-4",children:[t.jsxDEV("p",{className:"text-sm font-medium text-gray-600",children:"Net Income"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:545,columnNumber:25},this),t.jsxDEV("p",{className:"text-2xl font-bold text-gray-900",children:Qe(N-C)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:546,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:544,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:542,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:541,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:540,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:515,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:498,columnNumber:13},this),t.jsxDEV(As,{value:"analytics",className:"space-y-8",children:[t.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center space-x-2",children:[t.jsxDEV(Ke,{className:"h-5 w-5 text-purple-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:559,columnNumber:23},this),t.jsxDEV("span",{children:"Financial Analytics"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:560,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:558,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:557,columnNumber:19},this),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-gray-600",children:"Monthly Savings Rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:565,columnNumber:23},this),t.jsxDEV("span",{className:"font-semibold",children:[y.toFixed(1),"%"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:566,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:564,columnNumber:21},this),t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-gray-600",children:"Expense Ratio"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:569,columnNumber:23},this),t.jsxDEV("span",{className:"font-semibold",children:[N>0?(C/N*100).toFixed(1):0,"%"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:570,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:568,columnNumber:21},this),t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-gray-600",children:"Avg Transaction Size"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:573,columnNumber:23},this),t.jsxDEV("span",{className:"font-semibold",children:Qe(l.length?l.reduce((E,U)=>E+Math.abs(U.amount),0)/l.length:0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:574,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:572,columnNumber:21},this),t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("span",{className:"text-gray-600",children:"Transaction Frequency"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:583,columnNumber:23},this),t.jsxDEV("span",{className:"font-semibold",children:[l.length," this period"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:584,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:582,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:563,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:556,columnNumber:17},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center space-x-2",children:[t.jsxDEV(Da,{className:"h-5 w-5 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:592,columnNumber:23},this),t.jsxDEV("span",{children:"Savings Goals"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:593,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:591,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:590,columnNumber:19},this),t.jsxDEV(B,{className:"space-y-4",children:t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"flex justify-between text-sm mb-1",children:[t.jsxDEV("span",{children:"Emergency Fund"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:600,columnNumber:27},this),t.jsxDEV("span",{children:`${Qe(5e3)} / ${Qe(1e4)}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:601,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:599,columnNumber:25},this),t.jsxDEV("div",{className:"w-full bg-gray-200 rounded-full h-2",children:t.jsxDEV("div",{className:"bg-green-600 h-2 rounded-full w-1/2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:604,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:603,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:598,columnNumber:23},this),t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"flex justify-between text-sm mb-1",children:[t.jsxDEV("span",{children:"Vacation Fund"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:609,columnNumber:27},this),t.jsxDEV("span",{children:`${Qe(2500)} / ${Qe(5e3)}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:610,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:608,columnNumber:25},this),t.jsxDEV("div",{className:"w-full bg-gray-200 rounded-full h-2",children:t.jsxDEV("div",{className:"bg-blue-600 h-2 rounded-full w-1/2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:613,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:612,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:607,columnNumber:23},this),t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"flex justify-between text-sm mb-1",children:[t.jsxDEV("span",{children:"Car Down Payment"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:618,columnNumber:27},this),t.jsxDEV("span",{children:`${Qe(8e3)} / ${Qe(15e3)}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:619,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:617,columnNumber:25},this),t.jsxDEV("div",{className:"w-full bg-gray-200 rounded-full h-2",children:t.jsxDEV("div",{className:"bg-purple-600 h-2 rounded-full w-[53.33%]"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:622,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:621,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:616,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:597,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:596,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:589,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:555,columnNumber:15},this),t.jsxDEV(yv,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:630,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:554,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:327,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:325,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:324,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard2.tsx",lineNumber:283,columnNumber:5},this)}const Qk=[{id:"overview",label:"Overview",path:"/dashboard3"},{id:"accounts",label:"Accounts",path:"/dashboard3/accounts"},{id:"transfers",label:"Transfers",path:"/dashboard3/transfers"},{id:"pay-bills",label:"Pay Bills",path:"/dashboard3/pay-bills"},{id:"loan",label:"Apply For Loan",path:"/dashboard3/loan"},{id:"contact",label:"Contact Us",path:"/dashboard3/contact"}],F0e=[{id:"deposit-requests",label:"Deposit Requests",path:"/dashboard3/admin/deposit-requests"},{id:"account-requests",label:"Account Requests",path:"/dashboard3/admin/account-requests"}],B0e=({displayName:e,avatarUrl:s,timeRemaining:a,isAdmin:n,onLogout:i,formatTimer:r,activeNav:o,lastLogOn:l,onProfileClick:u,onMessagesClick:c,onAlertsClick:m,onHelpClick:d})=>{const b=Js(),f=an(),[h,g]=S.useState(!1),{user:p}=at(),[x,D]=S.useState(null);S.useEffect(()=>{(async()=>{if(p)try{const{data:T}=await oe.from("profiles").select("avatar_url, first_name").eq("id",p.id).maybeSingle();T&&D(T)}catch(T){console.error("Error loading profile for header:",T)}})()},[p]);const N=()=>{u?u():b("/dashboard3/profile"),g(!1)},C=S.useMemo(()=>n?[...Qk,...F0e]:Qk,[n]),y=S.useMemo(()=>{const U=[{id:"profile",label:"Profile",path:"/dashboard3/profile",icon:Za},{id:"messages",label:"Messages",path:"/dashboard3/messages",icon:ra},{id:"alerts",label:"Alerts",path:"/dashboard3/alerts",icon:Ho}];return n&&U.push({id:"admin",label:"Admin",path:"/admin",icon:Za}),U},[n]),G=()=>l||new Date().toLocaleString("en-GB",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"})+" PM",k=U=>{b(U.path),g(!1)},E=U=>U==="overview"?f.pathname==="/dashboard3"||f.pathname==="/dashboard3/":U==="deposit-requests"?f.pathname.includes("/admin/deposit-requests"):U==="account-requests"?f.pathname.includes("/admin/account-requests"):f.pathname.startsWith(`/dashboard3/${U}`);return t.jsxDEV("div",{className:"sticky top-0 z-50 bg-white border-b border-gray-200 shadow-sm",children:[t.jsxDEV("div",{className:"bg-white border-b border-gray-200",children:t.jsxDEV("div",{className:"container mx-auto px-4 lg:px-6",children:t.jsxDEV("div",{className:"flex items-center justify-between py-3",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:t.jsxDEV(kr,{showTagline:!0,size:"small",darkBackground:!1},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:157,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:156,columnNumber:13},void 0),t.jsxDEV("div",{className:"hidden lg:flex items-center gap-4",children:[t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("div",{className:"text-sm font-semibold text-gray-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:163,columnNumber:17},void 0),t.jsxDEV("div",{className:"text-xs text-gray-600 flex items-center gap-1",children:[t.jsxDEV("div",{className:"w-2 h-2 bg-green-500 rounded-full animate-pulse"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:165,columnNumber:19},void 0),"Auto log off in: ",r(a)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:164,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:162,columnNumber:15},void 0),t.jsxDEV("div",{className:"relative",children:[t.jsxDEV(L,{variant:"ghost",size:"icon",className:"h-auto p-0 hover:bg-transparent",onClick:N,"aria-label":"Go to profile",children:t.jsxDEV(ul,{className:"w-10 h-10 border-2 border-gray-200 ring-2 ring-gray-100",children:[t.jsxDEV(xc,{src:x?.avatar_url||s,alt:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:178,columnNumber:21},void 0),t.jsxDEV(cl,{className:"bg-gray-100 text-gray-700 font-semibold",children:(x?.first_name||e||"U")[0].toUpperCase()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:179,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:177,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:170,columnNumber:17},void 0),n&&t.jsxDEV("div",{className:"absolute -top-1 -right-1 w-4 h-4 bg-gatesib-yellow rounded-full flex items-center justify-center",children:t.jsxDEV("span",{className:"text-xs font-bold text-gatesib-dark-green",children:"A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:186,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:185,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:169,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:161,columnNumber:13},void 0),t.jsxDEV("div",{className:"lg:hidden flex items-center gap-3",children:[t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("div",{className:"text-xs font-semibold text-gray-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:195,columnNumber:17},void 0),t.jsxDEV("div",{className:"text-[10px] text-gray-500 flex items-center gap-1",children:[t.jsxDEV("div",{className:"w-1.5 h-1.5 bg-green-500 rounded-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:197,columnNumber:19},void 0),r(a)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:196,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:194,columnNumber:15},void 0),t.jsxDEV("div",{className:"relative",children:[t.jsxDEV(L,{variant:"ghost",size:"icon",className:"h-auto p-0 hover:bg-transparent",onClick:N,"aria-label":"Go to profile",children:t.jsxDEV(ul,{className:"w-9 h-9 border-2 border-gray-200",children:[t.jsxDEV(xc,{src:x?.avatar_url||s,alt:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:210,columnNumber:21},void 0),t.jsxDEV(cl,{className:"bg-gray-100 text-gray-700 font-semibold text-xs",children:(x?.first_name||e||"U")[0].toUpperCase()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:211,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:209,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:202,columnNumber:17},void 0),n&&t.jsxDEV("div",{className:"absolute -top-0.5 -right-0.5 w-3.5 h-3.5 bg-gatesib-yellow rounded-full flex items-center justify-center",children:t.jsxDEV("span",{className:"text-[10px] font-bold text-gatesib-dark-green",children:"A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:218,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:217,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:201,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:193,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:155,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:154,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:153,columnNumber:7},void 0),t.jsxDEV("nav",{className:"bg-white border-b border-gray-100",children:t.jsxDEV("div",{className:"container mx-auto px-4 lg:px-6",children:[t.jsxDEV("div",{className:"hidden lg:flex items-center justify-between py-2",children:[t.jsxDEV("div",{className:"flex items-center gap-1",children:C.map(U=>t.jsxDEV(L,{variant:"ghost",size:"sm",className:`px-4 py-2.5 h-auto font-medium rounded-lg transition-all duration-200 ${E(U.id)?"bg-gatesib-green text-white shadow-md hover:bg-gatesib-dark-green":"text-gray-700 hover:bg-gatesib-light-green/20 hover:text-gatesib-dark-green"}`,onClick:()=>k(U),children:U.label},U.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:234,columnNumber:17},void 0))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:232,columnNumber:13},void 0),t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV("div",{className:"hidden xl:flex items-center gap-3 px-4 py-2 bg-gray-50 rounded-lg border border-gray-200",children:[t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV("div",{className:"w-2 h-2 bg-green-500 rounded-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:254,columnNumber:19},void 0),t.jsxDEV("span",{className:"text-xs font-medium text-gray-600",children:"Online"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:255,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:253,columnNumber:17},void 0),t.jsxDEV("div",{className:"w-px h-4 bg-gray-300"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:257,columnNumber:17},void 0),t.jsxDEV("div",{className:"text-xs text-gray-600",children:[t.jsxDEV("span",{className:"font-medium",children:"Last Log On:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:259,columnNumber:19},void 0)," ",G()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:258,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:252,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex items-center gap-1 p-1 bg-gray-50 rounded-lg border border-gray-200",children:[t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-9 w-9 p-0 text-gray-600 hover:text-gatesib-green hover:bg-gatesib-light-green/20",onClick:N,"aria-label":"Profile",children:t.jsxDEV(Za,{className:"w-4 h-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:272,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:265,columnNumber:17},void 0),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-9 w-9 p-0 text-gray-600 hover:text-gatesib-green hover:bg-gatesib-light-green/20",onClick:()=>{c?c():b("/dashboard3/messages")},"aria-label":"Messages",children:t.jsxDEV(ra,{className:"w-4 h-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:287,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:274,columnNumber:17},void 0),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-9 w-9 p-0 text-gray-600 hover:text-gatesib-green hover:bg-gatesib-light-green/20",onClick:()=>{m?m():b("/dashboard3/alerts")},"aria-label":"Alerts",children:t.jsxDEV(Ho,{className:"w-4 h-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:302,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:289,columnNumber:17},void 0),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-9 w-9 p-0 text-gray-600 hover:text-gatesib-green hover:bg-gatesib-light-green/20",onClick:()=>d?.(),"aria-label":"Help",children:t.jsxDEV(Cu,{className:"w-4 h-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:311,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:304,columnNumber:17},void 0),t.jsxDEV("div",{className:"w-px h-6 bg-gray-300 mx-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:313,columnNumber:17},void 0),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-9 w-9 p-0 text-red-500 hover:text-red-600 hover:bg-red-50",onClick:i,"aria-label":"Log Off",children:t.jsxDEV(Qg,{className:"w-4 h-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:321,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:314,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:264,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:250,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:231,columnNumber:11},void 0),t.jsxDEV("div",{className:"lg:hidden",children:t.jsxDEV("div",{className:"flex items-center justify-between py-2 gap-2",children:[t.jsxDEV(dL,{open:h,onOpenChange:g,children:[t.jsxDEV(bL,{asChild:!0,children:t.jsxDEV(L,{variant:"outline",size:"sm",className:"border-gatesib-green text-gatesib-green hover:bg-gatesib-green hover:text-white flex-shrink-0","aria-label":"Open navigation menu",children:[t.jsxDEV(RE,{className:"w-4 h-4 mr-1.5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:339,columnNumber:21},void 0),t.jsxDEV("span",{className:"hidden xs:inline",children:"Menu"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:340,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:333,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:332,columnNumber:17},void 0),t.jsxDEV(tN,{side:"left",className:"w-[280px] sm:w-[320px] bg-white border-r border-gray-200 p-0",children:t.jsxDEV("div",{className:"flex flex-col h-full",children:[t.jsxDEV("div",{className:"bg-gradient-to-r from-gatesib-dark-green to-gatesib-green px-4 py-4 border-b border-green-200",children:t.jsxDEV("div",{className:"text-white",children:[t.jsxDEV("div",{className:"font-semibold mb-1 text-sm",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:348,columnNumber:25},void 0),t.jsxDEV("div",{className:"text-xs text-green-100 flex items-center gap-1.5",children:[t.jsxDEV("div",{className:"w-1.5 h-1.5 bg-green-400 rounded-full animate-pulse"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:350,columnNumber:27},void 0),"Auto log off in: ",r(a)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:349,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:347,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:346,columnNumber:21},void 0),t.jsxDEV("nav",{className:"flex-1 overflow-y-auto py-2",children:[C.map(U=>t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(L,{variant:"ghost",className:`w-full justify-start rounded-md mx-1 mb-0.5 h-10 px-3 text-sm font-medium transition-all ${E(U.id)?"bg-gatesib-green text-white shadow-sm":"text-gray-700 hover:bg-gatesib-light-green/20 hover:text-gatesib-dark-green"}`,onClick:()=>k(U),children:U.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:361,columnNumber:27},void 0)},U.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:360,columnNumber:25},void 0)),t.jsxDEV("div",{className:"border-t border-gray-200 my-2 mx-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:375,columnNumber:23},void 0),y.map(U=>t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(L,{variant:"ghost",className:"w-full justify-start rounded-md mx-1 mb-0.5 h-10 px-3 text-sm text-gray-700 hover:bg-gray-50",onClick:()=>{U.id==="profile"&&u?u():U.id==="messages"&&c?c():U.id==="alerts"&&m?m():b(U.path)},children:[t.jsxDEV(U.icon,{className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:395,columnNumber:29},void 0),U.label]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:380,columnNumber:27},void 0)},U.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:379,columnNumber:25},void 0)),t.jsxDEV(ca,{asChild:!0,children:t.jsxDEV(L,{variant:"ghost",className:"w-full justify-start rounded-md mx-1 mb-0.5 h-10 px-3 text-sm text-gray-700 hover:bg-gray-50",onClick:()=>{d&&d()},children:[t.jsxDEV(Cu,{className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:412,columnNumber:27},void 0),"Help"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:403,columnNumber:25},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:402,columnNumber:23},void 0),t.jsxDEV(L,{variant:"ghost",className:"w-full justify-start rounded-md mx-1 h-10 px-3 text-sm text-red-600 hover:bg-red-50 font-medium",onClick:async()=>{if(g(!1),i)try{const U=i();U&&typeof U=="object"&&"then"in U&&typeof U.then=="function"&&await U}catch(U){console.error("[UnifiedDashboardHeader] Logout error:",U)}},children:[t.jsxDEV(Qg,{className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:435,columnNumber:25},void 0),"Log Off"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:418,columnNumber:23},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:357,columnNumber:21},void 0),t.jsxDEV("div",{className:"border-t border-gray-200 bg-gray-50 px-3 py-2",children:t.jsxDEV("div",{className:"text-xs text-gray-600",children:[t.jsxDEV("div",{className:"font-medium mb-0.5",children:"Last Log On"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:443,columnNumber:25},void 0),t.jsxDEV("div",{className:"text-[10px]",children:G()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:444,columnNumber:25},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:442,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:441,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:344,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:343,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:331,columnNumber:15},void 0),t.jsxDEV("div",{className:"flex-1 min-w-0",children:t.jsxDEV("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 bg-gatesib-light-green/20 rounded-lg border border-gatesib-green/30 w-full justify-center",children:t.jsxDEV("span",{className:"text-xs sm:text-sm font-semibold text-gatesib-dark-green truncate",children:C.find(U=>E(U.id))?.label||"Overview"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:454,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:453,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:452,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:329,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:328,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:229,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:228,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/DashboardHeader.tsx",lineNumber:151,columnNumber:5},void 0)};function q0e(){const{user:e}=at(),s=Js(),[a,n]=v.useState([]),[i,r]=v.useState(!0),[o,l]=v.useState(null),[u,c]=v.useState([]),[m,d]=v.useState([]),[b,f]=v.useState([]),[h,g]=v.useState(!1);v.useEffect(()=>{(async()=>{if(e)try{r(!0);const{data:C,error:y}=await oe.from("accounts").select(`
            *,
            account_types (
              name,
              description
            )
          `).eq("user_id",e.id).eq("status","active");if(y)throw y;const G=C||[];n(G);const k=new Map;G.forEach(H=>{H.id&&k.set(H.id,H.account_number||"N/A")});const E=G.map(H=>H.id);if(E.length>0){const{data:H,error:j}=await oe.from("transactions").select("id, account_id, amount, description, status, created_at").in("account_id",E).eq("status","pending").order("created_at",{ascending:!1});if(!j){const w=(H||[]).map(A=>({id:A.id,account_number:k.get(A.account_id)||"N/A",amount:Number(A.amount),description:A.description,created_at:A.created_at}));c(w)}}else c([]);const{data:U,error:T}=await oe.from("account_requests").select(`
            id,
            status,
            initial_deposit,
            requested_currency,
            notes,
            created_at,
            account_types (
              name
            )
          `).eq("user_id",e.id).eq("status","pending").order("created_at",{ascending:!1});if(!T&&U){const H=U.map(j=>({id:j.id,account_type_name:j.account_types?.name||"Unknown",initial_deposit:Number(j.initial_deposit||0),requested_currency:j.requested_currency||"USD",notes:j.notes,status:j.status,created_at:j.created_at}));d(H)}else T&&console.error("Error loading account requests:",T);if(E.length>0){g(!0);const{data:H,error:j}=await oe.from("transactions").select(`
              id,
              account_id,
              transaction_type,
              amount,
              description,
              balance_after,
              created_at,
              status
            `).in("account_id",E).eq("status","completed").order("created_at",{ascending:!1}).limit(50);if(!j&&H){const w=H.map(A=>({id:A.id,account_id:A.account_id,account_number:k.get(A.account_id)||"N/A",transaction_type:A.transaction_type,amount:Number(A.amount),description:A.description,balance_after:Number(A.balance_after||0),created_at:A.created_at,status:A.status}));f(w)}else j&&console.error("Error loading transactions:",j);g(!1)}else f([]),g(!1)}catch(C){console.error("Error loading accounts:",C),l(C instanceof Error?C.message:"Failed to load accounts")}finally{r(!1)}})()},[e]);const p=async N=>{if(N)try{await navigator.clipboard.writeText(N),rs.success("Account number copied to clipboard!")}catch{rs.error("Failed to copy account number")}},x=N=>{const C=typeof N=="string"?parseFloat(N):N;if(!isFinite(C))return"€0.00";try{return new Intl.NumberFormat("en-US",{style:"currency",currency:"EUR"}).format(C)}catch{return`€${C.toFixed(2)}`}},D=N=>N.charAt(0).toUpperCase()+N.slice(1);return i?t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV(Me,{className:"h-8 w-64"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:223,columnNumber:9},this),t.jsxDEV(Me,{className:"h-64 w-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:224,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:222,columnNumber:7},this):o?t.jsxDEV(F,{children:t.jsxDEV(B,{className:"pt-6",children:t.jsxDEV("p",{className:"text-red-600",children:o},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:233,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:232,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:231,columnNumber:7},this):t.jsxDEV("div",{className:"space-y-4 sm:space-y-6 px-2 sm:px-0",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{className:"p-4 sm:p-6",children:t.jsxDEV("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3 sm:gap-0",children:[t.jsxDEV(K,{className:"text-lg sm:text-xl",children:"Account List"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:244,columnNumber:13},this),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-2 w-full sm:w-auto",children:[a.length>0&&t.jsxDEV(L,{onClick:()=>s("/dashboard3/request-deposit"),className:"bg-black text-yellow-400 hover:bg-gray-800 w-full sm:w-auto text-sm sm:text-base",children:"Request Deposit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:247,columnNumber:17},this),t.jsxDEV(L,{onClick:()=>s("/dashboard3/request-account"),variant:"outline",className:"w-full sm:w-auto text-sm sm:text-base",children:"Request New Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:254,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:245,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:243,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:242,columnNumber:9},this),t.jsxDEV(B,{className:"p-4 sm:p-6",children:[t.jsxDEV("div",{className:"block sm:hidden space-y-3",children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground mb-2",children:"Current, Savings and Non-Residencial Acc"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:267,columnNumber:13},this),a.length>0?a.map(N=>t.jsxDEV("div",{className:"border rounded-lg p-3 space-y-2",children:[t.jsxDEV("div",{className:"flex items-start justify-between",children:[t.jsxDEV("div",{className:"flex-1 min-w-0",children:t.jsxDEV(L,{variant:"link",className:"p-0 h-auto text-left justify-start font-medium text-sm",onClick:()=>s("/dashboard3/accounts?transaction"),children:t.jsxDEV("span",{className:"truncate block",children:[N.account_types?.name||"Account"," -"," ",t.jsxDEV("span",{className:"font-mono",children:N.account_number||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:280,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:278,columnNumber:25},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:273,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:272,columnNumber:21},this),N.account_number&&t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 flex-shrink-0 ml-2",onClick:C=>{C.stopPropagation(),p(N.account_number)},title:"Copy account number",children:t.jsxDEV(xr,{className:"h-3 w-3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:295,columnNumber:25},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:285,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:271,columnNumber:19},this),t.jsxDEV("div",{className:"text-right font-semibold text-base",children:x(N.balance||"0")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:299,columnNumber:19},this)]},N.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:270,columnNumber:17},this)):t.jsxDEV("div",{className:"text-center py-8",children:t.jsxDEV("div",{className:"flex flex-col items-center gap-4",children:[t.jsxDEV("p",{className:"text-muted-foreground text-sm",children:"No accounts found. Request to open a new account."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:307,columnNumber:19},this),t.jsxDEV(L,{onClick:()=>s("/dashboard3/request-account"),className:"bg-black text-yellow-400 hover:bg-gray-800",children:"Request New Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:308,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:306,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:305,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:266,columnNumber:11},this),t.jsxDEV("div",{className:"hidden sm:block overflow-x-auto",children:t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{className:"text-sm",children:"Current, Savings and Non-Residencial Acc"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:324,columnNumber:19},this),t.jsxDEV(pe,{className:"text-right text-sm",children:"Available Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:325,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:323,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:322,columnNumber:15},this),t.jsxDEV(Os,{children:a.length>0?a.map(N=>t.jsxDEV(Ee,{children:[t.jsxDEV(X,{children:t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(L,{variant:"link",className:"p-0 h-auto",onClick:()=>s("/dashboard3/accounts?transaction"),children:[N.account_types?.name||"Account"," -"," ",t.jsxDEV("span",{className:"font-mono",children:N.account_number||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:340,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:334,columnNumber:27},this),N.account_number&&t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:C=>{C.stopPropagation(),p(N.account_number)},title:"Copy account number",children:t.jsxDEV(xr,{className:"h-3 w-3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:353,columnNumber:31},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:343,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:333,columnNumber:25},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:332,columnNumber:23},this),t.jsxDEV(X,{className:"text-right font-semibold",children:x(N.balance||"0")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:358,columnNumber:23},this)]},N.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:331,columnNumber:21},this)):t.jsxDEV(Ee,{children:t.jsxDEV(X,{colSpan:2,className:"text-center py-8",children:t.jsxDEV("div",{className:"flex flex-col items-center gap-4",children:[t.jsxDEV("p",{className:"text-muted-foreground",children:"No accounts found. Request to open a new account."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:367,columnNumber:25},this),t.jsxDEV(L,{onClick:()=>s("/dashboard3/request-account"),className:"bg-black text-yellow-400 hover:bg-gray-800",children:"Request New Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:368,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:366,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:365,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:364,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:328,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:321,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:320,columnNumber:11},this),t.jsxDEV("div",{className:"mt-4 pt-4 border-t",children:[t.jsxDEV("div",{className:"block sm:hidden space-y-2",children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground mb-2",children:"Credit Cards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:386,columnNumber:15},this),t.jsxDEV("div",{className:"border rounded-lg p-3 flex items-center justify-between",children:[t.jsxDEV(L,{variant:"link",className:"p-0 h-auto text-orange-600 text-sm",onClick:()=>s("/dashboard3/credit-card/apply"),children:"(Apply)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:388,columnNumber:17},this),t.jsxDEV("span",{className:"text-sm text-muted-foreground",children:"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:395,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:387,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:385,columnNumber:13},this),t.jsxDEV("div",{className:"hidden sm:block",children:t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{className:"text-sm",children:"Credit Cards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:404,columnNumber:21},this),t.jsxDEV(pe,{className:"text-right text-sm",children:"Available Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:405,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:403,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:402,columnNumber:17},this),t.jsxDEV(Os,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(X,{children:t.jsxDEV(L,{variant:"link",className:"p-0 h-auto text-orange-600",onClick:()=>s("/dashboard3/credit-card/apply"),children:"(Apply)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:411,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:410,columnNumber:21},this),t.jsxDEV(X,{className:"text-right",children:"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:419,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:409,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:408,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:401,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:400,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:383,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:264,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:241,columnNumber:7},this),m.length>0&&t.jsxDEV(F,{children:[t.jsxDEV(z,{className:"p-4 sm:p-6",children:t.jsxDEV(K,{className:"text-lg sm:text-xl",children:"Pending Account Requests"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:432,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:431,columnNumber:11},this),t.jsxDEV(B,{className:"p-4 sm:p-6",children:[t.jsxDEV("div",{className:"block sm:hidden space-y-3",children:m.map(N=>t.jsxDEV("div",{className:"border rounded-lg p-3 space-y-2",children:[t.jsxDEV("div",{className:"flex items-start justify-between",children:[t.jsxDEV("div",{className:"flex-1 min-w-0",children:[t.jsxDEV("div",{className:"font-medium text-sm",children:N.account_type_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:441,columnNumber:23},this),t.jsxDEV("div",{className:"text-xs text-muted-foreground mt-1",children:new Date(N.created_at).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:442,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:440,columnNumber:21},this),t.jsxDEV(He,{variant:"outline",className:"bg-yellow-50 text-yellow-700 border-yellow-200 text-xs flex-shrink-0",children:"Pending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:450,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:439,columnNumber:19},this),t.jsxDEV("div",{className:"flex items-center justify-between pt-1 border-t",children:[t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Initial Deposit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:456,columnNumber:23},this),t.jsxDEV("div",{className:"font-semibold text-sm",children:x(String(N.initial_deposit))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:457,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:455,columnNumber:21},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Currency"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:460,columnNumber:23},this),t.jsxDEV("div",{className:"text-sm",children:N.requested_currency},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:461,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:459,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:454,columnNumber:19},this),N.notes&&t.jsxDEV("div",{className:"pt-1 border-t",children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Notes"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:466,columnNumber:23},this),t.jsxDEV("div",{className:"text-sm truncate",title:N.notes,children:N.notes},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:467,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:465,columnNumber:21},this)]},N.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:438,columnNumber:17},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:436,columnNumber:13},this),t.jsxDEV("div",{className:"hidden sm:block overflow-x-auto",children:t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{children:"Account Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:479,columnNumber:21},this),t.jsxDEV(pe,{children:"Initial Deposit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:480,columnNumber:21},this),t.jsxDEV(pe,{children:"Currency"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:481,columnNumber:21},this),t.jsxDEV(pe,{children:"Notes"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:482,columnNumber:21},this),t.jsxDEV(pe,{children:"Date Requested"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:483,columnNumber:21},this),t.jsxDEV(pe,{children:"Status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:484,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:478,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:477,columnNumber:17},this),t.jsxDEV(Os,{children:m.map(N=>t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:N.account_type_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:490,columnNumber:23},this),t.jsxDEV(X,{className:"font-semibold",children:x(String(N.initial_deposit))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:491,columnNumber:23},this),t.jsxDEV(X,{children:N.requested_currency},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:492,columnNumber:23},this),t.jsxDEV(X,{className:"max-w-xs truncate",title:N.notes||"",children:N.notes||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:493,columnNumber:23},this),t.jsxDEV(X,{children:new Date(N.created_at).toLocaleString()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:494,columnNumber:23},this),t.jsxDEV(X,{children:t.jsxDEV(He,{variant:"outline",className:"bg-yellow-50 text-yellow-700 border-yellow-200",children:"Pending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:495,columnNumber:28},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:495,columnNumber:23},this)]},N.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:489,columnNumber:21},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:487,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:476,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:475,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:434,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:430,columnNumber:9},this),u.length>0&&t.jsxDEV(F,{children:[t.jsxDEV(z,{className:"p-4 sm:p-6",children:t.jsxDEV(K,{className:"text-lg sm:text-xl",children:"Pending Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:509,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:508,columnNumber:11},this),t.jsxDEV(B,{className:"p-4 sm:p-6",children:[t.jsxDEV("div",{className:"block sm:hidden space-y-3",children:u.map(N=>t.jsxDEV("div",{className:"border rounded-lg p-3 space-y-2",children:[t.jsxDEV("div",{className:"flex items-start justify-between",children:[t.jsxDEV("div",{className:"flex-1 min-w-0",children:[t.jsxDEV("div",{className:"font-mono text-xs text-muted-foreground",children:[N.id.slice(0,8),"..."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:518,columnNumber:23},this),t.jsxDEV("div",{className:"font-mono text-sm mt-1",children:N.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:519,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:517,columnNumber:21},this),t.jsxDEV(He,{variant:"outline",className:"text-xs flex-shrink-0",children:"pending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:521,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:516,columnNumber:19},this),t.jsxDEV("div",{className:"flex items-center justify-between pt-1 border-t",children:[t.jsxDEV("div",{className:"flex-1 min-w-0",children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Description"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:525,columnNumber:23},this),t.jsxDEV("div",{className:"text-sm truncate",title:N.description||"",children:N.description||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:526,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:524,columnNumber:21},this),t.jsxDEV("div",{className:"text-right ml-4",children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:529,columnNumber:23},this),t.jsxDEV("div",{className:"font-semibold text-sm",children:x(String(N.amount))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:530,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:528,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:523,columnNumber:19},this),t.jsxDEV("div",{className:"text-xs text-muted-foreground pt-1 border-t",children:new Date(N.created_at).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:533,columnNumber:19},this)]},N.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:515,columnNumber:17},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:513,columnNumber:13},this),t.jsxDEV("div",{className:"hidden sm:block overflow-x-auto",children:t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{children:"Tx ID"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:551,columnNumber:21},this),t.jsxDEV(pe,{children:"Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:552,columnNumber:21},this),t.jsxDEV(pe,{children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:553,columnNumber:21},this),t.jsxDEV(pe,{children:"Description"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:554,columnNumber:21},this),t.jsxDEV(pe,{children:"Date"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:555,columnNumber:21},this),t.jsxDEV(pe,{children:"Status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:556,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:550,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:549,columnNumber:17},this),t.jsxDEV(Os,{children:u.map(N=>t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-mono text-xs",children:[N.id.slice(0,8),"..."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:562,columnNumber:23},this),t.jsxDEV(X,{className:"font-mono",children:N.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:563,columnNumber:23},this),t.jsxDEV(X,{className:"font-semibold",children:x(String(N.amount))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:564,columnNumber:23},this),t.jsxDEV(X,{children:N.description||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:565,columnNumber:23},this),t.jsxDEV(X,{children:new Date(N.created_at).toLocaleString()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:566,columnNumber:23},this),t.jsxDEV(X,{children:t.jsxDEV(He,{variant:"outline",children:"pending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:567,columnNumber:28},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:567,columnNumber:23},this)]},N.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:561,columnNumber:21},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:559,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:548,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:547,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:511,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:507,columnNumber:9},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{className:"p-4 sm:p-6",children:t.jsxDEV(K,{className:"text-lg sm:text-xl",children:"Transaction History"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:580,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:579,columnNumber:9},this),t.jsxDEV(B,{className:"p-4 sm:p-6",children:h?t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV(Me,{className:"h-12 w-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:585,columnNumber:15},this),t.jsxDEV(Me,{className:"h-12 w-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:586,columnNumber:15},this),t.jsxDEV(Me,{className:"h-12 w-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:587,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:584,columnNumber:13},this):b.length===0?t.jsxDEV("div",{className:"text-center py-8 text-muted-foreground",children:t.jsxDEV("p",{className:"text-sm sm:text-base",children:"No transaction history available."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:591,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:590,columnNumber:13},this):t.jsxDEV(t.Fragment,{children:[t.jsxDEV("div",{className:"block sm:hidden space-y-3",children:b.map(N=>{const C=N.transaction_type==="deposit"||N.transaction_type==="loan_disbursement",y=N.transaction_type==="withdrawal"||N.transaction_type==="transfer"||N.transaction_type==="payment";return t.jsxDEV("div",{className:"border rounded-lg p-3 space-y-2",children:[t.jsxDEV("div",{className:"flex items-start justify-between",children:[t.jsxDEV("div",{className:"flex-1 min-w-0",children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground",children:new Date(N.created_at).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:608,columnNumber:27},this),t.jsxDEV("div",{className:"font-mono text-xs mt-1 text-muted-foreground",children:N.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:617,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:607,columnNumber:25},this),t.jsxDEV(He,{variant:"outline",className:`text-xs flex-shrink-0 ${C?"bg-green-50 text-green-700 border-green-200":y?"bg-red-50 text-red-700 border-red-200":""}`,children:D(N.transaction_type)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:621,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:606,columnNumber:23},this),N.description&&t.jsxDEV("div",{className:"text-sm truncate",title:N.description,children:N.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:634,columnNumber:25},this),t.jsxDEV("div",{className:"flex items-center justify-between pt-1 border-t",children:[t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:640,columnNumber:27},this),t.jsxDEV("div",{className:"flex items-center gap-1 mt-1",children:[C?t.jsxDEV(Sa,{className:"h-3 w-3 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:643,columnNumber:31},this):y?t.jsxDEV(Nr,{className:"h-3 w-3 text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:645,columnNumber:31},this):null,t.jsxDEV("span",{className:`font-semibold text-sm ${C?"text-green-600":y?"text-red-600":"text-gray-600"}`,children:[C?"+":y?"-":"",x(String(N.amount))]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:647,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:641,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:639,columnNumber:25},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:661,columnNumber:27},this),t.jsxDEV("div",{className:"font-medium text-sm mt-1",children:x(String(N.balance_after))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:662,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:660,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:638,columnNumber:23},this)]},N.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:605,columnNumber:21},this)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:596,columnNumber:15},this),t.jsxDEV("div",{className:"hidden sm:block overflow-x-auto",children:t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{className:"text-sm",children:"Date"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:677,columnNumber:23},this),t.jsxDEV(pe,{className:"text-sm",children:"Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:678,columnNumber:23},this),t.jsxDEV(pe,{className:"text-sm",children:"Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:679,columnNumber:23},this),t.jsxDEV(pe,{className:"text-sm",children:"Description"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:680,columnNumber:23},this),t.jsxDEV(pe,{className:"text-right text-sm",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:681,columnNumber:23},this),t.jsxDEV(pe,{className:"text-right text-sm",children:"Balance After"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:682,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:676,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:675,columnNumber:19},this),t.jsxDEV(Os,{children:b.map(N=>{const C=N.transaction_type==="deposit"||N.transaction_type==="loan_disbursement",y=N.transaction_type==="withdrawal"||N.transaction_type==="transfer"||N.transaction_type==="payment";return t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"text-sm",children:new Date(N.created_at).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:695,columnNumber:27},this),t.jsxDEV(X,{className:"font-mono text-sm",children:N.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:704,columnNumber:27},this),t.jsxDEV(X,{children:t.jsxDEV(He,{variant:"outline",className:C?"bg-green-50 text-green-700 border-green-200":y?"bg-red-50 text-red-700 border-red-200":"",children:D(N.transaction_type)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:708,columnNumber:29},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:707,columnNumber:27},this),t.jsxDEV(X,{className:"max-w-xs truncate",title:N.description||"",children:N.description||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:721,columnNumber:27},this),t.jsxDEV(X,{className:"text-right",children:t.jsxDEV("div",{className:"flex items-center justify-end gap-1",children:[C?t.jsxDEV(Sa,{className:"h-4 w-4 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:727,columnNumber:33},this):y?t.jsxDEV(Nr,{className:"h-4 w-4 text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:729,columnNumber:33},this):null,t.jsxDEV("span",{className:`font-semibold ${C?"text-green-600":y?"text-red-600":"text-gray-600"}`,children:[C?"+":y?"-":"",x(String(N.amount))]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:731,columnNumber:31},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:725,columnNumber:29},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:724,columnNumber:27},this),t.jsxDEV(X,{className:"text-right font-medium",children:x(String(N.balance_after))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:744,columnNumber:27},this)]},N.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:694,columnNumber:25},this)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:685,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:674,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:673,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:594,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:582,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:578,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AccountsPage.tsx",lineNumber:240,columnNumber:5},this)}const W0e=e=>{if(!e)return!1;const s=e.trim().toUpperCase();return/^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$/.test(s)&&s.length>=8&&s.length<=11},z0e=(e,s)=>{if(!e||!s||s.length===0)return null;const a=e.trim().toUpperCase();let n=s.find(i=>i.swift===a);return!n&&a.length===8&&(n=s.find(i=>i.swift.startsWith(a))),!n&&a.length>8&&(n=s.find(i=>i.swift===a)),n||null};function K0e(){const{user:e}=at(),[s]=Dc(),[a,n]=v.useState([]),[i,r]=v.useState("intra"),[o,l]=v.useState(!1),[u,c]=v.useState(!1),[m,d]=v.useState(""),[b,f]=v.useState(""),[h,g]=v.useState(""),[p,x]=v.useState(""),[D,N]=v.useState(""),[C,y]=v.useState(""),[G,k]=v.useState(""),[E,U]=v.useState({fullName:"",phoneNumber:"",email:"",address:"",city:"",state:"",postalCode:"",country:"",bankName:"",bankAddress:"",swiftBic:"",accountNumber:"",accountHolderName:"",purposeOfTransfer:""}),[T,H]=v.useState(!1),[j,w]=v.useState(null),[A,P]=v.useState(null),[V,_]=v.useState(!1),[O,$]=v.useState(null),[Q,ne]=v.useState(null),Z=v.useRef(null),ee=async()=>{if(!e)return;const{data:R,error:ve}=await oe.from("accounts").select("id, account_number, balance, account_types ( name )").eq("user_id",e.id).eq("status","active");if(ve)w({type:"error",text:ve.message});else{const J=(R||[]).map(Ue=>({id:Ue.id,account_number:Ue.account_number,balance:Ue.balance,account_types:Array.isArray(Ue.account_types)&&Ue.account_types.length>0?{name:String(Ue.account_types[0]?.name??"")}:null}));if(n(J),J.length===0){d(""),f(""),N("");return}const ke=s.get("from");if(ke&&J.some(Ue=>Ue.id===ke)){d(ke),N(ke);const Ue=J.find(Ye=>Ye.id!==ke)?.id??"";f(Ue)}else{const Ue=J[0].id,Ye=J.find(cs=>cs.id!==Ue)?.id??"";d(Ue),N(Ue),f(Ye)}}};v.useEffect(()=>{ee()},[e,s]),v.useEffect(()=>{i==="international"&&!A&&(_(!0),_r(()=>import("./banks-B8b0yIHe.js"),[]).then(R=>{P(R.default),$(null)}).catch(R=>{console.error("Failed to load bank directory:",R),$("Failed to load bank directory. You can still enter bank details manually.")}).finally(()=>{_(!1)}))},[i,A]),v.useEffect(()=>()=>{Z.current&&clearTimeout(Z.current)},[i]);const ge=v.useMemo(()=>{const R=a.find(ve=>ve.id===(i==="intra"?m:D));return R?parseFloat(String(R.balance||"0")):0},[a,m,D,i]),xe=async(R,ve,J,ke,Ue,Ye="Completed")=>{try{const{data:cs}=await oe.from("accounts").select(`
          account_number,
          profiles!inner (
            email,
            first_name,
            last_name
          )
        `).eq("id",R).single();if(!cs)return;const Ds=cs.profiles,Wt=Ds?.email||e?.email,dt=Ds?.first_name&&Ds?.last_name?`${Ds.first_name} ${Ds.last_name}`:Ds?.email?.split("@")[0]||"Valued Customer",Ks=Ue||cs.account_number;if(!Wt){console.warn("No email found for debit notification");return}const vt="yi9QRBMPaKMKd30TK",Ga="service_gatecbdeposit",zt="template_bf7rytc",Fs=Qe(ve),_s=Ye==="pending"||ke.includes("International"),cn=await fetch("https://api.emailjs.com/api/v1.0/email/send",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({service_id:Ga,template_id:zt,user_id:vt,template_params:{to_email:Wt,to_name:dt,transaction_type:J,amount:Fs,account_number:Ks,description:ke||"N/A",subject_type:_s?"Request Submitted":"Debit Transaction",status:_s?"Pending Approval":Ye,transaction_id:"",logo_url:"https://gatescbank.com/gatesbank-logo.png",bank_name:"Gates Capital Banking",support_email:"support@gatesbank.com",support_phone:"+48 732 123 213"}})});if(cn.ok)console.log("Debit notification sent successfully");else{const ya=await cn.text().catch(()=>"Failed to send email");console.warn("Failed to send debit notification:",ya)}}catch(cs){console.error("Error sending debit notification:",cs)}},le=async R=>{R.preventDefault(),w(null);const ve=parseFloat(h);if(!m||!b){w({type:"error",text:"Select both source and destination accounts"});return}if(m===b){w({type:"error",text:"Cannot transfer to the same account"});return}if(isNaN(ve)||ve<=0){w({type:"error",text:"Enter a valid positive amount"});return}if(ve>ge){w({type:"error",text:`Insufficient funds. Available balance: ${Qe(ge)}`});return}H(!0);try{const{error:J,data:ke}=await oe.rpc("transfer_money",{from_account_id:m,to_account_id:b,amount:ve,description:p||"Internal transfer"});if(J)throw console.error("Transfer RPC error:",J),J;await xe(m,ve,"transfer",p||"Internal transfer",a.find(Ue=>Ue.id===m)?.account_number,"Completed"),w({type:"success",text:"Transfer completed successfully! Account balances have been updated."}),g(""),x(""),await ee()}catch(J){console.error("Transfer error details:",J);let ke="Transfer failed";J?.message?ke=J.message:J?.error?.message?ke=J.error.message:J?.details?ke=J.details:J?.hint?ke=`${J.message||"Transfer failed"}. Hint: ${J.hint}`:typeof J=="string"?ke=J:J instanceof Error&&(ke=J.message),w({type:"error",text:ke})}finally{H(!1)}},se=R=>{R.preventDefault(),w(null);const ve=parseFloat(C);if(!D){w({type:"error",text:"Select source account"});return}if(isNaN(ve)||ve<=0){w({type:"error",text:"Enter a valid positive amount"});return}if(ve>ge){w({type:"error",text:`Insufficient funds. Available balance: ${Qe(ge)}`});return}l(!0)},be=(R,ve)=>{U(J=>({...J,[R]:ve}))},te=R=>{const ve=R.trim().toUpperCase();if(Z.current&&(clearTimeout(Z.current),Z.current=null),be("swiftBic",ve),ne(null),$(null),_(!1),ve.length>0&&!W0e(ve)){ve.length>=4&&ne("Invalid SWIFT code format. Must be 8-11 alphanumeric characters.");return}ve.length>=8&&A&&A.length>0?(_(!0),Z.current=setTimeout(()=>{const J=z0e(ve,A);J?(U(ke=>({...ke,bankName:J.name,bankAddress:`${J.address}, ${J.city}`,country:J.country,swiftBic:ve})),$(null)):ve.length>=8&&$("Bank not found in directory. Please enter details manually."),_(!1),Z.current=null},300)):ve.length>=8&&!A&&$("Loading bank directory...")},ce=async R=>{if(R.preventDefault(),["fullName","phoneNumber","email","address","city","country","bankName","swiftBic","accountNumber","accountHolderName"].filter(ke=>!E[ke]?.trim()).length>0){w({type:"error",text:"Please fill in all required recipient details"});return}c(!0)},he=async()=>{H(!0);try{const{data:R,error:ve}=await oe.from("accounts").select("balance").eq("id",D).single();if(ve)throw new Error(`Failed to fetch account: ${ve.message}`);const J=parseFloat(R?.balance||"0"),ke=parseFloat(C);if(ke>J)throw new Error(`Insufficient funds. Available balance: ${Qe(J)}`);const Ue=J-ke,{error:Ye}=await oe.from("accounts").update({balance:Ue}).eq("id",D);if(Ye)throw new Error(`Failed to update account balance: ${Ye.message}`);const{error:cs}=await oe.from("transactions").insert({account_id:D,transaction_type:"transfer",amount:ke,balance_after:Ue,description:G||"International transfer request",status:"pending",metadata:{transfer_type:"international",recipient:E,exchange_rate:1,estimated_completion:"1-3 business days"}});if(cs)throw await oe.from("accounts").update({balance:J}).eq("id",D),console.error("Transaction insert error:",cs),new Error(cs.message||"Failed to submit international transfer request");await xe(D,ke,"transfer",G||"International transfer request",a.find(Ds=>Ds.id===D)?.account_number,"Pending Approval"),w({type:"success",text:"International transfer request submitted successfully! Awaiting admin approval."}),l(!1),c(!1),y(""),k(""),U({fullName:"",phoneNumber:"",email:"",address:"",city:"",state:"",postalCode:"",country:"",bankName:"",bankAddress:"",swiftBic:"",accountNumber:"",accountHolderName:"",purposeOfTransfer:""}),await ee()}catch(R){const ve=R instanceof Error?R.message:"International transfer failed";w({type:"error",text:ve})}finally{H(!1)}};return t.jsxDEV("div",{className:"space-y-6",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center justify-between flex-wrap gap-4",children:[t.jsxDEV(K,{children:"Transfer Between My Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:547,columnNumber:13},this),t.jsxDEV("div",{className:"flex rounded-lg bg-gray-100 p-1 gap-1",children:[t.jsxDEV("button",{type:"button",onClick:()=>{r("intra"),l(!1),c(!1),w(null)},className:`px-4 py-2 rounded-md text-sm font-medium transition-colors ${i==="intra"?"bg-white text-emerald-700 shadow-sm":"text-gray-600 hover:text-gray-900"}`,children:"Intra"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:550,columnNumber:15},this),t.jsxDEV("button",{type:"button",onClick:()=>{r("international"),l(!1),w(null)},className:`px-4 py-2 rounded-md text-sm font-medium transition-colors ${i==="international"?"bg-white text-emerald-700 shadow-sm":"text-gray-600 hover:text-gray-900"}`,children:"International"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:565,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:549,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:546,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:545,columnNumber:9},this),t.jsxDEV(B,{children:[j&&t.jsxDEV(Qs,{variant:j.type==="error"?"destructive":"default",className:"mb-4",children:t.jsxDEV(Zs,{children:j.text},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:585,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:584,columnNumber:13},this),a.length===0?t.jsxDEV("div",{className:"flex flex-col items-center justify-center py-12 px-4 text-center",children:[t.jsxDEV("div",{className:"rounded-full bg-yellow-100 p-3 mb-4",children:t.jsxDEV(ut,{className:"h-8 w-8 text-yellow-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:592,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:591,columnNumber:15},this),t.jsxDEV("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"No Accounts Found"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:594,columnNumber:15},this),t.jsxDEV("p",{className:"text-gray-600 mb-6 max-w-md",children:"You need to have at least one active account to make transfers. Please open an account or request a deposit to get started."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:595,columnNumber:15},this),t.jsxDEV("div",{className:"flex gap-3",children:t.jsxDEV(I,{to:"/dashboard3/request-deposit",children:t.jsxDEV(L,{className:"bg-black text-yellow-400 hover:bg-gray-800",children:["Request Deposit",t.jsxDEV(_e,{className:"ml-2 h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:602,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:600,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:599,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:598,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:590,columnNumber:13},this):u&&i==="international"?t.jsxDEV("div",{className:"space-y-6 max-w-2xl",children:[t.jsxDEV("div",{className:"flex items-center gap-3 mb-4",children:[t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>c(!1),className:"flex items-center gap-2",children:[t.jsxDEV(Nn,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:617,columnNumber:19},this),"Back to Edit"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:611,columnNumber:17},this),t.jsxDEV("h3",{className:"text-lg font-semibold text-gray-900",children:"Review Transfer Details"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:620,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:610,columnNumber:15},this),t.jsxDEV("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-6 mb-6",children:[t.jsxDEV("h4",{className:"text-lg font-semibold text-blue-900 mb-4",children:"Transfer Summary"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:624,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("div",{className:"flex justify-between",children:[t.jsxDEV("span",{className:"font-medium",children:"Amount:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:627,columnNumber:21},this),t.jsxDEV("span",{className:"text-blue-800 font-semibold",children:Qe(parseFloat(C)||0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:628,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:626,columnNumber:19},this),t.jsxDEV("div",{className:"flex justify-between",children:[t.jsxDEV("span",{className:"font-medium",children:"From Account:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:631,columnNumber:21},this),t.jsxDEV("span",{className:"text-blue-800",children:a.find(R=>R.id===D)?.account_number||"Selected Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:632,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:630,columnNumber:19},this),t.jsxDEV("div",{className:"flex justify-between",children:[t.jsxDEV("span",{className:"font-medium",children:"Description:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:635,columnNumber:21},this),t.jsxDEV("span",{className:"text-blue-800",children:G||"No description"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:636,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:634,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:625,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:623,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("div",{children:[t.jsxDEV("h4",{className:"font-semibold text-gray-900 border-b pb-2 mb-4",children:"Recipient Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:643,columnNumber:19},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 bg-gray-50 p-4 rounded-lg",children:[t.jsxDEV("div",{children:[t.jsxDEV("span",{className:"text-sm font-medium text-gray-600",children:"Full Name:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:646,columnNumber:23},this),t.jsxDEV("p",{className:"font-medium",children:E.fullName},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:647,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:645,columnNumber:21},this),t.jsxDEV("div",{children:[t.jsxDEV("span",{className:"text-sm font-medium text-gray-600",children:"Phone Number:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:650,columnNumber:23},this),t.jsxDEV("p",{className:"font-medium",children:E.phoneNumber},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:651,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:649,columnNumber:21},this),t.jsxDEV("div",{children:[t.jsxDEV("span",{className:"text-sm font-medium text-gray-600",children:"Email:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:654,columnNumber:23},this),t.jsxDEV("p",{className:"font-medium",children:E.email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:655,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:653,columnNumber:21},this),t.jsxDEV("div",{children:[t.jsxDEV("span",{className:"text-sm font-medium text-gray-600",children:"Country:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:658,columnNumber:23},this),t.jsxDEV("p",{className:"font-medium",children:E.country},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:659,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:657,columnNumber:21},this),t.jsxDEV("div",{className:"md:col-span-2",children:[t.jsxDEV("span",{className:"text-sm font-medium text-gray-600",children:"Address:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:662,columnNumber:23},this),t.jsxDEV("p",{className:"font-medium",children:[E.address,", ",E.city,E.state?`, ${E.state}`:"",E.postalCode?` ${E.postalCode}`:""]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:663,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:661,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:644,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:642,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV("h4",{className:"font-semibold text-gray-900 border-b pb-2 mb-4",children:"Bank Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:669,columnNumber:19},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 bg-gray-50 p-4 rounded-lg",children:[t.jsxDEV("div",{children:[t.jsxDEV("span",{className:"text-sm font-medium text-gray-600",children:"Bank Name:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:672,columnNumber:23},this),t.jsxDEV("p",{className:"font-medium",children:E.bankName},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:673,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:671,columnNumber:21},this),t.jsxDEV("div",{children:[t.jsxDEV("span",{className:"text-sm font-medium text-gray-600",children:"Bank Identifier Code:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:676,columnNumber:23},this),t.jsxDEV("p",{className:"font-medium",children:E.swiftBic},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:677,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:675,columnNumber:21},this),t.jsxDEV("div",{children:[t.jsxDEV("span",{className:"text-sm font-medium text-gray-600",children:"Account Number:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:680,columnNumber:23},this),t.jsxDEV("p",{className:"font-medium",children:E.accountNumber},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:681,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:679,columnNumber:21},this),t.jsxDEV("div",{children:[t.jsxDEV("span",{className:"text-sm font-medium text-gray-600",children:"Account Holder:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:684,columnNumber:23},this),t.jsxDEV("p",{className:"font-medium",children:E.accountHolderName},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:685,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:683,columnNumber:21},this),E.bankAddress&&t.jsxDEV("div",{className:"md:col-span-2",children:[t.jsxDEV("span",{className:"text-sm font-medium text-gray-600",children:"Bank Address:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:689,columnNumber:25},this),t.jsxDEV("p",{className:"font-medium",children:E.bankAddress},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:690,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:688,columnNumber:23},this),E.purposeOfTransfer&&t.jsxDEV("div",{className:"md:col-span-2",children:[t.jsxDEV("span",{className:"text-sm font-medium text-gray-600",children:"Purpose:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:695,columnNumber:25},this),t.jsxDEV("p",{className:"font-medium",children:E.purposeOfTransfer},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:696,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:694,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:670,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:668,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:641,columnNumber:15},this),t.jsxDEV("div",{className:"bg-amber-50 border border-amber-200 rounded-lg p-4",children:t.jsxDEV("p",{className:"text-sm text-amber-800",children:[t.jsxDEV("strong",{children:"Important:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:705,columnNumber:19},this)," Please review all details carefully. International transfers are typically processed within 1-3 business days and cannot be reversed once submitted."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:704,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:703,columnNumber:15},this),t.jsxDEV("div",{className:"flex gap-3 pt-4",children:[t.jsxDEV(L,{onClick:he,disabled:T,className:"bg-black text-yellow-400 hover:bg-gray-800",children:T?"Processing...":"Approve & Submit Transfer"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:710,columnNumber:17},this),t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>c(!1),disabled:T,children:"Edit Details"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:717,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:709,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:609,columnNumber:13},this):o&&i==="international"?t.jsxDEV("form",{onSubmit:ce,className:"space-y-6 max-w-2xl",children:[t.jsxDEV("div",{className:"flex items-center gap-3 mb-4",children:[t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>l(!1),className:"flex items-center gap-2",children:[t.jsxDEV(Nn,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:737,columnNumber:19},this),"Back"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:731,columnNumber:17},this),t.jsxDEV("h3",{className:"text-lg font-semibold text-gray-900",children:"Recipient Details"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:740,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:730,columnNumber:15},this),t.jsxDEV("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4 mb-6",children:t.jsxDEV("p",{className:"text-sm text-blue-800",children:[t.jsxDEV("strong",{children:"Transfer Summary:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:745,columnNumber:19},this)," ",Qe(parseFloat(C)||0)," from ",a.find(R=>R.id===D)?.account_number||"Selected Account"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:744,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:743,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("h4",{className:"font-semibold text-gray-900 border-b pb-2",children:"Personal Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:750,columnNumber:17},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"fullName",children:["Full Name ",t.jsxDEV("span",{className:"text-red-500",children:"*"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:753,columnNumber:57},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:753,columnNumber:21},this),t.jsxDEV(re,{id:"fullName",value:E.fullName,onChange:R=>be("fullName",R.target.value),placeholder:"John Doe",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:754,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:752,columnNumber:19},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"phoneNumber",children:["Phone Number ",t.jsxDEV("span",{className:"text-red-500",children:"*"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:763,columnNumber:63},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:763,columnNumber:21},this),t.jsxDEV(re,{id:"phoneNumber",type:"tel",value:E.phoneNumber,onChange:R=>be("phoneNumber",R.target.value),placeholder:"+1234567890",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:764,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:762,columnNumber:19},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"email",children:["Email Address ",t.jsxDEV("span",{className:"text-red-500",children:"*"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:774,columnNumber:58},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:774,columnNumber:21},this),t.jsxDEV(re,{id:"email",type:"email",value:E.email,onChange:R=>be("email",R.target.value),placeholder:"john.doe@example.com",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:775,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:773,columnNumber:19},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"country",children:["Country ",t.jsxDEV("span",{className:"text-red-500",children:"*"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:785,columnNumber:54},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:785,columnNumber:21},this),t.jsxDEV(re,{id:"country",value:E.country,onChange:R=>be("country",R.target.value),placeholder:"United States",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:786,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:784,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:751,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"address",children:["Street Address ",t.jsxDEV("span",{className:"text-red-500",children:"*"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:797,columnNumber:59},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:797,columnNumber:19},this),t.jsxDEV(re,{id:"address",value:E.address,onChange:R=>be("address",R.target.value),placeholder:"123 Main Street",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:798,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:796,columnNumber:17},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"city",children:["City ",t.jsxDEV("span",{className:"text-red-500",children:"*"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:809,columnNumber:48},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:809,columnNumber:21},this),t.jsxDEV(re,{id:"city",value:E.city,onChange:R=>be("city",R.target.value),placeholder:"New York",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:810,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:808,columnNumber:19},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"state",children:"State/Province"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:819,columnNumber:21},this),t.jsxDEV(re,{id:"state",value:E.state,onChange:R=>be("state",R.target.value),placeholder:"NY"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:820,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:818,columnNumber:19},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"postalCode",children:"Postal Code"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:828,columnNumber:21},this),t.jsxDEV(re,{id:"postalCode",value:E.postalCode,onChange:R=>be("postalCode",R.target.value),placeholder:"10001"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:829,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:827,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:807,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:749,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-4 pt-4",children:[t.jsxDEV("h4",{className:"font-semibold text-gray-900 border-b pb-2",children:"Bank Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:840,columnNumber:17},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"bankName",children:["Bank Name ",t.jsxDEV("span",{className:"text-red-500",children:"*"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:843,columnNumber:57},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:843,columnNumber:21},this),t.jsxDEV(re,{id:"bankName",value:E.bankName,onChange:R=>be("bankName",R.target.value),placeholder:"Bank of America",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:844,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:842,columnNumber:19},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"swiftBic",children:["Bank Identifier Code ",t.jsxDEV("span",{className:"text-red-500",children:"*"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:853,columnNumber:68},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:853,columnNumber:21},this),t.jsxDEV("div",{className:"relative",children:[t.jsxDEV(re,{id:"swiftBic",value:E.swiftBic,onChange:R=>te(R.target.value),placeholder:"BOFAUS3N",required:!0,className:Q?"border-red-500":""},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:855,columnNumber:23},this),V&&t.jsxDEV("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:t.jsxDEV(xn,{className:"h-4 w-4 animate-spin text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:865,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:864,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:854,columnNumber:21},this),Q&&t.jsxDEV("p",{className:"text-xs text-red-600 mt-1",children:Q},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:870,columnNumber:23},this),O&&!Q&&t.jsxDEV("p",{className:"text-xs text-amber-600 mt-1",children:O},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:873,columnNumber:23},this),E.swiftBic.length>=8&&!V&&!Q&&!O&&A&&t.jsxDEV("p",{className:"text-xs text-green-600 mt-1",children:"Valid identifier format"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:876,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:852,columnNumber:19},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"accountNumber",children:["Account Number ",t.jsxDEV("span",{className:"text-red-500",children:"*"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:880,columnNumber:67},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:880,columnNumber:21},this),t.jsxDEV(re,{id:"accountNumber",value:E.accountNumber,onChange:R=>be("accountNumber",R.target.value),placeholder:"1234567890",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:881,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:879,columnNumber:19},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"accountHolderName",children:["Account Holder Name ",t.jsxDEV("span",{className:"text-red-500",children:"*"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:890,columnNumber:76},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:890,columnNumber:21},this),t.jsxDEV(re,{id:"accountHolderName",value:E.accountHolderName,onChange:R=>be("accountHolderName",R.target.value),placeholder:"John Doe",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:891,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:889,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:841,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"bankAddress",children:"Bank Address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:901,columnNumber:19},this),t.jsxDEV(re,{id:"bankAddress",value:E.bankAddress,onChange:R=>be("bankAddress",R.target.value),placeholder:"123 Bank Street, City, Country"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:902,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:900,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:839,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-4 pt-4",children:t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"purposeOfTransfer",children:"Purpose of Transfer"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:913,columnNumber:19},this),t.jsxDEV(re,{id:"purposeOfTransfer",value:E.purposeOfTransfer,onChange:R=>be("purposeOfTransfer",R.target.value),placeholder:"e.g. Payment for services"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:914,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:912,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:911,columnNumber:15},this),t.jsxDEV("div",{className:"flex gap-3 pt-4",children:[t.jsxDEV(L,{type:"submit",disabled:T,className:"bg-black text-yellow-400 hover:bg-gray-800",children:T?"Processing...":"Review Details"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:924,columnNumber:17},this),t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>l(!1),disabled:T,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:927,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:923,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:729,columnNumber:13},this):i==="intra"?t.jsxDEV("form",{onSubmit:le,className:"space-y-5 max-w-xl",children:[t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"From Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:942,columnNumber:19},this),t.jsxDEV(ds,{value:m,onValueChange:d,children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Select source"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:945,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:944,columnNumber:21},this),t.jsxDEV(ls,{children:a.map(R=>t.jsxDEV(ye,{value:R.id,children:(R.account_types?.name||"Account")+" • "+R.account_number},R.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:949,columnNumber:25},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:947,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:943,columnNumber:19},this),t.jsxDEV("div",{className:"text-sm font-medium text-gray-700 mt-2",children:["Available Balance: ",t.jsxDEV("span",{className:"text-green-600",children:["€",ge.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:956,columnNumber:40},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:955,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:941,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"To Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:960,columnNumber:19},this),t.jsxDEV(ds,{value:b,onValueChange:f,children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Select destination"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:963,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:962,columnNumber:21},this),t.jsxDEV(ls,{children:a.map(R=>t.jsxDEV(ye,{value:R.id,children:(R.account_types?.name||"Account")+" • "+R.account_number},R.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:967,columnNumber:25},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:965,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:961,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:959,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:940,columnNumber:15},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"amount",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:978,columnNumber:19},this),t.jsxDEV(re,{id:"amount",type:"number",step:"0.01",min:"0",value:h,onChange:R=>g(R.target.value),placeholder:"0.00"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:979,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:977,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"desc",children:"Description (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:982,columnNumber:19},this),t.jsxDEV(re,{id:"desc",type:"text",value:p,onChange:R=>x(R.target.value),placeholder:"e.g. Move to savings"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:983,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:981,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:976,columnNumber:15},this),t.jsxDEV("div",{className:"flex gap-3",children:t.jsxDEV(L,{type:"submit",disabled:T,className:"bg-black text-yellow-400 hover:bg-gray-800",children:T?"Transferring...":"Transfer"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:988,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:987,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:939,columnNumber:13},this):t.jsxDEV("form",{onSubmit:se,className:"space-y-5 max-w-xl",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"From Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:997,columnNumber:17},this),t.jsxDEV(ds,{value:D,onValueChange:N,children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Select source account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1e3,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:999,columnNumber:19},this),t.jsxDEV(ls,{children:a.map(R=>t.jsxDEV(ye,{value:R.id,children:(R.account_types?.name||"Account")+" • "+R.account_number},R.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1004,columnNumber:23},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1002,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:998,columnNumber:17},this),t.jsxDEV("div",{className:"text-sm font-medium text-gray-700 mt-2",children:["Available Balance: ",t.jsxDEV("span",{className:"text-green-600",children:Qe(ge)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1011,columnNumber:38},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1010,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:996,columnNumber:15},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"intraAmount",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1017,columnNumber:19},this),t.jsxDEV(re,{id:"intraAmount",type:"number",step:"0.01",min:"0",value:C,onChange:R=>y(R.target.value),placeholder:"0.00"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1018,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1016,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"intraDesc",children:"Description (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1029,columnNumber:19},this),t.jsxDEV(re,{id:"intraDesc",type:"text",value:G,onChange:R=>k(R.target.value),placeholder:"e.g. International payment"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1030,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1028,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1015,columnNumber:15},this),t.jsxDEV("div",{className:"bg-amber-50 border border-amber-200 rounded-lg p-4",children:t.jsxDEV("p",{className:"text-sm text-amber-800",children:[t.jsxDEV("strong",{children:"Note:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1042,columnNumber:19},this)," After clicking Transfer, you'll be asked to provide recipient details including bank information."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1041,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1040,columnNumber:15},this),t.jsxDEV("div",{className:"flex gap-3",children:t.jsxDEV(L,{type:"submit",disabled:T,className:"bg-black text-yellow-400 hover:bg-gray-800",children:"Continue to Recipient Details"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1047,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:1046,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:995,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:582,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:544,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/TransfersPage.tsx",lineNumber:543,columnNumber:5},this)}function Y0e(){return t.jsxDEV("div",{className:"space-y-6",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Pay Bills"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/PayBillsPage.tsx",lineNumber:10,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/PayBillsPage.tsx",lineNumber:9,columnNumber:9},this),t.jsxDEV(us,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/PayBillsPage.tsx",lineNumber:12,columnNumber:9},this),t.jsxDEV(B,{className:"pt-6",children:t.jsxDEV("p",{className:"text-orange-600 font-medium",children:"This service is not available for this account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/PayBillsPage.tsx",lineNumber:14,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/PayBillsPage.tsx",lineNumber:13,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/PayBillsPage.tsx",lineNumber:8,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/PayBillsPage.tsx",lineNumber:7,columnNumber:5},this)}function Q0e(){const{user:e}=at(),[s,a]=v.useState(null),[n,i]=v.useState({name:"",occupation:"",monthlyWages:"",employerName:"",employerAddress:"",employerEIN:"",employmentDate:"",designation:"",loanAmount:"",loanTerm:"",repayInstallments:"",purposeOfLoan:"",accountNumber:"",ibanNumber:"",bankName:"",bankAddress:"",country:"",routingCode:"",bicSwiftCode:"",otherInformation:""});v.useEffect(()=>{(async()=>{if(e)try{const{data:u}=await oe.from("profiles").select("*").eq("id",e.id).single();u&&(a(u),i(c=>({...c,name:`${u.first_name||""} ${u.last_name||""}`.trim()})))}catch(u){console.error("Error loading profile:",u)}})()},[e]);const r=(l,u)=>{i(c=>({...c,[l]:u}))},o=async l=>{l.preventDefault();try{if(!e){rs.error("You must be signed in to submit a loan application.");return}const u=parseFloat(n.loanAmount),c=parseInt(n.loanTerm,10);if(!Number.isFinite(u)||u<=0){rs.error("Please enter a valid loan amount.");return}if(!Number.isFinite(c)||c<=0){rs.error("Please enter a valid loan term (in months).");return}const m=.0925,d=m/12,b=Math.pow(1+d,c),f=d===0?u/c:u*d*b/(b-1),h=Number.isFinite(f)&&f>0?f:u/c,{error:g}=await oe.from("loans").insert({borrower_id:e.id,principal_amount:u,interest_rate:m,term_months:c,monthly_payment:Number(h.toFixed(2)),remaining_balance:u,status:"pending",metadata:{source:"loan_application_form",submitted_at:new Date().toISOString(),form:n}});if(g)throw console.error("Error inserting loan record:",g),g;rs.success("Loan application submitted successfully! Our team will review it shortly."),i({name:s?`${s.first_name||""} ${s.last_name||""}`.trim():"",occupation:"",monthlyWages:"",employerName:"",employerAddress:"",employerEIN:"",employmentDate:"",designation:"",loanAmount:"",loanTerm:"",repayInstallments:"",purposeOfLoan:"",accountNumber:"",ibanNumber:"",bankName:"",bankAddress:"",country:"",routingCode:"",bicSwiftCode:"",otherInformation:""})}catch(u){console.error("Error submitting loan application:",u),rs.error("Failed to submit loan application. Please try again.")}};return t.jsxDEV("div",{className:"space-y-6",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Loan Application"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:182,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:181,columnNumber:9},this),t.jsxDEV(B,{children:t.jsxDEV("form",{onSubmit:o,className:"space-y-8",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold mb-4",children:"Applicant Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:188,columnNumber:15},this),t.jsxDEV(Ms,{children:t.jsxDEV(Os,{children:[t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium w-1/3",children:"Name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:192,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.name,onChange:l=>r("name",l.target.value),readOnly:!0,className:"bg-gray-50"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:194,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:193,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:191,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Occupation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:203,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.occupation,onChange:l=>r("occupation",l.target.value),placeholder:"Enter your occupation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:205,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:204,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:202,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Monthly Wages"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:213,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{type:"number",value:n.monthlyWages,onChange:l=>r("monthlyWages",l.target.value),placeholder:"Enter monthly wages"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:215,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:214,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:212,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:190,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:189,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:187,columnNumber:13},this),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold mb-4",children:"Employment Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:229,columnNumber:15},this),t.jsxDEV(Ms,{children:t.jsxDEV(Os,{children:[t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium w-1/3",children:"Employer Name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:233,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.employerName,onChange:l=>r("employerName",l.target.value),placeholder:"Enter employer name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:235,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:234,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:232,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Employer Address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:243,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.employerAddress,onChange:l=>r("employerAddress",l.target.value),placeholder:"Enter employer address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:245,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:244,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:242,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Employer Identification No. (EIN)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:253,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.employerEIN,onChange:l=>r("employerEIN",l.target.value),placeholder:"Enter EIN"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:255,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:254,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:252,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Employment Date"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:263,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{type:"date",value:n.employmentDate,onChange:l=>r("employmentDate",l.target.value)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:265,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:264,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:262,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Designation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:273,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.designation,onChange:l=>r("designation",l.target.value),placeholder:"Enter your designation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:275,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:274,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:272,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:231,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:230,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:228,columnNumber:13},this),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold mb-4",children:"Loan Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:288,columnNumber:15},this),t.jsxDEV(Ms,{children:t.jsxDEV(Os,{children:[t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium w-1/3",children:"Loan Amount (€)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:292,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{type:"number",value:n.loanAmount,onChange:l=>r("loanAmount",l.target.value),placeholder:"Enter loan amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:294,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:293,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:291,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Loan Term (over how many months)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:303,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{type:"number",value:n.loanTerm,onChange:l=>r("loanTerm",l.target.value),placeholder:"Enter loan term in months"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:305,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:304,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:302,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"No. of Repay Installments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:314,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{type:"number",value:n.repayInstallments,onChange:l=>r("repayInstallments",l.target.value),placeholder:"Enter number of installments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:316,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:315,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:313,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Purpose of Loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:325,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.purposeOfLoan,onChange:l=>r("purposeOfLoan",l.target.value),placeholder:"Enter purpose of loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:327,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:326,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:324,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:290,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:289,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:287,columnNumber:13},this),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold mb-4",children:"Applicant Bank Detail"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:340,columnNumber:15},this),t.jsxDEV(Ms,{children:t.jsxDEV(Os,{children:[t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium w-1/3",children:"Account Number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:344,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.accountNumber,onChange:l=>r("accountNumber",l.target.value),placeholder:"Enter account number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:346,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:345,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:343,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Bank Account Identifier (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:354,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.ibanNumber,onChange:l=>r("ibanNumber",l.target.value),placeholder:"Enter bank account identifier"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:356,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:355,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:353,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Bank Name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:364,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.bankName,onChange:l=>r("bankName",l.target.value),placeholder:"Enter bank name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:366,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:365,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:363,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Bank Address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:374,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.bankAddress,onChange:l=>r("bankAddress",l.target.value),placeholder:"Enter bank address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:376,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:375,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:373,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Country"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:384,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(ds,{value:n.country,onValueChange:l=>r("country",l),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Please Select"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:391,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:390,columnNumber:25},this),t.jsxDEV(ls,{className:"max-h-[300px]",children:Dv.map(l=>t.jsxDEV(ye,{value:l.name,children:l.name},l.code,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:395,columnNumber:29},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:393,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:386,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:385,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:383,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Bank Routing Identifier (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:404,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.routingCode,onChange:l=>r("routingCode",l.target.value),placeholder:"Enter bank routing identifier"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:406,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:405,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:403,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Bank Identifier Code (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:414,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:n.bicSwiftCode,onChange:l=>r("bicSwiftCode",l.target.value),placeholder:"Enter bank identifier code"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:416,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:415,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:413,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:342,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:341,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:339,columnNumber:13},this),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold mb-4",children:"Others"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:429,columnNumber:15},this),t.jsxDEV(Ms,{children:t.jsxDEV(Os,{children:[t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium w-1/3",children:"Please include any other information here (Optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:433,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(Un,{value:n.otherInformation,onChange:l=>r("otherInformation",l.target.value),placeholder:"Enter any additional information",rows:5},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:437,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:436,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:432,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:446,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(L,{type:"submit",className:"bg-black hover:bg-gray-800",children:[t.jsxDEV("span",{className:"mr-2",children:"→"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:449,columnNumber:25},this),"Submit Application"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:448,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:447,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:445,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:431,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:430,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:428,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:185,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:184,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:180,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/LoanPage.tsx",lineNumber:179,columnNumber:5},this)}const ro=IL(),Z0e={async getCurrentProfile(){try{const{data:{user:e}}=await ro.auth.getUser();if(!e)return{success:!1,error:"User not authenticated"};const{data:s,error:a}=await ro.from("profiles").select("*").eq("id",e.id).single();if(a)throw a;return{success:!0,data:s}}catch(e){return{success:!1,error:e.message}}},async updateProfile(e){try{const{data:{user:s}}=await ro.auth.getUser();if(!s)return{success:!1,error:"User not authenticated"};const{data:a,error:n}=await ro.from("profiles").update(e).eq("id",s.id).select().single();if(n)throw n;return{success:!0,data:a}}catch(s){return{success:!1,error:s.message}}},async createProfile(e){try{const{data:{user:s}}=await ro.auth.getUser();if(!s)return{success:!1,error:"User not authenticated"};const{data:a,error:n}=await ro.from("profiles").insert({id:s.id,email:s.email,...e}).select().single();if(n)throw n;return{success:!0,data:a}}catch(s){return{success:!1,error:s.message}}}},pa=cL,X0e=mL,j5=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(Gb,{ref:a,className:me("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/dialog.tsx",lineNumber:19,columnNumber:3},void 0));j5.displayName=Gb.displayName;const ea=v.forwardRef(({className:e,children:s,...a},n)=>t.jsxDEV(X0e,{children:[t.jsxDEV(j5,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/dialog.tsx",lineNumber:35,columnNumber:5},void 0),t.jsxDEV(yb,{ref:n,className:me("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[s,t.jsxDEV(sN,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[t.jsxDEV(mb,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/dialog.tsx",lineNumber:46,columnNumber:9},void 0),t.jsxDEV("span",{className:"sr-only",children:"Close"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/dialog.tsx",lineNumber:47,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/dialog.tsx",lineNumber:45,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/dialog.tsx",lineNumber:36,columnNumber:5},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/dialog.tsx",lineNumber:34,columnNumber:3},void 0));ea.displayName=yb.displayName;const sa=({className:e,...s})=>t.jsxDEV("div",{className:me("flex flex-col space-y-1.5 text-center sm:text-left",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/dialog.tsx",lineNumber:55,columnNumber:3},void 0);sa.displayName="DialogHeader";const ta=({className:e,...s})=>t.jsxDEV("div",{className:me("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/dialog.tsx",lineNumber:60,columnNumber:3},void 0);ta.displayName="DialogFooter";const aa=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(Cb,{ref:a,className:me("text-lg font-semibold leading-none tracking-tight",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/dialog.tsx",lineNumber:68,columnNumber:3},void 0));aa.displayName=Cb.displayName;const na=v.forwardRef(({className:e,...s},a)=>t.jsxDEV(kb,{ref:a,className:me("text-sm text-muted-foreground",e),...s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ui/dialog.tsx",lineNumber:80,columnNumber:3},void 0));na.displayName=kb.displayName;async function $g(e,s,a,n){const i=s.name.split(".").pop(),r=`${a}/${n||`${Date.now()}.${i}`}`,{error:o,data:l}=await oe.storage.from(e).upload(r,s,{cacheControl:"3600",upsert:!0});if(o)throw new Error(`Failed to upload image: ${o.message}`);const{data:u}=oe.storage.from(e).getPublicUrl(r);if(!u?.publicUrl)throw new Error("Failed to get public URL for uploaded image");return u.publicUrl}function Zk(e,s=5){if(!["image/jpeg","image/jpg","image/png","image/webp","application/pdf"].includes(e.type))return"Invalid file type. Please upload a JPG, PNG, WebP, or PDF file.";const n=s*1024*1024;return e.size>n?`File size exceeds ${s}MB limit.`:null}const Fg="passport-photos",Cm="avatars",Xk=[{key:"actor",label:"What is the name of your best actor ?"},{key:"book",label:"What is your favorite book?"},{key:"town",label:"What town was your mother born?"}];function J0e(){const{user:e}=at(),s=Js(),[a]=Dc(),[n,i]=v.useState(null);v.useState(!1);const[r,o]=v.useState(!1),[l,u]=v.useState(!1),[c,m]=v.useState(null),[d,b]=v.useState(null),[f,h]=v.useState(null),[g,p]=v.useState({}),[x,D]=v.useState(!1),[N,C]=v.useState(null),y=v.useRef(null),G=v.useRef(null),k=a.get("edit")||"",E=a.get("setup")||"";v.useEffect(()=>{(async()=>{if(e)try{const{data:se}=await oe.from("profiles").select("*").eq("id",e.id).maybeSingle();se&&i(se)}catch(se){console.error("Error loading profile:",se)}})()},[e]),v.useEffect(()=>{E==="security"&&n&&(n.security_questions&&Object.keys(n.security_questions).length>0&&Object.values(n.security_questions).some(se=>se&&typeof se=="string"&&se.trim().length>0)||(rs.warning("Please set up your security questions to access the dashboard.",{duration:5e3}),s("/dashboard3/profile?edit=question",{replace:!0})))},[E,n,s]),v.useEffect(()=>{if(!n||!k){p({}),C(null);return}const le=n.address&&typeof n.address=="object"&&!Array.isArray(n.address)?n.address:{};switch(k){case"email":p({email:n.email||e?.email||""});break;case"phone":p({phone:n.phone||"",dialing_code:n.dialing_code||""});break;case"address":p({line1:le.line1||"",line2:le.line2||"",city:le.city||"",state:le.state||"",zip_postcode:n.zip_postcode||"",country:n.country||""});break;case"question":{const se=n.security_questions||{};p({actor:se.actor||"",book:se.book||"",town:se.town||""});break}default:p({});break}},[n,k,e]);const U={email:{title:"Edit Email Address",description:"Update the email address we use to send receipts and alerts.",supported:!0},phone:{title:"Edit Phone Number",description:"Keep your phone number current for SMS alerts and call-back verification.",supported:!0},address:{title:"Edit Mailing Address",description:"Update your residential or mailing address used for statements and account verification.",supported:!0},question:{title:"Edit Security Questions",description:"Refresh the answers to your personal security questions. We never display these answers publicly.",supported:!0},password:{title:"Reset Password",description:"To change your password, log out and use the “Forgot Password” option on the sign-in screen.",supported:!1},access:{title:"Access Code",description:"Please contact support to update your access code.",supported:!1}},T=!!k,H=k?U[k]:void 0,j=H?.title||"Update Profile",w=H?.description||"Review and update your profile information.",A=!!H?.supported,P=(le,se)=>{p(be=>({...be,[le]:se}))},V=()=>{C(null),s("/dashboard3/profile",{replace:!0})},_=async()=>{if(!n||!k||!A){V();return}D(!0),C(null);try{const le={};switch(k){case"email":{const be=g.email?.trim();if(!be){C("Email address is required."),D(!1);return}le.email=be;break}case"phone":{const be=g.phone?.trim();if(!be){C("Phone number is required."),D(!1);return}le.phone=be,le.dialing_code=g.dialing_code?.trim()||null;break}case"address":{const be=g.line1?.trim();if(!be){C("Address line 1 is required."),D(!1);return}le.address={line1:be,line2:g.line2?.trim()||null,city:g.city?.trim()||null,state:g.state?.trim()||null},le.zip_postcode=g.zip_postcode?.trim()||null,le.country=g.country?.trim()||null;break}case"question":{const be=Xk.reduce((te,ce)=>{const he=g[ce.key]?.trim();return he&&(te[ce.key]=he),te},{});if(Object.keys(be).length===0){C("Enter at least one answer to continue."),D(!1);return}le.security_questions=be;break}default:break}if(Object.keys(le).length===0){C("Nothing to update yet. Please adjust a field and try again."),D(!1);return}const se=await Z0e.updateProfile(le);if(!se.success||!se.data)throw new Error(se.error||"Failed to update profile");i(se.data),k==="question"&&E==="security"?rs.success("Security questions saved! Please log out and log back in to verify and access your dashboard.",{duration:8e3}):rs.success("Profile updated successfully."),V()}catch(le){const se=le?.message||"Failed to update profile.";C(se),rs.error(se)}finally{D(!1)}},O=()=>{switch(k){case"email":return t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"email",children:"Email Address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:311,columnNumber:15},this),t.jsxDEV(re,{id:"email",type:"email",value:g.email||"",onChange:le=>P("email",le.target.value),placeholder:"you@example.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:312,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:310,columnNumber:13},this),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"We’ll send digital statements and verification codes to this address."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:320,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:309,columnNumber:11},this);case"phone":return t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"grid gap-4 sm:grid-cols-[140px_1fr]",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"dialing_code",children:"Country / Dialing Code"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:330,columnNumber:17},this),t.jsxDEV(re,{id:"dialing_code",value:g.dialing_code||"",onChange:le=>P("dialing_code",le.target.value),placeholder:"+48"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:331,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:329,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"phone",children:"Phone Number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:339,columnNumber:17},this),t.jsxDEV(re,{id:"phone",value:g.phone||"",onChange:le=>P("phone",le.target.value),placeholder:"123456789"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:340,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:338,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:328,columnNumber:13},this),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"SMS alerts and one-time passcodes are sent to this number."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:348,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:327,columnNumber:11},this);case"address":return t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"line1",children:"Address Line 1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:357,columnNumber:15},this),t.jsxDEV(re,{id:"line1",value:g.line1||"",onChange:le=>P("line1",le.target.value),placeholder:"123 Main Street"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:358,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:356,columnNumber:13},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"line2",children:"Address Line 2 (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:366,columnNumber:15},this),t.jsxDEV(re,{id:"line2",value:g.line2||"",onChange:le=>P("line2",le.target.value),placeholder:"Apartment, suite, etc."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:367,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:365,columnNumber:13},this),t.jsxDEV("div",{className:"grid gap-4 sm:grid-cols-2",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"city",children:"City"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:376,columnNumber:17},this),t.jsxDEV(re,{id:"city",value:g.city||"",onChange:le=>P("city",le.target.value)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:377,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:375,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"state",children:"State / Province"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:384,columnNumber:17},this),t.jsxDEV(re,{id:"state",value:g.state||"",onChange:le=>P("state",le.target.value)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:385,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:383,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:374,columnNumber:13},this),t.jsxDEV("div",{className:"grid gap-4 sm:grid-cols-2",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"zip_postcode",children:"Zip / Postcode"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:394,columnNumber:17},this),t.jsxDEV(re,{id:"zip_postcode",value:g.zip_postcode||"",onChange:le=>P("zip_postcode",le.target.value)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:395,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:393,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"country",children:"Country"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:402,columnNumber:17},this),t.jsxDEV(re,{id:"country",value:g.country||"",onChange:le=>P("country",le.target.value)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:403,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:401,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:392,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:355,columnNumber:11},this);case"question":return t.jsxDEV("div",{className:"space-y-4",children:[Xk.map(le=>t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:`question-${le.key}`,children:le.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:417,columnNumber:17},this),t.jsxDEV(re,{id:`question-${le.key}`,value:g[le.key]||"",onChange:se=>P(le.key,se.target.value)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:418,columnNumber:17},this)]},le.key,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:416,columnNumber:15},this)),t.jsxDEV("p",{className:"text-xs text-muted-foreground",children:"Your answers are encrypted and only used to verify your identity when you contact us."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:425,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:414,columnNumber:11},this);default:return t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:w},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:432,columnNumber:11},this)}},$=()=>{y.current?.click()},Q=async le=>{const se=le.target.files?.[0];if(!se||!e)return;const be=Zk(se,5);if(be){rs.error(be),h(be);return}const te=new FileReader;te.onloadend=()=>{m(te.result)},te.readAsDataURL(se),o(!0),h(null);try{const ce=await $g("avatars",se,e.id,"avatar"),{error:he}=await oe.from("profiles").update({avatar_url:ce}).eq("id",e.id);if(he)throw he;i(R=>R&&{...R,avatar_url:ce}),m(null),rs.success("Avatar updated successfully!")}catch(ce){console.error("Error uploading avatar:",ce),h(ce.message||"Failed to upload avatar"),rs.error(ce.message||"Failed to upload avatar"),m(null)}finally{o(!1),y.current&&(y.current.value="")}},ne=async le=>{const se=le.target.files?.[0];if(!se||!e)return;const be=Zk(se,5);if(be){rs.error(be),h(be);return}if(se.type.startsWith("image/")){const te=new FileReader;te.onloadend=()=>{b(te.result)},te.readAsDataURL(se)}else b(null);u(!0),h(null);try{const ce=await(async()=>{try{return await $g(Fg,se,e.id,"passport")}catch(R){const ve=R?.message?.toLowerCase()||"";if(ve.includes("bucket")&&(ve.includes("not found")||ve.includes("does not exist"))&&Cm&&Cm!==Fg)return console.warn(`Passport bucket "${Fg}" missing. Falling back to "${Cm}".`),rs.info("Passport storage bucket is not configured. Using default avatar storage instead."),await $g(Cm,se,e.id,"passport");throw R}})(),{error:he}=await oe.from("profiles").update({passport_photo_url:ce}).eq("id",e.id);if(he)throw he;i(R=>R&&{...R,passport_photo_url:ce}),b(null),rs.success("Passport photo uploaded successfully!")}catch(te){console.error("Error uploading passport photo:",te);const ce=typeof te?.message=="string"&&te.message.toLowerCase().includes("bucket")?'Passport storage bucket is missing. Create a bucket named "passport-photos" in Supabase Storage or set VITE_SUPABASE_PASSPORT_BUCKET.':te?.message||"Failed to upload passport photo";h(ce),rs.error(ce),b(null)}finally{u(!1),G.current&&(G.current.value="")}};if(!n)return t.jsxDEV("div",{children:"Loading..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:578,columnNumber:12},this);const Z=`${n.title||""} ${n.first_name||""} ${n.middle_name||""} ${n.last_name||""}`.trim().replace(/\s+/g," "),ee=n.address,ge=ee?.line1||"",xe=ee?.line2||"";return t.jsxDEV("div",{className:"space-y-6",children:[f&&t.jsxDEV(Qs,{variant:"destructive",children:[t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:592,columnNumber:11},this),t.jsxDEV(Zs,{children:f},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:593,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:591,columnNumber:9},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"relative",children:[t.jsxDEV(ul,{className:"w-16 h-16 cursor-pointer hover:opacity-80 transition-opacity border-2 border-gray-200",onClick:$,children:[t.jsxDEV(xc,{src:c||n.avatar_url},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:604,columnNumber:17},this),t.jsxDEV(cl,{className:"text-xl",children:(n.first_name||"U")[0].toUpperCase()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:605,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:600,columnNumber:15},this),r&&t.jsxDEV("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 rounded-full",children:t.jsxDEV(xn,{className:"h-6 w-6 animate-spin text-white"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:611,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:610,columnNumber:17},this),t.jsxDEV(re,{ref:y,type:"file",accept:"image/jpeg,image/jpg,image/png,image/webp",onChange:Q,className:"hidden"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:614,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:599,columnNumber:13},this),t.jsxDEV("div",{className:"flex-1",children:t.jsxDEV(K,{children:"User Profile"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:623,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:622,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:598,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:597,columnNumber:9},this),t.jsxDEV(B,{className:"space-y-6",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold mb-4",children:"Personal Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:630,columnNumber:13},this),t.jsxDEV(F,{className:"mb-4",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-base",children:"Basic Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:635,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:634,columnNumber:15},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Full Names"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:640,columnNumber:21},this),t.jsxDEV("p",{className:"text-base font-medium mt-1",children:Z||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:641,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:639,columnNumber:19},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Date of Birth"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:644,columnNumber:21},this),t.jsxDEV("p",{className:"text-base font-medium mt-1",children:n.date_of_birth?new Date(n.date_of_birth).toLocaleDateString("en-GB",{day:"2-digit",month:"long",year:"numeric"}):"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:645,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:643,columnNumber:19},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Email Address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:656,columnNumber:21},this),t.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[t.jsxDEV("p",{className:"text-base font-medium",children:n.email||e?.email||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:658,columnNumber:23},this),t.jsxDEV(L,{variant:"link",size:"sm",className:"h-auto p-0 text-xs",onClick:()=>s("/dashboard3/profile?edit=email"),children:"Edit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:659,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:657,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:655,columnNumber:19},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Phone Number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:670,columnNumber:21},this),t.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[t.jsxDEV("p",{className:"text-base font-medium",children:n.phone||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:672,columnNumber:23},this),t.jsxDEV(L,{variant:"link",size:"sm",className:"h-auto p-0 text-xs",onClick:()=>s("/dashboard3/profile?edit=phone"),children:"Edit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:673,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:671,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:669,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:638,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:637,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:633,columnNumber:13},this),t.jsxDEV(F,{className:"mb-4",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-base",children:"Mailing Address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:690,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:689,columnNumber:15},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxDEV("div",{className:"md:col-span-2",children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Street Address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:695,columnNumber:21},this),t.jsxDEV("p",{className:"text-base font-medium mt-1",children:[ge||"N/A",xe&&t.jsxDEV(t.Fragment,{children:[t.jsxDEV("br",{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:700,columnNumber:27},this),xe]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:699,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:696,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:694,columnNumber:19},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Zip/Postcode"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:707,columnNumber:21},this),t.jsxDEV("p",{className:"text-base font-medium mt-1",children:n.zip_postcode||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:708,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:706,columnNumber:19},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Country"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:711,columnNumber:21},this),t.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[t.jsxDEV("p",{className:"text-base font-medium",children:n.country||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:713,columnNumber:23},this),t.jsxDEV(L,{variant:"link",size:"sm",className:"h-auto p-0 text-xs",onClick:()=>s("/dashboard3/profile?edit=address"),children:"Edit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:714,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:712,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:710,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:693,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:692,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:688,columnNumber:13},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-base",children:"Photos"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:731,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:730,columnNumber:15},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500 mb-2 block",children:"Profile Photo"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:737,columnNumber:21},this),t.jsxDEV("div",{className:"flex items-start gap-4",children:[t.jsxDEV("div",{className:"relative",children:[t.jsxDEV(ul,{className:"w-20 h-20 cursor-pointer hover:opacity-80 transition-opacity",onClick:$,children:[t.jsxDEV(xc,{src:c||n.avatar_url},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:744,columnNumber:27},this),t.jsxDEV(cl,{children:(n.first_name||"U")[0].toUpperCase()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:745,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:740,columnNumber:25},this),r&&t.jsxDEV("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 rounded-full",children:t.jsxDEV(xn,{className:"h-6 w-6 animate-spin text-white"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:751,columnNumber:29},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:750,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:739,columnNumber:23},this),t.jsxDEV("div",{className:"flex flex-col gap-2 flex-1",children:[t.jsxDEV("p",{className:"text-xs text-gray-500",children:"Click on photo to upload"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:756,columnNumber:25},this),t.jsxDEV(re,{ref:y,type:"file",accept:"image/jpeg,image/jpg,image/png,image/webp",onChange:Q,className:"hidden"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:757,columnNumber:25},this),t.jsxDEV(L,{variant:"outline",size:"sm",onClick:$,disabled:r,className:"w-fit",children:[t.jsxDEV(kD,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:771,columnNumber:27},this),r?"Uploading...":"Change Photo"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:764,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:755,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:738,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:736,columnNumber:19},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500 mb-2 block",children:"ID Document (Optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:780,columnNumber:21},this),t.jsxDEV("div",{className:"flex items-start gap-4",children:[d||n.passport_photo_url?t.jsxDEV("div",{className:"relative",children:[n.passport_photo_url?.endsWith(".pdf")?t.jsxDEV("div",{className:"w-32 h-20 border-2 border-dashed border-gray-300 rounded flex items-center justify-center bg-gray-50",children:t.jsxDEV("span",{className:"text-xs text-gray-500",children:"PDF Document"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:786,columnNumber:31},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:785,columnNumber:29},this):t.jsxDEV("img",{src:d||n.passport_photo_url,alt:"Passport",className:"w-32 h-20 object-cover rounded border"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:789,columnNumber:29},this),l&&t.jsxDEV("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 rounded",children:t.jsxDEV(xn,{className:"h-6 w-6 animate-spin text-white"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:797,columnNumber:31},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:796,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:783,columnNumber:25},this):t.jsxDEV("div",{className:"w-32 h-20 border-2 border-dashed border-gray-300 rounded flex items-center justify-center bg-gray-50",children:t.jsxDEV("span",{className:"text-xs text-gray-500",children:"No passport photo"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:803,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:802,columnNumber:25},this),t.jsxDEV("div",{className:"flex flex-col gap-2 flex-1",children:[t.jsxDEV(re,{ref:G,type:"file",accept:"image/jpeg,image/jpg,image/png,application/pdf",onChange:ne,className:"hidden"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:807,columnNumber:25},this),t.jsxDEV(L,{variant:"outline",size:"sm",onClick:()=>G.current?.click(),disabled:l,className:"w-fit",children:[t.jsxDEV(kD,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:821,columnNumber:27},this),l?"Uploading...":n.passport_photo_url?"Change Photo":"Upload Passport Photo"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:814,columnNumber:25},this),t.jsxDEV("span",{className:"text-xs text-gray-500",children:"JPG, PNG, or PDF (max 5MB)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:824,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:806,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:781,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:779,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:734,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:733,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:729,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:629,columnNumber:11},this),t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold mb-4",children:"Security Information"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:835,columnNumber:13},this),t.jsxDEV(F,{className:"mb-4",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-base",children:"Security Questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:839,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:838,columnNumber:15},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Security Question 1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:844,columnNumber:21},this),t.jsxDEV("p",{className:"text-base font-medium mt-1",children:"What is the name of your best actor ?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:845,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:843,columnNumber:19},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Security Question 2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:848,columnNumber:21},this),t.jsxDEV("p",{className:"text-base font-medium mt-1",children:"What is your favorite book?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:849,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:847,columnNumber:19},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Security Question 3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:852,columnNumber:21},this),t.jsxDEV("p",{className:"text-base font-medium mt-1",children:"What town was your mother born?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:853,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:851,columnNumber:19},this),t.jsxDEV("div",{className:"pt-2",children:[t.jsxDEV("span",{className:"text-sm text-gray-500",children:"(Security Answers are hidden for added security) "},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:856,columnNumber:21},this),t.jsxDEV(L,{variant:"link",size:"sm",className:"h-auto p-0 text-xs",onClick:()=>s("/dashboard3/profile?edit=question"),children:"Edit Security Questions and Answers"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:857,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:855,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:842,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:841,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:837,columnNumber:13},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-base",children:"Authentication"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:872,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:871,columnNumber:15},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"User Name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:877,columnNumber:21},this),t.jsxDEV("p",{className:"text-base font-medium mt-1",children:n?.username||e?.email?.split("@")[0]||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:878,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:876,columnNumber:19},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:881,columnNumber:21},this),t.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[t.jsxDEV("span",{className:"text-sm text-gray-500",children:"(Hidden for added security)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:883,columnNumber:23},this),t.jsxDEV(L,{variant:"link",size:"sm",className:"h-auto p-0 text-xs",onClick:()=>s("/dashboard3/profile?edit=password"),children:"Edit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:884,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:882,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:880,columnNumber:19},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{className:"text-sm text-gray-500",children:"Access Code"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:895,columnNumber:21},this),t.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[t.jsxDEV("span",{className:"text-sm text-gray-500",children:"(Hidden for added security)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:897,columnNumber:23},this),t.jsxDEV(L,{variant:"link",size:"sm",className:"h-auto p-0 text-xs",onClick:()=>s("/dashboard3/profile?#edit=access"),children:"Edit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:898,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:896,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:894,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:875,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:874,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:870,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:834,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:627,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:596,columnNumber:7},this),t.jsxDEV(pa,{open:T,onOpenChange:le=>{le||V()},children:t.jsxDEV(ea,{className:"max-w-2xl",children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{children:j},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:925,columnNumber:13},this),t.jsxDEV(na,{children:w},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:926,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:924,columnNumber:11},this),t.jsxDEV("div",{className:"space-y-4",children:[O(),N&&t.jsxDEV(Qs,{variant:"destructive",children:[t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:932,columnNumber:17},this),t.jsxDEV(Zs,{children:N},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:933,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:931,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:928,columnNumber:11},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:V,disabled:x,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:938,columnNumber:13},this),A&&t.jsxDEV(L,{onClick:_,disabled:x,children:x?t.jsxDEV(t.Fragment,{children:[t.jsxDEV(xn,{className:"mr-2 h-4 w-4 animate-spin"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:945,columnNumber:21},this),"Saving..."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:944,columnNumber:19},this):"Save Changes"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:942,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:937,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:923,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:915,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ProfilePage.tsx",lineNumber:589,columnNumber:5},this)}const eGe=["Select a Topic","----------","Accounts","Auto Loans","Bill Payments","Business Accounts","Credit Card","Check Card","Credit Card Rewards","Enrollment","Internet Banking","Item(s) from Statement","Money Market Account","Photocopy of Check(s)","Photocopy of Statement","Stop Payment","Transfers","Other"];function sGe(){const[e,s]=v.useState("inbox"),[a,n]=v.useState({regarding:"",account:"",subject:"",message:""}),i=r=>{r.preventDefault(),rs.success("Message sent successfully!"),n({regarding:"",account:"",subject:"",message:""})};return t.jsxDEV("div",{className:"space-y-6",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Secure Message Center"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:58,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:57,columnNumber:9},this),t.jsxDEV(B,{children:[t.jsxDEV(Fr,{value:e,onValueChange:s,className:"space-y-4",children:[t.jsxDEV(qi,{children:[t.jsxDEV(Ps,{value:"inbox",children:"Inbox"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:63,columnNumber:15},this),t.jsxDEV(Ps,{value:"sent",children:"Sent"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:64,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:62,columnNumber:13},this),t.jsxDEV(As,{value:"inbox",className:"space-y-4",children:t.jsxDEV("div",{className:"text-center py-8 text-gray-500",children:"No Messages in Inbox"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:68,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:67,columnNumber:13},this),t.jsxDEV(As,{value:"sent",className:"space-y-4",children:t.jsxDEV("div",{className:"text-center py-8 text-gray-500",children:"No sent messages"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:74,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:73,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:61,columnNumber:11},this),t.jsxDEV("div",{className:"mt-8 pt-8 border-t",children:[t.jsxDEV("h3",{className:"text-lg font-semibold mb-4",children:"Send a Message"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:82,columnNumber:13},this),t.jsxDEV("form",{onSubmit:i,className:"space-y-4",children:t.jsxDEV(Ms,{children:t.jsxDEV(Os,{children:[t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium w-1/3",children:"Regarding:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:87,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(ds,{value:a.regarding,onValueChange:r=>n(o=>({...o,regarding:r})),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Select a Topic"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:94,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:93,columnNumber:25},this),t.jsxDEV(ls,{children:eGe.map(r=>t.jsxDEV(ye,{value:r,children:r},r,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:98,columnNumber:29},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:96,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:89,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:88,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:86,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Account:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:107,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(ds,{value:a.account,onValueChange:r=>n(o=>({...o,account:r})),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Select an Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:114,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:113,columnNumber:25},this),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"select",children:"Select an Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:117,columnNumber:27},this),t.jsxDEV(ye,{value:"----------",children:"----------"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:118,columnNumber:27},this),t.jsxDEV(ye,{value:"non-residential",children:"Non-Residencial Acc - 2201"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:119,columnNumber:27},this),t.jsxDEV(ye,{value:"general",children:"General Questions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:120,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:116,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:109,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:108,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:106,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Subject:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:126,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(re,{value:a.subject,onChange:r=>n(o=>({...o,subject:r.target.value})),placeholder:"Enter message subject"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:128,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:127,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:125,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium align-top",children:"Message"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:136,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(Un,{value:a.message,onChange:r=>n(o=>({...o,message:r.target.value})),placeholder:"Enter your message",rows:6},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:138,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:137,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:135,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:147,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(L,{type:"submit",className:"bg-black hover:bg-gray-800",children:[t.jsxDEV("span",{className:"mr-2",children:"→"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:150,columnNumber:25},this),"Send Message"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:149,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:148,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:146,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:85,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:84,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:83,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:81,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:60,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:56,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/MessagesPage.tsx",lineNumber:55,columnNumber:5},this)}function tGe(){const{user:e}=at(),s=Js();Dc();const[a,n]=v.useState([]),[i,r]=v.useState(""),[o,l]=v.useState({accountDebitEmail:!1,accountDebitMobile:!1,accountCreditEmail:!1,accountCreditMobile:!1,balanceBelowAmount:"",balanceBelowEmail:!1,balanceBelowMobile:!1,balanceAboveAmount:"",balanceAboveEmail:!1,balanceAboveMobile:!1,overdrawnEmail:!1,overdrawnMobile:!1,newMessageEmail:!1,newMessageMobile:!1}),[u,c]=v.useState(null);v.useEffect(()=>{(async()=>{if(e)try{const{data:p}=await oe.from("accounts").select("*").eq("user_id",e.id).eq("status","active");n(p||[]),p&&p.length>0&&!i&&r(p[0].id);const{data:x}=await oe.from("profiles").select("*").eq("id",e.id).single();if(c(x),i)try{const{data:D,error:N}=await oe.from("account_alerts").select("*").eq("account_id",i).maybeSingle();!N&&D&&l({accountDebitEmail:D.account_debit_email||!1,accountDebitMobile:D.account_debit_mobile||!1,accountCreditEmail:D.account_credit_email||!1,accountCreditMobile:D.account_credit_mobile||!1,balanceBelowAmount:D.balance_below_amount||"",balanceBelowEmail:D.balance_below_email||!1,balanceBelowMobile:D.balance_below_mobile||!1,balanceAboveAmount:D.balance_above_amount||"",balanceAboveEmail:D.balance_above_email||!1,balanceAboveMobile:D.balance_above_mobile||!1,overdrawnEmail:D.overdrawn_email||!1,overdrawnMobile:D.overdrawn_mobile||!1,newMessageEmail:D.new_message_email||!1,newMessageMobile:D.new_message_mobile||!1})}catch(D){console.warn("Account alerts table may not exist:",D)}}catch(p){console.error("Error loading alert data:",p)}})()},[e,i]);const m=(g,p)=>{l(x=>({...x,[g]:p}))},d=(g,p)=>{l(x=>({...x,[g]:p}))},b=async()=>{if(!i){rs.error("Please select an account");return}try{const{error:g}=await oe.from("account_alerts").upsert({account_id:i,account_debit_email:o.accountDebitEmail,account_debit_mobile:o.accountDebitMobile,account_credit_email:o.accountCreditEmail,account_credit_mobile:o.accountCreditMobile,balance_below_amount:o.balanceBelowAmount,balance_below_email:o.balanceBelowEmail,balance_below_mobile:o.balanceBelowMobile,balance_above_amount:o.balanceAboveAmount,balance_above_email:o.balanceAboveEmail,balance_above_mobile:o.balanceAboveMobile,overdrawn_email:o.overdrawnEmail,overdrawn_mobile:o.overdrawnMobile,new_message_email:o.newMessageEmail,new_message_mobile:o.newMessageMobile},{onConflict:"account_id"});g?(console.warn("Account alerts table may not exist:",g),rs.success("Alert preferences saved! (Note: Database table may need to be created for persistence)")):rs.success("Account alerts updated successfully!")}catch(g){console.error("Error updating alerts:",g),rs.success("Alert preferences saved!")}},f=async g=>{if(g)try{await navigator.clipboard.writeText(g),rs.success("Account number copied to clipboard!")}catch{rs.error("Failed to copy account number")}},h=a.find(g=>g.id===i);return t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{children:t.jsxDEV(B,{className:"pt-6",children:t.jsxDEV(ds,{value:i,onValueChange:r,children:[t.jsxDEV(os,{className:"w-full max-w-md",children:t.jsxDEV(bs,{placeholder:"Select a Different Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:189,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:188,columnNumber:13},this),t.jsxDEV(ls,{children:[a.map(g=>t.jsxDEV(ye,{value:g.id,children:[g.account_types?.name||"Account"," - ",g.account_number||"N/A"]},g.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:193,columnNumber:17},this)),t.jsxDEV(ye,{value:"all",children:"View All Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:197,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:191,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:187,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:186,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:185,columnNumber:7},this),h&&t.jsxDEV(t.Fragment,{children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:[t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(K,{children:[h.account_types?.name||"Account"," - ",t.jsxDEV("span",{className:"font-mono",children:h.account_number||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:209,columnNumber:76},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:208,columnNumber:17},this),h.account_number&&t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:()=>f(h.account_number),title:"Copy account number",children:t.jsxDEV(xr,{className:"h-3 w-3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:219,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:212,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:207,columnNumber:15},this),t.jsxDEV("p",{className:"text-sm text-gray-600",children:["Available Balance: €",parseFloat(h.balance||"0").toFixed(2)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:223,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:206,columnNumber:13},this),t.jsxDEV(B,{children:[t.jsxDEV("div",{className:"mb-6 space-y-2",children:[t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("span",{className:"text-sm",children:["Email Address: ",u?.email||"N/A"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:229,columnNumber:19},this),t.jsxDEV(L,{variant:"link",size:"sm",onClick:()=>s("/dashboard3/profile?edit=email"),children:"Edit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:230,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:228,columnNumber:17},this),t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("span",{className:"text-sm",children:["Mobile Number: ",u?.phone||"N/A"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:235,columnNumber:19},this),t.jsxDEV(L,{variant:"link",size:"sm",onClick:()=>s("/dashboard3/profile?edit=phone"),children:"Edit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:236,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:234,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:227,columnNumber:15},this),t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{children:"Account Alerts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:246,columnNumber:21},this),t.jsxDEV(pe,{children:"Alert Notification Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:247,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:245,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:244,columnNumber:17},this),t.jsxDEV(Os,{children:[t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Account Debit Notification"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:253,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.accountDebitEmail,onCheckedChange:g=>m("accountDebitEmail",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:257,columnNumber:27},this),t.jsxDEV(Y,{children:"Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:261,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:256,columnNumber:25},this),t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.accountDebitMobile,onCheckedChange:g=>m("accountDebitMobile",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:264,columnNumber:27},this),t.jsxDEV(Y,{children:"Mobile"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:268,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:263,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:255,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:254,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:252,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Account Credit Notification"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:276,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.accountCreditEmail,onCheckedChange:g=>m("accountCreditEmail",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:280,columnNumber:27},this),t.jsxDEV(Y,{children:"Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:284,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:279,columnNumber:25},this),t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.accountCreditMobile,onCheckedChange:g=>m("accountCreditMobile",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:287,columnNumber:27},this),t.jsxDEV(Y,{children:"Mobile"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:291,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:286,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:278,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:277,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:275,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV("span",{children:"Available Balance has fallen below €"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:301,columnNumber:25},this),t.jsxDEV(re,{type:"number",value:o.balanceBelowAmount,onChange:g=>d("balanceBelowAmount",g.target.value),className:"w-24",placeholder:"0.00"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:302,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:300,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:299,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.balanceBelowEmail,onCheckedChange:g=>m("balanceBelowEmail",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:314,columnNumber:27},this),t.jsxDEV(Y,{children:"Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:318,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:313,columnNumber:25},this),t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.balanceBelowMobile,onCheckedChange:g=>m("balanceBelowMobile",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:321,columnNumber:27},this),t.jsxDEV(Y,{children:"Mobile"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:325,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:320,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:312,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:311,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:298,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV("span",{children:"Available Balance has risen above €"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:335,columnNumber:25},this),t.jsxDEV(re,{type:"number",value:o.balanceAboveAmount,onChange:g=>d("balanceAboveAmount",g.target.value),className:"w-24",placeholder:"0.00"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:336,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:334,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:333,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.balanceAboveEmail,onCheckedChange:g=>m("balanceAboveEmail",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:348,columnNumber:27},this),t.jsxDEV(Y,{children:"Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:352,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:347,columnNumber:25},this),t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.balanceAboveMobile,onCheckedChange:g=>m("balanceAboveMobile",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:355,columnNumber:27},this),t.jsxDEV(Y,{children:"Mobile"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:359,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:354,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:346,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:345,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:332,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"Account Overdrawn"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:367,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.overdrawnEmail,onCheckedChange:g=>m("overdrawnEmail",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:371,columnNumber:27},this),t.jsxDEV(Y,{children:"Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:375,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:370,columnNumber:25},this),t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.overdrawnMobile,onCheckedChange:g=>m("overdrawnMobile",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:378,columnNumber:27},this),t.jsxDEV(Y,{children:"Mobile"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:382,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:377,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:369,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:368,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:366,columnNumber:19},this),t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-medium",children:"New Message Arrival"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:390,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.newMessageEmail,onCheckedChange:g=>m("newMessageEmail",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:394,columnNumber:27},this),t.jsxDEV(Y,{children:"Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:398,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:393,columnNumber:25},this),t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(Vt,{checked:o.newMessageMobile,onCheckedChange:g=>m("newMessageMobile",g)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:401,columnNumber:27},this),t.jsxDEV(Y,{children:"Mobile"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:405,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:400,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:392,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:391,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:389,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:250,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:243,columnNumber:15},this),t.jsxDEV("div",{className:"mt-6",children:t.jsxDEV(L,{onClick:b,className:"bg-gray-700 hover:bg-gray-800",children:"Update Account Alerts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:414,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:413,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:225,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:205,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:204,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/AlertsPage.tsx",lineNumber:183,columnNumber:5},this)}function aGe(){return t.jsxDEV("div",{className:"space-y-6",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Contact Us"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:9,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:8,columnNumber:9},this),t.jsxDEV(B,{className:"space-y-6",children:t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold mb-4",children:"Get in Touch"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:13,columnNumber:13},this),t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-medium",children:"Call us:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:16,columnNumber:17},this),t.jsxDEV("p",{className:"text-gray-600",children:"+48 732 123 213"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:17,columnNumber:17},this),t.jsxDEV("p",{className:"text-sm text-gray-500 mt-1",children:"Monday-Friday, 8am-6pm"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:18,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:15,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-medium",children:"Email us:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:21,columnNumber:17},this),t.jsxDEV("p",{className:"text-gray-600",children:"info@gatescbank.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:22,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:20,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-medium",children:"Contact us:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:25,columnNumber:17},this),t.jsxDEV("p",{className:"text-gray-600",children:"Via secure message or phone"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:26,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:24,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-medium",children:"Business hours:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:29,columnNumber:17},this),t.jsxDEV("p",{className:"text-gray-600",children:"8am - 5:30pm daily"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:30,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:28,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:14,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:12,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:11,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:7,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/ContactPage.tsx",lineNumber:6,columnNumber:5},this)}function nGe(){const{user:e}=at(),s=Js(),[a,n]=v.useState([]),[i,r]=v.useState(""),[o,l]=v.useState(""),[u,c]=v.useState(""),[m,d]=v.useState(!1),[b,f]=v.useState(null);v.useEffect(()=>{(async()=>{if(!e)return;const{data:p,error:x}=await oe.from("accounts").select("id, account_number, account_types ( name )").eq("user_id",e.id).eq("status","active");x?f({type:"error",text:x.message}):(n(p||[]),(p||[]).length>0&&r(p[0].id))})()},[e]);const h=async g=>{g.preventDefault(),f(null);const p=parseFloat(o);if(!i){f({type:"error",text:"Please select an account"});return}if(isNaN(p)||p<=0){f({type:"error",text:"Enter a valid positive amount"});return}d(!0);try{const{data:x,error:D}=await oe.from("accounts").select("balance").eq("id",i).single();if(D)throw new Error(`Failed to fetch account: ${D.message}`);const C=parseFloat(x?.balance||"0"),{error:y}=await oe.from("transactions").insert({account_id:i,transaction_type:"deposit",amount:p,balance_after:C,description:u||"User deposit request",status:"pending"});if(y)throw console.error("Transaction insert error:",y),new Error(y.message||"Failed to submit deposit request");f({type:"success",text:"Deposit request submitted. Awaiting admin approval."}),setTimeout(()=>s("/dashboard3/accounts"),1e3)}catch(x){console.error("Deposit request error:",x);const D=x?.message||x?.error?.message||"Failed to submit request";f({type:"error",text:D.includes("balance_after")?"Server error: Missing balance information. Please try again.":D})}finally{d(!1)}};return t.jsxDEV("div",{className:"space-y-6",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Request Deposit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:115,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:114,columnNumber:9},this),t.jsxDEV(B,{children:[b&&t.jsxDEV(Qs,{variant:b.type==="error"?"destructive":"default",className:"mb-4",children:t.jsxDEV(Zs,{children:b.text},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:120,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:119,columnNumber:13},this),a.length===0?t.jsxDEV("div",{className:"flex flex-col items-center justify-center py-12 px-4 text-center",children:[t.jsxDEV("div",{className:"rounded-full bg-yellow-100 p-3 mb-4",children:t.jsxDEV(ut,{className:"h-8 w-8 text-yellow-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:127,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:126,columnNumber:15},this),t.jsxDEV("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"No Accounts Found"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:129,columnNumber:15},this),t.jsxDEV("p",{className:"text-gray-600 mb-6 max-w-md",children:"Your accounts are being set up automatically. Please wait a moment and refresh, or visit your Accounts page to view your account status."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:130,columnNumber:15},this),t.jsxDEV("div",{className:"flex gap-3",children:[t.jsxDEV(L,{onClick:()=>s("/dashboard3/accounts"),className:"bg-black text-yellow-400 hover:bg-gray-800",children:"View Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:134,columnNumber:15},this),t.jsxDEV(L,{onClick:()=>window.location.reload(),variant:"outline",children:"Refresh Page"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:137,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:133,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:125,columnNumber:13},this):t.jsxDEV("form",{onSubmit:h,className:"space-y-5 max-w-md",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:145,columnNumber:15},this),t.jsxDEV(ds,{value:i,onValueChange:r,children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Select account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:148,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:147,columnNumber:17},this),t.jsxDEV(ls,{children:a.map(g=>t.jsxDEV(ye,{value:g.id,children:(g.account_types?.name||"Account")+" • "+g.account_number},g.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:152,columnNumber:21},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:150,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:146,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:144,columnNumber:13},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"amount",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:161,columnNumber:15},this),t.jsxDEV(re,{id:"amount",type:"number",step:"0.01",min:"0",value:o,onChange:g=>l(g.target.value),placeholder:"0.00"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:162,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:160,columnNumber:13},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"desc",children:"Description (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:174,columnNumber:15},this),t.jsxDEV(re,{id:"desc",type:"text",value:u,onChange:g=>c(g.target.value),placeholder:"e.g. Bank transfer reference"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:175,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:173,columnNumber:13},this),t.jsxDEV("div",{className:"flex gap-3",children:[t.jsxDEV(L,{type:"submit",disabled:m,className:"bg-black text-yellow-400 hover:bg-gray-800",children:m?"Submitting...":"Submit Request"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:185,columnNumber:15},this),t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>s("/dashboard3/accounts"),children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:188,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:184,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:143,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:117,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:113,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestDeposit.tsx",lineNumber:112,columnNumber:5},this)}function iGe(){at();const e=Js(),[s,a]=v.useState([]),[n,i]=v.useState(""),[r,o]=v.useState("0"),[l,u]=v.useState("USD"),[c,m]=v.useState(""),[d,b]=v.useState(!1),[f,h]=v.useState(!0),[g,p]=v.useState(null);v.useEffect(()=>{(async()=>{h(!0);try{const{data:C,error:y}=await oe.from("account_types").select("id, name, description").order("name");if(y)throw y;a(C||[]),C&&C.length>0&&i(C[0].id)}catch(C){console.error("Error loading account types:",C),p({type:"error",text:"Failed to load account types. Please try again."})}finally{h(!1)}})()},[]);const x=s.find(N=>N.id===n),D=async N=>{if(N.preventDefault(),p(null),!n){p({type:"error",text:"Please select an account type"});return}const C=parseFloat(r);if(isNaN(C)||C<0){p({type:"error",text:"Enter a valid deposit amount (0 or greater)"});return}if(C<0){p({type:"error",text:"Initial deposit cannot be negative"});return}b(!0);try{const{data:y,error:G}=await oe.rpc("request_account",{p_account_type_id:n,p_initial_deposit:C,p_currency:l,p_notes:c||null});if(G)throw console.error("Account request error:",G),new Error(G.message||"Failed to submit account request");p({type:"success",text:"Account request submitted successfully! An admin will review your request shortly."}),setTimeout(()=>e("/dashboard3/accounts"),2e3)}catch(y){console.error("Account request error:",y),p({type:"error",text:y.message||"Failed to submit account request. Please try again."})}finally{b(!1)}};return t.jsxDEV("div",{className:"space-y-6",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:[t.jsxDEV(K,{children:"Request New Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:120,columnNumber:11},this),t.jsxDEV(st,{children:"Request to open a new bank account. Your request will be reviewed by an administrator."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:121,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:119,columnNumber:9},this),t.jsxDEV(B,{children:[g&&t.jsxDEV(Qs,{variant:g.type==="error"?"destructive":"default",className:"mb-4",children:t.jsxDEV(Zs,{children:g.text},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:128,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:127,columnNumber:13},this),f?t.jsxDEV("div",{className:"flex flex-col items-center justify-center py-12 px-4 text-center",children:[t.jsxDEV("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-gray-900 mb-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:134,columnNumber:15},this),t.jsxDEV("p",{className:"text-gray-600",children:"Loading account types..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:135,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:133,columnNumber:13},this):s.length===0?t.jsxDEV("div",{className:"flex flex-col items-center justify-center py-12 px-4 text-center",children:[t.jsxDEV("div",{className:"rounded-full bg-yellow-100 p-3 mb-4",children:t.jsxDEV(ut,{className:"h-8 w-8 text-yellow-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:140,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:139,columnNumber:15},this),t.jsxDEV("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"No Account Types Available"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:142,columnNumber:15},this),t.jsxDEV("p",{className:"text-gray-600 mb-6 max-w-md",children:"Account types are not available at this time. Please contact support for assistance."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:143,columnNumber:15},this),t.jsxDEV(L,{onClick:()=>e("/dashboard3/accounts"),variant:"outline",children:"Back to Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:146,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:138,columnNumber:13},this):t.jsxDEV("form",{onSubmit:D,className:"space-y-5 max-w-md",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"Account Type *"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:153,columnNumber:17},this),t.jsxDEV(ds,{value:n,onValueChange:i,children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Select account type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:156,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:155,columnNumber:19},this),t.jsxDEV(ls,{children:s.map(N=>t.jsxDEV(ye,{value:N.id,children:t.jsxDEV("div",{className:"flex flex-col",children:[t.jsxDEV("span",{className:"font-medium",children:N.name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:162,columnNumber:27},this),N.description&&t.jsxDEV("span",{className:"text-xs text-gray-500",children:N.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:164,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:161,columnNumber:25},this)},N.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:160,columnNumber:23},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:158,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:154,columnNumber:17},this),x&&x.description&&t.jsxDEV("div",{className:"mt-2 text-sm text-gray-600",children:t.jsxDEV("p",{children:x.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:173,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:172,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:152,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"deposit",children:"Initial Deposit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:179,columnNumber:17},this),t.jsxDEV(re,{id:"deposit",type:"number",step:"0.01",min:"0",value:r,onChange:N=>o(N.target.value),placeholder:"0.00"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:180,columnNumber:17},this),t.jsxDEV("p",{className:"text-xs text-gray-500",children:"Optional: You can start with €0.00 and add funds later"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:189,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:178,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"currency",children:"Currency"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:195,columnNumber:17},this),t.jsxDEV(ds,{value:l,onValueChange:u,children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:198,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:197,columnNumber:19},this),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"USD",children:"USD ($)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:201,columnNumber:21},this),t.jsxDEV(ye,{value:"EUR",children:"EUR (€)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:202,columnNumber:21},this),t.jsxDEV(ye,{value:"GBP",children:"GBP (£)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:203,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:200,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:196,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:194,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"notes",children:"Additional Notes (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:209,columnNumber:17},this),t.jsxDEV(Un,{id:"notes",value:c,onChange:N=>m(N.target.value),placeholder:"Any additional information about your account request...",rows:4},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:210,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:208,columnNumber:15},this),t.jsxDEV("div",{className:"flex gap-3",children:[t.jsxDEV(L,{type:"submit",disabled:d,className:"bg-black text-yellow-400 hover:bg-gray-800",children:d?"Submitting...":"Submit Request"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:220,columnNumber:17},this),t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>e("/dashboard3/accounts"),children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:223,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:219,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:151,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:125,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:118,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/RequestAccount.tsx",lineNumber:117,columnNumber:5},this)}function rGe(){const{user:e}=at(),s=Js(),[a,n]=v.useState(!1),[i,r]=v.useState({product:"Standard Visa",income:"",employment_status:"employed",notes:""}),[o,l]=v.useState(null),u=async c=>{if(c.preventDefault(),!!e){n(!0),l(null);try{const{error:m}=await oe.from("credit_card_applications").insert({user_id:e.id,product:i.product,income:i.income?Number(i.income):null,employment_status:i.employment_status,notes:i.notes});if(m)throw m;l("Application submitted. We will notify you after review."),setTimeout(()=>s("/dashboard3"),1200)}catch(m){l(m.message||"Submission failed")}finally{n(!1)}}};return t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Apply for a Credit Card"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:46,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:45,columnNumber:7},this),t.jsxDEV(B,{children:t.jsxDEV("form",{onSubmit:u,className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("label",{htmlFor:"product",className:"block text-sm mb-1",children:"Product"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:51,columnNumber:13},this),t.jsxDEV("select",{id:"product",value:i.product,onChange:c=>r({...i,product:c.target.value}),className:"w-full border rounded px-3 py-2",children:[t.jsxDEV("option",{children:"Standard Visa"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:58,columnNumber:15},this),t.jsxDEV("option",{children:"Gold Mastercard"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:59,columnNumber:15},this),t.jsxDEV("option",{children:"Platinum Rewards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:60,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:52,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:50,columnNumber:11},this),t.jsxDEV("div",{children:[t.jsxDEV("label",{htmlFor:"income",className:"block text-sm mb-1",children:"Annual Income (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:64,columnNumber:13},this),t.jsxDEV("input",{id:"income",type:"number",step:"0.01",value:i.income,onChange:c=>r({...i,income:c.target.value}),className:"w-full border rounded px-3 py-2",placeholder:"0.00"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:65,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:63,columnNumber:11},this),t.jsxDEV("div",{children:[t.jsxDEV("label",{htmlFor:"employment_status",className:"block text-sm mb-1",children:"Employment Status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:76,columnNumber:13},this),t.jsxDEV("select",{id:"employment_status",value:i.employment_status,onChange:c=>r({...i,employment_status:c.target.value}),className:"w-full border rounded px-3 py-2",children:[t.jsxDEV("option",{value:"employed",children:"Employed"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:83,columnNumber:15},this),t.jsxDEV("option",{value:"self_employed",children:"Self-employed"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:84,columnNumber:15},this),t.jsxDEV("option",{value:"student",children:"Student"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:85,columnNumber:15},this),t.jsxDEV("option",{value:"unemployed",children:"Unemployed"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:86,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:77,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:75,columnNumber:11},this),t.jsxDEV("div",{children:[t.jsxDEV("label",{htmlFor:"notes",className:"block text-sm mb-1",children:"Notes (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:90,columnNumber:13},this),t.jsxDEV("textarea",{id:"notes",value:i.notes,onChange:c=>r({...i,notes:c.target.value}),className:"w-full border rounded px-3 py-2",rows:3,placeholder:"Additional notes..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:91,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:89,columnNumber:11},this),t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV(L,{type:"submit",disabled:a,className:"bg-black text-yellow-400 hover:bg-gray-800",children:a?"Submitting…":"Submit Application"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:101,columnNumber:13},this),t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>s(-1),children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:104,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:100,columnNumber:11},this),o&&t.jsxDEV("p",{className:"text-sm mt-2",children:o},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:106,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:49,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:48,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/CreditCardApply.tsx",lineNumber:44,columnNumber:5},this)}const ia={async getPendingTransactions(){try{const{data:e,error:s}=await oe.rpc("admin_get_pending_transactions");if(!s)return{success:!0,data:e||[]};const{data:a,error:n}=await oe.from("transactions").select(`
            id,
            account_id,
            amount,
            transaction_type,
            description,
            created_at,
            metadata,
            accounts:account_id (
              account_number,
              currency,
              profiles:user_id (
                email,
                first_name,
                last_name,
                username
              )
            )
          `).eq("status","pending").order("created_at",{ascending:!0});if(n)throw n;return{success:!0,data:(a||[]).map(r=>{const o=r.accounts?.profiles,l=o&&(`${o.first_name||""} ${o.last_name||""}`.trim()||o.username)||"Unknown";return{id:r.id,account_id:r.account_id,account_number:r.accounts?.account_number||"N/A",user_email:o?.email||"Unknown",user_name:l,transaction_type:r.transaction_type,amount:Number(r.amount||0),description:r.description||null,created_at:r.created_at,metadata:r.metadata||null,currency:r.accounts?.currency||"EUR"}})}}catch(e){return{success:!1,error:e.message}}},async approveTransaction(e,s){try{const{data:{user:a}}=await oe.auth.getUser();if(!a)return{success:!1,error:"User not authenticated"};const{data:n,error:i}=await oe.rpc("admin_approve_transaction",{transaction_id:e,action:"approve",admin_user_id:a.id,notes:s||null});if(i)console.warn("RPC function failed, using fallback:",i.message);else if(n){if(n.success===!0)return{success:!0};if(n.success===!1)return{success:!1,error:n.error||"Transaction approval failed"}}const{data:r,error:o}=await oe.from("transactions").select("account_id, amount, transaction_type, metadata, status").eq("id",e).maybeSingle();if(o)throw o;if(!r)return{success:!1,error:"Transaction not found"};if(r.status!=="pending")return{success:!1,error:"Transaction is not pending approval"};const{data:l,error:u}=await oe.from("accounts").select("balance").eq("id",r.account_id).maybeSingle();if(u)throw u;if(!l)return{success:!1,error:"Account not found"};const c=Number(l.balance||0),m=Number(r.amount||0),d=r.transaction_type;let b=c;if(d==="deposit")b=c+m;else if(d==="withdrawal"){if(b=c-m,b<0)return{success:!1,error:"Insufficient balance for withdrawal"}}else if(d==="transfer"){if(b=c-m,b<0)return{success:!1,error:"Insufficient balance for transfer"}}else b=c+m;const h={status:"completed",metadata:{...r.metadata||{},admin_notes:s||null,approved_by:a.id,approved_at:new Date().toISOString()}};try{const{error:p}=await oe.from("transactions").update({...h,processed_at:new Date().toISOString()}).eq("id",e);if(p)if(p.message?.includes("processed_at")){const{error:x}=await oe.from("transactions").update(h).eq("id",e);if(x)throw x}else throw p}catch{const{error:x}=await oe.from("transactions").update(h).eq("id",e);if(x)throw x}const{error:g}=await oe.from("accounts").update({balance:b}).eq("id",r.account_id);if(g)throw g;return{success:!0}}catch(a){return{success:!1,error:a.message}}},async rejectTransaction(e,s){try{const{data:{user:a}}=await oe.auth.getUser();if(!a)return{success:!1,error:"User not authenticated"};const{data:n,error:i}=await oe.rpc("admin_approve_transaction",{transaction_id:e,action:"reject",admin_user_id:a.id,notes:s});if(!i&&(!n||n.success!==!1))return{success:!0};const{error:r}=await oe.from("transactions").update({status:"rejected",metadata:{rejected_by:a.id,rejected_at:new Date().toISOString(),rejection_reason:s}}).eq("id",e);if(r)throw r;return{success:!0}}catch(a){return{success:!1,error:a.message}}},async createManualTransaction(e,s,a,n){try{const{data:{user:i}}=await oe.auth.getUser();if(!i)return{success:!1,error:"User not authenticated"};const{data:r,error:o}=await oe.rpc("admin_create_transaction",{account_id:e,transaction_type:s,amount:a,description:n,admin_user_id:i.id});if(o)throw o;return r&&!r.success?{success:!1,error:r.error||"Failed to create transaction"}:{success:!0,data:r.transaction_id}}catch(i){return{success:!1,error:i.message}}},async getAllUsers(){try{const{data:{user:e}}=await oe.auth.getUser();if(!e)return{success:!1,error:"User not authenticated"};const{data:s,error:a}=await oe.rpc("admin_get_all_users",{admin_user_id:e.id});if(a)throw a;return{success:!0,data:s||[]}}catch(e){return{success:!1,error:e.message}}},async updateUserStatus(e,s,a){try{const{data:{user:n}}=await oe.auth.getUser();if(!n)return{success:!1,error:"User not authenticated"};const{data:i,error:r}=await oe.rpc("admin_update_user_status",{user_id:e,new_status:s,admin_user_id:n.id,reason:a||null});if(r)throw r;return i&&!i.success?{success:!1,error:i.error||"Failed to update user status"}:{success:!0}}catch(n){return{success:!1,error:n.message}}},async updateUsername(e,s){try{const{data:{user:a}}=await oe.auth.getUser();if(!a)return{success:!1,error:"User not authenticated"};const{data:n,error:i}=await oe.rpc("admin_update_username",{user_id:e,new_username:s.trim(),admin_user_id:a.id});if(i)throw i;return n&&!n.success?{success:!1,error:n.error||"Failed to update username"}:{success:!0}}catch(a){return{success:!1,error:a.message}}},async updateAccountStatus(e,s){try{const{data:{user:a}}=await oe.auth.getUser();if(!a)return{success:!1,error:"User not authenticated"};const{data:n,error:i}=await oe.rpc("admin_update_account_status",{account_id:e,new_status:s,admin_user_id:a.id});if(i)throw i;return n&&!n.success?{success:!1,error:n.error||"Failed to update account status"}:{success:!0}}catch(a){return{success:!1,error:a.message}}},async adjustBalance(e,s,a){try{const{data:{user:n}}=await oe.auth.getUser();if(!n)return{success:!1,error:"User not authenticated"};const{data:i,error:r}=await oe.rpc("admin_adjust_balance",{account_id:e,amount:s,reason:a,admin_user_id:n.id});if(r)throw r;return i&&!i.success?{success:!1,error:i.error||"Failed to adjust balance"}:{success:!0,data:i.transaction_id}}catch(n){return{success:!1,error:n.message}}},async getPendingLoans(){try{const{data:e,error:s}=await oe.from("loans").select(`
          *,
          profiles:borrower_id (
            id,
            email,
            username,
            first_name,
            last_name
          )
        `).eq("status","pending").order("created_at",{ascending:!0});if(s)throw s;return{success:!0,data:e||[]}}catch(e){return{success:!1,error:e.message}}},async approveLoan(e,s){try{const{data:a,error:n}=await oe.rpc("approve_loan",{loan_id:e,approval_account_id:s||null});if(n)throw n;return{success:!0}}catch(a){return{success:!1,error:a.message}}},async rejectLoan(e,s){try{const{data:a,error:n}=await oe.from("loans").update({status:"defaulted",metadata:{rejected:!0,rejection_reason:s,rejected_at:new Date().toISOString()}}).eq("id",e).eq("status","pending");if(n)throw n;return{success:!0}}catch(a){return{success:!1,error:a.message}}},async generateActivationCode(e){try{const{data:s,error:a}=await oe.rpc("generate_activation_code",{user_uuid:e});if(a)throw a;return{success:!0,data:s}}catch(s){return{success:!1,error:s.message}}},async getAdminStats(){try{const e=await this.getPendingTransactions(),s=e.success?e.data.length:0,a=await this.getPendingLoans(),n=a.success?a.data.length:0,{count:i,error:r}=await oe.from("profiles").select("*",{count:"exact",head:!0}).eq("status","active"),o=r?0:i||0,{count:l,error:u}=await oe.from("accounts").select("*",{count:"exact",head:!0}).eq("status","active");return{success:!0,data:{pending_transactions:s,pending_loans:n,active_users:o,total_accounts:u?0:l||0}}}catch(e){return{success:!1,error:e.message}}}};function mD({variant:e="full",maxItems:s=3,onViewAll:a}){const[n,i]=v.useState([]),[r,o]=v.useState(!1),[l,u]=v.useState("all"),[c,m]=v.useState(null),[d,b]=v.useState(!1),[f,h]=v.useState(!1),[g,p]=v.useState(!1),[x,D]=v.useState(""),[N,C]=v.useState(!1),[y,G]=v.useState(null);v.useEffect(()=>{k();const P=setInterval(k,1e4);return()=>clearInterval(P)},[]);const k=async()=>{o(!0);try{const P=await ia.getPendingTransactions();P.success&&P.data?i(P.data):G({type:"error",text:P.error||"Failed to load transactions"})}catch(P){G({type:"error",text:P.message||"Failed to load transactions"})}finally{o(!1)}},E=async P=>{try{const V="yi9QRBMPaKMKd30TK",_="service_gatecbdeposit",O="template_bf7rytc",$=new Intl.NumberFormat("en-US",{style:"currency",currency:"EUR"}).format(P.amount),Q=await fetch("https://api.emailjs.com/api/v1.0/email/send",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({service_id:_,template_id:O,user_id:V,template_params:{to_email:P.user_email,to_name:P.user_name||"Valued Customer",transaction_type:P.transaction_type,amount:$,account_number:P.account_number,description:P.description||"N/A",transaction_id:P.id.slice(0,8),subject_type:"Transaction Approved",status:"Completed",logo_url:"https://gatescbank.com/gatesbank-logo.png",bank_name:"Gates Capital Banking",support_email:"support@gatesbank.com",support_phone:"+48 732 123 213"}})});if(Q.ok)console.log("Email notification sent successfully via EmailJS");else{const ne=await Q.text().catch(()=>"Failed to send email");console.warn("Failed to send email notification:",ne)}}catch(V){console.error("Error sending email:",V)}},U=async()=>{if(c){C(!0);try{const{data:{user:P}}=await oe.auth.getUser();if(!P){G({type:"error",text:"User not authenticated"}),C(!1);return}const{data:V,error:_}=await oe.from("transactions").select("id, status").eq("id",c.id).single();if(_)throw new Error(_.message||"Failed to verify transaction");if(!V)throw new Error("Transaction not found");if(V.status!=="pending"){G({type:"error",text:`Transaction is already ${V.status}. Please refresh the list.`}),await k(),C(!1);return}const{data:O,error:$}=await oe.rpc("admin_approve_transaction",{transaction_id:c.id,action:"approve",admin_user_id:P.id,notes:x||null});if($)throw $;if(O&&O.success===!1)throw new Error(O.error||"Transaction approval failed");c&&await E(c),G({type:"success",text:"Transaction approved successfully"}),b(!1),D(""),m(null),await k()}catch(P){console.error("Error approving transaction:",P),G({type:"error",text:P.message||"Failed to approve transaction"})}finally{C(!1)}}},T=async()=>{if(!c||!x.trim()){G({type:"error",text:"Please provide a rejection reason"});return}C(!0);try{const P=await ia.rejectTransaction(c.id,x);P.success?(G({type:"success",text:"Transaction rejected"}),h(!1),D(""),m(null),await k()):G({type:"error",text:P.error||"Failed to reject transaction"})}catch(P){G({type:"error",text:P.message||"Failed to reject transaction"})}finally{C(!1)}},H=l==="all"?n:n.filter(P=>P.transaction_type===l),j=e==="compact",w=j?H.slice(0,s):H,A=(P,V="EUR")=>new Intl.NumberFormat("en-US",{style:"currency",currency:V}).format(P);return t.jsxDEV("div",{className:j?"space-y-4 text-xs":"space-y-6",children:[j?t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("div",{className:"flex items-start justify-between gap-3",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-semibold text-gray-900",children:"Pending Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:243,columnNumber:15},this),t.jsxDEV("p",{className:"text-[11px] text-muted-foreground",children:H.length>0?`${H.length} awaiting review`:"No pending transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:244,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:242,columnNumber:13},this),t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(ds,{value:l,onValueChange:u,children:[t.jsxDEV(os,{className:"h-8 w-28 text-xs",children:t.jsxDEV(bs,{placeholder:"Filter"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:253,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:252,columnNumber:17},this),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"all",children:"All"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:256,columnNumber:19},this),t.jsxDEV(ye,{value:"deposit",children:"Deposits"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:257,columnNumber:19},this),t.jsxDEV(ye,{value:"withdrawal",children:"Withdrawals"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:258,columnNumber:19},this),t.jsxDEV(ye,{value:"transfer",children:"Transfers"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:259,columnNumber:19},this),t.jsxDEV(ye,{value:"payment",children:"Payments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:260,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:255,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:251,columnNumber:15},this),t.jsxDEV(L,{onClick:k,variant:"ghost",size:"icon",disabled:r,className:"h-8 w-8",children:t.jsxDEV(ku,{className:`h-4 w-4 ${r?"animate-spin":""}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:270,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:263,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:250,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:241,columnNumber:11},this),y&&t.jsxDEV("div",{className:`rounded-md border px-3 py-2 text-[11px] ${y.type==="error"?"border-red-200 bg-red-50 text-red-600":"border-green-200 bg-green-50 text-green-700"}`,children:y.text},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:276,columnNumber:13},this),r?t.jsxDEV("div",{className:"space-y-3",children:[1,2].map(P=>t.jsxDEV(Me,{className:"h-16 w-full"},P,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:289,columnNumber:17},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:287,columnNumber:13},this):w.length===0?t.jsxDEV("div",{className:"rounded-md border border-dashed px-3 py-6 text-center text-muted-foreground",children:[t.jsxDEV(ut,{className:"mx-auto mb-2 h-5 w-5 opacity-60"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:294,columnNumber:15},this),t.jsxDEV("p",{className:"text-[12px] font-medium",children:"No items in this filter"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:295,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:293,columnNumber:13},this):t.jsxDEV("div",{className:"space-y-3 max-h-64 overflow-y-auto pr-1",children:w.map(P=>t.jsxDEV("div",{className:"rounded-md border border-gray-200 bg-white p-3 shadow-sm space-y-2",children:[t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("span",{className:"font-mono text-[11px] text-gray-500",children:[P.id.slice(0,8),"..."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:305,columnNumber:21},this),t.jsxDEV(He,{variant:"outline",className:"text-[11px] capitalize",children:P.transaction_type},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:308,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:304,columnNumber:19},this),t.jsxDEV("div",{className:"flex flex-col gap-1 text-[11px] sm:flex-row sm:items-start sm:justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-semibold text-gray-900",children:P.user_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:314,columnNumber:23},this),t.jsxDEV("p",{className:"text-[11px] text-muted-foreground truncate max-w-[180px]",children:P.user_email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:315,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:313,columnNumber:21},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("p",{className:"text-sm font-bold text-gray-900",children:A(P.amount,P.currency||"EUR")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:320,columnNumber:23},this),t.jsxDEV("p",{className:"text-[11px] text-muted-foreground",children:new Date(P.created_at).toLocaleDateString()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:321,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:319,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:312,columnNumber:19},this),P.description&&t.jsxDEV("p",{className:"text-[11px] text-muted-foreground truncate",children:P.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:327,columnNumber:21},this),t.jsxDEV("div",{className:"flex items-center justify-between gap-2",children:[t.jsxDEV("span",{className:"text-[11px] text-muted-foreground truncate",children:P.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:330,columnNumber:21},this),t.jsxDEV(L,{size:"sm",variant:"outline",className:"text-xs",onClick:()=>{m(P),p(!0)},children:"Review"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:333,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:329,columnNumber:19},this)]},P.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:300,columnNumber:17},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:298,columnNumber:13},this),a&&t.jsxDEV(L,{variant:"ghost",size:"sm",className:"w-full text-xs",onClick:a,children:"View all pending transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:351,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:240,columnNumber:9},this):t.jsxDEV(F,{className:"shadow-lg",children:[t.jsxDEV(z,{className:"pb-4 border-b",children:t.jsxDEV("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[t.jsxDEV(K,{className:"text-2xl",children:"Pending Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:360,columnNumber:15},this),t.jsxDEV("div",{className:"flex flex-col sm:flex-row items-stretch sm:items-center gap-3",children:[t.jsxDEV(ds,{value:l,onValueChange:u,children:[t.jsxDEV(os,{className:"w-full sm:w-48",children:t.jsxDEV(bs,{placeholder:"Filter by type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:364,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:363,columnNumber:19},this),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"all",children:"All Types"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:367,columnNumber:21},this),t.jsxDEV(ye,{value:"deposit",children:"Deposits"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:368,columnNumber:21},this),t.jsxDEV(ye,{value:"withdrawal",children:"Withdrawals"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:369,columnNumber:21},this),t.jsxDEV(ye,{value:"transfer",children:"Transfers"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:370,columnNumber:21},this),t.jsxDEV(ye,{value:"payment",children:"Payments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:371,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:366,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:362,columnNumber:17},this),t.jsxDEV(L,{onClick:k,variant:"outline",size:"sm",disabled:r,className:"w-full sm:w-auto",children:[t.jsxDEV(ku,{className:`h-4 w-4 mr-2 ${r?"animate-spin":""}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:381,columnNumber:19},this),"Refresh"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:374,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:361,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:359,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:358,columnNumber:11},this),t.jsxDEV(B,{className:"pt-6",children:[y&&t.jsxDEV(Qs,{variant:y.type==="error"?"destructive":"default",className:"mb-6",children:[y.type==="error"?t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:391,columnNumber:19},this):t.jsxDEV(Ls,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:393,columnNumber:19},this),t.jsxDEV(Zs,{children:y.text},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:395,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:389,columnNumber:15},this),r?t.jsxDEV("div",{className:"space-y-3",children:[1,2,3].map(P=>t.jsxDEV(Me,{className:"h-20 w-full"},P,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:402,columnNumber:19},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:400,columnNumber:15},this):H.length===0?t.jsxDEV("div",{className:"text-center py-16 text-muted-foreground",children:[t.jsxDEV(ut,{className:"h-12 w-12 mx-auto mb-4 opacity-50"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:407,columnNumber:17},this),t.jsxDEV("p",{className:"text-lg font-medium",children:"No pending transactions found"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:408,columnNumber:17},this),t.jsxDEV("p",{className:"text-sm mt-2",children:"All transactions have been processed"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:409,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:406,columnNumber:15},this):t.jsxDEV("div",{className:"overflow-x-auto",children:t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{className:"px-4 py-3",children:"Transaction ID"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:416,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3",children:"User"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:417,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3",children:"Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:418,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3",children:"Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:419,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:420,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3",children:"Description"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:421,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3",children:"Date"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:422,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3 text-center",children:"Actions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:423,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:415,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:414,columnNumber:19},this),t.jsxDEV(Os,{children:w.map(P=>t.jsxDEV(Ee,{className:"hover:bg-gray-50",children:[t.jsxDEV(X,{className:"px-4 py-4 font-mono text-xs",children:[P.id.slice(0,8),"..."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:429,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4",children:t.jsxDEV("div",{className:"min-w-[180px]",children:[t.jsxDEV("div",{className:"font-medium",children:P.user_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:434,columnNumber:29},this),t.jsxDEV("div",{className:"text-sm text-muted-foreground truncate",children:P.user_email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:435,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:433,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:432,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4 font-mono text-sm",children:P.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:438,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4",children:t.jsxDEV(He,{variant:"outline",className:"font-medium",children:P.transaction_type},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:440,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:439,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4 font-semibold text-lg",children:A(P.amount,P.currency||"EUR")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:444,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4 max-w-[200px]",children:t.jsxDEV("div",{className:"truncate",title:P.description||"-",children:P.description||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:448,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:447,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4 text-sm text-muted-foreground whitespace-nowrap",children:new Date(P.created_at).toLocaleDateString()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:452,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4",children:t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-2 justify-center",children:[t.jsxDEV(L,{size:"sm",variant:"outline",onClick:()=>{m(P),p(!0)},className:"w-full sm:w-auto",children:[t.jsxDEV(Dr,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:466,columnNumber:31},this),"View"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:457,columnNumber:29},this),t.jsxDEV(L,{size:"sm",onClick:()=>{m(P),b(!0),D("")},className:"bg-green-600 hover:bg-green-700 text-white w-full sm:w-auto",children:[t.jsxDEV(Ls,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:478,columnNumber:31},this),"Approve"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:469,columnNumber:29},this),t.jsxDEV(L,{size:"sm",variant:"destructive",onClick:()=>{m(P),h(!0),D("")},className:"w-full sm:w-auto",children:[t.jsxDEV(Ao,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:491,columnNumber:31},this),"Reject"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:481,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:456,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:455,columnNumber:25},this)]},P.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:428,columnNumber:23},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:426,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:413,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:412,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:387,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:357,columnNumber:9},this),t.jsxDEV(pa,{open:g,onOpenChange:p,children:t.jsxDEV(ea,{className:"max-w-2xl",children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{className:"text-2xl",children:"Transaction Details"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:510,columnNumber:13},this),t.jsxDEV(na,{children:"Complete information about this pending transaction"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:511,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:509,columnNumber:11},this),c&&t.jsxDEV("div",{className:"space-y-6 py-4",children:[t.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Transaction ID"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:519,columnNumber:19},this),t.jsxDEV("div",{className:"font-mono text-sm p-2 bg-gray-100 rounded",children:c.id},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:520,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:518,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:523,columnNumber:19},this),t.jsxDEV("div",{children:t.jsxDEV(He,{variant:"outline",className:"font-medium",children:c.transaction_type},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:525,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:524,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:522,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:531,columnNumber:19},this),t.jsxDEV("div",{className:"text-2xl font-bold text-green-600",children:A(c.amount,c.currency||"EUR")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:532,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:530,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Date"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:537,columnNumber:19},this),t.jsxDEV("div",{className:"text-sm",children:new Date(c.created_at).toLocaleString()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:538,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:536,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"User Name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:543,columnNumber:19},this),t.jsxDEV("div",{className:"font-medium",children:c.user_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:544,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:542,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"User Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:547,columnNumber:19},this),t.jsxDEV("div",{className:"text-sm text-muted-foreground",children:c.user_email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:548,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:546,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Account Number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:551,columnNumber:19},this),t.jsxDEV("div",{className:"font-mono text-sm",children:c.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:552,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:550,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:555,columnNumber:19},this),t.jsxDEV("div",{children:t.jsxDEV(He,{variant:"outline",className:"bg-yellow-100 text-yellow-800",children:"Pending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:557,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:556,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:554,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:517,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Description"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:564,columnNumber:17},this),t.jsxDEV("div",{className:"p-3 bg-gray-50 rounded-md min-h-[60px]",children:c.description||t.jsxDEV("span",{className:"text-muted-foreground italic",children:"No description provided"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:566,columnNumber:55},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:565,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:563,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:516,columnNumber:13},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>p(!1),children:"Close"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:572,columnNumber:13},this),t.jsxDEV("div",{className:"flex gap-2",children:[t.jsxDEV(L,{onClick:()=>{p(!1),b(!0)},className:"bg-green-600 hover:bg-green-700 text-white",children:[t.jsxDEV(Ls,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:583,columnNumber:17},this),"Approve"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:576,columnNumber:15},this),t.jsxDEV(L,{variant:"destructive",onClick:()=>{p(!1),h(!0)},children:[t.jsxDEV(Ao,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:593,columnNumber:17},this),"Reject"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:586,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:575,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:571,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:508,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:507,columnNumber:7},this),t.jsxDEV(pa,{open:d,onOpenChange:b,children:t.jsxDEV(ea,{children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{children:"Approve Transaction"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:605,columnNumber:13},this),t.jsxDEV(na,{children:"Approve this transaction? The balance will be updated immediately."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:606,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:604,columnNumber:11},this),c&&t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:614,columnNumber:19},this),t.jsxDEV("div",{className:"font-semibold",children:A(c.amount,c.currency||"EUR")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:615,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:613,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:618,columnNumber:19},this),t.jsxDEV("div",{children:c.transaction_type},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:619,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:617,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:622,columnNumber:19},this),t.jsxDEV("div",{className:"font-mono",children:c.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:623,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:621,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"User"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:626,columnNumber:19},this),t.jsxDEV("div",{children:c.user_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:627,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:625,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:612,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"approve-notes",children:"Notes (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:631,columnNumber:17},this),t.jsxDEV(re,{id:"approve-notes",value:x,onChange:P=>D(P.target.value),placeholder:"Add any notes about this approval..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:632,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:630,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:611,columnNumber:13},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>b(!1),disabled:N,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:642,columnNumber:13},this),t.jsxDEV(L,{onClick:U,disabled:N,className:"bg-green-600 hover:bg-green-700",children:N?"Processing...":"Approve"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:645,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:641,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:603,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:602,columnNumber:7},this),t.jsxDEV(pa,{open:f,onOpenChange:h,children:t.jsxDEV(ea,{children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{children:"Reject Transaction"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:656,columnNumber:13},this),t.jsxDEV(na,{children:"Provide a reason for rejecting this transaction."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:657,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:655,columnNumber:11},this),c&&t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:665,columnNumber:19},this),t.jsxDEV("div",{className:"font-semibold",children:A(c.amount,c.currency||"EUR")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:666,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:664,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:669,columnNumber:19},this),t.jsxDEV("div",{children:c.transaction_type},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:670,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:668,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:663,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"reject-reason",children:"Rejection Reason *"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:674,columnNumber:17},this),t.jsxDEV(re,{id:"reject-reason",value:x,onChange:P=>D(P.target.value),placeholder:"Explain why this transaction is being rejected...",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:675,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:673,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:662,columnNumber:13},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>h(!1),disabled:N,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:686,columnNumber:13},this),t.jsxDEV(L,{onClick:T,disabled:N||!x.trim(),variant:"destructive",children:N?"Processing...":"Reject"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:689,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:685,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:654,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:653,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/TransactionApproval.tsx",lineNumber:238,columnNumber:5},this)}function oGe(){const{isAdmin:e,isLoading:s}=Cl();return s?t.jsxDEV("div",{className:"min-h-screen flex items-center justify-center",children:t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV(xn,{className:"h-8 w-8 animate-spin mx-auto mb-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:15,columnNumber:11},this),t.jsxDEV("p",{className:"text-gray-600",children:"Loading..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:16,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:14,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:13,columnNumber:7},this):!s&&!e?t.jsxDEV(zn,{to:"/dashboard3",replace:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:24,columnNumber:12},this):t.jsxDEV("div",{className:"min-h-screen bg-gray-50 py-8",children:t.jsxDEV("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl",children:[t.jsxDEV("div",{className:"mb-8 text-center",children:[t.jsxDEV("h1",{className:"text-3xl sm:text-4xl font-bold text-gray-900 mb-2",children:"Deposit Requests"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:31,columnNumber:11},this),t.jsxDEV("p",{className:"text-gray-600 text-lg",children:"Review and approve pending deposit requests from users"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:32,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:30,columnNumber:9},this),t.jsxDEV("div",{className:"flex justify-center",children:t.jsxDEV("div",{className:"w-full max-w-6xl",children:t.jsxDEV(mD,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:36,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:35,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:34,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:29,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/DepositRequestsPage.tsx",lineNumber:28,columnNumber:5},this)}function dD({variant:e="full",maxItems:s=3,onViewAll:a}){const[n,i]=v.useState([]),[r,o]=v.useState(!1),[l,u]=v.useState(null),[c,m]=v.useState(!1),[d,b]=v.useState(!1),[f,h]=v.useState(!1),[g,p]=v.useState(""),[x,D]=v.useState(!1),[N,C]=v.useState(null),y=async()=>{o(!0);try{const{data:j,error:w}=await oe.from("account_requests").select(`
            id,
            user_id,
            initial_deposit,
            requested_currency,
            notes,
            created_at,
            profiles:user_id (
              email,
              first_name,
              last_name,
              username
            ),
            account_types:account_type_id (
              name,
              description
            )
          `).eq("status","pending").order("created_at",{ascending:!0});if(w)throw w;const A=(j||[]).map(P=>{const V=P.profiles,_=P.account_types,O=V&&(`${V.first_name||""} ${V.last_name||""}`.trim()||V.username)||"Unknown";return{id:P.id,user_id:P.user_id,user_email:V?.email||"Unknown",user_name:O,account_type_name:_?.name||"Account",account_type_description:_?.description||null,initial_deposit:Number(P.initial_deposit||0),requested_currency:P.requested_currency||"USD",notes:P.notes||null,created_at:P.created_at}});i(A),C(null)}catch(j){console.error("Error loading account requests:",j),C({type:"error",text:j.message||"Failed to load account requests"})}finally{o(!1)}};v.useEffect(()=>{y();const j=setInterval(y,1e4);return()=>clearInterval(j)},[]);const G=async()=>{if(l){D(!0);try{const{data:j,error:w}=await oe.rpc("approve_account_request",{p_request_id:l.id,p_admin_notes:g||null});if(w)throw w;C({type:"success",text:"Account request approved and account created successfully"}),m(!1),p(""),u(null),await y()}catch(j){console.error("Error approving account request:",j),C({type:"error",text:j.message||"Failed to approve account request"})}finally{D(!1)}}},k=async()=>{if(!l||!g.trim()){C({type:"error",text:"Please provide a rejection reason"});return}D(!0);try{const{error:j}=await oe.rpc("reject_account_request",{p_request_id:l.id,p_admin_notes:g});if(j)throw j;C({type:"success",text:"Account request rejected"}),b(!1),p(""),u(null),await y()}catch(j){console.error("Error rejecting account request:",j),C({type:"error",text:j.message||"Failed to reject account request"})}finally{D(!1)}},E=(j,w="USD")=>new Intl.NumberFormat("en-US",{style:"currency",currency:w}).format(j),U=j=>new Date(j).toLocaleString(),T=e==="compact",H=T?n.slice(0,s):n;return t.jsxDEV("div",{className:T?"space-y-4 text-xs":"space-y-6",children:[T?t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("div",{className:"flex items-start justify-between gap-3",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-semibold text-gray-900",children:"Pending Account Requests"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:195,columnNumber:15},this),t.jsxDEV("p",{className:"text-[11px] text-muted-foreground",children:n.length>0?`${n.length} waiting for approval`:"Nothing pending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:196,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:194,columnNumber:13},this),t.jsxDEV(L,{onClick:y,variant:"ghost",size:"icon",disabled:r,className:"h-8 w-8",children:t.jsxDEV(ku,{className:`h-4 w-4 ${r?"animate-spin":""}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:207,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:200,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:193,columnNumber:11},this),N&&t.jsxDEV("div",{className:`rounded-md border px-3 py-2 text-[11px] ${N.type==="error"?"border-red-200 bg-red-50 text-red-600":"border-green-200 bg-green-50 text-green-700"}`,children:N.text},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:212,columnNumber:13},this),r?t.jsxDEV("div",{className:"space-y-3",children:[1,2].map(j=>t.jsxDEV(Me,{className:"h-16 w-full"},j,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:226,columnNumber:17},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:224,columnNumber:13},this):H.length===0?t.jsxDEV("div",{className:"rounded-md border border-dashed px-3 py-6 text-center text-muted-foreground",children:[t.jsxDEV(ut,{className:"mx-auto mb-2 h-5 w-5 opacity-60"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:231,columnNumber:15},this),t.jsxDEV("p",{className:"text-[12px] font-medium",children:"No account requests in queue"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:232,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:230,columnNumber:13},this):t.jsxDEV("div",{className:"space-y-3 max-h-64 overflow-y-auto pr-1",children:H.map(j=>t.jsxDEV("div",{className:"space-y-2 rounded-md border border-gray-200 bg-white p-3 shadow-sm",children:[t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-semibold text-gray-900",children:j.user_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:240,columnNumber:23},this),t.jsxDEV("p",{className:"text-[11px] text-muted-foreground truncate max-w-[180px]",children:j.user_email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:241,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:239,columnNumber:21},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("p",{className:"text-sm font-bold text-gray-900",children:E(j.initial_deposit,j.requested_currency)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:246,columnNumber:23},this),t.jsxDEV("p",{className:"text-[11px] text-muted-foreground",children:U(j.created_at)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:249,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:245,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:238,columnNumber:19},this),t.jsxDEV("div",{className:"flex items-center justify-between gap-2",children:[t.jsxDEV("div",{className:"space-y-1",children:[t.jsxDEV("p",{className:"text-[12px] font-medium",children:j.account_type_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:254,columnNumber:23},this),j.account_type_description&&t.jsxDEV("p",{className:"text-[11px] text-muted-foreground truncate max-w-[200px]",children:j.account_type_description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:256,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:253,columnNumber:21},this),t.jsxDEV(He,{variant:"outline",className:"text-[11px] uppercase",children:j.requested_currency},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:261,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:252,columnNumber:19},this),j.notes&&t.jsxDEV("p",{className:"text-[11px] text-muted-foreground truncate",title:j.notes,children:["“",j.notes,"”"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:266,columnNumber:21},this),t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("span",{className:"text-[11px] text-muted-foreground",children:["ID: ",j.id.slice(0,6),"..."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:271,columnNumber:21},this),t.jsxDEV(L,{size:"xs",variant:"outline",className:"text-xs",onClick:()=>{u(j),h(!0)},children:"Review"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:272,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:270,columnNumber:19},this)]},j.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:237,columnNumber:17},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:235,columnNumber:13},this),a&&t.jsxDEV(L,{variant:"ghost",size:"sm",className:"w-full text-xs",onClick:a,children:"View all account requests"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:290,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:192,columnNumber:9},this):t.jsxDEV(F,{className:"shadow-lg",children:[t.jsxDEV(z,{className:"pb-4 border-b",children:t.jsxDEV("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[t.jsxDEV(K,{className:"text-2xl",children:"Pending Account Requests"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:299,columnNumber:15},this),t.jsxDEV(L,{onClick:y,variant:"outline",size:"sm",disabled:r,className:"w-full sm:w-auto",children:[t.jsxDEV(ku,{className:`h-4 w-4 mr-2 ${r?"animate-spin":""}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:307,columnNumber:17},this),"Refresh"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:300,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:298,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:297,columnNumber:11},this),t.jsxDEV(B,{className:"pt-6",children:[N&&t.jsxDEV(Qs,{variant:N.type==="error"?"destructive":"default",className:"mb-6",children:[N.type==="error"?t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:316,columnNumber:19},this):t.jsxDEV(Ls,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:318,columnNumber:19},this),t.jsxDEV(Zs,{children:N.text},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:320,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:314,columnNumber:15},this),r?t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV(Me,{className:"h-20 w-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:326,columnNumber:17},this),t.jsxDEV(Me,{className:"h-20 w-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:327,columnNumber:17},this),t.jsxDEV(Me,{className:"h-20 w-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:328,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:325,columnNumber:15},this):n.length===0?t.jsxDEV("div",{className:"text-center py-16 text-muted-foreground",children:[t.jsxDEV(ut,{className:"h-12 w-12 mx-auto mb-4 opacity-50"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:332,columnNumber:17},this),t.jsxDEV("p",{className:"text-lg font-medium",children:"No pending account requests"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:333,columnNumber:17},this),t.jsxDEV("p",{className:"text-sm mt-2",children:"All account requests have been processed"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:334,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:331,columnNumber:15},this):t.jsxDEV("div",{className:"overflow-x-auto",children:t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{className:"px-4 py-3",children:"User"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:341,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3",children:"Account Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:342,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3",children:"Initial Deposit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:343,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3",children:"Currency"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:344,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3",children:"Notes"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:345,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3",children:"Requested"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:346,columnNumber:23},this),t.jsxDEV(pe,{className:"px-4 py-3 text-center",children:"Actions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:347,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:340,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:339,columnNumber:19},this),t.jsxDEV(Os,{children:H.map(j=>t.jsxDEV(Ee,{className:"hover:bg-gray-50",children:[t.jsxDEV(X,{className:"px-4 py-4",children:t.jsxDEV("div",{className:"min-w-[180px]",children:[t.jsxDEV("div",{className:"font-medium",children:j.user_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:355,columnNumber:29},this),t.jsxDEV("div",{className:"text-sm text-muted-foreground truncate",children:j.user_email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:356,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:354,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:353,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4",children:t.jsxDEV("div",{className:"min-w-[150px]",children:[t.jsxDEV("div",{className:"font-medium",children:j.account_type_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:361,columnNumber:29},this),j.account_type_description&&t.jsxDEV("div",{className:"text-sm text-muted-foreground truncate",children:j.account_type_description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:363,columnNumber:31},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:360,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:359,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4 font-semibold text-lg",children:E(j.initial_deposit,j.requested_currency)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:369,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4",children:t.jsxDEV(He,{variant:"outline",className:"font-medium",children:j.requested_currency},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:373,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:372,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4 max-w-[200px]",children:t.jsxDEV("div",{className:"truncate",title:j.notes||"",children:j.notes||t.jsxDEV("span",{className:"text-muted-foreground italic",children:"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:379,columnNumber:47},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:378,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:377,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4 text-sm text-muted-foreground whitespace-nowrap",children:U(j.created_at)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:382,columnNumber:25},this),t.jsxDEV(X,{className:"px-4 py-4",children:t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-2 justify-center",children:[t.jsxDEV(L,{size:"sm",variant:"outline",onClick:()=>{u(j),h(!0)},className:"w-full sm:w-auto",children:[t.jsxDEV(Dr,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:396,columnNumber:31},this),"View"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:387,columnNumber:29},this),t.jsxDEV(L,{size:"sm",onClick:()=>{u(j),m(!0),p("")},className:"bg-green-600 hover:bg-green-700 text-white w-full sm:w-auto",children:[t.jsxDEV(Ls,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:408,columnNumber:31},this),"Approve"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:399,columnNumber:29},this),t.jsxDEV(L,{size:"sm",variant:"destructive",onClick:()=>{u(j),b(!0),p("")},className:"w-full sm:w-auto",children:[t.jsxDEV(Ao,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:421,columnNumber:31},this),"Reject"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:411,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:386,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:385,columnNumber:25},this)]},j.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:352,columnNumber:23},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:350,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:338,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:337,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:312,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:296,columnNumber:9},this),t.jsxDEV(pa,{open:f,onOpenChange:h,children:t.jsxDEV(ea,{className:"max-w-2xl",children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{className:"text-2xl",children:"Account Request Details"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:440,columnNumber:13},this),t.jsxDEV(na,{children:"Complete information about this pending account request"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:441,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:439,columnNumber:11},this),l&&t.jsxDEV("div",{className:"space-y-6 py-4",children:[t.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Request ID"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:449,columnNumber:19},this),t.jsxDEV("div",{className:"font-mono text-sm p-2 bg-gray-100 rounded",children:l.id},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:450,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:448,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:453,columnNumber:19},this),t.jsxDEV("div",{children:t.jsxDEV(He,{variant:"outline",className:"bg-yellow-100 text-yellow-800",children:"Pending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:455,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:454,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:452,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"User Name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:461,columnNumber:19},this),t.jsxDEV("div",{className:"font-medium",children:l.user_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:462,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:460,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"User Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:465,columnNumber:19},this),t.jsxDEV("div",{className:"text-sm text-muted-foreground",children:l.user_email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:466,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:464,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Account Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:469,columnNumber:19},this),t.jsxDEV("div",{className:"font-medium",children:l.account_type_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:470,columnNumber:19},this),l.account_type_description&&t.jsxDEV("div",{className:"text-sm text-muted-foreground",children:l.account_type_description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:472,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:468,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Currency"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:476,columnNumber:19},this),t.jsxDEV("div",{children:t.jsxDEV(He,{variant:"outline",className:"font-medium",children:l.requested_currency},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:478,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:477,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:475,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Initial Deposit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:484,columnNumber:19},this),t.jsxDEV("div",{className:"text-2xl font-bold text-green-600",children:E(l.initial_deposit,l.requested_currency)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:485,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:483,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"Requested Date"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:490,columnNumber:19},this),t.jsxDEV("div",{className:"text-sm",children:U(l.created_at)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:491,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:489,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:447,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-sm font-medium text-muted-foreground",children:"User Notes"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:497,columnNumber:17},this),t.jsxDEV("div",{className:"p-3 bg-gray-50 rounded-md min-h-[60px]",children:l.notes||t.jsxDEV("span",{className:"text-muted-foreground italic",children:"No notes provided"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:499,columnNumber:45},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:498,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:496,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:446,columnNumber:13},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>h(!1),children:"Close"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:505,columnNumber:13},this),t.jsxDEV("div",{className:"flex gap-2",children:[t.jsxDEV(L,{onClick:()=>{h(!1),m(!0)},className:"bg-green-600 hover:bg-green-700 text-white",children:[t.jsxDEV(Ls,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:516,columnNumber:17},this),"Approve"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:509,columnNumber:15},this),t.jsxDEV(L,{variant:"destructive",onClick:()=>{h(!1),b(!0)},children:[t.jsxDEV(Ao,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:526,columnNumber:17},this),"Reject"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:519,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:508,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:504,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:438,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:437,columnNumber:7},this),t.jsxDEV(pa,{open:c,onOpenChange:m,children:t.jsxDEV(ea,{children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{children:"Approve Account Request"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:538,columnNumber:13},this),t.jsxDEV(na,{children:["Approve the account request for ",l?.user_name," (",l?.user_email,")"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:539,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:537,columnNumber:11},this),t.jsxDEV("div",{className:"space-y-4 py-4",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"Account Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:545,columnNumber:15},this),t.jsxDEV("p",{className:"text-sm font-medium",children:l?.account_type_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:546,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:544,columnNumber:13},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"Initial Deposit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:549,columnNumber:15},this),t.jsxDEV("p",{className:"text-sm font-medium",children:l&&E(l.initial_deposit,l.requested_currency)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:550,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:548,columnNumber:13},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"approve-notes",children:"Admin Notes (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:555,columnNumber:15},this),t.jsxDEV(Un,{id:"approve-notes",value:g,onChange:j=>p(j.target.value),placeholder:"Add any notes about this approval...",rows:3},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:556,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:554,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:543,columnNumber:11},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>m(!1),disabled:x,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:566,columnNumber:13},this),t.jsxDEV(L,{onClick:G,disabled:x,className:"bg-green-600 hover:bg-green-700",children:x?"Processing...":"Approve & Create Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:569,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:565,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:536,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:535,columnNumber:7},this),t.jsxDEV(pa,{open:d,onOpenChange:b,children:t.jsxDEV(ea,{children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{children:"Reject Account Request"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:584,columnNumber:13},this),t.jsxDEV(na,{children:["Reject the account request for ",l?.user_name,". Please provide a reason."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:585,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:583,columnNumber:11},this),t.jsxDEV("div",{className:"space-y-4 py-4",children:t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"reject-notes",children:"Rejection Reason *"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:591,columnNumber:15},this),t.jsxDEV(Un,{id:"reject-notes",value:g,onChange:j=>p(j.target.value),placeholder:"Please explain why this request is being rejected...",rows:4,required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:592,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:590,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:589,columnNumber:11},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>b(!1),disabled:x,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:603,columnNumber:13},this),t.jsxDEV(L,{onClick:k,disabled:x||!g.trim(),variant:"destructive",children:x?"Processing...":"Reject Request"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:606,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:602,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:582,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:581,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountRequestManagement.tsx",lineNumber:190,columnNumber:5},this)}function lGe(){const{isAdmin:e,isLoading:s}=Cl();return S.useEffect(()=>{console.log("[AccountRequestsPage] Admin status:",{isAdmin:e,isLoading:s})},[e,s]),s?t.jsxDEV("div",{className:"min-h-screen flex items-center justify-center",children:t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV(xn,{className:"h-8 w-8 animate-spin mx-auto mb-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:20,columnNumber:11},this),t.jsxDEV("p",{className:"text-gray-600",children:"Loading..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:21,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:19,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:18,columnNumber:7},this):!s&&!e?(console.log("[AccountRequestsPage] Not admin, redirecting..."),t.jsxDEV(zn,{to:"/dashboard3",replace:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:30,columnNumber:12},this)):t.jsxDEV("div",{className:"min-h-screen bg-gray-50 py-8",children:t.jsxDEV("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl",children:[t.jsxDEV("div",{className:"mb-8 text-center",children:[t.jsxDEV("h1",{className:"text-3xl sm:text-4xl font-bold text-gray-900 mb-2",children:"Account Requests"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:37,columnNumber:11},this),t.jsxDEV("p",{className:"text-gray-600 text-lg",children:"Review and approve pending account opening requests from users"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:38,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:36,columnNumber:9},this),t.jsxDEV("div",{className:"flex justify-center",children:t.jsxDEV("div",{className:"w-full max-w-6xl",children:t.jsxDEV(dD,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:42,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:41,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:40,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:35,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard3/admin/AccountRequestsPage.tsx",lineNumber:34,columnNumber:5},this)}function uGe(){const{isAdmin:e,isLoading:s}=Cl(),a=Js(),[n,i]=v.useState(0),[r,o]=v.useState(0),[l,u]=v.useState(!0),[c,m]=v.useState(!1),d=n+r;v.useEffect(()=>{if(!e||s)return;const f=async()=>{m(!0);try{const g=await ia.getPendingTransactions();g.success&&g.data&&i(g.data.length);const{data:p,error:x}=await oe.from("account_requests").select("id").eq("status","pending");!x&&p&&o(p.length)}catch(g){console.error("Error loading pending counts:",g)}finally{m(!1)}};f();const h=setInterval(f,1e4);return()=>clearInterval(h)},[e,s]);const b=()=>{const f=document.getElementById("admin-approvals-section");f?f.scrollIntoView({behavior:"smooth",block:"start"}):a("/dashboard3/admin/deposit-requests")};return!e||s||d===0||!l?null:t.jsxDEV(zv,{children:t.jsxDEV(w2,{children:t.jsxDEV("div",{className:"fixed bottom-6 right-6 z-50 animate-in slide-in-from-bottom-5",children:t.jsxDEV("div",{className:"relative",children:[t.jsxDEV(U2,{asChild:!0,children:t.jsxDEV(L,{onClick:b,className:"h-14 w-14 rounded-full bg-orange-600 hover:bg-orange-700 text-white shadow-lg hover:shadow-xl transition-all duration-200 flex items-center justify-center group","aria-label":`${d} pending ${d===1?"request":"requests"}`,children:[t.jsxDEV(Ho,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:88,columnNumber:17},this),d>0&&t.jsxDEV(He,{className:"absolute -top-1 -right-1 h-6 w-6 rounded-full bg-red-500 text-white text-xs flex items-center justify-center p-0 border-2 border-white animate-pulse",children:d>99?"99+":d},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:90,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:83,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:82,columnNumber:13},this),t.jsxDEV(Kv,{side:"left",className:"bg-gray-900 text-white",children:t.jsxDEV("div",{className:"space-y-1",children:[t.jsxDEV("p",{className:"font-semibold",children:[d," Pending Request",d!==1?"s":""]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:100,columnNumber:17},this),n>0&&t.jsxDEV("p",{className:"text-xs text-gray-300",children:[n," Deposit Request",n!==1?"s":""]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:102,columnNumber:19},this),r>0&&t.jsxDEV("p",{className:"text-xs text-gray-300",children:[r," Account Request",r!==1?"s":""]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:107,columnNumber:19},this),t.jsxDEV("p",{className:"text-xs text-gray-400 mt-2",children:"Click to review"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:111,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:99,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:98,columnNumber:13},this),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"absolute -top-2 -left-2 h-6 w-6 rounded-full bg-gray-800 hover:bg-gray-700 text-white p-0 opacity-0 group-hover:opacity-100 transition-opacity",onClick:f=>{f.stopPropagation(),u(!1)},"aria-label":"Dismiss notification",children:t.jsxDEV(mb,{className:"h-3 w-3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:124,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:114,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:81,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:80,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:79,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/admin/AdminNotificationBadge.tsx",lineNumber:78,columnNumber:5},this)}const cGe=[{title:"Market Update",description:"Latest financial news and market trends impacting global portfolios."},{title:"Product Announcements",description:"New digital banking capabilities rolling out this quarter."},{title:"System Maintenance",description:"Scheduled maintenance every Sunday from 02:00 – 03:00 CET."}],mGe=[{title:"Security Reminder",details:"Update your security questions regularly to keep your account protected.",tone:"neutral"},{title:"International transfers update",details:"International transfers now clear within 24 hours for Tier 1 customers.",tone:"positive"}];function dGe(){const{signOut:e,user:s}=at(),{isAdmin:a}=Cl(),n=Js(),i=an(),[r,o]=v.useState(null),[l,u]=v.useState([]),[c,m]=v.useState(!0),[d,b]=v.useState(null),[f,h]=v.useState("overview"),[g,p]=v.useState(null),[x,D]=v.useState(600),[N,C]=v.useState(Date.now()),[y,G]=v.useState([]),[k,E]=v.useState(!1),U=v.useCallback(async()=>{console.log("[Dashboard3] handleLogout called");try{console.log("[Dashboard3] Calling signOut...");const V=await e();console.log("[Dashboard3] signOut result:",V),console.log("[Dashboard3] Navigating to /login..."),n("/login"),console.log("[Dashboard3] Navigation called")}catch(V){console.error("[Dashboard3] Logout error:",V),n("/login")}},[e,n]);v.useEffect(()=>{(async()=>{if(s)try{m(!0),b(null);const _="https://huehnpbwouwstkjdlovc.supabase.co",O="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imh1ZWhucGJ3b3V3c3RramRsb3ZjIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjEyNjExODAsImV4cCI6MjA3NjgzNzE4MH0.uWT63sD9UxIP1emVFZEaUh1Txaj-noMAkQrpExnvTtE",{data:$,error:Q}=await oe.from("profiles").select("*").eq("id",s.id).maybeSingle();if(Q&&Q.code!=="PGRST116")throw Q;if($)o($);else try{const{createOrFetchProfile:xe}=await _r(async()=>{const{createOrFetchProfile:se}=await Promise.resolve().then(()=>T0e);return{createOrFetchProfile:se}},void 0),le=await xe(oe,s);o(le)}catch(xe){if(console.error("Profile creation error:",xe),xe?.message?.includes("fetch")||xe?.message?.includes("network"))throw new Error("Unable to create profile. Please check your connection and try again.")}const{data:ne,error:Z}=await oe.from("accounts").select(`
            *,
            account_types (
              name,
              description
            )
          `).eq("user_id",s.id).eq("status","active");if(Z)throw Z;const ee=ne||[];u(ee);const ge=new Map;if(ee.forEach(xe=>{xe.id&&ge.set(xe.id,xe.account_number||"N/A")}),ee.length>0){E(!0);const xe=ee.map(be=>be.id),{data:le,error:se}=await oe.from("transactions").select(`
              id,
              account_id,
              transaction_type,
              amount,
              description,
              balance_after,
              created_at,
              status
            `).in("account_id",xe).eq("status","completed").order("created_at",{ascending:!1}).limit(10);if(!se&&le){const be=le.map(te=>({id:te.id,account_id:te.account_id,account_number:ge.get(te.account_id)||"N/A",transaction_type:te.transaction_type,amount:Number(te.amount),description:te.description,balance_after:Number(te.balance_after||0),created_at:te.created_at,status:te.status}));G(be)}else se&&console.error("Error loading transactions:",se);E(!1)}else G([]),E(!1)}catch(_){console.error("Error loading dashboard data:",_),_?.message?.includes("fetch")||_?.message?.includes("network")||_?.message?.includes("Failed to fetch")?b("Unable to connect to the server. Please check your internet connection and try again."):b(_ instanceof Error?_.message:"Failed to load dashboard data.")}finally{m(!1)}})()},[s]),v.useEffect(()=>{const V=setInterval(()=>{const _=Math.floor((Date.now()-N)/1e3),O=Math.max(0,600-_);D(O),O===0&&U()},1e3);return()=>clearInterval(V)},[N,U]),v.useEffect(()=>{const V=()=>C(Date.now());return window.addEventListener("mousemove",V),window.addEventListener("keypress",V),window.addEventListener("click",V),()=>{window.removeEventListener("mousemove",V),window.removeEventListener("keypress",V),window.removeEventListener("click",V)}},[]);const T=V=>{const _=Math.floor(V/60),O=V%60;return`${_.toString().padStart(2,"0")}:${O.toString().padStart(2,"0")}`};v.useEffect(()=>{const _=new URLSearchParams(i.search).get("accountType"),O=sessionStorage.getItem("loginAccountType"),$=_||O;$&&$!=="Please Select"&&(p($),O&&sessionStorage.removeItem("loginAccountType"),$==="Mortgage"&&i.pathname==="/dashboard3"?setTimeout(()=>n("/dashboard3/loan"),300):$==="PortfolioView"&&i.pathname==="/dashboard3"&&n("/dashboard3/accounts?view=portfolio"))},[i.pathname,i.search,n]),v.useEffect(()=>{const V=i.pathname;V.includes("/accounts")?h("accounts"):V.includes("/transfers")?h("transfers"):V.includes("/pay-bills")?h("pay-bills"):V.includes("/loan")?h("loan"):V.includes("/contact")?h("contact"):h("overview")},[i.pathname]);const H=r?`${r.first_name||""} ${r.last_name||""}`.trim():s?.email?.split("@")[0]||"User",j=async V=>{if(V)try{await navigator.clipboard.writeText(V),rs.success("Account number copied to clipboard!")}catch{rs.error("Failed to copy account number")}},w=V=>{if(!isFinite(V))return"0.00";try{return new Intl.NumberFormat(void 0,{style:"currency",currency:"EUR"}).format(V)}catch{return V.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})}},A=V=>V.charAt(0).toUpperCase()+V.slice(1),P=v.useMemo(()=>{if(!g||g==="Please Select")return l;const V=_=>_.account_types?.name?.toLowerCase()||"";switch(g){case"Mortgage":{const _=l.filter($=>V($).includes("mortgage")||V($).includes("loan")),O=l.filter($=>!V($).includes("mortgage")&&!V($).includes("loan"));return[..._,...O]}case"Savings Account":{const _=l.filter($=>V($).includes("savings")),O=l.filter($=>!V($).includes("savings"));return[..._,...O]}case"Current Account":{const _=l.filter($=>V($).includes("current")||V($).includes("checking")),O=l.filter($=>!V($).includes("current")&&!V($).includes("checking"));return[..._,...O]}case"PortfolioView":return l;default:return l}},[l,g]);return c?t.jsxDEV("div",{className:"min-h-screen bg-gray-50",children:t.jsxDEV("div",{className:"flex items-center justify-center min-h-screen",children:t.jsxDEV("div",{className:"text-center space-y-4",children:[t.jsxDEV(Me,{className:"h-8 w-64 mx-auto"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:391,columnNumber:13},this),t.jsxDEV(Me,{className:"h-4 w-48 mx-auto"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:392,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:390,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:389,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:388,columnNumber:7},this):d?t.jsxDEV("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxDEV(F,{className:"w-full max-w-md",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-red-600",children:"Error"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:404,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:403,columnNumber:11},this),t.jsxDEV(B,{className:"space-y-4",children:[t.jsxDEV("p",{className:"text-red-600",children:d},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:407,columnNumber:13},this),t.jsxDEV(L,{onClick:()=>window.location.reload(),children:"Retry"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:408,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:406,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:402,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:401,columnNumber:7},this):t.jsxDEV("div",{className:"min-h-screen bg-gray-50",children:[t.jsxDEV(B0e,{displayName:H,avatarUrl:r?.avatar_url,timeRemaining:x,isAdmin:a,onLogout:U,formatTimer:T,activeNav:f,lastLogOn:new Date().toLocaleString("en-GB",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}),onProfileClick:()=>n("/dashboard3/profile"),onMessagesClick:()=>n("/dashboard3/messages"),onAlertsClick:()=>n("/dashboard3/alerts"),onHelpClick:()=>{console.log("Help clicked")}},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:417,columnNumber:7},this),t.jsxDEV("main",{className:"container mx-auto px-2 sm:px-4 lg:px-6 py-6",children:t.jsxDEV(tE,{children:[t.jsxDEV(Ge,{path:"admin/deposit-requests",element:t.jsxDEV(oGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:445,columnNumber:57},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:445,columnNumber:11},this),t.jsxDEV(Ge,{path:"admin/account-requests",element:t.jsxDEV(lGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:446,columnNumber:57},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:446,columnNumber:11},this),t.jsxDEV(Ge,{index:!0,element:t.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-4 sm:gap-6",children:[t.jsxDEV("div",{className:"lg:col-span-1 hidden lg:block",children:[t.jsxDEV(F,{className:"mb-4 sm:mb-6",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-orange-600 text-xs sm:text-sm",children:"Upcoming News"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:456,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:455,columnNumber:21},this),t.jsxDEV(B,{className:"space-y-3 text-xs sm:text-sm",children:cGe.map(V=>t.jsxDEV("div",{className:"pb-2 border-b last:border-b-0",children:[t.jsxDEV("p",{className:"font-semibold mb-1",children:V.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:463,columnNumber:27},this),t.jsxDEV("p",{className:"text-gray-600 text-xs",children:V.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:464,columnNumber:27},this)]},V.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:462,columnNumber:25},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:460,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:454,columnNumber:19},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-orange-600 text-xs sm:text-sm",children:"Quick Alerts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:472,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:471,columnNumber:21},this),t.jsxDEV(B,{className:"space-y-3 text-xs sm:text-sm",children:mGe.map(V=>t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-semibold mb-1",children:V.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:479,columnNumber:27},this),t.jsxDEV("p",{className:"text-gray-600 text-xs",children:V.details},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:480,columnNumber:27},this)]},V.title,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:478,columnNumber:25},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:476,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:470,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:453,columnNumber:17},this),t.jsxDEV("div",{className:"lg:col-span-2 space-y-6",children:[t.jsxDEV("div",{className:"flex flex-wrap items-center gap-2 p-3 bg-gradient-to-r from-gatesib-light-green/10 to-gatesib-green/5 rounded-lg border border-gatesib-green/20",children:[t.jsxDEV("span",{className:"text-xs font-semibold text-gatesib-dark-green mr-2",children:"Quick Actions:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:490,columnNumber:21},this),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-8 text-xs hover:bg-gatesib-green hover:text-white",onClick:()=>n("/dashboard3/request-deposit"),children:"Request Deposit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:491,columnNumber:21},this),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-8 text-xs hover:bg-gatesib-green hover:text-white",onClick:()=>n("/dashboard3/request-account"),children:"Open New Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:499,columnNumber:21},this),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-8 text-xs hover:bg-gatesib-green hover:text-white",onClick:()=>n("/dashboard3/transfers"),children:"Transfer Funds"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:507,columnNumber:21},this),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-8 text-xs hover:bg-gatesib-green hover:text-white",onClick:()=>n("/dashboard3/loan"),children:"Apply for Loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:515,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:489,columnNumber:19},this),t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("span",{className:"text-sm",children:["Email:"," ",t.jsxDEV("span",{className:"font-medium",children:r?.email||s?.email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:528,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:526,columnNumber:21},this),t.jsxDEV(L,{variant:"link",size:"sm",onClick:()=>n("/dashboard3/profile?edit=email"),children:"Edit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:530,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:525,columnNumber:19},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-base sm:text-lg",children:"Accounts Overview"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:541,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:540,columnNumber:21},this),t.jsxDEV(B,{children:[t.jsxDEV("div",{className:"mb-6",children:[t.jsxDEV("h5",{className:"text-sm font-semibold mb-2",children:"At a Glance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:545,columnNumber:25},this),t.jsxDEV("div",{className:"flex flex-wrap gap-2 sm:gap-4",children:[t.jsxDEV(L,{variant:"link",size:"sm",className:"text-xs sm:text-sm",onClick:()=>n("/dashboard3/messages"),children:"No New Message(s)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:547,columnNumber:27},this),t.jsxDEV(L,{variant:"link",size:"sm",className:"text-xs sm:text-sm",onClick:()=>n("/financial-management"),children:"Mobile Banking Center"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:555,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:546,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:544,columnNumber:23},this),t.jsxDEV("div",{className:"overflow-x-auto",children:t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{className:"text-xs sm:text-sm min-w-[220px]",children:"Current, Savings and Non-Residential Acc"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:570,columnNumber:31},this),t.jsxDEV(pe,{className:"text-right text-xs sm:text-sm whitespace-nowrap",children:"Available Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:573,columnNumber:31},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:569,columnNumber:29},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:568,columnNumber:27},this),t.jsxDEV(Os,{children:P.length>0?P.map(V=>{const _=V.account_types?.name?.toLowerCase()||"",O=g&&g!=="Please Select"&&(g==="Mortgage"&&(_.includes("mortgage")||_.includes("loan"))||g==="Savings Account"&&_.includes("savings")||g==="Current Account"&&(_.includes("current")||_.includes("checking")));return t.jsxDEV(Ee,{className:O?"bg-yellow-50 border-l-4 border-yellow-500":"",children:[t.jsxDEV(X,{className:"text-xs sm:text-sm",children:t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(L,{variant:"link",className:`p-0 h-auto text-left ${O?"font-semibold":""}`,onClick:()=>n("/dashboard3/accounts"),children:[t.jsxDEV("span",{className:"break-words",children:[V.account_types?.name||"Account"," -"," ",t.jsxDEV("span",{className:"font-mono",children:V.account_number||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:610,columnNumber:45},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:608,columnNumber:43},this),O&&t.jsxDEV("span",{className:"ml-2 text-yellow-600","aria-label":"highlighted account",children:"★"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:613,columnNumber:45},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:602,columnNumber:41},this),V.account_number&&t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:$=>{$.stopPropagation(),j(V.account_number)},title:"Copy account number",children:t.jsxDEV(xr,{className:"h-3 w-3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:629,columnNumber:45},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:619,columnNumber:43},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:601,columnNumber:39},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:600,columnNumber:37},this),t.jsxDEV(X,{className:"text-right font-semibold text-xs sm:text-sm whitespace-nowrap",children:w(parseFloat(V.balance||"0"))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:634,columnNumber:37},this)]},V.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:596,columnNumber:35},this)}):t.jsxDEV(Ee,{children:t.jsxDEV(X,{className:"text-center text-gray-500 text-xs sm:text-sm",colSpan:2,children:"No accounts found."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:642,columnNumber:33},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:641,columnNumber:31},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:578,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:567,columnNumber:25},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:566,columnNumber:23},this),t.jsxDEV("div",{className:"mt-4 border-t pt-4",children:t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{className:"text-xs sm:text-sm",children:"Credit Cards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:655,columnNumber:31},this),t.jsxDEV(pe,{className:"text-right text-xs sm:text-sm",children:"Available Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:656,columnNumber:31},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:654,columnNumber:29},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:653,columnNumber:27},this),t.jsxDEV(Os,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"text-xs sm:text-sm",children:t.jsxDEV(L,{variant:"link",className:"p-0 h-auto text-orange-600",children:"(Apply)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:662,columnNumber:33},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:661,columnNumber:31},this),t.jsxDEV(X,{className:"text-right text-xs sm:text-sm",children:"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:666,columnNumber:31},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:660,columnNumber:29},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:659,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:652,columnNumber:25},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:651,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:543,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:539,columnNumber:19},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{className:"p-4 sm:p-6",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV(K,{className:"text-base sm:text-lg",children:"Transaction History"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:678,columnNumber:25},this),t.jsxDEV(L,{variant:"link",size:"sm",className:"text-xs sm:text-sm",onClick:()=>n("/dashboard3/accounts"),children:"View All"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:679,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:677,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:676,columnNumber:21},this),t.jsxDEV(B,{className:"p-4 sm:p-6",children:k?t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV(Me,{className:"h-12 w-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:692,columnNumber:27},this),t.jsxDEV(Me,{className:"h-12 w-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:693,columnNumber:27},this),t.jsxDEV(Me,{className:"h-12 w-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:694,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:691,columnNumber:25},this):y.length===0?t.jsxDEV("div",{className:"text-center py-8 text-muted-foreground",children:t.jsxDEV("p",{className:"text-sm sm:text-base",children:"No transaction history available."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:698,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:697,columnNumber:25},this):t.jsxDEV(t.Fragment,{children:[t.jsxDEV("div",{className:"block sm:hidden space-y-3",children:y.map(V=>{const _=V.transaction_type==="deposit"||V.transaction_type==="loan_disbursement",O=V.transaction_type==="withdrawal"||V.transaction_type==="transfer"||V.transaction_type==="payment";return t.jsxDEV("div",{className:"border rounded-lg p-3 space-y-2",children:[t.jsxDEV("div",{className:"flex items-start justify-between",children:[t.jsxDEV("div",{className:"flex-1 min-w-0",children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground",children:new Date(V.created_at).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:715,columnNumber:39},this),t.jsxDEV("div",{className:"font-mono text-xs mt-1 text-muted-foreground",children:V.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:724,columnNumber:39},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:714,columnNumber:37},this),t.jsxDEV(He,{variant:"outline",className:`text-xs flex-shrink-0 ${_?"bg-green-50 text-green-700 border-green-200":O?"bg-red-50 text-red-700 border-red-200":""}`,children:A(V.transaction_type)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:728,columnNumber:37},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:713,columnNumber:35},this),V.description&&t.jsxDEV("div",{className:"text-sm truncate",title:V.description,children:V.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:741,columnNumber:37},this),t.jsxDEV("div",{className:"flex items-center justify-between pt-1 border-t",children:[t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:747,columnNumber:39},this),t.jsxDEV("div",{className:"flex items-center gap-1 mt-1",children:[_?t.jsxDEV(Sa,{className:"h-3 w-3 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:750,columnNumber:43},this):O?t.jsxDEV(Nr,{className:"h-3 w-3 text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:752,columnNumber:43},this):null,t.jsxDEV("span",{className:`font-semibold text-sm ${_?"text-green-600":O?"text-red-600":"text-gray-600"}`,children:[_?"+":O?"-":"",w(V.amount)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:754,columnNumber:41},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:748,columnNumber:39},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:746,columnNumber:37},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("div",{className:"text-xs text-muted-foreground",children:"Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:768,columnNumber:39},this),t.jsxDEV("div",{className:"font-medium text-sm mt-1",children:w(V.balance_after)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:769,columnNumber:39},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:767,columnNumber:37},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:745,columnNumber:35},this)]},V.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:712,columnNumber:33},this)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:703,columnNumber:27},this),t.jsxDEV("div",{className:"hidden sm:block overflow-x-auto",children:t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{className:"text-xs sm:text-sm",children:"Date"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:784,columnNumber:35},this),t.jsxDEV(pe,{className:"text-xs sm:text-sm",children:"Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:785,columnNumber:35},this),t.jsxDEV(pe,{className:"text-xs sm:text-sm",children:"Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:786,columnNumber:35},this),t.jsxDEV(pe,{className:"text-xs sm:text-sm",children:"Description"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:787,columnNumber:35},this),t.jsxDEV(pe,{className:"text-right text-xs sm:text-sm",children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:788,columnNumber:35},this),t.jsxDEV(pe,{className:"text-right text-xs sm:text-sm",children:"Balance After"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:789,columnNumber:35},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:783,columnNumber:33},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:782,columnNumber:31},this),t.jsxDEV(Os,{children:y.map(V=>{const _=V.transaction_type==="deposit"||V.transaction_type==="loan_disbursement",O=V.transaction_type==="withdrawal"||V.transaction_type==="transfer"||V.transaction_type==="payment";return t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"text-xs sm:text-sm",children:new Date(V.created_at).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:802,columnNumber:39},this),t.jsxDEV(X,{className:"font-mono text-xs sm:text-sm",children:V.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:811,columnNumber:39},this),t.jsxDEV(X,{children:t.jsxDEV(He,{variant:"outline",className:_?"bg-green-50 text-green-700 border-green-200":O?"bg-red-50 text-red-700 border-red-200":"",children:A(V.transaction_type)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:815,columnNumber:41},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:814,columnNumber:39},this),t.jsxDEV(X,{className:"max-w-xs truncate text-xs sm:text-sm",title:V.description||"",children:V.description||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:828,columnNumber:39},this),t.jsxDEV(X,{className:"text-right",children:t.jsxDEV("div",{className:"flex items-center justify-end gap-1",children:[_?t.jsxDEV(Sa,{className:"h-4 w-4 text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:834,columnNumber:45},this):O?t.jsxDEV(Nr,{className:"h-4 w-4 text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:836,columnNumber:45},this):null,t.jsxDEV("span",{className:`font-semibold text-xs sm:text-sm ${_?"text-green-600":O?"text-red-600":"text-gray-600"}`,children:[_?"+":O?"-":"",w(V.amount)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:838,columnNumber:43},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:832,columnNumber:41},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:831,columnNumber:39},this),t.jsxDEV(X,{className:"text-right font-medium text-xs sm:text-sm",children:w(V.balance_after)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:851,columnNumber:39},this)]},V.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:801,columnNumber:37},this)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:792,columnNumber:31},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:781,columnNumber:29},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:780,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:701,columnNumber:25},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:689,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:675,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:487,columnNumber:17},this),t.jsxDEV("div",{className:"lg:col-span-1 space-y-4 sm:space-y-6",children:[t.jsxDEV(F,{children:t.jsxDEV(B,{className:"pt-4 sm:pt-6 text-xs sm:text-sm text-gray-600 space-y-2",children:[t.jsxDEV("div",{children:[t.jsxDEV("span",{className:"font-semibold",children:"Last Log On:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:870,columnNumber:25},this)," ",new Date().toLocaleString("en-GB",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"})," ","PM"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:869,columnNumber:23},this),t.jsxDEV("div",{className:"text-xs text-gray-500",children:"For assistance, contact support or send a secure message."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:880,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:868,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:867,columnNumber:19},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-orange-600 text-xs sm:text-sm",children:"Currency Conversion"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:888,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:887,columnNumber:21},this),t.jsxDEV(B,{children:t.jsxDEV(L,{variant:"link",className:"p-0 text-blue-600 text-xs sm:text-sm break-words text-left",children:"Convert funds to cryptocurrency"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:893,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:892,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:886,columnNumber:19},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-orange-600 text-xs sm:text-sm",children:"Get in touch"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:904,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:903,columnNumber:21},this),t.jsxDEV(B,{className:"space-y-2 text-xs sm:text-sm",children:[t.jsxDEV("p",{children:"Call us: +48 732 123 213"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:907,columnNumber:23},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{children:"Mail to us:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:909,columnNumber:25},this),t.jsxDEV("p",{className:"text-gray-600",children:"Contact us online"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:910,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:908,columnNumber:23},this),t.jsxDEV("div",{children:["Or"," ",t.jsxDEV(L,{variant:"link",className:"p-0 text-blue-600 text-xs sm:text-sm",onClick:()=>n("/dashboard3/messages"),children:"Send us a Secure Message"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:914,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:912,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:906,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:902,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:866,columnNumber:17},this),a&&t.jsxDEV("div",{id:"admin-approvals-section",className:"lg:col-span-4 col-span-1",children:t.jsxDEV(bGe,{navigate:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:929,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:928,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:452,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:449,columnNumber:11},this),t.jsxDEV(Ge,{path:"accounts",element:t.jsxDEV(q0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:936,columnNumber:43},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:936,columnNumber:11},this),t.jsxDEV(Ge,{path:"transfers",element:t.jsxDEV(K0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:937,columnNumber:44},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:937,columnNumber:11},this),t.jsxDEV(Ge,{path:"request-deposit",element:t.jsxDEV(nGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:938,columnNumber:50},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:938,columnNumber:11},this),t.jsxDEV(Ge,{path:"request-account",element:t.jsxDEV(iGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:939,columnNumber:50},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:939,columnNumber:11},this),t.jsxDEV(Ge,{path:"pay-bills",element:t.jsxDEV(Y0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:940,columnNumber:44},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:940,columnNumber:11},this),t.jsxDEV(Ge,{path:"credit-card/apply",element:t.jsxDEV(rGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:941,columnNumber:52},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:941,columnNumber:11},this),t.jsxDEV(Ge,{path:"loan",element:t.jsxDEV(Q0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:942,columnNumber:39},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:942,columnNumber:11},this),t.jsxDEV(Ge,{path:"contact",element:t.jsxDEV(aGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:943,columnNumber:42},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:943,columnNumber:11},this),t.jsxDEV(Ge,{path:"profile",element:t.jsxDEV(J0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:944,columnNumber:42},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:944,columnNumber:11},this),t.jsxDEV(Ge,{path:"messages",element:t.jsxDEV(sGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:945,columnNumber:43},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:945,columnNumber:11},this),t.jsxDEV(Ge,{path:"alerts",element:t.jsxDEV(tGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:946,columnNumber:41},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:946,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:443,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:441,columnNumber:7},this),t.jsxDEV(uGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:951,columnNumber:7},this),t.jsxDEV("footer",{className:"bg-gray-100 border-t mt-8 sm:mt-12 py-4",children:t.jsxDEV("div",{className:"container mx-auto px-4 text-xs text-gray-600 text-center",children:t.jsxDEV("p",{children:"© 2025 Gates Capital Banking. All rights reserved."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:956,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:955,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:954,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:416,columnNumber:5},this)}function bGe({navigate:e}){return t.jsxDEV(F,{className:"border-2 border-orange-200 bg-gradient-to-br from-orange-50/50 to-white shadow-lg",children:[t.jsxDEV(z,{className:"pb-4 border-b border-gray-200",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:t.jsxDEV("div",{children:[t.jsxDEV(K,{className:"text-lg sm:text-xl font-bold text-orange-700 flex items-center gap-2",children:[t.jsxDEV(He,{variant:"outline",className:"bg-orange-100 text-orange-700 border-orange-300",children:"Admin"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:970,columnNumber:15},this),"Pending Approvals"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:969,columnNumber:13},this),t.jsxDEV("p",{className:"text-xs sm:text-sm text-gray-600 mt-1",children:"Review and manage pending requests from users"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:975,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:968,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:967,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:966,columnNumber:7},this),t.jsxDEV(B,{className:"space-y-6 pt-6",children:[t.jsxDEV("section",{className:"bg-white rounded-lg border border-gray-200 p-4 sm:p-6 shadow-sm",children:[t.jsxDEV("div",{className:"flex items-center justify-between mb-4",children:[t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("h4",{className:"text-sm sm:text-base font-semibold text-gray-900 mb-1",children:"Deposit Requests"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:986,columnNumber:15},this),t.jsxDEV("p",{className:"text-xs text-gray-500",children:"Pending transaction approvals"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:987,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:985,columnNumber:13},this),t.jsxDEV(L,{variant:"outline",size:"sm",className:"text-xs sm:text-sm ml-4 flex-shrink-0",onClick:()=>e("/dashboard3/admin/deposit-requests"),children:"View All"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:989,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:984,columnNumber:11},this),t.jsxDEV("div",{className:"rounded-lg border border-gray-100 bg-gray-50/50 p-3 sm:p-4",children:t.jsxDEV(mD,{variant:"compact",maxItems:3,onViewAll:()=>e("/dashboard3/admin/deposit-requests")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:999,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:998,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:983,columnNumber:9},this),t.jsxDEV("section",{className:"bg-white rounded-lg border border-gray-200 p-4 sm:p-6 shadow-sm",children:[t.jsxDEV("div",{className:"flex items-center justify-between mb-4",children:[t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("h4",{className:"text-sm sm:text-base font-semibold text-gray-900 mb-1",children:"Account Creation Requests"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:1011,columnNumber:15},this),t.jsxDEV("p",{className:"text-xs text-gray-500",children:"New account applications"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:1012,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:1010,columnNumber:13},this),t.jsxDEV(L,{variant:"outline",size:"sm",className:"text-xs sm:text-sm ml-4 flex-shrink-0",onClick:()=>e("/dashboard3/admin/account-requests"),children:"View All"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:1014,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:1009,columnNumber:11},this),t.jsxDEV("div",{className:"rounded-lg border border-gray-100 bg-gray-50/50 p-3 sm:p-4",children:t.jsxDEV(dD,{variant:"compact",maxItems:3,onViewAll:()=>e("/dashboard3/admin/account-requests")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:1024,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:1023,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:1008,columnNumber:9},this),t.jsxDEV("div",{className:"flex flex-col sm:flex-row gap-3 pt-4 border-t border-gray-200",children:[t.jsxDEV(L,{variant:"default",size:"lg",className:"flex-1 bg-orange-600 hover:bg-orange-700 text-white font-semibold py-6",onClick:()=>e("/dashboard3/admin/deposit-requests"),children:"Manage Deposits"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:1034,columnNumber:11},this),t.jsxDEV(L,{variant:"default",size:"lg",className:"flex-1 bg-orange-600 hover:bg-orange-700 text-white font-semibold py-6",onClick:()=>e("/dashboard3/admin/account-requests"),children:"Manage Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:1042,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:1033,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:981,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/Dashboard3.tsx",lineNumber:965,columnNumber:5},this)}const fGe=[{title:"Working Capital",value:"€5,240.21",change:12.5,changeType:"positive",icon:t.jsxDEV(Ke,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:42,columnNumber:11},void 0)},{title:"Monthly Income",value:"€2,500.80",change:8.2,changeType:"positive",icon:t.jsxDEV(Xs,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:49,columnNumber:11},void 0)},{title:"Total Expenses",value:"€1,550.25",change:-3.1,changeType:"negative",icon:t.jsxDEV(Kn,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:56,columnNumber:11},void 0)}],gGe=[{id:"1",description:"Netflix Subscription",amount:15.99,date:"2024-01-15",type:"expense",category:"Entertainment"},{id:"2",description:"Spotify Premium",amount:9.99,date:"2024-01-14",type:"expense",category:"Entertainment"},{id:"3",description:"Salary Deposit",amount:2500,date:"2024-01-12",type:"income",category:"Salary"},{id:"4",description:"Grocery Shopping",amount:85.5,date:"2024-01-11",type:"expense",category:"Food"}];function pGe(){return t.jsxDEV("div",{className:"min-h-screen bg-gradient-to-br from-slate-50 to-slate-100 p-6",children:t.jsxDEV("div",{className:"max-w-7xl mx-auto space-y-6",children:[t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("div",{children:[t.jsxDEV("h1",{className:"text-3xl font-bold text-slate-900",children:"Financial Management"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:102,columnNumber:13},this),t.jsxDEV("p",{className:"text-slate-600 mt-1",children:"Track your finances and manage your money"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:103,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:101,columnNumber:11},this),t.jsxDEV("div",{className:"flex gap-3",children:[t.jsxDEV(L,{variant:"outline",size:"sm",children:[t.jsxDEV(wv,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:107,columnNumber:15},this),"More"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:106,columnNumber:13},this),t.jsxDEV(L,{size:"sm",className:"bg-emerald-600 hover:bg-emerald-700",children:"Add Transaction"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:110,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:105,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:100,columnNumber:9},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:fGe.map((e,s)=>t.jsxDEV(F,{className:"relative overflow-hidden",children:t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-medium text-slate-600",children:e.title},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:123,columnNumber:21},this),t.jsxDEV("p",{className:"text-2xl font-bold text-slate-900 mt-1",children:e.value},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:124,columnNumber:21},this),t.jsxDEV("div",{className:`flex items-center mt-2 text-sm ${e.changeType==="positive"?"text-emerald-600":"text-red-600"}`,children:[e.changeType==="positive"?t.jsxDEV(Sa,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:129,columnNumber:25},this):t.jsxDEV(Nr,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:131,columnNumber:25},this),Math.abs(e.change),"% from last month"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:125,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:122,columnNumber:19},this),t.jsxDEV("div",{className:`p-3 rounded-full ${e.changeType==="positive"?"bg-emerald-100":"bg-red-100"}`,children:e.icon},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:136,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:121,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:120,columnNumber:15},this)},s,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:119,columnNumber:13},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:117,columnNumber:9},this),t.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[t.jsxDEV("div",{className:"lg:col-span-2 space-y-6",children:[t.jsxDEV(F,{className:"bg-gradient-to-r from-slate-900 to-slate-800 text-white",children:t.jsxDEV(B,{className:"p-6",children:[t.jsxDEV("div",{className:"flex justify-between items-start mb-6",children:[t.jsxDEV("div",{children:[t.jsxDEV("h3",{className:"text-lg font-semibold",children:"My Wallet"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:156,columnNumber:21},this),t.jsxDEV("p",{className:"text-slate-300 text-sm",children:"Primary Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:157,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:155,columnNumber:19},this),t.jsxDEV(as,{className:"h-8 w-8 text-slate-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:159,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:154,columnNumber:17},this),t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-slate-300 text-sm",children:"Card Number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:164,columnNumber:21},this),t.jsxDEV("p",{className:"text-xl font-mono tracking-wider",children:"**** **** **** 1234"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:165,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:163,columnNumber:19},this),t.jsxDEV("div",{className:"flex justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-slate-300 text-sm",children:"Expires"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:170,columnNumber:23},this),t.jsxDEV("p",{className:"font-medium",children:"12/26"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:171,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:169,columnNumber:21},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-slate-300 text-sm",children:"CVV"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:174,columnNumber:23},this),t.jsxDEV("p",{className:"font-medium",children:"***"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:175,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:173,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:168,columnNumber:19},this),t.jsxDEV("div",{className:"pt-4",children:[t.jsxDEV("p",{className:"text-slate-300 text-sm",children:"Available Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:180,columnNumber:21},this),t.jsxDEV("p",{className:"text-3xl font-bold",children:Qe(5240.21)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:181,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:179,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:162,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:153,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:152,columnNumber:13},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(br,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:191,columnNumber:19},this),"Working Capital Trend"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:190,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:189,columnNumber:15},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"h-64 flex items-center justify-center bg-slate-50 rounded-lg",children:t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV(br,{className:"h-16 w-16 text-slate-400 mx-auto mb-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:198,columnNumber:21},this),t.jsxDEV("p",{className:"text-slate-600",children:"Chart visualization would go here"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:199,columnNumber:21},this),t.jsxDEV("p",{className:"text-sm text-slate-500",children:"Integration with Recharts or similar library"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:200,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:197,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:196,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:195,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:188,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:150,columnNumber:11},this),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{className:"flex flex-row items-center justify-between",children:[t.jsxDEV(K,{className:"text-lg",children:"Recent Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:212,columnNumber:17},this),t.jsxDEV(L,{variant:"ghost",size:"sm",children:"View All"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:213,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:211,columnNumber:15},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-4",children:gGe.slice(0,4).map(e=>t.jsxDEV("div",{className:"flex items-center justify-between p-3 rounded-lg hover:bg-slate-50 transition-colors",children:[t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV("div",{className:`p-2 rounded-full ${e.type==="income"?"bg-emerald-100":"bg-red-100"}`,children:e.type==="income"?t.jsxDEV(Sa,{className:`h-4 w-4 ${e.type==="income"?"text-emerald-600":"text-red-600"}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:224,columnNumber:29},this):t.jsxDEV(Nr,{className:`h-4 w-4 ${e.type==="income"?"text-emerald-600":"text-red-600"}`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:228,columnNumber:29},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:220,columnNumber:25},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-medium text-slate-900",children:e.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:234,columnNumber:27},this),t.jsxDEV("p",{className:"text-sm text-slate-500",children:e.date},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:235,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:233,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:219,columnNumber:23},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("p",{className:`font-semibold ${e.type==="income"?"text-emerald-600":"text-red-600"}`,children:[e.type==="income"?"+":"-","$",e.amount.toFixed(2)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:239,columnNumber:25},this),t.jsxDEV(He,{variant:"secondary",className:"text-xs",children:e.category},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:244,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:238,columnNumber:23},this)]},e.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:218,columnNumber:21},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:216,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:215,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:210,columnNumber:13},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-lg",children:"Quick Actions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:257,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:256,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-3",children:[t.jsxDEV(L,{className:"w-full justify-start",variant:"outline",children:[t.jsxDEV(Gr,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:261,columnNumber:19},this),"Transfer Money"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:260,columnNumber:17},this),t.jsxDEV(L,{className:"w-full justify-start",variant:"outline",children:[t.jsxDEV(as,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:265,columnNumber:19},this),"Pay Bills"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:264,columnNumber:17},this),t.jsxDEV(L,{className:"w-full justify-start",variant:"outline",children:[t.jsxDEV(br,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:269,columnNumber:19},this),"View Reports"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:268,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:259,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:255,columnNumber:13},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"text-lg",children:"Upcoming Payments"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:278,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:277,columnNumber:15},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-3",children:[t.jsxDEV("div",{className:"flex justify-between items-center p-3 bg-amber-50 rounded-lg",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-medium text-slate-900",children:"Electricity Bill"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:284,columnNumber:23},this),t.jsxDEV("p",{className:"text-sm text-slate-500",children:"Due Jan 25"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:285,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:283,columnNumber:21},this),t.jsxDEV("p",{className:"font-semibold text-amber-700",children:Qe(85.5)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:287,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:282,columnNumber:19},this),t.jsxDEV("div",{className:"flex justify-between items-center p-3 bg-blue-50 rounded-lg",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-medium text-slate-900",children:"Internet Bill"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:291,columnNumber:23},this),t.jsxDEV("p",{className:"text-sm text-slate-500",children:"Due Jan 28"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:292,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:290,columnNumber:21},this),t.jsxDEV("p",{className:"font-semibold text-blue-700",children:Qe(49.99)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:294,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:289,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:281,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:280,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:276,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:208,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:148,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:98,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/Dashboard.tsx",lineNumber:97,columnNumber:5},this)}const km=[{id:"1",type:"credit",bank:"Gates Capital Banking",cardNumber:"**** **** **** 1234",expiryDate:"12/26",balance:5240.21,limit:1e4,status:"active"},{id:"2",type:"debit",bank:"Gates Capital Banking",cardNumber:"**** **** **** 5678",expiryDate:"08/25",balance:1250.5,status:"active"},{id:"3",type:"prepaid",bank:"Gates Capital Banking",cardNumber:"**** **** **** 9012",expiryDate:"06/24",balance:500,status:"expired"}];function hGe(){const[e,s]=S.useState(!0),a=r=>{switch(r){case"credit":return"from-blue-600 to-blue-800";case"debit":return"from-emerald-600 to-emerald-800";case"prepaid":return"from-purple-600 to-purple-800";default:return"from-slate-600 to-slate-800"}},n=r=>{switch(r){case"credit":return t.jsxDEV(as,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:78,columnNumber:16},this);case"debit":return t.jsxDEV(Gr,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:80,columnNumber:16},this);case"prepaid":return t.jsxDEV(zs,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:82,columnNumber:16},this);default:return t.jsxDEV(as,{className:"h-6 w-6"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:84,columnNumber:16},this)}},i=r=>{switch(r){case"active":return"bg-emerald-100 text-emerald-800";case"blocked":return"bg-red-100 text-red-800";case"expired":return"bg-amber-100 text-amber-800";default:return"bg-slate-100 text-slate-800"}};return t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("div",{className:"flex justify-between items-center",children:[t.jsxDEV("div",{children:[t.jsxDEV("h2",{className:"text-2xl font-bold text-slate-900",children:"My Wallets"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:106,columnNumber:11},this),t.jsxDEV("p",{className:"text-slate-600",children:"Manage your cards and digital wallets"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:107,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:105,columnNumber:9},this),t.jsxDEV("div",{className:"flex gap-3",children:[t.jsxDEV(L,{variant:"outline",size:"sm",onClick:()=>s(!e),children:[e?t.jsxDEV(FP,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:115,columnNumber:29},this):t.jsxDEV(Dr,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:115,columnNumber:67},this),e?"Hide":"Show"," Balances"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:110,columnNumber:11},this),t.jsxDEV(L,{size:"sm",className:"bg-emerald-600 hover:bg-emerald-700",children:[t.jsxDEV(Zg,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:119,columnNumber:13},this),"Add Card"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:118,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:109,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:104,columnNumber:7},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t.jsxDEV(F,{children:t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-medium text-slate-600",children:"Total Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:131,columnNumber:17},this),t.jsxDEV("p",{className:"text-2xl font-bold text-slate-900",children:e?Qe(km.reduce((r,o)=>r+o.balance,0)):"••••••"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:132,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:130,columnNumber:15},this),t.jsxDEV("div",{className:"p-3 bg-emerald-100 rounded-full",children:t.jsxDEV(Ke,{className:"h-6 w-6 text-emerald-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:137,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:136,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:129,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:128,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:127,columnNumber:9},this),t.jsxDEV(F,{children:t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-medium text-slate-600",children:"Active Cards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:147,columnNumber:17},this),t.jsxDEV("p",{className:"text-2xl font-bold text-slate-900",children:km.filter(r=>r.status==="active").length},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:148,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:146,columnNumber:15},this),t.jsxDEV("div",{className:"p-3 bg-blue-100 rounded-full",children:t.jsxDEV(as,{className:"h-6 w-6 text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:153,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:152,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:145,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:144,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:143,columnNumber:9},this),t.jsxDEV(F,{children:t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-medium text-slate-600",children:"Credit Limit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:163,columnNumber:17},this),t.jsxDEV("p",{className:"text-2xl font-bold text-slate-900",children:e?`$${(km.find(r=>r.limit)?.limit||0).toLocaleString()}`:"••••••"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:164,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:162,columnNumber:15},this),t.jsxDEV("div",{className:"p-3 bg-purple-100 rounded-full",children:t.jsxDEV(zs,{className:"h-6 w-6 text-purple-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:169,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:168,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:161,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:160,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:159,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:126,columnNumber:7},this),t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:km.map(r=>t.jsxDEV(F,{className:"relative overflow-hidden",children:[t.jsxDEV("div",{className:`absolute inset-0 bg-gradient-to-br ${a(r.type)} opacity-90`},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:180,columnNumber:13},this),t.jsxDEV(B,{className:"relative p-6 text-white",children:[t.jsxDEV("div",{className:"flex justify-between items-start mb-6",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm opacity-80",children:r.bank},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:184,columnNumber:19},this),t.jsxDEV("p",{className:"text-lg font-semibold capitalize",children:[r.type," Card"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:185,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:183,columnNumber:17},this),t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(He,{className:`${i(r.status)} text-xs`,children:r.status},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:188,columnNumber:19},this),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"text-white hover:bg-white/20",children:t.jsxDEV(wv,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:192,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:191,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:187,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:182,columnNumber:15},this),t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"flex items-center gap-3",children:[n(r.type),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm opacity-80",children:"Card Number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:201,columnNumber:21},this),t.jsxDEV("p",{className:"text-xl font-mono tracking-wider",children:r.cardNumber},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:202,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:200,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:198,columnNumber:17},this),t.jsxDEV("div",{className:"flex justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm opacity-80",children:"Expires"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:208,columnNumber:21},this),t.jsxDEV("p",{className:"font-medium",children:r.expiryDate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:209,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:207,columnNumber:19},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm opacity-80",children:"CVV"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:212,columnNumber:21},this),t.jsxDEV("p",{className:"font-medium",children:"***"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:213,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:211,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:206,columnNumber:17},this),t.jsxDEV("div",{className:"pt-4 border-t border-white/20",children:[t.jsxDEV("p",{className:"text-sm opacity-80",children:r.type==="credit"?"Available Credit":"Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:218,columnNumber:19},this),t.jsxDEV("p",{className:"text-2xl font-bold",children:e?Qe(r.balance):"••••••"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:221,columnNumber:19},this),r.limit&&t.jsxDEV("p",{className:"text-sm opacity-80",children:["Limit: ",e?`$${r.limit.toLocaleString()}`:"••••••"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:225,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:217,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:197,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:181,columnNumber:13},this)]},r.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:179,columnNumber:11},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:177,columnNumber:7},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(K,{children:"Quick Actions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:239,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:238,columnNumber:9},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[t.jsxDEV(L,{variant:"outline",className:"h-20 flex-col gap-2",children:[t.jsxDEV(Zg,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:244,columnNumber:15},this),t.jsxDEV("span",{className:"text-sm",children:"Add Card"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:245,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:243,columnNumber:13},this),t.jsxDEV(L,{variant:"outline",className:"h-20 flex-col gap-2",children:[t.jsxDEV(Gr,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:248,columnNumber:15},this),t.jsxDEV("span",{className:"text-sm",children:"Transfer"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:249,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:247,columnNumber:13},this),t.jsxDEV(L,{variant:"outline",className:"h-20 flex-col gap-2",children:[t.jsxDEV(as,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:252,columnNumber:15},this),t.jsxDEV("span",{className:"text-sm",children:"Pay Bills"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:253,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:251,columnNumber:13},this),t.jsxDEV(L,{variant:"outline",className:"h-20 flex-col gap-2",children:[t.jsxDEV(zs,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:256,columnNumber:15},this),t.jsxDEV("span",{className:"text-sm",children:"Security"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:257,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:255,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:242,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:241,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:237,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/financial/WalletManagement.tsx",lineNumber:102,columnNumber:5},this)}function Li({title:e,description:s,icon:a,action:n,className:i}){return t.jsxDEV("div",{className:me("flex flex-col items-center justify-center gap-3 rounded-xl border border-dashed border-gray-200 bg-white p-8 text-center",i),children:[a?t.jsxDEV("div",{className:"text-gray-400",children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/EmptyState.tsx",lineNumber:15,columnNumber:15},this):null,t.jsxDEV("div",{className:"space-y-1",children:[t.jsxDEV("h3",{className:"text-base font-semibold text-gray-900",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/EmptyState.tsx",lineNumber:17,columnNumber:9},this),s?t.jsxDEV("p",{className:"text-sm text-gray-500",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/EmptyState.tsx",lineNumber:18,columnNumber:24},this):null]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/EmptyState.tsx",lineNumber:16,columnNumber:7},this),n]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/EmptyState.tsx",lineNumber:14,columnNumber:5},this)}const vGe=[{name:"Utility Services",reference:"UTILITY-9211",lastPaid:"20 Jan 2025",amount:"€145.20"},{name:"Gates Capital Mortgage",reference:"HOME-0001",lastPaid:"15 Jan 2025",amount:"€1,850.00"},{name:"Premium Insurance",reference:"INS-4412",lastPaid:"01 Jan 2025",amount:"€320.75"}],Jk=[{name:"Gym membership",nextDue:"05 Feb 2025",amount:"€65.00",frequency:"Monthly"},{name:"Car lease",nextDue:"12 Feb 2025",amount:"€420.00",frequency:"Monthly"}];function NGe(){const[e,s]=v.useState(!0),[a]=Dc(),{user:n}=at(),i=new Set(["dashboard","transactions","wallets","invoices"]),r=(()=>{const E=(a.get("tab")||"").toLowerCase();return i.has(E)?E:"dashboard"})(),[o,l]=v.useState(r),[u,c]=v.useState([]),[m,d]=v.useState([]),[b,f]=v.useState({fromAccount:"",toAccount:"",amount:"",memo:""}),[h,g]=v.useState(!1),[p,x]=v.useState({name:"",reference:"",account:""}),[D,N]=v.useState(!1);v.useEffect(()=>{(async()=>{if(n)try{s(!0);const{data:U,error:T}=await oe.from("accounts").select("*, account_types ( name )").eq("user_id",n.id).eq("status","active").order("opened_date",{ascending:!0});if(T)throw T;const H=U||[];if(c(H),f(j=>({...j,fromAccount:j.fromAccount||H[0]?.id||""})),H.length>0){const{data:j,error:w}=await oe.from("transactions").select("*").in("account_id",H.map(A=>A.id)).order("created_at",{ascending:!1}).limit(6);if(w)throw w;d(j||[])}else d([])}catch(U){console.error(U)}finally{s(!1)}})()},[n]),v.useEffect(()=>{const E=(a.get("tab")||"").toLowerCase();i.has(E)&&E!==o&&l(E)},[a,o]);const C=v.useMemo(()=>u.map(E=>({value:E.id,label:`${E.account_types?.name||"Account"} · ${E.account_number}`})),[u]),y=v.useMemo(()=>m.map(E=>({id:E.id,amount:Number(E.amount||0),date:new Date(E.created_at).toLocaleDateString(),direction:E.transaction_type==="deposit"?"in":"out",description:E.description||E.transaction_type||"Transaction"})),[m]),G=E=>{E.preventDefault(),!(!b.fromAccount||!b.toAccount||!b.amount)&&(g(!0),setTimeout(()=>g(!1),4e3),f(U=>({...U,amount:"",memo:""})))},k=E=>{E.preventDefault(),!(!p.name||!p.reference||!p.account)&&(N(!0),setTimeout(()=>N(!1),4e3),x({name:"",reference:"",account:""}))};return t.jsxDEV("div",{className:"min-h-screen bg-gradient-to-br from-slate-50 to-slate-100",children:[t.jsxDEV("div",{className:"bg-white/90 backdrop-blur border-b sticky top-0 z-30",children:t.jsxDEV("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-3",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("h1",{className:"text-2xl sm:text-3xl font-bold text-slate-900 tracking-tight",children:"Financial Management"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:180,columnNumber:15},this),t.jsxDEV("p",{className:"text-slate-600 mt-1",children:"Comprehensive financial tools and insights"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:181,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:179,columnNumber:13},this),t.jsxDEV("div",{className:"flex items-center gap-2 sm:gap-3",children:[t.jsxDEV(L,{variant:"outline",size:"sm",children:[t.jsxDEV(yu,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:185,columnNumber:17},this),"Reports"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:184,columnNumber:15},this),t.jsxDEV(L,{size:"sm",className:"bg-emerald-600 hover:bg-emerald-700",children:[t.jsxDEV(Xs,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:189,columnNumber:17},this),"Add Transaction"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:188,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:183,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:178,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:177,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:176,columnNumber:7},this),t.jsxDEV("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-8",children:t.jsxDEV(Fr,{value:o,onValueChange:l,className:"space-y-6",children:[t.jsxDEV(qi,{className:"grid w-full grid-cols-4 lg:w-auto lg:grid-cols-4",children:[t.jsxDEV(Ps,{value:"dashboard",className:"flex items-center gap-2",children:[t.jsxDEV(br,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:201,columnNumber:15},this),t.jsxDEV("span",{className:"hidden sm:inline",children:"Dashboard"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:202,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:200,columnNumber:13},this),t.jsxDEV(Ps,{value:"transactions",className:"flex items-center gap-2",children:[t.jsxDEV(Ke,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:205,columnNumber:15},this),t.jsxDEV("span",{className:"hidden sm:inline",children:"Transfers"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:206,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:204,columnNumber:13},this),t.jsxDEV(Ps,{value:"wallets",className:"flex items-center gap-2",children:[t.jsxDEV(Gr,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:209,columnNumber:15},this),t.jsxDEV("span",{className:"hidden sm:inline",children:"Wallets"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:210,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:208,columnNumber:13},this),t.jsxDEV(Ps,{value:"invoices",className:"flex items-center gap-2",children:[t.jsxDEV(Ot,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:213,columnNumber:15},this),t.jsxDEV("span",{className:"hidden sm:inline",children:"Pay Bills"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:214,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:212,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:199,columnNumber:11},this),t.jsxDEV(As,{value:"dashboard",className:"space-y-6",children:e?t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[...Array(3)].map((E,U)=>t.jsxDEV(F,{className:"transition-shadow hover:shadow-sm",children:t.jsxDEV(B,{className:"p-6",children:t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV(Me,{className:"h-8 w-8 rounded-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:226,columnNumber:27},this),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV(Me,{className:"h-3 w-24 mb-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:228,columnNumber:29},this),t.jsxDEV(Me,{className:"h-5 w-28"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:229,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:227,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:225,columnNumber:25},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:224,columnNumber:23},this)},U,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:223,columnNumber:21},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:221,columnNumber:17},this),t.jsxDEV(F,{className:"border overflow-hidden",children:[t.jsxDEV(z,{children:t.jsxDEV(Me,{className:"h-5 w-48"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:239,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:238,columnNumber:19},this),t.jsxDEV(B,{children:t.jsxDEV("div",{className:"space-y-3",children:[...Array(4)].map((E,U)=>t.jsxDEV("div",{className:"flex items-center justify-between p-3 border rounded-lg",children:[t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV(Me,{className:"h-8 w-8 rounded-full"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:246,columnNumber:29},this),t.jsxDEV("div",{children:[t.jsxDEV(Me,{className:"h-4 w-32 mb-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:248,columnNumber:31},this),t.jsxDEV(Me,{className:"h-3 w-40"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:249,columnNumber:31},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:247,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:245,columnNumber:27},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV(Me,{className:"h-4 w-16 mb-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:253,columnNumber:29},this),t.jsxDEV(Me,{className:"h-3 w-20"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:254,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:252,columnNumber:27},this)]},U,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:244,columnNumber:25},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:242,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:241,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:237,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:220,columnNumber:15},this):t.jsxDEV(pGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:263,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:218,columnNumber:11},this),t.jsxDEV(As,{value:"transactions",className:"space-y-6",children:[t.jsxDEV("div",{className:"grid gap-6 lg:grid-cols-[minmax(0,1.4fr)_minmax(0,1fr)]",children:[t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"text-lg font-semibold text-gray-900",children:"Transfer options"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:271,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:270,columnNumber:17},this),t.jsxDEV(B,{className:"grid gap-4 md:grid-cols-2",children:[t.jsxDEV("div",{className:"rounded-xl border border-gray-100 p-4",children:[t.jsxDEV("h3",{className:"text-base font-semibold text-gray-900",children:"My Gates transfers"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:275,columnNumber:21},this),t.jsxDEV("p",{className:"mt-2 text-sm text-gray-600",children:"Move funds instantly between your own accounts."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:276,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:274,columnNumber:19},this),t.jsxDEV("div",{className:"rounded-xl border border-gray-100 p-4",children:[t.jsxDEV("h3",{className:"text-base font-semibold text-gray-900",children:"Person-to-person"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:279,columnNumber:21},this),t.jsxDEV("p",{className:"mt-2 text-sm text-gray-600",children:"Send money to another Gates customer securely."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:280,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:278,columnNumber:19},this),t.jsxDEV("div",{className:"rounded-xl border border-gray-100 p-4",children:[t.jsxDEV("h3",{className:"text-base font-semibold text-gray-900",children:"External transfer"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:283,columnNumber:21},this),t.jsxDEV("p",{className:"mt-2 text-sm text-gray-600",children:"Schedule local or international transfers."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:284,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:282,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:273,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:269,columnNumber:15},this),t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900",children:[t.jsxDEV(OE,{className:"h-5 w-5 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:292,columnNumber:21},this)," New transfer"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:291,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:290,columnNumber:17},this),t.jsxDEV(B,{children:h?t.jsxDEV(Li,{title:"Transfer scheduled",description:"Your transfer will appear in the activity list shortly.",action:t.jsxDEV(L,{size:"sm",onClick:()=>g(!1),children:"Create another transfer"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:300,columnNumber:31},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:297,columnNumber:21},this):t.jsxDEV("form",{className:"space-y-4",onSubmit:G,children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"From account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:305,columnNumber:25},this),t.jsxDEV(ds,{value:b.fromAccount,onValueChange:E=>f(U=>({...U,fromAccount:E})),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Select account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:311,columnNumber:29},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:310,columnNumber:27},this),t.jsxDEV(ls,{children:C.map(E=>t.jsxDEV(ye,{value:E.value,children:E.label},E.value,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:315,columnNumber:31},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:313,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:306,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:304,columnNumber:23},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"To account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:323,columnNumber:25},this),t.jsxDEV(re,{value:b.toAccount,onChange:E=>f(U=>({...U,toAccount:E.target.value})),placeholder:"Recipient name or account number",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:324,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:322,columnNumber:23},this),t.jsxDEV("div",{className:"grid gap-4 sm:grid-cols-2",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:333,columnNumber:27},this),t.jsxDEV(re,{type:"number",min:"0",step:"0.01",value:b.amount,onChange:E=>f(U=>({...U,amount:E.target.value})),placeholder:"100.00",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:334,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:332,columnNumber:25},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"Currency"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:345,columnNumber:27},this),t.jsxDEV(ds,{defaultValue:"USD",children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"USD"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:348,columnNumber:31},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:347,columnNumber:29},this),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"USD",children:"USD"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:351,columnNumber:31},this),t.jsxDEV(ye,{value:"EUR",children:"EUR"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:352,columnNumber:31},this),t.jsxDEV(ye,{value:"GBP",children:"GBP"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:353,columnNumber:31},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:350,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:346,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:344,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:331,columnNumber:23},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{children:"Memo (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:359,columnNumber:25},this),t.jsxDEV(Un,{rows:3,value:b.memo,onChange:E=>f(U=>({...U,memo:E.target.value})),placeholder:"Add a note for your records"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:360,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:358,columnNumber:23},this),t.jsxDEV("div",{className:"flex items-center justify-end gap-3",children:[t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>f({fromAccount:C[0]?.value||"",toAccount:"",amount:"",memo:""}),children:"Clear"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:368,columnNumber:25},this),t.jsxDEV(L,{type:"submit",disabled:u.length===0,children:"Schedule transfer"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:371,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:367,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:303,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:295,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:289,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:268,columnNumber:13},this),t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"text-base font-semibold text-gray-900",children:"Recent transfers"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:381,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:380,columnNumber:15},this),t.jsxDEV(B,{children:y.length===0?t.jsxDEV(Li,{title:"No transfers yet",description:"Your recent transfers will appear here once you start moving funds."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:385,columnNumber:19},this):t.jsxDEV("div",{className:"space-y-3",children:y.map(E=>t.jsxDEV("div",{className:"flex items-center justify-between rounded-lg border border-gray-100 p-3",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-semibold text-gray-900",children:E.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:391,columnNumber:27},this),t.jsxDEV("p",{className:"text-xs text-gray-500",children:E.date},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:392,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:390,columnNumber:25},this),t.jsxDEV("div",{className:`text-sm font-semibold ${E.direction==="in"?"text-emerald-600":"text-red-600"}`,children:[E.direction==="in"?"+":"-","$",Math.abs(E.amount).toLocaleString()]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:394,columnNumber:25},this)]},E.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:389,columnNumber:23},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:387,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:383,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:379,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:267,columnNumber:11},this),t.jsxDEV(As,{value:"wallets",className:"space-y-6",children:e?t.jsxDEV("div",{className:"space-y-3",children:[...Array(3)].map((E,U)=>t.jsxDEV("div",{className:"h-32 animate-pulse rounded-xl bg-slate-200"},U,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:409,columnNumber:19},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:407,columnNumber:15},this):t.jsxDEV(hGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:413,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:405,columnNumber:11},this),t.jsxDEV(As,{value:"invoices",className:"space-y-6",children:[t.jsxDEV("div",{className:"grid gap-6 lg:grid-cols-[minmax(0,1.4fr)_minmax(0,1fr)]",children:[t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900",children:[t.jsxDEV(as,{className:"h-5 w-5 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:422,columnNumber:21},this)," Saved billers"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:421,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:420,columnNumber:17},this),t.jsxDEV(B,{className:"space-y-3",children:vGe.map(E=>t.jsxDEV("div",{className:"flex items-center justify-between rounded-lg border border-gray-100 p-4",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-semibold text-gray-900",children:E.name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:429,columnNumber:25},this),t.jsxDEV("p",{className:"text-xs text-gray-500",children:["Reference: ",E.reference]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:430,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:428,columnNumber:23},this),t.jsxDEV("div",{className:"text-right text-sm text-gray-600",children:[t.jsxDEV("p",{children:E.amount},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:433,columnNumber:25},this),t.jsxDEV("p",{className:"text-xs",children:["Last paid ",E.lastPaid]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:434,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:432,columnNumber:23},this)]},E.reference,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:427,columnNumber:21},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:425,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:419,columnNumber:15},this),t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900",children:[t.jsxDEV(Vo,{className:"h-5 w-5 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:444,columnNumber:21},this)," Add a biller"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:443,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:442,columnNumber:17},this),t.jsxDEV(B,{children:D?t.jsxDEV(Li,{title:"Biller added",description:"You can schedule the first payment from the list below.",action:t.jsxDEV(L,{size:"sm",onClick:()=>N(!1),children:"Add another biller"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:452,columnNumber:31},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:449,columnNumber:21},this):t.jsxDEV("form",{className:"space-y-4",onSubmit:k,children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"biller-name",children:"Biller name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:457,columnNumber:25},this),t.jsxDEV(re,{id:"biller-name",value:p.name,onChange:E=>x(U=>({...U,name:E.target.value})),placeholder:"Utility Services",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:458,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:456,columnNumber:23},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"biller-reference",children:"Reference number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:467,columnNumber:25},this),t.jsxDEV(re,{id:"biller-reference",value:p.reference,onChange:E=>x(U=>({...U,reference:E.target.value})),placeholder:"ACCOUNT-12345",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:468,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:466,columnNumber:23},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"biller-account",children:"Debit from"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:477,columnNumber:25},this),t.jsxDEV(ds,{value:p.account,onValueChange:E=>x(U=>({...U,account:E})),children:[t.jsxDEV(os,{children:t.jsxDEV(bs,{placeholder:"Choose account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:483,columnNumber:29},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:482,columnNumber:27},this),t.jsxDEV(ls,{children:C.map(E=>t.jsxDEV(ye,{value:E.value,children:E.label},E.value,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:487,columnNumber:31},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:485,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:478,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:476,columnNumber:23},this),t.jsxDEV("div",{className:"flex items-center justify-end gap-3",children:[t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>x({name:"",reference:"",account:""}),children:"Clear"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:495,columnNumber:25},this),t.jsxDEV(L,{type:"submit",disabled:u.length===0,children:"Save biller"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:498,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:494,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:455,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:447,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:441,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:418,columnNumber:13},this),t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"flex items-center gap-2 text-base font-semibold text-gray-900",children:[t.jsxDEV(zP,{className:"h-5 w-5 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:509,columnNumber:19},this)," Scheduled payments"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:508,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:507,columnNumber:15},this),t.jsxDEV(B,{children:Jk.length===0?t.jsxDEV(Li,{title:"No scheduled payments",description:"Set up a biller to create recurring payments."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:514,columnNumber:19},this):t.jsxDEV("div",{className:"space-y-3",children:Jk.map(E=>t.jsxDEV("div",{className:"flex items-center justify-between rounded-lg border border-gray-100 p-3",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-sm font-semibold text-gray-900",children:E.name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:520,columnNumber:27},this),t.jsxDEV("p",{className:"text-xs text-gray-500",children:E.frequency},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:521,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:519,columnNumber:25},this),t.jsxDEV("div",{className:"text-right text-sm text-gray-600",children:[t.jsxDEV("p",{children:E.amount},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:524,columnNumber:27},this),t.jsxDEV("p",{className:"text-xs",children:["Next due ",E.nextDue]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:525,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:523,columnNumber:25},this)]},E.name,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:518,columnNumber:23},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:516,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:512,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:506,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:417,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:198,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:197,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/FinancialManagement.tsx",lineNumber:175,columnNumber:5},this)}const xGe=[{id:"1",description:"Netflix Subscription",amount:-15.99,date:"2024-01-15",type:"expense",category:"Entertainment"},{id:"2",description:"Spotify Premium",amount:-9.99,date:"2024-01-14",type:"expense",category:"Entertainment"},{id:"3",description:"Salary Deposit",amount:3500,date:"2024-01-14",type:"income",category:"Salary"},{id:"4",description:"Grocery Shopping",amount:-120.5,date:"2024-01-13",type:"expense",category:"Food"},{id:"5",description:"Freelance Payment",amount:850,date:"2024-01-12",type:"income",category:"Investment"}],DGe=[{id:"1",name:"Primary Account",type:"debit",balance:5240.21,cardNumber:"4532 1234 5678 9012",expiryDate:"12/26",color:"blue"},{id:"2",name:"Savings Account",type:"savings",balance:12500,cardNumber:"4532 1234 5678 9013",expiryDate:"12/26",color:"green"}],GGe=[{id:"1",clientName:"Acme Corporation",amount:2500,dueDate:"Jan 25, 2024",status:"pending",invoiceNumber:"INV-001",description:"Web Development Services"},{id:"2",clientName:"Tech Solutions Inc",amount:1800,dueDate:"Jan 30, 2024",status:"pending",invoiceNumber:"INV-002",description:"UI/UX Design Services"},{id:"3",clientName:"Digital Agency",amount:3200,dueDate:"Jan 20, 2024",status:"paid",invoiceNumber:"INV-003",description:"Mobile App Development"}],yGe=()=>t.jsxDEV("div",{className:"min-h-screen bg-gray-50",children:[t.jsxDEV("header",{className:"bg-white border-b border-gray-200 px-6 py-4",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{children:[t.jsxDEV("h1",{className:"text-2xl font-bold text-gray-900",children:"Financial Dashboard"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:113,columnNumber:13},void 0),t.jsxDEV("p",{className:"text-sm text-gray-600",children:"Welcome back! Here's what's happening with your finances."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:114,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:112,columnNumber:11},void 0),t.jsxDEV("div",{className:"flex items-center space-x-4",children:[t.jsxDEV("div",{className:"relative",children:[t.jsxDEV(hl,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:118,columnNumber:15},void 0),t.jsxDEV(re,{placeholder:"Search transactions...",className:"pl-10 w-64"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:119,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:117,columnNumber:13},void 0),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"relative",children:[t.jsxDEV(Ho,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:125,columnNumber:15},void 0),t.jsxDEV(He,{className:"absolute -top-1 -right-1 h-5 w-5 rounded-full bg-red-500 text-white text-xs",children:"3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:126,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:124,columnNumber:13},void 0),t.jsxDEV(L,{variant:"ghost",size:"sm",children:t.jsxDEV(yc,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:131,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:130,columnNumber:13},void 0),t.jsxDEV(L,{variant:"ghost",size:"sm",children:t.jsxDEV(Za,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:134,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:133,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:116,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:111,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:110,columnNumber:7},void 0),t.jsxDEV("div",{className:"p-6",children:t.jsxDEV("div",{className:"max-w-7xl mx-auto",children:[t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8",children:[t.jsxDEV(Qt,{title:"Total Balance",value:"€5,240.21",change:12.5,changeType:"increase",icon:"wallet"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:144,columnNumber:13},void 0),t.jsxDEV(Qt,{title:"Monthly Income",value:"€3,500.00",change:8.2,changeType:"increase",icon:"dollar"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:151,columnNumber:13},void 0),t.jsxDEV(Qt,{title:"Monthly Expenses",value:"€2,100.50",change:-3.1,changeType:"decrease",icon:"credit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:158,columnNumber:13},void 0),t.jsxDEV(Qt,{title:"Savings Rate",value:"40%",change:5.2,changeType:"increase",icon:"savings"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:165,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:143,columnNumber:11},void 0),t.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8",children:[t.jsxDEV("div",{className:"lg:col-span-2",children:t.jsxDEV(yv,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:178,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:177,columnNumber:13},void 0),t.jsxDEV("div",{children:t.jsxDEV(Gv,{transactions:xGe},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:183,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:182,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:175,columnNumber:11},void 0),t.jsxDEV("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[t.jsxDEV(E5,{wallets:DGe},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:190,columnNumber:13},void 0),t.jsxDEV(L5,{invoices:GGe},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:193,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:188,columnNumber:11},void 0),t.jsxDEV("div",{className:"mt-8 grid grid-cols-1 md:grid-cols-3 gap-6",children:[t.jsxDEV(Qt,{title:"Upcoming Payments",value:"€550.25",change:-2.1,changeType:"decrease",className:"bg-gradient-to-br from-blue-50 to-blue-100 border-blue-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:198,columnNumber:13},void 0),t.jsxDEV(Qt,{title:"Investment Returns",value:"€250.80",change:15.3,changeType:"increase",className:"bg-gradient-to-br from-green-50 to-green-100 border-green-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:205,columnNumber:13},void 0),t.jsxDEV(Qt,{title:"Credit Score",value:"785",change:12,changeType:"increase",className:"bg-gradient-to-br from-purple-50 to-purple-100 border-purple-200"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:212,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:197,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:141,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:140,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/MagloDashboard.tsx",lineNumber:108,columnNumber:5},void 0);function bD({title:e,subtitle:s,actions:a,className:n}){return t.jsxDEV("div",{className:me("flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",n),children:[t.jsxDEV("div",{className:"space-y-1",children:[t.jsxDEV("h2",{className:"text-xl font-semibold text-gray-900 sm:text-2xl",children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/SectionHeader.tsx",lineNumber:15,columnNumber:9},this),s?t.jsxDEV("p",{className:"text-sm text-gray-500 sm:text-base",children:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/SectionHeader.tsx",lineNumber:16,columnNumber:21},this):null]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/SectionHeader.tsx",lineNumber:14,columnNumber:7},this),a?t.jsxDEV("div",{className:"flex items-center gap-2",children:a},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/SectionHeader.tsx",lineNumber:18,columnNumber:18},this):null]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/dashboard/SectionHeader.tsx",lineNumber:13,columnNumber:5},this)}const CGe=[{label:"No New Message(s)",destination:"/dashboard"},{label:"Mobile Banking Center",destination:"/financial-management?tab=dashboard"}],kGe=[{label:"View or print my statement",destination:"/dashboard/accounts?section=statements"},{label:"Set up account alerts",destination:"/dashboard/accounts?section=alerts"},{label:"Make a transfer",destination:"/financial-management?tab=transactions"},{label:"Open a new account",destination:"/dashboard/loans"}];function EGe(){const{user:e}=at(),s=Js(),[a,n]=v.useState([]),[i,r]=v.useState(!0),[o,l]=v.useState(null);v.useEffect(()=>{(async()=>{if(e)try{r(!0),l(null);const{data:d,error:b}=await oe.from("profiles").select("id").eq("id",e.id).maybeSingle();if(b&&b.code!=="PGRST116")throw console.error("Profile check error:",b),new Error("Unable to verify user profile. Please contact support.");const{data:f,error:h}=await oe.from("accounts").select("*, account_types ( name, description )").eq("user_id",e.id).eq("status","active").order("opened_date",{ascending:!0});if(h)throw console.error("Accounts query error details:",{message:h.message,code:h.code,details:h.details,hint:h.hint}),h;const g=f||[];console.log(`Successfully loaded ${g.length} account(s)`),n(g)}catch(d){console.error("Error loading accounts:",d);const b=d instanceof Error?d.message:"Unable to load accounts";l(b)}finally{r(!1)}})()},[e]);const u=v.useMemo(()=>a.reduce((m,d)=>m+Number(d.balance||0),0),[a]),c=v.useMemo(()=>e?.last_sign_in_at?new Date(e.last_sign_in_at):new Date,[e?.last_sign_in_at]);return e?t.jsxDEV("div",{className:"min-h-screen bg-slate-50",children:t.jsxDEV("main",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 space-y-8",children:[t.jsxDEV(bD,{title:"Accounts Overview",subtitle:"Review balances, recent activity, and quick actions for every account.",actions:t.jsxDEV(L,{variant:"outline",size:"sm",onClick:()=>s("/financial-management?tab=dashboard"),children:"Finance hub"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:118,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:114,columnNumber:9},this),o&&t.jsxDEV(Li,{title:"Unable to load accounts",description:`${o}. Please check your connection and try again.`,action:t.jsxDEV(L,{size:"sm",onClick:()=>{l(null),window.location.reload()},children:"Retry"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:127,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:123,columnNumber:11},this),t.jsxDEV("div",{className:"grid gap-6 lg:grid-cols-[minmax(0,2fr)_minmax(0,1fr)]",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{className:"bg-white border-0 shadow-sm rounded-xl",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"flex items-center justify-between text-lg font-semibold text-gray-900",children:[t.jsxDEV("span",{children:e.email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:142,columnNumber:19},this),t.jsxDEV(L,{variant:"ghost",size:"sm",className:"text-blue-600",onClick:()=>s("/profile"),children:"Edit"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:143,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:141,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:140,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-6",children:[t.jsxDEV("div",{className:"grid gap-3 sm:grid-cols-2",children:CGe.map(m=>t.jsxDEV(L,{variant:"outline",className:"justify-between rounded-xl border-gray-200 p-4 text-sm font-medium hover:bg-gray-50",onClick:()=>s(m.destination),children:[m.label,t.jsxDEV(_e,{className:"h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:156,columnNumber:23},this)]},m.label,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:149,columnNumber:21},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:147,columnNumber:17},this),t.jsxDEV("div",{className:"rounded-xl border border-gray-100 bg-gray-50 p-4",children:t.jsxDEV("div",{className:"flex items-center justify-between text-sm",children:[t.jsxDEV("span",{className:"font-medium text-gray-700",children:"Total balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:162,columnNumber:21},this),t.jsxDEV("span",{className:"text-lg font-semibold text-gray-900",children:Qe(u)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:163,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:161,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:160,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:146,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:139,columnNumber:13},this),t.jsxDEV(F,{className:"bg-white border-0 shadow-sm rounded-xl",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"flex items-center justify-between",children:[t.jsxDEV("span",{children:"Accounts summary"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:172,columnNumber:19},this),t.jsxDEV(L,{variant:"ghost",size:"sm",onClick:()=>s("/dashboard/accounts?section=manage"),children:"Manage accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:173,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:171,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:170,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-4",children:i?t.jsxDEV("div",{className:"space-y-3",children:[...Array(3)].map((m,d)=>t.jsxDEV("div",{className:"animate-pulse rounded-lg border border-gray-100 bg-gray-50 p-4"},d,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:180,columnNumber:23},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:178,columnNumber:19},this):a.length>0?t.jsxDEV(t.Fragment,{children:[t.jsxDEV("div",{className:"hidden md:block overflow-hidden rounded-lg border border-gray-100",children:t.jsxDEV("table",{className:"min-w-full divide-y divide-gray-100 text-sm",children:[t.jsxDEV("thead",{className:"bg-gray-50",children:t.jsxDEV("tr",{children:[t.jsxDEV("th",{className:"px-4 py-3 text-left font-medium text-gray-500",children:"Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:189,columnNumber:29},this),t.jsxDEV("th",{className:"px-4 py-3 text-left font-medium text-gray-500",children:"Available balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:190,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:188,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:187,columnNumber:25},this),t.jsxDEV("tbody",{className:"divide-y divide-gray-100 bg-white",children:[a.map(m=>t.jsxDEV("tr",{className:"hover:bg-gray-50",children:[t.jsxDEV("td",{className:"px-4 py-3",children:t.jsxDEV("div",{className:"flex flex-col",children:[t.jsxDEV("div",{className:"flex items-center gap-2",children:t.jsxDEV("span",{className:"font-semibold text-gray-900",children:m.account_types?.name||"Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:199,columnNumber:37},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:198,columnNumber:35},this),t.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[t.jsxDEV("span",{className:"text-xs text-gray-500 font-mono",children:m.account_number||"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:204,columnNumber:37},this),m.account_number&&t.jsxDEV(L,{variant:"ghost",size:"sm",className:"h-4 w-4 p-0",onClick:async d=>{d.stopPropagation();try{await navigator.clipboard.writeText(m.account_number),toast.success("Account number copied!")}catch{toast.error("Failed to copy")}},title:"Copy account number",children:t.jsxDEV(Copy,{className:"h-3 w-3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:223,columnNumber:41},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:208,columnNumber:39},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:203,columnNumber:35},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:197,columnNumber:33},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:196,columnNumber:31},this),t.jsxDEV("td",{className:"px-4 py-3 text-right font-semibold text-gray-900",children:[Qe(Number(m.balance||0))," ",m.currency]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:229,columnNumber:31},this)]},m.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:195,columnNumber:29},this)),t.jsxDEV("tr",{children:[t.jsxDEV("td",{className:"px-4 py-3",children:t.jsxDEV("div",{className:"flex items-center gap-2",children:[t.jsxDEV(as,{className:"h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:237,columnNumber:33},this),t.jsxDEV("span",{className:"font-semibold text-gray-900",children:"Credit Cards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:238,columnNumber:33},this),t.jsxDEV(He,{variant:"secondary",children:"Apply"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:239,columnNumber:33},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:236,columnNumber:31},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:235,columnNumber:29},this),t.jsxDEV("td",{className:"px-4 py-3 text-right text-sm text-gray-500",children:"N/A"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:242,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:234,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:193,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:186,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:185,columnNumber:21},this),t.jsxDEV("div",{className:"space-y-3 md:hidden",children:[a.map(m=>t.jsxDEV("div",{className:"rounded-lg border border-gray-100 p-4",children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("div",{className:"min-w-0",children:[t.jsxDEV("p",{className:"truncate text-sm font-semibold text-gray-900",children:m.account_types?.name||"Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:252,columnNumber:31},this),t.jsxDEV("p",{className:"truncate text-xs text-gray-500",children:m.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:255,columnNumber:31},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:251,columnNumber:29},this),t.jsxDEV("p",{className:"text-sm font-semibold text-gray-900",children:["$",Number(m.balance||0).toLocaleString()," ",m.currency]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:257,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:250,columnNumber:27},this)},m.id,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:249,columnNumber:25},this)),t.jsxDEV("div",{className:"rounded-lg border border-gray-100 p-4 text-sm text-gray-600",children:[t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV("span",{className:"font-semibold text-gray-900",children:"Credit Cards"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:265,columnNumber:27},this),t.jsxDEV(He,{variant:"secondary",children:"Apply"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:266,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:264,columnNumber:25},this),t.jsxDEV("p",{className:"mt-2 text-xs text-gray-500",children:"No cards on file."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:268,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:263,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:247,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:184,columnNumber:19},this):t.jsxDEV(Li,{title:"No accounts yet",description:"Open an account to get started with online banking.",action:t.jsxDEV(L,{size:"sm",onClick:()=>s("/dashboard/loans"),children:"Open an account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:277,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:273,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:176,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:169,columnNumber:13},this),t.jsxDEV(F,{className:"bg-white border-0 shadow-sm rounded-xl",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"flex items-center gap-2 text-base font-semibold text-gray-900",children:[t.jsxDEV(Ke,{className:"h-5 w-5 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:287,columnNumber:19},this)," Market snapshot"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:286,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:285,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-3 text-sm text-gray-600",children:[t.jsxDEV("div",{className:"flex items-center justify-between rounded-lg border border-gray-100 bg-gray-50 p-3",children:[t.jsxDEV("span",{className:"font-semibold text-gray-900",children:"STI Index"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:292,columnNumber:19},this),t.jsxDEV("div",{className:"text-right",children:[t.jsxDEV("p",{className:"font-semibold text-gray-900",children:"3,642.18"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:294,columnNumber:21},this),t.jsxDEV("p",{className:"text-xs text-red-500",children:"-0.03"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:295,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:293,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:291,columnNumber:17},this),t.jsxDEV("p",{className:"text-xs text-gray-500",children:"Note: Stocks delayed 20 minutes."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:298,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:290,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:284,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:138,columnNumber:11},this),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{className:"bg-white border-0 shadow-sm rounded-xl",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"text-base font-semibold text-gray-900",children:"Last log on"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:306,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:305,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-2 text-sm text-gray-600",children:[t.jsxDEV("p",{children:c.toLocaleString()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:309,columnNumber:17},this),t.jsxDEV(L,{variant:"link",className:"px-0 text-blue-600",onClick:()=>s("/security"),children:"View security settings"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:310,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:308,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:304,columnNumber:13},this),t.jsxDEV(F,{className:"bg-white border-0 shadow-sm rounded-xl",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"text-base font-semibold text-gray-900",children:"I want to..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:316,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:315,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-2",children:kGe.map(m=>t.jsxDEV(L,{variant:"outline",className:"w-full justify-between border-gray-200",onClick:()=>s(m.destination),children:[m.label,t.jsxDEV(_e,{className:"h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:327,columnNumber:21},this)]},m.label,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:320,columnNumber:19},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:318,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:314,columnNumber:13},this),t.jsxDEV(F,{className:"bg-white border-0 shadow-sm rounded-xl",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"text-base font-semibold text-gray-900",children:"Currency conversion"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:335,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:334,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-3 text-sm text-gray-600",children:[t.jsxDEV("p",{children:"Convert funds between more than 30 currencies instantly."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:338,columnNumber:17},this),t.jsxDEV(L,{variant:"outline",className:"w-full border-gray-200",onClick:()=>s("/financial-management?tab=transactions"),children:"Open converter"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:339,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:337,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:333,columnNumber:13},this),t.jsxDEV(F,{className:"bg-white border-0 shadow-sm rounded-xl",children:[t.jsxDEV(z,{className:"pb-3",children:t.jsxDEV(K,{className:"flex items-center gap-2 text-base font-semibold text-gray-900",children:[t.jsxDEV(ss,{className:"h-4 w-4 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:346,columnNumber:19},this)," Get in touch"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:345,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:344,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-3 text-sm text-gray-600",children:[t.jsxDEV("p",{className:"flex items-center gap-2",children:[t.jsxDEV(ss,{className:"h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:350,columnNumber:56},this)," 046 022 6214"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:350,columnNumber:17},this),t.jsxDEV("p",{className:"flex items-center gap-2",children:[t.jsxDEV(QP,{className:"h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:351,columnNumber:56},this)," Send us a secure message"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:351,columnNumber:17},this),t.jsxDEV("p",{className:"flex items-center gap-2",children:[t.jsxDEV(Vo,{className:"h-4 w-4 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:352,columnNumber:56},this)," Rue de l'Hôpital 31, 1000 Bruxelles, Belgium"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:352,columnNumber:17},this),t.jsxDEV(L,{variant:"outline",className:"w-full border-gray-200",onClick:()=>s("/dashboard/contact"),children:"Contact support"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:353,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:349,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:343,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:303,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:137,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:113,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/AccountsPortal.tsx",lineNumber:112,columnNumber:5},this):null}const LGe=[{name:"Personal loan",description:"Flexible loans for any purpose with fixed repayments.",rate:"From 9.25% p.a.",icon:as},{name:"Vehicle finance",description:"Competitive rates for new and used vehicles.",rate:"From 7.80% p.a.",icon:Da},{name:"Home improvement",description:"Finance renovations and upgrades with confidence.",rate:"From 8.40% p.a.",icon:Rt}];function jGe(){const e=Js(),[s,a]=v.useState(!1),[n,i]=v.useState({product:"Personal loan",amount:"",purpose:"",contact:""}),r=l=>u=>{i(c=>({...c,[l]:u.target.value}))},o=l=>{l.preventDefault(),!(!n.amount||!n.contact)&&a(!0)};return t.jsxDEV("div",{className:"min-h-screen bg-slate-50",children:t.jsxDEV("main",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 space-y-8",children:[t.jsxDEV(bD,{title:"Loan centre",subtitle:"Compare loan options and start your application in minutes.",actions:t.jsxDEV(L,{variant:"outline",size:"sm",onClick:()=>e("/contact"),children:"Talk to a specialist"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:61,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:57,columnNumber:9},this),t.jsxDEV("div",{className:"grid gap-6 lg:grid-cols-[minmax(0,2fr)_minmax(0,1fr)]",children:[t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"text-lg font-semibold text-gray-900",children:"Loan products"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:69,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:68,columnNumber:15},this),t.jsxDEV(B,{className:"grid gap-4 md:grid-cols-2",children:LGe.map(l=>t.jsxDEV("div",{className:"rounded-xl border border-gray-100 p-4",children:[t.jsxDEV("div",{className:"flex items-center gap-3",children:[t.jsxDEV(l.icon,{className:"h-10 w-10 text-amber-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:75,columnNumber:23},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"text-base font-semibold text-gray-900",children:l.name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:77,columnNumber:25},this),t.jsxDEV("p",{className:"text-xs text-gray-500",children:l.rate},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:78,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:76,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:74,columnNumber:21},this),t.jsxDEV("p",{className:"mt-3 text-sm text-gray-600",children:l.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:81,columnNumber:21},this),t.jsxDEV(L,{variant:"link",className:"px-0 text-blue-600",onClick:()=>i(u=>({...u,product:l.name})),children:"Use this product"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:82,columnNumber:21},this)]},l.name,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:73,columnNumber:19},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:71,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:67,columnNumber:13},this),t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-2",children:t.jsxDEV(K,{className:"flex items-center gap-2 text-lg font-semibold text-gray-900",children:[t.jsxDEV(IP,{className:"h-5 w-5 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:93,columnNumber:19},this)," Quick application"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:92,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:91,columnNumber:15},this),t.jsxDEV(B,{children:s?t.jsxDEV(Li,{title:"Application received",description:"A lending specialist will contact you within one business day.",action:t.jsxDEV(L,{size:"sm",onClick:()=>a(!1),children:"Submit another request"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:102,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:98,columnNumber:19},this):t.jsxDEV("form",{className:"space-y-4",onSubmit:o,children:[t.jsxDEV("div",{className:"grid gap-4 sm:grid-cols-2",children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"product",children:"Loan type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:111,columnNumber:25},this),t.jsxDEV(re,{id:"product",value:n.product,onChange:r("product"),placeholder:"Personal loan",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:112,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:110,columnNumber:23},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"amount",children:"Requested amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:121,columnNumber:25},this),t.jsxDEV(re,{id:"amount",type:"number",min:"0",step:"0.01",value:n.amount,onChange:r("amount"),placeholder:"25000",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:122,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:120,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:109,columnNumber:21},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"purpose",children:"Purpose"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:135,columnNumber:23},this),t.jsxDEV(Un,{id:"purpose",rows:3,value:n.purpose,onChange:r("purpose"),placeholder:"Tell us briefly about how you intend to use the funds"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:136,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:134,columnNumber:21},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"contact",children:"Best contact number or email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:145,columnNumber:23},this),t.jsxDEV(re,{id:"contact",value:n.contact,onChange:r("contact"),placeholder:"you@example.com",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:146,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:144,columnNumber:21},this),t.jsxDEV("div",{className:"flex items-center justify-end gap-3",children:[t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>i({product:"Personal loan",amount:"",purpose:"",contact:""}),children:"Clear"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:155,columnNumber:23},this),t.jsxDEV(L,{type:"submit",children:"Submit request"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:158,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:154,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:108,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:96,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:90,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:66,columnNumber:11},this),t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"flex items-center justify-between text-base font-semibold text-gray-900",children:["Support",t.jsxDEV(He,{variant:"secondary",children:"Available 24/7"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:170,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:168,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:167,columnNumber:13},this),t.jsxDEV(B,{className:"space-y-4 text-sm text-gray-600",children:[t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-semibold text-gray-900",children:"Phone"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:175,columnNumber:17},this),t.jsxDEV("p",{children:"046 022 6214"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:176,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:174,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-semibold text-gray-900",children:"Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:179,columnNumber:17},this),t.jsxDEV("p",{children:"loans@gatesib.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:180,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:178,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV("p",{className:"font-semibold text-gray-900",children:"Secure message"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:183,columnNumber:17},this),t.jsxDEV("p",{children:"Send us documents and receive updates safely."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:184,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:182,columnNumber:15},this),t.jsxDEV(L,{className:"w-full",variant:"outline",onClick:()=>e("/dashboard/contact"),children:"Contact lending team"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:186,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:173,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:166,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:65,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:56,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/LoanCenter.tsx",lineNumber:55,columnNumber:5},this)}function wGe(){const[e,s]=v.useState(!1),[a,n]=v.useState({subject:"",message:"",contact:""}),i=o=>l=>{n(u=>({...u,[o]:l.target.value}))},r=o=>{o.preventDefault(),!(!a.subject||!a.message||!a.contact)&&s(!0)};return t.jsxDEV("div",{className:"min-h-screen bg-slate-50",children:t.jsxDEV("main",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-8 space-y-8",children:[t.jsxDEV(bD,{title:"Support centre",subtitle:"Reach the Gates team by secure message, phone, or email."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:32,columnNumber:9},this),t.jsxDEV("div",{className:"grid gap-6 lg:grid-cols-[minmax(0,1.4fr)_minmax(0,1fr)]",children:[t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"text-lg font-semibold text-gray-900",children:"Send a secure message"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:40,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:39,columnNumber:13},this),t.jsxDEV(B,{children:e?t.jsxDEV(Li,{title:"Message sent",description:"We\\'ll respond within one business day.",action:t.jsxDEV(L,{size:"sm",onClick:()=>s(!1),children:"Send another message"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:48,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:44,columnNumber:17},this):t.jsxDEV("form",{className:"space-y-4",onSubmit:r,children:[t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"subject",children:"Subject"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:56,columnNumber:21},this),t.jsxDEV(re,{id:"subject",value:a.subject,onChange:i("subject"),required:!0,placeholder:"Account assistance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:57,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:55,columnNumber:19},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"message",children:"Message"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:60,columnNumber:21},this),t.jsxDEV(Un,{id:"message",rows:5,value:a.message,onChange:i("message"),required:!0,placeholder:"Provide as much detail as possible"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:61,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:59,columnNumber:19},this),t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{htmlFor:"contact",children:"Preferred contact"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:64,columnNumber:21},this),t.jsxDEV(re,{id:"contact",value:a.contact,onChange:i("contact"),required:!0,placeholder:"you@example.com or +1 555 123 4567"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:65,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:63,columnNumber:19},this),t.jsxDEV("div",{className:"flex items-center justify-end gap-3",children:[t.jsxDEV(L,{type:"button",variant:"outline",onClick:()=>n({subject:"",message:"",contact:""}),children:"Clear"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:68,columnNumber:21},this),t.jsxDEV(L,{type:"submit",children:"Send message"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:71,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:67,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:54,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:42,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:38,columnNumber:11},this),t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"flex items-center gap-2 text-base font-semibold text-gray-900",children:[t.jsxDEV(ss,{className:"h-4 w-4 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:82,columnNumber:19},this)," Phone support"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:81,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:80,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-2 text-sm text-gray-600",children:[t.jsxDEV("p",{className:"text-lg font-semibold text-gray-900",children:"046 022 6214"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:86,columnNumber:17},this),t.jsxDEV("p",{children:"Available 24/7 for urgent banking assistance."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:87,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:85,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:79,columnNumber:13},this),t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"flex items-center gap-2 text-base font-semibold text-gray-900",children:[t.jsxDEV(ra,{className:"h-4 w-4 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:94,columnNumber:19},this)," Email"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:93,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:92,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-2 text-sm text-gray-600",children:[t.jsxDEV("p",{className:"text-lg font-semibold text-gray-900",children:"support@gatesib.com"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:98,columnNumber:17},this),t.jsxDEV("p",{children:"We aim to reply within 4 business hours."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:99,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:97,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:91,columnNumber:13},this),t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"flex items-center gap-2 text-base font-semibold text-gray-900",children:[t.jsxDEV(Ss,{className:"h-4 w-4 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:106,columnNumber:19},this)," Secure messaging tips"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:105,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:104,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-2 text-sm text-gray-600",children:[t.jsxDEV("p",{children:"• Do not include full card numbers."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:110,columnNumber:17},this),t.jsxDEV("p",{children:"• Attach supporting documents if needed."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:111,columnNumber:17},this),t.jsxDEV("p",{children:"• We will never ask for your password."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:112,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:109,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:103,columnNumber:13},this),t.jsxDEV(F,{className:"border-0 rounded-xl shadow-sm",children:[t.jsxDEV(z,{className:"pb-4",children:t.jsxDEV(K,{className:"flex items-center gap-2 text-base font-semibold text-gray-900",children:[t.jsxDEV(mt,{className:"h-4 w-4 text-emerald-500"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:119,columnNumber:19},this)," Security reminder"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:118,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:117,columnNumber:15},this),t.jsxDEV(B,{className:"space-y-2 text-sm text-gray-600",children:[t.jsxDEV("p",{children:"Always log off after completing your session, especially on shared devices."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:123,columnNumber:17},this),t.jsxDEV(L,{variant:"outline",className:"w-full",onClick:()=>window.location.assign("/security"),children:"View security settings"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:124,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:122,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:116,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:78,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:37,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:31,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/dashboard/ContactCenter.tsx",lineNumber:30,columnNumber:5},this)}function pi({children:e}){const{user:s,session:a,loading:n}=at(),i=an(),r=typeof window<"u"&&!0&&window.localStorage.getItem("devAuth")==="true",[o,l]=S.useState(!1);return S.useEffect(()=>{if(n){const u=setTimeout(()=>{l(!0)},5e3);return()=>clearTimeout(u)}else l(!1)},[n]),n?o?t.jsxDEV("div",{className:"min-h-screen flex items-center justify-center",children:t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV("p",{className:"text-red-600 mb-4",children:"Authentication check is taking too long."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:34,columnNumber:13},this),t.jsxDEV("p",{className:"text-gray-600 mb-4",children:"Please check your Supabase configuration."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:35,columnNumber:13},this),t.jsxDEV(I,{to:"/login",className:"text-blue-600 underline",children:"Go to Login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:36,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:33,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:32,columnNumber:9},this):t.jsxDEV("div",{className:"min-h-screen flex items-center justify-center",children:t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV(xn,{className:"h-8 w-8 animate-spin mx-auto mb-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:47,columnNumber:11},this),t.jsxDEV("p",{className:"text-gray-600",children:"Loading..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:48,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:46,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:45,columnNumber:7},this):(!s||!a)&&!r?t.jsxDEV(zn,{to:"/login",state:{from:i},replace:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:56,columnNumber:12},this):s&&i.pathname.startsWith("/dashboard3")&&!r&&!(typeof window<"u"&&sessionStorage.getItem("securityQuestionVerified")==="true")?t.jsxDEV(zn,{to:"/login",state:{from:i,requireSecurity:!0},replace:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:67,columnNumber:14},this):t.jsxDEV(t.Fragment,{children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/ProtectedRoute.tsx",lineNumber:72,columnNumber:10},this)}function UGe(){const[e,s]=v.useState(""),[a,n]=v.useState(!1),[i,r]=v.useState(""),[o,l]=v.useState(""),[u,c]=v.useState(!1),m=Js(),d=async f=>{f.preventDefault(),n(!0),l(""),r("");const{error:h}=await oe.auth.resetPasswordForEmail(e,{redirectTo:`${window.location.origin}/update-password`});h?l(h.message):r("Password reset instructions have been sent to your email address."),n(!1)},b=async f=>{f.preventDefault(),n(!0),l(""),r("");try{const{data:h,error:g}=await oe.rpc("get_username_by_email",{email_input:e});if(g){l(`Failed to recover username: ${g.message}`),n(!1);return}if(!h||h.length===0){l("No account found with that email address."),n(!1);return}r(`Your username has been sent to ${e}.`),n(!1)}catch(h){l(`Failed to recover username: ${h instanceof Error?h.message:"Unknown error"}`),n(!1)}};return t.jsxDEV("div",{className:"min-h-screen bg-white",children:[t.jsxDEV("header",{className:"bg-black text-white py-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto px-4 flex items-center justify-between",children:[t.jsxDEV("div",{className:"flex items-center space-x-3",children:t.jsxDEV(kr,{showTagline:!0,size:"small"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:77,columnNumber:13},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:76,columnNumber:11},this),t.jsxDEV("div",{className:"flex space-x-4 text-sm",children:[t.jsxDEV("button",{onClick:()=>m("/login"),className:"hover:text-yellow-400 transition-colors",children:"Login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:80,columnNumber:13},this),t.jsxDEV("span",{className:"text-gray-500",children:"|"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:86,columnNumber:13},this),t.jsxDEV("button",{onClick:()=>m("/register"),className:"hover:text-yellow-400 transition-colors",children:"Register"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:87,columnNumber:13},this),t.jsxDEV("span",{className:"text-gray-500",children:"|"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:93,columnNumber:13},this),t.jsxDEV("button",{className:"hover:text-yellow-400 transition-colors",children:"Activate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:94,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:79,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:75,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:74,columnNumber:7},this),t.jsxDEV("main",{className:"max-w-4xl mx-auto px-4 py-8",children:t.jsxDEV("div",{className:"flex gap-8",children:[t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("div",{className:"flex items-center gap-2 mb-4",children:t.jsxDEV(L,{variant:"ghost",size:"sm",onClick:()=>m("/login"),className:"text-blue-600 hover:text-blue-800",children:[t.jsxDEV(Nn,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:113,columnNumber:17},this),"Back to Login"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:107,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:106,columnNumber:13},this),t.jsxDEV("h2",{className:"text-2xl font-bold text-gray-900 mb-2",children:u?"Recover Username":"Reset Password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:118,columnNumber:13},this),t.jsxDEV("p",{className:"text-gray-600 mb-6",children:u?"Enter your email address and we'll send your username to you.":"Enter your email address and we'll send you a link to reset your password."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:121,columnNumber:13},this),o&&t.jsxDEV(Qs,{variant:"destructive",className:"mb-4",children:t.jsxDEV(Zs,{children:o},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:129,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:128,columnNumber:15},this),i&&t.jsxDEV(Qs,{className:"mb-4",children:t.jsxDEV(Zs,{children:i},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:135,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:134,columnNumber:15},this),t.jsxDEV(F,{className:"max-w-md",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(ra,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:142,columnNumber:19},this),u?"Username Recovery":"Password Reset"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:141,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:140,columnNumber:15},this),t.jsxDEV(B,{children:[t.jsxDEV("form",{onSubmit:u?b:d,className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-1",children:"Email Address"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:149,columnNumber:21},this),t.jsxDEV(re,{id:"email",type:"email",placeholder:"Enter your email address",value:e,onChange:f=>s(f.target.value),className:"w-full",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:152,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:148,columnNumber:19},this),t.jsxDEV(L,{type:"submit",className:"w-full bg-black text-yellow-400 hover:bg-gray-800",disabled:a,children:a?"Processing...":u?"Recover Username":"Send Reset Link"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:163,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:147,columnNumber:17},this),t.jsxDEV("div",{className:"mt-4 text-center",children:t.jsxDEV("button",{type:"button",onClick:()=>{c(!u),l(""),r("")},className:"text-blue-600 hover:text-blue-800 text-sm underline",children:u?"Forgot your password instead?":"Forgot your username instead?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:175,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:174,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:146,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:139,columnNumber:13},this),t.jsxDEV("div",{className:"mt-6 text-sm text-gray-600",children:t.jsxDEV("p",{children:["Remember your credentials?"," ",t.jsxDEV("button",{onClick:()=>m("/login"),className:"text-blue-600 hover:text-blue-800 underline",children:"Sign in here"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:195,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:193,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:192,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:105,columnNumber:11},this),t.jsxDEV("div",{className:"w-80",children:[t.jsxDEV("div",{className:"bg-gray-100 p-4 rounded",children:[t.jsxDEV("h3",{className:"font-medium text-gray-900 mb-2",children:"Need Help?"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:208,columnNumber:15},this),t.jsxDEV("p",{className:"text-sm text-gray-600 mb-4",children:"If you're having trouble resetting your password or recovering your username, our customer support team is available to assist you."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:209,columnNumber:15},this),t.jsxDEV(L,{variant:"outline",className:"w-full",onClick:()=>m("/support/security"),children:"Contact Support"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:213,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:207,columnNumber:13},this),t.jsxDEV("div",{className:"mt-6 bg-blue-50 p-4 rounded",children:[t.jsxDEV("h4",{className:"font-medium text-gray-900 mb-2",children:"Security Tips"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:224,columnNumber:15},this),t.jsxDEV("ul",{className:"text-sm text-gray-600 space-y-1",children:[t.jsxDEV("li",{children:"• Use a strong, unique password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:226,columnNumber:17},this),t.jsxDEV("li",{children:"• Enable two-factor authentication"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:227,columnNumber:17},this),t.jsxDEV("li",{children:"• Never share your credentials"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:228,columnNumber:17},this),t.jsxDEV("li",{children:"• Log out completely when finished"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:229,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:225,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:223,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:206,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:103,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:102,columnNumber:7},this),t.jsxDEV("footer",{className:"bg-gray-50 border-t mt-12",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto px-4 py-4",children:[t.jsxDEV("p",{className:"text-xs text-gray-600 leading-relaxed",children:"Gates Capital Bank"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:239,columnNumber:11},this),t.jsxDEV("p",{className:"text-xs text-gray-600 mt-2",children:"© 2025 Gates Capital Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:242,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:238,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:237,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/ForgotPassword.tsx",lineNumber:72,columnNumber:5},this)}const HGe=()=>{const[e,s]=v.useState(""),[a,n]=v.useState(""),[i,r]=v.useState(!1),[o,l]=v.useState(""),[u,c]=v.useState(""),[m,d]=v.useState(!0),b=Js();v.useEffect(()=>{(async()=>{try{const{data:{session:g}}=await oe.auth.getSession()}catch{d(!1)}})()},[]);const f=async h=>{if(h.preventDefault(),e!==a){c("Passwords do not match");return}if(e.length<6){c("Password must be at least 6 characters long");return}r(!0),c(""),l("");try{const{error:g}=await oe.auth.updateUser({password:e});g?c(g.message):(l("Password updated successfully! You can now log in with your new password."),setTimeout(()=>{b("/login")},3e3))}catch{c("Failed to update password. Please try again.")}finally{r(!1)}};return m?t.jsxDEV("div",{className:"min-h-screen bg-white",children:[t.jsxDEV("header",{className:"bg-black text-white py-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto px-4 flex items-center justify-between",children:[t.jsxDEV("div",{className:"flex items-center space-x-3",children:t.jsxDEV(kr,{showTagline:!0,size:"small"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:172,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:171,columnNumber:11},void 0),t.jsxDEV("div",{className:"flex space-x-4 text-sm",children:[t.jsxDEV("button",{onClick:()=>b("/login"),className:"hover:text-yellow-400 transition-colors",children:"Login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:175,columnNumber:13},void 0),t.jsxDEV("span",{className:"text-gray-500",children:"|"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:181,columnNumber:13},void 0),t.jsxDEV("button",{onClick:()=>b("/register"),className:"hover:text-yellow-400 transition-colors",children:"Register"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:182,columnNumber:13},void 0),t.jsxDEV("span",{className:"text-gray-500",children:"|"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:188,columnNumber:13},void 0),t.jsxDEV("button",{className:"hover:text-yellow-400 transition-colors",children:"Activate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:189,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:174,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:170,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:169,columnNumber:7},void 0),t.jsxDEV("main",{className:"max-w-4xl mx-auto px-4 py-8",children:t.jsxDEV("div",{className:"flex gap-8",children:[t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("div",{className:"flex items-center gap-2 mb-4",children:t.jsxDEV(L,{variant:"ghost",size:"sm",onClick:()=>b("/login"),className:"text-blue-600 hover:text-blue-800",children:[t.jsxDEV(Nn,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:208,columnNumber:17},void 0),"Back to Login"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:202,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:201,columnNumber:13},void 0),t.jsxDEV("h2",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Update Password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:213,columnNumber:13},void 0),t.jsxDEV("p",{className:"text-gray-600 mb-6",children:"Please enter your new password below."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:214,columnNumber:13},void 0),u&&t.jsxDEV(Qs,{variant:"destructive",className:"mb-4",children:t.jsxDEV(Zs,{children:u},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:220,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:219,columnNumber:15},void 0),o&&t.jsxDEV(Qs,{className:"mb-4",children:t.jsxDEV(Zs,{children:o},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:226,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:225,columnNumber:15},void 0),t.jsxDEV(F,{className:"max-w-md",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Jn,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:233,columnNumber:19},void 0),"New Password"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:232,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:231,columnNumber:15},void 0),t.jsxDEV(B,{children:t.jsxDEV("form",{onSubmit:f,className:"space-y-4",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"password",className:"block text-sm font-medium text-gray-700 mb-1",children:"New Password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:240,columnNumber:21},void 0),t.jsxDEV(re,{id:"password",type:"password",placeholder:"Enter your new password",value:e,onChange:h=>s(h.target.value),className:"w-full",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:243,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:239,columnNumber:19},void 0),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"confirmPassword",className:"block text-sm font-medium text-gray-700 mb-1",children:"Confirm New Password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:255,columnNumber:21},void 0),t.jsxDEV(re,{id:"confirmPassword",type:"password",placeholder:"Confirm your new password",value:a,onChange:h=>n(h.target.value),className:"w-full",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:258,columnNumber:21},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:254,columnNumber:19},void 0),t.jsxDEV(L,{type:"submit",className:"w-full bg-black text-yellow-400 hover:bg-gray-800",disabled:i,children:i?"Updating...":"Update Password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:269,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:238,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:237,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:230,columnNumber:13},void 0),t.jsxDEV("div",{className:"mt-6 text-sm text-gray-600",children:t.jsxDEV("p",{children:["Remember your password?"," ",t.jsxDEV("button",{onClick:()=>b("/login"),className:"text-blue-600 hover:text-blue-800 underline",children:"Sign in here"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:283,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:281,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:280,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:200,columnNumber:11},void 0),t.jsxDEV("div",{className:"w-80",children:[t.jsxDEV("div",{className:"bg-gray-100 p-4 rounded",children:[t.jsxDEV("h3",{className:"font-medium text-gray-900 mb-2",children:"Password Requirements"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:296,columnNumber:15},void 0),t.jsxDEV("ul",{className:"text-sm text-gray-600 space-y-1",children:[t.jsxDEV("li",{children:"• At least 6 characters long"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:298,columnNumber:17},void 0),t.jsxDEV("li",{children:"• Include uppercase and lowercase letters"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:299,columnNumber:17},void 0),t.jsxDEV("li",{children:"• Include at least one number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:300,columnNumber:17},void 0),t.jsxDEV("li",{children:"• Include at least one special character"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:301,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:297,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:295,columnNumber:13},void 0),t.jsxDEV("div",{className:"mt-6 bg-blue-50 p-4 rounded",children:[t.jsxDEV("h4",{className:"font-medium text-gray-900 mb-2",children:"Security Tips"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:307,columnNumber:15},void 0),t.jsxDEV("ul",{className:"text-sm text-gray-600 space-y-1",children:[t.jsxDEV("li",{children:"• Use a strong, unique password"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:309,columnNumber:17},void 0),t.jsxDEV("li",{children:"• Enable two-factor authentication"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:310,columnNumber:17},void 0),t.jsxDEV("li",{children:"• Never share your credentials"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:311,columnNumber:17},void 0),t.jsxDEV("li",{children:"• Log out completely when finished"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:312,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:308,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:306,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:294,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:198,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:197,columnNumber:7},void 0),t.jsxDEV("footer",{className:"bg-gray-50 border-t mt-12",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto px-4 py-4",children:[t.jsxDEV("p",{className:"text-xs text-gray-600 leading-relaxed",children:"Gates Capital Bank"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:322,columnNumber:11},void 0),t.jsxDEV("p",{className:"text-xs text-gray-600 mt-2",children:"© 2025 Gates Capital Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:325,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:321,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:320,columnNumber:7},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:167,columnNumber:5},void 0):t.jsxDEV("div",{className:"min-h-screen bg-white",children:[t.jsxDEV("header",{className:"bg-black text-white py-4",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto px-4 flex items-center justify-between",children:[t.jsxDEV("div",{className:"flex items-center space-x-3",children:t.jsxDEV(kr,{showTagline:!0,size:"small"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:81,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:80,columnNumber:13},void 0),t.jsxDEV("div",{className:"flex space-x-4 text-sm",children:[t.jsxDEV("button",{onClick:()=>b("/login"),className:"hover:text-yellow-400 transition-colors",children:"Login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:84,columnNumber:15},void 0),t.jsxDEV("span",{className:"text-gray-500",children:"|"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:90,columnNumber:15},void 0),t.jsxDEV("button",{onClick:()=>b("/register"),className:"hover:text-yellow-400 transition-colors",children:"Register"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:91,columnNumber:15},void 0),t.jsxDEV("span",{className:"text-gray-500",children:"|"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:97,columnNumber:15},void 0),t.jsxDEV("button",{className:"hover:text-yellow-400 transition-colors",children:"Activate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:98,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:83,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:79,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:78,columnNumber:9},void 0),t.jsxDEV("main",{className:"max-w-4xl mx-auto px-4 py-8",children:t.jsxDEV("div",{className:"flex gap-8",children:t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("div",{className:"flex items-center gap-2 mb-4",children:t.jsxDEV(L,{variant:"ghost",size:"sm",onClick:()=>b("/login"),className:"text-blue-600 hover:text-blue-800",children:[t.jsxDEV(Nn,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:116,columnNumber:19},void 0),"Back to Login"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:110,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:109,columnNumber:15},void 0),t.jsxDEV("h2",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Invalid Session"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:121,columnNumber:15},void 0),t.jsxDEV(F,{className:"max-w-md",children:[t.jsxDEV(z,{children:t.jsxDEV(K,{className:"flex items-center gap-2",children:[t.jsxDEV(Jn,{className:"h-5 w-5"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:126,columnNumber:21},void 0),"Session Expired"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:125,columnNumber:19},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:124,columnNumber:17},void 0),t.jsxDEV(B,{children:[t.jsxDEV(Qs,{variant:"destructive",children:t.jsxDEV(Zs,{children:"Your password reset session has expired or is invalid. Please request a new password reset link."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:132,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:131,columnNumber:19},void 0),t.jsxDEV("div",{className:"mt-4",children:t.jsxDEV(L,{className:"w-full",onClick:()=>b("/forgot-password"),children:"Request New Reset Link"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:138,columnNumber:21},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:137,columnNumber:19},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:130,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:123,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:108,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:107,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:106,columnNumber:9},void 0),t.jsxDEV("footer",{className:"bg-gray-50 border-t mt-12",children:t.jsxDEV("div",{className:"max-w-4xl mx-auto px-4 py-4",children:[t.jsxDEV("p",{className:"text-xs text-gray-600 leading-relaxed",children:"Gates Capital Bank"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:154,columnNumber:13},void 0),t.jsxDEV("p",{className:"text-xs text-gray-600 mt-2",children:"© 2025 Gates Capital Banking"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:157,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:153,columnNumber:11},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:152,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/UpdatePassword.tsx",lineNumber:76,columnNumber:7},void 0)};function VGe(){Dc();const e=Js(),[s,a]=v.useState("loading"),[n,i]=v.useState("Confirming your email...");return v.useEffect(()=>{(async()=>{try{const o=new URLSearchParams(window.location.hash.substring(1)),l=o.get("access_token"),u=o.get("refresh_token"),c=o.get("type");if(console.log("Auth callback - type:",c,"hasTokens:",!!l&&!!u),l&&u){const{data:m,error:d}=await oe.auth.setSession({access_token:l,refresh_token:u});if(d)throw console.error("Session error:",d),d;if(console.log("Session set successfully for user:",m.user?.id),m.user)try{await cD(oe,m.user)}catch(b){console.error("Profile ensure failed:",b),i("Email confirmed, but profile setup incomplete. Please contact support.")}a("success"),i("Email confirmed successfully! Redirecting to dashboard..."),setTimeout(()=>{e(c==="recovery"?"/update-password":"/dashboard3")},1500)}else{const m=o.get("error_description"),d=o.get("error");if(m||d)throw new Error(m||d||"Authentication failed");console.log("No tokens in callback, checking current session...");const{data:b}=await oe.auth.getSession();if(b.session)a("success"),i("Already logged in! Redirecting..."),setTimeout(()=>e("/dashboard3"),1e3);else throw new Error("Missing authentication tokens. Please try logging in again.")}}catch(o){console.error("Auth callback error:",o),a("error"),i(o.message||"Authentication failed"),setTimeout(()=>e("/login"),3e3)}})()},[e]),t.jsxDEV("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-blue-50 to-indigo-100",children:t.jsxDEV("div",{className:"bg-white p-8 rounded-lg shadow-lg max-w-md w-full text-center space-y-6",children:[s==="loading"&&t.jsxDEV(t.Fragment,{children:[t.jsxDEV(xn,{className:"h-16 w-16 animate-spin mx-auto text-blue-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:96,columnNumber:13},this),t.jsxDEV("h2",{className:"text-xl font-semibold text-gray-900",children:"Confirming Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:97,columnNumber:13},this),t.jsxDEV("p",{className:"text-gray-600",children:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:98,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:95,columnNumber:11},this),s==="success"&&t.jsxDEV(t.Fragment,{children:[t.jsxDEV(Ls,{className:"h-16 w-16 mx-auto text-green-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:104,columnNumber:13},this),t.jsxDEV("h2",{className:"text-xl font-semibold text-gray-900",children:"Success!"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:105,columnNumber:13},this),t.jsxDEV("p",{className:"text-gray-600",children:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:106,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:103,columnNumber:11},this),s==="error"&&t.jsxDEV(t.Fragment,{children:[t.jsxDEV(Ao,{className:"h-16 w-16 mx-auto text-red-600"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:112,columnNumber:13},this),t.jsxDEV("h2",{className:"text-xl font-semibold text-gray-900",children:"Error"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:113,columnNumber:13},this),t.jsxDEV("p",{className:"text-gray-600",children:n},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:114,columnNumber:13},this),t.jsxDEV("p",{className:"text-sm text-gray-500",children:"Redirecting to login..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:115,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:111,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:93,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/AuthCallback.tsx",lineNumber:92,columnNumber:5},this)}function w5({children:e}){const{user:s,loading:a}=at(),{isAdmin:n,isLoading:i}=Cl(),r=an(),o=typeof window<"u"&&!0&&window.localStorage.getItem("devAuth")==="true";return S.useEffect(()=>{console.log("[AdminProtectedRoute] Auth state:",{user:s?.id,authLoading:a,isAdmin:n,adminLoading:i,devAuth:o})},[s,a,n,i,o]),a||i?t.jsxDEV("div",{className:"min-h-screen flex items-center justify-center",children:t.jsxDEV("div",{className:"text-center",children:[t.jsxDEV(xn,{className:"h-8 w-8 animate-spin mx-auto mb-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AdminProtectedRoute.tsx",lineNumber:33,columnNumber:11},this),t.jsxDEV("p",{className:"text-gray-600",children:"Loading..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AdminProtectedRoute.tsx",lineNumber:34,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AdminProtectedRoute.tsx",lineNumber:32,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AdminProtectedRoute.tsx",lineNumber:31,columnNumber:7},this):!s&&!o?(console.log("[AdminProtectedRoute] No user, redirecting to login"),t.jsxDEV(zn,{to:"/login",state:{from:r},replace:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AdminProtectedRoute.tsx",lineNumber:43,columnNumber:12},this)):!n&&!o?(console.log("[AdminProtectedRoute] User is not admin, redirecting to dashboard3"),t.jsxDEV(zn,{to:"/dashboard3",replace:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AdminProtectedRoute.tsx",lineNumber:49,columnNumber:12},this)):(console.log("[AdminProtectedRoute] Access granted, rendering admin dashboard"),t.jsxDEV(t.Fragment,{children:e},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/AdminProtectedRoute.tsx",lineNumber:54,columnNumber:10},this))}function PGe(){const[e,s]=v.useState(null),[a,n]=v.useState(!0),[i,r]=v.useState(null);v.useEffect(()=>{o();const l=setInterval(o,3e4);return()=>clearInterval(l)},[]);const o=async()=>{try{n(!0);const l=await ia.getAdminStats();l.success&&l.data?(s(l.data),r(null)):r(l.error||"Failed to load stats")}catch(l){r(l.message||"Failed to load stats")}finally{n(!1)}};return a?t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[1,2,3,4].map(l=>t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV(Me,{className:"h-4 w-24"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:43,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:42,columnNumber:13},this),t.jsxDEV(B,{children:t.jsxDEV(Me,{className:"h-8 w-16"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:46,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:45,columnNumber:13},this)]},l,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:41,columnNumber:11},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:39,columnNumber:7},this):i?t.jsxDEV(Qs,{variant:"destructive",children:[t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:57,columnNumber:9},this),t.jsxDEV(Zs,{children:i},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:58,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:56,columnNumber:7},this):t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[t.jsxDEV(K,{className:"text-sm font-medium",children:"Pending Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:68,columnNumber:13},this),t.jsxDEV(xa,{className:"h-4 w-4 text-muted-foreground"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:69,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:67,columnNumber:11},this),t.jsxDEV(B,{children:[t.jsxDEV("div",{className:"text-2xl font-bold",children:e?.pending_transactions||0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:72,columnNumber:13},this),t.jsxDEV("p",{className:"text-xs text-muted-foreground",children:"Requires approval"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:73,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:71,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:66,columnNumber:9},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[t.jsxDEV(K,{className:"text-sm font-medium",children:"Pending Loans"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:79,columnNumber:13},this),t.jsxDEV(Ot,{className:"h-4 w-4 text-muted-foreground"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:80,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:78,columnNumber:11},this),t.jsxDEV(B,{children:[t.jsxDEV("div",{className:"text-2xl font-bold",children:e?.pending_loans||0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:83,columnNumber:13},this),t.jsxDEV("p",{className:"text-xs text-muted-foreground",children:"Awaiting review"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:84,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:82,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:77,columnNumber:9},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[t.jsxDEV(K,{className:"text-sm font-medium",children:"Active Users"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:90,columnNumber:13},this),t.jsxDEV(Cs,{className:"h-4 w-4 text-muted-foreground"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:91,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:89,columnNumber:11},this),t.jsxDEV(B,{children:[t.jsxDEV("div",{className:"text-2xl font-bold",children:e?.active_users||0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:94,columnNumber:13},this),t.jsxDEV("p",{className:"text-xs text-muted-foreground",children:"Total active accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:95,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:93,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:88,columnNumber:9},this),t.jsxDEV(F,{children:[t.jsxDEV(z,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[t.jsxDEV(K,{className:"text-sm font-medium",children:"Total Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:101,columnNumber:13},this),t.jsxDEV(Xs,{className:"h-4 w-4 text-muted-foreground"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:102,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:100,columnNumber:11},this),t.jsxDEV(B,{children:[t.jsxDEV("div",{className:"text-2xl font-bold",children:e?.total_accounts||0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:105,columnNumber:13},this),t.jsxDEV("p",{className:"text-xs text-muted-foreground",children:"Active accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:106,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:104,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:99,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:65,columnNumber:7},this),(e?.pending_transactions||0)>0&&t.jsxDEV(Qs,{children:[t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:113,columnNumber:11},this),t.jsxDEV(Zs,{children:["You have ",e.pending_transactions," pending transaction",e.pending_transactions!==1?"s":""," ","requiring approval. Go to the Transactions tab to review them."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:114,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:112,columnNumber:9},this),(e?.pending_loans||0)>0&&t.jsxDEV(Qs,{children:[t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:123,columnNumber:11},this),t.jsxDEV(Zs,{children:["You have ",e.pending_loans," pending loan application",e.pending_loans!==1?"s":""," ","awaiting review. Go to the Loans tab to process them."]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:124,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:122,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/DashboardOverview.tsx",lineNumber:64,columnNumber:5},this)}function AGe(){const[e,s]=v.useState([]),[a,n]=v.useState(!1),[i,r]=v.useState(""),[o,l]=v.useState("all"),[u,c]=v.useState(null),[m,d]=v.useState(!1),[b,f]=v.useState(!1),[h,g]=v.useState(""),[p,x]=v.useState(""),[D,N]=v.useState(""),[C,y]=v.useState(null),[G,k]=v.useState(!1);v.useEffect(()=>{E()},[]);const E=async()=>{n(!0);try{const w=await ia.getAllUsers();w.success&&w.data?s(w.data):y({type:"error",text:w.error||"Failed to load users"})}catch(w){y({type:"error",text:w.message||"Failed to load users"})}finally{n(!1)}},U=async()=>{if(!(!u||!p)){k(!0);try{const w=await ia.updateUserStatus(u.id,p,h);w.success?(y({type:"success",text:`User status updated to ${p}`}),d(!1),g(""),c(null),await E()):y({type:"error",text:w.error||"Failed to update user status"})}catch(w){y({type:"error",text:w.message||"Failed to update user status"})}finally{k(!1)}}},T=async()=>{if(!(!u||!D.trim())){k(!0);try{const w=await ia.updateUsername(u.id,D.trim());w.success?(y({type:"success",text:`Username updated to ${D.trim()}`}),f(!1),N(""),c(null),await E()):y({type:"error",text:w.error||"Failed to update username"})}catch(w){y({type:"error",text:w.message||"Failed to update username"})}finally{k(!1)}}},H=e.filter(w=>{const A=w.email.toLowerCase().includes(i.toLowerCase())||w.username.toLowerCase().includes(i.toLowerCase())||w.first_name&&w.first_name.toLowerCase().includes(i.toLowerCase())||w.last_name&&w.last_name.toLowerCase().includes(i.toLowerCase()),P=o==="all"||w.status===o;return A&&P}),j=w=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(w);return t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV(K,{children:"User Management"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:122,columnNumber:13},this),t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV(re,{placeholder:"Search users...",value:i,onChange:w=>r(w.target.value),className:"w-64"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:124,columnNumber:15},this),t.jsxDEV(ds,{value:o,onValueChange:l,children:[t.jsxDEV(os,{className:"w-48",children:t.jsxDEV(bs,{placeholder:"Filter by status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:132,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:131,columnNumber:17},this),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"all",children:"All Statuses"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:135,columnNumber:19},this),t.jsxDEV(ye,{value:"active",children:"Active"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:136,columnNumber:19},this),t.jsxDEV(ye,{value:"suspended",children:"Suspended"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:137,columnNumber:19},this),t.jsxDEV(ye,{value:"pending",children:"Pending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:138,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:134,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:130,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:123,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:121,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:120,columnNumber:9},this),t.jsxDEV(B,{children:[C&&t.jsxDEV(Qs,{variant:C.type==="error"?"destructive":"default",className:"mb-4",children:[C.type==="error"?t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:148,columnNumber:17},this):t.jsxDEV(Ls,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:150,columnNumber:17},this),t.jsxDEV(Zs,{children:C.text},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:152,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:146,columnNumber:13},this),a?t.jsxDEV("div",{className:"space-y-2",children:[1,2,3].map(w=>t.jsxDEV(Me,{className:"h-16 w-full"},w,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:159,columnNumber:17},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:157,columnNumber:13},this):H.length===0?t.jsxDEV("div",{className:"text-center py-8 text-muted-foreground",children:"No users found"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:163,columnNumber:13},this):t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{children:"Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:170,columnNumber:19},this),t.jsxDEV(pe,{children:"Username"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:171,columnNumber:19},this),t.jsxDEV(pe,{children:"Name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:172,columnNumber:19},this),t.jsxDEV(pe,{children:"Phone"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:173,columnNumber:19},this),t.jsxDEV(pe,{children:"Status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:174,columnNumber:19},this),t.jsxDEV(pe,{children:"Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:175,columnNumber:19},this),t.jsxDEV(pe,{children:"Total Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:176,columnNumber:19},this),t.jsxDEV(pe,{children:"Created"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:177,columnNumber:19},this),t.jsxDEV(pe,{children:"Actions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:178,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:169,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:168,columnNumber:15},this),t.jsxDEV(Os,{children:H.map(w=>t.jsxDEV(Ee,{children:[t.jsxDEV(X,{children:w.email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:184,columnNumber:21},this),t.jsxDEV(X,{className:"font-mono",children:w.username},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:185,columnNumber:21},this),t.jsxDEV(X,{children:[w.first_name," ",w.last_name]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:186,columnNumber:21},this),t.jsxDEV(X,{children:w.phone||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:189,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(He,{variant:w.status==="active"?"default":w.status==="suspended"?"destructive":"secondary",children:w.status},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:191,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:190,columnNumber:21},this),t.jsxDEV(X,{children:w.account_count},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:203,columnNumber:21},this),t.jsxDEV(X,{className:"font-semibold",children:j(w.total_balance)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:204,columnNumber:21},this),t.jsxDEV(X,{children:new Date(w.created_at).toLocaleDateString()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:205,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV("div",{className:"flex gap-2",children:[t.jsxDEV(L,{size:"sm",variant:"outline",onClick:()=>{c(w),N(w.username),f(!0)},children:[t.jsxDEV(XP,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:217,columnNumber:27},this),"Edit Username"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:208,columnNumber:25},this),w.status==="active"?t.jsxDEV(L,{size:"sm",variant:"destructive",onClick:()=>{c(w),x("suspended"),d(!0)},children:[t.jsxDEV(rA,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:230,columnNumber:29},this),"Suspend"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:221,columnNumber:27},this):t.jsxDEV(L,{size:"sm",onClick:()=>{c(w),x("active"),d(!0)},children:[t.jsxDEV(IE,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:242,columnNumber:29},this),"Activate"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:234,columnNumber:27},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:207,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:206,columnNumber:21},this)]},w.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:183,columnNumber:19},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:181,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:167,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:144,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:119,columnNumber:7},this),t.jsxDEV(pa,{open:m,onOpenChange:d,children:t.jsxDEV(ea,{children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{children:p==="suspended"?"Suspend User":"Activate User"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:260,columnNumber:13},this),t.jsxDEV(na,{children:p==="suspended"?"Suspend this user account? They will not be able to log in until reactivated.":"Activate this user account? They will be able to log in immediately."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:263,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:259,columnNumber:11},this),u&&t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"User"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:273,columnNumber:19},this),t.jsxDEV("div",{className:"font-medium",children:[u.first_name," ",u.last_name]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:274,columnNumber:19},this),t.jsxDEV("div",{className:"text-muted-foreground",children:u.email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:277,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:272,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Current Status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:280,columnNumber:19},this),t.jsxDEV("div",{children:u.status},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:281,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:279,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:271,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"reason",children:"Reason (optional)"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:285,columnNumber:17},this),t.jsxDEV(re,{id:"reason",value:h,onChange:w=>g(w.target.value),placeholder:"Add a reason for this status change..."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:286,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:284,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:270,columnNumber:13},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>d(!1),disabled:G,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:296,columnNumber:13},this),t.jsxDEV(L,{onClick:U,disabled:G,variant:p==="suspended"?"destructive":"default",children:G?"Processing...":p==="suspended"?"Suspend User":"Activate User"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:299,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:295,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:258,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:257,columnNumber:7},this),t.jsxDEV(pa,{open:b,onOpenChange:f,children:t.jsxDEV(ea,{children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{children:"Edit Username"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:314,columnNumber:13},this),t.jsxDEV(na,{children:"Update the username for this user. Username must be unique and cannot be empty."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:315,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:313,columnNumber:11},this),u&&t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"User"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:323,columnNumber:19},this),t.jsxDEV("div",{className:"font-medium",children:[u.first_name," ",u.last_name]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:324,columnNumber:19},this),t.jsxDEV("div",{className:"text-muted-foreground",children:u.email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:327,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:322,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Current Username"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:330,columnNumber:19},this),t.jsxDEV("div",{className:"font-mono",children:u.username},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:331,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:329,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:321,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"new-username",children:"New Username"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:335,columnNumber:17},this),t.jsxDEV(re,{id:"new-username",value:D,onChange:w=>N(w.target.value),placeholder:"Enter new username...",className:"font-mono"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:336,columnNumber:17},this),t.jsxDEV("p",{className:"text-xs text-muted-foreground mt-1",children:"Username must be unique and will be used for login"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:343,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:334,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:320,columnNumber:13},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>f(!1),disabled:G,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:350,columnNumber:13},this),t.jsxDEV(L,{onClick:T,disabled:G||!D.trim()||D.trim()===u?.username,children:G?"Updating...":"Update Username"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:353,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:349,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:312,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:311,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/UserManagement.tsx",lineNumber:118,columnNumber:5},this)}function SGe(){const[e,s]=v.useState([]),[a,n]=v.useState(!1),[i,r]=v.useState(""),[o,l]=v.useState("all"),[u,c]=v.useState(null),[m,d]=v.useState(!1),[b,f]=v.useState(!1),[h,g]=v.useState(""),[p,x]=v.useState(""),[D,N]=v.useState(""),[C,y]=v.useState(null),[G,k]=v.useState(!1);v.useEffect(()=>{E()},[]);const E=async()=>{n(!0);try{const{data:w,error:A}=await oe.from("accounts").select(`
          *,
          profiles:user_id (
            email,
            first_name,
            last_name
          )
        `).order("created_at",{ascending:!1});if(A)throw A;const P=(w||[]).map(V=>({...V,user_email:V.profiles?.email||"",user_name:`${V.profiles?.first_name||""} ${V.profiles?.last_name||""}`.trim()||"Unknown"}));s(P)}catch(w){y({type:"error",text:w.message||"Failed to load accounts"})}finally{n(!1)}},U=async()=>{if(!(!u||!D)){k(!0);try{const w=await ia.updateAccountStatus(u.id,D);w.success?(y({type:"success",text:`Account status updated to ${D}`}),d(!1),c(null),await E()):y({type:"error",text:w.error||"Failed to update account status"})}catch(w){y({type:"error",text:w.message||"Failed to update account status"})}finally{k(!1)}}},T=async()=>{if(!u||!h||!p.trim())return;const w=parseFloat(h);if(isNaN(w)||w===0){y({type:"error",text:"Please enter a valid amount"});return}k(!0);try{const A=await ia.adjustBalance(u.id,w,p);A.success?(y({type:"success",text:"Balance adjusted successfully"}),f(!1),g(""),x(""),c(null),await E()):y({type:"error",text:A.error||"Failed to adjust balance"})}catch(A){y({type:"error",text:A.message||"Failed to adjust balance"})}finally{k(!1)}},H=e.filter(w=>{const A=w.account_number.toLowerCase().includes(i.toLowerCase())||w.user_email&&w.user_email.toLowerCase().includes(i.toLowerCase()),P=o==="all"||w.status===o;return A&&P}),j=w=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(w);return t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV(K,{children:"Account Management"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:147,columnNumber:13},this),t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV(re,{placeholder:"Search by account number or email...",value:i,onChange:w=>r(w.target.value),className:"w-64"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:149,columnNumber:15},this),t.jsxDEV(ds,{value:o,onValueChange:l,children:[t.jsxDEV(os,{className:"w-48",children:t.jsxDEV(bs,{placeholder:"Filter by status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:157,columnNumber:19},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:156,columnNumber:17},this),t.jsxDEV(ls,{children:[t.jsxDEV(ye,{value:"all",children:"All Statuses"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:160,columnNumber:19},this),t.jsxDEV(ye,{value:"active",children:"Active"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:161,columnNumber:19},this),t.jsxDEV(ye,{value:"suspended",children:"Suspended"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:162,columnNumber:19},this),t.jsxDEV(ye,{value:"closed",children:"Closed"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:163,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:159,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:155,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:148,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:146,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:145,columnNumber:9},this),t.jsxDEV(B,{children:[C&&t.jsxDEV(Qs,{variant:C.type==="error"?"destructive":"default",className:"mb-4",children:[C.type==="error"?t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:173,columnNumber:17},this):t.jsxDEV(Ls,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:175,columnNumber:17},this),t.jsxDEV(Zs,{children:C.text},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:177,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:171,columnNumber:13},this),a?t.jsxDEV("div",{className:"space-y-2",children:[1,2,3].map(w=>t.jsxDEV(Me,{className:"h-16 w-full"},w,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:184,columnNumber:17},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:182,columnNumber:13},this):H.length===0?t.jsxDEV("div",{className:"text-center py-8 text-muted-foreground",children:"No accounts found"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:188,columnNumber:13},this):t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{children:"Account Number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:193,columnNumber:19},this),t.jsxDEV(pe,{children:"User"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:194,columnNumber:19},this),t.jsxDEV(pe,{children:"Type"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:195,columnNumber:19},this),t.jsxDEV(pe,{children:"Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:196,columnNumber:19},this),t.jsxDEV(pe,{children:"Status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:197,columnNumber:19},this),t.jsxDEV(pe,{children:"Created"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:198,columnNumber:19},this),t.jsxDEV(pe,{children:"Actions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:199,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:192,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:191,columnNumber:15},this),t.jsxDEV(Os,{children:H.map(w=>t.jsxDEV(Ee,{children:[t.jsxDEV(X,{className:"font-mono",children:w.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:205,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"font-medium",children:w.user_name||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:208,columnNumber:25},this),t.jsxDEV("div",{className:"text-sm text-muted-foreground",children:w.user_email||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:209,columnNumber:25},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:207,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:206,columnNumber:21},this),t.jsxDEV(X,{children:w.account_type||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:212,columnNumber:21},this),t.jsxDEV(X,{className:"font-semibold",children:j(w.balance)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:213,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(He,{variant:w.status==="active"?"default":w.status==="suspended"?"destructive":"secondary",children:w.status},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:215,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:214,columnNumber:21},this),t.jsxDEV(X,{children:new Date(w.created_at).toLocaleDateString()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:227,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV("div",{className:"flex gap-2",children:[t.jsxDEV(L,{size:"sm",variant:"outline",onClick:()=>{c(w),f(!0)},children:[t.jsxDEV(Xs,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:238,columnNumber:27},this),"Adjust"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:230,columnNumber:25},this),w.status==="active"?t.jsxDEV(L,{size:"sm",variant:"destructive",onClick:()=>{c(w),N("suspended"),d(!0)},children:[t.jsxDEV(Jn,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:251,columnNumber:29},this),"Suspend"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:242,columnNumber:27},this):w.status==="suspended"?t.jsxDEV(L,{size:"sm",onClick:()=>{c(w),N("active"),d(!0)},children:[t.jsxDEV(KP,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:263,columnNumber:29},this),"Activate"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:255,columnNumber:27},this):null]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:229,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:228,columnNumber:21},this)]},w.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:204,columnNumber:19},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:202,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:190,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:169,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:144,columnNumber:7},this),t.jsxDEV(pa,{open:m,onOpenChange:d,children:t.jsxDEV(ea,{children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{children:D==="suspended"?"Suspend Account":"Activate Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:281,columnNumber:13},this),t.jsxDEV(na,{children:D==="suspended"?"Suspend this account? Transactions will be blocked until reactivated.":"Activate this account? Normal operations will resume."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:284,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:280,columnNumber:11},this),u&&t.jsxDEV("div",{className:"space-y-4",children:t.jsxDEV("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Account Number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:294,columnNumber:19},this),t.jsxDEV("div",{className:"font-mono",children:u.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:295,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:293,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Current Status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:298,columnNumber:19},this),t.jsxDEV("div",{children:u.status},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:299,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:297,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:292,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:291,columnNumber:13},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>d(!1),disabled:G,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:305,columnNumber:13},this),t.jsxDEV(L,{onClick:U,disabled:G,variant:D==="suspended"?"destructive":"default",children:G?"Processing...":D==="suspended"?"Suspend":"Activate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:308,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:304,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:279,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:278,columnNumber:7},this),t.jsxDEV(pa,{open:b,onOpenChange:f,children:t.jsxDEV(ea,{children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{children:"Adjust Account Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:323,columnNumber:13},this),t.jsxDEV(na,{children:"Make a manual balance adjustment. Use positive values to add, negative to subtract."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:324,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:322,columnNumber:11},this),u&&t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Account Number"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:332,columnNumber:19},this),t.jsxDEV("div",{className:"font-mono",children:u.account_number},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:333,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:331,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Current Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:336,columnNumber:19},this),t.jsxDEV("div",{className:"font-semibold",children:j(u.balance)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:337,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:335,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:330,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"adjustment-amount",children:"Adjustment Amount *"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:341,columnNumber:17},this),t.jsxDEV(re,{id:"adjustment-amount",type:"number",step:"0.01",value:h,onChange:w=>g(w.target.value),placeholder:"Enter amount (positive or negative)",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:342,columnNumber:17},this),t.jsxDEV("p",{className:"text-xs text-muted-foreground mt-1",children:"Positive for deposit, negative for withdrawal"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:351,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:340,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"adjustment-reason",children:"Reason *"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:356,columnNumber:17},this),t.jsxDEV(re,{id:"adjustment-reason",value:p,onChange:w=>x(w.target.value),placeholder:"Explain the reason for this adjustment...",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:357,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:355,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:329,columnNumber:13},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>f(!1),disabled:G,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:368,columnNumber:13},this),t.jsxDEV(L,{onClick:T,disabled:G||!h||!p.trim(),children:G?"Processing...":"Adjust Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:371,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:367,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:321,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:320,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/AccountManagement.tsx",lineNumber:143,columnNumber:5},this)}function TGe(){const[e,s]=v.useState([]),[a,n]=v.useState([]),[i,r]=v.useState(!1),[o,l]=v.useState(null),[u,c]=v.useState(!1),[m,d]=v.useState(!1),[b,f]=v.useState(""),[h,g]=v.useState([]),[p,x]=v.useState(""),[D,N]=v.useState(null),[C,y]=v.useState(!1);v.useEffect(()=>{G()},[]);const G=async()=>{r(!0);try{const H=await ia.getPendingLoans();if(H.success&&H.data){const A=H.data.map(P=>({...P,user_email:P.profiles?.email,user_name:`${P.profiles?.first_name||""} ${P.profiles?.last_name||""}`.trim()}));s(A)}const{data:j,error:w}=await oe.from("loans").select(`
          *,
          profiles:borrower_id (
            email,
            first_name,
            last_name
          ),
          accounts:account_id (
            account_number
          )
        `).in("status",["active","approved"]).order("created_at",{ascending:!1});if(!w&&j){const A=j.map(P=>({...P,user_email:P.profiles?.email,user_name:`${P.profiles?.first_name||""} ${P.profiles?.last_name||""}`.trim(),account_number:P.accounts?.account_number}));n(A)}}catch(H){N({type:"error",text:H.message||"Failed to load loans"})}finally{r(!1)}},k=async H=>{try{const{data:j,error:w}=await oe.from("accounts").select("id, account_number, balance").eq("user_id",H).eq("status","active");!w&&j&&g(j)}catch(j){console.error("Error loading accounts:",j)}},E=async()=>{if(o){y(!0);try{const H=await ia.approveLoan(o.id,b||void 0);H.success?(N({type:"success",text:"Loan approved successfully"}),c(!1),f(""),l(null),await G()):N({type:"error",text:H.error||"Failed to approve loan"})}catch(H){N({type:"error",text:H.message||"Failed to approve loan"})}finally{y(!1)}}},U=async()=>{if(!o||!p.trim()){N({type:"error",text:"Please provide a rejection reason"});return}y(!0);try{const H=await ia.rejectLoan(o.id,p);H.success?(N({type:"success",text:"Loan rejected"}),d(!1),x(""),l(null),await G()):N({type:"error",text:H.error||"Failed to reject loan"})}catch(H){N({type:"error",text:H.message||"Failed to reject loan"})}finally{y(!1)}},T=H=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(H);return t.jsxDEV("div",{className:"space-y-6",children:[t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV(K,{children:"Loan Management"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:168,columnNumber:13},this),t.jsxDEV(L,{onClick:G,variant:"outline",size:"sm",children:[t.jsxDEV(ku,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:170,columnNumber:15},this),"Refresh"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:169,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:167,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:166,columnNumber:9},this),t.jsxDEV(B,{children:[D&&t.jsxDEV(Qs,{variant:D.type==="error"?"destructive":"default",className:"mb-4",children:[D.type==="error"?t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:179,columnNumber:17},this):t.jsxDEV(Ls,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:181,columnNumber:17},this),t.jsxDEV(Zs,{children:D.text},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:183,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:177,columnNumber:13},this),t.jsxDEV(Fr,{defaultValue:"pending",className:"space-y-4",children:[t.jsxDEV(qi,{children:[t.jsxDEV(Ps,{value:"pending",children:["Pending Applications (",e.length,")"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:189,columnNumber:15},this),t.jsxDEV(Ps,{value:"active",children:["Active Loans (",a.length,")"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:192,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:188,columnNumber:13},this),t.jsxDEV(As,{value:"pending",className:"space-y-4",children:i?t.jsxDEV("div",{className:"space-y-2",children:[1,2,3].map(H=>t.jsxDEV(Me,{className:"h-16 w-full"},H,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:201,columnNumber:21},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:199,columnNumber:17},this):e.length===0?t.jsxDEV("div",{className:"text-center py-8 text-muted-foreground",children:"No pending loan applications"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:205,columnNumber:17},this):t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{children:"Applicant"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:210,columnNumber:23},this),t.jsxDEV(pe,{children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:211,columnNumber:23},this),t.jsxDEV(pe,{children:"Interest Rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:212,columnNumber:23},this),t.jsxDEV(pe,{children:"Term"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:213,columnNumber:23},this),t.jsxDEV(pe,{children:"Monthly Payment"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:214,columnNumber:23},this),t.jsxDEV(pe,{children:"Application Date"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:215,columnNumber:23},this),t.jsxDEV(pe,{children:"Actions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:216,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:209,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:208,columnNumber:19},this),t.jsxDEV(Os,{children:e.map(H=>t.jsxDEV(Ee,{children:[t.jsxDEV(X,{children:t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"font-medium",children:H.user_name||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:224,columnNumber:29},this),t.jsxDEV("div",{className:"text-sm text-muted-foreground",children:H.user_email||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:225,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:223,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:222,columnNumber:25},this),t.jsxDEV(X,{className:"font-semibold",children:T(H.principal_amount)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:228,columnNumber:25},this),t.jsxDEV(X,{children:[(H.interest_rate*100).toFixed(2),"%"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:229,columnNumber:25},this),t.jsxDEV(X,{children:[H.term_months," months"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:230,columnNumber:25},this),t.jsxDEV(X,{children:T(H.monthly_payment)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:231,columnNumber:25},this),t.jsxDEV(X,{children:new Date(H.application_date).toLocaleDateString()},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:232,columnNumber:25},this),t.jsxDEV(X,{children:t.jsxDEV("div",{className:"flex gap-2",children:[t.jsxDEV(L,{size:"sm",onClick:()=>{l(H),k(H.borrower_id),c(!0)},className:"bg-green-600 hover:bg-green-700",children:[t.jsxDEV(Ls,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:244,columnNumber:31},this),"Approve"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:235,columnNumber:29},this),t.jsxDEV(L,{size:"sm",variant:"destructive",onClick:()=>{l(H),d(!0)},children:[t.jsxDEV(Ao,{className:"h-4 w-4 mr-1"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:255,columnNumber:31},this),"Reject"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:247,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:234,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:233,columnNumber:25},this)]},H.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:221,columnNumber:23},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:219,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:207,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:197,columnNumber:13},this),t.jsxDEV(As,{value:"active",className:"space-y-4",children:i?t.jsxDEV("div",{className:"space-y-2",children:[1,2,3].map(H=>t.jsxDEV(Me,{className:"h-16 w-full"},H,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:271,columnNumber:21},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:269,columnNumber:17},this):a.length===0?t.jsxDEV("div",{className:"text-center py-8 text-muted-foreground",children:"No active loans"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:275,columnNumber:17},this):t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{children:"Borrower"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:280,columnNumber:23},this),t.jsxDEV(pe,{children:"Principal"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:281,columnNumber:23},this),t.jsxDEV(pe,{children:"Remaining Balance"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:282,columnNumber:23},this),t.jsxDEV(pe,{children:"Monthly Payment"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:283,columnNumber:23},this),t.jsxDEV(pe,{children:"Next Payment"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:284,columnNumber:23},this),t.jsxDEV(pe,{children:"Status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:285,columnNumber:23},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:279,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:278,columnNumber:19},this),t.jsxDEV(Os,{children:a.map(H=>t.jsxDEV(Ee,{children:[t.jsxDEV(X,{children:t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"font-medium",children:H.user_name||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:293,columnNumber:29},this),t.jsxDEV("div",{className:"text-sm text-muted-foreground",children:H.user_email||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:294,columnNumber:29},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:292,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:291,columnNumber:25},this),t.jsxDEV(X,{className:"font-semibold",children:T(H.principal_amount)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:297,columnNumber:25},this),t.jsxDEV(X,{className:"font-semibold",children:T(H.remaining_balance)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:298,columnNumber:25},this),t.jsxDEV(X,{children:T(H.monthly_payment)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:299,columnNumber:25},this),t.jsxDEV(X,{children:H.next_payment_date?new Date(H.next_payment_date).toLocaleDateString():"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:300,columnNumber:25},this),t.jsxDEV(X,{children:t.jsxDEV(He,{variant:H.status==="active"?"default":"secondary",children:H.status},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:306,columnNumber:27},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:305,columnNumber:25},this)]},H.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:290,columnNumber:23},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:288,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:277,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:267,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:187,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:175,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:165,columnNumber:7},this),t.jsxDEV(pa,{open:u,onOpenChange:c,children:t.jsxDEV(ea,{children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{children:"Approve Loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:324,columnNumber:13},this),t.jsxDEV(na,{children:"Approve this loan application. Select an account for disbursement."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:325,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:323,columnNumber:11},this),o&&t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Applicant"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:333,columnNumber:19},this),t.jsxDEV("div",{className:"font-medium",children:o.user_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:334,columnNumber:19},this),t.jsxDEV("div",{className:"text-muted-foreground",children:o.user_email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:335,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:332,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:338,columnNumber:19},this),t.jsxDEV("div",{className:"font-semibold",children:T(o.principal_amount)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:339,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:337,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Interest Rate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:342,columnNumber:19},this),t.jsxDEV("div",{children:[(o.interest_rate*100).toFixed(2),"%"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:343,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:341,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Term"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:346,columnNumber:19},this),t.jsxDEV("div",{children:[o.term_months," months"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:347,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:345,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:331,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"account-select",children:"Disbursement Account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:351,columnNumber:17},this),t.jsxDEV(ds,{value:b,onValueChange:f,children:[t.jsxDEV(os,{id:"account-select",children:t.jsxDEV(bs,{placeholder:"Select account for disbursement"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:354,columnNumber:21},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:353,columnNumber:19},this),t.jsxDEV(ls,{children:h.map(H=>t.jsxDEV(ye,{value:H.id,children:[H.account_number," - ",T(H.balance)]},H.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:358,columnNumber:23},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:356,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:352,columnNumber:17},this),t.jsxDEV("p",{className:"text-xs text-muted-foreground mt-1",children:"Loan will be disbursed to the selected account"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:364,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:350,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:330,columnNumber:13},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>c(!1),disabled:C,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:371,columnNumber:13},this),t.jsxDEV(L,{onClick:E,disabled:C||!b,className:"bg-green-600 hover:bg-green-700",children:C?"Processing...":"Approve Loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:374,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:370,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:322,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:321,columnNumber:7},this),t.jsxDEV(pa,{open:m,onOpenChange:d,children:t.jsxDEV(ea,{children:[t.jsxDEV(sa,{children:[t.jsxDEV(aa,{children:"Reject Loan Application"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:389,columnNumber:13},this),t.jsxDEV(na,{children:"Provide a reason for rejecting this loan application."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:390,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:388,columnNumber:11},this),o&&t.jsxDEV("div",{className:"space-y-4",children:[t.jsxDEV("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Applicant"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:396,columnNumber:19},this),t.jsxDEV("div",{className:"font-medium",children:o.user_name},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:397,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:395,columnNumber:17},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{children:"Amount"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:400,columnNumber:19},this),t.jsxDEV("div",{className:"font-semibold",children:T(o.principal_amount)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:401,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:399,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:394,columnNumber:15},this),t.jsxDEV("div",{children:[t.jsxDEV(Y,{htmlFor:"rejection-reason",children:"Rejection Reason *"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:405,columnNumber:17},this),t.jsxDEV(re,{id:"rejection-reason",value:p,onChange:H=>x(H.target.value),placeholder:"Explain why this loan is being rejected...",required:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:406,columnNumber:17},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:404,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:393,columnNumber:13},this),t.jsxDEV(ta,{children:[t.jsxDEV(L,{variant:"outline",onClick:()=>d(!1),disabled:C,children:"Cancel"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:417,columnNumber:13},this),t.jsxDEV(L,{onClick:U,disabled:C||!p.trim(),variant:"destructive",children:C?"Processing...":"Reject Loan"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:420,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:416,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:387,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:386,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/components/LoanManagement.tsx",lineNumber:164,columnNumber:5},this)}function _Ge(){const[e,s]=v.useState([]),[a,n]=v.useState(""),[i,r]=v.useState(!1),[o,l]=v.useState(null),[u,c]=v.useState(null),[m,d]=v.useState(null);v.useEffect(()=>{b()},[]);const b=async()=>{r(!0);try{const p=await ia.getAllUsers();p.success&&p.data?s(p.data):d({type:"error",text:p.error||"Failed to load users"})}catch(p){d({type:"error",text:p.message||"Failed to load users"})}finally{r(!1)}},f=async p=>{l(p),d(null);try{const x=await ia.generateActivationCode(p);x.success&&x.data?(c({userId:p,code:x.data}),d({type:"success",text:`Activation code generated: ${x.data}`}),await b()):d({type:"error",text:x.error||"Failed to generate activation code"})}catch(x){d({type:"error",text:x.message||"Failed to generate activation code"})}finally{l(null)}},h=p=>{navigator.clipboard.writeText(p),d({type:"success",text:"Code copied to clipboard!"})},g=e.filter(p=>p.email.toLowerCase().includes(a.toLowerCase())||p.username.toLowerCase().includes(a.toLowerCase())||p.first_name&&p.first_name.toLowerCase().includes(a.toLowerCase())||p.last_name&&p.last_name.toLowerCase().includes(a.toLowerCase()));return t.jsxDEV("div",{className:"space-y-6",children:t.jsxDEV(F,{children:[t.jsxDEV(z,{children:t.jsxDEV("div",{className:"flex items-center justify-between",children:[t.jsxDEV(K,{children:"Activation Code Management"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:78,columnNumber:13},this),t.jsxDEV("div",{className:"w-64",children:t.jsxDEV(re,{placeholder:"Search by email, username, or name...",value:a,onChange:p=>n(p.target.value)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:80,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:79,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:77,columnNumber:11},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:76,columnNumber:9},this),t.jsxDEV(B,{children:[m&&t.jsxDEV(Qs,{variant:m.type==="error"?"destructive":"default",className:"mb-4",children:[m.type==="error"?t.jsxDEV(ut,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:92,columnNumber:17},this):t.jsxDEV(Ls,{className:"h-4 w-4"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:94,columnNumber:17},this),t.jsxDEV(Zs,{children:m.text},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:96,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:90,columnNumber:13},this),u&&t.jsxDEV(F,{className:"bg-green-50 border-green-200 mb-4",children:t.jsxDEV(B,{className:"pt-6",children:t.jsxDEV("div",{className:"space-y-2",children:[t.jsxDEV(Y,{className:"text-lg font-semibold",children:"New Activation Code:"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:104,columnNumber:19},this),t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV(re,{value:u.code,readOnly:!0,className:"text-xl font-mono font-bold"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:106,columnNumber:21},this),t.jsxDEV(L,{onClick:()=>h(u.code),variant:"outline",size:"sm",children:[t.jsxDEV(xr,{className:"h-4 w-4 mr-2"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:112,columnNumber:23},this),"Copy"]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:107,columnNumber:21},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:105,columnNumber:19},this),t.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Share this code with the customer over the phone or via email."},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:116,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:103,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:102,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:101,columnNumber:13},this),i?t.jsxDEV("div",{className:"space-y-2",children:[1,2,3].map(p=>t.jsxDEV(Me,{className:"h-12 w-full"},p,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:127,columnNumber:17},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:125,columnNumber:13},this):t.jsxDEV(Ms,{children:[t.jsxDEV(xt,{children:t.jsxDEV(Ee,{children:[t.jsxDEV(pe,{children:"Email"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:134,columnNumber:19},this),t.jsxDEV(pe,{children:"Username"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:135,columnNumber:19},this),t.jsxDEV(pe,{children:"Name"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:136,columnNumber:19},this),t.jsxDEV(pe,{children:"Phone"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:137,columnNumber:19},this),t.jsxDEV(pe,{children:"Activation Status"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:138,columnNumber:19},this),t.jsxDEV(pe,{children:"Actions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:139,columnNumber:19},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:133,columnNumber:17},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:132,columnNumber:15},this),t.jsxDEV(Os,{children:g.map(p=>t.jsxDEV(Ee,{children:[t.jsxDEV(X,{children:p.email},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:145,columnNumber:21},this),t.jsxDEV(X,{className:"font-mono",children:p.username},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:146,columnNumber:21},this),t.jsxDEV(X,{children:[p.first_name," ",p.last_name]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:147,columnNumber:21},this),t.jsxDEV(X,{children:p.phone||"-"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:150,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(He,{variant:p.is_activated?"default":"secondary",className:p.is_activated?"bg-green-100 text-green-800":"bg-yellow-100 text-yellow-800",children:p.is_activated?"Activated":"Pending"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:152,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:151,columnNumber:21},this),t.jsxDEV(X,{children:t.jsxDEV(L,{size:"sm",onClick:()=>f(p.id),disabled:o===p.id,children:o===p.id?"Generating...":"Generate Code"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:160,columnNumber:23},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:159,columnNumber:21},this)]},p.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:144,columnNumber:19},this))},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:142,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:131,columnNumber:13},this),!i&&g.length===0&&t.jsxDEV("div",{className:"text-center py-8 text-muted-foreground",children:a?"No users found matching your search":"No users found"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:175,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:88,columnNumber:9},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:75,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/ActivationCodeManagement.tsx",lineNumber:74,columnNumber:5},this)}function RGe(){return t.jsxDEV("div",{className:"min-h-screen flex flex-col",children:[t.jsxDEV($e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:17,columnNumber:7},this),t.jsxDEV("main",{className:"flex-1 bg-muted/40 py-8",children:t.jsxDEV("div",{className:"container mx-auto px-4 max-w-7xl",children:[t.jsxDEV("header",{className:"mb-6",children:[t.jsxDEV("h1",{className:"text-3xl font-bold text-gatesib-green",children:"Admin Dashboard"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:21,columnNumber:13},this),t.jsxDEV("p",{className:"text-muted-foreground mt-2",children:"Manage users, transactions, accounts, and loans"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:22,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:20,columnNumber:11},this),t.jsxDEV(Fr,{defaultValue:"overview",className:"space-y-6",children:[t.jsxDEV(qi,{className:"grid w-full grid-cols-6",children:[t.jsxDEV(Ps,{value:"overview",children:"Overview"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:27,columnNumber:15},this),t.jsxDEV(Ps,{value:"users",children:"Users"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:28,columnNumber:15},this),t.jsxDEV(Ps,{value:"transactions",children:"Transactions"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:29,columnNumber:15},this),t.jsxDEV(Ps,{value:"accounts",children:"Accounts"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:30,columnNumber:15},this),t.jsxDEV(Ps,{value:"loans",children:"Loans"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:31,columnNumber:15},this),t.jsxDEV(Ps,{value:"activation",children:"Activation"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:32,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:26,columnNumber:13},this),t.jsxDEV(As,{value:"overview",className:"space-y-4",children:t.jsxDEV(PGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:36,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:35,columnNumber:13},this),t.jsxDEV(As,{value:"users",className:"space-y-4",children:t.jsxDEV(AGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:40,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:39,columnNumber:13},this),t.jsxDEV(As,{value:"transactions",className:"space-y-4",children:t.jsxDEV(mD,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:44,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:43,columnNumber:13},this),t.jsxDEV(As,{value:"accounts",className:"space-y-4",children:[t.jsxDEV(dD,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:48,columnNumber:15},this),t.jsxDEV(SGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:49,columnNumber:15},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:47,columnNumber:13},this),t.jsxDEV(As,{value:"loans",className:"space-y-4",children:t.jsxDEV(TGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:53,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:52,columnNumber:13},this),t.jsxDEV(As,{value:"activation",className:"space-y-4",children:t.jsxDEV(_Ge,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:57,columnNumber:15},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:56,columnNumber:13},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:25,columnNumber:11},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:19,columnNumber:9},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:18,columnNumber:7},this),t.jsxDEV(Ie,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:62,columnNumber:7},this)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:16,columnNumber:5},this)}function MGe(){return t.jsxDEV(w5,{children:t.jsxDEV(RGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:70,columnNumber:7},this)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/pages/admin/AdminDashboard.tsx",lineNumber:69,columnNumber:5},this)}const OGe=({isOpen:e,onClose:s})=>{const[a,n]=v.useState(""),[i,r]=v.useState(0),o=v.useRef(null),l=Js();an();const{user:u}=at();v.useEffect(()=>{e&&o.current&&o.current.focus()},[e]),v.useEffect(()=>{e||(n(""),r(0))},[e]);const m=[{id:"nav-home",label:"Go to Home",description:"Navigate to the homepage",icon:Rt,category:"Navigation",keywords:["home","index","main","start"],action:()=>l("/")},{id:"nav-dashboard",label:"Dashboard",description:"Open main dashboard",icon:qc,category:"Navigation",keywords:["dashboard","main","overview"],action:()=>l("/dashboard")},{id:"nav-dashboard2",label:"Dashboard 2",description:"Alternative dashboard view",icon:qc,category:"Navigation",keywords:["dashboard2","alternative","second"],action:()=>l("/dashboard2")},{id:"nav-dashboard3",label:"Gates IB Dashboard",description:"Gates Investment Banking dashboard",icon:qc,category:"Navigation",keywords:["dashboard3","gates","ib","investment","banking"],action:()=>l("/dashboard3")},{id:"nav-personal",label:"Personal Banking",description:"Personal banking services",icon:Za,category:"Navigation",keywords:["personal","banking","individual"],action:()=>l("/personal")},{id:"nav-business",label:"Business Banking",description:"Business banking solutions",icon:Ta,category:"Navigation",keywords:["business","corporate","company"],action:()=>l("/business")},{id:"nav-rural",label:"Rural Banking",description:"Rural and agricultural banking",icon:Cs,category:"Navigation",keywords:["rural","agricultural","farming"],action:()=>l("/rural")},{id:"nav-contact",label:"Contact Us",description:"Get in touch with our team",icon:ss,category:"Navigation",keywords:["contact","support","help"],action:()=>l("/contact")},{id:"calc-main",label:"Calculators",description:"Financial calculators and tools",icon:Se,category:"Calculators",keywords:["calculator","calculate","financial","tools"],action:()=>l("/calculators")},{id:"calc-savings",label:"Savings Calculator",description:"Calculate savings and returns",icon:Se,category:"Calculators",keywords:["savings","save","returns"],action:()=>l("/calculators/savings")},{id:"calc-invest",label:"Investment Calculator",description:"Investment planning tools",icon:Se,category:"Calculators",keywords:["investment","invest","portfolio"],action:()=>l("/calculators/investing")},{id:"calc-home",label:"Home Loan Calculator",description:"Calculate home loan payments",icon:Se,category:"Calculators",keywords:["home","loan","mortgage","house"],action:()=>l("/calculators/home-loans")},{id:"action-login",label:"Login",description:"Sign in to your account",icon:Za,category:"Actions",keywords:["login","sign","in","auth"],action:()=>l("/login")},{id:"action-register",label:"Register",description:"Create a new account",icon:Za,category:"Actions",keywords:["register","signup","join","new"],action:()=>l("/register")},{id:"action-profile",label:"Profile Settings",description:"Manage your profile",icon:yc,category:"Actions",keywords:["profile","settings","account"],action:()=>l("/dashboard3/profile")},{id:"action-transfers",label:"Transfer Money",description:"Make a money transfer",icon:as,category:"Actions",keywords:["transfer","send","money","payment"],action:()=>l("/dashboard3/transfers")},{id:"support-help",label:"Help Center",description:"Find help and support",icon:zs,category:"Support",keywords:["help","support","faq","guide"],action:()=>l("/support/help")},{id:"support-security",label:"Security Center",description:"Security information and tips",icon:zs,category:"Support",keywords:["security","safe","protect"],action:()=>l("/support/security")},{id:"util-global",label:"Global Services",description:"International banking services",icon:Vn,category:"Utilities",keywords:["global","international","worldwide"],action:()=>l("/global-services")},{id:"util-about",label:"About Us",description:"Learn about Gatesbank",icon:Ot,category:"Utilities",keywords:["about","company","info"],action:()=>l("/about")}].filter(f=>{const h=a.toLowerCase();return f.label.toLowerCase().includes(h)||f.description.toLowerCase().includes(h)||f.category.toLowerCase().includes(h)||f.keywords.some(g=>g.includes(h))}),d=v.useCallback(f=>{if(e)switch(f.key){case"Escape":s();break;case"ArrowDown":f.preventDefault(),r(h=>h<m.length-1?h+1:h);break;case"ArrowUp":f.preventDefault(),r(h=>h>0?h-1:h);break;case"Enter":if(f.preventDefault(),m[i]){const h=m[i];h.action(),console.log(`Command executed by ${u?.email||"User"}: ${h.label}`),s()}break}},[e,s,i,m,u]);if(v.useEffect(()=>(document.addEventListener("keydown",d),()=>document.removeEventListener("keydown",d)),[d]),v.useEffect(()=>{r(0)},[a]),!e)return null;const b=[...new Set(m.map(f=>f.category))];return t.jsxDEV("div",{className:"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",children:t.jsxDEV("div",{className:"fixed top-[10%] left-1/2 -translate-x-1/2 w-full max-w-2xl mx-4",children:t.jsxDEV("div",{className:"bg-white rounded-xl shadow-2xl border border-gray-200 overflow-hidden",children:[t.jsxDEV("div",{className:"flex items-center gap-3 p-4 border-b border-gray-200",children:[t.jsxDEV(hl,{className:"w-5 h-5 text-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:300,columnNumber:13},void 0),t.jsxDEV("input",{ref:o,type:"text",placeholder:"Type a command or search...",value:a,onChange:f=>n(f.target.value),className:"flex-1 bg-transparent border-0 outline-none text-lg placeholder-gray-400"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:301,columnNumber:13},void 0),t.jsxDEV("div",{className:"flex items-center gap-1 text-xs text-gray-400 bg-gray-100 px-2 py-1 rounded",children:[t.jsxDEV(qc,{className:"w-3 h-3"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:310,columnNumber:15},void 0),t.jsxDEV("span",{children:"ESC"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:311,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:309,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:299,columnNumber:11},void 0),t.jsxDEV("div",{className:"max-h-96 overflow-y-auto",children:m.length===0?t.jsxDEV("div",{className:"p-8 text-center text-gray-500",children:['No commands found for "',a,'"']},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:318,columnNumber:15},void 0):b.map(f=>{const h=m.filter(g=>g.category===f);return t.jsxDEV("div",{children:[t.jsxDEV("div",{className:"px-4 py-2 bg-gray-50 border-b border-gray-100",children:t.jsxDEV("h3",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wider",children:f},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:327,columnNumber:23},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:326,columnNumber:21},void 0),h.map((g,p)=>{const D=m.findIndex(N=>N.id===g.id)===i;return t.jsxDEV("div",{className:me("flex items-center gap-3 px-4 py-3 cursor-pointer transition-colors border-b border-gray-100 last:border-b-0",D?"bg-blue-50 border-l-4 border-l-blue-600":"hover:bg-gray-50"),onClick:()=>{g.action(),console.log(`Command executed by ${u?.email||"User"}: ${g.label} - ${g.description}`),s()},children:[t.jsxDEV(g.icon,{className:me("w-5 h-5",D?"text-blue-600":"text-gray-400")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:350,columnNumber:27},void 0),t.jsxDEV("div",{className:"flex-1",children:[t.jsxDEV("div",{className:me("font-medium",D?"text-blue-900":"text-gray-900"),children:g.label},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:355,columnNumber:29},void 0),t.jsxDEV("div",{className:"text-sm text-gray-500",children:g.description},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:361,columnNumber:29},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:354,columnNumber:27},void 0),t.jsxDEV(SE,{className:me("w-4 h-4 transition-colors",D?"text-blue-600":"text-gray-300")},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:365,columnNumber:27},void 0)]},g.id,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:336,columnNumber:25},void 0)})]},f,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:325,columnNumber:19},void 0)})},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:316,columnNumber:11},void 0),t.jsxDEV("div",{className:"px-4 py-3 bg-gray-50 border-t border-gray-200",children:t.jsxDEV("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[t.jsxDEV("div",{className:"flex items-center gap-4",children:[t.jsxDEV("span",{children:"↑↓ Navigate"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:382,columnNumber:17},void 0),t.jsxDEV("span",{children:"↵ Select"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:383,columnNumber:17},void 0),t.jsxDEV("span",{children:"ESC Close"},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:384,columnNumber:17},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:381,columnNumber:15},void 0),t.jsxDEV("div",{children:[m.length," command",m.length!==1?"s":""]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:386,columnNumber:15},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:380,columnNumber:13},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:379,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:297,columnNumber:9},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:296,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/components/SlashCommand.tsx",lineNumber:295,columnNumber:5},void 0)},IGe=()=>{const[e,s]=v.useState(!1);return v.useEffect(()=>{const n=i=>{i.key==="/"&&!i.target?.matches("input, textarea, [contenteditable]")&&(i.preventDefault(),s(!0))};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[]),{isOpen:e,close:()=>s(!1)}},$Ge=new j6,FGe=()=>{const{isOpen:e,close:s}=IGe();return t.jsxDEV(U6,{client:$Ge,children:t.jsxDEV(zv,{children:[t.jsxDEV($A,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:96,columnNumber:9},void 0),t.jsxDEV(xS,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:97,columnNumber:9},void 0),t.jsxDEV(P5,{basename:void 0,future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:[t.jsxDEV(OGe,{isOpen:e,onClose:s},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:105,columnNumber:11},void 0),t.jsxDEV(tE,{children:[t.jsxDEV(Ge,{path:"/",element:t.jsxDEV(WL,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:107,columnNumber:38},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:107,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/personal",element:t.jsxDEV(rR,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:108,columnNumber:46},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:108,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/company",element:t.jsxDEV(zn,{to:"/company/leadership",replace:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:110,columnNumber:45},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:110,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/support",element:t.jsxDEV(zn,{to:"/support/help",replace:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:111,columnNumber:45},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:111,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/legal",element:t.jsxDEV(zn,{to:"/legal/terms",replace:!0},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:112,columnNumber:43},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:112,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/personal/accounts",element:t.jsxDEV(NB,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:114,columnNumber:55},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:114,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/personal/home-loans",element:t.jsxDEV(LB,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:115,columnNumber:57},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:115,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/personal/credit-cards",element:t.jsxDEV(AB,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:116,columnNumber:59},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:116,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/personal/personal-loans",element:t.jsxDEV(OB,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:117,columnNumber:61},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:117,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/personal/insurance",element:t.jsxDEV(WB,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:118,columnNumber:56},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:118,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/personal/investments",element:t.jsxDEV(oNe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:119,columnNumber:58},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:119,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/business",element:t.jsxDEV(sF,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:120,columnNumber:46},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:120,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/business/banking",element:t.jsxDEV(pNe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:122,columnNumber:54},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:122,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/business/loans",element:t.jsxDEV(yNe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:123,columnNumber:52},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:123,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/business/deposits",element:t.jsxDEV(wNe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:124,columnNumber:55},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:124,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/business/investments",element:t.jsxDEV(UNe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:125,columnNumber:58},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:125,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/business/professional-services",element:t.jsxDEV(RNe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:126,columnNumber:68},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:126,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/business/merchant-services",element:t.jsxDEV(ONe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:127,columnNumber:64},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:127,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/business/online-banking",element:t.jsxDEV(KNe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:128,columnNumber:61},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:128,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/rural",element:t.jsxDEV(VF,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:129,columnNumber:43},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:129,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/rural/starting",element:t.jsxDEV(axe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:131,columnNumber:52},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:131,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/rural/growing",element:t.jsxDEV(mxe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:132,columnNumber:51},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:132,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/rural/farm-planning",element:t.jsxDEV(Axe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:133,columnNumber:57},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:133,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/rural/accounts",element:t.jsxDEV($xe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:134,columnNumber:52},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:134,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/rural/lending",element:t.jsxDEV(Qxe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:135,columnNumber:51},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:135,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/rural/private-banking",element:t.jsxDEV(nDe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:136,columnNumber:59},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:136,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/calculators",element:t.jsxDEV(iDe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:138,columnNumber:49},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:138,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/calculators/savings",element:t.jsxDEV(rDe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:139,columnNumber:57},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:139,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/calculators/savings/rwt",element:t.jsxDEV(MDe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:140,columnNumber:61},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:140,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/calculators/savings/net-worth",element:t.jsxDEV(JDe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:141,columnNumber:67},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:141,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/calculators/investing",element:t.jsxDEV(oDe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:142,columnNumber:59},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:142,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/calculators/investing/investor-type",element:t.jsxDEV(c0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:143,columnNumber:73},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:143,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/calculators/investing/net-worth",element:t.jsxDEV(m0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:144,columnNumber:69},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:144,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/calculators/investing/pir",element:t.jsxDEV(d0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:145,columnNumber:63},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:145,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/calculators/investing/checklist",element:t.jsxDEV(h0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:146,columnNumber:69},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:146,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/calculators/home-loans",element:t.jsxDEV(RDe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:147,columnNumber:60},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:147,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/calculators/foreign-exchange",element:t.jsxDEV(v0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:148,columnNumber:66},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:148,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/global-services",element:t.jsxDEV(y0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:150,columnNumber:53},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:150,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/contact",element:t.jsxDEV(PF,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:151,columnNumber:45},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:151,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/about",element:t.jsxDEV(_F,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:152,columnNumber:43},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:152,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/auth/callback",element:t.jsxDEV(VGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:157,columnNumber:51},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:157,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/login",element:t.jsxDEV(w0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:158,columnNumber:43},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:158,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/forgot-password",element:t.jsxDEV(UGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:159,columnNumber:53},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:159,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/update-password",element:t.jsxDEV(HGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:160,columnNumber:53},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:160,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/dashboard",element:t.jsxDEV(pi,{children:t.jsxDEV(_0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:163,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:162,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:161,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/dashboard2",element:t.jsxDEV(pi,{children:t.jsxDEV($0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:168,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:167,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:166,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/dashboard3/*",element:t.jsxDEV(pi,{children:t.jsxDEV(dGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:173,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:172,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:171,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/dashboard/accounts",element:t.jsxDEV(pi,{children:t.jsxDEV(EGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:178,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:177,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:176,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/dashboard/loans",element:t.jsxDEV(pi,{children:t.jsxDEV(jGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:183,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:182,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:181,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/dashboard/contact",element:t.jsxDEV(pi,{children:t.jsxDEV(wGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:188,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:187,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:186,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/financial-management",element:t.jsxDEV(pi,{children:t.jsxDEV(NGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:193,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:192,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:191,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/maglo-dashboard",element:t.jsxDEV(pi,{children:t.jsxDEV(yGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:198,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:197,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:196,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/admin",element:t.jsxDEV(w5,{children:t.jsxDEV(MGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:203,columnNumber:17},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:202,columnNumber:15},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:201,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/register",element:t.jsxDEV(C0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:206,columnNumber:46},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:206,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/activate",element:t.jsxDEV(j0e,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:207,columnNumber:46},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:207,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/company/leadership",element:t.jsxDEV(FF,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:209,columnNumber:56},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:209,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/company/careers",element:t.jsxDEV(YF,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:210,columnNumber:53},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:210,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/company/news",element:t.jsxDEV(ZF,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:211,columnNumber:50},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:211,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/support/help",element:t.jsxDEV(sB,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:213,columnNumber:50},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:213,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/support/faqs",element:t.jsxDEV(uB,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:214,columnNumber:50},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:214,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/support/security",element:t.jsxDEV(cB,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:215,columnNumber:54},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:215,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/support/mobile",element:t.jsxDEV(mB,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:216,columnNumber:52},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:216,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/legal/privacy",element:t.jsxDEV(dB,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:218,columnNumber:51},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:218,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"/legal/terms",element:t.jsxDEV(bB,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:219,columnNumber:49},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:219,columnNumber:13},void 0),t.jsxDEV(Ge,{path:"*",element:t.jsxDEV(RF,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:221,columnNumber:38},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:221,columnNumber:13},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:106,columnNumber:11},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:98,columnNumber:9},void 0)]},void 0,!0,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:95,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/App.tsx",lineNumber:94,columnNumber:5},void 0)},Cv=document.getElementById("root");if(!Cv)throw new Error("Root element not found. Make sure there's a <div id='root'></div> in index.html");try{nE(Cv).render(t.jsxDEV(v.StrictMode,{children:t.jsxDEV(FGe,{},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/main.tsx",lineNumber:20,columnNumber:7},void 0)},void 0,!1,{fileName:"C:/Users/Digi/Documents/GitHub/Gatesbank-Lovable/src/main.tsx",lineNumber:19,columnNumber:5},void 0))}catch(e){console.error("Failed to render app:",e),Cv.innerHTML=`
    <div style="padding: 20px; font-family: Arial, sans-serif;">
      <h1>Error Loading Application</h1>
      <p>There was an error loading the application. Please check the console for details.</p>
      <pre>${e instanceof Error?e.message:String(e)}</pre>
    </div>
  `}
