const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/0316dccd-b1ad-48b5-a8b7-3b88d5185a89.Cv6WBMTb.js","assets/js/3be07107-f826-4553-a584-c09b1f768eb4.DiKAzxfG.js"])))=>i.map(i=>d[i]);
import{j as e,aL as j,_ as f}from"./86559299-b4db-4d4a-91d1-a5b16a832290.DNAe3rgy.js";import{a as o}from"./3be07107-f826-4553-a584-c09b1f768eb4.DiKAzxfG.js";import{e as d,f as v,g as h}from"../../index.js";import{f as g}from"./03bdaa01-c6d3-4805-9602-23eaef7ef89e.muuHxO4w.js";import"./cfa9b772-2d34-4d58-9a8e-135780f13e97.C1tr_lPN.js";import"./d803732d-59aa-40e7-911b-76c14d2f701c.Bo2UEwAP.js";import"./ba1b8ccf-a862-4f34-9556-ea5ecb69796a.BNN5RA9m.js";import"./f3ccf36e-59b2-42bf-ba52-32dd1beb180e.IKDEduMJ.js";import"./7dd95b95-3243-4c6a-9225-5da922c7ed9e.B9ygI19o.js";var x=o.lazy(function(){return f(()=>import("./0316dccd-b1ad-48b5-a8b7-3b88d5185a89.Cv6WBMTb.js"),__vite__mapDeps([0,1]))});function S(i){var r=i.id,n=d(function(t){return t.getContainer(r)}),a=n(function(t){return t.emojiArea}),s=v(function(t){return t.open}),m=g(function(t){return t.theme}),u="facebook",c=m?"dark":"light",l=function(t){s(e.jsx(o.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(x,{emojiStyle:u,theme:c,onEmojiClick:function(p){return h(r,p.emoji)},width:"auto",height:"60vh"})}),{placement:a.position},t.target,10,{mounted:function(){return t.target.setAttribute("style","color: green !important")},desmouted:function(){return 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:function(t){return l(t)},children:e.jsx(j,{className:"h-7 w-7"})})})}export{S as default};
