import{j as f,a as t,F}from"./react-markdown-5903ab9b.js";import{r as g,a as Rn}from"./react-19ae1af1.js";import{u as qt,a as Ae,b as _d,P as ud}from"./react-redux-b592b6b6.js";import"./hoist-non-react-statics-4aa8e93e.js";import{y as ce}from"./lodash-632a8876.js";import{bn as fe,bo as Tr,bu as md,bv as pd,bw as hd,bx as fd}from"./dayjs-8e509be6.js";import{t as Bo,i as gd}from"./i18next-588d7f12.js";import{a as Pr}from"./axios-84c4953a.js";import{P as vd}from"./pusher-js-2c537ebe.js";import{a as et,u as tt,b as to,c as Ie,d as De,e as yd}from"./jotai-2d204cb2.js";import{n as zs,_ as bd,I as wd}from"./react-hot-toast-0eb97095.js";import{u as Xe,a as xe,Q as kd,b as xd}from"./react-query-f238471f.js";import{_ as P,P as Cd}from"./@azure-485fd2d4.js";import{a as Ce,b as zt,d as xt,O as on,e as Va,f as A,g as Ar,h as Sd}from"./react-router-e60aafb5.js";import{c as Ps,a as Ed,q as Td}from"./@reduxjs-aeb60f9a.js";import{c as oe}from"./classnames-41611b71.js";import{L as na,u as As,H as Pd}from"./react-router-dom-47bf5f81.js";import{s as St}from"./styled-components-6ffe3f32.js";import"./react-datepicker-b32fd33e.js";import{l as Ad}from"./react-debounce-input-83a8a88c.js";import{_ as zo,q as $n,a as Ra,b as la,C as No,c as Dn}from"./@headlessui-3ddcbe6f.js";import{A as Nd,a as Id,B as gn,M as Dd,b as $d,c as ua,d as Qi,e as Hn,f as Yo,g as Rd,h as Nr,i as Vd,j as qd,k as Ld,l as Yi,m as Od,n as Md,o as Xo,p as jd,q as Fd,F as Bd,r as Ir,s as Ja,t as zd,u as Rt,v as kt,w as Vt,x as Ud,y as Dr,z as Ns,C as $r,D as Hd,E as Gd,G as Wd,H as Kd,I as Ks,J as Qs,K as Jo,L as fa,N as Ma,O as Gn,P as Qd,Q as Zo,R as no,S as Rr,T as ei,U as ao,V as Vr,W as ti,X as Yd,Y as ni,Z as ns,_ as Xd,$ as Jd,a0 as ai,a1 as si,a2 as Zd,a3 as e_,a4 as t_,a5 as n_,a6 as a_,a7 as s_,a8 as o_,a9 as i_,aa as r_}from"./react-icons-19436e3a.js";import{X as Ln,H as qr,C as so,a as as,b as oo,T as c_,F as l_,G as d_,Y as __,S as u_,c as Io,M as m_,d as p_,e as h_,I as f_,f as Lr,g as Or,B as g_,h as v_,U as y_,P as Zt,i as b_,j as ga,R as Ys,k as w_,l as oi,m as k_,n as x_,o as C_,p as ii,q as S_,A as Mr,r as E_,s as xn,t as jr,u as qa,v as T_,w as P_,x as A_,E as N_,L as I_,y as D_,z as $_}from"./react-feather-5b028e5d.js";import{u as N,i as R_}from"./react-i18next-335b3986.js";import{T as ws,a as Is}from"./@tippyjs-2bfb10a6.js";import{u as On}from"./formik-6c477b18.js";import{S as Vn}from"./react-select-74132ec9.js";import{u as ta,a as Za}from"./react-use-d9ed1db3.js";import{h as V_}from"./hex-color-regex-ef0a4159.js";import{P as q_,i as L_}from"./react-phone-number-input-303d245b.js";import{V as ri}from"./react-verification-input-27b63e6d.js";import{c as wt}from"./collect.js-1b4e3eba.js";import{v as io}from"./uuid-4a60fe23.js";import{Z as O_,O as M_}from"./react-colorful-37fa7570.js";import{G as Fr,a as j_}from"./@react-oauth-db20cca0.js";import{E as F_}from"./@tinymce-974de275.js";import{_ as B_}from"./react-qr-code-6f4cf557.js";import{c as Xi}from"./currency.js-57f74176.js";import{N as z_,f as U_}from"./react-number-format-8e6560cc.js";import{D as ro,C as co,P as lo}from"./@hello-pangea-f87c6a4b.js";import{a as Br}from"./array-move-3ca81c74.js";import{L as H_,M as zr,N as Ur}from"./antd-4fc22bde.js";import{R as G_}from"./randexp-3746b453.js";import{p as Hr}from"./pretty-bytes-5eb460d8.js";import{u as Ds}from"./react-dropzone-bcfc14ce.js";import{r as ci}from"./react-string-replace-5896bba3.js";import{p as W_}from"./dompurify-be9362af.js";import{J as K_}from"./react-json-tree-05bd4511.js";import{_ as Q_,u as Y_}from"./react-turnstile-25ee3253.js";import{d as X_}from"./deep-object-diff-34a34c8d.js";import{c as J_}from"./react-dom-ef62b023.js";import{m as Z_}from"./mitt-f7ef348c.js";import{l as Gr}from"./@monaco-editor-f193edd5.js";import{W as eu,a as tu,b as nu,c as au,d as su,m as ou}from"./monaco-editor-2fc5bf8a.js";import{p as iu}from"./@sentry-bfeb32cd.js";import{B as ru}from"./@sentry-internal-0a0f6292.js";import"./devlop-d057c9d1.js";import"./unified-d7ff17de.js";import"./bail-0fe607cf.js";import"./extend-df615b3e.js";import"./@babel-473f926f.js";import"./is-plain-obj-4f87c5a3.js";import"./trough-69dd48ea.js";import"./vfile-15ef26ed.js";import"./vfile-message-9c3a211a.js";import"./unist-util-stringify-position-7b16d8bf.js";import"./remark-parse-cdbbeb74.js";import"./mdast-util-from-markdown-3da6f195.js";import"./micromark-util-decode-numeric-character-reference-e471f84f.js";import"./micromark-util-decode-string-c1ef5903.js";import"./decode-named-character-reference-29ded5ae.js";import"./micromark-util-normalize-identifier-dfdf0387.js";import"./micromark-a9ff1e21.js";import"./micromark-util-combine-extensions-34ef5cdc.js";import"./micromark-util-chunked-6f054bfc.js";import"./micromark-factory-space-29c3693b.js";import"./micromark-util-character-4dbc2ec3.js";import"./micromark-core-commonmark-92c2d313.js";import"./micromark-util-classify-character-60c83a47.js";import"./micromark-util-resolve-all-8a85a8df.js";import"./micromark-util-subtokenize-df14a385.js";import"./micromark-factory-destination-03cfc157.js";import"./micromark-factory-label-cdf45bbd.js";import"./micromark-factory-title-d89a7826.js";import"./micromark-factory-whitespace-db58972c.js";import"./micromark-util-html-tag-name-eaa6d7c0.js";import"./mdast-util-to-string-bfd41500.js";import"./remark-rehype-2e065e8c.js";import"./mdast-util-to-hast-b9c7e07c.js";import"./@ungap-d56ab8cf.js";import"./micromark-util-sanitize-uri-1ce30b45.js";import"./unist-util-position-bb1bbaf7.js";import"./trim-lines-00010efb.js";import"./unist-util-visit-69cf1090.js";import"./unist-util-visit-parents-7c0a8d5b.js";import"./unist-util-is-7e122464.js";import"./hast-util-to-jsx-runtime-6a8248b0.js";import"./comma-separated-tokens-495b557e.js";import"./property-information-33d7f5d8.js";import"./space-separated-tokens-eedf1754.js";import"./style-to-object-8432f6c6.js";import"./inline-style-parser-e2a37bce.js";import"./hast-util-whitespace-675c549c.js";import"./estree-util-is-identifier-name-e0420bc7.js";import"./html-url-attributes-cc94b481.js";import"./use-sync-external-store-d1dfebfc.js";import"./react-is-e8e5dbb3.js";import"./goober-70b4b9ca.js";import"./@remix-run-f5e5960b.js";import"./immer-430a53de.js";import"./redux-d99f579d.js";import"./reselect-57fce764.js";import"./redux-thunk-ef899f4c.js";import"./tslib-b7af3ea6.js";import"./@emotion-8a85885d.js";import"./stylis-60528643.js";import"./lodash.debounce-259c53ab.js";import"./@tanstack-bc891aca.js";import"./prop-types-f90281b5.js";import"./tippy.js-87d3e7d2.js";import"./@popperjs-0aa08b12.js";import"./deepmerge-15f827de.js";import"./lodash-es-87d1a1d5.js";import"./react-fast-compare-ca555b97.js";import"./tiny-warning-c932d744.js";import"./@floating-ui-f24065be.js";import"./use-isomorphic-layout-effect-dff258a8.js";import"./memoize-one-297ddbcb.js";import"./libphonenumber-js-ee333aa5.js";import"./input-format-d593e8e9.js";import"./country-flag-icons-98a0f733.js";import"./qr.js-8bf59ccc.js";import"./use-memo-one-6e47bcff.js";import"./css-box-model-096cf826.js";import"./tiny-invariant-bee4f299.js";import"./raf-schd-5404ed65.js";import"./rc-util-81e13e6b.js";import"./@ant-design-b65cf700.js";import"./resize-observer-polyfill-0f9f8adb.js";import"./@ctrl-fb5a5473.js";import"./rc-resize-observer-37caf5b0.js";import"./rc-motion-e640dc00.js";import"./rc-picker-80f00ef2.js";import"./@rc-component-0d4dcccf.js";import"./rc-pagination-e2d4da47.js";import"./rc-field-form-cc9015e6.js";import"./async-validator-dee29e8b.js";import"./ret-c6148803.js";import"./drange-086dd526.js";import"./file-selector-6cb2a621.js";import"./attr-accept-6df8d728.js";import"./react-base16-styling-3519bac4.js";import"./base16-823cae66.js";import"./color-5cbbe474.js";import"./color-string-f5cd3c3e.js";import"./color-name-b7949e8c.js";import"./simple-swizzle-58fb3c22.js";import"./color-convert-946e453a.js";import"./lodash.curry-b0de7193.js";import"./scheduler-765c72db.js";import"./state-local-dd516420.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function a(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(o){if(o.ep)return;o.ep=!0;const i=a(o);fetch(o.href,i)}})();const cu="/react/ar-cf628795.json",lu="/react/bg-69a3d78f.json",du="/react/ca-d725c847.json",_u="/react/cs-493936e5.json",uu="/react/da-057e80df.json",mu="/react/de-c1d3022c.json",pu="/react/el-5a2b0654.json",hu="/react/en-185103c8.json",fu="/react/en_GB-8c899e51.json",gu="/react/es-27312599.json",vu="/react/es_ES-1ff0bb2b.json",yu="/react/et-810116c9.json",bu="/react/fa-48845f3e.json",wu="/react/fi-1a8031c3.json",ku="/react/fr-128ff27e.json",xu="/react/fr_CA-4c1e6492.json",Cu="/react/fr_CH-6b939711.json",Su="/react/he-1d8c4c6a.json",Eu="/react/hr-4f73ef58.json",Tu="/react/hu-c741aa3b.json",Pu="/react/it-1456bdd9.json",Au="/react/ja-111f1bb7.json",Nu="/react/km_KH-2724671e.json",Iu="/react/lo_LA-efe1c4d1.json",Du="/react/lt-71641084.json",$u="/react/lv_LV-3345cb4d.json",Ru="/react/mk_MK-23de1655.json",Vu="/react/nb_NO-f529bb60.json",qu="/react/nl-7dcc33d6.json",Lu="/react/pl-9e7a7a49.json",Ou="/react/pt_BR-eb6a3735.json",Mu="/react/pt_PT-ee79b92f.json",ju="/react/ro-6abee1f2.json",Fu="/react/ru_RU-f508344a.json",Bu="/react/sk-291cb150.json",zu="/react/sl-00d9fe70.json",Uu="/react/sq-02294f93.json",Hu="/react/sr-204b100e.json",Gu="/react/sv-2dff4f06.json",Wu="/react/th-c46d5fd5.json",Ku="/react/tr_TR-6086253c.json",Qu="/react/vi-fe9a29fc.json",Yu="/react/zh_TW-7c86123a.json";/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function $e(){return qt(e=>e.companyUsers.changes.company)}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function we(){var n;const e=qt(a=>a.companyUsers);return(n=e.api[e.currentIndex])==null?void 0:n.company}function Xu(){const e=we(),n=$e();return()=>typeof n>"u"?!1:!ce.isEqual(e,n)}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function U(e,n={}){let a=e;for(const s in n)a=a.replace(`:${s}`,n[s]);return a}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */var Re=(e=>(e.Active="active",e.Archived="archived",e.Deleted="deleted",e))(Re||{});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Do={[Re.Active]:"active",[Re.Archived]:"archived",[Re.Deleted]:"deleted"};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Ju=et(null);function Wr(){const[e,n]=tt(Ju),a=we();return g.useEffect(()=>{if(!a)return;const s=new vd("ninja-key",{cluster:"eu",authEndpoint:$s()+"/broadcasting/auth",forceTLS:!1,enableStats:!0,wsHost:"socket.invoicing.co",wsPort:6002,enabledTransports:["ws","wss"],auth:{headers:va()}});return n(s),s.connection.bind("connected",()=>{localStorage.setItem("X-SOCKET-ID",s.connection.socket_id)}),()=>{s.disconnect()}},[a]),e}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Zu(){const e=Wr(),n=we(),a={"App\\Events\\Invoice\\InvoiceWasPaid":()=>{}};return g.useEffect(()=>{if(!e||!n)return;e.subscribe(`private-company-${n.company_key}`).bind_global((o,i)=>{console.log(`channel: ${o}`);const r=a[o];r&&(r(i),window.dispatchEvent(new CustomEvent(`pusher::${o}`,{detail:{event:o,data:i}})))})},[e,n]),null}function em({on:e,callback:n}){g.useEffect(()=>{const a=new AbortController,s=a.signal,o=r=>{s.aborted||n({event:r.detail.event,data:r.detail.data})};return(Array.isArray(e)?e:[e]).forEach(r=>{const c=l=>{s.aborted||o(l)};window.addEventListener(`pusher::${r}`,c),s.addEventListener("abort",()=>{window.removeEventListener(`pusher::${r}`,c)})}),()=>{a.abort()}},[e,n])}function Ji(){return localStorage.getItem("X-SOCKET-ID")?parseFloat(localStorage.getItem("X-SOCKET-ID")):null}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function va(){const e={"X-Api-Token":localStorage.getItem("X-NINJA-TOKEN"),"X-Requested-With":"XMLHttpRequest","X-React":"true"};return Ji()&&It()&&(e["X-Socket-ID"]=Ji()),e}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */class tm{processing(){return this.currentId=zs.loading(Bo("processing",{}),{id:this.currentId}),this}success(n="success",a={}){return this.currentId=zs.success(ft(n,a),{id:this.currentId}),this}error(n="error_title"){return this.currentId=zs.error(Bo(n),{id:this.currentId}),this}dismiss(){return zs.dismiss(this.currentId),this}}const T=new tm;/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Xa={invoices:{path:"/api/v1/invoices",dependencies:["/api/v1/clients","/api/v1/charts/totals_v2","/api/v1/charts/chart_summary_v2","/api/v1/activities/entity","/api/v1/activities","/api/v1/documents"]},designs:{path:"/api/v1/designs",dependencies:["/api/v1/invoices","/api/v1/quotes","/api/v1/credits","/api/v1/recurring_invoices","/api/v1/purchase_orders"]},tokens:{path:"/api/v1/tokens",dependencies:[]},webhooks:{path:"/api/v1/webhooks",dependencies:[]},company_gateways:{path:"/api/v1/company_gateways",dependencies:[]},credits:{path:"/api/v1/credits",dependencies:["/api/v1/clients","/api/v1/documents"]},expense_categories:{path:"/api/v1/expense_categories",dependencies:["/api/v1/expenses","/api/v1/recurring_expenses","/api/v1/bank_transaction_rules","/api/v1/vendors","/api/v1/bank_transactions"]},expenses:{path:"/api/v1/expenses",dependencies:["/api/v1/charts/totals_v2","/api/v1/charts/chart_summary_v2","/api/v1/documents"]},group_settings:{path:"/api/v1/group_settings",dependencies:["/api/v1/clients"]},payments:{path:"/api/v1/payments",dependencies:["/api/v1/expenses","/api/v1/invoices","/api/v1/clients","/api/v1/charts/totals_v2","/api/v1/charts/chart_summary_v2","/api/v1/activities","/api/v1/documents"]},purchase_orders:{path:"/api/v1/purchase_orders",dependencies:["/api/v1/vendors"]},recurring_expenses:{path:"/api/v1/recurring_expenses",dependencies:["/api/v1/vendors","/api/v1/documents"]},task_statuses:{path:"/api/v1/task_statuses",dependencies:["/api/v1/tasks"]},tasks:{path:"/api/v1/tasks",dependencies:["/api/v1/projects","/api/v1/documents"]},tax_rates:{path:"/api/v1/tax_rates",dependencies:["/api/v1/invoices","/api/v1/quotes","/api/v1/credits","/api/v1/recurring_invoices","/api/v1/purchase_orders"]},bank_transactions:{path:"/api/v1/bank_transactions",dependencies:["/api/v1/payments","/api/v1/invoices","/api/v1/vendors","/api/v1/expenses","/api/v1/expense_categories"]},bank_transaction_rules:{path:"/api/v1/bank_transaction_rules",dependencies:["/api/v1/bank_transactions"]},vendors:{path:"/api/v1/vendors",dependencies:["/api/v1/expenses","/api/v1/recurring_expenses","/api/v1/purchase_orders"]},users:{path:"/api/v1/users",dependencies:["/api/v1/tasks","/api/v1/invoices","/api/v1/quotes","/api/v1/credits","/api/v1/recurring_invoices","/api/v1/projects","/api/v1/payments","/api/v1/expenses","/api/v1/tasks"]},company_users:{path:"/api/v1/company_users",dependencies:[]},clients:{path:"/api/v1/clients",dependencies:["/api/v1/tasks","/api/v1/invoices","/api/v1/quotes","/api/v1/credits","/api/v1/recurring_invoices","/api/v1/projects","/api/v1/payments","/api/v1/expenses","/api/v1/recurring_expenses","/api/v1/tasks","/api/v1/charts/totals_v2","/api/v1/charts/chart_summary_v2","/api/v1/documents"]},products:{path:"/api/v1/products",dependencies:["/api/v1/subscriptions","/api/v1/invoices"]},projects:{path:"/api/v1/projects",dependencies:["/api/v1/tasks","/api/v1/documents"]},quotes:{path:"/api/v1/quotes",dependencies:["/api/v1/clients","/api/v1/activities","/api/v1/documents"]},recurring_invoices:{path:"/api/v1/recurring_invoices",dependencies:["/api/v1/clients","/api/v1/activities/entity","/api/v1/documents"]},bank_integrations:{path:"/api/v1/bank_integrations",dependencies:["/api/v1/bank_transactions"]},documents:{path:"/api/v1/documents",dependencies:[]},payment_terms:{path:"/api/v1/payment_terms",dependencies:[]},statics:{path:"/api/v1/statics",dependencies:[]},task_schedulers:{path:"/api/v1/task_schedulers",dependencies:[]},subscriptions:{path:"/api/v1/subscriptions",dependencies:[]},activities:{path:"/api/v1/activities",dependencies:["/api/v1/activities/entity"]}};function Kr(){const e=Xe();return n=>{n.map(a=>{Xa[a]&&(e.invalidateQueries(Xa[a].path),Xa[a].dependencies.map(s=>{e.invalidateQueries(s)}))})}}function ie(e){window.dispatchEvent(new CustomEvent("refetch",{detail:{property:e}}))}function nm(e){return Object.keys(Xa).find(a=>Xa[a].path.startsWith(e)||e.startsWith(Xa[a].path))}function am(e){e.map(n=>{const a=nm(n);a&&ie([a])})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Qr(){const e=localStorage.getItem("displayChromeExtensionBanner");localStorage.clear(),e&&localStorage.setItem("displayChromeExtensionBanner",e)}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Yr=Pr.create();Yr.interceptors.response.use(e=>{const n=sm(e.config.data),a=e.config.method;return(a==="put"||a==="post"&&(n==null?void 0:n.action)==="delete"||a==="delete")&&ie(["activities"]),e},e=>{var n,a,s,o,i,r,c,l;return(((n=e.response)==null?void 0:n.status)===429||((a=e.response)==null?void 0:a.status)===403)&&(window.location.reload(),Qr()),((s=e.response)==null?void 0:s.status)===404&&window.dispatchEvent(new CustomEvent("navigate.invalid.page")),(o=e.response)!=null&&o.status&&e.response.status!==412&&e.response.status!==422&&e.response.status>399&&e.response.status<500&&T.error(((i=e.response)==null?void 0:i.data.message)||"error_title"),(r=e.response)!=null&&r.status&&e.response.status===500&&T.error("error_title"),((c=e.response)==null?void 0:c.status)===409&&T.processing(),((l=e.response)==null?void 0:l.status)===422&&window.dispatchEvent(new CustomEvent("display.error.toaster",{detail:{error:e}})),console.error(e),Promise.reject(e)});function $(e,n,a,s){return Yr({method:e,url:n,data:a,...s,headers:{...va(),...s==null?void 0:s.headers},signal:s==null?void 0:s.signal})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function At(){const e=we(),{data:n}=tn(),[a,s]=g.useState("0"),[o,i]=g.useState("DD/MMM/YYYY");return g.useEffect(()=>{if(n!=null&&n.date_formats){const r=n.date_formats.find(c=>{var l;return c.id===((l=e==null?void 0:e.settings)==null?void 0:l.date_format_id)});r&&(i(r.format_moment),s(r.id))}},[e,n]),{dateFormatId:a,dateFormat:o}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function It(){return!0}function Ft(){return!It()}function $s(){return"https://invoicing.co"}function D(e,n={}){return $s()+U(e,n)}function $o(...e){return e.filter(Boolean).join(" ")}function Qe(e,n){return e===0||e===""||e===void 0?"":typeof e=="number"?fe.unix(e).format(n):fe(e).format(n)}function NQe(){const{dateFormat:e}=At(),n=["DD. MMM. YYYY","ddd MMM D, YYYY"];return a=>fe(a,n.includes(e)?void 0:e)}function Me(e){if(!e.is_deleted&&!e.archived_at)return Do.active;if(e.archived_at&&!e.is_deleted)return Do.archived;if(e.is_deleted)return Do.deleted}function ft(e,n){let a=Bo(e);for(const s in n)a=a.replace(`:${s}`,n[s]);return a}function IQe(e,n={}){return"https://preview.invoicing.co"+U(e,n)}function ya(){return{}.VITE_DEMO_ENDPOINT===$s()}function sm(e){try{return e&&JSON.parse(e)}catch{return!1}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function tn(){return xe(["/api/v1/statics"],()=>$("GET",D("/api/v1/statics")).then(e=>e.data),{enabled:!!localStorage.getItem("X-NINJA-TOKEN"),staleTime:1/0})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function _o(){const{data:e}=tn(),[n,a]=g.useState([]);return g.useEffect(()=>{e!=null&&e.languages&&a(e.languages)},[e]),n}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Xr(){const e=_o();return n=>e.find(a=>a.id.toString()===n.toString())}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const om={currentIndex:localStorage.getItem("X-CURRENT-INDEX")?parseInt(localStorage.getItem("X-CURRENT-INDEX")):0,api:{},changes:{company:void 0}},Jr=Ps({name:"companyUser",initialState:om,reducers:{changeCurrentIndex:(e,n)=>{e.currentIndex=n.payload},updateCompanyUsers:(e,n)=>{e.api=n.payload},injectInChanges:(e,n)=>{e.changes[n.payload.object]=n.payload.data},updateChanges:(e,n)=>{e.changes[n.payload.object]=ce.set(e.changes[n.payload.object],n.payload.property,n.payload.value)},resetChanges:(e,n)=>{e.changes[n.payload]=e.api[e.currentIndex][n.payload]},updateRecord:(e,n)=>{e.api[e.currentIndex][n.payload.object]=n.payload.data}}}),{changeCurrentIndex:uo,updateCompanyUsers:Mn,injectInChanges:La,resetChanges:li,updateChanges:Ge,updateRecord:ba}=Jr.actions;/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */var ss=(e=>(e.TOKEN="invoiceninja_token",e.GOOGLE_SSO="google_sso",e))(ss||{});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const im={authenticated:!1,user:{},changes:{}},Zr=Ps({name:"user",initialState:im,reducers:{updateUser:(e,n)=>{e.user=n.payload},injectInChanges:e=>{e.changes=e.user},injectInChangesWithData:(e,n)=>{e.changes=n.payload},resetChanges:e=>{e.changes=e.user},authenticate:(e,n)=>{e.authenticated=!0,e.user=n.payload.user,localStorage.setItem("X-NINJA-TOKEN",n.payload.token)},register:(e,n)=>{e.authenticated=!0,e.user=n.payload.user,localStorage.setItem("X-NINJA-TOKEN",n.payload.token)},updateChanges:(e,n)=>{ce.set(e.changes,n.payload.property,n.payload.value)},deletePassword:e=>{delete e.changes.password,delete e.user.password}}}),{updateUser:ea,injectInChanges:di,injectInChangesWithData:Ro,resetChanges:rm,authenticate:Rs,register:cm,updateChanges:ja,deletePassword:lm}=Zr.actions;/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function _i(){const e=qt(i=>i.user),n=localStorage.getItem("X-NINJA-TOKEN"),a=Ce(),s=Ae(),o=Xe();return n===null?!1:(e.authenticated||o.fetchQuery("/api/v1/refresh",()=>$("POST",D("/api/v1/refresh")).then(i=>{let r=0;if(localStorage.getItem("X-CURRENT-INDEX"))r=parseInt(localStorage.getItem("X-CURRENT-INDEX")||"0");else{const c=i.data.data,l=c[0].account.default_company_id;r=c.findIndex(_=>_.company.id===l)||0}s(Rs({type:ss.TOKEN,user:i.data.data[r].user,token:localStorage.getItem("X-NINJA-TOKEN")})),s(Mn(i.data.data)),s(uo(r))}).catch(()=>{localStorage.removeItem("X-NINJA-TOKEN"),a("/login")})),!0)}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function bt(){return qt(e=>e.user.user)}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Vs(){return qt(e=>e.user.changes)}function aa(e){const n=bt(),a=Ae(),s=Vs();return g.useEffect(()=>{s&&(e==null?void 0:e.overwrite)===!1||a(di())},[n]),s}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Xs={dashboard_charts:{default_view:"month",currency:1,range:"this_month"},datatables:{clients:{sort:"id|desc"}},reports:{columns:{}},auto_expand_product_table_notes:!1};function Et(e){var i,r;const n=aa({overwrite:e==null?void 0:e.overwrite}),a=qt(c=>{var l,_;return(_=(l=c.user.changes)==null?void 0:l.company_user)==null?void 0:_.react_settings})||{},o={show_pdf_preview:!0,react_notification_link:!0,react_table_columns:{...(r=(i=n==null?void 0:n.company_user)==null?void 0:i.settings)==null?void 0:r.react_table_columns,...a.react_table_columns},preferences:ce.cloneDeep(Xs)};return ce.merge({...o},{...a})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const dm={name:"invoiceninja.dark",$0:"dark",$1:"#121212",$2:"#121212",$3:"rgba(255, 255, 255, 0.87)",$4:"#1f2e41",$5:"#1f2e41",$6:"#121212",$7:"#151f2c",$8:"#1f2e41",$9:"#ffffff",$10:.87,$11:.6,$12:.38,$13:"#E5E7EB"},ec={name:"invoiceninja.light",$0:"light",$1:"#ffffff",$2:"#f7f7f7",$3:"#2a303d",$4:"#f7f7f7",$5:"#d1d5db",$6:"#242930",$7:"#f7f7f7",$8:"#363D47",$9:"#ffffff",$10:1,$11:.8,$12:.5,$13:"#E5E7EB"},tc=to("colorScheme",ec);function me(){const e=Et({overwrite:!1}),[n,a]=tt(tc);return g.useEffect(()=>{e&&(e.dark_mode?a(dm):a(ec))},[e==null?void 0:e.dark_mode]),n}function st(e){const n=me();return f("svg",{style:{color:n.$3},className:`animate-spin h-5 w-5 ${e.variant??"text-black"}`,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[t("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),t("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function _m(){return t("div",{className:"flex items-center justify-center h-screen",children:t(st,{variant:"dark"})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const nc={accent:"#117DC0",primary:"#2F7DC3",secondary:"#7081e0"};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function rt(){var a,s,o,i,r;const e=bt();return((o=(s=(a=qt(c=>c.user).changes)==null?void 0:a.company_user)==null?void 0:s.settings)==null?void 0:o.accent_color)||((r=(i=e==null?void 0:e.company_user)==null?void 0:i.settings)==null?void 0:r.accent_color)||nc.accent}const um={type:"primary",behavior:"submit"},mm=St(na)`
  color: ${e=>e.theme.color} !important;
  background-color: ${e=>e.theme.backgroundColor} !important;
  border-color: ${e=>e.theme.borderColor} !important;
`,pm=St.button`
  color: ${e=>e.theme.color} !important;
  background-color: ${e=>e.theme.backgroundColor} !important;
  border-color: ${e=>e.theme.borderColor} !important;
`;function te(e){e={...um,...e};const n=me(),a=rt(),s={backgroundColor:e.type==="primary"?a:e.noBackgroundColor?"transparent":"white",color:e.type!=="primary"&&e.type!=="secondary"?a:""};return e.to?t(mm,{to:e.to,theme:{backgroundColor:e.type==="primary"?a:n.$1,color:e.type==="primary"?n.$9:n.$3,borderColor:e.type==="primary"?"transparent":n.$5},className:oe(`border inline-flex items-center space-x-2 px-4 justify-center rounded text-sm ${e.className} disabled:cursor-not-allowed disabled:opacity-75`,{"py-2 px-4":e.type!=="minimal","w-full":e.variant==="block","p-0 m-0":e.type==="minimal"}),style:s,children:e.disabled?t(st,{variant:"light"}):e.children}):t(pm,{type:e.behavior,disabled:e.disabled,theme:{backgroundColor:e.type==="primary"?a:n.$1,color:e.type==="primary"?n.$9:n.$3,borderColor:e.type==="primary"?"transparent":n.$5},className:oe(`border inline-flex items-center space-x-2 px-4 justify-center rounded text-sm ${e.className} disabled:cursor-not-allowed disabled:opacity-75`,{"py-2 px-4":e.type!=="minimal","w-full":e.variant==="block","p-0 m-0":e.type==="minimal"}),style:s,onClick:e.onClick,children:e.disabled&&!e.disableWithoutIcon?t(st,{variant:"light"}):e.children})}const hm=St.input`
  background-color: ${e=>e.theme.backgroundColor};
`;function an(e){const n=me();return f("div",{className:"relative flex items-start",children:[t("div",{className:"flex items-center h-5",children:t(hm,{theme:{backgroundColor:n.$2},ref:e.innerRef,value:e.value,id:e.id,"aria-describedby":"comments-description",type:"checkbox",className:oe("h-4 w-4 rounded cursor-pointer disabled:opacity-50",e.className),style:{borderColor:n.$5},onChange:a=>{e.onChange&&e.onChange(a),e.onValueChange&&e.onValueChange(a.target.value,a.target.checked)},checked:e.checked,disabled:e.disabled,"data-cy":e.cypressRef})}),t("div",{className:"ml-3 text-sm",children:t("label",{htmlFor:e.id,className:"font-medium cursor-pointer",style:{color:n.$3},children:e.label})})]})}function L(e){const n=rt(),a=g.createElement(e.element);return g.isValidElement(a)?g.cloneElement(a,{fontSize:e.size||18,color:e.color||n,className:e.className,onClick:e.onClick,style:e.style}):t(F,{})}function it(e){const[n,a]=g.useState(!0),s=me();return t("div",{style:{color:s.$3,colorScheme:s.$0,backgroundColor:s.$1},className:oe(`border-l-4 py-2 ${e.className}`,{"bg-red-50 border-red-500":e.type==="danger","bg-yellow-50 border-yellow-500":e.type==="warning","bg-green-50 border-green-500":e.type==="success",block:n,hidden:!n}),children:t("div",{className:"mx-4",children:t("div",{style:{color:s.$3,colorScheme:s.$0,backgroundColor:s.$1,borderColor:s.$4},className:oe("text-sm",{"text-red-700":e.type==="danger","text-yellow-700":e.type==="warning","text-green-700":e.type==="success"}),children:f("div",{className:"flex items-center justify-between space-x-2",style:{backgroundColor:s.$1,borderColor:s.$4},children:[t("div",{className:"w-full break-all",style:{backgroundColor:s.$1,borderColor:s.$4},children:e.children}),!e.disableClosing&&t("button",{type:"button",children:t(Ln,{onClick:()=>a(!1)})})]})})})})}function se(e){const n=me(),{blankOptionValue:a,withBlank:s,children:o,value:i,defaultValue:r,customSelector:c,onValueChange:l,className:_,disabled:d,cypressRef:p,dismissable:m=!0}=e,h=t("option",{value:a??""}),u=Rn.Children.map([s?h:[],o],y=>g.isValidElement(y)&&{label:Array.isArray(y.props.children)?y.props.children.join(""):y.props.children,value:y.props.value}),v=u==null?void 0:u.find(y=>y.value===i),b=u==null?void 0:u.find(y=>y.value===r),w={input:y=>({...y,color:n.$3}),singleValue:y=>({...y,color:n.$3}),menu:y=>({...y,width:"max-content",minWidth:"100%",backgroundColor:n.$4,borderColor:n.$4}),control:(y,{isDisabled:k})=>({...y,borderRadius:"3px",backgroundColor:n.$1,color:n.$3,borderColor:n.$5,cursor:k?"not-allowed":"pointer",pointerEvents:k?"auto":"unset"}),option:(y,{isSelected:k,isFocused:C})=>({...y,display:"flex",alignItems:"center",color:n.$3,backgroundColor:k||C?n.$7:n.$1,":hover":{backgroundColor:n.$7},minHeight:"1.875rem"})};return f("div",{className:oe({"space-y-2":!!c}),children:[e.label&&f(Pn,{className:"mb-2",for:e.id,children:[e.label,e.required&&t("span",{className:"ml-1 text-red-600",children:"*"})]}),c?t(Vn,{className:_,options:u,defaultValue:b,value:v,onChange:y=>y===null?l==null?void 0:l(a??""):l==null?void 0:l(y.value),isDisabled:d,styles:w,isSearchable:!1,isClearable:m,"data-cy":p}):f("select",{onChange:y=>{e.onValueChange&&e.onValueChange(y.target.value),e.onChange&&e.onChange(y)},id:e.id,className:oe(`w-full py-2 rounded text-sm border disabled:cursor-not-allowed ${e.className}`),defaultValue:e.defaultValue,value:e.value,ref:e.innerRef,disabled:e.disabled,style:{backgroundColor:n.$1,borderColor:n.$5,color:n.$3,...e.style},"data-cy":e.cypressRef,children:[e.withBlank&&t("option",{value:e.blankOptionValue??""}),e.children]}),e.errorMessage&&t(it,{className:"mt-2",type:"danger",children:e.errorMessage})]})}const fm=et(null);function Pn(e){const n=me();return t("label",{className:`text-sm font-medium block ${e.className}`,htmlFor:e.for,style:{color:n.$3},children:e.children})}function q(e){const n=me(),a=Et({overwrite:!1}),s=e.type==="password",[o,i]=g.useState(!0),r=g.useMemo(()=>e.type==="password"&&o?"password":e.type==="password"&&!o?"text":e.type,[e.type,o]);return f("section",{style:{width:e.width},children:[e.label&&f(Pn,{className:oe("mb-2",{"whitespace-nowrap":e.withoutLabelWrapping}),for:e.id,children:[e.label,e.required&&t("span",{className:"ml-1 text-red-600",children:"*"})]}),f("div",{className:"relative",children:[t(Ad.DebounceInput,{style:{backgroundColor:n.$1,borderColor:n.$5,color:n.$3,...e.style},min:e.min,max:e.type==="date"?"9999-12-31":void 0,maxLength:e.maxLength,autoComplete:e.autoComplete||"new-password",disabled:e.disabled,element:e.element||"input",inputRef:e.innerRef,debounceTimeout:e.debounceTimeout??300,required:e.required,id:e.id,type:r,className:oe(`w-full py-2 px-3 rounded text-sm disabled:opacity-75 disabled:cursor-not-allowed ${e.className}`,{"border border-gray-300":e.border!==!1}),placeholder:e.placeholder||"",onBlur:c=>{c.target.value=c.target.value===""&&e.type==="number"?"0":c.target.value,e.onValueChange&&e.onValueChange(c.target.value),e.onChange&&e.onChange(c)},onChange:c=>{if(c.target.value=c.target.value===""&&e.type==="number"?"0":c.target.value,e.element==="textarea"&&a.preferences.auto_expand_product_table_notes){const l=c.target.scrollHeight+2;l<200&&(c.target.style.height=l+"px")}e.changeOverride&&e.changeOverride===!0&&(e.onValueChange&&e.onValueChange(c.target.value),e.onChange&&e.onChange(c))},onClick:c=>{if(e.element==="textarea"&&a.preferences.auto_expand_product_table_notes){const l=c.target.scrollHeight+2;l<200&&(c.target.style.height=l+"px"),l>200&&(c.target.style.height="200px")}},onBlurCapture:c=>{e.element==="textarea"&&c.target.style.removeProperty("height")},value:e.value,list:e.list,rows:e.textareaRows||5,step:e.step,"data-cy":e.cypressRef,name:e.name,readOnly:e.readOnly}),s&&t("span",{className:"absolute top-1/4 right-3 cursor-pointer",children:o?t(Nd,{className:"text-gray-400",fontSize:19,onClick:()=>i(!1)}):t(Id,{className:"text-gray-400",fontSize:19,onClick:()=>i(!0)})})]}),e.errorMessage&&t(it,{className:"mt-2",type:"danger",children:e.errorMessage})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const os=et({prevent:!1,actionKey:void 0}),ac=et({lastLocation:"",nonPreventedLocations:[]});function gm(){const e=zt(),n=Ie(ui),[a,s]=tt(os),[o,i]=tt(ac);g.useEffect(()=>{const r=_=>{if(a.prevent&&a.actionKey!=="switchCompany")return _.preventDefault(),!0},c=o.lastLocation!==window.location.href;c&&a.prevent&&(i(_=>({..._,lastLocation:window.location.href})),history.pushState(null,document.title,window.location.href));const l=()=>{a.prevent&&(c&&history.pushState(null,document.title,window.location.href),s(_=>_&&{..._,actionKey:"browserBack"}),n(!0))};return window.addEventListener("popstate",l),window.addEventListener("beforeunload",r),()=>{window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",r)}},[a]),g.useEffect(()=>{!a.prevent&&i(r=>({...r,nonPreventedLocations:[...r.nonPreventedLocations,e.pathname]}))},[e])}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const ui=et(!1),sc=et(void 0);function is(e){const{disablePrevention:n}=e||{},a=Ce(),[s,o]=tt(os),i=Ie(ui),r=Ie(sc);return({url:c,externalLink:l=!1,fn:_,actionKey:d})=>(s.prevent&&!n?(r({url:c,externalLink:l,fn:_}),o(p=>p&&{...p,actionKey:d}),i(!0)):(c&&(l?window.open(c,"_blank"):a(c)),_==null||_()),s.prevent)}function Pe(e){const n=rt(),{prevent:a}=De(os),s=is(),{withoutDefaultStyling:o,setBaseFont:i}=e,r={color:n};return e.external?t("a",{target:"_blank",href:e.to,className:oe(`text-center ${e.className}`,{"text-sm":!i,"text-base":i,"hover:underline":!o}),style:o?void 0:r,rel:"noreferrer",onClick:c=>{a&&(c.preventDefault(),s({url:e.to,externalLink:!0}))},children:e.children}):t(na,{className:oe(`${e.className}`,{"text-sm":!i,"text-base":i,"hover:underline":!o}),style:o?void 0:r,to:e.to,onClick:c=>{a&&(c.preventDefault(),s({url:e.to}))},children:e.children})}function oc(e){const n=rt();return f("fieldset",{children:[t("legend",{className:"sr-only",children:"Notification method"}),t("div",{className:"space-y-4 sm:flex sm:items-center sm:space-y-0 sm:space-x-10",children:e.options.map(a=>f("div",{className:"flex items-center",onChange:s=>{var o;return(o=e.onValueChange)==null?void 0:o.call(e,s.target.value)},children:[t("input",{value:a.value,onClick:e.onClick,onChange:()=>{},disabled:e.disabled,id:a.id,name:e.name,type:"radio",checked:a.value===e.defaultSelected,className:"focus:ring-gray-500 h-4 w-4 border-gray-300 disabled:opacity-75 disabled:cursor-not-allowed",style:{color:n}}),t("label",{htmlFor:a.id,className:oe("ml-3 block text-sm font-medium",{"opacity-75 cursor-not-allowed":e.disabled,"cursor-pointer":typeof e.disabled>"u"||!e.disabled}),children:a.title})]},a.id))})]})}const vm=St(zo)`
  &:focus {
    outline: 2px solid ${e=>e.theme.ringColor};
  }
  border-color: ${e=>e.theme.borderColor};
  background-color: ${e=>e.theme.backgroundColor};
`;function B(e){const n=me(),a=rt(),[s,o]=g.useState(!1),[i,r]=g.useState(!1);return g.useEffect(()=>{o(!!e.checked),r(!!e.disabled)},[e.checked,e.disabled]),f(zo.Group,{as:"div",className:"flex items-center",children:[t(vm,{theme:{ringColor:n.$5,borderColor:n.$5,backgroundColor:s?a:n.$5},className:oe("relative inline-flex items-center flex-shrink-0 h-6 w-11 rounded-full transition-colors ease-in-out duration-200",{"pointer-events-none opacity-75":i,"border cursor-pointer focus:outline-none focus:ring-2 focus:ring-offset-2":!i}),checked:s,onChange:c=>{i||(o(c),e.onChange&&e.onChange(c),e.onValueChange&&e.onValueChange(c))},"data-cy":e.cypressRef,children:t("span",{"aria-hidden":"true",className:oe(s?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow ring-0 transition ease-in-out duration-200")})}),e.label&&t(zo.Label,{as:"span",className:"ml-3",children:t("span",{className:"text-sm",children:e.label})})]})}function mi(e){const n=me();return e.pages.length===0?null:t("nav",{className:"flex","aria-label":"Breadcrumb",style:{color:n.$3,opacity:n.$10},children:f("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:f(Pe,{to:"/dashboard",withoutDefaultStyling:!0,children:[t(qr,{className:"flex-shrink-0 h-5 w-5","aria-hidden":"true"}),t("span",{className:"sr-only",children:"Home"})]})})}),e.pages.map(a=>t("li",{children:f("div",{className:"flex items-center",children:[t(so,{className:"flex-shrink-0 h-5 w-5","aria-hidden":"true"}),t(Pe,{to:a.href,className:"ml-4 text-sm font-medium",withoutDefaultStyling:!0,children:a.name})]})},a.name))]})})}const ym="/react/invoiceninja-logo@light-e793224d.png";/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const bm={logo:ym};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function mo(){var a,s;const e=$e(),n=we();return((a=e==null?void 0:e.settings)==null?void 0:a.company_logo)||((s=n==null?void 0:n.settings)==null?void 0:s.company_logo)||bm.logo}function wm(){var a;const e=we(),[n]=N();return((a=e==null?void 0:e.settings)==null?void 0:a.name)||n("untitled_company")}const km=St.button`
  color: ${e=>e.theme.color};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`,xm=St(na)`
  color: ${e=>e.theme.color};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`;function M(e){const n=me(),{prevent:a}=De(os),s=is({disablePrevention:e.disablePreventNavigation}),{actionKey:o}=e;return e.to?f(xm,{theme:{color:n.$3,hoverColor:n.$7},to:e.to,className:oe({"flex items-center":e.icon},`w-full text-left z-50 block px-4 py-2 text-sm text-gray-700 rounded-lg ${e.className}`),onClick:i=>{a&&(i.preventDefault(),s({url:e.to}))},children:[e.icon,t("div",{className:oe({"ml-2":e.icon}),children:e.children})]}):f(km,{theme:{color:n.$3,hoverColor:n.$7},type:"button",onClick:i=>s({fn:()=>{var r,c;(r=e.onClick)==null||r.call(e,i),(c=e.setVisible)==null||c.call(e,!1)},actionKey:o}),ref:e.innerRef,className:oe({"flex items-center":e.icon},`w-full text-left z-50 block px-4 py-2 text-sm rounded-lg ${e.className} `),"data-cy":e.cypressRef,children:[e.icon&&t("div",{children:e.icon}),t("div",{className:oe({"ml-2":e.icon}),children:e.children})]})}function Cm(e){const{renderFragmentOnly:n,children:a}=e;return n?t(F,{children:a}):t($n.Child,{as:g.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:a})}function Fe(e){const[n,a]=g.useState(!1);g.useEffect(()=>{a(e.visible)},[e.visible]);const s=me();return t($n.Root,{show:n,as:g.Fragment,children:t(Ra,{as:"div",className:"fixed z-10 inset-0 overflow-y-auto",onClose:o=>{!e.disableClosing&&a(o),!e.disableClosing&&e.onClose(o)},initialFocus:e.initialFocusRef,children:f("div",{className:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0",children:[t($n.Child,{as:g.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:t(Ra.Overlay,{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})}),t("span",{className:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true",children:"​"}),t(Cm,{renderFragmentOnly:!!e.renderTransitionChildAsFragment&&n,children:f("div",{style:{backgroundColor:s.$2,color:s.$3,colorScheme:s.$0},className:oe("inline-block align-bottom rounded px-4 pt-5 pb-4 text-left shadow-xl transform transition-all sm:my-8 sm:align-middle w-full sm:p-6",{"max-w-sm":e.size==="extraSmall"||typeof e.size>"u","max-w-lg":e.size==="small","max-w-7xl":e.size==="large","max-w-2xl":e.size==="regular","bg-white":e.backgroundColor==="white","bg-gray-50":e.backgroundColor==="gray","overflow-hidden":!e.overflowVisible}),onClick:o=>e.stopPropagationInHeader&&o.stopPropagation(),children:[f("div",{className:"flex flex-col justify-between items-start",style:{backgroundColor:s.$2,color:s.$3,colorScheme:s.$0},children:[f("div",{className:"flex w-full justify-between",children:[t(Ra.Title,{as:"h3",className:"text-lg leading-6 font-medium",style:{backgroundColor:s.$2,color:s.$3,colorScheme:s.$0},children:e.title}),!e.disableClosing&&t(Ln,{className:"cursor-pointer",onClick:()=>e.onClose(!1),fontSize:22,"data-cy":e.closeButtonCypressRef})]}),t("div",{className:"mt-2",children:e.text&&t("p",{style:{backgroundColor:s.$2,color:s.$3,colorScheme:s.$0},className:"text-sm",children:e.text})})]}),e.children&&t("div",{style:{backgroundColor:s.$2,color:s.$3,colorScheme:s.$0},className:oe("text-sm flex flex-col space-y-4",{"justify-center items-center":e.centerContent,"mt-5 sm:mt-6":!e.disableClosing}),children:e.children})]})})]})})})}function Sm(e){const[n]=N(),a=Ae(),s=Ce(),{id:o}=xt(),i=zt(),r=me(),c=Xe(),[l,_]=g.useState(!1),d=(m,h,u)=>{if(a(Rs({type:ss.TOKEN,user:h,token:u})),localStorage.setItem("X-CURRENT-INDEX",m.toString()),c.invalidateQueries(),o){const v="/"+(i.pathname.includes("/settings/gateways")?"settings/online_payments":i.pathname.split("/")[1]||"dashboard");s(v)}window.location.reload()},p=async()=>{l||(T.processing(),_(!0),$("POST",D("/api/v1/companies")).then(()=>{$("POST",D("/api/v1/refresh")).then(m=>{const h=m.data.data,u=h.length-1,v=h[u];a(Mn(h)),T.success("created_new_company"),e.setIsModalOpen(!1),d(u,v.user,v.token.token)}).finally(()=>localStorage.setItem("COMPANY-EDIT-OPENED","false"))}).finally(()=>_(!1)))};return f(Fe,{title:n("add_company"),visible:e.isModalOpen,onClose:()=>e.setIsModalOpen(!1),backgroundColor:"white",children:[t("span",{className:"text-lg",style:{backgroundColor:r.$2,color:r.$3,colorScheme:r.$0},children:n("are_you_sure")}),f("div",{className:"flex justify-end space-x-4 mt-5",children:[t(te,{className:"text-gray-900",onClick:()=>e.setIsModalOpen(!1),type:"minimal",children:t("span",{className:"text-base mx-3",children:n("cancel")})}),t(te,{onClick:p,children:t("span",{className:"text-base mx-3",children:n("yes")})})]})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Em={api:{},latestQueryUrl:""},ic=Ps({name:"companyDocuments",initialState:Em,reducers:{updateLatestQueryUrl:(e,n)=>{e.latestQueryUrl=n.payload.url}}});ic.actions;/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Tm={currentPage:1,filter:""},rc=Ps({name:"products",initialState:Tm,reducers:{updateCurrentPage:(e,n)=>{e.currentPage=n.payload.number},updateFilter:(e,n)=>{e.filter=n.payload.filter}}});rc.actions;/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Pm={colors:{primary:"#117DC0"},darkMode:!1,activeSettings:{name:"",level:"company"}},cc=Ps({name:"settings",initialState:Pm,reducers:{updatePrimaryColor:(e,n)=>{e.colors.primary=n.payload.color},setDarkMode:(e,n)=>{e.darkMode=n.payload.status},setActiveSettings:(e,n)=>{e.activeSettings=n.payload.status}}}),{updatePrimaryColor:DQe,setDarkMode:$Qe,setActiveSettings:qs}=cc.actions;/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Wn=Ed({reducer:{companyUsers:Jr.reducer,companyDocuments:ic.reducer,user:Zr.reducer,products:rc.reducer,settings:cc.reducer},middleware:e=>e({serializableCheck:!1})});Td.setupListeners(Wn.dispatch);/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function po(){var n,a;return!["pro","enterprise","white_label"].includes((a=(n=Wn.getState().companyUsers.api)==null?void 0:n[Wn.getState().companyUsers.currentIndex])==null?void 0:a.account.plan)}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ho(){return qt(e=>e.companyUsers.api[e.companyUsers.currentIndex])}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ot(){const e=ho();return n=>{const a=(e==null?void 0:e.permissions)??"",[s]=n.split("_");return!!(e!=null&&e.is_admin||e!=null&&e.is_owner||a.includes(n)||a.includes(`${s}_all`)&&n!=="view_reports"&&n!=="view_dashboard")}}function Je(){const e=ho();return{isAdmin:!!(e!=null&&e.is_admin),isOwner:!!(e!=null&&e.is_owner||e!=null&&e.is_owner)}}function lc(){var C,S;const[e]=N(),n=Ae(),a=Ce(),s=qt(E=>E.companyUsers),{id:o}=xt(),i=!po(),r=mo(),c=bt(),l=zt(),_=me(),d=wm(),p=Xe(),{isAdmin:m,isOwner:h}=Je(),u=we(),[v,b]=g.useState(!1),[w,y]=g.useState(!1),k=E=>{if(n(Rs({type:ss.TOKEN,user:s.api[E].user,token:s.api[E].token.token})),localStorage.setItem("X-CURRENT-INDEX",E.toString()),localStorage.setItem("COMPANY-EDIT-OPENED","false"),sessionStorage.setItem("COMPANY-ACTIVITY-SHOWN","false"),p.invalidateQueries(),o){const I="/"+(l.pathname.includes("/settings/gateways")?"settings/online_payments":l.pathname.split("/")[1]||"dashboard");a(I)}window.location.reload()};return g.useEffect(()=>{s.api.length<10&&b(!0),ya()&&b(!1)},[u]),f(F,{children:[t(Sm,{isModalOpen:w,setIsModalOpen:y}),f(la,{as:"div",className:"relative inline-block text-left w-full","data-cy":"companyDropdown",children:[f(la.Button,{className:"flex items-center justify-between w-full rounded font-medium pl-2",children:[f("div",{className:"flex items-center justify-center space-x-3",children:[t("img",{className:"w-8",src:r,alt:"Company logo"}),f("div",{className:"flex flex-col items-between",children:[t("span",{className:"text-sm text-start w-28 truncate",children:d}),((c==null?void 0:c.first_name)||(c==null?void 0:c.last_name))&&f("span",{className:"text-xs text-start w-28 truncate",children:[c.first_name," ",c.last_name]})]})]}),t(as,{size:18,className:"text-gray-300"})]}),t($n,{as:g.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:f(la.Items,{style:{backgroundColor:_.$1,borderColor:_.$4},className:"border origin-top-right absolute left-0 mt-2 w-56 rounded shadow-lg",children:[t("div",{className:"py-1",children:t(la.Item,{children:f(M,{children:[t("p",{className:"text-sm",children:e("signed_in_as")}),t("p",{className:"text-sm font-medium truncate",children:c==null?void 0:c.email})]})})}),t("div",{className:"py-1",children:((C=s==null?void 0:s.api)==null?void 0:C.length)>=1&&((S=s==null?void 0:s.api)==null?void 0:S.map((E,I)=>t(la.Item,{children:t(M,{actionKey:"switchCompany",onClick:()=>k(I),children:f("div",{className:"flex items-center space-x-3",children:[t("span",{children:E.company.settings.name||e("untitled_company")}),s.currentIndex===I&&t(oo,{size:18})]})})},I)))}),f("div",{className:"py-1",children:[v&&i&&(m||h)&&t(la.Item,{children:t(M,{className:"flex items-center",onClick:()=>y(!0),icon:t(L,{element:gn,size:22}),children:t("span",{children:e("add_company")})})}),(m||h)&&t(la.Item,{children:t(M,{to:"/settings/account_management",icon:t(L,{element:Dd,size:22}),children:e("account_management")})}),t(la.Item,{children:t(M,{to:"/logout",icon:t(L,{element:$d,size:22}),children:e("logout")})})]})]})})]})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Fa(){var n;const e=qt(a=>a.companyUsers);return(n=e.api[e.currentIndex])==null?void 0:n.account}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ls(){const e=Ae();return(n,a)=>{e(ja({property:n,value:a}))}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Am(){const e=Ae();return n=>{$("PUT",D("/api/v1/company_users/:id",{id:n.id}),n).then(a=>{ce.set({...n},"company_user",a.data.data),ie(["company_users"]),e(ea(n))})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const un=et(0);function yn(e){const[n]=N(),a=Ce(),s=zt(),o=we(),i=bt(),r=g.useRef(null),[c,l]=g.useState(e.show??!1),[_,d]=g.useState(""),[p,m]=tt(un),u=fe().unix()-p>o.default_password_timeout/1e3&&o.default_password_timeout>0;g.useEffect(()=>{l(e.show)},[e.show]);const v=(b,w)=>{b==null||b.preventDefault(),e.onSave(_,!0),w&&m(fe().unix()),d(""),e.onClose(!1)};return g.useEffect(()=>{c&&(!u||!(o!=null&&o.oauth_password_required)&&(i!=null&&i.oauth_provider_id)&&i.oauth_provider_id.length>1)&&v()},[c]),f(Fe,{onClose:()=>{s.pathname.startsWith("/settings/users")&&!e.tableActions?a("/settings/users"):e.onClose(!1),d("")},visible:c&&u,title:n("confirmation"),text:n("please_enter_your_password"),initialFocusRef:r,children:[t("form",{onSubmit:b=>v(b,!0),children:t(q,{innerRef:r,id:"current_password",type:"password",label:n("current_password"),required:!0,changeOverride:!0,value:_,onChange:b=>d(b.target.value)})}),t(te,{disabled:_.length===0,onClick:b=>v(b,!0),disableWithoutIcon:!0,children:n("continue")})]})}const Vo=St.div`
  background-color: ${e=>e.theme.color};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`;function Nm(e){const[n]=N(),a=bt(),s=Ae(),o=me(),{isAboutVisible:i,setIsAboutVisible:r}=e,c=Ie(un),[l,_]=g.useState(!1),[d,p]=g.useState(!1),[m,h]=g.useState(!1),[u,v]=g.useState(!1),[b,w]=g.useState(!1),[y,k]=g.useState(),{data:C}=xe({queryKey:["/api/v1/self-update/check_version"],queryFn:()=>$("POST",D("/api/v1/self-update/check_version")).then(z=>z.data),staleTime:1/0}),{data:S}=xe({queryKey:["/api/v1/health_check"],queryFn:()=>$("GET",D("/api/v1/health_check")).then(z=>z.data),staleTime:1/0,enabled:Ft()}),E=z=>{(!l||z)&&(T.processing(),_(!0),$("GET",D("/api/v1/health_check")).then(j=>{k(j.data),p(!0),T.dismiss()}).finally(()=>_(!1)))},I=()=>{l||(T.processing(),_(!0),$("GET",D("/api/v1/ping?clear_cache=true")).then(()=>{$("POST",D("/api/v1/refresh?current_company=true")).then(z=>{s(Mn(z.data.data)),T.dismiss(),E(!0)}).finally(()=>_(!1))}).catch(()=>_(!1)))},H=z=>{l||(_(!0),w(!0),$("POST",D("/api/v1/self-update"),{},{headers:{"X-Api-Password":z}}).then(()=>window.location.reload()).catch(j=>{var W;((W=j.response)==null?void 0:W.status)===412&&(T.error("password_error_incorrect"),c(0))}).finally(()=>{_(!1),w(!1)}))};return f(F,{children:[f(Fe,{title:n("about"),visible:i,onClose:()=>!l&&r(!1),disableClosing:d||m||u||b,children:[f("div",{className:"flex flex-col text-center",children:[f("div",{className:"flex flex-col",children:[f("span",{className:"text-gray-800",children:[a==null?void 0:a.first_name," ",a==null?void 0:a.last_name]}),t("span",{children:a==null?void 0:a.email})]}),f("span",{className:"mt-4",children:["v",S==null?void 0:S.api_version]})]}),Ft(),Ft(),f("div",{className:"flex flex-wrap justify-center items-center space-x-4 pt-6",children:[t("a",{href:"https://twitter.com/invoiceninja",target:"_blank",rel:"noreferrer",children:t(c_,{})}),t("a",{href:"https://www.facebook.com/invoiceninja",target:"_blank",rel:"noreferrer",children:t(l_,{})}),t("a",{href:"https://github.com/invoiceninja",target:"_blank",rel:"noreferrer",children:t(d_,{})}),t("a",{href:"https://www.youtube.com/channel/UCXAHcBvhW05PDtWYIq7WDFA/videos",target:"_blank",rel:"noreferrer",children:t(__,{})}),t("a",{href:"http://slack.invoiceninja.com/",target:"_blank",rel:"noreferrer",children:t(u_,{})})]})]}),f(Fe,{title:n("health_check"),visible:d,onClose:()=>p(!1),children:[f("div",{className:"flex flex-col space-y-3",children:[f("div",{className:"flex justify-between items-center py-1 px-3",children:[f("div",{className:"flex flex-col",children:[t("span",{className:"font-medium text-base mb-1",children:n("system")}),f("span",{children:[n("email"),": ",y==null?void 0:y.mail_mailer]}),f("span",{children:[n("queue"),": ",y==null?void 0:y.queue]}),f("span",{children:[n("pdf"),": ",y==null?void 0:y.pdf_engine]})]}),t("div",{children:t(L,{element:y!=null&&y.system_health?Io:ua,color:y!=null&&y.system_health?"green":"red",size:25})})]}),f("div",{className:"flex justify-between items-center py-1 px-3",children:[f("div",{className:"flex flex-col",children:[t("span",{className:"font-medium text-base mb-1",children:n("database_connection")}),t("span",{children:y!=null&&y.simple_db_check?n("passed"):n("failed")})]}),t("div",{children:t(L,{element:y!=null&&y.simple_db_check?Io:ua,color:y!=null&&y.simple_db_check?"green":"red",size:25})})]}),f("div",{className:"flex justify-between items-center py-1 px-3",children:[f("div",{className:"flex flex-col",children:[t("span",{className:"font-medium text-base mb-1",children:"PHP"}),f("span",{children:[n("web"),": ",y==null?void 0:y.php_version.current_php_version]}),f("span",{children:[n("cli"),": ",y==null?void 0:y.php_version.current_php_cli_version]}),f("span",{children:["Memory: ",y==null?void 0:y.php_version.memory_limit]}),f("span",{children:["API: ",y==null?void 0:y.api_version]})]}),t("div",{children:t(L,{element:y!=null&&y.php_version.is_okay?Io:ua,color:y!=null&&y.php_version.is_okay?"green":"red",size:25})})]}),(!(y!=null&&y.env_writable)||(y==null?void 0:y.file_permissions)!=="Ok")&&!(y!=null&&y.is_docker)&&f(Vo,{className:"flex justify-between items-center cursor-pointer py-1 px-3",theme:{hoverColor:o.$5},onClick:()=>{var z;return(z=window.open("https://invoiceninja.github.io/en/self-host-installation/#file-permissions","_blank"))==null?void 0:z.focus()},children:[f("div",{className:"flex flex-col",children:[t("span",{className:"font-medium text-base mb-1",children:n("permissions")}),t("span",{children:y!=null&&y.env_writable?y==null?void 0:y.file_permissions:n("env_not_writable")})]}),t("div",{children:t(L,{element:ua,color:"red",size:25})})]}),(y==null?void 0:y.pdf_engine)!=="SnapPDF PDF Generator"&&f(Vo,{className:"flex justify-between items-center cursor-pointer py-1 px-3",theme:{hoverColor:o.$5},onClick:()=>{var z;return(z=window.open("https://invoiceninja.github.io/en/self-host-troubleshooting/#pdf-conversion-issues","_blank"))==null?void 0:z.focus()},children:[f("div",{className:"flex flex-col",children:[t("span",{className:"font-medium text-base mb-1",children:n("snappdf_not_enabled")}),t("span",{children:n("use_snappdf")})]}),t("div",{children:t(L,{element:Qi,size:25})})]}),!!(y!=null&&y.exchange_rate_api_not_configured)&&f(Vo,{className:"flex justify-between items-center cursor-pointer py-1 px-3",theme:{hoverColor:o.$5},onClick:()=>{var z;return(z=window.open("https://invoiceninja.github.io/en/self-host-installation/#currency-conversion","_blank"))==null?void 0:z.focus()},children:[f("div",{className:"flex flex-col",children:[t("span",{className:"font-medium text-base mb-1",children:n("exchange_rate_not_enabled")}),t("span",{children:n("add_open_exchange")})]}),t("div",{children:t(L,{element:Qi,size:25})})]})]}),f("div",{className:"flex justify-between",children:[t(te,{behavior:"button",type:"secondary",onClick:I,disableWithoutIcon:!0,disabled:l,children:n("clear_cache")}),t(te,{behavior:"button",onClick:E,disableWithoutIcon:!0,disabled:l,children:n("refresh")})]})]}),t(Fe,{title:n("update_available"),visible:m,onClose:()=>h(!1),disableClosing:l||u||b,children:f("div",{className:"flex flex-col space-y-5",children:[t("span",{className:"font-medium text-base",children:n("a_new_version_is_available")}),f("div",{className:"flex flex-col",children:[f("span",{children:["· ",n("installed_version"),":"," ",S==null?void 0:S.api_version]}),f("span",{children:["· ",n("latest_version"),": ",C]})]}),f("div",{className:"flex justify-between",children:[t(te,{behavior:"button",type:"secondary",onClick:()=>{var z;return(z=window.open("https://github.com/invoiceninja/invoiceninja/releases","_blank"))==null?void 0:z.focus()},disableWithoutIcon:!0,disabled:l,children:n("release_notes")}),t(te,{behavior:"button",onClick:()=>{r(!1),h(!1),v(!0)},disableWithoutIcon:!0,disabled:l,children:n("update_now")})]})]})}),t(Fe,{title:n("self-update"),visible:b,onClose:()=>{},disableClosing:!0,children:t("span",{className:"text-center py-3 font-medium",children:n("in_progress")})}),t(yn,{show:u,onClose:v,onSave:H})]})}function dc(e){var C,S;const[n]=N(),a=me(),s=aa();Fa();const o=bt(),{mobileNavbar:i}=e,r=Ae(),c=Am(),l=Ls(),[_,d]=g.useState(!1),[p,m]=g.useState(!1),[h,u]=g.useState(!1),[v,b]=g.useState(!1),w=!!((C=s==null?void 0:s.company_user)!=null&&C.react_settings.show_mini_sidebar),y=On({initialValues:{message:"",platform:"R",send_logs:!1},onSubmit:E=>{T.processing(),$("POST",D("/api/v1/support/messages/send"),E).then(()=>T.success("your_message_has_been_received")).finally(()=>{y.setSubmitting(!1),d(!1)})}}),k=()=>{b(!0),$("POST",D("/api/v1/refresh")).then(E=>{r(Mn(E.data.data)),b(!1),u(!1)})};return g.useEffect(()=>{var I,H,z,j;const E=(H=(I=s==null?void 0:s.company_user)==null?void 0:I.react_settings)==null?void 0:H.show_mini_sidebar;s&&typeof E<"u"&&((j=(z=o==null?void 0:o.company_user)==null?void 0:z.react_settings)==null?void 0:j.show_mini_sidebar)!==E&&c(s)},[(S=s==null?void 0:s.company_user)==null?void 0:S.react_settings.show_mini_sidebar]),f(F,{children:[f(Fe,{title:n("contact_us"),visible:_,onClose:d,children:[t(q,{label:n("from"),id:"from",value:`${s==null?void 0:s.first_name} - ${s==null?void 0:s.email}`,disabled:!0}),t(q,{element:"textarea",label:n("message"),id:"message",onChange:y.handleChange}),t(B,{id:"send_errors",label:n("include_recent_errors"),onChange:E=>y.setFieldValue("send_logs",E)}),t(te,{onClick:()=>y.submitForm(),disabled:y.isSubmitting,children:n("send")})]}),f(Fe,{title:n("crons_not_enabled"),visible:h,onClose:u,children:[t(te,{onClick:()=>{window.open("https://invoiceninja.github.io/en/self-host-troubleshooting/#cron-not-running-queue-not-running","_blank")},children:n("learn_more")}),t(te,{disabled:v,onClick:k,children:n("refresh_data")}),t(te,{onClick:()=>{u(!1)},children:n("dismiss")})]}),t(Nm,{isAboutVisible:p,setIsAboutVisible:m}),f("nav",{style:{borderColor:a.$5},className:oe("flex p-2 text-white border-t",{"justify-end":i,"justify-around":!i}),children:[!w&&!i&&f(F,{children:[Ft(),t("div",{className:"flex p-2",children:t(ws,{duration:0,content:n("contact_us"),className:"text-white rounded text-xs mb-2",children:t("div",{className:"cursor-pointer",onClick:()=>d(!0),children:t(m_,{})})})}),t("a",{href:"https://forum.invoiceninja.com",target:"_blank",className:"p-2 hover:bg-ninja-gray-darker rounded-full",rel:"noreferrer",children:t(ws,{duration:0,content:n("support_forum"),className:"text-white rounded text-xs mb-2",children:t(p_,{})})}),t("a",{href:e.docsLink&&`https://invoiceninja.github.io/${e.docsLink}`||"https://invoiceninja.github.io",target:"_blank",className:"p-2 hover:bg-ninja-gray-darker rounded-full",rel:"noreferrer",children:t(ws,{duration:0,content:n("user_guide"),className:"text-white rounded text-xs mb-2",children:t(h_,{})})}),t("button",{className:"p-2 hover:bg-ninja-gray-darker rounded-full overflow-visible",onClick:()=>m(!0),children:t(ws,{duration:0,content:n("about"),className:"text-white rounded text-xs mb-2",children:t(f_,{})})})]}),t("button",{className:"p-2 rounded-full",onClick:()=>l("company_user.react_settings.show_mini_sidebar",!w),children:t(ws,{duration:0,content:t("span",{style:{fontSize:w?"0.6rem":"0.75rem"},children:n(w?"show_menu":"hide_menu")}),className:"text-white rounded mb-1.5",children:w?t(so,{}):t(Lr,{})})})]})]})}function x(e){const n=me();return f("div",{className:oe(`sm:grid sm:gap-10 flex flex-col lg:flex-row ${e.className}`,{"px-5 sm:px-6":!e.noExternalPadding,"py-4 sm:py-3":!e.noVerticalPadding,"lg:items-center":!e.withoutItemsCenter,"sm:grid-cols-2":e.twoGridColumns,"sm:grid-cols-3":!e.twoGridColumns}),onClick:e.onClick,style:{color:n.$3,colorScheme:n.$0},children:[f("dt",{className:oe("text-sm flex flex-col",{"opacity-75":e.disabledLabels}),style:{color:n.$3,colorScheme:n.$0},children:[f("span",{className:oe("font-medium",{"whitespace-nowrap":e.withoutWrappingLeftSide}),style:{color:n.$3,colorScheme:n.$0},children:[e.leftSide,e.required&&t("span",{className:"ml-1 text-red-600",children:"*"})]}),e.leftSideHelp&&(typeof e.leftSideHelp=="object"?e.leftSideHelp:t("span",{className:"text-xs",dangerouslySetInnerHTML:{__html:e.leftSideHelp},style:{color:n.$3,colorScheme:n.$0,opacity:.8}}))]}),t("dd",{className:oe("mt-4 text-sm sm:mt-0",{"flex flex-col sm:flex-row sm:justify-end":e.pushContentToRight,"sm:col-span-1":e.twoGridColumns,"sm:col-span-2":!e.twoGridColumns}),style:{color:n.$3,colorScheme:n.$0},children:e.children})]})}const Im=St.button`
  color: ${e=>e.theme.color} !important;
  background-color: ${e=>e.theme.backgroundColor} !important;
  border-color: ${e=>e.theme.borderColor} !important;
`,Dm=St.div`
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`;function Sn(e){const n=g.useRef(null),[a,s]=g.useState(!1),o=rt(),[i,r]=g.useState(),c=(_,d)=>_==="div"?{onClick:()=>s(!1),key:d}:{setVisible:s,key:d};ta(n,()=>{a&&s(!1)}),g.useEffect(()=>{r(g.Children.toArray(e.children))},[e.children]);const l=me();return t("div",{ref:n,children:t(Is,{disabled:e.disabled,placement:"bottom",interactive:!0,render:()=>t(Dm,{theme:{hoverColor:l.$2},className:`border box rounded-md shadow-lg focus:outline-none whitespace-normal ${e.className}`,style:{backgroundColor:l.$1,borderColor:l.$4,minWidth:"12rem",maxWidth:"14.7rem"},"data-cy":e.cypressRef,children:i==null?void 0:i.map((_,d)=>_&&(_.type==M||_.type=="div")?g.cloneElement(_,c(_.type,d)):_)}),visible:a,children:f(Im,{theme:{backgroundColor:o,color:l.$9,borderColor:l.$5},type:"button",disabled:e.disabled,onClick:()=>s(!a),className:oe(`border inline-flex items-center space-x-2 px-4 justify-center rounded text-sm disabled:cursor-not-allowed disabled:opacity-75 py-2 ${e.className}`,{"hover:bg-white hover:border-gray-300":!e.cardActions,"hover:opacity-90":e.cardActions}),style:{backgroundColor:e.cardActions&&o,color:e.cardActions?"white":""},"data-cy":"chevronDownButton",children:[!e.cardActions&&t("span",{children:e.label}),t(as,{size:e.cardActions?18:14})]})})})}function Z(e){const[n]=N(),{padding:a="regular",height:s}=e,[o,i]=g.useState(e.collapsed),r=me();return t("div",{className:oe(`border shadow rounded overflow-visible ${e.className}`,{"overflow-y-auto":e.withScrollableBody,"h-full":s==="full"}),style:{...e.style,backgroundColor:r.$1,color:r.$3,borderColor:r.$4},children:f("form",{onSubmit:e.onFormSubmit,className:oe({"h-full":s==="full"}),children:[e.title&&t("div",{className:oe({"bg-white sticky top-0":e.withScrollableBody,"px-4 sm:px-6 py-3":a=="small","px-4 sm:px-6 py-5":a=="regular","border-b":!e.withoutHeaderBorder}),onClick:()=>typeof e.collapsed<"u"&&i(!o),style:{borderColor:r.$4},children:f("div",{className:oe("flex items-center justify-between",{"cursor-pointer select-none":typeof e.collapsed<"u"}),children:[f("div",{children:[t("h3",{className:oe("leading-6 font-medium",{"text-lg":a=="regular","text-md":a=="small"}),children:e.title}),e.description&&t("p",{className:"mt-1 max-w-2xl text-sm",children:e.description})]}),e.topRight,typeof e.collapsed<"u"&&o&&t(as,{}),typeof e.collapsed<"u"&&!o&&t(Or,{})]})}),f("div",{className:oe(e.childrenClassName,{hidden:o,"py-0":e.withoutBodyPadding,"py-4":a==="regular"&&!e.withoutBodyPadding,"py-2":a==="small"&&!e.withoutBodyPadding,"h-full":s==="full"}),children:[e.isLoading&&t(x,{leftSide:t(st,{})}),e.withContainer?t(Qn,{children:e.children}):e.children]}),(e.withSaveButton||e.additionalAction)&&t("div",{className:"border-t px-4 py-5 sm:p-0",style:{borderColor:r.$4},children:t("dl",{className:"sm:divide-y sm:divide-gray-200",children:f("div",{className:"sm:py-5 sm:px-6 flex justify-end space-x-4",children:[e.additionalAction,e.withSaveButton&&!e.additionalSaveOptions&&t(te,{onClick:e.onSaveClick,disabled:e.disableSubmitButton,disableWithoutIcon:e.disableWithoutIcon,children:e.saveButtonLabel??n("save")}),e.withSaveButton&&e.additionalSaveOptions&&f("div",{className:"flex",children:[t(te,{className:"rounded-br-none rounded-tr-none px-3",onClick:e.onSaveClick,disabled:e.disableSubmitButton,disableWithoutIcon:e.disableWithoutIcon,children:e.saveButtonLabel??n("save")}),t(Sn,{className:"rounded-bl-none rounded-tl-none h-full px-1 border-gray-200 border-l-1 border-y-0 border-r-0",disabled:e.disableSubmitButton,cardActions:!0,children:e.additionalSaveOptions.map((c,l)=>t(M,{icon:c.icon,disabled:e.disableSubmitButton,onClick:c.onClick,children:c.text},l))})]})]})})})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Qn(e){return t("div",{className:"px-6 py-4 space-y-6",children:e.children})}const $m=St.button`
  color: ${e=>e.theme.color};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }: 
`,Rm=St.a`
  color: ${e=>e.theme.color};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }: 
`,Vm=St(na)`
  color: ${e=>e.theme.color};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }: 
`;function Nt(e){const n=me(),a=`block w-full text-left px-4 sm:px-6 block py-4 space-x-3 text-sm ${e.className}`;return e.to?t(Vm,{theme:{hoverColor:n.$4,color:n.$3},to:e.to,style:{pointerEvents:e.disableNavigation?"none":"all"},className:a,children:e.children}):e.href?t(Rm,{theme:{hoverColor:n.$4,color:n.$3},target:"_blank",href:e.href,className:a,rel:"noreferrer",children:e.children}):t($m,{theme:{hoverColor:n.$4,color:n.$3},type:"button",onClick:e.onClick,onChange:e.onChange,className:a,children:e.children})}const qm=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2f7dc3","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#ff9800","#ff5722","#795548","#9e9e9e","#607d8b","#616161","#000000","#57a6e4","#324da1","#4c9a1c","#cd8900","#b93700"],Gs=["sidebar_active_background_color","sidebar_active_font_color","sidebar_inactive_background_color","sidebar_inactive_font_color","invoice_header_background_color","invoice_header_font_color","table_alternate_row_background_color"],Uo={light:{palette:["#58a6e4","#324ea1","#4c9a1d","#cd8900","#b83700"]},dark:{palette:["#298aaa","#0c45a3","#407535","#a87001","#8b3c40"]},cerulean:{palette:["#043c73","#2fa3e7","#74a739","#dd5601","#c71b22"]},cosmo:{palette:["#9954bc","#2680e3","#3db616","#ff7518","#ff0039"]},cyborg:{palette:["#9933cc","#299fd6","#76b400","#ff8802","#cc0100"]},darkly:{palette:["#3498dc","#375a7f","#00bc8c","#f29c13","#e74b3c"]},flatly:{palette:["#3498dc","#2c3f51","#12bd9d","#f29c13","#e74b3c"]},journal:{palette:["#346599","#eb6864","#1fb34d","#f6e524","#f57900"]},litera:{palette:["#1aa1b8","#4581eb","#00b975","#f0ad4e","#d9534f"]},lumen:{palette:["#75caeb","#158cba","#29b72b","#ff851b","#ff4136"]},lux:{palette:["#209bcf","#1a1a1a","#4ac073","#f0ad4e","#d9534f"]},materia:{palette:["#9c27b0","#2196f3","#4dae51","#ff9800","#e61d23"]},minty:{palette:["#6cc3d6","#78c2ad","#55cc9d","#ffce67","#ff7852"]},pulse:{palette:["#009cdd","#583196","#0fba54","#efa31b","#fc3938"]},sandstone:{palette:["#2aaae0","#335d87","#94c44b","#f37c3d","#d9534f"]},simplex:{palette:["#009acf","#d9230d","#479505","#d9831f","#9c479f"]},sketchy:{palette:["#1aa1b8","#333333","#29a645","#ffc008","#db3546"]},slate:{palette:["#5ac0de","#3a3f43","#62c362","#f89407","#ee5f5a"]},solar:{palette:["#258bd2","#b58802","#2aa198","#cb4a15","#d33582"]},spacelab:{palette:["#3199f3","#456e9c","#3cb521","#d47500","#cd0300"]},superhero:{palette:["#cd0300","#df6919","#5bb85b","#f0ad4e","#d9534f"]},united:{palette:["#1aa1b8","#e9551f","#38b549","#eeb83e","#de382c"]},yeti:{palette:["#5ac0de","#008cba","#44ab6a","#ea9005","#f14125"]}};function Lm(){return(e,n)=>e&&V_().test(e)?e:n}function bn(){var a,s,o;const e=Et(),n={$1:"",$2:"",$3:"",$4:"",$5:""};return(o=(s=Uo[(a=e==null?void 0:e.color_theme)==null?void 0:a.status_color_theme])==null?void 0:s.palette)==null||o.forEach((i,r)=>{n[`$${r+1}`]=i}),n}function pi(){const e=Et(),n={$1:"",$2:"",$3:"",$4:"",$5:"",$6:"",$7:""};return Gs.forEach((a,s)=>{var o;n[`$${s+1}`]=((o=e==null?void 0:e.color_theme)==null?void 0:o[a])||""}),n}function Om(){var r;const[e]=N(),n=Et(),a=Ae(),s=Ls(),o=()=>{let c="";Gs.forEach(l=>{var _,d;!c&&((_=n==null?void 0:n.color_theme)!=null&&_[l])&&(c=n.color_theme[l]),c&&((d=n==null?void 0:n.color_theme)!=null&&d[l])&&(c+=","+n.color_theme[l])}),navigator.clipboard.writeText(c).then(()=>T.success("copied_to_clipboard",{value:""}))},i=()=>{const c=ce.cloneDeep(n==null?void 0:n.color_theme);c&&(Gs.forEach(l=>{c[l]=""}),a(ja({property:"company_user.react_settings.color_theme",value:c})))};return f(F,{children:[t(x,{leftSide:e("status_color_theme"),children:t(se,{value:((r=n==null?void 0:n.color_theme)==null?void 0:r.status_color_theme)||"light",onValueChange:c=>s("company_user.react_settings.color_theme.status_color_theme",c),customSelector:!0,children:Object.keys(Uo).map((c,l)=>{var _,d;return t("option",{value:c,children:f("div",{className:"flex w-full space-x-2",children:[t("span",{className:"flex w-1/4 capitalize truncate",children:e(c)}),t("div",{className:"flex",children:(d=(_=Uo[c])==null?void 0:_.palette)==null?void 0:d.map(p=>t("div",{style:{backgroundColor:p,width:50,height:20}},p))})]})},l)})})}),Gs.map(c=>t(x,{leftSide:e(c),children:t(Mm,{fieldKey:c})},c)),f("div",{className:"flex justify-end px-6 mt-10 space-x-4",children:[t(te,{behavior:"button",type:"secondary",onClick:i,children:e("clear_all")}),t(te,{behavior:"button",onClick:o,children:e("export_colors")})]})]})}function Mm(e){var o;const{fieldKey:n}=e,a=Et(),s=Ls();return f("div",{className:"flex space-x-20",children:[t(q,{value:((o=a==null?void 0:a.color_theme)==null?void 0:o[n])||"",onValueChange:i=>s(`company_user.react_settings.color_theme.${n}`,i)}),t(jm,{fieldKey:n})]})}function jm(e){var d;const[n]=N(),{fieldKey:a}=e,s=Et(),o=Lm(),i=Ls(),[r,c]=g.useState(!1),[l,_]=g.useState("");return g.useEffect(()=>{var p;r&&_(((p=s==null?void 0:s.color_theme)==null?void 0:p[a])||"")},[r]),f(F,{children:[f("div",{className:"flex items-center space-x-2",children:[t("div",{className:"cursor-pointer hover:opacity-75",onClick:()=>c(!0),style:{width:100,height:38,backgroundColor:o((d=s==null?void 0:s.color_theme)==null?void 0:d[a],"#9e9e9e")}}),t(L,{className:"cursor-pointer",element:Hn,size:26,onClick:()=>i(`company_user.react_settings.color_theme.${a}`,"")})]}),t(Fe,{title:n(a),visible:r,size:"small",onClose:()=>c(!1),children:f("div",{className:"flex flex-col space-y-6",children:[t("div",{className:"grid grid-cols-6 gap-x-2 gap-y-2",children:qm.map(p=>t("div",{className:"relative cursor-pointer w-full hover:opacity-75",onClick:()=>_(p),style:{height:32,backgroundColor:p},children:l===p&&t(L,{className:"absolute",element:Yo,color:"white",size:25,style:{top:"0.3rem",left:"1.45rem"}})},p))}),t(te,{className:"self-end",behavior:"button",onClick:()=>{i(`company_user.react_settings.color_theme.${a}`,l),c(!1)},children:n("done")})]})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const rs=e=>{e=e.replace("#",""),e.length===3&&(e=e.split("").map(o=>o+o).join(""));const n=parseInt(e.substring(0,2),16),a=parseInt(e.substring(2,4),16),s=parseInt(e.substring(4,6),16);return{red:n,green:a,blue:s,hex:`#${e}`}},Os=(e,n,a)=>e+n+a>384;function Ms(){return(e,n)=>"#"+e.replace(/^#/,"").replace(/../g,o=>{const i="0"+Math.min(255,Math.max(0,parseInt(o,16)+n)).toString(16),r=i.length;return i.substring(r-2,r)})}const Fm=St.div`
  background-color: ${e=>e.theme.color};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`,Zi=St(Pe)`
  &:hover {
    background-color: ${e=>{if(e.theme.hoverColor){const n=rs(e.theme.hoverColor);return`rgba(${n.red}, ${n.green}, ${n.blue}, 0.1)`}return e.theme.hoverColor}};
  }
`;function Ho(e){var r;const{item:n}=e,a=me(),s=aa(),o=pi(),i=!!((r=s==null?void 0:s.company_user)!=null&&r.react_settings.show_mini_sidebar);return n.visible?f(Fm,{theme:{color:n.current?o.$1||a.$8:o.$3||"transparent",hoverColor:o.$1||a.$8},className:oe("flex items-center justify-between group px-4 text-sm font-medium",{"text-white border-l-4 border-transparent":n.current,"text-gray-300 border-l-4 border-transparent":!n.current}),children:[t(Zi,{to:n.href,className:"w-full",withoutDefaultStyling:!0,children:f("div",{className:"flex justify-start items-center my-2",style:{color:n.current?o.$2:o.$4},children:[t(n.icon,{className:oe("mr-3 flex-shrink-0 h-5 w-5",{"text-white":n.current,"text-gray-300 group-hover:text-white":!n.current}),"aria-hidden":"true",style:{color:n.current?o.$2:o.$4}}),!i&&n.name]})}),n.rightButton&&!i&&n.rightButton.visible&&t(Zi,{theme:{hoverColor:a.$13},to:n.rightButton.to,className:"rounded-full p-1.5",withoutDefaultStyling:!0,children:t(n.rightButton.icon,{className:"h-5 w-5",style:{color:n.current?o.$2:o.$4}})})]},n.name):t(F,{})}function Qt(e){const n=me(),{width:a,placement:s,withoutArrow:o,tooltipElement:i,message:r,disabled:c,withoutWrapping:l}=e,_=g.useRef(null),[d,p]=g.useState(0),[m,h]=g.useState(!1);return g.useEffect(()=>{var b,w;const u=(b=_==null?void 0:_.current)==null?void 0:b.offsetWidth,v=(w=_==null?void 0:_.current)==null?void 0:w.children[0];v&&u&&(v.offsetWidth>u?(p(u+10),h(!0)):p(v.offsetWidth+10))},[_,e.message]),t("div",{className:oe(e.className,{"max-w-sm":e.size===void 0||e.size==="small","max-w-md":e.size==="regular","max-w-xl":e.size==="large"}),children:t(Is,{placement:s||"top-start",interactive:!0,render:()=>f("div",{className:"flex flex-col items-center",onClick:u=>u.stopPropagation(),children:[f("div",{className:oe("relative p-2 text-xs text-center text-white rounded-md",{"leading-1":m,"leading-none":!m,"whitespace-normal break-all":!!r&&!l,"whitespace-nowrap":l}),style:{width:a||d,backgroundColor:n.$5,color:n.$3},children:[r,i]}),!o&&t(L,{className:"rotate-90 -mt-2.5",element:Rd,size:24,style:{color:n.$5}})]}),disabled:c,children:t("div",{ref:_,className:oe("cursor-pointer",{"truncate w-full":e.truncate,"flex items-center":e.centerVertically}),children:e.children})})})}function Bm(e){var i;const n=aa(),a=!!((i=n==null?void 0:n.company_user)!=null&&i.react_settings.show_mini_sidebar),s=mo(),o=me();return t("div",{className:oe("hidden md:flex z-10 md:flex-col md:fixed md:inset-y-0",{"md:w-16":a,"md:w-64":!a}),children:f("div",{style:{backgroundColor:o.$6,borderColor:o.$4},className:"flex flex-col flex-grow overflow-y-auto border-r",children:[t("div",{style:{borderColor:o.$5,backgroundColor:o.$1,color:o.$3},className:oe("flex items-center flex-shrink-0 h-16 border-b",{"pl-3 pr-6":!a,"justify-center":a}),children:a?t("img",{className:"w-8",src:s,alt:"Company logo"}):t(lc,{})}),f("div",{className:"flex-grow flex flex-col mt-4",children:[t("nav",{className:"flex-1 pb-4 space-y-1","data-cy":"navigationBar",children:e.navigation.map((r,c)=>a?t(Qt,{message:r.name,width:"auto",placement:"right",withoutArrow:!0,withoutWrapping:!0,children:t(Ho,{item:r},c)},c):t(Ho,{item:r},c))}),t(dc,{docsLink:e.docsLink})]})]})})}function zm(e){var i;const n=mo(),a=me(),s=aa(),o=!!((i=s==null?void 0:s.company_user)!=null&&i.react_settings.show_mini_sidebar);return t($n.Root,{show:e.sidebarOpen,as:g.Fragment,children:f(Ra,{as:"div",className:"fixed inset-0 flex z-40 md:hidden",onClose:e.setSidebarOpen,style:{width:o?"4rem":"19.4rem"},children:[t($n.Child,{as:g.Fragment,enter:"transition-opacity ease-linear duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity ease-linear duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:t(Ra.Overlay,{className:"fixed inset-0 bg-gray-600 bg-opacity-75"})}),t($n.Child,{as:g.Fragment,enter:"transition ease-in-out duration-300",enterFrom:"-translate-x-full",enterTo:"translate-x-0",leave:"transition ease-in-out duration-300",leaveFrom:"translate-x-0",leaveTo:"-translate-x-full",children:f("div",{className:"relative flex-1 flex flex-col max-w-xs w-full bg-ninja-gray dark:bg-gray-900",children:[t($n.Child,{as:g.Fragment,enter:"ease-in-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:t("div",{className:"absolute top-0 right-0 -mr-12 pt-2",children:f("button",{type:"button",className:"ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",onClick:()=>e.setSidebarOpen(!1),children:[t("span",{className:"sr-only",children:"Close sidebar"}),t(Ln,{className:"text-white"})]})})}),t("div",{className:"flex-shrink-0 flex items-center px-4 py-3 border-b h-16 justify-center border-gray-600",style:{backgroundColor:a.$1,color:a.$3},children:o?t("img",{className:"w-8",src:n,alt:"Company logo"}):t(lc,{})}),f("div",{className:"flex flex-col flex-1 h-0 overflow-y-auto mt-4",children:[t("nav",{className:"flex-1 space-y-1",children:e.navigation.map((r,c)=>t(Ho,{item:r},c))}),t(dc,{mobileNavbar:!0})]})]})}),t("div",{className:"flex-shrink-0 w-14","aria-hidden":"true"})]})})}var ve=(e=>(e[e.Invoices=4096]="Invoices",e[e.RecurringInvoices=1]="RecurringInvoices",e[e.Quotes=4]="Quotes",e[e.Credits=2]="Credits",e[e.Projects=32]="Projects",e[e.Tasks=8]="Tasks",e[e.Vendors=64]="Vendors",e[e.Expenses=16]="Expenses",e[e.RecurringExpenses=512]="RecurringExpenses",e[e.PurchaseOrders=16384]="PurchaseOrders",e[e.Transactions=256]="Transactions",e))(ve||{});const Um=[{label:"invoices",bitmask:4096},{label:"recurring_invoices",bitmask:1},{label:"quotes",bitmask:4},{label:"credits",bitmask:2},{label:"projects",bitmask:32},{label:"tasks",bitmask:8},{label:"vendors",bitmask:64},{label:"expenses",bitmask:16},{label:"purchase_orders",bitmask:16384},{label:"recurring_expenses",bitmask:512},{label:"transactions",bitmask:256}];function Hm(){const[e]=N(),n=$e(),a=Ae(),s=(o,i)=>a(Ge({object:"company",property:"enabled_modules",value:(n==null?void 0:n.enabled_modules)^i}));return t(Z,{title:e("enabled_modules"),children:Um.map((o,i)=>t(x,{leftSide:e(o.label),children:t(B,{checked:!!((n==null?void 0:n.enabled_modules)&o.bitmask),onChange:r=>s(r,o.bitmask)},o.label)},i))})}function ye(e){const n=me();return t("div",{style:{borderColor:e.borderColor||n.$4},className:oe("border-b",{"pt-6 mb-4 border-b":!e.withoutPadding},e.className??"")})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function vn(){var e,n;return((n=(e=Wn.getState().companyUsers.api)==null?void 0:e[Wn.getState().companyUsers.currentIndex])==null?void 0:n.account.plan)==="pro"}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ct(){var e,n;return((n=(e=Wn.getState().companyUsers.api)==null?void 0:e[Wn.getState().companyUsers.currentIndex])==null?void 0:n.account.plan)==="enterprise"}function Gm(){const[e]=N(),{isAdmin:n}=Je();return f(Z,{title:e("integrations"),children:[((vn()||Ct())&&It()||Ft())&&n&&t(Nt,{to:"/settings/integrations/api_tokens",children:e("api_tokens")}),t(Nt,{to:"/settings/integrations/api_webhooks",children:e("api_webhooks")}),t(Nt,{href:"https://invoiceninja.github.io",children:e("api_docs")}),t(ye,{}),t(Nt,{className:"mt-4",href:"https://zapier.com/apps/invoice-ninja/integrations",children:"Zapier"}),t(Nt,{to:"/settings/integrations/analytics",children:e("analytics")})]})}function Wm(){const[e]=N(),n=Ae(),a=$e(),s=Fa(),[o,i]=g.useState(!0),r=(l,_)=>n(Ge({object:"company",property:l,value:_})),c=()=>{T.processing(),$("POST",D(`/api/v1/companies/${a.id}/default`),{}).then(l=>{T.success(l.data.message),i(!1)})};return f(Z,{title:e("overview"),children:[t(x,{leftSide:e("activate_company"),leftSideHelp:e("activate_company_help"),children:t(B,{checked:!(a!=null&&a.is_disabled),onChange:l=>r("is_disabled",!l)})}),t(x,{leftSide:e("enable_markdown"),leftSideHelp:e("enable_markdown_help"),children:t(B,{checked:a==null?void 0:a.markdown_enabled,onChange:l=>r("markdown_enabled",l)})}),t(x,{leftSide:e("include_drafts"),leftSideHelp:e("include_drafts_help"),children:t(B,{checked:a==null?void 0:a.report_include_drafts,onChange:l=>r("report_include_drafts",l)})}),s.default_company_id!==(a==null?void 0:a.id)&&o&&f(F,{children:[t(H_,{}),t(x,{leftSide:e("set_default_company"),children:t(te,{type:"minimal",behavior:"button",onClick:c,children:a==null?void 0:a.settings.name})})]})]})}function Km(){var o,i;const[e]=N(),n=bt(),a=Fa(),{dateFormat:s}=At();return f(Z,{title:e("plan"),children:[t(x,{className:"mb-3",leftSide:e("plan"),children:f(F,{children:[t("span",{children:a!=null&&a.plan?`${e(a.plan)} ${e("plan")} `:`${e("free")} ${e("plan")} `}),f("span",{children:["/ ",a.num_users," ",e("users")]})]})}),(a==null?void 0:a.plan_expires)!==""&&t(x,{leftSide:e("expires_on"),children:fe(a.plan_expires).year()>2e3?Qe(a.plan_expires,s):e("forever_free")}),((o=n==null?void 0:n.company_user)==null?void 0:o.is_owner)&&t(x,{children:t(Pe,{className:"mt-4",external:!0,to:(i=n==null?void 0:n.company_user)==null?void 0:i.ninja_portal_url,children:e("plan_change")})}),Ft()]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const ct=et(void 0);function Qm(){const[e]=N(),n=$e(),a=De(ct),s=Ce(),o=Ae(),[i,r]=g.useState(!1),c=[{value:18e5,label:U(e("count_minutes"),{count:"30"})},{value:72e5,label:U(e("count_hours"),{count:"2"})},{value:288e5,label:U(e("count_hours"),{count:"8"})},{value:864e5,label:U(e("count_day"),{count:"1"})},{value:6048e5,label:U(e("count_days"),{count:"7"})},{value:2592e6,label:U(e("count_days"),{count:"30"})},{value:0,label:e("never")}],l=p=>o(Ge({object:"company",property:p.target.id,value:p.target.value})),_=(p,m)=>o(Ge({object:"company",property:p,value:m})),d=()=>{i||(r(!0),$("POST",D("/api/v1/logout")).then(()=>{T.success("success"),s("/logout")}).finally(()=>r(!1)))};return f(Z,{title:e("security_settings"),children:[t(x,{leftSide:e("password_timeout"),children:t(se,{id:"default_password_timeout",value:n==null?void 0:n.default_password_timeout,onChange:l,errorMessage:a==null?void 0:a.errors.default_password_timeout,children:c.map(p=>t("option",{value:p.value,children:p.label},p.value))})}),t(x,{leftSide:e("web_session_timeout"),children:t(se,{id:"session_timeout",value:n==null?void 0:n.session_timeout,onChange:l,errorMessage:a==null?void 0:a.errors.session_timeout,children:c.map(p=>t("option",{value:p.value,children:p.label},p.value))})}),t(x,{leftSide:e("require_password_with_social_login"),children:t(B,{checked:n==null?void 0:n.oauth_password_required,id:"oauth_password_required",onChange:p=>_("oauth_password_required",p)})}),t(x,{leftSide:e("end_all_sessions"),leftSideHelp:e("end_all_sessions_help"),children:t(te,{behavior:"button",type:"secondary",onClick:d,disabled:i,disableWithoutIcon:!0,children:e("logout")})})]})}function Ym(){const[e]=N(),n=we(),a=Ie(un),s=qt(b=>b.companyUsers),[o,i]=g.useState(""),[r,c]=g.useState(""),[l,_]=g.useState(!1),[d,p]=g.useState(!1),[m,h]=g.useState(""),u=()=>{T.processing(),$("POST",D("/api/v1/companies/purge_save_settings/:id",{id:n.id}),{cancellation_message:r},{headers:{"X-Api-Password":o}}).then(()=>T.success("purge_successful")).catch(b=>{var w;((w=b.response)==null?void 0:w.status)===412&&(T.error("password_error_incorrect"),a(0))}).finally(()=>_(!1))},v=()=>{T.processing(),$("DELETE",D("/api/v1/companies/:id",{id:n.id}),{},{headers:{"X-Api-Password":o}}).then(()=>window.location.reload()).catch(b=>{var w;((w=b.response)==null?void 0:w.status)===412&&(T.error("password_error_incorrect"),a(0))})};return f(F,{children:[f(Fe,{title:e("purge_data"),text:e("purge_data_message"),visible:l,onClose:_,children:[t(q,{label:U(e("please_type_to_confirm"),{value:"purge"}),id:"purge_data",onChange:b=>h(b.target.value),required:!0}),t(q,{type:"password",label:e("password"),id:"password",onChange:b=>i(b.target.value),required:!0}),m==="purge"&&t(te,{onClick:u,children:e("continue")})]}),f(Fe,{title:(s==null?void 0:s.api.length)>1?e("delete_company"):e("cancel_account"),text:(s==null?void 0:s.api.length)>1?`${e("delete_company_message")} (${n==null?void 0:n.settings.name})`:e("cancel_account_message"),visible:d,onClose:p,children:[t(q,{label:U(e("please_type_to_confirm"),{value:"delete"}),id:"cancel_account",onChange:b=>h(b.target.value),required:!0}),t(q,{type:"text",label:e("reason_for_canceling"),id:"feedback",onChange:b=>c(b.target.value)}),t(q,{type:"password",label:e("password"),id:"password",onChange:b=>i(b.target.value),required:!0}),m==="delete"&&t(te,{onClick:v,children:e("continue")})]}),f(Z,{title:e("danger_zone"),children:[t(Nt,{onClick:()=>_(!0),className:"text-red-500 hover:text-red-600",children:e("purge_data")}),t(Nt,{onClick:()=>p(!0),className:"text-red-500 hover:text-red-600",children:(s==null?void 0:s.api.length)>1?e("delete_company"):e("cancel_account")})]})]})}function Dt(e){const n=e.text||"",a=()=>{navigator.clipboard.writeText(n),T.success("copied_to_clipboard",{value:""})};return f("div",{className:`inline-flex space-x-2 ${e.className}`,children:[t("span",{children:e.secure?e.text.split("").map(()=>"*"):n}),n.length>0&&navigator.clipboard&&window.isSecureContext&&t("button",{type:"button",onClick:a,children:t(Nr,{size:18})})]})}function Xm(){var a,s,o;const[e]=N(),n=bt();return f(Z,{title:e("referral_program"),children:[t(x,{leftSide:e("referral_code"),children:t(Dt,{text:`https://app.invoicing.co/#/register?rc=${n==null?void 0:n.referral_code}`})}),t(x,{leftSide:e("free"),children:((a=n==null?void 0:n.referral_meta)==null?void 0:a.free)||0}),t(x,{leftSide:e("pro"),children:((s=n==null?void 0:n.referral_meta)==null?void 0:s.pro)||0}),t(x,{leftSide:e("enterprise"),children:((o=n==null?void 0:n.referral_meta)==null?void 0:o.enterprise)||0})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Jm(){return[{name:"income",icon:Vd,visible:!0},{name:"expense",icon:qd,visible:!0},{name:"settings",icon:Ld,visible:It()}]}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Ut=et(void 0);/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function _c(e){const{isAdmin:n}=Je(),{status:a}=e||{};return xe(["/api/v1/company_gateways",e],()=>$("GET",D("/api/v1/company_gateways?sort=id|desc&status=:status",{status:a||"active"})),{staleTime:1/0,enabled:n})}function Zm(e){const{isAdmin:n}=Je();return xe(["/api/v1/company_gateways",e.id,e.queryParams],()=>$("GET",D(`/api/v1/company_gateways/:id?${e.queryParams||""}`,{id:e.id})),{staleTime:1/0,enabled:(e.enabled??!0)&&n})}function ep(){const{isAdmin:e}=Je();return xe(["/api/v1/company_gateways/create"],()=>$("GET",D("/api/v1/company_gateways/create")),{staleTime:1/0,enabled:e})}function uc(){const e=Xe(),n=De(Ut);return async(a,s)=>(T.processing(),$("POST",D("/api/v1/company_gateways/bulk"),{action:s,ids:a}).then(()=>{T.success(`${s}d_company_gateway`),ie(["company_gateways"]),n&&e.invalidateQueries([n])}))}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function mc(e){const{isAdmin:n,isOwner:a}=Je();return xe(["/api/v1/bank_integrations",e.id],()=>$("GET",D("/api/v1/bank_integrations/:id",{id:e.id})).then(s=>s.data.data),{enabled:(e.enabled??!0)&&(n||a),staleTime:1/0})}function tp(e){const{perPage:n}=e||{};return xe(["/api/v1/bank_integrations"],()=>$("GET",D("/api/v1/bank_integrations?per_page=:perPage&status=active",{perPage:n??20})).then(a=>a.data.data),{staleTime:1/0})}function pc(){const{isAdmin:e,isOwner:n}=Je();return xe(["/api/v1/bank_integrations","create"],()=>$("GET",D("/api/v1/bank_integrations/create")).then(a=>a.data.data),{staleTime:1/0,enabled:e||n})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function hc(e){return xe(["/api/v1/tax_rates",e],()=>$("GET",D("/api/v1/tax_rates?per_page=:perPage&page=:currentPage&sort=:sort&status=:status",{perPage:e.perPage??1e3,currentPage:e.currentPage,sort:e.sort??"id|asc",status:e.status??"all"})),{staleTime:1/0})}function np(e){return xe(["/api/v1/tax_rates",e.id],()=>$("GET",D("/api/v1/tax_rates/:id",{id:e.id})),{staleTime:1/0})}function ap(){const{isAdmin:e}=Je();return xe(["/api/v1/tax_rates","create"],()=>$("GET",D("/api/v1/tax_rates/create")).then(n=>n.data.data),{staleTime:1/0,enabled:e})}function sp(){return(e,n)=>{T.processing(),$("POST",D("/api/v1/tax_rates/bulk"),{action:n,ids:[e]}).then(()=>{T.success(`${n}d_tax_rate`),ie(["tax_rates"])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function je(e){return()=>{var a,s,o;const n=!!(((o=(s=(a=Wn.getState().companyUsers.api)==null?void 0:a[Wn.getState().companyUsers.currentIndex])==null?void 0:s.company)==null?void 0:o.enabled_modules)&e);return new Promise(i=>i(n))}}function fc(){const e=we();return n=>!!((e==null?void 0:e.enabled_modules)&n)}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function op(){const e=we(),n=ot(),a=fc(),{isAdmin:s,isOwner:o}=Je(),{data:i}=_c(),{data:r}=tp(),{data:c}=hc({}),[l,_]=g.useState(),[d,p]=g.useState(),[m,h]=g.useState();return g.useEffect(()=>{i&&_(i.data.data),r&&p(r),c&&h(c.data.data)},[i,r,c]),[{key:"client",url:"/clients/create",section:"income",visible:n("create_client")},{key:"product",url:"/products/create",section:"income",visible:n("create_product")},{key:"invoice",url:"/invoices/create",section:"income",visible:n("create_invoice")&&a(ve.Invoices)},{key:"recurring_invoice",url:"/recurring_invoices/create",section:"income",visible:n("create_recurring_invoice")&&a(ve.RecurringInvoices)},{key:"quote",url:"/quotes/create",section:"income",visible:n("create_quote")&&a(ve.Quotes)},{key:"credit",url:"/credits/create",section:"income",visible:n("create_credit")&&a(ve.Credits)},{key:"payment",url:"/payments/create",section:"income",visible:n("create_payment")},{key:"subscription",url:"/settings/subscription/create",section:"income",visible:(vn()||Ct())&&(s||o)},{key:"expense",url:"/expenses/create",section:"expense",visible:n("create_expense")&&a(ve.Expenses)},{key:"purchase_order",url:"/purchase_orders/create",section:"expense",visible:n("create_purchase_order")&&a(ve.PurchaseOrders)},{key:"vendor",url:"/vendors/create",section:"expense",visible:n("create_vendor")&&a(ve.Vendors)},{key:"transaction",url:"/transactions/create",section:"expense",visible:n("create_bank_transaction")&&a(ve.Transactions)},{key:"add_stripe",url:"/settings/gateways/create",section:"settings",visible:!(l!=null&&l.length)&&(s||o)},{key:"add_bank_account",url:"/settings/bank_accounts/create",section:"settings",visible:Ct()&&!(d!=null&&d.length)&&(s||o)},{key:"tax_settings",url:"/settings/tax_rates/create",section:"settings",visible:!(m!=null&&m.length)&&(s||o)},{key:"add_company_logo",url:"/settings/company_details/logo",section:"settings",visible:!(e!=null&&e.settings.company_logo)&&(s||o)},{key:"templates_and_reminders",url:"/settings/templates_and_reminders",section:"settings",visible:(vn()||Ct())&&(s||o)}]}const ip=St.div`
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`;function rp(){var l;const[e]=N(),n=is(),a=me(),s=rt(),o=op(),i=Jm(),r=aa(),c=!!((l=r==null?void 0:r.company_user)!=null&&l.react_settings.show_mini_sidebar);return t(No,{className:"relative mt-2",children:()=>f(F,{children:[f(No.Button,{"data-cy":"quickPopoverButton",style:{backgroundColor:a.$1,color:a.$3},className:oe("group inline-flex items-center rounded text-base font-medium  focus:outline-none focus:ring-1 focus:ring-gray-200 focus:ring-offset-2"),children:[t(Yi,{className:"cursor-pointer text-xl"}),t(Od,{className:"cursor-pointer text-xl"})]}),t($n,{as:g.Fragment,enter:"transition ease-out duration-200",enterFrom:"opacity-0 translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-1",children:t(No.Panel,{className:oe("absolute z-10 mt-3 w-screen max-w-md -translate-x-1/2 transform px-2",{"left-14 md:-left-12 md:max-w-2xl lg:max-w-3xl lg:left-full":!c,"left-14 md:left-52 md:max-w-2xl lg:max-w-3xl":c,"left-14 md:left-8 lg:max-w-lg lg:left-full":Ft(),"left-14 md:left-8 lg:max-w-lg lg:left-20":Ft()}),children:t("div",{style:{borderColor:a.$4},className:"border overflow-hidden rounded-lg shadow-lg ring-1 ring-black ring-opacity-5",children:t("div",{style:{backgroundColor:a.$1},className:oe("relative grid gap-y-4 md:gap-y-0 px-2 py-4 grid-cols-2",{"md:grid-cols-3":It()}),children:i.map(_=>_.visible&&f("div",{className:"flex flex-col items-start rounded-lg transition duration-150 ease-in-out",children:[f("div",{className:"flex items-center pl-3",children:[t(_.icon,{className:"text-base",color:s}),t("p",{style:{color:a.$3},className:"uppercase text-sm tracking-wide font-medium ml-1 md:ml-2",children:e(_.name)})]}),t("div",{className:"flex flex-col w-full mt-2 space-y-2",children:o.map(d=>d.section===_.name&&d.visible&&f(ip,{theme:{hoverColor:a.$2},className:"flex items-center pl-3 space-x-1 py-1 cursor-pointer rounded",onClick:()=>n({url:d.url,externalLink:d.externalLink}),children:[t(Yi,{className:"text-base",style:{color:a.$3}}),t("span",{style:{color:a.$3},className:"text-sm text-gray-800",children:e(d.key)})]},d.key))})]},_.name))})})})})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function cp(){const e=Fa(),{isAdmin:n,isOwner:a}=Je(),s=new Date(e==null?void 0:e.plan_expires)<new Date;return(po()||(e==null?void 0:e.plan)&&s)&&(n||a)}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function lp(){const e=Fa();return Je(),new Date(e==null?void 0:e.plan_expires)<new Date,Ft()}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */var Cs=(e=>(e.Company="company",e.Group="group",e.Client="client",e))(Cs||{});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function hi(){const e=qt(n=>n.settings.activeSettings);return{name:e.name,level:e.level}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function lt(){const e=hi(),n=Cs.Company===e.level,a=Cs.Group===e.level,s=Cs.Client===e.level;return{isCompanySettingsActive:n,isGroupSettingsActive:a,isClientSettingsActive:s}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function dp(){const[e]=N(),n=zt(),{isCompanySettingsActive:a}=lt(),{isOwner:s,isAdmin:o}=Je(),i=[{name:e("company_details"),href:"/settings/company_details",current:n.pathname.startsWith("/settings/company_details"),enabled:o||s||!1},{name:e("user_details"),href:"/settings/user_details",current:n.pathname.startsWith("/settings/user_details"),enabled:a},{name:e("localization"),href:"/settings/localization",current:n.pathname.startsWith("/settings/localization"),enabled:o||s||!1},{name:e("payment_settings"),href:"/settings/online_payments",current:n.pathname.startsWith("/settings/online_payments")||n.pathname.startsWith("/settings/gateways")||n.pathname.startsWith("/settings/payment_terms"),enabled:o||s||!1},{name:e("tax_settings"),href:"/settings/tax_settings",current:n.pathname.startsWith("/settings/tax_settings")||n.pathname.startsWith("/settings/tax_rates"),enabled:o||s||!1},{name:e("product_settings"),href:"/settings/product_settings",current:n.pathname.startsWith("/settings/product_settings"),enabled:(o||s)&&a||!1},{name:e("task_settings"),href:"/settings/task_settings",current:n.pathname.startsWith("/settings/task_settings")||n.pathname.startsWith("/settings/task_statuses"),enabled:o||s||!1},{name:e("expense_settings"),href:"/settings/expense_settings",current:n.pathname.startsWith("/settings/expense_settings")||n.pathname.startsWith("/settings/expense_categories"),enabled:(o||s)&&a||!1},{name:e("workflow_settings"),href:"/settings/workflow_settings",current:n.pathname.startsWith("/settings/workflow_settings"),enabled:o||s||!1},{name:e("account_management"),href:"/settings/account_management",current:n.pathname.startsWith("/settings/account_management"),enabled:(o||s)&&a||!1},{name:e("backup_restore"),href:"/settings/backup_restore",current:n.pathname.startsWith("/settings/backup_restore"),enabled:(o||s)&&a||!1},{name:e("import_export"),href:"/settings/import_export",current:n.pathname.startsWith("/settings/import_export"),enabled:(o||s)&&a||!1}],r=[{name:e("invoice_design"),href:"/settings/invoice_design",current:n.pathname.endsWith("/settings/invoice_design"),enabled:o||s||!1},{name:e("custom_fields"),href:"/settings/custom_fields",current:n.pathname.startsWith("/settings/custom_fields"),enabled:(o||s)&&a||!1},{name:e("generated_numbers"),href:"/settings/generated_numbers",current:n.pathname.startsWith("/settings/generated_numbers"),enabled:o||s||!1},{name:e("client_portal"),href:"/settings/client_portal",current:n.pathname.startsWith("/settings/client_portal"),enabled:o||s||!1},{name:e("e_invoice"),href:"/settings/e_invoice",current:n.pathname.startsWith("/settings/e_invoice"),enabled:o||s||!1},{name:e("email_settings"),href:"/settings/email_settings",current:n.pathname.startsWith("/settings/email_settings"),enabled:o||s||!1},{name:e("templates_and_reminders"),href:"/settings/templates_and_reminders",current:n.pathname.startsWith("/settings/templates_and_reminders"),enabled:o||s||!1},{name:e("bank_accounts"),href:"/settings/bank_accounts",current:n.pathname.startsWith("/settings/bank_accounts"),enabled:(o||s)&&a||!1},{name:e("group_settings"),href:"/settings/group_settings",current:n.pathname.startsWith("/settings/group_settings"),enabled:(o||s)&&a||!1},{name:e("payment_links"),href:"/settings/subscriptions",current:n.pathname.startsWith("/settings/subscriptions"),enabled:(o||s)&&a||!1},{name:e("schedules"),href:"/settings/schedules",current:n.pathname.startsWith("/settings/schedules"),enabled:(o||s)&&a||!1},{name:e("user_management"),href:"/settings/users",current:n.pathname.startsWith("/settings/users"),enabled:(o||s)&&a||!1},{name:e("system_logs"),href:"/settings/system_logs",current:n.pathname.startsWith("/settings/system_logs"),enabled:(o||s)&&a||!1}];return{basic:i,advanced:r}}const gc=et(null);function RQe(e,n=[]){const[a,s]=tt(gc),{displayButton:o=!0}=e||{};return g.useEffect(()=>(e&&o&&s(e),e&&!o&&s(null),()=>{s(null)}),n),a}const _p=et(null);function up(e,n=[]){const[a,s]=tt(_p);return g.useEffect(()=>(e&&s(e),()=>{s(null)}),n),a}function fi({variant:e,children:n,className:a,id:s}){return t("div",{id:s,className:oe("flex justify-center items-center px-3 py-2 text-xs md:px-6 md:text-sm leading-6 text-gray-900",{"bg-orange-300":e==="orange"},a),children:n})}const gi="font-medium text-xs md:text-sm underline cursor-pointer";function mp(){const[e]=N(),n=bt(),a=()=>{T.processing(),n&&$("POST",D("/api/v1/user/:id/reconfirm",{id:n.id})).then(s=>T.success(s.data.message))};return n!=null&&n.email_verified_at?null:t(fi,{variant:"orange",children:f("div",{className:"flex space-x-1",children:[f("span",{children:[e("confirm_your_email_address"),"."]}),t("button",{className:gi,onClick:a,children:e("resend_email")})]})})}function pp(){const[e]=N(),n=we(),a=bt();return!n||!(a!=null&&a.email_verified_at)||n&&!n.is_disabled?null:t(fi,{variant:"orange",children:f("div",{className:"flex space-x-1",children:[f("span",{children:[e("company_disabled_warning"),"."]}),t(na,{className:gi,to:"/settings/account_management/overview",children:e("activate_company")})]})})}function hp({visible:e,onClose:n,onResend:a,onComplete:s}){const[o]=N(),[i,r]=g.useState(null),c=Ae(),l=()=>{T.processing(),$("POST",D("/api/v1/verify/confirm"),{code:i}).then(()=>{T.success("verified_phone_number"),ie(["users","company_users"]),$("POST",D("/api/v1/refresh")).then(_=>{c(Mn(_.data.data)),s()})})};return g.useEffect(()=>()=>{r(null)},[]),f(Fe,{title:o("sms_code"),visible:e,onClose:n,children:[t("div",{className:"flex justify-center",children:t(ri,{onComplete:r})}),f("div",{className:"flex justify-end space-x-4",children:[t(te,{type:"minimal",onClick:a,behavior:"button",children:o("resend_code")}),t(te,{onClick:l,disabled:i===null,behavior:"button",disableWithoutIcon:!0,children:o("verify")})]})]})}function fp({visible:e,onClose:n}){const[a]=N(),[s,o]=g.useState(),[i,r]=g.useState(),[c,l]=g.useState(!1),_=()=>{if(o(void 0),!L_(i??"")){o({message:"error",errors:{phone:[a("invalid_phone_number")]}});return}T.processing(),$("POST",D("/api/v1/verify"),{phone:i}).then(()=>{T.success("code_was_sent"),l(!0)}).catch(p=>{var m;((m=p.response)==null?void 0:m.status)===422&&(T.dismiss(),o(p.response.data))})},d=me();return f(F,{children:[f(Fe,{title:a("verify_phone_number"),visible:e,onClose:n,children:[t("div",{className:"flex flex-col mb-1",style:{backgroundColor:d.$2,color:d.$3,colorScheme:d.$0},children:t(q_,{international:!0,placeholder:a("phone"),countrySelectProps:{unicodeFlags:!0},defaultCountry:"US",value:i,onChange:r})}),(s==null?void 0:s.errors.phone)&&t(it,{type:"danger",children:s.errors.phone}),t(te,{className:"self-end",behavior:"button",type:"primary",onClick:_,disableWithoutIcon:!0,children:a("send_code")})]}),t(hp,{visible:c,onClose:l,onResend:_,onComplete:()=>{l(!1),n(!1)}})]})}function gp(){const[e]=N(),[n,a]=g.useState(!1),s=bt(),o=Fa(),i=we();return!o||o.account_sms_verified||!(s!=null&&s.email_verified_at)||i!=null&&i.is_disabled?null:f(F,{children:[t(fi,{variant:"orange",children:f("div",{className:"flex space-x-1",children:[f("span",{children:[e("verify_phone_number_help"),"."]}),t("button",{className:gi,onClick:()=>a(!0),children:e("verify_phone_number")})]})}),t(fp,{visible:n,onClose:a})]})}const er=St(Dn.Option)`
  color: ${e=>e.theme.color};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`;function vp(){const[e]=N(),[n,a]=g.useState(""),[s,o]=g.useState(!1),i=is(),r=me(),c=g.useRef(null),l=g.useRef(null),{data:_,refetch:d}=xe(["/api/v1/search"],()=>{const u=n.length===0?"/api/v1/search":`/api/v1/search?search=${n}`;return $("POST",D(u)).then(v=>{const b=[];return Object.entries(v.data).forEach(([w,y])=>{y.forEach(k=>{b.push({id:io(),label:k.name,value:k.id,resource:k,searchable:`${e(w)}: ${k.name}`,eventType:"external"})})}),b})},{staleTime:1/0}),p=wt(_).filter(u=>u.searchable.toLowerCase().includes(n.toLowerCase())||u.label.toLowerCase().includes(n.toLowerCase())||u.value.toString().toLowerCase().includes(n.toLowerCase())).take(100);g.useEffect(()=>{const u=v=>{var b;v.ctrlKey&&v.key==="k"&&(v.preventDefault(),(b=l.current)==null||b.focus())};return window.addEventListener("keydown",u),()=>window.removeEventListener("keydown",u)},[]),g.useEffect(()=>{s===!1&&a("")},[s]),ta(c,()=>o(!1));const m=ce.debounce(u=>a(u.target.value),500),h=p.count()===0?wt(_):p;return g.useEffect(()=>{n&&p.count()===0&&d()},[n]),t(Dn,{as:"div",onChange:u=>u.resource?i({url:u.resource.path}):null,className:"relative w-full max-w-[70%]",ref:c,children:f("div",{className:"relative mt-2",children:[t(Dn.Input,{className:"border-transparent focus:border-transparent focus:ring-0 w-full",onChange:m,ref:l,onFocus:()=>o(!0),placeholder:`${e("search")}... (Ctrl K)`,style:{backgroundColor:r.$1,color:r.$3}}),f(Dn.Options,{className:oe("absolute border rounded max-h-72 overflow-y-auto shadow-lg","min-w-full w-max",{hidden:!s}),style:{backgroundColor:r.$1,borderColor:r.$4,minWidth:"33vw",maxWidth:"max(100%, 33vw)"},static:!0,children:[h==null?void 0:h.map(u=>t(er,{value:u,theme:{color:r.$3,hoverColor:r.$2},className:"cursor-pointer rounded px-4 py-2 active:font-semibold",children:({active:v})=>{var b;return t("span",{className:oe("block truncate space-x-1",v&&"font-semibold"),children:f("div",{children:[t("p",{className:"text-xs font-semibold",children:(b=u.resource)==null?void 0:b.heading}),t("p",{children:u.label})]})})}},u.id)),h.count()===0&&t(er,{value:null,theme:{color:r.$3,hoverColor:r.$2},className:"cursor-not-allowed rounded px-4 py-2 active:font-semibold",disabled:!0,children:({active:u})=>t("span",{className:oe("block truncate space-x-1",u&&"font-semibold"),children:t("p",{className:"text-sm",children:e("no_match_found")})})})]})]})})}const yp=g.memo(vp);function es({children:e,className:n}){return t("div",{className:oe("inline-flex items-center space-x-2",n),children:e})}function bp(e){const n=me();return t($n.Root,{show:e.visible,as:g.Fragment,children:t(Ra,{as:"div",className:"relative z-10",onClose:e.onClose,children:t("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10 sm:pl-16",children:t($n.Child,{as:g.Fragment,enter:"transform transition ease-in-out duration-300",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-200",leaveFrom:"translate-x-0",leaveTo:"translate-x-full",children:t(Ra.Panel,{className:oe("pointer-events-auto","w-screen",{"max-w-xl":e.size==="large","max-w-sm":e.size==="small","max-w-md":e.size==="regular","max-w-xs":e.size==="extraSmall","max-w-4xl":e.size==="extraLarge"}),children:f("form",{onSubmit:a=>a.preventDefault(),className:"border flex h-full flex-col divide-y divide-gray-200 shadow-xl",style:{backgroundColor:n.$1,borderColor:n.$4},children:[f("div",{className:"flex flex-col flex-1 h-0 overflow-y-auto",children:[t("div",{className:"py-6 px-4 sm:px-6 border-b",style:{borderColor:n.$4},children:f("div",{className:"flex items-center justify-between",children:[t("span",{className:"text-lg font-medium",style:{color:n.$3},children:e.title}),f(es,{children:[e.topRight,t(Hn,{fontSize:24,className:"cursor-pointer",onClick:()=>e.onClose(),color:n.$3})]})]})}),t("div",{className:"flex flex-1 flex-col justify-between items-center",children:t("div",{className:oe("flex flex-col flex-1 divide-y divide-gray-200 w-full",{"p-4":e.withContainer}),children:e.children})})]}),e.actionChildren&&t("div",{className:oe("flex justify-center",{"p-4":!e.withoutActionContainer}),children:e.actionChildren})]})})})})})})}const wp=St.div`
  color: ${e=>e.theme.color};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`;function vc(e){const{padding:n="regular",className:a,style:s}=e,o=me();return t(wp,{style:{...s},theme:{hoverColor:o.$2,color:o.$3},className:oe(`w-full text-left block hover:bg-gray-50 text-sm ${a}`,{"px-4 sm:px-6 py-4":n=="regular","px-4 py-2":n=="small"}),children:e.children})}const kp=to("notifications",[]);function xp(){const{t:e}=N(),[n,a]=g.useState(!1),[s,o]=tt(kp);em({on:["App\\Events\\Invoice\\InvoiceWasPaid"],callback:({event:r,data:c})=>{if(r==="App\\Events\\Invoice\\InvoiceWasPaid"){const l=c,_={label:`${l.number}: ${e("invoice_paid")}`,date:new Date().toString(),link:U("/invoices/:id/edit",{id:l.id}),readAt:null};if(s.some(d=>d.label===_.label)||s.some(d=>d.link===_.link))return;o(d=>[...d,_])}}});const i=At();return f(F,{children:[t("div",{className:"relative mt-2 mr-1",children:f("button",{onClick:()=>a(!n),children:[t(g_,{size:20}),s.length>0?t("span",{className:"absolute top-0 right-0 h-2 w-2 rounded-full border-white border-2 bg-blue-500"}):null]})}),f(bp,{visible:n,onClose:()=>a(!1),size:"regular",title:e("notifications"),topRight:t("button",{type:"button",onClick:()=>o([]),children:t(v_,{size:18})}),children:[s.map((r,c)=>t(Nt,{to:r.link,children:f("div",{children:[t("p",{children:r.label}),t("p",{className:"text-xs",children:Qe(r.date,`${i.dateFormat} hh:mm:ss`)})]})},c)),s.length===0?t(vc,{children:e("no_unread_notifications")}):null]})]})}function cs(e){var w;const[n]=N(),a=zt(),s=ot(),o=me(),i=is(),r=fc(),c=aa(),l=we(),_=ho(),d=!!((w=c==null?void 0:c.company_user)!=null&&w.react_settings.show_mini_sidebar),p=!ya()&&(cp()||lp()),[m,h]=g.useState(!1),u=[{name:n("dashboard"),href:"/dashboard",icon:qr,current:a.pathname.startsWith("/dashboard"),visible:s("view_dashboard")},{name:n("clients"),href:"/clients",icon:y_,current:a.pathname.startsWith("/clients"),visible:s("view_client")||s("create_client")||s("edit_client"),rightButton:{icon:Zt,to:"/clients/create",label:n("new_client"),visible:s("create_client")}},{name:n("products"),href:"/products",icon:b_,current:a.pathname.startsWith("/products"),visible:s("view_product")||s("create_product")||s("edit_product"),rightButton:{icon:Zt,to:"/products/create",label:n("new_product"),visible:s("create_product")}},{name:n("invoices"),href:"/invoices",icon:ga,current:a.pathname.startsWith("/invoices"),visible:r(ve.Invoices)&&(s("view_invoice")||s("create_invoice")||s("edit_invoice")),rightButton:{icon:Zt,to:"/invoices/create",label:n("new_invoice"),visible:s("create_invoice")}},{name:n("recurring_invoices"),href:"/recurring_invoices",icon:Ys,current:a.pathname.startsWith("/recurring_invoices"),visible:r(ve.RecurringInvoices)&&(s("view_recurring_invoice")||s("create_recurring_invoice")||s("edit_recurring_invoice")),rightButton:{icon:Zt,to:"/recurring_invoices/create",label:n("new_recurring_invoice"),visible:s("create_recurring_invoice")}},{name:n("payments"),href:"/payments",icon:w_,current:a.pathname.startsWith("/payments"),visible:s("view_payment")||s("create_payment")||s("edit_payment"),rightButton:{icon:Zt,to:"/payments/create",label:n("new_payment"),visible:s("create_payment")}},{name:n("quotes"),href:"/quotes",icon:oi,current:a.pathname.startsWith("/quotes"),visible:r(ve.Quotes)&&(s("view_quote")||s("create_quote")||s("edit_quote")),rightButton:{icon:Zt,to:"/quotes/create",label:n("new_quote"),visible:s("create_quote")}},{name:n("credits"),href:"/credits",icon:ga,current:a.pathname.startsWith("/credits"),visible:r(ve.Credits)&&(s("view_credit")||s("create_credit")||s("edit_credit")),rightButton:{icon:Zt,to:"/credits/create",label:n("new_credit"),visible:s("create_credit")}},{name:n("projects"),href:"/projects",icon:k_,current:a.pathname.startsWith("/projects"),visible:r(ve.Projects)&&(s("view_project")||s("create_project")||s("edit_project")),rightButton:{icon:Zt,to:"/projects/create",label:n("new_project"),visible:s("create_project")}},{name:n("tasks"),href:"/tasks",icon:x_,current:a.pathname.startsWith("/tasks"),visible:r(ve.Tasks)&&(s("view_task")||s("edit_task")||s("create_task")),rightButton:{icon:Zt,to:"/tasks/create",label:n("new_task"),visible:s("create_task")}},{name:n("vendors"),href:"/vendors",icon:Md,current:a.pathname.startsWith("/vendors"),visible:r(ve.Vendors)&&(s("view_vendor")||s("create_vendor")||s("edit_vendor")),rightButton:{icon:Zt,to:"/vendors/create",label:n("new_vendor"),visible:s("create_vendor")}},{name:n("purchase_orders"),href:"/purchase_orders",icon:Xo,current:a.pathname.startsWith("/purchase_orders"),visible:r(ve.PurchaseOrders)&&(s("view_purchase_order")||s("create_purchase_order")||s("edit_purchase_order")),rightButton:{icon:Zt,to:"/purchase_orders/create",label:n("new_purchase_order"),visible:s("create_purchase_order")}},{name:n("expenses"),href:"/expenses",icon:jd,current:a.pathname.startsWith("/expenses"),visible:r(ve.Expenses)&&(s("view_expense")||s("create_expense")||s("edit_expense")),rightButton:{icon:Zt,to:"/expenses/create",label:n("new_expense"),visible:s("create_expense")}},{name:n("recurring_expenses"),href:"/recurring_expenses",icon:Ys,current:a.pathname.startsWith("/recurring_expenses"),visible:r(ve.RecurringExpenses)&&(s("view_recurring_expense")||s("create_recurring_expense")||s("edit_recurring_expense")),rightButton:{icon:Zt,to:"/recurring_expenses/create",label:n("new_recurring_expense"),visible:s("create_recurring_expense")}},{name:n("reports"),href:"/reports",icon:C_,current:a.pathname.startsWith("/reports"),visible:s("view_reports")},{name:n("transactions"),href:"/transactions",icon:Fd,current:a.pathname.startsWith("/transactions"),visible:r(ve.Transactions)&&(s("view_bank_transaction")||s("create_bank_transaction")||s("edit_bank_transaction")),rightButton:{icon:Zt,to:"/transactions/create",label:n("new_transaction"),visible:s("create_bank_transaction")}},{name:n("settings"),href:_!=null&&_.is_admin||_!=null&&_.is_owner?"/settings/company_details":"/settings/user_details",icon:ii,current:a.pathname.startsWith("/settings"),visible:!!l}],v=De(gc),b=up();return f("div",{children:[t(pp,{}),t(mp,{}),t(gp,{}),t(zm,{navigation:u,sidebarOpen:m,setSidebarOpen:h}),t(Bm,{navigation:u,docsLink:e.docsLink}),f("div",{className:`${d?"md:pl-16":"md:pl-64"} flex flex-col flex-1`,children:[f("div",{style:{backgroundColor:o.$1,borderColor:o.$4},className:"sticky top-0 z-10 flex-shrink-0 flex h-16 border-b shadow",children:[f("button",{type:"button",className:"px-4 border-r border-gray-200 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500 md:hidden",onClick:()=>h(!0),children:[t("span",{className:"sr-only",children:"Open sidebar"}),t(S_,{className:"dark:text-gray-100"})]}),f("div",{className:"flex-1 px-4 xl:px-8 flex items-center","data-cy":"topNavbar",children:[f("div",{className:"flex flex-1 items-center space-x-4",children:[t("h2",{style:{color:o.$3},className:"text-sm md:text-lg whitespace-nowrap",children:e.title}),t(rp,{}),t(yp,{})]}),f("div",{className:"ml-4 flex items-center md:ml-6 space-x-2 lg:space-x-3",children:[t(xp,{}),p&&t("button",{className:"hidden sm:inline-flex items-center justify-center py-2 px-4 rounded text-sm text-white bg-green-500 hover:bg-green-600",onClick:()=>{var y;return i({url:(y=c==null?void 0:c.company_user)==null?void 0:y.ninja_portal_url,externalLink:!0})},children:t("span",{children:n("unlock_pro")})}),e.onCancelClick&&t(te,{onClick:e.onCancelClick,type:"secondary",children:n("cancel")}),(!!e.onSaveClick||v)&&f("div",{children:[!e.additionalSaveOptions&&t(te,{onClick:(v==null?void 0:v.onClick)||e.onSaveClick,disabled:(v==null?void 0:v.disableSaveButton)||e.disableSaveButton,disableWithoutIcon:!0,children:((v==null?void 0:v.label)||e.saveButtonLabel)??n("save")}),e.additionalSaveOptions&&f("div",{className:"flex",children:[t(te,{className:"rounded-br-none rounded-tr-none px-3",onClick:(v==null?void 0:v.onClick)||e.onSaveClick,disabled:(v==null?void 0:v.disableSaveButton)||e.disableSaveButton,disableWithoutIcon:!0,children:((v==null?void 0:v.label)||e.saveButtonLabel)??n("save")}),t(Sn,{className:"rounded-bl-none rounded-tl-none h-full px-1 border-gray-200 border-l-1 border-y-0 border-r-0",cardActions:!0,disabled:(v==null?void 0:v.disableSaveButton)||e.disableSaveButton,children:e.additionalSaveOptions.map((y,k)=>t(M,{icon:y.icon,disabled:e.disableSaveButton,onClick:y.onClick,children:y.label},k))})]})]}),(b||e.navigationTopRight)&&t("div",{className:"flex space-x-3 items-center",children:(b==null?void 0:b.element)||e.navigationTopRight})]})]})]}),e.aboveMainContainer,f("main",{className:"flex-1",children:[(e.breadcrumbs||e.topRight)&&e.breadcrumbs.length>0&&f("div",{className:"pt-4 px-4 md:px-8 md:pt-8 dark:text-gray-100 flex flex-col lg:flex-row lg:justify-between lg:items-center space-y-4 lg:space-y-0",children:[t("div",{className:"",children:e.breadcrumbs&&t(mi,{pages:e.breadcrumbs})}),e.topRight&&t("div",{children:e.topRight})]}),t("div",{style:{color:o.$3,backgroundColor:o.$2},className:"p-4 md:py-8 xl:p-8 dark:text-gray-100",children:e.children})]})]})]})}function yc({children:e,type:n="page"}){return t(g.Suspense,{fallback:n==="page"||n==="component"?t(cs,{breadcrumbs:[],children:t(st,{})}):t(st,{}),children:e})}function bc(){const e=_i(),n=qt(a=>a.user);return e?n.user.id?t(yc,{children:t(on,{})}):t(_m,{}):t(Va,{to:"/login"})}function Cp(){const[e]=N(),[n,a]=g.useState(!0);return g.useEffect(()=>(setTimeout(()=>{a(!1)},1e3),()=>{a(!0)}),[]),t(cs,{breadcrumbs:[],children:t("div",{className:"flex flex-col items-center mt-14 space-y-4",children:n?t(st,{}):f(F,{children:[t(Mr,{size:128}),f("h1",{className:"text-2xl",children:[e("not_allowed"),"."]})]})})})}function Sp(){const[e]=N(),[n,a]=g.useState(!0);return g.useEffect(()=>(setTimeout(()=>{a(!1)},1e3),()=>{a(!0)}),[]),t("div",{className:"flex flex-col items-center mt-14 space-y-4",children:n?t(st,{}):f(F,{children:[t(Mr,{size:128}),f("h1",{className:"text-2xl",children:[e("not_allowed"),"."]})]})})}function Ep(){const e=ho(),n=Xe(),a=xt(),s=bt(),o=hi();return{companyUser:e,queryClient:n,params:a,user:s,settingsLevel:o.level}}function de({guards:e,component:n,type:a="page"}){const[s,o]=g.useState("loading"),{companyUser:i,queryClient:r,params:c,user:l,settingsLevel:_}=Ep();return g.useEffect(()=>{const d=e.map(p=>p({companyUser:i,queryClient:r,params:c,user:l,settingsLevel:_}));Promise.all(d).then(p=>{p.includes(!1)?o("unauthorized"):o("authorized")}).catch(()=>o("loading"))}),s==="loading"?a==="page"?t(cs,{breadcrumbs:[],children:t(st,{})}):t(st,{}):s==="unauthorized"?a==="page"?t(Cp,{}):a==="subPage"?t(Sp,{}):null:t(yc,{type:a,children:n})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function J(e){const[n]=e.split("_");return({companyUser:a})=>{const s=(a==null?void 0:a.permissions)??"",o=!!(a!=null&&a.is_admin||a!=null&&a.is_owner||s.includes(e)||s.includes(`${n}_all`)&&e!=="view_reports"&&e!=="view_dashboard");return Promise.resolve(o)}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ke(...e){return async n=>new Promise(async a=>{for(const s of e)if(await s(n)===!0){a(!0);break}a(!1)})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function gt(e,n="id"){return({params:a,user:s})=>{const o=a[n],i=U(e,{id:o});return $("GET",D(i)).then(r=>r.data.data.user_id===(s==null?void 0:s.id)||r.data.data.assigned_user_id===(s==null?void 0:s.id)?Promise.resolve(!0):Promise.resolve(!1)).catch(()=>Promise.resolve(!1))}}const Tp=g.lazy(()=>P(()=>import("./Invoices-1f697cf2.js"),["react/Invoices-1f697cf2.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/Actions-b4489c9c.js","react/invoice-status-756326ba.js","react/react-icons-19436e3a.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/useInvoiceColumns-72c7b447.js","react/InvoiceStatus-ab140871.js","react/DataTableColumnsPicker-0a096664.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/ImportButton-68b5df42.js","react/react-router-dom-47bf5f81.js","react/useFooterColumns-f40bb573.js","react/useDownloadPdfs-0e8218c1.js","react/react-query-f238471f.js","react/payments-7e54e458.js","react/atoms-70e1125b.js","react/uuid-4a60fe23.js","react/collect.js-1b4e3eba.js","react/useSumTableColumn-f5b31200.js","react/InvoiceSlider-33fa89c3.js","react/PaymentStatus-56752123.js","react/payment-status-51e1486d.js","react/react-string-replace-5896bba3.js","react/EmailRecord-31810fe1.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/DataTableFooterColumnsPicker-11e3faf3.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Pp=g.lazy(()=>P(()=>import("./Invoice-54e47efd.js"),["react/Invoice-54e47efd.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/Actions-b4489c9c.js","react/invoice-status-756326ba.js","react/react-icons-19436e3a.js","react/dayjs-8e509be6.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/useInvoiceUtilities-10d72649.js","react/AddUninvoicedItemsButton-77b3c333.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/uuid-4a60fe23.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Ap=g.lazy(()=>P(()=>import("./Import-6879b622.js"),["react/Import-6879b622.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/rehype-raw-b0976855.js","react/hast-util-raw-7805101a.js","react/html-void-elements-491fdcba.js","react/parse5-4a924a41.js","react/entities-9253376c.js","react/web-namespaces-a6665c10.js","react/zwitch-18fef54d.js","react/hast-util-from-parse5-349c6b0e.js","react/hastscript-73f9a95c.js","react/hast-util-parse-selector-2e5db8ec.js","react/vfile-location-e06cf7b6.js","react/hast-util-to-parse5-206b4890.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Np=g.lazy(()=>P(()=>import("./Create-dcdef64c.js"),["react/Create-dcdef64c.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/blank-invitation-ca06b7b6.js","react/lodash-632a8876.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/jotai-2d204cb2.js","react/useInvoiceUtilities-10d72649.js","react/AddUninvoicedItemsButton-77b3c333.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-icons-19436e3a.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/stylis-60528643.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/use-sync-external-store-d1dfebfc.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Ip=g.lazy(()=>P(()=>import("./Edit-fd3c06d3.js"),["react/Edit-fd3c06d3.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/ClientSelector-e4bf8e00.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/ClientActionButtons-ce6d2f1d.js","react/react-i18next-335b3986.js","react/InvoiceFooter-fe21d332.js","react/useProductColumns-20215649.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/useTaskColumns-b3d81809.js","react/useInvoiceUtilities-10d72649.js","react/jotai-2d204cb2.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/dayjs-8e509be6.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Dp=g.lazy(()=>P(()=>import("./Pdf-5a6265b7.js"),["react/Pdf-5a6265b7.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-icons-19436e3a.js","react/react-i18next-335b3986.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),$p=g.lazy(()=>P(()=>import("./Email-dc4fe009.js"),["react/Email-dc4fe009.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/Mailer-fa6c88ff.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-query-f238471f.js","react/InvoiceViewer-c945da80.js","react/react-i18next-335b3986.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),tr=g.lazy(()=>P(()=>import("./Documents-4e27ed5f.js"),["react/Documents-4e27ed5f.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),nr=g.lazy(()=>P(()=>import("./Settings-c6421a93.js"),["react/Settings-c6421a93.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/ProjectSelector-58e51053.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/DesignSelector-3396e991.js","react/designs-65553caa.js","react/react-query-f238471f.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Rp=g.lazy(()=>P(()=>import("./Activities-196b89b1.js"),["react/Activities-196b89b1.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/InvoiceSlider-33fa89c3.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/Actions-b4489c9c.js","react/invoice-status-756326ba.js","react/react-icons-19436e3a.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/jotai-2d204cb2.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/PaymentStatus-56752123.js","react/payment-status-51e1486d.js","react/InvoiceStatus-ab140871.js","react/react-string-replace-5896bba3.js","react/EmailRecord-31810fe1.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Vp=g.lazy(()=>P(()=>import("./History-17d96a6e.js"),["react/History-17d96a6e.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),qp=g.lazy(()=>P(()=>import("./EmailHistory-fa7e4760.js"),["react/EmailHistory-fa7e4760.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/EmailRecord-31810fe1.js","react/classnames-41611b71.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/stylis-60528643.js","react/react-icons-19436e3a.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Lp=g.lazy(()=>P(()=>import("./CreatePage-4db7e359.js"),["react/CreatePage-4db7e359.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/ClientSelector-e4bf8e00.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/ClientActionButtons-ce6d2f1d.js","react/react-i18next-335b3986.js","react/InvoiceFooter-fe21d332.js","react/useProductColumns-20215649.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/useTaskColumns-b3d81809.js","react/useInvoiceUtilities-10d72649.js","react/jotai-2d204cb2.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Op=f(A,{path:"/invoices",children:[t(A,{path:"",element:t(de,{guards:[je(ve.Invoices),ke(J("view_invoice"),J("create_invoice"),J("edit_invoice"))],component:t(Tp,{})})}),t(A,{path:"import",element:t(de,{guards:[je(ve.Invoices),ke(J("create_invoice"),J("edit_invoice"))],component:t(Ap,{})})}),f(A,{path:"create",element:t(de,{guards:[je(ve.Invoices),J("create_invoice")],component:t(Np,{})}),children:[t(A,{path:"",element:t(Lp,{})}),t(A,{path:"documents",element:t(tr,{})}),t(A,{path:"settings",element:t(nr,{})})]}),f(A,{path:":id",element:t(de,{guards:[je(ve.Invoices),ke(J("view_invoice"),J("edit_invoice"),gt("/api/v1/invoices/:id"))],component:t(Pp,{})}),children:[t(A,{path:"edit",element:t(Ip,{})}),t(A,{path:"documents",element:t(tr,{})}),t(A,{path:"settings",element:t(nr,{})}),t(A,{path:"activity",element:t(Rp,{})}),t(A,{path:"history",element:t(Vp,{})}),t(A,{path:"email_history",element:t(qp,{})})]}),t(A,{path:":id/pdf",element:t(de,{guards:[je(ve.Invoices),ke(J("edit_invoice"),gt("/api/v1/invoices/:id"))],component:t(Dp,{})})}),t(A,{path:":id/email",element:t(de,{guards:[je(ve.Invoices),ke(J("edit_invoice"),gt("/api/v1/invoices/:id"))],component:t($p,{})})})]}),Mp=g.lazy(()=>P(()=>import("./Clients-db115d3e.js"),["react/Clients-db115d3e.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-icons-19436e3a.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/react-i18next-335b3986.js","react/ImportButton-68b5df42.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),jp=g.lazy(()=>P(()=>import("./Import-305b81cb.js"),["react/Import-305b81cb.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Fp=g.lazy(()=>P(()=>import("./Create-b3f80368.js"),["react/Create-b3f80368.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/lodash-632a8876.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Bp=g.lazy(()=>P(()=>import("./Edit-fb246951.js"),["react/Edit-fb246951.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/lodash-632a8876.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),zp=g.lazy(()=>P(()=>import("./Client-79714114.js"),["react/Client-79714114.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/InfoCard-b8904f6b.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-icons-19436e3a.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@tinymce-974de275.js","react/prop-types-f90281b5.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/react-verification-input-27b63e6d.js","react/currency.js-57f74176.js","react/dayjs-8e509be6.js","react/axios-84c4953a.js","react/collect.js-1b4e3eba.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/dompurify-be9362af.js","react/EmailRecord-31810fe1.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-feather-5b028e5d.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Up=g.lazy(()=>P(()=>import("./Quotes-c1e6ce16.js"),["react/Quotes-c1e6ce16.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/useFooterColumns-e44b9296.js","react/useDownloadPdfs-0e8218c1.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-icons-19436e3a.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/useSumTableColumn-f5b31200.js","react/collect.js-1b4e3eba.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Hp=g.lazy(()=>P(()=>import("./Payments-3d4b6729.js"),["react/Payments-3d4b6729.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/usePaymentColumns-df511b12.js","react/PaymentStatus-56752123.js","react/payment-status-51e1486d.js","react/react-i18next-335b3986.js","react/classnames-41611b71.js","react/useActions-74486c59.js","react/payments-7e54e458.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/jotai-2d204cb2.js","react/react-icons-19436e3a.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Gp=g.lazy(()=>P(()=>import("./RecurringInvoices-d3ad6143.js"),["react/RecurringInvoices-d3ad6143.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/useFooterColumns-84a0b7fd.js","react/useSumTableColumn-f5b31200.js","react/collect.js-1b4e3eba.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Wp=g.lazy(()=>P(()=>import("./Credits-a3579eff.js"),["react/Credits-a3579eff.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-9e825690.js","react/CreditStatus-f2f60978.js","react/react-i18next-335b3986.js","react/useInvoiceColumns-72c7b447.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/dayjs-8e509be6.js","react/classnames-41611b71.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/jotai-2d204cb2.js","react/react-icons-19436e3a.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/useCustomBulkActions-b105865f.js","react/useDownloadPdfs-0e8218c1.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/collect.js-1b4e3eba.js","react/payments-7e54e458.js","react/atoms-70e1125b.js","react/uuid-4a60fe23.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Kp=g.lazy(()=>P(()=>import("./Projects-868c2c93.js"),["react/Projects-868c2c93.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-0f9676f9.js","react/react-icons-19436e3a.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/atoms-69719ef0.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Qp=g.lazy(()=>P(()=>import("./Tasks-38da599c.js"),["react/Tasks-38da599c.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/useShowEditOption-8fa7fb95.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Yp=g.lazy(()=>P(()=>import("./Expenses-5bd8d24a.js"),["react/Expenses-5bd8d24a.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Xp=g.lazy(()=>P(()=>import("./RecurringExpenses-4a063ff9.js"),["react/RecurringExpenses-4a063ff9.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-bd5ab772.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-icons-19436e3a.js","react/react-i18next-335b3986.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Jp=g.lazy(()=>P(()=>import("./Statement-6ecfb1da.js"),["react/Statement-6ecfb1da.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/react-icons-19436e3a.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/jotai-2d204cb2.js","react/react-i18next-335b3986.js","react/lodash-632a8876.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Zp=g.lazy(()=>P(()=>import("./Invoices-d68658a2.js"),["react/Invoices-d68658a2.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/useInvoiceColumns-72c7b447.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/dayjs-8e509be6.js","react/react-i18next-335b3986.js","react/classnames-41611b71.js","react/Actions-b4489c9c.js","react/react-icons-19436e3a.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/jotai-2d204cb2.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/useFooterColumns-f40bb573.js","react/useDownloadPdfs-0e8218c1.js","react/react-query-f238471f.js","react/payments-7e54e458.js","react/atoms-70e1125b.js","react/uuid-4a60fe23.js","react/collect.js-1b4e3eba.js","react/useSumTableColumn-f5b31200.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),eh=g.lazy(()=>P(()=>import("./Activities-7c3c8150.js"),["react/Activities-7c3c8150.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),th=g.lazy(()=>P(()=>import("./Documents-0cf30658.js"),["react/Documents-0cf30658.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-i18next-335b3986.js","react/react-query-f238471f.js","react/react-icons-19436e3a.js","react/jotai-2d204cb2.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),nh=f(A,{path:"clients",children:[t(A,{path:"",element:t(de,{guards:[ke(J("view_client"),J("create_client"),J("edit_client"))],component:t(Mp,{})})}),t(A,{path:"import",element:t(de,{guards:[ke(J("create_client"),J("edit_client"))],component:t(jp,{})})}),t(A,{path:"create",element:t(de,{guards:[J("create_client")],component:t(Fp,{})})}),t(A,{path:":id/edit",element:t(de,{guards:[ke(J("edit_client"),gt("/api/v1/clients/:id"))],component:t(Bp,{})})}),f(A,{path:":id",element:t(de,{guards:[ke(J("view_client"),J("edit_client"),gt("/api/v1/clients/:id"))],component:t(zp,{})}),children:[t(A,{path:"",element:t(Zp,{})}),t(A,{path:"quotes",element:t(Up,{})}),t(A,{path:"payments",element:t(Hp,{})}),t(A,{path:"recurring_invoices",element:t(Gp,{})}),t(A,{path:"credits",element:t(Wp,{})}),t(A,{path:"projects",element:t(Kp,{})}),t(A,{path:"tasks",element:t(Qp,{})}),t(A,{path:"expenses",element:t(Yp,{})}),t(A,{path:"recurring_expenses",element:t(Xp,{})}),t(A,{path:"activities",element:t(eh,{})}),t(A,{path:"documents",element:t(th,{})})]}),t(A,{path:":id/statement",element:t(de,{guards:[ke(J("edit_client"),gt("/api/v1/clients/:id"))],component:t(Jp,{})})})]});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ya(){return({companyUser:e})=>Promise.resolve(!!(e!=null&&e.is_admin))}const qo=g.lazy(()=>P(()=>import("./Product-9be718dd.js"),["react/Product-9be718dd.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),ah=g.lazy(()=>P(()=>import("./Import-0fb1a1ff.js"),["react/Import-0fb1a1ff.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),sh=g.lazy(()=>P(()=>import("./Products-8b91b80b.js"),["react/Products-8b91b80b.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-icons-19436e3a.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/react-i18next-335b3986.js","react/ImportButton-68b5df42.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),oh=g.lazy(()=>P(()=>import("./Create-0048b2d4.js"),["react/Create-0048b2d4.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/lodash-632a8876.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/jotai-2d204cb2.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),ih=g.lazy(()=>P(()=>import("./Edit-f5928671.js"),["react/Edit-f5928671.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),rh=g.lazy(()=>P(()=>import("./Show-3b481dc5.js"),["react/Show-3b481dc5.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),ch=g.lazy(()=>P(()=>import("./Documents-8490b1dc.js"),["react/Documents-8490b1dc.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),lh=g.lazy(()=>P(()=>import("./ProductFields-70b6e529.js"),["react/ProductFields-70b6e529.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),dh=f(A,{path:"products",children:[t(A,{path:"",element:t(de,{guards:[ke(J("view_product"),J("create_product"),J("edit_product"))],component:t(sh,{})})}),t(A,{path:"import",element:t(de,{guards:[ke(J("create_product"),J("edit_product"))],component:t(ah,{})})}),t(A,{path:"create",element:t(de,{guards:[J("create_product")],component:t(oh,{})})}),f(A,{path:":id",element:t(de,{guards:[ke(J("view_product"),J("edit_product"),gt("/api/v1/products/:id"))],component:t(qo,{})}),children:[t(A,{path:"",element:t(rh,{})}),t(A,{path:"documents",element:t(ch,{})})]}),t(A,{path:":id",element:t(de,{guards:[Ya()],component:t(qo,{})}),children:t(A,{path:"product_fields",element:t(lh,{})})}),t(A,{path:":id/edit",element:t(de,{guards:[ke(J("view_product"),J("edit_product"),gt("/api/v1/products/:id"))],component:t(qo,{})}),children:t(A,{path:"",element:t(ih,{})})})]}),_h=g.lazy(()=>P(()=>import("./Import-6a6bcda1.js"),["react/Import-6a6bcda1.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),uh=g.lazy(()=>P(()=>import("./RecurringInvoices-0dded245.js"),["react/RecurringInvoices-0dded245.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/ImportButton-68b5df42.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-icons-19436e3a.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/RecurringInvoiceSlider-b4b83af9.js","react/react-query-f238471f.js","react/dayjs-8e509be6.js","react/react-string-replace-5896bba3.js","react/jotai-2d204cb2.js","react/useFooterColumns-84a0b7fd.js","react/useSumTableColumn-f5b31200.js","react/collect.js-1b4e3eba.js","react/DataTableFooterColumnsPicker-11e3faf3.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),mh=g.lazy(()=>P(()=>import("./RecurringInvoice-80ed68f1.js"),["react/RecurringInvoice-80ed68f1.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/lodash-632a8876.js","react/react-icons-19436e3a.js","react/ConfirmActionModal-92aaa006.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-i18next-335b3986.js","react/jotai-2d204cb2.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/uuid-4a60fe23.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),ph=g.lazy(()=>P(()=>import("./Create-2b2d2d75.js"),["react/Create-2b2d2d75.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/blank-invitation-ca06b7b6.js","react/lodash-632a8876.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-icons-19436e3a.js","react/dayjs-8e509be6.js","react/ConfirmActionModal-92aaa006.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-i18next-335b3986.js","react/jotai-2d204cb2.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),hh=g.lazy(()=>P(()=>import("./CreatePage-30936347.js"),["react/CreatePage-30936347.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/ClientSelector-e4bf8e00.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/ClientActionButtons-ce6d2f1d.js","react/react-i18next-335b3986.js","react/useProductColumns-20215649.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/InvoiceFooter-5805ff84.js","react/dayjs-8e509be6.js","react/jotai-2d204cb2.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/useTaskColumns-b3d81809.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),ar=g.lazy(()=>P(()=>import("./Documents-01a47b68.js"),["react/Documents-01a47b68.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),sr=g.lazy(()=>P(()=>import("./Settings-ae14d767.js"),["react/Settings-ae14d767.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/ProjectSelector-58e51053.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/DesignSelector-3396e991.js","react/designs-65553caa.js","react/react-query-f238471f.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),fh=g.lazy(()=>P(()=>import("./Activities-0ab77756.js"),["react/Activities-0ab77756.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/RecurringInvoiceSlider-b4b83af9.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/react-icons-19436e3a.js","react/react-string-replace-5896bba3.js","react/react-i18next-335b3986.js","react/jotai-2d204cb2.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),gh=g.lazy(()=>P(()=>import("./History-5a64f14d.js"),["react/History-5a64f14d.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),vh=g.lazy(()=>P(()=>import("./Schedule-9cb6fe5d.js"),["react/Schedule-9cb6fe5d.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),yh=g.lazy(()=>P(()=>import("./Edit-eb87ad8a.js"),["react/Edit-eb87ad8a.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/ClientSelector-e4bf8e00.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/ClientActionButtons-ce6d2f1d.js","react/react-i18next-335b3986.js","react/useProductColumns-20215649.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/InvoiceFooter-5805ff84.js","react/dayjs-8e509be6.js","react/jotai-2d204cb2.js","react/useTaskColumns-b3d81809.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),bh=g.lazy(()=>P(()=>import("./Pdf-e8f0ed35.js"),["react/Pdf-e8f0ed35.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),wh=f(A,{path:"/recurring_invoices",children:[t(A,{path:"",element:t(de,{guards:[je(ve.RecurringInvoices),ke(J("view_recurring_invoice"),J("create_recurring_invoice"),J("edit_recurring_invoice"))],component:t(uh,{})})}),f(A,{path:"create",element:t(de,{guards:[je(ve.RecurringInvoices),J("create_recurring_invoice")],component:t(ph,{})}),children:[t(A,{path:"",element:t(hh,{})}),t(A,{path:"documents",element:t(ar,{})}),t(A,{path:"settings",element:t(sr,{})})]}),f(A,{path:":id",element:t(de,{guards:[je(ve.RecurringInvoices),ke(J("view_recurring_invoice"),J("edit_recurring_invoice"),gt("/api/v1/recurring_invoices/:id"))],component:t(mh,{})}),children:[t(A,{path:"edit",element:t(yh,{})}),t(A,{path:"documents",element:t(ar,{})}),t(A,{path:"settings",element:t(sr,{})}),t(A,{path:"activity",element:t(fh,{})}),t(A,{path:"history",element:t(gh,{})}),t(A,{path:"schedule",element:t(vh,{})})]}),t(A,{path:":id/pdf",element:t(de,{guards:[je(ve.RecurringInvoices),ke(J("edit_recurring_invoice"),gt("/api/v1/recurring_invoices/:id"))],component:t(bh,{})})}),t(A,{path:"import",element:t(de,{guards:[je(ve.Invoices),ke(J("create_recurring_invoice"),J("edit_recurring_invoice"))],component:t(_h,{})})})]}),Lo=g.lazy(()=>P(()=>import("./Payment-d699060f.js"),["react/Payment-d699060f.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/payments-7e54e458.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/jotai-2d204cb2.js","react/useActions-74486c59.js","react/react-icons-19436e3a.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),kh=g.lazy(()=>P(()=>import("./Payments-9c7403e1.js"),["react/Payments-9c7403e1.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/usePaymentColumns-df511b12.js","react/PaymentStatus-56752123.js","react/payment-status-51e1486d.js","react/react-i18next-335b3986.js","react/classnames-41611b71.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-icons-19436e3a.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/useActions-74486c59.js","react/payments-7e54e458.js","react/react-query-f238471f.js","react/jotai-2d204cb2.js","react/dayjs-8e509be6.js","react/react-string-replace-5896bba3.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/CreditStatus-f2f60978.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),xh=g.lazy(()=>P(()=>import("./Create-debf2f97.js"),["react/Create-debf2f97.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/classnames-41611b71.js","react/collect.js-1b4e3eba.js","react/react-query-f238471f.js","react/payments-7e54e458.js","react/jotai-2d204cb2.js","react/usePaymentTypes-4f447662.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/uuid-4a60fe23.js","react/js-sha256-ba28fb32.js","react/atoms-70e1125b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Ch=g.lazy(()=>P(()=>import("./Edit-51644f55.js"),["react/Edit-51644f55.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/usePaymentTypes-4f447662.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-icons-19436e3a.js","react/PaymentStatus-56752123.js","react/payment-status-51e1486d.js","react/InfoCard-b8904f6b.js","react/ClientActionButtons-ce6d2f1d.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Sh=g.lazy(()=>P(()=>import("./Documents-70a8aa73.js"),["react/Documents-70a8aa73.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/payments-7e54e458.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Eh=g.lazy(()=>P(()=>import("./PaymentFields-54951edf.js"),["react/PaymentFields-54951edf.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Th=g.lazy(()=>P(()=>import("./Apply-14afdc60.js"),["react/Apply-14afdc60.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/payments-7e54e458.js","react/react-query-f238471f.js","react/jotai-2d204cb2.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/collect.js-1b4e3eba.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/uuid-4a60fe23.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Ph=g.lazy(()=>P(()=>import("./Refund-cc606bcc.js"),["react/Refund-cc606bcc.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/payments-7e54e458.js","react/react-query-f238471f.js","react/jotai-2d204cb2.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/collect.js-1b4e3eba.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Ah=f(A,{path:"/payments",children:[t(A,{path:"",element:t(de,{guards:[ke(J("view_payment"),J("create_payment"),J("edit_payment"))],component:t(kh,{})})}),t(A,{path:"create",element:t(de,{guards:[J("create_payment")],component:t(xh,{})})}),f(A,{path:":id",element:t(de,{guards:[ke(J("edit_payment"),gt("/api/v1/payments/:id"))],component:t(Lo,{})}),children:[t(A,{path:"apply",element:t(Th,{})}),t(A,{path:"refund",element:t(Ph,{})})]}),f(A,{path:":id",element:t(de,{guards:[ke(J("view_payment"),J("edit_payment"),gt("/api/v1/payments/:id"))],component:t(Lo,{})}),children:[t(A,{path:"edit",element:t(Ch,{})}),t(A,{path:"documents",element:t(Sh,{})})]}),t(A,{path:":id",element:t(de,{guards:[Ya()],component:t(Lo,{})}),children:t(A,{path:"payment_fields",element:t(Eh,{})})})]});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function pt(e){return({companyUser:n})=>new Promise(a=>(n==null?void 0:n.account.plan)===e?a(!0):a(!1))}function Nh(){const e=Ce();return g.useEffect(()=>{e("/settings/company_details")}),t(F,{})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Lt(e){const n=we(),a=$e(),s=Ae(),{isCompanySettingsActive:o}=lt();return g.useEffect(()=>{a&&(e==null?void 0:e.overwrite)===!1||o&&s(La({object:"company",data:n}))},[n]),a}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Se(e,n=!0){const[a]=N();we();const[s,o]=g.useState(n?a(e)||"":e),i=()=>{let r="";return r="Invoice Ninja",`${r}: ${s}`};return g.useEffect(()=>{document.title=i()},[s]),{documentTitle:s,setDocumentTitle:o}}function Ih(e){const[n]=N(),{entity:a}=e||{};return(s,o)=>s==="id"&&a==="client"?f("div",{className:"inline-flex flex-col justify-center",children:[f("div",{className:"flex items-center space-x-2",children:[f("span",{children:[n("clients_limit"),"!"]}),f(Pe,{className:"underline",to:"/settings/account_management",children:[n("unlock_unlimited_clients"),"!"]})]}),t("span",{children:o})]}):o}function Dh(e){const{entity:n,withoutTopMessage:a,withoutListBullets:s}=e,o=Ih({entity:n});return f(it,{className:"mb-6",type:"danger",children:[!a&&t("p",{children:e.errors.message}),t("ul",{children:Object.keys(e.errors.errors).map((i,r)=>f("li",{children:[!s&&t(F,{children:"– "}),o(i,e.errors.errors[i])]},r))})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function wc(){const e=Ae();return()=>{e(li("company")),e(qs({status:{name:"",level:"company"}}))}}const or=St(na)`
  color: ${e=>e.theme.color};
  background-color: ${e=>e.theme.backgroundColor};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`;function Ve(e){const[n]=N(),[a,s]=tt(ct),o=hi(),i=wc(),{isGroupSettingsActive:r,isClientSettingsActive:c}=lt(),l=zt(),_=Ce(),d=l.pathname.split("/")[2],{basic:p,advanced:m}=dp();g.useEffect(()=>{s(void 0)},[d]);const h=me();return t(cs,{onSaveClick:e.onSaveClick,onCancelClick:e.onCancelClick,title:e.title,docsLink:e.docsLink,navigationTopRight:e.navigationTopRight,disableSaveButton:e.disableSaveButton,breadcrumbs:[],children:f("div",{className:"grid grid-cols-12 lg:gap-10",children:[f("div",{className:"col-span-12 lg:col-span-3",children:[(r||c)&&f("div",{className:"flex items-center justify-between border py-3 rounded space-x-3 px-2",style:{backgroundColor:h.$1,borderColor:h.$5},children:[f("div",{className:"flex items-center space-x-2 flex-1 min-w-0",children:[t("div",{children:t(L,{element:r?Bd:Ir,size:20})}),f("span",{className:"text-sm truncate",children:[n(r?"group_settings":"client_settings"),": ",o.name]})]}),t("div",{className:"cursor-pointer",onClick:()=>{i(),r&&_("/settings/group_settings"),c&&_("/clients")},children:t(L,{element:Hn,size:20})})]}),t("a",{className:"flex items-center py-4 px-3 text-xs uppercase font-medium",children:t("span",{className:"truncate",children:n("basic_settings")})}),t(se,{className:"lg:hidden",value:l.pathname,onValueChange:u=>_(u),withBlank:!0,children:p.map(u=>u.enabled&&t("option",{value:u.href,children:u.name},u.name))}),t("nav",{className:"space-y-1 hidden lg:block","aria-label":"Sidebar",children:p.map(u=>u.enabled&&t(or,{to:u.href,className:$o("flex items-center px-3 py-2 text-sm font-medium rounded"),"aria-current":u.current?"page":void 0,theme:{backgroundColor:u.current?h.$5:"",color:u.current?h.$3:"",hoverColor:h.$5},children:t("span",{className:"truncate",children:u.name})},u.name))}),m.filter(u=>u.enabled).length>0&&f("div",{className:"flex items-center py-4 px-3 text-xs uppercase font-medium mt-8 truncate space-x-1",children:[t("span",{children:n("advanced_settings")}),t("sup",{children:n("pro")})]}),t(se,{className:"lg:hidden",value:l.pathname,onValueChange:u=>_(u),withBlank:!0,children:m.map(u=>u.enabled&&t("option",{value:u.href,children:u.name},u.name))}),t("nav",{className:"space-y-1 hidden lg:block","aria-label":"Sidebar",children:m.map((u,v)=>f("div",{children:[u.enabled&&t(or,{to:u.href,className:$o("flex items-center px-3 py-2 text-sm font-medium rounded"),"aria-current":u.current?"page":void 0,theme:{backgroundColor:u.current?h.$5:"",color:u.current?h.$3:"",hoverColor:h.$5},children:t("span",{className:"truncate",children:u.name})},u.name),u.children&&u.current&&t("div",{className:"bg-gray-100 space-y-4 py-3 rounded-b",children:u.children&&u.children.map((b,w)=>t(na,{to:b.href,className:$o(b.current?"text-gray-900 font-semibold":"","ml-4 px-3 text-sm block text-gray-700 hover:text-gray-900 transition duration-200 ease-in-out"),children:b.name},w))})]},v))})]}),f("div",{className:"col-span-12 lg:col-start-4 space-y-6 mt-5",children:[e.breadcrumbs&&t(mi,{pages:e.breadcrumbs}),a&&t(Dh,{errors:a}),e.children]})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Ba=et(void 0);/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function mn(){const e=Ae(),{isCompanySettingsActive:n,isGroupSettingsActive:a,isClientSettingsActive:s}=lt(),o=De(Ba);return()=>{n&&e(li("company")),(a||s)&&o&&e(Ge({object:"company",property:"settings",value:o.settings}))}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const fo=et(!1);/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const kc={industry_id:"",size_id:"",lock_invoices:"",show_all_tasks_client_portal:"",portal_design_id:"",timezone_id:"",date_format_id:"",language_id:"",company_gateway_ids:"",currency_id:"",custom_value1:"",custom_value2:"",custom_value3:"",custom_value4:"",default_task_rate:0,payment_terms:"",custom_message_dashboard:"",custom_message_unpaid_invoice:"",custom_message_paid_invoice:"",custom_message_unapproved_quote:"",entity_send_time:0,quote_footer:"",counter_number_applied:"",quote_number_applied:"",invoice_number_pattern:"",invoice_number_counter:0,recurring_invoice_number_pattern:"",recurring_invoice_number_counter:0,quote_number_pattern:"",quote_number_counter:0,client_number_pattern:"",client_number_counter:0,credit_number_pattern:"",credit_number_counter:0,task_number_pattern:"",task_number_counter:0,expense_number_pattern:"",expense_number_counter:0,recurring_expense_number_pattern:"",recurring_expense_number_counter:0,recurring_quote_number_pattern:"",recurring_quote_number_counter:0,vendor_number_pattern:"",vendor_number_counter:0,ticket_number_pattern:"",ticket_number_counter:0,payment_number_pattern:"",payment_number_counter:0,project_number_pattern:"",project_number_counter:0,postmark_secret:"",mailgun_secret:"",mailgun_domain:"",mailgun_endpoint:"",purchase_order_number_pattern:"",purchase_order_number_counter:0,recurring_number_prefix:"",reset_counter_frequency_id:0,reset_counter_date:"",counter_padding:0,auto_bill:"",auto_bill_date:"",invoice_terms:"",quote_terms:"",invoice_taxes:0,invoice_design_id:"",quote_design_id:"",credit_design_id:"",purchase_order_design_id:"",purchase_order_footer:"",purchase_order_terms:"",purchase_order_public_notes:"",invoice_footer:"",credit_footer:"",credit_terms:"",invoice_labels:"",tax_name1:"",tax_rate1:0,tax_name2:"",tax_rate2:0,tax_name3:"",tax_rate3:0,payment_type_id:"",valid_until:"",email_sending_method:"",gmail_sending_user_id:"",reply_to_email:"",reply_to_name:"",bcc_email:"",email_style:"",email_style_custom:"",email_subject_invoice:"",email_subject_quote:"",email_subject_credit:"",email_subject_payment:"",email_subject_payment_partial:"",email_subject_statement:"",email_subject_purchase_order:"",email_template_purchase_order:"",email_template_invoice:"",email_template_credit:"",email_template_quote:"",email_template_payment:"",email_template_payment_partial:"",email_template_statement:"",email_subject_reminder1:"",email_subject_reminder2:"",email_subject_reminder3:"",email_subject_reminder_endless:"",email_template_reminder1:"",email_template_reminder2:"",email_template_reminder3:"",email_template_reminder_endless:"",email_signature:"",email_subject_custom1:"",email_subject_custom2:"",email_subject_custom3:"",email_template_custom1:"",email_template_custom2:"",email_template_custom3:"",num_days_reminder1:0,num_days_reminder2:0,num_days_reminder3:0,schedule_reminder1:"",schedule_reminder2:"",schedule_reminder3:"",reminder_send_time:0,late_fee_amount1:0,late_fee_amount2:0,late_fee_amount3:0,late_fee_percent1:0,late_fee_percent2:0,late_fee_percent3:0,endless_reminder_frequency_id:"",late_fee_endless_amount:0,late_fee_endless_percent:0,name:"",company_logo:"",website:"",address1:"",address2:"",city:"",state:"",postal_code:"",phone:"",email:"",country_id:"",vat_number:"",id_number:"",page_size:"",page_layout:"",font_size:0,primary_font:"",secondary_font:"",primary_color:"",secondary_color:"",page_numbering_alignment:"",portal_custom_head:"",portal_custom_css:"",portal_custom_footer:"",portal_custom_js:"",client_portal_terms:"",client_portal_privacy_policy:"",client_portal_under_payment_minimum:0,use_credits_payment:"",email_from_name:"",first_month_of_year:"",qr_iban:"",besr_id:"",company_logo_size:"",client_initiated_payments_minimum:0,e_invoice_type:"",default_expense_payment_type_id:"",classification:"",e_quote_type:"",brevo_secret:""};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function xc(e){const{id:n}=xt(),a=Xe(),s=Ae(),o=$e(),i=De(Ba),r=De(Ut),{isGroupSettingsActive:c}=lt(),{groupSettings:l,setErrors:_,setIsFormBusy:d,isFormBusy:p}=e,m=()=>{const h=ce.cloneDeep(o==null?void 0:o.settings);return h&&((!h.email_template_custom1||!h.email_subject_custom1)&&(delete h.email_template_custom1,delete h.email_subject_custom1),(!h.email_template_custom2||!h.email_subject_custom2)&&(delete h.email_template_custom2,delete h.email_subject_custom2),(!h.email_template_custom3||!h.email_subject_custom3)&&(delete h.email_template_custom3,delete h.email_subject_custom3),Object.entries(h).forEach(([u,v])=>{v===null&&(h[u]=kc[u])})),{...i,settings:h}};return()=>{p||(T.processing(),_==null||_(void 0),d==null||d(!0),$("PUT",D("/api/v1/group_settings/:id",{id:n||(i==null?void 0:i.id)}),l||m()).then(h=>{T.success("updated_group"),ie(["group_settings"]),c&&(s(Ge({object:"company",property:"settings",value:h.data.data.settings})),s(qs({status:{name:h.data.data.name,level:"group"}}))),r&&a.invalidateQueries([r])}).catch(h=>{var u;((u=h.response)==null?void 0:u.status)===422&&(T.dismiss(),_==null||_(h.response.data))}).finally(()=>d==null?void 0:d(!1)))}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function $h(){const e=Ae(),n=$e(),a=De(Ba),s=Ie(ct),o=()=>{const i=ce.cloneDeep(n==null?void 0:n.settings);return i&&((!i.email_template_custom1||!i.email_subject_custom1)&&(delete i.email_template_custom1,delete i.email_subject_custom1),(!i.email_template_custom2||!i.email_subject_custom2)&&(delete i.email_template_custom2,delete i.email_subject_custom2),(!i.email_template_custom3||!i.email_subject_custom3)&&(delete i.email_template_custom3,delete i.email_subject_custom3),Object.entries(i).forEach(([r,c])=>{c===null&&(i[r]=kc[r])})),{...a,settings:i}};return()=>{T.processing(),s(void 0),$("PUT",D("/api/v1/clients/:id",{id:a==null?void 0:a.id}),o()).then(i=>{T.success("updated_settings"),ie(["clients"]),e(Ge({object:"company",property:"settings",value:i.data.data.settings})),e(qs({status:{name:i.data.data.display_name,level:"client"}}))}).catch(i=>{var r;((r=i.response)==null?void 0:r.status)===422&&(T.dismiss(),s(i.response.data))})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ht(){const e=Ae(),n=Lt(),a=xc({}),s=$h(),{isGroupSettingsActive:o,isCompanySettingsActive:i,isClientSettingsActive:r}=lt(),[,c]=tt(ct),[l,_]=tt(fo),d=Xu();return async p=>{if(!d()&&i)return;if(o)return a();if(r)return s();const m=typeof p=="boolean"&&p;return!m&&T.processing(),c(void 0),$("PUT",D("/api/v1/companies/:id",{id:n==null?void 0:n.id}),n).then(h=>{e(ba({object:"company",data:h.data.data})),!m&&T.dismiss(),l&&(ie(["statics"]),_(!1)),!m&&T.success("updated_settings")}).catch(h=>{var u;((u=h.response)==null?void 0:u.status)===422&&(c(h.response.data),T.dismiss())})}}function wa(e){var h;const n=Ce(),{visible:a=!0,withoutDefaultTabSpace:s,tabBarClassName:o}=e,i=xt(),r=zt(),c=me(),l=rt(),[_]=As(),d=g.useRef(null),p=u=>{var v;return r.pathname===u.href||((v=u.matcher)==null?void 0:v.some(b=>b(i)===U(r.pathname,i)))},m=u=>{const v=u.currentTarget,b=d.current,w=b.scrollWidth/6,y=v.getBoundingClientRect().width/2;b.scrollTo({left:v.offsetLeft-w-y})};return g.useEffect(()=>{if(e.tabs.length&&!e.disableBackupNavigation){const u=e.tabs.some(({href:v})=>v===r.pathname);if(_.get("redirect")==="false")return;u||n(e.tabs[0].href)}},[]),a?f("div",{className:e.className,"data-cy":"tabs",children:[f("div",{className:"flex flex-col space-y-5 sm:hidden",children:[t("label",{htmlFor:"tabs",className:"sr-only",children:"Select a tab"}),t("select",{id:"tabs",name:"tabs",className:"block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md",defaultValue:(h=e.tabs.find(u=>u))==null?void 0:h.name,children:e.tabs.map(u=>{var v;return(typeof u.enabled>"u"||u.enabled)&&t("option",{children:((v=u.formatName)==null?void 0:v.call(u))||u.name},u.name)})}),e.rightSide]}),t("div",{className:"hidden sm:block",children:f("div",{className:"flex justify-between border-b",style:{borderColor:c.$5},children:[t("nav",{ref:d,className:oe("-mb-px flex relative scroll-smooth overflow-x-auto",{"space-x-8":!s},o),"aria-label":"Tabs",children:e.tabs.map(u=>{var v;return(typeof u.enabled>"u"||u.enabled)&&t(na,{to:u.href,onClick:b=>m(b),style:{borderColor:p(u)?l:"transparent",color:p(u)?l:c.$3},className:"whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm","aria-current":p(u)?"page":void 0,children:((v=u.formatName)==null?void 0:v.call(u))||u.name},u.name)})}),e.rightSide]})})]}):t(F,{})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Cc(e){return xe(["/api/v1/documents",e],()=>$("GET",D("/api/v1/documents?per_page=:perPage&page=:currentPage&company_documents=:companyDocuments",{perPage:e.perPage,currentPage:e.currentPage,companyDocuments:e.companyDocuments??"false"})),{staleTime:1/0})}const Sc=()=>(e,n)=>{T.processing(),$("POST",D("/api/v1/documents/bulk?per_page=100"),{action:n,ids:e}).then(()=>T.success("exported_data"))},Ec=()=>async(e,n)=>(T.processing(),$("PUT",D("/api/v1/documents/:id",{id:e}),{is_public:n}).then(()=>T.success("success")));function vi(e){const[n]=N(),{numberOfDocuments:a}=e;return f("div",{className:"flex space-x-1",children:[t("span",{children:n("documents")}),!!a&&f("span",{className:"font-bold",children:["(",a,")"]})]})}function Rh(){const{t:e}=N(),{data:n}=Cc({companyDocuments:"true"}),{isGroupSettingsActive:a,isClientSettingsActive:s}=lt();let o=[{name:e("details"),href:"/settings/company_details"},{name:e("address"),href:"/settings/company_details/address"},{name:e("logo"),href:"/settings/company_details/logo"},{name:e("defaults"),href:"/settings/company_details/defaults"},{name:e("documents"),href:"/settings/company_details/documents",formatName:()=>{var i;return t(vi,{numberOfDocuments:(i=n==null?void 0:n.data)==null?void 0:i.meta.pagination.total})}},{name:e("custom_fields"),href:"/settings/company_details/custom_fields"}];return(a||s)&&(o=o.filter(i=>i.name!==e("custom_fields")&&i.name!==e("documents"))),o}function Vh(){const[e]=N();Se("company_details");const n=[{name:e("settings"),href:"/settings"},{name:e("company_details"),href:"/settings/company_details"}],a=Ht(),s=mn(),o=Rh();return Lt(),f(Ve,{onSaveClick:a,onCancelClick:s,title:e("company_details"),breadcrumbs:n,docsLink:"en/basic-settings/#company_details",children:[t(wa,{tabs:o,className:"mt-6"}),t("div",{className:"my-4",children:t(on,{})})]})}const qh=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2f7dc3","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#ff9800","#ff5722","#795548","#9e9e9e","#607d8b","#616161","#000000","#57a6e4","#324da1","#4c9a1c","#cd8900","#b93700"];function za(e){const{t:n}=N(),{includeDefaultPalette:a}=e,s=me(),[o,i]=g.useState(e.value||"#000000"),[r,c]=g.useState(!1),[l,_]=g.useState(!1);return Za(()=>{var d;return(d=e.onValueChange)==null?void 0:d.call(e,o)},500,[o]),g.useEffect(()=>{e.value&&i(e.value)},[e.value]),f("div",{children:[f(Fe,{title:n("color"),visible:r,onClose:c,centerContent:!0,disableClosing:l,children:[t(O_,{color:o,onChange:i}),t(M_,{color:o,onChange:i,className:"border rounded-md my-2 p-2 border-gray-300",style:{backgroundColor:s.$1,borderColor:s.$4}}),f("div",{className:"flex w-full justify-between",children:[a&&t(te,{behavior:"button",type:"secondary",onClick:()=>_(!0),children:n("default")}),t(te,{className:oe({"w-full":!a}),behavior:"button",onClick:()=>c(!1),children:n("done")})]})]}),t(Fe,{title:n("default"),visible:l,size:"small",onClose:()=>_(!1),children:f("div",{className:"flex flex-col space-y-6",children:[t("div",{className:"grid grid-cols-6 gap-x-2 gap-y-2",children:qh.map(d=>t("div",{className:"relative cursor-pointer w-full hover:opacity-75",onClick:()=>i(d),style:{height:32,backgroundColor:d},children:o===d&&t(L,{className:"absolute",element:Yo,color:"white",size:25,style:{top:"0.3rem",left:"1.45rem"}})},d))}),t("div",{className:"flex justify-end",children:t(te,{behavior:"button",onClick:()=>_(!1),children:n("done")})})]})}),t("div",{style:{backgroundColor:o},className:oe("w-16 h-6 shadow rounded-md",{"opacity-75 cursor-not-allowed":e.disabled,"cursor-pointer":typeof e.disabled>"u"||!e.disabled}),onClick:()=>(!e.disabled||typeof e.disabled>"u")&&c(!0)})]})}function Lh(){var s,o;const[e]=N(),n=Ae(),a=qt(i=>i.user.changes);return t(Z,{title:e("accent_color"),children:t(x,{leftSide:e("accent_color"),children:t(za,{value:((o=(s=a==null?void 0:a.company_user)==null?void 0:s.settings)==null?void 0:o.accent_color)||nc.primary,onValueChange:i=>n(ja({property:"company_user.settings.accent_color",value:i}))})})})}const Ss=new Cd({auth:{clientId:"1023b9ce-5b09-4f04-98f8-e1ed85a72332",redirectUri:{}.VITE_MICROSOFT_REDIRECT_URI}});Ss.initialize();function Tc(e){return t("button",{disabled:e.disabled,onClick:e.onClick,className:"rounded px-4 py-2 bg-white border border-gray-200 flex justify-center items-center space-x-2 text-center hover:bg-gray-50 cursor-pointer text-sm disabled:cursor-not-allowed",children:e.children})}function Pc(){const e=Ae(),n=o=>{localStorage.removeItem("X-CURRENT-INDEX");let i=0;const r=o.data.data,c=r[0].account.default_company_id;i=r.findIndex(l=>l.company.id===c)||0,e(Rs({type:ss.TOKEN,user:o.data.data[i].user,token:o.data.data[i].token.token})),e(Mn(o.data.data)),e(uo(i))},a=o=>{$("POST",D("/api/v1/oauth_login?provider=google&id_token=:token&create=true",{token:o})).then(i=>n(i))},s=o=>{$("POST",D("/api/v1/oauth_login?provider=microsoft"),{accessToken:o}).then(i=>n(i))};return t("div",{className:"grid grid-cols-3 text-sm mt-4",children:f("div",{className:"col-span-3 flex flex-col items-center space-y-3",children:[t(Fr,{onSuccess:o=>o.credential&&a(o.credential),onError:()=>T.error()}),f(Tc,{onClick:async()=>{await Ss.handleRedirectPromise(),Ss.loginPopup({scopes:["user.read"]}).then(o=>s(o.accessToken))},children:[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 23 23",children:[t("path",{fill:"#f3f3f3",d:"M0 0h23v23H0z"}),t("path",{fill:"#f35325",d:"M1 1h10v10H1z"}),t("path",{fill:"#81bc06",d:"M12 1h10v10H12z"}),t("path",{fill:"#05a6f0",d:"M1 12h10v10H1z"}),t("path",{fill:"#ffba08",d:"M12 12h10v10H12z"})]}),t("p",{children:"Log in with Microsoft"})]})]})})}function Oh(){const[e]=N(),n=Ae(),a=aa(),s=we(),[o,i]=tt(Ac),[r,c]=g.useState(!1),l=()=>{c(!1),i("false")},_=()=>{const d=(a==null?void 0:a.oauth_provider_id)==="google";T.processing(),$("PUT",D("/api/v1/companies/:id",{id:s==null?void 0:s.id}),{...s,settings:{...s.settings,email_sending_method:d?"gmail":"office365",gmail_sending_user_id:a==null?void 0:a.id}}).then(p=>{n(ba({object:"company",data:p.data.data})),T.success("updated_settings"),l()})};return g.useEffect(()=>{((a==null?void 0:a.oauth_provider_id)==="microsoft"||(a==null?void 0:a.oauth_provider_id)==="google")&&(a!=null&&a.oauth_user_token)&&o==="true"&&c(!0)},[a,o]),f(Fe,{title:e("email_provider"),visible:r,onClose:l,children:[t("span",{className:"text-base font-medium",children:ft("select_email_provider",{provider:(a==null?void 0:a.oauth_provider_id)==="google"?"Gmail":"Outlook"})}),t(te,{className:"self-end",behavior:"button",type:"primary",onClick:_,children:e("yes")})]})}const Ac=to("connectMailer","false");function Mh(){const[e]=N(),n=bt(),a=Ie(Ac),s=l=>{T.processing(),window.location.href=D("/auth/:mailer?react=true",{mailer:l}),a("true")},o=()=>{T.processing(),$("POST",D("/api/v1/users/:id/disconnect_mailer",{id:n.id}),{}).then(l=>{ie(["users"]),T.success(l.data.message),window.location.reload()}).finally(()=>a("false"))},i=()=>{T.processing(),$("POST",D("/api/v1/users/:id/disconnect_oauth",{id:n.id})).then(l=>{ie(["users"]),T.success(l.data.message),window.location.reload()}).finally(()=>a("false"))},r=l=>{$("POST",D("/api/v1/connected_account?include=company_user&provider=microsoft"),{accessToken:l}).then(()=>{window.location.reload()}).finally(()=>a("false"))},c=l=>{$("POST",D("/api/v1/connected_account?include=company_user&provider=google&id_token=:token",{token:l})).then(()=>{window.location.reload()}).finally(()=>a("false"))};return f(F,{children:[t(Oh,{}),f(Z,{title:e("oneclick_login"),children:[!(n!=null&&n.oauth_provider_id)&&It()&&f(F,{children:[t("div",{className:"grid grid-cols-3 text-sm mt-4",children:t(x,{leftSide:"Google",children:t(Fr,{onSuccess:l=>l.credential&&c(l.credential),onError:()=>T.error()})})}),t("div",{className:oe("grid grid-cols-3 text-sm",{"mt-4":It()}),children:t(x,{leftSide:"Microsoft",children:f(Tc,{onClick:async()=>{await Ss.handleRedirectPromise(),Ss.loginPopup({scopes:["user.read"]}).then(l=>r(l.accessToken))},children:[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 23 23",children:[t("path",{fill:"#f3f3f3",d:"M0 0h23v23H0z"}),t("path",{fill:"#f35325",d:"M1 1h10v10H1z"}),t("path",{fill:"#81bc06",d:"M12 1h10v10H12z"}),t("path",{fill:"#05a6f0",d:"M1 12h10v10H1z"}),t("path",{fill:"#ffba08",d:"M12 12h10v10H12z"})]}),t("p",{style:{color:"#000"},children:"Log in with Microsoft"})]})})})]}),(n==null?void 0:n.oauth_provider_id)==="google"&&f(F,{children:[t(x,{leftSide:"Google",children:t(te,{type:"minimal",behavior:"button",onClick:i,children:e("disconnect_google")})}),t(x,{leftSide:"Gmail",children:n!=null&&n.oauth_user_token?t(te,{type:"minimal",behavior:"button",onClick:o,children:e("disconnect_gmail")}):t(te,{type:"minimal",behavior:"button",onClick:()=>s("google"),children:e("connect_gmail")})})]}),(n==null?void 0:n.oauth_provider_id)==="microsoft"&&f(F,{children:[t(x,{leftSide:"Microsoft",children:t(te,{type:"minimal",behavior:"button",onClick:i,children:e("disconnect_microsoft")})}),t(x,{leftSide:"Email",children:n!=null&&n.oauth_user_token?t(te,{type:"minimal",behavior:"button",onClick:o,children:e("disconnect_email")}):t(te,{type:"minimal",behavior:"button",onClick:()=>s("microsoft"),children:e("connect_email")})})]})]})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function yi(){const{isAdmin:e}=Je();return!((vn()||Ct())&&e)}var _a=(e=>(e.SingleLineText="single_line_text",e.MultiLineText="multi_line_text",e.Switch="switch",e.Dropdown="dropdown",e.Date="date",e))(_a||{});function _n(e){const[n]=N(),[a,s]=g.useState(""),[o,i]=g.useState(""),r=yi(),[c,l]=g.useState("single_line_text"),_=["single_line_text","multi_line_text","switch","dropdown","date"],d=g.useRef(),p=g.useRef(),m=g.useRef();g.useEffect(()=>{if(e.initialValue){const u=e.initialValue.split("|");e.initialValue.includes("|")?_.includes(u[1])?l(u[1]):(l("dropdown"),i(u[1])):l("multi_line_text"),s(u[0])}},[]);const h=()=>{var b,w,y,k,C,S;const u=((b=m.current)==null?void 0:b.value)==="dropdown"?(w=p.current)==null?void 0:w.value.split(",").map(E=>E.trim()).join(","):(y=m.current)==null?void 0:y.value,v=u==="multi_line_text"?`${((k=d.current)==null?void 0:k.value)||""}`:`${((C=d.current)==null?void 0:C.value)||""}|${u}`;e.onChange&&e.onChange(v,e.field,(S=m.current)==null?void 0:S.value)};return f(F,{children:[t(x,{noExternalPadding:e.noExternalPadding,leftSide:t(q,{innerRef:d,id:e.field,placeholder:e.placeholder,onChange:h,value:a,disabled:r}),children:f(se,{innerRef:m,onChange:u=>{l(u.target.value),h()},value:c,children:[t("option",{value:"single_line_text",children:n("single_line_text")}),t("option",{value:"multi_line_text",children:n("multi_line_text")}),t("option",{value:"switch",children:n("switch")}),t("option",{value:"dropdown",children:n("dropdown")}),t("option",{value:"date",children:n("date")})]})}),c==="dropdown"&&t(Qn,{children:t(q,{innerRef:p,id:"multi_line_text",placeholder:n("comma_sparated_list"),onChange:h,value:o})})]})}function ir(e){const[n,a]=g.useState("single_line_text"),s=me();return g.useEffect(()=>{const[,o]=e.value.includes("|")?e.value.split("|"):[e.value,"multi_line_text"];a(o)},[e.field]),f(F,{children:[n===_a.SingleLineText&&t(q,{style:{color:s.$3,colorScheme:s.$0},type:"text",id:e.field,onValueChange:e.onValueChange,value:e.defaultValue||""}),n===_a.MultiLineText&&t(q,{style:{color:s.$3,colorScheme:s.$0},element:"textarea",id:e.field,onValueChange:e.onValueChange,value:e.defaultValue||""}),n===_a.Switch&&t(B,{style:{color:s.$3,colorScheme:s.$0},onChange:o=>{const i=o?"yes":"no";e.onValueChange(i)},checked:typeof e.defaultValue=="string"?e.defaultValue==="true"||e.defaultValue==="1"||e.defaultValue==="yes":e.defaultValue}),n===_a.Date&&t(q,{style:{color:s.$3,colorScheme:s.$0},type:"date",id:e.field,onValueChange:e.onValueChange,value:e.defaultValue||""}),!Object.values(_a).includes(n)&&f(se,{style:{color:s.$3,colorScheme:s.$0},value:e.defaultValue||"",onChange:o=>e.onValueChange(o.target.value),children:[t("option",{value:""}),n.split(",").map((o,i)=>t("option",{value:o,children:o},i))]})]})}function Js(e){const[n,a]=e.includes("|")?e.split("|"):[e,""];return{label:()=>n,type:()=>a}}function VQe(){const e=we();return n=>e&&e.custom_fields[n]?Js(e.custom_fields[n]):Js("")}function at(e){const[n,a]=g.useState("");return g.useEffect(()=>{const[s]=e.value.includes("|")?e.value.split("|"):[e.value,""];a(s||"")},[]),e.fieldOnly?t(ir,{...e}):t(x,{leftSide:n,noExternalPadding:e.noExternalPadding,children:t(ir,{...e})})}const jh=e=>Rn.isValidElement(e)&&e.type==="option";function sa({children:e,value:n,errorMessage:a,disabled:s,onValueChange:o,label:i,dismissable:r,clearAfterSelection:c}){if(Rn.Children.toArray(e).every(jh)===!1)throw new Error("SearchableSelect must have only <option> elements as children.");const _=Rn.Children.map(e,u=>g.isValidElement(u)&&{id:io(),label:Array.isArray(u.props.children)?u.props.children.join(""):u.props.children,value:u.props.value,resource:null,eventType:"external",searchable:`${u.props.children??""} ${u.props.value??""}`}),d=Rn.Children.map(e,u=>g.isValidElement(u)&&{label:Array.isArray(u.props.children)?u.props.children.join(""):u.props.children,value:u.props.value}),p=c?"":_==null?void 0:_.find(u=>u.value===n),m=me();return f("div",{className:"space-y-2",children:[i?t(Pn,{children:i}):null,t(Vn,{options:d,value:p,onChange:u=>o(u===null?"":u.value),isDisabled:s,isClearable:r,styles:{input:u=>({...u,color:m.$3}),singleValue:u=>({...u,color:m.$3}),menu:u=>({...u,width:"max-content",minWidth:"100%",backgroundColor:m.$4,borderColor:m.$4,zIndex:50}),control:(u,{isDisabled:v})=>({...u,borderRadius:"3px",backgroundColor:m.$1,color:m.$3,borderColor:m.$5,cursor:v?"not-allowed":"pointer",pointerEvents:v?"auto":"unset"}),option:(u,{isSelected:v,isFocused:b})=>({...u,color:m.$3,backgroundColor:v||b?m.$7:m.$1,":hover":{backgroundColor:m.$7}})}}),a&&t(it,{className:"mt-2",type:"danger",children:a})]})}function js(e){const n=_o();return t(sa,{value:e.value,onValueChange:e.onChange,label:e.label,errorMessage:e.errorMessage,dismissable:e.dismissable,children:n.map((a,s)=>t("option",{value:a.id,children:a.name},s))})}function Xt(e){const[n,a]=g.useState(),s=g.useRef(null);g.useEffect(()=>{a(e.value)},[e.value]);const o=l=>{e.onChange(l)},i=g.useRef(ce.debounce(l=>o(l),500)).current,r=l=>{a(l||""),i(l||"")},c=me();return f("div",{className:"space-y-4",style:{zIndex:0},children:[e.label&&t(Pn,{children:e.label}),t(F_,{tinymceScriptSrc:"/tinymce_6.4.2/tinymce/js/tinymce/tinymce.min.js",ref:s,value:n,init:{height:300,entity_encoding:"raw",menubar:!1,plugins:["advlist","autolink","lists","link","image","charmap","anchor","searchreplace","visualblocks","code","fullscreen","insertdatetime","media","table","preview","help","wordcount","mceCodeEditor"],toolbar:"undo redo | blocks | link bold italic forecolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | code | help",content_style:"body { font-family:Helvetica,Arial,sans-serif; font-size:14px }",contextmenu:"",content_css:c.$0==="dark"?"dark":"/tinymce_6.4.2/tinymce/content.css",body_class:"h-screen",skin:c.$0==="dark"?"oxide-dark":"oxide",paste_data_images:!1,newline_behavior:"invert",browser_spellcheck:!0,convert_urls:!1},onEditorChange:r,disabled:e.disabled})]})}function Fh(){var l,_,d,p,m,h,u,v,b;const[e]=N(),n=Ar(),a=bt(),s=Ae(),o=we(),[,i]=tt(fo),r=qt(w=>w.user.changes),c=(w,y)=>{s(ja({property:w,value:y}))};return t(F,{children:r&&f(Z,{title:e("details"),children:[t(x,{leftSide:e("first_name"),children:t(q,{value:(r==null?void 0:r.first_name)||(a==null?void 0:a.first_name)||"",onValueChange:w=>c("first_name",w),errorMessage:(((l=n==null?void 0:n.errors)==null?void 0:l.first_name)??[])[0]})}),t(x,{leftSide:e("last_name"),children:t(q,{value:(r==null?void 0:r.last_name)||(a==null?void 0:a.last_name)||"",onValueChange:w=>c("last_name",w),errorMessage:(((_=n==null?void 0:n.errors)==null?void 0:_.last_name)??[])[0]})}),t(x,{leftSide:e("email"),children:t(q,{value:(r==null?void 0:r.email)||(a==null?void 0:a.email)||"",type:"email",onValueChange:w=>c("email",w),errorMessage:(((d=n==null?void 0:n.errors)==null?void 0:d.email)??[])[0]})}),t(x,{leftSide:e("language"),children:t(js,{value:(r==null?void 0:r.language_id)||"",onChange:w=>{i(!0),c("language_id",w)},errorMessage:(((p=n==null?void 0:n.errors)==null?void 0:p.language_id)??[])[0],dismissable:!0})}),t(x,{leftSide:e("phone"),children:t(q,{value:(r==null?void 0:r.phone)||(a==null?void 0:a.phone)||"",onValueChange:w=>c("phone",w),errorMessage:(((m=n==null?void 0:n.errors)==null?void 0:m.phone)??[])[0]})}),t(x,{leftSide:e("signature"),children:t(Xt,{value:(r==null?void 0:r.signature)||"",onChange:w=>c("signature",w)})}),((h=o==null?void 0:o.custom_fields)==null?void 0:h.user1)&&t(at,{field:"user1",defaultValue:r.custom_value1,value:o.custom_fields.user1,onValueChange:w=>c("custom_value1",w)}),((u=o==null?void 0:o.custom_fields)==null?void 0:u.user2)&&t(at,{field:"user2",defaultValue:r.custom_value2,value:o.custom_fields.user2,onValueChange:w=>c("custom_value2",w)}),((v=o==null?void 0:o.custom_fields)==null?void 0:v.user3)&&t(at,{field:"user3",defaultValue:r.custom_value3,value:o.custom_fields.user3,onValueChange:w=>c("custom_value3",w)}),((b=o==null?void 0:o.custom_fields)==null?void 0:b.user4)&&t(at,{field:"user4",defaultValue:r.custom_value4,value:o.custom_fields.user4,onValueChange:w=>c("custom_value4",w)})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Bh(){const[e]=N();return[{key:"invoice_created",label:e("invoice_created")},{key:"invoice_sent",label:e("invoice_sent_notification_label")},{key:"invoice_viewed",label:e("invoice_viewed")},{key:"invoice_late",label:e("invoice_late")},{key:"inventory_threshold",label:e("inventory_threshold")},{key:"payment_success",label:e("payment_success")},{key:"payment_failure",label:e("payment_failure")},{key:"payment_manual",label:e("manual_payment")},{key:"purchase_order_created",label:e("purchase_order_created")},{key:"purchase_order_sent",label:e("purchase_order_sent")},{key:"purchase_order_viewed",label:e("purchase_order_viewed")},{key:"purchase_order_accepted",label:e("purchase_order_accepted")},{key:"quote_created",label:e("quote_created")},{key:"quote_sent",label:e("quote_sent")},{key:"quote_viewed",label:e("quote_viewed")},{key:"quote_approved",label:e("quote_approved")},{key:"quote_expired",label:e("quote_expired")},{key:"credit_created",label:e("credit_created")},{key:"credit_sent",label:e("credit_sent")},{key:"credit_viewed",label:e("credit_viewed")}]}function zh(){var p,m,h;const[e]=N(),n=Ae(),a=Bh(),s=qt(u=>u.user.changes),o=Ls(),[i,r]=g.useState(""),c=u=>{r(u);const v=ce.cloneDeep(s),b=u==="custom"?[]:[u];ce.set(v,"company_user.notifications.email",b),n(Ro(v))},l=u=>{var v,b,w;return i==="all_notifications"?`${u}_all`:i==="all_user_notifications"?`${u}_user`:((w=(b=(v=s==null?void 0:s.company_user)==null?void 0:v.notifications)==null?void 0:b.email)==null?void 0:w.find(y=>y.startsWith(u)))||"none"},_=(u,v)=>{var C,S;const b=(S=(C=s==null?void 0:s.company_user)==null?void 0:C.notifications)==null?void 0:S.email,w=b.findIndex(E=>E.startsWith(u));let y=[...b];w>-1?v!=="none"?y=b.map((E,I)=>w===I?v:E):y=b.filter((E,I)=>w!==I):y=[...y,v];const k=ce.cloneDeep(s);ce.set(k,"company_user.notifications.email",y),n(Ro(k))},d=u=>{var y,k;let b=[...(k=(y=s==null?void 0:s.company_user)==null?void 0:y.notifications)==null?void 0:k.email];u?b.find(S=>S==="task_assigned")||(b=[...b,"task_assigned"]):b=b.filter(C=>C!=="task_assigned");const w=ce.cloneDeep(s);ce.set(w,"company_user.notifications.email",b),n(Ro(w))};return g.useEffect(()=>{var v,b;const u=(b=(v=s==null?void 0:s.company_user)==null?void 0:v.notifications)==null?void 0:b.email;u&&!i&&(u.includes("all_notifications")||u.includes("all_user_notifications")?r(u[0]):r("custom"))},[s]),f(Z,{title:e("notifications"),children:[t(x,{leftSide:e("login_notification"),leftSideHelp:e("login_notification_help"),children:t(B,{checked:s==null?void 0:s.user_logged_in_notification,onChange:u=>o("user_logged_in_notification",u)})}),t(x,{className:"mb-4",leftSide:e("task_assigned_notification"),leftSideHelp:e("task_assigned_notification_help"),children:t(B,{checked:!!((h=(m=(p=s==null?void 0:s.company_user)==null?void 0:p.notifications)==null?void 0:m.email)!=null&&h.find(u=>u==="task_assigned")),onChange:u=>d(u)})}),t(ye,{withoutPadding:!0}),t(x,{className:"my-4",leftSide:e("all_events"),children:f(se,{value:i,onValueChange:u=>c(u),children:[t("option",{value:"all_notifications",children:e("all_records")}),t("option",{value:"all_user_notifications",children:e("owned_by_user")}),t("option",{value:"custom",children:e("custom")})]})}),t(ye,{withoutPadding:!0}),t("div",{className:"flex flex-col",children:a.map((u,v)=>t(x,{className:"mt-0",leftSide:u.label,children:f(se,{value:l(u.key),onValueChange:b=>_(u.key,b),disabled:!!i&&i!=="custom",children:[t("option",{value:`${u.key}_all`,children:e("all_records")}),t("option",{value:`${u.key}_user`,children:e("owned_by_user")}),t("option",{value:"none",children:e("none")})]})},v))})]})}function Uh(){var r;const[e]=N(),n=Ae(),a=Ar(),s=qt(c=>c.user.changes),[o,i]=g.useState(!1);return g.useEffect(()=>{o&&window.addEventListener("user.updated",()=>n(lm()))},[o]),t(Z,{title:e("password"),children:t(x,{leftSide:e("new_password"),children:t(q,{type:"password",value:s.password||"",onValueChange:c=>{n(ja({property:"password",value:c})),!o&&i(!0)},errorMessage:(r=a==null?void 0:a.errors)==null?void 0:r.password})})})}function Hh(e){const[n]=N(),{resendSmsCode:a,verifyPhoneNumber:s,setVisible:o}=e,[i,r]=g.useState("");return t(Fe,{title:n("sms_code"),visible:e.visible,onClose:()=>{o(!1),r("")},children:f("div",{children:[t("div",{className:"flex justify-end mb-1",children:t(te,{behavior:"button",type:"minimal",onClick:()=>r(""),children:n("clear")})}),t("div",{className:"flex justify-center",children:t(ri,{value:i,onChange:r})}),f("div",{className:"flex justify-between mt-8",children:[t(te,{behavior:"button",type:"minimal",onClick:()=>{a(),r("")},children:n("resend_code")}),t(te,{behavior:"button",onClick:()=>s(i),disableWithoutIcon:!0,disabled:i.length!==6,children:n("verify")})]})]})})}function Nc(e){const[n]=N(),a=bt(),s=Ae(),{checkVerification:o,setCheckVerification:i,isDisableModalOpen:r,setIsDisableModalOpen:c,checkOnlyPhoneNumberVerification:l}=e,[_,d]=g.useState(!1),[p,m]=g.useState(!1),[h,u]=g.useState(""),[v,b]=g.useState(""),[w,y]=g.useState(""),[k,C]=g.useState(!1),[S,E]=g.useState(),I=()=>{T.processing(),$("GET",D("/api/v1/settings/enable_two_factor")).then(O=>{T.dismiss(),u(O.data.data.qrCode),b(O.data.data.secret),d(!0)})},H=()=>{T.processing(),E(void 0),$("POST",D("/api/v1/settings/enable_two_factor"),{secret:v,one_time_password:w}).then(O=>{T.success(O.data.message),s(ea(ce.merge({},a,{google_2fa_secret:!0}))),d(!1)}).catch(O=>{var Y;((Y=O.response)==null?void 0:Y.status)===422&&(E(O.response.data),T.dismiss())}).finally(()=>C(!1))},z=()=>{T.processing(),$("POST",D("/api/v1/settings/disable_two_factor")).then(()=>{T.success("disabled_two_factor"),s(ea(ce.merge({},a,{google_2fa_secret:!1}))),c==null||c(!1)})},j=()=>{T.processing(),$("POST",D("/api/v1/sms_reset"),{email:a.email}).then(()=>{T.success("code_was_sent")})},W=O=>{T.processing(),$("POST",D("/api/v1/sms_reset/confirm?validate_only=true"),{code:O,email:a.email}).then(()=>{T.success("verified_phone_number"),s(ea(ce.merge({},a,{verified_phone_number:!0}))),m(!1),l||(I(),d(!0))})},ee=()=>{a!=null&&a.phone?a!=null&&a.verified_phone_number?(I(),d(!0)):(m(!0),j()):T.error("enter_phone_number")};g.useEffect(()=>{o&&ee()},[o]),g.useEffect(()=>{(!p||!_)&&i(!1)},[p,_]);const V=me();return f(F,{children:[t(Hh,{visible:p,setVisible:m,resendSmsCode:j,verifyPhoneNumber:W}),f(Fe,{title:n("enable_two_factor"),visible:_,onClose:d,children:[f("div",{className:"flex flex-col items-center pb-8 space-y-4",children:[t(B_,{size:156,value:h}),t("p",{className:"font-semibold",style:{backgroundColor:V.$2,color:V.$3,colorScheme:V.$0},children:v})]}),t(q,{id:"one_time_password",type:"text",label:n("one_time_password"),onValueChange:O=>y(O),errorMessage:S==null?void 0:S.errors.one_time_password}),t(te,{behavior:"button",disabled:k,onClick:H,children:n("continue")}),t(Pe,{external:!0,to:"https://github.com/antonioribeiro/google2fa#google-authenticator-apps",children:n("learn_more")})]}),c&&typeof r=="boolean"&&t(Fe,{title:n("disable_two_factor"),visible:r,onClose:c,children:t(te,{behavior:"button",disabled:k,onClick:z,children:n("confirm")})})]})}function Gh(){const[e]=N(),n=bt(),[a,s]=g.useState(!1),[o,i]=g.useState(!1);return f(F,{children:[t(Nc,{checkVerification:o,setCheckVerification:i,isDisableModalOpen:a,setIsDisableModalOpen:s}),t(Z,{title:e("enable_two_factor"),children:f(x,{leftSide:"2FA",children:[!(n!=null&&n.google_2fa_secret)&&t(te,{behavior:"button",type:"minimal",onClick:()=>i(!0),children:e("enable")}),(n==null?void 0:n.google_2fa_secret)&&t(te,{behavior:"button",type:"minimal",onClick:()=>s(!0),children:e("disable")})]})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function An(){const e=Lt({overwrite:!1}),n=Ae();return(a,s)=>{const[o]=s.split("|");if(o===""){const i=ce.cloneDeep(e);return i&&delete i.custom_fields[a],n(La({object:"company",data:i}))}n(Ge({object:"company",property:`custom_fields.${a}`,value:s}))}}function bi(e){const[n]=N(),a=bt(),s=yi(),{isAdmin:o}=Je();return t(F,{children:s&&f("div",{className:e.className,children:[!o&&t(it,{className:"mb-4",type:"warning",disableClosing:!0,children:f("div",{className:"flex items-center space-x-1",children:[t(Ja,{fontSize:18}),f("span",{children:[n("not_allowed"),"."]})]})}),o&&t(it,{className:"mb-4",type:"warning",disableClosing:!0,children:f("div",{className:"flex items-center justify-between",children:[f("p",{className:"inline-flex items-center space-x-1",children:[t(Ja,{fontSize:18}),f("span",{children:[n("upgrade_to_paid_plan"),"."]})]}),(a==null?void 0:a.company_user)&&t(Pe,{to:a.company_user.ninja_portal_url||U("/settings/account_management"),className:"ml-10",external:!0,children:n("plan_change")})]})})]})})}function Wh(){const[e]=N(),n=we(),a=An();return f(F,{children:[t(bi,{}),t(Z,{title:e("custom_fields"),children:n&&["user1","user2","user3","user4"].map(s=>t(_n,{initialValue:n.custom_fields[s],field:s,placeholder:e("user_field"),onChange:o=>a(s,o)},s))})]})}function ka(){const e=aa({overwrite:!1}),[n]=N(),[a,s]=g.useState(!1),[o,i]=g.useState(null),r=Ae(),c=(m,h)=>r(ja({property:`company_user.react_settings.${m}`,value:h})),{getState:l}=_d(),_=async({silent:m})=>{!m&&T.processing(),$("PUT",D(`/api/v1/company_users/${e==null?void 0:e.id}/preferences?include=company_user`),{react_settings:l().user.changes.company_user.react_settings}).then(h=>{!m&&T.success("updated_user"),ie(["company_users"]),r(ea(h.data.data)),r(di()),s(!1)}).catch(h=>{var u;m&&T.dismiss(),((u=h.response)==null?void 0:u.status)===412&&i(h.response.data)})},d=g.useMemo(()=>({children:m})=>f(F,{children:[f(Fe,{visible:a,onClose:s,title:n("preferences"),overflowVisible:!0,children:[m,t(te,{onClick:_,children:n("save")})]}),t(te,{type:"minimal",onClick:()=>s(!0),noBackgroundColor:!0,children:t(zd,{})})]}),[a,o]),p=Et();return{Preferences:d,update:c,preferences:p.preferences,save:_}}function We(e){const n=me(),a=we(),s=Et({overwrite:!1}),[o,i]=g.useState(typeof e.value=="number"?e.value:e.value?parseFloat(String(e.value)):void 0),r=()=>{if(e.precision!==0)return a!=null&&a.use_comma_as_decimal_place?",":"."},c=_=>{var p,m;const d=r();if(d===void 0)return 0;if(e.disablePrecision&&_)return _.includes(d)?((m=(p=_.split(d))==null?void 0:p[1])==null?void 0:m.length)||2:void 0;if(!e.disablePrecision)return typeof e.precision=="number"?e.precision:s!=null&&s.number_precision&&(s==null?void 0:s.number_precision)>0&&(s==null?void 0:s.number_precision)<=100?s.number_precision:2},l=()=>{if(e.precision!==0)return a!=null&&a.use_comma_as_decimal_place?".":","};return Za(()=>{e.onValueChange&&e.changeOverride&&e.onValueChange(typeof o=="number"?String(o):"0")},500,[o]),g.useEffect(()=>{i(e.value?parseFloat(String(e.value)):void 0)},[e.value]),{}.VITE_RETURN_NUMBER_FIELD==="true"?t(q,{type:"number",value:e.value,errorMessage:e.errorMessage,onValueChange:e.onValueChange,disabled:e.disabled,label:e.label,required:e.required,withoutLabelWrapping:e.withoutLabelWrapping,border:e.border,className:e.className,style:e.style,id:e.id,changeOverride:e.changeOverride,placeholder:e.placeholder,cypressRef:e.cypressRef,innerRef:e.innerRef}):f("section",{children:[e.label&&f(Pn,{className:oe("mb-2",{"whitespace-nowrap":e.withoutLabelWrapping}),for:e.id,children:[e.label,e.required&&t("span",{className:"ml-1 text-red-600",children:"*"})]}),t("div",{className:"relative",children:t(z_,{className:oe(`w-full py-2 px-3 rounded text-sm disabled:opacity-75 disabled:cursor-not-allowed ${e.className}`,{"border border-gray-300":e.border!==!1}),value:o||"",placeholder:e.placeholder??void 0,onChange:_=>{if(e.onValueChange&&e.changeOverride){const d=_.target.value,p=d?Xi(d,{separator:l(),decimal:r(),symbol:"",precision:c(d)===void 0?0:c(d)}).value:void 0;i(p)}},onBlur:_=>{if(e.onValueChange&&!e.changeOverride){const d=_.target.value,p=d?String(Xi(d,{separator:l(),decimal:r(),symbol:"",precision:c(d)===void 0?0:c(d)}).value):"0";e.onValueChange(p)}},thousandSeparator:l(),decimalSeparator:r(),decimalScale:c(),allowNegative:!0,style:{backgroundColor:n.$1,borderColor:n.$5,color:n.$3,...e.style},disabled:e.disabled})}),e.errorMessage&&t(it,{className:"mt-2",type:"danger",children:e.errorMessage})]})}function Kh(){const[e]=N(),n=Ae(),a=Et(),s=(o,i)=>{n(ja({property:o,value:i}))};return f("div",{className:"space-y-4",children:[f(Z,{title:e("preferences"),children:[t(x,{leftSide:e("show_pdf_preview"),children:t(B,{checked:typeof a.show_pdf_preview=="boolean"?a.show_pdf_preview:!0,onValueChange:o=>s("company_user.react_settings.show_pdf_preview",o)})}),t(x,{leftSide:e("show_document_preview"),children:t(B,{checked:!!a.show_document_preview,onValueChange:o=>s("company_user.react_settings.show_document_preview",o)})}),t(x,{leftSide:e("react_notification_link"),leftSideHelp:e("react_notification_link_help"),children:t(B,{checked:a.react_notification_link,onValueChange:o=>s("company_user.react_settings.react_notification_link",o)})}),t(x,{leftSide:e("number_precision"),leftSideHelp:e("number_precision_help"),children:t(We,{precision:0,value:(a==null?void 0:a.number_precision)||"",onValueChange:o=>s("company_user.react_settings.number_precision",Number(o)),placeholder:e("number_precision"),disablePrecision:!0})}),t(x,{leftSide:e("dark_mode"),children:t(B,{checked:!!(a!=null&&a.dark_mode),onChange:o=>s("company_user.react_settings.dark_mode",o)})}),t(x,{leftSide:e("show_table_footer"),leftSideHelp:e("show_table_footer_help"),children:t(B,{checked:!!(a!=null&&a.show_table_footer),onValueChange:o=>s("company_user.react_settings.show_table_footer",o)})}),t(x,{leftSide:e("auto_expand_product_table_notes"),leftSideHelp:e("auto_expand_product_table_notes_help"),children:t(B,{checked:!!a.preferences.auto_expand_product_table_notes,onValueChange:o=>s("company_user.react_settings.preferences.auto_expand_product_table_notes",o)})}),t(Om,{})]}),f(Oo,{title:`${e("dashboard")} ${e("charts")}`,path:"dashboard_charts",children:[t(ks,{path:"dashboard_charts.default_view"}),t(ks,{path:"dashboard_charts.currency"}),t(ks,{path:"dashboard_charts.range"})]}),t(Oo,{title:e("datatable"),path:"datatables",children:t(ks,{path:"datatables.clients.sort"})}),t(Oo,{title:e("reports"),path:"reports",children:t(ks,{path:"reports.columns"})})]})}function Oo({title:e,children:n,path:a}){const{preferences:s}=ka();return JSON.stringify(ce.get(Xs,a))===JSON.stringify(ce.get(s,a))?null:t(Z,{title:e,children:n})}function ks({path:e}){const{preferences:n,update:a}=ka(),{t:s}=N(),o={"dashboard_charts.default_view":`${s("default")} ${s("view")}`,"dashboard_charts.currency":s("currency"),"dashboard_charts.range":s("range"),"datatables.clients.sort":`${s("clients")} ${s("sort")}`,"reports.columns":s("columns")};return ce.get(Xs,e)===ce.get(n,e)?null:t(Nt,{onClick:()=>a(`preferences.${e}`,ce.get(Xs,e)),children:f(es,{className:"space-x-2",children:[t("div",{children:o[e]}),t(Ln,{size:18})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Qh(){const{t:e}=N();return[{name:e("details"),href:"/settings/user_details"},{name:e("password"),href:"/settings/user_details/password"},{name:e("oauth_mail"),href:"/settings/user_details/connect"},{name:e("enable_two_factor"),href:"/settings/user_details/enable_two_factor"},{name:e("accent_color"),href:"/settings/user_details/accent_color"},{name:e("notifications"),href:"/settings/user_details/notifications"},{name:e("custom_fields"),href:"/settings/user_details/custom_fields"},{name:e("preferences"),href:"/settings/user_details/preferences"}]}function Yh(){Se("user_details");const[e]=N(),n=Qh(),[a,s]=g.useState(),[o,i]=g.useState(!1),r=[{name:e("settings"),href:"/settings"},{name:e("user_details"),href:"/settings/user_details"}],[c,l]=tt(fo),_=bt(),d=Ae(),p=Lt(),m=Ie(un),[h,u]=g.useState(!1),v=qt(k=>k.user),{isAdmin:b}=Je(),{save:w}=ka(),y=(k,C)=>{T.processing(),s(void 0);const S=[$("PUT",D("/api/v1/users/:id?include=company_user",{id:_.id}),v.changes,{headers:{"X-Api-Password":k}})];b&&S.push($("PUT",D("/api/v1/companies/:id",{id:p==null?void 0:p.id}),p)),Pr.all(S).then(E=>{T.success("updated_settings"),ie(["users"]),c&&(ie(["statics"]),l(!1)),E[0].data.data.phone!==(_==null?void 0:_.phone)&&(_!=null&&_.google_2fa_secret)&&!E[0].data.data.verified_phone_number&&i(!0),d(ea(E[0].data.data)),window.dispatchEvent(new CustomEvent("user.updated")),b&&d(ba({object:"company",data:E[1].data.data}))}).catch(E=>{var I,H;((I=E.response)==null?void 0:I.status)===412&&(T.error("password_error_incorrect"),m(0)),((H=E.response)==null?void 0:H.status)==422&&(T.dismiss(),s(E.response.data))}),w({silent:!0})};return g.useEffect(()=>{d(di())},[_]),f(F,{children:[f(Ve,{onSaveClick:()=>u(!0),onCancelClick:()=>d(rm()),title:e("user_details"),breadcrumbs:r,docsLink:"en/basic-settings/#user_details",children:[t(yn,{show:h,onClose:u,onSave:y}),t(wa,{tabs:n,className:"mt-6"}),t("div",{className:"my-4",children:t(on,{context:a})})]}),t(Nc,{checkVerification:o,setCheckVerification:i,checkOnlyPhoneNumberVerification:!0})]})}function Xh(){var u,v;const[e]=N(),n=$e(),a=Ae(),[s,o]=g.useState(!1),[i,r]=g.useState(""),c=[{property:"amount",translation:e("amount")},{property:"address2",translation:e("address2")},{property:"balance",translation:e("balance")},{property:"country",translation:e("country")},{property:"credit",translation:e("credit")},{property:"credit_card",translation:e("credit_card")},{property:"date",translation:e("date")},{property:"description",translation:e("description")},{property:"details",translation:e("details")},{property:"discount",translation:e("discount")},{property:"due_date",translation:e("due_date")},{property:"email",translation:e("email")},{property:"from",translation:e("from")},{property:"hours",translation:e("hours")},{property:"id_number",translation:e("id_number")},{property:"invoice",translation:e("invoice")},{property:"item",translation:e("item")},{property:"line_total",translation:e("line_total")},{property:"po_number",translation:e("po_number")},{property:"paid_to_date",translation:e("paid_to_date")},{property:"partial_due",translation:e("partial_due")},{property:"payment_date",translation:e("payment_date")},{property:"phone",translation:e("phone")},{property:"quantity",translation:e("quantity")},{property:"quote",translation:e("quote")},{property:"rate",translation:e("rate")},{property:"service",translation:e("service")},{property:"statement",translation:e("statement")},{property:"address1",translation:e("address1")},{property:"subtotal",translation:e("subtotal")},{property:"surcharge",translation:e("surcharge")},{property:"tax",translation:e("tax")},{property:"taxes",translation:e("taxes")},{property:"terms",translation:e("terms")},{property:"to",translation:e("to")},{property:"total",translation:e("total")},{property:"unit_cost",translation:e("unit_cost")},{property:"vat_number",translation:e("vat_number")},{property:"valid_until",translation:e("valid_until")},{property:"website",translation:e("website")}],[l,_]=g.useState(c);g.useEffect(()=>{var w;const b=Object.keys(((w=n==null?void 0:n.settings)==null?void 0:w.translations)??[]);_(c.filter(y=>!b.includes(y.property)))},[n]);const d=b=>{const w=c.find(y=>y.property===b);return w?w.translation:e(b)},p=b=>{var y;const w=ce.cloneDeep(n);(((y=w.settings.translations)==null?void 0:y.length)<=1||!w.settings.translations)&&(w.settings.translations={}),w.settings.translations[b]="",a(La({object:"company",data:w}))},m=b=>a(Ge({object:"company",property:b.target.id,value:b.target.value})),h=b=>{var y;const w=ce.cloneDeep(n);(y=w==null?void 0:w.settings)==null||delete y.translations[b],a(La({object:"company",data:w}))};return f(F,{children:[f(Fe,{title:e("add_custom"),visible:s,onClose:o,children:[t(q,{onChange:b=>r(b.target.value),id:"custom_field",label:e("custom_field")}),t(te,{onClick:()=>{p(i),r(""),o(!1)},children:e("submit")}),t(Pe,{external:!0,to:"https://github.com/invoiceninja/invoiceninja/blob/master/resources/lang/en/texts.php",children:e("labels")})]}),f(Z,{title:e("custom_labels"),onFormSubmit:b=>b.preventDefault(),children:[t(x,{leftSide:f(se,{onChange:b=>p(b.target.value),defaultValue:"",children:[t("option",{value:""}),l.map(b=>t("option",{value:b.property,children:b.translation},b.property))]}),children:t(te,{behavior:"button",type:"minimal",onClick:()=>o(!0),children:e("add_custom")})}),Object.keys(((u=n==null?void 0:n.settings)==null?void 0:u.translations)??[]).length>0&&t(ye,{}),Object.keys(((v=n==null?void 0:n.settings)==null?void 0:v.translations)??[]).map(b=>{var w;return t(x,{leftSide:d(b),children:f("div",{className:"flex items-center space-x-4",children:[t(q,{value:((w=n==null?void 0:n.settings)==null?void 0:w.translations[b])||"",onChange:m,id:`settings.translations.${b}`}),t(Ln,{className:"cursor-pointer",onClick:()=>h(b)})]})},b)})]})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ic(){const e=Ae();return n=>{e(Ge({object:"company",property:n.target.id,value:n.target.value}))}}function Ze(){const e=Ae();return(n,a)=>{e(Ge({object:"company",property:n,value:a}))}}function K(e){const{propertyKey:n,defaultValue:a="",onCheckboxChange:s}=e,{isCompanySettingsActive:o}=lt(),i=$e(),r=Ze(),[c,l]=g.useState(typeof(i==null?void 0:i.settings[n])<"u"),_=d=>{l(d);const p=ce.cloneDeep(i==null?void 0:i.settings);p&&(d&&!Object.hasOwn(i==null?void 0:i.settings,n)&&(p[n]=a),!d&&Object.hasOwn(i==null?void 0:i.settings,n)&&delete p[n],r("settings",p))};return g.useEffect(()=>{_(c)},[c]),g.useEffect(()=>{i&&Object.hasOwn(i.settings,n)&&_(!0)},[n]),g.useEffect(()=>{typeof e.checked=="boolean"&&l(e.checked)},[e.checked]),f("div",{className:"flex items-center",children:[!o&&t(an,{checked:c,onValueChange:(d,p)=>{l(!!p),s==null||s(!!p)}}),t("div",{className:oe({"opacity-75":!c&&!o,"cursor-pointer":!o}),onClick:()=>{!o&&l(d=>!d),!o&&(s==null||s(!c))},children:e.labelElement})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ht(){const e=$e(),{isCompanySettingsActive:n}=lt();return a=>e&&typeof e.settings[a]>"u"&&!n}function Q(e){const{label:n,helpLabel:a,required:s}=e,o=me();return f("div",{className:"flex flex-col text-sm",children:[f("span",{className:"font-medium",style:{color:o.$3},children:[n,s&&t("span",{className:"ml-1 text-red-600",children:"*"})]}),a&&t(F,{children:typeof a=="string"?t("span",{className:"text-xs",dangerouslySetInnerHTML:{__html:a},style:{color:o.$3,opacity:.8}}):t("div",{className:"text-xs",style:{color:o.$3,opacity:.8},children:a})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function wi(){const{data:e}=tn(),[n,a]=g.useState([]);return g.useEffect(()=>{e!=null&&e.currencies&&a(e.currencies)},[e]),n}function ts(e){const n=wi();return t(sa,{value:e.value,onValueChange:e.onChange,label:e.label,errorMessage:e.errorMessage,dismissable:e.dismissable,children:n.map((a,s)=>f("option",{value:a.id,children:[a.name," (",a.code,")"]},s))})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Go(e,n=0,a=".",s=","){const o=typeof e=="string"?parseFloat(e):e,i=o<0?"-":"",r=Math.abs(o).toFixed(n).toString().split("."),c=r[0],l=r[1]||"",_=[];for(let p=c.length;p>0;p-=3)_.unshift(c.substring(Math.max(0,p-3),p));const d=_.join(s);return i+d+(l?a+l:"")}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */let ki=class{static formatValue(n,a){const s=a.thousand_separator,o=a.decimal_separator,i=a.precision;return Go(n,i,o,s)}static formatMoney(n,a,s,o){var m,h;let i=a.thousand_separator,r=a.decimal_separator,c=a.swap_currency_symbol;const l=a.precision,_=a.code;((m=s.thousand_separator)==null?void 0:m.length)>=1&&(i=s.thousand_separator),((h=s.decimal_separator)==null?void 0:h.length)>=1&&(r=s.decimal_separator),s.swap_currency_symbol&&(c=s.swap_currency_symbol);const d=Go(n,l,r,i),p=a.symbol;return o!=null&&o.showCurrencyCode&&a.code==="CHF"?`${_} ${d}`:o!=null&&o.showCurrencyCode?`${d} ${_}`:c?`${d} ${p.trim()}`:o!=null&&o.showCurrencyCode?this.formatValue(d,a):`${p} ${d}`}};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function xi(){const{data:e}=tn(),[n,a]=g.useState([]);return g.useEffect(()=>{e!=null&&e.countries&&a(e.countries)},[e]),n}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ls(){const e=xi();return n=>e.find(a=>a.id==n)}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function xa(e){const n=wi(),{resolveBy:a}=e||{};return a==="code"?s=>n.find(o=>o.code===s):s=>n.find(o=>o.id==s)}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function rn(){const e=ls(),n=xa(),a=we();return(s,o,i,r,c)=>{const l=o||(a==null?void 0:a.settings.country_id),_=i&&i!=="999"?i:a==null?void 0:a.settings.currency_id,d=e(l),p=n(_);return d&&p?ki.formatMoney(isNaN(Number(s))?0:s,p,d,{showCurrencyCode:c??a.settings.show_currency_code}):r?Number(s).toFixed(r):s}}function Jh(){var m,h,u,v,b,w,y;const[e]=N(),{data:n}=tn(),a=Lt(),{isCompanySettingsActive:s}=lt(),o=Ae(),i=rn(),r=Ic(),c=ht(),l=Ze(),_=De(ct),d=Ie(fo),p=[{id:"symbol",title:`${e("currency_symbol")}: ${i(1e3,a==null?void 0:a.settings.country_id,a==null?void 0:a.settings.currency_id,2)}`,value:"false"},{id:"code",title:`${e("currency_code")}: ${i(1e3,a==null?void 0:a.settings.country_id,a==null?void 0:a.settings.currency_id,2,!0)}`,value:"true"}];return t(F,{children:f(Z,{title:e("settings"),children:[t(x,{leftSide:t(K,{propertyKey:"currency_id",labelElement:t(Q,{label:e("currency")}),defaultValue:"1"}),children:t(ts,{value:(a==null?void 0:a.settings.currency_id)||"",onChange:k=>l("settings.currency_id",k),disabled:c("currency_id"),errorMessage:_==null?void 0:_.errors["settings.currency_id"]})}),t(x,{leftSide:t(K,{propertyKey:"show_currency_code",labelElement:t(Q,{label:e("currency_format")}),defaultValue:"false"}),children:t(oc,{onValueChange:k=>o(Ge({object:"company",property:"settings.show_currency_code",value:k==="true"})),name:"show_currency_code",options:p,defaultSelected:((h=(m=a==null?void 0:a.settings)==null?void 0:m.show_currency_code)==null?void 0:h.toString())??"false",disabled:c("show_currency_code")})}),!ya()&&t(x,{leftSide:t(K,{propertyKey:"language_id",labelElement:t(Q,{label:e("language")}),defaultValue:"1"}),children:t(js,{onChange:k=>{d(!0),l("settings.language_id",k)},value:((u=a==null?void 0:a.settings)==null?void 0:u.language_id)||"",disabled:c("language_id"),errorMessage:_==null?void 0:_.errors["settings.language_id"]})}),t(x,{leftSide:t(K,{propertyKey:"timezone_id",labelElement:t(Q,{label:e("timezone")}),defaultValue:"1"}),children:t(sa,{value:((v=a==null?void 0:a.settings)==null?void 0:v.timezone_id)||"1",disabled:c("timezone_id"),errorMessage:_==null?void 0:_.errors["settings.timezone_id"],onValueChange:k=>l("settings.timezone_id",k),children:n==null?void 0:n.timezones.sort((k,C)=>k.name.localeCompare(C.name)).map(k=>t("option",{value:k.id,children:k.name},k.id))})}),t(x,{leftSide:t(K,{propertyKey:"date_format_id",labelElement:t(Q,{label:e("date_format")}),defaultValue:"1"}),children:t(se,{onChange:r,id:"settings.date_format_id",value:((b=a==null?void 0:a.settings)==null?void 0:b.date_format_id)||"1",disabled:c("date_format_id"),errorMessage:_==null?void 0:_.errors["settings.date_format_id"],children:n==null?void 0:n.date_formats.map(k=>t("option",{value:k.id,children:fe().format(k.format_moment)},k.id))})}),t(x,{leftSide:t(K,{propertyKey:"military_time",labelElement:t(Q,{label:e("military_time")}),defaultValue:!1}),children:t(B,{checked:!!((w=a==null?void 0:a.settings)!=null&&w.military_time),onChange:k=>o(Ge({object:"company",property:"settings.military_time",value:k})),disabled:c("military_time"),cypressRef:"militaryTimeToggle"})}),t(x,{leftSide:t(K,{propertyKey:"enable_rappen_rounding",labelElement:t(Q,{label:e("rappen_rounding")}),defaultValue:!1}),children:t(B,{checked:!!((y=a==null?void 0:a.settings)!=null&&y.enable_rappen_rounding),onChange:k=>o(Ge({object:"company",property:"settings.enable_rappen_rounding",value:k})),disabled:c("enable_rappen_rounding")})}),s&&t(x,{leftSide:e("decimal_comma"),leftSideHelp:e("use_comma_as_decimal_place"),children:t(B,{checked:!!(a!=null&&a.use_comma_as_decimal_place),onChange:k=>l("use_comma_as_decimal_place",k)})}),s&&t(ye,{}),s&&t(x,{leftSide:e("first_month_of_the_year"),children:f(se,{id:"first_month_of_year",value:(a==null?void 0:a.first_month_of_year)||"1",onChange:r,errorMessage:_==null?void 0:_.errors["settings.first_month_of_year"],children:[t("option",{value:"1",children:e("january")}),t("option",{value:"2",children:e("february")}),t("option",{value:"3",children:e("march")}),t("option",{value:"4",children:e("april")}),t("option",{value:"5",children:e("may")}),t("option",{value:"6",children:e("june")}),t("option",{value:"7",children:e("july")}),t("option",{value:"8",children:e("august")}),t("option",{value:"9",children:e("september")}),t("option",{value:"10",children:e("october")}),t("option",{value:"11",children:e("november")}),t("option",{value:"12",children:e("december")})]})})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Zh(){const[e]=N(),{isGroupSettingsActive:n,isClientSettingsActive:a}=lt();let s=[{name:e("settings"),href:"/settings/localization"},{name:e("custom_labels"),href:"/settings/localization/custom_labels"}];return(n||a)&&(s=s.filter(o=>e(o.name)!==e("custom_labels"))),s}function ef(){const[e]=N();Se("localization");const n=Zh(),a=[{name:e("settings"),href:"/settings"},{name:e("localization"),href:"/settings/localization"}],s=Ht(),o=mn();return f(Ve,{onSaveClick:s,onCancelClick:o,title:e("localization"),breadcrumbs:a,docsLink:"en/basic-settings/#localization",children:[t(wa,{tabs:n,className:"mt-6"}),t("div",{className:"my-4",children:t(on,{})})]})}const tf={variant:"generic"};function Oe(e){e={...tf,...e};const n=rt(),a={...e.style};return e.variant==="primary"&&(a.backgroundColor=a.backgroundColor||n,a.color="white"),t("span",{style:a,className:oe("text-xs px-2 py-1 rounded",{"bg-gray-500 text-white":e.variant==="generic","bg-white border text-gray-900 hover:bg-white":e.variant==="white","bg-yellow-600 text-white":e.variant==="yellow","bg-red-600 text-white":e.variant==="red","bg-blue-300 text-white":e.variant==="light-blue","bg-blue-400 text-white":e.variant==="blue","bg-blue-700 text-white":e.variant==="dark-blue","bg-orange-500 text-white":e.variant==="orange","bg-green-500 text-white":e.variant==="green","bg-black text-white":e.variant==="black","bg-purple text-white":e.variant==="purple"}),children:e.children})}function En(e){const[n]=N(),a=Me(e.entity);return a===Re.Active?t(Oe,{variant:"primary",children:n("active")}):a===Re.Archived?t(Oe,{variant:"yellow",children:n("archived")}):a===Re.Deleted?t(Oe,{variant:"red",children:n("deleted")}):t(F,{})}const nf={totalPages:1,currentPage:1,currentPerPage:"10",onPageChange:e=>e,onRowsChange:e=>e,totalRecords:0};function Dc(e){e={...nf,...e};const[n]=N(),a=o=>{o>=1&&o<=e.totalPages&&e.onPageChange(o)},s=me();return f("div",{className:"flex items-center justify-between space-x-2 my-3 overflow-y-auto pb-2",children:[t("div",{className:"flex justify-center md:justify-start items-center space-x-4",children:f("div",{className:"flex items-center space-x-2 flex-wrap",children:[f(se,{value:e.currentPerPage,onValueChange:o=>e.onRowsChange(o),children:[t("option",{value:"10",children:"10"}),t("option",{value:"50",children:"50"}),t("option",{value:"100",children:"100"})]}),t("label",{htmlFor:"location",className:"block text-sm font-medium",style:{color:s.$3},children:n("rows")})]})}),f("p",{className:"hidden lg:block text-sm font-medium",style:{color:s.$3},children:[ft("pdf_page_info",{current:e.currentPage,total:e.totalPages}),".",e.totalRecords&&f("span",{className:"ml-1",children:[n("total_results"),": ",e.totalRecords]})]}),f("nav",{className:"flex justify-center md:justify-end my-4 md:my-0 items-center",style:{color:s.$3},children:[e.leftSideChevrons,t("button",{onClick:()=>a(1),className:"py-1.5 px-2  border rounded-l",style:{backgroundColor:s.$1,borderColor:s.$5},children:t(E_,{})}),t("button",{onClick:()=>a(e.currentPage-1),className:"py-1.5 px-2 bg-white border-b border-t border-r hover:bg-gray-50",style:{backgroundColor:s.$1,borderColor:s.$5},children:t(Lr,{})}),t("button",{"data-cy":"dataTableChevronRight",onClick:()=>a(e.currentPage+1),className:"py-1.5 px-2 bg-white border-b border-t border-r hover:bg-gray-50",style:{backgroundColor:s.$1,borderColor:s.$5},children:t(so,{})}),t("button",{onClick:()=>a(e.totalPages),className:"py-1.5 px-2 bg-white border-b border-t border-r hover:bg-gray-50 rounded-r",style:{backgroundColor:s.$1,borderColor:s.$5},children:t(xn,{})})]})]})}function Ca(e){var h,u;const{onVerticalOverflowChange:n}=e,[a,s]=g.useState(),[o,i]=g.useState(),[r,c]=g.useState((h=e.style)==null?void 0:h.height),[l,_]=g.useState(!0),d=v=>{v&&n&&s(v.clientHeight)},p=v=>{v&&n&&i(v.clientHeight)};g.useEffect(()=>{typeof o=="number"&&typeof a=="number"&&!e.isDataLoading&&n&&(o>a?(n(!0),_(!0)):(n(!1),_(!1)))},[e.isDataLoading,o,a]),g.useEffect(()=>{var v;(v=e.style)!=null&&v.height&&c(e.style.height)},[(u=e.style)==null?void 0:u.height]),g.useEffect(()=>{!l&&n&&c("auto")},[l]);const m=me();return t("div",{className:oe("flex flex-col",{"mt-2":!e.withoutPadding}),children:t("div",{className:oe("align-middle inline-block min-w-full",{"py-1.5":!e.withoutPadding}),children:t("div",{className:oe("overflow-hidden border rounded border-b border-t",{"border-b-0":e.withoutBottomBorder,"border-t-0":e.withoutTopBorder,"border-l-0":e.withoutLeftBorder,"border-r-0":e.withoutRightBorder}),style:{backgroundColor:m.$1,color:m.$3,borderColor:m.$4},children:t("div",{ref:d,className:`overflow-y-auto rounded ${e.className}`,style:{...e.style,height:r},children:t("table",{ref:p,className:"min-w-full table-auto",children:e.children})})})})})}function Sa(e){const[n]=N();return f("tbody",{style:e.style,ref:e.innerRef,children:[!e.data&&e.showHelperPlaceholders&&t($t,{children:t(Ye,{colSpan:20,children:t(st,{})})}),e.data&&e.showHelperPlaceholders&&e.data.data.meta.pagination.total===0&&t($t,{children:t(Ye,{colSpan:20,children:t("p",{children:n("empty_table")})})}),e.children]})}function Ye(e){const{customizeTextColor:n}=e,a=Ms(),s=me(),o=rt(),{red:i,green:r,blue:c,hex:l}=rs(o),_=Os(i,r,c)?-220:220;return t("td",{width:e.width,colSpan:e.colSpan,rowSpan:e.rowSpan,onClick:e.onClick,className:`px-2 lg:px-2.5 xl:px-4 py-2 whitespace-nowrap text-sm  ${e.className}`,style:{color:n?a(l,_):s.$3},children:e.children})}const af={isCurrentlyUsed:!1};function yt(e){e={...af,...e};const[n,a]=g.useState("asc");function s(){e.onColumnClick&&(a(n==="desc"?"asc":"desc"),e.onColumnClick({sort:`${e.id}|${n}`,field:e.id}))}const o=me();return t("th",{style:{color:e.textColor||o.$9,borderColor:o.$4},onClick:s,className:oe(`px-2 lg:px-2.5 xl:px-4 py-2.5 text-left text-xs font-medium tracking-wider whitespace-nowrap ${e.className}`,{"cursor-pointer":e.onColumnClick,uppercase:!e.disableUppercase}),children:f("div",{className:`flex items-center space-x-1 ${e.childrenClassName}`,children:[t("span",{children:e.children}),e.onColumnClick&&f("div",{className:"flex items-center",children:[t(Or,{className:oe("opacity-25",{"opacity-100":n==="asc"&&e.isCurrentlyUsed}),size:16}),t(as,{className:oe("opacity-25",{"opacity-100":n==="desc"&&e.isCurrentlyUsed}),size:16})]})]})})}function Ea(e){const{backgroundColor:n}=e,a=rt();return t("thead",{style:{backgroundColor:n||a},children:t("tr",{children:e.children})})}function $t(e){const{onClick:n,innerRef:a,backgroundColor:s,...o}=e,i=me();return t("tr",{style:{backgroundColor:s||i.$1},onClick:r=>{var c;return e.onClick&&((c=r.target)==null?void 0:c.nodeName)==="TD"?e.onClick():null},ref:a,...o,className:oe(`${e.className}`,{"cursor-pointer":n}),tabIndex:e.tabIndex,children:e.children})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function sf(e){const{isCompanySettingsActive:n}=lt(),{currentGateways:a,setCurrentGateways:s}=e,o=$e(),i=Ze(),[r,c]=g.useState([]),[l,_]=g.useState("active"),{data:d}=_c({status:l}),p=v=>{const b=v.map(w=>w.value);_(b.join(","))},m=v=>{const b=a.filter(({id:w})=>w!==v);s(b),b.length?i("settings.company_gateway_ids",b.map(({id:w})=>w).join(",")):i("settings.company_gateway_ids","0")},h=()=>{const v=(d==null?void 0:d.data.data)||[];v&&(s(v),i("settings.company_gateway_ids",v.map(({id:b})=>b).join(",")))},u=v=>{const b={};return v.forEach(w=>{b[w.id]||(b[w.id]=w)}),Object.values(b)};return g.useEffect(()=>{if(d)if((o==null?void 0:o.settings.company_gateway_ids)!=="0")if(o!=null&&o.settings.company_gateway_ids){let v=o.settings.company_gateway_ids.split(",").map(b=>d.data.data.find(w=>w.id===b));v=v.filter(b=>b),n&&d.data.data.forEach(b=>{v.some(y=>y.id===b.id)||v.push(b)}),c(u(v))}else c(u(d.data.data));else c([])},[d]),{gateways:r,handleRemoveGateway:m,handleReset:h,onStatusChange:p}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ua(){const e=me();return{multiValue:(a,{data:s})=>({...a,backgroundColor:s.backgroundColor,color:s.color,borderRadius:"3px"}),multiValueLabel:(a,{data:s})=>({...a,color:s.color}),multiValueRemove:a=>({...a,":hover":{color:"white"},color:"#999999"}),menu:a=>({...a,width:"max-content",minWidth:"100%",backgroundColor:e.$4,borderColor:e.$4}),control:a=>({...a,borderRadius:"3px",backgroundColor:e.$1,color:e.$3,borderColor:e.$5}),option:a=>({...a,backgroundColor:e.$1,":hover":{backgroundColor:e.$7}})}}function of(e){const[n]=N(),a=Ua(),{isCompanySettingsActive:s}=lt(),o=Ze(),{includeRemoveAction:i,includeResetAction:r}=e,c=uc(),l=$e(),_=Ht(),d=g.useRef(null),[p,m]=g.useState([]),[h,u]=g.useState(!1),[v,b]=g.useState([]),[w,y]=g.useState([]),{gateways:k,handleRemoveGateway:C,handleReset:S,onStatusChange:E}=sf({currentGateways:p,setCurrentGateways:m}),I=()=>{b([]),d.current&&(d.current.checked=!1)},H=()=>w.every(V=>Me(V)!==Re.Active),z=V=>{var Y;const O=Br(p,V.source.index,(Y=V.destination)==null?void 0:Y.index);o("settings.company_gateway_ids",O.map(({id:le})=>le).join(",")),m(O)},j=V=>{const O=JSON.parse(V.config);return rf===V.gateway_key&&!O.account_id},W=V=>{l!=null&&l.settings.company_gateway_ids&&((l==null?void 0:l.settings).company_gateway_ids.split(",").length>1||s?o("settings.company_gateway_ids",p.filter(({id:Y})=>!V.includes(Y)).map(({id:Y})=>Y).join(",")):o("settings.company_gateway_ids","0"),u(!0))},ee=[{value:"active",label:n("active"),color:"black",backgroundColor:"#e4e4e4"},{value:"archived",label:n("archived"),color:"white",backgroundColor:"#e6b05c"},{value:"deleted",label:n("deleted"),color:"white",backgroundColor:"#c95f53"}];return g.useEffect(()=>{h&&(_(h),u(!1))},[h]),g.useEffect(()=>{k&&m(k.filter(V=>V))},[k]),g.useEffect(()=>{if(k){const V=k.filter(O=>O&&v.includes(O.id));y(V)}},[v]),f("div",{className:"flex flex-col",children:[f("div",{className:"flex justify-between",children:[f("div",{className:"flex flex-col space-y-2 mt-2 lg:mt-0 lg:flex-row lg:items-center lg:space-x-4 lg:space-y-0",children:[f(Sn,{label:n("more_actions"),disabled:!v.length,children:[t(M,{onClick:()=>{c(v,"archive").then(()=>W(v)),I()},icon:t(L,{element:Rt}),children:n("archive")}),t(M,{onClick:()=>{c(v,"delete").then(()=>W(v)),I()},icon:t(L,{element:kt}),children:n("delete")}),H()&&t(M,{onClick:()=>{c(v,"restore"),I()},icon:t(L,{element:Vt}),children:n("restore")})]}),t(Vn,{styles:a,defaultValue:ee[0],onChange:V=>E(V),placeholder:n("status"),options:ee,isMulti:!0})]}),f("div",{className:"flex space-x-5",children:[r&&t(te,{behavior:"button",type:"secondary",onClick:S,children:n("reset")}),t(te,{to:"/settings/gateways/create",children:n("add_gateway")})]})]}),f(Ca,{children:[f(Ea,{children:[t(yt,{children:t(an,{innerRef:d,onChange:V=>{Array.from(document.querySelectorAll(".child-checkbox")).forEach(O=>{O.checked=V.target.checked,V.target.checked?b(Y=>[...Y,O.id]):b(Y=>Y.filter(le=>le!==O.id))})}})}),t(yt,{children:n("status")}),t(yt,{children:n("label")}),t(yt,{children:n("test_mode")}),t(yt,{disableUppercase:!0,children:t(Qt,{placement:"top",message:n("priority"),width:"auto",children:t(L,{element:Ud,color:"white",size:20})})})]}),t(ro,{onDragEnd:z,children:t(co,{droppableId:"gateways-table",children:V=>f(Sa,{...V.droppableProps,innerRef:V.innerRef,children:[p.map((O,Y)=>t(lo,{draggableId:Y.toString(),index:Y,children:le=>g.createElement($t,{...le.draggableProps,...le.dragHandleProps,innerRef:le.innerRef,key:Y},t(Ye,{width:"10%",children:t(an,{checked:v.includes(O.id),className:"child-checkbox",value:O.id,id:O.id,onValueChange:ne=>v.includes(ne)?b(Le=>Le.filter(ze=>ze!==ne)):b(Le=>[...Le,ne])})}),t(Ye,{width:"30%",children:t(En,{entity:O})}),t(Ye,{width:i?"30%":"35%",children:f("div",{className:"flex items-center space-x-2",children:[t(Pe,{to:U("/settings/gateways/:id/edit?tab=:tab",{id:O.id,tab:j(O)?1:0}),children:O.label}),j(O)&&t(Qt,{message:n("stripe_connect_migration_title"),width:"auto",placement:"top",children:f("div",{className:"flex space-x-2",children:[t(ua,{color:"red",size:22}),t(ua,{color:"red",size:22})]})})]})}),t(Ye,{width:i?"20%":"25%",children:O.test_mode?t(oo,{size:20}):""}),t(Ye,{width:"25%",children:f("div",{className:"flex items-center space-x-7 py-1",children:[i&&t(te,{behavior:"button",type:"minimal",onClick:()=>C(O.id),children:n("remove")}),t(L,{element:Dr,size:25})]})}))},Y)),p.length?t(g.Fragment,{}):t($t,{children:f(Ye,{colSpan:100,children:[n("no_records_found"),"."]})}),V.placeholder]})})})]})]})}const rf="d14dd26a47cecc30fdd65700bfb67b34";function cf(){const{isGroupSettingsActive:e,isClientSettingsActive:n}=lt();return t(of,{includeRemoveAction:e||n,includeResetAction:e||n})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function $c(e){return xe(["/api/v1/payment_terms",e],()=>$("GET",D("/api/v1/payment_terms?per_page=:perPage&page=:currentPage&sort=:sort",{perPage:e.perPage??1e3,currentPage:e.currentPage,sort:e.sort??"id|asc"})),{staleTime:1/0})}function lf(e){return xe(["/api/v1/payment_terms",e],()=>$("GET",D("/api/v1/payment_terms/:id",e),{headers:va()}),{staleTime:1/0})}function Ci(e,n){return $("POST",D("/api/v1/payment_terms/bulk"),{action:n,ids:e})}function df(){const{isAdmin:e}=Je();return xe(["/api/v1/payment_terms/create"],()=>$("GET",D("/api/v1/payment_terms/create")).then(n=>n.data.data),{staleTime:1/0,enabled:e})}function _f(){var b,w,y,k,C;Se("online_payments");const[e]=N(),n=Ae(),a=ht(),{isCompanySettingsActive:s}=lt(),{data:o}=tn(),i=[{name:e("settings"),href:"/settings"},{name:e("online_payments"),href:"/settings/online_payments"}],[r,c]=g.useState(),{data:l}=$c({}),_=De(ct),d=Lt(),p=Ic(),m=Ze(),h=Ht(),u=mn(),v=(S,E)=>{n(Ge({object:"company",property:S,value:E}))};return g.useEffect(()=>{l&&c(l.data.data)},[l]),f(Ve,{title:e("online_payments"),breadcrumbs:i,docsLink:"en/basic-settings/#online_payments",onSaveClick:h,onCancelClick:u,children:[t(cf,{}),f(Z,{title:e("settings"),children:[t(x,{leftSide:t(K,{propertyKey:"auto_bill_standard_invoices",labelElement:t(Q,{label:e("auto_bill_standard_invoices"),helpLabel:e("auto_bill_standard_invoices_help")}),defaultValue:!1}),children:t(B,{checked:!!((b=d==null?void 0:d.settings)!=null&&b.auto_bill_standard_invoices),onChange:S=>m("settings.auto_bill_standard_invoices",S),disabled:a("auto_bill_standard_invoices")})}),t(x,{leftSide:t(K,{propertyKey:"auto_bill",labelElement:t(Q,{label:`${e("auto_bill")} ${e("recurring_invoices")}`}),defaultValue:"off"}),children:f(se,{value:(d==null?void 0:d.settings.auto_bill)||"off",onChange:p,id:"settings.auto_bill",disabled:a("auto_bill"),errorMessage:_==null?void 0:_.errors["settings.auto_bill"],children:[f("option",{value:"always",children:[e("enabled")," (",e("auto_bill_help_always"),")"]}),f("option",{value:"optout",children:[e("optout")," (",e("auto_bill_help_optout"),")"]}),f("option",{value:"optin",children:[e("optin")," (",e("auto_bill_help_optin"),")"]}),f("option",{value:"off",children:[e("disabled")," (",e("auto_bill_help_off"),")"]})]})}),t(x,{leftSide:t(K,{propertyKey:"auto_bill_date",labelElement:t(Q,{label:e("auto_bill_on"),helpLabel:e("auto_bill_on_help")}),defaultValue:"on_send_date"}),children:f(se,{id:"settings.auto_bill_date",value:(d==null?void 0:d.settings.auto_bill_date)||"on_send_date",onChange:p,disabled:a("auto_bill_date"),errorMessage:_==null?void 0:_.errors["settings.auto_bill_date"],children:[t("option",{value:"on_send_date",children:e("send_date")}),t("option",{value:"on_due_date",children:e("due_date")})]})}),t(x,{leftSide:t(K,{propertyKey:"use_credits_payment",labelElement:t(Q,{label:e("use_available_credits"),helpLabel:e("use_available_credits_help")}),defaultValue:"off"}),children:f(se,{value:(d==null?void 0:d.settings.use_credits_payment)||"off",id:"settings.use_credits_payment",onChange:p,disabled:a("use_credits_payment"),errorMessage:_==null?void 0:_.errors["settings.use_credits_payment"],children:[t("option",{value:"always",children:e("enabled")}),t("option",{value:"option",children:e("show_option")}),t("option",{value:"off",children:e("off")})]})}),t(x,{leftSide:t(K,{propertyKey:"use_unapplied_payment",labelElement:t(Q,{label:e("use_unapplied_payments"),helpLabel:e("use_unapplied_payments_help")}),defaultValue:"off"}),children:f(se,{value:(d==null?void 0:d.settings.use_unapplied_payment)||"off",id:"settings.use_unapplied_payment",onChange:p,disabled:a("use_unapplied_payment"),errorMessage:_==null?void 0:_.errors["settings.use_unapplied_payment"],children:[t("option",{value:"always",children:e("enabled")}),t("option",{value:"option",children:e("show_option")}),t("option",{value:"off",children:e("off")})]})}),r&&f(F,{children:[t(x,{leftSide:t(K,{propertyKey:"payment_terms",labelElement:t(Q,{label:e("payment_terms"),helpLabel:e("payment_terms_help")})}),children:f(se,{value:((w=d==null?void 0:d.settings)==null?void 0:w.payment_terms)||"",id:"settings.payment_terms",onChange:p,disabled:a("payment_terms"),errorMessage:_==null?void 0:_.errors["settings.payment_terms"],children:[t("option",{value:""}),r.map(S=>t("option",{value:S.num_days,children:S.name},S.id))]})}),t(x,{className:"py-0 sm:py-0",children:t(Pe,{to:"/settings/payment_terms",children:e("configure_payment_terms")})})]}),t(x,{leftSide:t(K,{propertyKey:"payment_type_id",labelElement:t(Q,{label:e("payment_type"),helpLabel:e("payment_type_help")})}),children:t(se,{value:((y=d==null?void 0:d.settings)==null?void 0:y.payment_type_id)||"0",onChange:p,id:"settings.payment_type_id",blankOptionValue:"0",disabled:a("payment_type_id"),withBlank:!0,errorMessage:_==null?void 0:_.errors["settings.payment_type_id"],children:o==null?void 0:o.payment_types.map(S=>t("option",{value:S.id,children:S.name},S.id))})}),t(x,{leftSide:t(K,{propertyKey:"valid_until",labelElement:t(Q,{label:e("quote_valid_until"),helpLabel:e("quote_valid_until_help")})}),children:t(se,{value:((k=d==null?void 0:d.settings)==null?void 0:k.valid_until)||"",id:"settings.valid_until",onChange:p,disabled:a("valid_until"),withBlank:!0,errorMessage:_==null?void 0:_.errors["settings.valid_until"],children:r==null?void 0:r.map(S=>t("option",{value:S.num_days,children:S.name},S.id))})}),t(x,{leftSide:t(K,{propertyKey:"default_expense_payment_type_id",labelElement:t(Q,{label:e("expense_payment_type"),helpLabel:e("expense_payment_type_help")})}),children:t(se,{value:((C=d==null?void 0:d.settings)==null?void 0:C.default_expense_payment_type_id)||"",onChange:p,disabled:a("default_expense_payment_type_id"),id:"settings.default_expense_payment_type_id",blankOptionValue:"0",withBlank:!0,errorMessage:_==null?void 0:_.errors["settings.default_expense_payment_type_id"],children:o==null?void 0:o.payment_types.map(S=>t("option",{value:S.id,children:S.name},S.id))})}),t(x,{leftSideHelp:e("manual_payment_email_help"),leftSide:t(K,{propertyKey:"client_manual_payment_notification",labelElement:t(Q,{label:e("manual_payment_email")}),defaultValue:!1}),children:t(B,{checked:!!(d!=null&&d.settings.client_manual_payment_notification),onChange:S=>v("settings.client_manual_payment_notification",S),disabled:a("client_manual_payment_notification")})}),t(x,{leftSideHelp:e("online_payment_email_help"),leftSide:t(K,{propertyKey:"client_online_payment_notification",labelElement:t(Q,{label:e("online_payment_email")}),defaultValue:!1}),children:t(B,{checked:!!(d!=null&&d.settings.client_online_payment_notification),onChange:S=>v("settings.client_online_payment_notification",S),disabled:a("client_online_payment_notification")})}),t(x,{leftSide:t(K,{propertyKey:"send_email_on_mark_paid",labelElement:t(Q,{label:e("mark_paid_payment_email"),helpLabel:e("mark_paid_payment_email_help")}),defaultValue:!1}),children:t(B,{checked:!!(d!=null&&d.settings.send_email_on_mark_paid),onChange:S=>v("settings.send_email_on_mark_paid",S),disabled:a("send_email_on_mark_paid")})}),s&&t(x,{leftSide:e("enable_applying_payments"),leftSideHelp:e("enable_applying_payments_help"),children:t(B,{id:"allow_over_payment",checked:!!(d!=null&&d.enable_applying_payments),onChange:S=>m("enable_applying_payments",S)})}),t(x,{leftSide:t(K,{propertyKey:"client_portal_allow_over_payment",labelElement:t(Q,{label:e("allow_over_payment")}),defaultValue:!1}),leftSideHelp:e("allow_over_payment_help"),children:t(B,{id:"allow_over_payment",checked:!!(d!=null&&d.settings.client_portal_allow_over_payment),onChange:S=>m("settings.client_portal_allow_over_payment",S),disabled:a("client_portal_allow_over_payment")})}),t(x,{leftSide:t(K,{propertyKey:"client_portal_allow_under_payment",labelElement:t(Q,{label:e("allow_under_payment")}),defaultValue:!1}),leftSideHelp:e("allow_under_payment_help"),children:t(B,{id:"allow_under_payment",checked:!!(d!=null&&d.settings.client_portal_allow_under_payment),onChange:S=>m("settings.client_portal_allow_under_payment",S),disabled:a("client_portal_allow_under_payment")})}),(d==null?void 0:d.settings.client_portal_allow_under_payment)&&t(x,{leftSide:t(K,{propertyKey:"client_portal_under_payment_minimum",labelElement:t(Q,{label:e("minimum_under_payment_amount")})}),children:t(We,{value:(d==null?void 0:d.settings.client_portal_under_payment_minimum)||"",onValueChange:S=>m("settings.client_portal_under_payment_minimum",parseFloat(S)||0),disabled:a("client_portal_under_payment_minimum"),errorMessage:_==null?void 0:_.errors["settings.client_portal_under_payment_minimum"]})}),t(x,{leftSide:t(K,{propertyKey:"client_initiated_payments",labelElement:t(Q,{label:e("client_initiated_payments")}),defaultValue:!1}),leftSideHelp:e("client_initiated_payments_help"),children:t(B,{id:"client_initiated_payments",checked:!!(d!=null&&d.settings.client_initiated_payments),onChange:S=>m("settings.client_initiated_payments",S),disabled:a("client_initiated_payments")})}),(d==null?void 0:d.settings.client_initiated_payments)&&t(x,{leftSide:t(K,{propertyKey:"client_initiated_payments_minimum",labelElement:t(Q,{label:e("minimum_payment_amount")})}),children:t(We,{value:(d==null?void 0:d.settings.client_initiated_payments_minimum)||"",onValueChange:S=>m("settings.client_initiated_payments_minimum",parseFloat(S)),disabled:a("client_initiated_payments_minimum"),errorMessage:_==null?void 0:_.errors["settings.client_initiated_payments_minimum"]})}),t(x,{leftSide:t(K,{propertyKey:"payment_email_all_contacts",labelElement:t(Q,{label:e("payment_email_all_contacts")}),defaultValue:!1}),leftSideHelp:e("payment_email_all_contacts_help"),children:t(B,{id:"payment_email_all_contacts",checked:!!(d!=null&&d.settings.payment_email_all_contacts),onChange:S=>m("settings.payment_email_all_contacts",S),disabled:a("payment_email_all_contacts")})}),t(x,{leftSide:t(K,{propertyKey:"payment_flow",labelElement:t(Q,{label:e("one_page_checkout")}),defaultValue:!1}),leftSideHelp:e("one_page_checkout_help"),children:t(B,{id:"payment_flow",checked:(d==null?void 0:d.settings.payment_flow)==="smooth",onChange:S=>m("settings.payment_flow",S?"smooth":"default"),disabled:a("payment_flow")})})]})]})}function rr(e){var d,p,m;const[n]=N(),a=$e(),s=Ze(),o=ht(),{title:i}=e,r=De(ct),{data:c}=hc({perPage:100,status:["active"]}),l=h=>{const u=h.target.options[h.target.selectedIndex];s(h.target.id,parseFloat(u.dataset.rate||"0")),s(u.dataset.rateName,h.target.value)},_=h=>{const u=ce.cloneDeep(a==null?void 0:a.settings);delete u[h],s("settings",u)};return t(F,{children:(a==null?void 0:a.enabled_tax_rates)>0&&f(Z,{title:i?n(i):void 0,children:[(a==null?void 0:a.enabled_tax_rates)>0&&t(x,{leftSide:t(K,{propertyKey:"tax_name1",labelElement:t(Q,{label:n("default_tax_rate")}),onCheckboxChange:h=>{h?s("settings.tax_rate1",0):_("tax_rate1")}}),children:f(se,{id:"settings.tax_rate1",onChange:l,value:((d=a==null?void 0:a.settings)==null?void 0:d.tax_name1)||0,disabled:o("tax_name1"),errorMessage:r==null?void 0:r.errors["settings.tax_rate1"],children:[t("option",{"data-rate":0,"data-rate-name":"settings.tax_name1",value:""}),c&&c.data.data.map(h=>f("option",{"data-rate":h.rate,"data-rate-name":"settings.tax_name1",value:h.name,children:[h.rate,"% — ",h.name]},h.id))]})}),(a==null?void 0:a.enabled_tax_rates)>1&&t(x,{leftSide:t(K,{propertyKey:"tax_name2",labelElement:t(Q,{label:n("default_tax_rate")}),onCheckboxChange:h=>{h?s("settings.tax_rate2",0):_("tax_rate2")}}),children:f(se,{id:"settings.tax_rate2",onChange:l,value:((p=a==null?void 0:a.settings)==null?void 0:p.tax_name2)||0,disabled:o("tax_name2"),errorMessage:r==null?void 0:r.errors["settings.tax_rate2"],children:[t("option",{"data-rate":0,"data-rate-name":"settings.tax_name2",value:""}),c&&c.data.data.map(h=>f("option",{"data-rate":h.rate,"data-rate-name":"settings.tax_name2",value:h.name,children:[h.rate,"% — ",h.name]},h.id))]})}),(a==null?void 0:a.enabled_tax_rates)>2&&t(x,{leftSide:t(K,{propertyKey:"tax_name3",labelElement:t(Q,{label:n("default_tax_rate")}),onCheckboxChange:h=>{h?s("settings.tax_rate3",0):_("tax_rate3")}}),children:f(se,{id:"settings.tax_rate3",onChange:l,value:((m=a==null?void 0:a.settings)==null?void 0:m.tax_name3)||0,disabled:o("tax_name3"),errorMessage:r==null?void 0:r.errors["settings.tax_rate3"],children:[t("option",{"data-rate":0,"data-rate-name":"settings.tax_name3",value:""}),c&&c.data.data.map(h=>f("option",{"data-rate":h.rate,"data-rate-name":"settings.tax_name3",value:h.name,children:[h.rate,"% — ",h.name]},h.id))]})})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function uf(){const e=Fa();return new Date(e==null?void 0:e.plan_expires)>new Date&&(Ct()||vn())||Ft()}function Si(e){const[n]=N(),{visible:a,setVisible:s,region:o,subregion:i,taxSetting:r}=e,c=Ze(),l=()=>{s(!1)};return f(Fe,{title:`${o} - ${i}`,visible:a,onClose:l,children:[t(q,{label:n("tax_name"),value:r.tax_name,onValueChange:_=>c(`tax_data.regions.${o}.subregions.${i}.tax_name`,_)}),t(We,{label:n("tax_rate"),value:r.tax_rate||"",onValueChange:_=>c(`tax_data.regions.${o}.subregions.${i}.tax_rate`,parseFloat(_))}),t(We,{label:n("reduced_rate"),value:r.reduced_tax_rate||"",onValueChange:_=>c(`tax_data.regions.${o}.subregions.${i}.reduced_tax_rate`,parseFloat(_))}),t(te,{className:"self-end",behavior:"button",onClick:l,disableWithoutIcon:!0,children:n("save")})]})}function mf(){const[e]=N(),n=Ze(),a=$e(),[s,o]=g.useState(!1),[i,r]=g.useState(!1),c=Object.entries(a.tax_data.regions.AU.subregions),[l,_]=g.useState(c[0][1]),[d,p]=g.useState(c[0][0]),m=g.useMemo(()=>c.filter(([,v])=>v.apply_tax).length,[c]),h=(v,b)=>{n(v,b),o(!b)},u=v=>{const b=document.getElementById(v.replace(".apply_tax",""));b==null||b.click()};return f(F,{children:[t(x,{leftSide:"Australia",children:f("div",{className:"grid grid-cols-5 gap-4",children:[t("div",{className:"col-span-4",children:f(se,{id:"tax_data.regions.AU.tax_all_subregions",className:"",value:a.tax_data.regions.AU.tax_all_subregions,onValueChange:v=>h("tax_data.regions.AU.tax_all_subregions",v==="true"),children:[t("option",{value:"true",children:e("tax_all")}),f("option",{value:"false",children:[e("tax_selected")," - [ ",m," ",e("selected")," ]"]})]})}),!a.tax_data.regions.AU.tax_all_subregions&&t("div",{className:"flex col-span-1 col-start-5 col-end-6 justify-end",children:t(te,{type:"primary",className:"",onClick:v=>{v.preventDefault(),o(b=>!b)},children:e(s?"hide":"show")})})]})},"AU"),s&&(c==null?void 0:c.map((v,b)=>f("div",{className:"border py-4 sm:py-3 sm:grid sm:grid-cols-3 sm:gap-10 flex flex-col lg:flex-row undefined px-5 sm:px-6 lg:items-center",children:[f("div",{className:"flex col-span-1 items-center justify-start pl-5",onClick:()=>u(`tax_data.regions.AU.subregions.${v[0]}.apply_tax`),children:[t(an,{id:`tax_data.regions.AU.subregions.${v[0]}`,value:`tax_data.regions.AU.subregions.${v[0]}.apply_tax`,checked:!!v[1].apply_tax,className:"flex justify-end h-6 w-6 rounded-half shadow",disabled:a.tax_data.regions.AU.tax_all_subregions,onValueChange:(w,y)=>n(w,y)}),t("div",{className:"",children:v[0]})]}),f("div",{onClick:()=>u(`tax_data.regions.AU.subregions.${v[0]}.apply_tax`),children:[v[1].tax_name," ",v[1].tax_rate,"%"," ",v[1].reduced_tax_rate?` :: ${e("reduced_rate")} ${v[1].reduced_tax_rate}%`:""]}),t("div",{className:"flex justify-end",children:t(te,{type:"primary",className:"",disableWithoutIcon:!0,disabled:a.tax_data.regions.AU.tax_all_subregions,onClick:w=>{w.preventDefault(),_(v[1]),p(v[0]),r(!0)},children:e("edit")})})]},b))),t(Si,{visible:i,setVisible:r,region:"AU",subregion:d,taxSetting:l})]})}function pf(){const[e]=N(),n=Ze(),a=$e(),[s,o]=g.useState(!1),[i,r]=g.useState(!1),c=Object.entries(a.tax_data.regions.EU.subregions),[l,_]=g.useState(c[0][1]),[d,p]=g.useState(c[0][0]),m=b=>!!b,h=g.useMemo(()=>c.filter(([,b])=>m(b.apply_tax)).length,[c]),u=(b,w)=>{n(b,w),o(!w)},v=b=>{const w=document.getElementById(b.replace(".apply_tax",""));w==null||w.click()};return f(F,{children:[t(x,{leftSide:"Europe",children:f("div",{className:"grid grid-cols-5 gap-4",children:[t("div",{className:"col-span-4",children:f(se,{id:"tax_data.regions.EU.tax_all_subregions",className:"",value:a.tax_data.regions.EU.tax_all_subregions,onValueChange:b=>u("tax_data.regions.EU.tax_all_subregions",b==="true"),children:[t("option",{value:"true",children:e("tax_all")}),f("option",{value:"false",children:[e("tax_selected")," - [ ",h," ",e("selected")," ]"]})]})}),!a.tax_data.regions.EU.tax_all_subregions&&t("div",{className:"flex col-span-1 col-start-5 col-end-6 justify-end",children:t(te,{type:"primary",className:"",onClick:b=>{b.preventDefault(),o(w=>!w)},children:e(s?"hide":"show")})})]})},"EU"),s&&(c==null?void 0:c.map((b,w)=>f("div",{className:"border py-4 sm:py-3 sm:grid sm:grid-cols-3 sm:gap-10 flex flex-col lg:flex-row undefined px-5 sm:px-6 lg:items-center",children:[f("div",{className:"flex col-span-1 items-center justify-start pl-5",onClick:()=>v(`tax_data.regions.EU.subregions.${b[0]}.apply_tax`),children:[t(an,{id:`tax_data.regions.EU.subregions.${b[0]}`,value:`tax_data.regions.EU.subregions.${b[0]}.apply_tax`,checked:!!b[1].apply_tax,className:"flex justify-end h-6 w-6 rounded-half shadow",disabled:a.tax_data.regions.EU.tax_all_subregions,onValueChange:(y,k)=>n(y,k)}),t("div",{className:"",children:b[0]})]}),f("div",{onClick:()=>v(`tax_data.regions.EU.subregions.${b[0]}.apply_tax`),children:[b[1].tax_name," ",b[1].tax_rate,"%"," ",b[1].reduced_tax_rate?` :: ${e("reduced_rate")} ${b[1].reduced_tax_rate}%`:""]}),t("div",{className:"flex justify-end",children:t(te,{type:"primary",className:"",disableWithoutIcon:!0,disabled:a.tax_data.regions.EU.tax_all_subregions,onClick:y=>{y.preventDefault(),_(b[1]),p(b[0]),r(!0)},children:e("edit")})})]},w))),t(Si,{visible:i,setVisible:r,region:"EU",subregion:d,taxSetting:l})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const hf={AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",DC:"District Of Columbia",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"};function ff(e){return t(sa,{value:e.value,label:e.label,disabled:e.disabled,onValueChange:e.onChange,errorMessage:e.errorMessage,dismissable:!0,children:Object.entries(hf).map((n,a)=>t("option",{value:n[0],children:n[1]},a))})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Rc={AT:"Austria",BE:"Belgium",BG:"Bulgaria",HR:"Croatia",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",EE:"Estonia",FI:"Finland",FR:"France",DE:"Germany",GR:"Greece",HU:"Hungary",IE:"Ireland",IT:"Italy",LV:"Latvia",LT:"Lithuania",LU:"Luxembourg",MT:"Malta",NL:"Netherlands",PL:"Poland",PT:"Portugal",RO:"Romania",SK:"Slovakia",SI:"Slovenia",ES:"Spain","ES-CN":"Canary Islands","ES-ML":"Melilla","ES-CE":"Ceuta",SE:"Sweden"};function gf(e){return t(sa,{value:e.value,label:e.label,disabled:e.disabled,onValueChange:e.onChange,errorMessage:e.errorMessage,dismissable:!0,children:Object.entries(Rc).map((n,a)=>t("option",{value:n[0],children:n[1]},a))})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function vf(){const e=xi();return n=>{const a=e.find(s=>s.id===n);return!!(a&&Rc[a.iso_3166_2])}}function yf(){var i,r,c,l,_,d;const[e]=N(),n=$e(),a=Ze(),s=ls(),o=vf();return g.useEffect(()=>{(n==null?void 0:n.settings.country_id)==="36"&&a("tax_data.seller_subregion","AU")},[n==null?void 0:n.settings.country_id,n.tax_data.seller_subregion]),f(x,{leftSide:e("seller_subregion"),children:[((i=s(n==null?void 0:n.settings.country_id))==null?void 0:i.iso_3166_2)==="US"&&t(ff,{value:(r=n.tax_data)==null?void 0:r.seller_subregion,onChange:p=>a("tax_data.seller_subregion",p)}),o(n==null?void 0:n.settings.country_id)&&t(gf,{value:(c=n.tax_data)!=null&&c.seller_subregion?(l=n.tax_data)==null?void 0:l.seller_subregion:(_=s(n==null?void 0:n.settings.country_id))==null?void 0:_.iso_3166_2,onChange:p=>a("tax_data.seller_subregion",p)}),((d=s(n==null?void 0:n.settings.country_id))==null?void 0:d.iso_3166_2)==="AU"&&t(q,{type:"text",disabled:!0,name:"tax_data.seller_subregion",value:"AU"})]})}function bf(){const[e]=N(),n=Ze(),a=$e(),[s,o]=g.useState(!1),[i,r]=g.useState(!1),c=Object.entries(a.tax_data.regions.US.subregions),[l,_]=g.useState(c[0][1]),[d,p]=g.useState(c[0][0]),m=b=>!!b,h=g.useMemo(()=>c.filter(([,b])=>m(b.apply_tax)).length,[c]),u=(b,w)=>{n(b,w),o(!w)},v=b=>{const w=document.getElementById(b.replace(".apply_tax",""));w==null||w.click()};return f(F,{children:[t(x,{leftSide:e("united_states"),children:f("div",{className:"grid grid-cols-5 gap-4",children:[t("div",{className:"col-span-4",children:f(se,{id:"tax_data.regions.US.tax_all_subregions",className:"",value:a.tax_data.regions.US.tax_all_subregions,onValueChange:b=>u("tax_data.regions.US.tax_all_subregions",b==="true"),children:[t("option",{value:"true",children:e("tax_all")}),f("option",{value:"false",children:[e("tax_selected")," - [ ",h," ",e("selected")," ]"]})]})}),!a.tax_data.regions.US.tax_all_subregions&&t("div",{className:"flex col-span-1 col-start-5 col-end-6 justify-end",children:t(te,{type:"primary",className:"",onClick:b=>{b.preventDefault(),o(w=>!w)},children:e(s?"hide":"show")})})]})},"US"),s&&(c==null?void 0:c.map((b,w)=>f("div",{className:"border py-4 sm:py-3 sm:grid sm:grid-cols-3 sm:gap-10 flex flex-col lg:flex-row undefined px-5 sm:px-6 lg:items-center",children:[f("div",{className:"flex col-span-1 items-center justify-start pl-5",onClick:()=>v(`tax_data.regions.US.subregions.${b[0]}.apply_tax`),children:[t(an,{id:`tax_data.regions.US.subregions.${b[0]}`,value:`tax_data.regions.US.subregions.${b[0]}.apply_tax`,checked:!!b[1].apply_tax,className:"flex justify-end h-6 w-6 rounded-half shadow",disabled:a.tax_data.regions.US.tax_all_subregions,onValueChange:(y,k)=>n(y,k)}),t("div",{className:"",children:b[0]})]}),f("div",{onClick:()=>v(`tax_data.regions.US.subregions.${b[0]}.apply_tax`),children:[b[1].tax_name," ",b[1].tax_rate,"%"," ",b[1].reduced_tax_rate?` :: ${e("reduced_rate")} ${b[1].reduced_tax_rate}%`:""]}),t("div",{className:"flex justify-end",children:t(te,{type:"primary",className:"",disableWithoutIcon:!0,disabled:a.tax_data.regions.US.tax_all_subregions,onClick:y=>{y.preventDefault(),_(b[1]),p(b[0]),r(!0)},children:e("edit")})})]},w))),t(Si,{visible:i,setVisible:r,region:"US",subregion:d,taxSetting:l})]})}function wf(){return f(F,{children:[t(yf,{}),t(bf,{}),t(pf,{}),t(mf,{})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function kf(){const e=["AU","US","AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],n=ls();return a=>{var s;return e.includes(((s=n(a))==null?void 0:s.iso_3166_2)||"")}}function xf(){var u;const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("tax_settings"),href:"/settings/tax_settings"}];Lt(),Se("tax_settings");const a=uf(),s=kf(),{isCompanySettingsActive:o,isGroupSettingsActive:i,isClientSettingsActive:r}=lt(),c=De(ct),l=Ae(),_=$e(),d=v=>{l(Ge({object:"company",property:v.target.id,value:v.target.value}))},p=(v,b)=>{l(Ge({object:"company",property:v,value:b}))},m=Ht(),h=mn();return f(Ve,{onSaveClick:m,onCancelClick:h,title:e("tax_settings"),breadcrumbs:n,docsLink:"en/basic-settings/#tax_settings",children:[o&&f(F,{children:[f(Z,{title:e("tax_settings"),children:[t(x,{leftSide:e("invoice_tax_rates"),children:f(se,{id:"enabled_tax_rates",onChange:d,value:(_==null?void 0:_.enabled_tax_rates)||0,errorMessage:c==null?void 0:c.errors.enabled_tax_rates,children:[t("option",{value:"0",children:e("disabled")}),t("option",{value:"1",children:e("one_tax_rate")}),t("option",{value:"2",children:e("two_tax_rates")}),t("option",{value:"3",children:e("three_tax_rates")})]})}),t(x,{leftSide:e("line_item_tax_rates"),children:f(se,{id:"enabled_item_tax_rates",onChange:d,value:(_==null?void 0:_.enabled_item_tax_rates)||0,errorMessage:c==null?void 0:c.errors.enabled_item_tax_rates,children:[t("option",{value:"0",children:e("disabled")}),t("option",{value:"1",children:e("one_tax_rate")}),t("option",{value:"2",children:e("two_tax_rates")}),t("option",{value:"3",children:e("three_tax_rates")})]})}),t(x,{leftSide:e("expense_tax_rates"),children:f(se,{id:"enabled_expense_tax_rates",onChange:d,value:(_==null?void 0:_.enabled_expense_tax_rates)||0,errorMessage:c==null?void 0:c.errors.enabled_expense_tax_rates,children:[t("option",{value:"0",children:e("disabled")}),t("option",{value:"1",children:e("one_tax_rate")}),t("option",{value:"2",children:e("two_tax_rates")}),t("option",{value:"3",children:e("three_tax_rates")})]})}),t(x,{leftSide:e("inclusive_taxes"),children:f("div",{className:"flex items-center space-x-7",children:[t(B,{onChange:v=>p("settings.inclusive_taxes",v),checked:!!(_!=null&&_.settings.inclusive_taxes),cypressRef:"inclusiveTaxToggle"}),_!=null&&_.settings.inclusive_taxes?f("span",{children:[e("inclusive"),": 100 + 10% = 90.91 + 9.09"]}):f("span",{children:[e("exclusive"),": 100 + 10% = 100 + 10"]})]})}),a&&s((u=_==null?void 0:_.settings)==null?void 0:u.country_id)&&f(F,{children:[t(ye,{}),t(x,{leftSide:e("calculate_taxes"),leftSideHelp:e("calculate_taxes_help"),children:t(B,{checked:!!(_!=null&&_.calculate_taxes),onChange:v=>p("calculate_taxes",v)})}),_.calculate_taxes&&t(wf,{})]})]}),t(rr,{})]}),(i||r)&&t(rr,{title:"tax_settings"}),t(fk,{})]})}function Cf(){const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("product_settings"),href:"/settings/product_settings"}];Lt(),Se("product_settings");const a=De(ct),s=Ae(),o=$e(),i=(_,d)=>{s(Ge({object:"company",property:_,value:d}))},r=Ze(),c=Ht(),l=mn();return t(Ve,{onSaveClick:c,onCancelClick:l,title:e("product_settings"),breadcrumbs:n,docsLink:"en/basic-settings/#product_settings",children:f(Z,{title:e("Settings"),children:[t(x,{leftSide:e("track_inventory"),leftSideHelp:e("track_inventory_help"),children:t(B,{checked:o==null?void 0:o.track_inventory,onChange:_=>i("track_inventory",_)})}),t(x,{leftSide:e("stock_notifications"),leftSideHelp:e("stock_notifications_help"),children:t(B,{checked:o==null?void 0:o.stock_notification,onChange:_=>i("stock_notification",_)})}),(o==null?void 0:o.stock_notification)===!0?t(F,{children:t(x,{leftSide:e("notification_threshold"),children:t(We,{precision:0,value:(o==null?void 0:o.inventory_notification_threshold)||"",onValueChange:_=>r("inventory_notification_threshold",parseFloat(_)),errorMessage:a==null?void 0:a.errors.inventory_notification_threshold,disablePrecision:!0})})}):"",t(ye,{}),t(x,{leftSide:e("show_product_discount"),leftSideHelp:e("show_product_discount_help"),children:t(B,{checked:o==null?void 0:o.enable_product_discount,onChange:_=>i("enable_product_discount",_)})}),t(x,{leftSide:e("show_product_cost"),leftSideHelp:e("show_cost_help"),children:t(B,{checked:o==null?void 0:o.enable_product_cost,onChange:_=>i("enable_product_cost",_)})}),t(x,{leftSide:e("show_product_quantity"),leftSideHelp:e("show_product_quantity_help"),children:t(B,{checked:o==null?void 0:o.enable_product_quantity,onChange:_=>i("enable_product_quantity",_)})}),t(x,{leftSide:e("default_quantity"),leftSideHelp:e("default_quantity_help"),children:t(B,{checked:o==null?void 0:o.default_quantity,onChange:_=>i("default_quantity",_)})}),t(ye,{}),t(x,{leftSide:e("fill_products"),leftSideHelp:e("fill_products_help"),children:t(B,{checked:o==null?void 0:o.fill_products,onChange:_=>i("fill_products",_)})}),t(x,{leftSide:e("update_products"),leftSideHelp:e("update_products_help"),children:t(B,{checked:o==null?void 0:o.update_products,onChange:_=>i("update_products",_)})}),t(x,{leftSide:e("convert_products"),leftSideHelp:e("convert_products_help"),children:t(B,{checked:o==null?void 0:o.convert_products,onChange:_=>i("convert_products",_)})})]})})}function Sf(){var h,u,v,b,w,y,k,C;Se("task_settings");const[e]=N();Lt();const n=Ae(),a=mn(),s=Ht(),o=ht(),i=Ze(),r=$e(),c=De(ct),{isCompanySettingsActive:l}=lt(),_=[{name:e("settings"),href:"/settings"},{name:e("task_settings"),href:"/settings/task_settings"}],d=()=>{var S;return((S=r==null?void 0:r.settings)==null?void 0:S.task_round_to_nearest)===-1||![1,60,300,900,1800,3600,86400].find(E=>{var I;return E===((I=r==null?void 0:r.settings)==null?void 0:I.task_round_to_nearest)})},p=S=>n(Ge({object:"company",property:S.target.id,value:S.target.value})),m=(S,E)=>n(Ge({object:"company",property:S,value:E}));return f(Ve,{onSaveClick:s,onCancelClick:a,title:e("task_settings"),breadcrumbs:_,docsLink:"en/basic-settings/#task_settings",children:[f(Z,{title:e("settings"),children:[t(x,{leftSide:t(K,{propertyKey:"default_task_rate",labelElement:t(Q,{label:e("default_task_rate")})}),children:t(We,{value:((h=r==null?void 0:r.settings)==null?void 0:h.default_task_rate)||"",onValueChange:S=>i("settings.default_task_rate",parseFloat(S)),disabled:o("default_task_rate"),errorMessage:c==null?void 0:c.errors["settings.default_task_rate"]})}),l&&t(x,{leftSide:e("auto_start_tasks"),leftSideHelp:e("auto_start_tasks_help"),children:t(B,{checked:!!(r!=null&&r.auto_start_tasks),onChange:S=>m("auto_start_tasks",S)})}),l&&t(x,{leftSide:e("show_task_end_date"),leftSideHelp:e("show_task_end_date_help"),children:t(B,{checked:!!(r!=null&&r.show_task_end_date),onChange:S=>m("show_task_end_date",S)})}),l&&t(x,{leftSide:e("show_task_item_description"),leftSideHelp:e("show_task_item_description_help"),children:t(B,{checked:!!(r!=null&&r.settings.show_task_item_description),onChange:S=>m("settings.show_task_item_description",S)})}),l&&t(x,{leftSide:e("allow_billable_task_items"),leftSideHelp:e("allow_billable_task_items_help"),children:t(B,{checked:!!(r!=null&&r.settings.allow_billable_task_items),onChange:S=>m("settings.allow_billable_task_items",S)})}),l&&t(ye,{}),l&&t(x,{leftSide:e("show_tasks_table"),leftSideHelp:e("show_tasks_table_help"),children:t(B,{checked:!!(r!=null&&r.show_tasks_table),onChange:S=>m("show_tasks_table",S)})}),l&&t(x,{leftSide:e("invoice_task_datelog"),leftSideHelp:e("invoice_task_datelog_help"),children:t(B,{checked:!!(r!=null&&r.invoice_task_datelog),onChange:S=>m("invoice_task_datelog",S)})}),l&&t(x,{leftSide:e("invoice_task_timelog"),leftSideHelp:e("invoice_task_timelog_help"),children:t(B,{checked:!!(r!=null&&r.invoice_task_timelog),onChange:S=>m("invoice_task_timelog",S)})}),l&&t(x,{leftSide:e("invoice_task_hours"),leftSideHelp:e("invoice_task_hours_help"),children:t(B,{checked:!!(r!=null&&r.invoice_task_hours),onChange:S=>m("invoice_task_hours",S)})}),l&&t(x,{leftSide:e("invoice_task_project"),leftSideHelp:e("invoice_task_project_help"),children:t(B,{checked:!!(r!=null&&r.invoice_task_project),onChange:S=>m("invoice_task_project",S)})}),l&&t(x,{leftSide:e("invoice_task_item_description"),leftSideHelp:e("invoice_task_item_description_help"),children:t(B,{checked:!!(r!=null&&r.invoice_task_item_description),onChange:S=>m("invoice_task_item_description",S)})}),l&&t(x,{leftSide:e("lock_invoiced_tasks"),leftSideHelp:e("lock_invoiced_tasks_help"),children:t(B,{checked:!!(r!=null&&r.invoice_task_lock),onChange:S=>m("invoice_task_lock",S)})}),l&&t(x,{leftSide:e("add_documents_to_invoice"),leftSideHelp:e("add_documents_to_invoice_help"),children:t(B,{checked:!!(r!=null&&r.invoice_task_documents),onChange:S=>m("invoice_task_documents",S)})}),t(ye,{}),t(x,{leftSide:t(K,{propertyKey:"enable_client_portal_tasks",labelElement:t(Q,{label:e("show_tasks_in_client_portal")}),defaultValue:!1}),children:t(B,{checked:!!((u=r==null?void 0:r.settings)!=null&&u.enable_client_portal_tasks),onChange:S=>m("settings.enable_client_portal_tasks",S),disabled:o("enable_client_portal_tasks")})}),t(x,{leftSide:t(K,{propertyKey:"show_all_tasks_client_portal",labelElement:t(Q,{label:e("tasks_shown_in_portal")}),defaultValue:"invoiced"}),children:f(se,{id:"settings.show_all_tasks_client_portal",onChange:p,disabled:!((v=r==null?void 0:r.settings)!=null&&v.enable_client_portal_tasks)||o("show_all_tasks_client_portal"),value:((w=(b=r==null?void 0:r.settings)==null?void 0:b.show_all_tasks_client_portal)==null?void 0:w.toString())||"invoiced",errorMessage:c==null?void 0:c.errors["settings.show_all_tasks_client_portal"],children:[t("option",{value:"invoiced",children:e("invoiced")}),t("option",{value:"uninvoiced",children:e("uninvoiced")}),t("option",{value:"all",children:e("all")})]})}),t(x,{leftSide:t(K,{propertyKey:"task_round_up",labelElement:t(Q,{label:e("round_tasks"),helpLabel:e("round_tasks_help")}),defaultValue:!0}),children:f("div",{className:"flex items-center space-x-7",children:[t(B,{checked:!!(((y=r==null?void 0:r.settings)==null?void 0:y.task_round_up)??!0),onChange:S=>m("settings.task_round_up",S),disabled:o("task_round_up")}),r!=null&&r.settings.task_round_up?t("span",{children:e("round_up")}):t("span",{children:e("round_down")})]})}),t(x,{leftSideHelp:e("task_round_to_nearest_help"),leftSide:t(K,{propertyKey:"task_round_to_nearest",labelElement:t(Q,{label:e("task_round_to_nearest")}),defaultValue:1}),children:f(se,{value:typeof((k=r==null?void 0:r.settings)==null?void 0:k.task_round_to_nearest)<"u"?d()?"-1":r.settings.task_round_to_nearest.toString():"1",onValueChange:S=>i("settings.task_round_to_nearest",parseFloat(S)),disabled:o("task_round_to_nearest"),children:[f("option",{value:"1",children:[e("1_second")," (",e("disabled"),")"]}),t("option",{value:"60",children:e("1_minute")}),t("option",{value:"300",children:ft("count_minutes",{count:5})}),t("option",{value:"900",children:ft("count_minutes",{count:15})}),t("option",{value:"1800",children:ft("count_minutes",{count:30})}),t("option",{value:"3600",children:e("1_hour")}),t("option",{value:"86400",children:e("1_day")}),t("option",{value:"-1",children:e("custom")})]})}),d()&&t(x,{leftSide:e("task_round_to_nearest"),children:t(We,{precision:0,value:((C=r==null?void 0:r.settings)==null?void 0:C.task_round_to_nearest)||-1,onValueChange:S=>i("settings.task_round_to_nearest",parseFloat(S)),disabled:o("task_round_to_nearest"),disablePrecision:!0})})]}),l&&t(Ek,{})]})}function Ef(e){const[n]=N(),{customFilter:a}=e,s=e.customFilters?wt(e.customFilters).pluck("dropdownKey").unique().toArray().map(l=>l??"0"):[],o=l=>{if(e.onStatusChange){const _=[];return l.map(d=>_.push(d.value)),e.onStatusChange(_)}},i=(l,_)=>{var d;if(e.onCustomFilterChange&&s.length===1){const p=[];return l.map(m=>p.push(m.value)),e.onCustomFilterChange(p)}else if(e.onCustomFilterChange&&s.length>1){const p=[];if(l.map(m=>p.push(m.value)),a!=null&&a.length){const m=((d=e.customFilters)==null?void 0:d.filter(h=>h.dropdownKey!==_&&a.some(u=>u===h.value)))||[];return e.onCustomFilterChange([...m.map(h=>h.value),...p])}else return e.onCustomFilterChange(p)}},r=me(),c={multiValue:(l,{data:_})=>({...l,backgroundColor:_.backgroundColor,color:_.color,borderRadius:"3px"}),multiValueLabel:(l,{data:_})=>({...l,color:_.color}),multiValueRemove:l=>({...l,":hover":{color:"white"},color:"#999999"}),menu:l=>({...l,width:"max-content",minWidth:"100%",backgroundColor:r.$4,borderColor:r.$4}),control:l=>({...l,borderRadius:"3px",backgroundColor:r.$1,color:r.$3,borderColor:r.$5}),option:l=>({...l,backgroundColor:r.$1,":hover":{backgroundColor:r.$7}})};return f("div",{className:"flex flex-col lg:flex-row lg:items-center lg:justify-between",style:{color:r.$3,colorScheme:r.$0,backgroundColor:r.$2,borderColor:r.$4},children:[f("div",{className:"flex flex-col space-y-2 mt-2 lg:mt-0 lg:flex-row lg:items-center lg:space-x-4 lg:space-y-0",style:{color:r.$3,colorScheme:r.$0,backgroundColor:r.$1,borderColor:r.$4},children:[e.children,e.options&&e.defaultOptions&&!e.withoutStatusFilter&&t(Vn,{styles:c,defaultValue:e.defaultOptions,onChange:l=>o(l),placeholder:n("status"),options:e.options,isMulti:e.optionsMultiSelect}),s.map((l,_)=>{var d;return e.customFilters&&e.customFilterPlaceholder&&e.defaultCustomFilterOptions&&t(Vn,{styles:c,defaultValue:e.defaultCustomFilterOptions.filter(p=>(p.dropdownKey??"0")===l),onChange:p=>i(p,l),placeholder:n(((d=e.customFilters.filter(p=>p.dropdownKey===l)[0])==null?void 0:d.placeHolder)??e.customFilterPlaceholder),options:e.customFilters.filter(p=>(p.dropdownKey??"0")===l),isMulti:e.optionsMultiSelect},_)})]}),f("div",{className:"flex flex-col space-y-2 mt-2 lg:mt-0 lg:flex-row lg:items-center lg:space-x-4 lg:space-y-0",children:[e.beforeFilter,t(q,{id:"filter",changeOverride:!0,placeholder:n("filter"),value:e.filter,onValueChange:l=>e.onFilterChange&&e.onFilterChange(l),debounceTimeout:800}),e.rightSide]})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Vc(){const[e]=N();return[{value:"active",label:e("active"),color:"black",backgroundColor:"#e4e4e4"},{value:"archived",label:e("archived"),color:"white",backgroundColor:"#e6b05c"},{value:"deleted",label:e("deleted"),color:"white",backgroundColor:"#c95f53"}]}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Tf=yd(()=>sessionStorage),qc=to("dataTableFilters",{},Tf);function Pf(e){const{tableKey:n}=e,a=Ie(qc);return(s,o)=>{a(i=>({...i,[n]:{filter:s,currentPage:o}}))}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Lc(e){const n=Vs(),{tableKey:a}=e,s=De(qc);return o=>{var r,c,l;if(o==="filter"||o==="currentPage")return(r=s==null?void 0:s[a])!=null&&r[o]?s[a][o]:"";const i=(c=n==null?void 0:n.company_user)==null?void 0:c.react_settings.table_filters;return(l=i==null?void 0:i[a])!=null&&l[o]?i[a][o]:""}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Af(e){const n=Vc(),{isInitialConfiguration:a,tableKey:s,customFilters:o,apiEndpoint:i,customFilter:r}=e,c=Lc({tableKey:s}),l=()=>{if(!a){const p=c("status"),m=p!=null&&p.length?p:["active"];return n.filter(({value:h})=>m.includes(h))||[n[0]]}},_=()=>{if(!a&&o){const p=c("customFilter"),m=p!=null&&p.length?p:[];return o.filter(({value:h})=>m.includes(h))||[o[0]]}},d=()=>{o&&wt(o).pluck("queryKey").unique().toArray().forEach(m=>{const h=m||"client_status",u=[];o.forEach((v,b)=>{(v.queryKey||null)===m&&(r!=null&&r.includes(v.value))&&u.push(v.value),b===o.length-1&&i.searchParams.set(h,u.join(","))})})};return{defaultOptions:l(),defaultCustomFilterOptions:_(),handleChangingCustomFilters:d}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Nf(e){const n=Vs(),a=Ae(),{apiEndpoint:s,customFilters:o,tableKey:i,isInitialConfiguration:r,customFilter:c,setFilter:l,setCustomFilter:_,setCurrentPage:d,setSort:p,setSortedBy:m,setStatus:h,setPerPage:u,withoutStoringPerPage:v}=e,b=Lc({tableKey:i}),w=Pf({tableKey:i}),y=C=>{$("PUT",D("/api/v1/company_users/:id",{id:C.id}),C).then(S=>{ce.set(C,"company_user",S.data.data),ie(["company_users"]),a(ea(C))})},k=(C,S,E,I,H,z)=>{var O,Y;if(!c)return;const j=(Y=(O=n==null?void 0:n.company_user)==null?void 0:O.react_settings.table_filters)==null?void 0:Y[i],W={...o&&{customFilter:[]},sort:s.searchParams.get("sort")||"id|asc",status:["active"],...!v&&{perPage:"10"}},ee={...S&&{sortedBy:S},...o&&{customFilter:c},sort:E,status:H,...!v&&{perPage:z}};if(j&&v&&delete j.perPage,w(C,I),ce.isEqual(W,ee)&&!j||ce.isEqual(j,ee)&&j)return;const V=ce.cloneDeep(n);V&&(ce.set(V,`company_user.react_settings.table_filters.${i}`,ee),y(V))};return g.useEffect(()=>{!r&&!c&&(l(b("filter")||""),o?b("customFilter").length?_(b("customFilter")):_([]):_([]),!v&&u(b("perPage")||"10"),d(b("currentPage")||1),p(b("sort")||"id|asc"),m(b("sortedBy")||void 0),b("status").length?h(b("status")):h(["active"]))},[r]),{handleUpdateTableFilters:k}}const Ei=et(null);function LQe(e){const[n]=N(),[a,s]=g.useState(!1),{RangePicker:o}=Ur,[i,r]=g.useState(),[c,l]=g.useState(),{dateFormat:_}=At(),d=De(Ei);g.useEffect(()=>{r(e.startDate),l(e.endDate)},[e.startDate,e.endDate]);const p=h=>{if(fe.extend(Tr),h[0]===""||h[1]==="")return;const u=["DD. MMM. YYYY","ddd MMM D, YYYY"];e.handleDateChange(fe(h[0],u.includes(_)?void 0:_,d==null?void 0:d.locale).format("YYYY-MM-DD")+","+fe(h[1],u.includes(_)?void 0:_,d==null?void 0:d.locale).format("YYYY-MM-DD"))},m=rt();return f("div",{className:"flex justify-end items-center",children:[t(jr,{style:{color:m},className:"mx-2"}),f(se,{value:e.value,className:"appearance-none block px-3 py-1.5 text-base font-normal  text-gray-700 bg-white bg-clip-padding bg-no-repeat border border-solid border-gray-300 rounded transition ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",onValueChange:h=>{s(h==="custom"),e.handleDateRangeChange(h)},style:{width:"9.7rem"},children:[t("option",{value:"last7_days",children:n("last_7_days")}),t("option",{value:"last30_days",children:n("last_30_days")}),t("option",{value:"this_month",children:n("this_month")}),t("option",{value:"last_month",children:n("last_month")}),t("option",{value:"this_quarter",children:n("current_quarter")}),t("option",{value:"last_quarter",children:n("last_quarter")}),t("option",{value:"this_year",children:n("this_year")}),t("option",{value:"last_year",children:n("last_year")}),t("option",{value:"last365_days",children:`${n("last365_days")}`}),t("option",{value:"custom",children:`${n("custom")}`})]}),a&&t("div",{className:"flex flex-row space-x-2",children:t(zr,{locale:d==null?void 0:d.default,children:t(o,{size:"large",defaultValue:[fe(i),fe(c)],format:_,onChange:(h,u)=>p(u)})})})]})}function If(e){const n=g.useRef(null),{RangePicker:a}=Ur,s=me(),{setDateRange:o,onClick:i}=e,[r,c]=g.useState(!1),[l,_]=g.useState(!1),[d,p]=g.useState(""),m=De(Ei),{dateFormat:h}=At();ta(n,()=>{r&&!l&&c(!1)});const u=b=>{fe.extend(Tr);const w=["DD. MMM. YYYY","ddd MMM D, YYYY"],y=b[0]?fe(b[0],w.includes(h)?void 0:h,m==null?void 0:m.locale).format("YYYY-MM-DD"):"",k=b[1]?fe(b[1],w.includes(h)?void 0:h,m==null?void 0:m.locale).format("YYYY-MM-DD"):"";p(y||k?[y,k].join(","):""),o(y||k?[y,k].join(","):"")},v=()=>{var y,k;const b=(y=d==null?void 0:d.split(","))==null?void 0:y[0],w=(k=d==null?void 0:d.split(","))==null?void 0:k[1];return!!(b&&w)};return g.useEffect(()=>{var b,w;if(r){const y=(b=d==null?void 0:d.split(","))==null?void 0:b[0],k=(w=d==null?void 0:d.split(","))==null?void 0:w[1];o((d==null?void 0:d.length)>1?[y,k].join(","):"")}},[r]),t("div",{ref:n,children:t(Is,{visible:r,placement:"bottom",interactive:!0,render:()=>{var b,w;return t("div",{className:"flex flex-col p-3",style:{backgroundColor:s.$2,border:`1px solid ${s.$5}`},onClick:y=>y.stopPropagation(),children:t(zr,{locale:m==null?void 0:m.default,children:t(a,{size:"large",value:[(b=d==null?void 0:d.split(","))!=null&&b[0]?fe(d.split(",")[0]):null,(w=d==null?void 0:d.split(","))!=null&&w[1]?fe(d.split(",")[1]):null],format:h,onCalendarChange:(y,k)=>u(k),onOpenChange:y=>_(y)})})})},children:t("div",{className:"cursor-pointer",onClick:b=>{b.stopPropagation(),i(),c(w=>!w)},children:t(L,{element:jr,color:v()?"lightgreen":"white",style:{width:"1.4rem",height:"1.4rem"}})})})})}function Df(e){const{children:n}=e,a=rt();return t("tfoot",{style:{backgroundColor:a},children:t("tr",{children:n})})}function wn(e){var Bs,ys;const[n]=N(),a=zt(),s=Vc(),o=Et(),i=pi(),[r,c]=g.useState(!1),[l,_]=g.useState(new URL(D(e.endpoint))),d=`${a.pathname}${e.endpoint.replace(".","")}`,p=Ie(Ut),{styleOptions:m,customFilters:h,onBulkActionCall:u,hideEditableOptions:v=!1,dateRangeColumns:b=[],excludeColumns:w=[],methodType:y="GET",queryIdentificator:k,disableQuery:C,footerColumns:S=[],bottomActionsKeys:E=[],withoutPerPageAsPreference:I=!1,withoutSortQueryParameter:H=!1,showRestoreBulk:z}=e,j=g.useRef(void 0),[W,ee]=g.useState(""),[V,O]=g.useState(void 0),[Y,le]=g.useState(1),[ne,Le]=g.useState(l.searchParams.get("per_page")||"10"),[ze,G]=g.useState(l.searchParams.get("sort")||"id|asc"),[ge,qe]=g.useState(void 0),[Pt,Tt]=g.useState(["active"]),[pe,vt]=g.useState(""),[_e,Ee]=g.useState(""),[Ne,Ue]=g.useState([]),[mt,Gt]=g.useState([]),[Wt,Bn]=g.useState(!0),Kt=g.useRef(null),{handleUpdateTableFilters:Jt}=Nf({apiEndpoint:l,isInitialConfiguration:Wt,customFilter:V,setCurrentPage:le,setCustomFilter:O,setFilter:ee,setPerPage:Le,setSort:G,setSortedBy:qe,setStatus:Tt,tableKey:d,customFilters:h,withoutStoringPerPage:I}),{defaultOptions:ms,defaultCustomFilterOptions:Na,handleChangingCustomFilters:ps}=Af({apiEndpoint:l,isInitialConfiguration:Wt,tableKey:d,customFilter:V,customFilters:h});g.useEffect(()=>{if(!Wt){clearTimeout(j.current);const R=setTimeout(()=>Jt(W,ge,ze,Y,Pt,ne),1500);j.current=R}if(l.searchParams.set("per_page",ne),l.searchParams.set("page",Y.toString()),l.searchParams.set("filter",W),ps(),(!H||H&&ze!=="id|asc")&&l.searchParams.set("sort",ze),l.searchParams.set("status",Pt),b.length&&_e){const R=pe==null?void 0:pe.split(",")[0],X=pe==null?void 0:pe.split(",")[1];l.searchParams.set(_e,R&&X?pe:"")}return _(l),Wt&&Bn(!1),()=>{p(void 0)}},[ne,Y,W,ze,Pt,V,pe,_e]);const{data:dt,isLoading:Ga,isError:hs}=xe([...k?[k]:[],l.pathname,e.endpoint,ne,Y,W,ze,Pt,V,pe,_e],()=>$(y,l.href),{staleTime:e.staleTime??1/0,enabled:!C}),In=()=>mt.every(R=>Me(R)!==Re.Active),hn=(R,X)=>{T.processing(),$("POST",D(e.bulkRoute??`${e.endpoint}/bulk`),{action:R,ids:X?[X]:Array.from(Ne)}).then(ae=>{var he;T.success(`${R}d_${e.resource}`),(he=e.onBulkActionSuccess)==null||he.call(e,ae.data.data,R),Kt.current.checked=!1,window.dispatchEvent(new CustomEvent("invalidate.combobox.queries",{detail:{url:D(e.endpoint)}}))}).finally(()=>{am([e.endpoint,l.pathname]),Ue([])})},Wa=g.useMemo(()=>e.customBulkActions?e.customBulkActions.some(R=>Rn.isValidElement(R({selectedIds:Ne,selectedResources:mt,setSelected:Ue}))):!1,[e.customBulkActions,Ne,mt]),fs=R=>e.customActions?e.customActions.some(X=>Rn.isValidElement(X(R))):!1,gs=R=>{var he,re;const X=(he=b.find(ue=>_e===ue.column))==null?void 0:he.column,ae=(re=b.find(ue=>R===ue.column))==null?void 0:re.queryParameterKey;X!==R&&ae&&Ee(ae)},Ka=R=>S.find(X=>X.id===R),vs=R=>dt==null?void 0:dt.data.data.map(X=>X[R]);return g.useEffect(()=>{p(l.pathname)},[l.pathname]),g.useEffect(()=>{if(dt){const R=dt.data.data.filter(ae=>Ne.includes(ae.id));Gt(R),dt.data.data.some(ae=>!Ne.includes(ae.id))&&Kt.current?Kt.current.checked=!1:Kt.current&&(Kt.current.checked=!0)}},[Ne]),g.useEffect(()=>{dt&&!dt.data.data.length&&le(1)},[dt]),g.useEffect(()=>{dt&&(Number(ne)<Ne.length||Number(ne)===Ne.length?Ue(dt.data.data.map(R=>R.id).filter(R=>Ne.includes(R))):Number(ne)>Ne.length&&Kt.current&&(Kt.current.checked=!1))},[ne]),g.useEffect(()=>{Qo.on("bulk.completed",()=>Ue([]))},[]),f("div",{"data-cy":"dataTable",children:[!e.withoutActions&&t(Ef,{filter:W,onFilterChange:ee,optionsMultiSelect:!0,options:s,defaultOptions:ms,defaultCustomFilterOptions:Na,onStatusChange:Tt,customFilters:e.customFilters,customFilterPlaceholder:e.customFilterPlaceholder,onCustomFilterChange:O,customFilter:V,rightSide:f(F,{children:[e.rightSide,e.linkToCreate&&t(de,{type:"component",guards:e.linkToCreateGuards||[],component:t(te,{to:e.linkToCreate,children:t("span",{children:n(`new_${e.resource}`)})})})]}),beforeFilter:e.beforeFilter,withoutStatusFilter:e.withoutStatusFilter,children:!v&&f(Sn,{label:n("actions"),disabled:!Ne.length,cypressRef:"bulkActionsDropdown",children:[e.customBulkActions&&e.customBulkActions.map((R,X)=>t("div",{children:R({selectedIds:Ne,selectedResources:mt,setSelected:Ue})},X)),e.customBulkActions&&Wa&&t(ye,{withoutPadding:!0}),!e.withoutDefaultBulkActions&&f(F,{children:[t(M,{onClick:()=>{u?u(Ne,"archive"):hn("archive")},icon:t(L,{element:Rt}),children:n("archive")}),t(M,{onClick:()=>{u?u(Ne,"delete"):hn("delete")},icon:t(L,{element:kt}),children:n("delete")}),(z?z(mt):In())&&t(M,{onClick:()=>{u?u(Ne,"restore"):hn("restore")},icon:t(L,{element:Vt}),children:n("restore")})]})]})}),f(Ca,{className:oe(e.className,{"pr-0":!r}),withoutPadding:e.withoutPadding,withoutBottomBorder:m==null?void 0:m.withoutBottomBorder,withoutTopBorder:m==null?void 0:m.withoutTopBorder,withoutLeftBorder:m==null?void 0:m.withoutLeftBorder,withoutRightBorder:m==null?void 0:m.withoutRightBorder,onVerticalOverflowChange:R=>c(R),isDataLoading:Ga,style:e.style,children:[f(Ea,{backgroundColor:m==null?void 0:m.headerBackgroundColor,children:[!e.withoutActions&&!v&&t(yt,{className:m==null?void 0:m.thClassName,children:t(an,{innerRef:Kt,onChange:R=>{Array.from(document.querySelectorAll(".child-checkbox")).forEach(X=>{X.checked=R.target.checked,R.target.checked?Ne.find(he=>he===X.id)||Ue(he=>[...he,X.id]):Ue([])})},cypressRef:"dataTableCheckbox"})}),e.columns.map((R,X)=>!w.includes(R.id)&&t(yt,{id:R.id,className:m==null?void 0:m.thClassName,isCurrentlyUsed:ge===R.id,onColumnClick:ae=>{qe(ae.field),G(ae.sort)},childrenClassName:m==null?void 0:m.thChildrenClassName,children:f("div",{className:"flex items-center space-x-3",children:[b.some(ae=>R.id===ae.column)&&t(If,{setDateRange:vt,onClick:()=>gs(R.id)}),t("span",{children:R.label})]})},X)),e.withResourcefulActions&&!v&&t(yt,{})]}),f(Sa,{style:m==null?void 0:m.tBodyStyle,children:[Ga&&t($t,{className:oe({"border-b border-gray-200":m==null?void 0:m.addRowSeparator,"last:border-b-0":r}),children:t(Ye,{colSpan:100,children:t(st,{})})}),hs&&t($t,{className:oe({"border-b border-gray-200":m==null?void 0:m.addRowSeparator,"last:border-b-0":r}),children:t(Ye,{className:"text-center",colSpan:100,children:n("error_refresh_page")})}),dt&&dt.data.data.length===0&&t($t,{className:oe({"border-b border-gray-200":m==null?void 0:m.addRowSeparator,"last:border-b-0":r}),children:t(Ye,{className:m==null?void 0:m.tdClassName,colSpan:100,children:n("no_records_found")})}),dt&&((ys=(Bs=dt==null?void 0:dt.data)==null?void 0:Bs.data)==null?void 0:ys.map((R,X)=>{var ae,he,re,ue,Te,be;return f($t,{className:oe({"border-b border-gray-200":m==null?void 0:m.addRowSeparator,"last:border-b-0":r}),backgroundColor:X%2===0?i.$7:"",children:[!e.withoutActions&&!v&&t(Ye,{className:"cursor-pointer",onClick:()=>Ne.includes(R.id)?Ue(He=>He.filter(Ke=>Ke!==R.id)):Ue(He=>[...He,R.id]),children:t(an,{checked:Ne.includes(R.id),className:"child-checkbox",value:R.id,id:R.id,cypressRef:"dataTableCheckbox"})}),e.columns.map((He,Ke)=>!w.includes(He.id)&&t(Ye,{className:oe({"cursor-pointer":Ke<3,"py-4":v},m==null?void 0:m.tdClassName),onClick:()=>{var _t;Ke<3&&(e.onTableRowClick?e.onTableRowClick(R):(_t=document.getElementById(R.id))==null||_t.click())},children:He.format?He.format(R[He.id],R):R[He.id]},Ke)),e.withResourcefulActions&&!v&&t(Ye,{children:f(Sn,{label:n("actions"),children:[e.linkToEdit&&(((ae=e.showEdit)==null?void 0:ae.call(e,R))||!e.showEdit)&&t(M,{to:U(e.linkToEdit,{id:R==null?void 0:R.id}),icon:t(L,{element:Ns}),children:n("edit")}),e.linkToEdit&&e.customActions&&fs(R)&&(((he=e.showEdit)==null?void 0:he.call(e,R))||!e.showEdit)&&t(ye,{withoutPadding:!0}),e.customActions&&e.customActions.map((He,Ke)=>{var _t;return!E.includes(((_t=He(R))==null?void 0:_t.key)||"")&&t("div",{children:He(R)},Ke)}),e.customActions&&(((re=e.showRestore)==null?void 0:re.call(e,R))||!e.showRestore)&&t(ye,{withoutPadding:!0}),(R==null?void 0:R.archived_at)===0&&(((ue=e.showArchive)==null?void 0:ue.call(e,R))||!e.showArchive)&&t(M,{onClick:()=>hn("archive",R.id),icon:t(L,{element:Rt}),children:n("archive")}),(R==null?void 0:R.archived_at)>0&&(((Te=e.showRestore)==null?void 0:Te.call(e,R))||!e.showRestore)&&t(M,{onClick:()=>hn("restore",R.id),icon:t(L,{element:Vt}),children:n("restore")}),!(R!=null&&R.is_deleted)&&(((be=e.showDelete)==null?void 0:be.call(e,R))||!e.showDelete)&&t(M,{onClick:()=>hn("delete",R.id),icon:t(L,{element:kt}),children:n("delete")}),e.customActions&&e.customActions.map((He,Ke)=>{var _t;return E.includes(((_t=He(R))==null?void 0:_t.key)||"")&&t("div",{children:He(R)},Ke)})]})})]},X)}))]}),!!S.length&&!!(dt!=null&&dt.data.data.length)&&!!o.show_table_footer&&f(Df,{children:[!e.withoutActions&&!v&&t(yt,{}),e.columns.map((R,X)=>{var ae;return!w.includes(R.id)&&t(Ye,{customizeTextColor:!0,children:Ka(R.id)?t("div",{className:"flex items-center space-x-3",children:((ae=Ka(R.id))==null?void 0:ae.format(vs(R.id)||[],(dt==null?void 0:dt.data.data)||[]))??"-/-"}):t(F,{})},X)}),e.withResourcefulActions&&!v&&t(yt,{})]})]}),dt&&!e.withoutPagination&&t(Dc,{currentPerPage:ne,currentPage:Y,onPageChange:le,onRowsChange:Le,totalPages:dt.data.meta.pagination.total_pages,totalRecords:dt.data.meta.pagination.total,leftSideChevrons:e.leftSideChevrons})]})}function $f(){return t(wn,{endpoint:"/api/v1/expense_categories?sort=id|desc",bulkRoute:"/api/v1/expense_categories/bulk",resource:"expense_category",columns:[{id:"category",label:"name",format:(n,a)=>t(Pe,{to:U("/settings/expense_categories/:id/edit",{id:a.id}),children:a.name})},{id:"color",label:"color",format:n=>t("div",{style:{backgroundColor:n},className:"p-1 h-4 w-10"})}],linkToCreate:"/settings/expense_categories/create",linkToEdit:"/settings/expense_categories/:id/edit",withResourcefulActions:!0})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ti(e){return xe(["/api/v1/expense_categories",e],()=>{var n;return $("GET",D("/api/v1/expense_categories?per_page=:perPage&page=:currentPage&sort=:sort&filter=:filter&status=:status",{perPage:e.perPage??"100",currentPage:e.currentPage??"1",sort:e.sort??"name|asc",filter:e.filter??"",status:((n=e.status)==null?void 0:n.join(","))??""})).then(a=>a.data.data)},{enabled:e.enabled??!0,staleTime:1/0})}function Rf(e){return xe(["/api/v1/expense_categories",e.id],()=>$("GET",D("/api/v1/expense_categories/:id",{id:e.id})),{enabled:e.enabled??!0,staleTime:1/0})}function Vf(){return(e,n)=>{T.processing(),$("POST",D("/api/v1/expense_categories/bulk"),{action:n,ids:[e]}).then(()=>{T.success(`${n}d_expense_category`),ie(["expense_categories"])})}}function Oc(){const{isAdmin:e}=Je();return xe("/api/v1/expense_categories/create",()=>$("GET",D("/api/v1/expense_categories/create")).then(n=>n.data.data),{staleTime:1/0,enabled:e})}function Mc(e){const[n]=N(),{errors:a,setErrors:s,setExpenseCategory:o,expenseCategory:i,nameFieldRef:r}=e,c=me(),l=(_,d)=>{s(void 0),o(p=>p&&{...p,[_]:d})};return f(Qn,{children:[t(q,{innerRef:r,style:{color:c.$3,colorScheme:c.$0,backgroundColor:c.$1,borderColor:c.$4},required:!0,label:n("name"),value:i==null?void 0:i.name,onValueChange:_=>l("name",_),errorMessage:a==null?void 0:a.errors.name,cypressRef:"expenseCategoryNameField"}),t(Pn,{children:n("color")}),t(za,{value:i==null?void 0:i.color,onValueChange:_=>l("color",_)})]})}function qf(){Se("new_expense_category");const[e]=N(),n=Ce(),a=rt(),s=g.useRef(null),{data:o}=Oc(),[i,r]=g.useState(),[c,l]=g.useState(!1),[_,d]=g.useState(),p=[{name:e("settings"),href:"/settings"},{name:e("expense_settings"),href:"/settings/expense_settings"},{name:e("new_expense_category"),href:"/settings/expense_categories/create"}],m=()=>{s.current&&s.current.focus()},h=v=>{c||(l(!0),T.processing(),$("POST",D("/api/v1/expense_categories"),_).then(b=>{T.success("created_expense_category"),ie(["expense_categories"]),v==="save"?n(U("/settings/expense_categories/:id/edit",{id:b.data.data.id})):o&&(d({...o,color:a}),m())}).catch(b=>{var w;((w=b.response)==null?void 0:w.status)===422&&(T.dismiss(),r(b.response.data))}).finally(()=>l(!1)))},u=[{onClick:()=>h("create"),text:`${e("save")} / ${e("create")}`,icon:t(L,{element:gn})}];return g.useEffect(()=>{o&&d({...o,color:a})},[o]),g.useEffect(()=>{m()},[s]),t(Ve,{title:e("expense_categories"),breadcrumbs:p,children:t(Z,{title:e("create_expense_category"),withSaveButton:!0,disableSubmitButton:c,onSaveClick:()=>h("save"),additionalSaveOptions:u,children:t(Mc,{nameFieldRef:s,expenseCategory:_,setExpenseCategory:d,errors:i,setErrors:r})})})}function Lf(){const[e]=N(),n=Vf();return[s=>s.archived_at===0&&t(M,{onClick:()=>n(s.id,"archive"),icon:t(L,{element:Rt}),children:e("archive")}),s=>s.archived_at>0&&t(M,{onClick:()=>n(s.id,"restore"),icon:t(L,{element:Vt}),children:e("restore")}),s=>!s.is_deleted&&t(M,{onClick:()=>n(s.id,"delete"),icon:t(L,{element:kt}),children:e("delete")})]}function oa(e){const[n]=N(),{onSaveClick:a,disableSaveButton:s,label:o,saveButtonLabel:i,disableSaveButtonOnly:r}=e;return f(F,{children:[a&&f("div",{className:"flex",children:[t(te,{behavior:"button",className:"rounded-br-none rounded-tr-none px-3",onClick:a,disabled:s||r,disableWithoutIcon:!0,children:i??n("save")}),t(Sn,{className:"rounded-bl-none rounded-tl-none h-full border-l-1 border-y-0 border-r-0",cardActions:!0,disabled:s,cypressRef:e.cypressRef,children:e.actions.map((c,l)=>t(g.Fragment,{children:c(e.resource)},l))})]}),!a&&o&&t(Sn,{label:e.label,cypressRef:e.cypressRef,children:e.actions.map((c,l)=>t(g.Fragment,{children:c(e.resource)},l))})]})}function Of(){const{setDocumentTitle:e}=Se("edit_expense_category"),[n]=N(),{id:a}=xt(),s=Lf(),{data:o}=Rf({id:a}),i=[{name:n("settings"),href:"/settings"},{name:n("expense_settings"),href:"/settings/expense_settings"},{name:n("edit_expense_category"),href:U("/settings/expense_categories/:id/edit",{id:a})}],[r,c]=g.useState(),[l,_]=g.useState(!1),[d,p]=g.useState({name:"",color:""}),m=(u,v)=>{c(void 0),p(b=>({...b,[u]:v}))},h=u=>{u.preventDefault(),l||(_(!0),c(void 0),T.processing(),$("PUT",D("/api/v1/expense_categories/:id",{id:a}),d).then(()=>{T.success("updated_expense_category"),ie(["expense_categories"])}).catch(v=>{var b;((b=v.response)==null?void 0:b.status)===422&&(c(v.response.data),T.dismiss())}).finally(()=>_(!1)))};return g.useEffect(()=>{e(o==null?void 0:o.data.data.name),p(o==null?void 0:o.data.data)},[o]),f(Ve,{title:n("expense_categories"),breadcrumbs:i,navigationTopRight:d&&t(oa,{label:n("more_actions"),resource:d,actions:s}),children:[!o&&t("div",{className:"flex justify-center",children:t(st,{})}),o&&f(Z,{withSaveButton:!0,disableSubmitButton:l,onFormSubmit:h,title:d==null?void 0:d.name,children:[f(x,{leftSide:n("status"),children:[!o.data.data.is_deleted&&!o.data.data.archived_at&&t(Oe,{variant:"primary",children:n("active")}),o.data.data.archived_at&&!o.data.data.is_deleted?t(Oe,{variant:"yellow",children:n("archived")}):null,o.data.data.is_deleted&&t(Oe,{variant:"red",children:n("deleted")})]}),f(Qn,{children:[t(q,{label:n("name"),onValueChange:u=>m("name",u),value:d==null?void 0:d.name,errorMessage:r==null?void 0:r.errors.name,required:!0}),t(Pn,{children:n("color")}),t(za,{value:d==null?void 0:d.color,onValueChange:u=>m("color",u)})]})]})]})}function Mf(){Se("expense_settings");const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("expense_settings"),href:"/settings/expense_settings"}],a=Lt(),{isCompanySettingsActive:s}=lt(),o=Ae(),i=mn(),r=Ht(),c=Ze();return f(Ve,{onSaveClick:r,onCancelClick:i,title:e("expense_settings"),breadcrumbs:n,docsLink:"en/basic-settings/#expense_settings",children:[f(Z,{title:e("settings"),children:[t(x,{leftSide:e("should_be_invoiced"),leftSideHelp:e("should_be_invoiced_help"),children:t(B,{checked:a==null?void 0:a.mark_expenses_invoiceable,onChange:l=>c("mark_expenses_invoiceable",l),cypressRef:"shouldBeInvoicedToggle"})}),t(x,{leftSide:e("mark_paid"),leftSideHelp:e("mark_paid_help"),children:t(B,{checked:a==null?void 0:a.mark_expenses_paid,onChange:l=>c("mark_expenses_paid",l),cypressRef:"markPaidToggle"})}),t(x,{leftSide:e("convert_currency"),leftSideHelp:e("convert_expense_currency_help"),children:t(B,{checked:a==null?void 0:a.convert_expense_currency,onChange:l=>c("convert_expense_currency",l),cypressRef:"convertCurrencyToggle"})}),t(x,{leftSide:e("add_documents_to_invoice"),leftSideHelp:e("add_documents_to_invoice_help"),children:t(B,{checked:a==null?void 0:a.invoice_expense_documents,onChange:l=>c("invoice_expense_documents",l),cypressRef:"addDocumentsToInvoiceToggle"})}),t(x,{leftSide:e("notify_vendor_when_paid"),leftSideHelp:e("notify_vendor_when_paid_help"),children:t(B,{onChange:l=>c("notify_vendor_when_paid",l),checked:(a==null?void 0:a.notify_vendor_when_paid)||!1})}),s&&Ft()&&f(F,{children:[t(ye,{withoutPadding:!0}),t(x,{className:"mt-3.5",leftSide:e("expense_mailbox_active"),children:t(B,{checked:!!(a!=null&&a.expense_mailbox_active),onChange:l=>c("expense_mailbox_active",l)})}),!!(a!=null&&a.expense_mailbox_active)&&f(F,{children:[t(x,{leftSide:e("expense_mailbox"),children:t(q,{value:(a==null?void 0:a.expense_mailbox)||"",onValueChange:l=>c("expense_mailbox",l)})}),t(x,{leftSide:e("inbound_mailbox_allow_company_users"),children:t(B,{checked:!!(a!=null&&a.inbound_mailbox_allow_company_users),onChange:l=>c("inbound_mailbox_allow_company_users",l)})}),t(x,{leftSide:e("inbound_mailbox_allow_vendors"),children:t(B,{checked:!!(a!=null&&a.inbound_mailbox_allow_vendors),onChange:l=>c("inbound_mailbox_allow_vendors",l)})}),t(x,{leftSide:e("inbound_mailbox_allow_clients"),children:t(B,{checked:!!(a!=null&&a.inbound_mailbox_allow_clients),onChange:l=>c("inbound_mailbox_allow_clients",l)})}),t(x,{leftSide:e("inbound_mailbox_whitelist"),leftSideHelp:e("inbound_mailbox_whitelist_help"),children:t(q,{value:(a==null?void 0:a.inbound_mailbox_whitelist)||"",onValueChange:l=>c("inbound_mailbox_whitelist",l)})}),t(x,{leftSide:e("inbound_mailbox_blacklist"),leftSideHelp:e("inbound_mailbox_blacklist_help"),children:t(q,{value:(a==null?void 0:a.inbound_mailbox_blacklist)||"",onValueChange:l=>c("inbound_mailbox_blacklist",l)})}),t(x,{leftSide:e("inbound_mailbox_allow_unknown"),children:t(B,{checked:!!(a!=null&&a.inbound_mailbox_allow_unknown),onChange:l=>c("inbound_mailbox_allow_unknown",l)})})]})]}),t(ye,{className:"pb-3.5",withoutPadding:!0}),t(x,{leftSide:e("enter_taxes"),children:t(oc,{onValueChange:l=>o(Ge({object:"company",property:"calculate_expense_tax_by_amount",value:l==="true"})),options:[{id:"by_rate",title:e("by_rate"),value:"false"},{id:"by_amount",title:e("by_amount"),value:"true"}],name:"calculate_expense_tax_by_amount",defaultSelected:a==null?void 0:a.calculate_expense_tax_by_amount.toString(),cypressRef:"taxByRadio"})}),t(x,{leftSide:e("inclusive_taxes"),leftSideHelp:f("span",{className:"flex flex-col",children:[f("span",{children:[e("exclusive"),": 100 + 10% = 100 + 10"]}),f("span",{children:[e("inclusive"),": 100 + 10% = 90.91 + 9.09"]})]}),children:t(B,{onChange:l=>c("expense_inclusive_taxes",l),checked:(a==null?void 0:a.expense_inclusive_taxes)||!1,cypressRef:"inclusiveTaxesToggle"})})]}),t($f,{})]})}function jn(e){const n=me(),a=rt(),{withoutVerticalMargin:s}=e,[o,i]=g.useState(e.defaultTabIndex||0),r=c=>{var l;i(c),(l=e.onTabChange)==null||l.call(e,c)};return g.useEffect(()=>{i(e.defaultTabIndex||0)},[e.defaultTabIndex]),f("div",{className:e.className,"data-cy":"tabs",children:[t("div",{className:"-mb-px flex space-x-8 overflow-x-auto border-b",style:{borderColor:n.$5},children:e.tabs.map((c,l)=>{var _;return t("div",{className:oe({"w-full":e.width==="full"}),children:t("button",{type:"button",onClick:()=>r(l),style:{borderColor:o===l?a:"transparent",color:o===l?a:n.$3},className:oe("whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm",{"w-full":e.width==="full"}),children:((_=e.formatTabLabel)==null?void 0:_.call(e,l))||c})},l)})}),t("div",{className:oe(e.childrenClassName,{"flex flex-1":e.height==="full","my-4":e.height!=="full"&&!s,"overflow-y-scroll px-[5px]":e.withScrollableContent}),children:[...e.children].map((c,l)=>{var _;return Rn.isValidElement(c)&&Rn.cloneElement(c,{key:l,className:oe((_=c.props)==null?void 0:_.className,{"flex flex-col flex-1":e.height==="full","block my-4":e.height!=="full"&&!s,hidden:o!==l})})})})]})}function jf(){var c,l,_,d;const[e]=N(),n=Ae(),a=$e(),s=ht(),{isCompanySettingsActive:o}=lt(),i=De(ct),r=(p,m)=>n(Ge({object:"company",property:p,value:m}));return f(Z,{title:e("invoices"),children:[t(x,{leftSide:t(K,{propertyKey:"auto_email_invoice",labelElement:t(Q,{label:e("auto_email_invoice"),helpLabel:e("auto_email_invoice_help")}),defaultValue:!1}),children:t(B,{checked:!!((c=a==null?void 0:a.settings)!=null&&c.auto_email_invoice),onChange:p=>r("settings.auto_email_invoice",p),disabled:s("auto_email_invoice")})}),o&&t(x,{leftSide:e("stop_on_unpaid"),leftSideHelp:e("stop_on_unpaid_help"),children:t(B,{checked:!!(a!=null&&a.stop_on_unpaid_recurring),onChange:p=>r("stop_on_unpaid_recurring",p)})}),t(ye,{}),t(x,{leftSide:t(K,{propertyKey:"auto_archive_invoice",labelElement:t(Q,{label:e("auto_archive_invoice"),helpLabel:e("auto_archive_invoice_help")}),defaultValue:!1}),children:t(B,{checked:!!((l=a==null?void 0:a.settings)!=null&&l.auto_archive_invoice),onChange:p=>r("settings.auto_archive_invoice",p),disabled:s("auto_archive_invoice")})}),t(x,{leftSide:t(K,{propertyKey:"auto_archive_invoice_cancelled",labelElement:t(Q,{label:e("auto_archive_invoice_cancelled"),helpLabel:e("auto_archive_invoice_cancelled_help")}),defaultValue:!1}),children:t(B,{checked:!!((_=a==null?void 0:a.settings)!=null&&_.auto_archive_invoice_cancelled),onChange:p=>r("settings.auto_archive_invoice_cancelled",p),disabled:s("auto_archive_invoice_cancelled")})}),t(ye,{}),t(x,{leftSide:t(K,{propertyKey:"lock_invoices",labelElement:t(Q,{label:e("lock_invoices")}),defaultValue:"off"}),children:f(se,{onChange:p=>r("settings.lock_invoices",p.target.value),value:((d=a==null?void 0:a.settings)==null?void 0:d.lock_invoices)||"off",disabled:s("lock_invoices"),errorMessage:i==null?void 0:i.errors["settings.lock_invoices"],children:[t("option",{value:"off",children:e("off")}),t("option",{value:"when_sent",children:e("when_sent")}),t("option",{value:"when_paid",children:e("when_paid")}),t("option",{value:"end_of_month",children:e("end_of_month")})]})})]})}function Ff(){var r,c;const[e]=N(),n=Ae(),a=$e(),{isCompanySettingsActive:s}=lt(),o=ht(),i=(l,_)=>n(Ge({object:"company",property:l,value:_}));return f(Z,{title:e("quotes"),children:[t(x,{leftSide:t(K,{propertyKey:"auto_convert_quote",labelElement:t(Q,{label:e("auto_convert_quote"),helpLabel:e("auto_convert_quote_help")}),defaultValue:!1}),children:t(B,{checked:!!((r=a==null?void 0:a.settings)!=null&&r.auto_convert_quote),onChange:l=>i("settings.auto_convert_quote",l),disabled:o("auto_convert_quote")})}),t(x,{leftSide:t(K,{propertyKey:"auto_archive_quote",labelElement:t(Q,{label:e("auto_archive_quote"),helpLabel:e("auto_archive_quote_help")}),defaultValue:!1}),children:t(B,{checked:!!((c=a==null?void 0:a.settings)!=null&&c.auto_archive_quote),onChange:l=>i("settings.auto_archive_quote",l),disabled:o("auto_archive_quote")})}),s&&t(x,{leftSide:e("use_quote_terms"),leftSideHelp:e("use_quote_terms_help"),children:t(B,{checked:!!(a!=null&&a.use_quote_terms_on_conversion),onChange:l=>i("use_quote_terms_on_conversion",l)})})]})}function Bf(){const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("workflow_settings"),href:"/settings/workflow_settings"}];Se("workflow_settings"),Lt();const a=Ht(),s=mn(),o=[e("invoices"),e("quotes")];return t(Ve,{onSaveClick:a,onCancelClick:s,title:e("workflow_settings"),breadcrumbs:n,docsLink:"en/advanced-settings/#workflow_settings",children:f(jn,{tabs:o,children:[t("div",{children:t(jf,{})}),t("div",{children:t(Ff,{})})]})})}const Mo={activities:[],clients:["created_at"],client_contacts:["created_at"],invoices:["date","due_date","partial_due_date"],invoice_items:["date","due_date","partial_due_date"],quotes:["date","due_date","partial_due_date"],quote_items:["date","due_date","partial_due_date"],credits:["date","due_date","partial_due_date"],documents:["created_at"],expenses:["date","payment_date"],purchase_orders:[],purchase_order_items:[],recurring_invoices:["date","due_date","partial_due_date"],payments:["date"],products:["created_at"],vendors:[],tasks:["created_at"]},zf=[{identifier:"last7",label:"last_7_days"},{identifier:"last30",label:"last_30_days"},{identifier:"this_month",label:"this_month"},{identifier:"last_month",label:"last_month"},{identifier:"this_quarter",label:"this_quarter"},{identifier:"last_quarter",label:"last_quarter"},{identifier:"this_year",label:"this_year"},{identifier:"custom",label:"custom"}],cr={date_key:"",date_range:"",end_date:"",report_keys:[],send_email:!0,start_date:""};function Uf(){const[e]=N(),[n,a]=g.useState(),[s,o]=g.useState(!1),[i,r]=g.useState("activities"),[c,l]=g.useState(cr),_=(p,m)=>{l(m==="date_key"?h=>({...h,date_key:p,date_range:p?"last7":""}):m==="date_range"?h=>({...h,date_range:p,start_date:p==="custom"?h.start_date:"",end_date:p==="custom"?h.end_date:""}):h=>({...h,[m]:p}))},d=()=>{s||(T.processing(),o(!0),$("POST",D(`/api/v1/reports/${i}`),c).then(()=>T.success("exported_data")).catch(p=>{var m;((m=p.response)==null?void 0:m.status)===422&&(T.dismiss(),a(p.response.data))}).finally(()=>o(!1)))};return g.useEffect(()=>{l(cr)},[i]),f(Z,{title:e("export"),saveButtonLabel:e("export"),withSaveButton:!0,onSaveClick:p=>{p.preventDefault(),d()},disableSubmitButton:s,disableWithoutIcon:!0,children:[t(x,{leftSide:e("export"),children:e("csv")}),t(x,{leftSide:e("export_type"),children:t(se,{value:i,onValueChange:p=>r(p),children:Object.keys(Mo).map((p,m)=>t("option",{value:p,children:e(p)},m))})}),!!Mo[i].length&&t(x,{leftSide:e("date"),children:t(se,{value:c.date_key,onValueChange:p=>_(p,"date_key"),withBlank:!0,errorMessage:n==null?void 0:n.errors.date_key,children:Mo[i].map((p,m)=>t("option",{value:p,children:e(p)},m))})}),c.date_key&&t(x,{leftSide:e("date_range"),children:t(se,{value:c.date_range,onValueChange:p=>_(p,"date_range"),errorMessage:n==null?void 0:n.errors.date_range,children:zf.map(({identifier:p,label:m},h)=>t("option",{value:p,children:e(m)},h))})}),c.date_range==="custom"&&f(F,{children:[t(x,{leftSide:e("start_date"),children:t(q,{type:"date",value:c.start_date,onValueChange:p=>_(p,"start_date"),errorMessage:n==null?void 0:n.errors.start_date})}),t(x,{leftSide:e("end_date"),children:t(q,{type:"date",value:c.end_date,onValueChange:p=>_(p,"end_date"),errorMessage:n==null?void 0:n.errors.end_date})})]})]})}function Hf(e){const[n]=N(),a=me(),{group:s,files:o,setFiles:i}=e,[r,c]=g.useState([]),l=u=>{i(v=>v.filter(({file:b})=>b!==u))},_=u=>new Promise(v=>{try{const b=new FileReader;b.onload=w=>{var C;const k=(((C=w.target)==null?void 0:C.result)||"").split(`
`);!k.length||k.length===1||k.length===2&&!k[1]?v(!1):v(!0)},b.readAsText(u)}catch{v(!1)}}),d=async u=>{for(let v=0;v<u.length;v++)if(!await _(u[v]))return!1;return!0},{getRootProps:p,getInputProps:m,isDragActive:h}=Ds({accept:{"text/*":[".csv"]},onDrop:async u=>{await d(u)?u.forEach(b=>{i(w=>[...w,{group:s,file:b}])}):T.error("csv_rows_length")}});return g.useEffect(()=>{c(o.filter(({group:u})=>u===s).map(({file:u})=>u))},[o]),t(x,{leftSide:n(s),children:r.length?t("ul",{className:"grid xs:grid-rows-6 lg:grid-cols-2",children:r.map((u,v)=>f("li",{className:"flex items-center hover:bg-gray-50 cursor-pointer p-2",children:[u.name," - ",(u.size/1024).toPrecision(2)," KB"," ",t(Hn,{fontSize:15,className:"cursor-pointer ml-3",onClick:()=>l(u)})]},v))}):t("div",{...p(),className:"flex flex-col md:flex-row md:items-center",children:f("div",{className:"relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",children:[t("input",{...m()}),t(qa,{className:"mx-auto h-12 w-12",style:{color:a.$3,colorScheme:a.$0}}),t("span",{className:"mt-2 block text-sm font-medium",style:{color:a.$3,colorScheme:a.$0},children:n(h?"drop_file_here":"dropzone_default_message")})]})})})}const Gf={clients:"client",invoices:"invoice",accounting:"invoice",contacts:"client"},lr={freshbooks:["clients","invoices"],invoice2go:["invoices"],invoicely:["clients","invoices"],waveaccounting:["clients","accounting"],zoho:["contacts","invoices"]};function Wf(){const[e]=N(),[n,a]=g.useState("freshbooks"),[s,o]=g.useState([]),[i,r]=g.useState(),[c,l]=g.useState(!1),_=()=>{if(!c){T.processing(),l(!0);const p=new FormData;p.append("import_type",n),s.forEach(({file:m,group:h})=>{p.append(`files[${Gf[h]}]`,m)}),$("POST",D("/api/v1/import"),p).then(m=>T.success(m.data.message)).catch(m=>{var h;((h=m.response)==null?void 0:h.status)===422&&(T.dismiss(),r(m.response.data))}).finally(()=>{l(!1),o([])})}},d=()=>lr[n].some(p=>!s.filter(({group:m})=>m===p).length);return g.useEffect(()=>{r(void 0),o([])},[n]),f(Z,{title:e("import"),saveButtonLabel:e("import"),onSaveClick:p=>{p.preventDefault(),_()},disableSubmitButton:d()||c,withSaveButton:!0,disableWithoutIcon:!0,children:[t(x,{leftSide:e("import_type"),children:f(se,{value:n,onValueChange:p=>a(p),errorMessage:i==null?void 0:i.errors.import_type,children:[t("option",{value:"freshbooks",children:e("freshbooks")}),t("option",{value:"invoice2go",children:e("invoice2go")}),t("option",{value:"invoicely",children:e("invoicely")}),t("option",{value:"waveaccounting",children:e("waveaccounting")}),t("option",{value:"zoho",children:e("zoho")})]})}),lr[n].map(p=>t(Hf,{group:p,files:s,setFiles:o},p)),t(x,{children:i&&Object.keys(i.errors).map((p,m)=>p!=="import_type"&&t(it,{type:"danger",children:i.errors[p]},m))})]})}function Kf(){Se("import_export");const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("import_export"),href:"/settings/import_export"}];return f(Ve,{title:e("import_export"),breadcrumbs:n,docsLink:"en/basic-settings/#import_export",children:[t(Wf,{}),t(Uf,{})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Qf(){const[e]=N();let n=[{name:e("plan"),href:"/settings/account_management"},{name:e("overview"),href:"/settings/account_management/overview"},{name:e("enabled_modules"),href:"/settings/account_management/enabled_modules"},{name:e("integrations"),href:"/settings/account_management/integrations"},{name:e("security_settings"),href:"/settings/account_management/security_settings"}];return n=[...n,{name:e("referral_program"),href:"/settings/account_management/referral_program"}],ya()?n:[...n,{name:e("danger_zone"),href:"/settings/account_management/danger_zone"}]}function Yf(){const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("account_management"),href:"/settings/account_management"}];Se("account_management"),Lt();const a=Ht(),s=mn(),o=Qf();return f(Ve,{onSaveClick:a,onCancelClick:s,title:e("account_management"),breadcrumbs:n,docsLink:"en/basic-settings/#account_management",children:[t(wa,{tabs:o,className:"mt-6"}),t("div",{className:"my-4",children:t(on,{})})]})}function Xf(){Se("custom_fields");const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("custom_fields"),href:"/settings/custom_fields"}],a=[{name:e("company"),href:"/settings/custom_fields/company"},{name:e("clients"),href:"/settings/custom_fields/clients"},{name:e("products"),href:"/settings/custom_fields/products"},{name:e("invoices"),href:"/settings/custom_fields/invoices"},{name:e("payments"),href:"/settings/custom_fields/payments"},{name:e("projects"),href:"/settings/custom_fields/projects"},{name:e("tasks"),href:"/settings/custom_fields/tasks"},{name:e("vendors"),href:"/settings/custom_fields/vendors"},{name:e("expenses"),href:"/settings/custom_fields/expenses"},{name:e("users"),href:"/settings/custom_fields/users"}],s=zt(),o=Ht(),i=mn();return f(Ve,{title:e("custom_fields"),breadcrumbs:n,docsLink:"en/advanced-settings/#custom_fields",onSaveClick:o,onCancelClick:i,children:[s.pathname.endsWith("custom_fields")&&t(Va,{to:"/settings/custom_fields/company"}),t(wa,{tabs:a}),t(bi,{}),t(on,{})]})}function Jf(){Se("custom_fields");const[e]=N(),n=`${e("custom_fields")}: ${e("company")}`,a=$e(),s=An();return a?t(Z,{title:n,children:["company1","company2","company3","company4"].map(o=>t(_n,{field:o,placeholder:e("company_field"),onChange:i=>s(o,i),initialValue:a.custom_fields[o]},o))}):null}function Zf(){Se("custom_fields");const[e]=N(),n=`${e("custom_fields")}: ${e("clients")}`,a=$e(),s=An();return a?f(F,{children:[t(Z,{title:n,children:["client1","client2","client3","client4"].map(o=>t(_n,{field:o,placeholder:e("client_field"),onChange:i=>s(o,i),initialValue:a.custom_fields[o]},o))}),t(Z,{title:`${e("custom_fields")}: ${e("contacts")}`,children:["contact1","contact2","contact3","contact4"].map(o=>t(_n,{field:o,placeholder:e("contact_field"),onChange:i=>s(o,i),initialValue:a.custom_fields[o]},o))})]}):null}function eg(){Se("custom_fields");const[e]=N(),n=`${e("custom_fields")}: ${e("products")}`,a=$e(),s=An();return a?t(Z,{title:n,children:["product1","product2","product3","product4"].map(o=>t(_n,{field:o,placeholder:e("product_field"),onChange:i=>s(o,i),initialValue:a.custom_fields[o]},o))}):null}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function tg(){const e=Lt(),n=Ae();return(a,s)=>{if(s===""){const o=ce.cloneDeep(e);return o&&delete o.custom_fields[a],n(La({object:"company",data:o}))}n(Ge({object:"company",property:`custom_fields.${a}`,value:s}))}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ng(){const e=Ae(),n=we();return a=>{switch(a){case 0:e(Ge({object:"company",property:"custom_surcharge_taxes1",value:!(n!=null&&n.custom_surcharge_taxes1)}));break;case 1:e(Ge({object:"company",property:"custom_surcharge_taxes2",value:!(n!=null&&n.custom_surcharge_taxes2)}));break;case 2:e(Ge({object:"company",property:"custom_surcharge_taxes3",value:!(n!=null&&n.custom_surcharge_taxes3)}));break;case 3:e(Ge({object:"company",property:"custom_surcharge_taxes4",value:!(n!=null&&n.custom_surcharge_taxes4)}));break}}}function ag(){const[e]=N(),n=yi(),a=$e(),s=An(),o=tg(),i=c=>{switch(c){case 0:return a==null?void 0:a.custom_surcharge_taxes1;case 1:return a==null?void 0:a.custom_surcharge_taxes2;case 2:return a==null?void 0:a.custom_surcharge_taxes3;case 3:return a==null?void 0:a.custom_surcharge_taxes4}},r=ng();return a?f(Z,{title:`${e("custom_fields")}: ${e("invoices")}`,children:[["invoice1","invoice2","invoice3","invoice4"].map(c=>t(_n,{field:c,placeholder:e("invoice_field"),onChange:l=>s(c,l),initialValue:a.custom_fields[c]},c)),t(ye,{}),a&&["surcharge1","surcharge2","surcharge3","surcharge4"].map((c,l)=>t(x,{leftSide:t(q,{id:c,value:a.custom_fields[c],placeholder:e("surcharge_field"),onValueChange:_=>o(c,_),disabled:n}),children:t(B,{label:e("charge_taxes"),checked:i(l),onChange:()=>r(l)})},l))]}):null}function sg(){Se("custom_fields");const[e]=N(),n=`${e("custom_fields")}: ${e("payments")}`,a=$e(),s=An();return a?t(Z,{title:n,children:["payment1","payment2","payment3","payment4"].map(o=>t(_n,{field:o,placeholder:e("payment_field"),onChange:i=>s(o,i),initialValue:a.custom_fields[o]},o))}):null}function og(){Se("custom_fields");const[e]=N(),n=`${e("custom_fields")}: ${e("projects")}`,a=$e(),s=An();return a?t(Z,{title:n,children:["project1","project2","project3","project4"].map(o=>t(_n,{field:o,placeholder:e("project_field"),onChange:i=>s(o,i),initialValue:a.custom_fields[o]},o))}):null}function ig(){Se("custom_fields");const[e]=N(),n=`${e("custom_fields")}: ${e("tasks")}`,a=$e(),s=An();return a?t(Z,{title:n,children:["task1","task2","task3","task4"].map(o=>t(_n,{field:o,placeholder:e("task_field"),onChange:i=>s(o,i),initialValue:a.custom_fields[o]},o))}):null}function rg(){Se("custom_fields");const[e]=N(),n=`${e("custom_fields")}: ${e("vendors")}`,a=$e(),s=An();return a?f(F,{children:[t(Z,{title:n,children:["vendor1","vendor2","vendor3","vendor4"].map(o=>t(_n,{field:o,placeholder:e("vendor_field"),onChange:i=>s(o,i),initialValue:a.custom_fields[o]},o))}),t(Z,{title:`${e("custom_fields")}: ${e("contacts")}`,children:["vendor_contact1","vendor_contact2","vendor_contact3","vendor_contact4"].map(o=>t(_n,{field:o,placeholder:e("contact_field"),onChange:i=>s(o,i),initialValue:a.custom_fields[o]},o))})]}):null}function cg(){Se("custom_fields");const[e]=N(),n=`${e("custom_fields")}: ${e("expenses")}`,a=$e(),s=An();return a?t(Z,{title:n,children:["expense1","expense2","expense3","expense4"].map(o=>t(_n,{field:o,placeholder:e("expense_field"),onChange:i=>s(o,i),initialValue:a.custom_fields[o]},o))}):null}function lg(){Se("custom_fields");const[e]=N(),n=`${e("custom_fields")}: ${e("users")}`,a=$e(),s=An();return a?t(Z,{title:n,children:["user1","user2","user3","user4"].map(o=>t(_n,{field:o,placeholder:e("user_field"),onChange:i=>s(o,i),initialValue:a.custom_fields[o]},o))}):null}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Yn(){return!vn()&&!Ct()&&It()}function Fn(e){const[n]=N(),a=bt();return t(F,{children:t("div",{className:e.className,children:t(it,{className:"mb-4",type:"warning",disableClosing:!0,children:f("div",{className:"flex items-center",children:[t(Ja,{className:"mr-2",fontSize:20}),e.message?e.message:n("start_free_trial_message"),(a==null?void 0:a.company_user)&&t(Pe,{className:"ml-10",external:!0,to:a.company_user.ninja_portal_url,children:n("plan_change")})]})})})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function dg(){const{t:e}=N();return[{name:e("settings"),href:U("/settings/generated_numbers")},{name:e("clients"),href:U("/settings/generated_numbers/clients")},{name:e("invoices"),href:U("/settings/generated_numbers/invoices")},{name:e("recurring_invoices"),href:U("/settings/generated_numbers/recurring_invoices")},{name:e("payments"),href:U("/settings/generated_numbers/payments")},{name:e("quotes"),href:U("/settings/generated_numbers/quotes")},{name:e("credits"),href:U("/settings/generated_numbers/credits")},{name:e("projects"),href:U("/settings/generated_numbers/projects")},{name:e("tasks"),href:U("/settings/generated_numbers/tasks")},{name:e("vendors"),href:U("/settings/generated_numbers/vendors")},{name:e("purchase_orders"),href:U("/settings/generated_numbers/purchase_orders")},{name:e("expenses"),href:U("/settings/generated_numbers/expenses")},{name:e("recurring_expenses"),href:U("/settings/generated_numbers/recurring_expenses")}]}function _g(){Se("generated_numbers");const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("generated_numbers"),href:"/settings/generated_numbers"}];Lt();const a=dg(),s=Ht(),o=mn(),i=Yn();return f(Ve,{title:e("generated_numbers"),docsLink:"en/advanced-settings/#generated_numbers",breadcrumbs:n,onSaveClick:s,onCancelClick:o,disableSaveButton:i,children:[t(wa,{tabs:a,className:"mt-6"}),i&&t(Fn,{}),t("div",{className:"my-4",children:t(on,{})})]})}function Nn(){const[e]=N();return t(Pe,{className:"pl-6",to:"https://invoiceninja.github.io/en/custom-fields/#custom-fields",external:!0,children:e("click_to_variables")})}function ug(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("clients"),children:[t(x,{leftSide:t(K,{propertyKey:"client_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.client_number_pattern)||"",onValueChange:d=>r("settings.client_number_pattern",d),disabled:o("client_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.client_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"client_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.client_number_counter)||"",onValueChange:d=>r("settings.client_number_counter",parseFloat(d)||0),disabled:o("client_number_counter"),errorMessage:i==null?void 0:i.errors["settings.client_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}function mg(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("invoices"),children:[t(x,{leftSide:t(K,{propertyKey:"invoice_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.invoice_number_pattern)||"",onValueChange:d=>r("settings.invoice_number_pattern",d),disabled:o("invoice_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.invoice_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"invoice_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.invoice_number_counter)||"",onValueChange:d=>r("settings.invoice_number_counter",parseFloat(d)||0),disabled:o("invoice_number_counter"),errorMessage:i==null?void 0:i.errors["settings.invoice_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}function pg(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("recurring_invoices"),children:[t(x,{leftSide:t(K,{propertyKey:"recurring_invoice_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.recurring_invoice_number_pattern)||"",onValueChange:d=>r("settings.recurring_invoice_number_pattern",d),disabled:o("recurring_invoice_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.recurring_invoice_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"recurring_invoice_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.recurring_invoice_number_counter)||"",onValueChange:d=>r("settings.recurring_invoice_number_counter",parseFloat(d)||0),disabled:o("recurring_invoice_number_counter"),errorMessage:i==null?void 0:i.errors["settings.recurring_invoice_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}function hg(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("payments"),children:[t(x,{leftSide:t(K,{propertyKey:"payment_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.payment_number_pattern)||"",onValueChange:d=>r("settings.payment_number_pattern",d),disabled:o("payment_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.payment_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"payment_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.payment_number_counter)||"",onValueChange:d=>r("settings.payment_number_counter",parseFloat(d)||0),disabled:o("payment_number_counter"),errorMessage:i==null?void 0:i.errors["settings.payment_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}function fg(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("quotes"),children:[t(x,{leftSide:t(K,{propertyKey:"quote_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.quote_number_pattern)||"",onValueChange:d=>r("settings.quote_number_pattern",d),disabled:o("quote_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.quote_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"quote_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.quote_number_counter)||"",onValueChange:d=>r("settings.quote_number_counter",parseFloat(d)||0),disabled:o("quote_number_counter"),errorMessage:i==null?void 0:i.errors["settings.quote_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}function gg(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("credits"),children:[t(x,{leftSide:t(K,{propertyKey:"credit_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.credit_number_pattern)||"",onValueChange:d=>r("settings.credit_number_pattern",d),disabled:o("credit_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.credit_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"credit_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.credit_number_counter)||"",onValueChange:d=>r("settings.credit_number_counter",parseFloat(d)||0),disabled:o("credit_number_counter"),errorMessage:i==null?void 0:i.errors["settings.credit_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}function vg(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("projects"),children:[t(x,{leftSide:t(K,{propertyKey:"project_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.project_number_pattern)||"",onValueChange:d=>r("settings.project_number_pattern",d),disabled:o("project_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.project_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"project_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.project_number_counter)||"",onValueChange:d=>r("settings.project_number_counter",parseFloat(d)||0),disabled:o("project_number_counter"),errorMessage:i==null?void 0:i.errors["settings.project_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}function yg(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("tasks"),children:[t(x,{leftSide:t(K,{propertyKey:"task_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.task_number_pattern)||"",onValueChange:d=>r("settings.task_number_pattern",d),disabled:o("task_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.task_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"task_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.task_number_counter)||"",onValueChange:d=>r("settings.task_number_counter",parseFloat(d)||0),disabled:o("task_number_counter"),errorMessage:i==null?void 0:i.errors["settings.task_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}function bg(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("vendors"),children:[t(x,{leftSide:t(K,{propertyKey:"vendor_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.vendor_number_pattern)||"",onValueChange:d=>r("settings.vendor_number_pattern",d),disabled:o("vendor_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.vendor_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"vendor_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.vendor_number_counter)||"",onValueChange:d=>r("settings.vendor_number_counter",parseFloat(d)||0),disabled:o("vendor_number_counter"),errorMessage:i==null?void 0:i.errors["settings.vendor_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}function wg(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("purchase_orders"),children:[t(x,{leftSide:t(K,{propertyKey:"purchase_order_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.purchase_order_number_pattern)||"",onValueChange:d=>r("settings.purchase_order_number_pattern",d),disabled:o("purchase_order_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.purchase_order_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"purchase_order_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.purchase_order_number_counter)||"",onValueChange:d=>r("settings.purchase_order_number_counter",parseFloat(d)||0),disabled:o("purchase_order_number_counter"),errorMessage:i==null?void 0:i.errors["settings.purchase_order_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}function kg(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("expenses"),children:[t(x,{leftSide:t(K,{propertyKey:"expense_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.expense_number_pattern)||"",onValueChange:d=>r("settings.expense_number_pattern",d),disabled:o("expense_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.expense_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"expense_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.expense_number_counter)||"",onValueChange:d=>r("settings.expense_number_counter",parseFloat(d)||0),disabled:o("expense_number_counter"),errorMessage:i==null?void 0:i.errors["settings.expense_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}function xg(){var l,_;const[e]=N(),[n,a]=g.useState(""),s=$e(),o=ht(),i=De(ct),r=Ze(),c=["{$counter}","{$year}","{$date:Y-m-d}","{$user_id}","{$user_custom1}","{$user_custom2}","{$user_custom3}","{$user_custom4}"];return f(Z,{title:e("recurring_expenses"),children:[t(x,{leftSide:t(K,{propertyKey:"recurring_expense_number_pattern",labelElement:t(Q,{label:e("number_pattern")})}),children:t(q,{value:((l=s==null?void 0:s.settings)==null?void 0:l.recurring_expense_number_pattern)||"",onValueChange:d=>r("settings.recurring_expense_number_pattern",d),disabled:o("recurring_expense_number_pattern"),errorMessage:i==null?void 0:i.errors["settings.recurring_expense_number_pattern"]})}),t(x,{leftSide:t(K,{propertyKey:"recurring_expense_number_counter",labelElement:t(Q,{label:e("number_counter")})}),children:t(We,{precision:0,value:((_=s==null?void 0:s.settings)==null?void 0:_.recurring_expense_number_counter)||"",onValueChange:d=>r("settings.recurring_expense_number_counter",parseFloat(d)||0),disabled:o("recurring_expense_number_counter"),errorMessage:i==null?void 0:i.errors["settings.recurring_expense_number_counter"]})}),t(ye,{}),c.map((d,p)=>t(Nt,{onClick:()=>a(n+d),children:t(Dt,{text:d})},p)),t(ye,{}),t(Nn,{})]})}const Cg=["1","01","001","0001","00001","000001","0000001","00000001","000000001","0000000001"],Sg=["never","freq_daily","freq_weekly","freq_two_weeks","freq_four_weeks","freq_monthly","freq_two_months","freq_three_months","freq_four_months","freq_six_months","freq_annually","freq_two_years","freq_three_years"];function Eg(){var i,r,c,l,_,d,p,m;const[e]=N(),n=ht(),a=Lt(),s=Ze(),o=De(ct);return f(Z,{title:e("settings"),children:[t(x,{leftSide:t(K,{propertyKey:"counter_padding",labelElement:t(Q,{label:e("number_padding")}),defaultValue:"1"}),children:t(se,{id:"settings.counter_padding",value:((i=a==null?void 0:a.settings)==null?void 0:i.counter_padding)||"1",onValueChange:h=>s("settings.counter_padding",h),disabled:n("counter_padding"),errorMessage:o==null?void 0:o.errors["settings.counter_padding"],children:Cg.map((h,u)=>t("option",{value:u+1,children:h},u))})}),t(x,{leftSide:t(K,{propertyKey:"counter_number_applied",labelElement:t(Q,{label:e("generate_number")}),defaultValue:"when_saved"}),children:f(se,{id:"settings.counter_number_applied",value:((r=a==null?void 0:a.settings)==null?void 0:r.counter_number_applied)||"when_saved",onValueChange:h=>s("settings.counter_number_applied",h),disabled:n("counter_number_applied"),errorMessage:o==null?void 0:o.errors["settings.counter_number_applied"],children:[t("option",{value:"when_saved",children:e("when_saved")}),t("option",{value:"when_sent",children:e("when_sent")})]})}),t(x,{leftSide:t(K,{propertyKey:"recurring_number_prefix",labelElement:t(Q,{label:e("recurring_prefix")})}),children:t(q,{value:((c=a==null?void 0:a.settings)==null?void 0:c.recurring_number_prefix)||"",onValueChange:h=>s("settings.recurring_number_prefix",h),disabled:n("recurring_number_prefix"),errorMessage:o==null?void 0:o.errors["settings.recurring_number_prefix"]})}),t(x,{leftSide:t(K,{propertyKey:"shared_invoice_quote_counter",labelElement:t(Q,{label:e("shared_invoice_quote_counter")}),defaultValue:!1}),children:t(B,{onChange:h=>s("settings.shared_invoice_quote_counter",h),checked:!!((l=a==null?void 0:a.settings)!=null&&l.shared_invoice_quote_counter),disabled:n("shared_invoice_quote_counter")})}),t(x,{leftSide:t(K,{propertyKey:"shared_invoice_credit_counter",labelElement:t(Q,{label:e("shared_invoice_credit_counter")}),defaultValue:!1}),children:t(B,{onChange:h=>s("settings.shared_invoice_credit_counter",h),checked:!!((_=a==null?void 0:a.settings)!=null&&_.shared_invoice_credit_counter),disabled:n("shared_invoice_credit_counter")})}),t(x,{leftSide:t(K,{propertyKey:"reset_counter_frequency_id",labelElement:t(Q,{label:e("reset_counter")}),defaultValue:"0"}),children:t(se,{value:((d=a==null?void 0:a.settings)==null?void 0:d.reset_counter_frequency_id)||"0",onValueChange:h=>{s("settings.reset_counter_frequency_id",parseInt(h)),h==="0"&&s("settings.reset_counter_date","")},disabled:n("reset_counter_frequency_id"),errorMessage:o==null?void 0:o.errors["settings.reset_counter_frequency_id"],children:Sg.map((h,u)=>t("option",{value:u,children:e(h)},u))})}),(a==null?void 0:a.settings)&&((p=a==null?void 0:a.settings)==null?void 0:p.reset_counter_frequency_id)>0&&t(x,{leftSide:t(K,{propertyKey:"reset_counter_date",labelElement:t(Q,{label:e("next_reset")})}),children:t(q,{type:"date",value:((m=a==null?void 0:a.settings)==null?void 0:m.reset_counter_date)||"",onValueChange:h=>s("settings.reset_counter_date",h),disabled:n("reset_counter_date"),errorMessage:o==null?void 0:o.errors["settings.reset_counter_date"]})})]})}const Tg="/react/peppol-4400ca01.json";function Pg(e){const{resolvedTypes:n,resolvedUIComponents:a,onBreadCrumbIndexChange:s}=e;return f("div",{className:"flex flex-col mt-4 px-6 space-y-8",children:[t("div",{className:"flex items-center",children:n.map((o,i)=>f("div",{className:"flex items-center",children:[t("div",{className:"cursor-pointer hover:underline",onClick:()=>s(i),children:o}),i!==n.length-1&&t(L,{element:so,style:{marginLeft:6,marginRight:6}})]},o))}),Array.isArray(a)&&t("div",{children:a.find((o,i)=>a.length-1===i)})]})}function Qa(e){const{fieldKey:n,payload:a,setPayload:s,fieldType:o,label:i,helpLabel:r,isOptionalField:c,requiredField:l,invoice:_,setInvoice:d}=e,p=Ae(),m=me(),h=$e(),[u,v]=g.useState((a==null?void 0:a[n])!==void 0),[b,w]=g.useState(!1);return g.useEffect(()=>{if(u&&(a==null?void 0:a[n])===void 0){const y=o==="boolean"?!1:o==="decimal"||o==="number"?0:"";s(k=>({...k,[n]:y}))}if(!u&&(a==null?void 0:a[n])!==void 0){delete a[n];const y=n.split("|").length,k=n.split("|").filter((C,S)=>S!==y-2).join("|");if(h&&!_){const C=ce.cloneDeep(h);delete C[k.replaceAll("|",".")],p(Ge({object:"company",property:"e_invoice",value:C}))}else if(_&&d){const C=ce.cloneDeep(_);delete C[`e_invoice.${k.replaceAll("|",".")}`],d(C)}s({...a})}},[u]),g.useEffect(()=>{(a==null?void 0:a[n])!==void 0&&!b&&(v(!0),w(!0))},[a==null?void 0:a[n]]),f("div",{className:"flex items-center",children:[c&&t(an,{checked:u,onValueChange:(y,k)=>v(!!k)}),t("div",{className:oe({"opacity-75":!u&&c,"cursor-pointer":c}),onClick:()=>c&&v(y=>!y),children:f("div",{className:"flex flex-col text-sm",children:[f("span",{className:"font-medium",style:{color:m.$3},children:[i,l&&t("span",{className:"ml-1 text-red-600",children:"*"})]}),r&&t("span",{className:"text-xs",dangerouslySetInnerHTML:{__html:r},style:{color:m.$3,opacity:.8}})]})})]})}function Ag(e){const{errors:n}=e,a=s=>{const o=s.split("|").length,i=s.split("|").filter((_,d)=>d<o-2).join("|"),r=i.split("|").length;let c="",l="";return l=i.split("|")[r-1],r>1?(c=i.split("|")[r-2],`(${c}, ${l})`):r>0?`(${l})`:null};return t(it,{className:"mb-6",type:"danger",children:t("ul",{children:Object.keys(e.errors.errors).map((s,o)=>t("li",{children:`${n.errors[s]} ${a(s)}`},o))})})}function dr(e){const{renderFragment:n,children:a,className:s}=e;return n?t(Rn.Fragment,{children:a}):t("div",{className:s,children:a})}const Ng=g.forwardRef((e,n)=>{const[a]=N(),s=zt(),o=me(),{standard:i="peppol",entityLevel:r,currentEInvoice:c,invoice:l,setInvoice:_}=e,{isCompanySettingsActive:d,isClientSettingsActive:p}=lt(),[m,h]=g.useState([]),[u,v]=g.useState(),[b,w]=g.useState(!0),[y,k]=g.useState({}),[C,S]=g.useState(),[E,I]=g.useState(),[H,z]=g.useState({});let j=[];const[W,ee]=g.useState({}),[V,O]=g.useState([]),[Y,le]=g.useState([]),[ne,Le]=g.useState([]),[ze,G]=g.useState([]),[ge,qe]=g.useState([]),[Pt,Tt]=g.useState(!1),[pe,vt]=g.useState([]),_e=R=>R==null?void 0:R.split("Type")[0],Ee=(R,X)=>{ee(ae=>({...ae,[R]:X}))},Ne=R=>{var ae;const X=R.split("|").length;if(X>1){const he=hn(R),re=R.split("|")[X-(he?4:2)],ue=R.split("|")[X-1],Te=y[re];if(Te&&ue)return(ae=Te==null?void 0:Te.choices)==null?void 0:ae.some(be=>be.some(He=>He===ue))}return!1},Ue=R=>!!ge.find(X=>X===R),mt=(R,X,ae)=>{if(!Na(X))return!1;if(Ne(R))return Ue(R);if(ae)return!0;const re=Kt(R),ue=!Wt(R),Te=Bn(R);return re||ue||Te},Gt=(R,X)=>{const ae=ze.find(({key:he})=>he===R);if(ae||X){qe(Te=>Te.filter(be=>!be.startsWith(R)));const he=hn(R),re=R.split("|").filter((Te,be)=>be!==R.split("|").length-(he?2:1)).join("|"),ue=ce.cloneDeep(W);if(Object.keys(ue).forEach(Te=>{Te.startsWith(re)&&delete ue[Te]}),ee(ue),X){const Te=Y.find(be=>be.key===R);Te&&Le(be=>[...be,Te])}else ae&&O(Te=>[...Te,ae])}},Wt=(R,X)=>(X??(b?j:ze)).some(he=>{const re=he.key.split("|").length;return he.key.split("|").filter((Te,be)=>be!==re-1).join("|").split("|").every((Te,be)=>Te===R.split("|")[be])}),Bn=R=>Y.some(X=>{const ae=X.key.split("|").length;return X.key.split("|").filter((re,ue)=>ue!==ae-1&&ue!==ae-2).join("|").split("|").every((re,ue)=>re===R.split("|")[ue])}),Kt=R=>pe.some(X=>{const ae=X.split("|").length;return X.split("|").filter((re,ue)=>ue!==ae-1).join("|").split("|").every((re,ue)=>re===R.split("|")[ue])}),Jt=R=>R.replace(/([a-z])([A-Z])/g,"$1 $2").trim(),ms=(R,X,ae)=>{let he="";const re=`${X}|${R.name}`,ue=m.find(be=>be.key===R.name);ue?he=ue.label:he=Jt(R.name);const Te=Wt(re);if(!mt(re,R.visibility,ae))return null;if(W[re]===void 0){const be=re.split("|").length,He=re.split("|").filter((Ot,nn)=>nn!==be-2).join("|").replaceAll("|","."),Ke=ce.get(c,He),_t=R.base_type==="boolean"?!1:R.base_type==="decimal"||R.base_type==="number"?0:"";(Ke||H[re.split("|")[be-1]]||!Te)&&!Ne(re)&&ee(Ot=>({...Ot,[re]:Ke||H[re.split("|")[be-1]]||_t})),Ne(re)}return typeof R.resource=="object"&&R.resource!==null&&Object.keys(R.resource).length?t(x,{leftSide:t(Qa,{fieldKey:re,fieldType:"string",payload:W,setPayload:ee,label:he,helpLabel:R.help,isOptionalField:Te,requiredField:!!(ue!=null&&ue.required),invoice:l,setInvoice:_}),noExternalPadding:!0,children:t(se,{value:W[re]||"",onValueChange:be=>Ee(re,be),disabled:W[re]===void 0,withBlank:!0,children:Object.entries(R.resource).map(([be,He])=>t("option",{value:be,children:He||be},be))})},re):R.base_type==="decimal"||R.base_type==="number"?t(x,{leftSide:t(Qa,{fieldKey:re,fieldType:"number",payload:W,setPayload:ee,label:he,helpLabel:R.help,isOptionalField:Te,requiredField:!!(ue!=null&&ue.required),invoice:l,setInvoice:_}),noExternalPadding:!0,children:t(We,{value:W[re]||0,onValueChange:be=>{var He,Ke;return Ee(re,parseFloat(be).toFixed((Ke=(He=be.split("."))==null?void 0:He[1])==null?void 0:Ke.length))},disabled:W[re]===void 0})},re):R.base_type==="date"?t(x,{leftSide:t(Qa,{fieldKey:re,fieldType:"date",payload:W,setPayload:ee,label:he,helpLabel:R.help,isOptionalField:Te,requiredField:!!(ue!=null&&ue.required),invoice:l,setInvoice:_}),noExternalPadding:!0,children:t(q,{type:"date",value:W[re]||"",onValueChange:be=>Ee(re,be),disabled:W[re]===void 0})},re):R.base_type==="boolean"?t(x,{leftSide:t(Qa,{fieldKey:re,fieldType:"boolean",payload:W,setPayload:ee,label:he,helpLabel:R.help,isOptionalField:Te,requiredField:!!(ue!=null&&ue.required),invoice:l,setInvoice:_}),noExternalPadding:!0,children:t(B,{checked:!!W[re]||!1,onValueChange:be=>Ee(re,be),disabled:W[re]===void 0})},re):R.base_type==="time"?t(x,{leftSide:t(Qa,{fieldKey:re,fieldType:"time",payload:W,setPayload:ee,label:he,helpLabel:R.help,isOptionalField:Te,requiredField:!!(ue!=null&&ue.required),invoice:l,setInvoice:_}),noExternalPadding:!0,children:t(q,{type:"time",value:W[re]||"",onValueChange:be=>Ee(re,be),disabled:W[re]===void 0})},re):R.base_type!==null?t(x,{leftSide:t(Qa,{fieldKey:re,fieldType:R.base_type,payload:W,setPayload:ee,label:he,helpLabel:R.help,isOptionalField:Te,requiredField:!!(ue!=null&&ue.required),invoice:l,setInvoice:_}),noExternalPadding:!0,children:t(q,{value:W[re]||"",onValueChange:be=>Ee(re,be),disabled:W[re]===void 0})},re):null},Na=R=>{const X=d&&s.pathname.startsWith("/settings");return!(R===0||R===1&&!X||R===2&&!p||R===4&&!r||R===3&&!p&&!X||R===5&&!r&&!X||R===6&&!r&&!p)},ps=R=>{const X=R.split("|").length;let ae="",he="";return X>2&&(ae=R.split("|")[X-3],he=R.split("|")[X-2]),X>3&&(ae=R.split("|")[X-4]),X>2||X>3?`${a("Choices")} (${_e(ae)}, ${he})`:X>1?(he=R.split("|")[X-2],`${a("Choices")} (${he})`):a("Choices")},dt=R=>Object.values(R.elements).some(X=>Na(X.visibility)),Ga=R=>{const X=ge.find(ae=>ae.startsWith(R));if(X){const ae=X.split("|").length;return X.split("|")[ae-1]}return""},hs=(R,X,ae,he,re,ue)=>{var Ot,nn;const Te=`${ae}|${R.type}`,be=b?j:V,He=ze.some(nt=>Te===nt.key),Ke=Y.some(nt=>Te===nt.key),_t=!be.some(nt=>Te===nt.key)&&He||Ke;return t(dr,{className:"flex items-center space-x-4",renderFragment:!_t,children:f(dr,{className:"flex flex-1 flex-col",renderFragment:!_t,children:[(_t||he)&&!!((Ot=R.choices)!=null&&Ot.length)&&t(x,{leftSide:ps(Te),noExternalPadding:!0,children:t(se,{value:Ga(Te),onValueChange:nt=>{qe(Bt=>{const Ia=Bt.filter(ca=>!ca.startsWith(Te));if(!nt){const ca=Bt.find(Xn=>Xn.startsWith(Te));ca&&ee(Xn=>({...Xn,[ca]:typeof Xn[ca]=="number"?0:typeof Xn[ca]=="boolean"?!1:""}))}return[...Ia,...nt?[`${Te}|${nt}`]:[]]})},withBlank:!0,children:(nn=R.choices)==null?void 0:nn.map(nt=>nt.map(Bt=>t("option",{value:Bt,children:Bt},Bt)))})},`${Te}ChoiceSelector`),!!Object.keys(R.elements).length&&Object.values(R.elements).map(nt=>{var Bt;if((Bt=nt.base_type)!=null&&Bt.endsWith("Type")){const Ia=Object.values(y).filter((Da,Yt)=>X!==Yt),ca=Ia.findIndex(Da=>(Da==null?void 0:Da.type)===nt.base_type),Xn=Ia[ca];if(Xn){const Da=Na(nt.visibility),Yt=`${ae}|${nt.name}|${Xn.type}`,Ui=dt(Xn),Hi=b?j:ze;if(nt.min_occurs===0&&Ui&&Da&&!Wt(Yt,Hi)){const Jn=Yt.split("|").length,$a=Yt.split("|")[Jn-3],Ki=$a?`${Jt(nt.name)} (${Jt($a)})`:Jt(nt.name);j.push({key:Yt,label:Ki,multiSelection:nt.max_occurs===-1})}const id=Kt(Yt),rd=!Wt(Yt,V),cd=Bn(Yt),Gi=Hi.find(zn=>zn.key===Yt),ld=Da&&(he&&!Gi||rd||cd||id),bs=nt.max_occurs===-1&&!ue,Wi=bs?Y.filter(zn=>{const Jn=zn.key.split("|").length;return zn.key.split("|").filter((Ki,dd)=>dd!==Jn-1).join("|")===Yt}).map(()=>nt):[nt];return t(F,{children:ld&&Ui&&t(F,{children:Wi.map((zn,Jn)=>(!ne.some($a=>$a.key===`${Yt}|${Jn}`)||!bs)&&f("div",{className:"flex items-center space-x-4 mt-1",children:[f("div",{className:"flex flex-1 items-center py-2 border-b border-t justify-between",style:{borderColor:o.$5},children:[f("div",{className:"flex flex-col space-y-1",children:[t("span",{className:"text-sm",children:Wi.length===1?Jt(zn.name):`${Jt(zn.name)} (${Jn+1})`}),zn.help&&t("span",{className:"text-xs",children:zn.help})]}),t("div",{className:"cursor-pointer",onClick:()=>vt($a=>[...$a,bs?`${Yt}|${Jn}`:Yt]),children:t(L,{element:$r,size:27})})]}),Gi&&t("div",{className:"cursor-pointer",onClick:()=>Gt(bs?`${Yt}|${Jn}`:Yt,bs),children:t(L,{element:kt,size:28})})]},`${Yt}${Jn}`))})})}}else return ms(nt,Te,he)})]})},Te)},In=(R,X,ae)=>{var he;return{...R,errors:{...R.errors,[X]:[...R.errors[X]?R.errors[X]:[],(he=R.errors[X])!=null&&he.length?`
 ${ae}`:ae]}}},hn=R=>/\d/.test(R),Wa=(R,X="")=>ce.flatMapDeep(ce.keys(R),ae=>{const he=R[ae],re=X?`${X}.${ae}`:ae;return ce.isObject(he)?Wa(he,re):re}),fs=(R,X="")=>Wa(R,X),gs=()=>{let R={errors:{},message:""};if(Object.entries(W).forEach(([X,ae])=>{var He;const he=hn(X),re=X.split("|").length,ue=X.split("|")[re-1],Te=X.split("|")[re-(he?4:2)];let be;if(Object.values(y).forEach(Ke=>{Ke&&!be&&Te===Ke.type&&(be=Object.values((Ke==null?void 0:Ke.elements)||{}).find(({name:_t})=>_t===ue))}),be){let Ke;Object.values(y).forEach(Ot=>{Ke||(Ke=Object.values((Ot==null?void 0:Ot.elements)||{}).find(({name:nn})=>nn===ue))});const _t=(He=m.find(Ot=>Ot.key===ue))==null?void 0:He.required;if(Ke){const{pattern:Ot,length:nn,min_length:nt,max_length:Bt}=Ke;if(_t&&!ae&&(R=In(R,X,`${X} is required field!`)),nn&&((ae==null?void 0:ae.toString().length)<nn||(ae==null?void 0:ae.toString().length)>nn)&&(R=In(R,X,`Value length for the ${ue} field must be ${nn}!`)),Ot)try{new RegExp(Ot).test(ae.toString())===!1&&(R=In(R,X,`${ue} has wrong pattern, the correct pattern is ${new G_(Ot).gen()} (example)!`))}catch(Ia){console.error(Ia)}nt&&!Bt&&(ae==null?void 0:ae.toString().length)<nt&&(R=In(R,X,`Min length for ${ue} field is ${nt}!`)),Bt&&!nt&&(ae==null?void 0:ae.toString().length)>Bt&&(R=In(R,X,`Max length for ${ue} field is ${Bt}!`)),Bt&&nt&&(((ae==null?void 0:ae.toString().length)>Bt||(ae==null?void 0:ae.toString().length)<nt)&&Bt!==nt?R=In(R,X,`Length for ${ue} field should be between ${nt} and ${Bt}!`):((ae==null?void 0:ae.toString().length)>Bt||(ae==null?void 0:ae.toString().length)<nt)&&(R=In(R,X,`Length for ${ue} field should be ${nt}!`)))}}}),Object.keys(R.errors).length)return v(R),R;v(void 0)},Ka=()=>{const R={};return Object.entries(W).forEach(([X,ae])=>{const he=X.split("|").length,re=X.split("|")[he-1],ue=X.split("|")[he-2];let Te;if(Object.values(y).forEach(be=>{be&&!Te&&ue===be.type&&(Te=Object.values((be==null?void 0:be.elements)||{}).find(({name:He})=>He===re))}),W[X]!==void 0){const be=X.split("|").filter(He=>!He.endsWith("Type")).join("|");ce.set(R,be.replaceAll("|","."),ae)}}),R},vs=()=>pe.map(R=>{const X=R.split("|").length,ae=R.slice(-1),he=/\d/.test(ae),re=R.split("|")[X-(he?3:2)];return he?`${re} (${Number(ae)+1})`:re}),Bs=()=>{if(v(void 0),gs()===void 0)return Ka()},ys=async(R,X,ae,he)=>Object.keys(R).length?Object.entries(R).map(([ue,Te],be)=>{const He=Object.values(R).filter((Ke,_t)=>_t<be).some(Ke=>Object.values((Ke==null?void 0:Ke.elements)||{}).some(_t=>_t.base_type===(Te==null?void 0:Te.type)));if(be===0||!He)return Te&&hs(Te,be,ae||_e(ue)||"",X??!0,!!ae,!!he)}).filter(ue=>ue):t(F,{});return g.useEffect(()=>{i?fetch(new URL(Object.assign({"/src/resources/e-invoice/peppol/peppol.json":Tg})[`/src/resources/e-invoice/${i}/${i}.json`],self.location).href).then(R=>R.json()).then(R=>{w(!0),S(void 0),h(R.rules),O([]),G([]),k(R.components),z(R.defaultFields),v(void 0),qe([]),j=[]}):(h([]),k({}),v(void 0),S(void 0),w(!0),z({}),O([]),G([]),qe([]),j=[])},[i]),g.useEffect(()=>{Object.keys(y).length&&(async()=>{Tt(!0);const R=await ys(y);b&&w(!1),S(R),b&&(G([...j]),O([...j])),Tt(!1)})()},[y,V,u,W,ge,pe,Y,ne]),g.useEffect(()=>{Object.keys(y).length&&pe.length&&(async()=>{const R=await Promise.all(pe.map(async X=>{const ae=X.slice(-1),he=/\d/.test(ae),re=hn(X),ue=X.split("|").length,Te=X.split("|")[ue-(he?2:1)],be=y[Te];let He=X.split("|").filter((Ke,_t)=>_t<ue-(re?0:1)).join("|");return re&&(He=He.split("|").filter(Ke=>!Ke.endsWith("Type")).join("|")),await ys({[Te]:be},!1,He,re)}));I(R)})()},[u,W,ge,pe]),g.useEffect(()=>{b||v(void 0)},[W,V,pe,ge,Y]),g.useEffect(()=>{c&&V.length&&ze.forEach(R=>{const X=R.key.split("|").filter(he=>!he.endsWith("Type")).join("|"),ae=ce.get(c,X.replaceAll("|","."));ae&&fs(c).forEach(re=>{let ue=re.split(".").join("|");const Te=ue.split("|").length,be=ue.split("|")[Te-2],He=ue.split("|")[Te-(/\d/.test(be)?3:2)];let Ke="";if(Object.values(y).forEach(_t=>{if(_t&&!Ke){const Ot=Object.values(_t.elements).find(nn=>nn.name===He);Ot&&(Ke=Ot.base_type)}}),Ke){const _t=ue.split("|");ue=[..._t.slice(0,Te-1),Ke,..._t.slice(Te-1)].join("|");const Ot=ce.get(c,re);ee(nn=>({...nn,[ue]:Ot}))}}),ae&&(R.multiSelection?Array.isArray(ae)&&ae.forEach((he,re)=>{const ue=Y.some(be=>be.key===`${R.key}|${re}`),Te=ne.some(be=>be.key===`${R.key}|${re}`);ue||le(be=>[...be,{...R,key:`${R.key}|${re}`}]),!Te&&!he&&Le(be=>[...be,{...R,key:`${R.key}|${re}`}])}):O(he=>he.filter(re=>re.key!==R.key)))})},[c,ze]),g.useImperativeHandle(n,()=>({saveEInvoice(){return Bs()}}),[W]),f("div",{className:"flex flex-col mt-5",children:[t("div",{className:"flex px-6",children:u&&t(Ag,{errors:u})}),t("div",{children:pe.length?t(F,{children:C&&E&&t(Pg,{resolvedTypes:[a("general"),...vs()],resolvedUIComponents:[C,...E],onBreadCrumbIndexChange:R=>vt(R?X=>X.filter((ae,he)=>he<R):[])})}):f(F,{children:[!!C&&t(x,{leftSide:a("fields"),children:t(sa,{value:"",onValueChange:R=>{const X=ze.find(ae=>ae.key===R);if(X&&X.multiSelection){const ae=Y.filter(re=>{const ue=re.key.split("|").length;return re.key.split("|").filter((be,He)=>He!==ue-1).join("|")===R}).length,he=ne.find(re=>re.key.startsWith(R));he?Le(re=>re.filter(ue=>ue.key!==he.key)):le(re=>[...re,{...X,key:`${X.key}|${ae}`}])}else O(ae=>ae.filter(he=>he.key!==R))},clearAfterSelection:!0,children:V.sort((R,X)=>R.label.localeCompare(X.label)).map(({key:R,label:X},ae)=>t("option",{value:R,children:X},ae))})}),Pt?t(st,{}):t("div",{className:"mt-4 px-6",children:C??null})]})})]})});function Ig(){const[e]=N(),n={}.VITE_ENABLE_PEPPOL_STANDARD==="true",a=g.useRef(null),s=[{name:e("settings"),href:"/settings"},{name:e("e_invoice"),href:"/settings/e_invoice"}],o=Ae(),i=Ht(),r=ht(),c=Ze(),{isCompanySettingsActive:l}=lt(),_=Lt(),d=Yn(),[p,m]=tt(ct),[h,u]=g.useState(new FormData),[v,b]=g.useState(!1),w=On({enableReinitialize:!0,initialValues:h,onSubmit:()=>{T.processing(),m(void 0),$("POST",D("/api/v1/companies/:id",{id:_==null?void 0:_.id}),h,{headers:{"Content-Type":"multipart/form-data"}}).then(E=>{o(ba({object:"company",data:E.data.data})),T.success("uploaded_document")}).catch(E=>{var I;((I=E.response)==null?void 0:I.status)===422&&(m(E.response.data),T.dismiss())}).finally(()=>u(new FormData))}}),y=g.useCallback(E=>{if(E.length===0){T.error("invalid_file");return}h.append("e_invoice_certificate",E[0]),h.append("_method","PUT"),u(h),w.submitForm()},[h]),{getRootProps:k,getInputProps:C,isDragActive:S}=Ds({onDrop:y,multiple:!1,maxFiles:1,accept:{"application/*":[".p12",".pfx",".pem",".cer",".crt",".der",".txt",".p7b",".spc",".bin"]}});return g.useEffect(()=>{v&&(i(),b(!1))},[v]),f(Ve,{title:e("e_invoice"),docsLink:"en/advanced-settings/#e_invoice",breadcrumbs:s,onSaveClick:()=>{var E,I;(E=a==null?void 0:a.current)!=null&&E.saveEInvoice()&&c("e_invoice",(I=a==null?void 0:a.current)==null?void 0:I.saveEInvoice()),b(!0)},disableSaveButton:d,children:[d&&t(Fn,{}),f(Z,{title:e("e_invoice"),children:[t(x,{leftSide:t(K,{propertyKey:"e_invoice_type",labelElement:t(Q,{label:e("e_invoice_type")}),defaultValue:"EN16931"}),children:f(se,{value:(_==null?void 0:_.settings.e_invoice_type)||"EN16931",onValueChange:E=>c("settings.e_invoice_type",E),disabled:r("e_invoice_type"),children:[n&&t("option",{value:"PEPPOL",children:"PEPPOL"}),t("option",{value:"FACT1",children:"FACT1"}),t("option",{value:"EN16931",children:"EN16931"}),t("option",{value:"XInvoice_3_0",children:"XInvoice_3.0"}),t("option",{value:"XInvoice_2_3",children:"XInvoice_2.3"}),t("option",{value:"XInvoice_2_2",children:"XInvoice_2.2"}),t("option",{value:"XInvoice_2_1",children:"XInvoice_2.1"}),t("option",{value:"XInvoice_2_0",children:"XInvoice_2.0"}),t("option",{value:"XInvoice_1_0",children:"XInvoice_1.0"}),t("option",{value:"XInvoice-Extended",children:"XInvoice-Extended"}),t("option",{value:"XInvoice-BasicWL",children:"XInvoice-BasicWL"}),t("option",{value:"XInvoice-Basic",children:"XInvoice-Basic"}),t("option",{value:"Facturae_3.2.2",children:"Facturae_3.2.2"}),t("option",{value:"Facturae_3.2.1",children:"Facturae_3.2.1"}),t("option",{value:"Facturae_3.2",children:"Facturae_3.2"}),t("option",{value:"FatturaPA",children:"FatturaPA"})]})}),(_==null?void 0:_.settings.e_invoice_type)==="PEPPOL"&&n?t(Ng,{ref:a,currentEInvoice:(_==null?void 0:_.e_invoice)||{}}):f(F,{children:[t(x,{leftSide:t(K,{propertyKey:"enable_e_invoice",labelElement:t(Q,{label:e("enable_e_invoice")})}),children:t(B,{checked:!!(_!=null&&_.settings.enable_e_invoice),onValueChange:E=>c("settings.enable_e_invoice",E),disabled:r("enable_e_invoice")})}),_!=null&&_.settings.enable_e_invoice?f(F,{children:[t(x,{leftSide:t(K,{propertyKey:"merge_e_invoice_to_pdf",labelElement:t(Q,{label:e("merge_e_invoice_to_pdf")})}),children:t(B,{checked:!!(_!=null&&_.settings.merge_e_invoice_to_pdf),onValueChange:E=>c("settings.merge_e_invoice_to_pdf",E),disabled:r("merge_e_invoice_to_pdf")})}),l&&t(x,{leftSide:e("upload_certificate"),leftSideHelp:_!=null&&_.has_e_invoice_certificate?e("certificate_set"):e("certificate_not_set"),children:t("div",{...k(),className:"flex flex-col md:flex-row md:items-center",children:f("div",{className:"relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",children:[t("input",{...C()}),t(qa,{className:"mx-auto h-12 w-12 text-gray-400"}),t("span",{className:"mt-2 block text-sm font-medium text-gray-900",children:S?"drop_your_logo_here":e("dropzone_default_message")})]})})}),l&&t(x,{leftSide:e("certificate_passphrase"),leftSideHelp:_!=null&&_.has_e_invoice_certificate_passphrase?e("passphrase_set"):e("passphrase_not_set"),children:t(q,{value:"",id:"password",type:"password",onValueChange:E=>c("has_e_invoice_certificate_passphrase",E),errorMessage:p==null?void 0:p.errors.has_e_invoice_certificate_passphrase})}),t(x,{leftSide:t(K,{propertyKey:"e_quote_type",labelElement:t(Q,{label:e("e_quote_type")}),defaultValue:"OrderX_Comfort"}),children:f(se,{value:(_==null?void 0:_.settings.e_quote_type)||"OrderX_Comfort",onValueChange:E=>c("settings.e_quote_type",E),disabled:r("e_quote_type"),children:[t("option",{value:"OrderX_Comfort",children:"OrderX_Comfort"}),t("option",{value:"OrderX_Basic",children:"OrderX_Basic"}),t("option",{value:"OrderX_Extended",children:"OrderX_Extended"})]})})]}):null]})]})]})}const Dg=St(Dn.Option)`
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`,jc=St.button`
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`,$g=St.li`
  background-color: ${e=>e.theme.backgroundColor};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`;function Rg({inputOptions:e,entries:n,readonly:a,nullable:s,initiallyVisible:o=!1,exclude:i=[],includeOnly:r=[],includeByLabel:c,action:l,onChange:_,onDismiss:d,entryOptions:p,errorMessage:m,clearInputAfterSelection:h,onEmptyValues:u,onFocus:v,onInputValueChange:b}){const[w,y]=g.useState(String(e.value??"")),[k,C]=g.useState(o),[S,E]=g.useState(null),[I,H]=g.useState(-1),z=g.useRef(null),j=g.useRef(null),W=g.useRef(null);let ee=w===""?n:n.filter(ne=>{var Le,ze,G,ge,qe;return((ze=(Le=ne.label)==null?void 0:Le.toLowerCase())==null?void 0:ze.includes(w==null?void 0:w.toLowerCase()))||((qe=(ge=(G=ne.value)==null?void 0:G.toString())==null?void 0:ge.toLowerCase())==null?void 0:qe.includes(w==null?void 0:w.toLowerCase()))||ne.searchable.toLowerCase().includes(w==null?void 0:w.toLowerCase())});ee=ee.filter(ne=>i.length>0?!i.includes(ne.value):!0),ee=ee.filter(ne=>r.length>0?r.includes(ne[c?"label":"value"]):!0),g.useEffect(()=>{const ne=n.findIndex(Le=>Le.value===e.value||Le.label===e.value);if(ne>=0){E(n[ne]),H(ne);return}if(s){E({id:-1,label:e.value?e.value.toString():"",value:e.value?e.value.toString():"",resource:null,eventType:"internal",searchable:p.searchable||p.value});return}},[n]);const V=ne=>{y(ne),E(null),C(!0),H(-1)},O=ne=>{S&&S.value===ne.value||(E(ne),y(ne.label),_(ne),h&&(y(""),E(null)),setTimeout(()=>C(!1),100))},Y=ne=>{if(ne.key==="ArrowDown"&&I<ee.length-1){ne.preventDefault(),H(I+1);return}if(ne.key==="ArrowUp"&&I>0){ne.preventDefault(),H(I-1);return}if(ne.key==="Enter"){if(C(!1),I>=0){O(ee[I]);return}I===-1&&s&&O({id:Date.now(),label:w,value:w,resource:null,eventType:"internal",searchable:w.toLowerCase()});return}if(ne.key==="Escape"){C(!1);return}if(ne.key==="Tab"&&s){C(!1),O({id:Date.now(),label:w,value:w,resource:null,eventType:"internal",searchable:w.toLowerCase()});return}};ta(z,()=>{if(C(!1),S&&S.value&&w===S.value||w==="")return;const ne={id:Date.now(),label:w,value:w,resource:null,eventType:"internal",searchable:w.toLowerCase()};O(ne),_(ne)}),ta(j,()=>{b==null||b(w)}),Za(()=>{if(u&&(w===""&&ee.length>0||ee.length<=3))return u(w)},600,[w,ee]),g.useEffect(()=>{const ne=document.querySelector(`[data-combobox-element-id="${I+1}"]`);ne&&ne.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},[I]);const le=me();return f("div",{ref:z,className:"w-full",tabIndex:-1,children:[e.label?t("p",{className:"text-sm font-medium block",children:e.label}):null,t("div",{className:"relative mt-1",children:f("div",{className:"relative w-full cursor-default overflow-hidden rounded border text-left sm:text-sm",style:{borderColor:le.$5},children:[t("input",{type:"text",onChange:ne=>V(ne.target.value),onKeyDown:Y,onFocus:()=>{C(!0),v&&v()},placeholder:e.placeholder,disabled:a,defaultValue:S?S.label:w==null?void 0:w.toString(),className:"w-full border-0 rounded py-1.5 pl-3 pr-10 shadow-sm sm:text-sm sm:leading-6",ref:W,style:{backgroundColor:le.$1,borderColor:le.$5,color:le.$3},"data-cy":"comboboxInput",tabIndex:-1}),!a&&t("button",{tabIndex:-1,type:"button",onClick:ne=>{if(d)return ne.preventDefault(),C(!1),d()},className:"absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none",children:d&&S?t(Ln,{className:"h-5 w-5","aria-hidden":"true","data-testid":"combobox-clear-icon",style:{color:le.$3}}):t(as,{className:"h-5 w-5","aria-hidden":"true","data-testid":"combobox-chevrondown-icon",style:{color:le.$3}})})]})}),k&&f("ul",{className:"border absolute z-10 mt-1 max-h-60 overflow-auto rounded-md py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm",style:{backgroundColor:le.$1,borderColor:le.$4},tabIndex:-1,children:[l&&l.visible&&t(jc,{theme:{hoverColor:le.$2},"data-testid":"combobox-action-button",type:"button",onClick:l.onClick,className:"min-w-[19rem] relative cursor-pointer select-none py-2 pl-3 pr-9",tabIndex:-1,style:{color:le.$3},children:l.label}),ee.map((ne,Le)=>t($g,{theme:{backgroundColor:I===Le?le.$2:le.$1},className:oe("min-w-[19rem] relative cursor-pointer select-none py-2 pl-3 pr-9 hover:font-semibold",{"font-medium":I===Le}),onClick:()=>O(ne),"data-combobox-element-id":Le,tabIndex:-1,children:ne.resource&&typeof p.dropdownLabelFn<"u"?p.dropdownLabelFn(ne.resource):ne.label},ne.id))]}),m&&t(it,{className:"mt-2",type:"danger",children:m})]})}function Fc({inputOptions:e,entries:n,readonly:a,nullable:s,initiallyVisible:o=!1,exclude:i=[],includeOnly:r=[],includeByLabel:c,action:l,onEmptyValues:_,onChange:d,onDismiss:p,entryOptions:m,errorMessage:h,clearInputAfterSelection:u,isDataLoading:v}){const[b]=N(),[w,y]=g.useState(null),[k,C]=g.useState(""),[S,E]=g.useState(o);let I=k===""?n:n.filter(ee=>{var V,O,Y,le,ne;return((O=(V=ee.label)==null?void 0:V.toLowerCase())==null?void 0:O.includes(k==null?void 0:k.toLowerCase()))||((ne=(le=(Y=ee.value)==null?void 0:Y.toString())==null?void 0:le.toLowerCase())==null?void 0:ne.includes(k==null?void 0:k.toLowerCase()))||ee.searchable.toLowerCase().includes(k==null?void 0:k.toLowerCase())});I=I.filter(ee=>i.length>0?!i.includes(ee.value):!0),I=I.filter(ee=>r.length>0?r.includes(ee[c?"label":"value"]):!0);const H=g.useRef(null),z=g.useRef(null);ta(H,()=>{E(!1)}),Za(()=>{if(_&&(k===""&&I.length>0||I.length<=3))return _(k)},600,[I]);const j=ee=>{ee&&(w&&ee.value===w.value?p&&p():y(()=>({...ee,eventType:"internal"})))};g.useEffect(()=>{w&&w.eventType==="internal"&&d(w),u&&(y(null),C("")),E(!1),z!=null&&z.current&&z.current.blur()},[w]),g.useEffect(()=>{const ee=n.find(V=>V.value===e.value||V.label===e.value);y(ee||(s?{id:-1,label:e.value?e.value.toString():"",value:e.value?e.value.toString():"",resource:null,eventType:"external",searchable:m.searchable||m.value}:null))},[n,e.value]),g.useEffect(()=>(o&&E(!0),()=>{E(!1)}),[o]);const W=me();return f("div",{className:"w-full",children:[f(Dn,{as:"div",value:w,onChange:ee=>j(ee),disabled:a,ref:H,children:[e.label&&t(Dn.Label,{className:"text-sm font-medium block",style:{color:W.$3},children:e.label}),t("div",{className:"relative mt-1",children:f("div",{className:"relative w-full cursor-default overflow-hidden rounded border text-left sm:text-sm",style:{borderColor:W.$5},children:[t(Dn.Input,{"data-testid":"combobox-input-field",ref:z,className:"w-full border-0 rounded py-1.5 pl-3 pr-10 shadow-sm sm:text-sm sm:leading-6",onChange:ee=>C(ee.target.value),displayValue:ee=>{var V;return((V=m.inputLabelFn)==null?void 0:V.call(m,ee==null?void 0:ee.resource))??((ee==null?void 0:ee.label)||k)},onClick:()=>E(!0),placeholder:e.placeholder,style:{backgroundColor:W.$1,borderColor:W.$5,color:W.$3}}),!a&&t(Dn.Button,{onClick:ee=>{if(p)return ee.preventDefault(),C(""),w&&E(!1),!w&&E(V=>!V),p();E(V=>!V)},className:"absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none",children:p&&w?t(Ln,{className:"h-5 w-5","aria-hidden":"true","data-testid":"combobox-clear-icon",style:{color:W.$3}}):t(as,{className:"h-5 w-5","aria-hidden":"true","data-testid":"combobox-chevrondown-icon",style:{color:W.$3}})})]})}),S&&f(Dn.Options,{static:!0,className:"border absolute z-10 mt-1 max-h-60 overflow-auto rounded-md py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm",style:{backgroundColor:W.$1,borderColor:W.$4},children:[l&&l.visible&&t(jc,{theme:{hoverColor:W.$2},"data-testid":"combobox-action-button",type:"button",onClick:l.onClick,className:"min-w-[19rem] relative cursor-pointer select-none py-2 pl-3 pr-9",tabIndex:-1,style:{color:W.$3},children:l.label}),!!v&&t("div",{className:"min-w-[19rem] relative cursor-default select-none py-2 pl-3 pr-9",children:t(st,{})}),!v&&!I.length&&t("div",{className:"min-w-[19rem] relative cursor-default select-none py-2 pl-3 pr-9",children:b("no_records_found")}),s&&k.length>0&&!v&&t(Dn.Option,{className:"min-w-[19rem] relative cursor-default select-none py-2 pl-3 pr-9",value:{id:-1,label:s?k:null,value:s?k:null,resource:null},children:({active:ee})=>f("span",{className:oe("block truncate space-x-1",ee&&"font-semibold"),children:[t("span",{children:b("Select")}),t("q",{className:"font-semibold",children:k})]})},"combobox-not-found"),I.length>0&&!v&&I.map(ee=>t(Dg,{theme:{hoverColor:W.$2},value:ee,className:"min-w-[19rem] relative cursor-default select-none py-2 pl-3 pr-9",style:{color:W.$3},children:({selected:V,active:O})=>f(F,{children:[t("span",{className:oe("block truncate",V&&"font-semibold",O&&"font-semibold"),children:ee.resource&&typeof m.dropdownLabelFn<"u"?m.dropdownLabelFn(ee.resource):ee.label}),V&&t("span",{className:"absolute inset-y-0 right-0 flex items-center pr-4",style:{color:W.$3},children:t(oo,{className:"h-5 w-5","aria-hidden":"true"})})]})},ee.id))]})]}),h&&t(it,{className:"mt-2",type:"danger",children:h})]})}function sn({endpoint:e,inputOptions:n,entryOptions:a,readonly:s,staleTime:o,initiallyVisible:i,sortBy:r="created_at|desc",exclude:c,includeOnly:l,includeByLabel:_,action:d,nullable:p,onChange:m,onDismiss:h,disableWithQueryParameter:u,errorMessage:v,clearInputAfterSelection:b,onInputValueChange:w}){const[y,k]=g.useState([]),[C,S]=g.useState(e),[E,I]=g.useState(!1);g.useEffect(()=>{S(e)},[e]);const H=g.useRef(void 0),z=()=>y.length?!!y.find(O=>O.value===n.value||O.label===n.value):!0,{data:j,isLoading:W}=xe([new URL(C).pathname,new URL(C).pathname+new URL(C).search],()=>$("GET",new URL(C).href).then(V=>{const O=[];return V.data.data.map(Y=>{var le;return O.push({id:Y[a.id],label:Y[a.label],value:Y[a.value],resource:Y,eventType:"external",searchable:((le=a.customSearchableValue)==null?void 0:le.call(a,Y))||Y[a.searchable||a.id]})}),O}),{staleTime:o??1/0,enabled:E});g.useEffect(()=>{if(!C.includes("/api/v1/products")&&!E){clearTimeout(H.current);const V=setTimeout(()=>I(!0),100);H.current=V}},[n.value]),g.useEffect(()=>{E&&n.value&&!u&&!z()&&S(V=>{const O=new URL(V);return n.value&&n.value.toString().length>0&&(O.searchParams.set("with",n.value.toString()),O.searchParams.get("sort")&&O.searchParams.delete("sort")),O.href}),E&&!n.value&&S(V=>{const O=new URL(V);return O.searchParams.get("with")&&O.searchParams.delete("with"),r&&O.searchParams.set("sort",r),O.href})},[y,E,n.value]),g.useEffect(()=>{j&&k([...j])},[j]),g.useEffect(()=>(S(V=>{const O=new URL(V);return r&&O.searchParams.set("sort",r),O.searchParams.set("status","active"),O.searchParams.set("filter",""),O.href}),()=>{k([]),I(!1),H.current=void 0}),[]);const ee=V=>{S(O=>{const Y=new URL(O);return Y.searchParams.set("filter",V),Y.href})};return C.includes("/api/v1/products")?t(Rg,{entries:y,inputOptions:n,readonly:s,onChange:m,onDismiss:h,initiallyVisible:i,exclude:c,includeOnly:l,includeByLabel:_,action:d,nullable:p,entryOptions:a,errorMessage:v,clearInputAfterSelection:b,isDataLoading:W,onFocus:()=>I(!0),onInputValueChange:w,onEmptyValues:ee}):t(Fc,{entries:y,inputOptions:n,readonly:s,onChange:m,onEmptyValues:ee,onDismiss:h,initiallyVisible:i,exclude:c,includeOnly:l,includeByLabel:_,action:d,nullable:p,entryOptions:a,errorMessage:v,clearInputAfterSelection:b,isDataLoading:W,onInputValueChange:w})}function Pi(e){var r;const[n]=N(),a=Ce(),s=is(),{isAdmin:o,isOwner:i}=Je();return t(sn,{inputOptions:{label:(r=e.inputLabel)==null?void 0:r.toString(),value:e.value??null},endpoint:D(e.endpoint||"/api/v1/users?status=active"),entryOptions:{id:"id",value:"id",label:"first_name",inputLabelFn:c=>c?`${c.first_name} ${c.last_name}`:"",dropdownLabelFn:c=>`${c.first_name} ${c.last_name}`},readonly:e.readonly,onDismiss:e.onClearButtonClick,action:{label:n("new_user"),onClick:()=>s({fn:()=>a("/settings/users")}),visible:(o||i)&&!e.withoutAction},onChange:c=>c.resource?e.onChange(c.resource):null,staleTime:e.staleTime||1/0})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Vg(){const[e]=N(),{isCompanySettingsActive:n}=lt(),a=!0,s=[{value:"default",label:`${e("default")} (Postmark)`,enabled:!0},{value:"mailgun",label:"Mailgun (Hosted)",enabled:!0},{value:"gmail",label:"Gmail (OAuth)",enabled:!0},{value:"office365",label:"Microsoft (OAuth)",enabled:!0},{value:"client_postmark",label:"Postmark",enabled:!0},{value:"client_mailgun",label:"Mailgun",enabled:!0},{value:"client_brevo",label:"Brevo",enabled:!0},{value:"smtp",label:"SMTP",enabled:(vn()||Ct())&&a&&n&&!ya()}];return e("default"),n&&ya(),s}function qg(){const[e]=N(),n=$e(),a=Ze(),[s,o]=g.useState(!1),i=()=>{s||(T.processing(),o(!0),$("POST",D("/api/v1/smtp/check"),{smtp_host:(n==null?void 0:n.smtp_host)||"",smtp_port:(n==null?void 0:n.smtp_port)||"",smtp_encryption:(n==null?void 0:n.smtp_encryption)||"",smtp_username:(n==null?void 0:n.smtp_username)||"",smtp_password:(n==null?void 0:n.smtp_password)||"",smtp_local_domain:(n==null?void 0:n.smtp_local_domain)||"",smtp_verify_peer:(n==null?void 0:n.smtp_verify_peer)??!0}).then(r=>T.success(r.data.message)).finally(()=>o(!1)))};return f(F,{children:[t(x,{leftSide:e("host"),leftSideHelp:e("host_help"),children:t(q,{value:(n==null?void 0:n.smtp_host)||"",onValueChange:r=>a("smtp_host",r),disabled:s})}),t(x,{leftSide:e("port"),leftSideHelp:e("port_help"),children:t(q,{value:(n==null?void 0:n.smtp_port)||"",onValueChange:r=>a("smtp_port",r),disabled:s})}),t(x,{leftSide:e("encryption"),children:f(se,{value:(n==null?void 0:n.smtp_encryption)||"",onValueChange:r=>a("smtp_encryption",r),withBlank:!0,disabled:s,children:[t("option",{value:"tls",children:"STARTTLS"}),t("option",{value:"ssl",children:"SSL/TLS"})]})}),t(x,{leftSide:e("username"),children:t(q,{value:(n==null?void 0:n.smtp_username)||"",onValueChange:r=>a("smtp_username",r),disabled:s})}),t(x,{leftSide:e("password"),children:t(q,{value:(n==null?void 0:n.smtp_password)||"",onValueChange:r=>a("smtp_password",r),disabled:s})}),t(x,{leftSide:e("local_domain"),leftSideHelp:e("local_domain_help"),children:t(q,{value:(n==null?void 0:n.smtp_local_domain)||"",onValueChange:r=>a("smtp_local_domain",r),disabled:s})}),t(x,{leftSide:e("bcc_email"),leftSideHelp:e("comma_sparated_list"),children:t(q,{value:(n==null?void 0:n.settings.bcc_email)||"",onValueChange:r=>a("settings.bcc_email",r)})}),t(x,{leftSide:e("send_time"),children:t(se,{value:(n==null?void 0:n.settings.entity_send_time)||"",onValueChange:r=>a("settings.entity_send_time",r.length>0?r:6),withBlank:!0,children:[...Array(24).keys()].map((r,c)=>t("option",{value:r+1,children:fe().startOf("day").add(r+1,"hour").format("h:ss A")},c))})}),t(x,{leftSide:e("verify_peer"),children:t(B,{checked:(n==null?void 0:n.smtp_verify_peer)??!0,onValueChange:r=>a("smtp_verify_peer",r),disabled:s})}),t(x,{pushContentToRight:!0,children:t(te,{behavior:"button",onClick:i,disableWithoutIcon:!0,disabled:s,children:e("send_test_email")})})]})}function Lg(){var d;Se("email_settings");const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("email_settings"),href:"/settings/email_settings"}],a=Vg(),s=Lt(),o=ht(),i=De(ct),r=Ze(),c=Ht(),l=mn(),_=Yn();return f(Ve,{title:e("email_settings"),docsLink:"en/advanced-settings/#email_settings",breadcrumbs:n,onSaveClick:c,onCancelClick:l,disableSaveButton:_,children:[_&&t(Fn,{}),f(Z,{title:e("settings"),children:[t(x,{leftSide:t(K,{propertyKey:"show_email_footer",labelElement:t(Q,{label:e("show_email_footer")})}),children:t(B,{checked:!!(s!=null&&s.settings.show_email_footer),onValueChange:p=>r("settings.show_email_footer",p),disabled:o("show_email_footer")})}),t(x,{leftSide:t(K,{propertyKey:"pdf_email_attachment",labelElement:t(Q,{label:e("attach_pdf")})}),children:t(B,{checked:!!(s!=null&&s.settings.pdf_email_attachment),onValueChange:p=>r("settings.pdf_email_attachment",p),disabled:o("pdf_email_attachment")})}),t(x,{leftSide:t(K,{propertyKey:"document_email_attachment",labelElement:t(Q,{label:e("attach_documents")})}),children:t(B,{checked:!!(s!=null&&s.settings.document_email_attachment),onValueChange:p=>r("settings.document_email_attachment",p),disabled:o("document_email_attachment")})}),t(x,{leftSide:t(K,{propertyKey:"ubl_email_attachment",labelElement:t(Q,{label:e("attach_ubl"),helpLabel:ci(`${e("ubl_email_attachment_help")}.`,":here",()=>t(Pe,{className:"text-xs",to:"/settings/e_invoice",children:e("here")}))})}),children:t(B,{checked:!!(s!=null&&s.settings.ubl_email_attachment),onValueChange:p=>r("settings.ubl_email_attachment",p),disabled:o("ubl_email_attachment")})}),t(ye,{}),t(x,{leftSide:t(K,{propertyKey:"email_sending_method",labelElement:t(Q,{label:e("email_provider")}),defaultValue:"default"}),children:t(se,{value:(s==null?void 0:s.settings.email_sending_method)||"default",onValueChange:p=>r("settings.email_sending_method",p),disabled:o("email_sending_method")||!vn()&&!Ct(),errorMessage:i==null?void 0:i.errors["settings.email_sending_method"],children:a.map(({value:p,label:m,enabled:h})=>h&&t("option",{value:p,children:m},p))})}),((s==null?void 0:s.settings.email_sending_method)==="office365"||(s==null?void 0:s.settings.email_sending_method)==="microsoft"||(s==null?void 0:s.settings.email_sending_method)==="gmail")&&It()&&t(x,{leftSide:t(K,{propertyKey:"gmail_sending_user_id",labelElement:t(Q,{label:`Gmail / Microsoft ${e("user")}`})}),children:t(Pi,{endpoint:"/api/v1/users?sending_users=true",value:(d=s==null?void 0:s.settings)==null?void 0:d.gmail_sending_user_id,onChange:p=>r("settings.gmail_sending_user_id",p.id),onClearButtonClick:()=>r("settings.gmail_sending_user_id","0"),readonly:o("gmail_sending_user_id"),withoutAction:!0,errorMessage:i==null?void 0:i.errors["settings.gmail_sending_user_id"]})}),(s==null?void 0:s.settings.email_sending_method)==="client_postmark"&&t(x,{leftSide:t(K,{propertyKey:"postmark_secret",labelElement:t(Q,{label:e("secret")})}),children:t(q,{value:(s==null?void 0:s.settings.postmark_secret)||"",onValueChange:p=>r("settings.postmark_secret",p),disabled:o("postmark_secret"),errorMessage:i==null?void 0:i.errors["settings.postmark_secret"]})}),(s==null?void 0:s.settings.email_sending_method)==="client_mailgun"&&f(F,{children:[t(x,{leftSide:t(K,{propertyKey:"mailgun_secret",labelElement:t(Q,{label:e("secret")})}),children:t(q,{value:(s==null?void 0:s.settings.mailgun_secret)||"",onValueChange:p=>r("settings.mailgun_secret",p),disabled:o("mailgun_secret"),errorMessage:i==null?void 0:i.errors["settings.mailgun_secret"]})}),t(x,{leftSide:t(K,{propertyKey:"mailgun_domain",labelElement:t(Q,{label:e("domain")})}),children:t(q,{value:(s==null?void 0:s.settings.mailgun_domain)||"",onValueChange:p=>r("settings.mailgun_domain",p),disabled:o("mailgun_domain"),errorMessage:i==null?void 0:i.errors["settings.mailgun_domain"]})}),t(x,{leftSide:t(K,{propertyKey:"mailgun_endpoint",labelElement:t(Q,{label:e("endpoint")}),defaultValue:"api.mailgun.net"}),children:f(se,{value:(s==null?void 0:s.settings.mailgun_endpoint)||"api.mailgun.net",onValueChange:p=>r("settings.mailgun_endpoint",p),disabled:o("mailgun_endpoint"),errorMessage:i==null?void 0:i.errors["settings.mailgun_endpoint"],children:[t("option",{value:"api.mailgun.net",defaultChecked:!0,children:"api.mailgun.net"}),t("option",{value:"api.eu.mailgun.net",children:"api.eu.mailgun.net"})]})})]}),(s==null?void 0:s.settings.email_sending_method)==="client_brevo"&&t(x,{leftSide:t(K,{propertyKey:"brevo_secret",labelElement:t(Q,{label:e("secret")})}),children:t(q,{value:(s==null?void 0:s.settings.brevo_secret)||"",onValueChange:p=>r("settings.brevo_secret",p),disabled:o("brevo_secret"),errorMessage:i==null?void 0:i.errors["settings.brevo_secret"]})}),((s==null?void 0:s.settings.email_sending_method)==="client_mailgun"||(s==null?void 0:s.settings.email_sending_method)==="client_postmark"||(s==null?void 0:s.settings.email_sending_method)==="smtp"||(s==null?void 0:s.settings.email_sending_method)==="client_brevo")&&t(x,{leftSide:t(K,{propertyKey:"custom_sending_email",labelElement:t(Q,{label:e("from_email")})}),children:t(q,{value:(s==null?void 0:s.settings.custom_sending_email)||"",onValueChange:p=>r("settings.custom_sending_email",p),disabled:o("custom_sending_email"),errorMessage:i==null?void 0:i.errors["settings.custom_sending_email"]})}),t(x,{leftSide:t(K,{propertyKey:"email_from_name",labelElement:t(Q,{label:e("from_name")})}),children:t(q,{value:(s==null?void 0:s.settings.email_from_name)||"",onValueChange:p=>r("settings.email_from_name",p),disabled:o("email_from_name"),errorMessage:i==null?void 0:i.errors["settings.email_from_name"]})}),t(x,{leftSide:t(K,{propertyKey:"reply_to_name",labelElement:t(Q,{label:e("reply_to_name")})}),children:t(q,{value:(s==null?void 0:s.settings.reply_to_name)||"",onValueChange:p=>r("settings.reply_to_name",p),disabled:o("reply_to_name"),errorMessage:i==null?void 0:i.errors["settings.reply_to_name"]})}),t(x,{leftSide:t(K,{propertyKey:"reply_to_email",labelElement:t(Q,{label:e("reply_to_email")})}),children:t(q,{value:(s==null?void 0:s.settings.reply_to_email)||"",onValueChange:p=>r("settings.reply_to_email",p),disabled:o("reply_to_email"),errorMessage:i==null?void 0:i.errors["settings.reply_to_email"]})}),(s==null?void 0:s.settings.email_sending_method)!=="smtp"&&t(x,{leftSide:t(K,{propertyKey:"bcc_email",labelElement:t(Q,{label:e("bcc_email"),helpLabel:e("comma_sparated_list")})}),children:t(q,{value:(s==null?void 0:s.settings.bcc_email)||"",onValueChange:p=>r("settings.bcc_email",p),disabled:o("bcc_email"),errorMessage:i==null?void 0:i.errors["settings.bcc_email"]})}),(s==null?void 0:s.settings.email_sending_method)!=="smtp"&&t(x,{leftSide:t(K,{propertyKey:"entity_send_time",labelElement:t(Q,{label:e("send_time")})}),children:t(se,{value:(s==null?void 0:s.settings.entity_send_time)||"",onValueChange:p=>r("settings.entity_send_time",p.length>0?p:6),withBlank:!0,disabled:o("entity_send_time"),errorMessage:i==null?void 0:i.errors["settings.entity_send_time"],children:[...Array(24).keys()].map((p,m)=>t("option",{value:p+1,children:fe().startOf("day").add(p+1,"hour").format("h:ss A")},m))})}),(s==null?void 0:s.settings.email_sending_method)==="smtp"&&t(qg,{}),t(ye,{}),t(x,{leftSide:t(K,{propertyKey:"email_style",labelElement:t(Q,{label:e("email_design")}),defaultValue:"plain"}),children:f(se,{value:(s==null?void 0:s.settings.email_style)||"plain",onValueChange:p=>r("settings.email_style",p),disabled:o("email_style"),errorMessage:i==null?void 0:i.errors["settings.email_style"],children:[t("option",{value:"plain",children:e("plain")}),t("option",{value:"light",children:e("light")}),t("option",{value:"dark",children:e("dark")}),t("option",{value:"custom",children:e("custom")})]})}),(s==null?void 0:s.settings.email_style)==="custom"&&t(x,{leftSide:t(K,{propertyKey:"email_style_custom",labelElement:t(Q,{label:e("custom")})}),children:t(q,{element:"textarea",value:(s==null?void 0:s.settings.email_style_custom)||"",onValueChange:p=>p.includes("$body")?r("settings.email_style_custom",p):T.error(ft("body_variable_missing",{body:"$body"})),disabled:o("email_style_custom"),errorMessage:i==null?void 0:i.errors["settings.email_style_custom"]})}),t(x,{leftSide:t(K,{propertyKey:"email_signature",labelElement:t(Q,{label:e("signature")})}),children:t(Xt,{value:(s==null?void 0:s.settings.email_signature)||"",onChange:p=>r("settings.email_signature",p),disabled:o("email_signature")})})]})]})}function Og(){var d,p;const[e]=N();Lt();const{isCompanySettingsActive:n}=lt(),a=$e(),s=ht(),o=Ze(),[i,r]=tt(ct),[c,l]=g.useState(""),_=m=>{r(void 0),$("POST",D("/api/v1/check_subdomain"),{subdomain:m}).then(()=>{o("subdomain",m),l("")}).catch(()=>{l(e("subdomain_is_not_available")??""),o("subdomain",m)})};return f(Z,{title:e("settings"),children:[n&&f(F,{children:[t(x,{leftSide:e("portal_mode"),leftSideHelp:e("subdomain_guide"),children:f("div",{className:"flex flex-col space-y-2",children:[f(se,{disabled:!Ct(),id:"portal_mode",value:(a==null?void 0:a.portal_mode)||"subdomain",onValueChange:m=>o("portal_mode",m),errorMessage:i==null?void 0:i.errors.portal_mode,children:[t("option",{value:"subdomain",children:e("subdomain")},"subdomain"),t("option",{value:"domain",children:e("domain")},"domain")]}),!Ct()&&f("span",{className:"text-xs font-medium",children:["* ",e("requires_an_enterprise_plan")]})]})}),(a==null?void 0:a.portal_mode)==="subdomain"&&t(x,{leftSide:e("subdomain"),children:t(q,{value:(a==null?void 0:a.subdomain)||"",disabled:po(),onValueChange:m=>_(m),errorMessage:(i==null?void 0:i.errors.subdomain)??c})}),(a==null?void 0:a.portal_mode)==="domain"&&t(x,{leftSide:e("domain_url"),leftSideHelp:"custom domain info",children:t(q,{value:(a==null?void 0:a.portal_domain)||"",onValueChange:m=>o("portal_domain",m),errorMessage:i==null?void 0:i.errors.portal_domain})})]}),Ft(),n&&t(x,{leftSide:f("span",{children:[e("login")," ",e("url")]}),children:f("div",{className:"flex flex-col space-y-1",children:[Ft(),a.portal_mode==="domain"&&t(Dt,{text:`${a==null?void 0:a.portal_domain}/client/login`}),a.portal_mode==="subdomain"&&t(Dt,{text:`${a==null?void 0:a.subdomain}.invoicing.co/client/login`}),a.portal_mode==="domain"&&f("div",{children:[t("span",{children:e("app_help_link")}),t(Pe,{external:!0,to:"https://invoiceninja.github.io/en/hosted-custom-domain/#custom-domain-configuration",children:e("here")}),"."]})]})}),n&&t(ye,{}),t(x,{className:oe({"mt-4":n}),leftSide:t(K,{propertyKey:"enable_client_portal",labelElement:t(Q,{label:e("client_portal")}),defaultValue:!1}),children:t(B,{checked:!!(a!=null&&a.settings.enable_client_portal),onValueChange:m=>o("settings.enable_client_portal",m),disabled:s("enable_client_portal")})}),t(x,{leftSide:t(K,{propertyKey:"client_portal_enable_uploads",labelElement:t(Q,{label:e("client_document_upload"),helpLabel:e("document_upload_help")}),defaultValue:!1}),children:t(B,{checked:!!(a!=null&&a.settings.client_portal_enable_uploads),onValueChange:m=>o("settings.client_portal_enable_uploads",m),disabled:s("client_portal_enable_uploads")})}),t(x,{leftSide:t(K,{propertyKey:"vendor_portal_enable_uploads",labelElement:t(Q,{label:e("vendor_document_upload"),helpLabel:e("vendor_document_upload_help")}),defaultValue:!1}),children:t(B,{checked:!!(a!=null&&a.settings.vendor_portal_enable_uploads),onValueChange:m=>o("settings.vendor_portal_enable_uploads",m),disabled:s("vendor_portal_enable_uploads")})}),t(x,{leftSide:t(K,{propertyKey:"accept_client_input_quote_approval",labelElement:t(Q,{label:e("accept_purchase_order_number"),helpLabel:e("accept_purchase_order_number_help")}),defaultValue:!1}),children:t(B,{checked:!!(a!=null&&a.settings.accept_client_input_quote_approval),onValueChange:m=>o("settings.accept_client_input_quote_approval",m),disabled:s("accept_client_input_quote_approval")})}),t(x,{leftSide:t(K,{propertyKey:"show_pdfhtml_on_mobile",labelElement:t(Q,{label:e("show_pdfhtml_on_mobile"),helpLabel:e("show_pdfhtml_on_mobile_help")}),defaultValue:!1}),children:t(B,{checked:!!((d=a==null?void 0:a.settings)!=null&&d.show_pdfhtml_on_mobile),onValueChange:m=>o("settings.show_pdfhtml_on_mobile",m),disabled:s("show_pdfhtml_on_mobile")})}),t(x,{leftSide:e("enable_client_portal_dashboard"),leftSideHelp:e("enable_client_portal_dashboard_help"),children:t(B,{checked:!!((p=a==null?void 0:a.settings)!=null&&p.enable_client_portal_dashboard),onValueChange:m=>o("settings.enable_client_portal_dashboard",m)})}),t(ye,{}),t(x,{className:"mt-4",leftSide:t(K,{propertyKey:"client_portal_terms",labelElement:t(Q,{label:e("terms_of_service")})}),children:t(q,{element:"textarea",onValueChange:m=>o("settings.client_portal_terms",m),value:(a==null?void 0:a.settings.client_portal_terms)||"",disabled:s("client_portal_terms"),errorMessage:i==null?void 0:i.errors["settings.client_portal_terms"]})}),t(x,{leftSide:t(K,{propertyKey:"client_portal_privacy_policy",labelElement:t(Q,{label:e("privacy_policy")})}),children:t(q,{element:"textarea",onValueChange:m=>o("settings.client_portal_privacy_policy",m),value:(a==null?void 0:a.settings.client_portal_privacy_policy)||"",disabled:s("client_portal_privacy_policy"),errorMessage:i==null?void 0:i.errors["settings.client_portal_privacy_policy"]})})]})}function Mg(){const[e]=N(),n=$e(),a=Ze(),s=ht();return f(Z,{title:e("authorization"),children:[t(x,{leftSide:t(K,{propertyKey:"enable_client_portal_password",labelElement:t(Q,{label:e("enable_portal_password"),helpLabel:e("enable_portal_password_help")}),defaultValue:!1}),children:t(B,{checked:!!(n!=null&&n.settings.enable_client_portal_password),onValueChange:o=>a("settings.enable_client_portal_password",o),disabled:s("enable_client_portal_password")})}),t(x,{leftSide:t(K,{propertyKey:"show_accept_invoice_terms",labelElement:t(Q,{label:e("show_accept_invoice_terms"),helpLabel:e("show_accept_invoice_terms_help")}),defaultValue:!1}),children:t(B,{checked:!!(n!=null&&n.settings.show_accept_invoice_terms),onValueChange:o=>a("settings.show_accept_invoice_terms",o),disabled:s("show_accept_invoice_terms")})}),t(x,{leftSide:t(K,{propertyKey:"show_accept_quote_terms",labelElement:t(Q,{label:e("show_accept_quote_terms"),helpLabel:e("show_accept_quote_terms_help")}),defaultValue:!1}),children:t(B,{checked:!!(n!=null&&n.settings.show_accept_quote_terms),onValueChange:o=>a("settings.show_accept_quote_terms",o),disabled:s("show_accept_quote_terms")})}),t(ye,{}),t(x,{leftSide:t(K,{propertyKey:"require_invoice_signature",labelElement:t(Q,{label:e("require_invoice_signature"),helpLabel:e("require_invoice_signature_help")}),defaultValue:!1}),children:t(B,{checked:!!(n!=null&&n.settings.require_invoice_signature),onValueChange:o=>a("settings.require_invoice_signature",o),disabled:s("require_invoice_signature")})}),t(x,{leftSide:t(K,{propertyKey:"require_quote_signature",labelElement:t(Q,{label:e("require_quote_signature"),helpLabel:e("require_quote_signature_help")}),defaultValue:!1}),children:t(B,{checked:!!(n!=null&&n.settings.require_quote_signature),onValueChange:o=>a("settings.require_quote_signature",o),disabled:s("require_quote_signature")})}),t(x,{leftSide:t(K,{propertyKey:"require_purchase_order_signature",labelElement:t(Q,{label:e("require_purchase_order_signature"),helpLabel:e("require_purchase_order_signature_help")}),defaultValue:!1}),children:t(B,{checked:!!(n!=null&&n.settings.require_purchase_order_signature),onValueChange:o=>a("settings.require_purchase_order_signature",o),disabled:s("require_purchase_order_signature")})}),t(x,{leftSide:t(K,{propertyKey:"signature_on_pdf",labelElement:t(Q,{label:e("signature_on_pdf"),helpLabel:e("signature_on_pdf_help")}),defaultValue:!1}),children:t(B,{checked:!!(n!=null&&n.settings.signature_on_pdf),onValueChange:o=>a("settings.signature_on_pdf",o),disabled:s("signature_on_pdf")})})]})}function jg(){const[e]=N(),n=$e(),a=Ze(),s=ht(),o=De(ct);return f(Z,{title:e("customize"),children:[t(x,{leftSide:t(K,{propertyKey:"portal_custom_head",labelElement:t(Q,{label:e("header")})}),children:t(q,{element:"textarea",value:(n==null?void 0:n.settings.portal_custom_head)||"",onValueChange:i=>a("settings.portal_custom_head",i),disabled:s("portal_custom_head"),errorMessage:o==null?void 0:o.errors["settings.portal_custom_head"]})}),t(x,{leftSide:t(K,{propertyKey:"portal_custom_footer",labelElement:t(Q,{label:e("footer")})}),children:t(q,{element:"textarea",value:(n==null?void 0:n.settings.portal_custom_footer)||"",onValueChange:i=>a("settings.portal_custom_footer",i),disabled:s("portal_custom_footer"),errorMessage:o==null?void 0:o.errors["settings.portal_custom_footer"]})}),Ft()]})}function Fg(){const[e]=N(),n=$e(),a=Ze(),s=ht(),{isCompanySettingsActive:o}=lt(),i=De(ct);return f(Z,{title:e("messages"),children:[o&&t(x,{leftSide:e("dashboard"),children:t(q,{element:"textarea",value:(n==null?void 0:n.settings.custom_message_dashboard)||"",onValueChange:r=>a("settings.custom_message_dashboard",r),errorMessage:i==null?void 0:i.errors["settings.custom_message_dashboard"]})}),t(x,{leftSide:t(K,{propertyKey:"custom_message_unpaid_invoice",labelElement:t(Q,{label:e("unpaid_invoice")})}),children:t(q,{element:"textarea",value:(n==null?void 0:n.settings.custom_message_unpaid_invoice)||"",onValueChange:r=>a("settings.custom_message_unpaid_invoice",r),disabled:s("custom_message_unpaid_invoice"),errorMessage:i==null?void 0:i.errors["settings.custom_message_unpaid_invoice"]})}),t(x,{leftSide:t(K,{propertyKey:"custom_message_paid_invoice",labelElement:t(Q,{label:e("paid_invoice")})}),children:t(q,{element:"textarea",value:(n==null?void 0:n.settings.custom_message_paid_invoice)||"",onValueChange:r=>a("settings.custom_message_paid_invoice",r),disabled:s("custom_message_paid_invoice"),errorMessage:i==null?void 0:i.errors["settings.custom_message_paid_invoice"]})}),t(x,{leftSide:t(K,{propertyKey:"custom_message_unapproved_quote",labelElement:t(Q,{label:e("unapproved_quote")})}),children:t(q,{element:"textarea",value:(n==null?void 0:n.settings.custom_message_unapproved_quote)||"",onValueChange:r=>a("settings.custom_message_unapproved_quote",r),disabled:s("custom_message_unapproved_quote"),errorMessage:i==null?void 0:i.errors["settings.custom_message_unapproved_quote"]})})]})}function Bg(){const[e]=N(),n=$e(),a=Ze(),s=[{field:"first_name",label:e("first_name")},{field:"last_name",label:e("last_name")},{field:"email",label:e("email")},{field:"phone",label:e("phone")},{field:"password",label:e("password")},{field:"name",label:e("name")},{field:"website",label:e("website")},{field:"address1",label:e("address1")},{field:"address2",label:e("address2")},{field:"city",label:e("city")},{field:"state",label:e("state")},{field:"postal_code",label:e("postal_code")},{field:"country_id",label:e("country")},{field:"currency_id",label:e("currency")},{field:"custom_value1",label:e("custom1")},{field:"custom_value2",label:e("custom2")},{field:"custom_value3",label:e("custom3")},{field:"custom_value4",label:e("custom4")},{field:"public_notes",label:e("public_notes")},{field:"vat_number",label:e("vat_number")}],o=r=>{const l=ce.cloneDeep((n==null?void 0:n.client_registration_fields)||[]).find(d=>d.key===r);let _="hidden";return l!=null&&l.required&&(l!=null&&l.visible)&&(_="required"),!(l!=null&&l.required)&&(l!=null&&l.visible)&&(_="optional"),_},i=(r,c)=>{let l=ce.cloneDeep((n==null?void 0:n.client_registration_fields)||[]);const _=l.some(p=>p.key===r),d=s.findIndex(p=>p.field===r);if(d>=0){let p={visible:!1,required:!1};if(c==="optional"&&(p={...p,visible:!0}),c==="required"&&(p={visible:!0,required:!0}),_){const m=l.map(h=>({...h,required:h.key===r?p.required:h.required,visible:h.key===r?p.visible:h.visible}));a("client_registration_fields",m)}else{const m=s[d];l=[...l,{key:m.field,...p}],a("client_registration_fields",l)}}};return f(Z,{title:e("registration"),children:[t(x,{leftSide:e("client_registration"),leftSideHelp:e("client_registration_help"),children:t(B,{checked:!!(n!=null&&n.client_can_register),onValueChange:r=>a("client_can_register",r)})}),(n==null?void 0:n.client_can_register)&&t(x,{leftSide:e("registration_url"),children:t(Dt,{text:`${n==null?void 0:n.portal_domain}/client/register?company_key=${n==null?void 0:n.company_key}`})}),t("div",{className:"pt-4 border-b"}),s.map(r=>t(x,{leftSide:r.label,children:f(se,{value:o(r.field),onValueChange:c=>i(r.field,c),children:[t("option",{value:"hidden",defaultChecked:!0,children:e("hidden")}),t("option",{value:"optional",children:e("optional")}),t("option",{value:"required",children:e("required")})]})},r.field))]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function zg(){const[e]=N(),{isGroupSettingsActive:n,isClientSettingsActive:a}=lt();let s=[{name:e("settings"),href:U("/settings/client_portal")},{name:e("authorization"),href:U("/settings/client_portal/authorization")},{name:e("registration"),href:U("/settings/client_portal/registration")},{name:e("messages"),href:U("/settings/client_portal/messages")},{name:e("customize"),href:U("/settings/client_portal/customize")}];return(n||a)&&(s=s.filter(o=>o.name!==e("registration"))),s}function Ug(){Se("client_portal"),Lt();const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("client_portal"),href:"/settings/client_portal"}],a=Ht(),s=mn(),o=Yn(),i=zg();return f(Ve,{title:e("client_portal"),docsLink:"en/advanced-settings/#client_portal",breadcrumbs:n,onSaveClick:a,onCancelClick:s,disableSaveButton:o,children:[o&&t(Fn,{}),t(wa,{tabs:i,className:"mt-6"}),t("div",{className:"my-4",children:t(on,{})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Hg(e,n){return n.replace("$body",e)}function Us(e){const n=me();return t("span",{style:{color:n.$3,colorScheme:n.$0,backgroundColor:n.$1,borderColor:n.$4},className:"px-2 py-1 rounded m-1 inline-flex items-center space-x-2 hover:cursor-pointer",onClick:()=>{navigator.clipboard.writeText(e.children),bd.success(ft("copied_to_clipboard",{value:e.children}))},children:e.children})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Gg={invoice:["$amount","$balance","$date","$due_date","$footer","$number","$payment_url","$po_number","$terms","$view_url","$assigned_to_user","$created_by_user","$discount","$exchange_rate","$invoices","$payment_button","$payments","$public_notes","$view_button"],client:["$client_address1","$client.city","$client.credit_balance","$client.name","$client.postal_code","$client.shipping_address1","$client.shipping_city","$client.shipping_postal_code","$client.state","$client.address2","$client.country","$client.id_number","$client.phone","$client.public_notes","$client.shipping_address2","$client.shipping_country","$client.shipping_state","$client.vat_number"],contact:["$contact.email","$contact.first_name","$contact.last_name","$contact.phone"],company:["$company.address1","$company.address2","$company.country","$company.email","$company.id_number","$company.name","$company.phone","$company.state","$company.vat_number","$company.website"]};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Wg={invoice:["$assigned_to_user","$invoice","$invoices","$invoices.balance","$invoices.po_number","$payment_button","$view_button","$created_by_user","$invoice_references","$invoices.amount","$invoices.due_date","$payment.status","$payment_url","$view_url"],client:["$client_address1","$client.city","$client.credit_balance","$client.name","$client.postal_code","$client.shipping_address1","$client.shipping_city","$client.shipping_postal_code","$client.state","$client.address2","$client.country","$client.id_number","$client.phone","$client.public_notes","$client.shipping_address2","$client.shipping_country","$client.shipping_state","$client.vat_number"],contact:["$contact.email","$contact.first_name","$contact.last_name","$contact.phone"],company:["$company.address1","$company.address2","$company.country","$company.email","$company.id_number","$company.name","$company.phone","$company.state","$company.vat_number","$company.website"]};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */var en=(e=>(e.Daily="1",e.Weekly="2",e.TwoWeeks="3",e.FourWeeks="4",e.Monthly="5",e.TwoMonths="6",e.ThreeMonths="7",e.FourMonths="8",e.SixMonths="9",e.Annually="10",e.TwoYears="11",e.ThreeYears="12",e))(en||{});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Oa={[en.Daily]:"freq_daily",[en.Weekly]:"freq_weekly",[en.TwoWeeks]:"freq_two_weeks",[en.FourWeeks]:"freq_four_weeks",[en.Monthly]:"freq_monthly",[en.TwoMonths]:"freq_two_months",[en.ThreeMonths]:"freq_three_months",[en.FourMonths]:"freq_four_months",[en.SixMonths]:"freq_six_months",[en.Annually]:"freq_annually",[en.TwoYears]:"freq_two_years",[en.ThreeYears]:"freq_three_years"},da=["reminder1","reminder2","reminder3"];function Kg(){Se("templates_and_reminders");const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("templates_and_reminders"),href:"/settings/templates_and_reminders"}],a=Lt(),s=Ze(),o=Ht(),i=mn(),r=bt(),c=ht(),{isCompanySettingsActive:l}=lt(),{data:_}=tn(),[d,p]=g.useState(l||a!=null&&a.settings.email_template_invoice?"invoice":""),[m,h]=g.useState(),[u,v]=g.useState(),b=!po()||Ft(),[w,y]=g.useState(-1),[k,C]=g.useState(!0),[S,E]=g.useState(!1),I=Yn(),H=d==="quote_reminder1"?"email_quote_subject_reminder1":`email_subject_${d||"invoice"}`,z=d==="quote_reminder1"?"email_quote_template_reminder1":`email_template_${d||"invoice"}`,j=G=>d==="quote_reminder1"?"quote_num_days_reminder1":`num_days_reminder${G}`,W=G=>d==="quote_reminder1"?"quote_schedule_reminder1":`schedule_reminder${G}`,ee=G=>d==="quote_reminder1"?"enable_quote_reminder1":`enable_reminder${G}`,V=G=>d==="quote_reminder1"?"quote_late_fee_amount1":`late_fee_amount${G}`,O=G=>d==="quote_reminder1"?"quote_late_fee_percent1":`late_fee_percent${G}`,Y=()=>{var G,ge;if(_!=null&&_.templates&&a&&d){const qe={subject:a.settings[H],body:a.settings[z]};if(((G=qe.subject)==null?void 0:G.length)>0||((ge=qe.body)==null?void 0:ge.length)>0)h({...qe});else{const Pt=_.templates[d]||{subject:a.settings[H]||"",body:a.settings[z]||""};h({...Pt})}}},le=G=>{const ge=ce.cloneDeep(a==null?void 0:a.settings);ge&&(G?(ge[j(G)]=0,ge[W(G)]="disabled",ge[ee(G)]=!1,ge[V(G)]=0,ge[O(G)]=0):(ge.enable_reminder_endless=!1,ge.endless_reminder_frequency_id=""),s("settings",ge))},ne=(G,ge)=>{const qe=ce.cloneDeep(ge||(a==null?void 0:a.settings));qe&&(G?(delete qe[j(G)],delete qe[W(G)],delete qe[ee(G)],delete qe[V(G)],delete qe[O(G)]):(delete qe.enable_reminder_endless,delete qe.endless_reminder_frequency_id),s("settings",qe))},Le=G=>{if(!G){const ge=ce.cloneDeep(a==null?void 0:a.settings);if(ge){const qe=w>-1?`reminder${w}`:"";delete ge[d==="quote_reminder1"?"email_quote_subject_reminder1":`email_subject_${qe||d}`],da.includes(d)||d==="reminder_endless"?ne(da.indexOf(d)+1,ge):s("settings",ge),h(void 0)}}G&&!d&&p("invoice"),G&&d&&(Y(),c(z)&&da.includes(d)&&le(da.indexOf(d)+1),d==="reminder_endless"&&c("email_template_reminder_endless")&&le())};g.useEffect(()=>{if(_!=null&&_.templates&&a&&d){da.includes(d)?y(da.indexOf(d)+1):y(-1);const G=a==null?void 0:a.settings[z];(l||G&&!l||d==="invoice"&&!G&&!l&&k)&&Y(),k&&C(!1)}},[_,d]),g.useEffect(()=>{d&&m&&(s(`settings.${H}`,m==null?void 0:m.subject),s(`settings.${z}`,m==null?void 0:m.body),E(!0),$("POST",D("/api/v1/templates"),{body:m==null?void 0:m.body,subject:m==null?void 0:m.subject,entity:"",entity_id:"",template:z}).then(G=>v(G.data)).finally(()=>E(!1)))},[m]);const ze=d==="payment"?Wg:Gg;return f(Ve,{title:e("templates_and_reminders"),docsLink:"en/advanced-settings/#templates_and_reminders",breadcrumbs:n,onSaveClick:o,onCancelClick:i,disableSaveButton:I,children:[I&&t(Fn,{}),f(Z,{title:e("edit"),children:[t(x,{leftSide:t(K,{checked:typeof(a==null?void 0:a.settings[z])<"u",propertyKey:z,labelElement:t(Q,{label:e("template")}),defaultValue:d||"invoice",onCheckboxChange:G=>Le(G)}),children:f(se,{value:d,onValueChange:G=>{p(G),!l&&h(void 0)},cypressRef:"templateSelector",children:[_&&Object.keys(_.templates).map((G,ge)=>t("option",{value:G,children:e(G)},ge)),t("option",{value:"payment_failed",children:e("payment_failed")}),t("option",{value:"custom1",children:e("first_custom")}),t("option",{value:"custom2",children:e("second_custom")}),t("option",{value:"custom3",children:e("third_custom")})]})}),t(x,{leftSide:e("subject"),disabledLabels:c(z),children:t(q,{id:"subject",value:(m==null?void 0:m.subject)||"",onValueChange:G=>h(ge=>ge&&{...ge,subject:G}),disabled:c(z)})}),t(x,{leftSide:e("body"),disabledLabels:c(z),children:b?t(Xt,{value:(m==null?void 0:m.body)||"",onChange:G=>h(ge=>ge&&{...ge,body:G}),disabled:c(z)}):f("div",{className:"flex flex-col items-start",children:[f("span",{className:"text-gray-500 text-sm",children:[e("email_template_change")," ",f("strong",{children:[e("enterprise"),"/",e("pro")]})," ",e("plan"),"."]}),t(te,{behavior:"button",className:"mt-2",onClick:()=>{var G;return window.open(((G=r==null?void 0:r.company_user)==null?void 0:G.ninja_portal_url)||"")},children:e("plan_change")})]})})]}),(da.includes(d)||d==="reminder_endless"||d==="quote_reminder1")&&!c(z)&&t(Z,{children:da.includes(d)||d==="quote_reminder1"?f(F,{children:[t(x,{leftSide:e("days"),children:t(We,{precision:0,value:(a==null?void 0:a.settings[j(w)])||0,onValueChange:G=>s(`settings.${j(w)}`,parseFloat(G)||0),disablePrecision:!0})}),t(x,{leftSide:e("schedule"),children:f(se,{value:(a==null?void 0:a.settings[W(w)])||"disabled",onValueChange:G=>s(`settings.${W(w)}`,G),children:[t("option",{value:"disabled",defaultChecked:!0,children:e("disabled")}),t("option",{value:d==="quote_reminder1"?"after_quote_date":"after_invoice_date",children:e(d==="quote_reminder1"?"after_quote_date":"after_invoice_date")}),t("option",{value:d==="quote_reminder1"?"before_valid_until_date":"before_due_date",children:e(d==="quote_reminder1"?"before_valid_until_date":"before_due_date")}),t("option",{value:d==="quote_reminder1"?"after_valid_until_date":"after_due_date",children:e(d==="quote_reminder1"?"after_valid_until_date":"after_due_date")})]})}),t(x,{leftSide:e("send_email"),children:t(B,{checked:!!(a!=null&&a.settings[ee(w)])||!1,onValueChange:G=>s(`settings.${ee(w)}`,G)})}),t(x,{leftSide:e("late_fee_amount"),children:t(We,{value:(a==null?void 0:a.settings[V(w)])||0,onValueChange:G=>s(`settings.${V(w)}`,parseFloat(G)||0)})}),t(x,{leftSide:e("late_fee_percent"),children:t(We,{value:(a==null?void 0:a.settings[O(w)])||0,onValueChange:G=>s(`settings.${O(w)}`,parseFloat(G)||0)})})]}):f(F,{children:[t(x,{leftSide:e("send_email"),children:t(B,{checked:!!(a!=null&&a.settings.enable_reminder_endless),onValueChange:G=>s("settings.enable_reminder_endless",G)})}),t(x,{leftSide:e("frequency"),children:t(se,{value:(a==null?void 0:a.settings.endless_reminder_frequency_id)||"",onValueChange:G=>s("settings.endless_reminder_frequency_id",G),withBlank:!0,children:Object.keys(Oa).map((G,ge)=>t("option",{value:G,children:e(Oa[G])},ge))})})]})}),u&&t(Z,{className:"scale-y-100",title:u.subject,children:S?t("div",{className:"flex justify-center items-center",style:{height:800},children:t(st,{})}):t("iframe",{srcDoc:Hg(u.body,u.wrapper),frameBorder:"0",width:"100%",height:800})}),f(Z,{title:e("variables"),children:[t(x,{leftSide:e("invoice"),className:"flex-wrap",children:t("div",{className:"flex flex-wrap",children:ze.invoice.map((G,ge)=>t(Us,{children:G},ge))})}),t(x,{leftSide:e("client"),className:"flex-wrap",children:t("div",{className:"flex flex-wrap",children:ze.client.map((G,ge)=>t(Us,{children:G},ge))})}),t(x,{leftSide:e("contact"),className:"flex-wrap",children:t("div",{className:"flex flex-wrap",children:ze.contact.map((G,ge)=>t(Us,{children:G},ge))})}),t(x,{leftSide:e("company"),className:"flex-wrap",children:t("div",{className:"flex flex-wrap",children:ze.company.map((G,ge)=>t(Us,{children:G},ge))})})]})]})}const Qg=()=>{const{t:e}=N(),n=we(),a=rn(),s=xa({resolveBy:"code"}),o=c=>{$("POST",D("/api/v1/one_time_token"),{context:"nordigen",platform:"react",institution_id:c}).then(l=>{var _;window.open(D("/nordigen/connect/:hash",{hash:(_=l==null?void 0:l.data)==null?void 0:_.hash}))})},i=()=>{$("POST",D("/api/v1/one_time_token"),{context:"yodlee",platform:"react"}).then(c=>{var l;window.open(U("https://invoicing.co/yodlee/onboard/:hash",{hash:(l=c==null?void 0:c.data)==null?void 0:l.hash}))})};return[{id:"bank_account_name",label:e("name"),format:(c,l)=>f("div",{className:"flex items-center space-x-3",children:[t(Pe,{to:U("/settings/bank_accounts/:id/details",{id:l==null?void 0:l.id}),children:l==null?void 0:l.bank_account_name}),(l.integration_type==="NORDIGEN"||l.integration_type==="YODLEE")&&l.disabled_upstream&&t(Qt,{message:e("reconnect"),width:"auto",placement:"top",children:t("div",{className:"cursor-pointer",onClick:_=>{_.stopPropagation(),l.integration_type==="NORDIGEN"&&o(l.nordigen_institution_id),l.integration_type==="YODLEE"&&i()},children:t(ua,{color:"red",size:22})})})]})},{id:"bank_account_type",label:e("type")},{id:"balance",label:e("balance"),format:(c,l)=>{var _,d;return a(c,(_=n==null?void 0:n.settings)==null?void 0:_.country_id,(d=s(l.currency))==null?void 0:d.id)}}]},Yg="/dap-logos/yodlee.svg",Xg="/dap-logos/goCardless.png";function Jg(){const[e]=N(),n=rt(),a=me(),s=g.useRef(null),[o,i]=g.useState(),[r,c]=g.useState(!1);ta(s,()=>{i(void 0)});const l=()=>{c(!1),i(void 0)},_=()=>{$("POST",D("/api/v1/one_time_token"),{context:"yodlee",platform:"react"}).then(m=>{var h;l(),window.open(U("https://invoicing.co/yodlee/onboard/:hash",{hash:(h=m==null?void 0:m.data)==null?void 0:h.hash}))})},d=()=>{$("POST",D("/api/v1/one_time_token"),{context:"nordigen",platform:"react"}).then(m=>{var h;l(),window.open(D("/nordigen/connect/:hash",{hash:(h=m==null?void 0:m.data)==null?void 0:h.hash}))})},p=()=>{o==="yodlee"&&_(),o==="nordigen"&&d()};return f(F,{children:[f(te,{type:"secondary",onClick:()=>c(!0),children:[t("span",{className:"mr-2",children:t(L,{element:Hd,size:20})}),e("connect_accounts")]}),t(Fe,{title:e("connect_accounts"),visible:r,onClose:l,children:f("div",{ref:s,className:"flex flex-col space-y-6",children:[Ct()&&t("div",{className:"flex cursor-pointer h-44 border-4",style:{borderColor:o==="yodlee"?n:a.$5},onClick:()=>i("yodlee"),children:t("img",{className:"flex-1",src:Yg})}),Ct()&&t("div",{"data-cy":"nordigenBox",className:"flex cursor-pointer py-14 px-12 h-44 border-4",style:{borderColor:o==="nordigen"?n:a.$5},onClick:()=>i("nordigen"),children:t("img",{className:"flex-1",src:Xg})}),t(te,{onClick:p,disableWithoutIcon:!0,disabled:!o,children:e("connect")})]})})]})}function Zg(){Se("bank_accounts");const[e]=N(),n=Qg(),a=Ce(),s=[{name:e("settings"),href:"/settings"},{name:e("bank_accounts"),href:"/settings/bank_accounts"}],o=()=>{$("POST",D("/api/v1/bank_integrations/refresh_accounts"),{}).then(i=>{T.success(i.data.message)})};return f(Ve,{title:e("bank_accounts"),breadcrumbs:s,docsLink:"/docs/advanced-settings/#bank_accounts",children:[!Ct()&&It()&&t(Fn,{message:e("upgrade_to_connect_bank_account")}),t(wn,{resource:"bank_account",columns:n,endpoint:"/api/v1/bank_integrations?sort=id|desc",bulkRoute:"/api/v1/bank_integrations/bulk",linkToCreate:"/settings/bank_accounts/create",linkToEdit:"/settings/bank_accounts/:id/edit",withResourcefulActions:!0,rightSide:f("div",{className:"flex space-x-2",children:[t(Jg,{}),Ct()&&f(te,{type:"secondary",onClick:o,children:[t("span",{className:"mr-2",children:t(L,{element:Gd,size:20})}),e("refresh")]}),(vn()||Ct()||Ft())&&f(te,{type:"secondary",onClick:()=>a("/settings/bank_accounts/transaction_rules"),children:[t("span",{className:"mr-2",children:t(L,{element:Wd,size:20})}),e("rules")]})]})})]})}function ev(){Se("edit_bank_account");const[e]=N(),n=Ce(),{id:a}=xt(),{data:s}=mc({id:a}),[o,i]=g.useState(!1),[r,c]=g.useState(),[l,_]=g.useState(),d=[{name:e("settings"),href:"/settings"},{name:e("bank_accounts"),href:"/settings/bank_accounts"},{name:e("edit_bank_account"),href:U("/bank_accounts/:id/edit",{id:a})}],p=(h,u)=>{_(v=>v&&{...v,[h]:u})},m=async h=>{o||(h.preventDefault(),T.processing(),c(void 0),i(!0),$("PUT",D("/api/v1/bank_integrations/:id",{id:a}),l).then(()=>{T.success("updated_bank_account"),ie(["bank_integrations"]),n("/settings/bank_accounts")}).catch(u=>{var v;((v=u.response)==null?void 0:v.status)===422&&(c(u.response.data),T.dismiss())}).finally(()=>i(!1)))};return g.useEffect(()=>{s&&_(s)},[s]),t(Ve,{title:e("edit_bank_account"),breadcrumbs:d,docsLink:"en/basic-settings/#edit_bank_account",onSaveClick:m,children:f(Z,{onFormSubmit:m,title:e("edit_bank_account"),children:[t(x,{leftSide:e("account_name"),children:t(q,{value:l==null?void 0:l.bank_account_name,onValueChange:h=>p("bank_account_name",h),errorMessage:r==null?void 0:r.errors.bank_account_name})}),t(x,{leftSide:e("sync_from"),children:t(q,{type:"date",value:l==null?void 0:l.from_date,onValueChange:h=>p("from_date",h),errorMessage:r==null?void 0:r.errors.from_date})}),t(x,{leftSide:e("auto_sync"),children:t(B,{checked:(l==null?void 0:l.auto_sync)||!1,onValueChange:h=>p("auto_sync",h)})})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Bc(e,n,a,s,o,i){const r=Ce();return c=>{c.preventDefault(),!s&&e&&(T.processing(),n(void 0),a(!0),$("POST",D("/api/v1/bank_integrations"),e).then(l=>{T.success("created_bank_account"),ie(["bank_integrations"]),o?(ie(["bank_integrations"]),i&&i(l.data.data),o(!1)):r("/settings/bank_accounts")}).catch(l=>{var _;((_=l.response)==null?void 0:_.status)===422&&(T.dismiss(),n(l.response.data))}).finally(()=>a(!1)))}}function tv(){const[e]=N();Se("new_bank_account");const{data:n}=pc(),a=[{name:e("settings"),href:"/settings"},{name:e("bank_accounts"),href:"/settings/bank_accounts"},{name:e("new_bank_account"),href:"/settings/bank_accounts/create"}],[s,o]=g.useState(!1),[i,r]=g.useState(),[c,l]=g.useState(),_=Bc(c,r,o,s),d=(p,m)=>{l(h=>h&&{...h,[p]:m})};return g.useEffect(()=>{n&&l(n)},[n]),t(Ve,{title:e("new_bank_account"),breadcrumbs:a,docsLink:"en/basic-settings/#create_bank_account",disableSaveButton:!Ct()&&!vn()&&It(),onSaveClick:_,children:t(Z,{onFormSubmit:_,title:e("new_bank_account"),children:t(x,{leftSide:e("account_name"),children:t(q,{value:c==null?void 0:c.bank_account_name,onValueChange:p=>d("bank_account_name",p),errorMessage:i==null?void 0:i.errors.bank_account_name})})})})}function nv(e){var d;const{balance:n,bank_account_type:a,provider_name:s,bank_account_status:o,currency:i=""}=(e==null?void 0:e.accountDetails)||{},[r]=N(),c=we(),l=rn(),_=xa({resolveBy:"code"});return f(Z,{title:r("details"),children:[t(x,{leftSide:r("balance"),children:l(n||0,c.settings.country_id,(d=_(i))==null?void 0:d.id)}),t(x,{leftSide:r("type"),children:a}),t(x,{leftSide:r("provider"),children:s}),t(x,{leftSide:r("status"),children:o})]})}function av(){Se("bank_account");const{id:e}=xt(),[n]=N(),a=[{name:n("settings"),href:"/settings"},{name:n("bank_accounts"),href:"/settings/bank_accounts"},{name:n("bank_account"),href:U("/settings/bank_accounts/:id/details",{id:e})}],{data:s}=mc({id:e}),[o,i]=g.useState();return g.useEffect(()=>{i(s)},[s]),t(Ve,{title:n("bank_account"),breadcrumbs:a,docsLink:"en/basic-settings/#bank_account_details",children:t(nv,{accountDetails:o})})}function sv(){const[e]=N();return[{id:"name",label:e("name"),format:(a,s)=>t(Pe,{to:U("/settings/bank_accounts/transaction_rules/:id/edit",{id:s.id}),children:s.name})},{id:"vendor_id",label:e("vendor"),format:(a,s)=>{var o;return t(Pe,{to:U("/vendors/:id/edit",{id:s.vendor_id}),children:(o=s.vendor)==null?void 0:o.name})}},{id:"category_id",label:e("category"),format:(a,s)=>{var o;return t(Pe,{to:U("/settings/expense_categories/:id/edit",{id:s.category_id}),children:(o=s.expense_category)==null?void 0:o.name})}},{id:"applies_to",label:e("applies_to")}]}function ov(){const{documentTitle:e}=Se("transaction_rules"),[n]=N(),a=sv(),s=[{name:n("settings"),href:"/settings"},{name:n("bank_accounts"),href:"/settings/bank_accounts"},{name:n("transaction_rules"),href:"/settings/bank_accounts/transaction_rules"}];return t(Ve,{title:e,breadcrumbs:s,docsLink:"/docs/advanced-settings/#bank_transaction_rules",children:t(wn,{resource:"transaction_rule",columns:a,endpoint:"/api/v1/bank_transaction_rules?include=vendor,expense_category&sort=id|desc",bulkRoute:"/api/v1/bank_transaction_rules/bulk",linkToCreate:"/settings/bank_accounts/transaction_rules/create",linkToEdit:"/settings/bank_accounts/transaction_rules/:id/edit",withResourcefulActions:!0})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function iv(){const{isAdmin:e}=Je();return xe(["/api/v1/bank_transaction_rules","create"],()=>$("GET",D("/api/v1/bank_transaction_rules/create")).then(n=>n.data.data),{staleTime:1/0,enabled:e})}function rv(e){return xe(["/api/v1/bank_transaction_rules",e.id],()=>$("GET",D("/api/v1/bank_transaction_rules/:id",{id:e.id})).then(n=>n.data.data),{enabled:e.enabled??!0,staleTime:1/0})}function zc(e){const[n]=N(),a=rt(),{data:s}=Oc(),[o,i]=g.useState(),[r,c]=g.useState(!1),[l,_]=g.useState(),d=()=>{r||(T.processing(),c(!0),$("POST",D("/api/v1/expense_categories"),l).then(p=>{T.success("created_expense_category"),ie(["expense_categories"]),window.dispatchEvent(new CustomEvent("invalidate.combobox.queries",{detail:{url:D("/api/v1/expense_categories")}})),e.setSelectedIds&&e.setSelectedIds([p.data.data.id]),e.onCreatedCategory&&e.onCreatedCategory(p.data.data),s&&_({...s,color:a}),e.setVisible(!1)}).catch(p=>{var m;((m=p.response)==null?void 0:m.status)===422&&(i(p.response.data),T.dismiss())}).finally(()=>c(!1)))};return g.useEffect(()=>{s&&_({...s,color:a})},[s]),t(Fe,{title:n("create_expense_category"),visible:e.visible,onClose:()=>e.setVisible(!1),stopPropagationInHeader:!0,children:f("div",{onClick:p=>p.stopPropagation(),children:[t(Mc,{expenseCategory:l,setExpenseCategory:_,errors:o,setErrors:i}),t("div",{className:"flex justify-end space-x-4 mt-5",children:t(te,{behavior:"button",onClick:d,children:n("save")})})]})})}function cv(e){var r;const[n]=N(),[a,s]=g.useState(!1),o=ot(),i={}.VITE_IS_TEST==="true"?"&per_page=1":"&per_page=500";return f(F,{children:[t(zc,{visible:e.initiallyVisible||a,setVisible:e.setVisible||s,setSelectedIds:e.setSelectedIds,onCreatedCategory:c=>e.onChange(c)}),!e.setSelectedIds&&t(sn,{endpoint:D(`/api/v1/expense_categories?status=active${i}`),onChange:c=>c.resource&&e.onChange(c.resource),inputOptions:{label:(r=e.inputLabel)==null?void 0:r.toString(),value:e.value||null},entryOptions:{id:"id",label:"name",value:"id"},action:{label:n("new_expense_category"),onClick:()=>s(!0),visible:o("create_expense")},readonly:e.readonly,onDismiss:e.onClearButtonClick,initiallyVisible:e.initiallyVisible,sortBy:"name|asc",staleTime:e.staleTime,errorMessage:e.errorMessage})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function OQe(e){return xe(["/api/v1/vendors",e.id],()=>$("GET",D("/api/v1/vendors/:id",{id:e.id})).then(n=>n.data.data),{enabled:e.enabled??!0,staleTime:1/0})}function lv(){const e=ot();return xe(["/api/v1/vendors","create"],()=>$("GET",D("/api/v1/vendors/create")).then(n=>n.data.data),{staleTime:1/0,enabled:e("create_vendor")})}function dv(e){return xe(["/api/v1/vendors",e],()=>$("GET",D("/api/v1/vendors?filter=:filter&per_page=:per_page&status=:status&page=:page",{per_page:e.perPage??"100",page:e.currentPage??"1",status:e.status??"active",filter:e.filter??""})).then(n=>n.data.data),{enabled:e.enabled??!0,staleTime:1/0})}function MQe(){return(e,n)=>{T.processing(),$("POST",D("/api/v1/vendors/bulk"),{action:n,ids:[e]}).then(()=>{T.success(`${n}d_vendor`),ie(["vendors"])})}}function Fs(e){const n=xi();return t(sa,{onValueChange:e.onChange,value:e.value,label:e.label,errorMessage:e.errorMessage,dismissable:e.dismissable,disabled:e.disabled,children:n.map((a,s)=>f("option",{value:a.id,children:[a.name," (",a.iso_3166_3,")"]},s))})}function _v(e){var w,y,k,C,S;const[n]=N(),{vendor:a,setVendor:s,errors:o,page:i,setContacts:r,contacts:c,fundamentalConceptVisible:l}=e,_=we(),{isAdmin:d,isOwner:p}=Je(),m=(E,I)=>{s(H=>H&&{...H,[E]:I})},h=(E,I,H)=>{ce.set(c[H],E,I),r([...c])},u=E=>{let I=[...c];I=I.filter((H,z)=>E!==z),r(I)},v=()=>{const E=[...c];E.push({id:"",first_name:"",last_name:"",email:"",send_email:!1,created_at:0,updated_at:0,archived_at:0,is_primary:!1,phone:"",custom_value1:"",custom_value2:"",custom_value3:"",custom_value4:"",link:"",last_login:0}),r(E)},b=_o();return t(F,{children:l?f("div",{className:"flex flex-col space-y-3",children:[t(q,{label:n("name"),value:(a==null?void 0:a.name)||"",onValueChange:E=>m("name",E),errorMessage:o==null?void 0:o.errors.name}),t(q,{label:`${n("contact")} ${n("first_name")}`,value:c[0].first_name,onValueChange:E=>h("first_name",E,0),errorMessage:o==null?void 0:o.errors["contacts.0.first_name"]}),t(q,{label:`${n("contact")} ${n("last_name")}`,value:c[0].last_name,onValueChange:E=>h("last_name",E,0),errorMessage:o==null?void 0:o.errors["contacts.0.last_name"]}),t(q,{label:`${n("contact")} ${n("email")}`,value:c[0].email,onValueChange:E=>h("email",E,0),errorMessage:o==null?void 0:o.errors["contacts.0.email"]}),t(q,{label:`${n("contact")} ${n("phone")}`,value:c[0].phone,onValueChange:E=>h("phone",E,0),errorMessage:o==null?void 0:o.errors["contacts.0.phone"]}),t(ts,{label:n("currency"),value:(a==null?void 0:a.currency_id)||"",onChange:E=>m("currency_id",E),errorMessage:o==null?void 0:o.errors.currency_id,dismissable:!0})]}):f("div",{className:"grid grid-cols-12 gap-4",children:[f("div",{className:"col-span-12 xl:col-span-6 space-y-4",children:[f(Z,{title:n("details"),children:[i==="edit"&&t(x,{leftSide:n("status"),children:t(En,{entity:a})}),t(x,{leftSide:n("name"),children:t(q,{id:"name",value:a.name||"",onValueChange:E=>m("name",E),errorMessage:o==null?void 0:o.errors.name})}),t(x,{leftSide:n("number"),children:t(q,{value:a.number||"",onValueChange:E=>m("number",E),errorMessage:o==null?void 0:o.errors.number})}),t(x,{leftSide:n("user"),children:t(Pi,{value:a.assigned_user_id,onChange:E=>m("assigned_user_id",E.id),onClearButtonClick:()=>m("assigned_user_id",""),clearButton:!0,errorMessage:o==null?void 0:o.errors.assigned_user_id})}),t(x,{leftSide:n("id_number"),children:t(q,{value:a.id_number||"",onValueChange:E=>m("id_number",E),errorMessage:o==null?void 0:o.errors.id_number})}),t(x,{leftSide:n("vat_number"),children:t(q,{value:a.vat_number||"",onValueChange:E=>m("vat_number",E),errorMessage:o==null?void 0:o.errors.vat_number})}),t(x,{leftSide:n("website"),children:t(q,{value:a.website||"",onValueChange:E=>m("website",E),errorMessage:o==null?void 0:o.errors.website})}),t(x,{leftSide:n("phone"),children:t(q,{value:a.phone||"",onValueChange:E=>m("phone",E),errorMessage:o==null?void 0:o.errors.phone})}),t(x,{leftSide:n("routing_id"),children:t(q,{value:a.routing_id||"",onValueChange:E=>m("routing_id",E),errorMessage:(w=e.errors)==null?void 0:w.errors.routing_id})}),t(x,{leftSide:n("tax_exempt"),children:t(B,{checked:!!a.is_tax_exempt,onValueChange:E=>m("is_tax_exempt",E)})}),t(x,{leftSide:n("classification"),children:f(se,{id:"classification",defaultValue:a.classification??"",onValueChange:E=>m("classification",E),errorMessage:o==null?void 0:o.errors.classification,withBlank:!0,children:[t("option",{value:"individual",children:n("individual")}),t("option",{value:"business",children:n("business")}),t("option",{value:"company",children:n("company")}),t("option",{value:"partnership",children:n("partnership")}),t("option",{value:"trust",children:n("trust")}),t("option",{value:"charity",children:n("charity")}),t("option",{value:"government",children:n("government")}),t("option",{value:"other",children:n("other")})]})}),((y=_==null?void 0:_.custom_fields)==null?void 0:y.vendor1)&&t(at,{field:"contact1",defaultValue:a.custom_value1,value:_.custom_fields.vendor1,onValueChange:E=>m("custom_value1",E)}),((k=_==null?void 0:_.custom_fields)==null?void 0:k.vendor2)&&t(at,{field:"vendor2",defaultValue:a.custom_value2,value:_.custom_fields.vendor2,onValueChange:E=>m("custom_value2",E)}),((C=_==null?void 0:_.custom_fields)==null?void 0:C.vendor3)&&t(at,{field:"vendor3",defaultValue:a.custom_value3,value:_.custom_fields.vendor3,onValueChange:E=>m("custom_value3",E)}),((S=_==null?void 0:_.custom_fields)==null?void 0:S.vendor4)&&t(at,{field:"vendor4",defaultValue:a.custom_value4,value:_.custom_fields.vendor4,onValueChange:E=>m("custom_value4",E)})]}),f(Z,{title:n("address"),children:[t(x,{leftSide:n("address1"),children:t(q,{value:a.address1,onValueChange:E=>m("address1",E),errorMessage:o==null?void 0:o.errors.address1})}),t(x,{leftSide:n("address2"),children:t(q,{value:a.address2,onValueChange:E=>m("address2",E),errorMessage:o==null?void 0:o.errors.address2})}),t(x,{leftSide:n("city"),children:t(q,{value:a.city,onValueChange:E=>m("city",E),errorMessage:o==null?void 0:o.errors.city})}),t(x,{leftSide:n("state"),children:t(q,{value:a.state,onValueChange:E=>m("state",E),errorMessage:o==null?void 0:o.errors.state})}),t(x,{leftSide:n("postal_code"),children:t(q,{value:a.postal_code,onValueChange:E=>m("postal_code",E),errorMessage:o==null?void 0:o.errors.postal_code})}),t(x,{leftSide:n("country"),children:t(Fs,{value:a.country_id,onChange:E=>m("country_id",E),errorMessage:o==null?void 0:o.errors.country_id})})]})]}),f("div",{className:"col-span-12 xl:col-span-6 space-y-4",children:[t(Z,{title:n("contacts"),children:c.map((E,I,{length:H})=>{var z,j,W,ee,V,O,Y,le;return f("div",{children:[t(x,{leftSide:n("first_name"),children:t(q,{id:`first_name_${I}`,value:E.first_name,onValueChange:ne=>h("first_name",ne,I),errorMessage:(z=e.errors)==null?void 0:z.errors[`contacts.${I}.first_name`]})}),t(x,{leftSide:n("last_name"),children:t(q,{id:`last_name_${I}`,value:E.last_name,onValueChange:ne=>h("last_name",ne,I),errorMessage:(j=e.errors)==null?void 0:j.errors[`contacts.${I}.last_name`]})}),t(x,{leftSide:n("email"),children:t(q,{id:`email_${I}`,value:E.email,onValueChange:ne=>h("email",ne,I),errorMessage:(W=e.errors)==null?void 0:W.errors[`contacts.${I}.email`]})}),t(x,{leftSide:n("phone"),children:t(q,{value:E.phone,onValueChange:ne=>h("phone",ne,I),errorMessage:(ee=e.errors)==null?void 0:ee.errors[`contacts.${I}.phone`]})}),t(x,{leftSide:n("send_email"),children:t(B,{checked:E.send_email,onChange:ne=>h("send_email",ne,I)})}),((V=_==null?void 0:_.custom_fields)==null?void 0:V.vendor_contact1)&&t(at,{field:"vendor_contact1",defaultValue:E.custom_value1||"",value:_.custom_fields.vendor_contact1,onValueChange:ne=>h("custom_value1",ne,I)}),((O=_==null?void 0:_.custom_fields)==null?void 0:O.vendor_contact2)&&t(at,{field:"vendor_contact2",defaultValue:E.custom_value2||"",value:_.custom_fields.vendor_contact2,onValueChange:ne=>h("custom_value2",ne,I)}),((Y=_==null?void 0:_.custom_fields)==null?void 0:Y.vendor_contact3)&&t(at,{field:"vendor_contact3",defaultValue:E.custom_value3||"",value:_.custom_fields.vendor_contact3,onValueChange:ne=>h("custom_value3",ne,I)}),((le=_==null?void 0:_.custom_fields)==null?void 0:le.vendor_contact4)&&t(at,{field:"vendor_contact4",defaultValue:E.custom_value4||"",value:_.custom_fields.vendor_contact4,onValueChange:ne=>h("custom_value4",ne,I)}),t(x,{children:f("div",{className:"flex justify-between items-center",children:[a.contacts.length>=2&&t("button",{type:"button",className:"text-red-600",onClick:()=>u(I),children:n("remove_contact")}),I+1==H&&t(te,{type:"minimal",behavior:"button",onClick:v,children:n("add_contact")})]})}),t(ye,{})]},I)})}),t(Z,{title:n("additional_info"),children:f(jn,{className:"px-5",tabs:[n("settings"),...d||p?[n("custom_fields")]:[]],children:[f("div",{className:"flex flex-col space-y-4",children:[t(x,{leftSide:n("currency"),noExternalPadding:!0,children:t(ts,{value:a.currency_id,onChange:E=>m("currency_id",parseInt(E)),errorMessage:o==null?void 0:o.errors.currency_id})}),b.length>1&&t(x,{leftSide:n("language"),noExternalPadding:!0,children:t(js,{value:a.language_id,onChange:E=>m("language_id",E),errorMessage:o==null?void 0:o.errors.language_id,dismissable:!0})}),t(Xt,{label:n("public_notes").toString(),onChange:E=>m("public_notes",E),value:a.public_notes}),t(Xt,{label:n("private_notes").toString(),onChange:E=>m("private_notes",E),value:a.private_notes})]}),f("div",{children:[f("span",{className:"text-sm",children:[n("custom_fields"),"  "]}),t(Pe,{to:"/settings/custom_fields/vendors",className:"capitalize",children:n("click_here")})]})]})})]})]})})}function uv(e){const[n]=N(),{fundamentalConceptVisible:a,setFundamentalConceptVisible:s}=e,{data:o}=lv(),[i,r]=g.useState(),[c,l]=g.useState(),[_,d]=g.useState([{first_name:"",last_name:"",email:"",phone:"",send_email:!1}]);g.useEffect(()=>{o&&r({...o,country_id:""})},[o]);const p=Ht(),m=async()=>{ce.set(i,"contacts",_),T.processing(),await p(!0),$("POST",D("/api/v1/vendors"),i).then(h=>{T.success("created_vendor"),ie(["vendors"]),e.setSelectedIds&&e.setSelectedIds([h.data.data.id]),e.onVendorCreated&&e.onVendorCreated(h.data.data),r(o),e.setVisible(!1)}).catch(h=>{var u;((u=h.response)==null?void 0:u.status)===422&&(T.dismiss(),l(h.response.data))})};return f(F,{children:[i&&t(_v,{vendor:i,setVendor:r,errors:c,setContacts:d,contacts:_,fundamentalConceptVisible:a}),f("div",{className:oe("flex",{"justify-between":a,"justify-end space-x-5":!a}),children:[t(te,{behavior:"button",type:"secondary",onClick:()=>s(h=>!h),children:n(a?"more_fields":"less_fields")}),t(te,{behavior:"button",onClick:m,children:n("save")})]})]})}function mv(e){const[n]=N(),[a,s]=g.useState(!0);return t(Fe,{title:n("create_vendor"),visible:e.visible,onClose:()=>e.setVisible(!1),size:a?"extraSmall":"large",renderTransitionChildAsFragment:!0,overflowVisible:!0,children:t(uv,{setSelectedIds:e.setSelectedIds,setVisible:e.setVisible,onVendorCreated:e.onVendorCreated,fundamentalConceptVisible:a,setFundamentalConceptVisible:s})})}function pv(e){var i;const[n]=N(),a=ot(),[s,o]=g.useState(!1);return f(F,{children:[t(mv,{visible:e.initiallyVisibleModal||s,setVisible:e.setVisible||o,setSelectedIds:e.setSelectedIds,onVendorCreated:r=>e.onChange(r)}),!e.setSelectedIds&&t(sn,{endpoint:D("/api/v1/vendors?status=active&per_page=500"),onChange:r=>r.resource&&e.onChange(r.resource),inputOptions:{label:(i=e.inputLabel)==null?void 0:i.toString(),value:e.value||null},entryOptions:{id:"id",label:"name",value:"id"},action:{label:n("new_vendor"),onClick:()=>o(!0),visible:a("create_vendor")},readonly:e.readonly,onDismiss:e.onClearButtonClick,initiallyVisible:e.initiallyVisible,sortBy:"name|asc",staleTime:e.staleTime||1/0,errorMessage:e.errorMessage})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Uc(e){const{setErrors:n,setTransactionRule:a}=e;return(s,o)=>{n(void 0),a(i=>i&&{...i,[s]:o})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const hv={search_key:"description",operator:"contains",value:""},fv={description:[{value:"contains",label:"contains"},{value:"starts_with",label:"starts_with"},{value:"is",label:"is"},{value:"is_empty",label:"is_empty"}],amount:[{value:"<",label:"<"},{value:"<=",label:"<="},{value:"=",label:"="},{value:">",label:">"},{value:">=",label:">="}]};function gv(e){const[n]=N(),{visible:a,setVisible:s,transactionRule:o,ruleIndex:i,setTransactionRule:r,setErrors:c}=e,[l,_]=g.useState(),d=Uc({setTransactionRule:r,setErrors:c}),p=(u,v)=>{_(b=>b&&{...b,[u]:v})},m=u=>{p("search_key",u),u==="description"&&p("operator","contains"),u==="amount"&&p("operator","<")},h=()=>{if(l){const u=o.rules||[];i>-1?(u[i]=l,d("rules",u),s(!1)):(d("rules",[...u,l]),s(!1))}};return g.useEffect(()=>{o&&(i>-1?_(o.rules[i]):_(hv))},[o,i]),f(Fe,{title:i>-1?n("edit_rule"):n("add_rule"),visible:a,onClose:()=>s(!1),children:[f(se,{required:!0,label:n("field"),value:l==null?void 0:l.search_key,onValueChange:u=>m(u),children:[t("option",{defaultChecked:!0,value:"description",children:n("description")}),t("option",{value:"amount",children:n("amount")})]}),t(se,{required:!0,label:n("operator"),value:l==null?void 0:l.operator,onValueChange:u=>p("operator",u),children:(l==null?void 0:l.search_key)&&fv[l.search_key].map((u,v)=>t("option",{value:u.value,children:n(u.label)},v))}),t(q,{changeOverride:!0,required:!0,label:n("value"),value:l==null?void 0:l.value,onValueChange:u=>p("value",u)}),t(te,{className:"self-end",onClick:h,disableWithoutIcon:!0,disabled:!(l!=null&&l.value),children:n("save")})]})}function Hc(e){var u;const[n]=N(),a=rt(),[s,o]=g.useState(!1),[i,r]=g.useState(-1),{transactionRule:c,setTransactionRule:l,errors:_,setErrors:d}=e,p=Uc({setErrors:d,setTransactionRule:l}),m=v=>{const b=c.rules.filter((w,y)=>y!==v);p("rules",b)},h=me();return f(F,{children:[f(Z,{title:e.page==="create"?n("new_transaction_rule"):n("edit_transaction_rule"),children:[t(x,{leftSide:n("name"),required:!0,children:t(q,{style:{color:h.$3,colorScheme:h.$0,backgroundColor:h.$1,borderColor:h.$4},required:!0,value:c.name,onValueChange:v=>p("name",v),errorMessage:_==null?void 0:_.errors.name})}),t(x,{leftSide:n("match_all_rules"),leftSideHelp:n("match_all_rules_help"),children:t(B,{style:{color:h.$3,colorScheme:h.$0,backgroundColor:h.$1,borderColor:h.$4},checked:c.matches_on_all||!1,onValueChange:v=>p("matches_on_all",v)})}),t(x,{leftSide:n("auto_convert"),leftSideHelp:n("auto_convert_help"),children:t(B,{style:{color:h.$3,colorScheme:h.$0,backgroundColor:h.$1,borderColor:h.$4},checked:c.auto_convert||!1,onValueChange:v=>p("auto_convert",v)})}),t(x,{leftSide:n("vendor"),children:t(pv,{value:c.vendor_id,onChange:v=>p("vendor_id",v.id),onClearButtonClick:()=>p("vendor_id",""),errorMessage:_==null?void 0:_.errors.vendor_id})}),t(x,{leftSide:n("expense_category"),children:t(cv,{value:c.category_id,onChange:v=>p("category_id",v.id),onClearButtonClick:()=>p("category_id",""),errorMessage:_==null?void 0:_.errors.category_id})})]}),f(Ca,{children:[f(Ea,{children:[t(yt,{children:n("field")},"field"),t(yt,{children:n("operator")},"operator"),t(yt,{children:n("value")},"value")]}),f(Sa,{children:[(u=c.rules)==null?void 0:u.map((v,b)=>f($t,{className:"py-2",children:[t(Ye,{width:"30%",style:{backgroundColor:h.$2,color:h.$3,colorScheme:h.$0},children:n(v.search_key)}),t(Ye,{width:"30%",style:{color:h.$3,colorScheme:h.$0,backgroundColor:h.$1,borderColor:h.$4},children:n(v.operator)}),t(Ye,{width:"40%",style:{color:h.$3,colorScheme:h.$0,backgroundColor:h.$1,borderColor:h.$4},children:f("div",{className:"flex justify-between",children:[t("span",{children:v.value}),f("div",{className:"flex space-x-8",style:{color:h.$3,colorScheme:h.$0,backgroundColor:h.$1,borderColor:h.$4},children:[t(Ns,{className:"cursor-pointer",color:a,fontSize:22,onClick:()=>{r(b),o(!0)}}),t(kt,{className:"cursor-pointer",color:a,fontSize:22,onClick:()=>m(b)})]})]})})]},b)),t($t,{style:{color:h.$3,colorScheme:h.$0,backgroundColor:h.$1,borderColor:h.$4},children:t(Ye,{colSpan:100,style:{color:h.$3,colorScheme:h.$0,backgroundColor:h.$1,borderColor:h.$4},children:f("button",{style:{color:h.$3,colorScheme:h.$0,backgroundColor:h.$1,borderColor:h.$4},onClick:()=>{r(-1),o(!0)},className:"w-full py-1 inline-flex justify-center items-center space-x-2",children:[t($r,{className:"cursor-pointer",color:a,fontSize:18}),t("span",{children:n("add_rule")})]})})})]})]}),t(gv,{visible:s,setVisible:o,ruleIndex:i,setTransactionRule:l,setErrors:d,transactionRule:c})]})}function vv(){const[e]=N();Se("new_transaction_rule");const n=Ce(),a=[{name:e("settings"),href:"/settings"},{name:e("bank_accounts"),href:"/settings/bank_accounts"},{name:e("transaction_rules"),href:"/settings/bank_accounts/transaction_rules"},{name:e("new_transaction_rule"),href:"/settings/bank_accounts/transaction_rules/create"}],{data:s}=iv(),[o,i]=g.useState(),[r,c]=g.useState(!1),[l,_]=g.useState();g.useEffect(()=>{s&&i({...s,matches_on_all:!0,applies_to:"DEBIT"})},[s]);const d=p=>{p.preventDefault(),r||(T.processing(),_(void 0),c(!0),$("POST",D("/api/v1/bank_transaction_rules"),o).then(m=>{T.success("created_transaction_rule"),ie(["bank_transaction_rules"]),n(U("/settings/bank_accounts/transaction_rules/:id/edit",{id:m.data.data.id}))}).catch(m=>{var h;((h=m.response)==null?void 0:h.status)===422&&(T.dismiss(),_(m.response.data))}).finally(()=>c(!1)))};return t(Ve,{title:e("new_transaction_rule"),breadcrumbs:a,docsLink:"en/basic-settings/#create_transaction_rule",disableSaveButton:!o||r,onSaveClick:d,children:o?t(Hc,{page:"create",transactionRule:o,setTransactionRule:i,errors:l,setErrors:_}):t(st,{})})}function yv(){const[e]=N();Se("edit_transaction_rule");const{id:n}=xt(),a=Ce(),s=[{name:e("settings"),href:"/settings"},{name:e("bank_accounts"),href:"/settings/bank_accounts"},{name:e("transaction_rules"),href:"/settings/bank_accounts/transaction_rules"},{name:e("edit_transaction_rule"),href:U("/settings/bank_accounts/transaction_rules/:id/edit",{id:n})}],{data:o}=rv({id:n}),[i,r]=g.useState(),[c,l]=g.useState(!1),[_,d]=g.useState();g.useEffect(()=>{o&&r(o)},[o]);const p=m=>{m.preventDefault(),c||(T.processing(),d(void 0),l(!0),$("PUT",D("/api/v1/bank_transaction_rules/:id",{id:n}),i).then(()=>{T.success("updated_transaction_rule"),ie(["bank_transaction_rules"]),a("/settings/bank_accounts/transaction_rules")}).catch(h=>{var u;((u=h.response)==null?void 0:u.status)===422&&(T.dismiss(),d(h.response.data))}).finally(()=>l(!1)))};return t(Ve,{title:e("edit_transaction_rule"),breadcrumbs:s,docsLink:"en/basic-settings/#edit_transaction_rule",disableSaveButton:!i||c,onSaveClick:p,children:i?t(Hc,{transactionRule:i,setTransactionRule:r,errors:_,setErrors:d}):t(st,{})})}function Ai({text:e,className:n,secure:a,limit:s=0,stopPropagation:o,iconColor:i}){const r=e||"",c=l=>{o&&l.stopPropagation(),navigator.clipboard.writeText(r),T.success("copied_to_clipboard",{value:""})};return f("div",{className:`inline-flex space-x-2 ${n}`,children:[t("span",{children:a?e.split("").map(()=>"*"):r.length>s?r.substring(0,s).concat(" "):r}),r.length>0&&t("button",{type:"button",onClick:c,children:t(Nr,{size:18,color:i})})]})}const bv=()=>{const[e]=N(),n=rn(),a=we();return[{id:"name",label:e("name")},{id:"price",label:e("price"),format:o=>n(o,a==null?void 0:a.settings.country_id,a==null?void 0:a.settings.currency_id)},{id:"purchase_page",label:e("purchase_page"),format:o=>f("div",{className:"flex space-x-2",onClick:i=>i.stopPropagation(),children:[t(Pe,{to:o,external:!0,children:e("purchase_page")}),t(Ai,{text:o})]})}]};function wv(){const{documentTitle:e}=Se("payment_links"),[n]=N(),a=bv(),s=[{name:n("settings"),href:"/settings"},{name:n("payment_links"),href:"/settings/subscriptions"}];return t(Ve,{title:e,docsLink:"en/advanced-settings/#subscriptions",breadcrumbs:s,children:t(wn,{resource:"payment_link",endpoint:"/api/v1/subscriptions?sort=id|desc",bulkRoute:"/api/v1/subscriptions/bulk",columns:a,linkToCreate:"/settings/subscriptions/create",linkToEdit:"/settings/subscriptions/:id/edit",withResourcefulActions:!0})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Gc(e){return xe(["/api/v1/products"],()=>$("GET",D("/api/v1/products?per_page=500&include=:include&status=:status",{include:(e==null?void 0:e.include)||"",status:(e==null?void 0:e.status)??"all"})).then(n=>n.data.data),{staleTime:1/0})}function jQe(e){return xe(["/api/v1/products",e.id],()=>$("GET",D("/api/v1/products/:id",{id:e.id})),{staleTime:1/0})}function kv(e){const n=ot();return xe(["/api/v1/products/create"],()=>$("GET",D("/api/v1/products/create")).then(a=>a.data.data),{...e,staleTime:1/0,enabled:n("create_product")?(e==null?void 0:e.enabled)??!0:!1})}function xv(e,n){return $("POST",D("/api/v1/products/bulk"),{action:n,ids:Array.from(e)})}function Hs(e){const n=rt(),a=Ce(),s=rn(),[o,i]=g.useState([]),[r,c]=g.useState(),l=d=>{const p=o.findIndex(({id:m})=>m===d);if(p>-1){const m=o.filter((u,v)=>v!==p);i(m);const h=m.map(({id:u})=>u);e.handleChange(e.type,h.join(","))}},_=d=>{var p,m;return d.product_key+" "+s(d.price,(p=d.company)==null?void 0:p.settings.country_id,(m=d.company)==null?void 0:m.settings.currency_id).toString()};return g.useEffect(()=>{if(e.products){let d=[];e.subscription[e.type].split(",").forEach(p=>{var m;d=d.concat(((m=e.products)==null?void 0:m.filter(({id:h})=>h===p))||[])}),i(d)}},[e.products]),g.useEffect(()=>{if(e.products&&r){const d=e.products.filter(({id:p})=>r===p);i(p=>[...p,...d]),c("")}},[r]),g.useEffect(()=>{if(e.products){const d=o.map(({id:p})=>p);e.handleChange(e.type,d.join(","))}},[o]),f(F,{children:[e.products&&t(se,{onValueChange:d=>c(d),value:r,withBlank:!0,children:e.products.map((d,p)=>t("option",{value:d.id,children:_(d)},p))}),t("div",{className:"flex justify-center",children:t("ul",{role:"list",className:"-mb-8 mt-3",children:o.map((d,p)=>{var m,h;return t("li",{children:f("div",{className:"relative pb-8",children:[p!==o.length-1&&t("span",{className:"absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200","aria-hidden":"true"}),f("div",{className:"relative flex space-x-3",children:[t("span",{className:"h-8 w-8 rounded-full flex items-center justify-center ring-8 ring-white",style:{backgroundColor:n},children:t(Kd,{className:"h-4 w-4 text-white cursor-pointer","aria-hidden":"true",onClick:()=>a(U("/products/:id/edit",{id:d.id}))})}),f("div",{className:"flex min-w-0 flex-1 justify-between space-x-4 pt-1.5",children:[f("div",{className:"flex flex-1 justify-between space-x-5",children:[t(Pe,{to:U("/products/:id/edit",{id:d.id}),children:d.product_key}),t("span",{children:s(d.price,(m=d.company)==null?void 0:m.settings.country_id,(h=d.company)==null?void 0:h.settings.currency_id)})]}),t("div",{className:"whitespace-nowrap text-right text-sm text-gray-500",children:t(Hn,{className:"cursor-pointer ml-10 xl:ml-20",color:n,fontSize:19,onClick:()=>l(d.id)})})]})]})]})},p)})})})]})}function Wc(e){const[n]=N(),{subscription:a,handleChange:s,errors:o,products:i,page:r}=e;return f(Z,{title:n("overview"),children:[t(x,{leftSide:n("name"),required:!0,children:t(q,{value:a.name,onValueChange:c=>s("name",c),errorMessage:o==null?void 0:o.errors.name})}),t(x,{leftSide:n("group"),children:t(sn,{endpoint:D("/api/v1/group_settings?status=active"),onChange:c=>c.resource&&s("group_id",c.resource.id),inputOptions:{value:a.group_id},entryOptions:{id:"id",label:"name",value:"id"},onDismiss:()=>s("group_id",""),errorMessage:o==null?void 0:o.errors.group_id})}),t(x,{leftSide:n("user"),children:t(Pi,{value:a.assigned_user_id,onChange:c=>s("assigned_user_id",c.id),onClearButtonClick:()=>s("assigned_user_id",""),clearButton:!0,errorMessage:o==null?void 0:o.errors.assigned_user_id})}),t(x,{leftSide:n("products"),children:t(Hs,{type:"product_ids",handleChange:s,subscription:a,products:i})}),t(x,{leftSide:n("recurring_products"),children:t(Hs,{type:"recurring_product_ids",handleChange:s,subscription:a,products:i})}),t(x,{leftSide:n("optional_products"),children:t(Hs,{type:"optional_product_ids",handleChange:s,subscription:a,products:i})}),t(x,{leftSide:n("optional_recurring_products"),children:t(Hs,{type:"optional_recurring_product_ids",handleChange:s,subscription:a,products:i})}),r!=="create"&&t(x,{leftSide:n("purchase_page"),children:t(Dt,{className:"break-all",text:a.purchase_page})})]})}function Kc(e){const[n]=N(),{subscription:a,handleChange:s,errors:o}=e;return g.useEffect(()=>{a.allow_cancellation||s("refund_period",0),a.trial_enabled||s("trial_duration",0)},[a.trial_enabled,a.allow_cancellation]),f(Z,{title:n("settings"),children:[t(x,{leftSide:n("frequency"),children:f(se,{value:a.frequency_id,errorMessage:o==null?void 0:o.errors.frequency_id,onValueChange:i=>s("frequency_id",i),children:[t("option",{value:"",children:n("once")}),Object.keys(Oa).map((i,r)=>t("option",{value:i,children:n(Oa[i])},r))]})}),t(x,{leftSide:n("remaining_cycles"),children:f(se,{value:a==null?void 0:a.remaining_cycles,onValueChange:i=>s("remaining_cycles",i),errorMessage:o==null?void 0:o.errors.remaining_cycles,children:[t("option",{value:"-1",children:n("endless")}),[...Array(37).keys()].map((i,r)=>t("option",{value:i,children:i},r))]})}),t(x,{leftSide:n("auto_bill"),children:f(se,{value:a.auto_bill,onValueChange:i=>s("auto_bill",i),errorMessage:o==null?void 0:o.errors.auto_bill,children:[t("option",{defaultChecked:!0}),t("option",{value:"always",children:n("enabled")}),t("option",{value:"optout",children:n("optout")}),t("option",{value:"optin",children:n("optin")}),t("option",{value:"off",children:n("disabled")})]})}),t(x,{leftSide:n("promo_code"),children:t(q,{value:a.promo_code,onValueChange:i=>s("promo_code",i),errorMessage:o==null?void 0:o.errors.promo_code})}),t(x,{leftSide:n("promo_discount"),children:f(es,{children:[t("div",{className:"w-full lg:w-1/2",children:t(We,{value:a.promo_discount||"",onValueChange:i=>s("promo_discount",parseFloat(i)),errorMessage:o==null?void 0:o.errors.promo_discount})}),t("div",{className:"w-full lg:w-1/2",children:f(se,{value:a.is_amount_discount.toString(),onValueChange:i=>s("is_amount_discount",JSON.parse(i)),errorMessage:o==null?void 0:o.errors.is_amount_discount,children:[t("option",{value:"true",children:n("amount")}),t("option",{value:"false",children:n("percent")})]})})]})}),t(x,{leftSide:n("registration_required"),leftSideHelp:n("registration_required_help"),children:t(B,{checked:a.registration_required,onValueChange:i=>s("registration_required",i)})}),t(x,{leftSide:n("use_inventory_management"),leftSideHelp:n("use_inventory_management_help"),children:t(B,{checked:a.use_inventory_management,onValueChange:i=>s("use_inventory_management",i)})}),t(x,{leftSide:n("return_url"),children:t(q,{value:a.webhook_configuration.return_url,onValueChange:i=>s("webhook_configuration.return_url",i),errorMessage:o==null?void 0:o.errors["webhook_configuration.return_url"]})}),t(x,{leftSide:n("allow_query_overrides"),children:t(B,{checked:a.allow_query_overrides,onValueChange:i=>s("allow_query_overrides",i)})}),t(x,{leftSide:n("allow_plan_changes"),children:t(B,{checked:a.allow_plan_changes,onValueChange:i=>s("allow_plan_changes",i)})}),t(x,{leftSide:n("allow_cancellation"),children:t(B,{checked:a.allow_cancellation,onValueChange:i=>s("allow_cancellation",i)})}),a.allow_cancellation&&t(x,{children:f(se,{label:n("refund_period"),value:a.refund_period,onValueChange:i=>s("refund_period",parseFloat(i)||0),withBlank:!0,blankOptionValue:0,errorMessage:o==null?void 0:o.errors.refund_period,children:[t("option",{value:86400,children:n("count_day")}),t("option",{value:172800,children:ft("count_days",{count:2})}),t("option",{value:259200,children:ft("count_days",{count:3})}),t("option",{value:604800,children:ft("count_days",{count:7})}),t("option",{value:1209600,children:ft("count_days",{count:14})}),t("option",{value:2592e3,children:ft("count_days",{count:30})}),t("option",{value:5184e3,children:ft("count_days",{count:60})})]})}),t(x,{leftSide:n("trial_enabled"),children:t(B,{checked:a.trial_enabled,onValueChange:i=>s("trial_enabled",i)})}),a.trial_enabled&&t(x,{children:f(se,{label:n("trial_duration"),value:a.trial_duration,onValueChange:i=>s("trial_duration",parseFloat(i)||0),withBlank:!0,blankOptionValue:0,errorMessage:o==null?void 0:o.errors.trial_duration,children:[t("option",{value:86400,children:n("count_day")}),t("option",{value:172800,children:ft("count_days",{count:2})}),t("option",{value:259200,children:ft("count_days",{count:3})}),t("option",{value:604800,children:ft("count_days",{count:7})}),t("option",{value:1209600,children:ft("count_days",{count:14})}),t("option",{value:2592e3,children:ft("count_days",{count:30})}),t("option",{value:5184e3,children:ft("count_days",{count:60})})]})}),t(x,{leftSide:n("per_seat_enabled"),children:t(B,{checked:a.per_seat_enabled,onValueChange:i=>s("per_seat_enabled",i)})}),a.per_seat_enabled&&t(x,{children:t(q,{label:n("max_seats_limit"),value:a.max_seats_limit,onValueChange:i=>s("max_seats_limit",parseFloat(i)||0),errorMessage:o==null?void 0:o.errors.max_seats_limit})})]})}function Qc(e){const[n]=N(),a=rt(),{subscription:s,handleChange:o,errors:i}=e,[r,c]=g.useState(""),[l,_]=g.useState(""),d=Object.entries(s.webhook_configuration.post_purchase_headers),p=()=>{o(`webhook_configuration.post_purchase_headers.${r}`,l),c(""),_("")},m=h=>{Object.hasOwn(s.webhook_configuration.post_purchase_headers,h)&&(delete s.webhook_configuration.post_purchase_headers[h],o("webhook_configuration",s.webhook_configuration))};return f(Z,{title:n("webhook"),children:[t(x,{leftSide:n("webhook_url"),children:t(q,{value:s.webhook_configuration.post_purchase_url,onValueChange:h=>o("webhook_configuration.post_purchase_url",h),errorMessage:i==null?void 0:i.errors["webhook_configuration.post_purchase_url"]})}),t(x,{leftSide:n("rest_method"),children:f(se,{value:s.webhook_configuration.post_purchase_rest_method,onValueChange:h=>o("webhook_configuration.post_purchase_rest_method",h),errorMessage:i==null?void 0:i.errors["webhook_configuration.post_purchase_rest_method"],children:[t("option",{defaultChecked:!0}),t("option",{value:"post",children:n("post")}),t("option",{value:"put",children:n("put")})]})}),t(x,{leftSide:n("add_header"),children:f("div",{className:"flex flex-col",children:[f("div",{className:"flex flex-1 justify-between items-center",children:[t(q,{label:n("header_key"),value:r,onValueChange:h=>c(h)}),t(q,{label:n("header_value"),value:l,onValueChange:h=>_(h)}),t(gn,{className:"mt-7 text-gray-800 cursor-pointer",fontSize:25,onClick:()=>r&&l&&p()})]}),d==null?void 0:d.map(([h,u],v)=>f("div",{className:"flex flex-1 justify-between items-center space-x-2 mt-4",children:[t("span",{className:"flex-1 text-start",children:h}),t("span",{className:"flex-1 text-start",children:u}),t(Hn,{className:"cursor-pointer",color:a,fontSize:22,onClick:()=>m(h)})]},v)),!d.length&&t("span",{className:"text-gray-500 self-center mt-6 text-xl",children:n("no_headers")})]})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Yc(e){return(n,a)=>{e.setErrors(void 0);const s=ce.cloneDeep(e.subscription);e.setSubscription(ce.set(s,n,a))}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Cv(){const{isAdmin:e,isOwner:n}=Je();return xe(["/api/v1/subscriptions","create"],()=>$("GET",D("/api/v1/subscriptions/create")).then(a=>a.data.data),{staleTime:1/0,enabled:e||n})}function Sv(e){const{isAdmin:n,isOwner:a}=Je();return xe(["/api/v1/subscriptions",e.id],()=>$("GET",D("/api/v1/subscriptions/:id",{id:e.id})).then(s=>s.data.data),{staleTime:1/0,enabled:n||a})}function Ev(){const e=Xe(),n=De(Ut);return async(a,s)=>(T.processing(),$("POST",D("/api/v1/subscriptions/bulk"),{action:s,ids:a}).then(()=>{T.success(`${s}d_subscription`),ie(["subscriptions"]),n&&e.invalidateQueries([n])}))}function Xc({subscription:e,handleChange:n,errors:a}){const{t:s}=N(),o=e.steps?e.steps.split(","):[],[i,r]=g.useState([]),{data:c}=xe({initialData:{},queryKey:["subscriptions","dependencies"],queryFn:()=>$("GET",D("/api/v1/subscriptions/steps")).then(h=>h.data)}),l=c?Object.values(c).filter(h=>!o.includes(h.id)):[];function _(h){n("steps",o.filter(u=>u!==h).join(","))}function d(h){if(!h.destination||!c)return;const u=Array.from(o),[v]=u.splice(h.source.index,1);u.splice(h.destination.index,0,v),n("steps",u.join(",")),p(u.join(","))}function p(h){$("POST",D("/api/v1/subscriptions/steps/check"),{steps:h??o.join(",")}).then(()=>r([])).catch(u=>{var v;(v=u.response)!=null&&v.data.errors.steps&&r(u.response.data.errors.steps)})}g.useEffect(()=>{c&&p()},[o.length]);const m=l.filter(h=>h.id.startsWith("auth.")).filter(h=>o.some(u=>u.startsWith("auth."))?!h.id.startsWith("auth."):!0);return f(Z,{title:s("steps"),children:[t(x,{leftSide:s("authentication"),children:t(se,{value:"",onValueChange:h=>{n("steps",[...o,h].join(","))},withBlank:!0,children:m.map((h,u)=>t("option",{value:h.id,children:s(h.id)},u))})}),t(x,{leftSide:s("other_steps"),children:t(se,{value:"",onValueChange:h=>{n("steps",[...o,h].join(","))},withBlank:!0,children:l.filter(h=>!h.id.startsWith("auth.")).map((h,u)=>t("option",{value:h.id,children:s(h.id)},u))})}),f(x,{leftSide:s("order"),leftSideHelp:s("steps_order_help"),children:[t(ro,{onDragEnd:d,children:t(co,{droppableId:"columns",children:h=>f("div",{...h.droppableProps,ref:h.innerRef,children:[o.map((u,v)=>t(lo,{draggableId:`item-${v}`,index:v,children:b=>f("div",{ref:b.innerRef,...b.draggableProps,className:"flex items-center justify-between py-2",children:[f("div",{className:"flex space-x-2 items-center",children:[t(L,{className:"cursor-pointer",element:Hn,size:20,onClick:()=>_(u)}),t("p",{children:s(u)})]}),t("div",{...b.dragHandleProps,children:t(L,{element:Dr,size:23})})]})},v)),h.placeholder]})})}),a!=null&&a.errors.steps?t("div",{className:"text-red-500 mt-2",children:a.errors.steps}):i.length?t("div",{className:"text-red-500 mt-2",children:i.map((h,u)=>t("p",{children:h},u))}):null]})]})}function Tv(){const{documentTitle:e}=Se("new_payment_link"),[n]=N(),a=Ce(),{data:s}=Cv(),{data:o}=Gc({include:"company",status:["active"]}),i=Yn(),r=[{name:n("settings"),href:"/settings"},{name:n("payment_links"),href:"/settings/subscriptions"},{name:n("new_payment_link"),href:"/settings/subscriptions/create"}],c=[n("overview"),n("settings"),n("webhook"),n("steps")],[l,_]=g.useState(),[d,p]=g.useState(),[m,h]=g.useState(),u=Yc({setErrors:h,setSubscription:_,subscription:l});return g.useEffect(()=>{s&&_({...s,frequency_id:en.Monthly,webhook_configuration:{post_purchase_headers:{},post_purchase_body:"",post_purchase_rest_method:"",post_purchase_url:"",return_url:""}})},[s]),g.useEffect(()=>{o&&p(o)},[o]),f(Ve,{title:e,breadcrumbs:r,onSaveClick:b=>{b.preventDefault(),h(void 0),T.processing(),$("POST",D("/api/v1/subscriptions"),l).then(w=>{T.success("created_subscription"),ie(["subscriptions"]),a(U("/settings/subscriptions/:id/edit",{id:w.data.data.id}))}).catch(w=>{var y;((y=w.response)==null?void 0:y.status)===422&&(h(w.response.data),T.dismiss())})},disableSaveButton:!l||i,children:[i&&t(Fn,{}),f(jn,{tabs:c,children:[t("div",{children:l&&t(Wc,{subscription:l,handleChange:u,errors:m,products:d,page:"create"})}),t("div",{children:l&&t(Kc,{subscription:l,handleChange:u,errors:m})}),t("div",{children:l&&t(Qc,{subscription:l,handleChange:u,errors:m})}),t("div",{children:l&&t(Xc,{subscription:l,handleChange:u,errors:m})})]})]})}function Pv(){const[e]=N(),n=Ev();return[s=>Me(s)===Re.Active&&t(M,{onClick:()=>n([s.id],"archive"),icon:t(L,{element:Rt}),children:e("archive")}),s=>(Me(s)===Re.Archived||Me(s)===Re.Deleted)&&t(M,{onClick:()=>n([s.id],"restore"),icon:t(L,{element:Vt}),children:e("restore")}),s=>(Me(s)===Re.Active||Me(s)===Re.Archived)&&t(M,{onClick:()=>n([s.id],"delete"),icon:t(L,{element:kt}),children:e("delete")})]}function Av(){const{documentTitle:e}=Se("edit_payment_link"),[n]=N(),a=Pv(),{id:s}=xt(),{data:o}=Sv({id:s}),{data:i}=Gc({status:["active"]}),r=[{name:n("settings"),href:"/settings"},{name:n("payment_links"),href:"/settings/subscriptions"},{name:n("edit_payment_link"),href:U("/settings/subscriptions/:id/edit",{id:s})}],c=Yn(),l=[n("overview"),n("settings"),n("webhook"),n("steps")],[_,d]=g.useState(),[p,m]=g.useState(),[h,u]=g.useState(),[v,b]=g.useState(!1),w=Yc({setErrors:u,setSubscription:m,subscription:p});return g.useEffect(()=>{if(o){const{post_purchase_headers:k,post_purchase_body:C,post_purchase_rest_method:S,post_purchase_url:E,return_url:I}=o.webhook_configuration;m({...o,webhook_configuration:{...o.webhook_configuration,post_purchase_headers:Array.isArray(k)?{}:k,post_purchase_body:C||"",post_purchase_rest_method:S||"",post_purchase_url:E||"",return_url:I||""}})}},[o]),g.useEffect(()=>{i&&d(i)},[i]),t(Ve,{title:e,breadcrumbs:r,navigationTopRight:p&&t(oa,{resource:p,onSaveClick:()=>{v||(u(void 0),b(!0),T.processing(),$("PUT",D("/api/v1/subscriptions/:id",{id:s}),p).then(()=>{T.success("updated_subscription"),ie(["subscriptions"])}).catch(k=>{var C;((C=k.response)==null?void 0:C.status)===422&&(u(k.response.data),T.dismiss())}).finally(()=>b(!1)))},actions:a,disableSaveButton:!p||c||v}),children:f(jn,{tabs:l,children:[t("div",{children:p&&t(Wc,{subscription:p,handleChange:w,errors:h,products:_})}),t("div",{children:p&&t(Kc,{subscription:p,handleChange:w,errors:h})}),t("div",{children:p&&t(Qc,{subscription:p,handleChange:w,errors:h})}),t("div",{children:p&&t(Xc,{subscription:p,handleChange:w,errors:h})})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Nv(e){const n=ot();return xe("/api/v1/clients/create",()=>$("GET",D("/api/v1/clients/create")).then(a=>a.data.data),{refetchOnWindowFocus:!!e.refetchOnWindowFocus,staleTime:1/0,enabled:n("create_client")})}function Jc(e){return xe(["/api/v1/clients","per_page=500",e],()=>{var n;return $("GET",D("/api/v1/clients?per_page=500&status=:status",{status:((n=e.status)==null?void 0:n.join(","))??"all"})).then(a=>a.data.data)},{enabled:e.enabled??!0,staleTime:1/0})}function FQe({id:e,enabled:n}){return xe(["/api/v1/clients",e],()=>$("GET",D("/api/v1/clients/:id?include=group_settings,activities.history",{id:e})).then(a=>a.data.data),{enabled:n,staleTime:1/0})}const Iv={assign_group:"updated_group",bulk_update:"updated_records"};function Ni(){const e=Xe(),n=De(Ut);return async(a,s,o)=>{const{groupSettingsId:i,column:r,newValue:c}=o||{};return T.processing(),$("POST",D("/api/v1/clients/bulk"),{action:s,ids:a,...i&&{group_settings_id:i},...r&&{column:r},...s==="bulk_update"&&{new_value:c}}).then(()=>{const l=Iv[s]||`${s}d_client`;T.success(l),n&&e.invalidateQueries([n]),ie(["clients"]),s==="delete"&&ie(["projects"])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Dv(e){return f("svg",{...e,xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 56 56",version:"1.1",viewBox:"0 0 56 56",xmlSpace:"preserve",children:[t("path",{fill:"#E9E9E0",d:"M36.985 0H7.963C7.155 0 6.5.655 6.5 1.926V55c0 .345.655 1 1.463 1h40.074c.808 0 1.463-.655 1.463-1V12.978c0-.696-.093-.92-.257-1.085L37.607.257A.884.884 0 0036.985 0z"}),t("path",{fill:"#D9D7CA",d:"M37.5 0.151L37.5 12 49.349 12z"}),t("path",{fill:"#C8BDB8",d:"M48.037 56H7.963A1.463 1.463 0 016.5 54.537V39h43v15.537c0 .808-.655 1.463-1.463 1.463z"}),t("circle",{cx:"18.5",cy:"47",r:"3",fill:"#FFF"}),t("circle",{cx:"28.5",cy:"47",r:"3",fill:"#FFF"}),t("circle",{cx:"38.5",cy:"47",r:"3",fill:"#FFF"})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function $v(e){return f("svg",{...e,xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 56 56",version:"1.1",viewBox:"0 0 56 56",xmlSpace:"preserve",children:[t("path",{fill:"#E9E9E0",d:"M36.985 0H7.963C7.155 0 6.5.655 6.5 1.926V55c0 .345.655 1 1.463 1h40.074c.808 0 1.463-.655 1.463-1V12.978c0-.696-.093-.92-.257-1.085L37.607.257A.884.884 0 0036.985 0z"}),t("path",{fill:"#D9D7CA",d:"M37.5 0.151L37.5 12 49.349 12z"}),t("circle",{cx:"18.931",cy:"14.431",r:"4.569",fill:"#F3D55B"}),t("path",{fill:"#26B99A",d:"M6.5 39L17.5 39 49.5 39 49.5 28 39.5 18.5 29 30 23.517 24.517z"}),t("path",{fill:"#14A085",d:"M48.037 56H7.963A1.463 1.463 0 016.5 54.537V39h43v15.537c0 .808-.655 1.463-1.463 1.463z"}),t("g",{fill:"#FFF",children:t("path",{d:"M21.426 42.65v7.848c0 .474-.087.873-.26 1.196a2.142 2.142 0 01-.697.779 2.778 2.778 0 01-1.005.41 5.78 5.78 0 01-1.169.117c-.201 0-.436-.021-.704-.062-.269-.041-.547-.104-.834-.191s-.563-.185-.827-.294a3.022 3.022 0 01-.67-.369l.697-1.107c.091.063.221.13.39.198.168.068.353.132.554.191.2.06.41.111.629.157s.424.068.615.068c.483 0 .868-.094 1.155-.28s.439-.504.458-.95V42.65h1.668zM25.514 52.932h-1.641V42.855h2.898c.428 0 .852.068 1.271.205.419.137.795.342 1.128.615.333.273.602.604.807.991s.308.822.308 1.306c0 .511-.087.973-.26 1.388a2.9 2.9 0 01-.725 1.046c-.31.282-.684.501-1.121.656s-.921.232-1.449.232h-1.217v3.638zm0-8.832v3.992h1.504c.2 0 .398-.034.595-.103.196-.068.376-.18.54-.335s.296-.371.396-.649c.1-.278.15-.622.15-1.032 0-.164-.023-.354-.068-.567a1.637 1.637 0 00-.28-.615 1.657 1.657 0 00-.595-.492c-.256-.133-.593-.199-1.012-.199h-1.23zM39.5 47.736v3.896c-.21.265-.444.48-.704.649s-.533.308-.82.417-.583.187-.889.232c-.306.048-.608.07-.909.07-.602 0-1.155-.109-1.661-.328s-.948-.542-1.326-.971c-.378-.429-.675-.966-.889-1.613-.214-.647-.321-1.395-.321-2.242s.107-1.593.321-2.235c.214-.643.51-1.178.889-1.606a3.78 3.78 0 011.333-.978 4.069 4.069 0 011.654-.335c.547 0 1.057.091 1.531.273.474.183.897.456 1.271.82l-1.135 1.012a1.951 1.951 0 00-.752-.574 2.252 2.252 0 00-.875-.178c-.337 0-.659.063-.964.191a2.065 2.065 0 00-.82.649c-.242.306-.431.699-.567 1.183s-.21 1.075-.219 1.777c.009.684.08 1.276.212 1.777.132.501.314.911.547 1.23s.497.556.793.711c.296.155.608.232.937.232.1 0 .234-.007.403-.021a4.91 4.91 0 00.506-.068 3.29 3.29 0 00.485-.13.695.695 0 00.342-.232v-2.488h-1.709v-1.121H39.5z"})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Rv(e){return f("svg",{...e,xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 56 56",version:"1.1",viewBox:"0 0 56 56",xmlSpace:"preserve",children:[t("path",{fill:"#E9E9E0",d:"M36.985 0H7.963C7.155 0 6.5.655 6.5 1.926V55c0 .345.655 1 1.463 1h40.074c.808 0 1.463-.655 1.463-1V12.978c0-.696-.093-.92-.257-1.085L37.607.257A.884.884 0 0036.985 0z"}),t("path",{fill:"#D9D7CA",d:"M37.5 0.151L37.5 12 49.349 12z"}),t("path",{fill:"#CC4B4C",d:"M19.514 33.324c-.348 0-.682-.113-.967-.326-1.041-.781-1.181-1.65-1.115-2.242.182-1.628 2.195-3.332 5.985-5.068 1.504-3.296 2.935-7.357 3.788-10.75-.998-2.172-1.968-4.99-1.261-6.643.248-.579.557-1.023 1.134-1.215a4.91 4.91 0 011.016-.172c.504 0 .947.649 1.261 1.049.295.376.964 1.173-.373 6.802 1.348 2.784 3.258 5.62 5.088 7.562 1.311-.237 2.439-.358 3.358-.358 1.566 0 2.515.365 2.902 1.117.32.622.189 1.349-.39 2.16-.557.779-1.325 1.191-2.22 1.191-1.216 0-2.632-.768-4.211-2.285-2.837.593-6.15 1.651-8.828 2.822-.836 1.774-1.637 3.203-2.383 4.251-1.025 1.435-1.909 2.105-2.784 2.105zm2.662-5.126c-2.137 1.201-3.008 2.188-3.071 2.744-.01.092-.037.334.431.692.149-.047 1.019-.444 2.64-3.436zm13.637-4.442c.815.627 1.014.944 1.547.944.234 0 .901-.01 1.21-.441.149-.209.207-.343.23-.415-.123-.065-.286-.197-1.175-.197-.505.001-1.14.023-1.812.109zm-7.47-6.582a71.291 71.291 0 01-2.674 7.564 49.966 49.966 0 016.496-2.02c-1.35-1.568-2.699-3.526-3.822-5.544zm-.607-8.462c-.098.033-1.33 1.757.096 3.216.949-2.115-.053-3.23-.096-3.216zM48.037 56H7.963A1.463 1.463 0 016.5 54.537V39h43v15.537c0 .808-.655 1.463-1.463 1.463z"}),t("g",{fill:"#FFF",children:t("path",{d:"M17.385 53h-1.641V42.924h2.898c.428 0 .852.068 1.271.205.419.137.795.342 1.128.615.333.273.602.604.807.991s.308.822.308 1.306c0 .511-.087.973-.26 1.388a2.9 2.9 0 01-.725 1.046c-.31.282-.684.501-1.121.656s-.921.232-1.449.232h-1.217V53zm0-8.832v3.992h1.504c.2 0 .398-.034.595-.103.196-.068.376-.18.54-.335.164-.155.296-.371.396-.649.1-.278.15-.622.15-1.032 0-.164-.023-.354-.068-.567a1.637 1.637 0 00-.28-.615 1.657 1.657 0 00-.595-.492c-.255-.132-.593-.198-1.012-.198h-1.23zM32.219 47.682c0 .829-.089 1.538-.267 2.126s-.403 1.08-.677 1.477-.581.709-.923.937-.672.398-.991.513a4.094 4.094 0 01-.875.219c-.264.03-.46.046-.588.046h-3.814V42.924h3.035c.848 0 1.593.135 2.235.403s1.176.627 1.6 1.073.74.955.95 1.524c.21.57.315 1.156.315 1.758zm-4.867 4.115c1.112 0 1.914-.355 2.406-1.066s.738-1.741.738-3.09c0-.419-.05-.834-.15-1.244-.101-.41-.294-.781-.581-1.114s-.677-.602-1.169-.807-1.13-.308-1.914-.308h-.957v7.629h1.627zM36.266 44.168v3.172h4.211v1.121h-4.211V53h-1.668V42.924H40.9v1.244h-4.634z"})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Vv(e){return f("svg",{...e,xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 56 56",version:"1.1",viewBox:"0 0 56 56",xmlSpace:"preserve",children:[t("path",{fill:"#E9E9E0",d:"M36.985 0H7.963C7.155 0 6.5.655 6.5 1.926V55c0 .345.655 1 1.463 1h40.074c.808 0 1.463-.655 1.463-1V12.978c0-.696-.093-.92-.257-1.085L37.607.257A.884.884 0 0036.985 0z"}),t("path",{fill:"#659C35",d:"M48.037 56H7.963A1.463 1.463 0 016.5 54.537V39h43v15.537c0 .808-.655 1.463-1.463 1.463z"}),t("path",{fill:"#D9D7CA",d:"M37.5 0.151L37.5 12 49.349 12z"}),t("g",{fill:"#FFF",children:t("path",{d:"M17.385 53h-1.641V42.924h2.898c.428 0 .852.068 1.271.205.419.137.795.342 1.128.615.333.273.602.604.807.991s.308.822.308 1.306c0 .511-.087.973-.26 1.388a2.9 2.9 0 01-.725 1.046c-.31.282-.684.501-1.121.656s-.921.232-1.449.232h-1.217V53zm0-8.832v3.992h1.504c.2 0 .398-.034.595-.103.196-.068.376-.18.54-.335.164-.155.296-.371.396-.649.1-.278.15-.622.15-1.032 0-.164-.023-.354-.068-.567a1.637 1.637 0 00-.28-.615 1.657 1.657 0 00-.595-.492c-.255-.132-.593-.198-1.012-.198h-1.23zM31.316 42.924V53h-1.668l-3.951-6.945V53h-1.668V42.924h1.668l3.951 6.945v-6.945h1.668zM41.16 47.805v3.896c-.21.265-.444.48-.704.649s-.533.308-.82.417-.584.187-.889.233a6.096 6.096 0 01-.909.068c-.602 0-1.155-.109-1.661-.328s-.948-.542-1.326-.971c-.378-.429-.675-.966-.889-1.613-.214-.647-.321-1.395-.321-2.242s.107-1.593.321-2.235c.214-.643.51-1.178.889-1.606a3.78 3.78 0 011.333-.978 4.069 4.069 0 011.654-.335c.547 0 1.057.091 1.531.273.474.183.897.456 1.271.82l-1.135 1.012a1.951 1.951 0 00-.752-.574 2.252 2.252 0 00-.875-.178c-.337 0-.659.063-.964.191a2.065 2.065 0 00-.82.649c-.242.306-.431.699-.567 1.183s-.21 1.075-.219 1.777c.009.684.08 1.276.212 1.777.132.501.314.911.547 1.23s.497.556.793.711c.296.155.608.232.937.232.1 0 .234-.007.403-.021a4.91 4.91 0 00.506-.068 3.29 3.29 0 00.485-.13.695.695 0 00.342-.232v-2.488h-1.709v-1.121h3.336z"})}),t("circle",{cx:"18.931",cy:"14.431",r:"4.569",fill:"#F3D55B"}),t("path",{fill:"#88C057",d:"M6.5 39L17.5 39 49.5 39 49.5 28 39.5 18.5 29 30 23.517 24.517z"})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function qv(e){return f("svg",{...e,xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 56 56",version:"1.1",viewBox:"0 0 56 56",xmlSpace:"preserve",children:[t("path",{fill:"#E9E9E0",d:"M36.985 0H7.963C7.155 0 6.5.655 6.5 1.926V55c0 .345.655 1 1.463 1h40.074c.808 0 1.463-.655 1.463-1V12.978c0-.696-.093-.92-.257-1.085L37.607.257A.884.884 0 0036.985 0z"}),t("path",{fill:"#D9D7CA",d:"M37.5 0.151L37.5 12 49.349 12z"}),t("path",{fill:"#E57E25",d:"M48.037 56H7.963A1.463 1.463 0 016.5 54.537V39h43v15.537c0 .808-.655 1.463-1.463 1.463z"}),t("g",{fill:"#FFF",children:t("path",{d:"M21.459 50.238c0 .364-.075.718-.226 1.06s-.362.643-.636.902-.61.467-1.012.622-.856.232-1.367.232c-.219 0-.444-.012-.677-.034s-.467-.062-.704-.116-.463-.13-.677-.226-.398-.212-.554-.349l.287-1.176c.128.073.289.144.485.212s.398.132.608.191.419.107.629.144.405.055.588.055c.556 0 .982-.13 1.278-.39.296-.26.444-.645.444-1.155 0-.31-.104-.574-.314-.793s-.472-.417-.786-.595-.654-.355-1.019-.533-.706-.388-1.025-.629-.583-.526-.793-.854-.314-.738-.314-1.23c0-.446.082-.843.246-1.189s.385-.641.663-.882.602-.426.971-.554.759-.191 1.169-.191c.419 0 .843.039 1.271.116s.774.203 1.039.376c-.055.118-.118.248-.191.39l-.205.396c-.063.123-.118.226-.164.308s-.073.128-.082.137c-.055-.027-.116-.063-.185-.109s-.166-.091-.294-.137-.296-.077-.506-.096-.479-.014-.807.014c-.183.019-.355.07-.52.157s-.31.193-.438.321-.228.271-.301.431-.109.313-.109.458c0 .364.104.658.314.882s.47.419.779.588.647.333 1.012.492.704.354 1.019.581.576.513.786.854.318.781.318 1.319zM25.861 53.055L22.73 42.924h1.873l2.338 8.695 2.475-8.695h1.859l-3.281 10.131h-2.133zM40.668 47.805v3.896c-.21.265-.444.48-.704.649s-.533.308-.82.417-.583.187-.889.233-.608.068-.909.068c-.602 0-1.155-.109-1.661-.328s-.948-.542-1.326-.971-.675-.966-.889-1.613-.321-1.395-.321-2.242.107-1.593.321-2.235.511-1.178.889-1.606.822-.754 1.333-.978 1.062-.335 1.654-.335c.547 0 1.058.091 1.531.273s.897.456 1.271.82l-1.135 1.012c-.219-.265-.47-.456-.752-.574s-.574-.178-.875-.178c-.337 0-.658.063-.964.191s-.579.344-.82.649-.431.699-.567 1.183-.21 1.075-.219 1.777c.009.684.08 1.276.212 1.777s.314.911.547 1.23.497.556.793.711.608.232.937.232c.101 0 .234-.007.403-.021s.337-.036.506-.068.33-.075.485-.13.269-.132.342-.232v-2.488h-1.709v-1.121h3.336z"})}),t("path",{fill:"#C8BDB8",d:"M45.5 22v-6h-6v2h-6v-4h-10v4h-6v-2h-6v6h6v-2h3.548c-4.566 2.636-7.548 7.588-7.548 13a1 1 0 102 0c0-5.246 3.229-9.999 8-11.995V24h10v-2.995c4.771 1.997 8 6.75 8 11.995a1 1 0 102 0c0-5.412-2.982-10.364-7.548-13H39.5v2h6zm-30-2h-2v-2h2v2zm16 2h-6v-6h6v6zm10-4h2v2h-2v-2z"})]})}function Zc(e){const n=["jpg","svg","png","pdf"],{size:a=26,type:s}=e;return f(F,{children:[s==="jpg"&&t($v,{height:a}),s==="svg"&&t(qv,{height:a}),s==="png"&&t(Vv,{height:a}),s==="pdf"&&t(Rv,{height:a}),!n.includes(s)&&t(Dv,{height:a})]})}function el(e){const[n]=N(),a=Et(),{disableEditableOptions:s=!1}=e,o=Ec(),[i,r]=g.useState(!1),c=Ie(un),[l,_]=g.useState(),[d,p]=g.useState([]),{dateFormat:m}=At(),h=Xe(),u=w=>{var y;return(y=d.find(({documentId:k})=>k===w))==null?void 0:y.url},v=(w,y)=>{T.processing(),h.fetchQuery(["/api/v1/documents",w.hash],()=>$("GET",D("/documents/:hash",{hash:w.hash}),{headers:va()},{responseType:"arraybuffer"}),{staleTime:1/0}).then(k=>{const C=new Blob([k.data],{type:k.headers["content-type"]}),S=URL.createObjectURL(C);if(y){window.open(S);return}const E=document.createElement("a");E.download=w.name,E.href=S,E.target="_blank",document.body.appendChild(E),E.click(),document.body.removeChild(E),T.dismiss()})},b=w=>{T.processing(),$("delete",D("/api/v1/documents/:id",{id:l}),{},{headers:{"X-Api-Password":w}}).then(()=>{var y;T.success("deleted_document"),(y=e.onDocumentDelete)==null||y.call(e)}).catch(y=>{var k;((k=y.response)==null?void 0:k.status)===412&&(T.error("password_error_incorrect"),c(0))})};return g.useEffect(()=>{a.show_document_preview&&e.documents.forEach(async({id:w,hash:y,type:k})=>{if(!d.find(({documentId:S})=>S===w)&&(k==="png"||k==="jpg")){const S=await h.fetchQuery(["documents",y],()=>$("GET",D("/documents/:hash",{hash:y}),{headers:va()},{responseType:"arraybuffer"}),{staleTime:1/0}),E=new Blob([S.data],{type:S.headers["content-type"]}),I=URL.createObjectURL(E);p(H=>[...H,{documentId:w,url:I}])}})},[a,e.documents]),f(F,{children:[f(Ca,{children:[f(Ea,{children:[t(yt,{children:n("name")}),t(yt,{children:n("date")}),t(yt,{children:n("type")}),t(yt,{children:n("size")}),!s&&t(yt,{})]}),f(Sa,{children:[!e.documents.length&&t($t,{children:t(Ye,{colSpan:5,children:n("no_records_found")})}),e.documents.map((w,y)=>f($t,{children:[t(Ye,{children:f("div",{className:"flex items-center space-x-10",style:{width:"max-content"},children:[f("div",{className:"flex items-center space-x-2",children:[t(Zc,{type:w.type}),t("span",{children:w.name}),w.is_public?t(L,{element:Ks,size:27}):t(L,{element:Qs,size:27})]}),a.show_document_preview&&(w.type==="png"||w.type==="jpg")&&t(F,{children:u(w.id)?t("img",{src:u(w.id),style:{width:150,height:75}}):t(st,{})})]})}),t(Ye,{children:Qe(w.updated_at,m)}),t(Ye,{children:w.type}),t(Ye,{children:Hr(w.size)}),!s&&t(Ye,{children:f(Sn,{label:n("actions"),children:[t(M,{onClick:()=>{v(w,!0)},icon:t(L,{element:Jo}),children:n("view")}),t(M,{onClick:()=>{v(w,!1)},icon:t(L,{element:fa}),children:n("download")}),w.is_public?t(M,{onClick:()=>{o(w.id,!1).then(()=>{var k;return(k=e.onDocumentDelete)==null?void 0:k.call(e)})},icon:t(L,{element:Qs}),children:n("set_private")}):t(M,{onClick:()=>{o(w.id,!0).then(()=>{var k;return(k=e.onDocumentDelete)==null?void 0:k.call(e)})},icon:t(L,{element:Ks}),children:n("set_public")}),t(M,{onClick:()=>{_(w.id),r(!0)},icon:t(L,{element:kt}),children:n("delete")})]})})]},y))]})]}),t(yn,{show:i,onClose:r,onSave:b})]})}function Lv(){const{t:e}=N(),{dateFormat:n}=At(),a=Et(),s=Ec(),o=Ie(un),[i,r]=g.useState(1),[c,l]=g.useState("10"),[_,d]=g.useState(""),[p,m]=g.useState(!1),[h,u]=g.useState([]),{data:v,isLoading:b}=Cc({perPage:c,currentPage:i,companyDocuments:"true"}),w=Xe(),y=E=>{var I;return(I=h.find(({documentId:H})=>H===E))==null?void 0:I.url},k=()=>{ie(["documents"])},C=async(E,I)=>{T.processing();const H=await w.fetchQuery(["/api/v1/documents",E.hash],()=>$("GET",D("/documents/:hash",{hash:E.hash}),{headers:va()},{responseType:"arraybuffer"}),{staleTime:1/0});T.dismiss();const z=new Blob([H.data],{type:H.headers["content-type"]}),j=URL.createObjectURL(z);if(I){window.open(j);return}const W=document.createElement("a");W.download=E.name,W.href=j,W.target="_blank",document.body.appendChild(W),W.click(),document.body.removeChild(W)},S=(E,I=!0)=>{T.processing(),$("delete",D("/api/v1/documents/:id",{id:_}),{},{headers:{"X-Api-Password":E}}).then(()=>T.success("deleted_document")).catch(H=>{var z;((z=H.response)==null?void 0:z.status)===412&&(T.error("password_error_incorrect"),o(0))}).finally(()=>k())};return g.useEffect(()=>{a.show_document_preview&&v&&v.data.data.forEach(async({id:E,hash:I,type:H})=>{if(!h.find(({documentId:j})=>j===E)&&(H==="png"||H==="jpg")){const j=await w.fetchQuery(["/api/v1/documents",I],()=>$("GET",D("/documents/:hash",{hash:I}),{headers:va()},{responseType:"arraybuffer"}),{staleTime:1/0}),W=new Blob([j.data],{type:j.headers["content-type"]}),ee=URL.createObjectURL(W);u(V=>[...V,{documentId:E,url:ee}])}})},[a,v==null?void 0:v.data.data]),f(F,{children:[f(Ca,{children:[f(Ea,{children:[t(yt,{children:e("name")}),t(yt,{children:e("date")}),t(yt,{children:e("type")}),t(yt,{children:e("size")}),t(yt,{})]}),f(Sa,{children:[b&&t($t,{children:t(Ye,{colSpan:5,children:t(st,{})})}),v&&v.data.data.map(E=>f($t,{children:[t(Ye,{children:f("div",{className:"flex items-center space-x-10",style:{width:"max-content"},children:[f("div",{className:"flex items-center space-x-2",children:[t(Zc,{type:E.type}),t("span",{children:E.name}),E.is_public?t(L,{element:Ks,size:27}):t(L,{element:Qs,size:27})]}),a.show_document_preview&&(E.type==="png"||E.type==="jpg")&&t(F,{children:y(E.id)?t("img",{src:y(E.id),style:{width:150,height:75}}):t(st,{})})]})}),t(Ye,{children:Qe(E.updated_at,n)}),t(Ye,{children:E.type}),t(Ye,{children:Hr(E.size)}),t(Ye,{children:f(Sn,{label:e("actions"),children:[t(M,{onClick:()=>{C(E,!0)},icon:t(L,{element:Jo}),children:e("view")}),t(M,{onClick:()=>{C(E,!1)},icon:t(L,{element:fa}),children:e("download")}),E.is_public?t(M,{onClick:()=>{s(E.id,!1).then(()=>k())},icon:t(L,{element:Qs}),children:e("set_private")}):t(M,{onClick:()=>{s(E.id,!0).then(()=>k())},icon:t(L,{element:Ks}),children:e("set_public")}),t(M,{onClick:()=>{d(E.id),m(!0)},icon:t(L,{element:kt}),children:e("delete")})]})})]},E.id))]})]}),v&&t(Dc,{currentPage:i,onPageChange:r,onRowsChange:l,totalPages:v.data.meta.pagination.total_pages}),t(yn,{show:p,onClose:m,onSave:S})]})}function Ii(e){const[n]=N(),{disableUpload:a=!1}=e,s=bt(),[o,i]=g.useState(new FormData),[r,c]=g.useState(),l=On({enableReinitialize:!0,initialValues:{},onSubmit:()=>{T.processing(),c(void 0),$("POST",e.endpoint,o,{headers:{"Content-Type":"multipart/form-data"}}).then(()=>{var h;T.success("uploaded_document"),i(new FormData),(h=e.onSuccess)==null||h.call(e)}).catch(h=>{var u;((u=h.response)==null?void 0:u.status)===422&&(T.dismiss(),c(h.response.data)),i(new FormData)})}}),{getRootProps:_,getInputProps:d,isDragActive:p}=Ds({disabled:!Ct()&&It()||a,onDrop:h=>{o.append("_method","PUT"),h.forEach(u=>o.append("documents[]",u)),i(o),l.submitForm()}}),m=me();return e.widgetOnly?f(F,{children:[!Ct()&&It()&&t(it,{className:"mb-4",type:"warning",disableClosing:!0,children:f("div",{className:"flex items-center",children:[t(Ja,{className:"mr-2",fontSize:20}),n("upgrade_to_upload_images"),(s==null?void 0:s.company_user)&&t(Pe,{className:"ml-10",external:!0,to:s.company_user.ninja_portal_url,children:n("plan_change")})]})}),t("div",{..._(),className:"flex flex-col md:flex-row md:items-center",children:f("div",{className:"relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",children:[t("input",{...d()}),t(qa,{className:"mx-auto h-12 w-12 text-gray-400"}),t("span",{className:"mt-2 block text-sm font-medium",style:{color:m.$3},children:n(p?"drop_file_here":"dropzone_default_message")})]})}),r&&Object.keys(r.errors).map((h,u)=>t(it,{className:"mt-2",type:"danger",children:r.errors[h]},u))]}):f(F,{children:[!Ct()&&It()&&t(it,{className:"mb-4",type:"warning",disableClosing:!0,children:f("div",{className:"flex items-center",children:[t(Ja,{className:"mr-2",fontSize:20}),n("upgrade_to_upload_images"),(s==null?void 0:s.company_user)&&t(Pe,{className:"ml-10",external:!0,to:s.company_user.ninja_portal_url,children:n("plan_change")})]})}),t(Z,{title:n("upload"),children:t(x,{leftSide:n("upload"),children:t("div",{..._(),className:"flex flex-col md:flex-row md:items-center",children:f("div",{className:"relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",children:[t("input",{...d()}),t(qa,{className:"mx-auto h-12 w-12 text-gray-400"}),t("span",{className:"mt-2 block text-sm font-medium",style:{color:m.$3},children:p?"drop_file_here":n("dropzone_default_message")})]})})})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function go(){const e=bt(),{isAdmin:n,isOwner:a}=Je();return(s,o)=>{if(o)return!!(e&&s&&s.user_id===e.id)||n||a;const i=e&&s&&"assigned_user_id"in s&&s.assigned_user_id===e.id;return!!(e&&s&&(s.user_id===e.id||i||n||a))}}function Ov({client:e,errors:n,setClient:a}){var b,w,y,k,C,S,E;const[s]=N(),o=wi(),i=_o(),r=ot(),c=go(),{data:l}=$c({}),{data:_}=tn(),{id:d}=xt(),p=(I,H)=>{a(z=>z&&{...z,[I]:H})},m=(I,H)=>{var j;const z=ce.cloneDeep(e);I!=="currency_id"&&H===""?(j=z.settings)==null||delete j[I]:ce.set(z,`settings.${I}`,H),a(z)},[h,u]=g.useState([s("settings"),s("notes"),s("classify"),s("documents")]);g.useEffect(()=>{d||u(I=>I.filter(H=>H!==s("documents")))},[]);const v=()=>{ie(["clients"])};return t(Z,{title:s("additional_info"),children:f(jn,{className:"px-5",tabs:h,formatTabLabel:I=>{if(I===3)return t(vi,{numberOfDocuments:e==null?void 0:e.documents.length})},children:[f("div",{className:"-mx-5",children:[o.length>1&&t(x,{leftSide:s("currency"),children:t(ts,{value:((b=e==null?void 0:e.settings)==null?void 0:b.currency_id)||"",onChange:I=>m("currency_id",I),errorMessage:n==null?void 0:n.errors["settings.currency_id"],dismissable:!0})}),i.length>1&&t(x,{leftSide:s("language"),children:t(js,{value:((w=e==null?void 0:e.settings)==null?void 0:w.language_id)||"",onChange:I=>m("language_id",I),errorMessage:n==null?void 0:n.errors["settings.language_id"],dismissable:!0})}),l&&t(x,{leftSide:s("payment_terms"),children:t(se,{id:"settings.payment_terms",defaultValue:((y=e==null?void 0:e.settings)==null?void 0:y.payment_terms)||"",errorMessage:n==null?void 0:n.errors["settings.payment_terms"],onValueChange:I=>m("payment_terms",I),withBlank:!0,customSelector:!0,children:l.data.data.map((I,H)=>t("option",{value:I.num_days,children:I.name},H))})}),l&&t(x,{leftSide:s("quote_valid_until"),children:t(se,{id:"settings.valid_until",defaultValue:((k=e==null?void 0:e.settings)==null?void 0:k.valid_until)||"",onValueChange:I=>m("valid_until",I),errorMessage:n==null?void 0:n.errors["settings.valid_until"],withBlank:!0,customSelector:!0,children:l.data.data.map((I,H)=>t("option",{value:I.num_days,children:I.name},H))})}),t(x,{leftSide:s("task_rate"),children:t(We,{value:((C=e==null?void 0:e.settings)==null?void 0:C.default_task_rate)||"",onValueChange:I=>m("default_task_rate",parseFloat(I)),errorMessage:n==null?void 0:n.errors["settings.default_task_rate"]})}),t(x,{leftSide:s("send_reminders"),children:f(se,{id:"settings.send_reminders",defaultValue:((S=e==null?void 0:e.settings)==null?void 0:S.send_reminders)===!0?"enabled":((E=e==null?void 0:e.settings)==null?void 0:E.send_reminders)===!1?"disabled":"",onValueChange:I=>m("send_reminders",I==="enabled"?!0:I===""?"":!1),withBlank:!0,errorMessage:n==null?void 0:n.errors["settings.send_reminders"],customSelector:!0,children:[t("option",{value:"enabled",children:s("enabled")}),t("option",{value:"disabled",children:s("disabled")})]})})]}),f("div",{className:"-mx-5",children:[t(x,{leftSide:s("public_notes"),children:t(Xt,{value:e==null?void 0:e.public_notes,onChange:I=>p("public_notes",I)})}),t(x,{leftSide:s("private_notes"),children:t(Xt,{value:e==null?void 0:e.private_notes,onChange:I=>p("private_notes",I)})})]}),f("div",{className:"-mx-5",children:[_&&t(x,{leftSide:s("size_id"),children:t(se,{id:"size_id",defaultValue:(e==null?void 0:e.size_id)||"",onValueChange:I=>p("size_id",I),errorMessage:n==null?void 0:n.errors.size_id,withBlank:!0,customSelector:!0,children:_==null?void 0:_.sizes.map((I,H)=>t("option",{value:I.id,children:I.name},H))})}),_&&t(x,{leftSide:s("industry"),children:t(se,{id:"industry_id",defaultValue:(e==null?void 0:e.industry_id)||"",errorMessage:n==null?void 0:n.errors.industry_id,onValueChange:I=>p("industry_id",I),withBlank:!0,customSelector:!0,children:_==null?void 0:_.industries.map((I,H)=>t("option",{value:I.id,children:I.name},H))})})]}),d?t("div",{children:f("div",{className:"px-6",children:[t(Ii,{widgetOnly:!0,endpoint:D("/api/v1/clients/:id/upload",{id:d}),onSuccess:v}),t(el,{documents:(e==null?void 0:e.documents)||[],onDocumentDelete:v,disableEditableOptions:!c(e,!0)&&!r("edit_client")})]})}):t(F,{})]})})}function Mv(e){var r,c,l,_,d,p;const[n]=N(),{errors:a,setClient:s,setErrors:o}=e,i=m=>{o(void 0),s(h=>h&&ce.set(h,m.target.id,m.target.value))};return f(F,{children:[t(x,{leftSide:n("billing_address1"),children:t(q,{id:"address1",value:((r=e.client)==null?void 0:r.address1)||"",onChange:i,errorMessage:a==null?void 0:a.errors.address1})}),t(x,{leftSide:n("address2"),children:t(q,{id:"address2",value:((c=e.client)==null?void 0:c.address2)||"",onChange:i,errorMessage:a==null?void 0:a.errors.address2})}),t(x,{leftSide:n("city"),children:t(q,{id:"city",value:((l=e.client)==null?void 0:l.city)||"",onChange:i,errorMessage:a==null?void 0:a.errors.city})}),t(x,{leftSide:n("state"),children:t(q,{id:"state",value:((_=e.client)==null?void 0:_.state)||"",onChange:i,errorMessage:a==null?void 0:a.errors.state})}),t(x,{leftSide:n("postal_code"),children:t(q,{id:"postal_code",value:((d=e.client)==null?void 0:d.postal_code)||"",onChange:i,errorMessage:a==null?void 0:a.errors.postal_code})}),t(x,{leftSide:n("country"),children:t(Fs,{value:((p=e.client)==null?void 0:p.country_id)||"",errorMessage:a==null?void 0:a.errors.country_id,onChange:m=>s(h=>h&&{...h,country_id:m}),dismissable:!0})})]})}function jv(e){var c,l,_,d,p,m;const[n]=N(),{errors:a,setErrors:s,setClient:o}=e,i=h=>{s(void 0),o(u=>u&&ce.set(u,h.target.id,h.target.value))};return f(F,{children:[t(te,{onClick:()=>{e.setClient(h=>h&&{...h,shipping_address1:h==null?void 0:h.address1,shipping_address2:h==null?void 0:h.address2,shipping_city:h==null?void 0:h.city,shipping_state:h==null?void 0:h.state,shipping_postal_code:h==null?void 0:h.postal_code,shipping_country_id:h==null?void 0:h.country_id})},type:"secondary",behavior:"button",className:"mx-4 rounded-md bg-grey h-6",children:n("copy_billing")}),t(x,{leftSide:n("shipping_address1"),children:t(q,{id:"shipping_address1",value:((c=e.client)==null?void 0:c.shipping_address1)||"",onChange:i,errorMessage:a==null?void 0:a.errors.shipping_address1})}),t(x,{leftSide:n("address2"),children:t(q,{id:"shipping_address2",value:((l=e.client)==null?void 0:l.shipping_address2)||"",onChange:i})}),t(x,{leftSide:n("city"),children:t(q,{id:"shipping_city",value:((_=e.client)==null?void 0:_.shipping_city)||"",onChange:i,errorMessage:a==null?void 0:a.errors.shipping_city})}),t(x,{leftSide:n("state"),children:t(q,{id:"shipping_state",value:((d=e.client)==null?void 0:d.shipping_state)||"",onChange:i,errorMessage:a==null?void 0:a.errors.shipping_state})}),t(x,{leftSide:n("postal_code"),children:t(q,{id:"shipping_postal_code",value:((p=e.client)==null?void 0:p.shipping_postal_code)||"",onChange:i,errorMessage:a==null?void 0:a.errors.shipping_postal_code})}),t(x,{leftSide:n("country"),children:t(Fs,{onChange:h=>o(u=>u&&{...u,shipping_country_id:h}),value:((m=e.client)==null?void 0:m.shipping_country_id)||"",errorMessage:a==null?void 0:a.errors.shipping_country_id,dismissable:!0})})]})}function Fv(e){const[n]=N();return t(Z,{title:n("address"),children:f(jn,{className:"px-5",tabs:[n("billing_address"),n("shipping_address")],children:[t("div",{className:"-mx-5",children:t(Mv,{...e})}),t("div",{className:"-mx-5",children:t(jv,{...e})})]})})}function Bv(e){const[n]=N(),{size:a=22}=e||{};return t(Qt,{tooltipElement:ci(n("user_unsubscribed"),":link",()=>f(Pe,{className:"lowercase text-xs",to:"https://invoiceninja.github.io/en/hosted-mail/",external:!0,children:[n("link"),"."]})),width:"auto",placement:"top",children:t(ua,{color:"red",size:a})})}function zv(e){const[n]=N(),a=rt(),s=we(),o=(l,_,d)=>{e.setErrors(void 0);const p=e.contacts.findIndex(m=>m.contact_key===d);ce.set(e.contacts[p],_,l),e.setContacts([...e.contacts])},i=l=>{const _=[...e.contacts];_.splice(l,1),e.setContacts(_)},r=()=>{const l=[...e.contacts];l.push({contact_key:io().replaceAll("-",""),first_name:"",last_name:"",email:"",password:"",phone:"",send_email:!1}),e.setContacts(l)},c=me();return t(Z,{className:"mt-4 xl:mt-0",title:n("contacts"),children:e.contacts.map((l,_,d)=>{var p,m,h,u,v,b,w,y,k;return f("div",{className:"pb-4 mb-4 border-b",style:{borderColor:c.$5},children:[t(x,{leftSide:n("first_name"),children:t(q,{id:`first_name_${_}`,value:l.first_name,onChange:C=>o(C.target.value,"first_name",l.contact_key),errorMessage:(p=e.errors)==null?void 0:p.errors.name})}),t(x,{leftSide:n("last_name"),children:t(q,{id:`last_name_${_}`,value:l.last_name,onChange:C=>o(C.target.value,"last_name",l.contact_key),errorMessage:(m=e.errors)==null?void 0:m.errors.name})}),t(x,{leftSide:n("email"),children:t(q,{id:`email_${_}`,value:l.email,onChange:C=>o(C.target.value,"email",l.contact_key),errorMessage:(h=e.errors)==null?void 0:h.errors[`contacts.${_}.email`]})}),(s==null?void 0:s.settings.enable_client_portal_password)&&t(x,{leftSide:n("password"),children:t(q,{id:`password_${_}`,type:"password",value:l.password,onChange:C=>o(C.target.value,"password",l.contact_key),errorMessage:(u=e.errors)==null?void 0:u.errors[`contacts.${_}.password`]})}),t(x,{leftSide:n("phone"),children:t(q,{id:`phone_${_}`,value:l.phone,onChange:C=>o(C.target.value,"phone",l.contact_key),errorMessage:(v=e.errors)==null?void 0:v.errors[`contacts.${_}.phone`]})}),t(x,{leftSide:n("add_to_invoices"),children:t(B,{checked:!!(l!=null&&l.send_email),onChange:C=>o(C,"send_email",l.contact_key)})}),((b=s==null?void 0:s.custom_fields)==null?void 0:b.contact1)&&t(at,{field:"contact1",defaultValue:l.custom_value1,value:s.custom_fields.contact1,onValueChange:C=>o(C,"custom_value1",l.contact_key)}),((w=s==null?void 0:s.custom_fields)==null?void 0:w.contact2)&&t(at,{field:"contact2",defaultValue:l.custom_value2,value:s.custom_fields.contact2,onValueChange:C=>o(C,"custom_value2",l.contact_key)}),((y=s==null?void 0:s.custom_fields)==null?void 0:y.contact3)&&t(at,{field:"contact3",defaultValue:l.custom_value3,value:s.custom_fields.contact3,onValueChange:C=>o(C,"custom_value3",l.contact_key)}),((k=s==null?void 0:s.custom_fields)==null?void 0:k.contact4)&&t(at,{field:"contact4",defaultValue:l.custom_value4,value:s.custom_fields.contact4,onValueChange:C=>o(C,"custom_value4",l.contact_key)}),t(x,{...l.is_locked&&{leftSide:t("div",{className:"flex",children:t(Bv,{size:25})})},children:f("div",{className:"flex items-center",children:[t("div",{className:"flex items-center justify-between w-1/2",children:e.contacts.length>=2&&t("button",{type:"button",onClick:()=>i(_),className:"text-red-600",children:n("remove_contact")})}),t("div",{className:"w-1/2 flex justify-end",children:_+1===d.length&&t("button",{type:"button",onClick:r,style:{color:a},children:n("add_contact")})})]})})]},_)})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Uv(e){return xe(["/api/v1/group_settings",e],()=>$("GET",D("/api/v1/group_settings?status=:status&per_page=:perPage",{status:(e==null?void 0:e.status)??"active",perPage:(e==null?void 0:e.perPage)??20})).then(n=>n.data.data),{staleTime:1/0})}function Hv(e){const{id:n}=e;return xe(["/api/v1/group_settings",n],()=>$("GET",D("/api/v1/group_settings/:id",{id:n})).then(a=>a.data.data),{staleTime:1/0})}function Gv(){return(e,n)=>{T.processing(),$("POST",D("/api/v1/group_settings/bulk"),{action:n,ids:e}).then(()=>{T.success(`${n}d_group`),ie(["group_settings"])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Wv(){return xe(["/api/v1/users"],()=>$("GET",D("/api/v1/users")),{staleTime:1/0})}function Kv(e){return xe(["/api/v1/users",e.id],()=>$("GET",D("/api/v1/users/:id?include=company_user",{id:e.id})),{enabled:e.enabled,staleTime:1/0})}function Qv(){const{isAdmin:e}=Je();return xe(["/api/v1/users/create"],()=>$("GET",D("/api/v1/users/create")),{staleTime:1/0,enabled:e})}function Yv(){const e=Ie(un),n=Kr();return(a,s,o)=>{T.processing(),$("POST",D("/api/v1/users/bulk"),{action:s,ids:a},{headers:{"X-Api-Password":o}}).then(()=>{T.success(`${s}d_user`),n(["users"])}).catch(i=>{var r;((r=i.response)==null?void 0:r.status)===412&&(T.error("password_error_incorrect"),e(0))})}}function Xv(e){var c,l,_,d,p,m,h,u,v,b,w,y,k,C,S,E,I,H,z,j,W,ee,V,O,Y,le,ne,Le,ze;const[n]=N(),{data:a}=Wv(),{data:s}=Uv(),o=(G,ge)=>{e.setErrors(void 0),e.setClient(qe=>qe&&ce.set({...qe},G,ge))},i=(G,ge)=>{e.setClient(qe=>qe&&ce.set({...qe},G,ge))},r=we();return f(Z,{title:n("company_details"),children:[e.client&&e.page==="edit"&&t(x,{leftSide:n("status"),children:t(En,{entity:e.client})}),t(x,{leftSide:n("name"),children:t(q,{value:((c=e.client)==null?void 0:c.name)||"",onValueChange:G=>o("name",G),errorMessage:(l=e.errors)==null?void 0:l.errors.name})}),t(x,{leftSide:n("number"),children:t(q,{value:((_=e.client)==null?void 0:_.number)||"",onValueChange:G=>o("number",G),errorMessage:(d=e.errors)==null?void 0:d.errors.number})}),s&&t(x,{leftSide:n("group"),children:t(se,{value:(p=e.client)==null?void 0:p.group_settings_id,onValueChange:G=>o("group_settings_id",G),errorMessage:(m=e.errors)==null?void 0:m.errors.group_settings_id,withBlank:!0,customSelector:!0,children:s.map((G,ge)=>t("option",{value:G.id,children:G.name},ge))})}),a&&t(x,{leftSide:n("user"),children:t(se,{value:(h=e.client)==null?void 0:h.assigned_user_id,onValueChange:G=>o("assigned_user_id",G),errorMessage:(u=e.errors)==null?void 0:u.errors.assigned_user_id,withBlank:!0,customSelector:!0,children:a.data.data.map((G,ge)=>f("option",{value:G.id,children:[G.first_name," ",G.last_name]},ge))})}),t(x,{leftSide:n("id_number"),children:t(q,{value:((v=e.client)==null?void 0:v.id_number)||"",onValueChange:G=>o("id_number",G),errorMessage:(b=e.errors)==null?void 0:b.errors.id_number})}),t(x,{leftSide:n("vat_number"),children:t(q,{value:((w=e.client)==null?void 0:w.vat_number)||"",onValueChange:G=>o("vat_number",G),errorMessage:(y=e.errors)==null?void 0:y.errors.vat_number})}),t(x,{leftSide:n("website"),children:t(q,{value:((k=e.client)==null?void 0:k.website)||"",onValueChange:G=>o("website",G),errorMessage:(C=e.errors)==null?void 0:C.errors.website})}),t(x,{leftSide:n("phone"),children:t(q,{value:((S=e.client)==null?void 0:S.phone)||"",onValueChange:G=>o("phone",G),errorMessage:(E=e.errors)==null?void 0:E.errors.phone})}),t(x,{leftSide:n("routing_id"),children:t(q,{value:((I=e.client)==null?void 0:I.routing_id)||"",onValueChange:G=>o("routing_id",G),errorMessage:(H=e.errors)==null?void 0:H.errors.routing_id})}),t(x,{leftSide:n("valid_vat_number"),children:t(B,{checked:!!((z=e.client)!=null&&z.has_valid_vat_number),onValueChange:G=>i("has_valid_vat_number",G)})}),t(x,{leftSide:n("tax_exempt"),children:t(B,{checked:!!((j=e.client)!=null&&j.is_tax_exempt),onValueChange:G=>i("is_tax_exempt",G)})}),t(x,{leftSide:n("classification"),children:f(se,{value:((W=e.client)==null?void 0:W.classification)??"",onValueChange:G=>o("classification",G),withBlank:!0,customSelector:!0,children:[t("option",{value:"individual",children:n("individual")}),t("option",{value:"business",children:n("business")}),t("option",{value:"company",children:n("company")}),t("option",{value:"partnership",children:n("partnership")}),t("option",{value:"trust",children:n("trust")}),t("option",{value:"charity",children:n("charity")}),t("option",{value:"government",children:n("government")}),t("option",{value:"other",children:n("other")})]})}),((ee=r==null?void 0:r.custom_fields)==null?void 0:ee.client1)&&t(at,{field:"client1",defaultValue:(V=e.client)==null?void 0:V.custom_value1,value:r.custom_fields.client1,onValueChange:G=>i("custom_value1",G)}),((O=r==null?void 0:r.custom_fields)==null?void 0:O.client2)&&t(at,{field:"client2",defaultValue:(Y=e.client)==null?void 0:Y.custom_value2,value:r.custom_fields.client2,onValueChange:G=>i("custom_value2",G)}),((le=r==null?void 0:r.custom_fields)==null?void 0:le.client3)&&t(at,{field:"client3",defaultValue:(ne=e.client)==null?void 0:ne.custom_value3,value:r.custom_fields.client3,onValueChange:G=>i("custom_value3",G)}),((Le=r==null?void 0:r.custom_fields)==null?void 0:Le.client4)&&t(at,{field:"client4",defaultValue:(ze=e.client)==null?void 0:ze.custom_value4,value:r.custom_fields.client4,onValueChange:G=>i("custom_value4",G)})]})}function tl({isModalOpen:e,setIsModalOpen:n,onClientCreated:a}){var w;const[s]=N(),[o,i]=g.useState(),[r,c]=g.useState(),[l,_]=g.useState([{first_name:"",last_name:"",email:"",phone:"",send_email:!1}]),[d,p]=g.useState(!0),{data:m}=Nv({refetchOnWindowFocus:!1}),h=(y,k)=>{c(void 0),i(C=>C&&ce.set({...C},y,k))},u=(y,k)=>{c(void 0);const C=l.findIndex(S=>S.contact_key===l[0].contact_key);ce.set(l[C],k,y),_([...l])},v=y=>{p(!0),n(y),c(void 0),i(void 0),_(()=>[{first_name:"",last_name:"",email:"",phone:"",send_email:!1}])},b=()=>{if(ce.set(o,"contacts",l),T.processing(),c(void 0),!((o==null?void 0:o.name)!=""||l[0].first_name!=""||l[0].last_name!=""))return c({message:s("invalid_data //needs translation"),errors:{name:[s("please_enter_a_client_or_contact_name")]}}),T.error(),b;$("POST",D("/api/v1/clients"),o).then(y=>{T.success("created_client"),a&&a(y.data.data),ie(["clients"]),window.dispatchEvent(new CustomEvent("invalidate.combobox.queries",{detail:{url:D("/api/v1/clients")}})),v(!1)}).catch(y=>{var k;((k=y.response)==null?void 0:k.status)===422&&(c(y.response.data),T.dismiss())})};return g.useEffect(()=>{m&&e&&i({...m})},[e]),t(Fe,{title:s("new_client"),visible:e,onClose:()=>v(!1),size:d?"extraSmall":"large",renderTransitionChildAsFragment:!0,overflowVisible:!0,children:f("div",{className:"flex flex-col space-y-7",children:[o?t(F,{children:d?f("div",{className:"flex flex-col space-y-3",children:[t(q,{label:s("name"),value:(o==null?void 0:o.name)||"",onValueChange:y=>h("name",y),errorMessage:r==null?void 0:r.errors.name}),t(q,{label:`${s("contact")} ${s("first_name")}`,value:l[0].first_name,onValueChange:y=>u(y,"first_name"),errorMessage:r==null?void 0:r.errors.name}),t(q,{label:`${s("contact")} ${s("last_name")}`,value:l[0].last_name,onValueChange:y=>u(y,"last_name"),errorMessage:r==null?void 0:r.errors.name}),t(q,{label:`${s("contact")} ${s("email")}`,value:l[0].email,onValueChange:y=>u(y,"email"),errorMessage:r==null?void 0:r.errors["contacts.0.email"]}),t(q,{label:`${s("contact")} ${s("phone")}`,value:l[0].phone,onValueChange:y=>u(y,"phone"),errorMessage:r==null?void 0:r.errors["contacts.0.phone"]}),t(ts,{label:s("currency"),value:((w=o==null?void 0:o.settings)==null?void 0:w.currency_id)||"",onChange:y=>{const k=ce.cloneDeep(o);ce.set(k,"settings.currency_id",y),i(k)},errorMessage:r==null?void 0:r.errors["settings.currency_id"],dismissable:!0})]}):f("div",{className:"flex flex-col xl:flex-row xl:gap-4",children:[f("div",{className:"w-full xl:w-1/2",children:[t(Xv,{client:o,setClient:i,setErrors:c,errors:r}),t("div",{className:"mt-5",children:t(Fv,{client:o,setClient:i,setErrors:c,errors:r})})]}),f("div",{className:"w-full xl:w-1/2",children:[t(zv,{contacts:l,setContacts:_,setErrors:c,errors:r}),t("div",{className:"mt-5",children:t(Ov,{client:o,setClient:i,setErrors:c,errors:r})})]})]})}):t(st,{}),f("div",{className:oe("flex",{"justify-between":d,"justify-end space-x-5":!d}),children:[t(te,{behavior:"button",type:"secondary",onClick:()=>p(y=>!y),children:s(d?"more_fields":"less_fields")}),t(te,{behavior:"button",onClick:b,children:s("save")})]})]})})}function vo(e){var r;const[n]=N(),[a,s]=g.useState(!1),o=ot(),{dropdownLabelFn:i}=e;return f(F,{children:[t(tl,{isModalOpen:a,setIsModalOpen:s,onClientCreated:c=>e.onChange(c)}),t(sn,{inputOptions:{label:(r=e.inputLabel)==null?void 0:r.toString(),value:e.value||null},endpoint:D("/api/v1/clients"),readonly:e.readonly,onDismiss:e.onClearButtonClick,querySpecificEntry:"/api/v1/clients/:id",initiallyVisible:e.initiallyVisible,entryOptions:{id:"id",label:"display_name",value:"id",customSearchableValue:c=>c.contacts.map(({email:l})=>l).join(","),dropdownLabelFn:i},onChange:c=>c.resource&&e.onChange(c.resource),staleTime:e.staleTime||1/0,sortBy:null,exclude:e.exclude,action:{label:n("new_client"),visible:!(e.withoutAction||!o("create_client")),onClick:()=>s(!0)},clearInputAfterSelection:e.clearInputAfterSelection},"client_selector"),e.errorMessage&&t(it,{className:"mt-2",type:"danger",children:e.errorMessage})]})}const yo=et(void 0);function Jv(e){const[n]=N(),a=rt(),s=De(yo),{schedule:o,handleChange:i,errors:r,page:c}=e,{data:l}=Jc({enabled:c==="edit"||!!s}),[_,d]=g.useState([]),p=h=>{const u={...o.parameters};u.clients=h.map(({id:v})=>v),i("parameters",u)},m=h=>{const u=_.filter((v,b)=>b!==h);p(u),d(u)};return g.useEffect(()=>{if((c==="edit"||s)&&l){const h=l==null?void 0:l.filter(u=>{var v;return(v=o.parameters.clients)==null?void 0:v.includes(u.id)});d(h)}},[l]),f(F,{children:[t(x,{leftSide:n("date_range"),children:f(se,{value:o.parameters.date_range,onValueChange:h=>i("parameters.date_range",h),errorMessage:r==null?void 0:r.errors["parameters.date_range"],children:[t("option",{value:"last7_days",children:n("last7_days")}),t("option",{value:"last30_days",children:n("last30_days")}),t("option",{value:"last365_days",children:n("last365_days")}),t("option",{value:"this_month",children:n("this_month")}),t("option",{value:"last_month",children:n("last_month")}),t("option",{value:"this_quarter",children:n("this_quarter")}),t("option",{value:"last_quarter",children:n("last_quarter")}),t("option",{value:"this_year",children:n("this_year")}),t("option",{value:"last_year",children:n("last_year")}),t("option",{value:"all_time",children:n("all_time")})]})}),t(x,{leftSide:n("status"),children:f(se,{value:o.parameters.status,onValueChange:h=>i("parameters.status",h),errorMessage:r==null?void 0:r.errors["parameters.status"],children:[t("option",{value:"all",children:n("all")}),t("option",{value:"paid",children:n("paid")}),t("option",{value:"unpaid",children:n("unpaid")})]})}),t(x,{leftSide:n("show_aging_table"),children:t(B,{checked:o.parameters.show_aging_table,onValueChange:h=>i("parameters.show_aging_table",h)})}),t(x,{leftSide:n("show_payments_table"),children:t(B,{checked:o.parameters.show_payments_table,onValueChange:h=>i("parameters.show_payments_table",h)})}),t(x,{leftSide:n("show_credits_table"),children:t(B,{checked:o.parameters.show_credits_table,onValueChange:h=>i("parameters.show_credits_table",h)})}),t(x,{leftSide:n("only_clients_with_invoices"),children:t(B,{checked:o.parameters.only_clients_with_invoices,onValueChange:h=>i("parameters.only_clients_with_invoices",h)})}),f(x,{leftSide:n("client"),children:[t(vo,{onChange:h=>{d(u=>{const v=[...u,h];return p(v),v})},withoutAction:!0,clearInputAfterSelection:!0,exclude:o.parameters.clients}),f("div",{className:"flex justify-center",children:[t("div",{className:"flex flex-col space-y-2 pt-3",children:_==null?void 0:_.map((h,u)=>f("div",{className:"flex items-center justify-between",children:[t("span",{children:h.display_name}),t(Hn,{className:"cursor-pointer ml-16",fontSize:20,color:a,onClick:()=>m(u)})]},h.id))}),!(_!=null&&_.length)&&t("span",{className:"text-gray-500 self-center text-xl mt-4",children:n("all_clients")})]})]})]})}function Zv(e){const[n]=N(),a=rn(),{schedule:s,handleChange:o,errors:i}=e,r=c=>{var l,_;return`${c.number} (${a(c.amount,(l=c==null?void 0:c.client)==null?void 0:l.country_id,(_=c==null?void 0:c.client)==null?void 0:_.settings.currency_id)})`};return f(F,{children:[t(x,{leftSide:n("type"),children:f(se,{value:s.parameters.entity,onValueChange:c=>o("parameters.entity",c),errorMessage:i==null?void 0:i.errors["parameters.entity"],children:[t("option",{value:"invoice",defaultChecked:!0,children:n("invoice")}),t("option",{value:"quote",children:n("quote")}),t("option",{value:"credit",children:n("credit")}),t("option",{value:"purchase_order",children:n("purchase_order")})]})}),s.parameters.entity==="invoice"&&t(x,{leftSide:n("invoice"),children:t(sn,{endpoint:D("/api/v1/invoices?include=client.group_settings&filter_deleted_clients=true&status=active"),onChange:c=>c.resource&&o("parameters.entity_id",c.resource.id),inputOptions:{value:s.parameters.entity_id},entryOptions:{id:"id",label:"number",value:"id",dropdownLabelFn:c=>r(c),inputLabelFn:c=>c?r(c):""},onDismiss:()=>o("parameters.entity_id",""),errorMessage:i==null?void 0:i.errors["parameters.entity_id"]})}),s.parameters.entity==="quote"&&t(x,{leftSide:n("quote"),children:t(sn,{endpoint:D("/api/v1/quotes?include=client&filter_deleted_clients=true&status=active"),onChange:c=>c.resource&&o("parameters.entity_id",c.resource.id),inputOptions:{value:s.parameters.entity_id},entryOptions:{id:"id",label:"number",value:"id",dropdownLabelFn:c=>r(c),inputLabelFn:c=>c?r(c):""},onDismiss:()=>o("parameters.entity_id",""),errorMessage:i==null?void 0:i.errors["parameters.entity_id"]})}),s.parameters.entity==="credit"&&t(x,{leftSide:n("credit"),children:t(sn,{endpoint:D("/api/v1/credits?include=client&filter_deleted_clients=true&status=active"),onChange:c=>c.resource&&o("parameters.entity_id",c.resource.id),inputOptions:{value:s.parameters.entity_id},entryOptions:{id:"id",label:"number",value:"id",dropdownLabelFn:c=>r(c),inputLabelFn:c=>c?r(c):""},onDismiss:()=>o("parameters.entity_id",""),errorMessage:i==null?void 0:i.errors["parameters.entity_id"]})}),s.parameters.entity==="purchase_order"&&t(x,{leftSide:n("purchase_order"),children:t(sn,{endpoint:D("/api/v1/purchase_orders?include=vendor&status=active"),onChange:c=>c.resource&&o("parameters.entity_id",c.resource.id),inputOptions:{value:s.parameters.entity_id},entryOptions:{id:"id",label:"number",value:"id",dropdownLabelFn:c=>{var l,_;return`${c.number} (${a(c.amount,(l=c==null?void 0:c.vendor)==null?void 0:l.country_id,(_=c==null?void 0:c.vendor)==null?void 0:_.currency_id)})`},inputLabelFn:c=>{var l,_;return c?`${c.number} (${a(c.amount,(l=c==null?void 0:c.vendor)==null?void 0:l.country_id,(_=c==null?void 0:c.vendor)==null?void 0:_.currency_id)})`:""}},onDismiss:()=>o("parameters.entity_id",""),errorMessage:i==null?void 0:i.errors["parameters.entity_id"]})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const ey={email_statement:["template","next_run","frequency","remaining_cycles"],email_record:["template","next_run"],email_report:["template","next_run","frequency","remaining_cycles"]};function ty(e){const{template:n}=e;return a=>ey[n].includes(a)}function nl(e){const[n]=N(),a=me(),s=Xe(),o=Ua(),{value:i,onValueChange:r,errorMessage:c}=e,l=g.useRef(void 0),[_,d]=g.useState(""),[p,m]=g.useState(!!i),[h,u]=g.useState(),{data:v,isLoading:b}=xe({queryKey:["/api/v1/products","perPage=500","status=active",_],queryFn:()=>$("GET",D("/api/v1/products?per_page=:perPage&include=&status=active&filter=:filter",{filter:_,perPage:{}.VITE_IS_TEST==="true"?4:500})).then(y=>y.data.data),enabled:!p,staleTime:1/0});g.useEffect(()=>{v&&!p&&u(v.map(y=>({value:y.product_key,label:y.product_key,color:a.$3,backgroundColor:a.$1})))},[v,p]),g.useEffect(()=>{i&&p&&(async()=>{for(let y=0;y<i.split(",").length;y++){const k=i.split(",")[y],C=await s.fetchQuery(["/api/v1/products","perPage=500","status=active",k],()=>$("GET",D("/api/v1/products?per_page=:perPage&include=&status=active&filter=:filter",{filter:k,perPage:{}.VITE_IS_TEST==="true"?4:500})).then(S=>S.data.data),{staleTime:1/0});u(S=>{const E=S||[],I=E.find(({value:H})=>H===k)?[]:C.map(H=>({value:H.product_key,label:H.product_key,color:a.$3,backgroundColor:a.$1})).filter(H=>H.value===k);return I[0]?[...E,I[0]]:[...E]})}m(!1)})()},[i]);const w=y=>y.map(k=>k.value).join(",");return f(F,{children:[h&&!p?t(x,{leftSide:n("products"),children:f("div",{className:"flex space-x-3",children:[t("div",{className:"flex-1",children:t(Vn,{id:"productItemSelector",placeholder:n("products"),...i&&{defaultValue:h==null?void 0:h.filter(y=>i.split(",").find(k=>k===y.value))},onChange:y=>r(w(y)),options:h,onInputChange:y=>{clearTimeout(l.current);const k=setTimeout(()=>d(y),600);l.current=k},isMulti:!0,styles:o,isSearchable:!0})}),b&&t("div",{className:"flex justify-center items-center",children:t(st,{})})]})}):t("div",{className:"flex justify-center items-center",children:t(st,{})}),c&&t(it,{className:"mt-2",type:"danger",children:c})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ny(){const[e]=N(),n=bn();return[{label:e("draft"),value:"draft",color:"white",backgroundColor:"#6B7280"},{label:e("paid"),value:"paid",color:"white",backgroundColor:n.$3||"#22C55E"},{label:e("unpaid"),value:"unpaid",color:"white",backgroundColor:"#F97316"},{label:e("past_due"),value:"overdue",color:"white",backgroundColor:n.$5||"#CA8A04"},{label:e("cancelled"),value:"cancelled",color:"white",backgroundColor:"#000000"}]}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ay(){const[e]=N(),n=bn();return[{label:e("draft"),value:"draft",color:"white",backgroundColor:"#6B7280"},{label:e("sent"),value:"sent",color:"white",backgroundColor:n.$1||"#93C5FD"},{label:e("partial"),value:"partial",color:"white",backgroundColor:n.$2||"#1D4ED8"},{label:e("applied"),value:"applied",color:"white",backgroundColor:n.$3||"#22C55E"}]}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */var Be=(e=>(e.BANK_TRANSFER="1",e.CASH="2",e.CREDIT="32",e.ACH="4",e.VISA="5",e.MASTERCARD="6",e.AMERICAN_EXPRESS="7",e.DISCOVER="8",e.DINERS="9",e.EUROCARD="10",e.NOVA="11",e.CREDIT_CARD_OTHER="12",e.PAYPAL="13",e.CHECK="15",e.CARTE_BLANCHE="16",e.UNIONPAY="17",e.JCB="18",e.LASER="19",e.MAESTRO="20",e.SOLO="21",e.SWITCH="22",e.ALIPAY="27",e.SOFORT="28",e.SEPA="29",e.GOCARDLESS="30",e.CRYPTO="31",e.ZELLE="33",e.MOLLIE_BANK_TRANSFER="34",e.KBC="35",e.BANCONTACT="36",e.IDEAL="37",e.HOSTED_PAGE="38",e.GIROPAY="39",e.PRZELEWY24="40",e.EPS="41",e.DIRECT_DEBIT="42",e.BECS="43",e.ACSS="44",e.INSTANT_BANK_PAY="45",e.FPX="46",e.KLARNA="47",e.INTERAC="48",e.BACS="49",e.STRIPE_BANK_TRANSFER="50",e.CASH_APP="51",e.VENMO="25",e.IZETTLE="23",e))(Be||{});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const sy={[Be.ACH]:"payment_type_ACH",[Be.ACSS]:"payment_type_ACSS",[Be.ALIPAY]:"payment_type_Alipay",[Be.AMERICAN_EXPRESS]:"payment_type_American Express",[Be.BANCONTACT]:"bancontact",[Be.BACS]:"payment_type_BACS",[Be.BECS]:"becs",[Be.BANK_TRANSFER]:"payment_type_Bank Transfer",[Be.CARTE_BLANCHE]:"payment_type_Carte Blanche",[Be.CASH]:"payment_type_Cash",[Be.CASH_APP]:"payment_type_Cash App",[Be.CHECK]:"payment_type_Check",[Be.CREDIT]:"payment_type_Credit",[Be.CREDIT_CARD_OTHER]:"payment_type_Credit Card Other",[Be.CRYPTO]:"payment_type_Crypto",[Be.DINERS]:"payment_type_Diners Card",[Be.DIRECT_DEBIT]:"payment_type_direct_debit",[Be.DISCOVER]:"payment_type_Discover Card",[Be.EPS]:"eps",[Be.EUROCARD]:"payment_type_EuroCard",[Be.FPX]:"fpx",[Be.GIROPAY]:"giropay",[Be.GOCARDLESS]:"payment_type_GoCardless",[Be.HOSTED_PAGE]:"payment_type_Hosted Page",[Be.IDEAL]:"ideal",[Be.IZETTLE]:"payment_type_iZettle",[Be.INSTANT_BANK_PAY]:"instant_bank_pay",[Be.INTERAC]:"payment_type_Interac E-Transfer",[Be.JCB]:"payment_type_JCB",[Be.KBC]:"kbc_cbc",[Be.KLARNA]:"payment_type_Klarna",[Be.LASER]:"payment_type_Laser",[Be.MAESTRO]:"payment_type_Maestro",[Be.MASTERCARD]:"payment_type_MasterCard",[Be.MOLLIE_BANK_TRANSFER]:"payment_type_Bank Transfer",[Be.NOVA]:"payment_type_Nova",[Be.PAYPAL]:"payment_type_PayPal",[Be.PRZELEWY24]:"przelewy24",[Be.SEPA]:"payment_type_SEPA",[Be.SOFORT]:"payment_type_Sofort",[Be.SOLO]:"payment_type_Solo",[Be.SWITCH]:"payment_type_Switch",[Be.UNIONPAY]:"payment_type_UnionPay",[Be.VENMO]:"payment_type_Venmo",[Be.VISA]:"payment_type_Visa Card",[Be.ZELLE]:"payment_type_Zelle"};function Es(e){const[n]=N();return t("span",{className:oe({"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-800":!e.headless}),style:e.style,onClick:e.onClick,children:n(e.for[e.code])||n(e.code.toString())})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const oy=et(void 0);/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const iy=et(void 0);function ry(e){const[n]=N(),{invoice_id:a,should_be_invoiced:s,payment_date:o,payment_type_id:i,transaction_reference:r,archived_at:c,is_deleted:l}=e.entity,_=bn(),d=!!a,p=o||i||r;return l?t(Oe,{variant:"red",children:n("deleted")}):c?t(Oe,{variant:"orange",children:n("archived")}):d?t(Oe,{variant:"dark-blue",style:{backgroundColor:_.$3},children:n("invoiced")}):s?t(Oe,{variant:"light-blue",children:n("pending")}):p?t(Oe,{variant:"green",style:{backgroundColor:_.$1},children:n("paid")}):t(Oe,{variant:"generic",children:n("logged")})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function pn(e){const[n]=N(),a=we(),s=a==null?void 0:a.custom_fields,{entity:o}=e,i=[];if(s)for(let r=1;r<5;r++){const c=s[o+r.toString()]?Js(s[o+r.toString()]).label():n(`custom${r.toString()}`);i.push(c)}return i}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function BQe(e){const n=ot();return xe(U("/api/v1/expenses/create"),()=>$("GET",D("/api/v1/expenses/create")).then(a=>a.data.data),{enabled:n("create_expense")?e.enabled??!0:!1,staleTime:1/0})}function zQe(e){return xe(["/api/v1/expenses",e.id],()=>$("GET",D("/api/v1/expenses/:id?include=category",{id:e.id})).then(n=>n.data.data),{enabled:e.enabled??!0,staleTime:1/0})}function UQe(e){return xe(["/api/v1/expenses",e],()=>$("GET",D("/api/v1/expenses?filter=:filter&per_page=:per_page&status=:status&page=:page&match_transactions=:match_transactions&include=:include",{per_page:e.perPage??"100",page:e.currentPage??"1",status:e.status??"active",filter:e.filter??"",match_transactions:e.matchTransactions??!1,includes:"category",include:e.include||""})).then(n=>n.data.data),{enabled:e.enabled??!0,staleTime:1/0})}function cy(){const e=Xe(),n=De(Ut);return(a,s,o)=>{T.processing(),$("POST",D("/api/v1/expenses/bulk"),{action:s,ids:a,...o}).then(()=>{T.success(`${s}d_expense`),n&&e.invalidateQueries([n]),ie(["expenses"])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function HQe(e){const{includeIsLocked:n}=e,a=n?"&is_locked=true":"";return xe(["/api/v1/invoices",e.id],()=>$("GET",D(`/api/v1/invoices/:id?include=client.group_settings${a}`,{id:e.id})).then(s=>s.data.data),{staleTime:1/0,enabled:!!e.id})}function bo(e){const n=ot();return xe(["/api/v1/invoices/create"],()=>$("GET",D("/api/v1/invoices/create")).then(a=>a.data.data),{...e,staleTime:1/0,enabled:n("create_invoice")?(e==null?void 0:e.enabled)??!0:!1})}const ly={mark_sent:"marked_sent_invoices",email:"emailed_invoices",mark_paid:"marked_invoices_as_paid",download:"exported_data",cancel:"cancelled_invoices",auto_bill:"auto_billed_invoices"};function GQe(e){const n=Xe(),a=De(Ut);return(s,o,i)=>{T.processing(),$("POST",D("/api/v1/invoices/bulk"),{action:o,ids:s,...i&&{email_type:i}}).then(()=>{var c;const r=ly[o]||`${o}d_invoice`;T.success(r),(c=e==null?void 0:e.onSuccess)==null||c.call(e),ie(["invoices"]),a&&n.invalidateQueries([a])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const ia=et(void 0),WQe=et(void 0);/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */var qn=(e=>(e.Product="1",e.Task="2",e.UnpaidFee="3",e.PaidFee="4",e.LateFee="5",e.Expense="6",e))(qn||{});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const ra=()=>({_id:io(),quantity:0,cost:0,product_key:"",product_cost:0,notes:"",discount:0,is_amount_discount:!1,tax_name1:"",tax_rate1:0,tax_name2:"",tax_rate2:0,tax_name3:"",tax_rate3:0,sort_id:0,line_total:0,tax_amount:0,gross_line_total:0,date:"",custom_value1:"",custom_value2:"",custom_value3:"",custom_value4:"",type_id:qn.Product,tax_id:"1"});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function al(e){const n=Ce(),{data:a}=bo(),s=Ie(ia),{onlyAddToInvoice:o}=e||{},i=(c,l,_)=>c.calculate_tax_by_amount?c.uses_inclusive_taxes?Math.round(l/c.amount*100*1e3/10)/100:Math.round(l/c.amount*1e3/10)/1:_;return{create:c=>{var l,_,d,p,m;if(a){const h={...a};o||(h.date=(l=c[0])==null?void 0:l.date,h.client_id=(_=c[0])==null?void 0:_.client_id),h.uses_inclusive_taxes=(d=c[0])==null?void 0:d.uses_inclusive_taxes,h.project_id=(p=c[0])==null?void 0:p.project_id,h.vendor_id=(m=c[0])==null?void 0:m.vendor_id;const u=c.map(v=>{var b;return{...ra(),type_id:qn.Product,cost:(v==null?void 0:v.foreign_amount)>0?v.foreign_amount:v.amount,quantity:1,product_key:((b=v==null?void 0:v.category)==null?void 0:b.name)??"",notes:v.public_notes,line_total:Number(((v==null?void 0:v.foreign_amount)>0?v.foreign_amount:v.amount*1).toPrecision(2)),expense_id:v.id,tax_name1:v.tax_name1,tax_rate1:i(v,v.tax_amount1,v.tax_rate1),tax_name2:v.tax_name2,tax_rate2:i(v,v.tax_amount2,v.tax_rate2),tax_name3:v.tax_name3,tax_rate3:i(v,v.tax_amount3,v.tax_rate3)}});o?s(v=>v&&{...v,line_items:[...v.line_items,...u]}):(s({...h,line_items:u}),n(U("/invoices/create?table=products&action=invoice_expense",{})))}},calculatedTaxRate:i}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ta(e){const{entity:n,editPageTabs:a}=e,s=zt(),i=xt().id||"",r=s.pathname.startsWith(`/${n}s`),c=i&&s.pathname.includes(i),l=s.pathname.endsWith("/edit"),_=a==null?void 0:a.some(h=>s.pathname.endsWith(`/${h}`)),d=r&&c&&(_||l),p=r&&c&&!l&&!_;return{isEditPage:d,isShowPage:p,isEditOrShowPage:d||p}}const dy=St.div`
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`;function _y(e){const[n]=N(),{expenses:a,bulkAction:s}=e,o=Ce(),i=rn(),r=ot(),c=go(),{calculatedTaxRate:l}=al(),_=me(),d=Xe(),p=Ie(ia),[m,h]=g.useState([]),[u,v]=g.useState(!1),[b,w]=g.useState(!1),y=()=>{if(s&&wt(a).pluck("client_id").unique().toArray().length>1)return T.error("multiple_client_error");w(!0)},k=C=>{p(()=>C&&{...C,line_items:[...C.line_items,...a.map(S=>{var E;return{...ra(),type_id:qn.Product,cost:S.amount,quantity:1,product_key:((E=S==null?void 0:S.category)==null?void 0:E.name)??"",notes:S.public_notes,line_total:Number((S.amount*1).toPrecision(2)),expense_id:S.id,tax_name1:S.tax_name1,tax_rate1:l(S,S.tax_amount1,S.tax_rate1),tax_name2:S.tax_name2,tax_rate2:l(S,S.tax_amount2,S.tax_rate2),tax_name3:S.tax_name3,tax_rate3:l(S,S.tax_amount3,S.tax_rate3)}})]}),o(U("/invoices/:id/edit?action=invoice_expense",{id:C.id}))};return g.useEffect(()=>{var C;b&&(v(!0),d.fetchQuery(["/api/v1/invoices",`include=client&status_id=1,2,3&is_deleted=true&filter_deleted_clients=true&client_id=${(C=a[0])==null?void 0:C.client_id}`],()=>{var S;return $("GET",D("/api/v1/invoices?include=client.group_settings&status_id=1,2,3&is_deleted=true&filter_deleted_clients=true&client_id=:clientId",{clientId:((S=a[0])==null?void 0:S.client_id)||""}))},{staleTime:1/0}).then(S=>{r("edit_invoice")?h(S.data.data):h(S.data.data.filter(E=>c(E)))}).finally(()=>v(!1))),b||h([])},[b]),f(F,{children:[f(Fe,{title:n("action_add_to_invoice"),onClose:()=>w(!1),visible:b,children:[t("div",{className:"flex flex-col space-y-1",children:m.map(C=>{var S,E;return f(dy,{theme:{hoverColor:_.$5},onClick:()=>k(C),className:"flex items-center justify-between cursor-pointer rounded py-1 px-2",children:[t("p",{children:C==null?void 0:C.number}),t("p",{children:i(C.amount,(S=C.client)==null?void 0:S.country_id,(E=C.client)==null?void 0:E.settings.currency_id)})]},C.id)})}),u&&t("div",{className:"flex justify-center",children:t(st,{})}),!u&&!m.length&&t("div",{className:"flex justify-center font-medium text-lg",children:n("no_invoices_found")})]}),t(M,{onClick:y,icon:t(L,{element:Ma}),children:n("action_add_to_invoice")})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function uy(e){const{setErrors:n,isFormBusy:a,setIsFormBusy:s}=e;return o=>{a||(T.processing(),n==null||n(void 0),s==null||s(!0),$("PUT",D("/api/v1/expenses/:id",{id:o.id}),o).then(()=>{T.success("updated_expense"),ie(["expenses"])}).catch(i=>{var r;((r=i.response)==null?void 0:r.status)===422&&(n==null||n(i.response.data),T.dismiss())}).finally(()=>s==null?void 0:s(!1)))}}function my(e){var k,C,S;const[n]=N(),a=me(),s=ot(),o=Ms(),{visible:i,isFormBusy:r,setIsFormBusy:c,expense:l,setVisible:_}=e,[d,p]=g.useState(!1),{data:m}=Ti({status:["active"]}),h=uy({isFormBusy:r,setIsFormBusy:c}),{red:u,green:v,blue:b,hex:w}=rs(((k=l.category)==null?void 0:k.color)||""),y=Os(u,v,b)?-220:220;return f("div",{onClick:E=>E.stopPropagation(),children:[t(Is,{placement:"bottom",interactive:!0,render:()=>f("div",{className:"border box rounded-md shadow-lg focus:outline-none",style:{backgroundColor:a.$1,borderColor:a.$4,minWidth:"15rem",maxWidth:"20rem"},onClick:E=>E.stopPropagation(),children:[s("create_expense")&&t(M,{className:"font-medium text-center py-3",onClick:()=>{p(!0),_(!1)},cypressRef:"newExpenseCategoryAction",children:n("new_expense_category")}),t("div",{className:"flex flex-col max-h-80 overflow-y-auto",children:m==null?void 0:m.map((E,I)=>E.id!==l.category_id&&t(M,{onClick:()=>{_(!1),h({...l,category_id:E.id})},children:E.name},I))})]}),visible:i,children:t("div",{className:"cursor-pointer","data-cy":"expenseCategoryBadge",children:t(Es,{for:{},code:((C=l.category)==null?void 0:C.name)||n("uncategorized"),style:{color:o(w,y),backgroundColor:((S=l.category)==null?void 0:S.color)||""},onClick:()=>!r&&_(E=>!E)})})}),t(zc,{visible:d,setVisible:p,onCreatedCategory:E=>h({...l,category_id:E.id})})]})}function py(e){const n=g.useRef(null),{expense:a}=e,[s,o]=g.useState(!1),[i,r]=g.useState(!1);return ta(n,()=>{s&&o(!1)}),t("div",{ref:n,children:t(my,{visible:s,isFormBusy:i,setIsFormBusy:r,expense:a,setVisible:o})})}function Di({apiEndpoint:e,entityId:n,cacheEndpoint:a,component:s,preCheck:o,componentCallbackFn:i}){const r=bt(),c=Xe(),[l,_]=g.useState(o??!1),[d,p]=g.useState();return g.useEffect(()=>{r&&n&&!l&&(async()=>{const m=await c.fetchQuery([a,n],()=>$("GET",D(e,{id:n})).then(h=>h.data.data),{staleTime:1/0});m&&(m.user_id===r.id||m.assigned_user_id===r.id)&&(i&&p(m),_(!0))})()},[]),i&&l&&d?t(F,{children:i(d)}):l?t(F,{children:s}):t(F,{})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Pa(){const e=ot(),n=go();return(a,s)=>!e(`view_${a}`)&&!e(`edit_${a}`)&&!n(s)}function dn(e){const n=rt(),{renderSpan:a}=e;return a?t("span",{className:e.className,children:e.children}):t(na,{className:`text-sm hover:underline ${e.className}`,style:{color:n},to:e.to,children:e.children})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ha(){const[e]=N(),n=we(),{dateFormat:a}=At(),s=n==null?void 0:n.custom_fields;return(o,i)=>{if(s&&s[o]){const r=s[o];if((r==null?void 0:r.split("|")[1])===_a.Date&&i)return Qe(i,a);if((r==null?void 0:r.split("|")[1])===_a.Switch)return e(i?"yes":"no")}return i}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function hy(){return e=>{if(e.uses_inclusive_taxes)return e.amount;if(e.calculate_tax_by_amount)return e.amount+e.tax_amount1+e.tax_amount2+e.tax_amount3;let n=e.amount;return e.tax_name1&&(n+=e.amount*(e.tax_rate1/100)),e.tax_name2&&(n+=e.amount*(e.tax_rate2/100)),e.tax_name3&&(n+=e.amount*(e.tax_rate3/100)),n}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Kn(e){return new DOMParser().parseFromString(e,"text/html").documentElement.textContent||""}function jt(e){return W_.sanitize(e,{USE_PROFILES:{html:!0}})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ds(){const e=xa(),n=we();return a=>{const s=e(n==null?void 0:n.settings.currency_id);return s?ki.formatValue(isNaN(Number(a))?0:a,s):a}}function KQe(){const[e]=N(),n=ot(),a=Ce(),s=cy(),o=Ie(iy),i=Ie(oy),{isEditPage:r}=Ta({entity:"expense",editPageTabs:["documents"]}),{create:c}=al(),l=p=>{o({...p,id:"",documents:[],number:"",date:fe().format("YYYY-MM-DD")}),a("/expenses/create?action=clone")},_=p=>{i({...p,id:"",documents:[],number:"",date:fe().format("YYYY-MM-DD")}),a("/recurring_expenses/create?action=clone")};return[p=>p.should_be_invoiced===!0&&p.invoice_id.length===0&&n("create_invoice")&&t(M,{onClick:()=>c([p]),icon:t(L,{element:Ma}),children:e("invoice_expense")}),p=>p.should_be_invoiced===!0&&p.invoice_id.length===0&&t(_y,{expenses:[p]}),p=>n("create_expense")&&t(M,{onClick:()=>l(p),icon:t(L,{element:Gn}),children:e("clone")}),p=>n("create_recurring_expense")&&t(M,{onClick:()=>_(p),icon:t(L,{element:Gn}),children:e("clone_to_recurring")}),()=>r&&t(ye,{withoutPadding:!0}),p=>Me(p)===Re.Active&&r&&t(M,{onClick:()=>s([p.id],"archive"),icon:t(L,{element:Rt}),children:e("archive")}),p=>(Me(p)===Re.Archived||Me(p)===Re.Deleted)&&r&&t(M,{onClick:()=>s([p.id],"restore"),icon:t(L,{element:Vt}),children:e("restore")}),p=>(Me(p)===Re.Active||Me(p)===Re.Archived)&&r&&t(M,{onClick:()=>s([p.id],"delete"),icon:t(L,{element:kt}),children:e("delete")})]}const fy=["status","number","client","vendor","date","amount","public_notes"];function gy(){const[e,n,a,s]=pn({entity:"expense"});return["status","number","vendor","client","date","amount","public_notes","entity_state","archived_at","category","created_at",e,n,a,s,"documents","exchange_rate","is_deleted","net_amount","payment_date","payment_type","private_notes","should_be_invoiced","tax_name1","tax_name2","tax_name3","tax_rate1","tax_rate2","tax_rate3","transaction_reference","updated_at"]}function QQe(){var b;const{t:e}=N(),{dateFormat:n}=At(),a=ds(),s=ot(),o=Pa(),i=Ce(),r=rn(),c=Et(),l=Ha(),_=hy();gy();const[d,p,m,h]=pn({entity:"expense"}),u=[{column:"category",id:"category_id",label:e("category"),format:(w,y)=>y&&t(py,{expense:y})},{column:"status",id:"id",label:e("status"),format:(w,y)=>f("div",{className:"flex items-center space-x-2",children:[t(dn,{to:U("/expenses/:id/edit",{id:y.id}),renderSpan:o("expense",y),children:t("span",{className:"inline-flex items-center space-x-4",children:t(ry,{entity:y})})}),y.invoice_id&&t(Di,{entityId:y.invoice_id,cacheEndpoint:"/api/v1/invoices",apiEndpoint:"/api/v1/invoices/:id?include=client.group_settings",preCheck:s("view_invoice")||s("edit_invoice"),component:t(L,{element:Ma,size:19,onClick:()=>i(U("/invoices/:id/edit",{id:y.invoice_id}))})})]})},{column:"number",id:"number",label:e("number"),format:(w,y)=>t(dn,{to:U("/expenses/:id/edit",{id:y.id}),renderSpan:o("expense",y),children:w})},{column:"vendor",id:"vendor_id",label:e("vendor"),format:(w,y)=>y.vendor&&t(dn,{to:U("/vendors/:id",{id:w.toString()}),renderSpan:o("vendor",y.vendor),children:y.vendor.name})},{column:"client",id:"client_id",label:e("client"),format:(w,y)=>y.client&&t(dn,{to:U("/clients/:id",{id:w.toString()}),renderSpan:o("client",y.client),children:y.client.display_name})},{column:"date",id:"date",label:e("date"),format:w=>Qe(w,n)},{column:"amount",id:"amount",label:e("amount"),format:(w,y)=>{var k,C;return r(_(y),(k=y.client)==null?void 0:k.country_id,y.currency_id||((C=y.client)==null?void 0:C.settings.currency_id))}},{column:"public_notes",id:"public_notes",label:e("public_notes"),format:w=>t(Qt,{width:"auto",tooltipElement:t("div",{className:"w-full max-h-48 overflow-auto whitespace-normal break-all",children:t("article",{className:oe("prose prose-sm",{"prose-invert":c.dark_mode}),dangerouslySetInnerHTML:{__html:jt(w)}})}),children:t("span",{children:Kn(jt(w)).slice(0,50)})})},{column:"entity_state",id:"id",label:e("entity_state"),format:(w,y)=>t(En,{entity:y})},{column:"archived_at",id:"archived_at",label:e("archived_at"),format:w=>Qe(w,n)},{column:"created_at",id:"created_at",label:e("created_at"),format:w=>Qe(w,n)},{column:d,id:"custom_value1",label:d,format:w=>l("expense1",w==null?void 0:w.toString())},{column:p,id:"custom_value2",label:p,format:w=>l("expense2",w==null?void 0:w.toString())},{column:m,id:"custom_value3",label:m,format:w=>l("expense3",w==null?void 0:w.toString())},{column:h,id:"custom_value4",label:h,format:w=>l("expense4",w==null?void 0:w.toString())},{column:"documents",id:"documents",label:e("documents"),format:(w,y)=>y.documents.length},{column:"exchange_rate",id:"exchange_rate",label:e("exchange_rate"),format:w=>a(w)},{column:"is_deleted",id:"is_deleted",label:e("is_deleted"),format:(w,y)=>y.is_deleted?e("yes"):e("no")},{column:"net_amount",id:"amount",label:e("net_amount"),format:(w,y)=>{var k,C;return r(w,(k=y.client)==null?void 0:k.country_id,y.currency_id||((C=y.client)==null?void 0:C.settings.currency_id))}},{column:"payment_date",id:"payment_date",label:e("payment_date"),format:w=>Qe(w,n)},{column:"payment_type",id:"payment_type_id",label:e("payment_type"),format:w=>t(Es,{for:sy,code:w,headless:!0})},{column:"private_notes",id:"private_notes",label:e("private_notes"),format:w=>t(Qt,{width:"auto",tooltipElement:t("div",{className:"w-full max-h-48 overflow-auto whitespace-normal break-all",children:t("article",{className:oe("prose prose-sm",{"prose-invert":c.dark_mode}),dangerouslySetInnerHTML:{__html:jt(w)}})}),children:t("span",{children:Kn(jt(w)).slice(0,50)})})},{column:"should_be_invoiced",id:"should_be_invoiced",label:e("should_be_invoiced"),format:(w,y)=>y.should_be_invoiced?e("yes"):e("no")},{column:"tax_name1",id:"tax_name1",label:e("tax_name1")},{column:"tax_name2",id:"tax_name2",label:e("tax_name2")},{column:"tax_name3",id:"tax_name3",label:e("tax_name3")},{column:"tax_rate1",id:"tax_rate1",label:e("tax_rate1"),format:w=>a(w)},{column:"tax_rate2",id:"tax_rate2",label:e("tax_rate2"),format:w=>a(w)},{column:"tax_rate3",id:"tax_rate3",label:e("tax_rate3"),format:w=>a(w)},{column:"transaction_reference",id:"transaction_reference",label:e("transaction_reference")},{column:"updated_at",id:"updated_at",label:e("updated_at"),format:w=>Qe(w,n)}],v=((b=c==null?void 0:c.react_table_columns)==null?void 0:b.expense)||fy;return u.filter(w=>v.includes(w.column)).sort((w,y)=>v.indexOf(w.column)-v.indexOf(y.column))}function YQe(e){const{setExpense:n,setErrors:a}=e;return(s,o)=>{a(void 0),n(i=>i&&{...i,[s]:o})}}function vy(){const[e]=N(),n=bn(),a=Ms(),{data:s}=Ti({status:["active"],perPage:500}),o=[{label:e("logged"),value:"logged",color:"white",backgroundColor:"#6B7280",dropdownKey:"0"},{label:e("pending"),value:"pending",color:"white",backgroundColor:"#93C5FD",dropdownKey:"0"},{label:e("invoiced"),value:"invoiced",color:"white",backgroundColor:n.$3||"#1D4ED8",dropdownKey:"0"},{label:e("paid"),value:"paid",color:"white",backgroundColor:n.$1||"#22C55E",dropdownKey:"0"},{label:e("unpaid"),value:"unpaid",color:"white",backgroundColor:n.$4||"#e6b05c",dropdownKey:"0"},{label:e("uncategorized"),value:"uncategorized",color:"white",backgroundColor:"#b5812c",dropdownKey:"0"}];return s==null||s.forEach(i=>{const{red:r,green:c,blue:l,hex:_}=rs(i.color||""),d=Os(r,c,l)?-220:220;o.push({value:i.id,label:i.name,color:a(_,d),backgroundColor:i.color||"",queryKey:"categories",dropdownKey:"1",placeHolder:"expense_categories"})}),o}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */var ma=(e=>(e.Viewed="-1",e.Draft="1",e.Sent="2",e.Accepted="3",e.Received="4",e.Cancelled="5",e))(ma||{});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function yy(e){return n=>{if(n.invitations.length!==0){if(n.invitations.length>0&&e.resourceType==="purchase_order")return D("/vendor/purchase_order/:invitation/download",{resource:e.resourceType,invitation:n.invitations[0].key});if(n.invitations.length>0)return D("/client/:resource/:invitation/download_pdf",{resource:e.resourceType,invitation:n.invitations[0].key})}}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function sl(e){const n=Xe(),a=yy({resourceType:e.resource});return s=>{const o=a(s);o&&(T.processing(),n.fetchQuery(o,()=>$("GET",o,{},{responseType:"arraybuffer"}).then(i=>{const r=new Blob([i.data],{type:"application/pdf"}),c=URL.createObjectURL(r),[,l]=i.headers["content-disposition"].split("filename="),_=document.createElement("a");_.download=l,_.href=c,_.target="_blank",document.body.appendChild(_),_.click(),document.body.removeChild(_),T.dismiss()})))}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const wo=et(void 0);/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function by(e){return e.invitations.length>0?`${e.invitations[0].link}?silent=true`:null}function ol(e){var a;const n=by(e);n&&((a=window.open(n,"_blank"))==null||a.focus())}function wy(e){const[n]=N(),{status_id:a,archived_at:s,is_deleted:o,invitations:i}=e.entity,r=bn(),c=()=>i.some(h=>h.viewed_date),l=a===ma.Draft,_=!l,d=c(),p=a===ma.Cancelled,m=a===ma.Accepted;return o?t(Oe,{variant:"red",children:n("deleted")}):s?t(Oe,{variant:"orange",children:n("archived")}):p?t(Oe,{variant:"black",style:{backgroundColor:r.$5},children:n("cancelled")}):a===ma.Received?t(Oe,{variant:"green",style:{backgroundColor:r.$3},children:n("received")}):m?t(Oe,{variant:"dark-blue",style:{backgroundColor:r.$2},children:n("accepted")}):_?t(Oe,{variant:"light-blue",style:{backgroundColor:r.$1},children:n("sent")}):l?t(Oe,{variant:"generic",children:n("draft")}):d&&!p&&!m?t(Oe,{variant:"yellow",style:{backgroundColor:r.$4},children:n("viewed")}):t(F,{})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function il(){const{isAdmin:e,isOwner:n}=Je();return xe(["/api/v1/task_schedulers","create"],()=>$("GET",D("/api/v1/task_schedulers/create")).then(a=>a.data.data),{staleTime:1/0,enabled:e||n})}function ky(e){const{isAdmin:n,isOwner:a}=Je();return xe(["/api/v1/task_schedulers",e.id],()=>$("GET",D("/api/v1/task_schedulers/:id",{id:e.id})).then(s=>s.data.data),{staleTime:1/0,enabled:n||a})}function xy(){return(e,n)=>{T.processing(),$("POST",D("/api/v1/task_schedulers/bulk"),{action:n,ids:e}).then(()=>{T.success(`${n}d_schedule`),ie(["task_schedulers"])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Ts={clients:[],date_range:"last7_days",show_aging_table:!1,show_credits_table:!1,show_payments_table:!1,only_clients_with_invoices:!1,status:"all",entity:"invoice",entity_id:"",report_name:"activity",start_date:"",end_date:"",product_key:"",send_email:!0,is_expense_billed:!1,is_income_billed:!1,include_tax:!1,document_email_attachment:!1,client_id:"",vendors:"",projects:"",categories:"",report_keys:[]};function rl(e){const{data:n}=il();return(a,s)=>{const{setErrors:o,setSchedule:i}=e;o(void 0);const r=ce.cloneDeep(e.schedule);a==="template"&&n?i(()=>({...n,template:s,frequency_id:en.Monthly,remaining_cycles:-1,parameters:{...Ts}})):a==="parameters.report_name"&&n?i(c=>c&&{...c,parameters:{...Ts,report_name:s}}):(a==="parameters.entity"&&i(ce.set(r,"parameters.entity_id","")),i(ce.set(r,a,s)))}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function cl({entity:e}){const n=Ce(),a=Ie(yo);return s=>{a({...Ts,entity:e,entity_id:s}),n("/settings/schedules/create?template=email_record")}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const ll=({entity:e})=>{const n=Xe(),a=s=>new Promise(o=>{const i=()=>{s.removeEventListener("load",i),o()};document.body.appendChild(s),s.addEventListener("load",i)});return s=>{s.length&&(T.processing(),n.fetchQuery([`/api/v1/${e}s/bulk`],()=>$("POST",D(`/api/v1/${e}s/bulk`),{action:"bulk_print",ids:s},{responseType:"arraybuffer"}).then(async o=>{const i=new Blob([o.data],{type:"application/pdf"}),r=URL.createObjectURL(i),c=document.createElement("iframe");c.style.display="none",c.src=r,await a(c),c&&c.contentWindow&&(c.contentWindow.focus(),c.contentWindow.print()),T.dismiss()})))}};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Cy={item:"product_key",service:"product_key",description:"notes",unit_cost:"cost",rate:"cost",hours:"quantity"};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function dl(e,n="."){const[a,s]=e.split(n);return{resource:a,property:s}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function _l(e){const{property:n}=dl(e);return Cy[n]||n}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ko(){const e=Xe();return{find:a=>e.fetchQuery({queryKey:["/api/v1/clients",a],queryFn:()=>$("GET",D("/api/v1/clients/:id?include=group_settings",{id:a})).then(s=>s.data.data),staleTime:1/0})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Sy(e){const n=we(),a=xa(),s=ko(),o=e.resource;return async(i,r,c)=>{const l={...o.line_items[i]};if(l.product_key=(c==null?void 0:c.product_key)||r,!c)return e.onChange(i,l);const _=(c==null?void 0:c.cost)>0&&e.relationType==="vendor_id"?c==null?void 0:c.cost:(c==null?void 0:c.price)||0;return n.fill_products&&(n!=null&&n.enable_product_quantity?l.quantity=n!=null&&n.default_quantity?1:(c==null?void 0:c.quantity)??1:l.quantity=1,o.client_id?await s.find(o.client_id).then(d=>{const p=d.settings.currency_id;if(n.convert_products&&p!==n.settings.currency_id){const m=a(p),h=a(n.settings.currency_id);m&&h&&(l.cost=_*(m.exchange_rate/h.exchange_rate))}else l.cost=_}):l.cost=_),c||(l.notes=""),e.type=="product"&&(c!=null&&c.notes)&&n.fill_products&&(l.notes=c==null?void 0:c.notes),e.type=="task"&&(c!=null&&c.notes)&&!l.notes&&(l.notes=c.notes),l.tax_name1=(c==null?void 0:c.tax_name1)||"",l.tax_name2=(c==null?void 0:c.tax_name2)||"",l.tax_name3=(c==null?void 0:c.tax_name3)||"",l.tax_rate1=(c==null?void 0:c.tax_rate1)||0,l.tax_rate2=(c==null?void 0:c.tax_rate2)||0,l.tax_rate3=(c==null?void 0:c.tax_rate3)||0,l.custom_value1=(c==null?void 0:c.custom_value1)||"",l.custom_value2=(c==null?void 0:c.custom_value2)||"",l.custom_value3=(c==null?void 0:c.custom_value3)||"",l.custom_value4=(c==null?void 0:c.custom_value4)||"",l.tax_id=(c==null?void 0:c.tax_id)||"1",l.product_cost=c==null?void 0:c.cost,e.onChange(i,l)}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ul(){const e=Xe();return{find:a=>e.fetchQuery(["/api/v1/vendors",a],()=>$("GET",D("/api/v1/vendors/:id",{id:a})).then(s=>s.data.data),{staleTime:1/0})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ml(){const e=tn();return{find:a=>{var s;return e?Promise.resolve((s=e.data)==null?void 0:s.currencies.find(o=>o.id===a)):Promise.resolve(void 0)}}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ey(){const e=tn();return{find:a=>{var s;return e?Promise.resolve((s=e.data)==null?void 0:s.countries.find(o=>o.id===a)):Promise.resolve(void 0)}}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ty(e){const n=we(),a=ml(),s=Ey(),o=ul(),i=ko(),[r,c]=g.useState(""),[l,_]=g.useState(""),{resource:d,relationType:p}=e,[m,h]=g.useState(),[u,v]=g.useState(),[b,w]=g.useState();return g.useEffect(()=>{r&&p==="client_id"&&i.find(r).then(y=>w(y)),l&&p==="vendor_id"&&o.find(l).then(y=>w(y))},[r,l]),g.useEffect(()=>{d!=null&&d.vendor_id&&_(d.vendor_id),d!=null&&d.client_id&&c(d.client_id)},[d==null?void 0:d.client_id,d==null?void 0:d.vendor_id]),g.useEffect(()=>{if(p==="client_id"){const y=b;a.find((y==null?void 0:y.settings.currency_id)||(n==null?void 0:n.settings.currency_id)).then(k=>v(k)),s.find((y==null?void 0:y.country_id)||(n==null?void 0:n.settings.country_id)).then(k=>h(k))}if(p==="vendor_id"){const y=b;a.find((y==null?void 0:y.currency_id)||(n==null?void 0:n.settings.currency_id)).then(k=>v(k)),s.find((y==null?void 0:y.country_id)||(n==null?void 0:n.settings.country_id)).then(k=>h(k))}},[b]),y=>u&&m?ki.formatMoney(isNaN(Number(y))?0:y,u,m):y}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function xo(e){const n=we(),a=ko(),s=ul(),o=ml(),i=ls();return async(r,c)=>{var _;let l;return r.length>=1&&c==="client_id"?await a.find(r).then(async d=>{var p;await o.find(d.settings.currency_id||((p=n.settings)==null?void 0:p.currency_id)).then(m=>{const h=i(n.settings.country_id),u={thousandSeparator:(h==null?void 0:h.thousand_separator)||(m==null?void 0:m.thousand_separator)||",",decimalSeparator:(h==null?void 0:h.decimal_separator)||(m==null?void 0:m.decimal_separator)||".",precision:(m==null?void 0:m.precision)||2};e?e(u):l=u})}):r.length>=1&&c==="vendor_id"?await s.find(r).then(async d=>{var p;await o.find(d.currency_id||((p=n.settings)==null?void 0:p.currency_id)).then(m=>{const h=i(n.settings.country_id),u={thousandSeparator:(h==null?void 0:h.thousand_separator)||(m==null?void 0:m.thousand_separator)||",",decimalSeparator:(h==null?void 0:h.decimal_separator)||(m==null?void 0:m.decimal_separator)||".",precision:(m==null?void 0:m.precision)||2};e?e(u):l=u})}):await o.find((_=n.settings)==null?void 0:_.currency_id).then(d=>{const p=i(n.settings.country_id),m={thousandSeparator:(p==null?void 0:p.thousand_separator)||(d==null?void 0:d.thousand_separator)||",",decimalSeparator:(p==null?void 0:p.decimal_separator)||(d==null?void 0:d.decimal_separator)||".",precision:(d==null?void 0:d.precision)||2};e?e(m):l=m}),l}}function Py(e){var i,r;const[n,a]=g.useState(),[s]=N(),o=On({initialValues:{name:"",rate:""},onSubmit:c=>{a(void 0),$("POST",D("/api/v1/tax_rates"),c).then(l=>{T.success("created_tax_rate"),e.onClose(!1),ie(["tax_rates"]),e.onTaxCreated&&e.onTaxCreated(l.data.data)}).catch(l=>{var _;((_=l.response)==null?void 0:_.status)===422&&(a(l.response.data),T.dismiss())}).finally(()=>o.setSubmitting(!1))}});return f(Fe,{title:s("create_tax_rate"),visible:e.isVisible,onClose:e.onClose,children:[t(q,{type:"text",id:"name",label:s("name"),errorMessage:(i=n==null?void 0:n.errors)==null?void 0:i.name,onChange:o.handleChange,required:!0}),t(q,{type:"text",id:"rate",label:s("tax_rate"),errorMessage:(r=n==null?void 0:n.errors)==null?void 0:r.rate,onChange:o.handleChange,required:!0}),t(te,{behavior:"button",type:"primary",onClick:()=>{o.submitForm()},children:s("save")})]})}function ha(e){const[n]=N(),[a,s]=g.useState(!1),{isAdmin:o,isOwner:i}=Je(),{resourceTaxName:r,resourceTaxRate:c}=e;return f(F,{children:[t(sn,{inputOptions:{value:e.defaultValue??null},endpoint:D("/api/v1/tax_rates?status=active"),onChange:l=>e.onChange&&e.onChange(l),action:{label:n("create_tax_rate"),onClick:()=>s(!0),visible:o||i},entryOptions:{id:"id",value:"name",label:"name",inputLabelFn:l=>l?r===l.name?`${l.name} ${c}%`:`${l.name} ${l.rate}%`:"",dropdownLabelFn:l=>r===l.name?`${l.name} ${c}%`:`${l.name} ${l.rate}%`},sortBy:"name|asc",onDismiss:e.onClearButtonClick}),t(Py,{isVisible:a,onClose:s,onTaxCreated:e.onTaxCreated})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Ay=et(void 0);/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function _s(){const e=Et();return e!=null&&e.number_precision&&(e==null?void 0:e.number_precision)>0&&(e==null?void 0:e.number_precision)<=100?e.number_precision:2}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Ny=e=>{const{onlyAddToInvoice:n}=e||{},a=Ce(),s=we(),o=_s(),{data:i}=bo(),r=Ie(ia);return c=>{if(i){const l=c.map(_=>({...ra(),type_id:qn.Product,product_key:_.product_key,quantity:s!=null&&s.fill_products?_.quantity:1,...(s==null?void 0:s.fill_products)&&{line_total:Number((_.price*_.quantity).toFixed(o)),cost:_.price,notes:_.notes,tax_name1:_.tax_name1,tax_rate1:_.tax_rate1,tax_name2:_.tax_name2,tax_rate2:_.tax_rate2,tax_name3:_.tax_name3,tax_rate3:_.tax_rate3,tax_id:"",custom_value1:_.custom_value1,custom_value2:_.custom_value2,custom_value3:_.custom_value3,custom_value4:_.custom_value4}}));n?r(_=>_&&{..._,line_items:[..._.line_items,...l]}):(r({...i,line_items:l}),a("/invoices/create?action=invoice_product"))}}};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Iy(e){const n=ot();return xe(["/api/v1/purchase_orders","create"],()=>$("GET",D("/api/v1/purchase_orders/create")).then(a=>a.data.data),{...e,staleTime:1/0,enabled:n("create_purchase_order")?(e==null?void 0:e.enabled)??!0:!1})}function XQe(e){return xe(["/api/v1/purchase_orders",e.id],()=>$("GET",D("/api/v1/purchase_orders/:id",{id:e.id})).then(n=>n.data.data),{staleTime:1/0})}const Dy={expense:"converted_to_expense",email:"emailed_purchase_orders",mark_sent:"marked_purchase_orders_as_sent",add_to_inventory:"added_purchase_orders_to_inventory"};function $y(){const e=Xe(),n=De(Ut);return(a,s)=>{T.processing(),$("POST",D("/api/v1/purchase_orders/bulk"),{action:s,ids:a}).then(()=>{const o=Dy[s]||`${s}d_purchase_order`;T.success(o),ie(["purchase_orders"]),s==="expense"&&ie(["expenses"]),n&&e.invalidateQueries([n])})}}function Ry(){const e=Xe(),n=De(Ut);return a=>{T.processing(),$("PUT",D("/api/v1/purchase_orders/:id?mark_sent=true",{id:a.id}),a).then(()=>{T.success("marked_purchase_order_as_sent"),ie(["purchase_orders"]),n&&e.invalidateQueries([n])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Vy=()=>{const e=Ce(),n=we(),a=_s(),{data:s}=Iy(),o=Ie(wo);return i=>{if(s){const r=i.map(c=>({...ra(),type_id:qn.Product,product_key:c.product_key,quantity:n!=null&&n.fill_products?c.quantity:1,...(n==null?void 0:n.fill_products)&&{line_total:Number((c.price*c.quantity).toFixed(a)),cost:c.price,notes:c.notes,tax_name1:c.tax_name1,tax_rate1:c.tax_rate1,tax_name2:c.tax_name2,tax_rate2:c.tax_rate2,tax_name3:c.tax_name3,tax_rate3:c.tax_rate3,tax_id:"",custom_value1:c.custom_value1,custom_value2:c.custom_value2,custom_value3:c.custom_value3,custom_value4:c.custom_value4}}));o({...s,line_items:r}),e("/purchase_orders/create?action=purchase_order_product")}}},qy=["product_key","description","price","quantity"];function Ly(){const[e,n,a,s]=pn({entity:"product"});return["product_key","description","price","quantity","archived_at","created_at",e,n,a,s,"documents","entity_state","is_deleted","notification_threshold","stock_quantity","tax_name1","tax_name2","tax_name3","tax_rate1","tax_rate2","tax_rate3","updated_at"]}function JQe(){var h;const{t:e}=N();Ly();const{dateFormat:n}=At(),a=rn(),s=ds(),o=Et(),i=Pa(),r=Ha(),[c,l,_,d]=pn({entity:"product"}),p=[{column:"product_key",id:"product_key",label:e("product"),format:(u,v)=>f("span",{className:"inline-flex items-center space-x-4",children:[t(En,{entity:v}),t(dn,{to:U("/products/:id/edit",{id:v.id}),renderSpan:i("product",v),children:u})]})},{column:"description",id:"notes",label:e("notes"),format:u=>t(Qt,{width:"auto",tooltipElement:t("div",{className:"w-full max-h-48 overflow-auto whitespace-normal break-all",children:t("article",{className:oe("prose prose-sm",{"prose-invert":o.dark_mode}),dangerouslySetInnerHTML:{__html:jt(u)}})}),children:t("span",{children:Kn(jt(u)).slice(0,50)})})},{column:"price",id:"price",label:e("price"),format:(u,v)=>{var b,w;return a(u,(b=v.company)==null?void 0:b.settings.country_id,(w=v.company)==null?void 0:w.settings.currency_id)}},{column:"quantity",id:"quantity",label:e("default_quantity"),format:u=>s(u)},{column:"archived_at",id:"archived_at",label:e("archived_at"),format:u=>Qe(u,n)},{column:"created_at",id:"created_at",label:e("created_at"),format:u=>Qe(u,n)},{column:c,id:"custom_value1",label:c,format:u=>r("product1",u==null?void 0:u.toString())},{column:l,id:"custom_value2",label:l,format:u=>r("product2",u==null?void 0:u.toString())},{column:_,id:"custom_value3",label:_,format:u=>r("product3",u==null?void 0:u.toString())},{column:d,id:"custom_value4",label:d,format:u=>r("product4",u==null?void 0:u.toString())},{column:"documents",id:"documents",label:e("documents"),format:(u,v)=>v.documents.length},{column:"entity_state",id:"id",label:e("entity_state"),format:(u,v)=>t(En,{entity:v})},{column:"is_deleted",id:"is_deleted",label:e("is_deleted"),format:(u,v)=>v.is_deleted?e("yes"):e("no")},{column:"notification_threshold",id:"stock_notification_threshold",label:e("notification_threshold")},{column:"stock_quantity",id:"in_stock_quantity",label:e("stock_quantity")},{column:"tax_name1",id:"tax_name1",label:e("tax_name1")},{column:"tax_name2",id:"tax_name2",label:e("tax_name2")},{column:"tax_name3",id:"tax_name3",label:e("tax_name3")},{column:"tax_rate1",id:"tax_rate1",label:e("tax_rate1"),format:u=>s(u)},{column:"tax_rate2",id:"tax_rate2",label:e("tax_rate2"),format:u=>s(u)},{column:"tax_rate3",id:"tax_rate3",label:e("tax_rate3"),format:u=>s(u)},{column:"updated_at",id:"updated_at",label:e("updated_at"),format:u=>Qe(u,n)}],m=((h=o==null?void 0:o.react_table_columns)==null?void 0:h.product)||qy;return p.filter(u=>m.includes(u.column)).sort((u,v)=>m.indexOf(u.column)-m.indexOf(v.column))}function ZQe(){const[e]=N(),n=Ce(),a=ot(),s=Ie(Ay),o=Ny(),i=Vy(),{isEditPage:r}=Ta({entity:"product",editPageTabs:["documents","product_fields"]}),c=d=>{s({...d,id:"",documents:[]}),n("/products/create?action=clone")},l=(d,p)=>{T.processing(),xv([p],d).then(()=>{T.success(`${d}d_product`),ie(["products"])})};return[d=>!d.is_deleted&&a("create_invoice")&&t(M,{onClick:()=>o([d]),icon:t(L,{element:gn}),children:e("new_invoice")}),d=>!d.is_deleted&&a("create_purchase_order")&&t(M,{onClick:()=>i([d]),icon:t(L,{element:gn}),children:e("new_purchase_order")}),d=>!d.is_deleted&&a("create_product")&&t(M,{onClick:()=>c(d),icon:t(L,{element:Gn}),children:e("clone")}),()=>r&&t(ye,{withoutPadding:!0}),d=>Me(d)===Re.Active&&r&&t(M,{onClick:()=>l("archive",d.id),icon:t(L,{element:Rt}),children:e("archive")}),d=>(Me(d)===Re.Archived||Me(d)===Re.Deleted)&&r&&t(M,{onClick:()=>l("restore",d.id),icon:t(L,{element:Vt}),children:e("restore")}),d=>(Me(d)===Re.Active||Me(d)===Re.Archived)&&r&&t(M,{onClick:()=>l("delete",d.id),icon:t(L,{element:kt}),children:e("delete")})]}function Oy(e){const{setErrors:n,setProduct:a}=e;return(s,o)=>{n(void 0),a(i=>i&&{...i,[s]:o})}}function $i(){const[e]=N();return[{id:"1",value:"1",label:e("physical_goods"),resource:null,eventType:"external",searchable:e("physical_goods")},{id:"2",value:"2",label:e("services"),resource:null,eventType:"external",searchable:e("services")},{id:"3",value:"3",label:e("digital_products"),resource:null,eventType:"external",searchable:e("digital_products")},{id:"4",value:"4",label:e("shipping"),resource:null,eventType:"external",searchable:e("shipping")},{id:"5",value:"5",label:e("tax_exempt"),resource:null,eventType:"external",searchable:e("tax_exempt")},{id:"6",value:"6",label:e("reduced_tax"),resource:null,eventType:"external",searchable:e("reduced_tax")},{id:"7",value:"7",label:e("override_tax"),resource:null,eventType:"external",searchable:e("override_tax")},{id:"8",value:"8",label:e("zero_rated"),resource:null,eventType:"external",searchable:e("zero_rated")},{id:"9",value:"9",label:e("reverse_tax"),resource:null,eventType:"external",searchable:e("reverse_tax")}]}function My({value:e,label:n,onChange:a}){const s=$i();return t(Fc,{inputOptions:{value:e,label:n},entries:s,entryOptions:{id:"id",value:"id",label:"label"},onChange:a,onEmptyValues:()=>null})}function jy(e){var _,d,p,m;const[n]=N(),[,a]=As(),s=we(),o=$i(),{errors:i,handleChange:r,type:c,product:l}=e;return f(F,{children:[c==="edit"&&t(x,{leftSide:n("status"),children:t(En,{entity:l})}),t(x,{leftSide:n("item"),required:!0,children:t(q,{required:!0,value:l.product_key,onValueChange:h=>r("product_key",h),errorMessage:i==null?void 0:i.errors.product_key})}),t(x,{leftSide:n("description"),children:t(q,{element:"textarea",value:l.notes,onValueChange:h=>r("notes",h),errorMessage:i==null?void 0:i.errors.notes})}),t(x,{leftSide:n("price"),children:t(We,{value:l.price||"",onValueChange:h=>r("price",parseFloat(h)),errorMessage:i==null?void 0:i.errors.price})}),(s==null?void 0:s.enable_product_cost)&&t(x,{leftSide:n("cost"),children:t(q,{value:l.cost,onValueChange:h=>r("cost",h),errorMessage:i==null?void 0:i.errors.cost})}),(s==null?void 0:s.enable_product_quantity)&&t(x,{leftSide:n("default_quantity"),children:t(We,{value:l.quantity||"",onValueChange:h=>r("quantity",parseFloat(h)),errorMessage:i==null?void 0:i.errors.quantity})}),t(x,{leftSide:n("max_quantity"),children:t(We,{value:l.max_quantity||"",onValueChange:h=>r("max_quantity",parseFloat(h)),errorMessage:i==null?void 0:i.errors.max_quantity})}),f(x,{leftSide:n("tax_category"),children:[t(se,{value:l.tax_id,onValueChange:h=>r("tax_id",h),customSelector:!0,dismissable:!1,children:o.map((h,u)=>t("option",{value:h.value,children:h.label},u))}),i!=null&&i.errors.tax_id?t(it,{className:"mt-2",type:"danger",children:i.errors.tax_id}):null]}),t(x,{leftSide:n("image_url"),children:t(q,{value:l.product_image,onValueChange:h=>r("product_image",h),errorMessage:i==null?void 0:i.errors.product_image})}),(s==null?void 0:s.track_inventory)&&f(F,{children:[t(x,{leftSide:n("stock_quantity"),children:t(We,{value:l.in_stock_quantity||"",onValueChange:h=>{r("in_stock_quantity",Number(h)),c==="edit"&&a(u=>({...u,update_in_stock_quantity:"true"}))},errorMessage:i==null?void 0:i.errors.in_stock_quantity})}),t(x,{leftSide:n("stock_notifications"),children:t(B,{checked:l.stock_notification,onValueChange:h=>r("stock_notification",h)})}),t(x,{leftSide:n("notification_threshold"),children:t(We,{value:l.stock_notification_threshold||"",onValueChange:h=>r("stock_notification_threshold",parseFloat(h)),errorMessage:i==null?void 0:i.errors.stock_notification_threshold})})]}),s&&s.enabled_item_tax_rates>0&&t(x,{leftSide:n("tax"),children:t(ha,{onChange:h=>{var u,v;r("tax_rate1",(u=h.resource)==null?void 0:u.rate),r("tax_name1",(v=h.resource)==null?void 0:v.name)},defaultValue:l.tax_name1,onClearButtonClick:()=>{r("tax_rate1",0),r("tax_name1","")},onTaxCreated:h=>{r("tax_rate1",h.rate),r("tax_name1",h.name)}})}),s&&s.enabled_item_tax_rates>1&&t(x,{leftSide:n("tax"),children:t(ha,{onChange:h=>{var u,v;r("tax_rate2",(u=h.resource)==null?void 0:u.rate),r("tax_name2",(v=h.resource)==null?void 0:v.name)},defaultValue:l.tax_name2,onClearButtonClick:()=>{r("tax_rate2",0),r("tax_name2","")},onTaxCreated:h=>{r("tax_rate2",h.rate),r("tax_name2",h.name)}})}),s&&s.enabled_item_tax_rates>2&&t(x,{leftSide:n("tax"),children:t(ha,{onChange:h=>{var u,v;r("tax_rate3",(u=h.resource)==null?void 0:u.rate),r("tax_name3",(v=h.resource)==null?void 0:v.name)},defaultValue:l.tax_name3,onClearButtonClick:()=>{r("tax_rate3",0),r("tax_name3","")},onTaxCreated:h=>{r("tax_rate3",h.rate),r("tax_name3",h.name)}})}),((_=s==null?void 0:s.custom_fields)==null?void 0:_.product1)&&t(at,{field:"custom_value1",defaultValue:l.custom_value1,value:s.custom_fields.product1,onValueChange:h=>r("custom_value1",h)}),((d=s==null?void 0:s.custom_fields)==null?void 0:d.product2)&&t(at,{field:"custom_value2",defaultValue:l.custom_value2,value:s.custom_fields.product2,onValueChange:h=>r("custom_value2",h)}),((p=s==null?void 0:s.custom_fields)==null?void 0:p.product3)&&t(at,{field:"custom_value3",defaultValue:l.custom_value3,value:s.custom_fields.product3,onValueChange:h=>r("custom_value3",h)}),((m=s==null?void 0:s.custom_fields)==null?void 0:m.product4)&&t(at,{field:"custom_value4",defaultValue:l.custom_value4,value:s.custom_fields.product4,onValueChange:h=>r("custom_value4",h)})]})}function Fy(e){const[n]=N(),{data:a}=kv(),[s,o]=g.useState(),[i,r]=g.useState(!1),[c,l]=g.useState(),_=Oy({setErrors:o,setProduct:l}),d=()=>{i||(r(!0),$("POST",D("/api/v1/products"),c).then(p=>{T.success("created_product"),ie(["products"]),setTimeout(()=>{var m;(m=e.onProductCreated)==null||m.call(e,p.data.data)},200),e.setIsModalOpen(!1)}).catch(p=>{var m;((m=p.response)==null?void 0:m.status)===422&&(o(p.response.data),T.dismiss())}).finally(()=>r(!1)))};return g.useEffect(()=>{a&&l(a)},[a]),f(Fe,{title:n("new_product"),visible:e.isModalOpen,onClose:e.setIsModalOpen,backgroundColor:"gray",size:"small",children:[c&&t(jy,{product:c,errors:s,handleChange:_}),t(te,{type:"primary",behavior:"button",onClick:d,children:n("save")})]})}function By(e){const[n]=N(),[a,s]=g.useState(!1),o=we(),i=ot();return f(F,{children:[t(Fy,{setIsModalOpen:s,isModalOpen:a,onProductCreated:e.onProductCreated}),t(sn,{endpoint:D("/api/v1/products?per_page=800"),inputOptions:{value:e.defaultValue??null,label:e.label},entryOptions:{id:"id",label:"product_key",value:"id",searchable:"notes",dropdownLabelFn:r=>f("div",{children:[f("div",{className:"flex space-x-1",children:[t("p",{className:"font-semibold",children:r.product_key}),(o==null?void 0:o.track_inventory)&&e.displayStockQuantity&&f("p",{className:oe({"text-red-700":r.in_stock_quantity<=0}),children:["(",ft("stock_quantity_number",{quantity:r.in_stock_quantity}),")"]})]}),t("p",{className:"text-sm truncate",children:r.notes.length>35?r.notes.substring(0,35).concat("..."):r.notes})]})},onChange:r=>e.onChange&&e.onChange(r),onInputValueChange:e.onInputValueChange,action:{label:n("new_product"),onClick:()=>s(!0),visible:i("create_product")&&!e.withoutAction},onDismiss:e.onClearButtonClick,sortBy:"product_key|asc",nullable:!0,clearInputAfterSelection:e.clearInputAfterSelection},"product_selector"),e.errorMessage&&t(it,{type:"danger",className:"mt-2",children:e.errorMessage})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function zy(e){const n=e.resource,a=Ie(Aa);return(s,o,i)=>{a(!1);const r={...n.line_items[o]};return r[s]=(i==null?void 0:i.rate)??0,r[s.replace("rate","name")]=(i==null?void 0:i.name)||"",e.onChange(o,r)}}const Uy=["discount","cost","unit_cost","quantity","rate","hours"],Hy=["tax_rate1","tax_rate2","tax_rate3"],Gy={decimalSeparator:".",precision:2,thousandSeparator:","},Ws=e=>!Object.keys(e).some(a=>a!=="_id"&&a!=="type_id"&&a!=="is_amount_discount"&&e[a]);function Wy(e){const n=zt(),[a,s]=g.useState(),[o,i]=tt(Aa),r=k=>k.filter((S,E)=>E!==k.length-1).some(S=>Ws(S));g.useCallback(k=>{let C=qn.Product;e.type==="task"&&(C=qn.Task);const S=k.filter(({type_id:H})=>H===C),E=S.length,I=S[E-1];if(E>0&&(!r(S)&&!Ws(I)&&e.createItem(),r(S)&&Ws(I))){const H=k.indexOf(S[E-1]);H>-1&&e.deleteLineItem(H)}},[e.resource.line_items]);const c=Sy({relationType:e.relationType,resource:e.resource,type:e.type,onChange:e.onLineItemChange}),l=zy({resource:e.resource,type:e.type,onChange:e.onLineItemChange}),_=async(k,C,S)=>{i(!1),await e.onLineItemPropertyChange(k,C,S)},d=we(),p=Et(),m=e.resource,h=async(k,C,S)=>{i(!1);const E=ce.cloneDeep(S);S&&d&&d.enabled_item_tax_rates===0&&(E.tax_name1="",E.tax_rate1=0,E.tax_name2="",E.tax_rate2=0,E.tax_name3="",E.tax_rate3=0),S&&d&&d.enabled_item_tax_rates===1&&(E.tax_name2="",E.tax_rate2=0,E.tax_name3="",E.tax_rate3=0),S&&d&&d.enabled_item_tax_rates===2&&(E.tax_name3="",E.tax_rate3=0),await c(k,C,E)},u=Ty({resource:e.resource,relationType:e.relationType}),v=xo(s);g.useEffect(()=>{m[e.relationType]?v(m[e.relationType],e.relationType):s(Gy)},[m==null?void 0:m[e.relationType]]),g.useEffect(()=>{},[m==null?void 0:m.line_items,o]);const b=$i(),{preferences:w}=ka(),y=(k,C)=>{if(d.calculate_taxes){const S=m==null?void 0:m.line_items[C];return S.tax_id==="7"||S.tax_id===""?f(es,{children:[t(ha,{onChange:I=>I.resource&&l(k,C,I.resource),onTaxCreated:I=>l(k,C,I),defaultValue:m==null?void 0:m.line_items[C][k.replace("rate","name")],onClearButtonClick:()=>l(k,C)},`${k}${m==null?void 0:m.line_items[C][k]}`),k==="tax_rate1"?t("button",{type:"button",onClick:()=>_("tax_id","1",C),children:t(Qd,{})}):null]}):wt(b).pluck("value").filter(I=>I!=="7").toArray().includes(S.tax_id)&&k==="tax_rate1"?t(es,{children:t(My,{value:S.tax_id,onChange:I=>_("tax_id",I.value,C)})}):null}return t(ha,{onChange:S=>S.resource&&l(k,C,S.resource),onTaxCreated:S=>l(k,C,S),defaultValue:m==null?void 0:m.line_items[C][k.replace("rate","name")],onClearButtonClick:()=>l(k,C)},`${k}${m==null?void 0:m.line_items[C][k]}`)};return(k,C)=>{var E,I,H,z;const S=_l(k);if(S==="product_key")return t(By,{onChange:j=>h(C,j.label,j.resource),className:"w-auto",defaultValue:m==null?void 0:m.line_items[C][S],onProductCreated:j=>j&&h(C,j.product_key,j),clearButton:!0,onInputValueChange:j=>_("product_key",j,C),onClearButtonClick:()=>c(C,"",null),displayStockQuantity:n.pathname.startsWith("/invoices")},`${S}${m==null?void 0:m.line_items[C][S]}`);if(S==="notes")return t(q,{id:S,element:"textarea",value:m==null?void 0:m.line_items[C][S],onChange:j=>_(S,j.target.value,C),style:{marginTop:"4px"},textareaRows:w.auto_expand_product_table_notes?1:3},`${S}${C}`);if(Uy.includes(S))return a&&t(We,{precision:S==="quantity"?6:p!=null&&p.number_precision&&(p==null?void 0:p.number_precision)>0&&(p==null?void 0:p.number_precision)<=100?p.number_precision:(a==null?void 0:a.precision)||2,id:S,value:(m==null?void 0:m.line_items[C][S])||"",className:"auto",onValueChange:j=>{_(S,isNaN(parseFloat(j))?0:parseFloat(j),C)}});if(S==="gross_line_total"||S==="tax_amount")return u((m==null?void 0:m.line_items[C][S])??0);if(Hy.includes(S))return y(S,C);if(["line_total"].includes(S))return u(m==null?void 0:m.line_items[C][S]);if(["product1","product2","product3","product4"].includes(S)){const j=S.replace("product","custom_value");return(E=d.custom_fields)!=null&&E[S]?t(at,{field:S,defaultValue:m==null?void 0:m.line_items[C][j],value:(I=d.custom_fields)==null?void 0:I[S],onValueChange:W=>_(j,W,C),fieldOnly:!0}):t(q,{id:S,value:m==null?void 0:m.line_items[C][S],onChange:W=>_(S,W.target.value,C)})}if(["task1","task2","task3","task4"].includes(S)){const j=S.replace("task","custom_value");return(H=d.custom_fields)!=null&&H[S]?t(at,{field:S,defaultValue:m==null?void 0:m.line_items[C][j],value:(z=d.custom_fields)==null?void 0:z[S],onValueChange:W=>_(j,W,C),fieldOnly:!0}):t(q,{id:S,value:m==null?void 0:m.line_items[C][S],onChange:W=>_(S,W.target.value,C)})}return t(q,{id:S,value:m==null?void 0:m.line_items[C][S],onChange:j=>_(S,j.target.value,C)})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ky(e){const[n]=N(),a=we(),{type:s}=e||{},o=s==="product"||!s?["product1","product2","product3","product4"]:["task1","task2","task3","task4"],i={"$product.tax_rate1":n("tax_rate1"),"$product.tax_rate2":n("tax_rate2"),"$product.tax_rate3":n("tax_rate3")};return(r,c=".")=>{var _;if(Object.prototype.hasOwnProperty.call(i,r))return i[r];const{property:l}=dl(r,c);if(o.includes(l)){const d=(_=a.custom_fields)==null?void 0:_[l];if(d)return d.split("|")[0]}return n(l||r)}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Qy(e){const n=e.resource;return a=>{var o,i;if(a.source.index===((o=a.destination)==null?void 0:o.index))return;const s=n?Br(n.line_items,a.source.index,(i=a.destination)==null?void 0:i.index):[];return e.onSort(s)}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Yy(e){const n=_l(e);return{product_key:"15%",notes:"30%",cost:"10%",quantity:"10%",line_total:"5%",discount:"10%",tax_rate1:"12%"}[n]||""}const Aa=et(void 0);function eYe(e){const[n]=N(),a=me(),s=pi(),{resource:o,items:i,columns:r,relationType:c}=e,l=Ie(Aa),_=Ky({type:e.type}),d=Wy({type:e.type,resource:e.resource,onLineItemChange:e.onLineItemChange,onLineItemPropertyChange:e.onLineItemPropertyChange,relationType:c,createItem:e.onCreateItemClick,deleteLineItem:e.onDeleteRowClick}),p=Qy({resource:e.resource,onSort:e.onSort}),m=()=>i.some(u=>Ws(u)),h=u=>o.line_items.indexOf(u);return f(Ca,{children:[t(Ea,{backgroundColor:s.$5,children:r.map((u,v)=>t(yt,{textColor:s.$6,children:_(u)},v))}),t(ro,{onDragEnd:p,children:t(co,{droppableId:"product-table",children:u=>f(Sa,{...u.droppableProps,innerRef:u.innerRef,children:[i.map((v,b)=>t(lo,{draggableId:h(v).toString(),index:h(v),children:w=>t($t,{innerRef:w.innerRef,tabIndex:b+1,...w.draggableProps,children:r.map((y,k,{length:C})=>f(Ye,{width:Yy(y),children:[C-1!==k&&f("div",{className:oe({"flex justify-between items-center space-x-3":k===0}),children:[k===0?t("button",{...w.dragHandleProps,children:t(T_,{size:18})}):null,d(y,h(v))]}),C-1===k&&f("div",{className:"flex justify-between items-center",children:[d(y,h(v)),o&&t("button",{style:{color:a.$3},className:"ml-2 text-gray-600 hover:text-red-600",onClick:()=>{l(!0),e.onDeleteRowClick(h(v))},children:t(P_,{size:18})})]})]},k))},h(v))},h(v))),u.placeholder,t($t,{className:"bg-slate-100 hover:bg-slate-200",children:t(Ye,{colSpan:100,children:f("button",{onClick:()=>!m()&&e.onCreateItemClick(),className:"w-full py-2 inline-flex justify-center items-center space-x-2",children:[t(A_,{size:18}),t("span",{children:e.type==="product"?n("add_item"):n("add_line")})]})})})]})})})]})}function Cn(e){const{onClick:n,icon:a,label:s}=e;return f(te,{behavior:"button",type:"secondary",className:"w-3/4",onClick:n,children:[t(L,{element:a,style:{width:"1.1rem",height:"1.1rem"}}),t("span",{children:s})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Ri=et(void 0),tYe=et(void 0);/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Co=et(void 0),Xy=et(void 0);/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const So=et(void 0),Jy=et(void 0);function Zy(e){const[n]=N(),a=Ce(),{purchaseOrder:s}=e,o=ot(),i=Ie(Co),r=Ie(Ri),c=Ie(ia),l=Ie(So),_=$e(),[d,p]=g.useState(!1),m=()=>{c({...s,id:"",number:"",documents:[],due_date:"",partial_due_date:"",date:fe().format("YYYY-MM-DD"),total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"",client_id:"",paid_to_date:0,po_number:s.number,design_id:_.settings.invoice_design_id}),a("/invoices/create?action=clone")},h=()=>{i({...s,id:"",number:"",documents:[],date:fe().format("YYYY-MM-DD"),due_date:"",partial_due_date:"",total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"",client_id:"",paid_to_date:0,po_number:s.number,design_id:_.settings.quote_design_id}),a("/quotes/create?action=clone")},u=()=>{l({...s,id:"",number:"",documents:[],frequency_id:"5",paid_to_date:0,total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"",client_id:"",due_date:"",partial_due_date:"",po_number:s.number,design_id:_.settings.invoice_design_id}),a("/recurring_invoices/create?action=clone")},v=()=>{r({...s,id:"",number:"",documents:[],date:fe().format("YYYY-MM-DD"),due_date:"",partial_due_date:"",total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"",client_id:"",paid_to_date:0,po_number:s.number,design_id:_.settings.credit_design_id}),a("/credits/create?action=clone")};return f(F,{children:[(o("create_invoice")||o("create_quote")||o("create_recurring_invoice")||o("create_credit"))&&t(M,{onClick:()=>p(!0),icon:t(L,{element:Gn}),children:n("clone_to_other")}),t(Fe,{title:n("clone_to"),visible:d,onClose:()=>p(!1),closeButtonCypressRef:"cloneOptionsModalXButton",children:t("div",{className:"flex justify-center",children:f("div",{className:"flex flex-1 flex-col items-center space-y-3",children:[o("create_invoice")&&t(Cn,{label:n("invoice"),icon:ga,onClick:m}),o("create_quote")&&t(Cn,{label:n("quote"),icon:oi,onClick:h}),o("create_recurring_invoice")&&t(Cn,{label:n("recurring_invoice"),icon:Ys,onClick:u}),o("create_credit")&&t(Cn,{label:n("credit"),icon:ga,onClick:v})]})})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Vi(){const e=Ae();return async()=>$("POST",D("/api/v1/refresh")).then(n=>{e(Mn(n.data.data))})}et(!1);const eb=et(null),tb=et(!1),nb=et([]),ab=et(null);function nYe({entity:e,entities:n,visible:a,bulkUrl:s,setVisible:o,labelFn:i}){const[r]=N(),[c,l]=g.useState(null),[_,d]=g.useState(!1),[p,m]=tt(eb),h=Xe(),u=g.useRef(null),v=()=>{const w=wt(n).pluck("id").toArray();m(null),T.processing(),$("POST",D(s),{ids:w,entity:e,template_id:c,send_email:_,action:"template"}).then(y=>{const k=y.data.message;if(Qo.emit("bulk.completed"),_){o(!1),T.success();return}u.current&&(u.current.disabled=!0),h.fetchQuery({queryKey:["reports",k],queryFn:()=>$("POST",D(`/api/v1/templates/preview/${k}`),{},{responseType:"arraybuffer"}).then(C=>C.data),retry:10,retryDelay:5e3}).then(C=>{const S=new Blob([C],{type:"application/pdf"}),E=URL.createObjectURL(S);m(E),T.success(),Qo.emit("bulk.completed")}).finally(()=>{u.current&&(u.current.disabled=!1)})})},b=w=>{const y=document.createElement("a");y.download="template.pdf",y.href=w,y.target="_blank",document.body.appendChild(y),y.click(),document.body.removeChild(y)};return f(Fe,{title:r("load_template"),visible:a,onClose:o,size:"small",children:[t(x,{leftSide:r("design"),noExternalPadding:!0,children:t(sn,{endpoint:D(`/api/v1/designs?template=true&entities=${e}`),inputOptions:{value:c??"",label:""},entryOptions:{id:"id",label:"name",value:"id"},onChange:w=>w.resource?l(w.resource.id):null})}),f("p",{className:"capitalize",children:[r("entities"),":"]}),t("ul",{children:n.map((w,y)=>t("li",{children:i(w)},y))}),t(B,{label:r("send_email"),checked:_,onChange:d}),t(te,{innerRef:u,behavior:"button",onClick:v,disabled:!c,disableWithoutIcon:!0,children:r("run_template")}),p?t(te,{type:"secondary",behavior:"button",onClick:()=>b(p),children:r("download_pdf")}):null]})}function us(){const[e,n]=tt(tb),[a,s]=tt(nb),[o,i]=tt(ab);return{changeTemplateVisible:e,changeTemplateResources:a,changeTemplateEntityContext:o,setChangeTemplateVisible:n,setChangeTemplateResources:s,setChangeTemplateEntityContext:i}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function sb(e){return n=>{if(n.invitations.length!==0&&n.invitations.length>0)return D("/api/v1/:resource/:invitation/:downloadType",{resource:e.resourceType,invitation:n.invitations[0].key,downloadType:e.downloadType||"download_e_invoice"})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function pl(e){const n=Xe(),a=sb({resourceType:e.resource,downloadType:e.downloadType});return s=>{const o=a(s);o&&(T.processing(),n.fetchQuery(o,()=>$("GET",o,{},{responseType:"arraybuffer"}).then(i=>{const r=new Blob([i.data],{type:"application/xml"}),c=URL.createObjectURL(r),[,l]=i.headers["content-disposition"].split("filename="),_=document.createElement("a");_.download=l,_.href=c,_.target="_blank",document.body.appendChild(_),_.click(),document.body.removeChild(_),T.dismiss()})))}}const ob=St.div`
  border-color: ${e=>e.theme.borderColor};
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`;function aYe(){const[e]=N(),{dateFormat:n}=At(),a=o=>{var d,p,m,h,u,v,b,w,y,k,C,S,E,I,H,z,j,W,ee,V,O,Y,le,ne,Le,ze,G,ge,qe,Pt;let i=ft(`activity_${o.activity_type_id}`,{});o.activity_type_id===10&&o.contact&&(i=ft("activity_10_online",{})),o.activity_type_id===54&&o.contact&&(i=i.replace(":user",":contact"));const r=["invoice","quote","recurring_invoice","vendor","credit","payment","project","task","expense","recurring_expense","bank_transaction","purchase_order"],l=(()=>{const Tt=Object.keys(o||{}).find(pe=>r.includes(pe));return!Tt&&(o!=null&&o.client)?"client":Tt||""})(),_={client:t(Pe,{to:U("/clients/:id",{id:(d=o.client)==null?void 0:d.hashed_id}),children:(p=o.client)==null?void 0:p.label}),contact:t(Pe,{to:U(`/${(m=o==null?void 0:o.contact)==null?void 0:m.contact_entity}/:id`,{id:(h=o.contact)==null?void 0:h.hashed_id}),children:(u=o.contact)==null?void 0:u.label}),quote:t(Pe,{to:U("/quotes/:id/edit",{id:(v=o.quote)==null?void 0:v.hashed_id}),children:(b=o.quote)==null?void 0:b.label}),user:((w=o.user)==null?void 0:w.label)??e("system"),expense:t(Pe,{to:U("/expenses/:id/edit",{id:(y=o.expense)==null?void 0:y.hashed_id}),children:(k=o==null?void 0:o.expense)==null?void 0:k.label}),recurring_invoice:t(Pe,{to:U("/recurring_invoices/:id/edit",{id:(C=o.recurring_invoice)==null?void 0:C.hashed_id}),children:(S=o==null?void 0:o.recurring_invoice)==null?void 0:S.label}),recurring_expense:t(Pe,{to:U("/recurring_expenses/:id/edit",{id:(E=o.recurring_expense)==null?void 0:E.hashed_id}),children:(I=o==null?void 0:o.recurring_expense)==null?void 0:I.label}),purchase_order:t(Pe,{to:U("/purchase_orders/:id/edit",{id:(H=o.purchase_order)==null?void 0:H.hashed_id}),children:(z=o==null?void 0:o.purchase_order)==null?void 0:z.label}),invoice:t(Pe,{to:U("/invoices/:id/edit",{id:(j=o.invoice)==null?void 0:j.hashed_id}),children:(W=o==null?void 0:o.invoice)==null?void 0:W.label}),payment_amount:(ee=o==null?void 0:o.payment_amount)==null?void 0:ee.label,payment:t(Pe,{to:U("/payments/:id/edit",{id:(V=o.payment)==null?void 0:V.hashed_id}),children:(O=o==null?void 0:o.payment)==null?void 0:O.label}),credit:t(Pe,{to:U("/credits/:id/edit",{id:(Y=o.credit)==null?void 0:Y.hashed_id}),children:(le=o==null?void 0:o.credit)==null?void 0:le.label}),task:t(Pe,{to:U("/tasks/:id/edit",{id:(ne=o.task)==null?void 0:ne.hashed_id}),children:(Le=o==null?void 0:o.task)==null?void 0:Le.label}),vendor:t(Pe,{to:U("/vendors/:id/edit",{id:(ze=o.vendor)==null?void 0:ze.hashed_id}),children:(G=o==null?void 0:o.vendor)==null?void 0:G.label}),subscription:t(Pe,{to:U("/settings/subscriptions/:id/edit",{id:(ge=o.subscription)==null?void 0:ge.hashed_id}),children:(qe=o==null?void 0:o.subscription)==null?void 0:qe.label}),adjustment:(Pt=o==null?void 0:o.adjustment)==null?void 0:Pt.label,notes:!!(l&&o[l])&&f(F,{children:[t("br",{}),t(Pe,{to:U(`/${l}s/${o[l].hashed_id}/edit`),children:o==null?void 0:o.notes})]})};for(const[Tt,pe]of Object.entries(_))i=ci(i,`:${Tt}`,()=>pe);return i},s=me();return o=>t(ob,{theme:{borderColor:s.$4,hoverColor:s.$2},className:"flex flex-col py-2 border border-t-0 border-x-0 last:border-b-0",children:f("div",{className:"flex flex-col space-y-2",children:[t("span",{className:"text-sm",children:a(o)}),f("div",{className:"flex space-x-3",children:[t("span",{className:"dark:text-white text-sm",children:Qe(o.created_at,n+" HH:mm")}),t("span",{className:"text-gray-500 text-sm",children:o.ip})]})]})})}function Eo(e){const[n]=N(),{entity:a,entityId:s,label:o,labelElement:i}=e,[r,c]=g.useState(!1),[l,_]=g.useState(!1),[d,p]=g.useState(""),m=()=>{_(!1),p("")},h=()=>{r||(c(!0),T.processing(),$("POST",D("/api/v1/activities/notes"),{entity:`${a}s`,entity_id:s,notes:d}).then(()=>{T.success("saved_comment"),ie(["activities"])}).finally(()=>{c(!1),m()}))};return f(F,{children:[s&&t("div",{className:"cursor-pointer",onClick:()=>_(!0),children:i||t(te,{behavior:"button",type:"secondary",onClick:()=>{},children:n("add_comment")})}),f(Fe,{size:"regular",title:`${n("comment")} | ${n(a)} | ${o}`,visible:l,onClose:m,children:[t(q,{element:"textarea",value:d,onValueChange:u=>p(u),changeOverride:!0}),t("div",{className:"flex self-end",children:t(te,{behavior:"button",onClick:h,disabled:r||!d,disableWithoutIcon:!0,children:n("add")})})]})]})}function sYe(e){const{setErrors:n,isDefaultTerms:a,isDefaultFooter:s}=e,o=Ce(),i=Vi(),r=Ie(Aa);return c=>{T.processing(),n(void 0);let l="/api/v1/purchase_orders?";a?(l+="save_default_terms=true",s&&(l+="&save_default_footer=true")):s&&(l+="save_default_footer=true"),$("POST",D(l),c).then(async _=>{(a||s)&&await i(),T.success("created_purchase_order"),ie(["purchase_orders"]),o(U("/purchase_orders/:id/edit",{id:_.data.data.id}))}).catch(_=>{var d;if(((d=_.response)==null?void 0:d.status)===422){const p=_.response.data;p.errors.amount?T.error(p.errors.amount[0]):T.dismiss(),n(p)}}).finally(()=>r(void 0))}}const ib=["status","number","vendor","expense","amount","date","due_date"];function rb(){const[e,n,a,s]=pn({entity:"invoice"});return["status","number","vendor","expense","amount","date","due_date","archived_at","contact_email","contact_name","created_at",e,n,a,s,"discount","documents","entity_state","exchange_rate"]}function oYe(){var h;const{t:e}=N(),{dateFormat:n}=At(),a=rn(),s=ds(),o=Et(),i=Pa(),r=Ha();rb();const[c,l,_,d]=pn({entity:"invoice"}),p=[{column:"status",id:"status_id",label:e("status"),format:(u,v)=>t(Pe,{to:U("/purchase_orders/:id/edit",{id:v.id}),children:t(wy,{entity:v})})},{column:"number",id:"number",label:e("number"),format:(u,v)=>f("div",{className:"flex space-x-2",children:[t(dn,{to:U("/purchase_orders/:id/edit",{id:v.id}),renderSpan:i("purchase_order",v),children:u}),t(Ai,{text:v.number,stopPropagation:!0})]})},{column:"vendor",id:"vendor_id",label:e("vendor"),format:(u,v)=>v.vendor&&t(Pe,{to:U("/vendors/:id",{id:v.vendor.id}),children:v.vendor.name})},{column:"expense",id:"expense_id",label:e("expense"),format:(u,v)=>v.expense&&t(Pe,{to:U("/expenses/:id/edit",{id:v.expense.id}),children:v.expense.number})},{column:"amount",id:"amount",label:e("amount"),format:(u,v)=>{var b,w;return a(u,(b=v.vendor)==null?void 0:b.country_id,(w=v.vendor)==null?void 0:w.currency_id)}},{column:"date",id:"date",label:e("date"),format:u=>Qe(u,n)},{column:"due_date",id:"due_date",label:e("due_date"),format:u=>Qe(u,n)},{column:"archived_at",id:"archived_at",label:e("archived_at"),format:u=>Qe(u,n)},{column:"contact_name",id:"id",label:e("contact_name"),format:(u,v)=>{var b,w;return v.vendor&&((w=(b=v.vendor)==null?void 0:b.contacts)==null?void 0:w.length)>0&&f(Pe,{to:U("/vendors/:id",{id:v.id}),children:[v.vendor.contacts[0].first_name," ",v.vendor.contacts[0].last_name]})}},{column:"contact_email",id:"id",label:e("contact_name"),format:(u,v)=>v.vendor&&t(Dt,{text:v.vendor.contacts[0].email})},{column:"created_at",id:"created_at",label:e("created_at"),format:u=>Qe(u,n)},{column:c,id:"custom_value1",label:c,format:u=>r("invoice1",u==null?void 0:u.toString())},{column:l,id:"custom_value2",label:l,format:u=>r("invoice2",u==null?void 0:u.toString())},{column:_,id:"custom_value3",label:_,format:u=>r("invoice3",u==null?void 0:u.toString())},{column:d,id:"custom_value4",label:d,format:u=>r("invoice4",u==null?void 0:u.toString())},{column:"discount",id:"discount",label:e("discount"),format:(u,v)=>{var b,w;return v.is_amount_discount?a(u,(b=v.vendor)==null?void 0:b.country_id,(w=v.vendor)==null?void 0:w.currency_id):`${s(u)} %`}},{column:"documents",id:"documents",label:e("documents"),format:(u,v)=>v.documents.length},{column:"entity_state",id:"id",label:e("entity_state"),format:(u,v)=>t(En,{entity:v})},{column:"exchange_rate",id:"exchange_rate",label:e("exchange_rate"),format:u=>s(u)}],m=((h=o==null?void 0:o.react_table_columns)==null?void 0:h.purchaseOrder)||ib;return p.filter(u=>m.includes(u.column)).sort((u,v)=>m.indexOf(u.column)-m.indexOf(v.column))}function cb(){const[e]=N(),n=bn();return[{label:e("draft"),value:"draft",color:"white",backgroundColor:"#6B7280"},{label:e("sent"),value:"sent",color:"white",backgroundColor:n.$1||"#93C5FD"},{label:e("accepted"),value:"accepted",color:"white",backgroundColor:n.$2||"#1D4ED8"},{label:e("cancelled"),value:"cancelled",color:"white",backgroundColor:n.$5||"#e6b05c"}]}function iYe(){const[e]=N(),n=we(),{isAdmin:a,isOwner:s}=Je(),{isEditPage:o}=Ta({entity:"purchase_order"}),[,i]=tt(wo),r=$y(),c=Ce(),l=Ry(),_=ot(),d=Pa(),p=ll({entity:"purchase_order"}),m=sl({resource:"purchase_order"}),h=cl({entity:"purchase_order"}),u=pl({resource:"purchase_order",downloadType:"download_e_purchase_order"}),{setChangeTemplateResources:v,setChangeTemplateVisible:b,setChangeTemplateEntityContext:w}=us(),y=C=>{i({...C,id:"",number:"",documents:[],date:fe().format("YYYY-MM-DD"),total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"1",client_id:"",paid_to_date:0,vendor:void 0}),c("/purchase_orders/create?action=clone")};return[C=>t(M,{onClick:()=>c(U("/purchase_orders/:id/email",{id:C.id})),icon:t(L,{element:Zo}),children:e("send_email")}),C=>t(M,{onClick:()=>c(U("/purchase_orders/:id/pdf",{id:C.id})),icon:t(L,{element:no}),children:e("view_pdf")}),C=>Me(C)!==Re.Deleted&&t(M,{onClick:()=>p([C.id]),icon:t(L,{element:Rr}),children:e("print_pdf")}),C=>C.status_id!==ma.Accepted&&(a||s)&&t(M,{onClick:()=>h(C.id),icon:t(L,{element:ei}),children:e("schedule")}),C=>t(Eo,{entity:"purchase_order",entityId:C.id,label:`#${C.number}`,labelElement:t(M,{icon:t(L,{element:ao}),children:e("add_comment")})}),C=>t(M,{onClick:()=>m(C),icon:t(L,{element:fa}),children:e("download")}),C=>!!(n!=null&&n.settings.enable_e_invoice)&&t(M,{onClick:()=>u(C),icon:t(L,{element:fa}),children:e("download_e_purchase_order")}),C=>C.status_id!==ma.Accepted&&t(M,{onClick:()=>l(C),icon:t(L,{element:Vr}),children:e("mark_sent")}),C=>!C.expense_id.length&&t(M,{onClick:()=>r([C.id],"expense"),icon:t(L,{element:ti}),children:e("convert_to_expense")}),C=>C.status_id===ma.Accepted&&t(M,{onClick:()=>r([C.id],"add_to_inventory"),icon:t(L,{element:Yd}),children:e("add_to_inventory")}),C=>!!C.expense_id.length&&!d("expense",C.expense)&&t(M,{onClick:()=>c(U("/expenses/:id/edit",{id:C.expense_id})),icon:t(L,{element:Jo}),children:`${e("view")} ${e("expense")}`}),C=>t(M,{onClick:()=>ol(C),icon:t(L,{element:ni}),children:e("vendor_portal")}),()=>t(ye,{withoutPadding:!0}),C=>_("create_purchase_order")&&t(M,{onClick:()=>y(C),icon:t(L,{element:Gn}),children:e("clone_to_purchase_order")}),C=>t(Zy,{purchaseOrder:C}),C=>t(M,{onClick:()=>{b(!0),v([C]),w({endpoint:"/api/v1/purchase_orders/bulk",entity:"purchase_order"})},icon:t(L,{element:ns}),children:e("run_template")}),()=>o&&t(ye,{withoutPadding:!0}),C=>!C.archived_at&&o&&t(M,{onClick:()=>r([C.id],"archive"),icon:t(L,{element:Rt}),children:e("archive")}),C=>!!C.archived_at&&o&&t(M,{onClick:()=>r([C.id],"restore"),icon:t(L,{element:Vt}),children:e("restore")}),C=>!C.is_deleted&&o&&t(M,{onClick:()=>r([C.id],"delete"),icon:t(L,{element:kt}),children:e("delete")})]}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */var ln=(e=>(e.Viewed="-2",e.Expired="-1",e.Draft="1",e.Sent="2",e.Approved="3",e.Converted="4",e))(ln||{});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */class lb{constructor(n,a){this.invoice=n,this.currency=a,this.taxCollection=wt(),this.lineItems=[],this.items=new Map,this.subTotal=0,this.grossSubTotal=0,this.totalTaxes=0}async process(){var n,a;return!((n=this.invoice)!=null&&n.line_items)||((a=this.invoice.line_items)==null?void 0:a.length)===0?this.items:(this.calculateLineItems(),this)}calculateLineItems(){return this.invoice.line_items.map(n=>{this.item=n,this.cleanLineItem().sumLineItem().setDiscount().calculateTaxes().push()}),this}cleanLineItem(){return this}sumLineItem(){return this.item.line_total=this.item.cost*this.item.quantity+4e-15,this}setDiscount(){if(this.invoice.is_amount_discount)this.item.line_total=this.item.line_total-this.item.discount;else{const n=this.item.line_total*(this.item.discount/100);this.item.line_total=this.item.line_total-n}return this.item.is_amount_discount=this.invoice.is_amount_discount,this}calculateTaxes(){let n=0;const a=this.item.line_total-this.item.line_total*(this.invoice.discount/100),s=this.calculateAmountLineTax(this.item.tax_rate1,a);n+=s,this.item.tax_name1.length>=1&&this.groupTax(this.item.tax_name1,this.item.tax_rate1,s);const o=this.calculateAmountLineTax(this.item.tax_rate2,a);n+=o,this.item.tax_name2.length>=1&&this.groupTax(this.item.tax_name2,this.item.tax_rate2,o);const i=this.calculateAmountLineTax(this.item.tax_rate3,a);return n+=i,this.item.tax_name3.length>=1&&this.groupTax(this.item.tax_name3,this.item.tax_rate3,i),this.item.gross_line_total=this.item.line_total+(isNaN(n)?0:n),this.totalTaxes+=isNaN(n)?0:n,this}groupTax(n,a,s){if(n.length===0)return;let o={};o={key:n+a.toString().replace(" ",""),total:s,name:`${n} ${parseFloat(a.toString())} %`},this.taxCollection.push(wt(o))}calculateAmountLineTax(n,a){return Math.round(a*n/100*1e3/10)/100}push(){var n,a;return this.subTotal+=parseFloat((this.item.line_total+4e-15).toFixed(((n=this.currency)==null?void 0:n.precision)||2)),this.subTotal=parseFloat(this.subTotal.toFixed(((a=this.currency)==null?void 0:a.precision)||2)),this.grossSubTotal+=this.item.gross_line_total,this.lineItems.push(this.item),this}calculateTaxesWithAmountDiscount(){this.taxCollection=wt(),this.totalTaxes=0,this.lineItems.map((n,a)=>{let s=0;if(this.item=n,n.line_total!=0){const o=this.item.line_total-this.item.line_total*(this.invoice.discount/this.subTotal),i=this.calculateAmountLineTax(this.item.tax_rate1,o);s+=i,i!==0&&this.groupTax(this.item.tax_name1,this.item.tax_rate1,i);const r=this.calculateAmountLineTax(this.item.tax_rate2,o);s+=r,r!==0&&this.groupTax(this.item.tax_name2,this.item.tax_rate2,r);const c=this.calculateAmountLineTax(this.item.tax_rate3,o);s+=c,c!==0&&this.groupTax(this.item.tax_name3,this.item.tax_rate3,c),this.item.gross_line_total=this.item.line_total+(isNaN(s)?0:s),this.item.tax_amount=isNaN(s)?0:s}this.lineItems[a]=this.item,this.totalTaxes+=isNaN(s)?0:s})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */class Zs{static formatValue(n,a){return Go(n,a,".","")}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */class hl{constructor(n,a){this.invoice=n,this.currency=a,this.taxMap=wt(),this.totalTaxMap=[],this.totalDiscount=0,this.total=0,this.totalTaxes=0,this.totalCustomValues=0,this.subTotal=0,this.invoiceItems=new lb(this.invoice,this.currency)}build(){return this.calculateLineItems().calculateDiscount().calculateInvoiceTaxes().calculateCustomValues().setTaxMap().calculateTotals().calculateBalance(),this}getTaxMap(){return this.taxMap}calculateLineItems(){return this.invoiceItems.process(),this.invoice.line_items=this.invoiceItems.lineItems,this.total=this.invoiceItems.subTotal,this.subTotal=this.invoiceItems.subTotal,this}calculateDiscount(){return this.totalDiscount=this.discount(this.invoiceItems.subTotal),this.total-=this.totalDiscount,this}calculateInvoiceTaxes(){var n,a,s;if(this.invoice.tax_name1.length>=1){let o=this.taxer(this.total,this.invoice.tax_rate1);o+=this.getSurchargeTaxTotalForKey(this.invoice.tax_name1,this.invoice.tax_rate1),this.totalTaxes+=o,this.totalTaxMap.push({name:`${this.invoice.tax_name1} ${parseFloat(this.invoice.tax_rate1.toFixed(((n=this.currency)==null?void 0:n.precision)||2))} %`})}if(this.invoice.tax_name2.length>=1){let o=this.taxer(this.total,this.invoice.tax_rate2);o+=this.getSurchargeTaxTotalForKey(this.invoice.tax_name2,this.invoice.tax_rate2),this.totalTaxes+=o,this.totalTaxMap.push({name:`${this.invoice.tax_name2} ${parseFloat(this.invoice.tax_rate2.toFixed(((a=this.currency)==null?void 0:a.precision)||2))} %`})}if(this.invoice.tax_name3.length>=1){let o=this.taxer(this.total,this.invoice.tax_rate3);o+=this.getSurchargeTaxTotalForKey(this.invoice.tax_name3,this.invoice.tax_rate3),this.totalTaxes+=o,this.totalTaxMap.push({name:`${this.invoice.tax_name3} ${parseFloat(this.invoice.tax_rate3.toFixed(((s=this.currency)==null?void 0:s.precision)||2))} %`})}return this}calculateCustomValues(){return this.totalCustomValues+=this.valuer(this.invoice.custom_surcharge1),this.totalCustomValues+=this.valuer(this.invoice.custom_surcharge2),this.totalCustomValues+=this.valuer(this.invoice.custom_surcharge3),this.totalCustomValues+=this.valuer(this.invoice.custom_surcharge4),this.total+=this.totalCustomValues,this}getSurchargeTaxTotalForKey(n,a){var o,i,r,c;let s=0;return this.invoice.custom_surcharge_tax1&&(s+=parseFloat((this.invoice.custom_surcharge1*(a/100)).toFixed(((o=this.currency)==null?void 0:o.precision)||2))),this.invoice.custom_surcharge_tax2&&(s+=parseFloat((this.invoice.custom_surcharge2*(a/100)).toFixed(((i=this.currency)==null?void 0:i.precision)||2))),this.invoice.custom_surcharge_tax3&&(s+=parseFloat((this.invoice.custom_surcharge3*(a/100)).toFixed(((r=this.currency)==null?void 0:r.precision)||2))),this.invoice.custom_surcharge_tax4&&(s+=parseFloat((this.invoice.custom_surcharge4*(a/100)).toFixed(((c=this.currency)==null?void 0:c.precision)||2))),s}setTaxMap(){this.invoice.is_amount_discount&&(this.invoiceItems.calculateTaxesWithAmountDiscount(),this.invoice.line_items=this.invoiceItems.lineItems),this.taxMap=wt();let n=wt();return n=this.invoiceItems.taxCollection.pluck("items"),n.pluck("key").unique().map(s=>{const o=n.filter(r=>r.key===s).pluck("name").first(),i=n.filter(r=>r.key===s).sum("total");this.taxMap.push({name:o,total:i})}),this.totalTaxes+=this.invoiceItems.totalTaxes,this}calculateTotals(){var n;return this.total+=this.totalTaxes,this.total.toFixed(((n=this.currency)==null?void 0:n.precision)||2),this}calculateBalance(){return this.setCalculatedAttributes(),this}setCalculatedAttributes(){var n,a;return this.invoice.amount=parseFloat(Zs.formatValue(this.total,((n=this.currency)==null?void 0:n.precision)||2)),this.invoice.balance=parseFloat(Zs.formatValue(this.total,((a=this.currency)==null?void 0:a.precision)||2))-(this.invoice.paid_to_date??0),this.invoice.total_taxes=this.totalTaxes,this}getBalanceDue(){return this.invoice.partial&&this.invoice.partial>0?Math.min(this.invoice.partial,this.invoice.balance):this.invoice.balance}discount(n){var a;return this.invoice.is_amount_discount?this.invoice.discount:parseFloat((n*(this.invoice.discount/100)).toFixed(((a=this.currency)==null?void 0:a.precision)||2))}taxer(n,a){return Math.round(n*((a??0)/100)*1e3/10)/100}valuer(n){return typeof n=="number"?n:0}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function db(){const e=Xe(),n=De(Ut);return a=>{T.processing(),$("PUT",D("/api/v1/quotes/:id?approve=true",{id:a.id}),a).then(()=>{T.success("approved_quote"),ie(["quotes"]),n&&e.invalidateQueries([n])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const _b={convert_to_invoice:"converted_quote",convert_to_project:"converted_quote",email:"emailed_quotes",sent:"marked_quote_as_sent"},fl=()=>{const e=Ce(),n=Xe(),a=De(Ut);return(s,o)=>{T.processing(),$("POST",D("/api/v1/quotes/bulk"),{action:o,ids:s}).then(i=>{const r=_b[o]||`${o}d_quote`;o==="approve"?T.success(ft("approved_quotes",{value:s.length})):T.success(r),ie(["quotes"]),a&&n.invalidateQueries([a]),o==="convert_to_invoice"&&ie(["invoices"]),o==="convert_to_project"&&(ie(["projects"]),e(U("/projects/:id",{id:i.data.data[0].project_id})))})}};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ub(){const e=Xe(),n=De(Ut);return a=>{T.processing(),$("PUT",D("/api/v1/quotes/:id?mark_sent=true",{id:a.id}),a).then(()=>{T.success("quote_sent"),ie(["quotes"]),n&&e.invalidateQueries([n])})}}function mb(e){const[n]=N(),{status_id:a,is_deleted:s,archived_at:o,invoice_id:i,invitations:r}=e.entity,c=bn(),l=()=>r==null?void 0:r.some(h=>h.viewed_date),_=a===ln.Approved||a===ln.Converted,d=!_,p=l(),m=a===ln.Expired;return s?t(Oe,{variant:"red",children:n("deleted")}):o?t(Oe,{variant:"orange",children:n("archived")}):i?t(Oe,{variant:"green",style:{backgroundColor:c.$3},children:n("converted")}):m?t(Oe,{variant:"red",style:{backgroundColor:c.$5},children:n("expired")}):p&&d&&!_?t(Oe,{variant:"yellow",children:n("viewed")}):a===ln.Draft?t(Oe,{variant:"generic",children:n("draft")}):a===ln.Sent?t(Oe,{variant:"light-blue",style:{backgroundColor:c.$1},children:n("sent")}):a===ln.Approved?t(Oe,{variant:"dark-blue",style:{backgroundColor:c.$2},children:n("approved")}):t(F,{})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */class pb{constructor(n){this.invoice=n,this.taxCollection=wt(),this.lineItems=[],this.items=new Map,this.subTotal=0,this.grossSubTotal=0,this.totalTaxes=0}async process(){var n,a;return!((n=this.invoice)!=null&&n.line_items)||((a=this.invoice.line_items)==null?void 0:a.length)===0?this.items:(this.calculateLineItems(),this)}calculateLineItems(){return this.invoice.line_items.map(n=>{this.item=n,this.cleanLineItem().sumLineItem().setDiscount().calculateTaxes().push()}),this}cleanLineItem(){return this}sumLineItem(){return this.item.line_total=this.item.cost*this.item.quantity,this}setDiscount(){return this.invoice.is_amount_discount?this.item.line_total-=this.item.discount:this.item.line_total-=this.item.line_total*(this.item.discount/100),this.item.is_amount_discount=this.invoice.is_amount_discount,this}calculateTaxes(){let n=0;const a=this.item.line_total-this.item.line_total*(this.invoice.discount/100),s=this.calcInclusiveLineTax(this.item.tax_rate1,a);n+=s,this.item.tax_name1.length>=1&&this.groupTax(this.item.tax_name1,this.item.tax_rate1,s);const o=this.calcInclusiveLineTax(this.item.tax_rate2,a);n+=o,this.item.tax_name2.length>=1&&this.groupTax(this.item.tax_name2,this.item.tax_rate2,o);const i=this.calcInclusiveLineTax(this.item.tax_rate3,a);return n+=i,this.item.tax_name3.length>=1&&this.groupTax(this.item.tax_name3,this.item.tax_rate3,i),this.item.gross_line_total=this.item.line_total,this.totalTaxes+=n,this}groupTax(n,a,s){let o={};o={key:n+a.toString().replace(" ",""),total:s,name:`${n} ${parseFloat(a.toString())} %`},this.taxCollection.push(wt(o))}calcInclusiveLineTax(n,a){return a-a/(1+n/100)}push(){return this.subTotal+=this.item.line_total,this.grossSubTotal+=this.item.gross_line_total,this.lineItems.push(this.item),this}calculateTaxesWithAmountDiscount(){this.taxCollection=wt(),this.lineItems.map((n,a)=>{let s=0;if(this.item=n,n.line_total>0){const o=this.subTotal>0?this.item.line_total-this.invoice.discount*(this.item.line_total/this.subTotal):0,i=this.calcInclusiveLineTax(this.item.tax_rate1,o);s+=i,i!==0&&this.groupTax(this.item.tax_name1,this.item.tax_rate1,i);const r=this.calcInclusiveLineTax(this.item.tax_rate2,o);s+=r,r!==0&&this.groupTax(this.item.tax_name2,this.item.tax_rate2,r);const c=this.calcInclusiveLineTax(this.item.tax_rate3,o);s+=c,c!==0&&this.groupTax(this.item.tax_name3,this.item.tax_rate3,c),this.item.gross_line_total=this.item.line_total,this.item.tax_amount=isNaN(s)?0:s}this.lineItems[a]=this.item,this.totalTaxes+=s})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */class gl{constructor(n,a){this.invoice=n,this.currency=a,this.taxMap=wt(),this.totalTaxMap=[],this.totalDiscount=0,this.total=0,this.totalTaxes=0,this.totalCustomValues=0,this.subTotal=0,this.invoiceItems=new pb(this.invoice)}build(){return this.calculateLineItems().calculateDiscount().calculateCustomValues().calculateInvoiceTaxes().setTaxMap().calculateTotals().calculateBalance(),this}calculateLineItems(){return this.invoiceItems.process(),this.invoice.line_items=this.invoiceItems.lineItems,this.total=this.invoiceItems.subTotal,this.subTotal=this.invoiceItems.subTotal,this}calculateDiscount(){return this.totalDiscount=this.discount(this.invoiceItems.subTotal),this.total-=this.totalDiscount,this}calculateInvoiceTaxes(){var a,s,o;let n=this.total;if(this.invoice.discount>0&&this.invoice.is_amount_discount&&(n=this.subTotal-this.invoice.discount),this.invoice.discount>0&&!this.invoice.is_amount_discount&&(n=this.subTotal-this.subTotal*(this.invoice.discount/100)),this.invoice.tax_rate1>0){const i=this.calcInclusiveLineTax(n,this.invoice.tax_rate1);this.totalTaxes+=i,this.totalTaxMap.push({name:`${this.invoice.tax_name1} ${parseFloat(this.invoice.tax_rate1.toFixed(((a=this.currency)==null?void 0:a.precision)||2))} %`})}if(this.invoice.tax_rate2>0){const i=this.calcInclusiveLineTax(n,this.invoice.tax_rate2);this.totalTaxes+=i,this.totalTaxMap.push({name:`${this.invoice.tax_name2} ${parseFloat(this.invoice.tax_rate2.toFixed(((s=this.currency)==null?void 0:s.precision)||2))} %`})}if(this.invoice.tax_rate3>0){const i=this.calcInclusiveLineTax(n,this.invoice.tax_rate3);this.totalTaxes+=i,this.totalTaxMap.push({name:`${this.invoice.tax_name3} ${parseFloat(this.invoice.tax_rate3.toFixed(((o=this.currency)==null?void 0:o.precision)||2))} %`})}return this}getTaxMap(){return this.taxMap}calculateCustomValues(){return this.totalCustomValues+=this.valuer(this.invoice.custom_surcharge1),this.totalCustomValues+=this.valuer(this.invoice.custom_surcharge2),this.totalCustomValues+=this.valuer(this.invoice.custom_surcharge3),this.totalCustomValues+=this.valuer(this.invoice.custom_surcharge4),this.total+=this.totalCustomValues,this}getSurchargeTaxTotalForKey(n,a){var o,i,r,c;let s=0;return this.invoice.custom_surcharge_tax1&&(s+=parseFloat((this.invoice.custom_surcharge1*(a/100)).toFixed(((o=this.currency)==null?void 0:o.precision)||2))),this.invoice.custom_surcharge_tax2&&(s+=parseFloat((this.invoice.custom_surcharge2*(a/100)).toFixed(((i=this.currency)==null?void 0:i.precision)||2))),this.invoice.custom_surcharge_tax3&&(s+=parseFloat((this.invoice.custom_surcharge3*(a/100)).toFixed(((r=this.currency)==null?void 0:r.precision)||2))),this.invoice.custom_surcharge_tax4&&(s+=parseFloat((this.invoice.custom_surcharge4*(a/100)).toFixed(((c=this.currency)==null?void 0:c.precision)||2))),s}setTaxMap(){this.invoice.is_amount_discount&&(this.invoiceItems.calculateTaxesWithAmountDiscount(),this.invoice.line_items=this.invoiceItems.lineItems),this.taxMap=wt();let n=wt();return n=this.invoiceItems.taxCollection.pluck("items"),n.pluck("key").unique().map(s=>{const o=n.filter(r=>r.key===s).pluck("name").first(),i=n.filter(r=>r.key===s).sum("total");this.taxMap.push({name:o,total:i}),this.totalTaxes+=i}),this}calculateTotals(){var n;return this.totalTaxes=Number(this.totalTaxes.toFixed(((n=this.currency)==null?void 0:n.precision)||2)),this}calculateBalance(){return this.setCalculatedAttributes(),this}setCalculatedAttributes(){var n,a;return this.invoice.amount=parseFloat(Zs.formatValue(this.total,((n=this.currency)==null?void 0:n.precision)||2)),this.invoice.balance=parseFloat(Zs.formatValue(this.total,((a=this.currency)==null?void 0:a.precision)||2))-(this.invoice.paid_to_date??0),this.invoice.total_taxes=this.totalTaxes,this}getBalanceDue(){return this.invoice.partial&&this.invoice.partial>0?Math.min(this.invoice.partial,this.invoice.balance):this.invoice.balance}discount(n){var a;return this.invoice.is_amount_discount?this.invoice.discount:parseFloat((n*(this.invoice.discount/100)).toFixed(((a=this.currency)==null?void 0:a.precision)||2))}taxer(n,a){var s;return parseFloat((n*((a??0)/100)).toFixed(((s=this.currency)==null?void 0:s.precision)||2))}valuer(n){return typeof n=="number"?n:0}calcInclusiveLineTax(n,a){return n-n/(1+a/100)}}const hb=e=>{const[n]=N(),[a,s]=g.useState(!1),{selectedIds:o,setSelected:i}=e,r=me(),c=fl();return f(F,{children:[t(M,{onClick:()=>s(!0),icon:t(L,{element:ti}),disablePreventNavigation:e.disablePreventNavigation,children:n("convert_to_project")}),f(Fe,{title:n("convert_to_project"),visible:a,onClose:()=>s(!1),children:[t("span",{className:"text-lg",style:{backgroundColor:r.$2,color:r.$3,colorScheme:r.$0},children:n("are_you_sure")}),t("div",{className:"flex justify-end space-x-4 mt-5",children:t(te,{behavior:"button",onClick:()=>{c(o,"convert_to_project"),i==null||i([]),s(!1)},children:t("span",{className:"text-base mx-3",children:n("yes")})})})]})]})};function fb(e){const[n]=N(),a=Ce(),{quote:s}=e,o=ot(),i=Ie(ia),r=Ie(Ri),c=Ie(So),l=Ie(wo),_=$e(),[d,p]=g.useState(!1),m=()=>{r({...s,id:"",number:"",documents:[],date:fe().format("YYYY-MM-DD"),due_date:"",partial_due_date:"",total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"",vendor_id:"",paid_to_date:0,design_id:_.settings.credit_design_id}),a("/credits/create?action=clone")},h=()=>{c({...s,id:"",number:"",documents:[],frequency_id:"5",total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"",vendor_id:"",due_date:"",partial_due_date:"",design_id:_.settings.invoice_design_id}),a("/recurring_invoices/create?action=clone")},u=()=>{l({...s,id:"",number:"",documents:[],date:fe().format("YYYY-MM-DD"),total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"1",vendor_id:"",due_date:"",partial_due_date:"",design_id:_.settings.purchase_order_design_id}),a("/purchase_orders/create?action=clone")},v=()=>{i({...s,id:"",number:"",documents:[],date:fe().format("YYYY-MM-DD"),due_date:"",total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"",vendor_id:"",paid_to_date:0,partial_due_date:"",design_id:_.settings.invoice_design_id}),a("/invoices/create?action=clone")};return f(F,{children:[(o("create_invoice")||o("create_credit")||o("create_recurring_invoice")||o("create_purchase_order"))&&t(M,{onClick:()=>p(!0),icon:t(L,{element:Gn}),children:n("clone_to_other")}),t(Fe,{title:n("clone_to"),visible:d,onClose:()=>p(!1),closeButtonCypressRef:"cloneOptionsModalXButton",children:t("div",{className:"flex justify-center",children:f("div",{className:"flex flex-1 flex-col items-center space-y-3",children:[o("create_invoice")&&t(Cn,{label:n("invoice"),icon:ga,onClick:v}),o("create_credit")&&t(Cn,{label:n("credit"),icon:ga,onClick:m}),o("create_recurring_invoice")&&t(Cn,{label:n("recurring_invoice"),icon:Ys,onClick:h}),o("create_purchase_order")&&t(Cn,{label:n("purchase_order"),icon:Xo,onClick:u})]})})})]})}function rYe(e){const n=xa(),a=we(),[s,o]=tt(Co),[,i]=tt(Xy),r=(h,u)=>{o(v=>v&&{...v,[h]:u})};return{handleChange:r,handleInvitationChange:(h,u)=>{let v=[...s.invitations];const b=(v==null?void 0:v.find(w=>w.client_contact_id===h))||-1;if(b!==-1&&u===!1&&(v=v.filter(w=>w.client_contact_id!==h)),b===-1){const w={client_contact_id:h};v.push(w)}r("invitations",v)},handleLineItemChange:(h,u)=>{const v=(s==null?void 0:s.line_items)||[];v[h]=u,o(b=>b&&{...b,line_items:v})},handleLineItemPropertyChange:(h,u,v)=>{const b=(s==null?void 0:s.line_items)||[];b[v][h]=u,o(w=>w&&{...w,line_items:b})},handleCreateLineItem:h=>{o(u=>u&&{...u,line_items:[...u.line_items,{...ra(),type_id:h,quantity:1}]})},handleDeleteLineItem:h=>{const u=(s==null?void 0:s.line_items)||[];u.splice(h,1),o(v=>v&&{...v,line_items:u})},calculateInvoiceSum:h=>{var v;const u=n(((v=e.client)==null?void 0:v.settings.currency_id)||(a==null?void 0:a.settings.currency_id));if(u&&h){const b=h.uses_inclusive_taxes?new gl(h,u).build():new hl(h,u).build();i(b)}}}}function cYe(e){const{setErrors:n,isDefaultTerms:a,isDefaultFooter:s}=e,o=Vi(),i=Ce(),r=Ht(),c=Ie(Aa);return async l=>{T.processing(),n(void 0),await r(!0);let _="/api/v1/quotes?";a?(_+="save_default_terms=true",s&&(_+="&save_default_footer=true")):s&&(_+="save_default_footer=true"),$("POST",D(_),l).then(async d=>{(a||s)&&await o(),T.success("created_quote"),ie(["quotes"]),i(U("/quotes/:id/edit",{id:d.data.data.id}))}).catch(d=>{var p;if(((p=d.response)==null?void 0:p.status)===422){const m=d.response.data;m.errors.amount?T.error(m.errors.amount[0]):T.dismiss(),n(m)}}).finally(()=>c(void 0))}}function lYe(e){const{setErrors:n,isDefaultTerms:a,isDefaultFooter:s}=e,o=Vi(),i=Ie(Aa),r=Ht();return async c=>{T.processing(),n(void 0),await r(!0);let l="/api/v1/quotes/:id?";a?(l+="save_default_terms=true",s&&(l+="&save_default_footer=true")):s&&(l+="save_default_footer=true"),$("PUT",D(l,{id:c.id}),c).then(async()=>{(a||s)&&await o(),T.success("updated_quote"),ie(["quotes"])}).catch(_=>{var d;if(((d=_.response)==null?void 0:d.status)===422){const p=_.response.data;p.errors.amount?T.error(p.errors.amount[0]):T.dismiss(),n(p)}}).finally(()=>i(void 0))}}function dYe(e){const[n]=N(),{showCommonBulkAction:a,showEditAction:s}=e||{},o=Ie(Co),i=we(),{isAdmin:r,isOwner:c}=Je(),{isEditPage:l}=Ta({entity:"quote",editPageTabs:["documents","settings","activity","history","email_history"]}),_=db(),d=fl(),p=Ce(),m=ub(),h=ot(),u=ll({entity:"quote"}),v=sl({resource:"quote"}),b=pl({resource:"quote",downloadType:"download_e_quote"}),w=cl({entity:"quote"}),{setChangeTemplateResources:y,setChangeTemplateVisible:k,setChangeTemplateEntityContext:C}=us(),S=I=>{o({...I,id:"",number:"",documents:[],date:fe().format("YYYY-MM-DD"),due_date:"",total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"",vendor_id:"",paid_to_date:0}),p("/quotes/create?action=clone")};return[I=>!!s&&t(M,{to:U("/quotes/:id/edit",{id:I.id}),icon:t(L,{element:Ns}),children:n("edit")}),()=>!!s&&t(ye,{withoutPadding:!0}),I=>t(M,{to:U("/quotes/:id/pdf",{id:I.id}),icon:t(L,{element:no}),children:n("view_pdf")}),I=>Me(I)!==Re.Deleted&&t(M,{onClick:()=>u([I.id]),icon:t(L,{element:Rr}),disablePreventNavigation:!0,children:n("print_pdf")}),I=>t(M,{onClick:()=>v(I),icon:t(L,{element:fa}),disablePreventNavigation:!0,children:n("download_pdf")}),I=>!!(i!=null&&i.settings.enable_e_invoice)&&t(M,{onClick:()=>b(I),icon:t(L,{element:fa}),disablePreventNavigation:!0,children:n("download_e_quote")}),I=>I.status_id!==ln.Converted&&I.status_id!==ln.Approved&&(r||c)&&t(M,{onClick:()=>w(I.id),icon:t(L,{element:ei}),children:n("schedule")}),I=>t(Eo,{entity:"quote",entityId:I.id,label:`#${I.number}`,labelElement:t(M,{icon:t(L,{element:ao}),children:n("add_comment")})}),I=>t(M,{to:U("/quotes/:id/email",{id:I.id}),icon:t(L,{element:Zo}),children:n("email_quote")}),I=>t(M,{onClick:()=>I&&ol(I),icon:t(L,{element:ni}),disablePreventNavigation:!0,children:n("client_portal")}),I=>I.status_id===ln.Draft&&t(M,{onClick:()=>m(I),icon:t(L,{element:Vr}),disablePreventNavigation:!0,children:n("mark_sent")}),I=>(I.status_id===ln.Draft||I.status_id===ln.Sent)&&t(M,{onClick:()=>_(I),icon:t(L,{element:Yo}),disablePreventNavigation:!0,children:n("approve")}),I=>I.status_id!==ln.Converted&&h("create_invoice")&&t(M,{onClick:()=>d([I.id],"convert_to_invoice"),icon:t(L,{element:ti}),disablePreventNavigation:!0,children:n("convert_to_invoice")}),I=>!I.project_id&&h("create_project")&&t(hb,{selectedIds:[I.id],disablePreventNavigation:!0}),I=>t(M,{onClick:()=>{k(!0),y([I]),C({endpoint:"/api/v1/quotes/bulk",entity:"quote"})},icon:t(L,{element:ns}),children:n("run_template")}),()=>t(ye,{withoutPadding:!0}),I=>h("create_quote")&&t(M,{onClick:()=>S(I),icon:t(L,{element:Gn}),children:n("clone_to_quote")}),I=>t(fb,{quote:I}),()=>(l||!!a)&&t(ye,{withoutPadding:!0}),I=>(l||!!a)&&I.archived_at===0&&t(M,{onClick:()=>d([I.id],"archive"),icon:t(L,{element:Rt}),disablePreventNavigation:!0,children:n("archive")}),I=>(l||!!a)&&I.archived_at>0&&t(M,{onClick:()=>d([I.id],"restore"),icon:t(L,{element:Vt}),disablePreventNavigation:!0,children:n("restore")}),I=>(l||!!a)&&!(I!=null&&I.is_deleted)&&t(M,{onClick:()=>d([I.id],"delete"),icon:t(L,{element:kt}),disablePreventNavigation:!0,children:n("delete")})]}const gb=["status","number","client","amount","date","valid_until"];function vb(){const[e,n,a,s]=pn({entity:"invoice"});return["status","number","client","amount","date","valid_until","archived_at","client_city","client_country","client_postal_code","client_state","contact_email","contact_name","created_at",e,n,a,s,"discount","documents","entity_state","exchange_rate","is_deleted","is_viewed","last_sent_date","partial","partial_due_date","po_number","private_notes","public_notes","tax_amount","updated_at"]}function _Ye(){var y;const{t:e}=N(),{dateFormat:n}=At();vb();const a=rt(),s=Ce(),o=ds(),i=ot(),r=Pa(),c=rn(),l=Et(),_=ls(),d=Ha(),p=g.useCallback(k=>{let C="";return k.invitations.map(S=>{S.viewed_date&&(C=S.viewed_date)}),C},[]),[m,h,u,v]=pn({entity:"invoice"}),b=[{column:"status",id:"status_id",label:e("status"),format:(k,C)=>f("div",{className:"flex items-center space-x-2",children:[t(mb,{entity:C}),C.status_id===ln.Converted&&C.invoice_id&&t(Di,{entityId:C.invoice_id,cacheEndpoint:"/api/v1/invoices",apiEndpoint:"/api/v1/invoices/:id?include=client.group_settings",preCheck:i("view_invoice")||i("edit_invoice"),component:t(Ma,{className:"cursor-pointer",fontSize:19,color:a,onClick:()=>s(U("/invoices/:id/edit",{id:C.invoice_id}))})})]})},{column:"number",id:"number",label:e("number"),format:(k,C)=>f("div",{className:"flex space-x-2",children:[t(dn,{to:U("/quotes/:id/edit",{id:C.id}),renderSpan:r("quote",C),children:k}),t(Ai,{text:C.number,stopPropagation:!0})]})},{column:"client",id:"client_id",label:e("client"),format:(k,C)=>{var S;return t(dn,{to:U("/clients/:id",{id:C.client_id}),renderSpan:r("client",C.client),children:(S=C.client)==null?void 0:S.display_name})}},{column:"amount",id:"amount",label:e("amount"),format:(k,C)=>{var S,E;return c(k,(S=C.client)==null?void 0:S.country_id,(E=C.client)==null?void 0:E.settings.currency_id)}},{column:"date",id:"date",label:e("date"),format:k=>Qe(k,n)},{column:"valid_until",id:"due_date",label:e("valid_until"),format:(k,C)=>Qe(C.due_date,n)},{column:"archived_at",id:"archived_at",label:e("archived_at"),format:k=>Qe(k,n)},{column:"client_city",id:"client_id",label:e("client_city"),format:(k,C)=>{var S;return(S=C.client)==null?void 0:S.city}},{column:"client_country",id:"client_id",label:e("client_country"),format:(k,C)=>{var S,E,I;return((S=C.client)==null?void 0:S.country_id)&&((I=_((E=C.client)==null?void 0:E.country_id))==null?void 0:I.name)}},{column:"client_postal_code",id:"client_id",label:e("client_postal_code"),format:(k,C)=>{var S;return(S=C.client)==null?void 0:S.postal_code}},{column:"client_state",id:"client_id",label:e("client_state"),format:(k,C)=>{var S;return(S=C.client)==null?void 0:S.state}},{column:"contact_email",id:"client_id",label:e("contact_email"),format:(k,C)=>{var S;return C.client&&C.client.contacts.length>0&&t(Dt,{text:(S=C.client)==null?void 0:S.contacts[0].email})}},{column:"contact_name",id:"client_id",label:e("contact_name"),format:(k,C)=>{var S,E;return C.client&&C.client.contacts.length>0&&`${(S=C.client)==null?void 0:S.contacts[0].first_name} ${(E=C.client)==null?void 0:E.contacts[0].last_name}`}},{column:"created_at",id:"created_at",label:e("created_at"),format:k=>Qe(k,n)},{column:m,id:"custom_value1",label:m,format:k=>d("invoice1",k==null?void 0:k.toString())},{column:h,id:"custom_value2",label:h,format:k=>d("invoice2",k==null?void 0:k.toString())},{column:u,id:"custom_value3",label:u,format:k=>d("invoice3",k==null?void 0:k.toString())},{column:v,id:"custom_value4",label:v,format:k=>d("invoice4",k==null?void 0:k.toString())},{column:"discount",id:"discount",label:e("discount"),format:(k,C)=>{var S,E;return C.is_amount_discount?c(k,(S=C.client)==null?void 0:S.country_id,(E=C.client)==null?void 0:E.settings.currency_id):`${o(k)} %`}},{column:"documents",id:"documents",label:e("documents"),format:(k,C)=>C.documents.length},{column:"entity_state",id:"id",label:e("entity_state"),format:(k,C)=>t(En,{entity:C})},{column:"exchange_rate",id:"exchange_rate",label:e("exchange_rate"),format:k=>o(k)},{column:"is_deleted",id:"is_deleted",label:e("is_deleted"),format:(k,C)=>C.is_deleted?e("yes"):e("no")},{column:"is_viewed",id:"id",label:e("is_viewed"),format:(k,C)=>p(C).length>0?Qe(p(C),n):e("no")},{column:"last_sent_date",id:"last_sent_date",label:e("last_sent_date"),format:k=>Qe(k,n)},{column:"partial",id:"partial",label:e("partial"),format:(k,C)=>{var S,E;return c(k,(S=C.client)==null?void 0:S.country_id,(E=C.client)==null?void 0:E.settings.currency_id)}},{column:"partial_due_date",id:"partial_due_date",label:e("partial_due_date"),format:k=>Qe(k,n)},{column:"po_number",id:"po_number",label:e("po_number")},{column:"private_notes",id:"private_notes",label:e("private_notes"),format:k=>t(Qt,{width:"auto",tooltipElement:t("div",{className:"w-full max-h-48 overflow-auto whitespace-normal break-all",children:t("article",{className:oe("prose prose-sm",{"prose-invert":l.dark_mode}),dangerouslySetInnerHTML:{__html:jt(k)}})}),children:t("span",{children:Kn(jt(k)).slice(0,50)})})},{column:"public_notes",id:"public_notes",label:e("public_notes"),format:k=>t(Qt,{width:"auto",tooltipElement:t("div",{className:"w-full max-h-48 overflow-auto whitespace-normal break-all",children:t("article",{className:oe("prose prose-sm",{"prose-invert":l.dark_mode}),dangerouslySetInnerHTML:{__html:jt(k)}})}),children:t("span",{children:Kn(jt(k)).slice(0,50)})})},{column:"tax_amount",id:"total_taxes",label:e("total_taxes"),format:(k,C)=>{var S,E;return c(k,(S=C.client)==null?void 0:S.country_id,(E=C.client)==null?void 0:E.settings.currency_id)}},{column:"updated_at",id:"updated_at",label:e("last_updated"),format:k=>Qe(k,n)}],w=((y=l==null?void 0:l.react_table_columns)==null?void 0:y.quote)||gb;return b.filter(k=>w.includes(k.column)).sort((k,C)=>w.indexOf(k.column)-w.indexOf(C.column))}function yb(){const[e]=N(),n=bn();return[{label:e("draft"),value:"draft",color:"white",backgroundColor:"#6B7280"},{label:e("sent"),value:"sent",color:"white",backgroundColor:n.$1||"#93C5FD"},{label:e("approved"),value:"approved",color:"white",backgroundColor:n.$2||"#1D4ED8"},{label:e("expired"),value:"expired",color:"white",backgroundColor:n.$5||"#DC2626"},{label:e("upcoming"),value:"upcoming",color:"white",backgroundColor:n.$4||"#e6b05c"},{label:e("converted"),value:"converted",color:"white",backgroundColor:n.$3||"#22C55E"}]}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */var pa=(e=>(e.DRAFT="1",e.ACTIVE="2",e.PAUSED="3",e.COMPLETED="4",e.PENDING="-1",e))(pa||{});function bb(e){const[n]=N(),a=bn(),{status_id:s,is_deleted:o,archived_at:i,last_sent_date:r,remaining_cycles:c}=e.entity,l=s===pa.DRAFT,_=!!o,d=!!i,p=s===pa.ACTIVE&&!r,m=c===-1?"endless":c;return _?t(Oe,{variant:"red",children:n("deleted")}):d?t(Oe,{variant:"orange",children:n("archived")}):!l&&m===0?t(Oe,{variant:"light-blue",style:{backgroundColor:a.$1},children:n("completed")}):p?t(Oe,{variant:"dark-blue",style:{backgroundColor:a.$2},children:n("pending")}):l?t(Oe,{variant:"generic",children:n("draft")}):s===pa.ACTIVE?t(Oe,{variant:"green",style:{backgroundColor:a.$3},children:n("active")}):s===pa.PAUSED?t(Oe,{variant:"orange",style:{backgroundColor:a.$4},children:n("paused")}):t(F,{})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */var cn=(e=>(e.FREQUENCY_DAILY="1",e.FREQUENCY_WEEKLY="2",e.FREQUENCY_TWO_WEEKS="3",e.FREQUENCY_FOUR_WEEKS="4",e.FREQUENCY_MONTHLY="5",e.FREQUENCY_TWO_MONTHS="6",e.FREQUENCY_THREE_MONTHS="7",e.FREQUENCY_FOUR_MONTHS="8",e.FREQUENCY_SIX_MONTHS="9",e.FREQUENCY_ANNUALLY="10",e.FREQUENCY_TWO_YEARS="11",e.FREQUENCY_THREE_YEARS="12",e.RECURS_INDEFINITELY="-1",e))(cn||{});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const wb={[cn.FREQUENCY_ANNUALLY]:"freq_annually",[cn.FREQUENCY_DAILY]:"freq_daily",[cn.FREQUENCY_FOUR_MONTHS]:"freq_four_months",[cn.FREQUENCY_FOUR_WEEKS]:"freq_four_weeks",[cn.FREQUENCY_MONTHLY]:"freq_monthly",[cn.FREQUENCY_SIX_MONTHS]:"freq_six_months",[cn.FREQUENCY_THREE_MONTHS]:"freq_three_months",[cn.FREQUENCY_THREE_YEARS]:"freq_three_years",[cn.FREQUENCY_TWO_MONTHS]:"freq_two_months",[cn.FREQUENCY_TWO_WEEKS]:"freq_two_weeks",[cn.FREQUENCY_TWO_YEARS]:"freq_two_years",[cn.FREQUENCY_WEEKLY]:"freq_weekly",[cn.RECURS_INDEFINITELY]:"freq_indefinetley"};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function uYe(e){return xe(["/api/v1/recurring_invoices",e.id],()=>$("GET",D("/api/v1/recurring_invoices/:id?include=client",{id:e.id})).then(n=>n.data.data),{staleTime:1/0,enabled:!!e.id})}function mYe(e){const n=ot();return xe(["/api/v1/recurring_invoices","create"],()=>$("GET",D("/api/v1/recurring_invoices/create")).then(a=>a.data.data),{...e,staleTime:1/0,enabled:n("create_recurring_invoice")?(e==null?void 0:e.enabled)??!0:!1})}const kb={start:"started_recurring_invoice",stop:"stopped_recurring_invoice",update_prices:"updated_prices",increase_prices:"updated_prices"};function qi(e){const n=Xe(),a=De(Ut),{onSuccess:s,setErrors:o}=e||{};return(i,r,c)=>{T.processing(),$("POST",D("/api/v1/recurring_invoices/bulk"),{action:r,ids:i,...typeof c=="number"&&{percentage_increase:c}}).then(()=>{const l=kb[r]||`${r}d_recurring_invoice`;T.success(l),s==null||s(),a&&n.invalidateQueries([a]),ie(["recurring_invoices"])}).catch(l=>{var _;((_=l.response)==null?void 0:_.status)===422&&(o==null||o(l.response.data),T.dismiss())})}}const xb=e=>{const[n]=N(),[a,s]=g.useState(!1),i=qi({onSuccess:()=>{s(!1)}}),{selectedIds:r,setSelected:c}=e,l=()=>{i(r,"update_prices"),c==null||c([])};return f(F,{children:[t(M,{onClick:()=>s(!0),icon:t(L,{element:Xd}),children:n("update_prices")}),f(Fe,{title:n("update_prices"),visible:a,onClose:()=>s(!1),children:[t("span",{className:"text-lg text-gray-900",children:n("are_you_sure")}),t(te,{className:"self-end",onClick:l,children:n("yes")})]})]})},Cb=e=>{const[n]=N(),[a,s]=g.useState(!1),[o,i]=g.useState(0),[r,c]=g.useState(),l=()=>{s(!1),i(0)},_=qi({onSuccess:l,setErrors:c}),{selectedIds:d,setSelected:p}=e,m=()=>{_(d,"increase_prices",o),p==null||p([])};return f(F,{children:[t(M,{onClick:()=>s(!0),icon:t(L,{element:Jd}),children:n("increase_prices")}),f(Fe,{title:n("increase_prices"),visible:a,onClose:l,children:[t(We,{label:n("percent"),value:o||"",onValueChange:h=>{i(parseFloat(h)),r&&c(void 0)},errorMessage:r==null?void 0:r.errors.percentage_increase}),t(te,{className:"self-end",onClick:m,children:n("submit")})]})]})};function Sb(e){const[n]=N(),a=Ce(),{recurringInvoice:s}=e,o=ot(),i=Ie(Co),r=Ie(Ri),c=Ie(ia),l=Ie(wo),_=$e(),[d,p]=g.useState(!1),m=()=>{c({...s,id:"",documents:[],number:"",due_date:"",partial_due_date:"",date:fe().format("YYYY-MM-DD"),total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"",vendor_id:"",design_id:_.settings.invoice_design_id}),a("/invoices/create?action=clone")},h=()=>{i({...s,id:"",number:"",documents:[],date:fe().format("YYYY-MM-DD"),due_date:"",total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"",vendor_id:"",design_id:_.settings.quote_design_id}),a("/quotes/create?action=clone")},u=()=>{r({...s,id:"",number:"",documents:[],date:fe().format("YYYY-MM-DD"),total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"",vendor_id:"",due_date:"",partial_due_date:"",design_id:_.settings.credit_design_id}),a("/credits/create?action=clone")},v=()=>{l({...s,id:"",number:"",documents:[],date:fe().format("YYYY-MM-DD"),total_taxes:0,exchange_rate:1,last_sent_date:"",project_id:"",subscription_id:"",status_id:"1",vendor_id:"",paid_to_date:0,due_date:"",partial_due_date:"",design_id:_.settings.purchase_order_design_id}),a("/purchase_orders/create?action=clone")};return f(F,{children:[(o("create_invoice")||o("create_quote")||o("create_credit")||o("create_purchase_order"))&&t(M,{onClick:()=>p(!0),icon:t(L,{element:Gn}),children:n("clone_to_other")}),t(Fe,{title:n("clone_to"),visible:d,onClose:()=>p(!1),closeButtonCypressRef:"cloneOptionsModalXButton",children:t("div",{className:"flex justify-center",children:f("div",{className:"flex flex-1 flex-col items-center space-y-3",children:[o("create_invoice")&&t(Cn,{label:n("invoice"),icon:ga,onClick:m}),o("create_quote")&&t(Cn,{label:n("quote"),icon:oi,onClick:h}),o("create_credit")&&t(Cn,{label:n("credit"),icon:ga,onClick:u}),o("create_purchase_order")&&t(Cn,{label:n("purchase_order"),icon:Xo,onClick:v})]})})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function To(){const e=we();let n=12,a="hh:mm:ss A";return e&&e.settings.military_time&&(n=24,a="HH:mm:ss"),{timeFormatId:n,timeFormat:a}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Eb(){const e=we(),{data:n}=tn(),[a,s]=g.useState("1"),[o,i]=g.useState("America/Tijuana");return g.useEffect(()=>{if(n!=null&&n.timezones){const r=n.timezones.find(c=>{var l;return c.id===((l=e==null?void 0:e.settings)==null?void 0:l.timezone_id)});r&&(i(r.name),s(r.id))}},[e,n]),{timeZoneId:a,timeZone:o}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */fe.extend(md);fe.extend(pd);function Tb(){const{timeZone:e}=Eb(),{timeFormat:n}=To(),{dateFormat:a}=At();return(s,o,i,r)=>{if(s===0||s===""||s===void 0)return"";const c=`${o||a} ${i||n}`;return typeof s=="number"?fe.utc(s).tz(r||e).format(c):fe.utc(s).tz(r||e).format(c)}}function pYe(e){const n=xa(),a=we(),[s,o]=tt(So),[,i]=tt(Jy),r=(h,u)=>{o(v=>v&&{...v,[h]:u})};return{handleChange:r,handleInvitationChange:(h,u)=>{let v=[...s.invitations];const b=(v==null?void 0:v.find(w=>w.client_contact_id===h))||-1;if(b!==-1&&u===!1&&(v=v.filter(w=>w.client_contact_id!==h)),b===-1){const w={client_contact_id:h};v.push(w)}r("invitations",v)},handleLineItemChange:(h,u)=>{const v=(s==null?void 0:s.line_items)||[];v[h]=u,o(b=>b&&{...b,line_items:v})},handleLineItemPropertyChange:(h,u,v)=>{const b=(s==null?void 0:s.line_items)||[];b[v][h]=u,o(w=>w&&{...w,line_items:b})},handleCreateLineItem:h=>{o(u=>u&&{...u,line_items:[...u.line_items,{...ra(),type_id:h,quantity:1}]})},handleDeleteLineItem:h=>{const u=(s==null?void 0:s.line_items)||[];u.splice(h,1),o(v=>v&&{...v,line_items:u})},calculateInvoiceSum:h=>{var v;const u=n(((v=e.client)==null?void 0:v.settings.currency_id)||(a==null?void 0:a.settings.currency_id));if(u&&h){const b=h.uses_inclusive_taxes?new gl(h,u).build():new hl(h,u).build();i(b)}}}}function hYe(e){const{setErrors:n}=e,a=Ie(Aa);return(s,o)=>{T.processing(),n(void 0);const i=o?`/api/v1/recurring_invoices/:id?${o}=true`:"/api/v1/recurring_invoices/:id";$("PUT",D(i,{id:s.id}),s).then(()=>{ie(["recurring_invoices"]),T.success("updated_recurring_invoice")}).catch(r=>{var c;if(((c=r.response)==null?void 0:c.status)===422){const l=r.response.data;l.errors.amount?T.error(l.errors.amount[0]):T.dismiss(),n(l)}}).finally(()=>a(void 0))}}function Pb(){const e=Xe(),n=De(Ut);return(a,s)=>{T.processing(),$("PUT",D(s==="start"?"/api/v1/recurring_invoices/:id?start=true":"/api/v1/recurring_invoices/:id?stop=true",{id:a.id}),a).then(()=>{ie(["recurring_invoices"]),n&&e.invalidateQueries([n]),T.success(s==="start"?"started_recurring_invoice":"stopped_recurring_invoice")})}}function fYe(e){const[n]=N(),a=qi(),s=Ce(),o=ot(),i=Pb(),r=Ie(So),{showEditAction:c,showCommonBulkActions:l}=e||{},{isEditPage:_}=Ta({entity:"recurring_invoice",editPageTabs:["documents","settings","activity","history","schedule"]}),d=m=>{r({...m,id:"",documents:[],number:""}),s("/recurring_invoices/create?action=clone")};return[m=>!!c&&t(M,{to:U("/recurring_invoices/:id/edit",{id:m.id}),icon:t(L,{element:Ns}),children:n("edit")}),()=>!!c&&t(ye,{withoutPadding:!0}),m=>t(M,{to:U("/recurring_invoices/:id/pdf",{id:m.id}),icon:t(L,{element:no}),children:n("view_pdf")}),m=>(m.status_id===pa.DRAFT||m.status_id===pa.PAUSED)&&t(M,{onClick:()=>i(m,"start"),icon:t(L,{element:ai}),children:n("start")}),m=>m.status_id===pa.ACTIVE&&t(M,{onClick:()=>i(m,"stop"),icon:t(L,{element:si}),children:n("stop")}),m=>!m.is_deleted&&t(xb,{selectedIds:[m.id]}),m=>!m.is_deleted&&t(Cb,{selectedIds:[m.id]}),m=>t(Eo,{entity:"recurring_invoice",entityId:m.id,label:`#${m.number}`,labelElement:t(M,{icon:t(L,{element:ao}),children:n("add_comment")})}),()=>t(ye,{withoutPadding:!0}),m=>o("create_recurring_invoice")&&t(M,{onClick:()=>d(m),icon:t(L,{element:Gn}),children:n("clone_to_recurring")}),m=>t(Sb,{recurringInvoice:m}),()=>(_||!!l)&&t(ye,{withoutPadding:!0}),m=>(_||!!l)&&Me(m)===Re.Active&&t(M,{onClick:()=>a([m.id],"archive"),icon:t(L,{element:Rt}),children:n("archive")}),m=>(_||!!l)&&(Me(m)===Re.Archived||Me(m)===Re.Deleted)&&t(M,{onClick:()=>a([m.id],"restore"),icon:t(L,{element:Vt}),children:n("restore")}),m=>(_||!!l)&&(Me(m)===Re.Active||Me(m)===Re.Archived)&&t(M,{onClick:()=>a([m.id],"delete"),icon:t(L,{element:kt}),children:n("delete")})]}function gYe({setErrors:e}){const n=Ce(),a=Ie(Aa);return(s,o)=>{e(void 0),T.processing();const i=o?`/api/v1/recurring_invoices?${o}=true`:"/api/v1/recurring_invoices";$("POST",D(i),s).then(r=>{T.success("created_recurring_invoice"),ie(["recurring_invoices"]),n(U("/recurring_invoices/:id/edit",{id:r.data.data.id}))}).catch(r=>{var c;if(((c=r.response)==null?void 0:c.status)===422){const l=r.response.data;l.errors.amount?T.error(l.errors.amount[0]):T.dismiss(),e(l)}}).finally(()=>a(void 0))}}const Ab=["status","number","client","amount","remaining_cycles","next_send_date","frequency","due_date_days","auto_bill"];function Nb(){const[e,n,a,s]=pn({entity:"invoice"});return["status","number","client","amount","remaining_cycles","next_send_date","frequency","due_date_days","auto_bill","archived_at","created_at",e,n,a,s,"discount","documents","entity_state","exchange_rate","is_deleted","po_number","private_notes","public_notes","updated_at"]}function vYe(){var u;const{t:e}=N(),{dateFormat:n}=At(),a=Tb(),s=ds(),o=Pa();Nb();const i=rn(),r=Et(),c=Ha(),[l,_,d,p]=pn({entity:"invoice"}),m=[{column:"status",id:"status_id",label:e("status"),format:(v,b)=>t(bb,{entity:b})},{column:"number",id:"number",label:e("number"),format:(v,b)=>t(dn,{to:U("/recurring_invoices/:id/edit",{id:b.id}),renderSpan:o("recurring_invoice",b),children:v})},{column:"client",id:"client_id",label:e("client"),format:(v,b)=>{var w;return t(dn,{to:U("/clients/:id",{id:b.client_id}),renderSpan:o("client",b.client),children:(w=b.client)==null?void 0:w.display_name})}},{column:"amount",id:"amount",label:e("amount"),format:(v,b)=>{var w,y;return i(v,(w=b.client)==null?void 0:w.country_id,(y=b.client)==null?void 0:y.settings.currency_id)}},{column:"remaining_cycles",id:"remaining_cycles",label:e("remaining_cycles"),format:v=>Number(v)<0?e("endless"):v},{column:"next_send_date",id:"next_send_datetime",label:e("next_send_date"),format:v=>a(v)},{column:"frequency",id:"frequency_id",label:e("frequency"),format:v=>t(Es,{for:wb,code:v,headless:!0})},{column:"due_date_days",id:"due_date_days",label:e("due_date"),format:v=>v==="terms"?e("use_payment_terms"):Number(v)===1?e("first_day_of_the_month"):v},{column:"auto_bill",id:"auto_bill",label:e("auto_bill"),format:v=>e(String(v))},{column:"archived_at",id:"archived_at",label:e("archived_at"),format:v=>Qe(v,n)},{column:"created_at",id:"created_at",label:e("created_at"),format:v=>Qe(v,n)},{column:l,id:"custom_value1",label:l,format:v=>c("invoice1",v==null?void 0:v.toString())},{column:_,id:"custom_value2",label:_,format:v=>c("invoice2",v==null?void 0:v.toString())},{column:d,id:"custom_value3",label:d,format:v=>c("invoice3",v==null?void 0:v.toString())},{column:p,id:"custom_value4",label:p,format:v=>c("invoice4",v==null?void 0:v.toString())},{column:"discount",id:"discount",label:e("discount"),format:(v,b)=>{var w,y;return b.is_amount_discount?i(v,(w=b.client)==null?void 0:w.country_id,(y=b.client)==null?void 0:y.settings.currency_id):`${s(v)} %`}},{column:"documents",id:"documents",label:e("documents"),format:(v,b)=>b.documents.length},{column:"entity_state",id:"id",label:e("entity_state"),format:(v,b)=>t(En,{entity:b})},{column:"exchange_rate",id:"exchange_rate",label:e("exchange_rate"),format:v=>s(v)},{column:"is_deleted",id:"is_deleted",label:e("is_deleted"),format:v=>Qe(v,n)},{column:"po_number",id:"po_number",label:e("po_number")},{column:"public_notes",id:"public_notes",label:e("public_notes"),format:v=>t(Qt,{width:"auto",tooltipElement:t("div",{className:"w-full max-h-48 overflow-auto whitespace-normal break-all",children:t("article",{className:oe("prose prose-sm",{"prose-invert":r.dark_mode}),dangerouslySetInnerHTML:{__html:jt(v)}})}),children:t("span",{children:Kn(jt(v)).slice(0,50)})})},{column:"private_notes",id:"private_notes",label:e("private_notes"),format:v=>t(Qt,{width:"auto",tooltipElement:t("div",{className:"w-full max-h-48 overflow-auto whitespace-normal break-all",children:t("article",{className:oe("prose prose-sm",{"prose-invert":r.dark_mode}),dangerouslySetInnerHTML:{__html:jt(v)}})}),children:t("span",{children:Kn(jt(v)).slice(0,50)})})},{column:"updated_at",id:"updated_at",label:e("updated_at"),format:v=>Qe(v,n)}],h=((u=r==null?void 0:r.react_table_columns)==null?void 0:u.recurringInvoice)||Ab;return m.filter(v=>h.includes(v.column)).sort((v,b)=>h.indexOf(v.column)-h.indexOf(b.column))}function Ib(){const[e]=N(),n=bn();return[{label:e("active"),value:"active",color:"white",backgroundColor:n.$3||"#22C55E"},{label:e("paused"),value:"paused",color:"white",backgroundColor:n.$4||"#F97316"},{label:e("completed"),value:"completed",color:"white",backgroundColor:n.$1||"#93C5FD"}]}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Db(){const[e]=N(),n=bn();return[{label:e("pending"),value:"pending",color:"white",backgroundColor:"#6B7280"},{label:e("cancelled"),value:"cancelled",color:"white",backgroundColor:n.$4||"#93C5FD"},{label:e("failed"),value:"failed",color:"white",backgroundColor:n.$5||"#DC2626"},{label:e("completed"),value:"completed",color:"white",backgroundColor:n.$3||"#22C55E"},{label:e("partially_refunded"),value:"partially_refunded",color:"white",backgroundColor:n.$2||"#1D4ED8"},{label:e("refunded"),value:"refunded",color:"white",backgroundColor:"#6B7280"},{label:e("partially_unapplied"),value:"partially_unapplied",color:"white",backgroundColor:"#bf83cc"}]}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const $b=et(void 0);/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Tn(e){if(e===""||e==="[]")return[];const n=[[0,0,"",!0]],a=JSON.parse(e);return a.length?a:n}function Rb(e,n=!1){const a=Tn(e);let s=0;for(const[c,l]of a){if(c>l&&!n)continue;const d=(l!==0?typeof l=="number"?l:0:Math.floor(Date.now()/1e3))-(typeof c=="number"?c:0);s+=Math.max(d,0)}const o=Math.floor(s/3600),i=Math.floor(s%3600/60),r=s%60;return o<24?`${o}:${i.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`:`${o}h`}function yYe(e,n){const a=Tn(e);fe.extend(hd),fe.extend(fd);let s=0;if(n!=null&&n.calculateLastTimeLog){const o=a.length-1,i=a[o][0],r=i?fe.unix(i):fe();s+=fe().diff(r,"seconds")}else a.map(([o,i])=>{const r=o?fe.unix(o):fe(),c=i?fe.unix(i):fe();s+=c.diff(r,"seconds")});return n!=null&&n.inSeconds?s.toString():s>86400?fe.duration(s,"seconds").humanize():fe.duration(s,"seconds").format("HH:mm:ss")}function bYe(e,n){const s=Tn(e)[n],o=s?fe.unix(s[0]):fe(),r=(s?fe.unix(s[1]):fe()).diff(o,"seconds");return new Date(r*1e3).toISOString().slice(11,19)}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function vl(e){const{isAdmin:n}=Je();return xe(["/api/v1/task_statuses","create"],()=>$("GET",D("/api/v1/task_statuses/create")).then(a=>a.data.data),{staleTime:1/0,enabled:n?(e==null?void 0:e.enabled)??!0:!1})}function yl(e){return xe(["/api/v1/task_statuses",e],()=>$("GET",D("/api/v1/task_statuses?status=:status",{status:(e==null?void 0:e.status)||"all"})).then(n=>n.data),{staleTime:1/0})}function Vb(e){return xe(["/api/v1/task_statuses",e.id],()=>$("GET",D("/api/v1/task_statuses/:id",{id:e.id})),{staleTime:1/0})}function qb(){return(e,n)=>{T.processing(),$("POST",D("/api/v1/task_statuses/bulk"),{action:n,ids:[e]}).then(()=>{T.success(`${n}d_task_status`),ie(["task_statuses"])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function bl(e){let n=!1;const s=Tn(e.time_log).sort((i,r)=>i[0]-r[0]);let o=0;return s.forEach(([i,r],c)=>{const l=s[c+1];r==0&&l&&(n=!0),l&&r>l[0]&&(n=!0),r!==0&&i>r&&(n=!0),r===0&&o++,o>1&&(n=!0)}),n}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Lb(e){const{isFormBusy:n,setErrors:a,setIsFormBusy:s}=e;return o=>{if(!n){if(s(!0),T.processing(),bl(o))return s(!1),T.error("task_errors");$("PUT",D("/api/v1/tasks/:id",{id:o.id}),o).then(()=>{T.success("updated_task"),ie(["tasks"])}).catch(i=>{var r;((r=i.response)==null?void 0:r.status)===422&&(T.dismiss(),a==null||a(i.response.data))}).finally(()=>s(!1))}}}function Li(e){return(n,a)=>{e.setErrors(void 0),e.setTaskStatus(s=>s&&{...s,[n]:a})}}function Ob(){const[e]=N(),n=qb();return[s=>s.archived_at===0&&t(M,{onClick:()=>n(s.id,"archive"),icon:t(L,{element:Rt}),children:e("archive")}),s=>s.archived_at>0&&t(M,{onClick:()=>n(s.id,"restore"),icon:t(L,{element:Vt}),children:e("restore")}),s=>!s.is_deleted&&t(M,{onClick:()=>n(s.id,"delete"),icon:t(L,{element:kt}),children:e("delete")})]}function Mb(e){const[n]=N(),a=rt(),{data:s}=vl(),[o,i]=g.useState(),[r,c]=g.useState(!1),[l,_]=g.useState(),d=Li({setErrors:i,setTaskStatus:_}),p=()=>{r||(T.processing(),i(void 0),c(!0),$("POST",D("/api/v1/task_statuses"),l).then(m=>{var h;T.success("created_task_status"),ie(["task_statuses"]),_(s),(h=e.onCreatedTaskStatus)==null||h.call(e,m.data.data),e.setVisible(!1)}).catch(m=>{var h;((h=m.response)==null?void 0:h.status)===422&&(i(m.response.data),T.dismiss())}).finally(()=>c(!1)))};return g.useEffect(()=>{s&&_(s)},[s]),f(Fe,{title:n("new_task_status"),visible:e.visible,onClose:()=>{e.setVisible(!1),_(s)},children:[t(q,{required:!0,label:n("name"),value:l==null?void 0:l.name,onValueChange:m=>d("name",m),errorMessage:o==null?void 0:o.errors.name}),t(Pn,{children:n("color")}),t(za,{value:(l==null?void 0:l.color)||a,onValueChange:m=>d("color",m)}),t(te,{className:"self-end",behavior:"button",disabled:r,onClick:p,children:n("save")})]})}function _r(e){const[n]=N(),a=me(),{isAdmin:s,isOwner:o}=Je(),{visible:i,isFormBusy:r,setIsFormBusy:c,task:l,setVisible:_}=e,[d,p]=g.useState(!1),{data:m}=yl({status:"active"}),h=Lb({isFormBusy:r,setIsFormBusy:c});return f(F,{children:[t(Is,{placement:"bottom",interactive:!0,render:()=>f("div",{className:"border box rounded-md shadow-lg focus:outline-none",style:{backgroundColor:a.$1,borderColor:a.$4,minWidth:"12rem",maxWidth:"14.7rem"},children:[(s||o)&&t(M,{className:"font-medium text-center py-3",onClick:()=>{p(!0),_(!1)},children:n("new_task_status")}),m==null?void 0:m.data.map((u,v)=>u.id!==l.status_id&&t(M,{onClick:()=>{_(!1),h({...l,status_id:u.id})},children:u.name},v)),!(m!=null&&m.data.length)&&t("div",{className:"font-medium text-center py-2 text-xs",children:n("no_records_found")})]}),visible:i,children:t("div",{})}),t(Mb,{visible:d,setVisible:p,onCreatedTaskStatus:u=>h({...l,status_id:u.id})})]})}function jb(e){const[n]=N(),a=g.useRef(null),s=Ms(),o=bn(),{invoice_id:i,archived_at:r,is_deleted:c,time_log:l,status:_}=e.entity,[d,p]=g.useState(!1),[m,h]=g.useState(!1);ta(a,()=>{d&&p(!1)});const u=()=>{const v=Tn(l),b=v.length;return b?v[b-1][1]===0:!1};if(c)return t(Oe,{variant:"red",children:n("deleted")});if(r)return t(Oe,{variant:"orange",children:n("archived")});if(i)return t(Oe,{variant:"green",style:{backgroundColor:o.$3},children:n("invoiced")});if(u())return t(Oe,{variant:"light-blue",style:{backgroundColor:o.$2},children:n("running")});if(_){const{red:v,green:b,blue:w,hex:y}=rs(_.color),k=Os(v,b,w)?-220:220;return f("div",{ref:a,onClick:C=>C.stopPropagation(),children:[t(Qt,{width:"auto",message:n("change_status"),withoutArrow:!0,placement:"bottom",children:t(Es,{for:{},code:_.name,style:{color:s(y,k),backgroundColor:_.color},onClick:()=>!m&&p(C=>!C)})}),t(_r,{visible:d,isFormBusy:m,setIsFormBusy:h,task:e.entity,setVisible:p})]})}return f("div",{ref:a,onClick:v=>v.stopPropagation(),children:[t(Qt,{width:"auto",message:n("change_status"),withoutArrow:!0,placement:"bottom",children:t(Es,{for:{},code:"logged",onClick:()=>!m&&p(v=>!v)})}),t(_r,{visible:d,isFormBusy:m,setIsFormBusy:h,task:e.entity,setVisible:p})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Zn(e){let n=!1;return Tn(e.time_log).forEach(([,a])=>{a===0&&(n=!0)}),n}function Fb(e){return e.invoice_id?"invoiced":Zn(e)?"active":"logged"}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Oi(){const e=we(),n=_s(),a=o=>o||(e!=null&&e.use_comma_as_decimal_place?".":","),s=o=>o||(e!=null&&e.use_comma_as_decimal_place?",":".");return(o,i,r,c)=>U_(o,{thousandSeparator:a(i),decimalSeparator:s(r),decimalScale:c||n})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Bb(){const e=tn();return n=>{var a;if(e)return(a=e.data)==null?void 0:a.date_formats.find(s=>s.id===n)}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Mi(){const e=we(),n=ko(),a=Bb(),s=o=>o?"HH:mm:ss":"hh:mm:ss A";return async o=>{const r={dateFormat:a(e==null?void 0:e.settings.date_format_id),timeFormat:s(!!(e!=null&&e.settings.military_time))};return o.length>=1&&await n.find(o).then(c=>{c.settings.date_format_id&&(r.dateFormat=a(c.settings.date_format_id)),r.timeFormat=s(!!c.settings.military_time)}),r}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function wl(e){const[n]=N(),{onlyAddToInvoice:a}=e||{},s=Ce(),o=Oi(),i=xo(),r=we(),{data:c}=bo(),{timeFormat:l}=To(),_=_s(),{dateFormat:d}=At(),p=Ie(ia),m=ds(),h=Mi(),u=(v,b)=>{const w=Tn(v);let y=0;return w.length&&w.forEach(([k,C,,S])=>{if(S||!(r!=null&&r.settings.allow_billable_task_items)||typeof S>"u"){const E=fe.unix(k),I=fe.unix(C);y+=I.diff(E,"seconds")/3600,y=Number(y.toFixed(b||_))}}),y};return async v=>{var b,w,y,k,C,S,E,I,H,z,j;if(c){const W={...c};if(r&&r.enabled_tax_rates>0&&(W.tax_name1=(b=r.settings)==null?void 0:b.tax_name1,W.tax_rate1=(w=r.settings)==null?void 0:w.tax_rate1),r&&r.enabled_tax_rates>1&&(W.tax_name2=(y=r.settings)==null?void 0:y.tax_name2,W.tax_rate2=(k=r.settings)==null?void 0:k.tax_rate2),r&&r.enabled_tax_rates>2&&(W.tax_name3=(C=r.settings)==null?void 0:C.tax_name3,W.tax_rate3=(S=r.settings)==null?void 0:S.tax_rate3),W.uses_inclusive_taxes=((E=r==null?void 0:r.settings)==null?void 0:E.inclusive_taxes)??!1,wt(v).pluck("client_id").unique().toArray().length>1)return T.error("multiple_client_error");W.client_id=v[0].client_id,(I=v[0])!=null&&I.project_id&&(W.project_id=(H=v[0])==null?void 0:H.project_id);const V=await i((z=v[0])==null?void 0:z.client_id,"client_id"),{dateFormat:O,timeFormat:Y}=await h((j=v[0])==null?void 0:j.client_id);v.forEach(le=>{var qe,Pt;const ne=Tn(le.time_log),Le=[];ne.forEach(([Tt,pe,vt,_e])=>{if(_e||!(r!=null&&r.settings.allow_billable_task_items)||typeof _e>"u"){let Ee="";if(r.invoice_task_hours){const Ue=fe.unix(Tt),mt=fe.unix(pe),Gt=o((mt.diff(Ue,"seconds")/3600).toString(),V==null?void 0:V.thousandSeparator,V==null?void 0:V.decimalSeparator,V==null?void 0:V.precision);Ee=`• ${m(Gt)} ${n("hours")}`}const Ne=[];(r.invoice_task_datelog||r.invoice_task_timelog)&&Ne.push(`<div class="task-time-details">
`),r.invoice_task_datelog&&Ne.push(fe.unix(Tt).format(O!=null&&O.format_moment?O.format_moment:d)),r.invoice_task_timelog&&Ne.push(fe.unix(Tt).format(Y||l)+" - "),r.invoice_task_timelog&&Ne.push(fe.unix(pe).format(Y||l)),r.invoice_task_hours&&Ne.push(Ee),r.invoice_task_item_description&&vt&&Ne.push(`

${vt}`),(r.invoice_task_datelog||r.invoice_task_timelog)&&(Ne.push(`
`),Ne.push(`</div>
`)),Le.push(Ne.join(" "))}});const ze=u(le.time_log,_),G={...ra(),type_id:qn.Task,cost:le.rate,quantity:ze,line_total:Number((le.rate*ze).toFixed(_)),task_id:le.id,tax_id:"",custom_value1:le.custom_value1,custom_value2:le.custom_value2,custom_value3:le.custom_value3,custom_value4:le.custom_value4},ge=r.invoice_task_project&&((qe=le==null?void 0:le.project)!=null&&qe.name)?"## "+((Pt=le.project)==null?void 0:Pt.name)+`
`:"";Le.length&&(G.notes=ge+(le==null?void 0:le.description)+" "+Le.join(" ")),typeof W.line_items=="string"&&(W.line_items=[]),W.line_items.push(G)}),a?p(le=>le&&{...le,line_items:[...le.line_items,...W.line_items]}):(p(W),s(U("/invoices/create?table=tasks&project=:projectAssigned&action=invoice_task",{projectAssigned:!!v[0].project_id})))}}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function zb(){const e=Xe(),n=De(Ut),a=zt();return s=>{T.processing(),$("PUT",D("/api/v1/tasks/:id?start=true",{id:s.id}),s).then(()=>{a.pathname.endsWith("/create")?T.dismiss():T.success("started_task"),ie(["tasks"]),n&&e.invalidateQueries([n])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ub(){const e=Xe(),n=De(Ut);return a=>{T.processing();const s=Tn(a.time_log),o=s[s.length-1][0],i=fe().unix();if(o&&o>i)s[s.length-1][1]=o+1,a.time_log=JSON.stringify(s);else if(bl(a))return T.error("task_errors");$("PUT",D("/api/v1/tasks/:id?stop=true",{id:a.id}),a).then(()=>{T.success("stopped_task"),ie(["tasks"]),n&&e.invalidateQueries([n])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function wYe(e){return xe(["/api/v1/tasks",e.id],()=>$("GET",D("/api/v1/tasks/:id?include=status",{id:e.id})).then(n=>n.data.data),{staleTime:1/0,enabled:e.enabled??!0})}function kYe(e){const n=ot();return xe(["/api/v1/tasks/create"],()=>$("GET",D("/api/v1/tasks/create")).then(a=>a.data.data),{...e,staleTime:1/0,enabled:n("create_task")?(e==null?void 0:e.enabled)??!0:!1})}function xYe(e){return xe(["/api/v1/tasks",e],()=>$("GET",D(":endpoint",{endpoint:e.endpoint||"/api/v1/tasks"})).then(n=>n.data),{staleTime:1/0})}const kl=()=>{const e=Xe(),n=De(Ut);return(a,s)=>{T.processing(),$("POST",D("/api/v1/tasks/bulk"),{action:s,ids:a}).then(()=>{s!=="start"&&s!=="stop"&&T.success(`${s}d_task`),s==="start"&&T.success(ft("started_tasks",{value:a.length})),s==="stop"&&T.success(ft("stopped_tasks",{value:a.length})),n&&e.invalidateQueries([n]),ie(["tasks"])})}};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const xl=(e,n)=>{const a=Tn(e);let s=0;return a.length&&a.forEach(([o,i])=>{if(o&&i){const r=fe.unix(o),c=fe.unix(i);s+=Number((c.diff(r,"seconds")/3600).toFixed(n))}}),s};function CYe(){const[e]=N(),n=Ce(),a=Oi(),s=xo(),o=Mi(),i=we(),r=_s(),{data:c}=bo(),{timeFormat:l}=To(),{dateFormat:_}=At(),d=Ie(ia);return async(p,m,h)=>{var u,v,b,w,y,k;if(c){const C={...c};if(i&&i.enabled_tax_rates>0&&(C.tax_name1=(u=i.settings)==null?void 0:u.tax_name1,C.tax_rate1=(v=i.settings)==null?void 0:v.tax_rate1),i&&i.enabled_tax_rates>1&&(C.tax_name2=(b=i.settings)==null?void 0:b.tax_name2,C.tax_rate2=(w=i.settings)==null?void 0:w.tax_rate2),i&&i.enabled_tax_rates>2&&(C.tax_name3=(y=i.settings)==null?void 0:y.tax_name3,C.tax_rate3=(k=i.settings)==null?void 0:k.tax_rate3),wt(p).pluck("client_id").unique().toArray().length>1)return T.error("multiple_client_error");C.project_id=h,C.client_id=m,C.line_items=[];const E=await s(m,"client_id"),{dateFormat:I,timeFormat:H}=await o(m);p.forEach(z=>{var Y,le;const j=Tn(z.time_log),W=[];j.forEach(([ne,Le,ze,G])=>{if(G||!(i!=null&&i.settings.allow_billable_task_items)||typeof G>"u"){let ge="";if(i.invoice_task_hours){const Pt=fe.unix(ne),Tt=fe.unix(Le);ge=`• ${a((Tt.diff(Pt,"seconds")/3600).toString(),E==null?void 0:E.thousandSeparator,E==null?void 0:E.decimalSeparator,E==null?void 0:E.precision)} ${e("hours")}`}const qe=[];(i.invoice_task_datelog||i.invoice_task_timelog)&&qe.push(`<div class="task-time-details">
`),i.invoice_task_datelog&&qe.push(fe.unix(ne).format(I!=null&&I.format_moment?I.format_moment:_)),i.invoice_task_timelog&&qe.push(fe.unix(ne).format(H||l)+" - "),i.invoice_task_timelog&&qe.push(fe.unix(Le).format(H||l)),i.invoice_task_hours&&qe.push(ge),i.invoice_task_item_description&&ze&&qe.push(`

${ze}`),(i.invoice_task_datelog||i.invoice_task_timelog)&&(qe.push(`
`),qe.push(`</div>
`)),W.push(qe.join(" "))}});const ee=xl(z.time_log,r),V={...ra(),type_id:qn.Task,cost:z.rate,quantity:ee,line_total:Number((z.rate*ee).toFixed(r)),task_id:z.id,tax_id:""},O=(Y=z==null?void 0:z.project)!=null&&Y.name?"## "+((le=z.project)==null?void 0:le.name)+`
`:"";W.length&&(V.notes=O+(z==null?void 0:z.description)+" "+W.join(" ")),typeof C.line_items=="string"&&(C.line_items=[]),C.line_items.push(V)}),d(C),n(U("/invoices/create?table=tasks&project=true&action=invoice_project"))}}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Hb(e){const[n]=N(),{tasks:a}=e,s=Ce(),o=Oi(),i=xo(),r=Mi(),c=we(),{timeFormat:l}=To(),_=_s(),{dateFormat:d}=At(),p=Ie(ia);return async m=>{var u,v;const h=ce.cloneDeep(m);if(a){const b=await i((u=a[0])==null?void 0:u.client_id,"client_id"),{dateFormat:w,timeFormat:y}=await r((v=a[0])==null?void 0:v.client_id);a.forEach(k=>{var z,j;const C=Tn(k.time_log),S=[];C.forEach(([W,ee,V,O])=>{if(O||!(c!=null&&c.settings.allow_billable_task_items)||typeof O>"u"){let Y="";if(c.invoice_task_hours){const ne=fe.unix(W),Le=fe.unix(ee);Y=`• ${o((Le.diff(ne,"seconds")/3600).toString(),b==null?void 0:b.thousandSeparator,b==null?void 0:b.decimalSeparator,b==null?void 0:b.precision)} ${n("hours")}`}const le=[];(c.invoice_task_datelog||c.invoice_task_timelog)&&le.push(`<div class="task-time-details">
`),c.invoice_task_datelog&&le.push(fe.unix(W).format(w!=null&&w.format_moment?w.format_moment:d)),c.invoice_task_timelog&&le.push(fe.unix(W).format(y||l)+" - "),c.invoice_task_timelog&&le.push(fe.unix(ee).format(y||l)),c.invoice_task_hours&&le.push(Y),c.invoice_task_item_description&&V&&le.push(`

${V}`),(c.invoice_task_datelog||c.invoice_task_timelog)&&(le.push(`
`),le.push(`</div>
`)),S.push(le.join(" "))}});const E=xl(k.time_log,_),I={...ra(),type_id:qn.Task,cost:k.rate,quantity:E,line_total:Number((k.rate*E).toFixed(_)),task_id:k.id,tax_id:"",custom_value1:k.custom_value1,custom_value2:k.custom_value2,custom_value3:k.custom_value3,custom_value4:k.custom_value4},H=c.invoice_task_project&&((z=k==null?void 0:k.project)!=null&&z.name)?"## "+((j=k.project)==null?void 0:j.name)+`
`:"";S.length&&(I.notes=H+(k==null?void 0:k.description)+" "+S.join(" ")),typeof h.line_items=="string"&&(h.line_items=[]),h.line_items.push(I)}),p(h),s(U("/invoices/:id/edit?action=add_tasks&table=tasks",{id:h.id}))}}}function Gb(e){const{visible:n,setVisible:a,tasks:s,invoices:o}=e,i=rn(),r=Hb({tasks:s});return t(Fe,{title:ft("add_to_invoice",{invoice:""}),visible:n,onClose:()=>a(!1),children:t("div",{className:"flex flex-col overflow-y-auto max-h-96",children:o==null?void 0:o.map((c,l)=>{var _,d;return f("div",{className:"flex justify-between py-2 cursor-pointer hover:bg-gray-100 px-3",onClick:()=>r(c),children:[t("span",{children:c.number}),t("span",{children:i(c.amount,(_=c.client)==null?void 0:_.country_id,(d=c.client)==null?void 0:d.settings.currency_id)})]},l)})})})}function Cl(e){const{tasks:n,isBulkAction:a,setSelected:s}=e,o=Xe(),i=ot(),r=go(),[c,l]=g.useState(!1),[_,d]=g.useState([]),p=()=>{if(!n.length)return T.error("no_invoices_found");const m=n.map(u=>u.client_id);if(m.some(u=>!u))return T.error("no_invoices_found");if(m.length){const u=m[0];if(m.some(b=>b!==u))return T.error("multiple_client_error")}T.processing(),o.fetchQuery(["/api/v1/invoices","client_id",n[0].client_id],()=>$("GET",D("/api/v1/invoices?client_id=:clientId&include=client&status=active&per_page=100",{clientId:n[0].client_id})),{staleTime:1/0}).then(u=>{if(T.dismiss(),!u.data.data.length)return T.error("no_invoices_found");i("edit_invoice")?d(u.data.data):d(u.data.data.filter(v=>r(v))),l(!0)})};return g.useEffect(()=>{!c&&(s==null||s([]))},[c]),(n.length&&n[0].client_id&&!n[0].invoice_id||a)&&(i("create_invoice")||i("edit_invoice"))?f(F,{children:[t(Gb,{visible:c,setVisible:l,tasks:n,invoices:_}),t(M,{onClick:p,icon:t(L,{element:Zd}),children:ft("add_to_invoice",{invoice:""})})]}):t(F,{})}const Wb=["status","number","client","description","duration","entity_state"];function Kb(){const[e,n,a,s]=pn({entity:"task"});return["status","number","client","project","description","duration","entity_state","archived_at","calculated_rate","created_at",e,n,a,s,"date","documents","is_deleted","is_invoiced","is_running","rate","updated_at","user","assigned_user"]}function SYe(){var w;const{t:e}=N(),{dateFormat:n}=At(),a=rt(),s=ot(),o=Pa(),i=Ha(),r=we(),c=Et(),l=Ce(),_=rn();Kb();const d=y=>{const k=(y==null?void 0:y.first_name)??"",C=(y==null?void 0:y.last_name)??"";return k.length===0&&C.length===0?(y==null?void 0:y.email)??"Unknown User":`${k} ${C}`},[p,m,h,u]=pn({entity:"task"}),v=[{column:"project",id:"project_id",label:e("project"),format:(y,k)=>{var C,S;return t(Di,{entityId:k.project_id,cacheEndpoint:"/api/v1/projects",apiEndpoint:"/api/v1/projects/:id?include=client",preCheck:s("view_project")||s("edit_project"),component:t(Pe,{to:U("/projects/:id",{id:(C=k==null?void 0:k.project)==null?void 0:C.id}),children:(S=k==null?void 0:k.project)==null?void 0:S.name})})}},{column:"status",id:"status_id",label:e("status"),format:(y,k)=>f("div",{className:"flex items-center space-x-2",children:[t(jb,{entity:k}),k.invoice_id&&t(Qt,{width:"auto",message:e("view_invoice"),withoutArrow:!0,placement:"bottom",children:t(Ma,{className:"cursor-pointer",fontSize:19,color:a,onClick:()=>l(U("/invoices/:id/edit",{id:k.invoice_id}))})})]})},{column:"number",id:"number",label:e("number"),format:(y,k)=>t(dn,{to:U("/tasks/:id/edit",{id:k.id}),renderSpan:o("task",k),children:y})},{column:"client",id:"client_id",label:e("client"),format:(y,k)=>k.client&&t(dn,{to:U("/clients/:id",{id:y.toString()}),renderSpan:o("client",k.client),children:k.client.display_name})},{column:"description",id:"description",label:e("description"),format:y=>t(Qt,{width:"auto",tooltipElement:t("div",{className:"w-full max-h-48 overflow-auto whitespace-normal break-all",children:t("article",{className:oe("prose prose-sm",{"prose-invert":c.dark_mode}),dangerouslySetInnerHTML:{__html:jt(y)}})}),children:t("span",{children:Kn(jt(y)).slice(0,50)})})},{column:"duration",id:"time_log",label:e("duration"),format:y=>Rb(y.toString(),!0)},{column:"entity_state",id:"id",label:e("entity_state"),format:(y,k)=>e(Fb(k))},{column:"archived_at",id:"archived_at",label:e("archived_at"),format:y=>Qe(y,n)},{column:"calculated_rate",id:"rate",label:e("calculated_rate"),format:(y,k)=>{var C,S;return _(k.rate||r.settings.default_task_rate,(C=k.client)==null?void 0:C.country_id,(S=k.client)==null?void 0:S.settings.currency_id)}},{column:"created_at",id:"created_at",label:e("created_at"),format:y=>Qe(y,n)},{column:p,id:"custom_value1",label:p,format:y=>i("task1",y==null?void 0:y.toString())},{column:m,id:"custom_value2",label:m,format:y=>i("task2",y==null?void 0:y.toString())},{column:h,id:"custom_value3",label:h,format:y=>i("task3",y==null?void 0:y.toString())},{column:u,id:"custom_value4",label:u,format:y=>i("task4",y==null?void 0:y.toString())},{column:"date",id:"calculated_start_date",label:e("date"),format:(y,k)=>Qe(k.date,n)},{column:"documents",id:"documents",label:e("documents"),format:(y,k)=>k.documents.length},{column:"is_deleted",id:"is_deleted",label:e("is_deleted"),format:(y,k)=>k.is_deleted?e("yes"):e("no")},{column:"is_invoiced",id:"invoice_id",label:e("is_invoiced"),format:(y,k)=>k.invoice_id?e("yes"):e("no")},{column:"is_running",id:"is_running",label:e("is_running"),format:(y,k)=>Zn(k)?e("yes"):e("no")},{column:"rate",id:"rate",label:e("rate"),format:(y,k)=>{var C,S;return _(y,(C=k.client)==null?void 0:C.country_id,(S=k.client)==null?void 0:S.settings.currency_id)}},{column:"updated_at",id:"updated_at",label:e("updated_at"),format:y=>Qe(y,n)},{column:"user",id:"user_id",label:e("user"),format:(y,k)=>d(k==null?void 0:k.user)},{column:"assigned_user",id:"assigned_user_id",label:e("assigned_user"),format:(y,k)=>k!=null&&k.assigned_user?d(k==null?void 0:k.assigned_user):""}],b=((w=c==null?void 0:c.react_table_columns)==null?void 0:w.task)||Wb;return v.filter(y=>b.includes(y.column)).sort((y,k)=>b.indexOf(y.column)-b.indexOf(k.column))}function EYe(){return e=>{$("PUT",D("/api/v1/tasks/:id",{id:e.id}),e).then(()=>{T.success("updated_task"),ie(["tasks"])})}}function Qb(){const[e]=N(),n=Ms(),a=bn(),{data:s}=yl({status:"active"}),o=[{label:e("invoiced"),value:"invoiced",color:"white",backgroundColor:a.$3||"#22C55E"},{label:e("uninvoiced"),value:"uninvoiced",color:"white",backgroundColor:a.$4||"#F87171"}];return s==null||s.data.forEach(i=>{const{red:r,green:c,blue:l,hex:_}=rs(i.color),d=Os(r,c,l)?-220:220;o.push({label:i.name,value:i.id,color:n(_,d),backgroundColor:i.color,queryKey:"task_status"})}),o}function TYe(e){const[n]=N(),a=Ce(),s=ot(),{showCommonBulkAction:o,showEditAction:i}=e||{},{isEditPage:r}=Ta({entity:"task",editPageTabs:["documents"]}),c=zb(),l=Ub(),_=kl(),d=wl(),p=Ie($b),m=w=>{p({...w,id:"",documents:[],number:"",invoice_id:""}),a("/tasks/create?action=clone")},{setChangeTemplateResources:h,setChangeTemplateVisible:u,setChangeTemplateEntityContext:v}=us();return[w=>!!i&&t(M,{to:U("/tasks/:id/edit",{id:w.id}),icon:t(L,{element:Ns}),children:n("edit")}),()=>!!i&&t(ye,{withoutPadding:!0}),w=>!Zn(w)&&!w.invoice_id&&t(M,{onClick:()=>c(w),icon:t(L,{element:ai}),children:n("start")}),w=>Zn(w)&&!w.invoice_id&&t(M,{onClick:()=>l(w),icon:t(L,{element:si}),children:n("stop")}),w=>!Zn(w)&&!w.invoice_id&&s("create_invoice")&&t(M,{onClick:()=>d([w]),icon:t(L,{element:Ma}),children:n("invoice_task")}),w=>t(Cl,{tasks:[w]}),w=>s("create_task")&&t(M,{onClick:()=>m(w),icon:t(L,{element:Gn}),children:n("clone")}),w=>t(M,{onClick:()=>{u(!0),h([w]),v({endpoint:"/api/v1/tasks/bulk",entity:"task"})},icon:t(L,{element:ns}),children:n("run_template")}),()=>(r||!!o)&&t(ye,{withoutPadding:!0}),w=>(r||!!o)&&Me(w)===Re.Active&&t(M,{onClick:()=>_([w.id],"archive"),icon:t(L,{element:Rt}),children:n("archive")}),w=>(r||!!o)&&(Me(w)===Re.Archived||Me(w)===Re.Deleted)&&t(M,{onClick:()=>_([w.id],"restore"),icon:t(L,{element:Vt}),children:n("restore")}),w=>(r||!!o)&&(Me(w)===Re.Active||Me(w)===Re.Archived)&&t(M,{onClick:()=>_([w.id],"delete"),icon:t(L,{element:kt}),children:n("delete")})]}const PYe=()=>{const[e]=N(),n=wl(),a=kl(),s=ot(),o=Sc(),i=b=>b.some(({documents:w})=>w.length),r=b=>b.flatMap(({documents:w})=>w.map(({id:y})=>y)),c=b=>b.every(w=>!Zn(w)&&!w.invoice_id),l=b=>b.every(w=>Zn(w)&&!w.invoice_id),_=b=>b.every(w=>!Zn(w)&&!w.invoice_id),d=b=>b.every(w=>!Zn(w)&&!w.invoice_id&&w.client_id),p=(b,w)=>{const y=r(b);o(y,"download"),w==null||w([])},{setChangeTemplateVisible:m,setChangeTemplateResources:h,setChangeTemplateEntityContext:u}=us();return[({selectedIds:b,selectedResources:w,setSelected:y})=>w&&c(w)&&t(M,{onClick:()=>{a(b,"start"),y([])},icon:t(L,{element:ai}),children:e("start")}),({selectedIds:b,selectedResources:w,setSelected:y})=>w&&l(w)&&t(M,{onClick:()=>{a(b,"stop"),y([])},icon:t(L,{element:si}),children:e("stop")}),({selectedResources:b,setSelected:w})=>b&&d(b)&&t(Cl,{tasks:b,isBulkAction:!0,setSelected:w}),({selectedResources:b,setSelected:w})=>b&&_(b)&&s("create_invoice")?t(M,{onClick:()=>{n(b),w([])},icon:t(L,{element:Ma}),children:e("invoice_task")}):null,({selectedResources:b,setSelected:w})=>t(M,{onClick:()=>b&&i(b)?p(b,w):T.error("no_documents_to_download"),icon:t(L,{element:fa}),children:e("documents")}),({selectedResources:b})=>t(M,{onClick:()=>{m(!0),h(b),u({endpoint:"/api/v1/tasks/bulk",entity:"task"})},icon:t(L,{element:ns}),children:e("run_template")})]};function Sl(e){const[n]=N(),{value:a,onValueChange:s,errorMessage:o,report:i}=e,r=Ua(),c=Qb(),l=yb(),_=ay(),d=Db(),p=ny(),m=vy(),h=cb(),u=Ib(),[v,b]=g.useState([]),w=y=>y.map(k=>k.value).join(",");return g.useEffect(()=>{(i==="invoice"||i==="invoice_item")&&b(p),i==="credit"&&b(_),i==="expense"&&b(m),(i==="purchase_order"||i==="purchase_order_item")&&b(h),(i==="quote"||i==="quote_item")&&b(l),i==="recurring_invoice"&&b(u),i==="payment"&&b(d),i==="task"&&b(c)},[i]),f(F,{children:[t(Vn,{id:"statusSelector",styles:r,...a&&{value:v.filter(y=>a.split(",").find(k=>y.value===k))},onChange:y=>s(w(y)),placeholder:n("status"),options:v,isMulti:!0}),o&&t(it,{className:"mt-2",type:"danger",children:o})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function El(){return[{identifier:"activity",label:"activity",endpoint:"/api/v1/reports/activities",allow_custom_column:!1,custom_columns:[],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1},preview:"/api/v1/reports/activities?output=json",supports_previews:!1},{identifier:"client",label:"client",endpoint:"/api/v1/reports/clients",allow_custom_column:!0,custom_columns:["client"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1,include_deleted:!1},preview:"/api/v1/reports/clients?output=json",supports_previews:!0},{identifier:"contact",label:"contact",endpoint:"/api/v1/reports/contacts",allow_custom_column:!0,custom_columns:["contact"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1},preview:"/api/v1/reports/contacts?output=json",supports_previews:!0},{identifier:"credit",label:"credit",endpoint:"/api/v1/reports/credits",allow_custom_column:!0,custom_columns:["client","credit","payment"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1,include_deleted:!1,status:"",client_id:""},preview:"/api/v1/reports/credits?output=json",supports_previews:!0},{identifier:"document",label:"document",endpoint:"/api/v1/reports/documents",allow_custom_column:!1,custom_columns:[],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1},preview:"/api/v1/reports/documents?output=json",supports_previews:!0},{identifier:"expense",label:"expense",endpoint:"/api/v1/reports/expenses",allow_custom_column:!0,custom_columns:["expense","client","vendor"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1,clients:"",vendors:"",categories:"",projects:"",include_deleted:!1,status:""},preview:"/api/v1/reports/expenses?output=json",supports_previews:!0},{identifier:"invoice",label:"invoice",endpoint:"/api/v1/reports/invoices",allow_custom_column:!0,custom_columns:["client","invoice","payment"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,status:"",document_email_attachment:!1,include_deleted:!1,client_id:""},preview:"/api/v1/reports/invoices?output=json",supports_previews:!0},{identifier:"invoice_item",label:"invoice_item",endpoint:"/api/v1/reports/invoice_items",allow_custom_column:!0,custom_columns:["client","invoice","payment","item"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1,include_deleted:!1,status:"",client_id:""},preview:"/api/v1/reports/invoice_items?output=json",supports_previews:!0},{identifier:"purchase_order",label:"purchase_order",endpoint:"/api/v1/reports/purchase_orders",allow_custom_column:!0,custom_columns:["vendor","purchase_order"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,status:"",document_email_attachment:!1,include_deleted:!1},preview:"/api/v1/reports/purchase_orders?output=json",supports_previews:!0},{identifier:"purchase_order_item",label:"purchase_order_item",endpoint:"/api/v1/reports/purchase_order_items",allow_custom_column:!0,custom_columns:["vendor","purchase_order","item"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1,include_deleted:!1,status:""},preview:"/api/v1/reports/purchase_order_items?output=json",supports_previews:!0},{identifier:"quote",label:"quote",endpoint:"/api/v1/reports/quotes",allow_custom_column:!0,custom_columns:["client","quote"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1,include_deleted:!1,status:"",client_id:""},preview:"/api/v1/reports/quotes?output=json",supports_previews:!0},{identifier:"quote_item",label:"quote_item",endpoint:"/api/v1/reports/quote_items",allow_custom_column:!0,custom_columns:["client","quote","item"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1,include_deleted:!1,status:"",client_id:""},preview:"/api/v1/reports/quote_items?output=json",supports_previews:!0},{identifier:"recurring_invoice",label:"recurring_invoice",endpoint:"/api/v1/reports/recurring_invoices",allow_custom_column:!0,custom_columns:["recurring_invoice","client","item"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,include_deleted:!1,status:"",client_id:""},preview:"/api/v1/reports/recurring_invoices?output=json",supports_previews:!0},{identifier:"payment",label:"payment",endpoint:"/api/v1/reports/payments",allow_custom_column:!0,custom_columns:["client","invoice","payment"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1,status:"",client_id:""},preview:"/api/v1/reports/payments?output=json",supports_previews:!0},{identifier:"product",label:"product",endpoint:"/api/v1/reports/products",allow_custom_column:!1,custom_columns:[],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1},preview:"/api/v1/reports/products?output=json",supports_previews:!0},{identifier:"product_sales",label:"product_sales",endpoint:"/api/v1/reports/product_sales",allow_custom_column:!1,custom_columns:[],payload:{start_date:"",end_date:"",client_id:"",date_key:"",date_range:"all",report_keys:[],send_email:!1},preview:"/api/v1/reports/product_sales?output=json",supports_previews:!1},{identifier:"task",label:"task",endpoint:"/api/v1/reports/tasks",allow_custom_column:!0,custom_columns:["task","client","invoice"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1,include_deleted:!1,status:"",client_id:""},preview:"/api/v1/reports/tasks?output=json",supports_previews:!0},{identifier:"vendor",label:"vendor",endpoint:"/api/v1/reports/vendors",allow_custom_column:!0,custom_columns:["vendor"],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,document_email_attachment:!1},preview:"/api/v1/reports/vendors?output=json",supports_previews:!0},{identifier:"profitloss",label:"profitloss",endpoint:"/api/v1/reports/profitloss",allow_custom_column:!1,custom_columns:[],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,is_expense_billed:!1,is_income_billed:!1,include_tax:!1},preview:"/api/v1/reports/profitloss?output=json",supports_previews:!1},{identifier:"aged_receivable_detailed_report",schedule_identifier:"ar_detailed",label:"aged_receivable_detailed_report",endpoint:"/api/v1/reports/ar_detail_report",allow_custom_column:!1,custom_columns:[],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,is_expense_billed:!1,is_income_billed:!1,include_tax:!1},preview:"/api/v1/reports/ar_detail_report?output=json",supports_previews:!1},{identifier:"aged_receivable_summary_report",schedule_identifier:"ar_summary",label:"aged_receivable_summary_report",endpoint:"/api/v1/reports/ar_summary_report",allow_custom_column:!1,custom_columns:[],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,is_expense_billed:!1,is_income_billed:!1,include_tax:!1},preview:"/api/v1/reports/ar_summary_report?output=json",supports_previews:!1},{identifier:"client_balance_report",label:"client_balance_report",schedule_identifier:"client_balance",endpoint:"/api/v1/reports/client_balance_report",allow_custom_column:!1,custom_columns:[],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,is_expense_billed:!1,is_income_billed:!1,include_tax:!1},preview:"/api/v1/reports/client_balance_report?output=json",supports_previews:!1},{identifier:"client_sales_report",label:"client_sales_report",schedule_identifier:"client_sales",endpoint:"/api/v1/reports/client_sales_report",allow_custom_column:!1,custom_columns:[],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,is_expense_billed:!1,is_income_billed:!1,include_tax:!1},preview:"/api/v1/reports/client_sales_report?output=json",supports_previews:!1},{identifier:"tax_summary_report",label:"tax_summary_report",schedule_identifier:"tax_summary",endpoint:"/api/v1/reports/tax_summary_report",allow_custom_column:!1,custom_columns:[],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,is_expense_billed:!1,is_income_billed:!1,include_tax:!1},preview:"/api/v1/reports/tax_summary_report?output=json",supports_previews:!1},{identifier:"user_sales_report",label:"user_sales_report",schedule_identifier:"user_sales",endpoint:"/api/v1/reports/user_sales_report",allow_custom_column:!1,custom_columns:[],payload:{start_date:"",end_date:"",date_key:"",date_range:"all",report_keys:[],send_email:!1,is_expense_billed:!1,is_income_billed:!1,include_tax:!1},preview:"/api/v1/reports/user_sales_report?output=json",supports_previews:!1}]}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Yb=[{trans:"name",value:"client.name",map:"client"},{trans:"number",value:"client.number",map:"client"},{trans:"user",value:"client.user",map:"client"},{trans:"assigned_user",value:"client.assigned_user",map:"client"},{trans:"balance",value:"client.balance",map:"client"},{trans:"paid_to_date",value:"client.paid_to_date",map:"client"},{trans:"currency",value:"client.currency_id",map:"client"},{trans:"website",value:"client.website",map:"client"},{trans:"private_notes",value:"client.private_notes",map:"client"},{trans:"industry",value:"client.industry_id",map:"client"},{trans:"size",value:"client.size_id",map:"client"},{trans:"address1",value:"client.address1",map:"client"},{trans:"address2",value:"client.address2",map:"client"},{trans:"city",value:"client.city",map:"client"},{trans:"state",value:"client.state",map:"client"},{trans:"postal_code",value:"client.postal_code",map:"client"},{trans:"country",value:"client.country_id",map:"client"},{trans:"custom_value1",value:"client.custom_value1",map:"client"},{trans:"custom_value2",value:"client.custom_value2",map:"client"},{trans:"custom_value3",value:"client.custom_value3",map:"client"},{trans:"custom_value4",value:"client.custom_value4",map:"client"},{trans:"shipping_address1",value:"client.shipping_address1",map:"client"},{trans:"shipping_address2",value:"client.shipping_address2",map:"client"},{trans:"shipping_city",value:"client.shipping_city",map:"client"},{trans:"shipping_state",value:"client.shipping_state",map:"client"},{trans:"shipping_postal_code",value:"client.shipping_postal_code",map:"client"},{trans:"shipping_country",value:"client.shipping_country_id",map:"client"},{trans:"payment_terms",value:"client.payment_terms",map:"client"},{trans:"vat_number",value:"client.vat_number",map:"client"},{trans:"id_number",value:"client.id_number",map:"client"},{trans:"public_notes",value:"client.public_notes",map:"client"},{trans:"phone",value:"client.phone",map:"client"},{trans:"classification",value:"client.classification",map:"client"},{trans:"credit_balance",value:"client.credit_balance",map:"client"},{trans:"payment_balance",value:"client.payment_balance",map:"client"},{trans:"first_name",value:"contact.first_name",map:"client"},{trans:"last_name",value:"contact.last_name",map:"client"},{trans:"email",value:"contact.email",map:"client"},{trans:"phone",value:"contact.phone",map:"client"},{trans:"custom_value1",value:"contact.custom_value1",map:"client"},{trans:"custom_value2",value:"contact.custom_value2",map:"client"},{trans:"custom_value3",value:"contact.custom_value3",map:"client"},{trans:"custom_value4",value:"contact.custom_value4",map:"client"}];/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Xb=[{trans:"date",value:"payment.date",map:"payment"},{trans:"amount",value:"payment.amount",map:"payment"},{trans:"refunded",value:"payment.refunded",map:"payment"},{trans:"applied",value:"payment.applied",map:"payment"},{trans:"transaction_reference",value:"payment.transaction_reference",map:"payment"},{trans:"currency",value:"payment.currency",map:"payment"},{trans:"exchange_rate",value:"payment.exchange_rate",map:"payment"},{trans:"number",value:"payment.number",map:"payment"},{trans:"method",value:"payment.method",map:"payment"},{trans:"status",value:"payment.status",map:"payment"},{trans:"private_notes",value:"payment.private_notes",map:"payment"},{trans:"custom_value1",value:"payment.custom_value1",map:"payment"},{trans:"custom_value2",value:"payment.custom_value2",map:"payment"},{trans:"custom_value3",value:"payment.custom_value3",map:"payment"},{trans:"custom_value4",value:"payment.custom_value4",map:"payment"},{trans:"user",value:"payment.user_id",map:"payment"},{trans:"assigned_user",value:"payment.assigned_user_id",map:"payment"}];/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const ur=[{trans:"quote_number",value:"quote.number",map:"quote"},{trans:"amount",value:"quote.amount",map:"quote"},{trans:"balance",value:"quote.balance",map:"quote"},{trans:"paid_to_date",value:"quote.paid_to_date",map:"quote"},{trans:"discount",value:"invoice.discount",map:"quote"},{trans:"po_number",value:"quote.po_number",map:"quote"},{trans:"date",value:"quote.date",map:"quote"},{trans:"due_date",value:"quote.due_date",map:"quote"},{trans:"terms",value:"quote.terms",map:"quote"},{trans:"footer",value:"quote.footer",map:"quote"},{trans:"status",value:"quote.status",map:"quote"},{trans:"public_notes",value:"quote.public_notes",map:"quote"},{trans:"private_notes",value:"quote.private_notes",map:"quote"},{trans:"uses_inclusive_taxes",value:"quote.uses_inclusive_taxes",map:"quote"},{trans:"is_amount_discount",value:"quote.is_amount_discount",map:"quote"},{trans:"partial",value:"quote.partial",map:"quote"},{trans:"partial_due_date",value:"quote.partial_due_date",map:"quote"},{trans:"custom_value1",value:"quote.custom_value1",map:"quote"},{trans:"custom_value2",value:"quote.custom_value2",map:"quote"},{trans:"custom_value3",value:"quote.custom_value3",map:"quote"},{trans:"custom_value4",value:"quote.custom_value4",map:"quote"},{trans:"surcharge1",value:"quote.custom_surcharge1",map:"quote"},{trans:"surcharge2",value:"quote.custom_surcharge2",map:"quote"},{trans:"surcharge3",value:"quote.custom_surcharge3",map:"quote"},{trans:"surcharge4",value:"quote.custom_surcharge4",map:"quote"},{trans:"exchange_rate",value:"quote.exchange_rate",map:"quote"},{trans:"tax_amount",value:"quote.total_taxes",map:"quote"},{trans:"assigned_user",value:"quote.assigned_user_id",map:"quote"},{trans:"user",value:"quote.user_id",map:"quote"},{trans:"tax_name1",value:"quote.tax_name1",map:"quote"},{trans:"tax_rate1",value:"quote.tax_rate1",map:"quote"},{trans:"tax_name2",value:"quote.tax_name2",map:"quote"},{trans:"tax_rate2",value:"quote.tax_rate2",map:"quote"},{trans:"tax_name3",value:"quote.tax_name3",map:"quote"},{trans:"tax_rate3",value:"quote.tax_rate3",map:"quote"}];/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const mr=[{trans:"credit_number",value:"credit.number",map:"credit"},{trans:"amount",value:"credit.amount",map:"credit"},{trans:"balance",value:"credit.balance",map:"credit"},{trans:"paid_to_date",value:"credit.paid_to_date",map:"credit"},{trans:"discount",value:"credit.discount",map:"credit"},{trans:"po_number",value:"credit.po_number",map:"credit"},{trans:"date",value:"credit.date",map:"credit"},{trans:"due_date",value:"credit.due_date",map:"credit"},{trans:"terms",value:"credit.terms",map:"credit"},{trans:"footer",value:"credit.footer",map:"credit"},{trans:"status",value:"credit.status",map:"credit"},{trans:"public_notes",value:"credit.public_notes",map:"credit"},{trans:"private_notes",value:"credit.private_notes",map:"credit"},{trans:"uses_inclusive_taxes",value:"credit.uses_inclusive_taxes",map:"credit"},{trans:"is_amount_discount",value:"credit.is_amount_discount",map:"credit"},{trans:"partial",value:"credit.partial",map:"credit"},{trans:"partial_due_date",value:"credit.partial_due_date",map:"credit"},{trans:"custom_value1",value:"credit.custom_value1",map:"credit"},{trans:"custom_value2",value:"credit.custom_value2",map:"credit"},{trans:"custom_value3",value:"credit.custom_value3",map:"credit"},{trans:"custom_value4",value:"credit.custom_value4",map:"credit"},{trans:"surcharge1",value:"credit.custom_surcharge1",map:"credit"},{trans:"surcharge2",value:"credit.custom_surcharge2",map:"credit"},{trans:"surcharge3",value:"credit.custom_surcharge3",map:"credit"},{trans:"surcharge4",value:"credit.custom_surcharge4",map:"credit"},{trans:"exchange_rate",value:"credit.exchange_rate",map:"credit"},{trans:"tax_amount",value:"credit.total_taxes",map:"credit"},{trans:"assigned_user",value:"credit.assigned_user_id",map:"credit"},{trans:"user",value:"credit.user_id",map:"credit"},{trans:"tax_name1",value:"credit.tax_name1",map:"credit"},{trans:"tax_rate1",value:"credit.tax_rate1",map:"credit"},{trans:"tax_name2",value:"credit.tax_name2",map:"credit"},{trans:"tax_rate2",value:"credit.tax_rate2",map:"credit"},{trans:"tax_name3",value:"credit.tax_name3",map:"credit"},{trans:"tax_rate3",value:"credit.tax_rate3",map:"credit"}];/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const xs=[{trans:"quantity",value:"item.quantity",map:""},{trans:"discount",value:"item.discount",map:""},{trans:"cost",value:"item.cost",map:""},{trans:"product_key",value:"item.product_key",map:""},{trans:"notes",value:"item.notes",map:""},{trans:"custom_value1",value:"item.custom_value1",map:""},{trans:"custom_value2",value:"item.custom_value2",map:""},{trans:"custom_value3",value:"item.custom_value3",map:""},{trans:"custom_value4",value:"item.custom_value4",map:""},{trans:"item_tax1",value:"item.tax_name1",map:""},{trans:"item_tax_rate1",value:"item.tax_rate1",map:""},{trans:"item_tax2",value:"item.tax_name2",map:""},{trans:"item_tax_rate2",value:"item.tax_rate2",map:""},{trans:"item_tax3",value:"item.tax_name3",map:""},{trans:"item_tax_rate3",value:"item.tax_rate3",map:""},{trans:"type",value:"item.type_id",map:""},{trans:"tax_category",value:"item.tax_id",map:""},{trans:"tax_amount",value:"item.tax_amount",map:""}];/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Jb=[{trans:"name",value:"vendor.name",map:"vendor"},{trans:"address1",value:"vendor.address1",map:"vendor"},{trans:"address2",value:"vendor.address2",map:"vendor"},{trans:"city",value:"vendor.city",map:"vendor"},{trans:"country",value:"vendor.country_id",map:"vendor"},{trans:"custom_value1",value:"vendor.custom_value1",map:"vendor"},{trans:"custom_value2",value:"vendor.custom_value2",map:"vendor"},{trans:"custom_value3",value:"vendor.custom_value3",map:"vendor"},{trans:"custom_value4",value:"vendor.custom_value4",map:"vendor"},{trans:"id_number",value:"vendor.id_number",map:"vendor"},{trans:"number",value:"vendor.number",map:"vendor"},{trans:"phone",value:"vendor.phone",map:"vendor"},{trans:"postal_code",value:"vendor.postal_code",map:"vendor"},{trans:"private_notes",value:"vendor.private_notes",map:"vendor"},{trans:"public_notes",value:"vendor.public_notes",map:"vendor"},{trans:"state",value:"vendor.state",map:"vendor"},{trans:"vat_number",value:"vendor.vat_number",map:"vendor"},{trans:"website",value:"vendor.website",map:"vendor"},{trans:"currency",value:"vendor.currency",map:"vendor"},{trans:"first_name",value:"vendor_contact.first_name",map:"vendor"},{trans:"last_name",value:"vendor_contact.last_name",map:"vendor"},{trans:"contact_phone",value:"vendor_contact.phone",map:"vendor"},{trans:"contact_custom_value1",value:"vendor_contact.custom_value1",map:"vendor"},{trans:"contact_custom_value2",value:"vendor_contact.custom_value2",map:"vendor"},{trans:"contact_custom_value3",value:"vendor_contact.custom_value3",map:"vendor"},{trans:"contact_custom_value4",value:"vendor_contact.custom_value4",map:"vendor"},{trans:"email",value:"vendor_contact.email",map:"vendor"},{trans:"status",value:"vendor.status",map:"vendor"}];/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const pr=[{trans:"purchase_order_number",value:"purchase_order.number",map:"purchase_order"},{trans:"amount",value:"purchase_order.amount",map:"purchase_order"},{trans:"balance",value:"purchase_order.balance",map:"purchase_order"},{trans:"paid_to_date",value:"purchase_order.paid_to_date",map:"purchase_order"},{trans:"discount",value:"purchase_order.discount",map:"purchase_order"},{trans:"po_number",value:"purchase_order.po_number",map:"purchase_order"},{trans:"date",value:"purchase_order.date",map:"purchase_order"},{trans:"due_date",value:"purchase_order.due_date",map:"purchase_order"},{trans:"terms",value:"purchase_order.terms",map:"purchase_order"},{trans:"footer",value:"purchase_order.footer",map:"purchase_order"},{trans:"status",value:"purchase_order.status",map:"purchase_order"},{trans:"public_notes",value:"purchase_order.public_notes",map:"purchase_order"},{trans:"private_notes",value:"purchase_order.private_notes",map:"purchase_order"},{trans:"uses_inclusive_taxes",value:"purchase_order.uses_inclusive_taxes",map:"purchase_order"},{trans:"is_amount_discount",value:"purchase_order.is_amount_discount",map:"purchase_order"},{trans:"partial",value:"purchase_order.partial",map:"purchase_order"},{trans:"partial_due_date",value:"purchase_order.partial_due_date",map:"purchase_order"},{trans:"surcharge1",value:"purchase_order.custom_surcharge1",map:"purchase_order"},{trans:"surcharge2",value:"purchase_order.custom_surcharge2",map:"purchase_order"},{trans:"surcharge3",value:"purchase_order.custom_surcharge3",map:"purchase_order"},{trans:"surcharge4",value:"purchase_order.custom_surcharge4",map:"purchase_order"},{trans:"exchange_rate",value:"purchase_order.exchange_rate",map:"purchase_order"},{trans:"tax_amount",value:"purchase_order.total_taxes",map:"purchase_order"},{trans:"assigned_user",value:"purchase_order.assigned_user_id",map:"purchase_order"},{trans:"user",value:"purchase_order.user_id",map:"purchase_order"},{trans:"tax_name1",value:"purchase_order.tax_name1",map:"purchase_order"},{trans:"tax_rate1",value:"purchase_order.tax_rate1",map:"purchase_order"},{trans:"tax_name2",value:"purchase_order.tax_name2",map:"purchase_order"},{trans:"tax_rate2",value:"purchase_order.tax_rate2",map:"purchase_order"},{trans:"tax_name3",value:"purchase_order.tax_name3",map:"purchase_order"},{trans:"tax_rate3",value:"purchase_order.tax_rate3",map:"purchase_order"}];/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Zb=[{trans:"start_date",value:"task.start_date",map:"task"},{trans:"start_time",value:"task.start_time",map:"task"},{trans:"end_date",value:"task.end_date",map:"task"},{trans:"end_time",value:"task.end_time",map:"task"},{trans:"duration",value:"task.duration",map:"task"},{trans:"duration_words",value:"task.duration_words",map:"task"},{trans:"rate",value:"task.rate",map:"task"},{trans:"number",value:"task.number",map:"task"},{trans:"description",value:"task.description",map:"task"},{trans:"custom_value1",value:"task.custom_value1",map:"task"},{trans:"custom_value2",value:"task.custom_value2",map:"task"},{trans:"custom_value3",value:"task.custom_value3",map:"task"},{trans:"custom_value4",value:"task.custom_value4",map:"task"},{trans:"status",value:"task.status_id",map:"task"},{trans:"project",value:"task.project_id",map:"task"},{trans:"billable",value:"task.billable",map:"task"},{trans:"item_notes",value:"task.item_notes",map:"task"},{trans:"assigned_user",value:"task.assigned_user_id",map:"task"},{trans:"user",value:"task.user_id",map:"task"}];/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const ew=[{trans:"amount",value:"expense.amount",map:"expense"},{trans:"category",value:"expense.category",map:"expense"},{trans:"custom_value1",value:"expense.custom_value1",map:"expense"},{trans:"custom_value2",value:"expense.custom_value2",map:"expense"},{trans:"custom_value3",value:"expense.custom_value3",map:"expense"},{trans:"custom_value4",value:"expense.custom_value4",map:"expense"},{trans:"currency",value:"expense.currency_id",map:"expense"},{trans:"date",value:"expense.date",map:"expense"},{trans:"exchange_rate",value:"expense.exchange_rate",map:"expense"},{trans:"converted_amount",value:"expense.foreign_amount",map:"expense"},{trans:"invoice_currency_id",value:"expense.invoice_currency_id",map:"expense"},{trans:"payment_date",value:"expense.payment_date",map:"expense"},{trans:"number",value:"expense.number",map:"expense"},{trans:"payment_type_id",value:"expense.payment_type_id",map:"expense"},{trans:"private_notes",value:"expense.private_notes",map:"expense"},{trans:"project",value:"expense.project_id",map:"expense"},{trans:"public_notes",value:"expense.public_notes",map:"expense"},{trans:"tax_amount1",value:"expense.tax_amount1",map:"expense"},{trans:"tax_amount2",value:"expense.tax_amount2",map:"expense"},{trans:"tax_amount3",value:"expense.tax_amount3",map:"expense"},{trans:"tax_name1",value:"expense.tax_name1",map:"expense"},{trans:"tax_name2",value:"expense.tax_name2",map:"expense"},{trans:"tax_name3",value:"expense.tax_name3",map:"expense"},{trans:"tax_rate1",value:"expense.tax_rate1",map:"expense"},{trans:"tax_rate2",value:"expense.tax_rate2",map:"expense"},{trans:"tax_rate3",value:"expense.tax_rate3",map:"expense"},{trans:"transaction_reference",value:"expense.transaction_reference",map:"expense"},{trans:"invoice",value:"expense.invoice_id",map:"expense"},{trans:"user",value:"expense.user",map:"expense"},{trans:"assigned_user",value:"expense.assigned_user",map:"expense"}];/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const hr=[{trans:"invoice_number",value:"recurring_invoice.number",map:"recurring_invoice"},{trans:"amount",value:"recurring_invoice.amount",map:"recurring_invoice"},{trans:"balance",value:"recurring_invoice.balance",map:"recurring_invoice"},{trans:"paid_to_date",value:"recurring_invoice.paid_to_date",map:"recurring_invoice"},{trans:"discount",value:"recurring_invoice.discount",map:"recurring_invoice"},{trans:"po_number",value:"recurring_invoice.po_number",map:"recurring_invoice"},{trans:"date",value:"recurring_invoice.date",map:"recurring_invoice"},{trans:"due_date",value:"recurring_invoice.due_date",map:"recurring_invoice"},{trans:"terms",value:"recurring_invoice.terms",map:"recurring_invoice"},{trans:"footer",value:"recurring_invoice.footer",map:"recurring_invoice"},{trans:"status",value:"recurring_invoice.status",map:"recurring_invoice"},{trans:"public_notes",value:"recurring_invoice.public_notes",map:"recurring_invoice"},{trans:"private_notes",value:"recurring_invoice.private_notes",map:"recurring_invoice"},{trans:"uses_inclusive_taxes",value:"recurring_invoice.uses_inclusive_taxes",map:"recurring_invoice"},{trans:"is_amount_discount",value:"recurring_invoice.is_amount_discount",map:"recurring_invoice"},{trans:"partial",value:"recurring_invoice.partial",map:"recurring_invoice"},{trans:"partial_due_date",value:"recurring_invoice.partial_due_date",map:"recurring_invoice"},{trans:"custom_value1",value:"recurring_invoice.custom_value1",map:"recurring_invoice"},{trans:"custom_value2",value:"recurring_invoice.custom_value2",map:"recurring_invoice"},{trans:"custom_value3",value:"recurring_invoice.custom_value3",map:"recurring_invoice"},{trans:"custom_value4",value:"recurring_invoice.custom_value4",map:"recurring_invoice"},{trans:"surcharge1",value:"recurring_invoice.custom_surcharge1",map:"recurring_invoice"},{trans:"surcharge2",value:"recurring_invoice.custom_surcharge2",map:"recurring_invoice"},{trans:"surcharge3",value:"recurring_invoice.custom_surcharge3",map:"recurring_invoice"},{trans:"surcharge4",value:"recurring_invoice.custom_surcharge4",map:"recurring_invoice"},{trans:"exchange_rate",value:"recurring_invoice.exchange_rate",map:"recurring_invoice"},{trans:"tax_amount",value:"recurring_invoice.total_taxes",map:"recurring_invoice"},{trans:"assigned_user",value:"recurring_invoice.assigned_user_id",map:"recurring_invoice"},{trans:"user",value:"recurring_invoice.user_id",map:"recurring_invoice"},{trans:"frequency",value:"recurring_invoice.frequency_id",map:"recurring_invoice"},{trans:"next_send_date",value:"recurring_invoice.next_send_date",map:"recurring_invoice"},{trans:"auto_bill",value:"recurring_invoice.auto_bill",map:"recurring_invoice"},{trans:"auto_bill_enabled",value:"recurring_invoice.auto_bill_enabled",map:"recurring_invoice"},{trans:"tax_name1",value:"recurring_invoice.tax_name1",map:"recurring_invoice"},{trans:"tax_rate1",value:"recurring_invoice.tax_rate1",map:"recurring_invoice"},{trans:"tax_name2",value:"recurring_invoice.tax_name2",map:"recurring_invoice"},{trans:"tax_rate2",value:"recurring_invoice.tax_rate2",map:"recurring_invoice"},{trans:"tax_name3",value:"recurring_invoice.tax_name3",map:"recurring_invoice"},{trans:"tax_rate3",value:"recurring_invoice.tax_rate3",map:"recurring_invoice"}];/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const tw=[{trans:"first_name",value:"contact.first_name",map:"contact"},{trans:"last_name",value:"contact.last_name",map:"contact"},{trans:"email",value:"contact.email",map:"contact"},{trans:"phone",value:"contact.phone",map:"contact"},{trans:"custom_value1",value:"contact.custom_value1",map:"contact"},{trans:"custom_value2",value:"contact.custom_value2",map:"contact"},{trans:"custom_value3",value:"contact.custom_value3",map:"contact"},{trans:"custom_value4",value:"contact.custom_value4",map:"contact"},{trans:"name",value:"client.name",map:"contact"},{trans:"user",value:"client.user",map:"contact"},{trans:"assigned_user",value:"client.assigned_user",map:"contact"},{trans:"balance",value:"client.balance",map:"contact"},{trans:"paid_to_date",value:"client.paid_to_date",map:"contact"},{trans:"currency",value:"client.currency_id",map:"contact"},{trans:"website",value:"client.website",map:"contact"},{trans:"private_notes",value:"client.private_notes",map:"contact"},{trans:"industry",value:"client.industry_id",map:"contact"},{trans:"size",value:"client.size_id",map:"contact"},{trans:"address1",value:"client.address1",map:"contact"},{trans:"address2",value:"client.address2",map:"contact"},{trans:"city",value:"client.city",map:"contact"},{trans:"state",value:"client.state",map:"contact"},{trans:"postal_code",value:"client.postal_code",map:"contact"},{trans:"country",value:"client.country_id",map:"contact"},{trans:"custom_value1",value:"client.custom_value1",map:"contact"},{trans:"custom_value2",value:"client.custom_value2",map:"contact"},{trans:"custom_value3",value:"client.custom_value3",map:"contact"},{trans:"custom_value4",value:"client.custom_value4",map:"contact"},{trans:"shipping_address1",value:"client.shipping_address1",map:"contact"},{trans:"shipping_address2",value:"client.shipping_address2",map:"contact"},{trans:"shipping_city",value:"client.shipping_city",map:"contact"},{trans:"shipping_state",value:"client.shipping_state",map:"contact"},{trans:"shipping_postal_code",value:"client.shipping_postal_code",map:"contact"},{trans:"shipping_country",value:"client.shipping_country_id",map:"contact"},{trans:"payment_terms",value:"client.payment_terms",map:"contact"},{trans:"vat_number",value:"client.vat_number",map:"contact"},{trans:"id_number",value:"client.id_number",map:"contact"},{trans:"public_notes",value:"client.public_notes",map:"contact"},{trans:"phone",value:"client.phone",map:"contact"}];/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const fr=[{trans:"invoice_number",value:"invoice.number",map:"invoice"},{trans:"amount",value:"invoice.amount",map:"invoice"},{trans:"balance",value:"invoice.balance",map:"invoice"},{trans:"paid_to_date",value:"invoice.paid_to_date",map:"invoice"},{trans:"discount",value:"invoice.discount",map:"invoice"},{trans:"po_number",value:"invoice.po_number",map:"invoice"},{trans:"date",value:"invoice.date",map:"invoice"},{trans:"due_date",value:"invoice.due_date",map:"invoice"},{trans:"terms",value:"invoice.terms",map:"invoice"},{trans:"footer",value:"invoice.footer",map:"invoice"},{trans:"status",value:"invoice.status",map:"invoice"},{trans:"public_notes",value:"invoice.public_notes",map:"invoice"},{trans:"private_notes",value:"invoice.private_notes",map:"invoice"},{trans:"uses_inclusive_taxes",value:"invoice.uses_inclusive_taxes",map:"invoice"},{trans:"is_amount_discount",value:"invoice.is_amount_discount",map:"invoice"},{trans:"partial",value:"invoice.partial",map:"invoice"},{trans:"partial_due_date",value:"invoice.partial_due_date",map:"invoice"},{trans:"custom_value1",value:"invoice.custom_value1",map:"invoice"},{trans:"custom_value2",value:"invoice.custom_value2",map:"invoice"},{trans:"custom_value3",value:"invoice.custom_value3",map:"invoice"},{trans:"custom_value4",value:"invoice.custom_value4",map:"invoice"},{trans:"surcharge1",value:"invoice.custom_surcharge1",map:"invoice"},{trans:"surcharge2",value:"invoice.custom_surcharge2",map:"invoice"},{trans:"surcharge3",value:"invoice.custom_surcharge3",map:"invoice"},{trans:"surcharge4",value:"invoice.custom_surcharge4",map:"invoice"},{trans:"exchange_rate",value:"invoice.exchange_rate",map:"invoice"},{trans:"tax_amount",value:"invoice.total_taxes",map:"invoice"},{trans:"assigned_user",value:"invoice.assigned_user_id",map:"invoice"},{trans:"user",value:"invoice.user_id",map:"invoice"},{trans:"recurring_invoice",value:"invoice.recurring_id",map:"invoice"},{trans:"auto_bill",value:"invoice.auto_bill_enabled",map:"invoice"},{trans:"tax_name1",value:"invoice.tax_name1",map:"invoice"},{trans:"tax_rate1",value:"invoice.tax_rate1",map:"invoice"},{trans:"tax_name2",value:"invoice.tax_name2",map:"invoice"},{trans:"tax_rate2",value:"invoice.tax_rate2",map:"invoice"},{trans:"tax_name3",value:"invoice.tax_name3",map:"invoice"},{trans:"tax_rate3",value:"invoice.tax_rate3",map:"invoice"}],Un=11;function nw(){const[e]=N(),n=we(),a=n==null?void 0:n.custom_fields,s={credit:"invoice",quote:"invoice",recurring_invoice:"invoice",purchase_order:"invoice",recurring_expense:"expense",item:"product"},o=(i,r)=>{const c=i.includes("custom_value")?i.replace("custom_value","custom"):i;return a[c]?Js(a[c]).label():`${r?"contact_custom_value":"custom"}${c.charAt(c.length-1)}`};return(i,r)=>{const c=s[r]||r;return{custom_value1:o(`${c}1`),custom_value2:o(`${c}2`),custom_value3:o(`${c}3`),custom_value4:o(`${c}4`),surcharge1:a.surcharge1,surcharge2:a.surcharge2,surcharge3:a.surcharge3,surcharge4:a.surcharge4,contact_custom_value1:o("vendor_contact1",!0),contact_custom_value2:o("vendor_contact2",!0),contact_custom_value3:o("vendor_contact3",!0),contact_custom_value4:o("vendor_contact4",!0)}[i]||e(i)}}function kn({title:e,droppableId:n,isDropDisabled:a,data:s,onRemove:o}){const[i]=N(),r=me(),c=nw(),l=_=>{const d=_.value.split(".");return`${i(`${d[0]}`)} - ${c(_.trans,d[0])}`};return f("div",{children:[t("h2",{className:"text-gray-500 font-medium",children:typeof e=="string"?t("p",{children:e}):e()}),t(co,{droppableId:n,isDropDisabled:a,children:_=>f("div",{style:{color:r.$3,colorScheme:r.$0,backgroundColor:r.$1,borderColor:r.$4},className:"w-80 flex-column",ref:_.innerRef,..._.droppableProps,children:[t("div",{className:"overflow-y-scroll h-96 mt-2 border rounded-md divide-y",children:s&&s.map((d,p)=>t(lo,{index:p,draggableId:`left-word-${d.value}`,children:m=>t("div",{ref:m.innerRef,...m.draggableProps,...m.dragHandleProps,children:f("span",{style:{color:r.$3,colorScheme:r.$0,backgroundColor:r.$1,borderColor:r.$4},className:"p-2 flex justify-between items-center cursor-move ml-2 text-sm",children:[l(d),n===Un.toString()&&t("button",{style:{color:r.$3,colorScheme:r.$0,backgroundColor:r.$1,borderColor:r.$4},type:"button",onClick:()=>o?o(d):null,children:t(Ln,{size:15})})]},p)})},d.value))}),_.placeholder]})})]})}const aw=["client","invoice","credit","quote","payment","vendor","purchase_order","task","expense","recurring_invoice","contact"];function sw({report:e,columns:n}){const{preferences:a}=ka(),s=[n.includes("client")?Yb:[],n.includes("invoice")?n.includes("item")?fr.concat(xs.map(i=>({...i,origin:"invoice"}))):fr:[],n.includes("credit")?n.includes("item")?mr.concat(xs.map(i=>({...i,origin:"credit"}))):mr:[],n.includes("quote")?n.includes("item")?ur.concat(xs.map(i=>({...i,origin:"quote"}))):ur:[],n.includes("payment")?Xb:[],n.includes("vendor")?Jb:[],n.includes("purchase_order")?n.includes("item")?pr.concat(xs.map(i=>({...i,origin:"purchase_order"}))):pr:[],n.includes("task")?Zb:[],n.includes("expense")?ew:[],n.includes("recurring_invoice")?n.includes("item")?hr.concat(xs.map(i=>({...i,origin:"recurring_invoice"}))):hr:[],n.includes("contact")?tw:[],[]];return{data:e in a.reports.columns&&a.reports.columns[e].length!==0?a.reports.columns[e]:s,defaultColumns:s}}function ow({report:e,columns:n}){const[a]=N(),{update:s}=ka(),{data:o,defaultColumns:i}=sw({report:e,columns:n}),r=p=>{if(p.destination)try{const m=ce.cloneDeep(o),h=parseInt(p.source.droppableId),u=m[h][p.source.index];m[h].splice(p.source.index,1);const v=parseInt(p.destination.droppableId);m[v].splice(p.destination.index,0,u),s(`preferences.reports.columns.${e}`,[...m])}catch{s(`preferences.reports.columns.${e}`,i)}},c=p=>{const m=aw.indexOf(p.map),h=ce.cloneDeep(o);h[Un]=h[Un].filter(u=>u.value!==p.value),h[m].push(p),s(`preferences.reports.columns.${e}`,[...h])},l=()=>{s(`preferences.reports.columns.${e}`,i)},_=p=>{const m=ce.cloneDeep(o);m[Un]=[...m[Un],...m[p]],m[p]=[],s(`preferences.reports.columns.${e}`,[...m])},d=me();return t("div",{className:"min-w-min",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:t(Z,{className:"my-6",children:t(ro,{onDragEnd:r,children:f("div",{className:"flex w-full py-2 px-6 space-x-4",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[n.includes("client")&&t(kn,{title:()=>f("div",{className:"flex justify-between items-center",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[t("p",{children:a("client")}),t("button",{type:"button",onClick:()=>_(0),style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:t(xn,{size:16})})]}),data:o[0],droppableId:"0",isDropDisabled:!0}),n.includes("invoice")&&t(kn,{title:()=>f("div",{className:"flex justify-between items-center",children:[t("p",{children:a("invoice")}),t("button",{type:"button",onClick:()=>_(1),style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:t(xn,{size:16})})]}),data:o[1],droppableId:"1",isDropDisabled:!0}),n.includes("credit")&&t(kn,{title:()=>f("div",{className:"flex justify-between items-center",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[t("p",{children:a("credit")}),t("button",{type:"button",onClick:()=>_(2),style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:t(xn,{size:16})})]}),data:o[2],droppableId:"2",isDropDisabled:!0}),n.includes("quote")&&t(kn,{title:()=>f("div",{className:"flex justify-between items-center",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[t("p",{children:a("quote")}),t("button",{type:"button",onClick:()=>_(3),children:t(xn,{size:16})})]}),data:o[3],droppableId:"3",isDropDisabled:!0}),n.includes("payment")&&t(kn,{title:()=>f("div",{className:"flex justify-between items-center",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[t("p",{children:a("payment")}),t("button",{type:"button",onClick:()=>_(4),style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:t(xn,{size:16})})]}),data:o[4],droppableId:"4",isDropDisabled:!0}),n.includes("vendor")&&t(kn,{title:()=>f("div",{className:"flex justify-between items-center",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[t("p",{children:a("vendor")}),t("button",{type:"button",onClick:()=>_(5),style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:t(xn,{size:16})})]}),data:o[5],droppableId:"5",isDropDisabled:!0}),n.includes("purchase_order")&&t(kn,{title:()=>f("div",{className:"flex justify-between items-center",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[t("p",{children:a("purchase_order")}),t("button",{type:"button",onClick:()=>_(6),children:t(xn,{size:16})})]}),data:o[6],droppableId:"6",isDropDisabled:!0}),n.includes("task")&&t(kn,{title:()=>f("div",{className:"flex justify-between items-center",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[t("p",{children:a("task")}),t("button",{type:"button",onClick:()=>_(7),style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:t(xn,{size:16})})]}),data:o[7],droppableId:"7",isDropDisabled:!0}),n.includes("expense")&&t(kn,{title:()=>f("div",{className:"flex justify-between items-center",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[t("p",{children:a("expense")}),t("button",{type:"button",onClick:()=>_(8),children:t(xn,{size:16})})]}),data:o[8],droppableId:"8",isDropDisabled:!0}),n.includes("recurring_invoice")&&t(kn,{title:()=>f("div",{className:"flex justify-between items-center",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[t("p",{children:a("recurring_invoice")}),t("button",{type:"button",onClick:()=>_(9),style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:t(xn,{size:16})})]}),data:o[9],droppableId:"9",isDropDisabled:!0}),n.includes("contact")&&t(kn,{title:()=>f("div",{className:"flex justify-between items-center",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[t("p",{children:a("contact")}),t("button",{type:"button",onClick:()=>_(10),style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:t(xn,{size:16})})]}),data:o[10],droppableId:"10",isDropDisabled:!0}),t(kn,{title:()=>f("div",{className:"flex items-center justify-between",style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},children:[f("p",{children:[a("report")," ",a("columns")]}),f("div",{style:{color:d.$3,colorScheme:d.$0,backgroundColor:d.$1,borderColor:d.$4},className:"flex items-end space-x-1 cursor-pointer",onClick:l,children:[t(Ln,{size:19}),f("span",{className:"text-xs",children:["(",a("reset"),")"]})]})]}),data:o[Un],droppableId:Un.toString(),isDropDisabled:!1,onRemove:c})]})})})})}const Tl=et(null);function iw(){const[e]=tt(Tl),[n,a]=g.useState(null),s=[{identifier:"credit.number",format:o=>t(Pe,{to:`/credits/${o.value}`,children:o.display_value})}];return g.useEffect(()=>{if(!e)return;const o=ce.cloneDeep(e);o.rows.map(i=>{i.map(r=>{const c=s.find(l=>l.identifier===r.identifier);c&&(r.display_value=c.format(r))})}),a(o)},[e]),n}function rw(){const e=iw(),[n,a]=g.useState(null),[s,o]=g.useState(),[i]=N();if(!e)return null;const r=(d,p)=>{const m=ce.cloneDeep(e);m.rows=m.rows.filter(h=>h.some(u=>{if(u.identifier!==d)return!1;if(typeof u.display_value=="number")return u.display_value.toString().toLowerCase().includes(p.toLowerCase());if(typeof u.display_value=="string")return u.display_value.toLowerCase().includes(p.toLowerCase());if(typeof u.display_value=="object")return u.display_value.props.children.toLowerCase().includes(p.toLowerCase())})),a(m)},c=d=>{const p=(s==null?void 0:s[d])==="asc"?"desc":"asc";o(h=>({...h,[d]:p}));const m=ce.cloneDeep(e);m.rows=m.rows.sort((h,u)=>{const v=h.find(w=>w.identifier===d),b=u.find(w=>w.identifier===d);if(v&&b)return p==="asc"?v.display_value>b.display_value?1:-1:v.display_value<b.display_value?1:-1}),a(m)},l=(n==null?void 0:n.rows)||e.rows,_=()=>{const d=[e.columns.map(b=>b.display_value).join(",")];(n?n.rows:e.rows).map(b=>{d.push(b.map(w=>w.display_value.toString()==="true"?"Yes":w.display_value.toString()==="false"?"No":`"${w.display_value}"`).join(","))});const m=d.join(`
`),h=new Blob([m],{type:"text/csv;charset=utf-8;"}),u=document.createElement("a"),v=URL.createObjectURL(h);u.setAttribute("href",v),u.setAttribute("download","example.csv"),u.click()};return e?f("div",{id:"preview-table my-4",children:[t("div",{className:"flex justify-end",children:f(te,{behavior:"button",onClick:_,children:[i("download")," ",i("csv_file")]})}),f(Ca,{children:[t(Ea,{children:e.columns.map((d,p)=>t(yt,{children:f("div",{onClick:()=>c(d.identifier),className:"cursor-pointer inline-flex items-center space-x-2",children:[t("p",{children:d.display_value})," ",t(e_,{})]})},p))}),f(Sa,{children:[t($t,{children:e.columns.map((d,p)=>t(Ye,{children:t(q,{onValueChange:m=>r(d.identifier,m)})},p))}),l.map((d,p)=>t($t,{children:d.map((m,h)=>t(Ye,{children:m.display_value},h))},p))]})]})]}):null}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const cw={last7:"last7_days",last30:"last30_days"};function lw(){const e=Ce(),{preferences:n}=ka(),a=Ie(yo);return(s,o)=>{let i=[];s.identifier in n.reports.columns&&o&&(i=wt(n.reports.columns[s.identifier][Un]).pluck("value").toArray()),a({...Ts,report_name:s.identifier,start_date:s.payload.start_date,end_date:s.payload.end_date,client_id:s.payload.client_id||"",date_range:cw[s.payload.date_range]||s.payload.date_range,send_email:!0,is_income_billed:s.payload.is_income_billed??!1,is_expense_billed:s.payload.is_expense_billed??!1,include_tax:s.payload.include_tax??!1,status:s.payload.status||"",product_key:s.payload.product_key||"",document_email_attachment:s.payload.document_email_attachment??!1,clients:s.payload.clients?s.payload.clients.split(","):[],vendors:s.payload.vendors||"",projects:s.payload.projects||"",categories:s.payload.categories||"",report_keys:i,include_deleted:s.payload.include_deleted??!1}),e("/settings/schedules/create?template=email_report")}}function Pl(e){const[n]=N(),a=me(),s=Ua(),{value:o,onValueChange:i,errorMessage:r}=e,[c,l]=g.useState(),{data:_}=Jc({status:["active"]});g.useEffect(()=>{_&&l(_.map(p=>({value:p.id,label:p.display_name,color:a.$3,backgroundColor:a.$1})))},[_]);const d=p=>p.map(m=>m.value).join(",");return f(F,{children:[c?t(x,{leftSide:n("clients"),children:t(Vn,{id:"clientItemSelector",placeholder:n("clients"),...o&&{value:c==null?void 0:c.filter(p=>o.split(",").find(m=>m===p.value))},onChange:p=>i(d(p)),options:c,isMulti:!0,styles:s})}):t("div",{className:"flex justify-center items-center",children:t(st,{})}),r&&t(it,{className:"mt-2",type:"danger",children:r})]})}function Al(e){const[n]=N(),a=me(),s=Ua(),{value:o,onValueChange:i,errorMessage:r}=e,[c,l]=g.useState(),{data:_}=Ti({status:["active"]});g.useEffect(()=>{_&&l(_.map(p=>({value:p.id,label:p.name,color:a.$3,backgroundColor:a.$1})))},[_]);const d=p=>p.map(m=>m.value).join(",");return f(F,{children:[c?t(x,{leftSide:n("expense_categories"),children:t(Vn,{id:"expenseCategoryItemSelector",placeholder:n("expense_categories"),...o&&{value:c==null?void 0:c.filter(p=>o.split(",").find(m=>m===p.value))},onChange:p=>i(d(p)),options:c,isMulti:!0,styles:s})}):t("div",{className:"flex justify-center items-center",children:t(st,{})}),r&&t(it,{className:"mt-2",type:"danger",children:r})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function AYe(e){const n=ot();return xe(["/api/v1/projects/create"],()=>$("GET",D("/api/v1/projects/create")).then(a=>a.data.data),{...e,staleTime:1/0,enabled:n("create_project")?(e==null?void 0:e.enabled)??!0:!1})}function NYe(e){return xe(["/api/v1/projects",e.id],()=>$("GET",D("/api/v1/projects/:id?include=client",{id:e.id})).then(n=>n.data.data),{staleTime:1/0})}function dw(e){return xe(["/api/v1/projects",e],()=>{var n;return $("GET",D("/api/v1/projects?status=:status",{status:((n=e==null?void 0:e.status)==null?void 0:n.join(","))??"all"})).then(a=>a.data.data)},{staleTime:1/0})}function Nl(e){const[n]=N(),a=me(),s=Ua(),{value:o,onValueChange:i,errorMessage:r}=e,[c,l]=g.useState(),{data:_}=dw({status:["active"]});g.useEffect(()=>{_&&l(_.map(p=>({value:p.id,label:p.name,color:a.$3,backgroundColor:a.$1})))},[_]);const d=p=>p.map(m=>m.value).join(",");return f(F,{children:[c?t(x,{leftSide:n("projects"),children:t(Vn,{id:"projectItemSelector",placeholder:n("projects"),...o&&{value:c==null?void 0:c.filter(p=>o.split(",").find(m=>m===p.value))},onChange:p=>i(d(p)),options:c,isMulti:!0,styles:s})}):t("div",{className:"flex justify-center items-center",children:t(st,{})}),r&&t(it,{className:"mt-2",type:"danger",children:r})]})}function Il(e){const[n]=N(),a=me(),s=Ua(),{value:o,onValueChange:i,errorMessage:r}=e,[c,l]=g.useState(),{data:_}=dv({});g.useEffect(()=>{_&&l(_.map(p=>({value:p.id,label:p.name,color:a.$3,backgroundColor:a.$1})))},[_]);const d=p=>p.map(m=>m.value).join(",");return f(F,{children:[c?t(x,{leftSide:n("vendors"),children:t(Vn,{id:"vendorItemSelector",placeholder:n("vendors"),...o&&{value:c==null?void 0:c.filter(p=>o.split(",").find(m=>m===p.value))},onChange:p=>i(d(p)),options:c,isMulti:!0,styles:s})}):t("div",{className:"flex justify-center items-center",children:t(st,{})}),r&&t(it,{className:"mt-2",type:"danger",children:r})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const _w={client:["document_email_attachment","include_deleted"],invoice:["document_email_attachment","status","include_deleted","client"],invoice_item:["document_email_attachment","product_key","include_deleted","status","client"],quote:["document_email_attachment","include_deleted","status","client"],quote_item:["document_email_attachment","include_deleted","status","client"],credit:["document_email_attachment","include_deleted","status","client"],document:["document_email_attachment"],payment:["document_email_attachment","status","client"],expense:["document_email_attachment","clients","vendors","projects","categories","include_deleted","status"],task:["document_email_attachment","include_deleted","status","client"],product:["document_email_attachment"],vendor:["document_email_attachment"],purchase_order:["document_email_attachment","include_deleted","status"],purchase_order_item:["document_email_attachment","include_deleted","status"],activity:[],contact:[],recurring_invoice:["include_deleted","status","client"],product_sales:["product_key","client"],aged_receivable_detailed_report:[],aged_receivable_summary_report:[],client_balance_report:[],client_sales_report:[],profitloss:["is_expense_billed","is_income_billed","include_tax"],tax_summary_report:[],user_sales_report:[]};function uw(e){const{report:n}=e;return a=>!!_w[n].includes(a)}function mw(e){const[n]=N(),a=bt();return t(F,{children:!vn()&&!Ct()&&t("div",{className:e==null?void 0:e.className,children:t(it,{className:"mb-4",type:"warning",disableClosing:!0,children:f("div",{className:"flex items-center justify-between",children:[f("p",{className:"inline-flex items-center space-x-1",children:[t(Ja,{fontSize:18}),f("span",{children:[n("start_free_trial_message"),"."]})]}),(a==null?void 0:a.company_user)&&t(Pe,{to:a.company_user.ninja_portal_url||U("/settings/account_management"),className:"ml-10",external:!0,children:n("plan_change")})]})})})})}const eo=[{identifier:"all",label:"all",scheduleIdentifier:"all"},{identifier:"last7",label:"last_7_days",scheduleIdentifier:"last7_days"},{identifier:"last30",label:"last_30_days",scheduleIdentifier:"last30_days"},{identifier:"this_month",label:"this_month",scheduleIdentifier:"this_month"},{identifier:"last_month",label:"last_month",scheduleIdentifier:"last_month"},{identifier:"this_quarter",label:"this_quarter",scheduleIdentifier:"this_quarter"},{identifier:"last_quarter",label:"last_quarter",scheduleIdentifier:"last_quarter"},{identifier:"this_year",label:"this_year",scheduleIdentifier:"this_year"},{identifier:"custom",label:"custom",scheduleIdentifier:"custom"}],pw=(e,n)=>{const a=new Blob([e],{type:"text/csv"}),s=URL.createObjectURL(a),o=document.createElement("a");o.download=`${n}.csv`,o.href=s,o.target="_blank",document.body.appendChild(o),o.click(),document.body.removeChild(o)};function hw(){var W,ee;const{documentTitle:e}=Se("reports"),{t:n}=N(),a=El(),s=Xe(),o=lw(),[i,r]=g.useState(a[0]),[c,l]=g.useState(!1),[_,d]=g.useState(),[p,m]=g.useState(!1),h=uw({report:i.identifier}),{save:u,preferences:v}=ka(),b=[{name:n("reports"),href:"/reports"}],w=V=>{const O=a.find(Y=>Y.identifier===V);m(!1),O&&r(O)},y=(V,O)=>{r(Y=>({...Y,payload:{...Y.payload,[V]:O}}))},k=V=>{const O=eo.find(Y=>Y.identifier===V);O&&r(Y=>({...Y,payload:{...Y.payload,date_range:O.identifier}}))},C=(V,O)=>{r(Y=>({...Y,payload:{...Y.payload,[V]:O}}))},S=V=>{r(O=>({...O,payload:{...O.payload,send_email:V}}))},E=()=>{T.processing(),l(!0),d(void 0);const{client_id:V}=i.payload;let O=i.identifier==="product_sales"?{...i.payload,client_id:V||null}:i.payload,Y=[];i.identifier in v.reports.columns&&p&&(Y=wt(v.reports.columns[i.identifier][Un]).pluck("value").toArray()),O={...O,report_keys:Y},$("POST",D(i.endpoint),O,{}).then(le=>{if(i.payload.send_email)return l(!1),T.success();const ne=le.data.message;s.fetchQuery({queryKey:["exports",ne],queryFn:()=>$("POST",D(`/api/v1/exports/preview/${ne}`)).then(Le=>Le.data),retry:50,retryDelay:2e3}).then(Le=>{pw(Le,i.identifier),T.success()}).catch(Le=>{console.error(Le),T.error()}).finally(()=>{l(!1)})}).catch(le=>{var ne;((ne=le.response)==null?void 0:ne.status)===422&&d(le.response.data),l(!1)}).finally(()=>{p&&u({silent:!0})})},[I,H]=tt(Tl),z=async()=>{d(void 0),H(null);const{client_id:V}=i.payload;let O=i.identifier==="product_sales"?{...i.payload,client_id:V||null}:i.payload,Y=[];i.identifier in v.reports.columns&&p&&(Y=wt(v.reports.columns[i.identifier][Un]).pluck("value").toArray()),O={...O,report_keys:Y},$("POST",D(i.preview),O,{}).then(le=>{const ne=le.data.message;s.fetchQuery({queryKey:["reports",ne],queryFn:()=>$("POST",D(`/api/v1/reports/preview/${ne}`)).then(Le=>Le.data),retry:10,retryDelay:5e3}).then(Le=>{const{columns:ze,...G}=Le;H({columns:ze,rows:Object.values(G)}),T.success()})})};g.useEffect(()=>()=>{s.cancelQueries(["reports"]),T.dismiss(),H(null)},[]);const j=me();return f(cs,{title:e,breadcrumbs:b,onSaveClick:E,saveButtonLabel:n("export"),disableSaveButton:c||!vn()&&!Ct(),navigationTopRight:f(Sn,{label:n("more_actions"),disabled:!vn()&&!Ct(),children:[i.supports_previews&&t(M,{icon:t(L,{element:t_}),onClick:z,children:n("preview")}),t(M,{icon:t(L,{element:ei}),onClick:()=>o(i,p),children:n("schedule")})]}),children:[t(mw,{}),f("div",{className:"grid grid-cols-12 gap-4",style:{color:j.$3,colorScheme:j.$0,backgroundColor:j.$1,borderColor:j.$4},children:[f(Z,{className:"col-span-6 h-max",children:[t(x,{leftSide:n("report"),children:t(se,{onValueChange:V=>{w(V),H(null)},value:i.identifier,cypressRef:"reportNameSelector",children:a.map((V,O)=>t("option",{value:V.identifier,children:n(V.label)},O))})}),t(x,{leftSide:n("send_email"),children:t(B,{style:{color:j.$3,colorScheme:j.$0,backgroundColor:j.$1,borderColor:j.$4},checked:i.payload.send_email,onValueChange:S})}),h("document_email_attachment")&&t(x,{leftSide:n("document_email_attachment"),children:t(B,{style:{color:j.$3,colorScheme:j.$0,backgroundColor:j.$1,borderColor:j.$4},checked:i.payload.document_email_attachment,onValueChange:V=>y("document_email_attachment",V),cypressRef:"scheduleDocumentEmailAttachment"})}),h("is_expense_billed")&&t(x,{leftSide:n("expense_paid_report"),children:t(B,{style:{color:j.$3,colorScheme:j.$0,backgroundColor:j.$1,borderColor:j.$4},checked:i.payload.is_expense_billed,onValueChange:V=>y("is_expense_billed",V),cypressRef:"expenseBilled"})}),h("is_income_billed")&&t(x,{leftSide:n("cash_vs_accrual"),children:t(B,{style:{color:j.$3,colorScheme:j.$0,backgroundColor:j.$1,borderColor:j.$4},checked:i.payload.is_income_billed,onValueChange:V=>y("is_income_billed",V),cypressRef:"incomeBilled"})}),h("include_tax")&&t(x,{leftSide:n("include_tax"),children:t(B,{style:{color:j.$3,colorScheme:j.$0,backgroundColor:j.$1,borderColor:j.$4},checked:i.payload.include_tax,onValueChange:V=>y("include_tax",V),cypressRef:"includeTax"})}),h("include_deleted")&&t(x,{leftSide:n("include_deleted"),leftSideHelp:n("include_deleted_help"),children:t(B,{style:{color:j.$3,colorScheme:j.$0,backgroundColor:j.$1,borderColor:j.$4},checked:i.payload.include_deleted,onValueChange:V=>y("include_deleted",V),cypressRef:"includeDeleted"})}),h("status")&&t(x,{leftSide:n("status"),className:"mb-50 py-50",children:t(Sl,{report:i.identifier,onValueChange:V=>y("status",V)})}),h("product_key")&&t(nl,{onValueChange:V=>y("product_key",V)}),h("clients")&&t(Pl,{value:i.payload.clients,onValueChange:V=>y("clients",V)}),h("vendors")&&t(Il,{value:i.payload.vendors,onValueChange:V=>y("vendors",V)}),h("projects")&&t(Nl,{value:i.payload.projects,onValueChange:V=>y("projects",V)}),h("categories")&&t(Al,{value:i.payload.categories,onValueChange:V=>y("categories",V)})]}),f(Z,{className:"col-span-6 h-max",children:[t(x,{leftSide:n("range"),children:t(se,{style:{color:j.$3,colorScheme:j.$0,backgroundColor:j.$1},onValueChange:V=>k(V),value:i.payload.date_range,cypressRef:"reportDateRange",children:eo.map((V,O)=>t("option",{value:V.identifier,children:n(V.label)},O))})}),i.payload.date_range==="custom"&&t(x,{leftSide:n("start_date"),children:t(q,{type:"date",value:i.payload.start_date,onValueChange:V=>C("start_date",V),errorMessage:(W=_==null?void 0:_.errors)==null?void 0:W.start_date,cypressRef:"reportStartDate"})}),i.payload.date_range==="custom"&&t(x,{leftSide:n("end_date"),children:t(q,{style:{color:j.$3,colorScheme:j.$0,backgroundColor:j.$1,borderColor:j.$4},type:"date",value:i.payload.end_date,onValueChange:V=>C("end_date",V),errorMessage:(ee=_==null?void 0:_.errors)==null?void 0:ee.end_date,cypressRef:"reportEndDate"})}),h("client")&&t(x,{leftSide:n("client"),children:t(vo,{value:i.payload.client_id,onChange:V=>y("client_id",V.id),clearButton:!0,onClearButtonClick:()=>y("client_id",""),withoutAction:!0})}),i.allow_custom_column&&t(x,{leftSide:`${n("customize")} ${n("columns")}`,children:t(B,{style:{color:j.$3,colorScheme:j.$0,backgroundColor:j.$1,borderColor:j.$4},checked:p,onValueChange:V=>m(!!V)})})]})]}),p&&t(ow,{report:i.identifier,columns:i.custom_columns}),I&&t(rw,{})]})}const fw=Object.freeze(Object.defineProperty({__proto__:null,default:hw,ranges:eo},Symbol.toStringTag,{value:"Module"})),Mt=["send_email","range","start_date","end_date"],Dl={invoice:[...Mt,"status","document_email_attachment","report_keys","include_deleted","client"],invoice_item:[...Mt,"products","document_email_attachment","report_keys","status","include_deleted","client"],product_sales:[...Mt,"products","client"],profitloss:[...Mt,"expense_billed","income_billed","include_tax"],client:[...Mt,"document_email_attachment","report_keys","include_deleted"],contact:[...Mt,"report_keys"],recurring_invoice:[...Mt,"report_keys","status","include_deleted","client"],quote:[...Mt,"document_email_attachment","report_keys","status","include_deleted","client"],quote_item:[...Mt,"document_email_attachment","report_keys","status","include_deleted","client"],credit:[...Mt,"document_email_attachment","report_keys","include_deleted","status","client"],document:[...Mt,"document_email_attachment"],payment:[...Mt,"document_email_attachment","report_keys","status","client"],expense:[...Mt,"document_email_attachment","clients","vendors","projects","categories","report_keys","status","include_deleted"],task:[...Mt,"document_email_attachment","report_keys","status","include_deleted","client"],product:[...Mt,"document_email_attachment"],vendor:[...Mt,"document_email_attachment","report_keys"],purchase_order:[...Mt,"document_email_attachment","report_keys","status","include_deleted"],purchase_order_item:[...Mt,"document_email_attachment","report_keys","status","include_deleted"]};function gw(e){const[n]=N(),a=El(),{schedule:s,handleChange:o,errors:i}=e,r=c=>(Dl[s.parameters.report_name]||Mt).includes(c);return f(F,{children:[t(x,{leftSide:n("report"),children:t(se,{value:s.parameters.report_name,onValueChange:c=>o("parameters.report_name",c),errorMessage:i==null?void 0:i.errors["parameters.report_name"],cypressRef:"scheduleReportName",children:a.map((c,l)=>t("option",{value:c.schedule_identifier||c.identifier,children:n(c.label)},l))})}),r("send_email")&&t(x,{leftSide:n("send_email"),children:t(B,{checked:s.parameters.send_email,onValueChange:c=>o("parameters.send_email",c),disabled:!0,cypressRef:"scheduleSendEmail"})}),r("document_email_attachment")&&t(x,{leftSide:n("document_email_attachment"),children:t(B,{checked:s.parameters.document_email_attachment,onValueChange:c=>o("parameters.document_email_attachment",c),cypressRef:"scheduleDocumentEmailAttachment"})}),r("expense_billed")&&t(x,{leftSide:n("expense_paid_report"),children:t(B,{checked:s.parameters.is_expense_billed,onValueChange:c=>o("parameters.is_expense_billed",c),cypressRef:"expenseBilled"})}),r("income_billed")&&t(x,{leftSide:n("cash_vs_accrual"),children:t(B,{checked:s.parameters.is_income_billed,onValueChange:c=>o("parameters.is_income_billed",c),cypressRef:"incomeBilled"})}),r("include_tax")&&t(x,{leftSide:n("include_tax"),children:t(B,{checked:s.parameters.include_tax,onValueChange:c=>o("parameters.include_tax",c),cypressRef:"includeTax"})}),r("include_deleted")&&t(x,{leftSide:n("include_deleted"),leftSideHelp:n("include_deleted_help"),children:t(B,{checked:s.parameters.include_deleted,onValueChange:c=>o("parameters.include_deleted",c),cypressRef:"includeDeleted"})}),r("status")&&t(x,{leftSide:n("status"),children:t(Sl,{report:s.parameters.report_name,value:s.parameters.status,onValueChange:c=>o("parameters.status",c),errorMessage:i==null?void 0:i.errors["parameters.status"]})}),r("products")&&t(nl,{value:s.parameters.product_key,onValueChange:c=>o("parameters.product_key",c),errorMessage:i==null?void 0:i.errors["parameters.product_key"]}),r("range")&&t(x,{leftSide:n("range"),children:t(se,{value:s.parameters.date_range,onValueChange:c=>o("parameters.date_range",c),errorMessage:i==null?void 0:i.errors["parameters.date_range"],cypressRef:"scheduleDateRange",children:eo.map((c,l)=>t("option",{value:c.scheduleIdentifier,children:n(c.label)},l))})}),r("range")&&s.parameters.date_range==="custom"&&f(F,{children:[t(x,{leftSide:n("start_date"),children:t(q,{type:"date",value:s.parameters.start_date,onValueChange:c=>o("parameters.start_date",c),errorMessage:i==null?void 0:i.errors["parameters.start_date"],cypressRef:"scheduleStartDate"})}),t(x,{leftSide:n("end_date"),children:t(q,{type:"date",value:s.parameters.end_date,onValueChange:c=>o("parameters.end_date",c),errorMessage:i==null?void 0:i.errors["parameters.end_date"],cypressRef:"scheduleEndDate"})})]}),r("client")&&t(x,{leftSide:n("client"),children:t(vo,{value:s.parameters.client_id,onChange:c=>o("parameters.client_id",c.id),clearButton:!0,onClearButtonClick:()=>o("parameters.client_id",""),withoutAction:!0,errorMessage:i==null?void 0:i.errors["parameters.client_id"]})}),r("clients")&&t(Pl,{value:s.parameters.clients.join(","),onValueChange:c=>{const l={...s.parameters};l.clients=c?[...c.split(",")]:[],o("parameters",l)},errorMessage:i==null?void 0:i.errors["parameters.clients"]}),r("vendors")&&t(Il,{value:s.parameters.vendors,onValueChange:c=>o("parameters.vendors",c),errorMessage:i==null?void 0:i.errors["parameters.vendors"]}),r("projects")&&t(Nl,{value:s.parameters.projects,onValueChange:c=>o("parameters.projects",c),errorMessage:i==null?void 0:i.errors["parameters.projects"]}),r("categories")&&t(Al,{value:s.parameters.categories,onValueChange:c=>o("parameters.categories",c),errorMessage:i==null?void 0:i.errors["parameters.categories"]})]})}var Wo=(e=>(e.EMAIL_STATEMENT="email_statement",e.EMAIL_RECORD="email_record",e.EMAIL_REPORT="email_report",e))(Wo||{});function $l(e){const[n]=N(),{schedule:a,handleChange:s,errors:o,page:i}=e,r=ty({template:a.template});return f(Z,{title:n(i==="edit"?"edit_schedule":"new_schedule"),children:[r("template")&&t(x,{leftSide:n("template"),required:!0,children:f(se,{value:a.template,onValueChange:c=>s("template",c),errorMessage:o==null?void 0:o.errors.template,children:[t("option",{value:"email_statement",children:n("email_statement")}),t("option",{value:"email_record",children:n("email_record")}),t("option",{value:"email_report",children:n("email_report")})]})}),r("next_run")&&t(x,{leftSide:n("next_run"),required:!0,children:t(q,{type:"date",value:a.next_run,onValueChange:c=>s("next_run",c),errorMessage:o==null?void 0:o.errors.next_run})}),r("frequency")&&t(x,{leftSide:n("frequency"),children:t(se,{value:a.frequency_id,onValueChange:c=>s("frequency_id",c),errorMessage:o==null?void 0:o.errors.frequency_id,children:Object.keys(Oa).map((c,l)=>t("option",{value:c,children:n(Oa[c])},l))})}),r("remaining_cycles")&&t(x,{leftSide:n("remaining_cycles"),children:f(se,{value:a.remaining_cycles,onValueChange:c=>s("remaining_cycles",parseInt(c)),errorMessage:o==null?void 0:o.errors.remaining_cycles,children:[t("option",{value:"-1",children:n("endless")}),[...Array(60).keys()].map((c,l)=>t("option",{value:c,children:c},l))]})}),a.template&&t(ye,{}),a.template==="email_statement"&&t(Jv,{schedule:a,handleChange:s,errors:o,page:i}),a.template==="email_record"&&t(Zv,{schedule:a,handleChange:s,errors:o}),a.template==="email_report"&&t(gw,{schedule:a,handleChange:s,errors:o})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function vw(){const[e]=N();return[{id:"name",label:e("name"),format:(a,s)=>s.template===Wo.EMAIL_RECORD?`${e(s.template)}: ${e(s.parameters.entity)}`:s.template===Wo.EMAIL_REPORT?`${e(s.template)}: ${e(s.parameters.report_name)} | ${e(s.parameters.date_range)}`:`${e(s.template)}: ${e(s.parameters.date_range)}`},{id:"next_run",label:e("next_run")},{id:"frequency_id",label:e("frequency"),format:a=>e(Oa[a])}]}function yw(){const{documentTitle:e}=Se("schedules"),[n]=N(),a=vw(),s=[{name:n("settings"),href:"/settings"},{name:n("schedules"),href:"/settings/schedules"}];return t(Ve,{title:e,docsLink:"en/advanced-settings/#schedules",breadcrumbs:s,children:t(wn,{resource:"schedule",endpoint:"/api/v1/task_schedulers?sort=id|desc",bulkRoute:"/api/v1/task_schedulers/bulk",columns:a,linkToCreate:"/settings/schedules/create",linkToEdit:"/settings/schedules/:id/edit",withResourcefulActions:!0})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const bw={range:"date_range",expense_billed:"is_expense_billed",income_billed:"is_income_billed",products:"product_key",client:"client_id"};function ww(e){const{schedule:n}=e;return{email_statement:["date_range","status","show_aging_table","show_credits_table","show_payments_table","only_clients_with_invoices","clients"],email_record:["entity","entity_id"],email_report:["report_name",...(()=>{if(n){let o=(Dl[n.parameters.report_name]||Mt).map(i=>bw[i]||i);return n.parameters.date_range!=="custom"&&(o=o.filter(i=>i!=="start_date"&&i!=="end_date")),o}return[]})()]}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const kw={email_statement:["template","next_run","frequency_id","remaining_cycles","parameters"],email_record:["template","next_run","parameters"],email_report:["template","next_run","frequency_id","remaining_cycles","parameters"]},xw=["vendors","projects","categories"];function Rl(e){const{schedule:n}=e,a=ww({schedule:n});return()=>{if(n){let s={};const o=kw[n.template],i=a[n.template];return Object.entries(n.parameters).forEach(([r])=>{i.includes(r)||delete n.parameters[r]}),Object.entries(n).forEach(([r,c])=>{o.includes(r)&&(s={...s,[r]:c})}),Object.entries(n.parameters).forEach(([r,c])=>{xw.includes(r)&&(s={...s,parameters:{...s.parameters,[r]:c||""}})}),s}}}function Cw(){const{documentTitle:e}=Se("new_schedule"),[n]=N(),a=Ce(),[s]=As(),o=Yn(),i=[{name:n("settings"),href:"/settings"},{name:n("schedules"),href:"/settings/schedules"},{name:n("new_schedule"),href:"/settings/schedules/create"}],{data:r}=il(),[c,l]=g.useState(),[_,d]=g.useState(),[p,m]=tt(yo),[h,u]=g.useState(!1),v=rl({setErrors:d,setSchedule:l,schedule:c}),b=Rl({schedule:c});return g.useEffect(()=>{r&&l(()=>{let y=p;return s.get("template")||(y=void 0,m(void 0)),{...r,template:s.get("template")||"email_statement",frequency_id:en.Monthly,remaining_cycles:-1,parameters:y||{...Ts}}})},[r]),f(Ve,{title:e,breadcrumbs:i,disableSaveButton:h||!c||o,onSaveClick:()=>{!h&&c&&(u(!0),d(void 0),T.processing(),$("POST",D("/api/v1/task_schedulers"),b()).then(y=>{T.success("created_schedule"),ie(["task_schedulers"]),a(U("/settings/schedules/:id/edit",{id:y.data.data.id}))}).catch(y=>{var k;((k=y.response)==null?void 0:k.status)===422&&(d(y.response.data),T.dismiss())}).finally(()=>u(!1)))},children:[o&&t(Fn,{}),c?t($l,{schedule:c,handleChange:v,errors:_}):t(st,{})]})}function Sw(){const[e]=N(),n=xy();return[s=>Me(s)===Re.Active&&t(M,{onClick:()=>n([s.id],"archive"),icon:t(L,{element:Rt}),children:e("archive")}),s=>(Me(s)===Re.Archived||Me(s)===Re.Deleted)&&t(M,{onClick:()=>n([s.id],"restore"),icon:t(L,{element:Vt}),children:e("restore")}),s=>(Me(s)===Re.Active||Me(s)===Re.Archived)&&t(M,{onClick:()=>n([s.id],"delete"),icon:t(L,{element:kt}),children:e("delete")})]}function Ew(){const{documentTitle:e}=Se("edit_schedule"),[n]=N(),{id:a}=xt(),s=Sw(),o=Yn(),i=[{name:n("settings"),href:"/settings"},{name:n("schedules"),href:"/settings/schedules"},{name:n("edit_schedule"),href:U("/settings/schedules/:id/edit")}],{data:r}=ky({id:a}),[c,l]=g.useState(),[_,d]=g.useState(),[p,m]=g.useState(!1),h=rl({setErrors:d,setSchedule:l,schedule:c}),u=Rl({schedule:c}),v=()=>{!p&&c&&(m(!0),d(void 0),T.processing(),$("PUT",D("/api/v1/task_schedulers/:id",{id:a}),u()).then(()=>{T.success("updated_schedule"),ie(["task_schedulers"])}).catch(b=>{var w;((w=b.response)==null?void 0:w.status)===422&&(d(b.response.data),T.dismiss())}).finally(()=>m(!1)))};return g.useEffect(()=>{r&&l(r)},[r]),f(Ve,{title:e,breadcrumbs:i,navigationTopRight:c&&t(oa,{resource:c,onSaveClick:v,actions:s,disableSaveButton:p||!c||o}),children:[o&&t(Fn,{}),c?t($l,{schedule:c,handleChange:h,errors:_,page:"edit"}):t(st,{})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Tw(){const{t:e}=N();return[{name:e("backup"),href:"/settings/backup_restore"},{name:e("restore"),href:"/settings/backup_restore/restore"}]}function Pw(){const[e]=N(),n=Tw(),a=[{name:e("settings"),href:"/settings"},{name:e("backup_restore"),href:"/settings/backup_restore"}];return f(Ve,{title:e("backup_restore"),breadcrumbs:a,children:[t(wa,{tabs:n,className:"mt-6"}),t("div",{className:"my-4",children:t(on,{})})]})}function Aw(e){const[n]=N(),{data:a}=pc(),[s,o]=g.useState(!1),[i,r]=g.useState(),[c,l]=g.useState(),_=Bc(c,r,o,s,e.setIsModalOpen,e.onCreatedBankAccount),d=(h,u)=>{l(v=>v&&{...v,[h]:u})},p=()=>{s||e.setIsModalOpen(!1)};g.useEffect(()=>{a&&l(a)},[a]);const m=me();return f(Fe,{title:n("new_bank_account"),visible:e.isModalOpen,onClose:p,children:[t(q,{style:{color:m.$3,colorScheme:m.$0},label:n("name"),value:c==null?void 0:c.bank_account_name,onValueChange:h=>d("bank_account_name",h),errorMessage:i==null?void 0:i.errors.bank_account_name}),t("div",{className:"flex justify-end",children:t(te,{onClick:_,style:{color:m.$3,colorScheme:m.$0},children:n("save")})})]})}function Nw(e){var r;const[n]=N(),[a,s]=g.useState(!1),{isAdmin:o,isOwner:i}=Je();return f(F,{children:[t(Aw,{isModalOpen:a,setIsModalOpen:s,onCreatedBankAccount:c=>e.onChange(c)}),t(sn,{endpoint:D("/api/v1/bank_integrations?status=active"),onChange:c=>c.resource&&e.onChange(c.resource),inputOptions:{label:(r=e.inputLabel)==null?void 0:r.toString(),value:e.value||null},entryOptions:{id:"id",label:"bank_account_name",value:"id"},action:{label:n("new_bank_account"),onClick:()=>s(!0),visible:o||i},readonly:e.readonly,onDismiss:e.onClearButtonClick,sortBy:"bank_account_name|desc",staleTime:e.staleTime,errorMessage:e.errorMessage})]})}function Iw(e){const[n]=N(),a=Ae(),s=Ce(),{onImport:o,importMap:i,entity:r}=e,c=Vs(),l=Et(),[_,d]=g.useState(!1),[p,m]=g.useState(!1),[h,u]=g.useState(!1),[v,b]=g.useState(""),w=()=>{b(""),d(!1)},y=()=>{var I,H;if(!((I=l==null?void 0:l.import_templates)!=null&&I[r]))return!0;if(!Object.keys(i.column_map).length)return!1;let E=!1;return Object.values((H=l==null?void 0:l.import_templates)==null?void 0:H[r]).forEach(z=>{var j,W;ce.isEqual(Object.values(z).map(ee=>ee||""),Object.values((W=(j=i.column_map)==null?void 0:j[r])==null?void 0:W.mapping).map(ee=>ee||""))&&(E=!0)}),!E},k=()=>{var I,H;if(!((I=l==null?void 0:l.import_templates)!=null&&I[r]))return!1;let E=!1;return Object.keys((H=l==null?void 0:l.import_templates)==null?void 0:H[r]).forEach(z=>{z===v&&(E=!0)}),E},C=()=>{var E,I,H,z;if(!h&&v){T.processing(),u(!0);const j=ce.cloneDeep(c);if(j){const W=ce.cloneDeep((I=(E=j.company_user)==null?void 0:E.react_settings.import_templates)==null?void 0:I[e.entity])||{},ee={};Array.isArray(W)||Object.entries(W).forEach(([V,O])=>{!V||!O||!Array.isArray(O)||(ee[V]=O)}),ee[v]=Object.values((z=(H=i.column_map)==null?void 0:H[e.entity])==null?void 0:z.mapping).map(V=>V||""),ce.set(j,`company_user.react_settings.import_templates.${e.entity}`,ee),$("PUT",D("/api/v1/company_users/:id",{id:j.id}),j).then(V=>{T.success("updated_settings"),ce.set(j,"company_user",V.data.data),ie(["company_users"]),a(ea(j)),w(),s(`/${r}s`)}).finally(()=>u(!1))}}};return f(F,{children:[t(te,{className:"flex float-right",behavior:"button",onClick:()=>{var E;(E=o())==null||E.then(()=>y()?m(!0):s(`/${r}s`))},children:n("import")}),f(Fe,{title:n("save_as_template"),visible:_,onClose:w,children:[t(q,{label:n("name"),value:v,onValueChange:E=>b(E),changeOverride:!0}),t(te,{behavior:"button",onClick:C,disabled:!v||k()||h,disableWithoutIcon:!0,children:n("save")})]}),f(Fe,{title:n("save_as_template"),visible:p,onClose:()=>{m(!1),s(`/${r}s`)},children:[t("span",{className:"font-medium text-base",children:n("save_template_body")}),f("div",{className:"flex justify-between",children:[t(te,{behavior:"button",type:"secondary",onClick:()=>{m(!1),s(`/${r}s`)},children:n("no")}),t(te,{behavior:"button",onClick:()=>d(!0),children:n("yes")})]})]})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Dw(e){var i,r;const n=Et(),{entity:a}=e,s=Object.keys(((i=n==null?void 0:n.import_templates)==null?void 0:i[a])||{}).length,o=Object.keys(((r=n==null?void 0:n.import_templates)==null?void 0:r[a])||{});return{numberOfTemplates:s,templates:o}}function $w(e){const n=Ae(),{name:a,entity:s,onDeletedTemplate:o}=e,i=Vs(),[r,c]=g.useState(!1),l=()=>{var _,d,p,m,h,u,v,b,w,y,k,C,S;if(!r){T.processing(),c(!0);const E=ce.cloneDeep(i);E&&(Object.keys(((p=(d=(_=E==null?void 0:E.company_user)==null?void 0:_.react_settings)==null?void 0:d.import_templates)==null?void 0:p[s])||{}).length>1?(u=(h=(m=E==null?void 0:E.company_user)==null?void 0:m.react_settings)==null?void 0:h.import_templates)==null||delete u[s][a]:Object.keys(((b=(v=E==null?void 0:E.company_user)==null?void 0:v.react_settings)==null?void 0:b.import_templates)||{}).length>1?(k=(y=(w=E==null?void 0:E.company_user)==null?void 0:w.react_settings)==null?void 0:y.import_templates)==null||delete k[s]:(S=(C=E==null?void 0:E.company_user)==null?void 0:C.react_settings)==null||delete S.import_templates,$("PUT",D("/api/v1/company_users/:id",{id:E.id}),E).then(H=>{T.success("updated_settings"),ce.set(E,"company_user",H.data.data),ie(["company_users"]),n(ea(E)),o()}).finally(()=>c(!1)))}};return t(x,{children:f("div",{className:"flex items-center space-x-10",children:[t("span",{className:"font-medium",children:a}),t("div",{className:oe({"cursor-pointer":!r,"cursor-not-allowed":r}),onClick:()=>!r&&l(),children:t(L,{element:kt,size:22})})]})})}function Vl(e){const[n]=N(),a=e.type==="zip",s={...!a&&{"text/*":[".csv"]},...a&&{"application/zip":[".zip"]}},o=me(),i=Et(),{numberOfTemplates:r,templates:c}=Dw({entity:e.entity}),[l,_]=g.useState(!1),[d,p]=g.useState(!1),[m,h]=g.useState(new FormData),[u,v]=g.useState([]),[b,w]=g.useState(),[y,k]=g.useState({hash:"",import_type:e.type,skip_header:!0,column_map:{[e.entity]:{mapping:{}}}}),[C,S]=g.useState(),[E,I]=g.useState(""),[H,z]=g.useState({}),j=_e=>{y.column_map[e.entity].mapping[_e.target.id]=_e.target.value,k({...y}),I("")},W=()=>{var Ee,Ne;const _e={};Object.entries(((Ne=(Ee=i==null?void 0:i.import_templates)==null?void 0:Ee[e.entity])==null?void 0:Ne[E])||{}).forEach(([Ue,mt])=>{_e[Ue]=mt||""}),k(Ue=>({...Ue,column_map:{[e.entity]:{mapping:_e}}}))},ee=()=>{I(""),k(_e=>({..._e,column_map:{[e.entity]:{mapping:{...H}}}}))},V=_e=>{const Ee=_e.split(".");let Ne=Ee[1];return Ee[1]=="user_id"&&(Ne="user"),Ee[1]=="shipping_country_id"&&(Ne="shipping_country"),`${n(Ee[0])} - ${n(Ne)}`},O=()=>{if(!u.length&&a){T.error("select_file");return}T.processing(),S(void 0);let _e="/api/v1/import",Ee={};if(a)if(!l&&!d){T.error("settings_or_data");return}else _e="/api/v1/import_json?",l&&(_e+="&import_settings=:import_settings",Ee={import_settings:!0}),d&&(_e+="&import_data=:import_data",Ee={...Ee,import_data:!0});else y.hash=b.hash;const Ne=a?m:y;return $("POST",D(_e,Ee),Ne).then(Ue=>{var mt,Gt;T.success(((mt=Ue==null?void 0:Ue.data)==null?void 0:mt.message)??"error_title"),(Gt=e.onFileImported)==null||Gt.call(e),e.onSuccess}).catch(Ue=>{var mt;((mt=Ue.response)==null?void 0:mt.status)===422&&(T.dismiss(),S(Ue.response.data))})},Y=_e=>{y.column_map[e.entity].mapping[_e]&&(y.column_map[e.entity].mapping[_e]="",I(""),k({...y}))},le=On({enableReinitialize:!0,initialValues:{},onSubmit:()=>{T.processing(),S(void 0),$("POST",D("/api/v1/preimport"),m).then(_e=>{var Ee,Ne,Ue,mt;w(_e.data),e.onSuccess,T.dismiss(),(Ne=(Ee=_e.data)==null?void 0:Ee.mappings[e.entity])!=null&&Ne.hints&&((mt=(Ue=_e.data)==null?void 0:Ue.mappings[e.entity])==null||mt.hints.forEach((Gt,Wt)=>{var Bn,Kt,Jt;y.column_map[e.entity].mapping[Wt]=((Bn=_e.data)==null?void 0:Bn.mappings[e.entity].available[Gt])??"",k(y),z({...(Jt=(Kt=y==null?void 0:y.column_map)==null?void 0:Kt[e.entity])==null?void 0:Jt.mapping})})),I("")}).catch(_e=>{var Ee;((Ee=_e.response)==null?void 0:Ee.status)===422&&(T.dismiss(),S(_e.response.data))})}}),ne=()=>{u.forEach(_e=>{m.append("files",_e)}),h(m)},Le=_e=>{var Ee,Ne;return Object.keys((Ee=y==null?void 0:y.column_map[e.entity])==null?void 0:Ee.mapping).length?((Ne=y==null?void 0:y.column_map[e.entity])==null?void 0:Ne.mapping[_e])??null:null},ze=_e=>{const Ee=u.filter((Ue,mt)=>_e!==mt),Ne=new FormData;Ee.forEach(Ue=>{Ne.append("files",Ue)}),v(Ee),h(Ne)},G=_e=>new Promise(Ee=>{try{const Ne=new FileReader;Ne.onload=Ue=>{var Wt;const Gt=(((Wt=Ue.target)==null?void 0:Wt.result)||"").split(`
`);!Gt.length||Gt.length===1||Gt.length===2&&!Gt[1]?Ee(!1):Ee(!0)},Ne.readAsText(_e)}catch{Ee(!1)}}),ge=async _e=>{for(let Ee=0;Ee<_e.length;Ee++)if(!await G(_e[Ee]))return!1;return!0},{getRootProps:qe,getInputProps:Pt,isDragActive:Tt}=Ds({accept:s,onDrop:async _e=>{await ge(_e)?_e.every(({type:Ue})=>Ue.includes(e.type))?(await Promise.all(_e.map(async Ue=>{if(a)v(mt=>[...mt,Ue]);else{const mt=await Ue.arrayBuffer(),Wt=new TextDecoder().decode(mt),Kt=new TextEncoder().encode(Wt),Jt=new File([Kt],Ue.name,{type:Ue.type});Ue.path&&Object.defineProperty(Jt,"path",{value:Ue.path,writable:!1,enumerable:!0,configurable:!0}),m.append(`files[${e.entity}]`,Jt)}})),a||(m.append("import_type",e.entity),le.submitForm(),h(m))):T.error("wrong_file_extension"):T.error("csv_rows_length")}});g.useEffect(()=>{ne()},[u]),g.useEffect(()=>{E&&W()},[E]),g.useEffect(()=>()=>I(""),[]);const pe=rt(),vt=()=>{e.exampleUrl&&window.open(e.exampleUrl,"_blank")};return f(F,{children:[f(Z,{title:n(e.entity),children:[f(x,{leftSide:n(a?"company_backup_file":"csv_file"),leftSideHelp:a&&n("company_backup_file_help"),children:[e.exampleUrl?t("button",{type:"button",style:{color:pe},className:"inline-flex items-center space-x-1 mb-4",onClick:vt,children:t("span",{children:n("download_example_file")})}):null,u.length?t("ul",{className:"grid xs:grid-rows-6 lg:grid-cols-2",children:u.map((_e,Ee)=>f("li",{className:"flex items-center hover:bg-gray-50 cursor-pointer p-2",children:[_e.name," - ",(_e.size/1024).toPrecision(2)," KB"," ",t(Hn,{fontSize:15,className:"cursor-pointer ml-3",onClick:()=>ze(Ee)})]},Ee))}):f("div",{...qe(),className:"flex flex-col md:flex-row md:items-center",children:[f("div",{className:"relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",children:[t("input",{...Pt()}),t(qa,{className:"mx-auto h-12 w-12",style:{color:o.$3,colorScheme:o.$0}}),t("span",{className:"mt-2 block text-sm font-medium",style:{color:o.$3,colorScheme:o.$0},children:n(Tt?"drop_file_here":"dropzone_default_message")})]}),C&&Object.keys(C.errors).map((_e,Ee)=>t(it,{type:"danger",children:C.errors[_e]},Ee))]}),e.postWidgetSlot??null]}),a&&f(F,{children:[t(x,{leftSide:n("import_settings"),children:t(B,{checked:l,onValueChange:_e=>_(_e)})}),t(x,{leftSide:n("import_data"),children:t(B,{checked:d,onValueChange:_e=>p(_e)})}),t("div",{className:"flex justify-end pr-5",children:t(te,{behavior:"button",onClick:O,disableWithoutIcon:!0,disabled:!l&&!d||!u.length,children:n("import")})})]})]}),b&&!a&&!!r&&f(Z,{className:"mt-4",children:[t(x,{leftSide:n("template"),children:t(se,{value:E,onValueChange:_e=>{I(_e),_e||k(Ee=>({...Ee,column_map:{[e.entity]:{mapping:{...H}}}}))},withBlank:!0,children:c.filter(_e=>_e).map((_e,Ee)=>t("option",{value:_e,children:_e},Ee))})}),E&&t($w,{name:E,entity:e.entity,onDeletedTemplate:ee})]}),b&&!a&&f(Ca,{children:[f(Ea,{children:[t(yt,{children:n("header")}),t(yt,{children:n("columns")})]}),f(Sa,{children:[b.mappings[e.entity].headers[0].map((_e,Ee)=>f($t,{children:[f(Ye,{className:"space-x-2",children:[t("span",{children:_e}),t("span",{className:"text-gray-400",children:b.mappings[e.entity].headers[1][Ee].substring(0,20)})]}),t(Ye,{children:f("div",{className:"flex items-center space-x-2",children:[t("div",{className:"flex-1",children:t(se,{id:Ee,value:Le(Ee),onChange:j,withBlank:!0,children:b.mappings[e.entity].available.map((Ne,Ue)=>t("option",{value:Ne,children:V(Ne)},Ue))})}),t(L,{className:"cursor-pointer",element:Hn,size:24,onClick:()=>Y(Ee)})]})})]},Ee)),e.entity==="bank_transaction"&&f($t,{children:[t(Ye,{className:"space-x-2",children:t("span",{children:n("bank_account")})}),t(Ye,{colSpan:2,children:t(Nw,{value:y.bank_integration_id,onChange:_e=>k(Ee=>({...Ee,bank_integration_id:_e==null?void 0:_e.id})),onClearButtonClick:()=>k(_e=>({..._e,bank_integration_id:""})),errorMessage:C==null?void 0:C.errors.bank_integration_id})})]}),t($t,{children:t(Ye,{colSpan:2,children:t(Iw,{entity:e.entity,importMap:y,onImport:O})})})]})]})]})}function Rw(){const[e]=N(),[n,a]=g.useState(!1);return t("div",{className:"grid grid-cols-12",children:t("div",{className:"col-span-12",children:n?t(Z,{title:e("restore"),children:t("span",{className:"text-gray-600 pl-6",children:e("import_started")})}):t(Vl,{entity:"company",onSuccess:!1,type:"zip",onFileImported:()=>a(!0)})})})}function Vw(){const[e]=N(),n=a=>{a.preventDefault(),T.processing(),$("POST",D("/api/v1/export"),{send_email:!0,report_keys:[]}).then(s=>{T.success(s.data.message)})};return t(Z,{children:t(x,{leftSide:e("export_company"),leftSideHelp:e("exported_data"),children:t(te,{onClick:n,children:e("export")})})})}const qw={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"};function Lw(){const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("system_logs"),href:"/settings/system_logs"}],{dateFormat:a}=At(),{data:s,isLoading:o}=xe(["/api/v1/system_logs","per_page=200","sort=created_at|DESC"],()=>$("GET",D("/api/v1/system_logs?per_page=200&sort=created_at|DESC")),{staleTime:36e5}),i=[{id:1,name:e("gateway_id")},{id:2,name:e("email")},{id:3,name:e("webhook")},{id:4,name:e("pdf")},{id:5,name:e("security")}],r=[{id:10,name:e("payment_failure")},{id:11,name:e("payment_success")},{id:21,name:e("success")},{id:22,name:e("failure")},{id:23,name:e("error")},{id:30,name:e("email_send")},{id:31,name:e("email_retry_queue")},{id:32,name:e("email_bounced")},{id:33,name:e("email_spam_complaint")},{id:34,name:e("email_delivery")},{id:35,name:e("opened")},{id:40,name:e("webhook_response")},{id:41,name:e("webhook_success")},{id:50,name:e("pdf")},{id:60,name:e("login_failure")},{id:61,name:e("user")}],c=[{id:300,name:e("paypal")},{id:301,name:e("payment_type_stripe")},{id:302,name:e("ledger")},{id:303,name:e("failure")},{id:304,name:e("checkout_com")},{id:305,name:"auth.net"},{id:306,name:e("custom")},{id:307,name:"Braintree"},{id:309,name:e("wepay")},{id:310,name:"PayFast"},{id:311,name:"PayTrace"},{id:312,name:"Mollie"},{id:313,name:"eWay"},{id:320,name:"Square"},{id:321,name:e("gocardless")},{id:322,name:"Razorpay"},{id:323,name:e("paypal")},{id:400,name:"Quota exceeded"},{id:401,name:"Upstream failure"},{id:500,name:"Webhook response"},{id:600,name:"PDF Failure"},{id:601,name:"PDF Sucess"},{id:701,name:"Modified"},{id:702,name:"Deleted"},{id:800,name:"Login Success"},{id:801,name:"Login Failure"}],l=m=>{const h=i.find(u=>u.id===m);return h?h.name:"Undefined Category"},_=m=>{const h=r.find(u=>u.id===m);return h?h.name:"Undefined Event"},d=m=>{const h=c.find(u=>u.id===m);return h?h.name:"Undefined Type"},p=m=>t(K_,{data:JSON.parse(m),theme:qw})||m;return f(Ve,{title:e("system_logs"),breadcrumbs:n,children:[o&&t(vc,{children:t(st,{})}),t(Z,{children:s==null?void 0:s.data.data.map((m,h,{length:u})=>f("div",{children:[t(x,{leftSide:l(m.category_id),leftSideHelp:`${d(m.type_id)} ${Qe(m.created_at,a)}`,children:f("div",{className:"flex flex-col space-y-2",children:[t("div",{children:t(Oe,{children:_(m.event_id)})}),t("div",{children:p(m.log)})]})},h),h+1!==u&&t(ye,{})]},h))})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Po(e){const n=Ce(),a=Ae(),{withoutNavigation:s}=e||{},o=Ie(Ba);return i=>{o(i),a(Ge({object:"company",property:"settings",value:i.settings})),a(qs({status:{name:i.name,level:"group"}})),!s&&n("/settings/company_details")}}function ql(){const[e]=N(),n=zt(),a=Ce(),s=Xe(),o=Po(),{id:i}=xt(),r=Gv(),c=n.pathname.includes(i),l=async d=>{const p=await s.fetchQuery(["/api/v1/group_settings",d],()=>$("GET",D("/api/v1/group_settings/:id",{id:d})).then(m=>m.data.data),{staleTime:1/0});o(p)};return[d=>!c&&t(M,{onClick:()=>l(d.id),icon:t(L,{className:"h-4 w-4",element:ii}),children:e("configure_settings")}),d=>Me(d)===Re.Active&&t(M,{onClick:()=>a(U("/clients/create?group=:groupId",{groupId:d.id})),icon:t(L,{element:gn}),children:e("new_client")}),()=>c&&t(ye,{withoutPadding:!0}),d=>c&&Me(d)===Re.Active&&t(M,{onClick:()=>r([d.id],"archive"),icon:t(L,{element:Rt}),children:e("archive")}),d=>c&&(Me(d)===Re.Archived||Me(d)===Re.Deleted)&&t(M,{onClick:()=>r([d.id],"restore"),icon:t(L,{element:Vt}),children:e("restore")}),d=>c&&(Me(d)===Re.Active||Me(d)===Re.Archived)&&t(M,{onClick:()=>r([d.id],"delete"),icon:t(L,{element:kt}),children:e("delete")})]}function Ow(){const{documentTitle:e}=Se("online_payments"),[n]=N(),a=ql(),s=[{name:n("settings"),href:"/settings"},{name:n("group_settings"),href:"/settings/group_settings"}],o=[{id:"status_id",label:n("status"),format:(i,r)=>t(En,{entity:r})},{id:"name",label:n("name"),format:(i,r)=>t(Pe,{to:U("/settings/group_settings/:id/edit",{id:r.id}),children:i})}];return t(Ve,{title:e,breadcrumbs:s,docsLink:"en/advanced-settings/#group_settings",children:t(wn,{columns:o,resource:"group",endpoint:"/api/v1/group_settings?sort=id|desc",bulkRoute:"/api/v1/group_settings/bulk",linkToCreate:"/settings/group_settings/create",linkToEdit:"/settings/group_settings/:id/edit",customActions:a,withResourcefulActions:!0})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Ll={id:"",name:"",settings:{},created_at:0,updated_at:0,archived_at:0,is_deleted:!1,documents:[]};function Ol(e){const{setGroupSettings:n,setErrors:a,isCreatePage:s}=e;return(o,i)=>{a(void 0),n(s?{...Ll,[o]:i}:r=>r&&{...r,[o]:i})}}function Ml(e){const[n]=N(),{groupSettings:a,handleChange:s,errors:o}=e;return t(x,{leftSide:n("name"),children:t(q,{value:a.name,onValueChange:i=>s("name",i),errorMessage:o==null?void 0:o.errors.name,cypressRef:"groupSettingsNameField"})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Mw(e){const n=Ce(),a=Xe(),s=De(Ut),{groupSettings:o,setErrors:i,setIsFormBusy:r,isFormBusy:c}=e;return()=>{c||(T.processing(),i(void 0),r(!0),$("POST",D("/api/v1/group_settings"),o).then(l=>{T.success("created_group"),ie(["group_settings"]),s&&a.invalidateQueries([s]),n(U("/settings/group_settings/:id/edit",{id:l.data.data.id}))}).catch(l=>{var _;((_=l.response)==null?void 0:_.status)===422&&(T.dismiss(),i(l.response.data))}).finally(()=>r(!1)))}}function jw(){const[e]=N(),{documentTitle:n}=Se("new_group"),a=Yn(),s=[{name:e("settings"),href:"/settings"},{name:e("group_settings"),href:"/settings/group_settings"},{name:e("new_group"),href:"/settings/group_settings/create"}],[o,i]=g.useState(),[r,c]=g.useState(),[l,_]=g.useState(!1),d=Ol({setGroupSettings:i,setErrors:c,isCreatePage:!0}),p=Mw({groupSettings:o,setErrors:c,isFormBusy:l,setIsFormBusy:_});return g.useEffect(()=>{i(Ll)},[]),f(Ve,{title:n,breadcrumbs:s,onSaveClick:p,disableSaveButton:l||!o||a,children:[a&&t(Fn,{}),o&&t(Z,{title:e("new_group"),children:t(Ml,{groupSettings:o,handleChange:d,errors:r})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function ji(e){const n=Ce(),a=Ae(),s=we(),o=$e(),{withoutNavigation:i}=e||{},r=Ie(Ba);return c=>{r(c),a(o?Ge({object:"company",property:"settings",value:c.settings}):La({object:"company",data:{...s,settings:c.settings}})),a(qs({status:{name:c.display_name,level:"client"}})),!i&&n("/settings/company_details")}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Fw(e){const n=Ce(),a=Xe(),{setIsPurgeOrMergeActionCalled:s}=e||{},o=Ie(un);return(i,r)=>{T.processing(),s==null||s(!0),$("POST",D("/api/v1/clients/:id/purge",{id:r}),{},{headers:{"X-Api-Password":i}}).then(()=>{T.success("purged_client"),a.invalidateQueries(),n("/clients")}).catch(c=>{var l;((l=c.response)==null?void 0:l.status)===412&&(T.error("password_error_incorrect"),o(0)),s==null||s(!1)})}}function Bw(e){const[n]=N(),{client:a,setIsPurgeOrMergeActionCalled:s}=e,o=Fw({setIsPurgeOrMergeActionCalled:s}),[i,r]=g.useState(!1);return f(F,{children:[t(M,{onClick:()=>r(!0),icon:t(L,{element:n_}),children:n("purge")}),t(yn,{show:i,onClose:r,onSave:c=>o(c,a.id)})]})}function zw(e){const[n]=N(),a=Ae(),s=Ce(),{isEditOrShowPage:o}=Ta({entity:"client"}),{setIsPurgeOrMergeActionCalled:i}=e,r=Ie(un),[c,l]=g.useState(""),[_,d]=g.useState(!1),[p,m]=g.useState(!1),h=u=>{p||(T.processing(),m(!0),i==null||i(!0),$("POST",D("/api/v1/clients/:mergeIntoClientId/:mergeFromClientId/merge",{mergeIntoClientId:c,mergeFromClientId:e.mergeFromClientId}),{},{headers:{"X-Api-Password":u}}).then(()=>{ie(["clients"]),$("POST",D("/api/v1/refresh")).then(v=>{T.success("merged_clients"),a(Mn(v.data.data)),l(""),e.setVisible(!1),o&&s("/clients")}).catch(()=>i==null?void 0:i(!1))}).catch(v=>{var b;((b=v.response)==null?void 0:b.status)===412&&(T.error("password_error_incorrect"),r(0)),i==null||i(!1)}).finally(()=>m(!1)))};return f(Fe,{title:n("merge_into"),visible:e.visible,onClose:()=>{l(""),e.setVisible(!1)},overflowVisible:!0,children:[t(vo,{inputLabel:n("client"),onChange:u=>l(u.id),value:c,clearButton:!0,onClearButtonClick:()=>l(""),withoutAction:!0,exclude:[e.mergeFromClientId],dropdownLabelFn:u=>{var v;return f("div",{className:"flex items-center space-x-1",children:[t("span",{children:u.display_name}),((v=u.contacts[0])==null?void 0:v.email)&&f("span",{className:"text-xs",children:["(",u.contacts[0].email,")"]})]})},initiallyVisible:!0}),t("div",{className:"self-end pt-2",children:t(te,{disableWithoutIcon:!0,disabled:!c,onClick:()=>d(!0),children:n("merge")})}),t(yn,{show:_,onClose:d,onSave:h})]})}function Uw(e){const[n]=N(),{client:a,setIsPurgeOrMergeActionCalled:s}=e,[o,i]=g.useState(!1);return f(F,{children:[t(M,{onClick:()=>i(!0),icon:t(L,{element:a_}),children:n("merge")}),t(zw,{visible:o,setVisible:i,mergeFromClientId:a.id,setIsPurgeOrMergeActionCalled:s})]})}function Hw(e){const[n]=N(),a=Ni(),{setIsPurgeOrMergeActionCalled:s}=e||{},o=ot(),{isAdmin:i,isOwner:r}=Je(),{isEditOrShowPage:c,isShowPage:l}=Ta({entity:"client"}),_=ji(),{setChangeTemplateVisible:d,setChangeTemplateResources:p,setChangeTemplateEntityContext:m}=us();return[u=>!u.is_deleted&&t(M,{to:U("/clients/:id/statement",{id:u.id}),icon:t(L,{element:no}),children:n("view_statement")}),u=>!u.is_deleted&&!l&&t(M,{onClick:()=>window.open(U(`${u.contacts[0].link}?silent=true&client_hash=:clientHash`,{clientHash:u.client_hash}),"__blank"),icon:t(L,{element:ni}),children:n("client_portal")}),u=>t(Eo,{entity:"client",entityId:u.id,label:u.display_name,labelElement:t(M,{icon:t(L,{element:ao}),children:n("add_comment")})}),u=>!u.is_deleted&&(i||r)&&t(M,{onClick:()=>_(u),icon:t(L,{element:s_}),children:n("settings")}),u=>!u.is_deleted&&o("create_invoice")&&t(M,{to:U("/invoices/create?client=:id",{id:u.id}),icon:t(L,{element:gn}),children:n("new_invoice")}),u=>!u.is_deleted&&o("create_payment")&&t(M,{to:U("/payments/create?client=:id",{id:u.id}),icon:t(L,{element:gn}),children:n("new_payment")}),u=>!u.is_deleted&&o("create_quote")&&t(M,{to:U("/quotes/create?client=:id",{id:u.id}),icon:t(L,{element:gn}),children:n("new_quote")}),u=>!u.is_deleted&&o("create_credit")&&t(M,{to:U("/credits/create?client=:id",{id:u.id}),icon:t(L,{element:gn}),children:n("new_credit")}),u=>!u.is_deleted&&(i||r)&&u&&t(Uw,{client:u,setIsPurgeOrMergeActionCalled:s}),u=>t(M,{onClick:()=>{d(!0),p([u]),m({endpoint:"/api/v1/clients/bulk",entity:"clients"})},icon:t(L,{element:ns}),children:n("run_template")}),u=>c&&!u.is_deleted&&t(ye,{withoutPadding:!0}),u=>c&&Me(u)===Re.Active&&t(M,{onClick:()=>a([u.id],"archive"),icon:t(L,{element:Rt}),children:n("archive")}),u=>c&&(Me(u)===Re.Archived||Me(u)===Re.Deleted)&&t(M,{onClick:()=>a([u.id],"restore"),icon:t(L,{element:Vt}),children:n("restore")}),u=>c&&(Me(u)===Re.Active||Me(u)===Re.Archived)&&t(M,{onClick:()=>a([u.id],"delete"),icon:t(L,{element:kt}),children:n("delete")}),u=>(i||r)&&u&&t(Bw,{client:u,setIsPurgeOrMergeActionCalled:s},"purge")]}const Gw=["name","contact_email","id_number","balance","paid_to_date","created_at","last_login_at","website"];function Ww(){const[e,n,a,s]=pn({entity:"client"});return["number","name","balance","paid_to_date","contact_name","contact_email","last_login_at","address2","archived_at","contact_phone","contacts","country","created_at","credit_balance","currency",e,n,a,s,"documents","entity_state","group","id_number","is_deleted","language","phone","private_notes","public_notes","state","address1","task_rate","updated_at","vat_number","website","city"]}function Kw(){var w;const{t:e}=N(),{dateFormat:n}=At(),a=Pa(),s=we(),o=Et(),i=rn(),r=ls(),c=xa(),l=Xr(),_=Ha(),d=g.useCallback(y=>{const k=[];return y.contacts.map(C=>k.push(`${C.first_name} ${C.last_name}`)),k.join("<br />")},[]);Ww();const[p,m,h,u]=pn({entity:"client"}),v=[{column:"number",id:"number",label:e("number")},{column:"name",id:"display_name",label:e("name"),format:(y,k)=>t(dn,{to:U("/clients/:id",{id:k.id}),renderSpan:a("client",k),children:y})},{column:"balance",id:"balance",label:e("balance"),format:(y,k)=>i(y,k==null?void 0:k.country_id,k==null?void 0:k.settings.currency_id)},{column:"paid_to_date",id:"paid_to_date",label:e("paid_to_date"),format:(y,k)=>i(y,k==null?void 0:k.country_id,k==null?void 0:k.settings.currency_id)},{column:"contact_name",id:"id",label:e("contact_name"),format:(y,k)=>k.contacts.length>0&&f(dn,{to:U("/clients/:id",{id:k.id}),renderSpan:a("client",k),children:[k.contacts[0].first_name," ",k.contacts[0].last_name]})},{column:"contact_email",id:"id",label:e("contact_email"),format:(y,k)=>k.contacts.length>0&&t(Dt,{text:k.contacts[0].email})},{column:"last_login_at",id:"last_login",label:e("last_login"),format:y=>Qe(y,n)},{column:"address2",id:"address2",label:e("address2")},{column:"archived_at",id:"archived_at",label:e("archived_at"),format:y=>Qe(y,n)},{column:"contact_phone",id:"id",label:e("contact_phone"),format:(y,k)=>k.contacts[0].phone},{column:"contacts",id:"id",label:e("contacts"),format:(y,k)=>t("span",{dangerouslySetInnerHTML:{__html:d(k)}})},{column:"country",id:"country_id",label:e("country"),format:y=>{var k;return y&&((k=r(y))==null?void 0:k.name)}},{column:"created_at",id:"created_at",label:e("created_at"),format:y=>Qe(y,n)},{column:"credit_balance",id:"credit_balance",label:e("credit_balance"),format:(y,k)=>i(y,k==null?void 0:k.country_id,k==null?void 0:k.settings.currency_id)},{column:"currency",id:"id",label:e("currency"),format:(y,k)=>{var C,S;return((C=k.settings)==null?void 0:C.currency_id)&&((S=c(k.settings.currency_id))==null?void 0:S.code)}},{column:p,id:"custom_value1",label:p,format:y=>_("client1",y==null?void 0:y.toString())},{column:m,id:"custom_value2",label:m,format:y=>_("client2",y==null?void 0:y.toString())},{column:h,id:"custom_value3",label:h,format:y=>_("client3",y==null?void 0:y.toString())},{column:u,id:"custom_value4",label:u,format:y=>_("client4",y==null?void 0:y.toString())},{column:"documents",id:"documents",label:e("documents"),format:(y,k)=>k.documents.length},{column:"entity_state",id:"id",label:e("entity_state"),format:(y,k)=>t(En,{entity:k})},{column:"id_number",id:"id_number",label:e("id_number")},{column:"is_deleted",id:"is_deleted",label:e("is_deleted"),format:(y,k)=>k.is_deleted?e("yes"):e("no")},{column:"language",id:"id",label:e("language"),format:(y,k)=>{var C;return(C=l(k.settings.language_id||s.settings.language_id))==null?void 0:C.name}},{column:"phone",id:"phone",label:e("phone")},{column:"private_notes",id:"private_notes",label:e("private_notes"),format:y=>t(Qt,{width:"auto",tooltipElement:t("div",{className:"w-full max-h-48 overflow-auto whitespace-normal break-all",children:t("article",{className:oe("prose prose-sm",{"prose-invert":o.dark_mode}),dangerouslySetInnerHTML:{__html:jt(y)}})}),children:t("span",{children:Kn(jt(y)).slice(0,50)})})},{column:"public_notes",id:"public_notes",label:e("public_notes"),format:y=>t(Qt,{width:"auto",tooltipElement:t("div",{className:"w-full max-h-48 overflow-auto whitespace-normal break-all",children:t("article",{className:oe("prose prose-sm",{"prose-invert":o.dark_mode}),dangerouslySetInnerHTML:{__html:jt(y)}})}),children:t("span",{children:Kn(jt(y)).slice(0,50)})})},{column:"state",id:"state",label:e("state")},{column:"address1",id:"address1",label:e("address1")},{column:"task_rate",id:"id",label:e("task_rate"),format:(y,k)=>i(k.settings.default_task_rate||s.settings.default_task_rate,k==null?void 0:k.country_id,k==null?void 0:k.settings.currency_id)},{column:"updated_at",id:"updated_at",label:e("updated_at"),format:y=>Qe(y,n)},{column:"vat_number",id:"vat_number",label:e("vat_number")},{column:"website",id:"website",label:e("website"),format:y=>t(Pe,{to:y.toString(),external:!0,children:f(es,{children:[t("span",{children:y}),y.toString().length>0&&t(N_,{size:14})]})})},{column:"group",id:"group_settings_id",label:e("group"),format:(y,k)=>{var C;return!!y&&t(Pe,{to:U("/settings/group_settings/:id/edit",{id:y}),children:(C=k.group_settings)==null?void 0:C.name})}},{column:"city",id:"city",label:e("city")}],b=((w=o==null?void 0:o.react_table_columns)==null?void 0:w.client)||Gw;return v.filter(y=>b.includes(y.column)).sort((y,k)=>b.indexOf(y.column)-b.indexOf(k.column))}function Qw(e){var a;const[n]=N();return t(sn,{endpoint:D("/api/v1/group_settings?status=active"),onChange:s=>s.resource&&e.onChange(s.resource),inputOptions:{label:(a=e.inputLabel)==null?void 0:a.toString(),value:e.value||null},entryOptions:{id:"id",label:"name",value:"id"},action:{label:n("new_group"),onClick:()=>{},visible:!1},readonly:e.readonly,onDismiss:e.onClearButtonClick,initiallyVisible:e.initiallyVisible,sortBy:"name|asc",staleTime:e.staleTime,errorMessage:e.errorMessage})}function Yw(e){const[n]=N(),{clients:a,setSelected:s}=e,o=Ni(),[i,r]=g.useState(!1),[c,l]=g.useState(""),_=()=>{r(!1),l("")};return f(F,{children:[t(M,{onClick:()=>r(!0),icon:t(L,{element:Ir}),children:n("assign_group")}),f(Fe,{title:n("group"),visible:i,onClose:_,overflowVisible:!0,children:[t(Qw,{value:c,onChange:d=>l(d.id),onClearButtonClick:()=>l("")}),t(te,{behavior:"button",onClick:()=>{o(a.map(({id:d})=>d),"assign_group",{groupSettingsId:c}).then(()=>_()),s([])},disabled:!c,disableWithoutIcon:!0,children:n("add_to_group")})]})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Xw(){const{data:e}=tn(),[n,a]=g.useState();return g.useEffect(()=>{e!=null&&e.bulk_updates&&a(e.bulk_updates)},[e]),n}const Jw=[{key:"public_notes",type:"markdownEditor"},{key:"industry_id",type:"industrySelector"},{key:"size_id",type:"sizeSelector"},{key:"country_id",type:"countrySelector"},{key:"custom_value1",type:"customField"},{key:"custom_value2",type:"customField"},{key:"custom_value3",type:"customField"},{key:"custom_value4",type:"customField"}];function Zw(e){var y;const[n]=N(),{setSelected:a,resourceIds:s}=e,o=Ni(),{data:i}=tn(),r=we(),c=Xw(),[l,_]=g.useState(""),[d,p]=g.useState(""),[m,h]=g.useState(!1),u=()=>{h(!1),_(""),p("")},v=()=>{var k;return((k=Jw.find(({key:C})=>C===l))==null?void 0:k.type)||""},b=k=>k.startsWith("custom_value")?!!r.custom_fields[k.replace("custom_value",e.entity)]:!0,w=()=>l.replace("custom_value",e.entity);return f(F,{children:[t(M,{onClick:()=>h(!0),icon:t(L,{element:o_}),children:n("bulk_update")}),t(Fe,{title:n("bulk_update"),size:"regular",visible:m,onClose:u,overflowVisible:!0,children:f("div",{className:"flex flex-col space-y-5",children:[t(se,{label:n("column"),value:l,onValueChange:k=>{_(k),p("")},withBlank:!0,children:c==null?void 0:c[e.entity].map(k=>b(k)&&t("option",{value:k,children:n(k)},k))}),f("div",{className:"flex flex-col",children:[!!v()&&t(Pn,{className:"mb-2",children:n("value")}),v()==="markdownEditor"&&t(Xt,{value:d,onChange:k=>p(k)}),v()==="industrySelector"&&t(se,{value:d,onValueChange:k=>p(k),withBlank:!0,children:i==null?void 0:i.industries.map(k=>t("option",{value:k.id,children:k.name},k.id))}),v()==="sizeSelector"&&t(se,{value:d,onValueChange:k=>p(k),withBlank:!0,children:i==null?void 0:i.sizes.map((k,C)=>t("option",{value:k.id,children:k.name},C))}),v()==="countrySelector"&&t(Fs,{value:d,onChange:k=>p(k),dismissable:!0}),v()==="customField"&&((y=r==null?void 0:r.custom_fields)==null?void 0:y[w()])&&t(at,{field:w(),defaultValue:d,value:r.custom_fields[w()],onValueChange:k=>p(k),fieldOnly:!0})]}),t("div",{className:"flex self-end",children:t(te,{behavior:"button",onClick:()=>{o(s,"bulk_update",{column:l,newValue:d}).then(()=>u()),a([])},disabled:!l,disableWithoutIcon:!0,children:n("update")})})]})})]})}const ek=()=>{const[e]=N(),n=Sc(),a=p=>p.flatMap(({documents:m})=>m.map(({id:h})=>h)),s=p=>p.some(({documents:m})=>m.length),o=p=>p.every(({is_deleted:m})=>!m),i=p=>p.every(({is_deleted:m})=>!m),r=(p,m)=>{const h=a(p);n(h,"download"),m([])},{setChangeTemplateVisible:c,setChangeTemplateResources:l,setChangeTemplateEntityContext:_}=us();return[({selectedResources:p,setSelected:m})=>o(p)&&t(M,{onClick:()=>s(p)?r(p,m):T.error("no_documents_to_download"),icon:t(L,{element:fa}),children:e("documents")}),({selectedResources:p})=>t(M,{onClick:()=>{c(!0),l(p),_({endpoint:"/api/v1/clients/bulk",entity:"client"})},icon:t(L,{element:ns}),children:e("run_template")}),({selectedResources:p,setSelected:m})=>i(p)&&t(Yw,{clients:p,setSelected:m}),({selectedIds:p,setSelected:m})=>t(Zw,{entity:"client",resourceIds:p,setSelected:m})]};function tk(){const{id:e}=xt(),n=Hw(),a=Kw(),s=ek();return t("div",{className:"mt-8",children:t(wn,{resource:"client",endpoint:U("/api/v1/clients?include=group_settings&group=:groupId&sort=id|desc",{groupId:e}),bulkRoute:"/api/v1/clients/bulk",linkToEdit:"/clients/:id/edit",columns:a,customActions:n,bottomActionsKeys:["purge"],customBulkActions:s,withResourcefulActions:!0,linkToCreate:U("/clients/create?group=:groupId",{groupId:e})})})}function nk(){const[e]=N(),{id:n}=xt(),{documentTitle:a}=Se("edit_group"),{data:s}=Hv({id:n}),o=ql(),i=Po(),r=[{name:e("settings"),href:"/settings"},{name:e("group_settings"),href:"/settings/group_settings"},{name:e("edit_group"),href:U("/settings/group_settings/:id/edit",{id:n})}],[c,l]=g.useState(),[_,d]=g.useState(),[p,m]=g.useState(!1),h=Ol({setGroupSettings:l,setErrors:d}),u=xc({groupSettings:c,setErrors:d,isFormBusy:p,setIsFormBusy:m});g.useEffect(()=>{s&&l(s)},[s]);const v=()=>{ie(["group_settings"])};return t(Ve,{title:a,breadcrumbs:r,onSaveClick:u,disableSaveButton:p||!c,navigationTopRight:c&&t(oa,{label:e("more_actions"),resource:c,actions:o}),children:f(jn,{tabs:[e("overview"),e("clients"),e("documents")],formatTabLabel:b=>{if(b===2)return t(vi,{numberOfDocuments:c==null?void 0:c.documents.length})},children:[t("div",{children:c&&s&&t(Z,{title:e("edit_group"),topRight:f(te,{behavior:"button",onClick:()=>i(s),children:[t(L,{className:"h-4 w-4",element:ii,color:"white"}),t("span",{children:e("configure_settings")})]}),children:t("div",{children:t(Ml,{groupSettings:c,handleChange:h,errors:_})})})}),t("div",{children:t(tk,{})}),f("div",{children:[t(Ii,{endpoint:D("/api/v1/group_settings/:id/upload",{id:n}),onSuccess:v,widgetOnly:!0}),t(el,{documents:(c==null?void 0:c.documents)||[],onDocumentDelete:v})]})]})})}function ak(){Se("user_management");const e=bt(),[n]=N(),[a,s]=g.useState(!1),[o,i]=g.useState(),[r,c]=g.useState([]),l=Yv(),_=[{name:n("settings"),href:"/settings"},{name:n("user_management"),href:"/settings/users"}],d=[{id:"name",label:"name",format:(p,m)=>f(Pe,{to:U("/settings/users/:id/edit",{id:m.id}),children:[m.first_name," ",m.last_name]})},{id:"email",label:"email"}];return f(F,{children:[t(Ve,{title:n("user_details"),breadcrumbs:_,docsLink:"/docs/advanced-settings/#user_management",children:t(wn,{resource:"user",columns:d,endpoint:U("/api/v1/users?hideOwnerUsers=true&without=:userId&sort=id|desc&status=active",{userId:e==null?void 0:e.id}),linkToCreate:"/settings/users/create",bulkRoute:"/api/v1/users/bulk",onBulkActionCall:(p,m)=>{c(p),i(m),s(!0)}})}),t(yn,{show:a,onClose:s,onSave:p=>o&&l(r,o,p),tableActions:!0})]})}function sk(e){const[n]=N(),[a,s]=g.useState(!1),[o,i]=g.useState(),{user:r}=e,{id:c}=xt(),l=Ce(),_=()=>{T.processing(),$("POST",D("/api/v1/users/:id/invite",{id:c})).then(()=>{ie(["users"]),T.success("email_sent_to_confirm_email")})},d=()=>{T.processing(),$("DELETE",D("/api/v1/users/:id/detach_from_company",{id:c})).then(()=>{T.success("removed_user"),ie(["users"]),l("/settings/users")}).catch(m=>{var h;((h=m.response)==null?void 0:h.status)===412&&T.error("password_error_incorrect")})};return f(F,{children:[t(yn,{show:a,onClose:s,onSave:()=>{if(o==="remove")return d();const m={archive:"archived_user",restore:"restored_user",delete:"deleted_user",remove:"removed_user"};T.processing(),$("POST",D("/api/v1/users/bulk"),{action:o,ids:[c]}).then(()=>{const h=m[o]||`${o}d_user`;T.success(h),ie(["users"])}).catch(h=>{var u;((u=h.response)==null?void 0:u.status)===412&&T.error("password_error_incorrect")})}}),f(Sn,{label:n("more_actions"),className:"divide-y",children:[f("div",{children:[t(M,{onClick:()=>_(),icon:t(L,{element:Zo}),children:n("resend_email")}),t(M,{onClick:()=>{i("remove"),s(!0)},icon:t(L,{element:i_}),children:n("remove")})]}),f("div",{children:[r.archived_at===0&&t(M,{onClick:()=>{i("archive"),s(!0)},icon:t(L,{element:Rt}),children:n("archive")}),r.archived_at>0&&t(M,{onClick:()=>{i("restore"),s(!0)},icon:t(L,{element:Vt}),children:n("restore")}),!r.is_deleted&&t(M,{onClick:()=>{i("delete"),s(!0)},icon:t(L,{element:kt}),children:n("delete")})]})]})]})}function jl(e){var r,c,l,_,d,p,m,h;const[n]=N(),{user:a,setUser:s}=e,o=(u,v)=>{s(b=>b&&{...b,[u]:v})},i=we();return f(Z,{title:n("details"),children:[t(x,{leftSide:n("first_name"),required:!0,children:t(q,{value:a==null?void 0:a.first_name,onValueChange:u=>o("first_name",u),errorMessage:(r=e.errors)==null?void 0:r.errors.first_name})}),t(x,{leftSide:n("last_name"),required:!0,children:t(q,{value:a==null?void 0:a.last_name,onValueChange:u=>o("last_name",u),errorMessage:(c=e.errors)==null?void 0:c.errors.last_name})}),t(x,{leftSide:n("email"),children:t(q,{type:"email",value:a==null?void 0:a.email,onValueChange:u=>o("email",u),errorMessage:(l=e.errors)==null?void 0:l.errors.email})}),t(x,{leftSide:n("phone"),children:t(q,{value:a==null?void 0:a.phone,onValueChange:u=>o("phone",u),errorMessage:(_=e.errors)==null?void 0:_.errors.phone})}),t(x,{leftSide:n("login_notification"),leftSideHelp:n("login_notification_help"),children:t(B,{checked:a==null?void 0:a.user_logged_in_notification,onChange:u=>o("user_logged_in_notification",u)})}),((d=i==null?void 0:i.custom_fields)==null?void 0:d.user1)&&t(at,{field:"user1",defaultValue:a.custom_value1,value:i.custom_fields.user1,onValueChange:u=>o("custom_value1",String(u))}),((p=i==null?void 0:i.custom_fields)==null?void 0:p.user2)&&t(at,{field:"user2",defaultValue:a.custom_value2,value:i.custom_fields.user2,onValueChange:u=>o("custom_value2",String(u))}),((m=i==null?void 0:i.custom_fields)==null?void 0:m.user3)&&t(at,{field:"user3",defaultValue:a.custom_value3,value:i.custom_fields.user3,onValueChange:u=>o("custom_value3",String(u))}),((h=i==null?void 0:i.custom_fields)==null?void 0:h.user4)&&t(at,{field:"user4",defaultValue:a.custom_value4,value:i.custom_fields.user4,onValueChange:u=>o("custom_value4",String(u))})]})}function Fl(e){const[n]=N(),{user:a,setUser:s}=e,o=[{id:"invoice_created",label:"invoice_created"},{id:"invoice_sent",label:"invoice_sent_notification_label"},{id:"invoice_viewed",label:"invoice_viewed"},{id:"invoice_late",label:"invoice_late"},{id:"inventory_threshold",label:"inventory_threshold"},{id:"payment_success",label:"payment_success"},{id:"payment_failure",label:"payment_failure"},{id:"payment_manual",label:"manual_payment"},{id:"purchase_order_created",label:"purchase_order_created"},{id:"purchase_order_sent",label:"purchase_order_sent"},{id:"purchase_order_viewed",label:"purchase_order_viewed"},{id:"purchase_order_accepted",label:"purchase_order_accepted"},{id:"quote_created",label:"quote_created"},{id:"quote_sent",label:"quote_sent"},{id:"quote_viewed",label:"quote_viewed"},{id:"quote_approved",label:"quote_approved"},{id:"quote_expired",label:"quote_expired"},{id:"credit_created",label:"credit_created"},{id:"credit_sent",label:"credit_sent"},{id:"credit_viewed",label:"credit_viewed"}],i=()=>{var d;const _=((d=a==null?void 0:a.company_user)==null?void 0:d.notifications.email)??[];return _.includes("all_notifications")?"all_notifications":_.includes("all_user_notifications")?"all_user_notifications":""},r=(_,d)=>{var m,h;const p=ce.cloneDeep(a);if(_==="all_events"&&p.company_user)d.length===0?p.company_user.notifications.email=[]:p.company_user.notifications.email=[d];else if(d.endsWith("none")&&p.company_user){const u=(m=p.company_user)==null?void 0:m.notifications.email.filter(v=>!v.startsWith(_));p.company_user.notifications.email=u}else{const u=((h=p.company_user)==null?void 0:h.notifications.email.filter(v=>!v.startsWith(_)))||[];u==null||u.push(d),p.company_user&&(p.company_user.notifications.email=u)}s({...p})},c=_=>{var p;const d=((p=a==null?void 0:a.company_user)==null?void 0:p.notifications.email)??[];return d.includes("all_notifications")?`${_}_all`:d.includes("all_user_notifications")?`${_}_user`:d.includes(`${_}_all`)?`${_}_all`:d.includes(`${_}_user`)?`${_}_user`:`${_}_none`},l=()=>{var d;const _=((d=a==null?void 0:a.company_user)==null?void 0:d.notifications.email)??[];return!!(_.includes("all_notifications")||_.includes("all_user_notifications"))};return f(Z,{title:n("notifications"),children:[t(x,{children:n("email")}),t(x,{leftSide:n("all_events"),children:f(se,{withBlank:!0,value:i(),onValueChange:_=>r("all_events",_),children:[t("option",{value:"all_notifications",children:n("all_records")}),t("option",{value:"all_user_notifications",children:n("owned_by_user")}),t("option",{value:"",children:n("custom")})]})}),o.map((_,d)=>t(x,{leftSide:n(_.label),children:f(se,{value:c(_.id),disabled:l(),onValueChange:p=>r(_.id,p),children:[t("option",{value:`${_.id}_all`,children:n("all_records")}),t("option",{value:`${_.id}_user`,children:n("owned_by_user")}),t("option",{value:`${_.id}_none`,children:n("none")})]})},d))]})}function Bl(e){var l;const[n]=N(),{user:a,setUser:s}=e,o=["client","product","invoice","payment","recurring_invoice","quote","credit","project","task","vendor","expense","bank_transaction","purchase_order","recurring_expense"],i=_=>{s(d=>d&&{...d,company_user:d.company_user&&{...d.company_user,is_admin:_}})},r=_=>{var m;const d=(m=a==null?void 0:a.company_user)==null?void 0:m.permissions,[p]=_.split("_");return!!(d&&d.includes(`${p}_all`)&&_!=="view_reports"&&_!=="view_dashboard"||d&&d.includes(_))},c=(_,d)=>{var u;let p=ce.clone(((u=a==null?void 0:a.company_user)==null?void 0:u.permissions)??"").split(",").filter(v=>v!==_);const[m,h]=_.split("_");if(h==="all")p=p.filter(v=>!v.startsWith(m)||v==="view_reports"||v==="view_dashboard");else if(p.includes(`${m}_all`)&&_!=="view_reports"&&_!=="view_dashboard"){const v=o.map(b=>`${m}_${b}`).filter(b=>b!==_);p=p.filter(b=>b!==`${m}_all`),p=[...p,...v]}d&&p.push(_),p[0]===""&&p.shift(),s(v=>v&&{...v,company_user:v.company_user&&{...v.company_user,permissions:p.join(",")}})};return f(Z,{title:n("permissions"),children:[t(x,{leftSide:n("administrator"),leftSideHelp:n("administrator_help"),children:t(B,{checked:(l=a==null?void 0:a.company_user)==null?void 0:l.is_admin,onChange:_=>i(_),cypressRef:"admin"})}),t(x,{leftSide:n("view_dashboard"),children:t(B,{checked:r("view_dashboard"),onValueChange:_=>c("view_dashboard",_),cypressRef:"viewDashboard"})}),t(x,{leftSide:n("reports"),leftSideHelp:n("view_report_permission"),children:t(B,{checked:r("view_reports"),onValueChange:_=>c("view_reports",_),cypressRef:"viewReports"})}),t(x,{children:f("div",{className:"grid grid-cols-3 md:grid-cols-6",children:[t("div",{className:"col-1",children:n("create")}),t("div",{className:"col-1",children:n("view")}),t("div",{className:"col-1",children:n("edit")})]})}),t(x,{leftSide:n("all"),children:f("div",{className:"grid grid-cols-3  md:grid-cols-6",children:[t("div",{className:"col-1",children:t(an,{checked:r("create_all"),onChange:_=>c("create_all",_.target.checked),cypressRef:"create_all"})}),t("div",{className:"col-1",children:t(an,{checked:r("view_all"),onChange:_=>c("view_all",_.target.checked),cypressRef:"view_all"})}),t("div",{className:"col-1",children:t(an,{checked:r("edit_all"),onChange:_=>c("edit_all",_.target.checked),cypressRef:"edit_all"})})]})}),o.map((_,d)=>t(x,{leftSide:n(_),children:f("div",{className:"grid grid-cols-3  md:grid-cols-6",children:[t("div",{className:"col-1",children:t(an,{checked:r(`create_${_}`),onChange:p=>c(`create_${_}`,p.target.checked),cypressRef:`create_${_}`})}),t("div",{className:"col-1",children:t(an,{checked:r(`view_${_}`),onChange:p=>c(`view_${_}`,p.target.checked),cypressRef:`view_${_}`})}),t("div",{className:"col-1",children:t(an,{checked:r(`edit_${_}`),onChange:p=>c(`edit_${_}`,p.target.checked),cypressRef:`edit_${_}`})})]})},d))]})}function ok(){const[e,n]=g.useState(!1),{id:a}=xt(),{data:s}=Kv({id:a,enabled:e}),[o,i]=g.useState(),[r]=N(),c=[r("details"),r("notifications"),r("permissions")],l=[{name:r("settings"),href:"/settings"},{name:r("user_management"),href:"/settings/users"},{name:r("edit_user"),href:U("/settings/users/:id/edit",{id:a})}],_=bt(),d=Ce(),p=Xe(),[m,h]=g.useState(),u=Ie(un);g.useEffect(()=>{s!=null&&s.data.data&&s.data.data.email===(_==null?void 0:_.email)?d("/settings/user_details"):i(s==null?void 0:s.data.data)},[s==null?void 0:s.data.data]);const v=()=>{T.processing(),$("PUT",D("/api/v1/users/:id?include=company_user",{id:a}),o).then(()=>{T.success("updated_user"),ie(["users"])}).catch(w=>{var y;((y=w.response)==null?void 0:y.status)===422&&(h(w.response.data),T.dismiss())})},b=w=>{T.processing(),p.fetchQuery(["/api/v1/users",a],()=>$("GET",D("/api/v1/users/:id?include=company_user",{id:a}),{},{headers:{"X-Api-Password":w}}),{staleTime:1/0}).then(()=>{n(!0),T.dismiss()}).catch(y=>{var k;((k=y.response)==null?void 0:k.status)===412&&(T.error("password_error_incorrect"),u(0))})};return f(Ve,{breadcrumbs:l,title:r("edit_user"),onSaveClick:v,navigationTopRight:o&&t(sk,{user:o}),children:[t(yn,{show:!e,onSave:b,onClose:n}),o&&o.email_verified_at===null&&f(it,{type:"warning",children:[r("email_sent_to_confirm_email"),"."]}),f(jn,{tabs:c,children:[t("div",{children:o&&t(jl,{user:o,setUser:i,errors:m})}),t("div",{children:o&&t(Fl,{user:o,setUser:i})}),t("div",{children:o&&t(Bl,{user:o,setUser:i})})]})]})}function ik(){Se("new_user");const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("user_management"),href:"/settings/users"},{name:e("new_user"),href:"/settings/users/create"}],a=[e("details"),e("notifications"),e("permissions")],s=Ie(un),{data:o}=Qv(),[i,r]=g.useState(),[c,l]=g.useState(),[_,d]=g.useState(!1),p=Ce();g.useEffect(()=>{r({...o==null?void 0:o.data.data,company_user:{permissions:"",notifications:{email:[]},settings:{table_columns:[],report_settings:[],number_years_active:1,include_deleted_clients:!1,accent_color:"#2F7DC3"},is_owner:!1,is_admin:!1,is_locked:!1,updated_at:+new Date,archived_at:+new Date,created_at:+new Date,permissions_updated_at:+new Date,ninja_portal_url:""}})},[o==null?void 0:o.data.data]);const m=h=>{T.processing(),d(!1),$("POST",D("/api/v1/users?include=company_user"),i,{headers:{"X-Api-Password":h,...va()}}).then(u=>{T.success("created_user"),ie(["users"]),p(U("/settings/users/:id/edit",{id:u.data.data.id}))}).catch(u=>{var v,b;if(((v=u.response)==null?void 0:v.status)===412)T.error("password_error_incorrect"),s(0);else if(((b=u.response)==null?void 0:b.status)===422){const w=u.response.data;w.errors.id?T.error(w.errors.id):T.dismiss(),l(w)}})};return f(Ve,{title:e("new_user"),breadcrumbs:n,onSaveClick:()=>d(!0),disableSaveButton:!Ct()&&It(),children:[!Ct()&&It()&&t(Fn,{message:e("add_users_not_supported")}),t(yn,{show:_,onSave:m,onClose:d}),f(jn,{tabs:a,children:[t("div",{children:i&&t(jl,{user:i,setUser:r,errors:c})}),t("div",{children:i&&t(Fl,{user:i,setUser:r})}),t("div",{children:i&&t(Bl,{user:i,setUser:r})})]})]})}function zl(e){return f("div",{className:"flex justify-center",children:[t(mi,{pages:e.breadcrumbs}),t("div",{className:`container max-w-3xl space-y-6 ${e.className}`,children:e.children})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function rk(e){const{setPaymentTerm:n,setErrors:a}=e;return(s,o)=>{a(void 0),n(i=>i&&{...i,[s]:o})}}function ck(){const{documentTitle:e}=Se("create_payment_term"),[n]=N(),a=Ce(),{data:s}=df(),o=[{name:n("settings"),href:"/settings"},{name:n("payment_settings"),href:"/settings/online_payments"},{name:n("payment_terms"),href:"/settings/payment_terms"},{name:n("create_payment_term"),href:"/settings/payment_terms/create"}],[i,r]=g.useState(),[c,l]=g.useState(!1),[_,d]=g.useState(),p=rk({setErrors:r,setPaymentTerm:d}),m=(u,v)=>{u.preventDefault(),c||(T.processing(),l(!0),$("POST",D("/api/v1/payment_terms"),_).then(b=>{T.success("created_payment_term"),ie(["payment_terms"]),v==="save"?a(U("/settings/payment_terms/:id/edit",{id:b.data.data.id})):s&&d(s)}).catch(b=>{var w;((w=b.response)==null?void 0:w.status)===422&&(T.dismiss(),r(b.response.data))}).finally(()=>l(!1)))},h=[{onClick:u=>m(u,"create"),text:`${n("save")} / ${n("create")}`,icon:t(L,{element:gn})}];return g.useEffect(()=>{s&&d(s)},[s]),t(Ve,{title:n("payment_terms"),breadcrumbs:o,children:t(zl,{breadcrumbs:[],children:t(Z,{title:e,withSaveButton:!0,disableSubmitButton:c,onFormSubmit:u=>m(u,"save"),onSaveClick:u=>m(u,"save"),additionalSaveOptions:h,children:t(Qn,{children:t(We,{precision:0,required:!0,value:(_==null?void 0:_.num_days)||"",label:n("number_of_days"),onValueChange:u=>p("num_days",Number(u)),errorMessage:i==null?void 0:i.errors.num_days,disablePrecision:!0})})})})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function lk(){return e=>{T.processing(),Ci([e],"archive").then(()=>T.success("archived_payment_term")).finally(()=>ie(["payment_terms"]))}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function dk(){return e=>{T.processing(),Ci([e],"delete").then(()=>T.success("deleted_payment_term")).finally(()=>ie(["payment_terms"]))}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function _k(){return e=>{T.processing(),Ci([e],"restore").then(()=>T.success("restored_payment_term")).finally(()=>ie(["payment_terms"]))}}function uk(e){const[n]=N(),a=lk(),s=_k(),o=dk();return f(Sn,{label:n("more_actions"),children:[!e.paymentTerm.archived_at&&!e.paymentTerm.is_deleted&&t(M,{onClick:()=>a(e.paymentTerm.id),icon:t(L,{element:Rt}),children:n("archive")}),(e.paymentTerm.archived_at||e.paymentTerm.is_deleted)&&t(M,{onClick:()=>s(e.paymentTerm.id),icon:t(L,{element:Vt}),children:n("restore")}),!e.paymentTerm.is_deleted&&t(M,{onClick:()=>o(e.paymentTerm.id),icon:t(L,{element:kt}),children:n("delete")})]})}function mk(){Se("payment_terms");const[e]=N(),{id:n}=xt(),a=[{name:e("settings"),href:"/settings"},{name:e("payment_settings"),href:"/settings/online_payments"},{name:e("payment_terms"),href:"/settings/payment_terms"},{name:e("edit_payment_term"),href:U("/settings/payment_terms/:id/edit",{id:n})}],{data:s}=lf({id:n}),o=()=>{ie(["payment_terms"])},i=On({enableReinitialize:!0,initialValues:{num_days:(s==null?void 0:s.data.data.num_days)||0},onSubmit:r=>{T.processing(),$("PUT",D("/api/v1/payment_terms/:id",{id:s==null?void 0:s.data.data.id}),r).then(()=>T.success("updated_payment_term")).finally(()=>{i.setSubmitting(!1),o()})}});return f(Ve,{title:e("payment_terms"),breadcrumbs:a,navigationTopRight:s&&t(uk,{paymentTerm:s.data.data}),children:[!s&&t("div",{className:"flex justify-center",children:t(st,{})}),s&&t(zl,{breadcrumbs:[],children:f(Z,{title:s.data.data.name,disableSubmitButton:i.isSubmitting,onFormSubmit:i.handleSubmit,withSaveButton:!0,children:[f(x,{leftSide:"Status",children:[!s.data.data.is_deleted&&!s.data.data.archived_at&&t(Oe,{variant:"primary",children:e("active")}),s.data.data.archived_at&&!s.data.data.is_deleted?t(Oe,{variant:"yellow",children:e("archived")}):null,s.data.data.is_deleted&&t(Oe,{variant:"red",children:e("deleted")})]}),t(Qn,{children:t(We,{precision:0,value:i.values.num_days||"",label:e("number_of_days"),onValueChange:r=>i.setFieldValue("num_days",r),disablePrecision:!0})})]})})]})}function pk(){const{documentTitle:e}=Se("payment_terms"),[n]=N(),a=[{name:n("settings"),href:"/settings"},{name:n("payment_settings"),href:"/settings/online_payments"},{name:n("payment_terms"),href:"/settings/payment_terms"}],s=[{id:"name",label:n("number_of_days"),format:(o,i)=>t(Pe,{to:U("/settings/payment_terms/:id/edit",{id:i.id}),children:o})}];return t(Ve,{breadcrumbs:a,title:e,children:t(wn,{endpoint:"/api/v1/payment_terms?sort=id|desc",bulkRoute:"/api/v1/payment_terms/bulk",resource:"payment_term",columns:s,linkToCreate:"/settings/payment_terms/create",linkToEdit:"/settings/payment_terms/:id/edit",withResourcefulActions:!0})})}const hk=()=>{const[e]=N();return[{id:"name",label:e("name"),format:(a,s)=>t(Pe,{to:U("/settings/tax_rates/:id/edit",{id:s.id}),children:s==null?void 0:s.name})},{id:"rate",label:e("tax_rate"),format:a=>f("span",{children:[a,"%"]})}]};function fk(){const e=Ae(),n=hk(),a=s=>{(s==="archive"||s==="delete")&&$("POST",D("/api/v1/refresh")).then(o=>{e(Mn(o.data.data)),e(li("company"))})};return t(wn,{resource:"tax_rate",endpoint:"/api/v1/tax_rates?sort=id|desc&per_page=100",bulkRoute:"/api/v1/tax_rates/bulk",columns:n,linkToCreate:"/settings/tax_rates/create",linkToEdit:"/settings/tax_rates/:id/edit",withResourcefulActions:!0,onBulkActionSuccess:(s,o)=>a(o)})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function gk(e){const{setTaxRate:n,setErrors:a}=e;return(s,o)=>{a(void 0),n(i=>i&&{...i,[s]:o})}}function vk(){const{documentTitle:e}=Se("create_tax_rate"),[n]=N(),a=Ce(),{data:s}=ap(),o=[{name:n("settings"),href:"/settings"},{name:n("tax_settings"),href:"/settings/tax_settings"},{name:n("create_tax_rate"),href:"/settings/tax_rates/create"}],[i,r]=g.useState(),[c,l]=g.useState(),[_,d]=g.useState(!1),p=gk({setErrors:r,setTaxRate:l}),m=(u,v)=>{u.preventDefault(),_||(T.processing(),d(!0),$("POST",D("/api/v1/tax_rates"),c).then(b=>{T.success("created_tax_rate"),ie(["tax_rates"]),v==="save"?a(U("/settings/tax_rates/:id/edit",{id:b.data.data.id})):s&&l(s)}).catch(b=>{var w;((w=b.response)==null?void 0:w.status)===422&&(T.dismiss(),r(b.response.data))}).finally(()=>d(!1)))},h=[{onClick:u=>m(u,"create"),text:`${n("save")} / ${n("create")}`,icon:t(L,{element:gn})}];return g.useEffect(()=>{s&&l(s)},[s]),t(Ve,{title:n("tax_rates"),breadcrumbs:o,children:t("div",{className:"max-w-3xl",children:t(Z,{title:e,withSaveButton:!0,disableSubmitButton:_,onFormSubmit:u=>m(u,"save"),onSaveClick:u=>m(u,"save"),additionalSaveOptions:h,children:f(Qn,{children:[t(q,{required:!0,type:"text",label:n("name"),value:c==null?void 0:c.name,onValueChange:u=>p("name",u),errorMessage:i==null?void 0:i.errors.name}),t(We,{required:!0,label:n("tax_rate"),value:(c==null?void 0:c.rate)||"",onValueChange:u=>p("rate",Number(u)),errorMessage:i==null?void 0:i.errors.rate})]})})})})}function yk(){const[e]=N(),n=sp();return[s=>s.archived_at===0&&t(M,{onClick:()=>n(s.id,"archive"),icon:t(L,{element:Rt}),children:e("archive")}),s=>s.archived_at>0&&t(M,{onClick:()=>n(s.id,"restore"),icon:t(L,{element:Vt}),children:e("restore")}),s=>!s.is_deleted&&t(M,{onClick:()=>n(s.id,"delete"),icon:t(L,{element:kt}),children:e("delete")})]}function bk(){var d,p;const{setDocumentTitle:e}=Se("edit_tax_rate"),[n]=N(),{id:a}=xt(),s=[{name:n("settings"),href:"/settings"},{name:n("tax_settings"),href:"/settings/tax_settings"},{name:n("edit_tax_rate"),href:U("/settings/tax_rates/:id/edit",{id:a})}],{data:o}=np({id:a}),[i,r]=g.useState({}),c=yk();g.useEffect(()=>{e(o==null?void 0:o.data.data.name)},[o]);const l=()=>{ie(["tax_rates"])},_=On({enableReinitialize:!0,initialValues:{name:(o==null?void 0:o.data.data.name)||"",rate:(o==null?void 0:o.data.data.rate)||0},onSubmit:m=>{r({}),T.processing(),$("PUT",D("/api/v1/tax_rates/:id",{id:a}),m).then(()=>T.success("updated_tax_rate")).catch(h=>{var u;((u=h.response)==null?void 0:u.status)===422&&(T.dismiss(),r(h.response.data))}).finally(()=>{_.setSubmitting(!1),l()})}});return f(Ve,{title:n("tax_rates"),navigationTopRight:o&&t(oa,{label:n("more_actions"),resource:o.data.data,actions:c}),breadcrumbs:s,children:[!o&&t("div",{className:"flex justify-center",children:t(st,{})}),o&&t("div",{className:"max-w-3xl",children:f(Z,{withSaveButton:!0,onFormSubmit:_.handleSubmit,disableSubmitButton:_.isSubmitting,title:o.data.data.name,children:[f(x,{leftSide:n("status"),children:[!o.data.data.is_deleted&&!o.data.data.archived_at&&t(Oe,{variant:"primary",children:n("active")}),o.data.data.archived_at&&!o.data.data.is_deleted?t(Oe,{variant:"yellow",children:n("archived")}):null,o.data.data.is_deleted&&t(Oe,{variant:"red",children:n("deleted")})]}),f(Qn,{children:[t(q,{type:"text",id:"name",label:n("name"),onChange:_.handleChange,errorMessage:(d=i==null?void 0:i.errors)==null?void 0:d.name,value:_.values.name}),t(We,{value:_.values.rate||"",label:n("tax_rate"),onValueChange:m=>_.setFieldValue("rate",m),errorMessage:(p=i==null?void 0:i.errors)==null?void 0:p.rate})]})]})})]})}function wk(){const e=()=>{ie(["documents"])},n=we();return f(F,{children:[n&&t(Ii,{endpoint:D("/api/v1/companies/:id/upload",{id:n.id}),onSuccess:e}),t(Lv,{})]})}function kk(){var c,l,_,d,p,m;const[e]=N(),n=Ae(),a=ht(),s=Ze(),o=$e(),i=De(ct),r=h=>n(Ge({object:"company",property:h.target.id,value:h.target.value}));return t(F,{children:(o==null?void 0:o.settings)&&f(Z,{title:e("address"),children:[t(x,{leftSide:t(K,{propertyKey:"address1",labelElement:t(Q,{label:e("address1")})}),children:t(q,{value:((c=o==null?void 0:o.settings)==null?void 0:c.address1)||"",onChange:r,id:"settings.address1",disabled:a("address1"),errorMessage:i==null?void 0:i.errors["settings.address1"]})}),t(x,{leftSide:t(K,{propertyKey:"address2",labelElement:t(Q,{label:e("address2")})}),children:t(q,{value:((l=o==null?void 0:o.settings)==null?void 0:l.address2)||"",onChange:r,id:"settings.address2",disabled:a("address2"),errorMessage:i==null?void 0:i.errors["settings.address2"]})}),t(x,{leftSide:t(K,{propertyKey:"city",labelElement:t(Q,{label:e("city")})}),children:t(q,{value:((_=o==null?void 0:o.settings)==null?void 0:_.city)||"",onChange:r,id:"settings.city",disabled:a("city"),errorMessage:i==null?void 0:i.errors["settings.city"]})}),t(x,{leftSide:t(K,{propertyKey:"state",labelElement:t(Q,{label:e("state")})}),children:t(q,{value:((d=o==null?void 0:o.settings)==null?void 0:d.state)||"",onChange:r,id:"settings.state",disabled:a("state"),errorMessage:i==null?void 0:i.errors["settings.state"]})}),t(x,{leftSide:t(K,{propertyKey:"postal_code",labelElement:t(Q,{label:e("postal_code")})}),children:t(q,{value:((p=o==null?void 0:o.settings)==null?void 0:p.postal_code)||"",onChange:r,id:"settings.postal_code",disabled:a("postal_code"),errorMessage:i==null?void 0:i.errors["settings.postal_code"]})}),t(x,{leftSide:t(K,{propertyKey:"country_id",labelElement:t(Q,{label:e("country")})}),children:t(Fs,{value:((m=o==null?void 0:o.settings)==null?void 0:m.country_id)||"",onChange:h=>s("settings.country_id",h),disabled:a("country_id"),dismissable:!0,errorMessage:i==null?void 0:i.errors["settings.country_id"]})})]})})}function xk(){var o,i,r,c,l,_,d,p;const[e]=N(),n=Ae(),a=ht(),s=qt(m=>m.companyUsers.changes.company);return t(F,{children:(s==null?void 0:s.settings)&&f(Z,{title:e("defaults"),children:[t(x,{leftSide:t(K,{propertyKey:"invoice_terms",labelElement:t(Q,{label:e("invoice_terms")})}),children:t(Xt,{value:((o=s==null?void 0:s.settings)==null?void 0:o.invoice_terms)||"",onChange:m=>n(Ge({object:"company",property:"settings.invoice_terms",value:m})),disabled:a("invoice_terms")})}),t(x,{className:"mt-4",leftSide:t(K,{propertyKey:"invoice_footer",labelElement:t(Q,{label:e("invoice_footer")})}),children:t(Xt,{value:((i=s==null?void 0:s.settings)==null?void 0:i.invoice_footer)||"",onChange:m=>n(Ge({object:"company",property:"settings.invoice_footer",value:m})),disabled:a("invoice_footer")})}),t(x,{className:"mt-4",leftSide:t(K,{propertyKey:"quote_terms",labelElement:t(Q,{label:e("quote_terms")})}),children:t(Xt,{value:((r=s==null?void 0:s.settings)==null?void 0:r.quote_terms)||"",onChange:m=>n(Ge({object:"company",property:"settings.quote_terms",value:m})),disabled:a("quote_terms")})}),t(x,{className:"mt-4",leftSide:t(K,{propertyKey:"quote_footer",labelElement:t(Q,{label:e("quote_footer")})}),children:t(Xt,{value:((c=s==null?void 0:s.settings)==null?void 0:c.quote_footer)||"",onChange:m=>n(Ge({object:"company",property:"settings.quote_footer",value:m})),disabled:a("quote_footer")})}),t(x,{className:"mt-4",leftSide:t(K,{propertyKey:"credit_terms",labelElement:t(Q,{label:e("credit_terms")})}),children:t(Xt,{value:((l=s==null?void 0:s.settings)==null?void 0:l.credit_terms)||"",onChange:m=>n(Ge({object:"company",property:"settings.credit_terms",value:m})),disabled:a("credit_terms")})}),t(x,{className:"mt-4",leftSide:t(K,{propertyKey:"credit_footer",labelElement:t(Q,{label:e("credit_footer")})}),children:t(Xt,{value:((_=s==null?void 0:s.settings)==null?void 0:_.credit_footer)||"",onChange:m=>n(Ge({object:"company",property:"settings.credit_footer",value:m})),disabled:a("credit_footer")})}),t(x,{className:"mt-4",leftSide:t(K,{propertyKey:"purchase_order_terms",labelElement:t(Q,{label:e("purchase_order_terms")})}),children:t(Xt,{value:((d=s==null?void 0:s.settings)==null?void 0:d.purchase_order_terms)||"",onChange:m=>n(Ge({object:"company",property:"settings.purchase_order_terms",value:m})),disabled:a("purchase_order_terms")})}),t(x,{className:"mt-4",leftSide:t(K,{propertyKey:"purchase_order_footer",labelElement:t(Q,{label:e("purchase_order_footer")})}),children:t(Xt,{value:((p=s==null?void 0:s.settings)==null?void 0:p.purchase_order_footer)||"",onChange:m=>n(Ge({object:"company",property:"settings.purchase_order_footer",value:m})),disabled:a("purchase_order_footer")})})]})})}function Ck(){var l,_,d,p,m,h,u,v,b,w,y,k,C;const[e]=N(),n=Ae(),a=ht(),{isCompanySettingsActive:s}=lt(),{data:o}=tn(),i=De(ct),r=qt(S=>S.companyUsers.changes.company),c=(S,E)=>n(Ge({object:"company",property:S,value:E}));return t(F,{children:(r==null?void 0:r.settings)&&f(Z,{title:e("details"),children:[t(x,{leftSide:t(K,{propertyKey:"name",labelElement:t(Q,{label:e("company_name")})}),children:t(q,{value:((l=r==null?void 0:r.settings)==null?void 0:l.name)||"",onValueChange:S=>c("settings.name",S.toString()),disabled:a("name"),errorMessage:i==null?void 0:i.errors["settings.name"]})}),t(x,{leftSide:t(K,{propertyKey:"id_number",labelElement:t(Q,{label:e("id_number")})}),children:t(q,{value:((_=r==null?void 0:r.settings)==null?void 0:_.id_number)||"",onValueChange:S=>c("settings.id_number",S.toString()),disabled:a("id_number"),errorMessage:i==null?void 0:i.errors["settings.id_number"]})}),t(x,{leftSide:t(K,{propertyKey:"vat_number",labelElement:t(Q,{label:e("vat_number")})}),children:t(q,{value:((d=r==null?void 0:r.settings)==null?void 0:d.vat_number)||"",onValueChange:S=>c("settings.vat_number",S.toString()),disabled:a("vat_number"),errorMessage:i==null?void 0:i.errors["settings.vat_number"]})}),t(x,{leftSide:t(K,{propertyKey:"website",labelElement:t(Q,{label:e("website")})}),children:t(q,{value:((p=r==null?void 0:r.settings)==null?void 0:p.website)||"",onValueChange:S=>c("settings.website",S.toString()),disabled:a("website"),errorMessage:i==null?void 0:i.errors["settings.website"]})}),t(x,{leftSide:t(K,{propertyKey:"email",labelElement:t(Q,{label:e("email")})}),children:t(q,{value:((m=r==null?void 0:r.settings)==null?void 0:m.email)||"",onValueChange:S=>c("settings.email",S.toString()),disabled:a("email"),errorMessage:i==null?void 0:i.errors["settings.email"]})}),t(x,{leftSide:t(K,{propertyKey:"phone",labelElement:t(Q,{label:`${e("company")} ${e("phone")}`})}),children:t(q,{value:((h=r==null?void 0:r.settings)==null?void 0:h.phone)||"",onValueChange:S=>c("settings.phone",S.toString()),disabled:a("phone"),errorMessage:i==null?void 0:i.errors["settings.phone"]})}),(r==null?void 0:r.settings.country_id)=="756"?f(F,{children:[t(x,{leftSide:t(K,{propertyKey:"qr_iban",labelElement:t(Q,{label:e("qr_iban")})}),children:t(q,{value:((u=r==null?void 0:r.settings)==null?void 0:u.qr_iban)||"",onValueChange:S=>c("settings.qr_iban",S.toString()),disabled:a("qr_iban"),errorMessage:i==null?void 0:i.errors["settings.qr_iban"]})}),t(x,{leftSide:t(K,{propertyKey:"besr_id",labelElement:t(Q,{label:e("besr_id")})}),children:t(q,{value:((v=r==null?void 0:r.settings)==null?void 0:v.besr_id)||"",onValueChange:S=>c("settings.besr_id",S.toString()),disabled:a("besr_id"),errorMessage:i==null?void 0:i.errors["settings.besr_id"]})})]}):"",s&&t(x,{leftSide:e("size_id"),children:t(se,{value:(r==null?void 0:r.size_id)||"1",onValueChange:S=>c("size_id",S.toString()),errorMessage:i==null?void 0:i.errors.size_id,children:o==null?void 0:o.sizes.map(S=>t("option",{value:S.id,children:S.name},S.id))})}),s&&t(x,{leftSide:e("industry_id"),children:t(se,{value:(r==null?void 0:r.industry_id)||"1",onValueChange:S=>c("industry_id",S.toString()),errorMessage:i==null?void 0:i.errors.industry_id,children:o==null?void 0:o.industries.map(S=>t("option",{value:S.id,children:S.name},S.id))})}),t(x,{leftSide:t(K,{propertyKey:"classification",labelElement:t(Q,{label:e("classification")})}),children:f(se,{id:"classification",value:((b=r==null?void 0:r.settings)==null?void 0:b.classification)??"",onValueChange:S=>c("settings.classification",S.toString()),disabled:a("classification"),withBlank:!0,children:[t("option",{value:"individual",children:e("individual")}),t("option",{value:"business",children:e("business")}),t("option",{value:"company",children:e("company")}),t("option",{value:"partnership",children:e("partnership")}),t("option",{value:"trust",children:e("trust")}),t("option",{value:"charity",children:e("charity")}),t("option",{value:"government",children:e("government")}),t("option",{value:"other",children:e("other")})]})}),((w=r==null?void 0:r.custom_fields)==null?void 0:w.company1)&&t(at,{field:"company1",defaultValue:r.settings.custom_value1||"",value:r.custom_fields.company1,onValueChange:S=>c("settings.custom_value1",S.toString())}),((y=r==null?void 0:r.custom_fields)==null?void 0:y.company2)&&t(at,{field:"company2",defaultValue:r.settings.custom_value2||"",value:r.custom_fields.company2,onValueChange:S=>c("settings.custom_value2",S.toString())}),((k=r==null?void 0:r.custom_fields)==null?void 0:k.company3)&&t(at,{field:"company3",defaultValue:r.settings.custom_value3||"",value:r.custom_fields.company3,onValueChange:S=>c("settings.custom_value3",S.toString())}),((C=r==null?void 0:r.custom_fields)==null?void 0:C.company4)&&t(at,{field:"company4",defaultValue:r.settings.custom_value4||"",value:r.custom_fields.company4,onValueChange:S=>c("settings.custom_value4",S.toString())})]})})}function gr({isSettingsPage:e=!0}){const[n]=N(),a=$e(),s=we(),o=Ae(),{isGroupSettingsActive:i,isCompanySettingsActive:r,isClientSettingsActive:c}=lt(),l=De(Ba),_=Po({withoutNavigation:!0}),d=ji({withoutNavigation:!0}),p=On({enableReinitialize:!0,initialValues:a,onSubmit:()=>{T.processing();let h="/api/v1/companies/:id",u=s.id;l&&(i&&(h="/api/v1/group_settings/:id",u=l.id),c&&(h="/api/v1/clients/:id",u=l.id)),$("PUT",D(h,{id:u}),p.values).then(v=>{r&&o(ba({object:"company",data:v.data.data})),i&&(ie(["group_settings"]),_(v.data.data)),c&&(ie(["clients"]),d(v.data.data)),T.success("removed_logo")})}}),m=()=>{p.setFieldValue("settings.company_logo",""),p.submitForm()};return e?t(x,{children:t(te,{behavior:"button",type:"minimal",onClick:()=>m(),children:n("remove_logo")})}):t(te,{behavior:"button",type:"minimal",onClick:()=>m(),children:n("remove_logo")})}function Ul({isSettingsPage:e=!0}){const[n]=N(),a=we(),s=Ae(),[o,i]=g.useState(new FormData),r=mo(),{isGroupSettingsActive:c,isCompanySettingsActive:l,isClientSettingsActive:_}=lt(),d=De(Ba),p=Po({withoutNavigation:!0}),m=ji({withoutNavigation:!0}),h=On({enableReinitialize:!0,initialValues:o,onSubmit:()=>{T.processing();let y="/api/v1/companies/:id",k=a.id;d&&(c&&(y="/api/v1/group_settings/:id",k=d.id),_&&(y="/api/v1/clients/:id",k=d.id)),$("POST",D(y,{id:k}),o,{headers:{"Content-Type":"multipart/form-data"}}).then(C=>{l&&s(ba({object:"company",data:C.data.data})),c&&(ie(["group_settings"]),p(C.data.data)),_&&(ie(["clients"]),m(C.data.data)),T.success("uploaded_logo")}).finally(()=>i(new FormData))}}),u=g.useCallback(y=>{o.append("company_logo",y[0]),o.append("_method","PUT"),i(o),h.submitForm()},[o]),{getRootProps:v,getInputProps:b,isDragActive:w}=Ds({onDrop:u,multiple:!1,maxFiles:1,accept:{"image/*":[".jpeg",".png"]}});return e?f(Z,{title:n("logo"),children:[t(x,{leftSide:n("logo"),children:f("div",{className:"grid grid-cols-12 lg:gap-4 space-y-4 lg:space-y-0",children:[t("div",{className:"bg-gray-200 col-span-12 lg:col-span-5 rounded-lg p-6",children:t("img",{src:r,alt:n("company_logo")??"Company logo"})}),t("div",{className:"col-span-12 lg:col-span-5 bg-gray-900 rounded-lg p-6",children:t("img",{src:r,alt:n("company_logo")??"Company logo"})})]})}),t(x,{leftSide:n("upload_logo"),children:t("div",{...v(),className:"flex flex-col md:flex-row md:items-center",children:f("div",{className:"relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",children:[t("input",{...b()}),t(qa,{className:"mx-auto h-12 w-12 text-gray-400"}),t("span",{className:"mt-2 block text-sm font-medium",children:w?"drop_your_logo_here":n("dropzone_default_message")})]})})}),t(gr,{})]}):f("div",{className:"flex flex-col space-y-5",children:[t("span",{className:"text-lg font-medium",children:n("upload_logo")}),f("div",{className:"grid grid-cols-12 gap-x-4",children:[t("div",{className:"bg-gray-200 col-span-6 rounded-lg p-6",children:t("img",{src:r,alt:n("company_logo")??"Company logo"})}),t("div",{className:"col-span-6 bg-gray-900 rounded-lg p-6",children:t("img",{src:r,alt:n("company_logo")??"Company logo"})})]}),f("div",{className:"flex flex-col space-y-3",children:[t("div",{...v(),className:"flex flex-col md:flex-row md:items-center",children:f("div",{className:"relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",children:[t("input",{...b()}),t(qa,{className:"mx-auto h-12 w-12 text-gray-400"}),t("span",{className:"mt-2 block text-sm font-medium",children:w?"drop_your_logo_here":n("dropzone_default_message")})]})}),t("div",{className:"self-start",children:t(gr,{isSettingsPage:!1})})]})]})}function Sk(){const[e]=N(),n=we(),a=An();return f(F,{children:[t(bi,{}),t(Z,{title:e("custom_fields"),children:t("div",{className:"px-6",children:n&&["company1","company2","company3","company4"].map(s=>t(_n,{initialValue:n.custom_fields[s]||"",field:s,placeholder:e("company_field"),onChange:o=>a(s,o)},s))})})]})}function Ek(){const[e]=N(),n=[{id:"name",label:e("name"),format:(a,s)=>t(Pe,{to:U("/settings/task_statuses/:id/edit",{id:s.id}),children:a})},{id:"color",label:e("color"),format:a=>t("div",{className:"w-10 h-4 border border-gray-300 rounded-sm",style:{backgroundColor:a.toString()}})}];return t(wn,{resource:"task_status",columns:n,endpoint:"/api/v1/task_statuses?sort=id|desc",bulkRoute:"/api/v1/task_statuses/bulk",linkToCreate:"/settings/task_statuses/create",linkToEdit:"/settings/task_statuses/:id/edit",withResourcefulActions:!0})}function Tk(){const{documentTitle:e}=Se("new_task_status"),[n]=N(),a=Ce(),s=rt(),o=[{name:n("settings"),href:"/settings"},{name:n("task_settings"),href:"/settings/task_settings"},{name:n("new_task_status"),href:"/settings/task_statuses/create"}],{data:i}=vl(),[r,c]=g.useState(),[l,_]=g.useState(!1),[d,p]=g.useState(),m=Li({setErrors:c,setTaskStatus:p}),h=(v,b)=>{v.preventDefault(),l||(T.processing(),c(void 0),_(!0),$("POST",D("/api/v1/task_statuses"),d).then(w=>{T.success("created_task_status"),ie(["task_statuses"]),b==="save"?a(U("/settings/task_statuses/:id/edit",{id:w.data.data.id})):p(i)}).catch(w=>{var y;((y=w.response)==null?void 0:y.status)===422&&(c(w.response.data),T.dismiss())}).finally(()=>_(!1)))};g.useEffect(()=>{i&&p(i)},[i]);const u=[{onClick:v=>h(v,"create"),text:`${n("save")} / ${n("create")}`,icon:t(L,{element:gn})}];return t(Ve,{title:n("task_statuses"),breadcrumbs:o,children:t("div",{className:"max-w-3xl",children:t(Z,{title:e,withSaveButton:!0,disableSubmitButton:l,onSaveClick:v=>h(v,"save"),additionalSaveOptions:u,children:f(Qn,{children:[t(q,{required:!0,label:n("name"),value:d==null?void 0:d.name,onValueChange:v=>m("name",v),errorMessage:r==null?void 0:r.errors.name}),t(Pn,{children:n("color")}),t(za,{value:(d==null?void 0:d.color)||s,onValueChange:v=>m("color",v)})]})})})})}function Pk(){var w;const[e]=N(),{id:n}=xt(),a=Ob(),s=[{name:e("settings"),href:"/settings"},{name:e("task_settings"),href:"/settings/task_settings"},{name:e("edit_task_status"),href:U("/settings/task_statuses/:id/edit",{id:n})}],{data:o}=Vb({id:n}),[i,r]=g.useState(),[c,l]=g.useState(!1),{documentTitle:_,setDocumentTitle:d}=Se(""),[p,m]=g.useState(!1),[h,u]=g.useState(),v=Li({setErrors:u,setTaskStatus:r}),b=y=>{y.preventDefault(),p||(T.processing(),u(void 0),m(!0),$("PUT",D("/api/v1/task_statuses/:id",{id:n}),i).then(()=>{T.success("updated_task_status"),ie(["task_statuses"]),l(!1)}).catch(k=>{var C;((C=k.response)==null?void 0:C.status)===422&&(u(k.response.data),T.dismiss())}).finally(()=>m(!1)))};return g.useEffect(()=>{o&&r(o.data.data)},[o]),g.useEffect(()=>{i&&!c&&(d(i.name),l(!0))},[i]),f(Ve,{title:e("task_statuses"),navigationTopRight:i&&t(oa,{label:e("more_actions"),resource:i,actions:a}),breadcrumbs:s,children:[!i&&t("div",{className:"flex justify-center",children:t(st,{})}),i&&t("div",{className:"max-w-3xl",children:f(Z,{title:_,withSaveButton:!0,disableSubmitButton:p,onFormSubmit:b,children:[f(x,{leftSide:e("status"),children:[!i.is_deleted&&!i.archived_at&&t(Oe,{variant:"primary",children:e("active")}),i.archived_at&&!i.is_deleted?t(Oe,{variant:"yellow",children:e("archived")}):null,i.is_deleted&&t(Oe,{variant:"red",children:e("deleted")})]}),f(Qn,{children:[t(q,{required:!0,label:e("name"),value:i.name,onValueChange:y=>v("name",y),errorMessage:(w=h==null?void 0:h.errors)==null?void 0:w.name}),t(Pn,{children:e("color")}),t(za,{value:i.color,onValueChange:y=>v("color",y)})]})]})})]})}function Ak(){const[e]=N(),{documentTitle:n}=Se("api_tokens"),{dateFormat:a}=At(),s=[{name:e("settings"),href:"/settings"},{name:e("account_management"),href:"/settings/account_management"},{name:e("api_tokens"),href:"/settings/integrations/api_tokens"}],o=[{id:"name",label:e("name"),format:(i,r)=>t(Pe,{to:U("/settings/integrations/api_tokens/:id/edit",{id:r==null?void 0:r.id}),children:r==null?void 0:r.name})},{id:"created_at",label:e("created_on"),format:(i,r)=>Qe(r.created_at,a)}];return t(Ve,{title:n,breadcrumbs:s,children:t(wn,{resource:"token",columns:o,endpoint:"/api/v1/tokens?sort=id|desc&is_system=false",bulkRoute:"/api/v1/tokens/bulk",linkToCreate:"/settings/integrations/api_tokens/create",linkToEdit:"/settings/integrations/api_tokens/:id/edit",withResourcefulActions:!0})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Nk(e){const{isOwner:n,isAdmin:a}=Je();return xe(["/api/v1/tokens",e.id],()=>$("GET",D("/api/v1/tokens/:id",{id:e.id})).then(s=>s.data.data),{staleTime:1/0,enabled:n||a})}function Ik(){return(e,n)=>{T.processing(),$("POST",D("/api/v1/tokens/bulk"),{action:n,ids:[e]}).then(()=>{T.success(`${n}d_token`),ie(["tokens"])})}}function Dk(){const{isAdmin:e}=Je();return xe("/api/v1/tokens/create",()=>$("GET",D("/api/v1/tokens/create")).then(n=>n.data.data),{staleTime:1/0,enabled:e})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Hl(e){const{setApiToken:n,setErrors:a}=e;return(s,o)=>{a(void 0),n(i=>i&&{...i,[s]:o})}}function $k(){const[e]=N(),{documentTitle:n}=Se("new_token"),a=Ce(),s=[{name:e("settings"),href:"/settings"},{name:e("account_management"),href:"/settings/account_management"},{name:e("api_tokens"),href:"/settings/integrations/api_tokens"},{name:e("new_token"),href:"/settings/integrations/api_tokens/create"}],{data:o}=Dk(),i=Ie(un),[r,c]=g.useState(!1),[l,_]=g.useState(!1),[d,p]=g.useState(),[m,h]=g.useState(),u=Hl({setApiToken:p,setErrors:h}),v=b=>{l||(h(void 0),T.processing(),_(!0),$("POST",D("/api/v1/tokens"),d,{headers:{"X-Api-Password":b}}).then(w=>{T.success("created_token"),ie(["tokens"]),a(U("/settings/integrations/api_tokens/:id/edit",{id:w.data.data.id}))}).catch(w=>{var y,k;((y=w.response)==null?void 0:y.status)===422&&(T.dismiss(),h(w.response.data)),((k=w.response)==null?void 0:k.status)===412&&(T.error("password_error_incorrect"),i(0))}).finally(()=>_(!1)))};return g.useEffect(()=>{o&&p(o)},[o]),f(F,{children:[t(yn,{show:r,onClose:c,onSave:v}),t(Ve,{title:n,breadcrumbs:s,onSaveClick:()=>c(!0),disableSaveButton:!d,children:t(Z,{title:e("new_token"),children:t(x,{leftSide:e("name"),required:!0,children:t(q,{required:!0,onValueChange:b=>u("name",b),errorMessage:m==null?void 0:m.errors.name})})})})]})}function Rk(){const[e]=N(),n=Ik();return[s=>s.archived_at===0&&t(M,{onClick:()=>n(s.id,"archive"),icon:t(L,{element:Rt}),children:e("archive")}),s=>s.archived_at>0&&t(M,{onClick:()=>n(s.id,"restore"),icon:t(L,{element:Vt}),children:e("restore")}),s=>!s.is_deleted&&t(M,{onClick:()=>n(s.id,"delete"),icon:t(L,{element:kt}),children:e("delete")})]}function Vk(){const[e]=N(),{id:n}=xt(),{data:a}=Nk({id:n}),s=Ce(),{documentTitle:o}=Se("edit_token"),i=[{name:e("settings"),href:"/settings"},{name:e("account_management"),href:"/settings/account_management"},{name:e("api_tokens"),href:"/settings/integrations/api_tokens"},{name:e("edit_token"),href:U("/settings/integrations/api_tokens/:id/edit",{id:n})}],r=Rk(),{dateFormat:c}=At(),l=Ie(un),[_,d]=g.useState(!1),[p,m]=g.useState(!1),[h,u]=g.useState(),[v,b]=g.useState(),w=Hl({setApiToken:u,setErrors:b}),y=k=>{p||(b(void 0),T.processing(),m(!0),$("PUT",D("/api/v1/tokens/:id",{id:n}),h,{headers:{"X-Api-Password":k}}).then(()=>{T.success("updated_token"),ie(["tokens"]),s(U("/settings/integrations/api_tokens"))}).catch(C=>{var S,E;((S=C.response)==null?void 0:S.status)===422&&(T.dismiss(),b(C.response.data)),((E=C.response)==null?void 0:E.status)===412&&(T.error("password_error_incorrect"),l(0))}).finally(()=>m(!1)))};return g.useEffect(()=>{a&&u(a)},[a]),f(F,{children:[t(yn,{show:_,onClose:d,onSave:y}),t(Ve,{title:o,breadcrumbs:i,disableSaveButton:!h,onSaveClick:()=>d(!0),navigationTopRight:h&&t(oa,{resource:h,label:e("more_actions"),actions:r}),children:a&&h&&f(Z,{title:a.name,children:[f(x,{leftSide:"Status",children:[!h.is_deleted&&!h.archived_at&&t(Oe,{variant:"primary",children:e("active")}),h.archived_at&&!h.is_deleted?t(Oe,{variant:"yellow",children:e("archived")}):null,h.is_deleted&&t(Oe,{variant:"red",children:e("deleted")})]}),t(x,{leftSide:e("name"),required:!0,children:t(q,{value:h.name,onValueChange:k=>w("name",k),errorMessage:v==null?void 0:v.errors.name})}),t(x,{leftSide:e("token"),children:t(Dt,{secure:!0,className:"break-all",text:h.token})}),t(x,{leftSide:e("created_on"),children:Qe(h.created_at,c)})]})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Fi(){const[e]=N(),n="1",a="2",s="3",o="4",i="5",r="6",c="7",l="8",_="9",d="10",p="11",m="12",h="13",u="14",v="15",b="16",w="17",y="18",k="19",C="20",S="21",E="22",I="23",H="24",z="33",j="37",W="41",ee="45",V="60",O="61",Y="34",le="42",ne="64",Le="27",ze="62",G="28",ge="35",qe="43",Pt="29",Tt="31",pe="32",vt="40",_e="48",Ee="49",Ne="39",Ue="47",mt="36",Gt="44",Wt="25",Bn="26",Kt="38",Jt="46",ms="30",Na="50",ps="51",dt="52",Ga="53",hs="54",In="55",hn="63",Wa="56",fs="57",gs="58",Ka="59",vs="65";return[{event:n,label:e("create_client")},{event:d,label:e("update_client")},{event:j,label:e("archive_client")},{event:ee,label:e("restore_client")},{event:p,label:e("delete_client")},{event:a,label:e("create_invoice")},{event:V,label:e("sent_invoice")},{event:l,label:e("update_invoice")},{event:E,label:e("late_invoice")},{event:H,label:e("remind_invoice")},{event:z,label:e("archive_invoice")},{event:W,label:e("restore_invoice")},{event:_,label:e("delete_invoice")},{event:s,label:e("create_quote")},{event:O,label:e("sent_quote")},{event:r,label:e("update_quote")},{event:S,label:e("approve_quote")},{event:I,label:e("expired_quote")},{event:Y,label:e("archive_quote")},{event:le,label:e("restore_quote")},{event:c,label:e("delete_quote")},{event:ne,label:e("remind_quote")},{event:Le,label:e("create_credit")},{event:ze,label:e("sent_credit")},{event:G,label:e("update_credit")},{event:ge,label:e("archive_credit")},{event:qe,label:e("restore_credit")},{event:Pt,label:e("delete_credit")},{event:o,label:e("create_payment")},{event:Tt,label:e("update_payment")},{event:pe,label:e("archive_payment")},{event:vt,label:e("restore_payment")},{event:m,label:e("delete_payment")},{event:i,label:e("create_vendor")},{event:h,label:e("update_vendor")},{event:_e,label:e("archive_vendor")},{event:Ee,label:e("restore_vendor")},{event:u,label:e("delete_vendor")},{event:v,label:e("create_expense")},{event:b,label:e("update_expense")},{event:Ne,label:e("archive_expense")},{event:Ue,label:e("restore_expense")},{event:w,label:e("delete_expense")},{event:y,label:e("create_task")},{event:k,label:e("update_task")},{event:mt,label:e("archive_task")},{event:Gt,label:e("restore_task")},{event:C,label:e("delete_task")},{event:Wt,label:e("create_project")},{event:Bn,label:e("update_project")},{event:Kt,label:e("archive_project")},{event:Jt,label:e("restore_project")},{event:ms,label:e("delete_project")},{event:Na,label:e("create_product")},{event:ps,label:e("update_product")},{event:dt,label:e("delete_product")},{event:Ga,label:e("restore_product")},{event:hs,label:e("archive_product")},{event:In,label:e("create_purchase_order")},{event:hn,label:e("sent_purchase_order")},{event:Wa,label:e("update_purchase_order")},{event:fs,label:e("delete_purchase_order")},{event:gs,label:e("restore_purchase_order")},{event:Ka,label:e("archive_purchase_order")},{event:vs,label:e("accept_purchase_order")}]}function qk(){const[e]=N(),n=Fi();return[{id:"endpoint",label:e("endpoint"),format:(s,o)=>t(Pe,{to:U("/settings/integrations/api_webhooks/:id/edit",{id:o.id}),children:o.target_url})},{id:"method",label:e("method"),format:(s,o)=>o.rest_method.toUpperCase()},{id:"event_id",label:e("event_type"),format:(s,o)=>{var i;return((i=n.find(({event:r})=>r===o.event_id))==null?void 0:i.label)||""}}]}function Lk(){Se("api_webhooks");const[e]=N(),n=qk(),a=[{name:e("settings"),href:"/settings"},{name:e("account_management"),href:"/settings/account_management"},{name:e("api_webhooks"),href:"/settings/integrations/api_webhooks"}];return t(Ve,{title:e("api_webhooks"),breadcrumbs:a,children:t(wn,{resource:"webhook",columns:n,endpoint:"/api/v1/webhooks?sort=id|desc",bulkRoute:"/api/v1/webhooks/bulk",linkToCreate:"/settings/integrations/api_webhooks/create",linkToEdit:"/settings/integrations/api_webhooks/:id/edit",withResourcefulActions:!0})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ok(e){const{isAdmin:n}=Je();return xe(["/api/v1/webhooks",e.id],()=>$("GET",D("/api/v1/webhooks/:id",{id:e.id})).then(a=>a.data.data),{staleTime:1/0,enabled:n})}function Mk(){const{isAdmin:e}=Je();return xe("/api/v1/webhooks/create",()=>$("GET",D("/api/v1/webhooks/create")).then(n=>n.data.data),{staleTime:1/0,enabled:e})}function jk(){return(e,n)=>{T.processing(),$("POST",D("/api/v1/webhooks/bulk"),{action:n,ids:[e]}).then(()=>{T.success(`${n}d_webhook`),ie(["webhooks"])})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Gl(e){const{setApiWebHook:n,setErrors:a}=e;return(s,o)=>{a(void 0),n(i=>i&&{...i,[s]:o})}}function Fk(){const[e]=N(),{documentTitle:n}=Se("new_webhook"),{data:a}=Mk(),s=[{name:e("settings"),href:"/settings"},{name:e("account_management"),href:"/settings/account_management"},{name:e("api_webhooks"),href:"/settings/integrations/api_webhooks"},{name:e("new_webhook"),href:"/settings/integrations/api_webhooks/create"}],o=Fi(),[i,r]=g.useState({}),[c,l]=g.useState({}),[_,d]=g.useState(),[p,m]=g.useState(),[h,u]=g.useState(!1),v=Gl({setApiWebHook:m,setErrors:d}),b=k=>{if(Object.hasOwn(i,k)){const C={...i};delete C[k],r(C)}},w=Ce(),y=()=>{p&&!h&&(T.processing(),u(!0),d(void 0),p.headers=i,$("POST",D("/api/v1/webhooks"),p).then(k=>{T.success("created_webhook"),ie(["webhooks"]),w(U("/settings/integrations/api_webhooks/:id/edit",{id:k.data.data.id}))}).catch(k=>{var C;((C=k.response)==null?void 0:C.status)===422&&(T.dismiss(),d(k.response.data))}).finally(()=>u(!1)))};return g.useEffect(()=>{a&&m({...a,headers:{}})},[a]),t(Ve,{title:e("api_webhooks"),breadcrumbs:s,disableSaveButton:!p,onSaveClick:y,children:f(Z,{title:n,children:[t(x,{leftSide:e("target_url"),required:!0,children:t(q,{required:!0,value:p==null?void 0:p.target_url,onValueChange:k=>v("target_url",k),errorMessage:_==null?void 0:_.errors.target_url})}),t(x,{leftSide:e("event_type"),children:t(sa,{value:p==null?void 0:p.event_id,onValueChange:k=>v("event_id",k),errorMessage:_==null?void 0:_.errors.event_id,children:o.map(k=>t("option",{value:k.event,children:k.label},k.event))})}),t(x,{leftSide:e("method"),children:f(se,{value:p==null?void 0:p.rest_method,onValueChange:k=>v("rest_method",k),errorMessage:_==null?void 0:_.errors.method,children:[t("option",{value:"post",children:"POST"}),t("option",{value:"put",children:"PUT"})]})}),t(x,{leftSide:e("add_header"),children:f("div",{className:"flex flex-col",children:[f("div",{className:"flex flex-1 justify-between items-center space-x-6",children:[t("div",{className:"flex-1",children:t(q,{debounceTimeout:0,id:"header_key",placeholder:e("header_key"),value:c.key||"",onValueChange:k=>l({...c,key:k})})}),t("div",{className:"flex-1",children:t(q,{className:"flex-1",debounceTimeout:0,id:"header_value",value:c.value||"",placeholder:e("header_value"),onValueChange:k=>l({...c,value:k})})}),t(te,{behavior:"button",type:"minimal",disableWithoutIcon:!0,disabled:!c.key||!c.value,onClick:()=>{r(k=>({...k,[c.key]:c.value})),l({})},children:t(Zt,{})})]}),f("div",{className:"flex flex-col space-y-5 pt-5",children:[Object.entries(i).map(([k,C],S)=>f("div",{className:"flex justify-between items-center space-x-4",children:[t("span",{className:"flex-1 text-start",children:k}),t("span",{className:"flex-1 text-start",children:C}),t(te,{behavior:"button",type:"minimal",onClick:()=>b(k),children:t(Ln,{size:18})})]},S)),!Object.entries(i).length&&t("span",{className:"text-gray-500 self-center text-xl",children:e("no_headers")})]})]})})]})})}function Bk(){const[e]=N(),n=jk();return[s=>s.archived_at===0&&t(M,{onClick:()=>n(s.id,"archive"),icon:t(L,{element:Rt}),children:e("archive")}),s=>s.archived_at>0&&t(M,{onClick:()=>n(s.id,"restore"),icon:t(L,{element:Vt}),children:e("restore")}),s=>!s.is_deleted&&t(M,{onClick:()=>n(s.id,"delete"),icon:t(L,{element:kt}),children:e("delete")})]}function zk(){const[e]=N(),{id:n}=xt();Se("edit_webhook");const a=Ce(),s=Bk(),o=[{name:e("settings"),href:"/settings"},{name:e("account_management"),href:"/settings/account_management"},{name:e("api_webhooks"),href:"/settings/integrations/api_webhooks"},{name:e("edit_webhook"),href:U("/settings/integrations/api_webhooks/:id/edit",{id:n})}],i=Fi(),[r,c]=g.useState({}),[l,_]=g.useState({}),[d,p]=g.useState(),[m,h]=g.useState(!1),[u,v]=g.useState(),b=Gl({setApiWebHook:v,setErrors:p}),{data:w}=Ok({id:n}),y=C=>{if(Object.hasOwn(r,C)){const S={...r};delete S[C],c(S)}},k=()=>{u&&!m&&(T.processing(),h(!0),p(void 0),u.headers=r,$("PUT",D("/api/v1/webhooks/:id",{id:n}),u).then(()=>{T.success("created_webhook"),ie(["webhooks"]),a("/settings/integrations/api_webhooks")}).catch(C=>{var S;((S=C.response)==null?void 0:S.status)===422&&(T.dismiss(),p(C.response.data))}).finally(()=>h(!1)))};return g.useEffect(()=>{w&&(v(w),c(w.headers))},[w]),t(Ve,{title:e("api_webhooks"),breadcrumbs:o,disableSaveButton:!u,onSaveClick:k,navigationTopRight:u&&t(oa,{label:e("more_actions"),resource:u,actions:s}),children:f(Z,{title:w==null?void 0:w.target_url,children:[t(x,{leftSide:e("target_url"),required:!0,children:t(q,{required:!0,value:u==null?void 0:u.target_url,onValueChange:C=>b("target_url",C),errorMessage:d==null?void 0:d.errors.target_url})}),t(x,{leftSide:e("event_type"),children:t(sa,{value:u==null?void 0:u.event_id,onValueChange:C=>b("event_id",C),errorMessage:d==null?void 0:d.errors.event_id,children:i.map(C=>t("option",{value:C.event,children:C.label},C.event))})}),t(x,{leftSide:e("method"),children:f(se,{value:u==null?void 0:u.rest_method,onValueChange:C=>b("rest_method",C),errorMessage:d==null?void 0:d.errors.rest_method,children:[t("option",{value:"post",children:"POST"}),t("option",{value:"put",children:"PUT"})]})}),t(x,{leftSide:e("add_header"),children:f("div",{className:"flex flex-col",children:[f("div",{className:"flex flex-1 justify-between items-center space-x-6",children:[t("div",{className:"flex-1",children:t(q,{debounceTimeout:0,id:"header_key",placeholder:e("header_key"),value:l.key||"",onValueChange:C=>_({...l,key:C})})}),t("div",{className:"flex-1",children:t(q,{debounceTimeout:0,id:"header_value",value:l.value||"",placeholder:e("header_value"),onValueChange:C=>_({...l,value:C})})}),t(te,{behavior:"button",type:"minimal",disableWithoutIcon:!0,disabled:!l.key||!l.value,onClick:()=>{c(C=>({...C,[l.key]:l.value})),_({})},children:t(Zt,{})})]}),f("div",{className:"flex flex-col space-y-5 pt-5",children:[Object.entries(r).map(([C,S],E)=>f("div",{className:"flex justify-between items-center space-x-4",children:[t("span",{className:"flex-1 text-start",children:C}),t("span",{className:"flex-1 text-start",children:S}),t(te,{behavior:"button",type:"minimal",onClick:()=>y(C),children:t(Ln,{size:18})})]},E)),!Object.entries(r).length&&t("span",{className:"text-gray-500 self-center text-xl",children:e("no_headers")})]})]})})]})})}function Uk(){const[e]=N(),n=[{name:e("settings"),href:"/settings"},{name:e("account_management"),href:"/settings/account_management"},{name:e("analytics"),href:"/settings/integrations/analytics"}];Se("analytics");const a=Ae(),s=we(),o=$e(),[i,r]=g.useState(),[c,l]=g.useState(!1);g.useEffect(()=>{a(La({object:"company",data:s}))},[s]);const _=p=>{r(void 0),a(Ge({object:"company",property:p.target.id,value:p.target.value}))},d=()=>{c||(T.processing(),l(!0),r(void 0),$("PUT",D("/api/v1/companies/:id",{id:o.id}),o).then(p=>{a(ba({object:"company",data:p.data.data})),T.success("updated_settings")}).catch(p=>{var m;((m=p.response)==null?void 0:m.status)===422&&(r(p.response.data),T.dismiss())}).finally(()=>l(!1)))};return t(Ve,{title:e("analytics"),breadcrumbs:n,onSaveClick:d,disableSaveButton:c,children:f(Z,{title:e("analytics"),children:[t(x,{leftSide:f("div",{className:"flex flex-col items-start",children:[e("google_analytics_tracking_id"),t(Pe,{to:"https://support.google.com/analytics/answer/1037249?hl=en",external:!0,children:e("learn_more")})]}),children:t(q,{id:"google_analytics_key",value:o==null?void 0:o.google_analytics_key,onChange:_,errorMessage:i==null?void 0:i.errors.google_analytics_key})}),t(x,{leftSide:e("matomo_id"),children:t(q,{id:"matomo_id",value:o==null?void 0:o.matomo_id,onChange:_,errorMessage:i==null?void 0:i.errors.matomo_id})}),t(x,{leftSide:e("matomo_url"),children:t(q,{id:"matomo_url",value:o==null?void 0:o.matomo_url,onChange:_,errorMessage:i==null?void 0:i.errors.matomo_url})})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Wl(){const[e,n]=g.useState([]),{data:a}=tn();return g.useEffect(()=>{a!=null&&a.gateways&&n(()=>a.gateways.filter(s=>s.visible).sort((s,o)=>s.sort_order>o.sort_order?1:-1))},[a]),e}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Kl(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/(^\w|\s\w)/g,n=>n.toUpperCase())}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ql(e){return(n,a)=>{e(s=>s&&{...s,config:JSON.stringify({...JSON.parse(s.config),[n]:a})})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Ao(e){const n=JSON.parse(e.config);return a=>n[a]||""}function Yl(e,n){const a=Ao(e),s=Ql(n),o=rt();return(i,r,c)=>{if(i.toLowerCase().endsWith("color"))return t(za,{value:a(i)||o,onValueChange:l=>s(i,l)});if(i==="text")return t(Xt,{value:a(i),onChange:l=>s(i,l)});if(i==="appleDomainVerification")return t(q,{element:"textarea",onChange:l=>s(i,l.target.value),value:a(i),errorMessage:c==null?void 0:c.errors.appleDomainVerification});if(typeof r=="string"){const l=i.toLowerCase().includes("key")||i.toLowerCase().includes("password")||i.toLowerCase().includes("secret")||i.toLowerCase().includes("id");return t(q,{type:l?"password":"text",onChange:_=>s(i,_.target.value),value:a(i),errorMessage:c==null?void 0:c.errors[i]})}if(typeof r=="boolean")return t(B,{checked:a(i),onChange:l=>s(i,l)});if(typeof r=="object")return t(se,{onChange:l=>s(i,l.target.value),value:a(i),errorMessage:c==null?void 0:c.errors[i],children:r.map((l,_)=>t("option",{value:l,children:l},_))})}}function Hk(){const[e]=N();return t(x,{children:t(te,{onClick:()=>{$("POST",D("/api/v1/one_time_token"),{context:"stripe_connect"}).then(a=>{var s;return(s=window.open(U("https://invoicing.co/stripe/signup/:token",{token:a.data.hash}),"_blank"))==null?void 0:s.focus()})},type:"minimal",behavior:"button",children:e("gateway_setup")})})}function Gk(){const[e]=N();return t(x,{children:t(te,{onClick:()=>{$("POST",D("/api/v1/one_time_token"),{context:"wepay"}).then(a=>{var s;return(s=window.open(U("https://invoicing.co/wepay/signup/:token",{token:a.data.hash}),"_blank"))==null?void 0:s.focus()})},type:"minimal",behavior:"button",children:e("gateway_setup")})})}function Wk(e){const[n]=N(),a=()=>{$("POST",D("/api/v1/one_time_token"),{context:"paypal_ppcp"}).then(c=>{var l;return(l=window.open(U("https://invoicing.co/paypal?hash=:hash",{hash:c.data.hash}),"_blank"))==null?void 0:l.focus()})},s=Ao(e.companyGateway),o=Yl(e.companyGateway,e.setCompanyGateway),i=()=>{const c=s("status"),l=s("merchantId");return c==="activated"&&l},r=()=>s("merchantId").length>0;return f(F,{children:[t(x,{leftSide:n("status"),children:f("ul",{className:"list-none",children:[f("li",{children:[t("b",{children:"Merchant id:"})," ",s("merchantId")]}),f("li",{children:[f("b",{children:[n("status"),":"]})," ",s("status")]}),f("li",{children:[f("b",{children:[n("email"),":"]})," ",s("emailVerified")]}),f("li",{children:[f("b",{children:[n("permissions"),":"]})," ",s("permissions")]}),f("li",{children:[f("b",{children:[n("notifications"),":"]})," ",s("returnMessage")]})]})}),e.companyGateway&&!i()&&t(x,{children:t(te,{onClick:a,type:"minimal",behavior:"button",children:n("gateway_setup")})}),e.gateway&&r()&&Object.keys(JSON.parse(e.gateway.fields)).map((c,l)=>t(x,{leftSide:Kl(c),children:o(c,JSON.parse(e.gateway.fields)[c],e.errors)},l))]})}function Kk({companyGateway:e,setCompanyGateway:n}){const{t:a}=N(),s=Ao(e),o=Ql(n);return f(F,{children:[t(x,{leftSide:a("OAuth 2.0"),children:t(oo,{size:18})}),t(x,{leftSide:a("test_mode"),children:t(B,{checked:s("testMode"),onChange:i=>o("testMode",i)})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Xl(){return()=>$("POST",D("/api/v1/one_time_token"),{context:"gocardless_oauth2"}).then(e=>{var n;return(n=window.open(U("https://invoicing.co/gocardless/oauth/connect/:token",{token:e.data.hash}),"_blank"))==null?void 0:n.focus()})}function Jl(e){const[n]=N(),a=zt(),s=Yl(e.companyGateway,e.setCompanyGateway),o=Ao(e.companyGateway),i="d14dd26a47cecc30fdd65700bfb67b34",r="8fdeed552015b3c7b44ed6c8ebd9e992",c="80af24a6a691230bbec33e930ab40666",l="b9886f9257f0c6ee7c302f1c74475f6c",_=[i,r,c],d=we();e.gateway.key===l&&o("oauth2")===!0&&(d==null?void 0:d.id)==="zPdyrzO7eQ"&&_.push(l);const[p,m]=g.useState(!1),[h,u]=g.useState(),[v,b]=g.useState(""),w=()=>{p||(T.processing(),m(!0),$("POST",D("/api/v1/company_gateways/:id/test",{id:e.companyGateway.id})).then(()=>u(!0)).catch(k=>{var C,S;b((S=(C=k.response)==null?void 0:C.data)==null?void 0:S.message),u(!1)}).finally(()=>{T.dismiss(),m(!1)}))},y=Xl();return f(F,{children:[f(Z,{title:n("credentials"),children:[e.gateway.site_url&&e.gateway.site_url.length>=1&&t(x,{leftSide:n("help"),children:t(Pe,{external:!0,to:e.gateway.site_url,children:n("learn_more")})}),e.gateway&&e.gateway.key===i&&t(Hk,{}),e.gateway&&e.gateway.key===r&&t(Gk,{}),e.gateway&&e.gateway.key===c&&t(Wk,{gateway:e.gateway,companyGateway:e.companyGateway,setCompanyGateway:e.setCompanyGateway,errors:e.errors}),e.gateway&&e.gateway.key===l&&It()&&o("oauth2")===!0&&t(Kk,{companyGateway:e.companyGateway,setCompanyGateway:e.setCompanyGateway}),e.gateway&&!_.includes(e.gateway.key)&&Object.keys(JSON.parse(e.gateway.fields)).map((k,C)=>t(x,{leftSide:Kl(k),children:s(k,JSON.parse(e.gateway.fields)[k],e.errors)},C)),e.gateway&&e.gateway.key===l&&It()&&o("oauth2")!==!0&&(d==null?void 0:d.id)==="zPdyrzO7eQ"&&t(x,{leftSide:n("OAuth 2.0"),children:t(te,{behavior:"button",type:"minimal",onClick:y,children:n("connect")})}),t(ye,{}),!a.pathname.includes("/create")&&f(F,{children:[t(ye,{}),t("div",{className:"flex justify-end pr-6",children:t(te,{behavior:"button",onClick:w,disableWithoutIcon:!0,disabled:p||!e.isGatewaySaved,children:n("health_check")})})]})]}),t(Fe,{title:n("status"),visible:typeof h<"u",onClose:()=>u(void 0),children:typeof h<"u"&&t("span",{className:"text-center font-medium text-base pb-3",children:n(h?"success":v||"status_failed")})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Qk(e){return(n,a,s)=>{e&&e(o=>o&&{...o,fees_and_limits:{...o.fees_and_limits,[n]:{...o.fees_and_limits[n],[a]:s}}})}}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */var ut=(e=>(e.CreditCard="1",e.BankTransfer="2",e.PayPal="3",e.Crypto="4",e.Custom="5",e.Alipay="6",e.Sofort="7",e.ApplePay="8",e.SEPA="9",e.Credit="10",e.KBC="11",e.Bancontact="12",e.IDeal="13",e.Hosted="14",e.Giropay="15",e.Przelewy24="16",e.EPS="17",e.DirectDebit="18",e.ACSS="19",e.BECS="20",e.InstantBankPay="21",e.FPX="22",e.KLARNA="23",e.BACS="24",e.VENMO="25",e.MERCADOPAGO="26",e.MYBANK="27",e.PAYLATER="28",e.PAYPAL_ADVANCED_CARDS="29",e))(ut||{});/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const Yk={[ut.CreditCard]:"credit_card",[ut.BankTransfer]:"bank_transfer",[ut.PayPal]:"paypal",[ut.Crypto]:"crypto",[ut.Custom]:"custom",[ut.Alipay]:"alipay",[ut.Sofort]:"sofort",[ut.ApplePay]:"apple_pay",[ut.SEPA]:"sepa",[ut.Credit]:"credit",[ut.KBC]:"kbc",[ut.Bancontact]:"bancontact",[ut.IDeal]:"ideal",[ut.Hosted]:"hosted",[ut.Giropay]:"giropay",[ut.Przelewy24]:"przelewy24",[ut.DirectDebit]:"direct_debit",[ut.EPS]:"eps",[ut.ACSS]:"acss",[ut.BECS]:"becs",[ut.InstantBankPay]:"instant_bank_pay",[ut.KLARNA]:"klarna",[ut.BACS]:"bacs",[ut.FPX]:"fpx",[ut.VENMO]:"venmo",[ut.MERCADOPAGO]:"mercadopago",[ut.MYBANK]:"mybank",[ut.PAYLATER]:"paylater",[ut.PAYPAL_ADVANCED_CARDS]:"paypal_advanced_cards"};/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Zl(){const[e]=N();return n=>e(Yk[n]||"other")}const Xk=et(void 0);function ed(e){var _,d,p,m,h,u,v,b,w,y,k,C,S,E,I,H,z,j,W,ee,V,O,Y,le,ne,Le,ze,G,ge,qe,Pt,Tt;const[n]=N(),a=we(),[s,o]=tt(Xk),i=Zl(),r=Qk(e.setCompanyGateway);g.useEffect(()=>{const pe=Object.entries(e.companyGateway.fees_and_limits).filter(([,vt])=>vt.is_enabled);typeof s<"u"&&pe.length>0||(pe.length>0?o(pe[0][0]):o(void 0))},[e.companyGateway]);const c=pe=>{o(pe.target.value)},l=(pe,vt)=>{s&&r(s,pe,vt)};return f(Z,{title:n("limits_and_fees"),children:[t(x,{leftSide:n("payment_type"),children:t(se,{onChange:c,errorMessage:(_=e.errors)==null?void 0:_.errors.gatewayTypeId,children:Object.entries(e.companyGateway.fees_and_limits).filter(([,pe])=>pe.is_enabled).map(([pe],vt)=>t("option",{value:pe,children:i(pe)},vt))})}),s&&f(F,{children:[t(ye,{}),t(x,{leftSide:`${n("min")} ${n("limit")}`,children:f("div",{className:"space-y-4",children:[t(We,{value:((p=(d=e.companyGateway.fees_and_limits)==null?void 0:d[s])==null?void 0:p.min_limit)||"",onValueChange:pe=>l("min_limit",parseFloat(pe)||-1),disabled:((h=(m=e.companyGateway.fees_and_limits)==null?void 0:m[s])==null?void 0:h.min_limit)===-1,errorMessage:(u=e.errors)==null?void 0:u.errors.min_limit}),t(B,{checked:((b=(v=e.companyGateway.fees_and_limits)==null?void 0:v[s])==null?void 0:b.min_limit)>=0,label:n("enable_min"),onValueChange:pe=>l("min_limit",pe?0:-1)})]})}),t(x,{leftSide:`${n("max")} ${n("limit")}`,children:f("div",{className:"space-y-4",children:[t(We,{value:((y=(w=e.companyGateway.fees_and_limits)==null?void 0:w[s])==null?void 0:y.max_limit)||"",onValueChange:pe=>l("max_limit",parseFloat(pe)||-1),disabled:((C=(k=e.companyGateway.fees_and_limits)==null?void 0:k[s])==null?void 0:C.max_limit)===-1,errorMessage:(S=e.errors)==null?void 0:S.errors.max_limit}),t(B,{checked:((I=(E=e.companyGateway.fees_and_limits)==null?void 0:E[s])==null?void 0:I.max_limit)>=0,label:n("enable_max"),onValueChange:pe=>l("max_limit",pe?0:-1)})]})}),t(ye,{}),t(x,{leftSide:n("fee_percent"),children:t(We,{value:((z=(H=e.companyGateway.fees_and_limits)==null?void 0:H[s])==null?void 0:z.fee_percent)||"",onValueChange:pe=>l("fee_percent",parseFloat(pe)),errorMessage:(j=e.errors)==null?void 0:j.errors.fee_percent})}),t(x,{leftSide:n("fee_amount"),children:t(We,{value:((ee=(W=e.companyGateway.fees_and_limits)==null?void 0:W[s])==null?void 0:ee.fee_amount)||"",onValueChange:pe=>l("fee_amount",parseFloat(pe)),errorMessage:(V=e.errors)==null?void 0:V.errors.fee_amount})}),a&&a.enabled_item_tax_rates>0&&t(x,{leftSide:n("tax"),children:t(ha,{defaultValue:((Y=(O=e.companyGateway)==null?void 0:O.fees_and_limits[s])==null?void 0:Y.fee_tax_name1)||"",onChange:pe=>{var vt,_e;l("fee_tax_name1",((vt=pe.resource)==null?void 0:vt.name)||""),l("fee_tax_rate1",((_e=pe.resource)==null?void 0:_e.rate)||0)},onClearButtonClick:()=>{l("fee_tax_name1",""),l("fee_tax_rate1",0)},onTaxCreated:pe=>{l("fee_tax_name1",pe.name),l("fee_tax_rate1",pe.rate)}})}),a&&a.enabled_item_tax_rates>1&&t(x,{leftSide:n("tax"),children:t(ha,{defaultValue:((ne=(le=e.companyGateway)==null?void 0:le.fees_and_limits[s])==null?void 0:ne.fee_tax_name2)||"",onChange:pe=>{var vt,_e;l("fee_tax_name2",((vt=pe.resource)==null?void 0:vt.name)||""),l("fee_tax_rate2",((_e=pe.resource)==null?void 0:_e.rate)||0)},onClearButtonClick:()=>{l("fee_tax_name2",""),l("fee_tax_rate2",0)},onTaxCreated:pe=>{l("fee_tax_name2",pe.name),l("fee_tax_rate2",pe.rate)}})}),a&&a.enabled_item_tax_rates>2&&t(x,{leftSide:n("tax"),children:t(ha,{defaultValue:((ze=(Le=e.companyGateway)==null?void 0:Le.fees_and_limits[s])==null?void 0:ze.fee_tax_name3)||"",onChange:pe=>{var vt,_e;l("fee_tax_name3",((vt=pe.resource)==null?void 0:vt.name)||""),l("fee_tax_rate3",((_e=pe.resource)==null?void 0:_e.rate)||0)},onClearButtonClick:()=>{l("fee_tax_name3",""),l("fee_tax_rate3",0)},onTaxCreated:pe=>{l("fee_tax_name3",pe.name),l("fee_tax_rate3",pe.rate)}})}),t(x,{leftSide:n("fee_cap"),children:t(We,{value:((ge=(G=e.companyGateway.fees_and_limits)==null?void 0:G[s])==null?void 0:ge.fee_cap)||"",onValueChange:pe=>l("fee_cap",parseFloat(pe)),errorMessage:(qe=e.errors)==null?void 0:qe.errors.fee_cap})}),t(x,{leftSide:n("adjust_fee_percent"),children:t(B,{checked:(Tt=(Pt=e.companyGateway.fees_and_limits)==null?void 0:Pt[s])==null?void 0:Tt.adjust_fee_percent,label:n("adjust_fee_percent_help"),onValueChange:pe=>l("adjust_fee_percent",pe)})})]})]})}function td(e){const[n]=N(),a=(s,o)=>{e.setCompanyGateway(i=>i&&{...i,[s]:o})};return f(Z,{title:n("required_fields"),children:[t(x,{leftSide:n("client_name"),children:t(B,{checked:e.companyGateway.require_client_name,onChange:s=>a("require_client_name",s)})}),t(x,{leftSide:n("client_phone"),children:t(B,{checked:e.companyGateway.require_client_phone,onChange:s=>a("require_client_phone",s)})}),t(x,{leftSide:n("contact_name"),children:t(B,{checked:e.companyGateway.require_contact_name,onChange:s=>a("require_contact_name",s)})}),t(x,{leftSide:n("contact_email"),children:t(B,{checked:e.companyGateway.require_contact_email,onChange:s=>a("require_contact_email",s)})}),t(x,{leftSide:n("postal_code"),children:t(B,{checked:e.companyGateway.require_postal_code,onChange:s=>a("require_postal_code",s)})}),t(x,{leftSide:n("cvv"),children:t(B,{checked:e.companyGateway.require_cvv,onChange:s=>a("require_cvv",s)})}),t(x,{leftSide:n("billing_address"),children:t(B,{checked:e.companyGateway.require_billing_address,onChange:s=>a("require_billing_address",s)})}),t(x,{leftSide:n("shipping_address"),children:t(B,{checked:e.companyGateway.require_shipping_address,onChange:s=>a("require_shipping_address",s)})}),t(ye,{}),t(x,{leftSide:n("update_address"),children:t(B,{label:n("update_address_help"),checked:e.companyGateway.update_details,onChange:s=>a("update_details",s)})}),t(x,{leftSide:n("always_show_required_fields"),children:t(B,{label:n("always_show_required_fields_help"),checked:e.companyGateway.always_show_required_fields??!0,onChange:s=>a("always_show_required_fields",s)})})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const nd={adjust_fee_percent:!1,fee_amount:0,fee_cap:0,fee_percent:0,fee_tax_name1:"",fee_tax_name2:"",fee_tax_name3:"",fee_tax_rate1:0,fee_tax_rate2:0,fee_tax_rate3:0,is_enabled:!0,max_limit:-1,min_limit:-1};function Jk(e,n){return(a,s)=>{if(Object.hasOwn(e.fees_and_limits,a))return n(o=>o&&{...o,fees_and_limits:{...o.fees_and_limits,[a]:{...o.fees_and_limits[a],is_enabled:s}}});n(o=>o&&{...o,fees_and_limits:{...o.fees_and_limits,[a]:nd}})}}function ad(e){var d,p;const[n]=N(),[a,s]=g.useState(e.gateway),[o,i]=g.useState([]);g.useEffect(()=>s(e.gateway),[e.gateway]),g.useEffect(()=>{const m=[];for(const h in a.options)m.push({gatewayTypeId:h,...a.options[h]});i([...m])},[a]);const r=Zl(),c=(m,h)=>{e.setCompanyGateway(u=>u&&{...u,[m]:h})},l=Jk(e.companyGateway,e.setCompanyGateway),_=m=>{const h=Object.entries(e.companyGateway.fees_and_limits).find(([v])=>m===v);if(!h)return!1;const[,u]=h;return u.is_enabled};return f(Z,{title:n("settings"),children:[t(x,{leftSide:n("label"),children:t(q,{value:e.companyGateway.label||a.name,onValueChange:m=>c("label",m),errorMessage:(d=e.errors)==null?void 0:d.errors.label})}),o.some(m=>m.token_billing==!0)&&t(x,{leftSide:n("capture_card"),children:f(se,{value:e.companyGateway.token_billing||"off",onValueChange:m=>c("token_billing",m),errorMessage:(p=e.errors)==null?void 0:p.errors.token_billing,children:[t("option",{value:"always",children:n("enabled")}),t("option",{value:"optout",children:n("auto_bill_help_optout")}),t("option",{value:"optin",children:n("auto_bill_help_optin")}),t("option",{value:"off",children:n("off")})]})}),t(ye,{}),o.map((m,h)=>t(x,{leftSide:r(m.gatewayTypeId),children:t(B,{checked:_(m.gatewayTypeId),onChange:u=>l(m.gatewayTypeId,u)})},h))]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function Zk(e,n){const a=Ce(),s=Xe(),o=De(Ut);return i=>{T.processing(),n(void 0),$("POST",D("/api/v1/company_gateways"),e).then(r=>{o&&s.invalidateQueries([o]),ie(["company_gateways"]),T.success("created_company_gateway"),a(U("/settings/gateways/:id/edit?tab=:defaultTabIndex",{id:r.data.data.id,defaultTabIndex:i}))}).catch(r=>{var c;((c=r==null?void 0:r.response)==null?void 0:c.status)===422&&(T.dismiss(),n(r.response.data))})}}const ex="/gateway-card-images/visa.png",tx="/gateway-card-images/authorize-net.png",nx="/gateway-card-images/american-express.png",ax="/gateway-card-images/mastercard.png",jo="/gateway-card-images/paypal.png",sx="/gateway-card-images/braintree.svg.png",ox="/gateway-card-images/checkout.jpg",ix="/gateway-card-images/gocardless.png",rx="/gateway-card-images/mollie.png",cx="/gateway-card-images/payfast.png",lx="/gateway-card-images/paytrace.svg",dx="/gateway-card-images/razorpay.png",_x="/gateway-card-images/square.svg.png",ux="/gateway-card-images/stripe.svg",mx="/gateway-card-images/eway.png",px="/gateway-card-images/forte.png",hx="/gateway-card-images/wepay.svg",fx="/gateway-card-images/btcpay.png",gx=["paypal_ppcp","visa","american_express","mastercard","paypal_platform","authorize","braintree","checkoutcom","gocardless","mollie","payfast","paytrace","razorpay","square","stripe","wepay","eway","forte","paypal_rest","btcpay"];function Ko(e){switch(e.name){case"visa":return t("img",{src:ex,alt:"Visa",style:e.style||{width:30,height:30}});case"american_express":return t("img",{src:nx,alt:"American Express",style:e.style||{width:30,height:30}});case"mastercard":return t("img",{src:ax,alt:"Mastercard",style:e.style||{width:30,height:30}});case"paypal_platform":return t("img",{src:jo,alt:"PayPal",style:e.style||{width:40,height:40}});case"paypal_rest":return t("img",{src:jo,alt:"PayPal Rest",style:e.style||{width:40,height:40}});case"paypal_ppcp":return t("img",{src:jo,alt:"PayPal",style:e.style||{width:40,height:40}});case"authorize":return t("img",{src:tx,alt:"AuthorizeNet",style:e.style||{width:40,height:40}});case"braintree":return t("img",{src:sx,alt:"Braintree",style:e.style||{width:40,height:40}});case"checkoutcom":return t("img",{src:ox,alt:"Checkoutcom",style:e.style||{width:40,height:40}});case"gocardless":return t("img",{src:ix,alt:"GoCardless",style:e.style||{width:40,height:40}});case"mollie":return t("img",{src:rx,alt:"Mollie",style:e.style||{width:40,height:40}});case"payfast":return t("img",{src:cx,alt:"Payfast",style:e.style||{width:40,height:40}});case"paytrace":return t("img",{src:lx,alt:"Paytrace",style:e.style||{width:40,height:40}});case"razorpay":return t("img",{src:dx,alt:"Razorpay",style:e.style||{width:40,height:40}});case"square":return t("img",{src:_x,alt:"Square",style:e.style||{width:40,height:40}});case"stripe":return t("img",{src:ux,alt:"Stripe",style:e.style||{width:40,height:40}});case"eway":return t("img",{src:mx,alt:"Eway",style:e.style||{width:40,height:40}});case"forte":return t("img",{src:px,alt:"Forte",style:e.style||{width:40,height:40}});case"wepay":return t("img",{src:hx,alt:"Wepay",style:e.style||{width:30,height:30}});case"btcpay":return t("img",{src:fx,alt:"BTCPay",style:e.style||{width:30,height:30}});default:return t(F,{})}}const vx=[{name:"paypal_ppcp",width:110},{name:"paypal_express",width:110},{name:"mollie",width:110},{name:"eway",width:170},{name:"forte",width:190},{name:"square",width:130},{name:"checkoutcom",width:170},{name:"btcpay",width:90}],yx=[{name:"stripe",key:"d14dd26a37cecc30fdd65700bfb55b23"},{name:"stripe",key:"d14dd26a47cecc30fdd65700bfb67b34"},{name:"paypal_platform",key:"80af24a6a691230bbec33e930ab40666"},{name:"paypal_rest",key:"80af24a6a691230bbec33e930ab40665"},{name:"braintree",key:"f7ec488676d310683fb51802d076d713"},{name:"paypal_ppcp",key:"80af24a6a691230bbec33e930ab40666"},{name:"authorize",key:"3b6621f970ab18887c4f6dca78d3f8bb"},{name:"mollie",key:"1bd651fb213ca0c9d66ae3c336dc77e8"},{name:"gocardless",key:"b9886f9257f0c6ee7c302f1c74475f6c"},{name:"forte",key:"kivcvjexxvdiyqtj3mju5d6yhpeht2xs"},{name:"razorpay",key:"hxd6gwg3ekb9tb3v9lptgx1mqyg69zu9"},{name:"square",key:"65faab2ab6e3223dbe848b1686490baz"},{name:"paytrace",key:"bbd736b3254b0aabed6ad7fda1298c88"},{name:"checkoutcom",key:"3758e7f7c6f4cecf0f4f348b9a00f456"},{name:"payfast",key:"d6814fc83f45d2935e7777071e629ef9"},{name:"eway",key:"944c20175bbe6b9972c05bcfe294c2c7"},{name:"btcpay",key:"vpyfbmdrkqcicpkjqdusgjfluebftuva"}],bx=["38f2c48af60c7dd69e04248cbb24c36e","80af24a6a691230bbec33e930ab40665","8fdeed552015b3c7b44ed6c8ebd9e992"];function wx(){const[e]=N(),{documentTitle:n}=Se("add_gateway"),{data:a}=ep(),[s,o]=g.useState(),[i,r]=g.useState(),[c,l]=g.useState(),[_,d]=g.useState([]),[p,m]=g.useState(!1),[h,u]=g.useState(0),v=Wl(),b=Zk(s,r),w=we(),y=(V,O)=>{const Y=v.find(le=>le.id===V);if(l(Y),(Y==null?void 0:Y.key)==="80af24a6a691230bbec33e930ab40666")return k();if((Y==null?void 0:Y.key)==="d14dd26a47cecc30fdd65700bfb67b34")return C();if((Y==null?void 0:Y.key)==="b9886f9257f0c6ee7c302f1c74475f6c"&&It()&&(w==null?void 0:w.id)==="zPdyrzO7eQ")return S();O&&u(1)},k=()=>{$("POST",D("/api/v1/one_time_token"),{context:"paypal_ppcp"}).then(V=>{var O;return(O=window.open(U("https://invoicing.co/paypal?hash=:hash",{hash:V.data.hash}),"_blank"))==null?void 0:O.focus()})},C=()=>{$("POST",D("/api/v1/one_time_token"),{context:"stripe_connect"}).then(V=>{var O;return(O=window.open(U("https://invoicing.co/stripe/signup/:token",{token:V.data.hash}),"_blank"))==null?void 0:O.focus()})},S=Xl(),E=[e("payment_provider")],I=[e("credentials"),e("settings"),e("required_fields"),e("limits_and_fees")],H=[{name:e("settings"),href:"/settings"},{name:e("online_payments"),href:"/settings/online_payments"},{name:e("add_gateway"),href:"/settings/gateways/create"}],[z,j]=g.useState(E),W=V=>{const O=yx.find(Y=>Y.key===V);return(O==null?void 0:O.name)||""},ee=V=>{const O=vx.find(Y=>Y.name===V);return O?O.width:void 0};return g.useEffect(()=>{if(v){const V=v.filter(O=>!bx.includes(O.key));d(V)}},[v]),g.useEffect(()=>{a!=null&&a.data.data&&s===void 0&&o(a.data.data)},[a,c]),g.useEffect(()=>{o(Y=>Y&&c&&{...Y,gateway_key:c.key,token_billing:"always"}),(c?Object.entries(c.options):[]).find(([Y])=>Y==="1")&&o(Y=>Y&&{...Y,fees_and_limits:{...Y.fees_and_limits,1:nd}})},[c]),g.useEffect(()=>{j(c?[...E,...I]:[...E])},[c]),g.useEffect(()=>{p&&(b(1),m(!1))},[s]),f(Ve,{title:n,breadcrumbs:H,onSaveClick:()=>b(1),disableSaveButton:!c,children:[f(jn,{tabs:z,defaultTabIndex:h,onTabChange:V=>u(V),children:[t(Z,{title:e("add_gateway"),children:t(x,{leftSide:e("payment_provider"),children:t(se,{onValueChange:V=>y(V,!0),value:c==null?void 0:c.id,errorMessage:i==null?void 0:i.errors.gateway_key,withBlank:!0,children:_.map((V,O)=>t("option",{value:V.id,children:V.name},O))})})}),t("div",{children:c&&s&&t(Jl,{gateway:c,companyGateway:s,setCompanyGateway:o,errors:i})}),t("div",{children:c&&s&&t(ad,{gateway:c,companyGateway:s,setCompanyGateway:o,errors:i})}),t("div",{children:c&&s&&t(td,{gateway:c,companyGateway:s,setCompanyGateway:o})}),t("div",{children:c&&s&&t(ed,{gateway:c,companyGateway:s,setCompanyGateway:o,errors:i})})]}),!h&&t("div",{className:"flex flex-wrap gap-4",children:_.map((V,O)=>gx.includes(W(V.key))&&t(Z,{className:"w-52",children:f("div",{className:"flex flex-col items-center justify-between h-52",children:[t("div",{className:"flex justify-center items-center border-b border-b-gray-200 w-full h-28",children:t(Ko,{name:W(V.key),style:{width:ee(W(V.key))||150}})}),f("div",{className:oe("flex flex-col pt-4 flex-1",{"justify-between":V.site_url,"justify-end":!V.site_url}),children:[V.site_url&&t(Pe,{external:!0,to:V.site_url,children:e("website")}),t(te,{behavior:"button",onClick:()=>{V.key!=="80af24a6a691230bbec33e930ab40666"&&m(!0),y(V.id)},children:e("setup")})]})]})},O))})]})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function kx(e,n){return()=>{e&&(n(void 0),T.processing(),$("PUT",D("/api/v1/company_gateways/:id",{id:e==null?void 0:e.id}),e).then(()=>{T.success("updated_company_gateway"),ie(["company_gateways"])}).catch(a=>{var s;((s=a==null?void 0:a.response)==null?void 0:s.status)===422&&(T.dismiss(),n(a.response.data))}))}}function xx(){const[e]=N(),[n,a]=g.useState(!1),s=Ie(un),o=i=>{T.processing(),$("post",D("/api/v1/stripe/import_customers"),{},{headers:{"X-Api-Password":i}}).then(()=>T.success("imported_customers")).catch(r=>{var c;((c=r.response)==null?void 0:c.status)===412&&(T.error("password_error_incorrect"),s(0))})};return f(F,{children:[t(Z,{title:e("import_customers"),children:t(Nt,{onClick:()=>a(!0),children:e("click_to_continue")})}),t(yn,{onSave:o,show:n,onClose:a})]})}function Cx(e){const[n]=N(),a=we();return f(Z,{title:n("webhooks"),children:[t(x,{leftSide:n("webhook_url"),children:t(Dt,{className:"break-all",text:`${$s()}/payment_webhook/${a.company_key}/${e.companyGateway.id}`})}),t(x,{leftSide:n("supported_events"),children:t("ul",{className:"list-disc",children:wt(Object.values(e.gateway.options)).pluck("webhooks").flatten().unique().whereNotNull().all().sort().map((s,o)=>t("li",{children:s},o))})})]})}function Sx(){const[e]=N(),n=uc(),a=o=>{T.processing(),$("POST",D("/api/v1/company_gateways/:id/import_customers",{id:o})).then(i=>T.success(i.data.message))};return[o=>t(M,{onClick:()=>a(o.id),icon:t(L,{element:r_}),children:e("import_customers")}),()=>t(ye,{withoutPadding:!0}),o=>Me(o)===Re.Active&&t(M,{onClick:()=>n([o.id],"archive"),icon:t(L,{element:Rt}),children:e("archive")}),o=>(Me(o)===Re.Archived||Me(o)===Re.Deleted)&&t(M,{onClick:()=>n([o.id],"restore"),icon:t(L,{element:Vt}),children:e("restore")}),o=>(Me(o)===Re.Active||Me(o)===Re.Archived)&&t(M,{onClick:()=>n([o.id],"delete"),icon:t(L,{element:kt}),children:e("delete")})]}function Ex(){const{documentTitle:e}=Se("edit_gateway"),[n]=N(),[a]=As(),{id:s}=xt(),o=Sx(),i=Wl(),{data:r}=Zm({id:s}),c=[n("payment_provider")],[l,_]=g.useState(),[d,p]=g.useState(),[m,h]=g.useState(c),[u,v]=g.useState(),b=[n("credentials"),n("settings"),n("required_fields"),n("limits_and_fees")],w=[{name:n("settings"),href:"/settings"},{name:n("online_payments"),href:"/settings/online_payments"},{name:(u==null?void 0:u.label)??"",href:U("/settings/gateways/:id/edit",{id:s})}],y=kx(u,p);return g.useEffect(()=>{u&&_(i.find(k=>k.key==u.gateway_key))},[u,i]),g.useEffect(()=>{r!=null&&r.data.data&&v(r.data.data)},[r]),g.useEffect(()=>()=>{v(void 0)},[]),g.useEffect(()=>{h(l?[...c,...b]:[...c])},[l]),t(Ve,{title:e,breadcrumbs:w,navigationTopRight:u&&t(oa,{resource:u,onSaveClick:y,actions:o}),children:f(jn,{tabs:m,defaultTabIndex:Number(a.get("tab"))??0,children:[t("div",{children:u&&f("div",{className:"space-y-4",children:[t(Z,{title:n("edit_gateway"),children:t(x,{leftSide:n("payment_provider"),children:u.label})}),(l==null?void 0:l.key)==="d14dd26a37cecc30fdd65700bfb55b23"?t(xx,{}):null,l&&wt(Object.values(l.options)).pluck("webhooks").flatten().unique().whereNotNull().count()>1&&t(Cx,{companyGateway:u,gateway:l})]})}),t("div",{children:l&&u&&t(Jl,{gateway:l,companyGateway:u,setCompanyGateway:v,errors:d,isGatewaySaved:!!(r&&ce.isEqual(u,r.data.data))})}),t("div",{children:l&&u&&t(ad,{gateway:l,companyGateway:u,setCompanyGateway:v,errors:d})}),t("div",{children:l&&u&&t(td,{gateway:l,companyGateway:u,setCompanyGateway:v})}),t("div",{children:l&&u&&t(ed,{gateway:l,companyGateway:u,setCompanyGateway:v,errors:d})})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function fn(){return({settingsLevel:e})=>Promise.resolve(e===Cs.Company)}const Tx=g.lazy(()=>P(()=>import("./InvoiceDesign-d462269c.js"),["react/InvoiceDesign-d462269c.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/axios-84c4953a.js","react/atoms-44af0278.js","react/jotai-2d204cb2.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-i18next-335b3986.js","react/classnames-41611b71.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Px=g.lazy(()=>P(()=>import("./GeneralSettings-514d2e9b.js"),["react/GeneralSettings-514d2e9b.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/designs-65553caa.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/lodash-632a8876.js","react/atoms-44af0278.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/hooks-c67ec9d9.js","react/react-i18next-335b3986.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Ax=g.lazy(()=>P(()=>import("./CustomDesigns-4bf45b3f.js"),["react/CustomDesigns-4bf45b3f.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/CustomDesignsPlanAlert-f49725c5.js","react/react-icons-19436e3a.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Nx=g.lazy(()=>P(()=>import("./Create-f67bbd0e.js"),["react/Create-f67bbd0e.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/DesignSelector-3396e991.js","react/designs-65553caa.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/CustomDesignsPlanAlert-f49725c5.js","react/react-icons-19436e3a.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/lodash-632a8876.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Ix=g.lazy(()=>P(()=>import("./ClientDetails-afa77e40.js"),["react/ClientDetails-afa77e40.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/SortableVariableList-f0823712.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/CustomDesignsPlanAlert-f49725c5.js","react/react-icons-19436e3a.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Dx=g.lazy(()=>P(()=>import("./CompanyDetails-4924a9f3.js"),["react/CompanyDetails-4924a9f3.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/SortableVariableList-f0823712.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),$x=g.lazy(()=>P(()=>import("./CompanyAddress-c2c12cce.js"),["react/CompanyAddress-c2c12cce.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/SortableVariableList-f0823712.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Rx=g.lazy(()=>P(()=>import("./InvoiceDetails-7efce98d.js"),["react/InvoiceDetails-7efce98d.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/SortableVariableList-f0823712.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Vx=g.lazy(()=>P(()=>import("./QuoteDetails-647c4998.js"),["react/QuoteDetails-647c4998.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/SortableVariableList-f0823712.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),qx=g.lazy(()=>P(()=>import("./CreditDetails-48e9e01d.js"),["react/CreditDetails-48e9e01d.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/SortableVariableList-f0823712.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Lx=g.lazy(()=>P(()=>import("./VendorDetails-9831fbf1.js"),["react/VendorDetails-9831fbf1.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/SortableVariableList-f0823712.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Ox=g.lazy(()=>P(()=>import("./PurchaseOrderDetails-097bc44a.js"),["react/PurchaseOrderDetails-097bc44a.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/SortableVariableList-f0823712.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Mx=g.lazy(()=>P(()=>import("./ProductColumns-c2534285.js"),["react/ProductColumns-c2534285.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/SortableVariableList-f0823712.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/hooks-c67ec9d9.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),jx=g.lazy(()=>P(()=>import("./ProductQuoteColumns-58a7c59a.js"),["react/ProductQuoteColumns-58a7c59a.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/SortableVariableList-f0823712.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Fx=g.lazy(()=>P(()=>import("./TaskColumns-013392f7.js"),["react/TaskColumns-013392f7.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/SortableVariableList-f0823712.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Bx=g.lazy(()=>P(()=>import("./TotalFields-d09504c9.js"),["react/TotalFields-d09504c9.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/SortableVariableList-f0823712.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/array-move-3ca81c74.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),zx=g.lazy(()=>P(()=>import("./CustomDesign-7858f4f8.js"),["react/CustomDesign-7858f4f8.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/designs-65553caa.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/InvoiceViewer-c945da80.js","react/jotai-2d204cb2.js","react/react-icons-19436e3a.js","react/react-i18next-335b3986.js","react/react-resizable-panels-e93a8b6e.js","react/react-responsive-c784c660.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/stylis-60528643.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Ux=g.lazy(()=>P(()=>import("./Settings-c7d6dee5.js"),["react/Settings-c7d6dee5.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/DesignSelector-3396e991.js","react/designs-65553caa.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/jotai-2d204cb2.js","react/hooks-0cd901a9.js","react/Create-f67bbd0e.js","react/CustomDesignsPlanAlert-f49725c5.js","react/react-icons-19436e3a.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/lodash-632a8876.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Hx=g.lazy(()=>P(()=>import("./Body-04875d71.js"),["react/Body-04875d71.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-0cd901a9.js","react/classnames-41611b71.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-use-d9ed1db3.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Gx=g.lazy(()=>P(()=>import("./Headers-dd3ebdb6.js"),["react/Headers-dd3ebdb6.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-0cd901a9.js","react/classnames-41611b71.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-use-d9ed1db3.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Wx=g.lazy(()=>P(()=>import("./Footer-6c3cbdac.js"),["react/Footer-6c3cbdac.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-0cd901a9.js","react/classnames-41611b71.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-use-d9ed1db3.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Kx=g.lazy(()=>P(()=>import("./Includes-9ae410ff.js"),["react/Includes-9ae410ff.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-0cd901a9.js","react/classnames-41611b71.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-use-d9ed1db3.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Qx=g.lazy(()=>P(()=>import("./Variables-e6fd120d.js"),["react/Variables-e6fd120d.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Yx=f(A,{path:"invoice_design",element:t(Tx,{}),children:[t(A,{path:"",element:t(Px,{})}),t(A,{path:"custom_designs",element:t(Ax,{})}),f(A,{path:"custom_designs/:id/edit",element:t(de,{guards:[fn()],component:t(zx,{}),type:"subPage"}),children:[t(A,{path:"",element:t(Ux,{})}),t(A,{path:"body",element:t(Hx,{})}),t(A,{path:"header",element:t(Gx,{})}),t(A,{path:"footer",element:t(Wx,{})}),t(A,{path:"includes",element:t(Kx,{})}),t(A,{path:"variables",element:t(Qx,{})})]}),t(A,{path:"custom_designs/create",element:t(Nx,{})}),t(A,{path:"client_details",element:t(de,{guards:[fn()],component:t(Ix,{}),type:"subPage"})}),t(A,{path:"company_details",element:t(de,{guards:[fn(),ke(pt("enterprise"),pt("pro"))],component:t(Dx,{}),type:"subPage"})}),t(A,{path:"company_address",element:t(de,{guards:[fn(),ke(pt("enterprise"),pt("pro"))],component:t($x,{}),type:"subPage"})}),t(A,{path:"invoice_details",element:t(de,{guards:[fn(),ke(pt("enterprise"),pt("pro"))],component:t(Rx,{}),type:"subPage"})}),t(A,{path:"quote_details",element:t(de,{guards:[fn(),ke(pt("enterprise"),pt("pro"))],component:t(Vx,{}),type:"subPage"})}),t(A,{path:"credit_details",element:t(de,{guards:[fn(),ke(pt("enterprise"),pt("pro"))],component:t(qx,{}),type:"subPage"})}),t(A,{path:"vendor_details",element:t(de,{guards:[fn(),ke(pt("enterprise"),pt("pro"))],component:t(Lx,{}),type:"subPage"})}),t(A,{path:"purchase_order_details",element:t(de,{guards:[fn(),ke(pt("enterprise"),pt("pro"))],component:t(Ox,{}),type:"subPage"})}),t(A,{path:"product_columns",element:t(de,{guards:[fn(),ke(pt("enterprise"),pt("pro"))],component:t(Mx,{}),type:"subPage"})}),t(A,{path:"quote_product_columns",element:t(de,{guards:[fn(),ke(pt("enterprise"),pt("pro"))],component:t(jx,{}),type:"subPage"})}),t(A,{path:"task_columns",element:t(de,{guards:[fn(),ke(pt("enterprise"),pt("pro"))],component:t(Fx,{}),type:"subPage"})}),t(A,{path:"total_fields",element:t(de,{guards:[fn(),ke(pt("enterprise"),pt("pro"))],component:t(Bx,{}),type:"subPage"})})]}),Xx=f(A,{path:"/settings",children:[f(A,{path:"user_details",element:t(Yh,{}),children:[t(A,{path:"",element:t(Fh,{})}),t(A,{path:"password",element:t(Uh,{})}),t(A,{path:"connect",element:t(Mh,{})}),t(A,{path:"accent_color",element:t(Lh,{})}),t(A,{path:"notifications",element:t(zh,{})}),t(A,{path:"enable_two_factor",element:t(Gh,{})}),t(A,{path:"custom_fields",element:t(Wh,{})}),t(A,{path:"preferences",element:t(Kh,{})})]}),f(A,{element:t(de,{guards:[Ya()],component:t(on,{})}),children:[t(A,{path:"",element:t(Nh,{})}),f(A,{path:"company_details",element:t(Vh,{}),children:[t(A,{path:"",element:t(Ck,{})}),t(A,{path:"address",element:t(kk,{})}),t(A,{path:"logo",element:t(Ul,{})}),t(A,{path:"defaults",element:t(xk,{})}),t(A,{path:"documents",element:t(wk,{})}),t(A,{path:"custom_fields",element:t(Sk,{})})]}),f(A,{path:"localization",element:t(ef,{}),children:[t(A,{path:"",element:t(Jh,{})}),t(A,{path:"custom_labels",element:t(Xh,{})})]}),t(A,{path:"online_payments",element:t(_f,{})}),t(A,{path:"tax_settings",element:t(xf,{})}),t(A,{path:"product_settings",element:t(Cf,{})}),t(A,{path:"task_settings",element:t(Sf,{})}),t(A,{path:"expense_settings",element:t(Mf,{})}),t(A,{path:"workflow_settings",element:t(Bf,{})}),t(A,{path:"import_export",element:t(Kf,{})}),f(A,{path:"account_management",element:t(Yf,{}),children:[t(A,{path:"",element:t(Km,{})}),t(A,{path:"overview",element:t(Wm,{})}),t(A,{path:"enabled_modules",element:t(Hm,{})}),t(A,{path:"integrations",element:t(Gm,{})}),t(A,{path:"security_settings",element:t(Qm,{})}),t(A,{path:"referral_program",element:t(Xm,{})}),!ya()&&t(A,{path:"danger_zone",element:t(Ym,{})})]}),f(A,{path:"backup_restore",element:t(Pw,{}),children:[t(A,{path:"",element:t(Vw,{})}),t(A,{path:"restore",element:t(Rw,{})})]}),f(A,{path:"custom_fields",element:t(Xf,{}),children:[t(A,{path:"company",element:t(Jf,{})}),t(A,{path:"clients",element:t(Zf,{})}),t(A,{path:"products",element:t(eg,{})}),t(A,{path:"invoices",element:t(ag,{})}),t(A,{path:"payments",element:t(sg,{})}),t(A,{path:"projects",element:t(og,{})}),t(A,{path:"tasks",element:t(ig,{})}),t(A,{path:"vendors",element:t(rg,{})}),t(A,{path:"expenses",element:t(cg,{})}),t(A,{path:"users",element:t(lg,{})})]}),f(A,{path:"generated_numbers",element:t(_g,{}),children:[t(A,{path:"",element:t(Eg,{})}),t(A,{path:"clients",element:t(ug,{})}),t(A,{path:"invoices",element:t(mg,{})}),t(A,{path:"recurring_invoices",element:t(pg,{})}),t(A,{path:"payments",element:t(hg,{})}),t(A,{path:"quotes",element:t(fg,{})}),t(A,{path:"credits",element:t(gg,{})}),t(A,{path:"projects",element:t(vg,{})}),t(A,{path:"tasks",element:t(yg,{})}),t(A,{path:"vendors",element:t(bg,{})}),t(A,{path:"purchase_orders",element:t(wg,{})}),t(A,{path:"expenses",element:t(kg,{})}),t(A,{path:"recurring_expenses",element:t(xg,{})})]}),f(A,{path:"client_portal",element:t(Ug,{}),children:[t(A,{path:"",element:t(Og,{})}),t(A,{path:"authorization",element:t(Mg,{})}),t(A,{path:"registration",element:t(Bg,{})}),t(A,{path:"messages",element:t(Fg,{})}),t(A,{path:"customize",element:t(jg,{})})]}),t(A,{path:"e_invoice",element:t(Ig,{})}),t(A,{path:"email_settings",element:t(Lg,{})}),t(A,{path:"templates_and_reminders",element:t(Kg,{})}),f(A,{path:"bank_accounts",children:[t(A,{path:"",element:t(Zg,{})}),t(A,{path:":id/details",element:t(av,{})}),t(A,{path:"create",element:t(tv,{})}),t(A,{path:":id/edit",element:t(ev,{})})]}),f(A,{path:"group_settings",children:[t(A,{path:"",element:t(Ow,{})}),t(A,{path:"create",element:t(jw,{})}),t(A,{path:":id/edit",element:t(nk,{})})]}),f(A,{path:"subscriptions",children:[t(A,{path:"",element:t(wv,{})}),t(A,{path:"create",element:t(Tv,{})}),t(A,{path:":id/edit",element:t(Av,{})})]}),f(A,{path:"schedules",children:[t(A,{path:"",element:t(yw,{})}),t(A,{path:"create",element:t(Cw,{})}),t(A,{path:":id/edit",element:t(Ew,{})})]}),f(A,{path:"users",children:[t(A,{path:"",element:t(ak,{})}),t(A,{path:"create",element:t(ik,{})}),t(A,{path:":id/edit",element:t(de,{guards:[pt("enterprise")],component:t(ok,{})})})]}),t(A,{path:"/settings/system_logs",children:t(A,{path:"",element:t(Lw,{})})}),f(A,{path:"payment_terms",children:[t(A,{path:"",element:t(pk,{})}),t(A,{path:":id/edit",element:t(mk,{})}),t(A,{path:"create",element:t(ck,{})})]}),f(A,{path:"tax_rates",children:[t(A,{path:"create",element:t(vk,{})}),t(A,{path:":id/edit",element:t(bk,{})})]}),f(A,{path:"task_statuses",children:[t(A,{path:"create",element:t(Tk,{})}),t(A,{path:":id/edit",element:t(Pk,{})})]}),f(A,{path:"expense_categories",children:[t(A,{path:"create",element:t(qf,{})}),t(A,{path:":id/edit",element:t(Of,{})})]}),f(A,{path:"integrations",children:[f(A,{path:"api_tokens",children:[t(A,{path:"",element:t(de,{guards:[ke(pt("enterprise"),pt("pro")),Ya()],component:t(Ak,{})})}),t(A,{path:"create",element:t(de,{guards:[ke(pt("enterprise"),pt("pro")),Ya()],component:t($k,{})})}),t(A,{path:":id/edit",element:t(de,{guards:[ke(pt("enterprise"),pt("pro")),Ya()],component:t(Vk,{})})})]}),f(A,{path:"api_webhooks",children:[t(A,{path:"",element:t(Lk,{})}),t(A,{path:"create",element:t(Fk,{})}),t(A,{path:":id/edit",element:t(zk,{})})]}),t(A,{path:"analytics",element:t(Uk,{})})]}),f(A,{path:"gateways",children:[t(A,{path:"create",element:t(wx,{})}),t(A,{path:":id/edit",element:t(Ex,{})})]}),f(A,{path:"bank_accounts/transaction_rules",children:[t(A,{path:"",element:t(ov,{})}),t(A,{path:"create",element:t(vv,{})}),t(A,{path:":id/edit",element:t(yv,{})})]}),Yx]})]});function Jx(){return t(on,{})}function Zx(){return _i()?t(Va,{to:"/dashboard"}):t(on,{})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */function sd(){const e=Ae();return n=>{localStorage.removeItem("X-CURRENT-INDEX");let a=0;const s=n.data.data,o=s[0].account.default_company_id;a=s.findIndex(i=>i.company.id===o),a===-1&&(a=0),e(Rs({type:ss.TOKEN,user:n.data.data[a].user,token:n.data.data[a].token.token})),e(Mn(n.data.data)),e(uo(a))}}const eC={}.VITE_DEMO_EMAIL,tC={}.VITE_DEMO_PASSWORD;function nC(){const e=Ce(),n=sd();return g.useEffect(()=>{if(!ya())return e("/login");$("POST",D("/api/v1/login"),{email:eC,password:tC}).then(a=>n(a)).catch(()=>e("/login"))},[]),t("div",{})}const Fo=St.a`
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }
`;function Bi(){const e=me();return f("div",{className:"grid grid-cols-3 text-sm border rounded",style:{backgroundColor:e.$1,borderColor:e.$5,color:e.$3},children:[t("div",{className:"col-span-3 md:col-span-1",children:f(Fo,{theme:{hoverColor:e.$2},href:"https://status.invoiceninja.com/",target:"_blank",className:"py-3 w-full px-2 inline-flex justify-center items-center rounded-l",rel:"noreferrer",children:[t(I_,{size:15}),t("span",{className:"m-1",children:"Check status"})]})}),t("div",{className:"col-span-3 md:col-span-1",children:f(Fo,{theme:{hoverColor:e.$2},href:"https://www.invoiceninja.com/mobile/",target:"_blank",className:"py-3 w-full px-2 inline-flex justify-center items-center",rel:"noreferrer",children:[t(D_,{size:15}),t("span",{className:"m-1",children:"Applications"})]})}),t("div",{className:"col-span-3 md:col-span-1",children:f(Fo,{theme:{hoverColor:e.$2},href:"https://invoiceninja.github.io",target:"_blank",className:"py-3 w-full hover:bg-gray-100 px-2 inline-flex justify-center items-center rounded-r",rel:"noreferrer",children:[t($_,{size:15}),t("span",{className:"m-1",children:"Documentation"})]})})]})}const aC="/react/invoiceninja-logo@dark-365f6449.png";function zi(){const n={backgroundColor:rt()};return f(F,{children:[t("div",{className:"py-1",style:n}),t("div",{className:"flex justify-center py-8",children:t(Pe,{to:"/",children:t("img",{src:aC,alt:"Invoice Ninja Logo",className:"h-12"})})})]})}function sC(e){const[n]=N(),{visible:a,setVisible:s}=e,[o,i]=g.useState(""),[r,c]=g.useState(""),[l,_]=g.useState(!1),[d,p]=g.useState(!1),[m,h]=g.useState(),[u,v]=g.useState(!1),b=()=>{T.processing(),_(!0),$("POST",D("/api/v1/sms_reset"),{email:o}).then(y=>{T.success(y.data.message),s(!1),v(!0)}).catch(y=>{var k;((k=y.response)==null?void 0:k.status)===422&&(h(y.response.data),T.dismiss())}).finally(()=>_(!1))},w=()=>{T.processing(),p(!0),$("POST",D("/api/v1/sms_reset/confirm"),{email:o,code:r}).then(y=>{T.success(y.data.message),c(""),i(""),v(!1)}).finally(()=>p(!1))};return f(F,{children:[t(Fe,{title:n("disable_2fa"),visible:a,onClose:()=>{s(!1),i("")},children:f("div",{className:"flex flex-col space-y-6",children:[t(q,{label:n("email"),value:o,onValueChange:y=>{i(y),m&&h(void 0)},errorMessage:m==null?void 0:m.errors.email}),t(te,{className:"self-end",onClick:b,disableWithoutIcon:!0,disabled:!o||l,children:n("send_code")})]})}),t(Fe,{title:n("disable_two_factor"),visible:u,onClose:()=>{v(!1),c(""),i("")},children:f("div",{className:"flex flex-col space-y-7 items-center",children:[t(ri,{onComplete:c}),f("div",{className:"flex self-end space-x-5",children:[t(te,{type:"minimal",onClick:b,disableWithoutIcon:!0,disabled:l||d,children:n("resend_code")}),t(te,{onClick:w,disableWithoutIcon:!0,disabled:l||d||r.length!==6,children:n("verify")})]})]})})]})}const oC="24.10.2024.1";/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const iC=`v${oC}`;function rC(){Se("login");const e=rt(),[n,a]=g.useState(void 0),[s,o]=g.useState(void 0),[i,r]=g.useState(!1),[c]=N(),[l,_]=g.useState(!1),d=sd();function p(h){const u=new FormData(h);a(void 0),o(void 0),r(!0);const v=u.get("secret");$("POST",D("/api/v1/login"),Object.fromEntries(u),{...v&&{headers:{"X-API-SECRET":v}}}).then(b=>d(b)).catch(b=>{var w,y,k;((w=b.response)==null?void 0:w.status)===422?o(b.response.data.errors):((y=b.response)==null?void 0:y.status)===503?T.error("app_maintenance"):a(((k=b.response)==null?void 0:k.data.message)??c("invalid_credentials"))}).finally(()=>r(!1))}const m=me();return f("div",{className:"h-screen",children:[t(zi,{}),f("div",{className:"flex flex-col items-center",children:[f("div",{className:"mx-4 max-w-md w-full p-8 rounded md:shadow-lg border",style:{backgroundColor:m.$1,borderColor:m.$5},children:[t("h2",{className:"text-2xl",style:{color:m.$3},children:c("login")}),f("form",{onSubmit:h=>{h.preventDefault(),p(h.currentTarget)},className:"my-6 space-y-4",children:[t(q,{type:"email",autoComplete:"on",label:c("email_address"),errorMessage:s==null?void 0:s.email,name:"email"}),t(q,{type:"password",autoComplete:"on",label:c("password"),id:"password",errorMessage:s==null?void 0:s.password,name:"password"}),t("div",{className:"space-y-2",children:f("div",{className:"flex flex-col lg:flex-row items-center justify-between",children:[t(Pn,{children:`2FA - ${c("one_time_password")}`}),t(Pe,{to:"/recover_password",children:c("forgot_password")})]})}),t(q,{type:"text",autoComplete:"on",id:"one_time_password",placeholder:c("plaid_optional"),errorMessage:s==null?void 0:s.one_time_password,name:"one_time_password"}),t("div",{className:"space-y-2",children:f("div",{className:oe("flex flex-col lg:flex-row items-center",{"justify-between":Ft(),"justify-end":It()}),children:[Ft(),t("div",{className:"text-sm hover:underline cursor-pointer",onClick:()=>_(!0),style:{color:e},children:c("disable_2fa")})]})}),Ft(),n&&t(it,{className:"mt-4",type:"danger",children:n}),t(te,{disabled:i,className:"mt-4",variant:"block",children:c("login")})]}),t("div",{className:"flex justify-center",children:t(Pe,{to:"/register",children:c("register_label")})})]}),f(F,{children:[t(Pc,{}),t("div",{className:"mx-4 max-w-md w-full rounded md:shadow-lg mt-4",children:t(Bi,{})})]}),t("p",{className:"mt-4 text-xs",children:iC})]}),t(sC,{visible:l,setVisible:_})]})}function cC(){const e=Xe();return g.useEffect(()=>{Qr(),sessionStorage.clear(),e.invalidateQueries(),e.removeQueries(),window.location.href="/"},[]),t(F,{})}function lC(){var _,d;Se("recover_password");const[e]=N(),[n,a]=g.useState(!1),[s,o]=g.useState(void 0),[i,r]=g.useState(void 0),c=On({initialValues:{email:""},onSubmit:p=>{a(!0),r(void 0),o(void 0),$("POST",D("/api/v1/reset_password"),p).then(m=>o(m.data)).catch(m=>{var h,u,v;return((h=m.response)==null?void 0:h.status)===422?r((u=m.response)==null?void 0:u.data.errors):o((v=m.response)==null?void 0:v.data)}).finally(()=>a(!1))}}),l=me();return f("div",{className:"h-screen",children:[t(zi,{}),f("div",{className:"flex flex-col items-center",children:[f("div",{className:"mx-4 max-w-md w-full p-8 rounded md:shadow-lg border",style:{backgroundColor:l.$1,borderColor:l.$5},children:[t("h2",{className:"text-2xl",style:{color:l.$3},children:e("recover_password")}),f("form",{onSubmit:c.handleSubmit,className:"my-6",children:[t(q,{type:"email",label:e("email_address"),id:"email",onChange:c.handleChange}),((_=i==null?void 0:i.errors)==null?void 0:_.email)&&t(it,{className:"mt-2",type:"danger",children:(d=i.errors)==null?void 0:d.email}),s&&t(it,{className:"mt-4",type:s.status?"success":"danger",children:s.message}),t(te,{disabled:n,className:"mt-4",variant:"block",children:e("send_email")})]}),t("div",{className:"flex justify-center",children:t(Pe,{to:"/login",children:e("login")})})]}),t("div",{className:"bg-white mx-4 max-w-md w-full rounded md:shadow-lg mt-4",children:t(Bi,{})})]})]})}function dC(e){const{onVerified:n}=e;return t(Q_,{appearance:"interaction-only",sitekey:"0x4AAAAAAAO8cuP69uruzdUz",onVerify:s=>n(s)})}function _C(){Se("register");const[e]=N(),n=Y_(),[a,s]=g.useState(void 0),[o,i]=g.useState(""),[r,c]=g.useState(!1),[l,_]=g.useState(!1),[d,p]=g.useState(""),m=Ae(),[h]=As(),u=On({initialValues:{email:"",password:"",password_confirmation:"",terms_of_service:!1,privacy_policy:!1},onSubmit(b){if(p(""),s(void 0),_(!0),b.password!==b.password_confirmation){_(!1),s({password_confirmation:["Password confirmation does not match."]});return}const w=new URL("/api/v1/signup?include=token,user.company_user,company,account",$s());["utm_source","utm_medium","utm_campaign","utm_content","utm_term"].forEach(k=>{h.has(k)&&w.searchParams.append(k,h.get(k))});const y=h.get("rc");y&&w.searchParams.append("rc",y),$("POST",w.href,{...b,"cf-turnstile":o}).then(k=>{m(cm({token:k.data.data[0].token.token,user:k.data.data[0].user})),m(Mn(k.data.data)),m(uo(0))}).catch(k=>{var C,S;((C=k.response)==null?void 0:C.status)===422&&s(k.response.data.errors),p((S=k.response)==null?void 0:S.data.message),_(!1)}).finally(()=>{n.reset(),c(!1),i("")})}}),v=me();return g.useEffect(()=>{o&&u.handleSubmit()},[o]),t(F,{children:f("div",{className:"h-screen",children:[t(zi,{}),f("div",{className:"flex flex-col items-center",children:[f("div",{className:"mx-4 max-w-md w-full p-8 rounded md:shadow-lg border",style:{backgroundColor:v.$1,borderColor:v.$5},children:[t("h2",{className:"text-2xl",style:{color:v.$3},children:e("register_label")}),f("div",{className:"space-y-5 my-6",children:[t(q,{type:"email",autoComplete:"on",label:e("email_address"),id:"email",onChange:u.handleChange,errorMessage:a==null?void 0:a.email}),t(q,{type:"password",autoComplete:"on",label:e("password"),id:"password",onChange:u.handleChange,errorMessage:a==null?void 0:a.password}),t(q,{type:"password",autoComplete:"on",label:e("password_confirmation"),id:"password_confirmation",onChange:u.handleChange,errorMessage:a==null?void 0:a.password_confirmation}),d&&t(it,{className:"mt-4",type:"danger",children:d}),r&&t("div",{className:"flex justify-center",children:t(dC,{onVerified:b=>i(b)})}),t(te,{disabled:l,className:"mt-4",variant:"block",onClick:()=>c(!0),children:e("register")})]}),t("div",{className:"flex justify-center",children:t(Pe,{to:"/login",children:e("login")})})]}),f(F,{children:[t(Pc,{}),t("div",{className:"mx-4 max-w-md w-full rounded md:shadow-lg mt-4",children:t(Bi,{})})]})]})]})})}const uC=f(F,{children:[f(A,{element:t(Zx,{}),children:[t(A,{path:"/login",element:t(rC,{})}),t(A,{path:"/recover_password",element:t(lC,{})}),t(A,{element:t(Jx,{}),children:t(A,{path:"/register",element:t(_C,{})})}),t(A,{path:"/demo",element:t(nC,{})})]}),t(A,{element:t(bc,{}),children:t(A,{path:"/logout",element:t(cC,{})})})]}),mC=g.lazy(()=>P(()=>import("./Quotes-93e1ba7a.js"),["react/Quotes-93e1ba7a.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-icons-19436e3a.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/react-i18next-335b3986.js","react/ImportButton-68b5df42.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/useFooterColumns-e44b9296.js","react/useDownloadPdfs-0e8218c1.js","react/react-query-f238471f.js","react/useSumTableColumn-f5b31200.js","react/collect.js-1b4e3eba.js","react/QuoteSlider-8417b063.js","react/dayjs-8e509be6.js","react/react-string-replace-5896bba3.js","react/EmailRecord-31810fe1.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/jotai-2d204cb2.js","react/queries-64effebd.js","react/DataTableFooterColumnsPicker-11e3faf3.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),pC=g.lazy(()=>P(()=>import("./Import-9bd6d058.js"),["react/Import-9bd6d058.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),hC=g.lazy(()=>P(()=>import("./Quote-9e9d6903.js"),["react/Quote-9e9d6903.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/lodash-632a8876.js","react/queries-64effebd.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/uuid-4a60fe23.js","react/jotai-2d204cb2.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),fC=g.lazy(()=>P(()=>import("./Edit-92dec7ab.js"),["react/Edit-92dec7ab.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/ClientSelector-e4bf8e00.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/ClientActionButtons-ce6d2f1d.js","react/react-i18next-335b3986.js","react/useProductColumns-20215649.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/QuoteFooter-9c16b944.js","react/jotai-2d204cb2.js","react/useTaskColumns-b3d81809.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),gC=g.lazy(()=>P(()=>import("./Create-5fe723d1.js"),["react/Create-5fe723d1.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/blank-invitation-ca06b7b6.js","react/lodash-632a8876.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/queries-64effebd.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-i18next-335b3986.js","react/jotai-2d204cb2.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),vC=g.lazy(()=>P(()=>import("./CreatePage-584f877e.js"),["react/CreatePage-584f877e.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/ClientSelector-e4bf8e00.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/ClientActionButtons-ce6d2f1d.js","react/react-i18next-335b3986.js","react/useProductColumns-20215649.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/useTaskColumns-b3d81809.js","react/QuoteFooter-9c16b944.js","react/jotai-2d204cb2.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),vr=g.lazy(()=>P(()=>import("./Documents-0acbdd2f.js"),["react/Documents-0acbdd2f.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),yr=g.lazy(()=>P(()=>import("./Settings-2318ef58.js"),["react/Settings-2318ef58.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/ProjectSelector-58e51053.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/DesignSelector-3396e991.js","react/designs-65553caa.js","react/react-query-f238471f.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),yC=g.lazy(()=>P(()=>import("./Pdf-3a20cf1e.js"),["react/Pdf-3a20cf1e.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-icons-19436e3a.js","react/queries-64effebd.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),bC=g.lazy(()=>P(()=>import("./Email-7ef16536.js"),["react/Email-7ef16536.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/Mailer-fa6c88ff.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-query-f238471f.js","react/InvoiceViewer-c945da80.js","react/react-i18next-335b3986.js","react/queries-64effebd.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),wC=g.lazy(()=>P(()=>import("./Activities-d663e200.js"),["react/Activities-d663e200.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/QuoteSlider-8417b063.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/dayjs-8e509be6.js","react/react-icons-19436e3a.js","react/react-string-replace-5896bba3.js","react/EmailRecord-31810fe1.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/jotai-2d204cb2.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),kC=g.lazy(()=>P(()=>import("./History-eba20453.js"),["react/History-eba20453.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),xC=g.lazy(()=>P(()=>import("./EmailHistory-18dc98c2.js"),["react/EmailHistory-18dc98c2.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/EmailRecord-31810fe1.js","react/classnames-41611b71.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/stylis-60528643.js","react/react-icons-19436e3a.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),CC=f(A,{path:"/quotes",children:[t(A,{path:"",element:t(de,{guards:[je(ve.Quotes),ke(J("view_quote"),J("create_quote"),J("edit_quote"))],component:t(mC,{})})}),t(A,{path:"import",element:t(de,{guards:[je(ve.Quotes),ke(J("create_quote"),J("edit_quote"))],component:t(pC,{})})}),f(A,{path:":id",element:t(de,{guards:[je(ve.Quotes),ke(J("view_quote"),J("edit_quote"),gt("/api/v1/quotes/:id"))],component:t(hC,{})}),children:[t(A,{path:"edit",element:t(fC,{})}),t(A,{path:"documents",element:t(vr,{})}),t(A,{path:"settings",element:t(yr,{})}),t(A,{path:"activity",element:t(wC,{})}),t(A,{path:"history",element:t(kC,{})}),t(A,{path:"email_history",element:t(xC,{})})]}),f(A,{path:"create",element:t(de,{guards:[je(ve.Quotes),J("create_quote")],component:t(gC,{})}),children:[t(A,{path:"",element:t(vC,{})}),t(A,{path:"documents",element:t(vr,{})}),t(A,{path:"settings",element:t(yr,{})})]}),f(A,{path:":id",element:t(de,{guards:[je(ve.Quotes),ke(J("edit_quote"),gt("/api/v1/quotes/:id"))],component:t(on,{})}),children:[t(A,{path:"pdf",element:t(yC,{})}),t(A,{path:"email",element:t(bC,{})})]})]}),SC=g.lazy(()=>P(()=>import("./Credits-df66f140.js"),["react/Credits-df66f140.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-icons-19436e3a.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/react-i18next-335b3986.js","react/hooks-9e825690.js","react/CreditStatus-f2f60978.js","react/useInvoiceColumns-72c7b447.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/dayjs-8e509be6.js","react/react-query-f238471f.js","react/jotai-2d204cb2.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/useCustomBulkActions-b105865f.js","react/useDownloadPdfs-0e8218c1.js","react/collect.js-1b4e3eba.js","react/payments-7e54e458.js","react/atoms-70e1125b.js","react/uuid-4a60fe23.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),EC=g.lazy(()=>P(()=>import("./Create-4c367bc3.js"),["react/Create-4c367bc3.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/blank-invitation-ca06b7b6.js","react/lodash-632a8876.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/hooks-9e825690.js","react/CreditStatus-f2f60978.js","react/react-i18next-335b3986.js","react/useInvoiceColumns-72c7b447.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/dayjs-8e509be6.js","react/classnames-41611b71.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/jotai-2d204cb2.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/queries-ebb7cecb.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),TC=g.lazy(()=>P(()=>import("./CreatePage-e0b98bfa.js"),["react/CreatePage-e0b98bfa.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/ClientSelector-e4bf8e00.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/ClientActionButtons-ce6d2f1d.js","react/react-i18next-335b3986.js","react/useProductColumns-20215649.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/hooks-9e825690.js","react/CreditStatus-f2f60978.js","react/useInvoiceColumns-72c7b447.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/dayjs-8e509be6.js","react/jotai-2d204cb2.js","react/react-icons-19436e3a.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-router-dom-47bf5f81.js","react/CreditFooter-d3a4cdcb.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),PC=g.lazy(()=>P(()=>import("./Credit-142d3695.js"),["react/Credit-142d3695.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/lodash-632a8876.js","react/queries-ebb7cecb.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hooks-9e825690.js","react/CreditStatus-f2f60978.js","react/react-i18next-335b3986.js","react/useInvoiceColumns-72c7b447.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/dayjs-8e509be6.js","react/classnames-41611b71.js","react/jotai-2d204cb2.js","react/react-icons-19436e3a.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/uuid-4a60fe23.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),AC=g.lazy(()=>P(()=>import("./Edit-2bf80efc.js"),["react/Edit-2bf80efc.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/ClientSelector-e4bf8e00.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/ClientActionButtons-ce6d2f1d.js","react/react-i18next-335b3986.js","react/useProductColumns-20215649.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/CreditFooter-d3a4cdcb.js","react/jotai-2d204cb2.js","react/hooks-9e825690.js","react/CreditStatus-f2f60978.js","react/useInvoiceColumns-72c7b447.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/dayjs-8e509be6.js","react/react-icons-19436e3a.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),NC=g.lazy(()=>P(()=>import("./Pdf-d3f53e46.js"),["react/Pdf-d3f53e46.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-icons-19436e3a.js","react/queries-ebb7cecb.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),IC=g.lazy(()=>P(()=>import("./Email-114a42ca.js"),["react/Email-114a42ca.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/Mailer-fa6c88ff.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-query-f238471f.js","react/InvoiceViewer-c945da80.js","react/react-i18next-335b3986.js","react/queries-ebb7cecb.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),br=g.lazy(()=>P(()=>import("./Documents-190cdf8a.js"),["react/Documents-190cdf8a.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),wr=g.lazy(()=>P(()=>import("./Settings-ccbd3d3a.js"),["react/Settings-ccbd3d3a.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-9e825690.js","react/CreditStatus-f2f60978.js","react/react-i18next-335b3986.js","react/useInvoiceColumns-72c7b447.js","react/InvoiceStatus-ab140871.js","react/invoice-status-756326ba.js","react/dayjs-8e509be6.js","react/classnames-41611b71.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/jotai-2d204cb2.js","react/react-icons-19436e3a.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/DesignSelector-3396e991.js","react/designs-65553caa.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/ProjectSelector-58e51053.js","react/lodash-632a8876.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),DC=g.lazy(()=>P(()=>import("./Activities-b6aab175.js"),["react/Activities-b6aab175.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-string-replace-5896bba3.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),$C=g.lazy(()=>P(()=>import("./History-d084d6f1.js"),["react/History-d084d6f1.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),RC=f(A,{path:"/credits",children:[t(A,{path:"",element:t(de,{guards:[je(ve.Credits),ke(J("view_credit"),J("create_credit"),J("edit_credit"))],component:t(SC,{})})}),f(A,{path:"create",element:t(de,{guards:[je(ve.Credits),J("create_credit")],component:t(EC,{})}),children:[t(A,{path:"",element:t(TC,{})}),t(A,{path:"documents",element:t(br,{})}),t(A,{path:"settings",element:t(wr,{})})]}),f(A,{path:":id",element:t(de,{guards:[je(ve.Credits),ke(J("edit_credit"),J("view_credit"),gt("/api/v1/credits/:id"))],component:t(PC,{})}),children:[t(A,{path:"edit",element:t(AC,{})}),t(A,{path:"documents",element:t(br,{})}),t(A,{path:"settings",element:t(wr,{})}),t(A,{path:"activity",element:t(DC,{})}),t(A,{path:"history",element:t($C,{})})]}),t(A,{path:":id/pdf",element:t(de,{guards:[je(ve.Credits),ke(J("edit_credit"),gt("/api/v1/credits/:id"))],component:t(NC,{})})}),t(A,{path:":id/email",element:t(de,{guards:[je(ve.Credits),ke(J("edit_credit"),gt("/api/v1/credits/:id"))],component:t(IC,{})})})]}),VC=g.lazy(()=>P(()=>import("./Projects-d4dcd0ef.js"),["react/Projects-d4dcd0ef.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-0f9676f9.js","react/react-icons-19436e3a.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/atoms-69719ef0.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),qC=g.lazy(()=>P(()=>import("./Create-1c465cc2.js"),["react/Create-1c465cc2.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/classnames-41611b71.js","react/lodash-632a8876.js","react/atoms-69719ef0.js","react/jotai-2d204cb2.js","react/react-i18next-335b3986.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),kr=g.lazy(()=>P(()=>import("./Project-2a7a710b.js"),["react/Project-2a7a710b.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-0f9676f9.js","react/react-icons-19436e3a.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/atoms-69719ef0.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),LC=g.lazy(()=>P(()=>import("./Edit-54b62bcc.js"),["react/Edit-54b62bcc.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/ClientActionButtons-ce6d2f1d.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),OC=g.lazy(()=>P(()=>import("./Show-ec3112ee.js"),["react/Show-ec3112ee.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/InfoCard-b8904f6b.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/dayjs-8e509be6.js","react/hooks-0f9676f9.js","react/react-icons-19436e3a.js","react/atoms-69719ef0.js","react/jotai-2d204cb2.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/DataTableColumnsPicker-0a096664.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/useShowEditOption-8fa7fb95.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@tinymce-974de275.js","react/prop-types-f90281b5.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/react-verification-input-27b63e6d.js","react/currency.js-57f74176.js","react/axios-84c4953a.js","react/dompurify-be9362af.js","react/collect.js-1b4e3eba.js","react/ClientActionButtons-ce6d2f1d.js","react/pusher-js-2c537ebe.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),MC=g.lazy(()=>P(()=>import("./Documents-8f8c57c8.js"),["react/Documents-8f8c57c8.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),jC=f(A,{children:[t(A,{path:"/projects",element:t(de,{guards:[je(ve.Projects),ke(J("view_project"),J("create_project"),J("edit_project"))],component:t(VC,{})})}),t(A,{path:"/projects/create",element:t(de,{guards:[je(ve.Projects),J("create_project")],component:t(qC,{})})}),t(A,{path:"/projects/:id",element:t(de,{guards:[je(ve.Projects),ke(J("view_project"),J("edit_project"),gt("/api/v1/projects/:id"))],component:t(OC,{})})}),t(A,{path:"/projects/:id",element:t(de,{guards:[je(ve.Projects),ke(J("view_project"),J("edit_project"),gt("/api/v1/projects/:id"))],component:t(kr,{})}),children:t(A,{path:"documents",element:t(MC,{})})}),t(A,{path:"/projects/:id/edit",element:t(de,{guards:[je(ve.Projects),ke(J("edit_project"),gt("/api/v1/projects/:id"))],component:t(kr,{})}),children:t(A,{path:"",element:t(LC,{})})})]});function FC(){const{t:e}=N(),{documentTitle:n}=Se("import"),a=[{name:e("tasks"),href:"/tasks"},{name:e("import"),href:"/tasks/import"}];return t(cs,{title:n,breadcrumbs:a,children:t("div",{className:"grid grid-cols-12",children:t("div",{className:"col-span-12 xl:col-span-8",children:t(Vl,{entity:"task",onSuccess:!1,type:"csv"})})})})}const BC=g.lazy(()=>P(()=>import("./Tasks-106116f1.js"),["react/Tasks-106116f1.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-icons-19436e3a.js","react/DataTableColumnsPicker-0a096664.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/react-i18next-335b3986.js","react/useShowEditOption-8fa7fb95.js","react/ImportButton-68b5df42.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-query-f238471f.js","react/dayjs-8e509be6.js","react/react-string-replace-5896bba3.js","react/hooks-77627d44.js","react/jotai-2d204cb2.js","react/TaskClock-30ed1d10.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),zC=g.lazy(()=>P(()=>import("./Kanban-bf1d4433.js"),["react/Kanban-bf1d4433.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-icons-19436e3a.js","react/collect.js-1b4e3eba.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/hooks-77627d44.js","react/jotai-2d204cb2.js","react/react-i18next-335b3986.js","react/TaskClock-30ed1d10.js","react/ProjectSelector-58e51053.js","react/TaskDetails-be425ba7.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/ClientActionButtons-ce6d2f1d.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),UC=g.lazy(()=>P(()=>import("./Create-83eb5490.js"),["react/Create-83eb5490.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/lodash-632a8876.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/TaskDetails-be425ba7.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/react-query-f238471f.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/ProjectSelector-58e51053.js","react/TaskClock-30ed1d10.js","react/react-icons-19436e3a.js","react/ClientActionButtons-ce6d2f1d.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/jotai-2d204cb2.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),HC=g.lazy(()=>P(()=>import("./Task-f2581506.js"),["react/Task-f2581506.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),GC=g.lazy(()=>P(()=>import("./Edit-46531b8c.js"),["react/Edit-46531b8c.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/TaskDetails-be425ba7.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/react-query-f238471f.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/ProjectSelector-58e51053.js","react/TaskClock-30ed1d10.js","react/react-icons-19436e3a.js","react/ClientActionButtons-ce6d2f1d.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/lodash-632a8876.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),WC=g.lazy(()=>P(()=>import("./Documents-4d23e7fa.js"),["react/Documents-4d23e7fa.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),KC=f(A,{path:"/tasks",children:[t(A,{path:"",element:t(de,{guards:[je(ve.Tasks),ke(J("view_task"),J("create_task"),J("edit_task"))],component:t(BC,{})})}),t(A,{path:"kanban",element:t(de,{guards:[je(ve.Tasks),ke(J("view_task"),J("edit_task"))],component:t(zC,{})})}),t(A,{path:"create",element:t(de,{guards:[je(ve.Tasks),J("create_task")],component:t(UC,{})})}),f(A,{path:":id",element:t(de,{guards:[je(ve.Tasks),ke(J("view_task"),J("edit_task"),gt("/api/v1/tasks/:id"))],component:t(HC,{})}),children:[t(A,{path:"edit",element:t(GC,{})}),t(A,{path:"documents",element:t(WC,{})})]}),t(A,{path:"import",element:t(de,{guards:[je(ve.Tasks),ke(J("create_task"),J("edit_task"))],component:t(FC,{})})})]}),QC=g.lazy(()=>P(()=>import("./Vendors-3e4ff558.js"),["react/Vendors-3e4ff558.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-icons-19436e3a.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/ImportButton-68b5df42.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/useActions-03313149.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),YC=g.lazy(()=>P(()=>import("./Import-289f0288.js"),["react/Import-289f0288.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),XC=g.lazy(()=>P(()=>import("./Vendor-8f8ec8e7.js"),["react/Vendor-8f8ec8e7.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/InfoCard-b8904f6b.js","react/useActions-03313149.js","react/react-icons-19436e3a.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/react-query-f238471f.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@tinymce-974de275.js","react/prop-types-f90281b5.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/react-verification-input-27b63e6d.js","react/currency.js-57f74176.js","react/axios-84c4953a.js","react/collect.js-1b4e3eba.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/dompurify-be9362af.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),xr=g.lazy(()=>P(()=>import("./PurchaseOrders-3f6bef29.js"),["react/PurchaseOrders-3f6bef29.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/useCustomBulkActions-0778ff35.js","react/useDownloadPdfs-0e8218c1.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-icons-19436e3a.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),JC=g.lazy(()=>P(()=>import("./Expenses-31c8fbe2.js"),["react/Expenses-31c8fbe2.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),ZC=g.lazy(()=>P(()=>import("./RecurringExpenses-4cc7ea46.js"),["react/RecurringExpenses-4cc7ea46.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-bd5ab772.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-icons-19436e3a.js","react/react-i18next-335b3986.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),eS=g.lazy(()=>P(()=>import("./Documents-688553e5.js"),["react/Documents-688553e5.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),tS=g.lazy(()=>P(()=>import("./Edit-d737aeff.js"),["react/Edit-d737aeff.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/useActions-03313149.js","react/react-icons-19436e3a.js","react/react-i18next-335b3986.js","react/lodash-632a8876.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),nS=g.lazy(()=>P(()=>import("./Create-e6e611a5.js"),["react/Create-e6e611a5.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/axios-84c4953a.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),aS=f(A,{path:"vendors",children:[t(A,{path:"",element:t(de,{guards:[je(ve.Vendors),ke(J("view_vendor"),J("create_vendor"),J("edit_vendor"))],component:t(QC,{})})}),t(A,{path:"import",element:t(de,{guards:[je(ve.Vendors),ke(J("create_vendor"),J("edit_vendor"))],component:t(YC,{})})}),f(A,{path:":id",element:t(de,{guards:[je(ve.Vendors),ke(J("view_vendor"),J("edit_vendor"),gt("/api/v1/vendors/:id"))],component:t(XC,{})}),children:[t(A,{path:"",element:t(xr,{})}),t(A,{path:"purchase_orders",element:t(xr,{})}),t(A,{path:"expenses",element:t(JC,{})}),t(A,{path:"recurring_expenses",element:t(ZC,{})}),t(A,{path:"documents",element:t(eS,{})})]}),t(A,{path:":id/edit",element:t(de,{guards:[je(ve.Vendors),ke(J("edit_vendor"),gt("/api/v1/vendors/:id"))],component:t(tS,{})})}),t(A,{path:"create",element:t(de,{guards:[je(ve.Vendors),J("create_vendor")],component:t(nS,{})})})]}),sS=g.lazy(()=>P(()=>import("./Expenses-1bd9eae0.js"),["react/Expenses-1bd9eae0.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-icons-19436e3a.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/react-i18next-335b3986.js","react/ImportButton-68b5df42.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),oS=g.lazy(()=>P(()=>import("./Import-bab6c400.js"),["react/Import-bab6c400.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-dropzone-bcfc14ce.js","react/prop-types-f90281b5.js","react/file-selector-6cb2a621.js","react/tslib-b7af3ea6.js","react/attr-accept-6df8d728.js","react/react-icons-19436e3a.js","react/styled-components-6ffe3f32.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-i18next-335b3986.js","react/react-feather-5b028e5d.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),iS=g.lazy(()=>P(()=>import("./Create-0baa3b7c.js"),["react/Create-0baa3b7c.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/Taxes-38540424.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/classnames-41611b71.js","react/ProjectSelector-58e51053.js","react/react-i18next-335b3986.js","react/react-icons-19436e3a.js","react/ClientActionButtons-ce6d2f1d.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/lodash-632a8876.js","react/PaymentTypeSelector-4aee9518.js","react/dayjs-8e509be6.js","react/useResolveCurrencySeparator-12cebf6c.js","react/jotai-2d204cb2.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),rS=g.lazy(()=>P(()=>import("./Expense-d273fff1.js"),["react/Expense-d273fff1.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-resizable-panels-e93a8b6e.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/stylis-60528643.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-icons-19436e3a.js","react/react-i18next-335b3986.js","react/react-responsive-c784c660.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),cS=g.lazy(()=>P(()=>import("./Edit-bce95d72.js"),["react/Edit-bce95d72.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/Taxes-38540424.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/classnames-41611b71.js","react/ProjectSelector-58e51053.js","react/react-i18next-335b3986.js","react/react-icons-19436e3a.js","react/ClientActionButtons-ce6d2f1d.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/lodash-632a8876.js","react/PaymentTypeSelector-4aee9518.js","react/dayjs-8e509be6.js","react/useResolveCurrencySeparator-12cebf6c.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),lS=g.lazy(()=>P(()=>import("./Documents-0a5ecbdd.js"),["react/Documents-0a5ecbdd.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),dS=f(A,{path:"expenses",children:[t(A,{path:"",element:t(de,{guards:[je(ve.Expenses),ke(J("view_expense"),J("create_expense"),J("edit_expense"))],component:t(sS,{})})}),t(A,{path:"import",element:t(de,{guards:[je(ve.Expenses),ke(J("create_expense"),J("edit_expense"))],component:t(oS,{})})}),t(A,{path:"create",element:t(de,{guards:[je(ve.Expenses),J("create_expense")],component:t(iS,{})})}),f(A,{path:":id",element:t(de,{guards:[je(ve.Expenses),ke(J("view_expense"),J("edit_expense"),gt("/api/v1/expenses/:id"))],component:t(rS,{})}),children:[t(A,{path:"edit",element:t(cS,{})}),t(A,{path:"documents",element:t(lS,{})})]})]}),_S=g.lazy(()=>P(()=>import("./PurchaseOrders-18c284e4.js"),["react/PurchaseOrders-18c284e4.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-icons-19436e3a.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/react-i18next-335b3986.js","react/useCustomBulkActions-0778ff35.js","react/useDownloadPdfs-0e8218c1.js","react/react-query-f238471f.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),uS=g.lazy(()=>P(()=>import("./Edit-c09b03d6.js"),["react/Edit-c09b03d6.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/useProductColumns-20215649.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/useHandleProductChange-a00ce2b0.js","react/useCalculateInvoiceSum-ee7727a2.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),mS=g.lazy(()=>P(()=>import("./Email-4652d4c5.js"),["react/Email-4652d4c5.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/Mailer-fa6c88ff.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-query-f238471f.js","react/InvoiceViewer-c945da80.js","react/react-i18next-335b3986.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),pS=g.lazy(()=>P(()=>import("./Pdf-01b00d56.js"),["react/Pdf-01b00d56.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),hS=g.lazy(()=>P(()=>import("./Create-a5c11423.js"),["react/Create-a5c11423.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/lodash-632a8876.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/blank-invitation-ca06b7b6.js","react/useCalculateInvoiceSum-ee7727a2.js","react/react-i18next-335b3986.js","react/uuid-4a60fe23.js","react/jotai-2d204cb2.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),fS=g.lazy(()=>P(()=>import("./PurchaseOrder-123f170f.js"),["react/PurchaseOrder-123f170f.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/lodash-632a8876.js","react/jotai-2d204cb2.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/useCalculateInvoiceSum-ee7727a2.js","react/uuid-4a60fe23.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),gS=g.lazy(()=>P(()=>import("./CreatePage-5bb2a1e1.js"),["react/CreatePage-5bb2a1e1.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/useProductColumns-20215649.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/useHandleProductChange-a00ce2b0.js","react/useCalculateInvoiceSum-ee7727a2.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Cr=g.lazy(()=>P(()=>import("./Documents-f53ff37d.js"),["react/Documents-f53ff37d.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),Sr=g.lazy(()=>P(()=>import("./Settings-69f30e9e.js"),["react/Settings-69f30e9e.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/DesignSelector-3396e991.js","react/designs-65553caa.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-i18next-335b3986.js","react/ProjectSelector-58e51053.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),vS=g.lazy(()=>P(()=>import("./Activities-aaa7d0c0.js"),["react/Activities-aaa7d0c0.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-string-replace-5896bba3.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),yS=g.lazy(()=>P(()=>import("./History-91bb8b83.js"),["react/History-91bb8b83.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),bS=g.lazy(()=>P(()=>import("./EmailHistory-3ccc3622.js"),["react/EmailHistory-3ccc3622.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/EmailRecord-31810fe1.js","react/classnames-41611b71.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/stylis-60528643.js","react/react-icons-19436e3a.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),wS=f(A,{path:"/purchase_orders",children:[t(A,{path:"",element:t(de,{guards:[je(ve.PurchaseOrders),ke(J("view_purchase_order"),J("create_purchase_order"),J("edit_purchase_order"))],component:t(_S,{})})}),f(A,{path:":id",element:t(de,{guards:[je(ve.PurchaseOrders),ke(J("view_purchase_order"),J("edit_purchase_order"),gt("/api/v1/purchase_orders/:id"))],component:t(fS,{})}),children:[t(A,{path:"edit",element:t(uS,{})}),t(A,{path:"documents",element:t(Cr,{})}),t(A,{path:"settings",element:t(Sr,{})}),t(A,{path:"activity",element:t(vS,{})}),t(A,{path:"history",element:t(yS,{})}),t(A,{path:"email_history",element:t(bS,{})})]}),f(A,{path:":id",element:t(de,{guards:[je(ve.PurchaseOrders),ke(J("edit_purchase_order"),gt("/api/v1/purchase_orders/:id"))],component:t(on,{})}),children:[t(A,{path:"email",element:t(mS,{})}),t(A,{path:"pdf",element:t(pS,{})})]}),f(A,{path:"create",element:t(de,{guards:[je(ve.PurchaseOrders),J("create_purchase_order")],component:t(hS,{})}),children:[t(A,{path:"",element:t(gS,{})}),t(A,{path:"documents",element:t(Cr,{})}),t(A,{path:"settings",element:t(Sr,{})})]})]}),kS=g.lazy(()=>P(()=>Promise.resolve().then(()=>fw),void 0)),xS=t(A,{path:"/reports",element:t(de,{guards:[J("view_reports")],component:t(kS,{})})}),CS=g.lazy(()=>P(()=>import("./Transactions-367ddbf5.js"),["react/Transactions-367ddbf5.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/transactions-b04705e6.js","react/react-i18next-335b3986.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/useActions-09c2d482.js","react/react-icons-19436e3a.js","react/ImportButton-68b5df42.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/lodash-632a8876.js","react/payments-7e54e458.js","react/invoice-status-756326ba.js","react/payment-status-51e1486d.js","react/collect.js-1b4e3eba.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),SS=g.lazy(()=>P(()=>import("./Create-24bddfe6.js"),["react/Create-24bddfe6.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/transactions-b04705e6.js","react/react-i18next-335b3986.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/jotai-2d204cb2.js","react/useResolveCurrencySeparator-12cebf6c.js","react/useHandleChange-91d5c960.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),ES=g.lazy(()=>P(()=>import("./Import-e2513de7.js"),["react/Import-e2513de7.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),TS=g.lazy(()=>P(()=>import("./Edit-9e4b9aaf.js"),["react/Edit-9e4b9aaf.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/useResolveCurrencySeparator-12cebf6c.js","react/useHandleChange-91d5c960.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/transactions-b04705e6.js","react/react-i18next-335b3986.js","react/react-query-f238471f.js","react/jotai-2d204cb2.js","react/useActions-09c2d482.js","react/react-icons-19436e3a.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),PS=f(F,{children:[t(A,{path:"bank_transactions",element:t(Va,{to:"/transactions"})}),f(A,{path:"transactions",children:[t(A,{path:"",element:t(de,{guards:[je(ve.Transactions),ke(J("view_bank_transaction"),J("create_bank_transaction"),J("edit_bank_transaction"))],component:t(CS,{})})}),t(A,{path:"create",element:t(de,{guards:[je(ve.Transactions),ke(J("create_bank_transaction"))],component:t(SS,{})})}),t(A,{path:"import",element:t(de,{guards:[je(ve.Transactions),ke(J("create_bank_transaction"),J("edit_bank_transaction"))],component:t(ES,{})})}),t(A,{path:":id/edit",element:t(de,{guards:[je(ve.Transactions),ke(J("view_bank_transaction"),J("edit_bank_transaction"),gt("/api/v1/bank_transactions/:id"))],component:t(TS,{})})})]})]}),AS=g.lazy(()=>P(()=>import("./RecurringExpense-3b06d466.js"),["react/RecurringExpense-3b06d466.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-bd5ab772.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-icons-19436e3a.js","react/react-i18next-335b3986.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),NS=g.lazy(()=>P(()=>import("./RecurringExpenses-46865056.js"),["react/RecurringExpenses-46865056.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/DataTableColumnsPicker-0a096664.js","react/lodash-632a8876.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-icons-19436e3a.js","react/@hello-pangea-f87c6a4b.js","react/redux-d99f579d.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/memoize-one-297ddbcb.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/react-i18next-335b3986.js","react/hooks-bd5ab772.js","react/react-query-f238471f.js","react/jotai-2d204cb2.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),IS=g.lazy(()=>P(()=>import("./Create-44715a09.js"),["react/Create-44715a09.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/Taxes-adf38e75.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-router-dom-47bf5f81.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/classnames-41611b71.js","react/ProjectSelector-58e51053.js","react/react-i18next-335b3986.js","react/hooks-bd5ab772.js","react/react-query-f238471f.js","react/react-icons-19436e3a.js","react/jotai-2d204cb2.js","react/dayjs-8e509be6.js","react/ClientActionButtons-ce6d2f1d.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/lodash-632a8876.js","react/PaymentTypeSelector-4aee9518.js","react/useResolveCurrencySeparator-12cebf6c.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),DS=g.lazy(()=>P(()=>import("./Edit-79ed5316.js"),["react/Edit-79ed5316.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/hooks-bd5ab772.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/react-icons-19436e3a.js","react/react-i18next-335b3986.js","react/jotai-2d204cb2.js","react/classnames-41611b71.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/Taxes-adf38e75.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/react-router-dom-47bf5f81.js","react/ProjectSelector-58e51053.js","react/ClientActionButtons-ce6d2f1d.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/lodash-632a8876.js","react/PaymentTypeSelector-4aee9518.js","react/useResolveCurrencySeparator-12cebf6c.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),$S=g.lazy(()=>P(()=>import("./Documents-4476deb1.js"),["react/Documents-4476deb1.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/react-query-f238471f.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/dayjs-8e509be6.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/react-i18next-335b3986.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),RS=f(A,{path:"/recurring_expenses",children:[t(A,{path:"",element:t(de,{guards:[je(ve.RecurringExpenses),ke(J("view_recurring_expense"),J("create_recurring_expense"),J("edit_recurring_expense"))],component:t(NS,{})})}),t(A,{path:"create",element:t(de,{guards:[je(ve.RecurringExpenses),J("create_recurring_expense")],component:t(IS,{})})}),f(A,{path:":id",element:t(de,{guards:[je(ve.RecurringExpenses),ke(J("view_recurring_expense"),J("edit_recurring_expense"),gt("/api/v1/recurring_expenses/:id"))],component:t(AS,{})}),children:[t(A,{path:"edit",element:t(DS,{})}),t(A,{path:"documents",element:t($S,{})})]})]});function VS(){return _i()?t(Va,{to:"/dashboard"}):t(Va,{to:"/login"})}function qS(){return{}.VITE_IS_TEST==="true"?t(on,{}):t(Va,{to:"/logout"})}function LS(){const[e]=N(),[n,a]=g.useState(!1),[s,o]=g.useState("");return t("div",{className:"flex items-center w-full h-full justify-center",children:f("div",{className:"mt-96",children:[t(tl,{isModalOpen:n,setIsModalOpen:a,onClientCreated:i=>o(i.id)}),t(sn,{inputOptions:{value:s??null},endpoint:D("/api/v1/clients?status=active"),entryOptions:{id:"id",label:"name",value:"id"},onChange:i=>i.resource&&o(i.resource.id),onDismiss:()=>o(""),action:{label:e("new_client"),onClick:()=>a(!0),visible:!0}})]})})}const OS=g.lazy(()=>P(()=>import("./Activity-e70d3e75.js"),["react/Activity-e70d3e75.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/classnames-41611b71.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/InvoiceViewer-c945da80.js","react/react-query-f238471f.js","react/react-i18next-335b3986.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@azure-485fd2d4.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),MS=t(A,{children:t(A,{path:"/activities/:id",element:t(OS,{})})}),jS=g.lazy(()=>P(()=>import("./Dashboard-b722f0ab.js"),["react/Dashboard-b722f0ab.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-query-f238471f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/classnames-41611b71.js","react/react-i18next-335b3986.js","react/dayjs-8e509be6.js","react/@remix-run-f5e5960b.js","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/react-redux-b592b6b6.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/recharts-49b78d44.js","react/react-resize-detector-0f892388.js","react/lodash-632a8876.js","react/react-smooth-d340a4c1.js","react/prop-types-f90281b5.js","react/fast-equals-a0711cdd.js","react/tiny-invariant-bee4f299.js","react/victory-vendor-5e3e398c.js","react/d3-scale-4cce9527.js","react/internmap-7949acc8.js","react/d3-array-7d9b19f9.js","react/d3-time-format-aa787c71.js","react/d3-time-9ce187c0.js","react/d3-interpolate-8fa1f6ff.js","react/d3-color-6502c434.js","react/d3-format-ffdb8652.js","react/recharts-scale-170b47f7.js","react/decimal.js-light-6fe16ef2.js","react/d3-shape-9e788a4f.js","react/d3-path-41c4cb36.js","react/eventemitter3-9a9805a1.js","react/collect.js-1b4e3eba.js","react/i18next-588d7f12.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/react-verification-input-27b63e6d.js","react/currency.js-57f74176.js","react/axios-84c4953a.js","react/dompurify-be9362af.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),FS=g.lazy(()=>P(()=>import("./NotFound-981424a7.js"),["react/NotFound-981424a7.js","react/react-markdown-5903ab9b.js","react/devlop-d057c9d1.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/unified-d7ff17de.js","react/bail-0fe607cf.js","react/extend-df615b3e.js","react/is-plain-obj-4f87c5a3.js","react/trough-69dd48ea.js","react/vfile-15ef26ed.js","react/vfile-message-9c3a211a.js","react/unist-util-stringify-position-7b16d8bf.js","react/remark-parse-cdbbeb74.js","react/mdast-util-from-markdown-3da6f195.js","react/micromark-util-decode-numeric-character-reference-e471f84f.js","react/micromark-util-decode-string-c1ef5903.js","react/decode-named-character-reference-29ded5ae.js","react/micromark-util-normalize-identifier-dfdf0387.js","react/micromark-a9ff1e21.js","react/micromark-util-combine-extensions-34ef5cdc.js","react/micromark-util-chunked-6f054bfc.js","react/micromark-factory-space-29c3693b.js","react/micromark-util-character-4dbc2ec3.js","react/micromark-core-commonmark-92c2d313.js","react/micromark-util-classify-character-60c83a47.js","react/micromark-util-resolve-all-8a85a8df.js","react/micromark-util-subtokenize-df14a385.js","react/micromark-factory-destination-03cfc157.js","react/micromark-factory-label-cdf45bbd.js","react/micromark-factory-title-d89a7826.js","react/micromark-factory-whitespace-db58972c.js","react/micromark-util-html-tag-name-eaa6d7c0.js","react/mdast-util-to-string-bfd41500.js","react/remark-rehype-2e065e8c.js","react/mdast-util-to-hast-b9c7e07c.js","react/@ungap-d56ab8cf.js","react/micromark-util-sanitize-uri-1ce30b45.js","react/unist-util-position-bb1bbaf7.js","react/trim-lines-00010efb.js","react/unist-util-visit-69cf1090.js","react/unist-util-visit-parents-7c0a8d5b.js","react/unist-util-is-7e122464.js","react/hast-util-to-jsx-runtime-6a8248b0.js","react/comma-separated-tokens-495b557e.js","react/property-information-33d7f5d8.js","react/space-separated-tokens-eedf1754.js","react/style-to-object-8432f6c6.js","react/inline-style-parser-e2a37bce.js","react/hast-util-whitespace-675c549c.js","react/estree-util-is-identifier-name-e0420bc7.js","react/html-url-attributes-cc94b481.js","react/react-i18next-335b3986.js","react/react-redux-b592b6b6.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/hoist-non-react-statics-4aa8e93e.js","react/react-is-e8e5dbb3.js","react/use-sync-external-store-d1dfebfc.js","react/lodash-632a8876.js","react/dayjs-8e509be6.js","react/i18next-588d7f12.js","react/axios-84c4953a.js","react/pusher-js-2c537ebe.js","react/jotai-2d204cb2.js","react/react-hot-toast-0eb97095.js","react/goober-70b4b9ca.js","react/react-query-f238471f.js","react/@azure-485fd2d4.js","react/react-router-e60aafb5.js","react/@remix-run-f5e5960b.js","react/@reduxjs-aeb60f9a.js","react/immer-430a53de.js","react/redux-d99f579d.js","react/reselect-57fce764.js","react/redux-thunk-ef899f4c.js","react/classnames-41611b71.js","react/react-router-dom-47bf5f81.js","react/styled-components-6ffe3f32.js","react/tslib-b7af3ea6.js","react/@emotion-8a85885d.js","react/stylis-60528643.js","react/react-datepicker-b32fd33e.js","react/react-datepicker-bc824827.css","react/react-debounce-input-83a8a88c.js","react/lodash.debounce-259c53ab.js","react/@headlessui-3ddcbe6f.js","react/@tanstack-bc891aca.js","react/react-icons-19436e3a.js","react/react-feather-5b028e5d.js","react/prop-types-f90281b5.js","react/@tippyjs-2bfb10a6.js","react/tippy.js-87d3e7d2.js","react/@popperjs-0aa08b12.js","react/formik-6c477b18.js","react/deepmerge-15f827de.js","react/lodash-es-87d1a1d5.js","react/react-fast-compare-ca555b97.js","react/tiny-warning-c932d744.js","react/react-select-74132ec9.js","react/@floating-ui-f24065be.js","react/use-isomorphic-layout-effect-dff258a8.js","react/memoize-one-297ddbcb.js","react/react-use-d9ed1db3.js","react/hex-color-regex-ef0a4159.js","react/react-phone-number-input-303d245b.js","react/libphonenumber-js-ee333aa5.js","react/input-format-d593e8e9.js","react/country-flag-icons-98a0f733.js","react/react-phone-number-input-71d701a7.css","react/react-verification-input-27b63e6d.js","react/collect.js-1b4e3eba.js","react/uuid-4a60fe23.js","react/react-colorful-37fa7570.js","react/@react-oauth-db20cca0.js","react/@tinymce-974de275.js","react/react-qr-code-6f4cf557.js","react/qr.js-8bf59ccc.js","react/currency.js-57f74176.js","react/react-number-format-8e6560cc.js","react/@hello-pangea-f87c6a4b.js","react/use-memo-one-6e47bcff.js","react/css-box-model-096cf826.js","react/tiny-invariant-bee4f299.js","react/raf-schd-5404ed65.js","react/array-move-3ca81c74.js","react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/@ant-design-b65cf700.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js","react/randexp-3746b453.js","react/ret-c6148803.js","react/drange-086dd526.js","react/pretty-bytes-5eb460d8.js","react/react-dropzone-bcfc14ce.js","react/file-selector-6cb2a621.js","react/attr-accept-6df8d728.js","react/react-string-replace-5896bba3.js","react/dompurify-be9362af.js","react/react-json-tree-05bd4511.js","react/react-base16-styling-3519bac4.js","react/base16-823cae66.js","react/color-5cbbe474.js","react/color-string-f5cd3c3e.js","react/color-name-b7949e8c.js","react/simple-swizzle-58fb3c22.js","react/color-convert-946e453a.js","react/lodash.curry-b0de7193.js","react/react-turnstile-25ee3253.js","react/deep-object-diff-34a34c8d.js","react/mitt-f7ef348c.js","react/@monaco-editor-f193edd5.js","react/state-local-dd516420.js","react/monaco-editor-2fc5bf8a.js","react/monaco-editor-6dc88aee.css","react/@sentry-bfeb32cd.js","react/@sentry-internal-0a0f6292.js"])),BS=f(Sd,{children:[t(A,{path:"/",element:t(VS,{})}),uC,f(A,{element:t(bc,{}),children:[t(A,{path:"/dashboard",element:t(de,{guards:[J("view_dashboard")],component:t(jS,{})})}),Op,nh,dh,wh,Ah,CC,RC,jC,KC,aS,wS,dS,RS,xS,PS,Xx,MS,t(A,{element:t(qS,{}),children:t(A,{path:"/testing",element:t(LS,{})})})]}),t(A,{path:"*",element:t(FS,{})})]});function zS(){return e=>{switch(e.replace("_","-").toLowerCase()){case"af":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"am":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.b),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ar-dz":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.c),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ar-iq":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.d),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ar-kw":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.e),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ar-ly":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.f),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ar-ma":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.g),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ar-sa":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.h),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ar-tn":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.i),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ar":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.j),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"az":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.k),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"be":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.l),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"bg":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.m),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"bi":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.n),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"bm":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.o),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"bn-bd":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.p),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"bn":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.q),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"bo":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.r),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"br":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.s),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"bs":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.t),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ca":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.u),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"cs":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.v),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"cv":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.w),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"cy":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.x),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"da":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.y),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"de-at":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.z),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"de-ch":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.A),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"de":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.B),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"dv":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.C),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"el":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.D),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"en-au":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.E),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"en-ca":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.F),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"en-gb":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.G),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"en-ie":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.H),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"en-il":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.I),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"en-in":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.J),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"en-nz":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.K),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"en-sg":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.L),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"en-tt":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.M),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"en":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.N),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"eo":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.O),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"es-do":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.P),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"es-mx":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.Q),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"es-pr":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.R),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"es-us":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.S),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"es":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.T),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"et":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.U),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"eu":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.V),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"fa":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.W),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"fi":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.X),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"fo":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.Y),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"fr-ca":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.Z),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"fr-ch":return P(()=>import("./dayjs-8e509be6.js").then(a=>a._),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"fr":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.$),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"fy":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a0),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ga":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a1),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"gd":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a2),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"gl":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a3),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"gom-latn":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a4),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"gu":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a5),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"he":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a6),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"hi":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a7),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"hr":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a8),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"hu":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a9),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"hy-am":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aa),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"id":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ab),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"is":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ac),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"it":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ad),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ja":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ae),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"jv":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.af),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ka":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ag),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"kk":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ah),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"km":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ai),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"kn":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aj),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ko":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ak),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ku":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.al),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ky":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.am),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"lb":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.an),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"lo":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ao),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"lt":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ap),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"lv":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aq),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"me":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ar),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"mi":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.as),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"mk":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.at),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ml":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.au),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"mn":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.av),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"mr":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aw),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ms-my":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ax),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ms":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ay),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"mt":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.az),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"my":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aA),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"nb":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aB),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ne":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aC),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"nl-be":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aD),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"nl":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aE),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"nn":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aF),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"oc-lnc":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aG),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"pa-in":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aH),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"pl":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aI),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"pt-br":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aJ),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"pt":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aK),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"rn":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aL),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ro":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aM),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ru":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aN),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"rw":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aO),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"sd":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aP),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"se":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aQ),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"si":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aR),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"sk":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aS),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"sl":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aT),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"sq":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aU),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"sr-cyrl":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aV),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"sr":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aW),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ss":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aX),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"sv-fi":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aY),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"sv":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.aZ),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"sw":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a_),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ta":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.a$),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"te":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.b0),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"tet":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.b1),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"tg":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.b2),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"th":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.b3),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"tk":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.b4),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"tl-ph":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.b5),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"tlh":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.b6),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"tr":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.b7),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"tzl":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.b8),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"tzm-latn":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.b9),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"tzm":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.ba),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ug-cn":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.bb),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"uk":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.bc),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"ur":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.bd),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"uz-latn":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.be),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"uz":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.bf),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"vi":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.bg),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"x-pseudo":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.bh),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"yo":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.bi),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"zh-cn":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.bj),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"zh-hk":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.bk),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"zh-tw":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.bl),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);case"zh":return P(()=>import("./dayjs-8e509be6.js").then(a=>a.bm),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"]);default:return P(()=>import("./dayjs-8e509be6.js").then(a=>a.N),["react/dayjs-8e509be6.js","react/@babel-473f926f.js"])}}}function US(){return e=>{switch(e){case"en":return P(()=>import("./antd-4fc22bde.js").then(n=>n.e),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"it":return P(()=>import("./antd-4fc22bde.js").then(n=>n.i),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"de":return P(()=>import("./antd-4fc22bde.js").then(n=>n.d),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"fr":return P(()=>import("./antd-4fc22bde.js").then(n=>n.f),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"pt_BR":return P(()=>import("./antd-4fc22bde.js").then(n=>n.p),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"nl":return P(()=>import("./antd-4fc22bde.js").then(n=>n.n),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"es":return P(()=>import("./antd-4fc22bde.js").then(n=>n.a),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"nb_NO":return P(()=>import("./antd-4fc22bde.js").then(n=>n.b),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"da":return P(()=>import("./antd-4fc22bde.js").then(n=>n.c),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"ja":return P(()=>import("./antd-4fc22bde.js").then(n=>n.j),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"sv":return P(()=>import("./antd-4fc22bde.js").then(n=>n.s),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"es_ES":return P(()=>import("./antd-4fc22bde.js").then(n=>n.a),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"fr_CA":return P(()=>import("./antd-4fc22bde.js").then(n=>n.g),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"lt":return P(()=>import("./antd-4fc22bde.js").then(n=>n.l),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"pl":return P(()=>import("./antd-4fc22bde.js").then(n=>n.h),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"cs":return P(()=>import("./antd-4fc22bde.js").then(n=>n.k),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"hr":return P(()=>import("./antd-4fc22bde.js").then(n=>n.m),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"sq":return P(()=>import("./antd-4fc22bde.js").then(n=>n.e),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"el":return P(()=>import("./antd-4fc22bde.js").then(n=>n.o),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"en_GB":return P(()=>import("./antd-4fc22bde.js").then(n=>n.q),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"pt_PT":return P(()=>import("./antd-4fc22bde.js").then(n=>n.r),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"sl":return P(()=>import("./antd-4fc22bde.js").then(n=>n.t),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"fi":return P(()=>import("./antd-4fc22bde.js").then(n=>n.u),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"ro":return P(()=>import("./antd-4fc22bde.js").then(n=>n.v),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"tr_TR":return P(()=>import("./antd-4fc22bde.js").then(n=>n.w),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"th":return P(()=>import("./antd-4fc22bde.js").then(n=>n.x),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"mk_MK":return P(()=>import("./antd-4fc22bde.js").then(n=>n.y),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"zh_TW":return P(()=>import("./antd-4fc22bde.js").then(n=>n.z),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"ru_RU":return P(()=>import("./antd-4fc22bde.js").then(n=>n.A),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"ar":return P(()=>import("./antd-4fc22bde.js").then(n=>n.B),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"fa":return P(()=>import("./antd-4fc22bde.js").then(n=>n.C),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"lv_LV":return P(()=>import("./antd-4fc22bde.js").then(n=>n.D),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"sr":return P(()=>import("./antd-4fc22bde.js").then(n=>n.E),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"sk":return P(()=>import("./antd-4fc22bde.js").then(n=>n.F),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"et":return P(()=>import("./antd-4fc22bde.js").then(n=>n.G),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"bg":return P(()=>import("./antd-4fc22bde.js").then(n=>n.H),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"he":return P(()=>import("./antd-4fc22bde.js").then(n=>n.I),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"km_KH":return P(()=>import("./antd-4fc22bde.js").then(n=>n.J),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"hu":return P(()=>import("./antd-4fc22bde.js").then(n=>n.K),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);case"fr_CH":return P(()=>import("./antd-4fc22bde.js").then(n=>n.f),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"]);default:return P(()=>import("./antd-4fc22bde.js").then(n=>n.e),["react/antd-4fc22bde.js","react/rc-util-81e13e6b.js","react/react-19ae1af1.js","react/@babel-473f926f.js","react/react-dom-ef62b023.js","react/scheduler-765c72db.js","react/@ant-design-b65cf700.js","react/stylis-60528643.js","react/classnames-41611b71.js","react/resize-observer-polyfill-0f9f8adb.js","react/@ctrl-fb5a5473.js","react/rc-resize-observer-37caf5b0.js","react/rc-motion-e640dc00.js","react/rc-picker-80f00ef2.js","react/dayjs-8e509be6.js","react/@rc-component-0d4dcccf.js","react/rc-pagination-e2d4da47.js","react/rc-field-form-cc9015e6.js","react/async-validator-dee29e8b.js"])}}}const Er=St.div`
  &:hover {
    background-color: ${e=>e.theme.hoverColor};
  }: 
`;function HS(e){var y,k,C,S,E;const[n]=N(),a=Ce(),s=Ae(),o=me(),i=we(),r=Lt(),[c,l]=g.useState(),[_,d]=g.useState(!1),[p,m]=g.useState(0),h=Ze(),u=I=>{h("settings.name",I);const H=I.split("").filter(z=>/[a-zA-Z]/.test(z)).join("").toLowerCase();h("subdomain",H)},v=I=>{$("PUT",D("/api/v1/companies/:id",{id:r==null?void 0:r.id}),r).then(H=>{T.success("updated_company"),I?m(z=>z+1):e.setIsModalOpen(!1),s(ba({object:"company",data:H.data.data}))}).catch(H=>{var z;((z=H.response)==null?void 0:z.status)===422&&(l(H.response.data),T.dismiss())}).finally(()=>d(!1))},b=I=>{T.processing(),$("POST",D("/api/v1/one_time_token"),{context:I}).then(H=>{var j;let z="stripe/signup/:token";I==="paypal_ppcp"&&(z="paypal?hash=:token"),(j=window.open(U(`https://invoicing.co/${z}`,{token:H.data.hash}),"_blank"))==null||j.focus(),T.dismiss()})},w=async I=>{if(!_){if(ce.isEqual(i,r)){I?m(H=>H+1):e.setIsModalOpen(!1);return}T.processing(),l(void 0),d(!0),r!=null&&r.subdomain&&It()?$("POST",D("/api/v1/check_subdomain"),{subdomain:r.subdomain}).then(()=>v(I)).finally(()=>d(!1)):v(I)}};return t(Fe,{title:p!==1?n(p===0?"welcome_to_invoice_ninja":"accept_payments_online"):"",visible:e.isModalOpen,onClose:()=>{e.setIsModalOpen(!1),l(void 0)},backgroundColor:"white",overflowVisible:!0,children:f("div",{className:"flex flex-col space-y-6",children:[p===0&&f("div",{className:"flex flex-col space-y-4",children:[t(q,{label:n("company_name"),value:(y=r==null?void 0:r.settings)==null?void 0:y.name,onValueChange:I=>u(I),errorMessage:(k=c==null?void 0:c.errors)==null?void 0:k.name,changeOverride:!0}),t(q,{label:n("subdomain"),value:r==null?void 0:r.subdomain,onValueChange:I=>h("subdomain",I),changeOverride:!0}),t(js,{label:n("language"),value:((C=r==null?void 0:r.settings)==null?void 0:C.language_id)||"",onChange:I=>h("settings.language_id",I),errorMessage:(S=c==null?void 0:c.errors)==null?void 0:S.language_id}),t(ts,{label:n("currency"),value:((E=r==null?void 0:r.settings)==null?void 0:E.currency_id)||"",onChange:I=>h("settings.currency_id",I)})]}),p===1&&t(Ul,{isSettingsPage:!1}),p===2&&f("div",{className:"flex flex-col items-center",children:[t(Er,{className:"flex w-full justify-center h-28 cursor-pointer",theme:{hoverColor:o.$5},onClick:()=>b("stripe_connect"),children:t(Ko,{name:"stripe",style:{width:"64%"}})}),t(Er,{className:"flex w-full justify-center h-28 cursor-pointer",theme:{hoverColor:o.$5},onClick:()=>b("paypal_ppcp"),children:t(Ko,{name:"paypal_ppcp",style:{width:"38%",transform:"scale(1.7)",pointerEvents:"none"}})}),t(te,{behavior:"button",className:"w-full mt-4",onClick:()=>{e.setIsModalOpen(!1),a("/settings/gateways/create")},children:n("all_payment_gateways")})]}),t("div",{className:"flex justify-end",children:(p!==2||Ft())&&t(te,{behavior:"button",onClick:()=>{p===0&&w(It()),p!==0&&m(I=>I+1)},children:n("next")})})]})})}/**
 * Invoice Ninja (https://invoiceninja.com).
 *
 * @link https://github.com/invoiceninja/invoiceninja source repository
 *
 * @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
 *
 * @license https://www.elastic.co/licensing/elastic-license
 */const od=et(null),GS=["public_notes","private_notes","terms","footer"];function IYe(e){const{id:n}=xt(),a=Ie(od),[s,o]=tt(e),[i,r]=tt(os),[c,l]=g.useState(),_=!1,d={}.VITE_ENABLE_DISCARD_CHANGES_TRACKING==="true",p=(h,u="")=>ce.flatMapDeep(ce.keys(h),v=>{const b=h[v],w=u?`${u}.${v}`:v;return ce.isObject(b)?p(b,w):w}),m=(h,u="")=>p(h,u);return g.useEffect(()=>{if(s&&c&&s.id===c.id&&!_){const u=m(s).filter(y=>GS.some(k=>y.includes(k))),v=ce.cloneDeep(s);u.forEach(y=>{y.includes(".")||(delete v[y],delete c[y])});const b=ce.isEqual(v,c);d&&a(X_(c,v)),i.prevent!==!b&&r(y=>y&&{...y,prevent:!b})}},[s]),Za(()=>{s&&s.id===n&&c&&(l(ce.cloneDeep(s)),r(h=>h&&{...h,prevent:!1}))},50,[s==null?void 0:s.updated_at]),Za(()=>{s&&(!n||s.id===n)&&!c&&l(ce.cloneDeep(s))},50,[s,c]),g.useEffect(()=>()=>{l(void 0),r(h=>h&&{...h,prevent:!1}),d&&a(null)},[]),[s,o]}function WS(){const[e]=N(),n=Ce(),a=zt(),s={}.VITE_ENABLE_DISCARD_CHANGES_TRACKING==="true",o=De(od),[i,r]=tt(ac),c=De(sc),[l,_]=tt(os),[d,p]=tt(ui),[m,h]=g.useState(!1),{nonPreventedLocations:u}=i,v=()=>{const w=l.actionKey==="browserBack",{url:y,externalLink:k,fn:C}=c||{};k||(r(I=>({...I,lastLocation:""})),_({prevent:!1,actionKey:void 0}));const S=u.length;let E=u[S-1];E=E!==a.pathname?E:u[S-2],w&&E&&n(E),c&&(y&&(k?window.open(y,"_blank"):n(y)),C==null||C()),p(!1)},b=()=>{const w=l.actionKey==="browserBack";_(y=>y&&{...y,actionKey:y.actionKey!=="browserBack"?void 0:"browserBack"}),p(!1),w&&history.pushState(null,document.title,window.location.href)};return g.useEffect(()=>{h(d)},[d]),t(Fe,{visible:m,onClose:()=>{},disableClosing:!0,children:f("div",{className:"flex flex-col space-y-8",children:[t("span",{className:"font-medium text-lg text-center",children:e("error_unsaved_changes")}),o&&s&&t("span",{className:"break-words",children:JSON.stringify(o)}),f("div",{className:"flex justify-between",children:[t(te,{type:"secondary",onClick:b,children:e("continue_editing")}),t(te,{onClick:v,children:e("discard_changes")})]})]})})}function KS(){const[e]=N(),{isOwner:n}=Je(),{i18n:a}=N(),s=qt(z=>z.settings.darkMode),o=Ce(),{id:i}=xt(),r=bt(),c=zt(),l=we();gm();const _=Kr(),d=ot(),p=Xr(),m=US(),h=zS(),u=wc(),v=De(tc),b=Ie(Ei),w=Ie(fm),{isCompanySettingsActive:y,isGroupSettingsActive:k}=lt(),[C,S]=g.useState(!1),E=l?p(r!=null&&r.language_id&&r.language_id.length>0?r.language_id:l.settings.language_id):void 0,I=z=>{var j,W;if(!i&&!c.pathname.startsWith("/settings")){const{error:ee}=z.detail;if(ee.response.data.errors){const V=ee.response.data.errors||{},O=(j=Object.keys(V))==null?void 0:j[0],Y=(W=V==null?void 0:V[O])==null?void 0:W[0];Y&&T.error(Y)}}};g.useEffect(()=>{document.body.style.backgroundColor=v.$2,document.body.style.colorScheme=v.$0},[v]),g.useEffect(()=>{E!=null&&E.locale&&(h(E.locale).then(z=>{w(z),fe.locale(z)}),m(E.locale).then(z=>{b(z)}),a.hasResourceBundle(E.locale,"translation")?a.changeLanguage(E.locale):fetch(new URL(Object.assign({"/src/resources/lang/ar/ar.json":cu,"/src/resources/lang/bg/bg.json":lu,"/src/resources/lang/ca/ca.json":du,"/src/resources/lang/cs/cs.json":_u,"/src/resources/lang/da/da.json":uu,"/src/resources/lang/de/de.json":mu,"/src/resources/lang/el/el.json":pu,"/src/resources/lang/en/en.json":hu,"/src/resources/lang/en_GB/en_GB.json":fu,"/src/resources/lang/es/es.json":gu,"/src/resources/lang/es_ES/es_ES.json":vu,"/src/resources/lang/et/et.json":yu,"/src/resources/lang/fa/fa.json":bu,"/src/resources/lang/fi/fi.json":wu,"/src/resources/lang/fr/fr.json":ku,"/src/resources/lang/fr_CA/fr_CA.json":xu,"/src/resources/lang/fr_CH/fr_CH.json":Cu,"/src/resources/lang/he/he.json":Su,"/src/resources/lang/hr/hr.json":Eu,"/src/resources/lang/hu/hu.json":Tu,"/src/resources/lang/it/it.json":Pu,"/src/resources/lang/ja/ja.json":Au,"/src/resources/lang/km_KH/km_KH.json":Nu,"/src/resources/lang/lo_LA/lo_LA.json":Iu,"/src/resources/lang/lt/lt.json":Du,"/src/resources/lang/lv_LV/lv_LV.json":$u,"/src/resources/lang/mk_MK/mk_MK.json":Ru,"/src/resources/lang/nb_NO/nb_NO.json":Vu,"/src/resources/lang/nl/nl.json":qu,"/src/resources/lang/pl/pl.json":Lu,"/src/resources/lang/pt_BR/pt_BR.json":Ou,"/src/resources/lang/pt_PT/pt_PT.json":Mu,"/src/resources/lang/ro/ro.json":ju,"/src/resources/lang/ru_RU/ru_RU.json":Fu,"/src/resources/lang/sk/sk.json":Bu,"/src/resources/lang/sl/sl.json":zu,"/src/resources/lang/sq/sq.json":Uu,"/src/resources/lang/sr/sr.json":Hu,"/src/resources/lang/sv/sv.json":Gu,"/src/resources/lang/th/th.json":Wu,"/src/resources/lang/tr_TR/tr_TR.json":Ku,"/src/resources/lang/vi/vi.json":Qu,"/src/resources/lang/zh_TW/zh_TW.json":Yu})[`/src/resources/lang/${E.locale}/${E.locale}.json`],self.location).href).then(z=>z.json()).then(z=>{a.addResources(E.locale,"translation",z),a.changeLanguage(E.locale)}))},[s,E]),g.useEffect(()=>{window.addEventListener("navigate.invalid.page",()=>o("/not_found")),window.addEventListener("refetch",z=>{const{property:j}=z.detail;_(j)})},[]),g.useEffect(()=>(window.removeEventListener("display.error.toaster",I),window.addEventListener("display.error.toaster",I),()=>{window.removeEventListener("display.error.toaster",I)}),[i,c]),g.useEffect(()=>{var j;const z=(j=l==null?void 0:l.settings)==null?void 0:j.name;l&&(!z||z===e("untitled_company"))&&localStorage.getItem("COMPANY-EDIT-OPENED")!=="true"&&(localStorage.setItem("COMPANY-EDIT-OPENED","true"),S(!0))},[l]),g.useEffect(()=>{!c.pathname.startsWith("/settings")&&!y&&u(),c.pathname.startsWith("/settings/group_settings")&&k&&o("/settings/company_details")},[c]),g.useEffect(()=>{r&&Object.keys(r).length&&c.pathname.endsWith("/dashboard")&&!d("view_dashboard")&&o("/settings/user_details")},[c,r]);const H=Wr();return Zu(),g.useEffect(()=>(l&&H&&(H.connection.bind("disconnected",()=>{console.log("Disconnected from Pusher")}),H.connection.bind("error",()=>{console.error("Error from Pusher")}),H.connect()),()=>{H&&l&&H.disconnect()}),[l==null?void 0:l.company_key]),f(F,{children:[f("div",{className:"App",children:[t(wd,{position:"top-center"}),BS]}),t(HS,{isModalOpen:C&&n,setIsModalOpen:S}),t(WS,{})]})}function QS(e){const n=zt();return g.useEffect(()=>{window.scrollTo(0,0)},[n]),t(F,{children:e.children})}const YS="Organization",XS="Name",JS="Website",ZS="Phone",e1="Address",t1="Street",n1="Apt/Suite",a1="City",s1="State/Province",o1="Postal Code",i1="Country",r1="Contacts",c1="First Name",l1="Last Name",d1="Phone",_1="Email",u1="Additional Info",m1="Payment Terms",p1="Currency",h1="Company Size",f1="Industry",g1="Private Notes",v1="Invoice",y1="Client",b1="Invoice Date",w1="Due Date",k1="Invoice Number",x1="Invoice #",C1="PO Number",S1="PO #",E1="How Often",T1="Discount",P1="Taxes",A1="Tax",N1="Item",I1="Description",D1="Unit Cost",$1="Quantity",R1="Line Total",V1="Subtotal",q1="Net",L1="Paid to Date",O1="Balance Due",M1="Design",j1="Terms",F1="Your Invoice",B1="Remove contact",z1="Add contact",U1="Create new client",H1="Edit client details",G1="Enable",W1="Learn more",K1="Manage rates",Q1="Note to Client",Y1="Invoice Terms",X1="Save as default terms",J1="Download PDF",Z1="Pay Now",e0="Save Invoice",t0="Clone To Invoice",n0="Archive Invoice",a0="Delete Invoice",s0="Email Invoice",o0="Enter Payment",i0="Tax Rates",r0="Rate",c0="Settings",l0="Enable specifying an <b>invoice tax</b>",d0="Enable specifying <b>line item taxes</b>",_0="Dashboard",u0='Note: add a :link named ":name" to show the totals using a single base currency.',m0="Clients",p0="Invoices",h0="Payments",f0="Credits",g0="History",v0="Search",y0="Sign Up",b0="Guest",w0="Company Details",k0="Online Payments",x0="Notifications",C0="Import | Export",S0="Done",E0="Save",T0="Create",P0="Upload",A0="Download",N0="Cancel",I0="Close",D0="Please provide a valid email address",$0="Powered by",R0="No items",V0="Recurring Invoices",q0=`<p>Automatically send clients the same invoices weekly, bi-monthly, monthly, quarterly or annually. </p>
        <p>Use :MONTH, :QUARTER or :YEAR for dynamic dates. Basic math works as well, for example :MONTH-1.</p>
        <p>Examples of dynamic invoice variables:</p>
        <ul>
          <li>"Gym membership for the month of :MONTH" >> "Gym membership for the month of July"</li>
          <li>":YEAR+1 yearly subscription" >> "2015 Yearly Subscription"</li>
          <li>"Retainer payment for :QUARTER+1" >> "Retainer payment for Q2"</li>
        </ul>`,L0="Recurring Quotes",O0="in total revenue",M0="billed client",j0="billed clients",F0="active client",B0="active clients",z0="Invoices Past Due",U0="Upcoming Invoices",H0="Average Invoice",G0="Archive",W0="Archive Client",K0="Delete Client",Q0="Archive Payment",Y0="Delete Payment",X0="Archive Credit",J0="Delete Credit",Z0="Show archived/deleted",eE="Filter",tE="New Client",nE="New Invoice",aE="Enter Payment",sE="Enter Credit",oE="Contact",iE="Date Created",rE="Last Login",cE="Balance",lE="Action",dE="Status",_E="Invoice Total",uE="Frequency",mE="Range",pE="Start Date",hE="End Date",fE="Transaction Reference",gE="Method",vE="Payment Amount",yE="Payment Date",bE="Credit Amount",wE="Credit Balance",kE="Credit Date",xE="No data available in table",CE="Select",SE="Edit Client",EE="Edit Invoice",TE="Create Invoice",PE="Enter Credit",AE="Last logged in",NE="Details",IE="Standing",DE="Credit",$E="Activity",RE="Date",VE="Message",qE="Adjustment",LE="Are you sure?",OE="Payment Type",ME="Amount",jE="Email",FE="Language",BE="Timezone",zE="Date Format",UE="Date/Time Format",HE="Users",GE="Localization",WE="Remove logo",KE="Supported: JPEG, GIF and PNG",QE="Payment Gateway",YE="Gateway",XE="Email Notifications",JE="Email me when an invoice is <b>viewed</b>",ZE="Email me when an invoice is <b>paid</b>",eT="Site Updates",tT="Custom Messages",nT="Set default <b>email signature</b>",aT="Please select a file",sT="Use first row as headers",oT="Column",iT="Sample",rT="Import to",cT="client will be created",lT="clients will be created",dT="Email Settings",_T="Client View Styling",uT="Attach PDF",mT="Custom CSS",pT="Import Client Data",hT="CSV file",fT="Export Client Data",gT="Successfully created client",vT="Successfully created :count client(s)",yT="Successfully updated settings",bT="Successfully removed logo",wT="Successfully sent message",kT="Please make sure to select a client and correct any errors",xT="You've hit the :count client limit on Free accounts. Congrats on your success!",CT="There was an error processing your payment. Please try again later.",ST="Registration Required",ET="Please confirm your email address, :link to resend the confirmation email.",TT="Successfully updated client",PT="Successfully archived client",AT="Successfully archived :count clients",NT="Successfully deleted client",IT="Successfully deleted :count clients",DT="Successfully updated invoice",$T="Successfully created invoice",RT="Successfully cloned invoice",VT="Successfully emailed invoice",qT="and created client",LT="Successfully archived invoice",OT="Successfully archived :count invoices",MT="Successfully deleted invoice",jT="Successfully deleted :count invoices",FT="Successfully created payment",BT="Successfully created :count payment(s)",zT="Successfully archived payment",UT="Successfully archived :count payments",HT="Successfully deleted payment",GT="Successfully deleted :count payments",WT="Successfully applied payment",KT="Successfully created credit",QT="Successfully archived credit",YT="Successfully archived :count credits",XT="Successfully deleted credit",JT="Successfully deleted :count credits",ZT="Successfully imported file",eP="Successfully updated vendor",tP="Successfully created vendor",nP="Successfully archived vendor",aP="Successfully archived :count vendors",sP="Successfully deleted vendor",oP="Successfully deleted :count vendors",iP="Account Confirmation",rP="Account Confirmation",cP="Please access the link below to confirm your account.",lP="New invoice :number from :account",dP="To view your invoice for :amount, click the link below.",_P="Payment Received",uP="Thank you for your payment of :amount.",mP="Dear :name,",pP="Regards,",hP="The Invoice Ninja Team",fP="To view the invoice click the link below:",gP="Invoice :invoice was paid by :client",vP="Invoice :invoice was sent to :client",yP="Invoice :invoice was viewed by :client",bP="A payment of :amount was made by client :client towards Invoice :invoice.",wP="The following client :client was emailed Invoice :invoice for :amount.",kP="The following client :client viewed Invoice :invoice for :amount.",xP="Invoice :invoicenumber for :amount for client :client",CP="Payment with no invoice for amount :amount for client :client",SP="You can reset your account password by clicking the following button:",EP="Secure Payment",TP="Card Number",PP="Expiration Month",AP="Expiration Year",NP="CVV",IP="Log Out",DP="Sign up to save your work",$P="I agree to the :terms",RP="Terms of Service",VP="The email address is already registered",qP="Working",LP="Success",OP="You have successfully registered! Please visit the link in the account confirmation email to verify your email address.",MP="Your account is not registered, this will permanently erase your data.",jP="Password",FP="Pro Plan",BP="You have unsaved changes",zP="Custom Fields",UP="Company Fields",HP="Client Fields",GP="Field Label",WP="Field Value",KP="Edit",QP="Set your company name",YP="View as recipient",XP="Product Library",JP="Product",ZP="Products",e2="Auto-fill products",t2="Selecting a product will automatically <b>fill in the description and cost</b>",n2="Auto-update products",a2="Updating an invoice will automatically <b>update the product library</b>",s2="Add Product",o2="Edit Product",i2="Archive Product",r2="Successfully updated product",c2="Successfully created product",l2="Successfully archived product",d2=":link to enable custom fields by joining the Pro Plan",_2="Advanced Settings",u2=":link to enable the advanced settings by joining the Pro Plan",m2="Invoice Design",p2="Specify colors",h2="Select the colors used in the invoice",f2="Chart Builder",g2="Created by :site | Create. Send. Get Paid.",v2="Go Pro",y2="Quote",b2="Quotes",w2="Quote Number",k2="Quote #",x2="Quote Date",C2="Quote Total",S2="Your Quote",E2="Total",T2="Clone",P2="New Quote",A2="Create Quote",N2="Edit Quote",I2="Archive Quote",D2="Delete Quote",$2="Save Quote",R2="Email Quote",V2="Clone To Quote",q2="Convert to Invoice",L2="View Invoice",O2="View Client",M2="View Quote",j2="Successfully updated quote",F2="Successfully created quote",B2="Successfully cloned quote",z2="Successfully emailed quote",U2="Successfully archived quote",H2="Successfully archived :count quotes",G2="Successfully deleted quote",W2="Successfully deleted :count quotes",K2="Successfully converted quote to invoice",Q2="New quote :number from :account",Y2="To view your quote for :amount, click the link below.",X2="To view your client quote click the link below:",J2="Quote :invoice was sent to :client",Z2="Quote :invoice was viewed by :client",eA="The following client :client was emailed Quote :invoice for :amount.",tA="The following client :client viewed Quote :invoice for :amount.",nA="Your session has expired.",aA="Invoice Fields",sA="Invoice Options",oA="Hide Paid to Date",iA='Only display the "Paid to Date" area on your invoices once a payment has been received.',rA="Charge taxes",cA="User Management",lA="Add User",dA="Send Invitation",_A="Successfully sent invitation",uA="Successfully updated user",mA="You've been invited by :invitor. ",pA="Please sign up to add a user",hA="State",fA="Edit User",gA="Delete User",vA="Active",yA="Pending",bA="Successfully deleted user",wA="Are you sure you want to email this invoice?",kA="Are you sure you want to email this quote?",xA="Are you sure you want this invoice emailed?",CA="Are you sure you want to start the recurrence?",SA="Delete Account",EA="Warning: This will permanently delete your account, there is no undo.",TA="Go Back",PA="Data Visualizations",AA="Sample data shown",NA="Hide",IA="A new version of :releases_link is available. You're running v:user_version, the latest is v:latest_version",DA="Invoice Settings",$A="Invoice Number Prefix",RA="Invoice Number Counter",VA="Quote Number Prefix",qA="Quote Number Counter",LA="Share invoice counter",OA="Invoice issued to",MA="To prevent a possible conflict please set either an invoice or quote number prefix",jA="Mark Sent",FA="More designs",BA="Additional Invoice Designs",zA="Go Pro for more invoice designs",UA="",HA="",GA="Buy",WA="Successfully added additional invoice designs",KA="Sent",QA="VAT Number",YA="Enter Your Billing Address and Credit Card information",XA="*This is the 3-4 digit number on the back of your card",JA="*Billing address must match address associated with credit card.",ZA='*Please click "PAY NOW" only once - transaction may take up to 1 minute to process.',eN="ID Number",tN="White label",nN="White Label",aN="Successfully enabled white label license",sN="White labeled",oN="Restore",iN="Restore Invoice",rN="Restore Quote",cN="Restore Client",lN="Restore Credit",dN="Restore Payment",_N="Successfully restored invoice",uN="Successfully restored quote",mN="Successfully restored client",pN="Successfully restored payment",hN="Successfully restored credit",fN="Help us improve our site by telling us why you're leaving.",gN="Percent",vN="Amount",yN="Invoice History",bN="Quote History",wN="Current version",kN="Select version",xN="View History",CN="Edit Payment",SN="Successfully updated payment",EN="Deleted",TN="Restore User",PN="Successfully restored user",AN="Show deleted users",NN="Email Templates",IN="Invoice Email",DN="Payment Email",$N="Quote Email",RN="Reset All",VN="Approve",qN="Token Billing",LN="Disabled",ON="Opt-in - checkbox is shown but not selected",MN="Opt-out - checkbox is shown and selected",jN="Always",FN="Store credit card details",BN="View in :gateway",zN="Use Card on File",UN="Edit payment details",HN="Save card details",GN="The data is stored securely by :link",WN="Support",KN="Contact Information",QN="Amount due",YN="Billing Address",XN="Billing Method",JN="Order overview",ZN="*Address must match address associated with credit card.",eI='*Please click "PAY NOW" only once - transaction may take up to 1 minute to process.',tI="Invoice Footer",nI="Save as default footer",aI="Token Management",sI="Tokens",oI="Add Token",iI="Show deleted tokens",rI="Successfully deleted token",cI="Successfully created token",lI="Successfully updated token",dI="Edit Token",_I="Delete Token",uI="Token",mI="Add Payment Gateway",pI="Delete Payment Gateway",hI="Edit Payment Gateway",fI="Successfully updated gateway",gI="Successfully created gateway",vI="Successfully deleted gateway",yI="PayPal",bI="Credit Card",wI="Change password",kI="Current password",xI="New password",CI="Confirm password",SI="The current password is incorrect.",EI="The new password is invalid.",TI="Successfully updated password",PI="API Tokens",AI="Users & Tokens",NI="Account Login",II="Recover your password",DI="Forgot your password?",$I="Email address",RI="Let's go",VI="Password Recovery",qI="Send Email",LI="Set Password",OI="Converted",MI="Email me when a quote is <b>approved</b>",jI="Quote :invoice was approved by :client",FI="The following client :client approved Quote :invoice for :amount.",BI="Resend confirmation email",zI="The confirmation email was resent",UI="Credit Card",HI="PayPal",GI="Bitcoin",WI="GoCardless",KI="Knowledge Base",QI="Partial/Deposit",YI=":partial of :balance",XI="More Fields",JI="Less Fields",ZI="Client Name",e3="PDF Settings",t3="Product Settings",n3="Auto Line Wrap",a3="Warning: the previous page was submitted twice. The second submission had been ignored.",s3="View Documentation",o3="Free Online Invoicing",i3="Invoice Ninja is a free, open-code solution for invoicing and billing customers. With Invoice Ninja, you can easily build and send beautiful invoices from any device that has access to the web. Your clients can print your invoices, download them as pdf files, and even pay you online from within the system.",r3="rows",c3="www",l3="Logo",d3="Subdomain",_3="Please provide a name or email",u3="Charts & Reports",m3="Chart",p3="Report",h3="Group by",f3="Paid",g3="Report",v3="Chart",y3="Totals",b3="Run",w3="Documentation",k3="Zapier",x3="Recurring",C3="Last invoice sent :date",S3="Successfully completed update",E3="Tasks",T3="New Task",P3="Start Time",A3="Successfully created task",N3="Successfully updated task",I3="Edit Task",D3="Clone Task",$3="Archive Task",R3="Restore Task",V3="Delete Task",q3="Stop Task",L3="Time",O3="Start",M3="Stop",j3="Now",F3="Timer",B3="Manual",z3="Date & Time",U3="Second",H3="Seconds",G3="Minute",W3="Minutes",K3="Hour",Q3="Hours",Y3="Task Details",X3="Duration",J3="Time Log",Z3="End Time",eD="End",tD="Invoiced",nD="Logged",aD="Running",sD="The tasks can't belong to different clients",oD="Please stop running tasks first",iD="Tasks have already been invoiced",rD="Successfully restored task",cD="Successfully archived task",lD="Successfully archived :count tasks",dD="Successfully deleted task",_D="Successfully deleted :count tasks",uD="Create Task",mD="Successfully stopped task",pD="Invoice Task",hD="Invoice Labels",fD="Prefix",gD="Counter",vD="Dwolla",yD="Must be greater than zero and less than the total",bD="More Actions",wD="NINJA PRO",kD="Upgrade Now!",xD="Create Unlimited Clients",CD="Access to 10 Beautiful Invoice Designs",SD='Custom URLs - "YourBrand.InvoiceNinja.com"',ED='Remove "Created by Invoice Ninja"',TD="Multi-user Access & Activity Tracking",PD="Create Quotes & Pro-forma Invoices",AD="Customize Invoice Field Titles & Numbering",ND="Option to Attach PDFs to Client Emails",ID="Resume",DD="Break",$D="Edit Details",RD="Work",VD="Please :link to set your timezone",qD="click here",LD="Email payment receipt to the client",OD="Successfully created payment and emailed client",MD="Add Company",jD="Untitled",FD="New Company",BD="Successfully linked accounts",zD="Successfully unlinked accounts",UD="Login",HD="or",GD="There was a problem sending the email",WD="Note: emails are sent at the start of the hour.",KD="Note: invoices are created at the start of the hour.",QD="Unlink Account",YD="Unlink",XD="Show Address",JD="Require client to provide their billing address",ZD="Update Address",e$="Update client's address with provided details",t$="Times",n$="Set to now",a$="Dark Mode",s$="Use a dark background for the sidebars",o$="Add to invoice :invoice",i$="Create new invoice",r$="Please correct any overlapping times",c$="From",l$="To",d$="Font Size",_$="Primary Color",u$="Secondary Color",m$="Customize Design",p$="Content",h$="Styles",f$="Defaults",g$="Margins",v$="Header",y$="Footer",b$="Custom",w$="Invoice to",k$="Invoice No.",x$="Quote No.",C$="Recent Payments",S$="Outstanding",E$="Manage Companies",T$="Total Revenue",P$="Current User",A$="New Recurring Invoice",N$="Recurring Invoice",I$="New Recurring Quote",D$="Recurring Quote",$$="Created by :invoice",R$="Primary User",V$="Help",q$="playground",L$="Support Forums",O$="Due Date",M$="Valid Until",j$="Valid Until",F$="Reset terms",B$="Reset footer",z$=":count invoice sent",U$=":count invoices sent",H$="Draft",G$="Sent",W$="Viewed",K$="Partial",Q$="Paid",Y$="Unpaid",X$="All",J$="Display <b>line item taxes inline</b>",Z$="Auto Bill",eR="24 Hour Time",tR="Last Sent",nR="Reminder Emails",aR="Quote Reminder Emails",sR="Templates & Reminders",oR="Subject",iR="Body",rR="First Reminder",cR="Second Reminder",lR="Third Reminder",dR="Days after due date",_R="Reminder: Invoice :invoice from :account",uR="Reset",mR="The requested invoice is not available",pR="Referral Program",hR="Referral URL",fR="Sent Last: :date",gR="This page will expire soon, :click_here to keep working",vR="Upcoming Quotes",yR="Expired Quotes",bR="Sign up using",wR="These credentials do not match our records",kR="Show all options",xR="User Details",CR="Connected Account",SR="Disable",ER="Invoice and Quote Numbers",TR="Invoice Surcharges",PR="We were unable to deliver Invoice :invoice to :contact. <br><br> :error",AR="Unable to deliver Invoice :invoice",NR="We were unable to deliver Quote :invoice to :contact. <br><br> :error",IR="Unable to deliver Quote :invoice",DR="Custom Invoice Link",$R="Total Invoiced",RR="Open Balance",VR="Please visit the link in the account confirmation email to verify your email address.",qR="Basic Settings",LR="Pro",OR="Payment Gateways",MR="Send Next: :date",jR="This invoice is not scheduled to run",FR="General Settings",BR="Customize",zR="Connect an account to login without a password",UR="Earn money by sharing our app online",HR="Enable | Requires Stripe",GR="Tax Settings",WR="Add Tax Rate",KR="Successfully updated tax rate",QR="Successfully created tax rate",YR="Edit tax rate",XR="Archive Tax Rate",JR="Successfully archived the tax rate",ZR="Default Tax Rate",eV="Tax Rate",tV="Recurring Hour",nV="Pattern",aV="Pattern Help",sV="Create custom numbers by specifying a pattern",oV="Available variables:",iV="For example, :example would be converted to :value",rV="See options",cV="Invoice Counter",lV="Quote Counter",dV="Type",_V=":user created client :client",uV=":user archived client :client",mV=":user deleted client :client",pV=":user created invoice :invoice",hV=":user updated invoice :invoice",fV=":user emailed invoice :invoice for :client to :contact",gV=":contact viewed invoice :invoice for :client",vV=":user archived invoice :invoice",yV=":user deleted invoice :invoice",bV=":user entered payment :payment for :payment_amount on invoice :invoice for :client",wV=":user updated payment :payment",kV=":user archived payment :payment",xV=":user deleted payment :payment",CV=":user entered :credit credit",SV=":user updated :credit credit",EV=":user archived :credit credit",TV=":user deleted :credit credit",PV=":user created quote :quote",AV=":user updated quote :quote",NV=":user emailed quote :quote for :client to :contact",IV=":contact viewed quote :quote",DV=":user archived quote :quote",$V=":user deleted quote :quote",RV=":user restored quote :quote",VV=":user restored invoice :invoice",qV=":user restored client :client",LV=":user restored payment :payment",OV=":user restored :credit credit",MV=":contact approved quote :quote for :client",jV=":user created vendor :vendor",FV=":user archived vendor :vendor",BV=":user deleted vendor :vendor",zV=":user restored vendor :vendor",UV=":user created expense :expense",HV=":user archived expense :expense",GV=":user deleted expense :expense",WV=":user restored expense :expense",KV=":user created task :task",QV=":user updated task :task",YV=":user archived task :task",XV=":user deleted task :task",JV=":user restored task :task",ZV=":user updated expense :expense",e4=":user created user :user",t4=":user updated user :user",n4=":user archived user :user",a4=":user deleted user :user",s4=":user restored user :user",o4=":user marked sent :invoice",i4=":user paid invoice :invoice",r4=":contact replied ticket :ticket",c4=":user viewed ticket :ticket",l4="Payment",d4="System",_4="Email Signature",u4="Default Messages",m4="Quote Terms",p4="Default Quote Terms",h4="Default Invoice Terms",f4="Default Invoice Footer",g4="Quote Footer",v4="Free",y4="Successfully approved",b4="Apply Credit",w4="System Settings",k4="Archive Token",x4="Successfully archived token",C4="Archive User",S4="Successfully archived user",E4="Delete Gateway",T4="Successfully archived gateway",P4="Archive Recurring Invoice",A4="Successfully archived recurring invoice",N4="Delete Recurring Invoice",I4="Successfully deleted recurring invoice",D4="Restore Recurring Invoice",$4="Successfully restored recurring invoice",R4="Archive Recurring Quote",V4="Successfully archived recurring quote",q4="Delete Recurring Quote",L4="Successfully deleted recurring quote",O4="Restore Recurring Quote",M4="Successfully restored recurring quote",j4="Archived",F4="Untitled Company",B4="Before",z4="After",U4="Reset to the default account terms",H4="Reset to the default account footer",G4="Export Data",W4="User",K4="Country",Q4="Include",Y4="Your logo is :size, for better PDF performance we suggest uploading an image file less than 200KB",X4="Import From FreshBooks",J4="Import Data",Z4="Source",eq="CSV",tq="Client File",nq="Invoice File",aq="Task File",sq="No valid mapping for file",oq="Invalid CSV Header",iq="Client Portal",rq="Admin",cq="Disabled",lq="Show archived users",dq="Notes",_q="invoice will be created",uq="invoices will be created",mq="The following records failed to import, they either already exist or are missing required fields.",pq="Publishable Key",hq="Secret Key",fq="Set your Stripe publishable key for an improved checkout process",gq="Email Design",vq="Due by :date",yq="Enable Markup",bq="Make it easier for your clients to pay you by adding schema.org markup to your emails.",wq="Templates Help",kq="Available variables:",xq="Email Style",Cq="Make your emails look more professional with HTML layouts.",Sq="Plain",Eq="Light",Tq="Dark",Pq="Used to provide comparisons against the averages of companies of similar size and industry.",Aq="Set the subdomain or display the invoice on your own website.",Nq="Display the invoice in an iFrame on your own website",Iq="Specify a prefix or use a custom pattern to dynamically set the invoice number.",Dq="Specify a prefix or use a custom pattern to dynamically set the quote number.",$q="Add a field when creating a client and optionally display the label and value on the PDF.",Rq="Add a label and value to the company details section of the PDF.",Vq="Add a field when creating an invoice and optionally display the label and value on the PDF.",qq="Add a field when creating an invoice and include the charge in the invoice subtotals.",Lq="Validation token was expired. Please try again.",Oq="Invoice Link",Mq="Confirm your email.",jq="Confirm",Fq="Email Preferences",Bq="Successfully created :count invoice(s)",zq="The next invoice number is :number.",Uq="The next quote number is :number.",Hq="days before the",Gq="days after the",Wq="due date",Kq="invoice date",Qq="Schedule",Yq="Email Designs",Xq="Assigned when sent",Jq="Purchase a white label license",Zq="Expense",eL="Expenses",tL="Enter Expense",nL="New Vendor",aL="Net",sL="Vendor",oL="Edit Vendor",iL="Archive Vendor",rL="Delete Vendor",cL="View Vendor",lL="Successfully deleted expense",dL="Successfully archived expense",_L="Successfully deleted expenses",uL="Successfully archived expenses",mL="Expense Amount",pL="Expense Balance",hL="Expense Date",fL="Should this expense be invoiced?",gL="Public Notes",vL="Invoice Amount",yL="Exchange Rate",bL="Yes",wL="No",kL="Should be invoiced",xL="View expense # :expense",CL="Edit Expense",SL="Archive Expense",EL="Delete Expense",TL="Expense # :expense",PL="Successfully updated expense",AL="Successfully created expense",NL="Enter Expense",IL="View",DL="Restore Expense",$L="Invoice Expense",RL="The expenses can't belong to different clients",VL="Expense has already been invoiced",qL="Convert currency",LL="Number of Days",OL="Create Payment Term",ML="Edit Payment Term",jL="Edit Payment Term",FL="Archive Payment Term",BL="Recurring Invoice Due Dates",zL=`<p>Automatically sets a due date for the invoice.</p>
        <p>Invoices on a monthly or yearly cycle set to be due on or before the day they are created will be due the next month. Invoices set to be due on the 29th or 30th in months that don't have that day will be due the last day of the month.</p>
        <p>Invoices on a weekly cycle set to be due on the day of the week they are created will be due the next week.</p>
        <p>For example:</p>
        <ul>
          <li>Today is the 15th, due date is 1st of the month. The due date should likely be the 1st of the next month.</li>
          <li>Today is the 15th, due date is the last day of the month. The due date will be the last day of the this month.
</li>
          <li>Today is the 15th, due date is the 15th day of the month. The due date will be the 15th day of <strong>next</strong> month.
</li>
          <li>Today is the Friday, due date is the 1st Friday after. The due date will be next Friday, not today.
</li>
        </ul>`,UL="Due",HL="Due Next: :date",GL="Use client terms",WL=":ordinal day of month",KL="Last day of month",QL=":ordinal :day after",YL="Sunday",XL="Monday",JL="Tuesday",ZL="Wednesday",eO="Thursday",tO="Friday",nO="Saturday",aO="Header Font",sO="Body Font",oO="Note: the primary color and fonts are also used in the client portal and custom email designs.",iO="Live Preview",rO="Unable to send email, please check that the mail settings are correct.",cO="To view your invoice for :amount, click the button below.",lO="To view your quote for :amount, click the button below.",dO="Thank you for your payment of :amount.",_O="Direct Debit",uO="Credit Cards & Banks",mO="Add Bank Account",pO="Setup Account",hO="Import Expenses",fO="Bank",gO="Integration Type",vO="Successfully updated bank account",yO="Edit Bank Account",bO="Archive Bank Account",wO="Successfully archived bank account",kO="Successfully created bank account",xO="Validate Bank Account",CO="Note: your password is transmitted securely and never stored on our servers.",SO="Warning: your password may be transmitted in plain text, consider enabling HTTPS.",EO="Username",TO="Account Number",PO="Account Name",AO="Failed to retrieve account details, please check your credentials.",NO="Approved",IO="Quote Settings",DO="Auto Convert",$O="Automatically convert a quote to an invoice when approved.",RO="Validate",VO="Info",qO="Successfully created :count_vendors vendor(s) and :count_expenses expense(s)",LO="Note: if you plan on accepting credit cards details we strongly recommend enabling HTTPS on your site.",OO="The expenses can't have different currencies.",MO="The client's currency does not match the expense currency.",jO="Trello Roadmap",FO="Header/Footer",BO="First page",zO="All pages",UO="Last page",HO="Show Header on",GO="Show Footer on",WO="Invoice Currency",KO="We strongly recommend using HTTPS to accept credit card details online.",QO="Quote issued to",YO="Currency Code",XO="Your account has been upgraded to the pro plan for one year at no cost.",JO="Your account will receive a free two week trial of our pro plan.",ZO="Your free pro plan trial lasts :count more days, :link to upgrade now.",eM="This is the last day of your free pro plan trial, :link to upgrade now.",tM="Start Free Trial",nM="Successfully enabled two week free pro plan trial",aM="Overdue",sM="Purchase a ONE YEAR white label license for $:price to remove the Invoice Ninja branding from the invoice and client portal.",oM="To adjust your email notification settings please visit :link",iM="If you did not request this password reset please email our support: :email",rM="Sorry, this will exceed the limit of :limit users",cM="Get 6 more invoice designs for just $:price",lM="Please use a :link",dM="newer browser",_M=":link for $:price to enable custom styling and help support our project.",uM=":link to remove the Invoice Ninja logo by joining the Pro Plan",mM="Click here",pM="Sent",hM="Opened",fM="Viewed",gM="Emails can not be sent to inactive clients",vM="Emails can not be sent to inactive contacts",yM="Emails can not be sent to inactive invoices",bM="Emails can not be sent to inactive proposals",wM="Please register your account to send emails",kM="Please confirm your account to send emails",xM="Invalid contact email",CM="Navigation",SM="List Invoices",EM="List Clients",TM="List Quotes",PM="List Tasks",AM="List Expenses",NM="List Recurring Invoices",IM="List Payments",DM="List Credits",$M="Tax Name",RM="Report Settings",VM="New User",qM="New Product",LM="New Tax Rate",OM="Invoiced Amount",MM="Invoice Item Fields",jM="Add a field when creating an invoice item and display the label and value on the PDF.",FM="Recurring Number",BM="Specify a prefix to be added to the invoice number for recurring invoices.",zM="Password Protect Invoices",UM="Allows you to set a password for each contact. If a password is set, the contact will be required to enter a password before viewing invoices.",HM="Generate Automatically",GM="If no password is set, one will be generated and sent with the first invoice.",WM="Expired",KM="The credit card number is not valid.",QM="The expiration date is not valid.",YM="The CVV is not valid.",XM="Cost",JM="Note: create your first invoice to see a preview here.",ZM="Owner",e5="Administrator",t5="Allow user to manage users, change settings and modify all records",n5="Create clients, invoices, etc.",a5="View all clients, invoices, etc.",s5="Edit all clients, invoices, etc.",o5="Partial Due",i5="Restore Vendor",r5="Successfully restored vendor",c5="Successfully restored expense",l5="Permissions",d5="Allow user to create and modify records",_5="Allow user to view records they didn't create",u5="Allow user to modify records they didn't create",m5="View Payment",p5="January",h5="February",f5="March",g5="April",v5="May",y5="June",b5="July",w5="August",k5="September",x5="October",C5="November",S5="December",E5="Documents:",T5="Documents:",P5="Widgets Receipt.pdf",A5="Final Deliverable.zip",N5="Quote Documents",I5="Invoice Documents",D5="Expense Documents",$5="Embed Documents",R5="Include attached images in the invoice.",V5="Attach Documents",q5="Attach UBL/E-Invoice",L5="Download Documents (:size)",O5="From Expenses:",M5="Drop files or click to upload",j5="Uploads disabled",F5="Your browser does not support drag'n'drop file uploads.",B5="Please use the fallback form below to upload your files like in the olden days.",z5="File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",U5="You can't upload files of this type.",H5="Server responded with {{statusCode}} code.",G5="Cancel upload",W5="Are you sure you want to cancel this upload?",K5="Remove file",Q5="Documents",Y5="Document Date",X5="Size",J5="Client Portal",Z5="Show/hide the client portal.",ej="Dashboard",tj="Show/hide the dashboard page in the client portal.",nj="Account Management",aj="Plan Status",sj="Upgrade",oj="Manage Plan",ij="Changes To",rj=":plan on :date",cj=":plan (:term) on :date",lj="Cancel Change",dj="Plan",_j="Expires",uj="Renews",mj=":plan Plan Expired",pj=":plan Plan Trial Ended",hj="Never",fj="Free",gj="Pro",vj="Enterprise",yj="Self Hosted (White labeled)",bj="Self Hosted (Free)",wj="Trial",kj="Term",xj="Monthly",Cj="Yearly",Sj="Month",Ej="Year",Tj="$:price/Month",Pj="$:price/Year",Aj="Updated plan settings",Nj="Term Started",Ij="Plan Started",Dj="Plan Expires",$j="Purchase White Label",Rj="One year enrollment in the Invoice Ninja Pro Plan.",Vj="One month enrollment in the Invoice Ninja Pro Plan.",qj="Enterprise Plan",Lj="One year enrollment in the Invoice Ninja Enterprise Plan.",Oj="One month enrollment in the Invoice Ninja Enterprise Plan.",Mj="Credit",jj="Credit for unused time",Fj="Will switch to monthly on :date",Bj="A refund has been issued.",zj="Page Size",Uj="Live preview has been disabled to support selected font",Hj="Padding",Gj="Preview",Wj="List Vendors",Kj="Upgrade to the Enterprise Plan to add additional users to your account.",Qj="The Enterprise Plan adds support for multiple users and file attachments, :link to see the full list of features.",Yj="Return To App",Xj="Refund Payment",Jj="Max:",Zj="Refund",eF="Refund selected payments?",tF="Pending",nF="Completed",aF="Failed",sF="Partially Refunded",oF=":amount Refunded",iF="Refunded",rF="Cancelled",cF="Refunded Payment",lF=":user cancelled a :payment_amount payment :payment",dF=":user refunded :adjustment of a :payment_amount payment :payment",_F="Exp:&nbsp:expires",uF="Unknown",mF="American Express",pF="Carte Blanche",hF="UnionPay",fF="Diners Club",gF="Discover",vF="JCB",yF="Laser",bF="Maestro",wF="MasterCard",kF="Solo",xF="Switch",CF="Visa",SF="ACH",EF="Stripe",TF="ACH",PF="Accept US bank transfers",AF="ACH support must also be enabled in :link.",NF="Another gateway is already configured for direct debit.",IF="Plaid",DF="Client Id",$F="Secret",RF="Public Key",VF="(optional)",qF="When a Stripe test key is given, Plaid's development environment (tartan) will be used.",LF="Other Providers",OF="That country is not supported.",MF="The routing number is not valid.",jF="The account number is not valid.",FF="The account numbers do not match.",BF="Please select an individual or company account.",zF="Please enter the account holder's name.",UF="Routing Number",HF="Confirm Account Number",GF="Individual Account",WF="Company Account",KF="Account Holder Name",QF="Add Account",YF="Payment Methods",XF="Complete Verification",JF="Amount 1",ZF="Amount 2",e6="Verification completed successfully",t6="Verification Failed",n6="Remove Payment Method",a6="Are you sure you want to remove this payment method?",s6="Remove",o6="Removed payment method.",i6='We have made two deposits into your account with the description "VERIFICATION". These deposits will take 1-2 business days to appear on your statement. Please enter the amounts below.',r6=`We have made two deposits into your account with the description "VERIFICATION". These deposits will take 1-2 business days to appear on your statement.
        Once you have the amounts, come back to this payment methods page and click "Complete Verification" next to the account.`,c6="Unknown Bank",l6="You will be able to use the account after completing verification. Verification usually takes 1-2 business days.",d6="Add Credit Card",_6="Added payment method.",u6="Use For Autobill",m6="Autobill Payment Method",p6="Set Autobill payment method.",h6=":payment_amount payment (:payment) failed",f6="Webhook URL",g6="You must :link.",v6="add this URL as an endpoint at Stripe",y6="add this URL as an endpoint in GoCardless",b6="There was an error adding your payment methd. Please try again later.",w6="Payment failed for Invoice :invoice",k6="A payment made by client :client towards Invoice :invoice failed. The payment has been marked as failed and :amount has been added to the client's balance.",x6="Link Account Instantly with Plaid",C6="Link Manually",S6="Secured by Plaid",E6="Your bank account at :bank",T6="Add Payment Method",P6="Account Holder Type",A6="I authorize :company to use my bank account for future payments and, if necessary, electronically credit my account to correct erroneous debits. I understand that I may cancel this authorization at any time by removing the payment method or by contacting :email.",N6="You must consent to ACH transactions.",I6="Off",D6="Opt-in",$6="Opt-out",R6="Always",V6="Opted out",q6="Opted in",L6="Manage Auto-bill",O6="Enabled",M6="PayPal",j6="Enable PayPal payments through BrainTree",F6="The PayPal gateway is processing PayPal payments",B6="You must also :link.",z6="link PayPal to your BrainTree account",U6="Save payment details",H6="Add PayPal Account",G6="No payment method specified",W6="Chart Type",K6="Format",Q6="Import OFX",Y6="OFX File",X6="Failed to parse OFX file",J6="WePay",Z6="Sign up with WePay",eB="Use another provider",tB="Company Name",nB="This will appear on client's credit card statements.",aB="The purpose of this account.",sB="I agree to the :link.",oB="WePay Terms of Service",iB="Resend Confirmation Email",rB="Manage Account",cB="Action Required",lB="Finish Setup",dB="Please check your email and confirm your email address with WePay.",_B="Switch to WePay",uB="Restore Gateway",mB="Successfully restored gateway",pB="United States",hB="Canada",fB="Accept Debit Cards",gB="Debit Cards",vB="The next invoice will be sent on the new start date.",yB="The next invoice will be created on the new start date.",bB="Original start date",wB="New start date",kB="Security",xB="See what's new in v:version",CB="Please wait for the document upload to complete.",SB="Upgrade to our Enterprise Plan to enable permissions.",EB="Enable specifying a <b>second tax rate</b>",TB="Payment File",PB="Expense File",AB="Product File",NB="Import Products",IB="products will be created",DB="Product",$B="Successfully created/updated :count product(s)",RB="Use JSON if you plan to import the data into Invoice Ninja.<br/>The file includes clients, products, invoices, quotes and payments.",VB="<br/>We recommend using mysqldump to create a full backup.",qB="JSON File",LB="View Dashboard",OB="Session Expired",MB="Your session has expired. Please click the link in your email again.",jB="This invoice will automatically be billed to your :payment_method on file on :due_date.",FB="bank account",BB="credit card",zB="PayPal account",UB="This invoice will automatically be billed to your credit card on file on the due date.",HB="Payment Settings",GB="On send date",WB="On due date",KB="ACH will always auto bill on the due date.",QB="Due to NACHA rules, changes to this invoice may prevent ACH auto bill.",YB="Bank Account",XB="ACH payments will be processed using WePay.",JB="Privacy Policy",ZB="Please enter your email address:",e9="Verification Pending",t9="Please force refresh the page to update the font cache.",n9="More options",a9="Credit Card",s9="Bank Transfer",o9="We did not receive a payment transaction reference from the gateway.",i9="Use Bank on File",r9="This invoice will automatically be billed to the payment method on file on the due date.",c9="Bitcoin",l9="GoCardless",d9="Added :date",_9="Failed to remove the payment method",u9="This gateway already exists",m9="Manual entry",p9="First Day of the Week",h9="Inactive",f9="Daily",g9="Weekly",v9="Biweekly",y9="Two weeks",b9="Four weeks",w9="Monthly",k9="Three months",x9="Four months",C9="Six months",S9="Annually",E9="Two years",T9="Cash",P9="Debit",A9="ACH",N9="MasterCard",I9="EuroCard",D9="Nova",$9="PayPal",R9="Check",V9="UnionPay",q9="JCB",L9="Laser",O9="Maestro",M9="Solo",j9="Switch",F9="iZettle",B9="Swish",z9="Alipay",U9="Sofort",H9="SEPA Direct Debit",G9="Bitcoin",W9="GoCardless",K9="Zelle",Q9="Afghanistan",Y9="Albania",X9="Antarctica",J9="Algeria",Z9="Andorra",e8="Angola",t8="Azerbaijan",n8="Argentina",a8="Australia",s8="Austria",o8="Bahamas",i8="Bahrain",r8="Bangladesh",c8="Armenia",l8="Barbados",d8="Belgium",_8="Bermuda",u8="Bhutan",m8="Botswana",p8="Brazil",h8="Belize",f8="Bulgaria",g8="Myanmar",v8="Burundi",y8="Belarus",b8="Cambodia",w8="Cameroon",k8="Canada",x8="Chad",C8="Chile",S8="China",E8="Colombia",T8="Comoros",P8="Mayotte",A8="Congo",N8="Croatia",I8="Cuba",D8="Cyprus",$8="Benin",R8="Denmark",V8="Dominica",q8="Ecuador",L8="Ethiopia",O8="Eritrea",M8="Estonia",j8="Fiji",F8="Finland",B8="France",z8="Djibouti",U8="Gabon",H8="Georgia",G8="Gambia",W8="Germany",K8="Ghana",Q8="Gibraltar",Y8="Kiribati",X8="Greece",J8="Greenland",Z8="Grenada",ez="Guadeloupe",tz="Guam",nz="Guatemala",az="Guinea",sz="Guyana",oz="Haiti",iz="Honduras",rz="Hungary",cz="Iceland",lz="India",dz="Indonesia",_z="Iraq",uz="Ireland",mz="Israel",pz="Italy",hz="Jamaica",fz="Japan",gz="Kazakhstan",vz="Jordan",yz="Kenya",bz="Kuwait",wz="Kyrgyzstan",kz="Lebanon",xz="Lesotho",Cz="Latvia",Sz="Liberia",Ez="Libya",Tz="Liechtenstein",Pz="Lithuania",Az="Luxembourg",Nz="Macao",Iz="Madagascar",Dz="Malawi",$z="Malaysia",Rz="Maldives",Vz="Mali",qz="Malta",Lz="Martinique",Oz="Mauritania",Mz="Mauritius",jz="Mexico",Fz="Monaco",Bz="Mongolia",zz="Montenegro",Uz="Montserrat",Hz="Morocco",Gz="Mozambique",Wz="Oman",Kz="Namibia",Qz="Nauru",Yz="Nepal",Xz="Netherlands",Jz="Aruba",Zz="Vanuatu",e7="Nicaragua",t7="Niger",n7="Nigeria",a7="Niue",s7="Norway",o7="Palau",i7="Pakistan",r7="Panama",c7="Paraguay",l7="Peru",d7="Philippines",_7="Pitcairn",u7="Poland",m7="Portugal",p7="Qatar",h7="Romania",f7="Rwanda",g7="Anguilla",v7="Senegal",y7="Serbia",b7="Seychelles",w7="Singapore",k7="Slovakia",x7="Slovenia",C7="Somalia",S7="Zimbabwe",E7="Spain",T7="Sudan",P7="Suriname",A7="Swaziland",N7="Sweden",I7="Switzerland",D7="Tajikistan",$7="Thailand",R7="Togo",V7="Tokelau",q7="Tonga",L7="Tunisia",O7="Turkey",M7="Turkmenistan",j7="Tuvalu",F7="Uganda",B7="Ukraine",z7="Egypt",U7="Guernsey",H7="Jersey",G7="Uruguay",W7="Uzbekistan",K7="Samoa",Q7="Yemen",Y7="Zambia",X7="Croatian",J7="Czech",Z7="Danish",eU="Dutch",tU="English",nU="French",aU="German",sU="Italian",oU="Japanese",iU="Lithuanian",rU="Norwegian",cU="Polish",lU="Spanish",dU="Swedish",_U="Albanian",uU="Greek",mU="Slovenian",pU="Finnish",hU="Romanian",fU="Thai",gU="Macedonian",vU="Serbian",yU="Bulgarian",bU="Advertising",wU="Aerospace",kU="Agriculture",xU="Automotive",CU="Biotechnology",SU="Broadcasting",EU="Communications",TU="Defense",PU="Energy",AU="Entertainment",NU="Government",IU="Insurance",DU="Manufacturing",$U="Marketing",RU="Media",VU="Pharmaceuticals",qU="Sports",LU="Transportation",OU="Other",MU="Photography",jU="View client portal",FU="View Portal",BU="Vendor Contacts",zU="All",UU="Selected",HU="Category",GU="Categories",WU="New Expense Category",KU="Edit Category",QU="Archive Category",YU="Expense Categories",XU="List Expense Categories",JU="Successfully updated expense category",ZU="Successfully created expense category",eH="Successfully archived expense category",tH="Successfully archived :count expense category",nH="Restore expense category",aH="Successfully restored expense category",sH="Apply taxes",oH=":min to :max users",iH="The maximum number of users has been reached.",rH="Buy Now Buttons",cH="Landing Page",lH="Payment Type",dH="Form",_H="Link",uH="Fields",mH="Dwolla",pH="Note: the client and invoice are created even if the transaction isn't completed.",hH="This feature requires that a product is created and a payment gateway is configured.",fH="Enable support for buy now buttons",gH="Note: changes take effect immediately",vH="Payment gateway for Invoice Ninja",yH="There was an error processing your payment [:code]. Please try again later.",bH="Fee: 2.9%/1.2% [Credit Card/Bank Transfer] + $0.30 per successful charge.",wH="Data needs to be imported in batches of :count rows or less",kH="Something went wrong",xH="If you'd like help please email us at :mailaddress",CH="Warning: this can't be undone.",SH="Please select a contact",EH="Please select a client",TH="It may help to set new passwords or generate new API keys.",PH=":type on file",AH="Invoice :invoice for :client",NH="Sorry, I'm not sure what you're asking.",IH="Sorry, I'm not able to do that.",DH="I wasn't able to find the client",$H="Sorry, you don't have the needed permissions",RH="Your invoice has been sent.",VH="I'll email you when it's viewed.",qH="I'll email you when it's paid.",LH="Add 1 :product",OH="You are not authorized",MH="I wasn't able to find an available account for :email",jH="The code is not correct",FH="List Products",BH="Include <b>line item taxes in line total</b>",zH="Successfully created :count quotes(s)",UH="Warning",HH="Update Invoice Ninja",GH="Before start upgrading Invoice Ninja create a backup of your database and files!",WH="A new version of Invoice Ninja is available.",KH="No new version of Invoice Ninja available.",QH="Update now",YH="Download :version",XH="Create New",JH="Toggle Navigation",ZH="Toggle History",eG="Unassigned",tG="Task",nG="Contact Name",aG="City/State/Postal",sG="Postal/City",oG="Custom Field",iG="Company Fields",rG="Facebook and Twitter",cG="Follow our feeds to help support our project",lG="Note: the white-label license is intended for personal use, please email us at :email if you'd like to resell the app.",dG="Unnamed Client",_G="Day",uG="Week",mG="Month",pG="You have been logged out due to inactivity",hG="Reports",fG="Total Profit",gG="Total Expenses",vG="Quote to",yG="Limit",bG="Min: :min",wG="Max: :max",kG="No Limits",xG="Set :gateway_type Limits",CG="Enable min",SG="Enable max",EG="Min",TG="Max",PG="This invoice does not meet the limits for that payment type.",AG="Date Range",NG="Raw",IG="Raw HTML",DG="Update",$G="Drag and drop fields to change their order and location",RG="New Category",VG="Restore Product",qG="Blank",LG="There was an error saving your invoice",OG="Enable Recurring",MG="Disable Recurring",jG="Text",FG="expense will be created",BG="expenses will be created",zG="Successfully created :count expense(s)",UG="Help improve our translations with :link",HG="Expense Category",GG="Go Ninja Pro!",WG="Go Enterprise!",KG="Upgrade For More Features",QG="Pay annually for 10 months + 2 free!",YG="Ninja Pro",XG="YourBrand.InvoiceNinja.com",JG="Customize every aspect of your invoice!",ZG="Set permissions for multiple-users",eW="Attach 3rd party files to invoices & expenses",tW="Much More!",nW="Plus all pro features!",aW="Symbol",sW="Code",oW="Buy License",iW="Apply License",rW="Submit",cW="License Key",lW="The white label license is not valid",dW="Created by :name",_W="Modules",uW="First Month of the Year",mW="Authentication",pW="Checkbox",hW="Signature",fW="Invoice Terms Checkbox",gW="Require client to confirm that they accept the invoice terms.",vW="Quote Terms Checkbox",yW="Require client to confirm that they accept the quote terms.",bW="Invoice Signature",wW="Require client to provide their signature.",kW="Quote Signature",xW="Require client to provide their signature.",CW="I Agree To The Terms",SW="Please sign here:",EW="Use the mouse or your touchpad to trace your signature.",TW="Authorization",PW="Signed",AW="Vendor",NW="State",IW="Date Created",DW="There was a problem sending the email through Postmark: :link",$W="Project",RW="Projects",VW="New Project",qW="Edit Project",LW="Archive Project",OW="List Projects",MW="Successfully updated project",jW="Successfully created project",FW="Successfully archived project",BW="Successfully archived :count projects",zW="Restore Project",UW="Successfully restored project",HW="Delete Project",GW="Successfully deleted project",WW="Successfully deleted :count projects",KW="Delete category",QW="Successfully deleted category",YW="Delete Product",XW="Successfully deleted product",JW="Successfully deleted :count products",ZW="Successfully restored product",eK="Update Credit",tK="Successfully updated credit",nK="Edit Credit",aK="Realtime Preview",sK="Realtime refresh PDF preview on the invoice page when editing invoice.<br/>Disable this to improve performance when editing invoices.",oK="Display a live PDF preview on the invoice page.",iK="Replace the built-in PDF viewer in :chrome_link and :firefox_link.<br/>Enable this if your browser is automatically downloading the PDF.",rK="Prevent Download",cK="Redirect URL",lK="Optionally specify a URL to redirect to after a payment is entered.",dK="Save Draft",_K="Refunded credit payment",uK="Keyboard Shortcuts",mK="Toggle Menu",pK="Date Created",hK="Contact Us",fK="User Guide",gK="Upgrade before :expires and get :amount OFF your first year of our Pro or Enterprise packages.",vK=":amount off expires :expires",yK="Mark Paid",bK="Successfully marked invoice sent",wK="Successfully marked invoices sent",kK="Invoice",xK="product will be created",CK="Thank you for your message! We'll try to respond as soon as possible.",SK="Last 7 Days",EK="Last 30 Days",TK="This Month",PK="Last Month",AK="Current Quarter",NK="Last Quarter",IK="Last Year",DK="All Time",$K="Custom Range",RK="URL",VK="Debug",qK="HTTPS",LK="Require",OK="Note: Your license will expire in :count days, :link to renew it.",MK="Your email address has been confirmed.",jK="Your white label license has expired, please consider renewing it to help support our project.",FK="Renew License",BK="Consider downloading our :link",zK="iPhone app",UK="Android app",HK="Logged In",GK="Switch to your primary company (:name) to manage your plan.",WK="Inclusive",KK="Exclusive",QK="Postal/City/State",YK="In certain cases the app uses :link_phantom to generate the PDF, install :link_docs to generate it locally.",XK="Using local PhantomJS",JK="Client Number",ZK="Specify a prefix or use a custom pattern to dynamically set the client number.",eQ="The next client number is :number.",tQ="Generated Numbers",nQ="First Reminder",aQ="Second Reminder",sQ="Third Reminder",oQ="Reminder",iQ="BCC Email",rQ="Tax Quote",cQ="Tax Invoice",lQ="Successfully emailed invoices",dQ="Successfully emailed quotes",_Q="Website URL",uQ="Domain",mQ="Used in the client portal and when sending emails.",pQ="Used when sending emails.",hQ="Import Invoices",fQ="New Report",gQ="Edit Report",vQ="Columns",yQ="Filters",bQ="Sort By",wQ="Draft",kQ="Unpaid",xQ="Aging",CQ="Age",SQ="Days",EQ="0 - 30 Days",TQ="30 - 60 Days",PQ="60 - 90 Days",AQ="90 - 120 Days",NQ="120+ Days",IQ="Invoice Details",DQ="Quantity",$Q="Profit and Loss",RQ="Revenue",VQ="Profit",qQ="Group Sort",LQ="Group Dates By",OQ="Year",MQ="View Statement",jQ="Statement",FQ="Statement Date",BQ="Mark Active",zQ="Send Automatically",UQ="Initial Email",HQ="This invoice hasn't been emailed.",GQ="This quote hasn't been emailed.",WQ="Sent by :user",KQ="Recipients",QQ="Save as default",YQ="Used by <b>date</b> selectors",XQ="Used by <b>date range</b> selectors",JQ="Shift + Click to sort by multiple columns, Ctrl + Click to clear the grouping.",ZQ="This Year",eY="Create. Send. Get Paid.",tY="Or login with a connected account.",nY="Sign Up Now",aY="Not a member yet?",sY="Create an Account!",oY="Invoices From:",iY="Full Name",rY="MONTH/YEAR",cY="Valid\\nthru",lY="Product Fields",dY="Add a field when creating a product or invoice and display the label and value on the PDF.",_Y="Two months",uY="Annually",mY="Profile",pY="Construction",hY="Your Statement",fY="Statement issued to",gY="Statement to",vY="Customize options",yY="Successfully created payment term",bY="Successfully updated payment term",wY="Successfully archived payment term",kY="Resend Invitation",xY="Credit created by payment :transaction_reference",CY="Successfully created payment and credit",SY="Successfully created payment and credit, and emailed client",EY="Create project",TY="Create vendor",PY="Create category",AY=":link to enable reports by joining the Pro Plan",NY="Mark Ready",IY="Limits",DY="Fees",$Y="Fee",RY="Set :gateway_type Limits/Fees",VY="Enable line item taxes to set the fee tax rates.",qY="The fee for a :amount invoice would be :total.",LY="The discount for a :amount invoice would be :total.",OY="No Fees",MY="Warning: not all states/payment gateways allow adding fees, please review local laws/terms of service.",jY="Percent",FY="Location",BY="Line Item",zY="Surcharge",UY="Enabled - First surcharge",HY="Enabled - Second surcharge",GY="Enabled - Line item",WY="Online Payment Surcharge",KY="Gateway Fees",QY="Fees are disabled",YY="Automatically add an online payment surcharge/discount.",XY="Gateway",JY="If there are unpaid invoices with fees they need to be updated manually.",ZY="Customize surcharge :link.",eX="label and taxes",tX="Billable",nX="The image file is too large.",aX="Warning: To support gifs the fileinfo PHP extension needs to be enabled.",sX="There was a problem reading the image file, please try a different format.",oX="An error occurred, please refresh the page and try again.",iX="Data",rX="Successfully imported settings",cX="Reset Counter",lX="Next Reset",dX="Automatically reset the invoice and quote counters.",_X="Auto-billing for invoice :invoice_number failed",uX="Online Payment Discount",mX="Successfully created new company",pX="Fees are disabled for this gateway.",hX="Log Out/Delete Account",fX="Inclusive tax rates adjust the line item cost when selected.<br/>Only exclusive tax rates can be used as a default.",gX="Credit Note",vX="Credit issued to",yX="Credit to",bX="Your Credit",wX="Credit Number",kX="Create Credit Note",xX="Menu",CX="Error: The gateways table has incorrect ids.",SX="Purge Data",EX="Delete Data",TX="Permanently delete all data but keep the account and settings.",PX="Permanently delete the account along with all data and setting.",AX="Successfully purged company data",NX="Forbidden",IX="Warning: This will permanently erase your data, there is no undo.",DX="Contact Phone",$X="Contact Email",RX="Reply-To Email",VX="Specify the reply-to address for client emails.",qX="Privately include this address with client emails.",LX="Your import has successfully completed.",OX="Please confirm your account to import data.",MX="Your import has started, we'll send you an email once it completes.",jX="Venmo",FX="Successfully archived :count products",BX="We recommend <b>enabling</b> this setting.",zX="We recommend <b>disabling</b> this setting.",UX="Auto-billed",HX="Surcharge Label",GX="Contact Fields",WX="Add a field when creating a contact and optionally display the label and value on the PDF.",KX="Showing :start to :end of :total entries",QX="Credit Total",YX="Mark billable",XX="Billed",JX="Company Variables",ZX="Client Variables",eJ="Invoice Variables",tJ="Navigation Variables",nJ="Custom Variables",aJ="Invalid file type",sJ="Add Documents to Invoice",oJ="Mark paid",iJ="Failed to validate the license, either expired or excessive activations. Email contact@invoiceninja.com for more information.",rJ="Plan Price",cJ="Incorrect confirmation code",lJ="The account is already registered",dJ="Successfully emailed payment",_J="Email Payment",uJ="Use :link to migrate your data from InvoicePlane.",mJ="Warning: This :link may be a duplicate",pJ="expense",hJ="Resume Task",fJ="Successfully resumed task",gJ="Quote Design",vJ="Standard Design",yJ="Custom Design 1",bJ="Custom Design 2",wJ="Custom Design 3",kJ="Empty",xJ="Load Design",CJ="Accepted Card Logos",SJ="Google Analytics",EJ="Analytics Key",TJ="Track payments using :link",PJ="The start date is required",AJ="Application Settings",NJ="Database Connection",IJ="Driver",DJ="Host",$J="Database",RJ="Test connection",VJ="From Name",qJ="From Address",LJ="Port",OJ="Encryption",MJ="Mailgun Domain",jJ="Mailgun Private Key",FJ="Brevo Domain",BJ="Brevo Private Key",zJ="Send Test Email",UJ="Select Label",HJ="Label",GJ="Service",WJ="Update payment details",KJ="Successfully updated payment details",QJ="Update Credit Card",YJ="Recurring Expenses",XJ="Recurring Expense",JJ="New Recurring Expense",ZJ="Edit Recurring Expense",eZ="Archive Recurring Expense",tZ="List Recurring Expenses",nZ="Successfully updated recurring expense",aZ="Successfully created recurring expense",sZ="Successfully archived recurring expense",oZ="Restore Recurring Expense",iZ="Successfully restored recurring expense",rZ="Delete Recurring Expense",cZ="Successfully deleted recurring expense",lZ="View Recurring Expense",dZ="Taxes and fees",_Z="Import Failed",uZ="Recurring Prefix",mZ="Options",pZ="Specify a prefix or use a custom pattern to dynamically set the credit number for negative invoices.",hZ="The next credit number is :number.",fZ="The number of zero's to pad the number.",gZ="Warning: The date format appears to be invalid.",vZ="Product Notes",yZ="App Version",bZ="OFX Version",wZ="Charge Late Fee",kZ="Late Fee Amount",xZ="Late Fee Percent",CZ="Late fee added on :date",SZ="Download Invoice",EZ="Download Quote",TZ="Your invoice PDFs are attached.",PZ="An email will be sent with the invoice PDF",AZ="An email will be sent with the quote PDF",NZ="An email will be sent with the invoice PDFs",IZ="An email will be sent with the quote PDFs",DZ="Clone Expense",$Z="Default Documents",RZ="Send email to the client",VZ="Refund Processed",qZ="You have been processed a refund of :amount for invoice :invoice_number.",LZ="US Dollar",OZ="British Pound",MZ="Euro",jZ="South African Rand",FZ="Danish Krone",BZ="Israeli Shekel",zZ="Swedish Krona",UZ="Kenyan Shilling",HZ="Canadian Dollar",GZ="Philippine Peso",WZ="Indian Rupee",KZ="Australian Dollar",QZ="Singapore Dollar",YZ="Norske Kroner",XZ="New Zealand Dollar",JZ="Vietnamese Dong",ZZ="Swiss Franc",eee="Guatemalan Quetzal",tee="Malaysian Ringgit",nee="Brazilian Real",aee="Thai Baht",see="Nigerian Naira",oee="Argentine Peso",iee="Bangladeshi Taka",ree="United Arab Emirates Dirham",cee="Hong Kong Dollar",lee="Indonesian Rupiah",dee="Mexican Peso",_ee="Egyptian Pound",uee="Colombian Peso",mee="West African Franc",pee="Chinese Renminbi",hee="Rwandan Franc",fee="Tanzanian Shilling",gee="Netherlands Antillean Guilder",vee="Trinidad and Tobago Dollar",yee="East Caribbean Dollar",bee="Ghanaian Cedi",wee="Bulgarian Lev",kee="Aruban Florin",xee="Turkish Lira",Cee="Romanian New Leu",See="Croatian Kuna",Eee="Saudi Riyal",Tee="Japanese Yen",Pee="Maldivian Rufiyaa",Aee="Costa Rican Colón",Nee="Pakistani Rupee",Iee="Polish Zloty",Dee="Sri Lankan Rupee",$ee="Czech Koruna",Ree="Uruguayan Peso",Vee="Namibian Dollar",qee="Tunisian Dinar",Lee="Russian Ruble",Oee="Mozambican Metical",Mee="Omani Rial",jee="Ukrainian Hryvnia",Fee="Macanese Pataca",Bee="Taiwan New Dollar",zee="Dominican Peso",Uee="Chilean Peso",Hee="Icelandic Króna",Gee="Papua New Guinean Kina",Wee="Jordanian Dinar",Kee="Myanmar Kyat",Qee="Peruvian Sol",Yee="Botswana Pula",Xee="Hungarian Forint",Jee="Ugandan Shilling",Zee="Barbadian Dollar",ete="Brunei Dollar",tte="Georgian Lari",nte="Qatari Riyal",ate="Honduran Lempira",ste="Surinamese Dollar",ote="Bahraini Dinar",ite="Venezuelan Bolivars",rte="South Korean Won",cte="Moroccan Dirham",lte="Jamaican Dollar",dte="Angolan Kwanza",_te="Haitian Gourde",ute="Zambian Kwacha",mte="Nepalese Rupee",pte="CFP Franc",hte="Mauritian Rupee",fte="Cape Verdean Escudo",gte="Kuwaiti Dinar",vte="Algerian Dinar",yte="Macedonian Denar",bte="Fijian Dollar",wte="Bolivian Boliviano",kte="Albanian Lek",xte="Serbian Dinar",Cte="Lebanese Pound",Ste="Armenian Dram",Ete="Azerbaijan Manat",Tte="Bosnia and Herzegovina Convertible Mark",Pte="Belarusian Ruble",Ate="Moldovan Leu",Nte="Kazakhstani Tenge",Ite="Gibraltar Pound",Dte="Gambia Dalasi",$te="Paraguayan Guarani",Rte="Malawi Kwacha",Vte="Zimbabwean Dollar",qte="Cambodian Riel",Lte="Vanuatu Vatu",Ote="Cuban Peso",Mte="BZ Dollar",jte="Libyan Dinar",Fte="Silver Troy Ounce",Bte="Gold Troy Ounce",zte="Malagasy ariary",Ute="Tongan Pa'anga",Hte="We hope you're enjoying using the app.<br/>If you'd consider :link we'd greatly appreciate it!",Gte="writing a review",Wte="First Tax",Kte="Second Tax",Qte="Gateway fees are the costs charged for access to the financial networks that handle the processing of online payments.",Yte="Exporting format",Xte="First Custom",Jte="Second Custom",Zte="Contact First Name",ene="Contact Last Name",tne="Contact First Custom",nne="Contact Second Custom",ane="Currency",sne="To troubleshoot check for comments on :ofxhome_link and test with :ofxget_link.",one="comments",ine="Item Product",rne="Item Notes",cne="Item Cost",lne="Item Quantity",dne="Item Tax Rate",_ne="Item Tax Name",une="Item Tax1",mne="Item Tax2",pne="Delete Company",hne="Permanently delete the company along with all data and setting.",fne="Warning: This will permanently delete your company, there is no undo.",gne="The coupon has been applied, the plan price has been reduced by :discount%.",vne="The coupon has been applied, your account has been upgraded to pro for one year.",yne="If you're reporting an error please include any relevant logs from storage/logs/laravel-error.log",bne="Include Errors",wne="Include :link from storage/logs/laravel-error.log",kne="recent errors",xne="Customer",Cne="Customers",Sne="Successfully created customer",Ene="Successfully created :count customers",Tne="The data in your company (:account) has been successfully purged.",Pne="Successfully deleted company",Ane="Successfully canceled account",Nne="Your company (:account) has been successfully deleted.",Ine="Your account (:account) has been successfully deleted.",Dne="Alipay",$ne="Sofort",Rne="SEPA Direct Debit",Vne="Please enter a name with only the letters a-z and whitespaces",qne="Accept Alipay",Lne="Accept EU bank transfers",One="These gateways also need to be activated in :link.",Mne="Calendar",jne=":link to enable the calendar by joining the Pro Plan",Fne="What are you working on?",Bne="Time Tracker",zne="Refresh",Une="Filter/Sort",Hne="No Description",Gne="Time Tracker Login",Wne="Save or discard your changes",Kne="Discard Changes",Qne="Tasks are not enabled.",Yne="Successfully started task",Xne="Create Client",Jne="Download the desktop app",Zne="Download the iPhone app",eae="Download the Android app",tae="Double tap a task to select it",nae="Stopped",aae="Ascending",sae="Descending",oae="Sort By",iae="Direction",rae="Discard",cae="AM",lae="PM",dae="mins",_ae="hr",uae="hrs",mae="Clear",pae="Note: accepting online payments requires a payment gateway, :link to add one.",hae="Task Rate",fae="Set the default rate for invoiced tasks.",gae="Past Due",vae="Document",yae="Invoice/Expense",bae="Invoice PDFs",wae="Accept SEPA",kae="Accept Bitcoin",xae="IBAN",Cae="By providing your IBAN and confirming this payment, you are authorizing :company and Stripe, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited.",Sae="Recover License",Eae="Purchase",Tae="Recover",Pae="Apply",Aae="Recover White Label License",Nae="Apply White Label License",Iae="Videos",Dae="Video",$ae="Return to Invoice",Rae="Partial Due Date",Vae="Task Fields",qae="Drag and drop fields to change their order",Lae="Custom Value 1",Oae="Custom Value 2",Mae="Two-Factor Authentication",jae="Use your phone to confirm your identity when logging in",Fae="Two-Factor Setup",Bae="Scan the bar code with a :link compatible app.",zae="One Time Password",Uae="Set your mobile phone number as a backup to enable.",Hae="Successfully enabled Two-Factor Authentication",Gae="Add Product",Wae="Note: the email will be sent on :date.",Kae="Invoice Product",Qae="Self-Host Login",Yae="Self-Host URL",Xae="Error: local storage is not available.",Jae="Your Password Reset Link",Zae="The subdomain is already in use",ese="The inbound mailbox is already in use",tse="The inbound mailbox does not match the required schema",nse="Client Login",ase="Converted Amount",sse="Shipping Address",ose="Billing Address",ise="Billing Street",rse="Billing Apt/Suite",cse="Billing City",lse="Billing State/Province",dse="Billing Postal Code",_se="Billing Country",use="Shipping Street",mse="Shipping Apt/Suite",pse="Shipping City",hse="Shipping State/Province",fse="Shipping Postal Code",gse="Shipping Country",vse="Classify",yse="Require client to provide their shipping address",bse="Ship to billing address",wse="Delivery Note",kse="Show tasks in the client portal",xse="Cancel Schedule",Cse="Scheduled Report",Sse="Email the :report report as :format to :email",Ese="Successfully scheduled report",Tse="Successfully canceled scheduled report",Pse="Your scheduled :type report is attached.",Ase="Failed to create schedule report",Nse="Invalid one time password",Ise="Apple/Google Pay",Dse="Accept Apple Pay and Pay with Google",$se="This payment type requires that a :link.",Rse="subdomain is set",Vse="Verification File",qse="The verification file is needed to accept payments.",Lse="Use <code>:domain</code> as the domain in :link.",Ose="Sorry, Apple/Google Pay isn't supported by your browser",Mse="Optional Payment Methods",jse="Add Subscription",Fse="Target",Bse="When the selected event occurs the app will post the entity to the target URL.",zse="Event",Use="Created Client",Hse="Created Invoice",Gse="Created Quote",Wse="Created Payment",Kse="Created Vendor",Qse="Updated Quote",Yse="Deleted Quote",Xse="Updated Invoice",Jse="Deleted Invoice",Zse="Updated Client",eoe="Deleted Client",toe="Deleted Payment",noe="Updated Vendor",aoe="Deleted Vendor",soe="Created Expense",ooe="Updated Expense",ioe="Deleted Expense",roe="Created Task",coe="Updated Task",loe="Deleted Task",doe="Approved Quote",_oe="Subscriptions",uoe="Successfully updated subscription",moe="Successfully created subscription",poe="Edit Subscription",hoe="Archive Subscription",foe="Successfully archived subscription",goe="The projects can't belong to different clients",voe="Invoice Project",yoe="Recurring Invoices",boe="Credits",woe="Quotes & Proposals",koe="Tasks & Projects",xoe="Expenses & Vendors",Coe="Tickets",Soe="Reminders",Eoe="Send email reminders",Toe="Tasks are visible in the portal",Poe="Reminders are not sent",Aoe="Your promotion will expire soon, :link to upgrade now.",Noe="Note: to delete this company first delete all linked companies.",Ioe="Please register your account",Doe="Processing request",$oe="Warning: Mcrypt is deprecated, run :command to update your cipher.",Roe="Edit Times",Voe="Include <b>taxes in the cost</b>",qoe="This setting can not be changed once an invoice has been created.",Loe="Warning: existing invoices will need to be resaved",Ooe="Copy Shipping",Moe="Copy Billing",joe="The quote has expired, please contact the merchant.",Foe="Showing 0 to 0 of 0 entries",Boe="Do not remember this device",zoe="Trust for 30 days",Uoe="Trust forever",Hoe="Kanban",Goe="Backlog",Woe="Ready to do",Koe="In progress",Qoe="Add status",Yoe="Archive Status",Xoe="New Status",Joe="Convert Products",Zoe="Automatically convert product prices to the client's currency",eie="Set a subdomain to shorten the client portal link.",tie="Budgeted Hours",nie="Progress",aie="View Project",sie="Summary",oie="Endless Reminder",iie="Add the following code to show your client's signature on the PDF.",rie="Show on PDF",cie="Show the client signature on the invoice/quote PDF.",lie="The white label license has expired",die="Return to Login",_ie='Note: add a :link named ":name" to see the exchange rate.',uie="The amount is greater than the invoice balance, a credit will be created with the remaining amount.",mie="Use <code>Label|Option1,Option2</code> to show a select box.",pie="Client Information",hie="Successfully updated client details",fie="Auto",gie="Tax Amount",vie="Tax Paid",yie="None",bie="To view your proposal for :amount, click the button below.",wie="Proposal",kie="Proposals",xie="List Proposals",Cie="New Proposal",Sie="Edit Proposal",Eie="Archive Proposal",Tie="Delete Proposal",Pie="Successfully created proposal",Aie="Successfully updated proposal",Nie="Successfully archived proposal",Iie="Successfully archived proposal",Die="Successfully archived :count proposals",$ie="Successfully archived :count proposals",Rie="Successfully restored proposal",Vie="Restore Proposal",qie="Snippet",Lie="Snippets",Oie="Snippet",Mie="Snippets",jie="New Snippet",Fie="Edit Snippet",Bie="Archive Snippet",zie="Delete Snippet",Uie="Successfully created snippet",Hie="Successfully updated snippet",Gie="Successfully archived snippet",Wie="Successfully archived snippet",Kie="Successfully archived :count snippets",Qie="Successfully archived :count snippets",Yie="Successfully restored snippet",Xie="Restore Snippet",Jie="Template",Zie="Templates",ere="Template",tre="Templates",nre="New Template",are="Edit Template",sre="Archive Template",ore="Delete Template",ire="Successfully created template",rre="Successfully updated template",cre="Successfully archived template",lre="Successfully archived template",dre="Successfully archived :count templates",_re="Successfully archived :count templates",ure="Successfully restored template",mre="Restore Template",pre="Category",hre="Categories",fre="New Category",gre="Edit Category",vre="Archive Category",yre="Delete Category",bre="Successfully created category",wre="Successfully updated category",kre="Successfully archived category",xre="Successfully archived category",Cre="Successfully archived :count categories",Sre="Successfully archived :count categories",Ere="Successfully restored category",Tre="Restore Category",Pre="Delete Status",Are="Standard",Nre="Icon",Ire="The requested proposal is not available",Dre="Create category",$re="Clone Template",Rre="Proposal Email",Vre="New proposal :number from :account",qre="To view your proposal for :amount, click the link below.",Lre="Successfully emailed proposal",Ore="Load Template",Mre="No images, drag to upload",jre="Add Image",Fre="Select Image",Bre="Upgrade to the Enterprise Plan to upload files & images",zre="Delete Image",Ure="Warning: deleting the image will remove it from all proposals.",Hre="Note: the invoice $amount field will use the partial/deposit field if set otherwise it will use the invoice balance.",Gre="Note: Inclusive taxes have been enabled.",Wre="Note: Inclusive taxes are not enabled.",Kre="Changing this setting requires :link the account data.",Qre="purging",Yre="The refund will be recorded in the app but will NOT be processed by the payment gateway.",Xre="Email address has been changed",Jre="The email address for your account has been changed from :old_email to :new_email.",Zre="Test",ece="Beta",tce="Email History",nce="Loading",ace="No messages found",sce="Processing",oce="Reactivate",ice="The email address has been reactivated",rce="Emails",cce="Opened",lce="Bounced",dce="Total Sent",_ce="Total Opened",uce="Total Bounced",mce="Total Spam",pce="Platforms",hce="Email Clients",fce="Mobile",gce="Desktop",vce="Webmail",yce="Group",bce="Subgroup",wce="Unset",kce="You've received a new payment!",xce="Receive payment notifications using :link.",Cce="Slack incoming webhooks",Sce="Accept",Ece="Successfully accepted the latest terms of service",Tce="Invalid URL",Pce="Workflow Settings",Ace="Auto Email",Nce="Automatically email recurring invoices when created.",Ice="Auto Archive",Dce="Automatically archive invoices when paid.",$ce="Auto Archive",Rce="Automatically archive quotes when converted to invoice.",Vce="Require approve quote",qce="Require clients to approve quotes.",Lce="Allow approve expired quote",Oce="Allow clients to approve expired quotes.",Mce="Invoice Workflow",jce="Quote Workflow",Fce="Error: the client must be active",Bce="Purge Client",zce="Successfully purged client",Uce="All related records (invoices, tasks, expenses, documents, etc) will also be deleted.",Hce="Clone Product",Gce="Item Details",Wce="Send line item details to the payment gateway.",Kce="View Proposal",Qce="View in Portal",Yce="This website uses cookies to ensure you get the best experience on our website.",Xce="Got it!",Jce="vendor will be created",Zce="vendors will be created",ele="Successfully created :count vendor(s)",tle="Import Vendors",nle="Company",ale="Client Field",sle="Contact Field",ole="Product Field",ile="Task Field",rle="Project Field",cle="Expense Field",lle="Vendor Field",dle="Company Field",_le="Invoice Field",ule="Invoice Surcharge",mle="Add a field when creating a task.",ple="Add a field when creating a project.",hle="Add a field when creating an expense.",fle="Add a field when creating a vendor.",gle="Messages",vle="Unpaid Invoice",yle="Paid Invoice",ble="Unapproved Quote",wle="Unapproved Proposal",kle="Auto-fills city/state",xle="No match found",Cle="Password Strength",Sle="Weak",Ele="Good",Tle="Strong",Ple="Mark",Ale="Successfully update task status",Nle="Background Image",Ile="Use the :link to manage your images, we recommend using a small file.",Dle="proposal editor",$le="Background",Rle="Guide",Vle="Gateway Fee Item",qle="Gateway Fee Surcharge",Lle="Gateway Fee Discount",Ole="Show Payments",Mle="Show Aging",jle="Reference",Fle="Amount Paid",Ble="Send Notifications For",zle="All Invoices",Ule="My Invoices",Hle="Payment Reference",Gle="Maximum",Wle="Sort",Kle="Refresh Complete",Qle="Please enter your email",Yle="Please enter your password",Xle="Please enter your URL",Jle="Please enter a product key",Zle="An error occurred",ede="Overview",tde="Copied :value to the clipboard",nde="Error",ade="Could not launch",sde="Additional",ode="Ok",ide="Email is invalid",rde="Items",cde="Partial/Deposit",lde="Add Item",dde="Total Amount",_de="PDF",ude="Invoice Status",mde="Click + to add an item",pde=":count selected",hde="Dismiss",fde="Please select a date",gde="Please select a client",vde="Language",yde="Updated",bde="Please enter an invoice number",wde="Please enter a quote number",kde=":client's invoices",xde="Viewed",Cde="Approved",Sde="Draft",Ede="Sent",Tde="Viewed",Pde="Approved",Ade="Partial",Nde="Paid",Ide="Successfully marked invoice as sent",Dde="Please enter a client or contact name",$de="Restart the app to apply the change",Rde="Refresh Data",Vde="Blank Contact",qde="No records found",Lde="Industry",Ode="Size",Mde="Net",jde="Show tasks",Fde="Email Reminders",Bde="First Reminder",zde="Second Reminder",Ude="Third Reminder",Hde="Send",Gde="Auto billing",Wde="Button",Kde="More",Qde="Edit Recurring Invoice",Yde="Edit Recurring Quote",Xde="Quote Status",Jde="Please select an invoice",Zde="Filtered by",e_e="Payment Status",t_e="Pending",n_e="Voided",a_e="Failed",s_e="Completed",o_e="Partially Refunded",i_e="Refunded",r_e="Send receipt to the client",c_e="Refunded",l_e="Successfully marked quote as sent",d_e="Custom Module Settings",__e="Open",u_e="Closed",m_e="Reopened",p_e="Priority",h_e="Last Updated",f_e="Comments",g_e="Tags",v_e="Linked Objects",y_e="Low",b_e="Medium",w_e="High",k_e="No due date set",x_e="Assigned to",C_e="Reply",S_e="Awaiting reply",E_e="Mark as Spam",T_e="Local Part",P_e="Name taken",A_e="Name available",N_e="Invalid name (alpha numeric only, no spaces",I_e="Customize the local part of your inbound support email, ie. YOUR_NAME@support.invoiceninja.com",D_e="From name is the recognizable sender which is displayed instead of the email address, ie Support Center",$_e="YOUR_NAME",R_e="Support Center",V_e="Attachments",q_e="Client uploads",L_e="Allow clients to upload documents/attachments",O_e="Maximum file size (KB) is limited by your post_max_size and upload_max_filesize variables as set in your PHP.INI",M_e="Maximum file size",j_e="Mime types",F_e=".pdf , .docx, .jpg",B_e="Comma separated list of allowed mime types, leave blank for all",z_e="Ticket number must be greater than the current ticket number",U_e="New ticket",H_e="Selecting a template will send an auto response to a client/contact when a new ticket is created",G_e="Updated ticket",W_e="Selecting a template will send an auto response to a client/contact when a ticket is updated",K_e="Closed ticket",Q_e="Selecting a template will send an auto response to a client/contact when a ticket is closed",Y_e="Default priority",X_e="New comment",J_e="Additional new comment notifications",Z_e="admin@example.com, supervisor@example.com",eue="Default Agent",tue="If selected will automatically be assigned to all inbound tickets",nue="Show agent details on responses",aue="Avatar",sue="Remove avatar",oue="Add Template",iue="Archive Template",rue="Restore Template",cue="Successfully archived template",lue="Successfully restored template",due="Please enter a message to update the ticket",_ue="Show / Hide all",uue="Subject required",mue="If you're using the mobile app you may need to do a full refresh.",pue="Merge",hue="Merged",fue="Agent",gue="Include in filter",vue=":VALUE",yue=":VALUE",bue="Compare",wue="Hosted Login",kue="Selfhost Login",xue="Google Login",Cue="Thank for your patience while we work to implement these features.<br><br>We hope to have them completed in the next few months.<br><br>Until then we'll continue to support the",Sue="legacy mobile app",Eue="Today",Tue="Current",Pue="Previous",Aue="Current Period",Nue="Comparison Period",Iue="Previous Period",Due="Previous Year",$ue="Compare to",Rue="Last Week",Vue="Clone to Invoice",que="Clone to Quote",Lue="Convert",Oue="Last 7 Days",Mue="Last 30 Days",jue="Custom JS",Fue="Adjust percent to account for fee",Bue="Show product details",zue="Include the <b>description and cost</b> in the product dropdown",Uue="Important",Hue="Thank you for using our app!",Gue="If you like it please",Wue="to rate it.",Kue="Average",Que="Unapproved",Yue="Please authenticate to change this setting",Xue="Locked",Jue="Authenticate",Zue="Please authenticate",eme="Biometric Authentication",tme="Auto Start Tasks",nme="Budgeted",ame="Please enter a name",sme="Click + to add time",ome="Design",ime="Password is too short",rme="Failed to find record",cme="Valid Until",lme="Automatically sets the <b>Valid Until</b> value on quotes to this many days in the future.  Leave blank to disable.",dme="Days",_me="Requires an Enterprise Plan",ume="Take Picture",mme="Upload File",pme="New Document",hme="Edit Document",fme="Successfully uploaded document",gme="Successfully updated document",vme="Successfully archived document",yme="Successfully deleted document",bme="Successfully restored document",wme="No History",kme="Logged",xme="Pending",Cme="Invoiced",Sme="No record selected",Eme="Please save or cancel your changes",Tme="Thank you for your purchase!",Pme="Redeem",Ame="Back",Nme="Past Purchases",Ime="Annual Subscription",Dme="Pro Plan",$me="Enterprise Plan",Rme=":count users",Vme="Upgrade",qme="Please enter a first name",Lme="Please enter a last name",Ome="Please agree to the terms of service and privacy policy to create an account.",Mme="I agree to the",jme="terms of service",Fme="privacy policy",Bme="View Website",zme="Create Account",Ume="Email Login",Hme="Late Fees",Gme="Payment Number",Wme="Before the due date",Kme="After the due date",Qme="After the invoice date",Yme="Filtered by User",Xme="Successfully created user",Jme="Primary Font",Zme="Secondary Font",epe="Number Padding",tpe="General",npe="Surcharge Field",ape="Company Value",spe="Credit Field",ope="Payment Field",ipe="Group Field",rpe="Number Counter",cpe="Number Pattern",lpe="Custom JavaScript",dpe="Portal Mode",_pe="Attach PDF",upe="Attach Documents",mpe="Attach UBL/E-Invoice",ppe="Email Style",hpe="Processed",fpe="Fee Amount",gpe="Fee Percent",vpe="Fee Cap",ype="Limits/Fees",bpe="Credentials",wpe="Require client to provide their billing address",kpe="Require client to provide their shipping address",xpe="Successfully deleted tax rate",Cpe="Successfully restored tax rate",Spe="Provider",Epe="Payment Gateway",Tpe="Payment Gateways",Ppe="New Gateway",Ape="Edit Gateway",Npe="Successfully created gateway",Ipe="Successfully updated gateway",Dpe="Successfully archived gateway",$pe="Successfully deleted gateway",Rpe="Successfully restored gateway",Vpe="Continue Editing",qpe="Default value",Lpe="Currency Format",Ope="First Day of the Week",Mpe="First Month of the Year",jpe="Symbol",Fpe="Code",Bpe="Date Format",zpe="Datetime Format",Upe="Send Reminders",Hpe="Timezone",Gpe="Filtered by Group",Wpe="Filtered by Invoice",Kpe="Filtered by Client",Qpe="Filtered by Vendor",Ype="Group Settings",Xpe="Groups",Jpe="New Group",Zpe="Edit Group",ehe="Successfully created group",the="Successfully updated group",nhe="Successfully archived group",ahe="Successfully deleted group",she="Successfully restored group",ohe="Upload Your Company Logo",ihe="Successfully uploaded logo",rhe="Successfully saved settings",che="Device Settings",lhe="Credit Cards & Banks",dhe="Price",_he="Email Sign Up",uhe="Google Sign Up",mhe="Sign Up With Google",phe="Long-press Multiselect",hhe="Migrate to the next version of Invoice Ninja",fhe="We've been working on next version of Invoice Ninja. Click the button bellow to start the migration.",ghe="Start the migration",vhe="Migration",yhe="Welcome to the new version of Invoice Ninja",bhe="At the next step, we'll let you download your data for the migration.",whe="Press button below to download the data.",khe="Custom Company 1",xhe="Custom Company 2",Che="Custom Company 3",She="Custom Company 4",Ehe="Custom Product 1",The="Custom Product 2",Phe="Custom Product 3",Ahe="Custom Product 4",Nhe="Custom Client 1",Ihe="Custom Client 2",Dhe="Custom Client 3",$he="Custom Client 4",Rhe="Custom Contact 1",Vhe="Custom Contact 2",qhe="Custom Contact 3",Lhe="Custom Contact 4",Ohe="Custom Task 1",Mhe="Custom Task 2",jhe="Custom Task 3",Fhe="Custom Task 4",Bhe="Custom Project 1",zhe="Custom Project 2",Uhe="Custom Project 3",Hhe="Custom Project 4",Ghe="Custom Expense 1",Whe="Custom Expense 2",Khe="Custom Expense 3",Qhe="Custom Expense 4",Yhe="Custom Vendor 1",Xhe="Custom Vendor 2",Jhe="Custom Vendor 3",Zhe="Custom Vendor 4",efe="Custom Invoice 1",tfe="Custom Invoice 2",nfe="Custom Invoice 3",afe="Custom Invoice 4",sfe="Custom Payment 1",ofe="Custom Payment 2",ife="Custom Payment 3",rfe="Custom Payment 4",cfe="Custom Surcharge 1",lfe="Custom Surcharge 2",dfe="Custom Surcharge 3",_fe="Custom Surcharge 4",ufe="Custom Group 1",mfe="Custom Group 2",pfe="Custom Group 3",hfe="Custom Group 4",ffe="Number",gfe="Count",vfe="Is Active",yfe="Contact Last Login",bfe="Contact Full Name",wfe="Contact Custom Value 1",kfe="Contact Custom Value 2",xfe="Contact Custom Value 3",Cfe="Contact Custom Value 4",Sfe="Assigned To Id",Efe="Created By Id",Tfe="Add Column",Pfe="Edit Columns",Afe="to learn about Google Fonts",Nfe="Refund Date",Ife="Multiselect",Dfe="Verify Password",$fe="Applied",Rfe="Include recent errors from the logs",Vfe="We have received your message and will try to respond promptly.",qfe="Show Product Details",Lfe="Include the description and cost in the product dropdown",Ofe="The PDF renderer requires :version",Mfe="Adjust Fee Percent",jfe="Configure Settings",Ffe="About",Bfe="Credit Email",zfe="Domain URL",Ufe="Password must contain an upper case character and a number",Hfe="Client Portal Tasks",Gfe="Client Portal Dashboard",Wfe="Please enter a value",Kfe="Successfully deleted logo",Qfe="Generate Number",Yfe="When Saved",Xfe="When Sent",Jfe="Select Company",Zfe="Float",ege="Collapse",tge="Show/hide",nge="Menu Sidebar",age="History Sidebar",sge="Tablet",oge="Layout",ige="Module",rge="First Custom",cge="Second Custom",lge="Third Custom",dge="Show Cost",_ge="Display a product cost field to track the markup/profit",uge="Show Product Quantity",mge="Display a product quantity field, otherwise default to one",pge="Show Invoice Quantity",hge="Display a line item quantity field, otherwise default to one",fge="Default Quantity",gge="Automatically set the line item quantity to one",vge="One Tax Rate",yge="Two Tax Rates",bge="Three Tax Rates",wge="Default Tax Rate",kge="Invoice Tax",xge="Line Item Tax",Cge="Inclusive Taxes",Sge="Invoice Tax Rates",Ege="Item Tax Rates",Tge="Configure rates",Pge="Tax Rates",Age="Accent Color",Nge="Comma separated list",Ige="Single-line text",Dge="Multi-line text",$ge="Dropdown",Rge="Field Type",Vge="A password recovery email has been sent",qge="Successfully removed user",Lge="Three Years",Oge="24 Hour Display",Mge="Click here",jge="Successfully marked invoice as paid",Fge="Successfully marked invoices as sent",Bge="Successfully marked invoices as paid",zge="System failed to email invoice :invoice",Uge="Custom Value 3",Hge="Custom Value 4",Gge="Custom Email Style",Wge="Custom Dashboard Message",Kge="Custom Unpaid Invoice Message",Qge="Custom Paid Invoice Message",Yge="Custom Unapproved Quote Message",Xge="Lock Sent Invoices",Jge="Translations",Zge="Task Number Pattern",eve="Task Number Counter",tve="Expense Number Pattern",nve="Expense Number Counter",ave="Vendor Number Pattern",sve="Vendor Number Counter",ove="Ticket Number Pattern",ive="Ticket Number Counter",rve="Payment Number Pattern",cve="Payment Number Counter",lve="Invoice Number Pattern",dve="Quote Number Pattern",_ve="Credit Number Pattern",uve="Credit Number Counter",mve="Credit Number Pattern",pve="Credit Number Counter",hve="Reset Counter Date",fve="Counter Padding",gve="Share Invoice/Quote Counter",vve="Default Tax Name 1",yve="Default Tax Rate 1",bve="Default Tax Name 2",wve="Default Tax Rate 2",kve="Default Tax Name 3",xve="Default Tax Rate 3",Cve="Email Invoice Subject",Sve="Email Quote Subject",Eve="Email Payment Subject",Tve="Switch List Table",Pve="Client City",Ave="Client State",Nve="Client Country",Ive="Client is Active",Dve="Client Balance",$ve="Client Street",Rve="Client Apt/Suite",Vve="Client Shipping Street",qve="Client Shipping Apt/Suite",Lve="Tax Rate 1",Ove="Tax Rate 2",Mve="Tax Rate 3",jve="Archived At",Fve="Has Expenses",Bve="Custom Taxes 1",zve="Custom Taxes 2",Uve="Custom Taxes 3",Hve="Custom Taxes 4",Gve="Custom Surcharge 1",Wve="Custom Surcharge 2",Kve="Custom Surcharge 3",Qve="Custom Surcharge 4",Yve="Is Deleted",Xve="Vendor City",Jve="Vendor State",Zve="Vendor Country",eye="Credit Footer",tye="Credit Terms",nye="Untitled Company",aye="Successfully added company",sye="Supported Events",oye="Third Custom",iye="Fourth Custom",rye="Optional",cye="License",lye="Invoice Balance",dye="Successfully saved design",_ye="Client Details",uye="Company Address",mye="Quote Details",pye="Credit Details",hye="Product Columns",fye="Task Columns",gye="Add Field",vye="All Events",yye="Owned",bye="Payment Success",wye="Payment Failure",kye="Quote Sent",xye="Credit Sent",Cye="Invoice Viewed",Sye="Quote Viewed",Eye="Credit Viewed",Tye="Quote Approved",Pye="Receive All Notifications",Aye="Purchase License",Nye="Enable Modules",Iye="Successfully converted quote",Dye="Credit Design",$ye="Includes",Rye="CSS Framework",Vye="Custom Designs",qye="Designs",Lye="New Design",Oye="Edit Design",Mye="Successfully created design",jye="Successfully updated design",Fye="Successfully archived design",Bye="Successfully deleted design",zye="Successfully removed design",Uye="Successfully restored design",Hye="Recurring Tasks",Gye="Successfully removed credit",Wye="Latest Version",Kye="Update Now",Qye="A new version of the web app is available",Yye="Update Available",Xye="Update successfully completed",Jye="Integrations",Zye="Tracking Id",ebe="Slack Webhook URL",tbe="Partial Payment",nbe="Partial Payment Email",abe="Clone to Credit",sbe="Successfully emailed credit",obe="Successfully marked credit as sent",ibe="Email Partial Payment Subject",rbe="Is Approved",cbe="Oops, something went wrong! Please make sure you have setup an Invoice Ninja v5 instance before starting the migration.",lbe='Cross account migration is not allowed. Please read more about it here: <a href="https://invoiceninja.github.io/docs/migration/#troubleshooting">https://invoiceninja.github.io/docs/migration/#troubleshooting</a>',dbe="Email Credit",_be="Client does not have an email address set",ube="Ledger",mbe="View PDF",pbe="All records",hbe="Owned by user",fbe="Credit Remaining",gbe="Use default",vbe="Endless Reminders",ybe="Number of days",bbe="Configure Payment Terms",wbe="Payment Term",kbe="New Payment Term",xbe="Successfully deleted payment term",Cbe="Successfully removed payment term",Sbe="Successfully restored payment term",Ebe="Full Width Editor",Tbe="Full Height Filter",Pbe="Sign in with email",Abe="Change",Nbe="Change to the mobile layout?",Ibe="Change to the desktop layout?",Dbe="Send from Gmail",$be="Reversed",Rbe="Cancelled",Vbe="Quote Amount",qbe="Hosted",Lbe="Self-Hosted",Obe="Hide Menu",Mbe="Show Menu",jbe="Partially Refunded",Fbe="Search Documents",Bbe="Search Designs",zbe="Search Invoices",Ube="Search Clients",Hbe="Search Products",Gbe="Search Quotes",Wbe="Search Credits",Kbe="Search Vendors",Qbe="Search Users",Ybe="Search Tax Rates",Xbe="Search Tasks",Jbe="Search Settings",Zbe="Search Projects",ewe="Search Expenses",twe="Search Payments",nwe="Search Groups",awe="Search Company",swe="Successfully cancelled invoice",owe="Successfully cancelled invoices",iwe="Successfully reversed invoice",rwe="Successfully reversed invoices",cwe="Reverse",lwe="Filtered by Project",dwe="Sign in with Google",_we=":user reversed invoice :invoice",uwe=":user cancelled invoice :invoice",mwe="Reconciliation Failure",pwe="Reconciliation Success",hwe="Gateway Success",fwe="Gateway Failure",gwe="Gateway Error",vwe="Email Send",ywe="Email Retry Queue",bwe="Failure",wwe="Quota Exceeded",kwe="Upstream Failure",xwe="System Logs",Cwe="Copy Link",Swe="Welcome to Invoice Ninja",Ewe="Opt-In",Twe="Opt-Out",Pwe="Auto Convert",Awe="Reminder 1 Sent",Nwe="Reminder 2 Sent",Iwe="Reminder 3 Sent",Dwe="Reminder Last Sent",$we="Page :current of :total",Rwe="Successfully emailed credits",Vwe="View in Stripe",qwe="Rows Per Page",Lwe="Apply Payment",Owe="Unapplied",Mwe="Custom Labels",jwe="Record Type",Fwe="Record Name",Bwe="File Type",zwe="Height",Uwe="Width",Hwe="Health Check",Gwe="Last Login At",Wwe="Company Key",Kwe="Storefront",Qwe="Enable third-party apps to create invoices",Ywe=":count records selected",Xwe=":count record selected",Jwe="Client Created",Zwe="Online Payment Email",eke="Manual Payment Email",tke="Completed",nke="Gross",ake="Net Amount",ske="Net Balance",oke="Client Settings",ike="Selected Invoices",rke="Selected Payments",cke="Selected Quotes",lke="Selected Tasks",dke="Selected Expenses",_ke="Past Due Invoices",uke="Create Payment",mke="Update Quote",pke="Update Invoice",hke="Update Client",fke="Update Vendor",gke="Create Expense",vke="Update Expense",yke="Update Task",bke="Approve Quote",wke="When Paid",kke="Expires On",xke="Show Sidebar",Cke="Hide Sidebar",Ske="Event Type",Eke="Copy",Tke="Please restart the app once connected to the internet",Pke="The crons need to be enabled",Ake="API Webhooks",Nke="Search :count Webhooks",Ike="Search 1 Webhook",Dke="Webhook",$ke="Webhooks",Rke="New Webhook",Vke="Edit Webhook",qke="Successfully created webhook",Lke="Successfully updated webhook",Oke="Successfully archived webhook",Mke="Successfully deleted webhook",jke="Successfully removed webhook",Fke="Successfully restored webhook",Bke="Search :count Tokens",zke="Search 1 Token",Uke="New Token",Hke="Successfully removed token",Gke="Successfully restored token",Wke="Client Registration",Kke="Enable clients to self register in the portal",Qke="Customize & Preview",Yke="Search 1 Document",Xke="Search 1 Design",Jke="Search 1 Invoice",Zke="Search 1 Client",exe="Search 1 Product",txe="Search 1 Quote",nxe="Search 1 Credit",axe="Search 1 Vendor",sxe="Search 1 User",oxe="Search 1 Tax Rate",ixe="Search 1 Tasks",rxe="Search 1 Project",cxe="Search 1 Expense",lxe="Search 1 Payment",dxe="Search 1 Group",_xe="Created On",uxe="Lock Invoices",mxe="Show Table",pxe="Show List",hxe="View Changes",fxe="Force Update",gxe="You are running the latest version but there may be pending fixes available.",vxe="Track the expense has been paid",yxe="Enable the expense to be invoiced",bxe="Make the documents visible to client",wxe="Set an exchange rate",kxe="Expense Settings",xxe="Clone to Recurring",Cxe="Crypto",Sxe="User Field",Exe="Variables",Txe="Show Password",Pxe="Hide Password",Axe="Copy Error",Nxe="Capture Card",Ixe="Auto Bill Enabled",Dxe="Total Taxes",$xe="Line Taxes",Rxe="Total Fields",Vxe="Successfully stopped recurring invoice",qxe="Successfully started recurring invoice",Lxe="Successfully resumed recurring invoice",Oxe="Gateway Refund",Mxe="Process the refund with the payment gateway",jxe="Due Date",Fxe="Paused",Bxe="Day :count",zxe="First Day of the Month",Uxe="Last Day of the Month",Hxe="Use Payment Terms",Gxe="Endless",Wxe="Next Send Date",Kxe="Remaining Cycles",Qxe="Successfully created recurring invoice",Yxe="Successfully updated recurring invoice",Xxe="Successfully removed recurring invoice",Jxe="Search 1 Recurring Invoice",Zxe="Search :count Recurring Invoices",eCe="Send Date",tCe="Auto Bill On",nCe="Minimum Under Payment Amount",aCe="Allow Overpayment",sCe="Support paying extra to accept tips",oCe="Allow Underpayment",iCe="Support paying at minimum the partial/deposit amount",rCe="Test Mode",cCe="Calculated Rate",lCe="Default Task Rate",dCe="Clear Cache",_Ce="Sort Order",uCe="Status",mCe="Task Statuses",pCe="New Task Status",hCe="Edit Task Status",fCe="Successfully created task status",gCe="Successfully archived task status",vCe="Successfully deleted task status",yCe="Successfully removed task status",bCe="Successfully restored task status",wCe="Search 1 Task Status",kCe="Search :count Task Statuses",xCe="Show Tasks Table",CCe="Always show the tasks section when creating invoices",SCe="Invoice Task Timelog",ECe="Add time details to the invoice line items",TCe="Start tasks before saving",PCe="Configure Statuses",ACe="Task Settings",NCe="Configure Categories",ICe="Edit Expense Category",DCe="Successfully removed expense category",$Ce="Search 1 Expense Category",RCe="Search :count Expense Categories",VCe="Use Available Credits",qCe="Show Option",LCe="The credit amount cannot exceed the payment amount",OCe="Enable the expense to be invoiced",MCe="Configure Gateways",jCe="Partial Payment",FCe="Is Running",BCe="Invoice Currency ID",zCe="Tax Name 1",UCe="Tax Name 2",HCe="Transaction ID",GCe="Invoice Late",WCe="Quote Expired",KCe="Invoice Total",QCe="Actions",YCe="Expense Number",XCe="Task Number",JCe="Project Number",ZCe="View Settings",eSe="Warning: this company has not yet been activated",tSe="Late Invoice",nSe="Expired Quote",aSe="Remind Invoice",sSe="Client Phone",oSe="Required Fields",iSe="Enabled Modules",rSe=":contact viewed quote :quote",cSe=":user updated client :client",lSe=":user updated vendor :vendor",dSe=":user emailed first reminder for invoice :invoice to :contact",_Se=":user emailed second reminder for invoice :invoice to :contact",uSe=":user emailed third reminder for invoice :invoice to :contact",mSe=":user emailed endless reminder for invoice :invoice to :contact",pSe="Expense Category ID",hSe="View Licenses",fSe="Fullscreen Editor",gSe="Sidebar Editor",vSe='Please type ":value" to confirm',ySe="Purge",bSe="Clone To",wSe="Clone to Other",kSe="Labels",xSe="Add Custom",CSe="Payment Tax",SSe="White Label",ESe="Sent invoices are locked",TSe="Paid invoices are locked",PSe="Source Code",ASe="App Platforms",NSe="Successfully archived :value task statuses",ISe="Successfully deleted :value task statuses",DSe="Successfully restored :value task statuses",$Se="Successfully deleted expense :value categories",RSe="Successfully restored expense :value categories",VSe="Successfully archived recurring :value invoices",qSe="Successfully deleted recurring :value invoices",LSe="Successfully restored recurring :value invoices",OSe="Successfully archived :value webhooks",MSe="Successfully deleted :value webhooks",jSe="Successfully removed :value webhooks",FSe="Successfully restored :value webhooks",BSe="API Docs",zSe="Successfully archived :value tokens",USe="Successfully deleted :value tokens",HSe="Successfully restored :value tokens",GSe="Successfully archived :value payment terms",WSe="Successfully deleted :value payment terms",KSe="Successfully restored :value payment terms",QSe="Successfully archived :value designs",YSe="Successfully deleted :value designs",XSe="Successfully restored :value designs",JSe="Successfully restored :value credits",ZSe="Successfully archived :value users",e1e="Successfully deleted :value users",t1e="Successfully removed :value users",n1e="Successfully restored :value users",a1e="Successfully archived :value tax rates",s1e="Successfully deleted :value tax rates",o1e="Successfully restored :value tax rates",i1e="Successfully archived :value gateways",r1e="Successfully deleted :value gateways",c1e="Successfully restored :value gateways",l1e="Successfully archived :value groups",d1e="Successfully deleted :value groups",_1e="Successfully restored :value groups",u1e="Successfully archived :value documents",m1e="Successfully deleted :value documents",p1e="Successfully restored :value documents",h1e="Successfully restored :value vendors",f1e="Successfully restored :value expenses",g1e="Successfully restored :value tasks",v1e="Successfully restored :value projects",y1e="Successfully restored :value products",b1e="Successfully restored :value clients",w1e="Successfully restored :value invoices",k1e="Successfully restored :value payments",x1e="Successfully restored :value quotes",C1e="Update App",S1e="Successfully started import",E1e="Duplicate column mapping",T1e="Uses Inclusive Taxes",P1e="Is Amount Discount",A1e="Map To",N1e="Use first row as column names",I1e="No File Selected",D1e="Import Type",$1e="Draft Mode",R1e="Preview updates faster but is less accurate",V1e="Show Product Discount",q1e="Display a line item discount field",L1e="Tax Name 3",O1e="Debug mode is enabled",M1e="Warning: it is intended for use on local machines, it can leak credentials. Click to learn more.",j1e="Running Tasks",F1e="Recent Tasks",B1e="Recent Expenses",z1e="Upcoming Expenses",U1e="Search 1 Payment Term",H1e="Search :count Payment Terms",G1e="Save and Preview",W1e="Save and Email",K1e="Converted Balance",Q1e="Is Sent",Y1e="Document Upload",X1e="Enable clients to upload documents",J1e="Expense Total",Z1e="Enter Taxes",e0e="By Rate",t0e="By Amount",n0e="Enter Amount",a0e="Before Taxes",s0e="After Taxes",o0e="Color",i0e="Show",r0e="Empty Columns",c0e="Project Name",l0e="To use :client_counter please add either :client_number or :client_id_number to prevent conflicts",d0e="This Quarter",_0e="To update run",u0e="Registration URL",m0e="Show Product Cost",p0e="Complete",h0e="Next",f0e="Next step",g0e="Credit :invoice was sent to :client",v0e="Credit :invoice was viewed by :client",y0e="The following client :client was emailed Credit :invoice for :amount.",b0e="The following client :client viewed Credit :credit for :amount.",w0e="Enter your email to reset your password.",k0e="Password reset",x0e="Welcome! Glad to see you.",C0e="Request cancellation",S0e="Delete Payment Method",E0e="You are about to delete the payment method.",T0e="Action can't be reversed",P0e="The profile has been updated successfully.",A0e="Ethiopian Birr",N0e="Use a permanent address where you can receive mail.",I0e="Invoice Status",D0e="This email is already linked to an account",$0e="Locations",R0e="Indefinitely",V0e="Cycles remaining",q0e="I understand, delete",L0e="Download Files",O0e="Use this link to download your files, the link will expire in 1 hour.",M0e="New Signup",j0e="A new account has been created by :user - :email - from IP address: :ip",F0e="Payment was made by :client",B0e="Partial payment was made by :client",z0e="A payment of :amount was made by client :client towards :invoice",U0e="A partial payment of :amount was made by client :client towards :invoice",H0e="Notification Bot",G0e="Invoice # :invoice",W0e=":entity # :entity_number",K0e="If the button above isn't working for you, please click on the link",Q0e="Display Log",Y0e="Report errors to help improve the app",X0e="Setup",J0e="Quick overview & statistics",Z0e="Update your personal information",eEe="Name, website & logo",tEe="Make sure you use full link to your site",nEe="Personal address",aEe="Enter your personal address",sEe="Enter your shipping address",oEe="List of invoices",iEe="With selected",rEe="This invoice is still not paid. Click the button to complete the payment",cEe="List of recurring invoices",lEe="Here are some details about recurring invoice",dEe="Cancellation",_Ee="In case you want to stop the recurring invoice, please click to request the cancellation.",uEe="Warning! You are requesting a cancellation of this service. Your service may be cancelled with no further notification to you.",mEe="Cancellation pending, we'll be in touch!",pEe="List of payments",hEe="Details of the payment",fEe="Associate invoices",gEe="List of payment methods",vEe="Details of payment method",yEe="Permanently remove this payment method.",bEe="Warning! This action can not be reversed!",wEe="Confirmation",kEe="Quotes",xEe="Waiting for approval",CEe="This quote is still not approved",SEe="Credits",EEe="Required extensions",TEe="PHP version",PEe="Writable .env file",AEe=".env file is not writable by the current user.",NEe="Minimum PHP version",IEe="Make sure all requirements are satisfied.",DEe="Oops, something does not look right!",$Ee="Open in new tab",REe="Complete payment",VEe="Authorize payment method for future use",qEe="Page",LEe="Per page",OEe="Of",MEe="View Credit",jEe="To view the :entity you need to enter password.",FEe="Showing :first to :last out of :total results",BEe="No results found.",zEe="Payment failed for Client :client",UEe="A payment made by client :client failed with message :message",HEe="Register",GEe="Create your account in seconds",WEe="Confirm your password",KEe="Verification",QEe="Before using a bank account it must be verified.",YEe="Checkout.com",XEe="Copyright © :year :company.",JEe="Provided credit card number is not valid.",ZEe="Provided month is not valid.",eTe="Provided year is not valid.",tTe="HTTPS is required, form will fail",nTe="If you need help you can post to our",aTe="After updating password, your account will be confirmed.",sTe="To pay with a bank account, first you have to add it as payment method.",oTe="Let's store basic information about your Invoice Ninja!",iTe="Highly recommended in production",rTe="Enable only for development",cTe="Test PDF",lTe=`Checkout.com can be can saved as payment method for future use, once you complete your first transaction. Don't forget to check "Store credit card details" during payment process.`,dTe=`Bank account (SOFORT) can be can saved as payment method for future use, once you complete your first transaction. Don't forget to check "Store payment details" during payment process.`,_Te="Node status",uTe="NPM status",mTe="I could not find Node anywhere. Is it installed?",pTe="I could not find NPM anywhere. Is it installed?",hTe="This invoice is locked and unable to be modified",fTe="Downloads",gTe="Resource",vTe="Details about the document",yTe="Hash",bTe="Resources",wTe="Allowed file types:",kTe="Common codes and their meanings",xTe="20087: Bad Track Data (invalid CVV and/or expiry date)",CTe="Download selected",STe="To pay invoices, you have to",ETe="add payment method",TTe="No items selected.",PTe="Payment due",ATe="Account Balance",NTe="Thanks",ITe="Minimum required payment is :amount",DTe="Company doesn't support underpayments.",$Te="Company doesn't support overpayments.",RTe="Saved at :time",VTe="Credit applied to Invoice :invoice_number",qTe="New credit :number from :account",LTe="To view your credit for :amount, click the link below.",OTe="Cryptocurrency",MTe="Credit",jTe="Store for future use",FTe="Pay with credit",BTe="Payment method can't be saved for future use.",zTe="Pay with",UTe='By clicking "Next" you accept terms.',HTe="Not specified",GTe="Before proceeding with payment, you have to fill following fields",WTe="After completing, go back to previous page.",KTe="Pay",QTe="Instructions",YTe="Reminder 1 for Invoice :invoice was sent to :client",XTe="Reminder 2 for Invoice :invoice was sent to :client",JTe="Reminder 3 for Invoice :invoice was sent to :client",ZTe="Custom reminder for Invoice :invoice was sent to :client",ePe="Endless reminder for Invoice :invoice was sent to :client",tPe="Assigned User",nPe="To proceed to next step, make sure you test each section.",aPe="Note about Phantom JS. Read more.",sPe="Minimum Payment",oPe="No action provided. If you believe this is wrong, please contact the support.",iPe="No payable invoices selected. Make sure you are not trying to pay draft invoice or invoice with zero balance due.",rPe="Required payment details",cPe="To complete a payment we need more details about you.",lPe="We will save this, so you don't have to enter it next time.",dPe="We were unable to deliver Credit :invoice to :contact. \\n :error",_Pe="Unable to deliver Credit :invoice",uPe="Save payment method details",mPe="New card",pPe="Add Bank Account",hPe="Limit of :limit companies per account.",fPe="Total credits applied cannot be MORE than total of invoices",gPe="Credit number already taken",vPe="Credit not found",yPe="Selected invoices are not from a single client",bPe="Duplicate credits submitted.",wPe="Duplicate invoices submitted.",kPe="You must have an invoice set when using a credit in a payment",xPe="Client id is required",CPe="Expense number already taken",SPe="Invoice number already taken",EPe="Payment `id` required.",TPe="Unable to retrieve specified payment",PPe="Invoice id :invoice is not related to this payment",APe="Credit id :credit is not related to this payment",NPe="Attempting to refund more than allowed for invoice id :invoice, maximum refundable amount is :amount",IPe="Attempting to refund a payment with invoices attached, please specify valid invoice/s to be refunded.",DPe="Attempting to refund a payment with credits attached, please specify valid credits/s to be refunded.",$Pe="Attempting to refund more than allowed for credit :credit, maximum refundable amount is :amount",RPe="Project client does not match entity client",VPe="Quote number already taken",qPe="Recurring Invoice number :number already taken",LPe="User not associated with this account",OPe="Amounts do not balance correctly.",MPe="Insufficient applied amount remaining to cover payment.",jPe="Insufficient balance on credit.",FPe="One or more of these invoices have been paid",BPe="Invoice id :number cannot be refunded",zPe="Attempting to refund :amount only :refundable_amount available for refund",UPe="This user is unable to be attached to this company. Perhaps they have already registered a user on another account?",HPe="Migration completed",GPe="Your migration has completed, please review your data after logging in.",WPe="404 | Nothing to see here!",KPe="Cannot load a large account without a updated_at parameter",QPe="No backup exists for this activity",YPe="Company User record not found",XPe="No credits found.",JPe="The requested action :action is not available.",ZPe="No Documents Found",e2e="No group settings found",t2e="Insufficient privileges to access/modify this resource",n2e="Invoice cannot be marked as paid",a2e="Invalid license, or invalid environment :environment",s2e="Route not available",o2e="Invalid custom design object",i2e="Quote/s not found",r2e="Unable to approve this quote as it has expired.",c2e="Scheduler has run",l2e="Scheduler has never run",d2e="Self update not available on this system.",_2e="User detached from company",u2e="Failed to create Webhook",m2e="Thank you for your payment of :amount for :invoice",p2e="Note: Online payments are supported only if amount is larger than $1 or currency equivalent.",h2e="Payment token not found, please try again. If an issue still persist, try with another payment method",f2e="Vendor Street",g2e="Vendor Apt/Suite",v2e="Partially Unapplied",y2e="Please select a user authenticated with Gmail",b2e="List Long Press",w2e="Show Actions",k2e="Start Multiselect",x2e="An email has been sent to confirm the email address",C2e="Converted Paid to Date",S2e="Converted Credit Balance",E2e="Converted Total",T2e="Reply-To Name",P2e="Color Theme",A2e="Start Migration",N2e="Request for recurring invoice cancellation from :contact",I2e=":contact from Client :client requested to cancel Recurring Invoice :invoice",D2e="Hello",$2e="Group documents",R2e="Are you sure you want to approve this quote?",V2e="Select companies to migrate",q2e="Force migration",L2e="Require Password with Social Login",O2e="Stay Logged In",M2e="Warning: Your session is about to expire",j2e=":count Hours",F2e="1 Day",B2e=":count Days",z2e="Web Session Timeout",U2e="Security Settings",H2e="Resend Email",G2e="Please confirm your email address",W2e="FreshBooks",K2e="Invoice2go",Q2e="Invoicely",Y2e="Wave Accounting",X2e="Zoho",J2e="Accounting",Z2e="Please provide all CSVs.",eAe="Let's continue by authenticating.",tAe="API secret",nAe="You can find API_SECRET in the .env file or Invoice Ninja v5. If property is missing, leave field blank.",aAe="Your discount will be applied on the checkout.",sAe="Use last email",oAe="Activate Company",iAe="Enable emails, recurring invoices and notifications",rAe="An error occurred, please try again",cAe="Please first set a password",lAe="Warning: Changing your phone number will disable 2FA",dAe="Help Translate",_Ae="Please select a country",uAe="Successfully disabled 2FA",mAe="Successfully connected account",pAe="Successfully disconnected account",hAe="Delivered",fAe="Spam",gAe="View Docs",vAe="Please provide a mobile phone number to enable two factor authentication",yAe="Send SMS",bAe="SMS Code",wAe="Connect Google",kAe="Disconnect Google",xAe="Disable Two Factor",CAe="Invoice Task Datelog",SAe="Add date details to the invoice line items",EAe="Promo code",TAe="Recurring invoice issued to",PAe="Subscription",AAe="New Subscription",NAe="Successfully deleted subscription",IAe="Successfully removed subscription",DAe="Successfully restored subscription",$Ae="Search 1 Subscription",RAe="Search :count Subscriptions",VAe="Subdomain is not available",qAe="Connect Gmail",LAe="Disconnect Gmail",OAe="Successfully connected Gmail",MAe="Successfully disconnected Gmail",jAe="Changes to the codebase may be blocking the update, you can run this command to discard the changes:",FAe="Client ID Number",BAe=":count Minutes",zAe="Password Timeout",UAe="Share Invoice/Credit Counter",HAe=":user created subscription :subscription",GAe=":user updated subscription :subscription",WAe=":user archived subscription :subscription",KAe=":user deleted subscription :subscription",QAe=":user restored subscription :subscription",YAe="The amount is greater than the invoice balance. You cannot overpay an invoice.",XAe="Click to continue",JAe="The following invoice :invoice was created for client :client for :amount.",ZAe="Invoice :invoice was created for :client",eNe="The following quote :invoice was created for client :client for :amount.",tNe="Quote :invoice was created for :client",nNe="The following credit :invoice was created for client :client for :amount.",aNe="Credit :invoice was created for :client",sNe="Maximum companies migrated",oNe="You have reached your maximum number of companies. Delete existing companies to migrate new ones.",iNe="Company already migrated",rNe="Looks like you already migrated <b> :company_name </b>to the V5 version of the Invoice Ninja. In case you want to start over, you can force migrate to wipe existing data.",cNe=`This payment method can be can saved for future use, once you complete your first transaction. Don't forget to check "Store details" during payment process.`,lNe="New account",dNe=":user created recurring invoice :recurring_invoice",_Ne=":user updated recurring invoice :recurring_invoice",uNe=":user archived recurring invoice :recurring_invoice",mNe=":user deleted recurring invoice :recurring_invoice",pNe=":user restored recurring invoice :recurring_invoice",hNe="New login detected for your account.",fNe="You recently logged in to your Invoice Ninja account from a new location or device:<br><br><b>IP:</b> :ip<br><b>Time:</b> :time<br><b>Email:</b> :email",gNe="Contact Details",vNe="Your company backup is ready for download",yNe="Account passwordless login",bNe="Cannot add the same user to the same company",wNe="User exists but cannot be crossed linked to multiple accounts",kNe="ACH verification",xNe="Connecting bank accounts require verification. Payment gateway will automatically send two small deposits for this purpose. These deposits take 1-2 business days to appear on the customer's online statement.",CNe="Login link requested",SNe="There was a request to login using link. If you did not request this, it's safe to ignore it.",ENe="Your invoices are ready for download",TNe="Migration failed",PNe="Looks like something went wrong with the migration for the following company:",ANe="If you have any questions please contact us, we're here to help!",NNe="Quote was approved",INe="We would like to inform you that quote was approved.",DNe="Error importing :company",$Ne="There was an error importing the company data, the error message was:",RNe="Due Date",VNe="Amount in pennies,pence or cents. ie for $0.10 please enter 10",qNe="Default Payment Method",LNe="Make this your preferred way of paying.",ONe="This is your preferred way of paying.",MNe="Auto Bill Disabled",jNe="Select a payment method:",FNe="Log in without password",BNe="Email me when an invoice is <b>sent</b>",zNe="One time purchases",UNe="Recurring purchases",HNe="You might be interested in the following",GNe='Only quotes with "Sent" status can be approved. Expired quotes cannot be approved.',WNe="No quotes available for download.",KNe="Copyright",QNe=":user created :created_user at :time",YNe="Company deleted",XNe="Company [ :company ] was deleted by :user",JNe="Back to :url",ZNe="Connect your Stripe Account",eIe="Invoice Ninja v5 uses Stripe Connect to link your Stripe account to Invoice Ninja. This provides an additional layer of security for your account. Now that you data has migrated, you will need to Authorize Stripe to accept payments in v5.<br><br>To do this, navigate to Settings > Online Payments > Configure Gateways. Click on Stripe Connect and then under Settings click Setup Gateway. This will take you to Stripe to authorize Invoice Ninja and on your return your account will be successfully linked!",tIe="Account email quota exceeded.",nIe="In a 24 hour period you have sent :quota emails. <br> We have paused your outbound emails.<br><br> Your email quota will reset at 23:00 UTC.",aIe="Opt in or out of having this invoice automatically charged.",sIe="Arabic",oIe="Persian",iIe="Latvian",rIe="Expiry date",cIe="Card holder name",lIe="Recurring Quote number :number already taken",dIe="Account type",_Ie="Locality",uIe="Checking",mIe="Savings",pIe="Unable to verify payment method.",hIe="Gateway configuration error. Please check your credentials.",fIe="My documents",gIe="This payment method cannot be preauthorized.",vIe="KBC/CBC",yIe="Bancontact",bIe="By providing your IBAN and confirming this payment, you are authorizing :company and Stripe, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited.",wIe="iDEAL",kIe="Bank Account Holder",xIe="All-in-one checkout",CIe="Przelewy24",SIe="I declare that I have familiarized myself with the regulations and information obligation of the Przelewy24 service.",EIe="GiroPay",TIe="By entering your Customer information (such as name, sort code and account number) you (the Customer) agree that this information is given voluntarily.",PIe="Klarna",AIe="EPS",NIe="BECS Direct Debit",IIe="BACS Direct Debit",DIe="BACS Direct Debit",$Ie="Please add a payment method first, before trying to pay.",RIe='By providing your bank account details, you agree to this <a class="underline" href="https://stripe.com/au-becs-dd-service-agreement/legal">Direct Debit Request and the Direct Debit Request service agreement</a>, and authorise Stripe Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 (“Stripe”) to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of :company (the “Merchant”) for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorised signatory on the account listed above.',VIe="You need to accept the terms before proceeding.",qIe="Direct Debit",LIe="Clone to Expense",OIe="Checkout",MIe="ACSS Debit",jIe="Invalid amount. Number/Decimal values only.",FIe="Payment for Invoice :invoice for amount :amount failed.",BIe="Google Pay, Apple Pay, Microsoft Pay",zIe=`We can't find any credit cards on your device. <a href="https://invoiceninja.github.io/docs/payments#apple-pay-google-pay-microsoft-pay" target="_blank" class="underline">Read more about this.</a>`,UIe="Payment mandate is not ready. Please try again later.",HIe="Instant Bank Pay",GIe="iDEAL",WIe="Przelewy24",KIe="GiroPay",QIe="EPS",YIe="Bancontact",XIe="BECS",JIe="ACSS",ZIe="Gross Line Total",e3e="Slovak",t3e="Normal",n3e="Large",a3e="Extra Large",s3e="Show PDF Preview",o3e="Display PDF preview while editing invoices",i3e="Print PDF",r3e="Remind Me",c3e="Instant Bank Pay",l3e="Click Selected",d3e="Hide Preview",_3e="Edit Record",u3e="The credit amount can not be more than the invoice amount",m3e="Please set an account password",p3e="We recommend using the desktop app for the best performance",h3e="We recommend using the mobile app for the best performance",f3e="Successfully disconnected gateway",g3e="Disconnect",v3e="Add to Invoices",y3e="Download",b3e="Save data locally to enable the app to start faster, disabling may improve performance in large accounts",w3e="Persist UI",k3e="Save UI state locally to enable the app to start at the last location, disabling may improve performance",x3e="Client Postal Code",C3e="Client VAT Number",S3e="Has Tasks",E3e="Registration",T3e="Please authorize Stripe to accept online payments.",P3e="Update all records",A3e="Set Default Company",N3e="Successfully updated company",I3e="KBC",D3e="Help us improve by telling us why (optional)",$3e="Webhook Success",R3e="Tasks must all belong to the same client",V3e="Expenses must all belong to the same client",q3e="App",L3e="For the best performance download the :app app",O3e="Email Invoice",M3e="Email Quote",j3e="Email Credit",F3e="Successfully removed recurring expense",B3e="Search Recurring Expense",z3e="Search Recurring Expenses",U3e="Last Sent Date",H3e="Include Drafts",G3e="Include draft records in reports",W3e="Is Invoiced",K3e="Manage Plan",Q3e="Persist Data",Y3e="Customer Count",X3e="Verify Customers",J3e="Google Analytics Tracking ID",Z3e="Decimal Comma",eDe="Use comma as decimal place in forms",tDe="Select Method",nDe="Select Platform",aDe="Please use the web app to connect to Gmail",sDe="Item tax rates are disabled",oDe="Enable Markdown",iDe="Convert markdown to HTML on the PDF",rDe="Add Second Contact",cDe="Previous Page",lDe="Next Page",dDe="Export Colors",_De="Import Colors",uDe="Clear All",mDe="Contrast",pDe="Custom Colors",hDe="Colors",fDe="Sidebar Active Background Color",gDe="Sidebar Active Font Color",vDe="Sidebar Inactive Background Color",yDe="Sidebar Inactive Font Color",bDe="Table Alternate Row Background Color",wDe="Invoice Header Background Color",kDe="Invoice Header Font Color",xDe="Review App",CDe="Check Status",SDe="Free Trial",EDe="All accounts receive a two week trial of the Pro plan, once the trial ends your account will automatically change to the free plan.",TDe="The Pro plan trial ends in :count days, click to upgrade.",PDe="Today is the last day of the Pro plan trial, click to upgrade.",ADe="Change Email",NDe="Optionally configure a separate client portal domain",IDe="Tasks Shown in Portal",DDe="Uninvoiced",$De="The subdomain is used in the client portal to personalize links to match your brand. ie, https://your-brand.invoicing.co",RDe="Send Time",VDe="Import Settings",qDe="Please provide the JSON file",LDe="Please select to import the settings and/or data",ODe="JSON",MDe="No payment types enabled",jDe="Please wait for the data to finish loading",FDe="Net Total",BDe="Has Taxes",zDe="Import Customers",UDe="Successfully started importing customers",HDe="Successful Login",GDe="Failed Login",WDe="Once the file is ready you'll receive an email with a download link",KDe="Include Deleted Clients",QDe="Load records belonging to deleted clients",YDe="Step 1: Sign In",XDe="Step 2: Authorize",JDe="Account ID",ZDe="The migration has not yet completed",e$e="Show Task End Date",t$e="Enable specifying the task end date",n$e="Gateway Setup",a$e="Preview Sidebar",s$e="Years Data Shown",o$e="Successfully ended all sessions",i$e="End All Sessions",r$e="1 Session",c$e=":count Sessions",l$e="Invoice Created",d$e="Quote Created",_$e="Credit Created",u$e="Enterprise",m$e="Invoice Item",p$e="Quote Item",h$e="Order",f$e="Search Kanban",g$e="Search Kanban",v$e="Move Top",y$e="Move Up",b$e="Move Down",w$e="Move Bottom",k$e="Error: the custom email must include a :body variable",x$e="Make sure to include a :body variable",C$e="View Date Formats",S$e="Is Viewed",E$e="Letter",T$e="Legal",P$e="Page Layout",A$e="Portrait",N$e="Landscape",I$e="The account owner can upgrade to a paid plan to enable the advanced advanced settings",D$e="Upgrade to a paid plan to enable the advanced settings",$$e="Invoice Payment Terms",R$e="Quote Valid Until",V$e="No Headers",q$e="Add Header",L$e="Remove Header",O$e="Return URL",M$e="REST Method",j$e="Header Key",F$e="Header Value",B$e="Recurring Products",z$e="Promo Discount",U$e="Allow Cancellation",H$e="Per Seat Enabled",G$e="Max Seats Limit",W$e="Trial Enabled",K$e="Trial Duration",Q$e="Allow Query Overrides",Y$e="Allow Plan Changes",X$e="Plan Map",J$e="Refund Period",Z$e="Webhook Configuration",eRe="Purchase Page",tRe="Email Bounced",nRe="Spam Complaint",aRe="Email Delivery",sRe="Webhook Response",oRe="PDF Response",iRe="Authentication Failure",rRe="PDF Failed",cRe="PDF Success",lRe="Modified",dRe="HTML Mode",_Re="Preview updates faster but is less accurate",uRe="Status Color Theme",mRe="Load Color Theme",pRe="Estonian",hRe="Successfully marked credit as paid",fRe="Successfully marked credits as paid",gRe="Data loading - please wait for it to complete",vRe="Data saving - please wait for it to complete",yRe="Note: changes made here are only previewed, they must be applied in the tabs above to be saved",bRe="Remaining",wRe="Invoice Paid",kRe=":user created recurring expense :recurring_expense",xRe=":user updated recurring expense :recurring_expense",CRe=":user archived recurring expense :recurring_expense",SRe=":user deleted recurring expense :recurring_expense",ERe=":user restored recurring expense :recurring_expense",TRe="FPX",PRe="To view the :entity you need to set a password.",ARe="Unsubscribe",NRe="Unsubscribed",IRe="You have been removed from notifications for this document",DRe="Client Shipping State",$Re="Client Shipping City",RRe="Client Shipping Postal Code",VRe="Client Shipping Country",qRe="Load PDF",LRe="Start Free Trial",ORe="Start your FREE 14 day trial of the Pro Plan",MRe="Due on Receipt",jRe="Is Paid",FRe="Paid",BRe="Id",zRe="Convert To",URe="Client Currency",HRe="Company Currency",GRe="To prevent spam we require upgrading to a paid account to customize the email",WRe="Upgrade your plan to add companies",KRe="The file has been saved in the downloads folder",QRe="Small",YRe="Your quotes are ready for download",XRe="Your credits are ready for download",JRe="Your documents are ready for download",ZRe="Reminder for invoice :number for :balance",eVe="Send with GMail invalid credentials",tVe="Your GMail credentials are not correct, please log into the administrator portal and navigate to Settings > User Details and disconnect and reconnect your GMail account. We will send you this notification daily until this issue is resolved",nVe="Total Fields",aVe="View Task",sVe="Cancel",oVe="Successfully changed task status",iVe="Change Status",rVe="Enable Touch Events",cVe="Support drag events to scroll",lVe="After Saving",dVe="View Record",_Ve="Enable Email Markdown",uVe="Use visual markdown editor for emails",mVe="Enable PDF Markdown",pVe="Note: JSON files generated by the v4 app are not supported",hVe="Release Notes",fVe="Upgrade your plan to view reports",gVe="Successfully started :value tasks",vVe="Successfully stopped :value tasks",yVe="Successfully apporved quote",bVe="Successfully :value approved quotes",wVe="Client Website",kVe="Invalid Time",xVe="Signed in as",CVe="Total results",SVe="Restore gateway",EVe="Archive gateway",TVe="Delete gateway",PVe="Exchange currency",AVe="Tax Amount 1",NVe="Tax Amount 2",IVe="Tax Amount 3",DVe="Update Project",$Ve="Auto Archive Cancelled Invoice",RVe="Automatically archive invoices when cancelled",VVe="No invoices found",qVe="Successfully created record",LVe="Auto Archive Paid",OVe="Automatically archive invoices when they are paid.",MVe="Auto Archive Cancelled",jVe="Automatically archive invoices when cancelled.",FVe="Alternate PDF Viewer",BVe="Improve scrolling over the PDF preview [BETA]",zVe="Cayman Island Dollar",UVe="Please see attached file to check your report.",HVe="Left",GVe="Right",WVe="Center",KVe="Page Numbering",QVe="Page Numbering Alignment",YVe="Invoice Sent",XVe="Show Product Description",JVe="Include the description in the product dropdown",ZVe="Invoice Items",e4e="Quote Items",t4e="Profit and Loss",n4e="Import Format",a4e="Export Format",s4e="Export Type",o4e="Stop On Unpaid",i4e="Stop creating recurring invoices if the last invoice is unpaid.",r4e="Use Quote Terms",c4e="When converting a quote to an invoice",l4e="Add Country",d4e="Enable Tooltips",_4e="Show tooltips when hovering the mouse",u4e="Error: records belong to more than one client",m4e="Login to an existing account",p4e="Purchase Order",h4e="Purchase Order Number",f4e="Purchase Order #",g4e="Inventory threshold notification for product: :product",v4e="Threshold of :amount has been reached for product: :product",y4e=":user created purchase order :purchase_order",b4e=":user updated purchase order :purchase_order",w4e=":user archived purchase order :purchase_order",k4e=":user deleted purchase order :purchase_order",x4e=":user restored purchase order :purchase_order",C4e=":user emailed purchase order :purchase_order",S4e=":contact viewed purchase order :purchase_order",E4e="New Purchase Order :number from :account",T4e="To view your purchase order for :amount, click the link below.",P4e="View Purchase Order",A4e="Your purchase orders are ready for download",N4e="Purchase Order :invoice was viewed by :client",I4e="The following vendor :client viewed Purchase Order :invoice for :amount.",D4e="Purchase Order Date",$4e="Purchase Orders",R4e="Purchase Order # :purchase_order",V4e="Accepted",q4e=":contact accepted purchase order :purchase_order",L4e="Vendor Information",O4e="Purchase Order :purchase_order was accepted by :vendor",M4e="The following vendor :vendor accepted Purchase Order :purchase_order for :amount.",j4e="Amount received",F4e="Already converted to an expense.",B4e="Convert to Expense",z4e="Add to Inventory",U4e="Successfully added purchase order to inventory",H4e="Successfully added purchase orders to inventory",G4e="Client Document Upload",W4e="Vendor Document Upload",K4e="Enable vendors to upload documents",Q4e="Are you enjoying the app?",Y4e="Yes, it's great!",X4e="Not so much",J4e="Great to hear! Would you like to rate it?",Z4e="Sorry to hear it! Would you like to tell us more?",eqe="Sure, happy to",tqe="No, not now",nqe="Add",aqe="Last Sent Template",sqe="Enable Flexible Search",oqe='Match non-contiguous characters, ie. "ct" matches "cat"',iqe="Vendor Details",rqe="Purchase Order Details",cqe="QR IBAN",lqe="BESR ID",dqe="Clone to PO",_qe="Vendor does not have an email address set",uqe="Send Email",mqe="Successfully marked purchase order as sent",pqe="Successfully marked purchase orders as sent",hqe="Successfully accepted purchase order",fqe="Successfully accepted purchase orders",gqe="Successfully cancelled purchase order",vqe="Successfully cancelled purchase orders",yqe="Please select a vendor",bqe="Purchase Order Total",wqe="Email Purchase Order",kqe="Email Purchase Order",xqe="Successfully disconnected email",Cqe="Connect Email",Sqe="Disconnect Email",Eqe="Please use the web app to connect to Microsoft",Tqe="Email Provider",Pqe="Connect Microsoft",Aqe="Disconnect Microsoft",Nqe="Successfully connected Microsoft",Iqe="Successfully disconnected Microsoft",Dqe="Login with Microsoft",$qe="Sign up with Microsoft",Rqe="Successfully queued purchase order to be sent",Vqe="Successfully queued purchase orders to be sent",qqe="Change to the React web app",Lqe="Purchase Order Design",Oqe="Purchase Order Terms",Mqe="Purchase Order Footer",jqe="Purchase Order Signature",Fqe="Require vendor to provide their signature.",Bqe="New Purchase Order",zqe="Edit Purchase Order",Uqe="Successfully created purchase order",Hqe="Successfully updated purchase order",Gqe="Successfully archived purchase order",Wqe="Successfully deleted purchase order",Kqe="Successfully removed purchase order",Qqe="Successfully restored purchase order",Yqe="Search Purchase Order",Xqe="Search Purchase Orders",Jqe="Login URL",Zqe="Manual Overpayments",eLe="Support adding an overpayment amount manually on a payment",tLe="Stock Quantity",nLe="Notification Threshold",aLe="Track Inventory",sLe="Display a product stock field and update when invoices are sent",oLe="Stock Notifications",iLe="Send an email when the stock reaches the threshold",rLe="VAT",cLe="View Map",lLe="Set Default Design",dLe="Purchase Order issued to",_Le="Archive Task Status",uLe="Delete Task Status",mLe="Restore Task Status",pLe="Hebrew",hLe="Price change accepted",fLe="Price change failed with code",gLe="Restore Purchases",vLe="Activate",yLe="Connect Apple",bLe="Disconnect Apple",wLe="Successfully disconnected Apple",kLe="Send Now",xLe="Received",CLe="Successfully converted to expense",SLe="Successfully converted to expenses",ELe="This document has been removed, please contact the vendor for further information",TLe="Document no longer available",PLe="Field",ALe="Period",NLe="Fields Per Row",ILe="Active Invoices",DLe="Outstanding Invoices",$Le="Completed Payments",RLe="Refunded Payments",VLe="Active Quotes",qLe="Approved Quotes",LLe="Unapproved Quotes",OLe="Logged Tasks",MLe="Invoiced Tasks",jLe="Paid Tasks",FLe="Logged Expenses",BLe="Pending Expenses",zLe="Invoiced Expenses",ULe="Invoice Paid Expenses",HLe="Vendor Portal",GLe="Send Code",WLe="Save the record to upload documents",KLe="Expense Tax Rates",QLe="Invoice Item Tax Rates",YLe="Successfully verified phone number",XLe="A code has been sent via SMS",JLe="Resend",ZLe="Verify",eOe="Please provide a phone number",tOe="Invalid phone number",nOe="Verify Phone Number",aOe="Please verify your phone number to send emails",sOe="Successfully merged clients",oOe="Merge Into",iOe="Note: v5.5 requires PHP 8.1",rOe="Email Purchase Orders",cOe="Email Invoices",lOe="Email Quotes",dOe="Email Credits",_Oe="Archive Purchase Order",uOe="Restore Purchase Order",mOe="Delete Purchase Order",pOe="Connect",hOe="Mark Paid Payment Email",fOe="Convert to Project",gOe="Client Email",vOe="Invoice Task Project",yOe="Add the project to the invoice line items",bOe="Bulk Action",wOe="This mobile (cell) phone number is not valid, please enter in E.164 format",kOe="Transaction",xOe="Disable 2FA",COe="Change Number",SOe="Resend Code",EOe="Base Type",TOe="Category Type",POe="Transaction",AOe="Print PDF",NOe="Vendor Postal Code",IOe="Preview Location",DOe="Bottom",$Oe="Side",ROe="PDF Preview",VOe="Long Press to Select",qOe="Purchase Order Item",LOe="Would you like to rate the app?",OOe="Include Deleted",MOe="Include deleted records in reports",jOe="Due On",FOe="Use Browser PDF Viewer",BOe="Warning: Prevents interacting with app over the PDF",zOe="Successfully converted transactions",UOe="Default Category",HOe="Connect Accounts",GOe="Manage Rules",WOe="Search 1 Category",KOe="Search :count Categories",QOe="Min Amount",YOe="Max Amount",XOe="Successfully converted transaction",JOe="Convert to Payment",ZOe="Deposit",eMe="Withdrawal",tMe="Deposits",nMe="Withdrawals",aMe="Matched",sMe="Unmatched",oMe="Create Credit",iMe="Transactions",rMe="New Transaction",cMe="Edit Transaction",lMe="Successfully created transaction",dMe="Successfully updated transaction",_Me="Successfully archived transaction",uMe="Successfully deleted transaction",mMe="Successfully removed transaction",pMe="Successfully restored transaction",hMe="Search Transaction",fMe="Search :count Transactions",gMe="Successfully deleted bank account",vMe="Successfully removed bank account",yMe="Successfully restored bank account",bMe="Search Bank Account",wMe="Search :count Bank Accounts",kMe="A code has been sent via SMS to :number",xMe="Please verify your phone number for 2FA backup",CMe="Enable Applying Payments Later",SMe="Line Item Tax Rates",EMe="Show Tasks in Client Portal",TMe="Quote :invoice has expired for :client",PMe="The following Quote :invoice for client :client and :amount has now expired.",AMe="Auto Sync",NMe="Refresh Accounts",IMe="Upgrade to Enterprise to connect your bank account",DMe="Click here to connect your bank account",$Me="Include tax",RMe="E-mail template body can be changed on",VMe="Insufficient permissions, or task may be locked",qMe="Accrual accounting",LMe="Turn on for accrual reporting, turn off for cash basis reporting.",OMe="Expensed reporting",MMe="Turn on for reporting all expenses, turn off for reporting only paid expenses",jMe="Send an email when an online payment is made",FMe="Send an email when manually entering a payment",BMe="Send an email when marking an invoice as paid",zMe="Successfully linked transaction",UMe="Link Payment",HMe="Link Expense",GMe="Lock Invoiced Tasks",WMe="Prevent tasks from being edited once invoiced",KMe="Require clients to register",QMe="Use Inventory Management",YMe="Require products to be in stock",XMe="Optional Products",JMe="Optional Recurring Products",ZMe="Convert",e5e="Successfully queued invoice to be auto-billed",t5e="Successfully queued invoices to be auto-billed",n5e="Operator",a5e="Value",s5e="Is",o5e="Contains",i5e="Starts with",r5e="Is empty",c5e="Add Rule",l5e="Match All Rules",d5e="All criteria needs to match for the rule to be applied",_5e="Automatically convert matched transactions to expenses",u5e="Rules",m5e="Transaction Rule",p5e="Transaction Rules",h5e="New Transaction Rule",f5e="Edit Transaction Rule",g5e="Successfully created rule",v5e="Successfully updated transaction rule",y5e="Successfully archived transaction rule",b5e="Successfully deleted transaction rule",w5e="Successfully removed transaction rule",k5e="Successfully restored transaction rule",x5e="Search Transaction Rule",C5e="Search Transaction Rules",S5e="Delete Bank Account",E5e="Archive Transaction",T5e="Delete Transaction",P5e="We have sent a code to :email enter this code to proceed.",A5e="Your one time passcode code",N5e="Your one time passcode is :code",I5e="Delete Tax Rate",D5e="Restore Tax Rate",$5e="Select company backup file",R5e="Please upload the .zip file used to create this backup.",V5e="Backup | Restore",q5e="Create company backup",L5e="Backup",O5e="The following purchase_order :purchase_order was created for vendor :vendor for :amount.",M5e="Purchase Order :purchase_order was created for :vendor",j5e="Purchase Order :purchase_order was sent to :vendor",F5e="The following vendor :vendor was emailed Purchase Order :purchase_order for :amount.",B5e="This product is a restricted item, please contact the vendor for further information.",z5e="Product not available.",U5e="Purchase Order Created",H5e="Purchase Order Sent",G5e="Purchase Order Viewed",W5e="Purchase Order Accepted",K5e="The credit amount can not be greater than the payment amount",Q5e="Set an exchange rate when entering a manual payment",Y5e="Set an exchange rate when creating an expense",X5e="Matomo URL",J5e="Matomo Id",Z5e="Add To Invoice",eje="Danger Zone",tje="Import completed",nje="Your statement from :start_date to :end_date is attached.",aje="Email queued",sje="Clone to Recurring Invoice",oje="Inventory Threshold",ije="Successfully queued statement to be sent",rje="Show Email Footer",cje="Invoice Task Hours",lje="Add the hours to the invoice line items",dje="Auto Bill Standard Invoices",_je="Auto Bill Recurring Invoices",uje="Email Alignment",mje="PDF Preview Location",pje="Mailgun",hje="Brevo",fje="Postmark",gje="Microsoft",vje="Click + to create a record",yje="Last 365 Days",bje="Import Design",wje="Successfully imported design",kje="The design is invalid, the :value section is missing",xje="Would you like to upload your logo?",Cje="Installed Version",Sje="Notify Vendor When Paid",Eje="Send an email to the vendor when the expense is marked as paid",Tje="Update Payment",Pje="Markup",Aje="Unlock Pro",Nje="Upgrade to a paid plan to create schedules",Ije="Next Run",Dje="All Clients",$je="Show Aging Table",Rje="Show Payments Table",Vje="Only Clients with Invoices",qje="Email Statement",Lje="Once",Oje="Schedules",Mje="New Schedule",jje="Edit Schedule",Fje="Successfully created schedule",Bje="Successfully updated schedule",zje="Successfully archived schedule",Uje="Successfully deleted schedule",Hje="Successfully removed schedule",Gje="Successfully restored schedule",Wje="Search Schedule",Kje="Search Schedules",Qje="Update Product",Yje="Create Purchase Order",Xje="Update Purchase Order",Jje="Sent Invoice",Zje="Sent Quote",eFe="Sent Credit",tFe="Sent Purchase Order",nFe="Image URL",aFe="Max Quantity",sFe="Test URL",oFe="Option is not shown",iFe="Option is shown but not selected",rFe="Option is shown and selected",cFe="Option is not shown",lFe="View All",dFe="Edit All",_Fe="Accept Purchase Order Number",uFe="Enable clients to provide a PO number when approving a quote",mFe="From Email",pFe="Show Preview",hFe="Show Paid Stamp",fFe="Show Shipping Address",gFe="There are no documents in the selected records to download",vFe="Pixels",yFe="Logo Size",bFe="Failed",wFe="Client Contacts",kFe="Sync From",xFe="Invoices: :invoices for :amount for client :client",CFe="Payment with no invoice for amount :amount for client :client",SFe="Click here to see all variables.",EFe="Ship to",TFe="Please transfer into the nominated bank account above.",PFe="Branch Name",AFe="Branch Code",NFe="Bank Name",IFe="Bank Code",DFe="BIC",$Fe="Upgrade or downgrade your current plan.",RFe="Add Logo",VFe="Add Stripe",qFe="Invalid Coupon",LFe="No billable tasks for this project",OFe="Insufficient permissions to perform this action",MFe="Please verify your account to send emails.",jFe="Thank you for purchasing a white label license. <br><br> Your license key is: <br><br> :license_key <br><br> You can manage your license here: https://invoiceninja.invoicing.co/client/login",FFe="Klarna",BFe="Payable within :payeddue days net until :paydate",zFe="No buyer's reference given",UFe="The invoice needs to be paid online via the provided link",HFe="Pre Payment",GFe="Number of payments",WFe="The number of times this payment will be made",KFe="Continue until cancelled",QFe="Payment :payment was emailed to :client",YFe="Payment :payment was emailed",XFe="Record not found",JFe="Minimum Payment Amount",ZFe="Client Initiated Payments",e6e="Support making a payment in the client portal without an invoice",t6e="Share Invoice/Quote Columns",n6e="CC Email",a6e="Payment Balance",s6e="Allow user to access the reports, data is limited to available permissions",o6e="Payment :payment was emailed to :client",i6e="One-Time Products",r6e="Optional One-Time Products",c6e="Required",l6e="Hidden",d6e="Payment Links",_6e="Payment Link",u6e="New Payment Link",m6e="Edit Payment Link",p6e="Successfully created payment link",h6e="Successfully updated payment link",f6e="Successfully archived payment link",g6e="Successfully deleted payment link",v6e="Successfully removed payment link",y6e="Successfully restored payment link",b6e="Search 1 Payment Link",w6e="Search :count Payment Links",k6e="Increase Prices",x6e="Update Prices",C6e="Successfully queued prices to be increased",S6e="Successfully queued prices to be updated",E6e="API Token",T6e="API Key",P6e="Endpoint",A6e="Not Billable",N6e="Allow Billable Task Items",I6e="Enable configuring which task items are billed",D6e="Show Task Item Description",$6e="Enable specifying task item descriptions",R6e="Email Record",V6e="Invoice Product Columns",q6e="Quote Product Columns",L6e="Vendors",O6e="Product Sales",M6e="User sales report for client/s :client from :start_date to :end_date",j6e="Customer balance report",F6e="Customer sales report",B6e="User sales report",z6e="Aged Receivable Detailed Report",U6e="Aged Receivable Summary Report",H6e="Taxable Amount",G6e="Tax Summary",W6e="OAuth / Mail",K6e="Preferences",Q6e="Analytics",Y6e="Reduced Rate",X6e="Tax All",J6e="Tax Selected",Z6e="version",eBe="Seller Subregion",tBe="Calculate Taxes",nBe="Automatically calculate taxes when saving invoices",aBe="Link Expenses",sBe="Converted Client Balance",oBe="Converted Payment Balance",iBe="Total Hours",rBe="Use +days to set the date in the future",cBe="More information ",lBe="here",dBe="Show Credits Table",_Be="Payment Manual",uBe="Tax Summary Report",mBe="Tax Category",pBe="Physical Goods",hBe="Digital Products",fBe="Services",gBe="Shipping",vBe="Tax Exempt",yBe="Late fee for invoice :invoice added on :date",bBe="Khmer",wBe="Routing ID",kBe="Enable E-Invoice",xBe="E-Invoice Type",CBe="Reduced Tax",SBe="Override Tax",EBe="Zero Rated",TBe="Reverse Tax",PBe="Successfully updated the tax category",ABe="Successfully updated the tax categories",NBe="Set Tax Category",IBe="Payment Manual",DBe="Expense Payment Type",$Be="Rename",RBe="Successfully renamed document",VBe="E-Invoice",qBe="Light/Dark Mode",LBe="Activities",OBe="Here are your company's most recent transactions:",MBe="Palestine",jBe="Taiwan",FBe="Duties",BBe="Order Number",zBe="Order",UBe="Total Invoices Outstanding",HBe="Recent Activity",GBe="Enable auto billing",WBe="Email :count invoices",KBe="Invoice Task Item Description",QBe="Add the item description to the invoice line items",YBe="Next Send Time",XBe="Successfully uploaded certificate",JBe="Certificate set",ZBe="Certificate not set",e9e="Passphrase set",t9e="Passphrase not set",n9e="Upload Certificate",a9e="Certificate Passphrase",s9e="Valid VAT Number",o9e="React Notification Links",i9e="Admin emails will contain links to the react application",r9e="Show Task Billable",c9e="Credit Item",l9e="Drop file here",d9e="Files",_9e="Camera",u9e="Gallery",m9e="Project Location",p9e="Add a payment gateway (ie. Stripe, WePay or PayPal) to accept online payments",h9e="Hungarian",f9e="Use your phone subscription settings to manage your plan",g9e="Item Tax3",v9e="Item Tax Rate 1",y9e="Item Tax Rate 2",b9e="Item Tax Rate 3",w9e="Buy Price",k9e="Macedonia",x9e="Admin Initiated Payments",C9e="Support entering a payment in the admin portal without an invoice",S9e="Paid Date",E9e="An email will be sent with the PDFs",T9e="Swazi Lilangeni",P9e="Income",A9e="Enter a value here if the total amount received was MORE than the invoice amount, or when recording a payment with no invoices. Otherwise this field should be left blank.",N9e="Vendor Phone",I9e="Mercado Pago",D9e="MyBank",$9e="Pay in 4",R9e="District",V9e="Region",q9e="County",L9e="Tax Details",O9e=":contact made payment :payment for invoice :invoice for :client",M9e=":user entered payment :payment for invoice :invoice for :client",j9e="Default Payment Type",F9e="Number precision",B9e="Controls the number of decimals supported in the interface",z9e="Tax Exempt",U9e="Drop files here",H9e="Upload Files",G9e="Download E-Invoice",W9e="Download E-Credit",K9e="Download E-Quote",Q9e="Intra-community triangular transaction",Y9e="Tax-free intra-community delivery",X9e="Please note that this supply is subject to reverse charge",J9e="Nicaraguan Córdoba",Z9e="Image",e8e="Other",t8e="Linked To",n8e="The file has been saved in :path",a8e="Successfully unlinked :count transactions",s8e="Successfully unlinked transaction",o8e="Allow user to access the dashboard, data is limited to available permissions",i8e="Successfully marked credits sent",r8e="Show Document Preview",c8e="Cash accounting",l8e="Click or drop files here",d8e="Set public",_8e="Set private",u8e="Individual",m8e="Business",p8e="Partnership",h8e="Trust",f8e="Charity",g8e="Government",v8e="Stock quantity",y8e="Vendor Contact",b8e="Unpaid",w8e="Paid",k8e="Note: this feature requires a Zip-Tax API key to lookup US sales tax by address",x8e="Cache Data",C8e="Unknown",S8e="Webhook Failure",E8e="Email Opened",T8e="Email Delivered",P8e="Log",A8e="Classification",N8e="Stock :quantity",I8e="Upcoming",D8e="Client Contact",$8e="Uncategorized",R8e="Login Notification",V8e="Sends an email notifying that a login has taken place.",q8e="Payment Refund Receipt # :number",L8e="Payment Receipt # :number",O8e="The template will be applied to following:",M8e="Run Template",j8e="Statement Design",F8e="Delivery Note Design",B8e="Payment Receipt Design",z8e="Payment Refund Design",U8e="Add the Chrome extension to manage your tasks",H8e="Watch Video",G8e="View Extension",W8e="Reactivate Email",K8e="Successfully reactivated email",Q8e="Enable using the design as a template",Y8e="Quarter",X8e="Item Description",J8e="Task Item",Z8e="Record State",eze="Save files to this folder",tze="Downloads Folder",nze="Invoiced Quotes",aze="Invoice Paid Quotes",sze="The downloads folder does not exist :value",oze="User Logged in Notification",ize="Send an email when logging in from a new location",rze="Payment Email To All Contacts",cze="Sends the payment email to all contacts when enabled",lze="Add Line",dze="Expense :expense notification sent to :contact",_ze="Confirmation of payment :amount sent to :vendor",uze="Payment processed for :amount dated :payment_date. <br>[Transaction Reference: :transaction_reference]",mze="Receipt",pze="Charges",hze="Email Report",fze="Payment Type Credit",gze="Payment Type Debit",vze="Send Emails To",yze="Primary Contact",bze="All Contacts",wze="Insert Below",kze="Bank account authentication. Selecting your institution to complete the request with your account credentials.",xze="An error has occurred",Cze="An unknown error has occurred! Reason:",Sze="Invalid Token",Eze="The provided token was invalid. Contact support for help, if this issue persists.",Tze="Missing Credentials",Pze="Invalid or missing credentials for Gocardless Bank Account Data. Contact support for help, if this issue persists.",Aze="Not Available",Nze="Feature unavailable, Enterprise Plan only.",Ize="Invalid Institution",Dze="The provided institution-id is invalid or no longer valid.",$ze="Invalid Reference",Rze="GoCardless did not provide a valid reference. Please run flow again and contact support, if this issue persists.",Vze="Invalid Requisition",qze="GoCardless did not provide a valid reference. Please run flow again and contact support, if this issue persists.",Lze="Not Ready",Oze="You called this site too early. Please finish authorization and refresh this page. Contact support for help, if this issue persists.",Mze="No Accounts selected",jze="The service has not returned any valid accounts. Consider restarting the flow.",Fze="Restart flow.",Bze="Return to application.",zze="Lao",Uze="Lao kip",Hze="Regions: USA, UK, Australia & India",Gze="Regions: Europe & UK",Wze="Select Provider",Kze="Requisition expired, please reauthenticate.",Qze="Access to bank account feeds has expired as set in End User Agreement. <br><br>Please log into Invoice Ninja and re-authenticate with your banks to continue receiving transactions.",Yze="Participant",Xze="Participant name",Jze="Client unsubscribed from emails.",Zze="Client :client has unsubscribed from your e-mails. The client needs to consent to receive future emails from you.",e7e="Resubscribe",t7e="Subscribe",n7e="You are currently subscribed and will continue to receive email communications.",a7e="You are currently not subscribed, and therefore, will not receive emails at this time.",s7e="We were unable to deliver Purchase Order :invoice to :contact. <br><br> :error",o7e="Unable to deliver Purchase Order :invoice",i7e="Display HTML version of entity when viewing on mobile",r7e="For improved visualization, displays a HTML version of the invoice/quote when viewing on mobile.",c7e="Please select an invoice or credit",l7e="Mobile Version",d7e="Venmo",_7e="MyBank",u7e="Pay Later",m7e="Local Domain",p7e="Verify Peer",h7e="Note: connecting an account requires a GoCardless/Nordigen API key",f7e="Accounts Receivable Detailed",g7e="Accounts Receivable Summary",v7e="Client Sales",y7e="User Sales",b7e="iFrame URL",w7e="User unsubscribed from emails :link",k7e="Out of stock",x7e=`Component ":step" requires at least one of it's dependencies (":dependencies") in the list.`,C7e='Component ":step" depends on ":dependency". Make component(s) order is correct.',S7e="You must include at least one of authentication methods.",E7e="Cart",T7e="Methods",P7e="Required fields form",A7e="Add step",N7e="Steps",I7e="The order of the steps is important. The first step should not depend on any other step. The second step should depend on the first step, and so on.",D7e="Other steps",$7e="Use Available Payments",R7e="Successfully sent email",V7e="Gateway Type",q7e="Would you like to save this import mapping as a template for future use?",L7e="Save Template Mapping",O7e="Checkout is enabled only for existing customers. Please login with existing account to checkout.",M7e="Checkout is enabled only for new customers. Please register a new account to checkout.",j7e="Auto bill standard invoices on the due date",F7e="Auto bill on send date OR due date (recurring invoices)",B7e="Apply any credit balances to payments prior to charging a payment method",z7e="Use unapplied payments",U7e="Apply any payment balances prior to charging a payment method",H7e="The number of days after the invoice date that payment is due",G7e="The default payment type to be used for payments",W7e="The number of days that the quote is valid for",K7e="The default expense payment type to be used",Q7e="Pay in 4",Y7e="Payment Provider",X7e="Set your email as the sending user",J7e="Purchase Order Items",Z7e="No data found in this CSV file",eUe="Accept Payments Online",tUe="View all payment gateways",nUe="Product cost",aUe="Duration in words",sUe="Upcoming Recurring Invoices",oUe="Shipping Country",iUe="Show table footer",rUe="Displays the totals in the footer of the table",cUe="Total Invoices",lUe="Add to group",dUe="Check Credentials",_Ue="Credentials are valid",uUe="E-Quote",mUe="E-Credit",pUe="E-Purchase Order",hUe="E-Quote Type",fUe="Please upgrade to unlock unlimited clients!",gUe="Download E-Purchase Order",vUe="We recommend using the new web app or the desktop app for the best performance",yUe="Rappen Rounding",bUe="Round amount to 5 cents",wUe="Assign group",kUe="Advanced Card Payments",xUe="EHLO domain (optional)",CUe="ie. 25,587,465",SUe="ie. smtp.gmail.com",EUe="Always show required fields form",TUe="Displays the required fields form always at checkout",PUe="Advanced Cards",AUe="Statement sent to :client",NUe="Invoice Net Amount",IUe="Round To Minutes",DUe="Task Rounding Direction",$Ue="Round task times up or down.",RUe="Direction",VUe="Round Up",qUe="Round Down",LUe="Round To Nearest",OUe="The interval to round the task to.",MUe="Successfully updated data",jUe="Bulk Update",FUe="Calculate",BUe="Sum",zUe="Money",UUe="Web App",HUe="Desktop App",GUe="Disconnected",WUe="Reconnect",KUe="E-Invoice Settings",QUe="Refund of your invoice via BTCPay",YUe="A refund intended for you has been issued. To claim it via BTCPay, please click on this link:",XUe="Mauritanian Ouguiya",JUe="Bhutan Ngultrum",ZUe="End Of Month",eHe="Merge E-Invoice and PDF",tHe="New task assignment [Task :task] [ :date ]",nHe="You have been assigned task :task <br><br> Description: :description <br><br> Client: :client",aHe="User :user entered note: :notes",sHe="Reminder: Quote :quote from :company",oHe="Reminder for quote :number for :amount",iHe="First Quote Reminder",rHe="Before the valid until date",cHe="After the valid until date",lHe="After the quote date",dHe="Remind Quote",_He="Tax currency is different from invoice currency",uHe="The invoice has already been imported on :date",mHe="Before the valid until",pHe="After the valid until",hHe="Task Assigned Notification",fHe="Send an email when a task is assigned",gHe="Invoices are locked at the end of the month",vHe="Referral URL",yHe="Add Comment",bHe="Successfully saved comment",wHe="Tickets",kHe="Successfully assigned group",xHe="Merge to PDF",CHe="Note: the latest version requires PHP :version",SHe="Automatically expand products table notes",EHe="Automatically expands the notes section within the products table to display more lines.",THe="Institution Number",PHe="Transit Number",AHe="Personal",NHe="Address Information",IHe="Enter the Information for the Bank Account",DHe="Account Holder Information",$He="Enter Information for the Account Holder",RHe="Customer Type",VHe="Process Date",qHe="Forever Free",LHe="Comments Only",OHe="Payment Balance On File",MHe="For more e-invoice settings please navigate :here",jHe="You need to stop the task before adding a new item.",FHe="XML File",BHe="One-Page Checkout",zHe="Enable the new single page payment flow",UHe="Applies To",HHe="Accept Purchase Order",GHe="Round To Seconds",WHe="Quote :number reminder 1 sent",KHe="Auto Bill succeeded for invoice :invoice",QHe="Auto Bill failed for invoice :invoice. :notes",YHe="EInvoice :invoice for :client was e-delivered. :notes",XHe="Payment Failed",JHe="SSL Host Override",ZHe="Upload Logo",eGe="Melilla",tGe="Ceuta",nGe="Vietnamese",aGe="Please note that the status of your invoice has been updated. We recommend refreshing the page to view the most current version.",sGe="You’re all caught up! No new notifications.",oGe="How to import data",iGe="Download example file",rGe="Inbound e-mail address",cGe="The inbound email address which accepts expense documents. ie. expense@invoiceninja.com",lGe="Expense Mailbox",dGe="Enables processing of documents such as receipts for expense reporting",_Ge="Allow Company Senders",uGe="Allows users within the company to send expense documents.",mGe="Allow Vendor Senders",pGe="Allows company vendors to send expense documents",hGe="Allow Client Senders",fGe="Allows clients to send expense documents",gGe="Inbound sender allow list",vGe="Comma separated list of emails that should be allowed to send emails for processing",yGe="Inbound sender banned list",bGe="Comma separate list of emails that are disallowed to send emails for processing",wGe="Allow All Senders",kGe="Allow anyone to send an expense email for processing",xGe="Quick Actions",CGe="Logs out all users and requires all active users to reauthenticate.",SGe="Updated Records",EGe={organization:YS,name:XS,website:JS,work_phone:ZS,address:e1,address1:t1,address2:n1,city:a1,state:s1,postal_code:o1,country_id:i1,contacts:r1,first_name:c1,last_name:l1,phone:d1,email:_1,additional_info:u1,payment_terms:m1,currency_id:p1,size_id:h1,industry_id:f1,private_notes:g1,invoice:v1,client:y1,invoice_date:b1,due_date:w1,invoice_number:k1,invoice_number_short:x1,po_number:C1,po_number_short:S1,frequency_id:E1,discount:T1,taxes:P1,tax:A1,item:N1,description:I1,unit_cost:D1,quantity:$1,line_total:R1,subtotal:V1,net_subtotal:q1,paid_to_date:L1,balance_due:O1,invoice_design_id:M1,terms:j1,your_invoice:F1,remove_contact:B1,add_contact:z1,create_new_client:U1,edit_client_details:H1,enable:G1,learn_more:W1,manage_rates:K1,note_to_client:Q1,invoice_terms:Y1,save_as_default_terms:X1,download_pdf:J1,pay_now:Z1,save_invoice:e0,clone_invoice:t0,archive_invoice:n0,delete_invoice:a0,email_invoice:s0,enter_payment:o0,tax_rates:i0,rate:r0,settings:c0,enable_invoice_tax:l0,enable_line_item_tax:d0,dashboard:_0,dashboard_totals_in_all_currencies_help:u0,clients:m0,invoices:p0,payments:h0,credits:f0,history:g0,search:v0,sign_up:y0,guest:b0,company_details:w0,online_payments:k0,notifications:x0,import_export:C0,done:S0,save:E0,create:T0,upload:P0,import:"Import",download:A0,cancel:N0,close:I0,provide_email:D0,powered_by:$0,no_items:R0,recurring_invoices:V0,recurring_help:q0,recurring_quotes:L0,in_total_revenue:O0,billed_client:M0,billed_clients:j0,active_client:F0,active_clients:B0,invoices_past_due:z0,upcoming_invoices:U0,average_invoice:H0,archive:G0,delete:"Delete",archive_client:W0,delete_client:K0,archive_payment:Q0,delete_payment:Y0,archive_credit:X0,delete_credit:J0,show_archived_deleted:Z0,filter:eE,new_client:tE,new_invoice:nE,new_payment:aE,new_credit:sE,contact:oE,date_created:iE,last_login:rE,balance:cE,action:lE,status:dE,invoice_total:_E,frequency:uE,range:mE,start_date:pE,end_date:hE,transaction_reference:fE,method:gE,payment_amount:vE,payment_date:yE,credit_amount:bE,credit_balance:wE,credit_date:kE,empty_table:xE,select:CE,edit_client:SE,edit_invoice:EE,create_invoice:TE,enter_credit:PE,last_logged_in:AE,details:NE,standing:IE,credit:DE,activity:$E,date:RE,message:VE,adjustment:qE,are_you_sure:LE,payment_type_id:OE,amount:ME,work_email:jE,language_id:FE,timezone_id:BE,date_format_id:zE,datetime_format_id:UE,users:HE,localization:GE,remove_logo:WE,logo_help:KE,payment_gateway:QE,gateway_id:YE,email_notifications:XE,email_viewed:JE,email_paid:ZE,site_updates:eT,custom_messages:tT,default_email_footer:nT,select_file:aT,first_row_headers:sT,column:oT,sample:iT,import_to:rT,client_will_create:cT,clients_will_create:lT,email_settings:dT,client_view_styling:_T,pdf_email_attachment:uT,custom_css:mT,import_clients:pT,csv_file:hT,export_clients:fT,created_client:gT,created_clients:vT,updated_settings:yT,removed_logo:bT,sent_message:wT,invoice_error:kT,limit_clients:xT,payment_error:CT,registration_required:ST,confirmation_required:ET,updated_client:TT,archived_client:PT,archived_clients:AT,deleted_client:NT,deleted_clients:IT,updated_invoice:DT,created_invoice:$T,cloned_invoice:RT,emailed_invoice:VT,and_created_client:qT,archived_invoice:LT,archived_invoices:OT,deleted_invoice:MT,deleted_invoices:jT,created_payment:FT,created_payments:BT,archived_payment:zT,archived_payments:UT,deleted_payment:HT,deleted_payments:GT,applied_payment:WT,created_credit:KT,archived_credit:QT,archived_credits:YT,deleted_credit:XT,deleted_credits:JT,imported_file:ZT,updated_vendor:eP,created_vendor:tP,archived_vendor:nP,archived_vendors:aP,deleted_vendor:sP,deleted_vendors:oP,confirmation_subject:iP,confirmation_header:rP,confirmation_message:cP,invoice_subject:lP,invoice_message:dP,payment_subject:_P,payment_message:uP,email_salutation:mP,email_signature:pP,email_from:hP,invoice_link_message:fP,notification_invoice_paid_subject:gP,notification_invoice_sent_subject:vP,notification_invoice_viewed_subject:yP,notification_invoice_paid:bP,notification_invoice_sent:wP,notification_invoice_viewed:kP,stripe_payment_text:xP,stripe_payment_text_without_invoice:CP,reset_password:SP,secure_payment:EP,card_number:TP,expiration_month:PP,expiration_year:AP,cvv:NP,logout:IP,sign_up_to_save:DP,agree_to_terms:$P,terms_of_service:RP,email_taken:VP,working:qP,success:LP,success_message:OP,erase_data:MP,password:jP,pro_plan_product:FP,unsaved_changes:BP,custom_fields:zP,company_fields:UP,client_fields:HP,field_label:GP,field_value:WP,edit:KP,set_name:QP,view_as_recipient:YP,product_library:XP,product:JP,products:ZP,fill_products:e2,fill_products_help:t2,update_products:n2,update_products_help:a2,create_product:s2,edit_product:o2,archive_product:i2,updated_product:r2,created_product:c2,archived_product:l2,pro_plan_custom_fields:d2,advanced_settings:_2,pro_plan_advanced_settings:u2,invoice_design:m2,specify_colors:p2,specify_colors_label:h2,chart_builder:f2,ninja_email_footer:g2,go_pro:v2,quote:y2,quotes:b2,quote_number:w2,quote_number_short:k2,quote_date:x2,quote_total:C2,your_quote:S2,total:E2,clone:T2,new_quote:P2,create_quote:A2,edit_quote:N2,archive_quote:I2,delete_quote:D2,save_quote:$2,email_quote:R2,clone_quote:V2,convert_to_invoice:q2,view_invoice:L2,view_client:O2,view_quote:M2,updated_quote:j2,created_quote:F2,cloned_quote:B2,emailed_quote:z2,archived_quote:U2,archived_quotes:H2,deleted_quote:G2,deleted_quotes:W2,converted_to_invoice:K2,quote_subject:Q2,quote_message:Y2,quote_link_message:X2,notification_quote_sent_subject:J2,notification_quote_viewed_subject:Z2,notification_quote_sent:eA,notification_quote_viewed:tA,session_expired:nA,invoice_fields:aA,invoice_options:sA,hide_paid_to_date:oA,hide_paid_to_date_help:iA,charge_taxes:rA,user_management:cA,add_user:lA,send_invite:dA,sent_invite:_A,updated_user:uA,invitation_message:mA,register_to_add_user:pA,user_state:hA,edit_user:fA,delete_user:gA,active:vA,pending:yA,deleted_user:bA,confirm_email_invoice:wA,confirm_email_quote:kA,confirm_recurring_email_invoice:xA,confirm_recurring_email_invoice_not_sent:CA,cancel_account:SA,cancel_account_message:EA,go_back:TA,data_visualizations:PA,sample_data:AA,hide:NA,new_version_available:IA,invoice_settings:DA,invoice_number_prefix:$A,invoice_number_counter:RA,quote_number_prefix:VA,quote_number_counter:qA,share_invoice_counter:LA,invoice_issued_to:OA,invalid_counter:MA,mark_sent:jA,more_designs:FA,more_designs_title:BA,more_designs_cloud_header:zA,more_designs_cloud_text:UA,more_designs_self_host_text:HA,buy:GA,bought_designs:WA,sent:KA,vat_number:QA,payment_title:YA,payment_cvv:XA,payment_footer1:JA,payment_footer2:ZA,id_number:eN,white_label_link:tN,white_label_header:nN,bought_white_label:aN,white_labeled:sN,restore:oN,restore_invoice:iN,restore_quote:rN,restore_client:cN,restore_credit:lN,restore_payment:dN,restored_invoice:_N,restored_quote:uN,restored_client:mN,restored_payment:pN,restored_credit:hN,reason_for_canceling:fN,discount_percent:gN,discount_amount:vN,invoice_history:yN,quote_history:bN,current_version:wN,select_version:kN,view_history:xN,edit_payment:CN,updated_payment:SN,deleted:EN,restore_user:TN,restored_user:PN,show_deleted_users:AN,email_templates:NN,invoice_email:IN,payment_email:DN,quote_email:$N,reset_all:RN,approve:VN,token_billing_type_id:qN,token_billing_1:LN,token_billing_2:ON,token_billing_3:MN,token_billing_4:jN,token_billing_checkbox:FN,view_in_gateway:BN,use_card_on_file:zN,edit_payment_details:UN,token_billing:HN,token_billing_secure:GN,support:WN,contact_information:KN,"256_encryption":"256-Bit Encryption",amount_due:QN,billing_address:YN,billing_method:XN,order_overview:JN,match_address:ZN,click_once:eI,invoice_footer:tI,save_as_default_footer:nI,token_management:aI,tokens:sI,add_token:oI,show_deleted_tokens:iI,deleted_token:rI,created_token:cI,updated_token:lI,edit_token:dI,delete_token:_I,token:uI,add_gateway:mI,delete_gateway:pI,edit_gateway:hI,updated_gateway:fI,created_gateway:gI,deleted_gateway:vI,pay_with_paypal:yI,pay_with_card:bI,change_password:wI,current_password:kI,new_password:xI,confirm_password:CI,password_error_incorrect:SI,password_error_invalid:EI,updated_password:TI,api_tokens:PI,users_and_tokens:AI,account_login:NI,recover_password:II,forgot_password:DI,email_address:$I,lets_go:RI,password_recovery:VI,send_email:qI,set_password:LI,converted:OI,email_approved:MI,notification_quote_approved_subject:jI,notification_quote_approved:FI,resend_confirmation:BI,confirmation_resent:zI,payment_type_credit_card:UI,payment_type_paypal:HI,payment_type_bitcoin:GI,payment_type_gocardless:WI,knowledge_base:KI,partial:QI,partial_remaining:YI,more_fields:XI,less_fields:JI,client_name:ZI,pdf_settings:e3,product_settings:t3,auto_wrap:n3,duplicate_post:a3,view_documentation:s3,app_title:o3,app_description:i3,rows:r3,www:c3,logo:l3,subdomain:d3,provide_name_or_email:_3,charts_and_reports:u3,chart:m3,report:p3,group_by:h3,paid:f3,enable_report:g3,enable_chart:v3,totals:y3,run:b3,export:"Export",documentation:w3,zapier:k3,recurring:x3,last_invoice_sent:C3,processed_updates:S3,tasks:E3,new_task:T3,start_time:P3,created_task:A3,updated_task:N3,edit_task:I3,clone_task:D3,archive_task:$3,restore_task:R3,delete_task:V3,stop_task:q3,time:L3,start:O3,stop:M3,now:j3,timer:F3,manual:B3,date_and_time:z3,second:U3,seconds:H3,minute:G3,minutes:W3,hour:K3,hours:Q3,task_details:Y3,duration:X3,time_log:J3,end_time:Z3,end:eD,invoiced:tD,logged:nD,running:aD,task_error_multiple_clients:sD,task_error_running:oD,task_error_invoiced:iD,restored_task:rD,archived_task:cD,archived_tasks:lD,deleted_task:dD,deleted_tasks:_D,create_task:uD,stopped_task:mD,invoice_task:pD,invoice_labels:hD,prefix:fD,counter:gD,payment_type_dwolla:vD,partial_value:yD,more_actions:bD,pro_plan_title:wD,pro_plan_call_to_action:kD,pro_plan_feature1:xD,pro_plan_feature2:CD,pro_plan_feature3:SD,pro_plan_feature4:ED,pro_plan_feature5:TD,pro_plan_feature6:PD,pro_plan_feature7:AD,pro_plan_feature8:ND,resume:ID,break_duration:DD,edit_details:$D,work:RD,timezone_unset:VD,click_here:qD,email_receipt:LD,created_payment_emailed_client:OD,add_company:MD,untitled:jD,new_company:FD,associated_accounts:BD,unlinked_account:zD,login:UD,or:HD,email_error:GD,confirm_recurring_timing:WD,confirm_recurring_timing_not_sent:KD,unlink_account:QD,unlink:YD,show_address:XD,show_address_help:JD,update_address:ZD,update_address_help:e$,times:t$,set_now:n$,dark_mode:a$,dark_mode_help:s$,add_to_invoice:o$,create_new_invoice:i$,task_errors:r$,from:c$,to:l$,font_size:d$,primary_color:_$,secondary_color:u$,customize_design:m$,content:p$,styles:h$,defaults:f$,margins:g$,header:v$,footer:y$,custom:b$,invoice_to:w$,invoice_no:k$,quote_no:x$,recent_payments:C$,outstanding:S$,manage_companies:E$,total_revenue:T$,current_user:P$,new_recurring_invoice:A$,recurring_invoice:N$,new_recurring_quote:I$,recurring_quote:D$,created_by_invoice:$$,primary_user:R$,help:V$,playground:q$,support_forum:L$,invoice_due_date:O$,quote_due_date:M$,valid_until:j$,reset_terms:F$,reset_footer:B$,invoice_sent:z$,invoices_sent:U$,status_draft:H$,status_sent:G$,status_viewed:W$,status_partial:K$,status_paid:Q$,status_unpaid:Y$,status_all:X$,show_line_item_tax:J$,auto_bill:Z$,military_time:eR,last_sent:tR,reminder_emails:nR,quote_reminder_emails:aR,templates_and_reminders:sR,subject:oR,body:iR,first_reminder:rR,second_reminder:cR,third_reminder:lR,num_days_reminder:dR,reminder_subject:_R,reset:uR,invoice_not_found:mR,referral_program:pR,referral_code:hR,last_sent_on:fR,page_expire:gR,upcoming_quotes:vR,expired_quotes:yR,sign_up_using:bR,invalid_credentials:wR,show_all_options:kR,user_details:xR,oneclick_login:CR,disable:SR,invoice_quote_number:ER,invoice_charges:TR,notification_invoice_bounced:PR,notification_invoice_bounced_subject:AR,notification_quote_bounced:NR,notification_quote_bounced_subject:IR,custom_invoice_link:DR,total_invoiced:$R,open_balance:RR,verify_email:VR,basic_settings:qR,pro:LR,gateways:OR,next_send_on:MR,no_longer_running:jR,general_settings:FR,customize:BR,oneclick_login_help:zR,referral_code_help:UR,enable_with_stripe:HR,tax_settings:GR,create_tax_rate:WR,updated_tax_rate:KR,created_tax_rate:QR,edit_tax_rate:YR,archive_tax_rate:XR,archived_tax_rate:JR,default_tax_rate_id:ZR,tax_rate:eV,recurring_hour:tV,pattern:nV,pattern_help_title:aV,pattern_help_1:sV,pattern_help_2:oV,pattern_help_3:iV,see_options:rV,invoice_counter:cV,quote_counter:lV,type:dV,activity_1:_V,activity_2:uV,activity_3:mV,activity_4:pV,activity_5:hV,activity_6:fV,activity_7:gV,activity_8:vV,activity_9:yV,activity_10:bV,activity_11:wV,activity_12:kV,activity_13:xV,activity_14:CV,activity_15:SV,activity_16:EV,activity_17:TV,activity_18:PV,activity_19:AV,activity_20:NV,activity_21:IV,activity_22:DV,activity_23:$V,activity_24:RV,activity_25:VV,activity_26:qV,activity_27:LV,activity_28:OV,activity_29:MV,activity_30:jV,activity_31:FV,activity_32:BV,activity_33:zV,activity_34:UV,activity_35:HV,activity_36:GV,activity_37:WV,activity_42:KV,activity_43:QV,activity_44:YV,activity_45:XV,activity_46:JV,activity_47:ZV,activity_48:e4,activity_49:t4,activity_50:n4,activity_51:a4,activity_52:s4,activity_53:o4,activity_54:i4,activity_55:r4,activity_56:c4,payment:l4,system:d4,signature:_4,default_messages:u4,quote_terms:m4,default_quote_terms:p4,default_invoice_terms:h4,default_invoice_footer:f4,quote_footer:g4,free:v4,quote_is_approved:y4,apply_credit:b4,system_settings:w4,archive_token:k4,archived_token:x4,archive_user:C4,archived_user:S4,archive_account_gateway:E4,archived_account_gateway:T4,archive_recurring_invoice:P4,archived_recurring_invoice:A4,delete_recurring_invoice:N4,deleted_recurring_invoice:I4,restore_recurring_invoice:D4,restored_recurring_invoice:$4,archive_recurring_quote:R4,archived_recurring_quote:V4,delete_recurring_quote:q4,deleted_recurring_quote:L4,restore_recurring_quote:O4,restored_recurring_quote:M4,archived:j4,untitled_account:F4,before:B4,after:z4,reset_terms_help:U4,reset_footer_help:H4,export_data:G4,user:W4,country:K4,include:Q4,logo_too_large:Y4,import_freshbooks:X4,import_data:J4,source:Z4,csv:eq,client_file:tq,invoice_file:nq,task_file:aq,no_mapper:sq,invalid_csv_header:oq,client_portal:iq,admin:rq,disabled:cq,show_archived_users:lq,notes:dq,invoice_will_create:_q,invoices_will_create:uq,failed_to_import:mq,publishable_key:pq,secret_key:hq,missing_publishable_key:fq,email_design:gq,due_by:vq,enable_email_markup:yq,enable_email_markup_help:bq,template_help_title:wq,template_help_1:kq,email_design_id:xq,email_design_help:Cq,plain:Sq,light:Eq,dark:Tq,industry_help:Pq,subdomain_help:Aq,website_help:Nq,invoice_number_help:Iq,quote_number_help:Dq,custom_client_fields_helps:$q,custom_account_fields_helps:Rq,custom_invoice_fields_helps:Vq,custom_invoice_charges_helps:qq,token_expired:Lq,invoice_link:Oq,button_confirmation_message:Mq,confirm:jq,email_preferences:Fq,created_invoices:Bq,next_invoice_number:zq,next_quote_number:Uq,days_before:Hq,days_after:Gq,field_due_date:Wq,field_invoice_date:Kq,schedule:Qq,email_designs:Yq,assigned_when_sent:Xq,white_label_purchase_link:Jq,expense:Zq,expenses:eL,new_expense:tL,new_vendor:nL,payment_terms_net:aL,vendor:sL,edit_vendor:oL,archive_vendor:iL,delete_vendor:rL,view_vendor:cL,deleted_expense:lL,archived_expense:dL,deleted_expenses:_L,archived_expenses:uL,expense_amount:mL,expense_balance:pL,expense_date:hL,expense_should_be_invoiced:fL,public_notes:gL,invoice_amount:vL,exchange_rate:yL,yes:bL,no:wL,should_be_invoiced:kL,view_expense:xL,edit_expense:CL,archive_expense:SL,delete_expense:EL,view_expense_num:TL,updated_expense:PL,created_expense:AL,enter_expense:NL,view:IL,restore_expense:DL,invoice_expense:$L,expense_error_multiple_clients:RL,expense_error_invoiced:VL,convert_currency:qL,num_days:LL,create_payment_term:OL,edit_payment_terms:ML,edit_payment_term:jL,archive_payment_term:FL,recurring_due_dates:BL,recurring_due_date_help:zL,due:UL,next_due_on:HL,use_client_terms:GL,day_of_month:WL,last_day_of_month:KL,day_of_week_after:QL,sunday:YL,monday:XL,tuesday:JL,wednesday:ZL,thursday:eO,friday:tO,saturday:nO,header_font_id:aO,body_font_id:sO,color_font_help:oO,live_preview:iO,invalid_mail_config:rO,invoice_message_button:cO,quote_message_button:lO,payment_message_button:dO,payment_type_direct_debit:_O,bank_accounts:uO,add_bank_account:mO,setup_account:pO,import_expenses:hO,bank_id:fO,integration_type:gO,updated_bank_account:vO,edit_bank_account:yO,archive_bank_account:bO,archived_bank_account:wO,created_bank_account:kO,validate_bank_account:xO,bank_password_help:CO,bank_password_warning:SO,username:EO,account_number:TO,account_name:PO,bank_account_error:AO,status_approved:NO,quote_settings:IO,auto_convert_quote:DO,auto_convert_quote_help:$O,validate:RO,info:VO,imported_expenses:qO,iframe_url_help3:LO,expense_error_multiple_currencies:OO,expense_error_mismatch_currencies:MO,trello_roadmap:jO,header_footer:FO,first_page:BO,all_pages:zO,last_page:UO,all_pages_header:HO,all_pages_footer:GO,invoice_currency:WO,enable_https:KO,quote_issued_to:QO,show_currency_code:YO,free_year_message:XO,trial_message:JO,trial_footer:ZO,trial_footer_last_day:eM,trial_call_to_action:tM,trial_success:nM,overdue:aM,white_label_text:sM,user_email_footer:oM,reset_password_footer:iM,limit_users:rM,more_designs_self_host_header:cM,old_browser:lM,newer_browser:dM,white_label_custom_css:_M,pro_plan_remove_logo:uM,pro_plan_remove_logo_link:mM,invitation_status_sent:pM,invitation_status_opened:hM,invitation_status_viewed:fM,email_error_inactive_client:gM,email_error_inactive_contact:vM,email_error_inactive_invoice:yM,email_error_inactive_proposal:bM,email_error_user_unregistered:wM,email_error_user_unconfirmed:kM,email_error_invalid_contact_email:xM,navigation:CM,list_invoices:SM,list_clients:EM,list_quotes:TM,list_tasks:PM,list_expenses:AM,list_recurring_invoices:NM,list_payments:IM,list_credits:DM,tax_name:$M,report_settings:RM,new_user:VM,new_product:qM,new_tax_rate:LM,invoiced_amount:OM,invoice_item_fields:MM,custom_invoice_item_fields_help:jM,recurring_invoice_number:FM,recurring_invoice_number_prefix_help:BM,enable_portal_password:zM,enable_portal_password_help:UM,send_portal_password:HM,send_portal_password_help:GM,expired:WM,invalid_card_number:KM,invalid_expiry:QM,invalid_cvv:YM,cost:XM,create_invoice_for_sample:JM,owner:ZM,administrator:e5,administrator_help:t5,user_create_all:n5,user_view_all:a5,user_edit_all:s5,partial_due:o5,restore_vendor:i5,restored_vendor:r5,restored_expense:c5,permissions:l5,create_all_help:d5,view_all_help:_5,edit_all_help:u5,view_payment:m5,january:p5,february:h5,march:f5,april:g5,may:v5,june:y5,july:b5,august:w5,september:k5,october:x5,november:C5,december:S5,documents_header:E5,email_documents_header:T5,email_documents_example_1:P5,email_documents_example_2:A5,quote_documents:N5,invoice_documents:I5,expense_documents:D5,invoice_embed_documents:$5,invoice_embed_documents_help:R5,document_email_attachment:V5,ubl_email_attachment:q5,download_documents:L5,documents_from_expenses:O5,dropzone_default_message:M5,dropzone_default_message_disabled:j5,dropzone_fallback_message:F5,dropzone_fallback_text:B5,dropzone_file_too_big:z5,dropzone_invalid_file_type:U5,dropzone_response_error:H5,dropzone_cancel_upload:G5,dropzone_cancel_upload_confirmation:W5,dropzone_remove_file:K5,documents:Q5,document_date:Y5,document_size:X5,enable_client_portal:J5,enable_client_portal_help:Z5,enable_client_portal_dashboard:ej,enable_client_portal_dashboard_help:tj,account_management:nj,plan_status:aj,plan_upgrade:sj,plan_change:oj,pending_change_to:ij,plan_changes_to:rj,plan_term_changes_to:cj,cancel_plan_change:lj,plan:dj,expires:_j,renews:uj,plan_expired:mj,trial_expired:pj,never:hj,plan_free:fj,plan_pro:gj,plan_enterprise:vj,plan_white_label:yj,plan_free_self_hosted:bj,plan_trial:wj,plan_term:kj,plan_term_monthly:xj,plan_term_yearly:Cj,plan_term_month:Sj,plan_term_year:Ej,plan_price_monthly:Tj,plan_price_yearly:Pj,updated_plan:Aj,plan_paid:Nj,plan_started:Ij,plan_expires:Dj,white_label_button:$j,pro_plan_year_description:Rj,pro_plan_month_description:Vj,enterprise_plan_product:qj,enterprise_plan_year_description:Lj,enterprise_plan_month_description:Oj,plan_credit_product:Mj,plan_credit_description:jj,plan_pending_monthly:Fj,plan_refunded:Bj,page_size:zj,live_preview_disabled:Uj,invoice_number_padding:Hj,preview:Gj,list_vendors:Wj,add_users_not_supported:Kj,enterprise_plan_features:Qj,return_to_app:Yj,refund_payment:Xj,refund_max:Jj,refund:Zj,are_you_sure_refund:eF,status_pending:tF,status_completed:nF,status_failed:aF,status_partially_refunded:sF,status_partially_refunded_amount:oF,status_refunded:iF,status_voided:rF,refunded_payment:cF,activity_39:lF,activity_40:dF,card_expiration:_F,card_creditcardother:uF,card_americanexpress:mF,card_carteblanche:pF,card_unionpay:hF,card_diners:fF,card_discover:gF,card_jcb:vF,card_laser:yF,card_maestro:bF,card_mastercard:wF,card_solo:kF,card_switch:xF,card_visacard:CF,card_ach:SF,payment_type_stripe:EF,ach:TF,enable_ach:PF,stripe_ach_help:AF,ach_disabled:NF,plaid:IF,client_id:DF,secret:$F,public_key:RF,plaid_optional:VF,plaid_environment_help:qF,other_providers:LF,country_not_supported:OF,invalid_routing_number:MF,invalid_account_number:jF,account_number_mismatch:FF,missing_account_holder_type:BF,missing_account_holder_name:zF,routing_number:UF,confirm_account_number:HF,individual_account:GF,company_account:WF,account_holder_name:KF,add_account:QF,payment_methods:YF,complete_verification:XF,verification_amount1:JF,verification_amount2:ZF,payment_method_verified:e6,verification_failed:t6,remove_payment_method:n6,confirm_remove_payment_method:a6,remove:s6,payment_method_removed:o6,bank_account_verification_help:i6,bank_account_verification_next_steps:r6,unknown_bank:c6,ach_verification_delay_help:l6,add_credit_card:d6,payment_method_added:_6,use_for_auto_bill:u6,used_for_auto_bill:m6,payment_method_set_as_default:p6,activity_41:h6,webhook_url:f6,stripe_webhook_help:g6,stripe_webhook_help_link_text:v6,gocardless_webhook_help_link_text:y6,payment_method_error:b6,notification_invoice_payment_failed_subject:w6,notification_invoice_payment_failed:k6,link_with_plaid:x6,link_manually:C6,secured_by_plaid:S6,plaid_linked_status:E6,add_payment_method:T6,account_holder_type:P6,ach_authorization:A6,ach_authorization_required:N6,off:I6,opt_in:D6,opt_out:$6,always:R6,opted_out:V6,opted_in:q6,manage_auto_bill:L6,enabled:O6,paypal:M6,braintree_enable_paypal:j6,braintree_paypal_disabled_help:F6,braintree_paypal_help:B6,braintree_paypal_help_link_text:z6,token_billing_braintree_paypal:U6,add_paypal_account:H6,no_payment_method_specified:G6,chart_type:W6,format:K6,import_ofx:Q6,ofx_file:Y6,ofx_parse_failed:X6,wepay:J6,sign_up_with_wepay:Z6,use_another_provider:eB,company_name:tB,wepay_company_name_help:nB,wepay_description_help:aB,wepay_tos_agree:sB,wepay_tos_link_text:oB,resend_confirmation_email:iB,manage_account:rB,action_required:cB,finish_setup:lB,created_wepay_confirmation_required:dB,switch_to_wepay:_B,switch:"Switch",restore_account_gateway:uB,restored_account_gateway:mB,united_states:pB,canada:hB,accept_debit_cards:fB,debit_cards:gB,warn_start_date_changed:vB,warn_start_date_changed_not_sent:yB,original_start_date:bB,new_start_date:wB,security:kB,see_whats_new:xB,wait_for_upload:CB,upgrade_for_permissions:SB,enable_second_tax_rate:EB,payment_file:TB,expense_file:PB,product_file:AB,import_products:NB,products_will_create:IB,product_key:DB,created_products:$B,export_help:RB,selfhost_export_help:VB,JSON_file:qB,view_dashboard:LB,client_session_expired:OB,client_session_expired_message:MB,auto_bill_notification:jB,auto_bill_payment_method_bank_transfer:FB,auto_bill_payment_method_credit_card:BB,auto_bill_payment_method_paypal:zB,auto_bill_notification_placeholder:UB,payment_settings:HB,on_send_date:GB,on_due_date:WB,auto_bill_ach_date_help:KB,warn_change_auto_bill:QB,bank_account:YB,payment_processed_through_wepay:XB,privacy_policy:JB,ach_email_prompt:ZB,verification_pending:e9,update_font_cache:t9,more_options:n9,credit_card:a9,bank_transfer:s9,no_transaction_reference:o9,use_bank_on_file:i9,auto_bill_email_message:r9,bitcoin:c9,gocardless:l9,added_on:d9,failed_remove_payment_method:_9,gateway_exists:u9,manual_entry:m9,start_of_week:p9,freq_inactive:h9,freq_daily:f9,freq_weekly:g9,freq_biweekly:v9,freq_two_weeks:y9,freq_four_weeks:b9,freq_monthly:w9,freq_three_months:k9,freq_four_months:x9,freq_six_months:C9,freq_annually:S9,freq_two_years:E9,"payment_type_Apply Credit":"Apply Credit","payment_type_Bank Transfer":"Bank Transfer",payment_type_Cash:T9,payment_type_Debit:P9,payment_type_ACH:A9,"payment_type_Visa Card":"Visa Card",payment_type_MasterCard:N9,"payment_type_American Express":"American Express","payment_type_Discover Card":"Discover Card","payment_type_Diners Card":"Diners Card",payment_type_EuroCard:I9,payment_type_Nova:D9,"payment_type_Credit Card Other":"Credit Card Other",payment_type_PayPal:$9,"payment_type_Google Wallet":"Google Wallet",payment_type_Check:R9,"payment_type_Carte Blanche":"Carte Blanche",payment_type_UnionPay:V9,payment_type_JCB:q9,payment_type_Laser:L9,payment_type_Maestro:O9,payment_type_Solo:M9,payment_type_Switch:j9,payment_type_iZettle:F9,payment_type_Swish:B9,payment_type_Alipay:z9,payment_type_Sofort:U9,payment_type_SEPA:H9,payment_type_Bitcoin:G9,payment_type_GoCardless:W9,payment_type_Zelle:K9,country_Afghanistan:Q9,country_Albania:Y9,country_Antarctica:X9,country_Algeria:J9,"country_American Samoa":"American Samoa",country_Andorra:Z9,country_Angola:e8,"country_Antigua and Barbuda":"Antigua and Barbuda",country_Azerbaijan:t8,country_Argentina:n8,country_Australia:a8,country_Austria:s8,country_Bahamas:o8,country_Bahrain:i8,country_Bangladesh:r8,country_Armenia:c8,country_Barbados:l8,country_Belgium:d8,country_Bermuda:_8,country_Bhutan:u8,"country_Bolivia, Plurinational State of":"Bolivia, Plurinational State of","country_Bosnia and Herzegovina":"Bosnia and Herzegovina",country_Botswana:m8,"country_Bouvet Island":"Bouvet Island",country_Brazil:p8,country_Belize:h8,"country_British Indian Ocean Territory":"British Indian Ocean Territory","country_Solomon Islands":"Solomon Islands","country_Virgin Islands, British":"Virgin Islands, British","country_Brunei Darussalam":"Brunei Darussalam",country_Bulgaria:f8,country_Myanmar:g8,country_Burundi:v8,country_Belarus:y8,country_Cambodia:b8,country_Cameroon:w8,country_Canada:k8,"country_Cape Verde":"Cape Verde","country_Cayman Islands":"Cayman Islands","country_Central African Republic":"Central African Republic","country_Sri Lanka":"Sri Lanka",country_Chad:x8,country_Chile:C8,country_China:S8,"country_Taiwan, Province of China":"Taiwan, Province of China","country_Christmas Island":"Christmas Island","country_Cocos (Keeling) Islands":"Cocos (Keeling) Islands",country_Colombia:E8,country_Comoros:T8,country_Mayotte:P8,country_Congo:A8,"country_Congo, the Democratic Republic of the":"Congo, the Democratic Republic of the","country_Cook Islands":"Cook Islands","country_Costa Rica":"Costa Rica",country_Croatia:N8,country_Cuba:I8,country_Cyprus:D8,"country_Czech Republic":"Czech Republic",country_Benin:$8,country_Denmark:R8,country_Dominica:V8,"country_Dominican Republic":"Dominican Republic",country_Ecuador:q8,"country_El Salvador":"El Salvador","country_Equatorial Guinea":"Equatorial Guinea",country_Ethiopia:L8,country_Eritrea:O8,country_Estonia:M8,"country_Faroe Islands":"Faroe Islands","country_Falkland Islands (Malvinas)":"Falkland Islands (Malvinas)","country_South Georgia and the South Sandwich Islands":"South Georgia and the South Sandwich Islands",country_Fiji:j8,country_Finland:F8,"country_Åland Islands":"Åland Islands",country_France:B8,"country_French Guiana":"French Guiana","country_French Polynesia":"French Polynesia","country_French Southern Territories":"French Southern Territories",country_Djibouti:z8,country_Gabon:U8,country_Georgia:H8,country_Gambia:G8,"country_Palestinian Territory, Occupied":"Palestinian Territory, Occupied",country_Germany:W8,country_Ghana:K8,country_Gibraltar:Q8,country_Kiribati:Y8,country_Greece:X8,country_Greenland:J8,country_Grenada:Z8,country_Guadeloupe:ez,country_Guam:tz,country_Guatemala:nz,country_Guinea:az,country_Guyana:sz,country_Haiti:oz,"country_Heard Island and McDonald Islands":"Heard Island and McDonald Islands","country_Holy See (Vatican City State)":"Holy See (Vatican City State)",country_Honduras:iz,"country_Hong Kong":"Hong Kong",country_Hungary:rz,country_Iceland:cz,country_India:lz,country_Indonesia:dz,"country_Iran, Islamic Republic of":"Iran, Islamic Republic of",country_Iraq:_z,country_Ireland:uz,country_Israel:mz,country_Italy:pz,"country_Côte d'Ivoire":"Côte d'Ivoire",country_Jamaica:hz,country_Japan:fz,country_Kazakhstan:gz,country_Jordan:vz,country_Kenya:yz,"country_Korea, Democratic People's Republic of":"Korea, Democratic People's Republic of","country_Korea, Republic of":"Korea, Republic of",country_Kuwait:bz,country_Kyrgyzstan:wz,"country_Lao People's Democratic Republic":"Lao People's Democratic Republic",country_Lebanon:kz,country_Lesotho:xz,country_Latvia:Cz,country_Liberia:Sz,country_Libya:Ez,country_Liechtenstein:Tz,country_Lithuania:Pz,country_Luxembourg:Az,country_Macao:Nz,country_Madagascar:Iz,country_Malawi:Dz,country_Malaysia:$z,country_Maldives:Rz,country_Mali:Vz,country_Malta:qz,country_Martinique:Lz,country_Mauritania:Oz,country_Mauritius:Mz,country_Mexico:jz,country_Monaco:Fz,country_Mongolia:Bz,"country_Moldova, Republic of":"Moldova, Republic of",country_Montenegro:zz,country_Montserrat:Uz,country_Morocco:Hz,country_Mozambique:Gz,country_Oman:Wz,country_Namibia:Kz,country_Nauru:Qz,country_Nepal:Yz,country_Netherlands:Xz,country_Curaçao:"Curaçao",country_Aruba:Jz,"country_Sint Maarten (Dutch part)":"Sint Maarten (Dutch part)","country_Bonaire, Sint Eustatius and Saba":"Bonaire, Sint Eustatius and Saba","country_New Caledonia":"New Caledonia",country_Vanuatu:Zz,"country_New Zealand":"New Zealand",country_Nicaragua:e7,country_Niger:t7,country_Nigeria:n7,country_Niue:a7,"country_Norfolk Island":"Norfolk Island",country_Norway:s7,"country_Northern Mariana Islands":"Northern Mariana Islands","country_United States Minor Outlying Islands":"United States Minor Outlying Islands","country_Micronesia, Federated States of":"Micronesia, Federated States of","country_Marshall Islands":"Marshall Islands",country_Palau:o7,country_Pakistan:i7,country_Panama:r7,"country_Papua New Guinea":"Papua New Guinea",country_Paraguay:c7,country_Peru:l7,country_Philippines:d7,country_Pitcairn:_7,country_Poland:u7,country_Portugal:m7,"country_Guinea-Bissau":"Guinea-Bissau","country_Timor-Leste":"Timor-Leste","country_Puerto Rico":"Puerto Rico",country_Qatar:p7,country_Réunion:"Réunion",country_Romania:h7,"country_Russian Federation":"Russian Federation",country_Rwanda:f7,"country_Saint Barthélemy":"Saint Barthélemy","country_Saint Helena, Ascension and Tristan da Cunha":"Saint Helena, Ascension and Tristan da Cunha","country_Saint Kitts and Nevis":"Saint Kitts and Nevis",country_Anguilla:g7,"country_Saint Lucia":"Saint Lucia","country_Saint Martin (French part)":"Saint Martin (French part)","country_Saint Pierre and Miquelon":"Saint Pierre and Miquelon","country_Saint Vincent and the Grenadines":"Saint Vincent and the Grenadines","country_San Marino":"San Marino","country_Sao Tome and Principe":"Sao Tome and Principe","country_Saudi Arabia":"Saudi Arabia",country_Senegal:v7,country_Serbia:y7,country_Seychelles:b7,"country_Sierra Leone":"Sierra Leone",country_Singapore:w7,country_Slovakia:k7,"country_Viet Nam":"Viet Nam",country_Slovenia:x7,country_Somalia:C7,"country_South Africa":"South Africa",country_Zimbabwe:S7,country_Spain:E7,"country_South Sudan":"South Sudan",country_Sudan:T7,"country_Western Sahara":"Western Sahara",country_Suriname:P7,"country_Svalbard and Jan Mayen":"Svalbard and Jan Mayen",country_Swaziland:A7,country_Sweden:N7,country_Switzerland:I7,"country_Syrian Arab Republic":"Syrian Arab Republic",country_Tajikistan:D7,country_Thailand:$7,country_Togo:R7,country_Tokelau:V7,country_Tonga:q7,"country_Trinidad and Tobago":"Trinidad and Tobago","country_United Arab Emirates":"United Arab Emirates",country_Tunisia:L7,country_Turkey:O7,country_Turkmenistan:M7,"country_Turks and Caicos Islands":"Turks and Caicos Islands",country_Tuvalu:j7,country_Uganda:F7,country_Ukraine:B7,"country_Macedonia, the former Yugoslav Republic of":"Macedonia, the former Yugoslav Republic of",country_Egypt:z7,"country_United Kingdom":"United Kingdom",country_Guernsey:U7,country_Jersey:H7,"country_Isle of Man":"Isle of Man","country_Tanzania, United Republic of":"Tanzania, United Republic of","country_United States":"United States","country_Virgin Islands, U.S.":"Virgin Islands, U.S.","country_Burkina Faso":"Burkina Faso",country_Uruguay:G7,country_Uzbekistan:W7,"country_Venezuela, Bolivarian Republic of":"Venezuela, Bolivarian Republic of","country_Wallis and Futuna":"Wallis and Futuna",country_Samoa:K7,country_Yemen:Q7,country_Zambia:Y7,"lang_Brazilian Portuguese":"Brazilian Portuguese",lang_Croatian:X7,lang_Czech:J7,lang_Danish:Z7,lang_Dutch:eU,lang_English:tU,"lang_English - United States":"English",lang_French:nU,"lang_French - Canada":"French - Canada",lang_German:aU,lang_Italian:sU,lang_Japanese:oU,lang_Lithuanian:iU,lang_Norwegian:rU,lang_Polish:cU,lang_Spanish:lU,"lang_Spanish - Spain":"Spanish - Spain",lang_Swedish:dU,lang_Albanian:_U,lang_Greek:uU,"lang_English - United Kingdom":"English - United Kingdom","lang_English - Australia":"English - Australia",lang_Slovenian:mU,lang_Finnish:pU,lang_Romanian:hU,"lang_Turkish - Turkey":"Turkish - Turkey","lang_Portuguese - Brazilian":"Portuguese - Brazilian","lang_Portuguese - Portugal":"Portuguese - Portugal",lang_Thai:fU,lang_Macedonian:gU,"lang_Chinese - Taiwan":"Chinese - Taiwan",lang_Serbian:vU,lang_Bulgarian:yU,"lang_Russian (Russia)":"Russian (Russia)","industry_Accounting & Legal":"Accounting & Legal",industry_Advertising:bU,industry_Aerospace:wU,industry_Agriculture:kU,industry_Automotive:xU,"industry_Banking & Finance":"Banking & Finance",industry_Biotechnology:CU,industry_Broadcasting:SU,"industry_Business Services":"Business Services","industry_Commodities & Chemicals":"Commodities & Chemicals",industry_Communications:EU,"industry_Computers & Hightech":"Computers & Hightech",industry_Defense:TU,industry_Energy:PU,industry_Entertainment:AU,industry_Government:NU,"industry_Healthcare & Life Sciences":"Healthcare & Life Sciences",industry_Insurance:IU,industry_Manufacturing:DU,industry_Marketing:$U,industry_Media:RU,"industry_Nonprofit & Higher Ed":"Nonprofit & Higher Ed",industry_Pharmaceuticals:VU,"industry_Professional Services & Consulting":"Professional Services & Consulting","industry_Real Estate":"Real Estate","industry_Retail & Wholesale":"Retail & Wholesale",industry_Sports:qU,industry_Transportation:LU,"industry_Travel & Luxury":"Travel & Luxury",industry_Other:OU,industry_Photography:MU,view_client_portal:jU,view_portal:FU,vendor_contacts:BU,all:zU,selected:UU,category:HU,categories:GU,new_expense_category:WU,edit_category:KU,archive_expense_category:QU,expense_categories:YU,list_expense_categories:XU,updated_expense_category:JU,created_expense_category:ZU,archived_expense_category:eH,archived_expense_categories:tH,restore_expense_category:nH,restored_expense_category:aH,apply_taxes:sH,min_to_max_users:oH,max_users_reached:iH,buy_now_buttons:rH,landing_page:cH,payment_type:lH,form:dH,link:_H,fields:uH,dwolla:mH,buy_now_buttons_warning:pH,buy_now_buttons_disabled:hH,enable_buy_now_buttons_help:fH,changes_take_effect_immediately:gH,wepay_account_description:vH,payment_error_code:yH,standard_fees_apply:bH,limit_import_rows:wH,error_title:kH,error_contact_text:xH,no_undo:CH,no_contact_selected:SH,no_client_selected:EH,gateway_config_error:TH,payment_type_on_file:PH,invoice_for_client:AH,intent_not_found:NH,intent_not_supported:IH,client_not_found:DH,not_allowed:$H,bot_emailed_invoice:RH,bot_emailed_notify_viewed:VH,bot_emailed_notify_paid:qH,add_product_to_invoice:LH,not_authorized:OH,email_not_found:MH,invalid_code:jH,list_products:FH,include_item_taxes_inline:BH,created_quotes:zH,warning:UH,"self-update":"Update",update_invoiceninja_title:HH,update_invoiceninja_warning:GH,update_invoiceninja_available:WH,update_invoiceninja_unavailable:KH,update_invoiceninja_update_start:QH,update_invoiceninja_download_start:YH,create_new:XH,toggle_navigation:JH,toggle_history:ZH,unassigned:eG,task:tG,contact_name:nG,city_state_postal:aG,postal_city:sG,custom_field:oG,account_fields:iG,facebook_and_twitter:rG,facebook_and_twitter_help:cG,reseller_text:lG,unnamed_client:dG,day:_G,week:uG,month:mG,inactive_logout:pG,reports:hG,total_profit:fG,total_expenses:gG,quote_to:vG,limit:yG,min_limit:bG,max_limit:wG,no_limit:kG,set_limits:xG,enable_min:CG,enable_max:SG,min:EG,max:TG,limits_not_met:PG,date_range:AG,raw:NG,raw_html:IG,update:DG,invoice_fields_help:$G,new_category:RG,restore_product:VG,blank:qG,invoice_save_error:LG,enable_recurring:OG,disable_recurring:MG,text:jG,expense_will_create:FG,expenses_will_create:BG,created_expenses:zG,translate_app:UG,expense_category:HG,go_ninja_pro:GG,go_enterprise:WG,upgrade_for_features:KG,pay_annually_discount:QG,pro_upgrade_title:YG,pro_upgrade_feature1:XG,pro_upgrade_feature2:JG,enterprise_upgrade_feature1:ZG,enterprise_upgrade_feature2:eW,much_more:tW,all_pro_fetaures:nW,currency_symbol:aW,currency_code:sW,buy_license:oW,apply_license:iW,submit:rW,white_label_license_key:cW,invalid_white_label_license:lW,created_by:dW,modules:_W,financial_year_start:uW,authentication:mW,checkbox:pW,invoice_signature:hW,show_accept_invoice_terms:fW,show_accept_invoice_terms_help:gW,show_accept_quote_terms:vW,show_accept_quote_terms_help:yW,require_invoice_signature:bW,require_invoice_signature_help:wW,require_quote_signature:kW,require_quote_signature_help:xW,i_agree:CW,sign_here:SW,sign_here_ux_tip:EW,authorization:TW,signed:PW,vendor_name:AW,entity_state:NW,client_created_at:IW,postmark_error:DW,project:$W,projects:RW,new_project:VW,edit_project:qW,archive_project:LW,list_projects:OW,updated_project:MW,created_project:jW,archived_project:FW,archived_projects:BW,restore_project:zW,restored_project:UW,delete_project:HW,deleted_project:GW,deleted_projects:WW,delete_expense_category:KW,deleted_expense_category:QW,delete_product:YW,deleted_product:XW,deleted_products:JW,restored_product:ZW,update_credit:eK,updated_credit:tK,edit_credit:nK,realtime_preview:aK,realtime_preview_help:sK,live_preview_help:oK,force_pdfjs_help:iK,force_pdfjs:rK,redirect_url:cK,redirect_url_help:lK,save_draft:dK,refunded_credit_payment:_K,keyboard_shortcuts:uK,toggle_menu:mK,"new_...":"New ...","list_...":"List ...",created_at:pK,contact_us:hK,user_guide:fK,promo_message:gK,discount_message:vK,mark_paid:yK,marked_sent_invoice:bK,marked_sent_invoices:wK,invoice_name:kK,product_will_create:xK,contact_us_response:CK,last_7_days:SK,last_30_days:EK,this_month:TK,last_month:PK,current_quarter:AK,last_quarter:NK,last_year:IK,all_time:DK,custom_range:$K,url:RK,debug:VK,https:qK,require:LK,license_expiring:OK,security_confirmation:MK,white_label_expired:jK,renew_license:FK,iphone_app_message:BK,iphone_app:zK,android_app:UK,logged_in:HK,switch_to_primary:GK,inclusive:WK,exclusive:KK,postal_city_state:QK,phantomjs_help:YK,phantomjs_local:XK,client_number:JK,client_number_help:ZK,next_client_number:eQ,generated_numbers:tQ,notes_reminder1:nQ,notes_reminder2:aQ,notes_reminder3:sQ,notes_reminder4:oQ,bcc_email:iQ,tax_quote:rQ,tax_invoice:cQ,emailed_invoices:lQ,emailed_quotes:dQ,website_url:_Q,domain:uQ,domain_help:mQ,domain_help_website:pQ,import_invoices:hQ,new_report:fQ,edit_report:gQ,columns:vQ,filters:yQ,sort_by:bQ,draft:wQ,unpaid:kQ,aging:xQ,age:CQ,days:SQ,age_group_0:EQ,age_group_30:TQ,age_group_60:PQ,age_group_90:AQ,age_group_120:NQ,invoice_details:IQ,qty:DQ,profit_and_loss:$Q,revenue:RQ,profit:VQ,group_when_sorted:qQ,group_dates_by:LQ,year:OQ,view_statement:MQ,statement:jQ,statement_date:FQ,mark_active:BQ,send_automatically:zQ,initial_email:UQ,invoice_not_emailed:HQ,quote_not_emailed:GQ,sent_by:WQ,recipients:KQ,save_as_default:QQ,start_of_week_help:YQ,financial_year_start_help:XQ,reports_help:JQ,this_year:ZQ,ninja_tagline:eY,login_or_existing:tY,sign_up_now:nY,not_a_member_yet:aY,login_create_an_account:sY,invoice_from:oY,full_name:iY,month_year:rY,valid_thru:cY,product_fields:lY,custom_product_fields_help:dY,freq_two_months:_Y,freq_yearly:uY,profile:mY,industry_Construction:pY,your_statement:hY,statement_issued_to:fY,statement_to:gY,customize_options:vY,created_payment_term:yY,updated_payment_term:bY,archived_payment_term:wY,resend_invite:kY,credit_created_by:xY,created_payment_and_credit:CY,created_payment_and_credit_emailed_client:SY,create_project:EY,create_vendor:TY,create_expense_category:PY,pro_plan_reports:AY,mark_ready:NY,limits:IY,fees:DY,fee:$Y,set_limits_fees:RY,fees_tax_help:VY,fees_sample:qY,discount_sample:LY,no_fees:OY,gateway_fees_disclaimer:MY,percent:jY,location:FY,line_item:BY,surcharge:zY,location_first_surcharge:UY,location_second_surcharge:HY,location_line_item:GY,online_payment_surcharge:WY,gateway_fees:KY,fees_disabled:QY,gateway_fees_help:YY,gateway:XY,gateway_fee_change_warning:JY,fees_surcharge_help:ZY,label_and_taxes:eX,billable:tX,logo_warning_too_large:nX,logo_warning_fileinfo:aX,logo_warning_invalid:sX,error_refresh_page:oX,data:iX,imported_settings:rX,reset_counter:cX,next_reset:lX,reset_counter_help:dX,auto_bill_failed:_X,online_payment_discount:uX,created_new_company:mX,fees_disabled_for_gateway:pX,logout_and_delete:hX,tax_rate_type_help:fX,credit_note:gX,credit_issued_to:vX,credit_to:yX,your_credit:bX,credit_number:wX,create_credit_note:kX,menu:xX,error_incorrect_gateway_ids:CX,purge_data:SX,delete_data:EX,purge_data_help:TX,cancel_account_help:PX,purge_successful:AX,forbidden:NX,purge_data_message:IX,contact_phone:DX,contact_email:$X,reply_to_email:RX,reply_to_email_help:VX,bcc_email_help:qX,import_complete:LX,confirm_account_to_import:OX,import_started:MX,payment_type_Venmo:jX,"payment_type_Money Order":"Money Order",archived_products:FX,recommend_on:BX,recommend_off:zX,notes_auto_billed:UX,surcharge_label:HX,contact_fields:GX,custom_contact_fields_help:WX,datatable_info:KX,credit_total:QX,mark_billable:YX,billed:XX,company_variables:JX,client_variables:ZX,invoice_variables:eJ,navigation_variables:tJ,custom_variables:nJ,invalid_file:aJ,add_documents_to_invoice:sJ,mark_expense_paid:oJ,white_label_license_error:iJ,plan_price:rJ,wrong_confirmation:cJ,oauth_taken:lJ,emailed_payment:dJ,email_payment:_J,invoiceplane_import:uJ,duplicate_expense_warning:mJ,expense_link:pJ,resume_task:hJ,resumed_task:fJ,quote_design:gJ,default_design:vJ,custom_design1:yJ,custom_design2:bJ,custom_design3:wJ,empty:kJ,load_design:xJ,accepted_card_logos:CJ,google_analytics:SJ,analytics_key:EJ,analytics_key_help:TJ,start_date_required:PJ,application_settings:AJ,database_connection:NJ,driver:IJ,host:DJ,database:$J,test_connection:RJ,from_name:VJ,from_address:qJ,port:LJ,encryption:OJ,mailgun_domain:MJ,mailgun_private_key:jJ,brevo_domain:FJ,brevo_private_key:BJ,send_test_email:zJ,select_label:UJ,label:HJ,service:GJ,update_payment_details:WJ,updated_payment_details:KJ,update_credit_card:QJ,recurring_expenses:YJ,recurring_expense:XJ,new_recurring_expense:JJ,edit_recurring_expense:ZJ,archive_recurring_expense:eZ,list_recurring_expense:tZ,updated_recurring_expense:nZ,created_recurring_expense:aZ,archived_recurring_expense:sZ,restore_recurring_expense:oZ,restored_recurring_expense:iZ,delete_recurring_expense:rZ,deleted_recurring_expense:cZ,view_recurring_expense:lZ,taxes_and_fees:dZ,import_failed:_Z,recurring_prefix:uZ,options:mZ,credit_number_help:pZ,next_credit_number:hZ,padding_help:fZ,import_warning_invalid_date:gZ,product_notes:vZ,app_version:yZ,ofx_version:bZ,charge_late_fee:wZ,late_fee_amount:kZ,late_fee_percent:xZ,late_fee_added:CZ,download_invoice:SZ,download_quote:EZ,invoices_are_attached:TZ,downloaded_invoice:PZ,downloaded_quote:AZ,downloaded_invoices:NZ,downloaded_quotes:IZ,clone_expense:DZ,default_documents:$Z,send_email_to_client:RZ,refund_subject:VZ,refund_body:qZ,currency_us_dollar:LZ,currency_british_pound:OZ,currency_euro:MZ,currency_south_african_rand:jZ,currency_danish_krone:FZ,currency_israeli_shekel:BZ,currency_swedish_krona:zZ,currency_kenyan_shilling:UZ,currency_canadian_dollar:HZ,currency_philippine_peso:GZ,currency_indian_rupee:WZ,currency_australian_dollar:KZ,currency_singapore_dollar:QZ,currency_norske_kroner:YZ,currency_new_zealand_dollar:XZ,currency_vietnamese_dong:JZ,currency_swiss_franc:ZZ,currency_guatemalan_quetzal:eee,currency_malaysian_ringgit:tee,currency_brazilian_real:nee,currency_thai_baht:aee,currency_nigerian_naira:see,currency_argentine_peso:oee,currency_bangladeshi_taka:iee,currency_united_arab_emirates_dirham:ree,currency_hong_kong_dollar:cee,currency_indonesian_rupiah:lee,currency_mexican_peso:dee,currency_egyptian_pound:_ee,currency_colombian_peso:uee,currency_west_african_franc:mee,currency_chinese_renminbi:pee,currency_rwandan_franc:hee,currency_tanzanian_shilling:fee,currency_netherlands_antillean_guilder:gee,currency_trinidad_and_tobago_dollar:vee,currency_east_caribbean_dollar:yee,currency_ghanaian_cedi:bee,currency_bulgarian_lev:wee,currency_aruban_florin:kee,currency_turkish_lira:xee,currency_romanian_new_leu:Cee,currency_croatian_kuna:See,currency_saudi_riyal:Eee,currency_japanese_yen:Tee,currency_maldivian_rufiyaa:Pee,currency_costa_rican_colon:Aee,currency_pakistani_rupee:Nee,currency_polish_zloty:Iee,currency_sri_lankan_rupee:Dee,currency_czech_koruna:$ee,currency_uruguayan_peso:Ree,currency_namibian_dollar:Vee,currency_tunisian_dinar:qee,currency_russian_ruble:Lee,currency_mozambican_metical:Oee,currency_omani_rial:Mee,currency_ukrainian_hryvnia:jee,currency_macanese_pataca:Fee,currency_taiwan_new_dollar:Bee,currency_dominican_peso:zee,currency_chilean_peso:Uee,currency_icelandic_krona:Hee,currency_papua_new_guinean_kina:Gee,currency_jordanian_dinar:Wee,currency_myanmar_kyat:Kee,currency_peruvian_sol:Qee,currency_botswana_pula:Yee,currency_hungarian_forint:Xee,currency_ugandan_shilling:Jee,currency_barbadian_dollar:Zee,currency_brunei_dollar:ete,currency_georgian_lari:tte,currency_qatari_riyal:nte,currency_honduran_lempira:ate,currency_surinamese_dollar:ste,currency_bahraini_dinar:ote,currency_venezuelan_bolivars:ite,currency_south_korean_won:rte,currency_moroccan_dirham:cte,currency_jamaican_dollar:lte,currency_angolan_kwanza:dte,currency_haitian_gourde:_te,currency_zambian_kwacha:ute,currency_nepalese_rupee:mte,currency_cfp_franc:pte,currency_mauritian_rupee:hte,currency_cape_verdean_escudo:fte,currency_kuwaiti_dinar:gte,currency_algerian_dinar:vte,currency_macedonian_denar:yte,currency_fijian_dollar:bte,currency_bolivian_boliviano:wte,currency_albanian_lek:kte,currency_serbian_dinar:xte,currency_lebanese_pound:Cte,currency_armenian_dram:Ste,currency_azerbaijan_manat:Ete,currency_bosnia_and_herzegovina_convertible_mark:Tte,currency_belarusian_ruble:Pte,currency_moldovan_leu:Ate,currency_kazakhstani_tenge:Nte,currency_gibraltar_pound:Ite,currency_gambia_dalasi:Dte,currency_paraguayan_guarani:$te,currency_malawi_kwacha:Rte,currency_zimbabwean_dollar:Vte,currency_cambodian_riel:qte,currency_vanuatu_vatu:Lte,currency_cuban_peso:Ote,currency_bz_dollar:Mte,currency_libyan_dinar:jte,currency_silver_troy_ounce:Fte,currency_gold_troy_ounce:Bte,currency_nicaraguan_córdoba:"Nicaraguan Córdoba",currency_malagasy_ariary:zte,currency_tongan_pa_anga:Ute,review_app_help:Hte,writing_a_review:Gte,tax1:Wte,tax2:Kte,fee_help:Qte,format_export:Yte,custom1:Xte,custom2:Jte,contact_first_name:Zte,contact_last_name:ene,contact_custom1:tne,contact_custom2:nne,currency:ane,ofx_help:sne,comments:one,item_product:ine,item_notes:rne,item_cost:cne,item_quantity:lne,item_tax_rate:dne,item_tax_name:_ne,item_tax1:une,item_tax2:mne,delete_company:pne,delete_company_help:hne,delete_company_message:fne,applied_discount:gne,applied_free_year:vne,contact_us_help:yne,include_errors:bne,include_errors_help:wne,recent_errors:kne,customer:xne,customers:Cne,created_customer:Sne,created_customers:Ene,purge_details:Tne,deleted_company:Pne,deleted_account:Ane,deleted_company_details:Nne,deleted_account_details:Ine,alipay:Dne,sofort:$ne,sepa:Rne,name_without_special_characters:Vne,enable_alipay:qne,enable_sofort:Lne,stripe_alipay_help:One,calendar:Mne,pro_plan_calendar:jne,what_are_you_working_on:Fne,time_tracker:Bne,refresh:zne,filter_sort:Une,no_description:Hne,time_tracker_login:Gne,save_or_discard:Wne,discard_changes:Kne,tasks_not_enabled:Qne,started_task:Yne,create_client:Xne,download_desktop_app:Jne,download_iphone_app:Zne,download_android_app:eae,time_tracker_mobile_help:tae,stopped:nae,ascending:aae,descending:sae,sort_field:oae,sort_direction:iae,discard:rae,time_am:cae,time_pm:lae,time_mins:dae,time_hr:_ae,time_hrs:uae,clear:mae,warn_payment_gateway:pae,task_rate:hae,task_rate_help:fae,past_due:gae,document:vae,invoice_or_expense:yae,invoice_pdfs:bae,enable_sepa:wae,enable_bitcoin:kae,iban:xae,sepa_authorization:Cae,recover_license:Sae,purchase:Eae,recover:Tae,apply:Pae,recover_white_label_header:Aae,apply_white_label_header:Nae,videos:Iae,video:Dae,return_to_invoice:$ae,partial_due_date:Rae,task_fields:Vae,product_fields_help:qae,custom_value1:Lae,custom_value2:Oae,enable_two_factor:Mae,enable_two_factor_help:jae,two_factor_setup:Fae,two_factor_setup_help:Bae,one_time_password:zae,set_phone_for_two_factor:Uae,enabled_two_factor:Hae,add_product:Gae,email_will_be_sent_on:Wae,invoice_product:Kae,self_host_login:Qae,set_self_hoat_url:Yae,local_storage_required:Xae,your_password_reset_link:Jae,subdomain_taken:Zae,expense_mailbox_taken:ese,expense_mailbox_invalid:tse,client_login:nse,converted_amount:ase,default:"Default",shipping_address:sse,bllling_address:ose,billing_address1:ise,billing_address2:rse,billing_city:cse,billing_state:lse,billing_postal_code:dse,billing_country:_se,shipping_address1:use,shipping_address2:mse,shipping_city:pse,shipping_state:hse,shipping_postal_code:fse,shipping_country:gse,classify:vse,show_shipping_address_help:yse,ship_to_billing_address:bse,delivery_note:wse,show_tasks_in_portal:kse,cancel_schedule:xse,scheduled_report:Cse,scheduled_report_help:Sse,created_scheduled_report:Ese,deleted_scheduled_report:Tse,scheduled_report_attached:Pse,scheduled_report_error:Ase,invalid_one_time_password:Nse,apple_pay:Ise,enable_apple_pay:Dse,requires_subdomain:$se,subdomain_is_set:Rse,verification_file:Vse,verification_file_missing:qse,apple_pay_domain:Lse,apple_pay_not_supported:Ose,optional_payment_methods:Mse,add_subscription:jse,target_url:Fse,target_url_help:Bse,event:zse,subscription_event_1:Use,subscription_event_2:Hse,subscription_event_3:Gse,subscription_event_4:Wse,subscription_event_5:Kse,subscription_event_6:Qse,subscription_event_7:Yse,subscription_event_8:Xse,subscription_event_9:Jse,subscription_event_10:Zse,subscription_event_11:eoe,subscription_event_12:toe,subscription_event_13:noe,subscription_event_14:aoe,subscription_event_15:soe,subscription_event_16:ooe,subscription_event_17:ioe,subscription_event_18:roe,subscription_event_19:coe,subscription_event_20:loe,subscription_event_21:doe,subscriptions:_oe,updated_subscription:uoe,created_subscription:moe,edit_subscription:poe,archive_subscription:hoe,archived_subscription:foe,project_error_multiple_clients:goe,invoice_project:voe,module_recurring_invoice:yoe,module_credit:boe,module_quote:woe,module_task:koe,module_expense:xoe,module_ticket:Coe,reminders:Soe,send_client_reminders:Eoe,can_view_tasks:Toe,is_not_sent_reminders:Poe,promotion_footer:Aoe,unable_to_delete_primary:Noe,please_register:Ioe,processing_request:Doe,mcrypt_warning:$oe,edit_times:Roe,inclusive_taxes_help:Voe,inclusive_taxes_notice:qoe,inclusive_taxes_warning:Loe,copy_shipping:Ooe,copy_billing:Moe,quote_has_expired:joe,empty_table_footer:Foe,do_not_trust:Boe,trust_for_30_days:zoe,trust_forever:Uoe,kanban:Hoe,backlog:Goe,ready_to_do:Woe,in_progress:Koe,add_status:Qoe,archive_status:Yoe,new_status:Xoe,convert_products:Joe,convert_products_help:Zoe,improve_client_portal_link:eie,budgeted_hours:tie,progress:nie,view_project:aie,summary:sie,endless_reminder:oie,signature_on_invoice_help:iie,signature_on_pdf:rie,signature_on_pdf_help:cie,expired_white_label:lie,return_to_login:die,convert_products_tip:_ie,amount_greater_than_balance:uie,custom_fields_tip:mie,client_information:pie,updated_client_details:hie,auto:fie,tax_amount:gie,tax_paid:vie,none:yie,proposal_message_button:bie,proposal:wie,proposals:kie,list_proposals:xie,new_proposal:Cie,edit_proposal:Sie,archive_proposal:Eie,delete_proposal:Tie,created_proposal:Pie,updated_proposal:Aie,archived_proposal:Nie,deleted_proposal:Iie,archived_proposals:Die,deleted_proposals:$ie,restored_proposal:Rie,restore_proposal:Vie,snippet:qie,snippets:Lie,proposal_snippet:Oie,proposal_snippets:Mie,new_proposal_snippet:jie,edit_proposal_snippet:Fie,archive_proposal_snippet:Bie,delete_proposal_snippet:zie,created_proposal_snippet:Uie,updated_proposal_snippet:Hie,archived_proposal_snippet:Gie,deleted_proposal_snippet:Wie,archived_proposal_snippets:Kie,deleted_proposal_snippets:Qie,restored_proposal_snippet:Yie,restore_proposal_snippet:Xie,template:Jie,templates:Zie,proposal_template:ere,proposal_templates:tre,new_proposal_template:nre,edit_proposal_template:are,archive_proposal_template:sre,delete_proposal_template:ore,created_proposal_template:ire,updated_proposal_template:rre,archived_proposal_template:cre,deleted_proposal_template:lre,archived_proposal_templates:dre,deleted_proposal_templates:_re,restored_proposal_template:ure,restore_proposal_template:mre,proposal_category:pre,proposal_categories:hre,new_proposal_category:fre,edit_proposal_category:gre,archive_proposal_category:vre,delete_proposal_category:yre,created_proposal_category:bre,updated_proposal_category:wre,archived_proposal_category:kre,deleted_proposal_category:xre,archived_proposal_categories:Cre,deleted_proposal_categories:Sre,restored_proposal_category:Ere,restore_proposal_category:Tre,delete_status:Pre,standard:Are,icon:Nre,proposal_not_found:Ire,create_proposal_category:Dre,clone_proposal_template:$re,proposal_email:Rre,proposal_subject:Vre,proposal_message:qre,emailed_proposal:Lre,load_template:Ore,no_assets:Mre,add_image:jre,select_image:Fre,upgrade_to_upload_images:Bre,delete_image:zre,delete_image_help:Ure,amount_variable_help:Hre,taxes_are_included_help:Gre,taxes_are_not_included_help:Wre,change_requires_purge:Kre,purging:Qre,warning_local_refund:Yre,email_address_changed:Xre,email_address_changed_message:Jre,test:Zre,beta:ece,email_history:tce,loading:nce,no_messages_found:ace,processing:sce,reactivate:oce,reactivated_email:ice,emails:rce,opened:cce,bounced:lce,total_sent:dce,total_opened:_ce,total_bounced:uce,total_spam:mce,platforms:pce,email_clients:hce,mobile:fce,desktop:gce,webmail:vce,group:yce,subgroup:bce,unset:wce,received_new_payment:kce,slack_webhook_help:xce,slack_incoming_webhooks:Cce,accept:Sce,accepted_terms:Ece,invalid_url:Tce,workflow_settings:Pce,auto_email_invoice:Ace,auto_email_invoice_help:Nce,auto_archive_invoice:Ice,auto_archive_invoice_help:Dce,auto_archive_quote:$ce,auto_archive_quote_help:Rce,require_approve_quote:Vce,require_approve_quote_help:qce,allow_approve_expired_quote:Lce,allow_approve_expired_quote_help:Oce,invoice_workflow:Mce,quote_workflow:jce,client_must_be_active:Fce,purge_client:Bce,purged_client:zce,purge_client_warning:Uce,clone_product:Hce,item_details:Gce,send_item_details_help:Wce,view_proposal:Kce,view_in_portal:Qce,cookie_message:Yce,got_it:Xce,vendor_will_create:Jce,vendors_will_create:Zce,created_vendors:ele,import_vendors:tle,company:nle,client_field:ale,contact_field:sle,product_field:ole,task_field:ile,project_field:rle,expense_field:cle,vendor_field:lle,company_field:dle,invoice_field:_le,invoice_surcharge:ule,custom_task_fields_help:mle,custom_project_fields_help:ple,custom_expense_fields_help:hle,custom_vendor_fields_help:fle,messages:gle,unpaid_invoice:vle,paid_invoice:yle,unapproved_quote:ble,unapproved_proposal:wle,autofills_city_state:kle,no_match_found:xle,password_strength:Cle,strength_weak:Sle,strength_good:Ele,strength_strong:Tle,mark:Ple,updated_task_status:Ale,background_image:Nle,background_image_help:Ile,proposal_editor:Dle,background:$le,guide:Rle,gateway_fee_item:Vle,gateway_fee_description:qle,gateway_fee_discount_description:Lle,show_payments:Ole,show_aging:Mle,reference:jle,amount_paid:Fle,send_notifications_for:Ble,all_invoices:zle,my_invoices:Ule,payment_reference:Hle,maximum:Gle,sort:Wle,refresh_complete:Kle,please_enter_your_email:Qle,please_enter_your_password:Yle,please_enter_your_url:Xle,please_enter_a_product_key:Jle,an_error_occurred:Zle,overview:ede,copied_to_clipboard:tde,error:nde,could_not_launch:ade,additional:sde,ok:ode,email_is_invalid:ide,items:rde,partial_deposit:cde,add_item:lde,total_amount:dde,pdf:_de,invoice_status_id:ude,click_plus_to_add_item:mde,count_selected:pde,dismiss:hde,please_select_a_date:fde,please_select_a_client:gde,language:vde,updated_at:yde,please_enter_an_invoice_number:bde,please_enter_a_quote_number:wde,clients_invoices:kde,viewed:xde,approved:Cde,invoice_status_1:Sde,invoice_status_2:Ede,invoice_status_3:Tde,invoice_status_4:Pde,invoice_status_5:Ade,invoice_status_6:Nde,marked_invoice_as_sent:Ide,please_enter_a_client_or_contact_name:Dde,restart_app_to_apply_change:$de,refresh_data:Rde,blank_contact:Vde,no_records_found:qde,industry:Lde,size:Ode,net:Mde,show_tasks:jde,email_reminders:Fde,reminder1:Bde,reminder2:zde,reminder3:Ude,send:Hde,auto_billing:Gde,button:Wde,more:Kde,edit_recurring_invoice:Qde,edit_recurring_quote:Yde,quote_status:Xde,please_select_an_invoice:Jde,filtered_by:Zde,payment_status:e_e,payment_status_1:t_e,payment_status_2:n_e,payment_status_3:a_e,payment_status_4:s_e,payment_status_5:o_e,payment_status_6:i_e,send_receipt_to_client:r_e,refunded:c_e,marked_quote_as_sent:l_e,custom_module_settings:d_e,open:__e,new:"New",closed:u_e,reopened:m_e,priority:p_e,last_updated:h_e,comment:f_e,tags:g_e,linked_objects:v_e,low:y_e,medium:b_e,high:w_e,no_due_date:k_e,assigned_to:x_e,reply:C_e,awaiting_reply:S_e,mark_spam:E_e,local_part:T_e,local_part_unavailable:P_e,local_part_available:A_e,local_part_invalid:N_e,local_part_help:I_e,from_name_help:D_e,local_part_placeholder:$_e,from_name_placeholder:R_e,attachments:V_e,client_upload:q_e,enable_client_upload_help:L_e,max_file_size_help:O_e,max_file_size:M_e,mime_types:j_e,mime_types_placeholder:F_e,mime_types_help:B_e,ticket_number_start_help:z_e,new_ticket_template_id:U_e,new_ticket_autoresponder_help:H_e,update_ticket_template_id:G_e,update_ticket_autoresponder_help:W_e,close_ticket_template_id:K_e,close_ticket_autoresponder_help:Q_e,default_priority:Y_e,alert_new_comment_id:X_e,update_ticket_notification_list:J_e,comma_separated_values:Z_e,default_agent:eue,default_agent_help:tue,show_agent_details:nue,avatar:aue,remove_avatar:sue,add_template:oue,archive_ticket_template:iue,restore_ticket_template:rue,archived_ticket_template:cue,restored_ticket_template:lue,enter_ticket_message:due,show_hide_all:_ue,subject_required:uue,mobile_refresh_warning:mue,merge:pue,merged:hue,agent:fue,include_in_filter:gue,custom_client1:vue,custom_client2:yue,compare:bue,hosted_login:wue,selfhost_login:kue,google_login:xue,thanks_for_patience:Cue,legacy_mobile_app:Sue,today:Eue,current:Tue,previous:Pue,current_period:Aue,comparison_period:Nue,previous_period:Iue,previous_year:Due,compare_to:$ue,last_week:Rue,clone_to_invoice:Vue,clone_to_quote:que,convert:Lue,last7_days:Oue,last30_days:Mue,custom_js:jue,adjust_fee_percent_help:Fue,show_product_notes:Bue,show_product_notes_help:zue,important:Uue,thank_you_for_using_our_app:Hue,if_you_like_it:Gue,to_rate_it:Wue,average:Kue,unapproved:Que,authenticate_to_change_setting:Yue,locked:Xue,authenticate:Jue,please_authenticate:Zue,biometric_authentication:eme,auto_start_tasks:tme,budgeted:nme,please_enter_a_name:ame,click_plus_to_add_time:sme,design:ome,password_is_too_short:ime,failed_to_find_record:rme,valid_until_days:cme,valid_until_days_help:lme,usually_pays_in_days:dme,requires_an_enterprise_plan:_me,take_picture:ume,upload_file:mme,new_document:pme,edit_document:hme,uploaded_document:fme,updated_document:gme,archived_document:vme,deleted_document:yme,restored_document:bme,no_history:wme,expense_status_1:kme,expense_status_2:xme,expense_status_3:Cme,no_record_selected:Sme,error_unsaved_changes:Eme,thank_you_for_your_purchase:Tme,redeem:Pme,back:Ame,past_purchases:Nme,annual_subscription:Ime,pro_plan:Dme,enterprise_plan:$me,count_users:Rme,upgrade:Vme,please_enter_a_first_name:qme,please_enter_a_last_name:Lme,please_agree_to_terms_and_privacy:Ome,i_agree_to_the:Mme,terms_of_service_link:jme,privacy_policy_link:Fme,view_website:Bme,create_account:zme,email_login:Ume,late_fees:Hme,payment_number:Gme,before_due_date:Wme,after_due_date:Kme,after_invoice_date:Qme,filtered_by_user:Yme,created_user:Xme,primary_font:Jme,secondary_font:Zme,number_padding:epe,general:tpe,surcharge_field:npe,company_value:ape,credit_field:spe,payment_field:ope,group_field:ipe,number_counter:rpe,number_pattern:cpe,custom_javascript:lpe,portal_mode:dpe,attach_pdf:_pe,attach_documents:upe,attach_ubl:mpe,email_style:ppe,processed:hpe,fee_amount:fpe,fee_percent:gpe,fee_cap:vpe,limits_and_fees:ype,credentials:bpe,require_billing_address_help:wpe,require_shipping_address_help:kpe,deleted_tax_rate:xpe,restored_tax_rate:Cpe,provider:Spe,company_gateway:Epe,company_gateways:Tpe,new_company_gateway:Ppe,edit_company_gateway:Ape,created_company_gateway:Npe,updated_company_gateway:Ipe,archived_company_gateway:Dpe,deleted_company_gateway:$pe,restored_company_gateway:Rpe,continue_editing:Vpe,default_value:qpe,currency_format:Lpe,first_day_of_the_week:Ope,first_month_of_the_year:Mpe,symbol:jpe,ocde:Fpe,date_format:Bpe,datetime_format:zpe,send_reminders:Upe,timezone:Hpe,filtered_by_group:Gpe,filtered_by_invoice:Wpe,filtered_by_client:Kpe,filtered_by_vendor:Qpe,group_settings:Ype,groups:Xpe,new_group:Jpe,edit_group:Zpe,created_group:ehe,updated_group:the,archived_group:nhe,deleted_group:ahe,restored_group:she,upload_logo:ohe,uploaded_logo:ihe,saved_settings:rhe,device_settings:che,credit_cards_and_banks:lhe,price:dhe,email_sign_up:_he,google_sign_up:uhe,sign_up_with_google:mhe,long_press_multiselect:phe,migrate_to_next_version:hhe,migrate_intro_text:fhe,start_the_migration:ghe,migration:vhe,welcome_to_the_new_version:yhe,next_step_data_download:bhe,download_data:whe,continue:"Continue",company1:khe,company2:xhe,company3:Che,company4:She,product1:Ehe,product2:The,product3:Phe,product4:Ahe,client1:Nhe,client2:Ihe,client3:Dhe,client4:$he,contact1:Rhe,contact2:Vhe,contact3:qhe,contact4:Lhe,task1:Ohe,task2:Mhe,task3:jhe,task4:Fhe,project1:Bhe,project2:zhe,project3:Uhe,project4:Hhe,expense1:Ghe,expense2:Whe,expense3:Khe,expense4:Qhe,vendor1:Yhe,vendor2:Xhe,vendor3:Jhe,vendor4:Zhe,invoice1:efe,invoice2:tfe,invoice3:nfe,invoice4:afe,payment1:sfe,payment2:ofe,payment3:ife,payment4:rfe,surcharge1:cfe,surcharge2:lfe,surcharge3:dfe,surcharge4:_fe,group1:ufe,group2:mfe,group3:pfe,group4:hfe,number:ffe,count:gfe,is_active:vfe,contact_last_login:yfe,contact_full_name:bfe,contact_custom_value1:wfe,contact_custom_value2:kfe,contact_custom_value3:xfe,contact_custom_value4:Cfe,assigned_to_id:Sfe,created_by_id:Efe,add_column:Tfe,edit_columns:Pfe,to_learn_about_gogle_fonts:Afe,refund_date:Nfe,multiselect:Ife,verify_password:Dfe,applied:$fe,include_recent_errors:Rfe,your_message_has_been_received:Vfe,show_product_details:qfe,show_product_details_help:Lfe,pdf_min_requirements:Ofe,adjust_fee_percent:Mfe,configure_settings:jfe,about:Ffe,credit_email:Bfe,domain_url:zfe,password_is_too_easy:Ufe,client_portal_tasks:Hfe,client_portal_dashboard:Gfe,please_enter_a_value:Wfe,deleted_logo:Kfe,generate_number:Qfe,when_saved:Yfe,when_sent:Xfe,select_company:Jfe,float:Zfe,collapse:ege,show_or_hide:tge,menu_sidebar:nge,history_sidebar:age,tablet:sge,layout:oge,module:ige,first_custom:rge,second_custom:cge,third_custom:lge,show_cost:dge,show_cost_help:_ge,show_product_quantity:uge,show_product_quantity_help:mge,show_invoice_quantity:pge,show_invoice_quantity_help:hge,default_quantity:fge,default_quantity_help:gge,one_tax_rate:vge,two_tax_rates:yge,three_tax_rates:bge,default_tax_rate:wge,invoice_tax:kge,line_item_tax:xge,inclusive_taxes:Cge,invoice_tax_rates:Sge,item_tax_rates:Ege,configure_rates:Tge,tax_settings_rates:Pge,accent_color:Age,comma_sparated_list:Nge,single_line_text:Ige,multi_line_text:Dge,dropdown:$ge,field_type:Rge,recover_password_email_sent:Vge,removed_user:qge,freq_three_years:Lge,military_time_help:Oge,click_here_capital:Mge,marked_invoice_as_paid:jge,marked_invoices_as_sent:Fge,marked_invoices_as_paid:Bge,activity_57:zge,custom_value3:Uge,custom_value4:Hge,email_style_custom:Gge,custom_message_dashboard:Wge,custom_message_unpaid_invoice:Kge,custom_message_paid_invoice:Qge,custom_message_unapproved_quote:Yge,lock_sent_invoices:Xge,translations:Jge,task_number_pattern:Zge,task_number_counter:eve,expense_number_pattern:tve,expense_number_counter:nve,vendor_number_pattern:ave,vendor_number_counter:sve,ticket_number_pattern:ove,ticket_number_counter:ive,payment_number_pattern:rve,payment_number_counter:cve,invoice_number_pattern:lve,quote_number_pattern:dve,client_number_pattern:_ve,client_number_counter:uve,credit_number_pattern:mve,credit_number_counter:pve,reset_counter_date:hve,counter_padding:fve,shared_invoice_quote_counter:gve,default_tax_name_1:vve,default_tax_rate_1:yve,default_tax_name_2:bve,default_tax_rate_2:wve,default_tax_name_3:kve,default_tax_rate_3:xve,email_subject_invoice:Cve,email_subject_quote:Sve,email_subject_payment:Eve,switch_list_table:Tve,client_city:Pve,client_state:Ave,client_country:Nve,client_is_active:Ive,client_balance:Dve,client_address1:$ve,client_address2:Rve,client_shipping_address1:Vve,client_shipping_address2:qve,tax_rate1:Lve,tax_rate2:Ove,tax_rate3:Mve,archived_at:jve,has_expenses:Fve,custom_taxes1:Bve,custom_taxes2:zve,custom_taxes3:Uve,custom_taxes4:Hve,custom_surcharge1:Gve,custom_surcharge2:Wve,custom_surcharge3:Kve,custom_surcharge4:Qve,is_deleted:Yve,vendor_city:Xve,vendor_state:Jve,vendor_country:Zve,credit_footer:eye,credit_terms:tye,untitled_company:nye,added_company:aye,supported_events:sye,custom3:oye,custom4:iye,optional:rye,license:cye,invoice_balance:lye,saved_design:dye,client_details:_ye,company_address:uye,quote_details:mye,credit_details:pye,product_columns:hye,task_columns:fye,add_field:gye,all_events:vye,owned:yye,payment_success:bye,payment_failure:wye,quote_sent:kye,credit_sent:xye,invoice_viewed:Cye,quote_viewed:Sye,credit_viewed:Eye,quote_approved:Tye,receive_all_notifications:Pye,purchase_license:Aye,enable_modules:Nye,converted_quote:Iye,credit_design:Dye,includes:$ye,css_framework:Rye,custom_designs:Vye,designs:qye,new_design:Lye,edit_design:Oye,created_design:Mye,updated_design:jye,archived_design:Fye,deleted_design:Bye,removed_design:zye,restored_design:Uye,recurring_tasks:Hye,removed_credit:Gye,latest_version:Wye,update_now:Kye,a_new_version_is_available:Qye,update_available:Yye,app_updated:Xye,integrations:Jye,tracking_id:Zye,slack_webhook_url:ebe,partial_payment:tbe,partial_payment_email:nbe,clone_to_credit:abe,emailed_credit:sbe,marked_credit_as_sent:obe,email_subject_payment_partial:ibe,is_approved:rbe,migration_went_wrong:cbe,cross_migration_message:lbe,email_credit:dbe,client_email_not_set:_be,ledger:ube,view_pdf:mbe,all_records:pbe,owned_by_user:hbe,credit_remaining:fbe,use_default:gbe,reminder_endless:vbe,number_of_days:ybe,configure_payment_terms:bbe,payment_term:wbe,new_payment_term:kbe,deleted_payment_term:xbe,removed_payment_term:Cbe,restored_payment_term:Sbe,full_width_editor:Ebe,full_height_filter:Tbe,email_sign_in:Pbe,change:Abe,change_to_mobile_layout:Nbe,change_to_desktop_layout:Ibe,send_from_gmail:Dbe,reversed:$be,cancelled:Rbe,quote_amount:Vbe,hosted:qbe,selfhosted:Lbe,hide_menu:Obe,show_menu:Mbe,partially_refunded:jbe,search_documents:Fbe,search_designs:Bbe,search_invoices:zbe,search_clients:Ube,search_products:Hbe,search_quotes:Gbe,search_credits:Wbe,search_vendors:Kbe,search_users:Qbe,search_tax_rates:Ybe,search_tasks:Xbe,search_settings:Jbe,search_projects:Zbe,search_expenses:ewe,search_payments:twe,search_groups:nwe,search_company:awe,cancelled_invoice:swe,cancelled_invoices:owe,reversed_invoice:iwe,reversed_invoices:rwe,reverse:cwe,filtered_by_project:lwe,google_sign_in:dwe,activity_58:_we,activity_59:uwe,payment_reconciliation_failure:mwe,payment_reconciliation_success:pwe,gateway_success:hwe,gateway_failure:fwe,gateway_error:gwe,email_send:vwe,email_retry_queue:ywe,failure:bwe,quota_exceeded:wwe,upstream_failure:kwe,system_logs:xwe,copy_link:Cwe,welcome_to_invoice_ninja:Swe,optin:Ewe,optout:Twe,auto_convert:Pwe,reminder1_sent:Awe,reminder2_sent:Nwe,reminder3_sent:Iwe,reminder_last_sent:Dwe,pdf_page_info:$we,emailed_credits:Rwe,view_in_stripe:Vwe,rows_per_page:qwe,apply_payment:Lwe,unapplied:Owe,custom_labels:Mwe,record_type:jwe,record_name:Fwe,file_type:Bwe,height:zwe,width:Uwe,health_check:Hwe,last_login_at:Gwe,company_key:Wwe,storefront:Kwe,storefront_help:Qwe,count_records_selected:Ywe,count_record_selected:Xwe,client_created:Jwe,online_payment_email:Zwe,manual_payment_email:eke,completed:tke,gross:nke,net_amount:ake,net_balance:ske,client_settings:oke,selected_invoices:ike,selected_payments:rke,selected_quotes:cke,selected_tasks:lke,selected_expenses:dke,past_due_invoices:_ke,create_payment:uke,update_quote:mke,update_invoice:pke,update_client:hke,update_vendor:fke,create_expense:gke,update_expense:vke,update_task:yke,approve_quote:bke,when_paid:wke,expires_on:kke,show_sidebar:xke,hide_sidebar:Cke,event_type:Ske,copy:Eke,must_be_online:Tke,crons_not_enabled:Pke,api_webhooks:Ake,search_webhooks:Nke,search_webhook:Ike,webhook:Dke,webhooks:$ke,new_webhook:Rke,edit_webhook:Vke,created_webhook:qke,updated_webhook:Lke,archived_webhook:Oke,deleted_webhook:Mke,removed_webhook:jke,restored_webhook:Fke,search_tokens:Bke,search_token:zke,new_token:Uke,removed_token:Hke,restored_token:Gke,client_registration:Wke,client_registration_help:Kke,customize_and_preview:Qke,search_document:Yke,search_design:Xke,search_invoice:Jke,search_client:Zke,search_product:exe,search_quote:txe,search_credit:nxe,search_vendor:axe,search_user:sxe,search_tax_rate:oxe,search_task:ixe,search_project:rxe,search_expense:cxe,search_payment:lxe,search_group:dxe,created_on:_xe,"payment_status_-1":"Unapplied",lock_invoices:uxe,show_table:mxe,show_list:pxe,view_changes:hxe,force_update:fxe,force_update_help:gxe,mark_paid_help:vxe,mark_invoiceable_help:yxe,add_documents_to_invoice_help:bxe,convert_currency_help:wxe,expense_settings:kxe,clone_to_recurring:xxe,crypto:Cxe,user_field:Sxe,variables:Exe,show_password:Txe,hide_password:Pxe,copy_error:Axe,capture_card:Nxe,auto_bill_enabled:Ixe,total_taxes:Dxe,line_taxes:$xe,total_fields:Rxe,stopped_recurring_invoice:Vxe,started_recurring_invoice:qxe,resumed_recurring_invoice:Lxe,gateway_refund:Oxe,gateway_refund_help:Mxe,due_date_days:jxe,paused:Fxe,day_count:Bxe,first_day_of_the_month:zxe,last_day_of_the_month:Uxe,use_payment_terms:Hxe,endless:Gxe,next_send_date:Wxe,remaining_cycles:Kxe,created_recurring_invoice:Qxe,updated_recurring_invoice:Yxe,removed_recurring_invoice:Xxe,search_recurring_invoice:Jxe,search_recurring_invoices:Zxe,send_date:eCe,auto_bill_on:tCe,minimum_under_payment_amount:nCe,allow_over_payment:aCe,allow_over_payment_help:sCe,allow_under_payment:oCe,allow_under_payment_help:iCe,test_mode:rCe,calculated_rate:cCe,default_task_rate:lCe,clear_cache:dCe,sort_order:_Ce,task_status:uCe,task_statuses:mCe,new_task_status:pCe,edit_task_status:hCe,created_task_status:fCe,archived_task_status:gCe,deleted_task_status:vCe,removed_task_status:yCe,restored_task_status:bCe,search_task_status:wCe,search_task_statuses:kCe,show_tasks_table:xCe,show_tasks_table_help:CCe,invoice_task_timelog:SCe,invoice_task_timelog_help:ECe,auto_start_tasks_help:TCe,configure_statuses:PCe,task_settings:ACe,configure_categories:NCe,edit_expense_category:ICe,removed_expense_category:DCe,search_expense_category:$Ce,search_expense_categories:RCe,use_available_credits:VCe,show_option:qCe,negative_payment_error:LCe,should_be_invoiced_help:OCe,configure_gateways:MCe,payment_partial:jCe,is_running:FCe,invoice_currency_id:BCe,tax_name1:zCe,tax_name2:UCe,transaction_id:HCe,invoice_late:GCe,quote_expired:WCe,recurring_invoice_total:KCe,actions:QCe,expense_number:YCe,task_number:XCe,project_number:JCe,view_settings:ZCe,company_disabled_warning:eSe,late_invoice:tSe,expired_quote:nSe,remind_invoice:aSe,client_phone:sSe,required_fields:oSe,enabled_modules:iSe,activity_60:rSe,activity_61:cSe,activity_62:lSe,activity_63:dSe,activity_64:_Se,activity_65:uSe,activity_66:mSe,expense_category_id:pSe,view_licenses:hSe,fullscreen_editor:fSe,sidebar_editor:gSe,please_type_to_confirm:vSe,purge:ySe,clone_to:bSe,clone_to_other:wSe,labels:kSe,add_custom:xSe,payment_tax:CSe,white_label:SSe,sent_invoices_are_locked:ESe,paid_invoices_are_locked:TSe,source_code:PSe,app_platforms:ASe,archived_task_statuses:NSe,deleted_task_statuses:ISe,restored_task_statuses:DSe,deleted_expense_categories:$Se,restored_expense_categories:RSe,archived_recurring_invoices:VSe,deleted_recurring_invoices:qSe,restored_recurring_invoices:LSe,archived_webhooks:OSe,deleted_webhooks:MSe,removed_webhooks:jSe,restored_webhooks:FSe,api_docs:BSe,archived_tokens:zSe,deleted_tokens:USe,restored_tokens:HSe,archived_payment_terms:GSe,deleted_payment_terms:WSe,restored_payment_terms:KSe,archived_designs:QSe,deleted_designs:YSe,restored_designs:XSe,restored_credits:JSe,archived_users:ZSe,deleted_users:e1e,removed_users:t1e,restored_users:n1e,archived_tax_rates:a1e,deleted_tax_rates:s1e,restored_tax_rates:o1e,archived_company_gateways:i1e,deleted_company_gateways:r1e,restored_company_gateways:c1e,archived_groups:l1e,deleted_groups:d1e,restored_groups:_1e,archived_documents:u1e,deleted_documents:m1e,restored_documents:p1e,restored_vendors:h1e,restored_expenses:f1e,restored_tasks:g1e,restored_projects:v1e,restored_products:y1e,restored_clients:b1e,restored_invoices:w1e,restored_payments:k1e,restored_quotes:x1e,update_app:C1e,started_import:S1e,duplicate_column_mapping:E1e,uses_inclusive_taxes:T1e,is_amount_discount:P1e,map_to:A1e,first_row_as_column_names:N1e,no_file_selected:I1e,import_type:D1e,draft_mode:$1e,draft_mode_help:R1e,show_product_discount:V1e,show_product_discount_help:q1e,tax_name3:L1e,debug_mode_is_enabled:O1e,debug_mode_is_enabled_help:M1e,running_tasks:j1e,recent_tasks:F1e,recent_expenses:B1e,upcoming_expenses:z1e,search_payment_term:U1e,search_payment_terms:H1e,save_and_preview:G1e,save_and_email:W1e,converted_balance:K1e,is_sent:Q1e,document_upload:Y1e,document_upload_help:X1e,expense_total:J1e,enter_taxes:Z1e,by_rate:e0e,by_amount:t0e,enter_amount:n0e,before_taxes:a0e,after_taxes:s0e,color:o0e,show:i0e,empty_columns:r0e,project_name:c0e,counter_pattern_error:l0e,this_quarter:d0e,to_update_run:_0e,registration_url:u0e,show_product_cost:m0e,complete:p0e,next:h0e,next_step:f0e,notification_credit_sent_subject:g0e,notification_credit_viewed_subject:v0e,notification_credit_sent:y0e,notification_credit_viewed:b0e,reset_password_text:w0e,password_reset:k0e,account_login_text:x0e,request_cancellation:C0e,delete_payment_method:S0e,about_to_delete_payment_method:E0e,action_cant_be_reversed:T0e,profile_updated_successfully:P0e,currency_ethiopian_birr:A0e,client_information_text:N0e,status_id:I0e,email_already_register:D0e,locations:$0e,freq_indefinitely:R0e,cycles_remaining:V0e,i_understand_delete:q0e,download_files:L0e,download_timeframe:O0e,new_signup:M0e,new_signup_text:j0e,notification_payment_paid_subject:F0e,notification_partial_payment_paid_subject:B0e,notification_payment_paid:z0e,notification_partial_payment_paid:U0e,notification_bot:H0e,invoice_number_placeholder:G0e,entity_number_placeholder:W0e,email_link_not_working:K0e,display_log:Q0e,send_fail_logs_to_our_server:Y0e,setup:X0e,quick_overview_statistics:J0e,update_your_personal_info:Z0e,name_website_logo:eEe,make_sure_use_full_link:tEe,personal_address:nEe,enter_your_personal_address:aEe,enter_your_shipping_address:sEe,list_of_invoices:oEe,with_selected:iEe,invoice_still_unpaid:rEe,list_of_recurring_invoices:cEe,details_of_recurring_invoice:lEe,cancellation:dEe,about_cancellation:_Ee,cancellation_warning:uEe,cancellation_pending:mEe,list_of_payments:pEe,payment_details:hEe,list_of_payment_invoices:fEe,list_of_payment_methods:gEe,payment_method_details:vEe,permanently_remove_payment_method:yEe,warning_action_cannot_be_reversed:bEe,confirmation:wEe,list_of_quotes:kEe,waiting_for_approval:xEe,quote_still_not_approved:CEe,list_of_credits:SEe,required_extensions:EEe,php_version:TEe,writable_env_file:PEe,env_not_writable:AEe,minumum_php_version:NEe,satisfy_requirements:IEe,oops_issues:DEe,open_in_new_tab:$Ee,complete_your_payment:REe,authorize_for_future_use:VEe,page:qEe,per_page:LEe,of:OEe,view_credit:MEe,to_view_entity_password:jEe,showing_x_of:FEe,no_results:BEe,payment_failed_subject:zEe,payment_failed_body:UEe,register:HEe,register_label:GEe,password_confirmation:WEe,verification:KEe,complete_your_bank_account_verification:QEe,checkout_com:YEe,footer_label:XEe,credit_card_invalid:JEe,month_invalid:ZEe,year_invalid:eTe,https_required:tTe,if_you_need_help:nTe,update_password_on_confirm:aTe,bank_account_not_linked:sTe,application_settings_label:oTe,recommended_in_production:iTe,enable_only_for_development:rTe,test_pdf:cTe,checkout_authorize_label:lTe,sofort_authorize_label:dTe,node_status:_Te,npm_status:uTe,node_status_not_found:mTe,npm_status_not_found:pTe,locked_invoice:hTe,downloads:fTe,resource:gTe,document_details:vTe,hash:yTe,resources:bTe,allowed_file_types:wTe,common_codes:kTe,payment_error_code_20087:xTe,download_selected:CTe,to_pay_invoices:STe,add_payment_method_first:ETe,no_items_selected:TTe,payment_due:PTe,account_balance:ATe,thanks:NTe,minimum_required_payment:ITe,under_payments_disabled:DTe,over_payments_disabled:$Te,saved_at:RTe,credit_payment:VTe,credit_subject:qTe,credit_message:LTe,payment_type_Crypto:OTe,payment_type_Credit:MTe,store_for_future_use:jTe,pay_with_credit:FTe,payment_method_saving_failed:BTe,pay_with:zTe,"n/a":"N/A",by_clicking_next_you_accept_terms:UTe,not_specified:HTe,before_proceeding_with_payment_warning:GTe,after_completing_go_back_to_previous_page:WTe,pay:KTe,instructions:QTe,notification_invoice_reminder1_sent_subject:YTe,notification_invoice_reminder2_sent_subject:XTe,notification_invoice_reminder3_sent_subject:JTe,notification_invoice_custom_sent_subject:ZTe,notification_invoice_reminder_endless_sent_subject:ePe,assigned_user:tPe,setup_steps_notice:nPe,setup_phantomjs_note:aPe,minimum_payment:sPe,no_action_provided:oPe,no_payable_invoices_selected:iPe,required_payment_information:rPe,required_payment_information_more:cPe,required_client_info_save_label:lPe,notification_credit_bounced:dPe,notification_credit_bounced_subject:_Pe,save_payment_method_details:uPe,new_card:mPe,new_bank_account:pPe,company_limit_reached:hPe,credits_applied_validation:fPe,credit_number_taken:gPe,credit_not_found:vPe,invoices_dont_match_client:yPe,duplicate_credits_submitted:bPe,duplicate_invoices_submitted:wPe,credit_with_no_invoice:kPe,client_id_required:xPe,expense_number_taken:CPe,invoice_number_taken:SPe,payment_id_required:EPe,unable_to_retrieve_payment:TPe,invoice_not_related_to_payment:PPe,credit_not_related_to_payment:APe,max_refundable_invoice:NPe,refund_without_invoices:IPe,refund_without_credits:DPe,max_refundable_credit:$Pe,project_client_do_not_match:RPe,quote_number_taken:VPe,recurring_invoice_number_taken:qPe,user_not_associated_with_account:LPe,amounts_do_not_balance:OPe,insufficient_applied_amount_remaining:MPe,insufficient_credit_balance:jPe,one_or_more_invoices_paid:FPe,invoice_cannot_be_refunded:BPe,attempted_refund_failed:zPe,user_not_associated_with_this_account:UPe,migration_completed:HPe,migration_completed_description:GPe,api_404:WPe,large_account_update_parameter:KPe,no_backup_exists:QPe,company_user_not_found:YPe,no_credits_found:XPe,action_unavailable:JPe,no_documents_found:ZPe,no_group_settings_found:e2e,access_denied:t2e,invoice_cannot_be_marked_paid:n2e,invoice_license_or_environment:a2e,route_not_available:s2e,invalid_design_object:o2e,quote_not_found:i2e,quote_unapprovable:r2e,scheduler_has_run:c2e,scheduler_has_never_run:l2e,self_update_not_available:d2e,user_detached:_2e,create_webhook_failure:u2e,payment_message_extended:m2e,online_payments_minimum_note:p2e,payment_token_not_found:h2e,vendor_address1:f2e,vendor_address2:g2e,partially_unapplied:v2e,select_a_gmail_user:y2e,list_long_press:b2e,show_actions:w2e,start_multiselect:k2e,email_sent_to_confirm_email:x2e,converted_paid_to_date:C2e,converted_credit_balance:S2e,converted_total:E2e,reply_to_name:T2e,"payment_status_-2":"Partially Unapplied",color_theme:P2e,start_migration:A2e,recurring_cancellation_request:N2e,recurring_cancellation_request_body:I2e,hello:D2e,group_documents:$2e,quote_approval_confirmation_label:R2e,migration_select_company_label:V2e,force_migration:q2e,require_password_with_social_login:L2e,stay_logged_in:O2e,session_about_to_expire:M2e,count_hours:j2e,count_day:F2e,count_days:B2e,web_session_timeout:z2e,security_settings:U2e,resend_email:H2e,confirm_your_email_address:G2e,freshbooks:W2e,invoice2go:K2e,invoicely:Q2e,waveaccounting:Y2e,zoho:X2e,accounting:J2e,required_files_missing:Z2e,migration_auth_label:eAe,api_secret:tAe,migration_api_secret_notice:nAe,billing_coupon_notice:aAe,use_last_email:sAe,activate_company:oAe,activate_company_help:iAe,an_error_occurred_try_again:rAe,please_first_set_a_password:cAe,changing_phone_disables_two_factor:lAe,help_translate:dAe,please_select_a_country:_Ae,disabled_two_factor:uAe,connected_google:mAe,disconnected_google:pAe,delivered:hAe,spam:fAe,view_docs:gAe,enter_phone_to_enable_two_factor:vAe,send_sms:yAe,sms_code:bAe,connect_google:wAe,disconnect_google:kAe,disable_two_factor:xAe,invoice_task_datelog:CAe,invoice_task_datelog_help:SAe,promo_code:EAe,recurring_invoice_issued_to:TAe,subscription:PAe,new_subscription:AAe,deleted_subscription:NAe,removed_subscription:IAe,restored_subscription:DAe,search_subscription:$Ae,search_subscriptions:RAe,subdomain_is_not_available:VAe,connect_gmail:qAe,disconnect_gmail:LAe,connected_gmail:OAe,disconnected_gmail:MAe,update_fail_help:jAe,client_id_number:FAe,count_minutes:BAe,password_timeout:zAe,shared_invoice_credit_counter:UAe,activity_80:HAe,activity_81:GAe,activity_82:WAe,activity_83:KAe,activity_84:QAe,amount_greater_than_balance_v5:YAe,click_to_continue:XAe,notification_invoice_created_body:JAe,notification_invoice_created_subject:ZAe,notification_quote_created_body:eNe,notification_quote_created_subject:tNe,notification_credit_created_body:nNe,notification_credit_created_subject:aNe,max_companies:sNe,max_companies_desc:oNe,migration_already_completed:iNe,migration_already_completed_desc:rNe,payment_method_cannot_be_authorized_first:cNe,new_account:lNe,activity_100:dNe,activity_101:_Ne,activity_102:uNe,activity_103:mNe,activity_104:pNe,new_login_detected:hNe,new_login_description:fNe,contact_details:gNe,download_backup_subject:vNe,account_passwordless_login:yNe,user_duplicate_error:bNe,user_cross_linked_error:wNe,ach_verification_notification_label:kNe,ach_verification_notification:xNe,login_link_requested_label:CNe,login_link_requested:SNe,invoices_backup_subject:ENe,migration_failed_label:TNe,migration_failed:PNe,client_email_company_contact_label:ANe,quote_was_approved_label:NNe,quote_was_approved:INe,company_import_failure_subject:DNe,company_import_failure_body:$Ne,recurring_invoice_due_date:RNe,amount_cents:VNe,default_payment_method_label:qNe,default_payment_method:LNe,already_default_payment_method:ONe,auto_bill_disabled:MNe,select_payment_method:jNe,login_without_password:FNe,email_sent:BNe,one_time_purchases:zNe,recurring_purchases:UNe,you_might_be_interested_in_following:HNe,quotes_with_status_sent_can_be_approved:GNe,no_quotes_available_for_download:WNe,copyright:KNe,user_created_user:QNe,company_deleted:YNe,company_deleted_body:XNe,back_to:JNe,stripe_connect_migration_title:ZNe,stripe_connect_migration_desc:eIe,email_quota_exceeded_subject:tIe,email_quota_exceeded_body:nIe,auto_bill_option:aIe,lang_Arabic:sIe,lang_Persian:oIe,lang_Latvian:iIe,expiry_date:rIe,cardholder_name:cIe,recurring_quote_number_taken:lIe,account_type:dIe,locality:_Ie,checking:uIe,savings:mIe,unable_to_verify_payment_method:pIe,generic_gateway_error:hIe,my_documents:fIe,payment_method_cannot_be_preauthorized:gIe,kbc_cbc:vIe,bancontact:yIe,sepa_mandat:bIe,ideal:wIe,bank_account_holder:kIe,aio_checkout:xIe,przelewy24:CIe,przelewy24_accept:SIe,giropay:EIe,giropay_law:TIe,klarna:PIe,eps:AIe,becs:NIe,bacs:IIe,payment_type_BACS:DIe,missing_payment_method:$Ie,becs_mandate:RIe,you_need_to_accept_the_terms_before_proceeding:VIe,direct_debit:qIe,clone_to_expense:LIe,checkout:OIe,acss:MIe,invalid_amount:jIe,client_payment_failure_body:FIe,browser_pay:BIe,no_available_methods:zIe,gocardless_mandate_not_ready:UIe,payment_type_instant_bank_pay:HIe,payment_type_iDEAL:GIe,payment_type_Przelewy24:WIe,"payment_type_Mollie Bank Transfer":"Mollie Bank Transfer","payment_type_KBC/CBC":"KBC/CBC","payment_type_Instant Bank Pay":"Instant Bank Pay","payment_type_Hosted Page":"Hosted Page",payment_type_GiroPay:KIe,payment_type_EPS:QIe,"payment_type_Direct Debit":"Direct Debit",payment_type_Bancontact:YIe,payment_type_BECS:XIe,payment_type_ACSS:JIe,gross_line_total:ZIe,lang_Slovak:e3e,normal:t3e,large:n3e,extra_large:a3e,show_pdf_preview:s3e,show_pdf_preview_help:o3e,print_pdf:i3e,remind_me:r3e,instant_bank_pay:c3e,click_selected:l3e,hide_preview:d3e,edit_record:_3e,credit_is_more_than_invoice:u3e,please_set_a_password:m3e,recommend_desktop:p3e,recommend_mobile:h3e,disconnected_gateway:f3e,disconnect:g3e,add_to_invoices:v3e,bulk_download:y3e,persist_data_help:b3e,persist_ui:w3e,persist_ui_help:k3e,client_postal_code:x3e,client_vat_number:C3e,has_tasks:S3e,registration:E3e,unauthorized_stripe_warning:T3e,update_all_records:P3e,set_default_company:A3e,updated_company:N3e,kbc:I3e,why_are_you_leaving:D3e,webhook_success:$3e,error_cross_client_tasks:R3e,error_cross_client_expenses:V3e,app:q3e,for_best_performance:L3e,bulk_email_invoice:O3e,bulk_email_quote:M3e,bulk_email_credit:j3e,removed_recurring_expense:F3e,search_recurring_expense:B3e,search_recurring_expenses:z3e,last_sent_date:U3e,include_drafts:H3e,include_drafts_help:G3e,is_invoiced:W3e,change_plan:K3e,persist_data:Q3e,customer_count:Y3e,verify_customers:X3e,google_analytics_tracking_id:J3e,decimal_comma:Z3e,use_comma_as_decimal_place:eDe,select_method:tDe,select_platform:nDe,use_web_app_to_connect_gmail:aDe,expense_tax_help:sDe,enable_markdown:oDe,enable_markdown_help:iDe,add_second_contact:rDe,previous_page:cDe,next_page:lDe,export_colors:dDe,import_colors:_De,clear_all:uDe,contrast:mDe,custom_colors:pDe,colors:hDe,sidebar_active_background_color:fDe,sidebar_active_font_color:gDe,sidebar_inactive_background_color:vDe,sidebar_inactive_font_color:yDe,table_alternate_row_background_color:bDe,invoice_header_background_color:wDe,invoice_header_font_color:kDe,review_app:xDe,check_status:CDe,free_trial:SDe,free_trial_help:EDe,free_trial_ends_in_days:TDe,free_trial_ends_today:PDe,change_email:ADe,client_portal_domain_hint:NDe,tasks_shown_in_portal:IDe,uninvoiced:DDe,subdomain_guide:$De,send_time:RDe,import_settings:VDe,json_file_missing:qDe,json_option_missing:LDe,json:ODe,no_payment_types_enabled:MDe,wait_for_data:jDe,net_total:FDe,has_taxes:BDe,import_customers:zDe,imported_customers:UDe,login_success:HDe,login_failure:GDe,exported_data:WDe,include_deleted_clients:KDe,include_deleted_clients_help:QDe,step_1_sign_in:YDe,step_2_authorize:XDe,account_id:JDe,migration_not_yet_completed:ZDe,show_task_end_date:e$e,show_task_end_date_help:t$e,gateway_setup:n$e,preview_sidebar:a$e,years_data_shown:s$e,ended_all_sessions:o$e,end_all_sessions:i$e,count_session:r$e,count_sessions:c$e,invoice_created:l$e,quote_created:d$e,credit_created:_$e,enterprise:u$e,invoice_item:m$e,quote_item:p$e,order:h$e,search_kanban:f$e,search_kanbans:g$e,move_top:v$e,move_up:y$e,move_down:b$e,move_bottom:w$e,body_variable_missing:k$e,add_body_variable_message:x$e,view_date_formats:C$e,is_viewed:S$e,letter:E$e,legal:T$e,page_layout:P$e,portrait:A$e,landscape:N$e,owner_upgrade_to_paid_plan:I$e,upgrade_to_paid_plan:D$e,invoice_payment_terms:$$e,quote_valid_until:R$e,no_headers:V$e,add_header:q$e,remove_header:L$e,return_url:O$e,rest_method:M$e,header_key:j$e,header_value:F$e,recurring_products:B$e,promo_discount:z$e,allow_cancellation:U$e,per_seat_enabled:H$e,max_seats_limit:G$e,trial_enabled:W$e,trial_duration:K$e,allow_query_overrides:Q$e,allow_plan_changes:Y$e,plan_map:X$e,refund_period:J$e,webhook_configuration:Z$e,purchase_page:eRe,email_bounced:tRe,email_spam_complaint:nRe,email_delivery:aRe,webhook_response:sRe,pdf_response:oRe,authentication_failure:iRe,pdf_failed:rRe,pdf_success:cRe,modified:lRe,html_mode:dRe,html_mode_help:_Re,status_color_theme:uRe,load_color_theme:mRe,lang_Estonian:pRe,marked_credit_as_paid:hRe,marked_credits_as_paid:fRe,wait_for_loading:gRe,wait_for_saving:vRe,html_preview_warning:yRe,remaining:bRe,invoice_paid:wRe,activity_120:kRe,activity_121:xRe,activity_122:CRe,activity_123:SRe,activity_124:ERe,fpx:TRe,to_view_entity_set_password:PRe,unsubscribe:ARe,unsubscribed:NRe,unsubscribed_text:IRe,client_shipping_state:DRe,client_shipping_city:$Re,client_shipping_postal_code:RRe,client_shipping_country:VRe,load_pdf:qRe,start_free_trial:LRe,start_free_trial_message:ORe,due_on_receipt:MRe,is_paid:jRe,age_group_paid:FRe,id:BRe,convert_to:zRe,client_currency:URe,company_currency:HRe,custom_emails_disabled_help:GRe,upgrade_to_add_company:WRe,file_saved_in_downloads_folder:KRe,small:QRe,quotes_backup_subject:YRe,credits_backup_subject:XRe,document_download_subject:JRe,reminder_message:ZRe,gmail_credentials_invalid_subject:eVe,gmail_credentials_invalid_body:tVe,total_columns:nVe,view_task:aVe,cancel_invoice:sVe,changed_status:oVe,change_status:iVe,enable_touch_events:rVe,enable_touch_events_help:cVe,after_saving:lVe,view_record:dVe,enable_email_markdown:_Ve,enable_email_markdown_help:uVe,enable_pdf_markdown:mVe,json_help:pVe,release_notes:hVe,upgrade_to_view_reports:fVe,started_tasks:gVe,stopped_tasks:vVe,approved_quote:yVe,approved_quotes:bVe,client_website:wVe,invalid_time:kVe,signed_in_as:xVe,total_results:CVe,restore_company_gateway:SVe,archive_company_gateway:EVe,delete_company_gateway:TVe,exchange_currency:PVe,tax_amount1:AVe,tax_amount2:NVe,tax_amount3:IVe,update_project:DVe,auto_archive_invoice_cancelled:$Ve,auto_archive_invoice_cancelled_help:RVe,no_invoices_found:VVe,created_record:qVe,auto_archive_paid_invoices:LVe,auto_archive_paid_invoices_help:OVe,auto_archive_cancelled_invoices:MVe,auto_archive_cancelled_invoices_help:jVe,alternate_pdf_viewer:FVe,alternate_pdf_viewer_help:BVe,currency_cayman_island_dollar:zVe,download_report_description:UVe,left:HVe,right:GVe,center:WVe,page_numbering:KVe,page_numbering_alignment:QVe,invoice_sent_notification_label:YVe,show_product_description:XVe,show_product_description_help:JVe,invoice_items:ZVe,quote_items:e4e,profitloss:t4e,import_format:n4e,export_format:a4e,export_type:s4e,stop_on_unpaid:o4e,stop_on_unpaid_help:i4e,use_quote_terms:r4e,use_quote_terms_help:c4e,add_country:l4e,enable_tooltips:d4e,enable_tooltips_help:_4e,multiple_client_error:u4e,login_label:m4e,purchase_order:p4e,purchase_order_number:h4e,purchase_order_number_short:f4e,inventory_notification_subject:g4e,inventory_notification_body:v4e,activity_130:y4e,activity_131:b4e,activity_132:w4e,activity_133:k4e,activity_134:x4e,activity_135:C4e,activity_136:S4e,purchase_order_subject:E4e,purchase_order_message:T4e,view_purchase_order:P4e,purchase_orders_backup_subject:A4e,notification_purchase_order_viewed_subject:N4e,notification_purchase_order_viewed:I4e,purchase_order_date:D4e,purchase_orders:$4e,purchase_order_number_placeholder:R4e,accepted:V4e,activity_137:q4e,vendor_information:L4e,notification_purchase_order_accepted_subject:O4e,notification_purchase_order_accepted:M4e,amount_received:j4e,purchase_order_already_expensed:F4e,convert_to_expense:B4e,add_to_inventory:z4e,added_purchase_order_to_inventory:U4e,added_purchase_orders_to_inventory:H4e,client_document_upload:G4e,vendor_document_upload:W4e,vendor_document_upload_help:K4e,are_you_enjoying_the_app:Q4e,yes_its_great:Y4e,not_so_much:X4e,would_you_rate_it:J4e,would_you_tell_us_more:Z4e,sure_happy_to:eqe,no_not_now:tqe,add:nqe,last_sent_template:aqe,enable_flexible_search:sqe,enable_flexible_search_help:oqe,vendor_details:iqe,purchase_order_details:rqe,qr_iban:cqe,besr_id:lqe,clone_to_purchase_order:dqe,vendor_email_not_set:_qe,bulk_send_email:uqe,marked_purchase_order_as_sent:mqe,marked_purchase_orders_as_sent:pqe,accepted_purchase_order:hqe,accepted_purchase_orders:fqe,cancelled_purchase_order:gqe,cancelled_purchase_orders:vqe,please_select_a_vendor:yqe,purchase_order_total:bqe,email_purchase_order:wqe,bulk_email_purchase_order:kqe,disconnected_email:xqe,connect_email:Cqe,disconnect_email:Sqe,use_web_app_to_connect_microsoft:Eqe,email_provider:Tqe,connect_microsoft:Pqe,disconnect_microsoft:Aqe,connected_microsoft:Nqe,disconnected_microsoft:Iqe,microsoft_sign_in:Dqe,microsoft_sign_up:$qe,emailed_purchase_order:Rqe,emailed_purchase_orders:Vqe,enable_react_app:qqe,purchase_order_design:Lqe,purchase_order_terms:Oqe,purchase_order_footer:Mqe,require_purchase_order_signature:jqe,require_purchase_order_signature_help:Fqe,new_purchase_order:Bqe,edit_purchase_order:zqe,created_purchase_order:Uqe,updated_purchase_order:Hqe,archived_purchase_order:Gqe,deleted_purchase_order:Wqe,removed_purchase_order:Kqe,restored_purchase_order:Qqe,search_purchase_order:Yqe,search_purchase_orders:Xqe,login_url:Jqe,enable_applying_payments:Zqe,enable_applying_payments_help:eLe,stock_quantity:tLe,notification_threshold:nLe,track_inventory:aLe,track_inventory_help:sLe,stock_notifications:oLe,stock_notifications_help:iLe,vat:rLe,view_map:cLe,set_default_design:lLe,purchase_order_issued_to:dLe,archive_task_status:_Le,delete_task_status:uLe,restore_task_status:mLe,lang_Hebrew:pLe,price_change_accepted:hLe,price_change_failed:fLe,restore_purchases:gLe,activate:vLe,connect_apple:yLe,disconnect_apple:bLe,disconnected_apple:wLe,send_now:kLe,received:xLe,converted_to_expense:CLe,converted_to_expenses:SLe,entity_removed:ELe,entity_removed_title:TLe,field:PLe,period:ALe,fields_per_row:NLe,total_active_invoices:ILe,total_outstanding_invoices:DLe,total_completed_payments:$Le,total_refunded_payments:RLe,total_active_quotes:VLe,total_approved_quotes:qLe,total_unapproved_quotes:LLe,total_logged_tasks:OLe,total_invoiced_tasks:MLe,total_paid_tasks:jLe,total_logged_expenses:FLe,total_pending_expenses:BLe,total_invoiced_expenses:zLe,total_invoice_paid_expenses:ULe,vendor_portal:HLe,send_code:GLe,save_to_upload_documents:WLe,expense_tax_rates:KLe,invoice_item_tax_rates:QLe,verified_phone_number:YLe,code_was_sent:XLe,resend:JLe,verify:ZLe,enter_phone_number:eOe,invalid_phone_number:tOe,verify_phone_number:nOe,verify_phone_number_help:aOe,merged_clients:sOe,merge_into:oOe,php81_required:iOe,bulk_email_purchase_orders:rOe,bulk_email_invoices:cOe,bulk_email_quotes:lOe,bulk_email_credits:dOe,archive_purchase_order:_Oe,restore_purchase_order:uOe,delete_purchase_order:mOe,connect:pOe,mark_paid_payment_email:hOe,convert_to_project:fOe,client_email:gOe,invoice_task_project:vOe,invoice_task_project_help:yOe,bulk_action:bOe,phone_validation_error:wOe,transaction:kOe,disable_2fa:xOe,change_number:COe,resend_code:SOe,base_type:EOe,category_type:TOe,bank_transaction:POe,bulk_print:AOe,vendor_postal_code:NOe,preview_location:IOe,bottom:DOe,side:$Oe,pdf_preview:ROe,long_press_to_select:VOe,purchase_order_item:qOe,would_you_rate_the_app:LOe,include_deleted:OOe,include_deleted_help:MOe,due_on:jOe,browser_pdf_viewer:FOe,browser_pdf_viewer_help:BOe,converted_transactions:zOe,default_category:UOe,connect_accounts:HOe,manage_rules:GOe,search_category:WOe,search_categories:KOe,min_amount:QOe,max_amount:YOe,converted_transaction:XOe,convert_to_payment:JOe,deposit:ZOe,withdrawal:eMe,deposits:tMe,withdrawals:nMe,matched:aMe,unmatched:sMe,create_credit:oMe,transactions:iMe,new_transaction:rMe,edit_transaction:cMe,created_transaction:lMe,updated_transaction:dMe,archived_transaction:_Me,deleted_transaction:uMe,removed_transaction:mMe,restored_transaction:pMe,search_transaction:hMe,search_transactions:fMe,deleted_bank_account:gMe,removed_bank_account:vMe,restored_bank_account:yMe,search_bank_account:bMe,search_bank_accounts:wMe,code_was_sent_to:kMe,verify_phone_number_2fa_help:xMe,enable_applying_payments_later:CMe,line_item_tax_rates:SMe,show_tasks_in_client_portal:EMe,notification_quote_expired_subject:TMe,notification_quote_expired:PMe,auto_sync:AMe,refresh_accounts:NMe,upgrade_to_connect_bank_account:IMe,click_here_to_connect_bank_account:DMe,include_tax:$Me,email_template_change:RMe,task_update_authorization_error:VMe,cash_vs_accrual:qMe,cash_vs_accrual_help:LMe,expense_paid_report:OMe,expense_paid_report_help:MMe,online_payment_email_help:jMe,manual_payment_email_help:FMe,mark_paid_payment_email_help:BMe,linked_transaction:zMe,link_payment:UMe,link_expense:HMe,lock_invoiced_tasks:GMe,lock_invoiced_tasks_help:WMe,registration_required_help:KMe,use_inventory_management:QMe,use_inventory_management_help:YMe,optional_products:XMe,optional_recurring_products:JMe,convert_matched:ZMe,auto_billed_invoice:e5e,auto_billed_invoices:t5e,operator:n5e,value:a5e,is:s5e,contains:o5e,starts_with:i5e,is_empty:r5e,add_rule:c5e,match_all_rules:l5e,match_all_rules_help:d5e,auto_convert_help:_5e,rules:u5e,transaction_rule:m5e,transaction_rules:p5e,new_transaction_rule:h5e,edit_transaction_rule:f5e,created_transaction_rule:g5e,updated_transaction_rule:v5e,archived_transaction_rule:y5e,deleted_transaction_rule:b5e,removed_transaction_rule:w5e,restored_transaction_rule:k5e,search_transaction_rule:x5e,search_transaction_rules:C5e,"payment_type_Interac E-Transfer":"Interac E-Transfer",delete_bank_account:S5e,archive_transaction:E5e,delete_transaction:T5e,otp_code_message:P5e,otp_code_subject:A5e,otp_code_body:N5e,delete_tax_rate:I5e,restore_tax_rate:D5e,company_backup_file:$5e,company_backup_file_help:R5e,backup_restore:V5e,export_company:q5e,backup:L5e,notification_purchase_order_created_body:O5e,notification_purchase_order_created_subject:M5e,notification_purchase_order_sent_subject:j5e,notification_purchase_order_sent:F5e,subscription_blocked:B5e,subscription_blocked_title:z5e,purchase_order_created:U5e,purchase_order_sent:H5e,purchase_order_viewed:G5e,purchase_order_accepted:W5e,credit_payment_error:K5e,convert_payment_currency_help:Q5e,convert_expense_currency_help:Y5e,matomo_url:X5e,matomo_id:J5e,action_add_to_invoice:Z5e,danger_zone:eje,import_completed:tje,client_statement_body:nje,email_queued:aje,clone_to_recurring_invoice:sje,inventory_threshold:oje,emailed_statement:ije,show_email_footer:rje,invoice_task_hours:cje,invoice_task_hours_help:lje,auto_bill_standard_invoices:dje,auto_bill_recurring_invoices:_je,email_alignment:uje,pdf_preview_location:mje,mailgun:pje,brevo:hje,postmark:fje,microsoft:gje,click_plus_to_create_record:vje,last365_days:yje,import_design:bje,imported_design:wje,invalid_design:kje,setup_wizard_logo:xje,installed_version:Cje,notify_vendor_when_paid:Sje,notify_vendor_when_paid_help:Eje,update_payment:Tje,markup:Pje,unlock_pro:Aje,upgrade_to_paid_plan_to_schedule:Nje,next_run:Ije,all_clients:Dje,show_aging_table:$je,show_payments_table:Rje,only_clients_with_invoices:Vje,email_statement:qje,once:Lje,schedules:Oje,new_schedule:Mje,edit_schedule:jje,created_schedule:Fje,updated_schedule:Bje,archived_schedule:zje,deleted_schedule:Uje,removed_schedule:Hje,restored_schedule:Gje,search_schedule:Wje,search_schedules:Kje,update_product:Qje,create_purchase_order:Yje,update_purchase_order:Xje,sent_invoice:Jje,sent_quote:Zje,sent_credit:eFe,sent_purchase_order:tFe,image_url:nFe,max_quantity:aFe,test_url:sFe,auto_bill_help_off:oFe,auto_bill_help_optin:iFe,auto_bill_help_optout:rFe,auto_bill_help_always:cFe,view_all:lFe,edit_all:dFe,accept_purchase_order_number:_Fe,accept_purchase_order_number_help:uFe,from_email:mFe,show_preview:pFe,show_paid_stamp:hFe,show_shipping_address:fFe,no_documents_to_download:gFe,pixels:vFe,logo_size:yFe,failed:bFe,client_contacts:wFe,sync_from:kFe,gateway_payment_text:xFe,gateway_payment_text_no_invoice:CFe,click_to_variables:SFe,ship_to:EFe,stripe_direct_debit_details:TFe,branch_name:PFe,branch_code:AFe,bank_name:NFe,bank_code:IFe,bic:DFe,change_plan_description:$Fe,add_company_logo:RFe,add_stripe:VFe,invalid_coupon:qFe,no_assigned_tasks:LFe,authorization_failure:OFe,authorization_sms_failure:MFe,white_label_body:jFe,payment_type_Klarna:FFe,"payment_type_Interac E Transfer":"Interac E Transfer",xinvoice_payable:BFe,xinvoice_no_buyers_reference:zFe,xinvoice_online_payment:UFe,pre_payment:HFe,number_of_payments:GFe,number_of_payments_helper:WFe,pre_payment_indefinitely:KFe,notification_payment_emailed:QFe,notification_payment_emailed_subject:YFe,record_not_found:XFe,minimum_payment_amount:JFe,client_initiated_payments:ZFe,client_initiated_payments_help:e6e,share_invoice_quote_columns:t6e,cc_email:n6e,payment_balance:a6e,view_report_permission:s6e,activity_138:o6e,one_time_products:i6e,optional_one_time_products:r6e,required:c6e,hidden:l6e,payment_links:d6e,payment_link:_6e,new_payment_link:u6e,edit_payment_link:m6e,created_payment_link:p6e,updated_payment_link:h6e,archived_payment_link:f6e,deleted_payment_link:g6e,removed_payment_link:v6e,restored_payment_link:y6e,search_payment_link:b6e,search_payment_links:w6e,increase_prices:k6e,update_prices:x6e,incresed_prices:C6e,updated_prices:S6e,api_token:E6e,api_key:T6e,endpoint:P6e,not_billable:A6e,allow_billable_task_items:N6e,allow_billable_task_items_help:I6e,show_task_item_description:D6e,show_task_item_description_help:$6e,email_record:R6e,invoice_product_columns:V6e,quote_product_columns:q6e,vendors:L6e,product_sales:O6e,user_sales_report_header:M6e,client_balance_report:j6e,client_sales_report:F6e,user_sales_report:B6e,aged_receivable_detailed_report:z6e,aged_receivable_summary_report:U6e,taxable_amount:H6e,tax_summary:G6e,oauth_mail:W6e,preferences:K6e,analytics:Q6e,reduced_rate:Y6e,tax_all:X6e,tax_selected:J6e,version:Z6e,seller_subregion:eBe,calculate_taxes:tBe,calculate_taxes_help:nBe,link_expenses:aBe,converted_client_balance:sBe,converted_payment_balance:oBe,total_hours:iBe,date_picker_hint:rBe,app_help_link:cBe,here:lBe,"industry_Restaurant & Catering":"Restaurant & Catering",show_credits_table:dBe,manual_payment:_Be,tax_summary_report:uBe,tax_category:mBe,physical_goods:pBe,digital_products:hBe,services:fBe,shipping:gBe,tax_exempt:vBe,late_fee_added_locked_invoice:yBe,lang_Khmer:bBe,routing_id:wBe,enable_e_invoice:kBe,e_invoice_type:xBe,reduced_tax:CBe,override_tax:SBe,zero_rated:EBe,reverse_tax:TBe,updated_tax_category:PBe,updated_tax_categories:ABe,set_tax_category:NBe,payment_manual:IBe,expense_payment_type:DBe,"payment_type_Cash App":"Cash App",rename:$Be,renamed_document:RBe,e_invoice:VBe,light_dark_mode:qBe,activities:LBe,recent_transactions:OBe,country_Palestine:MBe,country_Taiwan:jBe,duties:FBe,order_number:BBe,order_id:zBe,total_invoices_outstanding:UBe,recent_activity:HBe,enable_auto_bill:GBe,email_count_invoices:WBe,invoice_task_item_description:KBe,invoice_task_item_description_help:QBe,next_send_time:YBe,uploaded_certificate:XBe,certificate_set:JBe,certificate_not_set:ZBe,passphrase_set:e9e,passphrase_not_set:t9e,upload_certificate:n9e,certificate_passphrase:a9e,valid_vat_number:s9e,react_notification_link:o9e,react_notification_link_help:i9e,show_task_billable:r9e,credit_item:c9e,drop_file_here:l9e,files:d9e,camera:_9e,gallery:u9e,project_location:m9e,add_gateway_help_message:p9e,lang_Hungarian:h9e,use_mobile_to_manage_plan:f9e,item_tax3:g9e,item_tax_rate1:v9e,item_tax_rate2:y9e,item_tax_rate3:b9e,buy_price:w9e,country_Macedonia:k9e,admin_initiated_payments:x9e,admin_initiated_payments_help:C9e,paid_date:S9e,downloaded_entities:E9e,"lang_French - Swiss":"French - Swiss",currency_swazi_lilangeni:T9e,income:P9e,amount_received_help:A9e,vendor_phone:N9e,mercado_pago:I9e,mybank:D9e,paypal_paylater:$9e,district:R9e,region:V9e,county:q9e,tax_details:L9e,activity_10_online:O9e,activity_10_manual:M9e,default_payment_type:j9e,number_precision:F9e,number_precision_help:B9e,is_tax_exempt:z9e,drop_files_here:U9e,upload_files:H9e,download_e_invoice:G9e,download_e_credit:W9e,download_e_quote:K9e,triangular_tax_info:Q9e,intracommunity_tax_info:Y9e,reverse_tax_info:X9e,currency_nicaraguan_cordoba:J9e,public:"Public",private:"Private",image:Z9e,other:e8e,linked_to:t8e,file_saved_in_path:n8e,unlinked_transactions:a8e,unlinked_transaction:s8e,view_dashboard_permission:o8e,marked_sent_credits:i8e,show_document_preview:r8e,cash_accounting:c8e,click_or_drop_files_here:l8e,set_public:d8e,set_private:_8e,individual:u8e,business:m8e,partnership:p8e,trust:h8e,charity:f8e,government:g8e,in_stock_quantity:v8e,vendor_contact:y8e,expense_status_4:b8e,expense_status_5:w8e,ziptax_help:k8e,cache_data:x8e,unknown:C8e,webhook_failure:S8e,email_opened:E8e,email_delivered:T8e,log:P8e,classification:A8e,stock_quantity_number:N8e,upcoming:I8e,client_contact:D8e,uncategorized:$8e,login_notification:R8e,login_notification_help:V8e,payment_refund_receipt:q8e,payment_receipt:L8e,load_template_description:O8e,run_template:M8e,statement_design:j8e,delivery_note_design:F8e,payment_receipt_design:B8e,payment_refund_design:z8e,task_extension_banner:U8e,watch_video:H8e,view_extension:G8e,reactivate_email:W8e,email_reactivated:K8e,template_help:Q8e,quarter:Y8e,item_description:X8e,task_item:J8e,record_state:Z8e,save_files_to_this_folder:eze,downloads_folder:tze,total_invoiced_quotes:nze,total_invoice_paid_quotes:aze,downloads_folder_does_not_exist:sze,user_logged_in_notification:oze,user_logged_in_notification_help:ize,payment_email_all_contacts:rze,payment_email_all_contacts_help:cze,add_line:lze,activity_139:dze,vendor_notification_subject:_ze,vendor_notification_body:uze,receipt:mze,charges:pze,email_report:hze,"payment_type_Pay Later":"Pay Later",payment_type_credit:fze,payment_type_debit:gze,send_emails_to:vze,primary_contact:yze,all_contacts:bze,insert_below:wze,nordigen_handler_subtitle:kze,nordigen_handler_error_heading_unknown:xze,nordigen_handler_error_contents_unknown:Cze,nordigen_handler_error_heading_token_invalid:Sze,nordigen_handler_error_contents_token_invalid:Eze,nordigen_handler_error_heading_account_config_invalid:Tze,nordigen_handler_error_contents_account_config_invalid:Pze,nordigen_handler_error_heading_not_available:Aze,nordigen_handler_error_contents_not_available:Nze,nordigen_handler_error_heading_institution_invalid:Ize,nordigen_handler_error_contents_institution_invalid:Dze,nordigen_handler_error_heading_ref_invalid:$ze,nordigen_handler_error_contents_ref_invalid:Rze,nordigen_handler_error_heading_not_found:Vze,nordigen_handler_error_contents_not_found:qze,nordigen_handler_error_heading_requisition_invalid_status:Lze,nordigen_handler_error_contents_requisition_invalid_status:Oze,nordigen_handler_error_heading_requisition_no_accounts:Mze,nordigen_handler_error_contents_requisition_no_accounts:jze,nordigen_handler_restart:Fze,nordigen_handler_return:Bze,lang_Lao:zze,currency_lao_kip:Uze,yodlee_regions:Hze,nordigen_regions:Gze,select_provider:Wze,nordigen_requisition_subject:Kze,nordigen_requisition_body:Qze,participant:Yze,participant_name:Xze,client_unsubscribed:Jze,client_unsubscribed_help:Zze,resubscribe:e7e,subscribe:t7e,subscribe_help:n7e,unsubscribe_help:a7e,notification_purchase_order_bounced:s7e,notification_purchase_order_bounced_subject:o7e,show_pdfhtml_on_mobile:i7e,show_pdfhtml_on_mobile_help:r7e,please_select_an_invoice_or_credit:c7e,mobile_version:l7e,venmo:d7e,my_bank:_7e,pay_later:u7e,local_domain:m7e,verify_peer:p7e,nordigen_help:h7e,ar_detailed:f7e,ar_summary:g7e,client_sales:v7e,user_sales:y7e,iframe_url:b7e,user_unsubscribed:w7e,out_of_stock:k7e,step_dependency_fail:x7e,step_dependency_order_fail:C7e,step_authentication_fail:S7e,"auth.login":"Login","auth.login-or-register":"Login or Register","auth.register":"Register",cart:E7e,methods:T7e,rff:P7e,add_step:A7e,steps:N7e,steps_order_help:I7e,other_steps:D7e,use_available_payments:$7e,test_email_sent:R7e,gateway_type:V7e,save_template_body:q7e,save_as_template:L7e,checkout_only_for_existing_customers:O7e,checkout_only_for_new_customers:M7e,auto_bill_standard_invoices_help:j7e,auto_bill_on_help:F7e,use_available_credits_help:B7e,use_unapplied_payments:z7e,use_unapplied_payments_help:U7e,payment_terms_help:H7e,payment_type_help:G7e,quote_valid_until_help:W7e,expense_payment_type_help:K7e,paylater:Q7e,payment_provider:Y7e,select_email_provider:X7e,purchase_order_items:J7e,csv_rows_length:Z7e,accept_payments_online:eUe,all_payment_gateways:tUe,product_cost:nUe,duration_words:aUe,upcoming_recurring_invoices:sUe,shipping_country_id:oUe,show_table_footer:iUe,show_table_footer_help:rUe,total_invoices:cUe,add_to_group:lUe,check_credentials:dUe,valid_credentials:_Ue,e_quote:uUe,e_credit:mUe,e_purchase_order:pUe,e_quote_type:hUe,unlock_unlimited_clients:fUe,download_e_purchase_order:gUe,flutter_web_warning:vUe,rappen_rounding:yUe,rappen_rounding_help:bUe,assign_group:wUe,paypal_advanced_cards:kUe,local_domain_help:xUe,port_help:CUe,host_help:SUe,always_show_required_fields:EUe,always_show_required_fields_help:TUe,advanced_cards:PUe,activity_140:AUe,invoice_net_amount:NUe,round_to_minutes:IUe,"1_second":"1 Second","1_minute":"1 Minute","5_minutes":"5 Minutes","15_minutes":"15 Minutes","30_minutes":"30 Minutes","1_hour":"1 Hour","1_day":"1 Day",round_tasks:DUe,round_tasks_help:$Ue,direction:RUe,round_up:VUe,round_down:qUe,task_round_to_nearest:LUe,task_round_to_nearest_help:OUe,bulk_updated:MUe,bulk_update:jUe,calculate:FUe,sum:BUe,money:zUe,web_app:UUe,desktop_app:HUe,disconnected:GUe,reconnect:WUe,e_invoice_settings:KUe,btcpay_refund_subject:QUe,btcpay_refund_body:YUe,currency_mauritanian_ouguiya:XUe,currency_bhutan_ngultrum:JUe,end_of_month:ZUe,merge_e_invoice_to_pdf:eHe,task_assigned_subject:tHe,task_assigned_body:nHe,activity_141:aHe,quote_reminder_subject:sHe,quote_reminder_message:oHe,quote_reminder1:iHe,before_valid_until_date:rHe,after_valid_until_date:cHe,after_quote_date:lHe,remind_quote:dHe,tax_currency_mismatch:_He,edocument_import_already_exists:uHe,before_valid_until:mHe,after_valid_until:pHe,task_assigned_notification:hHe,task_assigned_notification_help:fHe,invoices_locked_end_of_month:gHe,referral_url:vHe,add_comment:yHe,added_comment:bHe,tickets:wHe,assigned_group:kHe,merge_to_pdf:xHe,latest_requires_php_version:CHe,auto_expand_product_table_notes:SHe,auto_expand_product_table_notes_help:EHe,institution_number:THe,transit_number:PHe,personal:AHe,address_information:NHe,enter_the_information_for_the_bank_account:IHe,account_holder_information:DHe,enter_information_for_the_account_holder:$He,customer_type:RHe,process_date:VHe,forever_free:qHe,comments_only:LHe,payment_balance_on_file:OHe,ubl_email_attachment_help:MHe,stop_task_to_add_task_entry:jHe,xml_file:FHe,one_page_checkout:BHe,one_page_checkout_help:zHe,applies_to:UHe,accept_purchase_order:HHe,round_to_seconds:GHe,activity_142:WHe,activity_143:KHe,activity_144:QHe,activity_145:YHe,payment_failed:XHe,ssl_host_override:JHe,upload_logo_short:ZHe,country_Melilla:eGe,country_Ceuta:tGe,"country_Canary Islands":"Canary Islands",lang_Vietnamese:nGe,invoice_status_changed:aGe,no_unread_notifications:sGe,how_to_import_data:oGe,download_example_file:iGe,expense_mailbox:rGe,expense_mailbox_help:cGe,expense_mailbox_active:lGe,expense_mailbox_active_help:dGe,inbound_mailbox_allow_company_users:_Ge,inbound_mailbox_allow_company_users_help:uGe,inbound_mailbox_allow_vendors:mGe,inbound_mailbox_allow_vendors_help:pGe,inbound_mailbox_allow_clients:hGe,inbound_mailbox_allow_clients_help:fGe,inbound_mailbox_whitelist:gGe,inbound_mailbox_whitelist_help:vGe,inbound_mailbox_blacklist:yGe,inbound_mailbox_blacklist_help:bGe,inbound_mailbox_allow_unknown:wGe,inbound_mailbox_allow_unknown_help:kGe,quick_actions:xGe,end_all_sessions_help:CGe,updated_records:SGe};function TGe({children:e}){return t(j_,{clientId:"320847535584-4vopvt8v9064hs7kje3htonr0vlpuorn.apps.googleusercontent.com",children:e})}iu({dsn:"https://1ca3bf4a2ca5431b963b3bf33a94811c@sentry2.invoicing.co/6",integrations:[new ru],tracesSampleRate:1});gd.use(R_).init({resources:{en:{translation:EGe}},lng:"en",fallbackLng:"en",interpolation:{escapeValue:!1}});const PGe=Pd,AGe=new kd({defaultOptions:{queries:{retry:1}}});self.MonacoEnvironment={getWorker(e,n){return n==="json"?new eu:n==="css"||n==="scss"||n==="less"?new tu:n==="html"||n==="handlebars"||n==="razor"?new nu:n==="typescript"||n==="javascript"?new au:new su}};Gr.config({monaco:ou});Gr.init().then();const NGe=document.getElementById("root");J_(NGe).render(t(Rn.StrictMode,{children:t(xd,{client:AGe,children:t(ud,{store:Wn,children:t(TGe,{children:t(PGe,{children:t(QS,{children:t(KS,{})})})})})})}));const Qo=Z_();export{ie as $,us as A,Oe as B,Z as C,dn as D,em as E,ke as F,de as G,J as H,nYe as I,Ri as J,Ta as K,aC as L,ve as M,vc as N,is as O,L as P,M as Q,Fe as R,st as S,Qt as T,Co as U,wo as V,So as W,$e as X,Cn as Y,Je as Z,GQe as _,rn as a,Di as a$,sl as a0,pl as a1,ll as a2,cl as a3,ye as a4,Me as a5,Re as a6,Eo as a7,ol as a8,ia as a9,Ls as aA,bn as aB,Ut as aC,Ht as aD,Vi as aE,Aa as aF,sa as aG,vi as aH,fi as aI,wa as aJ,Ji as aK,xa as aL,WQe as aM,gl as aN,hl as aO,ra as aP,sn as aQ,it as aR,rt as aS,wl as aT,al as aU,Ny as aV,By as aW,qn as aX,Vl as aY,bo as aZ,ko as a_,pn as aa,ds as ab,ls as ac,Ha as ad,Ai as ae,Dt as af,En as ag,jt as ah,Kn as ai,aa as aj,es as ak,T as al,ea as am,ft as an,Sc as ao,zQe as ap,Pe as aq,wYe as ar,go as as,bp as at,oa as au,jn as av,x as aw,Nt as ax,by as ay,B as az,At as b,oy as b$,eYe as b0,vo as b1,an as b2,Bv as b3,q as b4,We as b5,at as b6,Xt as b7,vn as b8,Ct as b9,Uv as bA,VQe as bB,_c as bC,Ko as bD,Um as bE,dYe as bF,_Ye as bG,fl as bH,hb as bI,ln as bJ,vb as bK,Es as bL,sy as bM,fYe as bN,vYe as bO,Nb as bP,tYe as bQ,CYe as bR,SYe as bS,Qb as bT,TYe as bU,PYe as bV,QQe as bW,vy as bX,KQe as bY,hy as bZ,iy as b_,IQe as ba,Ty as bb,Ky as bc,ha as bd,yy as be,ul as bf,po as bg,It as bh,Hg as bi,Ii as bj,el as bk,Pi as bl,pv as bm,AYe as bn,Hw as bo,Kw as bp,Ww as bq,ek as br,Gw as bs,Nv as bt,Dh as bu,Xv as bv,Fv as bw,zv as bx,Ov as by,FQe as bz,Pa as c,xYe as c$,Ts as c0,yo as c1,Sn as c2,un as c3,yn as c4,Ec as c5,va as c6,jQe as c7,ZQe as c8,zl as c9,yb as cA,gb as cB,mb as cC,IYe as cD,lYe as cE,rYe as cF,Xy as cG,cYe as cH,ay as cI,NYe as cJ,Kb as cK,Wb as cL,_s as cM,xl as cN,Fb as cO,Rb as cP,jb as cQ,Zn as cR,bYe as cS,Tn as cT,yYe as cU,EYe as cV,kYe as cW,bl as cX,Ub as cY,zb as cZ,yl as c_,Vy as ca,Ly as cb,JQe as cc,qy as cd,Oy as ce,jy as cf,Ay as cg,kv as ch,qi as ci,xb as cj,Cb as ck,pa as cl,uYe as cm,Ib as cn,Ab as co,Oa as cp,bb as cq,hYe as cr,pYe as cs,mYe as ct,gYe as cu,Jy as cv,Db as cw,tn as cx,RQe as cy,Zm as cz,U as d,Mb as d0,Ca as d1,Ea as d2,yt as d3,Sa as d4,$t as d5,Ye as d6,vl as d7,Pn as d8,za as d9,rb as dA,ib as dB,wy as dC,XQe as dD,Iy as dE,sYe as dF,UQe as dG,Jc as dH,dv as dI,Ti as dJ,mc as dK,rv as dL,Rf as dM,tp as dN,Nw as dO,lt as dP,ht as dQ,K as dR,Q as dS,nc as dT,ct as dU,Ge as dV,La as dW,up as dX,Us as dY,$b as da,Lb as db,MQe as dc,OQe as dd,xi as de,oYe as df,cb as dg,iYe as dh,$y as di,ma as dj,_v as dk,lv as dl,Lt as dm,ba as dn,_y as dp,cy as dq,gy as dr,fy as ds,BQe as dt,YQe as du,ry as dv,cv as dw,oc as dx,Zc as dy,uy as dz,D as e,wn as f,Qe as g,we as h,NQe as i,me as j,Et as k,ka as l,bt as m,se as n,te as o,LQe as p,ts as q,$ as r,Tb as s,Se as t,aYe as u,fc as v,cs as w,ot as x,HQe as y,ny as z};
