local-operator-ui 0.48.5 → 0.48.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/renderer/assets/{agent-details-page-zCxYkFNQ.js → agent-details-page-GgPrfShb.js} +1 -1
- package/out/renderer/assets/{agent-hub-page-Cu0a6aRJ.js → agent-hub-page-I3usSiHV.js} +1 -1
- package/out/renderer/assets/{agents-page-Cdvz8Ecb.js → agents-page-CPmGITp-.js} +3 -3
- package/out/renderer/assets/{avatar-cropper-BV9pfbSJ.js → avatar-cropper-rj_RKIQ7.js} +1 -1
- package/out/renderer/assets/{browser-page-BXHeGHJF.js → browser-page-vBYBpre2.js} +1 -1
- package/out/renderer/assets/{browser-webauthn-prompt-hBFTXi1F.js → browser-webauthn-prompt-DoeLZVK4.js} +1 -1
- package/out/renderer/assets/{index-ClKLYxFA.js → index-g9YfuNnq.js} +2 -2
- package/out/renderer/assets/{legacy-agents-page-C3fCx_4w.js → legacy-agents-page-1XoFBEfI.js} +1 -1
- package/out/renderer/assets/{library-page-BWTRx0RD.js → library-page-DFppe9y9.js} +3 -3
- package/out/renderer/assets/{mesh-page-nF_pkDfu.js → mesh-page-DDeC6bgp.js} +1 -1
- package/out/renderer/assets/{notifications-page-BrfQXjv0.js → notifications-page-D8I_jYw4.js} +1 -1
- package/out/renderer/assets/{org-access-4sUREjsN.js → org-access-B6SvzUGe.js} +1 -1
- package/out/renderer/assets/{projects-page-Ce1Ncgqc.js → projects-page-DsCBgv8z.js} +1 -1
- package/out/renderer/assets/{publication-validation-BJvhF9QM.js → publication-validation-DKoWY6xP.js} +1 -1
- package/out/renderer/assets/{radient-auth-buttons-89F5YrRW.js → radient-auth-buttons-Czd77Wbr.js} +1 -1
- package/out/renderer/assets/{schedules-page-CxGBhfL5.js → schedules-page-C81U8QbW.js} +1 -1
- package/out/renderer/assets/{settings-page-DJ0aFYTv.js → settings-page-VMRgQhMG.js} +1 -1
- package/out/renderer/assets/{smartart-DWwS7qRw.js → smartart-D9TxE6Dt.js} +1 -1
- package/out/renderer/assets/{team-bridge-page-DD1d63nj.js → team-bridge-page-DwnuFW0r.js} +17 -17
- package/out/renderer/assets/{team-bridge-scope-preference-D3OA1yyw.js → team-bridge-scope-preference-BjBvsZwt.js} +1 -1
- package/out/renderer/assets/{use-download-agent-mutation-DmsgPFVR.js → use-download-agent-mutation-DqhxA2wI.js} +1 -1
- package/out/renderer/index.html +1 -1
- package/package.json +1 -1
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as m,j as n,c as Z}from"./index-CW7JpbBx.js";import{c1 as ul,bs as $s,c2 as hl,c3 as gl,v as Nt,c4 as pl,c5 as kl,c6 as za,c0 as Ks,c7 as Kt,c as fl,c8 as wl,c9 as bl,ca as Us,cb as yl,cc as xl,cd as vl,ce as jl,cf as en,cg as _l,ch as Nr,ci as Bl,a as Da,cj as Nl,ck as Sl,aY as Pi,cl as Cl,cm as Il,cn as Rl,co as El,cp as Hs,R as Ml,N as Tl,cq as Al,cr as Gs,cs as zl,ct as Dl,cu as Pl,cv as ql,cw as ya,cx as Sr,cy as Cr,cz as Ol,cA as Ll,cB as Fl,cC as sa,cD as $l,cE as Kl,cF as Ul,cG as Ir,cH as Hl,cI as Gl,cJ as Wl,t as Jl,cK as Vl,cL as Ql,cM as Yl,cN as Xl,cO as Zl,cP as ed,cQ as nd,cR as td,cS as id,cT as ad,cU as rd,cV as sd,cW as od,cX as ld,cY as dd,cZ as cd,c_ as md,c$ as ud,d0 as Rr,d1 as Er}from"./index-g9YfuNnq.js";import{dg as Ye,dh as Pa,di as xt,dj as qa,dk as Ws,a0 as Ni,dl as Ht,dm as Js,dn as Vs,dp as Oa,dq as Si,dr as Ve,a3 as wi,c2 as hd,ds as gd,dt as Gt,cp as pd,du as kd,dv as fd,dw as wd,dx as bd,b7 as yd,aB as xd,dy as vd,dz as jd,dA as _d,aH as bi,dB as Bd,dC as Nd,dD as Sd,dE as Mr,dF as Cd,dG as Id,dH as Rd,b3 as Ed,dI as Md,dJ as Td,dK as Ad,dL as zd,a2 as qi,dM as Dd,dN as Pd,dO as Tr,dP as qd,dQ as zn,ca as St,dR as Od,dS as Oi,dT as Ci,d6 as Qs,cO as Ys,cU as Ld,dU as Xs,dV as Fd,dW as Ar,dX as zr,dY as $d,c5 as La,dZ as Kd,d_ as Zs,d$ as Fa,e0 as eo,e1 as Ud,aT as Qe,e2 as Hd,e3 as Gd,cI as Li,e4 as Fi,e5 as $a,e6 as yi,e7 as Ka,e8 as _t,cE as Ua,e9 as Wd,d3 as Jd,ea as no,eb as to,bu as Vd,ec as Qd,ed as Yd,ee as io,ef as Xd,eg as ao,eh as Ii,ei as oa,ej as ro,ek as Zd,el as ec,em as Dr,en as la,eo as Pr,aU as Tn,ep as qr,eq as nc,er as tc,es as ic,et as Or,eu as ac,af as rc,bt as sc,cc as oc,ev as lc,ew as dc,ex as cc,ey as mc,ez as uc,eA as hc,eB as da,eC as gc}from"./conversation-input-sync-CA-NlH9A.js";import{u as rt,o as pc,a4 as Ha,a9 as so,ai as kc,C as on,aj as fc,ak as Lr,h as Ga,al as wc,am as q,d as ca,an as An,G as fn,ao as Fr,a as bc,q as hi}from"./path-utils-D8EGhun0.js";import{c as st,aj as oo,u as me,B as V,X as Ct,a7 as lo,ai as co,a8 as yc,a9 as mo,ak as xc,i as Wt,n as Vt,o as Qt,y as uo,p as Yt,z as Xt,S as Oe,K as Ri,w as $i,h as vc,F as ho,r as go,a as jc,D as Zt,b as ei,d as ni,e as et,I as Ft,H as vt,l as xa,m as Ei,al as _c,aa as Bc,am as Nc,an as Sc,a6 as Cc,ao as Ic,ap as Rc,k as Ec,aq as Mi,ar as Wa,A as xi,q as Mc,as as va}from"./error-boundary-OwA_uKkY.js";import{t as o}from"./messages-DjcNNMrL.js";import{r as Tc,u as Ac,a as zc,D as Dc,b as Pc,c as $r,s as qc,w as Oc}from"./team-bridge-scope-preference-BjBvsZwt.js";import{H as Ki}from"./hash-eKapyKur.js";import{I as po}from"./image-plus-C7bQcR76.js";import{B as Lc}from"./building-2-DGlgv_3I.js";import"./console-mirror-1z96hWwG.js";/**
|
|
2
2
|
* @license lucide-react v0.507.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const
|
|
6
|
+
*/const Fc=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742",key:"178tsu"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05",key:"1hqiys"}]],ko=st("bell-off",Fc);/**
|
|
7
7
|
* @license lucide-react v0.507.0 - ISC
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const
|
|
11
|
+
*/const $c=[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]],Kc=st("grid-2x2",$c);/**
|
|
12
12
|
* @license lucide-react v0.507.0 - ISC
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the ISC license.
|
|
15
15
|
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const
|
|
16
|
+
*/const Uc=[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M16 19h6",key:"xwg31i"}]],Hc=st("mail-plus",Uc);/**
|
|
17
17
|
* @license lucide-react v0.507.0 - ISC
|
|
18
18
|
*
|
|
19
19
|
* This source code is licensed under the ISC license.
|
|
20
20
|
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const
|
|
21
|
+
*/const Gc=[["path",{d:"M22 11v1a10 10 0 1 1-9-10",key:"ew0xw9"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}],["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}]],Wc=st("smile-plus",Gc);/**
|
|
22
22
|
* @license lucide-react v0.507.0 - ISC
|
|
23
23
|
*
|
|
24
24
|
* This source code is licensed under the ISC license.
|
|
25
25
|
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/const
|
|
26
|
+
*/const Jc=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],gi=st("user-minus",Jc);/**
|
|
27
27
|
* @license lucide-react v0.507.0 - ISC
|
|
28
28
|
*
|
|
29
29
|
* This source code is licensed under the ISC license.
|
|
30
30
|
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/const
|
|
31
|
+
*/const Vc=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Kr=st("user-round",Vc);/**
|
|
32
32
|
* @license lucide-react v0.507.0 - ISC
|
|
33
33
|
*
|
|
34
34
|
* This source code is licensed under the ISC license.
|
|
35
35
|
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/const Gc=[["path",{d:"M2 21a8 8 0 0 1 11.873-7",key:"74fkxq"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m17 17 5 5",key:"p7ous7"}],["path",{d:"m22 17-5 5",key:"gqnmv0"}]],Wc=rt("user-round-x",Gc);function Jc(e,t=ll){return t?e==="enabled":!1}function Kr(e,t){return new Set((e?.members??[]).filter(i=>i.state===t).map(i=>`${i.kind}:${i.account_id}`))}function Vc(e){const{conversation:t,people:i,selfAccountId:a,chiefLabels:r}=e,o=Kr(t,"active"),d=Kr(t,"invited"),l=[],m=new Set;for(const h of i){const u=Ye(h),k=Da(h,a),w=k==="unavailable";if(k!=="self"){const p=`human:${h.account_id}`;m.add(p),l.push({kind:"human",accountId:h.account_id,label:u,secondary:h.profile?.title||void 0,member:o.has(p),invited:d.has(p),bridgeOff:w,profile:h})}const y=h.agent;if(!y)continue;const f=`agent:${h.account_id}`;m.add(f);const x=y.name.trim();l.push({kind:"agent",accountId:h.account_id,endpointId:y.endpoint_id,label:yt(x,u,r),aliases:[x,u].filter(p=>p!==""),secondary:x!==""&&x!==u?e.agentRole:void 0,member:o.has(f),invited:d.has(f),bridgeOff:w||!(y.state==="active"||y.state==="paused"),profile:h})}for(const h of t?.members??[]){const u=`${h.kind}:${h.account_id}`;if(m.has(u)||!(o.has(u)||d.has(u))||h.kind==="human"&&h.account_id===a)continue;m.add(u);const k=h.endpoint_id;l.push({kind:h.kind,accountId:h.account_id,...h.kind==="agent"&&typeof k=="string"?{endpointId:k}:{},label:h.display_label,member:o.has(u),invited:d.has(u),bridgeOff:!1})}return l}const ho=c.createContext(null);function Wa(){return c.useContext(ho)}const Qc=()=>({named:(e,t)=>s("ui.teamBridge.chief.label",{agent:e,person:t}),unnamed:e=>s("ui.teamBridge.chief.unnamed",{person:e})});function Yc({conversation:e,people:t,selfAccountId:i,sendMentions:a,onAddMembers:r,children:o}){const d=c.useMemo(()=>{if(!e)return null;const l=Vc({conversation:e,people:t,selfAccountId:i,chiefLabels:Qc(),agentRole:s("ui.teamBridge.chief.fallback")}),m=r&&e.kind!=="dm"?u=>r(e,[Pa(u.kind==="agent"?{kind:"agent",accountId:u.accountId,endpointId:u.endpointId,label:u.label}:{kind:"human",accountId:u.accountId,label:u.label})]):void 0,h=i?t.find(u=>u.account_id===i):void 0;return{conversationId:e.id,draftOwner:i?{accountId:i,tenantId:e.tenant_id}:null,self:i&&h?{accountId:i,label:Ye(h)}:null,candidates:l,conversationKind:e.kind,sendMentions:a,onInvite:m,canInvite:u=>m!==void 0&&!u.invited&&(u.kind==="human"||!!u.endpointId)}},[e,t,i,a,r]);return n.jsx(ho.Provider,{value:d,children:o})}function Xc(e,t){return e===null?t===null?"none":"emoji":t===null?"mention":t>e?"emoji":"mention"}function Zc(e,t,i){return e!=="none"&&i[e](t)?!0:(i.composer(t),!1)}function em(e,t){return!t&&["insertText","deleteContentBackward","deleteContentForward"].includes(e)}function go(e,t){return`${e}-emoji-option-${t}`}const nm=36,tm=8;function im(e){const t=Math.max(0,e.viewportWidth),i=Math.max(0,e.viewportHeight),a=Math.min(8,t/2,i/2),r=6,o=e.paneWidth!==void 0&&Number.isFinite(e.paneWidth)?Math.max(0,e.paneWidth):Number.POSITIVE_INFINITY,d=Math.min(320,o,Math.max(0,t-a*2)),l=Math.max(1,Math.min(tm,e.rows))*nm+8,m=Math.max(0,e.caret.top-r-a),h=Math.max(0,i-e.caret.top-e.caret.height-r-a),u=m<l&&h>m,k=Math.min(l,u?h:m,Math.max(0,i-a*2)),w=e.rtl?e.caret.right-d:e.caret.left;return{left:Math.max(a,Math.min(w,t-a-d)),top:Math.max(a,Math.min(u?e.caret.top+e.caret.height+r:e.caret.top-r-k,i-a-k)),width:d,maxHeight:k}}const am=["boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","fontFeatureSettings","textAlign","textTransform","textIndent","letterSpacing","wordSpacing","tabSize","direction"];function po(e,t){const i=e.ownerDocument.defaultView?.getComputedStyle(e);if(i){for(const a of am)t.style[a]=i[a];t.style.whiteSpace="pre-wrap",t.style.overflowWrap="break-word"}}function ko(e,t){const i=e.ownerDocument,a=i.createElement("div");po(e,a),a.style.position="absolute",a.style.visibility="hidden",a.style.top="0",a.style.left="-9999px",a.textContent=e.value.slice(0,t);const r=i.createElement("span");r.textContent=e.value.charAt(t)||".",a.appendChild(r),i.body.appendChild(a);const o=e.getBoundingClientRect(),d=Number.parseFloat(i.defaultView?.getComputedStyle(e).lineHeight??"")||20,l={left:o.left+r.offsetLeft-e.scrollLeft,right:o.left+r.offsetLeft+r.offsetWidth-e.scrollLeft,top:o.top+r.offsetTop-e.scrollTop,height:d};return a.remove(),l}function rm({fieldRef:e,anchorIndex:t,listboxId:i,rows:a,active:r,label:o,emptyLabel:d,onActive:l,onPick:m,labelFor:h=u=>u.name}){const[u,k]=c.useState(null),w=c.useRef(null);c.useLayoutEffect(()=>{const f=e.current,x=f?.ownerDocument.defaultView;if(!f||!x)return;const p=()=>{k(im({caret:ko(f,t),viewportWidth:x.innerWidth,viewportHeight:x.innerHeight,paneWidth:f.getBoundingClientRect().width,rows:a.length,rtl:x.getComputedStyle(f).direction==="rtl"}))};p(),x.addEventListener("scroll",p,!0),x.addEventListener("resize",p);const g=typeof ResizeObserver>"u"?null:new ResizeObserver(p);return g?.observe(f),()=>{x.removeEventListener("scroll",p,!0),x.removeEventListener("resize",p),g?.disconnect()}},[e,t,a.length]),c.useLayoutEffect(()=>{w.current?.querySelector(`[data-emoji-index="${r}"]`)?.scrollIntoView?.({block:"nearest"})},[r,a,u?.maxHeight]);const y=e.current?.ownerDocument;return!y||!u||u.maxHeight<=0?null:io.createPortal(n.jsx("div",{"data-emoji-popover":"",className:Z("fixed z-50 overflow-hidden rounded-md bg-elevated shadow-lg"),style:{left:u.left,top:u.top,width:u.width},children:n.jsx("div",{ref:w,id:i,role:"listbox",tabIndex:-1,"aria-label":o,className:"overflow-y-auto py-1",style:{maxHeight:u.maxHeight},children:a.length===0?n.jsx("output",{className:"block min-h-9 px-3 py-2 text-body-sm text-ink-muted",children:d}):a.map((f,x)=>n.jsxs("div",{id:go(i,x),role:"option","aria-selected":x===r,"aria-setsize":a.length,"aria-posinset":x+1,"data-emoji-index":x,className:Z("relative flex h-9 min-h-9 cursor-pointer items-center gap-2 px-3 text-body-sm text-ink",x===r&&"bg-accent-wash before:absolute before:inset-y-0 before:start-0 before:w-0.5 before:bg-accent"),onMouseMove:()=>l(x),onMouseDown:p=>{p.preventDefault()},onClick:()=>m(f),children:[n.jsx("span",{"aria-hidden":"true",className:"shrink-0 text-lg",children:f.emoji}),n.jsx("span",{className:"truncate",children:h(f)})]},f.emoji))})}),y.body)}const sm=["Smileys & Emotion","People & Body","Animals & Nature","Food & Drink","Travel & Places","Activities","Objects","Symbols","Flags"],om=JSON.parse('[["😀","grinning face",0,["cheerful","cheery","face","grin","grinning","happy","laugh","nice","smile","smiling","teeth"]],["😃","grinning face with big eyes",0,["awesome","big","eyes","face","grin","grinning","happy","mouth","open","smile","smiling","teeth","yay"]],["😄","grinning face with smiling eyes",0,["eye","eyes","face","grin","grinning","happy","laugh","lol","mouth","open","smile","smiling"]],["😁","beaming face with smiling eyes",0,["beaming","eye","eyes","face","grin","grinning","happy","nice","smile","smiling","teeth"]],["😆","grinning squinting face",0,["closed","eyes","face","grinning","haha","hahaha","happy","laugh","lol","mouth","open","rofl","smile","smiling","squinting"]],["😅","grinning face with sweat",0,["cold","dejected","excited","face","grinning","mouth","nervous","open","smile","smiling","stress","stressed","sweat"]],["🤣","rolling on the floor laughing",0,["crying","face","floor","funny","haha","happy","hehe","hilarious","joy","laugh","lmao","lol","rofl","roflmao","rolling","tear"]],["😂","face with tears of joy",0,["crying","face","feels","funny","haha","happy","hehe","hilarious","joy","laugh","lmao","lol","rofl","roflmao","tear"]],["🙂","slightly smiling face",0,["face","happy","slightly","smile","smiling"]],["🙃","upside-down face",0,["face","hehe","smile","upside-down"]],["🫠","melting face",0,["disappear","dissolve","embarrassed","face","haha","heat","hot","liquid","lol","melt","melting","sarcasm","sarcastic"]],["","cracking face",0,[]],["😉","winking face",0,["face","flirt","heartbreaker","sexy","slide","tease","wink","winking","winks"]],["😊","smiling face with smiling eyes",0,["blush","eye","eyes","face","glad","satisfied","smile","smiling"]],["😇","smiling face with halo",0,["angel","angelic","angels","blessed","face","fairy","fairytale","fantasy","halo","happy","innocent","peaceful","smile","smiling","spirit","tale"]],["🥰","smiling face with hearts",0,["3","adore","crush","face","heart","hearts","ily","love","romance","smile","smiling","you"]],["😍","smiling face with heart-eyes",0,["143","bae","eye","face","feels","heart-eyes","hearts","ily","kisses","love","romance","romantic","smile","xoxo"]],["🤩","star-struck",0,["excited","eyes","face","grinning","smile","star","star-struck","starry-eyed","wow"]],["😘","face blowing a kiss",0,["adorbs","bae","blowing","face","flirt","heart","ily","kiss","love","lover","miss","muah","romantic","smooch","xoxo","you"]],["😗","kissing face",0,["143","date","dating","face","flirt","ily","kiss","love","smooch","smooches","xoxo","you"]],["☺️","smiling face",0,["face","happy","outlined","relaxed","smile","smiling"]],["😚","kissing face with closed eyes",0,["143","bae","blush","closed","date","dating","eye","eyes","face","flirt","ily","kisses","kissing","smooches","xoxo"]],["😙","kissing face with smiling eyes",0,["143","closed","date","dating","eye","eyes","face","flirt","ily","kiss","kisses","kissing","love","night","smile","smiling"]],["🥲","smiling face with tear",0,["face","glad","grateful","happy","joy","pain","proud","relieved","smile","smiley","smiling","tear","touched"]],["😋","face savoring food",0,["delicious","eat","face","food","full","hungry","savor","smile","smiling","tasty","um","yum","yummy"]],["😛","face with tongue",0,["awesome","cool","face","nice","party","stuck-out","sweet","tongue"]],["😜","winking face with tongue",0,["crazy","epic","eye","face","funny","joke","loopy","nutty","party","stuck-out","tongue","wacky","weirdo","wink","winking","yolo"]],["🤪","zany face",0,["crazy","eye","eyes","face","goofy","large","small","zany"]],["😝","squinting face with tongue",0,["closed","eye","eyes","face","gross","horrible","omg","squinting","stuck-out","taste","tongue","whatever","yolo"]],["🤑","money-mouth face",0,["face","money","money-mouth","mouth","paid"]],["🤗","smiling face with open hands",0,["face","hands","hug","hugging","open","smiling"]],["🤭","face with hand over mouth",0,["face","giggle","giggling","hand","mouth","oops","realization","secret","shock","sudden","surprise","whoops"]],["🫢","face with open eyes and hand over mouth",0,["amazement","awe","disbelief","embarrass","eyes","face","gasp","hand","mouth","omg","open","over","quiet","scared","shock","surprise"]],["🫣","face with peeking eye",0,["captivated","embarrass","eye","face","hide","hiding","peek","peeking","peep","scared","shy","stare"]],["🤫","shushing face",0,["face","quiet","shh","shush","shushing"]],["🤔","thinking face",0,["chin","consider","face","hmm","ponder","pondering","thinking","wondering"]],["🫡","saluting face",0,["face","good","luck","ma’am","OK","respect","salute","saluting","sir","troops","yes"]],["🤐","zipper-mouth face",0,["face","keep","mouth","quiet","secret","shut","zip","zipper","zipper-mouth"]],["🤨","face with raised eyebrow",0,["disapproval","disbelief","distrust","emoji","eyebrow","face","hmm","mild","raised","skeptic","skeptical","skepticism","surprise","what"]],["😐","neutral face",0,["awkward","blank","deadpan","expressionless","face","fine","jealous","meh","neutral","oh","shade","straight","unamused","unhappy","unimpressed","whatever"]],["😑","expressionless face",0,["awkward","dead","expressionless","face","fine","inexpressive","jealous","meh","not","oh","omg","straight","uh","unhappy","unimpressed","whatever"]],["😶","face without mouth",0,["awkward","blank","expressionless","face","mouth","mouthless","mute","quiet","secret","silence","silent","speechless"]],["🫥","dotted line face",0,["depressed","disappear","dotted","face","hidden","hide","introvert","invisible","line","meh","whatever","wtv"]],["😶🌫️","face in clouds",0,["absentminded","clouds","face","fog","head"]],["😏","smirking face",0,["boss","dapper","face","flirt","homie","kidding","leer","shade","slick","sly","smirk","smug","snicker","suave","suspicious","swag"]],["😒","unamused face",0,["...","bored","face","fine","jealous","jel","jelly","pissed","smh","ugh","uhh","unamused","unhappy","weird","whatever"]],["🙄","face with rolling eyes",0,["eyeroll","eyes","face","rolling","shade","ugh","whatever"]],["😬","grimacing face",0,["awk","awkward","dentist","face","grimace","grimacing","grinning","smile","smiling"]],["😮💨","face exhaling",0,["blow","blowing","exhale","exhaling","exhausted","face","gasp","groan","relief","sigh","smiley","smoke","whisper","whistle"]],["🤥","lying face",0,["face","liar","lie","lying","pinocchio"]],["🫨","shaking face",0,["crazy","daze","earthquake","face","omg","panic","shaking","shock","surprise","vibrate","whoa","wow"]],["🙂↔️","head shaking horizontally",0,["head","horizontally","no","shake","shaking"]],["🙂↕️","head shaking vertically",0,["head","nod","shaking","vertically","yes"]],["😌","relieved face",0,["calm","face","peace","relief","relieved","zen"]],["😔","pensive face",0,["awful","bored","dejected","died","disappointed","face","losing","lost","pensive","sad","sucks"]],["😪","sleepy face",0,["crying","face","good","night","sad","sleep","sleeping","sleepy","tired"]],["🤤","drooling face",0,["drooling","face"]],["😴","sleeping face",0,["bed","bedtime","face","good","goodnight","nap","night","sleep","sleeping","tired","whatever","yawn","zzz"]],["","face with bags under eyes",0,["bags","bored","exhausted","eyes","face","fatigued","late","sleepy","tired","weary"]],["😷","face with medical mask",0,["cold","dentist","dermatologist","doctor","dr","face","germs","mask","medical","medicine","sick"]],["🤒","face with thermometer",0,["face","ill","sick","thermometer"]],["🤕","face with head-bandage",0,["bandage","face","head-bandage","hurt","injury","ouch"]],["🤢","nauseated face",0,["face","gross","nasty","nauseated","sick","vomit"]],["🤮","face vomiting",0,["barf","ew","face","gross","puke","sick","spew","throw","up","vomit","vomiting"]],["🤧","sneezing face",0,["face","fever","flu","gesundheit","sick","sneeze","sneezing"]],["🥵","hot face",0,["dying","face","feverish","heat","hot","panting","red-faced","stroke","sweating","tongue"]],["🥶","cold face",0,["blue","blue-faced","cold","face","freezing","frostbite","icicles","subzero","teeth"]],["🥴","woozy face",0,["dizzy","drunk","eyes","face","intoxicated","mouth","tipsy","uneven","wavy","woozy"]],["😵","face with crossed-out eyes",0,["crossed-out","dead","dizzy","eyes","face","feels","knocked","out","sick","tired"]],["😵💫","face with spiral eyes",0,["confused","dizzy","eyes","face","hypnotized","omg","smiley","spiral","trouble","whoa","woah","woozy"]],["🤯","exploding head",0,["blown","explode","exploding","head","mind","mindblown","no","shocked","way"]],["🤠","cowboy hat face",0,["cowboy","cowgirl","face","hat"]],["🥳","partying face",0,["bday","birthday","celebrate","celebration","excited","face","happy","hat","hooray","horn","party","partying"]],["🥸","disguised face",0,["disguise","eyebrow","face","glasses","incognito","moustache","mustache","nose","person","spy","tache","tash"]],["😎","smiling face with sunglasses",0,["awesome","beach","bright","bro","chilling","cool","face","rad","relaxed","shades","slay","smile","style","sunglasses","swag","win"]],["🤓","nerd face",0,["brainy","clever","expert","face","geek","gifted","glasses","intelligent","nerd","smart"]],["🧐","face with monocle",0,["classy","face","fancy","monocle","rich","stuffy","wealthy"]],["😕","confused face",0,["befuddled","confused","confusing","dunno","face","frown","hm","meh","not","sad","sorry","sure"]],["🫤","face with diagonal mouth",0,["confused","confusion","diagonal","disappointed","doubt","doubtful","face","frustrated","frustration","meh","mouth","skeptical","unsure","whatever","wtv"]],["😟","worried face",0,["anxious","butterflies","face","nerves","nervous","sad","stress","stressed","surprised","worried","worry"]],["🙁","slightly frowning face",0,["face","frown","frowning","sad","slightly"]],["☹️","frowning face",0,["face","frown","frowning","sad"]],["😮","face with open mouth",0,["believe","face","forgot","mouth","omg","open","shocked","surprised","sympathy","unbelievable","unreal","whoa","wow","you"]],["😯","hushed face",0,["epic","face","hushed","omg","stunned","surprised","whoa","woah"]],["😲","astonished face",0,["astonished","cost","face","no","omg","shocked","totally","way"]],["😳","flushed face",0,["amazed","awkward","crazy","dazed","dead","disbelief","embarrassed","face","flushed","geez","heat","hot","impressed","jeez","what","wow"]],["","distorted face",0,["anxiety","bloated","panic","shocked","surprised","vulnerable"]],["🥺","pleading face",0,["begging","big","eyes","face","mercy","not","pleading","please","pretty","puppy","sad","why"]],["🥹","face holding back tears",0,["admiration","aww","back","cry","embarrassed","face","feelings","grateful","gratitude","holding","joy","please","proud","resist","sad","tears"]],["😦","frowning face with open mouth",0,["caught","face","frown","frowning","guard","mouth","open","scared","scary","surprise","what","wow"]],["😧","anguished face",0,["anguished","face","forgot","scared","scary","stressed","surprise","unhappy","what","wow"]],["😨","fearful face",0,["afraid","anxious","blame","face","fear","fearful","scared","worried"]],["😰","anxious face with sweat",0,["anxious","blue","cold","eek","face","mouth","nervous","open","rushed","scared","sweat","yikes"]],["😥","sad but relieved face",0,["anxious","call","close","complicated","disappointed","face","not","relieved","sad","sweat","time","whew"]],["😢","crying face",0,["awful","cry","crying","face","feels","miss","sad","tear","triste","unhappy"]],["😭","loudly crying face",0,["bawling","cry","crying","face","loudly","sad","sob","tear","tears","unhappy"]],["😱","face screaming in fear",0,["epic","face","fear","fearful","munch","scared","scream","screamer","screaming","shocked","surprised","woah"]],["😖","confounded face",0,["annoyed","confounded","confused","cringe","distraught","face","feels","frustrated","mad","sad"]],["😣","persevering face",0,["concentrate","concentration","face","focus","headache","persevere","persevering"]],["😞","disappointed face",0,["awful","blame","dejected","disappointed","face","fail","losing","sad","unhappy"]],["😓","downcast face with sweat",0,["close","cold","downcast","face","feels","headache","nervous","sad","scared","sweat","yikes"]],["😩","weary face",0,["crying","face","fail","feels","hungry","mad","nooo","sad","sleepy","tired","unhappy","weary"]],["😫","tired face",0,["cost","face","feels","nap","sad","sneeze","tired"]],["🥱","yawning face",0,["bedtime","bored","face","goodnight","nap","night","sleep","sleepy","tired","whatever","yawn","yawning","zzz"]],["😤","face with steam from nose",0,["anger","angry","face","feels","fume","fuming","furious","fury","mad","nose","steam","triumph","unhappy","won"]],["😡","enraged face",0,["anger","angry","enraged","face","feels","mad","maddening","pouting","rage","red","shade","unhappy","upset"]],["😠","angry face",0,["anger","angry","blame","face","feels","frustrated","mad","maddening","rage","shade","unhappy","upset"]],["🤬","face with symbols on mouth",0,["censor","cursing","cussing","face","mad","mouth","pissed","swearing","symbols"]],["😈","smiling face with horns",0,["demon","devil","evil","face","fairy","fairytale","fantasy","horns","purple","shade","smile","smiling","tale"]],["👿","angry face with horns",0,["angry","demon","devil","evil","face","fairy","fairytale","fantasy","horns","imp","mischievous","purple","shade","tale"]],["💀","skull",0,["body","dead","death","face","fairy","fairytale","i’m","lmao","monster","skull","tale","yolo"]],["☠️","skull and crossbones",0,["bone","crossbones","dead","death","face","monster","skull"]],["💩","pile of poo",0,["bs","comic","doo","dung","face","fml","monster","pile","poo","poop","smelly","smh","stink","stinks","stinky","turd"]],["🤡","clown face",0,["clown","face"]],["👹","ogre",0,["creature","devil","face","fairy","fairytale","fantasy","mask","monster","ogre","scary","tale"]],["👺","goblin",0,["angry","creature","face","fairy","fairytale","fantasy","goblin","mask","mean","monster","tale"]],["👻","ghost",0,["boo","creature","excited","face","fairy","fairytale","fantasy","ghost","halloween","haunting","monster","scary","silly","tale"]],["👽","alien",0,["alien","creature","extraterrestrial","face","fairy","fairytale","fantasy","monster","space","tale","ufo"]],["👾","alien monster",0,["alien","creature","extraterrestrial","face","fairy","fairytale","fantasy","game","gamer","games","monster","pixelated","space","tale","ufo"]],["🤖","robot",0,["face","monster","robot"]],["😺","grinning cat",0,["animal","cat","face","grinning","mouth","open","smile","smiling"]],["😸","grinning cat with smiling eyes",0,["animal","cat","eye","eyes","face","grin","grinning","smile","smiling"]],["😹","cat with tears of joy",0,["animal","cat","face","joy","laugh","laughing","lol","tear","tears"]],["😻","smiling cat with heart-eyes",0,["animal","cat","eye","face","heart","heart-eyes","love","smile","smiling"]],["😼","cat with wry smile",0,["animal","cat","face","ironic","smile","wry"]],["😽","kissing cat",0,["animal","cat","closed","eye","eyes","face","kiss","kissing"]],["🙀","weary cat",0,["animal","cat","face","oh","surprised","weary"]],["😿","crying cat",0,["animal","cat","cry","crying","face","sad","tear"]],["😾","pouting cat",0,["animal","cat","face","pouting"]],["🙈","see-no-evil monkey",0,["embarrassed","evil","face","forbidden","forgot","gesture","hide","monkey","no","omg","prohibited","scared","secret","smh","watch"]],["🙉","hear-no-evil monkey",0,["animal","ears","evil","face","forbidden","gesture","hear","listen","monkey","no","not","prohibited","secret","shh","tmi"]],["🙊","speak-no-evil monkey",0,["animal","evil","face","forbidden","gesture","monkey","no","not","oops","prohibited","quiet","secret","speak","stealth"]],["💌","love letter",0,["heart","letter","love","mail","romance","valentine"]],["💘","heart with arrow",0,["143","adorbs","arrow","cupid","date","emotion","heart","ily","love","romance","valentine"]],["💝","heart with ribbon",0,["143","anniversary","emotion","heart","ily","kisses","ribbon","valentine","xoxo"]],["💖","sparkling heart",0,["143","emotion","excited","good","heart","ily","kisses","morning","night","sparkle","sparkling","xoxo"]],["💗","growing heart",0,["143","emotion","excited","growing","heart","heartpulse","ily","kisses","muah","nervous","pulse","xoxo"]],["💓","beating heart",0,["143","beating","cardio","emotion","heart","heartbeat","ily","love","pulsating","pulse"]],["💞","revolving hearts",0,["143","adorbs","anniversary","emotion","heart","hearts","revolving"]],["💕","two hearts",0,["143","anniversary","date","dating","emotion","heart","hearts","ily","kisses","love","loving","two","xoxo"]],["💟","heart decoration",0,["143","decoration","emotion","heart","hearth","purple","white"]],["❣️","heart exclamation",0,["exclamation","heart","heavy","mark","punctuation"]],["💔","broken heart",0,["break","broken","crushed","emotion","heart","heartbroken","lonely","sad"]],["❤️🔥","heart on fire",0,["burn","fire","heart","love","lust","sacred"]],["❤️🩹","mending heart",0,["healthier","heart","improving","mending","recovering","recuperating","well"]],["❤️","red heart",0,["emotion","heart","love","red"]],["🩷","pink heart",0,["143","adorable","cute","emotion","heart","ily","like","love","pink","special","sweet"]],["🧡","orange heart",0,["143","heart","orange"]],["💛","yellow heart",0,["143","cardiac","emotion","heart","ily","love","yellow"]],["💚","green heart",0,["143","emotion","green","heart","ily","love","romantic"]],["💙","blue heart",0,["143","blue","emotion","heart","ily","love","romance"]],["🩵","light blue heart",0,["143","blue","cute","cyan","emotion","heart","ily","light","like","love","sky","special","teal"]],["💜","purple heart",0,["143","bestest","emotion","heart","ily","love","purple"]],["🤎","brown heart",0,["143","brown","heart"]],["🖤","black heart",0,["black","evil","heart","wicked"]],["🩶","grey heart",0,["143","emotion","gray","grey","heart","ily","love","silver","slate","special"]],["🤍","white heart",0,["143","heart","white"]],["💋","kiss mark",0,["dating","emotion","heart","kiss","kissing","lips","mark","romance","sexy"]],["💯","hundred points",0,["100","a+","agree","clearly","definitely","faithful","fleek","full","hundred","keep","perfect","point","score","TRUE","truth","yup"]],["💢","anger symbol",0,["anger","angry","comic","mad","symbol","upset"]],["","fight cloud",0,["argument","brawl","debate","disagreement","fight","ruckus","wrestle"]],["💥","collision",0,["bomb","boom","collide","collision","comic","explode"]],["💫","dizzy",0,["comic","dizzy","shining","shooting","star","stars"]],["💦","sweat droplets",0,["comic","drip","droplet","droplets","drops","splashing","squirt","sweat","water","wet","work","workout"]],["💨","dashing away",0,["away","cloud","comic","dash","dashing","fart","fast","go","gone","gotta","running","smoke"]],["🕳️","hole",0,["hole"]],["💬","speech balloon",0,["balloon","bubble","comic","dialog","message","sms","speech","talk","text","typing"]],["👁️🗨️","eye in speech bubble",0,["balloon","bubble","eye","speech","witness"]],["🗨️","left speech bubble",0,["balloon","bubble","dialog","left","speech"]],["🗯️","right anger bubble",0,["anger","angry","balloon","bubble","mad","right"]],["💭","thought balloon",0,["balloon","bubble","cartoon","cloud","comic","daydream","decisions","dream","idea","invent","invention","realize","think","thoughts","wonder"]],["💤","ZZZ",0,["comic","good","goodnight","night","sleep","sleeping","sleepy","tired","zzz"]],["👋","waving hand",1,["bye","cya","g2g","greetings","gtg","hand","hello","hey","hi","later","outtie","ttfn","ttyl","wave","yo","you"]],["👋🏻","waving hand: light skin tone",1,[]],["👋🏼","waving hand: medium-light skin tone",1,[]],["👋🏽","waving hand: medium skin tone",1,[]],["👋🏾","waving hand: medium-dark skin tone",1,[]],["👋🏿","waving hand: dark skin tone",1,[]],["🤚","raised back of hand",1,["back","backhand","hand","raised"]],["🤚🏻","raised back of hand: light skin tone",1,[]],["🤚🏼","raised back of hand: medium-light skin tone",1,[]],["🤚🏽","raised back of hand: medium skin tone",1,[]],["🤚🏾","raised back of hand: medium-dark skin tone",1,[]],["🤚🏿","raised back of hand: dark skin tone",1,[]],["🖐️","hand with fingers splayed",1,["finger","fingers","hand","raised","splayed","stop"]],["🖐🏻","hand with fingers splayed: light skin tone",1,[]],["🖐🏼","hand with fingers splayed: medium-light skin tone",1,[]],["🖐🏽","hand with fingers splayed: medium skin tone",1,[]],["🖐🏾","hand with fingers splayed: medium-dark skin tone",1,[]],["🖐🏿","hand with fingers splayed: dark skin tone",1,[]],["✋","raised hand",1,["5","five","hand","high","raised","stop"]],["✋🏻","raised hand: light skin tone",1,[]],["✋🏼","raised hand: medium-light skin tone",1,[]],["✋🏽","raised hand: medium skin tone",1,[]],["✋🏾","raised hand: medium-dark skin tone",1,[]],["✋🏿","raised hand: dark skin tone",1,[]],["🖖","vulcan salute",1,["finger","hand","hands","salute","Vulcan"]],["🖖🏻","vulcan salute: light skin tone",1,[]],["🖖🏼","vulcan salute: medium-light skin tone",1,[]],["🖖🏽","vulcan salute: medium skin tone",1,[]],["🖖🏾","vulcan salute: medium-dark skin tone",1,[]],["🖖🏿","vulcan salute: dark skin tone",1,[]],["🫱","rightwards hand",1,["hand","handshake","hold","reach","right","rightward","rightwards","shake"]],["🫱🏻","rightwards hand: light skin tone",1,[]],["🫱🏼","rightwards hand: medium-light skin tone",1,[]],["🫱🏽","rightwards hand: medium skin tone",1,[]],["🫱🏾","rightwards hand: medium-dark skin tone",1,[]],["🫱🏿","rightwards hand: dark skin tone",1,[]],["🫲","leftwards hand",1,["hand","handshake","hold","left","leftward","leftwards","reach","shake"]],["🫲🏻","leftwards hand: light skin tone",1,[]],["🫲🏼","leftwards hand: medium-light skin tone",1,[]],["🫲🏽","leftwards hand: medium skin tone",1,[]],["🫲🏾","leftwards hand: medium-dark skin tone",1,[]],["🫲🏿","leftwards hand: dark skin tone",1,[]],["🫳","palm down hand",1,["dismiss","down","drop","dropped","hand","palm","pick","shoo","up"]],["🫳🏻","palm down hand: light skin tone",1,[]],["🫳🏼","palm down hand: medium-light skin tone",1,[]],["🫳🏽","palm down hand: medium skin tone",1,[]],["🫳🏾","palm down hand: medium-dark skin tone",1,[]],["🫳🏿","palm down hand: dark skin tone",1,[]],["🫴","palm up hand",1,["beckon","catch","come","hand","hold","know","lift","me","offer","palm","tell"]],["🫴🏻","palm up hand: light skin tone",1,[]],["🫴🏼","palm up hand: medium-light skin tone",1,[]],["🫴🏽","palm up hand: medium skin tone",1,[]],["🫴🏾","palm up hand: medium-dark skin tone",1,[]],["🫴🏿","palm up hand: dark skin tone",1,[]],["🫷","leftwards pushing hand",1,["block","five","halt","hand","high","hold","leftward","leftwards","pause","push","pushing","refuse","slap","stop","wait"]],["🫷🏻","leftwards pushing hand: light skin tone",1,[]],["🫷🏼","leftwards pushing hand: medium-light skin tone",1,[]],["🫷🏽","leftwards pushing hand: medium skin tone",1,[]],["🫷🏾","leftwards pushing hand: medium-dark skin tone",1,[]],["🫷🏿","leftwards pushing hand: dark skin tone",1,[]],["🫸","rightwards pushing hand",1,["block","five","halt","hand","high","hold","pause","push","pushing","refuse","rightward","rightwards","slap","stop","wait"]],["🫸🏻","rightwards pushing hand: light skin tone",1,[]],["🫸🏼","rightwards pushing hand: medium-light skin tone",1,[]],["🫸🏽","rightwards pushing hand: medium skin tone",1,[]],["🫸🏾","rightwards pushing hand: medium-dark skin tone",1,[]],["🫸🏿","rightwards pushing hand: dark skin tone",1,[]],["👌","OK hand",1,["awesome","bet","dope","fleek","fosho","got","gotcha","hand","legit","OK","okay","pinch","rad","sure","sweet","three"]],["👌🏻","OK hand: light skin tone",1,[]],["👌🏼","OK hand: medium-light skin tone",1,[]],["👌🏽","OK hand: medium skin tone",1,[]],["👌🏾","OK hand: medium-dark skin tone",1,[]],["👌🏿","OK hand: dark skin tone",1,[]],["🤌","pinched fingers",1,["fingers","gesture","hand","hold","huh","interrogation","patience","pinched","relax","sarcastic","ugh","what","zip"]],["🤌🏻","pinched fingers: light skin tone",1,[]],["🤌🏼","pinched fingers: medium-light skin tone",1,[]],["🤌🏽","pinched fingers: medium skin tone",1,[]],["🤌🏾","pinched fingers: medium-dark skin tone",1,[]],["🤌🏿","pinched fingers: dark skin tone",1,[]],["🤏","pinching hand",1,["amount","bit","fingers","hand","little","pinching","small","sort"]],["🤏🏻","pinching hand: light skin tone",1,[]],["🤏🏼","pinching hand: medium-light skin tone",1,[]],["🤏🏽","pinching hand: medium skin tone",1,[]],["🤏🏾","pinching hand: medium-dark skin tone",1,[]],["🤏🏿","pinching hand: dark skin tone",1,[]],["✌️","victory hand",1,["hand","peace","v","victory"]],["✌🏻","victory hand: light skin tone",1,[]],["✌🏼","victory hand: medium-light skin tone",1,[]],["✌🏽","victory hand: medium skin tone",1,[]],["✌🏾","victory hand: medium-dark skin tone",1,[]],["✌🏿","victory hand: dark skin tone",1,[]],["🤞","crossed fingers",1,["cross","crossed","finger","fingers","hand","luck"]],["🤞🏻","crossed fingers: light skin tone",1,[]],["🤞🏼","crossed fingers: medium-light skin tone",1,[]],["🤞🏽","crossed fingers: medium skin tone",1,[]],["🤞🏾","crossed fingers: medium-dark skin tone",1,[]],["🤞🏿","crossed fingers: dark skin tone",1,[]],["🫰","hand with index finger and thumb crossed",1,["<3","crossed","expensive","finger","hand","heart","index","love","money","snap","thumb"]],["🫰🏻","hand with index finger and thumb crossed: light skin tone",1,[]],["🫰🏼","hand with index finger and thumb crossed: medium-light skin tone",1,[]],["🫰🏽","hand with index finger and thumb crossed: medium skin tone",1,[]],["🫰🏾","hand with index finger and thumb crossed: medium-dark skin tone",1,[]],["🫰🏿","hand with index finger and thumb crossed: dark skin tone",1,[]],["🤟","love-you gesture",1,["fingers","gesture","hand","ILY","love","love-you","three","you"]],["🤟🏻","love-you gesture: light skin tone",1,[]],["🤟🏼","love-you gesture: medium-light skin tone",1,[]],["🤟🏽","love-you gesture: medium skin tone",1,[]],["🤟🏾","love-you gesture: medium-dark skin tone",1,[]],["🤟🏿","love-you gesture: dark skin tone",1,[]],["🤘","sign of the horns",1,["finger","hand","horns","rock-on","sign"]],["🤘🏻","sign of the horns: light skin tone",1,[]],["🤘🏼","sign of the horns: medium-light skin tone",1,[]],["🤘🏽","sign of the horns: medium skin tone",1,[]],["🤘🏾","sign of the horns: medium-dark skin tone",1,[]],["🤘🏿","sign of the horns: dark skin tone",1,[]],["🤙","call me hand",1,["call","hand","hang","loose","me","Shaka"]],["🤙🏻","call me hand: light skin tone",1,[]],["🤙🏼","call me hand: medium-light skin tone",1,[]],["🤙🏽","call me hand: medium skin tone",1,[]],["🤙🏾","call me hand: medium-dark skin tone",1,[]],["🤙🏿","call me hand: dark skin tone",1,[]],["👈","backhand index pointing left",1,["backhand","finger","hand","index","left","point","pointing"]],["👈🏻","backhand index pointing left: light skin tone",1,[]],["👈🏼","backhand index pointing left: medium-light skin tone",1,[]],["👈🏽","backhand index pointing left: medium skin tone",1,[]],["👈🏾","backhand index pointing left: medium-dark skin tone",1,[]],["👈🏿","backhand index pointing left: dark skin tone",1,[]],["👉","backhand index pointing right",1,["backhand","finger","hand","index","point","pointing","right"]],["👉🏻","backhand index pointing right: light skin tone",1,[]],["👉🏼","backhand index pointing right: medium-light skin tone",1,[]],["👉🏽","backhand index pointing right: medium skin tone",1,[]],["👉🏾","backhand index pointing right: medium-dark skin tone",1,[]],["👉🏿","backhand index pointing right: dark skin tone",1,[]],["👆","backhand index pointing up",1,["backhand","finger","hand","index","point","pointing","up"]],["👆🏻","backhand index pointing up: light skin tone",1,[]],["👆🏼","backhand index pointing up: medium-light skin tone",1,[]],["👆🏽","backhand index pointing up: medium skin tone",1,[]],["👆🏾","backhand index pointing up: medium-dark skin tone",1,[]],["👆🏿","backhand index pointing up: dark skin tone",1,[]],["🖕","middle finger",1,["finger","hand","middle"]],["🖕🏻","middle finger: light skin tone",1,[]],["🖕🏼","middle finger: medium-light skin tone",1,[]],["🖕🏽","middle finger: medium skin tone",1,[]],["🖕🏾","middle finger: medium-dark skin tone",1,[]],["🖕🏿","middle finger: dark skin tone",1,[]],["👇","backhand index pointing down",1,["backhand","down","finger","hand","index","point","pointing"]],["👇🏻","backhand index pointing down: light skin tone",1,[]],["👇🏼","backhand index pointing down: medium-light skin tone",1,[]],["👇🏽","backhand index pointing down: medium skin tone",1,[]],["👇🏾","backhand index pointing down: medium-dark skin tone",1,[]],["👇🏿","backhand index pointing down: dark skin tone",1,[]],["☝️","index pointing up",1,["finger","hand","index","point","pointing","this","up"]],["☝🏻","index pointing up: light skin tone",1,[]],["☝🏼","index pointing up: medium-light skin tone",1,[]],["☝🏽","index pointing up: medium skin tone",1,[]],["☝🏾","index pointing up: medium-dark skin tone",1,[]],["☝🏿","index pointing up: dark skin tone",1,[]],["🫵","index pointing at the viewer",1,["at","finger","hand","index","pointing","poke","viewer","you"]],["🫵🏻","index pointing at the viewer: light skin tone",1,[]],["🫵🏼","index pointing at the viewer: medium-light skin tone",1,[]],["🫵🏽","index pointing at the viewer: medium skin tone",1,[]],["🫵🏾","index pointing at the viewer: medium-dark skin tone",1,[]],["🫵🏿","index pointing at the viewer: dark skin tone",1,[]],["👍","thumbs up",1,["+1","good","hand","like","thumb","up","yes"]],["👍🏻","thumbs up: light skin tone",1,[]],["👍🏼","thumbs up: medium-light skin tone",1,[]],["👍🏽","thumbs up: medium skin tone",1,[]],["👍🏾","thumbs up: medium-dark skin tone",1,[]],["👍🏿","thumbs up: dark skin tone",1,[]],["👎","thumbs down",1,["-1","bad","dislike","down","good","hand","no","nope","thumb","thumbs"]],["👎🏻","thumbs down: light skin tone",1,[]],["👎🏼","thumbs down: medium-light skin tone",1,[]],["👎🏽","thumbs down: medium skin tone",1,[]],["👎🏾","thumbs down: medium-dark skin tone",1,[]],["👎🏿","thumbs down: dark skin tone",1,[]],["","leftwards thumb sign",1,[]],["🏻","leftwards thumb sign: light skin tone",1,[]],["🏼","leftwards thumb sign: medium-light skin tone",1,[]],["🏽","leftwards thumb sign: medium skin tone",1,[]],["🏾","leftwards thumb sign: medium-dark skin tone",1,[]],["🏿","leftwards thumb sign: dark skin tone",1,[]],["","rightwards thumb sign",1,[]],["🏻","rightwards thumb sign: light skin tone",1,[]],["🏼","rightwards thumb sign: medium-light skin tone",1,[]],["🏽","rightwards thumb sign: medium skin tone",1,[]],["🏾","rightwards thumb sign: medium-dark skin tone",1,[]],["🏿","rightwards thumb sign: dark skin tone",1,[]],["✊","raised fist",1,["clenched","fist","hand","punch","raised","solidarity"]],["✊🏻","raised fist: light skin tone",1,[]],["✊🏼","raised fist: medium-light skin tone",1,[]],["✊🏽","raised fist: medium skin tone",1,[]],["✊🏾","raised fist: medium-dark skin tone",1,[]],["✊🏿","raised fist: dark skin tone",1,[]],["👊","oncoming fist",1,["absolutely","agree","boom","bro","bruh","bump","clenched","correct","fist","hand","knuckle","oncoming","pound","punch","rock","ttyl"]],["👊🏻","oncoming fist: light skin tone",1,[]],["👊🏼","oncoming fist: medium-light skin tone",1,[]],["👊🏽","oncoming fist: medium skin tone",1,[]],["👊🏾","oncoming fist: medium-dark skin tone",1,[]],["👊🏿","oncoming fist: dark skin tone",1,[]],["🤛","left-facing fist",1,["fist","left-facing","leftwards"]],["🤛🏻","left-facing fist: light skin tone",1,[]],["🤛🏼","left-facing fist: medium-light skin tone",1,[]],["🤛🏽","left-facing fist: medium skin tone",1,[]],["🤛🏾","left-facing fist: medium-dark skin tone",1,[]],["🤛🏿","left-facing fist: dark skin tone",1,[]],["🤜","right-facing fist",1,["fist","right-facing","rightwards"]],["🤜🏻","right-facing fist: light skin tone",1,[]],["🤜🏼","right-facing fist: medium-light skin tone",1,[]],["🤜🏽","right-facing fist: medium skin tone",1,[]],["🤜🏾","right-facing fist: medium-dark skin tone",1,[]],["🤜🏿","right-facing fist: dark skin tone",1,[]],["👏","clapping hands",1,["applause","approval","awesome","clap","congrats","congratulations","excited","good","great","hand","homie","job","nice","prayed","well","yay"]],["👏🏻","clapping hands: light skin tone",1,[]],["👏🏼","clapping hands: medium-light skin tone",1,[]],["👏🏽","clapping hands: medium skin tone",1,[]],["👏🏾","clapping hands: medium-dark skin tone",1,[]],["👏🏿","clapping hands: dark skin tone",1,[]],["🙌","raising hands",1,["celebration","gesture","hand","hands","hooray","praise","raised","raising"]],["🙌🏻","raising hands: light skin tone",1,[]],["🙌🏼","raising hands: medium-light skin tone",1,[]],["🙌🏽","raising hands: medium skin tone",1,[]],["🙌🏾","raising hands: medium-dark skin tone",1,[]],["🙌🏿","raising hands: dark skin tone",1,[]],["🫶","heart hands",1,["<3","hands","heart","love","you"]],["🫶🏻","heart hands: light skin tone",1,[]],["🫶🏼","heart hands: medium-light skin tone",1,[]],["🫶🏽","heart hands: medium skin tone",1,[]],["🫶🏾","heart hands: medium-dark skin tone",1,[]],["🫶🏿","heart hands: dark skin tone",1,[]],["👐","open hands",1,["hand","hands","hug","jazz","open","swerve"]],["👐🏻","open hands: light skin tone",1,[]],["👐🏼","open hands: medium-light skin tone",1,[]],["👐🏽","open hands: medium skin tone",1,[]],["👐🏾","open hands: medium-dark skin tone",1,[]],["👐🏿","open hands: dark skin tone",1,[]],["🤲","palms up together",1,["cupped","dua","hands","palms","pray","prayer","together","up","wish"]],["🤲🏻","palms up together: light skin tone",1,[]],["🤲🏼","palms up together: medium-light skin tone",1,[]],["🤲🏽","palms up together: medium skin tone",1,[]],["🤲🏾","palms up together: medium-dark skin tone",1,[]],["🤲🏿","palms up together: dark skin tone",1,[]],["🤝","handshake",1,["agreement","deal","hand","handshake","meeting","shake"]],["🤝🏻","handshake: light skin tone",1,[]],["🤝🏼","handshake: medium-light skin tone",1,[]],["🤝🏽","handshake: medium skin tone",1,[]],["🤝🏾","handshake: medium-dark skin tone",1,[]],["🤝🏿","handshake: dark skin tone",1,[]],["🫱🏻🫲🏼","handshake: light skin tone, medium-light skin tone",1,[]],["🫱🏻🫲🏽","handshake: light skin tone, medium skin tone",1,[]],["🫱🏻🫲🏾","handshake: light skin tone, medium-dark skin tone",1,[]],["🫱🏻🫲🏿","handshake: light skin tone, dark skin tone",1,[]],["🫱🏼🫲🏻","handshake: medium-light skin tone, light skin tone",1,[]],["🫱🏼🫲🏽","handshake: medium-light skin tone, medium skin tone",1,[]],["🫱🏼🫲🏾","handshake: medium-light skin tone, medium-dark skin tone",1,[]],["🫱🏼🫲🏿","handshake: medium-light skin tone, dark skin tone",1,[]],["🫱🏽🫲🏻","handshake: medium skin tone, light skin tone",1,[]],["🫱🏽🫲🏼","handshake: medium skin tone, medium-light skin tone",1,[]],["🫱🏽🫲🏾","handshake: medium skin tone, medium-dark skin tone",1,[]],["🫱🏽🫲🏿","handshake: medium skin tone, dark skin tone",1,[]],["🫱🏾🫲🏻","handshake: medium-dark skin tone, light skin tone",1,[]],["🫱🏾🫲🏼","handshake: medium-dark skin tone, medium-light skin tone",1,[]],["🫱🏾🫲🏽","handshake: medium-dark skin tone, medium skin tone",1,[]],["🫱🏾🫲🏿","handshake: medium-dark skin tone, dark skin tone",1,[]],["🫱🏿🫲🏻","handshake: dark skin tone, light skin tone",1,[]],["🫱🏿🫲🏼","handshake: dark skin tone, medium-light skin tone",1,[]],["🫱🏿🫲🏽","handshake: dark skin tone, medium skin tone",1,[]],["🫱🏿🫲🏾","handshake: dark skin tone, medium-dark skin tone",1,[]],["🙏","folded hands",1,["appreciate","ask","beg","blessed","bow","cmon","five","folded","gesture","hand","high","please","pray","thanks","thx"]],["🙏🏻","folded hands: light skin tone",1,[]],["🙏🏼","folded hands: medium-light skin tone",1,[]],["🙏🏽","folded hands: medium skin tone",1,[]],["🙏🏾","folded hands: medium-dark skin tone",1,[]],["🙏🏿","folded hands: dark skin tone",1,[]],["✍️","writing hand",1,["hand","write","writing"]],["✍🏻","writing hand: light skin tone",1,[]],["✍🏼","writing hand: medium-light skin tone",1,[]],["✍🏽","writing hand: medium skin tone",1,[]],["✍🏾","writing hand: medium-dark skin tone",1,[]],["✍🏿","writing hand: dark skin tone",1,[]],["💅","nail polish",1,["bored","care","cosmetics","done","makeup","manicure","nail","polish","whatever"]],["💅🏻","nail polish: light skin tone",1,[]],["💅🏼","nail polish: medium-light skin tone",1,[]],["💅🏽","nail polish: medium skin tone",1,[]],["💅🏾","nail polish: medium-dark skin tone",1,[]],["💅🏿","nail polish: dark skin tone",1,[]],["🤳","selfie",1,["camera","phone","selfie"]],["🤳🏻","selfie: light skin tone",1,[]],["🤳🏼","selfie: medium-light skin tone",1,[]],["🤳🏽","selfie: medium skin tone",1,[]],["🤳🏾","selfie: medium-dark skin tone",1,[]],["🤳🏿","selfie: dark skin tone",1,[]],["💪","flexed biceps",1,["arm","beast","bench","biceps","bodybuilder","bro","curls","flex","gains","gym","jacked","muscle","press","ripped","strong","weightlift"]],["💪🏻","flexed biceps: light skin tone",1,[]],["💪🏼","flexed biceps: medium-light skin tone",1,[]],["💪🏽","flexed biceps: medium skin tone",1,[]],["💪🏾","flexed biceps: medium-dark skin tone",1,[]],["💪🏿","flexed biceps: dark skin tone",1,[]],["🦾","mechanical arm",1,["accessibility","arm","mechanical","prosthetic"]],["🦿","mechanical leg",1,["accessibility","leg","mechanical","prosthetic"]],["🦵","leg",1,["bent","foot","kick","knee","leg","limb"]],["🦵🏻","leg: light skin tone",1,[]],["🦵🏼","leg: medium-light skin tone",1,[]],["🦵🏽","leg: medium skin tone",1,[]],["🦵🏾","leg: medium-dark skin tone",1,[]],["🦵🏿","leg: dark skin tone",1,[]],["🦶","foot",1,["ankle","feet","foot","kick","stomp"]],["🦶🏻","foot: light skin tone",1,[]],["🦶🏼","foot: medium-light skin tone",1,[]],["🦶🏽","foot: medium skin tone",1,[]],["🦶🏾","foot: medium-dark skin tone",1,[]],["🦶🏿","foot: dark skin tone",1,[]],["👂","ear",1,["body","ear","ears","hear","hearing","listen","listening","sound"]],["👂🏻","ear: light skin tone",1,[]],["👂🏼","ear: medium-light skin tone",1,[]],["👂🏽","ear: medium skin tone",1,[]],["👂🏾","ear: medium-dark skin tone",1,[]],["👂🏿","ear: dark skin tone",1,[]],["🦻","ear with hearing aid",1,["accessibility","aid","ear","hard","hearing"]],["🦻🏻","ear with hearing aid: light skin tone",1,[]],["🦻🏼","ear with hearing aid: medium-light skin tone",1,[]],["🦻🏽","ear with hearing aid: medium skin tone",1,[]],["🦻🏾","ear with hearing aid: medium-dark skin tone",1,[]],["🦻🏿","ear with hearing aid: dark skin tone",1,[]],["👃","nose",1,["body","nose","noses","nosey","odor","smell","smells"]],["👃🏻","nose: light skin tone",1,[]],["👃🏼","nose: medium-light skin tone",1,[]],["👃🏽","nose: medium skin tone",1,[]],["👃🏾","nose: medium-dark skin tone",1,[]],["👃🏿","nose: dark skin tone",1,[]],["🧠","brain",1,["brain","intelligent","smart"]],["🫀","anatomical heart",1,["anatomical","beat","cardiology","heart","heartbeat","organ","pulse","real","red"]],["🫁","lungs",1,["breath","breathe","exhalation","inhalation","lung","lungs","organ","respiration"]],["🦷","tooth",1,["dentist","pearly","teeth","tooth","white"]],["🦴","bone",1,["bone","bones","dog","skeleton","wishbone"]],["👀","eyes",1,["body","eye","eyes","face","googly","look","looking","omg","peep","see","seeing"]],["👁️","eye",1,["1","body","eye","one"]],["👅","tongue",1,["body","lick","slurp","tongue"]],["👄","mouth",1,["beauty","body","kiss","kissing","lips","lipstick","mouth"]],["🫦","biting lip",1,["anxious","bite","biting","fear","flirt","flirting","kiss","lip","lipstick","nervous","sexy","uncomfortable","worried","worry"]],["👶","baby",1,["babies","baby","children","goo","infant","newborn","pregnant","young"]],["👶🏻","baby: light skin tone",1,[]],["👶🏼","baby: medium-light skin tone",1,[]],["👶🏽","baby: medium skin tone",1,[]],["👶🏾","baby: medium-dark skin tone",1,[]],["👶🏿","baby: dark skin tone",1,[]],["🧒","child",1,["bright-eyed","child","grandchild","kid","young","younger"]],["🧒🏻","child: light skin tone",1,[]],["🧒🏼","child: medium-light skin tone",1,[]],["🧒🏽","child: medium skin tone",1,[]],["🧒🏾","child: medium-dark skin tone",1,[]],["🧒🏿","child: dark skin tone",1,[]],["👦","boy",1,["boy","bright-eyed","child","grandson","kid","son","young","younger"]],["👦🏻","boy: light skin tone",1,[]],["👦🏼","boy: medium-light skin tone",1,[]],["👦🏽","boy: medium skin tone",1,[]],["👦🏾","boy: medium-dark skin tone",1,[]],["👦🏿","boy: dark skin tone",1,[]],["👧","girl",1,["bright-eyed","child","daughter","girl","granddaughter","kid","Virgo","young","younger","zodiac"]],["👧🏻","girl: light skin tone",1,[]],["👧🏼","girl: medium-light skin tone",1,[]],["👧🏽","girl: medium skin tone",1,[]],["👧🏾","girl: medium-dark skin tone",1,[]],["👧🏿","girl: dark skin tone",1,[]],["🧑","person",1,["adult","person"]],["🧑🏻","person: light skin tone",1,[]],["🧑🏼","person: medium-light skin tone",1,[]],["🧑🏽","person: medium skin tone",1,[]],["🧑🏾","person: medium-dark skin tone",1,[]],["🧑🏿","person: dark skin tone",1,[]],["👱","person: blond hair",1,["blond","blond-haired","human","person"]],["👱🏻","person: light skin tone, blond hair",1,[]],["👱🏼","person: medium-light skin tone, blond hair",1,[]],["👱🏽","person: medium skin tone, blond hair",1,[]],["👱🏾","person: medium-dark skin tone, blond hair",1,[]],["👱🏿","person: dark skin tone, blond hair",1,[]],["👨","man",1,["adult","bro","man"]],["👨🏻","man: light skin tone",1,[]],["👨🏼","man: medium-light skin tone",1,[]],["👨🏽","man: medium skin tone",1,[]],["👨🏾","man: medium-dark skin tone",1,[]],["👨🏿","man: dark skin tone",1,[]],["🧔","person: beard",1,["beard","bearded","person","whiskers"]],["🧔🏻","person: light skin tone, beard",1,[]],["🧔🏼","person: medium-light skin tone, beard",1,[]],["🧔🏽","person: medium skin tone, beard",1,[]],["🧔🏾","person: medium-dark skin tone, beard",1,[]],["🧔🏿","person: dark skin tone, beard",1,[]],["🧔♂️","man: beard",1,["beard","bearded","man","whiskers"]],["🧔🏻♂️","man: light skin tone, beard",1,[]],["🧔🏼♂️","man: medium-light skin tone, beard",1,[]],["🧔🏽♂️","man: medium skin tone, beard",1,[]],["🧔🏾♂️","man: medium-dark skin tone, beard",1,[]],["🧔🏿♂️","man: dark skin tone, beard",1,[]],["🧔♀️","woman: beard",1,["beard","bearded","whiskers","woman"]],["🧔🏻♀️","woman: light skin tone, beard",1,[]],["🧔🏼♀️","woman: medium-light skin tone, beard",1,[]],["🧔🏽♀️","woman: medium skin tone, beard",1,[]],["🧔🏾♀️","woman: medium-dark skin tone, beard",1,[]],["🧔🏿♀️","woman: dark skin tone, beard",1,[]],["👨🦰","man: red hair",1,[]],["👨🏻🦰","man: light skin tone, red hair",1,[]],["👨🏼🦰","man: medium-light skin tone, red hair",1,[]],["👨🏽🦰","man: medium skin tone, red hair",1,[]],["👨🏾🦰","man: medium-dark skin tone, red hair",1,[]],["👨🏿🦰","man: dark skin tone, red hair",1,[]],["👨🦱","man: curly hair",1,[]],["👨🏻🦱","man: light skin tone, curly hair",1,[]],["👨🏼🦱","man: medium-light skin tone, curly hair",1,[]],["👨🏽🦱","man: medium skin tone, curly hair",1,[]],["👨🏾🦱","man: medium-dark skin tone, curly hair",1,[]],["👨🏿🦱","man: dark skin tone, curly hair",1,[]],["👨🦳","man: white hair",1,[]],["👨🏻🦳","man: light skin tone, white hair",1,[]],["👨🏼🦳","man: medium-light skin tone, white hair",1,[]],["👨🏽🦳","man: medium skin tone, white hair",1,[]],["👨🏾🦳","man: medium-dark skin tone, white hair",1,[]],["👨🏿🦳","man: dark skin tone, white hair",1,[]],["👨🦲","man: bald",1,[]],["👨🏻🦲","man: light skin tone, bald",1,[]],["👨🏼🦲","man: medium-light skin tone, bald",1,[]],["👨🏽🦲","man: medium skin tone, bald",1,[]],["👨🏾🦲","man: medium-dark skin tone, bald",1,[]],["👨🏿🦲","man: dark skin tone, bald",1,[]],["👩","woman",1,["adult","lady","woman"]],["👩🏻","woman: light skin tone",1,[]],["👩🏼","woman: medium-light skin tone",1,[]],["👩🏽","woman: medium skin tone",1,[]],["👩🏾","woman: medium-dark skin tone",1,[]],["👩🏿","woman: dark skin tone",1,[]],["👩🦰","woman: red hair",1,[]],["👩🏻🦰","woman: light skin tone, red hair",1,[]],["👩🏼🦰","woman: medium-light skin tone, red hair",1,[]],["👩🏽🦰","woman: medium skin tone, red hair",1,[]],["👩🏾🦰","woman: medium-dark skin tone, red hair",1,[]],["👩🏿🦰","woman: dark skin tone, red hair",1,[]],["🧑🦰","person: red hair",1,[]],["🧑🏻🦰","person: light skin tone, red hair",1,[]],["🧑🏼🦰","person: medium-light skin tone, red hair",1,[]],["🧑🏽🦰","person: medium skin tone, red hair",1,[]],["🧑🏾🦰","person: medium-dark skin tone, red hair",1,[]],["🧑🏿🦰","person: dark skin tone, red hair",1,[]],["👩🦱","woman: curly hair",1,[]],["👩🏻🦱","woman: light skin tone, curly hair",1,[]],["👩🏼🦱","woman: medium-light skin tone, curly hair",1,[]],["👩🏽🦱","woman: medium skin tone, curly hair",1,[]],["👩🏾🦱","woman: medium-dark skin tone, curly hair",1,[]],["👩🏿🦱","woman: dark skin tone, curly hair",1,[]],["🧑🦱","person: curly hair",1,[]],["🧑🏻🦱","person: light skin tone, curly hair",1,[]],["🧑🏼🦱","person: medium-light skin tone, curly hair",1,[]],["🧑🏽🦱","person: medium skin tone, curly hair",1,[]],["🧑🏾🦱","person: medium-dark skin tone, curly hair",1,[]],["🧑🏿🦱","person: dark skin tone, curly hair",1,[]],["👩🦳","woman: white hair",1,[]],["👩🏻🦳","woman: light skin tone, white hair",1,[]],["👩🏼🦳","woman: medium-light skin tone, white hair",1,[]],["👩🏽🦳","woman: medium skin tone, white hair",1,[]],["👩🏾🦳","woman: medium-dark skin tone, white hair",1,[]],["👩🏿🦳","woman: dark skin tone, white hair",1,[]],["🧑🦳","person: white hair",1,[]],["🧑🏻🦳","person: light skin tone, white hair",1,[]],["🧑🏼🦳","person: medium-light skin tone, white hair",1,[]],["🧑🏽🦳","person: medium skin tone, white hair",1,[]],["🧑🏾🦳","person: medium-dark skin tone, white hair",1,[]],["🧑🏿🦳","person: dark skin tone, white hair",1,[]],["👩🦲","woman: bald",1,[]],["👩🏻🦲","woman: light skin tone, bald",1,[]],["👩🏼🦲","woman: medium-light skin tone, bald",1,[]],["👩🏽🦲","woman: medium skin tone, bald",1,[]],["👩🏾🦲","woman: medium-dark skin tone, bald",1,[]],["👩🏿🦲","woman: dark skin tone, bald",1,[]],["🧑🦲","person: bald",1,[]],["🧑🏻🦲","person: light skin tone, bald",1,[]],["🧑🏼🦲","person: medium-light skin tone, bald",1,[]],["🧑🏽🦲","person: medium skin tone, bald",1,[]],["🧑🏾🦲","person: medium-dark skin tone, bald",1,[]],["🧑🏿🦲","person: dark skin tone, bald",1,[]],["👱♀️","woman: blond hair",1,["blond","blond-haired","blonde","hair","woman"]],["👱🏻♀️","woman: light skin tone, blond hair",1,[]],["👱🏼♀️","woman: medium-light skin tone, blond hair",1,[]],["👱🏽♀️","woman: medium skin tone, blond hair",1,[]],["👱🏾♀️","woman: medium-dark skin tone, blond hair",1,[]],["👱🏿♀️","woman: dark skin tone, blond hair",1,[]],["👱♂️","man: blond hair",1,["blond","blond-haired","hair","man"]],["👱🏻♂️","man: light skin tone, blond hair",1,[]],["👱🏼♂️","man: medium-light skin tone, blond hair",1,[]],["👱🏽♂️","man: medium skin tone, blond hair",1,[]],["👱🏾♂️","man: medium-dark skin tone, blond hair",1,[]],["👱🏿♂️","man: dark skin tone, blond hair",1,[]],["🧓","older person",1,["adult","elderly","grandparent","old","person","wise"]],["🧓🏻","older person: light skin tone",1,[]],["🧓🏼","older person: medium-light skin tone",1,[]],["🧓🏽","older person: medium skin tone",1,[]],["🧓🏾","older person: medium-dark skin tone",1,[]],["🧓🏿","older person: dark skin tone",1,[]],["👴","old man",1,["adult","bald","elderly","gramps","grandfather","grandpa","man","old","wise"]],["👴🏻","old man: light skin tone",1,[]],["👴🏼","old man: medium-light skin tone",1,[]],["👴🏽","old man: medium skin tone",1,[]],["👴🏾","old man: medium-dark skin tone",1,[]],["👴🏿","old man: dark skin tone",1,[]],["👵","old woman",1,["adult","elderly","grandma","grandmother","granny","lady","old","wise","woman"]],["👵🏻","old woman: light skin tone",1,[]],["👵🏼","old woman: medium-light skin tone",1,[]],["👵🏽","old woman: medium skin tone",1,[]],["👵🏾","old woman: medium-dark skin tone",1,[]],["👵🏿","old woman: dark skin tone",1,[]],["🙍","person frowning",1,["annoyed","disappointed","disgruntled","disturbed","frown","frowning","frustrated","gesture","irritated","person","upset"]],["🙍🏻","person frowning: light skin tone",1,[]],["🙍🏼","person frowning: medium-light skin tone",1,[]],["🙍🏽","person frowning: medium skin tone",1,[]],["🙍🏾","person frowning: medium-dark skin tone",1,[]],["🙍🏿","person frowning: dark skin tone",1,[]],["🙍♂️","man frowning",1,["annoyed","disappointed","disgruntled","disturbed","frown","frowning","frustrated","gesture","irritated","man","upset"]],["🙍🏻♂️","man frowning: light skin tone",1,[]],["🙍🏼♂️","man frowning: medium-light skin tone",1,[]],["🙍🏽♂️","man frowning: medium skin tone",1,[]],["🙍🏾♂️","man frowning: medium-dark skin tone",1,[]],["🙍🏿♂️","man frowning: dark skin tone",1,[]],["🙍♀️","woman frowning",1,["annoyed","disappointed","disgruntled","disturbed","frown","frowning","frustrated","gesture","irritated","upset","woman"]],["🙍🏻♀️","woman frowning: light skin tone",1,[]],["🙍🏼♀️","woman frowning: medium-light skin tone",1,[]],["🙍🏽♀️","woman frowning: medium skin tone",1,[]],["🙍🏾♀️","woman frowning: medium-dark skin tone",1,[]],["🙍🏿♀️","woman frowning: dark skin tone",1,[]],["🙎","person pouting",1,["disappointed","downtrodden","frown","grimace","person","pouting","scowl","sulk","upset","whine"]],["🙎🏻","person pouting: light skin tone",1,[]],["🙎🏼","person pouting: medium-light skin tone",1,[]],["🙎🏽","person pouting: medium skin tone",1,[]],["🙎🏾","person pouting: medium-dark skin tone",1,[]],["🙎🏿","person pouting: dark skin tone",1,[]],["🙎♂️","man pouting",1,["disappointed","downtrodden","frown","grimace","man","pouting","scowl","sulk","upset","whine"]],["🙎🏻♂️","man pouting: light skin tone",1,[]],["🙎🏼♂️","man pouting: medium-light skin tone",1,[]],["🙎🏽♂️","man pouting: medium skin tone",1,[]],["🙎🏾♂️","man pouting: medium-dark skin tone",1,[]],["🙎🏿♂️","man pouting: dark skin tone",1,[]],["🙎♀️","woman pouting",1,["disappointed","downtrodden","frown","grimace","pouting","scowl","sulk","upset","whine","woman"]],["🙎🏻♀️","woman pouting: light skin tone",1,[]],["🙎🏼♀️","woman pouting: medium-light skin tone",1,[]],["🙎🏽♀️","woman pouting: medium skin tone",1,[]],["🙎🏾♀️","woman pouting: medium-dark skin tone",1,[]],["🙎🏿♀️","woman pouting: dark skin tone",1,[]],["🙅","person gesturing NO",1,["forbidden","gesture","hand","NO","not","person","prohibit"]],["🙅🏻","person gesturing NO: light skin tone",1,[]],["🙅🏼","person gesturing NO: medium-light skin tone",1,[]],["🙅🏽","person gesturing NO: medium skin tone",1,[]],["🙅🏾","person gesturing NO: medium-dark skin tone",1,[]],["🙅🏿","person gesturing NO: dark skin tone",1,[]],["🙅♂️","man gesturing NO",1,["forbidden","gesture","hand","man","NO","not","prohibit"]],["🙅🏻♂️","man gesturing NO: light skin tone",1,[]],["🙅🏼♂️","man gesturing NO: medium-light skin tone",1,[]],["🙅🏽♂️","man gesturing NO: medium skin tone",1,[]],["🙅🏾♂️","man gesturing NO: medium-dark skin tone",1,[]],["🙅🏿♂️","man gesturing NO: dark skin tone",1,[]],["🙅♀️","woman gesturing NO",1,["forbidden","gesture","hand","NO","not","prohibit","woman"]],["🙅🏻♀️","woman gesturing NO: light skin tone",1,[]],["🙅🏼♀️","woman gesturing NO: medium-light skin tone",1,[]],["🙅🏽♀️","woman gesturing NO: medium skin tone",1,[]],["🙅🏾♀️","woman gesturing NO: medium-dark skin tone",1,[]],["🙅🏿♀️","woman gesturing NO: dark skin tone",1,[]],["🙆","person gesturing OK",1,["exercise","gesture","gesturing","hand","OK","omg","person"]],["🙆🏻","person gesturing OK: light skin tone",1,[]],["🙆🏼","person gesturing OK: medium-light skin tone",1,[]],["🙆🏽","person gesturing OK: medium skin tone",1,[]],["🙆🏾","person gesturing OK: medium-dark skin tone",1,[]],["🙆🏿","person gesturing OK: dark skin tone",1,[]],["🙆♂️","man gesturing OK",1,["exercise","gesture","gesturing","hand","man","OK","omg"]],["🙆🏻♂️","man gesturing OK: light skin tone",1,[]],["🙆🏼♂️","man gesturing OK: medium-light skin tone",1,[]],["🙆🏽♂️","man gesturing OK: medium skin tone",1,[]],["🙆🏾♂️","man gesturing OK: medium-dark skin tone",1,[]],["🙆🏿♂️","man gesturing OK: dark skin tone",1,[]],["🙆♀️","woman gesturing OK",1,["exercise","gesture","gesturing","hand","OK","omg","woman"]],["🙆🏻♀️","woman gesturing OK: light skin tone",1,[]],["🙆🏼♀️","woman gesturing OK: medium-light skin tone",1,[]],["🙆🏽♀️","woman gesturing OK: medium skin tone",1,[]],["🙆🏾♀️","woman gesturing OK: medium-dark skin tone",1,[]],["🙆🏿♀️","woman gesturing OK: dark skin tone",1,[]],["💁","person tipping hand",1,["fetch","flick","flip","gossip","hand","person","sarcasm","sarcastic","sassy","seriously","tipping","whatever"]],["💁🏻","person tipping hand: light skin tone",1,[]],["💁🏼","person tipping hand: medium-light skin tone",1,[]],["💁🏽","person tipping hand: medium skin tone",1,[]],["💁🏾","person tipping hand: medium-dark skin tone",1,[]],["💁🏿","person tipping hand: dark skin tone",1,[]],["💁♂️","man tipping hand",1,["fetch","flick","flip","gossip","hand","man","sarcasm","sarcastic","sassy","seriously","tipping","whatever"]],["💁🏻♂️","man tipping hand: light skin tone",1,[]],["💁🏼♂️","man tipping hand: medium-light skin tone",1,[]],["💁🏽♂️","man tipping hand: medium skin tone",1,[]],["💁🏾♂️","man tipping hand: medium-dark skin tone",1,[]],["💁🏿♂️","man tipping hand: dark skin tone",1,[]],["💁♀️","woman tipping hand",1,["fetch","flick","flip","gossip","hand","sarcasm","sarcastic","sassy","seriously","tipping","whatever","woman"]],["💁🏻♀️","woman tipping hand: light skin tone",1,[]],["💁🏼♀️","woman tipping hand: medium-light skin tone",1,[]],["💁🏽♀️","woman tipping hand: medium skin tone",1,[]],["💁🏾♀️","woman tipping hand: medium-dark skin tone",1,[]],["💁🏿♀️","woman tipping hand: dark skin tone",1,[]],["🙋","person raising hand",1,["gesture","hand","here","know","me","person","pick","question","raise","raising"]],["🙋🏻","person raising hand: light skin tone",1,[]],["🙋🏼","person raising hand: medium-light skin tone",1,[]],["🙋🏽","person raising hand: medium skin tone",1,[]],["🙋🏾","person raising hand: medium-dark skin tone",1,[]],["🙋🏿","person raising hand: dark skin tone",1,[]],["🙋♂️","man raising hand",1,["gesture","hand","here","know","man","me","pick","question","raise","raising"]],["🙋🏻♂️","man raising hand: light skin tone",1,[]],["🙋🏼♂️","man raising hand: medium-light skin tone",1,[]],["🙋🏽♂️","man raising hand: medium skin tone",1,[]],["🙋🏾♂️","man raising hand: medium-dark skin tone",1,[]],["🙋🏿♂️","man raising hand: dark skin tone",1,[]],["🙋♀️","woman raising hand",1,["gesture","hand","here","know","me","pick","question","raise","raising","woman"]],["🙋🏻♀️","woman raising hand: light skin tone",1,[]],["🙋🏼♀️","woman raising hand: medium-light skin tone",1,[]],["🙋🏽♀️","woman raising hand: medium skin tone",1,[]],["🙋🏾♀️","woman raising hand: medium-dark skin tone",1,[]],["🙋🏿♀️","woman raising hand: dark skin tone",1,[]],["🧏","deaf person",1,["accessibility","deaf","ear","gesture","hear","person"]],["🧏🏻","deaf person: light skin tone",1,[]],["🧏🏼","deaf person: medium-light skin tone",1,[]],["🧏🏽","deaf person: medium skin tone",1,[]],["🧏🏾","deaf person: medium-dark skin tone",1,[]],["🧏🏿","deaf person: dark skin tone",1,[]],["🧏♂️","deaf man",1,["accessibility","deaf","ear","gesture","hear","man"]],["🧏🏻♂️","deaf man: light skin tone",1,[]],["🧏🏼♂️","deaf man: medium-light skin tone",1,[]],["🧏🏽♂️","deaf man: medium skin tone",1,[]],["🧏🏾♂️","deaf man: medium-dark skin tone",1,[]],["🧏🏿♂️","deaf man: dark skin tone",1,[]],["🧏♀️","deaf woman",1,["accessibility","deaf","ear","gesture","hear","woman"]],["🧏🏻♀️","deaf woman: light skin tone",1,[]],["🧏🏼♀️","deaf woman: medium-light skin tone",1,[]],["🧏🏽♀️","deaf woman: medium skin tone",1,[]],["🧏🏾♀️","deaf woman: medium-dark skin tone",1,[]],["🧏🏿♀️","deaf woman: dark skin tone",1,[]],["🙇","person bowing",1,["apology","ask","beg","bow","bowing","favor","forgive","gesture","meditate","meditation","person","pity","regret","sorry"]],["🙇🏻","person bowing: light skin tone",1,[]],["🙇🏼","person bowing: medium-light skin tone",1,[]],["🙇🏽","person bowing: medium skin tone",1,[]],["🙇🏾","person bowing: medium-dark skin tone",1,[]],["🙇🏿","person bowing: dark skin tone",1,[]],["🙇♂️","man bowing",1,["apology","ask","beg","bow","bowing","favor","forgive","gesture","man","meditate","meditation","pity","regret","sorry"]],["🙇🏻♂️","man bowing: light skin tone",1,[]],["🙇🏼♂️","man bowing: medium-light skin tone",1,[]],["🙇🏽♂️","man bowing: medium skin tone",1,[]],["🙇🏾♂️","man bowing: medium-dark skin tone",1,[]],["🙇🏿♂️","man bowing: dark skin tone",1,[]],["🙇♀️","woman bowing",1,["apology","ask","beg","bow","bowing","favor","forgive","gesture","meditate","meditation","pity","regret","sorry","woman"]],["🙇🏻♀️","woman bowing: light skin tone",1,[]],["🙇🏼♀️","woman bowing: medium-light skin tone",1,[]],["🙇🏽♀️","woman bowing: medium skin tone",1,[]],["🙇🏾♀️","woman bowing: medium-dark skin tone",1,[]],["🙇🏿♀️","woman bowing: dark skin tone",1,[]],["🤦","person facepalming",1,["again","bewilder","disbelief","exasperation","facepalm","no","not","oh","omg","person","shock","smh"]],["🤦🏻","person facepalming: light skin tone",1,[]],["🤦🏼","person facepalming: medium-light skin tone",1,[]],["🤦🏽","person facepalming: medium skin tone",1,[]],["🤦🏾","person facepalming: medium-dark skin tone",1,[]],["🤦🏿","person facepalming: dark skin tone",1,[]],["🤦♂️","man facepalming",1,["again","bewilder","disbelief","exasperation","facepalm","man","no","not","oh","omg","shock","smh"]],["🤦🏻♂️","man facepalming: light skin tone",1,[]],["🤦🏼♂️","man facepalming: medium-light skin tone",1,[]],["🤦🏽♂️","man facepalming: medium skin tone",1,[]],["🤦🏾♂️","man facepalming: medium-dark skin tone",1,[]],["🤦🏿♂️","man facepalming: dark skin tone",1,[]],["🤦♀️","woman facepalming",1,["again","bewilder","disbelief","exasperation","facepalm","no","not","oh","omg","shock","smh","woman"]],["🤦🏻♀️","woman facepalming: light skin tone",1,[]],["🤦🏼♀️","woman facepalming: medium-light skin tone",1,[]],["🤦🏽♀️","woman facepalming: medium skin tone",1,[]],["🤦🏾♀️","woman facepalming: medium-dark skin tone",1,[]],["🤦🏿♀️","woman facepalming: dark skin tone",1,[]],["🤷","person shrugging",1,["doubt","dunno","guess","idk","ignorance","indifference","knows","maybe","person","shrug","shrugging","whatever","who"]],["🤷🏻","person shrugging: light skin tone",1,[]],["🤷🏼","person shrugging: medium-light skin tone",1,[]],["🤷🏽","person shrugging: medium skin tone",1,[]],["🤷🏾","person shrugging: medium-dark skin tone",1,[]],["🤷🏿","person shrugging: dark skin tone",1,[]],["🤷♂️","man shrugging",1,["doubt","dunno","guess","idk","ignorance","indifference","knows","man","maybe","shrug","shrugging","whatever","who"]],["🤷🏻♂️","man shrugging: light skin tone",1,[]],["🤷🏼♂️","man shrugging: medium-light skin tone",1,[]],["🤷🏽♂️","man shrugging: medium skin tone",1,[]],["🤷🏾♂️","man shrugging: medium-dark skin tone",1,[]],["🤷🏿♂️","man shrugging: dark skin tone",1,[]],["🤷♀️","woman shrugging",1,["doubt","dunno","guess","idk","ignorance","indifference","knows","maybe","shrug","shrugging","whatever","who","woman"]],["🤷🏻♀️","woman shrugging: light skin tone",1,[]],["🤷🏼♀️","woman shrugging: medium-light skin tone",1,[]],["🤷🏽♀️","woman shrugging: medium skin tone",1,[]],["🤷🏾♀️","woman shrugging: medium-dark skin tone",1,[]],["🤷🏿♀️","woman shrugging: dark skin tone",1,[]],["🧑⚕️","health worker",1,["doctor","health","healthcare","nurse","therapist","worker"]],["🧑🏻⚕️","health worker: light skin tone",1,[]],["🧑🏼⚕️","health worker: medium-light skin tone",1,[]],["🧑🏽⚕️","health worker: medium skin tone",1,[]],["🧑🏾⚕️","health worker: medium-dark skin tone",1,[]],["🧑🏿⚕️","health worker: dark skin tone",1,[]],["👨⚕️","man health worker",1,["doctor","health","healthcare","man","nurse","therapist","worker"]],["👨🏻⚕️","man health worker: light skin tone",1,[]],["👨🏼⚕️","man health worker: medium-light skin tone",1,[]],["👨🏽⚕️","man health worker: medium skin tone",1,[]],["👨🏾⚕️","man health worker: medium-dark skin tone",1,[]],["👨🏿⚕️","man health worker: dark skin tone",1,[]],["👩⚕️","woman health worker",1,["doctor","health","healthcare","nurse","therapist","woman","worker"]],["👩🏻⚕️","woman health worker: light skin tone",1,[]],["👩🏼⚕️","woman health worker: medium-light skin tone",1,[]],["👩🏽⚕️","woman health worker: medium skin tone",1,[]],["👩🏾⚕️","woman health worker: medium-dark skin tone",1,[]],["👩🏿⚕️","woman health worker: dark skin tone",1,[]],["🧑🎓","student",1,["graduate","student"]],["🧑🏻🎓","student: light skin tone",1,[]],["🧑🏼🎓","student: medium-light skin tone",1,[]],["🧑🏽🎓","student: medium skin tone",1,[]],["🧑🏾🎓","student: medium-dark skin tone",1,[]],["🧑🏿🎓","student: dark skin tone",1,[]],["👨🎓","man student",1,["graduate","man","student"]],["👨🏻🎓","man student: light skin tone",1,[]],["👨🏼🎓","man student: medium-light skin tone",1,[]],["👨🏽🎓","man student: medium skin tone",1,[]],["👨🏾🎓","man student: medium-dark skin tone",1,[]],["👨🏿🎓","man student: dark skin tone",1,[]],["👩🎓","woman student",1,["graduate","student","woman"]],["👩🏻🎓","woman student: light skin tone",1,[]],["👩🏼🎓","woman student: medium-light skin tone",1,[]],["👩🏽🎓","woman student: medium skin tone",1,[]],["👩🏾🎓","woman student: medium-dark skin tone",1,[]],["👩🏿🎓","woman student: dark skin tone",1,[]],["🧑🏫","teacher",1,["instructor","lecturer","professor","teacher"]],["🧑🏻🏫","teacher: light skin tone",1,[]],["🧑🏼🏫","teacher: medium-light skin tone",1,[]],["🧑🏽🏫","teacher: medium skin tone",1,[]],["🧑🏾🏫","teacher: medium-dark skin tone",1,[]],["🧑🏿🏫","teacher: dark skin tone",1,[]],["👨🏫","man teacher",1,["instructor","lecturer","man","professor","teacher"]],["👨🏻🏫","man teacher: light skin tone",1,[]],["👨🏼🏫","man teacher: medium-light skin tone",1,[]],["👨🏽🏫","man teacher: medium skin tone",1,[]],["👨🏾🏫","man teacher: medium-dark skin tone",1,[]],["👨🏿🏫","man teacher: dark skin tone",1,[]],["👩🏫","woman teacher",1,["instructor","lecturer","professor","teacher","woman"]],["👩🏻🏫","woman teacher: light skin tone",1,[]],["👩🏼🏫","woman teacher: medium-light skin tone",1,[]],["👩🏽🏫","woman teacher: medium skin tone",1,[]],["👩🏾🏫","woman teacher: medium-dark skin tone",1,[]],["👩🏿🏫","woman teacher: dark skin tone",1,[]],["🧑⚖️","judge",1,["judge","justice","law","scales"]],["🧑🏻⚖️","judge: light skin tone",1,[]],["🧑🏼⚖️","judge: medium-light skin tone",1,[]],["🧑🏽⚖️","judge: medium skin tone",1,[]],["🧑🏾⚖️","judge: medium-dark skin tone",1,[]],["🧑🏿⚖️","judge: dark skin tone",1,[]],["👨⚖️","man judge",1,["judge","justice","law","man","scales"]],["👨🏻⚖️","man judge: light skin tone",1,[]],["👨🏼⚖️","man judge: medium-light skin tone",1,[]],["👨🏽⚖️","man judge: medium skin tone",1,[]],["👨🏾⚖️","man judge: medium-dark skin tone",1,[]],["👨🏿⚖️","man judge: dark skin tone",1,[]],["👩⚖️","woman judge",1,["judge","justice","law","scales","woman"]],["👩🏻⚖️","woman judge: light skin tone",1,[]],["👩🏼⚖️","woman judge: medium-light skin tone",1,[]],["👩🏽⚖️","woman judge: medium skin tone",1,[]],["👩🏾⚖️","woman judge: medium-dark skin tone",1,[]],["👩🏿⚖️","woman judge: dark skin tone",1,[]],["🧑🌾","farmer",1,["farmer","gardener","rancher"]],["🧑🏻🌾","farmer: light skin tone",1,[]],["🧑🏼🌾","farmer: medium-light skin tone",1,[]],["🧑🏽🌾","farmer: medium skin tone",1,[]],["🧑🏾🌾","farmer: medium-dark skin tone",1,[]],["🧑🏿🌾","farmer: dark skin tone",1,[]],["👨🌾","man farmer",1,["farmer","gardener","man","rancher"]],["👨🏻🌾","man farmer: light skin tone",1,[]],["👨🏼🌾","man farmer: medium-light skin tone",1,[]],["👨🏽🌾","man farmer: medium skin tone",1,[]],["👨🏾🌾","man farmer: medium-dark skin tone",1,[]],["👨🏿🌾","man farmer: dark skin tone",1,[]],["👩🌾","woman farmer",1,["farmer","gardener","rancher","woman"]],["👩🏻🌾","woman farmer: light skin tone",1,[]],["👩🏼🌾","woman farmer: medium-light skin tone",1,[]],["👩🏽🌾","woman farmer: medium skin tone",1,[]],["👩🏾🌾","woman farmer: medium-dark skin tone",1,[]],["👩🏿🌾","woman farmer: dark skin tone",1,[]],["🧑🍳","cook",1,["chef","cook"]],["🧑🏻🍳","cook: light skin tone",1,[]],["🧑🏼🍳","cook: medium-light skin tone",1,[]],["🧑🏽🍳","cook: medium skin tone",1,[]],["🧑🏾🍳","cook: medium-dark skin tone",1,[]],["🧑🏿🍳","cook: dark skin tone",1,[]],["👨🍳","man cook",1,["chef","cook","man"]],["👨🏻🍳","man cook: light skin tone",1,[]],["👨🏼🍳","man cook: medium-light skin tone",1,[]],["👨🏽🍳","man cook: medium skin tone",1,[]],["👨🏾🍳","man cook: medium-dark skin tone",1,[]],["👨🏿🍳","man cook: dark skin tone",1,[]],["👩🍳","woman cook",1,["chef","cook","woman"]],["👩🏻🍳","woman cook: light skin tone",1,[]],["👩🏼🍳","woman cook: medium-light skin tone",1,[]],["👩🏽🍳","woman cook: medium skin tone",1,[]],["👩🏾🍳","woman cook: medium-dark skin tone",1,[]],["👩🏿🍳","woman cook: dark skin tone",1,[]],["🧑🔧","mechanic",1,["electrician","mechanic","plumber","tradesperson"]],["🧑🏻🔧","mechanic: light skin tone",1,[]],["🧑🏼🔧","mechanic: medium-light skin tone",1,[]],["🧑🏽🔧","mechanic: medium skin tone",1,[]],["🧑🏾🔧","mechanic: medium-dark skin tone",1,[]],["🧑🏿🔧","mechanic: dark skin tone",1,[]],["👨🔧","man mechanic",1,["electrician","man","mechanic","plumber","tradesperson"]],["👨🏻🔧","man mechanic: light skin tone",1,[]],["👨🏼🔧","man mechanic: medium-light skin tone",1,[]],["👨🏽🔧","man mechanic: medium skin tone",1,[]],["👨🏾🔧","man mechanic: medium-dark skin tone",1,[]],["👨🏿🔧","man mechanic: dark skin tone",1,[]],["👩🔧","woman mechanic",1,["electrician","mechanic","plumber","tradesperson","woman"]],["👩🏻🔧","woman mechanic: light skin tone",1,[]],["👩🏼🔧","woman mechanic: medium-light skin tone",1,[]],["👩🏽🔧","woman mechanic: medium skin tone",1,[]],["👩🏾🔧","woman mechanic: medium-dark skin tone",1,[]],["👩🏿🔧","woman mechanic: dark skin tone",1,[]],["🧑🏭","factory worker",1,["assembly","factory","industrial","worker"]],["🧑🏻🏭","factory worker: light skin tone",1,[]],["🧑🏼🏭","factory worker: medium-light skin tone",1,[]],["🧑🏽🏭","factory worker: medium skin tone",1,[]],["🧑🏾🏭","factory worker: medium-dark skin tone",1,[]],["🧑🏿🏭","factory worker: dark skin tone",1,[]],["👨🏭","man factory worker",1,["assembly","factory","industrial","man","worker"]],["👨🏻🏭","man factory worker: light skin tone",1,[]],["👨🏼🏭","man factory worker: medium-light skin tone",1,[]],["👨🏽🏭","man factory worker: medium skin tone",1,[]],["👨🏾🏭","man factory worker: medium-dark skin tone",1,[]],["👨🏿🏭","man factory worker: dark skin tone",1,[]],["👩🏭","woman factory worker",1,["assembly","factory","industrial","woman","worker"]],["👩🏻🏭","woman factory worker: light skin tone",1,[]],["👩🏼🏭","woman factory worker: medium-light skin tone",1,[]],["👩🏽🏭","woman factory worker: medium skin tone",1,[]],["👩🏾🏭","woman factory worker: medium-dark skin tone",1,[]],["👩🏿🏭","woman factory worker: dark skin tone",1,[]],["🧑💼","office worker",1,["architect","business","manager","office","white-collar","worker"]],["🧑🏻💼","office worker: light skin tone",1,[]],["🧑🏼💼","office worker: medium-light skin tone",1,[]],["🧑🏽💼","office worker: medium skin tone",1,[]],["🧑🏾💼","office worker: medium-dark skin tone",1,[]],["🧑🏿💼","office worker: dark skin tone",1,[]],["👨💼","man office worker",1,["architect","business","man","manager","office","white-collar","worker"]],["👨🏻💼","man office worker: light skin tone",1,[]],["👨🏼💼","man office worker: medium-light skin tone",1,[]],["👨🏽💼","man office worker: medium skin tone",1,[]],["👨🏾💼","man office worker: medium-dark skin tone",1,[]],["👨🏿💼","man office worker: dark skin tone",1,[]],["👩💼","woman office worker",1,["architect","business","manager","office","white-collar","woman","worker"]],["👩🏻💼","woman office worker: light skin tone",1,[]],["👩🏼💼","woman office worker: medium-light skin tone",1,[]],["👩🏽💼","woman office worker: medium skin tone",1,[]],["👩🏾💼","woman office worker: medium-dark skin tone",1,[]],["👩🏿💼","woman office worker: dark skin tone",1,[]],["🧑🔬","scientist",1,["biologist","chemist","engineer","mathematician","physicist","scientist"]],["🧑🏻🔬","scientist: light skin tone",1,[]],["🧑🏼🔬","scientist: medium-light skin tone",1,[]],["🧑🏽🔬","scientist: medium skin tone",1,[]],["🧑🏾🔬","scientist: medium-dark skin tone",1,[]],["🧑🏿🔬","scientist: dark skin tone",1,[]],["👨🔬","man scientist",1,["biologist","chemist","engineer","man","mathematician","physicist","scientist"]],["👨🏻🔬","man scientist: light skin tone",1,[]],["👨🏼🔬","man scientist: medium-light skin tone",1,[]],["👨🏽🔬","man scientist: medium skin tone",1,[]],["👨🏾🔬","man scientist: medium-dark skin tone",1,[]],["👨🏿🔬","man scientist: dark skin tone",1,[]],["👩🔬","woman scientist",1,["biologist","chemist","engineer","mathematician","physicist","scientist","woman"]],["👩🏻🔬","woman scientist: light skin tone",1,[]],["👩🏼🔬","woman scientist: medium-light skin tone",1,[]],["👩🏽🔬","woman scientist: medium skin tone",1,[]],["👩🏾🔬","woman scientist: medium-dark skin tone",1,[]],["👩🏿🔬","woman scientist: dark skin tone",1,[]],["🧑💻","technologist",1,["coder","computer","developer","inventor","software","technologist"]],["🧑🏻💻","technologist: light skin tone",1,[]],["🧑🏼💻","technologist: medium-light skin tone",1,[]],["🧑🏽💻","technologist: medium skin tone",1,[]],["🧑🏾💻","technologist: medium-dark skin tone",1,[]],["🧑🏿💻","technologist: dark skin tone",1,[]],["👨💻","man technologist",1,["coder","computer","developer","inventor","man","software","technologist"]],["👨🏻💻","man technologist: light skin tone",1,[]],["👨🏼💻","man technologist: medium-light skin tone",1,[]],["👨🏽💻","man technologist: medium skin tone",1,[]],["👨🏾💻","man technologist: medium-dark skin tone",1,[]],["👨🏿💻","man technologist: dark skin tone",1,[]],["👩💻","woman technologist",1,["coder","computer","developer","inventor","software","technologist","woman"]],["👩🏻💻","woman technologist: light skin tone",1,[]],["👩🏼💻","woman technologist: medium-light skin tone",1,[]],["👩🏽💻","woman technologist: medium skin tone",1,[]],["👩🏾💻","woman technologist: medium-dark skin tone",1,[]],["👩🏿💻","woman technologist: dark skin tone",1,[]],["🧑🎤","singer",1,["actor","entertainer","rock","rockstar","singer","star"]],["🧑🏻🎤","singer: light skin tone",1,[]],["🧑🏼🎤","singer: medium-light skin tone",1,[]],["🧑🏽🎤","singer: medium skin tone",1,[]],["🧑🏾🎤","singer: medium-dark skin tone",1,[]],["🧑🏿🎤","singer: dark skin tone",1,[]],["👨🎤","man singer",1,["actor","entertainer","man","rock","rockstar","singer","star"]],["👨🏻🎤","man singer: light skin tone",1,[]],["👨🏼🎤","man singer: medium-light skin tone",1,[]],["👨🏽🎤","man singer: medium skin tone",1,[]],["👨🏾🎤","man singer: medium-dark skin tone",1,[]],["👨🏿🎤","man singer: dark skin tone",1,[]],["👩🎤","woman singer",1,["actor","entertainer","rock","rockstar","singer","star","woman"]],["👩🏻🎤","woman singer: light skin tone",1,[]],["👩🏼🎤","woman singer: medium-light skin tone",1,[]],["👩🏽🎤","woman singer: medium skin tone",1,[]],["👩🏾🎤","woman singer: medium-dark skin tone",1,[]],["👩🏿🎤","woman singer: dark skin tone",1,[]],["🧑🎨","artist",1,["artist","palette"]],["🧑🏻🎨","artist: light skin tone",1,[]],["🧑🏼🎨","artist: medium-light skin tone",1,[]],["🧑🏽🎨","artist: medium skin tone",1,[]],["🧑🏾🎨","artist: medium-dark skin tone",1,[]],["🧑🏿🎨","artist: dark skin tone",1,[]],["👨🎨","man artist",1,["artist","man","palette"]],["👨🏻🎨","man artist: light skin tone",1,[]],["👨🏼🎨","man artist: medium-light skin tone",1,[]],["👨🏽🎨","man artist: medium skin tone",1,[]],["👨🏾🎨","man artist: medium-dark skin tone",1,[]],["👨🏿🎨","man artist: dark skin tone",1,[]],["👩🎨","woman artist",1,["artist","palette","woman"]],["👩🏻🎨","woman artist: light skin tone",1,[]],["👩🏼🎨","woman artist: medium-light skin tone",1,[]],["👩🏽🎨","woman artist: medium skin tone",1,[]],["👩🏾🎨","woman artist: medium-dark skin tone",1,[]],["👩🏿🎨","woman artist: dark skin tone",1,[]],["🧑✈️","pilot",1,["pilot","plane"]],["🧑🏻✈️","pilot: light skin tone",1,[]],["🧑🏼✈️","pilot: medium-light skin tone",1,[]],["🧑🏽✈️","pilot: medium skin tone",1,[]],["🧑🏾✈️","pilot: medium-dark skin tone",1,[]],["🧑🏿✈️","pilot: dark skin tone",1,[]],["👨✈️","man pilot",1,["man","pilot","plane"]],["👨🏻✈️","man pilot: light skin tone",1,[]],["👨🏼✈️","man pilot: medium-light skin tone",1,[]],["👨🏽✈️","man pilot: medium skin tone",1,[]],["👨🏾✈️","man pilot: medium-dark skin tone",1,[]],["👨🏿✈️","man pilot: dark skin tone",1,[]],["👩✈️","woman pilot",1,["pilot","plane","woman"]],["👩🏻✈️","woman pilot: light skin tone",1,[]],["👩🏼✈️","woman pilot: medium-light skin tone",1,[]],["👩🏽✈️","woman pilot: medium skin tone",1,[]],["👩🏾✈️","woman pilot: medium-dark skin tone",1,[]],["👩🏿✈️","woman pilot: dark skin tone",1,[]],["🧑🚀","astronaut",1,["astronaut","rocket","space"]],["🧑🏻🚀","astronaut: light skin tone",1,[]],["🧑🏼🚀","astronaut: medium-light skin tone",1,[]],["🧑🏽🚀","astronaut: medium skin tone",1,[]],["🧑🏾🚀","astronaut: medium-dark skin tone",1,[]],["🧑🏿🚀","astronaut: dark skin tone",1,[]],["👨🚀","man astronaut",1,["astronaut","man","rocket","space"]],["👨🏻🚀","man astronaut: light skin tone",1,[]],["👨🏼🚀","man astronaut: medium-light skin tone",1,[]],["👨🏽🚀","man astronaut: medium skin tone",1,[]],["👨🏾🚀","man astronaut: medium-dark skin tone",1,[]],["👨🏿🚀","man astronaut: dark skin tone",1,[]],["👩🚀","woman astronaut",1,["astronaut","rocket","space","woman"]],["👩🏻🚀","woman astronaut: light skin tone",1,[]],["👩🏼🚀","woman astronaut: medium-light skin tone",1,[]],["👩🏽🚀","woman astronaut: medium skin tone",1,[]],["👩🏾🚀","woman astronaut: medium-dark skin tone",1,[]],["👩🏿🚀","woman astronaut: dark skin tone",1,[]],["🧑🚒","firefighter",1,["fire","firefighter","firetruck"]],["🧑🏻🚒","firefighter: light skin tone",1,[]],["🧑🏼🚒","firefighter: medium-light skin tone",1,[]],["🧑🏽🚒","firefighter: medium skin tone",1,[]],["🧑🏾🚒","firefighter: medium-dark skin tone",1,[]],["🧑🏿🚒","firefighter: dark skin tone",1,[]],["👨🚒","man firefighter",1,["fire","firefighter","firetruck","man"]],["👨🏻🚒","man firefighter: light skin tone",1,[]],["👨🏼🚒","man firefighter: medium-light skin tone",1,[]],["👨🏽🚒","man firefighter: medium skin tone",1,[]],["👨🏾🚒","man firefighter: medium-dark skin tone",1,[]],["👨🏿🚒","man firefighter: dark skin tone",1,[]],["👩🚒","woman firefighter",1,["fire","firefighter","firetruck","woman"]],["👩🏻🚒","woman firefighter: light skin tone",1,[]],["👩🏼🚒","woman firefighter: medium-light skin tone",1,[]],["👩🏽🚒","woman firefighter: medium skin tone",1,[]],["👩🏾🚒","woman firefighter: medium-dark skin tone",1,[]],["👩🏿🚒","woman firefighter: dark skin tone",1,[]],["👮","police officer",1,["apprehend","arrest","citation","cop","law","officer","over","police","pulled","undercover"]],["👮🏻","police officer: light skin tone",1,[]],["👮🏼","police officer: medium-light skin tone",1,[]],["👮🏽","police officer: medium skin tone",1,[]],["👮🏾","police officer: medium-dark skin tone",1,[]],["👮🏿","police officer: dark skin tone",1,[]],["👮♂️","man police officer",1,["apprehend","arrest","citation","cop","law","man","officer","over","police","pulled","undercover"]],["👮🏻♂️","man police officer: light skin tone",1,[]],["👮🏼♂️","man police officer: medium-light skin tone",1,[]],["👮🏽♂️","man police officer: medium skin tone",1,[]],["👮🏾♂️","man police officer: medium-dark skin tone",1,[]],["👮🏿♂️","man police officer: dark skin tone",1,[]],["👮♀️","woman police officer",1,["apprehend","arrest","citation","cop","law","officer","over","police","pulled","undercover","woman"]],["👮🏻♀️","woman police officer: light skin tone",1,[]],["👮🏼♀️","woman police officer: medium-light skin tone",1,[]],["👮🏽♀️","woman police officer: medium skin tone",1,[]],["👮🏾♀️","woman police officer: medium-dark skin tone",1,[]],["👮🏿♀️","woman police officer: dark skin tone",1,[]],["🕵️","detective",1,["detective","sleuth","spy"]],["🕵🏻","detective: light skin tone",1,[]],["🕵🏼","detective: medium-light skin tone",1,[]],["🕵🏽","detective: medium skin tone",1,[]],["🕵🏾","detective: medium-dark skin tone",1,[]],["🕵🏿","detective: dark skin tone",1,[]],["🕵️♂️","man detective",1,["detective","man","sleuth","spy"]],["🕵🏻♂️","man detective: light skin tone",1,[]],["🕵🏼♂️","man detective: medium-light skin tone",1,[]],["🕵🏽♂️","man detective: medium skin tone",1,[]],["🕵🏾♂️","man detective: medium-dark skin tone",1,[]],["🕵🏿♂️","man detective: dark skin tone",1,[]],["🕵️♀️","woman detective",1,["detective","sleuth","spy","woman"]],["🕵🏻♀️","woman detective: light skin tone",1,[]],["🕵🏼♀️","woman detective: medium-light skin tone",1,[]],["🕵🏽♀️","woman detective: medium skin tone",1,[]],["🕵🏾♀️","woman detective: medium-dark skin tone",1,[]],["🕵🏿♀️","woman detective: dark skin tone",1,[]],["💂","guard",1,["buckingham","guard","helmet","london","palace"]],["💂🏻","guard: light skin tone",1,[]],["💂🏼","guard: medium-light skin tone",1,[]],["💂🏽","guard: medium skin tone",1,[]],["💂🏾","guard: medium-dark skin tone",1,[]],["💂🏿","guard: dark skin tone",1,[]],["💂♂️","man guard",1,["buckingham","guard","helmet","london","man","palace"]],["💂🏻♂️","man guard: light skin tone",1,[]],["💂🏼♂️","man guard: medium-light skin tone",1,[]],["💂🏽♂️","man guard: medium skin tone",1,[]],["💂🏾♂️","man guard: medium-dark skin tone",1,[]],["💂🏿♂️","man guard: dark skin tone",1,[]],["💂♀️","woman guard",1,["buckingham","guard","helmet","london","palace","woman"]],["💂🏻♀️","woman guard: light skin tone",1,[]],["💂🏼♀️","woman guard: medium-light skin tone",1,[]],["💂🏽♀️","woman guard: medium skin tone",1,[]],["💂🏾♀️","woman guard: medium-dark skin tone",1,[]],["💂🏿♀️","woman guard: dark skin tone",1,[]],["🥷","ninja",1,["assassin","fight","fighter","hidden","ninja","person","secret","skills","sly","soldier","stealth","war"]],["🥷🏻","ninja: light skin tone",1,[]],["🥷🏼","ninja: medium-light skin tone",1,[]],["🥷🏽","ninja: medium skin tone",1,[]],["🥷🏾","ninja: medium-dark skin tone",1,[]],["🥷🏿","ninja: dark skin tone",1,[]],["👷","construction worker",1,["build","construction","fix","hardhat","hat","man","person","rebuild","remodel","repair","work","worker"]],["👷🏻","construction worker: light skin tone",1,[]],["👷🏼","construction worker: medium-light skin tone",1,[]],["👷🏽","construction worker: medium skin tone",1,[]],["👷🏾","construction worker: medium-dark skin tone",1,[]],["👷🏿","construction worker: dark skin tone",1,[]],["👷♂️","man construction worker",1,["build","construction","fix","hardhat","hat","man","rebuild","remodel","repair","work","worker"]],["👷🏻♂️","man construction worker: light skin tone",1,[]],["👷🏼♂️","man construction worker: medium-light skin tone",1,[]],["👷🏽♂️","man construction worker: medium skin tone",1,[]],["👷🏾♂️","man construction worker: medium-dark skin tone",1,[]],["👷🏿♂️","man construction worker: dark skin tone",1,[]],["👷♀️","woman construction worker",1,["build","construction","fix","hardhat","hat","man","rebuild","remodel","repair","woman","work","worker"]],["👷🏻♀️","woman construction worker: light skin tone",1,[]],["👷🏼♀️","woman construction worker: medium-light skin tone",1,[]],["👷🏽♀️","woman construction worker: medium skin tone",1,[]],["👷🏾♀️","woman construction worker: medium-dark skin tone",1,[]],["👷🏿♀️","woman construction worker: dark skin tone",1,[]],["🫅","person with crown",1,["crown","monarch","noble","person","regal","royal","royalty"]],["🫅🏻","person with crown: light skin tone",1,[]],["🫅🏼","person with crown: medium-light skin tone",1,[]],["🫅🏽","person with crown: medium skin tone",1,[]],["🫅🏾","person with crown: medium-dark skin tone",1,[]],["🫅🏿","person with crown: dark skin tone",1,[]],["🤴","prince",1,["crown","fairy","fairytale","fantasy","king","prince","royal","royalty","tale"]],["🤴🏻","prince: light skin tone",1,[]],["🤴🏼","prince: medium-light skin tone",1,[]],["🤴🏽","prince: medium skin tone",1,[]],["🤴🏾","prince: medium-dark skin tone",1,[]],["🤴🏿","prince: dark skin tone",1,[]],["👸","princess",1,["crown","fairy","fairytale","fantasy","princess","queen","royal","royalty","tale"]],["👸🏻","princess: light skin tone",1,[]],["👸🏼","princess: medium-light skin tone",1,[]],["👸🏽","princess: medium skin tone",1,[]],["👸🏾","princess: medium-dark skin tone",1,[]],["👸🏿","princess: dark skin tone",1,[]],["👳","person wearing turban",1,["person","turban","wearing"]],["👳🏻","person wearing turban: light skin tone",1,[]],["👳🏼","person wearing turban: medium-light skin tone",1,[]],["👳🏽","person wearing turban: medium skin tone",1,[]],["👳🏾","person wearing turban: medium-dark skin tone",1,[]],["👳🏿","person wearing turban: dark skin tone",1,[]],["👳♂️","man wearing turban",1,["man","turban","wearing"]],["👳🏻♂️","man wearing turban: light skin tone",1,[]],["👳🏼♂️","man wearing turban: medium-light skin tone",1,[]],["👳🏽♂️","man wearing turban: medium skin tone",1,[]],["👳🏾♂️","man wearing turban: medium-dark skin tone",1,[]],["👳🏿♂️","man wearing turban: dark skin tone",1,[]],["👳♀️","woman wearing turban",1,["turban","wearing","woman"]],["👳🏻♀️","woman wearing turban: light skin tone",1,[]],["👳🏼♀️","woman wearing turban: medium-light skin tone",1,[]],["👳🏽♀️","woman wearing turban: medium skin tone",1,[]],["👳🏾♀️","woman wearing turban: medium-dark skin tone",1,[]],["👳🏿♀️","woman wearing turban: dark skin tone",1,[]],["👲","person with skullcap",1,["cap","Chinese","gua","guapi","hat","mao","person","pi","skullcap"]],["👲🏻","person with skullcap: light skin tone",1,[]],["👲🏼","person with skullcap: medium-light skin tone",1,[]],["👲🏽","person with skullcap: medium skin tone",1,[]],["👲🏾","person with skullcap: medium-dark skin tone",1,[]],["👲🏿","person with skullcap: dark skin tone",1,[]],["🧕","woman with headscarf",1,["bandana","head","headscarf","hijab","kerchief","mantilla","tichel","woman"]],["🧕🏻","woman with headscarf: light skin tone",1,[]],["🧕🏼","woman with headscarf: medium-light skin tone",1,[]],["🧕🏽","woman with headscarf: medium skin tone",1,[]],["🧕🏾","woman with headscarf: medium-dark skin tone",1,[]],["🧕🏿","woman with headscarf: dark skin tone",1,[]],["🤵","person in tuxedo",1,["formal","person","tuxedo","wedding"]],["🤵🏻","person in tuxedo: light skin tone",1,[]],["🤵🏼","person in tuxedo: medium-light skin tone",1,[]],["🤵🏽","person in tuxedo: medium skin tone",1,[]],["🤵🏾","person in tuxedo: medium-dark skin tone",1,[]],["🤵🏿","person in tuxedo: dark skin tone",1,[]],["🤵♂️","man in tuxedo",1,["formal","groom","man","tuxedo","wedding"]],["🤵🏻♂️","man in tuxedo: light skin tone",1,[]],["🤵🏼♂️","man in tuxedo: medium-light skin tone",1,[]],["🤵🏽♂️","man in tuxedo: medium skin tone",1,[]],["🤵🏾♂️","man in tuxedo: medium-dark skin tone",1,[]],["🤵🏿♂️","man in tuxedo: dark skin tone",1,[]],["🤵♀️","woman in tuxedo",1,["formal","tuxedo","wedding","woman"]],["🤵🏻♀️","woman in tuxedo: light skin tone",1,[]],["🤵🏼♀️","woman in tuxedo: medium-light skin tone",1,[]],["🤵🏽♀️","woman in tuxedo: medium skin tone",1,[]],["🤵🏾♀️","woman in tuxedo: medium-dark skin tone",1,[]],["🤵🏿♀️","woman in tuxedo: dark skin tone",1,[]],["👰","person with veil",1,["person","veil","wedding"]],["👰🏻","person with veil: light skin tone",1,[]],["👰🏼","person with veil: medium-light skin tone",1,[]],["👰🏽","person with veil: medium skin tone",1,[]],["👰🏾","person with veil: medium-dark skin tone",1,[]],["👰🏿","person with veil: dark skin tone",1,[]],["👰♂️","man with veil",1,["man","veil","wedding"]],["👰🏻♂️","man with veil: light skin tone",1,[]],["👰🏼♂️","man with veil: medium-light skin tone",1,[]],["👰🏽♂️","man with veil: medium skin tone",1,[]],["👰🏾♂️","man with veil: medium-dark skin tone",1,[]],["👰🏿♂️","man with veil: dark skin tone",1,[]],["👰♀️","woman with veil",1,["bride","veil","wedding","woman"]],["👰🏻♀️","woman with veil: light skin tone",1,[]],["👰🏼♀️","woman with veil: medium-light skin tone",1,[]],["👰🏽♀️","woman with veil: medium skin tone",1,[]],["👰🏾♀️","woman with veil: medium-dark skin tone",1,[]],["👰🏿♀️","woman with veil: dark skin tone",1,[]],["🤰","pregnant woman",1,["pregnant","woman"]],["🤰🏻","pregnant woman: light skin tone",1,[]],["🤰🏼","pregnant woman: medium-light skin tone",1,[]],["🤰🏽","pregnant woman: medium skin tone",1,[]],["🤰🏾","pregnant woman: medium-dark skin tone",1,[]],["🤰🏿","pregnant woman: dark skin tone",1,[]],["🫃","pregnant man",1,["belly","bloated","full","man","overeat","pregnant"]],["🫃🏻","pregnant man: light skin tone",1,[]],["🫃🏼","pregnant man: medium-light skin tone",1,[]],["🫃🏽","pregnant man: medium skin tone",1,[]],["🫃🏾","pregnant man: medium-dark skin tone",1,[]],["🫃🏿","pregnant man: dark skin tone",1,[]],["🫄","pregnant person",1,["belly","bloated","full","overeat","person","pregnant","stuffed"]],["🫄🏻","pregnant person: light skin tone",1,[]],["🫄🏼","pregnant person: medium-light skin tone",1,[]],["🫄🏽","pregnant person: medium skin tone",1,[]],["🫄🏾","pregnant person: medium-dark skin tone",1,[]],["🫄🏿","pregnant person: dark skin tone",1,[]],["🤱","breast-feeding",1,["baby","breast","breast-feeding","feeding","mom","mother","nursing","woman"]],["🤱🏻","breast-feeding: light skin tone",1,[]],["🤱🏼","breast-feeding: medium-light skin tone",1,[]],["🤱🏽","breast-feeding: medium skin tone",1,[]],["🤱🏾","breast-feeding: medium-dark skin tone",1,[]],["🤱🏿","breast-feeding: dark skin tone",1,[]],["👩🍼","woman feeding baby",1,["baby","feed","feeding","mom","mother","nanny","newborn","nursing","woman"]],["👩🏻🍼","woman feeding baby: light skin tone",1,[]],["👩🏼🍼","woman feeding baby: medium-light skin tone",1,[]],["👩🏽🍼","woman feeding baby: medium skin tone",1,[]],["👩🏾🍼","woman feeding baby: medium-dark skin tone",1,[]],["👩🏿🍼","woman feeding baby: dark skin tone",1,[]],["👨🍼","man feeding baby",1,["baby","dad","father","feed","feeding","man","nanny","newborn","nursing"]],["👨🏻🍼","man feeding baby: light skin tone",1,[]],["👨🏼🍼","man feeding baby: medium-light skin tone",1,[]],["👨🏽🍼","man feeding baby: medium skin tone",1,[]],["👨🏾🍼","man feeding baby: medium-dark skin tone",1,[]],["👨🏿🍼","man feeding baby: dark skin tone",1,[]],["🧑🍼","person feeding baby",1,["baby","feed","feeding","nanny","newborn","nursing","parent"]],["🧑🏻🍼","person feeding baby: light skin tone",1,[]],["🧑🏼🍼","person feeding baby: medium-light skin tone",1,[]],["🧑🏽🍼","person feeding baby: medium skin tone",1,[]],["🧑🏾🍼","person feeding baby: medium-dark skin tone",1,[]],["🧑🏿🍼","person feeding baby: dark skin tone",1,[]],["👼","baby angel",1,["angel","baby","church","face","fairy","fairytale","fantasy","tale"]],["👼🏻","baby angel: light skin tone",1,[]],["👼🏼","baby angel: medium-light skin tone",1,[]],["👼🏽","baby angel: medium skin tone",1,[]],["👼🏾","baby angel: medium-dark skin tone",1,[]],["👼🏿","baby angel: dark skin tone",1,[]],["🎅","Santa Claus",1,["celebration","Christmas","claus","fairy","fantasy","father","holiday","merry","santa","tale","xmas"]],["🎅🏻","Santa Claus: light skin tone",1,[]],["🎅🏼","Santa Claus: medium-light skin tone",1,[]],["🎅🏽","Santa Claus: medium skin tone",1,[]],["🎅🏾","Santa Claus: medium-dark skin tone",1,[]],["🎅🏿","Santa Claus: dark skin tone",1,[]],["🤶","Mrs. Claus",1,["celebration","Christmas","claus","fairy","fantasy","holiday","merry","mother","Mrs","santa","tale","xmas"]],["🤶🏻","Mrs. Claus: light skin tone",1,[]],["🤶🏼","Mrs. Claus: medium-light skin tone",1,[]],["🤶🏽","Mrs. Claus: medium skin tone",1,[]],["🤶🏾","Mrs. Claus: medium-dark skin tone",1,[]],["🤶🏿","Mrs. Claus: dark skin tone",1,[]],["🧑🎄","Mx Claus",1,["celebration","Christmas","claus","fairy","fantasy","holiday","merry","Mx","santa","tale","xmas"]],["🧑🏻🎄","Mx Claus: light skin tone",1,[]],["🧑🏼🎄","Mx Claus: medium-light skin tone",1,[]],["🧑🏽🎄","Mx Claus: medium skin tone",1,[]],["🧑🏾🎄","Mx Claus: medium-dark skin tone",1,[]],["🧑🏿🎄","Mx Claus: dark skin tone",1,[]],["🦸","superhero",1,["good","hero","superhero","superpower"]],["🦸🏻","superhero: light skin tone",1,[]],["🦸🏼","superhero: medium-light skin tone",1,[]],["🦸🏽","superhero: medium skin tone",1,[]],["🦸🏾","superhero: medium-dark skin tone",1,[]],["🦸🏿","superhero: dark skin tone",1,[]],["🦸♂️","man superhero",1,["good","hero","man","superhero","superpower"]],["🦸🏻♂️","man superhero: light skin tone",1,[]],["🦸🏼♂️","man superhero: medium-light skin tone",1,[]],["🦸🏽♂️","man superhero: medium skin tone",1,[]],["🦸🏾♂️","man superhero: medium-dark skin tone",1,[]],["🦸🏿♂️","man superhero: dark skin tone",1,[]],["🦸♀️","woman superhero",1,["good","hero","heroine","superhero","superpower","woman"]],["🦸🏻♀️","woman superhero: light skin tone",1,[]],["🦸🏼♀️","woman superhero: medium-light skin tone",1,[]],["🦸🏽♀️","woman superhero: medium skin tone",1,[]],["🦸🏾♀️","woman superhero: medium-dark skin tone",1,[]],["🦸🏿♀️","woman superhero: dark skin tone",1,[]],["🦹","supervillain",1,["bad","criminal","evil","superpower","supervillain","villain"]],["🦹🏻","supervillain: light skin tone",1,[]],["🦹🏼","supervillain: medium-light skin tone",1,[]],["🦹🏽","supervillain: medium skin tone",1,[]],["🦹🏾","supervillain: medium-dark skin tone",1,[]],["🦹🏿","supervillain: dark skin tone",1,[]],["🦹♂️","man supervillain",1,["bad","criminal","evil","man","superpower","supervillain","villain"]],["🦹🏻♂️","man supervillain: light skin tone",1,[]],["🦹🏼♂️","man supervillain: medium-light skin tone",1,[]],["🦹🏽♂️","man supervillain: medium skin tone",1,[]],["🦹🏾♂️","man supervillain: medium-dark skin tone",1,[]],["🦹🏿♂️","man supervillain: dark skin tone",1,[]],["🦹♀️","woman supervillain",1,["bad","criminal","evil","superpower","supervillain","villain","woman"]],["🦹🏻♀️","woman supervillain: light skin tone",1,[]],["🦹🏼♀️","woman supervillain: medium-light skin tone",1,[]],["🦹🏽♀️","woman supervillain: medium skin tone",1,[]],["🦹🏾♀️","woman supervillain: medium-dark skin tone",1,[]],["🦹🏿♀️","woman supervillain: dark skin tone",1,[]],["🧙","mage",1,["fantasy","mage","magic","play","sorcerer","sorceress","sorcery","spell","summon","witch","wizard"]],["🧙🏻","mage: light skin tone",1,[]],["🧙🏼","mage: medium-light skin tone",1,[]],["🧙🏽","mage: medium skin tone",1,[]],["🧙🏾","mage: medium-dark skin tone",1,[]],["🧙🏿","mage: dark skin tone",1,[]],["🧙♂️","man mage",1,["fantasy","mage","magic","man","play","sorcerer","sorceress","sorcery","spell","summon","witch","wizard"]],["🧙🏻♂️","man mage: light skin tone",1,[]],["🧙🏼♂️","man mage: medium-light skin tone",1,[]],["🧙🏽♂️","man mage: medium skin tone",1,[]],["🧙🏾♂️","man mage: medium-dark skin tone",1,[]],["🧙🏿♂️","man mage: dark skin tone",1,[]],["🧙♀️","woman mage",1,["fantasy","mage","magic","play","sorcerer","sorceress","sorcery","spell","summon","witch","wizard","woman"]],["🧙🏻♀️","woman mage: light skin tone",1,[]],["🧙🏼♀️","woman mage: medium-light skin tone",1,[]],["🧙🏽♀️","woman mage: medium skin tone",1,[]],["🧙🏾♀️","woman mage: medium-dark skin tone",1,[]],["🧙🏿♀️","woman mage: dark skin tone",1,[]],["🧚","fairy",1,["fairy","fairytale","fantasy","myth","person","pixie","tale","wings"]],["🧚🏻","fairy: light skin tone",1,[]],["🧚🏼","fairy: medium-light skin tone",1,[]],["🧚🏽","fairy: medium skin tone",1,[]],["🧚🏾","fairy: medium-dark skin tone",1,[]],["🧚🏿","fairy: dark skin tone",1,[]],["🧚♂️","man fairy",1,["fairy","fairytale","fantasy","man","myth","Oberon","person","pixie","Puck","tale","wings"]],["🧚🏻♂️","man fairy: light skin tone",1,[]],["🧚🏼♂️","man fairy: medium-light skin tone",1,[]],["🧚🏽♂️","man fairy: medium skin tone",1,[]],["🧚🏾♂️","man fairy: medium-dark skin tone",1,[]],["🧚🏿♂️","man fairy: dark skin tone",1,[]],["🧚♀️","woman fairy",1,["fairy","fairytale","fantasy","myth","person","pixie","tale","Titania","wings","woman"]],["🧚🏻♀️","woman fairy: light skin tone",1,[]],["🧚🏼♀️","woman fairy: medium-light skin tone",1,[]],["🧚🏽♀️","woman fairy: medium skin tone",1,[]],["🧚🏾♀️","woman fairy: medium-dark skin tone",1,[]],["🧚🏿♀️","woman fairy: dark skin tone",1,[]],["🧛","vampire",1,["blood","Dracula","fangs","halloween","scary","supernatural","teeth","undead","vampire"]],["🧛🏻","vampire: light skin tone",1,[]],["🧛🏼","vampire: medium-light skin tone",1,[]],["🧛🏽","vampire: medium skin tone",1,[]],["🧛🏾","vampire: medium-dark skin tone",1,[]],["🧛🏿","vampire: dark skin tone",1,[]],["🧛♂️","man vampire",1,["blood","fangs","halloween","man","scary","supernatural","teeth","undead","vampire"]],["🧛🏻♂️","man vampire: light skin tone",1,[]],["🧛🏼♂️","man vampire: medium-light skin tone",1,[]],["🧛🏽♂️","man vampire: medium skin tone",1,[]],["🧛🏾♂️","man vampire: medium-dark skin tone",1,[]],["🧛🏿♂️","man vampire: dark skin tone",1,[]],["🧛♀️","woman vampire",1,["blood","fangs","halloween","scary","supernatural","teeth","undead","vampire","woman"]],["🧛🏻♀️","woman vampire: light skin tone",1,[]],["🧛🏼♀️","woman vampire: medium-light skin tone",1,[]],["🧛🏽♀️","woman vampire: medium skin tone",1,[]],["🧛🏾♀️","woman vampire: medium-dark skin tone",1,[]],["🧛🏿♀️","woman vampire: dark skin tone",1,[]],["🧜","merperson",1,["creature","fairytale","folklore","merperson","ocean","sea","siren","trident"]],["🧜🏻","merperson: light skin tone",1,[]],["🧜🏼","merperson: medium-light skin tone",1,[]],["🧜🏽","merperson: medium skin tone",1,[]],["🧜🏾","merperson: medium-dark skin tone",1,[]],["🧜🏿","merperson: dark skin tone",1,[]],["🧜♂️","merman",1,["creature","fairytale","folklore","merman","Neptune","ocean","Poseidon","sea","siren","trident","Triton"]],["🧜🏻♂️","merman: light skin tone",1,[]],["🧜🏼♂️","merman: medium-light skin tone",1,[]],["🧜🏽♂️","merman: medium skin tone",1,[]],["🧜🏾♂️","merman: medium-dark skin tone",1,[]],["🧜🏿♂️","merman: dark skin tone",1,[]],["🧜♀️","mermaid",1,["creature","fairytale","folklore","mermaid","merwoman","ocean","sea","siren","trident"]],["🧜🏻♀️","mermaid: light skin tone",1,[]],["🧜🏼♀️","mermaid: medium-light skin tone",1,[]],["🧜🏽♀️","mermaid: medium skin tone",1,[]],["🧜🏾♀️","mermaid: medium-dark skin tone",1,[]],["🧜🏿♀️","mermaid: dark skin tone",1,[]],["🧝","elf",1,["elf","elves","enchantment","fantasy","folklore","magic","magical","myth"]],["🧝🏻","elf: light skin tone",1,[]],["🧝🏼","elf: medium-light skin tone",1,[]],["🧝🏽","elf: medium skin tone",1,[]],["🧝🏾","elf: medium-dark skin tone",1,[]],["🧝🏿","elf: dark skin tone",1,[]],["🧝♂️","man elf",1,["elf","elves","enchantment","fantasy","folklore","magic","magical","man","myth"]],["🧝🏻♂️","man elf: light skin tone",1,[]],["🧝🏼♂️","man elf: medium-light skin tone",1,[]],["🧝🏽♂️","man elf: medium skin tone",1,[]],["🧝🏾♂️","man elf: medium-dark skin tone",1,[]],["🧝🏿♂️","man elf: dark skin tone",1,[]],["🧝♀️","woman elf",1,["elf","elves","enchantment","fantasy","folklore","magic","magical","myth","woman"]],["🧝🏻♀️","woman elf: light skin tone",1,[]],["🧝🏼♀️","woman elf: medium-light skin tone",1,[]],["🧝🏽♀️","woman elf: medium skin tone",1,[]],["🧝🏾♀️","woman elf: medium-dark skin tone",1,[]],["🧝🏿♀️","woman elf: dark skin tone",1,[]],["🧞","genie",1,["djinn","fantasy","genie","jinn","lamp","myth","rub","wishes"]],["🧞♂️","man genie",1,["djinn","fantasy","genie","jinn","lamp","man","myth","rub","wishes"]],["🧞♀️","woman genie",1,["djinn","fantasy","genie","jinn","lamp","myth","rub","wishes","woman"]],["🧟","zombie",1,["apocalypse","dead","halloween","horror","scary","undead","walking","zombie"]],["🧟♂️","man zombie",1,["apocalypse","dead","halloween","horror","man","scary","undead","walking","zombie"]],["🧟♀️","woman zombie",1,["apocalypse","dead","halloween","horror","scary","undead","walking","woman","zombie"]],["🧌","troll",1,["fairy","fantasy","monster","tale","troll","trolling"]],["","hairy creature",1,["bigfoot","cryptid","forest","giant","hairy","sasquatch","woodwose","yeti"]],["💆","person getting massage",1,["face","getting","headache","massage","person","relax","relaxing","salon","soothe","spa","tension","therapy","treatment"]],["💆🏻","person getting massage: light skin tone",1,[]],["💆🏼","person getting massage: medium-light skin tone",1,[]],["💆🏽","person getting massage: medium skin tone",1,[]],["💆🏾","person getting massage: medium-dark skin tone",1,[]],["💆🏿","person getting massage: dark skin tone",1,[]],["💆♂️","man getting massage",1,["face","getting","headache","man","massage","relax","relaxing","salon","soothe","spa","tension","therapy","treatment"]],["💆🏻♂️","man getting massage: light skin tone",1,[]],["💆🏼♂️","man getting massage: medium-light skin tone",1,[]],["💆🏽♂️","man getting massage: medium skin tone",1,[]],["💆🏾♂️","man getting massage: medium-dark skin tone",1,[]],["💆🏿♂️","man getting massage: dark skin tone",1,[]],["💆♀️","woman getting massage",1,["face","getting","headache","massage","relax","relaxing","salon","soothe","spa","tension","therapy","treatment","woman"]],["💆🏻♀️","woman getting massage: light skin tone",1,[]],["💆🏼♀️","woman getting massage: medium-light skin tone",1,[]],["💆🏽♀️","woman getting massage: medium skin tone",1,[]],["💆🏾♀️","woman getting massage: medium-dark skin tone",1,[]],["💆🏿♀️","woman getting massage: dark skin tone",1,[]],["💇","person getting haircut",1,["barber","beauty","chop","cosmetology","cut","groom","hair","haircut","parlor","person","shears","style"]],["💇🏻","person getting haircut: light skin tone",1,[]],["💇🏼","person getting haircut: medium-light skin tone",1,[]],["💇🏽","person getting haircut: medium skin tone",1,[]],["💇🏾","person getting haircut: medium-dark skin tone",1,[]],["💇🏿","person getting haircut: dark skin tone",1,[]],["💇♂️","man getting haircut",1,["barber","beauty","chop","cosmetology","cut","groom","hair","haircut","man","parlor","person","shears","style"]],["💇🏻♂️","man getting haircut: light skin tone",1,[]],["💇🏼♂️","man getting haircut: medium-light skin tone",1,[]],["💇🏽♂️","man getting haircut: medium skin tone",1,[]],["💇🏾♂️","man getting haircut: medium-dark skin tone",1,[]],["💇🏿♂️","man getting haircut: dark skin tone",1,[]],["💇♀️","woman getting haircut",1,["barber","beauty","chop","cosmetology","cut","groom","hair","haircut","parlor","person","shears","style","woman"]],["💇🏻♀️","woman getting haircut: light skin tone",1,[]],["💇🏼♀️","woman getting haircut: medium-light skin tone",1,[]],["💇🏽♀️","woman getting haircut: medium skin tone",1,[]],["💇🏾♀️","woman getting haircut: medium-dark skin tone",1,[]],["💇🏿♀️","woman getting haircut: dark skin tone",1,[]],["🚶","person walking",1,["amble","gait","hike","man","pace","pedestrian","person","stride","stroll","walk","walking"]],["🚶🏻","person walking: light skin tone",1,[]],["🚶🏼","person walking: medium-light skin tone",1,[]],["🚶🏽","person walking: medium skin tone",1,[]],["🚶🏾","person walking: medium-dark skin tone",1,[]],["🚶🏿","person walking: dark skin tone",1,[]],["🚶♂️","man walking",1,["amble","gait","hike","man","pace","pedestrian","stride","stroll","walk","walking"]],["🚶🏻♂️","man walking: light skin tone",1,[]],["🚶🏼♂️","man walking: medium-light skin tone",1,[]],["🚶🏽♂️","man walking: medium skin tone",1,[]],["🚶🏾♂️","man walking: medium-dark skin tone",1,[]],["🚶🏿♂️","man walking: dark skin tone",1,[]],["🚶♀️","woman walking",1,["amble","gait","hike","man","pace","pedestrian","stride","stroll","walk","walking","woman"]],["🚶🏻♀️","woman walking: light skin tone",1,[]],["🚶🏼♀️","woman walking: medium-light skin tone",1,[]],["🚶🏽♀️","woman walking: medium skin tone",1,[]],["🚶🏾♀️","woman walking: medium-dark skin tone",1,[]],["🚶🏿♀️","woman walking: dark skin tone",1,[]],["🚶➡️","person walking facing right",1,[]],["🚶🏻➡️","person walking facing right: light skin tone",1,[]],["🚶🏼➡️","person walking facing right: medium-light skin tone",1,[]],["🚶🏽➡️","person walking facing right: medium skin tone",1,[]],["🚶🏾➡️","person walking facing right: medium-dark skin tone",1,[]],["🚶🏿➡️","person walking facing right: dark skin tone",1,[]],["🚶♀️➡️","woman walking facing right",1,[]],["🚶🏻♀️➡️","woman walking facing right: light skin tone",1,[]],["🚶🏼♀️➡️","woman walking facing right: medium-light skin tone",1,[]],["🚶🏽♀️➡️","woman walking facing right: medium skin tone",1,[]],["🚶🏾♀️➡️","woman walking facing right: medium-dark skin tone",1,[]],["🚶🏿♀️➡️","woman walking facing right: dark skin tone",1,[]],["🚶♂️➡️","man walking facing right",1,[]],["🚶🏻♂️➡️","man walking facing right: light skin tone",1,[]],["🚶🏼♂️➡️","man walking facing right: medium-light skin tone",1,[]],["🚶🏽♂️➡️","man walking facing right: medium skin tone",1,[]],["🚶🏾♂️➡️","man walking facing right: medium-dark skin tone",1,[]],["🚶🏿♂️➡️","man walking facing right: dark skin tone",1,[]],["🧍","person standing",1,["person","stand","standing"]],["🧍🏻","person standing: light skin tone",1,[]],["🧍🏼","person standing: medium-light skin tone",1,[]],["🧍🏽","person standing: medium skin tone",1,[]],["🧍🏾","person standing: medium-dark skin tone",1,[]],["🧍🏿","person standing: dark skin tone",1,[]],["🧍♂️","man standing",1,["man","stand","standing"]],["🧍🏻♂️","man standing: light skin tone",1,[]],["🧍🏼♂️","man standing: medium-light skin tone",1,[]],["🧍🏽♂️","man standing: medium skin tone",1,[]],["🧍🏾♂️","man standing: medium-dark skin tone",1,[]],["🧍🏿♂️","man standing: dark skin tone",1,[]],["🧍♀️","woman standing",1,["stand","standing","woman"]],["🧍🏻♀️","woman standing: light skin tone",1,[]],["🧍🏼♀️","woman standing: medium-light skin tone",1,[]],["🧍🏽♀️","woman standing: medium skin tone",1,[]],["🧍🏾♀️","woman standing: medium-dark skin tone",1,[]],["🧍🏿♀️","woman standing: dark skin tone",1,[]],["🧎","person kneeling",1,["kneel","kneeling","knees","person"]],["🧎🏻","person kneeling: light skin tone",1,[]],["🧎🏼","person kneeling: medium-light skin tone",1,[]],["🧎🏽","person kneeling: medium skin tone",1,[]],["🧎🏾","person kneeling: medium-dark skin tone",1,[]],["🧎🏿","person kneeling: dark skin tone",1,[]],["🧎♂️","man kneeling",1,["kneel","kneeling","knees","man"]],["🧎🏻♂️","man kneeling: light skin tone",1,[]],["🧎🏼♂️","man kneeling: medium-light skin tone",1,[]],["🧎🏽♂️","man kneeling: medium skin tone",1,[]],["🧎🏾♂️","man kneeling: medium-dark skin tone",1,[]],["🧎🏿♂️","man kneeling: dark skin tone",1,[]],["🧎♀️","woman kneeling",1,["kneel","kneeling","knees","woman"]],["🧎🏻♀️","woman kneeling: light skin tone",1,[]],["🧎🏼♀️","woman kneeling: medium-light skin tone",1,[]],["🧎🏽♀️","woman kneeling: medium skin tone",1,[]],["🧎🏾♀️","woman kneeling: medium-dark skin tone",1,[]],["🧎🏿♀️","woman kneeling: dark skin tone",1,[]],["🧎➡️","person kneeling facing right",1,[]],["🧎🏻➡️","person kneeling facing right: light skin tone",1,[]],["🧎🏼➡️","person kneeling facing right: medium-light skin tone",1,[]],["🧎🏽➡️","person kneeling facing right: medium skin tone",1,[]],["🧎🏾➡️","person kneeling facing right: medium-dark skin tone",1,[]],["🧎🏿➡️","person kneeling facing right: dark skin tone",1,[]],["🧎♀️➡️","woman kneeling facing right",1,[]],["🧎🏻♀️➡️","woman kneeling facing right: light skin tone",1,[]],["🧎🏼♀️➡️","woman kneeling facing right: medium-light skin tone",1,[]],["🧎🏽♀️➡️","woman kneeling facing right: medium skin tone",1,[]],["🧎🏾♀️➡️","woman kneeling facing right: medium-dark skin tone",1,[]],["🧎🏿♀️➡️","woman kneeling facing right: dark skin tone",1,[]],["🧎♂️➡️","man kneeling facing right",1,[]],["🧎🏻♂️➡️","man kneeling facing right: light skin tone",1,[]],["🧎🏼♂️➡️","man kneeling facing right: medium-light skin tone",1,[]],["🧎🏽♂️➡️","man kneeling facing right: medium skin tone",1,[]],["🧎🏾♂️➡️","man kneeling facing right: medium-dark skin tone",1,[]],["🧎🏿♂️➡️","man kneeling facing right: dark skin tone",1,[]],["🧑🦯","person with white cane",1,["accessibility","blind","cane","person","probing","white"]],["🧑🏻🦯","person with white cane: light skin tone",1,[]],["🧑🏼🦯","person with white cane: medium-light skin tone",1,[]],["🧑🏽🦯","person with white cane: medium skin tone",1,[]],["🧑🏾🦯","person with white cane: medium-dark skin tone",1,[]],["🧑🏿🦯","person with white cane: dark skin tone",1,[]],["🧑🦯➡️","person with white cane facing right",1,[]],["🧑🏻🦯➡️","person with white cane facing right: light skin tone",1,[]],["🧑🏼🦯➡️","person with white cane facing right: medium-light skin tone",1,[]],["🧑🏽🦯➡️","person with white cane facing right: medium skin tone",1,[]],["🧑🏾🦯➡️","person with white cane facing right: medium-dark skin tone",1,[]],["🧑🏿🦯➡️","person with white cane facing right: dark skin tone",1,[]],["👨🦯","man with white cane",1,["accessibility","blind","cane","man","probing","white"]],["👨🏻🦯","man with white cane: light skin tone",1,[]],["👨🏼🦯","man with white cane: medium-light skin tone",1,[]],["👨🏽🦯","man with white cane: medium skin tone",1,[]],["👨🏾🦯","man with white cane: medium-dark skin tone",1,[]],["👨🏿🦯","man with white cane: dark skin tone",1,[]],["👨🦯➡️","man with white cane facing right",1,[]],["👨🏻🦯➡️","man with white cane facing right: light skin tone",1,[]],["👨🏼🦯➡️","man with white cane facing right: medium-light skin tone",1,[]],["👨🏽🦯➡️","man with white cane facing right: medium skin tone",1,[]],["👨🏾🦯➡️","man with white cane facing right: medium-dark skin tone",1,[]],["👨🏿🦯➡️","man with white cane facing right: dark skin tone",1,[]],["👩🦯","woman with white cane",1,["accessibility","blind","cane","probing","white","woman"]],["👩🏻🦯","woman with white cane: light skin tone",1,[]],["👩🏼🦯","woman with white cane: medium-light skin tone",1,[]],["👩🏽🦯","woman with white cane: medium skin tone",1,[]],["👩🏾🦯","woman with white cane: medium-dark skin tone",1,[]],["👩🏿🦯","woman with white cane: dark skin tone",1,[]],["👩🦯➡️","woman with white cane facing right",1,[]],["👩🏻🦯➡️","woman with white cane facing right: light skin tone",1,[]],["👩🏼🦯➡️","woman with white cane facing right: medium-light skin tone",1,[]],["👩🏽🦯➡️","woman with white cane facing right: medium skin tone",1,[]],["👩🏾🦯➡️","woman with white cane facing right: medium-dark skin tone",1,[]],["👩🏿🦯➡️","woman with white cane facing right: dark skin tone",1,[]],["🧑🦼","person in motorized wheelchair",1,["accessibility","motorized","person","wheelchair"]],["🧑🏻🦼","person in motorized wheelchair: light skin tone",1,[]],["🧑🏼🦼","person in motorized wheelchair: medium-light skin tone",1,[]],["🧑🏽🦼","person in motorized wheelchair: medium skin tone",1,[]],["🧑🏾🦼","person in motorized wheelchair: medium-dark skin tone",1,[]],["🧑🏿🦼","person in motorized wheelchair: dark skin tone",1,[]],["🧑🦼➡️","person in motorized wheelchair facing right",1,[]],["🧑🏻🦼➡️","person in motorized wheelchair facing right: light skin tone",1,[]],["🧑🏼🦼➡️","person in motorized wheelchair facing right: medium-light skin tone",1,[]],["🧑🏽🦼➡️","person in motorized wheelchair facing right: medium skin tone",1,[]],["🧑🏾🦼➡️","person in motorized wheelchair facing right: medium-dark skin tone",1,[]],["🧑🏿🦼➡️","person in motorized wheelchair facing right: dark skin tone",1,[]],["👨🦼","man in motorized wheelchair",1,["accessibility","man","motorized","wheelchair"]],["👨🏻🦼","man in motorized wheelchair: light skin tone",1,[]],["👨🏼🦼","man in motorized wheelchair: medium-light skin tone",1,[]],["👨🏽🦼","man in motorized wheelchair: medium skin tone",1,[]],["👨🏾🦼","man in motorized wheelchair: medium-dark skin tone",1,[]],["👨🏿🦼","man in motorized wheelchair: dark skin tone",1,[]],["👨🦼➡️","man in motorized wheelchair facing right",1,[]],["👨🏻🦼➡️","man in motorized wheelchair facing right: light skin tone",1,[]],["👨🏼🦼➡️","man in motorized wheelchair facing right: medium-light skin tone",1,[]],["👨🏽🦼➡️","man in motorized wheelchair facing right: medium skin tone",1,[]],["👨🏾🦼➡️","man in motorized wheelchair facing right: medium-dark skin tone",1,[]],["👨🏿🦼➡️","man in motorized wheelchair facing right: dark skin tone",1,[]],["👩🦼","woman in motorized wheelchair",1,["accessibility","motorized","wheelchair","woman"]],["👩🏻🦼","woman in motorized wheelchair: light skin tone",1,[]],["👩🏼🦼","woman in motorized wheelchair: medium-light skin tone",1,[]],["👩🏽🦼","woman in motorized wheelchair: medium skin tone",1,[]],["👩🏾🦼","woman in motorized wheelchair: medium-dark skin tone",1,[]],["👩🏿🦼","woman in motorized wheelchair: dark skin tone",1,[]],["👩🦼➡️","woman in motorized wheelchair facing right",1,[]],["👩🏻🦼➡️","woman in motorized wheelchair facing right: light skin tone",1,[]],["👩🏼🦼➡️","woman in motorized wheelchair facing right: medium-light skin tone",1,[]],["👩🏽🦼➡️","woman in motorized wheelchair facing right: medium skin tone",1,[]],["👩🏾🦼➡️","woman in motorized wheelchair facing right: medium-dark skin tone",1,[]],["👩🏿🦼➡️","woman in motorized wheelchair facing right: dark skin tone",1,[]],["🧑🦽","person in manual wheelchair",1,["accessibility","manual","person","wheelchair"]],["🧑🏻🦽","person in manual wheelchair: light skin tone",1,[]],["🧑🏼🦽","person in manual wheelchair: medium-light skin tone",1,[]],["🧑🏽🦽","person in manual wheelchair: medium skin tone",1,[]],["🧑🏾🦽","person in manual wheelchair: medium-dark skin tone",1,[]],["🧑🏿🦽","person in manual wheelchair: dark skin tone",1,[]],["🧑🦽➡️","person in manual wheelchair facing right",1,[]],["🧑🏻🦽➡️","person in manual wheelchair facing right: light skin tone",1,[]],["🧑🏼🦽➡️","person in manual wheelchair facing right: medium-light skin tone",1,[]],["🧑🏽🦽➡️","person in manual wheelchair facing right: medium skin tone",1,[]],["🧑🏾🦽➡️","person in manual wheelchair facing right: medium-dark skin tone",1,[]],["🧑🏿🦽➡️","person in manual wheelchair facing right: dark skin tone",1,[]],["👨🦽","man in manual wheelchair",1,["accessibility","man","manual","wheelchair"]],["👨🏻🦽","man in manual wheelchair: light skin tone",1,[]],["👨🏼🦽","man in manual wheelchair: medium-light skin tone",1,[]],["👨🏽🦽","man in manual wheelchair: medium skin tone",1,[]],["👨🏾🦽","man in manual wheelchair: medium-dark skin tone",1,[]],["👨🏿🦽","man in manual wheelchair: dark skin tone",1,[]],["👨🦽➡️","man in manual wheelchair facing right",1,[]],["👨🏻🦽➡️","man in manual wheelchair facing right: light skin tone",1,[]],["👨🏼🦽➡️","man in manual wheelchair facing right: medium-light skin tone",1,[]],["👨🏽🦽➡️","man in manual wheelchair facing right: medium skin tone",1,[]],["👨🏾🦽➡️","man in manual wheelchair facing right: medium-dark skin tone",1,[]],["👨🏿🦽➡️","man in manual wheelchair facing right: dark skin tone",1,[]],["👩🦽","woman in manual wheelchair",1,["accessibility","manual","wheelchair","woman"]],["👩🏻🦽","woman in manual wheelchair: light skin tone",1,[]],["👩🏼🦽","woman in manual wheelchair: medium-light skin tone",1,[]],["👩🏽🦽","woman in manual wheelchair: medium skin tone",1,[]],["👩🏾🦽","woman in manual wheelchair: medium-dark skin tone",1,[]],["👩🏿🦽","woman in manual wheelchair: dark skin tone",1,[]],["👩🦽➡️","woman in manual wheelchair facing right",1,[]],["👩🏻🦽➡️","woman in manual wheelchair facing right: light skin tone",1,[]],["👩🏼🦽➡️","woman in manual wheelchair facing right: medium-light skin tone",1,[]],["👩🏽🦽➡️","woman in manual wheelchair facing right: medium skin tone",1,[]],["👩🏾🦽➡️","woman in manual wheelchair facing right: medium-dark skin tone",1,[]],["👩🏿🦽➡️","woman in manual wheelchair facing right: dark skin tone",1,[]],["🏃","person running",1,["fast","hurry","marathon","move","person","quick","race","racing","run","rush","speed"]],["🏃🏻","person running: light skin tone",1,[]],["🏃🏼","person running: medium-light skin tone",1,[]],["🏃🏽","person running: medium skin tone",1,[]],["🏃🏾","person running: medium-dark skin tone",1,[]],["🏃🏿","person running: dark skin tone",1,[]],["🏃♂️","man running",1,["fast","hurry","man","marathon","move","quick","race","racing","run","rush","speed"]],["🏃🏻♂️","man running: light skin tone",1,[]],["🏃🏼♂️","man running: medium-light skin tone",1,[]],["🏃🏽♂️","man running: medium skin tone",1,[]],["🏃🏾♂️","man running: medium-dark skin tone",1,[]],["🏃🏿♂️","man running: dark skin tone",1,[]],["🏃♀️","woman running",1,["fast","hurry","marathon","move","quick","race","racing","run","rush","speed","woman"]],["🏃🏻♀️","woman running: light skin tone",1,[]],["🏃🏼♀️","woman running: medium-light skin tone",1,[]],["🏃🏽♀️","woman running: medium skin tone",1,[]],["🏃🏾♀️","woman running: medium-dark skin tone",1,[]],["🏃🏿♀️","woman running: dark skin tone",1,[]],["🏃➡️","person running facing right",1,[]],["🏃🏻➡️","person running facing right: light skin tone",1,[]],["🏃🏼➡️","person running facing right: medium-light skin tone",1,[]],["🏃🏽➡️","person running facing right: medium skin tone",1,[]],["🏃🏾➡️","person running facing right: medium-dark skin tone",1,[]],["🏃🏿➡️","person running facing right: dark skin tone",1,[]],["🏃♀️➡️","woman running facing right",1,[]],["🏃🏻♀️➡️","woman running facing right: light skin tone",1,[]],["🏃🏼♀️➡️","woman running facing right: medium-light skin tone",1,[]],["🏃🏽♀️➡️","woman running facing right: medium skin tone",1,[]],["🏃🏾♀️➡️","woman running facing right: medium-dark skin tone",1,[]],["🏃🏿♀️➡️","woman running facing right: dark skin tone",1,[]],["🏃♂️➡️","man running facing right",1,[]],["🏃🏻♂️➡️","man running facing right: light skin tone",1,[]],["🏃🏼♂️➡️","man running facing right: medium-light skin tone",1,[]],["🏃🏽♂️➡️","man running facing right: medium skin tone",1,[]],["🏃🏾♂️➡️","man running facing right: medium-dark skin tone",1,[]],["🏃🏿♂️➡️","man running facing right: dark skin tone",1,[]],["🧑🩰","ballet dancer",1,["ballet","dancer"]],["🧑🏻🩰","ballet dancer: light skin tone",1,[]],["🧑🏼🩰","ballet dancer: medium-light skin tone",1,[]],["🧑🏽🩰","ballet dancer: medium skin tone",1,[]],["🧑🏾🩰","ballet dancer: medium-dark skin tone",1,[]],["🧑🏿🩰","ballet dancer: dark skin tone",1,[]],["💃","woman dancing",1,["dance","dancer","dancing","elegant","festive","flair","flamenco","groove","let’s","salsa","tango","woman"]],["💃🏻","woman dancing: light skin tone",1,[]],["💃🏼","woman dancing: medium-light skin tone",1,[]],["💃🏽","woman dancing: medium skin tone",1,[]],["💃🏾","woman dancing: medium-dark skin tone",1,[]],["💃🏿","woman dancing: dark skin tone",1,[]],["🕺","man dancing",1,["dance","dancer","dancing","elegant","festive","flair","flamenco","groove","let’s","man","salsa","tango"]],["🕺🏻","man dancing: light skin tone",1,[]],["🕺🏼","man dancing: medium-light skin tone",1,[]],["🕺🏽","man dancing: medium skin tone",1,[]],["🕺🏾","man dancing: medium-dark skin tone",1,[]],["🕺🏿","man dancing: dark skin tone",1,[]],["🕴️","person in suit levitating",1,["business","levitating","person","suit"]],["🕴🏻","person in suit levitating: light skin tone",1,[]],["🕴🏼","person in suit levitating: medium-light skin tone",1,[]],["🕴🏽","person in suit levitating: medium skin tone",1,[]],["🕴🏾","person in suit levitating: medium-dark skin tone",1,[]],["🕴🏿","person in suit levitating: dark skin tone",1,[]],["👯","people with bunny ears",1,["bestie","bff","bunny","counterpart","dancer","double","ear","identical","pair","party","partying","people","soulmate","twin","twinsies"]],["👯🏻","people with bunny ears: light skin tone",1,[]],["👯🏼","people with bunny ears: medium-light skin tone",1,[]],["👯🏽","people with bunny ears: medium skin tone",1,[]],["👯🏾","people with bunny ears: medium-dark skin tone",1,[]],["👯🏿","people with bunny ears: dark skin tone",1,[]],["👯♂️","men with bunny ears",1,["bestie","bff","bunny","counterpart","dancer","double","ear","identical","men","pair","party","partying","people","soulmate","twin","twinsies"]],["👯🏻♂️","men with bunny ears: light skin tone",1,[]],["👯🏼♂️","men with bunny ears: medium-light skin tone",1,[]],["👯🏽♂️","men with bunny ears: medium skin tone",1,[]],["👯🏾♂️","men with bunny ears: medium-dark skin tone",1,[]],["👯🏿♂️","men with bunny ears: dark skin tone",1,[]],["👯♀️","women with bunny ears",1,["bestie","bff","bunny","counterpart","dancer","double","ear","identical","pair","party","partying","people","soulmate","twin","twinsies","women"]],["👯🏻♀️","women with bunny ears: light skin tone",1,[]],["👯🏼♀️","women with bunny ears: medium-light skin tone",1,[]],["👯🏽♀️","women with bunny ears: medium skin tone",1,[]],["👯🏾♀️","women with bunny ears: medium-dark skin tone",1,[]],["👯🏿♀️","women with bunny ears: dark skin tone",1,[]],["🧑🏻🐰🧑🏼","people with bunny ears: light skin tone, medium-light skin tone",1,[]],["🧑🏻🐰🧑🏽","people with bunny ears: light skin tone, medium skin tone",1,[]],["🧑🏻🐰🧑🏾","people with bunny ears: light skin tone, medium-dark skin tone",1,[]],["🧑🏻🐰🧑🏿","people with bunny ears: light skin tone, dark skin tone",1,[]],["🧑🏼🐰🧑🏻","people with bunny ears: medium-light skin tone, light skin tone",1,[]],["🧑🏼🐰🧑🏽","people with bunny ears: medium-light skin tone, medium skin tone",1,[]],["🧑🏼🐰🧑🏾","people with bunny ears: medium-light skin tone, medium-dark skin tone",1,[]],["🧑🏼🐰🧑🏿","people with bunny ears: medium-light skin tone, dark skin tone",1,[]],["🧑🏽🐰🧑🏻","people with bunny ears: medium skin tone, light skin tone",1,[]],["🧑🏽🐰🧑🏼","people with bunny ears: medium skin tone, medium-light skin tone",1,[]],["🧑🏽🐰🧑🏾","people with bunny ears: medium skin tone, medium-dark skin tone",1,[]],["🧑🏽🐰🧑🏿","people with bunny ears: medium skin tone, dark skin tone",1,[]],["🧑🏾🐰🧑🏻","people with bunny ears: medium-dark skin tone, light skin tone",1,[]],["🧑🏾🐰🧑🏼","people with bunny ears: medium-dark skin tone, medium-light skin tone",1,[]],["🧑🏾🐰🧑🏽","people with bunny ears: medium-dark skin tone, medium skin tone",1,[]],["🧑🏾🐰🧑🏿","people with bunny ears: medium-dark skin tone, dark skin tone",1,[]],["🧑🏿🐰🧑🏻","people with bunny ears: dark skin tone, light skin tone",1,[]],["🧑🏿🐰🧑🏼","people with bunny ears: dark skin tone, medium-light skin tone",1,[]],["🧑🏿🐰🧑🏽","people with bunny ears: dark skin tone, medium skin tone",1,[]],["🧑🏿🐰🧑🏾","people with bunny ears: dark skin tone, medium-dark skin tone",1,[]],["👨🏻🐰👨🏼","men with bunny ears: light skin tone, medium-light skin tone",1,[]],["👨🏻🐰👨🏽","men with bunny ears: light skin tone, medium skin tone",1,[]],["👨🏻🐰👨🏾","men with bunny ears: light skin tone, medium-dark skin tone",1,[]],["👨🏻🐰👨🏿","men with bunny ears: light skin tone, dark skin tone",1,[]],["👨🏼🐰👨🏻","men with bunny ears: medium-light skin tone, light skin tone",1,[]],["👨🏼🐰👨🏽","men with bunny ears: medium-light skin tone, medium skin tone",1,[]],["👨🏼🐰👨🏾","men with bunny ears: medium-light skin tone, medium-dark skin tone",1,[]],["👨🏼🐰👨🏿","men with bunny ears: medium-light skin tone, dark skin tone",1,[]],["👨🏽🐰👨🏻","men with bunny ears: medium skin tone, light skin tone",1,[]],["👨🏽🐰👨🏼","men with bunny ears: medium skin tone, medium-light skin tone",1,[]],["👨🏽🐰👨🏾","men with bunny ears: medium skin tone, medium-dark skin tone",1,[]],["👨🏽🐰👨🏿","men with bunny ears: medium skin tone, dark skin tone",1,[]],["👨🏾🐰👨🏻","men with bunny ears: medium-dark skin tone, light skin tone",1,[]],["👨🏾🐰👨🏼","men with bunny ears: medium-dark skin tone, medium-light skin tone",1,[]],["👨🏾🐰👨🏽","men with bunny ears: medium-dark skin tone, medium skin tone",1,[]],["👨🏾🐰👨🏿","men with bunny ears: medium-dark skin tone, dark skin tone",1,[]],["👨🏿🐰👨🏻","men with bunny ears: dark skin tone, light skin tone",1,[]],["👨🏿🐰👨🏼","men with bunny ears: dark skin tone, medium-light skin tone",1,[]],["👨🏿🐰👨🏽","men with bunny ears: dark skin tone, medium skin tone",1,[]],["👨🏿🐰👨🏾","men with bunny ears: dark skin tone, medium-dark skin tone",1,[]],["👩🏻🐰👩🏼","women with bunny ears: light skin tone, medium-light skin tone",1,[]],["👩🏻🐰👩🏽","women with bunny ears: light skin tone, medium skin tone",1,[]],["👩🏻🐰👩🏾","women with bunny ears: light skin tone, medium-dark skin tone",1,[]],["👩🏻🐰👩🏿","women with bunny ears: light skin tone, dark skin tone",1,[]],["👩🏼🐰👩🏻","women with bunny ears: medium-light skin tone, light skin tone",1,[]],["👩🏼🐰👩🏽","women with bunny ears: medium-light skin tone, medium skin tone",1,[]],["👩🏼🐰👩🏾","women with bunny ears: medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼🐰👩🏿","women with bunny ears: medium-light skin tone, dark skin tone",1,[]],["👩🏽🐰👩🏻","women with bunny ears: medium skin tone, light skin tone",1,[]],["👩🏽🐰👩🏼","women with bunny ears: medium skin tone, medium-light skin tone",1,[]],["👩🏽🐰👩🏾","women with bunny ears: medium skin tone, medium-dark skin tone",1,[]],["👩🏽🐰👩🏿","women with bunny ears: medium skin tone, dark skin tone",1,[]],["👩🏾🐰👩🏻","women with bunny ears: medium-dark skin tone, light skin tone",1,[]],["👩🏾🐰👩🏼","women with bunny ears: medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾🐰👩🏽","women with bunny ears: medium-dark skin tone, medium skin tone",1,[]],["👩🏾🐰👩🏿","women with bunny ears: medium-dark skin tone, dark skin tone",1,[]],["👩🏿🐰👩🏻","women with bunny ears: dark skin tone, light skin tone",1,[]],["👩🏿🐰👩🏼","women with bunny ears: dark skin tone, medium-light skin tone",1,[]],["👩🏿🐰👩🏽","women with bunny ears: dark skin tone, medium skin tone",1,[]],["👩🏿🐰👩🏾","women with bunny ears: dark skin tone, medium-dark skin tone",1,[]],["🧖","person in steamy room",1,["day","luxurious","pamper","person","relax","room","sauna","spa","steam","steambath","unwind"]],["🧖🏻","person in steamy room: light skin tone",1,[]],["🧖🏼","person in steamy room: medium-light skin tone",1,[]],["🧖🏽","person in steamy room: medium skin tone",1,[]],["🧖🏾","person in steamy room: medium-dark skin tone",1,[]],["🧖🏿","person in steamy room: dark skin tone",1,[]],["🧖♂️","man in steamy room",1,["day","luxurious","man","pamper","relax","room","sauna","spa","steam","steambath","unwind"]],["🧖🏻♂️","man in steamy room: light skin tone",1,[]],["🧖🏼♂️","man in steamy room: medium-light skin tone",1,[]],["🧖🏽♂️","man in steamy room: medium skin tone",1,[]],["🧖🏾♂️","man in steamy room: medium-dark skin tone",1,[]],["🧖🏿♂️","man in steamy room: dark skin tone",1,[]],["🧖♀️","woman in steamy room",1,["day","luxurious","pamper","relax","room","sauna","spa","steam","steambath","unwind","woman"]],["🧖🏻♀️","woman in steamy room: light skin tone",1,[]],["🧖🏼♀️","woman in steamy room: medium-light skin tone",1,[]],["🧖🏽♀️","woman in steamy room: medium skin tone",1,[]],["🧖🏾♀️","woman in steamy room: medium-dark skin tone",1,[]],["🧖🏿♀️","woman in steamy room: dark skin tone",1,[]],["🧗","person climbing",1,["climb","climber","climbing","mountain","person","rock","scale","up"]],["🧗🏻","person climbing: light skin tone",1,[]],["🧗🏼","person climbing: medium-light skin tone",1,[]],["🧗🏽","person climbing: medium skin tone",1,[]],["🧗🏾","person climbing: medium-dark skin tone",1,[]],["🧗🏿","person climbing: dark skin tone",1,[]],["🧗♂️","man climbing",1,["climb","climber","climbing","man","mountain","rock","scale","up"]],["🧗🏻♂️","man climbing: light skin tone",1,[]],["🧗🏼♂️","man climbing: medium-light skin tone",1,[]],["🧗🏽♂️","man climbing: medium skin tone",1,[]],["🧗🏾♂️","man climbing: medium-dark skin tone",1,[]],["🧗🏿♂️","man climbing: dark skin tone",1,[]],["🧗♀️","woman climbing",1,["climb","climber","climbing","mountain","rock","scale","up","woman"]],["🧗🏻♀️","woman climbing: light skin tone",1,[]],["🧗🏼♀️","woman climbing: medium-light skin tone",1,[]],["🧗🏽♀️","woman climbing: medium skin tone",1,[]],["🧗🏾♀️","woman climbing: medium-dark skin tone",1,[]],["🧗🏿♀️","woman climbing: dark skin tone",1,[]],["🤺","person fencing",1,["fencer","fencing","person","sword"]],["🏇","horse racing",1,["horse","jockey","racehorse","racing","riding","sport"]],["🏇🏻","horse racing: light skin tone",1,[]],["🏇🏼","horse racing: medium-light skin tone",1,[]],["🏇🏽","horse racing: medium skin tone",1,[]],["🏇🏾","horse racing: medium-dark skin tone",1,[]],["🏇🏿","horse racing: dark skin tone",1,[]],["⛷️","skier",1,["ski","skier","snow"]],["🏂","snowboarder",1,["ski","snow","snowboard","snowboarder","sport"]],["🏂🏻","snowboarder: light skin tone",1,[]],["🏂🏼","snowboarder: medium-light skin tone",1,[]],["🏂🏽","snowboarder: medium skin tone",1,[]],["🏂🏾","snowboarder: medium-dark skin tone",1,[]],["🏂🏿","snowboarder: dark skin tone",1,[]],["🏌️","person golfing",1,["ball","birdie","caddy","driving","golf","golfing","green","person","pga","putt","range","tee"]],["🏌🏻","person golfing: light skin tone",1,[]],["🏌🏼","person golfing: medium-light skin tone",1,[]],["🏌🏽","person golfing: medium skin tone",1,[]],["🏌🏾","person golfing: medium-dark skin tone",1,[]],["🏌🏿","person golfing: dark skin tone",1,[]],["🏌️♂️","man golfing",1,["ball","birdie","caddy","driving","golf","golfing","green","man","pga","putt","range","tee"]],["🏌🏻♂️","man golfing: light skin tone",1,[]],["🏌🏼♂️","man golfing: medium-light skin tone",1,[]],["🏌🏽♂️","man golfing: medium skin tone",1,[]],["🏌🏾♂️","man golfing: medium-dark skin tone",1,[]],["🏌🏿♂️","man golfing: dark skin tone",1,[]],["🏌️♀️","woman golfing",1,["ball","birdie","caddy","driving","golf","golfing","green","pga","putt","range","tee","woman"]],["🏌🏻♀️","woman golfing: light skin tone",1,[]],["🏌🏼♀️","woman golfing: medium-light skin tone",1,[]],["🏌🏽♀️","woman golfing: medium skin tone",1,[]],["🏌🏾♀️","woman golfing: medium-dark skin tone",1,[]],["🏌🏿♀️","woman golfing: dark skin tone",1,[]],["🏄","person surfing",1,["beach","ocean","person","sport","surf","surfer","surfing","swell","waves"]],["🏄🏻","person surfing: light skin tone",1,[]],["🏄🏼","person surfing: medium-light skin tone",1,[]],["🏄🏽","person surfing: medium skin tone",1,[]],["🏄🏾","person surfing: medium-dark skin tone",1,[]],["🏄🏿","person surfing: dark skin tone",1,[]],["🏄♂️","man surfing",1,["beach","man","ocean","sport","surf","surfer","surfing","swell","waves"]],["🏄🏻♂️","man surfing: light skin tone",1,[]],["🏄🏼♂️","man surfing: medium-light skin tone",1,[]],["🏄🏽♂️","man surfing: medium skin tone",1,[]],["🏄🏾♂️","man surfing: medium-dark skin tone",1,[]],["🏄🏿♂️","man surfing: dark skin tone",1,[]],["🏄♀️","woman surfing",1,["beach","ocean","person","sport","surf","surfer","surfing","swell","waves"]],["🏄🏻♀️","woman surfing: light skin tone",1,[]],["🏄🏼♀️","woman surfing: medium-light skin tone",1,[]],["🏄🏽♀️","woman surfing: medium skin tone",1,[]],["🏄🏾♀️","woman surfing: medium-dark skin tone",1,[]],["🏄🏿♀️","woman surfing: dark skin tone",1,[]],["🚣","person rowing boat",1,["boat","canoe","cruise","fishing","lake","oar","paddle","person","raft","river","row","rowboat","rowing"]],["🚣🏻","person rowing boat: light skin tone",1,[]],["🚣🏼","person rowing boat: medium-light skin tone",1,[]],["🚣🏽","person rowing boat: medium skin tone",1,[]],["🚣🏾","person rowing boat: medium-dark skin tone",1,[]],["🚣🏿","person rowing boat: dark skin tone",1,[]],["🚣♂️","man rowing boat",1,["boat","canoe","cruise","fishing","lake","man","oar","paddle","raft","river","row","rowboat","rowing"]],["🚣🏻♂️","man rowing boat: light skin tone",1,[]],["🚣🏼♂️","man rowing boat: medium-light skin tone",1,[]],["🚣🏽♂️","man rowing boat: medium skin tone",1,[]],["🚣🏾♂️","man rowing boat: medium-dark skin tone",1,[]],["🚣🏿♂️","man rowing boat: dark skin tone",1,[]],["🚣♀️","woman rowing boat",1,["boat","canoe","cruise","fishing","lake","oar","paddle","raft","river","row","rowboat","rowing","woman"]],["🚣🏻♀️","woman rowing boat: light skin tone",1,[]],["🚣🏼♀️","woman rowing boat: medium-light skin tone",1,[]],["🚣🏽♀️","woman rowing boat: medium skin tone",1,[]],["🚣🏾♀️","woman rowing boat: medium-dark skin tone",1,[]],["🚣🏿♀️","woman rowing boat: dark skin tone",1,[]],["🏊","person swimming",1,["freestyle","person","sport","swim","swimmer","swimming","triathlon"]],["🏊🏻","person swimming: light skin tone",1,[]],["🏊🏼","person swimming: medium-light skin tone",1,[]],["🏊🏽","person swimming: medium skin tone",1,[]],["🏊🏾","person swimming: medium-dark skin tone",1,[]],["🏊🏿","person swimming: dark skin tone",1,[]],["🏊♂️","man swimming",1,["freestyle","man","sport","swim","swimmer","swimming","triathlon"]],["🏊🏻♂️","man swimming: light skin tone",1,[]],["🏊🏼♂️","man swimming: medium-light skin tone",1,[]],["🏊🏽♂️","man swimming: medium skin tone",1,[]],["🏊🏾♂️","man swimming: medium-dark skin tone",1,[]],["🏊🏿♂️","man swimming: dark skin tone",1,[]],["🏊♀️","woman swimming",1,["freestyle","man","sport","swim","swimmer","swimming","triathlon"]],["🏊🏻♀️","woman swimming: light skin tone",1,[]],["🏊🏼♀️","woman swimming: medium-light skin tone",1,[]],["🏊🏽♀️","woman swimming: medium skin tone",1,[]],["🏊🏾♀️","woman swimming: medium-dark skin tone",1,[]],["🏊🏿♀️","woman swimming: dark skin tone",1,[]],["⛹️","person bouncing ball",1,["athletic","ball","basketball","bouncing","championship","dribble","net","person","player","throw"]],["⛹🏻","person bouncing ball: light skin tone",1,[]],["⛹🏼","person bouncing ball: medium-light skin tone",1,[]],["⛹🏽","person bouncing ball: medium skin tone",1,[]],["⛹🏾","person bouncing ball: medium-dark skin tone",1,[]],["⛹🏿","person bouncing ball: dark skin tone",1,[]],["⛹️♂️","man bouncing ball",1,["athletic","ball","basketball","bouncing","championship","dribble","man","net","player","throw"]],["⛹🏻♂️","man bouncing ball: light skin tone",1,[]],["⛹🏼♂️","man bouncing ball: medium-light skin tone",1,[]],["⛹🏽♂️","man bouncing ball: medium skin tone",1,[]],["⛹🏾♂️","man bouncing ball: medium-dark skin tone",1,[]],["⛹🏿♂️","man bouncing ball: dark skin tone",1,[]],["⛹️♀️","woman bouncing ball",1,["athletic","ball","basketball","bouncing","championship","dribble","net","player","throw","woman"]],["⛹🏻♀️","woman bouncing ball: light skin tone",1,[]],["⛹🏼♀️","woman bouncing ball: medium-light skin tone",1,[]],["⛹🏽♀️","woman bouncing ball: medium skin tone",1,[]],["⛹🏾♀️","woman bouncing ball: medium-dark skin tone",1,[]],["⛹🏿♀️","woman bouncing ball: dark skin tone",1,[]],["🏋️","person lifting weights",1,["barbell","bodybuilder","deadlift","lifter","lifting","person","powerlifting","weight","weightlifter","weights","workout"]],["🏋🏻","person lifting weights: light skin tone",1,[]],["🏋🏼","person lifting weights: medium-light skin tone",1,[]],["🏋🏽","person lifting weights: medium skin tone",1,[]],["🏋🏾","person lifting weights: medium-dark skin tone",1,[]],["🏋🏿","person lifting weights: dark skin tone",1,[]],["🏋️♂️","man lifting weights",1,["barbell","bodybuilder","deadlift","lifter","lifting","man","powerlifting","weight","weightlifter","weights","workout"]],["🏋🏻♂️","man lifting weights: light skin tone",1,[]],["🏋🏼♂️","man lifting weights: medium-light skin tone",1,[]],["🏋🏽♂️","man lifting weights: medium skin tone",1,[]],["🏋🏾♂️","man lifting weights: medium-dark skin tone",1,[]],["🏋🏿♂️","man lifting weights: dark skin tone",1,[]],["🏋️♀️","woman lifting weights",1,["barbell","bodybuilder","deadlift","lifter","lifting","powerlifting","weight","weightlifter","weights","woman","workout"]],["🏋🏻♀️","woman lifting weights: light skin tone",1,[]],["🏋🏼♀️","woman lifting weights: medium-light skin tone",1,[]],["🏋🏽♀️","woman lifting weights: medium skin tone",1,[]],["🏋🏾♀️","woman lifting weights: medium-dark skin tone",1,[]],["🏋🏿♀️","woman lifting weights: dark skin tone",1,[]],["🚴","person biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","person","riding","sport"]],["🚴🏻","person biking: light skin tone",1,[]],["🚴🏼","person biking: medium-light skin tone",1,[]],["🚴🏽","person biking: medium skin tone",1,[]],["🚴🏾","person biking: medium-dark skin tone",1,[]],["🚴🏿","person biking: dark skin tone",1,[]],["🚴♂️","man biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","man","riding","sport"]],["🚴🏻♂️","man biking: light skin tone",1,[]],["🚴🏼♂️","man biking: medium-light skin tone",1,[]],["🚴🏽♂️","man biking: medium skin tone",1,[]],["🚴🏾♂️","man biking: medium-dark skin tone",1,[]],["🚴🏿♂️","man biking: dark skin tone",1,[]],["🚴♀️","woman biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","riding","sport","woman"]],["🚴🏻♀️","woman biking: light skin tone",1,[]],["🚴🏼♀️","woman biking: medium-light skin tone",1,[]],["🚴🏽♀️","woman biking: medium skin tone",1,[]],["🚴🏾♀️","woman biking: medium-dark skin tone",1,[]],["🚴🏿♀️","woman biking: dark skin tone",1,[]],["🚵","person mountain biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","mountain","person","riding","sport"]],["🚵🏻","person mountain biking: light skin tone",1,[]],["🚵🏼","person mountain biking: medium-light skin tone",1,[]],["🚵🏽","person mountain biking: medium skin tone",1,[]],["🚵🏾","person mountain biking: medium-dark skin tone",1,[]],["🚵🏿","person mountain biking: dark skin tone",1,[]],["🚵♂️","man mountain biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","man","mountain","riding","sport"]],["🚵🏻♂️","man mountain biking: light skin tone",1,[]],["🚵🏼♂️","man mountain biking: medium-light skin tone",1,[]],["🚵🏽♂️","man mountain biking: medium skin tone",1,[]],["🚵🏾♂️","man mountain biking: medium-dark skin tone",1,[]],["🚵🏿♂️","man mountain biking: dark skin tone",1,[]],["🚵♀️","woman mountain biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","mountain","riding","sport","woman"]],["🚵🏻♀️","woman mountain biking: light skin tone",1,[]],["🚵🏼♀️","woman mountain biking: medium-light skin tone",1,[]],["🚵🏽♀️","woman mountain biking: medium skin tone",1,[]],["🚵🏾♀️","woman mountain biking: medium-dark skin tone",1,[]],["🚵🏿♀️","woman mountain biking: dark skin tone",1,[]],["🤸","person cartwheeling",1,["active","cartwheel","cartwheeling","excited","flip","gymnastics","happy","person","somersault"]],["🤸🏻","person cartwheeling: light skin tone",1,[]],["🤸🏼","person cartwheeling: medium-light skin tone",1,[]],["🤸🏽","person cartwheeling: medium skin tone",1,[]],["🤸🏾","person cartwheeling: medium-dark skin tone",1,[]],["🤸🏿","person cartwheeling: dark skin tone",1,[]],["🤸♂️","man cartwheeling",1,["active","cartwheel","cartwheeling","excited","flip","gymnastics","happy","man","somersault"]],["🤸🏻♂️","man cartwheeling: light skin tone",1,[]],["🤸🏼♂️","man cartwheeling: medium-light skin tone",1,[]],["🤸🏽♂️","man cartwheeling: medium skin tone",1,[]],["🤸🏾♂️","man cartwheeling: medium-dark skin tone",1,[]],["🤸🏿♂️","man cartwheeling: dark skin tone",1,[]],["🤸♀️","woman cartwheeling",1,["active","cartwheel","cartwheeling","excited","flip","gymnastics","happy","somersault","woman"]],["🤸🏻♀️","woman cartwheeling: light skin tone",1,[]],["🤸🏼♀️","woman cartwheeling: medium-light skin tone",1,[]],["🤸🏽♀️","woman cartwheeling: medium skin tone",1,[]],["🤸🏾♀️","woman cartwheeling: medium-dark skin tone",1,[]],["🤸🏿♀️","woman cartwheeling: dark skin tone",1,[]],["🤼","people wrestling",1,["combat","duel","grapple","people","ring","tournament","wrestle","wrestling"]],["🤼🏻","people wrestling: light skin tone",1,[]],["🤼🏼","people wrestling: medium-light skin tone",1,[]],["🤼🏽","people wrestling: medium skin tone",1,[]],["🤼🏾","people wrestling: medium-dark skin tone",1,[]],["🤼🏿","people wrestling: dark skin tone",1,[]],["🤼♂️","men wrestling",1,["combat","duel","grapple","men","ring","tournament","wrestle","wrestling"]],["🤼🏻♂️","men wrestling: light skin tone",1,[]],["🤼🏼♂️","men wrestling: medium-light skin tone",1,[]],["🤼🏽♂️","men wrestling: medium skin tone",1,[]],["🤼🏾♂️","men wrestling: medium-dark skin tone",1,[]],["🤼🏿♂️","men wrestling: dark skin tone",1,[]],["🤼♀️","women wrestling",1,["combat","duel","grapple","ring","tournament","women","wrestle","wrestling"]],["🤼🏻♀️","women wrestling: light skin tone",1,[]],["🤼🏼♀️","women wrestling: medium-light skin tone",1,[]],["🤼🏽♀️","women wrestling: medium skin tone",1,[]],["🤼🏾♀️","women wrestling: medium-dark skin tone",1,[]],["🤼🏿♀️","women wrestling: dark skin tone",1,[]],["🧑🏻🧑🏼","people wrestling: light skin tone, medium-light skin tone",1,[]],["🧑🏻🧑🏽","people wrestling: light skin tone, medium skin tone",1,[]],["🧑🏻🧑🏾","people wrestling: light skin tone, medium-dark skin tone",1,[]],["🧑🏻🧑🏿","people wrestling: light skin tone, dark skin tone",1,[]],["🧑🏼🧑🏻","people wrestling: medium-light skin tone, light skin tone",1,[]],["🧑🏼🧑🏽","people wrestling: medium-light skin tone, medium skin tone",1,[]],["🧑🏼🧑🏾","people wrestling: medium-light skin tone, medium-dark skin tone",1,[]],["🧑🏼🧑🏿","people wrestling: medium-light skin tone, dark skin tone",1,[]],["🧑🏽🧑🏻","people wrestling: medium skin tone, light skin tone",1,[]],["🧑🏽🧑🏼","people wrestling: medium skin tone, medium-light skin tone",1,[]],["🧑🏽🧑🏾","people wrestling: medium skin tone, medium-dark skin tone",1,[]],["🧑🏽🧑🏿","people wrestling: medium skin tone, dark skin tone",1,[]],["🧑🏾🧑🏻","people wrestling: medium-dark skin tone, light skin tone",1,[]],["🧑🏾🧑🏼","people wrestling: medium-dark skin tone, medium-light skin tone",1,[]],["🧑🏾🧑🏽","people wrestling: medium-dark skin tone, medium skin tone",1,[]],["🧑🏾🧑🏿","people wrestling: medium-dark skin tone, dark skin tone",1,[]],["🧑🏿🧑🏻","people wrestling: dark skin tone, light skin tone",1,[]],["🧑🏿🧑🏼","people wrestling: dark skin tone, medium-light skin tone",1,[]],["🧑🏿🧑🏽","people wrestling: dark skin tone, medium skin tone",1,[]],["🧑🏿🧑🏾","people wrestling: dark skin tone, medium-dark skin tone",1,[]],["👨🏻👨🏼","men wrestling: light skin tone, medium-light skin tone",1,[]],["👨🏻👨🏽","men wrestling: light skin tone, medium skin tone",1,[]],["👨🏻👨🏾","men wrestling: light skin tone, medium-dark skin tone",1,[]],["👨🏻👨🏿","men wrestling: light skin tone, dark skin tone",1,[]],["👨🏼👨🏻","men wrestling: medium-light skin tone, light skin tone",1,[]],["👨🏼👨🏽","men wrestling: medium-light skin tone, medium skin tone",1,[]],["👨🏼👨🏾","men wrestling: medium-light skin tone, medium-dark skin tone",1,[]],["👨🏼👨🏿","men wrestling: medium-light skin tone, dark skin tone",1,[]],["👨🏽👨🏻","men wrestling: medium skin tone, light skin tone",1,[]],["👨🏽👨🏼","men wrestling: medium skin tone, medium-light skin tone",1,[]],["👨🏽👨🏾","men wrestling: medium skin tone, medium-dark skin tone",1,[]],["👨🏽👨🏿","men wrestling: medium skin tone, dark skin tone",1,[]],["👨🏾👨🏻","men wrestling: medium-dark skin tone, light skin tone",1,[]],["👨🏾👨🏼","men wrestling: medium-dark skin tone, medium-light skin tone",1,[]],["👨🏾👨🏽","men wrestling: medium-dark skin tone, medium skin tone",1,[]],["👨🏾👨🏿","men wrestling: medium-dark skin tone, dark skin tone",1,[]],["👨🏿👨🏻","men wrestling: dark skin tone, light skin tone",1,[]],["👨🏿👨🏼","men wrestling: dark skin tone, medium-light skin tone",1,[]],["👨🏿👨🏽","men wrestling: dark skin tone, medium skin tone",1,[]],["👨🏿👨🏾","men wrestling: dark skin tone, medium-dark skin tone",1,[]],["👩🏻👩🏼","women wrestling: light skin tone, medium-light skin tone",1,[]],["👩🏻👩🏽","women wrestling: light skin tone, medium skin tone",1,[]],["👩🏻👩🏾","women wrestling: light skin tone, medium-dark skin tone",1,[]],["👩🏻👩🏿","women wrestling: light skin tone, dark skin tone",1,[]],["👩🏼👩🏻","women wrestling: medium-light skin tone, light skin tone",1,[]],["👩🏼👩🏽","women wrestling: medium-light skin tone, medium skin tone",1,[]],["👩🏼👩🏾","women wrestling: medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼👩🏿","women wrestling: medium-light skin tone, dark skin tone",1,[]],["👩🏽👩🏻","women wrestling: medium skin tone, light skin tone",1,[]],["👩🏽👩🏼","women wrestling: medium skin tone, medium-light skin tone",1,[]],["👩🏽👩🏾","women wrestling: medium skin tone, medium-dark skin tone",1,[]],["👩🏽👩🏿","women wrestling: medium skin tone, dark skin tone",1,[]],["👩🏾👩🏻","women wrestling: medium-dark skin tone, light skin tone",1,[]],["👩🏾👩🏼","women wrestling: medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾👩🏽","women wrestling: medium-dark skin tone, medium skin tone",1,[]],["👩🏾👩🏿","women wrestling: medium-dark skin tone, dark skin tone",1,[]],["👩🏿👩🏻","women wrestling: dark skin tone, light skin tone",1,[]],["👩🏿👩🏼","women wrestling: dark skin tone, medium-light skin tone",1,[]],["👩🏿👩🏽","women wrestling: dark skin tone, medium skin tone",1,[]],["👩🏿👩🏾","women wrestling: dark skin tone, medium-dark skin tone",1,[]],["🤽","person playing water polo",1,["person","playing","polo","sport","swimming","water","waterpolo"]],["🤽🏻","person playing water polo: light skin tone",1,[]],["🤽🏼","person playing water polo: medium-light skin tone",1,[]],["🤽🏽","person playing water polo: medium skin tone",1,[]],["🤽🏾","person playing water polo: medium-dark skin tone",1,[]],["🤽🏿","person playing water polo: dark skin tone",1,[]],["🤽♂️","man playing water polo",1,["man","playing","polo","sport","swimming","water","waterpolo"]],["🤽🏻♂️","man playing water polo: light skin tone",1,[]],["🤽🏼♂️","man playing water polo: medium-light skin tone",1,[]],["🤽🏽♂️","man playing water polo: medium skin tone",1,[]],["🤽🏾♂️","man playing water polo: medium-dark skin tone",1,[]],["🤽🏿♂️","man playing water polo: dark skin tone",1,[]],["🤽♀️","woman playing water polo",1,["playing","polo","sport","swimming","water","waterpolo","woman"]],["🤽🏻♀️","woman playing water polo: light skin tone",1,[]],["🤽🏼♀️","woman playing water polo: medium-light skin tone",1,[]],["🤽🏽♀️","woman playing water polo: medium skin tone",1,[]],["🤽🏾♀️","woman playing water polo: medium-dark skin tone",1,[]],["🤽🏿♀️","woman playing water polo: dark skin tone",1,[]],["🤾","person playing handball",1,["athletics","ball","catch","chuck","handball","hurl","lob","person","pitch","playing","sport","throw","toss"]],["🤾🏻","person playing handball: light skin tone",1,[]],["🤾🏼","person playing handball: medium-light skin tone",1,[]],["🤾🏽","person playing handball: medium skin tone",1,[]],["🤾🏾","person playing handball: medium-dark skin tone",1,[]],["🤾🏿","person playing handball: dark skin tone",1,[]],["🤾♂️","man playing handball",1,["athletics","ball","catch","chuck","handball","hurl","lob","man","pitch","playing","sport","throw","toss"]],["🤾🏻♂️","man playing handball: light skin tone",1,[]],["🤾🏼♂️","man playing handball: medium-light skin tone",1,[]],["🤾🏽♂️","man playing handball: medium skin tone",1,[]],["🤾🏾♂️","man playing handball: medium-dark skin tone",1,[]],["🤾🏿♂️","man playing handball: dark skin tone",1,[]],["🤾♀️","woman playing handball",1,["athletics","ball","catch","chuck","handball","hurl","lob","pitch","playing","sport","throw","toss","woman"]],["🤾🏻♀️","woman playing handball: light skin tone",1,[]],["🤾🏼♀️","woman playing handball: medium-light skin tone",1,[]],["🤾🏽♀️","woman playing handball: medium skin tone",1,[]],["🤾🏾♀️","woman playing handball: medium-dark skin tone",1,[]],["🤾🏿♀️","woman playing handball: dark skin tone",1,[]],["🤹","person juggling",1,["act","balance","balancing","handle","juggle","juggling","manage","multitask","person","skill"]],["🤹🏻","person juggling: light skin tone",1,[]],["🤹🏼","person juggling: medium-light skin tone",1,[]],["🤹🏽","person juggling: medium skin tone",1,[]],["🤹🏾","person juggling: medium-dark skin tone",1,[]],["🤹🏿","person juggling: dark skin tone",1,[]],["🤹♂️","man juggling",1,["act","balance","balancing","handle","juggle","juggling","man","manage","multitask","skill"]],["🤹🏻♂️","man juggling: light skin tone",1,[]],["🤹🏼♂️","man juggling: medium-light skin tone",1,[]],["🤹🏽♂️","man juggling: medium skin tone",1,[]],["🤹🏾♂️","man juggling: medium-dark skin tone",1,[]],["🤹🏿♂️","man juggling: dark skin tone",1,[]],["🤹♀️","woman juggling",1,["act","balance","balancing","handle","juggle","juggling","manage","multitask","skill","woman"]],["🤹🏻♀️","woman juggling: light skin tone",1,[]],["🤹🏼♀️","woman juggling: medium-light skin tone",1,[]],["🤹🏽♀️","woman juggling: medium skin tone",1,[]],["🤹🏾♀️","woman juggling: medium-dark skin tone",1,[]],["🤹🏿♀️","woman juggling: dark skin tone",1,[]],["🧘","person in lotus position",1,["cross","legged","legs","lotus","meditation","peace","person","position","relax","serenity","yoga","yogi","zen"]],["🧘🏻","person in lotus position: light skin tone",1,[]],["🧘🏼","person in lotus position: medium-light skin tone",1,[]],["🧘🏽","person in lotus position: medium skin tone",1,[]],["🧘🏾","person in lotus position: medium-dark skin tone",1,[]],["🧘🏿","person in lotus position: dark skin tone",1,[]],["🧘♂️","man in lotus position",1,["cross","legged","legs","lotus","man","meditation","peace","position","relax","serenity","yoga","yogi","zen"]],["🧘🏻♂️","man in lotus position: light skin tone",1,[]],["🧘🏼♂️","man in lotus position: medium-light skin tone",1,[]],["🧘🏽♂️","man in lotus position: medium skin tone",1,[]],["🧘🏾♂️","man in lotus position: medium-dark skin tone",1,[]],["🧘🏿♂️","man in lotus position: dark skin tone",1,[]],["🧘♀️","woman in lotus position",1,["cross","legged","legs","lotus","meditation","peace","position","relax","serenity","woman","yoga","yogi","zen"]],["🧘🏻♀️","woman in lotus position: light skin tone",1,[]],["🧘🏼♀️","woman in lotus position: medium-light skin tone",1,[]],["🧘🏽♀️","woman in lotus position: medium skin tone",1,[]],["🧘🏾♀️","woman in lotus position: medium-dark skin tone",1,[]],["🧘🏿♀️","woman in lotus position: dark skin tone",1,[]],["🛀","person taking bath",1,["bath","bathtub","person","taking","tub"]],["🛀🏻","person taking bath: light skin tone",1,[]],["🛀🏼","person taking bath: medium-light skin tone",1,[]],["🛀🏽","person taking bath: medium skin tone",1,[]],["🛀🏾","person taking bath: medium-dark skin tone",1,[]],["🛀🏿","person taking bath: dark skin tone",1,[]],["🛌","person in bed",1,["bed","bedtime","good","goodnight","hotel","nap","night","person","sleep","tired","zzz"]],["🛌🏻","person in bed: light skin tone",1,[]],["🛌🏼","person in bed: medium-light skin tone",1,[]],["🛌🏽","person in bed: medium skin tone",1,[]],["🛌🏾","person in bed: medium-dark skin tone",1,[]],["🛌🏿","person in bed: dark skin tone",1,[]],["🧑🤝🧑","people holding hands",1,["bae","bestie","bff","couple","dating","flirt","friends","hand","hold","people","twins"]],["🧑🏻🤝🧑🏻","people holding hands: light skin tone",1,[]],["🧑🏻🤝🧑🏼","people holding hands: light skin tone, medium-light skin tone",1,[]],["🧑🏻🤝🧑🏽","people holding hands: light skin tone, medium skin tone",1,[]],["🧑🏻🤝🧑🏾","people holding hands: light skin tone, medium-dark skin tone",1,[]],["🧑🏻🤝🧑🏿","people holding hands: light skin tone, dark skin tone",1,[]],["🧑🏼🤝🧑🏻","people holding hands: medium-light skin tone, light skin tone",1,[]],["🧑🏼🤝🧑🏼","people holding hands: medium-light skin tone",1,[]],["🧑🏼🤝🧑🏽","people holding hands: medium-light skin tone, medium skin tone",1,[]],["🧑🏼🤝🧑🏾","people holding hands: medium-light skin tone, medium-dark skin tone",1,[]],["🧑🏼🤝🧑🏿","people holding hands: medium-light skin tone, dark skin tone",1,[]],["🧑🏽🤝🧑🏻","people holding hands: medium skin tone, light skin tone",1,[]],["🧑🏽🤝🧑🏼","people holding hands: medium skin tone, medium-light skin tone",1,[]],["🧑🏽🤝🧑🏽","people holding hands: medium skin tone",1,[]],["🧑🏽🤝🧑🏾","people holding hands: medium skin tone, medium-dark skin tone",1,[]],["🧑🏽🤝🧑🏿","people holding hands: medium skin tone, dark skin tone",1,[]],["🧑🏾🤝🧑🏻","people holding hands: medium-dark skin tone, light skin tone",1,[]],["🧑🏾🤝🧑🏼","people holding hands: medium-dark skin tone, medium-light skin tone",1,[]],["🧑🏾🤝🧑🏽","people holding hands: medium-dark skin tone, medium skin tone",1,[]],["🧑🏾🤝🧑🏾","people holding hands: medium-dark skin tone",1,[]],["🧑🏾🤝🧑🏿","people holding hands: medium-dark skin tone, dark skin tone",1,[]],["🧑🏿🤝🧑🏻","people holding hands: dark skin tone, light skin tone",1,[]],["🧑🏿🤝🧑🏼","people holding hands: dark skin tone, medium-light skin tone",1,[]],["🧑🏿🤝🧑🏽","people holding hands: dark skin tone, medium skin tone",1,[]],["🧑🏿🤝🧑🏾","people holding hands: dark skin tone, medium-dark skin tone",1,[]],["🧑🏿🤝🧑🏿","people holding hands: dark skin tone",1,[]],["👭","women holding hands",1,["bae","bestie","bff","couple","dating","flirt","friends","girls","hand","hold","sisters","twins","women"]],["👭🏻","women holding hands: light skin tone",1,[]],["👩🏻🤝👩🏼","women holding hands: light skin tone, medium-light skin tone",1,[]],["👩🏻🤝👩🏽","women holding hands: light skin tone, medium skin tone",1,[]],["👩🏻🤝👩🏾","women holding hands: light skin tone, medium-dark skin tone",1,[]],["👩🏻🤝👩🏿","women holding hands: light skin tone, dark skin tone",1,[]],["👩🏼🤝👩🏻","women holding hands: medium-light skin tone, light skin tone",1,[]],["👭🏼","women holding hands: medium-light skin tone",1,[]],["👩🏼🤝👩🏽","women holding hands: medium-light skin tone, medium skin tone",1,[]],["👩🏼🤝👩🏾","women holding hands: medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼🤝👩🏿","women holding hands: medium-light skin tone, dark skin tone",1,[]],["👩🏽🤝👩🏻","women holding hands: medium skin tone, light skin tone",1,[]],["👩🏽🤝👩🏼","women holding hands: medium skin tone, medium-light skin tone",1,[]],["👭🏽","women holding hands: medium skin tone",1,[]],["👩🏽🤝👩🏾","women holding hands: medium skin tone, medium-dark skin tone",1,[]],["👩🏽🤝👩🏿","women holding hands: medium skin tone, dark skin tone",1,[]],["👩🏾🤝👩🏻","women holding hands: medium-dark skin tone, light skin tone",1,[]],["👩🏾🤝👩🏼","women holding hands: medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾🤝👩🏽","women holding hands: medium-dark skin tone, medium skin tone",1,[]],["👭🏾","women holding hands: medium-dark skin tone",1,[]],["👩🏾🤝👩🏿","women holding hands: medium-dark skin tone, dark skin tone",1,[]],["👩🏿🤝👩🏻","women holding hands: dark skin tone, light skin tone",1,[]],["👩🏿🤝👩🏼","women holding hands: dark skin tone, medium-light skin tone",1,[]],["👩🏿🤝👩🏽","women holding hands: dark skin tone, medium skin tone",1,[]],["👩🏿🤝👩🏾","women holding hands: dark skin tone, medium-dark skin tone",1,[]],["👭🏿","women holding hands: dark skin tone",1,[]],["👫","woman and man holding hands",1,["bae","bestie","bff","couple","dating","flirt","friends","hand","hold","man","twins","woman"]],["👫🏻","woman and man holding hands: light skin tone",1,[]],["👩🏻🤝👨🏼","woman and man holding hands: light skin tone, medium-light skin tone",1,[]],["👩🏻🤝👨🏽","woman and man holding hands: light skin tone, medium skin tone",1,[]],["👩🏻🤝👨🏾","woman and man holding hands: light skin tone, medium-dark skin tone",1,[]],["👩🏻🤝👨🏿","woman and man holding hands: light skin tone, dark skin tone",1,[]],["👩🏼🤝👨🏻","woman and man holding hands: medium-light skin tone, light skin tone",1,[]],["👫🏼","woman and man holding hands: medium-light skin tone",1,[]],["👩🏼🤝👨🏽","woman and man holding hands: medium-light skin tone, medium skin tone",1,[]],["👩🏼🤝👨🏾","woman and man holding hands: medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼🤝👨🏿","woman and man holding hands: medium-light skin tone, dark skin tone",1,[]],["👩🏽🤝👨🏻","woman and man holding hands: medium skin tone, light skin tone",1,[]],["👩🏽🤝👨🏼","woman and man holding hands: medium skin tone, medium-light skin tone",1,[]],["👫🏽","woman and man holding hands: medium skin tone",1,[]],["👩🏽🤝👨🏾","woman and man holding hands: medium skin tone, medium-dark skin tone",1,[]],["👩🏽🤝👨🏿","woman and man holding hands: medium skin tone, dark skin tone",1,[]],["👩🏾🤝👨🏻","woman and man holding hands: medium-dark skin tone, light skin tone",1,[]],["👩🏾🤝👨🏼","woman and man holding hands: medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾🤝👨🏽","woman and man holding hands: medium-dark skin tone, medium skin tone",1,[]],["👫🏾","woman and man holding hands: medium-dark skin tone",1,[]],["👩🏾🤝👨🏿","woman and man holding hands: medium-dark skin tone, dark skin tone",1,[]],["👩🏿🤝👨🏻","woman and man holding hands: dark skin tone, light skin tone",1,[]],["👩🏿🤝👨🏼","woman and man holding hands: dark skin tone, medium-light skin tone",1,[]],["👩🏿🤝👨🏽","woman and man holding hands: dark skin tone, medium skin tone",1,[]],["👩🏿🤝👨🏾","woman and man holding hands: dark skin tone, medium-dark skin tone",1,[]],["👫🏿","woman and man holding hands: dark skin tone",1,[]],["👬","men holding hands",1,["bae","bestie","bff","boys","brothers","couple","dating","flirt","friends","hand","hold","men","twins"]],["👬🏻","men holding hands: light skin tone",1,[]],["👨🏻🤝👨🏼","men holding hands: light skin tone, medium-light skin tone",1,[]],["👨🏻🤝👨🏽","men holding hands: light skin tone, medium skin tone",1,[]],["👨🏻🤝👨🏾","men holding hands: light skin tone, medium-dark skin tone",1,[]],["👨🏻🤝👨🏿","men holding hands: light skin tone, dark skin tone",1,[]],["👨🏼🤝👨🏻","men holding hands: medium-light skin tone, light skin tone",1,[]],["👬🏼","men holding hands: medium-light skin tone",1,[]],["👨🏼🤝👨🏽","men holding hands: medium-light skin tone, medium skin tone",1,[]],["👨🏼🤝👨🏾","men holding hands: medium-light skin tone, medium-dark skin tone",1,[]],["👨🏼🤝👨🏿","men holding hands: medium-light skin tone, dark skin tone",1,[]],["👨🏽🤝👨🏻","men holding hands: medium skin tone, light skin tone",1,[]],["👨🏽🤝👨🏼","men holding hands: medium skin tone, medium-light skin tone",1,[]],["👬🏽","men holding hands: medium skin tone",1,[]],["👨🏽🤝👨🏾","men holding hands: medium skin tone, medium-dark skin tone",1,[]],["👨🏽🤝👨🏿","men holding hands: medium skin tone, dark skin tone",1,[]],["👨🏾🤝👨🏻","men holding hands: medium-dark skin tone, light skin tone",1,[]],["👨🏾🤝👨🏼","men holding hands: medium-dark skin tone, medium-light skin tone",1,[]],["👨🏾🤝👨🏽","men holding hands: medium-dark skin tone, medium skin tone",1,[]],["👬🏾","men holding hands: medium-dark skin tone",1,[]],["👨🏾🤝👨🏿","men holding hands: medium-dark skin tone, dark skin tone",1,[]],["👨🏿🤝👨🏻","men holding hands: dark skin tone, light skin tone",1,[]],["👨🏿🤝👨🏼","men holding hands: dark skin tone, medium-light skin tone",1,[]],["👨🏿🤝👨🏽","men holding hands: dark skin tone, medium skin tone",1,[]],["👨🏿🤝👨🏾","men holding hands: dark skin tone, medium-dark skin tone",1,[]],["👬🏿","men holding hands: dark skin tone",1,[]],["💏","kiss",1,["anniversary","babe","bae","couple","date","dating","heart","kiss","love","mwah","person","romance","together","xoxo"]],["💏🏻","kiss: light skin tone",1,[]],["💏🏼","kiss: medium-light skin tone",1,[]],["💏🏽","kiss: medium skin tone",1,[]],["💏🏾","kiss: medium-dark skin tone",1,[]],["💏🏿","kiss: dark skin tone",1,[]],["🧑🏻❤️💋🧑🏼","kiss: person, person, light skin tone, medium-light skin tone",1,[]],["🧑🏻❤️💋🧑🏽","kiss: person, person, light skin tone, medium skin tone",1,[]],["🧑🏻❤️💋🧑🏾","kiss: person, person, light skin tone, medium-dark skin tone",1,[]],["🧑🏻❤️💋🧑🏿","kiss: person, person, light skin tone, dark skin tone",1,[]],["🧑🏼❤️💋🧑🏻","kiss: person, person, medium-light skin tone, light skin tone",1,[]],["🧑🏼❤️💋🧑🏽","kiss: person, person, medium-light skin tone, medium skin tone",1,[]],["🧑🏼❤️💋🧑🏾","kiss: person, person, medium-light skin tone, medium-dark skin tone",1,[]],["🧑🏼❤️💋🧑🏿","kiss: person, person, medium-light skin tone, dark skin tone",1,[]],["🧑🏽❤️💋🧑🏻","kiss: person, person, medium skin tone, light skin tone",1,[]],["🧑🏽❤️💋🧑🏼","kiss: person, person, medium skin tone, medium-light skin tone",1,[]],["🧑🏽❤️💋🧑🏾","kiss: person, person, medium skin tone, medium-dark skin tone",1,[]],["🧑🏽❤️💋🧑🏿","kiss: person, person, medium skin tone, dark skin tone",1,[]],["🧑🏾❤️💋🧑🏻","kiss: person, person, medium-dark skin tone, light skin tone",1,[]],["🧑🏾❤️💋🧑🏼","kiss: person, person, medium-dark skin tone, medium-light skin tone",1,[]],["🧑🏾❤️💋🧑🏽","kiss: person, person, medium-dark skin tone, medium skin tone",1,[]],["🧑🏾❤️💋🧑🏿","kiss: person, person, medium-dark skin tone, dark skin tone",1,[]],["🧑🏿❤️💋🧑🏻","kiss: person, person, dark skin tone, light skin tone",1,[]],["🧑🏿❤️💋🧑🏼","kiss: person, person, dark skin tone, medium-light skin tone",1,[]],["🧑🏿❤️💋🧑🏽","kiss: person, person, dark skin tone, medium skin tone",1,[]],["🧑🏿❤️💋🧑🏾","kiss: person, person, dark skin tone, medium-dark skin tone",1,[]],["👩❤️💋👨","kiss: woman, man",1,[]],["👩🏻❤️💋👨🏻","kiss: woman, man, light skin tone",1,[]],["👩🏻❤️💋👨🏼","kiss: woman, man, light skin tone, medium-light skin tone",1,[]],["👩🏻❤️💋👨🏽","kiss: woman, man, light skin tone, medium skin tone",1,[]],["👩🏻❤️💋👨🏾","kiss: woman, man, light skin tone, medium-dark skin tone",1,[]],["👩🏻❤️💋👨🏿","kiss: woman, man, light skin tone, dark skin tone",1,[]],["👩🏼❤️💋👨🏻","kiss: woman, man, medium-light skin tone, light skin tone",1,[]],["👩🏼❤️💋👨🏼","kiss: woman, man, medium-light skin tone",1,[]],["👩🏼❤️💋👨🏽","kiss: woman, man, medium-light skin tone, medium skin tone",1,[]],["👩🏼❤️💋👨🏾","kiss: woman, man, medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼❤️💋👨🏿","kiss: woman, man, medium-light skin tone, dark skin tone",1,[]],["👩🏽❤️💋👨🏻","kiss: woman, man, medium skin tone, light skin tone",1,[]],["👩🏽❤️💋👨🏼","kiss: woman, man, medium skin tone, medium-light skin tone",1,[]],["👩🏽❤️💋👨🏽","kiss: woman, man, medium skin tone",1,[]],["👩🏽❤️💋👨🏾","kiss: woman, man, medium skin tone, medium-dark skin tone",1,[]],["👩🏽❤️💋👨🏿","kiss: woman, man, medium skin tone, dark skin tone",1,[]],["👩🏾❤️💋👨🏻","kiss: woman, man, medium-dark skin tone, light skin tone",1,[]],["👩🏾❤️💋👨🏼","kiss: woman, man, medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾❤️💋👨🏽","kiss: woman, man, medium-dark skin tone, medium skin tone",1,[]],["👩🏾❤️💋👨🏾","kiss: woman, man, medium-dark skin tone",1,[]],["👩🏾❤️💋👨🏿","kiss: woman, man, medium-dark skin tone, dark skin tone",1,[]],["👩🏿❤️💋👨🏻","kiss: woman, man, dark skin tone, light skin tone",1,[]],["👩🏿❤️💋👨🏼","kiss: woman, man, dark skin tone, medium-light skin tone",1,[]],["👩🏿❤️💋👨🏽","kiss: woman, man, dark skin tone, medium skin tone",1,[]],["👩🏿❤️💋👨🏾","kiss: woman, man, dark skin tone, medium-dark skin tone",1,[]],["👩🏿❤️💋👨🏿","kiss: woman, man, dark skin tone",1,[]],["👨❤️💋👨","kiss: man, man",1,[]],["👨🏻❤️💋👨🏻","kiss: man, man, light skin tone",1,[]],["👨🏻❤️💋👨🏼","kiss: man, man, light skin tone, medium-light skin tone",1,[]],["👨🏻❤️💋👨🏽","kiss: man, man, light skin tone, medium skin tone",1,[]],["👨🏻❤️💋👨🏾","kiss: man, man, light skin tone, medium-dark skin tone",1,[]],["👨🏻❤️💋👨🏿","kiss: man, man, light skin tone, dark skin tone",1,[]],["👨🏼❤️💋👨🏻","kiss: man, man, medium-light skin tone, light skin tone",1,[]],["👨🏼❤️💋👨🏼","kiss: man, man, medium-light skin tone",1,[]],["👨🏼❤️💋👨🏽","kiss: man, man, medium-light skin tone, medium skin tone",1,[]],["👨🏼❤️💋👨🏾","kiss: man, man, medium-light skin tone, medium-dark skin tone",1,[]],["👨🏼❤️💋👨🏿","kiss: man, man, medium-light skin tone, dark skin tone",1,[]],["👨🏽❤️💋👨🏻","kiss: man, man, medium skin tone, light skin tone",1,[]],["👨🏽❤️💋👨🏼","kiss: man, man, medium skin tone, medium-light skin tone",1,[]],["👨🏽❤️💋👨🏽","kiss: man, man, medium skin tone",1,[]],["👨🏽❤️💋👨🏾","kiss: man, man, medium skin tone, medium-dark skin tone",1,[]],["👨🏽❤️💋👨🏿","kiss: man, man, medium skin tone, dark skin tone",1,[]],["👨🏾❤️💋👨🏻","kiss: man, man, medium-dark skin tone, light skin tone",1,[]],["👨🏾❤️💋👨🏼","kiss: man, man, medium-dark skin tone, medium-light skin tone",1,[]],["👨🏾❤️💋👨🏽","kiss: man, man, medium-dark skin tone, medium skin tone",1,[]],["👨🏾❤️💋👨🏾","kiss: man, man, medium-dark skin tone",1,[]],["👨🏾❤️💋👨🏿","kiss: man, man, medium-dark skin tone, dark skin tone",1,[]],["👨🏿❤️💋👨🏻","kiss: man, man, dark skin tone, light skin tone",1,[]],["👨🏿❤️💋👨🏼","kiss: man, man, dark skin tone, medium-light skin tone",1,[]],["👨🏿❤️💋👨🏽","kiss: man, man, dark skin tone, medium skin tone",1,[]],["👨🏿❤️💋👨🏾","kiss: man, man, dark skin tone, medium-dark skin tone",1,[]],["👨🏿❤️💋👨🏿","kiss: man, man, dark skin tone",1,[]],["👩❤️💋👩","kiss: woman, woman",1,[]],["👩🏻❤️💋👩🏻","kiss: woman, woman, light skin tone",1,[]],["👩🏻❤️💋👩🏼","kiss: woman, woman, light skin tone, medium-light skin tone",1,[]],["👩🏻❤️💋👩🏽","kiss: woman, woman, light skin tone, medium skin tone",1,[]],["👩🏻❤️💋👩🏾","kiss: woman, woman, light skin tone, medium-dark skin tone",1,[]],["👩🏻❤️💋👩🏿","kiss: woman, woman, light skin tone, dark skin tone",1,[]],["👩🏼❤️💋👩🏻","kiss: woman, woman, medium-light skin tone, light skin tone",1,[]],["👩🏼❤️💋👩🏼","kiss: woman, woman, medium-light skin tone",1,[]],["👩🏼❤️💋👩🏽","kiss: woman, woman, medium-light skin tone, medium skin tone",1,[]],["👩🏼❤️💋👩🏾","kiss: woman, woman, medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼❤️💋👩🏿","kiss: woman, woman, medium-light skin tone, dark skin tone",1,[]],["👩🏽❤️💋👩🏻","kiss: woman, woman, medium skin tone, light skin tone",1,[]],["👩🏽❤️💋👩🏼","kiss: woman, woman, medium skin tone, medium-light skin tone",1,[]],["👩🏽❤️💋👩🏽","kiss: woman, woman, medium skin tone",1,[]],["👩🏽❤️💋👩🏾","kiss: woman, woman, medium skin tone, medium-dark skin tone",1,[]],["👩🏽❤️💋👩🏿","kiss: woman, woman, medium skin tone, dark skin tone",1,[]],["👩🏾❤️💋👩🏻","kiss: woman, woman, medium-dark skin tone, light skin tone",1,[]],["👩🏾❤️💋👩🏼","kiss: woman, woman, medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾❤️💋👩🏽","kiss: woman, woman, medium-dark skin tone, medium skin tone",1,[]],["👩🏾❤️💋👩🏾","kiss: woman, woman, medium-dark skin tone",1,[]],["👩🏾❤️💋👩🏿","kiss: woman, woman, medium-dark skin tone, dark skin tone",1,[]],["👩🏿❤️💋👩🏻","kiss: woman, woman, dark skin tone, light skin tone",1,[]],["👩🏿❤️💋👩🏼","kiss: woman, woman, dark skin tone, medium-light skin tone",1,[]],["👩🏿❤️💋👩🏽","kiss: woman, woman, dark skin tone, medium skin tone",1,[]],["👩🏿❤️💋👩🏾","kiss: woman, woman, dark skin tone, medium-dark skin tone",1,[]],["👩🏿❤️💋👩🏿","kiss: woman, woman, dark skin tone",1,[]],["💑","couple with heart",1,["anniversary","babe","bae","couple","dating","heart","kiss","love","person","relationship","romance","together","you"]],["💑🏻","couple with heart: light skin tone",1,[]],["💑🏼","couple with heart: medium-light skin tone",1,[]],["💑🏽","couple with heart: medium skin tone",1,[]],["💑🏾","couple with heart: medium-dark skin tone",1,[]],["💑🏿","couple with heart: dark skin tone",1,[]],["🧑🏻❤️🧑🏼","couple with heart: person, person, light skin tone, medium-light skin tone",1,[]],["🧑🏻❤️🧑🏽","couple with heart: person, person, light skin tone, medium skin tone",1,[]],["🧑🏻❤️🧑🏾","couple with heart: person, person, light skin tone, medium-dark skin tone",1,[]],["🧑🏻❤️🧑🏿","couple with heart: person, person, light skin tone, dark skin tone",1,[]],["🧑🏼❤️🧑🏻","couple with heart: person, person, medium-light skin tone, light skin tone",1,[]],["🧑🏼❤️🧑🏽","couple with heart: person, person, medium-light skin tone, medium skin tone",1,[]],["🧑🏼❤️🧑🏾","couple with heart: person, person, medium-light skin tone, medium-dark skin tone",1,[]],["🧑🏼❤️🧑🏿","couple with heart: person, person, medium-light skin tone, dark skin tone",1,[]],["🧑🏽❤️🧑🏻","couple with heart: person, person, medium skin tone, light skin tone",1,[]],["🧑🏽❤️🧑🏼","couple with heart: person, person, medium skin tone, medium-light skin tone",1,[]],["🧑🏽❤️🧑🏾","couple with heart: person, person, medium skin tone, medium-dark skin tone",1,[]],["🧑🏽❤️🧑🏿","couple with heart: person, person, medium skin tone, dark skin tone",1,[]],["🧑🏾❤️🧑🏻","couple with heart: person, person, medium-dark skin tone, light skin tone",1,[]],["🧑🏾❤️🧑🏼","couple with heart: person, person, medium-dark skin tone, medium-light skin tone",1,[]],["🧑🏾❤️🧑🏽","couple with heart: person, person, medium-dark skin tone, medium skin tone",1,[]],["🧑🏾❤️🧑🏿","couple with heart: person, person, medium-dark skin tone, dark skin tone",1,[]],["🧑🏿❤️🧑🏻","couple with heart: person, person, dark skin tone, light skin tone",1,[]],["🧑🏿❤️🧑🏼","couple with heart: person, person, dark skin tone, medium-light skin tone",1,[]],["🧑🏿❤️🧑🏽","couple with heart: person, person, dark skin tone, medium skin tone",1,[]],["🧑🏿❤️🧑🏾","couple with heart: person, person, dark skin tone, medium-dark skin tone",1,[]],["👩❤️👨","couple with heart: woman, man",1,[]],["👩🏻❤️👨🏻","couple with heart: woman, man, light skin tone",1,[]],["👩🏻❤️👨🏼","couple with heart: woman, man, light skin tone, medium-light skin tone",1,[]],["👩🏻❤️👨🏽","couple with heart: woman, man, light skin tone, medium skin tone",1,[]],["👩🏻❤️👨🏾","couple with heart: woman, man, light skin tone, medium-dark skin tone",1,[]],["👩🏻❤️👨🏿","couple with heart: woman, man, light skin tone, dark skin tone",1,[]],["👩🏼❤️👨🏻","couple with heart: woman, man, medium-light skin tone, light skin tone",1,[]],["👩🏼❤️👨🏼","couple with heart: woman, man, medium-light skin tone",1,[]],["👩🏼❤️👨🏽","couple with heart: woman, man, medium-light skin tone, medium skin tone",1,[]],["👩🏼❤️👨🏾","couple with heart: woman, man, medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼❤️👨🏿","couple with heart: woman, man, medium-light skin tone, dark skin tone",1,[]],["👩🏽❤️👨🏻","couple with heart: woman, man, medium skin tone, light skin tone",1,[]],["👩🏽❤️👨🏼","couple with heart: woman, man, medium skin tone, medium-light skin tone",1,[]],["👩🏽❤️👨🏽","couple with heart: woman, man, medium skin tone",1,[]],["👩🏽❤️👨🏾","couple with heart: woman, man, medium skin tone, medium-dark skin tone",1,[]],["👩🏽❤️👨🏿","couple with heart: woman, man, medium skin tone, dark skin tone",1,[]],["👩🏾❤️👨🏻","couple with heart: woman, man, medium-dark skin tone, light skin tone",1,[]],["👩🏾❤️👨🏼","couple with heart: woman, man, medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾❤️👨🏽","couple with heart: woman, man, medium-dark skin tone, medium skin tone",1,[]],["👩🏾❤️👨🏾","couple with heart: woman, man, medium-dark skin tone",1,[]],["👩🏾❤️👨🏿","couple with heart: woman, man, medium-dark skin tone, dark skin tone",1,[]],["👩🏿❤️👨🏻","couple with heart: woman, man, dark skin tone, light skin tone",1,[]],["👩🏿❤️👨🏼","couple with heart: woman, man, dark skin tone, medium-light skin tone",1,[]],["👩🏿❤️👨🏽","couple with heart: woman, man, dark skin tone, medium skin tone",1,[]],["👩🏿❤️👨🏾","couple with heart: woman, man, dark skin tone, medium-dark skin tone",1,[]],["👩🏿❤️👨🏿","couple with heart: woman, man, dark skin tone",1,[]],["👨❤️👨","couple with heart: man, man",1,[]],["👨🏻❤️👨🏻","couple with heart: man, man, light skin tone",1,[]],["👨🏻❤️👨🏼","couple with heart: man, man, light skin tone, medium-light skin tone",1,[]],["👨🏻❤️👨🏽","couple with heart: man, man, light skin tone, medium skin tone",1,[]],["👨🏻❤️👨🏾","couple with heart: man, man, light skin tone, medium-dark skin tone",1,[]],["👨🏻❤️👨🏿","couple with heart: man, man, light skin tone, dark skin tone",1,[]],["👨🏼❤️👨🏻","couple with heart: man, man, medium-light skin tone, light skin tone",1,[]],["👨🏼❤️👨🏼","couple with heart: man, man, medium-light skin tone",1,[]],["👨🏼❤️👨🏽","couple with heart: man, man, medium-light skin tone, medium skin tone",1,[]],["👨🏼❤️👨🏾","couple with heart: man, man, medium-light skin tone, medium-dark skin tone",1,[]],["👨🏼❤️👨🏿","couple with heart: man, man, medium-light skin tone, dark skin tone",1,[]],["👨🏽❤️👨🏻","couple with heart: man, man, medium skin tone, light skin tone",1,[]],["👨🏽❤️👨🏼","couple with heart: man, man, medium skin tone, medium-light skin tone",1,[]],["👨🏽❤️👨🏽","couple with heart: man, man, medium skin tone",1,[]],["👨🏽❤️👨🏾","couple with heart: man, man, medium skin tone, medium-dark skin tone",1,[]],["👨🏽❤️👨🏿","couple with heart: man, man, medium skin tone, dark skin tone",1,[]],["👨🏾❤️👨🏻","couple with heart: man, man, medium-dark skin tone, light skin tone",1,[]],["👨🏾❤️👨🏼","couple with heart: man, man, medium-dark skin tone, medium-light skin tone",1,[]],["👨🏾❤️👨🏽","couple with heart: man, man, medium-dark skin tone, medium skin tone",1,[]],["👨🏾❤️👨🏾","couple with heart: man, man, medium-dark skin tone",1,[]],["👨🏾❤️👨🏿","couple with heart: man, man, medium-dark skin tone, dark skin tone",1,[]],["👨🏿❤️👨🏻","couple with heart: man, man, dark skin tone, light skin tone",1,[]],["👨🏿❤️👨🏼","couple with heart: man, man, dark skin tone, medium-light skin tone",1,[]],["👨🏿❤️👨🏽","couple with heart: man, man, dark skin tone, medium skin tone",1,[]],["👨🏿❤️👨🏾","couple with heart: man, man, dark skin tone, medium-dark skin tone",1,[]],["👨🏿❤️👨🏿","couple with heart: man, man, dark skin tone",1,[]],["👩❤️👩","couple with heart: woman, woman",1,[]],["👩🏻❤️👩🏻","couple with heart: woman, woman, light skin tone",1,[]],["👩🏻❤️👩🏼","couple with heart: woman, woman, light skin tone, medium-light skin tone",1,[]],["👩🏻❤️👩🏽","couple with heart: woman, woman, light skin tone, medium skin tone",1,[]],["👩🏻❤️👩🏾","couple with heart: woman, woman, light skin tone, medium-dark skin tone",1,[]],["👩🏻❤️👩🏿","couple with heart: woman, woman, light skin tone, dark skin tone",1,[]],["👩🏼❤️👩🏻","couple with heart: woman, woman, medium-light skin tone, light skin tone",1,[]],["👩🏼❤️👩🏼","couple with heart: woman, woman, medium-light skin tone",1,[]],["👩🏼❤️👩🏽","couple with heart: woman, woman, medium-light skin tone, medium skin tone",1,[]],["👩🏼❤️👩🏾","couple with heart: woman, woman, medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼❤️👩🏿","couple with heart: woman, woman, medium-light skin tone, dark skin tone",1,[]],["👩🏽❤️👩🏻","couple with heart: woman, woman, medium skin tone, light skin tone",1,[]],["👩🏽❤️👩🏼","couple with heart: woman, woman, medium skin tone, medium-light skin tone",1,[]],["👩🏽❤️👩🏽","couple with heart: woman, woman, medium skin tone",1,[]],["👩🏽❤️👩🏾","couple with heart: woman, woman, medium skin tone, medium-dark skin tone",1,[]],["👩🏽❤️👩🏿","couple with heart: woman, woman, medium skin tone, dark skin tone",1,[]],["👩🏾❤️👩🏻","couple with heart: woman, woman, medium-dark skin tone, light skin tone",1,[]],["👩🏾❤️👩🏼","couple with heart: woman, woman, medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾❤️👩🏽","couple with heart: woman, woman, medium-dark skin tone, medium skin tone",1,[]],["👩🏾❤️👩🏾","couple with heart: woman, woman, medium-dark skin tone",1,[]],["👩🏾❤️👩🏿","couple with heart: woman, woman, medium-dark skin tone, dark skin tone",1,[]],["👩🏿❤️👩🏻","couple with heart: woman, woman, dark skin tone, light skin tone",1,[]],["👩🏿❤️👩🏼","couple with heart: woman, woman, dark skin tone, medium-light skin tone",1,[]],["👩🏿❤️👩🏽","couple with heart: woman, woman, dark skin tone, medium skin tone",1,[]],["👩🏿❤️👩🏾","couple with heart: woman, woman, dark skin tone, medium-dark skin tone",1,[]],["👩🏿❤️👩🏿","couple with heart: woman, woman, dark skin tone",1,[]],["👨👩👦","family: man, woman, boy",1,[]],["👨👩👧","family: man, woman, girl",1,[]],["👨👩👧👦","family: man, woman, girl, boy",1,[]],["👨👩👦👦","family: man, woman, boy, boy",1,[]],["👨👩👧👧","family: man, woman, girl, girl",1,[]],["👨👨👦","family: man, man, boy",1,[]],["👨👨👧","family: man, man, girl",1,[]],["👨👨👧👦","family: man, man, girl, boy",1,[]],["👨👨👦👦","family: man, man, boy, boy",1,[]],["👨👨👧👧","family: man, man, girl, girl",1,[]],["👩👩👦","family: woman, woman, boy",1,[]],["👩👩👧","family: woman, woman, girl",1,[]],["👩👩👧👦","family: woman, woman, girl, boy",1,[]],["👩👩👦👦","family: woman, woman, boy, boy",1,[]],["👩👩👧👧","family: woman, woman, girl, girl",1,[]],["👨👦","family: man, boy",1,[]],["👨👦👦","family: man, boy, boy",1,[]],["👨👧","family: man, girl",1,[]],["👨👧👦","family: man, girl, boy",1,[]],["👨👧👧","family: man, girl, girl",1,[]],["👩👦","family: woman, boy",1,[]],["👩👦👦","family: woman, boy, boy",1,[]],["👩👧","family: woman, girl",1,[]],["👩👧👦","family: woman, girl, boy",1,[]],["👩👧👧","family: woman, girl, girl",1,[]],["🗣️","speaking head",1,["face","head","silhouette","speak","speaking"]],["👤","bust in silhouette",1,["bust","mysterious","shadow","silhouette"]],["👥","busts in silhouette",1,["bff","bust","busts","everyone","friend","friends","people","silhouette"]],["🫂","people hugging",1,["comfort","embrace","farewell","friendship","goodbye","hello","hug","hugging","love","people","thanks"]],["👪","family",1,["child","family"]],["🧑🧑🧒","family: adult, adult, child",1,["adult","child","family"]],["🧑🧑🧒🧒","family: adult, adult, child, child",1,["adult","child","family"]],["🧑🧒","family: adult, child",1,["adult","child","family"]],["🧑🧒🧒","family: adult, child, child",1,["adult","child","family"]],["👣","footprints",1,["barefoot","clothing","footprint","footprints","omw","print","walk"]],["","fingerprint",1,["clue","crime","detective","fingerprint","forensics","identity","mystery","print","safety","trace"]],["🐵","monkey face",2,["animal","banana","face","monkey"]],["🐒","monkey",2,["animal","banana","monkey"]],["🦍","gorilla",2,["animal","gorilla"]],["🦧","orangutan",2,["animal","ape","monkey","orangutan"]],["🐶","dog face",2,["adorbs","animal","dog","face","pet","puppies","puppy"]],["🐕","dog",2,["animal","animals","dog","dogs","pet"]],["🦮","guide dog",2,["accessibility","animal","blind","dog","guide"]],["🐕🦺","service dog",2,["accessibility","animal","assistance","dog","service"]],["🐩","poodle",2,["animal","dog","fluffy","poodle"]],["🐺","wolf",2,["animal","face","wolf"]],["🦊","fox",2,["animal","face","fox"]],["🦝","raccoon",2,["animal","curious","raccoon","sly"]],["🐱","cat face",2,["animal","cat","face","kitten","kitty","pet"]],["🐈","cat",2,["animal","animals","cat","cats","kitten","pet"]],["🐈⬛","black cat",2,["animal","black","cat","feline","halloween","meow","unlucky"]],["🦁","lion",2,["alpha","animal","face","Leo","lion","mane","order","rawr","roar","safari","strong","zodiac"]],["🐯","tiger face",2,["animal","big","cat","face","predator","tiger"]],["🐅","tiger",2,["animal","big","cat","predator","tiger","zoo"]],["🐆","leopard",2,["animal","big","cat","leopard","predator","zoo"]],["🐴","horse face",2,["animal","dressage","equine","face","farm","horse","horses"]],["🫎","moose",2,["alces","animal","antlers","elk","mammal","moose"]],["🫏","donkey",2,["animal","ass","burro","donkey","hinny","mammal","mule","stubborn"]],["🐎","horse",2,["animal","equestrian","farm","horse","racehorse","racing"]],["🦄","unicorn",2,["face","unicorn"]],["🦓","zebra",2,["animal","stripe","zebra"]],["🦌","deer",2,["animal","deer"]],["🦬","bison",2,["animal","bison","buffalo","herd","wisent"]],["🐮","cow face",2,["animal","cow","face","farm","milk","moo"]],["🐂","ox",2,["animal","animals","bull","farm","ox","Taurus","zodiac"]],["🐃","water buffalo",2,["animal","buffalo","water","zoo"]],["🐄","cow",2,["animal","animals","cow","farm","milk","moo"]],["🐷","pig face",2,["animal","bacon","face","farm","pig","pork"]],["🐖","pig",2,["animal","bacon","farm","pig","pork","sow"]],["🐗","boar",2,["animal","boar","pig"]],["🐽","pig nose",2,["animal","face","farm","nose","pig","smell","snout"]],["🐏","ram",2,["animal","Aries","horns","male","ram","sheep","zodiac","zoo"]],["🐑","ewe",2,["animal","baa","ewe","farm","female","fluffy","lamb","sheep","wool"]],["🐐","goat",2,["animal","Capricorn","farm","goat","milk","zodiac"]],["🐪","camel",2,["animal","camel","desert","dromedary","hump","one"]],["🐫","two-hump camel",2,["animal","bactrian","camel","desert","hump","two","two-hump"]],["🦙","llama",2,["alpaca","animal","guanaco","llama","vicuña","wool"]],["🦒","giraffe",2,["animal","giraffe","spots"]],["🐘","elephant",2,["animal","elephant"]],["🦣","mammoth",2,["animal","extinction","large","mammoth","tusk","wooly"]],["🦏","rhinoceros",2,["animal","rhinoceros"]],["🦛","hippopotamus",2,["animal","hippo","hippopotamus"]],["🐭","mouse face",2,["animal","face","mouse"]],["🐁","mouse",2,["animal","animals","mouse"]],["🐀","rat",2,["animal","rat"]],["🐹","hamster",2,["animal","face","hamster","pet"]],["🐰","rabbit face",2,["animal","bunny","face","pet","rabbit"]],["🐇","rabbit",2,["animal","bunny","pet","rabbit"]],["🐿️","chipmunk",2,["animal","chipmunk","squirrel"]],["🦫","beaver",2,["animal","beaver","dam","teeth"]],["🦔","hedgehog",2,["animal","hedgehog","spiny"]],["🦇","bat",2,["animal","bat","vampire"]],["🐻","bear",2,["animal","bear","face","grizzly","growl","honey"]],["🐻❄️","polar bear",2,["animal","arctic","bear","polar","white"]],["🐨","koala",2,["animal","australia","bear","down","face","koala","marsupial","under"]],["🐼","panda",2,["animal","bamboo","face","panda"]],["🦥","sloth",2,["lazy","sloth","slow"]],["🦦","otter",2,["animal","fishing","otter","playful"]],["🦨","skunk",2,["animal","skunk","stink"]],["🦘","kangaroo",2,["animal","joey","jump","kangaroo","marsupial"]],["🦡","badger",2,["animal","badger","honey","pester"]],["🐾","paw prints",2,["feet","paw","paws","print","prints"]],["🦃","turkey",2,["bird","gobble","thanksgiving","turkey"]],["🐔","chicken",2,["animal","bird","chicken","ornithology"]],["🐓","rooster",2,["animal","bird","ornithology","rooster"]],["🐣","hatching chick",2,["animal","baby","bird","chick","egg","hatching"]],["🐤","baby chick",2,["animal","baby","bird","chick","ornithology"]],["🐥","front-facing baby chick",2,["animal","baby","bird","chick","front-facing","newborn","ornithology"]],["🐦","bird",2,["animal","bird","ornithology"]],["🐧","penguin",2,["animal","antarctica","bird","ornithology","penguin"]],["🕊️","dove",2,["bird","dove","fly","ornithology","peace"]],["🦅","eagle",2,["animal","bird","eagle","ornithology"]],["🦆","duck",2,["animal","bird","duck","ornithology"]],["🦢","swan",2,["animal","bird","cygnet","duckling","ornithology","swan","ugly"]],["🦉","owl",2,["animal","bird","ornithology","owl","wise"]],["🦤","dodo",2,["animal","bird","dodo","extinction","large","ornithology"]],["🪶","feather",2,["bird","feather","flight","light","plumage"]],["🦩","flamingo",2,["animal","bird","flamboyant","flamingo","ornithology","tropical"]],["🦚","peacock",2,["animal","bird","colorful","ornithology","ostentatious","peacock","peahen","pretty","proud"]],["🦜","parrot",2,["animal","bird","ornithology","parrot","pirate","talk"]],["🪽","wing",2,["angelic","ascend","aviation","bird","fly","flying","heavenly","mythology","soar","wing"]],["🐦⬛","black bird",2,["animal","beak","bird","black","caw","corvid","crow","ornithology","raven","rook"]],["🪿","goose",2,["animal","bird","duck","flock","fowl","gaggle","gander","geese","goose","honk","ornithology","silly"]],["🐦🔥","phoenix",2,["ascend","ascension","emerge","fantasy","firebird","glory","immortal","phoenix","rebirth","reincarnation","reinvent","renewal","revival","revive","rise","transform"]],["🐸","frog",2,["animal","face","frog"]],["🐊","crocodile",2,["animal","crocodile","zoo"]],["🐢","turtle",2,["animal","terrapin","tortoise","turtle"]],["🦎","lizard",2,["animal","lizard","reptile"]],["🐍","snake",2,["animal","bearer","Ophiuchus","serpent","snake","zodiac"]],["🐲","dragon face",2,["animal","dragon","face","fairy","fairytale","tale"]],["🐉","dragon",2,["animal","dragon","fairy","fairytale","knights","tale"]],["🦕","sauropod",2,["brachiosaurus","brontosaurus","dinosaur","diplodocus","sauropod"]],["🦖","T-Rex",2,["dinosaur","Rex","T","T-Rex","Tyrannosaurus"]],["🐳","spouting whale",2,["animal","beach","face","ocean","spouting","whale"]],["🐋","whale",2,["animal","beach","ocean","whale"]],["🐬","dolphin",2,["animal","beach","dolphin","flipper","ocean"]],["","orca",2,["marine","ocean","whale"]],["🦭","seal",2,["animal","lion","ocean","sea","seal"]],["🐟","fish",2,["animal","dinner","fish","fishes","fishing","Pisces","zodiac"]],["🐠","tropical fish",2,["animal","fish","fishes","tropical"]],["🐡","blowfish",2,["animal","blowfish","fish"]],["🦈","shark",2,["animal","fish","shark"]],["🐙","octopus",2,["animal","creature","ocean","octopus"]],["🐚","spiral shell",2,["animal","beach","conch","sea","shell","spiral"]],["🪸","coral",2,["change","climate","coral","ocean","reef","sea"]],["🪼","jellyfish",2,["animal","aquarium","burn","invertebrate","jelly","jellyfish","life","marine","ocean","ouch","plankton","sea","sting","stinger","tentacles"]],["🦀","crab",2,["Cancer","crab","zodiac"]],["🦞","lobster",2,["animal","bisque","claws","lobster","seafood"]],["🦐","shrimp",2,["food","shellfish","shrimp","small"]],["🦑","squid",2,["animal","food","mollusk","squid"]],["🦪","oyster",2,["diving","oyster","pearl"]],["🐌","snail",2,["animal","escargot","garden","nature","slug","snail"]],["🦋","butterfly",2,["butterfly","insect","pretty"]],["","monarch butterfly",2,[]],["🐛","bug",2,["animal","bug","garden","insect"]],["🐜","ant",2,["animal","ant","garden","insect"]],["🐝","honeybee",2,["animal","bee","bumblebee","honey","honeybee","insect","nature","spring"]],["🪲","beetle",2,["animal","beetle","bug","insect"]],["🐞","lady beetle",2,["animal","beetle","garden","insect","lady","ladybird","ladybug","nature"]],["🦗","cricket",2,["animal","bug","cricket","grasshopper","insect","Orthoptera"]],["🪳","cockroach",2,["animal","cockroach","insect","pest","roach"]],["🕷️","spider",2,["animal","insect","spider"]],["🕸️","spider web",2,["spider","web"]],["🦂","scorpion",2,["Scorpio","scorpion","Scorpius","zodiac"]],["🦟","mosquito",2,["bite","disease","fever","insect","malaria","mosquito","pest","virus"]],["🪰","fly",2,["animal","disease","fly","insect","maggot","pest","rotting"]],["🪱","worm",2,["animal","annelid","earthworm","parasite","worm"]],["🦠","microbe",2,["amoeba","bacteria","microbe","science","virus"]],["💐","bouquet",2,["anniversary","birthday","bouquet","date","flower","love","plant","romance"]],["🌸","cherry blossom",2,["blossom","cherry","flower","plant","spring","springtime"]],["💮","white flower",2,["flower","white"]],["🪷","lotus",2,["beauty","Buddhism","calm","flower","Hinduism","lotus","peace","purity","serenity"]],["🏵️","rosette",2,["plant","rosette"]],["🌹","rose",2,["beauty","elegant","flower","love","plant","red","rose","valentine"]],["🥀","wilted flower",2,["dying","flower","wilted"]],["🌺","hibiscus",2,["flower","hibiscus","plant"]],["🌻","sunflower",2,["flower","outdoors","plant","sun","sunflower"]],["🌼","blossom",2,["blossom","buttercup","dandelion","flower","plant"]],["🌷","tulip",2,["blossom","flower","growth","plant","tulip"]],["🪻","hyacinth",2,["bloom","bluebonnet","flower","hyacinth","indigo","lavender","lilac","lupine","plant","purple","shrub","snapdragon","spring","violet"]],["🌱","seedling",2,["plant","sapling","seedling","sprout","young"]],["🪴","potted plant",2,["decor","grow","house","nurturing","plant","pot","potted"]],["🌲","evergreen tree",2,["christmas","evergreen","forest","pine","tree"]],["🌳","deciduous tree",2,["deciduous","forest","green","habitat","shedding","tree"]],["🌴","palm tree",2,["beach","palm","plant","tree","tropical"]],["🌵","cactus",2,["cactus","desert","drought","nature","plant"]],["🌾","sheaf of rice",2,["ear","grain","grains","plant","rice","sheaf"]],["🌿","herb",2,["herb","leaf","plant"]],["☘️","shamrock",2,["irish","plant","shamrock"]],["🍀","four leaf clover",2,["4","clover","four","four-leaf","irish","leaf","lucky","plant"]],["🍁","maple leaf",2,["falling","leaf","maple"]],["🍂","fallen leaf",2,["autumn","fall","fallen","falling","leaf"]],["🍃","leaf fluttering in wind",2,["blow","flutter","fluttering","leaf","wind"]],["🪹","empty nest",2,["branch","empty","home","nest","nesting"]],["🪺","nest with eggs",2,["bird","branch","egg","eggs","nest","nesting"]],["🍄","mushroom",2,["fungus","mushroom","toadstool"]],["","leafless tree",2,["bare","barren","branches","dead","drought","leafless","tree","trunk","winter","wood"]],["🍇","grapes",3,["Dionysus","fruit","grape","grapes"]],["🍈","melon",3,["cantaloupe","fruit","melon"]],["🍉","watermelon",3,["fruit","watermelon"]],["🍊","tangerine",3,["c","citrus","fruit","nectarine","orange","tangerine","vitamin"]],["🍋","lemon",3,["citrus","fruit","lemon","sour"]],["🍋🟩","lime",3,["acidity","citrus","cocktail","fruit","garnish","key","lime","margarita","mojito","refreshing","salsa","sour","tangy","tequila","tropical","zest"]],["🍌","banana",3,["banana","fruit","potassium"]],["🍍","pineapple",3,["colada","fruit","pina","pineapple","tropical"]],["🥭","mango",3,["food","fruit","mango","tropical"]],["🍎","red apple",3,["apple","diet","food","fruit","health","red","ripe"]],["🍏","green apple",3,["apple","fruit","green"]],["🍐","pear",3,["fruit","pear"]],["🍑","peach",3,["fruit","peach"]],["🍒","cherries",3,["berries","cherries","cherry","fruit","red"]],["🍓","strawberry",3,["berry","fruit","strawberry"]],["🫐","blueberries",3,["berries","berry","bilberry","blue","blueberries","blueberry","food","fruit"]],["🥝","kiwi fruit",3,["food","fruit","kiwi"]],["🍅","tomato",3,["food","fruit","tomato","vegetable"]],["🫒","olive",3,["food","olive"]],["🥥","coconut",3,["coconut","colada","palm","piña"]],["🥑","avocado",3,["avocado","food","fruit"]],["🍆","eggplant",3,["aubergine","eggplant","vegetable"]],["🥔","potato",3,["food","potato","vegetable"]],["🥕","carrot",3,["carrot","food","vegetable"]],["🌽","ear of corn",3,["corn","crops","ear","farm","maize","maze"]],["🌶️","hot pepper",3,["hot","pepper"]],["🫑","bell pepper",3,["bell","capsicum","food","pepper","vegetable"]],["🥒","cucumber",3,["cucumber","food","pickle","vegetable"]],["","pickle",3,[]],["🥬","leafy green",3,["bok","burgers","cabbage","choy","green","kale","leafy","lettuce","salad"]],["🥦","broccoli",3,["broccoli","cabbage","wild"]],["🧄","garlic",3,["flavoring","garlic"]],["🧅","onion",3,["flavoring","onion"]],["🥜","peanuts",3,["food","nut","peanut","peanuts","vegetable"]],["🫘","beans",3,["beans","food","kidney","legume","small"]],["🌰","chestnut",3,["almond","chestnut","plant"]],["🫚","ginger root",3,["beer","ginger","health","herb","natural","root","spice"]],["🫛","pea pod",3,["beans","beanstalk","edamame","legume","pea","pod","soybean","vegetable","veggie"]],["🍄🟫","brown mushroom",3,["food","fungi","fungus","mushroom","nature","pizza","portobello","shiitake","shroom","spore","sprout","toppings","truffle","vegetable","vegetarian","veggie"]],["","root vegetable",3,["beet","food","garden","radish","root","salad","turnip","vegetable","vegetarian"]],["🍞","bread",3,["bread","carbs","food","grain","loaf","restaurant","toast","wheat"]],["🥐","croissant",3,["bread","breakfast","crescent","croissant","food","french","roll"]],["🥖","baguette bread",3,["baguette","bread","food","french"]],["🫓","flatbread",3,["arepa","bread","flatbread","food","gordita","lavash","naan","pita"]],["🥨","pretzel",3,["convoluted","pretzel","twisted"]],["🥯","bagel",3,["bagel","bakery","bread","breakfast","schmear"]],["🥞","pancakes",3,["breakfast","crêpe","food","hotcake","pancake","pancakes"]],["🧇","waffle",3,["breakfast","indecisive","iron","waffle"]],["🧀","cheese wedge",3,["cheese","wedge"]],["🍖","meat on bone",3,["bone","meat"]],["🍗","poultry leg",3,["bone","chicken","drumstick","hungry","leg","poultry","turkey"]],["🥩","cut of meat",3,["chop","cut","lambchop","meat","porkchop","red","steak"]],["🥓","bacon",3,["bacon","breakfast","food","meat"]],["🍔","hamburger",3,["burger","eat","fast","food","hamburger","hungry"]],["🍟","french fries",3,["fast","food","french","fries"]],["🍕","pizza",3,["cheese","food","hungry","pepperoni","pizza","slice"]],["🌭","hot dog",3,["dog","frankfurter","hot","hotdog","sausage"]],["🥪","sandwich",3,["bread","sandwich"]],["🌮","taco",3,["mexican","taco"]],["🌯","burrito",3,["burrito","mexican","wrap"]],["🫔","tamale",3,["food","mexican","pamonha","tamale","wrapped"]],["🥙","stuffed flatbread",3,["falafel","flatbread","food","gyro","kebab","stuffed"]],["🧆","falafel",3,["chickpea","falafel","meatball"]],["🥚","egg",3,["breakfast","egg","food"]],["🍳","cooking",3,["breakfast","cooking","easy","egg","fry","frying","over","pan","restaurant","side","sunny","up"]],["🥘","shallow pan of food",3,["casserole","food","paella","pan","shallow"]],["🍲","pot of food",3,["food","pot","soup","stew"]],["🫕","fondue",3,["cheese","chocolate","fondue","food","melted","pot","ski"]],["🥣","bowl with spoon",3,["bowl","breakfast","cereal","congee","oatmeal","porridge","spoon"]],["🥗","green salad",3,["food","green","salad"]],["🍿","popcorn",3,["corn","movie","pop","popcorn"]],["🧈","butter",3,["butter","dairy"]],["🧂","salt",3,["condiment","flavor","mad","salt","salty","shaker","taste","upset"]],["🥫","canned food",3,["can","canned","food"]],["🍱","bento box",3,["bento","box","food"]],["🍘","rice cracker",3,["cracker","food","rice"]],["🍙","rice ball",3,["ball","food","Japanese","rice"]],["🍚","cooked rice",3,["cooked","food","rice"]],["🍛","curry rice",3,["curry","food","rice"]],["🍜","steaming bowl",3,["bowl","chopsticks","food","noodle","pho","ramen","soup","steaming"]],["🍝","spaghetti",3,["food","meatballs","pasta","restaurant","spaghetti"]],["🍠","roasted sweet potato",3,["food","potato","roasted","sweet"]],["🍢","oden",3,["food","kebab","oden","restaurant","seafood","skewer","stick"]],["🍣","sushi",3,["food","sushi"]],["🍤","fried shrimp",3,["fried","prawn","shrimp","tempura"]],["🍥","fish cake with swirl",3,["cake","fish","food","pastry","restaurant","swirl"]],["🥮","moon cake",3,["autumn","cake","festival","moon","yuèbǐng"]],["🍡","dango",3,["dango","dessert","Japanese","skewer","stick","sweet"]],["🥟","dumpling",3,["dumpling","empanada","gyōza","jiaozi","pierogi","potsticker"]],["🥠","fortune cookie",3,["cookie","fortune","prophecy"]],["🥡","takeout box",3,["box","chopsticks","delivery","food","oyster","pail","takeout"]],["🍦","soft ice cream",3,["cream","dessert","food","ice","icecream","restaurant","serve","soft","sweet"]],["🍧","shaved ice",3,["dessert","ice","restaurant","shaved","sweet"]],["🍨","ice cream",3,["cream","dessert","food","ice","restaurant","sweet"]],["🍩","doughnut",3,["breakfast","dessert","donut","doughnut","food","sweet"]],["🍪","cookie",3,["chip","chocolate","cookie","dessert","sweet"]],["🎂","birthday cake",3,["bday","birthday","cake","celebration","dessert","happy","pastry","sweet"]],["🍰","shortcake",3,["cake","dessert","pastry","shortcake","slice","sweet"]],["🧁","cupcake",3,["bakery","cupcake","dessert","sprinkles","sugar","sweet","treat"]],["🥧","pie",3,["apple","filling","fruit","meat","pastry","pie","pumpkin","slice"]],["🍫","chocolate bar",3,["bar","candy","chocolate","dessert","halloween","sweet","tooth"]],["🍬","candy",3,["candy","cavities","dessert","halloween","restaurant","sweet","tooth","wrapper"]],["🍭","lollipop",3,["candy","dessert","food","lollipop","restaurant","sweet"]],["🍮","custard",3,["custard","dessert","pudding","sweet"]],["🍯","honey pot",3,["barrel","bear","food","honey","honeypot","jar","pot","sweet"]],["🍼","baby bottle",3,["babies","baby","birth","born","bottle","drink","infant","milk","newborn"]],["🥛","glass of milk",3,["drink","glass","milk"]],["☕","hot beverage",3,["beverage","cafe","caffeine","chai","coffee","drink","hot","morning","steaming","tea"]],["🫖","teapot",3,["brew","drink","food","pot","tea","teapot"]],["🍵","teacup without handle",3,["beverage","cup","drink","handle","oolong","tea","teacup"]],["🍶","sake",3,["bar","beverage","bottle","cup","drink","restaurant","sake"]],["🍾","bottle with popping cork",3,["bar","bottle","cork","drink","popping"]],["🍷","wine glass",3,["alcohol","bar","beverage","booze","club","drink","drinking","drinks","glass","restaurant","wine"]],["🍸","cocktail glass",3,["alcohol","bar","booze","club","cocktail","drink","drinking","drinks","glass","mad","martini","men"]],["🍹","tropical drink",3,["alcohol","bar","booze","club","cocktail","drink","drinking","drinks","drunk","mai","party","tai","tropical","tropics"]],["🍺","beer mug",3,["alcohol","ale","bar","beer","booze","drink","drinking","drinks","mug","octoberfest","oktoberfest","pint","stein","summer"]],["🍻","clinking beer mugs",3,["alcohol","bar","beer","booze","bottoms","cheers","clink","clinking","drinking","drinks","mugs"]],["🥂","clinking glasses",3,["celebrate","clink","clinking","drink","glass","glasses"]],["🥃","tumbler glass",3,["glass","liquor","scotch","shot","tumbler","whiskey","whisky"]],["🫗","pouring liquid",3,["accident","drink","empty","glass","liquid","oops","pour","pouring","spill","water"]],["🥤","cup with straw",3,["cup","drink","juice","malt","soda","soft","straw","water"]],["🧋","bubble tea",3,["boba","bubble","food","milk","pearl","tea"]],["🧃","beverage box",3,["beverage","box","juice","straw","sweet"]],["🧉","mate",3,["drink","mate"]],["🧊","ice",3,["cold","cube","ice","iceberg"]],["🥢","chopsticks",3,["chopsticks","hashi","jeotgarak","kuaizi"]],["🍽️","fork and knife with plate",3,["cooking","dinner","eat","fork","knife","plate"]],["🍴","fork and knife",3,["breakfast","breaky","cooking","cutlery","delicious","dinner","eat","feed","food","fork","hungry","knife","lunch","restaurant","yum","yummy"]],["🥄","spoon",3,["eat","spoon","tableware"]],["🔪","kitchen knife",3,["chef","cooking","hocho","kitchen","knife","tool","weapon"]],["🫙","jar",3,["condiment","container","empty","jar","nothing","sauce","store"]],["🏺","amphora",3,["amphora","Aquarius","cooking","drink","jug","tool","weapon","zodiac"]],["🌍","globe showing Europe-Africa",4,["Africa","earth","Europe","Europe-Africa","globe","showing","world"]],["🌎","globe showing Americas",4,["Americas","earth","globe","showing","world"]],["🌏","globe showing Asia-Australia",4,["Asia","Asia-Australia","Australia","earth","globe","showing","world"]],["🌐","globe with meridians",4,["earth","globe","internet","meridians","web","world","worldwide"]],["🗺️","world map",4,["map","world"]],["🗾","map of Japan",4,["Japan","map"]],["🧭","compass",4,["compass","direction","magnetic","navigation","orienteering"]],["🏔️","snow-capped mountain",4,["cold","mountain","snow","snow-capped"]],["⛰️","mountain",4,["mountain"]],["","landslide",4,["avalanche","danger","disaster","earthquake","mountain","mudslide","rocks"]],["🌋","volcano",4,["eruption","mountain","nature","volcano"]],["🗻","mount fuji",4,["fuji","mount","mountain","nature"]],["🏕️","camping",4,["camping"]],["🏖️","beach with umbrella",4,["beach","umbrella"]],["🏜️","desert",4,["desert"]],["🏝️","desert island",4,["desert","island"]],["🏞️","national park",4,["national","park"]],["🏟️","stadium",4,["stadium"]],["🏛️","classical building",4,["building","classical"]],["🏗️","building construction",4,["building","construction","crane"]],["🧱","brick",4,["brick","bricks","clay","mortar","wall"]],["🪨","rock",4,["boulder","heavy","rock","solid","stone","tough"]],["🪵","wood",4,["log","lumber","timber","wood"]],["🛖","hut",4,["home","house","hut","roundhouse","shelter","yurt"]],["🏘️","houses",4,["house","houses"]],["🏚️","derelict house",4,["derelict","home","house"]],["🏠","house",4,["building","country","heart","home","house","ranch","settle","simple","suburban","suburbia","where"]],["🏡","house with garden",4,["building","country","garden","heart","home","house","ranch","settle","simple","suburban","suburbia","where"]],["🏢","office building",4,["building","city","cubical","job","office"]],["🏣","Japanese post office",4,["building","Japanese","office","post"]],["🏤","post office",4,["building","European","office","post"]],["🏥","hospital",4,["building","doctor","hospital","medicine"]],["🏦","bank",4,["bank","building"]],["🏨","hotel",4,["building","hotel"]],["🏩","love hotel",4,["building","hotel","love"]],["🏪","convenience store",4,["24","building","convenience","hours","store"]],["🏫","school",4,["building","school"]],["🏬","department store",4,["building","department","store"]],["🏭","factory",4,["building","factory"]],["🏯","Japanese castle",4,["building","castle","Japanese"]],["🏰","castle",4,["building","castle","European"]],["💒","wedding",4,["chapel","hitched","nuptials","romance","wedding"]],["🗼","Tokyo tower",4,["Tokyo","tower"]],["🗽","Statue of Liberty",4,["liberty","Liberty","new","ny","nyc","statue","Statue","york"]],["⛪","church",4,["bless","chapel","Christian","church","cross","religion"]],["🕌","mosque",4,["islam","masjid","mosque","Muslim","religion"]],["🛕","hindu temple",4,["hindu","temple"]],["🕍","synagogue",4,["Jew","Jewish","judaism","religion","synagogue","temple"]],["⛩️","shinto shrine",4,["religion","shinto","shrine"]],["🕋","kaaba",4,["hajj","islam","kaaba","Muslim","religion","umrah"]],["⛲","fountain",4,["fountain"]],["⛺","tent",4,["camping","tent"]],["🌁","foggy",4,["fog","foggy"]],["🌃","night with stars",4,["night","star","stars"]],["🏙️","cityscape",4,["city","cityscape"]],["🌄","sunrise over mountains",4,["morning","mountains","over","sun","sunrise"]],["🌅","sunrise",4,["morning","nature","sun","sunrise"]],["🌆","cityscape at dusk",4,["at","building","city","cityscape","dusk","evening","landscape","sun","sunset"]],["🌇","sunset",4,["building","dusk","sun","sunset"]],["🌉","bridge at night",4,["at","bridge","night"]],["♨️","hot springs",4,["hot","hotsprings","springs","steaming"]],["🎠","carousel horse",4,["carousel","entertainment","horse"]],["🛝","playground slide",4,["amusement","park","play","playground","playing","slide","sliding","theme"]],["🎡","ferris wheel",4,["amusement","ferris","park","theme","wheel"]],["🎢","roller coaster",4,["amusement","coaster","park","roller","theme"]],["💈","barber pole",4,["barber","cut","fresh","haircut","pole","shave"]],["🎪","circus tent",4,["circus","tent"]],["🚂","locomotive",4,["caboose","engine","locomotive","railway","steam","train","trains","travel"]],["🚃","railway car",4,["car","electric","railway","train","tram","travel","trolleybus"]],["🚄","high-speed train",4,["high-speed","railway","shinkansen","speed","train"]],["🚅","bullet train",4,["bullet","high-speed","nose","railway","shinkansen","speed","train","travel"]],["🚆","train",4,["arrived","choo","railway","train"]],["🚇","metro",4,["metro","subway","travel"]],["🚈","light rail",4,["arrived","light","monorail","rail","railway"]],["🚉","station",4,["railway","station","train"]],["🚊","tram",4,["tram","trolleybus"]],["🚝","monorail",4,["monorail","vehicle"]],["🚞","mountain railway",4,["car","mountain","railway","trip"]],["🚋","tram car",4,["bus","car","tram","trolley","trolleybus"]],["🚌","bus",4,["bus","school","vehicle"]],["🚍","oncoming bus",4,["bus","cars","oncoming"]],["🚎","trolleybus",4,["bus","tram","trolley","trolleybus"]],["🚐","minibus",4,["bus","drive","minibus","van","vehicle"]],["🚑","ambulance",4,["ambulance","emergency","vehicle"]],["🚒","fire engine",4,["engine","fire","truck"]],["🚓","police car",4,["5–0","car","cops","patrol","police"]],["🚔","oncoming police car",4,["car","oncoming","police"]],["🚕","taxi",4,["cab","cabbie","car","drive","taxi","vehicle","yellow"]],["🚖","oncoming taxi",4,["cab","cabbie","cars","drove","hail","oncoming","taxi","yellow"]],["🚗","automobile",4,["automobile","car","driving","vehicle"]],["🚘","oncoming automobile",4,["automobile","car","cars","drove","oncoming","vehicle"]],["🚙","sport utility vehicle",4,["car","drive","recreational","sport","sportutility","utility","vehicle"]],["🛻","pickup truck",4,["automobile","car","flatbed","pick-up","pickup","transportation","truck"]],["🚚","delivery truck",4,["car","delivery","drive","truck","vehicle"]],["🚛","articulated lorry",4,["articulated","car","drive","lorry","move","semi","truck","vehicle"]],["🚜","tractor",4,["tractor","vehicle"]],["🏎️","racing car",4,["car","racing","zoom"]],["🏍️","motorcycle",4,["motorcycle","racing"]],["🛵","motor scooter",4,["motor","scooter"]],["🦽","manual wheelchair",4,["accessibility","manual","wheelchair"]],["🦼","motorized wheelchair",4,["accessibility","motorized","wheelchair"]],["🛺","auto rickshaw",4,["auto","rickshaw","tuk"]],["🚲","bicycle",4,["bicycle","bike","class","cycle","cycling","cyclist","gang","ride","spin","spinning"]],["🛴","kick scooter",4,["kick","scooter"]],["🛹","skateboard",4,["board","skate","skateboard","skater","wheels"]],["🛼","roller skate",4,["blades","roller","skate","skates","sport"]],["🚏","bus stop",4,["bus","busstop","stop"]],["🛣️","motorway",4,["highway","motorway","road"]],["🛤️","railway track",4,["railway","track","train"]],["🛢️","oil drum",4,["drum","oil"]],["⛽","fuel pump",4,["diesel","fuel","fuelpump","gas","gasoline","pump","station"]],["🛞","wheel",4,["car","circle","tire","turn","vehicle","wheel"]],["🚨","police car light",4,["alarm","alert","beacon","car","emergency","light","police","revolving","siren"]],["🚥","horizontal traffic light",4,["horizontal","intersection","light","signal","stop","stoplight","traffic"]],["🚦","vertical traffic light",4,["drove","intersection","light","signal","stop","stoplight","traffic","vertical"]],["🛑","stop sign",4,["octagonal","sign","stop"]],["🚧","construction",4,["barrier","construction"]],["","lighthouse",4,[]],["⚓","anchor",4,["anchor","ship","tool"]],["🛟","ring buoy",4,["buoy","float","life","lifesaver","preserver","rescue","ring","safety","save","saver","swim"]],["⛵","sailboat",4,["boat","resort","sailboat","sailing","sea","yacht"]],["🛶","canoe",4,["boat","canoe"]],["🚤","speedboat",4,["billionaire","boat","lake","luxury","millionaire","speedboat","summer","travel"]],["🛳️","passenger ship",4,["passenger","ship"]],["⛴️","ferry",4,["boat","ferry","passenger"]],["🛥️","motor boat",4,["boat","motor","motorboat"]],["🚢","ship",4,["boat","passenger","ship","travel"]],["✈️","airplane",4,["aeroplane","airplane","fly","flying","jet","plane","travel"]],["🛩️","small airplane",4,["aeroplane","airplane","plane","small"]],["🛫","airplane departure",4,["aeroplane","airplane","check-in","departure","departures","plane"]],["🛬","airplane arrival",4,["aeroplane","airplane","arrival","arrivals","arriving","landing","plane"]],["🪂","parachute",4,["hang-glide","parachute","parasail","skydive"]],["💺","seat",4,["chair","seat"]],["🚁","helicopter",4,["copter","helicopter","roflcopter","travel","vehicle"]],["🚟","suspension railway",4,["railway","suspension"]],["🚠","mountain cableway",4,["cable","cableway","gondola","lift","mountain","ski"]],["🚡","aerial tramway",4,["aerial","cable","car","gondola","ropeway","tramway"]],["🛰️","satellite",4,["satellite","space"]],["🚀","rocket",4,["launch","rocket","rockets","space","travel"]],["🛸","flying saucer",4,["aliens","extra","flying","saucer","terrestrial","UFO"]],["🛎️","bellhop bell",4,["bell","bellhop","hotel"]],["🧳","luggage",4,["bag","luggage","packing","roller","suitcase","travel"]],["⌛","hourglass done",4,["done","hourglass","sand","time","timer"]],["⏳","hourglass not done",4,["done","flowing","hourglass","hours","not","sand","timer","waiting","yolo"]],["⌚","watch",4,["clock","time","watch"]],["⏰","alarm clock",4,["alarm","clock","hours","hrs","late","time","waiting"]],["⏱️","stopwatch",4,["clock","stopwatch","time"]],["⏲️","timer clock",4,["clock","timer"]],["🕰️","mantelpiece clock",4,["clock","mantelpiece","time"]],["🕛","twelve o’clock",4,["12","12:00","clock","o’clock","time","twelve"]],["🕧","twelve-thirty",4,["12","12:30","30","clock","thirty","time","twelve","twelve-thirty"]],["🕐","one o’clock",4,["1","1:00","clock","o’clock","one","time"]],["🕜","one-thirty",4,["1","1:30","30","clock","one","one-thirty","thirty","time"]],["🕑","two o’clock",4,["2","2:00","clock","o’clock","time","two"]],["🕝","two-thirty",4,["2","2:30","30","clock","thirty","time","two","two-thirty"]],["🕒","three o’clock",4,["3","3:00","clock","o’clock","three","time"]],["🕞","three-thirty",4,["3","3:30","30","clock","thirty","three","three-thirty","time"]],["🕓","four o’clock",4,["4","4:00","clock","four","o’clock","time"]],["🕟","four-thirty",4,["30","4","4:30","clock","four","four-thirty","thirty","time"]],["🕔","five o’clock",4,["5","5:00","clock","five","o’clock","time"]],["🕠","five-thirty",4,["30","5","5:30","clock","five","five-thirty","thirty","time"]],["🕕","six o’clock",4,["6","6:00","clock","o’clock","six","time"]],["🕡","six-thirty",4,["30","6","6:30","clock","six","six-thirty","thirty"]],["🕖","seven o’clock",4,["0","7","7:00","clock","o’clock","seven"]],["🕢","seven-thirty",4,["30","7","7:30","clock","seven","seven-thirty","thirty"]],["🕗","eight o’clock",4,["8","8:00","clock","eight","o’clock","time"]],["🕣","eight-thirty",4,["30","8","8:30","clock","eight","eight-thirty","thirty","time"]],["🕘","nine o’clock",4,["9","9:00","clock","nine","o’clock","time"]],["🕤","nine-thirty",4,["30","9","9:30","clock","nine","nine-thirty","thirty","time"]],["🕙","ten o’clock",4,["0","10","10:00","clock","o’clock","ten"]],["🕥","ten-thirty",4,["10","10:30","30","clock","ten","ten-thirty","thirty","time"]],["🕚","eleven o’clock",4,["11","11:00","clock","eleven","o’clock","time"]],["🕦","eleven-thirty",4,["11","11:30","30","clock","eleven","eleven-thirty","thirty","time"]],["🌑","new moon",4,["dark","moon","new","space"]],["🌒","waxing crescent moon",4,["crescent","dreams","moon","space","waxing"]],["🌓","first quarter moon",4,["first","moon","quarter","space"]],["🌔","waxing gibbous moon",4,["gibbous","moon","space","waxing"]],["🌕","full moon",4,["full","moon","space"]],["🌖","waning gibbous moon",4,["gibbous","moon","space","waning"]],["🌗","last quarter moon",4,["last","moon","quarter","space"]],["🌘","waning crescent moon",4,["crescent","moon","space","waning"]],["🌙","crescent moon",4,["crescent","moon","ramadan","space"]],["🌚","new moon face",4,["face","moon","new","space"]],["🌛","first quarter moon face",4,["face","first","moon","quarter","space"]],["🌜","last quarter moon face",4,["dreams","face","last","moon","quarter"]],["🌡️","thermometer",4,["thermometer","weather"]],["☀️","sun",4,["bright","rays","space","sun","sunny","weather"]],["🌝","full moon face",4,["bright","face","full","moon"]],["🌞","sun with face",4,["beach","bright","day","face","heat","shine","sun","sunny","sunshine","weather"]],["🪐","ringed planet",4,["planet","ringed","saturn","saturnine"]],["⭐","star",4,["astronomy","medium","star","stars","white"]],["🌟","glowing star",4,["glittery","glow","glowing","night","shining","sparkle","star","win"]],["🌠","shooting star",4,["falling","night","shooting","space","star"]],["🌌","milky way",4,["milky","space","way"]],["☁️","cloud",4,["cloud","weather"]],["⛅","sun behind cloud",4,["behind","cloud","cloudy","sun","weather"]],["⛈️","cloud with lightning and rain",4,["cloud","lightning","rain","thunder","thunderstorm"]],["🌤️","sun behind small cloud",4,["behind","cloud","sun","weather"]],["🌥️","sun behind large cloud",4,["behind","cloud","sun","weather"]],["🌦️","sun behind rain cloud",4,["behind","cloud","rain","sun","weather"]],["🌧️","cloud with rain",4,["cloud","rain","weather"]],["🌨️","cloud with snow",4,["cloud","cold","snow","weather"]],["🌩️","cloud with lightning",4,["cloud","lightning","weather"]],["🌪️","tornado",4,["cloud","tornado","weather","whirlwind"]],["🌫️","fog",4,["cloud","fog","weather"]],["🌬️","wind face",4,["blow","cloud","face","wind"]],["🌀","cyclone",4,["cyclone","dizzy","hurricane","twister","typhoon","weather"]],["🌈","rainbow",4,["gay","genderqueer","glbt","glbtq","lesbian","lgbt","lgbtq","lgbtqia","nature","pride","queer","rain","rainbow","trans","transgender","weather"]],["🌂","closed umbrella",4,["closed","clothing","rain","umbrella"]],["☂️","umbrella",4,["clothing","rain","umbrella"]],["☔","umbrella with rain drops",4,["clothing","drop","drops","rain","umbrella","weather"]],["⛱️","umbrella on ground",4,["ground","rain","sun","umbrella"]],["⚡","high voltage",4,["danger","electric","electricity","high","lightning","nature","thunder","thunderbolt","voltage","zap"]],["❄️","snowflake",4,["cold","snow","snowflake","weather"]],["☃️","snowman",4,["cold","man","snow","snowman"]],["⛄","snowman without snow",4,["cold","man","snow","snowman"]],["☄️","comet",4,["comet","space"]],["","meteor",4,[]],["🔥","fire",4,["af","burn","fire","flame","hot","lit","litaf","tool"]],["💧","droplet",4,["cold","comic","drop","droplet","nature","sad","sweat","tear","water","weather"]],["🌊","water wave",4,["nature","ocean","surf","surfer","surfing","water","wave"]],["🎃","jack-o-lantern",5,["celebration","halloween","jack","jack-o-lantern","lantern","pumpkin"]],["🎄","Christmas tree",5,["celebration","Christmas","tree"]],["🎆","fireworks",5,["boom","celebration","entertainment","fireworks","yolo"]],["🎇","sparkler",5,["boom","celebration","fireworks","sparkle","sparkler"]],["🧨","firecracker",5,["dynamite","explosive","fire","firecracker","fireworks","light","pop","popping","spark"]],["✨","sparkles",5,["*","magic","sparkle","sparkles","star"]],["🎈","balloon",5,["balloon","birthday","celebrate","celebration"]],["🎉","party popper",5,["awesome","birthday","celebrate","celebration","excited","hooray","party","popper","tada","woohoo"]],["🎊","confetti ball",5,["ball","celebrate","celebration","confetti","party","woohoo"]],["🎋","tanabata tree",5,["banner","celebration","Japanese","tanabata","tree"]],["🎍","pine decoration",5,["bamboo","celebration","decoration","Japanese","pine","plant"]],["🎎","Japanese dolls",5,["celebration","doll","dolls","festival","Japanese"]],["🎏","carp streamer",5,["carp","celebration","streamer"]],["🎐","wind chime",5,["bell","celebration","chime","wind"]],["🎑","moon viewing ceremony",5,["celebration","ceremony","moon","viewing"]],["🧧","red envelope",5,["envelope","gift","good","hóngbāo","lai","luck","money","red","see"]],["🎀","ribbon",5,["celebration","ribbon"]],["🎁","wrapped gift",5,["birthday","bow","box","celebration","christmas","gift","present","surprise","wrapped"]],["🎗️","reminder ribbon",5,["celebration","reminder","ribbon"]],["🎟️","admission tickets",5,["admission","ticket","tickets"]],["🎫","ticket",5,["admission","stub","ticket"]],["🎖️","military medal",5,["award","celebration","medal","military"]],["🏆","trophy",5,["champion","champs","prize","slay","sport","trophy","victory","win","winning"]],["🏅","sports medal",5,["award","gold","medal","sports","winner"]],["🥇","1st place medal",5,["1st","first","gold","medal","place"]],["🥈","2nd place medal",5,["2nd","medal","place","second","silver"]],["🥉","3rd place medal",5,["3rd","bronze","medal","place","third"]],["⚽","soccer ball",5,["ball","football","futbol","soccer","sport"]],["⚾","baseball",5,["ball","baseball","sport"]],["🥎","softball",5,["ball","glove","softball","sports","underarm"]],["🏀","basketball",5,["ball","basketball","hoop","sport"]],["🏐","volleyball",5,["ball","game","volleyball"]],["🏈","american football",5,["american","ball","bowl","football","sport","super"]],["🏉","rugby football",5,["ball","football","rugby","sport"]],["🎾","tennis",5,["ball","racquet","sport","tennis"]],["🥏","flying disc",5,["disc","flying","ultimate"]],["🎳","bowling",5,["ball","bowling","game","sport","strike"]],["🏏","cricket game",5,["ball","bat","cricket","game"]],["🏑","field hockey",5,["ball","field","game","hockey","stick"]],["🏒","ice hockey",5,["game","hockey","ice","puck","stick"]],["🥍","lacrosse",5,["ball","goal","lacrosse","sports","stick"]],["🏓","ping pong",5,["ball","bat","game","paddle","ping","pingpong","pong","table","tennis"]],["🏸","badminton",5,["badminton","birdie","game","racquet","shuttlecock"]],["🥊","boxing glove",5,["boxing","glove"]],["🥋","martial arts uniform",5,["arts","judo","karate","martial","taekwondo","uniform"]],["🥅","goal net",5,["goal","net"]],["⛳","flag in hole",5,["flag","golf","hole","sport"]],["⛸️","ice skate",5,["ice","skate","skating"]],["🎣","fishing pole",5,["entertainment","fish","fishing","pole","sport"]],["🤿","diving mask",5,["diving","mask","scuba","snorkeling"]],["🎽","running shirt",5,["athletics","running","sash","shirt"]],["🎿","skis",5,["ski","skis","snow","sport"]],["🛷","sled",5,["luge","sled","sledge","sleigh","snow","toboggan"]],["🥌","curling stone",5,["curling","game","rock","stone"]],["🎯","bullseye",5,["bull","bullseye","dart","direct","entertainment","game","hit","target"]],["🪀","yo-yo",5,["fluctuate","toy","yo-yo"]],["🪁","kite",5,["fly","kite","soar"]],["🔫","water pistol",5,["gun","handgun","pistol","revolver","tool","water","weapon"]],["🎱","pool 8 ball",5,["8","8ball","ball","billiard","eight","game","pool"]],["🔮","crystal ball",5,["ball","crystal","fairy","fairytale","fantasy","fortune","future","magic","tale","tool"]],["🪄","magic wand",5,["magic","magician","wand","witch","wizard"]],["🎮","video game",5,["controller","entertainment","game","video"]],["🕹️","joystick",5,["game","joystick","video","videogame"]],["🎰","slot machine",5,["casino","gamble","gambling","game","machine","slot","slots"]],["🎲","game die",5,["dice","die","entertainment","game"]],["🧩","puzzle piece",5,["clue","interlocking","jigsaw","piece","puzzle"]],["🧸","teddy bear",5,["bear","plaything","plush","stuffed","teddy","toy"]],["🪅","piñata",5,["candy","celebrate","celebration","cinco","de","festive","mayo","party","pinada","pinata","piñata"]],["🪩","mirror ball",5,["ball","dance","disco","glitter","mirror","party"]],["🪆","nesting dolls",5,["babooshka","baboushka","babushka","doll","dolls","matryoshka","nesting","russia"]],["♠️","spade suit",5,["card","game","spade","suit"]],["♥️","heart suit",5,["card","emotion","game","heart","hearts","suit"]],["♦️","diamond suit",5,["card","diamond","game","suit"]],["♣️","club suit",5,["card","club","clubs","game","suit"]],["♟️","chess pawn",5,["chess","dupe","expendable","pawn"]],["🃏","joker",5,["card","game","joker","wildcard"]],["🀄","mahjong red dragon",5,["dragon","game","mahjong","red"]],["🎴","flower playing cards",5,["card","cards","flower","game","Japanese","playing"]],["🎭","performing arts",5,["actor","actress","art","arts","entertainment","mask","performing","theater","theatre","thespian"]],["🖼️","framed picture",5,["art","frame","framed","museum","painting","picture"]],["🎨","artist palette",5,["art","artist","artsy","arty","colorful","creative","entertainment","museum","painter","painting","palette"]],["🧵","thread",5,["needle","sewing","spool","string","thread"]],["🪡","sewing needle",5,["embroidery","needle","sew","sewing","stitches","sutures","tailoring","thread"]],["🧶","yarn",5,["ball","crochet","knit","yarn"]],["🪢","knot",5,["cord","knot","rope","tangled","tie","twine","twist"]],["👓","glasses",6,["clothing","eye","eyeglasses","eyewear","glasses"]],["🕶️","sunglasses",6,["dark","eye","eyewear","glasses","sunglasses"]],["🥽","goggles",6,["dive","eye","goggles","protection","scuba","swimming","welding"]],["🥼","lab coat",6,["clothes","coat","doctor","dr","experiment","jacket","lab","scientist","white"]],["🦺","safety vest",6,["emergency","safety","vest"]],["👔","necktie",6,["clothing","employed","necktie","serious","shirt","tie"]],["👕","t-shirt",6,["blue","casual","clothes","clothing","collar","dressed","shirt","shopping","t-shirt","tshirt","weekend"]],["👖","jeans",6,["blue","casual","clothes","clothing","denim","dressed","jeans","pants","shopping","trousers","weekend"]],["🧣","scarf",6,["bundle","cold","neck","scarf","up"]],["🧤","gloves",6,["gloves","hand"]],["🧥","coat",6,["brr","bundle","coat","cold","jacket","up"]],["🧦","socks",6,["socks","stocking"]],["👗","dress",6,["clothes","clothing","dress","dressed","fancy","shopping"]],["👘","kimono",6,["clothing","comfortable","kimono"]],["🥻","sari",6,["clothing","dress","sari"]],["🩱","one-piece swimsuit",6,["bathing","one-piece","suit","swimsuit"]],["🩲","briefs",6,["bathing","briefs","one-piece","suit","swimsuit","underwear"]],["🩳","shorts",6,["bathing","pants","shorts","suit","swimsuit","underwear"]],["👙","bikini",6,["bathing","beach","bikini","clothing","pool","suit","swim"]],["👚","woman’s clothes",6,["blouse","clothes","clothing","collar","dress","dressed","lady","shirt","shopping","woman","woman’s"]],["🪭","folding hand fan",6,["clack","clap","cool","cooling","dance","fan","flirt","flutter","folding","hand","hot","shy"]],["👛","purse",6,["clothes","clothing","coin","dress","fancy","handbag","purse","shopping"]],["👜","handbag",6,["bag","clothes","clothing","dress","handbag","lady","purse","shopping"]],["👝","clutch bag",6,["bag","clothes","clothing","clutch","dress","handbag","pouch","purse"]],["🛍️","shopping bags",6,["bag","bags","hotel","shopping"]],["🎒","backpack",6,["backpack","backpacking","bag","bookbag","education","rucksack","satchel","school"]],["🩴","thong sandal",6,["beach","flip","flop","sandal","sandals","shoe","thong","thongs","zōri"]],["👞","man’s shoe",6,["brown","clothes","clothing","feet","foot","kick","man","man’s","shoe","shoes","shopping"]],["👟","running shoe",6,["athletic","clothes","clothing","fast","kick","running","shoe","shoes","shopping","sneaker","tennis"]],["🥾","hiking boot",6,["backpacking","boot","brown","camping","hiking","outdoors","shoe"]],["🥿","flat shoe",6,["ballet","comfy","flat","flats","shoe","slip-on","slipper"]],["👠","high-heeled shoe",6,["clothes","clothing","dress","fashion","heel","heels","high-heeled","shoe","shoes","shopping","stiletto","woman"]],["👡","woman’s sandal",6,["clothing","sandal","shoe","woman","woman’s"]],["🩰","ballet shoes",6,["ballet","dance","shoes"]],["👢","woman’s boot",6,["boot","clothes","clothing","dress","shoe","shoes","shopping","woman","woman’s"]],["🪮","hair pick",6,["Afro","comb","groom","hair","pick"]],["👑","crown",6,["clothing","crown","family","king","medieval","queen","royal","royalty","win"]],["👒","woman’s hat",6,["clothes","clothing","garden","hat","hats","party","woman","woman’s"]],["🎩","top hat",6,["clothes","clothing","fancy","formal","hat","magic","top","tophat"]],["🎓","graduation cap",6,["cap","celebration","clothing","education","graduation","hat","scholar"]],["🧢","billed cap",6,["baseball","bent","billed","cap","dad","hat"]],["🪖","military helmet",6,["army","helmet","military","soldier","war","warrior"]],["⛑️","rescue worker’s helmet",6,["aid","cross","face","hat","helmet","rescue","worker’s"]],["📿","prayer beads",6,["beads","clothing","necklace","prayer","religion"]],["💄","lipstick",6,["cosmetics","date","lipstick","makeup"]],["💍","ring",6,["diamond","engaged","engagement","married","ring","romance","shiny","sparkling","wedding"]],["💎","gem stone",6,["diamond","engagement","gem","jewel","money","romance","stone","wedding"]],["🔇","muted speaker",6,["mute","muted","quiet","silent","sound","speaker"]],["🔈","speaker low volume",6,["low","soft","sound","speaker","volume"]],["🔉","speaker medium volume",6,["medium","sound","speaker","volume"]],["🔊","speaker high volume",6,["high","loud","music","sound","speaker","volume"]],["📢","loudspeaker",6,["address","communication","loud","loudspeaker","public","sound"]],["📣","megaphone",6,["cheering","megaphone","sound"]],["📯","postal horn",6,["horn","post","postal"]],["🔔","bell",6,["bell","break","church","sound"]],["🔕","bell with slash",6,["bell","forbidden","mute","no","not","prohibited","quiet","silent","slash","sound"]],["🎼","musical score",6,["music","musical","note","score"]],["🎵","musical note",6,["music","musical","note","sound"]],["🎶","musical notes",6,["music","musical","note","notes","sound"]],["🎙️","studio microphone",6,["mic","microphone","music","studio"]],["🎚️","level slider",6,["level","music","slider"]],["🎛️","control knobs",6,["control","knobs","music"]],["🎤","microphone",6,["karaoke","mic","microphone","music","sing","sound"]],["🎧","headphone",6,["earbud","headphone","sound"]],["📻","radio",6,["entertainment","radio","tbt","video"]],["🎷","saxophone",6,["instrument","music","sax","saxophone"]],["🎺","trumpet",6,["instrument","music","trumpet"]],["","trombone",6,["brass","instrument","jazz","music","sad","slide"]],["🪗","accordion",6,["accordion","box","concertina","instrument","music","squeeze","squeezebox"]],["🎸","guitar",6,["guitar","instrument","music","strat"]],["🎹","musical keyboard",6,["instrument","keyboard","music","musical","piano"]],["🎻","violin",6,["instrument","music","violin"]],["🪕","banjo",6,["banjo","music","stringed"]],["🥁","drum",6,["drum","drumsticks","music"]],["🪘","long drum",6,["beat","conga","drum","instrument","long","rhythm"]],["🪇","maracas",6,["cha","dance","instrument","maracas","music","party","percussion","rattle","shake","shaker"]],["🪈","flute",6,["band","fife","flautist","flute","instrument","marching","music","orchestra","piccolo","pipe","recorder","woodwind"]],["","harp",6,["cupid","harp","instrument","love","music","orchestra"]],["📱","mobile phone",6,["cell","communication","mobile","phone","telephone"]],["📲","mobile phone with arrow",6,["arrow","build","call","cell","communication","mobile","phone","receive","telephone"]],["☎️","telephone",6,["phone","telephone"]],["📞","telephone receiver",6,["communication","phone","receiver","telephone","voip"]],["📟","pager",6,["communication","pager"]],["📠","fax machine",6,["communication","fax","machine"]],["🔋","battery",6,["battery"]],["🪫","low battery",6,["battery","drained","electronic","energy","low","power"]],["🔌","electric plug",6,["electric","electricity","plug"]],["💻","laptop",6,["computer","laptop","office","pc","personal"]],["🖥️","desktop computer",6,["computer","desktop","monitor"]],["🖨️","printer",6,["computer","printer"]],["⌨️","keyboard",6,["computer","keyboard"]],["🖱️","computer mouse",6,["computer","mouse"]],["🖲️","trackball",6,["computer","trackball"]],["💽","computer disk",6,["computer","disk","minidisk","optical"]],["💾","floppy disk",6,["computer","disk","floppy"]],["💿","optical disk",6,["blu-ray","CD","computer","disk","dvd","optical"]],["📀","dvd",6,["Blu-ray","cd","computer","disk","DVD","optical"]],["🧮","abacus",6,["abacus","calculation","calculator"]],["🎥","movie camera",6,["bollywood","camera","cinema","film","hollywood","movie","record"]],["🎞️","film frames",6,["cinema","film","frames","movie"]],["📽️","film projector",6,["cinema","film","movie","projector","video"]],["🎬","clapper board",6,["action","board","clapper","movie"]],["📺","television",6,["television","tv","video"]],["📷","camera",6,["camera","photo","selfie","snap","tbt","trip","video"]],["📸","camera with flash",6,["camera","flash","video"]],["📹","video camera",6,["camcorder","camera","tbt","video"]],["📼","videocassette",6,["old","school","tape","vcr","vhs","video","videocassette"]],["🔍","magnifying glass tilted left",6,["glass","lab","left","left-pointing","magnifying","science","search","tilted","tool"]],["🔎","magnifying glass tilted right",6,["contact","glass","lab","magnifying","right","right-pointing","science","search","tilted","tool"]],["🕯️","candle",6,["candle","light"]],["💡","light bulb",6,["bulb","comic","electric","idea","light"]],["🔦","flashlight",6,["electric","flashlight","light","tool","torch"]],["🏮","red paper lantern",6,["bar","lantern","light","paper","red","restaurant"]],["🪔","diya lamp",6,["diya","lamp","light","oil"]],["📔","notebook with decorative cover",6,["book","cover","decorated","decorative","education","notebook","school","writing"]],["📕","closed book",6,["book","closed","education"]],["📖","open book",6,["book","education","fantasy","knowledge","library","novels","open","reading"]],["📗","green book",6,["book","education","fantasy","green","library","reading"]],["📘","blue book",6,["blue","book","education","fantasy","library","reading"]],["📙","orange book",6,["book","education","fantasy","library","orange","reading"]],["📚","books",6,["book","books","education","fantasy","knowledge","library","novels","reading","school","study"]],["📓","notebook",6,["notebook"]],["📒","ledger",6,["ledger","notebook"]],["📃","page with curl",6,["curl","document","page","paper"]],["📜","scroll",6,["paper","scroll"]],["📄","page facing up",6,["document","facing","page","paper","up"]],["📰","newspaper",6,["communication","news","newspaper","paper"]],["🗞️","rolled-up newspaper",6,["news","newspaper","paper","rolled","rolled-up"]],["📑","bookmark tabs",6,["bookmark","mark","marker","tabs"]],["🔖","bookmark",6,["bookmark","mark"]],["🏷️","label",6,["label","tag"]],["🪙","coin",6,["coin","dollar","euro","gold","metal","money","rich","silver","treasure"]],["💰","money bag",6,["bag","bank","bet","billion","cash","cost","dollar","gold","million","money","moneybag","paid","paying","pot","rich","win"]],["","treasure chest",6,["gem","gold","jewels","loot","money","prize","silver","valuables","wealth"]],["💴","yen banknote",6,["bank","banknote","bill","currency","money","note","yen"]],["💵","dollar banknote",6,["bank","banknote","bill","currency","dollar","money","note"]],["💶","euro banknote",6,["100","bank","banknote","bill","currency","euro","money","note","rich"]],["💷","pound banknote",6,["bank","banknote","bill","billion","cash","currency","money","note","pound","pounds"]],["💸","money with wings",6,["bank","banknote","bill","billion","cash","dollar","fly","million","money","note","pay","wings"]],["💳","credit card",6,["bank","card","cash","charge","credit","money","pay"]],["🧾","receipt",6,["accounting","bookkeeping","evidence","invoice","proof","receipt"]],["💹","chart increasing with yen",6,["bank","chart","currency","graph","growth","increasing","market","money","rise","trend","upward","yen"]],["✉️","envelope",6,["e-mail","email","envelope","letter"]],["📧","e-mail",6,["e-mail","email","letter","mail"]],["📨","incoming envelope",6,["delivering","e-mail","email","envelope","incoming","letter","mail","receive","sent"]],["📩","envelope with arrow",6,["arrow","communication","down","e-mail","email","envelope","letter","mail","outgoing","send","sent"]],["📤","outbox tray",6,["box","email","letter","mail","outbox","sent","tray"]],["📥","inbox tray",6,["box","email","inbox","letter","mail","receive","tray","zero"]],["📦","package",6,["box","communication","delivery","package","parcel","shipping"]],["📫","closed mailbox with raised flag",6,["closed","communication","flag","mail","mailbox","postbox","raised"]],["📪","closed mailbox with lowered flag",6,["closed","flag","lowered","mail","mailbox","postbox"]],["📬","open mailbox with raised flag",6,["flag","mail","mailbox","open","postbox","raised"]],["📭","open mailbox with lowered flag",6,["flag","lowered","mail","mailbox","open","postbox"]],["📮","postbox",6,["mail","mailbox","postbox"]],["🗳️","ballot box with ballot",6,["ballot","box"]],["✏️","pencil",6,["pencil"]],["✒️","black nib",6,["black","nib","pen"]],["🖋️","fountain pen",6,["fountain","pen"]],["🖊️","pen",6,["ballpoint","pen"]],["🖌️","paintbrush",6,["paintbrush","painting"]],["🖍️","crayon",6,["crayon"]],["📝","memo",6,["communication","media","memo","notes","pencil"]],["","eraser",6,[]],["💼","briefcase",6,["briefcase","office"]],["📁","file folder",6,["file","folder"]],["📂","open file folder",6,["file","folder","open"]],["🗂️","card index dividers",6,["card","dividers","index"]],["📅","calendar",6,["calendar","date"]],["📆","tear-off calendar",6,["calendar","tear-off"]],["🗒️","spiral notepad",6,["note","notepad","pad","spiral"]],["🗓️","spiral calendar",6,["calendar","pad","spiral"]],["📇","card index",6,["card","index","old","rolodex","school"]],["📈","chart increasing",6,["chart","data","graph","growth","increasing","right","trend","up","upward"]],["📉","chart decreasing",6,["chart","data","decreasing","down","downward","graph","negative","trend"]],["📊","bar chart",6,["bar","chart","data","graph"]],["📋","clipboard",6,["clipboard","do","list","notes"]],["📌","pushpin",6,["collage","pin","pushpin"]],["📍","round pushpin",6,["location","map","pin","pushpin","round"]],["📎","paperclip",6,["paperclip"]],["🖇️","linked paperclips",6,["link","linked","paperclip","paperclips"]],["📏","straight ruler",6,["angle","edge","math","ruler","straight","straightedge"]],["📐","triangular ruler",6,["angle","math","rule","ruler","set","slide","triangle","triangular"]],["✂️","scissors",6,["cut","cutting","paper","scissors","tool"]],["🗃️","card file box",6,["box","card","file"]],["🗄️","file cabinet",6,["cabinet","file","filing","paper"]],["🗑️","wastebasket",6,["can","garbage","trash","waste","wastebasket"]],["🔒","locked",6,["closed","lock","locked","private"]],["🔓","unlocked",6,["cracked","lock","open","unlock","unlocked"]],["🔏","locked with pen",6,["ink","lock","locked","nib","pen","privacy"]],["🔐","locked with key",6,["bike","closed","key","lock","locked","secure"]],["🔑","key",6,["key","keys","lock","major","password","unlock"]],["🗝️","old key",6,["clue","key","lock","old"]],["","net with handle",6,[]],["🔨","hammer",6,["hammer","home","improvement","repairs","tool"]],["🪓","axe",6,["ax","axe","chop","hatchet","split","wood"]],["⛏️","pick",6,["hammer","mining","pick","tool"]],["⚒️","hammer and pick",6,["hammer","pick","tool"]],["🛠️","hammer and wrench",6,["hammer","spanner","tool","wrench"]],["🗡️","dagger",6,["dagger","knife","weapon"]],["⚔️","crossed swords",6,["crossed","swords","weapon"]],["💣","bomb",6,["bomb","boom","comic","dangerous","explosion","hot"]],["🪃","boomerang",6,["boomerang","rebound","repercussion","weapon"]],["🏹","bow and arrow",6,["archer","archery","arrow","bow","Sagittarius","tool","weapon","zodiac"]],["🛡️","shield",6,["shield","weapon"]],["🪚","carpentry saw",6,["carpenter","carpentry","cut","lumber","saw","tool","trim"]],["🔧","wrench",6,["home","improvement","spanner","tool","wrench"]],["🪛","screwdriver",6,["flathead","handy","screw","screwdriver","tool"]],["🔩","nut and bolt",6,["bolt","home","improvement","nut","tool"]],["⚙️","gear",6,["cog","cogwheel","gear","tool"]],["🗜️","clamp",6,["clamp","compress","tool","vice"]],["⚖️","balance scale",6,["balance","justice","Libra","scale","scales","tool","weight","zodiac"]],["🦯","white cane",6,["accessibility","blind","cane","probing","white"]],["🔗","link",6,["link","links"]],["⛓️💥","broken chain",6,["break","breaking","broken","chain","cuffs","freedom"]],["⛓️","chains",6,["chain","chains"]],["🪝","hook",6,["catch","crook","curve","ensnare","hook","point","selling"]],["🧰","toolbox",6,["box","chest","mechanic","red","tool","toolbox"]],["🧲","magnet",6,["attraction","horseshoe","magnet","magnetic","negative","positive","shape","u"]],["🪜","ladder",6,["climb","ladder","rung","step"]],["","shovel",6,["bury","dig","garden","hole","plant","scoop","shovel","snow","spade"]],["⚗️","alembic",6,["alembic","chemistry","tool"]],["🧪","test tube",6,["chemist","chemistry","experiment","lab","science","test","tube"]],["🧫","petri dish",6,["bacteria","biologist","biology","culture","dish","lab","petri"]],["🧬","dna",6,["biologist","dna","evolution","gene","genetics","life"]],["🔬","microscope",6,["experiment","lab","microscope","science","tool"]],["🔭","telescope",6,["contact","extraterrestrial","science","telescope","tool"]],["📡","satellite antenna",6,["aliens","antenna","contact","dish","satellite","science"]],["💉","syringe",6,["doctor","flu","medicine","needle","shot","sick","syringe","tool","vaccination"]],["🩸","drop of blood",6,["bleed","blood","donation","drop","injury","medicine","menstruation"]],["💊","pill",6,["doctor","drugs","medicated","medicine","pill","pills","sick","vitamin"]],["🩹","adhesive bandage",6,["adhesive","bandage"]],["🩼","crutch",6,["aid","cane","crutch","disability","help","hurt","injured","mobility","stick"]],["🩺","stethoscope",6,["doctor","heart","medicine","stethoscope"]],["🩻","x-ray",6,["bones","doctor","medical","skeleton","skull","x-ray","xray"]],["🚪","door",6,["back","closet","door","front"]],["🛗","elevator",6,["accessibility","elevator","hoist","lift"]],["🪞","mirror",6,["makeup","mirror","reflection","reflector","speculum"]],["🪟","window",6,["air","frame","fresh","opening","transparent","view","window"]],["🛏️","bed",6,["bed","hotel","sleep"]],["🛋️","couch and lamp",6,["couch","hotel","lamp"]],["🪑","chair",6,["chair","seat","sit"]],["🚽","toilet",6,["bathroom","toilet"]],["🪠","plunger",6,["cup","force","plumber","plunger","poop","suction","toilet"]],["🚿","shower",6,["shower","water"]],["🛁","bathtub",6,["bath","bathtub"]],["🪤","mouse trap",6,["bait","cheese","lure","mouse","mousetrap","snare","trap"]],["🪒","razor",6,["razor","sharp","shave"]],["🧴","lotion bottle",6,["bottle","lotion","moisturizer","shampoo","sunscreen"]],["🧷","safety pin",6,["diaper","pin","punk","rock","safety"]],["🧹","broom",6,["broom","cleaning","sweeping","witch"]],["🧺","basket",6,["basket","farming","laundry","picnic"]],["🧻","roll of paper",6,["paper","roll","toilet","towels"]],["🪣","bucket",6,["bucket","cask","pail","vat"]],["🧼","soap",6,["bar","bathing","clean","cleaning","lather","soap","soapdish"]],["🫧","bubbles",6,["bubble","bubbles","burp","clean","floating","pearl","soap","underwater"]],["🪥","toothbrush",6,["bathroom","brush","clean","dental","hygiene","teeth","toiletry","toothbrush"]],["🧽","sponge",6,["absorbing","cleaning","porous","soak","sponge"]],["🧯","fire extinguisher",6,["extinguish","extinguisher","fire","quench"]],["🛒","shopping cart",6,["cart","shopping","trolley"]],["🚬","cigarette",6,["cigarette","smoking"]],["⚰️","coffin",6,["coffin","dead","death","vampire"]],["🪦","headstone",6,["cemetery","dead","grave","graveyard","headstone","memorial","rip","tomb","tombstone"]],["⚱️","funeral urn",6,["ashes","death","funeral","urn"]],["🧿","nazar amulet",6,["amulet","bead","blue","charm","evil-eye","nazar","talisman"]],["🪬","hamsa",6,["amulet","Fatima","fortune","guide","hamsa","hand","Mary","Miriam","palm","protect","protection"]],["🗿","moai",6,["face","moai","moyai","statue","stoneface","travel"]],["🪧","placard",6,["card","demonstration","notice","picket","placard","plaque","protest","sign"]],["🪪","identification card",6,["card","credentials","document","ID","identification","license","security"]],["🏧","ATM sign",7,["ATM","automated","bank","cash","money","sign","teller"]],["🚮","litter in bin sign",7,["bin","litter","litterbin","sign"]],["🚰","potable water",7,["drinking","potable","water"]],["♿","wheelchair symbol",7,["access","handicap","symbol","wheelchair"]],["🚹","men’s room",7,["bathroom","lavatory","man","men’s","restroom","room","toilet","WC"]],["🚺","women’s room",7,["bathroom","lavatory","restroom","room","toilet","WC","woman","women’s"]],["🚻","restroom",7,["bathroom","lavatory","restroom","toilet","WC"]],["🚼","baby symbol",7,["baby","changing","symbol"]],["🚾","water closet",7,["bathroom","closet","lavatory","restroom","toilet","water","WC"]],["🛂","passport control",7,["control","passport"]],["🛃","customs",7,["customs","packing"]],["🛄","baggage claim",7,["arrived","baggage","bags","case","checked","claim","journey","packing","plane","ready","travel","trip"]],["🛅","left luggage",7,["baggage","case","left","locker","luggage"]],["⚠️","warning",7,["caution","warning"]],["🚸","children crossing",7,["child","children","crossing","pedestrian","traffic"]],["⛔","no entry",7,["do","entry","fail","forbidden","no","not","pass","prohibited","traffic"]],["🚫","prohibited",7,["entry","forbidden","no","not","prohibited","smoke"]],["🚳","no bicycles",7,["bicycle","bicycles","bike","forbidden","no","not","prohibited"]],["🚭","no smoking",7,["forbidden","no","not","prohibited","smoke","smoking"]],["🚯","no littering",7,["forbidden","litter","littering","no","not","prohibited"]],["🚱","non-potable water",7,["dry","non-drinking","non-potable","prohibited","water"]],["🚷","no pedestrians",7,["forbidden","no","not","pedestrian","pedestrians","prohibited"]],["📵","no mobile phones",7,["cell","forbidden","mobile","no","not","phone","phones","prohibited","telephone"]],["🔞","no one under eighteen",7,["18","age","eighteen","forbidden","no","not","one","prohibited","restriction","underage"]],["☢️","radioactive",7,["radioactive","sign"]],["☣️","biohazard",7,["biohazard","sign"]],["⬆️","up arrow",7,["arrow","cardinal","direction","north","up"]],["↗️","up-right arrow",7,["arrow","direction","intercardinal","northeast","up-right"]],["➡️","right arrow",7,["arrow","cardinal","direction","east","right"]],["↘️","down-right arrow",7,["arrow","direction","down-right","intercardinal","southeast"]],["⬇️","down arrow",7,["arrow","cardinal","direction","down","south"]],["↙️","down-left arrow",7,["arrow","direction","down-left","intercardinal","southwest"]],["⬅️","left arrow",7,["arrow","cardinal","direction","left","west"]],["↖️","up-left arrow",7,["arrow","direction","intercardinal","northwest","up-left"]],["↕️","up-down arrow",7,["arrow","up-down"]],["↔️","left-right arrow",7,["arrow","left-right"]],["↩️","right arrow curving left",7,["arrow","curving","left","right"]],["↪️","left arrow curving right",7,["arrow","curving","left","right"]],["⤴️","right arrow curving up",7,["arrow","curving","right","up"]],["⤵️","right arrow curving down",7,["arrow","curving","down","right"]],["🔃","clockwise vertical arrows",7,["arrow","arrows","clockwise","refresh","reload","vertical"]],["🔄","counterclockwise arrows button",7,["again","anticlockwise","arrow","arrows","button","counterclockwise","deja","refresh","rewindershins","vu"]],["🔙","BACK arrow",7,["arrow","BACK"]],["🔚","END arrow",7,["arrow","END"]],["🔛","ON! arrow",7,["arrow","mark","ON!"]],["🔜","SOON arrow",7,["arrow","brb","omw","SOON"]],["🔝","TOP arrow",7,["arrow","homie","TOP","up"]],["🛐","place of worship",7,["place","pray","religion","worship"]],["⚛️","atom symbol",7,["atheist","atom","symbol"]],["🕉️","om",7,["Hindu","om","religion"]],["✡️","star of David",7,["David","Jew","Jewish","judaism","religion","star"]],["☸️","wheel of dharma",7,["Buddhist","dharma","religion","wheel"]],["☯️","yin yang",7,["difficult","lives","religion","tao","taoist","total","yang","yin","yinyang"]],["✝️","latin cross",7,["christ","Christian","cross","latin","religion"]],["☦️","orthodox cross",7,["Christian","cross","orthodox","religion"]],["☪️","star and crescent",7,["crescent","islam","Muslim","ramadan","religion","star"]],["☮️","peace symbol",7,["healing","peace","peaceful","symbol"]],["🕎","menorah",7,["candelabrum","candlestick","hanukkah","jewish","judaism","menorah","religion"]],["🔯","dotted six-pointed star",7,["dotted","fortune","jewish","judaism","six-pointed","star"]],["🪯","khanda",7,["Deg","Fateh","Khalsa","Khanda","religion","Sikh","Sikhism","Tegh"]],["♈","Aries",7,["Aries","horoscope","ram","zodiac"]],["♉","Taurus",7,["bull","horoscope","ox","Taurus","zodiac"]],["♊","Gemini",7,["Gemini","horoscope","twins","zodiac"]],["♋","Cancer",7,["Cancer","crab","horoscope","zodiac"]],["♌","Leo",7,["horoscope","Leo","lion","zodiac"]],["♍","Virgo",7,["horoscope","Virgo","zodiac"]],["♎","Libra",7,["balance","horoscope","justice","Libra","scales","zodiac"]],["♏","Scorpio",7,["horoscope","Scorpio","scorpion","Scorpius","zodiac"]],["♐","Sagittarius",7,["archer","horoscope","Sagittarius","zodiac"]],["♑","Capricorn",7,["Capricorn","goat","horoscope","zodiac"]],["♒","Aquarius",7,["Aquarius","bearer","horoscope","water","zodiac"]],["♓","Pisces",7,["fish","horoscope","Pisces","zodiac"]],["⛎","Ophiuchus",7,["bearer","Ophiuchus","serpent","snake","zodiac"]],["🔀","shuffle tracks button",7,["arrow","button","crossed","shuffle","tracks"]],["🔁","repeat button",7,["arrow","button","clockwise","repeat"]],["🔂","repeat single button",7,["arrow","button","clockwise","once","repeat","single"]],["▶️","play button",7,["arrow","button","play","right","triangle"]],["⏩","fast-forward button",7,["arrow","button","double","fast","fast-forward","forward"]],["⏭️","next track button",7,["arrow","button","next","scene","track","triangle"]],["⏯️","play or pause button",7,["arrow","button","pause","play","right","triangle"]],["◀️","reverse button",7,["arrow","button","left","reverse","triangle"]],["⏪","fast reverse button",7,["arrow","button","double","fast","reverse","rewind"]],["⏮️","last track button",7,["arrow","button","last","previous","scene","track","triangle"]],["🔼","upwards button",7,["arrow","button","red","up","upwards"]],["⏫","fast up button",7,["arrow","button","double","fast","up"]],["🔽","downwards button",7,["arrow","button","down","downwards","red"]],["⏬","fast down button",7,["arrow","button","double","down","fast"]],["⏸️","pause button",7,["bar","button","double","pause","vertical"]],["⏹️","stop button",7,["button","square","stop"]],["⏺️","record button",7,["button","circle","record"]],["⏏️","eject button",7,["button","eject"]],["🎦","cinema",7,["camera","cinema","film","movie"]],["🔅","dim button",7,["brightness","button","dim","low"]],["🔆","bright button",7,["bright","brightness","button","light"]],["📶","antenna bars",7,["antenna","bar","bars","cell","communication","mobile","phone","signal","telephone"]],["🛜","wireless",7,["broadband","computer","connectivity","hotspot","internet","network","router","smartphone","wi-fi","wifi","wireless","wlan"]],["📳","vibration mode",7,["cell","communication","mobile","mode","phone","telephone","vibration"]],["📴","mobile phone off",7,["cell","mobile","off","phone","telephone"]],["♀️","female sign",7,["female","sign","woman"]],["♂️","male sign",7,["male","man","sign"]],["⚧️","transgender symbol",7,["symbol","transgender"]],["✖️","multiply",7,["×","cancel","multiplication","multiply","sign","x"]],["➕","plus",7,["+","plus"]],["➖","minus",7,["-","−","heavy","math","minus","sign"]],["➗","divide",7,["÷","divide","division","heavy","math","sign"]],["🟰","heavy equals sign",7,["answer","equal","equality","equals","heavy","math","sign"]],["♾️","infinity",7,["forever","infinity","unbounded","universal"]],["‼️","double exclamation mark",7,["!","!!","bangbang","double","exclamation","mark","punctuation"]],["⁉️","exclamation question mark",7,["!","!?","?","exclamation","interrobang","mark","punctuation","question"]],["❓","red question mark",7,["?","mark","punctuation","question","red"]],["❔","white question mark",7,["?","mark","outlined","punctuation","question","white"]],["❕","white exclamation mark",7,["!","exclamation","mark","outlined","punctuation","white"]],["❗","red exclamation mark",7,["!","exclamation","mark","punctuation","red"]],["〰️","wavy dash",7,["dash","punctuation","wavy"]],["💱","currency exchange",7,["bank","currency","exchange","money"]],["💲","heavy dollar sign",7,["billion","cash","charge","currency","dollar","heavy","million","money","pay","sign"]],["⚕️","medical symbol",7,["aesculapius","medical","medicine","staff","symbol"]],["♻️","recycling symbol",7,["recycle","recycling","symbol"]],["⚜️","fleur-de-lis",7,["fleur-de-lis","knights"]],["🔱","trident emblem",7,["anchor","emblem","poseidon","ship","tool","trident"]],["📛","name badge",7,["badge","name"]],["🔰","Japanese symbol for beginner",7,["beginner","chevron","green","Japanese","leaf","symbol","tool","yellow"]],["⭕","hollow red circle",7,["circle","heavy","hollow","large","o","red"]],["✅","check mark button",7,["✓","button","check","checked","checkmark","complete","completed","done","fixed","mark","tick"]],["☑️","check box with check",7,["✓","ballot","box","check","checked","done","off","tick"]],["✔️","check mark",7,["✓","check","checked","checkmark","done","heavy","mark","tick"]],["❌","cross mark",7,["×","cancel","cross","mark","multiplication","multiply","x"]],["❎","cross mark button",7,["×","button","cross","mark","multiplication","multiply","square","x"]],["➰","curly loop",7,["curl","curly","loop"]],["➿","double curly loop",7,["curl","curly","double","loop"]],["〽️","part alternation mark",7,["alternation","mark","part"]],["✳️","eight-spoked asterisk",7,["*","asterisk","eight-spoked"]],["✴️","eight-pointed star",7,["*","eight-pointed","star"]],["❇️","sparkle",7,["*","sparkle"]],["©️","copyright",7,["C","copyright"]],["®️","registered",7,["R","registered"]],["™️","trade mark",7,["mark","TM","trade","trademark"]],["","splatter",7,["drip","holi","ink","liquid","mess","paint","spill","splatter","stain"]],["#️⃣","keycap: #",7,[]],["*️⃣","keycap: *",7,[]],["0️⃣","keycap: 0",7,["0","keycap","zero"]],["1️⃣","keycap: 1",7,["1","keycap","one"]],["2️⃣","keycap: 2",7,["2","keycap","two"]],["3️⃣","keycap: 3",7,["3","keycap","three"]],["4️⃣","keycap: 4",7,["4","four","keycap"]],["5️⃣","keycap: 5",7,["5","five","keycap"]],["6️⃣","keycap: 6",7,["6","keycap","six"]],["7️⃣","keycap: 7",7,["7","keycap","seven"]],["8️⃣","keycap: 8",7,["8","eight","keycap"]],["9️⃣","keycap: 9",7,["9","keycap","nine"]],["🔟","keycap: 10",7,[]],["🔠","input latin uppercase",7,["ABCD","input","latin","letters","uppercase"]],["🔡","input latin lowercase",7,["abcd","input","latin","letters","lowercase"]],["🔢","input numbers",7,["1234","input","numbers"]],["🔣","input symbols",7,["&","%","♪","〒","input","symbols"]],["🔤","input latin letters",7,["abc","alphabet","input","latin","letters"]],["🅰️","A button (blood type)",7,["blood","button","type"]],["🆎","AB button (blood type)",7,["AB","blood","button","type"]],["🅱️","B button (blood type)",7,["B","blood","button","type"]],["🆑","CL button",7,["button","CL"]],["🆒","COOL button",7,["button","COOL"]],["🆓","FREE button",7,["button","FREE"]],["ℹ️","information",7,["I","information"]],["🆔","ID button",7,["button","ID","identity"]],["Ⓜ️","circled M",7,["circle","circled","M"]],["🆕","NEW button",7,["button","NEW"]],["🆖","NG button",7,["button","NG"]],["🅾️","O button (blood type)",7,["blood","button","O","type"]],["🆗","OK button",7,["button","OK","okay"]],["🅿️","P button",7,["button","P","parking"]],["🆘","SOS button",7,["button","help","SOS"]],["🆙","UP! button",7,["button","mark","UP","UP!"]],["🆚","VS button",7,["button","versus","VS"]],["🈁","Japanese “here” button",7,["button","here","Japanese","katakana"]],["🈂️","Japanese “service charge” button",7,["button","charge","Japanese","katakana","service"]],["🈷️","Japanese “monthly amount” button",7,["amount","button","ideograph","Japanese","monthly"]],["🈶","Japanese “not free of charge” button",7,["button","charge","free","ideograph","Japanese","not"]],["🈯","Japanese “reserved” button",7,["button","ideograph","Japanese","reserved"]],["🉐","Japanese “bargain” button",7,["bargain","button","ideograph","Japanese"]],["🈹","Japanese “discount” button",7,["button","discount","ideograph","Japanese"]],["🈚","Japanese “free of charge” button",7,["button","charge","free","ideograph","Japanese"]],["🈲","Japanese “prohibited” button",7,["button","ideograph","Japanese","prohibited"]],["🉑","Japanese “acceptable” button",7,["acceptable","button","ideograph","Japanese"]],["🈸","Japanese “application” button",7,["application","button","ideograph","Japanese"]],["🈴","Japanese “passing grade” button",7,["button","grade","ideograph","Japanese","passing"]],["🈳","Japanese “vacancy” button",7,["button","ideograph","Japanese","vacancy"]],["㊗️","Japanese “congratulations” button",7,["button","congratulations","ideograph","Japanese"]],["㊙️","Japanese “secret” button",7,["button","ideograph","Japanese","secret"]],["🈺","Japanese “open for business” button",7,["business","button","ideograph","Japanese","open"]],["🈵","Japanese “no vacancy” button",7,["button","ideograph","Japanese","no","vacancy"]],["🔴","red circle",7,["circle","geometric","red"]],["🟠","orange circle",7,["circle","orange"]],["🟡","yellow circle",7,["circle","yellow"]],["🟢","green circle",7,["circle","green"]],["🔵","blue circle",7,["blue","circle","geometric"]],["🟣","purple circle",7,["circle","purple"]],["🟤","brown circle",7,["brown","circle"]],["⚫","black circle",7,["black","circle","geometric"]],["⚪","white circle",7,["circle","geometric","white"]],["🟥","red square",7,["card","penalty","red","square"]],["🟧","orange square",7,["orange","square"]],["🟨","yellow square",7,["card","penalty","square","yellow"]],["🟩","green square",7,["green","square"]],["🟦","blue square",7,["blue","square"]],["🟪","purple square",7,["purple","square"]],["🟫","brown square",7,["brown","square"]],["⬛","black large square",7,["black","geometric","large","square"]],["⬜","white large square",7,["geometric","large","square","white"]],["◼️","black medium square",7,["black","geometric","medium","square"]],["◻️","white medium square",7,["geometric","medium","square","white"]],["◾","black medium-small square",7,["black","geometric","medium-small","square"]],["◽","white medium-small square",7,["geometric","medium-small","square","white"]],["▪️","black small square",7,["black","geometric","small","square"]],["▫️","white small square",7,["geometric","small","square","white"]],["🔶","large orange diamond",7,["diamond","geometric","large","orange"]],["🔷","large blue diamond",7,["blue","diamond","geometric","large"]],["🔸","small orange diamond",7,["diamond","geometric","orange","small"]],["🔹","small blue diamond",7,["blue","diamond","geometric","small"]],["🔺","red triangle pointed up",7,["geometric","pointed","red","triangle","up"]],["🔻","red triangle pointed down",7,["down","geometric","pointed","red","triangle"]],["💠","diamond with a dot",7,["comic","diamond","dot","geometric"]],["🔘","radio button",7,["button","geometric","radio"]],["🔳","white square button",7,["button","geometric","outlined","square","white"]],["🔲","black square button",7,["black","button","geometric","square"]],["🏁","chequered flag",8,["checkered","chequered","finish","flag","flags","game","race","racing","sport","win"]],["🚩","triangular flag",8,["construction","flag","golf","post","triangular"]],["🎌","crossed flags",8,["celebration","cross","crossed","flags","Japanese"]],["🏴","black flag",8,["black","flag","waving"]],["🏳️","white flag",8,["flag","waving","white"]],["🏳️🌈","rainbow flag",8,["bisexual","flag","gay","genderqueer","glbt","glbtq","lesbian","lgbt","lgbtq","lgbtqia","pride","queer","rainbow","trans","transgender"]],["🏳️⚧️","transgender flag",8,["blue","flag","light","pink","transgender","white"]],["🏴☠️","pirate flag",8,["flag","Jolly","pirate","plunder","Roger","treasure"]],["🇦🇨","flag: Ascension Island",8,[]],["🇦🇩","flag: Andorra",8,[]],["🇦🇪","flag: United Arab Emirates",8,[]],["🇦🇫","flag: Afghanistan",8,[]],["🇦🇬","flag: Antigua & Barbuda",8,[]],["🇦🇮","flag: Anguilla",8,[]],["🇦🇱","flag: Albania",8,[]],["🇦🇲","flag: Armenia",8,[]],["🇦🇴","flag: Angola",8,[]],["🇦🇶","flag: Antarctica",8,[]],["🇦🇷","flag: Argentina",8,[]],["🇦🇸","flag: American Samoa",8,[]],["🇦🇹","flag: Austria",8,[]],["🇦🇺","flag: Australia",8,[]],["🇦🇼","flag: Aruba",8,[]],["🇦🇽","flag: Åland Islands",8,[]],["🇦🇿","flag: Azerbaijan",8,[]],["🇧🇦","flag: Bosnia & Herzegovina",8,[]],["🇧🇧","flag: Barbados",8,[]],["🇧🇩","flag: Bangladesh",8,[]],["🇧🇪","flag: Belgium",8,[]],["🇧🇫","flag: Burkina Faso",8,[]],["🇧🇬","flag: Bulgaria",8,[]],["🇧🇭","flag: Bahrain",8,[]],["🇧🇮","flag: Burundi",8,[]],["🇧🇯","flag: Benin",8,[]],["🇧🇱","flag: St. Barthélemy",8,[]],["🇧🇲","flag: Bermuda",8,[]],["🇧🇳","flag: Brunei",8,[]],["🇧🇴","flag: Bolivia",8,[]],["🇧🇶","flag: Caribbean Netherlands",8,[]],["🇧🇷","flag: Brazil",8,[]],["🇧🇸","flag: Bahamas",8,[]],["🇧🇹","flag: Bhutan",8,[]],["🇧🇻","flag: Bouvet Island",8,[]],["🇧🇼","flag: Botswana",8,[]],["🇧🇾","flag: Belarus",8,[]],["🇧🇿","flag: Belize",8,[]],["🇨🇦","flag: Canada",8,[]],["🇨🇨","flag: Cocos (Keeling) Islands",8,[]],["🇨🇩","flag: Congo - Kinshasa",8,[]],["🇨🇫","flag: Central African Republic",8,[]],["🇨🇬","flag: Congo - Brazzaville",8,[]],["🇨🇭","flag: Switzerland",8,[]],["🇨🇮","flag: Côte d’Ivoire",8,[]],["🇨🇰","flag: Cook Islands",8,[]],["🇨🇱","flag: Chile",8,[]],["🇨🇲","flag: Cameroon",8,[]],["🇨🇳","flag: China",8,[]],["🇨🇴","flag: Colombia",8,[]],["🇨🇵","flag: Clipperton Island",8,[]],["🇨🇶","flag: Sark",8,[]],["🇨🇷","flag: Costa Rica",8,[]],["🇨🇺","flag: Cuba",8,[]],["🇨🇻","flag: Cape Verde",8,[]],["🇨🇼","flag: Curaçao",8,[]],["🇨🇽","flag: Christmas Island",8,[]],["🇨🇾","flag: Cyprus",8,[]],["🇨🇿","flag: Czechia",8,[]],["🇩🇪","flag: Germany",8,[]],["🇩🇬","flag: Diego Garcia",8,[]],["🇩🇯","flag: Djibouti",8,[]],["🇩🇰","flag: Denmark",8,[]],["🇩🇲","flag: Dominica",8,[]],["🇩🇴","flag: Dominican Republic",8,[]],["🇩🇿","flag: Algeria",8,[]],["🇪🇦","flag: Ceuta & Melilla",8,[]],["🇪🇨","flag: Ecuador",8,[]],["🇪🇪","flag: Estonia",8,[]],["🇪🇬","flag: Egypt",8,[]],["🇪🇭","flag: Western Sahara",8,[]],["🇪🇷","flag: Eritrea",8,[]],["🇪🇸","flag: Spain",8,[]],["🇪🇹","flag: Ethiopia",8,[]],["🇪🇺","flag: European Union",8,[]],["🇫🇮","flag: Finland",8,[]],["🇫🇯","flag: Fiji",8,[]],["🇫🇰","flag: Falkland Islands",8,[]],["🇫🇲","flag: Micronesia",8,[]],["🇫🇴","flag: Faroe Islands",8,[]],["🇫🇷","flag: France",8,[]],["🇬🇦","flag: Gabon",8,[]],["🇬🇧","flag: United Kingdom",8,[]],["🇬🇩","flag: Grenada",8,[]],["🇬🇪","flag: Georgia",8,[]],["🇬🇫","flag: French Guiana",8,[]],["🇬🇬","flag: Guernsey",8,[]],["🇬🇭","flag: Ghana",8,[]],["🇬🇮","flag: Gibraltar",8,[]],["🇬🇱","flag: Greenland",8,[]],["🇬🇲","flag: Gambia",8,[]],["🇬🇳","flag: Guinea",8,[]],["🇬🇵","flag: Guadeloupe",8,[]],["🇬🇶","flag: Equatorial Guinea",8,[]],["🇬🇷","flag: Greece",8,[]],["🇬🇸","flag: South Georgia & South Sandwich Islands",8,[]],["🇬🇹","flag: Guatemala",8,[]],["🇬🇺","flag: Guam",8,[]],["🇬🇼","flag: Guinea-Bissau",8,[]],["🇬🇾","flag: Guyana",8,[]],["🇭🇰","flag: Hong Kong SAR China",8,[]],["🇭🇲","flag: Heard Island & McDonald Islands",8,[]],["🇭🇳","flag: Honduras",8,[]],["🇭🇷","flag: Croatia",8,[]],["🇭🇹","flag: Haiti",8,[]],["🇭🇺","flag: Hungary",8,[]],["🇮🇨","flag: Canary Islands",8,[]],["🇮🇩","flag: Indonesia",8,[]],["🇮🇪","flag: Ireland",8,[]],["🇮🇱","flag: Israel",8,[]],["🇮🇲","flag: Isle of Man",8,[]],["🇮🇳","flag: India",8,[]],["🇮🇴","flag: British Indian Ocean Territory",8,[]],["🇮🇶","flag: Iraq",8,[]],["🇮🇷","flag: Iran",8,[]],["🇮🇸","flag: Iceland",8,[]],["🇮🇹","flag: Italy",8,[]],["🇯🇪","flag: Jersey",8,[]],["🇯🇲","flag: Jamaica",8,[]],["🇯🇴","flag: Jordan",8,[]],["🇯🇵","flag: Japan",8,[]],["🇰🇪","flag: Kenya",8,[]],["🇰🇬","flag: Kyrgyzstan",8,[]],["🇰🇭","flag: Cambodia",8,[]],["🇰🇮","flag: Kiribati",8,[]],["🇰🇲","flag: Comoros",8,[]],["🇰🇳","flag: St. Kitts & Nevis",8,[]],["🇰🇵","flag: North Korea",8,[]],["🇰🇷","flag: South Korea",8,[]],["🇰🇼","flag: Kuwait",8,[]],["🇰🇾","flag: Cayman Islands",8,[]],["🇰🇿","flag: Kazakhstan",8,[]],["🇱🇦","flag: Laos",8,[]],["🇱🇧","flag: Lebanon",8,[]],["🇱🇨","flag: St. Lucia",8,[]],["🇱🇮","flag: Liechtenstein",8,[]],["🇱🇰","flag: Sri Lanka",8,[]],["🇱🇷","flag: Liberia",8,[]],["🇱🇸","flag: Lesotho",8,[]],["🇱🇹","flag: Lithuania",8,[]],["🇱🇺","flag: Luxembourg",8,[]],["🇱🇻","flag: Latvia",8,[]],["🇱🇾","flag: Libya",8,[]],["🇲🇦","flag: Morocco",8,[]],["🇲🇨","flag: Monaco",8,[]],["🇲🇩","flag: Moldova",8,[]],["🇲🇪","flag: Montenegro",8,[]],["🇲🇫","flag: St. Martin",8,[]],["🇲🇬","flag: Madagascar",8,[]],["🇲🇭","flag: Marshall Islands",8,[]],["🇲🇰","flag: North Macedonia",8,[]],["🇲🇱","flag: Mali",8,[]],["🇲🇲","flag: Myanmar (Burma)",8,[]],["🇲🇳","flag: Mongolia",8,[]],["🇲🇴","flag: Macao SAR China",8,[]],["🇲🇵","flag: Northern Mariana Islands",8,[]],["🇲🇶","flag: Martinique",8,[]],["🇲🇷","flag: Mauritania",8,[]],["🇲🇸","flag: Montserrat",8,[]],["🇲🇹","flag: Malta",8,[]],["🇲🇺","flag: Mauritius",8,[]],["🇲🇻","flag: Maldives",8,[]],["🇲🇼","flag: Malawi",8,[]],["🇲🇽","flag: Mexico",8,[]],["🇲🇾","flag: Malaysia",8,[]],["🇲🇿","flag: Mozambique",8,[]],["🇳🇦","flag: Namibia",8,[]],["🇳🇨","flag: New Caledonia",8,[]],["🇳🇪","flag: Niger",8,[]],["🇳🇫","flag: Norfolk Island",8,[]],["🇳🇬","flag: Nigeria",8,[]],["🇳🇮","flag: Nicaragua",8,[]],["🇳🇱","flag: Netherlands",8,[]],["🇳🇴","flag: Norway",8,[]],["🇳🇵","flag: Nepal",8,[]],["🇳🇷","flag: Nauru",8,[]],["🇳🇺","flag: Niue",8,[]],["🇳🇿","flag: New Zealand",8,[]],["🇴🇲","flag: Oman",8,[]],["🇵🇦","flag: Panama",8,[]],["🇵🇪","flag: Peru",8,[]],["🇵🇫","flag: French Polynesia",8,[]],["🇵🇬","flag: Papua New Guinea",8,[]],["🇵🇭","flag: Philippines",8,[]],["🇵🇰","flag: Pakistan",8,[]],["🇵🇱","flag: Poland",8,[]],["🇵🇲","flag: St. Pierre & Miquelon",8,[]],["🇵🇳","flag: Pitcairn Islands",8,[]],["🇵🇷","flag: Puerto Rico",8,[]],["🇵🇸","flag: Palestinian Territories",8,[]],["🇵🇹","flag: Portugal",8,[]],["🇵🇼","flag: Palau",8,[]],["🇵🇾","flag: Paraguay",8,[]],["🇶🇦","flag: Qatar",8,[]],["🇷🇪","flag: Réunion",8,[]],["🇷🇴","flag: Romania",8,[]],["🇷🇸","flag: Serbia",8,[]],["🇷🇺","flag: Russia",8,[]],["🇷🇼","flag: Rwanda",8,[]],["🇸🇦","flag: Saudi Arabia",8,[]],["🇸🇧","flag: Solomon Islands",8,[]],["🇸🇨","flag: Seychelles",8,[]],["🇸🇩","flag: Sudan",8,[]],["🇸🇪","flag: Sweden",8,[]],["🇸🇬","flag: Singapore",8,[]],["🇸🇭","flag: St. Helena, Ascension & Tristan da Cunha",8,[]],["🇸🇮","flag: Slovenia",8,[]],["🇸🇯","flag: Svalbard & Jan Mayen",8,[]],["🇸🇰","flag: Slovakia",8,[]],["🇸🇱","flag: Sierra Leone",8,[]],["🇸🇲","flag: San Marino",8,[]],["🇸🇳","flag: Senegal",8,[]],["🇸🇴","flag: Somalia",8,[]],["🇸🇷","flag: Suriname",8,[]],["🇸🇸","flag: South Sudan",8,[]],["🇸🇹","flag: São Tomé & Príncipe",8,[]],["🇸🇻","flag: El Salvador",8,[]],["🇸🇽","flag: Sint Maarten",8,[]],["🇸🇾","flag: Syria",8,[]],["🇸🇿","flag: Eswatini",8,[]],["🇹🇦","flag: Tristan da Cunha",8,[]],["🇹🇨","flag: Turks & Caicos Islands",8,[]],["🇹🇩","flag: Chad",8,[]],["🇹🇫","flag: French Southern and Antarctic Lands",8,[]],["🇹🇬","flag: Togo",8,[]],["🇹🇭","flag: Thailand",8,[]],["🇹🇯","flag: Tajikistan",8,[]],["🇹🇰","flag: Tokelau",8,[]],["🇹🇱","flag: Timor-Leste",8,[]],["🇹🇲","flag: Turkmenistan",8,[]],["🇹🇳","flag: Tunisia",8,[]],["🇹🇴","flag: Tonga",8,[]],["🇹🇷","flag: Türkiye",8,[]],["🇹🇹","flag: Trinidad & Tobago",8,[]],["🇹🇻","flag: Tuvalu",8,[]],["🇹🇼","flag: Taiwan",8,[]],["🇹🇿","flag: Tanzania",8,[]],["🇺🇦","flag: Ukraine",8,[]],["🇺🇬","flag: Uganda",8,[]],["🇺🇲","flag: U.S. Outlying Islands",8,[]],["🇺🇳","flag: United Nations",8,[]],["🇺🇸","flag: United States",8,[]],["🇺🇾","flag: Uruguay",8,[]],["🇺🇿","flag: Uzbekistan",8,[]],["🇻🇦","flag: Vatican City",8,[]],["🇻🇨","flag: St. Vincent & Grenadines",8,[]],["🇻🇪","flag: Venezuela",8,[]],["🇻🇬","flag: British Virgin Islands",8,[]],["🇻🇮","flag: U.S. Virgin Islands",8,[]],["🇻🇳","flag: Vietnam",8,[]],["🇻🇺","flag: Vanuatu",8,[]],["🇼🇫","flag: Wallis & Futuna",8,[]],["🇼🇸","flag: Samoa",8,[]],["🇽🇰","flag: Kosovo",8,[]],["🇾🇪","flag: Yemen",8,[]],["🇾🇹","flag: Mayotte",8,[]],["🇿🇦","flag: South Africa",8,[]],["🇿🇲","flag: Zambia",8,[]],["🇿🇼","flag: Zimbabwe",8,[]],["🏴","flag: England",8,[]],["🏴","flag: Scotland",8,[]],["🏴","flag: Wales",8,[]]]'),Ja={groups:sm,entries:om};function Xn(e){return e.normalize("NFKC").toLowerCase().replace(/[_\s]+|(?<=[\p{L}\p{N}])-+/gu," ").trim()}const fo={"+1":["👍"],thumbsup:["👍"],thumbs_up:["👍"],"-1":["👎"],thumbsdown:["👎"],thumbs_down:["👎"],tada:["🎉"],heart:["❤️"],smile:["😄"],woman_technologist:["👩💻"],fire:["🔥"],rocket:["🚀"],eyes:["👀"],joy:["😂"],grin:["😁"],laughing:["😆"],wink:["😉"],pray:["🙏"],clap:["👏"],wave:["👋"],ok_hand:["👌"],sparkles:["✨"],white_check_mark:["✅"],x:["❌"],warning:["⚠️"],thinking_face:["🤔"],sob:["😭"],cry:["😢"],shrug:["🤷"],facepalm:["🤦"],raised_hands:["🙌"],muscle:["💪"],star:["⭐"],sunglasses:["😎"],heart_eyes:["😍"],rofl:["🤣"],slightly_smiling_face:["🙂"],upside_down_face:["🙃"],see_no_evil:["🙈"],point_up:["☝️"],point_right:["👉"],bulb:["💡"],memo:["📝"],bug:["🐛"],zap:["⚡"],boom:["💥"],coffee:["☕"],beer:["🍺"],pizza:["🍕"],cake:["🍰"],gift:["🎁"],calendar:["📆"],lock:["🔒"],key:["🔑"],link:["🔗"],chart_with_upwards_trend:["📈"],rotating_light:["🚨"],construction:["🚧"],hourglass:["⌛"],alarm_clock:["⏰"],bell:["🔔"],speech_balloon:["💬"],100:["💯"]},Ur=new RegExp("\\p{L}","u");function lm(e=fo){const t=new Set(Object.keys(e).map(Xn).filter(i=>!Ur.test(i)));return i=>t.has(Xn(i))?!0:Array.from(i).length>=2&&Ur.test(i)}const dm=32,Hr=8;function cm(e,t=fo){const i=new Map;for(const[r,o]of Object.entries(t))for(const d of o){const l=i.get(d)??[];l.push(r),i.set(d,l)}const a=e.map(r=>({entry:r,explicitAliases:(i.get(r.emoji)??[]).map(Xn),name:Xn(r.name),nameWords:Xn(r.name).split(" "),aliases:[r.name,...r.keywords,...i.get(r.emoji)??[]].map(Xn)}));return(r,o=Hr)=>{const d=Number.isFinite(o)?Math.max(0,Math.min(dm,Math.floor(o))):Hr;if(d===0)return[];const l=Xn(r);if(!l)return a.slice(0,d).map(({entry:u})=>u);const m=l.split(" ").filter(Boolean),h=[[],[],[],[],[]];for(const{entry:u,aliases:k,explicitAliases:w,name:y,nameWords:f}of a){if(!m.every(p=>k.some(g=>g.includes(p))))continue;const x=w.includes(l)?0:y===l?1:m.every(p=>f.some(g=>g.startsWith(p)))?2:w.some(p=>p.startsWith(l))?3:4;if(h[x].length<d&&h[x].push(u),h[0].length===d)break}return h.flat().slice(0,d)}}const mm=/^ {0,3}(`{3,}|~{3,})(.*)$/u,um=/:([\p{L}\p{M}\p{N}_+\-]*)$/u,hm=/.$/u,gm=/[\s\p{P}\p{S}]/u,pm=/[:/@\\`]/u,km=/(?:\w+:\/\/|www\.)\S*$/iu;function wo(e,t){let i=0,a=t;for(;a>0&&e[--a]==="\\";)i++;return i%2===1}function fm(e){let t=null,i=0;for(const a of e.split(`
|
|
37
|
-
`)){const r=
|
|
38
|
-
`)?" ":null]})},bo=({mentions:e})=>{me();const[t,i]=c.useState("idle"),a=e.notice,r=e.source,o=r?.conversationId??null,d=c.useRef(0),l=c.useRef(null);if(c.useLayoutEffect(()=>(d.current+=1,l.current=null,i("idle"),()=>{d.current+=1,l.current=null}),[o,a]),!a||!r)return null;const m=r?.conversationKind!=="dm"&&!a.invited&&(r?.canInvite?.(a.candidate)??!1)?r?.onInvite:void 0,h=a.candidate.label,u=t==="failed"?s("ui.teamBridge.mentions.notice.invite_failed",{name:h}):a.invited?s("ui.teamBridge.mentions.notice.invited",{name:h}):a.candidate.invited?s("ui.teamBridge.mentions.notice.pending",{name:h}):s("ui.teamBridge.mentions.notice.not_member",{name:h});return n.jsxs("div",{role:"status","data-mention-notice":"",className:"flex flex-wrap items-center gap-x-2 gap-y-1 rounded-md bg-warning-wash px-3 py-1.5 text-body-sm text-ink",children:[n.jsx("span",{className:"min-w-0 flex-1",children:u}),m&&n.jsx(V,{variant:"link",size:"sm",className:"h-7 px-1.5",disabled:t==="inviting",onClick:()=>{const k=Symbol("mention-invite"),w=d.current;l.current=k;const y=()=>d.current===w&&l.current===k;i("inviting"),m(a.candidate).then(()=>{y()&&(l.current=null,i("idle"),e.resolveNotice())},()=>{y()&&(l.current=null,i("failed"))})},children:s("ui.teamBridge.mentions.notice.invite")}),!a.invited&&n.jsx(V,{variant:"link",size:"sm",className:"h-7 px-1.5",onClick:()=>{i("idle"),e.silenceNotice()},children:s("ui.teamBridge.mentions.notice.silent")}),n.jsx(V,{variant:"ghost",size:"icon-sm","aria-label":s("ui.common.actions.dismiss"),title:s("ui.common.actions.dismiss"),onClick:()=>{i("idle"),e.dismissNotice()},children:n.jsx(St,{size:14,"aria-hidden":"true"})})]})},Gr="[clip-path:polygon(100%_100%,0_100%,100%_0)] rtl:[clip-path:polygon(0_100%,100%_100%,0_0)]";function Rm(e){return e<=20?12:e<=24?14:e<=36?18:e<=56?26:28}function yn({member:e,kind:t,endpointId:i,label:a,size:r=36,className:o,fallback:d,selected:l=!1}){const m=dl(cl(e,t,i),r<=64?64:256),[h,u]=c.useState(),k=t==="agent"?n.jsx(Bt,{size:Rm(r)}):d??Us(a);return n.jsxs("span",{"aria-hidden":"true","data-team-bridge-avatar":"",style:{"--profile-avatar-size":`${r}px`},className:Z("relative inline-flex size-[var(--profile-avatar-size)] shrink-0 items-center justify-center overflow-hidden rounded-md font-medium text-body-sm",t==="agent"?"text-accent":"text-ink-muted",l?"bg-surface":"bg-media-surface",o,t==="agent"&&"rounded-ee-xs"),children:[m&&m!==h?n.jsx("img",{alt:"",src:m,className:"size-full object-cover",onError:()=>u(m)}):k,t==="agent"&&n.jsx("span",{"data-agent-mark":"",className:Z("pointer-events-none absolute end-0 bottom-0 size-[max(8px,32%)]",l?"bg-surface":"bg-media-surface",Gr),children:n.jsx("span",{className:Z("absolute end-0 bottom-0 block size-[calc(100%-1px)] bg-accent",Gr)})})]})}function Tm({onBeforeNavigate:e}){const t=mc();return n.jsx(V,{variant:"secondary",size:"sm",className:"w-full",onClick:()=>{e()&&t("/settings")},children:s("ui.settings.personal_profile.edit")})}function Dn({member:e,label:t,kind:i,onMessage:a,onEditOwnProfile:r,canMessage:o=!0,openDelayMs:d=400,fastOpenDelayMs:l,toggleOnClick:m=!0,openOnFocus:h=!0,children:u}){const k=me(),w=Ks(),y=at(),f=c.useRef(!1),[x,p]=c.useState(!1),[g,j]=c.useState(()=>new Date),S=c.useId(),F=c.useRef(void 0),B=c.useRef(null),T=c.useRef(!1),I=c.useRef(!1),K=c.useRef(null),E=c.useRef(void 0),L=c.useRef(!1),q=c.useRef(!1),z=i==="agent",X=z?t:e.profile?.display_name||t,v=!z&&!!w.accountId&&e.account_id===w.accountId,M=()=>!v||Hs(y)!==w.token||Oa(y).accountId!==e.account_id?!1:(f.current=!0,H(!1),Ic(w.token),!0),R=()=>{clearTimeout(F.current),F.current=void 0},H=_=>{R(),_||(E.current=void 0),p(_)},N=()=>{R(),F.current=setTimeout(()=>{F.current=void 0,B.current?.contains(document.activeElement)||p(!1)},200)},U=_=>{R(),F.current=setTimeout(()=>{F.current=void 0,p(!0)},Math.max(0,_))},$=(_,ie)=>{if(x||E.current===void 0)return;const ge=l!==void 0&&_ instanceof Element&&ie.contains(_.closest("[data-team-bridge-avatar]"));if(ge===L.current&&F.current!==void 0)return;L.current=ge;const je=Date.now()-E.current,se=d-je;U(ge&&l!==void 0?Math.min(l,se):se)};c.useEffect(()=>()=>clearTimeout(F.current),[]),c.useEffect(()=>{x||(clearTimeout(F.current),F.current=void 0,E.current=void 0)},[x]),c.useEffect(()=>{if(!x||!q.current)return;q.current=!1;const _=requestAnimationFrame(()=>{const ie=B.current?.querySelectorAll("button");ie?.[ie.length-1]?.focus()});return()=>cancelAnimationFrame(_)},[x]),c.useEffect(()=>{if(!x)return;j(new Date);const _=setInterval(()=>j(new Date),6e4);return()=>clearInterval(_)},[x]);let Q;if(e.profile?.timezone)try{Q=Bi(g,{timeZone:e.profile.timezone,hour:"numeric",minute:"2-digit"},k)}catch{}const Y=c.cloneElement(u,{...m?{"aria-label":s("ui.teamBridge.profile.open_profile",{name:t})}:{"aria-keyshortcuts":"Shift+F10 ContextMenu","aria-expanded":x},onMouseEnter:_=>{if(u.props.onMouseEnter?.(_),!_.defaultPrevented){if(E.current=Date.now(),L.current=!1,x){R();return}U(d),$(_.target,_.currentTarget)}},onMouseOver:_=>{u.props.onMouseOver?.(_),_.defaultPrevented||$(_.target,_.currentTarget)},onMouseLeave:_=>{u.props.onMouseLeave?.(_),E.current=void 0,_.defaultPrevented||N()},onFocus:_=>{u.props.onFocus?.(_),h&&!_.defaultPrevented&&!T.current&&H(!0)},onKeyDown:_=>{u.props.onKeyDown?.(_),!(h||_.defaultPrevented)&&(_.key!=="ContextMenu"&&!(_.shiftKey&&_.key==="F10")||(_.preventDefault(),K.current=_.currentTarget,q.current=!0,H(!0)))},onBlur:_=>{u.props.onBlur?.(_),!_.defaultPrevented&&!B.current?.contains(_.relatedTarget)&&N()},onClick:m?u.props.onClick:_=>{u.props.onClick?.(_),H(!1)}});return n.jsxs(ao,{open:x,onOpenChange:H,modal:!1,children:[m?n.jsx(ro,{asChild:!0,children:Y}):n.jsx(kc,{asChild:!0,children:Y}),n.jsx(so,{ref:B,"aria-labelledby":S,"data-profile-card":"","data-profile-kind":z?"agent":"human",collisionPadding:16,className:"flex max-h-[min(var(--radix-popover-content-available-height),calc(100dvh-2rem))] w-80 max-w-[min(var(--radix-popover-content-available-width),calc(100vw-2rem))] flex-col p-0",onMouseEnter:R,onMouseLeave:N,onFocusCapture:()=>{I.current=!0,R()},onBlur:_=>{_.currentTarget.contains(_.relatedTarget)||(I.current=!1,N())},onOpenAutoFocus:_=>_.preventDefault(),onCloseAutoFocus:_=>{if(f.current){f.current=!1,_.preventDefault();return}if(!I.current){_.preventDefault();return}if(I.current=!1,!m){_.preventDefault(),K.current?.focus();return}T.current=!0,queueMicrotask(()=>{T.current=!1})},children:n.jsxs("div",{"data-profile-scroll":"",className:"min-h-0 overflow-y-auto overscroll-contain p-4 space-y-3",children:[n.jsxs("div",{className:"flex items-start justify-between gap-3",children:[n.jsx(yn,{member:e,kind:i,label:X,size:64}),n.jsx(fc,{asChild:!0,children:n.jsx(V,{variant:"ghost",size:"icon","aria-label":s("ui.teamBridge.profile.close_profile"),children:n.jsx(St,{size:16,"aria-hidden":"true"})})})]}),n.jsxs("div",{className:"min-w-0 space-y-1 [overflow-wrap:anywhere]",children:[n.jsx("h2",{id:S,className:"text-body font-semibold text-ink",children:X}),e.profile?.title&&n.jsx("p",{className:"text-body-sm text-ink",children:e.profile.title})]}),n.jsx(Gt,{children:s(z?"ui.teamBridge.profile.agent_badge":"ui.teamBridge.profile.human_badge")}),z&&n.jsx("p",{className:"text-body-sm text-ink-muted [overflow-wrap:anywhere]",children:s("ui.teamBridge.profile.owned_by",{name:Ye(e)})}),e.profile?.description&&n.jsx("p",{className:"line-clamp-6 whitespace-pre-wrap text-body-sm text-ink [overflow-wrap:anywhere]",children:e.profile.description}),Q&&n.jsxs("p",{className:"flex items-center gap-2 text-body-sm text-ink-muted",children:[n.jsx(Ut,{size:14,"aria-hidden":"true"}),s("ui.teamBridge.profile.local_time",{time:Q})]}),v&&(r?n.jsx(V,{variant:"secondary",size:"sm",className:"w-full",onClick:()=>{M()&&r()},children:s("ui.settings.personal_profile.edit")}):n.jsx(Tm,{onBeforeNavigate:M})),o&&n.jsxs(V,{className:"w-full",onClick:()=>{H(!1),a()},children:[n.jsx(Os,{size:16,"aria-hidden":"true"}),s("ui.teamBridge.profile.message")]})]})})]})}const Wr=48,Jr=26,Mm=8,Vr={"member-human":"ui.teamBridge.mentions.section.member_human","member-agent":"ui.teamBridge.mentions.section.member_agent","org-human":"ui.teamBridge.mentions.section.org_human","org-agent":"ui.teamBridge.mentions.section.org_agent"};function ja(e,t){return`${e}-option-${t}`}const Am=({row:e})=>{const t=e.profile??{account_id:e.accountId,display_label:e.label,role:"member",bridge_enabled:!1,bridge_state:"none"};return n.jsx(yn,{member:t,label:e.label,kind:e.kind,size:28,className:"size-7 rounded-md text-meta",fallback:e.kind==="human"?Us(e.label):void 0})},zm=({listboxId:e,sections:t,active:i,query:a,onActive:r,onPick:o,position:d,inline:l=!1})=>{me();const m=c.useRef(null),h=t.length===0,[u,k]=c.useState({row:Wr,header:Jr});c.useLayoutEffect(()=>{const p=m.current,g=p?.querySelector('[role="option"]'),j=p?.querySelector("[data-mention-header]"),S={row:g?.offsetHeight||Wr,header:j?.offsetHeight||Jr};(S.row!==u.row||S.header!==u.header)&&k(S)});const w=u.row*Mm+u.header+8;c.useEffect(()=>{m.current?.querySelector(`#${CSS.escape(ja(e,i))}`)?.scrollIntoView?.({block:"nearest"})},[i,e,w]);let y=-1;const f=l||!d?void 0:{position:"fixed",left:d.left,bottom:d.bottom},x=n.jsx("div",{"data-mention-popover":"",style:f,className:Z("z-50 w-[min(22rem,calc(100vw-16px))] overflow-hidden rounded-md border border-hairline bg-elevated shadow-lg"),children:n.jsx("div",{ref:m,id:e,role:"listbox",tabIndex:-1,"aria-label":s("ui.teamBridge.mentions.listbox_label"),style:{maxHeight:w},className:"overflow-y-auto py-1",children:h?n.jsx("div",{className:"px-3 py-2 text-body-sm text-ink-muted",children:s("ui.teamBridge.mentions.empty",{query:a})}):t.map(p=>n.jsxs("div",{role:"group","aria-label":s(Vr[p.id]),children:[n.jsx("div",{"aria-hidden":"true","data-mention-header":"",className:"px-3 pt-1.5 pb-0.5 font-medium text-meta text-ink-dim",children:s(Vr[p.id])}),p.rows.map(g=>{const j=g;y+=1;const S=y,F=S===i,B=j.bridgeOff?s("ui.teamBridge.mentions.tag.bridge_off"):j.invited?s("ui.teamBridge.members.state.invited_short"):j.member?null:s("ui.teamBridge.mentions.tag.not_member");return n.jsxs("div",{id:ja(e,S),role:"option","aria-selected":F,"data-mention-option":`${j.kind}:${j.accountId}`,onMouseMove:()=>{F||r(S)},onMouseDown:T=>{T.preventDefault()},onClick:()=>o(j),className:Z("relative mx-1 flex min-h-12 cursor-pointer items-center gap-2.5 rounded-sm px-2 py-1",F?Z("bg-accent-wash","before:absolute before:inset-y-0 before:start-0 before:w-0.5 before:rounded-full before:bg-accent"):""),children:[n.jsx(Am,{row:j}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col",children:[n.jsx("span",{className:"truncate text-body-sm text-ink",children:j.label}),j.secondary&&n.jsx("span",{className:"truncate text-meta text-ink-muted",children:j.secondary})]}),B&&n.jsx("span",{className:"shrink-0 text-meta-sm text-ink-dim",children:B})]},`${j.kind}:${j.accountId}`)})]},p.id))})});return l||typeof document>"u"?x:io.createPortal(x,document.body)},Dm=48,Pm=/[\s([{"'“‘«<,;:!?]/u;function Om(e,t){return t===0?!0:Pm.test(e.charAt(t-1))}function qm(e,t){const i=Math.max(0,t-Dm-1);for(let a=t-1;a>=i;a-=1){const r=e.charAt(a);if(r===`
|
|
39
|
-
`)return null;if(r==="@"){if(!Om(e,a))return null;const o=e.slice(a+1,t);return o.startsWith(" ")?null:{start:a,end:t,query:o}}}return null}function _a(e){return e.normalize("NFKD").replace(Fm,"").toLocaleLowerCase()}const Lm=/[\s()[\],.'’"-]+/u,Fm=new RegExp("\\p{M}","gu"),Qr=/\s+/g,$m=3;function Km(e){return _a(e).split(Lm).filter(t=>t.length>0)}function Um(e,t){let i=0;for(const a of t)if(a===e[i]&&(i+=1),i===e.length)return!0;return e.length===0}function Hm(e,t){const i=_a(e).trim();if(i==="")return 0;const a=[t.label,...t.aliases??[]],r=a.map(_a);if(r.some(d=>d.startsWith(i)))return 0;if(a.some(d=>{const l=Km(d);return l.some((m,h)=>l.slice(h).join(" ").startsWith(i))}))return 1;if(r.some(d=>d.includes(i)))return 2;const o=i.replace(Qr,"");return o.length<$m?null:r.some(d=>Um(o,d.replace(Qr,"")))?3:null}const Gm=["member-human","member-agent","org-human","org-agent"];function Wm(e){return`${e.member?"member":"org"}-${e.kind}`}function Jm(e,t){const i=t.flatMap((r,o)=>{const d=Hm(e,r);return d===null?[]:[{candidate:r,tier:d,index:o}]}),a=[];for(const r of Gm){const o=i.filter(d=>Wm(d.candidate)===r).sort((d,l)=>d.tier-l.tier||d.index-l.index).map(d=>d.candidate);o.length>0&&a.push({id:r,rows:o})}return{sections:a,flat:a.flatMap(r=>r.rows)}}function Vn(e){return`${e.kind}:${e.accountId}`}const Yr=50;function Vm(e,t){return e?.accountId&&e.tenantId?JSON.stringify(["mention-draft-v2",e.accountId,e.tenantId,t]):null}const Xr=Ua()(to(e=>({drafts:{},write:(t,i,a)=>e(r=>{const o={...r.drafts},d=sn(i,i,a);d.length===0?delete o[t]:o[t]={text:i,tokens:d,at:Date.now()};const l=Object.keys(o);if(l.length>Yr)for(const m of l.sort((h,u)=>o[h].at-o[u].at).slice(0,l.length-Yr))delete o[m];return{drafts:o}})}),{name:"team-bridge-mention-drafts",storage:uc(()=>localStorage),version:2,migrate:()=>({drafts:{}})})),Zr=[],Qm=50;function Ym(e){const{draftKey:t,text:i,setText:a,fieldRef:r,listboxId:o}=e,d=Wa(),l=d!==null,m=Vm(d?.draftOwner,t),h=m??JSON.stringify(["unresolved",t]),u=m?Xr.getState().drafts[m]:void 0,k=Xr(C=>C.write),w=c.useCallback((C,W)=>{m&&k(m,C,W)},[m,k]),[y,f]=c.useState(()=>u?sn(u.text,i,u.tokens):Zr),x=c.useRef(i),p=c.useRef(u&&u.text!==i?u:null),[g,j]=c.useState(null),S=c.useRef(!1),F=c.useRef(null),B=c.useRef([]),T=c.useRef(null),I=c.useRef(null),K=c.useRef(null),E=c.useRef(0),[L,q]=c.useState(null),z=c.useCallback(C=>{for(let W=B.current.length-1;W>=0;W-=1)if(B.current[W].text===C)return B.current[W].tokens},[]),X=c.useRef(h);if(X.current!==h){X.current=h,p.current=u&&u.text!==i?u:null,j(null),S.current=!1,x.current=i,B.current=[],T.current=null,I.current=null,K.current=null,q(null);const C=u?sn(u.text,i,u.tokens):Zr;C!==y&&f(C)}else if(x.current!==i){const C=p.current,W=I.current===i;I.current=null;const re=g===i||W,ce=T.current===i;T.current=null,W&&g!==i&&j(i);const Be=ce||!re&&x.current===""?z(i):void 0,$e=C?.text===i?sn(i,i,C.tokens):Be??sn(x.current,i,y);C?.text===i&&(p.current=null),re||(j(null),S.current=!1),x.current=i,f($e)}c.useEffect(()=>{if(p.current)return;w(i,y);const C=B.current,W=C.at(-1);(!W||W.text!==i||W.tokens!==y)&&(C.push({text:i,tokens:y}),C.length>Qm&&C.shift())},[w,i,y]);const[v,M]=c.useState(null),[R,H]=c.useState(null),[N,U]=c.useState(0),[$,Q]=c.useState(null),Y=c.useRef(!1),_=c.useMemo(()=>{if(!l||v===null||g!==i)return null;const C=qm(i,v);return!C||y.some(W=>C.start>=W.start&&C.start<W.end)?null:C},[l,v,i,y,g]),ie=c.useMemo(()=>_?Jm(_.query,d?.candidates??[]):{sections:[],flat:[]},[_,d?.candidates]),ge=ie.flat,je=_!==null&&ge.length===0&&_.query.endsWith(" "),se=je?_.start:null;c.useEffect(()=>{se!==null&&H(se)},[se]);const P=_!==null&&R!==_.start&&!je&&!Y.current,ne=_?.query;c.useEffect(()=>{U(0)},[ne]);const le=c.useCallback((C="forward")=>{const W=r.current;if(!W)return;if(W.selectionStart!==W.selectionEnd){M(null);return}const re=W.selectionStart,ce=Sm(y,re,C);ce!==re&&W.setSelectionRange(ce,ce),M(ce)},[r,y]);c.useLayoutEffect(()=>{l&&r.current===r.current?.ownerDocument.activeElement&&le()},[i,l]),c.useLayoutEffect(()=>{const C=K.current,W=C?.draftKey===h&&C.text===i;W||(K.current=null),q(W?C:null)},[i,h]);const pe=c.useCallback((C,W)=>{const re=r.current;p.current=null,F.current=C,w(C.text,C.tokens),j(C.text);let ce=!1;if(re&&W){re.focus(),re.setSelectionRange(W.start,W.end);try{ce=re.ownerDocument.execCommand?.(W.insert===""?"delete":"insertText",!1,W.insert)===!0&&re.value===C.text}catch{ce=!1}}F.current=null,x.current=C.text,f(C.tokens),ce||a(C.text),M(C.caret),requestAnimationFrame(()=>{const Be=r.current;Be&&Be.setSelectionRange(C.caret,C.caret)})},[r,a,w]),he=c.useCallback(C=>{requestAnimationFrame(()=>{const W=r.current;W&&(W.focus(),C!==void 0&&W.setSelectionRange(C,C))})},[r]),xe=c.useCallback(C=>{if(!_)return;const W=_m(i,y,_,C,C.member),re=W.text.slice(_.start,W.caret);pe(W,{start:_.start,end:_.end,insert:re}),H(null);const ce=W.tokens.find(Be=>Be.start===_.start);ce&&!C.member&&Q({candidate:C,token:ce}),he(W.caret)},[_,i,y,pe,he]),be=c.useCallback(()=>{_&&H(_.start)},[_]),de=c.useCallback(C=>{if(!l||C.nativeEvent.isComposing||C.key==="Process")return!1;const W=C.currentTarget;if(P&&ge.length>0){if(C.key==="ArrowDown"||C.key==="ArrowUp"){C.preventDefault();const re=C.key==="ArrowDown"?1:-1;return U(ce=>(ce+re+ge.length)%ge.length),!0}if(C.key==="Enter"&&!C.shiftKey||C.key==="Tab"&&!C.shiftKey)return C.preventDefault(),xe(ge[Math.min(N,ge.length-1)]),!0}if(P&&C.key==="Escape")return C.preventDefault(),C.stopPropagation(),be(),!0;if(C.key==="Backspace"||C.key==="Delete"){const re=Nm(i,y,{start:W.selectionStart,end:W.selectionEnd},C.key);if(re)return C.preventDefault(),pe(re,{start:re.caret,end:re.caret+(i.length-re.text.length),insert:""}),!0}if((C.key==="ArrowLeft"||C.key==="ArrowRight")&&!C.shiftKey&&W.selectionStart===W.selectionEnd){const re=W.selectionStart,ce=W.ownerDocument.defaultView?.getComputedStyle(W).direction==="rtl",Be=C.key==="ArrowRight"!==ce,$e=y.find(ve=>Be?re===ve.start:re===ve.end);if($e){C.preventDefault();const ve=Be?$e.end:$e.start;return W.setSelectionRange(ve,ve),M(ve),!0}}return!1},[l,P,ge,N,xe,be,i,y,pe]),ke=c.useCallback(C=>{const W=C.nativeEvent;Y.current=!!W.isComposing;const re=C.currentTarget;S.current&&j(i);const ce=K.current;ce&&(re.selectionStart!==ce.selectionStart||re.selectionEnd!==ce.selectionEnd)&&(K.current=null,q(null));const Be=v??re.selectionStart;le(re.selectionStart<Be?"backward":"forward")},[v,le,i]);c.useEffect(()=>{const C=r.current;if(!C||!l)return;const W=()=>{Y.current=!0,K.current=null,q(null)},re=()=>{Y.current=!1,le()},ce=$e=>{const ve=$e.inputType,On=ve==="historyUndo"||ve==="historyRedo";On&&(T.current=C.value),p.current=null,I.current=C.value,K.current={draftKey:h,sequence:++E.current,text:C.value,selectionStart:C.selectionStart,selectionEnd:C.selectionEnd,kind:ve==="insertFromPaste"?"paste":On?"restore":"typing",inputType:ve,composing:Y.current||!!$e.isComposing};const ye=F.current?.text===C.value?F.current.tokens:(On?z(C.value):void 0)??sn(x.current,C.value,y);w(C.value,ye)},Be=()=>{S.current=!0};return C.addEventListener("compositionstart",W),C.addEventListener("compositionend",re),C.addEventListener("input",ce),C.addEventListener("pointerdown",Be),C.addEventListener("keydown",Be),()=>{C.removeEventListener("compositionstart",W),C.removeEventListener("compositionend",re),C.removeEventListener("input",ce),C.removeEventListener("pointerdown",Be),C.removeEventListener("keydown",Be)}},[r,l,le,z,y,w,h]);const _e=c.useMemo(()=>new Set((d?.candidates??[]).filter(C=>C.member).map(C=>Vn(C))),[d?.candidates]),Ie=c.useRef(new Set),rn=d?.conversationId??null;c.useLayoutEffect(()=>{Q(null),Ie.current.clear()},[rn]),c.useEffect(()=>{if(Ie.current.size===0)return;const C=[...Ie.current].filter(W=>_e.has(W));if(C.length!==0){for(const W of C)Ie.current.delete(W);f(W=>W.map(re=>C.includes(Vn(re))?{...re,notify:!0}:re))}},[_e]);const fe=c.useCallback(()=>{if(!d?.sendMentions)return;const C=Cm(sn(x.current,i,y),_e);return C.length>0?C:void 0},[d?.sendMentions,i,y,_e]),Ne=c.useCallback((C,W=!0)=>{$&&(C&&f(re=>re.map(ce=>ce.start===$.token.start&&Vn(ce)===Vn($.candidate)?{...ce,...C}:ce)),W&&Q(null),he($.token.end+1))},[$,he]);return c.useEffect(()=>{$&&!y.some(C=>C.start===$.token.start&&Vn(C)===Vn($.candidate))&&Q(null)},[$,y]),{enabled:l,open:P,sections:ie.sections,flat:ge,active:N,setActive:U,pick:xe,close:be,anchorIndex:_?.start??null,tokens:y,onKeyDown:de,onSelect:ke,payload:fe,notice:$,dismissNotice:()=>Ne({notify:!1}),silenceNotice:()=>Ne({notify:!1}),resolveNotice:()=>{$&&(Ie.current.add(Vn($.candidate)),Q({...$,invited:!0}),he($.token.end+1))},source:d,listboxId:o,inputScopeKey:h,emojiIntent:L,isComposing:()=>Y.current,clearEmojiIntent:()=>{K.current=null,q(null)},applyTextEdit:C=>{pe({text:C.text,caret:C.caret,tokens:sn(i,C.text,y)},C.edit)}}}function yo(e){const t=c.useId().replace(/:/g,""),i=Ym({...e,listboxId:t}),a=vm({draftKey:i.inputScopeKey,text:e.text,enabled:i.enabled,fieldRef:e.fieldRef,listboxId:`${t}-emoji`,mentionQueryStart:i.open?i.anchorIndex:null,mentionRanges:i.tokens,intent:i.emojiIntent,isComposing:i.isComposing,onEdit:i.applyTextEdit});return{...i,open:i.open&&a.owner==="mention",emoji:a,stage:r=>{i.source&&ml(i.source.conversationId,r,i.payload())},bindField:r=>({onKeyDown:o=>{Zc(a.owner,o,{mention:i.onKeyDown,emoji:a.onKeyDown,composer:d=>{a.owner==="none"&&i.onKeyDown(d)||r.onKeyDown?.(d)}})},...i.enabled?{onSelect:i.onSelect,onBlur:i.clearEmojiIntent,role:"combobox","aria-expanded":i.open,"aria-controls":i.open?t:void 0,"aria-autocomplete":"list","aria-activedescendant":i.open&&i.flat.length>0?ja(t,i.active):void 0}:{},...a.owner==="emoji"?a.aria:{}})}}const Xm=352,gi=8;function xo({mentions:e,fieldRef:t,text:i,children:a}){const[r,o]=c.useState(null),{open:d,anchorIndex:l}=e;return c.useLayoutEffect(()=>{const m=t.current;if(!d||l===null||!m){o(null);return}const h=m.ownerDocument.defaultView,u=()=>{const w=ko(m,l),y=h?.innerWidth??0,f=h?.innerHeight??0,x=Math.min(Xm,y-2*gi),g=h?.getComputedStyle(m).direction==="rtl"?w.right+8-x:w.left-8,j=Math.min(Math.max(gi,g),Math.max(gi,y-gi-x));o({left:j,bottom:f-w.top+6})};u(),m.addEventListener("scroll",u),h?.addEventListener("resize",u);const k=typeof ResizeObserver>"u"?null:new ResizeObserver(u);return k?.observe(m),()=>{m.removeEventListener("scroll",u),h?.removeEventListener("resize",u),k?.disconnect()}},[d,l,t]),e.enabled?n.jsxs("div",{className:"group/mention-field relative flex min-w-0 flex-1",children:[n.jsx(Em,{fieldRef:t,text:i,tokens:e.tokens}),a,e.emoji?.open&&e.emoji.query&&n.jsx(rm,{fieldRef:t,anchorIndex:e.emoji.query.start,listboxId:e.emoji.listboxId,rows:e.emoji.rows,active:e.emoji.active,label:s("ui.teamBridge.reactions.choose"),emptyLabel:s("ui.teamBridge.reactions.noResults"),onActive:e.emoji.setActive,onPick:e.emoji.pick}),d&&r&&n.jsx(zm,{listboxId:e.listboxId,sections:e.sections,active:e.active,query:l===null?"":i.slice(l+1,t.current?.selectionStart),onActive:e.setActive,onPick:e.pick,position:r})]}):n.jsx(n.Fragment,{children:a})}function vo(e,t){return t?e.members.find(i=>i.kind==="human"&&i.account_id===t&&i.state==="active")??null:null}function Ft(e,t){return e.kind!=="dm"&&e.status==="open"&&!e.builtin&&vo(e,t)!==null}function Ba(e,t){const i=vo(e,t);return e.kind!=="dm"&&e.status==="open"&&!e.builtin&&i!==null&&i.role==="owner"}function jo(e,t,i){return e.localeCompare(t,i,{sensitivity:"base"})}function es(e,t){const i=t.trim().toLocaleLowerCase();return i===""||e.toLocaleLowerCase().includes(i)}function Zm(e,t){return{people:e.filter(i=>t(i)==="human"),agents:e.filter(i=>t(i)==="agent")}}function Na(e,t){return`${e}:${t}`}function eu(e){return new Set(e.filter(t=>t.state==="active"||t.state==="invited").map(t=>Na(t.kind,t.account_id)))}function nu(e,t,i,a,r){const o=eu(e.members),d=[];for(const l of t){const m=Ye(l),h=Da(l,i);o.has(Na("human",l.account_id))||d.push({recipient:{kind:"human",accountId:l.account_id,label:m},disabledReason:h==="openable"||h==="paused"||h==="self"?null:"bridge_unavailable"});const u=l.agent;!u||o.has(Na("agent",l.account_id))||d.push({recipient:{kind:"agent",accountId:l.account_id,endpointId:u.endpoint_id,agentName:u.name.trim(),ownerLabel:m,label:a(u.name.trim(),m)},disabledReason:e.agent_capable?u.state==="active"||u.state==="paused"?null:"agent_unavailable":"agent_not_permitted"})}return d.sort((l,m)=>+(l.disabledReason!==null)-+(m.disabledReason!==null)||jo(l.recipient.label,m.recipient.label,r))}function tu(e,t,i,a,r,o){return e.members.flatMap(d=>d.state==="active"||d.state==="invited"?[{member:d,state:d.state}]:[]).map(({member:d,state:l})=>({member:d,label:Ni(d,t,{named:a,unnamed:m=>a("",m)},null)??d.account_id,state:l,self:d.kind==="human"&&d.account_id===i,removable:r&&d.kind==="human"&&d.account_id!==i})).sort((d,l)=>+(l.member.role==="owner")-+(d.member.role==="owner")||jo(d.label,l.label,o))}function iu(e){switch(e){case"bridge_unavailable":return s("ui.teamBridge.members.reason_short.bridge_unavailable");case"agent_unavailable":return s("ui.teamBridge.members.reason_short.agent_unavailable");case"agent_not_permitted":return s("ui.teamBridge.members.reason_short.agent_not_permitted");default:return""}}const ca="flex min-h-9 items-center gap-2 rounded-md px-2 py-1",ns="px-2 pt-3 pb-1 text-meta text-ink-dim";function ts({accountId:e,label:t,kind:i,people:a}){const r=a.find(o=>o.account_id===e)??{account_id:e,display_label:t,role:"member",bridge_enabled:!1,bridge_state:"none"};return n.jsx(yn,{member:r,kind:i,label:t,size:24,className:"size-6 rounded-md text-meta"})}function au(e){return`${e.kind}:${e.account_id}`}function ru({open:e,conversation:t,people:i,selfAccountId:a,peopleState:r,canInvite:o,canRemove:d,mutationError:l=!1,pendingKey:m=null,onClose:h,onRetryMembers:u,onAdd:k,onRemove:w}){const y=me(),f=c.useId(),x=c.useId(),p=c.useRef(null),g=c.useRef(null),[j,S]=c.useState(""),[F,B]=c.useState(new Set),[T,I]=c.useState(null);c.useEffect(()=>{e&&(S(""),B(new Set),I(null))},[e]);const K=c.useCallback((P,ne)=>P.trim()?s("ui.teamBridge.chief.label",{agent:P,person:ne}):s("ui.teamBridge.chief.unnamed",{person:ne}),[]),E=c.useMemo(()=>nu(t,i,a,K,y),[t,i,a,K,y]);c.useEffect(()=>{B(P=>{const ne=new Set(E.filter(({disabledReason:he})=>he===null).map(({recipient:he})=>Ve(he)));let le=!1;const pe=new Set;for(const he of P)ne.has(he)?pe.add(he):le=!0;return le?pe:P})},[E]);const L=c.useMemo(()=>E.filter(({recipient:P})=>es(P.label,j)),[E,j]),q=c.useMemo(()=>tu(t,i,a,K,d,y),[t,i,a,K,d,y]),z=q.filter(({label:P})=>es(P,j)),X=j.trim()!=="",v=(P,ne)=>{const{people:le,agents:pe}=Zm(P,ne);return[{key:"people",heading:s("ui.teamBridge.members.group.people"),rows:le},{key:"agents",heading:s("ui.teamBridge.members.group.agents_v2"),rows:pe}].filter(he=>he.rows.length>0)},M=v(L,({recipient:P})=>P.kind),R=v(z,({member:P})=>P.kind),H=E.filter(({recipient:P,disabledReason:ne})=>ne===null&&F.has(Ve(P))),N=m!==null,U=c.useRef(null),$=c.useRef(new Map);c.useEffect(()=>{T&&U.current?.focus()},[T]);const Q=()=>{const P=T;I(null),P&&$.current.get(P)?.focus()},Y=T!==null&&z.some(({member:P,removable:ne})=>ne&&P.account_id===T);c.useEffect(()=>{T!==null&&!Y&&I(null)},[T,Y]);const _=c.useRef(null);c.useEffect(()=>{if(m!==null||!l)return;const P=_.current;_.current=null,P&&$.current.get(P)?.focus()},[m,l]);const ie=P=>{if(!o||P.disabledReason!==null||N)return;const ne=Ve(P.recipient);B(le=>{const pe=new Set(le);return pe.has(ne)?pe.delete(ne):pe.add(ne),pe})},ge=({member:P,label:ne,state:le,self:pe,removable:he})=>{const xe=P.account_id,be=m===`remove:${xe}`,de=he&&T===xe;return n.jsxs("div",{className:Z("group rounded-md",!de&&he&&"hover:bg-row-hover"),children:[n.jsxs("div",{className:ca,children:[n.jsx(ts,{accountId:xe,label:ne,kind:P.kind,people:i}),n.jsxs("p",{className:Z("min-w-0 flex-1 truncate text-body-sm",be?"text-ink-muted":"text-ink"),children:[ne,pe&&n.jsxs("span",{className:"text-ink-dim",children:[" ",s("ui.teamBridge.members.you")]})]}),P.role==="owner"&&n.jsx(Gt,{variant:"neutral",className:"shrink-0",children:s("ui.teamBridge.members.role.owner")}),le==="invited"&&n.jsx(Gt,{variant:"neutral",className:"shrink-0",children:s("ui.teamBridge.members.state.invited_short")}),be&&n.jsx("span",{className:"shrink-0 text-meta text-ink-dim",children:s("ui.teamBridge.members.removing_v2")}),he&&!be&&n.jsx("span",{className:Z("shrink-0",cd(de)),children:n.jsx(Fi,{content:s("ui.teamBridge.members.remove_tooltip"),children:n.jsx(V,{ref:ke=>{ke?$.current.set(xe,ke):$.current.delete(xe)},type:"button",size:"icon-sm",variant:"ghost",disabled:N,"aria-label":s("ui.teamBridge.members.remove_label",{name:ne}),"aria-expanded":de,onClick:()=>I(de?null:xe),children:n.jsx(Wc,{"aria-hidden":"true"})})})})]}),de&&n.jsxs("div",{className:"flex items-center justify-end gap-1 px-2 pb-1.5",children:[n.jsx(V,{ref:U,type:"button",size:"sm",variant:"ghost",disabled:N,onClick:Q,children:s("ui.teamBridge.create.cancel")}),n.jsx(V,{type:"button",size:"sm",variant:"danger",disabled:N,onClick:()=>{I(null),_.current=xe,w(xe)},children:s("ui.teamBridge.members.remove",{name:ne})})]})]},`${au(P)}:${le}`)},je=(P,ne,le)=>{const pe=Ve(P.recipient),he=P.recipient.label,xe=n.jsx(ts,{accountId:P.recipient.accountId,label:he,kind:P.recipient.kind,people:i});if(P.disabledReason!==null){const _e=iu(P.disabledReason);return n.jsxs("fieldset",{"aria-disabled":"true","aria-label":s("ui.teamBridge.members.ineligible_label",{name:he,reason:_e}),"data-ineligible":"",className:Z(ca,"m-0 min-w-0 border-0"),children:[xe,n.jsx("span",{className:"min-w-0 flex-1 truncate text-body-sm text-ink-muted",children:he}),n.jsx("span",{className:"shrink-0 text-end text-meta text-ink-dim",children:_e})]},pe)}const be=F.has(pe),de=!o||N,ke=`${x}-${ne}-${le}-label`;return n.jsxs("div",{className:Z(ca,de?"cursor-not-allowed":"cursor-pointer hover:bg-row-hover",be&&"bg-row-selected"),onClick:_e=>{_e.target.closest?.("[data-row-checkbox]")||ie(P)},onKeyDown:_e=>{_e.key!=="Enter"&&_e.key!==" "||(_e.preventDefault(),ie(P))},children:[xe,n.jsx("span",{id:ke,className:Z("min-w-0 flex-1 truncate text-body-sm",de?"text-ink-muted":"text-ink"),children:he}),n.jsx("span",{className:"flex shrink-0","data-row-checkbox":"",children:n.jsx(wc,{checked:be,disabled:de,onCheckedChange:()=>ie(P),"aria-labelledby":ke})})]},pe)},se="min-h-0 space-y-0.5 pb-2 [scrollbar-gutter:stable] md:flex-1 md:overflow-y-auto md:pe-2";return n.jsx(Jt,{open:e,onOpenChange:P=>!P&&h(),children:n.jsxs(Vt,{ref:g,tabIndex:-1,className:"h-[min(780px,90dvh)] max-w-2xl gap-0 overflow-hidden p-0",closeDisabled:N,onOpenAutoFocus:P=>{P.preventDefault(),(p.current??g.current)?.focus()},onEscapeKeyDown:P=>{T&&(P.preventDefault(),Q())},children:[n.jsxs(oo,{className:"px-6 pt-6 pb-4 pe-12",children:[n.jsx(Qt,{children:s("ui.teamBridge.members.title")}),n.jsx(Yt,{children:s("ui.teamBridge.members.description")})]}),n.jsxs("div",{className:"grid min-h-0 flex-1 grid-cols-1 overflow-auto md:grid-cols-2 md:overflow-hidden",children:[n.jsxs("section",{className:"flex min-h-64 flex-col gap-3 px-6 md:min-h-0 md:overflow-hidden md:pe-3","aria-labelledby":`${f}-current`,children:[n.jsxs("h3",{id:`${f}-current`,className:"flex h-8 items-center gap-2 text-sm font-medium text-ink",children:[s("ui.teamBridge.members.current"),n.jsx("span",{className:"font-normal text-ink-dim tabular-nums",children:fi(q.length,void 0,y)})]}),n.jsx("div",{className:se,children:q.length===0?n.jsx("p",{className:"px-2 py-4 text-sm text-ink-muted",children:s("ui.teamBridge.members.current_empty")}):R.length===0?n.jsx("p",{className:"px-2 py-4 text-sm text-ink-muted",children:s("ui.teamBridge.members.current_no_matches")}):R.map((P,ne)=>n.jsxs("fieldset",{"aria-labelledby":`${f}-current-${P.key}`,className:"m-0 min-w-0 space-y-0.5 border-0 p-0",children:[n.jsx("p",{id:`${f}-current-${P.key}`,className:Z(ns,ne===0&&"pt-0"),children:P.heading}),P.rows.map(ge)]},P.key))})]}),n.jsxs("section",{className:"flex min-h-80 flex-col gap-3 px-6 py-5 md:min-h-0 md:overflow-hidden md:ps-3 md:py-0","aria-labelledby":x,children:[n.jsxs("div",{className:"flex h-8 items-center justify-between gap-2",children:[n.jsx("h3",{id:x,className:"text-sm font-medium text-ink",children:s("ui.teamBridge.members.invite")}),!o&&n.jsx("span",{className:"text-meta-sm text-ink-dim",children:s("ui.teamBridge.members.read_only")})]}),r==="loading"?n.jsx(qe,{size:"sm",label:s("ui.teamBridge.members.loading")}):r==="error"?n.jsxs("div",{className:"flex flex-col items-start gap-2",children:[n.jsx("p",{className:"text-sm text-ink-muted",children:s("ui.teamBridge.members.load_error")}),u&&n.jsx(V,{type:"button",size:"sm",variant:"outline",onClick:()=>u(t.tenant_id),children:s("ui.teamBridge.list.retry")})]}):n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"relative",children:[n.jsx(dd,{size:15,"aria-hidden":"true",className:"pointer-events-none absolute start-3 top-1/2 -translate-y-1/2 text-ink-dim"}),n.jsx(Ii,{ref:p,value:j,onChange:P=>S(P.target.value),placeholder:s("ui.teamBridge.members.search"),"aria-label":s("ui.teamBridge.members.search"),className:"ps-9",disabled:N})]}),n.jsx("div",{className:se,children:L.length===0?n.jsx("p",{className:"px-2 py-4 text-sm text-ink-muted",children:E.length===0&&!X?s("ui.teamBridge.members.empty"):X&&z.length>0?s("ui.teamBridge.members.no_invitable_matches",{query:j.trim()}):s("ui.teamBridge.members.no_matches")}):M.map((P,ne)=>n.jsxs("fieldset",{className:"m-0 min-w-0 space-y-0.5 border-0 p-0","aria-labelledby":`${x}-${P.key}`,children:[n.jsx("p",{id:`${x}-${P.key}`,className:Z(ns,ne===0&&"pt-0"),children:P.heading}),P.rows.map((le,pe)=>je(le,P.key,pe))]},P.key))})]})]})]}),l&&n.jsx("p",{role:"alert",className:"px-6 pt-2 text-sm text-danger",children:s("ui.teamBridge.members.mutation_error")}),n.jsxs("div",{className:"mt-2 flex items-center justify-between gap-3 rounded-b-lg border-hairline border-t bg-surface px-6 py-4",children:[n.jsx("p",{className:"max-w-sm text-meta text-ink-muted",children:s("ui.teamBridge.members.invitation_note_v3")}),n.jsxs("div",{className:"flex shrink-0 gap-2",children:[n.jsx(V,{type:"button",variant:"ghost",onClick:h,disabled:N,children:s("ui.teamBridge.create.cancel")}),n.jsx(V,{type:"button",variant:"primary",disabled:!o||H.length===0||N,onClick:()=>k(H.map(({recipient:P})=>Pa(P))),children:s("ui.teamBridge.members.invite_count",{count:H.length})})]})]})]})})}function _o(e,t){if(!e)return null;const i=Date.parse(e);return Number.isNaN(i)?null:md(i,{dateStyle:"medium",timeStyle:"short"},t)}const is="";function Va(e){return e.name?.trim()||s("ui.teamBridge.list.untitled")}const su=({open:e,name:t,onConfirm:i,onClose:a})=>(me(),n.jsx(Jt,{open:e,onOpenChange:r=>{r||a()},children:n.jsxs(Vt,{className:"gap-4",children:[n.jsx(Qt,{children:s("ui.teamBridge.archive.confirm.title",{name:t})}),n.jsx(Yt,{className:"text-[13px] text-ink-muted",children:s("ui.teamBridge.archive.confirm.body")}),n.jsxs(lo,{children:[n.jsx(V,{type:"button",variant:"ghost",onClick:a,children:s("ui.teamBridge.create.cancel")}),n.jsx(V,{type:"button",variant:"primary",onClick:i,children:s("ui.teamBridge.archive.confirm.confirm")})]})]})})),ou=({open:e,name:t,pending:i=!1,error:a=null,onConfirm:r,onClose:o})=>{me();const d=c.useId(),[l,m]=c.useState("");c.useEffect(()=>{e&&m("")},[e]);const h=l.trim().replace(/^#/,"")===t,u=s("ui.teamBridge.archive.delete.confirm_label",{name:is}).split(is);return n.jsx(Jt,{open:e,onOpenChange:k=>{!k&&!i&&o()},children:n.jsxs(Vt,{className:"gap-4",closeDisabled:i,children:[n.jsx(Qt,{children:s("ui.teamBridge.archive.delete.title",{name:t})}),n.jsx(Yt,{className:"text-[13px] text-ink-muted",children:s("ui.teamBridge.archive.delete.body")}),n.jsxs("label",{htmlFor:d,className:"flex flex-col gap-1 text-[13px] text-ink-muted",children:[u.map((k,w)=>n.jsxs(c.Fragment,{children:[w>0&&n.jsx("span",{className:"select-all break-all font-medium text-ink",children:t}),k]},`${w}:${k}`)),n.jsx(Ii,{id:d,value:l,onChange:k=>m(k.target.value),autoComplete:"off",autoCapitalize:"off",spellCheck:!1,autoFocus:!0})]}),a&&n.jsx("p",{role:"alert",className:"text-[13px] text-danger",children:a==="gone"?s("ui.teamBridge.archive.delete.not_found"):s("ui.teamBridge.archive.delete.error")}),n.jsxs(lo,{children:[n.jsx(V,{type:"button",variant:"ghost",disabled:i,onClick:o,children:s("ui.teamBridge.create.cancel")}),n.jsx(V,{type:"button",variant:"danger",disabled:!h||i,onClick:r,children:s("ui.teamBridge.archive.delete.confirm")})]})]})})},lu=({conversation:e,canManage:t,unarchiving:i=!1,error:a=!1,onUnarchive:r,onDelete:o})=>{const d=me(),l=e.archived_at?_o(e.archived_at,d):null,m=e.archived_by_label??null,h=m&&l?s("ui.teamBridge.archive.banner.by_on",{name:m,date:l}):l?s("ui.teamBridge.archive.banner.on",{date:l}):s("ui.teamBridge.archive.banner.plain");return n.jsxs("output",{className:"mx-4 mb-2 flex flex-wrap items-center gap-x-3 gap-y-2 rounded-md bg-elevated px-3 py-2",children:[n.jsx(Ht,{size:15,"aria-hidden":"true",className:"shrink-0 text-ink-dim"}),n.jsxs("p",{className:"min-w-0 flex-1 text-[13px] text-ink-muted",children:[h,a&&n.jsx("span",{role:"alert",className:"ms-2 text-danger",children:s("ui.teamBridge.archive.banner.unarchive_error")})]}),t&&n.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[n.jsx(V,{type:"button",size:"sm",variant:"ghost",disabled:i,onClick:r,children:s("ui.teamBridge.archive.banner.unarchive")}),n.jsx(V,{type:"button",size:"sm",variant:"danger",disabled:i,onClick:o,children:s("ui.teamBridge.archive.banner.delete")})]})]})},du=({state:e,conversations:t,organizationName:i,onOpen:a,onRetry:r,hasMore:o=!1,loadingMore:d=!1,loadMoreFailed:l=!1,onLoadMore:m})=>{const h=me();return n.jsxs("section",{"aria-label":s("ui.teamBridge.archive.section.archived"),className:"flex min-h-0 flex-1 flex-col gap-2 overflow-auto p-5",children:[n.jsx("h2",{className:"font-medium text-lg text-ink",children:s("ui.teamBridge.archive.section.archived")}),e==="loading"?n.jsx("div",{className:"py-2",children:n.jsx(qe,{size:"sm",label:s("ui.teamBridge.archive.list.loading")})}):e==="error"?n.jsxs("div",{className:"flex flex-col items-start gap-2",children:[n.jsx("p",{className:"text-[13px] text-ink-muted",children:s("ui.teamBridge.archive.list.error")}),r&&n.jsx(V,{size:"sm",variant:"ghost",onClick:r,children:s("ui.teamBridge.list.retry")})]}):t.length===0?n.jsx("p",{className:"text-ink-muted",children:s("ui.teamBridge.archive.list.empty")}):n.jsx("ul",{className:"flex flex-col",children:t.map(u=>{const k=u.archived_at?_o(u.archived_at,h):null,w=u.archived_by_label??null,y=w&&k?s("ui.teamBridge.archive.list.meta_by_on",{name:w,date:k}):k?s("ui.teamBridge.archive.list.meta_on",{date:k}):null,f=i?.(u)??null;return n.jsx("li",{children:n.jsxs("button",{type:"button",onClick:()=>a(u),"data-conversation-id":u.id,className:"flex min-h-[38px] w-full items-center gap-2 rounded-md px-2 py-1 text-start text-[13px] text-ink-muted transition-colors duration-fast ease-out-quart hover:bg-row-hover hover:text-ink",children:[n.jsx($i,{size:15,"aria-hidden":"true",className:"shrink-0"}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col",children:[n.jsx("span",{className:"truncate",children:Va(u)}),(y||f)&&n.jsx("span",{className:"truncate text-meta-sm text-ink-dim",children:[f,y].filter(Boolean).join(" · ")})]})]})},u.id)})}),e==="ready"&&(o||l)&&m&&n.jsxs("div",{className:"flex flex-col items-start gap-1 pt-1",children:[l&&n.jsx("p",{role:"alert",className:"text-[12px] text-danger",children:s("ui.teamBridge.archive.list.load_more_error")}),n.jsx(V,{size:"sm",variant:"ghost",disabled:d,onClick:m,children:d?s("ui.teamBridge.archive.list.loading"):s("ui.teamBridge.archive.list.load_more")})]})]})},Sa=new Map,Ti=(e,t,i)=>`${e??""}/${t??"draft"}${i?`#${i}`:""}`;function Qa(e){let t=Sa.get(e);return t||(t={seen:new Set,highestSeq:-1,loading:!0},Sa.set(e,t)),t}function Bo(e,t){const i=Qa(e);if(t.length===0){i.loading=!1;return}for(const a of t)i.seen.add(a.id),a.seq!==void 0&&(i.highestSeq=Math.max(i.highestSeq,a.seq));i.loading=!1}function cu(e,t,{commit:i=!0}={}){const a=Qa(e),r=new Set;if(!a.loading)for(const o of t){const d=o.seq===void 0||o.seq>a.highestSeq;!a.seen.has(o.id)&&d&&r.add(o.id)}return i&&Bo(e,t),r}function mu(e){Qa(e).loading=!1}function No(e){const t=Sa.get(e);t&&(t.loading=!0)}const uu=4;function hu(e){const t=e&&typeof e=="object"?e.status?.attachments:void 0,i=ul.safeParse(t);if(!i.success||!i.data.enabled)return null;const a=new Set(i.data.mime_types);return!a.has("image/png")||!a.has("image/jpeg")?null:i.data}function as(e){return e?Math.min(e.max_count,uu):0}function gu(e){const t=a=>e[a];if(e.length>=8&&t(0)===137&&t(1)===80&&t(2)===78&&t(3)===71)return"image/png";if(e.length>=3&&t(0)===255&&t(1)===216&&t(2)===255)return"image/jpeg";if(e.length>=6&&t(0)===71&&t(1)===73&&t(2)===70)return"image/gif";const i=(a,r)=>String.fromCharCode(...e.subarray(a,r));if(e.length>=12&&i(0,4)==="RIFF"&&i(8,12)==="WEBP")return"image/webp";if(e.length>=12&&i(4,8)==="ftyp"){const a=i(8,12);if(["heic","heix","hevc","heim","heis","mif1","msf1"].includes(a))return"image/heic"}return null}function pu(e,t){if(t==="account_mismatch")return"account_mismatch";switch(e){case 413:return"too_large";case 415:return"unsupported";case 422:return"invalid";case 429:return"rate_limited";case 400:return"limit";case 409:return"failed";case 404:return"expired";case 401:return"signed_out";case null:case void 0:case 502:case 503:return"offline";default:return"failed"}}function xi(e){return e?.code==="attachment_not_found"}const ku=/client_ref/i;function rs(e){const t=e?.code;if(t==="client_ref_conflict"||t==="conflict_client_ref")return!0;const i=e?.message;return typeof i=="string"&&ku.test(i)}async function ma(e,t,i){return e?.stageHeld?e.stageHeld(t,i):[...e?.ids??[]]}class nt extends Error{reason;constructor(t){super(`attachment ${t}`),this.name="AttachmentPrepareError",this.reason=t}}function fu(e){let t="";for(let a=0;a<e.length;a+=32768)t+=String.fromCharCode(...e.subarray(a,a+32768));return btoa(t)}function wu(e){const t=atob(e),i=new Uint8Array(t.length);for(let a=0;a<t.length;a+=1)i[a]=t.charCodeAt(a);return i}async function bu(e,t){if(typeof createImageBitmap!="function"||typeof OffscreenCanvas!="function")throw new nt("unsupported");let i;try{i=await createImageBitmap(new Blob([e],{type:t}))}catch{throw new nt("unsupported")}try{const a=new OffscreenCanvas(i.width,i.height),r=a.getContext("2d");if(!r)throw new nt("unsupported");r.drawImage(i,0,0);const o=await a.convertToBlob({type:"image/png"});return new Uint8Array(await o.arrayBuffer())}finally{i.close()}}async function yu(e,t){if(typeof createImageBitmap!="function")return{width:0,height:0};try{const i=await createImageBitmap(new Blob([e],{type:t})),a={width:i.width,height:i.height};return i.close(),a}catch{return{width:0,height:0}}}async function So(e,t){let i=new Uint8Array(await e.arrayBuffer());const a=gu(i);if(!a)throw new nt("unsupported");let r;a==="image/png"||a==="image/jpeg"?r=a:(i=await bu(i,a),r="image/png");const o=await ud({data_b64:fu(i),mime_type:r},gd,hd,{edgeIsHard:!0});if(o.mime_type!=="image/png"&&o.mime_type!=="image/jpeg")throw new nt("unsupported");const d=wu(o.data_b64);if(d.byteLength>t)throw new nt("too_large");const l=await yu(d,o.mime_type);return{bytes:d,mime:o.mime_type,...l}}function Mi(e){if(!e)return[];const t=[];if(e.items&&e.items.length>0){for(const i of Array.from(e.items)){if(i.kind!=="file")continue;const a=i.getAsFile();a&&ss(a)&&t.push(a)}return t}for(const i of Array.from(e.files??[]))ss(i)&&t.push(i);return t}function ss(e){return e.type===""||e.type.startsWith("image/")}function xu(e){return e.state===void 0||e.state==="bound"?e.mime==="image/png"||e.mime==="image/jpeg"?"fetch":"unavailable":e.state==="expired"?"expired":"unavailable"}function vu(e,t){return{id:e.id,conversationId:t,mime:e.mime,size:e.size,width:e.width,height:e.height,...e.expires_at?{expiresAt:e.expires_at}:{}}}function ju(e,t=Date.now()){if(!e.expiresAt)return!1;const i=Date.parse(e.expiresAt);return Number.isFinite(i)&&i<=t}const _u=16,Zn=new Map,Co=(e,t)=>`${e}\0${t}`;function Bu(e,t,i){if(!e)return;const a=Co(e,t);for(Zn.delete(a),Zn.set(a,i);Zn.size>_u;){const r=Zn.keys().next().value;if(r===void 0)break;Zn.delete(r)}}function Io(e,t){return e?Zn.get(Co(e,t))??null:null}function Nu(){Zn.clear()}Aa(Nu);const Eo=({recipients:e,candidates:t,onChange:i,profileFor:a,autoFocus:r=!0})=>{me();const o=c.useId(),d=c.useRef(null),[l,m]=c.useState(""),[h,u]=c.useState(!1),[k,w]=c.useState(0);c.useEffect(()=>{document.getElementById(`${o}-${k}`)?.scrollIntoView({block:"nearest"})},[k,o]);const y=c.useMemo(()=>new Set(e.map(Ve)),[e]),f=c.useMemo(()=>{const g=l.trim().toLocaleLowerCase();return t.filter(j=>!y.has(Ve(j))&&(g===""||j.label.toLocaleLowerCase().includes(g)))},[t,y,l]),x=g=>{i([...e,g]),m(""),w(0),d.current?.focus()},p=h&&f.length>0;return n.jsxs("div",{className:"relative shrink-0 px-5 pt-3 pb-2",children:[n.jsxs("div",{className:"flex min-h-9 flex-wrap items-center gap-1.5 rounded-lg bg-elevated px-2 py-1",children:[n.jsx("span",{className:"pe-1 text-[13px] text-ink-dim",children:s("ui.teamBridge.compose.to")}),e.map(g=>{const j=a?.(g);return n.jsxs("span",{className:"flex h-6 items-center gap-1 rounded-md bg-accent-wash pe-0.5 ps-1.5 text-[13px] text-ink",children:[j?n.jsx(Dn,{member:j,label:g.label,kind:g.kind,onMessage:()=>{},canMessage:!1,children:n.jsxs("button",{type:"button",className:"flex min-w-0 items-center gap-1 rounded-sm",children:[n.jsx(yn,{member:j,kind:g.kind,endpointId:g.kind==="agent"?g.endpointId:void 0,label:g.label,size:20,className:"rounded-[5px] text-[10px]"}),g.label]})}):n.jsxs(n.Fragment,{children:[g.kind==="agent"&&n.jsx(Bt,{size:12,"aria-hidden":"true",className:"text-accent"}),g.label]}),n.jsx("button",{type:"button","aria-label":s("ui.teamBridge.compose.remove",{name:g.label}),onClick:()=>i(e.filter(S=>Ve(S)!==Ve(g))),className:"flex size-5 items-center justify-center rounded-sm text-ink-dim hover:bg-row-hover hover:text-ink",children:n.jsx(St,{size:12})})]},Ve(g))}),n.jsx("input",{ref:d,autoFocus:r,role:"combobox","aria-expanded":p,"aria-controls":o,"aria-autocomplete":"list","aria-activedescendant":p?`${o}-${Math.min(k,f.length-1)}`:void 0,"aria-label":s("ui.teamBridge.compose.label"),placeholder:e.length===0?s("ui.teamBridge.compose.placeholder"):void 0,value:l,onFocus:()=>u(!0),onBlur:()=>u(!1),onChange:g=>{m(g.target.value),w(0),u(!0)},onKeyDown:g=>{if(g.key==="ArrowDown")g.preventDefault(),u(!0),w(j=>Math.max(0,Math.min(j+1,f.length-1)));else if(g.key==="ArrowUp")g.preventDefault(),w(j=>Math.max(j-1,0));else if(g.key==="Enter"&&p){g.preventDefault();const j=f[Math.min(k,f.length-1)];j&&x(j)}else g.key==="Escape"?u(!1):g.key==="Backspace"&&l===""&&e.length>0&&i(e.slice(0,-1))},className:"h-7 min-w-32 flex-1 bg-transparent text-[13px] text-ink outline-none placeholder:text-ink-dim"})]}),p&&n.jsx("div",{id:o,tabIndex:-1,role:"listbox","aria-label":s("ui.teamBridge.compose.label"),className:"absolute top-full right-5 left-5 z-20 mt-1 max-h-64 overflow-y-auto rounded-lg bg-elevated p-1 shadow-lg",children:f.map((g,j)=>{const S=a?.(g);return n.jsxs("button",{id:`${o}-${j}`,type:"button",tabIndex:-1,role:"option","aria-selected":j===k,onMouseDown:F=>F.preventDefault(),onClick:()=>x(g),onMouseEnter:()=>w(j),className:Z("flex h-[30px] w-full cursor-default items-center gap-2 rounded-md px-2 text-start text-[13px]",j===k?"bg-row-hover text-ink":"text-ink-muted"),children:[S?n.jsx(yn,{member:S,kind:g.kind,endpointId:g.kind==="agent"?g.endpointId:void 0,label:g.label,size:20,className:"rounded-[5px] text-[10px]"}):n.jsx("span",{"aria-hidden":"true",className:Z("flex size-5 shrink-0 items-center justify-center overflow-hidden rounded-[5px] text-[10px] font-medium",g.kind==="agent"?"bg-media-surface text-accent":"bg-media-surface text-ink-muted"),children:g.kind==="agent"?n.jsx(Bt,{size:12}):g.label.trim().charAt(0).toUpperCase()||"?"}),n.jsx("span",{className:"min-w-0 flex-1 truncate",children:g.label})]},Ve(g))})})]})},Ro=250,Su=200;function Cu(e){const{id:t,canRecord:i,onTranscript:a}=e,[r,o]=c.useState(!1),[d,l]=c.useState(!1),[m,h]=c.useState(!1),[u,k]=c.useState(null),[w,y]=c.useState(0),f=c.useRef(null),x=c.useRef(null),p=c.useRef([]),g=c.useRef(null),j=c.useRef(null),S=c.useRef(a);c.useEffect(()=>{S.current=a});const F=c.useCallback(async q=>{j.current?.abort();const z=new AbortController;j.current=z,g.current=q;try{h(!0);const X=await pd.createTranscriptionWithRetry(kd.baseUrl,{file:new File([q],"recording.webm",{type:"audio/webm"})},{signal:z.signal,onRetry:({attempt:v,total:M,delayMs:R,error:H})=>{console.warn(`Transcription attempt ${v}/${M} failed with a transient upstream fault; retrying in ${R} ms.`,H)}});X.result?.text?S.current(X.result.text):fd(wd()),g.current=null,k(null)}catch(X){if(z.signal.aborted)return;console.error("Error transcribing audio:",X),bd(X)?k(yd(X)):(k(null),g.current=null,wi(xd(X)))}finally{j.current===z&&h(!1)}},[]),B=c.useCallback(q=>{o(!1);const z=x.current;if(!z)return;const X=f.current?.startedAt??null,v=X===null?Number.POSITIVE_INFINITY:performance.now()-X;if(f.current=null,z.state==="inactive"){l(!1),y(0);return}(q==="abort"||v<Ro)&&(z.onstop=()=>{for(const M of z.stream?.getTracks()??[])M.stop();p.current=[]}),z.stop(),l(!1),y(0)},[]),T=c.useCallback((q="release")=>{const z=f.current;if(z){if(z.startedAt===null){f.current=null,o(!1);return}B(q)}},[B]),I=c.useCallback(async()=>{if(!i||f.current||m)return;if(!navigator?.mediaDevices?.getUserMedia){console.error("This runtime exposes no MediaRecorder"),wi(s("ui.canvas.inline_edit.dictation_is_not_available_on_this_device"));return}const q={startedAt:null};f.current=q,o(!0);try{const z=await navigator.mediaDevices.getUserMedia({audio:!0});if(f.current!==q){for(const v of z.getTracks())v.stop();return}const X=new MediaRecorder(z);x.current=X,p.current=[],X.ondataavailable=v=>{v.data.size>0&&p.current.push(v.data)},X.onstop=()=>{const v=new Blob(p.current,{type:"audio/webm"});p.current=[];for(const M of z.getTracks())M.stop();k(null),F(v)},X.start(),q.startedAt=performance.now(),o(!1),l(!0),y(0)}catch(z){if(f.current!==q)return;f.current=null,o(!1),console.error("Error accessing microphone:",z),wi(s("ui.canvas.inline_edit.error_accessing_microphone_please_ensure_microphone_permissions_are_gran"))}},[i,m,F]),K=c.useCallback(()=>{d&&B("release")},[d,B]),E=c.useCallback(()=>{d&&B("abort")},[d,B]),L=c.useCallback(()=>{const q=g.current;!q||m||(k(null),F(q))},[m,F]);return vd(t,jd.MESSAGE_INPUT,{start:I,stop:T},()=>!!(i&&!d&&!m)),c.useEffect(()=>(Rr(t,d||r),()=>Rr(t,!1)),[t,d,r]),c.useEffect(()=>{if(!d)return;const q=performance.now(),z=window.setInterval(()=>y(performance.now()-q),Su);return()=>window.clearInterval(z)},[d]),c.useEffect(()=>{if(!d&&!r)return;const q=z=>{if(!(z.defaultPrevented||z.isComposing||z.keyCode===229)){if(d&&z.key==="Enter"){z.preventDefault(),K();return}z.key==="Escape"&&(z.preventDefault(),d?E():T("abort"))}};return window.addEventListener("keydown",q),()=>window.removeEventListener("keydown",q)},[d,r,K,E,T]),c.useEffect(()=>()=>{f.current=null;const q=x.current;q&&q.state!=="inactive"&&(q.onstop=()=>{for(const z of q.stream?.getTracks()??[])z.stop();p.current=[]},q.stop()),j.current?.abort()},[]),{isRecording:d,isPreparing:r,isTranscribing:m,failure:u,elapsedMs:w,start:I,stop:T,confirm:K,cancel:E,retry:L}}const Iu=20,os=6*Iu+16,Eu={canUseRadientSpeech:!1,speechBlock:"could-not-check"},ls=[],Ru="team-bridge-composer",Tu=e=>{const t=Math.floor(e/1e3);return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`},Mu=e=>new Promise(t=>{const i=new FileReader;i.onload=()=>typeof i.result=="string"?t(i.result):t(null),i.onerror=()=>t(null),i.readAsDataURL(e)}),Au=({conversationId:e,placeholder:t,disabled:i=!1,sending:a=!1,sendDisabled:r=!1,canAttach:o=!1,trailing:d,hint:l,disabledReasonId:m,recordingProbe:h,onSendMessage:u})=>{me();const k=c.useId(),w=on(_=>_.inputByConversation[e]?.attachments),y=on(_=>_.removeAttachment),f=w??ls,x=c.useRef(()=>{}),{inputValue:p,setInputValue:g,appendTranscriptText:j,handleKeyDown:S,handleSubmit:F,textareaRef:B,sendInFlight:T}=_d({conversationId:e,transcriptless:!0,onSubmit:_=>(x.current(_),u(_,(on.getState().inputByConversation[e]?.attachments??ls).map(ie=>ie.path)))}),I=yo({draftKey:e,text:p,setText:g,fieldRef:B});x.current=I.stage,c.useLayoutEffect(()=>{const _=B.current;if(!_)return;const ie=()=>{const P=_.scrollTop;_.style.height="auto";const ne=Math.ceil(_.scrollHeight);_.style.height=`${Math.min(ne,os)}px`,_.style.overflowY=ne>os?"auto":"hidden",_.scrollTop!==P&&(_.scrollTop=P)};if(ie(),typeof ResizeObserver>"u")return;let ge=!0,je=_.getBoundingClientRect().width;const se=new ResizeObserver(()=>{if(!ge)return;const P=_.getBoundingClientRect().width;P!==je&&(je=P,ie())});return se.observe(_),()=>{ge=!1,se.disconnect()}},[p]);const K={onPaste:_=>{const ie=Mi(_.clipboardData);ie.length!==0&&(Array.from(_.clipboardData.types).includes("text/plain")||_.preventDefault(),E(ie))},onDragOver:_=>{Array.from(_.dataTransfer.types).includes("Files")&&_.preventDefault()},onDrop:_=>{const ie=Mi(_.dataTransfer);ie.length!==0&&(_.preventDefault(),E(ie))}},E=c.useCallback(async _=>{if(i)return;const ie=on.getState();for(const ge of _){const je=window.api?.getPathForFile?.(ge)??"";if(je){ie.addAttachment(e,{id:qr(),path:hc(je)});continue}const se=await Mu(ge);se&&ie.addAttachment(e,{id:qr(),path:se})}},[e,i]),L=c.useRef(null),q=p.trim().length>0||f.length>0,z=i,X=a||T,{canUseRadientSpeech:v,speechBlock:M}=h??Eu,R=v,H=Bd("recording",M),N=Cu({id:Ru,canRecord:!z&&R,onTranscript:_=>j(_)}),U=Nd(Sd()),$=R?U===null?s("ui.chat.composer.start_recording"):s("ui.chat.composer.start_recording_hint",{shortcut:U,pushToTalk:Cd().label}):H,Q=c.useRef(0),Y=Ro;return n.jsxs("div",{className:"flex w-full flex-col gap-1.5",children:[n.jsx(bo,{mentions:I}),f.length>0&&n.jsx("div",{className:"max-h-[240px] shrink-0 overflow-y-auto",children:n.jsx(Id,{attachments:f,onRemoveAttachment:_=>y(e,_),disabled:z})}),N.failure!==null&&n.jsxs("div",{"data-dictation-failure":"",className:"flex items-center gap-2 px-2 [min-height:1.5rem]",children:[n.jsx(co,{"aria-hidden":"true",className:"size-3.5 shrink-0 text-danger"}),n.jsx("span",{className:"min-w-0 flex-1 text-body-sm text-ink-muted",children:N.failure}),n.jsx(V,{type:"button",variant:"link",size:"sm",className:"h-7 shrink-0 px-2 underline",onClick:N.retry,children:s("ui.common.actions.retry")})]}),n.jsxs("div",{...K,"data-composer-bar":"",className:Z("group flex w-full flex-col rounded-md bg-elevated transition-colors duration-fast ease-out-quart","has-[textarea:focus-visible]:outline-2 has-[textarea:focus-visible]:outline-accent has-[textarea:focus-visible]:outline-offset-2 has-[textarea:focus-visible]:outline-solid"),children:[n.jsx(xo,{mentions:I,fieldRef:B,text:p,children:n.jsx("textarea",{ref:B,id:k,rows:1,value:p,disabled:z,"aria-label":t,"aria-describedby":m,placeholder:t,onChange:_=>g(_.target.value),...N.isRecording||N.isPreparing?{onKeyDown:()=>{}}:I.bindField({onKeyDown:S}),className:"relative block min-h-9 w-full resize-none bg-transparent px-3 py-2 text-[14px] leading-5 text-ink outline-none placeholder:text-ink-dim disabled:cursor-not-allowed disabled:text-ink-dim"})}),n.jsx("div",{"data-composer-controls":"",className:"flex h-9 min-w-0 items-center gap-1 px-2 pb-2",children:N.isRecording||N.isPreparing?n.jsxs(n.Fragment,{children:[n.jsxs("span",{"data-dictation-strip":"","aria-live":"polite",className:"flex min-w-0 flex-1 items-center gap-2 ps-1.5",children:[n.jsx("span",{"aria-hidden":"true",className:Z("size-2 shrink-0 rounded-full",N.isPreparing?"bg-accent":"animate-pulse bg-danger")}),n.jsx("span",{className:"shrink-0 font-medium text-meta-sm text-ink",children:N.isPreparing?s("ui.chat.composer.starting_recording"):s("ui.chat.composer.placeholder.recording")}),N.isRecording&&n.jsx("span",{"data-dictation-elapsed":"",className:"shrink-0 font-mono text-meta-sm tabular-nums text-ink-muted",children:Tu(N.elapsedMs)})]}),N.isRecording&&n.jsx(V,{variant:"ghost",size:"icon-sm",className:"shrink-0 text-success hover:bg-success-wash hover:text-success","aria-label":s("ui.chat.composer.confirm_recording"),title:s("ui.chat.composer.confirm_recording_hint"),onClick:N.confirm,children:n.jsx(bc,{"aria-hidden":"true"})}),n.jsx(V,{variant:"ghost",size:"icon-sm",className:"shrink-0 text-danger hover:bg-danger-wash hover:text-danger","aria-label":s("ui.chat.composer.cancel_recording"),title:s("ui.chat.composer.cancel_recording_hint"),onClick:N.isRecording?N.cancel:()=>N.stop("abort"),children:n.jsx(St,{"aria-hidden":"true"})})]}):N.isTranscribing?n.jsxs("span",{"data-dictation-transcribing":"","aria-live":"polite",className:"flex min-w-0 flex-1 items-center gap-2 ps-1.5",children:[n.jsx(qe,{size:"sm"}),n.jsx("span",{className:"truncate font-medium text-body-sm text-ink-muted",children:s("ui.chat.composer.processing_audio")})]}):n.jsxs(n.Fragment,{children:[n.jsx("span",{className:Z("min-w-0 flex-1 truncate ps-1.5 text-meta-sm text-ink-dim opacity-0 transition-opacity duration-fast",!q&&"group-has-[textarea:focus]:opacity-100"),"aria-hidden":q,children:l??s("ui.teamBridge.composer.hint")}),n.jsx(V,{variant:"ghost",size:"icon-sm",className:"shrink-0 text-ink-dim","aria-label":s("ui.chat.composer.start_recording"),"aria-busy":N.isPreparing||void 0,title:$,disabled:z||!R,onPointerDown:_=>{if(_.button===0){try{_.currentTarget.setPointerCapture(_.pointerId)}catch{}Q.current=performance.now(),N.start()}},onPointerUp:_=>{_.currentTarget.hasPointerCapture?.(_.pointerId)===!0&&(_.currentTarget.releasePointerCapture?.(_.pointerId),!(performance.now()-Q.current<Y)&&N.confirm())},onClick:_=>{_.detail===0&&N.start()},children:n.jsx(Ed,{"aria-hidden":"true"})}),o&&n.jsxs(n.Fragment,{children:[n.jsx(V,{variant:"ghost",size:"icon-sm","aria-label":s("ui.teamBridge.attachments.add"),title:s("ui.teamBridge.attachments.add"),disabled:z,onClick:()=>L.current?.click(),children:n.jsx(mo,{size:16,"aria-hidden":"true"})}),n.jsx("input",{ref:L,type:"file",accept:"image/png,image/jpeg,image/webp,image/gif,image/heic,image/heif",multiple:!0,hidden:!0,tabIndex:-1,onChange:_=>{E(Array.from(_.target.files??[])),_.target.value=""}})]}),d,n.jsx(V,{size:"icon-sm",variant:"primary",className:"shrink-0 rounded-full",disabled:!q||z||r||X,"aria-label":s("ui.teamBridge.composer.send"),onClick:()=>void F(),children:X?n.jsx(qe,{size:"sm"}):n.jsx(qs,{size:16})})]})})]})]})},zu=({conversation:e,onNotifyChange:t,onArchive:i,onAddMembers:a,ownAgent:r,onAgentNotifyChange:o,defaultOpen:d=!1})=>{me();const l=Rd(e),m=l==="mute";return n.jsxs(Xt,{defaultOpen:d,children:[n.jsx(Zt,{asChild:!0,children:n.jsx(V,{type:"button",size:"icon-sm",variant:"ghost","aria-label":s("ui.teamBridge.menu.label"),title:s("ui.teamBridge.menu.label"),children:n.jsx(Pi,{size:16,"aria-hidden":"true"})})}),n.jsxs(ei,{align:"end",className:"w-60",children:[a&&n.jsxs(n.Fragment,{children:[n.jsxs(et,{onSelect:a,children:[n.jsx($t,{size:16,"aria-hidden":"true"}),n.jsx("span",{children:s("ui.teamBridge.members.menu")})]}),n.jsx(Lt,{})]}),n.jsxs(et,{onSelect:()=>t(Td(l)),children:[m?n.jsx(hl,{size:16,"aria-hidden":"true"}):n.jsx(uo,{size:16,"aria-hidden":"true"}),n.jsx("span",{children:m?s("ui.teamBridge.menu.unmute"):s("ui.teamBridge.menu.mute")})]}),n.jsx(Lt,{}),n.jsx(xt,{children:s("ui.teamBridge.notify.label")}),n.jsx(ya,{value:l,"aria-label":s("ui.teamBridge.notify.label"),onValueChange:h=>t(Tr(h)),children:Md.map(h=>n.jsx(Ei,{value:h.value,children:n.jsx("span",{className:"min-w-0 flex-1 truncate",children:s(h.labelKey)})},h.value))}),r&&o&&n.jsxs(n.Fragment,{children:[n.jsx(Lt,{}),n.jsx(xt,{children:s("ui.teamBridge.agentNotify.label")}),n.jsx(ya,{value:r.notify??"","aria-label":s("ui.teamBridge.agentNotify.label"),onValueChange:h=>o(Tr(h)),children:Ad.map(h=>n.jsx(Ei,{value:h.value,children:n.jsx("span",{className:"min-w-0 flex-1 truncate",children:s(h.labelKey)})},h.value))})]}),i&&n.jsxs(n.Fragment,{children:[n.jsx(Lt,{}),n.jsxs(et,{onSelect:i,children:[n.jsx(Ht,{size:16,"aria-hidden":"true"}),n.jsx("span",{children:s("ui.teamBridge.archive.menu.archive")})]})]})]})]})},Du=/\s+/g,Pu=/^#+/;function Ou(e){return e.trim().toLowerCase().replace(Du,"-").replace(Pu,"")}const qu=({open:e,onClose:t,candidates:i,onCreate:a,pending:r=!1,error:o})=>{me();const d=c.useId(),l=c.useId(),[m,h]=c.useState(""),[u,k]=c.useState(""),[w,y]=c.useState([]);c.useEffect(()=>{e&&(h(""),k(""),y([]))},[e]);const f=Ou(m),x=f.length>0;return n.jsx(Jt,{open:e,onOpenChange:p=>{p||t()},children:n.jsxs(Vt,{className:"gap-4",children:[n.jsx(Qt,{children:s("ui.teamBridge.create.title")}),n.jsx(Yt,{className:"text-[13px] text-ink-muted",children:s("ui.teamBridge.create.channel_description")}),n.jsxs("label",{htmlFor:d,className:"flex flex-col gap-1 text-[13px] text-ink-muted",children:[s("ui.teamBridge.create.name"),n.jsx(Ii,{id:d,value:m,onChange:p=>h(p.target.value),placeholder:s("ui.teamBridge.create.name_placeholder"),maxLength:80,autoFocus:!0})]}),n.jsxs("label",{htmlFor:l,className:"flex flex-col gap-1 text-[13px] text-ink-muted",children:[s("ui.teamBridge.create.topic"),n.jsx(Ii,{id:l,value:u,onChange:p=>k(p.target.value),maxLength:512})]}),n.jsxs("div",{className:"flex flex-col gap-1 text-[13px] text-ink-muted",children:[n.jsx("span",{children:s("ui.teamBridge.create.members")}),n.jsx("div",{className:"relative -mx-5",children:n.jsx(Eo,{recipients:w,candidates:i,onChange:y,autoFocus:!1})})]}),o&&n.jsx("p",{role:"alert",className:"text-[13px] text-danger",children:o}),n.jsxs("div",{className:"flex justify-end gap-2",children:[n.jsx(V,{type:"button",variant:"ghost",onClick:t,children:s("ui.teamBridge.create.cancel")}),n.jsx(V,{type:"button",variant:"primary",disabled:!x||r,onClick:()=>a({kind:"channel",name:f,...u.trim()?{topic:u.trim()}:{},visibility:"tenant",agentCapable:!0,members:w.map(Pa)}),children:s("ui.teamBridge.create.confirm")})]})]})})},Lu=({status:e,api:t=gl,defaultExpanded:i})=>{const a=at(),r=e?.tenant_id??null,o=e?.account_id??null,d=e?.surface_state==="C"&&e.default_on?.notice_pending===!0,l=[...zn.all,"default-on-settings",o,r],h=Ha({queryKey:l,queryFn:()=>t.settings(r??void 0),enabled:d&&r!==null,staleTime:6e4}).data??null,u=Ec(e??null,h,o),k=Rc({api:t,accountId:o,tenantId:h?.settings.tenant_id??r,markerTenantId:r,onSettings:w=>a.setQueryData(l,w),onChanged:async()=>{pl.invalidateStatus(),await a.invalidateQueries({queryKey:zn.status})}});return!e||!u?null:n.jsx("div",{className:"shrink-0 px-4 py-1",children:n.jsx(Tc,{consentText:gc(e,h),pending:k.pending,failure:k.failure,onTurnOff:()=>void k.turnOff(),onDismiss:()=>void k.dismiss(),defaultExpanded:i})})},Fu=O.discriminatedUnion("kind",[O.object({kind:O.literal("human"),accountId:O.string().min(1),label:O.string()}),O.object({kind:O.literal("agent"),accountId:O.string().min(1),endpointId:O.string().min(1),label:O.string()})]),$u=O.object({target:O.discriminatedUnion("type",[O.object({type:O.literal("conversation"),id:O.string().min(1)}),O.object({type:O.literal("person"),accountId:O.string().min(1)}),O.object({type:O.literal("chief"),accountId:O.string().min(1)}),O.object({type:O.literal("compose"),recipients:O.array(Fu)})]),body:O.string(),clientRef:O.string().min(1),conversationId:O.string().min(1).optional(),sendAt:O.string().datetime({offset:!0}).optional(),createUncertain:O.boolean().optional(),attachments:O.array(O.object({id:O.string().regex(/^[a-zA-Z0-9_-]{1,128}$/),conversationId:O.string().min(1).max(128),mime:O.enum(["image/png","image/jpeg"]),size:O.number().int().nonnegative(),width:O.number().int().nonnegative(),height:O.number().int().nonnegative(),expiresAt:O.string().max(64).optional()}).strict()).max(4).optional()});function ln(e){switch(e.type){case"conversation":return`conversation:${e.id}`;case"person":return`person:${e.accountId}`;case"chief":return`chief:${e.accountId}`;case"compose":return"compose"}}function Ca(e,t){try{const i=JSON.parse(e.getItem(t)??"{}");if(!i||typeof i!="object"||Array.isArray(i))return{};const a={};for(const[r,o]of Object.entries(i)){const d=$u.safeParse(o);d.success&&ln(d.data.target)===r&&(a[r]=d.data)}return a}catch{return{}}}function Ku(e,t){const i=new Map,a=`${Ls}${encodeURIComponent(t)}:`;try{for(const r of Object.keys(e))r.startsWith(a)&&i.set(r,Ca(e,r))}catch{}return i}function Uu(e){return decodeURIComponent(e.slice(e.lastIndexOf(":")+1))}const Hu=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})$/;function ds(e,t=Date.now()){const i=new Date(e),a=i.getTime(),r=Hu.exec(e);return!r||i.getFullYear()!==Number(r[1])||i.getMonth()+1!==Number(r[2])||i.getDate()!==Number(r[3])||i.getHours()!==Number(r[4])||i.getMinutes()!==Number(r[5])?null:Number.isFinite(a)&&a>=t+6e4&&a<=t+120*864e5?new Date(a).toISOString():null}function Gu({reasonId:e,busy:t,onRetry:i,onDiscard:a}){return n.jsxs("div",{className:"flex min-w-0 flex-col gap-2 px-3.5 pt-3 text-sm text-ink-muted",children:[n.jsx("p",{id:e,children:s("ui.teamBridge.schedule.held")}),n.jsxs("div",{className:"flex min-w-0 flex-col items-stretch gap-1",children:[i&&n.jsx(V,{variant:"primary",className:"h-auto min-h-8 w-full max-w-full justify-start whitespace-normal py-1.5 text-left [overflow-wrap:anywhere]",disabled:t,onClick:i,children:s("ui.teamBridge.schedule.retry")}),n.jsx(V,{variant:"ghost",className:"h-auto min-h-8 w-full max-w-full justify-start whitespace-normal py-1.5 text-left text-danger hover:text-danger [overflow-wrap:anywhere]",disabled:t,onClick:a,children:s("ui.teamBridge.schedule.discard_attempt")})]})]})}const Wu={agent_unavailable:()=>s("ui.teamBridge.invitations.failed.agent_unavailable"),already_answered:()=>s("ui.teamBridge.invitations.failed.already_answered"),gone:()=>s("ui.teamBridge.invitations.failed.gone"),outdated:()=>s("ui.teamBridge.invitations.failed.outdated"),runtime_outdated:()=>s("ui.teamBridge.invitations.failed.runtime_outdated"),not_available:()=>s("ui.teamBridge.invitations.failed.not_available"),sign_in:()=>s("ui.teamBridge.invitations.failed.sign_in"),unreachable:()=>s("ui.teamBridge.invitations.failed.unreachable"),unconfirmed:()=>s("ui.teamBridge.invitations.failed.unconfirmed")},Ju=new Set(["already_answered","gone","outdated","runtime_outdated"]);function cs(e){return Wu[e]()}function Vu(e){return!Ju.has(e)}function Qu(e){return e?e.self?e.role==="added"?s("ui.teamBridge.invitations.added_by_you"):s("ui.teamBridge.invitations.created_by_you"):e.role==="added"?s("ui.teamBridge.invitations.added_by",{name:e.name}):s("ui.teamBridge.invitations.created_by",{name:e.name}):null}function Yu({invitations:e,listState:t,onRetry:i,readOnly:a=!1,organizationNames:r}){const o=kl(),[d,l]=c.useState({}),m=c.useRef([]),h=new Set(Object.entries(d).filter(([,k])=>k.phase!=="idle").map(([k])=>k));m.current=fl(m.current,e,h);const u=(k,w)=>{l(y=>({...y,[k.key]:{phase:"pending",decision:w}})),o.mutateAsync({conversationId:k.conversationId,tenantId:k.tenantId,decision:w}).then(()=>l(y=>({...y,[k.key]:{phase:"done",decision:w}})),y=>l(f=>({...f,[k.key]:{phase:"failed",kind:wl(y)}})))};return n.jsx(Xu,{invitations:m.current,rowStates:d,listState:t,onRetry:i,readOnly:a,organizationNames:r,onAnswer:u})}function Xu({invitations:e,rowStates:t={},listState:i,onRetry:a,readOnly:r=!1,organizationNames:o={},onAnswer:d}){return me(),n.jsxs("section",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-auto p-5","aria-label":s("ui.teamBridge.invitations.title"),children:[n.jsx("h2",{className:"text-lg font-medium text-ink",children:s("ui.teamBridge.invitations.title")}),n.jsx("p",{className:"max-w-prose text-sm text-ink-muted",children:s(bl)}),r&&e.length>0&&n.jsx("p",{className:"max-w-prose text-sm text-ink-muted",children:s("ui.teamBridge.invitations.read_only")}),i==="loading"&&e.length===0?n.jsx(qe,{size:"sm",label:s("ui.teamBridge.invitations.loading")}):i==="error"&&e.length===0?n.jsxs("div",{role:"alert",className:"flex flex-col items-start gap-2",children:[n.jsx("p",{className:"text-sm text-ink-muted",children:s("ui.teamBridge.invitations.load_failed")}),a&&n.jsx(V,{size:"sm",variant:"ghost",onClick:a,children:s("ui.teamBridge.list.retry")})]}):e.length===0?n.jsx("p",{className:"text-sm text-ink-muted",children:s("ui.teamBridge.invitations.empty")}):n.jsx("ul",{className:"flex flex-col gap-2",children:e.map(l=>n.jsx(Zu,{invitation:l,state:t[l.key]??{phase:"idle"},readOnly:r,organizationName:o[l.tenantId],onAnswer:m=>d(l,m)},l.key))})]})}function Zu({invitation:e,state:t,readOnly:i,organizationName:a,onAnswer:r}){const o=e.conversationKind==="group"?Nt:$i,d=Qu(e.inviter),l=e.agentName,m=t.phase==="pending",h=t.phase==="failed"?t.kind:null,u=t.phase==="idle"||m||h!==null&&Vu(h);return n.jsxs("li",{className:"flex flex-col gap-1.5 rounded-lg bg-elevated p-3 text-ink",children:[n.jsxs("p",{className:"flex min-w-0 items-center gap-2 text-sm font-medium",children:[n.jsx(o,{size:14,"aria-hidden":"true",className:"shrink-0 text-ink-dim"}),n.jsx("span",{className:"truncate",children:e.conversationName??s("ui.teamBridge.list.untitled")}),a?.trim()&&n.jsx("span",{className:"truncate font-normal text-meta-sm text-ink-dim",children:a.trim()})]}),n.jsx("p",{className:"text-sm text-ink-muted",children:s("ui.teamBridge.invitations.agent_line",l?{agent:l}:{agent:s("ui.teamBridge.invitations.agent_fallback")})}),d&&n.jsx("p",{className:"text-meta text-ink-dim",children:d}),n.jsxs("div",{className:"flex min-h-8 flex-wrap items-center gap-2",children:[u&&n.jsxs(n.Fragment,{children:[n.jsx(ms,{variant:"primary",idle:s("ui.teamBridge.invitations.accept"),busy:s("ui.teamBridge.invitations.accepting"),pending:m&&t.decision==="accept",inFlight:m,readOnly:i,onPress:()=>r("accept")}),n.jsx(ms,{variant:"ghost",idle:s("ui.teamBridge.invitations.decline"),busy:s("ui.teamBridge.invitations.declining"),pending:m&&t.decision==="decline",inFlight:m,readOnly:i,onPress:()=>r("decline")})]}),h!==null&&n.jsx("p",{role:"alert",title:cs(h),className:"min-w-0 flex-1 truncate text-sm text-danger",children:cs(h)}),t.phase==="done"&&n.jsx("p",{"aria-live":"polite",className:"text-sm text-ink-muted",children:t.decision==="accept"?l?s("ui.teamBridge.invitations.accepted",{agent:l}):s("ui.teamBridge.invitations.accepted_unnamed"):l?s("ui.teamBridge.invitations.declined",{agent:l}):s("ui.teamBridge.invitations.declined_unnamed")})]})]})}function ms({variant:e,idle:t,busy:i,pending:a,inFlight:r,readOnly:o,onPress:d}){return n.jsx(V,{size:"sm",variant:e,disabled:o,"aria-disabled":r||void 0,"aria-busy":a||void 0,onClick:r?void 0:d,className:a?"cursor-progress":void 0,children:n.jsxs("span",{className:"grid",children:[n.jsx("span",{className:Z("col-start-1 row-start-1",a&&"invisible"),"aria-hidden":a,children:t}),n.jsx("span",{className:Z("col-start-1 row-start-1",!a&&"invisible"),"aria-hidden":!a,children:i})]})})}const eh=/data:image\//gi,us=/[a-z0-9+/%=_-]/i,hs=/<\/svg\s*>/gi,nh=/;base64$/i,ua=/[\s"'<>`]/,th=/[;,]/,ih=/[)\]}.!?]{1,4}$/,ah=80,ha=2048,rh=2048,sh=256,oh=2048;function lh(e){const t=[];let i=0,a=null,r=0;for(;;){let o=e.indexOf(`
|
|
40
|
-
`,r);
|
|
41
|
-
`){let g
|
|
42
|
-
`;){const
|
|
43
|
-
`?
|
|
44
|
-
)]}*.!?,;:`.includes(e[
|
|
45
|
-
`,u),r<0&&(r=e.length)),o!==null&&(!o||o.index<u)&&(hs.lastIndex=u,o=hs.exec(e)),u=o&&o.index<r?o.index+o[0].length:r;else{let g=u;for(;g<e.length&&!ua.test(e[g]);)g++;let j=0;for(;u<e.length&&!ua.test(e[u]);){const S=e[u];if((e.startsWith("**",u)||S==="]"||S==="}"||S===")"&&!j)&&g-u<=sh)break;S==="("&&j++,S===")"&&j&&j--,u++}u-=e.slice(Math.max(l,u-4),u).match(ih)?.[0].length??0}u=Math.min(u,h),f=Math.min(f,h);const x=Math.max(u,f);if(x-l<oh)continue;const p=w.slice(5,Math.min(y<0?w.length:y,5+ah)).toLowerCase();if(m){t.push({start:m.start,end:m.end,mime:p,dataLength:Math.min(x,m.end)-l});continue}t.push({start:l,end:u,mime:p}),f>u&&t.push({start:u,end:f,mime:"",uncertain:!0})}return t}function ch({body:e,span:t}){const[i,a]=c.useState(0),[r,o]=c.useState(!1),d=Math.ceil((t.end-t.start)/ha);return n.jsxs("details",{className:Z("my-1 text-sm text-ink-muted"),onToggle:l=>o(l.currentTarget.open),children:[n.jsx("summary",{className:Z("w-fit cursor-pointer"),children:t.uncertain?s("ui.ownerAudit.inspect_body"):s("ui.ownerAudit.inline_image_receipt",{mime:t.mime,count:fi(t.dataLength??t.end-t.start)})}),r&&n.jsxs(n.Fragment,{children:[n.jsx("pre",{className:Z("my-1 max-h-48 overflow-auto whitespace-pre-wrap break-all rounded-md bg-sunken p-2 text-mono-sm"),children:e.slice(t.start+i*ha,Math.min(t.end,t.start+(i+1)*ha))}),n.jsxs("div",{className:Z("flex items-center gap-2"),children:[n.jsx("button",{type:"button",className:Z("min-h-6 rounded px-2 text-ink hover:bg-elevated focus-visible:outline focus-visible:outline-2 disabled:text-ink-dim disabled:hover:bg-transparent"),disabled:i===0,onClick:()=>a(i-1),children:s("ui.ownerAudit.previous_chunk")}),n.jsx("span",{"aria-live":"polite",children:s("ui.ownerAudit.chunk_number",{page:fi(i+1),count:fi(d)})}),n.jsx("button",{type:"button",className:Z("min-h-6 rounded px-2 text-ink hover:bg-elevated focus-visible:outline focus-visible:outline-2 disabled:text-ink-dim disabled:hover:bg-transparent"),disabled:i+1>=d,onClick:()=>a(i+1),children:s("ui.ownerAudit.next_chunk")})]})]})]})}function mh({body:e,renderText:t}){const i=c.useMemo(()=>dh(e),[e]);if(!i.length)return n.jsx(n.Fragment,{children:t(e)});let a=0;return n.jsxs(n.Fragment,{children:[i.map(r=>{const o=e.slice(a,r.start);return a=r.end,n.jsxs("div",{children:[o&&t(o),n.jsx(ch,{body:e,span:r})]},r.start)}),a<e.length&&t(e.slice(a))]})}function uh(e){const t=Wa();return c.useMemo(()=>{if(t)return zd({body:e.body,mentions:e.mentions,candidates:t.candidates,self:t.self})?.runs},[t,e.body,e.mentions])}const hh=e=>{switch(e){case"unsupported":return s("ui.teamBridge.attachments.error_type");case"too_large":return s("ui.teamBridge.attachments.error_size");case"invalid":return s("ui.teamBridge.attachments.error_invalid");case"rate_limited":return s("ui.teamBridge.attachments.error_rate");case"limit":return s("ui.teamBridge.attachments.error_quota");case"expired":return s("ui.teamBridge.attachments.expired_staged");case"offline":return s("ui.teamBridge.attachments.error_offline");case"signed_out":return s("ui.teamBridge.plan.sign_in_reason");case"account_mismatch":return s("ui.teamBridge.attachments.error_account_changed");default:return s("ui.teamBridge.attachments.error_upload")}},gh=({chip:e,index:t,count:i,onRemove:a,onRetry:r})=>{me();const o=s("ui.teamBridge.attachments.position",{index:String(t+1),count:String(i)}),d=e.status==="error"||e.status==="expired",l=e.status==="uploading"||e.status==="preparing",m=To(e),h=c.useId();return n.jsxs("li",{className:"group/chip relative","data-attachment-chip":e.status,"aria-label":o,"aria-describedby":m?h:void 0,children:[m&&n.jsx("span",{id:h,className:"sr-only",children:m}),n.jsxs("div",{title:!e.previewUrl&&e.status==="ready"?s("ui.teamBridge.attachments.preview_unavailable"):void 0,className:Z("relative flex size-16 items-center justify-center overflow-hidden rounded-md border bg-sunken",d?"border-danger":"border-hairline"),children:[e.previewUrl?n.jsx("img",{src:e.previewUrl,alt:"",className:Z("size-full object-cover",l?"opacity-70":"opacity-100")}):d?n.jsx(Js,{size:18,"aria-hidden":"true",className:"text-ink-dim"}):l?null:n.jsx(Ws,{size:18,"aria-hidden":"true",className:"text-ink-dim"}),l&&n.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:n.jsx("span",{className:"flex size-7 items-center justify-center rounded-full bg-elevated shadow-sm",children:n.jsx(qe,{size:"sm",label:s("ui.teamBridge.attachments.uploading")})})}),d&&n.jsx("span",{"aria-hidden":"true",className:"absolute inset-x-0 bottom-0 flex items-center justify-center bg-canvas/80 py-0.5 text-danger",children:e.status==="expired"?n.jsx(Ut,{size:12}):n.jsx(co,{size:12})})]}),n.jsx(gs,{position:"top",label:s("ui.teamBridge.attachments.remove",{label:o}),onClick:a,children:n.jsx(St,{size:12,"aria-hidden":"true"})}),d&&e.prepared&&e.reason!=="signed_out"&&e.reason!=="account_mismatch"&&n.jsx(gs,{position:"bottom",label:s("ui.teamBridge.attachments.retry",{label:o}),onClick:r,children:n.jsx(yc,{size:12,"aria-hidden":"true"})})]})},gs=({position:e,label:t,onClick:i,children:a})=>n.jsx("button",{type:"button",onClick:i,"aria-label":t,title:t,className:Z("group/action absolute -right-2 flex size-6 items-center justify-center rounded-full",e==="top"?"-top-2":"-bottom-2"),children:n.jsx("span",{className:"flex size-5 items-center justify-center rounded-full border border-control bg-elevated text-ink-muted group-hover/action:text-ink group-focus-visible/action:text-ink",children:a})});function To(e){return e.status==="expired"?e.prepared?s("ui.teamBridge.attachments.expired_staged_retry"):s("ui.teamBridge.attachments.expired_staged"):e.status==="error"?hh(e.reason):e.status==="uploading"||e.status==="preparing"?s("ui.teamBridge.attachments.uploading"):null}const ph=({state:e})=>{me();const t=e.chips.findIndex(l=>l.status==="error"||l.status==="expired"),i=t>=0?e.chips[t]:null,a=e.chips.filter(l=>l.status==="error"||l.status==="expired"),r=e.chips.some(l=>l.status==="uploading"||l.status==="preparing"),o=e.notice==="unsupported"||e.unsupported?s("ui.teamBridge.attachments.unsupported"):e.notice==="limit"?s("ui.teamBridge.attachments.limit",{max:e.max}):i?To(i)??"":r?s("ui.teamBridge.attachments.uploading"):null,d=i&&!e.notice&&!e.unsupported?"danger":"muted";return e.chips.length===0&&!o?null:n.jsxs("div",{className:"px-3.5 pt-3",children:[e.chips.length>0&&n.jsx("ul",{"aria-label":s("ui.teamBridge.attachments.strip"),className:"flex flex-wrap gap-2.5",children:e.chips.map((l,m)=>n.jsx(gh,{chip:l,index:m,count:e.chips.length,onRemove:()=>e.remove(l.key),onRetry:()=>e.retry(l.key)},l.key))}),o&&n.jsxs("p",{role:d==="danger"?"alert":"status",className:Z("pt-1.5 text-[12px]",d==="danger"?"text-danger":"text-ink-muted"),children:[i&&d==="danger"&&n.jsx("span",{className:"me-1.5 font-medium",children:a.length>1?s("ui.teamBridge.attachments.failed_count",{count:a.length}):s("ui.teamBridge.attachments.position",{index:String(t+1),count:String(e.chips.length)})}),o]})]})},kh=({state:e,disabled:t=!1})=>{me();const i=c.useRef(null);if(!e.enabled)return null;const a=e.count>=e.max;return n.jsxs(n.Fragment,{children:[n.jsx(V,{variant:"ghost",size:"icon","aria-label":s("ui.teamBridge.attachments.add"),title:a?s("ui.teamBridge.attachments.limit",{max:e.max}):s("ui.teamBridge.attachments.add"),disabled:t||a,onClick:()=>i.current?.click(),children:n.jsx(mo,{size:16,"aria-hidden":"true"})}),n.jsx("input",{ref:i,type:"file",accept:"image/png,image/jpeg,image/webp,image/gif,image/heic,image/heif",multiple:!0,hidden:!0,tabIndex:-1,onChange:r=>{e.add(Array.from(r.target.files??[])),r.target.value=""}})]})},vi=new Map;function fh(e,t){const i=vi.get(e);if(i)return i.holders+=1,i.promise;const a={holders:1,promise:Promise.resolve(!1)};return a.promise=(async()=>{try{const{data:r,mimeType:o}=await en.attachmentBytes(t),d=Oi(r,o);return a.holders<=0?(Si(d),!1):(Od(e,d),!0)}catch{return!1}finally{vi.delete(e)}})(),vi.set(e,a),a.promise}function wh(e,t,i,a){const[r,o]=c.useState(()=>{const d=i?Pd(e):null;return d?{state:"ready",url:d}:{state:"loading"}});return c.useEffect(()=>{if(!i)return;let d=!0;const l=Mr(e);if(l)return o({state:"ready",url:l}),()=>{d=!1,Ar(e)};o({state:"loading"});let m=!0;return fh(e,t).then(h=>{if(m=!1,!d)return;const u=h?Mr(e):null;o(u?{state:"ready",url:u}:{state:"failed"})}),()=>{if(d=!1,m){const h=vi.get(e);h&&(h.holders-=1)}Ar(e)}},[e,i,a]),r}const Ia=({kind:e,label:t,box:i,onRetry:a})=>{const r=e==="expired"?s("ui.teamBridge.attachments.expired"):s("ui.teamBridge.attachments.unavailable"),o=c.useId();return n.jsxs("div",{role:"img","aria-label":t,"aria-describedby":o,"data-attachment-placeholder":e,style:{width:i.width,height:i.height},className:"flex flex-col items-center justify-center gap-1 rounded-sm border border-control bg-sunken px-2 text-center text-[12px] text-ink-dim",children:[e==="expired"?n.jsx(Ut,{size:16,"aria-hidden":"true"}):n.jsx(Js,{size:16,"aria-hidden":"true"}),n.jsx("span",{id:o,children:r}),e==="failed"&&a&&n.jsx("button",{type:"button",onClick:a,className:"min-h-6 rounded-sm px-1.5 text-accent hover:underline",children:s("ui.teamBridge.attachments.retry_load")})]})},bh=(e,t,i=!1)=>{if(!t)return i?{width:128,height:88}:{width:156,height:104};const a=i?264:360,r=i?176:240,{width:o,height:d}=e;if(!o||!d)return{width:240,height:160};const l=Math.min(a/o,r/d,1);return{width:Math.max(64,Math.round(o*l)),height:Math.max(64,Math.round(d*l))}},yh=({message:e,tenantId:t,accountId:i,attachment:a,index:r,count:o,density:d,onOpen:l,register:m,buttonRef:h})=>{const u=t===null?"unavailable":xu(a),[k,w]=c.useState(0),y=`team-bridge:${t}:${e.conversation_id}:${e.id}:${a.id}`,f=wh(y,{tenantId:t??"",conversationId:e.conversation_id,messageId:e.id,attachmentId:a.id,expectedAccountId:i??""},u==="fetch"&&!!i,k),x=s("ui.teamBridge.attachments.position",{index:String(r+1),count:String(o)}),p=f.state==="ready"?f.url:null;c.useEffect(()=>m(r,p),[p,r]);const g=bh(a,o===1,d==="compact");return u!=="fetch"?n.jsx(Ia,{kind:u==="expired"?"expired":"unavailable",label:x,box:g}):f.state==="failed"?n.jsx(Ia,{kind:"failed",label:x,box:g,onRetry:()=>w(j=>j+1)}):n.jsx("button",{ref:h,type:"button","aria-label":s("ui.teamBridge.attachments.open",{index:String(r+1),count:String(o)}),title:s("ui.teamBridge.attachments.open",{index:String(r+1),count:String(o)}),disabled:!p,onClick:()=>l(r),className:"group/tile block cursor-zoom-in rounded-sm leading-none disabled:cursor-progress",children:n.jsx(Gs,{boundary:"control",style:{width:g.width,height:g.height},"data-attachment-reserved":p?void 0:"",children:p&&n.jsx("img",{src:p,alt:x,draggable:!1,className:"size-full object-cover"})})})},xh=({message:e,tenantId:t,density:i="regular",accountId:a})=>{me();const r=e.attachments??[],[o,d]=c.useState(null),[l,m]=c.useState([]),h=c.useRef([]),u=c.useRef(null);if(r.length===0)return null;const k=r.length,w=(x,p)=>m(g=>{if(g[x]===p)return g;const j=[...g];return j[x]=p,j}),y=x=>d(p=>p===null?null:(p+x+k)%k),f=o===null?"":s("ui.teamBridge.attachments.position",{index:String(o+1),count:String(k)});return n.jsxs(n.Fragment,{children:[n.jsx("ul",{"aria-label":s("ui.teamBridge.attachments.in_message",{count:k}),className:"mt-1.5 flex flex-wrap gap-2",children:r.map((x,p)=>n.jsx("li",{children:n.jsx(yh,{message:e,tenantId:t,accountId:a,attachment:x,index:p,count:k,density:i,register:w,buttonRef:g=>{h.current[p]=g},onOpen:g=>{u.current=h.current[g]??null,d(g)}})},x.id))}),n.jsx(Dd,{src:o===null?void 0:l[o]??void 0,pending:o!==null&&!l[o],label:f,open:o!==null,onOpenChange:x=>{x||d(null)},restoreFocusTo:u,fallback:n.jsx(Ia,{kind:"unavailable",label:f,box:{width:240,height:160}}),group:k>1&&o!==null?{index:o,count:k,onPrev:()=>y(-1),onNext:()=>y(1)}:void 0})]})},Mo=({attachments:e,accountId:t})=>{me();const i=c.useId(),[a,r]=c.useState({}),o=e.map(l=>l.id).join(",");if(c.useEffect(()=>{const l={};for(const m of e){const h=Io(t,m.id);h&&(l[m.id]=Oi(h,h.type))}return r(l),()=>{for(const m of Object.values(l))Si(m)}},[o,t]),e.length===0)return null;const d=e.length;return n.jsxs(n.Fragment,{children:[n.jsx("ul",{"aria-label":s("ui.teamBridge.attachments.in_message",{count:d}),className:"mt-1.5 flex flex-wrap gap-2",children:e.map((l,m)=>{const h=s("ui.teamBridge.attachments.position",{index:String(m+1),count:String(d)}),u=a[l.id];return n.jsx("li",{children:n.jsx(Gs,{className:"size-16",role:"img","aria-label":h,"aria-describedby":u?void 0:`${i}-none`,title:u?void 0:s("ui.teamBridge.attachments.preview_unavailable"),"data-attachment-scheduled":u?"preview":"descriptor",children:u?n.jsx("img",{src:u,alt:"",className:"size-full object-cover"}):n.jsx(Ws,{size:16,"aria-hidden":"true",className:"text-ink-dim"})})},l.id)})}),n.jsx("span",{hidden:!0,id:`${i}-none`,children:s("ui.teamBridge.attachments.preview_unavailable")})]})};function vh(e){return{onPaste:t=>{const i=Mi(t.clipboardData);if(i.length===0)return;Array.from(t.clipboardData.types).includes("text/plain")||t.preventDefault(),e.add(i)},onDragOver:t=>{Array.from(t.dataTransfer.types).includes("Files")&&t.preventDefault()},onDrop:t=>{const i=Mi(t.dataTransfer);i.length!==0&&(t.preventDefault(),e.add(i))}}}const jh=["manipulation","personal_info","abusive","unsafe_content","out_of_scope"],_h=["screening_unavailable","awaiting_review","delivery_pending"],Bh=e=>jh.includes(e),Nh=e=>_h.includes(e);function Sh(e,t={}){if(!e||e.length===0)return[];const i=t.origin==="human"&&t.sender?.kind==="human"&&t.sender.audit_unknown_kind!==!0,a=[],r=new Set;for(const o of e){if(r.has(o.endpoint_id))continue;const d=o.recipient_label.trim(),l=o.recipient_owner_label.trim(),m=`${o.state}:${o.endpoint_id}`;if(o.state==="refused")r.add(o.endpoint_id),a.push({kind:"refused",key:m,agent:d,owner:l,refusalClass:i&&Bh(o.refusal_class)?o.refusal_class:null});else if(o.state==="held"){r.add(o.endpoint_id);const h=Nh(o.hold_class)?o.hold_class:null;a.push(h==="delivery_pending"?{kind:"pending",key:m,agent:d,owner:l}:{kind:"held",key:m,agent:d,owner:l,holdReason:h})}}return a}const Ch=({message:e})=>{const t=Sh(e.delivery_states,e);return t.length===0?null:n.jsx("ul",{className:"m-0 mt-0.5 flex min-w-0 list-none flex-col gap-1 p-0 text-[12px] text-ink-muted [overflow-wrap:anywhere]",children:t.map(i=>n.jsxs("li",{children:[n.jsx(Eh,{line:i}),i.kind!=="pending"&&n.jsxs(n.Fragment,{children:[" ",n.jsx(Ih,{text:i.kind==="refused"?s("ui.teamBridge.delivery.info_refused"):s("ui.teamBridge.delivery.info_held")})]})]},i.key))})},Ih=({text:e})=>{const[t,i]=c.useState(!1);return n.jsx(xc,{children:n.jsxs(vc,{open:t,onOpenChange:i,children:[n.jsx(jc,{asChild:!0,children:n.jsx("button",{type:"button","aria-label":s("ui.teamBridge.delivery.info_label"),onPointerDown:a=>a.preventDefault(),onClick:a=>{a.preventDefault(),i(!0)},className:"inline-flex translate-y-px items-center rounded-sm align-baseline text-ink-dim hover:text-ink-muted focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-focus",children:n.jsx(_c,{size:12,"aria-hidden":"true"})})}),n.jsx(Bc,{children:n.jsx(Nc,{side:"top",align:"center",children:e})})]})})},Eh=({line:e})=>{const t={agent:e.agent||s("ui.teamBridge.sender.unknown_agent"),owner:e.owner||s("ui.teamBridge.sender.unknown_person")};if(e.kind==="pending")return n.jsx(n.Fragment,{children:s("ui.teamBridge.delivery.pending",{agent:t.agent})});if(e.kind==="held")switch(e.holdReason){case"screening_unavailable":return n.jsx(n.Fragment,{children:s("ui.teamBridge.delivery.held_screening_unavailable",t)});case"awaiting_review":return n.jsx(n.Fragment,{children:s("ui.teamBridge.delivery.held_awaiting_review",t)});default:return n.jsx(n.Fragment,{children:s("ui.teamBridge.delivery.held",t)})}switch(e.refusalClass){case"manipulation":return n.jsx(n.Fragment,{children:s("ui.teamBridge.delivery.refused_manipulation",t)});case"personal_info":return n.jsx(n.Fragment,{children:s("ui.teamBridge.delivery.refused_personal_info",t)});case"abusive":return n.jsx(n.Fragment,{children:s("ui.teamBridge.delivery.refused_abusive",t)});case"unsafe_content":return n.jsx(n.Fragment,{children:s("ui.teamBridge.delivery.refused_unsafe_content",t)});case"out_of_scope":return n.jsx(n.Fragment,{children:s("ui.teamBridge.delivery.refused_out_of_scope",t)});default:return n.jsx(n.Fragment,{children:s("ui.teamBridge.delivery.refused",t)})}},Rh=Ja.groups,Ct=Ja.entries.map(([e,t,i,a])=>({emoji:e,name:t,group:i,keywords:a})),Th=["👍","❤️","😂","🎉","👀","🙏","✅","🔥"],Mh=/\s+/,Ao=e=>Array.from(e).filter(t=>{const i=t.codePointAt(0)??0;return!(i>=127995&&i<=127999)&&i!==65039}).join(""),Ah=30*864e5,Kt=(e,t)=>e.score*2**(-Math.max(0,t-e.at)/Ah);function zh(e,t,i){const a={...e,[t]:{score:(e[t]?Kt(e[t],i):0)+1,at:i}};return Object.fromEntries(Object.entries(a).sort((r,o)=>Kt(o[1],i)-Kt(r[1],i)).slice(0,200))}function Dh(e,t){const i=Object.entries(e).sort((a,r)=>Kt(r[1],t)-Kt(a[1],t)||r[1].at-a[1].at).map(([a])=>a);return[...new Set([...i,...Th])].slice(0,8)}function Ph(e,t){const i=e.toLocaleLowerCase().trim().split(Mh).filter(Boolean);return Ct.filter(a=>(t===null||a.group===t)&&i.every(r=>`${a.name} ${a.keywords.join(" ")} ${a.emoji}`.toLocaleLowerCase().includes(r)))}function Oh(e,t){return e.find(a=>a.emoji===t)?e.flatMap(a=>a.emoji!==t?[a]:a.reacted_by_me?a.count===1?[]:[{...a,count:a.count-1,reacted_by_me:!1}]:[{...a,count:a.count+1,reacted_by_me:!0}]):[...e,{emoji:t,count:1,reacted_by_me:!0,sample_labels:[]}]}const Ya=e=>Array.from(e).filter(t=>{const i=t.codePointAt(0)??0;return i>=127995&&i<=127999}),qh=new Set(Ct.flatMap(({emoji:e})=>{const t=Array.from(e);return t.length===2&&Ya(e).length===1?[t[0]]:[]})),Ea=new Map;for(const e of Ct){const t=Ya(e.emoji);if(t.length!==1)continue;const i=Ao(e.emoji),a=Ea.get(i)??new Map;a.set(t[0],[...a.get(t[0])??[],e.emoji]),Ea.set(i,a)}function Lh(e,t){if(!t||Ya(e).length||e.includes("")&&Array.from(e).filter(o=>qh.has(o)).length>1)return e;const i=Ao(e),a=String.fromCodePoint(127994+t),r=Ea.get(i)?.get(a)??[];return r.length===1?r[0]:e}const ft=40,zo=28,ps=new Map;let qt=0,We;function Fh(e,t,i){if(i<=0||i>zo*1.5||e.length!==t.length)return!1;let a=!1;for(let r=0;r<e.length;r++){if(e[r]!==t[r])return!1;r%4===3&&e[r]!==0&&(a=!0)}return a}function tt(e){const t=ps.get(e);if(t!==void 0)return t;if(We===void 0)try{const a=document.createElement("canvas");a.width=ft,a.height=ft,We=a.getContext("2d",{willReadFrequently:!0}),We&&(We.font=`${zo}px "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif`,We.textBaseline="top")}catch{We=null}let i=!1;if(We)try{const a=d=>(We?.clearRect(0,0,ft,ft),We?(We.fillStyle=d,We.fillText(e,2,2),We.getImageData(0,0,ft,ft).data):new Uint8ClampedArray),r=a("#fff"),o=a("#000");i=Fh(r,o,We.measureText(e).width)}catch{i=!1}return ps.set(e,i),i}function $h(e,t=8){if(qt>=e.length)return()=>{};let i,a=!1;const r=()=>{if(a)return;const o=performance.now()+t;for(;qt<e.length&&performance.now()<o;)tt(e[qt]),qt++;qt<e.length&&(i=setTimeout(r,0))};return i=setTimeout(r,0),()=>{a=!0,i!==void 0&&clearTimeout(i)}}const ks=Intl.ListFormat;function fs(e,t){return ks?new ks(t,{style:"long",type:"conjunction"}).format(e):e.join(", ")}function ws(e,t,i){if(e.ownerAddedAgent)return s("ui.teamBridge.events.owner_added_agent",{actor:i,targets:t});switch(e.kind){case"invited":return s("ui.teamBridge.events.invited",{actor:i,targets:t});case"joined":return s("ui.teamBridge.events.joined",{targets:t});case"left":return s("ui.teamBridge.events.left",{targets:t});case"removed":return s("ui.teamBridge.events.removed",{actor:i,targets:t});case"consented":return s("ui.teamBridge.events.consented",{actor:i,targets:t});case"declined":return e.selfOnly?s("ui.teamBridge.events.declined_self",{actor:i}):s("ui.teamBridge.events.declined",{actor:i,targets:t});case"withdrawn":return s("ui.teamBridge.events.withdrawn",{actor:i,targets:t});default:return s("ui.teamBridge.events.unknown")}}function Kh(e,t,i){const a=e.targets.map(t),r=t(e.actor),o=a.length>Br,d=ws(e,fs(a,i),r);if(!o)return{shown:d,full:d,truncated:o};const l=a.slice(0,Br),m=s("ui.teamBridge.events.others",{count:a.length-l.length});return{shown:ws(e,fs([...l,m],i),r),full:d,truncated:o}}const Uh={invited:$t,joined:$t,consented:$t,left:hi,removed:hi,declined:hi,withdrawn:hi},Hh=({line:e,labelFor:t,locale:i})=>{const{shown:a,full:r,truncated:o}=Kh(e,t,i),d=e.kind?Uh[e.kind]:Nt,l=new Date(e.at),m=!Number.isNaN(l.getTime()),h=m?Bi(l,{hour:"numeric",minute:"2-digit"},i):"",u=m?qa(l,{dateStyle:"full",timeStyle:"short"},i):"",k=n.jsx("span",{tabIndex:o?0:void 0,"aria-label":o?r:void 0,className:Z("min-w-0 truncate",o&&"cursor-default rounded-sm underline decoration-dotted underline-offset-2 focus-visible:outline-2 focus-visible:outline-offset-2"),children:a});return n.jsxs("li",{"data-team-bridge-event":e.key,className:"group/event flex w-full min-w-0 items-center gap-3 px-5 py-1 text-ink-dim text-meta",children:[n.jsx("span",{"aria-hidden":"true",className:"flex w-9 shrink-0 justify-end",children:n.jsx(d,{className:"size-3.5"})}),o?n.jsx(Fi,{content:n.jsx("ul",{children:e.targets.map(w=>n.jsx("li",{children:t(w)},`${w.kind}:${w.account_id}:${w.endpoint_id??""}`))}),side:"top",align:"start",children:k}):k,m&&n.jsx("time",{dateTime:e.at,title:u,className:"shrink-0 text-meta-sm opacity-0 group-focus-within/event:opacity-100 group-hover/event:opacity-100",children:h})]})},Gh=({events:e,labelFor:t,locale:i})=>!e||e.length===0?null:n.jsx(n.Fragment,{children:yl(e).map(a=>n.jsx(Hh,{line:a,labelFor:t,locale:i},a.key))});function Wh(e,t=xl){return t?e==="enabled":!1}const Ra=Ua()(to(e=>({accounts:{},record:(t,i)=>e(a=>{const r=a.accounts[t]??{usage:{},tone:0};return{accounts:{...a.accounts,[t]:{...r,usage:zh(r.usage,i,Date.now())}}}}),setTone:(t,i)=>e(a=>({accounts:{...a.accounts,[t]:{usage:a.accounts[t]?.usage??{},tone:i}}}))}),{name:"team-bridge-reaction-preferences",partialize:e=>({accounts:e.accounts})})),kn=8,wt=36,pi=252,bs=160,Jh=8,Vh=["😀","👋","🐻","🍎","🌍","⚽","💡","🔣","🏳️"],ys=["ui.teamBridge.reactions.category0","ui.teamBridge.reactions.category1","ui.teamBridge.reactions.category2","ui.teamBridge.reactions.category3","ui.teamBridge.reactions.category4","ui.teamBridge.reactions.category5","ui.teamBridge.reactions.category6","ui.teamBridge.reactions.category7","ui.teamBridge.reactions.category8"];function pa(e,t){const i=Lh(e,t);return tt(i)?i:e}function Qh(e){return n.jsx(Yh,{...e})}function Yh({accountId:e,onSelect:t,onClose:i,disabled:a=!1,initialQuery:r=""}){const o=c.useId(),d=Ra(v=>v.accounts[e]),l=Ra(v=>v.setTone),[m,h]=c.useState(r),[u,k]=c.useState(null),[w,y]=c.useState(0),[f,x]=c.useState(0),p=c.useRef(null),g=c.useRef(null),j=c.useMemo(()=>Ph(m,u),[m,u]),[S,F]=c.useState({candidates:j,upTo:bs}),B=S.candidates===j?Math.min(S.upTo,j.length):Math.min(bs,j.length),T=B<j.length;c.useEffect(()=>{if(!T)return;const v=setTimeout(()=>{const M=performance.now()+Jh;let R=B;for(;R<j.length&&performance.now()<M;)tt(j[R].emoji),R++;F({candidates:j,upTo:R})},0);return()=>clearTimeout(v)},[j,B,T]);const I=c.useMemo(()=>j.slice(0,B).filter(v=>tt(v.emoji)),[j,B]),K=Dh(d?.usage??{},Date.now()).filter(tt),E=d?.tone??0,L=v=>{a||(t(pa(v,E)),i())},q=()=>{y(0),x(0),p.current&&(p.current.scrollTop=0)},z=Math.max(0,Math.floor(f/wt)-1),X=Math.min(Math.ceil(I.length/kn),z+Math.ceil(pi/wt)+3);return n.jsxs("div",{className:"flex min-h-0 w-80 max-w-[calc(100vw-32px)] flex-col gap-2",style:{maxHeight:"calc(var(--radix-popover-content-available-height, 560px) - 24px)"},"aria-busy":a,children:[n.jsx("input",{"aria-label":s("ui.teamBridge.reactions.search"),placeholder:s("ui.teamBridge.reactions.search"),className:"h-9 w-full rounded-md border border-control bg-surface px-3 text-ink outline-offset-0 shrink-0",value:m,onChange:v=>{h(v.target.value),k(null),q()},onKeyDown:v=>{v.key==="ArrowDown"&&(v.preventDefault(),g.current?.querySelector(`button[data-index="${w}"]`)?.focus())}}),n.jsxs("fieldset",{className:"flex shrink-0 items-center justify-between gap-1",children:[n.jsx("legend",{className:"sr-only",children:s("ui.teamBridge.reactions.categories")}),n.jsx("button",{type:"button","aria-pressed":u===null,"aria-label":s("ui.teamBridge.reactions.all"),className:"flex min-h-8 min-w-6 items-center justify-center rounded px-1.5 py-1 hover:bg-row-hover aria-pressed:bg-accent-wash",onClick:()=>{k(null),q()},children:n.jsx(qc,{size:16})}),Rh.map((v,M)=>n.jsx("button",{type:"button","aria-pressed":u===M,title:s(ys[M]),"aria-label":s(ys[M]),className:"min-h-8 min-w-6 rounded px-1 py-1 hover:bg-row-hover aria-pressed:bg-accent-wash",onClick:()=>{k(M),q()},children:Vh[M]},v))]}),n.jsxs("div",{className:"flex items-center justify-between gap-2",children:[n.jsx("span",{className:"text-[12px] text-ink-muted",children:s("ui.teamBridge.reactions.frequent")}),n.jsxs("select",{"aria-label":s("ui.teamBridge.reactions.tone"),value:E,onChange:v=>l(e,Number(v.target.value)),className:"h-7 rounded border border-control bg-surface text-[12px] text-ink",children:[n.jsx("option",{value:0,children:s("ui.teamBridge.reactions.toneDefault")}),[1,2,3,4,5].map(v=>n.jsx("option",{value:v,children:String.fromCodePoint(128077,127994+v)},v))]})]}),n.jsx("div",{className:"grid grid-cols-8","aria-label":s("ui.teamBridge.reactions.frequent"),children:K.map(v=>n.jsx("button",{type:"button",title:Ct.find(M=>M.emoji===v)?.name??v,className:"h-9 rounded text-[22px] hover:bg-row-hover",disabled:a,onClick:()=>L(v),children:pa(v,E)},v))}),n.jsx("div",{ref:p,className:"min-h-0 flex-shrink overflow-y-auto rounded bg-surface",style:{height:pi},onScroll:v=>x(v.currentTarget.scrollTop),children:!I.length&&!T?n.jsx("p",{className:"p-4 text-ink-muted",children:s("ui.teamBridge.reactions.noResults")}):n.jsx("table",{ref:g,"aria-label":s("ui.teamBridge.reactions.choose"),"aria-rowcount":Math.ceil(I.length/kn),"aria-colcount":kn,className:"relative block w-full",style:{height:Math.ceil(I.length/kn)*wt},onKeyDown:v=>{const M={ArrowRight:1,ArrowLeft:-1,ArrowDown:kn,ArrowUp:-8}[v.key];if(M!==void 0){v.preventDefault();const R=Math.max(0,Math.min(I.length-1,w+M));y(R),requestAnimationFrame(()=>g.current?.querySelector(`button[data-index="${R}"]`)?.focus());const H=Math.floor(R/kn)*wt;p.current&&(H<f||H>=f+pi)&&(p.current.scrollTop=Math.max(0,H-pi/2))}else(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),L(I[w].emoji))},children:n.jsx("tbody",{className:"block",children:Array.from({length:Math.max(0,X-z)},(v,M)=>{const R=z+M;return n.jsx("tr",{"aria-rowindex":R+1,className:"absolute inset-x-0 grid grid-cols-8",style:{top:R*wt,height:wt},children:I.slice(R*kn,(R+1)*kn).map((H,N)=>{const U=R*kn+N;return n.jsx("td",{id:`${o}-${U}`,"data-active":w===U,"aria-colindex":N+1,children:n.jsx("button",{tabIndex:w===U?0:-1,"data-index":U,type:"button","aria-label":H.name,title:H.name,className:w===U?"h-9 w-full rounded bg-accent-wash text-[22px]":"h-9 w-full rounded text-[22px] hover:bg-row-hover",onMouseEnter:()=>y(U),disabled:a,onClick:()=>L(H.emoji),children:pa(H.emoji,E)})},H.emoji)})},R)})})})}),n.jsxs("p",{className:"flex min-h-5 shrink-0 items-center gap-2 truncate text-[12px] text-ink-muted","aria-live":"polite",children:[a&&n.jsx(qe,{size:"xs"}),I[w]?.name??" "]})]})}const xs=new Map(Ct.map(({emoji:e,name:t})=>[e,t])),Xh=[];function Zh({conversationId:e,messageId:t,accountId:i,tenantId:a,reactions:r=Xh,disabled:o=!1,toggle:d=en.react}){const[m,h]=c.useState(r),[u,k]=c.useState(!1),[w,y]=c.useState(null),[f,x]=c.useState(!1),p=c.useRef(!1),g=Ra(S=>S.record);return c.useEffect(()=>{p.current||h(r)},[r,!1]),{accountId:i,rows:m,pending:u,pendingEmoji:w,error:f,disabled:o||!1,unavailable:o||u,choose:async S=>{if(p.current||o)return;const F=m,B=!m.some(T=>T.emoji===S&&T.reacted_by_me);p.current=!0,k(!0),y(S),x(!1),h(Oh(m,S));try{const T=await d(e,t,S,B,a,i);h(T.reactions),B&&g(i,S)}catch{h(F),x(!0)}finally{p.current=!1,k(!1),y(null)}}}}function Do(e){return n.jsx(eg,{...e})}function eg({state:e,open:t,onOpenChange:i,children:a}){return n.jsxs(ao,{open:t,onOpenChange:i,children:[n.jsx(ro,{asChild:!0,children:a}),n.jsx(so,{className:"max-h-[var(--radix-popover-content-available-height)] w-auto overflow-y-auto p-3",align:"start",side:"top",collisionPadding:8,avoidCollisions:!0,children:n.jsx(Qh,{disabled:e.unavailable,accountId:e.accountId,onSelect:r=>void e.choose(r),onClose:()=>i(!1)})})]})}function ng(e){return n.jsx(tg,{...e})}function tg({state:e,defaultOpen:t=!1}){const i=c.useId(),a=me(),[r,o]=c.useState(t),{rows:d,error:l,pending:m,pendingEmoji:h,unavailable:u}=e;if(!d.length&&!l)return null;const k=w=>ig(w,a);return n.jsxs("div",{className:"mt-1 flex flex-wrap items-center gap-1","aria-busy":m,"data-reaction-layout":"chips",children:[d.map((w,y)=>n.jsx(Fi,{content:k(w),className:"text-balance",children:n.jsxs("button",{type:"button",disabled:u,"aria-pressed":w.reacted_by_me,"data-reaction-pill":"","aria-label":`${xs.get(w.emoji)??w.emoji} ${new Intl.NumberFormat(a).format(w.count)}`,"aria-describedby":w.sample_labels.length?`${i}-${y}`:void 0,onClick:()=>void e.choose(w.emoji),className:Z("inline-flex h-6 shrink-0 items-center gap-1 rounded-full px-2 text-[12px] leading-none transition-colors duration-fast ease-out-quart disabled:text-ink-dim",w.reacted_by_me?"bg-[color-mix(in_srgb,var(--color-accent)_26%,var(--color-surface))] font-medium text-ink hover:bg-[color-mix(in_srgb,var(--color-accent)_20%,var(--color-surface))]":"bg-elevated text-ink-muted hover:bg-sunken hover:text-ink"),children:[n.jsx("span",{className:tt(w.emoji)?"text-[14px] leading-none":"max-w-40 truncate",children:tt(w.emoji)?w.emoji:xs.get(w.emoji)??`U+${w.emoji.codePointAt(0)?.toString(16).toUpperCase()}`}),n.jsxs("span",{className:"relative inline-flex items-center tabular-nums",children:[n.jsx("span",{className:Z(m&&h===w.emoji&&"invisible"),children:new Intl.NumberFormat(a).format(w.count)}),m&&h===w.emoji&&n.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:n.jsx(qe,{size:"xs"})})]}),n.jsx("span",{id:`${i}-${y}`,className:"sr-only",children:k(w)})]},w.emoji)},w.emoji)),!e.disabled&&d.length>0&&n.jsx(Do,{state:e,open:r,onOpenChange:o,children:n.jsx("button",{type:"button",disabled:u,"aria-label":s("ui.teamBridge.reactions.add"),"data-reaction-add":"",className:Z("inline-flex size-6 shrink-0 items-center justify-center rounded-full bg-transparent text-ink-dim","transition-[opacity,color,background-color] duration-fast ease-out-quart","hover:bg-elevated hover:text-ink disabled:text-ink-dim",r?"opacity-100":"pointer-events-none opacity-0 focus-visible:pointer-events-auto focus-visible:opacity-100 group-hover/message:pointer-events-auto group-hover/message:opacity-100 group-focus-within/message:pointer-events-auto group-focus-within/message:opacity-100 [@media(hover:none)]:pointer-events-auto [@media(hover:none)]:opacity-100"),children:n.jsx(za,{size:14,"aria-hidden":"true"})})}),l&&n.jsx("span",{role:"alert",className:"text-[12px] text-danger",children:s("ui.teamBridge.reactions.failed")})]})}const vs=Intl.ListFormat;function ig(e,t){const i=e.sample_labels,a=e.count-i.length;return i.length?a<=0?new vs(t,{style:"narrow",type:"conjunction"}).format(i):new vs(t,{style:"long",type:"conjunction"}).format([...i,s("ui.teamBridge.reactions.others",{others:a})]):a>0?s("ui.teamBridge.reactions.others",{others:a}):""}function ag({reactions:e,onReply:t,forceVisible:i=!1}){const[a,r]=c.useState(!1),[o,d]=c.useState(0),l=c.useRef(null),m=e!==void 0&&!e.disabled,h=t,u=(m?1:0)+(h?1:0);let k=Math.min(o,Math.max(0,u-1));k===0&&m&&e.unavailable&&u>1&&(k=1);const w=()=>Array.from(l.current?.querySelectorAll("[data-toolbar-item]")??[]),y=p=>{if(!["ArrowLeft","ArrowRight","Home","End"].includes(p.key)||p.metaKey||p.ctrlKey||p.altKey||p.shiftKey)return;const g=w(),j=g.indexOf(document.activeElement);if(j<0)return;const S=l.current!==null&&getComputedStyle(l.current).direction==="rtl",F=p.key==="ArrowRight"!==S,B=p.key==="Home"?0:p.key==="End"?g.length-1:Math.max(0,Math.min(g.length-1,j+(F?1:-1)));p.preventDefault(),g[B]?.focus()};if(!m&&!h)return null;let f=0;const x=()=>{const p=f++;return{"data-toolbar-item":"",tabIndex:p===k?0:-1,onFocus:()=>d(p)}};return n.jsx("div",{"data-message-toolbar":"",className:"float-end ms-2 flex h-[1lh] items-center",children:n.jsxs("div",{ref:l,role:"toolbar","aria-label":s("ui.teamBridge.actions.label"),"aria-orientation":"horizontal",onKeyDown:y,className:Z("flex items-center gap-0.5 rounded-md bg-elevated","transition-opacity duration-fast ease-out-quart",i||a?"opacity-100":"opacity-0 group-focus-within/message:opacity-100 group-hover/message:opacity-100"),children:[m&&e&&n.jsx(Do,{state:e,open:a,onOpenChange:r,children:n.jsx(js,{...x(),label:s("ui.teamBridge.reactions.add"),disabled:e.unavailable,children:n.jsx(Kc,{"aria-hidden":"true"})})}),h&&n.jsx(js,{...x(),label:s("ui.teamBridge.replies.action"),onClick:h,children:n.jsx(Os,{"aria-hidden":"true"})})]})})}const js=c.forwardRef(function({label:t,children:i,...a},r){return n.jsx(Fi,{content:t,children:n.jsx(V,{ref:r,type:"button",variant:"ghost",size:"icon-sm","aria-label":t,...a,children:i})})});function rg(e){return{count:e.reply_count??0,participants:(e.reply_participants??[]).slice(0,3),lastReply:e.last_reply_at&&Number.isFinite(Date.parse(e.last_reply_at))?new Date(e.last_reply_at):null}}const sg=600;function og(e,t,i){const[a,r]=c.useState(()=>({key:e,ids:new Set}));c.useLayoutEffect(()=>{const m=i?cu(e,t,{commit:!1}):new Set;Bo(e,t),m.size>0&&r(h=>({key:e,ids:new Set([...h.key===e?h.ids:[],...m])}))},[e,i,t]),c.useEffect(()=>()=>No(e),[e]);const o=a.key===e?a.ids:lg;c.useEffect(()=>{if(o.size===0)return;const m=setTimeout(()=>r({key:e,ids:new Set}),sg);return()=>clearTimeout(m)},[e,o]);const d=c.useCallback(m=>o.has(m),[o]),l=c.useCallback(()=>{r(m=>m.ids.size===0?m:{key:m.key,ids:new Set})},[]);return{has:d,end:l}}const lg=new Set,Ai=({messages:e,labelFor:t,profileFor:i,onMessagePerson:a,canMessagePerson:r,reactionContext:o,onReply:d,forceToolbar:l,tenantId:m,density:h,accountId:u,arrivalKey:k=Ti(m,e[0]?.conversation_id),arrivalsEnabled:w=!0,decorate:y,events:f,highlightId:x=null,presentationOf:p})=>{const g=me(),j=E=>p?.(E)??{key:E.id,local:!1},S=c.useMemo(()=>e.map(E=>{const L=p?.(E);return L?.local?{id:L.key}:{id:L?.key??E.id,seq:E.seq}}),[e,p]),F=og(k,S,w),B=qd(e,new Date),T=E=>t(E)??(E.kind==="agent"?s("ui.teamBridge.sender.unknown_agent"):s("ui.teamBridge.sender.unknown_person")),I=vl(e.filter(E=>!j(E).local),f),K=E=>{const L=I.get(E);return L?n.jsx(Gh,{events:L,labelFor:T,locale:g},`events:${E}`):null};return c.useEffect(()=>$h(Ct.map(E=>E.emoji)),[]),n.jsxs("ol",{className:"mt-auto flex w-full min-w-0 flex-col pt-4 pb-2",children:[K(jl),dg(B,K,B.map(E=>{if(E.type==="day")return n.jsx(cg,{item:E,locale:g},`day:${E.key}`);const L=j(E.message);return n.jsx(mg,{rowKey:L.key,local:L.local,delivery:L.delivery,message:E.message,continuation:E.continuation,label:t(E.message.sender),member:i?.(E.message.sender),onMessagePerson:a,canMessagePerson:r,locale:g,reactionContext:o,onReply:d,forceToolbar:l,tenantId:m,accountId:u,density:h,arriving:F.has(L.key),highlighted:x===E.message.id,onArrivalEnd:F.end,decoration:y?.(E.message)},L.key)}))]})};function dg(e,t,i){const a=[];return i.forEach((r,o)=>{a.push(r);const d=e[o];if(d?.type==="message"){const l=t(d.message.id);l&&a.push(l)}}),a}const cg=({item:e,locale:t})=>{const i=e.relative==="today"?s("ui.teamBridge.thread.today"):e.relative==="yesterday"?s("ui.teamBridge.thread.yesterday"):qa(e.date,{weekday:"long",month:"long",day:"numeric"},t);return n.jsxs("li",{className:"flex items-center gap-3 px-5 py-2","aria-label":i,children:[n.jsx("span",{"aria-hidden":"true",className:"h-px flex-1 bg-hairline"}),n.jsx("span",{className:"shrink-0 rounded-full bg-elevated px-2.5 py-0.5 font-medium text-[12px] text-ink-muted",children:i}),n.jsx("span",{"aria-hidden":"true",className:"h-px flex-1 bg-hairline"})]})},mg=({reactionContext:e,rowKey:t,local:i=!1,...a})=>{const r=!!e&&a.message.body!==null;return n.jsx(hg,{reactionContext:r&&e?i?{...e,disabled:!0}:e:void 0,...a,rowKey:t,onReply:i?void 0:a.onReply},`${e?.accountId??a.accountId??""}:${t??a.message.id}`)},ug={accountId:"",tenantId:"",disabled:!0},hg=({reactionContext:e,...t})=>{const i=Zh({conversationId:t.message.conversation_id,messageId:t.message.id,...e??ug,reactions:t.message.reactions});return n.jsx(gg,{...t,reactions:e?i:void 0})},gg=({message:e,continuation:t,label:i,member:a,onMessagePerson:r,canMessagePerson:o,locale:d,reactions:l,onReply:m,forceToolbar:h,tenantId:u,accountId:k,density:w,arriving:y=!1,onArrivalEnd:f,decoration:x,highlighted:p=!1,delivery:g,rowKey:j})=>{const S=rg(e),F=uh(e),B=m!==void 0&&!e.thread_root_id,T=e.sender.kind==="agent",I=i??(T?s("ui.teamBridge.sender.unknown_agent"):s("ui.teamBridge.sender.unknown_person")),K=new Date(e.created_at),E=!Number.isNaN(K.getTime()),L=E?Bi(K,{hour:"numeric",minute:"2-digit"},d):"",q=E?qa(K,{dateStyle:"full",timeStyle:"short"},d):"",z=!!(a&&r&&(o?.(e.sender)??!0)&&a.account_id!==k&&a.bridge_enabled&&["active","paused"].includes(a.bridge_state)&&(!T||a.agent)),X=()=>r?.(e.sender),v=a?n.jsx(Dn,{member:a,label:I,kind:T?"agent":"human",onMessage:X,canMessage:z,children:n.jsx("button",{type:"button",className:"mt-0.5 block size-9 shrink-0 rounded-md text-start",children:n.jsx(yn,{member:a,kind:T?"agent":"human",label:I,size:36,className:"size-9 rounded-md bg-media-surface text-[14px]",fallback:i===null?n.jsx($r,{size:18}):i.trim().charAt(0).toUpperCase()||"?"})})}):null;return n.jsxs("li",{"data-message-id":e.id,"data-message-target":p||void 0,"data-row-key":j??e.id,"data-delivery":g?.status,onAnimationEnd:y?f:void 0,className:Z("group/message relative flex w-full min-w-0 gap-3 px-5 transition-colors duration-fast ease-out-quart hover:bg-row-hover",y&&"lo-team-bridge-arrival",p&&"lo-team-bridge-target",t?"py-0.5":"mt-2 pt-1.5 pb-0.5"),children:[n.jsx("div",{className:"w-9 shrink-0",children:t?E&&n.jsx("time",{dateTime:e.created_at,title:q,className:"block pt-0.5 text-right text-[11px] text-ink-dim opacity-0 group-hover/message:opacity-100",children:L}):v??n.jsx("span",{"aria-hidden":"true","data-sender-avatar":T?"agent":i===null?"unknown":"initial",className:Z("mt-0.5 flex size-9 shrink-0 items-center justify-center overflow-hidden rounded-md font-medium text-[14px]",T?"bg-media-surface text-accent":"bg-media-surface text-ink-muted"),children:T?n.jsx(Bt,{size:18}):i===null?n.jsx($r,{size:18}):i.trim().charAt(0).toUpperCase()||"?"})}),n.jsxs("div",{className:"min-w-0 flex-1",children:[n.jsx(ag,{reactions:l,onReply:B?()=>m(e):void 0,forceVisible:h}),!t&&n.jsxs("div",{className:"flex items-baseline gap-2",children:[a?n.jsx(Dn,{member:a,label:I,kind:T?"agent":"human",onMessage:X,canMessage:z,children:n.jsx("button",{type:"button","data-sender":i===null?"unknown":"known",className:"min-w-0 truncate rounded-sm text-start font-semibold text-[14px] text-ink",children:I})}):n.jsx("span",{"data-sender":i===null?"unknown":"known",className:Z("truncate text-[14px]",i===null?"text-ink-muted italic":"font-semibold text-ink"),children:I}),E&&n.jsx("time",{dateTime:e.created_at,title:q,className:"shrink-0 text-[12px] text-ink-dim",children:L}),x?.badge]}),t&&x?.badge&&n.jsx("div",{className:"flex pb-0.5",children:x.badge}),e.body===null||x?.withheldCopy!==void 0&&e.body.trim()===""&&(e.attachments?.length??0)===0&&x.attachments===void 0?n.jsx("p",{className:"text-[14px] text-ink-dim italic",children:x?.withheldCopy??s("ui.teamBridge.thread.withheld")}):e.body.trim()===""&&((e.attachments?.length??0)>0||x?.attachments!==void 0)?null:n.jsx(mh,{body:e.body,renderText:M=>n.jsx(Vs,{className:"team-bridge-message-body text-[14px] transition-colors duration-fast",style:{...g?.status==="pending"?{"--md-ink":"var(--lo-ink-muted)"}:{}},mentions:F,children:M})}),g&&n.jsx("p",{className:"sr-only","aria-live":"polite",children:g.status==="failed"?s("ui.chat.canonical.send_failure.generic"):s("ui.agents.config.state.sending")}),n.jsx(Ch,{message:e}),(e.attachments?.length??0)>0&&n.jsx(xh,{message:e,tenantId:u??null,density:w,accountId:k}),x?.attachments,l&&n.jsx(ng,{state:l}),g?.status==="failed"&&n.jsxs("div",{role:"alert","data-delivery-failed":"",className:"mt-0.5 flex flex-wrap items-center gap-x-3 gap-y-1 text-[12px]",children:[n.jsx("span",{className:"text-danger",children:s("ui.chat.canonical.send_failure.generic")}),g.onRetry&&n.jsx("button",{type:"button",onClick:g.onRetry,className:"-mx-1 rounded-sm px-1 py-1 font-medium text-accent hover:bg-row-hover hover:underline",children:s("ui.common.actions.retry")}),g.onEdit&&n.jsx("button",{type:"button",onClick:g.onEdit,className:"-mx-1 rounded-sm px-1 py-1 font-medium text-ink-muted hover:bg-row-hover hover:text-ink hover:underline",children:s("ui.chat.canonical.transcript.edit")})]}),B&&S.count>0&&n.jsxs("button",{type:"button",onClick:()=>m(e),className:"mt-1 flex items-center gap-2 rounded-md py-1 text-[12px] text-accent hover:bg-row-hover",children:[n.jsx("span",{"aria-hidden":"true",className:"flex gap-0.5",children:S.participants.map((M,R)=>n.jsx("span",{className:"flex size-5 items-center justify-center text-[10px] text-ink-muted",children:M.trim().charAt(0).toUpperCase()},`${R}:${M}`))}),s("ui.teamBridge.replies.count",{count:S.count}),S.lastReply&&n.jsxs("span",{className:"text-ink-dim",children:["·"," ",s("ui.teamBridge.replies.last",{time:Bi(S.lastReply,{hour:"numeric",minute:"2-digit"},d)})]})]}),x?.after]})]})};function pg(e,t){return e&&t>1}function kg({organizations:e,directories:t,directoryStates:i,directs:a,selfAccountId:r}){return e.map(o=>{const d=o.tenantId,l=t?.[d]??[],m=La(l,r),h=a.filter(u=>u.tenant_id===d);return{tenantId:d,name:o.name,state:i?.[d]??(l.length>0?"ready":"loading"),members:l,chiefs:m,directs:h,looseDirects:Qs(h,l,m,r)}})}function fg(e){return e.flatMap(t=>t.looseDirects)}function _s(e,t){return`${e}:${t}`}function Bs(e,t){return`team-bridge-org-${e}-${t}`}const wg=({organizations:e,scope:t,onScopeChange:i,totalUnread:a,membershipsLoading:r=!1,organizationsFailed:o=!1,unreadRefreshing:d=!1,defaultOpen:l=!1,onRetry:m})=>{me();const h=Ld(e,t),u=t===Qe?s("ui.teamBridge.scope.all"):h?.name??s("ui.teamBridge.scope.unknown");return n.jsxs(Xt,{defaultOpen:l,children:[n.jsx(Zt,{asChild:!0,children:n.jsxs("button",{type:"button","aria-label":s("ui.teamBridge.scope.trigger",{name:u}),title:u,"aria-busy":d||void 0,className:Z("group flex h-[30px] min-w-0 flex-1 items-center gap-2 rounded-md px-2","text-start text-[13px] text-ink transition-colors duration-fast","hover:bg-row-hover data-[state=open]:bg-row-hover"),children:[n.jsx(Dc,{size:16,"aria-hidden":"true",className:"shrink-0 text-ink-muted"}),n.jsx("span",{className:"min-w-0 flex-1 truncate font-medium",children:u}),n.jsx(Sc,{size:14,"aria-hidden":"true",className:"shrink-0 text-ink-dim"})]})}),n.jsxs(ei,{align:"start",className:"w-64",children:[n.jsx(xt,{children:s("ui.teamBridge.scope.label")}),n.jsxs(ya,{value:t,onValueChange:k=>i(Fd(k)),children:[n.jsxs(Ei,{value:Qe,children:[n.jsx("span",{className:"min-w-0 flex-1 truncate",children:s("ui.teamBridge.scope.all")}),a>0&&n.jsx(Ri,{count:a,"aria-label":s("ui.teamBridge.unread.count",{count:a}),title:s("ui.teamBridge.unread.count",{count:a})})]}),e.length>0&&n.jsx(Lt,{}),e.map(k=>n.jsxs(Ei,{value:k.tenantId,children:[n.jsx("span",{className:"min-w-0 flex-1 truncate",children:k.name}),k.role&&n.jsx("span",{className:"shrink-0 text-meta-sm text-ink-dim capitalize",children:k.role}),k.unread>0&&n.jsx(Ri,{count:k.unread,"aria-label":s("ui.teamBridge.unread.count",{count:k.unread}),title:s("ui.teamBridge.unread.count",{count:k.unread})})]},k.tenantId))]}),r&&n.jsx(xt,{children:s("ui.teamBridge.scope.loading")}),!r&&o&&n.jsxs(n.Fragment,{children:[n.jsx(xt,{children:s("ui.teamBridge.scope.error")}),m&&n.jsx(et,{onSelect:()=>m(),children:s("ui.teamBridge.list.retry")})]}),!r&&!o&&e.length===0&&n.jsx(xt,{children:s("ui.teamBridge.scope.empty")})]})]})};function bg(e,t){return e.agent_delivery_status==="admitted"?"admitted":e.agent_delivery_status==="rejected"?"rejected":e.agent_delivery_status==="not_screened"?"not_screened":!e.agent_delivery_status&&e.sender.kind==="agent"&&e.sender.account_id===t?"own":"unknown"}function yg(e,t){return e.name?.trim()||e.members.map(i=>i.display_label.trim()).filter(Boolean).join(", ")||t}function xg(e){const t=new Map;for(const i of e)for(const a of i)t.get(a.id)?.body&&!a.body||t.set(a.id,a);return[...t.values()].sort((i,a)=>i.seq-a.seq||(i.id<a.id?-1:i.id>a.id?1:0))}function vg(e){const t=jg(e.sender.kind);return{id:e.id,conversation_id:e.conversation_id,seq:e.seq,sender:{account_id:e.sender.account_id,kind:t??"human",display_label:e.sender.display_label,...t===null?{audit_unknown_kind:!0}:{}},body:e.body??null,body_hash:e.body_hash??void 0,origin:e.origin==="human"||e.origin==="agent"||e.origin==="system"?e.origin:"system",agent_label:e.agent_label??void 0,created_at:e.created_at,thread_root_id:e.thread_root_id??void 0,delivery_states:e.delivery_states??void 0}}function jg(e){return e==="human"||e==="agent"?e:null}function _g(e,t,i,a){if(e.audit_unknown_kind===!0)return $d(e.display_label);const r=Ni(e,t,a);if(r!==null)return r;const o=i.find(d=>d.account_id===e.account_id&&d.kind===e.kind);return o?Ni({...e,display_label:o.display_label},t,a):null}function Bg(e,t){if(e.audit_unknown_kind!==!0)return t.find(i=>i.account_id===e.account_id)}const _t="group/row relative flex h-[30px] w-full items-center gap-2 rounded-md px-2 text-start text-[13px] transition-colors duration-fast ease-out-quart",Ta=({id:e,name:t,inset:i="rail",first:a=!1})=>n.jsx("h3",{id:e,title:t,className:Z("truncate py-1 text-xs font-normal text-ink-muted",i==="bare"?"px-3":"ps-2 pe-1",!a&&"mt-2"),children:t}),ki=({children:e})=>n.jsx("p",{className:"px-2 py-1 text-[12px] text-ink-dim leading-snug",children:e}),ji={openDelayMs:1200,fastOpenDelayMs:400,toggleOnClick:!1,openOnFocus:!1},Xa=({count:e,yieldsToMenu:t=!1,register:i="attention"})=>e>0?n.jsx(Ri,{count:e,register:i,className:Z("shrink-0",t&&"group-focus-within/row:invisible group-hover/row:invisible"),"aria-label":s("ui.teamBridge.unread.count",{count:e})}):null,Za=({yieldsToMenu:e=!1})=>n.jsxs("span",{className:Z("shrink-0 text-ink-dim",e&&"group-focus-within/row:invisible group-hover/row:invisible"),title:s("ui.teamBridge.notify.muted"),children:[n.jsx(uo,{size:12,"aria-hidden":"true"}),n.jsx("span",{className:"sr-only",children:s("ui.teamBridge.notify.muted")})]});function Po(e,t){const i=!!(t&&Li(t)),a=t?.unread_count??0;return[s("ui.teamBridge.people.message",{name:e}),i?s("ui.teamBridge.notify.muted"):null,a>0?s("ui.teamBridge.unread.count",{count:a}):null].filter(r=>r!==null).join(" ")}const Qn=({id:e,title:t,children:i,empty:a,add:r,menu:o})=>(me(),n.jsxs("section",{"aria-labelledby":e,className:"px-1 pb-1",children:[n.jsxs("div",{className:"group/section flex items-center pt-3 pe-1 pb-1 ps-2",children:[n.jsx("h2",{id:e,className:"min-w-0 flex-1 truncate font-medium text-meta text-ink-dim tracking-wide",children:t}),o&&n.jsxs(Xt,{children:[n.jsx(Zt,{asChild:!0,children:n.jsx("button",{type:"button","aria-label":o.label,title:o.label,className:"flex size-5 items-center justify-center rounded-sm text-ink-dim opacity-0 transition-opacity duration-fast hover:bg-row-hover hover:text-ink focus-visible:opacity-100 group-hover/section:opacity-100 data-[state=open]:opacity-100",children:n.jsx(Pi,{size:13,"aria-hidden":"true"})})}),n.jsx(ei,{align:"start",side:"right",className:"border-transparent shadow-lg",children:o.items.map(d=>n.jsxs(et,{onSelect:d.onSelect,children:[d.icon,d.label]},d.key))})]}),r&&n.jsx("button",{type:"button",onClick:r.onAdd,"aria-label":r.label,title:r.label,className:"flex size-5 items-center justify-center rounded-sm text-ink-dim opacity-0 transition-opacity duration-fast hover:bg-row-hover hover:text-ink focus-visible:opacity-100 group-hover/section:opacity-100",children:n.jsx(za,{size:13,"aria-hidden":"true"})})]}),a?a.onCreate?n.jsx("button",{type:"button",onClick:a.onCreate,className:"w-full rounded-md px-2 py-1 text-start text-[12px] text-ink-dim leading-snug transition-colors duration-fast ease-out-quart hover:bg-row-hover hover:text-ink-muted",children:a.text}):n.jsx("p",{className:"px-2 py-1 text-[12px] text-ink-dim leading-snug",children:a.text}):i]})),er=({kind:e})=>{const t=e==="group"?Nt:e==="dm"?_l:$i;return n.jsx(t,{size:15,"aria-hidden":"true",className:"shrink-0"})},Ng=({hasDraft:e=!1,conversation:t,selected:i,selfAccountId:a,title:r,organizationName:o,onSelect:d,onArchive:l})=>{const m=me(),h=r??bi(t,a)??s("ui.teamBridge.list.untitled"),u=$a(t),k=t.unread_count,w=Cg(t.last_message_at,m);return n.jsxs("li",{className:"group/row relative",children:[n.jsxs("button",{type:"button",onClick:d,title:w||void 0,"aria-current":i?"page":void 0,"data-conversation-id":t.id,"data-conversation-builtin":t.builtin,className:Z(_t,o&&"h-auto min-h-[38px] py-1",i?Di:k>0?"font-medium text-ink hover:bg-row-hover":"text-ink-muted hover:bg-row-hover hover:text-ink"),children:[n.jsx(er,{kind:t.kind}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col",children:[n.jsx("span",{className:"truncate",children:h}),o&&n.jsx("span",{className:"truncate font-normal text-meta-sm text-ink-dim",children:o})]}),u&&n.jsx(Gt,{variant:"attentionQuiet",className:"shrink-0",children:s("ui.teamBridge.preview.chip")}),Li(t)&&n.jsx(Za,{yieldsToMenu:!!l}),e&&n.jsxs("span",{title:s("ui.teamBridge.drafts.indicator"),className:"shrink-0 text-ink-dim",children:[n.jsx(qi,{size:12,"aria-hidden":"true"}),n.jsx("span",{className:"sr-only",children:s("ui.teamBridge.drafts.indicator")})]}),n.jsx(Xa,{count:k,yieldsToMenu:!!l,register:Fa(t)})]}),l&&n.jsx(Sg,{name:h,onArchive:l})]})},Sg=({name:e,onArchive:t})=>n.jsxs(Xt,{children:[n.jsx(Zt,{asChild:!0,children:n.jsx("button",{type:"button","aria-label":s("ui.teamBridge.row.menu",{name:e}),className:"absolute end-1.5 top-[3px] flex size-6 items-center justify-center rounded-sm text-ink-dim opacity-0 transition-opacity duration-fast hover:bg-row-hover hover:text-ink focus-visible:opacity-100 group-hover/row:opacity-100 group-focus-within/row:opacity-100 data-[state=open]:opacity-100",children:n.jsx(Pi,{size:14,"aria-hidden":"true"})})}),n.jsx(ei,{align:"start",side:"right",className:"border-transparent shadow-lg",children:n.jsxs(et,{onSelect:t,children:[n.jsx(Ht,{size:14,"aria-hidden":"true"}),s("ui.teamBridge.archive.menu.archive")]})})]}),Oo=({label:e,onStartGroup:t})=>n.jsxs(Xt,{children:[n.jsx(Zt,{asChild:!0,children:n.jsx("button",{type:"button","aria-label":s("ui.teamBridge.row.menu",{name:e}),className:"absolute end-1.5 flex size-6 items-center justify-center rounded-sm text-ink-dim opacity-0 transition-opacity duration-fast hover:bg-row-hover hover:text-ink focus-visible:opacity-100 group-hover/row:opacity-100 group-focus-within/row:opacity-100 data-[state=open]:opacity-100",children:n.jsx(Pi,{size:14,"aria-hidden":"true"})})}),n.jsx(ei,{align:"start",side:"right",className:"border-transparent shadow-lg",children:n.jsxs(et,{onSelect:t,children:[n.jsx(Nt,{size:14,"aria-hidden":"true"}),s("ui.teamBridge.row.start_group")]})})]}),Ns=({hasDraft:e=!1,member:t,selfAccountId:i,identityKnown:a,selected:r,dm:o,readOnly:d,onSelect:l,onStartGroup:m})=>{me();const h=c.useId(),u=Ye(t),k=a?Da(t,i):"unknown",w=n.jsx(yn,{member:t,kind:"human",label:u,size:20,selected:r,className:"rounded-[5px] text-[10px]"});if(k==="self")return n.jsx("li",{children:n.jsx(Dn,{member:t,label:u,kind:"human",onMessage:l,canMessage:!1,...ji,children:n.jsxs("button",{type:"button",className:Z(_t,"cursor-default text-ink-muted"),children:[w,n.jsx("span",{className:"min-w-0 flex-1 truncate",children:s("ui.teamBridge.people.self_named",{name:u})})]})})});const y=k==="unknown"?s("ui.teamBridge.people.identity_loading"):k==="unavailable"&&!o?s("ui.teamBridge.people.bridge_off"):null;if(y)return n.jsx("li",{children:n.jsx(Dn,{member:t,label:u,kind:"human",onMessage:l,canMessage:!d&&k!=="unavailable"&&k!=="unknown",...ji,children:n.jsxs("button",{type:"button","aria-disabled":"true","aria-describedby":h,className:Z(_t,"h-auto min-h-[30px] cursor-default py-1 text-ink-muted"),children:[n.jsx("span",{className:"opacity-60",children:w}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col text-start",children:[n.jsx("span",{className:"truncate",children:u}),n.jsx("span",{id:h,className:"truncate text-meta-sm text-ink-dim",children:y})]})]})})});const f=o?.unread_count??0,x=!d&&k!=="unavailable";return n.jsxs("li",{className:"group/row relative flex items-center",children:[n.jsx(Dn,{member:t,label:u,kind:"human",onMessage:l,canMessage:(!!o||!d)&&k!=="unavailable"&&k!=="unknown",...ji,children:n.jsxs("button",{type:"button",onClick:l,"aria-current":r?"page":void 0,"data-team-bridge-person":t.account_id,"aria-label":Po(u,o),className:Z(_t,r?Di:f>0?"font-medium text-ink hover:bg-row-hover":"text-ink-muted hover:bg-row-hover hover:text-ink"),children:[w,n.jsx("span",{className:"min-w-0 flex-1 truncate",children:u}),k==="paused"&&n.jsx("span",{className:"shrink-0 text-meta-sm text-ink-dim",children:s("ui.teamBridge.people.paused")}),e&&n.jsxs("span",{title:s("ui.teamBridge.drafts.indicator"),className:"shrink-0 text-ink-dim",children:[n.jsx(qi,{size:12,"aria-hidden":"true"}),n.jsx("span",{className:"sr-only",children:s("ui.teamBridge.drafts.indicator")})]}),!!(o&&Li(o))&&n.jsx(Za,{yieldsToMenu:x}),n.jsx(Xa,{count:f,yieldsToMenu:!0,register:o?Fa(o):"attention"})]})}),x&&n.jsx(Oo,{label:u,onStartGroup:()=>m({kind:"human",accountId:t.account_id,label:u})})]})},Ss=({hasDraft:e=!1,chief:t,label:i,selected:a,dm:r,readOnly:o,onSelect:d,onStartGroup:l})=>{me();const m=r?.unread_count??0;return n.jsxs("li",{className:"group/row relative flex items-center",children:[n.jsx(Dn,{member:t.person,label:i,kind:"agent",onMessage:d,canMessage:!!r||!o,...ji,children:n.jsxs("button",{type:"button",onClick:d,"aria-current":a?"page":void 0,"data-team-bridge-chief":t.person.account_id,"aria-label":Po(i,r),className:Z(_t,a?Di:m>0?"font-medium text-ink hover:bg-row-hover":"text-ink-muted hover:bg-row-hover hover:text-ink"),children:[n.jsx(yn,{member:t.person,kind:"agent",endpointId:t.endpointId,label:i,size:20,selected:a,className:"rounded-[5px] text-accent"}),n.jsx("span",{className:"min-w-0 flex-1 truncate",children:i}),t.paused&&n.jsx("span",{className:"shrink-0 text-meta-sm text-ink-dim",children:s("ui.teamBridge.people.paused")}),e&&n.jsxs("span",{title:s("ui.teamBridge.drafts.indicator"),className:"shrink-0 text-ink-dim",children:[n.jsx(qi,{size:12,"aria-hidden":"true"}),n.jsx("span",{className:"sr-only",children:s("ui.teamBridge.drafts.indicator")})]}),!!(r&&Li(r))&&n.jsx(Za,{yieldsToMenu:!o}),n.jsx(Xa,{count:m,yieldsToMenu:!0,register:r?Fa(r):"attention"})]})}),!o&&n.jsx(Oo,{label:i,onStartGroup:()=>l({kind:"agent",accountId:t.person.account_id,endpointId:t.endpointId,label:i})})]})},Tn=({label:e})=>n.jsx("div",{className:"flex h-[30px] items-center px-2",children:n.jsx(qe,{size:"sm",label:e})});function Cs(e,t,i){return e?.type===t&&e.accountId===i}function Cg(e,t){if(!e)return"";const i=Date.parse(e);if(Number.isNaN(i))return"";const a=Math.round((i-Date.now())/6e4),r=Math.round(a/60),o=Math.abs(a)<60?jt(a,"minute",{numeric:"auto"},t):Math.abs(r)<24?jt(r,"hour",{numeric:"auto"},t):jt(Math.round(r/24),"day",{numeric:"auto"},t),d=new Intl.DateTimeFormat(t,{dateStyle:"medium",timeStyle:"short"}).format(new Date(i));return`${o} · ${d}`}const Ig=48,Eg="[data-radix-scroll-area-viewport]";function Ki({resetKey:e,contentKey:t,scrollElement:i="radix",preserveAnchor:a=!1,rowIds:r,rowSelector:o="[data-message-id]",liveEdgeAvailable:d=!0}){const l=c.useRef(null),m=c.useRef(!0),h=c.useRef(d),u=c.useRef(null),k=c.useRef([]),[w,y]=c.useState(0),f=c.useCallback(()=>i==="root"?l.current:l.current?.querySelector(Eg)??null,[i]),x=c.useCallback(()=>{if(!a)return;const B=f();if(!B)return;const T=B.getBoundingClientRect(),I=[...B.querySelectorAll(o)].find(K=>{const E=K.getBoundingClientRect();return E.bottom>T.top&&E.top<T.bottom});u.current=I?{id:I.dataset.messageId??"",offset:I.getBoundingClientRect().top-T.top}:null},[a,f,o]),p=c.useCallback(()=>{if(!a||!u.current)return;const B=f();if(!B)return;const T=[...B.querySelectorAll(o)].find(I=>I.dataset.messageId===u.current?.id);T&&(B.scrollTop+=T.getBoundingClientRect().top-B.getBoundingClientRect().top-u.current.offset)},[a,f,o]),g=c.useCallback(()=>{const B=f();B&&(B.scrollTop=B.scrollHeight)},[f]),j=c.useCallback(()=>{d&&(m.current=!0,a&&y(0),g())},[g,a,d]),S=c.useCallback(()=>{m.current=!1,x()},[x]),F=c.useCallback(()=>m.current&&d,[d]);return c.useLayoutEffect(()=>{m.current=d,h.current=d,u.current=null,k.current=r??[],a&&y(0),g()},[e,g]),c.useLayoutEffect(()=>{const B=d&&!h.current;if(h.current=d,d?B&&(m.current=!0,u.current=null,a&&y(0)):m.current=!1,m.current)g();else if(p(),a&&r){const T=k.current.at(-1),I=T?r.indexOf(T):-1;I>=0&&I<r.length-1&&y(K=>K+r.length-I-1)}k.current=r??[]},[t,g,d]),c.useEffect(()=>{const B=f();if(!B)return;const T=()=>{m.current=d&&B.scrollHeight-B.scrollTop-B.clientHeight<=Ig,m.current?(u.current=null,a&&y(0)):x()},I=L=>{L.target instanceof HTMLImageElement&&(m.current?g():p())};B.addEventListener("scroll",T,{passive:!0}),B.addEventListener("load",I,!0);const K=B.firstElementChild,E=typeof ResizeObserver=="function"&&K?new ResizeObserver(()=>{m.current?g():p()}):null;if(E&&K){E.observe(K);for(const L of K.children)E.observe(L)}return E?.observe(B),()=>{B.removeEventListener("scroll",T),B.removeEventListener("load",I,!0),E?.disconnect()}},[f,g,e,d,a,x,p]),{rootRef:l,pin:j,hold:S,isPinned:F,newMessages:w}}const bn=O.string().min(1),Oe=O.string().nullish(),Pn=O.number().int().nullish(),Rg=O.object({account_id:bn,kind:O.string(),display_label:O.string().default(""),role:O.string().default(""),state:O.string().default(""),joined_seq:Pn,notify:Oe}).passthrough(),Tg=O.object({account_id:bn,display_label:O.string().default(""),reason:O.string().default("agent_owner"),agent_member_key:O.string().default("")}).passthrough(),Mg=O.object({id:bn,tenant_id:bn,kind:O.string(),name:Oe,topic:Oe,visibility:O.string().default(""),status:O.string().default(""),builtin:Oe,last_message_at:Oe,latest_seq:O.number().int().default(0),last_thread_root_id:Oe,members:O.array(Rg).default([]),member_count:O.number().int().default(0),viewers:O.array(Tg).nullish(),agent:O.object({account_id:bn,display_label:O.string().default(""),state:O.string(),joined_seq:O.number().int(),left_seq:Pn}).passthrough()}).passthrough(),Ag=O.object({conversations:O.array(Mg),next_cursor:Oe,has_more:O.boolean().default(!1)}).passthrough(),zg=O.object({id:bn,mime:O.string().default(""),size:O.number().int().default(0),width:Pn,height:Pn,sha256:O.string().default(""),state:O.string().default(""),expires_at:Oe}).passthrough(),Ma=O.object({id:bn,conversation_id:bn,seq:O.number().int(),sender:O.object({account_id:bn,kind:O.string(),display_label:O.string().default("")}).passthrough(),body:Oe,body_hash:Oe,origin:O.string().default(""),agent_label:Oe,created_at:O.string(),thread_root_id:Oe,reply_count:Pn,last_reply_at:Oe,reply_participants:O.array(O.string()).nullish(),attachments:O.array(zg).nullish(),attachment_count:Pn,agent_delivery_status:Oe,agent_verdict_at:Oe,delivery_states:O.array(Bl).max(64).nullish().catch(void 0)}).passthrough(),Dg=O.object({messages:O.array(Ma),next_before_seq:Pn,has_more:O.boolean().default(!1)}).passthrough(),Pg=O.object({root:Ma,replies:O.array(Ma),next_after_seq:Pn,next_before_seq:O.number().int().positive().nullish(),order:O.enum(["asc","desc"]).optional(),has_more:O.boolean().default(!1)}).passthrough(),ka=({accountId:e,tenantId:t})=>({expected_account_id:e,tenant_id:t}),nr={async conversations(e,t){return Ag.parse(await da({op:"team_bridge.owner_audit.conversations",...ka(e),limit:50,...t===void 0?{}:{cursor:t}}))},async messages(e,t,i){return Dg.parse(await da({op:"team_bridge.owner_audit.messages",...ka(e),conversation_id:t,limit:50,...i===void 0?{}:{before_seq:i}}))},async replies(e,t,i,a,r){return Pg.parse(await da({op:"team_bridge.owner_audit.replies",...ka(e),conversation_id:t,message_id:i,limit:r?.limit??50,...a===void 0?{}:{after_seq:a},...r?.beforeSeq===void 0?{}:{before_seq:r.beforeSeq},...r?.order===void 0?{}:{order:r.order}}))}};class qo extends Error{}function Og(e){if(e.order===void 0)throw new qo;if(e.order!=="desc")throw new Error("Thread response order mismatch");return e}function qg(e){return e instanceof qo||e instanceof fn&&e.status===422&&e.code==="invalid_request"}function Lg(e,t){const i=t==="desc"?[...e].reverse():e,a=new Map;for(const r of i)for(const o of r.replies)a.set(o.id,o);return[...a.values()]}function Is(e,t,i,a,r){if(e.root.id!==t.rootId||e.root.conversation_id!==t.conversationId||e.root.thread_root_id||e.replies.some(o=>o.id===t.rootId||o.conversation_id!==t.conversationId||o.thread_root_id!==t.rootId))throw new Error("Thread response identity mismatch");if(i==="desc"&&Og(e),e.replies.length>r||new Set(e.replies.map(o=>o.id)).size!==e.replies.length||e.replies.some((o,d)=>{const l=e.replies[d-1];return!Number.isSafeInteger(o.seq)||o.seq<=0||l&&(l.seq>o.seq||l.seq===o.seq&&l.id>=o.id)}))throw new Error("Thread response page ordering mismatch");if(a!==void 0&&e.replies.some(o=>i==="desc"?o.seq>=a:o.seq<a))throw new Error("Thread response cursor boundary mismatch");if(e.has_more){const o=i==="desc"?e.replies[0]?.seq:(e.replies.at(-1)?.seq??-1)+1,d=i==="desc"?e.next_before_seq:e.next_after_seq;if(o===void 0||!Number.isSafeInteger(o)||o<=0||d!==o)throw new Error("Thread response cursor mismatch")}return e}function Lo({queryKey:e,identity:t,read:i,canEvict:a,isAtLiveEdge:r,poll:o=!1,enabled:d=!0,retry:l=!1,retryDelay:m,refetchOnWindowFocus:h,refetchOnReconnect:u,retryOnMount:k}){const w=at(),y=["team-bridge","reply-window-negotiation",JSON.stringify(e)],{data:f}=Ha({queryKey:y,queryFn:()=>"desc",initialData:"desc",enabled:!1,gcTime:0}),x=[...e,f],p=JSON.stringify(x),g=c.useRef({key:p,pendingNewer:!1});g.current.key!==p&&(g.current={key:p,pendingNewer:!1});const j=Ka({queryKey:x,initialPageParam:void 0,maxPages:6,gcTime:0,enabled:d,retry:l,retryDelay:m,refetchOnWindowFocus:h,refetchOnReconnect:u,retryOnMount:k,queryFn:async({pageParam:B,signal:T})=>{const I=g.current,K=()=>{if(T.aborted||g.current!==I||I.key!==p)throw new An({revert:!0})};K();const E=w.getQueryData(x),L=E?.pages.reduce((N,U)=>Math.max(N,U.replies.at(-1)?.seq??0),0)??0,q=()=>{const N=I.upperBound??L+1;if(!Number.isSafeInteger(N)||N<=0)throw new Error("Thread upper boundary is not representable");return N};if(I.attempt?.signal!==T){const N=w.getQueryState(x)?.fetchMeta?.fetchMore?.direction==="forward"&&B!==void 0;f==="desc"&&!N&&L>0&&(!(r?.()??!0)||typeof E?.pageParams[0]=="number"||I.upperBound!==void 0)&&(I.upperBound=q()),I.attempt={signal:T,older:N,first:!0,live:f==="desc"&&I.upperBound===void 0,hadRows:L>0}}const z=I.attempt,X=z.first;z.first=!1;const v=X&&!z.older&&f==="desc"?I.upperBound??B:B,M=N=>{const U=w.getQueryData(x),$=new Map(U?.pages.flatMap(Q=>Q.replies.map(Y=>[Y.id,Y.seq]))??[]);if(N.replies.some(Q=>$.has(Q.id)&&$.get(Q.id)!==Q.seq))throw new Error("Thread response sequence identity mismatch")};let R;try{if(X&&!z.older&&f==="desc"&&v!==void 0){const N=Is(await i(f,void 0,1,T),t,f,void 0,1);K(),M(N);const U=N.replies.at(-1);I.latest=U?{id:U.id,seq:U.seq}:void 0,I.pendingNewer=!!(U&&U.seq>L)}R=Is(await i(f,v,50,T),t,f,v,50),K(),M(R)}catch(N){throw f==="desc"&&X&&!E?.pages.length&&v===void 0&&!T.aborted&&qg(N)?(w.setQueryData(y,"legacy"),new An({revert:!0})):N}if(X&&z.live){const N=R.replies.at(-1);I.latest=N?{id:N.id,seq:N.seq}:void 0}if(!z.older&&z.live&&z.hadRows&&!(r?.()??!0))throw I.upperBound=q(),I.pendingNewer=!!(I.latest&&I.latest.seq>L),queueMicrotask(()=>{if(g.current!==I||T.aborted)return;const N=w.getQueryCache().find({queryKey:x,exact:!0});N&&N.getObserversCount()>0&&w.refetchQueries({queryKey:x,exact:!0},{cancelRefetch:!0})}),new An({revert:!0});const H=w.getQueryData(x);if(z.older&&H&&H.pages.length>=6&&a&&!a(H.pages[0]))throw new An({revert:!0});return R},getNextPageParam:(B,T,I)=>{if(!B.has_more)return;const K=f==="desc"?B.next_before_seq:B.next_after_seq;if(!(K==null||!Number.isSafeInteger(K)||K<0)&&!(f==="desc"&&K===0))return I===void 0||(f==="desc"?K<I:K>I)?K:void 0},refetchInterval:o?8e3:!1}),S=j.error instanceof fn?j.error.status:void 0,F=!!(j.data&&j.isFetchNextPageError&&(S===null||typeof S=="number"&&Number.isInteger(S)&&S>=500&&S<=599));return{...j,mode:f,keepWindowOnError:F,replies:Lg(j.data?.pages??[],f),pendingNewer:g.current.pendingNewer,latestPageAvailable:f==="desc"&&g.current.upperBound===void 0&&!g.current.pendingNewer&&j.data?.pageParams[0]===void 0,resetLatest:()=>g.current.key!==p?Promise.resolve():(g.current={key:p,pendingNewer:!1},w.resetQueries({queryKey:x,exact:!0}))}}function Fo(e,t){if(!t)return!1;const i=t.getBoundingClientRect(),a=new Set(e.replies.map(r=>r.id));return![...t.querySelectorAll("[data-message-id]")].some(r=>{const o=r.getBoundingClientRect();return a.has(r.dataset.messageId??"")&&o.bottom>i.top&&o.top<i.bottom})}const Fg=new Set(["conversation_not_found","account_mismatch","expected_account_mismatch","deadline_exceeded","owner_audit_unavailable"]);function tr(e){const t=e instanceof Error?e.message:"",i=Lr(e)?"cancelled":t==="Owner audit authority changed"?"audit-owner":t==="Team Bridge read owner changed"?"bridge-owner":t==="Team Bridge read authority changed"?"bridge-authority":t==="Account authority changed"||t==="Account authority unresolved"?"credential-authority":e instanceof Error&&e.name==="ZodError"?"schema":e instanceof fn?"desktop":"other",a=e instanceof fn?Object.getOwnPropertyDescriptor(e,"status")?.value:void 0;return{category:i,errorClass:Lr(e)?"CancelledError":e instanceof fn?"DesktopControlError":e instanceof Error&&e.name==="ZodError"?"ZodError":e instanceof Error?"Error":"unknown",status:typeof a=="number"&&Number.isInteger(a)&&a>=100&&a<=599?a:null,code:e instanceof fn&&e.code?Fg.has(e.code)?e.code:"other":null}}function $o(e){const t=tr(e);return t.category==="credential-authority"||t.status===401||t.code==="account_mismatch"||t.code==="expected_account_mismatch"?"auth":t.status===403?"permission":t.status===404||t.code==="conversation_not_found"?"not-found":t.status!==null&&t.status>=500?"unavailable":"error"}function ir(e,t){const i=tr(t);return e<1&&i.category==="desktop"&&i.status!==null&&i.status>=500}const ar=250,$g=1e3;function Kg(e,t){return new Promise(i=>{let a=()=>{};const r=l=>{clearTimeout(d),a(),i(l)},o=()=>{const l=Oa(e);l.epoch>t&&l.accountId&&r(!0)},d=setTimeout(()=>r(!1),$g);a=Kd(e,o),o()})}function rr(e,t){const i=at(),a=Ks(),r=c.useCallback(w=>i.getQueryCache().subscribe(w),[i]),o=c.useCallback(()=>JSON.stringify(Nl(i.getQueryData(zn.statusFor(e.accountId)))),[i,e.accountId]),d=c.useSyncExternalStore(r,o,o),l=`${a.token}:${d}`,m=a.accountId===e.accountId&&!!e.tenantId&&i.getQueryData(zn.statusFor(e.accountId))?.account_id===e.accountId,h=c.useMemo(()=>({accountId:e.accountId,tenantId:e.tenantId,operation:t,remaining:20}),[e.accountId,e.tenantId,t]),u=c.useRef(0);return{read:async(w,y)=>{const f=a.token,x=()=>!y.aborted&&Hs(i)===f&&Oa(i).accountId===e.accountId&&o()===d;try{if(!x())throw new Error("Owner audit authority changed");const p=await Sl(i,e.accountId,w);if(!x())throw new Error("Owner audit authority changed");return u.current=0,p}catch(p){if(h.remaining>0){h.remaining-=1;const j=p instanceof fn?Object.getOwnPropertyDescriptor(p,"status")?.value:void 0,S=typeof j=="number"&&Number.isInteger(j)&&j>=100&&j<=599?`${Math.floor(j/100)}xx`:"unknown";try{console.warn("[owner-audit-read]",JSON.stringify({operation:t,statusClass:S}))}catch{}}if(!x())throw new An({revert:!0});const g=tr(p);throw["cancelled","audit-owner","bridge-owner","bridge-authority","credential-authority"].includes(g.category)?new An({revert:!0}):g.status===401&&++u.current===1&&await Kg(i,a.epoch)?new An({revert:!0}):p}},authorityToken:l,enabled:m}}function Ug(e){const{read:t,authorityToken:i,enabled:a}=rr(e,"conversations");return{...Ka({queryKey:["team-bridge","owner-audit",e.accountId,e.tenantId,i,"conversations"],initialPageParam:void 0,queryFn:({pageParam:o,signal:d})=>t(()=>nr.conversations(e,o),d),getNextPageParam:(o,d,l)=>o.has_more&&o.next_cursor&&o.next_cursor!==l?o.next_cursor:void 0,enabled:a,gcTime:0,retry:ir,retryDelay:ar,refetchOnWindowFocus:!1,refetchOnReconnect:!1,retryOnMount:!1}),auditAuthRequired:!a}}function Hg(e,t,i){const{read:a,authorityToken:r,enabled:o}=rr(e,"messages"),d=at(),l=["team-bridge","owner-audit",e.accountId,e.tenantId,r,t,"messages"];return{...Ka({queryKey:l,maxPages:6,initialPageParam:void 0,queryFn:async({pageParam:h,signal:u})=>{const k=await a(()=>nr.messages(e,t,h),u),w=d.getQueryData(l);if(h!==void 0&&w&&w.pages.length>=6&&i&&!i(w.pages[0]))throw new An({revert:!0});return k},getNextPageParam:(h,u,k)=>h.has_more&&h.next_before_seq!=null&&(k===void 0||h.next_before_seq<k)?h.next_before_seq:void 0,enabled:o,gcTime:0,retry:ir,retryDelay:ar,refetchOnWindowFocus:!1,refetchOnReconnect:!1,retryOnMount:!1}),auditAuthRequired:!o,refetchLatest:()=>d.resetQueries({queryKey:l,exact:!0})}}function Gg(e,t,i,a,r){const{read:o,authorityToken:d,enabled:l}=rr(e,"replies");return{...Lo({queryKey:["team-bridge","owner-audit",e.accountId,e.tenantId,d,t,"replies",i],identity:{conversationId:t,rootId:i},read:(h,u,k,w)=>o(()=>nr.replies(e,t,i,h==="desc"?void 0:u??0,h==="desc"?{beforeSeq:u,order:"desc",limit:k}:void 0),w),canEvict:a,enabled:l,retry:ir,retryDelay:ar,refetchOnWindowFocus:!1,refetchOnReconnect:!1,retryOnMount:!1,isAtLiveEdge:r}),auditAuthRequired:!l}}const Wt=e=>e!=="loading"&&e!=="ready",Ko=c.createContext(null);function sr(e){if(e.auditAuthRequired)return"auth";if(e.isPending)return"loading";if(e.isError){const t=$o(e.error);if(!e.data||t==="auth"||t==="permission"||t==="not-found")return t}return"ready"}const Uo=e=>yg(e,s("ui.ownerAudit.unnamed"));function zi({state:e="error",retry:t,inset:i="px-3"}){return n.jsxs("div",{role:"alert",className:Z("space-y-2 text-sm text-danger",i),children:[n.jsx("p",{children:s(e==="auth"?"ui.ownerAudit.auth_required":e==="permission"?"ui.ownerAudit.permission_refused":e==="not-found"?"ui.ownerAudit.not_found":e==="unavailable"?"ui.ownerAudit.unavailable":"ui.ownerAudit.error")}),e==="auth"&&n.jsx(V,{variant:"ghost",asChild:!0,children:n.jsx("a",{href:"#/settings?section=radient",children:s("ui.ownerAudit.sign_in")})}),(e==="error"||e==="unavailable")&&n.jsx(V,{variant:"ghost",onClick:t,children:s("ui.ownerAudit.retry")})]})}function Wg({conversations:e,state:t,selectedId:i,onSelect:a,retry:r,hasMore:o=!1,loadingMore:d=!1,loadMore:l}){return me(),t==="loading"?n.jsx("output",{className:"px-3 py-2 text-sm text-ink-muted",children:s("ui.ownerAudit.loading")}):Wt(t)?n.jsx(zi,{state:t,retry:r}):n.jsxs(n.Fragment,{children:[e.length===0&&n.jsx("p",{className:"px-3 py-2 text-sm text-ink-muted",children:s("ui.ownerAudit.empty_list")}),n.jsx("ul",{children:e.map(m=>n.jsx("li",{children:n.jsxs("button",{type:"button","aria-current":i===m.id?"page":void 0,className:Z(_t,"text-ink-muted hover:bg-row-hover hover:text-ink",i===m.id&&"bg-row-selected text-ink"),onClick:()=>a(m),children:[n.jsx(er,{kind:m.kind}),n.jsx("span",{className:"min-w-0 flex-1 truncate",children:Uo(m)})]})},m.id))}),o&&n.jsx(V,{variant:"ghost",disabled:d,onClick:l,children:s("ui.ownerAudit.more")})]})}function Jg({scope:e,selectedId:t,onSelect:i}){const a=Ug(e),r=[...new Map(a.data?.pages.flatMap(o=>o.conversations).map(o=>[o.id,o])??[]).values()];return n.jsx(Wg,{conversations:r,selectedId:t,onSelect:i,state:sr(a),retry:()=>void a.refetch(),hasMore:a.hasNextPage,loadingMore:a.isFetchingNextPage,loadMore:()=>void a.fetchNextPage()})}function Vg(){return{named:(e,t)=>s("ui.teamBridge.chief.label",{agent:e,person:t}),unnamed:e=>s("ui.teamBridge.chief.unnamed",{person:e})}}const Qg={admitted:{variant:"success",copy:"ui.ownerAudit.admitted"},rejected:{variant:"danger",copy:"ui.ownerAudit.rejected"},not_screened:{variant:"info",copy:"ui.ownerAudit.not_screened"},unknown:{variant:"neutral",copy:"ui.ownerAudit.unknown_status"}};function Ho({conversation:e,messages:t,people:i,renderReplies:a,density:r}){const o=new Map(t.map(l=>[l.id,l])),d=Vg();return n.jsx(Ai,{messages:t.map(vg),labelFor:l=>_g(l,i,e.members,d),profileFor:l=>Bg(l,i),tenantId:e.tenant_id,density:r,arrivalKey:`owner-audit:${e.tenant_id}:${e.id}`,arrivalsEnabled:!1,decorate:l=>{const m=o.get(l.id);if(!m)return;const h=bg(m,e.agent.account_id),u=h==="own"?null:Qg[h],k=m.attachments?.length??m.attachment_count??0;return{badge:u&&n.jsx(Gt,{variant:u.variant,children:s(u.copy)}),withheldCopy:s("ui.ownerAudit.body_unavailable"),attachments:k>0?n.jsx("ul",{className:"mt-1 space-y-0.5 text-[12px] text-ink-muted",children:m.attachments?.length?m.attachments.map(w=>n.jsx("li",{children:w.state==="expired"?s("ui.ownerAudit.attachment_expired"):s("ui.ownerAudit.attachment_unavailable")},w.id)):n.jsx("li",{children:s("ui.ownerAudit.attachment_unavailable")})}):void 0,after:a&&(m.reply_count??0)>0?a(m):void 0}}})}function Yg({conversation:e}){me();const t=e.agent.state;return t==="active"?n.jsx("p",{className:"mx-5 mt-4 text-meta text-ink-dim",children:s("ui.ownerAudit.active")}):n.jsx("p",{className:"mx-5 mt-4 border-hairline border-t pt-3 text-ink text-sm",children:t==="left"?s("ui.ownerAudit.left"):t==="removed"?s("ui.ownerAudit.removed"):s("ui.ownerAudit.window_unconfirmed")})}const Es=Intl.ListFormat;function Xg({names:e,locale:t}){const i=Es?new Es(t,{style:"short",type:"unit"}).formatToParts(e.map(o=>o.name)):e.map(o=>({type:"element",value:o.name})),a=[];let r="";for(const o of i)o.type==="literal"?r+=o.value:(a.push(r),r="");return n.jsx("ul",{className:"inline",children:e.map((o,d)=>n.jsxs("li",{className:"inline",children:[d>0&&n.jsx("span",{"aria-hidden":"true",children:a[d]}),n.jsx("span",{className:"text-ink",children:o.name})]},o.key))})}function Zg({conversation:e,messages:t,state:i,retry:a,hasMore:r=!1,loadingMore:o=!1,loadMore:d,renderReplies:l,readerAccountId:m,people:h=Go,latestPageAvailable:u=!0,scrollHostRef:k}){const w=me(),y=Ki({resetKey:`${e.tenant_id}:${e.id}:${i}`,contentKey:`${t.length}:${t[0]?.id??""}:${t.at(-1)?.id??""}`,scrollElement:"root",preserveAnchor:!0,rowIds:t.map(p=>p.id),liveEdgeAvailable:u}),f=c.useMemo(()=>Ga(y.rootRef,k),[y.rootRef,k]),x=(e.viewers??[]).filter(p=>p.account_id!==m);return n.jsxs("section",{className:"relative flex min-h-0 flex-1 flex-col","aria-label":s("ui.ownerAudit.title"),children:[n.jsxs("header",{className:"shrink-0 px-5 pb-2",children:[n.jsxs("div",{className:"flex h-11 items-center gap-2",children:[n.jsx("span",{className:"text-ink-dim",children:n.jsx(er,{kind:e.kind})}),n.jsx("h2",{className:"min-w-0 flex-1 truncate font-semibold text-[15px] text-ink",children:Uo(e)}),!Wt(i)&&n.jsxs(V,{variant:"ghost",size:"sm",onClick:a,children:[n.jsx(Cl,{"aria-hidden":"true"}),s("ui.ownerAudit.refresh")]})]}),n.jsxs(yi,{variant:"neutral",icon:n.jsx(Ud,{"aria-hidden":"true"}),className:Z(Il,"items-start border-transparent"),children:[n.jsxs("p",{className:"text-body-sm text-ink-muted",children:[n.jsx("span",{children:s("ui.ownerAudit.read_only")}),n.jsx("span",{className:"ms-1",children:s("ui.ownerAudit.disclosure")})]}),x.length>0&&n.jsxs("div",{className:"text-body-sm text-ink-muted",children:[n.jsx("span",{className:"me-1",children:s("ui.ownerAudit.viewers_label")}),n.jsx(Xg,{locale:w,names:x.map((p,g)=>({key:`${p.account_id}:${p.agent_member_key}:${g}`,name:p.display_label||s("ui.ownerAudit.unknown_sender")}))})]})]})]}),i==="ready"&&r&&n.jsxs("aside",{className:"flex shrink-0 flex-wrap items-center gap-x-2 border-b border-hairline px-5 py-2",children:[n.jsx("p",{className:"text-meta text-ink-dim",children:s("ui.ownerAudit.page_cutoff")}),n.jsx(V,{variant:"ghost",size:"sm",onClick:d,disabled:o,children:s("ui.ownerAudit.older")})]}),n.jsx("div",{ref:f,className:"min-h-0 flex-1 overflow-auto pb-5",style:{overflowAnchor:"none"},children:n.jsx("div",{className:"min-h-full",children:i==="loading"?n.jsx("output",{className:"block px-5 py-8 text-[13px] text-ink-muted",children:s("ui.ownerAudit.loading")}):Wt(i)?n.jsx("div",{className:"py-4",children:n.jsx(zi,{state:i,retry:a,inset:"px-5"})}):n.jsxs(n.Fragment,{children:[t.length===0?n.jsx("p",{className:"px-5 py-8 text-[13px] text-ink-muted",children:s("ui.ownerAudit.empty_history")}):n.jsx(Ko.Provider,{value:y.hold,children:n.jsx(Ho,{conversation:e,messages:t,people:h,renderReplies:l})}),n.jsx(Yg,{conversation:e})]})})}),i==="ready"&&(u?y.newMessages>0?n.jsx(V,{className:"absolute bottom-4 right-4",onClick:y.pin,children:s("ui.teamBridge.notify.count",{count:y.newMessages})}):null:n.jsx(V,{className:"absolute bottom-4 right-4",onClick:a,children:s("ui.ownerAudit.refresh")}))]})}const Go=[];function ep({scope:e,conversation:t,root:i,people:a}){const r=c.useRef(null),o=c.useRef(()=>!0),d=Gg(e,t.id,i.id,k=>Fo(k,r.current),()=>o.current()),l=sr(d),m=l==="loading"?"loading":Wt(l)&&(!d.data||!d.keepWindowOnError)?"error":"ready",h=Ki({resetKey:`${e.accountId}:${e.tenantId}:${t.id}:${i.id}:${d.mode}:${m}`,contentKey:`${d.replies.length}:${d.replies.at(-1)?.id??""}`,scrollElement:"root",preserveAnchor:!0,rowIds:d.replies.map(k=>k.id),liveEdgeAvailable:d.latestPageAvailable});o.current=h.isPinned;const u=c.useMemo(()=>Ga(h.rootRef,r),[h.rootRef]);return n.jsxs("div",{className:"relative min-h-0",children:[d.mode==="legacy"&&n.jsx("p",{className:"py-1 text-meta text-ink-dim",children:s("ui.teamBridge.replies.legacy_window")}),n.jsxs("div",{ref:u,className:"h-80 min-h-0 w-full min-w-0 overflow-x-hidden overflow-y-auto","data-audit-reply-window":!0,children:[d.mode==="desc"&&m==="ready"&&d.hasNextPage&&n.jsx(V,{variant:"ghost",size:"sm",disabled:d.isFetchingNextPage,onClick:()=>{h.hold(),d.fetchNextPage()},children:s("ui.ownerAudit.older_replies")}),m==="loading"?n.jsx("output",{className:"block py-1 text-meta text-ink-muted",children:s("ui.ownerAudit.loading")}):m==="error"?n.jsx(zi,{state:Wt(l)?l:"error",retry:()=>void d.resetLatest()}):d.replies.length===0?n.jsx("p",{className:"py-2 text-meta text-ink-muted",children:s("ui.ownerAudit.empty_replies")}):n.jsx(Ho,{conversation:t,messages:d.replies,people:a,density:"compact"}),d.mode==="legacy"&&d.hasNextPage&&n.jsx(V,{variant:"ghost",size:"sm",disabled:d.isFetchingNextPage,onClick:()=>void d.fetchNextPage(),children:s("ui.ownerAudit.more")})]}),d.mode==="desc"&&!d.latestPageAvailable&&n.jsx(V,{variant:"ghost",size:"sm",onClick:()=>void d.resetLatest(),children:s("ui.ownerAudit.refresh")}),d.latestPageAvailable&&h.newMessages>0&&n.jsx(V,{variant:"ghost",size:"sm",onClick:h.pin,children:s("ui.teamBridge.notify.count",{count:h.newMessages})}),d.keepWindowOnError&&n.jsx(zi,{state:$o(d.error),retry:()=>void d.fetchNextPage()})]})}function np({scope:e,conversation:t,root:i,people:a}){const[r,o]=c.useState(!1),d=c.useContext(Ko);return n.jsxs("details",{className:"mt-1","data-audit-reply-disclosure":!0,onToggle:l=>{l.currentTarget.open&&d?.(),o(l.currentTarget.open)},children:[n.jsx("summary",{className:"inline-flex min-h-[24px] w-fit cursor-pointer items-center text-[12px] text-accent",children:s("ui.ownerAudit.replies")}),r&&n.jsx(ep,{scope:e,conversation:t,root:i,people:a})]})}function tp({scope:e,conversation:t}){const i=c.useRef(null),a=Hg(e,t.id,d=>{const l=i.current;if(!l)return!1;const m=l.getBoundingClientRect(),h=new Set(d.messages.map(u=>u.id));return![...l.querySelectorAll("[data-message-id]")].some(u=>{const k=u.getBoundingClientRect();return h.has(u.dataset.messageId??"")&&k.bottom>m.top&&k.top<m.bottom})}),o=Fs(t.tenant_id,!0,e.accountId).data?.members??Go;return n.jsx(Zg,{conversation:t,messages:xg(a.data?.pages.map(d=>d.messages)??[]),state:sr(a),retry:()=>void a.refetchLatest(),latestPageAvailable:a.data?.pageParams[0]===void 0,scrollHostRef:i,hasMore:a.hasNextPage,loadingMore:a.isFetchingNextPage,loadMore:()=>void a.fetchNextPage(),renderReplies:d=>n.jsx(np,{scope:e,conversation:t,root:d,people:o}),readerAccountId:e.accountId,people:o})}function ip(){return me(),n.jsxs(n.Fragment,{children:[n.jsx("h2",{className:"px-3 py-2 font-medium text-meta text-ink-dim tracking-wide",children:s("ui.ownerAudit.title")}),n.jsx("p",{className:"px-3 pb-2 text-meta text-ink-dim",children:s("ui.ownerAudit.read_only")})]})}function ap({accountId:e,enabled:t,scopeKey:i,organizations:a,onSelect:r}){const[o,d]=c.useState(null),l=o?.scopeKey===i&&a.some(m=>m.tenantId===o.conversation.tenant_id)?o.conversation:null;if(!(!t||!e))return{active:l!==null,clear:()=>d(null),panel:l&&n.jsx(tp,{scope:{accountId:e,tenantId:l.tenant_id},conversation:l},`${e}:${l.tenant_id}:${l.id}`),rail:m=>n.jsxs("section",{className:"mt-4","aria-label":s("ui.ownerAudit.title"),children:[n.jsx(ip,{}),a.map((h,u)=>n.jsxs("div",{children:[a.length>1&&n.jsx(Ta,{id:`team-bridge-audit-org-${h.tenantId}`,name:h.name,inset:"bare",first:u===0}),n.jsx(Jg,{scope:{accountId:e,tenantId:h.tenantId},selectedId:l?.tenant_id===h.tenantId?l.id:void 0,onSelect:k=>{m(),r(),d({scopeKey:i,conversation:k})}})]},`${e}:${h.tenantId}`))]})}}const Rs=200;let Ts=0;const rp=()=>(Ts+=1,Ts),Yn=Ua()(e=>({entries:[],add:t=>e(i=>{const a=[...i.entries,t],r=a.filter(d=>d.status==="sent");if(r.length<=Rs)return{entries:a};const o=new Set(r.slice(0,r.length-Rs).map(d=>d.localId));return{entries:a.filter(d=>!o.has(d.localId))}}),patch:(t,i)=>e(a=>({entries:a.entries.map(r=>r.localId===t?{...r,...i}:r)})),remove:t=>e(i=>({entries:i.entries.filter(a=>a.localId!==t)}))}));function sp(e,t){return t.owner?e.filter(i=>i.owner===t.owner&&(t.conversationId!==void 0&&i.conversationId!==void 0?i.conversationId===t.conversationId:i.lane===t.lane)):[]}function op(e,t,i,a){const r=new Map,o=new Set,d=[...t].sort((f,x)=>f.order-x.order),l=new Set(e.map(f=>f.id));for(const f of d)f.serverId&&l.has(f.serverId)&&(r.set(f.serverId,f),o.add(f.localId));const m=[...e].sort((f,x)=>f.seq-x.seq);for(const f of d){if(o.has(f.localId)||f.serverId||!i)continue;const x=m.find(p=>!r.has(p.id)&&p.sender.account_id===i.account_id&&p.sender.kind===i.kind&&p.body===f.body&&p.seq>f.baselineSeq);x&&(r.set(x.id,f),o.add(f.localId))}let h=e.reduce((f,x)=>Math.max(f,x.seq),-1);const u=new Set(e.map(f=>f.id));for(const f of d)f.serverRow&&!u.has(f.serverRow.id)&&(h=Math.max(h,f.serverRow.seq));const k=e.reduce((f,x)=>Math.max(f,x.seq),-1),w=new Map,y=[];for(const f of d)o.has(f.localId)||!i||f.serverRow&&f.serverRow.seq<=k||(f.serverRow||(h+=1),w.set(f.localId,f),y.push({...f.serverRow??{conversation_id:a??f.conversationId??"",sender:i,body:f.body,origin:"human",created_at:f.createdAt},id:f.localId,seq:f.serverRow?.seq??h}));return{messages:y.length===0?[...e]:[...e,...y],keyOf:f=>r.get(f.id)?.localId??f.id,localOf:f=>w.get(f.id),localCount:y.length}}const Ms=e=>`conversation:${e}`,wn=new Map;function lp(e,t){const i=wn.get(e)??{tail:Promise.resolve()};wn.set(e,i);const a=i.tail.catch(()=>{}).then(()=>t(i));return i.tail=a,a.catch(()=>{}).then(()=>{wn.get(e)===i&&i.tail===a&&wn.delete(e)}),a}function dp(e,t,i){const a=wn.get(e)??{tail:Promise.resolve()};a.resolved=i,wn.set(e,a),wn.has(t)||wn.set(t,a)}Aa(()=>{wn.clear(),Yn.setState({entries:[]})});function cp(e){const t=El.safeParse(e);return t.success?t.data:void 0}async function mp(e){const t=async(r,o)=>{e.onCreated(r);const d=o.tenantId??e.tenantId,l=e.stageHeld?await e.stageHeld(r,d):[...e.attachmentIds??[]],m=await e.schedule({tenant_id:d,conversation_id:r,client_ref:e.clientRef,body:e.body,send_at:e.sendAt,...l.length>0?{attachment_ids:l}:{},...e.threadRootId?{thread_root_id:e.threadRootId}:{}});return e.onScheduled?.(r),m};if(e.conversationId)return t(e.conversationId,{tenantId:e.tenantId});const i=Ys(e.recipients);if(!i)throw new Error("schedule requires recipients");const a=`${e.tenantId}|${i.kind}|${e.recipients.map(Ve).sort().join(",")}`;return Xs({draftKey:a,input:i,body:e.body,clientRef:e.clientRef,tenantId:e.tenantId,remembered:e.remembered,create:e.create,post:t})}function up(e,t){return!e&&!!(t&&t>=400&&t<500&&t!==409)}function it(e){const t=new Date(e);return new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().slice(0,16)}async function hp(e,t){const i=await Promise.allSettled(e.map(t)),a=[],r=[];return i.forEach((o,d)=>{o.status==="fulfilled"?a.push(...o.value.scheduled):r.push(e[d])}),{scheduled:a.sort((o,d)=>o.send_at.localeCompare(d.send_at)),failedTenants:r}}function gp(e,t,i,a){const r=(e.attachments??[]).map(l=>l.id),o=a!==void 0&&!_i(a,r),d=i!==void 0&&i.trim()===""&&i!==e.body&&(a?.length??0)>0;return{...i!==void 0&&i!==e.body?{body:i}:{},...t!==e.send_at?{send_at:t}:{},...o||d?{attachment_ids:[...a??[]]}:{}}}function _i(e,t){return e.length===t.length&&e.every((i,a)=>i===t[a])}function pp(e,t,i){const a=i.body.trim()!==e.body,r=i.when!==it(e.sendAt),o=new Set(i.kept.map(l=>l.id)),d=new Set(e.attachments.map(l=>l.id).filter(l=>!o.has(l)));return{body:a&&t.body===e.body?i.body:t.body,when:r&&t.sendAt===e.sendAt?i.when:it(t.sendAt),kept:t.attachments.filter(l=>!d.has(l.id))}}function kp(e,t,i){const a=i.body.trim()!==e.body,r=t.body!==e.body,o=i.when!==it(e.sendAt),d=t.sendAt!==e.sendAt,l=new Set(fa(e.attachments)),m=new Set(fa(t.attachments)),h=new Set(fa(i.kept));return{bodyReplaced:a&&r&&i.body.trim()!==t.body,bodyChanged:!a&&r,...a&&r&&i.body.trim()!==t.body?{lostBody:i.body}:{},timeReplaced:o&&d&&i.when!==it(t.sendAt),timeChanged:!o&&d,imagesAdded:[...m].filter(u=>!l.has(u)).length,imagesRemoved:[...l].filter(u=>!m.has(u)&&h.has(u)).length}}function fp(e){return e.bodyReplaced||e.bodyChanged||e.timeReplaced||e.timeChanged||e.imagesAdded>0||e.imagesRemoved>0}const fa=e=>e.map(t=>t.id);function wp(e){return e instanceof fn&&e.status===409&&e.code==="invalid_transition"&&typeof e.detail=="object"&&e.detail!==null&&e.detail.details?.rule==="concurrent_edit"?"conflict":"other"}async function bp(e,t,i,a,r){if(typeof r!="number")return e(t,i,a);try{return await e(t,i,{...a,expected_version:r})}catch(o){if(o instanceof fn&&o.status===422&&o.code==="invalid_request")return e(t,i,a);throw o}}function yp(e,t,i){return e.type==="compose"&&t===e?{type:"conversation",id:i}:null}function xp(e,t){return e?{bodyReplaced:e.bodyReplaced||t.bodyReplaced,bodyChanged:(e.bodyChanged||t.bodyChanged)&&!t.bodyReplaced,lostBody:t.lostBody??e.lostBody,timeReplaced:e.timeReplaced||t.timeReplaced,timeChanged:(e.timeChanged||t.timeChanged)&&!t.timeReplaced,imagesAdded:e.imagesAdded+t.imagesAdded,imagesRemoved:e.imagesRemoved+t.imagesRemoved}:t}const As="rounded-md border border-control bg-surface p-2 text-ink disabled:border-hairline disabled:bg-sunken disabled:text-ink-muted",bt=e=>(e??[]).map(t=>t.id);function Wo({open:e,onOpenChange:t,busy:i,onSchedule:a,initialBody:r,initialSendAt:o,initialAttachments:d,accountId:l,returnFocus:m,unavailable:h=!1,initialVersion:u}){const k=me(),w=c.useId(),[y,f]=c.useState(o?it(o):""),[x,p]=c.useState(r??""),[g,j]=c.useState(d??[]),[S,F]=c.useState(null),[B,T]=c.useState(null),I=c.useRef(null),K=c.useRef(null),E=c.useRef(null),L=c.useRef(!1);c.useEffect(()=>{const $=L.current;if(L.current=e,e){m?.current&&(E.current=m.current);return}if(!$)return;const Q=m?.current??E.current;E.current=null,Q?.isConnected&&Q.focus()},[e,m]);const q=!!(o&&y===it(o)),z=q?o:ds(y),X=!_i(bt(g),bt(d)),v=r===void 0||x.trim()!==r||!q||X,M=c.useRef(!1);c.useEffect(()=>{const $=e&&!M.current;M.current=e;const Q=o===void 0?null:{body:r??"",sendAt:o,attachments:d??[],...typeof u=="number"?{version:u}:{}};if($){I.current=Q,p(r??""),j(d??[]),f(o?it(o):""),T(null),F(null);return}const Y=I.current;if(!e||h||!Y||!Q)return;if(Y.body===Q.body&&Y.sendAt===Q.sendAt&&_i(bt(Y.attachments),bt(Q.attachments))){I.current=Q;return}I.current=Q;const _={body:x,when:y,kept:g},ie=pp(Y,Q,_),ge=kp(Y,Q,_);p(ie.body),f(ie.when),j(ie.kept),T(null),fp(ge)&&(ie.body.trim()!==_.body.trim()||ie.when!==_.when||!_i(bt(ie.kept),bt(g)))&&F(je=>({kind:"conflict",report:xp(je?.kind==="conflict"?je.report:null,ge)}))},[e,h,r,o,d,u,x,y,g]);const R=S?.kind==="conflict"?S.report:void 0,H=R?.lostBody!==void 0&&x.trim()!==R.lostBody.trim()?R.lostBody:void 0,N=S?.kind==="conflict"&&!v,U=Intl.DateTimeFormat().resolvedOptions().timeZone;return n.jsx(Jt,{open:e,onOpenChange:$=>{i||(T(null),F(null),t($))},children:n.jsxs(Vt,{className:"top-[12vh] h-[min(84vh,40rem)] translate-y-0",showClose:!h,onCloseAutoFocus:$=>{const Q=m?.current??E.current;E.current=null,!(!Q||!Q.isConnected)&&($.preventDefault(),Q.focus())},children:[n.jsxs(oo,{children:[n.jsx(Qt,{children:s(h?"ui.teamBridge.schedule.edit_gone_title":"ui.teamBridge.schedule.title")}),n.jsx(Yt,{children:s("ui.teamBridge.schedule.timezone",{timezone:U})})]}),n.jsxs("div",{"data-schedule-body":"",className:"-mx-1 flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto px-1",children:[h?n.jsx(yi,{variant:"warning",role:"alert",children:n.jsx("p",{children:s("ui.teamBridge.schedule.edit_gone")})}):S?.kind==="conflict"?n.jsxs(yi,{variant:"warning",role:"alert",children:[n.jsx(Cc,{children:s("ui.teamBridge.schedule.edit_conflict")}),H!==void 0&&n.jsx("p",{children:s("ui.teamBridge.schedule.conflict_body_replaced")}),R?.bodyChanged&&n.jsx("p",{children:s("ui.teamBridge.schedule.conflict_body_changed")}),R?.timeReplaced&&n.jsx("p",{children:s("ui.teamBridge.schedule.conflict_time_replaced")}),R?.timeChanged&&n.jsx("p",{children:s("ui.teamBridge.schedule.conflict_time_changed")}),(R?.imagesAdded??0)>0&&n.jsx("p",{children:s("ui.teamBridge.schedule.conflict_images_added",{count:R?.imagesAdded??0})}),(R?.imagesRemoved??0)>0&&n.jsx("p",{children:s("ui.teamBridge.schedule.conflict_images_removed",{count:R?.imagesRemoved??0})}),n.jsx("p",{children:s(N?"ui.teamBridge.schedule.conflict_nothing_left":"ui.teamBridge.schedule.conflict_review")}),H!==void 0&&n.jsx("div",{children:n.jsx(V,{variant:"outline",size:"sm",disabled:i,onClick:()=>{p(H),T(null),K.current?.focus()},children:s("ui.teamBridge.schedule.conflict_restore_body")})})]}):S?.kind==="failed"&&n.jsx(yi,{variant:"danger",role:"alert",children:n.jsx("p",{children:s(o===void 0?"ui.teamBridge.schedule.failed":"ui.teamBridge.schedule.edit_failed")})}),r!==void 0&&n.jsxs("label",{className:"flex flex-col gap-1 text-sm text-ink",children:[s("ui.teamBridge.schedule.edit_body"),n.jsx("textarea",{ref:K,value:x,onChange:$=>{p($.target.value),T(null)},disabled:i||h,className:`${As} ${h?"resize-none":""}`})]}),g.length>0&&n.jsxs("div",{className:"flex flex-col gap-1",children:[n.jsx(Mo,{attachments:g,accountId:l}),!h&&n.jsx(V,{variant:"ghost",size:"sm",disabled:i,onClick:()=>{j([]),T(null)},children:s("ui.teamBridge.attachments.remove_all")})]}),n.jsx("label",{htmlFor:w,className:"text-sm text-ink",children:s("ui.teamBridge.schedule.when")}),n.jsx("input",{id:w,type:"datetime-local",value:y,disabled:i||h,onChange:$=>{f($.target.value),T(null)},"aria-describedby":h?void 0:`${w}-help`,className:As}),!h&&n.jsx("p",{id:`${w}-help`,className:"text-sm text-ink-muted",children:s("ui.teamBridge.schedule.window")}),!h&&y&&!z&&n.jsx("p",{role:"alert",className:"text-sm text-danger",children:s("ui.teamBridge.schedule.invalid")}),!h&&B&&n.jsx("p",{"aria-live":"polite",className:"text-sm text-ink",children:s("ui.teamBridge.schedule.confirm",{date:new Intl.DateTimeFormat(k,{dateStyle:"full",timeStyle:"long"}).format(new Date(B))})})]}),h||N?n.jsx(V,{onClick:()=>t(!1),children:s("ui.common.actions.close")}):n.jsx(V,{disabled:!z||!v||i||r!==void 0&&!x.trim()&&g.length===0,onClick:()=>{const $=q?o:ds(y);if(!$){T(null);return}if(B!==$){T($);return}F(null),a($,r===void 0?void 0:x.trim(),d===void 0?void 0:g.map(Q=>Q.id),I.current?.version).then(()=>{t(!1),T(null)}).catch(Q=>{const Y=wp(Q);F(_=>_?.kind==="conflict"?_:Y==="conflict"?{kind:"conflict",report:null}:{kind:"failed"})})},children:s(B?"ui.teamBridge.schedule.confirm_action":"ui.teamBridge.schedule.review")})]})})}function vp({accountId:e,tenantIds:t,organizationNames:i,conversationNames:a,readOnly:r=!1}){const o=Ha({queryKey:["team-bridge","scheduled",e,...[...t].sort()],queryFn:()=>hp(t,en.scheduledList),staleTime:0,gcTime:0});return n.jsx(jp,{state:o.isPending?"loading":o.isError||t.length>0&&o.data?.failedTenants.length===t.length?"error":"ready",messages:o.data?.scheduled??[],failedTenants:o.data?.failedTenants??[],organizationNames:i,conversationNames:a,readOnly:r,refresh:()=>o.refetch(),accountId:e})}function jp({state:e,messages:t,failedTenants:i=[],organizationNames:a={},conversationNames:r={},readOnly:o=!1,refresh:d,accountId:l}){const[m,h]=c.useState(null);c.useEffect(()=>{m&&!t.some(g=>g.id===m)&&h(null)},[t,m]);const[u,k]=c.useState(null);c.useEffect(()=>{if(!u)return;const g=t.find(j=>j.id===u.id);g&&g!==u&&k(g)},[t,u]);const w=u&&!t.some(g=>g.id===u.id)?u:null,y=w&&e==="ready"&&!i.includes(w.tenant_id)?w:null,f=w&&!y?w:null,x=w?[...t,w].sort((g,j)=>g.send_at.localeCompare(j.send_at)):t,p=(g,j=!1)=>n.jsx(_p,{message:g,gone:g===y,detached:j,onEditingChange:S=>k(S?g:null),refresh:d,organizationNames:a,conversationNames:r,onCancelFailure:()=>h(g.id),onCancelSuccess:()=>h(null),readOnly:o,accountId:l},g.id);return n.jsxs("section",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-auto p-5","aria-label":s("ui.teamBridge.schedule.list"),children:[n.jsx("h2",{className:"text-lg font-medium text-ink",children:s("ui.teamBridge.schedule.list")}),e==="ready"&&i.map(g=>n.jsxs("div",{role:"alert",className:"text-sm text-danger",children:[n.jsxs("p",{children:[s("ui.teamBridge.schedule.load_failed")," ",n.jsx("span",{children:a[g]?.trim()||g})]}),n.jsx(V,{onClick:()=>{d()},children:s("ui.teamBridge.list.retry")})]},g)),m&&n.jsx("p",{role:"alert",className:"text-sm text-danger",children:s("ui.teamBridge.schedule.cancel_failed")}),e==="loading"?n.jsx(qe,{size:"sm",label:s("ui.teamBridge.schedule.loading")}):e==="error"?n.jsxs("div",{role:"alert",children:[n.jsx("p",{children:s("ui.teamBridge.schedule.load_failed")}),n.jsx(V,{onClick:()=>{d()},children:s("ui.teamBridge.list.retry")})]}):x.length===0&&n.jsx("p",{className:"text-ink-muted",children:s("ui.teamBridge.schedule.empty")}),(e==="ready"?x:f?[f]:[]).map(g=>p(g,e!=="ready"))]})}function _p({message:e,refresh:t,readOnly:i=!1,organizationNames:a={},conversationNames:r={},onCancelFailure:o,accountId:d,onCancelSuccess:l,gone:m=!1,detached:h=!1,onEditingChange:u}){const k=me(),[w,y]=c.useState(!1),[f,x]=c.useState(!1),p=T=>{x(T),u?.(T)},g=c.useRef(null),j=c.useId(),S=[r[e.conversation_id]?.trim(),a[e.tenant_id]?.trim()].filter(Boolean).join(" · "),F=n.jsx(Wo,{open:f,onOpenChange:p,returnFocus:g,busy:w,unavailable:m||e.status==="sending",initialBody:e.body,initialSendAt:e.send_at,initialAttachments:e.attachments,initialVersion:e.version,accountId:d,onSchedule:async(T,I,K,E)=>{y(!0);try{await bp(en.scheduledUpdate,e.tenant_id,e.id,gp(e,T,I,K),E),await t()}catch(L){throw await t(),L}finally{y(!1)}}}),B=m||h?null:n.jsxs("article",{className:"rounded-lg bg-elevated p-3 text-ink",children:[n.jsx("p",{className:"text-sm text-ink-muted",children:new Intl.DateTimeFormat(k,{dateStyle:"medium",timeStyle:"long"}).format(new Date(e.send_at))}),S&&n.jsx("p",{id:j,className:"text-sm text-ink-muted",children:S}),e.body.trim()!==""&&n.jsx(Vs,{children:e.body}),(e.attachments?.length??0)>0&&n.jsx(Mo,{attachments:e.attachments??[],accountId:d}),e.status==="sending"?n.jsx("p",{"aria-live":"polite",children:s("ui.teamBridge.schedule.sending")}):n.jsxs("div",{className:"flex flex-wrap gap-2",children:[n.jsx(V,{ref:g,disabled:w||i,onClick:()=>p(!0),children:s("ui.teamBridge.schedule.reschedule")}),n.jsx(V,{variant:"ghost",className:"h-auto min-h-8 max-w-full whitespace-normal text-left text-danger hover:text-danger",disabled:w||i,"aria-describedby":S?j:void 0,onClick:()=>{y(!0),en.scheduledCancel(e.tenant_id,e.id).then(()=>(l?.(),t())).catch(()=>{o?.(),t()}).finally(()=>y(!1))},children:s("ui.teamBridge.schedule.cancel")})]})]});return n.jsxs(n.Fragment,{children:[B,F]})}const Bp=["png","jpg","jpeg","gif","webp","heic","bmp","avif"],zs=e=>e.split("/").pop()||e,Np=e=>{if(e.startsWith("data:"))return!0;const t=e.split(".").pop()?.toLowerCase()??"";return Bp.includes(t)};async function Sp(e){const{paths:t,accountId:i,tenantId:a,conversationId:r,capability:o}=e,d=[],l=[];if(t.length===0)return{ids:d,failures:l};if(!o){for(const m of t)l.push({name:zs(m),reason:"unsupported"});return{ids:d,failures:l}}for(const m of t){const h=zs(m);if(!Np(m)){l.push({name:h,reason:"unsupported"});continue}const u=await window.api?.readFile?.(m,"base64");if(!u?.success){l.push({name:h,reason:"read"});continue}let k;try{const w=atob(u.data);k=new Uint8Array(w.length);for(let f=0;f<w.length;f+=1)k[f]=w.charCodeAt(f);k=(await So(new Blob([k]),o.max_bytes)).bytes}catch{l.push({name:h,reason:"unsupported"});continue}try{const w=await en.uploadAttachment(a,r,k,i);d.push(w.id)}catch{l.push({name:h,reason:"upload"})}}return{ids:d,failures:l}}function Cp(e,t){const i=e.ownerDocument,a=i.activeElement instanceof(i.defaultView?.HTMLElement??HTMLElement)?i.activeElement:null;e.querySelector("[data-thread-close]")?.focus();const r=o=>{o.key!=="Escape"||o.defaultPrevented||o.isComposing||i.querySelector('[role="menu"], [role="listbox"]')||(o.preventDefault(),o.stopPropagation(),t())};return e.addEventListener("keydown",r),()=>{e.removeEventListener("keydown",r),a?.isConnected&&(e.contains(i.activeElement)||i.activeElement===i.body)&&a.focus()}}const Ds=(e,t)=>{const i=Io(e,t.id);return{key:`draft:${t.id}`,status:ju(t)?"expired":"ready",attachment:t,previewUrl:i?Oi(i,i.type):void 0}};function Ip(e){const{scopeKey:t,accountId:i,tenantId:a,conversationId:r,capability:o,persisted:d,onPersist:l}=e,[m,h]=c.useState(()=>(d??[]).map(v=>Ds(i,v))),u=c.useRef(i).current,[k,w]=c.useState(null),y=c.useRef(m);y.current=m;const f=c.useRef(0),x=c.useRef(l);x.current=l;const p=v=>{for(const M of v)M.previewUrl&&Si(M.previewUrl)};c.useEffect(()=>{f.current+=1;const v=(d??[]).map(M=>Ds(i,M));h(M=>(p(M),v)),w(null)},[t,i]),c.useEffect(()=>()=>p(y.current),[]);const g=v=>{y.current=v,h(v),x.current?.(v.flatMap(M=>M.status==="ready"&&M.attachment?[M.attachment]:[]))},j=(v,M)=>{g(y.current.map(R=>R.key===v?{...R,...M}:R))},S=async(v,M,R,H=f.current,N=a)=>{if(!N||!u)return j(v,{status:"error",reason:"failed"}),null;j(v,{status:"uploading",reason:void 0});try{const U=await en.uploadAttachment(N,R,M.bytes,u);if(f.current!==H)return null;const $=vu(U,R);return Bu(i,$.id,new Blob([M.bytes],{type:M.mime})),j(v,{status:"ready",attachment:$}),$}catch(U){return f.current!==H||j(v,{status:"error",reason:pu(U?.status,U?.code)}),null}},F=v=>{if(v.length===0)return;if(!o){w("unsupported");return}const M=as(o)-y.current.length,R=v.slice(0,Math.max(0,M));w(R.length<v.length?"limit":null);const H=f.current,N=R.map(()=>({key:crypto.randomUUID(),status:"preparing"}));g([...y.current,...N]),R.forEach((U,$)=>{const Q=N[$].key;So(U,o.max_bytes).then(Y=>{if(f.current!==H)return;const _=Oi(Y.bytes,Y.mime);j(Q,{prepared:Y,previewUrl:_}),r?S(Q,Y,r,H):j(Q,{status:"held"})},Y=>{f.current===H&&j(Q,{status:"error",reason:Y instanceof nt?Y.reason:"invalid"})})})},B=v=>{const M=y.current.find(R=>R.key===v);M&&(M.previewUrl&&Si(M.previewUrl),g(y.current.filter(R=>R.key!==v)),w(null),M.attachment&&a&&M.status==="ready"&&u&&en.deleteAttachment(a,M.attachment.conversationId,M.attachment.id,u).catch(()=>{}))},T=v=>{const M=y.current.find(H=>H.key===v),R=r??M?.attachment?.conversationId;if(M?.prepared){if(!R){j(v,{status:"held",reason:void 0});return}S(v,M.prepared,R)}},I=async(v,M=a)=>{const R=y.current.filter(H=>(H.status==="held"||H.status==="error")&&H.prepared);if(await Promise.all(R.map(H=>H.prepared?S(H.key,H.prepared,v,f.current,M):null)),y.current.some(H=>H.status!=="ready"))throw new Error("attachments not staged");return K()},K=()=>o===null?[]:y.current.flatMap(v=>v.status==="ready"&&v.attachment?[v.attachment.id]:[]),E=v=>{const M=v?new Set(v):null;g(y.current.map(R=>R.status==="ready"&&(!M||R.attachment&&M.has(R.attachment.id))?{...R,status:"expired",attachment:void 0}:R))},L=v=>{const M=new Set(v),R=y.current.filter(H=>!(H.attachment&&M.has(H.attachment.id)));p(y.current.filter(H=>!R.includes(H))),g(R),w(null)},q=m.some(v=>v.status==="preparing"||v.status==="uploading"),z=m.some(v=>v.status==="error"||v.status==="expired")||o===null&&m.length>0,X=m.some(v=>v.status==="held");return{chips:m,notice:k,dismissNotice:()=>w(null),add:F,remove:B,retry:T,uploadHeld:I,readyIds:K,markExpired:E,clearSent:L,busy:q,blocked:z,held:X,count:m.length,max:as(o),enabled:o!==null,unsupported:o===null&&m.length>0}}function Ep({loadingMore:e,sawInFlight:t,grew:i}){return e?!1:t||i}function Rp(e){return n.jsx(Tp,{...e})}function Tp({root:e,replies:t,state:i,labelFor:a,profileFor:r,canMessagePerson:o,onMessagePerson:d,onClose:l,onRetry:m,onSend:h,readOnly:u=!1,hasMore:k=!1,loadingMore:w=!1,onMore:y,onRead:f,reactionContext:x,forceToolbar:p,tenantId:g,conversationId:j,accountId:S,attachmentCapability:F=null,windowMode:B,olderError:T=!1,latestPageAvailable:I=!0,onLatest:K,scrollHostRef:E,pinnedGetterRef:L}){me();const[q,z]=c.useState(!1),X=c.useRef(!1),v=c.useRef(t.length);w&&(X.current=!0),c.useLayoutEffect(()=>{q&&Ep({loadingMore:w,sawInFlight:X.current,grew:t.length!==v.current})&&(X.current=!1,z(!1))},[q,w,t.length]),c.useEffect(()=>{if(!q)return;const de=setTimeout(()=>z(!1),1e4);return()=>clearTimeout(de)},[q]);const M=c.useRef(null),R=c.useRef(l);R.current=l,c.useEffect(()=>{if(M.current)return Cp(M.current,()=>R.current())},[]),c.useEffect(()=>{if(!(!M.current||i!=="ready"||!f))return Al(M.current,t,f)},[t,i,f]);const[H,N]=c.useState(""),U=c.useRef(null),$=yo({draftKey:`thread|${j??""}|${e?.id??""}`,text:H,setText:N,fieldRef:U}),[Q,Y]=c.useState(!1),[_,ie]=c.useState(!1),[ge,je]=c.useState(!1),se=Ip({scopeKey:`${g??""}|${j??""}|${e?.id??""}`,accountId:S,tenantId:g,conversationId:j??null,capability:j&&g?F:null}),P=c.useRef(null),ne=c.useRef(!1),le=Ki({resetKey:`${g??""}:${j??""}:${e?.id??""}:${i}`,contentKey:`${t.length}:${t.at(-1)?.id??""}`,preserveAnchor:B!==void 0,rowIds:t.map(de=>de.id),rowSelector:B?"[data-thread-replies] [data-message-id]":"[data-message-id]",liveEdgeAvailable:B?I:!0});c.useLayoutEffect(()=>{if(L)return L.current=le.isPinned,()=>{L.current===le.isPinned&&(L.current=null)}},[L,le.isPinned]);const pe=c.useMemo(()=>Ga(le.rootRef,E),[le.rootRef,E]),he=!!H.trim()||se.count>0,xe=!u,be=async()=>{const de=H.trim();if(se.blocked){je(!0);return}if(!he||se.busy||ne.current||u||i!=="ready")return;const ke=se.readyIds(),_e=ke.join(","),Ie=P.current?.body===de&&P.current.images===_e?P.current:{body:de,images:_e,clientRef:crypto.randomUUID()};P.current=Ie,ne.current=!0,Y(!0),ie(!1),je(!1),le.pin(),$.stage(de);try{await h(de,Ie.clientRef,ke),P.current=null,se.clearSent(ke),N(rn=>rn.trim()===de?"":rn)}catch(rn){ie(!0),ke.length>0&&xi(rn)&&se.markExpired()}finally{ne.current=!1,Y(!1)}};return n.jsxs("aside",{ref:M,"aria-label":s("ui.teamBridge.replies.title"),className:"panel-top-pad flex h-full min-h-0 w-full min-w-0 shrink-0 flex-col bg-canvas",children:[n.jsxs("header",{className:"flex h-11 shrink-0 items-center justify-between px-5",children:[n.jsx("h2",{className:"font-semibold text-[15px] text-ink",children:s("ui.teamBridge.replies.title")}),n.jsx(V,{"data-thread-close":!0,size:"icon-sm",variant:"ghost",onClick:l,"aria-label":s("ui.teamBridge.replies.close"),children:n.jsx(St,{size:16})})]}),B==="legacy"&&n.jsx("p",{className:"px-5 py-2 text-meta text-ink-dim",children:s("ui.teamBridge.replies.legacy_window")}),B==="desc"&&!I&&n.jsx(V,{variant:"ghost",size:"sm",onClick:K,children:s("ui.ownerAudit.refresh")}),B==="desc"&&I&&le.newMessages>0&&n.jsx(V,{variant:"ghost",size:"sm",onClick:le.pin,children:s("ui.teamBridge.notify.count",{count:le.newMessages})}),n.jsxs(xa,{ref:pe,className:"min-h-0 flex-1 [&_[data-radix-scroll-area-viewport]>div]:block!",children:[e&&n.jsx(Ai,{messages:[e],arrivalKey:`${Ti(g,e.conversation_id)}/root`,arrivalsEnabled:!1,labelFor:a,profileFor:r,canMessagePerson:o,onMessagePerson:d,tenantId:g,accountId:S,density:"compact",reactionContext:x,forceToolbar:p}),(i==="ready"||e?.reply_count!==void 0)&&(e?.reply_count??t.length)>0&&n.jsx("div",{className:"px-5 py-3 text-[12px] text-ink-dim",children:s("ui.teamBridge.replies.count",{count:e?.reply_count??t.length})}),T&&n.jsxs("div",{role:"alert",className:"px-5 py-2 text-meta text-ink-muted",children:[n.jsx("p",{children:s("ui.teamBridge.thread.error")}),n.jsx(V,{variant:"ghost",size:"sm",onClick:()=>{le.hold(),y?.()},children:s("ui.teamBridge.list.retry")})]}),B==="desc"&&i==="ready"&&k&&n.jsx(V,{variant:"ghost",size:"sm",disabled:w,onClick:()=>{le.hold(),y?.()},className:"mx-5 my-2",children:s("ui.teamBridge.replies.more")}),n.jsx("div",{"data-thread-replies":!0,children:i==="loading"?n.jsx("div",{className:"flex justify-center py-8",children:n.jsx(qe,{size:"sm",label:s("ui.teamBridge.thread.loading")})}):i==="error"?n.jsxs("div",{role:"alert",className:"px-5 py-6 text-[13px] text-ink-muted",children:[n.jsx("p",{children:s("ui.teamBridge.thread.error")}),n.jsx(V,{variant:"ghost",size:"sm",onClick:m,children:s("ui.teamBridge.list.retry")})]}):t.length===0?xe?n.jsx("p",{className:"px-5 py-6 text-[13px] text-ink-muted",children:s("ui.teamBridge.replies.empty")}):null:n.jsx(Ai,{messages:t,arrivalKey:Ti(g,j,e?.id),arrivalsEnabled:!q,accountId:S,labelFor:a,profileFor:r,canMessagePerson:o,onMessagePerson:d,tenantId:g,density:"compact",reactionContext:x,forceToolbar:p})}),B!=="desc"&&k&&n.jsx(V,{variant:"ghost",size:"sm",disabled:w,onClick:()=>{z(!0),v.current=t.length,le.hold(),y?.()},className:"mx-5 my-2",children:s("ui.teamBridge.replies.more")})]}),u?n.jsx("p",{className:"px-5 pb-4 text-[12px] text-ink-dim",children:s("ui.teamBridge.read_only.composer")}):n.jsxs("div",{className:"shrink-0 px-4 pb-4",children:[_&&n.jsx("p",{role:"alert",className:"pb-1 text-[12px] text-danger",children:s("ui.teamBridge.composer.error")}),n.jsx(bo,{mentions:$}),ge&&se.blocked&&!se.unsupported&&n.jsx("p",{role:"alert",className:"pb-1 text-[12px] text-danger",children:s("ui.teamBridge.attachments.send_blocked")}),n.jsxs("div",{className:"rounded-xl bg-elevated has-[textarea:focus-visible]:outline-2 has-[textarea:focus-visible]:outline-accent has-[textarea:focus-visible]:outline-offset-2 has-[textarea:focus-visible]:outline-solid",...i==="ready"?vh(se):{},children:[n.jsx(ph,{state:se}),n.jsx(xo,{mentions:$,fieldRef:U,text:H,children:n.jsx("textarea",{ref:U,rows:2,"aria-label":s("ui.teamBridge.replies.placeholder"),placeholder:s("ui.teamBridge.replies.placeholder"),value:H,disabled:i!=="ready",onChange:de=>N(de.target.value),...$.bindField({onKeyDown:de=>{de.key==="Enter"&&!de.shiftKey&&!de.nativeEvent.isComposing&&(de.preventDefault(),be())}}),className:"relative block max-h-40 min-h-10 w-full resize-none bg-transparent px-3.5 pt-3 pb-1 text-[14px] text-ink outline-none placeholder:text-ink-dim"})}),n.jsxs("div",{className:"flex items-center gap-2 px-2 pb-2",children:[n.jsx("span",{className:"min-w-0 flex-1 ps-1.5 text-meta-sm text-ink-dim",children:s("ui.teamBridge.composer.hint")}),n.jsx(kh,{state:se,disabled:Q||i!=="ready"}),n.jsx(V,{size:"icon-sm",variant:"primary",className:"rounded-lg",disabled:!he||se.busy||Q||i!=="ready","aria-label":s("ui.teamBridge.composer.send"),onClick:()=>void be(),children:Q?n.jsx(qe,{size:"sm"}):n.jsx(qs,{size:16})})]})]})]})]})}function Mp(e){return n.jsx(Ap,{...e})}function Ap({target:e,initialRoot:t,readOnly:i,labelFor:a,profileFor:r,canMessagePerson:o,onMessagePerson:d,onClose:l,reactionContext:m,accountId:h,attachmentCapability:u}){const k=at(),{tenantId:w,conversationId:y,rootId:f}=e,x=$s(y,w),p=c.useRef(-1),g=c.useCallback(async E=>{if(!(E<=p.current)){p.current=E;try{await x.mutateAsync({seq:E})}catch(L){throw p.current===E&&(p.current=-1),L}}},[x.mutateAsync]),j=c.useRef(null),S=c.useRef(null),F=[...zn.all,"replies",h,w,y,f],B=Lo({queryKey:F,identity:{conversationId:y,rootId:f},read:(E,L,q=50)=>Ml(e,h,E==="desc"?void 0:L??0,E==="desc"?{beforeSeq:L,order:"desc",limit:q}:void 0),canEvict:E=>Fo(E,j.current?.querySelector("[data-radix-scroll-area-viewport]")??null),isAtLiveEdge:()=>S.current?.()??!0,poll:!0}),T=B.replies,I=Hd({mutationFn:({body:E,clientRef:L,attachmentIds:q})=>en.send(y,{body:E,clientRef:L,tenantId:w,expectedAccountId:h,threadRootId:f,attachmentIds:q,mentions:Tl(y,E)}),onSuccess:async(E,{body:L})=>{Rl(y,L),await Promise.all([k.invalidateQueries({queryKey:F}),k.invalidateQueries({queryKey:zn.messages(y,w)}),k.invalidateQueries({queryKey:zn.conversationsPrefix})])}}),K=B.isError&&!B.keepWindowOnError?null:B.data?.pages[0]?.root??t??null;return n.jsx(Rp,{root:K,replies:T,state:B.isPending?"loading":B.isError&&(!B.data||!B.keepWindowOnError)?"error":"ready",labelFor:a,profileFor:r,canMessagePerson:o,onMessagePerson:d,onClose:l,onRead:g,onRetry:()=>void B.refetch(),onSend:(E,L,q)=>I.mutateAsync({body:E,clientRef:L,attachmentIds:q}),tenantId:w,conversationId:y,accountId:h,attachmentCapability:u,readOnly:i,hasMore:B.hasNextPage,loadingMore:B.isFetchingNextPage,onMore:()=>void B.fetchNextPage(),olderError:B.keepWindowOnError,windowMode:B.mode,latestPageAvailable:B.latestPageAvailable,onLatest:()=>void B.resetLatest(),scrollHostRef:j,pinnedGetterRef:S,reactionContext:m})}function zp(e,t,i,a="",r=!1,o=t==="all"){const d=ba(),l=e&&!r?Sr(e,t):null,m=r?null:e??null,h=c.useRef({account:m,epoch:0});h.current.account!==m&&(h.current={account:m,epoch:h.current.epoch+1});const u=h.current.epoch,k=e?Nr(e):0,w=()=>!r&&h.current.epoch===u&&(!e||Nr(e)===k),[y,f]=c.useState(()=>{const N=l&&d?Ca(d,l):{};return a&&i&&!N[ln(i)]&&(N[ln(i)]={target:i,body:a,clientRef:crypto.randomUUID()}),{key:l,drafts:N}}),[x,p]=c.useState(!1),g=c.useRef(new Map([[y.key,y.drafts]])),j=c.useRef(e);c.useEffect(()=>{const N=j.current;N&&(r||e&&N!==e)&&(zl(d,N),g.current.clear(),f({key:null,drafts:{}})),(r||e)&&(j.current=r?void 0:e)},[e,r,d]);const S=()=>(g.current.has(l)||g.current.set(l,l&&d?Ca(d,l):{}),g.current.get(l)??{}),F=S(),B=i?ln(i):null,T=B?F[B]:void 0,I=T?.body??"",K=(N,U)=>{if(!w())return!1;const $={...S()};if(U?$[N]=U:delete $[N],g.current.set(l,$),f({key:l,drafts:$}),l){if(!d)return p(!0),!1;try{return d.setItem(l,JSON.stringify($)),p(!1),!0}catch{return p(!0),!1}}return!0},E=N=>{if(!w()||!i||!B)return!1;const U=S()[B];return K(B,{...U??{target:i,body:I,clientRef:crypto.randomUUID()},target:i,...N})};c.useEffect(()=>{if(i?.type!=="compose")return;const N=S().compose?.target,U=Q=>Q.recipients.map(Y=>`${Y.kind}:${Y.accountId}`).sort().join("|"),$=N?.type==="compose"&&U(N)!==U(i);E({target:i,...$?{conversationId:void 0,sendAt:void 0,createUncertain:!1,clientRef:crypto.randomUUID()}:{}})},[i,l]);const L=N=>E({body:N,...N.trim()!==I.trim()&&!T?.sendAt?{clientRef:crypto.randomUUID()}:{}}),q=(N,U={})=>{const $=B?S()[B]:void 0;if(!$&&N.length===0)return!0;const Q=($?.attachments??[]).map(_=>_.id).join(","),Y=N.map(_=>_.id).join(",");return E({attachments:N.length>0?N:void 0,...Q!==Y&&!$?.sendAt&&!U.keepClientRef?{clientRef:crypto.randomUUID()}:{}})},z=(N,U,$,Q=[])=>{if(!w())return;const Y=S()[N];if(Y?.clientRef!==$)return;const _=new Set(Q),ie=(Y.attachments??[]).filter(ge=>!_.has(ge.id));Y.body.trim()===U&&ie.length===0?K(N,null):K(N,{...Y,body:Y.body.trim()===U?"":Y.body,attachments:ie.length>0?ie:void 0,sendAt:void 0,clientRef:crypto.randomUUID()})},[X,v]=c.useState(0);c.useEffect(()=>{const N=U=>{(U.key===null||U.key.startsWith(Ls))&&v($=>$+1)};return window.addEventListener("storage",N),()=>window.removeEventListener("storage",N)},[]);const M=c.useMemo(()=>e&&!r&&o&&d?Ku(d,e):new Map,[e,r,o,X,d]),R=new Map(M);for(const[N,U]of g.current)N&&e&&N.startsWith(Sr(e,""))&&(o||N===l)&&R.set(N,U);const H=l?[...R].flatMap(([N,U])=>Object.entries(U).map(([$,Q])=>({key:`${N}:${$}`,tenantId:Uu(N),entry:Q}))):Object.entries(F).map(([N,U])=>({key:N,tenantId:t,entry:U}));return{drafts:F,entries:H,current:T,body:I,setBody:L,setAttachments:q,update:E,clearSent:z,storageFailed:x}}const Je=new Map;Aa(()=>Je.clear());const Dp={read:"ui.teamBridge.attachments.error_invalid",unsupported:"ui.teamBridge.attachments.error_type",upload:"ui.teamBridge.attachments.error_upload"},Ps=({error:e,onRetry:t})=>{me();const i=ec(e),a=e?.message,r=typeof a=="string"?a.trim():"",o=i==="sign_in"?s("ui.teamBridge.plan.sign_in_reason"):i==="plan"?s("ui.teamBridge.plan.reason"):i==="invalid"?r||s("ui.teamBridge.scope.error"):i==="outdated"?s("ui.teamBridge.plan.update_reason"):s("ui.teamBridge.plan.unavailable_reason"),d=i==="unreachable"||i==="server";return n.jsxs("div",{className:"flex flex-col items-start gap-2 px-2 py-1",children:[n.jsx("p",{className:"text-[12px] leading-snug text-ink-muted",children:s("ui.teamBridge.people.error")}),n.jsx("p",{className:"text-[12px] leading-snug text-ink-dim",children:o}),d&&t&&n.jsx(V,{type:"button",size:"sm",variant:"outline",onClick:t,children:s("ui.teamBridge.list.retry")})]})},Pp=()=>(me(),n.jsx("div",{"data-glass-region":"canvas",className:"flex h-full min-h-0 w-full items-center justify-center overflow-hidden bg-canvas px-6",children:n.jsx(qe,{size:"sm",label:s("ui.teamBridge.plan.checking")})})),vt=()=>({named:(e,t)=>s("ui.teamBridge.chief.label",{agent:e,person:t}),unnamed:e=>s("ui.teamBridge.chief.unnamed",{person:e})}),Op=({reason:e})=>{me();const t={off:{title:"ui.agentMessages.page_off.title",reason:"ui.agentMessages.page_off.body"},off_local:{title:"ui.agentMessages.page_off.local_title",reason:"ui.agentMessages.page_off.local_body"},plan_required:{title:"ui.teamBridge.plan.title",reason:"ui.teamBridge.plan.reason"},signed_out:{title:"ui.teamBridge.plan.sign_in_title",reason:"ui.teamBridge.plan.sign_in_reason"},update_required:{title:"ui.teamBridge.plan.update_title",reason:"ui.teamBridge.plan.update_reason"},unavailable:{title:"ui.teamBridge.plan.unavailable_title",reason:"ui.teamBridge.plan.unavailable_reason"}};return n.jsx("div",{"data-glass-region":"canvas",className:"flex h-full min-h-0 w-full items-center justify-center overflow-hidden bg-canvas px-6",children:n.jsxs("div",{className:"max-w-lg text-center",children:[n.jsx(Nt,{size:20,"aria-hidden":"true",className:"mx-auto mb-3 text-ink-dim"}),n.jsx("h1",{className:"text-balance text-[16px] font-medium text-ink",children:s(t[e].title)}),n.jsxs("div",{className:"mt-2",children:[e!=="off"&&e!=="off_local"&&n.jsx("p",{className:"text-pretty text-[13px] leading-relaxed text-ink-muted",children:s("ui.teamBridge.plan.body")}),n.jsx("p",{className:"mt-4 text-[12px] leading-snug text-ink-dim",children:s(t[e].reason)}),(e==="off"||e==="off_local")&&n.jsx(V,{asChild:!0,variant:"secondary",size:"sm",className:"mt-4",children:n.jsx(Gd,{to:`/settings?setting=${Wd}`,"data-team-bridge-off-action":"settings",children:s("ui.agentMessages.page_off.action")})})]})]})})};function qp(e,t){if(!e)return"";const i=Date.parse(e);return Number.isNaN(i)?"":new Intl.DateTimeFormat(t,{dateStyle:"medium",timeStyle:"short"}).format(new Date(i))}function Lp(e,t){const i=Date.parse(e);if(Number.isNaN(i))return"";const a=Math.round((i-Date.now())/6e4);if(Math.abs(a)<60)return jt(a,"minute",{numeric:"auto"},t);const r=Math.round(a/60);return Math.abs(r)<24?jt(r,"hour",{numeric:"auto"},t):jt(Math.round(r/24),"day",{numeric:"auto"},t)}const Fp=({ownerAudit:e,renderThreadPane:t,threadLink:i,onCloseThread:a,listState:r,messageState:o,conversations:d,target:l,messages:m,events:h,highlightMessageId:u=null,organizations:k,scope:w,totalUnread:y,membershipsLoading:f=!1,organizationsFailed:x=!1,selfAccountId:p,sending:g=!1,sendFailed:j=!1,joining:S=!1,joinFailed:F=!1,notifyFailed:B=!1,agentNotifyFailed:T=!1,onJoin:I,onNotifyChange:K,onAgentNotifyChange:E,onAddMembers:L,onRemoveMember:q,memberMutationKey:z=null,initialMembersOpen:X=!1,onArchive:v,onUnarchive:M,onDelete:R,unarchiveFailed:H=!1,archivedState:N="ready",archivedConversations:U=[],archivedHasMore:$=!1,archivedLoadingMore:Q=!1,archivedLoadMoreFailed:Y=!1,onLoadMoreArchived:_,onOpenArchived:ie,onRetryArchived:ge,initialQuickView:je,initialDialog:se,threadsCapabilityState:P="unknown",reactionsCapabilityState:ne="unknown",sendMentionsCapabilityState:le="unknown",agentNotifyCapabilityState:pe="unknown",defaultMenuOpen:he=!1,initialDraft:xe="",draftJournal:be,isDraftCurrent:de=()=>!0,people:ke=[],directories:_e,directoryStates:Ie,directoryErrors:rn,selfName:fe,peopleState:Ne="ready",peopleError:C,peopleIncomplete:W=!1,refreshingRows:re=!1,refreshingUnread:ce=!1,onRetryPeople:Be,onRetryMembers:$e,eligibility:ve=null,gatePending:On=!1,readOnly:ye=!1,notice:Ui=null,onTarget:xn,onSend:st,onSchedule:te,attachmentCapability:ot=null,recordingProbe:nn,onNewChannel:qn,onRetry:vn,onScopeChange:tn,onChooseOrganization:Ln,onRetryMemberships:It})=>{const Fn=me(),[Te,$n]=c.useState(je??null),[jn,dn]=c.useState(se??null),[ni,Et]=c.useState(X),[ti,cn]=c.useState(!1),[Rt,Tt]=c.useState(!1),[Mt,lt]=c.useState(null),_n=Dl(d,p),[ii,dt]=c.useState(!1),mn=c.useRef(!1);mn.current=Pl(mn.current,_n.length>0||Te==="invitations",ii);const[Hi,ai]=c.useState(!1),[De,At]=c.useState(!1),[Xe,zt]=c.useState(!1),[Bn,Kn]=c.useState(!1),Ke=c.useRef(!1),ri=c.useRef(null),D=c.useId(),oe=w===Qe&&l?.type==="conversation"?d.find(b=>b.id===l.id)?.tenant_id??w:w,ee=zp(p,oe,l,"",ve==="signed_out",w===Qe),Ue=!!ee.current?.sendAt&&!ee.current?.createUncertain&&!De,ue=ra(p,oe,l?ln(l):""),Nn=`${ue}|${l?.type==="compose"?l.recipients.map(Ve).sort().join(","):""}`,Sn=on(b=>b.inputByConversation[ue]),Ze=Sn?.currentInput??"",un=(Sn?.attachments??[]).map(b=>b.path);c.useEffect(()=>{const b=ee.current?.body||be?.body||xe;if(!b.trim())return;const A=on.getState();A.getCurrentInput(ue).trim()||(A.setComposerText(ue,b),ee.current?.body&&ee.update({body:""}),be&&(be.body=""))},[ue]),c.useEffect(()=>{Xe&&Ze.trim()&&zt(!1)},[Ze,Xe]);const Un=c.useRef(p);c.useEffect(()=>{const b=Un.current;if(ve==="signed_out"||b&&p!==b){const A=on.getState();Ol(A,A.clearComposer,b)}Un.current=ve==="signed_out"?void 0:p},[p,ve]),c.useEffect(()=>{!Ze.trim()||!l||ee.current||!de()||ee.update({})},[Ze,l]);const[hn,gn]=c.useState(null),He=!!Ze.trim()||un.length>0,Ee=on(b=>b.inputByConversation),Ge=(b,A)=>Ee[ra(p,b,A)]?.currentInput??"",or=(b,A)=>Ee[ra(p,b,A)]?.attachments.length??0,lr=(b,A)=>{const G=ln(b.target);return!!Ge(A,G).trim()||or(A,G)>0||(b.attachments?.length??0)>0||b.target.type==="compose"&&b.target.recipients.length>0},Le=b=>{e?.clear(),$n(null),xn(b)},ct=Jc(P)&&p!==void 0,Jo=Wh(ne),[Re,mt]=c.useState(ct?i??null:null);c.useEffect(()=>{ct&&i&&mt(i)},[i,ct]);const Ce=w===Qe,Dt=p!==void 0,Hn=c.useMemo(()=>Zs(d,w,k),[d,w,k]),ut=c.useMemo(()=>Hn.filter(b=>b.status!=="archived"),[Hn]),si=c.useMemo(()=>k.map(b=>b.tenantId),[k]),Gn=c.useMemo(()=>Jd(ut,si),[ut,si]),dr=c.useMemo(()=>eo(Hn,U),[Hn,U]),Pt=c.useMemo(()=>Ce?[]:La(ke,p),[Ce,ke,p]),Gi=c.useMemo(()=>Ce?kg({organizations:k,directories:_e,directoryStates:Ie,directs:Gn.directs,selfAccountId:p}):[],[Ce,k,_e,Ie,Gn,p]),oi=pg(Ce,k.length),Wi=vt(),Vo=c.useMemo(()=>p&&fe?.trim()?{accountId:p,name:fe}:null,[p,fe]),li=b=>Ce?_e?.[b]??[]:ke,Ji=(b,A)=>Ni(b,li(A),Wi,Vo),Vi=(b,A)=>li(A).find(G=>G.account_id===b.account_id),Qi=(b,A)=>{const G=Vi(b,A);return!Dt||!G||G.account_id===p||!G.bridge_enabled||!["active","paused"].includes(G.bridge_state)||b.kind==="agent"&&!G.agent?null:Hp(b,A,Hn,p,ye,Ce)},cr=(b,A)=>{const G=Qi(b,A);G&&(G.type!=="conversation"&&Ce&&tn(Mn(A)),Le(G))},mr=(b,A)=>Ji(b,A)??(b.kind==="agent"?s("ui.teamBridge.sender.unknown_agent"):s("ui.teamBridge.sender.unknown_person")),ur=Ce?fg(Gi):Qs(Gn.directs,ke,Pt,p),Me=Ci(l,dr,p),Wn=Me!==null&&$a(Me),Yi=Me?sa(Me,k):null,di=Ce&&Me!==null&&Yi===null,ht=l?.type==="person"||l?.type==="chief"?ke.find(b=>b.account_id===l.accountId)??null:null,Xi=l?.type==="chief"?Pt.find(b=>b.person.account_id===l.accountId)??null:null,pn=Me?Me.kind==="dm"?(()=>{const b=Me.members.find(A=>A.state!=="removed"&&!(A.kind==="human"&&A.account_id===p));return b?mr(b,Me.tenant_id):s("ui.teamBridge.list.untitled")})():bi(Me,p)??s("ui.teamBridge.list.untitled"):Xi?yt(Xi.agentName,Ye(Xi.person),Wi):ht?Ye(ht):null,Qo=c.useMemo(()=>no(ke,p,vt()),[ke,p]),gt=l?.type==="compose"?l.recipients:[],J=Me,hr=Vd(J?.builtin),Zi=J?Qd(J):{active:0,invited:0},pt=b=>{Re&&(mt(null),a?.()),e?.clear(),$n(b)},Yo=!!(ct&&Re&&J&&Re.conversationId===J.id&&Re.tenantId===J.tenant_id&&!Wn&&!di);ql(J?.id);const Xo=b=>{J&&mt({tenantId:J.tenant_id,conversationId:J.id,rootId:b.id})},Cn=!ye&&!Wn&&J?.status!=="archived"&&!di&&(J!==null||l?.type==="compose"&>.length>0||(l?.type==="person"||l?.type==="chief")&&ht!==null),Zo=l?.type==="compose"&>.length>0?s("ui.teamBridge.composer.placeholder_to",{name:gt.map(b=>b.label).join(", ")}):pn&&l?.type!=="compose"?s("ui.teamBridge.composer.placeholder_to",{name:pn}):s("ui.teamBridge.composer.placeholder"),ea=`${D}-gate`,gr=Jo&&p&&Me?{accountId:p,tenantId:Me.tenant_id,disabled:!Cn||Me.status!=="open"}:void 0,na=b=>({ids:[],stageHeld:async(A,G)=>{const ae=await Sp({paths:b,accountId:p??"",tenantId:G??(oe===Qe?"":oe),conversationId:A,capability:ot});if(ae.failures.length>0&&gn({kind:"upload",failure:ae.failures[0]}),ae.ids.length!==b.length)throw new Error("attachment staging refused");return ae.ids}}),Ot=Ti(J?.tenant_id,J?.id);c.useLayoutEffect(()=>{o==="ready"&&J&&m.length===0&&mu(Ot)},[o,J,m.length,Ot]),c.useLayoutEffect(()=>()=>No(Ot),[Ot]);const ci=Yn(b=>b.entries),pr=Nn,kr=l?.type==="conversation"?l.id:void 0,fr=c.useMemo(()=>sp(ci,{owner:p,lane:pr,conversationId:J?.id??kr}),[ci,p,pr,J?.id,kr]),ta=c.useMemo(()=>{if(!p)return null;const b=ke.find(G=>G.account_id===p),A=b?Ye(b):(fe?.trim()??"")||p;return{account_id:p,kind:"human",display_label:A}},[p,fe,ke]),In=c.useMemo(()=>op(m,fr,ta,J?.id),[m,fr,ta,J?.id]),wr=c.useRef(new Set),el=l?.type==="conversation"&&wr.current.has(l.id)&&J===null,nl=c.useMemo(()=>m.reduce((b,A)=>Math.max(b,A.seq),-1),[m]),Jn=Ki({resetKey:`${J?.tenant_id??""}:${J?.id??""}:${o}:${Te??""}`,contentKey:`${In.messages.length}:${In.messages.at(-1)?.id??""}`});c.useLayoutEffect(()=>{if(!u)return;const b=Array.from(Jn.rootRef.current?.querySelectorAll("[data-message-id]")??[]).find(A=>A.dataset.messageId===u);b&&(Jn.hold(),b.scrollIntoView?.({block:"center"}))},[u,Jn.hold,Jn.rootRef]);const ia=c.useRef(!1),br=(b,A,G)=>{const ae=Je.get(ue);ae!==void 0&&(ae.clientRef===A||ae.clientRef===b.clientRef)&&(G&&Je.delete(ue),G&&de()&&ee.current?.clientRef===A&&ee.update({clientRef:crypto.randomUUID()}))},yr=b=>{const A=b.conversationId?Ms(b.conversationId):b.lane;return lp(A,async G=>{const ae=b.conversationId?{conversationId:b.conversationId,tenantId:b.tenantId}:G.resolved,Fe=we=>Yn.getState().patch(b.localId,we),En=we=>st(b.body,we,void 0,{into:ae,onCreated:(Se,ze)=>{dp(A,Ms(Se),{conversationId:Se,tenantId:ze}),wr.current.add(Se),Fe({conversationId:Se,tenantId:ze})}});let Ae=b.clientRef,Pe;try{try{Pe=await En(Ae)}catch(Se){if(!rs(Se)||b.autoRetried)throw Se;Ae=crypto.randomUUID(),Fe({clientRef:Ae,autoRetried:!0});const ze=Je.get(ue);ze&&ze.clientRef===b.clientRef&&Je.set(ue,{...ze,clientRef:Ae}),Pe=await En(Ae)}const we=cp(Pe);Fe({status:"sent",serverId:we?.id,serverRow:we,...we?.conversation_id?{conversationId:we.conversation_id}:{}}),br(b,Ae,!0)}catch(we){Fe({status:"failed"}),br(b,Ae,!1),xi(we)&&gn({kind:"expired"})}})},tl=async(b,A)=>{const G=b.trim();if(!G&&A.length===0||!de()||g||De||Ke.current||ee.current?.createUncertain||ee.current?.sendAt||!Cn||!l)return!1;if(A.length>0&&!ot)return gn({kind:"capability"}),!1;gn(null);const ae=Je.get(ue),Fe=ae?.localId?ci.find(we=>we.localId===ae.localId):void 0,Ae=!!(ae&&ae.body===G&&(!ae.localId||Fe===void 0||Fe.status==="failed"))?ae.clientRef:crypto.randomUUID();if(ae?.body!==G&&(ia.current=!1),!ee.update({clientRef:Ae}))return!1;if(A.length===0&&ta&&l){const we=ci.find(ze=>ze.status==="failed"&&ze.clientRef===Ae&&ze.owner===(p??"")),Se=we?{...we,body:G,status:"pending"}:{localId:crypto.randomUUID(),clientRef:Ae,body:G,createdAt:new Date().toISOString(),order:rp(),owner:p??"",lane:Nn,conversationId:Me?.id,tenantId:Me?.tenant_id??(oe===Qe?void 0:oe),baselineSeq:nl,status:"pending"};return we?Yn.getState().patch(Se.localId,{status:"pending"}):Yn.getState().add(Se),Je.set(ue,{body:G,clientRef:Ae,localId:Se.localId}),Jn.pin(),yr(Se),!0}const Pe={body:G,clientRef:Ae};Je.set(ue,Pe),Ke.current=!0,Jn.pin();try{await st(G,Ae,na(A));const we=Je.get(ue)===Pe;return we&&Je.delete(ue),we&&de()&&ee.update({clientRef:crypto.randomUUID()}),!0}catch(we){if(rs(we)&&!ia.current){ia.current=!0;const Se=crypto.randomUUID(),ze={body:G,clientRef:Se};if(Je.set(ue,ze),ee.update({clientRef:Se}))try{await st(G,Se,na(A));const kt=Je.get(ue)===ze;return kt&&Je.delete(ue),kt&&de()&&ee.update({clientRef:crypto.randomUUID()}),!0}catch(kt){return xi(kt)&&gn({kind:"expired"}),!1}}return xi(we)&&gn({kind:"expired"}),!1}finally{Ke.current=!1}},xr=async b=>{if(!l||!te||Ke.current||ee.current?.createUncertain||!He||!Cn||g||De)throw new Error("schedule unavailable");if(ee.current?.sendAt&&ee.current.sendAt!==b)throw new Error("retry requires original time");const A=Ze.trim(),G=ee.current?.sendAt?ee.current.clientRef:crypto.randomUUID(),ae=ln(l),Fe=l.type==="compose"&&l.recipients.length>1&&!J&&!ee.current?.conversationId;if(!ee.update({clientRef:G,sendAt:b,...Fe?{createUncertain:!0}:{}}))throw new Error("draft persistence unavailable");Ke.current=!0,At(!0),zt(!1),Kn(!1);const En=un,Ae=na(En);try{await te(A,G,b,ee.current?.conversationId,Rn=>{if(!ee.update({conversationId:Rn,clientRef:G,sendAt:b,createUncertain:!1}))throw new Error("draft persistence unavailable")},Ae),be&&be.body.trim()===A&&(be.body="");const Pe=on.getState(),we=Pe.inputByConversation[ue],Se=(we?.attachments??[]).map(Rn=>Rn.path),ze=Pe.getCurrentInput(ue).trim()===A,kt=Se.length===En.length&&Se.every((Rn,ol)=>Rn===En[ol]);if(ze&&kt)Pe.clearComposer(ue);else{for(const Rn of we?.attachments??[])En.includes(Rn.path)&&Pe.removeAttachment(ue,Rn.id);ze&&Pe.setComposerText(ue,"")}ee.clearSent(ae,A,G),zt(!0)}catch(Pe){Kn(!0);const we=Pe?.status;throw up(ee.current?.sendAt,we)&&ee.update({createUncertain:!1,sendAt:void 0}),Pe}finally{Ke.current=!1,At(!1)}};if(On)return n.jsx(Pp,{});if(ve)return n.jsx(Op,{reason:ve});const il=b=>l?.type==="conversation"&&l.id===b.id,mi=b=>Le({type:"compose",recipients:[b]}),an=Ce||ye,vr=ye?s("ui.teamBridge.read_only.note"):s("ui.teamBridge.scope.create_needs_org"),jr=f?n.jsx(Tn,{label:s("ui.teamBridge.scope.loading")}):x?n.jsxs("div",{className:"flex flex-col items-start gap-2 px-2 py-1",children:[n.jsx("p",{className:"text-[12px] leading-snug text-ink-muted",children:s("ui.teamBridge.scope.error")}),It&&n.jsx(V,{type:"button",size:"sm",variant:"outline",onClick:It,children:s("ui.teamBridge.list.retry")})]}):null,al=f?n.jsx(Tn,{label:s("ui.teamBridge.scope.loading")}):x?n.jsx(ki,{children:s("ui.teamBridge.scope.error")}):null,_r=jr||k.length>0?void 0:{text:s("ui.teamBridge.scope.empty")},rl=b=>{if(b.type==="compose")return b.recipients.map(G=>G.label).join(", ")||s("ui.teamBridge.compose.label");if(b.type==="conversation"){const G=d.find(ae=>ae.id===b.id);return(G?bi(G,p):null)??s("ui.teamBridge.list.untitled")}const A=ke.find(G=>G.account_id===b.accountId)?.display_label??s("ui.teamBridge.list.untitled");return b.type==="chief"?yt(Pt.find(G=>G.person.account_id===b.accountId)?.agentName??"",A,vt()):A},aa=b=>n.jsx("ul",{className:"flex flex-col",children:b.map(A=>n.jsx(Ng,{hasDraft:ee.entries.some(({entry:G,tenantId:ae})=>ae===A.tenant_id&&(!!Ge(ae,ln(G.target)).trim()||or(ae,ln(G.target))>0||(G.attachments?.length??0)>0)&&Ci(G.target,[A],p)?.id===A.id),conversation:A,selected:il(A),selfAccountId:p,title:A.kind==="dm"?(()=>{const G=A.members.find(ae=>ae.state!=="removed"&&!(ae.kind==="human"&&ae.account_id===p));return G?mr(G,A.tenant_id):void 0})():void 0,organizationName:Ce?sa(A,k)??s("ui.teamBridge.scope.unknown"):void 0,onSelect:()=>Le({type:"conversation",id:A.id}),onArchive:v&&!ye&&oa(A)?()=>dn({kind:"archive",conversationId:A.id}):void 0},A.id))}),sl=n.jsxs("div",{"data-glass-region":"canvas",className:"panel-flush @container/bridge relative flex min-h-0 flex-1 w-full overflow-hidden bg-canvas",children:[n.jsxs("aside",{"data-glass-region":"page-sidebar",className:"panel-top-pad flex w-72 shrink-0 flex-col bg-surface","aria-busy":re||ce||void 0,onPointerEnter:()=>dt(!0),onPointerLeave:()=>dt(!1),children:[n.jsx("h1",{className:"sr-only",children:s("ui.teamBridge.page.title")}),n.jsxs("header",{className:"flex h-11 shrink-0 items-center gap-2 px-3",children:[n.jsx(wg,{organizations:k,scope:w,onScopeChange:Ln??tn,totalUnread:y,membershipsLoading:f,organizationsFailed:x,unreadRefreshing:ce,onRetry:It}),n.jsx(V,{size:"icon-sm",variant:"ghost","aria-label":s("ui.teamBridge.compose.new"),"aria-disabled":an||void 0,title:an?vr:void 0,className:an?"text-ink-disabled hover:bg-transparent":void 0,onClick:()=>{an||Le(ee.drafts.compose?.target??{type:"compose",recipients:[]})},children:n.jsx(za,{size:16})}),n.jsx("span",{"data-rail-refreshing":ce?"unread":re?"rows":void 0,"aria-hidden":"true",className:Z("size-1.5 shrink-0 rounded-full",ce||re?"bg-ink-dim":"bg-transparent")})]}),n.jsxs("nav",{"aria-label":s("ui.teamBridge.drafts.navigation"),className:"flex flex-col px-3 pb-2",children:[n.jsxs("button",{type:"button","aria-current":Te==="drafts"?"page":void 0,onClick:()=>pt("drafts"),className:"flex h-[30px] items-center gap-2 rounded-md px-2 text-sm text-ink-muted hover:bg-row-hover",children:[n.jsx(qi,{size:14,"aria-hidden":"true"}),s("ui.teamBridge.drafts.title")]}),n.jsxs("button",{type:"button",disabled:!p,"aria-current":Te==="scheduled"?"page":void 0,onClick:()=>pt("scheduled"),className:"flex h-[30px] items-center gap-2 rounded-md px-2 text-sm text-ink-muted hover:bg-row-hover disabled:text-ink-disabled",children:[n.jsx(Ut,{size:14,"aria-hidden":"true"}),s("ui.teamBridge.schedule.list")]}),mn.current&&n.jsxs("button",{type:"button","aria-current":Te==="invitations"?"page":void 0,onClick:()=>pt("invitations"),className:"flex h-[30px] items-center gap-2 rounded-md px-2 text-sm text-ink-muted hover:bg-row-hover",children:[n.jsx(Fc,{size:14,"aria-hidden":"true"}),n.jsx("span",{className:"min-w-0 flex-1 truncate text-start",children:s("ui.teamBridge.invitations.title")}),_n.length>0&&n.jsx(Ri,{count:_n.length,className:"-me-2 shrink-0","aria-label":s("ui.teamBridge.invitations.count",{count:_n.length})})]}),ie&&(Te==="archived"||zr(U).length>0||ut.some(oa))&&n.jsxs("button",{type:"button","aria-current":Te==="archived"?"page":void 0,onClick:()=>{ie(),pt("archived")},className:Z("flex h-[30px] items-center gap-2 rounded-md px-2 text-sm",Te==="archived"?Di:"text-ink-muted hover:bg-row-hover"),children:[n.jsx(Ht,{size:14,"aria-hidden":"true"}),s("ui.teamBridge.archive.section.archived")]})]}),n.jsxs(xa,{className:"min-h-0 flex-1 [&_[data-radix-scroll-area-viewport]>div]:block!",children:[r==="error"&&(ut.length>0?n.jsxs("div",{className:"space-y-1 px-3 py-3 text-[12px] text-ink-muted",children:[n.jsx("p",{children:s("ui.teamBridge.list.error_stale")}),vn&&n.jsx("button",{type:"button",className:"underline",onClick:vn,children:s("ui.teamBridge.list.retry")})]}):n.jsxs("div",{className:"flex flex-col items-start gap-2 px-3 py-3",children:[n.jsx("p",{className:"text-[12px] text-ink-muted",children:s("ui.teamBridge.list.error")}),vn&&n.jsx(V,{size:"sm",variant:"ghost",onClick:vn,children:s("ui.teamBridge.list.retry")})]})),n.jsx(Qn,{id:"team-bridge-channels-heading",title:s("ui.teamBridge.section.channels"),menu:ie?{label:s("ui.teamBridge.archive.section.menu"),items:[{key:"archived",label:s("ui.teamBridge.archive.section.archived"),icon:n.jsx(Ht,{size:14,"aria-hidden":"true"}),onSelect:()=>{ie(),pt("archived")}}]}:void 0,add:an?void 0:{label:s("ui.teamBridge.section.channels_add"),onAdd:qn},empty:r==="ready"&&Gn.channels.length===0?{text:an?s("ui.teamBridge.section.channels_none"):s("ui.teamBridge.section.channels_empty"),onCreate:an?void 0:qn}:void 0,children:r==="loading"?n.jsx(Tn,{label:s("ui.teamBridge.list.loading")}):aa(Gn.channels)}),n.jsx(Qn,{id:"team-bridge-groups-heading",title:s("ui.teamBridge.section.groups"),add:an?void 0:{label:s("ui.teamBridge.section.groups_add"),onAdd:()=>Le(ee.drafts.compose?.target??{type:"compose",recipients:[]})},empty:r==="ready"&&Gn.groups.length===0?{text:an?s("ui.teamBridge.section.groups_none"):s("ui.teamBridge.section.groups_empty"),onCreate:an?void 0:()=>Le(ee.drafts.compose?.target??{type:"compose",recipients:[]})}:void 0,children:r==="loading"?n.jsx(Tn,{label:s("ui.teamBridge.list.loading")}):aa(Gn.groups)}),ur.length>0&&n.jsx(Qn,{id:"team-bridge-directs-heading",title:s("ui.teamBridge.section.directs"),children:aa(ur)}),Ce?n.jsxs(n.Fragment,{children:[n.jsx(Qn,{id:"team-bridge-people-heading",title:s("ui.teamBridge.people.title"),empty:_r,children:jr??Gi.map((b,A)=>{const G=Bs("people",b.tenantId);return n.jsxs(c.Fragment,{children:[oi&&n.jsx(Ta,{id:G,name:b.name,first:A===0}),b.state==="loading"?n.jsx(Tn,{label:s("ui.teamBridge.people.loading")}):b.state==="error"?n.jsx(Ps,{error:rn?.[b.tenantId],onRetry:()=>$e?.(b.tenantId)}):b.members.length===0?n.jsx(ki,{children:s("ui.teamBridge.people.empty")}):n.jsx("ul",{className:"flex flex-col","aria-labelledby":oi?G:void 0,children:b.members.map(ae=>n.jsx(Ns,{hasDraft:!!Ge(b.tenantId,`person:${ae.account_id}`).trim(),member:ae,selfAccountId:p,identityKnown:Dt,selected:!1,dm:Dr(b.directs,ae.account_id,p),readOnly:ye,onSelect:()=>{tn(Mn(b.tenantId)),Le({type:"person",accountId:ae.account_id})},onStartGroup:Fe=>{tn(Mn(b.tenantId)),mi(Fe)}},_s(b.tenantId,ae.account_id)))})]},b.tenantId)})}),n.jsx(Qn,{id:"team-bridge-chiefs-heading",title:s("ui.teamBridge.section.chiefs"),empty:_r,children:al??Gi.map((b,A)=>{const G=Bs("chiefs",b.tenantId);return n.jsxs(c.Fragment,{children:[oi&&n.jsx(Ta,{id:G,name:b.name,first:A===0}),b.state==="loading"?n.jsx(Tn,{label:s("ui.teamBridge.people.loading")}):b.state==="error"?n.jsx(ki,{children:s("ui.teamBridge.people.error")}):b.chiefs.length===0?n.jsx(ki,{children:s("ui.teamBridge.section.chiefs_empty")}):n.jsx("ul",{className:"flex flex-col","aria-labelledby":oi?G:void 0,children:b.chiefs.map(ae=>n.jsx(Ss,{hasDraft:!!Ge(b.tenantId,`chief:${ae.person.account_id}`).trim(),chief:ae,label:yt(ae.agentName,Ye(ae.person),Wi),selected:!1,dm:Pr(b.directs,ae.person.account_id,p),readOnly:ye,onSelect:()=>{tn(Mn(b.tenantId)),Le({type:"chief",accountId:ae.person.account_id})},onStartGroup:Fe=>{tn(Mn(b.tenantId)),mi(Fe)}},_s(b.tenantId,ae.person.account_id)))})]},b.tenantId)})})]}):n.jsxs(n.Fragment,{children:[n.jsx(Qn,{id:"team-bridge-people-heading",title:s("ui.teamBridge.people.title"),empty:Ne==="ready"&&ke.length===0?{text:W?s("ui.teamBridge.people.error"):s("ui.teamBridge.people.empty")}:void 0,children:Ne==="loading"?n.jsx(Tn,{label:s("ui.teamBridge.people.loading")}):Ne==="error"?n.jsx(Ps,{error:C,onRetry:Be}):n.jsx("ul",{className:"flex flex-col",children:ke.map(b=>n.jsx(Ns,{hasDraft:!!Ge(oe,`person:${b.account_id}`).trim(),member:b,selfAccountId:p,identityKnown:Dt,selected:Cs(l,"person",b.account_id),dm:Dr(Hn,b.account_id,p),readOnly:ye,onSelect:()=>Le({type:"person",accountId:b.account_id}),onStartGroup:mi},b.account_id))})}),n.jsx(Qn,{id:"team-bridge-chiefs-heading",title:s("ui.teamBridge.section.chiefs"),empty:Ne==="ready"&&Pt.length===0?{text:s("ui.teamBridge.section.chiefs_empty")}:void 0,children:Ne==="loading"?n.jsx(Tn,{label:s("ui.teamBridge.people.loading")}):Ne==="error"?null:n.jsx("ul",{className:"flex flex-col",children:Pt.map(b=>n.jsx(Ss,{hasDraft:!!Ge(oe,`chief:${b.person.account_id}`).trim(),chief:b,label:yt(b.agentName,Ye(b.person),vt()),selected:Cs(l,"chief",b.person.account_id),dm:Pr(Hn,b.person.account_id,p),readOnly:ye,onSelect:()=>Le({type:"chief",accountId:b.person.account_id}),onStartGroup:mi},b.person.account_id))})})]}),e?.rail(()=>{$n(null),mt(null),a?.()})]})]}),n.jsxs("section",{className:Z("panel-top-pad flex min-w-0 flex-1 flex-col bg-surface",Yo&&"@max-[1024px]/bridge:invisible"),children:[Ui,e?.active?e.panel:Te==="invitations"?n.jsx(Yu,{invitations:_n,listState:r,onRetry:vn,readOnly:ye,organizationNames:Ce?Object.fromEntries(k.map(b=>[b.tenantId,b.name])):void 0}):Te==="scheduled"&&p?n.jsx(vp,{accountId:p,organizationNames:Object.fromEntries(k.map(b=>[b.tenantId,b.name])),conversationNames:Object.fromEntries(d.flatMap(b=>{const A=bi(b,p);return A?[[b.id,A]]:[]})),tenantIds:Ce?k.map(b=>b.tenantId):[w],readOnly:ye}):Te==="archived"?n.jsx(du,{state:N,conversations:zr(U),hasMore:$,loadingMore:Q,loadMoreFailed:Y,onLoadMore:_,organizationName:Ce?b=>sa(b,k):void 0,onRetry:ge,onOpen:b=>{$n(null),Le({type:"conversation",id:b.id})}}):Te==="drafts"?n.jsxs("section",{className:"flex min-h-0 flex-1 flex-col gap-2 overflow-auto p-5","aria-label":s("ui.teamBridge.drafts.title"),children:[n.jsx("h2",{className:"text-lg font-medium text-ink",children:s("ui.teamBridge.drafts.title")}),ee.entries.filter(({entry:b,tenantId:A})=>lr(b,A)).length===0&&n.jsx("p",{className:"text-ink-muted",children:s("ui.teamBridge.drafts.empty")}),ee.entries.filter(({entry:b,tenantId:A})=>lr(b,A)).map(({key:b,tenantId:A,entry:G})=>n.jsxs("button",{type:"button",onClick:()=>{A!==w&&tn(Mn(A)),Le(G.target)},className:"rounded-md bg-surface p-3 text-left text-ink hover:bg-row-hover",children:[n.jsx("span",{className:"block text-sm font-medium",children:rl(G.target)}),n.jsx("span",{className:"block truncate text-sm text-ink-muted",children:Ge(A,ln(G.target))||G.body})]},b))]}):l===null?n.jsx("div",{className:"flex flex-1 items-center justify-center px-6",children:r==="loading"?n.jsx(qe,{size:"sm",label:s("ui.teamBridge.list.loading")}):r==="error"?n.jsx("p",{className:"max-w-sm text-center text-[13px] text-ink-muted",children:s("ui.teamBridge.list.error_pane")}):n.jsxs("div",{className:"max-w-sm text-center",children:[n.jsx("p",{className:"font-medium text-[13px] text-ink",children:s("ui.teamBridge.list.empty.title")}),n.jsx("p",{className:"mt-1 text-[13px] text-ink-muted",children:an?vr:s("ui.teamBridge.list.empty.body")})]})}):n.jsxs(n.Fragment,{children:[l.type==="compose"?n.jsx(Eo,{recipients:gt,candidates:Qo,profileFor:b=>ke.find(A=>A.account_id===b.accountId),onChange:b=>Le({type:"compose",recipients:b})}):n.jsxs("header",{className:"flex h-11 shrink-0 items-center gap-2 px-5",children:[J?.kind==="channel"?n.jsx($i,{size:16,"aria-hidden":"true",className:"shrink-0 text-ink-dim"}):J?.kind==="group"?n.jsx(Nt,{size:16,"aria-hidden":"true",className:"shrink-0 text-ink-dim"}):l.type==="chief"?n.jsx(Bt,{size:16,"aria-hidden":"true",className:"shrink-0 text-accent"}):null,n.jsx("h2",{className:"min-w-0 truncate font-semibold text-[15px] text-ink",children:pn??s("ui.teamBridge.list.untitled")}),Ce&&Yi&&n.jsx("span",{className:"shrink-0 rounded-sm bg-elevated px-1.5 py-0.5 text-meta-sm text-ink-dim",children:Yi}),J&&J.kind!=="dm"&&n.jsx("span",{className:"flex shrink-0 flex-col text-meta-sm text-ink-dim",children:Zi.invited>0?n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"text-ink-muted",children:s("ui.teamBridge.member.active_count",{count:Zi.active})}),n.jsx("span",{className:"text-ink-dim",children:s("ui.teamBridge.member.invited_count",{count:Zi.invited})})]}):s("ui.teamBridge.member.count",{count:Yd(J)})}),J?.last_message_at&&J.latest_seq>0&&n.jsxs("span",{className:"shrink-0 text-meta-sm text-ink-dim",title:qp(J.last_message_at,Fn),children:[n.jsx("span",{"aria-hidden":"true",children:"·"})," ",Lp(J.last_message_at,Fn)]}),J&&!Wn&&!ye&&L&&Ft(J,p)&&n.jsxs(V,{type:"button",size:"sm",variant:"ghost",className:"shrink-0",onClick:()=>{cn(!1),Et(!0)},children:[n.jsx($t,{size:14,"aria-hidden":"true"}),s("ui.teamBridge.members.menu")]}),n.jsx("div",{className:"ms-auto flex items-center gap-1",children:J&&!Wn&&!ye&&K&&n.jsx(zu,{conversation:J,onNotifyChange:K,ownAgent:pe==="enabled"?Xd(J,p):void 0,onAgentNotifyChange:E,onAddMembers:L&&Ft(J,p)?()=>{cn(!1),Et(!0)}:void 0,onArchive:v&&oa(J)?()=>dn({kind:"archive",conversationId:J.id}):void 0,defaultOpen:he})})]}),B&&n.jsx("p",{role:"alert",className:"px-5 pb-1 text-[12px] text-danger",children:s("ui.teamBridge.notify.error")}),T&&n.jsx("p",{role:"alert",className:"px-5 pb-1 text-[12px] text-danger",children:s("ui.teamBridge.agentNotify.error")}),J?.status==="archived"&&n.jsx(lu,{conversation:J,canManage:!ye&&!!(M&&R)&&Zd(J),error:H,onUnarchive:()=>M?.(J),onDelete:()=>{lt(null),dn({kind:"delete",conversationId:J.id})}}),hr&&n.jsx("p",{className:"px-5 pb-1 text-[12px] text-ink-dim",children:s(hr)}),n.jsx(xa,{ref:Jn.rootRef,className:"min-h-0 flex-1 [&_[data-radix-scroll-area-viewport]>div]:block! [&_[data-radix-scroll-area-viewport]>div]:h-full",children:n.jsx("div",{className:"flex min-h-full flex-col",children:Wn?n.jsx($p,{joining:S,joinFailed:F,readOnly:ye,onJoin:I}):di?n.jsx("p",{className:"px-5 py-8 text-[13px] text-ink-muted",children:s("ui.teamBridge.scope.thread_unknown")}):l?.type==="conversation"&&J===null&&r==="ready"&&!el?n.jsx("p",{className:"px-5 py-8 text-[13px] text-ink-muted",children:s("ui.teamBridge.thread.not_available")}):J===null&&In.messages.length===0?n.jsx("div",{className:"mt-auto flex flex-col gap-2 px-5 pb-5",children:l.type==="compose"?n.jsx("p",{className:"text-[13px] text-ink-muted",children:gt.length===0?s("ui.teamBridge.compose.empty"):s("ui.teamBridge.thread.intro_group",{names:gt.map(b=>b.label).join(", ")})}):n.jsxs(n.Fragment,{children:[ht?n.jsx(Dn,{member:ht,label:pn??"",kind:l.type==="chief"?"agent":"human",onMessage:()=>{},canMessage:!1,children:n.jsx("button",{type:"button","data-draft-avatar":"",className:"self-start rounded-xl",children:n.jsx(yn,{member:ht,kind:l.type==="chief"?"agent":"human",label:pn??"",size:56,className:"rounded-xl text-[22px]"})})}):n.jsx("span",{"aria-hidden":"true",className:Z("flex size-14 items-center justify-center overflow-hidden rounded-xl font-semibold text-[22px]",l.type==="chief"?"bg-media-surface text-accent":"bg-media-surface text-ink-muted"),children:l.type==="chief"?n.jsx(Bt,{size:26}):(pn??"").trim().charAt(0).toUpperCase()||"?"}),n.jsx("p",{"data-draft-name":"",className:"font-semibold text-[17px] text-ink",children:pn}),n.jsx("p",{className:"text-[13px] text-ink-muted",children:l.type==="chief"?s("ui.teamBridge.thread.intro_chief",{name:pn??""}):s("ui.teamBridge.thread.intro_person",{name:pn??""})})]})}):o==="loading"&&In.localCount===0?n.jsx("div",{className:"flex items-center justify-center py-10",children:n.jsx(qe,{size:"sm",label:s("ui.teamBridge.thread.loading")})}):o==="error"?n.jsx("p",{className:"px-5 py-8 text-[13px] text-ink-muted",children:s("ui.teamBridge.thread.error")}):o==="forbidden"?n.jsx("p",{className:"px-5 py-8 text-[13px] text-ink-muted",children:s("ui.teamBridge.archive.thread.forbidden")}):In.messages.length===0?n.jsx("p",{className:"mt-auto px-5 pb-4 text-[13px] text-ink-muted",children:J?.status==="archived"?s("ui.teamBridge.archive.thread.empty"):s("ui.teamBridge.thread.empty")}):n.jsx(Ai,{messages:In.messages,events:h,presentationOf:b=>{const A=In.localOf(b),G=A!==void 0&&(A.status!=="sent"||A.serverRow===void 0);return{key:In.keyOf(b),local:G,delivery:A&&G?{status:A.status==="failed"?"failed":"pending",onRetry:A.status==="failed"&&de()?()=>{Yn.getState().patch(A.localId,{status:"pending",autoRetried:A.autoRetried}),yr(A)}:void 0,onEdit:A.status==="failed"&&de()?()=>{on.getState().returnPayload(ue,{text:A.body,attachments:[],replies:[]}),Yn.getState().remove(A.localId)}:void 0}:void 0}},profileFor:b=>Vi(b,J?.tenant_id??""),canMessagePerson:b=>Qi(b,J?.tenant_id??"")!==null,onMessagePerson:Dt?b=>cr(b,J?.tenant_id??""):void 0,arrivalKey:Ot,highlightId:u,tenantId:J?.tenant_id,accountId:p,labelFor:b=>Ji(b,J?.tenant_id??""),reactionContext:gr,onReply:ct?Xo:void 0})})}),!Wn&&(J?.status==="archived"?n.jsx("p",{className:"shrink-0 px-5 pb-4 text-[12px] text-ink-dim leading-snug",children:s("ui.teamBridge.archive.composer.note")}):ye?n.jsx("p",{className:"shrink-0 px-5 pb-4 text-[12px] text-ink-dim leading-snug",children:s("ui.teamBridge.read_only.composer")}):n.jsxs("div",{className:"flex min-w-0 shrink-0 flex-col gap-2 px-4 pt-1 pb-4","data-lo-composer-band":!0,children:[Bn&&n.jsx("p",{role:"alert",className:"text-sm text-danger",children:s("ui.teamBridge.schedule.failed")}),Xe&&n.jsx("p",{"aria-live":"polite",className:"text-sm text-ink-muted",children:s("ui.teamBridge.schedule.success")}),hn&&n.jsxs("p",{className:"text-sm text-danger",role:"alert",children:[hn.kind==="capability"&&s("ui.teamBridge.attachments.unsupported"),hn.kind==="expired"&&s("ui.teamBridge.attachments.expired_staged_retry"),hn.kind==="upload"&&n.jsxs("span",{className:"inline-flex min-w-0 flex-wrap items-baseline gap-x-1.5",children:[n.jsx("span",{className:"font-medium",children:hn.failure.name}),n.jsx("span",{children:s(Dp[hn.failure.reason])})]})]}),j&&n.jsx("p",{role:"alert",className:"text-sm text-danger",children:s("ui.teamBridge.composer.error")}),ee.storageFailed&&n.jsx("p",{role:"alert",className:"text-sm text-danger",children:s("ui.teamBridge.drafts.storage_failed")}),Ue?n.jsx(Gu,{reasonId:D,busy:g||De,onRetry:te?()=>{const b=ee.current?.sendAt;b&&xr(b).catch(()=>Kn(!0))}:void 0,onDiscard:()=>{Ke.current||De||g||ee.update({sendAt:void 0,clientRef:crypto.randomUUID()})&&Kn(!1)}}):ee.current?.createUncertain&&!De?n.jsxs("div",{role:"alert",className:"text-sm text-danger",children:[n.jsx("p",{id:D,children:s("ui.teamBridge.schedule.create_uncertain")}),n.jsx(V,{variant:"ghost",onClick:()=>ee.update({createUncertain:!1}),children:s("ui.teamBridge.schedule.create_retry")})]}):null,!Cn&&n.jsx("p",{id:ea,className:"text-sm text-ink-muted",children:s("ui.teamBridge.compose.empty")}),n.jsx(Au,{conversationId:ue,placeholder:Zo,canAttach:!!ot,recordingProbe:nn,disabled:!Cn||!!Ue||!!ee.current?.createUncertain,disabledReasonId:Ue||ee.current?.createUncertain?D:Cn?void 0:ea,sendDisabled:!!ee.current?.sendAt||De,sending:g,hint:g?s("ui.chat.canonical.send_failure.send_lock"):void 0,onSendMessage:tl,trailing:te?n.jsx(V,{ref:ri,variant:"ghost",size:"icon-sm","aria-label":s("ui.teamBridge.schedule.title"),title:g?s("ui.chat.canonical.send_failure.send_lock"):void 0,"aria-describedby":ee.current?.createUncertain&&!De||Ue?D:Cn?void 0:ea,disabled:!!ee.current?.sendAt||!!ee.current?.createUncertain||!He||g||De||!Cn,onClick:()=>ai(!0),children:n.jsx(Ut,{size:16,"aria-hidden":"true"})}):void 0}),n.jsx(Wo,{open:Hi,returnFocus:ri,onOpenChange:ai,busy:De,onSchedule:xr})]}))]})]}),ct&&Re&&J&&Re.conversationId===J.id&&Re.tenantId===J.tenant_id&&!Wn&&!di&&n.jsx("div",{className:"absolute inset-y-0 end-0 start-72 z-20 min-w-0 @min-[1024px]/bridge:static @min-[1024px]/bridge:w-[min(26rem,45%)] @min-[1024px]/bridge:min-w-72 @min-[1024px]/bridge:shrink-0",children:t?t(Re,()=>{mt(null),a?.()}):n.jsx(Mp,{target:Re,canMessagePerson:b=>Qi(b,Re.tenantId)!==null,profileFor:b=>Vi(b,Re.tenantId),onMessagePerson:Dt?b=>cr(b,Re.tenantId):void 0,initialRoot:m.find(b=>b.id===Re.rootId),labelFor:b=>Ji(b,Re.tenantId),readOnly:ye,reactionContext:gr,accountId:p,attachmentCapability:ot,onClose:()=>{mt(null),a?.()}},`${Re.tenantId}:${Re.conversationId}:${Re.rootId}`)}),(()=>{const b=jn?dr.find(ae=>ae.id===jn.conversationId):void 0;if(!jn||!b)return null;const A=Va(b),G=l?.type==="conversation"&&l.id===b.id;return jn.kind==="archive"?n.jsx(su,{open:!0,name:A,onClose:()=>dn(null),onConfirm:()=>{dn(null),v?.(b),G&&Le(Or(ut,b.id,si))}}):n.jsx(ou,{open:!0,name:A,pending:Rt,error:Mt,onClose:()=>dn(null),onConfirm:()=>{!R||Rt||(Tt(!0),lt(null),R(b).then(()=>{Tt(!1),dn(null),G&&(xn(Or(ut,b.id,si)),ie?.(),pt("archived"))},ae=>{Tt(!1),lt(ae?.code==="conversation_not_found"?"gone":"error")}))}})})(),J&&n.jsx(ru,{open:ni,conversation:J,people:J?li(J.tenant_id):[],selfAccountId:p,peopleState:Ce?Ie?.[J.tenant_id]??"loading":Ne,canInvite:!ye&&Ft(J,p),canRemove:!ye&&Ba(J,p),mutationError:ti,pendingKey:z,onClose:()=>{z||(Et(!1),cn(!1))},onRetryMembers:$e,onAdd:b=>{!L||ye||!Ft(J,p)||(cn(!1),L(J,b).catch(()=>{cn(!0)}))},onRemove:b=>{!q||ye||!Ba(J,p)||(cn(!1),q(J,b).catch(()=>{cn(!0)}))}})]});return n.jsx(Yc,{conversation:J,people:J?li(J.tenant_id):[],selfAccountId:p,sendMentions:le==="enabled",onAddMembers:L,children:sl},JSON.stringify([p,oe]))},$p=({joining:e=!1,joinFailed:t=!1,readOnly:i=!1,onJoin:a})=>(me(),n.jsx("div",{className:"flex flex-1 items-center justify-center px-6 py-10",children:n.jsxs("div",{className:"flex max-w-md flex-col items-center gap-3 text-center",children:[n.jsx("p",{className:"text-[13px] text-ink",children:s("ui.teamBridge.preview.banner")}),t&&n.jsx("p",{role:"alert",className:"text-[12px] text-danger",children:s("ui.teamBridge.preview.join_error")}),i?n.jsx("p",{className:"text-[12px] leading-snug text-ink-dim",children:s("ui.teamBridge.read_only.note")}):n.jsx(V,{type:"button",size:"sm",variant:"primary",disabled:e,onClick:a,children:s("ui.teamBridge.preview.join")})]})})),ik=()=>{const e=Ll(),t=c.useRef(new Map),i=c.useRef(new Map),a=c.useRef(null);return n.jsx(Up,{accountId:e.accountId,drafts:t.current,receipts:i.current,messageLinkCarry:a},e.token)},Kp=8e3,wa=(e,t,i)=>JSON.stringify([e,t,i]),Up=({accountId:e,drafts:t,receipts:i,messageLinkCarry:a})=>{const r=at(),[o,d]=nc(),l=o.get("conversation"),m=o.get("tenant"),h=o.get("thread"),u=o.get("message"),[k,w]=c.useState(()=>{const D=u&&l&&!h?{conversationId:l,messageId:u,fetched:!1}:l?null:a.current;return a.current=D,D}),y=c.useCallback(D=>w(oe=>{const ee=typeof D=="function"?D(oe):D;return a.current=ee,ee}),[a]),[f,x]=c.useState(()=>Cr(o)),p=c.useMemo(()=>{const D=ba();return D&&e?Mc(D,e):void 0},[e]),[g,j]=c.useState(()=>m?Mn(m):p??Qe),S=c.useRef(!!m),F=e?r.getQueryData(zn.conversations(Qe,e))?.conversations:void 0,B=Fl(),T=tc(),I=pc(),K=ic(),E=(I.data?.features?.team_bridge_conversation_owner_guard??0)>=1,L=(B.data?ac(B.data):null)??(!e&&T.accountRead==="signed-out"?"signed_out":T.unavailable?"update_required":T.error||B.isError||I.isError?"unavailable":I.data&&!E?"update_required":null),q=L===null&&(!e||B.isPending||I.isPending),z=!q&&L===null&&B.data?.account_id===e,X=z?e:void 0,v=B.data?.read_only===!0||!E,M=$l(e),R=()=>M.isCurrent()&&E,H=()=>M.isAuthorityCurrent()&&E,N=Kl(X),U=Ul({enabled:z}),$=Hl(z,Qe,{accountId:e}),Q=rc(B.data),Y=c.useMemo(()=>sc(U.memberships,$.data?.organizations,Q).map(D=>({...D,unread:N.byTenant.get(D.tenantId)??D.unread})),[U.memberships,$.data,Q,N]),{pending:_,failed:ie}=oc(Q,U),je=Fr({organizations:Y,stored:p,requestedTenant:m,chosen:S.current,current:g,snapshotRows:F})===g&&!_,se=Gl(g,z&&je,e),P=Fs(g===Qe?null:g,z,e),ne=g===Qe,le=Wl(ne?Y.map(D=>D.tenantId):[],z,e),pe=T.user?.name??void 0,he=c.useMemo(()=>Ac(F??[],g),[F,g]),xe=c.useMemo(()=>(se.data?.conversations??he).map(D=>Jl(D,N)),[se.data?.conversations,he,N]),be=xe.length>0,de=q&&be,ke=be&&(de||se.isFetching||ne&&_),_e=be&&$.isFetching,Ie=P.data?.members??[],rn=no(Ie,X,vt()),[fe,Ne]=c.useState(()=>l?{type:"conversation",id:l}:null),[C,W]=c.useState(!1),re=c.useRef(()=>{}),ce=ap({accountId:e,enabled:z&&(I.data?.features?.team_bridge_owner_audit??0)>=1,scopeKey:g,organizations:ne?Y:Y.filter(D=>D.tenantId===g),onSelect:()=>{Ne(null),x(null)}});re.current=()=>ce?.clear(),c.useEffect(()=>{!l||!m||(S.current=!0,j(Mn(m)),re.current(),Ne({type:"conversation",id:l}),x(Cr(new URLSearchParams({tenant:m,conversation:l,...h?{thread:h}:{}}))),y(u&&!h?{conversationId:l,messageId:u,fetched:!1}:null),W(!1),d({},{replace:!0}))},[l,m,h,u,d,y]);const Be=D=>{S.current=!0,j(D),x(null),Ne(null),W(!1)},$e=D=>{const oe=ba();oe&&e&&zc(oe,e,D),Be(D)};c.useEffect(()=>{j(D=>Fr({organizations:Y,stored:p,requestedTenant:m,chosen:S.current,current:D,snapshotRows:F}))},[Y,F,p,m]);const ve=c.useMemo(()=>Zs(xe,g,Y),[xe,g,Y]);c.useEffect(()=>{if(!ce?.active&&fe===null&&ve.length>0){const D=lc(ve,Y.map(oe=>oe.tenantId));D&&Ne({type:"conversation",id:D.id})}},[ve,Y,fe,ce?.active]);const[On,ye]=c.useState(!1),Ui=se.isSuccess&&fe?.type==="conversation"&&!ve.some(D=>D.id===fe.id),xn=Vl(g,z&&(On||Ui),e),st=xn.data?.conversations??[],te=Ci(fe,eo(ve,st),X),ot=te!==null&&$a(te),nn=Ql(ot?null:te?.id??null,te?.tenant_id,z,e),qn=Yl(te?.id??"",te?.tenant_id),vn=Xl(),tn=Zl(),Ln=ed(ne?void 0:g,R),It=$s(te?.id??"",te?.tenant_id),Fn=nd(te?.id??"",te?.tenant_id),Te=td(),$n=id(te?.id,te?.tenant_id),jn=ad(g,e),dn=rd(),ni=sd(),Et=od(),ti=()=>{if(fe===null)return[];if(fe.type==="compose")return fe.recipients;if(fe.type==="person"){const D=Ie.find(oe=>oe.account_id===fe.accountId);return D?[{kind:"human",accountId:D.account_id,label:Ye(D)}]:[]}if(fe.type==="chief"){const D=La(Ie,X).find(oe=>oe.person.account_id===fe.accountId);return D?[{kind:"agent",accountId:D.person.account_id,endpointId:D.endpointId,agentName:D.agentName,ownerLabel:Ye(D.person),label:yt(D.agentName,Ye(D.person),vt())}]:[]}return[]},[cn,Rt]=c.useState(!1),[Tt,Mt]=c.useState(!1),lt=e??"unresolved-owner",_n=i.get(lt)??new Map;i.set(lt,_n);const ii={current:_n},dt=c.useRef(fe);dt.current=fe;const mn=c.useRef(null),Hi=async(D,oe,ee,Ue)=>{if(!R())throw new Error("Team Bridge write authority changed");const ue=Ue?.into;if(ue&&Ue){const He=await en.send(ue.conversationId,{clientRef:oe,body:D,tenantId:ue.tenantId,expectedAccountId:Ir(e),attachmentIds:await ma(ee,ue.conversationId,ue.tenantId)});return await Er(r,ue.conversationId,ue.tenantId,R),He}if(te!==null)return qn.mutateAsync({clientRef:oe,body:D,attachmentIds:await ma(ee,te.id,te.tenant_id)});const Nn=ti(),Sn=Ys(Nn);if(Sn===null)return;const Ze=`${ne?"*":g}|${Sn.kind}|${Nn.map(Ve).sort().join(",")}`,un=fe;Ue||(Rt(!0),Mt(!1));let Un,hn=!1;const gn=(He,Ee)=>{if(!(hn||!R())&&(hn=!0,un?.type==="compose"&&dt.current===un)){const Ge={type:"conversation",id:He};!ne&&typeof Ee=="string"&&Ee.length>0&&Ee===g&&(mn.current={key:wa(e,Ee,Ge),viewKey:wa(e,g,un),arrived:!1}),Ne(Ge)}};try{const{id:He}=await Xs({draftKey:Ze,input:Sn,body:D,clientRef:oe,tenantId:ne?void 0:g,remembered:ii.current,create:Ee=>Ln.mutateAsync(Ee),onCreated:Ue?Ee=>{Ue.onCreated?.(Ee.id,Ee.tenantId),gn(Ee.id,Ee.tenantId),se.refetch()}:void 0,post:async(Ee,Ge)=>{if(!H())throw new Error("Team Bridge write authority changed");return Un=await en.send(Ee,{...Ge,expectedAccountId:Ir(e),attachmentIds:await ma(ee,Ee,Ge.tenantId)}),Un}});return R()?(gn(He),await se.refetch(),await Er(r,He,void 0,R),Un??{id:He}):H()?Un??{id:He}:void 0}catch(He){throw R()&&Mt(!0),He}finally{!Ue&&R()&&Rt(!1)}},ai=async(D,oe,ee,Ue,ue,Nn)=>{if(v||ne&&!te||fe===null)throw new Error("schedule requires organization");const Sn=fe;return mp({tenantId:te?.tenant_id??g,conversationId:te?.id??Ue,recipients:ti(),body:D,clientRef:oe,sendAt:ee,attachmentIds:Nn?.ids,stageHeld:Nn?.stageHeld,remembered:ii.current,onCreated:ue,onScheduled:Ze=>{const un=yp(Sn,dt.current,Ze);un&&Ne(un),se.refetch()},create:Ze=>Ln.mutateAsync(Ze),schedule:en.scheduledCreate})};c.useEffect(()=>{qn.reset(),Fn.reset(),Te.reset(),Mt(!1)},[te?.id,fe]);const De=nn.data?.messages.reduce((D,oe)=>D===void 0||oe.seq>D?oe.seq:D,void 0);c.useEffect(()=>{!R()||te===null||De===void 0||te.status!=="archived"&&(De<=te.last_read_seq||It.mutate({seq:De}))},[te?.id,De]);const At=k!==null&&te?.id===k.conversationId,Xe=At&&(nn.data?.messages.some(D=>D.id===k.messageId)??!1),zt=At&&!Xe&&!k.fetched;c.useEffect(()=>{if(!k||k.fetched||!te||!X||te.id!==k.conversationId||nn.isPending||Xe)return;let D=!0;return r.fetchQuery({...ld(r,te.id,te.tenant_id,X),staleTime:0}).catch(()=>{}).finally(()=>{D&&y(oe=>oe&&{...oe,fetched:!0})}),()=>{D=!1}},[k,te,X,nn.isPending,Xe,r,y]),c.useEffect(()=>{if(!Xe)return;const D=setTimeout(()=>y(null),dc);return()=>clearTimeout(D)},[Xe,y]),c.useEffect(()=>{k&&(te!==null&&te.id!==k.conversationId||k.fetched&&!Xe)&&y(null)},[k,te,Xe,y]),c.useEffect(()=>{if(!k)return;const D=setTimeout(()=>y(null),Kp);return()=>clearTimeout(D)},[k,y]);const Bn=wa(e,te?.tenant_id??g,fe),Kn=t.get(Bn)??{body:""};t.set(Bn,Kn);const Ke=mn.current;Ke&&(Bn===Ke.key?Ke.arrived=!0:(Ke.arrived||Bn!==Ke.viewKey)&&(mn.current=null));const ri=mn.current?.key===Bn?mn.current.viewKey:Bn;return n.jsxs(n.Fragment,{children:[n.jsx(Fp,{ownerAudit:ce,draftJournal:Kn,isDraftCurrent:R,threadLink:f,threadsCapabilityState:ui(I.data,"team_bridge_threads"),reactionsCapabilityState:ui(I.data,"team_bridge_reactions"),sendMentionsCapabilityState:ui(I.data,"team_bridge_send_mentions"),agentNotifyCapabilityState:ui(I.data,"team_bridge_agent_notify"),onCloseThread:()=>x(null),listState:se.isPending||ne&&_?be?"ready":"loading":se.isError||ne&&ie?"error":"ready",messageState:te===null?"idle":nn.isPending||zt?"loading":nn.isError?cc(nn.error)?"forbidden":"error":"ready",conversations:xe,target:fe,messages:nn.data?.messages??[],events:nn.data?.events,highlightMessageId:Xe?k?.messageId:null,organizations:Y,scope:g,totalUnread:$.data?N.total:0,refreshingRows:ke,refreshingUnread:_e,membershipsLoading:_,organizationsFailed:ie,selfAccountId:X,sending:qn.isPending||cn,sendFailed:qn.isError||Tt,joining:Fn.isPending,joinFailed:Fn.isError,notifyFailed:la(Te,te?.id??null),agentNotifyFailed:la($n,te?.id??null),onJoin:()=>{R()&&Fn.mutate()},onArchive:D=>{R()&&dn.mutate({conversationId:D.id,tenantId:D.tenant_id},{onError:()=>wi(s("ui.teamBridge.archive.toast.archive_failed",{name:Va(D)}))})},onUnarchive:D=>{R()&&ni.mutate({conversationId:D.id,tenantId:D.tenant_id})},onDelete:D=>R()?Et.mutateAsync({conversationId:D.id,tenantId:D.tenant_id}):Promise.reject(new Error("Team Bridge write authority changed")),unarchiveFailed:la(ni,te?.id??null),archivedState:xn.isPending?"loading":xn.isError?"error":"ready",archivedConversations:st,archivedHasMore:xn.data?.has_more===!0,archivedLoadingMore:jn.isPending,archivedLoadMoreFailed:jn.isError,onLoadMoreArchived:()=>{R()&&jn.mutate()},onOpenArchived:()=>ye(!0),onRetryArchived:()=>{xn.refetch()},onNotifyChange:D=>{!R()||te===null||Te.mutate({conversationId:te.id,tenantId:te.tenant_id,notify:D})},onAgentNotifyChange:D=>{!R()||te===null||$n.mutate({conversationId:te.id,tenantId:te.tenant_id,notify:D})},onAddMembers:(D,oe)=>!R()||!Ft(D,e)?Promise.reject(new Error("Team Bridge write authority changed")):vn.mutateAsync({conversationId:D.id,tenantId:D.tenant_id,members:oe,key:"add"}),onRemoveMember:(D,oe)=>!R()||!Ba(D,e)?Promise.reject(new Error("Team Bridge write authority changed")):tn.mutateAsync({conversationId:D.id,tenantId:D.tenant_id,accountId:oe,key:`remove:${oe}`}),memberMutationKey:vn.isPending?"add":tn.isPending?tn.variables?.key??"remove":null,onTarget:D=>{x(null),W(!1),Ne(D)},onSend:Hi,attachmentCapability:hu(B.data),recordingProbe:K,onSchedule:g===Qe&&!te?void 0:ai,onNewChannel:()=>{v||ne||W(!0)},people:Ie,directories:le.members,directoryStates:le.state,directoryErrors:le.errors,onRetryMembers:D=>{ne?le.retry(D):P.refetch()},selfName:pe,peopleState:P.isPending?"loading":P.isError?"error":"ready",peopleError:P.error,peopleIncomplete:(P.data?.unavailable_count??0)>0,onRetryPeople:()=>{P.refetch()},eligibility:L,gatePending:q&&!de,readOnly:v,notice:n.jsx(Lu,{status:B.data}),onRetry:()=>{se.refetch(),U.isError&&U.refetch()},onScopeChange:Be,onChooseOrganization:$e,onRetryMemberships:()=>{U.refetch()}},ri),n.jsx(qu,{open:C,candidates:rn,pending:Ln.isPending,error:Ln.isError?s("ui.teamBridge.create.error"):void 0,onClose:()=>W(!1),onCreate:D=>{R()&&Ln.mutate(D,{onSuccess:oe=>{if(!R())return;W(!1);const ee=oe;ee.id&&Ne({type:"conversation",id:ee.id})}})}})]})};function Hp(e,t,i,a,r,o=!0){const d={type:e.kind==="agent"?"chief":"person",accountId:e.account_id},l=Ci(d,i.filter(m=>m.tenant_id===t),a);return l?o?{type:"conversation",id:l.id}:d:r?null:d}export{Op as TeamBridgeEligibilityPanel,ik as TeamBridgePage,Fp as TeamBridgePageView,$p as TeamBridgePreviewBanner,qp as absolute,Hp as profileMessageTarget,Lp as relative};
|
|
36
|
+
*/const Qc=[["path",{d:"M2 21a8 8 0 0 1 11.873-7",key:"74fkxq"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m17 17 5 5",key:"p7ous7"}],["path",{d:"m22 17-5 5",key:"gqnmv0"}]],Yc=st("user-round-x",Qc);function Xc(e,t=ul){return t?e==="enabled":!1}function Ur(e,t){return new Set((e?.members??[]).filter(i=>i.state===t).map(i=>`${i.kind}:${i.account_id}`))}function Zc(e){const{conversation:t,people:i,selfAccountId:a,chiefLabels:r}=e,s=Ur(t,"active"),d=Ur(t,"invited"),l=[],c=new Set;for(const u of i){const h=Ye(u),p=Pa(u,a),g=p==="unavailable";if(p!=="self"){const k=`human:${u.account_id}`;c.add(k),l.push({kind:"human",accountId:u.account_id,label:h,secondary:u.profile?.title||void 0,member:s.has(k),invited:d.has(k),bridgeOff:g,profile:u})}const y=u.agent;if(!y)continue;const w=`agent:${u.account_id}`;c.add(w);const x=y.name.trim();l.push({kind:"agent",accountId:u.account_id,endpointId:y.endpoint_id,label:xt(x,h,r),aliases:[x,h].filter(k=>k!==""),secondary:x!==""&&x!==h?e.agentRole:void 0,member:s.has(w),invited:d.has(w),bridgeOff:g||!(y.state==="active"||y.state==="paused"),profile:u})}for(const u of t?.members??[]){const h=`${u.kind}:${u.account_id}`;if(c.has(h)||!(s.has(h)||d.has(h))||u.kind==="human"&&u.account_id===a)continue;c.add(h);const p=u.endpoint_id;l.push({kind:u.kind,accountId:u.account_id,...u.kind==="agent"&&typeof p=="string"?{endpointId:p}:{},label:u.display_label,member:s.has(h),invited:d.has(h),bridgeOff:!1})}return l}const fo=m.createContext(null);function Ja(){return m.useContext(fo)}const em=()=>({named:(e,t)=>o("ui.teamBridge.chief.label",{agent:e,person:t}),unnamed:e=>o("ui.teamBridge.chief.unnamed",{person:e})});function nm({conversation:e,people:t,selfAccountId:i,sendMentions:a,onAddMembers:r,children:s}){const d=m.useMemo(()=>{if(!e)return null;const l=Zc({conversation:e,people:t,selfAccountId:i,chiefLabels:em(),agentRole:o("ui.teamBridge.chief.fallback")}),c=r&&e.kind!=="dm"?h=>r(e,[qa(h.kind==="agent"?{kind:"agent",accountId:h.accountId,endpointId:h.endpointId,label:h.label}:{kind:"human",accountId:h.accountId,label:h.label})]):void 0,u=i?t.find(h=>h.account_id===i):void 0;return{conversationId:e.id,draftOwner:i?{accountId:i,tenantId:e.tenant_id}:null,self:i&&u?{accountId:i,label:Ye(u)}:null,candidates:l,conversationKind:e.kind,sendMentions:a,onInvite:c,canInvite:h=>c!==void 0&&!h.invited&&(h.kind==="human"||!!h.endpointId)}},[e,t,i,a,r]);return n.jsx(fo.Provider,{value:d,children:s})}function tm(e,t){return e===null?t===null?"none":"emoji":t===null?"mention":t>e?"emoji":"mention"}function im(e,t,i){return e!=="none"&&i[e](t)?!0:(i.composer(t),!1)}function am(e,t){return!t&&["insertText","deleteContentBackward","deleteContentForward"].includes(e)}function wo(e,t){return`${e}-emoji-option-${t}`}const rm=36,sm=8;function om(e){const t=Math.max(0,e.viewportWidth),i=Math.max(0,e.viewportHeight),a=Math.min(8,t/2,i/2),r=6,s=e.paneWidth!==void 0&&Number.isFinite(e.paneWidth)?Math.max(0,e.paneWidth):Number.POSITIVE_INFINITY,d=Math.min(320,s,Math.max(0,t-a*2)),l=Math.max(1,Math.min(sm,e.rows))*rm+8,c=Math.max(0,e.caret.top-r-a),u=Math.max(0,i-e.caret.top-e.caret.height-r-a),h=c<l&&u>c,p=Math.min(l,h?u:c,Math.max(0,i-a*2)),g=e.rtl?e.caret.right-d:e.caret.left;return{left:Math.max(a,Math.min(g,t-a-d)),top:Math.max(a,Math.min(h?e.caret.top+e.caret.height+r:e.caret.top-r-p,i-a-p)),width:d,maxHeight:p}}const lm=["boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","fontFeatureSettings","textAlign","textTransform","textIndent","letterSpacing","wordSpacing","tabSize","direction"];function bo(e,t){const i=e.ownerDocument.defaultView?.getComputedStyle(e);if(i){for(const a of lm)t.style[a]=i[a];t.style.whiteSpace="pre-wrap",t.style.overflowWrap="break-word"}}function yo(e,t){const i=e.ownerDocument,a=i.createElement("div");bo(e,a),a.style.position="absolute",a.style.visibility="hidden",a.style.top="0",a.style.left="-9999px",a.textContent=e.value.slice(0,t);const r=i.createElement("span");r.textContent=e.value.charAt(t)||".",a.appendChild(r),i.body.appendChild(a);const s=e.getBoundingClientRect(),d=Number.parseFloat(i.defaultView?.getComputedStyle(e).lineHeight??"")||20,l={left:s.left+r.offsetLeft-e.scrollLeft,right:s.left+r.offsetLeft+r.offsetWidth-e.scrollLeft,top:s.top+r.offsetTop-e.scrollTop,height:d};return a.remove(),l}function dm({fieldRef:e,anchorIndex:t,listboxId:i,rows:a,active:r,label:s,emptyLabel:d,onActive:l,onPick:c,labelFor:u=h=>h.name}){const[h,p]=m.useState(null),g=m.useRef(null);m.useLayoutEffect(()=>{const w=e.current,x=w?.ownerDocument.defaultView;if(!w||!x)return;const k=()=>{p(om({caret:yo(w,t),viewportWidth:x.innerWidth,viewportHeight:x.innerHeight,paneWidth:w.getBoundingClientRect().width,rows:a.length,rtl:x.getComputedStyle(w).direction==="rtl"}))};k(),x.addEventListener("scroll",k,!0),x.addEventListener("resize",k);const f=typeof ResizeObserver>"u"?null:new ResizeObserver(k);return f?.observe(w),()=>{x.removeEventListener("scroll",k,!0),x.removeEventListener("resize",k),f?.disconnect()}},[e,t,a.length]),m.useLayoutEffect(()=>{g.current?.querySelector(`[data-emoji-index="${r}"]`)?.scrollIntoView?.({block:"nearest"})},[r,a,h?.maxHeight]);const y=e.current?.ownerDocument;return!y||!h||h.maxHeight<=0?null:oo.createPortal(n.jsx("div",{"data-emoji-popover":"",className:Z("fixed z-50 overflow-hidden rounded-md bg-elevated shadow-lg"),style:{left:h.left,top:h.top,width:h.width},children:n.jsx("div",{ref:g,id:i,role:"listbox",tabIndex:-1,"aria-label":s,className:"overflow-y-auto py-1",style:{maxHeight:h.maxHeight},children:a.length===0?n.jsx("output",{className:"block min-h-9 px-3 py-2 text-body-sm text-ink-muted",children:d}):a.map((w,x)=>n.jsxs("div",{id:wo(i,x),role:"option","aria-selected":x===r,"aria-setsize":a.length,"aria-posinset":x+1,"data-emoji-index":x,className:Z("relative flex h-9 min-h-9 cursor-pointer items-center gap-2 px-3 text-body-sm text-ink",x===r&&"bg-accent-wash before:absolute before:inset-y-0 before:start-0 before:w-0.5 before:bg-accent"),onMouseMove:()=>l(x),onMouseDown:k=>{k.preventDefault()},onClick:()=>c(w),children:[n.jsx("span",{"aria-hidden":"true",className:"shrink-0 text-lg",children:w.emoji}),n.jsx("span",{className:"truncate",children:u(w)})]},w.emoji))})}),y.body)}const cm=["Smileys & Emotion","People & Body","Animals & Nature","Food & Drink","Travel & Places","Activities","Objects","Symbols","Flags"],mm=JSON.parse('[["😀","grinning face",0,["cheerful","cheery","face","grin","grinning","happy","laugh","nice","smile","smiling","teeth"]],["😃","grinning face with big eyes",0,["awesome","big","eyes","face","grin","grinning","happy","mouth","open","smile","smiling","teeth","yay"]],["😄","grinning face with smiling eyes",0,["eye","eyes","face","grin","grinning","happy","laugh","lol","mouth","open","smile","smiling"]],["😁","beaming face with smiling eyes",0,["beaming","eye","eyes","face","grin","grinning","happy","nice","smile","smiling","teeth"]],["😆","grinning squinting face",0,["closed","eyes","face","grinning","haha","hahaha","happy","laugh","lol","mouth","open","rofl","smile","smiling","squinting"]],["😅","grinning face with sweat",0,["cold","dejected","excited","face","grinning","mouth","nervous","open","smile","smiling","stress","stressed","sweat"]],["🤣","rolling on the floor laughing",0,["crying","face","floor","funny","haha","happy","hehe","hilarious","joy","laugh","lmao","lol","rofl","roflmao","rolling","tear"]],["😂","face with tears of joy",0,["crying","face","feels","funny","haha","happy","hehe","hilarious","joy","laugh","lmao","lol","rofl","roflmao","tear"]],["🙂","slightly smiling face",0,["face","happy","slightly","smile","smiling"]],["🙃","upside-down face",0,["face","hehe","smile","upside-down"]],["🫠","melting face",0,["disappear","dissolve","embarrassed","face","haha","heat","hot","liquid","lol","melt","melting","sarcasm","sarcastic"]],["","cracking face",0,[]],["😉","winking face",0,["face","flirt","heartbreaker","sexy","slide","tease","wink","winking","winks"]],["😊","smiling face with smiling eyes",0,["blush","eye","eyes","face","glad","satisfied","smile","smiling"]],["😇","smiling face with halo",0,["angel","angelic","angels","blessed","face","fairy","fairytale","fantasy","halo","happy","innocent","peaceful","smile","smiling","spirit","tale"]],["🥰","smiling face with hearts",0,["3","adore","crush","face","heart","hearts","ily","love","romance","smile","smiling","you"]],["😍","smiling face with heart-eyes",0,["143","bae","eye","face","feels","heart-eyes","hearts","ily","kisses","love","romance","romantic","smile","xoxo"]],["🤩","star-struck",0,["excited","eyes","face","grinning","smile","star","star-struck","starry-eyed","wow"]],["😘","face blowing a kiss",0,["adorbs","bae","blowing","face","flirt","heart","ily","kiss","love","lover","miss","muah","romantic","smooch","xoxo","you"]],["😗","kissing face",0,["143","date","dating","face","flirt","ily","kiss","love","smooch","smooches","xoxo","you"]],["☺️","smiling face",0,["face","happy","outlined","relaxed","smile","smiling"]],["😚","kissing face with closed eyes",0,["143","bae","blush","closed","date","dating","eye","eyes","face","flirt","ily","kisses","kissing","smooches","xoxo"]],["😙","kissing face with smiling eyes",0,["143","closed","date","dating","eye","eyes","face","flirt","ily","kiss","kisses","kissing","love","night","smile","smiling"]],["🥲","smiling face with tear",0,["face","glad","grateful","happy","joy","pain","proud","relieved","smile","smiley","smiling","tear","touched"]],["😋","face savoring food",0,["delicious","eat","face","food","full","hungry","savor","smile","smiling","tasty","um","yum","yummy"]],["😛","face with tongue",0,["awesome","cool","face","nice","party","stuck-out","sweet","tongue"]],["😜","winking face with tongue",0,["crazy","epic","eye","face","funny","joke","loopy","nutty","party","stuck-out","tongue","wacky","weirdo","wink","winking","yolo"]],["🤪","zany face",0,["crazy","eye","eyes","face","goofy","large","small","zany"]],["😝","squinting face with tongue",0,["closed","eye","eyes","face","gross","horrible","omg","squinting","stuck-out","taste","tongue","whatever","yolo"]],["🤑","money-mouth face",0,["face","money","money-mouth","mouth","paid"]],["🤗","smiling face with open hands",0,["face","hands","hug","hugging","open","smiling"]],["🤭","face with hand over mouth",0,["face","giggle","giggling","hand","mouth","oops","realization","secret","shock","sudden","surprise","whoops"]],["🫢","face with open eyes and hand over mouth",0,["amazement","awe","disbelief","embarrass","eyes","face","gasp","hand","mouth","omg","open","over","quiet","scared","shock","surprise"]],["🫣","face with peeking eye",0,["captivated","embarrass","eye","face","hide","hiding","peek","peeking","peep","scared","shy","stare"]],["🤫","shushing face",0,["face","quiet","shh","shush","shushing"]],["🤔","thinking face",0,["chin","consider","face","hmm","ponder","pondering","thinking","wondering"]],["🫡","saluting face",0,["face","good","luck","ma’am","OK","respect","salute","saluting","sir","troops","yes"]],["🤐","zipper-mouth face",0,["face","keep","mouth","quiet","secret","shut","zip","zipper","zipper-mouth"]],["🤨","face with raised eyebrow",0,["disapproval","disbelief","distrust","emoji","eyebrow","face","hmm","mild","raised","skeptic","skeptical","skepticism","surprise","what"]],["😐","neutral face",0,["awkward","blank","deadpan","expressionless","face","fine","jealous","meh","neutral","oh","shade","straight","unamused","unhappy","unimpressed","whatever"]],["😑","expressionless face",0,["awkward","dead","expressionless","face","fine","inexpressive","jealous","meh","not","oh","omg","straight","uh","unhappy","unimpressed","whatever"]],["😶","face without mouth",0,["awkward","blank","expressionless","face","mouth","mouthless","mute","quiet","secret","silence","silent","speechless"]],["🫥","dotted line face",0,["depressed","disappear","dotted","face","hidden","hide","introvert","invisible","line","meh","whatever","wtv"]],["😶🌫️","face in clouds",0,["absentminded","clouds","face","fog","head"]],["😏","smirking face",0,["boss","dapper","face","flirt","homie","kidding","leer","shade","slick","sly","smirk","smug","snicker","suave","suspicious","swag"]],["😒","unamused face",0,["...","bored","face","fine","jealous","jel","jelly","pissed","smh","ugh","uhh","unamused","unhappy","weird","whatever"]],["🙄","face with rolling eyes",0,["eyeroll","eyes","face","rolling","shade","ugh","whatever"]],["😬","grimacing face",0,["awk","awkward","dentist","face","grimace","grimacing","grinning","smile","smiling"]],["😮💨","face exhaling",0,["blow","blowing","exhale","exhaling","exhausted","face","gasp","groan","relief","sigh","smiley","smoke","whisper","whistle"]],["🤥","lying face",0,["face","liar","lie","lying","pinocchio"]],["🫨","shaking face",0,["crazy","daze","earthquake","face","omg","panic","shaking","shock","surprise","vibrate","whoa","wow"]],["🙂↔️","head shaking horizontally",0,["head","horizontally","no","shake","shaking"]],["🙂↕️","head shaking vertically",0,["head","nod","shaking","vertically","yes"]],["😌","relieved face",0,["calm","face","peace","relief","relieved","zen"]],["😔","pensive face",0,["awful","bored","dejected","died","disappointed","face","losing","lost","pensive","sad","sucks"]],["😪","sleepy face",0,["crying","face","good","night","sad","sleep","sleeping","sleepy","tired"]],["🤤","drooling face",0,["drooling","face"]],["😴","sleeping face",0,["bed","bedtime","face","good","goodnight","nap","night","sleep","sleeping","tired","whatever","yawn","zzz"]],["","face with bags under eyes",0,["bags","bored","exhausted","eyes","face","fatigued","late","sleepy","tired","weary"]],["😷","face with medical mask",0,["cold","dentist","dermatologist","doctor","dr","face","germs","mask","medical","medicine","sick"]],["🤒","face with thermometer",0,["face","ill","sick","thermometer"]],["🤕","face with head-bandage",0,["bandage","face","head-bandage","hurt","injury","ouch"]],["🤢","nauseated face",0,["face","gross","nasty","nauseated","sick","vomit"]],["🤮","face vomiting",0,["barf","ew","face","gross","puke","sick","spew","throw","up","vomit","vomiting"]],["🤧","sneezing face",0,["face","fever","flu","gesundheit","sick","sneeze","sneezing"]],["🥵","hot face",0,["dying","face","feverish","heat","hot","panting","red-faced","stroke","sweating","tongue"]],["🥶","cold face",0,["blue","blue-faced","cold","face","freezing","frostbite","icicles","subzero","teeth"]],["🥴","woozy face",0,["dizzy","drunk","eyes","face","intoxicated","mouth","tipsy","uneven","wavy","woozy"]],["😵","face with crossed-out eyes",0,["crossed-out","dead","dizzy","eyes","face","feels","knocked","out","sick","tired"]],["😵💫","face with spiral eyes",0,["confused","dizzy","eyes","face","hypnotized","omg","smiley","spiral","trouble","whoa","woah","woozy"]],["🤯","exploding head",0,["blown","explode","exploding","head","mind","mindblown","no","shocked","way"]],["🤠","cowboy hat face",0,["cowboy","cowgirl","face","hat"]],["🥳","partying face",0,["bday","birthday","celebrate","celebration","excited","face","happy","hat","hooray","horn","party","partying"]],["🥸","disguised face",0,["disguise","eyebrow","face","glasses","incognito","moustache","mustache","nose","person","spy","tache","tash"]],["😎","smiling face with sunglasses",0,["awesome","beach","bright","bro","chilling","cool","face","rad","relaxed","shades","slay","smile","style","sunglasses","swag","win"]],["🤓","nerd face",0,["brainy","clever","expert","face","geek","gifted","glasses","intelligent","nerd","smart"]],["🧐","face with monocle",0,["classy","face","fancy","monocle","rich","stuffy","wealthy"]],["😕","confused face",0,["befuddled","confused","confusing","dunno","face","frown","hm","meh","not","sad","sorry","sure"]],["🫤","face with diagonal mouth",0,["confused","confusion","diagonal","disappointed","doubt","doubtful","face","frustrated","frustration","meh","mouth","skeptical","unsure","whatever","wtv"]],["😟","worried face",0,["anxious","butterflies","face","nerves","nervous","sad","stress","stressed","surprised","worried","worry"]],["🙁","slightly frowning face",0,["face","frown","frowning","sad","slightly"]],["☹️","frowning face",0,["face","frown","frowning","sad"]],["😮","face with open mouth",0,["believe","face","forgot","mouth","omg","open","shocked","surprised","sympathy","unbelievable","unreal","whoa","wow","you"]],["😯","hushed face",0,["epic","face","hushed","omg","stunned","surprised","whoa","woah"]],["😲","astonished face",0,["astonished","cost","face","no","omg","shocked","totally","way"]],["😳","flushed face",0,["amazed","awkward","crazy","dazed","dead","disbelief","embarrassed","face","flushed","geez","heat","hot","impressed","jeez","what","wow"]],["","distorted face",0,["anxiety","bloated","panic","shocked","surprised","vulnerable"]],["🥺","pleading face",0,["begging","big","eyes","face","mercy","not","pleading","please","pretty","puppy","sad","why"]],["🥹","face holding back tears",0,["admiration","aww","back","cry","embarrassed","face","feelings","grateful","gratitude","holding","joy","please","proud","resist","sad","tears"]],["😦","frowning face with open mouth",0,["caught","face","frown","frowning","guard","mouth","open","scared","scary","surprise","what","wow"]],["😧","anguished face",0,["anguished","face","forgot","scared","scary","stressed","surprise","unhappy","what","wow"]],["😨","fearful face",0,["afraid","anxious","blame","face","fear","fearful","scared","worried"]],["😰","anxious face with sweat",0,["anxious","blue","cold","eek","face","mouth","nervous","open","rushed","scared","sweat","yikes"]],["😥","sad but relieved face",0,["anxious","call","close","complicated","disappointed","face","not","relieved","sad","sweat","time","whew"]],["😢","crying face",0,["awful","cry","crying","face","feels","miss","sad","tear","triste","unhappy"]],["😭","loudly crying face",0,["bawling","cry","crying","face","loudly","sad","sob","tear","tears","unhappy"]],["😱","face screaming in fear",0,["epic","face","fear","fearful","munch","scared","scream","screamer","screaming","shocked","surprised","woah"]],["😖","confounded face",0,["annoyed","confounded","confused","cringe","distraught","face","feels","frustrated","mad","sad"]],["😣","persevering face",0,["concentrate","concentration","face","focus","headache","persevere","persevering"]],["😞","disappointed face",0,["awful","blame","dejected","disappointed","face","fail","losing","sad","unhappy"]],["😓","downcast face with sweat",0,["close","cold","downcast","face","feels","headache","nervous","sad","scared","sweat","yikes"]],["😩","weary face",0,["crying","face","fail","feels","hungry","mad","nooo","sad","sleepy","tired","unhappy","weary"]],["😫","tired face",0,["cost","face","feels","nap","sad","sneeze","tired"]],["🥱","yawning face",0,["bedtime","bored","face","goodnight","nap","night","sleep","sleepy","tired","whatever","yawn","yawning","zzz"]],["😤","face with steam from nose",0,["anger","angry","face","feels","fume","fuming","furious","fury","mad","nose","steam","triumph","unhappy","won"]],["😡","enraged face",0,["anger","angry","enraged","face","feels","mad","maddening","pouting","rage","red","shade","unhappy","upset"]],["😠","angry face",0,["anger","angry","blame","face","feels","frustrated","mad","maddening","rage","shade","unhappy","upset"]],["🤬","face with symbols on mouth",0,["censor","cursing","cussing","face","mad","mouth","pissed","swearing","symbols"]],["😈","smiling face with horns",0,["demon","devil","evil","face","fairy","fairytale","fantasy","horns","purple","shade","smile","smiling","tale"]],["👿","angry face with horns",0,["angry","demon","devil","evil","face","fairy","fairytale","fantasy","horns","imp","mischievous","purple","shade","tale"]],["💀","skull",0,["body","dead","death","face","fairy","fairytale","i’m","lmao","monster","skull","tale","yolo"]],["☠️","skull and crossbones",0,["bone","crossbones","dead","death","face","monster","skull"]],["💩","pile of poo",0,["bs","comic","doo","dung","face","fml","monster","pile","poo","poop","smelly","smh","stink","stinks","stinky","turd"]],["🤡","clown face",0,["clown","face"]],["👹","ogre",0,["creature","devil","face","fairy","fairytale","fantasy","mask","monster","ogre","scary","tale"]],["👺","goblin",0,["angry","creature","face","fairy","fairytale","fantasy","goblin","mask","mean","monster","tale"]],["👻","ghost",0,["boo","creature","excited","face","fairy","fairytale","fantasy","ghost","halloween","haunting","monster","scary","silly","tale"]],["👽","alien",0,["alien","creature","extraterrestrial","face","fairy","fairytale","fantasy","monster","space","tale","ufo"]],["👾","alien monster",0,["alien","creature","extraterrestrial","face","fairy","fairytale","fantasy","game","gamer","games","monster","pixelated","space","tale","ufo"]],["🤖","robot",0,["face","monster","robot"]],["😺","grinning cat",0,["animal","cat","face","grinning","mouth","open","smile","smiling"]],["😸","grinning cat with smiling eyes",0,["animal","cat","eye","eyes","face","grin","grinning","smile","smiling"]],["😹","cat with tears of joy",0,["animal","cat","face","joy","laugh","laughing","lol","tear","tears"]],["😻","smiling cat with heart-eyes",0,["animal","cat","eye","face","heart","heart-eyes","love","smile","smiling"]],["😼","cat with wry smile",0,["animal","cat","face","ironic","smile","wry"]],["😽","kissing cat",0,["animal","cat","closed","eye","eyes","face","kiss","kissing"]],["🙀","weary cat",0,["animal","cat","face","oh","surprised","weary"]],["😿","crying cat",0,["animal","cat","cry","crying","face","sad","tear"]],["😾","pouting cat",0,["animal","cat","face","pouting"]],["🙈","see-no-evil monkey",0,["embarrassed","evil","face","forbidden","forgot","gesture","hide","monkey","no","omg","prohibited","scared","secret","smh","watch"]],["🙉","hear-no-evil monkey",0,["animal","ears","evil","face","forbidden","gesture","hear","listen","monkey","no","not","prohibited","secret","shh","tmi"]],["🙊","speak-no-evil monkey",0,["animal","evil","face","forbidden","gesture","monkey","no","not","oops","prohibited","quiet","secret","speak","stealth"]],["💌","love letter",0,["heart","letter","love","mail","romance","valentine"]],["💘","heart with arrow",0,["143","adorbs","arrow","cupid","date","emotion","heart","ily","love","romance","valentine"]],["💝","heart with ribbon",0,["143","anniversary","emotion","heart","ily","kisses","ribbon","valentine","xoxo"]],["💖","sparkling heart",0,["143","emotion","excited","good","heart","ily","kisses","morning","night","sparkle","sparkling","xoxo"]],["💗","growing heart",0,["143","emotion","excited","growing","heart","heartpulse","ily","kisses","muah","nervous","pulse","xoxo"]],["💓","beating heart",0,["143","beating","cardio","emotion","heart","heartbeat","ily","love","pulsating","pulse"]],["💞","revolving hearts",0,["143","adorbs","anniversary","emotion","heart","hearts","revolving"]],["💕","two hearts",0,["143","anniversary","date","dating","emotion","heart","hearts","ily","kisses","love","loving","two","xoxo"]],["💟","heart decoration",0,["143","decoration","emotion","heart","hearth","purple","white"]],["❣️","heart exclamation",0,["exclamation","heart","heavy","mark","punctuation"]],["💔","broken heart",0,["break","broken","crushed","emotion","heart","heartbroken","lonely","sad"]],["❤️🔥","heart on fire",0,["burn","fire","heart","love","lust","sacred"]],["❤️🩹","mending heart",0,["healthier","heart","improving","mending","recovering","recuperating","well"]],["❤️","red heart",0,["emotion","heart","love","red"]],["🩷","pink heart",0,["143","adorable","cute","emotion","heart","ily","like","love","pink","special","sweet"]],["🧡","orange heart",0,["143","heart","orange"]],["💛","yellow heart",0,["143","cardiac","emotion","heart","ily","love","yellow"]],["💚","green heart",0,["143","emotion","green","heart","ily","love","romantic"]],["💙","blue heart",0,["143","blue","emotion","heart","ily","love","romance"]],["🩵","light blue heart",0,["143","blue","cute","cyan","emotion","heart","ily","light","like","love","sky","special","teal"]],["💜","purple heart",0,["143","bestest","emotion","heart","ily","love","purple"]],["🤎","brown heart",0,["143","brown","heart"]],["🖤","black heart",0,["black","evil","heart","wicked"]],["🩶","grey heart",0,["143","emotion","gray","grey","heart","ily","love","silver","slate","special"]],["🤍","white heart",0,["143","heart","white"]],["💋","kiss mark",0,["dating","emotion","heart","kiss","kissing","lips","mark","romance","sexy"]],["💯","hundred points",0,["100","a+","agree","clearly","definitely","faithful","fleek","full","hundred","keep","perfect","point","score","TRUE","truth","yup"]],["💢","anger symbol",0,["anger","angry","comic","mad","symbol","upset"]],["","fight cloud",0,["argument","brawl","debate","disagreement","fight","ruckus","wrestle"]],["💥","collision",0,["bomb","boom","collide","collision","comic","explode"]],["💫","dizzy",0,["comic","dizzy","shining","shooting","star","stars"]],["💦","sweat droplets",0,["comic","drip","droplet","droplets","drops","splashing","squirt","sweat","water","wet","work","workout"]],["💨","dashing away",0,["away","cloud","comic","dash","dashing","fart","fast","go","gone","gotta","running","smoke"]],["🕳️","hole",0,["hole"]],["💬","speech balloon",0,["balloon","bubble","comic","dialog","message","sms","speech","talk","text","typing"]],["👁️🗨️","eye in speech bubble",0,["balloon","bubble","eye","speech","witness"]],["🗨️","left speech bubble",0,["balloon","bubble","dialog","left","speech"]],["🗯️","right anger bubble",0,["anger","angry","balloon","bubble","mad","right"]],["💭","thought balloon",0,["balloon","bubble","cartoon","cloud","comic","daydream","decisions","dream","idea","invent","invention","realize","think","thoughts","wonder"]],["💤","ZZZ",0,["comic","good","goodnight","night","sleep","sleeping","sleepy","tired","zzz"]],["👋","waving hand",1,["bye","cya","g2g","greetings","gtg","hand","hello","hey","hi","later","outtie","ttfn","ttyl","wave","yo","you"]],["👋🏻","waving hand: light skin tone",1,[]],["👋🏼","waving hand: medium-light skin tone",1,[]],["👋🏽","waving hand: medium skin tone",1,[]],["👋🏾","waving hand: medium-dark skin tone",1,[]],["👋🏿","waving hand: dark skin tone",1,[]],["🤚","raised back of hand",1,["back","backhand","hand","raised"]],["🤚🏻","raised back of hand: light skin tone",1,[]],["🤚🏼","raised back of hand: medium-light skin tone",1,[]],["🤚🏽","raised back of hand: medium skin tone",1,[]],["🤚🏾","raised back of hand: medium-dark skin tone",1,[]],["🤚🏿","raised back of hand: dark skin tone",1,[]],["🖐️","hand with fingers splayed",1,["finger","fingers","hand","raised","splayed","stop"]],["🖐🏻","hand with fingers splayed: light skin tone",1,[]],["🖐🏼","hand with fingers splayed: medium-light skin tone",1,[]],["🖐🏽","hand with fingers splayed: medium skin tone",1,[]],["🖐🏾","hand with fingers splayed: medium-dark skin tone",1,[]],["🖐🏿","hand with fingers splayed: dark skin tone",1,[]],["✋","raised hand",1,["5","five","hand","high","raised","stop"]],["✋🏻","raised hand: light skin tone",1,[]],["✋🏼","raised hand: medium-light skin tone",1,[]],["✋🏽","raised hand: medium skin tone",1,[]],["✋🏾","raised hand: medium-dark skin tone",1,[]],["✋🏿","raised hand: dark skin tone",1,[]],["🖖","vulcan salute",1,["finger","hand","hands","salute","Vulcan"]],["🖖🏻","vulcan salute: light skin tone",1,[]],["🖖🏼","vulcan salute: medium-light skin tone",1,[]],["🖖🏽","vulcan salute: medium skin tone",1,[]],["🖖🏾","vulcan salute: medium-dark skin tone",1,[]],["🖖🏿","vulcan salute: dark skin tone",1,[]],["🫱","rightwards hand",1,["hand","handshake","hold","reach","right","rightward","rightwards","shake"]],["🫱🏻","rightwards hand: light skin tone",1,[]],["🫱🏼","rightwards hand: medium-light skin tone",1,[]],["🫱🏽","rightwards hand: medium skin tone",1,[]],["🫱🏾","rightwards hand: medium-dark skin tone",1,[]],["🫱🏿","rightwards hand: dark skin tone",1,[]],["🫲","leftwards hand",1,["hand","handshake","hold","left","leftward","leftwards","reach","shake"]],["🫲🏻","leftwards hand: light skin tone",1,[]],["🫲🏼","leftwards hand: medium-light skin tone",1,[]],["🫲🏽","leftwards hand: medium skin tone",1,[]],["🫲🏾","leftwards hand: medium-dark skin tone",1,[]],["🫲🏿","leftwards hand: dark skin tone",1,[]],["🫳","palm down hand",1,["dismiss","down","drop","dropped","hand","palm","pick","shoo","up"]],["🫳🏻","palm down hand: light skin tone",1,[]],["🫳🏼","palm down hand: medium-light skin tone",1,[]],["🫳🏽","palm down hand: medium skin tone",1,[]],["🫳🏾","palm down hand: medium-dark skin tone",1,[]],["🫳🏿","palm down hand: dark skin tone",1,[]],["🫴","palm up hand",1,["beckon","catch","come","hand","hold","know","lift","me","offer","palm","tell"]],["🫴🏻","palm up hand: light skin tone",1,[]],["🫴🏼","palm up hand: medium-light skin tone",1,[]],["🫴🏽","palm up hand: medium skin tone",1,[]],["🫴🏾","palm up hand: medium-dark skin tone",1,[]],["🫴🏿","palm up hand: dark skin tone",1,[]],["🫷","leftwards pushing hand",1,["block","five","halt","hand","high","hold","leftward","leftwards","pause","push","pushing","refuse","slap","stop","wait"]],["🫷🏻","leftwards pushing hand: light skin tone",1,[]],["🫷🏼","leftwards pushing hand: medium-light skin tone",1,[]],["🫷🏽","leftwards pushing hand: medium skin tone",1,[]],["🫷🏾","leftwards pushing hand: medium-dark skin tone",1,[]],["🫷🏿","leftwards pushing hand: dark skin tone",1,[]],["🫸","rightwards pushing hand",1,["block","five","halt","hand","high","hold","pause","push","pushing","refuse","rightward","rightwards","slap","stop","wait"]],["🫸🏻","rightwards pushing hand: light skin tone",1,[]],["🫸🏼","rightwards pushing hand: medium-light skin tone",1,[]],["🫸🏽","rightwards pushing hand: medium skin tone",1,[]],["🫸🏾","rightwards pushing hand: medium-dark skin tone",1,[]],["🫸🏿","rightwards pushing hand: dark skin tone",1,[]],["👌","OK hand",1,["awesome","bet","dope","fleek","fosho","got","gotcha","hand","legit","OK","okay","pinch","rad","sure","sweet","three"]],["👌🏻","OK hand: light skin tone",1,[]],["👌🏼","OK hand: medium-light skin tone",1,[]],["👌🏽","OK hand: medium skin tone",1,[]],["👌🏾","OK hand: medium-dark skin tone",1,[]],["👌🏿","OK hand: dark skin tone",1,[]],["🤌","pinched fingers",1,["fingers","gesture","hand","hold","huh","interrogation","patience","pinched","relax","sarcastic","ugh","what","zip"]],["🤌🏻","pinched fingers: light skin tone",1,[]],["🤌🏼","pinched fingers: medium-light skin tone",1,[]],["🤌🏽","pinched fingers: medium skin tone",1,[]],["🤌🏾","pinched fingers: medium-dark skin tone",1,[]],["🤌🏿","pinched fingers: dark skin tone",1,[]],["🤏","pinching hand",1,["amount","bit","fingers","hand","little","pinching","small","sort"]],["🤏🏻","pinching hand: light skin tone",1,[]],["🤏🏼","pinching hand: medium-light skin tone",1,[]],["🤏🏽","pinching hand: medium skin tone",1,[]],["🤏🏾","pinching hand: medium-dark skin tone",1,[]],["🤏🏿","pinching hand: dark skin tone",1,[]],["✌️","victory hand",1,["hand","peace","v","victory"]],["✌🏻","victory hand: light skin tone",1,[]],["✌🏼","victory hand: medium-light skin tone",1,[]],["✌🏽","victory hand: medium skin tone",1,[]],["✌🏾","victory hand: medium-dark skin tone",1,[]],["✌🏿","victory hand: dark skin tone",1,[]],["🤞","crossed fingers",1,["cross","crossed","finger","fingers","hand","luck"]],["🤞🏻","crossed fingers: light skin tone",1,[]],["🤞🏼","crossed fingers: medium-light skin tone",1,[]],["🤞🏽","crossed fingers: medium skin tone",1,[]],["🤞🏾","crossed fingers: medium-dark skin tone",1,[]],["🤞🏿","crossed fingers: dark skin tone",1,[]],["🫰","hand with index finger and thumb crossed",1,["<3","crossed","expensive","finger","hand","heart","index","love","money","snap","thumb"]],["🫰🏻","hand with index finger and thumb crossed: light skin tone",1,[]],["🫰🏼","hand with index finger and thumb crossed: medium-light skin tone",1,[]],["🫰🏽","hand with index finger and thumb crossed: medium skin tone",1,[]],["🫰🏾","hand with index finger and thumb crossed: medium-dark skin tone",1,[]],["🫰🏿","hand with index finger and thumb crossed: dark skin tone",1,[]],["🤟","love-you gesture",1,["fingers","gesture","hand","ILY","love","love-you","three","you"]],["🤟🏻","love-you gesture: light skin tone",1,[]],["🤟🏼","love-you gesture: medium-light skin tone",1,[]],["🤟🏽","love-you gesture: medium skin tone",1,[]],["🤟🏾","love-you gesture: medium-dark skin tone",1,[]],["🤟🏿","love-you gesture: dark skin tone",1,[]],["🤘","sign of the horns",1,["finger","hand","horns","rock-on","sign"]],["🤘🏻","sign of the horns: light skin tone",1,[]],["🤘🏼","sign of the horns: medium-light skin tone",1,[]],["🤘🏽","sign of the horns: medium skin tone",1,[]],["🤘🏾","sign of the horns: medium-dark skin tone",1,[]],["🤘🏿","sign of the horns: dark skin tone",1,[]],["🤙","call me hand",1,["call","hand","hang","loose","me","Shaka"]],["🤙🏻","call me hand: light skin tone",1,[]],["🤙🏼","call me hand: medium-light skin tone",1,[]],["🤙🏽","call me hand: medium skin tone",1,[]],["🤙🏾","call me hand: medium-dark skin tone",1,[]],["🤙🏿","call me hand: dark skin tone",1,[]],["👈","backhand index pointing left",1,["backhand","finger","hand","index","left","point","pointing"]],["👈🏻","backhand index pointing left: light skin tone",1,[]],["👈🏼","backhand index pointing left: medium-light skin tone",1,[]],["👈🏽","backhand index pointing left: medium skin tone",1,[]],["👈🏾","backhand index pointing left: medium-dark skin tone",1,[]],["👈🏿","backhand index pointing left: dark skin tone",1,[]],["👉","backhand index pointing right",1,["backhand","finger","hand","index","point","pointing","right"]],["👉🏻","backhand index pointing right: light skin tone",1,[]],["👉🏼","backhand index pointing right: medium-light skin tone",1,[]],["👉🏽","backhand index pointing right: medium skin tone",1,[]],["👉🏾","backhand index pointing right: medium-dark skin tone",1,[]],["👉🏿","backhand index pointing right: dark skin tone",1,[]],["👆","backhand index pointing up",1,["backhand","finger","hand","index","point","pointing","up"]],["👆🏻","backhand index pointing up: light skin tone",1,[]],["👆🏼","backhand index pointing up: medium-light skin tone",1,[]],["👆🏽","backhand index pointing up: medium skin tone",1,[]],["👆🏾","backhand index pointing up: medium-dark skin tone",1,[]],["👆🏿","backhand index pointing up: dark skin tone",1,[]],["🖕","middle finger",1,["finger","hand","middle"]],["🖕🏻","middle finger: light skin tone",1,[]],["🖕🏼","middle finger: medium-light skin tone",1,[]],["🖕🏽","middle finger: medium skin tone",1,[]],["🖕🏾","middle finger: medium-dark skin tone",1,[]],["🖕🏿","middle finger: dark skin tone",1,[]],["👇","backhand index pointing down",1,["backhand","down","finger","hand","index","point","pointing"]],["👇🏻","backhand index pointing down: light skin tone",1,[]],["👇🏼","backhand index pointing down: medium-light skin tone",1,[]],["👇🏽","backhand index pointing down: medium skin tone",1,[]],["👇🏾","backhand index pointing down: medium-dark skin tone",1,[]],["👇🏿","backhand index pointing down: dark skin tone",1,[]],["☝️","index pointing up",1,["finger","hand","index","point","pointing","this","up"]],["☝🏻","index pointing up: light skin tone",1,[]],["☝🏼","index pointing up: medium-light skin tone",1,[]],["☝🏽","index pointing up: medium skin tone",1,[]],["☝🏾","index pointing up: medium-dark skin tone",1,[]],["☝🏿","index pointing up: dark skin tone",1,[]],["🫵","index pointing at the viewer",1,["at","finger","hand","index","pointing","poke","viewer","you"]],["🫵🏻","index pointing at the viewer: light skin tone",1,[]],["🫵🏼","index pointing at the viewer: medium-light skin tone",1,[]],["🫵🏽","index pointing at the viewer: medium skin tone",1,[]],["🫵🏾","index pointing at the viewer: medium-dark skin tone",1,[]],["🫵🏿","index pointing at the viewer: dark skin tone",1,[]],["👍","thumbs up",1,["+1","good","hand","like","thumb","up","yes"]],["👍🏻","thumbs up: light skin tone",1,[]],["👍🏼","thumbs up: medium-light skin tone",1,[]],["👍🏽","thumbs up: medium skin tone",1,[]],["👍🏾","thumbs up: medium-dark skin tone",1,[]],["👍🏿","thumbs up: dark skin tone",1,[]],["👎","thumbs down",1,["-1","bad","dislike","down","good","hand","no","nope","thumb","thumbs"]],["👎🏻","thumbs down: light skin tone",1,[]],["👎🏼","thumbs down: medium-light skin tone",1,[]],["👎🏽","thumbs down: medium skin tone",1,[]],["👎🏾","thumbs down: medium-dark skin tone",1,[]],["👎🏿","thumbs down: dark skin tone",1,[]],["","leftwards thumb sign",1,[]],["🏻","leftwards thumb sign: light skin tone",1,[]],["🏼","leftwards thumb sign: medium-light skin tone",1,[]],["🏽","leftwards thumb sign: medium skin tone",1,[]],["🏾","leftwards thumb sign: medium-dark skin tone",1,[]],["🏿","leftwards thumb sign: dark skin tone",1,[]],["","rightwards thumb sign",1,[]],["🏻","rightwards thumb sign: light skin tone",1,[]],["🏼","rightwards thumb sign: medium-light skin tone",1,[]],["🏽","rightwards thumb sign: medium skin tone",1,[]],["🏾","rightwards thumb sign: medium-dark skin tone",1,[]],["🏿","rightwards thumb sign: dark skin tone",1,[]],["✊","raised fist",1,["clenched","fist","hand","punch","raised","solidarity"]],["✊🏻","raised fist: light skin tone",1,[]],["✊🏼","raised fist: medium-light skin tone",1,[]],["✊🏽","raised fist: medium skin tone",1,[]],["✊🏾","raised fist: medium-dark skin tone",1,[]],["✊🏿","raised fist: dark skin tone",1,[]],["👊","oncoming fist",1,["absolutely","agree","boom","bro","bruh","bump","clenched","correct","fist","hand","knuckle","oncoming","pound","punch","rock","ttyl"]],["👊🏻","oncoming fist: light skin tone",1,[]],["👊🏼","oncoming fist: medium-light skin tone",1,[]],["👊🏽","oncoming fist: medium skin tone",1,[]],["👊🏾","oncoming fist: medium-dark skin tone",1,[]],["👊🏿","oncoming fist: dark skin tone",1,[]],["🤛","left-facing fist",1,["fist","left-facing","leftwards"]],["🤛🏻","left-facing fist: light skin tone",1,[]],["🤛🏼","left-facing fist: medium-light skin tone",1,[]],["🤛🏽","left-facing fist: medium skin tone",1,[]],["🤛🏾","left-facing fist: medium-dark skin tone",1,[]],["🤛🏿","left-facing fist: dark skin tone",1,[]],["🤜","right-facing fist",1,["fist","right-facing","rightwards"]],["🤜🏻","right-facing fist: light skin tone",1,[]],["🤜🏼","right-facing fist: medium-light skin tone",1,[]],["🤜🏽","right-facing fist: medium skin tone",1,[]],["🤜🏾","right-facing fist: medium-dark skin tone",1,[]],["🤜🏿","right-facing fist: dark skin tone",1,[]],["👏","clapping hands",1,["applause","approval","awesome","clap","congrats","congratulations","excited","good","great","hand","homie","job","nice","prayed","well","yay"]],["👏🏻","clapping hands: light skin tone",1,[]],["👏🏼","clapping hands: medium-light skin tone",1,[]],["👏🏽","clapping hands: medium skin tone",1,[]],["👏🏾","clapping hands: medium-dark skin tone",1,[]],["👏🏿","clapping hands: dark skin tone",1,[]],["🙌","raising hands",1,["celebration","gesture","hand","hands","hooray","praise","raised","raising"]],["🙌🏻","raising hands: light skin tone",1,[]],["🙌🏼","raising hands: medium-light skin tone",1,[]],["🙌🏽","raising hands: medium skin tone",1,[]],["🙌🏾","raising hands: medium-dark skin tone",1,[]],["🙌🏿","raising hands: dark skin tone",1,[]],["🫶","heart hands",1,["<3","hands","heart","love","you"]],["🫶🏻","heart hands: light skin tone",1,[]],["🫶🏼","heart hands: medium-light skin tone",1,[]],["🫶🏽","heart hands: medium skin tone",1,[]],["🫶🏾","heart hands: medium-dark skin tone",1,[]],["🫶🏿","heart hands: dark skin tone",1,[]],["👐","open hands",1,["hand","hands","hug","jazz","open","swerve"]],["👐🏻","open hands: light skin tone",1,[]],["👐🏼","open hands: medium-light skin tone",1,[]],["👐🏽","open hands: medium skin tone",1,[]],["👐🏾","open hands: medium-dark skin tone",1,[]],["👐🏿","open hands: dark skin tone",1,[]],["🤲","palms up together",1,["cupped","dua","hands","palms","pray","prayer","together","up","wish"]],["🤲🏻","palms up together: light skin tone",1,[]],["🤲🏼","palms up together: medium-light skin tone",1,[]],["🤲🏽","palms up together: medium skin tone",1,[]],["🤲🏾","palms up together: medium-dark skin tone",1,[]],["🤲🏿","palms up together: dark skin tone",1,[]],["🤝","handshake",1,["agreement","deal","hand","handshake","meeting","shake"]],["🤝🏻","handshake: light skin tone",1,[]],["🤝🏼","handshake: medium-light skin tone",1,[]],["🤝🏽","handshake: medium skin tone",1,[]],["🤝🏾","handshake: medium-dark skin tone",1,[]],["🤝🏿","handshake: dark skin tone",1,[]],["🫱🏻🫲🏼","handshake: light skin tone, medium-light skin tone",1,[]],["🫱🏻🫲🏽","handshake: light skin tone, medium skin tone",1,[]],["🫱🏻🫲🏾","handshake: light skin tone, medium-dark skin tone",1,[]],["🫱🏻🫲🏿","handshake: light skin tone, dark skin tone",1,[]],["🫱🏼🫲🏻","handshake: medium-light skin tone, light skin tone",1,[]],["🫱🏼🫲🏽","handshake: medium-light skin tone, medium skin tone",1,[]],["🫱🏼🫲🏾","handshake: medium-light skin tone, medium-dark skin tone",1,[]],["🫱🏼🫲🏿","handshake: medium-light skin tone, dark skin tone",1,[]],["🫱🏽🫲🏻","handshake: medium skin tone, light skin tone",1,[]],["🫱🏽🫲🏼","handshake: medium skin tone, medium-light skin tone",1,[]],["🫱🏽🫲🏾","handshake: medium skin tone, medium-dark skin tone",1,[]],["🫱🏽🫲🏿","handshake: medium skin tone, dark skin tone",1,[]],["🫱🏾🫲🏻","handshake: medium-dark skin tone, light skin tone",1,[]],["🫱🏾🫲🏼","handshake: medium-dark skin tone, medium-light skin tone",1,[]],["🫱🏾🫲🏽","handshake: medium-dark skin tone, medium skin tone",1,[]],["🫱🏾🫲🏿","handshake: medium-dark skin tone, dark skin tone",1,[]],["🫱🏿🫲🏻","handshake: dark skin tone, light skin tone",1,[]],["🫱🏿🫲🏼","handshake: dark skin tone, medium-light skin tone",1,[]],["🫱🏿🫲🏽","handshake: dark skin tone, medium skin tone",1,[]],["🫱🏿🫲🏾","handshake: dark skin tone, medium-dark skin tone",1,[]],["🙏","folded hands",1,["appreciate","ask","beg","blessed","bow","cmon","five","folded","gesture","hand","high","please","pray","thanks","thx"]],["🙏🏻","folded hands: light skin tone",1,[]],["🙏🏼","folded hands: medium-light skin tone",1,[]],["🙏🏽","folded hands: medium skin tone",1,[]],["🙏🏾","folded hands: medium-dark skin tone",1,[]],["🙏🏿","folded hands: dark skin tone",1,[]],["✍️","writing hand",1,["hand","write","writing"]],["✍🏻","writing hand: light skin tone",1,[]],["✍🏼","writing hand: medium-light skin tone",1,[]],["✍🏽","writing hand: medium skin tone",1,[]],["✍🏾","writing hand: medium-dark skin tone",1,[]],["✍🏿","writing hand: dark skin tone",1,[]],["💅","nail polish",1,["bored","care","cosmetics","done","makeup","manicure","nail","polish","whatever"]],["💅🏻","nail polish: light skin tone",1,[]],["💅🏼","nail polish: medium-light skin tone",1,[]],["💅🏽","nail polish: medium skin tone",1,[]],["💅🏾","nail polish: medium-dark skin tone",1,[]],["💅🏿","nail polish: dark skin tone",1,[]],["🤳","selfie",1,["camera","phone","selfie"]],["🤳🏻","selfie: light skin tone",1,[]],["🤳🏼","selfie: medium-light skin tone",1,[]],["🤳🏽","selfie: medium skin tone",1,[]],["🤳🏾","selfie: medium-dark skin tone",1,[]],["🤳🏿","selfie: dark skin tone",1,[]],["💪","flexed biceps",1,["arm","beast","bench","biceps","bodybuilder","bro","curls","flex","gains","gym","jacked","muscle","press","ripped","strong","weightlift"]],["💪🏻","flexed biceps: light skin tone",1,[]],["💪🏼","flexed biceps: medium-light skin tone",1,[]],["💪🏽","flexed biceps: medium skin tone",1,[]],["💪🏾","flexed biceps: medium-dark skin tone",1,[]],["💪🏿","flexed biceps: dark skin tone",1,[]],["🦾","mechanical arm",1,["accessibility","arm","mechanical","prosthetic"]],["🦿","mechanical leg",1,["accessibility","leg","mechanical","prosthetic"]],["🦵","leg",1,["bent","foot","kick","knee","leg","limb"]],["🦵🏻","leg: light skin tone",1,[]],["🦵🏼","leg: medium-light skin tone",1,[]],["🦵🏽","leg: medium skin tone",1,[]],["🦵🏾","leg: medium-dark skin tone",1,[]],["🦵🏿","leg: dark skin tone",1,[]],["🦶","foot",1,["ankle","feet","foot","kick","stomp"]],["🦶🏻","foot: light skin tone",1,[]],["🦶🏼","foot: medium-light skin tone",1,[]],["🦶🏽","foot: medium skin tone",1,[]],["🦶🏾","foot: medium-dark skin tone",1,[]],["🦶🏿","foot: dark skin tone",1,[]],["👂","ear",1,["body","ear","ears","hear","hearing","listen","listening","sound"]],["👂🏻","ear: light skin tone",1,[]],["👂🏼","ear: medium-light skin tone",1,[]],["👂🏽","ear: medium skin tone",1,[]],["👂🏾","ear: medium-dark skin tone",1,[]],["👂🏿","ear: dark skin tone",1,[]],["🦻","ear with hearing aid",1,["accessibility","aid","ear","hard","hearing"]],["🦻🏻","ear with hearing aid: light skin tone",1,[]],["🦻🏼","ear with hearing aid: medium-light skin tone",1,[]],["🦻🏽","ear with hearing aid: medium skin tone",1,[]],["🦻🏾","ear with hearing aid: medium-dark skin tone",1,[]],["🦻🏿","ear with hearing aid: dark skin tone",1,[]],["👃","nose",1,["body","nose","noses","nosey","odor","smell","smells"]],["👃🏻","nose: light skin tone",1,[]],["👃🏼","nose: medium-light skin tone",1,[]],["👃🏽","nose: medium skin tone",1,[]],["👃🏾","nose: medium-dark skin tone",1,[]],["👃🏿","nose: dark skin tone",1,[]],["🧠","brain",1,["brain","intelligent","smart"]],["🫀","anatomical heart",1,["anatomical","beat","cardiology","heart","heartbeat","organ","pulse","real","red"]],["🫁","lungs",1,["breath","breathe","exhalation","inhalation","lung","lungs","organ","respiration"]],["🦷","tooth",1,["dentist","pearly","teeth","tooth","white"]],["🦴","bone",1,["bone","bones","dog","skeleton","wishbone"]],["👀","eyes",1,["body","eye","eyes","face","googly","look","looking","omg","peep","see","seeing"]],["👁️","eye",1,["1","body","eye","one"]],["👅","tongue",1,["body","lick","slurp","tongue"]],["👄","mouth",1,["beauty","body","kiss","kissing","lips","lipstick","mouth"]],["🫦","biting lip",1,["anxious","bite","biting","fear","flirt","flirting","kiss","lip","lipstick","nervous","sexy","uncomfortable","worried","worry"]],["👶","baby",1,["babies","baby","children","goo","infant","newborn","pregnant","young"]],["👶🏻","baby: light skin tone",1,[]],["👶🏼","baby: medium-light skin tone",1,[]],["👶🏽","baby: medium skin tone",1,[]],["👶🏾","baby: medium-dark skin tone",1,[]],["👶🏿","baby: dark skin tone",1,[]],["🧒","child",1,["bright-eyed","child","grandchild","kid","young","younger"]],["🧒🏻","child: light skin tone",1,[]],["🧒🏼","child: medium-light skin tone",1,[]],["🧒🏽","child: medium skin tone",1,[]],["🧒🏾","child: medium-dark skin tone",1,[]],["🧒🏿","child: dark skin tone",1,[]],["👦","boy",1,["boy","bright-eyed","child","grandson","kid","son","young","younger"]],["👦🏻","boy: light skin tone",1,[]],["👦🏼","boy: medium-light skin tone",1,[]],["👦🏽","boy: medium skin tone",1,[]],["👦🏾","boy: medium-dark skin tone",1,[]],["👦🏿","boy: dark skin tone",1,[]],["👧","girl",1,["bright-eyed","child","daughter","girl","granddaughter","kid","Virgo","young","younger","zodiac"]],["👧🏻","girl: light skin tone",1,[]],["👧🏼","girl: medium-light skin tone",1,[]],["👧🏽","girl: medium skin tone",1,[]],["👧🏾","girl: medium-dark skin tone",1,[]],["👧🏿","girl: dark skin tone",1,[]],["🧑","person",1,["adult","person"]],["🧑🏻","person: light skin tone",1,[]],["🧑🏼","person: medium-light skin tone",1,[]],["🧑🏽","person: medium skin tone",1,[]],["🧑🏾","person: medium-dark skin tone",1,[]],["🧑🏿","person: dark skin tone",1,[]],["👱","person: blond hair",1,["blond","blond-haired","human","person"]],["👱🏻","person: light skin tone, blond hair",1,[]],["👱🏼","person: medium-light skin tone, blond hair",1,[]],["👱🏽","person: medium skin tone, blond hair",1,[]],["👱🏾","person: medium-dark skin tone, blond hair",1,[]],["👱🏿","person: dark skin tone, blond hair",1,[]],["👨","man",1,["adult","bro","man"]],["👨🏻","man: light skin tone",1,[]],["👨🏼","man: medium-light skin tone",1,[]],["👨🏽","man: medium skin tone",1,[]],["👨🏾","man: medium-dark skin tone",1,[]],["👨🏿","man: dark skin tone",1,[]],["🧔","person: beard",1,["beard","bearded","person","whiskers"]],["🧔🏻","person: light skin tone, beard",1,[]],["🧔🏼","person: medium-light skin tone, beard",1,[]],["🧔🏽","person: medium skin tone, beard",1,[]],["🧔🏾","person: medium-dark skin tone, beard",1,[]],["🧔🏿","person: dark skin tone, beard",1,[]],["🧔♂️","man: beard",1,["beard","bearded","man","whiskers"]],["🧔🏻♂️","man: light skin tone, beard",1,[]],["🧔🏼♂️","man: medium-light skin tone, beard",1,[]],["🧔🏽♂️","man: medium skin tone, beard",1,[]],["🧔🏾♂️","man: medium-dark skin tone, beard",1,[]],["🧔🏿♂️","man: dark skin tone, beard",1,[]],["🧔♀️","woman: beard",1,["beard","bearded","whiskers","woman"]],["🧔🏻♀️","woman: light skin tone, beard",1,[]],["🧔🏼♀️","woman: medium-light skin tone, beard",1,[]],["🧔🏽♀️","woman: medium skin tone, beard",1,[]],["🧔🏾♀️","woman: medium-dark skin tone, beard",1,[]],["🧔🏿♀️","woman: dark skin tone, beard",1,[]],["👨🦰","man: red hair",1,[]],["👨🏻🦰","man: light skin tone, red hair",1,[]],["👨🏼🦰","man: medium-light skin tone, red hair",1,[]],["👨🏽🦰","man: medium skin tone, red hair",1,[]],["👨🏾🦰","man: medium-dark skin tone, red hair",1,[]],["👨🏿🦰","man: dark skin tone, red hair",1,[]],["👨🦱","man: curly hair",1,[]],["👨🏻🦱","man: light skin tone, curly hair",1,[]],["👨🏼🦱","man: medium-light skin tone, curly hair",1,[]],["👨🏽🦱","man: medium skin tone, curly hair",1,[]],["👨🏾🦱","man: medium-dark skin tone, curly hair",1,[]],["👨🏿🦱","man: dark skin tone, curly hair",1,[]],["👨🦳","man: white hair",1,[]],["👨🏻🦳","man: light skin tone, white hair",1,[]],["👨🏼🦳","man: medium-light skin tone, white hair",1,[]],["👨🏽🦳","man: medium skin tone, white hair",1,[]],["👨🏾🦳","man: medium-dark skin tone, white hair",1,[]],["👨🏿🦳","man: dark skin tone, white hair",1,[]],["👨🦲","man: bald",1,[]],["👨🏻🦲","man: light skin tone, bald",1,[]],["👨🏼🦲","man: medium-light skin tone, bald",1,[]],["👨🏽🦲","man: medium skin tone, bald",1,[]],["👨🏾🦲","man: medium-dark skin tone, bald",1,[]],["👨🏿🦲","man: dark skin tone, bald",1,[]],["👩","woman",1,["adult","lady","woman"]],["👩🏻","woman: light skin tone",1,[]],["👩🏼","woman: medium-light skin tone",1,[]],["👩🏽","woman: medium skin tone",1,[]],["👩🏾","woman: medium-dark skin tone",1,[]],["👩🏿","woman: dark skin tone",1,[]],["👩🦰","woman: red hair",1,[]],["👩🏻🦰","woman: light skin tone, red hair",1,[]],["👩🏼🦰","woman: medium-light skin tone, red hair",1,[]],["👩🏽🦰","woman: medium skin tone, red hair",1,[]],["👩🏾🦰","woman: medium-dark skin tone, red hair",1,[]],["👩🏿🦰","woman: dark skin tone, red hair",1,[]],["🧑🦰","person: red hair",1,[]],["🧑🏻🦰","person: light skin tone, red hair",1,[]],["🧑🏼🦰","person: medium-light skin tone, red hair",1,[]],["🧑🏽🦰","person: medium skin tone, red hair",1,[]],["🧑🏾🦰","person: medium-dark skin tone, red hair",1,[]],["🧑🏿🦰","person: dark skin tone, red hair",1,[]],["👩🦱","woman: curly hair",1,[]],["👩🏻🦱","woman: light skin tone, curly hair",1,[]],["👩🏼🦱","woman: medium-light skin tone, curly hair",1,[]],["👩🏽🦱","woman: medium skin tone, curly hair",1,[]],["👩🏾🦱","woman: medium-dark skin tone, curly hair",1,[]],["👩🏿🦱","woman: dark skin tone, curly hair",1,[]],["🧑🦱","person: curly hair",1,[]],["🧑🏻🦱","person: light skin tone, curly hair",1,[]],["🧑🏼🦱","person: medium-light skin tone, curly hair",1,[]],["🧑🏽🦱","person: medium skin tone, curly hair",1,[]],["🧑🏾🦱","person: medium-dark skin tone, curly hair",1,[]],["🧑🏿🦱","person: dark skin tone, curly hair",1,[]],["👩🦳","woman: white hair",1,[]],["👩🏻🦳","woman: light skin tone, white hair",1,[]],["👩🏼🦳","woman: medium-light skin tone, white hair",1,[]],["👩🏽🦳","woman: medium skin tone, white hair",1,[]],["👩🏾🦳","woman: medium-dark skin tone, white hair",1,[]],["👩🏿🦳","woman: dark skin tone, white hair",1,[]],["🧑🦳","person: white hair",1,[]],["🧑🏻🦳","person: light skin tone, white hair",1,[]],["🧑🏼🦳","person: medium-light skin tone, white hair",1,[]],["🧑🏽🦳","person: medium skin tone, white hair",1,[]],["🧑🏾🦳","person: medium-dark skin tone, white hair",1,[]],["🧑🏿🦳","person: dark skin tone, white hair",1,[]],["👩🦲","woman: bald",1,[]],["👩🏻🦲","woman: light skin tone, bald",1,[]],["👩🏼🦲","woman: medium-light skin tone, bald",1,[]],["👩🏽🦲","woman: medium skin tone, bald",1,[]],["👩🏾🦲","woman: medium-dark skin tone, bald",1,[]],["👩🏿🦲","woman: dark skin tone, bald",1,[]],["🧑🦲","person: bald",1,[]],["🧑🏻🦲","person: light skin tone, bald",1,[]],["🧑🏼🦲","person: medium-light skin tone, bald",1,[]],["🧑🏽🦲","person: medium skin tone, bald",1,[]],["🧑🏾🦲","person: medium-dark skin tone, bald",1,[]],["🧑🏿🦲","person: dark skin tone, bald",1,[]],["👱♀️","woman: blond hair",1,["blond","blond-haired","blonde","hair","woman"]],["👱🏻♀️","woman: light skin tone, blond hair",1,[]],["👱🏼♀️","woman: medium-light skin tone, blond hair",1,[]],["👱🏽♀️","woman: medium skin tone, blond hair",1,[]],["👱🏾♀️","woman: medium-dark skin tone, blond hair",1,[]],["👱🏿♀️","woman: dark skin tone, blond hair",1,[]],["👱♂️","man: blond hair",1,["blond","blond-haired","hair","man"]],["👱🏻♂️","man: light skin tone, blond hair",1,[]],["👱🏼♂️","man: medium-light skin tone, blond hair",1,[]],["👱🏽♂️","man: medium skin tone, blond hair",1,[]],["👱🏾♂️","man: medium-dark skin tone, blond hair",1,[]],["👱🏿♂️","man: dark skin tone, blond hair",1,[]],["🧓","older person",1,["adult","elderly","grandparent","old","person","wise"]],["🧓🏻","older person: light skin tone",1,[]],["🧓🏼","older person: medium-light skin tone",1,[]],["🧓🏽","older person: medium skin tone",1,[]],["🧓🏾","older person: medium-dark skin tone",1,[]],["🧓🏿","older person: dark skin tone",1,[]],["👴","old man",1,["adult","bald","elderly","gramps","grandfather","grandpa","man","old","wise"]],["👴🏻","old man: light skin tone",1,[]],["👴🏼","old man: medium-light skin tone",1,[]],["👴🏽","old man: medium skin tone",1,[]],["👴🏾","old man: medium-dark skin tone",1,[]],["👴🏿","old man: dark skin tone",1,[]],["👵","old woman",1,["adult","elderly","grandma","grandmother","granny","lady","old","wise","woman"]],["👵🏻","old woman: light skin tone",1,[]],["👵🏼","old woman: medium-light skin tone",1,[]],["👵🏽","old woman: medium skin tone",1,[]],["👵🏾","old woman: medium-dark skin tone",1,[]],["👵🏿","old woman: dark skin tone",1,[]],["🙍","person frowning",1,["annoyed","disappointed","disgruntled","disturbed","frown","frowning","frustrated","gesture","irritated","person","upset"]],["🙍🏻","person frowning: light skin tone",1,[]],["🙍🏼","person frowning: medium-light skin tone",1,[]],["🙍🏽","person frowning: medium skin tone",1,[]],["🙍🏾","person frowning: medium-dark skin tone",1,[]],["🙍🏿","person frowning: dark skin tone",1,[]],["🙍♂️","man frowning",1,["annoyed","disappointed","disgruntled","disturbed","frown","frowning","frustrated","gesture","irritated","man","upset"]],["🙍🏻♂️","man frowning: light skin tone",1,[]],["🙍🏼♂️","man frowning: medium-light skin tone",1,[]],["🙍🏽♂️","man frowning: medium skin tone",1,[]],["🙍🏾♂️","man frowning: medium-dark skin tone",1,[]],["🙍🏿♂️","man frowning: dark skin tone",1,[]],["🙍♀️","woman frowning",1,["annoyed","disappointed","disgruntled","disturbed","frown","frowning","frustrated","gesture","irritated","upset","woman"]],["🙍🏻♀️","woman frowning: light skin tone",1,[]],["🙍🏼♀️","woman frowning: medium-light skin tone",1,[]],["🙍🏽♀️","woman frowning: medium skin tone",1,[]],["🙍🏾♀️","woman frowning: medium-dark skin tone",1,[]],["🙍🏿♀️","woman frowning: dark skin tone",1,[]],["🙎","person pouting",1,["disappointed","downtrodden","frown","grimace","person","pouting","scowl","sulk","upset","whine"]],["🙎🏻","person pouting: light skin tone",1,[]],["🙎🏼","person pouting: medium-light skin tone",1,[]],["🙎🏽","person pouting: medium skin tone",1,[]],["🙎🏾","person pouting: medium-dark skin tone",1,[]],["🙎🏿","person pouting: dark skin tone",1,[]],["🙎♂️","man pouting",1,["disappointed","downtrodden","frown","grimace","man","pouting","scowl","sulk","upset","whine"]],["🙎🏻♂️","man pouting: light skin tone",1,[]],["🙎🏼♂️","man pouting: medium-light skin tone",1,[]],["🙎🏽♂️","man pouting: medium skin tone",1,[]],["🙎🏾♂️","man pouting: medium-dark skin tone",1,[]],["🙎🏿♂️","man pouting: dark skin tone",1,[]],["🙎♀️","woman pouting",1,["disappointed","downtrodden","frown","grimace","pouting","scowl","sulk","upset","whine","woman"]],["🙎🏻♀️","woman pouting: light skin tone",1,[]],["🙎🏼♀️","woman pouting: medium-light skin tone",1,[]],["🙎🏽♀️","woman pouting: medium skin tone",1,[]],["🙎🏾♀️","woman pouting: medium-dark skin tone",1,[]],["🙎🏿♀️","woman pouting: dark skin tone",1,[]],["🙅","person gesturing NO",1,["forbidden","gesture","hand","NO","not","person","prohibit"]],["🙅🏻","person gesturing NO: light skin tone",1,[]],["🙅🏼","person gesturing NO: medium-light skin tone",1,[]],["🙅🏽","person gesturing NO: medium skin tone",1,[]],["🙅🏾","person gesturing NO: medium-dark skin tone",1,[]],["🙅🏿","person gesturing NO: dark skin tone",1,[]],["🙅♂️","man gesturing NO",1,["forbidden","gesture","hand","man","NO","not","prohibit"]],["🙅🏻♂️","man gesturing NO: light skin tone",1,[]],["🙅🏼♂️","man gesturing NO: medium-light skin tone",1,[]],["🙅🏽♂️","man gesturing NO: medium skin tone",1,[]],["🙅🏾♂️","man gesturing NO: medium-dark skin tone",1,[]],["🙅🏿♂️","man gesturing NO: dark skin tone",1,[]],["🙅♀️","woman gesturing NO",1,["forbidden","gesture","hand","NO","not","prohibit","woman"]],["🙅🏻♀️","woman gesturing NO: light skin tone",1,[]],["🙅🏼♀️","woman gesturing NO: medium-light skin tone",1,[]],["🙅🏽♀️","woman gesturing NO: medium skin tone",1,[]],["🙅🏾♀️","woman gesturing NO: medium-dark skin tone",1,[]],["🙅🏿♀️","woman gesturing NO: dark skin tone",1,[]],["🙆","person gesturing OK",1,["exercise","gesture","gesturing","hand","OK","omg","person"]],["🙆🏻","person gesturing OK: light skin tone",1,[]],["🙆🏼","person gesturing OK: medium-light skin tone",1,[]],["🙆🏽","person gesturing OK: medium skin tone",1,[]],["🙆🏾","person gesturing OK: medium-dark skin tone",1,[]],["🙆🏿","person gesturing OK: dark skin tone",1,[]],["🙆♂️","man gesturing OK",1,["exercise","gesture","gesturing","hand","man","OK","omg"]],["🙆🏻♂️","man gesturing OK: light skin tone",1,[]],["🙆🏼♂️","man gesturing OK: medium-light skin tone",1,[]],["🙆🏽♂️","man gesturing OK: medium skin tone",1,[]],["🙆🏾♂️","man gesturing OK: medium-dark skin tone",1,[]],["🙆🏿♂️","man gesturing OK: dark skin tone",1,[]],["🙆♀️","woman gesturing OK",1,["exercise","gesture","gesturing","hand","OK","omg","woman"]],["🙆🏻♀️","woman gesturing OK: light skin tone",1,[]],["🙆🏼♀️","woman gesturing OK: medium-light skin tone",1,[]],["🙆🏽♀️","woman gesturing OK: medium skin tone",1,[]],["🙆🏾♀️","woman gesturing OK: medium-dark skin tone",1,[]],["🙆🏿♀️","woman gesturing OK: dark skin tone",1,[]],["💁","person tipping hand",1,["fetch","flick","flip","gossip","hand","person","sarcasm","sarcastic","sassy","seriously","tipping","whatever"]],["💁🏻","person tipping hand: light skin tone",1,[]],["💁🏼","person tipping hand: medium-light skin tone",1,[]],["💁🏽","person tipping hand: medium skin tone",1,[]],["💁🏾","person tipping hand: medium-dark skin tone",1,[]],["💁🏿","person tipping hand: dark skin tone",1,[]],["💁♂️","man tipping hand",1,["fetch","flick","flip","gossip","hand","man","sarcasm","sarcastic","sassy","seriously","tipping","whatever"]],["💁🏻♂️","man tipping hand: light skin tone",1,[]],["💁🏼♂️","man tipping hand: medium-light skin tone",1,[]],["💁🏽♂️","man tipping hand: medium skin tone",1,[]],["💁🏾♂️","man tipping hand: medium-dark skin tone",1,[]],["💁🏿♂️","man tipping hand: dark skin tone",1,[]],["💁♀️","woman tipping hand",1,["fetch","flick","flip","gossip","hand","sarcasm","sarcastic","sassy","seriously","tipping","whatever","woman"]],["💁🏻♀️","woman tipping hand: light skin tone",1,[]],["💁🏼♀️","woman tipping hand: medium-light skin tone",1,[]],["💁🏽♀️","woman tipping hand: medium skin tone",1,[]],["💁🏾♀️","woman tipping hand: medium-dark skin tone",1,[]],["💁🏿♀️","woman tipping hand: dark skin tone",1,[]],["🙋","person raising hand",1,["gesture","hand","here","know","me","person","pick","question","raise","raising"]],["🙋🏻","person raising hand: light skin tone",1,[]],["🙋🏼","person raising hand: medium-light skin tone",1,[]],["🙋🏽","person raising hand: medium skin tone",1,[]],["🙋🏾","person raising hand: medium-dark skin tone",1,[]],["🙋🏿","person raising hand: dark skin tone",1,[]],["🙋♂️","man raising hand",1,["gesture","hand","here","know","man","me","pick","question","raise","raising"]],["🙋🏻♂️","man raising hand: light skin tone",1,[]],["🙋🏼♂️","man raising hand: medium-light skin tone",1,[]],["🙋🏽♂️","man raising hand: medium skin tone",1,[]],["🙋🏾♂️","man raising hand: medium-dark skin tone",1,[]],["🙋🏿♂️","man raising hand: dark skin tone",1,[]],["🙋♀️","woman raising hand",1,["gesture","hand","here","know","me","pick","question","raise","raising","woman"]],["🙋🏻♀️","woman raising hand: light skin tone",1,[]],["🙋🏼♀️","woman raising hand: medium-light skin tone",1,[]],["🙋🏽♀️","woman raising hand: medium skin tone",1,[]],["🙋🏾♀️","woman raising hand: medium-dark skin tone",1,[]],["🙋🏿♀️","woman raising hand: dark skin tone",1,[]],["🧏","deaf person",1,["accessibility","deaf","ear","gesture","hear","person"]],["🧏🏻","deaf person: light skin tone",1,[]],["🧏🏼","deaf person: medium-light skin tone",1,[]],["🧏🏽","deaf person: medium skin tone",1,[]],["🧏🏾","deaf person: medium-dark skin tone",1,[]],["🧏🏿","deaf person: dark skin tone",1,[]],["🧏♂️","deaf man",1,["accessibility","deaf","ear","gesture","hear","man"]],["🧏🏻♂️","deaf man: light skin tone",1,[]],["🧏🏼♂️","deaf man: medium-light skin tone",1,[]],["🧏🏽♂️","deaf man: medium skin tone",1,[]],["🧏🏾♂️","deaf man: medium-dark skin tone",1,[]],["🧏🏿♂️","deaf man: dark skin tone",1,[]],["🧏♀️","deaf woman",1,["accessibility","deaf","ear","gesture","hear","woman"]],["🧏🏻♀️","deaf woman: light skin tone",1,[]],["🧏🏼♀️","deaf woman: medium-light skin tone",1,[]],["🧏🏽♀️","deaf woman: medium skin tone",1,[]],["🧏🏾♀️","deaf woman: medium-dark skin tone",1,[]],["🧏🏿♀️","deaf woman: dark skin tone",1,[]],["🙇","person bowing",1,["apology","ask","beg","bow","bowing","favor","forgive","gesture","meditate","meditation","person","pity","regret","sorry"]],["🙇🏻","person bowing: light skin tone",1,[]],["🙇🏼","person bowing: medium-light skin tone",1,[]],["🙇🏽","person bowing: medium skin tone",1,[]],["🙇🏾","person bowing: medium-dark skin tone",1,[]],["🙇🏿","person bowing: dark skin tone",1,[]],["🙇♂️","man bowing",1,["apology","ask","beg","bow","bowing","favor","forgive","gesture","man","meditate","meditation","pity","regret","sorry"]],["🙇🏻♂️","man bowing: light skin tone",1,[]],["🙇🏼♂️","man bowing: medium-light skin tone",1,[]],["🙇🏽♂️","man bowing: medium skin tone",1,[]],["🙇🏾♂️","man bowing: medium-dark skin tone",1,[]],["🙇🏿♂️","man bowing: dark skin tone",1,[]],["🙇♀️","woman bowing",1,["apology","ask","beg","bow","bowing","favor","forgive","gesture","meditate","meditation","pity","regret","sorry","woman"]],["🙇🏻♀️","woman bowing: light skin tone",1,[]],["🙇🏼♀️","woman bowing: medium-light skin tone",1,[]],["🙇🏽♀️","woman bowing: medium skin tone",1,[]],["🙇🏾♀️","woman bowing: medium-dark skin tone",1,[]],["🙇🏿♀️","woman bowing: dark skin tone",1,[]],["🤦","person facepalming",1,["again","bewilder","disbelief","exasperation","facepalm","no","not","oh","omg","person","shock","smh"]],["🤦🏻","person facepalming: light skin tone",1,[]],["🤦🏼","person facepalming: medium-light skin tone",1,[]],["🤦🏽","person facepalming: medium skin tone",1,[]],["🤦🏾","person facepalming: medium-dark skin tone",1,[]],["🤦🏿","person facepalming: dark skin tone",1,[]],["🤦♂️","man facepalming",1,["again","bewilder","disbelief","exasperation","facepalm","man","no","not","oh","omg","shock","smh"]],["🤦🏻♂️","man facepalming: light skin tone",1,[]],["🤦🏼♂️","man facepalming: medium-light skin tone",1,[]],["🤦🏽♂️","man facepalming: medium skin tone",1,[]],["🤦🏾♂️","man facepalming: medium-dark skin tone",1,[]],["🤦🏿♂️","man facepalming: dark skin tone",1,[]],["🤦♀️","woman facepalming",1,["again","bewilder","disbelief","exasperation","facepalm","no","not","oh","omg","shock","smh","woman"]],["🤦🏻♀️","woman facepalming: light skin tone",1,[]],["🤦🏼♀️","woman facepalming: medium-light skin tone",1,[]],["🤦🏽♀️","woman facepalming: medium skin tone",1,[]],["🤦🏾♀️","woman facepalming: medium-dark skin tone",1,[]],["🤦🏿♀️","woman facepalming: dark skin tone",1,[]],["🤷","person shrugging",1,["doubt","dunno","guess","idk","ignorance","indifference","knows","maybe","person","shrug","shrugging","whatever","who"]],["🤷🏻","person shrugging: light skin tone",1,[]],["🤷🏼","person shrugging: medium-light skin tone",1,[]],["🤷🏽","person shrugging: medium skin tone",1,[]],["🤷🏾","person shrugging: medium-dark skin tone",1,[]],["🤷🏿","person shrugging: dark skin tone",1,[]],["🤷♂️","man shrugging",1,["doubt","dunno","guess","idk","ignorance","indifference","knows","man","maybe","shrug","shrugging","whatever","who"]],["🤷🏻♂️","man shrugging: light skin tone",1,[]],["🤷🏼♂️","man shrugging: medium-light skin tone",1,[]],["🤷🏽♂️","man shrugging: medium skin tone",1,[]],["🤷🏾♂️","man shrugging: medium-dark skin tone",1,[]],["🤷🏿♂️","man shrugging: dark skin tone",1,[]],["🤷♀️","woman shrugging",1,["doubt","dunno","guess","idk","ignorance","indifference","knows","maybe","shrug","shrugging","whatever","who","woman"]],["🤷🏻♀️","woman shrugging: light skin tone",1,[]],["🤷🏼♀️","woman shrugging: medium-light skin tone",1,[]],["🤷🏽♀️","woman shrugging: medium skin tone",1,[]],["🤷🏾♀️","woman shrugging: medium-dark skin tone",1,[]],["🤷🏿♀️","woman shrugging: dark skin tone",1,[]],["🧑⚕️","health worker",1,["doctor","health","healthcare","nurse","therapist","worker"]],["🧑🏻⚕️","health worker: light skin tone",1,[]],["🧑🏼⚕️","health worker: medium-light skin tone",1,[]],["🧑🏽⚕️","health worker: medium skin tone",1,[]],["🧑🏾⚕️","health worker: medium-dark skin tone",1,[]],["🧑🏿⚕️","health worker: dark skin tone",1,[]],["👨⚕️","man health worker",1,["doctor","health","healthcare","man","nurse","therapist","worker"]],["👨🏻⚕️","man health worker: light skin tone",1,[]],["👨🏼⚕️","man health worker: medium-light skin tone",1,[]],["👨🏽⚕️","man health worker: medium skin tone",1,[]],["👨🏾⚕️","man health worker: medium-dark skin tone",1,[]],["👨🏿⚕️","man health worker: dark skin tone",1,[]],["👩⚕️","woman health worker",1,["doctor","health","healthcare","nurse","therapist","woman","worker"]],["👩🏻⚕️","woman health worker: light skin tone",1,[]],["👩🏼⚕️","woman health worker: medium-light skin tone",1,[]],["👩🏽⚕️","woman health worker: medium skin tone",1,[]],["👩🏾⚕️","woman health worker: medium-dark skin tone",1,[]],["👩🏿⚕️","woman health worker: dark skin tone",1,[]],["🧑🎓","student",1,["graduate","student"]],["🧑🏻🎓","student: light skin tone",1,[]],["🧑🏼🎓","student: medium-light skin tone",1,[]],["🧑🏽🎓","student: medium skin tone",1,[]],["🧑🏾🎓","student: medium-dark skin tone",1,[]],["🧑🏿🎓","student: dark skin tone",1,[]],["👨🎓","man student",1,["graduate","man","student"]],["👨🏻🎓","man student: light skin tone",1,[]],["👨🏼🎓","man student: medium-light skin tone",1,[]],["👨🏽🎓","man student: medium skin tone",1,[]],["👨🏾🎓","man student: medium-dark skin tone",1,[]],["👨🏿🎓","man student: dark skin tone",1,[]],["👩🎓","woman student",1,["graduate","student","woman"]],["👩🏻🎓","woman student: light skin tone",1,[]],["👩🏼🎓","woman student: medium-light skin tone",1,[]],["👩🏽🎓","woman student: medium skin tone",1,[]],["👩🏾🎓","woman student: medium-dark skin tone",1,[]],["👩🏿🎓","woman student: dark skin tone",1,[]],["🧑🏫","teacher",1,["instructor","lecturer","professor","teacher"]],["🧑🏻🏫","teacher: light skin tone",1,[]],["🧑🏼🏫","teacher: medium-light skin tone",1,[]],["🧑🏽🏫","teacher: medium skin tone",1,[]],["🧑🏾🏫","teacher: medium-dark skin tone",1,[]],["🧑🏿🏫","teacher: dark skin tone",1,[]],["👨🏫","man teacher",1,["instructor","lecturer","man","professor","teacher"]],["👨🏻🏫","man teacher: light skin tone",1,[]],["👨🏼🏫","man teacher: medium-light skin tone",1,[]],["👨🏽🏫","man teacher: medium skin tone",1,[]],["👨🏾🏫","man teacher: medium-dark skin tone",1,[]],["👨🏿🏫","man teacher: dark skin tone",1,[]],["👩🏫","woman teacher",1,["instructor","lecturer","professor","teacher","woman"]],["👩🏻🏫","woman teacher: light skin tone",1,[]],["👩🏼🏫","woman teacher: medium-light skin tone",1,[]],["👩🏽🏫","woman teacher: medium skin tone",1,[]],["👩🏾🏫","woman teacher: medium-dark skin tone",1,[]],["👩🏿🏫","woman teacher: dark skin tone",1,[]],["🧑⚖️","judge",1,["judge","justice","law","scales"]],["🧑🏻⚖️","judge: light skin tone",1,[]],["🧑🏼⚖️","judge: medium-light skin tone",1,[]],["🧑🏽⚖️","judge: medium skin tone",1,[]],["🧑🏾⚖️","judge: medium-dark skin tone",1,[]],["🧑🏿⚖️","judge: dark skin tone",1,[]],["👨⚖️","man judge",1,["judge","justice","law","man","scales"]],["👨🏻⚖️","man judge: light skin tone",1,[]],["👨🏼⚖️","man judge: medium-light skin tone",1,[]],["👨🏽⚖️","man judge: medium skin tone",1,[]],["👨🏾⚖️","man judge: medium-dark skin tone",1,[]],["👨🏿⚖️","man judge: dark skin tone",1,[]],["👩⚖️","woman judge",1,["judge","justice","law","scales","woman"]],["👩🏻⚖️","woman judge: light skin tone",1,[]],["👩🏼⚖️","woman judge: medium-light skin tone",1,[]],["👩🏽⚖️","woman judge: medium skin tone",1,[]],["👩🏾⚖️","woman judge: medium-dark skin tone",1,[]],["👩🏿⚖️","woman judge: dark skin tone",1,[]],["🧑🌾","farmer",1,["farmer","gardener","rancher"]],["🧑🏻🌾","farmer: light skin tone",1,[]],["🧑🏼🌾","farmer: medium-light skin tone",1,[]],["🧑🏽🌾","farmer: medium skin tone",1,[]],["🧑🏾🌾","farmer: medium-dark skin tone",1,[]],["🧑🏿🌾","farmer: dark skin tone",1,[]],["👨🌾","man farmer",1,["farmer","gardener","man","rancher"]],["👨🏻🌾","man farmer: light skin tone",1,[]],["👨🏼🌾","man farmer: medium-light skin tone",1,[]],["👨🏽🌾","man farmer: medium skin tone",1,[]],["👨🏾🌾","man farmer: medium-dark skin tone",1,[]],["👨🏿🌾","man farmer: dark skin tone",1,[]],["👩🌾","woman farmer",1,["farmer","gardener","rancher","woman"]],["👩🏻🌾","woman farmer: light skin tone",1,[]],["👩🏼🌾","woman farmer: medium-light skin tone",1,[]],["👩🏽🌾","woman farmer: medium skin tone",1,[]],["👩🏾🌾","woman farmer: medium-dark skin tone",1,[]],["👩🏿🌾","woman farmer: dark skin tone",1,[]],["🧑🍳","cook",1,["chef","cook"]],["🧑🏻🍳","cook: light skin tone",1,[]],["🧑🏼🍳","cook: medium-light skin tone",1,[]],["🧑🏽🍳","cook: medium skin tone",1,[]],["🧑🏾🍳","cook: medium-dark skin tone",1,[]],["🧑🏿🍳","cook: dark skin tone",1,[]],["👨🍳","man cook",1,["chef","cook","man"]],["👨🏻🍳","man cook: light skin tone",1,[]],["👨🏼🍳","man cook: medium-light skin tone",1,[]],["👨🏽🍳","man cook: medium skin tone",1,[]],["👨🏾🍳","man cook: medium-dark skin tone",1,[]],["👨🏿🍳","man cook: dark skin tone",1,[]],["👩🍳","woman cook",1,["chef","cook","woman"]],["👩🏻🍳","woman cook: light skin tone",1,[]],["👩🏼🍳","woman cook: medium-light skin tone",1,[]],["👩🏽🍳","woman cook: medium skin tone",1,[]],["👩🏾🍳","woman cook: medium-dark skin tone",1,[]],["👩🏿🍳","woman cook: dark skin tone",1,[]],["🧑🔧","mechanic",1,["electrician","mechanic","plumber","tradesperson"]],["🧑🏻🔧","mechanic: light skin tone",1,[]],["🧑🏼🔧","mechanic: medium-light skin tone",1,[]],["🧑🏽🔧","mechanic: medium skin tone",1,[]],["🧑🏾🔧","mechanic: medium-dark skin tone",1,[]],["🧑🏿🔧","mechanic: dark skin tone",1,[]],["👨🔧","man mechanic",1,["electrician","man","mechanic","plumber","tradesperson"]],["👨🏻🔧","man mechanic: light skin tone",1,[]],["👨🏼🔧","man mechanic: medium-light skin tone",1,[]],["👨🏽🔧","man mechanic: medium skin tone",1,[]],["👨🏾🔧","man mechanic: medium-dark skin tone",1,[]],["👨🏿🔧","man mechanic: dark skin tone",1,[]],["👩🔧","woman mechanic",1,["electrician","mechanic","plumber","tradesperson","woman"]],["👩🏻🔧","woman mechanic: light skin tone",1,[]],["👩🏼🔧","woman mechanic: medium-light skin tone",1,[]],["👩🏽🔧","woman mechanic: medium skin tone",1,[]],["👩🏾🔧","woman mechanic: medium-dark skin tone",1,[]],["👩🏿🔧","woman mechanic: dark skin tone",1,[]],["🧑🏭","factory worker",1,["assembly","factory","industrial","worker"]],["🧑🏻🏭","factory worker: light skin tone",1,[]],["🧑🏼🏭","factory worker: medium-light skin tone",1,[]],["🧑🏽🏭","factory worker: medium skin tone",1,[]],["🧑🏾🏭","factory worker: medium-dark skin tone",1,[]],["🧑🏿🏭","factory worker: dark skin tone",1,[]],["👨🏭","man factory worker",1,["assembly","factory","industrial","man","worker"]],["👨🏻🏭","man factory worker: light skin tone",1,[]],["👨🏼🏭","man factory worker: medium-light skin tone",1,[]],["👨🏽🏭","man factory worker: medium skin tone",1,[]],["👨🏾🏭","man factory worker: medium-dark skin tone",1,[]],["👨🏿🏭","man factory worker: dark skin tone",1,[]],["👩🏭","woman factory worker",1,["assembly","factory","industrial","woman","worker"]],["👩🏻🏭","woman factory worker: light skin tone",1,[]],["👩🏼🏭","woman factory worker: medium-light skin tone",1,[]],["👩🏽🏭","woman factory worker: medium skin tone",1,[]],["👩🏾🏭","woman factory worker: medium-dark skin tone",1,[]],["👩🏿🏭","woman factory worker: dark skin tone",1,[]],["🧑💼","office worker",1,["architect","business","manager","office","white-collar","worker"]],["🧑🏻💼","office worker: light skin tone",1,[]],["🧑🏼💼","office worker: medium-light skin tone",1,[]],["🧑🏽💼","office worker: medium skin tone",1,[]],["🧑🏾💼","office worker: medium-dark skin tone",1,[]],["🧑🏿💼","office worker: dark skin tone",1,[]],["👨💼","man office worker",1,["architect","business","man","manager","office","white-collar","worker"]],["👨🏻💼","man office worker: light skin tone",1,[]],["👨🏼💼","man office worker: medium-light skin tone",1,[]],["👨🏽💼","man office worker: medium skin tone",1,[]],["👨🏾💼","man office worker: medium-dark skin tone",1,[]],["👨🏿💼","man office worker: dark skin tone",1,[]],["👩💼","woman office worker",1,["architect","business","manager","office","white-collar","woman","worker"]],["👩🏻💼","woman office worker: light skin tone",1,[]],["👩🏼💼","woman office worker: medium-light skin tone",1,[]],["👩🏽💼","woman office worker: medium skin tone",1,[]],["👩🏾💼","woman office worker: medium-dark skin tone",1,[]],["👩🏿💼","woman office worker: dark skin tone",1,[]],["🧑🔬","scientist",1,["biologist","chemist","engineer","mathematician","physicist","scientist"]],["🧑🏻🔬","scientist: light skin tone",1,[]],["🧑🏼🔬","scientist: medium-light skin tone",1,[]],["🧑🏽🔬","scientist: medium skin tone",1,[]],["🧑🏾🔬","scientist: medium-dark skin tone",1,[]],["🧑🏿🔬","scientist: dark skin tone",1,[]],["👨🔬","man scientist",1,["biologist","chemist","engineer","man","mathematician","physicist","scientist"]],["👨🏻🔬","man scientist: light skin tone",1,[]],["👨🏼🔬","man scientist: medium-light skin tone",1,[]],["👨🏽🔬","man scientist: medium skin tone",1,[]],["👨🏾🔬","man scientist: medium-dark skin tone",1,[]],["👨🏿🔬","man scientist: dark skin tone",1,[]],["👩🔬","woman scientist",1,["biologist","chemist","engineer","mathematician","physicist","scientist","woman"]],["👩🏻🔬","woman scientist: light skin tone",1,[]],["👩🏼🔬","woman scientist: medium-light skin tone",1,[]],["👩🏽🔬","woman scientist: medium skin tone",1,[]],["👩🏾🔬","woman scientist: medium-dark skin tone",1,[]],["👩🏿🔬","woman scientist: dark skin tone",1,[]],["🧑💻","technologist",1,["coder","computer","developer","inventor","software","technologist"]],["🧑🏻💻","technologist: light skin tone",1,[]],["🧑🏼💻","technologist: medium-light skin tone",1,[]],["🧑🏽💻","technologist: medium skin tone",1,[]],["🧑🏾💻","technologist: medium-dark skin tone",1,[]],["🧑🏿💻","technologist: dark skin tone",1,[]],["👨💻","man technologist",1,["coder","computer","developer","inventor","man","software","technologist"]],["👨🏻💻","man technologist: light skin tone",1,[]],["👨🏼💻","man technologist: medium-light skin tone",1,[]],["👨🏽💻","man technologist: medium skin tone",1,[]],["👨🏾💻","man technologist: medium-dark skin tone",1,[]],["👨🏿💻","man technologist: dark skin tone",1,[]],["👩💻","woman technologist",1,["coder","computer","developer","inventor","software","technologist","woman"]],["👩🏻💻","woman technologist: light skin tone",1,[]],["👩🏼💻","woman technologist: medium-light skin tone",1,[]],["👩🏽💻","woman technologist: medium skin tone",1,[]],["👩🏾💻","woman technologist: medium-dark skin tone",1,[]],["👩🏿💻","woman technologist: dark skin tone",1,[]],["🧑🎤","singer",1,["actor","entertainer","rock","rockstar","singer","star"]],["🧑🏻🎤","singer: light skin tone",1,[]],["🧑🏼🎤","singer: medium-light skin tone",1,[]],["🧑🏽🎤","singer: medium skin tone",1,[]],["🧑🏾🎤","singer: medium-dark skin tone",1,[]],["🧑🏿🎤","singer: dark skin tone",1,[]],["👨🎤","man singer",1,["actor","entertainer","man","rock","rockstar","singer","star"]],["👨🏻🎤","man singer: light skin tone",1,[]],["👨🏼🎤","man singer: medium-light skin tone",1,[]],["👨🏽🎤","man singer: medium skin tone",1,[]],["👨🏾🎤","man singer: medium-dark skin tone",1,[]],["👨🏿🎤","man singer: dark skin tone",1,[]],["👩🎤","woman singer",1,["actor","entertainer","rock","rockstar","singer","star","woman"]],["👩🏻🎤","woman singer: light skin tone",1,[]],["👩🏼🎤","woman singer: medium-light skin tone",1,[]],["👩🏽🎤","woman singer: medium skin tone",1,[]],["👩🏾🎤","woman singer: medium-dark skin tone",1,[]],["👩🏿🎤","woman singer: dark skin tone",1,[]],["🧑🎨","artist",1,["artist","palette"]],["🧑🏻🎨","artist: light skin tone",1,[]],["🧑🏼🎨","artist: medium-light skin tone",1,[]],["🧑🏽🎨","artist: medium skin tone",1,[]],["🧑🏾🎨","artist: medium-dark skin tone",1,[]],["🧑🏿🎨","artist: dark skin tone",1,[]],["👨🎨","man artist",1,["artist","man","palette"]],["👨🏻🎨","man artist: light skin tone",1,[]],["👨🏼🎨","man artist: medium-light skin tone",1,[]],["👨🏽🎨","man artist: medium skin tone",1,[]],["👨🏾🎨","man artist: medium-dark skin tone",1,[]],["👨🏿🎨","man artist: dark skin tone",1,[]],["👩🎨","woman artist",1,["artist","palette","woman"]],["👩🏻🎨","woman artist: light skin tone",1,[]],["👩🏼🎨","woman artist: medium-light skin tone",1,[]],["👩🏽🎨","woman artist: medium skin tone",1,[]],["👩🏾🎨","woman artist: medium-dark skin tone",1,[]],["👩🏿🎨","woman artist: dark skin tone",1,[]],["🧑✈️","pilot",1,["pilot","plane"]],["🧑🏻✈️","pilot: light skin tone",1,[]],["🧑🏼✈️","pilot: medium-light skin tone",1,[]],["🧑🏽✈️","pilot: medium skin tone",1,[]],["🧑🏾✈️","pilot: medium-dark skin tone",1,[]],["🧑🏿✈️","pilot: dark skin tone",1,[]],["👨✈️","man pilot",1,["man","pilot","plane"]],["👨🏻✈️","man pilot: light skin tone",1,[]],["👨🏼✈️","man pilot: medium-light skin tone",1,[]],["👨🏽✈️","man pilot: medium skin tone",1,[]],["👨🏾✈️","man pilot: medium-dark skin tone",1,[]],["👨🏿✈️","man pilot: dark skin tone",1,[]],["👩✈️","woman pilot",1,["pilot","plane","woman"]],["👩🏻✈️","woman pilot: light skin tone",1,[]],["👩🏼✈️","woman pilot: medium-light skin tone",1,[]],["👩🏽✈️","woman pilot: medium skin tone",1,[]],["👩🏾✈️","woman pilot: medium-dark skin tone",1,[]],["👩🏿✈️","woman pilot: dark skin tone",1,[]],["🧑🚀","astronaut",1,["astronaut","rocket","space"]],["🧑🏻🚀","astronaut: light skin tone",1,[]],["🧑🏼🚀","astronaut: medium-light skin tone",1,[]],["🧑🏽🚀","astronaut: medium skin tone",1,[]],["🧑🏾🚀","astronaut: medium-dark skin tone",1,[]],["🧑🏿🚀","astronaut: dark skin tone",1,[]],["👨🚀","man astronaut",1,["astronaut","man","rocket","space"]],["👨🏻🚀","man astronaut: light skin tone",1,[]],["👨🏼🚀","man astronaut: medium-light skin tone",1,[]],["👨🏽🚀","man astronaut: medium skin tone",1,[]],["👨🏾🚀","man astronaut: medium-dark skin tone",1,[]],["👨🏿🚀","man astronaut: dark skin tone",1,[]],["👩🚀","woman astronaut",1,["astronaut","rocket","space","woman"]],["👩🏻🚀","woman astronaut: light skin tone",1,[]],["👩🏼🚀","woman astronaut: medium-light skin tone",1,[]],["👩🏽🚀","woman astronaut: medium skin tone",1,[]],["👩🏾🚀","woman astronaut: medium-dark skin tone",1,[]],["👩🏿🚀","woman astronaut: dark skin tone",1,[]],["🧑🚒","firefighter",1,["fire","firefighter","firetruck"]],["🧑🏻🚒","firefighter: light skin tone",1,[]],["🧑🏼🚒","firefighter: medium-light skin tone",1,[]],["🧑🏽🚒","firefighter: medium skin tone",1,[]],["🧑🏾🚒","firefighter: medium-dark skin tone",1,[]],["🧑🏿🚒","firefighter: dark skin tone",1,[]],["👨🚒","man firefighter",1,["fire","firefighter","firetruck","man"]],["👨🏻🚒","man firefighter: light skin tone",1,[]],["👨🏼🚒","man firefighter: medium-light skin tone",1,[]],["👨🏽🚒","man firefighter: medium skin tone",1,[]],["👨🏾🚒","man firefighter: medium-dark skin tone",1,[]],["👨🏿🚒","man firefighter: dark skin tone",1,[]],["👩🚒","woman firefighter",1,["fire","firefighter","firetruck","woman"]],["👩🏻🚒","woman firefighter: light skin tone",1,[]],["👩🏼🚒","woman firefighter: medium-light skin tone",1,[]],["👩🏽🚒","woman firefighter: medium skin tone",1,[]],["👩🏾🚒","woman firefighter: medium-dark skin tone",1,[]],["👩🏿🚒","woman firefighter: dark skin tone",1,[]],["👮","police officer",1,["apprehend","arrest","citation","cop","law","officer","over","police","pulled","undercover"]],["👮🏻","police officer: light skin tone",1,[]],["👮🏼","police officer: medium-light skin tone",1,[]],["👮🏽","police officer: medium skin tone",1,[]],["👮🏾","police officer: medium-dark skin tone",1,[]],["👮🏿","police officer: dark skin tone",1,[]],["👮♂️","man police officer",1,["apprehend","arrest","citation","cop","law","man","officer","over","police","pulled","undercover"]],["👮🏻♂️","man police officer: light skin tone",1,[]],["👮🏼♂️","man police officer: medium-light skin tone",1,[]],["👮🏽♂️","man police officer: medium skin tone",1,[]],["👮🏾♂️","man police officer: medium-dark skin tone",1,[]],["👮🏿♂️","man police officer: dark skin tone",1,[]],["👮♀️","woman police officer",1,["apprehend","arrest","citation","cop","law","officer","over","police","pulled","undercover","woman"]],["👮🏻♀️","woman police officer: light skin tone",1,[]],["👮🏼♀️","woman police officer: medium-light skin tone",1,[]],["👮🏽♀️","woman police officer: medium skin tone",1,[]],["👮🏾♀️","woman police officer: medium-dark skin tone",1,[]],["👮🏿♀️","woman police officer: dark skin tone",1,[]],["🕵️","detective",1,["detective","sleuth","spy"]],["🕵🏻","detective: light skin tone",1,[]],["🕵🏼","detective: medium-light skin tone",1,[]],["🕵🏽","detective: medium skin tone",1,[]],["🕵🏾","detective: medium-dark skin tone",1,[]],["🕵🏿","detective: dark skin tone",1,[]],["🕵️♂️","man detective",1,["detective","man","sleuth","spy"]],["🕵🏻♂️","man detective: light skin tone",1,[]],["🕵🏼♂️","man detective: medium-light skin tone",1,[]],["🕵🏽♂️","man detective: medium skin tone",1,[]],["🕵🏾♂️","man detective: medium-dark skin tone",1,[]],["🕵🏿♂️","man detective: dark skin tone",1,[]],["🕵️♀️","woman detective",1,["detective","sleuth","spy","woman"]],["🕵🏻♀️","woman detective: light skin tone",1,[]],["🕵🏼♀️","woman detective: medium-light skin tone",1,[]],["🕵🏽♀️","woman detective: medium skin tone",1,[]],["🕵🏾♀️","woman detective: medium-dark skin tone",1,[]],["🕵🏿♀️","woman detective: dark skin tone",1,[]],["💂","guard",1,["buckingham","guard","helmet","london","palace"]],["💂🏻","guard: light skin tone",1,[]],["💂🏼","guard: medium-light skin tone",1,[]],["💂🏽","guard: medium skin tone",1,[]],["💂🏾","guard: medium-dark skin tone",1,[]],["💂🏿","guard: dark skin tone",1,[]],["💂♂️","man guard",1,["buckingham","guard","helmet","london","man","palace"]],["💂🏻♂️","man guard: light skin tone",1,[]],["💂🏼♂️","man guard: medium-light skin tone",1,[]],["💂🏽♂️","man guard: medium skin tone",1,[]],["💂🏾♂️","man guard: medium-dark skin tone",1,[]],["💂🏿♂️","man guard: dark skin tone",1,[]],["💂♀️","woman guard",1,["buckingham","guard","helmet","london","palace","woman"]],["💂🏻♀️","woman guard: light skin tone",1,[]],["💂🏼♀️","woman guard: medium-light skin tone",1,[]],["💂🏽♀️","woman guard: medium skin tone",1,[]],["💂🏾♀️","woman guard: medium-dark skin tone",1,[]],["💂🏿♀️","woman guard: dark skin tone",1,[]],["🥷","ninja",1,["assassin","fight","fighter","hidden","ninja","person","secret","skills","sly","soldier","stealth","war"]],["🥷🏻","ninja: light skin tone",1,[]],["🥷🏼","ninja: medium-light skin tone",1,[]],["🥷🏽","ninja: medium skin tone",1,[]],["🥷🏾","ninja: medium-dark skin tone",1,[]],["🥷🏿","ninja: dark skin tone",1,[]],["👷","construction worker",1,["build","construction","fix","hardhat","hat","man","person","rebuild","remodel","repair","work","worker"]],["👷🏻","construction worker: light skin tone",1,[]],["👷🏼","construction worker: medium-light skin tone",1,[]],["👷🏽","construction worker: medium skin tone",1,[]],["👷🏾","construction worker: medium-dark skin tone",1,[]],["👷🏿","construction worker: dark skin tone",1,[]],["👷♂️","man construction worker",1,["build","construction","fix","hardhat","hat","man","rebuild","remodel","repair","work","worker"]],["👷🏻♂️","man construction worker: light skin tone",1,[]],["👷🏼♂️","man construction worker: medium-light skin tone",1,[]],["👷🏽♂️","man construction worker: medium skin tone",1,[]],["👷🏾♂️","man construction worker: medium-dark skin tone",1,[]],["👷🏿♂️","man construction worker: dark skin tone",1,[]],["👷♀️","woman construction worker",1,["build","construction","fix","hardhat","hat","man","rebuild","remodel","repair","woman","work","worker"]],["👷🏻♀️","woman construction worker: light skin tone",1,[]],["👷🏼♀️","woman construction worker: medium-light skin tone",1,[]],["👷🏽♀️","woman construction worker: medium skin tone",1,[]],["👷🏾♀️","woman construction worker: medium-dark skin tone",1,[]],["👷🏿♀️","woman construction worker: dark skin tone",1,[]],["🫅","person with crown",1,["crown","monarch","noble","person","regal","royal","royalty"]],["🫅🏻","person with crown: light skin tone",1,[]],["🫅🏼","person with crown: medium-light skin tone",1,[]],["🫅🏽","person with crown: medium skin tone",1,[]],["🫅🏾","person with crown: medium-dark skin tone",1,[]],["🫅🏿","person with crown: dark skin tone",1,[]],["🤴","prince",1,["crown","fairy","fairytale","fantasy","king","prince","royal","royalty","tale"]],["🤴🏻","prince: light skin tone",1,[]],["🤴🏼","prince: medium-light skin tone",1,[]],["🤴🏽","prince: medium skin tone",1,[]],["🤴🏾","prince: medium-dark skin tone",1,[]],["🤴🏿","prince: dark skin tone",1,[]],["👸","princess",1,["crown","fairy","fairytale","fantasy","princess","queen","royal","royalty","tale"]],["👸🏻","princess: light skin tone",1,[]],["👸🏼","princess: medium-light skin tone",1,[]],["👸🏽","princess: medium skin tone",1,[]],["👸🏾","princess: medium-dark skin tone",1,[]],["👸🏿","princess: dark skin tone",1,[]],["👳","person wearing turban",1,["person","turban","wearing"]],["👳🏻","person wearing turban: light skin tone",1,[]],["👳🏼","person wearing turban: medium-light skin tone",1,[]],["👳🏽","person wearing turban: medium skin tone",1,[]],["👳🏾","person wearing turban: medium-dark skin tone",1,[]],["👳🏿","person wearing turban: dark skin tone",1,[]],["👳♂️","man wearing turban",1,["man","turban","wearing"]],["👳🏻♂️","man wearing turban: light skin tone",1,[]],["👳🏼♂️","man wearing turban: medium-light skin tone",1,[]],["👳🏽♂️","man wearing turban: medium skin tone",1,[]],["👳🏾♂️","man wearing turban: medium-dark skin tone",1,[]],["👳🏿♂️","man wearing turban: dark skin tone",1,[]],["👳♀️","woman wearing turban",1,["turban","wearing","woman"]],["👳🏻♀️","woman wearing turban: light skin tone",1,[]],["👳🏼♀️","woman wearing turban: medium-light skin tone",1,[]],["👳🏽♀️","woman wearing turban: medium skin tone",1,[]],["👳🏾♀️","woman wearing turban: medium-dark skin tone",1,[]],["👳🏿♀️","woman wearing turban: dark skin tone",1,[]],["👲","person with skullcap",1,["cap","Chinese","gua","guapi","hat","mao","person","pi","skullcap"]],["👲🏻","person with skullcap: light skin tone",1,[]],["👲🏼","person with skullcap: medium-light skin tone",1,[]],["👲🏽","person with skullcap: medium skin tone",1,[]],["👲🏾","person with skullcap: medium-dark skin tone",1,[]],["👲🏿","person with skullcap: dark skin tone",1,[]],["🧕","woman with headscarf",1,["bandana","head","headscarf","hijab","kerchief","mantilla","tichel","woman"]],["🧕🏻","woman with headscarf: light skin tone",1,[]],["🧕🏼","woman with headscarf: medium-light skin tone",1,[]],["🧕🏽","woman with headscarf: medium skin tone",1,[]],["🧕🏾","woman with headscarf: medium-dark skin tone",1,[]],["🧕🏿","woman with headscarf: dark skin tone",1,[]],["🤵","person in tuxedo",1,["formal","person","tuxedo","wedding"]],["🤵🏻","person in tuxedo: light skin tone",1,[]],["🤵🏼","person in tuxedo: medium-light skin tone",1,[]],["🤵🏽","person in tuxedo: medium skin tone",1,[]],["🤵🏾","person in tuxedo: medium-dark skin tone",1,[]],["🤵🏿","person in tuxedo: dark skin tone",1,[]],["🤵♂️","man in tuxedo",1,["formal","groom","man","tuxedo","wedding"]],["🤵🏻♂️","man in tuxedo: light skin tone",1,[]],["🤵🏼♂️","man in tuxedo: medium-light skin tone",1,[]],["🤵🏽♂️","man in tuxedo: medium skin tone",1,[]],["🤵🏾♂️","man in tuxedo: medium-dark skin tone",1,[]],["🤵🏿♂️","man in tuxedo: dark skin tone",1,[]],["🤵♀️","woman in tuxedo",1,["formal","tuxedo","wedding","woman"]],["🤵🏻♀️","woman in tuxedo: light skin tone",1,[]],["🤵🏼♀️","woman in tuxedo: medium-light skin tone",1,[]],["🤵🏽♀️","woman in tuxedo: medium skin tone",1,[]],["🤵🏾♀️","woman in tuxedo: medium-dark skin tone",1,[]],["🤵🏿♀️","woman in tuxedo: dark skin tone",1,[]],["👰","person with veil",1,["person","veil","wedding"]],["👰🏻","person with veil: light skin tone",1,[]],["👰🏼","person with veil: medium-light skin tone",1,[]],["👰🏽","person with veil: medium skin tone",1,[]],["👰🏾","person with veil: medium-dark skin tone",1,[]],["👰🏿","person with veil: dark skin tone",1,[]],["👰♂️","man with veil",1,["man","veil","wedding"]],["👰🏻♂️","man with veil: light skin tone",1,[]],["👰🏼♂️","man with veil: medium-light skin tone",1,[]],["👰🏽♂️","man with veil: medium skin tone",1,[]],["👰🏾♂️","man with veil: medium-dark skin tone",1,[]],["👰🏿♂️","man with veil: dark skin tone",1,[]],["👰♀️","woman with veil",1,["bride","veil","wedding","woman"]],["👰🏻♀️","woman with veil: light skin tone",1,[]],["👰🏼♀️","woman with veil: medium-light skin tone",1,[]],["👰🏽♀️","woman with veil: medium skin tone",1,[]],["👰🏾♀️","woman with veil: medium-dark skin tone",1,[]],["👰🏿♀️","woman with veil: dark skin tone",1,[]],["🤰","pregnant woman",1,["pregnant","woman"]],["🤰🏻","pregnant woman: light skin tone",1,[]],["🤰🏼","pregnant woman: medium-light skin tone",1,[]],["🤰🏽","pregnant woman: medium skin tone",1,[]],["🤰🏾","pregnant woman: medium-dark skin tone",1,[]],["🤰🏿","pregnant woman: dark skin tone",1,[]],["🫃","pregnant man",1,["belly","bloated","full","man","overeat","pregnant"]],["🫃🏻","pregnant man: light skin tone",1,[]],["🫃🏼","pregnant man: medium-light skin tone",1,[]],["🫃🏽","pregnant man: medium skin tone",1,[]],["🫃🏾","pregnant man: medium-dark skin tone",1,[]],["🫃🏿","pregnant man: dark skin tone",1,[]],["🫄","pregnant person",1,["belly","bloated","full","overeat","person","pregnant","stuffed"]],["🫄🏻","pregnant person: light skin tone",1,[]],["🫄🏼","pregnant person: medium-light skin tone",1,[]],["🫄🏽","pregnant person: medium skin tone",1,[]],["🫄🏾","pregnant person: medium-dark skin tone",1,[]],["🫄🏿","pregnant person: dark skin tone",1,[]],["🤱","breast-feeding",1,["baby","breast","breast-feeding","feeding","mom","mother","nursing","woman"]],["🤱🏻","breast-feeding: light skin tone",1,[]],["🤱🏼","breast-feeding: medium-light skin tone",1,[]],["🤱🏽","breast-feeding: medium skin tone",1,[]],["🤱🏾","breast-feeding: medium-dark skin tone",1,[]],["🤱🏿","breast-feeding: dark skin tone",1,[]],["👩🍼","woman feeding baby",1,["baby","feed","feeding","mom","mother","nanny","newborn","nursing","woman"]],["👩🏻🍼","woman feeding baby: light skin tone",1,[]],["👩🏼🍼","woman feeding baby: medium-light skin tone",1,[]],["👩🏽🍼","woman feeding baby: medium skin tone",1,[]],["👩🏾🍼","woman feeding baby: medium-dark skin tone",1,[]],["👩🏿🍼","woman feeding baby: dark skin tone",1,[]],["👨🍼","man feeding baby",1,["baby","dad","father","feed","feeding","man","nanny","newborn","nursing"]],["👨🏻🍼","man feeding baby: light skin tone",1,[]],["👨🏼🍼","man feeding baby: medium-light skin tone",1,[]],["👨🏽🍼","man feeding baby: medium skin tone",1,[]],["👨🏾🍼","man feeding baby: medium-dark skin tone",1,[]],["👨🏿🍼","man feeding baby: dark skin tone",1,[]],["🧑🍼","person feeding baby",1,["baby","feed","feeding","nanny","newborn","nursing","parent"]],["🧑🏻🍼","person feeding baby: light skin tone",1,[]],["🧑🏼🍼","person feeding baby: medium-light skin tone",1,[]],["🧑🏽🍼","person feeding baby: medium skin tone",1,[]],["🧑🏾🍼","person feeding baby: medium-dark skin tone",1,[]],["🧑🏿🍼","person feeding baby: dark skin tone",1,[]],["👼","baby angel",1,["angel","baby","church","face","fairy","fairytale","fantasy","tale"]],["👼🏻","baby angel: light skin tone",1,[]],["👼🏼","baby angel: medium-light skin tone",1,[]],["👼🏽","baby angel: medium skin tone",1,[]],["👼🏾","baby angel: medium-dark skin tone",1,[]],["👼🏿","baby angel: dark skin tone",1,[]],["🎅","Santa Claus",1,["celebration","Christmas","claus","fairy","fantasy","father","holiday","merry","santa","tale","xmas"]],["🎅🏻","Santa Claus: light skin tone",1,[]],["🎅🏼","Santa Claus: medium-light skin tone",1,[]],["🎅🏽","Santa Claus: medium skin tone",1,[]],["🎅🏾","Santa Claus: medium-dark skin tone",1,[]],["🎅🏿","Santa Claus: dark skin tone",1,[]],["🤶","Mrs. Claus",1,["celebration","Christmas","claus","fairy","fantasy","holiday","merry","mother","Mrs","santa","tale","xmas"]],["🤶🏻","Mrs. Claus: light skin tone",1,[]],["🤶🏼","Mrs. Claus: medium-light skin tone",1,[]],["🤶🏽","Mrs. Claus: medium skin tone",1,[]],["🤶🏾","Mrs. Claus: medium-dark skin tone",1,[]],["🤶🏿","Mrs. Claus: dark skin tone",1,[]],["🧑🎄","Mx Claus",1,["celebration","Christmas","claus","fairy","fantasy","holiday","merry","Mx","santa","tale","xmas"]],["🧑🏻🎄","Mx Claus: light skin tone",1,[]],["🧑🏼🎄","Mx Claus: medium-light skin tone",1,[]],["🧑🏽🎄","Mx Claus: medium skin tone",1,[]],["🧑🏾🎄","Mx Claus: medium-dark skin tone",1,[]],["🧑🏿🎄","Mx Claus: dark skin tone",1,[]],["🦸","superhero",1,["good","hero","superhero","superpower"]],["🦸🏻","superhero: light skin tone",1,[]],["🦸🏼","superhero: medium-light skin tone",1,[]],["🦸🏽","superhero: medium skin tone",1,[]],["🦸🏾","superhero: medium-dark skin tone",1,[]],["🦸🏿","superhero: dark skin tone",1,[]],["🦸♂️","man superhero",1,["good","hero","man","superhero","superpower"]],["🦸🏻♂️","man superhero: light skin tone",1,[]],["🦸🏼♂️","man superhero: medium-light skin tone",1,[]],["🦸🏽♂️","man superhero: medium skin tone",1,[]],["🦸🏾♂️","man superhero: medium-dark skin tone",1,[]],["🦸🏿♂️","man superhero: dark skin tone",1,[]],["🦸♀️","woman superhero",1,["good","hero","heroine","superhero","superpower","woman"]],["🦸🏻♀️","woman superhero: light skin tone",1,[]],["🦸🏼♀️","woman superhero: medium-light skin tone",1,[]],["🦸🏽♀️","woman superhero: medium skin tone",1,[]],["🦸🏾♀️","woman superhero: medium-dark skin tone",1,[]],["🦸🏿♀️","woman superhero: dark skin tone",1,[]],["🦹","supervillain",1,["bad","criminal","evil","superpower","supervillain","villain"]],["🦹🏻","supervillain: light skin tone",1,[]],["🦹🏼","supervillain: medium-light skin tone",1,[]],["🦹🏽","supervillain: medium skin tone",1,[]],["🦹🏾","supervillain: medium-dark skin tone",1,[]],["🦹🏿","supervillain: dark skin tone",1,[]],["🦹♂️","man supervillain",1,["bad","criminal","evil","man","superpower","supervillain","villain"]],["🦹🏻♂️","man supervillain: light skin tone",1,[]],["🦹🏼♂️","man supervillain: medium-light skin tone",1,[]],["🦹🏽♂️","man supervillain: medium skin tone",1,[]],["🦹🏾♂️","man supervillain: medium-dark skin tone",1,[]],["🦹🏿♂️","man supervillain: dark skin tone",1,[]],["🦹♀️","woman supervillain",1,["bad","criminal","evil","superpower","supervillain","villain","woman"]],["🦹🏻♀️","woman supervillain: light skin tone",1,[]],["🦹🏼♀️","woman supervillain: medium-light skin tone",1,[]],["🦹🏽♀️","woman supervillain: medium skin tone",1,[]],["🦹🏾♀️","woman supervillain: medium-dark skin tone",1,[]],["🦹🏿♀️","woman supervillain: dark skin tone",1,[]],["🧙","mage",1,["fantasy","mage","magic","play","sorcerer","sorceress","sorcery","spell","summon","witch","wizard"]],["🧙🏻","mage: light skin tone",1,[]],["🧙🏼","mage: medium-light skin tone",1,[]],["🧙🏽","mage: medium skin tone",1,[]],["🧙🏾","mage: medium-dark skin tone",1,[]],["🧙🏿","mage: dark skin tone",1,[]],["🧙♂️","man mage",1,["fantasy","mage","magic","man","play","sorcerer","sorceress","sorcery","spell","summon","witch","wizard"]],["🧙🏻♂️","man mage: light skin tone",1,[]],["🧙🏼♂️","man mage: medium-light skin tone",1,[]],["🧙🏽♂️","man mage: medium skin tone",1,[]],["🧙🏾♂️","man mage: medium-dark skin tone",1,[]],["🧙🏿♂️","man mage: dark skin tone",1,[]],["🧙♀️","woman mage",1,["fantasy","mage","magic","play","sorcerer","sorceress","sorcery","spell","summon","witch","wizard","woman"]],["🧙🏻♀️","woman mage: light skin tone",1,[]],["🧙🏼♀️","woman mage: medium-light skin tone",1,[]],["🧙🏽♀️","woman mage: medium skin tone",1,[]],["🧙🏾♀️","woman mage: medium-dark skin tone",1,[]],["🧙🏿♀️","woman mage: dark skin tone",1,[]],["🧚","fairy",1,["fairy","fairytale","fantasy","myth","person","pixie","tale","wings"]],["🧚🏻","fairy: light skin tone",1,[]],["🧚🏼","fairy: medium-light skin tone",1,[]],["🧚🏽","fairy: medium skin tone",1,[]],["🧚🏾","fairy: medium-dark skin tone",1,[]],["🧚🏿","fairy: dark skin tone",1,[]],["🧚♂️","man fairy",1,["fairy","fairytale","fantasy","man","myth","Oberon","person","pixie","Puck","tale","wings"]],["🧚🏻♂️","man fairy: light skin tone",1,[]],["🧚🏼♂️","man fairy: medium-light skin tone",1,[]],["🧚🏽♂️","man fairy: medium skin tone",1,[]],["🧚🏾♂️","man fairy: medium-dark skin tone",1,[]],["🧚🏿♂️","man fairy: dark skin tone",1,[]],["🧚♀️","woman fairy",1,["fairy","fairytale","fantasy","myth","person","pixie","tale","Titania","wings","woman"]],["🧚🏻♀️","woman fairy: light skin tone",1,[]],["🧚🏼♀️","woman fairy: medium-light skin tone",1,[]],["🧚🏽♀️","woman fairy: medium skin tone",1,[]],["🧚🏾♀️","woman fairy: medium-dark skin tone",1,[]],["🧚🏿♀️","woman fairy: dark skin tone",1,[]],["🧛","vampire",1,["blood","Dracula","fangs","halloween","scary","supernatural","teeth","undead","vampire"]],["🧛🏻","vampire: light skin tone",1,[]],["🧛🏼","vampire: medium-light skin tone",1,[]],["🧛🏽","vampire: medium skin tone",1,[]],["🧛🏾","vampire: medium-dark skin tone",1,[]],["🧛🏿","vampire: dark skin tone",1,[]],["🧛♂️","man vampire",1,["blood","fangs","halloween","man","scary","supernatural","teeth","undead","vampire"]],["🧛🏻♂️","man vampire: light skin tone",1,[]],["🧛🏼♂️","man vampire: medium-light skin tone",1,[]],["🧛🏽♂️","man vampire: medium skin tone",1,[]],["🧛🏾♂️","man vampire: medium-dark skin tone",1,[]],["🧛🏿♂️","man vampire: dark skin tone",1,[]],["🧛♀️","woman vampire",1,["blood","fangs","halloween","scary","supernatural","teeth","undead","vampire","woman"]],["🧛🏻♀️","woman vampire: light skin tone",1,[]],["🧛🏼♀️","woman vampire: medium-light skin tone",1,[]],["🧛🏽♀️","woman vampire: medium skin tone",1,[]],["🧛🏾♀️","woman vampire: medium-dark skin tone",1,[]],["🧛🏿♀️","woman vampire: dark skin tone",1,[]],["🧜","merperson",1,["creature","fairytale","folklore","merperson","ocean","sea","siren","trident"]],["🧜🏻","merperson: light skin tone",1,[]],["🧜🏼","merperson: medium-light skin tone",1,[]],["🧜🏽","merperson: medium skin tone",1,[]],["🧜🏾","merperson: medium-dark skin tone",1,[]],["🧜🏿","merperson: dark skin tone",1,[]],["🧜♂️","merman",1,["creature","fairytale","folklore","merman","Neptune","ocean","Poseidon","sea","siren","trident","Triton"]],["🧜🏻♂️","merman: light skin tone",1,[]],["🧜🏼♂️","merman: medium-light skin tone",1,[]],["🧜🏽♂️","merman: medium skin tone",1,[]],["🧜🏾♂️","merman: medium-dark skin tone",1,[]],["🧜🏿♂️","merman: dark skin tone",1,[]],["🧜♀️","mermaid",1,["creature","fairytale","folklore","mermaid","merwoman","ocean","sea","siren","trident"]],["🧜🏻♀️","mermaid: light skin tone",1,[]],["🧜🏼♀️","mermaid: medium-light skin tone",1,[]],["🧜🏽♀️","mermaid: medium skin tone",1,[]],["🧜🏾♀️","mermaid: medium-dark skin tone",1,[]],["🧜🏿♀️","mermaid: dark skin tone",1,[]],["🧝","elf",1,["elf","elves","enchantment","fantasy","folklore","magic","magical","myth"]],["🧝🏻","elf: light skin tone",1,[]],["🧝🏼","elf: medium-light skin tone",1,[]],["🧝🏽","elf: medium skin tone",1,[]],["🧝🏾","elf: medium-dark skin tone",1,[]],["🧝🏿","elf: dark skin tone",1,[]],["🧝♂️","man elf",1,["elf","elves","enchantment","fantasy","folklore","magic","magical","man","myth"]],["🧝🏻♂️","man elf: light skin tone",1,[]],["🧝🏼♂️","man elf: medium-light skin tone",1,[]],["🧝🏽♂️","man elf: medium skin tone",1,[]],["🧝🏾♂️","man elf: medium-dark skin tone",1,[]],["🧝🏿♂️","man elf: dark skin tone",1,[]],["🧝♀️","woman elf",1,["elf","elves","enchantment","fantasy","folklore","magic","magical","myth","woman"]],["🧝🏻♀️","woman elf: light skin tone",1,[]],["🧝🏼♀️","woman elf: medium-light skin tone",1,[]],["🧝🏽♀️","woman elf: medium skin tone",1,[]],["🧝🏾♀️","woman elf: medium-dark skin tone",1,[]],["🧝🏿♀️","woman elf: dark skin tone",1,[]],["🧞","genie",1,["djinn","fantasy","genie","jinn","lamp","myth","rub","wishes"]],["🧞♂️","man genie",1,["djinn","fantasy","genie","jinn","lamp","man","myth","rub","wishes"]],["🧞♀️","woman genie",1,["djinn","fantasy","genie","jinn","lamp","myth","rub","wishes","woman"]],["🧟","zombie",1,["apocalypse","dead","halloween","horror","scary","undead","walking","zombie"]],["🧟♂️","man zombie",1,["apocalypse","dead","halloween","horror","man","scary","undead","walking","zombie"]],["🧟♀️","woman zombie",1,["apocalypse","dead","halloween","horror","scary","undead","walking","woman","zombie"]],["🧌","troll",1,["fairy","fantasy","monster","tale","troll","trolling"]],["","hairy creature",1,["bigfoot","cryptid","forest","giant","hairy","sasquatch","woodwose","yeti"]],["💆","person getting massage",1,["face","getting","headache","massage","person","relax","relaxing","salon","soothe","spa","tension","therapy","treatment"]],["💆🏻","person getting massage: light skin tone",1,[]],["💆🏼","person getting massage: medium-light skin tone",1,[]],["💆🏽","person getting massage: medium skin tone",1,[]],["💆🏾","person getting massage: medium-dark skin tone",1,[]],["💆🏿","person getting massage: dark skin tone",1,[]],["💆♂️","man getting massage",1,["face","getting","headache","man","massage","relax","relaxing","salon","soothe","spa","tension","therapy","treatment"]],["💆🏻♂️","man getting massage: light skin tone",1,[]],["💆🏼♂️","man getting massage: medium-light skin tone",1,[]],["💆🏽♂️","man getting massage: medium skin tone",1,[]],["💆🏾♂️","man getting massage: medium-dark skin tone",1,[]],["💆🏿♂️","man getting massage: dark skin tone",1,[]],["💆♀️","woman getting massage",1,["face","getting","headache","massage","relax","relaxing","salon","soothe","spa","tension","therapy","treatment","woman"]],["💆🏻♀️","woman getting massage: light skin tone",1,[]],["💆🏼♀️","woman getting massage: medium-light skin tone",1,[]],["💆🏽♀️","woman getting massage: medium skin tone",1,[]],["💆🏾♀️","woman getting massage: medium-dark skin tone",1,[]],["💆🏿♀️","woman getting massage: dark skin tone",1,[]],["💇","person getting haircut",1,["barber","beauty","chop","cosmetology","cut","groom","hair","haircut","parlor","person","shears","style"]],["💇🏻","person getting haircut: light skin tone",1,[]],["💇🏼","person getting haircut: medium-light skin tone",1,[]],["💇🏽","person getting haircut: medium skin tone",1,[]],["💇🏾","person getting haircut: medium-dark skin tone",1,[]],["💇🏿","person getting haircut: dark skin tone",1,[]],["💇♂️","man getting haircut",1,["barber","beauty","chop","cosmetology","cut","groom","hair","haircut","man","parlor","person","shears","style"]],["💇🏻♂️","man getting haircut: light skin tone",1,[]],["💇🏼♂️","man getting haircut: medium-light skin tone",1,[]],["💇🏽♂️","man getting haircut: medium skin tone",1,[]],["💇🏾♂️","man getting haircut: medium-dark skin tone",1,[]],["💇🏿♂️","man getting haircut: dark skin tone",1,[]],["💇♀️","woman getting haircut",1,["barber","beauty","chop","cosmetology","cut","groom","hair","haircut","parlor","person","shears","style","woman"]],["💇🏻♀️","woman getting haircut: light skin tone",1,[]],["💇🏼♀️","woman getting haircut: medium-light skin tone",1,[]],["💇🏽♀️","woman getting haircut: medium skin tone",1,[]],["💇🏾♀️","woman getting haircut: medium-dark skin tone",1,[]],["💇🏿♀️","woman getting haircut: dark skin tone",1,[]],["🚶","person walking",1,["amble","gait","hike","man","pace","pedestrian","person","stride","stroll","walk","walking"]],["🚶🏻","person walking: light skin tone",1,[]],["🚶🏼","person walking: medium-light skin tone",1,[]],["🚶🏽","person walking: medium skin tone",1,[]],["🚶🏾","person walking: medium-dark skin tone",1,[]],["🚶🏿","person walking: dark skin tone",1,[]],["🚶♂️","man walking",1,["amble","gait","hike","man","pace","pedestrian","stride","stroll","walk","walking"]],["🚶🏻♂️","man walking: light skin tone",1,[]],["🚶🏼♂️","man walking: medium-light skin tone",1,[]],["🚶🏽♂️","man walking: medium skin tone",1,[]],["🚶🏾♂️","man walking: medium-dark skin tone",1,[]],["🚶🏿♂️","man walking: dark skin tone",1,[]],["🚶♀️","woman walking",1,["amble","gait","hike","man","pace","pedestrian","stride","stroll","walk","walking","woman"]],["🚶🏻♀️","woman walking: light skin tone",1,[]],["🚶🏼♀️","woman walking: medium-light skin tone",1,[]],["🚶🏽♀️","woman walking: medium skin tone",1,[]],["🚶🏾♀️","woman walking: medium-dark skin tone",1,[]],["🚶🏿♀️","woman walking: dark skin tone",1,[]],["🚶➡️","person walking facing right",1,[]],["🚶🏻➡️","person walking facing right: light skin tone",1,[]],["🚶🏼➡️","person walking facing right: medium-light skin tone",1,[]],["🚶🏽➡️","person walking facing right: medium skin tone",1,[]],["🚶🏾➡️","person walking facing right: medium-dark skin tone",1,[]],["🚶🏿➡️","person walking facing right: dark skin tone",1,[]],["🚶♀️➡️","woman walking facing right",1,[]],["🚶🏻♀️➡️","woman walking facing right: light skin tone",1,[]],["🚶🏼♀️➡️","woman walking facing right: medium-light skin tone",1,[]],["🚶🏽♀️➡️","woman walking facing right: medium skin tone",1,[]],["🚶🏾♀️➡️","woman walking facing right: medium-dark skin tone",1,[]],["🚶🏿♀️➡️","woman walking facing right: dark skin tone",1,[]],["🚶♂️➡️","man walking facing right",1,[]],["🚶🏻♂️➡️","man walking facing right: light skin tone",1,[]],["🚶🏼♂️➡️","man walking facing right: medium-light skin tone",1,[]],["🚶🏽♂️➡️","man walking facing right: medium skin tone",1,[]],["🚶🏾♂️➡️","man walking facing right: medium-dark skin tone",1,[]],["🚶🏿♂️➡️","man walking facing right: dark skin tone",1,[]],["🧍","person standing",1,["person","stand","standing"]],["🧍🏻","person standing: light skin tone",1,[]],["🧍🏼","person standing: medium-light skin tone",1,[]],["🧍🏽","person standing: medium skin tone",1,[]],["🧍🏾","person standing: medium-dark skin tone",1,[]],["🧍🏿","person standing: dark skin tone",1,[]],["🧍♂️","man standing",1,["man","stand","standing"]],["🧍🏻♂️","man standing: light skin tone",1,[]],["🧍🏼♂️","man standing: medium-light skin tone",1,[]],["🧍🏽♂️","man standing: medium skin tone",1,[]],["🧍🏾♂️","man standing: medium-dark skin tone",1,[]],["🧍🏿♂️","man standing: dark skin tone",1,[]],["🧍♀️","woman standing",1,["stand","standing","woman"]],["🧍🏻♀️","woman standing: light skin tone",1,[]],["🧍🏼♀️","woman standing: medium-light skin tone",1,[]],["🧍🏽♀️","woman standing: medium skin tone",1,[]],["🧍🏾♀️","woman standing: medium-dark skin tone",1,[]],["🧍🏿♀️","woman standing: dark skin tone",1,[]],["🧎","person kneeling",1,["kneel","kneeling","knees","person"]],["🧎🏻","person kneeling: light skin tone",1,[]],["🧎🏼","person kneeling: medium-light skin tone",1,[]],["🧎🏽","person kneeling: medium skin tone",1,[]],["🧎🏾","person kneeling: medium-dark skin tone",1,[]],["🧎🏿","person kneeling: dark skin tone",1,[]],["🧎♂️","man kneeling",1,["kneel","kneeling","knees","man"]],["🧎🏻♂️","man kneeling: light skin tone",1,[]],["🧎🏼♂️","man kneeling: medium-light skin tone",1,[]],["🧎🏽♂️","man kneeling: medium skin tone",1,[]],["🧎🏾♂️","man kneeling: medium-dark skin tone",1,[]],["🧎🏿♂️","man kneeling: dark skin tone",1,[]],["🧎♀️","woman kneeling",1,["kneel","kneeling","knees","woman"]],["🧎🏻♀️","woman kneeling: light skin tone",1,[]],["🧎🏼♀️","woman kneeling: medium-light skin tone",1,[]],["🧎🏽♀️","woman kneeling: medium skin tone",1,[]],["🧎🏾♀️","woman kneeling: medium-dark skin tone",1,[]],["🧎🏿♀️","woman kneeling: dark skin tone",1,[]],["🧎➡️","person kneeling facing right",1,[]],["🧎🏻➡️","person kneeling facing right: light skin tone",1,[]],["🧎🏼➡️","person kneeling facing right: medium-light skin tone",1,[]],["🧎🏽➡️","person kneeling facing right: medium skin tone",1,[]],["🧎🏾➡️","person kneeling facing right: medium-dark skin tone",1,[]],["🧎🏿➡️","person kneeling facing right: dark skin tone",1,[]],["🧎♀️➡️","woman kneeling facing right",1,[]],["🧎🏻♀️➡️","woman kneeling facing right: light skin tone",1,[]],["🧎🏼♀️➡️","woman kneeling facing right: medium-light skin tone",1,[]],["🧎🏽♀️➡️","woman kneeling facing right: medium skin tone",1,[]],["🧎🏾♀️➡️","woman kneeling facing right: medium-dark skin tone",1,[]],["🧎🏿♀️➡️","woman kneeling facing right: dark skin tone",1,[]],["🧎♂️➡️","man kneeling facing right",1,[]],["🧎🏻♂️➡️","man kneeling facing right: light skin tone",1,[]],["🧎🏼♂️➡️","man kneeling facing right: medium-light skin tone",1,[]],["🧎🏽♂️➡️","man kneeling facing right: medium skin tone",1,[]],["🧎🏾♂️➡️","man kneeling facing right: medium-dark skin tone",1,[]],["🧎🏿♂️➡️","man kneeling facing right: dark skin tone",1,[]],["🧑🦯","person with white cane",1,["accessibility","blind","cane","person","probing","white"]],["🧑🏻🦯","person with white cane: light skin tone",1,[]],["🧑🏼🦯","person with white cane: medium-light skin tone",1,[]],["🧑🏽🦯","person with white cane: medium skin tone",1,[]],["🧑🏾🦯","person with white cane: medium-dark skin tone",1,[]],["🧑🏿🦯","person with white cane: dark skin tone",1,[]],["🧑🦯➡️","person with white cane facing right",1,[]],["🧑🏻🦯➡️","person with white cane facing right: light skin tone",1,[]],["🧑🏼🦯➡️","person with white cane facing right: medium-light skin tone",1,[]],["🧑🏽🦯➡️","person with white cane facing right: medium skin tone",1,[]],["🧑🏾🦯➡️","person with white cane facing right: medium-dark skin tone",1,[]],["🧑🏿🦯➡️","person with white cane facing right: dark skin tone",1,[]],["👨🦯","man with white cane",1,["accessibility","blind","cane","man","probing","white"]],["👨🏻🦯","man with white cane: light skin tone",1,[]],["👨🏼🦯","man with white cane: medium-light skin tone",1,[]],["👨🏽🦯","man with white cane: medium skin tone",1,[]],["👨🏾🦯","man with white cane: medium-dark skin tone",1,[]],["👨🏿🦯","man with white cane: dark skin tone",1,[]],["👨🦯➡️","man with white cane facing right",1,[]],["👨🏻🦯➡️","man with white cane facing right: light skin tone",1,[]],["👨🏼🦯➡️","man with white cane facing right: medium-light skin tone",1,[]],["👨🏽🦯➡️","man with white cane facing right: medium skin tone",1,[]],["👨🏾🦯➡️","man with white cane facing right: medium-dark skin tone",1,[]],["👨🏿🦯➡️","man with white cane facing right: dark skin tone",1,[]],["👩🦯","woman with white cane",1,["accessibility","blind","cane","probing","white","woman"]],["👩🏻🦯","woman with white cane: light skin tone",1,[]],["👩🏼🦯","woman with white cane: medium-light skin tone",1,[]],["👩🏽🦯","woman with white cane: medium skin tone",1,[]],["👩🏾🦯","woman with white cane: medium-dark skin tone",1,[]],["👩🏿🦯","woman with white cane: dark skin tone",1,[]],["👩🦯➡️","woman with white cane facing right",1,[]],["👩🏻🦯➡️","woman with white cane facing right: light skin tone",1,[]],["👩🏼🦯➡️","woman with white cane facing right: medium-light skin tone",1,[]],["👩🏽🦯➡️","woman with white cane facing right: medium skin tone",1,[]],["👩🏾🦯➡️","woman with white cane facing right: medium-dark skin tone",1,[]],["👩🏿🦯➡️","woman with white cane facing right: dark skin tone",1,[]],["🧑🦼","person in motorized wheelchair",1,["accessibility","motorized","person","wheelchair"]],["🧑🏻🦼","person in motorized wheelchair: light skin tone",1,[]],["🧑🏼🦼","person in motorized wheelchair: medium-light skin tone",1,[]],["🧑🏽🦼","person in motorized wheelchair: medium skin tone",1,[]],["🧑🏾🦼","person in motorized wheelchair: medium-dark skin tone",1,[]],["🧑🏿🦼","person in motorized wheelchair: dark skin tone",1,[]],["🧑🦼➡️","person in motorized wheelchair facing right",1,[]],["🧑🏻🦼➡️","person in motorized wheelchair facing right: light skin tone",1,[]],["🧑🏼🦼➡️","person in motorized wheelchair facing right: medium-light skin tone",1,[]],["🧑🏽🦼➡️","person in motorized wheelchair facing right: medium skin tone",1,[]],["🧑🏾🦼➡️","person in motorized wheelchair facing right: medium-dark skin tone",1,[]],["🧑🏿🦼➡️","person in motorized wheelchair facing right: dark skin tone",1,[]],["👨🦼","man in motorized wheelchair",1,["accessibility","man","motorized","wheelchair"]],["👨🏻🦼","man in motorized wheelchair: light skin tone",1,[]],["👨🏼🦼","man in motorized wheelchair: medium-light skin tone",1,[]],["👨🏽🦼","man in motorized wheelchair: medium skin tone",1,[]],["👨🏾🦼","man in motorized wheelchair: medium-dark skin tone",1,[]],["👨🏿🦼","man in motorized wheelchair: dark skin tone",1,[]],["👨🦼➡️","man in motorized wheelchair facing right",1,[]],["👨🏻🦼➡️","man in motorized wheelchair facing right: light skin tone",1,[]],["👨🏼🦼➡️","man in motorized wheelchair facing right: medium-light skin tone",1,[]],["👨🏽🦼➡️","man in motorized wheelchair facing right: medium skin tone",1,[]],["👨🏾🦼➡️","man in motorized wheelchair facing right: medium-dark skin tone",1,[]],["👨🏿🦼➡️","man in motorized wheelchair facing right: dark skin tone",1,[]],["👩🦼","woman in motorized wheelchair",1,["accessibility","motorized","wheelchair","woman"]],["👩🏻🦼","woman in motorized wheelchair: light skin tone",1,[]],["👩🏼🦼","woman in motorized wheelchair: medium-light skin tone",1,[]],["👩🏽🦼","woman in motorized wheelchair: medium skin tone",1,[]],["👩🏾🦼","woman in motorized wheelchair: medium-dark skin tone",1,[]],["👩🏿🦼","woman in motorized wheelchair: dark skin tone",1,[]],["👩🦼➡️","woman in motorized wheelchair facing right",1,[]],["👩🏻🦼➡️","woman in motorized wheelchair facing right: light skin tone",1,[]],["👩🏼🦼➡️","woman in motorized wheelchair facing right: medium-light skin tone",1,[]],["👩🏽🦼➡️","woman in motorized wheelchair facing right: medium skin tone",1,[]],["👩🏾🦼➡️","woman in motorized wheelchair facing right: medium-dark skin tone",1,[]],["👩🏿🦼➡️","woman in motorized wheelchair facing right: dark skin tone",1,[]],["🧑🦽","person in manual wheelchair",1,["accessibility","manual","person","wheelchair"]],["🧑🏻🦽","person in manual wheelchair: light skin tone",1,[]],["🧑🏼🦽","person in manual wheelchair: medium-light skin tone",1,[]],["🧑🏽🦽","person in manual wheelchair: medium skin tone",1,[]],["🧑🏾🦽","person in manual wheelchair: medium-dark skin tone",1,[]],["🧑🏿🦽","person in manual wheelchair: dark skin tone",1,[]],["🧑🦽➡️","person in manual wheelchair facing right",1,[]],["🧑🏻🦽➡️","person in manual wheelchair facing right: light skin tone",1,[]],["🧑🏼🦽➡️","person in manual wheelchair facing right: medium-light skin tone",1,[]],["🧑🏽🦽➡️","person in manual wheelchair facing right: medium skin tone",1,[]],["🧑🏾🦽➡️","person in manual wheelchair facing right: medium-dark skin tone",1,[]],["🧑🏿🦽➡️","person in manual wheelchair facing right: dark skin tone",1,[]],["👨🦽","man in manual wheelchair",1,["accessibility","man","manual","wheelchair"]],["👨🏻🦽","man in manual wheelchair: light skin tone",1,[]],["👨🏼🦽","man in manual wheelchair: medium-light skin tone",1,[]],["👨🏽🦽","man in manual wheelchair: medium skin tone",1,[]],["👨🏾🦽","man in manual wheelchair: medium-dark skin tone",1,[]],["👨🏿🦽","man in manual wheelchair: dark skin tone",1,[]],["👨🦽➡️","man in manual wheelchair facing right",1,[]],["👨🏻🦽➡️","man in manual wheelchair facing right: light skin tone",1,[]],["👨🏼🦽➡️","man in manual wheelchair facing right: medium-light skin tone",1,[]],["👨🏽🦽➡️","man in manual wheelchair facing right: medium skin tone",1,[]],["👨🏾🦽➡️","man in manual wheelchair facing right: medium-dark skin tone",1,[]],["👨🏿🦽➡️","man in manual wheelchair facing right: dark skin tone",1,[]],["👩🦽","woman in manual wheelchair",1,["accessibility","manual","wheelchair","woman"]],["👩🏻🦽","woman in manual wheelchair: light skin tone",1,[]],["👩🏼🦽","woman in manual wheelchair: medium-light skin tone",1,[]],["👩🏽🦽","woman in manual wheelchair: medium skin tone",1,[]],["👩🏾🦽","woman in manual wheelchair: medium-dark skin tone",1,[]],["👩🏿🦽","woman in manual wheelchair: dark skin tone",1,[]],["👩🦽➡️","woman in manual wheelchair facing right",1,[]],["👩🏻🦽➡️","woman in manual wheelchair facing right: light skin tone",1,[]],["👩🏼🦽➡️","woman in manual wheelchair facing right: medium-light skin tone",1,[]],["👩🏽🦽➡️","woman in manual wheelchair facing right: medium skin tone",1,[]],["👩🏾🦽➡️","woman in manual wheelchair facing right: medium-dark skin tone",1,[]],["👩🏿🦽➡️","woman in manual wheelchair facing right: dark skin tone",1,[]],["🏃","person running",1,["fast","hurry","marathon","move","person","quick","race","racing","run","rush","speed"]],["🏃🏻","person running: light skin tone",1,[]],["🏃🏼","person running: medium-light skin tone",1,[]],["🏃🏽","person running: medium skin tone",1,[]],["🏃🏾","person running: medium-dark skin tone",1,[]],["🏃🏿","person running: dark skin tone",1,[]],["🏃♂️","man running",1,["fast","hurry","man","marathon","move","quick","race","racing","run","rush","speed"]],["🏃🏻♂️","man running: light skin tone",1,[]],["🏃🏼♂️","man running: medium-light skin tone",1,[]],["🏃🏽♂️","man running: medium skin tone",1,[]],["🏃🏾♂️","man running: medium-dark skin tone",1,[]],["🏃🏿♂️","man running: dark skin tone",1,[]],["🏃♀️","woman running",1,["fast","hurry","marathon","move","quick","race","racing","run","rush","speed","woman"]],["🏃🏻♀️","woman running: light skin tone",1,[]],["🏃🏼♀️","woman running: medium-light skin tone",1,[]],["🏃🏽♀️","woman running: medium skin tone",1,[]],["🏃🏾♀️","woman running: medium-dark skin tone",1,[]],["🏃🏿♀️","woman running: dark skin tone",1,[]],["🏃➡️","person running facing right",1,[]],["🏃🏻➡️","person running facing right: light skin tone",1,[]],["🏃🏼➡️","person running facing right: medium-light skin tone",1,[]],["🏃🏽➡️","person running facing right: medium skin tone",1,[]],["🏃🏾➡️","person running facing right: medium-dark skin tone",1,[]],["🏃🏿➡️","person running facing right: dark skin tone",1,[]],["🏃♀️➡️","woman running facing right",1,[]],["🏃🏻♀️➡️","woman running facing right: light skin tone",1,[]],["🏃🏼♀️➡️","woman running facing right: medium-light skin tone",1,[]],["🏃🏽♀️➡️","woman running facing right: medium skin tone",1,[]],["🏃🏾♀️➡️","woman running facing right: medium-dark skin tone",1,[]],["🏃🏿♀️➡️","woman running facing right: dark skin tone",1,[]],["🏃♂️➡️","man running facing right",1,[]],["🏃🏻♂️➡️","man running facing right: light skin tone",1,[]],["🏃🏼♂️➡️","man running facing right: medium-light skin tone",1,[]],["🏃🏽♂️➡️","man running facing right: medium skin tone",1,[]],["🏃🏾♂️➡️","man running facing right: medium-dark skin tone",1,[]],["🏃🏿♂️➡️","man running facing right: dark skin tone",1,[]],["🧑🩰","ballet dancer",1,["ballet","dancer"]],["🧑🏻🩰","ballet dancer: light skin tone",1,[]],["🧑🏼🩰","ballet dancer: medium-light skin tone",1,[]],["🧑🏽🩰","ballet dancer: medium skin tone",1,[]],["🧑🏾🩰","ballet dancer: medium-dark skin tone",1,[]],["🧑🏿🩰","ballet dancer: dark skin tone",1,[]],["💃","woman dancing",1,["dance","dancer","dancing","elegant","festive","flair","flamenco","groove","let’s","salsa","tango","woman"]],["💃🏻","woman dancing: light skin tone",1,[]],["💃🏼","woman dancing: medium-light skin tone",1,[]],["💃🏽","woman dancing: medium skin tone",1,[]],["💃🏾","woman dancing: medium-dark skin tone",1,[]],["💃🏿","woman dancing: dark skin tone",1,[]],["🕺","man dancing",1,["dance","dancer","dancing","elegant","festive","flair","flamenco","groove","let’s","man","salsa","tango"]],["🕺🏻","man dancing: light skin tone",1,[]],["🕺🏼","man dancing: medium-light skin tone",1,[]],["🕺🏽","man dancing: medium skin tone",1,[]],["🕺🏾","man dancing: medium-dark skin tone",1,[]],["🕺🏿","man dancing: dark skin tone",1,[]],["🕴️","person in suit levitating",1,["business","levitating","person","suit"]],["🕴🏻","person in suit levitating: light skin tone",1,[]],["🕴🏼","person in suit levitating: medium-light skin tone",1,[]],["🕴🏽","person in suit levitating: medium skin tone",1,[]],["🕴🏾","person in suit levitating: medium-dark skin tone",1,[]],["🕴🏿","person in suit levitating: dark skin tone",1,[]],["👯","people with bunny ears",1,["bestie","bff","bunny","counterpart","dancer","double","ear","identical","pair","party","partying","people","soulmate","twin","twinsies"]],["👯🏻","people with bunny ears: light skin tone",1,[]],["👯🏼","people with bunny ears: medium-light skin tone",1,[]],["👯🏽","people with bunny ears: medium skin tone",1,[]],["👯🏾","people with bunny ears: medium-dark skin tone",1,[]],["👯🏿","people with bunny ears: dark skin tone",1,[]],["👯♂️","men with bunny ears",1,["bestie","bff","bunny","counterpart","dancer","double","ear","identical","men","pair","party","partying","people","soulmate","twin","twinsies"]],["👯🏻♂️","men with bunny ears: light skin tone",1,[]],["👯🏼♂️","men with bunny ears: medium-light skin tone",1,[]],["👯🏽♂️","men with bunny ears: medium skin tone",1,[]],["👯🏾♂️","men with bunny ears: medium-dark skin tone",1,[]],["👯🏿♂️","men with bunny ears: dark skin tone",1,[]],["👯♀️","women with bunny ears",1,["bestie","bff","bunny","counterpart","dancer","double","ear","identical","pair","party","partying","people","soulmate","twin","twinsies","women"]],["👯🏻♀️","women with bunny ears: light skin tone",1,[]],["👯🏼♀️","women with bunny ears: medium-light skin tone",1,[]],["👯🏽♀️","women with bunny ears: medium skin tone",1,[]],["👯🏾♀️","women with bunny ears: medium-dark skin tone",1,[]],["👯🏿♀️","women with bunny ears: dark skin tone",1,[]],["🧑🏻🐰🧑🏼","people with bunny ears: light skin tone, medium-light skin tone",1,[]],["🧑🏻🐰🧑🏽","people with bunny ears: light skin tone, medium skin tone",1,[]],["🧑🏻🐰🧑🏾","people with bunny ears: light skin tone, medium-dark skin tone",1,[]],["🧑🏻🐰🧑🏿","people with bunny ears: light skin tone, dark skin tone",1,[]],["🧑🏼🐰🧑🏻","people with bunny ears: medium-light skin tone, light skin tone",1,[]],["🧑🏼🐰🧑🏽","people with bunny ears: medium-light skin tone, medium skin tone",1,[]],["🧑🏼🐰🧑🏾","people with bunny ears: medium-light skin tone, medium-dark skin tone",1,[]],["🧑🏼🐰🧑🏿","people with bunny ears: medium-light skin tone, dark skin tone",1,[]],["🧑🏽🐰🧑🏻","people with bunny ears: medium skin tone, light skin tone",1,[]],["🧑🏽🐰🧑🏼","people with bunny ears: medium skin tone, medium-light skin tone",1,[]],["🧑🏽🐰🧑🏾","people with bunny ears: medium skin tone, medium-dark skin tone",1,[]],["🧑🏽🐰🧑🏿","people with bunny ears: medium skin tone, dark skin tone",1,[]],["🧑🏾🐰🧑🏻","people with bunny ears: medium-dark skin tone, light skin tone",1,[]],["🧑🏾🐰🧑🏼","people with bunny ears: medium-dark skin tone, medium-light skin tone",1,[]],["🧑🏾🐰🧑🏽","people with bunny ears: medium-dark skin tone, medium skin tone",1,[]],["🧑🏾🐰🧑🏿","people with bunny ears: medium-dark skin tone, dark skin tone",1,[]],["🧑🏿🐰🧑🏻","people with bunny ears: dark skin tone, light skin tone",1,[]],["🧑🏿🐰🧑🏼","people with bunny ears: dark skin tone, medium-light skin tone",1,[]],["🧑🏿🐰🧑🏽","people with bunny ears: dark skin tone, medium skin tone",1,[]],["🧑🏿🐰🧑🏾","people with bunny ears: dark skin tone, medium-dark skin tone",1,[]],["👨🏻🐰👨🏼","men with bunny ears: light skin tone, medium-light skin tone",1,[]],["👨🏻🐰👨🏽","men with bunny ears: light skin tone, medium skin tone",1,[]],["👨🏻🐰👨🏾","men with bunny ears: light skin tone, medium-dark skin tone",1,[]],["👨🏻🐰👨🏿","men with bunny ears: light skin tone, dark skin tone",1,[]],["👨🏼🐰👨🏻","men with bunny ears: medium-light skin tone, light skin tone",1,[]],["👨🏼🐰👨🏽","men with bunny ears: medium-light skin tone, medium skin tone",1,[]],["👨🏼🐰👨🏾","men with bunny ears: medium-light skin tone, medium-dark skin tone",1,[]],["👨🏼🐰👨🏿","men with bunny ears: medium-light skin tone, dark skin tone",1,[]],["👨🏽🐰👨🏻","men with bunny ears: medium skin tone, light skin tone",1,[]],["👨🏽🐰👨🏼","men with bunny ears: medium skin tone, medium-light skin tone",1,[]],["👨🏽🐰👨🏾","men with bunny ears: medium skin tone, medium-dark skin tone",1,[]],["👨🏽🐰👨🏿","men with bunny ears: medium skin tone, dark skin tone",1,[]],["👨🏾🐰👨🏻","men with bunny ears: medium-dark skin tone, light skin tone",1,[]],["👨🏾🐰👨🏼","men with bunny ears: medium-dark skin tone, medium-light skin tone",1,[]],["👨🏾🐰👨🏽","men with bunny ears: medium-dark skin tone, medium skin tone",1,[]],["👨🏾🐰👨🏿","men with bunny ears: medium-dark skin tone, dark skin tone",1,[]],["👨🏿🐰👨🏻","men with bunny ears: dark skin tone, light skin tone",1,[]],["👨🏿🐰👨🏼","men with bunny ears: dark skin tone, medium-light skin tone",1,[]],["👨🏿🐰👨🏽","men with bunny ears: dark skin tone, medium skin tone",1,[]],["👨🏿🐰👨🏾","men with bunny ears: dark skin tone, medium-dark skin tone",1,[]],["👩🏻🐰👩🏼","women with bunny ears: light skin tone, medium-light skin tone",1,[]],["👩🏻🐰👩🏽","women with bunny ears: light skin tone, medium skin tone",1,[]],["👩🏻🐰👩🏾","women with bunny ears: light skin tone, medium-dark skin tone",1,[]],["👩🏻🐰👩🏿","women with bunny ears: light skin tone, dark skin tone",1,[]],["👩🏼🐰👩🏻","women with bunny ears: medium-light skin tone, light skin tone",1,[]],["👩🏼🐰👩🏽","women with bunny ears: medium-light skin tone, medium skin tone",1,[]],["👩🏼🐰👩🏾","women with bunny ears: medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼🐰👩🏿","women with bunny ears: medium-light skin tone, dark skin tone",1,[]],["👩🏽🐰👩🏻","women with bunny ears: medium skin tone, light skin tone",1,[]],["👩🏽🐰👩🏼","women with bunny ears: medium skin tone, medium-light skin tone",1,[]],["👩🏽🐰👩🏾","women with bunny ears: medium skin tone, medium-dark skin tone",1,[]],["👩🏽🐰👩🏿","women with bunny ears: medium skin tone, dark skin tone",1,[]],["👩🏾🐰👩🏻","women with bunny ears: medium-dark skin tone, light skin tone",1,[]],["👩🏾🐰👩🏼","women with bunny ears: medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾🐰👩🏽","women with bunny ears: medium-dark skin tone, medium skin tone",1,[]],["👩🏾🐰👩🏿","women with bunny ears: medium-dark skin tone, dark skin tone",1,[]],["👩🏿🐰👩🏻","women with bunny ears: dark skin tone, light skin tone",1,[]],["👩🏿🐰👩🏼","women with bunny ears: dark skin tone, medium-light skin tone",1,[]],["👩🏿🐰👩🏽","women with bunny ears: dark skin tone, medium skin tone",1,[]],["👩🏿🐰👩🏾","women with bunny ears: dark skin tone, medium-dark skin tone",1,[]],["🧖","person in steamy room",1,["day","luxurious","pamper","person","relax","room","sauna","spa","steam","steambath","unwind"]],["🧖🏻","person in steamy room: light skin tone",1,[]],["🧖🏼","person in steamy room: medium-light skin tone",1,[]],["🧖🏽","person in steamy room: medium skin tone",1,[]],["🧖🏾","person in steamy room: medium-dark skin tone",1,[]],["🧖🏿","person in steamy room: dark skin tone",1,[]],["🧖♂️","man in steamy room",1,["day","luxurious","man","pamper","relax","room","sauna","spa","steam","steambath","unwind"]],["🧖🏻♂️","man in steamy room: light skin tone",1,[]],["🧖🏼♂️","man in steamy room: medium-light skin tone",1,[]],["🧖🏽♂️","man in steamy room: medium skin tone",1,[]],["🧖🏾♂️","man in steamy room: medium-dark skin tone",1,[]],["🧖🏿♂️","man in steamy room: dark skin tone",1,[]],["🧖♀️","woman in steamy room",1,["day","luxurious","pamper","relax","room","sauna","spa","steam","steambath","unwind","woman"]],["🧖🏻♀️","woman in steamy room: light skin tone",1,[]],["🧖🏼♀️","woman in steamy room: medium-light skin tone",1,[]],["🧖🏽♀️","woman in steamy room: medium skin tone",1,[]],["🧖🏾♀️","woman in steamy room: medium-dark skin tone",1,[]],["🧖🏿♀️","woman in steamy room: dark skin tone",1,[]],["🧗","person climbing",1,["climb","climber","climbing","mountain","person","rock","scale","up"]],["🧗🏻","person climbing: light skin tone",1,[]],["🧗🏼","person climbing: medium-light skin tone",1,[]],["🧗🏽","person climbing: medium skin tone",1,[]],["🧗🏾","person climbing: medium-dark skin tone",1,[]],["🧗🏿","person climbing: dark skin tone",1,[]],["🧗♂️","man climbing",1,["climb","climber","climbing","man","mountain","rock","scale","up"]],["🧗🏻♂️","man climbing: light skin tone",1,[]],["🧗🏼♂️","man climbing: medium-light skin tone",1,[]],["🧗🏽♂️","man climbing: medium skin tone",1,[]],["🧗🏾♂️","man climbing: medium-dark skin tone",1,[]],["🧗🏿♂️","man climbing: dark skin tone",1,[]],["🧗♀️","woman climbing",1,["climb","climber","climbing","mountain","rock","scale","up","woman"]],["🧗🏻♀️","woman climbing: light skin tone",1,[]],["🧗🏼♀️","woman climbing: medium-light skin tone",1,[]],["🧗🏽♀️","woman climbing: medium skin tone",1,[]],["🧗🏾♀️","woman climbing: medium-dark skin tone",1,[]],["🧗🏿♀️","woman climbing: dark skin tone",1,[]],["🤺","person fencing",1,["fencer","fencing","person","sword"]],["🏇","horse racing",1,["horse","jockey","racehorse","racing","riding","sport"]],["🏇🏻","horse racing: light skin tone",1,[]],["🏇🏼","horse racing: medium-light skin tone",1,[]],["🏇🏽","horse racing: medium skin tone",1,[]],["🏇🏾","horse racing: medium-dark skin tone",1,[]],["🏇🏿","horse racing: dark skin tone",1,[]],["⛷️","skier",1,["ski","skier","snow"]],["🏂","snowboarder",1,["ski","snow","snowboard","snowboarder","sport"]],["🏂🏻","snowboarder: light skin tone",1,[]],["🏂🏼","snowboarder: medium-light skin tone",1,[]],["🏂🏽","snowboarder: medium skin tone",1,[]],["🏂🏾","snowboarder: medium-dark skin tone",1,[]],["🏂🏿","snowboarder: dark skin tone",1,[]],["🏌️","person golfing",1,["ball","birdie","caddy","driving","golf","golfing","green","person","pga","putt","range","tee"]],["🏌🏻","person golfing: light skin tone",1,[]],["🏌🏼","person golfing: medium-light skin tone",1,[]],["🏌🏽","person golfing: medium skin tone",1,[]],["🏌🏾","person golfing: medium-dark skin tone",1,[]],["🏌🏿","person golfing: dark skin tone",1,[]],["🏌️♂️","man golfing",1,["ball","birdie","caddy","driving","golf","golfing","green","man","pga","putt","range","tee"]],["🏌🏻♂️","man golfing: light skin tone",1,[]],["🏌🏼♂️","man golfing: medium-light skin tone",1,[]],["🏌🏽♂️","man golfing: medium skin tone",1,[]],["🏌🏾♂️","man golfing: medium-dark skin tone",1,[]],["🏌🏿♂️","man golfing: dark skin tone",1,[]],["🏌️♀️","woman golfing",1,["ball","birdie","caddy","driving","golf","golfing","green","pga","putt","range","tee","woman"]],["🏌🏻♀️","woman golfing: light skin tone",1,[]],["🏌🏼♀️","woman golfing: medium-light skin tone",1,[]],["🏌🏽♀️","woman golfing: medium skin tone",1,[]],["🏌🏾♀️","woman golfing: medium-dark skin tone",1,[]],["🏌🏿♀️","woman golfing: dark skin tone",1,[]],["🏄","person surfing",1,["beach","ocean","person","sport","surf","surfer","surfing","swell","waves"]],["🏄🏻","person surfing: light skin tone",1,[]],["🏄🏼","person surfing: medium-light skin tone",1,[]],["🏄🏽","person surfing: medium skin tone",1,[]],["🏄🏾","person surfing: medium-dark skin tone",1,[]],["🏄🏿","person surfing: dark skin tone",1,[]],["🏄♂️","man surfing",1,["beach","man","ocean","sport","surf","surfer","surfing","swell","waves"]],["🏄🏻♂️","man surfing: light skin tone",1,[]],["🏄🏼♂️","man surfing: medium-light skin tone",1,[]],["🏄🏽♂️","man surfing: medium skin tone",1,[]],["🏄🏾♂️","man surfing: medium-dark skin tone",1,[]],["🏄🏿♂️","man surfing: dark skin tone",1,[]],["🏄♀️","woman surfing",1,["beach","ocean","person","sport","surf","surfer","surfing","swell","waves"]],["🏄🏻♀️","woman surfing: light skin tone",1,[]],["🏄🏼♀️","woman surfing: medium-light skin tone",1,[]],["🏄🏽♀️","woman surfing: medium skin tone",1,[]],["🏄🏾♀️","woman surfing: medium-dark skin tone",1,[]],["🏄🏿♀️","woman surfing: dark skin tone",1,[]],["🚣","person rowing boat",1,["boat","canoe","cruise","fishing","lake","oar","paddle","person","raft","river","row","rowboat","rowing"]],["🚣🏻","person rowing boat: light skin tone",1,[]],["🚣🏼","person rowing boat: medium-light skin tone",1,[]],["🚣🏽","person rowing boat: medium skin tone",1,[]],["🚣🏾","person rowing boat: medium-dark skin tone",1,[]],["🚣🏿","person rowing boat: dark skin tone",1,[]],["🚣♂️","man rowing boat",1,["boat","canoe","cruise","fishing","lake","man","oar","paddle","raft","river","row","rowboat","rowing"]],["🚣🏻♂️","man rowing boat: light skin tone",1,[]],["🚣🏼♂️","man rowing boat: medium-light skin tone",1,[]],["🚣🏽♂️","man rowing boat: medium skin tone",1,[]],["🚣🏾♂️","man rowing boat: medium-dark skin tone",1,[]],["🚣🏿♂️","man rowing boat: dark skin tone",1,[]],["🚣♀️","woman rowing boat",1,["boat","canoe","cruise","fishing","lake","oar","paddle","raft","river","row","rowboat","rowing","woman"]],["🚣🏻♀️","woman rowing boat: light skin tone",1,[]],["🚣🏼♀️","woman rowing boat: medium-light skin tone",1,[]],["🚣🏽♀️","woman rowing boat: medium skin tone",1,[]],["🚣🏾♀️","woman rowing boat: medium-dark skin tone",1,[]],["🚣🏿♀️","woman rowing boat: dark skin tone",1,[]],["🏊","person swimming",1,["freestyle","person","sport","swim","swimmer","swimming","triathlon"]],["🏊🏻","person swimming: light skin tone",1,[]],["🏊🏼","person swimming: medium-light skin tone",1,[]],["🏊🏽","person swimming: medium skin tone",1,[]],["🏊🏾","person swimming: medium-dark skin tone",1,[]],["🏊🏿","person swimming: dark skin tone",1,[]],["🏊♂️","man swimming",1,["freestyle","man","sport","swim","swimmer","swimming","triathlon"]],["🏊🏻♂️","man swimming: light skin tone",1,[]],["🏊🏼♂️","man swimming: medium-light skin tone",1,[]],["🏊🏽♂️","man swimming: medium skin tone",1,[]],["🏊🏾♂️","man swimming: medium-dark skin tone",1,[]],["🏊🏿♂️","man swimming: dark skin tone",1,[]],["🏊♀️","woman swimming",1,["freestyle","man","sport","swim","swimmer","swimming","triathlon"]],["🏊🏻♀️","woman swimming: light skin tone",1,[]],["🏊🏼♀️","woman swimming: medium-light skin tone",1,[]],["🏊🏽♀️","woman swimming: medium skin tone",1,[]],["🏊🏾♀️","woman swimming: medium-dark skin tone",1,[]],["🏊🏿♀️","woman swimming: dark skin tone",1,[]],["⛹️","person bouncing ball",1,["athletic","ball","basketball","bouncing","championship","dribble","net","person","player","throw"]],["⛹🏻","person bouncing ball: light skin tone",1,[]],["⛹🏼","person bouncing ball: medium-light skin tone",1,[]],["⛹🏽","person bouncing ball: medium skin tone",1,[]],["⛹🏾","person bouncing ball: medium-dark skin tone",1,[]],["⛹🏿","person bouncing ball: dark skin tone",1,[]],["⛹️♂️","man bouncing ball",1,["athletic","ball","basketball","bouncing","championship","dribble","man","net","player","throw"]],["⛹🏻♂️","man bouncing ball: light skin tone",1,[]],["⛹🏼♂️","man bouncing ball: medium-light skin tone",1,[]],["⛹🏽♂️","man bouncing ball: medium skin tone",1,[]],["⛹🏾♂️","man bouncing ball: medium-dark skin tone",1,[]],["⛹🏿♂️","man bouncing ball: dark skin tone",1,[]],["⛹️♀️","woman bouncing ball",1,["athletic","ball","basketball","bouncing","championship","dribble","net","player","throw","woman"]],["⛹🏻♀️","woman bouncing ball: light skin tone",1,[]],["⛹🏼♀️","woman bouncing ball: medium-light skin tone",1,[]],["⛹🏽♀️","woman bouncing ball: medium skin tone",1,[]],["⛹🏾♀️","woman bouncing ball: medium-dark skin tone",1,[]],["⛹🏿♀️","woman bouncing ball: dark skin tone",1,[]],["🏋️","person lifting weights",1,["barbell","bodybuilder","deadlift","lifter","lifting","person","powerlifting","weight","weightlifter","weights","workout"]],["🏋🏻","person lifting weights: light skin tone",1,[]],["🏋🏼","person lifting weights: medium-light skin tone",1,[]],["🏋🏽","person lifting weights: medium skin tone",1,[]],["🏋🏾","person lifting weights: medium-dark skin tone",1,[]],["🏋🏿","person lifting weights: dark skin tone",1,[]],["🏋️♂️","man lifting weights",1,["barbell","bodybuilder","deadlift","lifter","lifting","man","powerlifting","weight","weightlifter","weights","workout"]],["🏋🏻♂️","man lifting weights: light skin tone",1,[]],["🏋🏼♂️","man lifting weights: medium-light skin tone",1,[]],["🏋🏽♂️","man lifting weights: medium skin tone",1,[]],["🏋🏾♂️","man lifting weights: medium-dark skin tone",1,[]],["🏋🏿♂️","man lifting weights: dark skin tone",1,[]],["🏋️♀️","woman lifting weights",1,["barbell","bodybuilder","deadlift","lifter","lifting","powerlifting","weight","weightlifter","weights","woman","workout"]],["🏋🏻♀️","woman lifting weights: light skin tone",1,[]],["🏋🏼♀️","woman lifting weights: medium-light skin tone",1,[]],["🏋🏽♀️","woman lifting weights: medium skin tone",1,[]],["🏋🏾♀️","woman lifting weights: medium-dark skin tone",1,[]],["🏋🏿♀️","woman lifting weights: dark skin tone",1,[]],["🚴","person biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","person","riding","sport"]],["🚴🏻","person biking: light skin tone",1,[]],["🚴🏼","person biking: medium-light skin tone",1,[]],["🚴🏽","person biking: medium skin tone",1,[]],["🚴🏾","person biking: medium-dark skin tone",1,[]],["🚴🏿","person biking: dark skin tone",1,[]],["🚴♂️","man biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","man","riding","sport"]],["🚴🏻♂️","man biking: light skin tone",1,[]],["🚴🏼♂️","man biking: medium-light skin tone",1,[]],["🚴🏽♂️","man biking: medium skin tone",1,[]],["🚴🏾♂️","man biking: medium-dark skin tone",1,[]],["🚴🏿♂️","man biking: dark skin tone",1,[]],["🚴♀️","woman biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","riding","sport","woman"]],["🚴🏻♀️","woman biking: light skin tone",1,[]],["🚴🏼♀️","woman biking: medium-light skin tone",1,[]],["🚴🏽♀️","woman biking: medium skin tone",1,[]],["🚴🏾♀️","woman biking: medium-dark skin tone",1,[]],["🚴🏿♀️","woman biking: dark skin tone",1,[]],["🚵","person mountain biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","mountain","person","riding","sport"]],["🚵🏻","person mountain biking: light skin tone",1,[]],["🚵🏼","person mountain biking: medium-light skin tone",1,[]],["🚵🏽","person mountain biking: medium skin tone",1,[]],["🚵🏾","person mountain biking: medium-dark skin tone",1,[]],["🚵🏿","person mountain biking: dark skin tone",1,[]],["🚵♂️","man mountain biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","man","mountain","riding","sport"]],["🚵🏻♂️","man mountain biking: light skin tone",1,[]],["🚵🏼♂️","man mountain biking: medium-light skin tone",1,[]],["🚵🏽♂️","man mountain biking: medium skin tone",1,[]],["🚵🏾♂️","man mountain biking: medium-dark skin tone",1,[]],["🚵🏿♂️","man mountain biking: dark skin tone",1,[]],["🚵♀️","woman mountain biking",1,["bicycle","bicyclist","bike","biking","cycle","cyclist","mountain","riding","sport","woman"]],["🚵🏻♀️","woman mountain biking: light skin tone",1,[]],["🚵🏼♀️","woman mountain biking: medium-light skin tone",1,[]],["🚵🏽♀️","woman mountain biking: medium skin tone",1,[]],["🚵🏾♀️","woman mountain biking: medium-dark skin tone",1,[]],["🚵🏿♀️","woman mountain biking: dark skin tone",1,[]],["🤸","person cartwheeling",1,["active","cartwheel","cartwheeling","excited","flip","gymnastics","happy","person","somersault"]],["🤸🏻","person cartwheeling: light skin tone",1,[]],["🤸🏼","person cartwheeling: medium-light skin tone",1,[]],["🤸🏽","person cartwheeling: medium skin tone",1,[]],["🤸🏾","person cartwheeling: medium-dark skin tone",1,[]],["🤸🏿","person cartwheeling: dark skin tone",1,[]],["🤸♂️","man cartwheeling",1,["active","cartwheel","cartwheeling","excited","flip","gymnastics","happy","man","somersault"]],["🤸🏻♂️","man cartwheeling: light skin tone",1,[]],["🤸🏼♂️","man cartwheeling: medium-light skin tone",1,[]],["🤸🏽♂️","man cartwheeling: medium skin tone",1,[]],["🤸🏾♂️","man cartwheeling: medium-dark skin tone",1,[]],["🤸🏿♂️","man cartwheeling: dark skin tone",1,[]],["🤸♀️","woman cartwheeling",1,["active","cartwheel","cartwheeling","excited","flip","gymnastics","happy","somersault","woman"]],["🤸🏻♀️","woman cartwheeling: light skin tone",1,[]],["🤸🏼♀️","woman cartwheeling: medium-light skin tone",1,[]],["🤸🏽♀️","woman cartwheeling: medium skin tone",1,[]],["🤸🏾♀️","woman cartwheeling: medium-dark skin tone",1,[]],["🤸🏿♀️","woman cartwheeling: dark skin tone",1,[]],["🤼","people wrestling",1,["combat","duel","grapple","people","ring","tournament","wrestle","wrestling"]],["🤼🏻","people wrestling: light skin tone",1,[]],["🤼🏼","people wrestling: medium-light skin tone",1,[]],["🤼🏽","people wrestling: medium skin tone",1,[]],["🤼🏾","people wrestling: medium-dark skin tone",1,[]],["🤼🏿","people wrestling: dark skin tone",1,[]],["🤼♂️","men wrestling",1,["combat","duel","grapple","men","ring","tournament","wrestle","wrestling"]],["🤼🏻♂️","men wrestling: light skin tone",1,[]],["🤼🏼♂️","men wrestling: medium-light skin tone",1,[]],["🤼🏽♂️","men wrestling: medium skin tone",1,[]],["🤼🏾♂️","men wrestling: medium-dark skin tone",1,[]],["🤼🏿♂️","men wrestling: dark skin tone",1,[]],["🤼♀️","women wrestling",1,["combat","duel","grapple","ring","tournament","women","wrestle","wrestling"]],["🤼🏻♀️","women wrestling: light skin tone",1,[]],["🤼🏼♀️","women wrestling: medium-light skin tone",1,[]],["🤼🏽♀️","women wrestling: medium skin tone",1,[]],["🤼🏾♀️","women wrestling: medium-dark skin tone",1,[]],["🤼🏿♀️","women wrestling: dark skin tone",1,[]],["🧑🏻🧑🏼","people wrestling: light skin tone, medium-light skin tone",1,[]],["🧑🏻🧑🏽","people wrestling: light skin tone, medium skin tone",1,[]],["🧑🏻🧑🏾","people wrestling: light skin tone, medium-dark skin tone",1,[]],["🧑🏻🧑🏿","people wrestling: light skin tone, dark skin tone",1,[]],["🧑🏼🧑🏻","people wrestling: medium-light skin tone, light skin tone",1,[]],["🧑🏼🧑🏽","people wrestling: medium-light skin tone, medium skin tone",1,[]],["🧑🏼🧑🏾","people wrestling: medium-light skin tone, medium-dark skin tone",1,[]],["🧑🏼🧑🏿","people wrestling: medium-light skin tone, dark skin tone",1,[]],["🧑🏽🧑🏻","people wrestling: medium skin tone, light skin tone",1,[]],["🧑🏽🧑🏼","people wrestling: medium skin tone, medium-light skin tone",1,[]],["🧑🏽🧑🏾","people wrestling: medium skin tone, medium-dark skin tone",1,[]],["🧑🏽🧑🏿","people wrestling: medium skin tone, dark skin tone",1,[]],["🧑🏾🧑🏻","people wrestling: medium-dark skin tone, light skin tone",1,[]],["🧑🏾🧑🏼","people wrestling: medium-dark skin tone, medium-light skin tone",1,[]],["🧑🏾🧑🏽","people wrestling: medium-dark skin tone, medium skin tone",1,[]],["🧑🏾🧑🏿","people wrestling: medium-dark skin tone, dark skin tone",1,[]],["🧑🏿🧑🏻","people wrestling: dark skin tone, light skin tone",1,[]],["🧑🏿🧑🏼","people wrestling: dark skin tone, medium-light skin tone",1,[]],["🧑🏿🧑🏽","people wrestling: dark skin tone, medium skin tone",1,[]],["🧑🏿🧑🏾","people wrestling: dark skin tone, medium-dark skin tone",1,[]],["👨🏻👨🏼","men wrestling: light skin tone, medium-light skin tone",1,[]],["👨🏻👨🏽","men wrestling: light skin tone, medium skin tone",1,[]],["👨🏻👨🏾","men wrestling: light skin tone, medium-dark skin tone",1,[]],["👨🏻👨🏿","men wrestling: light skin tone, dark skin tone",1,[]],["👨🏼👨🏻","men wrestling: medium-light skin tone, light skin tone",1,[]],["👨🏼👨🏽","men wrestling: medium-light skin tone, medium skin tone",1,[]],["👨🏼👨🏾","men wrestling: medium-light skin tone, medium-dark skin tone",1,[]],["👨🏼👨🏿","men wrestling: medium-light skin tone, dark skin tone",1,[]],["👨🏽👨🏻","men wrestling: medium skin tone, light skin tone",1,[]],["👨🏽👨🏼","men wrestling: medium skin tone, medium-light skin tone",1,[]],["👨🏽👨🏾","men wrestling: medium skin tone, medium-dark skin tone",1,[]],["👨🏽👨🏿","men wrestling: medium skin tone, dark skin tone",1,[]],["👨🏾👨🏻","men wrestling: medium-dark skin tone, light skin tone",1,[]],["👨🏾👨🏼","men wrestling: medium-dark skin tone, medium-light skin tone",1,[]],["👨🏾👨🏽","men wrestling: medium-dark skin tone, medium skin tone",1,[]],["👨🏾👨🏿","men wrestling: medium-dark skin tone, dark skin tone",1,[]],["👨🏿👨🏻","men wrestling: dark skin tone, light skin tone",1,[]],["👨🏿👨🏼","men wrestling: dark skin tone, medium-light skin tone",1,[]],["👨🏿👨🏽","men wrestling: dark skin tone, medium skin tone",1,[]],["👨🏿👨🏾","men wrestling: dark skin tone, medium-dark skin tone",1,[]],["👩🏻👩🏼","women wrestling: light skin tone, medium-light skin tone",1,[]],["👩🏻👩🏽","women wrestling: light skin tone, medium skin tone",1,[]],["👩🏻👩🏾","women wrestling: light skin tone, medium-dark skin tone",1,[]],["👩🏻👩🏿","women wrestling: light skin tone, dark skin tone",1,[]],["👩🏼👩🏻","women wrestling: medium-light skin tone, light skin tone",1,[]],["👩🏼👩🏽","women wrestling: medium-light skin tone, medium skin tone",1,[]],["👩🏼👩🏾","women wrestling: medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼👩🏿","women wrestling: medium-light skin tone, dark skin tone",1,[]],["👩🏽👩🏻","women wrestling: medium skin tone, light skin tone",1,[]],["👩🏽👩🏼","women wrestling: medium skin tone, medium-light skin tone",1,[]],["👩🏽👩🏾","women wrestling: medium skin tone, medium-dark skin tone",1,[]],["👩🏽👩🏿","women wrestling: medium skin tone, dark skin tone",1,[]],["👩🏾👩🏻","women wrestling: medium-dark skin tone, light skin tone",1,[]],["👩🏾👩🏼","women wrestling: medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾👩🏽","women wrestling: medium-dark skin tone, medium skin tone",1,[]],["👩🏾👩🏿","women wrestling: medium-dark skin tone, dark skin tone",1,[]],["👩🏿👩🏻","women wrestling: dark skin tone, light skin tone",1,[]],["👩🏿👩🏼","women wrestling: dark skin tone, medium-light skin tone",1,[]],["👩🏿👩🏽","women wrestling: dark skin tone, medium skin tone",1,[]],["👩🏿👩🏾","women wrestling: dark skin tone, medium-dark skin tone",1,[]],["🤽","person playing water polo",1,["person","playing","polo","sport","swimming","water","waterpolo"]],["🤽🏻","person playing water polo: light skin tone",1,[]],["🤽🏼","person playing water polo: medium-light skin tone",1,[]],["🤽🏽","person playing water polo: medium skin tone",1,[]],["🤽🏾","person playing water polo: medium-dark skin tone",1,[]],["🤽🏿","person playing water polo: dark skin tone",1,[]],["🤽♂️","man playing water polo",1,["man","playing","polo","sport","swimming","water","waterpolo"]],["🤽🏻♂️","man playing water polo: light skin tone",1,[]],["🤽🏼♂️","man playing water polo: medium-light skin tone",1,[]],["🤽🏽♂️","man playing water polo: medium skin tone",1,[]],["🤽🏾♂️","man playing water polo: medium-dark skin tone",1,[]],["🤽🏿♂️","man playing water polo: dark skin tone",1,[]],["🤽♀️","woman playing water polo",1,["playing","polo","sport","swimming","water","waterpolo","woman"]],["🤽🏻♀️","woman playing water polo: light skin tone",1,[]],["🤽🏼♀️","woman playing water polo: medium-light skin tone",1,[]],["🤽🏽♀️","woman playing water polo: medium skin tone",1,[]],["🤽🏾♀️","woman playing water polo: medium-dark skin tone",1,[]],["🤽🏿♀️","woman playing water polo: dark skin tone",1,[]],["🤾","person playing handball",1,["athletics","ball","catch","chuck","handball","hurl","lob","person","pitch","playing","sport","throw","toss"]],["🤾🏻","person playing handball: light skin tone",1,[]],["🤾🏼","person playing handball: medium-light skin tone",1,[]],["🤾🏽","person playing handball: medium skin tone",1,[]],["🤾🏾","person playing handball: medium-dark skin tone",1,[]],["🤾🏿","person playing handball: dark skin tone",1,[]],["🤾♂️","man playing handball",1,["athletics","ball","catch","chuck","handball","hurl","lob","man","pitch","playing","sport","throw","toss"]],["🤾🏻♂️","man playing handball: light skin tone",1,[]],["🤾🏼♂️","man playing handball: medium-light skin tone",1,[]],["🤾🏽♂️","man playing handball: medium skin tone",1,[]],["🤾🏾♂️","man playing handball: medium-dark skin tone",1,[]],["🤾🏿♂️","man playing handball: dark skin tone",1,[]],["🤾♀️","woman playing handball",1,["athletics","ball","catch","chuck","handball","hurl","lob","pitch","playing","sport","throw","toss","woman"]],["🤾🏻♀️","woman playing handball: light skin tone",1,[]],["🤾🏼♀️","woman playing handball: medium-light skin tone",1,[]],["🤾🏽♀️","woman playing handball: medium skin tone",1,[]],["🤾🏾♀️","woman playing handball: medium-dark skin tone",1,[]],["🤾🏿♀️","woman playing handball: dark skin tone",1,[]],["🤹","person juggling",1,["act","balance","balancing","handle","juggle","juggling","manage","multitask","person","skill"]],["🤹🏻","person juggling: light skin tone",1,[]],["🤹🏼","person juggling: medium-light skin tone",1,[]],["🤹🏽","person juggling: medium skin tone",1,[]],["🤹🏾","person juggling: medium-dark skin tone",1,[]],["🤹🏿","person juggling: dark skin tone",1,[]],["🤹♂️","man juggling",1,["act","balance","balancing","handle","juggle","juggling","man","manage","multitask","skill"]],["🤹🏻♂️","man juggling: light skin tone",1,[]],["🤹🏼♂️","man juggling: medium-light skin tone",1,[]],["🤹🏽♂️","man juggling: medium skin tone",1,[]],["🤹🏾♂️","man juggling: medium-dark skin tone",1,[]],["🤹🏿♂️","man juggling: dark skin tone",1,[]],["🤹♀️","woman juggling",1,["act","balance","balancing","handle","juggle","juggling","manage","multitask","skill","woman"]],["🤹🏻♀️","woman juggling: light skin tone",1,[]],["🤹🏼♀️","woman juggling: medium-light skin tone",1,[]],["🤹🏽♀️","woman juggling: medium skin tone",1,[]],["🤹🏾♀️","woman juggling: medium-dark skin tone",1,[]],["🤹🏿♀️","woman juggling: dark skin tone",1,[]],["🧘","person in lotus position",1,["cross","legged","legs","lotus","meditation","peace","person","position","relax","serenity","yoga","yogi","zen"]],["🧘🏻","person in lotus position: light skin tone",1,[]],["🧘🏼","person in lotus position: medium-light skin tone",1,[]],["🧘🏽","person in lotus position: medium skin tone",1,[]],["🧘🏾","person in lotus position: medium-dark skin tone",1,[]],["🧘🏿","person in lotus position: dark skin tone",1,[]],["🧘♂️","man in lotus position",1,["cross","legged","legs","lotus","man","meditation","peace","position","relax","serenity","yoga","yogi","zen"]],["🧘🏻♂️","man in lotus position: light skin tone",1,[]],["🧘🏼♂️","man in lotus position: medium-light skin tone",1,[]],["🧘🏽♂️","man in lotus position: medium skin tone",1,[]],["🧘🏾♂️","man in lotus position: medium-dark skin tone",1,[]],["🧘🏿♂️","man in lotus position: dark skin tone",1,[]],["🧘♀️","woman in lotus position",1,["cross","legged","legs","lotus","meditation","peace","position","relax","serenity","woman","yoga","yogi","zen"]],["🧘🏻♀️","woman in lotus position: light skin tone",1,[]],["🧘🏼♀️","woman in lotus position: medium-light skin tone",1,[]],["🧘🏽♀️","woman in lotus position: medium skin tone",1,[]],["🧘🏾♀️","woman in lotus position: medium-dark skin tone",1,[]],["🧘🏿♀️","woman in lotus position: dark skin tone",1,[]],["🛀","person taking bath",1,["bath","bathtub","person","taking","tub"]],["🛀🏻","person taking bath: light skin tone",1,[]],["🛀🏼","person taking bath: medium-light skin tone",1,[]],["🛀🏽","person taking bath: medium skin tone",1,[]],["🛀🏾","person taking bath: medium-dark skin tone",1,[]],["🛀🏿","person taking bath: dark skin tone",1,[]],["🛌","person in bed",1,["bed","bedtime","good","goodnight","hotel","nap","night","person","sleep","tired","zzz"]],["🛌🏻","person in bed: light skin tone",1,[]],["🛌🏼","person in bed: medium-light skin tone",1,[]],["🛌🏽","person in bed: medium skin tone",1,[]],["🛌🏾","person in bed: medium-dark skin tone",1,[]],["🛌🏿","person in bed: dark skin tone",1,[]],["🧑🤝🧑","people holding hands",1,["bae","bestie","bff","couple","dating","flirt","friends","hand","hold","people","twins"]],["🧑🏻🤝🧑🏻","people holding hands: light skin tone",1,[]],["🧑🏻🤝🧑🏼","people holding hands: light skin tone, medium-light skin tone",1,[]],["🧑🏻🤝🧑🏽","people holding hands: light skin tone, medium skin tone",1,[]],["🧑🏻🤝🧑🏾","people holding hands: light skin tone, medium-dark skin tone",1,[]],["🧑🏻🤝🧑🏿","people holding hands: light skin tone, dark skin tone",1,[]],["🧑🏼🤝🧑🏻","people holding hands: medium-light skin tone, light skin tone",1,[]],["🧑🏼🤝🧑🏼","people holding hands: medium-light skin tone",1,[]],["🧑🏼🤝🧑🏽","people holding hands: medium-light skin tone, medium skin tone",1,[]],["🧑🏼🤝🧑🏾","people holding hands: medium-light skin tone, medium-dark skin tone",1,[]],["🧑🏼🤝🧑🏿","people holding hands: medium-light skin tone, dark skin tone",1,[]],["🧑🏽🤝🧑🏻","people holding hands: medium skin tone, light skin tone",1,[]],["🧑🏽🤝🧑🏼","people holding hands: medium skin tone, medium-light skin tone",1,[]],["🧑🏽🤝🧑🏽","people holding hands: medium skin tone",1,[]],["🧑🏽🤝🧑🏾","people holding hands: medium skin tone, medium-dark skin tone",1,[]],["🧑🏽🤝🧑🏿","people holding hands: medium skin tone, dark skin tone",1,[]],["🧑🏾🤝🧑🏻","people holding hands: medium-dark skin tone, light skin tone",1,[]],["🧑🏾🤝🧑🏼","people holding hands: medium-dark skin tone, medium-light skin tone",1,[]],["🧑🏾🤝🧑🏽","people holding hands: medium-dark skin tone, medium skin tone",1,[]],["🧑🏾🤝🧑🏾","people holding hands: medium-dark skin tone",1,[]],["🧑🏾🤝🧑🏿","people holding hands: medium-dark skin tone, dark skin tone",1,[]],["🧑🏿🤝🧑🏻","people holding hands: dark skin tone, light skin tone",1,[]],["🧑🏿🤝🧑🏼","people holding hands: dark skin tone, medium-light skin tone",1,[]],["🧑🏿🤝🧑🏽","people holding hands: dark skin tone, medium skin tone",1,[]],["🧑🏿🤝🧑🏾","people holding hands: dark skin tone, medium-dark skin tone",1,[]],["🧑🏿🤝🧑🏿","people holding hands: dark skin tone",1,[]],["👭","women holding hands",1,["bae","bestie","bff","couple","dating","flirt","friends","girls","hand","hold","sisters","twins","women"]],["👭🏻","women holding hands: light skin tone",1,[]],["👩🏻🤝👩🏼","women holding hands: light skin tone, medium-light skin tone",1,[]],["👩🏻🤝👩🏽","women holding hands: light skin tone, medium skin tone",1,[]],["👩🏻🤝👩🏾","women holding hands: light skin tone, medium-dark skin tone",1,[]],["👩🏻🤝👩🏿","women holding hands: light skin tone, dark skin tone",1,[]],["👩🏼🤝👩🏻","women holding hands: medium-light skin tone, light skin tone",1,[]],["👭🏼","women holding hands: medium-light skin tone",1,[]],["👩🏼🤝👩🏽","women holding hands: medium-light skin tone, medium skin tone",1,[]],["👩🏼🤝👩🏾","women holding hands: medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼🤝👩🏿","women holding hands: medium-light skin tone, dark skin tone",1,[]],["👩🏽🤝👩🏻","women holding hands: medium skin tone, light skin tone",1,[]],["👩🏽🤝👩🏼","women holding hands: medium skin tone, medium-light skin tone",1,[]],["👭🏽","women holding hands: medium skin tone",1,[]],["👩🏽🤝👩🏾","women holding hands: medium skin tone, medium-dark skin tone",1,[]],["👩🏽🤝👩🏿","women holding hands: medium skin tone, dark skin tone",1,[]],["👩🏾🤝👩🏻","women holding hands: medium-dark skin tone, light skin tone",1,[]],["👩🏾🤝👩🏼","women holding hands: medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾🤝👩🏽","women holding hands: medium-dark skin tone, medium skin tone",1,[]],["👭🏾","women holding hands: medium-dark skin tone",1,[]],["👩🏾🤝👩🏿","women holding hands: medium-dark skin tone, dark skin tone",1,[]],["👩🏿🤝👩🏻","women holding hands: dark skin tone, light skin tone",1,[]],["👩🏿🤝👩🏼","women holding hands: dark skin tone, medium-light skin tone",1,[]],["👩🏿🤝👩🏽","women holding hands: dark skin tone, medium skin tone",1,[]],["👩🏿🤝👩🏾","women holding hands: dark skin tone, medium-dark skin tone",1,[]],["👭🏿","women holding hands: dark skin tone",1,[]],["👫","woman and man holding hands",1,["bae","bestie","bff","couple","dating","flirt","friends","hand","hold","man","twins","woman"]],["👫🏻","woman and man holding hands: light skin tone",1,[]],["👩🏻🤝👨🏼","woman and man holding hands: light skin tone, medium-light skin tone",1,[]],["👩🏻🤝👨🏽","woman and man holding hands: light skin tone, medium skin tone",1,[]],["👩🏻🤝👨🏾","woman and man holding hands: light skin tone, medium-dark skin tone",1,[]],["👩🏻🤝👨🏿","woman and man holding hands: light skin tone, dark skin tone",1,[]],["👩🏼🤝👨🏻","woman and man holding hands: medium-light skin tone, light skin tone",1,[]],["👫🏼","woman and man holding hands: medium-light skin tone",1,[]],["👩🏼🤝👨🏽","woman and man holding hands: medium-light skin tone, medium skin tone",1,[]],["👩🏼🤝👨🏾","woman and man holding hands: medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼🤝👨🏿","woman and man holding hands: medium-light skin tone, dark skin tone",1,[]],["👩🏽🤝👨🏻","woman and man holding hands: medium skin tone, light skin tone",1,[]],["👩🏽🤝👨🏼","woman and man holding hands: medium skin tone, medium-light skin tone",1,[]],["👫🏽","woman and man holding hands: medium skin tone",1,[]],["👩🏽🤝👨🏾","woman and man holding hands: medium skin tone, medium-dark skin tone",1,[]],["👩🏽🤝👨🏿","woman and man holding hands: medium skin tone, dark skin tone",1,[]],["👩🏾🤝👨🏻","woman and man holding hands: medium-dark skin tone, light skin tone",1,[]],["👩🏾🤝👨🏼","woman and man holding hands: medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾🤝👨🏽","woman and man holding hands: medium-dark skin tone, medium skin tone",1,[]],["👫🏾","woman and man holding hands: medium-dark skin tone",1,[]],["👩🏾🤝👨🏿","woman and man holding hands: medium-dark skin tone, dark skin tone",1,[]],["👩🏿🤝👨🏻","woman and man holding hands: dark skin tone, light skin tone",1,[]],["👩🏿🤝👨🏼","woman and man holding hands: dark skin tone, medium-light skin tone",1,[]],["👩🏿🤝👨🏽","woman and man holding hands: dark skin tone, medium skin tone",1,[]],["👩🏿🤝👨🏾","woman and man holding hands: dark skin tone, medium-dark skin tone",1,[]],["👫🏿","woman and man holding hands: dark skin tone",1,[]],["👬","men holding hands",1,["bae","bestie","bff","boys","brothers","couple","dating","flirt","friends","hand","hold","men","twins"]],["👬🏻","men holding hands: light skin tone",1,[]],["👨🏻🤝👨🏼","men holding hands: light skin tone, medium-light skin tone",1,[]],["👨🏻🤝👨🏽","men holding hands: light skin tone, medium skin tone",1,[]],["👨🏻🤝👨🏾","men holding hands: light skin tone, medium-dark skin tone",1,[]],["👨🏻🤝👨🏿","men holding hands: light skin tone, dark skin tone",1,[]],["👨🏼🤝👨🏻","men holding hands: medium-light skin tone, light skin tone",1,[]],["👬🏼","men holding hands: medium-light skin tone",1,[]],["👨🏼🤝👨🏽","men holding hands: medium-light skin tone, medium skin tone",1,[]],["👨🏼🤝👨🏾","men holding hands: medium-light skin tone, medium-dark skin tone",1,[]],["👨🏼🤝👨🏿","men holding hands: medium-light skin tone, dark skin tone",1,[]],["👨🏽🤝👨🏻","men holding hands: medium skin tone, light skin tone",1,[]],["👨🏽🤝👨🏼","men holding hands: medium skin tone, medium-light skin tone",1,[]],["👬🏽","men holding hands: medium skin tone",1,[]],["👨🏽🤝👨🏾","men holding hands: medium skin tone, medium-dark skin tone",1,[]],["👨🏽🤝👨🏿","men holding hands: medium skin tone, dark skin tone",1,[]],["👨🏾🤝👨🏻","men holding hands: medium-dark skin tone, light skin tone",1,[]],["👨🏾🤝👨🏼","men holding hands: medium-dark skin tone, medium-light skin tone",1,[]],["👨🏾🤝👨🏽","men holding hands: medium-dark skin tone, medium skin tone",1,[]],["👬🏾","men holding hands: medium-dark skin tone",1,[]],["👨🏾🤝👨🏿","men holding hands: medium-dark skin tone, dark skin tone",1,[]],["👨🏿🤝👨🏻","men holding hands: dark skin tone, light skin tone",1,[]],["👨🏿🤝👨🏼","men holding hands: dark skin tone, medium-light skin tone",1,[]],["👨🏿🤝👨🏽","men holding hands: dark skin tone, medium skin tone",1,[]],["👨🏿🤝👨🏾","men holding hands: dark skin tone, medium-dark skin tone",1,[]],["👬🏿","men holding hands: dark skin tone",1,[]],["💏","kiss",1,["anniversary","babe","bae","couple","date","dating","heart","kiss","love","mwah","person","romance","together","xoxo"]],["💏🏻","kiss: light skin tone",1,[]],["💏🏼","kiss: medium-light skin tone",1,[]],["💏🏽","kiss: medium skin tone",1,[]],["💏🏾","kiss: medium-dark skin tone",1,[]],["💏🏿","kiss: dark skin tone",1,[]],["🧑🏻❤️💋🧑🏼","kiss: person, person, light skin tone, medium-light skin tone",1,[]],["🧑🏻❤️💋🧑🏽","kiss: person, person, light skin tone, medium skin tone",1,[]],["🧑🏻❤️💋🧑🏾","kiss: person, person, light skin tone, medium-dark skin tone",1,[]],["🧑🏻❤️💋🧑🏿","kiss: person, person, light skin tone, dark skin tone",1,[]],["🧑🏼❤️💋🧑🏻","kiss: person, person, medium-light skin tone, light skin tone",1,[]],["🧑🏼❤️💋🧑🏽","kiss: person, person, medium-light skin tone, medium skin tone",1,[]],["🧑🏼❤️💋🧑🏾","kiss: person, person, medium-light skin tone, medium-dark skin tone",1,[]],["🧑🏼❤️💋🧑🏿","kiss: person, person, medium-light skin tone, dark skin tone",1,[]],["🧑🏽❤️💋🧑🏻","kiss: person, person, medium skin tone, light skin tone",1,[]],["🧑🏽❤️💋🧑🏼","kiss: person, person, medium skin tone, medium-light skin tone",1,[]],["🧑🏽❤️💋🧑🏾","kiss: person, person, medium skin tone, medium-dark skin tone",1,[]],["🧑🏽❤️💋🧑🏿","kiss: person, person, medium skin tone, dark skin tone",1,[]],["🧑🏾❤️💋🧑🏻","kiss: person, person, medium-dark skin tone, light skin tone",1,[]],["🧑🏾❤️💋🧑🏼","kiss: person, person, medium-dark skin tone, medium-light skin tone",1,[]],["🧑🏾❤️💋🧑🏽","kiss: person, person, medium-dark skin tone, medium skin tone",1,[]],["🧑🏾❤️💋🧑🏿","kiss: person, person, medium-dark skin tone, dark skin tone",1,[]],["🧑🏿❤️💋🧑🏻","kiss: person, person, dark skin tone, light skin tone",1,[]],["🧑🏿❤️💋🧑🏼","kiss: person, person, dark skin tone, medium-light skin tone",1,[]],["🧑🏿❤️💋🧑🏽","kiss: person, person, dark skin tone, medium skin tone",1,[]],["🧑🏿❤️💋🧑🏾","kiss: person, person, dark skin tone, medium-dark skin tone",1,[]],["👩❤️💋👨","kiss: woman, man",1,[]],["👩🏻❤️💋👨🏻","kiss: woman, man, light skin tone",1,[]],["👩🏻❤️💋👨🏼","kiss: woman, man, light skin tone, medium-light skin tone",1,[]],["👩🏻❤️💋👨🏽","kiss: woman, man, light skin tone, medium skin tone",1,[]],["👩🏻❤️💋👨🏾","kiss: woman, man, light skin tone, medium-dark skin tone",1,[]],["👩🏻❤️💋👨🏿","kiss: woman, man, light skin tone, dark skin tone",1,[]],["👩🏼❤️💋👨🏻","kiss: woman, man, medium-light skin tone, light skin tone",1,[]],["👩🏼❤️💋👨🏼","kiss: woman, man, medium-light skin tone",1,[]],["👩🏼❤️💋👨🏽","kiss: woman, man, medium-light skin tone, medium skin tone",1,[]],["👩🏼❤️💋👨🏾","kiss: woman, man, medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼❤️💋👨🏿","kiss: woman, man, medium-light skin tone, dark skin tone",1,[]],["👩🏽❤️💋👨🏻","kiss: woman, man, medium skin tone, light skin tone",1,[]],["👩🏽❤️💋👨🏼","kiss: woman, man, medium skin tone, medium-light skin tone",1,[]],["👩🏽❤️💋👨🏽","kiss: woman, man, medium skin tone",1,[]],["👩🏽❤️💋👨🏾","kiss: woman, man, medium skin tone, medium-dark skin tone",1,[]],["👩🏽❤️💋👨🏿","kiss: woman, man, medium skin tone, dark skin tone",1,[]],["👩🏾❤️💋👨🏻","kiss: woman, man, medium-dark skin tone, light skin tone",1,[]],["👩🏾❤️💋👨🏼","kiss: woman, man, medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾❤️💋👨🏽","kiss: woman, man, medium-dark skin tone, medium skin tone",1,[]],["👩🏾❤️💋👨🏾","kiss: woman, man, medium-dark skin tone",1,[]],["👩🏾❤️💋👨🏿","kiss: woman, man, medium-dark skin tone, dark skin tone",1,[]],["👩🏿❤️💋👨🏻","kiss: woman, man, dark skin tone, light skin tone",1,[]],["👩🏿❤️💋👨🏼","kiss: woman, man, dark skin tone, medium-light skin tone",1,[]],["👩🏿❤️💋👨🏽","kiss: woman, man, dark skin tone, medium skin tone",1,[]],["👩🏿❤️💋👨🏾","kiss: woman, man, dark skin tone, medium-dark skin tone",1,[]],["👩🏿❤️💋👨🏿","kiss: woman, man, dark skin tone",1,[]],["👨❤️💋👨","kiss: man, man",1,[]],["👨🏻❤️💋👨🏻","kiss: man, man, light skin tone",1,[]],["👨🏻❤️💋👨🏼","kiss: man, man, light skin tone, medium-light skin tone",1,[]],["👨🏻❤️💋👨🏽","kiss: man, man, light skin tone, medium skin tone",1,[]],["👨🏻❤️💋👨🏾","kiss: man, man, light skin tone, medium-dark skin tone",1,[]],["👨🏻❤️💋👨🏿","kiss: man, man, light skin tone, dark skin tone",1,[]],["👨🏼❤️💋👨🏻","kiss: man, man, medium-light skin tone, light skin tone",1,[]],["👨🏼❤️💋👨🏼","kiss: man, man, medium-light skin tone",1,[]],["👨🏼❤️💋👨🏽","kiss: man, man, medium-light skin tone, medium skin tone",1,[]],["👨🏼❤️💋👨🏾","kiss: man, man, medium-light skin tone, medium-dark skin tone",1,[]],["👨🏼❤️💋👨🏿","kiss: man, man, medium-light skin tone, dark skin tone",1,[]],["👨🏽❤️💋👨🏻","kiss: man, man, medium skin tone, light skin tone",1,[]],["👨🏽❤️💋👨🏼","kiss: man, man, medium skin tone, medium-light skin tone",1,[]],["👨🏽❤️💋👨🏽","kiss: man, man, medium skin tone",1,[]],["👨🏽❤️💋👨🏾","kiss: man, man, medium skin tone, medium-dark skin tone",1,[]],["👨🏽❤️💋👨🏿","kiss: man, man, medium skin tone, dark skin tone",1,[]],["👨🏾❤️💋👨🏻","kiss: man, man, medium-dark skin tone, light skin tone",1,[]],["👨🏾❤️💋👨🏼","kiss: man, man, medium-dark skin tone, medium-light skin tone",1,[]],["👨🏾❤️💋👨🏽","kiss: man, man, medium-dark skin tone, medium skin tone",1,[]],["👨🏾❤️💋👨🏾","kiss: man, man, medium-dark skin tone",1,[]],["👨🏾❤️💋👨🏿","kiss: man, man, medium-dark skin tone, dark skin tone",1,[]],["👨🏿❤️💋👨🏻","kiss: man, man, dark skin tone, light skin tone",1,[]],["👨🏿❤️💋👨🏼","kiss: man, man, dark skin tone, medium-light skin tone",1,[]],["👨🏿❤️💋👨🏽","kiss: man, man, dark skin tone, medium skin tone",1,[]],["👨🏿❤️💋👨🏾","kiss: man, man, dark skin tone, medium-dark skin tone",1,[]],["👨🏿❤️💋👨🏿","kiss: man, man, dark skin tone",1,[]],["👩❤️💋👩","kiss: woman, woman",1,[]],["👩🏻❤️💋👩🏻","kiss: woman, woman, light skin tone",1,[]],["👩🏻❤️💋👩🏼","kiss: woman, woman, light skin tone, medium-light skin tone",1,[]],["👩🏻❤️💋👩🏽","kiss: woman, woman, light skin tone, medium skin tone",1,[]],["👩🏻❤️💋👩🏾","kiss: woman, woman, light skin tone, medium-dark skin tone",1,[]],["👩🏻❤️💋👩🏿","kiss: woman, woman, light skin tone, dark skin tone",1,[]],["👩🏼❤️💋👩🏻","kiss: woman, woman, medium-light skin tone, light skin tone",1,[]],["👩🏼❤️💋👩🏼","kiss: woman, woman, medium-light skin tone",1,[]],["👩🏼❤️💋👩🏽","kiss: woman, woman, medium-light skin tone, medium skin tone",1,[]],["👩🏼❤️💋👩🏾","kiss: woman, woman, medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼❤️💋👩🏿","kiss: woman, woman, medium-light skin tone, dark skin tone",1,[]],["👩🏽❤️💋👩🏻","kiss: woman, woman, medium skin tone, light skin tone",1,[]],["👩🏽❤️💋👩🏼","kiss: woman, woman, medium skin tone, medium-light skin tone",1,[]],["👩🏽❤️💋👩🏽","kiss: woman, woman, medium skin tone",1,[]],["👩🏽❤️💋👩🏾","kiss: woman, woman, medium skin tone, medium-dark skin tone",1,[]],["👩🏽❤️💋👩🏿","kiss: woman, woman, medium skin tone, dark skin tone",1,[]],["👩🏾❤️💋👩🏻","kiss: woman, woman, medium-dark skin tone, light skin tone",1,[]],["👩🏾❤️💋👩🏼","kiss: woman, woman, medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾❤️💋👩🏽","kiss: woman, woman, medium-dark skin tone, medium skin tone",1,[]],["👩🏾❤️💋👩🏾","kiss: woman, woman, medium-dark skin tone",1,[]],["👩🏾❤️💋👩🏿","kiss: woman, woman, medium-dark skin tone, dark skin tone",1,[]],["👩🏿❤️💋👩🏻","kiss: woman, woman, dark skin tone, light skin tone",1,[]],["👩🏿❤️💋👩🏼","kiss: woman, woman, dark skin tone, medium-light skin tone",1,[]],["👩🏿❤️💋👩🏽","kiss: woman, woman, dark skin tone, medium skin tone",1,[]],["👩🏿❤️💋👩🏾","kiss: woman, woman, dark skin tone, medium-dark skin tone",1,[]],["👩🏿❤️💋👩🏿","kiss: woman, woman, dark skin tone",1,[]],["💑","couple with heart",1,["anniversary","babe","bae","couple","dating","heart","kiss","love","person","relationship","romance","together","you"]],["💑🏻","couple with heart: light skin tone",1,[]],["💑🏼","couple with heart: medium-light skin tone",1,[]],["💑🏽","couple with heart: medium skin tone",1,[]],["💑🏾","couple with heart: medium-dark skin tone",1,[]],["💑🏿","couple with heart: dark skin tone",1,[]],["🧑🏻❤️🧑🏼","couple with heart: person, person, light skin tone, medium-light skin tone",1,[]],["🧑🏻❤️🧑🏽","couple with heart: person, person, light skin tone, medium skin tone",1,[]],["🧑🏻❤️🧑🏾","couple with heart: person, person, light skin tone, medium-dark skin tone",1,[]],["🧑🏻❤️🧑🏿","couple with heart: person, person, light skin tone, dark skin tone",1,[]],["🧑🏼❤️🧑🏻","couple with heart: person, person, medium-light skin tone, light skin tone",1,[]],["🧑🏼❤️🧑🏽","couple with heart: person, person, medium-light skin tone, medium skin tone",1,[]],["🧑🏼❤️🧑🏾","couple with heart: person, person, medium-light skin tone, medium-dark skin tone",1,[]],["🧑🏼❤️🧑🏿","couple with heart: person, person, medium-light skin tone, dark skin tone",1,[]],["🧑🏽❤️🧑🏻","couple with heart: person, person, medium skin tone, light skin tone",1,[]],["🧑🏽❤️🧑🏼","couple with heart: person, person, medium skin tone, medium-light skin tone",1,[]],["🧑🏽❤️🧑🏾","couple with heart: person, person, medium skin tone, medium-dark skin tone",1,[]],["🧑🏽❤️🧑🏿","couple with heart: person, person, medium skin tone, dark skin tone",1,[]],["🧑🏾❤️🧑🏻","couple with heart: person, person, medium-dark skin tone, light skin tone",1,[]],["🧑🏾❤️🧑🏼","couple with heart: person, person, medium-dark skin tone, medium-light skin tone",1,[]],["🧑🏾❤️🧑🏽","couple with heart: person, person, medium-dark skin tone, medium skin tone",1,[]],["🧑🏾❤️🧑🏿","couple with heart: person, person, medium-dark skin tone, dark skin tone",1,[]],["🧑🏿❤️🧑🏻","couple with heart: person, person, dark skin tone, light skin tone",1,[]],["🧑🏿❤️🧑🏼","couple with heart: person, person, dark skin tone, medium-light skin tone",1,[]],["🧑🏿❤️🧑🏽","couple with heart: person, person, dark skin tone, medium skin tone",1,[]],["🧑🏿❤️🧑🏾","couple with heart: person, person, dark skin tone, medium-dark skin tone",1,[]],["👩❤️👨","couple with heart: woman, man",1,[]],["👩🏻❤️👨🏻","couple with heart: woman, man, light skin tone",1,[]],["👩🏻❤️👨🏼","couple with heart: woman, man, light skin tone, medium-light skin tone",1,[]],["👩🏻❤️👨🏽","couple with heart: woman, man, light skin tone, medium skin tone",1,[]],["👩🏻❤️👨🏾","couple with heart: woman, man, light skin tone, medium-dark skin tone",1,[]],["👩🏻❤️👨🏿","couple with heart: woman, man, light skin tone, dark skin tone",1,[]],["👩🏼❤️👨🏻","couple with heart: woman, man, medium-light skin tone, light skin tone",1,[]],["👩🏼❤️👨🏼","couple with heart: woman, man, medium-light skin tone",1,[]],["👩🏼❤️👨🏽","couple with heart: woman, man, medium-light skin tone, medium skin tone",1,[]],["👩🏼❤️👨🏾","couple with heart: woman, man, medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼❤️👨🏿","couple with heart: woman, man, medium-light skin tone, dark skin tone",1,[]],["👩🏽❤️👨🏻","couple with heart: woman, man, medium skin tone, light skin tone",1,[]],["👩🏽❤️👨🏼","couple with heart: woman, man, medium skin tone, medium-light skin tone",1,[]],["👩🏽❤️👨🏽","couple with heart: woman, man, medium skin tone",1,[]],["👩🏽❤️👨🏾","couple with heart: woman, man, medium skin tone, medium-dark skin tone",1,[]],["👩🏽❤️👨🏿","couple with heart: woman, man, medium skin tone, dark skin tone",1,[]],["👩🏾❤️👨🏻","couple with heart: woman, man, medium-dark skin tone, light skin tone",1,[]],["👩🏾❤️👨🏼","couple with heart: woman, man, medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾❤️👨🏽","couple with heart: woman, man, medium-dark skin tone, medium skin tone",1,[]],["👩🏾❤️👨🏾","couple with heart: woman, man, medium-dark skin tone",1,[]],["👩🏾❤️👨🏿","couple with heart: woman, man, medium-dark skin tone, dark skin tone",1,[]],["👩🏿❤️👨🏻","couple with heart: woman, man, dark skin tone, light skin tone",1,[]],["👩🏿❤️👨🏼","couple with heart: woman, man, dark skin tone, medium-light skin tone",1,[]],["👩🏿❤️👨🏽","couple with heart: woman, man, dark skin tone, medium skin tone",1,[]],["👩🏿❤️👨🏾","couple with heart: woman, man, dark skin tone, medium-dark skin tone",1,[]],["👩🏿❤️👨🏿","couple with heart: woman, man, dark skin tone",1,[]],["👨❤️👨","couple with heart: man, man",1,[]],["👨🏻❤️👨🏻","couple with heart: man, man, light skin tone",1,[]],["👨🏻❤️👨🏼","couple with heart: man, man, light skin tone, medium-light skin tone",1,[]],["👨🏻❤️👨🏽","couple with heart: man, man, light skin tone, medium skin tone",1,[]],["👨🏻❤️👨🏾","couple with heart: man, man, light skin tone, medium-dark skin tone",1,[]],["👨🏻❤️👨🏿","couple with heart: man, man, light skin tone, dark skin tone",1,[]],["👨🏼❤️👨🏻","couple with heart: man, man, medium-light skin tone, light skin tone",1,[]],["👨🏼❤️👨🏼","couple with heart: man, man, medium-light skin tone",1,[]],["👨🏼❤️👨🏽","couple with heart: man, man, medium-light skin tone, medium skin tone",1,[]],["👨🏼❤️👨🏾","couple with heart: man, man, medium-light skin tone, medium-dark skin tone",1,[]],["👨🏼❤️👨🏿","couple with heart: man, man, medium-light skin tone, dark skin tone",1,[]],["👨🏽❤️👨🏻","couple with heart: man, man, medium skin tone, light skin tone",1,[]],["👨🏽❤️👨🏼","couple with heart: man, man, medium skin tone, medium-light skin tone",1,[]],["👨🏽❤️👨🏽","couple with heart: man, man, medium skin tone",1,[]],["👨🏽❤️👨🏾","couple with heart: man, man, medium skin tone, medium-dark skin tone",1,[]],["👨🏽❤️👨🏿","couple with heart: man, man, medium skin tone, dark skin tone",1,[]],["👨🏾❤️👨🏻","couple with heart: man, man, medium-dark skin tone, light skin tone",1,[]],["👨🏾❤️👨🏼","couple with heart: man, man, medium-dark skin tone, medium-light skin tone",1,[]],["👨🏾❤️👨🏽","couple with heart: man, man, medium-dark skin tone, medium skin tone",1,[]],["👨🏾❤️👨🏾","couple with heart: man, man, medium-dark skin tone",1,[]],["👨🏾❤️👨🏿","couple with heart: man, man, medium-dark skin tone, dark skin tone",1,[]],["👨🏿❤️👨🏻","couple with heart: man, man, dark skin tone, light skin tone",1,[]],["👨🏿❤️👨🏼","couple with heart: man, man, dark skin tone, medium-light skin tone",1,[]],["👨🏿❤️👨🏽","couple with heart: man, man, dark skin tone, medium skin tone",1,[]],["👨🏿❤️👨🏾","couple with heart: man, man, dark skin tone, medium-dark skin tone",1,[]],["👨🏿❤️👨🏿","couple with heart: man, man, dark skin tone",1,[]],["👩❤️👩","couple with heart: woman, woman",1,[]],["👩🏻❤️👩🏻","couple with heart: woman, woman, light skin tone",1,[]],["👩🏻❤️👩🏼","couple with heart: woman, woman, light skin tone, medium-light skin tone",1,[]],["👩🏻❤️👩🏽","couple with heart: woman, woman, light skin tone, medium skin tone",1,[]],["👩🏻❤️👩🏾","couple with heart: woman, woman, light skin tone, medium-dark skin tone",1,[]],["👩🏻❤️👩🏿","couple with heart: woman, woman, light skin tone, dark skin tone",1,[]],["👩🏼❤️👩🏻","couple with heart: woman, woman, medium-light skin tone, light skin tone",1,[]],["👩🏼❤️👩🏼","couple with heart: woman, woman, medium-light skin tone",1,[]],["👩🏼❤️👩🏽","couple with heart: woman, woman, medium-light skin tone, medium skin tone",1,[]],["👩🏼❤️👩🏾","couple with heart: woman, woman, medium-light skin tone, medium-dark skin tone",1,[]],["👩🏼❤️👩🏿","couple with heart: woman, woman, medium-light skin tone, dark skin tone",1,[]],["👩🏽❤️👩🏻","couple with heart: woman, woman, medium skin tone, light skin tone",1,[]],["👩🏽❤️👩🏼","couple with heart: woman, woman, medium skin tone, medium-light skin tone",1,[]],["👩🏽❤️👩🏽","couple with heart: woman, woman, medium skin tone",1,[]],["👩🏽❤️👩🏾","couple with heart: woman, woman, medium skin tone, medium-dark skin tone",1,[]],["👩🏽❤️👩🏿","couple with heart: woman, woman, medium skin tone, dark skin tone",1,[]],["👩🏾❤️👩🏻","couple with heart: woman, woman, medium-dark skin tone, light skin tone",1,[]],["👩🏾❤️👩🏼","couple with heart: woman, woman, medium-dark skin tone, medium-light skin tone",1,[]],["👩🏾❤️👩🏽","couple with heart: woman, woman, medium-dark skin tone, medium skin tone",1,[]],["👩🏾❤️👩🏾","couple with heart: woman, woman, medium-dark skin tone",1,[]],["👩🏾❤️👩🏿","couple with heart: woman, woman, medium-dark skin tone, dark skin tone",1,[]],["👩🏿❤️👩🏻","couple with heart: woman, woman, dark skin tone, light skin tone",1,[]],["👩🏿❤️👩🏼","couple with heart: woman, woman, dark skin tone, medium-light skin tone",1,[]],["👩🏿❤️👩🏽","couple with heart: woman, woman, dark skin tone, medium skin tone",1,[]],["👩🏿❤️👩🏾","couple with heart: woman, woman, dark skin tone, medium-dark skin tone",1,[]],["👩🏿❤️👩🏿","couple with heart: woman, woman, dark skin tone",1,[]],["👨👩👦","family: man, woman, boy",1,[]],["👨👩👧","family: man, woman, girl",1,[]],["👨👩👧👦","family: man, woman, girl, boy",1,[]],["👨👩👦👦","family: man, woman, boy, boy",1,[]],["👨👩👧👧","family: man, woman, girl, girl",1,[]],["👨👨👦","family: man, man, boy",1,[]],["👨👨👧","family: man, man, girl",1,[]],["👨👨👧👦","family: man, man, girl, boy",1,[]],["👨👨👦👦","family: man, man, boy, boy",1,[]],["👨👨👧👧","family: man, man, girl, girl",1,[]],["👩👩👦","family: woman, woman, boy",1,[]],["👩👩👧","family: woman, woman, girl",1,[]],["👩👩👧👦","family: woman, woman, girl, boy",1,[]],["👩👩👦👦","family: woman, woman, boy, boy",1,[]],["👩👩👧👧","family: woman, woman, girl, girl",1,[]],["👨👦","family: man, boy",1,[]],["👨👦👦","family: man, boy, boy",1,[]],["👨👧","family: man, girl",1,[]],["👨👧👦","family: man, girl, boy",1,[]],["👨👧👧","family: man, girl, girl",1,[]],["👩👦","family: woman, boy",1,[]],["👩👦👦","family: woman, boy, boy",1,[]],["👩👧","family: woman, girl",1,[]],["👩👧👦","family: woman, girl, boy",1,[]],["👩👧👧","family: woman, girl, girl",1,[]],["🗣️","speaking head",1,["face","head","silhouette","speak","speaking"]],["👤","bust in silhouette",1,["bust","mysterious","shadow","silhouette"]],["👥","busts in silhouette",1,["bff","bust","busts","everyone","friend","friends","people","silhouette"]],["🫂","people hugging",1,["comfort","embrace","farewell","friendship","goodbye","hello","hug","hugging","love","people","thanks"]],["👪","family",1,["child","family"]],["🧑🧑🧒","family: adult, adult, child",1,["adult","child","family"]],["🧑🧑🧒🧒","family: adult, adult, child, child",1,["adult","child","family"]],["🧑🧒","family: adult, child",1,["adult","child","family"]],["🧑🧒🧒","family: adult, child, child",1,["adult","child","family"]],["👣","footprints",1,["barefoot","clothing","footprint","footprints","omw","print","walk"]],["","fingerprint",1,["clue","crime","detective","fingerprint","forensics","identity","mystery","print","safety","trace"]],["🐵","monkey face",2,["animal","banana","face","monkey"]],["🐒","monkey",2,["animal","banana","monkey"]],["🦍","gorilla",2,["animal","gorilla"]],["🦧","orangutan",2,["animal","ape","monkey","orangutan"]],["🐶","dog face",2,["adorbs","animal","dog","face","pet","puppies","puppy"]],["🐕","dog",2,["animal","animals","dog","dogs","pet"]],["🦮","guide dog",2,["accessibility","animal","blind","dog","guide"]],["🐕🦺","service dog",2,["accessibility","animal","assistance","dog","service"]],["🐩","poodle",2,["animal","dog","fluffy","poodle"]],["🐺","wolf",2,["animal","face","wolf"]],["🦊","fox",2,["animal","face","fox"]],["🦝","raccoon",2,["animal","curious","raccoon","sly"]],["🐱","cat face",2,["animal","cat","face","kitten","kitty","pet"]],["🐈","cat",2,["animal","animals","cat","cats","kitten","pet"]],["🐈⬛","black cat",2,["animal","black","cat","feline","halloween","meow","unlucky"]],["🦁","lion",2,["alpha","animal","face","Leo","lion","mane","order","rawr","roar","safari","strong","zodiac"]],["🐯","tiger face",2,["animal","big","cat","face","predator","tiger"]],["🐅","tiger",2,["animal","big","cat","predator","tiger","zoo"]],["🐆","leopard",2,["animal","big","cat","leopard","predator","zoo"]],["🐴","horse face",2,["animal","dressage","equine","face","farm","horse","horses"]],["🫎","moose",2,["alces","animal","antlers","elk","mammal","moose"]],["🫏","donkey",2,["animal","ass","burro","donkey","hinny","mammal","mule","stubborn"]],["🐎","horse",2,["animal","equestrian","farm","horse","racehorse","racing"]],["🦄","unicorn",2,["face","unicorn"]],["🦓","zebra",2,["animal","stripe","zebra"]],["🦌","deer",2,["animal","deer"]],["🦬","bison",2,["animal","bison","buffalo","herd","wisent"]],["🐮","cow face",2,["animal","cow","face","farm","milk","moo"]],["🐂","ox",2,["animal","animals","bull","farm","ox","Taurus","zodiac"]],["🐃","water buffalo",2,["animal","buffalo","water","zoo"]],["🐄","cow",2,["animal","animals","cow","farm","milk","moo"]],["🐷","pig face",2,["animal","bacon","face","farm","pig","pork"]],["🐖","pig",2,["animal","bacon","farm","pig","pork","sow"]],["🐗","boar",2,["animal","boar","pig"]],["🐽","pig nose",2,["animal","face","farm","nose","pig","smell","snout"]],["🐏","ram",2,["animal","Aries","horns","male","ram","sheep","zodiac","zoo"]],["🐑","ewe",2,["animal","baa","ewe","farm","female","fluffy","lamb","sheep","wool"]],["🐐","goat",2,["animal","Capricorn","farm","goat","milk","zodiac"]],["🐪","camel",2,["animal","camel","desert","dromedary","hump","one"]],["🐫","two-hump camel",2,["animal","bactrian","camel","desert","hump","two","two-hump"]],["🦙","llama",2,["alpaca","animal","guanaco","llama","vicuña","wool"]],["🦒","giraffe",2,["animal","giraffe","spots"]],["🐘","elephant",2,["animal","elephant"]],["🦣","mammoth",2,["animal","extinction","large","mammoth","tusk","wooly"]],["🦏","rhinoceros",2,["animal","rhinoceros"]],["🦛","hippopotamus",2,["animal","hippo","hippopotamus"]],["🐭","mouse face",2,["animal","face","mouse"]],["🐁","mouse",2,["animal","animals","mouse"]],["🐀","rat",2,["animal","rat"]],["🐹","hamster",2,["animal","face","hamster","pet"]],["🐰","rabbit face",2,["animal","bunny","face","pet","rabbit"]],["🐇","rabbit",2,["animal","bunny","pet","rabbit"]],["🐿️","chipmunk",2,["animal","chipmunk","squirrel"]],["🦫","beaver",2,["animal","beaver","dam","teeth"]],["🦔","hedgehog",2,["animal","hedgehog","spiny"]],["🦇","bat",2,["animal","bat","vampire"]],["🐻","bear",2,["animal","bear","face","grizzly","growl","honey"]],["🐻❄️","polar bear",2,["animal","arctic","bear","polar","white"]],["🐨","koala",2,["animal","australia","bear","down","face","koala","marsupial","under"]],["🐼","panda",2,["animal","bamboo","face","panda"]],["🦥","sloth",2,["lazy","sloth","slow"]],["🦦","otter",2,["animal","fishing","otter","playful"]],["🦨","skunk",2,["animal","skunk","stink"]],["🦘","kangaroo",2,["animal","joey","jump","kangaroo","marsupial"]],["🦡","badger",2,["animal","badger","honey","pester"]],["🐾","paw prints",2,["feet","paw","paws","print","prints"]],["🦃","turkey",2,["bird","gobble","thanksgiving","turkey"]],["🐔","chicken",2,["animal","bird","chicken","ornithology"]],["🐓","rooster",2,["animal","bird","ornithology","rooster"]],["🐣","hatching chick",2,["animal","baby","bird","chick","egg","hatching"]],["🐤","baby chick",2,["animal","baby","bird","chick","ornithology"]],["🐥","front-facing baby chick",2,["animal","baby","bird","chick","front-facing","newborn","ornithology"]],["🐦","bird",2,["animal","bird","ornithology"]],["🐧","penguin",2,["animal","antarctica","bird","ornithology","penguin"]],["🕊️","dove",2,["bird","dove","fly","ornithology","peace"]],["🦅","eagle",2,["animal","bird","eagle","ornithology"]],["🦆","duck",2,["animal","bird","duck","ornithology"]],["🦢","swan",2,["animal","bird","cygnet","duckling","ornithology","swan","ugly"]],["🦉","owl",2,["animal","bird","ornithology","owl","wise"]],["🦤","dodo",2,["animal","bird","dodo","extinction","large","ornithology"]],["🪶","feather",2,["bird","feather","flight","light","plumage"]],["🦩","flamingo",2,["animal","bird","flamboyant","flamingo","ornithology","tropical"]],["🦚","peacock",2,["animal","bird","colorful","ornithology","ostentatious","peacock","peahen","pretty","proud"]],["🦜","parrot",2,["animal","bird","ornithology","parrot","pirate","talk"]],["🪽","wing",2,["angelic","ascend","aviation","bird","fly","flying","heavenly","mythology","soar","wing"]],["🐦⬛","black bird",2,["animal","beak","bird","black","caw","corvid","crow","ornithology","raven","rook"]],["🪿","goose",2,["animal","bird","duck","flock","fowl","gaggle","gander","geese","goose","honk","ornithology","silly"]],["🐦🔥","phoenix",2,["ascend","ascension","emerge","fantasy","firebird","glory","immortal","phoenix","rebirth","reincarnation","reinvent","renewal","revival","revive","rise","transform"]],["🐸","frog",2,["animal","face","frog"]],["🐊","crocodile",2,["animal","crocodile","zoo"]],["🐢","turtle",2,["animal","terrapin","tortoise","turtle"]],["🦎","lizard",2,["animal","lizard","reptile"]],["🐍","snake",2,["animal","bearer","Ophiuchus","serpent","snake","zodiac"]],["🐲","dragon face",2,["animal","dragon","face","fairy","fairytale","tale"]],["🐉","dragon",2,["animal","dragon","fairy","fairytale","knights","tale"]],["🦕","sauropod",2,["brachiosaurus","brontosaurus","dinosaur","diplodocus","sauropod"]],["🦖","T-Rex",2,["dinosaur","Rex","T","T-Rex","Tyrannosaurus"]],["🐳","spouting whale",2,["animal","beach","face","ocean","spouting","whale"]],["🐋","whale",2,["animal","beach","ocean","whale"]],["🐬","dolphin",2,["animal","beach","dolphin","flipper","ocean"]],["","orca",2,["marine","ocean","whale"]],["🦭","seal",2,["animal","lion","ocean","sea","seal"]],["🐟","fish",2,["animal","dinner","fish","fishes","fishing","Pisces","zodiac"]],["🐠","tropical fish",2,["animal","fish","fishes","tropical"]],["🐡","blowfish",2,["animal","blowfish","fish"]],["🦈","shark",2,["animal","fish","shark"]],["🐙","octopus",2,["animal","creature","ocean","octopus"]],["🐚","spiral shell",2,["animal","beach","conch","sea","shell","spiral"]],["🪸","coral",2,["change","climate","coral","ocean","reef","sea"]],["🪼","jellyfish",2,["animal","aquarium","burn","invertebrate","jelly","jellyfish","life","marine","ocean","ouch","plankton","sea","sting","stinger","tentacles"]],["🦀","crab",2,["Cancer","crab","zodiac"]],["🦞","lobster",2,["animal","bisque","claws","lobster","seafood"]],["🦐","shrimp",2,["food","shellfish","shrimp","small"]],["🦑","squid",2,["animal","food","mollusk","squid"]],["🦪","oyster",2,["diving","oyster","pearl"]],["🐌","snail",2,["animal","escargot","garden","nature","slug","snail"]],["🦋","butterfly",2,["butterfly","insect","pretty"]],["","monarch butterfly",2,[]],["🐛","bug",2,["animal","bug","garden","insect"]],["🐜","ant",2,["animal","ant","garden","insect"]],["🐝","honeybee",2,["animal","bee","bumblebee","honey","honeybee","insect","nature","spring"]],["🪲","beetle",2,["animal","beetle","bug","insect"]],["🐞","lady beetle",2,["animal","beetle","garden","insect","lady","ladybird","ladybug","nature"]],["🦗","cricket",2,["animal","bug","cricket","grasshopper","insect","Orthoptera"]],["🪳","cockroach",2,["animal","cockroach","insect","pest","roach"]],["🕷️","spider",2,["animal","insect","spider"]],["🕸️","spider web",2,["spider","web"]],["🦂","scorpion",2,["Scorpio","scorpion","Scorpius","zodiac"]],["🦟","mosquito",2,["bite","disease","fever","insect","malaria","mosquito","pest","virus"]],["🪰","fly",2,["animal","disease","fly","insect","maggot","pest","rotting"]],["🪱","worm",2,["animal","annelid","earthworm","parasite","worm"]],["🦠","microbe",2,["amoeba","bacteria","microbe","science","virus"]],["💐","bouquet",2,["anniversary","birthday","bouquet","date","flower","love","plant","romance"]],["🌸","cherry blossom",2,["blossom","cherry","flower","plant","spring","springtime"]],["💮","white flower",2,["flower","white"]],["🪷","lotus",2,["beauty","Buddhism","calm","flower","Hinduism","lotus","peace","purity","serenity"]],["🏵️","rosette",2,["plant","rosette"]],["🌹","rose",2,["beauty","elegant","flower","love","plant","red","rose","valentine"]],["🥀","wilted flower",2,["dying","flower","wilted"]],["🌺","hibiscus",2,["flower","hibiscus","plant"]],["🌻","sunflower",2,["flower","outdoors","plant","sun","sunflower"]],["🌼","blossom",2,["blossom","buttercup","dandelion","flower","plant"]],["🌷","tulip",2,["blossom","flower","growth","plant","tulip"]],["🪻","hyacinth",2,["bloom","bluebonnet","flower","hyacinth","indigo","lavender","lilac","lupine","plant","purple","shrub","snapdragon","spring","violet"]],["🌱","seedling",2,["plant","sapling","seedling","sprout","young"]],["🪴","potted plant",2,["decor","grow","house","nurturing","plant","pot","potted"]],["🌲","evergreen tree",2,["christmas","evergreen","forest","pine","tree"]],["🌳","deciduous tree",2,["deciduous","forest","green","habitat","shedding","tree"]],["🌴","palm tree",2,["beach","palm","plant","tree","tropical"]],["🌵","cactus",2,["cactus","desert","drought","nature","plant"]],["🌾","sheaf of rice",2,["ear","grain","grains","plant","rice","sheaf"]],["🌿","herb",2,["herb","leaf","plant"]],["☘️","shamrock",2,["irish","plant","shamrock"]],["🍀","four leaf clover",2,["4","clover","four","four-leaf","irish","leaf","lucky","plant"]],["🍁","maple leaf",2,["falling","leaf","maple"]],["🍂","fallen leaf",2,["autumn","fall","fallen","falling","leaf"]],["🍃","leaf fluttering in wind",2,["blow","flutter","fluttering","leaf","wind"]],["🪹","empty nest",2,["branch","empty","home","nest","nesting"]],["🪺","nest with eggs",2,["bird","branch","egg","eggs","nest","nesting"]],["🍄","mushroom",2,["fungus","mushroom","toadstool"]],["","leafless tree",2,["bare","barren","branches","dead","drought","leafless","tree","trunk","winter","wood"]],["🍇","grapes",3,["Dionysus","fruit","grape","grapes"]],["🍈","melon",3,["cantaloupe","fruit","melon"]],["🍉","watermelon",3,["fruit","watermelon"]],["🍊","tangerine",3,["c","citrus","fruit","nectarine","orange","tangerine","vitamin"]],["🍋","lemon",3,["citrus","fruit","lemon","sour"]],["🍋🟩","lime",3,["acidity","citrus","cocktail","fruit","garnish","key","lime","margarita","mojito","refreshing","salsa","sour","tangy","tequila","tropical","zest"]],["🍌","banana",3,["banana","fruit","potassium"]],["🍍","pineapple",3,["colada","fruit","pina","pineapple","tropical"]],["🥭","mango",3,["food","fruit","mango","tropical"]],["🍎","red apple",3,["apple","diet","food","fruit","health","red","ripe"]],["🍏","green apple",3,["apple","fruit","green"]],["🍐","pear",3,["fruit","pear"]],["🍑","peach",3,["fruit","peach"]],["🍒","cherries",3,["berries","cherries","cherry","fruit","red"]],["🍓","strawberry",3,["berry","fruit","strawberry"]],["🫐","blueberries",3,["berries","berry","bilberry","blue","blueberries","blueberry","food","fruit"]],["🥝","kiwi fruit",3,["food","fruit","kiwi"]],["🍅","tomato",3,["food","fruit","tomato","vegetable"]],["🫒","olive",3,["food","olive"]],["🥥","coconut",3,["coconut","colada","palm","piña"]],["🥑","avocado",3,["avocado","food","fruit"]],["🍆","eggplant",3,["aubergine","eggplant","vegetable"]],["🥔","potato",3,["food","potato","vegetable"]],["🥕","carrot",3,["carrot","food","vegetable"]],["🌽","ear of corn",3,["corn","crops","ear","farm","maize","maze"]],["🌶️","hot pepper",3,["hot","pepper"]],["🫑","bell pepper",3,["bell","capsicum","food","pepper","vegetable"]],["🥒","cucumber",3,["cucumber","food","pickle","vegetable"]],["","pickle",3,[]],["🥬","leafy green",3,["bok","burgers","cabbage","choy","green","kale","leafy","lettuce","salad"]],["🥦","broccoli",3,["broccoli","cabbage","wild"]],["🧄","garlic",3,["flavoring","garlic"]],["🧅","onion",3,["flavoring","onion"]],["🥜","peanuts",3,["food","nut","peanut","peanuts","vegetable"]],["🫘","beans",3,["beans","food","kidney","legume","small"]],["🌰","chestnut",3,["almond","chestnut","plant"]],["🫚","ginger root",3,["beer","ginger","health","herb","natural","root","spice"]],["🫛","pea pod",3,["beans","beanstalk","edamame","legume","pea","pod","soybean","vegetable","veggie"]],["🍄🟫","brown mushroom",3,["food","fungi","fungus","mushroom","nature","pizza","portobello","shiitake","shroom","spore","sprout","toppings","truffle","vegetable","vegetarian","veggie"]],["","root vegetable",3,["beet","food","garden","radish","root","salad","turnip","vegetable","vegetarian"]],["🍞","bread",3,["bread","carbs","food","grain","loaf","restaurant","toast","wheat"]],["🥐","croissant",3,["bread","breakfast","crescent","croissant","food","french","roll"]],["🥖","baguette bread",3,["baguette","bread","food","french"]],["🫓","flatbread",3,["arepa","bread","flatbread","food","gordita","lavash","naan","pita"]],["🥨","pretzel",3,["convoluted","pretzel","twisted"]],["🥯","bagel",3,["bagel","bakery","bread","breakfast","schmear"]],["🥞","pancakes",3,["breakfast","crêpe","food","hotcake","pancake","pancakes"]],["🧇","waffle",3,["breakfast","indecisive","iron","waffle"]],["🧀","cheese wedge",3,["cheese","wedge"]],["🍖","meat on bone",3,["bone","meat"]],["🍗","poultry leg",3,["bone","chicken","drumstick","hungry","leg","poultry","turkey"]],["🥩","cut of meat",3,["chop","cut","lambchop","meat","porkchop","red","steak"]],["🥓","bacon",3,["bacon","breakfast","food","meat"]],["🍔","hamburger",3,["burger","eat","fast","food","hamburger","hungry"]],["🍟","french fries",3,["fast","food","french","fries"]],["🍕","pizza",3,["cheese","food","hungry","pepperoni","pizza","slice"]],["🌭","hot dog",3,["dog","frankfurter","hot","hotdog","sausage"]],["🥪","sandwich",3,["bread","sandwich"]],["🌮","taco",3,["mexican","taco"]],["🌯","burrito",3,["burrito","mexican","wrap"]],["🫔","tamale",3,["food","mexican","pamonha","tamale","wrapped"]],["🥙","stuffed flatbread",3,["falafel","flatbread","food","gyro","kebab","stuffed"]],["🧆","falafel",3,["chickpea","falafel","meatball"]],["🥚","egg",3,["breakfast","egg","food"]],["🍳","cooking",3,["breakfast","cooking","easy","egg","fry","frying","over","pan","restaurant","side","sunny","up"]],["🥘","shallow pan of food",3,["casserole","food","paella","pan","shallow"]],["🍲","pot of food",3,["food","pot","soup","stew"]],["🫕","fondue",3,["cheese","chocolate","fondue","food","melted","pot","ski"]],["🥣","bowl with spoon",3,["bowl","breakfast","cereal","congee","oatmeal","porridge","spoon"]],["🥗","green salad",3,["food","green","salad"]],["🍿","popcorn",3,["corn","movie","pop","popcorn"]],["🧈","butter",3,["butter","dairy"]],["🧂","salt",3,["condiment","flavor","mad","salt","salty","shaker","taste","upset"]],["🥫","canned food",3,["can","canned","food"]],["🍱","bento box",3,["bento","box","food"]],["🍘","rice cracker",3,["cracker","food","rice"]],["🍙","rice ball",3,["ball","food","Japanese","rice"]],["🍚","cooked rice",3,["cooked","food","rice"]],["🍛","curry rice",3,["curry","food","rice"]],["🍜","steaming bowl",3,["bowl","chopsticks","food","noodle","pho","ramen","soup","steaming"]],["🍝","spaghetti",3,["food","meatballs","pasta","restaurant","spaghetti"]],["🍠","roasted sweet potato",3,["food","potato","roasted","sweet"]],["🍢","oden",3,["food","kebab","oden","restaurant","seafood","skewer","stick"]],["🍣","sushi",3,["food","sushi"]],["🍤","fried shrimp",3,["fried","prawn","shrimp","tempura"]],["🍥","fish cake with swirl",3,["cake","fish","food","pastry","restaurant","swirl"]],["🥮","moon cake",3,["autumn","cake","festival","moon","yuèbǐng"]],["🍡","dango",3,["dango","dessert","Japanese","skewer","stick","sweet"]],["🥟","dumpling",3,["dumpling","empanada","gyōza","jiaozi","pierogi","potsticker"]],["🥠","fortune cookie",3,["cookie","fortune","prophecy"]],["🥡","takeout box",3,["box","chopsticks","delivery","food","oyster","pail","takeout"]],["🍦","soft ice cream",3,["cream","dessert","food","ice","icecream","restaurant","serve","soft","sweet"]],["🍧","shaved ice",3,["dessert","ice","restaurant","shaved","sweet"]],["🍨","ice cream",3,["cream","dessert","food","ice","restaurant","sweet"]],["🍩","doughnut",3,["breakfast","dessert","donut","doughnut","food","sweet"]],["🍪","cookie",3,["chip","chocolate","cookie","dessert","sweet"]],["🎂","birthday cake",3,["bday","birthday","cake","celebration","dessert","happy","pastry","sweet"]],["🍰","shortcake",3,["cake","dessert","pastry","shortcake","slice","sweet"]],["🧁","cupcake",3,["bakery","cupcake","dessert","sprinkles","sugar","sweet","treat"]],["🥧","pie",3,["apple","filling","fruit","meat","pastry","pie","pumpkin","slice"]],["🍫","chocolate bar",3,["bar","candy","chocolate","dessert","halloween","sweet","tooth"]],["🍬","candy",3,["candy","cavities","dessert","halloween","restaurant","sweet","tooth","wrapper"]],["🍭","lollipop",3,["candy","dessert","food","lollipop","restaurant","sweet"]],["🍮","custard",3,["custard","dessert","pudding","sweet"]],["🍯","honey pot",3,["barrel","bear","food","honey","honeypot","jar","pot","sweet"]],["🍼","baby bottle",3,["babies","baby","birth","born","bottle","drink","infant","milk","newborn"]],["🥛","glass of milk",3,["drink","glass","milk"]],["☕","hot beverage",3,["beverage","cafe","caffeine","chai","coffee","drink","hot","morning","steaming","tea"]],["🫖","teapot",3,["brew","drink","food","pot","tea","teapot"]],["🍵","teacup without handle",3,["beverage","cup","drink","handle","oolong","tea","teacup"]],["🍶","sake",3,["bar","beverage","bottle","cup","drink","restaurant","sake"]],["🍾","bottle with popping cork",3,["bar","bottle","cork","drink","popping"]],["🍷","wine glass",3,["alcohol","bar","beverage","booze","club","drink","drinking","drinks","glass","restaurant","wine"]],["🍸","cocktail glass",3,["alcohol","bar","booze","club","cocktail","drink","drinking","drinks","glass","mad","martini","men"]],["🍹","tropical drink",3,["alcohol","bar","booze","club","cocktail","drink","drinking","drinks","drunk","mai","party","tai","tropical","tropics"]],["🍺","beer mug",3,["alcohol","ale","bar","beer","booze","drink","drinking","drinks","mug","octoberfest","oktoberfest","pint","stein","summer"]],["🍻","clinking beer mugs",3,["alcohol","bar","beer","booze","bottoms","cheers","clink","clinking","drinking","drinks","mugs"]],["🥂","clinking glasses",3,["celebrate","clink","clinking","drink","glass","glasses"]],["🥃","tumbler glass",3,["glass","liquor","scotch","shot","tumbler","whiskey","whisky"]],["🫗","pouring liquid",3,["accident","drink","empty","glass","liquid","oops","pour","pouring","spill","water"]],["🥤","cup with straw",3,["cup","drink","juice","malt","soda","soft","straw","water"]],["🧋","bubble tea",3,["boba","bubble","food","milk","pearl","tea"]],["🧃","beverage box",3,["beverage","box","juice","straw","sweet"]],["🧉","mate",3,["drink","mate"]],["🧊","ice",3,["cold","cube","ice","iceberg"]],["🥢","chopsticks",3,["chopsticks","hashi","jeotgarak","kuaizi"]],["🍽️","fork and knife with plate",3,["cooking","dinner","eat","fork","knife","plate"]],["🍴","fork and knife",3,["breakfast","breaky","cooking","cutlery","delicious","dinner","eat","feed","food","fork","hungry","knife","lunch","restaurant","yum","yummy"]],["🥄","spoon",3,["eat","spoon","tableware"]],["🔪","kitchen knife",3,["chef","cooking","hocho","kitchen","knife","tool","weapon"]],["🫙","jar",3,["condiment","container","empty","jar","nothing","sauce","store"]],["🏺","amphora",3,["amphora","Aquarius","cooking","drink","jug","tool","weapon","zodiac"]],["🌍","globe showing Europe-Africa",4,["Africa","earth","Europe","Europe-Africa","globe","showing","world"]],["🌎","globe showing Americas",4,["Americas","earth","globe","showing","world"]],["🌏","globe showing Asia-Australia",4,["Asia","Asia-Australia","Australia","earth","globe","showing","world"]],["🌐","globe with meridians",4,["earth","globe","internet","meridians","web","world","worldwide"]],["🗺️","world map",4,["map","world"]],["🗾","map of Japan",4,["Japan","map"]],["🧭","compass",4,["compass","direction","magnetic","navigation","orienteering"]],["🏔️","snow-capped mountain",4,["cold","mountain","snow","snow-capped"]],["⛰️","mountain",4,["mountain"]],["","landslide",4,["avalanche","danger","disaster","earthquake","mountain","mudslide","rocks"]],["🌋","volcano",4,["eruption","mountain","nature","volcano"]],["🗻","mount fuji",4,["fuji","mount","mountain","nature"]],["🏕️","camping",4,["camping"]],["🏖️","beach with umbrella",4,["beach","umbrella"]],["🏜️","desert",4,["desert"]],["🏝️","desert island",4,["desert","island"]],["🏞️","national park",4,["national","park"]],["🏟️","stadium",4,["stadium"]],["🏛️","classical building",4,["building","classical"]],["🏗️","building construction",4,["building","construction","crane"]],["🧱","brick",4,["brick","bricks","clay","mortar","wall"]],["🪨","rock",4,["boulder","heavy","rock","solid","stone","tough"]],["🪵","wood",4,["log","lumber","timber","wood"]],["🛖","hut",4,["home","house","hut","roundhouse","shelter","yurt"]],["🏘️","houses",4,["house","houses"]],["🏚️","derelict house",4,["derelict","home","house"]],["🏠","house",4,["building","country","heart","home","house","ranch","settle","simple","suburban","suburbia","where"]],["🏡","house with garden",4,["building","country","garden","heart","home","house","ranch","settle","simple","suburban","suburbia","where"]],["🏢","office building",4,["building","city","cubical","job","office"]],["🏣","Japanese post office",4,["building","Japanese","office","post"]],["🏤","post office",4,["building","European","office","post"]],["🏥","hospital",4,["building","doctor","hospital","medicine"]],["🏦","bank",4,["bank","building"]],["🏨","hotel",4,["building","hotel"]],["🏩","love hotel",4,["building","hotel","love"]],["🏪","convenience store",4,["24","building","convenience","hours","store"]],["🏫","school",4,["building","school"]],["🏬","department store",4,["building","department","store"]],["🏭","factory",4,["building","factory"]],["🏯","Japanese castle",4,["building","castle","Japanese"]],["🏰","castle",4,["building","castle","European"]],["💒","wedding",4,["chapel","hitched","nuptials","romance","wedding"]],["🗼","Tokyo tower",4,["Tokyo","tower"]],["🗽","Statue of Liberty",4,["liberty","Liberty","new","ny","nyc","statue","Statue","york"]],["⛪","church",4,["bless","chapel","Christian","church","cross","religion"]],["🕌","mosque",4,["islam","masjid","mosque","Muslim","religion"]],["🛕","hindu temple",4,["hindu","temple"]],["🕍","synagogue",4,["Jew","Jewish","judaism","religion","synagogue","temple"]],["⛩️","shinto shrine",4,["religion","shinto","shrine"]],["🕋","kaaba",4,["hajj","islam","kaaba","Muslim","religion","umrah"]],["⛲","fountain",4,["fountain"]],["⛺","tent",4,["camping","tent"]],["🌁","foggy",4,["fog","foggy"]],["🌃","night with stars",4,["night","star","stars"]],["🏙️","cityscape",4,["city","cityscape"]],["🌄","sunrise over mountains",4,["morning","mountains","over","sun","sunrise"]],["🌅","sunrise",4,["morning","nature","sun","sunrise"]],["🌆","cityscape at dusk",4,["at","building","city","cityscape","dusk","evening","landscape","sun","sunset"]],["🌇","sunset",4,["building","dusk","sun","sunset"]],["🌉","bridge at night",4,["at","bridge","night"]],["♨️","hot springs",4,["hot","hotsprings","springs","steaming"]],["🎠","carousel horse",4,["carousel","entertainment","horse"]],["🛝","playground slide",4,["amusement","park","play","playground","playing","slide","sliding","theme"]],["🎡","ferris wheel",4,["amusement","ferris","park","theme","wheel"]],["🎢","roller coaster",4,["amusement","coaster","park","roller","theme"]],["💈","barber pole",4,["barber","cut","fresh","haircut","pole","shave"]],["🎪","circus tent",4,["circus","tent"]],["🚂","locomotive",4,["caboose","engine","locomotive","railway","steam","train","trains","travel"]],["🚃","railway car",4,["car","electric","railway","train","tram","travel","trolleybus"]],["🚄","high-speed train",4,["high-speed","railway","shinkansen","speed","train"]],["🚅","bullet train",4,["bullet","high-speed","nose","railway","shinkansen","speed","train","travel"]],["🚆","train",4,["arrived","choo","railway","train"]],["🚇","metro",4,["metro","subway","travel"]],["🚈","light rail",4,["arrived","light","monorail","rail","railway"]],["🚉","station",4,["railway","station","train"]],["🚊","tram",4,["tram","trolleybus"]],["🚝","monorail",4,["monorail","vehicle"]],["🚞","mountain railway",4,["car","mountain","railway","trip"]],["🚋","tram car",4,["bus","car","tram","trolley","trolleybus"]],["🚌","bus",4,["bus","school","vehicle"]],["🚍","oncoming bus",4,["bus","cars","oncoming"]],["🚎","trolleybus",4,["bus","tram","trolley","trolleybus"]],["🚐","minibus",4,["bus","drive","minibus","van","vehicle"]],["🚑","ambulance",4,["ambulance","emergency","vehicle"]],["🚒","fire engine",4,["engine","fire","truck"]],["🚓","police car",4,["5–0","car","cops","patrol","police"]],["🚔","oncoming police car",4,["car","oncoming","police"]],["🚕","taxi",4,["cab","cabbie","car","drive","taxi","vehicle","yellow"]],["🚖","oncoming taxi",4,["cab","cabbie","cars","drove","hail","oncoming","taxi","yellow"]],["🚗","automobile",4,["automobile","car","driving","vehicle"]],["🚘","oncoming automobile",4,["automobile","car","cars","drove","oncoming","vehicle"]],["🚙","sport utility vehicle",4,["car","drive","recreational","sport","sportutility","utility","vehicle"]],["🛻","pickup truck",4,["automobile","car","flatbed","pick-up","pickup","transportation","truck"]],["🚚","delivery truck",4,["car","delivery","drive","truck","vehicle"]],["🚛","articulated lorry",4,["articulated","car","drive","lorry","move","semi","truck","vehicle"]],["🚜","tractor",4,["tractor","vehicle"]],["🏎️","racing car",4,["car","racing","zoom"]],["🏍️","motorcycle",4,["motorcycle","racing"]],["🛵","motor scooter",4,["motor","scooter"]],["🦽","manual wheelchair",4,["accessibility","manual","wheelchair"]],["🦼","motorized wheelchair",4,["accessibility","motorized","wheelchair"]],["🛺","auto rickshaw",4,["auto","rickshaw","tuk"]],["🚲","bicycle",4,["bicycle","bike","class","cycle","cycling","cyclist","gang","ride","spin","spinning"]],["🛴","kick scooter",4,["kick","scooter"]],["🛹","skateboard",4,["board","skate","skateboard","skater","wheels"]],["🛼","roller skate",4,["blades","roller","skate","skates","sport"]],["🚏","bus stop",4,["bus","busstop","stop"]],["🛣️","motorway",4,["highway","motorway","road"]],["🛤️","railway track",4,["railway","track","train"]],["🛢️","oil drum",4,["drum","oil"]],["⛽","fuel pump",4,["diesel","fuel","fuelpump","gas","gasoline","pump","station"]],["🛞","wheel",4,["car","circle","tire","turn","vehicle","wheel"]],["🚨","police car light",4,["alarm","alert","beacon","car","emergency","light","police","revolving","siren"]],["🚥","horizontal traffic light",4,["horizontal","intersection","light","signal","stop","stoplight","traffic"]],["🚦","vertical traffic light",4,["drove","intersection","light","signal","stop","stoplight","traffic","vertical"]],["🛑","stop sign",4,["octagonal","sign","stop"]],["🚧","construction",4,["barrier","construction"]],["","lighthouse",4,[]],["⚓","anchor",4,["anchor","ship","tool"]],["🛟","ring buoy",4,["buoy","float","life","lifesaver","preserver","rescue","ring","safety","save","saver","swim"]],["⛵","sailboat",4,["boat","resort","sailboat","sailing","sea","yacht"]],["🛶","canoe",4,["boat","canoe"]],["🚤","speedboat",4,["billionaire","boat","lake","luxury","millionaire","speedboat","summer","travel"]],["🛳️","passenger ship",4,["passenger","ship"]],["⛴️","ferry",4,["boat","ferry","passenger"]],["🛥️","motor boat",4,["boat","motor","motorboat"]],["🚢","ship",4,["boat","passenger","ship","travel"]],["✈️","airplane",4,["aeroplane","airplane","fly","flying","jet","plane","travel"]],["🛩️","small airplane",4,["aeroplane","airplane","plane","small"]],["🛫","airplane departure",4,["aeroplane","airplane","check-in","departure","departures","plane"]],["🛬","airplane arrival",4,["aeroplane","airplane","arrival","arrivals","arriving","landing","plane"]],["🪂","parachute",4,["hang-glide","parachute","parasail","skydive"]],["💺","seat",4,["chair","seat"]],["🚁","helicopter",4,["copter","helicopter","roflcopter","travel","vehicle"]],["🚟","suspension railway",4,["railway","suspension"]],["🚠","mountain cableway",4,["cable","cableway","gondola","lift","mountain","ski"]],["🚡","aerial tramway",4,["aerial","cable","car","gondola","ropeway","tramway"]],["🛰️","satellite",4,["satellite","space"]],["🚀","rocket",4,["launch","rocket","rockets","space","travel"]],["🛸","flying saucer",4,["aliens","extra","flying","saucer","terrestrial","UFO"]],["🛎️","bellhop bell",4,["bell","bellhop","hotel"]],["🧳","luggage",4,["bag","luggage","packing","roller","suitcase","travel"]],["⌛","hourglass done",4,["done","hourglass","sand","time","timer"]],["⏳","hourglass not done",4,["done","flowing","hourglass","hours","not","sand","timer","waiting","yolo"]],["⌚","watch",4,["clock","time","watch"]],["⏰","alarm clock",4,["alarm","clock","hours","hrs","late","time","waiting"]],["⏱️","stopwatch",4,["clock","stopwatch","time"]],["⏲️","timer clock",4,["clock","timer"]],["🕰️","mantelpiece clock",4,["clock","mantelpiece","time"]],["🕛","twelve o’clock",4,["12","12:00","clock","o’clock","time","twelve"]],["🕧","twelve-thirty",4,["12","12:30","30","clock","thirty","time","twelve","twelve-thirty"]],["🕐","one o’clock",4,["1","1:00","clock","o’clock","one","time"]],["🕜","one-thirty",4,["1","1:30","30","clock","one","one-thirty","thirty","time"]],["🕑","two o’clock",4,["2","2:00","clock","o’clock","time","two"]],["🕝","two-thirty",4,["2","2:30","30","clock","thirty","time","two","two-thirty"]],["🕒","three o’clock",4,["3","3:00","clock","o’clock","three","time"]],["🕞","three-thirty",4,["3","3:30","30","clock","thirty","three","three-thirty","time"]],["🕓","four o’clock",4,["4","4:00","clock","four","o’clock","time"]],["🕟","four-thirty",4,["30","4","4:30","clock","four","four-thirty","thirty","time"]],["🕔","five o’clock",4,["5","5:00","clock","five","o’clock","time"]],["🕠","five-thirty",4,["30","5","5:30","clock","five","five-thirty","thirty","time"]],["🕕","six o’clock",4,["6","6:00","clock","o’clock","six","time"]],["🕡","six-thirty",4,["30","6","6:30","clock","six","six-thirty","thirty"]],["🕖","seven o’clock",4,["0","7","7:00","clock","o’clock","seven"]],["🕢","seven-thirty",4,["30","7","7:30","clock","seven","seven-thirty","thirty"]],["🕗","eight o’clock",4,["8","8:00","clock","eight","o’clock","time"]],["🕣","eight-thirty",4,["30","8","8:30","clock","eight","eight-thirty","thirty","time"]],["🕘","nine o’clock",4,["9","9:00","clock","nine","o’clock","time"]],["🕤","nine-thirty",4,["30","9","9:30","clock","nine","nine-thirty","thirty","time"]],["🕙","ten o’clock",4,["0","10","10:00","clock","o’clock","ten"]],["🕥","ten-thirty",4,["10","10:30","30","clock","ten","ten-thirty","thirty","time"]],["🕚","eleven o’clock",4,["11","11:00","clock","eleven","o’clock","time"]],["🕦","eleven-thirty",4,["11","11:30","30","clock","eleven","eleven-thirty","thirty","time"]],["🌑","new moon",4,["dark","moon","new","space"]],["🌒","waxing crescent moon",4,["crescent","dreams","moon","space","waxing"]],["🌓","first quarter moon",4,["first","moon","quarter","space"]],["🌔","waxing gibbous moon",4,["gibbous","moon","space","waxing"]],["🌕","full moon",4,["full","moon","space"]],["🌖","waning gibbous moon",4,["gibbous","moon","space","waning"]],["🌗","last quarter moon",4,["last","moon","quarter","space"]],["🌘","waning crescent moon",4,["crescent","moon","space","waning"]],["🌙","crescent moon",4,["crescent","moon","ramadan","space"]],["🌚","new moon face",4,["face","moon","new","space"]],["🌛","first quarter moon face",4,["face","first","moon","quarter","space"]],["🌜","last quarter moon face",4,["dreams","face","last","moon","quarter"]],["🌡️","thermometer",4,["thermometer","weather"]],["☀️","sun",4,["bright","rays","space","sun","sunny","weather"]],["🌝","full moon face",4,["bright","face","full","moon"]],["🌞","sun with face",4,["beach","bright","day","face","heat","shine","sun","sunny","sunshine","weather"]],["🪐","ringed planet",4,["planet","ringed","saturn","saturnine"]],["⭐","star",4,["astronomy","medium","star","stars","white"]],["🌟","glowing star",4,["glittery","glow","glowing","night","shining","sparkle","star","win"]],["🌠","shooting star",4,["falling","night","shooting","space","star"]],["🌌","milky way",4,["milky","space","way"]],["☁️","cloud",4,["cloud","weather"]],["⛅","sun behind cloud",4,["behind","cloud","cloudy","sun","weather"]],["⛈️","cloud with lightning and rain",4,["cloud","lightning","rain","thunder","thunderstorm"]],["🌤️","sun behind small cloud",4,["behind","cloud","sun","weather"]],["🌥️","sun behind large cloud",4,["behind","cloud","sun","weather"]],["🌦️","sun behind rain cloud",4,["behind","cloud","rain","sun","weather"]],["🌧️","cloud with rain",4,["cloud","rain","weather"]],["🌨️","cloud with snow",4,["cloud","cold","snow","weather"]],["🌩️","cloud with lightning",4,["cloud","lightning","weather"]],["🌪️","tornado",4,["cloud","tornado","weather","whirlwind"]],["🌫️","fog",4,["cloud","fog","weather"]],["🌬️","wind face",4,["blow","cloud","face","wind"]],["🌀","cyclone",4,["cyclone","dizzy","hurricane","twister","typhoon","weather"]],["🌈","rainbow",4,["gay","genderqueer","glbt","glbtq","lesbian","lgbt","lgbtq","lgbtqia","nature","pride","queer","rain","rainbow","trans","transgender","weather"]],["🌂","closed umbrella",4,["closed","clothing","rain","umbrella"]],["☂️","umbrella",4,["clothing","rain","umbrella"]],["☔","umbrella with rain drops",4,["clothing","drop","drops","rain","umbrella","weather"]],["⛱️","umbrella on ground",4,["ground","rain","sun","umbrella"]],["⚡","high voltage",4,["danger","electric","electricity","high","lightning","nature","thunder","thunderbolt","voltage","zap"]],["❄️","snowflake",4,["cold","snow","snowflake","weather"]],["☃️","snowman",4,["cold","man","snow","snowman"]],["⛄","snowman without snow",4,["cold","man","snow","snowman"]],["☄️","comet",4,["comet","space"]],["","meteor",4,[]],["🔥","fire",4,["af","burn","fire","flame","hot","lit","litaf","tool"]],["💧","droplet",4,["cold","comic","drop","droplet","nature","sad","sweat","tear","water","weather"]],["🌊","water wave",4,["nature","ocean","surf","surfer","surfing","water","wave"]],["🎃","jack-o-lantern",5,["celebration","halloween","jack","jack-o-lantern","lantern","pumpkin"]],["🎄","Christmas tree",5,["celebration","Christmas","tree"]],["🎆","fireworks",5,["boom","celebration","entertainment","fireworks","yolo"]],["🎇","sparkler",5,["boom","celebration","fireworks","sparkle","sparkler"]],["🧨","firecracker",5,["dynamite","explosive","fire","firecracker","fireworks","light","pop","popping","spark"]],["✨","sparkles",5,["*","magic","sparkle","sparkles","star"]],["🎈","balloon",5,["balloon","birthday","celebrate","celebration"]],["🎉","party popper",5,["awesome","birthday","celebrate","celebration","excited","hooray","party","popper","tada","woohoo"]],["🎊","confetti ball",5,["ball","celebrate","celebration","confetti","party","woohoo"]],["🎋","tanabata tree",5,["banner","celebration","Japanese","tanabata","tree"]],["🎍","pine decoration",5,["bamboo","celebration","decoration","Japanese","pine","plant"]],["🎎","Japanese dolls",5,["celebration","doll","dolls","festival","Japanese"]],["🎏","carp streamer",5,["carp","celebration","streamer"]],["🎐","wind chime",5,["bell","celebration","chime","wind"]],["🎑","moon viewing ceremony",5,["celebration","ceremony","moon","viewing"]],["🧧","red envelope",5,["envelope","gift","good","hóngbāo","lai","luck","money","red","see"]],["🎀","ribbon",5,["celebration","ribbon"]],["🎁","wrapped gift",5,["birthday","bow","box","celebration","christmas","gift","present","surprise","wrapped"]],["🎗️","reminder ribbon",5,["celebration","reminder","ribbon"]],["🎟️","admission tickets",5,["admission","ticket","tickets"]],["🎫","ticket",5,["admission","stub","ticket"]],["🎖️","military medal",5,["award","celebration","medal","military"]],["🏆","trophy",5,["champion","champs","prize","slay","sport","trophy","victory","win","winning"]],["🏅","sports medal",5,["award","gold","medal","sports","winner"]],["🥇","1st place medal",5,["1st","first","gold","medal","place"]],["🥈","2nd place medal",5,["2nd","medal","place","second","silver"]],["🥉","3rd place medal",5,["3rd","bronze","medal","place","third"]],["⚽","soccer ball",5,["ball","football","futbol","soccer","sport"]],["⚾","baseball",5,["ball","baseball","sport"]],["🥎","softball",5,["ball","glove","softball","sports","underarm"]],["🏀","basketball",5,["ball","basketball","hoop","sport"]],["🏐","volleyball",5,["ball","game","volleyball"]],["🏈","american football",5,["american","ball","bowl","football","sport","super"]],["🏉","rugby football",5,["ball","football","rugby","sport"]],["🎾","tennis",5,["ball","racquet","sport","tennis"]],["🥏","flying disc",5,["disc","flying","ultimate"]],["🎳","bowling",5,["ball","bowling","game","sport","strike"]],["🏏","cricket game",5,["ball","bat","cricket","game"]],["🏑","field hockey",5,["ball","field","game","hockey","stick"]],["🏒","ice hockey",5,["game","hockey","ice","puck","stick"]],["🥍","lacrosse",5,["ball","goal","lacrosse","sports","stick"]],["🏓","ping pong",5,["ball","bat","game","paddle","ping","pingpong","pong","table","tennis"]],["🏸","badminton",5,["badminton","birdie","game","racquet","shuttlecock"]],["🥊","boxing glove",5,["boxing","glove"]],["🥋","martial arts uniform",5,["arts","judo","karate","martial","taekwondo","uniform"]],["🥅","goal net",5,["goal","net"]],["⛳","flag in hole",5,["flag","golf","hole","sport"]],["⛸️","ice skate",5,["ice","skate","skating"]],["🎣","fishing pole",5,["entertainment","fish","fishing","pole","sport"]],["🤿","diving mask",5,["diving","mask","scuba","snorkeling"]],["🎽","running shirt",5,["athletics","running","sash","shirt"]],["🎿","skis",5,["ski","skis","snow","sport"]],["🛷","sled",5,["luge","sled","sledge","sleigh","snow","toboggan"]],["🥌","curling stone",5,["curling","game","rock","stone"]],["🎯","bullseye",5,["bull","bullseye","dart","direct","entertainment","game","hit","target"]],["🪀","yo-yo",5,["fluctuate","toy","yo-yo"]],["🪁","kite",5,["fly","kite","soar"]],["🔫","water pistol",5,["gun","handgun","pistol","revolver","tool","water","weapon"]],["🎱","pool 8 ball",5,["8","8ball","ball","billiard","eight","game","pool"]],["🔮","crystal ball",5,["ball","crystal","fairy","fairytale","fantasy","fortune","future","magic","tale","tool"]],["🪄","magic wand",5,["magic","magician","wand","witch","wizard"]],["🎮","video game",5,["controller","entertainment","game","video"]],["🕹️","joystick",5,["game","joystick","video","videogame"]],["🎰","slot machine",5,["casino","gamble","gambling","game","machine","slot","slots"]],["🎲","game die",5,["dice","die","entertainment","game"]],["🧩","puzzle piece",5,["clue","interlocking","jigsaw","piece","puzzle"]],["🧸","teddy bear",5,["bear","plaything","plush","stuffed","teddy","toy"]],["🪅","piñata",5,["candy","celebrate","celebration","cinco","de","festive","mayo","party","pinada","pinata","piñata"]],["🪩","mirror ball",5,["ball","dance","disco","glitter","mirror","party"]],["🪆","nesting dolls",5,["babooshka","baboushka","babushka","doll","dolls","matryoshka","nesting","russia"]],["♠️","spade suit",5,["card","game","spade","suit"]],["♥️","heart suit",5,["card","emotion","game","heart","hearts","suit"]],["♦️","diamond suit",5,["card","diamond","game","suit"]],["♣️","club suit",5,["card","club","clubs","game","suit"]],["♟️","chess pawn",5,["chess","dupe","expendable","pawn"]],["🃏","joker",5,["card","game","joker","wildcard"]],["🀄","mahjong red dragon",5,["dragon","game","mahjong","red"]],["🎴","flower playing cards",5,["card","cards","flower","game","Japanese","playing"]],["🎭","performing arts",5,["actor","actress","art","arts","entertainment","mask","performing","theater","theatre","thespian"]],["🖼️","framed picture",5,["art","frame","framed","museum","painting","picture"]],["🎨","artist palette",5,["art","artist","artsy","arty","colorful","creative","entertainment","museum","painter","painting","palette"]],["🧵","thread",5,["needle","sewing","spool","string","thread"]],["🪡","sewing needle",5,["embroidery","needle","sew","sewing","stitches","sutures","tailoring","thread"]],["🧶","yarn",5,["ball","crochet","knit","yarn"]],["🪢","knot",5,["cord","knot","rope","tangled","tie","twine","twist"]],["👓","glasses",6,["clothing","eye","eyeglasses","eyewear","glasses"]],["🕶️","sunglasses",6,["dark","eye","eyewear","glasses","sunglasses"]],["🥽","goggles",6,["dive","eye","goggles","protection","scuba","swimming","welding"]],["🥼","lab coat",6,["clothes","coat","doctor","dr","experiment","jacket","lab","scientist","white"]],["🦺","safety vest",6,["emergency","safety","vest"]],["👔","necktie",6,["clothing","employed","necktie","serious","shirt","tie"]],["👕","t-shirt",6,["blue","casual","clothes","clothing","collar","dressed","shirt","shopping","t-shirt","tshirt","weekend"]],["👖","jeans",6,["blue","casual","clothes","clothing","denim","dressed","jeans","pants","shopping","trousers","weekend"]],["🧣","scarf",6,["bundle","cold","neck","scarf","up"]],["🧤","gloves",6,["gloves","hand"]],["🧥","coat",6,["brr","bundle","coat","cold","jacket","up"]],["🧦","socks",6,["socks","stocking"]],["👗","dress",6,["clothes","clothing","dress","dressed","fancy","shopping"]],["👘","kimono",6,["clothing","comfortable","kimono"]],["🥻","sari",6,["clothing","dress","sari"]],["🩱","one-piece swimsuit",6,["bathing","one-piece","suit","swimsuit"]],["🩲","briefs",6,["bathing","briefs","one-piece","suit","swimsuit","underwear"]],["🩳","shorts",6,["bathing","pants","shorts","suit","swimsuit","underwear"]],["👙","bikini",6,["bathing","beach","bikini","clothing","pool","suit","swim"]],["👚","woman’s clothes",6,["blouse","clothes","clothing","collar","dress","dressed","lady","shirt","shopping","woman","woman’s"]],["🪭","folding hand fan",6,["clack","clap","cool","cooling","dance","fan","flirt","flutter","folding","hand","hot","shy"]],["👛","purse",6,["clothes","clothing","coin","dress","fancy","handbag","purse","shopping"]],["👜","handbag",6,["bag","clothes","clothing","dress","handbag","lady","purse","shopping"]],["👝","clutch bag",6,["bag","clothes","clothing","clutch","dress","handbag","pouch","purse"]],["🛍️","shopping bags",6,["bag","bags","hotel","shopping"]],["🎒","backpack",6,["backpack","backpacking","bag","bookbag","education","rucksack","satchel","school"]],["🩴","thong sandal",6,["beach","flip","flop","sandal","sandals","shoe","thong","thongs","zōri"]],["👞","man’s shoe",6,["brown","clothes","clothing","feet","foot","kick","man","man’s","shoe","shoes","shopping"]],["👟","running shoe",6,["athletic","clothes","clothing","fast","kick","running","shoe","shoes","shopping","sneaker","tennis"]],["🥾","hiking boot",6,["backpacking","boot","brown","camping","hiking","outdoors","shoe"]],["🥿","flat shoe",6,["ballet","comfy","flat","flats","shoe","slip-on","slipper"]],["👠","high-heeled shoe",6,["clothes","clothing","dress","fashion","heel","heels","high-heeled","shoe","shoes","shopping","stiletto","woman"]],["👡","woman’s sandal",6,["clothing","sandal","shoe","woman","woman’s"]],["🩰","ballet shoes",6,["ballet","dance","shoes"]],["👢","woman’s boot",6,["boot","clothes","clothing","dress","shoe","shoes","shopping","woman","woman’s"]],["🪮","hair pick",6,["Afro","comb","groom","hair","pick"]],["👑","crown",6,["clothing","crown","family","king","medieval","queen","royal","royalty","win"]],["👒","woman’s hat",6,["clothes","clothing","garden","hat","hats","party","woman","woman’s"]],["🎩","top hat",6,["clothes","clothing","fancy","formal","hat","magic","top","tophat"]],["🎓","graduation cap",6,["cap","celebration","clothing","education","graduation","hat","scholar"]],["🧢","billed cap",6,["baseball","bent","billed","cap","dad","hat"]],["🪖","military helmet",6,["army","helmet","military","soldier","war","warrior"]],["⛑️","rescue worker’s helmet",6,["aid","cross","face","hat","helmet","rescue","worker’s"]],["📿","prayer beads",6,["beads","clothing","necklace","prayer","religion"]],["💄","lipstick",6,["cosmetics","date","lipstick","makeup"]],["💍","ring",6,["diamond","engaged","engagement","married","ring","romance","shiny","sparkling","wedding"]],["💎","gem stone",6,["diamond","engagement","gem","jewel","money","romance","stone","wedding"]],["🔇","muted speaker",6,["mute","muted","quiet","silent","sound","speaker"]],["🔈","speaker low volume",6,["low","soft","sound","speaker","volume"]],["🔉","speaker medium volume",6,["medium","sound","speaker","volume"]],["🔊","speaker high volume",6,["high","loud","music","sound","speaker","volume"]],["📢","loudspeaker",6,["address","communication","loud","loudspeaker","public","sound"]],["📣","megaphone",6,["cheering","megaphone","sound"]],["📯","postal horn",6,["horn","post","postal"]],["🔔","bell",6,["bell","break","church","sound"]],["🔕","bell with slash",6,["bell","forbidden","mute","no","not","prohibited","quiet","silent","slash","sound"]],["🎼","musical score",6,["music","musical","note","score"]],["🎵","musical note",6,["music","musical","note","sound"]],["🎶","musical notes",6,["music","musical","note","notes","sound"]],["🎙️","studio microphone",6,["mic","microphone","music","studio"]],["🎚️","level slider",6,["level","music","slider"]],["🎛️","control knobs",6,["control","knobs","music"]],["🎤","microphone",6,["karaoke","mic","microphone","music","sing","sound"]],["🎧","headphone",6,["earbud","headphone","sound"]],["📻","radio",6,["entertainment","radio","tbt","video"]],["🎷","saxophone",6,["instrument","music","sax","saxophone"]],["🎺","trumpet",6,["instrument","music","trumpet"]],["","trombone",6,["brass","instrument","jazz","music","sad","slide"]],["🪗","accordion",6,["accordion","box","concertina","instrument","music","squeeze","squeezebox"]],["🎸","guitar",6,["guitar","instrument","music","strat"]],["🎹","musical keyboard",6,["instrument","keyboard","music","musical","piano"]],["🎻","violin",6,["instrument","music","violin"]],["🪕","banjo",6,["banjo","music","stringed"]],["🥁","drum",6,["drum","drumsticks","music"]],["🪘","long drum",6,["beat","conga","drum","instrument","long","rhythm"]],["🪇","maracas",6,["cha","dance","instrument","maracas","music","party","percussion","rattle","shake","shaker"]],["🪈","flute",6,["band","fife","flautist","flute","instrument","marching","music","orchestra","piccolo","pipe","recorder","woodwind"]],["","harp",6,["cupid","harp","instrument","love","music","orchestra"]],["📱","mobile phone",6,["cell","communication","mobile","phone","telephone"]],["📲","mobile phone with arrow",6,["arrow","build","call","cell","communication","mobile","phone","receive","telephone"]],["☎️","telephone",6,["phone","telephone"]],["📞","telephone receiver",6,["communication","phone","receiver","telephone","voip"]],["📟","pager",6,["communication","pager"]],["📠","fax machine",6,["communication","fax","machine"]],["🔋","battery",6,["battery"]],["🪫","low battery",6,["battery","drained","electronic","energy","low","power"]],["🔌","electric plug",6,["electric","electricity","plug"]],["💻","laptop",6,["computer","laptop","office","pc","personal"]],["🖥️","desktop computer",6,["computer","desktop","monitor"]],["🖨️","printer",6,["computer","printer"]],["⌨️","keyboard",6,["computer","keyboard"]],["🖱️","computer mouse",6,["computer","mouse"]],["🖲️","trackball",6,["computer","trackball"]],["💽","computer disk",6,["computer","disk","minidisk","optical"]],["💾","floppy disk",6,["computer","disk","floppy"]],["💿","optical disk",6,["blu-ray","CD","computer","disk","dvd","optical"]],["📀","dvd",6,["Blu-ray","cd","computer","disk","DVD","optical"]],["🧮","abacus",6,["abacus","calculation","calculator"]],["🎥","movie camera",6,["bollywood","camera","cinema","film","hollywood","movie","record"]],["🎞️","film frames",6,["cinema","film","frames","movie"]],["📽️","film projector",6,["cinema","film","movie","projector","video"]],["🎬","clapper board",6,["action","board","clapper","movie"]],["📺","television",6,["television","tv","video"]],["📷","camera",6,["camera","photo","selfie","snap","tbt","trip","video"]],["📸","camera with flash",6,["camera","flash","video"]],["📹","video camera",6,["camcorder","camera","tbt","video"]],["📼","videocassette",6,["old","school","tape","vcr","vhs","video","videocassette"]],["🔍","magnifying glass tilted left",6,["glass","lab","left","left-pointing","magnifying","science","search","tilted","tool"]],["🔎","magnifying glass tilted right",6,["contact","glass","lab","magnifying","right","right-pointing","science","search","tilted","tool"]],["🕯️","candle",6,["candle","light"]],["💡","light bulb",6,["bulb","comic","electric","idea","light"]],["🔦","flashlight",6,["electric","flashlight","light","tool","torch"]],["🏮","red paper lantern",6,["bar","lantern","light","paper","red","restaurant"]],["🪔","diya lamp",6,["diya","lamp","light","oil"]],["📔","notebook with decorative cover",6,["book","cover","decorated","decorative","education","notebook","school","writing"]],["📕","closed book",6,["book","closed","education"]],["📖","open book",6,["book","education","fantasy","knowledge","library","novels","open","reading"]],["📗","green book",6,["book","education","fantasy","green","library","reading"]],["📘","blue book",6,["blue","book","education","fantasy","library","reading"]],["📙","orange book",6,["book","education","fantasy","library","orange","reading"]],["📚","books",6,["book","books","education","fantasy","knowledge","library","novels","reading","school","study"]],["📓","notebook",6,["notebook"]],["📒","ledger",6,["ledger","notebook"]],["📃","page with curl",6,["curl","document","page","paper"]],["📜","scroll",6,["paper","scroll"]],["📄","page facing up",6,["document","facing","page","paper","up"]],["📰","newspaper",6,["communication","news","newspaper","paper"]],["🗞️","rolled-up newspaper",6,["news","newspaper","paper","rolled","rolled-up"]],["📑","bookmark tabs",6,["bookmark","mark","marker","tabs"]],["🔖","bookmark",6,["bookmark","mark"]],["🏷️","label",6,["label","tag"]],["🪙","coin",6,["coin","dollar","euro","gold","metal","money","rich","silver","treasure"]],["💰","money bag",6,["bag","bank","bet","billion","cash","cost","dollar","gold","million","money","moneybag","paid","paying","pot","rich","win"]],["","treasure chest",6,["gem","gold","jewels","loot","money","prize","silver","valuables","wealth"]],["💴","yen banknote",6,["bank","banknote","bill","currency","money","note","yen"]],["💵","dollar banknote",6,["bank","banknote","bill","currency","dollar","money","note"]],["💶","euro banknote",6,["100","bank","banknote","bill","currency","euro","money","note","rich"]],["💷","pound banknote",6,["bank","banknote","bill","billion","cash","currency","money","note","pound","pounds"]],["💸","money with wings",6,["bank","banknote","bill","billion","cash","dollar","fly","million","money","note","pay","wings"]],["💳","credit card",6,["bank","card","cash","charge","credit","money","pay"]],["🧾","receipt",6,["accounting","bookkeeping","evidence","invoice","proof","receipt"]],["💹","chart increasing with yen",6,["bank","chart","currency","graph","growth","increasing","market","money","rise","trend","upward","yen"]],["✉️","envelope",6,["e-mail","email","envelope","letter"]],["📧","e-mail",6,["e-mail","email","letter","mail"]],["📨","incoming envelope",6,["delivering","e-mail","email","envelope","incoming","letter","mail","receive","sent"]],["📩","envelope with arrow",6,["arrow","communication","down","e-mail","email","envelope","letter","mail","outgoing","send","sent"]],["📤","outbox tray",6,["box","email","letter","mail","outbox","sent","tray"]],["📥","inbox tray",6,["box","email","inbox","letter","mail","receive","tray","zero"]],["📦","package",6,["box","communication","delivery","package","parcel","shipping"]],["📫","closed mailbox with raised flag",6,["closed","communication","flag","mail","mailbox","postbox","raised"]],["📪","closed mailbox with lowered flag",6,["closed","flag","lowered","mail","mailbox","postbox"]],["📬","open mailbox with raised flag",6,["flag","mail","mailbox","open","postbox","raised"]],["📭","open mailbox with lowered flag",6,["flag","lowered","mail","mailbox","open","postbox"]],["📮","postbox",6,["mail","mailbox","postbox"]],["🗳️","ballot box with ballot",6,["ballot","box"]],["✏️","pencil",6,["pencil"]],["✒️","black nib",6,["black","nib","pen"]],["🖋️","fountain pen",6,["fountain","pen"]],["🖊️","pen",6,["ballpoint","pen"]],["🖌️","paintbrush",6,["paintbrush","painting"]],["🖍️","crayon",6,["crayon"]],["📝","memo",6,["communication","media","memo","notes","pencil"]],["","eraser",6,[]],["💼","briefcase",6,["briefcase","office"]],["📁","file folder",6,["file","folder"]],["📂","open file folder",6,["file","folder","open"]],["🗂️","card index dividers",6,["card","dividers","index"]],["📅","calendar",6,["calendar","date"]],["📆","tear-off calendar",6,["calendar","tear-off"]],["🗒️","spiral notepad",6,["note","notepad","pad","spiral"]],["🗓️","spiral calendar",6,["calendar","pad","spiral"]],["📇","card index",6,["card","index","old","rolodex","school"]],["📈","chart increasing",6,["chart","data","graph","growth","increasing","right","trend","up","upward"]],["📉","chart decreasing",6,["chart","data","decreasing","down","downward","graph","negative","trend"]],["📊","bar chart",6,["bar","chart","data","graph"]],["📋","clipboard",6,["clipboard","do","list","notes"]],["📌","pushpin",6,["collage","pin","pushpin"]],["📍","round pushpin",6,["location","map","pin","pushpin","round"]],["📎","paperclip",6,["paperclip"]],["🖇️","linked paperclips",6,["link","linked","paperclip","paperclips"]],["📏","straight ruler",6,["angle","edge","math","ruler","straight","straightedge"]],["📐","triangular ruler",6,["angle","math","rule","ruler","set","slide","triangle","triangular"]],["✂️","scissors",6,["cut","cutting","paper","scissors","tool"]],["🗃️","card file box",6,["box","card","file"]],["🗄️","file cabinet",6,["cabinet","file","filing","paper"]],["🗑️","wastebasket",6,["can","garbage","trash","waste","wastebasket"]],["🔒","locked",6,["closed","lock","locked","private"]],["🔓","unlocked",6,["cracked","lock","open","unlock","unlocked"]],["🔏","locked with pen",6,["ink","lock","locked","nib","pen","privacy"]],["🔐","locked with key",6,["bike","closed","key","lock","locked","secure"]],["🔑","key",6,["key","keys","lock","major","password","unlock"]],["🗝️","old key",6,["clue","key","lock","old"]],["","net with handle",6,[]],["🔨","hammer",6,["hammer","home","improvement","repairs","tool"]],["🪓","axe",6,["ax","axe","chop","hatchet","split","wood"]],["⛏️","pick",6,["hammer","mining","pick","tool"]],["⚒️","hammer and pick",6,["hammer","pick","tool"]],["🛠️","hammer and wrench",6,["hammer","spanner","tool","wrench"]],["🗡️","dagger",6,["dagger","knife","weapon"]],["⚔️","crossed swords",6,["crossed","swords","weapon"]],["💣","bomb",6,["bomb","boom","comic","dangerous","explosion","hot"]],["🪃","boomerang",6,["boomerang","rebound","repercussion","weapon"]],["🏹","bow and arrow",6,["archer","archery","arrow","bow","Sagittarius","tool","weapon","zodiac"]],["🛡️","shield",6,["shield","weapon"]],["🪚","carpentry saw",6,["carpenter","carpentry","cut","lumber","saw","tool","trim"]],["🔧","wrench",6,["home","improvement","spanner","tool","wrench"]],["🪛","screwdriver",6,["flathead","handy","screw","screwdriver","tool"]],["🔩","nut and bolt",6,["bolt","home","improvement","nut","tool"]],["⚙️","gear",6,["cog","cogwheel","gear","tool"]],["🗜️","clamp",6,["clamp","compress","tool","vice"]],["⚖️","balance scale",6,["balance","justice","Libra","scale","scales","tool","weight","zodiac"]],["🦯","white cane",6,["accessibility","blind","cane","probing","white"]],["🔗","link",6,["link","links"]],["⛓️💥","broken chain",6,["break","breaking","broken","chain","cuffs","freedom"]],["⛓️","chains",6,["chain","chains"]],["🪝","hook",6,["catch","crook","curve","ensnare","hook","point","selling"]],["🧰","toolbox",6,["box","chest","mechanic","red","tool","toolbox"]],["🧲","magnet",6,["attraction","horseshoe","magnet","magnetic","negative","positive","shape","u"]],["🪜","ladder",6,["climb","ladder","rung","step"]],["","shovel",6,["bury","dig","garden","hole","plant","scoop","shovel","snow","spade"]],["⚗️","alembic",6,["alembic","chemistry","tool"]],["🧪","test tube",6,["chemist","chemistry","experiment","lab","science","test","tube"]],["🧫","petri dish",6,["bacteria","biologist","biology","culture","dish","lab","petri"]],["🧬","dna",6,["biologist","dna","evolution","gene","genetics","life"]],["🔬","microscope",6,["experiment","lab","microscope","science","tool"]],["🔭","telescope",6,["contact","extraterrestrial","science","telescope","tool"]],["📡","satellite antenna",6,["aliens","antenna","contact","dish","satellite","science"]],["💉","syringe",6,["doctor","flu","medicine","needle","shot","sick","syringe","tool","vaccination"]],["🩸","drop of blood",6,["bleed","blood","donation","drop","injury","medicine","menstruation"]],["💊","pill",6,["doctor","drugs","medicated","medicine","pill","pills","sick","vitamin"]],["🩹","adhesive bandage",6,["adhesive","bandage"]],["🩼","crutch",6,["aid","cane","crutch","disability","help","hurt","injured","mobility","stick"]],["🩺","stethoscope",6,["doctor","heart","medicine","stethoscope"]],["🩻","x-ray",6,["bones","doctor","medical","skeleton","skull","x-ray","xray"]],["🚪","door",6,["back","closet","door","front"]],["🛗","elevator",6,["accessibility","elevator","hoist","lift"]],["🪞","mirror",6,["makeup","mirror","reflection","reflector","speculum"]],["🪟","window",6,["air","frame","fresh","opening","transparent","view","window"]],["🛏️","bed",6,["bed","hotel","sleep"]],["🛋️","couch and lamp",6,["couch","hotel","lamp"]],["🪑","chair",6,["chair","seat","sit"]],["🚽","toilet",6,["bathroom","toilet"]],["🪠","plunger",6,["cup","force","plumber","plunger","poop","suction","toilet"]],["🚿","shower",6,["shower","water"]],["🛁","bathtub",6,["bath","bathtub"]],["🪤","mouse trap",6,["bait","cheese","lure","mouse","mousetrap","snare","trap"]],["🪒","razor",6,["razor","sharp","shave"]],["🧴","lotion bottle",6,["bottle","lotion","moisturizer","shampoo","sunscreen"]],["🧷","safety pin",6,["diaper","pin","punk","rock","safety"]],["🧹","broom",6,["broom","cleaning","sweeping","witch"]],["🧺","basket",6,["basket","farming","laundry","picnic"]],["🧻","roll of paper",6,["paper","roll","toilet","towels"]],["🪣","bucket",6,["bucket","cask","pail","vat"]],["🧼","soap",6,["bar","bathing","clean","cleaning","lather","soap","soapdish"]],["🫧","bubbles",6,["bubble","bubbles","burp","clean","floating","pearl","soap","underwater"]],["🪥","toothbrush",6,["bathroom","brush","clean","dental","hygiene","teeth","toiletry","toothbrush"]],["🧽","sponge",6,["absorbing","cleaning","porous","soak","sponge"]],["🧯","fire extinguisher",6,["extinguish","extinguisher","fire","quench"]],["🛒","shopping cart",6,["cart","shopping","trolley"]],["🚬","cigarette",6,["cigarette","smoking"]],["⚰️","coffin",6,["coffin","dead","death","vampire"]],["🪦","headstone",6,["cemetery","dead","grave","graveyard","headstone","memorial","rip","tomb","tombstone"]],["⚱️","funeral urn",6,["ashes","death","funeral","urn"]],["🧿","nazar amulet",6,["amulet","bead","blue","charm","evil-eye","nazar","talisman"]],["🪬","hamsa",6,["amulet","Fatima","fortune","guide","hamsa","hand","Mary","Miriam","palm","protect","protection"]],["🗿","moai",6,["face","moai","moyai","statue","stoneface","travel"]],["🪧","placard",6,["card","demonstration","notice","picket","placard","plaque","protest","sign"]],["🪪","identification card",6,["card","credentials","document","ID","identification","license","security"]],["🏧","ATM sign",7,["ATM","automated","bank","cash","money","sign","teller"]],["🚮","litter in bin sign",7,["bin","litter","litterbin","sign"]],["🚰","potable water",7,["drinking","potable","water"]],["♿","wheelchair symbol",7,["access","handicap","symbol","wheelchair"]],["🚹","men’s room",7,["bathroom","lavatory","man","men’s","restroom","room","toilet","WC"]],["🚺","women’s room",7,["bathroom","lavatory","restroom","room","toilet","WC","woman","women’s"]],["🚻","restroom",7,["bathroom","lavatory","restroom","toilet","WC"]],["🚼","baby symbol",7,["baby","changing","symbol"]],["🚾","water closet",7,["bathroom","closet","lavatory","restroom","toilet","water","WC"]],["🛂","passport control",7,["control","passport"]],["🛃","customs",7,["customs","packing"]],["🛄","baggage claim",7,["arrived","baggage","bags","case","checked","claim","journey","packing","plane","ready","travel","trip"]],["🛅","left luggage",7,["baggage","case","left","locker","luggage"]],["⚠️","warning",7,["caution","warning"]],["🚸","children crossing",7,["child","children","crossing","pedestrian","traffic"]],["⛔","no entry",7,["do","entry","fail","forbidden","no","not","pass","prohibited","traffic"]],["🚫","prohibited",7,["entry","forbidden","no","not","prohibited","smoke"]],["🚳","no bicycles",7,["bicycle","bicycles","bike","forbidden","no","not","prohibited"]],["🚭","no smoking",7,["forbidden","no","not","prohibited","smoke","smoking"]],["🚯","no littering",7,["forbidden","litter","littering","no","not","prohibited"]],["🚱","non-potable water",7,["dry","non-drinking","non-potable","prohibited","water"]],["🚷","no pedestrians",7,["forbidden","no","not","pedestrian","pedestrians","prohibited"]],["📵","no mobile phones",7,["cell","forbidden","mobile","no","not","phone","phones","prohibited","telephone"]],["🔞","no one under eighteen",7,["18","age","eighteen","forbidden","no","not","one","prohibited","restriction","underage"]],["☢️","radioactive",7,["radioactive","sign"]],["☣️","biohazard",7,["biohazard","sign"]],["⬆️","up arrow",7,["arrow","cardinal","direction","north","up"]],["↗️","up-right arrow",7,["arrow","direction","intercardinal","northeast","up-right"]],["➡️","right arrow",7,["arrow","cardinal","direction","east","right"]],["↘️","down-right arrow",7,["arrow","direction","down-right","intercardinal","southeast"]],["⬇️","down arrow",7,["arrow","cardinal","direction","down","south"]],["↙️","down-left arrow",7,["arrow","direction","down-left","intercardinal","southwest"]],["⬅️","left arrow",7,["arrow","cardinal","direction","left","west"]],["↖️","up-left arrow",7,["arrow","direction","intercardinal","northwest","up-left"]],["↕️","up-down arrow",7,["arrow","up-down"]],["↔️","left-right arrow",7,["arrow","left-right"]],["↩️","right arrow curving left",7,["arrow","curving","left","right"]],["↪️","left arrow curving right",7,["arrow","curving","left","right"]],["⤴️","right arrow curving up",7,["arrow","curving","right","up"]],["⤵️","right arrow curving down",7,["arrow","curving","down","right"]],["🔃","clockwise vertical arrows",7,["arrow","arrows","clockwise","refresh","reload","vertical"]],["🔄","counterclockwise arrows button",7,["again","anticlockwise","arrow","arrows","button","counterclockwise","deja","refresh","rewindershins","vu"]],["🔙","BACK arrow",7,["arrow","BACK"]],["🔚","END arrow",7,["arrow","END"]],["🔛","ON! arrow",7,["arrow","mark","ON!"]],["🔜","SOON arrow",7,["arrow","brb","omw","SOON"]],["🔝","TOP arrow",7,["arrow","homie","TOP","up"]],["🛐","place of worship",7,["place","pray","religion","worship"]],["⚛️","atom symbol",7,["atheist","atom","symbol"]],["🕉️","om",7,["Hindu","om","religion"]],["✡️","star of David",7,["David","Jew","Jewish","judaism","religion","star"]],["☸️","wheel of dharma",7,["Buddhist","dharma","religion","wheel"]],["☯️","yin yang",7,["difficult","lives","religion","tao","taoist","total","yang","yin","yinyang"]],["✝️","latin cross",7,["christ","Christian","cross","latin","religion"]],["☦️","orthodox cross",7,["Christian","cross","orthodox","religion"]],["☪️","star and crescent",7,["crescent","islam","Muslim","ramadan","religion","star"]],["☮️","peace symbol",7,["healing","peace","peaceful","symbol"]],["🕎","menorah",7,["candelabrum","candlestick","hanukkah","jewish","judaism","menorah","religion"]],["🔯","dotted six-pointed star",7,["dotted","fortune","jewish","judaism","six-pointed","star"]],["🪯","khanda",7,["Deg","Fateh","Khalsa","Khanda","religion","Sikh","Sikhism","Tegh"]],["♈","Aries",7,["Aries","horoscope","ram","zodiac"]],["♉","Taurus",7,["bull","horoscope","ox","Taurus","zodiac"]],["♊","Gemini",7,["Gemini","horoscope","twins","zodiac"]],["♋","Cancer",7,["Cancer","crab","horoscope","zodiac"]],["♌","Leo",7,["horoscope","Leo","lion","zodiac"]],["♍","Virgo",7,["horoscope","Virgo","zodiac"]],["♎","Libra",7,["balance","horoscope","justice","Libra","scales","zodiac"]],["♏","Scorpio",7,["horoscope","Scorpio","scorpion","Scorpius","zodiac"]],["♐","Sagittarius",7,["archer","horoscope","Sagittarius","zodiac"]],["♑","Capricorn",7,["Capricorn","goat","horoscope","zodiac"]],["♒","Aquarius",7,["Aquarius","bearer","horoscope","water","zodiac"]],["♓","Pisces",7,["fish","horoscope","Pisces","zodiac"]],["⛎","Ophiuchus",7,["bearer","Ophiuchus","serpent","snake","zodiac"]],["🔀","shuffle tracks button",7,["arrow","button","crossed","shuffle","tracks"]],["🔁","repeat button",7,["arrow","button","clockwise","repeat"]],["🔂","repeat single button",7,["arrow","button","clockwise","once","repeat","single"]],["▶️","play button",7,["arrow","button","play","right","triangle"]],["⏩","fast-forward button",7,["arrow","button","double","fast","fast-forward","forward"]],["⏭️","next track button",7,["arrow","button","next","scene","track","triangle"]],["⏯️","play or pause button",7,["arrow","button","pause","play","right","triangle"]],["◀️","reverse button",7,["arrow","button","left","reverse","triangle"]],["⏪","fast reverse button",7,["arrow","button","double","fast","reverse","rewind"]],["⏮️","last track button",7,["arrow","button","last","previous","scene","track","triangle"]],["🔼","upwards button",7,["arrow","button","red","up","upwards"]],["⏫","fast up button",7,["arrow","button","double","fast","up"]],["🔽","downwards button",7,["arrow","button","down","downwards","red"]],["⏬","fast down button",7,["arrow","button","double","down","fast"]],["⏸️","pause button",7,["bar","button","double","pause","vertical"]],["⏹️","stop button",7,["button","square","stop"]],["⏺️","record button",7,["button","circle","record"]],["⏏️","eject button",7,["button","eject"]],["🎦","cinema",7,["camera","cinema","film","movie"]],["🔅","dim button",7,["brightness","button","dim","low"]],["🔆","bright button",7,["bright","brightness","button","light"]],["📶","antenna bars",7,["antenna","bar","bars","cell","communication","mobile","phone","signal","telephone"]],["🛜","wireless",7,["broadband","computer","connectivity","hotspot","internet","network","router","smartphone","wi-fi","wifi","wireless","wlan"]],["📳","vibration mode",7,["cell","communication","mobile","mode","phone","telephone","vibration"]],["📴","mobile phone off",7,["cell","mobile","off","phone","telephone"]],["♀️","female sign",7,["female","sign","woman"]],["♂️","male sign",7,["male","man","sign"]],["⚧️","transgender symbol",7,["symbol","transgender"]],["✖️","multiply",7,["×","cancel","multiplication","multiply","sign","x"]],["➕","plus",7,["+","plus"]],["➖","minus",7,["-","−","heavy","math","minus","sign"]],["➗","divide",7,["÷","divide","division","heavy","math","sign"]],["🟰","heavy equals sign",7,["answer","equal","equality","equals","heavy","math","sign"]],["♾️","infinity",7,["forever","infinity","unbounded","universal"]],["‼️","double exclamation mark",7,["!","!!","bangbang","double","exclamation","mark","punctuation"]],["⁉️","exclamation question mark",7,["!","!?","?","exclamation","interrobang","mark","punctuation","question"]],["❓","red question mark",7,["?","mark","punctuation","question","red"]],["❔","white question mark",7,["?","mark","outlined","punctuation","question","white"]],["❕","white exclamation mark",7,["!","exclamation","mark","outlined","punctuation","white"]],["❗","red exclamation mark",7,["!","exclamation","mark","punctuation","red"]],["〰️","wavy dash",7,["dash","punctuation","wavy"]],["💱","currency exchange",7,["bank","currency","exchange","money"]],["💲","heavy dollar sign",7,["billion","cash","charge","currency","dollar","heavy","million","money","pay","sign"]],["⚕️","medical symbol",7,["aesculapius","medical","medicine","staff","symbol"]],["♻️","recycling symbol",7,["recycle","recycling","symbol"]],["⚜️","fleur-de-lis",7,["fleur-de-lis","knights"]],["🔱","trident emblem",7,["anchor","emblem","poseidon","ship","tool","trident"]],["📛","name badge",7,["badge","name"]],["🔰","Japanese symbol for beginner",7,["beginner","chevron","green","Japanese","leaf","symbol","tool","yellow"]],["⭕","hollow red circle",7,["circle","heavy","hollow","large","o","red"]],["✅","check mark button",7,["✓","button","check","checked","checkmark","complete","completed","done","fixed","mark","tick"]],["☑️","check box with check",7,["✓","ballot","box","check","checked","done","off","tick"]],["✔️","check mark",7,["✓","check","checked","checkmark","done","heavy","mark","tick"]],["❌","cross mark",7,["×","cancel","cross","mark","multiplication","multiply","x"]],["❎","cross mark button",7,["×","button","cross","mark","multiplication","multiply","square","x"]],["➰","curly loop",7,["curl","curly","loop"]],["➿","double curly loop",7,["curl","curly","double","loop"]],["〽️","part alternation mark",7,["alternation","mark","part"]],["✳️","eight-spoked asterisk",7,["*","asterisk","eight-spoked"]],["✴️","eight-pointed star",7,["*","eight-pointed","star"]],["❇️","sparkle",7,["*","sparkle"]],["©️","copyright",7,["C","copyright"]],["®️","registered",7,["R","registered"]],["™️","trade mark",7,["mark","TM","trade","trademark"]],["","splatter",7,["drip","holi","ink","liquid","mess","paint","spill","splatter","stain"]],["#️⃣","keycap: #",7,[]],["*️⃣","keycap: *",7,[]],["0️⃣","keycap: 0",7,["0","keycap","zero"]],["1️⃣","keycap: 1",7,["1","keycap","one"]],["2️⃣","keycap: 2",7,["2","keycap","two"]],["3️⃣","keycap: 3",7,["3","keycap","three"]],["4️⃣","keycap: 4",7,["4","four","keycap"]],["5️⃣","keycap: 5",7,["5","five","keycap"]],["6️⃣","keycap: 6",7,["6","keycap","six"]],["7️⃣","keycap: 7",7,["7","keycap","seven"]],["8️⃣","keycap: 8",7,["8","eight","keycap"]],["9️⃣","keycap: 9",7,["9","keycap","nine"]],["🔟","keycap: 10",7,[]],["🔠","input latin uppercase",7,["ABCD","input","latin","letters","uppercase"]],["🔡","input latin lowercase",7,["abcd","input","latin","letters","lowercase"]],["🔢","input numbers",7,["1234","input","numbers"]],["🔣","input symbols",7,["&","%","♪","〒","input","symbols"]],["🔤","input latin letters",7,["abc","alphabet","input","latin","letters"]],["🅰️","A button (blood type)",7,["blood","button","type"]],["🆎","AB button (blood type)",7,["AB","blood","button","type"]],["🅱️","B button (blood type)",7,["B","blood","button","type"]],["🆑","CL button",7,["button","CL"]],["🆒","COOL button",7,["button","COOL"]],["🆓","FREE button",7,["button","FREE"]],["ℹ️","information",7,["I","information"]],["🆔","ID button",7,["button","ID","identity"]],["Ⓜ️","circled M",7,["circle","circled","M"]],["🆕","NEW button",7,["button","NEW"]],["🆖","NG button",7,["button","NG"]],["🅾️","O button (blood type)",7,["blood","button","O","type"]],["🆗","OK button",7,["button","OK","okay"]],["🅿️","P button",7,["button","P","parking"]],["🆘","SOS button",7,["button","help","SOS"]],["🆙","UP! button",7,["button","mark","UP","UP!"]],["🆚","VS button",7,["button","versus","VS"]],["🈁","Japanese “here” button",7,["button","here","Japanese","katakana"]],["🈂️","Japanese “service charge” button",7,["button","charge","Japanese","katakana","service"]],["🈷️","Japanese “monthly amount” button",7,["amount","button","ideograph","Japanese","monthly"]],["🈶","Japanese “not free of charge” button",7,["button","charge","free","ideograph","Japanese","not"]],["🈯","Japanese “reserved” button",7,["button","ideograph","Japanese","reserved"]],["🉐","Japanese “bargain” button",7,["bargain","button","ideograph","Japanese"]],["🈹","Japanese “discount” button",7,["button","discount","ideograph","Japanese"]],["🈚","Japanese “free of charge” button",7,["button","charge","free","ideograph","Japanese"]],["🈲","Japanese “prohibited” button",7,["button","ideograph","Japanese","prohibited"]],["🉑","Japanese “acceptable” button",7,["acceptable","button","ideograph","Japanese"]],["🈸","Japanese “application” button",7,["application","button","ideograph","Japanese"]],["🈴","Japanese “passing grade” button",7,["button","grade","ideograph","Japanese","passing"]],["🈳","Japanese “vacancy” button",7,["button","ideograph","Japanese","vacancy"]],["㊗️","Japanese “congratulations” button",7,["button","congratulations","ideograph","Japanese"]],["㊙️","Japanese “secret” button",7,["button","ideograph","Japanese","secret"]],["🈺","Japanese “open for business” button",7,["business","button","ideograph","Japanese","open"]],["🈵","Japanese “no vacancy” button",7,["button","ideograph","Japanese","no","vacancy"]],["🔴","red circle",7,["circle","geometric","red"]],["🟠","orange circle",7,["circle","orange"]],["🟡","yellow circle",7,["circle","yellow"]],["🟢","green circle",7,["circle","green"]],["🔵","blue circle",7,["blue","circle","geometric"]],["🟣","purple circle",7,["circle","purple"]],["🟤","brown circle",7,["brown","circle"]],["⚫","black circle",7,["black","circle","geometric"]],["⚪","white circle",7,["circle","geometric","white"]],["🟥","red square",7,["card","penalty","red","square"]],["🟧","orange square",7,["orange","square"]],["🟨","yellow square",7,["card","penalty","square","yellow"]],["🟩","green square",7,["green","square"]],["🟦","blue square",7,["blue","square"]],["🟪","purple square",7,["purple","square"]],["🟫","brown square",7,["brown","square"]],["⬛","black large square",7,["black","geometric","large","square"]],["⬜","white large square",7,["geometric","large","square","white"]],["◼️","black medium square",7,["black","geometric","medium","square"]],["◻️","white medium square",7,["geometric","medium","square","white"]],["◾","black medium-small square",7,["black","geometric","medium-small","square"]],["◽","white medium-small square",7,["geometric","medium-small","square","white"]],["▪️","black small square",7,["black","geometric","small","square"]],["▫️","white small square",7,["geometric","small","square","white"]],["🔶","large orange diamond",7,["diamond","geometric","large","orange"]],["🔷","large blue diamond",7,["blue","diamond","geometric","large"]],["🔸","small orange diamond",7,["diamond","geometric","orange","small"]],["🔹","small blue diamond",7,["blue","diamond","geometric","small"]],["🔺","red triangle pointed up",7,["geometric","pointed","red","triangle","up"]],["🔻","red triangle pointed down",7,["down","geometric","pointed","red","triangle"]],["💠","diamond with a dot",7,["comic","diamond","dot","geometric"]],["🔘","radio button",7,["button","geometric","radio"]],["🔳","white square button",7,["button","geometric","outlined","square","white"]],["🔲","black square button",7,["black","button","geometric","square"]],["🏁","chequered flag",8,["checkered","chequered","finish","flag","flags","game","race","racing","sport","win"]],["🚩","triangular flag",8,["construction","flag","golf","post","triangular"]],["🎌","crossed flags",8,["celebration","cross","crossed","flags","Japanese"]],["🏴","black flag",8,["black","flag","waving"]],["🏳️","white flag",8,["flag","waving","white"]],["🏳️🌈","rainbow flag",8,["bisexual","flag","gay","genderqueer","glbt","glbtq","lesbian","lgbt","lgbtq","lgbtqia","pride","queer","rainbow","trans","transgender"]],["🏳️⚧️","transgender flag",8,["blue","flag","light","pink","transgender","white"]],["🏴☠️","pirate flag",8,["flag","Jolly","pirate","plunder","Roger","treasure"]],["🇦🇨","flag: Ascension Island",8,[]],["🇦🇩","flag: Andorra",8,[]],["🇦🇪","flag: United Arab Emirates",8,[]],["🇦🇫","flag: Afghanistan",8,[]],["🇦🇬","flag: Antigua & Barbuda",8,[]],["🇦🇮","flag: Anguilla",8,[]],["🇦🇱","flag: Albania",8,[]],["🇦🇲","flag: Armenia",8,[]],["🇦🇴","flag: Angola",8,[]],["🇦🇶","flag: Antarctica",8,[]],["🇦🇷","flag: Argentina",8,[]],["🇦🇸","flag: American Samoa",8,[]],["🇦🇹","flag: Austria",8,[]],["🇦🇺","flag: Australia",8,[]],["🇦🇼","flag: Aruba",8,[]],["🇦🇽","flag: Åland Islands",8,[]],["🇦🇿","flag: Azerbaijan",8,[]],["🇧🇦","flag: Bosnia & Herzegovina",8,[]],["🇧🇧","flag: Barbados",8,[]],["🇧🇩","flag: Bangladesh",8,[]],["🇧🇪","flag: Belgium",8,[]],["🇧🇫","flag: Burkina Faso",8,[]],["🇧🇬","flag: Bulgaria",8,[]],["🇧🇭","flag: Bahrain",8,[]],["🇧🇮","flag: Burundi",8,[]],["🇧🇯","flag: Benin",8,[]],["🇧🇱","flag: St. Barthélemy",8,[]],["🇧🇲","flag: Bermuda",8,[]],["🇧🇳","flag: Brunei",8,[]],["🇧🇴","flag: Bolivia",8,[]],["🇧🇶","flag: Caribbean Netherlands",8,[]],["🇧🇷","flag: Brazil",8,[]],["🇧🇸","flag: Bahamas",8,[]],["🇧🇹","flag: Bhutan",8,[]],["🇧🇻","flag: Bouvet Island",8,[]],["🇧🇼","flag: Botswana",8,[]],["🇧🇾","flag: Belarus",8,[]],["🇧🇿","flag: Belize",8,[]],["🇨🇦","flag: Canada",8,[]],["🇨🇨","flag: Cocos (Keeling) Islands",8,[]],["🇨🇩","flag: Congo - Kinshasa",8,[]],["🇨🇫","flag: Central African Republic",8,[]],["🇨🇬","flag: Congo - Brazzaville",8,[]],["🇨🇭","flag: Switzerland",8,[]],["🇨🇮","flag: Côte d’Ivoire",8,[]],["🇨🇰","flag: Cook Islands",8,[]],["🇨🇱","flag: Chile",8,[]],["🇨🇲","flag: Cameroon",8,[]],["🇨🇳","flag: China",8,[]],["🇨🇴","flag: Colombia",8,[]],["🇨🇵","flag: Clipperton Island",8,[]],["🇨🇶","flag: Sark",8,[]],["🇨🇷","flag: Costa Rica",8,[]],["🇨🇺","flag: Cuba",8,[]],["🇨🇻","flag: Cape Verde",8,[]],["🇨🇼","flag: Curaçao",8,[]],["🇨🇽","flag: Christmas Island",8,[]],["🇨🇾","flag: Cyprus",8,[]],["🇨🇿","flag: Czechia",8,[]],["🇩🇪","flag: Germany",8,[]],["🇩🇬","flag: Diego Garcia",8,[]],["🇩🇯","flag: Djibouti",8,[]],["🇩🇰","flag: Denmark",8,[]],["🇩🇲","flag: Dominica",8,[]],["🇩🇴","flag: Dominican Republic",8,[]],["🇩🇿","flag: Algeria",8,[]],["🇪🇦","flag: Ceuta & Melilla",8,[]],["🇪🇨","flag: Ecuador",8,[]],["🇪🇪","flag: Estonia",8,[]],["🇪🇬","flag: Egypt",8,[]],["🇪🇭","flag: Western Sahara",8,[]],["🇪🇷","flag: Eritrea",8,[]],["🇪🇸","flag: Spain",8,[]],["🇪🇹","flag: Ethiopia",8,[]],["🇪🇺","flag: European Union",8,[]],["🇫🇮","flag: Finland",8,[]],["🇫🇯","flag: Fiji",8,[]],["🇫🇰","flag: Falkland Islands",8,[]],["🇫🇲","flag: Micronesia",8,[]],["🇫🇴","flag: Faroe Islands",8,[]],["🇫🇷","flag: France",8,[]],["🇬🇦","flag: Gabon",8,[]],["🇬🇧","flag: United Kingdom",8,[]],["🇬🇩","flag: Grenada",8,[]],["🇬🇪","flag: Georgia",8,[]],["🇬🇫","flag: French Guiana",8,[]],["🇬🇬","flag: Guernsey",8,[]],["🇬🇭","flag: Ghana",8,[]],["🇬🇮","flag: Gibraltar",8,[]],["🇬🇱","flag: Greenland",8,[]],["🇬🇲","flag: Gambia",8,[]],["🇬🇳","flag: Guinea",8,[]],["🇬🇵","flag: Guadeloupe",8,[]],["🇬🇶","flag: Equatorial Guinea",8,[]],["🇬🇷","flag: Greece",8,[]],["🇬🇸","flag: South Georgia & South Sandwich Islands",8,[]],["🇬🇹","flag: Guatemala",8,[]],["🇬🇺","flag: Guam",8,[]],["🇬🇼","flag: Guinea-Bissau",8,[]],["🇬🇾","flag: Guyana",8,[]],["🇭🇰","flag: Hong Kong SAR China",8,[]],["🇭🇲","flag: Heard Island & McDonald Islands",8,[]],["🇭🇳","flag: Honduras",8,[]],["🇭🇷","flag: Croatia",8,[]],["🇭🇹","flag: Haiti",8,[]],["🇭🇺","flag: Hungary",8,[]],["🇮🇨","flag: Canary Islands",8,[]],["🇮🇩","flag: Indonesia",8,[]],["🇮🇪","flag: Ireland",8,[]],["🇮🇱","flag: Israel",8,[]],["🇮🇲","flag: Isle of Man",8,[]],["🇮🇳","flag: India",8,[]],["🇮🇴","flag: British Indian Ocean Territory",8,[]],["🇮🇶","flag: Iraq",8,[]],["🇮🇷","flag: Iran",8,[]],["🇮🇸","flag: Iceland",8,[]],["🇮🇹","flag: Italy",8,[]],["🇯🇪","flag: Jersey",8,[]],["🇯🇲","flag: Jamaica",8,[]],["🇯🇴","flag: Jordan",8,[]],["🇯🇵","flag: Japan",8,[]],["🇰🇪","flag: Kenya",8,[]],["🇰🇬","flag: Kyrgyzstan",8,[]],["🇰🇭","flag: Cambodia",8,[]],["🇰🇮","flag: Kiribati",8,[]],["🇰🇲","flag: Comoros",8,[]],["🇰🇳","flag: St. Kitts & Nevis",8,[]],["🇰🇵","flag: North Korea",8,[]],["🇰🇷","flag: South Korea",8,[]],["🇰🇼","flag: Kuwait",8,[]],["🇰🇾","flag: Cayman Islands",8,[]],["🇰🇿","flag: Kazakhstan",8,[]],["🇱🇦","flag: Laos",8,[]],["🇱🇧","flag: Lebanon",8,[]],["🇱🇨","flag: St. Lucia",8,[]],["🇱🇮","flag: Liechtenstein",8,[]],["🇱🇰","flag: Sri Lanka",8,[]],["🇱🇷","flag: Liberia",8,[]],["🇱🇸","flag: Lesotho",8,[]],["🇱🇹","flag: Lithuania",8,[]],["🇱🇺","flag: Luxembourg",8,[]],["🇱🇻","flag: Latvia",8,[]],["🇱🇾","flag: Libya",8,[]],["🇲🇦","flag: Morocco",8,[]],["🇲🇨","flag: Monaco",8,[]],["🇲🇩","flag: Moldova",8,[]],["🇲🇪","flag: Montenegro",8,[]],["🇲🇫","flag: St. Martin",8,[]],["🇲🇬","flag: Madagascar",8,[]],["🇲🇭","flag: Marshall Islands",8,[]],["🇲🇰","flag: North Macedonia",8,[]],["🇲🇱","flag: Mali",8,[]],["🇲🇲","flag: Myanmar (Burma)",8,[]],["🇲🇳","flag: Mongolia",8,[]],["🇲🇴","flag: Macao SAR China",8,[]],["🇲🇵","flag: Northern Mariana Islands",8,[]],["🇲🇶","flag: Martinique",8,[]],["🇲🇷","flag: Mauritania",8,[]],["🇲🇸","flag: Montserrat",8,[]],["🇲🇹","flag: Malta",8,[]],["🇲🇺","flag: Mauritius",8,[]],["🇲🇻","flag: Maldives",8,[]],["🇲🇼","flag: Malawi",8,[]],["🇲🇽","flag: Mexico",8,[]],["🇲🇾","flag: Malaysia",8,[]],["🇲🇿","flag: Mozambique",8,[]],["🇳🇦","flag: Namibia",8,[]],["🇳🇨","flag: New Caledonia",8,[]],["🇳🇪","flag: Niger",8,[]],["🇳🇫","flag: Norfolk Island",8,[]],["🇳🇬","flag: Nigeria",8,[]],["🇳🇮","flag: Nicaragua",8,[]],["🇳🇱","flag: Netherlands",8,[]],["🇳🇴","flag: Norway",8,[]],["🇳🇵","flag: Nepal",8,[]],["🇳🇷","flag: Nauru",8,[]],["🇳🇺","flag: Niue",8,[]],["🇳🇿","flag: New Zealand",8,[]],["🇴🇲","flag: Oman",8,[]],["🇵🇦","flag: Panama",8,[]],["🇵🇪","flag: Peru",8,[]],["🇵🇫","flag: French Polynesia",8,[]],["🇵🇬","flag: Papua New Guinea",8,[]],["🇵🇭","flag: Philippines",8,[]],["🇵🇰","flag: Pakistan",8,[]],["🇵🇱","flag: Poland",8,[]],["🇵🇲","flag: St. Pierre & Miquelon",8,[]],["🇵🇳","flag: Pitcairn Islands",8,[]],["🇵🇷","flag: Puerto Rico",8,[]],["🇵🇸","flag: Palestinian Territories",8,[]],["🇵🇹","flag: Portugal",8,[]],["🇵🇼","flag: Palau",8,[]],["🇵🇾","flag: Paraguay",8,[]],["🇶🇦","flag: Qatar",8,[]],["🇷🇪","flag: Réunion",8,[]],["🇷🇴","flag: Romania",8,[]],["🇷🇸","flag: Serbia",8,[]],["🇷🇺","flag: Russia",8,[]],["🇷🇼","flag: Rwanda",8,[]],["🇸🇦","flag: Saudi Arabia",8,[]],["🇸🇧","flag: Solomon Islands",8,[]],["🇸🇨","flag: Seychelles",8,[]],["🇸🇩","flag: Sudan",8,[]],["🇸🇪","flag: Sweden",8,[]],["🇸🇬","flag: Singapore",8,[]],["🇸🇭","flag: St. Helena, Ascension & Tristan da Cunha",8,[]],["🇸🇮","flag: Slovenia",8,[]],["🇸🇯","flag: Svalbard & Jan Mayen",8,[]],["🇸🇰","flag: Slovakia",8,[]],["🇸🇱","flag: Sierra Leone",8,[]],["🇸🇲","flag: San Marino",8,[]],["🇸🇳","flag: Senegal",8,[]],["🇸🇴","flag: Somalia",8,[]],["🇸🇷","flag: Suriname",8,[]],["🇸🇸","flag: South Sudan",8,[]],["🇸🇹","flag: São Tomé & Príncipe",8,[]],["🇸🇻","flag: El Salvador",8,[]],["🇸🇽","flag: Sint Maarten",8,[]],["🇸🇾","flag: Syria",8,[]],["🇸🇿","flag: Eswatini",8,[]],["🇹🇦","flag: Tristan da Cunha",8,[]],["🇹🇨","flag: Turks & Caicos Islands",8,[]],["🇹🇩","flag: Chad",8,[]],["🇹🇫","flag: French Southern and Antarctic Lands",8,[]],["🇹🇬","flag: Togo",8,[]],["🇹🇭","flag: Thailand",8,[]],["🇹🇯","flag: Tajikistan",8,[]],["🇹🇰","flag: Tokelau",8,[]],["🇹🇱","flag: Timor-Leste",8,[]],["🇹🇲","flag: Turkmenistan",8,[]],["🇹🇳","flag: Tunisia",8,[]],["🇹🇴","flag: Tonga",8,[]],["🇹🇷","flag: Türkiye",8,[]],["🇹🇹","flag: Trinidad & Tobago",8,[]],["🇹🇻","flag: Tuvalu",8,[]],["🇹🇼","flag: Taiwan",8,[]],["🇹🇿","flag: Tanzania",8,[]],["🇺🇦","flag: Ukraine",8,[]],["🇺🇬","flag: Uganda",8,[]],["🇺🇲","flag: U.S. Outlying Islands",8,[]],["🇺🇳","flag: United Nations",8,[]],["🇺🇸","flag: United States",8,[]],["🇺🇾","flag: Uruguay",8,[]],["🇺🇿","flag: Uzbekistan",8,[]],["🇻🇦","flag: Vatican City",8,[]],["🇻🇨","flag: St. Vincent & Grenadines",8,[]],["🇻🇪","flag: Venezuela",8,[]],["🇻🇬","flag: British Virgin Islands",8,[]],["🇻🇮","flag: U.S. Virgin Islands",8,[]],["🇻🇳","flag: Vietnam",8,[]],["🇻🇺","flag: Vanuatu",8,[]],["🇼🇫","flag: Wallis & Futuna",8,[]],["🇼🇸","flag: Samoa",8,[]],["🇽🇰","flag: Kosovo",8,[]],["🇾🇪","flag: Yemen",8,[]],["🇾🇹","flag: Mayotte",8,[]],["🇿🇦","flag: South Africa",8,[]],["🇿🇲","flag: Zambia",8,[]],["🇿🇼","flag: Zimbabwe",8,[]],["🏴","flag: England",8,[]],["🏴","flag: Scotland",8,[]],["🏴","flag: Wales",8,[]]]'),Va={groups:cm,entries:mm};function Xn(e){return e.normalize("NFKC").toLowerCase().replace(/[_\s]+|(?<=[\p{L}\p{N}])-+/gu," ").trim()}const xo={"+1":["👍"],thumbsup:["👍"],thumbs_up:["👍"],"-1":["👎"],thumbsdown:["👎"],thumbs_down:["👎"],tada:["🎉"],heart:["❤️"],smile:["😄"],woman_technologist:["👩💻"],fire:["🔥"],rocket:["🚀"],eyes:["👀"],joy:["😂"],grin:["😁"],laughing:["😆"],wink:["😉"],pray:["🙏"],clap:["👏"],wave:["👋"],ok_hand:["👌"],sparkles:["✨"],white_check_mark:["✅"],x:["❌"],warning:["⚠️"],thinking_face:["🤔"],sob:["😭"],cry:["😢"],shrug:["🤷"],facepalm:["🤦"],raised_hands:["🙌"],muscle:["💪"],star:["⭐"],sunglasses:["😎"],heart_eyes:["😍"],rofl:["🤣"],slightly_smiling_face:["🙂"],upside_down_face:["🙃"],see_no_evil:["🙈"],point_up:["☝️"],point_right:["👉"],bulb:["💡"],memo:["📝"],bug:["🐛"],zap:["⚡"],boom:["💥"],coffee:["☕"],beer:["🍺"],pizza:["🍕"],cake:["🍰"],gift:["🎁"],calendar:["📆"],lock:["🔒"],key:["🔑"],link:["🔗"],chart_with_upwards_trend:["📈"],rotating_light:["🚨"],construction:["🚧"],hourglass:["⌛"],alarm_clock:["⏰"],bell:["🔔"],speech_balloon:["💬"],100:["💯"]},Hr=new RegExp("\\p{L}","u");function um(e=xo){const t=new Set(Object.keys(e).map(Xn).filter(i=>!Hr.test(i)));return i=>t.has(Xn(i))?!0:Array.from(i).length>=2&&Hr.test(i)}const hm=32,Gr=8;function gm(e,t=xo){const i=new Map;for(const[r,s]of Object.entries(t))for(const d of s){const l=i.get(d)??[];l.push(r),i.set(d,l)}const a=e.map(r=>({entry:r,explicitAliases:(i.get(r.emoji)??[]).map(Xn),name:Xn(r.name),nameWords:Xn(r.name).split(" "),aliases:[r.name,...r.keywords,...i.get(r.emoji)??[]].map(Xn)}));return(r,s=Gr)=>{const d=Number.isFinite(s)?Math.max(0,Math.min(hm,Math.floor(s))):Gr;if(d===0)return[];const l=Xn(r);if(!l)return a.slice(0,d).map(({entry:h})=>h);const c=l.split(" ").filter(Boolean),u=[[],[],[],[],[]];for(const{entry:h,aliases:p,explicitAliases:g,name:y,nameWords:w}of a){if(!c.every(k=>p.some(f=>f.includes(k))))continue;const x=g.includes(l)?0:y===l?1:c.every(k=>w.some(f=>f.startsWith(k)))?2:g.some(k=>k.startsWith(l))?3:4;if(u[x].length<d&&u[x].push(h),u[0].length===d)break}return u.flat().slice(0,d)}}const pm=/^ {0,3}(`{3,}|~{3,})(.*)$/u,km=/:([\p{L}\p{M}\p{N}_+\-]*)$/u,fm=/.$/u,wm=/[\s\p{P}\p{S}]/u,bm=/[:/@\\`]/u,ym=/(?:\w+:\/\/|www\.)\S*$/iu;function vo(e,t){let i=0,a=t;for(;a>0&&e[--a]==="\\";)i++;return i%2===1}function xm(e){let t=null,i=0;for(const a of e.split(`
|
|
37
|
+
`)){const r=pm.exec(a);if(t){r&&r[1][0]===t.marker&&r[1].length>=t.length&&r[2].trim()===""&&(t=null);continue}if(!i&&r){t={marker:r[1][0],length:r[1].length};continue}for(let s=0;s<a.length;s++){if(a[s]!=="`"||!i&&vo(a,s))continue;let d=s+1;for(;a[d]==="`";)d++;const l=d-s;i?i===l&&(i=0):i=l,s=d-1}}return t!==null||i!==0}function vm(e){const{text:t,selectionStart:i,selectionEnd:a,interaction:r}=e;if(e.composing||!r||r.kind!=="typing"||r.text!==t||i!==a||!Number.isInteger(i)||i<0||i>t.length)return null;const s=t.slice(0,i),d=km.exec(s);if(!d)return null;const l=i-d[0].length,c=t.slice(0,l).match(fm)?.[0];return c&&(!wm.test(c)||bm.test(c))||vo(t,l)||xm(s)||ym.test(t.slice(0,l))||e.mentionRanges?.some(u=>l<u.end&&i>u.start)?null:{start:l,end:i,query:d[1]}}function jm(e,t,i){return!Number.isInteger(t.start)||!Number.isInteger(t.end)||t.start<0||t.end>e.length||t.end<=t.start||e.slice(t.start,t.end)!==`:${t.query}`?null:{text:e.slice(0,t.start)+i+e.slice(t.end),caret:t.start+i.length,edit:{start:t.start,end:t.end,insert:i}}}const _m=gm(Va.entries.map(([e,t,,i])=>({emoji:e,name:t,keywords:i}))),Bm=um();function Nm(e){const{draftKey:t,text:i,enabled:a,fieldRef:r,listboxId:s,mentionQueryStart:d,mentionRanges:l,intent:c,isComposing:u,onEdit:h,search:p=_m}=e,[g,y]=m.useState(""),[w,x]=m.useState(null),[k,f]=m.useState({key:"",index:0}),_=c?`${c.draftKey}:${c.sequence}`:"",B=m.useMemo(()=>a&&c&&c.draftKey===t&&_!==g&&c.kind==="typing"&&am(c.inputType,c.composing)?vm({text:i,selectionStart:c.selectionStart,selectionEnd:c.selectionEnd,interaction:{text:c.text,kind:c.kind},composing:c.composing,mentionRanges:l}):null,[a,c,t,_,g,i,l]);m.useEffect(()=>{if(c&&c.text!==i||w===null)return;const v=w.lastIndexOf(":"),T=Number(w.slice(v+1)),M=w.slice(0,v)!==t||i.charAt(T)!==":",H=B!==null&&B.start!==T;(M||H)&&x(null)},[B,t,w,c,i]);const L=B!==null&&Bm(B.query)&&`${t}:${B.start}`!==w,N=tm(d,L?B.start:null),E=N==="emoji",I=m.useMemo(()=>E&&B?p(B.query,32):[],[E,B,p]),K=B?`${t}:${B.start}:${B.query}`:"",R=k.key===K?Math.min(k.index,Math.max(0,I.length-1)):0,F=m.useCallback(v=>{Number.isInteger(v)&&v>=0&&v<I.length&&f({key:K,index:v})},[K,I.length]),O=m.useCallback(()=>{B&&x(`${t}:${B.start}`)},[t,B]),z=m.useCallback(v=>{const T=r.current;if(!E||!B||u()||!I.includes(v)||!T||T.value!==i||T.selectionStart!==B.end||T.selectionEnd!==B.end)return;const M=jm(i,B,v.emoji);M&&(h(M),y(_),x(`${t}:${B.start}`))},[E,B,I,r,i,h,_,t,u]),X=m.useCallback(v=>!E||v.nativeEvent.isComposing||v.key==="Process"?!1:v.key==="Escape"?(v.preventDefault(),v.stopPropagation(),O(),!0):I.length&&(v.key==="ArrowUp"||v.key==="ArrowDown")?(v.preventDefault(),F((R+(v.key==="ArrowDown"?1:-1)+I.length)%I.length),!0):(v.key==="Enter"||v.key==="Tab")&&!v.shiftKey&&I[R]?(v.preventDefault(),z(I[R]),!0):v.key==="Enter"&&!v.shiftKey?(v.preventDefault(),O(),!0):!1,[E,O,I,R,F,z]);return{owner:N,open:E,query:B,rows:I,active:R,setActive:F,close:O,pick:z,onKeyDown:X,listboxId:s,aria:N==="emoji"?{role:"combobox","aria-expanded":E,"aria-controls":E?s:void 0,"aria-autocomplete":"list","aria-activedescendant":E&&I.length?wo(s,R):void 0}:{}}}const Sm=/^\s/;function Cm(e,t,i,a,r=!0){const s=`@${a.label}`,d=e.slice(i.end),l=Sm.test(d)?"":" ",c=`${e.slice(0,i.start)}${s}${l}${d}`,u={start:i.start,end:i.start+s.length,kind:a.kind,accountId:a.accountId,...a.kind==="agent"&&a.endpointId?{endpointId:a.endpointId}:{},label:a.label,notify:r},h=sn(e,c,t).filter(p=>p.end<=i.start||p.start>=u.end);return{text:c,caret:u.end+1,tokens:Im([...h,u])}}function Im(e){return e.sort((t,i)=>t.start-i.start)}function sn(e,t,i){if(i.length===0)return[];if(e===t)return i.filter(u=>ja(t,u));let a=0;const r=Math.min(e.length,t.length);for(;a<r&&e[a]===t[a];)a+=1;let s=0;for(;s<r-a&&e[e.length-1-s]===t[t.length-1-s];)s+=1;const d=e.length-s,l=t.length-e.length,c=[];for(const u of i)u.end<=a?c.push(u):u.start>=d&&c.push({...u,start:u.start+l,end:u.end+l});return c.filter(u=>ja(t,u))}function ja(e,t){return e.slice(t.start,t.end)===`@${t.label}`}function Rm(e,t,i,a){let{start:r,end:s}=i;if(r===s){const l=t.find(c=>a==="Backspace"?r>c.start&&r<=c.end:r>=c.start&&r<c.end);if(!l)return null;r=l.start,s=l.end}else{let l=!1;for(const c of t)c.start<s&&c.end>r&&(c.start<r&&(r=c.start,l=!0),c.end>s&&(s=c.end,l=!0));if(!l)return null}const d=e.slice(0,r)+e.slice(s);return{text:d,caret:r,tokens:sn(e,d,t)}}function Em(e,t,i){const a=e.find(r=>t>r.start&&t<r.end);return a?i==="backward"?a.start:a.end:t}function Mm(e,t){const i=new Set,a=[];for(const r of e){if(!r.notify||t&&!t.has(`${r.kind}:${r.accountId}`)||r.kind==="agent"&&!r.endpointId)continue;const s=`${r.kind}:${r.accountId}:${r.endpointId??""}`;i.has(s)||(i.add(s),a.push(r.kind==="agent"?{kind:"agent",account_id:r.accountId,endpoint_id:r.endpointId}:{kind:"human",account_id:r.accountId}))}return a}function Tm(e,t){const i=[];let a=0;for(const r of t)r.start<a||!ja(e,r)||(r.start>a&&i.push({kind:"text",text:e.slice(a,r.start)}),i.push({kind:"token",text:e.slice(r.start,r.end),token:r}),a=r.end);return a<e.length&&i.push({kind:"text",text:e.slice(a)}),i}const Am=({fieldRef:e,text:t,tokens:i})=>{const a=m.useRef(null),r=Ja();return m.useLayoutEffect(()=>{const s=e.current,d=a.current;if(!s||!d)return;bo(s,d),d.style.left=`${s.offsetLeft}px`,d.style.top=`${s.offsetTop}px`,d.scrollTop=s.scrollTop;const l=()=>{d.scrollTop=s.scrollTop};return s.addEventListener("scroll",l),()=>s.removeEventListener("scroll",l)},[e,t,i]),i.length===0?null:n.jsxs("div",{ref:a,"aria-hidden":"true","data-mention-overlay":"",className:"pointer-events-none absolute overflow-hidden text-transparent",children:[Tm(t,i).map((s,d)=>s.kind==="text"?n.jsx("span",{children:s.text},d):n.jsx("span",{"data-mention-pill":s.token.notify?"notify":"silent",className:Z("box-decoration-clone rounded-sm px-0.5 py-px -mx-0.5",r?.self?.accountId===s.token.accountId?"bg-warning-wash group-hover/mention-field:bg-[color-mix(in_srgb,var(--color-warning-wash),var(--color-warning)_3%)]":"bg-accent-wash group-hover/mention-field:bg-[color-mix(in_srgb,var(--color-accent-wash),var(--color-accent)_3%)]",!s.token.notify&&"underline decoration-dashed decoration-ink-dim"),children:s.text},d)),t.endsWith(`
|
|
38
|
+
`)?" ":null]})},jo=({mentions:e})=>{me();const[t,i]=m.useState("idle"),a=e.notice,r=e.source,s=r?.conversationId??null,d=m.useRef(0),l=m.useRef(null);if(m.useLayoutEffect(()=>(d.current+=1,l.current=null,i("idle"),()=>{d.current+=1,l.current=null}),[s,a]),!a||!r)return null;const c=r?.conversationKind!=="dm"&&!a.invited&&(r?.canInvite?.(a.candidate)??!1)?r?.onInvite:void 0,u=a.candidate.label,h=t==="failed"?o("ui.teamBridge.mentions.notice.invite_failed",{name:u}):a.invited?o("ui.teamBridge.mentions.notice.invited",{name:u}):a.candidate.invited?o("ui.teamBridge.mentions.notice.pending",{name:u}):o("ui.teamBridge.mentions.notice.not_member",{name:u});return n.jsxs("div",{role:"status","data-mention-notice":"",className:"flex flex-wrap items-center gap-x-2 gap-y-1 rounded-md bg-warning-wash px-3 py-1.5 text-body-sm text-ink",children:[n.jsx("span",{className:"min-w-0 flex-1",children:h}),c&&n.jsx(V,{variant:"link",size:"sm",className:"h-7 px-1.5",disabled:t==="inviting",onClick:()=>{const p=Symbol("mention-invite"),g=d.current;l.current=p;const y=()=>d.current===g&&l.current===p;i("inviting"),c(a.candidate).then(()=>{y()&&(l.current=null,i("idle"),e.resolveNotice())},()=>{y()&&(l.current=null,i("failed"))})},children:o("ui.teamBridge.mentions.notice.invite")}),!a.invited&&n.jsx(V,{variant:"link",size:"sm",className:"h-7 px-1.5",onClick:()=>{i("idle"),e.silenceNotice()},children:o("ui.teamBridge.mentions.notice.silent")}),n.jsx(V,{variant:"ghost",size:"icon-sm","aria-label":o("ui.common.actions.dismiss"),title:o("ui.common.actions.dismiss"),onClick:()=>{i("idle"),e.dismissNotice()},children:n.jsx(Ct,{size:14,"aria-hidden":"true"})})]})},Wr="[clip-path:polygon(100%_100%,0_100%,100%_0)] rtl:[clip-path:polygon(0_100%,100%_100%,0_0)]";function zm(e){return e<=20?12:e<=24?14:e<=36?18:e<=56?26:28}function yn({member:e,kind:t,endpointId:i,label:a,size:r=36,className:s,fallback:d,selected:l=!1}){const c=hl(gl(e,t,i),r<=64?64:256),[u,h]=m.useState(),p=t==="agent"?n.jsx(Nt,{size:zm(r)}):d??Js(a);return n.jsxs("span",{"aria-hidden":"true","data-team-bridge-avatar":"",style:{"--profile-avatar-size":`${r}px`},className:Z("relative inline-flex size-[var(--profile-avatar-size)] shrink-0 items-center justify-center overflow-hidden rounded-md font-medium text-body-sm",t==="agent"?"text-accent":"text-ink-muted",l?"bg-surface":"bg-media-surface",s,t==="agent"&&"rounded-ee-xs"),children:[c&&c!==u?n.jsx("img",{alt:"",src:c,className:"size-full object-cover",onError:()=>h(c)}):p,t==="agent"&&n.jsx("span",{"data-agent-mark":"",className:Z("pointer-events-none absolute end-0 bottom-0 size-[max(8px,32%)]",l?"bg-surface":"bg-media-surface",Wr),children:n.jsx("span",{className:Z("absolute end-0 bottom-0 block size-[calc(100%-1px)] bg-accent",Wr)})})]})}function Dm({onBeforeNavigate:e}){const t=pc();return n.jsx(V,{variant:"secondary",size:"sm",className:"w-full",onClick:()=>{e()&&t("/settings")},children:o("ui.settings.personal_profile.edit")})}function Dn({member:e,label:t,kind:i,onMessage:a,onEditOwnProfile:r,canMessage:s=!0,openDelayMs:d=400,fastOpenDelayMs:l,toggleOnClick:c=!0,openOnFocus:u=!0,children:h}){const p=me(),g=Ws(),y=rt(),w=m.useRef(!1),[x,k]=m.useState(!1),[f,_]=m.useState(()=>new Date),B=m.useId(),L=m.useRef(void 0),N=m.useRef(null),E=m.useRef(!1),I=m.useRef(!1),K=m.useRef(null),R=m.useRef(void 0),F=m.useRef(!1),O=m.useRef(!1),z=i==="agent",X=z?t:e.profile?.display_name||t,v=!z&&!!g.accountId&&e.account_id===g.accountId,T=()=>!v||Vs(y)!==g.token||Oa(y).accountId!==e.account_id?!1:(w.current=!0,H(!1),Tc(g.token),!0),M=()=>{clearTimeout(L.current),L.current=void 0},H=j=>{M(),j||(R.current=void 0),k(j)},S=()=>{M(),L.current=setTimeout(()=>{L.current=void 0,N.current?.contains(document.activeElement)||k(!1)},200)},U=j=>{M(),L.current=setTimeout(()=>{L.current=void 0,k(!0)},Math.max(0,j))},$=(j,ie)=>{if(x||R.current===void 0)return;const ge=l!==void 0&&j instanceof Element&&ie.contains(j.closest("[data-team-bridge-avatar]"));if(ge===F.current&&L.current!==void 0)return;F.current=ge;const je=Date.now()-R.current,se=d-je;U(ge&&l!==void 0?Math.min(l,se):se)};m.useEffect(()=>()=>clearTimeout(L.current),[]),m.useEffect(()=>{x||(clearTimeout(L.current),L.current=void 0,R.current=void 0)},[x]),m.useEffect(()=>{if(!x||!O.current)return;O.current=!1;const j=requestAnimationFrame(()=>{const ie=N.current?.querySelectorAll("button");ie?.[ie.length-1]?.focus()});return()=>cancelAnimationFrame(j)},[x]),m.useEffect(()=>{if(!x)return;_(new Date);const j=setInterval(()=>_(new Date),6e4);return()=>clearInterval(j)},[x]);let Q;if(e.profile?.timezone)try{Q=Ni(f,{timeZone:e.profile.timezone,hour:"numeric",minute:"2-digit"},p)}catch{}const Y=m.cloneElement(h,{...c?{"aria-label":o("ui.teamBridge.profile.open_profile",{name:t})}:{"aria-keyshortcuts":"Shift+F10 ContextMenu","aria-expanded":x},onMouseEnter:j=>{if(h.props.onMouseEnter?.(j),!j.defaultPrevented){if(R.current=Date.now(),F.current=!1,x){M();return}U(d),$(j.target,j.currentTarget)}},onMouseOver:j=>{h.props.onMouseOver?.(j),j.defaultPrevented||$(j.target,j.currentTarget)},onMouseLeave:j=>{h.props.onMouseLeave?.(j),R.current=void 0,j.defaultPrevented||S()},onFocus:j=>{h.props.onFocus?.(j),u&&!j.defaultPrevented&&!E.current&&H(!0)},onKeyDown:j=>{h.props.onKeyDown?.(j),!(u||j.defaultPrevented)&&(j.key!=="ContextMenu"&&!(j.shiftKey&&j.key==="F10")||(j.preventDefault(),K.current=j.currentTarget,O.current=!0,H(!0)))},onBlur:j=>{h.props.onBlur?.(j),!j.defaultPrevented&&!N.current?.contains(j.relatedTarget)&&S()},onClick:c?h.props.onClick:j=>{h.props.onClick?.(j),H(!1)}});return n.jsxs(lo,{open:x,onOpenChange:H,modal:!1,children:[c?n.jsx(co,{asChild:!0,children:Y}):n.jsx(yc,{asChild:!0,children:Y}),n.jsx(mo,{ref:N,"aria-labelledby":B,"data-profile-card":"","data-profile-kind":z?"agent":"human",collisionPadding:16,className:"flex max-h-[min(var(--radix-popover-content-available-height),calc(100dvh-2rem))] w-80 max-w-[min(var(--radix-popover-content-available-width),calc(100vw-2rem))] flex-col p-0",onMouseEnter:M,onMouseLeave:S,onFocusCapture:()=>{I.current=!0,M()},onBlur:j=>{j.currentTarget.contains(j.relatedTarget)||(I.current=!1,S())},onOpenAutoFocus:j=>j.preventDefault(),onCloseAutoFocus:j=>{if(w.current){w.current=!1,j.preventDefault();return}if(!I.current){j.preventDefault();return}if(I.current=!1,!c){j.preventDefault(),K.current?.focus();return}E.current=!0,queueMicrotask(()=>{E.current=!1})},children:n.jsxs("div",{"data-profile-scroll":"",className:"min-h-0 overflow-y-auto overscroll-contain p-4 space-y-3",children:[n.jsxs("div",{className:"flex items-start justify-between gap-3",children:[n.jsx(yn,{member:e,kind:i,label:X,size:64}),n.jsx(xc,{asChild:!0,children:n.jsx(V,{variant:"ghost",size:"icon","aria-label":o("ui.teamBridge.profile.close_profile"),children:n.jsx(Ct,{size:16,"aria-hidden":"true"})})})]}),n.jsxs("div",{className:"min-w-0 space-y-1 [overflow-wrap:anywhere]",children:[n.jsx("h2",{id:B,className:"text-body font-semibold text-ink",children:X}),e.profile?.title&&n.jsx("p",{className:"text-body-sm text-ink",children:e.profile.title})]}),n.jsx(Wt,{children:o(z?"ui.teamBridge.profile.agent_badge":"ui.teamBridge.profile.human_badge")}),z&&n.jsx("p",{className:"text-body-sm text-ink-muted [overflow-wrap:anywhere]",children:o("ui.teamBridge.profile.owned_by",{name:Ye(e)})}),e.profile?.description&&n.jsx("p",{className:"line-clamp-6 whitespace-pre-wrap text-body-sm text-ink [overflow-wrap:anywhere]",children:e.profile.description}),Q&&n.jsxs("p",{className:"flex items-center gap-2 text-body-sm text-ink-muted",children:[n.jsx(Ht,{size:14,"aria-hidden":"true"}),o("ui.teamBridge.profile.local_time",{time:Q})]}),v&&(r?n.jsx(V,{variant:"secondary",size:"sm",className:"w-full",onClick:()=>{T()&&r()},children:o("ui.settings.personal_profile.edit")}):n.jsx(Dm,{onBeforeNavigate:T})),s&&n.jsxs(V,{className:"w-full",onClick:()=>{H(!1),a()},children:[n.jsx($s,{size:16,"aria-hidden":"true"}),o("ui.teamBridge.profile.message")]})]})})]})}const Jr=48,Vr=26,Pm=8,Qr={"member-human":"ui.teamBridge.mentions.section.member_human","member-agent":"ui.teamBridge.mentions.section.member_agent","org-human":"ui.teamBridge.mentions.section.org_human","org-agent":"ui.teamBridge.mentions.section.org_agent"};function _a(e,t){return`${e}-option-${t}`}const qm=({row:e})=>{const t=e.profile??{account_id:e.accountId,display_label:e.label,role:"member",bridge_enabled:!1,bridge_state:"none"};return n.jsx(yn,{member:t,label:e.label,kind:e.kind,size:28,className:"size-7 rounded-md text-meta",fallback:e.kind==="human"?Js(e.label):void 0})},Om=({listboxId:e,sections:t,active:i,query:a,onActive:r,onPick:s,position:d,inline:l=!1})=>{me();const c=m.useRef(null),u=t.length===0,[h,p]=m.useState({row:Jr,header:Vr});m.useLayoutEffect(()=>{const k=c.current,f=k?.querySelector('[role="option"]'),_=k?.querySelector("[data-mention-header]"),B={row:f?.offsetHeight||Jr,header:_?.offsetHeight||Vr};(B.row!==h.row||B.header!==h.header)&&p(B)});const g=h.row*Pm+h.header+8;m.useEffect(()=>{c.current?.querySelector(`#${CSS.escape(_a(e,i))}`)?.scrollIntoView?.({block:"nearest"})},[i,e,g]);let y=-1;const w=l||!d?void 0:{position:"fixed",left:d.left,bottom:d.bottom},x=n.jsx("div",{"data-mention-popover":"",style:w,className:Z("z-50 w-[min(22rem,calc(100vw-16px))] overflow-hidden rounded-md border border-hairline bg-elevated shadow-lg"),children:n.jsx("div",{ref:c,id:e,role:"listbox",tabIndex:-1,"aria-label":o("ui.teamBridge.mentions.listbox_label"),style:{maxHeight:g},className:"overflow-y-auto py-1",children:u?n.jsx("div",{className:"px-3 py-2 text-body-sm text-ink-muted",children:o("ui.teamBridge.mentions.empty",{query:a})}):t.map(k=>n.jsxs("div",{role:"group","aria-label":o(Qr[k.id]),children:[n.jsx("div",{"aria-hidden":"true","data-mention-header":"",className:"px-3 pt-1.5 pb-0.5 font-medium text-meta text-ink-dim",children:o(Qr[k.id])}),k.rows.map(f=>{const _=f;y+=1;const B=y,L=B===i,N=_.bridgeOff?o("ui.teamBridge.mentions.tag.bridge_off"):_.invited?o("ui.teamBridge.members.state.invited_short"):_.member?null:o("ui.teamBridge.mentions.tag.not_member");return n.jsxs("div",{id:_a(e,B),role:"option","aria-selected":L,"data-mention-option":`${_.kind}:${_.accountId}`,onMouseMove:()=>{L||r(B)},onMouseDown:E=>{E.preventDefault()},onClick:()=>s(_),className:Z("relative mx-1 flex min-h-12 cursor-pointer items-center gap-2.5 rounded-sm px-2 py-1",L?Z("bg-accent-wash","before:absolute before:inset-y-0 before:start-0 before:w-0.5 before:rounded-full before:bg-accent"):""),children:[n.jsx(qm,{row:_}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col",children:[n.jsx("span",{className:"truncate text-body-sm text-ink",children:_.label}),_.secondary&&n.jsx("span",{className:"truncate text-meta text-ink-muted",children:_.secondary})]}),N&&n.jsx("span",{className:"shrink-0 text-meta-sm text-ink-dim",children:N})]},`${_.kind}:${_.accountId}`)})]},k.id))})});return l||typeof document>"u"?x:oo.createPortal(x,document.body)},Lm=48,Fm=/[\s([{"'“‘«<,;:!?]/u;function $m(e,t){return t===0?!0:Fm.test(e.charAt(t-1))}function Km(e,t){const i=Math.max(0,t-Lm-1);for(let a=t-1;a>=i;a-=1){const r=e.charAt(a);if(r===`
|
|
39
|
+
`)return null;if(r==="@"){if(!$m(e,a))return null;const s=e.slice(a+1,t);return s.startsWith(" ")?null:{start:a,end:t,query:s}}}return null}function Ba(e){return e.normalize("NFKD").replace(Hm,"").toLocaleLowerCase()}const Um=/[\s()[\],.'’"-]+/u,Hm=new RegExp("\\p{M}","gu"),Yr=/\s+/g,Gm=3;function Wm(e){return Ba(e).split(Um).filter(t=>t.length>0)}function Jm(e,t){let i=0;for(const a of t)if(a===e[i]&&(i+=1),i===e.length)return!0;return e.length===0}function Vm(e,t){const i=Ba(e).trim();if(i==="")return 0;const a=[t.label,...t.aliases??[]],r=a.map(Ba);if(r.some(d=>d.startsWith(i)))return 0;if(a.some(d=>{const l=Wm(d);return l.some((c,u)=>l.slice(u).join(" ").startsWith(i))}))return 1;if(r.some(d=>d.includes(i)))return 2;const s=i.replace(Yr,"");return s.length<Gm?null:r.some(d=>Jm(s,d.replace(Yr,"")))?3:null}const Qm=["member-human","member-agent","org-human","org-agent"];function Ym(e){return`${e.member?"member":"org"}-${e.kind}`}function Xm(e,t){const i=t.flatMap((r,s)=>{const d=Vm(e,r);return d===null?[]:[{candidate:r,tier:d,index:s}]}),a=[];for(const r of Qm){const s=i.filter(d=>Ym(d.candidate)===r).sort((d,l)=>d.tier-l.tier||d.index-l.index).map(d=>d.candidate);s.length>0&&a.push({id:r,rows:s})}return{sections:a,flat:a.flatMap(r=>r.rows)}}function Vn(e){return`${e.kind}:${e.accountId}`}const Xr=50;function Zm(e,t){return e?.accountId&&e.tenantId?JSON.stringify(["mention-draft-v2",e.accountId,e.tenantId,t]):null}const Zr=Ha()(so(e=>({drafts:{},write:(t,i,a)=>e(r=>{const s={...r.drafts},d=sn(i,i,a);d.length===0?delete s[t]:s[t]={text:i,tokens:d,at:Date.now()};const l=Object.keys(s);if(l.length>Xr)for(const c of l.sort((u,h)=>s[u].at-s[h].at).slice(0,l.length-Xr))delete s[c];return{drafts:s}})}),{name:"team-bridge-mention-drafts",storage:kc(()=>localStorage),version:2,migrate:()=>({drafts:{}})})),es=[],eu=50;function nu(e){const{draftKey:t,text:i,setText:a,fieldRef:r,listboxId:s}=e,d=Ja(),l=d!==null,c=Zm(d?.draftOwner,t),u=c??JSON.stringify(["unresolved",t]),h=c?Zr.getState().drafts[c]:void 0,p=Zr(C=>C.write),g=m.useCallback((C,W)=>{c&&p(c,C,W)},[c,p]),[y,w]=m.useState(()=>h?sn(h.text,i,h.tokens):es),x=m.useRef(i),k=m.useRef(h&&h.text!==i?h:null),[f,_]=m.useState(null),B=m.useRef(!1),L=m.useRef(null),N=m.useRef([]),E=m.useRef(null),I=m.useRef(null),K=m.useRef(null),R=m.useRef(0),[F,O]=m.useState(null),z=m.useCallback(C=>{for(let W=N.current.length-1;W>=0;W-=1)if(N.current[W].text===C)return N.current[W].tokens},[]),X=m.useRef(u);if(X.current!==u){X.current=u,k.current=h&&h.text!==i?h:null,_(null),B.current=!1,x.current=i,N.current=[],E.current=null,I.current=null,K.current=null,O(null);const C=h?sn(h.text,i,h.tokens):es;C!==y&&w(C)}else if(x.current!==i){const C=k.current,W=I.current===i;I.current=null;const re=f===i||W,ce=E.current===i;E.current=null,W&&f!==i&&_(i);const Be=ce||!re&&x.current===""?z(i):void 0,$e=C?.text===i?sn(i,i,C.tokens):Be??sn(x.current,i,y);C?.text===i&&(k.current=null),re||(_(null),B.current=!1),x.current=i,w($e)}m.useEffect(()=>{if(k.current)return;g(i,y);const C=N.current,W=C.at(-1);(!W||W.text!==i||W.tokens!==y)&&(C.push({text:i,tokens:y}),C.length>eu&&C.shift())},[g,i,y]);const[v,T]=m.useState(null),[M,H]=m.useState(null),[S,U]=m.useState(0),[$,Q]=m.useState(null),Y=m.useRef(!1),j=m.useMemo(()=>{if(!l||v===null||f!==i)return null;const C=Km(i,v);return!C||y.some(W=>C.start>=W.start&&C.start<W.end)?null:C},[l,v,i,y,f]),ie=m.useMemo(()=>j?Xm(j.query,d?.candidates??[]):{sections:[],flat:[]},[j,d?.candidates]),ge=ie.flat,je=j!==null&&ge.length===0&&j.query.endsWith(" "),se=je?j.start:null;m.useEffect(()=>{se!==null&&H(se)},[se]);const P=j!==null&&M!==j.start&&!je&&!Y.current,ne=j?.query;m.useEffect(()=>{U(0)},[ne]);const le=m.useCallback((C="forward")=>{const W=r.current;if(!W)return;if(W.selectionStart!==W.selectionEnd){T(null);return}const re=W.selectionStart,ce=Em(y,re,C);ce!==re&&W.setSelectionRange(ce,ce),T(ce)},[r,y]);m.useLayoutEffect(()=>{l&&r.current===r.current?.ownerDocument.activeElement&&le()},[i,l]),m.useLayoutEffect(()=>{const C=K.current,W=C?.draftKey===u&&C.text===i;W||(K.current=null),O(W?C:null)},[i,u]);const pe=m.useCallback((C,W)=>{const re=r.current;k.current=null,L.current=C,g(C.text,C.tokens),_(C.text);let ce=!1;if(re&&W){re.focus(),re.setSelectionRange(W.start,W.end);try{ce=re.ownerDocument.execCommand?.(W.insert===""?"delete":"insertText",!1,W.insert)===!0&&re.value===C.text}catch{ce=!1}}L.current=null,x.current=C.text,w(C.tokens),ce||a(C.text),T(C.caret),requestAnimationFrame(()=>{const Be=r.current;Be&&Be.setSelectionRange(C.caret,C.caret)})},[r,a,g]),he=m.useCallback(C=>{requestAnimationFrame(()=>{const W=r.current;W&&(W.focus(),C!==void 0&&W.setSelectionRange(C,C))})},[r]),xe=m.useCallback(C=>{if(!j)return;const W=Cm(i,y,j,C,C.member),re=W.text.slice(j.start,W.caret);pe(W,{start:j.start,end:j.end,insert:re}),H(null);const ce=W.tokens.find(Be=>Be.start===j.start);ce&&!C.member&&Q({candidate:C,token:ce}),he(W.caret)},[j,i,y,pe,he]),be=m.useCallback(()=>{j&&H(j.start)},[j]),de=m.useCallback(C=>{if(!l||C.nativeEvent.isComposing||C.key==="Process")return!1;const W=C.currentTarget;if(P&&ge.length>0){if(C.key==="ArrowDown"||C.key==="ArrowUp"){C.preventDefault();const re=C.key==="ArrowDown"?1:-1;return U(ce=>(ce+re+ge.length)%ge.length),!0}if(C.key==="Enter"&&!C.shiftKey||C.key==="Tab"&&!C.shiftKey)return C.preventDefault(),xe(ge[Math.min(S,ge.length-1)]),!0}if(P&&C.key==="Escape")return C.preventDefault(),C.stopPropagation(),be(),!0;if(C.key==="Backspace"||C.key==="Delete"){const re=Rm(i,y,{start:W.selectionStart,end:W.selectionEnd},C.key);if(re)return C.preventDefault(),pe(re,{start:re.caret,end:re.caret+(i.length-re.text.length),insert:""}),!0}if((C.key==="ArrowLeft"||C.key==="ArrowRight")&&!C.shiftKey&&W.selectionStart===W.selectionEnd){const re=W.selectionStart,ce=W.ownerDocument.defaultView?.getComputedStyle(W).direction==="rtl",Be=C.key==="ArrowRight"!==ce,$e=y.find(ve=>Be?re===ve.start:re===ve.end);if($e){C.preventDefault();const ve=Be?$e.end:$e.start;return W.setSelectionRange(ve,ve),T(ve),!0}}return!1},[l,P,ge,S,xe,be,i,y,pe]),ke=m.useCallback(C=>{const W=C.nativeEvent;Y.current=!!W.isComposing;const re=C.currentTarget;B.current&&_(i);const ce=K.current;ce&&(re.selectionStart!==ce.selectionStart||re.selectionEnd!==ce.selectionEnd)&&(K.current=null,O(null));const Be=v??re.selectionStart;le(re.selectionStart<Be?"backward":"forward")},[v,le,i]);m.useEffect(()=>{const C=r.current;if(!C||!l)return;const W=()=>{Y.current=!0,K.current=null,O(null)},re=()=>{Y.current=!1,le()},ce=$e=>{const ve=$e.inputType,qn=ve==="historyUndo"||ve==="historyRedo";qn&&(E.current=C.value),k.current=null,I.current=C.value,K.current={draftKey:u,sequence:++R.current,text:C.value,selectionStart:C.selectionStart,selectionEnd:C.selectionEnd,kind:ve==="insertFromPaste"?"paste":qn?"restore":"typing",inputType:ve,composing:Y.current||!!$e.isComposing};const ye=L.current?.text===C.value?L.current.tokens:(qn?z(C.value):void 0)??sn(x.current,C.value,y);g(C.value,ye)},Be=()=>{B.current=!0};return C.addEventListener("compositionstart",W),C.addEventListener("compositionend",re),C.addEventListener("input",ce),C.addEventListener("pointerdown",Be),C.addEventListener("keydown",Be),()=>{C.removeEventListener("compositionstart",W),C.removeEventListener("compositionend",re),C.removeEventListener("input",ce),C.removeEventListener("pointerdown",Be),C.removeEventListener("keydown",Be)}},[r,l,le,z,y,g,u]);const _e=m.useMemo(()=>new Set((d?.candidates??[]).filter(C=>C.member).map(C=>Vn(C))),[d?.candidates]),Ie=m.useRef(new Set),rn=d?.conversationId??null;m.useLayoutEffect(()=>{Q(null),Ie.current.clear()},[rn]),m.useEffect(()=>{if(Ie.current.size===0)return;const C=[...Ie.current].filter(W=>_e.has(W));if(C.length!==0){for(const W of C)Ie.current.delete(W);w(W=>W.map(re=>C.includes(Vn(re))?{...re,notify:!0}:re))}},[_e]);const fe=m.useCallback(()=>{if(!d?.sendMentions)return;const C=Mm(sn(x.current,i,y),_e);return C.length>0?C:void 0},[d?.sendMentions,i,y,_e]),Ne=m.useCallback((C,W=!0)=>{$&&(C&&w(re=>re.map(ce=>ce.start===$.token.start&&Vn(ce)===Vn($.candidate)?{...ce,...C}:ce)),W&&Q(null),he($.token.end+1))},[$,he]);return m.useEffect(()=>{$&&!y.some(C=>C.start===$.token.start&&Vn(C)===Vn($.candidate))&&Q(null)},[$,y]),{enabled:l,open:P,sections:ie.sections,flat:ge,active:S,setActive:U,pick:xe,close:be,anchorIndex:j?.start??null,tokens:y,onKeyDown:de,onSelect:ke,payload:fe,notice:$,dismissNotice:()=>Ne({notify:!1}),silenceNotice:()=>Ne({notify:!1}),resolveNotice:()=>{$&&(Ie.current.add(Vn($.candidate)),Q({...$,invited:!0}),he($.token.end+1))},source:d,listboxId:s,inputScopeKey:u,emojiIntent:F,isComposing:()=>Y.current,clearEmojiIntent:()=>{K.current=null,O(null)},applyTextEdit:C=>{pe({text:C.text,caret:C.caret,tokens:sn(i,C.text,y)},C.edit)}}}function _o(e){const t=m.useId().replace(/:/g,""),i=nu({...e,listboxId:t}),a=Nm({draftKey:i.inputScopeKey,text:e.text,enabled:i.enabled,fieldRef:e.fieldRef,listboxId:`${t}-emoji`,mentionQueryStart:i.open?i.anchorIndex:null,mentionRanges:i.tokens,intent:i.emojiIntent,isComposing:i.isComposing,onEdit:i.applyTextEdit});return{...i,open:i.open&&a.owner==="mention",emoji:a,stage:r=>{i.source&&pl(i.source.conversationId,r,i.payload())},bindField:r=>({onKeyDown:s=>{im(a.owner,s,{mention:i.onKeyDown,emoji:a.onKeyDown,composer:d=>{a.owner==="none"&&i.onKeyDown(d)||r.onKeyDown?.(d)}})},...i.enabled?{onSelect:i.onSelect,onBlur:i.clearEmojiIntent,role:"combobox","aria-expanded":i.open,"aria-controls":i.open?t:void 0,"aria-autocomplete":"list","aria-activedescendant":i.open&&i.flat.length>0?_a(t,i.active):void 0}:{},...a.owner==="emoji"?a.aria:{}})}}const tu=352,pi=8;function Bo({mentions:e,fieldRef:t,text:i,children:a}){const[r,s]=m.useState(null),{open:d,anchorIndex:l}=e;return m.useLayoutEffect(()=>{const c=t.current;if(!d||l===null||!c){s(null);return}const u=c.ownerDocument.defaultView,h=()=>{const g=yo(c,l),y=u?.innerWidth??0,w=u?.innerHeight??0,x=Math.min(tu,y-2*pi),f=u?.getComputedStyle(c).direction==="rtl"?g.right+8-x:g.left-8,_=Math.min(Math.max(pi,f),Math.max(pi,y-pi-x));s({left:_,bottom:w-g.top+6})};h(),c.addEventListener("scroll",h),u?.addEventListener("resize",h);const p=typeof ResizeObserver>"u"?null:new ResizeObserver(h);return p?.observe(c),()=>{c.removeEventListener("scroll",h),u?.removeEventListener("resize",h),p?.disconnect()}},[d,l,t]),e.enabled?n.jsxs("div",{className:"group/mention-field relative flex min-w-0 flex-1",children:[n.jsx(Am,{fieldRef:t,text:i,tokens:e.tokens}),a,e.emoji?.open&&e.emoji.query&&n.jsx(dm,{fieldRef:t,anchorIndex:e.emoji.query.start,listboxId:e.emoji.listboxId,rows:e.emoji.rows,active:e.emoji.active,label:o("ui.teamBridge.reactions.choose"),emptyLabel:o("ui.teamBridge.reactions.noResults"),onActive:e.emoji.setActive,onPick:e.emoji.pick}),d&&r&&n.jsx(Om,{listboxId:e.listboxId,sections:e.sections,active:e.active,query:l===null?"":i.slice(l+1,t.current?.selectionStart),onActive:e.setActive,onPick:e.pick,position:r})]}):n.jsx(n.Fragment,{children:a})}function No(e,t){return t?e.members.find(i=>i.kind==="human"&&i.account_id===t&&i.state==="active")??null:null}function $t(e,t){return e.kind!=="dm"&&e.status==="open"&&!e.builtin&&No(e,t)!==null}function Na(e,t){const i=No(e,t);return e.kind!=="dm"&&e.status==="open"&&!e.builtin&&i!==null&&i.role==="owner"}function So(e,t,i){return e.localeCompare(t,i,{sensitivity:"base"})}function ns(e,t){const i=t.trim().toLocaleLowerCase();return i===""||e.toLocaleLowerCase().includes(i)}function iu(e,t){return{people:e.filter(i=>t(i)==="human"),agents:e.filter(i=>t(i)==="agent")}}function Sa(e,t){return`${e}:${t}`}function au(e){return new Set(e.filter(t=>t.state==="active"||t.state==="invited").map(t=>Sa(t.kind,t.account_id)))}function ru(e,t,i,a,r){const s=au(e.members),d=[];for(const l of t){const c=Ye(l),u=Pa(l,i);s.has(Sa("human",l.account_id))||d.push({recipient:{kind:"human",accountId:l.account_id,label:c},disabledReason:u==="openable"||u==="paused"||u==="self"?null:"bridge_unavailable"});const h=l.agent;!h||s.has(Sa("agent",l.account_id))||d.push({recipient:{kind:"agent",accountId:l.account_id,endpointId:h.endpoint_id,agentName:h.name.trim(),ownerLabel:c,label:a(h.name.trim(),c)},disabledReason:e.agent_capable?h.state==="active"||h.state==="paused"?null:"agent_unavailable":"agent_not_permitted"})}return d.sort((l,c)=>+(l.disabledReason!==null)-+(c.disabledReason!==null)||So(l.recipient.label,c.recipient.label,r))}function su(e,t,i,a,r,s){return e.members.flatMap(d=>d.state==="active"||d.state==="invited"?[{member:d,state:d.state}]:[]).map(({member:d,state:l})=>({member:d,label:Si(d,t,{named:a,unnamed:c=>a("",c)},null)??d.account_id,state:l,self:d.kind==="human"&&d.account_id===i,removable:r&&d.kind==="human"&&d.account_id!==i})).sort((d,l)=>+(l.member.role==="owner")-+(d.member.role==="owner")||So(d.label,l.label,s))}function ou(e){switch(e){case"bridge_unavailable":return o("ui.teamBridge.members.reason_short.bridge_unavailable");case"agent_unavailable":return o("ui.teamBridge.members.reason_short.agent_unavailable");case"agent_not_permitted":return o("ui.teamBridge.members.reason_short.agent_not_permitted");default:return""}}const ma="flex min-h-9 items-center gap-2 rounded-md px-2 py-1",ts="px-2 pt-3 pb-1 text-meta text-ink-dim";function is({accountId:e,label:t,kind:i,people:a}){const r=a.find(s=>s.account_id===e)??{account_id:e,display_label:t,role:"member",bridge_enabled:!1,bridge_state:"none"};return n.jsx(yn,{member:r,kind:i,label:t,size:24,className:"size-6 rounded-md text-meta"})}function lu(e){return`${e.kind}:${e.account_id}`}function du({open:e,conversation:t,people:i,selfAccountId:a,peopleState:r,canInvite:s,canRemove:d,mutationError:l=!1,pendingKey:c=null,onClose:u,onRetryMembers:h,onAdd:p,onRemove:g}){const y=me(),w=m.useId(),x=m.useId(),k=m.useRef(null),f=m.useRef(null),[_,B]=m.useState(""),[L,N]=m.useState(new Set),[E,I]=m.useState(null);m.useEffect(()=>{e&&(B(""),N(new Set),I(null))},[e]);const K=m.useCallback((P,ne)=>P.trim()?o("ui.teamBridge.chief.label",{agent:P,person:ne}):o("ui.teamBridge.chief.unnamed",{person:ne}),[]),R=m.useMemo(()=>ru(t,i,a,K,y),[t,i,a,K,y]);m.useEffect(()=>{N(P=>{const ne=new Set(R.filter(({disabledReason:he})=>he===null).map(({recipient:he})=>Ve(he)));let le=!1;const pe=new Set;for(const he of P)ne.has(he)?pe.add(he):le=!0;return le?pe:P})},[R]);const F=m.useMemo(()=>R.filter(({recipient:P})=>ns(P.label,_)),[R,_]),O=m.useMemo(()=>su(t,i,a,K,d,y),[t,i,a,K,d,y]),z=O.filter(({label:P})=>ns(P,_)),X=_.trim()!=="",v=(P,ne)=>{const{people:le,agents:pe}=iu(P,ne);return[{key:"people",heading:o("ui.teamBridge.members.group.people"),rows:le},{key:"agents",heading:o("ui.teamBridge.members.group.agents_v2"),rows:pe}].filter(he=>he.rows.length>0)},T=v(F,({recipient:P})=>P.kind),M=v(z,({member:P})=>P.kind),H=R.filter(({recipient:P,disabledReason:ne})=>ne===null&&L.has(Ve(P))),S=c!==null,U=m.useRef(null),$=m.useRef(new Map);m.useEffect(()=>{E&&U.current?.focus()},[E]);const Q=()=>{const P=E;I(null),P&&$.current.get(P)?.focus()},Y=E!==null&&z.some(({member:P,removable:ne})=>ne&&P.account_id===E);m.useEffect(()=>{E!==null&&!Y&&I(null)},[E,Y]);const j=m.useRef(null);m.useEffect(()=>{if(c!==null||!l)return;const P=j.current;j.current=null,P&&$.current.get(P)?.focus()},[c,l]);const ie=P=>{if(!s||P.disabledReason!==null||S)return;const ne=Ve(P.recipient);N(le=>{const pe=new Set(le);return pe.has(ne)?pe.delete(ne):pe.add(ne),pe})},ge=({member:P,label:ne,state:le,self:pe,removable:he})=>{const xe=P.account_id,be=c===`remove:${xe}`,de=he&&E===xe;return n.jsxs("div",{className:Z("group rounded-md",!de&&he&&"hover:bg-row-hover"),children:[n.jsxs("div",{className:ma,children:[n.jsx(is,{accountId:xe,label:ne,kind:P.kind,people:i}),n.jsxs("p",{className:Z("min-w-0 flex-1 truncate text-body-sm",be?"text-ink-muted":"text-ink"),children:[ne,pe&&n.jsxs("span",{className:"text-ink-dim",children:[" ",o("ui.teamBridge.members.you")]})]}),P.role==="owner"&&n.jsx(Wt,{variant:"neutral",className:"shrink-0",children:o("ui.teamBridge.members.role.owner")}),le==="invited"&&n.jsx(Wt,{variant:"neutral",className:"shrink-0",children:o("ui.teamBridge.members.state.invited_short")}),be&&n.jsx("span",{className:"shrink-0 text-meta text-ink-dim",children:o("ui.teamBridge.members.removing_v2")}),he&&!be&&n.jsx("span",{className:Z("shrink-0",gd(de)),children:n.jsx($i,{content:o("ui.teamBridge.members.remove_tooltip"),children:n.jsx(V,{ref:ke=>{ke?$.current.set(xe,ke):$.current.delete(xe)},type:"button",size:"icon-sm",variant:"ghost",disabled:S,"aria-label":o("ui.teamBridge.members.remove_label",{name:ne}),"aria-expanded":de,onClick:()=>I(de?null:xe),children:n.jsx(Yc,{"aria-hidden":"true"})})})})]}),de&&n.jsxs("div",{className:"flex items-center justify-end gap-1 px-2 pb-1.5",children:[n.jsx(V,{ref:U,type:"button",size:"sm",variant:"ghost",disabled:S,onClick:Q,children:o("ui.teamBridge.create.cancel")}),n.jsx(V,{type:"button",size:"sm",variant:"danger",disabled:S,onClick:()=>{I(null),j.current=xe,g(xe)},children:o("ui.teamBridge.members.remove",{name:ne})})]})]},`${lu(P)}:${le}`)},je=(P,ne,le)=>{const pe=Ve(P.recipient),he=P.recipient.label,xe=n.jsx(is,{accountId:P.recipient.accountId,label:he,kind:P.recipient.kind,people:i});if(P.disabledReason!==null){const _e=ou(P.disabledReason);return n.jsxs("fieldset",{"aria-disabled":"true","aria-label":o("ui.teamBridge.members.ineligible_label",{name:he,reason:_e}),"data-ineligible":"",className:Z(ma,"m-0 min-w-0 border-0"),children:[xe,n.jsx("span",{className:"min-w-0 flex-1 truncate text-body-sm text-ink-muted",children:he}),n.jsx("span",{className:"shrink-0 text-end text-meta text-ink-dim",children:_e})]},pe)}const be=L.has(pe),de=!s||S,ke=`${x}-${ne}-${le}-label`;return n.jsxs("div",{className:Z(ma,de?"cursor-not-allowed":"cursor-pointer hover:bg-row-hover",be&&"bg-row-selected"),onClick:_e=>{_e.target.closest?.("[data-row-checkbox]")||ie(P)},onKeyDown:_e=>{_e.key!=="Enter"&&_e.key!==" "||(_e.preventDefault(),ie(P))},children:[xe,n.jsx("span",{id:ke,className:Z("min-w-0 flex-1 truncate text-body-sm",de?"text-ink-muted":"text-ink"),children:he}),n.jsx("span",{className:"flex shrink-0","data-row-checkbox":"",children:n.jsx(vc,{checked:be,disabled:de,onCheckedChange:()=>ie(P),"aria-labelledby":ke})})]},pe)},se="min-h-0 space-y-0.5 pb-2 [scrollbar-gutter:stable] md:flex-1 md:overflow-y-auto md:pe-2";return n.jsx(Vt,{open:e,onOpenChange:P=>!P&&u(),children:n.jsxs(Qt,{ref:f,tabIndex:-1,className:"h-[min(780px,90dvh)] max-w-2xl gap-0 overflow-hidden p-0",closeDisabled:S,onOpenAutoFocus:P=>{P.preventDefault(),(k.current??f.current)?.focus()},onEscapeKeyDown:P=>{E&&(P.preventDefault(),Q())},children:[n.jsxs(uo,{className:"px-6 pt-6 pb-4 pe-12",children:[n.jsx(Yt,{children:o("ui.teamBridge.members.title")}),n.jsx(Xt,{children:o("ui.teamBridge.members.description")})]}),n.jsxs("div",{className:"grid min-h-0 flex-1 grid-cols-1 overflow-auto md:grid-cols-2 md:overflow-hidden",children:[n.jsxs("section",{className:"flex min-h-64 flex-col gap-3 px-6 md:min-h-0 md:overflow-hidden md:pe-3","aria-labelledby":`${w}-current`,children:[n.jsxs("h3",{id:`${w}-current`,className:"flex h-8 items-center gap-2 text-sm font-medium text-ink",children:[o("ui.teamBridge.members.current"),n.jsx("span",{className:"font-normal text-ink-dim tabular-nums",children:wi(O.length,void 0,y)})]}),n.jsx("div",{className:se,children:O.length===0?n.jsx("p",{className:"px-2 py-4 text-sm text-ink-muted",children:o("ui.teamBridge.members.current_empty")}):M.length===0?n.jsx("p",{className:"px-2 py-4 text-sm text-ink-muted",children:o("ui.teamBridge.members.current_no_matches")}):M.map((P,ne)=>n.jsxs("fieldset",{"aria-labelledby":`${w}-current-${P.key}`,className:"m-0 min-w-0 space-y-0.5 border-0 p-0",children:[n.jsx("p",{id:`${w}-current-${P.key}`,className:Z(ts,ne===0&&"pt-0"),children:P.heading}),P.rows.map(ge)]},P.key))})]}),n.jsxs("section",{className:"flex min-h-80 flex-col gap-3 px-6 py-5 md:min-h-0 md:overflow-hidden md:ps-3 md:py-0","aria-labelledby":x,children:[n.jsxs("div",{className:"flex h-8 items-center justify-between gap-2",children:[n.jsx("h3",{id:x,className:"text-sm font-medium text-ink",children:o("ui.teamBridge.members.invite")}),!s&&n.jsx("span",{className:"text-meta-sm text-ink-dim",children:o("ui.teamBridge.members.read_only")})]}),r==="loading"?n.jsx(Oe,{size:"sm",label:o("ui.teamBridge.members.loading")}):r==="error"?n.jsxs("div",{className:"flex flex-col items-start gap-2",children:[n.jsx("p",{className:"text-sm text-ink-muted",children:o("ui.teamBridge.members.load_error")}),h&&n.jsx(V,{type:"button",size:"sm",variant:"outline",onClick:()=>h(t.tenant_id),children:o("ui.teamBridge.list.retry")})]}):n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"relative",children:[n.jsx(hd,{size:15,"aria-hidden":"true",className:"pointer-events-none absolute start-3 top-1/2 -translate-y-1/2 text-ink-dim"}),n.jsx(Ri,{ref:k,value:_,onChange:P=>B(P.target.value),placeholder:o("ui.teamBridge.members.search"),"aria-label":o("ui.teamBridge.members.search"),className:"ps-9",disabled:S})]}),n.jsx("div",{className:se,children:F.length===0?n.jsx("p",{className:"px-2 py-4 text-sm text-ink-muted",children:R.length===0&&!X?o("ui.teamBridge.members.empty"):X&&z.length>0?o("ui.teamBridge.members.no_invitable_matches",{query:_.trim()}):o("ui.teamBridge.members.no_matches")}):T.map((P,ne)=>n.jsxs("fieldset",{className:"m-0 min-w-0 space-y-0.5 border-0 p-0","aria-labelledby":`${x}-${P.key}`,children:[n.jsx("p",{id:`${x}-${P.key}`,className:Z(ts,ne===0&&"pt-0"),children:P.heading}),P.rows.map((le,pe)=>je(le,P.key,pe))]},P.key))})]})]})]}),l&&n.jsx("p",{role:"alert",className:"px-6 pt-2 text-sm text-danger",children:o("ui.teamBridge.members.mutation_error")}),n.jsxs("div",{className:"mt-2 flex items-center justify-between gap-3 rounded-b-lg border-hairline border-t bg-surface px-6 py-4",children:[n.jsx("p",{className:"max-w-sm text-meta text-ink-muted",children:o("ui.teamBridge.members.invitation_note_v3")}),n.jsxs("div",{className:"flex shrink-0 gap-2",children:[n.jsx(V,{type:"button",variant:"ghost",onClick:u,disabled:S,children:o("ui.teamBridge.create.cancel")}),n.jsx(V,{type:"button",variant:"primary",disabled:!s||H.length===0||S,onClick:()=>p(H.map(({recipient:P})=>qa(P))),children:o("ui.teamBridge.members.invite_count",{count:H.length})})]})]})]})})}function Co(e,t){if(!e)return null;const i=Date.parse(e);return Number.isNaN(i)?null:pd(i,{dateStyle:"medium",timeStyle:"short"},t)}const as="";function Qa(e){return e.name?.trim()||o("ui.teamBridge.list.untitled")}const cu=({open:e,name:t,onConfirm:i,onClose:a})=>(me(),n.jsx(Vt,{open:e,onOpenChange:r=>{r||a()},children:n.jsxs(Qt,{className:"gap-4",children:[n.jsx(Yt,{children:o("ui.teamBridge.archive.confirm.title",{name:t})}),n.jsx(Xt,{className:"text-[13px] text-ink-muted",children:o("ui.teamBridge.archive.confirm.body")}),n.jsxs(ho,{children:[n.jsx(V,{type:"button",variant:"ghost",onClick:a,children:o("ui.teamBridge.create.cancel")}),n.jsx(V,{type:"button",variant:"primary",onClick:i,children:o("ui.teamBridge.archive.confirm.confirm")})]})]})})),mu=({open:e,name:t,pending:i=!1,error:a=null,onConfirm:r,onClose:s})=>{me();const d=m.useId(),[l,c]=m.useState("");m.useEffect(()=>{e&&c("")},[e]);const u=l.trim().replace(/^#/,"")===t,h=o("ui.teamBridge.archive.delete.confirm_label",{name:as}).split(as);return n.jsx(Vt,{open:e,onOpenChange:p=>{!p&&!i&&s()},children:n.jsxs(Qt,{className:"gap-4",closeDisabled:i,children:[n.jsx(Yt,{children:o("ui.teamBridge.archive.delete.title",{name:t})}),n.jsx(Xt,{className:"text-[13px] text-ink-muted",children:o("ui.teamBridge.archive.delete.body")}),n.jsxs("label",{htmlFor:d,className:"flex flex-col gap-1 text-[13px] text-ink-muted",children:[h.map((p,g)=>n.jsxs(m.Fragment,{children:[g>0&&n.jsx("span",{className:"select-all break-all font-medium text-ink",children:t}),p]},`${g}:${p}`)),n.jsx(Ri,{id:d,value:l,onChange:p=>c(p.target.value),autoComplete:"off",autoCapitalize:"off",spellCheck:!1,autoFocus:!0})]}),a&&n.jsx("p",{role:"alert",className:"text-[13px] text-danger",children:a==="gone"?o("ui.teamBridge.archive.delete.not_found"):o("ui.teamBridge.archive.delete.error")}),n.jsxs(ho,{children:[n.jsx(V,{type:"button",variant:"ghost",disabled:i,onClick:s,children:o("ui.teamBridge.create.cancel")}),n.jsx(V,{type:"button",variant:"danger",disabled:!u||i,onClick:r,children:o("ui.teamBridge.archive.delete.confirm")})]})]})})},uu=({conversation:e,canManage:t,unarchiving:i=!1,error:a=!1,onUnarchive:r,onDelete:s})=>{const d=me(),l=e.archived_at?Co(e.archived_at,d):null,c=e.archived_by_label??null,u=c&&l?o("ui.teamBridge.archive.banner.by_on",{name:c,date:l}):l?o("ui.teamBridge.archive.banner.on",{date:l}):o("ui.teamBridge.archive.banner.plain");return n.jsxs("output",{className:"mx-4 mb-2 flex flex-wrap items-center gap-x-3 gap-y-2 rounded-md bg-elevated px-3 py-2",children:[n.jsx(Gt,{size:15,"aria-hidden":"true",className:"shrink-0 text-ink-dim"}),n.jsxs("p",{className:"min-w-0 flex-1 text-[13px] text-ink-muted",children:[u,a&&n.jsx("span",{role:"alert",className:"ms-2 text-danger",children:o("ui.teamBridge.archive.banner.unarchive_error")})]}),t&&n.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[n.jsx(V,{type:"button",size:"sm",variant:"ghost",disabled:i,onClick:r,children:o("ui.teamBridge.archive.banner.unarchive")}),n.jsx(V,{type:"button",size:"sm",variant:"danger",disabled:i,onClick:s,children:o("ui.teamBridge.archive.banner.delete")})]})]})},hu=({state:e,conversations:t,organizationName:i,onOpen:a,onRetry:r,hasMore:s=!1,loadingMore:d=!1,loadMoreFailed:l=!1,onLoadMore:c})=>{const u=me();return n.jsxs("section",{"aria-label":o("ui.teamBridge.archive.section.archived"),className:"flex min-h-0 flex-1 flex-col gap-2 overflow-auto p-5",children:[n.jsx("h2",{className:"font-medium text-lg text-ink",children:o("ui.teamBridge.archive.section.archived")}),e==="loading"?n.jsx("div",{className:"py-2",children:n.jsx(Oe,{size:"sm",label:o("ui.teamBridge.archive.list.loading")})}):e==="error"?n.jsxs("div",{className:"flex flex-col items-start gap-2",children:[n.jsx("p",{className:"text-[13px] text-ink-muted",children:o("ui.teamBridge.archive.list.error")}),r&&n.jsx(V,{size:"sm",variant:"ghost",onClick:r,children:o("ui.teamBridge.list.retry")})]}):t.length===0?n.jsx("p",{className:"text-ink-muted",children:o("ui.teamBridge.archive.list.empty")}):n.jsx("ul",{className:"flex flex-col",children:t.map(h=>{const p=h.archived_at?Co(h.archived_at,u):null,g=h.archived_by_label??null,y=g&&p?o("ui.teamBridge.archive.list.meta_by_on",{name:g,date:p}):p?o("ui.teamBridge.archive.list.meta_on",{date:p}):null,w=i?.(h)??null;return n.jsx("li",{children:n.jsxs("button",{type:"button",onClick:()=>a(h),"data-conversation-id":h.id,className:"flex min-h-[38px] w-full items-center gap-2 rounded-md px-2 py-1 text-start text-[13px] text-ink-muted transition-colors duration-fast ease-out-quart hover:bg-row-hover hover:text-ink",children:[n.jsx(Ki,{size:15,"aria-hidden":"true",className:"shrink-0"}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col",children:[n.jsx("span",{className:"truncate",children:Qa(h)}),(y||w)&&n.jsx("span",{className:"truncate text-meta-sm text-ink-dim",children:[w,y].filter(Boolean).join(" · ")})]})]})},h.id)})}),e==="ready"&&(s||l)&&c&&n.jsxs("div",{className:"flex flex-col items-start gap-1 pt-1",children:[l&&n.jsx("p",{role:"alert",className:"text-[12px] text-danger",children:o("ui.teamBridge.archive.list.load_more_error")}),n.jsx(V,{size:"sm",variant:"ghost",disabled:d,onClick:c,children:d?o("ui.teamBridge.archive.list.loading"):o("ui.teamBridge.archive.list.load_more")})]})]})},Ca=new Map,Ti=(e,t,i)=>`${e??""}/${t??"draft"}${i?`#${i}`:""}`;function Ya(e){let t=Ca.get(e);return t||(t={seen:new Set,highestSeq:-1,loading:!0},Ca.set(e,t)),t}function Io(e,t){const i=Ya(e);if(t.length===0){i.loading=!1;return}for(const a of t)i.seen.add(a.id),a.seq!==void 0&&(i.highestSeq=Math.max(i.highestSeq,a.seq));i.loading=!1}function gu(e,t,{commit:i=!0}={}){const a=Ya(e),r=new Set;if(!a.loading)for(const s of t){const d=s.seq===void 0||s.seq>a.highestSeq;!a.seen.has(s.id)&&d&&r.add(s.id)}return i&&Io(e,t),r}function pu(e){Ya(e).loading=!1}function Ro(e){const t=Ca.get(e);t&&(t.loading=!0)}const ku=4;function fu(e){const t=e&&typeof e=="object"?e.status?.attachments:void 0,i=kl.safeParse(t);if(!i.success||!i.data.enabled)return null;const a=new Set(i.data.mime_types);return!a.has("image/png")||!a.has("image/jpeg")?null:i.data}function rs(e){return e?Math.min(e.max_count,ku):0}function wu(e){const t=a=>e[a];if(e.length>=8&&t(0)===137&&t(1)===80&&t(2)===78&&t(3)===71)return"image/png";if(e.length>=3&&t(0)===255&&t(1)===216&&t(2)===255)return"image/jpeg";if(e.length>=6&&t(0)===71&&t(1)===73&&t(2)===70)return"image/gif";const i=(a,r)=>String.fromCharCode(...e.subarray(a,r));if(e.length>=12&&i(0,4)==="RIFF"&&i(8,12)==="WEBP")return"image/webp";if(e.length>=12&&i(4,8)==="ftyp"){const a=i(8,12);if(["heic","heix","hevc","heim","heis","mif1","msf1"].includes(a))return"image/heic"}return null}function bu(e,t){if(t==="account_mismatch")return"account_mismatch";switch(e){case 413:return"too_large";case 415:return"unsupported";case 422:return"invalid";case 429:return"rate_limited";case 400:return"limit";case 409:return"failed";case 404:return"expired";case 401:return"signed_out";case null:case void 0:case 502:case 503:return"offline";default:return"failed"}}function vi(e){return e?.code==="attachment_not_found"}const yu=/client_ref/i;function ss(e){const t=e?.code;if(t==="client_ref_conflict"||t==="conflict_client_ref")return!0;const i=e?.message;return typeof i=="string"&&yu.test(i)}async function ua(e,t,i){return e?.stageHeld?e.stageHeld(t,i):[...e?.ids??[]]}class nt extends Error{reason;constructor(t){super(`attachment ${t}`),this.name="AttachmentPrepareError",this.reason=t}}function xu(e){let t="";for(let a=0;a<e.length;a+=32768)t+=String.fromCharCode(...e.subarray(a,a+32768));return btoa(t)}function vu(e){const t=atob(e),i=new Uint8Array(t.length);for(let a=0;a<t.length;a+=1)i[a]=t.charCodeAt(a);return i}async function ju(e,t){if(typeof createImageBitmap!="function"||typeof OffscreenCanvas!="function")throw new nt("unsupported");let i;try{i=await createImageBitmap(new Blob([e],{type:t}))}catch{throw new nt("unsupported")}try{const a=new OffscreenCanvas(i.width,i.height),r=a.getContext("2d");if(!r)throw new nt("unsupported");r.drawImage(i,0,0);const s=await a.convertToBlob({type:"image/png"});return new Uint8Array(await s.arrayBuffer())}finally{i.close()}}async function _u(e,t){if(typeof createImageBitmap!="function")return{width:0,height:0};try{const i=await createImageBitmap(new Blob([e],{type:t})),a={width:i.width,height:i.height};return i.close(),a}catch{return{width:0,height:0}}}async function Eo(e,t){let i=new Uint8Array(await e.arrayBuffer());const a=wu(i);if(!a)throw new nt("unsupported");let r;a==="image/png"||a==="image/jpeg"?r=a:(i=await ju(i,a),r="image/png");const s=await kd({data_b64:xu(i),mime_type:r},wd,fd,{edgeIsHard:!0});if(s.mime_type!=="image/png"&&s.mime_type!=="image/jpeg")throw new nt("unsupported");const d=vu(s.data_b64);if(d.byteLength>t)throw new nt("too_large");const l=await _u(d,s.mime_type);return{bytes:d,mime:s.mime_type,...l}}function Ai(e){if(!e)return[];const t=[];if(e.items&&e.items.length>0){for(const i of Array.from(e.items)){if(i.kind!=="file")continue;const a=i.getAsFile();a&&os(a)&&t.push(a)}return t}for(const i of Array.from(e.files??[]))os(i)&&t.push(i);return t}function os(e){return e.type===""||e.type.startsWith("image/")}function Bu(e){return e.state===void 0||e.state==="bound"?e.mime==="image/png"||e.mime==="image/jpeg"?"fetch":"unavailable":e.state==="expired"?"expired":"unavailable"}function Nu(e,t){return{id:e.id,conversationId:t,mime:e.mime,size:e.size,width:e.width,height:e.height,...e.expires_at?{expiresAt:e.expires_at}:{}}}function Su(e,t=Date.now()){if(!e.expiresAt)return!1;const i=Date.parse(e.expiresAt);return Number.isFinite(i)&&i<=t}const Cu=16,Zn=new Map,Mo=(e,t)=>`${e}\0${t}`;function Iu(e,t,i){if(!e)return;const a=Mo(e,t);for(Zn.delete(a),Zn.set(a,i);Zn.size>Cu;){const r=Zn.keys().next().value;if(r===void 0)break;Zn.delete(r)}}function To(e,t){return e?Zn.get(Mo(e,t))??null:null}function Ru(){Zn.clear()}za(Ru);const Ao=({recipients:e,candidates:t,onChange:i,profileFor:a,autoFocus:r=!0})=>{me();const s=m.useId(),d=m.useRef(null),[l,c]=m.useState(""),[u,h]=m.useState(!1),[p,g]=m.useState(0);m.useEffect(()=>{document.getElementById(`${s}-${p}`)?.scrollIntoView({block:"nearest"})},[p,s]);const y=m.useMemo(()=>new Set(e.map(Ve)),[e]),w=m.useMemo(()=>{const f=l.trim().toLocaleLowerCase();return t.filter(_=>!y.has(Ve(_))&&(f===""||_.label.toLocaleLowerCase().includes(f)))},[t,y,l]),x=f=>{i([...e,f]),c(""),g(0),d.current?.focus()},k=u&&w.length>0;return n.jsxs("div",{className:"relative shrink-0 px-5 pt-3 pb-2",children:[n.jsxs("div",{className:"flex min-h-9 flex-wrap items-center gap-1.5 rounded-lg bg-elevated px-2 py-1",children:[n.jsx("span",{className:"pe-1 text-[13px] text-ink-dim",children:o("ui.teamBridge.compose.to")}),e.map(f=>{const _=a?.(f);return n.jsxs("span",{className:"flex h-6 items-center gap-1 rounded-md bg-accent-wash pe-0.5 ps-1.5 text-[13px] text-ink",children:[_?n.jsx(Dn,{member:_,label:f.label,kind:f.kind,onMessage:()=>{},canMessage:!1,children:n.jsxs("button",{type:"button",className:"flex min-w-0 items-center gap-1 rounded-sm",children:[n.jsx(yn,{member:_,kind:f.kind,endpointId:f.kind==="agent"?f.endpointId:void 0,label:f.label,size:20,className:"rounded-[5px] text-[10px]"}),f.label]})}):n.jsxs(n.Fragment,{children:[f.kind==="agent"&&n.jsx(Nt,{size:12,"aria-hidden":"true",className:"text-accent"}),f.label]}),n.jsx("button",{type:"button","aria-label":o("ui.teamBridge.compose.remove",{name:f.label}),onClick:()=>i(e.filter(B=>Ve(B)!==Ve(f))),className:"flex size-5 items-center justify-center rounded-sm text-ink-dim hover:bg-row-hover hover:text-ink",children:n.jsx(Ct,{size:12})})]},Ve(f))}),n.jsx("input",{ref:d,autoFocus:r,role:"combobox","aria-expanded":k,"aria-controls":s,"aria-autocomplete":"list","aria-activedescendant":k?`${s}-${Math.min(p,w.length-1)}`:void 0,"aria-label":o("ui.teamBridge.compose.label"),placeholder:e.length===0?o("ui.teamBridge.compose.placeholder"):void 0,value:l,onFocus:()=>h(!0),onBlur:()=>h(!1),onChange:f=>{c(f.target.value),g(0),h(!0)},onKeyDown:f=>{if(f.key==="ArrowDown")f.preventDefault(),h(!0),g(_=>Math.max(0,Math.min(_+1,w.length-1)));else if(f.key==="ArrowUp")f.preventDefault(),g(_=>Math.max(_-1,0));else if(f.key==="Enter"&&k){f.preventDefault();const _=w[Math.min(p,w.length-1)];_&&x(_)}else f.key==="Escape"?h(!1):f.key==="Backspace"&&l===""&&e.length>0&&i(e.slice(0,-1))},className:"h-7 min-w-32 flex-1 bg-transparent text-[13px] text-ink outline-none placeholder:text-ink-dim"})]}),k&&n.jsx("div",{id:s,tabIndex:-1,role:"listbox","aria-label":o("ui.teamBridge.compose.label"),className:"absolute top-full right-5 left-5 z-20 mt-1 max-h-64 overflow-y-auto rounded-lg bg-elevated p-1 shadow-lg",children:w.map((f,_)=>{const B=a?.(f);return n.jsxs("button",{id:`${s}-${_}`,type:"button",tabIndex:-1,role:"option","aria-selected":_===p,onMouseDown:L=>L.preventDefault(),onClick:()=>x(f),onMouseEnter:()=>g(_),className:Z("flex h-[30px] w-full cursor-default items-center gap-2 rounded-md px-2 text-start text-[13px]",_===p?"bg-row-hover text-ink":"text-ink-muted"),children:[B?n.jsx(yn,{member:B,kind:f.kind,endpointId:f.kind==="agent"?f.endpointId:void 0,label:f.label,size:20,className:"rounded-[5px] text-[10px]"}):n.jsx("span",{"aria-hidden":"true",className:Z("flex size-5 shrink-0 items-center justify-center overflow-hidden rounded-[5px] text-[10px] font-medium",f.kind==="agent"?"bg-media-surface text-accent":"bg-media-surface text-ink-muted"),children:f.kind==="agent"?n.jsx(Nt,{size:12}):f.label.trim().charAt(0).toUpperCase()||"?"}),n.jsx("span",{className:"min-w-0 flex-1 truncate",children:f.label})]},Ve(f))})})]})},zo=250,Eu=200;function Mu(e){const{id:t,canRecord:i,onTranscript:a}=e,[r,s]=m.useState(!1),[d,l]=m.useState(!1),[c,u]=m.useState(!1),[h,p]=m.useState(null),[g,y]=m.useState(0),w=m.useRef(null),x=m.useRef(null),k=m.useRef([]),f=m.useRef(null),_=m.useRef(null),B=m.useRef(a);m.useEffect(()=>{B.current=a});const L=m.useCallback(async O=>{_.current?.abort();const z=new AbortController;_.current=z,f.current=O;try{u(!0);const X=await bd.createTranscriptionWithRetry(yd.baseUrl,{file:new File([O],"recording.webm",{type:"audio/webm"})},{signal:z.signal,onRetry:({attempt:v,total:T,delayMs:M,error:H})=>{console.warn(`Transcription attempt ${v}/${T} failed with a transient upstream fault; retrying in ${M} ms.`,H)}});X.result?.text?B.current(X.result.text):xd(vd()),f.current=null,p(null)}catch(X){if(z.signal.aborted)return;console.error("Error transcribing audio:",X),jd(X)?p(_d(X)):(p(null),f.current=null,bi(Bd(X)))}finally{_.current===z&&u(!1)}},[]),N=m.useCallback(O=>{s(!1);const z=x.current;if(!z)return;const X=w.current?.startedAt??null,v=X===null?Number.POSITIVE_INFINITY:performance.now()-X;if(w.current=null,z.state==="inactive"){l(!1),y(0);return}(O==="abort"||v<zo)&&(z.onstop=()=>{for(const T of z.stream?.getTracks()??[])T.stop();k.current=[]}),z.stop(),l(!1),y(0)},[]),E=m.useCallback((O="release")=>{const z=w.current;if(z){if(z.startedAt===null){w.current=null,s(!1);return}N(O)}},[N]),I=m.useCallback(async()=>{if(!i||w.current||c)return;if(!navigator?.mediaDevices?.getUserMedia){console.error("This runtime exposes no MediaRecorder"),bi(o("ui.canvas.inline_edit.dictation_is_not_available_on_this_device"));return}const O={startedAt:null};w.current=O,s(!0);try{const z=await navigator.mediaDevices.getUserMedia({audio:!0});if(w.current!==O){for(const v of z.getTracks())v.stop();return}const X=new MediaRecorder(z);x.current=X,k.current=[],X.ondataavailable=v=>{v.data.size>0&&k.current.push(v.data)},X.onstop=()=>{const v=new Blob(k.current,{type:"audio/webm"});k.current=[];for(const T of z.getTracks())T.stop();p(null),L(v)},X.start(),O.startedAt=performance.now(),s(!1),l(!0),y(0)}catch(z){if(w.current!==O)return;w.current=null,s(!1),console.error("Error accessing microphone:",z),bi(o("ui.canvas.inline_edit.error_accessing_microphone_please_ensure_microphone_permissions_are_gran"))}},[i,c,L]),K=m.useCallback(()=>{d&&N("release")},[d,N]),R=m.useCallback(()=>{d&&N("abort")},[d,N]),F=m.useCallback(()=>{const O=f.current;!O||c||(p(null),L(O))},[c,L]);return Nd(t,Sd.MESSAGE_INPUT,{start:I,stop:E},()=>!!(i&&!d&&!c)),m.useEffect(()=>(Mr(t,d||r),()=>Mr(t,!1)),[t,d,r]),m.useEffect(()=>{if(!d)return;const O=performance.now(),z=window.setInterval(()=>y(performance.now()-O),Eu);return()=>window.clearInterval(z)},[d]),m.useEffect(()=>{if(!d&&!r)return;const O=z=>{if(!(z.defaultPrevented||z.isComposing||z.keyCode===229)){if(d&&z.key==="Enter"){z.preventDefault(),K();return}z.key==="Escape"&&(z.preventDefault(),d?R():E("abort"))}};return window.addEventListener("keydown",O),()=>window.removeEventListener("keydown",O)},[d,r,K,R,E]),m.useEffect(()=>()=>{w.current=null;const O=x.current;O&&O.state!=="inactive"&&(O.onstop=()=>{for(const z of O.stream?.getTracks()??[])z.stop();k.current=[]},O.stop()),_.current?.abort()},[]),{isRecording:d,isPreparing:r,isTranscribing:c,failure:h,elapsedMs:g,start:I,stop:E,confirm:K,cancel:R,retry:F}}const Tu=20,ls=6*Tu+16,Au={canUseRadientSpeech:!1,speechBlock:"could-not-check"},ds=[],zu="team-bridge-composer",Du=e=>{const t=Math.floor(e/1e3);return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`},Pu=e=>new Promise(t=>{const i=new FileReader;i.onload=()=>typeof i.result=="string"?t(i.result):t(null),i.onerror=()=>t(null),i.readAsDataURL(e)}),qu=({conversationId:e,placeholder:t,disabled:i=!1,sending:a=!1,sendDisabled:r=!1,canAttach:s=!1,trailing:d,hint:l,disabledReasonId:c,recordingProbe:u,onSendMessage:h})=>{me();const p=m.useId(),g=on(j=>j.inputByConversation[e]?.attachments),y=on(j=>j.removeAttachment),w=g??ds,x=m.useRef(()=>{}),{inputValue:k,setInputValue:f,appendTranscriptText:_,handleKeyDown:B,handleSubmit:L,textareaRef:N,sendInFlight:E}=Cd({conversationId:e,transcriptless:!0,onSubmit:j=>(x.current(j),h(j,(on.getState().inputByConversation[e]?.attachments??ds).map(ie=>ie.path)))}),I=_o({draftKey:e,text:k,setText:f,fieldRef:N});x.current=I.stage,m.useLayoutEffect(()=>{const j=N.current;if(!j)return;const ie=()=>{const P=j.scrollTop;j.style.height="auto";const ne=Math.ceil(j.scrollHeight);j.style.height=`${Math.min(ne,ls)}px`,j.style.overflowY=ne>ls?"auto":"hidden",j.scrollTop!==P&&(j.scrollTop=P)};if(ie(),typeof ResizeObserver>"u")return;let ge=!0,je=j.getBoundingClientRect().width;const se=new ResizeObserver(()=>{if(!ge)return;const P=j.getBoundingClientRect().width;P!==je&&(je=P,ie())});return se.observe(j),()=>{ge=!1,se.disconnect()}},[k]);const K={onPaste:j=>{const ie=Ai(j.clipboardData);ie.length!==0&&(Array.from(j.clipboardData.types).includes("text/plain")||j.preventDefault(),R(ie))},onDragOver:j=>{Array.from(j.dataTransfer.types).includes("Files")&&j.preventDefault()},onDrop:j=>{const ie=Ai(j.dataTransfer);ie.length!==0&&(j.preventDefault(),R(ie))}},R=m.useCallback(async j=>{if(i)return;const ie=on.getState();for(const ge of j){const je=window.api?.getPathForFile?.(ge)??"";if(je){ie.addAttachment(e,{id:Lr(),path:fc(je)});continue}const se=await Pu(ge);se&&ie.addAttachment(e,{id:Lr(),path:se})}},[e,i]),F=m.useRef(null),O=k.trim().length>0||w.length>0,z=i,X=a||E,{canUseRadientSpeech:v,speechBlock:T}=u??Au,M=v,H=Id("recording",T),S=Mu({id:zu,canRecord:!z&&M,onTranscript:j=>_(j)}),U=Rd(Ed()),$=M?U===null?o("ui.chat.composer.start_recording"):o("ui.chat.composer.start_recording_hint",{shortcut:U,pushToTalk:Md().label}):H,Q=m.useRef(0),Y=zo;return n.jsxs("div",{className:"flex w-full flex-col gap-1.5",children:[n.jsx(jo,{mentions:I}),w.length>0&&n.jsx("div",{className:"max-h-[240px] shrink-0 overflow-y-auto",children:n.jsx(Td,{attachments:w,onRemoveAttachment:j=>y(e,j),disabled:z})}),S.failure!==null&&n.jsxs("div",{"data-dictation-failure":"",className:"flex items-center gap-2 px-2 [min-height:1.5rem]",children:[n.jsx(go,{"aria-hidden":"true",className:"size-3.5 shrink-0 text-danger"}),n.jsx("span",{className:"min-w-0 flex-1 text-body-sm text-ink-muted",children:S.failure}),n.jsx(V,{type:"button",variant:"link",size:"sm",className:"h-7 shrink-0 px-2 underline",onClick:S.retry,children:o("ui.common.actions.retry")})]}),n.jsxs("div",{...K,"data-composer-bar":"",className:Z("group flex w-full flex-col rounded-md bg-elevated transition-colors duration-fast ease-out-quart","has-[textarea:focus-visible]:outline-2 has-[textarea:focus-visible]:outline-accent has-[textarea:focus-visible]:outline-offset-2 has-[textarea:focus-visible]:outline-solid"),children:[n.jsx(Bo,{mentions:I,fieldRef:N,text:k,children:n.jsx("textarea",{ref:N,id:p,rows:1,value:k,disabled:z,"aria-label":t,"aria-describedby":c,placeholder:t,onChange:j=>f(j.target.value),...S.isRecording||S.isPreparing?{onKeyDown:()=>{}}:I.bindField({onKeyDown:B}),className:"relative block min-h-9 w-full resize-none bg-transparent px-3 py-2 text-[14px] leading-5 text-ink outline-none placeholder:text-ink-dim disabled:cursor-not-allowed disabled:text-ink-dim"})}),n.jsx("div",{"data-composer-controls":"",className:"flex h-9 min-w-0 items-center gap-1 px-2 pb-2",children:S.isRecording||S.isPreparing?n.jsxs(n.Fragment,{children:[n.jsxs("span",{"data-dictation-strip":"","aria-live":"polite",className:"flex min-w-0 flex-1 items-center gap-2 ps-1.5",children:[n.jsx("span",{"aria-hidden":"true",className:Z("size-2 shrink-0 rounded-full",S.isPreparing?"bg-accent":"animate-pulse bg-danger")}),n.jsx("span",{className:"shrink-0 font-medium text-meta-sm text-ink",children:S.isPreparing?o("ui.chat.composer.starting_recording"):o("ui.chat.composer.placeholder.recording")}),S.isRecording&&n.jsx("span",{"data-dictation-elapsed":"",className:"shrink-0 font-mono text-meta-sm tabular-nums text-ink-muted",children:Du(S.elapsedMs)})]}),S.isRecording&&n.jsx(V,{variant:"ghost",size:"icon-sm",className:"shrink-0 text-success hover:bg-success-wash hover:text-success","aria-label":o("ui.chat.composer.confirm_recording"),title:o("ui.chat.composer.confirm_recording_hint"),onClick:S.confirm,children:n.jsx(jc,{"aria-hidden":"true"})}),n.jsx(V,{variant:"ghost",size:"icon-sm",className:"shrink-0 text-danger hover:bg-danger-wash hover:text-danger","aria-label":o("ui.chat.composer.cancel_recording"),title:o("ui.chat.composer.cancel_recording_hint"),onClick:S.isRecording?S.cancel:()=>S.stop("abort"),children:n.jsx(Ct,{"aria-hidden":"true"})})]}):S.isTranscribing?n.jsxs("span",{"data-dictation-transcribing":"","aria-live":"polite",className:"flex min-w-0 flex-1 items-center gap-2 ps-1.5",children:[n.jsx(Oe,{size:"sm"}),n.jsx("span",{className:"truncate font-medium text-body-sm text-ink-muted",children:o("ui.chat.composer.processing_audio")})]}):n.jsxs(n.Fragment,{children:[n.jsx("span",{className:Z("min-w-0 flex-1 truncate ps-1.5 text-meta-sm text-ink-dim opacity-0 transition-opacity duration-fast",!O&&"group-has-[textarea:focus]:opacity-100"),"aria-hidden":O,children:l??o("ui.teamBridge.composer.hint")}),n.jsx(V,{variant:"ghost",size:"icon-sm",className:"shrink-0 text-ink-dim","aria-label":o("ui.chat.composer.start_recording"),"aria-busy":S.isPreparing||void 0,title:$,disabled:z||!M,onPointerDown:j=>{if(j.button===0){try{j.currentTarget.setPointerCapture(j.pointerId)}catch{}Q.current=performance.now(),S.start()}},onPointerUp:j=>{j.currentTarget.hasPointerCapture?.(j.pointerId)===!0&&(j.currentTarget.releasePointerCapture?.(j.pointerId),!(performance.now()-Q.current<Y)&&S.confirm())},onClick:j=>{j.detail===0&&S.start()},children:n.jsx(Ad,{"aria-hidden":"true"})}),s&&n.jsxs(n.Fragment,{children:[n.jsx(V,{variant:"ghost",size:"icon-sm","aria-label":o("ui.teamBridge.attachments.add"),title:o("ui.teamBridge.attachments.add"),disabled:z,onClick:()=>F.current?.click(),children:n.jsx(po,{size:16,"aria-hidden":"true"})}),n.jsx("input",{ref:F,type:"file",accept:"image/png,image/jpeg,image/webp,image/gif,image/heic,image/heif",multiple:!0,hidden:!0,tabIndex:-1,onChange:j=>{R(Array.from(j.target.files??[])),j.target.value=""}})]}),d,n.jsx(V,{size:"icon-sm",variant:"primary",className:"shrink-0 rounded-full",disabled:!O||z||r||X,"aria-label":o("ui.teamBridge.composer.send"),onClick:()=>void L(),children:X?n.jsx(Oe,{size:"sm"}):n.jsx(Ks,{size:16})})]})})]})]})},Ou=({conversation:e,onNotifyChange:t,onArchive:i,onAddMembers:a,ownAgent:r,onAgentNotifyChange:s,defaultOpen:d=!1})=>{me();const l=zd(e),c=l==="mute";return n.jsxs(Zt,{defaultOpen:d,children:[n.jsx(ei,{asChild:!0,children:n.jsx(V,{type:"button",size:"icon-sm",variant:"ghost","aria-label":o("ui.teamBridge.menu.label"),title:o("ui.teamBridge.menu.label"),children:n.jsx(qi,{size:16,"aria-hidden":"true"})})}),n.jsxs(ni,{align:"end",className:"w-60",children:[a&&n.jsxs(n.Fragment,{children:[n.jsxs(et,{onSelect:a,children:[n.jsx(Kt,{size:16,"aria-hidden":"true"}),n.jsx("span",{children:o("ui.teamBridge.members.menu")})]}),n.jsx(Ft,{})]}),n.jsxs(et,{onSelect:()=>t(Dd(l)),children:[c?n.jsx(fl,{size:16,"aria-hidden":"true"}):n.jsx(ko,{size:16,"aria-hidden":"true"}),n.jsx("span",{children:c?o("ui.teamBridge.menu.unmute"):o("ui.teamBridge.menu.mute")})]}),n.jsx(Ft,{}),n.jsx(vt,{children:o("ui.teamBridge.notify.label")}),n.jsx(xa,{value:l,"aria-label":o("ui.teamBridge.notify.label"),onValueChange:u=>t(Tr(u)),children:Pd.map(u=>n.jsx(Ei,{value:u.value,children:n.jsx("span",{className:"min-w-0 flex-1 truncate",children:o(u.labelKey)})},u.value))}),r&&s&&n.jsxs(n.Fragment,{children:[n.jsx(Ft,{}),n.jsx(vt,{children:o("ui.teamBridge.agentNotify.label")}),n.jsx(xa,{value:r.notify??"","aria-label":o("ui.teamBridge.agentNotify.label"),onValueChange:u=>s(Tr(u)),children:qd.map(u=>n.jsx(Ei,{value:u.value,children:n.jsx("span",{className:"min-w-0 flex-1 truncate",children:o(u.labelKey)})},u.value))})]}),i&&n.jsxs(n.Fragment,{children:[n.jsx(Ft,{}),n.jsxs(et,{onSelect:i,children:[n.jsx(Gt,{size:16,"aria-hidden":"true"}),n.jsx("span",{children:o("ui.teamBridge.archive.menu.archive")})]})]})]})]})},Lu=/\s+/g,Fu=/^#+/;function $u(e){return e.trim().toLowerCase().replace(Lu,"-").replace(Fu,"")}const Ku=({open:e,onClose:t,candidates:i,onCreate:a,pending:r=!1,error:s})=>{me();const d=m.useId(),l=m.useId(),[c,u]=m.useState(""),[h,p]=m.useState(""),[g,y]=m.useState([]);m.useEffect(()=>{e&&(u(""),p(""),y([]))},[e]);const w=$u(c),x=w.length>0;return n.jsx(Vt,{open:e,onOpenChange:k=>{k||t()},children:n.jsxs(Qt,{className:"gap-4",children:[n.jsx(Yt,{children:o("ui.teamBridge.create.title")}),n.jsx(Xt,{className:"text-[13px] text-ink-muted",children:o("ui.teamBridge.create.channel_description")}),n.jsxs("label",{htmlFor:d,className:"flex flex-col gap-1 text-[13px] text-ink-muted",children:[o("ui.teamBridge.create.name"),n.jsx(Ri,{id:d,value:c,onChange:k=>u(k.target.value),placeholder:o("ui.teamBridge.create.name_placeholder"),maxLength:80,autoFocus:!0})]}),n.jsxs("label",{htmlFor:l,className:"flex flex-col gap-1 text-[13px] text-ink-muted",children:[o("ui.teamBridge.create.topic"),n.jsx(Ri,{id:l,value:h,onChange:k=>p(k.target.value),maxLength:512})]}),n.jsxs("div",{className:"flex flex-col gap-1 text-[13px] text-ink-muted",children:[n.jsx("span",{children:o("ui.teamBridge.create.members")}),n.jsx("div",{className:"relative -mx-5",children:n.jsx(Ao,{recipients:g,candidates:i,onChange:y,autoFocus:!1})})]}),s&&n.jsx("p",{role:"alert",className:"text-[13px] text-danger",children:s}),n.jsxs("div",{className:"flex justify-end gap-2",children:[n.jsx(V,{type:"button",variant:"ghost",onClick:t,children:o("ui.teamBridge.create.cancel")}),n.jsx(V,{type:"button",variant:"primary",disabled:!x||r,onClick:()=>a({kind:"channel",name:w,...h.trim()?{topic:h.trim()}:{},visibility:"tenant",agentCapable:!0,members:g.map(qa)}),children:o("ui.teamBridge.create.confirm")})]})]})})},Uu=({status:e,api:t=wl,defaultExpanded:i})=>{const a=rt(),r=e?.tenant_id??null,s=e?.account_id??null,d=e?.surface_state==="C"&&e.default_on?.notice_pending===!0,l=[...zn.all,"default-on-settings",s,r],u=Ga({queryKey:l,queryFn:()=>t.settings(r??void 0),enabled:d&&r!==null,staleTime:6e4}).data??null,h=Ac(e??null,u,s),p=zc({api:t,accountId:s,tenantId:u?.settings.tenant_id??r,markerTenantId:r,onSettings:g=>a.setQueryData(l,g),onChanged:async()=>{bl.invalidateStatus(),await a.invalidateQueries({queryKey:zn.status})}});return!e||!h?null:n.jsx("div",{className:"shrink-0 px-4 py-1",children:n.jsx(Dc,{consentText:wc(e,u),pending:p.pending,failure:p.failure,onTurnOff:()=>void p.turnOff(),onDismiss:()=>void p.dismiss(),defaultExpanded:i})})},Hu=q.discriminatedUnion("kind",[q.object({kind:q.literal("human"),accountId:q.string().min(1),label:q.string()}),q.object({kind:q.literal("agent"),accountId:q.string().min(1),endpointId:q.string().min(1),label:q.string()})]),Gu=q.object({target:q.discriminatedUnion("type",[q.object({type:q.literal("conversation"),id:q.string().min(1)}),q.object({type:q.literal("person"),accountId:q.string().min(1)}),q.object({type:q.literal("chief"),accountId:q.string().min(1)}),q.object({type:q.literal("compose"),recipients:q.array(Hu)})]),body:q.string(),clientRef:q.string().min(1),conversationId:q.string().min(1).optional(),sendAt:q.string().datetime({offset:!0}).optional(),createUncertain:q.boolean().optional(),attachments:q.array(q.object({id:q.string().regex(/^[a-zA-Z0-9_-]{1,128}$/),conversationId:q.string().min(1).max(128),mime:q.enum(["image/png","image/jpeg"]),size:q.number().int().nonnegative(),width:q.number().int().nonnegative(),height:q.number().int().nonnegative(),expiresAt:q.string().max(64).optional()}).strict()).max(4).optional()});function ln(e){switch(e.type){case"conversation":return`conversation:${e.id}`;case"person":return`person:${e.accountId}`;case"chief":return`chief:${e.accountId}`;case"compose":return"compose"}}function Ia(e,t){try{const i=JSON.parse(e.getItem(t)??"{}");if(!i||typeof i!="object"||Array.isArray(i))return{};const a={};for(const[r,s]of Object.entries(i)){const d=Gu.safeParse(s);d.success&&ln(d.data.target)===r&&(a[r]=d.data)}return a}catch{return{}}}function Wu(e,t){const i=new Map,a=`${Us}${encodeURIComponent(t)}:`;try{for(const r of Object.keys(e))r.startsWith(a)&&i.set(r,Ia(e,r))}catch{}return i}function Ju(e){return decodeURIComponent(e.slice(e.lastIndexOf(":")+1))}const Vu=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})$/;function cs(e,t=Date.now()){const i=new Date(e),a=i.getTime(),r=Vu.exec(e);return!r||i.getFullYear()!==Number(r[1])||i.getMonth()+1!==Number(r[2])||i.getDate()!==Number(r[3])||i.getHours()!==Number(r[4])||i.getMinutes()!==Number(r[5])?null:Number.isFinite(a)&&a>=t+6e4&&a<=t+120*864e5?new Date(a).toISOString():null}function Qu({reasonId:e,busy:t,onRetry:i,onDiscard:a}){return n.jsxs("div",{className:"flex min-w-0 flex-col gap-2 px-3.5 pt-3 text-sm text-ink-muted",children:[n.jsx("p",{id:e,children:o("ui.teamBridge.schedule.held")}),n.jsxs("div",{className:"flex min-w-0 flex-col items-stretch gap-1",children:[i&&n.jsx(V,{variant:"primary",className:"h-auto min-h-8 w-full max-w-full justify-start whitespace-normal py-1.5 text-left [overflow-wrap:anywhere]",disabled:t,onClick:i,children:o("ui.teamBridge.schedule.retry")}),n.jsx(V,{variant:"ghost",className:"h-auto min-h-8 w-full max-w-full justify-start whitespace-normal py-1.5 text-left text-danger hover:text-danger [overflow-wrap:anywhere]",disabled:t,onClick:a,children:o("ui.teamBridge.schedule.discard_attempt")})]})]})}const Yu={agent_unavailable:()=>o("ui.teamBridge.invitations.failed.agent_unavailable"),already_answered:()=>o("ui.teamBridge.invitations.failed.already_answered"),gone:()=>o("ui.teamBridge.invitations.failed.gone"),outdated:()=>o("ui.teamBridge.invitations.failed.outdated"),runtime_outdated:()=>o("ui.teamBridge.invitations.failed.runtime_outdated"),not_available:()=>o("ui.teamBridge.invitations.failed.not_available"),sign_in:()=>o("ui.teamBridge.invitations.failed.sign_in"),unreachable:()=>o("ui.teamBridge.invitations.failed.unreachable"),unconfirmed:()=>o("ui.teamBridge.invitations.failed.unconfirmed")},Xu=new Set(["already_answered","gone","outdated","runtime_outdated"]);function ms(e){return Yu[e]()}function Zu(e){return!Xu.has(e)}function eh(e){return e?e.self?e.role==="added"?o("ui.teamBridge.invitations.added_by_you"):o("ui.teamBridge.invitations.created_by_you"):e.role==="added"?o("ui.teamBridge.invitations.added_by",{name:e.name}):o("ui.teamBridge.invitations.created_by",{name:e.name}):null}function nh({invitations:e,listState:t,onRetry:i,readOnly:a=!1,organizationNames:r}){const s=yl(),[d,l]=m.useState({}),c=m.useRef([]),u=new Set(Object.entries(d).filter(([,p])=>p.phase!=="idle").map(([p])=>p));c.current=xl(c.current,e,u);const h=(p,g)=>{l(y=>({...y,[p.key]:{phase:"pending",decision:g}})),s.mutateAsync({conversationId:p.conversationId,tenantId:p.tenantId,decision:g}).then(()=>l(y=>({...y,[p.key]:{phase:"done",decision:g}})),y=>l(w=>({...w,[p.key]:{phase:"failed",kind:vl(y)}})))};return n.jsx(th,{invitations:c.current,rowStates:d,listState:t,onRetry:i,readOnly:a,organizationNames:r,onAnswer:h})}function th({invitations:e,rowStates:t={},listState:i,onRetry:a,readOnly:r=!1,organizationNames:s={},onAnswer:d}){return me(),n.jsxs("section",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-auto p-5","aria-label":o("ui.teamBridge.invitations.title"),children:[n.jsx("h2",{className:"text-lg font-medium text-ink",children:o("ui.teamBridge.invitations.title")}),n.jsx("p",{className:"max-w-prose text-sm text-ink-muted",children:o(jl)}),r&&e.length>0&&n.jsx("p",{className:"max-w-prose text-sm text-ink-muted",children:o("ui.teamBridge.invitations.read_only")}),i==="loading"&&e.length===0?n.jsx(Oe,{size:"sm",label:o("ui.teamBridge.invitations.loading")}):i==="error"&&e.length===0?n.jsxs("div",{role:"alert",className:"flex flex-col items-start gap-2",children:[n.jsx("p",{className:"text-sm text-ink-muted",children:o("ui.teamBridge.invitations.load_failed")}),a&&n.jsx(V,{size:"sm",variant:"ghost",onClick:a,children:o("ui.teamBridge.list.retry")})]}):e.length===0?n.jsx("p",{className:"text-sm text-ink-muted",children:o("ui.teamBridge.invitations.empty")}):n.jsx("ul",{className:"flex flex-col gap-2",children:e.map(l=>n.jsx(ih,{invitation:l,state:t[l.key]??{phase:"idle"},readOnly:r,organizationName:s[l.tenantId],onAnswer:c=>d(l,c)},l.key))})]})}function ih({invitation:e,state:t,readOnly:i,organizationName:a,onAnswer:r}){const s=e.conversationKind==="group"?St:Ki,d=eh(e.inviter),l=e.agentName,c=t.phase==="pending",u=t.phase==="failed"?t.kind:null,h=t.phase==="idle"||c||u!==null&&Zu(u);return n.jsxs("li",{className:"flex flex-col gap-1.5 rounded-lg bg-elevated p-3 text-ink",children:[n.jsxs("p",{className:"flex min-w-0 items-center gap-2 text-sm font-medium",children:[n.jsx(s,{size:14,"aria-hidden":"true",className:"shrink-0 text-ink-dim"}),n.jsx("span",{className:"truncate",children:e.conversationName??o("ui.teamBridge.list.untitled")}),a?.trim()&&n.jsx("span",{className:"truncate font-normal text-meta-sm text-ink-dim",children:a.trim()})]}),n.jsx("p",{className:"text-sm text-ink-muted",children:o("ui.teamBridge.invitations.agent_line",l?{agent:l}:{agent:o("ui.teamBridge.invitations.agent_fallback")})}),d&&n.jsx("p",{className:"text-meta text-ink-dim",children:d}),n.jsxs("div",{className:"flex min-h-8 flex-wrap items-center gap-2",children:[h&&n.jsxs(n.Fragment,{children:[n.jsx(us,{variant:"primary",idle:o("ui.teamBridge.invitations.accept"),busy:o("ui.teamBridge.invitations.accepting"),pending:c&&t.decision==="accept",inFlight:c,readOnly:i,onPress:()=>r("accept")}),n.jsx(us,{variant:"ghost",idle:o("ui.teamBridge.invitations.decline"),busy:o("ui.teamBridge.invitations.declining"),pending:c&&t.decision==="decline",inFlight:c,readOnly:i,onPress:()=>r("decline")})]}),u!==null&&n.jsx("p",{role:"alert",title:ms(u),className:"min-w-0 flex-1 truncate text-sm text-danger",children:ms(u)}),t.phase==="done"&&n.jsx("p",{"aria-live":"polite",className:"text-sm text-ink-muted",children:t.decision==="accept"?l?o("ui.teamBridge.invitations.accepted",{agent:l}):o("ui.teamBridge.invitations.accepted_unnamed"):l?o("ui.teamBridge.invitations.declined",{agent:l}):o("ui.teamBridge.invitations.declined_unnamed")})]})]})}function us({variant:e,idle:t,busy:i,pending:a,inFlight:r,readOnly:s,onPress:d}){return n.jsx(V,{size:"sm",variant:e,disabled:s,"aria-disabled":r||void 0,"aria-busy":a||void 0,onClick:r?void 0:d,className:a?"cursor-progress":void 0,children:n.jsxs("span",{className:"grid",children:[n.jsx("span",{className:Z("col-start-1 row-start-1",a&&"invisible"),"aria-hidden":a,children:t}),n.jsx("span",{className:Z("col-start-1 row-start-1",!a&&"invisible"),"aria-hidden":!a,children:i})]})})}const ah=/data:image\//gi,hs=/[a-z0-9+/%=_-]/i,gs=/<\/svg\s*>/gi,rh=/;base64$/i,ha=/[\s"'<>`]/,sh=/[;,]/,oh=/[)\]}.!?]{1,4}$/,lh=80,ga=2048,dh=2048,ch=256,mh=2048;function tt(e,t,i,a=0){let r=t,s=a;for(;r<i&&(e[r]===" "||e[r]===" ");)s=e[r]===" "?s+4-s%4:s+1,r++;return{i:r,col:s}}function ps(e,t,i){let a=t;if(e[a]==="-"||e[a]==="*"||e[a]==="+")a++;else{for(;a<i&&a-t<9&&e[a]>="0"&&e[a]<="9";)a++;if(a===t||e[a]!=="."&&e[a]!==")")return 0;a++}return a===i||e[a]==="\r"||e[a]===" "||e[a]===" "?a-t:0}function ks(e,t,i){let a=0,r=e.length;for(;a<r;){const s=a+r>>1;e[s].quote<i||e[s].quote===i&&e[s].col<=t?a=s+1:r=s}return a&&e[a-1].quote===i?e[a-1].col:0}function uh(e,t,i,a,r,s){let d=t,l=0;for(;;){const g=tt(e,d,i);if(g.col>3||e[g.i]!==">")break;if(!l)for(;a.length&&a[a.length-1].quote===l&&a[a.length-1].col>g.col;)a.pop();d=g.i+1,(e[d]===" "||e[d]===" ")&&d++,l++}for(;a.length&&a[a.length-1].quote>l;)a.pop();let{i:c,col:u}=tt(e,d,i);const h=c===i||e[c]==="\r"&&c+1===i;if(h)return{at:-1,blank:h,quote:l,item:0};if(a.length&&a[a.length-1].quote===l&&a[a.length-1].col>u&&(r||!a[a.length-1].lazy||fs(e,c,i)))for(;a.length&&a[a.length-1].quote===l&&a[a.length-1].col>u;)a.pop();const p=hh(e,c,i);for(;;){const g=ks(a,u,l);if(u-g>3)return{at:-1,blank:h,quote:l,item:g};const y=s&&c+ps(e,c,i)===i||p>=0&&c>=p?0:ps(e,c,i);if(!y)break;const w=tt(e,c+y,i,u+y),x=w.col-u-y,k=u+y+(x===0||x>4?1:x);for(;a.length&&a[a.length-1].quote===l&&a[a.length-1].col>u;)a.pop();if(a.length&&(a[a.length-1].lazy=!1),a.push({col:k,quote:l,lazy:!1}),x>4)return{at:-1,blank:h,quote:l,item:k};c=w.i,u=w.col}if(a.length&&a[a.length-1].quote===l){const g=a[a.length-1];g.lazy=c<i&&e[c]!=="\r"&&!fs(e,c,i)}return{at:c,blank:h,quote:l,item:ks(a,u,l)}}function fs(e,t,i){const a=e[t];let r=0;for(;t+r<i&&e[t+r]===a;)r++;if(a==="#"){const s=e[t+r];return r<=6&&(t+r===i||s===" "||s===" "||s==="\r")}return a==="`"||a==="~"?r>=3:gh(e,t,i)}function hh(e,t,i){let a="",r=0,s=i;for(let d=i-1;d>=t;d--){const l=e[d];if(!(l===" "||l===" "||l==="\r")){if(!a&&(l==="*"||l==="-"||l==="_")&&(a=l),!a||l!==a)break;r++,s=d}}return r>=3?s:-1}function gh(e,t,i){const a=e[t];if(a!=="*"&&a!=="-"&&a!=="_")return!1;let r=0;for(let s=t;s<i;s++)if(e[s]===a)r++;else if(e[s]!==" "&&e[s]!==" "&&e[s]!=="\r")return!1;return r>=3}function ph(e,t,i,a){let r=t;for(let l=0;l<a.quote;l++){const c=tt(e,r,i);if(c.col>3||e[c.i]!==">")return!0;r=c.i+1,(e[r]===" "||e[r]===" ")&&r++}if(!a.item)return!1;const s=tt(e,r,i);return!(s.i===i||e[s.i]==="\r"&&s.i+1===i)&&s.col<a.item}function kh(e){const t=[];let i=0,a=null,r=0;const s=[];let d=!1,l=!1,c=0;for(;;){let u=e.indexOf(`
|
|
40
|
+
`,r);u<0&&(u=e.length);let h=!1;if(a&&ph(e,r,u,a)&&(t.push({start:a.start,end:r-1}),a=null,i=r-1,h=!0),a){let p=r;for(let w=0;w<a.quote;w++)p=tt(e,p,u).i+1,(e[p]===" "||e[p]===" ")&&p++;const g=tt(e,p,u);p=g.i;let y=0;if(g.col-a.item<=3)for(;p+y<u&&e[p+y]===a.char;)y++;y>=a.size&&!e.slice(p+y,u).trim()&&(t.push({start:a.start,end:u}),a=null,i=u,s.length&&(s[s.length-1].lazy=!1))}else{const p=uh(e,r,u,s,d||h,l),g=p.at,y=g<0?"":e[g];let w=0;if(y==="`"||y==="~")for(;g+w<u&&e[g+w]===y;)w++;w>=3&&!(y==="`"&&e.slice(g+w,u).includes("`"))?(pa(e,i,r,t),s.length&&(s[s.length-1].lazy=!1),a={char:y,size:w,start:r,quote:p.quote,item:p.item}):p.blank&&(pa(e,i,r,t),i=u),d=p.blank,l=!p.blank&&p.at<0&&c===p.quote&&s.length===0,c=p.quote}if(u===e.length)break;r=u+1}return a?t.push({start:a.start,end:e.length}):pa(e,i,e.length,t),t}function pa(e,t,i,a){const r=[];for(let l=t;l<i;){if(e[l]!=="`"){l++;continue}let c=l;for(;c<i&&e[c]==="`";)c++;r.push({pos:l,len:c-l}),l=c}if(r.length<2)return;const s=new Map;r.forEach((l,c)=>{const u=s.get(l.len);u?u.push(c):s.set(l.len,[c])});const d=new Map;for(let l=0;l<r.length;l++){let{pos:c,len:u}=r[l],h=0;for(;c-h-1>=t&&e[c-h-1]==="\\";)h++;h%2&&(c++,u--);const p=s.get(u);if(!p)continue;let g=d.get(u)??0;for(;g<p.length&&p[g]<=l;)g++;if(d.set(u,g),g===p.length)continue;const y=r[p[g]];a.push({start:c,end:y.pos+y.len}),l=p[g]}}function fh(e){const t=[];let i,a=0,r=-1,s,d=-1;for(const l of e.matchAll(ah)){const c=l.index,u=t[t.length-1];if(u&&c<u.end&&(u.dataLength===void 0||c<d))continue;for(i??=kh(e);a<i.length&&i[a].end<=c;)a++;const h=a<i.length&&i[a].start<=c?i[a]:void 0;if(h&&c<d)continue;const p=h?e.length:i[a]?.start??e.length;let g=c+l[0].length;for(;g<e.length&&e[g]!==","&&!ha.test(e[g]);)g++;const y=g<e.length&&e[g]===",";if(h&&(d=Math.max(d,g)),!y&&g-c<=64)continue;const w=e.slice(c,g),x=w.search(sh);let k=g;if(y)if(g++,rh.test(w))for(;g<e.length;){if(hs.test(e[g])){g++;continue}if(e[g]==="\r"||e[g]===`
|
|
41
|
+
`){let B=g,L=0;for(;e[B]==="\r"||e[B]===`
|
|
42
|
+
`;){const N=B;e[B]==="\r"&&e[B+1]===`
|
|
43
|
+
`?B+=2:B++;const E=B;for(;B<e.length&&hs.test(e[B]);)B++;if(B===E||B-E<64&&B<e.length&&!`\r
|
|
44
|
+
)]}*.!?,;:`.includes(e[B])){B=N;break}L+=B-E}L>=dh&&(k=B)}break}else if(e[g]==="<")r<g&&(r=e.indexOf(`
|
|
45
|
+
`,g),r<0&&(r=e.length)),s!==null&&(!s||s.index<g)&&(gs.lastIndex=g,s=gs.exec(e)),g=s&&s.index<r?s.index+s[0].length:r;else{let B=g;for(;B<e.length&&!ha.test(e[B]);)B++;let L=0;for(;g<e.length&&!ha.test(e[g]);){const N=e[g];if((e.startsWith("**",g)||N==="]"||N==="}"||N===")"&&!L)&&B-g<=ch)break;N==="("&&L++,N===")"&&L&&L--,g++}g-=e.slice(Math.max(c,g-4),g).match(oh)?.[0].length??0}g=Math.min(g,p),k=Math.min(k,p);const f=Math.max(g,k);if(h&&(d=Math.max(d,f)),f-c<mh)continue;const _=w.slice(5,Math.min(x<0?w.length:x,5+lh)).toLowerCase();if(h){const B=Math.min(f,h.end)-c;if(u?.dataLength!==void 0&&u.start===h.start){u.dataLength+=B;continue}t.push({start:h.start,end:h.end,mime:_,dataLength:B});continue}t.push({start:c,end:g,mime:_}),k>g&&t.push({start:g,end:k,mime:"",uncertain:!0})}return t}function wh({body:e,span:t}){const[i,a]=m.useState(0),[r,s]=m.useState(!1),d=Math.ceil((t.end-t.start)/ga);return n.jsxs("details",{className:Z("my-1 text-sm text-ink-muted"),onToggle:l=>s(l.currentTarget.open),children:[n.jsx("summary",{className:Z("w-fit cursor-pointer"),children:t.uncertain?o("ui.ownerAudit.inspect_body"):o("ui.ownerAudit.inline_image_receipt",{mime:t.mime,count:wi(t.dataLength??t.end-t.start)})}),r&&n.jsxs(n.Fragment,{children:[n.jsx("pre",{className:Z("my-1 max-h-48 overflow-auto whitespace-pre-wrap break-all rounded-md bg-sunken p-2 text-mono-sm"),children:e.slice(t.start+i*ga,Math.min(t.end,t.start+(i+1)*ga))}),n.jsxs("div",{className:Z("flex items-center gap-2"),children:[n.jsx("button",{type:"button",className:Z("min-h-6 rounded px-2 text-ink hover:bg-elevated focus-visible:outline focus-visible:outline-2 disabled:text-ink-dim disabled:hover:bg-transparent"),disabled:i===0,onClick:()=>a(i-1),children:o("ui.ownerAudit.previous_chunk")}),n.jsx("span",{"aria-live":"polite",children:o("ui.ownerAudit.chunk_number",{page:wi(i+1),count:wi(d)})}),n.jsx("button",{type:"button",className:Z("min-h-6 rounded px-2 text-ink hover:bg-elevated focus-visible:outline focus-visible:outline-2 disabled:text-ink-dim disabled:hover:bg-transparent"),disabled:i+1>=d,onClick:()=>a(i+1),children:o("ui.ownerAudit.next_chunk")})]})]})]})}function bh({body:e,renderText:t}){const i=m.useMemo(()=>fh(e),[e]);if(!i.length)return n.jsx(n.Fragment,{children:t(e)});let a=0;return n.jsxs(n.Fragment,{children:[i.map(r=>{const s=e.slice(a,r.start);return a=r.end,n.jsxs("div",{children:[s&&t(s),n.jsx(wh,{body:e,span:r})]},r.start)}),a<e.length&&t(e.slice(a))]})}function yh(e){const t=Ja();return m.useMemo(()=>{if(t)return Od({body:e.body,mentions:e.mentions,candidates:t.candidates,self:t.self})?.runs},[t,e.body,e.mentions])}const xh=e=>{switch(e){case"unsupported":return o("ui.teamBridge.attachments.error_type");case"too_large":return o("ui.teamBridge.attachments.error_size");case"invalid":return o("ui.teamBridge.attachments.error_invalid");case"rate_limited":return o("ui.teamBridge.attachments.error_rate");case"limit":return o("ui.teamBridge.attachments.error_quota");case"expired":return o("ui.teamBridge.attachments.expired_staged");case"offline":return o("ui.teamBridge.attachments.error_offline");case"signed_out":return o("ui.teamBridge.plan.sign_in_reason");case"account_mismatch":return o("ui.teamBridge.attachments.error_account_changed");default:return o("ui.teamBridge.attachments.error_upload")}},vh=({chip:e,index:t,count:i,onRemove:a,onRetry:r})=>{me();const s=o("ui.teamBridge.attachments.position",{index:String(t+1),count:String(i)}),d=e.status==="error"||e.status==="expired",l=e.status==="uploading"||e.status==="preparing",c=Do(e),u=m.useId();return n.jsxs("li",{className:"group/chip relative","data-attachment-chip":e.status,"aria-label":s,"aria-describedby":c?u:void 0,children:[c&&n.jsx("span",{id:u,className:"sr-only",children:c}),n.jsxs("div",{title:!e.previewUrl&&e.status==="ready"?o("ui.teamBridge.attachments.preview_unavailable"):void 0,className:Z("relative flex size-16 items-center justify-center overflow-hidden rounded-md border bg-sunken",d?"border-danger":"border-hairline"),children:[e.previewUrl?n.jsx("img",{src:e.previewUrl,alt:"",className:Z("size-full object-cover",l?"opacity-70":"opacity-100")}):d?n.jsx(Xs,{size:18,"aria-hidden":"true",className:"text-ink-dim"}):l?null:n.jsx(Ys,{size:18,"aria-hidden":"true",className:"text-ink-dim"}),l&&n.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:n.jsx("span",{className:"flex size-7 items-center justify-center rounded-full bg-elevated shadow-sm",children:n.jsx(Oe,{size:"sm",label:o("ui.teamBridge.attachments.uploading")})})}),d&&n.jsx("span",{"aria-hidden":"true",className:"absolute inset-x-0 bottom-0 flex items-center justify-center bg-canvas/80 py-0.5 text-danger",children:e.status==="expired"?n.jsx(Ht,{size:12}):n.jsx(go,{size:12})})]}),n.jsx(ws,{position:"top",label:o("ui.teamBridge.attachments.remove",{label:s}),onClick:a,children:n.jsx(Ct,{size:12,"aria-hidden":"true"})}),d&&e.prepared&&e.reason!=="signed_out"&&e.reason!=="account_mismatch"&&n.jsx(ws,{position:"bottom",label:o("ui.teamBridge.attachments.retry",{label:s}),onClick:r,children:n.jsx(_c,{size:12,"aria-hidden":"true"})})]})},ws=({position:e,label:t,onClick:i,children:a})=>n.jsx("button",{type:"button",onClick:i,"aria-label":t,title:t,className:Z("group/action absolute -right-2 flex size-6 items-center justify-center rounded-full",e==="top"?"-top-2":"-bottom-2"),children:n.jsx("span",{className:"flex size-5 items-center justify-center rounded-full border border-control bg-elevated text-ink-muted group-hover/action:text-ink group-focus-visible/action:text-ink",children:a})});function Do(e){return e.status==="expired"?e.prepared?o("ui.teamBridge.attachments.expired_staged_retry"):o("ui.teamBridge.attachments.expired_staged"):e.status==="error"?xh(e.reason):e.status==="uploading"||e.status==="preparing"?o("ui.teamBridge.attachments.uploading"):null}const jh=({state:e})=>{me();const t=e.chips.findIndex(l=>l.status==="error"||l.status==="expired"),i=t>=0?e.chips[t]:null,a=e.chips.filter(l=>l.status==="error"||l.status==="expired"),r=e.chips.some(l=>l.status==="uploading"||l.status==="preparing"),s=e.notice==="unsupported"||e.unsupported?o("ui.teamBridge.attachments.unsupported"):e.notice==="limit"?o("ui.teamBridge.attachments.limit",{max:e.max}):i?Do(i)??"":r?o("ui.teamBridge.attachments.uploading"):null,d=i&&!e.notice&&!e.unsupported?"danger":"muted";return e.chips.length===0&&!s?null:n.jsxs("div",{className:"px-3.5 pt-3",children:[e.chips.length>0&&n.jsx("ul",{"aria-label":o("ui.teamBridge.attachments.strip"),className:"flex flex-wrap gap-2.5",children:e.chips.map((l,c)=>n.jsx(vh,{chip:l,index:c,count:e.chips.length,onRemove:()=>e.remove(l.key),onRetry:()=>e.retry(l.key)},l.key))}),s&&n.jsxs("p",{role:d==="danger"?"alert":"status",className:Z("pt-1.5 text-[12px]",d==="danger"?"text-danger":"text-ink-muted"),children:[i&&d==="danger"&&n.jsx("span",{className:"me-1.5 font-medium",children:a.length>1?o("ui.teamBridge.attachments.failed_count",{count:a.length}):o("ui.teamBridge.attachments.position",{index:String(t+1),count:String(e.chips.length)})}),s]})]})},_h=({state:e,disabled:t=!1})=>{me();const i=m.useRef(null);if(!e.enabled)return null;const a=e.count>=e.max;return n.jsxs(n.Fragment,{children:[n.jsx(V,{variant:"ghost",size:"icon","aria-label":o("ui.teamBridge.attachments.add"),title:a?o("ui.teamBridge.attachments.limit",{max:e.max}):o("ui.teamBridge.attachments.add"),disabled:t||a,onClick:()=>i.current?.click(),children:n.jsx(po,{size:16,"aria-hidden":"true"})}),n.jsx("input",{ref:i,type:"file",accept:"image/png,image/jpeg,image/webp,image/gif,image/heic,image/heif",multiple:!0,hidden:!0,tabIndex:-1,onChange:r=>{e.add(Array.from(r.target.files??[])),r.target.value=""}})]})},ji=new Map;function Bh(e,t){const i=ji.get(e);if(i)return i.holders+=1,i.promise;const a={holders:1,promise:Promise.resolve(!1)};return a.promise=(async()=>{try{const{data:r,mimeType:s}=await en.attachmentBytes(t),d=Oi(r,s);return a.holders<=0?(Ci(d),!1):($d(e,d),!0)}catch{return!1}finally{ji.delete(e)}})(),ji.set(e,a),a.promise}function Nh(e,t,i,a){const[r,s]=m.useState(()=>{const d=i?Fd(e):null;return d?{state:"ready",url:d}:{state:"loading"}});return m.useEffect(()=>{if(!i)return;let d=!0;const l=Ar(e);if(l)return s({state:"ready",url:l}),()=>{d=!1,zr(e)};s({state:"loading"});let c=!0;return Bh(e,t).then(u=>{if(c=!1,!d)return;const h=u?Ar(e):null;s(h?{state:"ready",url:h}:{state:"failed"})}),()=>{if(d=!1,c){const u=ji.get(e);u&&(u.holders-=1)}zr(e)}},[e,i,a]),r}const Ra=({kind:e,label:t,box:i,onRetry:a})=>{const r=e==="expired"?o("ui.teamBridge.attachments.expired"):o("ui.teamBridge.attachments.unavailable"),s=m.useId();return n.jsxs("div",{role:"img","aria-label":t,"aria-describedby":s,"data-attachment-placeholder":e,style:{width:i.width,height:i.height},className:"flex flex-col items-center justify-center gap-1 rounded-sm border border-control bg-sunken px-2 text-center text-[12px] text-ink-dim",children:[e==="expired"?n.jsx(Ht,{size:16,"aria-hidden":"true"}):n.jsx(Xs,{size:16,"aria-hidden":"true"}),n.jsx("span",{id:s,children:r}),e==="failed"&&a&&n.jsx("button",{type:"button",onClick:a,className:"min-h-6 rounded-sm px-1.5 text-accent hover:underline",children:o("ui.teamBridge.attachments.retry_load")})]})},Sh=(e,t,i=!1)=>{if(!t)return i?{width:128,height:88}:{width:156,height:104};const a=i?264:360,r=i?176:240,{width:s,height:d}=e;if(!s||!d)return{width:240,height:160};const l=Math.min(a/s,r/d,1);return{width:Math.max(64,Math.round(s*l)),height:Math.max(64,Math.round(d*l))}},Ch=({message:e,tenantId:t,accountId:i,attachment:a,index:r,count:s,density:d,onOpen:l,register:c,buttonRef:u})=>{const h=t===null?"unavailable":Bu(a),[p,g]=m.useState(0),y=`team-bridge:${t}:${e.conversation_id}:${e.id}:${a.id}`,w=Nh(y,{tenantId:t??"",conversationId:e.conversation_id,messageId:e.id,attachmentId:a.id,expectedAccountId:i??""},h==="fetch"&&!!i,p),x=o("ui.teamBridge.attachments.position",{index:String(r+1),count:String(s)}),k=w.state==="ready"?w.url:null;m.useEffect(()=>c(r,k),[k,r]);const f=Sh(a,s===1,d==="compact");return h!=="fetch"?n.jsx(Ra,{kind:h==="expired"?"expired":"unavailable",label:x,box:f}):w.state==="failed"?n.jsx(Ra,{kind:"failed",label:x,box:f,onRetry:()=>g(_=>_+1)}):n.jsx("button",{ref:u,type:"button","aria-label":o("ui.teamBridge.attachments.open",{index:String(r+1),count:String(s)}),title:o("ui.teamBridge.attachments.open",{index:String(r+1),count:String(s)}),disabled:!k,onClick:()=>l(r),className:"group/tile block cursor-zoom-in rounded-sm leading-none disabled:cursor-progress",children:n.jsx(Qs,{boundary:"control",style:{width:f.width,height:f.height},"data-attachment-reserved":k?void 0:"",children:k&&n.jsx("img",{src:k,alt:x,draggable:!1,className:"size-full object-cover"})})})},Ih=({message:e,tenantId:t,density:i="regular",accountId:a})=>{me();const r=e.attachments??[],[s,d]=m.useState(null),[l,c]=m.useState([]),u=m.useRef([]),h=m.useRef(null);if(r.length===0)return null;const p=r.length,g=(x,k)=>c(f=>{if(f[x]===k)return f;const _=[...f];return _[x]=k,_}),y=x=>d(k=>k===null?null:(k+x+p)%p),w=s===null?"":o("ui.teamBridge.attachments.position",{index:String(s+1),count:String(p)});return n.jsxs(n.Fragment,{children:[n.jsx("ul",{"aria-label":o("ui.teamBridge.attachments.in_message",{count:p}),className:"mt-1.5 flex flex-wrap gap-2",children:r.map((x,k)=>n.jsx("li",{children:n.jsx(Ch,{message:e,tenantId:t,accountId:a,attachment:x,index:k,count:p,density:i,register:g,buttonRef:f=>{u.current[k]=f},onOpen:f=>{h.current=u.current[f]??null,d(f)}})},x.id))}),n.jsx(Ld,{src:s===null?void 0:l[s]??void 0,pending:s!==null&&!l[s],label:w,open:s!==null,onOpenChange:x=>{x||d(null)},restoreFocusTo:h,fallback:n.jsx(Ra,{kind:"unavailable",label:w,box:{width:240,height:160}}),group:p>1&&s!==null?{index:s,count:p,onPrev:()=>y(-1),onNext:()=>y(1)}:void 0})]})},Po=({attachments:e,accountId:t})=>{me();const i=m.useId(),[a,r]=m.useState({}),s=e.map(l=>l.id).join(",");if(m.useEffect(()=>{const l={};for(const c of e){const u=To(t,c.id);u&&(l[c.id]=Oi(u,u.type))}return r(l),()=>{for(const c of Object.values(l))Ci(c)}},[s,t]),e.length===0)return null;const d=e.length;return n.jsxs(n.Fragment,{children:[n.jsx("ul",{"aria-label":o("ui.teamBridge.attachments.in_message",{count:d}),className:"mt-1.5 flex flex-wrap gap-2",children:e.map((l,c)=>{const u=o("ui.teamBridge.attachments.position",{index:String(c+1),count:String(d)}),h=a[l.id];return n.jsx("li",{children:n.jsx(Qs,{className:"size-16",role:"img","aria-label":u,"aria-describedby":h?void 0:`${i}-none`,title:h?void 0:o("ui.teamBridge.attachments.preview_unavailable"),"data-attachment-scheduled":h?"preview":"descriptor",children:h?n.jsx("img",{src:h,alt:"",className:"size-full object-cover"}):n.jsx(Ys,{size:16,"aria-hidden":"true",className:"text-ink-dim"})})},l.id)})}),n.jsx("span",{hidden:!0,id:`${i}-none`,children:o("ui.teamBridge.attachments.preview_unavailable")})]})};function Rh(e){return{onPaste:t=>{const i=Ai(t.clipboardData);if(i.length===0)return;Array.from(t.clipboardData.types).includes("text/plain")||t.preventDefault(),e.add(i)},onDragOver:t=>{Array.from(t.dataTransfer.types).includes("Files")&&t.preventDefault()},onDrop:t=>{const i=Ai(t.dataTransfer);i.length!==0&&(t.preventDefault(),e.add(i))}}}const Eh=["manipulation","personal_info","abusive","unsafe_content","out_of_scope"],Mh=["screening_unavailable","awaiting_review","delivery_pending"],Th=e=>Eh.includes(e),Ah=e=>Mh.includes(e);function zh(e,t={}){if(!e||e.length===0)return[];const i=t.origin==="human"&&t.sender?.kind==="human"&&t.sender.audit_unknown_kind!==!0,a=[],r=new Set;for(const s of e){if(r.has(s.endpoint_id))continue;const d=s.recipient_label.trim(),l=s.recipient_owner_label.trim(),c=`${s.state}:${s.endpoint_id}`;if(s.state==="refused")r.add(s.endpoint_id),a.push({kind:"refused",key:c,agent:d,owner:l,refusalClass:i&&Th(s.refusal_class)?s.refusal_class:null});else if(s.state==="held"){r.add(s.endpoint_id);const u=Ah(s.hold_class)?s.hold_class:null;a.push(u==="delivery_pending"?{kind:"pending",key:c,agent:d,owner:l}:{kind:"held",key:c,agent:d,owner:l,holdReason:u})}}return a}const Dh=({message:e})=>{const t=zh(e.delivery_states,e);return t.length===0?null:n.jsx("ul",{className:"m-0 mt-0.5 flex min-w-0 list-none flex-col gap-1 p-0 text-[12px] text-ink-muted [overflow-wrap:anywhere]",children:t.map(i=>n.jsxs("li",{children:[n.jsx(qh,{line:i}),i.kind!=="pending"&&n.jsxs(n.Fragment,{children:[" ",n.jsx(Ph,{text:i.kind==="refused"?o("ui.teamBridge.delivery.info_refused"):o("ui.teamBridge.delivery.info_held")})]})]},i.key))})},Ph=({text:e})=>{const[t,i]=m.useState(!1);return n.jsx(Bc,{children:n.jsxs(Nc,{open:t,onOpenChange:i,children:[n.jsx(Sc,{asChild:!0,children:n.jsx("button",{type:"button","aria-label":o("ui.teamBridge.delivery.info_label"),onPointerDown:a=>a.preventDefault(),onClick:a=>{a.preventDefault(),i(!0)},className:"inline-flex translate-y-px items-center rounded-sm align-baseline text-ink-dim hover:text-ink-muted focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-focus",children:n.jsx(Cc,{size:12,"aria-hidden":"true"})})}),n.jsx(Ic,{children:n.jsx(Rc,{side:"top",align:"center",children:e})})]})})},qh=({line:e})=>{const t={agent:e.agent||o("ui.teamBridge.sender.unknown_agent"),owner:e.owner||o("ui.teamBridge.sender.unknown_person")};if(e.kind==="pending")return n.jsx(n.Fragment,{children:o("ui.teamBridge.delivery.pending",{agent:t.agent})});if(e.kind==="held")switch(e.holdReason){case"screening_unavailable":return n.jsx(n.Fragment,{children:o("ui.teamBridge.delivery.held_screening_unavailable",t)});case"awaiting_review":return n.jsx(n.Fragment,{children:o("ui.teamBridge.delivery.held_awaiting_review",t)});default:return n.jsx(n.Fragment,{children:o("ui.teamBridge.delivery.held",t)})}switch(e.refusalClass){case"manipulation":return n.jsx(n.Fragment,{children:o("ui.teamBridge.delivery.refused_manipulation",t)});case"personal_info":return n.jsx(n.Fragment,{children:o("ui.teamBridge.delivery.refused_personal_info",t)});case"abusive":return n.jsx(n.Fragment,{children:o("ui.teamBridge.delivery.refused_abusive",t)});case"unsafe_content":return n.jsx(n.Fragment,{children:o("ui.teamBridge.delivery.refused_unsafe_content",t)});case"out_of_scope":return n.jsx(n.Fragment,{children:o("ui.teamBridge.delivery.refused_out_of_scope",t)});default:return n.jsx(n.Fragment,{children:o("ui.teamBridge.delivery.refused",t)})}},Oh=Va.groups,It=Va.entries.map(([e,t,i,a])=>({emoji:e,name:t,group:i,keywords:a})),Lh=["👍","❤️","😂","🎉","👀","🙏","✅","🔥"],Fh=/\s+/,qo=e=>Array.from(e).filter(t=>{const i=t.codePointAt(0)??0;return!(i>=127995&&i<=127999)&&i!==65039}).join(""),$h=30*864e5,Ut=(e,t)=>e.score*2**(-Math.max(0,t-e.at)/$h);function Kh(e,t,i){const a={...e,[t]:{score:(e[t]?Ut(e[t],i):0)+1,at:i}};return Object.fromEntries(Object.entries(a).sort((r,s)=>Ut(s[1],i)-Ut(r[1],i)).slice(0,200))}function Uh(e,t){const i=Object.entries(e).sort((a,r)=>Ut(r[1],t)-Ut(a[1],t)||r[1].at-a[1].at).map(([a])=>a);return[...new Set([...i,...Lh])].slice(0,8)}function Hh(e,t){const i=e.toLocaleLowerCase().trim().split(Fh).filter(Boolean);return It.filter(a=>(t===null||a.group===t)&&i.every(r=>`${a.name} ${a.keywords.join(" ")} ${a.emoji}`.toLocaleLowerCase().includes(r)))}function Gh(e,t){return e.find(a=>a.emoji===t)?e.flatMap(a=>a.emoji!==t?[a]:a.reacted_by_me?a.count===1?[]:[{...a,count:a.count-1,reacted_by_me:!1}]:[{...a,count:a.count+1,reacted_by_me:!0}]):[...e,{emoji:t,count:1,reacted_by_me:!0,sample_labels:[]}]}const Xa=e=>Array.from(e).filter(t=>{const i=t.codePointAt(0)??0;return i>=127995&&i<=127999}),Wh=new Set(It.flatMap(({emoji:e})=>{const t=Array.from(e);return t.length===2&&Xa(e).length===1?[t[0]]:[]})),Ea=new Map;for(const e of It){const t=Xa(e.emoji);if(t.length!==1)continue;const i=qo(e.emoji),a=Ea.get(i)??new Map;a.set(t[0],[...a.get(t[0])??[],e.emoji]),Ea.set(i,a)}function Jh(e,t){if(!t||Xa(e).length||e.includes("")&&Array.from(e).filter(s=>Wh.has(s)).length>1)return e;const i=qo(e),a=String.fromCodePoint(127994+t),r=Ea.get(i)?.get(a)??[];return r.length===1?r[0]:e}const wt=40,Oo=28,bs=new Map;let Lt=0,We;function Vh(e,t,i){if(i<=0||i>Oo*1.5||e.length!==t.length)return!1;let a=!1;for(let r=0;r<e.length;r++){if(e[r]!==t[r])return!1;r%4===3&&e[r]!==0&&(a=!0)}return a}function it(e){const t=bs.get(e);if(t!==void 0)return t;if(We===void 0)try{const a=document.createElement("canvas");a.width=wt,a.height=wt,We=a.getContext("2d",{willReadFrequently:!0}),We&&(We.font=`${Oo}px "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif`,We.textBaseline="top")}catch{We=null}let i=!1;if(We)try{const a=d=>(We?.clearRect(0,0,wt,wt),We?(We.fillStyle=d,We.fillText(e,2,2),We.getImageData(0,0,wt,wt).data):new Uint8ClampedArray),r=a("#fff"),s=a("#000");i=Vh(r,s,We.measureText(e).width)}catch{i=!1}return bs.set(e,i),i}function Qh(e,t=8){if(Lt>=e.length)return()=>{};let i,a=!1;const r=()=>{if(a)return;const s=performance.now()+t;for(;Lt<e.length&&performance.now()<s;)it(e[Lt]),Lt++;Lt<e.length&&(i=setTimeout(r,0))};return i=setTimeout(r,0),()=>{a=!0,i!==void 0&&clearTimeout(i)}}const ys=Intl.ListFormat;function xs(e,t){return ys?new ys(t,{style:"long",type:"conjunction"}).format(e):e.join(", ")}function vs(e,t,i){if(e.ownerAddedAgent)return o("ui.teamBridge.events.owner_added_agent",{actor:i,targets:t});switch(e.kind){case"invited":return o("ui.teamBridge.events.invited",{actor:i,targets:t});case"joined":return o("ui.teamBridge.events.joined",{targets:t});case"left":return o("ui.teamBridge.events.left",{targets:t});case"removed":return o("ui.teamBridge.events.removed",{actor:i,targets:t});case"consented":return o("ui.teamBridge.events.consented",{actor:i,targets:t});case"declined":return e.selfOnly?o("ui.teamBridge.events.declined_self",{actor:i}):o("ui.teamBridge.events.declined",{actor:i,targets:t});case"withdrawn":return o("ui.teamBridge.events.withdrawn",{actor:i,targets:t});default:return o("ui.teamBridge.events.unknown")}}function Yh(e,t,i){const a=e.targets.map(t),r=t(e.actor),s=a.length>Nr,d=vs(e,xs(a,i),r);if(!s)return{shown:d,full:d,truncated:s};const l=a.slice(0,Nr),c=o("ui.teamBridge.events.others",{count:a.length-l.length});return{shown:vs(e,xs([...l,c],i),r),full:d,truncated:s}}const Xh={invited:Kt,joined:Kt,consented:Kt,left:gi,removed:gi,declined:gi,withdrawn:gi},Zh=({line:e,labelFor:t,locale:i})=>{const{shown:a,full:r,truncated:s}=Yh(e,t,i),d=e.kind?Xh[e.kind]:St,l=new Date(e.at),c=!Number.isNaN(l.getTime()),u=c?Ni(l,{hour:"numeric",minute:"2-digit"},i):"",h=c?La(l,{dateStyle:"full",timeStyle:"short"},i):"",p=n.jsx("span",{tabIndex:s?0:void 0,"aria-label":s?r:void 0,className:Z("min-w-0 truncate",s&&"cursor-default rounded-sm underline decoration-dotted underline-offset-2 focus-visible:outline-2 focus-visible:outline-offset-2"),children:a});return n.jsxs("li",{"data-team-bridge-event":e.key,className:"group/event flex w-full min-w-0 items-center gap-3 px-5 py-1 text-ink-dim text-meta",children:[n.jsx("span",{"aria-hidden":"true",className:"flex w-9 shrink-0 justify-end",children:n.jsx(d,{className:"size-3.5"})}),s?n.jsx($i,{content:n.jsx("ul",{children:e.targets.map(g=>n.jsx("li",{children:t(g)},`${g.kind}:${g.account_id}:${g.endpoint_id??""}`))}),side:"top",align:"start",children:p}):p,c&&n.jsx("time",{dateTime:e.at,title:h,className:"shrink-0 text-meta-sm opacity-0 group-focus-within/event:opacity-100 group-hover/event:opacity-100",children:u})]})},eg=({events:e,labelFor:t,locale:i})=>!e||e.length===0?null:n.jsx(n.Fragment,{children:_l(e).map(a=>n.jsx(Zh,{line:a,labelFor:t,locale:i},a.key))});function ng(e,t=Bl){return t?e==="enabled":!1}const Ma=Ha()(so(e=>({accounts:{},record:(t,i)=>e(a=>{const r=a.accounts[t]??{usage:{},tone:0};return{accounts:{...a.accounts,[t]:{...r,usage:Kh(r.usage,i,Date.now())}}}}),setTone:(t,i)=>e(a=>({accounts:{...a.accounts,[t]:{usage:a.accounts[t]?.usage??{},tone:i}}}))}),{name:"team-bridge-reaction-preferences",partialize:e=>({accounts:e.accounts})})),kn=8,bt=36,ki=252,js=160,tg=8,ig=["😀","👋","🐻","🍎","🌍","⚽","💡","🔣","🏳️"],_s=["ui.teamBridge.reactions.category0","ui.teamBridge.reactions.category1","ui.teamBridge.reactions.category2","ui.teamBridge.reactions.category3","ui.teamBridge.reactions.category4","ui.teamBridge.reactions.category5","ui.teamBridge.reactions.category6","ui.teamBridge.reactions.category7","ui.teamBridge.reactions.category8"];function ka(e,t){const i=Jh(e,t);return it(i)?i:e}function ag(e){return n.jsx(rg,{...e})}function rg({accountId:e,onSelect:t,onClose:i,disabled:a=!1,initialQuery:r=""}){const s=m.useId(),d=Ma(v=>v.accounts[e]),l=Ma(v=>v.setTone),[c,u]=m.useState(r),[h,p]=m.useState(null),[g,y]=m.useState(0),[w,x]=m.useState(0),k=m.useRef(null),f=m.useRef(null),_=m.useMemo(()=>Hh(c,h),[c,h]),[B,L]=m.useState({candidates:_,upTo:js}),N=B.candidates===_?Math.min(B.upTo,_.length):Math.min(js,_.length),E=N<_.length;m.useEffect(()=>{if(!E)return;const v=setTimeout(()=>{const T=performance.now()+tg;let M=N;for(;M<_.length&&performance.now()<T;)it(_[M].emoji),M++;L({candidates:_,upTo:M})},0);return()=>clearTimeout(v)},[_,N,E]);const I=m.useMemo(()=>_.slice(0,N).filter(v=>it(v.emoji)),[_,N]),K=Uh(d?.usage??{},Date.now()).filter(it),R=d?.tone??0,F=v=>{a||(t(ka(v,R)),i())},O=()=>{y(0),x(0),k.current&&(k.current.scrollTop=0)},z=Math.max(0,Math.floor(w/bt)-1),X=Math.min(Math.ceil(I.length/kn),z+Math.ceil(ki/bt)+3);return n.jsxs("div",{className:"flex min-h-0 w-80 max-w-[calc(100vw-32px)] flex-col gap-2",style:{maxHeight:"calc(var(--radix-popover-content-available-height, 560px) - 24px)"},"aria-busy":a,children:[n.jsx("input",{"aria-label":o("ui.teamBridge.reactions.search"),placeholder:o("ui.teamBridge.reactions.search"),className:"h-9 w-full rounded-md border border-control bg-surface px-3 text-ink outline-offset-0 shrink-0",value:c,onChange:v=>{u(v.target.value),p(null),O()},onKeyDown:v=>{v.key==="ArrowDown"&&(v.preventDefault(),f.current?.querySelector(`button[data-index="${g}"]`)?.focus())}}),n.jsxs("fieldset",{className:"flex shrink-0 items-center justify-between gap-1",children:[n.jsx("legend",{className:"sr-only",children:o("ui.teamBridge.reactions.categories")}),n.jsx("button",{type:"button","aria-pressed":h===null,"aria-label":o("ui.teamBridge.reactions.all"),className:"flex min-h-8 min-w-6 items-center justify-center rounded px-1.5 py-1 hover:bg-row-hover aria-pressed:bg-accent-wash",onClick:()=>{p(null),O()},children:n.jsx(Kc,{size:16})}),Oh.map((v,T)=>n.jsx("button",{type:"button","aria-pressed":h===T,title:o(_s[T]),"aria-label":o(_s[T]),className:"min-h-8 min-w-6 rounded px-1 py-1 hover:bg-row-hover aria-pressed:bg-accent-wash",onClick:()=>{p(T),O()},children:ig[T]},v))]}),n.jsxs("div",{className:"flex items-center justify-between gap-2",children:[n.jsx("span",{className:"text-[12px] text-ink-muted",children:o("ui.teamBridge.reactions.frequent")}),n.jsxs("select",{"aria-label":o("ui.teamBridge.reactions.tone"),value:R,onChange:v=>l(e,Number(v.target.value)),className:"h-7 rounded border border-control bg-surface text-[12px] text-ink",children:[n.jsx("option",{value:0,children:o("ui.teamBridge.reactions.toneDefault")}),[1,2,3,4,5].map(v=>n.jsx("option",{value:v,children:String.fromCodePoint(128077,127994+v)},v))]})]}),n.jsx("div",{className:"grid grid-cols-8","aria-label":o("ui.teamBridge.reactions.frequent"),children:K.map(v=>n.jsx("button",{type:"button",title:It.find(T=>T.emoji===v)?.name??v,className:"h-9 rounded text-[22px] hover:bg-row-hover",disabled:a,onClick:()=>F(v),children:ka(v,R)},v))}),n.jsx("div",{ref:k,className:"min-h-0 flex-shrink overflow-y-auto rounded bg-surface",style:{height:ki},onScroll:v=>x(v.currentTarget.scrollTop),children:!I.length&&!E?n.jsx("p",{className:"p-4 text-ink-muted",children:o("ui.teamBridge.reactions.noResults")}):n.jsx("table",{ref:f,"aria-label":o("ui.teamBridge.reactions.choose"),"aria-rowcount":Math.ceil(I.length/kn),"aria-colcount":kn,className:"relative block w-full",style:{height:Math.ceil(I.length/kn)*bt},onKeyDown:v=>{const T={ArrowRight:1,ArrowLeft:-1,ArrowDown:kn,ArrowUp:-8}[v.key];if(T!==void 0){v.preventDefault();const M=Math.max(0,Math.min(I.length-1,g+T));y(M),requestAnimationFrame(()=>f.current?.querySelector(`button[data-index="${M}"]`)?.focus());const H=Math.floor(M/kn)*bt;k.current&&(H<w||H>=w+ki)&&(k.current.scrollTop=Math.max(0,H-ki/2))}else(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),F(I[g].emoji))},children:n.jsx("tbody",{className:"block",children:Array.from({length:Math.max(0,X-z)},(v,T)=>{const M=z+T;return n.jsx("tr",{"aria-rowindex":M+1,className:"absolute inset-x-0 grid grid-cols-8",style:{top:M*bt,height:bt},children:I.slice(M*kn,(M+1)*kn).map((H,S)=>{const U=M*kn+S;return n.jsx("td",{id:`${s}-${U}`,"data-active":g===U,"aria-colindex":S+1,children:n.jsx("button",{tabIndex:g===U?0:-1,"data-index":U,type:"button","aria-label":H.name,title:H.name,className:g===U?"h-9 w-full rounded bg-accent-wash text-[22px]":"h-9 w-full rounded text-[22px] hover:bg-row-hover",onMouseEnter:()=>y(U),disabled:a,onClick:()=>F(H.emoji),children:ka(H.emoji,R)})},H.emoji)})},M)})})})}),n.jsxs("p",{className:"flex min-h-5 shrink-0 items-center gap-2 truncate text-[12px] text-ink-muted","aria-live":"polite",children:[a&&n.jsx(Oe,{size:"xs"}),I[g]?.name??" "]})]})}const Bs=new Map(It.map(({emoji:e,name:t})=>[e,t])),sg=[];function og({conversationId:e,messageId:t,accountId:i,tenantId:a,reactions:r=sg,disabled:s=!1,toggle:d=en.react}){const[c,u]=m.useState(r),[h,p]=m.useState(!1),[g,y]=m.useState(null),[w,x]=m.useState(!1),k=m.useRef(!1),f=Ma(B=>B.record);return m.useEffect(()=>{k.current||u(r)},[r,!1]),{accountId:i,rows:c,pending:h,pendingEmoji:g,error:w,disabled:s||!1,unavailable:s||h,choose:async B=>{if(k.current||s)return;const L=c,N=!c.some(E=>E.emoji===B&&E.reacted_by_me);k.current=!0,p(!0),y(B),x(!1),u(Gh(c,B));try{const E=await d(e,t,B,N,a,i);u(E.reactions),N&&f(i,B)}catch{u(L),x(!0)}finally{k.current=!1,p(!1),y(null)}}}}function Lo(e){return n.jsx(lg,{...e})}function lg({state:e,open:t,onOpenChange:i,children:a}){return n.jsxs(lo,{open:t,onOpenChange:i,children:[n.jsx(co,{asChild:!0,children:a}),n.jsx(mo,{className:"max-h-[var(--radix-popover-content-available-height)] w-auto overflow-y-auto p-3",align:"start",side:"top",collisionPadding:8,avoidCollisions:!0,children:n.jsx(ag,{disabled:e.unavailable,accountId:e.accountId,onSelect:r=>void e.choose(r),onClose:()=>i(!1)})})]})}function dg(e){return n.jsx(cg,{...e})}function cg({state:e,defaultOpen:t=!1}){const i=m.useId(),a=me(),[r,s]=m.useState(t),{rows:d,error:l,pending:c,pendingEmoji:u,unavailable:h}=e;if(!d.length&&!l)return null;const p=g=>mg(g,a);return n.jsxs("div",{className:"mt-1 flex flex-wrap items-center gap-1","aria-busy":c,"data-reaction-layout":"chips",children:[d.map((g,y)=>n.jsx($i,{content:p(g),className:"text-balance",children:n.jsxs("button",{type:"button",disabled:h,"aria-pressed":g.reacted_by_me,"data-reaction-pill":"","aria-label":`${Bs.get(g.emoji)??g.emoji} ${new Intl.NumberFormat(a).format(g.count)}`,"aria-describedby":g.sample_labels.length?`${i}-${y}`:void 0,onClick:()=>void e.choose(g.emoji),className:Z("inline-flex h-6 shrink-0 items-center gap-1 rounded-full px-2 text-[12px] leading-none transition-colors duration-fast ease-out-quart disabled:text-ink-dim",g.reacted_by_me?"bg-[color-mix(in_srgb,var(--color-accent)_26%,var(--color-surface))] font-medium text-ink hover:bg-[color-mix(in_srgb,var(--color-accent)_20%,var(--color-surface))]":"bg-elevated text-ink-muted hover:bg-sunken hover:text-ink"),children:[n.jsx("span",{className:it(g.emoji)?"text-[14px] leading-none":"max-w-40 truncate",children:it(g.emoji)?g.emoji:Bs.get(g.emoji)??`U+${g.emoji.codePointAt(0)?.toString(16).toUpperCase()}`}),n.jsxs("span",{className:"relative inline-flex items-center tabular-nums",children:[n.jsx("span",{className:Z(c&&u===g.emoji&&"invisible"),children:new Intl.NumberFormat(a).format(g.count)}),c&&u===g.emoji&&n.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:n.jsx(Oe,{size:"xs"})})]}),n.jsx("span",{id:`${i}-${y}`,className:"sr-only",children:p(g)})]},g.emoji)},g.emoji)),!e.disabled&&d.length>0&&n.jsx(Lo,{state:e,open:r,onOpenChange:s,children:n.jsx("button",{type:"button",disabled:h,"aria-label":o("ui.teamBridge.reactions.add"),"data-reaction-add":"",className:Z("inline-flex size-6 shrink-0 items-center justify-center rounded-full bg-transparent text-ink-dim","transition-[opacity,color,background-color] duration-fast ease-out-quart","hover:bg-elevated hover:text-ink disabled:text-ink-dim",r?"opacity-100":"pointer-events-none opacity-0 focus-visible:pointer-events-auto focus-visible:opacity-100 group-hover/message:pointer-events-auto group-hover/message:opacity-100 group-focus-within/message:pointer-events-auto group-focus-within/message:opacity-100 [@media(hover:none)]:pointer-events-auto [@media(hover:none)]:opacity-100"),children:n.jsx(Da,{size:14,"aria-hidden":"true"})})}),l&&n.jsx("span",{role:"alert",className:"text-[12px] text-danger",children:o("ui.teamBridge.reactions.failed")})]})}const Ns=Intl.ListFormat;function mg(e,t){const i=e.sample_labels,a=e.count-i.length;return i.length?a<=0?new Ns(t,{style:"narrow",type:"conjunction"}).format(i):new Ns(t,{style:"long",type:"conjunction"}).format([...i,o("ui.teamBridge.reactions.others",{others:a})]):a>0?o("ui.teamBridge.reactions.others",{others:a}):""}function ug({reactions:e,onReply:t,forceVisible:i=!1}){const[a,r]=m.useState(!1),[s,d]=m.useState(0),l=m.useRef(null),c=e!==void 0&&!e.disabled,u=t,h=(c?1:0)+(u?1:0);let p=Math.min(s,Math.max(0,h-1));p===0&&c&&e.unavailable&&h>1&&(p=1);const g=()=>Array.from(l.current?.querySelectorAll("[data-toolbar-item]")??[]),y=k=>{if(!["ArrowLeft","ArrowRight","Home","End"].includes(k.key)||k.metaKey||k.ctrlKey||k.altKey||k.shiftKey)return;const f=g(),_=f.indexOf(document.activeElement);if(_<0)return;const B=l.current!==null&&getComputedStyle(l.current).direction==="rtl",L=k.key==="ArrowRight"!==B,N=k.key==="Home"?0:k.key==="End"?f.length-1:Math.max(0,Math.min(f.length-1,_+(L?1:-1)));k.preventDefault(),f[N]?.focus()};if(!c&&!u)return null;let w=0;const x=()=>{const k=w++;return{"data-toolbar-item":"",tabIndex:k===p?0:-1,onFocus:()=>d(k)}};return n.jsx("div",{"data-message-toolbar":"",className:"float-end ms-2 flex h-[1lh] items-center",children:n.jsxs("div",{ref:l,role:"toolbar","aria-label":o("ui.teamBridge.actions.label"),"aria-orientation":"horizontal",onKeyDown:y,className:Z("flex items-center gap-0.5 rounded-md bg-elevated","transition-opacity duration-fast ease-out-quart",i||a?"opacity-100":"opacity-0 group-focus-within/message:opacity-100 group-hover/message:opacity-100"),children:[c&&e&&n.jsx(Lo,{state:e,open:a,onOpenChange:r,children:n.jsx(Ss,{...x(),label:o("ui.teamBridge.reactions.add"),disabled:e.unavailable,children:n.jsx(Wc,{"aria-hidden":"true"})})}),u&&n.jsx(Ss,{...x(),label:o("ui.teamBridge.replies.action"),onClick:u,children:n.jsx($s,{"aria-hidden":"true"})})]})})}const Ss=m.forwardRef(function({label:t,children:i,...a},r){return n.jsx($i,{content:t,children:n.jsx(V,{ref:r,type:"button",variant:"ghost",size:"icon-sm","aria-label":t,...a,children:i})})});function hg(e){return{count:e.reply_count??0,participants:(e.reply_participants??[]).slice(0,3),lastReply:e.last_reply_at&&Number.isFinite(Date.parse(e.last_reply_at))?new Date(e.last_reply_at):null}}const gg=600;function pg(e,t,i){const[a,r]=m.useState(()=>({key:e,ids:new Set}));m.useLayoutEffect(()=>{const c=i?gu(e,t,{commit:!1}):new Set;Io(e,t),c.size>0&&r(u=>({key:e,ids:new Set([...u.key===e?u.ids:[],...c])}))},[e,i,t]),m.useEffect(()=>()=>Ro(e),[e]);const s=a.key===e?a.ids:kg;m.useEffect(()=>{if(s.size===0)return;const c=setTimeout(()=>r({key:e,ids:new Set}),gg);return()=>clearTimeout(c)},[e,s]);const d=m.useCallback(c=>s.has(c),[s]),l=m.useCallback(()=>{r(c=>c.ids.size===0?c:{key:c.key,ids:new Set})},[]);return{has:d,end:l}}const kg=new Set,zi=({messages:e,labelFor:t,profileFor:i,onMessagePerson:a,canMessagePerson:r,reactionContext:s,onReply:d,forceToolbar:l,tenantId:c,density:u,accountId:h,arrivalKey:p=Ti(c,e[0]?.conversation_id),arrivalsEnabled:g=!0,decorate:y,events:w,highlightId:x=null,presentationOf:k})=>{const f=me(),_=R=>k?.(R)??{key:R.id,local:!1},B=m.useMemo(()=>e.map(R=>{const F=k?.(R);return F?.local?{id:F.key}:{id:F?.key??R.id,seq:R.seq}}),[e,k]),L=pg(p,B,g),N=Kd(e,new Date),E=R=>t(R)??(R.kind==="agent"?o("ui.teamBridge.sender.unknown_agent"):o("ui.teamBridge.sender.unknown_person")),I=Nl(e.filter(R=>!_(R).local),w),K=R=>{const F=I.get(R);return F?n.jsx(eg,{events:F,labelFor:E,locale:f},`events:${R}`):null};return m.useEffect(()=>Qh(It.map(R=>R.emoji)),[]),n.jsxs("ol",{className:"mt-auto flex w-full min-w-0 flex-col pt-4 pb-2",children:[K(Sl),fg(N,K,N.map(R=>{if(R.type==="day")return n.jsx(wg,{item:R,locale:f},`day:${R.key}`);const F=_(R.message);return n.jsx(bg,{rowKey:F.key,local:F.local,delivery:F.delivery,message:R.message,continuation:R.continuation,label:t(R.message.sender),member:i?.(R.message.sender),onMessagePerson:a,canMessagePerson:r,locale:f,reactionContext:s,onReply:d,forceToolbar:l,tenantId:c,accountId:h,density:u,arriving:L.has(F.key),highlighted:x===R.message.id,onArrivalEnd:L.end,decoration:y?.(R.message)},F.key)}))]})};function fg(e,t,i){const a=[];return i.forEach((r,s)=>{a.push(r);const d=e[s];if(d?.type==="message"){const l=t(d.message.id);l&&a.push(l)}}),a}const wg=({item:e,locale:t})=>{const i=e.relative==="today"?o("ui.teamBridge.thread.today"):e.relative==="yesterday"?o("ui.teamBridge.thread.yesterday"):La(e.date,{weekday:"long",month:"long",day:"numeric"},t);return n.jsxs("li",{className:"flex items-center gap-3 px-5 py-2","aria-label":i,children:[n.jsx("span",{"aria-hidden":"true",className:"h-px flex-1 bg-hairline"}),n.jsx("span",{className:"shrink-0 rounded-full bg-elevated px-2.5 py-0.5 font-medium text-[12px] text-ink-muted",children:i}),n.jsx("span",{"aria-hidden":"true",className:"h-px flex-1 bg-hairline"})]})},bg=({reactionContext:e,rowKey:t,local:i=!1,...a})=>{const r=!!e&&a.message.body!==null;return n.jsx(xg,{reactionContext:r&&e?i?{...e,disabled:!0}:e:void 0,...a,rowKey:t,onReply:i?void 0:a.onReply},`${e?.accountId??a.accountId??""}:${t??a.message.id}`)},yg={accountId:"",tenantId:"",disabled:!0},xg=({reactionContext:e,...t})=>{const i=og({conversationId:t.message.conversation_id,messageId:t.message.id,...e??yg,reactions:t.message.reactions});return n.jsx(vg,{...t,reactions:e?i:void 0})},vg=({message:e,continuation:t,label:i,member:a,onMessagePerson:r,canMessagePerson:s,locale:d,reactions:l,onReply:c,forceToolbar:u,tenantId:h,accountId:p,density:g,arriving:y=!1,onArrivalEnd:w,decoration:x,highlighted:k=!1,delivery:f,rowKey:_})=>{const B=hg(e),L=yh(e),N=c!==void 0&&!e.thread_root_id,E=e.sender.kind==="agent",I=i??(E?o("ui.teamBridge.sender.unknown_agent"):o("ui.teamBridge.sender.unknown_person")),K=new Date(e.created_at),R=!Number.isNaN(K.getTime()),F=R?Ni(K,{hour:"numeric",minute:"2-digit"},d):"",O=R?La(K,{dateStyle:"full",timeStyle:"short"},d):"",z=!!(a&&r&&(s?.(e.sender)??!0)&&a.account_id!==p&&a.bridge_enabled&&["active","paused"].includes(a.bridge_state)&&(!E||a.agent)),X=()=>r?.(e.sender),v=a?n.jsx(Dn,{member:a,label:I,kind:E?"agent":"human",onMessage:X,canMessage:z,children:n.jsx("button",{type:"button",className:"mt-0.5 block size-9 shrink-0 rounded-md text-start",children:n.jsx(yn,{member:a,kind:E?"agent":"human",label:I,size:36,className:"size-9 rounded-md bg-media-surface text-[14px]",fallback:i===null?n.jsx(Kr,{size:18}):i.trim().charAt(0).toUpperCase()||"?"})})}):null;return n.jsxs("li",{"data-message-id":e.id,"data-message-target":k||void 0,"data-row-key":_??e.id,"data-delivery":f?.status,onAnimationEnd:y?w:void 0,className:Z("group/message relative flex w-full min-w-0 gap-3 px-5 transition-colors duration-fast ease-out-quart hover:bg-row-hover",y&&"lo-team-bridge-arrival",k&&"lo-team-bridge-target",t?"py-0.5":"mt-2 pt-1.5 pb-0.5"),children:[n.jsx("div",{className:"w-9 shrink-0",children:t?R&&n.jsx("time",{dateTime:e.created_at,title:O,className:"block pt-0.5 text-right text-[11px] text-ink-dim opacity-0 group-hover/message:opacity-100",children:F}):v??n.jsx("span",{"aria-hidden":"true","data-sender-avatar":E?"agent":i===null?"unknown":"initial",className:Z("mt-0.5 flex size-9 shrink-0 items-center justify-center overflow-hidden rounded-md font-medium text-[14px]",E?"bg-media-surface text-accent":"bg-media-surface text-ink-muted"),children:E?n.jsx(Nt,{size:18}):i===null?n.jsx(Kr,{size:18}):i.trim().charAt(0).toUpperCase()||"?"})}),n.jsxs("div",{className:"min-w-0 flex-1",children:[n.jsx(ug,{reactions:l,onReply:N?()=>c(e):void 0,forceVisible:u}),!t&&n.jsxs("div",{className:"flex items-baseline gap-2",children:[a?n.jsx(Dn,{member:a,label:I,kind:E?"agent":"human",onMessage:X,canMessage:z,children:n.jsx("button",{type:"button","data-sender":i===null?"unknown":"known",className:"min-w-0 truncate rounded-sm text-start font-semibold text-[14px] text-ink",children:I})}):n.jsx("span",{"data-sender":i===null?"unknown":"known",className:Z("truncate text-[14px]",i===null?"text-ink-muted italic":"font-semibold text-ink"),children:I}),R&&n.jsx("time",{dateTime:e.created_at,title:O,className:"shrink-0 text-[12px] text-ink-dim",children:F}),x?.badge]}),t&&x?.badge&&n.jsx("div",{className:"flex pb-0.5",children:x.badge}),e.body===null||x?.withheldCopy!==void 0&&e.body.trim()===""&&(e.attachments?.length??0)===0&&x.attachments===void 0?n.jsx("p",{className:"text-[14px] text-ink-dim italic",children:x?.withheldCopy??o("ui.teamBridge.thread.withheld")}):e.body.trim()===""&&((e.attachments?.length??0)>0||x?.attachments!==void 0)?null:n.jsx(bh,{body:e.body,renderText:T=>n.jsx(Zs,{className:"team-bridge-message-body text-[14px] transition-colors duration-fast",style:{...f?.status==="pending"?{"--md-ink":"var(--lo-ink-muted)"}:{}},mentions:L,children:T})}),f&&n.jsx("p",{className:"sr-only","aria-live":"polite",children:f.status==="failed"?o("ui.chat.canonical.send_failure.generic"):o("ui.agents.config.state.sending")}),n.jsx(Dh,{message:e}),(e.attachments?.length??0)>0&&n.jsx(Ih,{message:e,tenantId:h??null,density:g,accountId:p}),x?.attachments,l&&n.jsx(dg,{state:l}),f?.status==="failed"&&n.jsxs("div",{role:"alert","data-delivery-failed":"",className:"mt-0.5 flex flex-wrap items-center gap-x-3 gap-y-1 text-[12px]",children:[n.jsx("span",{className:"text-danger",children:o("ui.chat.canonical.send_failure.generic")}),f.onRetry&&n.jsx("button",{type:"button",onClick:f.onRetry,className:"-mx-1 rounded-sm px-1 py-1 font-medium text-accent hover:bg-row-hover hover:underline",children:o("ui.common.actions.retry")}),f.onEdit&&n.jsx("button",{type:"button",onClick:f.onEdit,className:"-mx-1 rounded-sm px-1 py-1 font-medium text-ink-muted hover:bg-row-hover hover:text-ink hover:underline",children:o("ui.chat.canonical.transcript.edit")})]}),N&&B.count>0&&n.jsxs("button",{type:"button",onClick:()=>c(e),className:"mt-1 flex items-center gap-2 rounded-md py-1 text-[12px] text-accent hover:bg-row-hover",children:[n.jsx("span",{"aria-hidden":"true",className:"flex gap-0.5",children:B.participants.map((T,M)=>n.jsx("span",{className:"flex size-5 items-center justify-center text-[10px] text-ink-muted",children:T.trim().charAt(0).toUpperCase()},`${M}:${T}`))}),o("ui.teamBridge.replies.count",{count:B.count}),B.lastReply&&n.jsxs("span",{className:"text-ink-dim",children:["·"," ",o("ui.teamBridge.replies.last",{time:Ni(B.lastReply,{hour:"numeric",minute:"2-digit"},d)})]})]}),x?.after]})]})};function jg(e,t){return e&&t>1}function _g({organizations:e,directories:t,directoryStates:i,directs:a,selfAccountId:r}){return e.map(s=>{const d=s.tenantId,l=t?.[d]??[],c=Fa(l,r),u=a.filter(h=>h.tenant_id===d);return{tenantId:d,name:s.name,state:i?.[d]??(l.length>0?"ready":"loading"),members:l,chiefs:c,directs:u,looseDirects:eo(u,l,c,r)}})}function Bg(e){return e.flatMap(t=>t.looseDirects)}function Cs(e,t){return`${e}:${t}`}function Is(e,t){return`team-bridge-org-${e}-${t}`}const Ng=({organizations:e,scope:t,onScopeChange:i,totalUnread:a,membershipsLoading:r=!1,organizationsFailed:s=!1,unreadRefreshing:d=!1,defaultOpen:l=!1,onRetry:c})=>{me();const u=Ud(e,t),h=t===Qe?o("ui.teamBridge.scope.all"):u?.name??o("ui.teamBridge.scope.unknown");return n.jsxs(Zt,{defaultOpen:l,children:[n.jsx(ei,{asChild:!0,children:n.jsxs("button",{type:"button","aria-label":o("ui.teamBridge.scope.trigger",{name:h}),title:h,"aria-busy":d||void 0,className:Z("group flex h-[30px] min-w-0 flex-1 items-center gap-2 rounded-md px-2","text-start text-[13px] text-ink transition-colors duration-fast","hover:bg-row-hover data-[state=open]:bg-row-hover"),children:[n.jsx(Lc,{size:16,"aria-hidden":"true",className:"shrink-0 text-ink-muted"}),n.jsx("span",{className:"min-w-0 flex-1 truncate font-medium",children:h}),n.jsx(Ec,{size:14,"aria-hidden":"true",className:"shrink-0 text-ink-dim"})]})}),n.jsxs(ni,{align:"start",className:"w-64",children:[n.jsx(vt,{children:o("ui.teamBridge.scope.label")}),n.jsxs(xa,{value:t,onValueChange:p=>i(Hd(p)),children:[n.jsxs(Ei,{value:Qe,children:[n.jsx("span",{className:"min-w-0 flex-1 truncate",children:o("ui.teamBridge.scope.all")}),a>0&&n.jsx(Mi,{count:a,"aria-label":o("ui.teamBridge.unread.count",{count:a}),title:o("ui.teamBridge.unread.count",{count:a})})]}),e.length>0&&n.jsx(Ft,{}),e.map(p=>n.jsxs(Ei,{value:p.tenantId,children:[n.jsx("span",{className:"min-w-0 flex-1 truncate",children:p.name}),p.role&&n.jsx("span",{className:"shrink-0 text-meta-sm text-ink-dim capitalize",children:p.role}),p.unread>0&&n.jsx(Mi,{count:p.unread,"aria-label":o("ui.teamBridge.unread.count",{count:p.unread}),title:o("ui.teamBridge.unread.count",{count:p.unread})})]},p.tenantId))]}),r&&n.jsx(vt,{children:o("ui.teamBridge.scope.loading")}),!r&&s&&n.jsxs(n.Fragment,{children:[n.jsx(vt,{children:o("ui.teamBridge.scope.error")}),c&&n.jsx(et,{onSelect:()=>c(),children:o("ui.teamBridge.list.retry")})]}),!r&&!s&&e.length===0&&n.jsx(vt,{children:o("ui.teamBridge.scope.empty")})]})]})};function Sg(e,t){return e.agent_delivery_status==="admitted"?"admitted":e.agent_delivery_status==="rejected"?"rejected":e.agent_delivery_status==="not_screened"?"not_screened":!e.agent_delivery_status&&e.sender.kind==="agent"&&e.sender.account_id===t?"own":"unknown"}function Cg(e,t){return e.name?.trim()||e.members.map(i=>i.display_label.trim()).filter(Boolean).join(", ")||t}function Ig(e){const t=new Map;for(const i of e)for(const a of i)t.get(a.id)?.body&&!a.body||t.set(a.id,a);return[...t.values()].sort((i,a)=>i.seq-a.seq||(i.id<a.id?-1:i.id>a.id?1:0))}function Rg(e){const t=Eg(e.sender.kind);return{id:e.id,conversation_id:e.conversation_id,seq:e.seq,sender:{account_id:e.sender.account_id,kind:t??"human",display_label:e.sender.display_label,...t===null?{audit_unknown_kind:!0}:{}},body:e.body??null,body_hash:e.body_hash??void 0,origin:e.origin==="human"||e.origin==="agent"||e.origin==="system"?e.origin:"system",agent_label:e.agent_label??void 0,created_at:e.created_at,thread_root_id:e.thread_root_id??void 0,delivery_states:e.delivery_states??void 0}}function Eg(e){return e==="human"||e==="agent"?e:null}function Mg(e,t,i,a){if(e.audit_unknown_kind===!0)return Gd(e.display_label);const r=Si(e,t,a);if(r!==null)return r;const s=i.find(d=>d.account_id===e.account_id&&d.kind===e.kind);return s?Si({...e,display_label:s.display_label},t,a):null}function Tg(e,t){if(e.audit_unknown_kind!==!0)return t.find(i=>i.account_id===e.account_id)}const Bt="group/row relative flex h-[30px] w-full items-center gap-2 rounded-md px-2 text-start text-[13px] transition-colors duration-fast ease-out-quart",Ta=({id:e,name:t,inset:i="rail",first:a=!1})=>n.jsx("h3",{id:e,title:t,className:Z("truncate py-1 text-xs font-normal text-ink-muted",i==="bare"?"px-3":"ps-2 pe-1",!a&&"mt-2"),children:t}),fi=({children:e})=>n.jsx("p",{className:"px-2 py-1 text-[12px] text-ink-dim leading-snug",children:e}),_i={openDelayMs:1200,fastOpenDelayMs:400,toggleOnClick:!1,openOnFocus:!1},Za=({count:e,yieldsToMenu:t=!1,register:i="attention"})=>e>0?n.jsx(Mi,{count:e,register:i,className:Z("shrink-0",t&&"group-focus-within/row:invisible group-hover/row:invisible"),"aria-label":o("ui.teamBridge.unread.count",{count:e})}):null,er=({yieldsToMenu:e=!1})=>n.jsxs("span",{className:Z("shrink-0 text-ink-dim",e&&"group-focus-within/row:invisible group-hover/row:invisible"),title:o("ui.teamBridge.notify.muted"),children:[n.jsx(ko,{size:12,"aria-hidden":"true"}),n.jsx("span",{className:"sr-only",children:o("ui.teamBridge.notify.muted")})]});function Fo(e,t){const i=!!(t&&Fi(t)),a=t?.unread_count??0;return[o("ui.teamBridge.people.message",{name:e}),i?o("ui.teamBridge.notify.muted"):null,a>0?o("ui.teamBridge.unread.count",{count:a}):null].filter(r=>r!==null).join(" ")}const Qn=({id:e,title:t,children:i,empty:a,add:r,menu:s})=>(me(),n.jsxs("section",{"aria-labelledby":e,className:"px-1 pb-1",children:[n.jsxs("div",{className:"group/section flex items-center pt-3 pe-1 pb-1 ps-2",children:[n.jsx("h2",{id:e,className:"min-w-0 flex-1 truncate font-medium text-meta text-ink-dim tracking-wide",children:t}),s&&n.jsxs(Zt,{children:[n.jsx(ei,{asChild:!0,children:n.jsx("button",{type:"button","aria-label":s.label,title:s.label,className:"flex size-5 items-center justify-center rounded-sm text-ink-dim opacity-0 transition-opacity duration-fast hover:bg-row-hover hover:text-ink focus-visible:opacity-100 group-hover/section:opacity-100 data-[state=open]:opacity-100",children:n.jsx(qi,{size:13,"aria-hidden":"true"})})}),n.jsx(ni,{align:"start",side:"right",className:"border-transparent shadow-lg",children:s.items.map(d=>n.jsxs(et,{onSelect:d.onSelect,children:[d.icon,d.label]},d.key))})]}),r&&n.jsx("button",{type:"button",onClick:r.onAdd,"aria-label":r.label,title:r.label,className:"flex size-5 items-center justify-center rounded-sm text-ink-dim opacity-0 transition-opacity duration-fast hover:bg-row-hover hover:text-ink focus-visible:opacity-100 group-hover/section:opacity-100",children:n.jsx(Da,{size:13,"aria-hidden":"true"})})]}),a?a.onCreate?n.jsx("button",{type:"button",onClick:a.onCreate,className:"w-full rounded-md px-2 py-1 text-start text-[12px] text-ink-dim leading-snug transition-colors duration-fast ease-out-quart hover:bg-row-hover hover:text-ink-muted",children:a.text}):n.jsx("p",{className:"px-2 py-1 text-[12px] text-ink-dim leading-snug",children:a.text}):i]})),nr=({kind:e})=>{const t=e==="group"?St:e==="dm"?Cl:Ki;return n.jsx(t,{size:15,"aria-hidden":"true",className:"shrink-0"})},Ag=({hasDraft:e=!1,conversation:t,selected:i,selfAccountId:a,title:r,organizationName:s,onSelect:d,onArchive:l})=>{const c=me(),u=r??yi(t,a)??o("ui.teamBridge.list.untitled"),h=Ka(t),p=t.unread_count,g=Dg(t.last_message_at,c);return n.jsxs("li",{className:"group/row relative",children:[n.jsxs("button",{type:"button",onClick:d,title:g||void 0,"aria-current":i?"page":void 0,"data-conversation-id":t.id,"data-conversation-builtin":t.builtin,className:Z(Bt,s&&"h-auto min-h-[38px] py-1",i?Pi:p>0?"font-medium text-ink hover:bg-row-hover":"text-ink-muted hover:bg-row-hover hover:text-ink"),children:[n.jsx(nr,{kind:t.kind}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col",children:[n.jsx("span",{className:"truncate",children:u}),s&&n.jsx("span",{className:"truncate font-normal text-meta-sm text-ink-dim",children:s})]}),h&&n.jsx(Wt,{variant:"attentionQuiet",className:"shrink-0",children:o("ui.teamBridge.preview.chip")}),Fi(t)&&n.jsx(er,{yieldsToMenu:!!l}),e&&n.jsxs("span",{title:o("ui.teamBridge.drafts.indicator"),className:"shrink-0 text-ink-dim",children:[n.jsx(Li,{size:12,"aria-hidden":"true"}),n.jsx("span",{className:"sr-only",children:o("ui.teamBridge.drafts.indicator")})]}),n.jsx(Za,{count:p,yieldsToMenu:!!l,register:$a(t)})]}),l&&n.jsx(zg,{name:u,onArchive:l})]})},zg=({name:e,onArchive:t})=>n.jsxs(Zt,{children:[n.jsx(ei,{asChild:!0,children:n.jsx("button",{type:"button","aria-label":o("ui.teamBridge.row.menu",{name:e}),className:"absolute end-1.5 top-[3px] flex size-6 items-center justify-center rounded-sm text-ink-dim opacity-0 transition-opacity duration-fast hover:bg-row-hover hover:text-ink focus-visible:opacity-100 group-hover/row:opacity-100 group-focus-within/row:opacity-100 data-[state=open]:opacity-100",children:n.jsx(qi,{size:14,"aria-hidden":"true"})})}),n.jsx(ni,{align:"start",side:"right",className:"border-transparent shadow-lg",children:n.jsxs(et,{onSelect:t,children:[n.jsx(Gt,{size:14,"aria-hidden":"true"}),o("ui.teamBridge.archive.menu.archive")]})})]}),$o=({label:e,onStartGroup:t})=>n.jsxs(Zt,{children:[n.jsx(ei,{asChild:!0,children:n.jsx("button",{type:"button","aria-label":o("ui.teamBridge.row.menu",{name:e}),className:"absolute end-1.5 flex size-6 items-center justify-center rounded-sm text-ink-dim opacity-0 transition-opacity duration-fast hover:bg-row-hover hover:text-ink focus-visible:opacity-100 group-hover/row:opacity-100 group-focus-within/row:opacity-100 data-[state=open]:opacity-100",children:n.jsx(qi,{size:14,"aria-hidden":"true"})})}),n.jsx(ni,{align:"start",side:"right",className:"border-transparent shadow-lg",children:n.jsxs(et,{onSelect:t,children:[n.jsx(St,{size:14,"aria-hidden":"true"}),o("ui.teamBridge.row.start_group")]})})]}),Rs=({hasDraft:e=!1,member:t,selfAccountId:i,identityKnown:a,selected:r,dm:s,readOnly:d,onSelect:l,onStartGroup:c})=>{me();const u=m.useId(),h=Ye(t),p=a?Pa(t,i):"unknown",g=n.jsx(yn,{member:t,kind:"human",label:h,size:20,selected:r,className:"rounded-[5px] text-[10px]"});if(p==="self")return n.jsx("li",{children:n.jsx(Dn,{member:t,label:h,kind:"human",onMessage:l,canMessage:!1,..._i,children:n.jsxs("button",{type:"button",className:Z(Bt,"cursor-default text-ink-muted"),children:[g,n.jsx("span",{className:"min-w-0 flex-1 truncate",children:o("ui.teamBridge.people.self_named",{name:h})})]})})});const y=p==="unknown"?o("ui.teamBridge.people.identity_loading"):p==="unavailable"&&!s?o("ui.teamBridge.people.bridge_off"):null;if(y)return n.jsx("li",{children:n.jsx(Dn,{member:t,label:h,kind:"human",onMessage:l,canMessage:!d&&p!=="unavailable"&&p!=="unknown",..._i,children:n.jsxs("button",{type:"button","aria-disabled":"true","aria-describedby":u,className:Z(Bt,"h-auto min-h-[30px] cursor-default py-1 text-ink-muted"),children:[n.jsx("span",{className:"opacity-60",children:g}),n.jsxs("span",{className:"flex min-w-0 flex-1 flex-col text-start",children:[n.jsx("span",{className:"truncate",children:h}),n.jsx("span",{id:u,className:"truncate text-meta-sm text-ink-dim",children:y})]})]})})});const w=s?.unread_count??0,x=!d&&p!=="unavailable";return n.jsxs("li",{className:"group/row relative flex items-center",children:[n.jsx(Dn,{member:t,label:h,kind:"human",onMessage:l,canMessage:(!!s||!d)&&p!=="unavailable"&&p!=="unknown",..._i,children:n.jsxs("button",{type:"button",onClick:l,"aria-current":r?"page":void 0,"data-team-bridge-person":t.account_id,"aria-label":Fo(h,s),className:Z(Bt,r?Pi:w>0?"font-medium text-ink hover:bg-row-hover":"text-ink-muted hover:bg-row-hover hover:text-ink"),children:[g,n.jsx("span",{className:"min-w-0 flex-1 truncate",children:h}),p==="paused"&&n.jsx("span",{className:"shrink-0 text-meta-sm text-ink-dim",children:o("ui.teamBridge.people.paused")}),e&&n.jsxs("span",{title:o("ui.teamBridge.drafts.indicator"),className:"shrink-0 text-ink-dim",children:[n.jsx(Li,{size:12,"aria-hidden":"true"}),n.jsx("span",{className:"sr-only",children:o("ui.teamBridge.drafts.indicator")})]}),!!(s&&Fi(s))&&n.jsx(er,{yieldsToMenu:x}),n.jsx(Za,{count:w,yieldsToMenu:!0,register:s?$a(s):"attention"})]})}),x&&n.jsx($o,{label:h,onStartGroup:()=>c({kind:"human",accountId:t.account_id,label:h})})]})},Es=({hasDraft:e=!1,chief:t,label:i,selected:a,dm:r,readOnly:s,onSelect:d,onStartGroup:l})=>{me();const c=r?.unread_count??0;return n.jsxs("li",{className:"group/row relative flex items-center",children:[n.jsx(Dn,{member:t.person,label:i,kind:"agent",onMessage:d,canMessage:!!r||!s,..._i,children:n.jsxs("button",{type:"button",onClick:d,"aria-current":a?"page":void 0,"data-team-bridge-chief":t.person.account_id,"aria-label":Fo(i,r),className:Z(Bt,a?Pi:c>0?"font-medium text-ink hover:bg-row-hover":"text-ink-muted hover:bg-row-hover hover:text-ink"),children:[n.jsx(yn,{member:t.person,kind:"agent",endpointId:t.endpointId,label:i,size:20,selected:a,className:"rounded-[5px] text-accent"}),n.jsx("span",{className:"min-w-0 flex-1 truncate",children:i}),t.paused&&n.jsx("span",{className:"shrink-0 text-meta-sm text-ink-dim",children:o("ui.teamBridge.people.paused")}),e&&n.jsxs("span",{title:o("ui.teamBridge.drafts.indicator"),className:"shrink-0 text-ink-dim",children:[n.jsx(Li,{size:12,"aria-hidden":"true"}),n.jsx("span",{className:"sr-only",children:o("ui.teamBridge.drafts.indicator")})]}),!!(r&&Fi(r))&&n.jsx(er,{yieldsToMenu:!s}),n.jsx(Za,{count:c,yieldsToMenu:!0,register:r?$a(r):"attention"})]})}),!s&&n.jsx($o,{label:i,onStartGroup:()=>l({kind:"agent",accountId:t.person.account_id,endpointId:t.endpointId,label:i})})]})},Mn=({label:e})=>n.jsx("div",{className:"flex h-[30px] items-center px-2",children:n.jsx(Oe,{size:"sm",label:e})});function Ms(e,t,i){return e?.type===t&&e.accountId===i}function Dg(e,t){if(!e)return"";const i=Date.parse(e);if(Number.isNaN(i))return"";const a=Math.round((i-Date.now())/6e4),r=Math.round(a/60),s=Math.abs(a)<60?_t(a,"minute",{numeric:"auto"},t):Math.abs(r)<24?_t(r,"hour",{numeric:"auto"},t):_t(Math.round(r/24),"day",{numeric:"auto"},t),d=new Intl.DateTimeFormat(t,{dateStyle:"medium",timeStyle:"short"}).format(new Date(i));return`${s} · ${d}`}const Pg=48,qg="[data-radix-scroll-area-viewport]";function Ui({resetKey:e,contentKey:t,scrollElement:i="radix",preserveAnchor:a=!1,rowIds:r,rowSelector:s="[data-message-id]",liveEdgeAvailable:d=!0}){const l=m.useRef(null),c=m.useRef(!0),u=m.useRef(d),h=m.useRef(null),p=m.useRef([]),[g,y]=m.useState(0),w=m.useCallback(()=>i==="root"?l.current:l.current?.querySelector(qg)??null,[i]),x=m.useCallback(()=>{if(!a)return;const N=w();if(!N)return;const E=N.getBoundingClientRect(),I=[...N.querySelectorAll(s)].find(K=>{const R=K.getBoundingClientRect();return R.bottom>E.top&&R.top<E.bottom});h.current=I?{id:I.dataset.messageId??"",offset:I.getBoundingClientRect().top-E.top}:null},[a,w,s]),k=m.useCallback(()=>{if(!a||!h.current)return;const N=w();if(!N)return;const E=[...N.querySelectorAll(s)].find(I=>I.dataset.messageId===h.current?.id);E&&(N.scrollTop+=E.getBoundingClientRect().top-N.getBoundingClientRect().top-h.current.offset)},[a,w,s]),f=m.useCallback(()=>{const N=w();N&&(N.scrollTop=N.scrollHeight)},[w]),_=m.useCallback(()=>{d&&(c.current=!0,a&&y(0),f())},[f,a,d]),B=m.useCallback(()=>{c.current=!1,x()},[x]),L=m.useCallback(()=>c.current&&d,[d]);return m.useLayoutEffect(()=>{c.current=d,u.current=d,h.current=null,p.current=r??[],a&&y(0),f()},[e,f]),m.useLayoutEffect(()=>{const N=d&&!u.current;if(u.current=d,d?N&&(c.current=!0,h.current=null,a&&y(0)):c.current=!1,c.current)f();else if(k(),a&&r){const E=p.current.at(-1),I=E?r.indexOf(E):-1;I>=0&&I<r.length-1&&y(K=>K+r.length-I-1)}p.current=r??[]},[t,f,d]),m.useEffect(()=>{const N=w();if(!N)return;const E=()=>{c.current=d&&N.scrollHeight-N.scrollTop-N.clientHeight<=Pg,c.current?(h.current=null,a&&y(0)):x()},I=F=>{F.target instanceof HTMLImageElement&&(c.current?f():k())};N.addEventListener("scroll",E,{passive:!0}),N.addEventListener("load",I,!0);const K=N.firstElementChild,R=typeof ResizeObserver=="function"&&K?new ResizeObserver(()=>{c.current?f():k()}):null;if(R&&K){R.observe(K);for(const F of K.children)R.observe(F)}return R?.observe(N),()=>{N.removeEventListener("scroll",E),N.removeEventListener("load",I,!0),R?.disconnect()}},[w,f,e,d,a,x,k]),{rootRef:l,pin:_,hold:B,isPinned:L,newMessages:g}}const bn=q.string().min(1),qe=q.string().nullish(),Pn=q.number().int().nullish(),Og=q.object({account_id:bn,kind:q.string(),display_label:q.string().default(""),role:q.string().default(""),state:q.string().default(""),joined_seq:Pn,notify:qe}).passthrough(),Lg=q.object({account_id:bn,display_label:q.string().default(""),reason:q.string().default("agent_owner"),agent_member_key:q.string().default("")}).passthrough(),Fg=q.object({id:bn,tenant_id:bn,kind:q.string(),name:qe,topic:qe,visibility:q.string().default(""),status:q.string().default(""),builtin:qe,last_message_at:qe,latest_seq:q.number().int().default(0),last_thread_root_id:qe,members:q.array(Og).default([]),member_count:q.number().int().default(0),viewers:q.array(Lg).nullish(),agent:q.object({account_id:bn,display_label:q.string().default(""),state:q.string(),joined_seq:q.number().int(),left_seq:Pn}).passthrough()}).passthrough(),$g=q.object({conversations:q.array(Fg),next_cursor:qe,has_more:q.boolean().default(!1)}).passthrough(),Kg=q.object({id:bn,mime:q.string().default(""),size:q.number().int().default(0),width:Pn,height:Pn,sha256:q.string().default(""),state:q.string().default(""),expires_at:qe}).passthrough(),Aa=q.object({id:bn,conversation_id:bn,seq:q.number().int(),sender:q.object({account_id:bn,kind:q.string(),display_label:q.string().default("")}).passthrough(),body:qe,body_hash:qe,origin:q.string().default(""),agent_label:qe,created_at:q.string(),thread_root_id:qe,reply_count:Pn,last_reply_at:qe,reply_participants:q.array(q.string()).nullish(),attachments:q.array(Kg).nullish(),attachment_count:Pn,agent_delivery_status:qe,agent_verdict_at:qe,delivery_states:q.array(Il).max(64).nullish().catch(void 0)}).passthrough(),Ug=q.object({messages:q.array(Aa),next_before_seq:Pn,has_more:q.boolean().default(!1)}).passthrough(),Hg=q.object({root:Aa,replies:q.array(Aa),next_after_seq:Pn,next_before_seq:q.number().int().positive().nullish(),order:q.enum(["asc","desc"]).optional(),has_more:q.boolean().default(!1)}).passthrough(),fa=({accountId:e,tenantId:t})=>({expected_account_id:e,tenant_id:t}),tr={async conversations(e,t){return $g.parse(await ca({op:"team_bridge.owner_audit.conversations",...fa(e),limit:50,...t===void 0?{}:{cursor:t}}))},async messages(e,t,i){return Ug.parse(await ca({op:"team_bridge.owner_audit.messages",...fa(e),conversation_id:t,limit:50,...i===void 0?{}:{before_seq:i}}))},async replies(e,t,i,a,r){return Hg.parse(await ca({op:"team_bridge.owner_audit.replies",...fa(e),conversation_id:t,message_id:i,limit:r?.limit??50,...a===void 0?{}:{after_seq:a},...r?.beforeSeq===void 0?{}:{before_seq:r.beforeSeq},...r?.order===void 0?{}:{order:r.order}}))}};class Ko extends Error{}function Gg(e){if(e.order===void 0)throw new Ko;if(e.order!=="desc")throw new Error("Thread response order mismatch");return e}function Wg(e){return e instanceof Ko||e instanceof fn&&e.status===422&&e.code==="invalid_request"}function Jg(e,t){const i=t==="desc"?[...e].reverse():e,a=new Map;for(const r of i)for(const s of r.replies)a.set(s.id,s);return[...a.values()]}function Ts(e,t,i,a,r){if(e.root.id!==t.rootId||e.root.conversation_id!==t.conversationId||e.root.thread_root_id||e.replies.some(s=>s.id===t.rootId||s.conversation_id!==t.conversationId||s.thread_root_id!==t.rootId))throw new Error("Thread response identity mismatch");if(i==="desc"&&Gg(e),e.replies.length>r||new Set(e.replies.map(s=>s.id)).size!==e.replies.length||e.replies.some((s,d)=>{const l=e.replies[d-1];return!Number.isSafeInteger(s.seq)||s.seq<=0||l&&(l.seq>s.seq||l.seq===s.seq&&l.id>=s.id)}))throw new Error("Thread response page ordering mismatch");if(a!==void 0&&e.replies.some(s=>i==="desc"?s.seq>=a:s.seq<a))throw new Error("Thread response cursor boundary mismatch");if(e.has_more){const s=i==="desc"?e.replies[0]?.seq:(e.replies.at(-1)?.seq??-1)+1,d=i==="desc"?e.next_before_seq:e.next_after_seq;if(s===void 0||!Number.isSafeInteger(s)||s<=0||d!==s)throw new Error("Thread response cursor mismatch")}return e}function Uo({queryKey:e,identity:t,read:i,canEvict:a,isAtLiveEdge:r,poll:s=!1,enabled:d=!0,retry:l=!1,retryDelay:c,refetchOnWindowFocus:u,refetchOnReconnect:h,retryOnMount:p}){const g=rt(),y=["team-bridge","reply-window-negotiation",JSON.stringify(e)],{data:w}=Ga({queryKey:y,queryFn:()=>"desc",initialData:"desc",enabled:!1,gcTime:0}),x=[...e,w],k=JSON.stringify(x),f=m.useRef({key:k,pendingNewer:!1});f.current.key!==k&&(f.current={key:k,pendingNewer:!1});const _=Ua({queryKey:x,initialPageParam:void 0,maxPages:6,gcTime:0,enabled:d,retry:l,retryDelay:c,refetchOnWindowFocus:u,refetchOnReconnect:h,retryOnMount:p,queryFn:async({pageParam:N,signal:E})=>{const I=f.current,K=()=>{if(E.aborted||f.current!==I||I.key!==k)throw new An({revert:!0})};K();const R=g.getQueryData(x),F=R?.pages.reduce((S,U)=>Math.max(S,U.replies.at(-1)?.seq??0),0)??0,O=()=>{const S=I.upperBound??F+1;if(!Number.isSafeInteger(S)||S<=0)throw new Error("Thread upper boundary is not representable");return S};if(I.attempt?.signal!==E){const S=g.getQueryState(x)?.fetchMeta?.fetchMore?.direction==="forward"&&N!==void 0;w==="desc"&&!S&&F>0&&(!(r?.()??!0)||typeof R?.pageParams[0]=="number"||I.upperBound!==void 0)&&(I.upperBound=O()),I.attempt={signal:E,older:S,first:!0,live:w==="desc"&&I.upperBound===void 0,hadRows:F>0}}const z=I.attempt,X=z.first;z.first=!1;const v=X&&!z.older&&w==="desc"?I.upperBound??N:N,T=S=>{const U=g.getQueryData(x),$=new Map(U?.pages.flatMap(Q=>Q.replies.map(Y=>[Y.id,Y.seq]))??[]);if(S.replies.some(Q=>$.has(Q.id)&&$.get(Q.id)!==Q.seq))throw new Error("Thread response sequence identity mismatch")};let M;try{if(X&&!z.older&&w==="desc"&&v!==void 0){const S=Ts(await i(w,void 0,1,E),t,w,void 0,1);K(),T(S);const U=S.replies.at(-1);I.latest=U?{id:U.id,seq:U.seq}:void 0,I.pendingNewer=!!(U&&U.seq>F)}M=Ts(await i(w,v,50,E),t,w,v,50),K(),T(M)}catch(S){throw w==="desc"&&X&&!R?.pages.length&&v===void 0&&!E.aborted&&Wg(S)?(g.setQueryData(y,"legacy"),new An({revert:!0})):S}if(X&&z.live){const S=M.replies.at(-1);I.latest=S?{id:S.id,seq:S.seq}:void 0}if(!z.older&&z.live&&z.hadRows&&!(r?.()??!0))throw I.upperBound=O(),I.pendingNewer=!!(I.latest&&I.latest.seq>F),queueMicrotask(()=>{if(f.current!==I||E.aborted)return;const S=g.getQueryCache().find({queryKey:x,exact:!0});S&&S.getObserversCount()>0&&g.refetchQueries({queryKey:x,exact:!0},{cancelRefetch:!0})}),new An({revert:!0});const H=g.getQueryData(x);if(z.older&&H&&H.pages.length>=6&&a&&!a(H.pages[0]))throw new An({revert:!0});return M},getNextPageParam:(N,E,I)=>{if(!N.has_more)return;const K=w==="desc"?N.next_before_seq:N.next_after_seq;if(!(K==null||!Number.isSafeInteger(K)||K<0)&&!(w==="desc"&&K===0))return I===void 0||(w==="desc"?K<I:K>I)?K:void 0},refetchInterval:s?8e3:!1}),B=_.error instanceof fn?_.error.status:void 0,L=!!(_.data&&_.isFetchNextPageError&&(B===null||typeof B=="number"&&Number.isInteger(B)&&B>=500&&B<=599));return{..._,mode:w,keepWindowOnError:L,replies:Jg(_.data?.pages??[],w),pendingNewer:f.current.pendingNewer,latestPageAvailable:w==="desc"&&f.current.upperBound===void 0&&!f.current.pendingNewer&&_.data?.pageParams[0]===void 0,resetLatest:()=>f.current.key!==k?Promise.resolve():(f.current={key:k,pendingNewer:!1},g.resetQueries({queryKey:x,exact:!0}))}}function Ho(e,t){if(!t)return!1;const i=t.getBoundingClientRect(),a=new Set(e.replies.map(r=>r.id));return![...t.querySelectorAll("[data-message-id]")].some(r=>{const s=r.getBoundingClientRect();return a.has(r.dataset.messageId??"")&&s.bottom>i.top&&s.top<i.bottom})}const Vg=new Set(["conversation_not_found","account_mismatch","expected_account_mismatch","deadline_exceeded","owner_audit_unavailable"]);function ir(e){const t=e instanceof Error?e.message:"",i=Fr(e)?"cancelled":t==="Owner audit authority changed"?"audit-owner":t==="Team Bridge read owner changed"?"bridge-owner":t==="Team Bridge read authority changed"?"bridge-authority":t==="Account authority changed"||t==="Account authority unresolved"?"credential-authority":e instanceof Error&&e.name==="ZodError"?"schema":e instanceof fn?"desktop":"other",a=e instanceof fn?Object.getOwnPropertyDescriptor(e,"status")?.value:void 0;return{category:i,errorClass:Fr(e)?"CancelledError":e instanceof fn?"DesktopControlError":e instanceof Error&&e.name==="ZodError"?"ZodError":e instanceof Error?"Error":"unknown",status:typeof a=="number"&&Number.isInteger(a)&&a>=100&&a<=599?a:null,code:e instanceof fn&&e.code?Vg.has(e.code)?e.code:"other":null}}function Go(e){const t=ir(e);return t.category==="credential-authority"||t.status===401||t.code==="account_mismatch"||t.code==="expected_account_mismatch"?"auth":t.status===403?"permission":t.status===404||t.code==="conversation_not_found"?"not-found":t.status!==null&&t.status>=500?"unavailable":"error"}function ar(e,t){const i=ir(t);return e<1&&i.category==="desktop"&&i.status!==null&&i.status>=500}const rr=250,Qg=1e3;function Yg(e,t){return new Promise(i=>{let a=()=>{};const r=l=>{clearTimeout(d),a(),i(l)},s=()=>{const l=Oa(e);l.epoch>t&&l.accountId&&r(!0)},d=setTimeout(()=>r(!1),Qg);a=Wd(e,s),s()})}function sr(e,t){const i=rt(),a=Ws(),r=m.useCallback(g=>i.getQueryCache().subscribe(g),[i]),s=m.useCallback(()=>JSON.stringify(Rl(i.getQueryData(zn.statusFor(e.accountId)))),[i,e.accountId]),d=m.useSyncExternalStore(r,s,s),l=`${a.token}:${d}`,c=a.accountId===e.accountId&&!!e.tenantId&&i.getQueryData(zn.statusFor(e.accountId))?.account_id===e.accountId,u=m.useMemo(()=>({accountId:e.accountId,tenantId:e.tenantId,operation:t,remaining:20}),[e.accountId,e.tenantId,t]),h=m.useRef(0);return{read:async(g,y)=>{const w=a.token,x=()=>!y.aborted&&Vs(i)===w&&Oa(i).accountId===e.accountId&&s()===d;try{if(!x())throw new Error("Owner audit authority changed");const k=await El(i,e.accountId,g);if(!x())throw new Error("Owner audit authority changed");return h.current=0,k}catch(k){if(u.remaining>0){u.remaining-=1;const _=k instanceof fn?Object.getOwnPropertyDescriptor(k,"status")?.value:void 0,B=typeof _=="number"&&Number.isInteger(_)&&_>=100&&_<=599?`${Math.floor(_/100)}xx`:"unknown";try{console.warn("[owner-audit-read]",JSON.stringify({operation:t,statusClass:B}))}catch{}}if(!x())throw new An({revert:!0});const f=ir(k);throw["cancelled","audit-owner","bridge-owner","bridge-authority","credential-authority"].includes(f.category)?new An({revert:!0}):f.status===401&&++h.current===1&&await Yg(i,a.epoch)?new An({revert:!0}):k}},authorityToken:l,enabled:c}}function Xg(e){const{read:t,authorityToken:i,enabled:a}=sr(e,"conversations");return{...Ua({queryKey:["team-bridge","owner-audit",e.accountId,e.tenantId,i,"conversations"],initialPageParam:void 0,queryFn:({pageParam:s,signal:d})=>t(()=>tr.conversations(e,s),d),getNextPageParam:(s,d,l)=>s.has_more&&s.next_cursor&&s.next_cursor!==l?s.next_cursor:void 0,enabled:a,gcTime:0,retry:ar,retryDelay:rr,refetchOnWindowFocus:!1,refetchOnReconnect:!1,retryOnMount:!1}),auditAuthRequired:!a}}function Zg(e,t,i){const{read:a,authorityToken:r,enabled:s}=sr(e,"messages"),d=rt(),l=["team-bridge","owner-audit",e.accountId,e.tenantId,r,t,"messages"];return{...Ua({queryKey:l,maxPages:6,initialPageParam:void 0,queryFn:async({pageParam:u,signal:h})=>{const p=await a(()=>tr.messages(e,t,u),h),g=d.getQueryData(l);if(u!==void 0&&g&&g.pages.length>=6&&i&&!i(g.pages[0]))throw new An({revert:!0});return p},getNextPageParam:(u,h,p)=>u.has_more&&u.next_before_seq!=null&&(p===void 0||u.next_before_seq<p)?u.next_before_seq:void 0,enabled:s,gcTime:0,retry:ar,retryDelay:rr,refetchOnWindowFocus:!1,refetchOnReconnect:!1,retryOnMount:!1}),auditAuthRequired:!s,refetchLatest:()=>d.resetQueries({queryKey:l,exact:!0})}}function ep(e,t,i,a,r){const{read:s,authorityToken:d,enabled:l}=sr(e,"replies");return{...Uo({queryKey:["team-bridge","owner-audit",e.accountId,e.tenantId,d,t,"replies",i],identity:{conversationId:t,rootId:i},read:(u,h,p,g)=>s(()=>tr.replies(e,t,i,u==="desc"?void 0:h??0,u==="desc"?{beforeSeq:h,order:"desc",limit:p}:void 0),g),canEvict:a,enabled:l,retry:ar,retryDelay:rr,refetchOnWindowFocus:!1,refetchOnReconnect:!1,retryOnMount:!1,isAtLiveEdge:r}),auditAuthRequired:!l}}const Jt=e=>e!=="loading"&&e!=="ready",Wo=m.createContext(null);function or(e){if(e.auditAuthRequired)return"auth";if(e.isPending)return"loading";if(e.isError){const t=Go(e.error);if(!e.data||t==="auth"||t==="permission"||t==="not-found")return t}return"ready"}const Jo=e=>Cg(e,o("ui.ownerAudit.unnamed"));function Di({state:e="error",retry:t,inset:i="px-3"}){return n.jsxs("div",{role:"alert",className:Z("space-y-2 text-sm text-danger",i),children:[n.jsx("p",{children:o(e==="auth"?"ui.ownerAudit.auth_required":e==="permission"?"ui.ownerAudit.permission_refused":e==="not-found"?"ui.ownerAudit.not_found":e==="unavailable"?"ui.ownerAudit.unavailable":"ui.ownerAudit.error")}),e==="auth"&&n.jsx(V,{variant:"ghost",asChild:!0,children:n.jsx("a",{href:"#/settings?section=radient",children:o("ui.ownerAudit.sign_in")})}),(e==="error"||e==="unavailable")&&n.jsx(V,{variant:"ghost",onClick:t,children:o("ui.ownerAudit.retry")})]})}function np({conversations:e,state:t,selectedId:i,onSelect:a,retry:r,hasMore:s=!1,loadingMore:d=!1,loadMore:l}){return me(),t==="loading"?n.jsx("output",{className:"px-3 py-2 text-sm text-ink-muted",children:o("ui.ownerAudit.loading")}):Jt(t)?n.jsx(Di,{state:t,retry:r}):n.jsxs(n.Fragment,{children:[e.length===0&&n.jsx("p",{className:"px-3 py-2 text-sm text-ink-muted",children:o("ui.ownerAudit.empty_list")}),n.jsx("ul",{children:e.map(c=>n.jsx("li",{children:n.jsxs("button",{type:"button","aria-current":i===c.id?"page":void 0,className:Z(Bt,"text-ink-muted hover:bg-row-hover hover:text-ink",i===c.id&&"bg-row-selected text-ink"),onClick:()=>a(c),children:[n.jsx(nr,{kind:c.kind}),n.jsx("span",{className:"min-w-0 flex-1 truncate",children:Jo(c)})]})},c.id))}),s&&n.jsx(V,{variant:"ghost",disabled:d,onClick:l,children:o("ui.ownerAudit.more")})]})}function tp({scope:e,selectedId:t,onSelect:i}){const a=Xg(e),r=[...new Map(a.data?.pages.flatMap(s=>s.conversations).map(s=>[s.id,s])??[]).values()];return n.jsx(np,{conversations:r,selectedId:t,onSelect:i,state:or(a),retry:()=>void a.refetch(),hasMore:a.hasNextPage,loadingMore:a.isFetchingNextPage,loadMore:()=>void a.fetchNextPage()})}function ip(){return{named:(e,t)=>o("ui.teamBridge.chief.label",{agent:e,person:t}),unnamed:e=>o("ui.teamBridge.chief.unnamed",{person:e})}}const ap={admitted:{variant:"success",copy:"ui.ownerAudit.admitted"},rejected:{variant:"danger",copy:"ui.ownerAudit.rejected"},not_screened:{variant:"info",copy:"ui.ownerAudit.not_screened"},unknown:{variant:"neutral",copy:"ui.ownerAudit.unknown_status"}};function Vo({conversation:e,messages:t,people:i,renderReplies:a,density:r}){const s=new Map(t.map(l=>[l.id,l])),d=ip();return n.jsx(zi,{messages:t.map(Rg),labelFor:l=>Mg(l,i,e.members,d),profileFor:l=>Tg(l,i),tenantId:e.tenant_id,density:r,arrivalKey:`owner-audit:${e.tenant_id}:${e.id}`,arrivalsEnabled:!1,decorate:l=>{const c=s.get(l.id);if(!c)return;const u=Sg(c,e.agent.account_id),h=u==="own"?null:ap[u],p=c.attachments?.length??c.attachment_count??0;return{badge:h&&n.jsx(Wt,{variant:h.variant,children:o(h.copy)}),withheldCopy:o("ui.ownerAudit.body_unavailable"),attachments:p>0?n.jsx("ul",{className:"mt-1 space-y-0.5 text-[12px] text-ink-muted",children:c.attachments?.length?c.attachments.map(g=>n.jsx("li",{children:g.state==="expired"?o("ui.ownerAudit.attachment_expired"):o("ui.ownerAudit.attachment_unavailable")},g.id)):n.jsx("li",{children:o("ui.ownerAudit.attachment_unavailable")})}):void 0,after:a&&(c.reply_count??0)>0?a(c):void 0}}})}function rp({conversation:e}){me();const t=e.agent.state;return t==="active"?n.jsx("p",{className:"mx-5 mt-4 text-meta text-ink-dim",children:o("ui.ownerAudit.active")}):n.jsx("p",{className:"mx-5 mt-4 border-hairline border-t pt-3 text-ink text-sm",children:t==="left"?o("ui.ownerAudit.left"):t==="removed"?o("ui.ownerAudit.removed"):o("ui.ownerAudit.window_unconfirmed")})}const As=Intl.ListFormat;function sp({names:e,locale:t}){const i=As?new As(t,{style:"short",type:"unit"}).formatToParts(e.map(s=>s.name)):e.map(s=>({type:"element",value:s.name})),a=[];let r="";for(const s of i)s.type==="literal"?r+=s.value:(a.push(r),r="");return n.jsx("ul",{className:"inline",children:e.map((s,d)=>n.jsxs("li",{className:"inline",children:[d>0&&n.jsx("span",{"aria-hidden":"true",children:a[d]}),n.jsx("span",{className:"text-ink",children:s.name})]},s.key))})}function op({conversation:e,messages:t,state:i,retry:a,hasMore:r=!1,loadingMore:s=!1,loadMore:d,renderReplies:l,readerAccountId:c,people:u=Qo,latestPageAvailable:h=!0,scrollHostRef:p}){const g=me(),y=Ui({resetKey:`${e.tenant_id}:${e.id}:${i}`,contentKey:`${t.length}:${t[0]?.id??""}:${t.at(-1)?.id??""}`,scrollElement:"root",preserveAnchor:!0,rowIds:t.map(k=>k.id),liveEdgeAvailable:h}),w=m.useMemo(()=>Wa(y.rootRef,p),[y.rootRef,p]),x=(e.viewers??[]).filter(k=>k.account_id!==c);return n.jsxs("section",{className:"relative flex min-h-0 flex-1 flex-col","aria-label":o("ui.ownerAudit.title"),children:[n.jsxs("header",{className:"shrink-0 px-5 pb-2",children:[n.jsxs("div",{className:"flex h-11 items-center gap-2",children:[n.jsx("span",{className:"text-ink-dim",children:n.jsx(nr,{kind:e.kind})}),n.jsx("h2",{className:"min-w-0 flex-1 truncate font-semibold text-[15px] text-ink",children:Jo(e)}),!Jt(i)&&n.jsxs(V,{variant:"ghost",size:"sm",onClick:a,children:[n.jsx(Ml,{"aria-hidden":"true"}),o("ui.ownerAudit.refresh")]})]}),n.jsxs(xi,{variant:"neutral",icon:n.jsx(Jd,{"aria-hidden":"true"}),className:Z(Tl,"items-start border-transparent"),children:[n.jsxs("p",{className:"text-body-sm text-ink-muted",children:[n.jsx("span",{children:o("ui.ownerAudit.read_only")}),n.jsx("span",{className:"ms-1",children:o("ui.ownerAudit.disclosure")})]}),x.length>0&&n.jsxs("div",{className:"text-body-sm text-ink-muted",children:[n.jsx("span",{className:"me-1",children:o("ui.ownerAudit.viewers_label")}),n.jsx(sp,{locale:g,names:x.map((k,f)=>({key:`${k.account_id}:${k.agent_member_key}:${f}`,name:k.display_label||o("ui.ownerAudit.unknown_sender")}))})]})]})]}),i==="ready"&&r&&n.jsxs("aside",{className:"flex shrink-0 flex-wrap items-center gap-x-2 border-b border-hairline px-5 py-2",children:[n.jsx("p",{className:"text-meta text-ink-dim",children:o("ui.ownerAudit.page_cutoff")}),n.jsx(V,{variant:"ghost",size:"sm",onClick:d,disabled:s,children:o("ui.ownerAudit.older")})]}),n.jsx("div",{ref:w,className:"min-h-0 flex-1 overflow-auto pb-5",style:{overflowAnchor:"none"},children:n.jsx("div",{className:"min-h-full",children:i==="loading"?n.jsx("output",{className:"block px-5 py-8 text-[13px] text-ink-muted",children:o("ui.ownerAudit.loading")}):Jt(i)?n.jsx("div",{className:"py-4",children:n.jsx(Di,{state:i,retry:a,inset:"px-5"})}):n.jsxs(n.Fragment,{children:[t.length===0?n.jsx("p",{className:"px-5 py-8 text-[13px] text-ink-muted",children:o("ui.ownerAudit.empty_history")}):n.jsx(Wo.Provider,{value:y.hold,children:n.jsx(Vo,{conversation:e,messages:t,people:u,renderReplies:l})}),n.jsx(rp,{conversation:e})]})})}),i==="ready"&&(h?y.newMessages>0?n.jsx(V,{className:"absolute bottom-4 right-4",onClick:y.pin,children:o("ui.teamBridge.notify.count",{count:y.newMessages})}):null:n.jsx(V,{className:"absolute bottom-4 right-4",onClick:a,children:o("ui.ownerAudit.refresh")}))]})}const Qo=[];function lp({scope:e,conversation:t,root:i,people:a}){const r=m.useRef(null),s=m.useRef(()=>!0),d=ep(e,t.id,i.id,p=>Ho(p,r.current),()=>s.current()),l=or(d),c=l==="loading"?"loading":Jt(l)&&(!d.data||!d.keepWindowOnError)?"error":"ready",u=Ui({resetKey:`${e.accountId}:${e.tenantId}:${t.id}:${i.id}:${d.mode}:${c}`,contentKey:`${d.replies.length}:${d.replies.at(-1)?.id??""}`,scrollElement:"root",preserveAnchor:!0,rowIds:d.replies.map(p=>p.id),liveEdgeAvailable:d.latestPageAvailable});s.current=u.isPinned;const h=m.useMemo(()=>Wa(u.rootRef,r),[u.rootRef]);return n.jsxs("div",{className:"relative min-h-0",children:[d.mode==="legacy"&&n.jsx("p",{className:"py-1 text-meta text-ink-dim",children:o("ui.teamBridge.replies.legacy_window")}),n.jsxs("div",{ref:h,className:"h-80 min-h-0 w-full min-w-0 overflow-x-hidden overflow-y-auto","data-audit-reply-window":!0,children:[d.mode==="desc"&&c==="ready"&&d.hasNextPage&&n.jsx(V,{variant:"ghost",size:"sm",disabled:d.isFetchingNextPage,onClick:()=>{u.hold(),d.fetchNextPage()},children:o("ui.ownerAudit.older_replies")}),c==="loading"?n.jsx("output",{className:"block py-1 text-meta text-ink-muted",children:o("ui.ownerAudit.loading")}):c==="error"?n.jsx(Di,{state:Jt(l)?l:"error",retry:()=>void d.resetLatest()}):d.replies.length===0?n.jsx("p",{className:"py-2 text-meta text-ink-muted",children:o("ui.ownerAudit.empty_replies")}):n.jsx(Vo,{conversation:t,messages:d.replies,people:a,density:"compact"}),d.mode==="legacy"&&d.hasNextPage&&n.jsx(V,{variant:"ghost",size:"sm",disabled:d.isFetchingNextPage,onClick:()=>void d.fetchNextPage(),children:o("ui.ownerAudit.more")})]}),d.mode==="desc"&&!d.latestPageAvailable&&n.jsx(V,{variant:"ghost",size:"sm",onClick:()=>void d.resetLatest(),children:o("ui.ownerAudit.refresh")}),d.latestPageAvailable&&u.newMessages>0&&n.jsx(V,{variant:"ghost",size:"sm",onClick:u.pin,children:o("ui.teamBridge.notify.count",{count:u.newMessages})}),d.keepWindowOnError&&n.jsx(Di,{state:Go(d.error),retry:()=>void d.fetchNextPage()})]})}function dp({scope:e,conversation:t,root:i,people:a}){const[r,s]=m.useState(!1),d=m.useContext(Wo);return n.jsxs("details",{className:"mt-1","data-audit-reply-disclosure":!0,onToggle:l=>{l.currentTarget.open&&d?.(),s(l.currentTarget.open)},children:[n.jsx("summary",{className:"inline-flex min-h-[24px] w-fit cursor-pointer items-center text-[12px] text-accent",children:o("ui.ownerAudit.replies")}),r&&n.jsx(lp,{scope:e,conversation:t,root:i,people:a})]})}function cp({scope:e,conversation:t}){const i=m.useRef(null),a=Zg(e,t.id,d=>{const l=i.current;if(!l)return!1;const c=l.getBoundingClientRect(),u=new Set(d.messages.map(h=>h.id));return![...l.querySelectorAll("[data-message-id]")].some(h=>{const p=h.getBoundingClientRect();return u.has(h.dataset.messageId??"")&&p.bottom>c.top&&p.top<c.bottom})}),s=Hs(t.tenant_id,!0,e.accountId).data?.members??Qo;return n.jsx(op,{conversation:t,messages:Ig(a.data?.pages.map(d=>d.messages)??[]),state:or(a),retry:()=>void a.refetchLatest(),latestPageAvailable:a.data?.pageParams[0]===void 0,scrollHostRef:i,hasMore:a.hasNextPage,loadingMore:a.isFetchingNextPage,loadMore:()=>void a.fetchNextPage(),renderReplies:d=>n.jsx(dp,{scope:e,conversation:t,root:d,people:s}),readerAccountId:e.accountId,people:s})}function mp(){return me(),n.jsxs(n.Fragment,{children:[n.jsx("h2",{className:"px-3 py-2 font-medium text-meta text-ink-dim tracking-wide",children:o("ui.ownerAudit.title")}),n.jsx("p",{className:"px-3 pb-2 text-meta text-ink-dim",children:o("ui.ownerAudit.read_only")})]})}function up({accountId:e,enabled:t,scopeKey:i,organizations:a,onSelect:r}){const[s,d]=m.useState(null),l=s?.scopeKey===i&&a.some(c=>c.tenantId===s.conversation.tenant_id)?s.conversation:null;if(!(!t||!e))return{active:l!==null,clear:()=>d(null),panel:l&&n.jsx(cp,{scope:{accountId:e,tenantId:l.tenant_id},conversation:l},`${e}:${l.tenant_id}:${l.id}`),rail:c=>n.jsxs("section",{className:"mt-4","aria-label":o("ui.ownerAudit.title"),children:[n.jsx(mp,{}),a.map((u,h)=>n.jsxs("div",{children:[a.length>1&&n.jsx(Ta,{id:`team-bridge-audit-org-${u.tenantId}`,name:u.name,inset:"bare",first:h===0}),n.jsx(tp,{scope:{accountId:e,tenantId:u.tenantId},selectedId:l?.tenant_id===u.tenantId?l.id:void 0,onSelect:p=>{c(),r(),d({scopeKey:i,conversation:p})}})]},`${e}:${u.tenantId}`))]})}}const zs=200;let Ds=0;const hp=()=>(Ds+=1,Ds),Yn=Ha()(e=>({entries:[],add:t=>e(i=>{const a=[...i.entries,t],r=a.filter(d=>d.status==="sent");if(r.length<=zs)return{entries:a};const s=new Set(r.slice(0,r.length-zs).map(d=>d.localId));return{entries:a.filter(d=>!s.has(d.localId))}}),patch:(t,i)=>e(a=>({entries:a.entries.map(r=>r.localId===t?{...r,...i}:r)})),remove:t=>e(i=>({entries:i.entries.filter(a=>a.localId!==t)}))}));function gp(e,t){return t.owner?e.filter(i=>i.owner===t.owner&&(t.conversationId!==void 0&&i.conversationId!==void 0?i.conversationId===t.conversationId:i.lane===t.lane)):[]}function pp(e,t,i,a){const r=new Map,s=new Set,d=[...t].sort((w,x)=>w.order-x.order),l=new Set(e.map(w=>w.id));for(const w of d)w.serverId&&l.has(w.serverId)&&(r.set(w.serverId,w),s.add(w.localId));const c=[...e].sort((w,x)=>w.seq-x.seq);for(const w of d){if(s.has(w.localId)||w.serverId||!i)continue;const x=c.find(k=>!r.has(k.id)&&k.sender.account_id===i.account_id&&k.sender.kind===i.kind&&k.body===w.body&&k.seq>w.baselineSeq);x&&(r.set(x.id,w),s.add(w.localId))}let u=e.reduce((w,x)=>Math.max(w,x.seq),-1);const h=new Set(e.map(w=>w.id));for(const w of d)w.serverRow&&!h.has(w.serverRow.id)&&(u=Math.max(u,w.serverRow.seq));const p=e.reduce((w,x)=>Math.max(w,x.seq),-1),g=new Map,y=[];for(const w of d)s.has(w.localId)||!i||w.serverRow&&w.serverRow.seq<=p||(w.serverRow||(u+=1),g.set(w.localId,w),y.push({...w.serverRow??{conversation_id:a??w.conversationId??"",sender:i,body:w.body,origin:"human",created_at:w.createdAt},id:w.localId,seq:w.serverRow?.seq??u}));return{messages:y.length===0?[...e]:[...e,...y],keyOf:w=>r.get(w.id)?.localId??w.id,localOf:w=>g.get(w.id),localCount:y.length}}const Ps=e=>`conversation:${e}`,wn=new Map;function kp(e,t){const i=wn.get(e)??{tail:Promise.resolve()};wn.set(e,i);const a=i.tail.catch(()=>{}).then(()=>t(i));return i.tail=a,a.catch(()=>{}).then(()=>{wn.get(e)===i&&i.tail===a&&wn.delete(e)}),a}function fp(e,t,i){const a=wn.get(e)??{tail:Promise.resolve()};a.resolved=i,wn.set(e,a),wn.has(t)||wn.set(t,a)}za(()=>{wn.clear(),Yn.setState({entries:[]})});function wp(e){const t=Al.safeParse(e);return t.success?t.data:void 0}async function bp(e){const t=async(r,s)=>{e.onCreated(r);const d=s.tenantId??e.tenantId,l=e.stageHeld?await e.stageHeld(r,d):[...e.attachmentIds??[]],c=await e.schedule({tenant_id:d,conversation_id:r,client_ref:e.clientRef,body:e.body,send_at:e.sendAt,...l.length>0?{attachment_ids:l}:{},...e.threadRootId?{thread_root_id:e.threadRootId}:{}});return e.onScheduled?.(r),c};if(e.conversationId)return t(e.conversationId,{tenantId:e.tenantId});const i=no(e.recipients);if(!i)throw new Error("schedule requires recipients");const a=`${e.tenantId}|${i.kind}|${e.recipients.map(Ve).sort().join(",")}`;return to({draftKey:a,input:i,body:e.body,clientRef:e.clientRef,tenantId:e.tenantId,remembered:e.remembered,create:e.create,post:t})}function yp(e,t){return!e&&!!(t&&t>=400&&t<500&&t!==409)}function at(e){const t=new Date(e);return new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().slice(0,16)}async function xp(e,t){const i=await Promise.allSettled(e.map(t)),a=[],r=[];return i.forEach((s,d)=>{s.status==="fulfilled"?a.push(...s.value.scheduled):r.push(e[d])}),{scheduled:a.sort((s,d)=>s.send_at.localeCompare(d.send_at)),failedTenants:r}}function vp(e,t,i,a){const r=(e.attachments??[]).map(l=>l.id),s=a!==void 0&&!Bi(a,r),d=i!==void 0&&i.trim()===""&&i!==e.body&&(a?.length??0)>0;return{...i!==void 0&&i!==e.body?{body:i}:{},...t!==e.send_at?{send_at:t}:{},...s||d?{attachment_ids:[...a??[]]}:{}}}function Bi(e,t){return e.length===t.length&&e.every((i,a)=>i===t[a])}function jp(e,t,i){const a=i.body.trim()!==e.body,r=i.when!==at(e.sendAt),s=new Set(i.kept.map(l=>l.id)),d=new Set(e.attachments.map(l=>l.id).filter(l=>!s.has(l)));return{body:a&&t.body===e.body?i.body:t.body,when:r&&t.sendAt===e.sendAt?i.when:at(t.sendAt),kept:t.attachments.filter(l=>!d.has(l.id))}}function _p(e,t,i){const a=i.body.trim()!==e.body,r=t.body!==e.body,s=i.when!==at(e.sendAt),d=t.sendAt!==e.sendAt,l=new Set(wa(e.attachments)),c=new Set(wa(t.attachments)),u=new Set(wa(i.kept));return{bodyReplaced:a&&r&&i.body.trim()!==t.body,bodyChanged:!a&&r,...a&&r&&i.body.trim()!==t.body?{lostBody:i.body}:{},timeReplaced:s&&d&&i.when!==at(t.sendAt),timeChanged:!s&&d,imagesAdded:[...c].filter(h=>!l.has(h)).length,imagesRemoved:[...l].filter(h=>!c.has(h)&&u.has(h)).length}}function Bp(e){return e.bodyReplaced||e.bodyChanged||e.timeReplaced||e.timeChanged||e.imagesAdded>0||e.imagesRemoved>0}const wa=e=>e.map(t=>t.id);function Np(e){return e instanceof fn&&e.status===409&&e.code==="invalid_transition"&&typeof e.detail=="object"&&e.detail!==null&&e.detail.details?.rule==="concurrent_edit"?"conflict":"other"}async function Sp(e,t,i,a,r){if(typeof r!="number")return e(t,i,a);try{return await e(t,i,{...a,expected_version:r})}catch(s){if(s instanceof fn&&s.status===422&&s.code==="invalid_request")return e(t,i,a);throw s}}function Cp(e,t,i){return e.type==="compose"&&t===e?{type:"conversation",id:i}:null}function Ip(e,t){return e?{bodyReplaced:e.bodyReplaced||t.bodyReplaced,bodyChanged:(e.bodyChanged||t.bodyChanged)&&!t.bodyReplaced,lostBody:t.lostBody??e.lostBody,timeReplaced:e.timeReplaced||t.timeReplaced,timeChanged:(e.timeChanged||t.timeChanged)&&!t.timeReplaced,imagesAdded:e.imagesAdded+t.imagesAdded,imagesRemoved:e.imagesRemoved+t.imagesRemoved}:t}const qs="rounded-md border border-control bg-surface p-2 text-ink disabled:border-hairline disabled:bg-sunken disabled:text-ink-muted",yt=e=>(e??[]).map(t=>t.id);function Yo({open:e,onOpenChange:t,busy:i,onSchedule:a,initialBody:r,initialSendAt:s,initialAttachments:d,accountId:l,returnFocus:c,unavailable:u=!1,initialVersion:h}){const p=me(),g=m.useId(),[y,w]=m.useState(s?at(s):""),[x,k]=m.useState(r??""),[f,_]=m.useState(d??[]),[B,L]=m.useState(null),[N,E]=m.useState(null),I=m.useRef(null),K=m.useRef(null),R=m.useRef(null),F=m.useRef(!1);m.useEffect(()=>{const $=F.current;if(F.current=e,e){c?.current&&(R.current=c.current);return}if(!$)return;const Q=c?.current??R.current;R.current=null,Q?.isConnected&&Q.focus()},[e,c]);const O=!!(s&&y===at(s)),z=O?s:cs(y),X=!Bi(yt(f),yt(d)),v=r===void 0||x.trim()!==r||!O||X,T=m.useRef(!1);m.useEffect(()=>{const $=e&&!T.current;T.current=e;const Q=s===void 0?null:{body:r??"",sendAt:s,attachments:d??[],...typeof h=="number"?{version:h}:{}};if($){I.current=Q,k(r??""),_(d??[]),w(s?at(s):""),E(null),L(null);return}const Y=I.current;if(!e||u||!Y||!Q)return;if(Y.body===Q.body&&Y.sendAt===Q.sendAt&&Bi(yt(Y.attachments),yt(Q.attachments))){I.current=Q;return}I.current=Q;const j={body:x,when:y,kept:f},ie=jp(Y,Q,j),ge=_p(Y,Q,j);k(ie.body),w(ie.when),_(ie.kept),E(null),Bp(ge)&&(ie.body.trim()!==j.body.trim()||ie.when!==j.when||!Bi(yt(ie.kept),yt(f)))&&L(je=>({kind:"conflict",report:Ip(je?.kind==="conflict"?je.report:null,ge)}))},[e,u,r,s,d,h,x,y,f]);const M=B?.kind==="conflict"?B.report:void 0,H=M?.lostBody!==void 0&&x.trim()!==M.lostBody.trim()?M.lostBody:void 0,S=B?.kind==="conflict"&&!v,U=Intl.DateTimeFormat().resolvedOptions().timeZone;return n.jsx(Vt,{open:e,onOpenChange:$=>{i||(E(null),L(null),t($))},children:n.jsxs(Qt,{className:"top-[12vh] h-[min(84vh,40rem)] translate-y-0",showClose:!u,onCloseAutoFocus:$=>{const Q=c?.current??R.current;R.current=null,!(!Q||!Q.isConnected)&&($.preventDefault(),Q.focus())},children:[n.jsxs(uo,{children:[n.jsx(Yt,{children:o(u?"ui.teamBridge.schedule.edit_gone_title":"ui.teamBridge.schedule.title")}),n.jsx(Xt,{children:o("ui.teamBridge.schedule.timezone",{timezone:U})})]}),n.jsxs("div",{"data-schedule-body":"",className:"-mx-1 flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto px-1",children:[u?n.jsx(xi,{variant:"warning",role:"alert",children:n.jsx("p",{children:o("ui.teamBridge.schedule.edit_gone")})}):B?.kind==="conflict"?n.jsxs(xi,{variant:"warning",role:"alert",children:[n.jsx(Mc,{children:o("ui.teamBridge.schedule.edit_conflict")}),H!==void 0&&n.jsx("p",{children:o("ui.teamBridge.schedule.conflict_body_replaced")}),M?.bodyChanged&&n.jsx("p",{children:o("ui.teamBridge.schedule.conflict_body_changed")}),M?.timeReplaced&&n.jsx("p",{children:o("ui.teamBridge.schedule.conflict_time_replaced")}),M?.timeChanged&&n.jsx("p",{children:o("ui.teamBridge.schedule.conflict_time_changed")}),(M?.imagesAdded??0)>0&&n.jsx("p",{children:o("ui.teamBridge.schedule.conflict_images_added",{count:M?.imagesAdded??0})}),(M?.imagesRemoved??0)>0&&n.jsx("p",{children:o("ui.teamBridge.schedule.conflict_images_removed",{count:M?.imagesRemoved??0})}),n.jsx("p",{children:o(S?"ui.teamBridge.schedule.conflict_nothing_left":"ui.teamBridge.schedule.conflict_review")}),H!==void 0&&n.jsx("div",{children:n.jsx(V,{variant:"outline",size:"sm",disabled:i,onClick:()=>{k(H),E(null),K.current?.focus()},children:o("ui.teamBridge.schedule.conflict_restore_body")})})]}):B?.kind==="failed"&&n.jsx(xi,{variant:"danger",role:"alert",children:n.jsx("p",{children:o(s===void 0?"ui.teamBridge.schedule.failed":"ui.teamBridge.schedule.edit_failed")})}),r!==void 0&&n.jsxs("label",{className:"flex flex-col gap-1 text-sm text-ink",children:[o("ui.teamBridge.schedule.edit_body"),n.jsx("textarea",{ref:K,value:x,onChange:$=>{k($.target.value),E(null)},disabled:i||u,className:`${qs} ${u?"resize-none":""}`})]}),f.length>0&&n.jsxs("div",{className:"flex flex-col gap-1",children:[n.jsx(Po,{attachments:f,accountId:l}),!u&&n.jsx(V,{variant:"ghost",size:"sm",disabled:i,onClick:()=>{_([]),E(null)},children:o("ui.teamBridge.attachments.remove_all")})]}),n.jsx("label",{htmlFor:g,className:"text-sm text-ink",children:o("ui.teamBridge.schedule.when")}),n.jsx("input",{id:g,type:"datetime-local",value:y,disabled:i||u,onChange:$=>{w($.target.value),E(null)},"aria-describedby":u?void 0:`${g}-help`,className:qs}),!u&&n.jsx("p",{id:`${g}-help`,className:"text-sm text-ink-muted",children:o("ui.teamBridge.schedule.window")}),!u&&y&&!z&&n.jsx("p",{role:"alert",className:"text-sm text-danger",children:o("ui.teamBridge.schedule.invalid")}),!u&&N&&n.jsx("p",{"aria-live":"polite",className:"text-sm text-ink",children:o("ui.teamBridge.schedule.confirm",{date:new Intl.DateTimeFormat(p,{dateStyle:"full",timeStyle:"long"}).format(new Date(N))})})]}),u||S?n.jsx(V,{onClick:()=>t(!1),children:o("ui.common.actions.close")}):n.jsx(V,{disabled:!z||!v||i||r!==void 0&&!x.trim()&&f.length===0,onClick:()=>{const $=O?s:cs(y);if(!$){E(null);return}if(N!==$){E($);return}L(null),a($,r===void 0?void 0:x.trim(),d===void 0?void 0:f.map(Q=>Q.id),I.current?.version).then(()=>{t(!1),E(null)}).catch(Q=>{const Y=Np(Q);L(j=>j?.kind==="conflict"?j:Y==="conflict"?{kind:"conflict",report:null}:{kind:"failed"})})},children:o(N?"ui.teamBridge.schedule.confirm_action":"ui.teamBridge.schedule.review")})]})})}function Rp({accountId:e,tenantIds:t,organizationNames:i,conversationNames:a,readOnly:r=!1}){const s=Ga({queryKey:["team-bridge","scheduled",e,...[...t].sort()],queryFn:()=>xp(t,en.scheduledList),staleTime:0,gcTime:0});return n.jsx(Ep,{state:s.isPending?"loading":s.isError||t.length>0&&s.data?.failedTenants.length===t.length?"error":"ready",messages:s.data?.scheduled??[],failedTenants:s.data?.failedTenants??[],organizationNames:i,conversationNames:a,readOnly:r,refresh:()=>s.refetch(),accountId:e})}function Ep({state:e,messages:t,failedTenants:i=[],organizationNames:a={},conversationNames:r={},readOnly:s=!1,refresh:d,accountId:l}){const[c,u]=m.useState(null);m.useEffect(()=>{c&&!t.some(f=>f.id===c)&&u(null)},[t,c]);const[h,p]=m.useState(null);m.useEffect(()=>{if(!h)return;const f=t.find(_=>_.id===h.id);f&&f!==h&&p(f)},[t,h]);const g=h&&!t.some(f=>f.id===h.id)?h:null,y=g&&e==="ready"&&!i.includes(g.tenant_id)?g:null,w=g&&!y?g:null,x=g?[...t,g].sort((f,_)=>f.send_at.localeCompare(_.send_at)):t,k=(f,_=!1)=>n.jsx(Mp,{message:f,gone:f===y,detached:_,onEditingChange:B=>p(B?f:null),refresh:d,organizationNames:a,conversationNames:r,onCancelFailure:()=>u(f.id),onCancelSuccess:()=>u(null),readOnly:s,accountId:l},f.id);return n.jsxs("section",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-auto p-5","aria-label":o("ui.teamBridge.schedule.list"),children:[n.jsx("h2",{className:"text-lg font-medium text-ink",children:o("ui.teamBridge.schedule.list")}),e==="ready"&&i.map(f=>n.jsxs("div",{role:"alert",className:"text-sm text-danger",children:[n.jsxs("p",{children:[o("ui.teamBridge.schedule.load_failed")," ",n.jsx("span",{children:a[f]?.trim()||f})]}),n.jsx(V,{onClick:()=>{d()},children:o("ui.teamBridge.list.retry")})]},f)),c&&n.jsx("p",{role:"alert",className:"text-sm text-danger",children:o("ui.teamBridge.schedule.cancel_failed")}),e==="loading"?n.jsx(Oe,{size:"sm",label:o("ui.teamBridge.schedule.loading")}):e==="error"?n.jsxs("div",{role:"alert",children:[n.jsx("p",{children:o("ui.teamBridge.schedule.load_failed")}),n.jsx(V,{onClick:()=>{d()},children:o("ui.teamBridge.list.retry")})]}):x.length===0&&n.jsx("p",{className:"text-ink-muted",children:o("ui.teamBridge.schedule.empty")}),(e==="ready"?x:w?[w]:[]).map(f=>k(f,e!=="ready"))]})}function Mp({message:e,refresh:t,readOnly:i=!1,organizationNames:a={},conversationNames:r={},onCancelFailure:s,accountId:d,onCancelSuccess:l,gone:c=!1,detached:u=!1,onEditingChange:h}){const p=me(),[g,y]=m.useState(!1),[w,x]=m.useState(!1),k=E=>{x(E),h?.(E)},f=m.useRef(null),_=m.useId(),B=[r[e.conversation_id]?.trim(),a[e.tenant_id]?.trim()].filter(Boolean).join(" · "),L=n.jsx(Yo,{open:w,onOpenChange:k,returnFocus:f,busy:g,unavailable:c||e.status==="sending",initialBody:e.body,initialSendAt:e.send_at,initialAttachments:e.attachments,initialVersion:e.version,accountId:d,onSchedule:async(E,I,K,R)=>{y(!0);try{await Sp(en.scheduledUpdate,e.tenant_id,e.id,vp(e,E,I,K),R),await t()}catch(F){throw await t(),F}finally{y(!1)}}}),N=c||u?null:n.jsxs("article",{className:"rounded-lg bg-elevated p-3 text-ink",children:[n.jsx("p",{className:"text-sm text-ink-muted",children:new Intl.DateTimeFormat(p,{dateStyle:"medium",timeStyle:"long"}).format(new Date(e.send_at))}),B&&n.jsx("p",{id:_,className:"text-sm text-ink-muted",children:B}),e.body.trim()!==""&&n.jsx(Zs,{children:e.body}),(e.attachments?.length??0)>0&&n.jsx(Po,{attachments:e.attachments??[],accountId:d}),e.status==="sending"?n.jsx("p",{"aria-live":"polite",children:o("ui.teamBridge.schedule.sending")}):n.jsxs("div",{className:"flex flex-wrap gap-2",children:[n.jsx(V,{ref:f,disabled:g||i,onClick:()=>k(!0),children:o("ui.teamBridge.schedule.reschedule")}),n.jsx(V,{variant:"ghost",className:"h-auto min-h-8 max-w-full whitespace-normal text-left text-danger hover:text-danger",disabled:g||i,"aria-describedby":B?_:void 0,onClick:()=>{y(!0),en.scheduledCancel(e.tenant_id,e.id).then(()=>(l?.(),t())).catch(()=>{s?.(),t()}).finally(()=>y(!1))},children:o("ui.teamBridge.schedule.cancel")})]})]});return n.jsxs(n.Fragment,{children:[N,L]})}const Tp=["png","jpg","jpeg","gif","webp","heic","bmp","avif"],Os=e=>e.split("/").pop()||e,Ap=e=>{if(e.startsWith("data:"))return!0;const t=e.split(".").pop()?.toLowerCase()??"";return Tp.includes(t)};async function zp(e){const{paths:t,accountId:i,tenantId:a,conversationId:r,capability:s}=e,d=[],l=[];if(t.length===0)return{ids:d,failures:l};if(!s){for(const c of t)l.push({name:Os(c),reason:"unsupported"});return{ids:d,failures:l}}for(const c of t){const u=Os(c);if(!Ap(c)){l.push({name:u,reason:"unsupported"});continue}const h=await window.api?.readFile?.(c,"base64");if(!h?.success){l.push({name:u,reason:"read"});continue}let p;try{const g=atob(h.data);p=new Uint8Array(g.length);for(let w=0;w<g.length;w+=1)p[w]=g.charCodeAt(w);p=(await Eo(new Blob([p]),s.max_bytes)).bytes}catch{l.push({name:u,reason:"unsupported"});continue}try{const g=await en.uploadAttachment(a,r,p,i);d.push(g.id)}catch{l.push({name:u,reason:"upload"})}}return{ids:d,failures:l}}function Dp(e,t){const i=e.ownerDocument,a=i.activeElement instanceof(i.defaultView?.HTMLElement??HTMLElement)?i.activeElement:null;e.querySelector("[data-thread-close]")?.focus();const r=s=>{s.key!=="Escape"||s.defaultPrevented||s.isComposing||i.querySelector('[role="menu"], [role="listbox"]')||(s.preventDefault(),s.stopPropagation(),t())};return e.addEventListener("keydown",r),()=>{e.removeEventListener("keydown",r),a?.isConnected&&(e.contains(i.activeElement)||i.activeElement===i.body)&&a.focus()}}const Ls=(e,t)=>{const i=To(e,t.id);return{key:`draft:${t.id}`,status:Su(t)?"expired":"ready",attachment:t,previewUrl:i?Oi(i,i.type):void 0}};function Pp(e){const{scopeKey:t,accountId:i,tenantId:a,conversationId:r,capability:s,persisted:d,onPersist:l}=e,[c,u]=m.useState(()=>(d??[]).map(v=>Ls(i,v))),h=m.useRef(i).current,[p,g]=m.useState(null),y=m.useRef(c);y.current=c;const w=m.useRef(0),x=m.useRef(l);x.current=l;const k=v=>{for(const T of v)T.previewUrl&&Ci(T.previewUrl)};m.useEffect(()=>{w.current+=1;const v=(d??[]).map(T=>Ls(i,T));u(T=>(k(T),v)),g(null)},[t,i]),m.useEffect(()=>()=>k(y.current),[]);const f=v=>{y.current=v,u(v),x.current?.(v.flatMap(T=>T.status==="ready"&&T.attachment?[T.attachment]:[]))},_=(v,T)=>{f(y.current.map(M=>M.key===v?{...M,...T}:M))},B=async(v,T,M,H=w.current,S=a)=>{if(!S||!h)return _(v,{status:"error",reason:"failed"}),null;_(v,{status:"uploading",reason:void 0});try{const U=await en.uploadAttachment(S,M,T.bytes,h);if(w.current!==H)return null;const $=Nu(U,M);return Iu(i,$.id,new Blob([T.bytes],{type:T.mime})),_(v,{status:"ready",attachment:$}),$}catch(U){return w.current!==H||_(v,{status:"error",reason:bu(U?.status,U?.code)}),null}},L=v=>{if(v.length===0)return;if(!s){g("unsupported");return}const T=rs(s)-y.current.length,M=v.slice(0,Math.max(0,T));g(M.length<v.length?"limit":null);const H=w.current,S=M.map(()=>({key:crypto.randomUUID(),status:"preparing"}));f([...y.current,...S]),M.forEach((U,$)=>{const Q=S[$].key;Eo(U,s.max_bytes).then(Y=>{if(w.current!==H)return;const j=Oi(Y.bytes,Y.mime);_(Q,{prepared:Y,previewUrl:j}),r?B(Q,Y,r,H):_(Q,{status:"held"})},Y=>{w.current===H&&_(Q,{status:"error",reason:Y instanceof nt?Y.reason:"invalid"})})})},N=v=>{const T=y.current.find(M=>M.key===v);T&&(T.previewUrl&&Ci(T.previewUrl),f(y.current.filter(M=>M.key!==v)),g(null),T.attachment&&a&&T.status==="ready"&&h&&en.deleteAttachment(a,T.attachment.conversationId,T.attachment.id,h).catch(()=>{}))},E=v=>{const T=y.current.find(H=>H.key===v),M=r??T?.attachment?.conversationId;if(T?.prepared){if(!M){_(v,{status:"held",reason:void 0});return}B(v,T.prepared,M)}},I=async(v,T=a)=>{const M=y.current.filter(H=>(H.status==="held"||H.status==="error")&&H.prepared);if(await Promise.all(M.map(H=>H.prepared?B(H.key,H.prepared,v,w.current,T):null)),y.current.some(H=>H.status!=="ready"))throw new Error("attachments not staged");return K()},K=()=>s===null?[]:y.current.flatMap(v=>v.status==="ready"&&v.attachment?[v.attachment.id]:[]),R=v=>{const T=v?new Set(v):null;f(y.current.map(M=>M.status==="ready"&&(!T||M.attachment&&T.has(M.attachment.id))?{...M,status:"expired",attachment:void 0}:M))},F=v=>{const T=new Set(v),M=y.current.filter(H=>!(H.attachment&&T.has(H.attachment.id)));k(y.current.filter(H=>!M.includes(H))),f(M),g(null)},O=c.some(v=>v.status==="preparing"||v.status==="uploading"),z=c.some(v=>v.status==="error"||v.status==="expired")||s===null&&c.length>0,X=c.some(v=>v.status==="held");return{chips:c,notice:p,dismissNotice:()=>g(null),add:L,remove:N,retry:E,uploadHeld:I,readyIds:K,markExpired:R,clearSent:F,busy:O,blocked:z,held:X,count:c.length,max:rs(s),enabled:s!==null,unsupported:s===null&&c.length>0}}function qp({loadingMore:e,sawInFlight:t,grew:i}){return e?!1:t||i}function Op(e){return n.jsx(Lp,{...e})}function Lp({root:e,replies:t,state:i,labelFor:a,profileFor:r,canMessagePerson:s,onMessagePerson:d,onClose:l,onRetry:c,onSend:u,readOnly:h=!1,hasMore:p=!1,loadingMore:g=!1,onMore:y,onRead:w,reactionContext:x,forceToolbar:k,tenantId:f,conversationId:_,accountId:B,attachmentCapability:L=null,windowMode:N,olderError:E=!1,latestPageAvailable:I=!0,onLatest:K,scrollHostRef:R,pinnedGetterRef:F}){me();const[O,z]=m.useState(!1),X=m.useRef(!1),v=m.useRef(t.length);g&&(X.current=!0),m.useLayoutEffect(()=>{O&&qp({loadingMore:g,sawInFlight:X.current,grew:t.length!==v.current})&&(X.current=!1,z(!1))},[O,g,t.length]),m.useEffect(()=>{if(!O)return;const de=setTimeout(()=>z(!1),1e4);return()=>clearTimeout(de)},[O]);const T=m.useRef(null),M=m.useRef(l);M.current=l,m.useEffect(()=>{if(T.current)return Dp(T.current,()=>M.current())},[]),m.useEffect(()=>{if(!(!T.current||i!=="ready"||!w))return ql(T.current,t,w)},[t,i,w]);const[H,S]=m.useState(""),U=m.useRef(null),$=_o({draftKey:`thread|${_??""}|${e?.id??""}`,text:H,setText:S,fieldRef:U}),[Q,Y]=m.useState(!1),[j,ie]=m.useState(!1),[ge,je]=m.useState(!1),se=Pp({scopeKey:`${f??""}|${_??""}|${e?.id??""}`,accountId:B,tenantId:f,conversationId:_??null,capability:_&&f?L:null}),P=m.useRef(null),ne=m.useRef(!1),le=Ui({resetKey:`${f??""}:${_??""}:${e?.id??""}:${i}`,contentKey:`${t.length}:${t.at(-1)?.id??""}`,preserveAnchor:N!==void 0,rowIds:t.map(de=>de.id),rowSelector:N?"[data-thread-replies] [data-message-id]":"[data-message-id]",liveEdgeAvailable:N?I:!0});m.useLayoutEffect(()=>{if(F)return F.current=le.isPinned,()=>{F.current===le.isPinned&&(F.current=null)}},[F,le.isPinned]);const pe=m.useMemo(()=>Wa(le.rootRef,R),[le.rootRef,R]),he=!!H.trim()||se.count>0,xe=!h,be=async()=>{const de=H.trim();if(se.blocked){je(!0);return}if(!he||se.busy||ne.current||h||i!=="ready")return;const ke=se.readyIds(),_e=ke.join(","),Ie=P.current?.body===de&&P.current.images===_e?P.current:{body:de,images:_e,clientRef:crypto.randomUUID()};P.current=Ie,ne.current=!0,Y(!0),ie(!1),je(!1),le.pin(),$.stage(de);try{await u(de,Ie.clientRef,ke),P.current=null,se.clearSent(ke),S(rn=>rn.trim()===de?"":rn)}catch(rn){ie(!0),ke.length>0&&vi(rn)&&se.markExpired()}finally{ne.current=!1,Y(!1)}};return n.jsxs("aside",{ref:T,"aria-label":o("ui.teamBridge.replies.title"),className:"panel-top-pad flex h-full min-h-0 w-full min-w-0 shrink-0 flex-col bg-canvas",children:[n.jsxs("header",{className:"flex h-11 shrink-0 items-center justify-between px-5",children:[n.jsx("h2",{className:"font-semibold text-[15px] text-ink",children:o("ui.teamBridge.replies.title")}),n.jsx(V,{"data-thread-close":!0,size:"icon-sm",variant:"ghost",onClick:l,"aria-label":o("ui.teamBridge.replies.close"),children:n.jsx(Ct,{size:16})})]}),N==="legacy"&&n.jsx("p",{className:"px-5 py-2 text-meta text-ink-dim",children:o("ui.teamBridge.replies.legacy_window")}),N==="desc"&&!I&&n.jsx(V,{variant:"ghost",size:"sm",onClick:K,children:o("ui.ownerAudit.refresh")}),N==="desc"&&I&&le.newMessages>0&&n.jsx(V,{variant:"ghost",size:"sm",onClick:le.pin,children:o("ui.teamBridge.notify.count",{count:le.newMessages})}),n.jsxs(va,{ref:pe,className:"min-h-0 flex-1 [&_[data-radix-scroll-area-viewport]>div]:block!",children:[e&&n.jsx(zi,{messages:[e],arrivalKey:`${Ti(f,e.conversation_id)}/root`,arrivalsEnabled:!1,labelFor:a,profileFor:r,canMessagePerson:s,onMessagePerson:d,tenantId:f,accountId:B,density:"compact",reactionContext:x,forceToolbar:k}),(i==="ready"||e?.reply_count!==void 0)&&(e?.reply_count??t.length)>0&&n.jsx("div",{className:"px-5 py-3 text-[12px] text-ink-dim",children:o("ui.teamBridge.replies.count",{count:e?.reply_count??t.length})}),E&&n.jsxs("div",{role:"alert",className:"px-5 py-2 text-meta text-ink-muted",children:[n.jsx("p",{children:o("ui.teamBridge.thread.error")}),n.jsx(V,{variant:"ghost",size:"sm",onClick:()=>{le.hold(),y?.()},children:o("ui.teamBridge.list.retry")})]}),N==="desc"&&i==="ready"&&p&&n.jsx(V,{variant:"ghost",size:"sm",disabled:g,onClick:()=>{le.hold(),y?.()},className:"mx-5 my-2",children:o("ui.teamBridge.replies.more")}),n.jsx("div",{"data-thread-replies":!0,children:i==="loading"?n.jsx("div",{className:"flex justify-center py-8",children:n.jsx(Oe,{size:"sm",label:o("ui.teamBridge.thread.loading")})}):i==="error"?n.jsxs("div",{role:"alert",className:"px-5 py-6 text-[13px] text-ink-muted",children:[n.jsx("p",{children:o("ui.teamBridge.thread.error")}),n.jsx(V,{variant:"ghost",size:"sm",onClick:c,children:o("ui.teamBridge.list.retry")})]}):t.length===0?xe?n.jsx("p",{className:"px-5 py-6 text-[13px] text-ink-muted",children:o("ui.teamBridge.replies.empty")}):null:n.jsx(zi,{messages:t,arrivalKey:Ti(f,_,e?.id),arrivalsEnabled:!O,accountId:B,labelFor:a,profileFor:r,canMessagePerson:s,onMessagePerson:d,tenantId:f,density:"compact",reactionContext:x,forceToolbar:k})}),N!=="desc"&&p&&n.jsx(V,{variant:"ghost",size:"sm",disabled:g,onClick:()=>{z(!0),v.current=t.length,le.hold(),y?.()},className:"mx-5 my-2",children:o("ui.teamBridge.replies.more")})]}),h?n.jsx("p",{className:"px-5 pb-4 text-[12px] text-ink-dim",children:o("ui.teamBridge.read_only.composer")}):n.jsxs("div",{className:"shrink-0 px-4 pb-4",children:[j&&n.jsx("p",{role:"alert",className:"pb-1 text-[12px] text-danger",children:o("ui.teamBridge.composer.error")}),n.jsx(jo,{mentions:$}),ge&&se.blocked&&!se.unsupported&&n.jsx("p",{role:"alert",className:"pb-1 text-[12px] text-danger",children:o("ui.teamBridge.attachments.send_blocked")}),n.jsxs("div",{className:"rounded-xl bg-elevated has-[textarea:focus-visible]:outline-2 has-[textarea:focus-visible]:outline-accent has-[textarea:focus-visible]:outline-offset-2 has-[textarea:focus-visible]:outline-solid",...i==="ready"?Rh(se):{},children:[n.jsx(jh,{state:se}),n.jsx(Bo,{mentions:$,fieldRef:U,text:H,children:n.jsx("textarea",{ref:U,rows:2,"aria-label":o("ui.teamBridge.replies.placeholder"),placeholder:o("ui.teamBridge.replies.placeholder"),value:H,disabled:i!=="ready",onChange:de=>S(de.target.value),...$.bindField({onKeyDown:de=>{de.key==="Enter"&&!de.shiftKey&&!de.nativeEvent.isComposing&&(de.preventDefault(),be())}}),className:"relative block max-h-40 min-h-10 w-full resize-none bg-transparent px-3.5 pt-3 pb-1 text-[14px] text-ink outline-none placeholder:text-ink-dim"})}),n.jsxs("div",{className:"flex items-center gap-2 px-2 pb-2",children:[n.jsx("span",{className:"min-w-0 flex-1 ps-1.5 text-meta-sm text-ink-dim",children:o("ui.teamBridge.composer.hint")}),n.jsx(_h,{state:se,disabled:Q||i!=="ready"}),n.jsx(V,{size:"icon-sm",variant:"primary",className:"rounded-lg",disabled:!he||se.busy||Q||i!=="ready","aria-label":o("ui.teamBridge.composer.send"),onClick:()=>void be(),children:Q?n.jsx(Oe,{size:"sm"}):n.jsx(Ks,{size:16})})]})]})]})]})}function Fp(e){return n.jsx($p,{...e})}function $p({target:e,initialRoot:t,readOnly:i,labelFor:a,profileFor:r,canMessagePerson:s,onMessagePerson:d,onClose:l,reactionContext:c,accountId:u,attachmentCapability:h}){const p=rt(),{tenantId:g,conversationId:y,rootId:w}=e,x=Gs(y,g),k=m.useRef(-1),f=m.useCallback(async R=>{if(!(R<=k.current)){k.current=R;try{await x.mutateAsync({seq:R})}catch(F){throw k.current===R&&(k.current=-1),F}}},[x.mutateAsync]),_=m.useRef(null),B=m.useRef(null),L=[...zn.all,"replies",u,g,y,w],N=Uo({queryKey:L,identity:{conversationId:y,rootId:w},read:(R,F,O=50)=>Pl(e,u,R==="desc"?void 0:F??0,R==="desc"?{beforeSeq:F,order:"desc",limit:O}:void 0),canEvict:R=>Ho(R,_.current?.querySelector("[data-radix-scroll-area-viewport]")??null),isAtLiveEdge:()=>B.current?.()??!0,poll:!0}),E=N.replies,I=Vd({mutationFn:({body:R,clientRef:F,attachmentIds:O})=>en.send(y,{body:R,clientRef:F,tenantId:g,expectedAccountId:u,threadRootId:w,attachmentIds:O,mentions:Dl(y,R)}),onSuccess:async(R,{body:F})=>{zl(y,F),await Promise.all([p.invalidateQueries({queryKey:L}),p.invalidateQueries({queryKey:zn.messages(y,g)}),p.invalidateQueries({queryKey:zn.conversationsPrefix})])}}),K=N.isError&&!N.keepWindowOnError?null:N.data?.pages[0]?.root??t??null;return n.jsx(Op,{root:K,replies:E,state:N.isPending?"loading":N.isError&&(!N.data||!N.keepWindowOnError)?"error":"ready",labelFor:a,profileFor:r,canMessagePerson:s,onMessagePerson:d,onClose:l,onRead:f,onRetry:()=>void N.refetch(),onSend:(R,F,O)=>I.mutateAsync({body:R,clientRef:F,attachmentIds:O}),tenantId:g,conversationId:y,accountId:u,attachmentCapability:h,readOnly:i,hasMore:N.hasNextPage,loadingMore:N.isFetchingNextPage,onMore:()=>void N.fetchNextPage(),olderError:N.keepWindowOnError,windowMode:N.mode,latestPageAvailable:N.latestPageAvailable,onLatest:()=>void N.resetLatest(),scrollHostRef:_,pinnedGetterRef:B,reactionContext:c})}function Kp(e,t,i,a="",r=!1,s=t==="all"){const d=ya(),l=e&&!r?Cr(e,t):null,c=r?null:e??null,u=m.useRef({account:c,epoch:0});u.current.account!==c&&(u.current={account:c,epoch:u.current.epoch+1});const h=u.current.epoch,p=e?Sr(e):0,g=()=>!r&&u.current.epoch===h&&(!e||Sr(e)===p),[y,w]=m.useState(()=>{const S=l&&d?Ia(d,l):{};return a&&i&&!S[ln(i)]&&(S[ln(i)]={target:i,body:a,clientRef:crypto.randomUUID()}),{key:l,drafts:S}}),[x,k]=m.useState(!1),f=m.useRef(new Map([[y.key,y.drafts]])),_=m.useRef(e);m.useEffect(()=>{const S=_.current;S&&(r||e&&S!==e)&&(Ol(d,S),f.current.clear(),w({key:null,drafts:{}})),(r||e)&&(_.current=r?void 0:e)},[e,r,d]);const B=()=>(f.current.has(l)||f.current.set(l,l&&d?Ia(d,l):{}),f.current.get(l)??{}),L=B(),N=i?ln(i):null,E=N?L[N]:void 0,I=E?.body??"",K=(S,U)=>{if(!g())return!1;const $={...B()};if(U?$[S]=U:delete $[S],f.current.set(l,$),w({key:l,drafts:$}),l){if(!d)return k(!0),!1;try{return d.setItem(l,JSON.stringify($)),k(!1),!0}catch{return k(!0),!1}}return!0},R=S=>{if(!g()||!i||!N)return!1;const U=B()[N];return K(N,{...U??{target:i,body:I,clientRef:crypto.randomUUID()},target:i,...S})};m.useEffect(()=>{if(i?.type!=="compose")return;const S=B().compose?.target,U=Q=>Q.recipients.map(Y=>`${Y.kind}:${Y.accountId}`).sort().join("|"),$=S?.type==="compose"&&U(S)!==U(i);R({target:i,...$?{conversationId:void 0,sendAt:void 0,createUncertain:!1,clientRef:crypto.randomUUID()}:{}})},[i,l]);const F=S=>R({body:S,...S.trim()!==I.trim()&&!E?.sendAt?{clientRef:crypto.randomUUID()}:{}}),O=(S,U={})=>{const $=N?B()[N]:void 0;if(!$&&S.length===0)return!0;const Q=($?.attachments??[]).map(j=>j.id).join(","),Y=S.map(j=>j.id).join(",");return R({attachments:S.length>0?S:void 0,...Q!==Y&&!$?.sendAt&&!U.keepClientRef?{clientRef:crypto.randomUUID()}:{}})},z=(S,U,$,Q=[])=>{if(!g())return;const Y=B()[S];if(Y?.clientRef!==$)return;const j=new Set(Q),ie=(Y.attachments??[]).filter(ge=>!j.has(ge.id));Y.body.trim()===U&&ie.length===0?K(S,null):K(S,{...Y,body:Y.body.trim()===U?"":Y.body,attachments:ie.length>0?ie:void 0,sendAt:void 0,clientRef:crypto.randomUUID()})},[X,v]=m.useState(0);m.useEffect(()=>{const S=U=>{(U.key===null||U.key.startsWith(Us))&&v($=>$+1)};return window.addEventListener("storage",S),()=>window.removeEventListener("storage",S)},[]);const T=m.useMemo(()=>e&&!r&&s&&d?Wu(d,e):new Map,[e,r,s,X,d]),M=new Map(T);for(const[S,U]of f.current)S&&e&&S.startsWith(Cr(e,""))&&(s||S===l)&&M.set(S,U);const H=l?[...M].flatMap(([S,U])=>Object.entries(U).map(([$,Q])=>({key:`${S}:${$}`,tenantId:Ju(S),entry:Q}))):Object.entries(L).map(([S,U])=>({key:S,tenantId:t,entry:U}));return{drafts:L,entries:H,current:E,body:I,setBody:F,setAttachments:O,update:R,clearSent:z,storageFailed:x}}const Je=new Map;za(()=>Je.clear());const Up={read:"ui.teamBridge.attachments.error_invalid",unsupported:"ui.teamBridge.attachments.error_type",upload:"ui.teamBridge.attachments.error_upload"},Fs=({error:e,onRetry:t})=>{me();const i=ac(e),a=e?.message,r=typeof a=="string"?a.trim():"",s=i==="sign_in"?o("ui.teamBridge.plan.sign_in_reason"):i==="plan"?o("ui.teamBridge.plan.reason"):i==="invalid"?r||o("ui.teamBridge.scope.error"):i==="outdated"?o("ui.teamBridge.plan.update_reason"):o("ui.teamBridge.plan.unavailable_reason"),d=i==="unreachable"||i==="server";return n.jsxs("div",{className:"flex flex-col items-start gap-2 px-2 py-1",children:[n.jsx("p",{className:"text-[12px] leading-snug text-ink-muted",children:o("ui.teamBridge.people.error")}),n.jsx("p",{className:"text-[12px] leading-snug text-ink-dim",children:s}),d&&t&&n.jsx(V,{type:"button",size:"sm",variant:"outline",onClick:t,children:o("ui.teamBridge.list.retry")})]})},Hp=()=>(me(),n.jsx("div",{"data-glass-region":"canvas",className:"flex h-full min-h-0 w-full items-center justify-center overflow-hidden bg-canvas px-6",children:n.jsx(Oe,{size:"sm",label:o("ui.teamBridge.plan.checking")})})),jt=()=>({named:(e,t)=>o("ui.teamBridge.chief.label",{agent:e,person:t}),unnamed:e=>o("ui.teamBridge.chief.unnamed",{person:e})}),Gp=({reason:e})=>{me();const t={off:{title:"ui.agentMessages.page_off.title",reason:"ui.agentMessages.page_off.body"},off_local:{title:"ui.agentMessages.page_off.local_title",reason:"ui.agentMessages.page_off.local_body"},plan_required:{title:"ui.teamBridge.plan.title",reason:"ui.teamBridge.plan.reason"},signed_out:{title:"ui.teamBridge.plan.sign_in_title",reason:"ui.teamBridge.plan.sign_in_reason"},update_required:{title:"ui.teamBridge.plan.update_title",reason:"ui.teamBridge.plan.update_reason"},unavailable:{title:"ui.teamBridge.plan.unavailable_title",reason:"ui.teamBridge.plan.unavailable_reason"}};return n.jsx("div",{"data-glass-region":"canvas",className:"flex h-full min-h-0 w-full items-center justify-center overflow-hidden bg-canvas px-6",children:n.jsxs("div",{className:"max-w-lg text-center",children:[n.jsx(St,{size:20,"aria-hidden":"true",className:"mx-auto mb-3 text-ink-dim"}),n.jsx("h1",{className:"text-balance text-[16px] font-medium text-ink",children:o(t[e].title)}),n.jsxs("div",{className:"mt-2",children:[e!=="off"&&e!=="off_local"&&n.jsx("p",{className:"text-pretty text-[13px] leading-relaxed text-ink-muted",children:o("ui.teamBridge.plan.body")}),n.jsx("p",{className:"mt-4 text-[12px] leading-snug text-ink-dim",children:o(t[e].reason)}),(e==="off"||e==="off_local")&&n.jsx(V,{asChild:!0,variant:"secondary",size:"sm",className:"mt-4",children:n.jsx(Qd,{to:`/settings?setting=${Yd}`,"data-team-bridge-off-action":"settings",children:o("ui.agentMessages.page_off.action")})})]})]})})};function Wp(e,t){if(!e)return"";const i=Date.parse(e);return Number.isNaN(i)?"":new Intl.DateTimeFormat(t,{dateStyle:"medium",timeStyle:"short"}).format(new Date(i))}function Jp(e,t){const i=Date.parse(e);if(Number.isNaN(i))return"";const a=Math.round((i-Date.now())/6e4);if(Math.abs(a)<60)return _t(a,"minute",{numeric:"auto"},t);const r=Math.round(a/60);return Math.abs(r)<24?_t(r,"hour",{numeric:"auto"},t):_t(Math.round(r/24),"day",{numeric:"auto"},t)}const Vp=({ownerAudit:e,renderThreadPane:t,threadLink:i,onCloseThread:a,listState:r,messageState:s,conversations:d,target:l,messages:c,events:u,highlightMessageId:h=null,organizations:p,scope:g,totalUnread:y,membershipsLoading:w=!1,organizationsFailed:x=!1,selfAccountId:k,sending:f=!1,sendFailed:_=!1,joining:B=!1,joinFailed:L=!1,notifyFailed:N=!1,agentNotifyFailed:E=!1,onJoin:I,onNotifyChange:K,onAgentNotifyChange:R,onAddMembers:F,onRemoveMember:O,memberMutationKey:z=null,initialMembersOpen:X=!1,onArchive:v,onUnarchive:T,onDelete:M,unarchiveFailed:H=!1,archivedState:S="ready",archivedConversations:U=[],archivedHasMore:$=!1,archivedLoadingMore:Q=!1,archivedLoadMoreFailed:Y=!1,onLoadMoreArchived:j,onOpenArchived:ie,onRetryArchived:ge,initialQuickView:je,initialDialog:se,threadsCapabilityState:P="unknown",reactionsCapabilityState:ne="unknown",sendMentionsCapabilityState:le="unknown",agentNotifyCapabilityState:pe="unknown",defaultMenuOpen:he=!1,initialDraft:xe="",draftJournal:be,isDraftCurrent:de=()=>!0,people:ke=[],directories:_e,directoryStates:Ie,directoryErrors:rn,selfName:fe,peopleState:Ne="ready",peopleError:C,peopleIncomplete:W=!1,refreshingRows:re=!1,refreshingUnread:ce=!1,onRetryPeople:Be,onRetryMembers:$e,eligibility:ve=null,gatePending:qn=!1,readOnly:ye=!1,notice:Hi=null,onTarget:xn,onSend:ot,onSchedule:te,attachmentCapability:lt=null,recordingProbe:nn,onNewChannel:On,onRetry:vn,onScopeChange:tn,onChooseOrganization:Ln,onRetryMemberships:Rt})=>{const Fn=me(),[Me,$n]=m.useState(je??null),[jn,dn]=m.useState(se??null),[ti,Et]=m.useState(X),[ii,cn]=m.useState(!1),[Mt,Tt]=m.useState(!1),[At,dt]=m.useState(null),_n=Ll(d,k),[ai,ct]=m.useState(!1),mn=m.useRef(!1);mn.current=Fl(mn.current,_n.length>0||Me==="invitations",ai);const[Gi,ri]=m.useState(!1),[De,zt]=m.useState(!1),[Xe,Dt]=m.useState(!1),[Bn,Kn]=m.useState(!1),Ke=m.useRef(!1),si=m.useRef(null),D=m.useId(),oe=g===Qe&&l?.type==="conversation"?d.find(b=>b.id===l.id)?.tenant_id??g:g,ee=Kp(k,oe,l,"",ve==="signed_out",g===Qe),Ue=!!ee.current?.sendAt&&!ee.current?.createUncertain&&!De,ue=sa(k,oe,l?ln(l):""),Nn=`${ue}|${l?.type==="compose"?l.recipients.map(Ve).sort().join(","):""}`,Sn=on(b=>b.inputByConversation[ue]),Ze=Sn?.currentInput??"",un=(Sn?.attachments??[]).map(b=>b.path);m.useEffect(()=>{const b=ee.current?.body||be?.body||xe;if(!b.trim())return;const A=on.getState();A.getCurrentInput(ue).trim()||(A.setComposerText(ue,b),ee.current?.body&&ee.update({body:""}),be&&(be.body=""))},[ue]),m.useEffect(()=>{Xe&&Ze.trim()&&Dt(!1)},[Ze,Xe]);const Un=m.useRef(k);m.useEffect(()=>{const b=Un.current;if(ve==="signed_out"||b&&k!==b){const A=on.getState();$l(A,A.clearComposer,b)}Un.current=ve==="signed_out"?void 0:k},[k,ve]),m.useEffect(()=>{!Ze.trim()||!l||ee.current||!de()||ee.update({})},[Ze,l]);const[hn,gn]=m.useState(null),He=!!Ze.trim()||un.length>0,Re=on(b=>b.inputByConversation),Ge=(b,A)=>Re[sa(k,b,A)]?.currentInput??"",lr=(b,A)=>Re[sa(k,b,A)]?.attachments.length??0,dr=(b,A)=>{const G=ln(b.target);return!!Ge(A,G).trim()||lr(A,G)>0||(b.attachments?.length??0)>0||b.target.type==="compose"&&b.target.recipients.length>0},Le=b=>{e?.clear(),$n(null),xn(b)},mt=Xc(P)&&k!==void 0,Xo=ng(ne),[Ee,ut]=m.useState(mt?i??null:null);m.useEffect(()=>{mt&&i&&ut(i)},[i,mt]);const Ce=g===Qe,Pt=k!==void 0,Hn=m.useMemo(()=>io(d,g,p),[d,g,p]),ht=m.useMemo(()=>Hn.filter(b=>b.status!=="archived"),[Hn]),oi=m.useMemo(()=>p.map(b=>b.tenantId),[p]),Gn=m.useMemo(()=>Xd(ht,oi),[ht,oi]),cr=m.useMemo(()=>ao(Hn,U),[Hn,U]),qt=m.useMemo(()=>Ce?[]:Fa(ke,k),[Ce,ke,k]),Wi=m.useMemo(()=>Ce?_g({organizations:p,directories:_e,directoryStates:Ie,directs:Gn.directs,selfAccountId:k}):[],[Ce,p,_e,Ie,Gn,k]),li=jg(Ce,p.length),Ji=jt(),Zo=m.useMemo(()=>k&&fe?.trim()?{accountId:k,name:fe}:null,[k,fe]),di=b=>Ce?_e?.[b]??[]:ke,Vi=(b,A)=>Si(b,di(A),Ji,Zo),Qi=(b,A)=>di(A).find(G=>G.account_id===b.account_id),Yi=(b,A)=>{const G=Qi(b,A);return!Pt||!G||G.account_id===k||!G.bridge_enabled||!["active","paused"].includes(G.bridge_state)||b.kind==="agent"&&!G.agent?null:Zp(b,A,Hn,k,ye,Ce)},mr=(b,A)=>{const G=Yi(b,A);G&&(G.type!=="conversation"&&Ce&&tn(Tn(A)),Le(G))},ur=(b,A)=>Vi(b,A)??(b.kind==="agent"?o("ui.teamBridge.sender.unknown_agent"):o("ui.teamBridge.sender.unknown_person")),hr=Ce?Bg(Wi):eo(Gn.directs,ke,qt,k),Te=Ii(l,cr,k),Wn=Te!==null&&Ka(Te),Xi=Te?oa(Te,p):null,ci=Ce&&Te!==null&&Xi===null,gt=l?.type==="person"||l?.type==="chief"?ke.find(b=>b.account_id===l.accountId)??null:null,Zi=l?.type==="chief"?qt.find(b=>b.person.account_id===l.accountId)??null:null,pn=Te?Te.kind==="dm"?(()=>{const b=Te.members.find(A=>A.state!=="removed"&&!(A.kind==="human"&&A.account_id===k));return b?ur(b,Te.tenant_id):o("ui.teamBridge.list.untitled")})():yi(Te,k)??o("ui.teamBridge.list.untitled"):Zi?xt(Zi.agentName,Ye(Zi.person),Ji):gt?Ye(gt):null,el=m.useMemo(()=>ro(ke,k,jt()),[ke,k]),pt=l?.type==="compose"?l.recipients:[],J=Te,gr=Zd(J?.builtin),ea=J?ec(J):{active:0,invited:0},kt=b=>{Ee&&(ut(null),a?.()),e?.clear(),$n(b)},nl=!!(mt&&Ee&&J&&Ee.conversationId===J.id&&Ee.tenantId===J.tenant_id&&!Wn&&!ci);Kl(J?.id);const tl=b=>{J&&ut({tenantId:J.tenant_id,conversationId:J.id,rootId:b.id})},Cn=!ye&&!Wn&&J?.status!=="archived"&&!ci&&(J!==null||l?.type==="compose"&&pt.length>0||(l?.type==="person"||l?.type==="chief")&>!==null),il=l?.type==="compose"&&pt.length>0?o("ui.teamBridge.composer.placeholder_to",{name:pt.map(b=>b.label).join(", ")}):pn&&l?.type!=="compose"?o("ui.teamBridge.composer.placeholder_to",{name:pn}):o("ui.teamBridge.composer.placeholder"),na=`${D}-gate`,pr=Xo&&k&&Te?{accountId:k,tenantId:Te.tenant_id,disabled:!Cn||Te.status!=="open"}:void 0,ta=b=>({ids:[],stageHeld:async(A,G)=>{const ae=await zp({paths:b,accountId:k??"",tenantId:G??(oe===Qe?"":oe),conversationId:A,capability:lt});if(ae.failures.length>0&&gn({kind:"upload",failure:ae.failures[0]}),ae.ids.length!==b.length)throw new Error("attachment staging refused");return ae.ids}}),Ot=Ti(J?.tenant_id,J?.id);m.useLayoutEffect(()=>{s==="ready"&&J&&c.length===0&&pu(Ot)},[s,J,c.length,Ot]),m.useLayoutEffect(()=>()=>Ro(Ot),[Ot]);const mi=Yn(b=>b.entries),kr=Nn,fr=l?.type==="conversation"?l.id:void 0,wr=m.useMemo(()=>gp(mi,{owner:k,lane:kr,conversationId:J?.id??fr}),[mi,k,kr,J?.id,fr]),ia=m.useMemo(()=>{if(!k)return null;const b=ke.find(G=>G.account_id===k),A=b?Ye(b):(fe?.trim()??"")||k;return{account_id:k,kind:"human",display_label:A}},[k,fe,ke]),In=m.useMemo(()=>pp(c,wr,ia,J?.id),[c,wr,ia,J?.id]),br=m.useRef(new Set),al=l?.type==="conversation"&&br.current.has(l.id)&&J===null,rl=m.useMemo(()=>c.reduce((b,A)=>Math.max(b,A.seq),-1),[c]),Jn=Ui({resetKey:`${J?.tenant_id??""}:${J?.id??""}:${s}:${Me??""}`,contentKey:`${In.messages.length}:${In.messages.at(-1)?.id??""}`});m.useLayoutEffect(()=>{if(!h)return;const b=Array.from(Jn.rootRef.current?.querySelectorAll("[data-message-id]")??[]).find(A=>A.dataset.messageId===h);b&&(Jn.hold(),b.scrollIntoView?.({block:"center"}))},[h,Jn.hold,Jn.rootRef]);const aa=m.useRef(!1),yr=(b,A,G)=>{const ae=Je.get(ue);ae!==void 0&&(ae.clientRef===A||ae.clientRef===b.clientRef)&&(G&&Je.delete(ue),G&&de()&&ee.current?.clientRef===A&&ee.update({clientRef:crypto.randomUUID()}))},xr=b=>{const A=b.conversationId?Ps(b.conversationId):b.lane;return kp(A,async G=>{const ae=b.conversationId?{conversationId:b.conversationId,tenantId:b.tenantId}:G.resolved,Fe=we=>Yn.getState().patch(b.localId,we),Rn=we=>ot(b.body,we,void 0,{into:ae,onCreated:(Se,ze)=>{fp(A,Ps(Se),{conversationId:Se,tenantId:ze}),br.current.add(Se),Fe({conversationId:Se,tenantId:ze})}});let Ae=b.clientRef,Pe;try{try{Pe=await Rn(Ae)}catch(Se){if(!ss(Se)||b.autoRetried)throw Se;Ae=crypto.randomUUID(),Fe({clientRef:Ae,autoRetried:!0});const ze=Je.get(ue);ze&&ze.clientRef===b.clientRef&&Je.set(ue,{...ze,clientRef:Ae}),Pe=await Rn(Ae)}const we=wp(Pe);Fe({status:"sent",serverId:we?.id,serverRow:we,...we?.conversation_id?{conversationId:we.conversation_id}:{}}),yr(b,Ae,!0)}catch(we){Fe({status:"failed"}),yr(b,Ae,!1),vi(we)&&gn({kind:"expired"})}})},sl=async(b,A)=>{const G=b.trim();if(!G&&A.length===0||!de()||f||De||Ke.current||ee.current?.createUncertain||ee.current?.sendAt||!Cn||!l)return!1;if(A.length>0&&!lt)return gn({kind:"capability"}),!1;gn(null);const ae=Je.get(ue),Fe=ae?.localId?mi.find(we=>we.localId===ae.localId):void 0,Ae=!!(ae&&ae.body===G&&(!ae.localId||Fe===void 0||Fe.status==="failed"))?ae.clientRef:crypto.randomUUID();if(ae?.body!==G&&(aa.current=!1),!ee.update({clientRef:Ae}))return!1;if(A.length===0&&ia&&l){const we=mi.find(ze=>ze.status==="failed"&&ze.clientRef===Ae&&ze.owner===(k??"")),Se=we?{...we,body:G,status:"pending"}:{localId:crypto.randomUUID(),clientRef:Ae,body:G,createdAt:new Date().toISOString(),order:hp(),owner:k??"",lane:Nn,conversationId:Te?.id,tenantId:Te?.tenant_id??(oe===Qe?void 0:oe),baselineSeq:rl,status:"pending"};return we?Yn.getState().patch(Se.localId,{status:"pending"}):Yn.getState().add(Se),Je.set(ue,{body:G,clientRef:Ae,localId:Se.localId}),Jn.pin(),xr(Se),!0}const Pe={body:G,clientRef:Ae};Je.set(ue,Pe),Ke.current=!0,Jn.pin();try{await ot(G,Ae,ta(A));const we=Je.get(ue)===Pe;return we&&Je.delete(ue),we&&de()&&ee.update({clientRef:crypto.randomUUID()}),!0}catch(we){if(ss(we)&&!aa.current){aa.current=!0;const Se=crypto.randomUUID(),ze={body:G,clientRef:Se};if(Je.set(ue,ze),ee.update({clientRef:Se}))try{await ot(G,Se,ta(A));const ft=Je.get(ue)===ze;return ft&&Je.delete(ue),ft&&de()&&ee.update({clientRef:crypto.randomUUID()}),!0}catch(ft){return vi(ft)&&gn({kind:"expired"}),!1}}return vi(we)&&gn({kind:"expired"}),!1}finally{Ke.current=!1}},vr=async b=>{if(!l||!te||Ke.current||ee.current?.createUncertain||!He||!Cn||f||De)throw new Error("schedule unavailable");if(ee.current?.sendAt&&ee.current.sendAt!==b)throw new Error("retry requires original time");const A=Ze.trim(),G=ee.current?.sendAt?ee.current.clientRef:crypto.randomUUID(),ae=ln(l),Fe=l.type==="compose"&&l.recipients.length>1&&!J&&!ee.current?.conversationId;if(!ee.update({clientRef:G,sendAt:b,...Fe?{createUncertain:!0}:{}}))throw new Error("draft persistence unavailable");Ke.current=!0,zt(!0),Dt(!1),Kn(!1);const Rn=un,Ae=ta(Rn);try{await te(A,G,b,ee.current?.conversationId,En=>{if(!ee.update({conversationId:En,clientRef:G,sendAt:b,createUncertain:!1}))throw new Error("draft persistence unavailable")},Ae),be&&be.body.trim()===A&&(be.body="");const Pe=on.getState(),we=Pe.inputByConversation[ue],Se=(we?.attachments??[]).map(En=>En.path),ze=Pe.getCurrentInput(ue).trim()===A,ft=Se.length===Rn.length&&Se.every((En,ml)=>En===Rn[ml]);if(ze&&ft)Pe.clearComposer(ue);else{for(const En of we?.attachments??[])Rn.includes(En.path)&&Pe.removeAttachment(ue,En.id);ze&&Pe.setComposerText(ue,"")}ee.clearSent(ae,A,G),Dt(!0)}catch(Pe){Kn(!0);const we=Pe?.status;throw yp(ee.current?.sendAt,we)&&ee.update({createUncertain:!1,sendAt:void 0}),Pe}finally{Ke.current=!1,zt(!1)}};if(qn)return n.jsx(Hp,{});if(ve)return n.jsx(Gp,{reason:ve});const ol=b=>l?.type==="conversation"&&l.id===b.id,ui=b=>Le({type:"compose",recipients:[b]}),an=Ce||ye,jr=ye?o("ui.teamBridge.read_only.note"):o("ui.teamBridge.scope.create_needs_org"),_r=w?n.jsx(Mn,{label:o("ui.teamBridge.scope.loading")}):x?n.jsxs("div",{className:"flex flex-col items-start gap-2 px-2 py-1",children:[n.jsx("p",{className:"text-[12px] leading-snug text-ink-muted",children:o("ui.teamBridge.scope.error")}),Rt&&n.jsx(V,{type:"button",size:"sm",variant:"outline",onClick:Rt,children:o("ui.teamBridge.list.retry")})]}):null,ll=w?n.jsx(Mn,{label:o("ui.teamBridge.scope.loading")}):x?n.jsx(fi,{children:o("ui.teamBridge.scope.error")}):null,Br=_r||p.length>0?void 0:{text:o("ui.teamBridge.scope.empty")},dl=b=>{if(b.type==="compose")return b.recipients.map(G=>G.label).join(", ")||o("ui.teamBridge.compose.label");if(b.type==="conversation"){const G=d.find(ae=>ae.id===b.id);return(G?yi(G,k):null)??o("ui.teamBridge.list.untitled")}const A=ke.find(G=>G.account_id===b.accountId)?.display_label??o("ui.teamBridge.list.untitled");return b.type==="chief"?xt(qt.find(G=>G.person.account_id===b.accountId)?.agentName??"",A,jt()):A},ra=b=>n.jsx("ul",{className:"flex flex-col",children:b.map(A=>n.jsx(Ag,{hasDraft:ee.entries.some(({entry:G,tenantId:ae})=>ae===A.tenant_id&&(!!Ge(ae,ln(G.target)).trim()||lr(ae,ln(G.target))>0||(G.attachments?.length??0)>0)&&Ii(G.target,[A],k)?.id===A.id),conversation:A,selected:ol(A),selfAccountId:k,title:A.kind==="dm"?(()=>{const G=A.members.find(ae=>ae.state!=="removed"&&!(ae.kind==="human"&&ae.account_id===k));return G?ur(G,A.tenant_id):void 0})():void 0,organizationName:Ce?oa(A,p)??o("ui.teamBridge.scope.unknown"):void 0,onSelect:()=>Le({type:"conversation",id:A.id}),onArchive:v&&!ye&&la(A)?()=>dn({kind:"archive",conversationId:A.id}):void 0},A.id))}),cl=n.jsxs("div",{"data-glass-region":"canvas",className:"panel-flush @container/bridge relative flex min-h-0 flex-1 w-full overflow-hidden bg-canvas",children:[n.jsxs("aside",{"data-glass-region":"page-sidebar",className:"panel-top-pad flex w-72 shrink-0 flex-col bg-surface","aria-busy":re||ce||void 0,onPointerEnter:()=>ct(!0),onPointerLeave:()=>ct(!1),children:[n.jsx("h1",{className:"sr-only",children:o("ui.teamBridge.page.title")}),n.jsxs("header",{className:"flex h-11 shrink-0 items-center gap-2 px-3",children:[n.jsx(Ng,{organizations:p,scope:g,onScopeChange:Ln??tn,totalUnread:y,membershipsLoading:w,organizationsFailed:x,unreadRefreshing:ce,onRetry:Rt}),n.jsx(V,{size:"icon-sm",variant:"ghost","aria-label":o("ui.teamBridge.compose.new"),"aria-disabled":an||void 0,title:an?jr:void 0,className:an?"text-ink-disabled hover:bg-transparent":void 0,onClick:()=>{an||Le(ee.drafts.compose?.target??{type:"compose",recipients:[]})},children:n.jsx(Da,{size:16})}),n.jsx("span",{"data-rail-refreshing":ce?"unread":re?"rows":void 0,"aria-hidden":"true",className:Z("size-1.5 shrink-0 rounded-full",ce||re?"bg-ink-dim":"bg-transparent")})]}),n.jsxs("nav",{"aria-label":o("ui.teamBridge.drafts.navigation"),className:"flex flex-col px-3 pb-2",children:[n.jsxs("button",{type:"button","aria-current":Me==="drafts"?"page":void 0,onClick:()=>kt("drafts"),className:"flex h-[30px] items-center gap-2 rounded-md px-2 text-sm text-ink-muted hover:bg-row-hover",children:[n.jsx(Li,{size:14,"aria-hidden":"true"}),o("ui.teamBridge.drafts.title")]}),n.jsxs("button",{type:"button",disabled:!k,"aria-current":Me==="scheduled"?"page":void 0,onClick:()=>kt("scheduled"),className:"flex h-[30px] items-center gap-2 rounded-md px-2 text-sm text-ink-muted hover:bg-row-hover disabled:text-ink-disabled",children:[n.jsx(Ht,{size:14,"aria-hidden":"true"}),o("ui.teamBridge.schedule.list")]}),mn.current&&n.jsxs("button",{type:"button","aria-current":Me==="invitations"?"page":void 0,onClick:()=>kt("invitations"),className:"flex h-[30px] items-center gap-2 rounded-md px-2 text-sm text-ink-muted hover:bg-row-hover",children:[n.jsx(Hc,{size:14,"aria-hidden":"true"}),n.jsx("span",{className:"min-w-0 flex-1 truncate text-start",children:o("ui.teamBridge.invitations.title")}),_n.length>0&&n.jsx(Mi,{count:_n.length,className:"-me-2 shrink-0","aria-label":o("ui.teamBridge.invitations.count",{count:_n.length})})]}),ie&&(Me==="archived"||Dr(U).length>0||ht.some(la))&&n.jsxs("button",{type:"button","aria-current":Me==="archived"?"page":void 0,onClick:()=>{ie(),kt("archived")},className:Z("flex h-[30px] items-center gap-2 rounded-md px-2 text-sm",Me==="archived"?Pi:"text-ink-muted hover:bg-row-hover"),children:[n.jsx(Gt,{size:14,"aria-hidden":"true"}),o("ui.teamBridge.archive.section.archived")]})]}),n.jsxs(va,{className:"min-h-0 flex-1 [&_[data-radix-scroll-area-viewport]>div]:block!",children:[r==="error"&&(ht.length>0?n.jsxs("div",{className:"space-y-1 px-3 py-3 text-[12px] text-ink-muted",children:[n.jsx("p",{children:o("ui.teamBridge.list.error_stale")}),vn&&n.jsx("button",{type:"button",className:"underline",onClick:vn,children:o("ui.teamBridge.list.retry")})]}):n.jsxs("div",{className:"flex flex-col items-start gap-2 px-3 py-3",children:[n.jsx("p",{className:"text-[12px] text-ink-muted",children:o("ui.teamBridge.list.error")}),vn&&n.jsx(V,{size:"sm",variant:"ghost",onClick:vn,children:o("ui.teamBridge.list.retry")})]})),n.jsx(Qn,{id:"team-bridge-channels-heading",title:o("ui.teamBridge.section.channels"),menu:ie?{label:o("ui.teamBridge.archive.section.menu"),items:[{key:"archived",label:o("ui.teamBridge.archive.section.archived"),icon:n.jsx(Gt,{size:14,"aria-hidden":"true"}),onSelect:()=>{ie(),kt("archived")}}]}:void 0,add:an?void 0:{label:o("ui.teamBridge.section.channels_add"),onAdd:On},empty:r==="ready"&&Gn.channels.length===0?{text:an?o("ui.teamBridge.section.channels_none"):o("ui.teamBridge.section.channels_empty"),onCreate:an?void 0:On}:void 0,children:r==="loading"?n.jsx(Mn,{label:o("ui.teamBridge.list.loading")}):ra(Gn.channels)}),n.jsx(Qn,{id:"team-bridge-groups-heading",title:o("ui.teamBridge.section.groups"),add:an?void 0:{label:o("ui.teamBridge.section.groups_add"),onAdd:()=>Le(ee.drafts.compose?.target??{type:"compose",recipients:[]})},empty:r==="ready"&&Gn.groups.length===0?{text:an?o("ui.teamBridge.section.groups_none"):o("ui.teamBridge.section.groups_empty"),onCreate:an?void 0:()=>Le(ee.drafts.compose?.target??{type:"compose",recipients:[]})}:void 0,children:r==="loading"?n.jsx(Mn,{label:o("ui.teamBridge.list.loading")}):ra(Gn.groups)}),hr.length>0&&n.jsx(Qn,{id:"team-bridge-directs-heading",title:o("ui.teamBridge.section.directs"),children:ra(hr)}),Ce?n.jsxs(n.Fragment,{children:[n.jsx(Qn,{id:"team-bridge-people-heading",title:o("ui.teamBridge.people.title"),empty:Br,children:_r??Wi.map((b,A)=>{const G=Is("people",b.tenantId);return n.jsxs(m.Fragment,{children:[li&&n.jsx(Ta,{id:G,name:b.name,first:A===0}),b.state==="loading"?n.jsx(Mn,{label:o("ui.teamBridge.people.loading")}):b.state==="error"?n.jsx(Fs,{error:rn?.[b.tenantId],onRetry:()=>$e?.(b.tenantId)}):b.members.length===0?n.jsx(fi,{children:o("ui.teamBridge.people.empty")}):n.jsx("ul",{className:"flex flex-col","aria-labelledby":li?G:void 0,children:b.members.map(ae=>n.jsx(Rs,{hasDraft:!!Ge(b.tenantId,`person:${ae.account_id}`).trim(),member:ae,selfAccountId:k,identityKnown:Pt,selected:!1,dm:Pr(b.directs,ae.account_id,k),readOnly:ye,onSelect:()=>{tn(Tn(b.tenantId)),Le({type:"person",accountId:ae.account_id})},onStartGroup:Fe=>{tn(Tn(b.tenantId)),ui(Fe)}},Cs(b.tenantId,ae.account_id)))})]},b.tenantId)})}),n.jsx(Qn,{id:"team-bridge-chiefs-heading",title:o("ui.teamBridge.section.chiefs"),empty:Br,children:ll??Wi.map((b,A)=>{const G=Is("chiefs",b.tenantId);return n.jsxs(m.Fragment,{children:[li&&n.jsx(Ta,{id:G,name:b.name,first:A===0}),b.state==="loading"?n.jsx(Mn,{label:o("ui.teamBridge.people.loading")}):b.state==="error"?n.jsx(fi,{children:o("ui.teamBridge.people.error")}):b.chiefs.length===0?n.jsx(fi,{children:o("ui.teamBridge.section.chiefs_empty")}):n.jsx("ul",{className:"flex flex-col","aria-labelledby":li?G:void 0,children:b.chiefs.map(ae=>n.jsx(Es,{hasDraft:!!Ge(b.tenantId,`chief:${ae.person.account_id}`).trim(),chief:ae,label:xt(ae.agentName,Ye(ae.person),Ji),selected:!1,dm:qr(b.directs,ae.person.account_id,k),readOnly:ye,onSelect:()=>{tn(Tn(b.tenantId)),Le({type:"chief",accountId:ae.person.account_id})},onStartGroup:Fe=>{tn(Tn(b.tenantId)),ui(Fe)}},Cs(b.tenantId,ae.person.account_id)))})]},b.tenantId)})})]}):n.jsxs(n.Fragment,{children:[n.jsx(Qn,{id:"team-bridge-people-heading",title:o("ui.teamBridge.people.title"),empty:Ne==="ready"&&ke.length===0?{text:W?o("ui.teamBridge.people.error"):o("ui.teamBridge.people.empty")}:void 0,children:Ne==="loading"?n.jsx(Mn,{label:o("ui.teamBridge.people.loading")}):Ne==="error"?n.jsx(Fs,{error:C,onRetry:Be}):n.jsx("ul",{className:"flex flex-col",children:ke.map(b=>n.jsx(Rs,{hasDraft:!!Ge(oe,`person:${b.account_id}`).trim(),member:b,selfAccountId:k,identityKnown:Pt,selected:Ms(l,"person",b.account_id),dm:Pr(Hn,b.account_id,k),readOnly:ye,onSelect:()=>Le({type:"person",accountId:b.account_id}),onStartGroup:ui},b.account_id))})}),n.jsx(Qn,{id:"team-bridge-chiefs-heading",title:o("ui.teamBridge.section.chiefs"),empty:Ne==="ready"&&qt.length===0?{text:o("ui.teamBridge.section.chiefs_empty")}:void 0,children:Ne==="loading"?n.jsx(Mn,{label:o("ui.teamBridge.people.loading")}):Ne==="error"?null:n.jsx("ul",{className:"flex flex-col",children:qt.map(b=>n.jsx(Es,{hasDraft:!!Ge(oe,`chief:${b.person.account_id}`).trim(),chief:b,label:xt(b.agentName,Ye(b.person),jt()),selected:Ms(l,"chief",b.person.account_id),dm:qr(Hn,b.person.account_id,k),readOnly:ye,onSelect:()=>Le({type:"chief",accountId:b.person.account_id}),onStartGroup:ui},b.person.account_id))})})]}),e?.rail(()=>{$n(null),ut(null),a?.()})]})]}),n.jsxs("section",{className:Z("panel-top-pad flex min-w-0 flex-1 flex-col bg-surface",nl&&"@max-[1024px]/bridge:invisible"),children:[Hi,e?.active?e.panel:Me==="invitations"?n.jsx(nh,{invitations:_n,listState:r,onRetry:vn,readOnly:ye,organizationNames:Ce?Object.fromEntries(p.map(b=>[b.tenantId,b.name])):void 0}):Me==="scheduled"&&k?n.jsx(Rp,{accountId:k,organizationNames:Object.fromEntries(p.map(b=>[b.tenantId,b.name])),conversationNames:Object.fromEntries(d.flatMap(b=>{const A=yi(b,k);return A?[[b.id,A]]:[]})),tenantIds:Ce?p.map(b=>b.tenantId):[g],readOnly:ye}):Me==="archived"?n.jsx(hu,{state:S,conversations:Dr(U),hasMore:$,loadingMore:Q,loadMoreFailed:Y,onLoadMore:j,organizationName:Ce?b=>oa(b,p):void 0,onRetry:ge,onOpen:b=>{$n(null),Le({type:"conversation",id:b.id})}}):Me==="drafts"?n.jsxs("section",{className:"flex min-h-0 flex-1 flex-col gap-2 overflow-auto p-5","aria-label":o("ui.teamBridge.drafts.title"),children:[n.jsx("h2",{className:"text-lg font-medium text-ink",children:o("ui.teamBridge.drafts.title")}),ee.entries.filter(({entry:b,tenantId:A})=>dr(b,A)).length===0&&n.jsx("p",{className:"text-ink-muted",children:o("ui.teamBridge.drafts.empty")}),ee.entries.filter(({entry:b,tenantId:A})=>dr(b,A)).map(({key:b,tenantId:A,entry:G})=>n.jsxs("button",{type:"button",onClick:()=>{A!==g&&tn(Tn(A)),Le(G.target)},className:"rounded-md bg-surface p-3 text-left text-ink hover:bg-row-hover",children:[n.jsx("span",{className:"block text-sm font-medium",children:dl(G.target)}),n.jsx("span",{className:"block truncate text-sm text-ink-muted",children:Ge(A,ln(G.target))||G.body})]},b))]}):l===null?n.jsx("div",{className:"flex flex-1 items-center justify-center px-6",children:r==="loading"?n.jsx(Oe,{size:"sm",label:o("ui.teamBridge.list.loading")}):r==="error"?n.jsx("p",{className:"max-w-sm text-center text-[13px] text-ink-muted",children:o("ui.teamBridge.list.error_pane")}):n.jsxs("div",{className:"max-w-sm text-center",children:[n.jsx("p",{className:"font-medium text-[13px] text-ink",children:o("ui.teamBridge.list.empty.title")}),n.jsx("p",{className:"mt-1 text-[13px] text-ink-muted",children:an?jr:o("ui.teamBridge.list.empty.body")})]})}):n.jsxs(n.Fragment,{children:[l.type==="compose"?n.jsx(Ao,{recipients:pt,candidates:el,profileFor:b=>ke.find(A=>A.account_id===b.accountId),onChange:b=>Le({type:"compose",recipients:b})}):n.jsxs("header",{className:"flex h-11 shrink-0 items-center gap-2 px-5",children:[J?.kind==="channel"?n.jsx(Ki,{size:16,"aria-hidden":"true",className:"shrink-0 text-ink-dim"}):J?.kind==="group"?n.jsx(St,{size:16,"aria-hidden":"true",className:"shrink-0 text-ink-dim"}):l.type==="chief"?n.jsx(Nt,{size:16,"aria-hidden":"true",className:"shrink-0 text-accent"}):null,n.jsx("h2",{className:"min-w-0 truncate font-semibold text-[15px] text-ink",children:pn??o("ui.teamBridge.list.untitled")}),Ce&&Xi&&n.jsx("span",{className:"shrink-0 rounded-sm bg-elevated px-1.5 py-0.5 text-meta-sm text-ink-dim",children:Xi}),J&&J.kind!=="dm"&&n.jsx("span",{className:"flex shrink-0 flex-col text-meta-sm text-ink-dim",children:ea.invited>0?n.jsxs(n.Fragment,{children:[n.jsx("span",{className:"text-ink-muted",children:o("ui.teamBridge.member.active_count",{count:ea.active})}),n.jsx("span",{className:"text-ink-dim",children:o("ui.teamBridge.member.invited_count",{count:ea.invited})})]}):o("ui.teamBridge.member.count",{count:nc(J)})}),J?.last_message_at&&J.latest_seq>0&&n.jsxs("span",{className:"shrink-0 text-meta-sm text-ink-dim",title:Wp(J.last_message_at,Fn),children:[n.jsx("span",{"aria-hidden":"true",children:"·"})," ",Jp(J.last_message_at,Fn)]}),J&&!Wn&&!ye&&F&&$t(J,k)&&n.jsxs(V,{type:"button",size:"sm",variant:"ghost",className:"shrink-0",onClick:()=>{cn(!1),Et(!0)},children:[n.jsx(Kt,{size:14,"aria-hidden":"true"}),o("ui.teamBridge.members.menu")]}),n.jsx("div",{className:"ms-auto flex items-center gap-1",children:J&&!Wn&&!ye&&K&&n.jsx(Ou,{conversation:J,onNotifyChange:K,ownAgent:pe==="enabled"?tc(J,k):void 0,onAgentNotifyChange:R,onAddMembers:F&&$t(J,k)?()=>{cn(!1),Et(!0)}:void 0,onArchive:v&&la(J)?()=>dn({kind:"archive",conversationId:J.id}):void 0,defaultOpen:he})})]}),N&&n.jsx("p",{role:"alert",className:"px-5 pb-1 text-[12px] text-danger",children:o("ui.teamBridge.notify.error")}),E&&n.jsx("p",{role:"alert",className:"px-5 pb-1 text-[12px] text-danger",children:o("ui.teamBridge.agentNotify.error")}),J?.status==="archived"&&n.jsx(uu,{conversation:J,canManage:!ye&&!!(T&&M)&&ic(J),error:H,onUnarchive:()=>T?.(J),onDelete:()=>{dt(null),dn({kind:"delete",conversationId:J.id})}}),gr&&n.jsx("p",{className:"px-5 pb-1 text-[12px] text-ink-dim",children:o(gr)}),n.jsx(va,{ref:Jn.rootRef,className:"min-h-0 flex-1 [&_[data-radix-scroll-area-viewport]>div]:block! [&_[data-radix-scroll-area-viewport]>div]:h-full",children:n.jsx("div",{className:"flex min-h-full flex-col",children:Wn?n.jsx(Qp,{joining:B,joinFailed:L,readOnly:ye,onJoin:I}):ci?n.jsx("p",{className:"px-5 py-8 text-[13px] text-ink-muted",children:o("ui.teamBridge.scope.thread_unknown")}):l?.type==="conversation"&&J===null&&r==="ready"&&!al?n.jsx("p",{className:"px-5 py-8 text-[13px] text-ink-muted",children:o("ui.teamBridge.thread.not_available")}):J===null&&In.messages.length===0?n.jsx("div",{className:"mt-auto flex flex-col gap-2 px-5 pb-5",children:l.type==="compose"?n.jsx("p",{className:"text-[13px] text-ink-muted",children:pt.length===0?o("ui.teamBridge.compose.empty"):o("ui.teamBridge.thread.intro_group",{names:pt.map(b=>b.label).join(", ")})}):n.jsxs(n.Fragment,{children:[gt?n.jsx(Dn,{member:gt,label:pn??"",kind:l.type==="chief"?"agent":"human",onMessage:()=>{},canMessage:!1,children:n.jsx("button",{type:"button","data-draft-avatar":"",className:"self-start rounded-xl",children:n.jsx(yn,{member:gt,kind:l.type==="chief"?"agent":"human",label:pn??"",size:56,className:"rounded-xl text-[22px]"})})}):n.jsx("span",{"aria-hidden":"true",className:Z("flex size-14 items-center justify-center overflow-hidden rounded-xl font-semibold text-[22px]",l.type==="chief"?"bg-media-surface text-accent":"bg-media-surface text-ink-muted"),children:l.type==="chief"?n.jsx(Nt,{size:26}):(pn??"").trim().charAt(0).toUpperCase()||"?"}),n.jsx("p",{"data-draft-name":"",className:"font-semibold text-[17px] text-ink",children:pn}),n.jsx("p",{className:"text-[13px] text-ink-muted",children:l.type==="chief"?o("ui.teamBridge.thread.intro_chief",{name:pn??""}):o("ui.teamBridge.thread.intro_person",{name:pn??""})})]})}):s==="loading"&&In.localCount===0?n.jsx("div",{className:"flex items-center justify-center py-10",children:n.jsx(Oe,{size:"sm",label:o("ui.teamBridge.thread.loading")})}):s==="error"?n.jsx("p",{className:"px-5 py-8 text-[13px] text-ink-muted",children:o("ui.teamBridge.thread.error")}):s==="forbidden"?n.jsx("p",{className:"px-5 py-8 text-[13px] text-ink-muted",children:o("ui.teamBridge.archive.thread.forbidden")}):In.messages.length===0?n.jsx("p",{className:"mt-auto px-5 pb-4 text-[13px] text-ink-muted",children:J?.status==="archived"?o("ui.teamBridge.archive.thread.empty"):o("ui.teamBridge.thread.empty")}):n.jsx(zi,{messages:In.messages,events:u,presentationOf:b=>{const A=In.localOf(b),G=A!==void 0&&(A.status!=="sent"||A.serverRow===void 0);return{key:In.keyOf(b),local:G,delivery:A&&G?{status:A.status==="failed"?"failed":"pending",onRetry:A.status==="failed"&&de()?()=>{Yn.getState().patch(A.localId,{status:"pending",autoRetried:A.autoRetried}),xr(A)}:void 0,onEdit:A.status==="failed"&&de()?()=>{on.getState().returnPayload(ue,{text:A.body,attachments:[],replies:[]}),Yn.getState().remove(A.localId)}:void 0}:void 0}},profileFor:b=>Qi(b,J?.tenant_id??""),canMessagePerson:b=>Yi(b,J?.tenant_id??"")!==null,onMessagePerson:Pt?b=>mr(b,J?.tenant_id??""):void 0,arrivalKey:Ot,highlightId:h,tenantId:J?.tenant_id,accountId:k,labelFor:b=>Vi(b,J?.tenant_id??""),reactionContext:pr,onReply:mt?tl:void 0})})}),!Wn&&(J?.status==="archived"?n.jsx("p",{className:"shrink-0 px-5 pb-4 text-[12px] text-ink-dim leading-snug",children:o("ui.teamBridge.archive.composer.note")}):ye?n.jsx("p",{className:"shrink-0 px-5 pb-4 text-[12px] text-ink-dim leading-snug",children:o("ui.teamBridge.read_only.composer")}):n.jsxs("div",{className:"flex min-w-0 shrink-0 flex-col gap-2 px-4 pt-1 pb-4","data-lo-composer-band":!0,children:[Bn&&n.jsx("p",{role:"alert",className:"text-sm text-danger",children:o("ui.teamBridge.schedule.failed")}),Xe&&n.jsx("p",{"aria-live":"polite",className:"text-sm text-ink-muted",children:o("ui.teamBridge.schedule.success")}),hn&&n.jsxs("p",{className:"text-sm text-danger",role:"alert",children:[hn.kind==="capability"&&o("ui.teamBridge.attachments.unsupported"),hn.kind==="expired"&&o("ui.teamBridge.attachments.expired_staged_retry"),hn.kind==="upload"&&n.jsxs("span",{className:"inline-flex min-w-0 flex-wrap items-baseline gap-x-1.5",children:[n.jsx("span",{className:"font-medium",children:hn.failure.name}),n.jsx("span",{children:o(Up[hn.failure.reason])})]})]}),_&&n.jsx("p",{role:"alert",className:"text-sm text-danger",children:o("ui.teamBridge.composer.error")}),ee.storageFailed&&n.jsx("p",{role:"alert",className:"text-sm text-danger",children:o("ui.teamBridge.drafts.storage_failed")}),Ue?n.jsx(Qu,{reasonId:D,busy:f||De,onRetry:te?()=>{const b=ee.current?.sendAt;b&&vr(b).catch(()=>Kn(!0))}:void 0,onDiscard:()=>{Ke.current||De||f||ee.update({sendAt:void 0,clientRef:crypto.randomUUID()})&&Kn(!1)}}):ee.current?.createUncertain&&!De?n.jsxs("div",{role:"alert",className:"text-sm text-danger",children:[n.jsx("p",{id:D,children:o("ui.teamBridge.schedule.create_uncertain")}),n.jsx(V,{variant:"ghost",onClick:()=>ee.update({createUncertain:!1}),children:o("ui.teamBridge.schedule.create_retry")})]}):null,!Cn&&n.jsx("p",{id:na,className:"text-sm text-ink-muted",children:o("ui.teamBridge.compose.empty")}),n.jsx(qu,{conversationId:ue,placeholder:il,canAttach:!!lt,recordingProbe:nn,disabled:!Cn||!!Ue||!!ee.current?.createUncertain,disabledReasonId:Ue||ee.current?.createUncertain?D:Cn?void 0:na,sendDisabled:!!ee.current?.sendAt||De,sending:f,hint:f?o("ui.chat.canonical.send_failure.send_lock"):void 0,onSendMessage:sl,trailing:te?n.jsx(V,{ref:si,variant:"ghost",size:"icon-sm","aria-label":o("ui.teamBridge.schedule.title"),title:f?o("ui.chat.canonical.send_failure.send_lock"):void 0,"aria-describedby":ee.current?.createUncertain&&!De||Ue?D:Cn?void 0:na,disabled:!!ee.current?.sendAt||!!ee.current?.createUncertain||!He||f||De||!Cn,onClick:()=>ri(!0),children:n.jsx(Ht,{size:16,"aria-hidden":"true"})}):void 0}),n.jsx(Yo,{open:Gi,returnFocus:si,onOpenChange:ri,busy:De,onSchedule:vr})]}))]})]}),mt&&Ee&&J&&Ee.conversationId===J.id&&Ee.tenantId===J.tenant_id&&!Wn&&!ci&&n.jsx("div",{className:"absolute inset-y-0 end-0 start-72 z-20 min-w-0 @min-[1024px]/bridge:static @min-[1024px]/bridge:w-[min(26rem,45%)] @min-[1024px]/bridge:min-w-72 @min-[1024px]/bridge:shrink-0",children:t?t(Ee,()=>{ut(null),a?.()}):n.jsx(Fp,{target:Ee,canMessagePerson:b=>Yi(b,Ee.tenantId)!==null,profileFor:b=>Qi(b,Ee.tenantId),onMessagePerson:Pt?b=>mr(b,Ee.tenantId):void 0,initialRoot:c.find(b=>b.id===Ee.rootId),labelFor:b=>Vi(b,Ee.tenantId),readOnly:ye,reactionContext:pr,accountId:k,attachmentCapability:lt,onClose:()=>{ut(null),a?.()}},`${Ee.tenantId}:${Ee.conversationId}:${Ee.rootId}`)}),(()=>{const b=jn?cr.find(ae=>ae.id===jn.conversationId):void 0;if(!jn||!b)return null;const A=Qa(b),G=l?.type==="conversation"&&l.id===b.id;return jn.kind==="archive"?n.jsx(cu,{open:!0,name:A,onClose:()=>dn(null),onConfirm:()=>{dn(null),v?.(b),G&&Le(Or(ht,b.id,oi))}}):n.jsx(mu,{open:!0,name:A,pending:Mt,error:At,onClose:()=>dn(null),onConfirm:()=>{!M||Mt||(Tt(!0),dt(null),M(b).then(()=>{Tt(!1),dn(null),G&&(xn(Or(ht,b.id,oi)),ie?.(),kt("archived"))},ae=>{Tt(!1),dt(ae?.code==="conversation_not_found"?"gone":"error")}))}})})(),J&&n.jsx(du,{open:ti,conversation:J,people:J?di(J.tenant_id):[],selfAccountId:k,peopleState:Ce?Ie?.[J.tenant_id]??"loading":Ne,canInvite:!ye&&$t(J,k),canRemove:!ye&&Na(J,k),mutationError:ii,pendingKey:z,onClose:()=>{z||(Et(!1),cn(!1))},onRetryMembers:$e,onAdd:b=>{!F||ye||!$t(J,k)||(cn(!1),F(J,b).catch(()=>{cn(!0)}))},onRemove:b=>{!O||ye||!Na(J,k)||(cn(!1),O(J,b).catch(()=>{cn(!0)}))}})]});return n.jsx(nm,{conversation:J,people:J?di(J.tenant_id):[],selfAccountId:k,sendMentions:le==="enabled",onAddMembers:F,children:cl},JSON.stringify([k,oe]))},Qp=({joining:e=!1,joinFailed:t=!1,readOnly:i=!1,onJoin:a})=>(me(),n.jsx("div",{className:"flex flex-1 items-center justify-center px-6 py-10",children:n.jsxs("div",{className:"flex max-w-md flex-col items-center gap-3 text-center",children:[n.jsx("p",{className:"text-[13px] text-ink",children:o("ui.teamBridge.preview.banner")}),t&&n.jsx("p",{role:"alert",className:"text-[12px] text-danger",children:o("ui.teamBridge.preview.join_error")}),i?n.jsx("p",{className:"text-[12px] leading-snug text-ink-dim",children:o("ui.teamBridge.read_only.note")}):n.jsx(V,{type:"button",size:"sm",variant:"primary",disabled:e,onClick:a,children:o("ui.teamBridge.preview.join")})]})})),mk=()=>{const e=Ul(),t=m.useRef(new Map),i=m.useRef(new Map),a=m.useRef(null);return n.jsx(Xp,{accountId:e.accountId,drafts:t.current,receipts:i.current,messageLinkCarry:a},e.token)},Yp=8e3,ba=(e,t,i)=>JSON.stringify([e,t,i]),Xp=({accountId:e,drafts:t,receipts:i,messageLinkCarry:a})=>{const r=rt(),[s,d]=rc(),l=s.get("conversation"),c=s.get("tenant"),u=s.get("thread"),h=s.get("message"),[p,g]=m.useState(()=>{const D=h&&l&&!u?{conversationId:l,messageId:h,fetched:!1}:l?null:a.current;return a.current=D,D}),y=m.useCallback(D=>g(oe=>{const ee=typeof D=="function"?D(oe):D;return a.current=ee,ee}),[a]),[w,x]=m.useState(()=>Ir(s)),k=m.useMemo(()=>{const D=ya();return D&&e?Pc(D,e):void 0},[e]),[f,_]=m.useState(()=>c?Tn(c):k??Qe),B=m.useRef(!!c),L=e?r.getQueryData(zn.conversations(Qe,e))?.conversations:void 0,N=Hl(),E=sc(),I=bc(),K=oc(),R=(I.data?.features?.team_bridge_conversation_owner_guard??0)>=1,F=(N.data?lc(N.data):null)??(!e&&E.accountRead==="signed-out"?"signed_out":E.unavailable?"update_required":E.error||N.isError||I.isError?"unavailable":I.data&&!R?"update_required":null),O=F===null&&(!e||N.isPending||I.isPending),z=!O&&F===null&&N.data?.account_id===e,X=z?e:void 0,v=N.data?.read_only===!0||!R,T=Gl(e),M=()=>T.isCurrent()&&R,H=()=>T.isAuthorityCurrent()&&R,S=Wl(X),U=Jl({enabled:z}),$=Vl(z,Qe,{accountId:e}),Q=dc(N.data),Y=m.useMemo(()=>cc(U.memberships,$.data?.organizations,Q).map(D=>({...D,unread:S.byTenant.get(D.tenantId)??D.unread})),[U.memberships,$.data,Q,S]),{pending:j,failed:ie}=mc(Q,U),je=$r({organizations:Y,stored:k,requestedTenant:c,chosen:B.current,current:f,snapshotRows:L})===f&&!j,se=Ql(f,z&&je,e),P=Hs(f===Qe?null:f,z,e),ne=f===Qe,le=Yl(ne?Y.map(D=>D.tenantId):[],z,e),pe=E.user?.name??void 0,he=m.useMemo(()=>qc(L??[],f),[L,f]),xe=m.useMemo(()=>(se.data?.conversations??he).map(D=>Xl(D,S)),[se.data?.conversations,he,S]),be=xe.length>0,de=O&&be,ke=be&&(de||se.isFetching||ne&&j),_e=be&&$.isFetching,Ie=P.data?.members??[],rn=ro(Ie,X,jt()),[fe,Ne]=m.useState(()=>l?{type:"conversation",id:l}:null),[C,W]=m.useState(!1),re=m.useRef(()=>{}),ce=up({accountId:e,enabled:z&&(I.data?.features?.team_bridge_owner_audit??0)>=1,scopeKey:f,organizations:ne?Y:Y.filter(D=>D.tenantId===f),onSelect:()=>{Ne(null),x(null)}});re.current=()=>ce?.clear(),m.useEffect(()=>{!l||!c||(B.current=!0,_(Tn(c)),re.current(),Ne({type:"conversation",id:l}),x(Ir(new URLSearchParams({tenant:c,conversation:l,...u?{thread:u}:{}}))),y(h&&!u?{conversationId:l,messageId:h,fetched:!1}:null),W(!1),d({},{replace:!0}))},[l,c,u,h,d,y]);const Be=D=>{B.current=!0,_(D),x(null),Ne(null),W(!1)},$e=D=>{const oe=ya();oe&&e&&Oc(oe,e,D),Be(D)};m.useEffect(()=>{_(D=>$r({organizations:Y,stored:k,requestedTenant:c,chosen:B.current,current:D,snapshotRows:L}))},[Y,L,k,c]);const ve=m.useMemo(()=>io(xe,f,Y),[xe,f,Y]);m.useEffect(()=>{if(!ce?.active&&fe===null&&ve.length>0){const D=uc(ve,Y.map(oe=>oe.tenantId));D&&Ne({type:"conversation",id:D.id})}},[ve,Y,fe,ce?.active]);const[qn,ye]=m.useState(!1),Hi=se.isSuccess&&fe?.type==="conversation"&&!ve.some(D=>D.id===fe.id),xn=Zl(f,z&&(qn||Hi),e),ot=xn.data?.conversations??[],te=Ii(fe,ao(ve,ot),X),lt=te!==null&&Ka(te),nn=ed(lt?null:te?.id??null,te?.tenant_id,z,e),On=nd(te?.id??"",te?.tenant_id),vn=td(),tn=id(),Ln=ad(ne?void 0:f,M),Rt=Gs(te?.id??"",te?.tenant_id),Fn=rd(te?.id??"",te?.tenant_id),Me=sd(),$n=od(te?.id,te?.tenant_id),jn=ld(f,e),dn=dd(),ti=cd(),Et=md(),ii=()=>{if(fe===null)return[];if(fe.type==="compose")return fe.recipients;if(fe.type==="person"){const D=Ie.find(oe=>oe.account_id===fe.accountId);return D?[{kind:"human",accountId:D.account_id,label:Ye(D)}]:[]}if(fe.type==="chief"){const D=Fa(Ie,X).find(oe=>oe.person.account_id===fe.accountId);return D?[{kind:"agent",accountId:D.person.account_id,endpointId:D.endpointId,agentName:D.agentName,ownerLabel:Ye(D.person),label:xt(D.agentName,Ye(D.person),jt())}]:[]}return[]},[cn,Mt]=m.useState(!1),[Tt,At]=m.useState(!1),dt=e??"unresolved-owner",_n=i.get(dt)??new Map;i.set(dt,_n);const ai={current:_n},ct=m.useRef(fe);ct.current=fe;const mn=m.useRef(null),Gi=async(D,oe,ee,Ue)=>{if(!M())throw new Error("Team Bridge write authority changed");const ue=Ue?.into;if(ue&&Ue){const He=await en.send(ue.conversationId,{clientRef:oe,body:D,tenantId:ue.tenantId,expectedAccountId:Rr(e),attachmentIds:await ua(ee,ue.conversationId,ue.tenantId)});return await Er(r,ue.conversationId,ue.tenantId,M),He}if(te!==null)return On.mutateAsync({clientRef:oe,body:D,attachmentIds:await ua(ee,te.id,te.tenant_id)});const Nn=ii(),Sn=no(Nn);if(Sn===null)return;const Ze=`${ne?"*":f}|${Sn.kind}|${Nn.map(Ve).sort().join(",")}`,un=fe;Ue||(Mt(!0),At(!1));let Un,hn=!1;const gn=(He,Re)=>{if(!(hn||!M())&&(hn=!0,un?.type==="compose"&&ct.current===un)){const Ge={type:"conversation",id:He};!ne&&typeof Re=="string"&&Re.length>0&&Re===f&&(mn.current={key:ba(e,Re,Ge),viewKey:ba(e,f,un),arrived:!1}),Ne(Ge)}};try{const{id:He}=await to({draftKey:Ze,input:Sn,body:D,clientRef:oe,tenantId:ne?void 0:f,remembered:ai.current,create:Re=>Ln.mutateAsync(Re),onCreated:Ue?Re=>{Ue.onCreated?.(Re.id,Re.tenantId),gn(Re.id,Re.tenantId),se.refetch()}:void 0,post:async(Re,Ge)=>{if(!H())throw new Error("Team Bridge write authority changed");return Un=await en.send(Re,{...Ge,expectedAccountId:Rr(e),attachmentIds:await ua(ee,Re,Ge.tenantId)}),Un}});return M()?(gn(He),await se.refetch(),await Er(r,He,void 0,M),Un??{id:He}):H()?Un??{id:He}:void 0}catch(He){throw M()&&At(!0),He}finally{!Ue&&M()&&Mt(!1)}},ri=async(D,oe,ee,Ue,ue,Nn)=>{if(v||ne&&!te||fe===null)throw new Error("schedule requires organization");const Sn=fe;return bp({tenantId:te?.tenant_id??f,conversationId:te?.id??Ue,recipients:ii(),body:D,clientRef:oe,sendAt:ee,attachmentIds:Nn?.ids,stageHeld:Nn?.stageHeld,remembered:ai.current,onCreated:ue,onScheduled:Ze=>{const un=Cp(Sn,ct.current,Ze);un&&Ne(un),se.refetch()},create:Ze=>Ln.mutateAsync(Ze),schedule:en.scheduledCreate})};m.useEffect(()=>{On.reset(),Fn.reset(),Me.reset(),At(!1)},[te?.id,fe]);const De=nn.data?.messages.reduce((D,oe)=>D===void 0||oe.seq>D?oe.seq:D,void 0);m.useEffect(()=>{!M()||te===null||De===void 0||te.status!=="archived"&&(De<=te.last_read_seq||Rt.mutate({seq:De}))},[te?.id,De]);const zt=p!==null&&te?.id===p.conversationId,Xe=zt&&(nn.data?.messages.some(D=>D.id===p.messageId)??!1),Dt=zt&&!Xe&&!p.fetched;m.useEffect(()=>{if(!p||p.fetched||!te||!X||te.id!==p.conversationId||nn.isPending||Xe)return;let D=!0;return r.fetchQuery({...ud(r,te.id,te.tenant_id,X),staleTime:0}).catch(()=>{}).finally(()=>{D&&y(oe=>oe&&{...oe,fetched:!0})}),()=>{D=!1}},[p,te,X,nn.isPending,Xe,r,y]),m.useEffect(()=>{if(!Xe)return;const D=setTimeout(()=>y(null),hc);return()=>clearTimeout(D)},[Xe,y]),m.useEffect(()=>{p&&(te!==null&&te.id!==p.conversationId||p.fetched&&!Xe)&&y(null)},[p,te,Xe,y]),m.useEffect(()=>{if(!p)return;const D=setTimeout(()=>y(null),Yp);return()=>clearTimeout(D)},[p,y]);const Bn=ba(e,te?.tenant_id??f,fe),Kn=t.get(Bn)??{body:""};t.set(Bn,Kn);const Ke=mn.current;Ke&&(Bn===Ke.key?Ke.arrived=!0:(Ke.arrived||Bn!==Ke.viewKey)&&(mn.current=null));const si=mn.current?.key===Bn?mn.current.viewKey:Bn;return n.jsxs(n.Fragment,{children:[n.jsx(Vp,{ownerAudit:ce,draftJournal:Kn,isDraftCurrent:M,threadLink:w,threadsCapabilityState:hi(I.data,"team_bridge_threads"),reactionsCapabilityState:hi(I.data,"team_bridge_reactions"),sendMentionsCapabilityState:hi(I.data,"team_bridge_send_mentions"),agentNotifyCapabilityState:hi(I.data,"team_bridge_agent_notify"),onCloseThread:()=>x(null),listState:se.isPending||ne&&j?be?"ready":"loading":se.isError||ne&&ie?"error":"ready",messageState:te===null?"idle":nn.isPending||Dt?"loading":nn.isError?gc(nn.error)?"forbidden":"error":"ready",conversations:xe,target:fe,messages:nn.data?.messages??[],events:nn.data?.events,highlightMessageId:Xe?p?.messageId:null,organizations:Y,scope:f,totalUnread:$.data?S.total:0,refreshingRows:ke,refreshingUnread:_e,membershipsLoading:j,organizationsFailed:ie,selfAccountId:X,sending:On.isPending||cn,sendFailed:On.isError||Tt,joining:Fn.isPending,joinFailed:Fn.isError,notifyFailed:da(Me,te?.id??null),agentNotifyFailed:da($n,te?.id??null),onJoin:()=>{M()&&Fn.mutate()},onArchive:D=>{M()&&dn.mutate({conversationId:D.id,tenantId:D.tenant_id},{onError:()=>bi(o("ui.teamBridge.archive.toast.archive_failed",{name:Qa(D)}))})},onUnarchive:D=>{M()&&ti.mutate({conversationId:D.id,tenantId:D.tenant_id})},onDelete:D=>M()?Et.mutateAsync({conversationId:D.id,tenantId:D.tenant_id}):Promise.reject(new Error("Team Bridge write authority changed")),unarchiveFailed:da(ti,te?.id??null),archivedState:xn.isPending?"loading":xn.isError?"error":"ready",archivedConversations:ot,archivedHasMore:xn.data?.has_more===!0,archivedLoadingMore:jn.isPending,archivedLoadMoreFailed:jn.isError,onLoadMoreArchived:()=>{M()&&jn.mutate()},onOpenArchived:()=>ye(!0),onRetryArchived:()=>{xn.refetch()},onNotifyChange:D=>{!M()||te===null||Me.mutate({conversationId:te.id,tenantId:te.tenant_id,notify:D})},onAgentNotifyChange:D=>{!M()||te===null||$n.mutate({conversationId:te.id,tenantId:te.tenant_id,notify:D})},onAddMembers:(D,oe)=>!M()||!$t(D,e)?Promise.reject(new Error("Team Bridge write authority changed")):vn.mutateAsync({conversationId:D.id,tenantId:D.tenant_id,members:oe,key:"add"}),onRemoveMember:(D,oe)=>!M()||!Na(D,e)?Promise.reject(new Error("Team Bridge write authority changed")):tn.mutateAsync({conversationId:D.id,tenantId:D.tenant_id,accountId:oe,key:`remove:${oe}`}),memberMutationKey:vn.isPending?"add":tn.isPending?tn.variables?.key??"remove":null,onTarget:D=>{x(null),W(!1),Ne(D)},onSend:Gi,attachmentCapability:fu(N.data),recordingProbe:K,onSchedule:f===Qe&&!te?void 0:ri,onNewChannel:()=>{v||ne||W(!0)},people:Ie,directories:le.members,directoryStates:le.state,directoryErrors:le.errors,onRetryMembers:D=>{ne?le.retry(D):P.refetch()},selfName:pe,peopleState:P.isPending?"loading":P.isError?"error":"ready",peopleError:P.error,peopleIncomplete:(P.data?.unavailable_count??0)>0,onRetryPeople:()=>{P.refetch()},eligibility:F,gatePending:O&&!de,readOnly:v,notice:n.jsx(Uu,{status:N.data}),onRetry:()=>{se.refetch(),U.isError&&U.refetch()},onScopeChange:Be,onChooseOrganization:$e,onRetryMemberships:()=>{U.refetch()}},si),n.jsx(Ku,{open:C,candidates:rn,pending:Ln.isPending,error:Ln.isError?o("ui.teamBridge.create.error"):void 0,onClose:()=>W(!1),onCreate:D=>{M()&&Ln.mutate(D,{onSuccess:oe=>{if(!M())return;W(!1);const ee=oe;ee.id&&Ne({type:"conversation",id:ee.id})}})}})]})};function Zp(e,t,i,a,r,s=!0){const d={type:e.kind==="agent"?"chief":"person",accountId:e.account_id},l=Ii(d,i.filter(c=>c.tenant_id===t),a);return l?s?{type:"conversation",id:l.id}:d:r?null:d}export{Gp as TeamBridgeEligibilityPanel,mk as TeamBridgePage,Vp as TeamBridgePageView,Qp as TeamBridgePreviewBanner,Wp as absolute,Zp as profileMessageTarget,Jp as relative};
|