PageSourceSearch

https://novo.gruposvip.com/assets/index-C4Kq7kkR.js

js gruposvip.com collected 2026-09-26 08:43:44 UTC 303,696 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AuthenticatedShell-Jmtc6CtD.js","assets/query-Q_ThwKGI.js","assets/react-vendor-wefok28f.js","assets/AuthProvider-BSQZ2YtM.js","assets/client-DjLwxtrO.js","assets/supabase-COHOFxoQ.js","assets/UserPreferencesContext-CmtdahHI.js","assets/useSubscription-svlizlcK.js","assets/badge-u_30_p7s.js","assets/index-DC33WZD-.js","assets/index-DviHZN-M.js","assets/icons-By8asZST.js","assets/button-DrepnwkX.js","assets/PlanFeatureChecklist-BdN1LsxW.js","assets/sheet-BNa5OgBl.js","assets/useTranslation-DNoH3foE.js","assets/leads-flow-logo--Xdc6-jT.js","assets/avatar-B9bTBpJ8.js","assets/SubscriptionBanner-C8Wswn3W.js","assets/progress-DCO54Zpc.js","assets/AuthOnlyShell-BiqPZguC.js","assets/SalesPage-N2xxPPC1.js","assets/leads-flow-logo-full-BYEDeaYn.js","assets/OptinPage-S5pcXiel.js","assets/input-Cu6Tiemi.js","assets/textarea-DJfrjX2A.js","assets/label-Ch0F7L4t.js","assets/checkbox-Gmf95s3M.js","assets/index-CSO0Tzy2.js","assets/radio-group-CTqv7D_7.js","assets/index-lwN0GFAE.js","assets/index-CryppvJw.js","assets/select-DECm7gW5.js","assets/differenceInDays-3zXMvGNK.js","assets/format-NnwPU_mP.js","assets/pt-BR-9-TZCPQM.js","assets/types-C-Liuvzf.js","assets/trackingScripts-1XOvU7Jx.js","assets/useLogger-CDsXA2_R.js","assets/FormUnavailableError-D5g8vwrQ.js","assets/MarkdownText-DKqKFDLC.js","assets/CheckInPage-B8pD6Ofk.js","assets/checkIn-CbxIkDcA.js","assets/ThankYouPage-CtHX_8u1.js","assets/EmbeddedForm-BcbTVD_A.js","assets/tabs-CMLwnORc.js","assets/card-DYyqUxY6.js","assets/GroupRedirect-CifKdR-N.js","assets/OptimizedGroupRedirect-C-JNGpqx.js","assets/redirectService-hDxAAvGF.js","assets/consolidatedMessageService-CxI_JEnX.js","assets/NewGroupRedirect-BMYXnebO.js","assets/WebinarPage-DIaCEEeh.js","assets/scroll-area-D3rGvhtF.js","assets/utmUtils-B5TLLIZ-.js","assets/PublicSalesPage-X_k5dg48.js","assets/index-D12SM9ia.js","assets/accordion-DJ4rYV4A.js","assets/index-Bdz2fkUq.js","assets/ZAPITestPage-Ceg_ia4L.js","assets/alert-CxLwTMWl.js","assets/Login-XH0qvFNy.js","assets/ForgotPassword-C0nHQJSE.js","assets/ResetPassword-BSVX5tMl.js","assets/ConfirmEmail-6YPMRJ1N.js","assets/SetupPassword-CyX0yiYT.js","assets/Index-4OtYHh6F.js","assets/DashboardStatCard-Du7a8-ug.js","assets/useCurrencyFormat-BvjeeDQW.js","assets/currencyUtils-D4WwR8db.js","assets/useWhatsAppConnection-BkLcuBJO.js","assets/Forms-CLoKYgYF.js","assets/parseISO-DQNCGdKl.js","assets/alert-dialog-BzFKdENb.js","assets/switch-CnLyyNmH.js","assets/dnd.esm-C5CUyiL7.js","assets/tiny-invariant-BaFNuDhB.js","assets/CollapsibleSection-CvfeAvg5.js","assets/TrackingSettings-0-C5O2gu.js","assets/PlanLimits-DheW4c0J.js","assets/FormDetails-DkIWMqEZ.js","assets/skeleton-B8BTwlen.js","assets/subDays-rNULONAo.js","assets/BarChart-tyxo_96n.js","assets/LineChart-CjBOByky.js","assets/LeadsList-CtN4ZRzY.js","assets/table-D25X3X5Y.js","assets/WhatsAppTimelineComposer-wTlFnG2J.js","assets/formatDistanceToNow-g8DDsg0V.js","assets/Leads-B3XKr1rZ.js","assets/separator-BOvWbUMa.js","assets/collapsible-l8V3raC7.js","assets/WhatsApp-BXoF8Tke.js","assets/isYesterday-CGiRJIKk.js","assets/ProFeatureGate-CXf1Td84.js","assets/Groups-CHjsk3jA.js","assets/index.esm-CGhUaq_S.js","assets/form-BxaLnFV4.js","assets/AreaChart-B73AzQi3.js","assets/Settings-ZuzRPxku.js","assets/Webinars-BY1rUDez.js","assets/FooterLinksSettings-CwAjswvP.js","assets/WebinarDetails-BbtJHvU7.js","assets/Gamification-DlbtGEBu.js","assets/UsersAdmin-CZe-GaQj.js","assets/EditUserDialog-DQ1lqMqf.js","assets/UserDetails-hzJqxWjv.js","assets/isPast-HAFfZZEv.js","assets/SalesPages-rI47-ZYP.js","assets/SalesPageDetails-CAb9ac2Z.js","assets/SalesPageStatistics-13KkrpTA.js","assets/CRM-Dwv5jRZ9.js"])))=>i.map(i=>d[i]);
2import{j as f,Q as rs,a as is}from"./query-Q_ThwKGI.js";import{a as Ot,r as m,R as P,b as Aa,d as cs,B as ls,e as ds,f as D,N as ie,u as Fe}from"./react-vendor-wefok28f.js";import{_ as H}from"./supabase-COHOFxoQ.js";import{X as us,L as ps}from"./icons-By8asZST.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const r of s.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&a(r)}).observe(document,{childList:!0,subtree:!0});function o(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerPolicy&&(s.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?s.credentials="include":n.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(n){if(n.ep)return;n.ep=!0;const s=o(n);fetch(n.href,s)}})();var Ea,Vo=Ot;Ea=Vo.createRoot,Vo.hydrateRoot;const ms=5,gs=1e6,be={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"},Yt=new Map,Bo=t=>{if(Yt.has(t))return;const e=setTimeout(()=>{Yt.delete(t),at({type:be.REMOVE_TOAST,toastId:t})},gs);Yt.set(t,e)},fs=(t,e)=>{switch(e.type){case be.ADD_TOAST:return{...t,toasts:[e.toast,...t.toasts].slice(0,ms)};case be.UPDATE_TOAST:return{...t,toasts:t.toasts.map(o=>o.id===e.toast.id?{...o,...e.toast}:o)};case be.DISMISS_TOAST:{const{toastId:o}=e;
2return o?Bo(o):t.toasts.forEach(a=>{Bo(a.id)}),{...t,toasts:t.toasts.map(a=>a.id===o||o===void 0?{...a,open:!1}:a)}}case be.REMOVE_TOAST:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(o=>o.id!==e.toastId)}}},wt=[];let xt={toasts:[]};function at(t){xt=fs(xt,t),wt.forEach(e=>{e(xt)})}function hs({...t}){const e=Math.random().toString(36).substring(2,9),o=n=>at({type:be.UPDATE_TOAST,toast:{...n,id:e}}),a=()=>at({type:be.DISMISS_TOAST,toastId:e});return at({type:be.ADD_TOAST,toast:{...t,id:e,open:!0,onOpenChange:n=>{n||a()}}}),{id:e,dismiss:a,update:o}}function vs(){const[t,e]=m.useState(xt);return m.useEffect(()=>(wt.push(e),()=>{const o=wt.indexOf(e);o>-1&&wt.splice(o,1)}),[t]),{...t,toast:hs,dismiss:o=>at({type:be.DISMISS_TOAST,toastId:o})}}function Z(t,e,{checkForDefaultPrevented:o=!0}={}){return function(n){if(t==null||t(n),o===!1||!n.defaultPrevented)return e==null?void 0:e(n)}}function bs(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function Ra(...t){return e=>t.forEach(o=>bs(o,e))}function ce(...t){return m.useCallback(Ra(...t),t)}function ys(t,e=[]){let o=[];function a(s,r){const i=m.createContext(r),l=o.length;o=[...o,r];function c(p){const{scope:d,children:g,...h}=p,v=(d==null?void 0:d[t][l])||i,b=m.useMemo(()=>h,Object.values(h));return f.jsx(v.Provider,{value:b,children:g})}function u(p,d){const g=(d==null?void 0:d[t][l])||i,h=m.useContext(g);if(h)return h;if(r!==void 0)return r;throw new Error(`\`${p}\` must be used within \`${s}\``)}return c.displayName=s+"Provider",[c,u]}const n=()=>{const s=o.map(r=>m.createContext(r));return function(i){const l=(i==null?void 0:i[t])||s;return m.useMemo(()=>({[`__scope${t}`]:{...i,[t]:l}}),[i,l])}};return n.scopeName=t,[a,ws(n,...e)]}function ws(...t){const e=t[0];if(t.length===1)return e;const o=()=>{const a=t.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(s){const r=a.reduce((i,{useScope:l,scopeName:c})=>{const p=l(s)[`__scope${c}`];return{...i,...p}},{});return m.useMemo(()=>({[`__scope${e.scopeName}`]:r}),[r])}};return o.scopeName=e.scopeName,o}var St=m.forwardRef((t,e)=>{const{children:o,...a}=t,n=m.Children.toArray(o),s=n.find(xs);if(s){const r=s.props.children,i=n.map(l=>l===s?m.Children.count(r)>1?m.Children.only(null):m.isValidElement(r)?r.props.children:null:l);return f.jsx(oo,{...a,ref:e,children:m.isValidElement(r)?m.cloneElement(r,void 0,i):null})}return f.jsx(oo,{...a,ref:e,children:o})});St.displayName="Slot";var oo=m.forwardRef((t,e)=>{const{children:o,...a}=t;if(m.isValidElement(o)){const n=Ss(o);return m.cloneElement(o,{...Cs(a,o.props),ref:e?Ra(e,n):n})}return m.Children.count(o)>1?m.Children.only(null):null});oo.displayName="SlotClone";var ka=({children:t})=>f.jsx(f.Fragment,{children:t});function xs(t){return m.isValidElement(t)&&t.type===ka}function Cs(t,e){const o={...e};for(const a in e){const n=t[a],s=e[a];/^on[A-Z]/.test(a)?n&&s?o[a]=(...i)=>{s(...i),n(...i)}:n&&(o[a]=n):a==="style"?o[a]={...n,...s}:a==="className"&&(o[a]=[n,s].filter(Boolean).join(" "))}return{...t,...o}}function Ss(t){var a,n;let e=(a=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:a.get,o=e&&"isReactWarning"in e&&e.isReactWarning;return o?t.ref:(e=(n=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:n.get,o=e&&"isReactWarning"in e&&e.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}function Ps(t){const e=t+"CollectionProvider",[o,a]=ys(e),[n,s]=o(e,{collectionRef:{current:null},itemMap:new Map}),r=g=>{const{scope:h,children:v}=g,b=P.useRef(null),y=P.useRef(new Map).current;return f.jsx(n,{scope:h,itemMap:y,collectionRef:b,children:v})};r.displayName=e;const i=t+"CollectionSlot",l=P.forwardRef((g,h)=>{const{scope:v,children:b}=g,y=s(i,v),w=ce(h,y.collectionRef);return f.jsx(St,{ref:w,children:b})});l.displayName=i;const c=t+"CollectionItemSlot",u="data-radix-collection-item",p=P.forwardRef((g,h)=>{const{scope:v,children:b,...y}=g,w=P.useRef(null),S=ce(h,w),x=s(c,v);return P.useEffect(()=>(x.itemMap.set(w,{ref:w,...y}),()=>void x.itemMap.delete(w))),f.jsx(St,{[u]:"",ref:S,children:b})});p.displayName=c;function d(g){const h=s(t+"CollectionConsumer",g);return P.useCallback(()=>{const b=h.collectionRef.current;if(!b)return[];const y=Array.from(b.querySelectorAll(`[${u}]`));return Array.from(h.itemMap.values()).sort((x,C)=>y.indexOf(x.ref.current)-y.indexOf(C.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:r,Slot:l,ItemSlot:p},d,a]}function nx(t,e){const o=m.createContext(e),a=s=>{const{children:r,...i}=s,l=m.useMemo(()=>i,Object.values(i));return f.jsx(o.Provider,{value:l,children:r})};a.displayName=t+"Provider";function n(s){const r=m.useContext(o);if(r)return r;if(e!==void 0)return e;throw new Error(`\`${s}\` must be used within \`${t}\``)}return[a,n]}function Da(t,e=[]){let o=[];function a(s,r){const i=m.createContext(r),l=o.length;o=[...o,r];const c=p=>{var y;const{scope:d,children:g,...h}=p,v=((y=d==null?void 0:d[t])==null?void 0:y[l])||i,b=m.useMemo(()=>h,Object.values(h));return f.jsx(v.Provider,{value:b,children:g})};c.displayName=s+"Provider";function u(p,d){var v;const g=((v=d==null?void 0:d[t])==null?void 0:v[l])||i,h=m.useContext(g);if(h)return h;if(r!==void 0)return r;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[c,u]}const n=()=>{const s=o.map(r=>m.createContext(r));return function(i){const l=(i==null?void 0:i[t])||s;return m.useMemo(()=>({[`__scope${t}`]:{...i,[t]:l}}),[i,l])}};return n.scopeName=t,[a,Ts(n,...e)]}function Ts(...t){const e=t[0];if(t.length===1)return e;const o=()=>{const a=t.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(s){const r=a.reduce((i,{useScope:l,scopeName:c}
vendor: 6,601 bytes, line 2
2)=>{const p=l(s)[`__scope${c}`];return{...i,...p}},{});return m.useMemo(()=>({[`__scope${e.scopeName}`]:r}),[r])}};return o.scopeName=e.scopeName,o}var As=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],oe=As.reduce((t,e)=>{const o=m.forwardRef((a,n)=>{const{asChild:s,...r}=a,i=s?St:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(i,{...r,ref:n})});return o.displayName=`Primitive.${e}`,{...t,[e]:o}},{});function La(t,e){t&&Ot.flushSync(()=>t.dispatchEvent(e))}function ge(t){const e=m.useRef(t);return m.useEffect(()=>{e.current=t}),m.useMemo(()=>(...o)=>{var a;return(a=e.current)==null?void 0:a.call(e,...o)},[])}function Es(t,e=globalThis==null?void 0:globalThis.document){const o=ge(t);m.useEffect(()=>{const a=n=>{n.key==="Escape"&&o(n)};return e.addEventListener("keydown",a,{capture:!0}),()=>e.removeEventListener("keydown",a,{capture:!0})},[o,e])}var Rs="DismissableLayer",ao="dismissableLayer.update",ks="dismissableLayer.pointerDownOutside",Ds="dismissableLayer.focusOutside",Uo,Oa=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),wo=m.forwardRef((t,e)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:n,onFocusOutside:s,onInteractOutside:r,onDismiss:i,...l}=t,c=m.useContext(Oa),[u,p]=m.useState(null),d=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=m.useState({}),h=ce(e,E=>p(E)),v=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(b),w=u?v.indexOf(u):-1,S=c.layersWithOutsidePointerEventsDisabled.size>0,x=w>=y,C=Os(E=>{const I=E.target,F=[...c.branches].some($=>$.contains(I));!x||F||(n==null||n(E),r==null||r(E),E.defaultPrevented||i==null||i())},d),R=$s(E=>{const I=E.target;[...c.branches].some($=>$.contains(I))||(s==null||s(E),r==null||r(E),E.defaultPrevented||i==null||i())},d);return Es(E=>{w===c.layers.size-1&&(a==null||a(E),!E.defaultPrevented&&i&&(E.preventDefault(),i()))},d),m.useEffect(()=>{if(u)return o&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(Uo=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),Go(),()=>{o&&c.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=Uo)}},[u,d,o,c]),m.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),Go())},[u,c]),m.useEffect(()=>{const E=()=>g({});return document.addEventListener(ao,E),()=>document.removeEventListener(ao,E)},[]),f.jsx(oe.div,{...l,ref:h,style:{pointerEvents:S?x?"auto":"none":void 0,...t.style},onFocusCapture:Z(t.onFocusCapture,R.onFocusCapture),onBlurCapture:Z(t.onBlurCapture,R.onBlurCapture),onPointerDownCapture:Z(t.onPointerDownCapture,C.onPointerDownCapture)})});wo.displayName=Rs;var Ls="DismissableLayerBranch",$a=m.forwardRef((t,e)=>{const o=m.useContext(Oa),a=m.useRef(null),n=ce(e,a);return m.useEffect(()=>{const s=a.current;if(s)return o.branches.add(s),()=>{o.branches.delete(s)}},[o.branches]),f.jsx(oe.div,{...t,ref:n})});$a.displayName=Ls;function Os(t,e=globalThis==null?void 0:globalThis.document){const o=ge(t),a=m.useRef(!1),n=m.useRef(()=>{});return m.useEffect(()=>{const s=i=>{if(i.target&&!a.current){let l=function(){Ia(ks,o,c,{discrete:!0})};const c={originalEvent:i};i.pointerType==="touch"?(e.removeEventListener("click",n.current),n.current=l,e.addEventListener("click",n.current,{once:!0})):l()}else e.removeEventListener("click",n.current);a.current=!1},r=window.setTimeout(()=>{e.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(r),e.removeEventListener("pointerdown",s),e.removeEventListener("click",n.current)}},[e,o]),{onPointerDownCapture:()=>a.current=!0}}function $s(t,e=globalThis==null?void 0:globalThis.document){const o=ge(t),a=m.useRef(!1);return m.useEffect(()=>{const n=s=>{s.target&&!a.current&&Ia(Ds,o,{originalEvent:s},{discrete:!1})};return e.addEventListener("focusin",n),()=>e.removeEventListener("focusin",n)},[e,o]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function Go(){const t=new CustomEvent(ao);document.dispatchEvent(t)}function Ia(t,e,o,{discrete:a}){const n=o.originalEvent.target,s=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:o});e&&n.addEventListener(t,e,{once:!0}),a?La(n,s):n.dispatchEvent(s)}var Is=wo,Fs=$a,Re=globalThis!=null&&globalThis.document?m.useLayoutEffect:()=>{},Ms="Portal",Fa=m.forwardRef((t,e)=>{var i;const{container:o,...a}=t,[n,s]=m.useState(!1);Re(()=>s(!0),[]);const r=o||n&&((i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body);return r?Aa.createPortal(f.jsx(oe.div,{...a,ref:e}),r):null});Fa.displayName=Ms;function Ns(t,e){return m.useReducer((o,a)=>e[o][a]??o,t)}var xo=t=>{const{present:e,children:o}=t,a=js(e),n=typeof o=="function"?o({present:a.isPresent}):m.Children.only(o),s=ce(a.ref,_s(n));return typeof o=="function"||a.isPresent?m.cloneElement(n,{ref:s}):null};xo.displayName="Presence";function js(t){const[e,o]=m.useState(),a=m.useRef({}),n=m.useRef(t),s=m.useRef("none"),r=t?"mounted":"unmounted",[i,l]=Ns(r,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m.useEffect(()=>{const c=gt(a.current);s.current=i==="mounted"?c:"none"},[i]),Re(()=>{const c=a.current,u=n.current;if(u!==t){const d=s.current,g=gt(c);t?l("MOUNT"):g==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&d!==g?"ANIMATION_OUT":"UNMOUNT"),n.current=t}},[t,l]),Re(()=>{if(e){let c;const u=e.ownerDocument.defaultView??window,p=g=>{const v=gt(a.current).includes(g.animationName);if(g.target===e&&v&&(l("ANIMATION_END"),!n.current)){const b=e.style.animationFillMode;e.style.animationFillMode="forwards",c=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=b)})}},d=g=>{g.target===e&&(s.current=gt(a.current))};return e.addEventListener("animationstart",d),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(c),e.removeEventListener("animationstart",d),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:m.useCallback(c=>{c&&(a.current=getComputedStyle(c)),o(c)},[])}}function gt(t){return(t==null?void 0:t.animationName)||"none"}function _s(t){var a,n;let e=(a=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:a.get,o=e&&"isReactWarning"in e&&e.
2isReactWarning;return o?t.ref:(e=(n=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:n.get,o=e&&"isReactWarning"in e&&e.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}function Ma({prop:t,defaultProp:e,onChange:o=()=>{}}){const[a,n]=Ws({defaultProp:e,onChange:o}),s=t!==void 0,r=s?t:a,i=ge(o),l=m.useCallback(c=>{if(s){const p=typeof c=="function"?c(t):c;p!==t&&i(p)}else n(c)},[s,t,n,i]);return[r,l]}function Ws({defaultProp:t,onChange:e}){const o=m.useState(t),[a]=o,n=m.useRef(a),s=ge(e);return m.useEffect(()=>{n.current!==a&&(s(a),n.current=a)},[a,n,s]),o}var zs="VisuallyHidden",$t=m.forwardRef((t,e)=>f.jsx(oe.span,{...t,ref:e,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...t.style}}));$t.displayName=zs;var Vs=$t,Co="ToastProvider",[So,Bs,Us]=Ps("Toast"),[Na,sx]=Da("Toast",[Us]),[Gs,It]=Na(Co),ja=t=>{const{__scopeToast:e,label:o="Notification",duration:a=5e3,swipeDirection:n="right",swipeThreshold:s=50,children:r}=t,[i,l]=m.useState(null),[c,u]=m.useState(0),p=m.useRef(!1),d=m.useRef(!1);return o.trim()||console.error(`Invalid prop \`label\` supplied to \`${Co}\`. Expected non-empty \`string\`.`),f.jsx(So.Provider,{scope:e,children:f.jsx(Gs,{scope:e,label:o,duration:a,swipeDirection:n,swipeThreshold:s,toastCount:c,viewport:i,onViewportChange:l,onToastAdd:m.useCallback(()=>u(g=>g+1),[]),onToastRemove:m.useCallback(()=>u(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:d,children:r})})};ja.displayName=Co;var _a="ToastViewport",Hs=["F8"],no="toast.viewportPause",so="toast.viewportResume",Wa=m.forwardRef((t,e)=>{const{__scopeToast:o,hotkey:a=Hs,label:n="Notifications ({hotkey})",...s}=t,r=It(_a,o),i=Bs(o),l=m.useRef(null),c=m.useRef(null),u=m.useRef(null),p=m.useRef(null),d=ce(e,p,r.onViewportChange),g=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=r.toastCount>0;m.useEffect(()=>{const b=y=>{var S;a.length!==0&&a.every(x=>y[x]||y.code===x)&&((S=p.current)==null||S.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)}
2,[a]),m.useEffect(()=>{const b=l.current,y=p.current;if(h&&b&&y){const w=()=>{if(!r.isClosePausedRef.current){const R=new CustomEvent(no);y.dispatchEvent(R),r.isClosePausedRef.current=!0}},S=()=>{if(r.isClosePausedRef.current){const R=new CustomEvent(so);y.dispatchEvent(R),r.isClosePausedRef.current=!1}},x=R=>{!b.contains(R.relatedTarget)&&S()},C=()=>{b.contains(document.activeElement)||S()};return b.addEventListener("focusin",w),b.addEventListener("focusout",x),b.addEventListener("pointermove",w),b.addEventListener("pointerleave",C),window.addEventListener("blur",w),window.addEventListener("focus",S),()=>{b.removeEventListener("focusin",w),b.removeEventListener("focusout",x),b.removeEventListener("pointermove",w),b.removeEventListener("pointerleave",C),window.removeEventListener("blur",w),window.removeEventListener("focus",S)}}},[h,r.isClosePausedRef]);const v=m.useCallback(({tabbingDirection:b})=>{const w=i().map(S=>{const x=S.ref.current,C=[x,...sr(x)];return b==="forwards"?C:C.reverse()});return(b==="forwards"?w.reverse():w).flat()},[i]);return m.useEffect(()=>{const b=p.current;if(b){const y=w=>{var C,R,E;const S=w.altKey||w.ctrlKey||w.metaKey;if(w.key==="Tab"&&!S){const I=document.activeElement,F=w.shiftKey;if(w.target===b&&F){(C=c.current)==null||C.focus();return}const L=v({tabbingDirection:F?"backwards":"forwards"}),N=L.findIndex(T=>T===I);Kt(L.slice(N+1))?w.preventDefault():F?(R=c.current)==null||R.focus():(E=u.current)==null||E.focus()}};return b.addEventListener("keydown",y),()=>b.removeEventListener("keydown",y)}},[i,v]),f.jsxs(Fs,{ref:l,role:"region","aria-label":n.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:h?void 0:"none"},children:[h&&f.jsx(ro,{ref:c,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"forwards"});Kt(b)}}),f.jsx(So.Slot,{scope:o,children:f.jsx(oe.ol,{tabIndex:-1,...s,ref:d})}),h&&f.jsx(ro,{ref:u,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"backwards"});Kt(b)}})]})});Wa.displayName=_a;var za="ToastFocusProxy",ro=m.forwardRef((t,e)=>{const{__scopeToast:o,onFocusFromOutsideViewport:a,...n}=t,s=It(za,o);return f.jsx($t,{"aria-hidden":!0,tabIndex:0,...n,ref:e,style:{position:"fixed"},onFocus:r=>{var c;const i=r.relatedTarget;!((c=s.viewport)!=null&&c.contains(i))&&a()}})});ro.displayName=za;var Ft="Toast",qs="toast.swipeStart",Ys="toast.swipeMove",Ks="toast.swipeCancel",Xs="toast.swipeEnd",Va=m.forwardRef((t,e)=>{const{forceMount:o,open:a,defaultOpen:n,onOpenChange:s,...r}=t,[i=!0,l]=Ma({prop:a,defaultProp:n,onChange:s});return f.jsx(xo,{present:o||i,children:f.jsx(Qs,{open:i,...r,ref:e,onClose:()=>l(!1),onPause:ge(t.onPause),onResume:ge(t.onResume),onSwipeStart:Z(t.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Z(t.onSwipeMove,c=>{const{x:u,y:p}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:Z(t.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Z(t.onSwipeEnd,c=>{const{x:u,y:p}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),l(!1)})})})});Va.displayName=Ft;var[Js,Zs]=Na(Ft,{onClose(){}}),Qs=m.forwardRef((t,e)=>{const{__scopeToast:o,type:a="foreground",duration:n,open:s,onClose:r,onEscapeKeyDown:i,onPause:l,onResume:c,onSwipeStart:u,onSwipeMove:p,onSwipeCancel:d,onSwipeEnd:g,...h}=t,v=It(Ft,o),[b,y]=m.useState(null),w=ce(e,T=>y(T)),S=m.useRef(null),x=m.useRef(null),C=n||v.duration,R=m.useRef(0),E=m.useRef(C),I=m.useRef(0),{onToastAdd:F,onToastRemove:$}=v,U=ge(()=>{var B;(b==null?void 0:b.contains(document.activeElement))&&((B=v.viewport)==null||B.focus()),r()}),L=m.useCallback(T=>
2{!T||T===1/0||(window.clearTimeout(I.current),R.current=new Date().getTime(),I.current=window.setTimeout(U,T))},[U]);m.useEffect(()=>{const T=v.viewport;if(T){const B=()=>{L(E.current),c==null||c()},O=()=>{const _=new Date().getTime()-R.current;E.current=E.current-_,window.clearTimeout(I.current),l==null||l()};return T.addEventListener(no,O),T.addEventListener(so,B),()=>{T.removeEventListener(no,O),T.removeEventListener(so,B)}}},[v.viewport,C,l,c,L]),m.useEffect(()=>{s&&!v.isClosePausedRef.current&&L(C)},[s,C,v.isClosePausedRef,L]),m.useEffect(()=>(F(),()=>$()),[F,$]);const N=m.useMemo(()=>b?Ka(b):null,[b]);return v.viewport?f.jsxs(f.Fragment,{children:[N&&f.jsx(er,{__scopeToast:o,role:"status","aria-live":a==="foreground"?"assertive":"polite","aria-atomic":!0,children:N}),f.jsx(Js,{scope:o,onClose:U,children:Ot.createPortal(f.jsx(So.ItemSlot,{scope:o,children:f.jsx(Is,{asChild:!0,onEscapeKeyDown:Z(i,()=>{v.isFocusedToastEscapeKeyDownRef.current||U(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:f.jsx(oe.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":v.swipeDirection,...h,ref:w,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:Z(t.onKeyDown,T=>{T.key==="Escape"&&(i==null||i(T.nativeEvent),T.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,U()))}),onPointerDown:Z(t.onPointerDown,T=>{T.button===0&&(S.current={x:T.clientX,y:T.clientY})}),onPointerMove:Z(t.onPointerMove,T=>{if(!S.current)return;const B=T.clientX-S.current.x,O=T.clientY-S.current.y,_=!!x.current,A=["left","right"].includes(v.swipeDirection),j=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,X=A?j(0,B):0,k=A?0:j(0,O),V=T.pointerType==="touch"?10:2,G={x:X,y:k},Q={originalEvent:T,delta:G};_?(x.current=G,ft(Ys,p,Q,{discrete:!1})):Ho(G,v.swipeDirection,V)?(x.current=G,ft(qs,u,Q,{discrete:!1}),T.target.setPointerCapture(T.pointerId)):(Math.abs(B)>V||Math.abs(O)>V)&&(S.current=null)}),onPointerUp:Z(t.onPointerUp,T=>{const B=x.current,O=T.target;if(O.hasPointerCapture(T.pointerId)&&O.releasePointerCapture(T.pointerId),x.current=null,S.current=null,B){const _=T.currentTarget,A={originalEvent:T,delta:B};Ho(B,v.swipeDirection,v.swipeThreshold)?ft(Xs,g,A,{discrete:!0}):ft(Ks,d,A,{discrete:!0}),_.addEventListener("click",j=>j.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),er=t=>{const{__scopeToast:e,children:o,...a}=t,n=It(Ft,e),[s,r]=m.useState(!1),[i,l]=m.useState(!1);return ar(()=>r(!0)),m.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),i?null:f.jsx(Fa,{asChild:!0,children:f.jsx($t,{...a,children:s&&f.jsxs(f.Fragment,{children:[n.label," ",o]})})})},tr="ToastTitle",Ba=m.forwardRef((t,e)=>{const{__scopeToast:o,...a}=t;return f.jsx(oe.div,{...a,ref:e})});Ba.displayName=tr;var or="ToastDescription",Ua=m.forwardRef((t,e)=>{const{__scopeToast:o,...a}=t;return f.jsx(oe.div,{...a,ref:e})});Ua.displayName=or;var Ga="ToastAction",Ha=m.forwardRef((t,e)=>{const{altText:o,...a}=t;return o.trim()?f.jsx(Ya,{altText:o,asChild:!0,children:f.jsx(Po,{...a,ref:e})}):(console.error(`Invalid prop \`altText\` supplied to \`${Ga}\`. Expected non-empty \`string\`.`),null)});Ha.displayName=Ga;var qa="ToastClose",Po=m.forwardRef((t,e)=>{const{__scopeToast:o,...a}=t,n=Zs(qa,o);return f.jsx(Ya,{asChild:!0,children:f.jsx(oe.button,{type:"button",...a,ref:e,onClick:Z(t.onClick,n.onClose)})})});Po.displayName=qa;var Ya=m.forwardRef((t,e)=>{const{__scopeToast:o,altText:a,...n}=t;return f.jsx(oe.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":a||void 0,...n,ref:e})});function Ka(t){const e=[];return Array.from(t.childNodes).forEach(a=>{if(a.nodeType===a.TEXT_NODE&&a.textContent&&e.push(a.textContent),nr(a)){const n=a.ariaHidden||a.hidden||a.style.display==="none",s=a.dataset.radixToastAnnounceExclude==="";if(!n)if(s){const r=a.dataset.radixToastAnnounceAlt;r&&e.push(r)}else e.push(...Ka(a))}}),e}function ft(t,e,o,{discrete:a}){const n=o.originalEvent.currentTarget,s=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:o});e&&n.addEventListener(t,e,{once:!0}),a?La(n,s):n.dispatchEvent(s)}var Ho=(t,e,o=0)=>{const a=Math.abs(t.x),n=Math.abs(t.y),s=a>n;return e==="left"||e==="right"?s&&a>o:!s&&n>o};function ar(t=()=>{}){const e=ge(t);Re(()=>{let o=0,a=0;return o=window.requestAnimationFrame(()=>a=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(o),window.cancelAnimationFrame(a)}},[e])}function nr(t){return t.nodeType===t.ELEMENT_NODE}function sr(t){const e=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const n=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||n?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)e.push(o.currentNode);return e}function Kt(t){const e=document.activeElement;return t.some(o=>o===e?!0:(o.focus(),document.activeElement!==e))}var rr=ja,Xa=Wa,Ja=Va,Za=Ba,Qa=Ua,en=Ha,tn=Po;function on(t){var e,o,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(e=0;e<n;
vendor: 6,798 bytes, line 2
2e++)t[e]&&(o=on(t[e]))&&(a&&(a+=" "),a+=o)}else for(o in t)t[o]&&(a&&(a+=" "),a+=o);return a}function an(){for(var t,e,o=0,a="",n=arguments.length;o<n;o++)(t=arguments[o])&&(e=on(t))&&(a&&(a+=" "),a+=e);return a}const qo=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Yo=an,ir=(t,e)=>o=>{var a;if((e==null?void 0:e.variants)==null)return Yo(t,o==null?void 0:o.class,o==null?void 0:o.className);const{variants:n,defaultVariants:s}=e,r=Object.keys(n).map(c=>{const u=o==null?void 0:o[c],p=s==null?void 0:s[c];if(u===null)return null;const d=qo(u)||qo(p);return n[c][d]}),i=o&&Object.entries(o).reduce((c,u)=>{let[p,d]=u;return d===void 0||(c[p]=d),c},{}),l=e==null||(a=e.compoundVariants)===null||a===void 0?void 0:a.reduce((c,u)=>{let{class:p,className:d,...g}=u;return Object.entries(g).every(h=>{let[v,b]=h;return Array.isArray(b)?b.includes({...s,...i}[v]):{...s,...i}[v]===b})?[...c,p,d]:c},[]);return Yo(t,r,l,o==null?void 0:o.class,o==null?void 0:o.className)},To="-",cr=t=>{const e=dr(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=t;return{getClassGroupId:r=>{const i=r.split(To);return i[0]===""&&i.length!==1&&i.shift(),nn(i,e)||lr(r)},getConflictingClassGroupIds:(r,i)=>{const l=o[r]||[];return i&&a[r]?[...l,...a[r]]:l}}},nn=(t,e)=>{var r;if(t.length===0)return e.classGroupId;const o=t[0],a=e.nextPart.get(o),n=a?nn(t.slice(1),a):void 0;if(n)return n;if(e.validators.length===0)return;const s=t.join(To);return(r=e.validators.find(({validator:i})=>i(s)))==null?void 0:r.classGroupId},Ko=/^\[(.+)\]$/,lr=t=>{if(Ko.test(t)){const e=Ko.exec(t)[1],o=e==null?void 0:e.substring(0,e.indexOf(":"));if(o)return"arbitrary.."+o}},dr=t=>{const{theme:e,prefix:o}=t,a={nextPart:new Map,validators:[]};return pr(Object.entries(t.classGroups),o).forEach(([s,r])=>{io(r,a,s,e)}),a},io=(t,e,o,a)=>{t.forEach(n=>{if(typeof n=="string"){const s=n===""?e:Xo(e,n);s.classGroupId=o;return}if(typeof n=="function"){if(ur(n)){io(n(a),e,o,a);return}e.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([s,r])=>{io(r,Xo(e,s),o,a)})})},Xo=(t,e)=>{let o=t;return e.split(To).forEach(a=>{o.nextPart.has(a)||o.nextPart.set(a,{nextPart:new Map,validators:[]}),o=o.nextPart.get(a)}),o},ur=t=>t.isThemeGetter,pr=(t,e)=>e?t.map(([o,a])=>{const n=a.map(s=>typeof s=="string"?e+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([r,i])=>[e+r,i])):s);return[o,n]}):t,mr=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,o=new Map,a=new Map;const n=(s,r)=>{o.set(s,r),e++,e>t&&(e=0,a=o,o=new Map)};return{get(s){let r=o.get(s);if(r!==void 0)return r;if((r=a.get(s))!==void 0)return n(s,r),r},set(s,r){o.has(s)?o.set(s,r):n(s,r)}}},sn="!",gr=t=>{const{separator:e,experimentalParseClassName:o}=t,a=e.length===1,n=e[0],s=e.length,r=i=>{const l=[];let c=0,u=0,p;for(let b=0;b<i.length;b++){let y=i[b];if(c===0){if(y===n&&(a||i.slice(b,b+s)===e)){l.push(i.slice(u,b)),u=b+s;continue}if(y==="/"){p=b;continue}}y==="["?c++:y==="]"&&c--}const d=l.length===0?i:i.substring(u),g=d.startsWith(sn),h=g?d.substring(1):d,v=p&&p>u?p-u:void 0;return{modifiers:l,hasImportantModifier:g,baseClassName:h,maybePostfixModifierPosition:v}};return o?i=>o({className:i,parseClassName:r}):r},fr=t=>{if(t.length<=1)return t;const e=[];let o=[];return t.forEach(a=>{a[0]==="["?(e.push(...o.sort(),a),o=[]):o.push(a)}),e.push(...o.sort()),e},hr=t=>({cache:mr(t.cacheSize),parseClassName:gr(t),...cr(t)}),vr=/\s+/,br=(t,e)=>{const{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:n}=e,s=[],r=t.trim().split(vr);let i="";for(let l=r.length-1;l>=0;l-=1){const c=r[l],{modifiers:u,hasImportantModifier:p,baseClassName:d,maybePostfixModifierPosition:g}=o(c);let h=!!g,v=a(h?d.substring(0,g):d);if(!v){if(!h){i=c+(i.length>0?" "+i:i);continue}if(v=a(d),!v){i=c+(i.length>0?" "+i:i);continue}h=!1}const b=fr(u).join(":"),y=p?b+sn:b,w=y+v;if(s.includes(w))continue;s.push(w);const S=n(v,h);for(let x=0;x<S.length;++x){const C=S[x];s.push(y+C)}i=c+(i.length>0?" "+i:i)}return i};function yr(){let t=0,e,o,a="";for(;t<arguments.length;)(e=arguments[t++])&&(o=rn(e))&&(a&&(a+=" "),a+=o);return a}const rn=t=>{if(typeof t=="string")return t;let e,o="";for(let a=0;a<t.length;a++)t[a]&&(e=rn(t[a]))&&(o&&(o+=" "),o+=e);return o};function wr(t,...e){let o,a,n,s=r;function r(l){const c=e.reduce((u,p)=>p(u),t());return o=hr(c),a=o.cache.get,n=o.cache.set,s=i,i(l)}function i(l){const c=a(l);if(c)return c;const u=br(l,o);return n(l,u),u}return function(){return s(yr.apply(null,arguments))}}const K=t=>{const e=o=>o[t]||[];return e.isThemeGetter=!0,e},cn=/^\[(?:([a-z-]+):)?(.+)\]$/i,xr=/^\d+\/\d+$/,Cr=new Set(["px","full","screen"]),Sr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Tr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ar=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Er=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ve=t=>Ge(t)||Cr.has(t)||xr.test(t),Ae=t=>Ke(t,"length",Fr),Ge=t=>!!t&&!Number.isNaN(Number(t)),Xt=t=>Ke(t,"number",Ge),Qe=t=>!!t&&Number.isInteger(Number(t)),Rr=t=>t.endsWith("%")&&Ge(t.slice(0,-1)),z=t=>cn.test(t),Ee=t=>Sr.test(t),kr=new Set(["length","size","percentage"]),Dr=t=>Ke(t,kr,ln),Lr=t=>Ke(t,"position",ln),Or=new Set(["image","url"]),$r=t=>Ke(t,Or,Nr),Ir=t=>Ke(t,"",Mr),et=()=>!0,Ke=(t,e,o)=>{const a=cn.exec(t);return a?a[1]?typeof e=="string"?a[1]===e:e.has(a[1]):o(a[2]):!1},Fr=t=>Pr.test(t)&&!Tr.test(t),ln=()=>!1,Mr=t=>Ar.test(t),Nr=t=>Er.test(t),jr=()=>{const t=K("colors"),e=K("spacing"),o=K("blur"),a=K("brightness"),n=K("borderColor"),s=K("borderRadius"),r=K("borderSpacing"),i=K("borderWidth"),l=K("contrast"),c=K("grayscale"),u=K("hueRotate"),p=K("invert"),d=K("gap"),g=K("gradientColorStops"),h=K("gradientColorStopPositions"),v=K("inset"),b=K("margin"),y=K("opacity"),w=K("padding"),S=K("saturate"),x=K("scale"),C=K("sepia"),R=K("skew"),E=K("space"),I=K("translate"),F=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",z,e],L=()=>[z,e],N=()=>["",ve,Ae],T=()=>["auto",Ge,z],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],O=()=>["solid","dashed","dotted","double","none"],_=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",z],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[Ge,z];return{cacheSize:500,separator:":",theme:{colors:[et],spacing:[ve,Ae],blur:["none","",Ee,z],brightness:k(),borderColor:[t],borderRadius:["n
2one","","full",Ee,z],borderSpacing:L(),borderWidth:N(),contrast:k(),grayscale:j(),hueRotate:k(),invert:j(),gap:L(),gradientColorStops:[t],gradientColorStopPositions:[Rr,Ae],inset:U(),margin:U(),opacity:k(),padding:L(),saturate:k(),scale:k(),sepia:j(),skew:k(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",z]}],container:["container"],columns:[{columns:[Ee]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),z]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Qe,z]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",z]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",Qe,z]}],"grid-cols":[{"grid-cols":[et]}],"col-start-end":[{col:["auto",{span:["full",Qe,z]},z]}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":[et]}],"row-start-end":[{row:["auto",{span:[Qe,z]},z]}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",z]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",z]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...A()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...A(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...A(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",z,e]}],"min-w":[{"min-w":[z,e,"min","max","fit"]}],"max-w":[{"max-w":[z,e,"none","full","min","max","fit","prose",{screen:[Ee]},Ee]}],h:[{h:[z,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[z,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[z,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[z,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Ee,Ae]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Xt]}],"font-family":[{font:[et]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",z]}],"line-clamp":[{"line-clamp":["none",Ge,Xt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ve,z]}],"list-image":[{"list-image":["none",z]}
vendor: 7,293 bytes, line 2
2],"list-style-type":[{list:["none","disc","decimal",z]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...O(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ve,Ae]}],"underline-offset":[{"underline-offset":["auto",ve,z]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),Lr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Dr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},$r]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...O(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:O()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...O()]}],"outline-offset":[{"outline-offset":[ve,z]}],"outline-w":[{outline:[ve,Ae]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[ve,Ae]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Ee,Ir]}],"shadow-color":[{shadow:[et]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[..._(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":_()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ee,z]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[S]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[r]}],"border-spacing-x":[{"border-spacing-x":[r]}],"border-spacing-y":[{"border-spacing-y":[r]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",z]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",z]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",z]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[Qe,z]}],"translate-x":[{"translate-x":[I]}],"translate-y":[{"translate-y":[I]}],"skew-x":[{"skew-x":[R]}],"skew-y":[{"skew-y":[R]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",z]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",z]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",z]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[ve,Ae,Xt]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
2none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},_r=wr(jr);function Me(...t){return _r(an(t))}function rx(t,e){t=t.replace("#","");const o=parseInt(t.substring(0,2),16),a=parseInt(t.substring(2,4),16),n=parseInt(t.substring(4,6),16);return`rgba(${o}, ${a}, ${n}, ${e})`}const Wr=rr,dn=m.forwardRef(({className:t,...e},o)=>f.jsx(Xa,{ref:o,className:Me("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",t),...e}));dn.displayName=Xa.displayName;const zr=ir("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),un=m.forwardRef(({className:t,variant:e,...o},a)=>f.jsx(Ja,{ref:a,className:Me(zr({variant:e}),t),...o}));un.displayName=Ja.displayName;const Vr=m.forwardRef(({className:t,...e},o)=>f.jsx(en,{ref:o,className:Me("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...e}));Vr.displayName=en.displayName;const pn=m.forwardRef(({className:t,...e},o)=>f.jsx(tn,{ref:o,className:Me("absolute right-2 top-2 rounded-md p-1 text-foreground
2/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...e,children:f.jsx(us,{className:"h-4 w-4"})}));pn.displayName=tn.displayName;const mn=m.forwardRef(({className:t,...e},o)=>f.jsx(Za,{ref:o,className:Me("text-sm font-semibold",t),...e}));mn.displayName=Za.displayName;const gn=m.forwardRef(({className:t,...e},o)=>f.jsx(Qa,{ref:o,className:Me("text-sm opacity-90",t),...e}));gn.displayName=Qa.displayName;function Br(){const{toasts:t}=vs();return f.jsxs(Wr,{children:[t.map(function({id:e,title:o,description:a,action:n,...s}){return f.jsxs(un,{...s,children:[f.jsxs("div",{className:"grid gap-1",children:[o&&f.jsx(mn,{children:o}),a&&f.jsx(gn,{children:a})]}),n,f.jsx(pn,{})]},e)}),f.jsx(dn,{})]})}var Pt=["light","dark"],Ao="(prefers-color-scheme: dark)",Ur=typeof window>"u",Eo=m.createContext(void 0),Gr={setTheme:t=>{},themes:[]},Hr=()=>{var t;return(t=m.useContext(Eo))!=null?t:Gr},qr=t=>m.useContext(Eo)?t.children:m.createElement(Kr,{...t}),Yr=["light","dark"],Kr=({forcedTheme:t,disableTransitionOnChange:e=!1,enableSystem:o=!0,enableColorScheme:a=!0,storageKey:n="theme",themes:s=Yr,defaultTheme:r=o?"system":"light",attribute:i="data-theme",value:l,children:c,nonce:u})=>{let[p,d]=m.useState(()=>Jo(n,r)),[g,h]=m.useState(()=>Jo(n)),v=l?Object.values(l):s,b=m.useCallback(x=>{let C=x;if(!C)return;x==="system"&&o&&(C=Zo());let R=l?l[C]:C,E=e?Jr():null,I=document.documentElement;if(i==="class"?(I.classList.remove(...v),R&&I.classList.add(R)):R?I.setAttribute(i,R):I.removeAttribute(i),a){let F=Pt.includes(r)?r:null,$=Pt.includes(C)?C:F;I.style.colorScheme=$}E==null||E()},[]),y=m.useCallback(x=>{let C=typeof x=="function"?x(x):x;d(C);try{localStorage.setItem(n,C)}catch{}},[t]),w=m.useCallback(x=>{let C=Zo(x);h(C),p==="system"&&o&&!t&&b("system")},[p,t]);m.useEffect(()=>{let x=window.matchMedia(Ao);return x.addListener(w),w(x),()=>x.removeListener(w)},[w]),m.useEffect(()=>{let x=C=>{if(C.key!==n)return;let R=C.newValue||r;y(R)};return window.addEventListener("storage",x),()=>window.removeEventListener("storage",x)},[y]),m.useEffect(()=>{b(t??p)},[t,p]);let S=m.useMemo(()=>({theme:p,setTheme:y,forcedTheme:t,resolvedTheme:p==="system"?g:p,themes:o?[...s,"system"]:s,systemTheme:o?g:void 0}),[p,y,t,g,o,s]);return m.createElement(Eo.Provider,{value:S},m.createElement(Xr,{forcedTheme:t,disableTransitionOnChange:e,enableSystem:o,enableColorScheme:a,storageKey:n,themes:s,defaultTheme:r,attribute:i,value:l,children:c,attrs:v,nonce:u}),c)},Xr=m.memo(({forcedTheme:t,storageKey:e,attribute:o,enableSystem:a,enableColorScheme:n,defaultTheme:s,value:r,attrs:i,nonce:l})=>{let c=s==="system",u=o==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${i.map(h=>`'${h}'`).join(",")})`};`:`var d=document.documentElement,n='${o}',s='setAttribute';`,p=n?Pt.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",d=(h,v=!1,b=!0)=>{let y=r?r[h]:h,w=v?h+"|| ''":`'${y}'`,S="";return n&&b&&!v&&Pt.includes(h)&&(S+=`d.style.colorScheme = '${h}';`),o==="class"?v||y?S+=`c.add(${w})`:S+="null":y&&(S+=`d[s](n,${w})`),S},g=t?`!function(){${u}${d(t)}}()`:a?`!function(){try{${u}var e=localStorage.getItem('${e}');if('system'===e||(!e&&${c})){var t='${Ao}',m=window.matchMedia(t);if(m.media!==t||m.matches){${d("dark")}}else{${d("light")}}}else if(e){${r?`var x=${JSON.stringify(r)};`:""}${d(r?"x[e]":"e",!0)}}${c?"":"else{"+d(s,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${e}');if(e){${r?`var x=${JSON.stringify(r)};`:""}${d(r?"x[e]":"e",!0)}}else{${d(s,!1,!1)};}${p}}catch(t){}}();`;return m.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:g}})}),Jo=(t,e)=>{if(Ur)return;let o;try{o=localStorage.getItem(t)||void 0}catch{}return o||e},Jr=()=>{let t=document.createElement("style");return t.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},Zo=t=>
2(t||(t=window.matchMedia(Ao)),t.matches?"dark":"light"),Zr=t=>{switch(t){case"success":return ti;case"info":return ai;case"warning":return oi;case"error":return ni;default:return null}},Qr=Array(12).fill(0),ei=({visible:t})=>P.createElement("div",{className:"sonner-loading-wrapper","data-visible":t},P.createElement("div",{className:"sonner-spinner"},Qr.map((e,o)=>P.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${o}`})))),ti=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},P.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),oi=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},P.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),ai=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},P.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),ni=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},P.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),si=()=>{let[t,e]=P.useState(document.hidden);return P.useEffect(()=>{let o=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",o),()=>window.removeEventListener("visibilitychange",o)},[]),t},co=1,ri=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let e=this.subscribers.indexOf(t);this.subscribers.splice(e,1)}),this.publish=t=>{this.subscribers.forEach(e=>e(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var e;let{message:o,...a}=t,n=typeof(t==null?void 0:t.id)=="number"||((e=t.id)==null?void 0:e.length)>0?t.id:co++,s=this.toasts.find(i=>i.id===n),r=t.dismissible===void 0?!0:t.dismissible;return s?this.toasts=this.toasts.map(i=>i.id===n?(this.publish({...i,...t,id:n,title:o}),{...i,...t,id:n,dismissible:r,title:o}):i):this.addToast({title:o,...a,dismissible:r,id:n}),n},this.dismiss=t=>(t||this.toasts.forEach(e=>{this.subscribers.forEach(o=>o({id:e.id,dismiss:!0}))}),this.subscribers.forEach(e=>e({id:t,dismiss:!0})),t),this.message=(t,e)=>this.create({...e,message:t}),this.error=(t,e)=>this.create({...e,message:t,type:"error"}),this.success=(t,e)=>this.create({...e,type:"success",message:t}),this.info=(t,e)=>this.create({...e,type:"info",message:t}),this.warning=(t,e)=>this.create({...e,type:"warning",message:t}),this.loading=(t,e)=>this.create({...e,type:"loading",message:t}),this.promise=(t,e)=>{if(!e)return;let o;e.loading!==void 0&&(o=this.create({...e,promise:t,type:"loading",message:e.loading,description:typeof e.description!="function"?e.description:void 0}));let a=t instanceof Promise?t:t(),n=o!==void 0;return a.then(async s=>{if(ci(s)&&!s.ok){n=!1;let r=typeof e.error=="function"?await e.error(`HTTP error! status: ${s.status}`):e.error,i=typeof e.description=="function"?await e.description(`HTTP error! status: ${s.status}`):e.description;this.create({id:o,type:"error",message:r,description:i})}else if(e.success!==void 0){n=!1;let r=typeof e.success=="function"?await e.success(s):e.success,i=typeof e.description=="function"?await e.description(s):e.description;this.create({id:o,type:"success",message:r,description:i})}}).catch(async s=>{if(e.error!==void 0){n=!1;let r=typeof e.error=="function"?await e.error(s):e.error,i=typeof e.description=="function"?await e.description(s):e.description;this.create({id:o,type:"error",message:r,description:i})}}).finally(()=>{var s;n&&(this.dismiss(o),o=void 0),(s=e.finally)==null||s.call(e)}),o},this.custom=(t,e)=>{let o=(e==null?void 0:e.id)||co++;return this.create({jsx:t(o),id:o,...e}),o},this.subscribers=[],this.toasts=[]}},ae=new ri,ii=(t,e)=>{let o=(e==null?void 0:e.id)||co++;return ae.addToast({title:t,...e,id:o}),o},ci=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",li=ii,di=()=>ae.toasts,ix=Object.assign(li,{success:ae.success,info:ae.info,warning:ae.warning,error:ae.error,custom:ae.custom,message:ae.message,promise:ae.promise,dismiss:ae.dismiss,loading:ae.loading},{getHistory:di});function ui(t,{insertAt:e}={}){if(typeof document>"u")return;let o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",e==="top"&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}ui(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
2left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
2:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
3`);function ht(t){return t.label!==void 0}var pi=3,mi="32px",gi=4e3,fi=356,hi=14,vi=20,bi=200;function yi(...t){return t.filter(Boolean).join(" ")}var wi=t=>{var e,o,a,n,s,r,i,l,c,u;let{invert:p,toast:d,unstyled:g,interacting:h,setHeights:v,visibleToasts:b,heights:y,index:w,toasts:S,exp
3anded:x,removeToast:C,defaultRichColors:R,closeButton:E,style:I,cancelButtonStyle:F,actionButtonStyle:$,className:U="",descriptionClassName:L="",duration:N,position:T,gap:B,loadingIcon:O,expandByDefault:_,classNames:A,icons:j,closeButtonAriaLabel:X="Close toast",pauseWhenPageIsHidden:k,cn:V}=t,[G,Q]=P.useState(!1),[re,J]=P.useState(!1),[Ne,xe]=P.useState(!1),[Ce,Se]=P.useState(!1),[dt,je]=P.useState(0),[$e,Ze]=P.useState(0),ut=P.useRef(null),Pe=P.useRef(null),Ut=w===0,Gt=w+1<=b,ee=d.type,_e=d.dismissible!==!1,Qn=d.className||"",es=d.descriptionClassName||"",pt=P.useMemo(()=>y.findIndex(W=>W.toastId===d.id)||0,[y,d.id]),ts=P.useMemo(()=>{var W;return(W=d.closeButton)!=null?W:E},[d.closeButton,E]),No=P.useMemo(()=>d.duration||N||gi,[d.duration,N]),Ht=P.useRef(0),We=P.useRef(0),jo=P.useRef(0),ze=P.useRef(null),[_o,os]=T.split("-"),Wo=P.useMemo(()=>y.reduce((W,Y,q)=>q>=pt?W:W+Y.height,0),[y,pt]),zo=si(),as=d.invert||p,qt=ee==="loading";We.current=P.useMemo(()=>pt*B+Wo,[pt,Wo]),P.useEffect(()=>{Q(!0)},[]),P.useLayoutEffect(()=>{if(!G)return;let W=Pe.current,Y=W.style.height;W.style.height="auto";let q=W.getBoundingClientRect().height;W.style.height=Y,Ze(q),v(ue=>ue.find(pe=>pe.toastId===d.id)?ue.map(pe=>pe.toastId===d.id?{...pe,height:q}:pe):[{toastId:d.id,height:q,position:d.position},...ue])},[G,d.title,d.description,v,d.id]);let Te=P.useCallback(()=>{J(!0),je(We.current),v(W=>W.filter(Y=>Y.toastId!==d.id)),setTimeout(()=>{C(d)},bi)},[d,C,v,We]);P.useEffect(()=>{if(d.promise&&ee==="loading"||d.duration===1/0||d.type==="loading")return;let W,Y=No;return x||h||k&&zo?(()=>{if(jo.current<Ht.current){let q=new Date().getTime()-Ht.current;Y=Y-q}jo.current=new Date().getTime()})():Y!==1/0&&(Ht.current=new Date().getTime(),W=setTimeout(()=>{var q;(q=d.onAutoClose)==null||q.call(d,d),Te()},Y)),()=>clearTimeout(W)}
3,[x,h,_,d,No,Te,d.promise,ee,k,zo]),P.useEffect(()=>{let W=Pe.current;if(W){let Y=W.getBoundingClientRect().height;return Ze(Y),v(q=>[{toastId:d.id,height:Y,position:d.position},...q]),()=>v(q=>q.filter(ue=>ue.toastId!==d.id))}},[v,d.id]),P.useEffect(()=>{d.delete&&Te()},[Te,d.delete]);function ns(){return j!=null&&j.loading?P.createElement("div",{className:"sonner-loader","data-visible":ee==="loading"},j.loading):O?P.createElement("div",{className:"sonner-loader","data-visible":ee==="loading"},O):P.createElement(ei,{visible:ee==="loading"})}return P.createElement("li",{"aria-live":d.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:Pe,className:V(U,Qn,A==null?void 0:A.toast,(e=d==null?void 0:d.classNames)==null?void 0:e.toast,A==null?void 0:A.default,A==null?void 0:A[ee],(o=d==null?void 0:d.classNames)==null?void 0:o[ee]),"data-sonner-toast":"","data-rich-colors":(a=d.richColors)!=null?a:R,"data-styled":!(d.jsx||d.unstyled||g),"data-mounted":G,"data-promise":!!d.promise,"data-removed":re,"data-visible":Gt,"data-y-position":_o,"data-x-position":os,"data-index":w,"data-front":Ut,"data-swiping":Ne,"data-dismissible":_e,"data-type":ee,"data-invert":as,"data-swipe-out":Ce,"data-expanded":!!(x||_&&G),style:{"--index":w,"--toasts-before":w,"--z-index":S.length-w,"--offset":`${re?dt:We.current}px`,"--initial-height":_?"auto":`${$e}px`,...I,...d.style},onPointerDown:W=>{qt||!_e||(ut.current=new Date,je(We.current),W.target.setPointerCapture(W.pointerId),W.target.tagName!=="BUTTON"&&(xe(!0),ze.current={x:W.clientX,y:W.clientY}))},onPointerUp:()=>{var W,Y,q,ue;if(Ce||!_e)return;ze.current=null;let pe=Number(((W=Pe.current)==null?void 0:W.style.getPropertyValue("--swipe-amount").replace("px",""))||0),mt=new Date().getTime()-((Y=ut.current)==null?void 0:Y.getTime()),ss=Math.abs(pe)/mt;if(Math.abs(pe)>=vi||ss>.11){je(We.current),(q=d.onDismiss)==null||q.call(d,d),Te(),Se(!0);return}(ue=Pe.current)==null||ue.style.setProperty("--swipe-amount","0px"),xe(!1)},onPointerMove:W=>{var Y;if(!ze.current||!_e)return;let q=W.clientY-ze.current.y,ue=W.clientX-ze.current.x,pe=(_o==="top"?Math.min:Math.max)(0,q),mt=W.pointerType==="touch"?10:2;Math.abs(pe)>mt?(Y=Pe.current)==null||Y.style.setProperty("--swipe-amount",`${q}px`):Math.abs(ue)>mt&&(ze.current=null)}},ts&&!d.jsx?P.createElement("button",{"aria-label":X,"data-disabled":qt,"data-close-button":!0,onClick:qt||!_e?()=>{}:()=>{var W;Te(),(W=d.onDismiss)==null||W.call(d,d)},className:V(A==null?void 0:A.closeButton,(n=d==null?void 0:d.classNames)==null?void 0:n.closeButton)},P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},P.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),P.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,d.jsx||P.isValidElement(d.title)?d.jsx||d.title:P.createElement(P.Fragment,null,ee||d.icon||d.promise?P.createElement("div",{"data-icon":"",className:V(A==null?void 0:A.icon,(s=d==null?void 0:d.classNames)==null?void 0:s.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||ns():null,d.type!=="loading"?d.icon||(j==null?void 0:j[ee])||Zr(ee):null):null,P.createElement("div",{"data-content":"",className:V(A==null?void 0:A.content,(r=d==null?void 0:d.classNames)==null?void 0:r.content)},P.createElement("div",{"data-title":"",className:V(A==null?void 0:A.title,(i=d==null?void 0:d.classNames)==null?void 0:i.title)},d.title),d.description?P.createElement("div",{"data-description":"",className:V(L,es,A==null?void 0:A.description,(l=d==null?void 0:d.classNames)==null?void 0:l.description)},d.description):null),P.isValidElement(d.cancel)?d.cancel:d.cancel&&ht(d.cancel)?P.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||F,onClick:W=>{var Y,q;ht(d.cancel)&&_e&&((q=(Y=d.cancel).onClick)==null||q.call(Y,W),Te())},className:V(A==null?void 0:A.cancelButton,(c=d==null?void 0:d.classNames)==null?void 0:c.cancelButton)},d.cancel.label):null,P.isValidElement(d.action)?d.action:d.action&&ht(d.action)?P.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||$,onClick:W=>{var Y,q;ht(d.action)&&(W.defaultPrevented||((q=(Y=d.action).onClick)==null||q.call(Y,W),Te()))},className:V(A==null?void 0:A.actionButton,(u=d==null?void 0:d.classNames)==null?void 0:u.actionButton)},d.action.label):null))};function Qo(){if(typeof window>"u"||typeof document>"u")return"ltr";let t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}var xi=t=>{let{invert:e,position:o="bottom-right",hotkey:a=["altKey","KeyT"],expand:n,closeButton:s,className:r,offset:i,theme:l="light",richColors:c,duration:u,style:p,visibleToasts:d=pi,toastOptions:g,dir:h=Qo(),gap:v=hi,loadingIcon:b,icons:y,containerAriaLabel:w="Notifications",pauseWhenPageIsHidden:S,cn:x=yi}=t,[C,R]=P.useState([]),E=P.useMemo(()=>Array.from(new Set([o].concat(C.filter(k=>k.position).map(k=>k.position)))),[C,o]),[I,F]=P.useState([]),[$,U]=P.useState(!1),[L,N]=P.useState(!1),[T,B]=P.useState(l!=="system"?l:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
3k":"light"),O=P.useRef(null),_=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=P.useRef(null),j=P.useRef(!1),X=P.useCallback(k=>{var V;(V=C.find(G=>G.id===k.id))!=null&&V.delete||ae.dismiss(k.id),R(G=>G.filter(({id:Q})=>Q!==k.id))},[C]);return P.useEffect(()=>ae.subscribe(k=>{if(k.dismiss){R(V=>V.map(G=>G.id===k.id?{...G,delete:!0}:G));return}setTimeout(()=>{Aa.flushSync(()=>{R(V=>{let G=V.findIndex(Q=>Q.id===k.id);return G!==-1?[...V.slice(0,G),{...V[G],...k},...V.slice(G+1)]:[k,...V]})})})}),[]),P.useEffect(()=>{if(l!=="system"){B(l);return}l==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:k})=>{B(k?"dark":"light")})},[l]),P.useEffect(()=>{C.length<=1&&U(!1)},[C]),P.useEffect(()=>{let k=V=>{var G,Q;a.every(re=>V[re]||V.code===re)&&(U(!0),(G=O.current)==null||G.focus()),V.code==="Escape"&&(document.activeElement===O.current||(Q=O.current)!=null&&Q.contains(document.activeElement))&&U(!1)};return document.addEventListener("keydown",k),()=>document.removeEventListener("keydown",k)},[a]),P.useEffect(()=>{if(O.current)return()=>{A.current&&(A.current.focus({preventScroll:!0}),A.current=null,j.current=!1)}},[O.current]),C.length?P.createElement("section",{"aria-label":`${w} ${_}`,tabIndex:-1},E.map((k,V)=>{var G;let[Q,re]=k.split("-");return P.createElement("ol",{key:k,dir:h==="auto"?Qo():h,tabIndex:-1,ref:O,className:r,"data-sonner-toaster":!0,"data-theme":T,"data-y-position":Q,"data-x-position":re,style:{"--front-toast-height":`${((G=I[0])==null?void 0:G.height)||0}px`,"--offset":typeof i=="number"?`${i}px`:i||mi,"--width":`${fi}px`,"--gap":`${v}px`,...p},onBlur:J=>{j.current&&!J.currentTarget.contains(J.relatedTarget)&&(j.current=!1,A.current&&(A.current.focus({preventScroll:!0}),A.current=null))},onFocus:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||j.current||(j.current=!0,A.current=J.relatedTarget)},onMouseEnter:()=>U(!0),onMouseMove:()=>U(!0),onMouseLeave:()=>{L||U(!1)},onPointerDown:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||N(!0)},onPointerUp:()=>N(!1)},C.filter(J=>!J.position&&V===0||J.position===k).map((J,Ne)=>{var xe,Ce;return P.createElement(wi,{key:J.id,icons:y,index:Ne,toast:J,defaultRichColors:c,duration:(xe=g==null?void 0:g.duration)!=null?xe:u,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:e,visibleToasts:d,closeButton:(Ce=g==null?void 0:g.closeButton)!=null?Ce:s,interacting:L,position:k,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:X,toasts:C.filter(Se=>Se.position==J.position),heights:I.filter(Se=>Se.position==J.position),setHeights:F,expandByDefault:n,gap:v,loadingIcon:b,expanded:$,pauseWhenPageIsHidden:S,cn:x})}))})):null};const Ci=({...t})=>{const{theme:e="system"}=Hr();return f.jsx(xi,{theme:e,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})};var Si=cs.useId||(()=>{}),Pi=0;function Ti(t){const[e,o]=m.useState(Si());return Re(()=>{o(a=>a??String(Pi++))},[t]),e?`radix-${e}`:""}const Ai=["top","right","bottom","left"],ke=Math.min,ne=Math.max,Tt=Math.round,vt=Math.floor,De=t=>({x:t,y:t}),Ei={left:"right",right:"left",bottom:"top",top:"bottom"},Ri={start:"end",end:"start"};function lo(t,e,o){return ne(t,ke(e,o))}function ye(t,e){return typeof t=="function"?t(e):t}function we(t){return t.split("-")[0]}function Xe(t){return t.split("-")[1]}function Ro(t){return t==="x"?"y":"x"}function ko(t){return t==="y"?"height":"width"}function Le(t){return["top","bottom"].includes(we(t))?"y":"x"}function Do(t){return Ro(Le(t))}function ki(t,e,o){o===void 0&&(o=!1);const a=Xe(t),n=Do(t),s=ko(n);let r=n==="x"?a===(o?"end":"start")?"right":"left":a==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=At(r)),[r,At(r)]}function Di(t){const e=At(t);return[uo(t),e,uo(e)]}function uo(t){return t.replace(/start|end/g,e=>Ri[e])}function Li(t,e,o){const a=["left","right"],n=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(t){case"top":case"bottom":return o?e?n:a:e?a:n;case"left":case"right":return e?s:r;default:return[]}}function Oi(t,e,o,a){const n=Xe(t);let s=Li(we(t),o==="start",a);return n&&(s=s.map(r=>r+"-"+n),e&&(s=s.concat(s.map(uo)))),s}function At(t){return t.replace(/left|right|bottom|top/g,e=>Ei[e])}function $i(t){return{top:0,right:0,bottom:0,left:0,...t}}function fn(t){return typeof t!="number"?$i(t):{top:t,right:t,bottom:t,left:t}}function Et(t){const{x:e,y:o,width:a,height:n}=t;return{width:a,height:n,top:o,left:e,right:e+a,bottom:o+n,x:e,y:o}}function ea(t,e,o){let{reference:a,floating:n}=t;
vendor: 10,188 bytes, line 3
3const s=Le(e),r=Do(e),i=ko(r),l=we(e),c=s==="y",u=a.x+a.width/2-n.width/2,p=a.y+a.height/2-n.height/2,d=a[i]/2-n[i]/2;let g;switch(l){case"top":g={x:u,y:a.y-n.height};break;case"bottom":g={x:u,y:a.y+a.height};break;case"right":g={x:a.x+a.width,y:p};break;case"left":g={x:a.x-n.width,y:p};break;default:g={x:a.x,y:a.y}}switch(Xe(e)){case"start":g[r]-=d*(o&&c?-1:1);break;case"end":g[r]+=d*(o&&c?-1:1);break}return g}const Ii=async(t,e,o)=>{const{placement:a="bottom",strategy:n="absolute",middleware:s=[],platform:r}=o,i=s.filter(Boolean),l=await(r.isRTL==null?void 0:r.isRTL(e));let c=await r.getElementRects({reference:t,floating:e,strategy:n}),{x:u,y:p}=ea(c,a,l),d=a,g={},h=0;for(let v=0;v<i.length;v++){const{name:b,fn:y}=i[v],{x:w,y:S,data:x,reset:C}=await y({x:u,y:p,initialPlacement:a,placement:d,strategy:n,middlewareData:g,rects:c,platform:r,elements:{reference:t,floating:e}});u=w??u,p=S??p,g={...g,[b]:{...g[b],...x}},C&&h<=50&&(h++,typeof C=="object"&&(C.placement&&(d=C.placement),C.rects&&(c=C.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:n}):C.rects),{x:u,y:p}=ea(c,d,l)),v=-1)}return{x:u,y:p,placement:d,strategy:n,middlewareData:g}};async function rt(t,e){var o;e===void 0&&(e={});const{x:a,y:n,platform:s,rects:r,elements:i,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:d=!1,padding:g=0}=ye(e,t),h=fn(g),b=i[d?p==="floating"?"reference":"floating":p],y=Et(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(b)))==null||o?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(i.floating)),boundary:c,rootBoundary:u,strategy:l})),w=p==="floating"?{x:a,y:n,width:r.floating.width,height:r.floating.height}:r.reference,S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(i.floating)),x=await(s.isElement==null?void 0:s.isElement(S))?await(s.getScale==null?void 0:s.getScale(S))||{x:1,y:1}:{x:1,y:1},C=Et(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:w,offsetParent:S,strategy:l}):w);return{top:(y.top-C.top+h.top)/x.y,bottom:(C.bottom-y.bottom+h.bottom)/x.y,left:(y.left-C.left+h.left)/x.x,right:(C.right-y.right+h.right)/x.x}}const Fi=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:a,placement:n,rects:s,platform:r,elements:i,middlewareData:l}=e,{element:c,padding:u=0}=ye(t,e)||{};if(c==null)return{};const p=fn(u),d={x:o,y:a},g=Do(n),h=ko(g),v=await r.getDimensions(c),b=g==="y",y=b?"top":"left",w=b?"bottom":"right",S=b?"clientHeight":"clientWidth",x=s.reference[h]+s.reference[g]-d[g]-s.floating[h],C=d[g]-s.reference[g],R=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c));let E=R?R[S]:0;(!E||!await(r.isElement==null?void 0:r.isElement(R)))&&(E=i.floating[S]||s.floating[h]);const I=x/2-C/2,F=E/2-v[h]/2-1,$=ke(p[y],F),U=ke(p[w],F),L=$,N=E-v[h]-U,T=E/2-v[h]/2+I,B=lo(L,T,N),O=!l.arrow&&Xe(n)!=null&&T!==B&&s.reference[h]/2-(T<L?$:U)-v[h]/2<0,_=O?T<L?T-L:T-N:0;return{[g]:d[g]+_,data:{[g]:B,centerOffset:T-B-_,...O&&{alignmentOffset:_}},reset:O}}}),Mi=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,a;const{placement:n,middlewareData:s,rects:r,initialPlacement:i,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:d,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...b}=ye(t,e);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const y=we(n),w=Le(i),S=we(i)===i,x=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=d||(S||!v?[At(i)]:Di(i)),R=h!=="none";!d&&R&&C.push(...Oi(i,v,h,x));const E=[i,...C],I=await rt(e,b),F=[];let $=((a=s.flip)==null?void 0:a.overflows)||[];if(u&&F.push(I[y]),p){const T=ki(n,r,x);F.push(I[T[0]],I[T[1]])}if($=[...$,{placement:n,overflows:F}],!F.every(T=>T<=0)){var U,L;const T=(((U=s.flip)==null?void 0:U.index)||0)+1,B=E[T];if(B)return{data:{index:T,overflows:$},reset:{placement:B}};let O=(L=$.filter(_=>_.overflows[0]<=0).sort((_,A)=>_.overflows[1]-A.overflows[1])[0])==null?void 0:L.placement;if(!O)switch(g){case"bestFit":{var N;const _=(N=$.filter(A=>{if(R){const j=Le(A.placement);return j===w||j==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(j=>j>0).reduce((j,X)=>j+X,0)]).sort((A,j)=>A[1]-j[1])[0])==null?void 0:N[0];_&&(O=_);break}case"initialPlacement":O=i;break}if(n!==O)return{reset:{placement:O}}}return{}}}};function ta(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function oa(t){return Ai.some(e=>t[e]>=0)}const Ni=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:o}=e,{strategy:a="referenceHidden",...n}=ye(t,e);switch(a){case"referenceHidden":{const s=await rt(e,{...n,elementContext:"reference"}),r=ta(s,o.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:oa(r)}}}case"escaped":{const s=await rt(e,{...n,altBoundary:!0}),r=ta(s,o.floating);return{data:{escapedOffsets:r,escaped:oa(r)}}}default:return{}}}}};async function ji(t,e){const{placement:o,platform:a,elements:n}=t,s=await(a.isRTL==null?void 0:a.isRTL(n.floating)),r=we(o),i=Xe(o),l=Le(o)==="y",c=["left","top"].includes(r)?-1:1,u=s&&l?-1:1,p=ye(e,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return i&&typeof h=="number"&&(g=i==="end"?h*-1:h),l?{x:g*u,y:d*c}:{x:d*c,y:g*u}}const _i=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,a;const{x:n,y:s,placement:r,middlewareData:i}=e,l=await ji(e,t);return r===((o=i.offset)==null?void 0:o.placement)&&(a=i.arrow)!=null&&a.alignmentOffset?{}:{x:n+l.x,y:s+l.y,data:{...l,placement:r}}}}},Wi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:a,placement:n}=e,{mainAxis:s=!0,crossAxis:r=!1,limiter:i={fn:b=>{let{x:y,y:w}=b;return{x:y,y:w}}},...l}=ye(t,e),c={x:o,y:a},u=await rt(e,l),p=Le(we(n)),d=Ro(p);let g=c[d],h=c[p];if(s){const b=d==="y"?"top":"left",y=d==="y"?"bottom":"right",w=g+u[b],S=g-u[y];g=lo(w,g,S)}if(r){const b=p==="y"?"top":"left",y=p==="y"?"bottom":"right",w=h+u[b],S=h-u[y];h=lo(w,h,S)}const v=i.fn({...e,[d]:g,[p]:h});return{...v,data:{x:v.x-o,y:v.y-a,enabled:{[d]:s,[p]:r}}}}}},zi=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:o,y:a,placement:n,rects:s,middlewareData:r}=e,{offset:i=0,mainAxis:l=!0,crossAxis:c=!0}=ye(t,e),u={x:o,y:a},p=Le(n),d=Ro(p);let g=u[d],h=u[p];const v=ye(i,e),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const S=d==="y"?"height":"width",x=s.reference[d]-s.floating[S]+b.mainAxis,C=s.reference[d]+s.reference[S]-b.mainAxis;g<x?g=x:g>C&&(g=C)}if(c){var y,w;const S=d==="y"?"width":"height",x=["top","left"].includes(we(n)),C=s.reference[p]-s.floating[S]+(x&&((y=r.offset)==null?void 0:y[p])||0)+(x?0:b.crossAxis),R=s.reference[p]+s.reference[S]+(x?0:((w=r.offset)==null?void 0:w[p])||0)-(x?b.crossAxis:0);h<C?h=C:h>R&&(h=R)}return{[d]:g,[p]:h}}}},Vi=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,a;const{placement:n,rects:s,platform:r,elements:i}=e,{apply:l=()=>{},...c}=ye(t,e),u=await rt(e,c),p=we(n),d=Xe(n),g=Le(n)==="y",{width:h,height:v}=s.floating;let b,y;p==="top"||p==="bottom"?(b=p,y=d===(await(r.isRTL==null?void 0:r.isRTL(i.floating))?"start":"end")?"left":"right"):(y=p,b=d==="end"?"top":"bottom");const w=v-u.top-u.bottom,S=h-u.left-u.right,x=ke(v-u[b],w),C=ke(h-u[y],S),R=!e.middlewareData.shift;let E=x,I=C;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(I=S),(a=e.middlewareData.shift)!=null&&a.enabled.y&&(E=w),R&&!d){const $=ne(u.left,0),U=ne(u.right,0),L=ne(u.top,0),N=ne(u.bottom,0);g?I=h-2*($!==0||U!==0?$+U:ne(u.left,u.right)):E=v-2*(L!==0||N!==0?L+N:ne(u.top,u.bottom))}await l({...e,availableWidth:I,availableHeight:E});const F=await r.getDimensions(i.floating);return h!==F.width||v!==F.height?{reset:{rects:!0}}:{}}}};function Mt(){return typeof window<"u"}function Je(t){return hn(t)?(t.nodeName||"").toLowerCase():"#document"}function se(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function he(t){var e;return(e=(hn(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function hn(t){return Mt()?t instanceof Node||t instanceof se(t).Node:!1}function le(t){return Mt()?t instanceof Element||t instanceof se(t).Element:!1}function fe(t){return Mt()?t instanceof HTMLElement||t instanceof se(t).HTMLElement:!1}function aa(t){return!Mt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof se(t).ShadowRoot}function lt(t){const{overflow:e,overflowX:o,overflowY:a,display:n}=de(t);return/auto|scroll|overlay|hidden|clip/.test(e+a+o)&&!["inline","contents"].includes(n)}function Bi(t){return["table","td","th"].includes(Je(t))}function Nt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Lo(t){const e=Oo(),o=le(t)?de(t):t;return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(o.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(o.contain||"").includes(a))}function Ui(t){let e=Oe(t);for(;fe(e)&&!qe(e);){if(Lo(e))return e;if(Nt(e))return null;e=Oe(e)}return null}function Oo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function qe(t){return["html","body","#document"].includes(Je(t))}function de(t){return se(t).getComputedStyle(t)}function jt(t){return le(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Oe(t){if(Je(t)==="html")return t;const e=t.assignedSlot||t.parentNode||aa(t)&&t.host||he(t);return aa(e)?e.host:e}function vn(t){const e=Oe(t);return qe(e)?t.ownerDocument?t.ownerDocument.body:t.body:fe(e)&&lt(e)?e:vn(e)}function it(t,e,o){var a;e===void 0&&(e=[]),o===void 0&&(o=!0);const n=vn(t),s=n===((a=t.ownerDocument)==null?void 0:a.body),r=se(n);
vendor: 4,671 bytes, line 3
3if(s){const i=po(r);return e.concat(r,r.visualViewport||[],lt(n)?n:[],i&&o?it(i):[])}return e.concat(n,it(n,[],o))}function po(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function bn(t){const e=de(t);let o=parseFloat(e.width)||0,a=parseFloat(e.height)||0;const n=fe(t),s=n?t.offsetWidth:o,r=n?t.offsetHeight:a,i=Tt(o)!==s||Tt(a)!==r;return i&&(o=s,a=r),{width:o,height:a,$:i}}function $o(t){return le(t)?t:t.contextElement}function He(t){const e=$o(t);if(!fe(e))return De(1);const o=e.getBoundingClientRect(),{width:a,height:n,$:s}=bn(e);let r=(s?Tt(o.width):o.width)/a,i=(s?Tt(o.height):o.height)/n;return(!r||!Number.isFinite(r))&&(r=1),(!i||!Number.isFinite(i))&&(i=1),{x:r,y:i}}const Gi=De(0);function yn(t){const e=se(t);return!Oo()||!e.visualViewport?Gi:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Hi(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==se(t)?!1:e}function Ie(t,e,o,a){e===void 0&&(e=!1),o===void 0&&(o=!1);const n=t.getBoundingClientRect(),s=$o(t);let r=De(1);e&&(a?le(a)&&(r=He(a)):r=He(t));const i=Hi(s,o,a)?yn(s):De(0);let l=(n.left+i.x)/r.x,c=(n.top+i.y)/r.y,u=n.width/r.x,p=n.height/r.y;if(s){const d=se(s),g=a&&le(a)?se(a):a;let h=d,v=po(h);for(;v&&a&&g!==h;){const b=He(v),y=v.getBoundingClientRect(),w=de(v),S=y.left+(v.clientLeft+parseFloat(w.paddingLeft))*b.x,x=y.top+(v.clientTop+parseFloat(w.paddingTop))*b.y;l*=b.x,c*=b.y,u*=b.x,p*=b.y,l+=S,c+=x,h=se(v),v=po(h)}}return Et({width:u,height:p,x:l,y:c})}function qi(t){let{elements:e,rect:o,offsetParent:a,strategy:n}=t;const s=n==="fixed",r=he(a),i=e?Nt(e.floating):!1;if(a===r||i&&s)return o;let l={scrollLeft:0,scrollTop:0},c=De(1);const u=De(0),p=fe(a);if((p||!p&&!s)&&((Je(a)!=="body"||lt(r))&&(l=jt(a)),fe(a))){const d=Ie(a);c=He(a),u.x=d.x+a.clientLeft,u.y=d.y+a.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+u.x,y:o.y*c.y-l.scrollTop*c.y+u.y}}function Yi(t){return Array.from(t.getClientRects())}function mo(t,e){const o=jt(t).scrollLeft;return e?e.left+o:Ie(he(t)).left+o}function Ki(t){const e=he(t),o=jt(t),a=t.ownerDocument.body,n=ne(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),s=ne(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight);let r=-o.scrollLeft+mo(t);const i=-o.scrollTop;return de(a).direction==="rtl"&&(r+=ne(e.clientWidth,a.clientWidth)-n),{width:n,height:s,x:r,y:i}}function Xi(t,e){const o=se(t),a=he(t),n=o.visualViewport;let s=a.clientWidth,r=a.clientHeight,i=0,l=0;if(n){s=n.width,r=n.height;const c=Oo();(!c||c&&e==="fixed")&&(i=n.offsetLeft,l=n.offsetTop)}return{width:s,height:r,x:i,y:l}}function Ji(t,e){const o=Ie(t,!0,e==="fixed"),a=o.top+t.clientTop,n=o.left+t.clientLeft,s=fe(t)?He(t):De(1),r=t.clientWidth*s.x,i=t.clientHeight*s.y,l=n*s.x,c=a*s.y;return{width:r,height:i,x:l,y:c}}function na(t,e,o){let a;if(e==="viewport")a=Xi(t,o);else if(e==="document")a=Ki(he(t));else if(le(e))a=Ji(e,o);else{const n=yn(t);a={...e,x:e.x-n.x,y:e.y-n.y}}return Et(a)}function wn(t,e){const o=Oe(t);return o===e||!le(o)||qe(o)?!1:de(o).position==="fixed"||wn(o,e)}function Zi(t,e){const o=e.get(t);if(o)return o;let a=it(t,[],!1).filter(i=>le(i)&&Je(i)!=="body"),n=null;const s=de(t).position==="fixed";let r=s?Oe(t):t;for(;le(r)&&!qe(r);){const i=de(r),l=Lo(r);!l&&i.position==="fixed"&&(n=null),(s?!l&&!n:!l&&i.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||lt(r)&&!l&&wn(t,r))?a=a.filter(u=>u!==r):n=i,r=Oe(r)}return e.set(t,a),a}function Qi(t){let{element:e,boundary:o,rootBoundary:a,strategy:n}=t;const r=[...o==="clippingAncestors"?Nt(e)?[]:Zi(e,this._c):[].concat(o),a],i=r[0],l=r.reduce((c,u)=>{const p=na(e,u,n);return c.top=ne(p.top,c.top),c.right=ke(p.right,c.right),c.bottom=ke(p.bottom,c.bottom),c.left=ne(p.left,c.left),c},na(e,i,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function ec(t){const{width:e,height:o}=bn(t);return{width:e,height:o}}function tc(t,e,o){const a=fe(e),n=he(e),s=o==="fixed",r=Ie(t,!0,s,e);let i={scrollLeft:0,scrollTop:0};const l=De(0);if(a||!a&&!s)if((Je(e)!=="body"||lt(n))&&(i=jt(e)),a){const g=Ie(e,!0,s,e);l.x=g.x+e.clientLeft,l.y=g.y+e.clientTop}else n&&(l.x=mo(n));let c=0,u=0;if(n&&!a&&!s){const g=n.getBoundingClientRect();u=g.top+i.scrollTop,c=g.left+i.scrollLeft-mo(n,g)}const p=r.left+i.scrollLeft-l.x-c,d=r.top+i.scrollTop-l.y-u;return{x:p,y:d,width:r.width,height:r.height}}function Jt(t){return de(t).position==="static"}function sa(t,e){if(!fe(t)||de(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return he(t)===o&&(o=o.ownerDocument.body),o}function xn(t,e){const o=se(t);if(Nt(t))return o;if(!fe(t)){let n=Oe(t);for(;n&&!qe(n);
vendor: 6,495 bytes, line 3
3){if(le(n)&&!Jt(n))return n;n=Oe(n)}return o}let a=sa(t,e);for(;a&&Bi(a)&&Jt(a);)a=sa(a,e);return a&&qe(a)&&Jt(a)&&!Lo(a)?o:a||Ui(t)||o}const oc=async function(t){const e=this.getOffsetParent||xn,o=this.getDimensions,a=await o(t.floating);return{reference:tc(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function ac(t){return de(t).direction==="rtl"}const nc={convertOffsetParentRelativeRectToViewportRelativeRect:qi,getDocumentElement:he,getClippingRect:Qi,getOffsetParent:xn,getElementRects:oc,getClientRects:Yi,getDimensions:ec,getScale:He,isElement:le,isRTL:ac};function sc(t,e){let o=null,a;const n=he(t);function s(){var i;clearTimeout(a),(i=o)==null||i.disconnect(),o=null}function r(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),s();const{left:c,top:u,width:p,height:d}=t.getBoundingClientRect();if(i||e(),!p||!d)return;const g=vt(u),h=vt(n.clientWidth-(c+p)),v=vt(n.clientHeight-(u+d)),b=vt(c),w={rootMargin:-g+"px "+-h+"px "+-v+"px "+-b+"px",threshold:ne(0,ke(1,l))||1};let S=!0;function x(C){const R=C[0].intersectionRatio;if(R!==l){if(!S)return r();R?r(!1,R):a=setTimeout(()=>{r(!1,1e-7)},1e3)}S=!1}try{o=new IntersectionObserver(x,{...w,root:n.ownerDocument})}catch{o=new IntersectionObserver(x,w)}o.observe(t)}return r(!0),s}function rc(t,e,o,a){a===void 0&&(a={});const{ancestorScroll:n=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=a,c=$o(t),u=n||s?[...c?it(c):[],...it(e)]:[];u.forEach(y=>{n&&y.addEventListener("scroll",o,{passive:!0}),s&&y.addEventListener("resize",o)});const p=c&&i?sc(c,o):null;let d=-1,g=null;r&&(g=new ResizeObserver(y=>{let[w]=y;w&&w.target===c&&g&&(g.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var S;(S=g)==null||S.observe(e)})),o()}),c&&!l&&g.observe(c),g.observe(e));let h,v=l?Ie(t):null;l&&b();function b(){const y=Ie(t);v&&(y.x!==v.x||y.y!==v.y||y.width!==v.width||y.height!==v.height)&&o(),v=y,h=requestAnimationFrame(b)}return o(),()=>{var y;u.forEach(w=>{n&&w.removeEventListener("scroll",o),s&&w.removeEventListener("resize",o)}),p==null||p(),(y=g)==null||y.disconnect(),g=null,l&&cancelAnimationFrame(h)}}const ic=_i,cc=Wi,lc=Mi,dc=Vi,uc=Ni,ra=Fi,pc=zi,mc=(t,e,o)=>{const a=new Map,n={platform:nc,...o},s={...n.platform,_c:a};return Ii(t,e,{...n,platform:s})};var Ct=typeof document<"u"?m.useLayoutEffect:m.useEffect;function Rt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let o,a,n;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(o=t.length,o!==e.length)return!1;for(a=o;a--!==0;)if(!Rt(t[a],e[a]))return!1;return!0}if(n=Object.keys(t),o=n.length,o!==Object.keys(e).length)return!1;for(a=o;a--!==0;)if(!{}.hasOwnProperty.call(e,n[a]))return!1;for(a=o;a--!==0;){const s=n[a];if(!(s==="_owner"&&t.$$typeof)&&!Rt(t[s],e[s]))return!1}return!0}return t!==t&&e!==e}function Cn(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function ia(t,e){const o=Cn(t);return Math.round(e*o)/o}function Zt(t){const e=m.useRef(t);return Ct(()=>{e.current=t}),e}function gc(t){t===void 0&&(t={});const{placement:e="bottom",strategy:o="absolute",middleware:a=[],platform:n,elements:{reference:s,floating:r}={},transform:i=!0,whileElementsMounted:l,open:c}=t,[u,p]=m.useState({x:0,y:0,strategy:o,placement:e,middlewareData:{},isPositioned:!1}),[d,g]=m.useState(a);Rt(d,a)||g(a);const[h,v]=m.useState(null),[b,y]=m.useState(null),w=m.useCallback(A=>{A!==R.current&&(R.current=A,v(A))},[]),S=m.useCallback(A=>{A!==E.current&&(E.current=A,y(A))},[]),x=s||h,C=r||b,R=m.useRef(null),E=m.useRef(null),I=m.useRef(u),F=l!=null,$=Zt(l),U=Zt(n),L=Zt(c),N=m.useCallback(()=>{if(!R.current||!E.current)return;const A={placement:e,strategy:o,middleware:d};U.current&&(A.platform=U.current),mc(R.current,E.current,A).then(j=>{const X={...j,isPositioned:L.current!==!1};T.current&&!Rt(I.current,X)&&(I.current=X,Ot.flushSync(()=>{p(X)}))})},[d,e,o,U,L]);Ct(()=>{c===!1&&I.current.isPositioned&&(I.current.isPositioned=!1,p(A=>({...A,isPositioned:!1})))},[c]);const T=m.useRef(!1);Ct(()=>(T.current=!0,()=>{T.current=!1}),[]),Ct(()=>{if(x&&(R.current=x),C&&(E.current=C),x&&C){if($.current)return $.current(x,C,N);N()}},[x,C,N,$,F]);const B=m.useMemo(()=>({reference:R,floating:E,setReference:w,setFloating:S}),[w,S]),O=m.useMemo(()=>({reference:x,floating:C}),[x,C]),_=m.useMemo(()=>{const A={position:o,left:0,top:0};if(!O.floating)return A;const j=ia(O.floating,u.x),X=ia(O.floating,u.y);return i?{...A,transform:"translate("+j+"px, "+X+"px)",...Cn(O.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:j,top:X}},[o,i,O.floating,u.x,u.y]);return m.useMemo(()=>({...u,update:N,refs:B,elements:O,floatingStyles:_}),[u,N,B,O,_])}const fc=t=>{function e(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:t,fn(o){const{element:a,padding:n}=typeof t=="function"?t(o):t;return a&&e(a)?a.current!=null?ra({element:a.current,padding:n}).fn(o):{}:a?ra({element:a,padding:n}).fn(o):{}}}},hc=(t,e)=>({...ic(t),options:[t,e]}),vc=(t,e)=>({...cc(t),options:[t,e]}),bc=(t,e)=>({...pc(t),options:[t,e]}),yc=(t,e)=>({...lc(t),options:[t,e]}),wc=(t,e)=>({...dc(t),options:[t,e]}),xc=(t,e)=>({...uc(t),options:[t,e]}),Cc=(t,e)=>({...fc(t),options:[t,e]});var Sc="Arrow",Sn=m.forwardRef((t,e)=>{const{children:o,width:a=10,height:n=5,...s}=t;return f.jsx(oe.svg,{...s,ref:e,width:a,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?o:f.jsx("polygon",{points:"0,0 30,0 15,10"})})});Sn.displayName=Sc;var Pc=Sn;function Tc(t,e=[]){let o=[];function a(s,r){const i=m.createContext(r),l=o.length;o=[...o,r];function c(p){const{scope:d,children:g,...h}=p,v=(d==null?void 0:d[t][l])||i,b=m.useMemo(()=>h,Object.values(h));return f.jsx(v.Provider,{value:b,children:g})}function u(p,d){const g=(d==null?void 0:d[t][l])||i,h=m.useContext(g);if(h)return h;if(r!==void 0)return r;throw new Error(`\`${p}\` must be used within \`${s}\``)}return c.displayName=s+"Provider",[c,u]}const n=()=>{const s=o.map(r=>m.createContext(r));return function(i){const l=(i==null?void 0:i[t])||s;return m.useMemo(()=>({[`__scope${t}`]:{...i,[t]:l}}),[i,l])}};return n.scopeName=t,[a,Ac(n,...e)]}function Ac(...t){const e=t[0];if(t.length===1)return e;const o=()=>{const a=t.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(s){const r=a.reduce((i,{useScope:l,scopeName:c}
vendor: 10,975 bytes, line 3
3)=>{const p=l(s)[`__scope${c}`];return{...i,...p}},{});return m.useMemo(()=>({[`__scope${e.scopeName}`]:r}),[r])}};return o.scopeName=e.scopeName,o}function Ec(t){const[e,o]=m.useState(void 0);return Re(()=>{if(t){o({width:t.offsetWidth,height:t.offsetHeight});const a=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const s=n[0];let r,i;if("borderBoxSize"in s){const l=s.borderBoxSize,c=Array.isArray(l)?l[0]:l;r=c.inlineSize,i=c.blockSize}else r=t.offsetWidth,i=t.offsetHeight;o({width:r,height:i})});return a.observe(t,{box:"border-box"}),()=>a.unobserve(t)}else o(void 0)},[t]),e}var Io="Popper",[Pn,Tn]=Tc(Io),[Rc,An]=Pn(Io),En=t=>{const{__scopePopper:e,children:o}=t,[a,n]=m.useState(null);return f.jsx(Rc,{scope:e,anchor:a,onAnchorChange:n,children:o})};En.displayName=Io;var Rn="PopperAnchor",kn=m.forwardRef((t,e)=>{const{__scopePopper:o,virtualRef:a,...n}=t,s=An(Rn,o),r=m.useRef(null),i=ce(e,r);return m.useEffect(()=>{s.onAnchorChange((a==null?void 0:a.current)||r.current)}),a?null:f.jsx(oe.div,{...n,ref:i})});kn.displayName=Rn;var Fo="PopperContent",[kc,Dc]=Pn(Fo),Dn=m.forwardRef((t,e)=>{var Ne,xe,Ce,Se,dt,je;const{__scopePopper:o,side:a="bottom",sideOffset:n=0,align:s="center",alignOffset:r=0,arrowPadding:i=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:d=!1,updatePositionStrategy:g="optimized",onPlaced:h,...v}=t,b=An(Fo,o),[y,w]=m.useState(null),S=ce(e,$e=>w($e)),[x,C]=m.useState(null),R=Ec(x),E=(R==null?void 0:R.width)??0,I=(R==null?void 0:R.height)??0,F=a+(s!=="center"?"-"+s:""),$=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},U=Array.isArray(c)?c:[c],L=U.length>0,N={padding:$,boundary:U.filter(Oc),altBoundary:L},{refs:T,floatingStyles:B,placement:O,isPositioned:_,middlewareData:A}=gc({strategy:"fixed",placement:F,whileElementsMounted:(...$e)=>rc(...$e,{animationFrame:g==="always"}),elements:{reference:b.anchor},middleware:[hc({mainAxis:n+I,alignmentAxis:r}),l&&vc({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?bc():void 0,...N}),l&&yc({...N}),wc({...N,apply:({elements:$e,rects:Ze,availableWidth:ut,availableHeight:Pe})=>{const{width:Ut,height:Gt}=Ze.reference,ee=$e.floating.style;ee.setProperty("--radix-popper-available-width",`${ut}px`),ee.setProperty("--radix-popper-available-height",`${Pe}px`),ee.setProperty("--radix-popper-anchor-width",`${Ut}px`),ee.setProperty("--radix-popper-anchor-height",`${Gt}px`)}}),x&&Cc({element:x,padding:i}),$c({arrowWidth:E,arrowHeight:I}),d&&xc({strategy:"referenceHidden",...N})]}),[j,X]=$n(O),k=ge(h);Re(()=>{_&&(k==null||k())},[_,k]);const V=(Ne=A.arrow)==null?void 0:Ne.x,G=(xe=A.arrow)==null?void 0:xe.y,Q=((Ce=A.arrow)==null?void 0:Ce.centerOffset)!==0,[re,J]=m.useState();return Re(()=>{y&&J(window.getComputedStyle(y).zIndex)},[y]),f.jsx("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:_?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:re,"--radix-popper-transform-origin":[(Se=A.transformOrigin)==null?void 0:Se.x,(dt=A.transformOrigin)==null?void 0:dt.y].join(" "),...((je=A.hide)==null?void 0:je.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:f.jsx(kc,{scope:o,placedSide:j,onArrowChange:C,arrowX:V,arrowY:G,shouldHideArrow:Q,children:f.jsx(oe.div,{"data-side":j,"data-align":X,...v,ref:S,style:{...v.style,animation:_?void 0:"none"}})})})});Dn.displayName=Fo;var Ln="PopperArrow",Lc={top:"bottom",right:"left",bottom:"top",left:"right"},On=m.forwardRef(function(e,o){const{__scopePopper:a,...n}=e,s=Dc(Ln,a),r=Lc[s.placedSide];return f.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[r]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:f.jsx(Pc,{...n,ref:o,style:{...n.style,display:"block"}})})});On.displayName=Ln;function Oc(t){return t!==null}var $c=t=>({name:"transformOrigin",options:t,fn(e){var b,y,w;const{placement:o,rects:a,middlewareData:n}=e,r=((b=n.arrow)==null?void 0:b.centerOffset)!==0,i=r?0:t.arrowWidth,l=r?0:t.arrowHeight,[c,u]=$n(o),p={start:"0%",center:"50%",end:"100%"}[u],d=(((y=n.arrow)==null?void 0:y.x)??0)+i/2,g=(((w=n.arrow)==null?void 0:w.y)??0)+l/2;let h="",v="";return c==="bottom"?(h=r?p:`${d}px`,v=`${-l}px`):c==="top"?(h=r?p:`${d}px`,v=`${a.floating.height+l}px`):c==="right"?(h=`${-l}px`,v=r?p:`${g}px`):c==="left"&&(h=`${a.floating.width+l}px`,v=r?p:`${g}px`),{data:{x:h,y:v}}}});function $n(t){const[e,o="center"]=t.split("-");return[e,o]}var Ic=En,Fc=kn,Mc=Dn,Nc=On,[_t,cx]=Da("Tooltip",[Tn]),Wt=Tn(),In="TooltipProvider",jc=700,go="tooltip.open",[_c,Mo]=_t(In),Fn=t=>{const{__scopeTooltip:e,delayDuration:o=jc,skipDelayDuration:a=300,disableHoverableContent:n=!1,children:s}=t,[r,i]=m.useState(!0),l=m.useRef(!1),c=m.useRef(0);return m.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),f.jsx(_c,{scope:e,isOpenDelayed:r,delayDuration:o,onOpen:m.useCallback(()=>{window.clearTimeout(c.current),i(!1)},[]),onClose:m.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i(!0),a)},[a]),isPointerInTransitRef:l,onPointerInTransitChange:m.useCallback(u=>{l.current=u},[]),disableHoverableContent:n,children:s})};Fn.displayName=In;var zt="Tooltip",[Wc,Vt]=_t(zt),Mn=t=>{const{__scopeTooltip:e,children:o,open:a,defaultOpen:n=!1,onOpenChange:s,disableHoverableContent:r,delayDuration:i}=t,l=Mo(zt,t.__scopeTooltip),c=Wt(e),[u,p]=m.useState(null),d=Ti(),g=m.useRef(0),h=r??l.disableHoverableContent,v=i??l.delayDuration,b=m.useRef(!1),[y=!1,w]=Ma({prop:a,defaultProp:n,onChange:E=>{E?(l.onOpen(),document.dispatchEvent(new CustomEvent(go))):l.onClose(),s==null||s(E)}}),S=m.useMemo(()=>y?b.current?"delayed-open":"instant-open":"closed",[y]),x=m.useCallback(()=>{window.clearTimeout(g.current),g.current=0,b.current=!1,w(!0)},[w]),C=m.useCallback(()=>{window.clearTimeout(g.current),g.current=0,w(!1)},[w]),R=m.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{b.current=!0,w(!0),g.current=0},v)},[v,w]);return m.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),f.jsx(Ic,{...c,children:f.jsx(Wc,{scope:e,contentId:d,open:y,stateAttribute:S,trigger:u,onTriggerChange:p,onTriggerEnter:m.useCallback(()=>{l.isOpenDelayed?R():x()},[l.isOpenDelayed,R,x]),onTriggerLeave:m.useCallback(()=>{h?C():(window.clearTimeout(g.current),g.current=0)},[C,h]),onOpen:x,onClose:C,disableHoverableContent:h,children:o})})};Mn.displayName=zt;var fo="TooltipTrigger",Nn=m.forwardRef((t,e)=>{const{__scopeTooltip:o,...a}=t,n=Vt(fo,o),s=Mo(fo,o),r=Wt(o),i=m.useRef(null),l=ce(e,i,n.onTriggerChange),c=m.useRef(!1),u=m.useRef(!1),p=m.useCallback(()=>c.current=!1,[]);return m.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),f.jsx(Fc,{asChild:!0,...r,children:f.jsx(oe.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...a,ref:l,onPointerMove:Z(t.onPointerMove,d=>{d.pointerType!=="touch"&&!u.current&&!s.isPointerInTransitRef.current&&(n.onTriggerEnter(),u.current=!0)}),onPointerLeave:Z(t.onPointerLeave,()=>{n.onTriggerLeave(),u.current=!1}),onPointerDown:Z(t.onPointerDown,()=>{c.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:Z(t.onFocus,()=>{c.current||n.onOpen()}),onBlur:Z(t.onBlur,n.onClose),onClick:Z(t.onClick,n.onClose)})})});Nn.displayName=fo;var zc="TooltipPortal",[lx,Vc]=_t(zc,{forceMount:void 0}),Ye="TooltipContent",jn=m.forwardRef((t,e)=>{const o=Vc(Ye,t.__scopeTooltip),{forceMount:a=o.forceMount,side:n="top",...s}=t,r=Vt(Ye,t.__scopeTooltip);return f.jsx(xo,{present:a||r.open,children:r.disableHoverableContent?f.jsx(_n,{side:n,...s,ref:e}):f.jsx(Bc,{side:n,...s,ref:e})})}),Bc=m.forwardRef((t,e)=>{const o=Vt(Ye,t.__scopeTooltip),a=Mo(Ye,t.__scopeTooltip),n=m.useRef(null),s=ce(e,n),[r,i]=m.useState(null),{trigger:l,onClose:c}=o,u=n.current,{onPointerInTransitChange:p}=a,d=m.useCallback(()=>{i(null),p(!1)},[p]),g=m.useCallback((h,v)=>{const b=h.currentTarget,y={x:h.clientX,y:h.clientY},w=qc(y,b.getBoundingClientRect()),S=Yc(y,w),x=Kc(v.getBoundingClientRect()),C=Jc([...S,...x]);i(C),p(!0)},[p]);return m.useEffect(()=>()=>d(),[d]),m.useEffect(()=>{if(l&&u){const h=b=>g(b,u),v=b=>g(b,l);return l.addEventListener("pointerleave",h),u.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",h),u.removeEventListener("pointerleave",v)}}},[l,u,g,d]),m.useEffect(()=>{if(r){const h=v=>{const b=v.target,y={x:v.clientX,y:v.clientY},w=(l==null?void 0:l.contains(b))||(u==null?void 0:u.contains(b)),S=!Xc(y,r);w?d():S&&(d(),c())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,u,r,c,d]),f.jsx(_n,{...t,ref:s})}),[Uc,Gc]=_t(zt,{isInside:!1}),_n=m.forwardRef((t,e)=>{const{__scopeTooltip:o,children:a,"aria-label":n,onEscapeKeyDown:s,onPointerDownOutside:r,...i}=t,l=Vt(Ye,o),c=Wt(o),{onClose:u}=l;return m.useEffect(()=>(document.addEventListener(go,u),()=>document.removeEventListener(go,u)),[u]),m.useEffect(()=>{if(l.trigger){const p=d=>{const g=d.target;g!=null&&g.contains(l.trigger)&&u()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[l.trigger,u]),f.jsx(wo,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:p=>p.preventDefault(),onDismiss:u,children:f.jsxs(Mc,{"data-state":l.stateAttribute,...c,...i,ref:e,style:{...i.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[f.jsx(ka,{children:a}),f.jsx(Uc,{scope:o,isInside:!0,children:f.jsx(Vs,{id:l.contentId,role:"tooltip",children:n||a})})]})})});jn.displayName=Ye;var Wn="TooltipArrow",Hc=m.forwardRef((t,e)=>{const{__scopeTooltip:o,...a}=t,n=Wt(o);return Gc(Wn,o).isInside?null:f.jsx(Nc,{...n,...a,ref:e})});Hc.displayName=Wn;function qc(t,e){const o=Math.abs(e.top-t.y),a=Math.abs(e.bottom-t.y),n=Math.abs(e.right-t.x),s=Math.abs(e.left-t.x);switch(Math.min(o,a,n,s)){case s:return"left";case n:return"right";case o:return"top";case a:return"bottom";default:throw new Error("unreachable")}}function Yc(t,e,o=5){const a=[];switch(e){case"top":a.push({x:t.x-o,y:t.y+o},{x:t.x+o,y:t.y+o});break;case"bottom":a.push({x:t.x-o,y:t.y-o},{x:t.x+o,y:t.y-o});break;case"left":a.push({x:t.x+o,y:t.y-o},{x:t.x+o,y:t.y+o});break;case"right":a.push({x:t.x-o,y:t.y-o},{x:t.x-o,y:t.y+o});break}return a}
3function Kc(t){const{top:e,right:o,bottom:a,left:n}=t;return[{x:n,y:e},{x:o,y:e},{x:o,y:a},{x:n,y:a}]}function Xc(t,e){const{x:o,y:a}=t;let n=!1;for(let s=0,r=e.length-1;s<e.length;r=s++){const i=e[s].x,l=e[s].y,c=e[r].x,u=e[r].y;l>a!=u>a&&o<(c-i)*(a-l)/(u-l)+i&&(n=!n)}return n}function Jc(t){const e=t.slice();return e.sort((o,a)=>o.x<a.x?-1:o.x>a.x?1:o.y<a.y?-1:o.y>a.y?1:0),Zc(e)}function Zc(t){if(t.length<=1)return t.slice();const e=[];for(let a=0;a<t.length;a++){const n=t[a];for(;e.length>=2;){const s=e[e.length-1],r=e[e.length-2];if((s.x-r.x)*(n.y-r.y)>=(s.y-r.y)*(n.x-r.x))e.pop();else break}e.push(n)}e.pop();const o=[];for(let a=t.length-1;a>=0;a--){const n=t[a];for(;o.length>=2;){const s=o[o.length-1],r=o[o.length-2];if((s.x-r.x)*(n.y-r.y)>=(s.y-r.y)*(n.x-r.x))o.pop();else break}o.push(n)}return o.pop(),e.length===1&&o.length===1&&e[0].x===o[0].x&&e[0].y===o[0].y?e:e.concat(o)}var Qc=Fn,el=Mn,tl=Nn,zn=jn;const ol=Qc,dx=el,ux=tl,al=m.forwardRef(({className:t,sideOffset:e=4,...o},a)=>f.jsx(zn,{ref:a,sideOffset:e,className:Me("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o}));al.displayName=zn.displayName;const nl=()=>f.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background",children:f.jsx(ps,{className:"h-10 w-10 animate-spin text-primary"})}),sl=m.lazy(()=>H(()=>import("./AuthenticatedShell-Jmtc6CtD.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]))),rl=m.lazy(()=>H(()=>import("./AuthOnlyShell-BiqPZguC.js"),__vite__mapDeps([20,1,2,3,4,5,11]))),bt=m.lazy(()=>H(()=>import("./SalesPage-N2xxPPC1.js"),__vite__mapDeps([21,1,2,22,12,11,13,16,5]))),Vn=m.lazy(()=>H(()=>import("./OptinPage-S5pcXiel.js").then(t=>t.a),__vite__mapDeps([23,1,2,4,5,24,25,26,27,28,11,29,30,31,32,10,15,33,34,35,36,37,38,39,40]))),Bn=m.lazy(()=>H(()=>import("./CheckInPage-B8pD6Ofk.js"),__vite__mapDeps([41,1,2,4,5,12,26,24,25,32,31,10,28,11,27,29,30,42,36,38,37,39,40]))),il=m.lazy(()=>H(()=>import("./ThankYouPage-CtHX_8u1.js"),__vite__mapDeps([43,1,2,4,5,12,37,39,11,40,15]))),cl=m.lazy(()=>H(()=>import("./EmbeddedForm-BcbTVD_A.js"),__vite__mapDeps([44,1,2,45,30,31,23,4,5,24,25,26,27,28,11,29,32,10,15,33,34,35,36,37,38,39,40,42,46,12]))),ll=m.lazy(()=>H(()=>import("./GroupRedirect-CifKdR-N.js"),__vite__mapDeps([47,1,2,5,4,37,38,12,46,11]))),dl=m.lazy(()=>H(()=>import("./OptimizedGroupRedirect-C-JNGpqx.js"),__vite__mapDeps([48,1,2,4,5,38,37,49,50,39,11]))),Un=m.lazy(()=>H(()=>import("./NewGroupRedirect-BMYXnebO.js"),__vite__mapDeps([51,1,2,12,46,11,4,5,49,50,38,37,39]))),Gn=m.lazy(()=>H(()=>import("./WebinarPage-DIaCEEeh.js"),__vite__mapDeps([52,1,2,4,5,12,53,31,24,11,38,37,54,40]))),ul=m.lazy(()=>H(()=>import("./PublicSalesPage-X_k5dg48.js"),__vite__mapDeps([55,1,2,4,5,37,54,11,12,24,26,40,46,17,56,57,58,31,25,27,28,32,10]))),pl=m.lazy(()=>H(()=>import("./ZAPITestPage-Ceg_ia4L.js"),__vite__mapDeps([59,1,2,12,46,24,26,4,5,60,11]))),ml=m.lazy(()=>H(()=>import("./Login-XH0qvFNy.js"),__vite__mapDeps([61,1,2,4,5,12,24,26,22,15,11]))),gl=m.lazy(()=>H(()=>import("./ForgotPassword-C0nHQJSE.js"),__vite__mapDeps([62,1,2,4,5,12,24,26,11]))),fl=m.lazy(()=>H(()=>import("./ResetPassword-BSVX5tMl.js"),__vite__mapDeps([63,1,2,4,5,12,24,26,11]))),hl=m.lazy(()=>H(()=>import("./ConfirmEmail-6YPMRJ1N.js"),__vite__mapDeps([64,1,2,4,5,12,11]))),vl=m.lazy(()=>H(()=>import("./SetupPassword-CyX0yiYT.js"),__vite__mapDeps([65,1,2,4,5,12,24,26,11]))),ca=m.lazy(()=>H(()=>import("./Index-4OtYHh6F.js"),__vite__mapDeps([66,1,2,12,4,5,3,67,68,6,69,70,15,11]))),bl=m.lazy(()=>H(()=>import("./Forms-CLoKYgYF.js"),__vite__mapDeps([71,1,2,12,4,5,3,15,11,72,34,8,9,10,25,45,30,31,73,46,24,74,28,32,75,76,26,36,42,77,78,29,79,7,13,19]))),yl=m.lazy(()=>H(()=>import("./FormDetails-DkIWMqEZ.js"),__vite__mapDeps([80,1,2,4,5,12,73,9,10,15,11,38,81,67,32,31,28,82,34,83,84,76,85,86,8,14,26,74,24,87,25,70,3,27,46,88,35]))),wl=m.lazy(()=>H(()=>import("./Leads-B3XKr1rZ.js"),__vite__mapDeps([89,1,2,4,5,24,85,86,12,73,9,10,8,11,14,26,74,28,81,87,25,70,3,15,34,27,32,31,46,88,35,57,58,67,90,91]))),xl=m.lazy(()=>H(()=>import("./WhatsApp-BXoF8Tke.js"),__vite__mapDeps([92,1,2,4,5,3,46,12,8,9,10,11,60,73,15,74,28,93,88,34,82,35,84,76,7,13,94]))),Cl=m.lazy(()=>H(()=>import("./Groups-CHjsk3jA.js").then(t=>t.a),__vite__mapDeps([95,5,2,1,12,86,46,11,8,9,10,15,73,4,38,50,81,24,26,32,31,28,3,25,45,30,96,97,90,74,34,84,76,98,91,58,79,7,13,35,88]))),Sl=m.lazy(()=>H(()=>import("./Settings-ZuzRPxku.js"),__vite__mapDeps([99,1,2,24,26,12,8,9,10,11,32,31,28,3,4,5,6,69,7,13,15,18]))),Pl=m.lazy(()=>H(()=>
3import("./Webinars-BY1rUDez.js"),__vite__mapDeps([100,1,2,12,4,5,46,8,9,10,11,25,81,15,24,26,32,31,28,74,90,27,91,58,78,101,54,77,3,79,7,13,94]))),Tl=m.lazy(()=>H(()=>import("./WebinarDetails-BbtJHvU7.js"),__vite__mapDeps([102,1,2,4,5,46,67,24,12,26,90,8,9,10,11,19,32,31,28,53,27,15,45,30]))),Al=m.lazy(()=>H(()=>import("./Gamification-DlbtGEBu.js"),__vite__mapDeps([103,1,2]))),El=m.lazy(()=>H(()=>import("./UsersAdmin-CZe-GaQj.js"),__vite__mapDeps([104,1,2,4,5,12,24,86,8,9,10,11,81,31,30,105,96,97,26,32,28,27,46,34]))),Rl=m.lazy(()=>H(()=>import("./UserDetails-hzJqxWjv.js"),__vite__mapDeps([106,1,2,4,5,12,46,81,8,9,10,11,105,96,97,26,24,32,31,28,27,34,91,58,53,68,6,3,69,72,33,107]))),kl=m.lazy(()=>H(()=>import("./SalesPages-rI47-ZYP.js"),__vite__mapDeps([108,1,2,4,5,12,81,46,8,9,10,11,15,25,73,24,26,32,31,28,19,79,7,3,13,94]))),Dl=m.lazy(()=>H(()=>import("./SalesPageDetails-CAb9ac2Z.js"),__vite__mapDeps([109,1,2,4,5,12,45,30,31,53,46,15,11,74,28,75,76,26,24,25,32,10,56,29,90,91,58,78,101,27,54]))),Ll=m.lazy(()=>H(()=>import("./SalesPageStatistics-13KkrpTA.js"),__vite__mapDeps([110,1,2,4,5,12,67,15,11,73,9,10]))),Ol=m.lazy(()=>H(()=>import("./CRM-Dwv5jRZ9.js"),__vite__mapDeps([111,1,2,45,30,31,4,5,32,10,28,11,81,67,68,6,3,69,46,84,76,83,34,86,53,8,9,24,12,14,15,87,25,70,96,26,73,74,88,91,58,93,82,90,107,72,98,35,7,13,94]))),$l=new rs,Il=()=>f.jsx(nl,{}),Fl=()=>f.jsx(Vn,{theme:null}),Ml=()=>(Fe(),f.jsx(Vn,{theme:null})),Nl=()=>(Fe(),f.jsx(Bn,{})),jl=()=>(Fe(),f.jsx(il,{})),_l=()=>{const{formId:t}=Fe();return f.jsx(cl,{formId:t||""})},Wl=()=>(Fe(),f.jsx(Un,{})),zl=()=>(Fe(),f.jsx(Gn,{})),tt=({basePath:t})=>{const e=Fe(),o=Object.values(e).filter(Boolean),a=o.length>0?`/app${t}/${o.join("/")}`:`/app${t}`;return f.jsx(ie,{to:a,replace:!0})},Vl=()=>f.jsx(is,{client:$l,children:f.jsx(qr,{attribute:"class",defaultTheme:"light",enableSystem:!0,children:f.jsxs(ol,{children:[f.jsx(Br,{}),f.jsx(Ci,{theme:"light",position:"bottom-right"}),f.jsx(ls,{children:f.jsx(m.Suspense,{fallback:f.jsx(Il,{}),children:f.jsxs(ds,{children:[f.jsxs(D,{element:f.jsx(rl,{}),children:[f.jsx(D,{path:"/login",element:f.jsx(ml,{})}),f.jsx(D,{path:"/forgot-password",element:f.jsx(gl,{})}),f.jsx(D,{path:"/reset-password",element:f.jsx(fl,{})}),f.jsx(D,{path:"/confirm",element:f.jsx(hl,{})}),f.jsx(D,{path:"/setup-password",element:f.jsx(vl,{})})]}),f.jsx(D,{path:"/sales",element:f.jsx(bt,{})}),f.jsx(D,{path:"/vendas",element:f.jsx(bt,{})}),f.jsx(D,{path:"/lp",element:f.jsx(bt,{})}),f.jsx(D,{path:"/optin/:userCode/:formSlug",element:f.jsx(Fl,{})}),f.jsx(D,{path:"/:userCode/optin/:formSlug",element:f.jsx(Ml,{})}),f.jsx(D,{path:"/:userCode/thankyou/:formSlug",element:f.jsx(jl,{})}),f.jsx(D,{path:"/checkin/:formId",element:f.jsx(Bn,{})}),f.jsx(D,{path:"/:userCode/checkin/:formSlug",element:f.jsx(Nl,{})}),f.jsx(D,{path:"/form/:formId",element:f.jsx(_l,{})}),f.jsx(D,{path:"/group-redirect/:groupId",element:f.jsx(ll,{})}),f.jsx(D,{path:"/r/:groupId",element:f.jsx(dl,{})}),f.jsx(D,{path:"/new-redirect/:groupId",element:f.jsx(Un,{})}),f.jsx(D,{path:"/redirect/:userCode/:campaignSlug",element:f.jsx(Wl,{})}),f.jsx(D,{path:"/webinar/:webinarId",element:f.jsx(Gn,{})}),f.jsx(D,{path:"/:userCode/webinar/:webinarSlug",element:f.jsx(zl,{})}),f.jsx(D,{path:"/:userCode/sales/:pageSlug",element:f.jsx(ul,{})}),f.jsx(D,{path:"/zapi-test",element:f.jsx(pl,{})}),f.jsx(D,{path:"/dashboard",element:f.jsx(ie,{to:"/app/dashboard",replace:!0})}),f.jsx(D,{path:"/forms",element:f.jsx(ie,{to:"/app/forms",replace:!0})}),f.jsx(D,{path:"/forms/:formId",element:f.jsx(tt,{basePath:"/forms"})}),f.jsx(D,{path:"/leads",element:f.jsx(ie,{to:"/app/leads",replace:!0})}),f.jsx(D,{path:"/groups",element:f.jsx(ie,{to:"/app/groups",replace:!0})}),f.jsx(D,{path:"/webinars",element:f.jsx(ie,{to:"/app/webinars",replace:!0})}),f.jsx(D,{path:"/webinars/:webinarId",element:f.jsx(tt,{basePath:"/webinars"})}),f.jsx(D,{path:"/sales-pages",element:f.jsx(ie,{to:"/app/sales-pages",replace:!0})}),f.jsx(D,{path:"/sales-pages/:pageId",element:f.jsx(tt,{basePath:"/sales-pages"})}),f.jsx(D,{path:"/sales-pages/:pageId/statistics",element:f.jsx(tt,{basePath:"/sales-pages"})}
vendor: 4,915 bytes, line 3
3),f.jsx(D,{path:"/settings",element:f.jsx(ie,{to:"/app/settings",replace:!0})}),f.jsx(D,{path:"/crm",element:f.jsx(ie,{to:"/app/crm",replace:!0})}),f.jsx(D,{path:"/gamification",element:f.jsx(ie,{to:"/app/gamification",replace:!0})}),f.jsx(D,{path:"/admin/users",element:f.jsx(ie,{to:"/app/admin/users",replace:!0})}),f.jsx(D,{path:"/admin/users/:userId",element:f.jsx(tt,{basePath:"/admin/users"})}),f.jsx(D,{path:"/",element:f.jsx(bt,{})}),f.jsxs(D,{path:"/app",element:f.jsx(sl,{}),children:[f.jsx(D,{index:!0,element:f.jsx(ca,{})}),f.jsx(D,{path:"dashboard",element:f.jsx(ca,{})}),f.jsx(D,{path:"forms",element:f.jsx(bl,{})}),f.jsx(D,{path:"forms/:formId",element:f.jsx(yl,{})}),f.jsx(D,{path:"leads",element:f.jsx(wl,{})}),f.jsx(D,{path:"groups",element:f.jsx(Cl,{})}),f.jsx(D,{path:"whatsapp",element:f.jsx(xl,{})}),f.jsx(D,{path:"webinars",element:f.jsx(Pl,{})}),f.jsx(D,{path:"webinars/:webinarId",element:f.jsx(Tl,{})}),f.jsx(D,{path:"sales-pages",element:f.jsx(kl,{})}),f.jsx(D,{path:"sales-pages/:pageId",element:f.jsx(Dl,{})}),f.jsx(D,{path:"sales-pages/:pageId/statistics",element:f.jsx(Ll,{})}),f.jsx(D,{path:"gamification",element:f.jsx(Al,{})}),f.jsx(D,{path:"settings",element:f.jsx(Sl,{})}),f.jsx(D,{path:"crm",element:f.jsx(Ol,{})}),f.jsx(D,{path:"admin/users",element:f.jsx(El,{})}),f.jsx(D,{path:"admin/users/:userId",element:f.jsx(Rl,{})})]})]})})})]})})}),M=t=>typeof t=="string",ot=()=>{let t,e;const o=new Promise((a,n)=>{t=a,e=n});return o.resolve=t,o.reject=e,o},la=t=>t==null?"":""+t,Bl=(t,e,o)=>{t.forEach(a=>{e[a]&&(o[a]=e[a])})},Ul=/###/g,da=t=>t&&t.indexOf("###")>-1?t.replace(Ul,"."):t,ua=t=>!t||M(t),nt=(t,e,o)=>{const a=M(e)?e.split("."):e;let n=0;for(;n<a.length-1;){if(ua(t))return{};const s=da(a[n]);!t[s]&&o&&(t[s]=new o),Object.prototype.hasOwnProperty.call(t,s)?t=t[s]:t={},++n}return ua(t)?{}:{obj:t,k:da(a[n])}},pa=(t,e,o)=>{const{obj:a,k:n}=nt(t,e,Object);if(a!==void 0||e.length===1){a[n]=o;return}let s=e[e.length-1],r=e.slice(0,e.length-1),i=nt(t,r,Object);for(;i.obj===void 0&&r.length;)s=`${r[r.length-1]}.${s}`,r=r.slice(0,r.length-1),i=nt(t,r,Object),i!=null&&i.obj&&typeof i.obj[`${i.k}.${s}`]<"u"&&(i.obj=void 0);i.obj[`${i.k}.${s}`]=o},Gl=(t,e,o,a)=>{const{obj:n,k:s}=nt(t,e,Object);n[s]=n[s]||[],n[s].push(o)},kt=(t,e)=>{const{obj:o,k:a}=nt(t,e);if(o&&Object.prototype.hasOwnProperty.call(o,a))return o[a]},Hl=(t,e,o)=>{const a=kt(t,o);return a!==void 0?a:kt(e,o)},Hn=(t,e,o)=>{for(const a in e)a!=="__proto__"&&a!=="constructor"&&(a in t?M(t[a])||t[a]instanceof String||M(e[a])||e[a]instanceof String?o&&(t[a]=e[a]):Hn(t[a],e[a],o):t[a]=e[a]);return t},Ve=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var ql={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Yl=t=>M(t)?t.replace(/[&<>"'\/]/g,e=>ql[e]):t;class Kl{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const o=this.regExpMap.get(e);if(o!==void 0)return o;const a=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,a),this.regExpQueue.push(e),a}}const Xl=[" ",",","?","!",";"],Jl=new Kl(20),Zl=(t,e,o)=>{e=e||"",o=o||"";const a=Xl.filter(r=>e.indexOf(r)<0&&o.indexOf(r)<0);if(a.length===0)return!0;const n=Jl.getRegExp(`(${a.map(r=>r==="?"?"\\?":r).join("|")})`);let s=!n.test(t);if(!s){const r=t.indexOf(o);r>0&&!n.test(t.substring(0,r))&&(s=!0)}return s},ho=(t,e,o=".")=>{if(!t)return;if(t[e])return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0;const a=e.split(o);let n=t;for(let s=0;s<a.length;){if(!n||typeof n!="object")return;let r,i="";for(let l=s;l<a.length;++l)if(l!==s&&(i+=o),i+=a[l],r=n[i],r!==void 0){if(["string","number","boolean"].indexOf(typeof r)>-1&&l<a.length-1)continue;s+=l-s+1;break}n=r}return n},ct=t=>t==null?void 0:t.replace("_","-"),Ql={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){var o,a;(a=(o=console==null?void 0:console[t])==null?void 0:o.apply)==null||a.call(o,console,e)}};class Dt{constructor(e,o={}){this.init(e,o)}init(e,o={}){this.prefix=o.prefix||"i18next:",this.logger=e||Ql,this.options=o,this.debug=o.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,o,a,n){return n&&!this.debug?null:(M(e[0])&&(e[0]=`${a}${this.prefix} ${e[0]}`),this.logger[o](e))}create(e){return new Dt(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new Dt(this.logger,e)}}var me=new Dt;class Bt{constructor(){this.observers={}}on(e,o){return e.split(" ").forEach(a=>{this.observers[a]||(this.observers[a]=new Map);const n=this.observers[a].get(o)||0;this.observers[a].set(o,n+1)}),this}
3off(e,o){if(this.observers[e]){if(!o){delete this.observers[e];return}this.observers[e].delete(o)}}emit(e,...o){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([n,s])=>{for(let r=0;r<s;r++)n(...o)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,s])=>{for(let r=0;r<s;r++)n.apply(n,[e,...o])})}}class ma extends Bt{constructor(e,o={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=o,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const o=this.options.ns.indexOf(e);o>-1&&this.options.ns.splice(o,1)}getResource(e,o,a,n={}){var c,u;const s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,r=n.ignoreJSONStructure!==void 0?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let i;e.indexOf(".")>-1?i=e.split("."):(i=[e,o],a&&(Array.isArray(a)?i.push(...a):M(a)&&s?i.push(...a.split(s)):i.push(a)));const l=kt(this.data,i);return!l&&!o&&!a&&e.indexOf(".")>-1&&(e=i[0],o=i[1],a=i.slice(2).join(".")),l||!r||!M(a)?l:ho((u=(c=this.data)==null?void 0:c[e])==null?void 0:u[o],a,s)}addResource(e,o,a,n,s={silent:!1}){const r=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let i=[e,o];a&&(i=i.concat(r?a.split(r):a)),e.indexOf(".")>-1&&(i=e.split("."),n=o,o=i[1]),this.addNamespaces(o),pa(this.data,i,n),s.silent||this.emit("added",e,o,a,n)}addResources(e,o,a,n={silent:!1}){for(const s in a)(M(a[s])||Array.isArray(a[s]))&&this.addResource(e,o,s,a[s],{silent:!0});n.silent||this.emit("added",e,o,a)}addResourceBundle(e,o,a,n,s,r={silent:!1,skipCopy:!1}){let i=[e,o];e.indexOf(".")>-1&&(i=e.split("."),n=a,a=o,o=i[1]),this.addNamespaces(o);let l=kt(this.data,i)||{};r.skipCopy||(a=JSON.parse(JSON.stringify(a))),n?Hn(l,a,s):l={...l,...a},pa(this.data,i,l),r.silent||this.emit("added",e,o,a)}removeResourceBundle(e,o){this.hasResourceBundle(e,o)&&delete this.data[e][o],this.removeNamespaces(o),this.emit("removed",e,o)}hasResourceBundle(e,o){return this.getResource(e,o)!==void 0}getResourceBundle(e,o){return o||(o=this.options.defaultNS),this.getResource(e,o)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const o=this.getDataByLanguage(e);return!!(o&&Object.keys(o)||[]).find(n=>o[n]&&Object.keys(o[n]).length>0)}toJSON(){return this.data}}var qn={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,o,a,n){return t.forEach(s=>{var r;e=((r=this.processors[s])==null?void 0:r.process(e,o,a,n))??e}),e}};const Yn=Symbol("i18next/PATH_KEY");function ed(){const t=[],e=Object.create(null);let o;return e.get=(a,n)=>{var s;return(s=o==null?void 0:o.revoke)==null||s.call(o),n===Yn?t:(t.push(n),o=Proxy.revocable(a,e),o.proxy)},Proxy.revocable(Object.create(null),e).proxy}function vo(t,e){const{[Yn]:o}=t(ed());return o.join((e==null?void 0:e.keySeparator)??".")}const ga={},Qt=t=>!M(t)&&typeof t!="boolean"&&typeof t!="number";class Lt extends Bt{constructor(e,o={}){super(),Bl(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
3i18nFormat","utils"],e,this),this.options=o,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=me.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,o={interpolation:{}}){const a={...o};if(e==null)return!1;const n=this.resolve(e,a);if((n==null?void 0:n.res)===void 0)return!1;const s=Qt(n.res);return!(a.returnObjects===!1&&s)}extractFromKey(e,o){let a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");const n=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=o.ns||this.options.defaultNS||[];const r=a&&e.indexOf(a)>-1,i=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!Zl(e,a,n);if(r&&!i){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:M(s)?[s]:s};const c=e.split(a);(a!==n||a===n&&this.options.ns.indexOf(c[0])>-1)&&(s=c.shift()),e=c.join(n)}return{key:e,namespaces:M(s)?[s]:s}}translate(e,o,a){let n=typeof o=="object"?{...o}:o;if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),e==null)return"";typeof e=="function"&&(e=vo(e,{...this.options,...n})),Array.isArray(e)||(e=[String(e)]);const s=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:l}=this.extractFromKey(e[e.length-1],n),c=l[l.length-1];let u=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;u===void 0&&(u=":");const p=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((p==null?void 0:p.toLowerCase())==="cimode")return d?s?{res:`${c}${u}${i}`,usedKey:i,exactUsedKey:i,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${u}${i}`:s?{res:i,usedKey:i,exactUsedKey:i,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:i;const g=this.resolve(e,n);let h=g==null?void 0:g.res;const v=(g==null?void 0:g.usedKey)||i,b=(g==null?void 0:g.exactUsedKey)||i,y=["[object Number]","[object Function]","[object RegExp]"],w=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,x=n.count!==void 0&&!M(n.count),C=Lt.hasDefaultValue(n),R=x?this.pluralResolver.getSuffix(p,n.count,n):"",E=n.ordinal&&x?this.pluralResolver.getSuffix(p,n.count,{ordinal:!1}):"",I=x&&!n.ordinal&&n.count===0,F=I&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${R}`]||n[`defaultValue${E}`]||n.defaultValue;let $=h;S&&!h&&C&&($=F);const U=Qt($),L=Object.prototype.toString.apply($);if(S&&$&&U&&y.indexOf(L)<0&&!(M(w)&&Array.isArray($))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const N=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,$,{...n,ns:l}):`key '${i} (${this.language})' returned an object instead of string.`;return s?(g.res=N,g.usedParams=this.getUsedParamsDetails(n),g):N}if(r){const N=Array.isArray($),T=N?[]:{},B=N?b:v;for(const O in $)if(Object.prototype.hasOwnProperty.call($,O)){const _=`${B}${r}${O}`;C&&!h?T[O]=this.translate(_,{...n,defaultValue:Qt(F)?F[O]:void 0,joinArrays:!1,ns:l}):T[O]=this.translate(_,{...n,joinArrays:!1,ns:l}),T[O]===_&&(T[O]=$[O])}h=T}}else if(S&&M(w)&&Array.isArray(h))h=h.join(w),h&&(h=this.extendTranslation(h,e,n,a));else{let N=!1,T=!1;!this.isValidLookup(h)&&C&&(N=!0,h=F),this.isValidLookup(h)||(T=!0,h=i);const O=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&T?void 0:h,_=C&&F!==h&&this.options.updateMissing;if(T||N||_){if(this.logger.log(_?"updateKey":"missingKey",p,c,i,_?F:h),r){const k=this.resolve(i,{...n,keySeparator:!1});k&&k.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let A=[];const j=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&j&&j[0])for(let k=0;k<j.length;k++)A.push(j[k]);else this.options.saveMissingTo==="all"?A=this.languageUtils.toResolveHierarchy(n.lng||this.language):A.push(n.lng||this.language);const X=(k,V,G)=>{var re;const Q=C&&G!==h?G:O;this.options.missingKeyHandler?this.options.missingKeyHandler(k,c,V,Q,_,n):(re=this.backendConnector)!=null&&re.saveMissing&&this.backendConnector.saveMissing(k,c,V,Q,_,n),this.emit
vendor: 26,779 bytes, line 3
3("missingKey",k,c,V,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&x?A.forEach(k=>{const V=this.pluralResolver.getSuffixes(k,n);I&&n[`defaultValue${this.options.pluralSeparator}zero`]&&V.indexOf(`${this.options.pluralSeparator}zero`)<0&&V.push(`${this.options.pluralSeparator}zero`),V.forEach(G=>{X([k],i+G,n[`defaultValue${G}`]||F)})}):X(A,i,F))}h=this.extendTranslation(h,e,n,g,a),T&&h===i&&this.options.appendNamespaceToMissingKey&&(h=`${c}${u}${i}`),(T||N)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}${u}${i}`:i,N?h:void 0,n))}return s?(g.res=h,g.usedParams=this.getUsedParamsDetails(n),g):h}extendTranslation(e,o,a,n,s){var l,c;if((l=this.i18nFormat)!=null&&l.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...a},a.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!a.skipInterpolation){a.interpolation&&this.interpolator.init({...a,interpolation:{...this.options.interpolation,...a.interpolation}});const u=M(e)&&(((c=a==null?void 0:a.interpolation)==null?void 0:c.skipOnVariables)!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let p;if(u){const g=e.match(this.interpolator.nestingRegexp);p=g&&g.length}let d=a.replace&&!M(a.replace)?a.replace:a;if(this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),e=this.interpolator.interpolate(e,d,a.lng||this.language||n.usedLng,a),u){const g=e.match(this.interpolator.nestingRegexp),h=g&&g.length;p<h&&(a.nest=!1)}!a.lng&&n&&n.res&&(a.lng=this.language||n.usedLng),a.nest!==!1&&(e=this.interpolator.nest(e,(...g)=>(s==null?void 0:s[0])===g[0]&&!a.context?(this.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${o[0]}`),null):this.translate(...g,o),a)),a.interpolation&&this.interpolator.reset()}const r=a.postProcess||this.options.postProcess,i=M(r)?[r]:r;return e!=null&&(i!=null&&i.length)&&a.applyPostProcessor!==!1&&(e=qn.handle(i,e,o,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(a)},...a}:a,this)),e}resolve(e,o={}){let a,n,s,r,i;return M(e)&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(a))return;const c=this.extractFromKey(l,o),u=c.key;n=u;let p=c.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const d=o.count!==void 0&&!M(o.count),g=d&&!o.ordinal&&o.count===0,h=o.context!==void 0&&(M(o.context)||typeof o.context=="number")&&o.context!=="",v=o.lngs?o.lngs:this.languageUtils.toResolveHierarchy(o.lng||this.language,o.fallbackLng);p.forEach(b=>{var y,w;this.isValidLookup(a)||(i=b,!ga[`${v[0]}-${b}`]&&((y=this.utils)!=null&&y.hasLoadedNamespace)&&!((w=this.utils)!=null&&w.hasLoadedNamespace(i))&&(ga[`${v[0]}-${b}`]=!0,this.logger.warn(`key "${n}" for languages "${v.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),v.forEach(S=>{var R;if(this.isValidLookup(a))return;r=S;const x=[u];if((R=this.i18nFormat)!=null&&R.addLookupKeys)this.i18nFormat.addLookupKeys(x,u,S,b,o);else{let E;d&&(E=this.pluralResolver.getSuffix(S,o.count,o));const I=`${this.options.pluralSeparator}zero`,F=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(o.ordinal&&E.indexOf(F)===0&&x.push(u+E.replace(F,this.options.pluralSeparator)),x.push(u+E),g&&x.push(u+I)),h){const $=`${u}${this.options.contextSeparator||"_"}${o.context}`;x.push($),d&&(o.ordinal&&E.indexOf(F)===0&&x.push($+E.replace(F,this.options.pluralSeparator)),x.push($+E),g&&x.push($+I))}}let C;for(;C=x.pop();)this.isValidLookup(a)||(s=C,a=this.getResource(S,b,C,o))}))})}),{res:a,usedKey:n,exactUsedKey:s,usedLng:r,usedNS:i}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,o,a,n={}){var s;return(s=this.i18nFormat)!=null&&s.getResource?this.i18nFormat.getResource(e,o,a,n):this.resourceStore.getResource(e,o,a,n)}getUsedParamsDetails(e={}){const o=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],a=e.replace&&!M(e.replace);let n=a?e.replace:e;if(a&&typeof e.count<"u"&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!a){n={...n};for(const s of o)delete n[s]}return n}static hasDefaultValue(e){const o="defaultValue";for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&o===a.substring(0,o.length)&&e[a]!==void 0)return!0;return!1}}class fa{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=me.create("languageUtils")}getScriptPartFromCode(e){if(e=ct(e),!e||e.indexOf("-")<0)return null;const o=e.split("-");return o.length===2||(o.pop(),o[o.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(o.join("-"))}getLanguagePartFromCode(e){if(e=ct(e),!e||e.indexOf("-")<0)return e;const o=e.split("-");return this.formatLanguageCode(o[0])}formatLanguageCode(e){if(M(e)&&e.indexOf("-")>-1){let o;try{o=Intl.getCanonicalLocales(e)[0]}catch{}return o&&this.options.lowerCaseLng&&(o=o.toLowerCase()),o||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let o;return e.forEach(a=>{if(o)return;const n=this.formatLanguageCode(a);(!this.options.supportedLngs||this.isSupportedCode(n))&&(o=n)}),!o&&this.options.supportedLngs&&e.forEach(a=>{if(o)return;const n=this.getScriptPartFromCode(a);if(this.isSupportedCode(n))return o=n;const s=this.getLanguagePartFromCode(a);if(this.isSupportedCode(s))return o=s;o=this.options.supportedLngs.find(r=>{if(r===s)return r;if(!(r.indexOf("-")<0&&s.indexOf("-")<0)&&(r.indexOf("-")>0&&s.indexOf("-")<0&&r.substring(0,r.indexOf("-"))===s||r.indexOf(s)===0&&s.length>1))return r})}),o||(o=this.getFallbackCodes(this.options.fallbackLng)[0]),o}getFallbackCodes(e,o){if(!e)return[];if(typeof e=="function"&&(e=e(o)),M(e)&&(e=[e]),Array.isArray(e))return e;if(!o)return e.default||[];let a=e[o];return a||(a=e[this.getScriptPartFromCode(o)]),a||(a=e[this.formatLanguageCode(o)]),a||(a=e[this.getLanguagePartFromCode(o)]),a||(a=e.default),a||[]}toResolveHierarchy(e,o){const a=this.getFallbackCodes((o===!1?[]:o)||this.options.fallbackLng||[],e),n=[],s=r=>{r&&(this.isSupportedCode(r)?n.push(r):this.logger.warn(`rejecting language code not found in supportedLngs: ${r}`))};return M(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(e))):M(e)&&s(this.formatLanguageCode(e)),a.forEach(r=>{n.indexOf(r)<0&&s(this.formatLanguageCode(r))}),n}}const ha={zero:0,one:1,two:2,few:3,many:4,other:5},va={select:t=>t===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class td{constructor(e,o={}){this.languageUtils=e,this.options=o,this.logger=me.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,o={}){const a=ct(e==="dev"?"en":e),n=o.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:a,type:n});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let r;try{r=new Intl.PluralRules(a,{type:n})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),va;if(!e.match(/-|_/))return va;const l=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(l,o)}return this.pluralRulesCache[s]=r,r}needsPlural(e,o={}){let a=this.getRule(e,o);return a||(a=this.getRule("dev",o)),(a==null?void 0:a.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,o,a={}){return this.getSuffixes(e,a).map(n=>`${o}${n}`)}getSuffixes(e,o={}){let a=this.getRule(e,o);return a||(a=this.getRule("dev",o)),a?a.resolvedOptions().pluralCategories.sort((n,s)=>ha[n]-ha[s]).map(n=>`${this.options.prepend}${o.ordinal?`ordinal${this.options.prepend}`:""}${n}`):[]}getSuffix(e,o,a={}){const n=this.getRule(e,a);return n?`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${n.select(o)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",o,a))}}const ba=(t,e,o,a=".",n=!0)=>{let s=Hl(t,e,o);return!s&&n&&M(o)&&(s=ho(t,o,a),s===void 0&&(s=ho(e,o,a))),s},eo=t=>t.replace(/\$/g,"$$$$");class ya{constructor(e={}){var o;this.logger=me.create("interpolator"),this.options=e,this.format=((o=e==null?void 0:e.interpolation)==null?void 0:o.format)||(a=>a),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:o,escapeValue:a,useRawValueToEscape:n,prefix:s,prefixEscaped:r,suffix:i,suffixEscaped:l,formatSeparator:c,unescapeSuffix:u,unescapePrefix:p,nestingPrefix:d,nestingPrefixEscaped:g,nestingSuffix:h,nestingSuffixEscaped:v,nestingOptionsSeparator:b,maxReplaces:y,alwaysFormat:w}=e.interpolation;this.escape=o!==void 0?o:Yl,this.escapeValue=a!==void 0?a:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=s?Ve(s):r||"{{",this.suffix=i?Ve(i):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=u?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?Ve(d):g||Ve("$t("),this.nestingSuffix=h?Ve(h):v||Ve(")"),this.nestingOptionsSeparator=b||",",this.maxReplaces=y||1e3,this.alwaysFormat=w!==void 0?w:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(o,a)=>(o==null?void 0:o.source)===a?(o.lastIndex=0,o):new RegExp(a,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,o,a,n){var g;let s,r,i;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=h=>{if(h.indexOf(this.formatSeparator)<0){const w=ba(o,l,h,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(w,void 0,a,{...n,...o,interpolationkey:h}):w}const v=h.split(this.formatSeparator),b=v.shift().trim(),y=v.join(this.formatSeparator).trim();return this.format(ba(o,l,b,this.options.keySeparator,this.options.ignoreJSONStructure),y,a,{...n,...o,interpolationkey:b})};this.resetRegExp();const u=(n==null?void 0:n.missingInterpolationHandler)||this.options.missingInterpolationHandler,p=((g=n==null?void 0:n.interpolation)==null?void 0:g.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:h=>eo(h)},{regex:this.regexp,safeValue:h=>this.escapeValue?eo(this.escape(h)):eo(h)}].forEach(h=>{for(i=0;s=h.regex.exec(e);){const v=s[1].trim();if(r=c(v),r===void 0)if(typeof u=="function"){const y=u(e,s,n);r=M(y)?y:""}else if(n&&Object.prototype.hasOwnProperty.call(n,v))r="";else if(p){r=s[0];continue}else this.logger.warn(`missed to pass in variable ${v} for interpolating ${e}`),r="";else!M(r)&&!this.useRawValueToEscape&&(r=la(r));const b=h.safeValue(r);if(e=e.replace(s[0],b),p?(h.regex.lastIndex+=r.length,h.regex.lastIndex-=s[0].length):h.regex.lastIndex=0,i++,i>=this.maxReplaces)break}}),e}nest(e,o,a={}){let n,s,r;const i=(l,c)=>{const u=this.nestingOptionsSeparator;if(l.indexOf(u)<0)return l;const p=l.split(new RegExp(`${u}[ ]*{`));let d=`{${p[1]}`;l=p[0],d=this.interpolate(d,r);const g=d.match(/'/g),h=d.match(/"/g);(((g==null?void 0:g.length)??0)%2===0&&!h||h.length%2!==0)&&(d=d.replace(/'/g,'"'));try{r=JSON.parse(d),c&&(r={...c,...r})}catch(v){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,v),`${l}${u}${d}`}return r.defaultValue&&r.defaultValue.indexOf(this.prefix)>-1&&delete r.defaultValue,l};for(;n=this.nestingRegexp.exec(e);){let l=[];r={...a},r=r.replace&&!M(r.replace)?r.replace:r,r.applyPostProcessor=!1,delete r.defaultValue;const c=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(c!==-1&&(l=n[1].slice(c).split(this.formatSeparator).map(u=>u.trim()).filter(Boolean),n[1]=n[1].slice(0,c)),s=o(i.call(this,n[1].trim(),r),r),s&&n[0]===e&&!M(s))return s;M(s)||(s=la(s)),s||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),s=""),l.length&&(s=l.reduce((u,p)=>this.format(u,p,a.lng,{...a,interpolationkey:n[1].trim()}),s.trim())),e=e.replace(n[0],s),this.regexp.lastIndex=0}return e}}const od=t=>{let e=t.toLowerCase().trim();const o={};if(t.indexOf("(")>-1){const a=t.split("(");e=a[0].toLowerCase().trim();const n=a[1].substring(0,a[1].length-1);e==="currency"&&n.indexOf(":")<0?o.currency||(o.currency=n.trim()):e==="relativetime"&&n.indexOf(":")<0?o.range||(o.range=n.trim()):n.split(";").forEach(r=>{if(r){const[i,...l]=r.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),u=i.trim();o[u]||(o[u]=c),c==="false"&&(o[u]=!1),c==="true"&&(o[u]=!0),isNaN(c)||(o[u]=parseInt(c,10))}})}return{formatName:e,formatOptions:o}},wa=t=>{const e={};return(o,a,n)=>{let s=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(s={...s,[n.interpolationkey]:void 0});const r=a+JSON.stringify(s);let i=e[r];return i||(i=t(ct(a),n),e[r]=i),i(o)}},ad=t=>(e,o,a)=>t(ct(o),a)(e);class nd{constructor(e={}){this.logger=me.create("formatter"),this.options=e,this.init(e)}init(e,o={interpolation:{}}){this.formatSeparator=o.interpolation.formatSeparator||",";const a=o.cacheInBuiltFormats?wa:ad;this.formats={number:a((n,s)=>{const r=new Intl.NumberFormat(n,{...s});return i=>r.format(i)}),currency:a((n,s)=>{const r=new Intl.NumberFormat(n,{...s,style:"currency"});return i=>r.format(i)}),datetime:a((n,s)=>{const r=new Intl.DateTimeFormat(n,{...s});return i=>r.format(i)}),relativetime:a((n,s)=>{const r=new Intl.RelativeTimeFormat(n,{...s});return i=>r.format(i,s.range||"day")}),list:a((n,s)=>{const r=new Intl.ListFormat(n,{...s});return i=>r.format(i)})}}add(e,o){this.formats[e.toLowerCase().trim()]=o}addCached(e,o){this.formats[e.toLowerCase().trim()]=wa(o)}format(e,o,a,n={}){const s=o.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(i=>i.indexOf(")")>-1)){const i=s.findIndex(l=>l.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,i)].join(this.formatSeparator)}return s.reduce((i,l)=>{var p;const{formatName:c,formatOptions:u}=od(l);if(this.formats[c]){let d=i;try{const g=((p=n==null?void 0:n.formatParams)==null?void 0:p[n.interpolationkey])||{},h=g.locale||g.lng||n.locale||n.lng||a;d=this.formats[c](i,h,{...u,...n,...g})}catch(g){this.logger.warn(g)}return d}else this.logger.warn(`there was no format function for ${c}`);return i},e)}}const sd=(t,e)=>{t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)};class rd extends Bt{constructor(e,o,a,n={}){var s,r;super(),this.backend=e,this.store=o,this.services=a,this.languageUtils=a.languageUtils,this.options=n,this.logger=me.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],(r=(s=this.backend)==null?void 0:s.init)==null||r.call(s,a,n.backend,n)}queueLoad(e,o,a,n){const s={},r={},i={},l={};return e.forEach(c=>{let u=!0;o.forEach(p=>{const d=`${c}|${p}`;!a.reload&&this.store.hasResourceBundle(c,p)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?r[d]===void 0&&(r[d]=!0):(this.state[d]=1,u=!1,r[d]===void 0&&(r[d]=!0),s[d]===void 0&&(s[d]=!0),l[p]===void 0&&(l[p]=!0)))}),u||(i[c]=!0)}),(Object.keys(s).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(s),pending:Object.keys(r),toLoadLanguages:Object.keys(i),toLoadNamespaces:Object.keys(l)}}loaded(e,o,a){const n=e.split("|"),s=n[0],r=n[1];o&&this.emit("failedLoading",s,r,o),!o&&a&&this.store.addResourceBundle(s,r,a,void 0,void 0,{skipCopy:!0}),this.state[e]=o?-1:2,o&&a&&(this.state[e]=0);const i={};this.queue.forEach(l=>{Gl(l.loaded,[s],r),sd(l,e),o&&l.errors.push(o),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{i[c]||(i[c]={});const u=l.loaded[c];u.length&&u.forEach(p=>{i[c][p]===void 0&&(i[c][p]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",i),this.queue=this.queue.filter(l=>!l.done)}read(e,o,a,n=0,s=this.retryTimeout,r){if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:o,fcName:a,tried:n,wait:s,callback:r});return}this.readingCalls++;const i=(c,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(c&&u&&n<this.maxRetries){setTimeout(()=>{this.read.call(this,e,o,a,n+1,s*2,r)},s);return}r(c,u)},l=this.backend[a].bind(this.backend);if(l.length===2){try{const c=l(e,o);c&&typeof c.then=="function"?c.then(u=>i(null,u)).catch(i):i(null,c)}catch(c){i(c)}return}return l(e,o,i)}prepareLoading(e,o,a={},n){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();M(e)&&(e=this.languageUtils.toResolveHierarchy(e)),M(o)&&(o=[o]);const s=this.queueLoad(e,o,a,n);if(!s.toLoad.length)return s.pending.length||n(),null;s.toLoad.forEach(r=>{this.loadOne(r)})}load(e,o,a){this.prepareLoading(e,o,{},a)}reload(e,o,a){this.prepareLoading(e,o,{reload:!0},a)}loadOne(e,o=""){const a=e.split("|"),n=a[0],s=a[1];this.read(n,s,"read",void 0,void 0,(r,i)=>{r&&this.logger.warn(`${o}loading namespace ${s} for language ${n} failed`,r),!r&&i&&this.logger.log(`${o}loaded namespace ${s} for language ${n}`,i),this.loaded(e,r,i)})}saveMissing(e,o,a,n,s,r={},i=()=>{}){var l,c,u,p,d;if((c=(l=this.services)==null?void 0:l.utils)!=null&&c.hasLoadedNamespace&&!((p=(u=this.services)==null?void 0:u.utils)!=null&&p.hasLoadedNamespace(o))){this.logger.warn(`did not save key "${a}" as the namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if((d=this.backend)!=null&&d.create){const g={...r,isUpdate:s},h=this.backend.create.bind(this.backend);if(h.length<6)try{let v;h.length===5?v=h(e,o,a,n,g):v=h(e,o,a,n),v&&typeof v.then=="function"?v.then(b=>i(null,b)).catch(i):i(null,v)}catch(v){i(v)}else h(e,o,a,n,i,g)}!e||!e[0]||this.store.addResource(e[0],o,a,n)}}}const to=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if(typeof t[1]=="object"&&(e=t[1]),M(t[1])&&(e.defaultValue=t[1]),M(t[2])&&(e.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const o=t[3]||t[2];Object.keys(o).forEach(a=>{e[a]=o[a]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),xa=t=>{var e,o;return M(t.ns)&&(t.ns=[t.ns]),M(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),M(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),((o=(e=t.supportedLngs)==null?void 0:e.indexOf)==null?void 0:o.call(e,"cimode"))<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),typeof t.initImmediate=="boolean"&&(t.initAsync=t.initImmediate),t},yt=()=>{},id=t=>{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(o=>{typeof t[o]=="function"&&(t[o]=t[o].bind(t))})};class st extends Bt{constructor(e={},o){if(super(),this.options=xa(e),this.services={},this.logger=me,this.modules={external:[]},id(this),o&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,o),this;setTimeout(()=>{this.init(e,o)},0)}}init(e={},o){this.isInitializing=!0,typeof e=="function"&&(o=e,e={}),e.defaultNS==null&&e.ns&&(M(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const a=to();this.options={...a,...this.options,...xa(e)},this.options.interpolation={...a.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=a.overloadTranslationOptionHandler);const n=c=>c?typeof c=="function"?new c:c:null;if(!this.options.isClone){this.modules.logger?me.init(n(this.modules.logger),this.options):me.init(null,this.options);let c;this.modules.formatter?c=this.modules.formatter:c=nd;const u=new fa(this.options);this.store=new ma(this.options.resources,this.options);const p=this.services;p.logger=me,p.resourceStore=this.store,p.languageUtils=u,p.pluralResolver=new td(u,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==a.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),c&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(p.formatter=n(c),p.formatter.init&&p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new ya(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new rd(n(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",(g,...h)=>{this.emit(g,...h)}),this.modules.languageDetector&&(p.languageDetector=n(this.modules.languageDetector),p.languageDetector.init&&p.languageDetector.init(p,this.options.detection,this.options)),this.modules.i18nFormat&&(p.i18nFormat=n(this.modules.i18nFormat),p.i18nFormat.init&&p.i18nFormat.init(this)),this.translator=new Lt(this.services,this.options),this.translator.on("*",(g,...h)=>{this.emit(g,...h)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,o||(o=yt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&c[0]!=="dev"&&(this.options.lng=c[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(c=>{this[c]=(...u)=>this.store[c](...u)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(c=>{this[c]=(...u)=>(this.store[c](...u),this)});const i=ot(),l=()=>{const c=(u,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(p),o(u,p)};if(this.languages&&!this.isInitialized)return c(null,this.t.bind(this));this.changeLanguage(this.options.lng,c)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),i}loadResources(e,o=yt){var s,r;let a=o;const n=M(e)?e:this.language;if(typeof e=="function"&&(a=e),!this.options.resources||this.options.partialBundledLanguages){if((n==null?void 0:n.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return a();const i=[],l=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(p=>{p!=="cimode"&&i.indexOf(p)<0&&i.push(p)})};n?l(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>l(u)),(r=(s=this.options.preload)==null?void 0:s.forEach)==null||r.call(s,c=>l(c)),this.services.backendConnector.load(i,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),a(c)})}else a(null)}reloadResources(e,o,a){const n=ot();return typeof e=="function"&&(a=e,e=void 0),typeof o=="function"&&(a=o,o=void 0),e||(e=this.languages),o||(o=this.options.ns),a||(a=yt),this.services.backendConnector.reload(e,o,s=>{n.resolve(),a(s)}),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&qn.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1)){for(let o=0;o<this.languages.length;o++){const a=this.languages[o];if(!(["cimode","dev"].indexOf(a)>-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,o){this.isLanguageChangingTo=e;const a=ot();
vendor: 2,135 bytes, line 3
3this.emit("languageChanging",e);const n=i=>{this.language=i,this.languages=this.services.languageUtils.toResolveHierarchy(i),this.resolvedLanguage=void 0,this.setResolvedLanguage(i)},s=(i,l)=>{l?this.isLanguageChangingTo===e&&(n(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,a.resolve((...c)=>this.t(...c)),o&&o(i,(...c)=>this.t(...c))},r=i=>{var u,p;!e&&!i&&this.services.languageDetector&&(i=[]);const l=M(i)?i:i&&i[0],c=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(M(i)?[i]:i);c&&(this.language||n(c),this.translator.language||this.translator.changeLanguage(c),(p=(u=this.services.languageDetector)==null?void 0:u.cacheUserLanguage)==null||p.call(u,c)),this.loadResources(c,d=>{s(d,c)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?r(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(r):this.services.languageDetector.detect(r):r(e),a}getFixedT(e,o,a){const n=(s,r,...i)=>{let l;typeof r!="object"?l=this.options.overloadTranslationOptionHandler([s,r].concat(i)):l={...r},l.lng=l.lng||n.lng,l.lngs=l.lngs||n.lngs,l.ns=l.ns||n.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||a||n.keyPrefix);const c=this.options.keySeparator||".";let u;return l.keyPrefix&&Array.isArray(s)?u=s.map(p=>(typeof p=="function"&&(p=vo(p,{...this.options,...r})),`${l.keyPrefix}${c}${p}`)):(typeof s=="function"&&(s=vo(s,{...this.options,...r})),u=l.keyPrefix?`${l.keyPrefix}${c}${s}`:s),this.t(u,l)};return M(e)?n.lng=e:n.lngs=e,n.ns=o,n.keyPrefix=a,n}t(...e){var o;return(o=this.translator)==null?void 0:o.translate(...e)}exists(...e){var o;return(o=this.translator)==null?void 0:o.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,o={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
3if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const a=o.lng||this.resolvedLanguage||this.languages[0],n=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const r=(i,l)=>{const c=this.services.backendConnector.state[`${i}|${l}`];return c===-1||c===0||c===2};if(o.precheck){const i=o.precheck(this,r);if(i!==void 0)return i}return!!(this.hasResourceBundle(a,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||r(a,e)&&(!n||r(s,e)))}loadNamespaces(e,o){const a=ot();return this.options.ns?(M(e)&&(e=[e]),e.forEach(n=>{this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}),this.loadResources(n=>{a.resolve(),o&&o(n)}),a):(o&&o(),Promise.resolve())}loadLanguages(e,o){const a=ot();M(e)&&(e=[e]);const n=this.options.preload||[],s=e.filter(r=>n.indexOf(r)<0&&this.services.languageUtils.isSupportedCode(r));return s.length?(this.options.preload=n.concat(s),this.loadResources(r=>{a.resolve(),o&&o(r)}),a):(o&&o(),Promise.resolve())}dir(e){var n,s;if(e||(e=this.resolvedLanguage||(((n=this.languages)==null?void 0:n.length)>0?this.languages[0]:this.language)),!e)return"rtl";try{const r=new Intl.Locale(e);if(r&&r.getTextInfo){const i=r.getTextInfo();if(i&&i.direction)return i.direction}}catch{}const o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=((s=this.services)==null?void 0:s.languageUtils)||new fa(to());return e.toLowerCase().indexOf("-latn")>1?"ltr":o.indexOf(a.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},o){const a=new st(e,o);return a.createInstance=st.createInstance,a}cloneInstance(e={},o=yt){const a=e.forkResourceStore;a&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},s=new st(n);if((e.debug!==void 0||e.prefix!==void 0)&&(s.logger=s.logger.clone(e)),["store","services","language"].forEach(i=>{s[i]=this[i]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},a){const i=Object.keys(this.store.data).reduce((l,c)=>(l[c]={...this.store.data[c]},l[c]=Object.keys(l[c]).reduce((u,p)=>(u[p]={...l[c][p]},u),l[c]),l),{});s.store=new ma(i,n),s.services.resourceStore=s.store}if(e.interpolation){const l={...to().interpolation,...this.options.interpolation,...e.interpolation},c={...n,interpolation:l};s.services.interpolator=new ya(c)}return s.translator=new Lt(s.services,n),s.translator.on("*",(i,...l)=>{s.emit(i,...l)}),s.init(n,o),s.translator.options=n,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const te=st.createInstance();te.createInstance;te.dir;te.init;te.loadResources;te.reloadResources;te.use;te.changeLanguage;te.getFixedT;te.t;te.exists;te.setDefaultNamespace;te.hasLoadedNamespace;te.loadNamespaces;te.loadLanguages;const cd=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,ld={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},dd=t=>ld[t],ud=t=>t.replace(cd,dd);let bo={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:ud,transDefaultProps:void 0};const pd=(t={})=>{bo={...bo,...t}},px=()=>bo;let Kn;const md=t=>{Kn=t},mx=()=>Kn,gd={type:"3rdParty",init(t){pd(t.options.react),md(t)}},{slice:fd,forEach:hd}=[];
vendor: 1,044 bytes, line 3
3function vd(t){return hd.call(fd.call(arguments,1),e=>{if(e)for(const o in e)t[o]===void 0&&(t[o]=e[o])}),t}function bd(t){return typeof t!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(o=>o.test(t))}const Ca=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,yd=function(t,e){const a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},n=encodeURIComponent(e);let s=`${t}=${n}`;if(a.maxAge>0){const r=a.maxAge-0;if(Number.isNaN(r))throw new Error("maxAge should be a Number");s+=`; Max-Age=${Math.floor(r)}`}if(a.domain){if(!Ca.test(a.domain))throw new TypeError("option domain is invalid");s+=`; Domain=${a.domain}`}if(a.path){if(!Ca.test(a.path))throw new TypeError("option path is invalid");s+=`; Path=${a.path}`}if(a.expires){if(typeof a.expires.toUTCString!="function")throw new TypeError("option expires is invali
3d");s+=`; Expires=${a.expires.toUTCString()}`}if(a.httpOnly&&(s+="; HttpOnly"),a.secure&&(s+="; Secure"),a.sameSite)switch(typeof a.sameSite=="string"?a.sameSite.toLowerCase():a.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return a.partitioned&&(s+="; Partitioned"),s},Sa={create(t,e,o,a){let n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};o&&(n.expires=new Date,n.expires.setTime(n.expires.getTime()+o*60*1e3)),a&&(n.domain=a),document.cookie=yd(t,e,n)},read(t){const e=`${t}=`,o=document.cookie.split(";");for(let a=0;a<o.length;a++){let n=o[a];for(;n.charAt(0)===" ";)n=n.substring(1,n.length);if(n.indexOf(e)===0)return n.substring(e.length,n.length)}return null},remove(t,e){this.create(t,"",-1,e)}};var wd={name:"cookie",lookup(t){let{lookupCookie:e}=t;if(e&&typeof document<"u")return Sa.read(e)||void 0},cacheUserLanguage(t,e){let{lookupCookie:o,cookieMinutes:a,cookieDomain:n,cookieOptions:s}=e;o&&typeof document<"u"&&Sa.create(o,t,a,n,s)}},xd={name:"querystring",lookup(t){var a;let{lookupQuerystring:e}=t,o;if(typeof window<"u"){let{search:n}=window.location;!window.location.search&&((a=window.location.hash)==null?void 0:a.indexOf("?"))>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));const r=n.substring(1).split("&");for(let i=0;i<r.length;i++){const l=r[i].indexOf("=");l>0&&r[i].substring(0,l)===e&&(o=r[i].substring(l+1))}}return o}},Cd={name:"hash",lookup(t){var n;let{lookupHash:e,lookupFromHashIndex:o}=t,a;if(typeof window<"u"){const{hash:s}=window.location;if(s&&s.length>2){const r=s.substring(1);if(e){const i=r.split("&");for(let l=0;l<i.length;l++){const c=i[l].indexOf("=");c>0&&i[l].substring(0,c)===e&&(a=i[l].substring(c+1))}}
vendor: 5,063 bytes, line 3
3if(a)return a;if(!a&&o>-1){const i=s.match(/\/([a-zA-Z-]*)/g);return Array.isArray(i)?(n=i[typeof o=="number"?o:0])==null?void 0:n.replace("/",""):void 0}}}return a}};let Be=null;const Pa=()=>{if(Be!==null)return Be;try{if(Be=typeof window<"u"&&window.localStorage!==null,!Be)return!1;const t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Be=!1}return Be};var Sd={name:"localStorage",lookup(t){let{lookupLocalStorage:e}=t;if(e&&Pa())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupLocalStorage:o}=e;o&&Pa()&&window.localStorage.setItem(o,t)}};let Ue=null;const Ta=()=>{if(Ue!==null)return Ue;try{if(Ue=typeof window<"u"&&window.sessionStorage!==null,!Ue)return!1;const t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Ue=!1}return Ue};var Pd={name:"sessionStorage",lookup(t){let{lookupSessionStorage:e}=t;if(e&&Ta())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupSessionStorage:o}=e;o&&Ta()&&window.sessionStorage.setItem(o,t)}},Td={name:"navigator",lookup(t){const e=[];if(typeof navigator<"u"){const{languages:o,userLanguage:a,language:n}=navigator;if(o)for(let s=0;s<o.length;s++)e.push(o[s]);a&&e.push(a),n&&e.push(n)}return e.length>0?e:void 0}},Ad={name:"htmlTag",lookup(t){let{htmlTag:e}=t,o;const a=e||(typeof document<"u"?document.documentElement:null);return a&&typeof a.getAttribute=="function"&&(o=a.getAttribute("lang")),o}},Ed={name:"path",lookup(t){var n;let{lookupFromPathIndex:e}=t;if(typeof window>"u")return;const o=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(o)?(n=o[typeof e=="number"?e:0])==null?void 0:n.replace("/",""):void 0}},Rd={name:"subdomain",lookup(t){var n,s;let{lookupFromSubdomainIndex:e}=t;const o=typeof e=="number"?e+1:1,a=typeof window<"u"&&((s=(n=window.location)==null?void 0:n.hostname)==null?void 0:s.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(a)return a[o]}};let Xn=!1;try{document.cookie,Xn=!0}catch{}const Jn=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];Xn||Jn.splice(1,1);const kd=()=>({order:Jn,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:t=>t});class Zn{constructor(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,o)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=e,this.options=vd(o,this.options||{},kd()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=n=>n.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=a,this.addDetector(wd),this.addDetector(xd),this.addDetector(Sd),this.addDetector(Pd),this.addDetector(Td),this.addDetector(Ad),this.addDetector(Ed),this.addDetector(Rd),this.addDetector(Cd)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,o=[];return e.forEach(a=>{if(this.detectors[a]){let n=this.detectors[a].lookup(this.options);n&&typeof n=="string"&&(n=[n]),n&&(o=o.concat(n))}}),o=o.filter(a=>a!=null&&!bd(a)).map(a=>this.options.convertDetectedLanguage(a)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?o:o.length>0?o[0]:null}cacheUserLanguage(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;o&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||o.forEach(a=>{this.detectors[a]&&this.detectors[a].cacheUserLanguage(e,this.options)}))}}Zn.type="languageDetector";const Dd="Loading...",Ld="Saving...",Od="Error",$d="Success",Id="Save",Fd="Cancel",Md="Edit",Nd="Create",jd="Update",_d="Search",Wd="Filter",zd="Refresh",Vd="Close",Bd="Open",Ud="View",Gd="Copy",Hd="Copied!",qd="Share",Yd="Download",Kd="Upload",Xd="Submit",Jd="Confirm",Zd="Back",Qd="Next",eu="Previous",tu="Yes",ou="No",au="All",nu="None",su="Select",ru="Select All",iu="Clear All",cu="No results found",lu="No data available",du="Try Again",uu="Actions",pu="Status",mu="Date",gu="Name",fu="Email",hu="Phone",vu="Description",bu="Details",yu="Total",wu="Active",xu="Inactive",Cu="Pending",Su="Completed",Pu="Failed",Tu="Today",Au="Yesterday",Eu="This Week",Ru="This Month",ku="Last Month",Du="Last 7 Days",Lu="Last 30 Days",Ou="Last 90 Days",$u="All Time",Iu="Custom",Fu="From",Mu="To",Nu="Created At",ju="Updated At",_u="Welcome",Wu="Logout",zu="Login",Vu="Sign Up",Bu="Profile",Uu="Settings",Gu="Help",Hu="Documentation",qu="Support",Yu={USD:"US Dollar",EUR:"Euro",GBP:"British Poun
3d",BRL:"Brazilian Real"},Ku={en:"English","pt-BR":"Portuguese (Brazil)"},Xu="Please log in to view this content.",Ju={loading:Dd,saving:Ld,error:Od,success:$d,save:Id,cancel:Fd,edit:Md,delete:"Delete",create:Nd,update:jd,search:_d,filter:Wd,export:"Export",import:"Import",refresh:zd,close:Vd,open:Bd,view:Ud,copy:Gd,copied:Hd,share:qd,download:Yd,upload:Kd,submit:Xd,confirm:Jd,back:Zd,next:Qd,previous:eu,yes:tu,no:ou,all:au,none:nu,select:su,selectAll:ru,clearAll:iu,noResults:cu,noData:lu,tryAgain:du,actions:uu,status:pu,date:mu,name:gu,email:fu,phone:hu,description:vu,details:bu,total:yu,active:wu,inactive:xu,pending:Cu,completed:Su,failed:Pu,today:Tu,yesterday:Au,thisWeek:Eu,thisMonth:Ru,lastMonth:ku,last7Days:Du,last30Days:Lu,last90Days:Ou,allTime:$u,custom:Iu,from:Fu,to:Mu,createdAt:Nu,updatedAt:ju,welcome:_u,logout:Wu,login:zu,signUp:Vu,profile:Bu,settings:Uu,help:Gu,documentation:Hu,support:qu,currency:Yu,language:Ku,pleaseLogin:Xu},Zu={title:"Dashboard",description:"Overview and analytics"},Qu={title:"CRM & Sales",description:"Sales management"},ep={title:"WhatsApp",description:"Connection & automations"},tp={title:"Forms",description:"Lead capture forms"},op={title:"Leads",description:"Contact management"},ap={title:"Sales Pages",description:"Landing pages"},np={title:"Webinars",description:"Conversion events"},sp={title:"Redirect Campaigns",description:"Smart redirect & automation"},rp={title:"Settings",description:"Account preferences"},ip={title:"User Admin",description:"User management"},cp="Sign Out",lp="Signing out...",dp="Collapse menu",up="Expand menu",pp={dashboard:Zu,crm:Qu,whatsapp:ep,forms:tp,leads:op,salesPages:ap,webinars:np,groups:sp,settings:rp,userAdmin:ip,signOut:cp,signingOut:lp,collapseMenu:dp,expandMenu:up},mp="Dashboard",gp="Welcome to your lead dashboard",fp="Loading dashboard data...",hp={badge:"WhatsApp Funnel",title:"Your WhatsApp Funnel",subtitle:"Capture leads, redirect to WhatsApp groups automatically, and convert with webinars — all in one platform."},vp={createCampaign:"Create Redirect Campaign",viewCRM:"View CRM",manageForms:"Manage Forms",viewLeads:"View Leads",salesPages:"Sales Pages",manage:"Manage"},bp={groupsCampaign:"Redirect Campaigns",formsLeads:"Forms & Leads",webinars:"Webinars",crmSales:"CRM & Sales",salesPages:"Sales Pages",leadTemperature:"Lead Temperature",formsAndLeads:"Forms and Leads",groupCampaigns:"Redirect Campaigns",crmOverview:"CRM Overview",leadActivities:"Lead Activities"},yp={wonRevenue:"Won Revenue",wonRevenueSubtext:"Total closed sales",dealsClosedCount:"{{count}} deals closed",pipelineValue:"Pipeline Value",pipelineValueSubtext:"Pending opportunities",openOpportunitiesCount:"{{count}} open opportunities",lostRevenue:"Lost Revenue",lostRevenueSubtext:"Lost opportunities",dealsLostCount:"{{count}} deals lost",quickActions:"Quick Actions",viewOpportunities:"View Opportunities",viewTransactions:"View Transactions",totalForms:"Total Forms",leadCaptureForms:"Lead capture forms",totalLeads:"Total Leads",totalLeadsSubtext:"Total registered leads",capturedContacts:"Captured contacts",formLeads:"Form Leads",formLeadsSubtext:"Captured via forms",privateLeads:"WhatsApp Leads (Private)",privateLeadsSubtext:"Private WhatsApp conversations",checkIns:"Check-ins",checkInsSubtext:"Total checked-in leads",confirmedAttendees:"Confirmed attendees",conversionRate:"Conversion Rate",totalViewsCount:"{{count}} total views",totalPages:"Total Pages",landingPages:"Landing pages",pageViews:"Page Views",totalImpressions:"Total impressions",ctaClicks:"CTA Clicks",ctaClicksSubtext:"Total CTA button clicks",buttonClicks:"Button clicks",clickRate:"Click Rate",engagementRate:"Engagement rate",activeCampaigns:"Active Campaigns",activeCampaignsSubtext:"Active redirect campaigns",totalRedirects:"Total Redirects",totalRedirectsSubtext:"People redirected to groups",totalGroups:"Total Groups",totalGroupsSubtext:"WhatsApp groups created",full:"Full",available:"Available",activeForms:"Active Forms",activeFormsSubtext:"Forms collecting leads",purchases:"Purchases",purchasesSubtext:"Total purchases made",activeWebinars:"Active Webinars",activeWebinarsSubtext:"Live webinars",webinarViews:"Webinar Views",webinarViewsSubtext:"Total webinar views",webinarCTR:"Webinar CTR",webinarCTRSubtext:"Click-through rate",groupParticipants:"Group Participants",groupParticipantsSubtext:"Total members in groups",groupCapacity:"Group Capacity",groupCapacitySubtext:"Full vs available groups",cold:"Cold",warm:"Warm",hot:"Hot",superHot:"Super Hot",topEngaged:"Top Engaged Leads",groupActivities:"Group Activities",groupActivitiesSubtext:"Messages, reactions, polls",groupJoins:"Group Joins",groupJoinsSubtext:"Leads joined to groups",privateReceived:"Private Messages Received",privateReceivedSubtext:"Inbound private messages",privateSent:"Private Messages Sent",privateSentSubtext:"Outbound private messages"},wp="N/A",xp={title:mp,subtitle:gp,loading:fp,hero:hp,buttons:vp,sections:bp,stats:yp,notAvailable:wp}
3,Cp="CRM & Sales",Sp="Manage your sales pipeline and opportunities",Pp={title:"PRO Feature",description:"CRM & Sales is a powerful feature available exclusively on the PRO plan. Track opportunities, manage webhooks, and access advanced sales analytics."},Tp="Upgrade to PRO",Ap={dashboard:"Dashboard",opportunities:"Opportunities",kanban:"Kanban",subscriptions:"Subscriptions",tasks:"Tasks",timeline:"Timeline",transactions:"Transactions",setup:"Setup",sales:"Sales"},Ep={title:"Activity Timeline",subtitle:"Track all CRM activities in one place",filters:{all:"All Events",eventType:"Event Type",opportunity:"Opportunity",stageChanges:"Stage Changes",whatsappActivities:"WhatsApp Activities",search:"Search activities..."},attribution:{contributedToWin:"Contributed to Win"},phaseLabels:{cart:"Cart Stage",pending:"Pending Payment",won:"Won",lost:"Lost"},duringPhase:"during {{phase}}",empty:{title:"No activities found",description:"Activities will appear here as you interact with opportunities"}},Rp={title:"Sales Dashboard",pendingRevenue:"Pending Revenue",pendingRevenueSubtext:"In negotiation",wonRevenue:"Won Revenue",wonRevenueSubtext:"Closed sales",lostRevenue:"Lost Revenue",lostRevenueSubtext:"Lost opportunities",conversionRate:"Conversion Rate",conversionRateSubtext:"Win rate",totalOpportunities:"Total Opportunities",totalOpportunitiesSubtext:"All time",averageValue:"Average Value",averageValueSubtext:"Per opportunity"},kp={title:"Opportunities",noOpportunities:"No opportunities found",createFirst:"Create your first opportunity",customer:"Customer",product:"Product",value:"Value",stage:"Stage",status:"Status",lastActivity:"Last Activity",firstContact:"First Contact"},Dp={cart:"Cart",pending:"Pending",won:"Won",lost:"Lost"},Lp={title:"Sales",noSales:"No sales found",customer:"Customer",product:"Product",grossValue:"Gross Value",netValue:"Net Value",status:"Status",date:"Date",paymentMethod:"Payment Method",platform:"Platform"},Op={title:"Subscriptions",noSubscriptions:"No subscriptions found",mrr:"MRR",mrrSubtext:"Monthly Recurring Revenue",activeSubscribers:"Active Subscribers",activeSubscribersSubtext:"Current active",churnRate:"Churn Rate",churnRateSubtext:"Monthly churn",averageRevenue:"Average Revenue",averageRevenueSubtext:"Per subscriber",subscriber:"Subscriber",plan:"Plan",status:"Status",revenue:"Revenue",startDate:"Start Date",recurrence:"Recurrence"},$p={title:"CRM Setup",webhooks:"Webhooks",webhooksDescription:"Configure webhook endpoints to receive sales data",apiTokens:"API Tokens",apiTokensDescription:"Manage your API access tokens"},Ip={revenue:"Revenue",revenueOverTime:"Revenue Over Time",salesCount:"Sales Count",opportunities:"Opportunities",performance:"Performance",byProduct:"By Product"},Fp={dateRange:"Date Range",product:"Product",status:"Status",stage:"Stage"},Mp={dragToMove:"Drag to move",noOpportunities:"No opportunities in this stage"},Np={opportunityDetails:"Opportunity Details",saleDetails:"Sale Details",timeline:"Timeline",notes:"Notes",tasks:"Tasks",addNote:"Add Note",addTask:"Add Task"},jp={approved:"Approved",pending:"Pending",refunded:"Refunded",cancelled:"Cancelled",active:"Active",inactive:"Inactive",chargedBack:"Charged Back",disputed:"Disputed"},_p={title:Cp,subtitle:Sp,proFeature:Pp,upgradeButton:Tp,tabs:Ap,timeline:Ep,dashboard:Rp,opportunities:kp,stages:Dp,sales:Lp,subscriptions:Op,setup:$p,charts:Ip,filters:Fp,kanban:Mp,details:Np,status:jp},Wp="Forms",zp="Create and manage your forms",Vp="Create Form",Bp="New Form",Up="Back to Forms",Gp="No forms found",Hp="Create your first form to start capturing leads",qp="Form Name",Yp="Form Slug",Kp="Form Type",Xp="Loading...",Jp="Form not found",Zp={optin:"Opt-in Form",checkIn:"Check-in Form"},Qp={views:"views",participants:"participants",checkIns:"check-ins",updated:"Updated",viewStats:"View statistics",editForm:"Edit form",shareForm:"Share form",duplicateForm:"Duplicate form",deleteForm:"Delete form"},em={views:"Views",submissions:"Submissions",conversionRate:"Conversion Rate",leadsToday:"Leads Today",totalViews:"Total Views",registrations:"Registrations",checkIns:"Check-ins",purchases:"Purchases",ofViews:"of views",ofRegistrations:"of registrations",ofCheckIns:"of check-ins"},tm={formLeads:"Form Leads",exportLeads:"Export Leads",clearTotalViews:"Clear Total Views",viewsCleared:"Total views have been cleared.",viewsClearedError:"Failed to clear views. Please try again.",leadDeleted:"Lead deleted successfully",leadDeleteError:"Failed to delete lead",exportSuccess:"Leads exported successfully",exportError:"Failed to export leads"},om={dailyRegistrations:"Daily Registrations",registrationsOver:"Lead registrations over",utmAnalytics:"UTM Analytics",trafficSources:"Traffic sources over",leadsBySource:"Leads by Source",leadsByMedium:"Leads by Medium",topCampaigns:"Top Campaigns",
3noRegistrations:"No registrations in the selected period",noUtmData:"No UTM data available in the selected period",noSourceData:"No source data available",noMediumData:"No medium data available",noCampaignData:"No campaign data available"},am={last30Days:"Last 30 days",lastYear:"Last year",wholePeriod:"Whole period"},nm={title:"Form Editor",basicInfo:"Basic Information",fields:"Form Fields",design:"Design",settings:"Settings",thankYou:"Thank You Page",tracking:"Tracking",preview:"Preview",chooseType:"Choose Form Type",formSettings:"Form Settings",displaySettings:"Display Settings",checkInSettings:"Check-in Settings",trackingSettings:"Tracking Settings",saveForm:"Save Form",formName:"Form Name",formNamePlaceholder:"Enter form name",urlSlug:"URL Slug",urlSlugHint:"This will be used in your form URL: /f/your-slug",urlSlugPlaceholder:"your-form-slug",description:"Description",descriptionPlaceholder:"Enter form description",eventDate:"Event Date",showEventDate:"Show Event Date",showCountdown:"Show Countdown",showViews:"Show Views",showRegistrations:"Show Registrations",color:"Color",size:"Size",selectSize:"Select size",sizeSmall:"Small (14px / 16px)",sizeMedium:"Medium (18px / 20px)",sizeLarge:"Large (22px / 26px)",sizeExtraLarge:"Extra Large (28px / 32px)",mediaAndButton:"Media and Button Settings",enableUtmTracking:"Enable UTM Tracking",redirectUrl:"Redirect URL (Optional)",redirectUrlPlaceholder:"https://example.com/thank-you",redirectUrlHint:"Where to redirect after form submission. Use placeholders to pass form data:",redirectUrlHintContinued:"%NAME%, %EMAIL%, %PHONE% or %FIELD_NAME%",webhookUrl:"Webhook URL (Optional)",webhookUrlPlaceholder:"https://example.com/webhook",webhookUrlHint:"Receive form data via webhook. Placeholders for form fields:",pickDate:"Pick a date",buttonText:"Button Text",buttonTextPlaceholder:"Submit"},sm={title:"Title",subtitle:"Subtitle",buttonText:"Button Text",buttonTextPlaceholder:"Enter button text",color:"Color",size:"Size",selectSize:"Select size",sizeSmall:"Small",sizeMedium:"Medium",sizeLarge:"Large",sizeExtraLarge:"Extra Large",webhookUrl:"Webhook URL (Optional)",webhookPlaceholder:"https://example.com/webhook",footerText:"Footer Text (Optional)",footerPlaceholder:"Add any additional instructions or information",postCheckinUrl:"Post Check-in URL",postCheckinPlaceholder:"https://example.com/thank-you"},rm={title:"Thank You Page Settings",videoInstructions:"Video Instructions (Optional)",videoUrl:"Video URL",embedCode:"Embed Code",videoUrlPlaceholder:"https://youtube.com/watch?v=...",embedCodePlaceholder:"<iframe src=...",nextSteps:"Next Steps",showNextSteps:"Show Next Steps",stepPlaceholder:"Enter step description",addStep:"Add Step",buttonUrl:"Button URL (Optional)",buttonUrlPlaceholder:"https://example.com",buttonUrlHint:"Leave empty to hide the button"},im={title:"Tracking Settings",facebookPixelId:"Facebook Pixel ID",facebookPlaceholder:"Enter Facebook Pixel ID",facebookHint:"Used for tracking conversions and audience building",googleAnalyticsId:"Google Analytics ID",googleAnalyticsPlaceholder:"Enter Google Analytics ID (GA-XXXXXXXXXX)",googleAnalyticsHint:"Track page views and events in Google Analytics",googleTagManagerId:"Google Tag Manager ID",googleTagManagerPlaceholder:"Enter GTM ID (GTM-XXXXXX)",googleTagManagerHint:"Manage all your tracking tags in one place"},cm={name:"Name",email:"Email",phone:"Phone",custom:"Custom Field",label:"Label",labelPlaceholder:"Field Label",placeholder:"Placeholder",placeholderOptional:"Placeholder text (optional)",required:"Required",showLabel:"Show Label",addField:"Add Field",removeField:"Remove Field",fieldType:"Field Type",selectType:"Select type",text:"Text",textArea:"Text Area",number:"Number",select:"Dropdown",checkbox:"Checkbox",radio:"Radio",options:"Options",optionsPlaceholder:"Option 1, Option 2, Option 3",optionsHelp:"Separate values with commas"},lm={headline:"Headline",subheadline:"Subheadline",buttonText:"Button Text",buttonColor:"Button Color",backgroundColor:"Background Color",headerColor:"Header Color",image:"Form Image"}
3,dm={redirectUrl:"Redirect URL",webhookUrl:"Webhook URL",showViews:"Show Views Count",showRegistrations:"Show Registrations Count",utmTracking:"UTM Tracking",countdown:"Show Countdown",eventDate:"Event Date"},um={title:"Thank You Page Settings",headline:"Headline",subheadline:"Subheadline",message:"Message",buttonText:"Button Text",buttonUrl:"Button URL",nextSteps:"Next Steps"},pm={edit:"Edit Form",delete:"Delete Form",duplicate:"Duplicate Form",share:"Share Form",viewStats:"View Statistics",clearStats:"Clear Statistics",copySuccess:"Form copied successfully!",copyDescription:'"{{original}}" was duplicated as "{{copy}}"',copyError:"Failed to copy form"},mm={deleteTitle:"Delete Form",deleteMessage:"Are you sure you want to delete this form? This action cannot be undone.",deleteSuccess:"Form deleted successfully",deleteError:"Failed to delete form",clearStatsTitle:"Clear Total Views?",clearStatsMessage:"This action will reset the total views count to 0. This cannot be undone.",clearStatsCancel:"Cancel",clearStatsConfirm:"Clear Views"},gm={title:"How do you want to create the form?",description:"Choose between AI-assisted or manual creation.",withAI:"Create with AI",withAIDescription:"Answer some questions and AI will create optimized content",manual:"Create from Scratch",manualDescription:"Start with a blank form and configure manually"},fm={title:"Create Form with AI",step:"Step {{current}}: {{title}}",stepOf:"{{current}} of {{total}}",step1:"Basic Information",step2:"Value Proposition",step3:"Call to Action",step4:"Confirmation",generating:"Generating...",generateForm:"Generate Form",back:"Back",next:"Next",fillRequired:"Please fill in the required fields",incompleteResponse:"Incomplete AI response",notAuthenticated:"User not authenticated",success:"Form created successfully!",error:"Error generating form. Please try again."},hm={accountBlocked:"Account Blocked",trialExpired:"Your trial has expired. Please upgrade to continue.",leadLimitReached:"You've reached your lead limit. Please upgrade to continue.",formLimitReached:"Form Limit Reached",formLimitDescription:"You can create 1 form during your trial. Upgrade to PRO for unlimited forms.",trialExpiredTitle:"Trial Expired",trialExpiredDescription:"Your trial has expired. Upgrade to PRO to create forms.",readOnlyMode:"Read-Only Mode",readOnlyDescription:"You can view your forms but cannot edit them. Please upgrade to continue editing.",slugFormat:"Slug can only contain lowercase letters, numbers, and hyphens",slugMin:"Slug must be at least 3 characters",slugMax:"Slug must be less than 100 characters",slugExists:"This slug is already in use. Please choose another.",slugValidation:"Error validating slug"},vm={title:Wp,subtitle:zp,createForm:Vp,newForm:Bp,backToForms:Up,noForms:Gp,createFirstForm:Hp,formName:qp,formSlug:Yp,formType:Kp,loading:Xp,formNotFound:Jp,types:Zp,card:Qp,stats:em,details:tm,charts:om,periods:am,editor:nm,checkIn:sm,thankYouPage:rm,tracking:im,fields:cm,design:lm,settings:dm,thankYou:um,actions:pm,dialogs:mm,creationMethod:gm,wizard:fm,errors:hm,export:{name:"Name",email:"Email",phone:"Phone",registrationDate:"Registration Date",checkInDate:"Check-in Date",purchaseDate:"Purchase Date",status:"Status",tags:"Tags",additionalData:"Additional Data",purchased:"Purchased",checkedIn:"Checked In",registered:"Registered",lead:"Lead"}},bm="Leads",ym="Track and manage your leads",wm="No leads found",xm="Total Leads",Cm="Lead deleted successfully",Sm="Failed to delete lead",Pm={all:"All Leads",registered:"Registered",checkedIn:"Checked In",purchased:"Purchased",byForm:"By Form",byTag:"By Tag",searchPlaceholder:"Search by name, email or phone...",allForms:"All Forms",filterByForm:"Filter by form"},Tm={name:"Name",email:"Email",phone:"Phone",form:"Form",status:"Status",tags:"Tags",createdAt:"Created At",actions:"Actions",journey:"Journey",opportunity:"Opportunity",date:"Date",noOpportunity:"No opportunity",intent:"Intent",lastAction:"Last Action"},Am={registered:"Registered",checkedIn:"Checked In",purchased:"Purchased",new:"New"},Em={title:"Lead Details",basicInfo:"Basic Information",utmData:"UTM Data",additionalFields:"Additional Fields",timeline:"Timeline",opportunities:"Opportunities",tags:"Tags"},Rm={edit:"Edit Lead",delete:"Delete Lead",addTag:"Add Tag",removeTag:"Remove Tag",linkOpportunity:"Link to Opportunity",export:"Export Leads"},km={source:"Source",medium:"Medium",campaign:"Campaign",content:"Content",term:"Term"},Dm={created:"Lead created",registered:"Registered",checkedIn:"Checked In",purchased:"Purchased",tagAdded:"Tag added",tagRemoved:"Tag removed",opportunityLinked:"Linked to opportunity",leadJourney:"Lead Journey",complete:"Complete",pending:"Pending"},Lm={deleteTitle:"Delete Lead",deleteMessage:"Are you sure you want to delete this lead? This action cannot be undone.",linkOpportunityTitle:"Link to Opportunity",linkOpportunityMessage:"Select an opportunity to link this lead to"},Om={score:"Score",temperature:"Temperature",cold:"Cold",warm:"Warm",hot:"Hot",superHot:"Super Hot",lastActivity:"Last activity",configButton:"Score Settings",configTitle:"Lead Scoring Configuration",configSaved:"Scoring config saved",save:"Save",sectionEvents:"Points per Event",sectionGroupEvents:"Group Events",sectionPrivateEvents:"Private Conversation",sectionTemperature:"Temperature Ranges",sectionOpportunity:"Auto Opportunity",opportunityDescription:"Automatically create a sales opportunity when a lead reaches this 
3score.",thresholdLabel:"Threshold:",events:{form_registered:"Registered via form",joined_group:"Joined group",sent_message:"Commented in group",reacted:"Reacted to message",poll_answered:"Answered poll",checked_in:"Checked in to live",left_group:"Left group",message_received:"Message received (private)",message_sent:"Message sent (private)",document_received:"Document received",audio_received:"Audio received",image_received:"Image received"}},$m={title:"Next Action",contactNow:"Contact Now",sendFollowup:"Send Follow-up",waitingReply:"Waiting Reply",scheduleMeeting:"Schedule Meeting",recoverLead:"Recover Lead"},Im={type:"Journey Type",groupFunnel:"Group Funnel",privateConversation:"Private Conversation"},Fm={title:"Conversation Insights",inboundMessages:"Inbound Messages",outboundMessages:"Outbound Messages",lastInbound:"Last Inbound",lastOutbound:"Last Outbound",noReply:"No reply for {{hours}} hours",lastIntent:"Last Intent"},Mm={hotLeads:"Hot Leads",superHotLeads:"Super Hot",needFollowup:"Need Follow-up",noReply24h:"No Reply > 24h",hotLeadsDesc:"High intent leads",superHotDesc:"Highest priority leads",warmDesc:"Engaging steadily",coldDesc:"Low activity",followupDesc:"Needs contact or follow-up",noReplyDesc:"Waiting for response"},Nm={autoCreated:"Auto-created from lead behavior"},jm={label:"Lead Source",form:"Form",whatsappPrivate:"WhatsApp Private"},_m={title:bm,subtitle:ym,noLeads:wm,totalLeads:xm,deleteSuccess:Cm,deleteError:Sm,filters:Pm,columns:Tm,status:Am,details:Em,actions:Rm,utm:km,timeline:Dm,dialogs:Lm,scoring:Om,nextAction:$m,journey:Im,conversation:Fm,kpi:Mm,opportunity:Nm,source:jm},Wm="Settings",zm="Manage your account settings",Vm={title:"Profile Settings",subtitle:"Manage your profile information",email:"Email",fullName:"Full Name",phone:"Phone",editProfile:"Edit Profile",saveChanges:"Save Changes",saving:"Saving..."},Bm={title:"Subscription",proPlan:"PRO Plan",freePlan:"FREE Plan",upgradeToPro:"Upgrade to PRO",upgradeNow:"Upgrade Now",unlockFeatures:"Unlock unlimited access to all features",features:{unlimitedLeads:"Unlimited leads",unlimitedForms:"Unlimited forms & campaigns",salesPages:"Sales pages & webinars",crmWebhooks:"CRM, Webhooks & API"}},Um={title:"Change Password",subtitle:"Update your account password",newPassword:"New Password",confirmPassword:"Confirm Password",changePassword:"Change Password",updating:"Updating...",passwordsMatch:"Passwords must match",minLength:"Password must be at least 6 characters"},Gm={title:"Regional Preferences",subtitle:"Configure your preferred currency, language and timezone for the application",currency:"Display Currency",currencyDescription:"All monetary values will be converted and displayed in this currency",language:"Language",languageDescription:"The application interface will be displayed in this language",timezone:"Timezone",timezoneDescription:"All dates and times will be displayed in this timezone"},Hm={title:"Plan Limits",leadsUsed:"Leads Used",formsCreated:"Forms Created",campaignsCreated:"Campaigns Created",unlimited:"Unlimited"},qm={title:"Debug Settings",subtitle:"Configure debug options for development",enableDebug:"Enable Debug Mode"},Ym={title:Wm,subtitle:zm,profile:Vm,subscription:Bm,password:Um,preferences:Gm,planLim
3its:Hm,debug:qm},Km={title:"Welcome Back",subtitle:"Sign in to your account",email:"Email",password:"Password",signIn:"Sign In",signingIn:"Signing in...",forgotPassword:"Forgot password?",noAccount:"Don't have an account?",signUp:"Sign up"},Xm={title:"Create Account",subtitle:"Start your journey with us",fullName:"Full Name",email:"Email",phone:"Phone (WhatsApp)",phonePlaceholder:"+55 11 99999-9999",password:"Password",confirmPassword:"Confirm Password",createAccount:"Create Account",creating:"Creating account...",haveAccount:"Already have an account?",signIn:"Sign in"},Jm={title:"Forgot Password",subtitle:"Enter your email to receive a reset link",email:"Email",sendLink:"Send Reset Link",sending:"Sending...",backToLogin:"Back to login",emailSent:"Check your email for the reset link"},Zm={title:"Reset Password",subtitle:"Enter your new password",newPassword:"New Password",confirmPassword:"Confirm Password",resetPassword:"Reset Password",resetting:"Resetting..."},Qm={title:"Confirm Your Email",subtitle:"Please check your email to confirm your account",resend:"Resend confirmation email",resending:"Resending..."},eg={tagline:"WhatsApp Lead Intelligence Platform",headline:"Know exactly which leads are ready to buy — based on real WhatsApp behavior.",keyFeatures:"What you get",groupCampaigns:"Lead capture (forms, check-in, UTMs)",capacityControl:"WhatsApp campaigns (redirect + private)",autoMessages:"Real-time behavior tracking",formCapture:"Automatic Lead Score & Temperature",crmPipeline:"Opportunities created automatically",activityTracking:"Built-in CRM & sales pipeline"},tg={invalidCredentials:"Invalid email or password",emailNotConfirmed:"Please confirm your email before signing in",userNotFound:"No account found with this email",passwordMismatch:"Passwords do not match",weakPassword:"Password is too weak",emailInUse:"This email is already in use",networkError:"Network error. Please try again."},og={login:Km,signUp:Xm,forgotPassword:Jm,resetPassword:Zm,confirmEmail:Qm,features:eg,errors:tg},ag="Sales Pages",ng="Create high-converting sales pages",sg="New Sales Page",rg="No sales pages created yet",ig="Create your first sales page to get started",cg={draft:"Draft",published:"Published"},lg={views:"views",clicks:"clicks",blocks:"blocks",updated:"Updated"},dg={pageViews:"Page Views",totalPageViews:"Total page views",ctaClicks:"CTA Clicks",totalClicks:"Total clicks",conversionRate:"Conversion Rate",clickThroughRate:"Click-through rate",status:"Status",currentStatus:"Current status"},ug={viewStats:"View statistics",editPage:"Edit page",sharePage:"Share page",duplicatePage:"Duplicate page",deletePage:"Delete page"},pg={edit:"Edit",share:"Share",delete:"Delete",viewStats:"View Statistics",copy:"Duplicate"},mg={createSuccess:"Sales page created successfully",createError:"Failed to create sales page",deleteSuccess:"Sales page deleted successfully",deleteError:"Failed to delete sales page",copySuccess:"Sales page copied successfully!",copyDescription:'"{{original}}" was duplicated as "{{copy}}"',aiCreateSuccess:"Page created successfully!",aiCreateDescription:"AI generated your sales page. Customize as needed.",aiCreateError:"Failed to create page with AI"},gg={accountBlocked:"Account Blocked",trialExpired:"Your trial has expired. Please upgrade to continue.",leadLimitReached:"You've reached your lead limit. Please upgrade to continue.",limitReached:"Sales Page Limit Reached",limitDescription:"You can create 1 Sales Page during your trial. Upgrade to PRO for unlimited pages.",readOnlyMode:"Read-Only Mode",readOnlyDescription:"You can view your sales pages but cannot edit them. Please upgrade to continue editing.",generateError:"Error generating page",unknownError:"Unknown error"},fg={title:"How do you want to create?",description:"Choose how to create your sales page",withAI:"Create with AI",withAIDescription:"Let AI generate your sales page",manual:"Create Manually",manualDescription:"Start from scratch"},hg={title:"Create Sales Page with AI",generating:"Generating...",generate:"Generate Page",back:"Back",next:"Next",step:"Step {{current}}: {{title}}",stepOf:"{{current}} of {{total}}",steps:{product:"Product",productDesc:"Basic information",audie
3nce:"Audience",audienceDesc:"Who it's for",painDesire:"Pain & Desire",painDesireDesc:"Problems and dreams",method:"Method",methodDesc:"Your differentiator",deliverables:"Deliverables",deliverablesDesc:"What's included",pricing:"Price & Guarantee",pricingDesc:"Value and security",author:"Author",authorDesc:"Who created (optional)"},fields:{productName:"Product Name",productNamePlaceholder:"E.g.: Digital Marketing Course",shortDescription:"Short Description",shortDescriptionPlaceholder:"Describe your product in 2-3 sentences...",productType:"Product Type",productTypes:{course:"Online Course",ebook:"E-book",coaching:"Mentoring/Coaching",software:"Software/SaaS",membership:"Subscription/Community",other:"Other"},studentsCount:"Number of Students/Clients (optional)",studentsCountPlaceholder:"E.g.: 15000",studentsCountHint:"AI will create social proof text automatically",productImageUrl:"Product Image URL (optional)",audienceDescription:"Audience Description",audienceDescriptionPlaceholder:"Who is your target audience? Describe key characteristics, professions, needs...",audienceDescriptionHint:"AI will generate audience profiles automatically from this description",painPoints:"Pain Points",painPointsHint:"List your audience's problems. AI will deepen with emotional copy.",painPlaceholder:"Pain {{index}}",addPain:"Add Pain",desires:"Desires",desiresHint:"What does your audience dream of achieving? AI will expand with aspirational copy.",desirePlaceholder:"Desire {{index}}",addDesire:"Add Desire",methodName:"Method/Framework Name",methodNamePlaceholder:"E.g.: AVIN Method, XYZ Framework",methodDescription:"Method Description",methodDescriptionPlaceholder:"Explain how your method works and why it's different...",methodResults:"Method Results",methodResultsHint:"What does the person achieve with your method?",resultPlaceholder:"Result {{index}}",addResult:"Add Result",whatsIncluded:"What's included?",whatsIncludedHint:"List modules, materials, bonuses...",deliveryPlaceholder:"Delivery {{index}}",addDelivery:"Add Delivery",certificateHours:"Certificate Hours (optional)",certificateHoursPlaceholder:"E.g.: 80h",originalPrice:"Original Price (crossed out)",originalPricePlaceholder:"E.g.: $790",installmentPrice:"Installment Price",installmentPricePlaceholder:"E.g.: 12x $27",cashPrice:"Cash Price (optional)",cashPricePlaceholder:"E.g.: $297",checkoutUrl:"Checkout URL",checkoutUrlPlaceholder:"https://pay.hotmart.com/...",guaranteeDays:"Guarantee Days",guaranteeDaysPlaceholder:"E.g.: 7, 15, 30",guaranteeDaysHint:"AI will generate button text, microcopy and guarantee automatically",authorInfoOptional:"Optional author information. If filled, AI will expand the bio.",authorName:"Author Name",authorNamePlaceholder:"Your name or specialist's name",authorBio:"Short Bio",authorBioPlaceholder:"Key credentials and experience...",authorPhotoUrl:"Author Photo URL (optional)"}},vg={share:{title:"Share Sales Page",publicUrl:"Public URL",clickToCopy:"Click to copy the URL",copied:"Copied!",copiedDescription:"URL copied to clipboard"},delete:{title:"Delete Sales Page",description:"Are you sure you want to delete this sales page? This action cannot be undone.",confirm:"Delete",cancel:"Cancel"},stats:{title:"Page Statistics"}},bg={notFound:"Page not found",subtitle:"Edit your sales page content and settings",saveSuccess:"Sales page saved successfully",saveError:"Failed to save page"},yg={subtitle:"Statistics and performance metrics"},wg="Back to Sales Pages",xg="View Page",Cg="Save Changes",Sg="Clear Statistics",Pg="Edit Page",Tg={tabs:{blocks:"Blocks",settings:"Settings"},blocks:{title:"Page Blocks",addBlock:"Add Block",selectBlock:"Select a Block",noBlocks:'No blocks added. Click "Add Block" to get started.',types:{hero:"Hero",heroDesc:"Header with CTA and video/image",authority:"Brands & Authority",authorityDesc:"Logos and proof of authority",painDesire:"Pain & Desire",painDesireDesc:"Contrast between problem and solution",targetAudience:"Target Audience",targetAudienceDesc:"Target audience profiles",howItWorks:"How It Works",howItWorksDesc:"Step by step process",deliverables:"What You Get",deliverablesDesc:"Content and deliverables",testimonials:"Testimonials and Demonstration",testimonialsDesc:"Social proof with testimonials",objection:"Ob
3jection Killer",objectionDesc:"Objection handling",author:"About Author",authorDesc:"Creator presentation",pricing:"Pricing",pricingDesc:"Price box and offer",fullWidthBanner:"Full Width Banner",fullWidthBannerDesc:"Important information banner",argument:"Argument",argumentDesc:"Data and argumentation",faq:"FAQ",faqDesc:"Frequently asked questions",ctaButton:"CTA Button",ctaButtonDesc:"Call-to-action with timer",upsell:"Upsell",upsellDesc:"Centered upsell with video and HTML script",leadsFlowForm:"Leads Flow Form",leadsFlowFormDesc:"Embed a form from Forms module"}},settings:{generalSettings:"General Settings",pageName:"Page Name",urlSlug:"URL Slug",urlSlugPlaceholder:"auto-generated-from-name",urlSlugHint:"Auto-generated from page name, but you can customize it",description:"Description",status:"Status",draft:"Draft",published:"Published",designTheme:"Design & Theme",designThemeDesc:"Customize the visual appearance of your sales page",footerLinks:"Footer Links",footerLinksDesc:"Add links to your privacy policy, terms of service, and other important pages",advancedSettings:"Advanced Settings",advancedSettingsDesc:"Configure tracking, UTM parameters, and custom scripts",trackingSettings:"Tracking Settings",trackingSettingsDesc:"Add Facebook Pixel, Google Analytics, and Google Tag Manager",utmTracking:"UTM Tracking",utmTrackingDesc:"Automatically append UTM parameters to CTA links",customScripts:"Custom Scripts",customScriptsDesc:"Add custom scripts like Hotjar, chat widgets, or other third-party tools",headScripts:"Head Scripts",headScriptsHint:"Scripts added here will be inserted in the page <head> section",bodyScripts:"Body Scripts",bodyScriptsHint:"Scripts added here will be inserted at the end of the page <body> section"},presets:{title:"Design Presets",description:"Choose a preset to quickly apply a professional design to your page"},theme:{colorScheme:"Color Scheme",primaryColor:"Primary Color",secondaryColor:"Secondary Color",backgroundColor:"Background Color",headlineColor:"Headline Color",subheadlineColor:"Subheadline Color",contentTextColor:"Content Text Color",blockBackgroundColor:"Block Background Color",blockBackgroundHint:"Alternates with main background for visual separation",typography:"Typography",fontFamily:"Font Family",buttonStyle:"Button Style",buttonStyles:{rounded:"Rounded",sharp:"Sharp",pill:"Pill"},textSizes:"Text Sizes (in pixels)",textSizesHint:"Define exact font sizes for desktop and mobile. Font weights and line spacing are applied automatically.",headlines:"Headlines",subheadlines:"Subheadlines",contentText:"Content Text",listsBullets:"Lists & Bullets",desktopSize:"Desktop Size",mobileSize:"Mobile Size"}},Ag={title:ag,subtitle:ng,newPage:sg,noPages:rg,noPagesSubtext:ig,status:cg,card:lg,stats:dg,tooltips:ug,actions:pg,toasts:mg,errors:gg,creationMethod:fg,wizard:hg,dialogs:vg,details:bg,statistics:yg,backToList:wg,viewPage:xg,saveChanges:Cg,clearStats:Sg,editPage:Pg,editor:Tg},Eg="Webinars",Rg="Create and manage your webinars",kg="New Webinar",Dg="Back to Webinars",Lg="No webinars yet",Og="Create your first webinar to get started",$g={draft:"Draft",live:"Live",ended:"Ended"},Ig={views:"Views",ctaClicks:"CTA Clicks"},Fg={edit:"Edit",share:"Share",delete:"Delete",preview:"Preview"},Mg={createSuccess:"Webinar created successfully",createError:"Failed to create webinar",deleteSuccess:"Webinar deleted successfully",deleteError:"Failed to delete webinar",saveSuccess:"Webinar saved successfully",saveError:"Failed to save webinar"},Ng={accountBlocked:"Account Blocked",trialExpired:"Your trial has expired. Please upgrade to continue.",leadLimitReached:"You've reached your lead limit. Please upgrade to continue.",limitReached:"Webinar Limit Reached",limitDescription:"You can create 1 webinar during your trial. Upgrade to PRO for unlimited webinars.",trialExpiredTitle:"Trial Expired",trialExpiredDescription:"Your trial has expired. Upgrade to PRO to create webinars.",readOnlyMode:"Read-Only Mode",readOnlyDescription:"You can view your webinars but cannot edit them. Please upgrade to continue editing."},jg={title:"Webinar Editor",save:"Save Webinar",cancel:"Cancel",create:"Create Webinar",update:"Update Webinar",settings:{basic:"Main Settings",advanced:"Advanced Settings",cta:"Call-to-Action Settings"},validation:{nameAndUrlRequired:"Name and video URL are required",nameAndEmbedRequired:"Name and embed code are required",embedMustContainIframe:"Embed code must contain an iframe element",mustBeLoggedIn:"You must be logged in to save a webinar"}},_g={share:{title:"Share Webinar",description:"Share this webinar with your audience"},delete:{title:"Delete Webinar",description:"Are you sure you want to delete this webinar? This action cannot be undone.",confirm:"Delete",cancel:"Cancel"}},Wg={title:"Ghost Content",generateWithAI:"Generate with AI",initialParticipants:"Initial Participants Count",save:"Save",addComment:"Add Comment",comment:"Comment",usernameOptional:"Username (optional)",delaySeconds:"Delay (seconds)",updateParticipantCount:"Update Participant Count",newParticipantCount:"New Participant Count",addParticipantEvent:"Add Participant Event",timelinePreview:"Timeline Preview",aiDialog:{title:"Generate Ghost Content with AI",description:"AI will generate realistic comments and participant events based on your webinar content",webinarDuration:"Webinar Duration (minutes)",numberOfComments:"Number of Comments",peakParticipants:"Peak Participants",commentStyle:"Comment Style",enthusiastic:"Enthusiastic 🔥",professional:"Professional 💼",mixed:"Mixed",webinarContext:"Webinar context",initialViewers:"Initial: {{count}} viewers",commentsCount:"{{selected}}/{{total}} comments",eventsCount:"{{selected}}/{{total}} events",selectAll:"Select All",deselectAll:"Deselect All",viewers:"Viewers",cancel:"Cancel",generate:"Generate Content",generating:"Generating...",regenerate:"Regenerate",import:"Import Selected ({{count}})",importing:"Importing...",generatedSuccess:"Content Generated",generatedDescription:"Generated {{comments}} comments and {{events}} participant events",generationFailed:"Generation Failed",importSuccess:"Import Successful",importDescription:"Imported {{comments}} comments and {{events}} participant events",importFailed:"Import Failed"},toasts:{saveSuccess:"Initial participants count saved",saveError:"Failed to save initial participants count",addCommentError:"Please enter a comment",addCommentFailed:"Failed to add comment",addParticipantError:"Please enter a participant count",addParticipantFailed:"Failed to add participant event",deleteFailed:"Failed to delete comment"}},zg={title:Eg,subtitle:Rg,newWebinar:kg,backToWebinars:Dg,noWebinars:Lg,noWebinarsSubtext:Og,status:$g,stats:Ig,actions:Fg,toasts:Mg,errors:Ng,editor:jg,dialogs:_g,ghost:Wg},Vg="Redirect Campaigns",Bg="Manage WhatsApp group campaigns",Ug="Back to Campaigns",Gg="Edit Campaign",Hg="Create Campaign",qg="Campaign Overview",Yg="Groups Setup",Kg="Manage Campaign",Xg="Group Activity & Webhooks",Jg={title:"Group Activity",subtitle:"Real-time WhatsApp group events",noActivity:"No activity yet",noActivityHint:"Connect your provider and register the webhook to start tracking group events"},Zg="New Group",Qg="Update Group Info",ef="New Campaign",tf="Syncing...",of="Select period",af={last30Days:"Last 30 days",lastYear:"Last year",wholePeriod:"Whole period"},nf={totalRedirects:"Total Redirects",totalGroups:"Total Groups",activeCampaigns:"Active Campaigns",full:"Full",available:"Available",participants:"Participants",redirects:"Redirects"},sf={active:"Active",inactive:"Inactive",full:"Full",available:"Available",archived:"Archived"},rf={edit:"Edit",view:"View",delete:"Delete",archive:"Archive",share:"Share"},cf={campaignCreated:"Campaign Created",campaignCreatedDesc:"Your campaign has been created successfully. You can now configure additional settings.",campaignUpdated:"Campaign Upd
3ated",campaignRenamed:'Campaign renamed to "{{name}}"',syncSuccess:"Updated {{count}} groups with latest data from Z-API",syncPartialSuccess:"Sync completed with errors",syncError:"Failed to synchronize group data",synchronizing:"Synchronizing",syncDescription:"Performing comprehensive group data sync..."},lf={accountBlocked:"Account Blocked",trialExpired:"Your trial has expired. Please upgrade to continue.",leadLimitReached:"You've reached your lead limit. Please upgrade to continue.",limitReached:"Campaign Limit Reached",limitDescription:"You can create 1 Redirect Campaign during your trial. Upgrade to PRO for unlimited campaigns.",trialExpiredTitle:"Trial Expired",trialExpiredDescription:"Your trial has expired. Upgrade to PRO to create campaigns.",readOnlyMode:"Read-Only Mode",readOnlyDescription:"You can view your campaigns but cannot edit them. Please upgrade to continue editing."},df={title:"Redirect Campaigns",subtitle:"Effectively segment leads across WhatsApp groups, automate onboarding and boost results—all with a premium redirect experience.",noCampaigns:"No campaigns yet",noCampaignsSubtext:"Create your first campaign to get started",errorLoading:"Error loading campaign data. Please refresh the page.",acrossAllCampaigns:"Across all campaigns",totalGroups:"Total groups",currentlyRunning:"Currently running",monthlyOverview:"Monthly Overview",numberOfRedirectsPerMonth:"Number of redirects each month",campaignPerformance:"Campaign Performance",yourCampaigns:"Your Campaigns",monitorPerformance:"Monitor performance and manage your active campaigns",noCampaignsFound:"No campaigns found. Create your first campaign to get started.",campaignName:"Campaign Name",groups:"groups",redirects:"redirects",connected:"Connected",notConnected:"Not connected",provider:"Provider",whatsapp:"WhatsApp",whatsappEnabled:"Enabled",whatsappDisabled:"Disabled",whatsappDisconnected:"Disconnected",whatsappNotSetup:"Not set up",whatsappDisabledTooltip:"Enable WhatsApp on this campaign in the editor",whatsappDisconnectedTooltip:"Reconnect from Settings → WhatsApp Setup",editCampaign:"Edit Campaign",manageCampaign:"Manage Campaign",copyRedirectUrl:"Copy Redirect URL",openRedirectPage:"Open Redirect Page",urlCopied:"URL Copied",urlCopiedDesc:"Campaign redirect URL copied to clipboard",urlError:"Unable to generate redirect URL. Missing user code or campaign slug.",openUrlError:"Unable to open redirect URL. Missing user code or campaign slug."},uf={title:"Campaign Dashboard",performance:"Daily Performance",groups:"Groups",redirectsTimeline:"Redirects Timeline",campaignVisitors:"Campaign visitors",whatsappDistribution:"WhatsApp distribution",groupStatus:"Group Status",campaignStatus:"Campaign Status",currentState:"Current state",redirectsAndConversions:"Redirects and conversions over time",noRedirectData:"No redirect data available for the selected period",failedToLoadData:"Failed to load dashboard data",refreshPage:"Please try refreshing the page"},pf={title:"Campaign Editor",basicInfo:"Basic Information",name:"Campaign Name",namePlaceholder:"Enter campaign name",description:"Description",descriptionPlaceholder:"Enter campaign description",slug:"Campaign Slug",slugPlaceholder:"Campaign Slug",status:"Campaign Status",statusDescription:"Set whether this campaign is currently active or inactive",save:"Save Campaign",cancel:"Cancel",update:"Update Campaign",create:"Create Campaign",archive:"Archive Campaign",loadingCampaign:"Loading campaign...",notFound:"Campaign Not Found",notFoundDescription:"The campaign you're looking for doesn't exist or you don't have permission to view it.",backToCampaigns:"Back to Campaigns",manageCampaignSettings:"Manage your campaign settings here.",tabs:{basicInfo:"Basic Info",redirectSetup:"Redirect Setup",zapiMessages:"WhatsApp Setup",messageHistory:"Message History"},redirectSetup:{title:"Redirect Page Setup",description:"Please create the campaign first to configure redirect settings.",saveFirst:"Save your basic campaign information first, then you can customize how your redirect page looks and behaves.",subtitle:"Customize how your redirect page looks and behaves when users visit your campaign.",save:"Save Redirect Settings",pageContent:"Page Content",pageContentBadge:"What users see",pageContentDesc:"Configure the main text content that appears on your redirect page",mainTitle:"Main Title",mainTitlePlaceholder:"Join our WhatsApp Group",titleSize:"Title Size",selectTitleSize:"Select title size",titleColor:"Title Color",subtitleLabel:"Subtitle",subt
3itlePlaceholder:"Click the button below to join the group",subtitleSize:"Subtitle Size",selectSubtitleSize:"Select subtitle size",subtitleColor:"Subtitle Color",buttonConfig:"Button Configuration",buttonConfigBadge:"Call to action",buttonConfigDesc:"Customize the button that users click to join WhatsApp groups",buttonText:"Button Text",buttonTextPlaceholder:"Join Group",buttonColor:"Button Color",pageStyling:"Page Styling",pageStylingBadge:"Look & feel",pageStylingDesc:"Control the overall appearance of your redirect page",backgroundColor:"Background Color",textColor:"Text Color",behaviorSettings:"Behavior Settings",behaviorSettingsBadge:"User experience",behaviorSettingsDesc:"Configure how the redirect page behaves and handles special cases",redirectDelay:"Automatic Redirect Delay (seconds)",redirectDelayHint:"Set to 0 to disable automatic redirect. Users will need to click the button.",fullGroupsMessage:"Full Groups Message",fullGroupsMessagePlaceholder:"All groups are currently full. Please try again later.",fullGroupsMessageHint:"This message appears when all WhatsApp groups have reached their participant limit.",textSizes:{small:"Small",medium:"Medium",large:"Large",extraLarge:"Extra Large"}},messagingSetup:{title:"WhatsApp Setup",description:"Please create the campaign first to configure WhatsApp settings.",saveFirst:"Save your basic campaign information first, then you can enable the managed WhatsApp connection and configure automatic messages for this campaign.",subtitle:"Connect your managed WhatsApp number, decide whether this campaign uses it, and configure the automatic messages that go out to new members."},settingsSaved:"Settings saved",settingsSavedDescription:"Campaign settings have been updated successfully",settingsSaveError:"Failed to save campaign settings"},mf={title:"Group",name:"Group Name",link:"WhatsApp Link",maxParticipants:"Max Participants",currentParticipants:"Current Participants",weight:"Weight",status:"Status",editGroup:"Edit Group",createNewGroup:"Create New Group",groupName:"Group Name",inviteLink:"WhatsApp Invite Link",inviteLinkPlaceholder:"https://chat.whatsapp.com/...",enterGroupName:"Enter group name",maximumParticipants:"Maximum Participants",selectStatus:"Select status",cancel:"Cancel",updateGroup:"Update Group",createGroup:"Create Group",updating:"Updating...",creating:"Creating...",distribution:"Group Distribution",distributionDesc:"Manage your WhatsApp groups and their performance",noGroups:"No groups found",noGroupsDesc:"Add your first WhatsApp group to get started with your campaign",maxCapacity:"Max Capacity",zApiData:"Z-API Data",provider:"Provider",liveMembers:"Live Members"},gf={connectionSetup:"Z-API Connection Setup",connectionDesc:"Configure your Z-API credentials to enable automatic WhatsApp messaging",credentialsInfo:"You need an active Z-API account to send automatic messages. Visit",credentialsInfoSuffix:"to get your credentials.",instanceId:"Instance ID",instanceIdPlaceholder:"Your Z-API instance ID",token:"Token",tokenPlaceholder:"Your Z-API token",clientToken:"Client Token",clientTokenPlaceholder:"Your Z-API client token",testConnection:"Test Connection",testingConnection:"Testing Connection...",connectionSuccess:"Connection successful! Z-API is ready to send messages.",connectionFailed:"Connection failed. Please check your credentials.",connectionError:"Connection failed. Please check your credentials and try again.",missingCredentials:"Missing Credentials",missingCredentialsDesc:"Please fill in all Z-API credentials before testing connection.",connectionSuccessTitle:"Connection Successful",connectionSuccessDesc:"Z-API credentials are valid and working.",connectionFailedTitle:"Connection Failed",connectionFailedDesc:"Unable to connect to Z-API. Please verify your credentials.",connectionErrorTitle:"Connection Error",connectionErrorDesc:"Network error while testing Z-API connection.",welcomeMessageSetup:"Welcome Message Setup",welcomeMessageDesc:"Configure the automatic message sent to new group members",redirectsBeforeMessage:"Redirects Before Message",redirectsBeforeMessageDesc:"Number of redirects to wait before sending the welcome message (0 = send immediately)",welcomeMessage:"Welcome Message",welcomeMessagePlaceholder:"Welcome to our group! We're excited to have you here.",welcomeMessageHint:"This message will be sent automatically to new group members via WhatsApp",proTip:"Keep your welcome message friendly and informative. Let new members know what to expect from the group and any important rules.",fullGroupNotification:"Full Group Notification",fullGroupNotificationDesc:"Message sent when groups reach their participant limit",fullGroupMessage:"Full Group Message",fullGroupPlaceholder:"This group is now full! Thank you for your interest.",fullGroupHint:"This message is sent when a WhatsApp group reaches its maximum capacity",fullGroupOptional:"Leave this blank if you don't want to send notifications when groups become full.",step1:"Step 1",step2:"Step 2",step3:"Step 3"},ff={title:"Message History",description:"Track all automatic messages sent through your campaign",descriptionFull:"Track and analyze all automatic messages sent through your campaign",noMessages:"No messages yet",noMessagesDesc:"Messages will appear here once users start joining your WhatsApp groups and automatic messages are triggered.",noMessagesTip1:"Configure Z-API credentials in the previous tab",noMessagesTip2:"Set up welcome messages for new members",noMessagesTip3:"Messages are sent automatically based on your settings",messages:"messages",filterByType:"Filter by type",allMessages:"All Messages",wel
3come:"Welcome",fullGroup:"Full Group",dateRange:"Date range",last7Days:"Last 7 days",last30Days:"Last 30 days",last90Days:"Last 90 days",allTime:"All time",refresh:"Refresh",exportCsv:"Export CSV",delivered:"Delivered",pending:"Pending",failed:"Failed",group:"Group",unknownGroup:"Unknown Group",redirectCount:"Redirect Count",message:"Message",error:"Error"},hf={delete:{title:"Delete Group",description:"Are you sure you want to delete this group? This action cannot be undone.",confirm:"Delete",cancel:"Cancel"},archive:{title:"Archive Campaign",description:"Are you sure you want to archive this campaign?",confirm:"Archive",cancel:"Cancel"}},vf={connectionTitle:"WhatsApp Connection",connectionDescription:"We host one managed WhatsApp number for your account, shared across every Redirect Campaign. You only scan a QR code — no API keys, no servers to manage.",newConnectionsDisabled:"New WhatsApp connections are temporarily disabled. Existing connections remain active.",noInstance:"Create your managed WhatsApp number to start sending automated messages and tracking group activity.",createInstance:"Create WhatsApp Number",creating:"Creating…",connectInstance:"Connect WhatsApp",generateNewQr:"Generate New QR",generating:"Generating…",qrInstructions:"Open WhatsApp on your phone → Settings → Linked devices → Link a device, then scan this code.",qrWaiting:"Waiting for scan…",qrExpired:'Tap "Generate New QR" if it expires.',notConnectedYet:"Your number is provisioned but WhatsApp isn't linked yet. Generate a QR code to pair your phone.",connected:"Connected",connecting:"Connecting",disconnected:"Disconnected",instanceLabel:"Instance",refresh:"Refresh status",checkStatus:"Check status",disconnect:"Disconnect",disconnectConfirmTitle:"Disconnect WhatsApp?",disconnectConfirmDescription:"This unlinks WhatsApp from your account and pauses every Redirect Campaign that uses it. You can reconnect at any time.",disconnectConfirm:"Disconnect",disconnectCancel:"Cancel",disconnected_toast:"WhatsApp disconnected",connectedToast:"WhatsApp connected!",instanceCreated:"WhatsApp number created",instanceCreatedDesc:"Now scan the QR code to link your phone.",reregister:"Re-register webhook",reregistered:"Webhook re-registered",webhookToken:"Webhook token",webhookTokenHint:"Used to authenticate uazapi → leadsflow event delivery. Keep it secret.",reveal:"Reveal",hide:"Hide",copy:"Copy",copied:"Copied to clipboard",enableForCampaign:"Enable WhatsApp for this campaign",enableForCampaignDescription:"When on, this campaign uses your managed WhatsApp number to send welcome messages and track group activity. Off by default.",noInstanceWarning:"You don't have a managed WhatsApp number yet. Set it up above before enabling it on this campaign.",disabledHelper:"WhatsApp is disabled for this campaign. Turn the toggle on to configure messaging and activity tracking.",activityTrackingTitle:"Activity Tracking",activityTrackingDescription:"Persist group joins, messages, reactions and other events into your Leads timeline. Tracking flows through your managed instance — no extra setup needed.",activityTrackingEnabled:"Track activity for this campaign"},bf={connectedCampaigns:{empty:"No campaigns created yet.",groupCount_one:"{{count}} group",groupCount_other:"{{count}} groups",updated:"Campaign updated"},activity:{loading:"Loading timeline...",empty:"No recent activity.",today:"Today",yesterday:"Yesterday",inGroup:"in group {{group}}",unknownContact:"Unknown contact",vote:"Vote",actions:{joined_group:"Joined the group",left_group:"Left the group",sent_message:"Sent a message in the group",message_received:"Message received",message_sent:"Message sent",messageSent:"Message sent",welcomeSent:"Welcome message sent",reacted:"Reacted to a message",poll_answered:"Answered a poll",promoted:"Promoted to admin"}}},yf={title:Vg,subtitle:Bg,backToCampaigns:Ug,editCampaign:Gg,createCampaign:Hg,campaignOverview:qg,groupsSetup:Yg,manageCampaign:Kg,activityAndWebhooks:Xg,activity:Jg,newGroup:Zg,updateGroupInfo:Qg,newCampaign:ef,syncing:tf,selectPeriod:of,periods:af,stats:nf,status:sf,actions:rf,toasts:cf,errors:lf,overview:df,dashboard:uf,editor:pf,group:mf,za
3pi:gf,messageHistory:ff,dialogs:hf,whatsapp:vf,whatsappPage:bf},wf="Skip tutorial",xf="Step {{current}} of {{total}}",Cf="Bonus {{current}} of {{total}}",Sf="Let's go",Pf="Next",Tf="Show Webinars & Sales Pages",Af="Finish",Ef="Click on <strong>{{label}}</strong> in the side menu to continue.",Rf='Open the menu and tap "{{label}}" to continue.',kf={title:"Welcome to Leads Flow 🚀",description:"Quick tour through the core funnel: upgrade, WhatsApp, redirect, forms, lead score and CRM. Takes less than a minute."},Df={title:"1. Upgrade to PRO",description:"Unlock the full funnel: WhatsApp, unlimited forms & leads, CRM, Webinars and Sales Pages."},Lf={title:"2. Connect WhatsApp",description:"Connect your number so the platform can redirect leads and track messages."},Of={title:"3. Redirect Campaigns",description:"The heart of Leads Flow — auto-distribute leads across WhatsApp groups."},$f={title:"4. Forms & Capture Pages",description:"Capture leads and send them straight into your redirect campaigns."},If={title:"5. Lead Score",description:"Every interaction scores your leads automatically so you focus on the hottest ones."},Ff={title:"6. CRM & Sales",description:"Hot leads become opportunities. Track your pipeline and real revenue."},Mf={title:"Bonus: Webinars",description:"Run live or evergreen webinars with ghost comments to close more deals."},Nf={title:"Bonus: Sales Pages",description:"Build sales pages with AI copy and embedded forms — all inside the platform."},jf={coreTitle:"Core flow complete 🎉",coreDescription:"You've seen the essential funnel. Want a quick look at Webinars and Sales Pages too?",doneTitle:"You're all set 🚀",doneDescription:"Now it's your turn: connect WhatsApp, launch your first redirect campaign and watch the leads flow in. We'll be here whenever you need.",doneCta:"Start using Leads Flow"},_f={noCampaigns:"You don't have any active campaigns yet.",noLeads:"You don't have any leads yet.",noForms:"You don't have any forms yet.",createCampaign:"Create redirect campaign",createForm:"Create form",shareLink:"Share link"},Wf={skipTutorial:wf,stepOf:xf,optionalStepOf:Cf,start:Sf,next:Pf,exploreExtras:Tf,finish:Af,desktopHint:Ef,mobileHint:Rf,welcome:kf,step1:Df,step2:Lf,step3:Of,step4:$f,step5:If,step6:Ff,step8:Mf,step9:Nf,final:jf,emptyState:_f},zf="Carregando...",Vf="Salvando...",Bf="Erro",Uf="Sucesso",Gf="Salvar",Hf="Cancelar",qf="Editar",Yf="Criar",Kf="Atualizar",Xf="Buscar",Jf="Filtrar",Zf="Atualizar",Qf="Fechar",eh="Abrir",th="Visualizar",oh="Copiar",ah="Copiado!",nh="Compartilhar",sh="Baixar",rh="Enviar",ih="Enviar",ch="Confirmar",lh="Voltar",dh="Próximo",uh="Anterior",ph="Sim",mh="Não",gh="Todos",fh="Nenhum",hh="Selecionar",vh="Selecionar Todos",bh="Limpar Tudo",yh="Nenhum resultado encontrado",wh="Nenhum dado disponível",xh="Tentar Novamente",Ch="Ações",Sh="Status",Ph="Data",Th="Nome",Ah="Email",Eh="Telefone",Rh="Descrição",kh="Detalhes",Dh="Total",Lh="Ativo",Oh="Inativo",$h="Pendente",Ih="Concluído",Fh="Falhou",Mh="Hoje",Nh="Ontem",jh="Esta Semana",_h="Este Mês",Wh="Mês Passado",zh="Últimos 7 Dias",Vh="Últimos 30 Dias",Bh="Últimos 90 Dias",Uh="Todo o Período",Gh="Personalizado",Hh="De",qh="Até",Yh="Criado Em",Kh="Atualizado Em",Xh="Bem-vindo",Jh="Sair",Zh="Entrar",Qh="Cadastrar",ev="Perfil",tv="Configurações",ov="Ajuda",av="Documentação",nv="Suporte",sv={USD:"Dólar Americano",EUR:"Euro",GBP:"Libra Esterlina",BRL:"Real Brasileiro"},rv={en:"Inglês","pt-BR":"Português (Brasil)"},iv="Por favor, faça login para ver este conteúdo.",cv={loading:zf,saving:Vf,error:Bf,success:Uf,save:Gf,cancel:Hf,edit:qf,delete:"Excluir",create:Yf,update:Kf,search:Xf,filter:Jf,export:"Exportar",import:"Importar",refresh:Zf,close:Qf,open:eh,view:th,copy:oh,copied:ah,share:nh,download:sh,upload:rh,submit:ih,confirm:ch,back:lh,next:dh,previous:uh,yes:ph,no:mh,all:gh,none:fh,select:hh,selectAll:vh,clearAll:bh,noResults:yh,noData:wh,tryAgain:xh,actions:Ch,status:Sh,date:Ph,name:Th,email:Ah,phone:Eh,description:Rh,details:kh,total:Dh,active:Lh,inactive:Oh,pending:$h,completed:Ih,failed:Fh,today:Mh,yesterday:Nh,thisWeek:jh,thisMonth:_h,lastMonth:Wh,last7Days:zh,last30Days:Vh,last90Days:Bh,allTime:Uh,custom:Gh,from:Hh,to:qh,createdAt:Yh,updatedAt:Kh,welcome:Xh,logout:Jh,login:Zh,signUp:Qh,profile:ev,settings:tv,help:ov,documentation:av,support:nv,currency:sv,language:rv,pleaseLogin:iv},lv={title:"Dashboard",description:"Visão geral e análises"},dv={title:"CRM & Vendas",description:"Gestão de vendas"},uv={title:"WhatsApp",description:"Conexão & automações"},pv={title:"Formulários",description:"Captura de leads"}
3,mv={title:"Leads",description:"Gestão de contatos"},gv={title:"Páginas de Venda",description:"Landing pages"},fv={title:"Webinars",description:"Eventos de conversão"},hv={title:"Campanhas de Redirect",description:"Redirect inteligente & automação"},vv={title:"Configurações",description:"Preferências da conta"},bv={title:"Admin de Usuários",description:"Gestão de usuários"},yv="Sair",wv="Saindo...",xv="Recolher menu",Cv="Expandir menu",Sv={dashboard:lv,crm:dv,whatsapp:uv,forms:pv,leads:mv,salesPages:gv,webinars:fv,groups:hv,settings:vv,userAdmin:bv,signOut:yv,signingOut:wv,collapseMenu:xv,expandMenu:Cv},Pv="Dashboard",Tv="Bem-vindo ao seu painel de leads",Av="Carregando dados do dashboard...",Ev={badge:"Funil de WhatsApp",title:"Seu Funil de WhatsApp",subtitle:"Capture leads, redirecione para grupos do WhatsApp automaticamente e converta com webinars — tudo em uma plataforma."},Rv={createCampaign:"Criar Campanha de Redirect",viewCRM:"Ver CRM",manageForms:"Gerenciar Formulários",viewLeads:"Ver Leads",salesPages:"Páginas de Venda",manage:"Gerenciar"},kv={groupsCampaign:"Campanhas de Redirect",formsLeads:"Formulários & Leads",webinars:"Webinars",crmSales:"CRM & Vendas",salesPages:"Páginas de Venda",leadTemperature:"Temperatura dos Leads",formsAndLeads:"Formulários e Leads",groupCampaigns:"Campanhas de Redirect",crmOverview:"Visão Geral do CRM",leadActivities:"Atividades dos Leads"},Dv={wonRevenue:"Receita Ganha",wonRevenueSubtext:"Vendas fechadas",dealsClosedCount:"{{count}} negócios fechados",pipelineValue:"Valor do Pipeline",pipelineValueSubtext:"Oportunidades pendentes",openOpportunitiesCount:"{{count}} oportunidades abertas",lostRevenue:"Receita Perdida",lostRevenueSubtext:"Oportunidades perdidas",dealsLostCount:"{{count}} negócios perdidos",quickActions:"Ações Rápidas",viewOpportunities:"Ver Oportunidades",viewTransactions:"Ver Transações",totalForms:"Total de Formulários",leadCaptureForms:"Formulários de captura",totalLeads:"Total de Leads",totalLeadsSubtext:"Leads registrados",capturedContacts:"Contatos capturados",formLeads:"Leads de Formulários",formLeadsSubtext:"Capturados via formulário",privateLeads:"Leads de WhatsApp (Privado)",privateLeadsSubtext:"Conversas privadas no WhatsApp",checkIns:"Check-ins",checkInsSubtext:"Leads com check-in",confirmedAttendees:"Participantes confirmados",conversionRate:"Taxa de Conversão",totalViewsCount:"{{count}} visualizações totais",totalPages:"Total de Páginas",landingPages:"Landing pages",pageViews:"Visualizações",totalImpressions:"Total de impressões",ctaClicks:"Cliques no CTA",ctaClicksSubtext:"Total de cliques no botão",buttonClicks:"Cliques no botão",clickRate:"Taxa de Cliques",engagementRate:"Taxa de engajamento",activeCampaigns:"Campanhas Ativas",activeCampaignsSubtext:"Campanhas de grupos ativas",totalRedirects:"Total de Redirecionamentos",totalRedirectsSubtext:"Pessoas redirecionadas",totalGroups:"Total de Grupos",totalGroupsSubtext:"Grupos do WhatsApp criados",full:"Cheio",available:"Disponível",activeForms:"Formulários Ativos",activeFormsSubtext:"Formulários capturando leads",purchases:"Compras",purchasesSubtext:"Total de compras realizadas",activeWebinars:"Webinars Ativos",activeWebinarsSubtext:"Webinars ao vivo",webinarViews:"Visualizações",webinarViewsSubtext:"Total de visualizações",webinarCTR:"CTR do Webinar",webinarCTRSubtext:"Taxa de cliques",groupParticipants:"Participantes",groupParticipantsSubtext:"Total de membros",groupCapacity:"Capacidade dos Grupos",groupCapacitySubtext:"Cheios vs disponíveis",cold:"Frio",warm:"Morno",hot:"Quente",superHot:"Super Quente",topEngaged:"Leads Mais Engajados",groupActivities:"Atividades em Grupos",groupActivitiesSubtext:"Mensagens, reações e enquetes",groupJoins:"Entradas em Grupos",groupJoinsSubtext:"Leads que entraram em grupos",privateReceived:"Mensagens Recebidas (Privado)",privateReceivedSubtext:"Mensagens recebidas no privado",privateSent:"Mensagens Enviadas (Privado)",privateSentSubtext:"Mensagens enviadas no privado"}
3,Lv="N/D",Ov={title:Pv,subtitle:Tv,loading:Av,hero:Ev,buttons:Rv,sections:kv,stats:Dv,notAvailable:Lv},$v="CRM & Vendas",Iv="Gerencie seu pipeline de vendas e oportunidades",Fv={title:"Recurso PRO",description:"CRM & Vendas é um recurso poderoso disponível exclusivamente no plano PRO. Acompanhe oportunidades, gerencie webhooks e acesse análises avançadas de vendas."},Mv="Fazer Upgrade para PRO",Nv={dashboard:"Dashboard",opportunities:"Oportunidades",kanban:"Kanban",subscriptions:"Assinaturas",tasks:"Tarefas",timeline:"Timeline",transactions:"Transações",setup:"Configuração",sales:"Vendas"},jv={title:"Timeline de Atividades",subtitle:"Acompanhe todas as atividades do CRM em um só lugar",filters:{all:"Todos os Eventos",eventType:"Tipo de Evento",opportunity:"Oportunidade",stageChanges:"Mudanças de Estágio",whatsappActivities:"Atividades WhatsApp",search:"Buscar atividades..."},attribution:{contributedToWin:"Contribuiu para a Venda"},phaseLabels:{cart:"Etapa Carrinho",pending:"Pagamento Pendente",won:"Ganho",lost:"Perdido"},duringPhase:"durante {{phase}}",empty:{title:"Nenhuma atividade encontrada",description:"As atividades aparecerão aqui conforme você interage com as oportunidades"}},_v={title:"Dashboard de Vendas",pendingRevenue:"Receita Pendente",pendingRevenueSubtext:"Em negociação",wonRevenue:"Receita Ganha",wonRevenueSubtext:"Vendas fechadas",lostRevenue:"Receita Perdida",lostRevenueSubtext:"Oportunidades perdidas",conversionRate:"Taxa de Conversão",conversionRateSubtext:"Taxa de ganho",totalOpportunities:"Total de Oportunidades",totalOpportunitiesSubtext:"Todo o período",averageValue:"Valor Médio",averageValueSubtext:"Por oportunidade"},Wv={title:"Oportunidades",noOpportunities:"Nenhuma oportunidade encontrada",createFirst:"Crie sua primeira oportunidade",customer:"Cliente",product:"Produto",value:"Valor",stage:"Estágio",status:"Status",lastActivity:"Última Atividade",firstContact:"Primeiro Contato"},zv={cart:"Carrinho",pending:"Pendente",won:"Ganho",lost:"Perdido"},Vv={title:"Vendas",noSales:"Nenhuma venda encontrada",customer:"Cliente",product:"Produto",grossValue:"Valor Bruto",netValue:"Valor Líquido",status:"Status",date:"Data",paymentMethod:"Método de Pagamento",platform:"Plataforma"},Bv={title:"Assinaturas",noSubscriptions:"Nenhuma assinatura encontrada",mrr:"MRR",mrrSubtext:"Receita Recorrente Mensal",activeSubscribers:"Assinantes Ativos",activeSubscribersSubtext:"Ativos atualmente",churnRate:"Taxa de Churn",churnRateSubtext:"Churn mensal",averageRevenue:"Receita Média",averageRevenueSubtext:"Por assinante",subscriber:"Assinante",plan:"Plano",status:"Status",revenue:"Receita",startDate:"Data de Início",recurrence:"Recorrência"},Uv={title:"Configuração do CRM",webhooks:"Webhooks",webhooksDescription:"Configure endpoints de webhook para receber dados de vendas",apiTokens:"Tokens de API",apiTokensDescription:"Gerencie seus tokens de acesso à API"},Gv={revenue:"Receita",revenueOverTime:"Receita ao Longo do Tempo",salesCount:"Contagem de Vendas",opportunities:"Oportunidades",performance:"Performance",byProduct:"Por Produto"},Hv={dateRange:"Período",product:"Produto",status:"Status",stage:"Estágio"},qv={dragToMove:"Arraste para mover",noOpportunities:"Nenhuma oportunidade neste estágio"},Yv={opportunityDetails:"Detalhes da Oportunidade",saleDetails:"Detalhes da Venda",timeline:"Linha do Tempo",notes:"Notas",tasks:"Tarefas",addNote:"Adicionar Nota",addTask:"Adicionar Tarefa"},Kv={approved:"Aprovado",pending:"Pendente",refunded:"Reembolsado",cancelled:"Cancelado",active:"Ativo",inactive:"Inativo",chargedBack:"Estornado",disputed:"Contestado"},Xv={title:$v,subtitle:Iv,proFeature:Fv,upgradeButton:Mv,tabs:Nv,timeline:jv,dashboard:_v,opportunities:Wv,stages:zv,sales:Vv,subscriptions:Bv,setup:Uv,charts:Gv,filters:Hv,kanban:qv,details:Yv,status:Kv},Jv="Formulários",Zv="Crie e gerencie seus formulários",Qv="Criar Formulário",eb="Novo Formulário",tb="Voltar para Formulários",ob="Nenhum formulário encontrado",ab="Crie seu primeiro formulário para começar a capturar leads",nb="Nome do Formulário",sb="Slug do Formulário",rb="Tipo de Formulário",ib="Carregando...",cb="Formulário não encontrado",lb={optin:"Formulário de Opt-in",checkIn:"Formulário de Check-in"},db={views:"visualizações",participants:"participantes",checkIns:"check-ins",updated:"Atualizado",viewStats:"Ver estatísticas",editForm:"Editar formulário",shareForm:"Compartilhar formulário",duplicateForm:"Duplicar formulário",deleteForm:"Excluir formulário"},ub={views:"Visualizações",submissions:"Envios",conversionRate:"Taxa de Conversão",leadsToday:"Leads Hoje",totalViews:"Total de Visualizações",registrations:"Inscrições",checkIns:"Check-ins",purchases:"Compras",ofViews:"das visualizações",ofRegistrations:"das inscrições",ofCheckIns:"dos check-ins"},pb={formLeads:"Leads do Formulário",exportLeads:"Exportar Leads",clearTotalViews:"Limpar Total de Visualizações",viewsCleared:"Total de visualizações foi zerado.",viewsClearedError:"Falha ao limpar visualizações. Tente novamente.",leadDeleted:"Lead excluído com sucesso",leadDeleteError:"Falha ao excluir lead",exportSuccess:"Leads exportados com sucesso",exportError:"Falha ao exportar leads"},mb={dailyRegistrations:"Inscrições Diárias",registrationsOver:"Inscrições de leads nos",utmAnalytics:"Analytics UTM",trafficSources:"Fontes de tráfego nos",leadsBySource:"Leads por Fonte",leadsByMedium:"Leads por Mídia",topCampaigns:"Top Campanhas",noRegistrations:"Sem inscrições no período selecionado",noUtmData:"Sem dados UTM disponíveis no período selecionado",noSourceData:"Sem dados de fonte disponíveis",noMediumData:"Sem dados de mídia disponíveis",noCampaignData:"Sem dados de campanha disponíveis"},gb={last30Days:"Últimos 30 dias",lastYear:"Último ano",wholePeriod:"Todo o período"},fb={title:"Editor de Formulário",basicInfo:"Informações Básicas",fields:"Campos do Formulário",design:"Design",settings:"Configurações",thankYou:"Página de Agradecimento",tracking:"Rastreamento",preview:"Pré-visualização",chooseType:"Escolha o Tipo de Formulário",formSettings:"Configurações do Formulário",displaySettings:"Configurações de Exibição",checkInSettings:"Configurações de Check-in",trackingSettings:"Configurações de Rastreamento",saveForm:"Salvar Formulário",formName:"Nome do Formulário",formNamePlaceholder:"Digite o nome do formulário",urlSlug:"Slug da URL",urlSlugHint:"Será usado na URL do formulário: /f/seu-slug",urlSlugPlaceholder:"seu-slug-aqui",description:"Descrição",descriptionPlaceholder:"Digite a descrição do formulário",eventDate:"Data do Evento",showEventDate:"Mostrar Data do Evento",showCountdown:"Mostrar Contagem Regressiva",showViews:"Mostrar Visualizações",showRegistrations:"Mostrar Inscrições",color:"Cor",size:"Tamanho",selectSize:"Selecionar tamanho",sizeSmall:"Pequeno (14px / 16px
3)",sizeMedium:"Médio (18px / 20px)",sizeLarge:"Grande (22px / 26px)",sizeExtraLarge:"Extra Grande (28px / 32px)",mediaAndButton:"Configurações de Mídia e Botão",enableUtmTracking:"Habilitar Rastreamento UTM",redirectUrl:"URL de Redirecionamento (Opcional)",redirectUrlPlaceholder:"https://exemplo.com/obrigado",redirectUrlHint:"Para onde redirecionar após o envio. Use placeholders para passar dados:",redirectUrlHintContinued:"%NAME%, %EMAIL%, %PHONE% ou %CAMPO%",webhookUrl:"URL do Webhook (Opcional)",webhookUrlPlaceholder:"https://exemplo.com/webhook",webhookUrlHint:"Receba dados do formulário via webhook. Placeholders para campos:",pickDate:"Escolher data",buttonText:"Texto do Botão",buttonTextPlaceholder:"Enviar"},hb={title:"Título",subtitle:"Subtítulo",buttonText:"Texto do Botão",buttonTextPlaceholder:"Digite o texto do botão",color:"Cor",size:"Tamanho",selectSize:"Selecionar tamanho",sizeSmall:"Pequeno",sizeMedium:"Médio",sizeLarge:"Grande",sizeExtraLarge:"Extra Grande",webhookUrl:"URL do Webhook (Opcional)",webhookPlaceholder:"https://exemplo.com/webhook",footerText:"Texto do Rodapé (Opcional)",footerPlaceholder:"Adicione instruções ou informações adicionais",postCheckinUrl:"URL Pós Check-in",postCheckinPlaceholder:"https://exemplo.com/obrigado"},vb={title:"Configurações da Página de Agradecimento",videoInstructions:"Instruções em Vídeo (Opcional)",videoUrl:"URL do Vídeo",embedCode:"Código de Incorporação",videoUrlPlaceholder:"https://youtube.com/watch?v=...",embedCodePlaceholder:"<iframe src=...",nextSteps:"Próximos Passos",showNextSteps:"Mostrar Próximos Passos",stepPlaceholder:"Digite a descrição do passo",addStep:"Adicionar Passo",buttonUrl:"URL do Botão (Opcional)",buttonUrlPlaceholder:"https://exemplo.com",buttonUrlHint:"Deixe vazio para ocultar o botão"},bb={title:"Configurações de Rastreamento",facebookPixelId:"ID do Facebook Pixel",facebookPlaceholder:"Digite o ID do Facebook Pixel",facebookHint:"Usado para rastrear conversões e construir audiências",googleAnalyticsId:"ID do Google Analytics",googleAnalyticsPlaceholder:"Digite o ID do Google Analytics (GA-XXXXXXXXXX)",googleAnalyticsHint:"Rastreie visualizações e eventos no Google Analytics",googleTagManagerId:"ID do Google Tag Manager",googleTagManagerPlaceholder:"Digite o ID do GTM (GTM-XXXXXX)",googleTagManagerHint:"Gerencie todas as suas tags de rastreamento em um só lugar"},yb={name:"Nome",email:"Email",phone:"Telefone",custom:"Campo Personalizado",label:"Rótulo",labelPlaceholder:"Rótulo do Campo",placeholder:"Placeholder",placeholderOptional:"Texto do placeholder (opcional)",required:"Obrigatório",showLabel:"Mostrar Rótulo",addField:"Adicionar Campo",removeField:"Remover Campo",fieldType:"Tipo de Campo",selectType:"Selecionar tipo",text:"Texto",textArea:"Área de Texto",number:"Número",select:"Lista Suspensa",checkbox:"Caixa de Seleção",radio:"Botão de Opção",options:"Opções",optionsPlaceholder:"Opção 1, Opção 2, Opção 3",optionsHelp:"Separe os valores com vírgula"},wb={headline:"Título",subheadline:"Subtítulo",buttonText:"Texto do Botão",buttonColor:"Cor do Botão",backgroundColor:"Cor de Fundo",headerColor:"Cor do Cabeçalho",image:"Imagem do Formulário"},xb={redirectUrl:"URL de Redirecionamento",webhookUrl:"URL do Webhook",showViews:"Mostrar Contagem de Visualizações",showRegistrations:"Mostrar Contagem de Inscrições",utmTracking:"Rastreamento UTM",countdown:"Mostrar Contagem Regressiva",eventDate:"Data do Evento"},Cb={title:"Configurações da Página de Agradecimento",headline:"Título",subheadline:"Subtítulo",message:"Mensagem",buttonText:"Texto do Botão",buttonUrl:"URL do Botão",nextSteps:"Próximos Passos"},Sb={edit:"Editar Formulário",delete:"Excluir Formulário",duplicate:"Duplicar Formulário",share:"Compartilhar Formulário",viewStats:"Ver Estatísticas",clearStats:"Limpar Estatísticas",copySuccess:"Formulário copiado com sucesso!",copyDescription:'"{{original}}" foi duplicado como "{{copy}}"',copyError:"Falha ao copiar formulário"},Pb={deleteTitle:"Excluir Formulário",deleteMessage:"Tem certeza de que deseja excluir este formulário? Esta ação não pode ser desfeita.",deleteSuccess:"Formulário excluído com sucesso",deleteError:"Falha ao excluir formulário",clearStatsTitle:"Limpar Total de Visualizações?",clearStatsMessage:"Esta ação irá zerar a contagem total de visualizações. Não pode ser desfeita.",clearStatsCancel:"Cancelar",clearStatsConfirm:"Limpar Visualizações"},Tb={title:"Como deseja criar o formulário?",description:"Escolha entre criar com assistência de IA ou manualmente do zero.",withAI:"Criar com IA",withAIDescription:"Responda algumas perguntas e a IA criará textos otimizados",manual:"Criar do Zero",manualDescription:"Comece com um formulário em branco e configure manualmente"},Ab={title:"Criar Formulário com IA",step:"Passo {{current}}: {{title}}",stepOf:"{{current}} de {{total}}",step1:"Informações Básicas",step2:"Proposta de Valor",step3:"Chamada para Ação",
3step4:"Confirmação",generating:"Gerando...",generateForm:"Gerar Formulário",back:"Voltar",next:"Próximo",fillRequired:"Preencha os campos obrigatórios",incompleteResponse:"Resposta da IA incompleta",notAuthenticated:"Usuário não autenticado",success:"Formulário criado com sucesso!",error:"Erro ao gerar formulário. Tente novamente."},Eb={accountBlocked:"Conta Bloqueada",trialExpired:"Seu período de teste expirou. Faça upgrade para continuar.",leadLimitReached:"Você atingiu o limite de leads. Faça upgrade para continuar.",formLimitReached:"Limite de Formulários Atingido",formLimitDescription:"Você pode criar 1 formulário durante o teste. Faça upgrade para PRO para formulários ilimitados.",trialExpiredTitle:"Período de Teste Expirado",trialExpiredDescription:"Seu período de teste expirou. Faça upgrade para PRO para criar formulários.",readOnlyMode:"Modo Somente Leitura",readOnlyDescription:"Você pode visualizar seus formulários, mas não pode editá-los. Faça upgrade para continuar editando.",slugFormat:"Slug só pode conter letras minúsculas, números e hífens",slugMin:"Slug deve ter pelo menos 3 caracteres",slugMax:"Slug deve ter menos de 100 caracteres",slugExists:"Este slug já está em uso. Escolha outro.",slugValidation:"Erro ao validar slug"},Rb={title:Jv,subtitle:Zv,createForm:Qv,newForm:eb,backToForms:tb,noForms:ob,createFirstForm:ab,formName:nb,formSlug:sb,formType:rb,loading:ib,formNotFound:cb,types:lb,card:db,stats:ub,details:pb,charts:mb,periods:gb,editor:fb,checkIn:hb,thankYouPage:vb,tracking:bb,fields:yb,design:wb,settings:xb,thankYou:Cb,actions:Sb,dialogs:Pb,creationMethod:Tb,wizard:Ab,errors:Eb,export:{name:"Nome",email:"Email",phone:"Telefone",registrationDate:"Data de Inscrição",checkInDate:"Data de Check-in",purchaseDate:"Data de Compra",status:"Status",tags:"Tags",additionalData:"Dados Adicionais",purchased:"Comprado",checkedIn:"Check-in Realizado",registered:"Inscrito",lead:"Lead"}},kb="Leads",Db="Acompanhe e gerencie seus leads",Lb="Nenhum lead encontrado",Ob="Total de Leads",$b="Lead excluído com sucesso",Ib="Falha ao excluir lead",Fb={all:"Todos os Leads",registered:"Registrados",checkedIn:"Com Check-in",purchased:"Compradores",byForm:"Por Formulário",byTag:"Por Tag",searchPlaceholder:"Buscar por nome, email ou telefone...",allForms:"Todos os Formulários",filterByForm:"Filtrar por formulário"},Mb={name:"Nome",email:"Email",phone:"Telefone",form:"Formulário",status:"Status",tags:"Tags",createdAt:"Criado Em",actions:"Ações",journey:"Jornada",opportunity:"Oportunidade",date:"Data",noOpportunity:"Sem oportunidade",intent:"Intenção",lastAction:"Última Ação"},Nb={registered:"Registrado",checkedIn:"Check-in Feito",purchased:"Comprou",new:"Novo"},jb={title:"Detalhes do Lead",basicInfo:"Informações Básicas",utmData:"Dados UTM",additionalFields:"Campos Adicionais",timeline:"Linha do Tempo",opportunities:"Oportunidades",tags:"Tags"},_b={edit:"Editar Lead",delete:"Excluir Lead",addTag:"Adicionar Tag",removeTag:"Remover Tag",linkOpportunity:"Vincular a Oportunidade",export:"Exportar Leads"},Wb={source:"Fonte",medium:"Mídia",campaign:"Campanha",content:"Conteúdo",term:"Termo"},zb={created:"Lead criado",registered:"Registrado",checkedIn:"Check-in Feito",purchased:"Comprou",tagAdded:"Tag adicionada",tagRemoved:"Tag removida",opportunityLinked:"Vinculado a oportunidade",leadJourney:"Jornada do Lead",complete:"Completo",pending:"Pendente"},Vb={deleteTitle:"Excluir Lead",deleteMessage:"Tem certeza de que deseja excluir este lead? Esta ação não pode ser desfeita.",linkOpportunityTitle:"Vincular a Oportunidade",linkOpportunityMessage:"Selecione uma oportunidade para vincular a este lead"},Bb={score:"Score",temperature:"Temperatura",cold:"Frio",warm:"Morno",hot:"Quente",superHot:"Super Quente",lastActivity:"Última atividade",configButton:"Config. Score",configTitle:"Configuração de Lead Scoring",configSaved:"Configuração de score salva",save:"Salvar",sectionEvents:"Pontos por Evento",sectionGroupEvents:"Eventos de Grupo",sectionPrivateEvents:"Conversa Privada",sectionTemperature:"Faixas de Temperatura",sectionOpportunity:"Oportunidade Automática",opportunityDescription:"Criar automaticamente uma o
3portunidade de venda quando o lead atingir este score.",thresholdLabel:"Threshold:",events:{form_registered:"Registrado via formulário",joined_group:"Entrou no grupo",sent_message:"Comentou no grupo",reacted:"Reagiu a mensagem",poll_answered:"Respondeu enquete",checked_in:"Fez check-in na live",left_group:"Saiu do grupo",message_received:"Mensagem recebida (privado)",message_sent:"Mensagem enviada (privado)",document_received:"Documento recebido",audio_received:"Áudio recebido",image_received:"Imagem recebida"}},Ub={title:"Próxima Ação",contactNow:"Contatar Agora",sendFollowup:"Enviar Follow-up",waitingReply:"Aguardando Resposta",scheduleMeeting:"Agendar Reunião",recoverLead:"Recuperar Lead"},Gb={type:"Tipo de Jornada",groupFunnel:"Funil de Grupo",privateConversation:"Conversa Privada"},Hb={title:"Insights de Conversa",inboundMessages:"Mensagens Recebidas",outboundMessages:"Mensagens Enviadas",lastInbound:"Última Recebida",lastOutbound:"Última Enviada",noReply:"Sem resposta há {{hours}} horas",lastIntent:"Última Intenção"},qb={hotLeads:"Leads Quentes",superHotLeads:"Super Quentes",needFollowup:"Precisam Follow-up",noReply24h:"Sem Resposta > 24h",hotLeadsDesc:"Leads de alta intenção",superHotDesc:"Leads de maior prioridade",warmDesc:"Engajando aos poucos",coldDesc:"Baixa atividade",followupDesc:"Precisam contato ou follow-up",noReplyDesc:"Aguardando resposta"},Yb={autoCreated:"Criada automaticamente pelo comportamento do lead"},Kb={label:"Fonte do Lead",form:"Formulário",whatsappPrivate:"WhatsApp Privado"},Xb={title:kb,subtitle:Db,noLeads:Lb,totalLeads:Ob,deleteSuccess:$b,deleteError:Ib,filters:Fb,columns:Mb,status:Nb,details:jb,actions:_b,utm:Wb,timeline:zb,dialogs:Vb,scoring:Bb,nextAction:Ub,journey:Gb,conversation:
3Hb,kpi:qb,opportunity:Yb,source:Kb},Jb="Configurações",Zb="Gerencie as configurações da sua conta",Qb={title:"Configurações de Perfil",subtitle:"Gerencie suas informações de perfil",email:"Email",fullName:"Nome Completo",phone:"Telefone",editProfile:"Editar Perfil",saveChanges:"Salvar Alterações",saving:"Salvando..."},ey={title:"Assinatura",proPlan:"Plano PRO",freePlan:"Plano FREE",upgradeToPro:"Upgrade para PRO",upgradeNow:"Fazer Upgrade",unlockFeatures:"Desbloqueie acesso ilimitado a todos os recursos",features:{unlimitedLeads:"Leads ilimitados",unlimitedForms:"Formulários e campanhas ilimitados",salesPages:"Páginas de venda e webinars",crmWebhooks:"CRM, Webhooks e API"}},ty={title:"Alterar Senha",subtitle:"Atualize a senha da sua conta",newPassword:"Nova Senha",confirmPassword:"Confirmar Senha",changePassword:"Alterar Senha",updating:"Atualizando...",passwordsMatch:"As senhas devem coincidir",minLength:"A senha deve ter pelo menos 6 caracteres"},oy={title:"Preferências Regionais",subtitle:"Configure sua moeda, idioma e fuso horário preferidos para o aplicativo",currency:"Moeda de Exibição",currencyDescription:"Todos os valores monetários serão convertidos e exibidos nesta moeda",language:"Idioma",languageDescription:"A interface do aplicativo será exibida neste idioma",timezone:"Fuso Horário",timezoneDescription:"Todas as datas e horários serão exibidos neste fuso horário"},ay={title:"Limites do Plano",leadsUsed:"Leads Utilizados",formsCreated:"Formulários Criados",campaignsCreated:"Campanhas Criadas",unlimited:"Ilimitado"},ny={title:"Configurações de Debug",subtitle:"Configure opções de debug para desenvolvimento",enableDebug:"Ativar Modo Debug"},sy={title:Jb,subtitle:Zb,profile:Qb,subscription:ey,password:ty,preferences:oy,planLimits:ay,debug:ny},ry={title:"Bem-vindo de Volta",subtitle:"Entre na sua conta",email:"Email",password:"Senha",signIn:"Entrar",signingIn:"Entrando...",forgotPassword:"Esqueceu a senha?",noAccount:"Não tem uma conta?",signUp:"Cadastre-se"},iy={title:"Criar Conta",subtitle:"Comece a automatizar seu funil de WhatsApp",fullName:"Nome Completo",email:"Email",phone:"Telefone (WhatsApp)",phonePlaceholder:"+55 11 99999-9999",password:"Senha",confirmPassword:"Confirmar Senha",createAccount:"Criar Conta",creating:"Criando conta...",haveAccount:"Já tem uma conta?",signIn:"Entrar"},cy={title:"Esqueceu a Senha",subtitle:"Digite seu email para receber o link de redefinição",email:"Email",sendLink:"Enviar Link de Redefinição",sending:"Enviando...",backToLogin:"Voltar ao login",emailSent:"Verifique seu email para o link de redefinição"},ly={title:"Redefinir Senha",subtitle:"Digite sua nova senha",newPassword:"Nova Senha",confirmPassword:"Confirmar Senha",resetPassword:"Redefinir Senha",resetting:"Redefinindo..."},dy={title:"Confirme Seu Email",subtitle:"Por favor, verifique seu email para confirmar sua conta",resend:"Reenviar email de confirmação",resending:"Reenviando..."},uy={tagline:"WhatsApp Lead Intelligence Platform",headline:"Descubra quais leads estão prontos para comprar pelo comportamento real no WhatsApp.",keyFeatures:"O que você ganha",groupCampaigns:"Captura de leads (formulários, check-in, UTMs)",capacityControl:"Campanhas no WhatsApp (redirect + privado)",autoMessages:"Rastreamento de comportamento em tempo real",formCapture:"Lead Score & Temperatura automáticos",crmPipeline:"Oportunidades criadas automaticamente",activityTracking:"CRM & pipeline de vendas integrados"},py={invalidCredentials:"Email ou senha inválidos",emailNotConfirmed:"Por favor, confirme seu email antes de entrar",userNotFound:"Nenhuma conta encontrada com este email",passwordMismatch:"As senhas não coincidem",weakPassword:"A senha é muito fraca",emailInUse:"Este email já está em uso",networkError:"Erro de rede. Por favor, tente novamente."},my={login:ry,signUp:iy,forgotPassword:cy,resetPassword:ly,confirmEmail:dy,features:uy,errors:py},gy="Páginas de Venda",fy="Crie páginas de venda de alta conversão",hy="Nova Página de Venda",vy="Nenhuma página de venda criada ainda",by="Crie sua primeira página de venda para começar",yy={draft:"Rascunho",published:"Publicado"},wy={views:"visualizações",clicks:"cliques",blocks:"blocos",updated:"Atualizado"},xy={pageViews:"Visualizações",totalPageViews:"Total de visualizações",ctaClicks:"Cliques no CTA",totalClicks:"Total de cliques",conversionRate:"Taxa de Conversão",clickThroughRate:"Taxa de cliques",status:"Status",currentStatus:"Status atual"},Cy={viewStats:"Ver estatísticas",editPage:"Editar página",sharePage:"Compartilhar página",duplicatePage:"Duplicar página",deletePage:"Excluir página"},Sy={edit:"Editar",share:"Compartilhar",delete:"Excluir",viewStats:"Ver Estatísticas",copy:"Duplicar"},Py={createSuccess:"Página de venda criada com sucesso",createError:"Falha ao criar página de venda",deleteSuccess:"Página de venda excluída com sucesso",deleteError:"Falha ao excluir página de venda",copySuccess:"Página de venda copiada com sucesso!",copyDescription:'"{{original}}" foi duplicada como "{{copy}}"',aiCreateSuccess:"Página criada com sucesso!",aiCreateDescription:"A IA gerou sua página de vendas. Personalize como desejar.",aiCreateError:"Falha ao criar página com IA"},Ty={accountBlocked:"Conta Bloqueada",trialExpired:"Seu período de teste expirou. Por favor, faça upgrade para continuar.",leadLimitReached:"Você atingiu seu limite de leads. Por favor, faça upgrade para continuar.",limitReached:"Limite de Páginas de Venda Atingido",limitDescription:"Você pode criar 1 Página de Venda durante seu período de teste. Faça upgrade para PRO para páginas ilimitadas.",readOnlyMode:"Modo Somente Leitura",readOnlyDescription:"Você pode visualizar suas páginas de venda mas não pode editá-las. Por favor, faça upgrade para continuar editando.",generateError:"Erro ao gerar página",unknownError:"Erro desconhecido"},Ay={title:"Como você quer criar?",description:"Escolha como criar sua página de venda",withAI:"Criar com IA",withAIDescription:"Deixe a IA gerar sua página de venda",manual:"Criar do Zero",manualDescription:"Comece do zero"},Ey={title:"Criar Página de Venda com IA",generating:"Gerando...",generate:"Gerar Página",back:"Voltar",next:"Próximo",step:"Passo {{current}}: {{title}}",stepOf:"{{current}} de {{total}}",steps:{product:"Produto",productDesc:"Informações básicas",audie
3nce:"Audiência",audienceDesc:"Para quem é",painDesire:"Dor & Desejo",painDesireDesc:"Problemas e sonhos",method:"Método",methodDesc:"Seu diferencial",deliverables:"Entregas",deliverablesDesc:"O que está incluso",pricing:"Preço & Garantia",pricingDesc:"Valor e segurança",author:"Autor",authorDesc:"Quem criou (opcional)"},fields:{productName:"Nome do Produto",productNamePlaceholder:"Ex: Curso de Marketing Digital",shortDescription:"Descrição Curta",shortDescriptionPlaceholder:"Descreva seu produto em 2-3 frases...",productType:"Tipo de Produto",productTypes:{course:"Curso Online",ebook:"E-book",coaching:"Mentoria/Coaching",software:"Software/SaaS",membership:"Assinatura/Comunidade",other:"Outro"},studentsCount:"Número de Alunos/Clientes (opcional)",studentsCountPlaceholder:"Ex: 15000",studentsCountHint:"A IA criará o texto de prova social automaticamente",productImageUrl:"URL da Imagem do Produto (opcional)",audienceDescription:"Descrição da Audiência",audienceDescriptionPlaceholder:"Quem é seu público-alvo? Descreva as características principais, profissões, necessidades...",audienceDescriptionHint:"A IA gerará os perfis de audiência automaticamente com base nesta descrição",painPoints:"Pontos de Dor",painPointsHint:"Liste os problemas do seu público. A IA vai aprofundar com copy emocional.",painPlaceholder:"Dor {{index}}",addPain:"Adicionar Dor",desires:"Desejos",desiresHint:"O que seu público sonha conquistar? A IA vai expandir com copy aspiracional.",desirePlaceholder:"Desejo {{index}}",addDesire:"Adicionar Desejo",methodName:"Nome do Método/Framework",methodNamePlaceholder:"Ex: Método AVIN, Framework XYZ",methodDescription:"Descrição do Método",methodDescriptionPlaceholder:"Explique como seu método funciona e por que é diferente...",methodResults:"Resultados do Método",methodResultsHint:"O que a pessoa conquista com seu método?",resultPlaceholder:"Resultado {{index}}",addResult:"Adicionar Resultado",whatsIncluded:"O que está incluso?",whatsIncludedHint:"Liste módulos, materiais, bônus...",deliveryPlaceholder:"Entrega {{index}}",addDelivery:"Adicionar Entrega",certificateHours:"Horas do Certificado (opcional)",certificateHoursPlaceholder:"Ex: 80h",originalPrice:"Preço Original (riscado)",originalPricePlaceholder:"Ex: R$ 790",installmentPrice:"Preço Parcelado",installmentPricePlaceholder:"Ex: 12x R$ 27",cashPrice:"Preço à Vista (opcional)",cashPricePlaceholder:"Ex: R$ 297",checkoutUrl:"URL do Checkout",checkoutUrlPlaceholder:"https://pay.hotmart.com/...",guaranteeDays:"Dias de Garantia",guaranteeDaysPlaceholder:"Ex: 7, 15, 30",guaranteeDaysHint:"A IA gerará o texto do botão, microcopy e garantia automaticamente",authorInfoOptional:"Informações opcionais sobre o autor. Se preenchido, a IA expandirá a bio.",authorName:"Nome do Autor",authorNamePlaceholder:"Seu nome ou nome do especialista",authorBio:"Bio Resumida",authorBioPlaceholder:"Principais credenciais e experiência...",authorPhotoUrl:"URL da Foto do Autor (opcional)"}},Ry={share:{title:"Compartilhar Página de Venda",publicUrl:"URL Pública",clickToCopy:"Clique para copiar a URL",copied:"Copiado!",copiedDescription:"URL copiada para a área de transferência"},delete:{title:"Excluir Página de Venda",description:"Tem certeza que deseja excluir esta página de venda? Esta ação não pode ser desfeita.",confirm:"Excluir",cancel:"Cancelar"},stats:{title:"Estatísticas da Página"}},ky={notFound:"Página não encontrada",subtitle:"Edite o conteúdo e configurações da sua página de venda",saveSuccess:"Página de venda salva com sucesso",saveError:"Falha ao salvar página"},Dy={subtitle:"Estatísticas e métricas de desempenho"},Ly="Voltar para Páginas de Venda",Oy="Ver Página",$y="Salvar Alterações",Iy="Limpar Estatísticas",Fy="Editar Página",My={tabs:{blocks:"Blocos",settings:"Configurações"},blocks:{title:"Blocos da Página",addBlock:"Adicionar Bloco",selectBlock:"Selecione um Bloco",noBlocks:'Nenhum bloco adicionado. Clique em "Adicionar Bloco" para começar.',types:{hero:"Hero",heroDesc:"Cabeçalho com CTA e vídeo/imagem",authority:"Marcas e Autoridade",authorityDesc:"Logos e prova de autoridade",painDesire:"Dor e Desejo",painDesireDesc:"Contraste entre problema e solução",targetAudience:"Público-Alvo",targetAudienceDesc:"Perfis do público-alvo",howItWorks:"Como Funciona",howItWorksDesc:"Processo passo a passo",deliverables:"O Que Você Recebe",deliverablesDesc:"Conteúdo e entregáveis",testimonials:"Depoimentos e Demonstração",testimonialsDesc:"Prova social com depoimentos",objection:"Quebra de Objeções",objectionDesc:"Tratamento de objeções",author:"Sobre o Autor",authorDesc:"Apresentação do criador",pricing:"Preço",pricingDesc:"Caixa de preço e oferta",fullWidthBanner:"Banner Largura Total",fullWidthBannerDe
3sc:"Banner de informações importantes",argument:"Argumento",argumentDesc:"Dados e argumentação",faq:"Perguntas Frequentes",faqDesc:"Perguntas frequentes",ctaButton:"Botão CTA",ctaButtonDesc:"Call-to-action com timer",upsell:"Upsell",upsellDesc:"Upsell centralizado com vídeo e script HTML",leadsFlowForm:"Formulário Leads Flow",leadsFlowFormDesc:"Incorporar formulário do módulo Formulários"}},settings:{generalSettings:"Configurações Gerais",pageName:"Nome da Página",urlSlug:"Slug da URL",urlSlugPlaceholder:"gerado-automaticamente-do-nome",urlSlugHint:"Gerado automaticamente a partir do nome da página, mas você pode personalizar",description:"Descrição",status:"Status",draft:"Rascunho",published:"Publicado",designTheme:"Design e Tema",designThemeDesc:"Personalize a aparência visual da sua página de venda",footerLinks:"Links do Rodapé",footerLinksDesc:"Adicione links para sua política de privacidade, termos de serviço e outras páginas importantes",advancedSettings:"Configurações Avançadas",advancedSettingsDesc:"Configure rastreamento, parâmetros UTM e scripts personalizados",trackingSettings:"Configurações de Rastreamento",trackingSettingsDesc:"Adicione Facebook Pixel, Google Analytics e Google Tag Manager",utmTracking:"Rastreamento UTM",utmTrackingDesc:"Anexar automaticamente parâmetros UTM aos links de CTA",customScripts:"Scripts Personalizados",customScriptsDesc:"Adicione scripts personalizados como Hotjar, widgets de chat ou outras ferramentas de terceiros",headScripts:"Scripts do Head",headScriptsHint:"Scripts adicionados aqui serão inseridos na seção <head> da página",bodyScripts:"Scripts do Body",bodyScriptsHint:"Scripts adicionados aqui serão inseridos no final da seção <body> da página"},presets:{title:"Predefinições de Design",description:"Escolha uma predefinição para aplicar rapidamente um design profissional à sua página"},theme:{colorScheme:"Esquema de Cores",primaryColor:"Cor Primária",secondaryColor:"Cor Secundária",backgroundColor:"Cor de Fundo",headlineColor:"Cor do Título",subheadlineColor:"Cor do Subtítulo",contentTextColor:"Cor do Texto de Conteúdo",blockBackgroundColor:"Cor de Fundo do Bloco",blockBackgroundHint:"Alterna com o fundo principal para separação visual",typography:"Tipografia",fontFamily:"Família da Fonte",buttonStyle:"Estilo do Botão",buttonStyles:{rounded:"Arredondado",sharp:"Reto",pill:"Pílula"},textSizes:"Tamanhos de Texto (em pixels)",textSizesHint:"Defina tamanhos exatos de fonte para desktop e mobile. Pesos de fonte e espaçamento de linha são aplicados automaticamente.",headlines:"Títulos",subheadlines:"Subtítulos",contentText:"Texto de Conteúdo",listsBullets:"Listas e Marcadores",desktopSize:"Tamanho Desktop",mobileSize:"Tamanho Mobile"}},Ny={title:gy,subtitle:fy,newPage:hy,noPages:vy,noPagesSubtext:by,status:yy,card:wy,stats:xy,tooltips:Cy,actions:Sy,toasts:Py,errors:Ty,creationMethod:Ay,wizard:Ey,dialogs:Ry,details:ky,statistics:Dy,backToList:Ly,viewPage:Oy,saveChanges:$y,clearStats:Iy,editPage:Fy,editor:My},jy="Webinars",_y="Crie e gerencie seus webinars",Wy="Novo Webinar",zy="Voltar para Webinars",Vy="Nenhum webinar ainda",By="Crie seu primeiro webinar para começar",Uy={draft:"Rascunho",live:"Ao Vivo",ended:"Encerrado"},Gy={views:"Visualizações",ctaClicks:"Cliques no CTA"},Hy={edit:"Editar",share:"Compartilhar",delete:"Excluir",preview:"Visualizar"},qy={createSuccess:"Webinar criado com sucesso",createError:"Falha ao criar webinar",deleteSuccess:"Webinar excluído com sucesso",deleteError:"Falha ao excluir webinar",saveSuccess:"Webinar salvo com sucesso",saveError:"Falha ao salvar webinar"},Yy={accountBlocked:"Conta Bloqueada",trialExpired:"Seu período de teste expirou. Por favor, faça upgrade para continuar.",leadLimitReached:"Você atingiu seu limite de leads. Por favor, faça upgrade para continuar.",limitReached:"Limite de Webinars Atingido",limitDescription:"Você pode criar 1 webinar durante seu período de teste. Faça upgrade para PRO para webinars ilimitados.",trialExpiredTitle:"Período de Teste Expirado",trialExpiredDescription:"Seu período de teste expirou. Faça upgrade para PRO para criar webinars.",readOnlyMode:"Modo Somente Leitura",readOnlyDescription:"Você pode visualizar seus webinars mas não pode editá-los. Por favor, faça upgrade para continuar editando."},Ky={title:"Editor de Webinar",save:"Salvar Webinar",cancel:"Cancelar",create:"Criar Webinar",update:"Atualizar Webinar",settings:{basic:"Configurações Principais",advanced:"Configurações Avançadas",cta:"Configurações de Call-to-Action"},validation:{nameAndUrlRequired:"Nome e URL do vídeo são obrigatórios",nameAndEmbedRequired:"Nome e código embed são obrigatórios",embedMustContainIframe:"O código embed deve conter um elemento iframe",mustBeLoggedIn:"Você precisa estar logado para salvar um webinar"}},Xy={share:{title:"Compartilhar Webinar",description:"Compartilhe este webinar com seu público"},delete:{title:"Excluir Webinar",description:"Tem certeza que deseja excluir este webinar? Esta ação não pode ser desfeita.",confirm:"Excluir",cancel:"Cancelar"}},Jy={title:"Conteúdo Fantasma",generateWithAI:"Gerar com IA",initialParticipants:"Contagem Inicial de Participantes",save:"Salvar",addComment:"Adicionar Comentário",comment:"Comentário",usernameOptional:"Nome de usuário (opcional)",delaySeconds:"Atraso (segundos)",updateParticipantCount:"Atualizar Contagem de Participantes",newParticipantCount:"Nova Contagem de Participantes",addParticipantEvent:"Adicionar Evento de Participante",timelinePreview:"Pré-visualização da Linha do Tempo",aiDialog:{title:"Gerar Conteúdo Fantasma com IA",description:"A IA gerará comentários realistas e eventos de participantes com base no conteúdo do seu webinar",webinarDuration:"Duração do Webinar (minutos)",numberOfComments:"Número de Comentários",peakParticipants:"Pico de Participantes",commentStyle:"Estilo dos Comentários",enthusiastic:"Entusiasmado 🔥",professional:"Profissional 💼",mixed:"Misto",webinarContext:"Contexto do webinar",initialViewers:"Inicial: {{count}} visualizadores",commentsCount:"{{selected}}/{{total}} comentários",eventsCount:"{{selected}}/{{total}} eventos",selectAll:"Selecionar Todos",deselectAll:"Desmarcar Todos",viewers:"Visualizadores",cancel:"Cancelar",generate:"Gerar Conteúdo",generating:"Gerando...",regenerate:"Regenerar",import:"Importar Selecionados ({{count}})",importing:"Importando...",generatedSuccess:"Conteúdo Gerado",generatedDescription:"Gerados {{comments}} comentários e {{events}} eventos de participantes",generationFailed:"Falha na Geração",importSuccess:"Importação Bem-sucedida",importDescription:"Importados {{comments}} comentários e {{events}} eventos de participantes",importFailed:"Falha na Importação"},toasts:{saveSuccess:"Contagem inicial de participantes salva",saveError:"Falha ao salvar contagem inicial de participantes",addCommentError:"Por favor, digite um comentário",addCommentFailed:"Falha ao adicionar comentário",addParticipantError:"Por favor, digite uma contagem de participantes",addParticipantFailed:"Falha ao adicionar evento de participante",deleteFailed:"Falha ao excluir comentário"}},Zy={title:jy,subtitle:_y,newWebinar:Wy,backToWebinars:zy,noWebinars:Vy,noWebinarsSubtext:By,status:Uy,stats:Gy,actions:Hy,toasts:qy,errors:Yy,editor:Ky,dialogs:Xy,ghost:Jy},Qy="Campanhas de Redirect",ew="Gerencie campanhas de grupos do WhatsApp",tw="Voltar para Campanhas",ow="Editar Campanha",aw="Criar Campanha",nw="Visão Geral da Campanha",sw="Configuração de Grupos",rw="Gerenciar Campanha",iw="Atividade de Grupos & Webhooks",cw={title:"Atividade dos Grupos",subtitle:"Eventos em tempo real dos grupos WhatsApp",noActivity:"Nenhuma atividade ainda",noActivityHint:"Conecte seu provedor e registre o webhook para começar a rastrear eventos dos grupos"},lw="Novo Grupo",dw="Atualizar Info do Grupo",uw="Nova Campanha",pw="Sincronizando...",mw="Selecionar período",gw={last30Days:"Últimos 30 dias",lastYear:"Último ano",wholePeriod:"Todo o período"},fw={totalRedirects:"Total de Redirecionamentos",totalGroups:"Total de Grupos",activeCampaigns:"Campanhas Ativas",full:"Cheio",available:"Disponível",participants:"Participantes",redirects:"Redirecionamentos"},hw={active:"Ativo",inactive:"Inativo",full:"Cheio",available:"Disponível",archived:"Arquivado"},vw={edit:"Editar",view:"Visualizar",delete:"Excluir",archive:"Arquivar",share:"Compartilhar"},bw={campaignCreated:"Campanha Criada",campaignCreatedDesc:"Sua campanha foi criada com sucesso. Agora você pode configurar definições adicionais.",campaignUpdated:"Campanha Atualizada",campaignRenamed:'Campanha renomeada para "{{name}}"',syncSuccess:"Atualizados {{count}} grupos com os dados mais recentes da Z-API",syncPartialSuccess:"Sincronização concluída com erros",syncError:"Falha ao sincronizar dados do grupo",synchronizing:"Sincronizando",syncDescription:"Realizando sincronização completa dos dados do grupo..."},yw={accountBlocked:"Conta Bloqueada",trialExpired:"Seu período de teste expirou. Por favor, faça upgrade para continuar.",leadLimitReached:"Você atingiu seu limite de leads. Por favor, faça upgrade para continuar.",limitReached:"Limite de Campanhas Atingido",limitDescription:"Você pode criar 1 Campanha de Grupos durante seu período de teste. Faça upgrade para PRO para campanhas ilimitadas.",trialExpiredTitle:"Período de Teste Expirado",trialExpiredDescription:"Seu período de teste expirou. Faça upgrade para PRO para criar campanhas.",readOnlyMode:"Modo Somente Leitura",readOnlyDescription:"Você pode visualizar suas campanhas mas não pode editá-las. Por favor, faça upgrade para continuar editando."},ww={title:"Campanhas de Redirect",subtitle:"Segmente leads em grupos do WhatsApp, automatize o onboarding e potencialize resultados—tudo com uma experiência de redirect premium.",noCampaigns:"Nenhuma campanha ainda",noCampaignsSubtext:"Crie sua primeira campanha para começar",errorLoading:"Erro ao carregar dados da campanha. Por favor, atualize a página.",acrossAllCampaigns:"Em todas as campanhas",totalGroups:"Total de grupos",currentlyRunning:"Em execução",monthlyOverview:"Visão Mensal",numberOfRedirectsPerMonth:"Número de redirecionamentos por mês",campaignPerformance:"Desempenho das Campanhas",yourCampaigns:"Suas Campanhas",monitorPerformance:"Monitore o desempenho e gerencie suas campanhas ativas",noCampaignsFound:"Nenhuma campanha encontrada. Crie sua primeira campanha para começar.",campaignName:"Nome da Campanha",groups:"grupos",redirects:"redirecionamentos",connected:"Conectado",notConnected:"Não conectado",provider:"Provedor",whatsapp:"WhatsApp",whatsappEnabled:"Ativo",whatsappDisabled:"Desativado",whatsappDisconnected:"Desconectado",whatsappNotSetup:"Não configurado",whatsappDisabledTooltip:"Ative o WhatsApp para esta campanha no editor",whatsappDisconnectedTooltip:"Reconecte em Configurações → Conexão WhatsApp",editCampaign:"Editar Campanha",manageCampaign:"Gerenciar Campanha",copyRedirectUrl:"Copiar URL de Redirect",openRedirectPage:"Abrir Página de Redirect",urlCopied:"URL Copiada",urlCopiedDesc:"URL de redirect da campanha copiada para a área de transferência",urlError:"Não foi possível gerar a URL de redirect. Código do usuário ou slug da campanha ausente.",openUrlError:"Não foi possível abrir a URL de redirect. Código do usuário ou slug da campanha ausente."},xw={title:"Dashboard da Campanha",performance:"Desempenho Diário",groups:"Grupos",redirectsTimeline:"Timeline de Redirecionamentos",campaignVisitors:"Visitantes da campanha",whatsappDistribution:"Distribuição WhatsApp",groupStatus:"Status do Grupo",campaignStatus:"Status da Campanha",currentState:"Estado atual",redirectsAndConversions:"Redirecionamentos e conversões ao longo do tempo",noRedirectData:"Sem dados de redirecionamento para o período selecionado",failedToLoadData:"Falha ao carregar dados do dashboard",refreshPage:"Por favor, tente atualizar a página"},Cw={title:"Editor de Campanha",basicInfo:"Informações Básicas",name:"Nome da Campanha",namePlaceholder:"Digite o nome da campanha",description:"Descrição",descriptionPlaceholder:"Digite a descrição da campanha",slug:"Slug da Campanha",slugPlaceholder:"Slug da Campanha",status:"Status da Campanha",statusDescription:"Defina se esta campanha está ativa ou inativa",save:"Salvar Campanha",cancel:"Cancelar",update:"Atualizar Campanha",create:"Criar Campanha",archive:"Arquivar Campanha",loadingCampaign:"Carregando campanha...",notFound:"Campanha Não Encontrada",notFoundDescription:"A campanha que você está procurando não existe ou você não tem permissão para visualizá-la.",backToCampaigns:"Voltar para Campanhas",manageCampaignSettings:"Gerencie as configurações da sua campanha aqui.",tabs:{basicInfo:"Info Básica",redirectSetup:"Configuração de Redirect",zapiMessages:"Configuração WhatsApp",messageHistory:"Histórico de Mensagens"},redirectSetup:{title:"Configuração da Página de Redirect",description:"Por favor, crie a campanha primeiro para configurar as opções de redirecionamento.",saveFirst:"Salve as informações básicas da campanha primeiro, depois você poderá personalizar a aparência e o comportamento da página de redirecionamento.",subtitle:"Personalize a aparência e o comportamento da página de redirecionamento quando os usuários visitam sua campanha.",save:"Salvar Configurações de Redirect",pageContent:"Conteúdo da Página",pageContentBadge:"O que os usuários veem",pageContentDesc:"Configure o conteúdo de texto principal que aparece na sua página de redirecionamento",mainTitle:"Título Principal",mainTitlePlaceholder:"Entre no nosso Grupo do WhatsApp",t
3itleSize:"Tamanho do Título",selectTitleSize:"Selecione o tamanho do título",titleColor:"Cor do Título",subtitleLabel:"Subtítulo",subtitlePlaceholder:"Clique no botão abaixo para entrar no grupo",subtitleSize:"Tamanho do Subtítulo",selectSubtitleSize:"Selecione o tamanho do subtítulo",subtitleColor:"Cor do Subtítulo",buttonConfig:"Configuração do Botão",buttonConfigBadge:"Chamada para ação",buttonConfigDesc:"Personalize o botão que os usuários clicam para entrar nos grupos do WhatsApp",buttonText:"Texto do Botão",buttonTextPlaceholder:"Entrar no Grupo",buttonColor:"Cor do Botão",pageStyling:"Estilo da Página",pageStylingBadge:"Aparência",pageStylingDesc:"Controle a aparência geral da sua página de redirecionamento",backgroundColor:"Cor de Fundo",textColor:"Cor do Texto",behaviorSettings:"Configurações de Comportamento",behaviorSettingsBadge:"Experiência do usuário",behaviorSettingsDesc:"Configure como a página de redirecionamento se comporta e lida com casos especiais",redirectDelay:"Atraso do Redirecionamento Automático (segundos)",redirectDelayHint:"Defina como 0 para desativar o redirecionamento automático. Os usuários precisarão clicar no botão.",fullGroupsMessage:"Mensagem de Grupos Lotados",fullGroupsMessagePlaceholder:"Todos os grupos estão lotados no momento. Tente novamente mais tarde.",fullGroupsMessageHint:"Esta mensagem aparece quando todos os grupos do WhatsApp atingiram o limite de participantes.",textSizes:{small:"Pequeno",medium:"Médio",large:"Grande",extraLarge:"Extra Grande"}},messagingSetup:{title:"Configuração do WhatsApp",description:"Crie a campanha primeiro para configurar o WhatsApp.",saveFirst:"Salve as informações básicas da campanha primeiro. Depois você pode habilitar a conexão gerenciada de WhatsApp e configurar as mensagens automáticas para esta campanha.",subtitle:"Conecte seu número de WhatsApp gerenciado, decida se esta campanha vai usá-lo e configure as mensagens automáticas para novos membros."},settingsSaved:"Configurações salvas",settingsSavedDescription:"As configurações da campanha foram atualizadas com sucesso",settingsSaveError:"Falha ao salvar configurações da campanha"},Sw={title:"Grupo",name:"Nome do Grupo",link:"Link do WhatsApp",maxParticipants:"Máx Participantes",currentParticipants:"Participantes Atuais",weight:"Peso",status:"Status",editGroup:"Editar Grupo",createNewGroup:"Criar Novo Grupo",groupName:"Nome do Grupo",inviteLink:"Link de Convite do WhatsApp",inviteLinkPlaceholder:"https://chat.whatsapp.com/...",enterGroupName:"Digite o nome do grupo",maximumParticipants:"Máximo de Participantes",selectStatus:"Selecionar status",cancel:"Cancelar",updateGroup:"Atualizar Grupo",createGroup:"Criar Grupo",updating:"Atualizando...",creating:"Criando...",distribution:"Distribuição de Grupos",distributionDesc:"Gerencie seus grupos do WhatsApp e seu desempenho",noGroups:"Nenhum grupo encontrado",noGroupsDesc:"Adicione seu primeiro grupo do WhatsApp para começar sua campanha",maxCapacity:"Capacidade Máx",zApiData:"Dados Z-API",provider:"Provedor",liveMembers:"Membros Ativos"},Pw={connectionSetup:"Configuração da Conexão Z-API",connectionDesc:"Configure suas credenciais Z-API para habilitar mensagens automáticas no WhatsApp",credentialsInfo:"Você precisa de uma conta Z-API ativa para enviar mensagens automáticas. Visite",credentialsInfoSuffix:"para obter suas credenciais.",instanceId:"ID da Instância",instanceIdPlaceholder:"Seu ID da instância Z-API",token:"Token",tokenPlaceholder:"Seu token Z-API",clientToken:"Token do Cliente",clientTokenPlaceholder:"Seu token de cliente Z-API",testConnection:"Testar Conexão",testingConnection:"Testando Conexão...",connectionSuccess:"Conexão bem-sucedida! Z-API está pronta para enviar mensagens.",connectionFailed:"Conexão falhou. Por favor, verifique suas credenciais.",connectionError:"Conexão falhou. Por favor, verifique suas credenciais e tente novamente.",missingCredentials:"Credenciais Ausentes",missingCredentialsDesc:"Por favor, preencha todas as credenciais Z-API antes de testar a conexão.",connectionSuccessTitle:"Conexão Bem-sucedida",connectionSuccessDesc:"Credenciais Z-API são válidas e funcionando.",connectionFailedTitle:"Conexão Falhou",connectionFailedDesc:"Não foi possível conectar à Z-API. Por favor, verifique suas credenciais.",connectionErrorTitle:"Erro de Conexão",connectionErrorDesc:"Erro de rede ao testar conexão Z-API.",welcomeMessageSetup:"Configuração da Mensagem de Boas-vindas",welcomeMessageDesc:"Configure a mensagem automática enviada para novos membros do grupo",redirectsBeforeMessage:"Redirecionamentos Antes da Mensagem",redirectsBeforeMessageDesc:"Número de redirecionamentos a esperar antes de enviar a mensagem de boas-vindas (0 = enviar imediatamente)",welcomeMessage:"Mensagem de Boas-vindas",welcomeMessagePlaceholder:"Bem-vindo ao nosso grupo! Estamos felizes em tê-lo aqui.",welcomeMessageHint:"Esta mensagem será enviada automaticamente para novos membros do grupo via WhatsApp",proTip:"Mantenha sua mensagem de boas-vindas amigável e informativa. Informe os novos membros sobre o que esperar do grupo e quaisquer regras importantes.",fullGroupNotification:"Notificação de Grupo Cheio",fullGroupNotificationDesc:"Mensagem enviada quando os grupos atingem seu limite de participantes",fullGroupMessage:"Mensagem de Grupo Cheio",fullGroupPlaceholder:"Este grupo está cheio! Obrigado pelo seu interesse.",fullGroupHint:"Esta mensagem é enviada quando um grupo do WhatsApp atinge sua capacidade máxima",fullGroupOptional:"Deixe em branco se não quiser enviar notificações quando os grupos ficarem cheios.",step1:"Etapa 1",step2:"Etapa 2",step3:"Etapa 3"}
3,Tw={title:"Histórico de Mensagens",description:"Acompanhe todas as mensagens automáticas enviadas pela sua campanha",descriptionFull:"Acompanhe e analise todas as mensagens automáticas enviadas pela sua campanha",noMessages:"Nenhuma mensagem ainda",noMessagesDesc:"As mensagens aparecerão aqui assim que os usuários começarem a entrar nos seus grupos do WhatsApp e as mensagens automáticas forem acionadas.",noMessagesTip1:"Configure as credenciais Z-API na aba anterior",noMessagesTip2:"Configure mensagens de boas-vindas para novos membros",noMessagesTip3:"Mensagens são enviadas automaticamente com base nas suas configurações",messages:"mensagens",filterByType:"Filtrar por tipo",allMessages:"Todas as Mensagens",welcome:"Boas-vindas",fullGroup:"Grupo Cheio",dateRange:"Período",last7Days:"Últimos 7 dias",last30Days:"Últimos 30 dias",last90Days:"Últimos 90 dias",allTime:"Todo o período",refresh:"Atualizar",exportCsv:"Exportar CSV",delivered:"Entregue",pending:"Pendente",failed:"Falhou",group:"Grupo",unknownGroup:"Grupo Desconhecido",redirectCount:"Contagem de Redirects",message:"Mensagem",error:"Erro"},Aw={delete:{title:"Excluir Grupo",description:"Tem certeza que deseja excluir este grupo? Esta ação não pode ser desfeita.",confirm:"Excluir",cancel:"Cancelar"},archive:{title:"Arquivar Campanha",description:"Tem certeza que deseja arquivar esta campanha?",confirm:"Arquivar",cancel:"Cancelar"}},Ew={connectionTitle:"Conexão de WhatsApp",connectionDescription:"Conecte seu WhatsApp uma única vez e utilize o mesmo número em todas as suas campanhas. O Leads Flow poderá acompanhar interações, calcular Lead Score e identificar oportunidades automaticamente.",newConnectionsDisabled:"Novas conexões de WhatsApp estão temporariamente desabilitadas. Conexões existentes permanecem ativas.",noInstance:"Conecte seu WhatsApp para transformar interações em oportunidades. Envie mensagens automáticas, acompanhe atividades e descubra quais leads estão prontos para comprar.",createInstance:"Conectar WhatsApp",creating:"Criando…",connectInstance:"Conectar WhatsApp",generateNewQr:"Gerar Novo QR",generating:"Gerando…",qrInstructions:"Abra o WhatsApp no celular → Configurações → Aparelhos conectados → Conectar aparelho e escaneie este código.",qrWaiting:"Aguardando leitura…",qrExpired:'Toque em "Gerar Novo QR" se expirar.',notConnectedYet:"WhatsApp não conectado. Escaneie o QR Code para ativar o rastreamento de interações, mensagens automáticas e identificação de leads quentes.",connected:"Conectado",connecting:"Conectando",disconnected:"Desconectado",instanceLabel:"Instância",refresh:"Atualizar conexão",checkStatus:"Verificar status",disconnect:"Desconectar",disconnectConfirmTitle:"Desconectar WhatsApp?",disconnectConfirmDescription:"Isso desvincula o WhatsApp da sua conta e pausa todas as Campanhas de Redirect que o usam. Você pode reconectar a qualquer momento.",disconnectConfirm:"Desconectar",disconnectCancel:"Cancelar",disconnected_toast:"WhatsApp desconectado",connectedToast:"WhatsApp conectado!",instanceCreated:"WhatsApp pronto para conexão",instanceCreatedDesc:"Agora escaneie o QR Code para vincular seu celular.",reregister:"Re-registrar webhook",reregistered:"Webhook re-registrado",webhookToken:"Token do webhook",webhookTokenHint:"Usado para autenticar a entrega de eventos uazapi → leadsflow. Mantenha em sigilo.",reveal:"Mostrar",hide:"Ocultar",copy:"Copiar",copied:"Copiado para a área de transferência",enableForCampaign:"Ativar WhatsApp para esta campanha",enableForCampaignDescription:"Quando ligado, esta campanha usa seu número de WhatsApp gerenciado para enviar boas-vindas e rastrear atividade. Desligado por padrão.",noInstanceWarning:"Conecte seu WhatsApp antes de ativar os recursos de mensagens automáticas e rastreamento de comportamento nesta campanha.",disabledHelper:"WhatsApp está desativado para esta campanha. Ative o botão para configurar mensagens e rastreamento de atividade.",activityTrackingTitle:"Rastreamento de Atividade",activityTrackingDescription:"Registre automaticamente entradas em grupos, mensagens, reações e outros comportamentos na timeline do Lead. Cada interação ajuda o Leads Flow a calcular o score, identificar Leads Quentes e criar oportunidades automaticamente.",activityTrackingEnabled:"Rastrear atividade nesta campanha"},Rw={connectedCampaigns:{empty:"Nenhuma campanha criada ainda.",groupCount_one:"{{count}} grupo",groupCount_other:"{{count}} grupos",updated:"Campanha atualizada"},activity:{loading:"Carregando timeline...",empty:"Sem atividade recente.",today:"Hoje",yesterday:"O
3ntem",inGroup:"no grupo {{group}}",unknownContact:"Contato desconhecido",vote:"Voto",actions:{joined_group:"Entrou no grupo",left_group:"Saiu do grupo",sent_message:"Enviou mensagem no grupo",message_received:"Mensagem recebida",message_sent:"Mensagem enviada",messageSent:"Mensagem enviada",welcomeSent:"Boas-vindas enviada",reacted:"Reagiu a uma mensagem",poll_answered:"Respondeu a uma enquete",promoted:"Promovido a admin"}}},kw={title:Qy,subtitle:ew,backToCampaigns:tw,editCampaign:ow,createCampaign:aw,campaignOverview:nw,groupsSetup:sw,manageCampaign:rw,activityAndWebhooks:iw,activity:cw,newGroup:lw,updateGroupInfo:dw,newCampaign:uw,syncing:pw,selectPeriod:mw,periods:gw,stats:fw,status:hw,actions:vw,toasts:bw,errors:yw,overview:ww,dashboard:xw,editor:Cw,group:Sw,zapi:Pw,messageHistory:Tw,dialogs:Aw,whatsapp:Ew,whatsappPage:Rw},Dw="Pular tutorial",Lw="Passo {{current}} de {{total}}",Ow="Bônus {{current}} de {{total}}",$w="Vamos começar",Iw="Próximo",Fw="Ver Webinars e Sales Pages",Mw="Finalizar",Nw="Clique em <strong>{{label}}</strong> no menu lateral para continuar.",jw='Abra o menu e toque em "{{label}}" para continuar.',_w={title:"Bem-vindo(a) ao Leads Flow 🚀",description:"Faça um tour rápido pelo Leads Flow: como fazer upgrade, conectando seu whatsApp, campanhas de redirect, formulários, leads e lead score e o CRM. Leva menos de um minuto."},Ww={title:"1. Upgrade para PRO",description:"Desbloqueie todas as funcionalidades do Leads Flow."},zw={title:"2. Conectar WhatsApp",description:"Conecte seu número para que a plataforma redirecione leads, envie mensagens automáticas e rastreie eventos em grupos das campanhas e no privado ."},Vw={title:"3. Campanhas de Redirect",description:"Distribui leads automaticamente entre grupos de WhatsApp e programa mensagens de boas-vindas e de grupo cheio, nos grupos das campanhas."},Bw={title:"4. Formulários, Páginas de Captura e Checkin",description:"Crie landing pages, capture leads, redirecione para páginas de cadastro conclúido, integre os leads com sistemas externos e controle o check-ins nos seus eventos."},Uw={title:"5. Configure o Lead Score",description:"Cada interação pontua seus leads automaticamente para você focar nos mais quentes."},Gw={title:"6. CRM & Vendas",description:"Leads quentes viram oportunidades. Acompanhe pipeline e receita real. Integração com Hotmart."},Hw={title:"Bônus: Webinars",description:"Rode webinars ao vivo ou evergreen com comentários ghost para fechar mais vendas."},qw={title:"Bônus: Sales Pages",description:"Crie páginas de vendas com copy por IA e formulários embutidos — tudo dentro da plataforma."},Yw={coreTitle:"Funil principal concluído 🎉",coreDescription:"Você viu as principais funcionalidades. Quer dar uma olhada rápida nos Webinars e Sales Pages também?",doneTitle:"Tudo pronto 🚀",doneDescription:"Agora é com você: conecte o WhatsApp, lance sua primeira campanha de redirect e veja os leads chegarem. Estaremos aqui sempre que precisar.",doneCta:"Começar a usar o Leads Flow"},Kw={noCampaigns:"Você ainda não tem campanhas ativas.",noLeads:"Você ainda não tem leads.",noForms:"Você ainda não tem formulários.",createCampaign:"Criar campanha de redirect",createForm:"Criar formulário",shareLink:"Compartilhar link"},Xw={skipTutorial:Dw,stepOf:Lw,optionalStepOf:Ow,start:$w,next:Iw,exploreExtras:Fw,finish:Mw,desktopHint:Nw,mobileHint:jw,welcome:_w,step1:Ww,step2:zw,step3:Vw,step4:Bw,step5:Uw,step6:Gw,step8:Hw,step9:qw,final:Yw,emptyState:Kw},Jw={en:{common:Ju,sidebar:pp,dashboard:xp,crm:_p,forms:vm,leads:_m,settings:Ym,auth:og,salesPages:Ag,webinars:zg,groups:yf,onboarding:Wf},"pt-BR":{common:cv,sidebar:Sv,dashboard:Ov,crm:Xv,forms:Rb,leads:Xb,settings:sy,auth:my,salesPages:Ny,webinars:Zy,groups:kw,onboarding:Xw}};te.use(Zn).use(gd).init({resources:Jw,fallbackLng:"en",defaultNS:"common",ns:["common","sidebar","dashboard","crm","forms","leads","settings","auth","salesPages","webinars","groups","onboarding"],interpolation:{escapeValue:!1},detection:{order:["localStorage","navigator"],caches:["localStorage"],lookupLocalStorage:"userLanguage"}});const gx=t=>{te.changeLanguage(t),localStorage.setItem("userLanguage",t)},yo="lf_attribution_v1",Zw=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","utm_id","gclid","fbclid","ttclid","msclkid"];function Qw(){if(!(typeof window>"u"))try{const t=new URLSearchParams(window.location.search),e={};for(const a of Zw){const n=t.get(a);n&&(e[a]=n)}if(Object.keys(e).length===0)return;const o=window.localStorage.getItem(yo);if(o)try{const a=JSON.parse(o);if(a&&Object.keys(a).length>0)return}catch{}e.landing_page=window.location.href,e.referrer=document.referrer||void 0,e.captured_at=new Date().toISOString(),window.localStorage.setItem(yo,JSON.stringify(e))}catch{}}function fx(){if(typeof window>"u")return{};try{const t=window.localStorage.getItem(yo);return t?JSON.parse(t)||{}:{}}catch{return{}}}Qw();Ea(document.getElementById("root")).render(f.jsx(Vl,{}));export{Fc as A,gx as B,Mc as C,wo as D,px as E,mx as F,nx as G,Ec as H,ka as I,ix as J,nl as P,Ic as R,St as S,dx as T,$t as V,ux as a,al as b,Me as c,ol as d,Da as e,oe as f,ge as g,rx as h,Re as i,Qw as j,fx as k,an as l,Ps as m,Ma as n,ce as o,Z as p,Ti as q,ir as r,Tn as s,hs as t,vs as u,xo as v,Nc as w,Ra as x,La as y,Fa as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.