import{j as t,_ as a}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f10.js";import{R as n}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f5.js";import{z as l,K as p,P as x,J as u,A as j}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f23.js";import{a as e}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f4.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_15_728248e3-b235-44ed-9cd5-d3199fba8c4f21.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f18.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f6.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f8.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f19.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f7.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f9.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f2.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f3.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f45.js";const P=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f75.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_15_728248e3-b235-44ed-9cd5-d3199fba8c4f76.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_15_728248e3-b235-44ed-9cd5-d3199fba8c4f77.js")),[])),F=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f78.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_15_728248e3-b235-44ed-9cd5-d3199fba8c4f79.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_15_728248e3-b235-44ed-9cd5-d3199fba8c4f80.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_15_728248e3-b235-44ed-9cd5-d3199fba8c4f81.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_15_728248e3-b235-44ed-9cd5-d3199fba8c4f82.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_15_728248e3-b235-44ed-9cd5-d3199fba8c4f83.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_15_728248e3-b235-44ed-9cd5-d3199fba8c4f84.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_15_728248e3-b235-44ed-9cd5-d3199fba8c4f85.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};
