import{bv as v,bw as h,j as t,a8 as E,_ as f}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{c as g}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-85abdad9c03e6.js";var x=o.lazy(function(){return f(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e109.js")),[])});function z(i){var a=i.id,n=v().getContainer,r=n(a)(),s=r.emojiArea,m=r.insertEmoji,u=h().open,l=g().theme,c="facebook",p=l?"dark":"light",j=function(e){u(t.jsx(o.Suspense,{fallback:t.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:t.jsx(x,{emojiStyle:c,theme:p,onEmojiClick:function(d){return m(d.emoji)},width:"auto",height:"60vh"})}),{placement:s.position},e.target,10,{mounted:function(){return e.target.setAttribute("style","color: green !important")},desmouted:function(){return 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:function(e){return j(e)},children:t.jsx(E,{className:"h-7 w-7"})})})}export{z as default};
