import{j as t,a8 as j,_ as d}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e10.js";import{a as o}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e4.js";import{u as h,a as x}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e46.js";import{c as E}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e19.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e18.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e8.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e5.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e7.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e9.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e6.js";const g=o.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e109.js")),[]));function L({id:s}){const{getContainer:i}=h(),{emojiArea:r,insertEmoji:m}=i(s)(),{open:a}=x(),{theme:n}=E(),c="facebook",l=n?"dark":"light",p=e=>{a(t.jsx(o.Suspense,{fallback:t.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:t.jsx(g,{emojiStyle:c,theme:l,onEmojiClick:u=>m(u.emoji),width:"auto",height:"60vh"})}),{placement:r.position},e.target,10,{mounted:()=>e.target.setAttribute("style","color: green !important"),desmouted:()=>e.target.removeAttribute("style")})};return t.jsx("div",{className:"relative",style:{right:"32px",top:"3px"},children:t.jsx("span",{className:"cursor-pointer pulse absolute text-[var(--icon)]",onClick:e=>p(e),children:t.jsx(j,{className:"h-7 w-7"})})})}export{L as default};
