import{j as t,_ as a}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b710.js";import{R as n}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b75.js";import{z as l,K as p,P as x,J as u,A as j}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b723.js";import{a as e}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b74.js";import{C as d,M as L,a as z,A as E,b as f,c as y,R as h,F as A,d as R}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b721.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b718.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b76.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b78.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b7.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b719.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b77.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b79.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b72.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b73.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b745.js";const P=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b775.js")),[]));function M(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(P,{})})}const v=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b776.js")).then(s=>s.i),[]));function D(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(v,{})})}const I=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b777.js")),[])),F=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b778.js")),[]));function C(){const{activeChat:s}=l.getState();return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:s.id.server==="@lid"&&!s.accountLid?t.jsx(F,{}):t.jsx(I,{})})}const O=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b779.js")),[]));function g(){var c;const s=l(o=>o.activeChat),r=p(o=>o.menuContent),i=(c=s==null?void 0:s.id)==null?void 0:c._serialized,m=x(o=>i?o.monitors.some(_=>_.userID===i):!1);return r.desactiveMonitorEnv||!i||!m?null:t.jsx(e.Suspense,{fallback:null,children:t.jsx(O,{})})}const V=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b780.js")),[]));function S(){const{assistente:s}=u();return s.active&&t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(V,{})})}const b=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b781.js")),[]));function T(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(b,{})})}const k=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b782.js")),[]));function N(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(k,{})})}const H=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b783.js")),[]));function w(){const{assistente:s}=u();return s.active&&t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(H,{})})}const J=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b784.js")),[]));function K(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(J,{})})}const U=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b785.js")),[]));function q(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(U,{})})}function it(){const s=j(r=>r.isNewModel);return t.jsxs(t.Fragment,{children:[n.createPortal(t.jsx(M,{}),d),n.createPortal(t.jsx(D,{}),L),n.createPortal(t.jsx(C,{}),z),n.createPortal(t.jsx(g,{}),E),n.createPortal(s?t.jsx(S,{}):t.jsx(w,{}),f),!s&&n.createPortal(t.jsx(K,{}),y),!s&&n.createPortal(t.jsx(q,{}),h),s&&n.createPortal(t.jsx(T,{}),A),s&&n.createPortal(t.jsx(N,{}),R)]})}export{it as default};
