import{ah as p,_ as u}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a58.js";import{j as e}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a53.js";import{a as r}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a52.js";import{u as j,a as h}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a555.js";import{u as d}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a55.js";import{s as x}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5128.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a54.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a56.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a57.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5.js";const E=r.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5127.js")),[]));function M({id:o}){const s=j(t=>t.getContainer(o))(t=>t.emojiArea),i=h(t=>t.open),a=d(t=>t.theme),m="facebook",n=a?"dark":"light",c=t=>{i(e.jsx(r.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(E,{emojiStyle:m,theme:n,onEmojiClick:l=>x(o,l.emoji),width:"auto",height:"60vh"})}),{placement:s.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(p,{className:"h-7 w-7"})})})}export{M as default};
