import{j as e,am as l,_ as u}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d610.js";import{a as s}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d64.js";import{u as j,a as d}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d645.js";import{b as h}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d619.js";import{s as x}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6109.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d618.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d66.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d68.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d65.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d67.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d69.js";const E=s.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6108.js")),[]));function M({id:o}){const i=j(t=>t.getContainer(o))(t=>t.emojiArea),r=d(t=>t.open),m=h(t=>t.theme),a="facebook",n=m?"dark":"light",c=t=>{r(e.jsx(s.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(E,{emojiStyle:a,theme:n,onEmojiClick:p=>x(o,p.emoji),width:"auto",height:"60vh"})}),{placement:i.position},t.target,10,{mounted:()=>t.target.setAttribute("style","color: green !important"),desmouted:()=>t.target.removeAttribute("style")})};return e.jsx("div",{className:"relative",style:{right:"32px",top:"3px"},children:e.jsx("span",{className:"cursor-pointer pulse absolute text-[var(--icon)]",onClick:t=>c(t),children:e.jsx(l,{className:"h-7 w-7"})})})}export{M as default};
