email-builder-online 3.4.38 → 3.4.39

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.
Files changed (291) hide show
  1. package/dist/editor-sample/src/App/ComponentTree/ComponentTreePanel.d.ts +2 -0
  2. package/dist/editor-sample/src/App/ComponentTree/ComponentTreePanel.d.ts.map +1 -0
  3. package/dist/editor-sample/src/App/ComponentTree/ToggleComponentTreeButton.d.ts +2 -0
  4. package/dist/editor-sample/src/App/ComponentTree/ToggleComponentTreeButton.d.ts.map +1 -0
  5. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/index.d.ts +5 -0
  6. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/index.d.ts.map +1 -0
  7. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts +8 -0
  8. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts.map +1 -0
  9. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts +8 -0
  10. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts.map +1 -0
  11. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.d.ts +8 -0
  12. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.d.ts.map +1 -0
  13. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.d.ts +8 -0
  14. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.d.ts.map +1 -0
  15. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts +8 -0
  16. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts.map +1 -0
  17. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.d.ts +8 -0
  18. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.d.ts.map +1 -0
  19. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts +8 -0
  20. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts.map +1 -0
  21. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.d.ts +8 -0
  22. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.d.ts.map +1 -0
  23. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts +8 -0
  24. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts.map +1 -0
  25. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/NotionTextSidebarPanel.d.ts +8 -0
  26. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/NotionTextSidebarPanel.d.ts.map +1 -0
  27. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/SocialSidebarPanel.d.ts +8 -0
  28. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/SocialSidebarPanel.d.ts.map +1 -0
  29. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts +8 -0
  30. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts.map +1 -0
  31. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.d.ts +8 -0
  32. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.d.ts.map +1 -0
  33. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/containers/StickyWrapper.d.ts +12 -0
  34. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/containers/StickyWrapper.d.ts.map +1 -0
  35. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/containers/Wrapper.d.ts +31 -0
  36. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/containers/Wrapper.d.ts.map +1 -0
  37. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BackgroundImageInput.d.ts +11 -0
  38. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BackgroundImageInput.d.ts.map +1 -0
  39. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.d.ts +8 -0
  40. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.d.ts.map +1 -0
  41. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BorderInput.d.ts +14 -0
  42. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BorderInput.d.ts.map +1 -0
  43. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts +16 -0
  44. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts.map +1 -0
  45. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/LinksInput.d.ts +13 -0
  46. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/LinksInput.d.ts.map +1 -0
  47. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.d.ts +10 -0
  48. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.d.ts.map +1 -0
  49. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.d.ts +10 -0
  50. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.d.ts.map +1 -0
  51. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.d.ts +16 -0
  52. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.d.ts.map +1 -0
  53. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.d.ts +15 -0
  54. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.d.ts.map +1 -0
  55. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ContentAligment.d.ts +7 -0
  56. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ContentAligment.d.ts.map +1 -0
  57. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.d.ts +8 -0
  58. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.d.ts.map +1 -0
  59. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.d.ts +11 -0
  60. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.d.ts.map +1 -0
  61. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.d.ts +8 -0
  62. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.d.ts.map +1 -0
  63. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/HeightInput.d.ts +9 -0
  64. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/HeightInput.d.ts.map +1 -0
  65. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ImageInput.d.ts +9 -0
  66. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ImageInput.d.ts.map +1 -0
  67. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/InputSizeButton.d.ts +21 -0
  68. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/InputSizeButton.d.ts.map +1 -0
  69. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/InputSizeSelector.d.ts +7 -0
  70. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/InputSizeSelector.d.ts.map +1 -0
  71. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/InputWidth.d.ts +12 -0
  72. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/InputWidth.d.ts.map +1 -0
  73. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/LabelProperty.d.ts +6 -0
  74. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/LabelProperty.d.ts.map +1 -0
  75. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/LayoutSelectorInput.d.ts +9 -0
  76. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/LayoutSelectorInput.d.ts.map +1 -0
  77. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/LineHeightInput.d.ts +8 -0
  78. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/LineHeightInput.d.ts.map +1 -0
  79. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.d.ts +14 -0
  80. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.d.ts.map +1 -0
  81. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.d.ts +9 -0
  82. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.d.ts.map +1 -0
  83. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SelectScreen.d.ts +3 -0
  84. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SelectScreen.d.ts.map +1 -0
  85. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/Shape.d.ts +12 -0
  86. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/Shape.d.ts.map +1 -0
  87. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.d.ts +14 -0
  88. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.d.ts.map +1 -0
  89. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SocialMediaInput.d.ts +8 -0
  90. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SocialMediaInput.d.ts.map +1 -0
  91. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.d.ts +8 -0
  92. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.d.ts.map +1 -0
  93. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.d.ts +10 -0
  94. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.d.ts.map +1 -0
  95. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.d.ts +13 -0
  96. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.d.ts.map +1 -0
  97. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/WidthInput.d.ts +10 -0
  98. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/WidthInput.d.ts.map +1 -0
  99. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ai-image-generation.d.ts +8 -0
  100. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ai-image-generation.d.ts.map +1 -0
  101. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/CloseButton.d.ts +8 -0
  102. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/CloseButton.d.ts.map +1 -0
  103. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/ErrorDialog.d.ts +9 -0
  104. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/ErrorDialog.d.ts.map +1 -0
  105. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/ImagePreview.d.ts +7 -0
  106. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/ImagePreview.d.ts.map +1 -0
  107. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/PromptInput.d.ts +8 -0
  108. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/PromptInput.d.ts.map +1 -0
  109. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/Select.d.ts +4 -0
  110. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/Select.d.ts.map +1 -0
  111. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/SkeletonImage.d.ts +2 -0
  112. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/SkeletonImage.d.ts.map +1 -0
  113. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/inputStyles.d.ts +6 -0
  114. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/components/inputStyles.d.ts.map +1 -0
  115. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/hooks.d.ts +5 -0
  116. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/hooks.d.ts.map +1 -0
  117. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.d.ts +13 -0
  118. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.d.ts.map +1 -0
  119. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/types/errors.d.ts +13 -0
  120. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/types/errors.d.ts.map +1 -0
  121. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/utils/errorHandling.d.ts +3 -0
  122. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/utils/errorHandling.d.ts.map +1 -0
  123. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts +12 -0
  124. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts.map +1 -0
  125. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.d.ts +11 -0
  126. package/dist/editor-sample/src/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.d.ts.map +1 -0
  127. package/dist/editor-sample/src/App/InspectorDrawer/StylesPanel.d.ts +2 -0
  128. package/dist/editor-sample/src/App/InspectorDrawer/StylesPanel.d.ts.map +1 -0
  129. package/dist/editor-sample/src/App/InspectorDrawer/ToggleInspectorPanelButton.d.ts +2 -0
  130. package/dist/editor-sample/src/App/InspectorDrawer/ToggleInspectorPanelButton.d.ts.map +1 -0
  131. package/dist/editor-sample/src/App/InspectorDrawer/index.d.ts +5 -0
  132. package/dist/editor-sample/src/App/InspectorDrawer/index.d.ts.map +1 -0
  133. package/dist/editor-sample/src/App/SamplesDrawer/SidebarButton.d.ts +5 -0
  134. package/dist/editor-sample/src/App/SamplesDrawer/SidebarButton.d.ts.map +1 -0
  135. package/dist/editor-sample/src/App/SamplesDrawer/ToggleSamplesPanelButton.d.ts +2 -0
  136. package/dist/editor-sample/src/App/SamplesDrawer/ToggleSamplesPanelButton.d.ts.map +1 -0
  137. package/dist/editor-sample/src/App/SamplesDrawer/index.d.ts +3 -0
  138. package/dist/editor-sample/src/App/SamplesDrawer/index.d.ts.map +1 -0
  139. package/dist/editor-sample/src/App/TemplatePanel/CustomReader/CustomReader.d.ts +10 -0
  140. package/dist/editor-sample/src/App/TemplatePanel/CustomReader/CustomReader.d.ts.map +1 -0
  141. package/dist/editor-sample/src/App/TemplatePanel/DownloadJson/index.d.ts +2 -0
  142. package/dist/editor-sample/src/App/TemplatePanel/DownloadJson/index.d.ts.map +1 -0
  143. package/dist/editor-sample/src/App/TemplatePanel/HtmlPanel.d.ts +2 -0
  144. package/dist/editor-sample/src/App/TemplatePanel/HtmlPanel.d.ts.map +1 -0
  145. package/dist/editor-sample/src/App/TemplatePanel/ImportJson/ImportJsonDialog.d.ts +6 -0
  146. package/dist/editor-sample/src/App/TemplatePanel/ImportJson/ImportJsonDialog.d.ts.map +1 -0
  147. package/dist/editor-sample/src/App/TemplatePanel/ImportJson/index.d.ts +2 -0
  148. package/dist/editor-sample/src/App/TemplatePanel/ImportJson/index.d.ts.map +1 -0
  149. package/dist/editor-sample/src/App/TemplatePanel/ImportJson/validateJsonStringValue.d.ts +11 -0
  150. package/dist/editor-sample/src/App/TemplatePanel/ImportJson/validateJsonStringValue.d.ts.map +1 -0
  151. package/dist/editor-sample/src/App/TemplatePanel/JsonPanel.d.ts +2 -0
  152. package/dist/editor-sample/src/App/TemplatePanel/JsonPanel.d.ts.map +1 -0
  153. package/dist/editor-sample/src/App/TemplatePanel/MainTabsGroup.d.ts +9 -0
  154. package/dist/editor-sample/src/App/TemplatePanel/MainTabsGroup.d.ts.map +1 -0
  155. package/dist/editor-sample/src/App/TemplatePanel/ShareButton.d.ts +2 -0
  156. package/dist/editor-sample/src/App/TemplatePanel/ShareButton.d.ts.map +1 -0
  157. package/dist/editor-sample/src/App/TemplatePanel/helper/HighlightedCodePanel.d.ts +7 -0
  158. package/dist/editor-sample/src/App/TemplatePanel/helper/HighlightedCodePanel.d.ts.map +1 -0
  159. package/dist/editor-sample/src/App/TemplatePanel/helper/cleanDocument.d.ts +9 -0
  160. package/dist/editor-sample/src/App/TemplatePanel/helper/cleanDocument.d.ts.map +1 -0
  161. package/dist/editor-sample/src/App/TemplatePanel/helper/extraFunctions.d.ts +33 -0
  162. package/dist/editor-sample/src/App/TemplatePanel/helper/extraFunctions.d.ts.map +1 -0
  163. package/dist/editor-sample/src/App/TemplatePanel/helper/formatting.d.ts +2 -0
  164. package/dist/editor-sample/src/App/TemplatePanel/helper/formatting.d.ts.map +1 -0
  165. package/dist/editor-sample/src/App/TemplatePanel/helper/globalsStyles.d.ts +2 -0
  166. package/dist/editor-sample/src/App/TemplatePanel/helper/globalsStyles.d.ts.map +1 -0
  167. package/dist/editor-sample/src/App/TemplatePanel/helper/highlighters.d.ts +3 -0
  168. package/dist/editor-sample/src/App/TemplatePanel/helper/highlighters.d.ts.map +1 -0
  169. package/dist/editor-sample/src/App/TemplatePanel/helper/qlcss.d.ts +2 -0
  170. package/dist/editor-sample/src/App/TemplatePanel/helper/qlcss.d.ts.map +1 -0
  171. package/dist/editor-sample/src/App/TemplatePanel/index.d.ts +12 -0
  172. package/dist/editor-sample/src/App/TemplatePanel/index.d.ts.map +1 -0
  173. package/dist/editor-sample/src/App/TemplatePanel/renderToStaticMarkup.d.ts +7 -0
  174. package/dist/editor-sample/src/App/TemplatePanel/renderToStaticMarkup.d.ts.map +1 -0
  175. package/dist/editor-sample/src/App/index.d.ts +16 -0
  176. package/dist/editor-sample/src/App/index.d.ts.map +1 -0
  177. package/dist/editor-sample/src/components/SampleImageGallery.d.ts +2 -0
  178. package/dist/editor-sample/src/components/SampleImageGallery.d.ts.map +1 -0
  179. package/dist/editor-sample/src/constants.d.ts +6 -0
  180. package/dist/editor-sample/src/constants.d.ts.map +1 -0
  181. package/dist/editor-sample/src/documents/blocks/ColumnsContainer/ColumnsContainerEditor.d.ts +3 -0
  182. package/dist/editor-sample/src/documents/blocks/ColumnsContainer/ColumnsContainerEditor.d.ts.map +1 -0
  183. package/dist/editor-sample/src/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +362 -0
  184. package/dist/editor-sample/src/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts.map +1 -0
  185. package/dist/editor-sample/src/documents/blocks/Container/ContainerEditor.d.ts +3 -0
  186. package/dist/editor-sample/src/documents/blocks/Container/ContainerEditor.d.ts.map +1 -0
  187. package/dist/editor-sample/src/documents/blocks/Container/ContainerPropsSchema.d.ts +401 -0
  188. package/dist/editor-sample/src/documents/blocks/Container/ContainerPropsSchema.d.ts.map +1 -0
  189. package/dist/editor-sample/src/documents/blocks/EmailLayout/EmailLayoutEditor.d.ts +3 -0
  190. package/dist/editor-sample/src/documents/blocks/EmailLayout/EmailLayoutEditor.d.ts.map +1 -0
  191. package/dist/editor-sample/src/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +50 -0
  192. package/dist/editor-sample/src/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts.map +1 -0
  193. package/dist/editor-sample/src/documents/blocks/customHooks/useParentImageWidth.d.ts +4 -0
  194. package/dist/editor-sample/src/documents/blocks/customHooks/useParentImageWidth.d.ts.map +1 -0
  195. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.d.ts +9 -0
  196. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.d.ts.map +1 -0
  197. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.d.ts +9 -0
  198. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.d.ts.map +1 -0
  199. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.d.ts +7 -0
  200. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.d.ts.map +1 -0
  201. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.d.ts +6 -0
  202. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.d.ts.map +1 -0
  203. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.d.ts +9 -0
  204. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.d.ts.map +1 -0
  205. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts +8 -0
  206. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts.map +1 -0
  207. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/EditorChildrenNoDragable.d.ts +14 -0
  208. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/EditorChildrenNoDragable.d.ts.map +1 -0
  209. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/index.d.ts +15 -0
  210. package/dist/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/index.d.ts.map +1 -0
  211. package/dist/editor-sample/src/documents/blocks/helpers/TStyle.d.ts +32 -0
  212. package/dist/editor-sample/src/documents/blocks/helpers/TStyle.d.ts.map +1 -0
  213. package/dist/editor-sample/src/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts +10 -0
  214. package/dist/editor-sample/src/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts.map +1 -0
  215. package/dist/editor-sample/src/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.d.ts +8 -0
  216. package/dist/editor-sample/src/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.d.ts.map +1 -0
  217. package/dist/editor-sample/src/documents/blocks/helpers/block-wrappers/TuneMenu.d.ts +8 -0
  218. package/dist/editor-sample/src/documents/blocks/helpers/block-wrappers/TuneMenu.d.ts.map +1 -0
  219. package/dist/editor-sample/src/documents/blocks/helpers/changeWidth.d.ts +4 -0
  220. package/dist/editor-sample/src/documents/blocks/helpers/changeWidth.d.ts.map +1 -0
  221. package/dist/editor-sample/src/documents/blocks/helpers/constants.d.ts +3 -0
  222. package/dist/editor-sample/src/documents/blocks/helpers/constants.d.ts.map +1 -0
  223. package/dist/editor-sample/src/documents/blocks/helpers/fontFamily.d.ts +14 -0
  224. package/dist/editor-sample/src/documents/blocks/helpers/fontFamily.d.ts.map +1 -0
  225. package/dist/editor-sample/src/documents/blocks/helpers/zod.d.ts +22 -0
  226. package/dist/editor-sample/src/documents/blocks/helpers/zod.d.ts.map +1 -0
  227. package/dist/editor-sample/src/documents/editor/ClientOnly.d.ts +5 -0
  228. package/dist/editor-sample/src/documents/editor/ClientOnly.d.ts.map +1 -0
  229. package/dist/editor-sample/src/documents/editor/EJEMPLO_USO_GRANULAR.d.ts +89 -0
  230. package/dist/editor-sample/src/documents/editor/EJEMPLO_USO_GRANULAR.d.ts.map +1 -0
  231. package/dist/editor-sample/src/documents/editor/EditorBlock.d.ts +14 -0
  232. package/dist/editor-sample/src/documents/editor/EditorBlock.d.ts.map +1 -0
  233. package/dist/editor-sample/src/documents/editor/UndoRedoStore.d.ts +64 -0
  234. package/dist/editor-sample/src/documents/editor/UndoRedoStore.d.ts.map +1 -0
  235. package/dist/editor-sample/src/documents/editor/blockHooks.d.ts +77 -0
  236. package/dist/editor-sample/src/documents/editor/blockHooks.d.ts.map +1 -0
  237. package/dist/editor-sample/src/documents/editor/blockSelectors.d.ts +60 -0
  238. package/dist/editor-sample/src/documents/editor/blockSelectors.d.ts.map +1 -0
  239. package/dist/editor-sample/src/documents/editor/blockUpdaters.d.ts +47 -0
  240. package/dist/editor-sample/src/documents/editor/blockUpdaters.d.ts.map +1 -0
  241. package/dist/editor-sample/src/documents/editor/granular.d.ts +125 -0
  242. package/dist/editor-sample/src/documents/editor/granular.d.ts.map +1 -0
  243. package/dist/editor-sample/src/documents/editor/migrateDocument.d.ts +8 -0
  244. package/dist/editor-sample/src/documents/editor/migrateDocument.d.ts.map +1 -0
  245. package/dist/editor-sample/src/getConfiguration/index.d.ts +2 -0
  246. package/dist/editor-sample/src/getConfiguration/index.d.ts.map +1 -0
  247. package/dist/editor-sample/src/getConfiguration/sample/empty-email-message.d.ts +5 -0
  248. package/dist/editor-sample/src/getConfiguration/sample/empty-email-message.d.ts.map +1 -0
  249. package/dist/editor-sample/src/getConfiguration/sample/one-time-passcode.d.ts +4 -0
  250. package/dist/editor-sample/src/getConfiguration/sample/one-time-passcode.d.ts.map +1 -0
  251. package/dist/editor-sample/src/getConfiguration/sample/order-ecommerce.d.ts +4 -0
  252. package/dist/editor-sample/src/getConfiguration/sample/order-ecommerce.d.ts.map +1 -0
  253. package/dist/editor-sample/src/getConfiguration/sample/post-metrics-report.d.ts +4 -0
  254. package/dist/editor-sample/src/getConfiguration/sample/post-metrics-report.d.ts.map +1 -0
  255. package/dist/editor-sample/src/getConfiguration/sample/reservation-reminder.d.ts +4 -0
  256. package/dist/editor-sample/src/getConfiguration/sample/reservation-reminder.d.ts.map +1 -0
  257. package/dist/editor-sample/src/getConfiguration/sample/reset-password.d.ts +4 -0
  258. package/dist/editor-sample/src/getConfiguration/sample/reset-password.d.ts.map +1 -0
  259. package/dist/editor-sample/src/getConfiguration/sample/respond-to-message.d.ts +4 -0
  260. package/dist/editor-sample/src/getConfiguration/sample/respond-to-message.d.ts.map +1 -0
  261. package/dist/editor-sample/src/getConfiguration/sample/subscription-receipt.d.ts +4 -0
  262. package/dist/editor-sample/src/getConfiguration/sample/subscription-receipt.d.ts.map +1 -0
  263. package/dist/editor-sample/src/getConfiguration/sample/test-load-json.d.ts +8 -0
  264. package/dist/editor-sample/src/getConfiguration/sample/test-load-json.d.ts.map +1 -0
  265. package/dist/editor-sample/src/getConfiguration/sample/welcome.d.ts +4 -0
  266. package/dist/editor-sample/src/getConfiguration/sample/welcome.d.ts.map +1 -0
  267. package/dist/editor-sample/src/i18n.d.ts +14 -0
  268. package/dist/editor-sample/src/i18n.d.ts.map +1 -0
  269. package/dist/editor-sample/src/index.d.ts +58 -0
  270. package/dist/editor-sample/src/index.d.ts.map +1 -0
  271. package/dist/editor-sample/src/locales/en-US/common.json.d.ts +44 -0
  272. package/dist/editor-sample/src/locales/en-US/inspector.json.d.ts +224 -0
  273. package/dist/editor-sample/src/locales/es-419/common.json.d.ts +44 -0
  274. package/dist/editor-sample/src/locales/es-419/inspector.json.d.ts +220 -0
  275. package/dist/editor-sample/src/locales/it-IT/common.json.d.ts +44 -0
  276. package/dist/editor-sample/src/locales/it-IT/inspector.json.d.ts +220 -0
  277. package/dist/editor-sample/src/theme.d.ts +8 -0
  278. package/dist/editor-sample/src/theme.d.ts.map +1 -0
  279. package/dist/editor-sample/src/utils/useDebounce.d.ts +8 -0
  280. package/dist/editor-sample/src/utils/useDebounce.d.ts.map +1 -0
  281. package/dist/index.cjs +439 -0
  282. package/dist/index.cjs.map +1 -0
  283. package/dist/index.d.ts +6 -0
  284. package/dist/index.mjs +111403 -0
  285. package/dist/index.mjs.map +1 -0
  286. package/dist/module-BG678m1F.cjs +717 -0
  287. package/dist/module-BG678m1F.cjs.map +1 -0
  288. package/dist/module-BQBGH1lE.js +2957 -0
  289. package/dist/module-BQBGH1lE.js.map +1 -0
  290. package/dist/style.css +1 -0
  291. package/package.json +1 -1
@@ -0,0 +1,2957 @@
1
+ function ze(t) {
2
+ return t && t.__esModule ? t.default : t;
3
+ }
4
+ function C(t, e, n) {
5
+ return e in t ? Object.defineProperty(t, e, {
6
+ value: n,
7
+ enumerable: !0,
8
+ configurable: !0,
9
+ writable: !0
10
+ }) : t[e] = n, t;
11
+ }
12
+ var K, v, Me, P, Ee, se, V = {}, Le = [], et = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
13
+ function M(t, e) {
14
+ for (var n in e) t[n] = e[n];
15
+ return t;
16
+ }
17
+ function De(t) {
18
+ var e = t.parentNode;
19
+ e && e.removeChild(t);
20
+ }
21
+ function Q(t, e, n) {
22
+ var r, o, i, s = {};
23
+ for (i in e) i == "key" ? r = e[i] : i == "ref" ? o = e[i] : s[i] = e[i];
24
+ if (arguments.length > 2 && (s.children = arguments.length > 3 ? K.call(arguments, 2) : n), typeof t == "function" && t.defaultProps != null) for (i in t.defaultProps) s[i] === void 0 && (s[i] = t.defaultProps[i]);
25
+ return I(t, s, r, o, null);
26
+ }
27
+ function I(t, e, n, r, o) {
28
+ var i = {
29
+ type: t,
30
+ props: e,
31
+ key: n,
32
+ ref: r,
33
+ __k: null,
34
+ __: null,
35
+ __b: 0,
36
+ __e: null,
37
+ __d: void 0,
38
+ __c: null,
39
+ __h: null,
40
+ constructor: void 0,
41
+ __v: o ?? ++Me
42
+ };
43
+ return o == null && v.vnode != null && v.vnode(i), i;
44
+ }
45
+ function j() {
46
+ return {
47
+ current: null
48
+ };
49
+ }
50
+ function D(t) {
51
+ return t.children;
52
+ }
53
+ function S(t, e) {
54
+ this.props = t, this.context = e;
55
+ }
56
+ function R(t, e) {
57
+ if (e == null) return t.__ ? R(t.__, t.__.__k.indexOf(t) + 1) : null;
58
+ for (var n; e < t.__k.length; e++) if ((n = t.__k[e]) != null && n.__e != null) return n.__e;
59
+ return typeof t.type == "function" ? R(t) : null;
60
+ }
61
+ function Re(t) {
62
+ var e, n;
63
+ if ((t = t.__) != null && t.__c != null) {
64
+ for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++) if ((n = t.__k[e]) != null && n.__e != null) {
65
+ t.__e = t.__c.base = n.__e;
66
+ break;
67
+ }
68
+ return Re(t);
69
+ }
70
+ }
71
+ function ae(t) {
72
+ (!t.__d && (t.__d = !0) && P.push(t) && !F.__r++ || se !== v.debounceRendering) && ((se = v.debounceRendering) || Ee)(F);
73
+ }
74
+ function F() {
75
+ for (var t; F.__r = P.length; ) t = P.sort(function(e, n) {
76
+ return e.__v.__b - n.__v.__b;
77
+ }), P = [], t.some(function(e) {
78
+ var n, r, o, i, s, l;
79
+ e.__d && (s = (i = (n = e).__v).__e, (l = n.__P) && (r = [], (o = M({}, i)).__v = i.__v + 1, oe(l, i, o, n.__n, l.ownerSVGElement !== void 0, i.__h != null ? [
80
+ s
81
+ ] : null, r, s ?? R(i), i.__h), Te(r, i), i.__e != s && Re(i)));
82
+ });
83
+ }
84
+ function Pe(t, e, n, r, o, i, s, l, c, u) {
85
+ var a, p, h, f, _, m, b, $ = r && r.__k || Le, y = $.length;
86
+ for (n.__k = [], a = 0; a < e.length; a++) if ((f = n.__k[a] = (f = e[a]) == null || typeof f == "boolean" ? null : typeof f == "string" || typeof f == "number" || typeof f == "bigint" ? I(null, f, null, null, f) : Array.isArray(f) ? I(D, {
87
+ children: f
88
+ }, null, null, null) : f.__b > 0 ? I(f.type, f.props, f.key, null, f.__v) : f) != null) {
89
+ if (f.__ = n, f.__b = n.__b + 1, (h = $[a]) === null || h && f.key == h.key && f.type === h.type) $[a] = void 0;
90
+ else for (p = 0; p < y; p++) {
91
+ if ((h = $[p]) && f.key == h.key && f.type === h.type) {
92
+ $[p] = void 0;
93
+ break;
94
+ }
95
+ h = null;
96
+ }
97
+ oe(t, f, h = h || V, o, i, s, l, c, u), _ = f.__e, (p = f.ref) && h.ref != p && (b || (b = []), h.ref && b.push(h.ref, null, f), b.push(p, f.__c || _, f)), _ != null ? (m == null && (m = _), typeof f.type == "function" && f.__k === h.__k ? f.__d = c = Be(f, c, t) : c = He(t, f, h, $, _, c), typeof n.type == "function" && (n.__d = c)) : c && h.__e == c && c.parentNode != t && (c = R(h));
98
+ }
99
+ for (n.__e = m, a = y; a--; ) $[a] != null && (typeof n.type == "function" && $[a].__e != null && $[a].__e == n.__d && (n.__d = R(r, a + 1)), Ie($[a], $[a]));
100
+ if (b) for (a = 0; a < b.length; a++) Ae(b[a], b[++a], b[++a]);
101
+ }
102
+ function Be(t, e, n) {
103
+ for (var r, o = t.__k, i = 0; o && i < o.length; i++) (r = o[i]) && (r.__ = t, e = typeof r.type == "function" ? Be(r, e, n) : He(n, r, r, o, r.__e, e));
104
+ return e;
105
+ }
106
+ function U(t, e) {
107
+ return e = e || [], t == null || typeof t == "boolean" || (Array.isArray(t) ? t.some(function(n) {
108
+ U(n, e);
109
+ }) : e.push(t)), e;
110
+ }
111
+ function He(t, e, n, r, o, i) {
112
+ var s, l, c;
113
+ if (e.__d !== void 0) s = e.__d, e.__d = void 0;
114
+ else if (n == null || o != i || o.parentNode == null) e: if (i == null || i.parentNode !== t) t.appendChild(o), s = null;
115
+ else {
116
+ for (l = i, c = 0; (l = l.nextSibling) && c < r.length; c += 2) if (l == o) break e;
117
+ t.insertBefore(o, i), s = i;
118
+ }
119
+ return s !== void 0 ? s : o.nextSibling;
120
+ }
121
+ function tt(t, e, n, r, o) {
122
+ var i;
123
+ for (i in n) i === "children" || i === "key" || i in e || N(t, i, null, n[i], r);
124
+ for (i in e) o && typeof e[i] != "function" || i === "children" || i === "key" || i === "value" || i === "checked" || n[i] === e[i] || N(t, i, e[i], n[i], r);
125
+ }
126
+ function ce(t, e, n) {
127
+ e[0] === "-" ? t.setProperty(e, n) : t[e] = n == null ? "" : typeof n != "number" || et.test(e) ? n : n + "px";
128
+ }
129
+ function N(t, e, n, r, o) {
130
+ var i;
131
+ e: if (e === "style")
132
+ if (typeof n == "string") t.style.cssText = n;
133
+ else {
134
+ if (typeof r == "string" && (t.style.cssText = r = ""), r) for (e in r) n && e in n || ce(t.style, e, "");
135
+ if (n) for (e in n) r && n[e] === r[e] || ce(t.style, e, n[e]);
136
+ }
137
+ else if (e[0] === "o" && e[1] === "n") i = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + i] = n, n ? r || t.addEventListener(e, i ? de : le, i) : t.removeEventListener(e, i ? de : le, i);
138
+ else if (e !== "dangerouslySetInnerHTML") {
139
+ if (o) e = e.replace(/xlink[H:h]/, "h").replace(/sName$/, "s");
140
+ else if (e !== "href" && e !== "list" && e !== "form" && e !== "tabIndex" && e !== "download" && e in t) try {
141
+ t[e] = n ?? "";
142
+ break e;
143
+ } catch {
144
+ }
145
+ typeof n == "function" || (n != null && (n !== !1 || e[0] === "a" && e[1] === "r") ? t.setAttribute(e, n) : t.removeAttribute(e));
146
+ }
147
+ }
148
+ function le(t) {
149
+ this.l[t.type + !1](v.event ? v.event(t) : t);
150
+ }
151
+ function de(t) {
152
+ this.l[t.type + !0](v.event ? v.event(t) : t);
153
+ }
154
+ function oe(t, e, n, r, o, i, s, l, c) {
155
+ var u, a, p, h, f, _, m, b, $, y, B, x = e.type;
156
+ if (e.constructor !== void 0) return null;
157
+ n.__h != null && (c = n.__h, l = e.__e = n.__e, e.__h = null, i = [
158
+ l
159
+ ]), (u = v.__b) && u(e);
160
+ try {
161
+ e: if (typeof x == "function") {
162
+ if (b = e.props, $ = (u = x.contextType) && r[u.__c], y = u ? $ ? $.props.value : u.__ : r, n.__c ? m = (a = e.__c = n.__c).__ = a.__E : ("prototype" in x && x.prototype.render ? e.__c = a = new x(b, y) : (e.__c = a = new S(b, y), a.constructor = x, a.render = rt), $ && $.sub(a), a.props = b, a.state || (a.state = {}), a.context = y, a.__n = r, p = a.__d = !0, a.__h = []), a.__s == null && (a.__s = a.state), x.getDerivedStateFromProps != null && (a.__s == a.state && (a.__s = M({}, a.__s)), M(a.__s, x.getDerivedStateFromProps(b, a.__s))), h = a.props, f = a.state, p) x.getDerivedStateFromProps == null && a.componentWillMount != null && a.componentWillMount(), a.componentDidMount != null && a.__h.push(a.componentDidMount);
163
+ else {
164
+ if (x.getDerivedStateFromProps == null && b !== h && a.componentWillReceiveProps != null && a.componentWillReceiveProps(b, y), !a.__e && a.shouldComponentUpdate != null && a.shouldComponentUpdate(b, a.__s, y) === !1 || e.__v === n.__v) {
165
+ a.props = b, a.state = a.__s, e.__v !== n.__v && (a.__d = !1), a.__v = e, e.__e = n.__e, e.__k = n.__k, e.__k.forEach(function(H) {
166
+ H && (H.__ = e);
167
+ }), a.__h.length && s.push(a);
168
+ break e;
169
+ }
170
+ a.componentWillUpdate != null && a.componentWillUpdate(b, a.__s, y), a.componentDidUpdate != null && a.__h.push(function() {
171
+ a.componentDidUpdate(h, f, _);
172
+ });
173
+ }
174
+ a.context = y, a.props = b, a.state = a.__s, (u = v.__r) && u(e), a.__d = !1, a.__v = e, a.__P = t, u = a.render(a.props, a.state, a.context), a.state = a.__s, a.getChildContext != null && (r = M(M({}, r), a.getChildContext())), p || a.getSnapshotBeforeUpdate == null || (_ = a.getSnapshotBeforeUpdate(h, f)), B = u != null && u.type === D && u.key == null ? u.props.children : u, Pe(t, Array.isArray(B) ? B : [
175
+ B
176
+ ], e, n, r, o, i, s, l, c), a.base = e.__e, e.__h = null, a.__h.length && s.push(a), m && (a.__E = a.__ = null), a.__e = !1;
177
+ } else i == null && e.__v === n.__v ? (e.__k = n.__k, e.__e = n.__e) : e.__e = nt(n.__e, e, n, r, o, i, s, c);
178
+ (u = v.diffed) && u(e);
179
+ } catch (H) {
180
+ e.__v = null, (c || i != null) && (e.__e = l, e.__h = !!c, i[i.indexOf(l)] = null), v.__e(H, e, n);
181
+ }
182
+ }
183
+ function Te(t, e) {
184
+ v.__c && v.__c(e, t), t.some(function(n) {
185
+ try {
186
+ t = n.__h, n.__h = [], t.some(function(r) {
187
+ r.call(n);
188
+ });
189
+ } catch (r) {
190
+ v.__e(r, n.__v);
191
+ }
192
+ });
193
+ }
194
+ function nt(t, e, n, r, o, i, s, l) {
195
+ var c, u, a, p = n.props, h = e.props, f = e.type, _ = 0;
196
+ if (f === "svg" && (o = !0), i != null) {
197
+ for (; _ < i.length; _++) if ((c = i[_]) && "setAttribute" in c == !!f && (f ? c.localName === f : c.nodeType === 3)) {
198
+ t = c, i[_] = null;
199
+ break;
200
+ }
201
+ }
202
+ if (t == null) {
203
+ if (f === null) return document.createTextNode(h);
204
+ t = o ? document.createElementNS("http://www.w3.org/2000/svg", f) : document.createElement(f, h.is && h), i = null, l = !1;
205
+ }
206
+ if (f === null) p === h || l && t.data === h || (t.data = h);
207
+ else {
208
+ if (i = i && K.call(t.childNodes), u = (p = n.props || V).dangerouslySetInnerHTML, a = h.dangerouslySetInnerHTML, !l) {
209
+ if (i != null) for (p = {}, _ = 0; _ < t.attributes.length; _++) p[t.attributes[_].name] = t.attributes[_].value;
210
+ (a || u) && (a && (u && a.__html == u.__html || a.__html === t.innerHTML) || (t.innerHTML = a && a.__html || ""));
211
+ }
212
+ if (tt(t, h, p, o, l), a) e.__k = [];
213
+ else if (_ = e.props.children, Pe(t, Array.isArray(_) ? _ : [
214
+ _
215
+ ], e, n, r, o && f !== "foreignObject", i, s, i ? i[0] : n.__k && R(n, 0), l), i != null) for (_ = i.length; _--; ) i[_] != null && De(i[_]);
216
+ l || ("value" in h && (_ = h.value) !== void 0 && (_ !== p.value || _ !== t.value || f === "progress" && !_) && N(t, "value", _, p.value, !1), "checked" in h && (_ = h.checked) !== void 0 && _ !== t.checked && N(t, "checked", _, p.checked, !1));
217
+ }
218
+ return t;
219
+ }
220
+ function Ae(t, e, n) {
221
+ try {
222
+ typeof t == "function" ? t(e) : t.current = e;
223
+ } catch (r) {
224
+ v.__e(r, n);
225
+ }
226
+ }
227
+ function Ie(t, e, n) {
228
+ var r, o;
229
+ if (v.unmount && v.unmount(t), (r = t.ref) && (r.current && r.current !== t.__e || Ae(r, null, e)), (r = t.__c) != null) {
230
+ if (r.componentWillUnmount) try {
231
+ r.componentWillUnmount();
232
+ } catch (i) {
233
+ v.__e(i, e);
234
+ }
235
+ r.base = r.__P = null;
236
+ }
237
+ if (r = t.__k) for (o = 0; o < r.length; o++) r[o] && Ie(r[o], e, typeof t.type != "function");
238
+ n || t.__e == null || De(t.__e), t.__e = t.__d = void 0;
239
+ }
240
+ function rt(t, e, n) {
241
+ return this.constructor(t, n);
242
+ }
243
+ function Oe(t, e, n) {
244
+ var r, o, i;
245
+ v.__ && v.__(t, e), o = (r = typeof n == "function") ? null : n && n.__k || e.__k, i = [], oe(e, t = (!r && n || e).__k = Q(D, null, [
246
+ t
247
+ ]), o || V, V, e.ownerSVGElement !== void 0, !r && n ? [
248
+ n
249
+ ] : o ? null : e.firstChild ? K.call(e.childNodes) : null, i, !r && n ? n : o ? o.__e : e.firstChild, r), Te(i, t);
250
+ }
251
+ K = Le.slice, v = {
252
+ __e: function(t, e) {
253
+ for (var n, r, o; e = e.__; ) if ((n = e.__c) && !n.__) try {
254
+ if ((r = n.constructor) && r.getDerivedStateFromError != null && (n.setState(r.getDerivedStateFromError(t)), o = n.__d), n.componentDidCatch != null && (n.componentDidCatch(t), o = n.__d), o) return n.__E = n;
255
+ } catch (i) {
256
+ t = i;
257
+ }
258
+ throw t;
259
+ }
260
+ }, Me = 0, S.prototype.setState = function(t, e) {
261
+ var n;
262
+ n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = M({}, this.state), typeof t == "function" && (t = t(M({}, n), this.props)), t && M(n, t), t != null && this.__v && (e && this.__h.push(e), ae(this));
263
+ }, S.prototype.forceUpdate = function(t) {
264
+ this.__v && (this.__e = !0, t && this.__h.push(t), ae(this));
265
+ }, S.prototype.render = D, P = [], Ee = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, F.__r = 0;
266
+ var it = 0;
267
+ function d(t, e, n, r, o) {
268
+ var i, s, l = {};
269
+ for (s in e) s == "ref" ? i = e[s] : l[s] = e[s];
270
+ var c = {
271
+ type: t,
272
+ props: l,
273
+ key: n,
274
+ ref: i,
275
+ __k: null,
276
+ __: null,
277
+ __b: 0,
278
+ __e: null,
279
+ __d: void 0,
280
+ __c: null,
281
+ __h: null,
282
+ constructor: void 0,
283
+ __v: --it,
284
+ __source: r,
285
+ __self: o
286
+ };
287
+ if (typeof t == "function" && (i = t.defaultProps)) for (s in i) l[s] === void 0 && (l[s] = i[s]);
288
+ return v.vnode && v.vnode(c), c;
289
+ }
290
+ function ot(t, e) {
291
+ try {
292
+ window.localStorage[`emoji-mart.${t}`] = JSON.stringify(e);
293
+ } catch {
294
+ }
295
+ }
296
+ function st(t) {
297
+ try {
298
+ const e = window.localStorage[`emoji-mart.${t}`];
299
+ if (e) return JSON.parse(e);
300
+ } catch {
301
+ }
302
+ }
303
+ var E = {
304
+ set: ot,
305
+ get: st
306
+ };
307
+ const X = /* @__PURE__ */ new Map(), at = [
308
+ {
309
+ v: 15,
310
+ emoji: "🫨"
311
+ },
312
+ {
313
+ v: 14,
314
+ emoji: "🫠"
315
+ },
316
+ {
317
+ v: 13.1,
318
+ emoji: "😶‍🌫️"
319
+ },
320
+ {
321
+ v: 13,
322
+ emoji: "🥸"
323
+ },
324
+ {
325
+ v: 12.1,
326
+ emoji: "🧑‍🦰"
327
+ },
328
+ {
329
+ v: 12,
330
+ emoji: "🥱"
331
+ },
332
+ {
333
+ v: 11,
334
+ emoji: "🥰"
335
+ },
336
+ {
337
+ v: 5,
338
+ emoji: "🤩"
339
+ },
340
+ {
341
+ v: 4,
342
+ emoji: "👱‍♀️"
343
+ },
344
+ {
345
+ v: 3,
346
+ emoji: "🤣"
347
+ },
348
+ {
349
+ v: 2,
350
+ emoji: "👋🏻"
351
+ },
352
+ {
353
+ v: 1,
354
+ emoji: "🙃"
355
+ }
356
+ ];
357
+ function ct() {
358
+ for (const { v: t, emoji: e } of at)
359
+ if (Ve(e)) return t;
360
+ }
361
+ function lt() {
362
+ return !Ve("🇨🇦");
363
+ }
364
+ function Ve(t) {
365
+ if (X.has(t)) return X.get(t);
366
+ const e = dt(t);
367
+ return X.set(t, e), e;
368
+ }
369
+ const dt = (() => {
370
+ let t = null;
371
+ try {
372
+ navigator.userAgent.includes("jsdom") || (t = document.createElement("canvas").getContext("2d", {
373
+ willReadFrequently: !0
374
+ }));
375
+ } catch {
376
+ }
377
+ if (!t) return () => !1;
378
+ const e = 25, n = 20, r = Math.floor(e / 2);
379
+ return t.font = r + "px Arial, Sans-Serif", t.textBaseline = "top", t.canvas.width = n * 2, t.canvas.height = e, (o) => {
380
+ t.clearRect(0, 0, n * 2, e), t.fillStyle = "#FF0000", t.fillText(o, 0, 22), t.fillStyle = "#0000FF", t.fillText(o, n, 22);
381
+ const i = t.getImageData(0, 0, n, e).data, s = i.length;
382
+ let l = 0;
383
+ for (; l < s && !i[l + 3]; l += 4) ;
384
+ if (l >= s) return !1;
385
+ const c = n + l / 4 % n, u = Math.floor(l / 4 / n), a = t.getImageData(c, u, 1, 1).data;
386
+ return !(i[l] !== a[0] || i[l + 2] !== a[2] || t.measureText(o).width >= n);
387
+ };
388
+ })();
389
+ var ue = {
390
+ latestVersion: ct,
391
+ noCountryFlags: lt
392
+ };
393
+ const ee = [
394
+ "+1",
395
+ "grinning",
396
+ "kissing_heart",
397
+ "heart_eyes",
398
+ "laughing",
399
+ "stuck_out_tongue_winking_eye",
400
+ "sweat_smile",
401
+ "joy",
402
+ "scream",
403
+ "disappointed",
404
+ "unamused",
405
+ "weary",
406
+ "sob",
407
+ "sunglasses",
408
+ "heart"
409
+ ];
410
+ let k = null;
411
+ function ut(t) {
412
+ k || (k = E.get("frequently") || {});
413
+ const e = t.id || t;
414
+ e && (k[e] || (k[e] = 0), k[e] += 1, E.set("last", e), E.set("frequently", k));
415
+ }
416
+ function ht({ maxFrequentRows: t, perLine: e }) {
417
+ if (!t) return [];
418
+ k || (k = E.get("frequently"));
419
+ let n = [];
420
+ if (!k) {
421
+ k = {};
422
+ for (let i in ee.slice(0, e)) {
423
+ const s = ee[i];
424
+ k[s] = e - i, n.push(s);
425
+ }
426
+ return n;
427
+ }
428
+ const r = t * e, o = E.get("last");
429
+ for (let i in k) n.push(i);
430
+ if (n.sort((i, s) => {
431
+ const l = k[s], c = k[i];
432
+ return l == c ? i.localeCompare(s) : l - c;
433
+ }), n.length > r) {
434
+ const i = n.slice(r);
435
+ n = n.slice(0, r);
436
+ for (let s of i)
437
+ s != o && delete k[s];
438
+ o && n.indexOf(o) == -1 && (delete k[n[n.length - 1]], n.splice(-1, 1, o)), E.set("frequently", k);
439
+ }
440
+ return n;
441
+ }
442
+ var Fe = {
443
+ add: ut,
444
+ get: ht,
445
+ DEFAULTS: ee
446
+ }, Ue = {};
447
+ Ue = JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldn’t be found","pick":"Pick an emoji…","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}');
448
+ var z = {
449
+ autoFocus: {
450
+ value: !1
451
+ },
452
+ dynamicWidth: {
453
+ value: !1
454
+ },
455
+ emojiButtonColors: {
456
+ value: null
457
+ },
458
+ emojiButtonRadius: {
459
+ value: "100%"
460
+ },
461
+ emojiButtonSize: {
462
+ value: 36
463
+ },
464
+ emojiSize: {
465
+ value: 24
466
+ },
467
+ emojiVersion: {
468
+ value: 15,
469
+ choices: [
470
+ 1,
471
+ 2,
472
+ 3,
473
+ 4,
474
+ 5,
475
+ 11,
476
+ 12,
477
+ 12.1,
478
+ 13,
479
+ 13.1,
480
+ 14,
481
+ 15
482
+ ]
483
+ },
484
+ exceptEmojis: {
485
+ value: []
486
+ },
487
+ icons: {
488
+ value: "auto",
489
+ choices: [
490
+ "auto",
491
+ "outline",
492
+ "solid"
493
+ ]
494
+ },
495
+ locale: {
496
+ value: "en",
497
+ choices: [
498
+ "en",
499
+ "ar",
500
+ "be",
501
+ "cs",
502
+ "de",
503
+ "es",
504
+ "fa",
505
+ "fi",
506
+ "fr",
507
+ "hi",
508
+ "it",
509
+ "ja",
510
+ "ko",
511
+ "nl",
512
+ "pl",
513
+ "pt",
514
+ "ru",
515
+ "sa",
516
+ "tr",
517
+ "uk",
518
+ "vi",
519
+ "zh"
520
+ ]
521
+ },
522
+ maxFrequentRows: {
523
+ value: 4
524
+ },
525
+ navPosition: {
526
+ value: "top",
527
+ choices: [
528
+ "top",
529
+ "bottom",
530
+ "none"
531
+ ]
532
+ },
533
+ noCountryFlags: {
534
+ value: !1
535
+ },
536
+ noResultsEmoji: {
537
+ value: null
538
+ },
539
+ perLine: {
540
+ value: 9
541
+ },
542
+ previewEmoji: {
543
+ value: null
544
+ },
545
+ previewPosition: {
546
+ value: "bottom",
547
+ choices: [
548
+ "top",
549
+ "bottom",
550
+ "none"
551
+ ]
552
+ },
553
+ searchPosition: {
554
+ value: "sticky",
555
+ choices: [
556
+ "sticky",
557
+ "static",
558
+ "none"
559
+ ]
560
+ },
561
+ set: {
562
+ value: "native",
563
+ choices: [
564
+ "native",
565
+ "apple",
566
+ "facebook",
567
+ "google",
568
+ "twitter"
569
+ ]
570
+ },
571
+ skin: {
572
+ value: 1,
573
+ choices: [
574
+ 1,
575
+ 2,
576
+ 3,
577
+ 4,
578
+ 5,
579
+ 6
580
+ ]
581
+ },
582
+ skinTonePosition: {
583
+ value: "preview",
584
+ choices: [
585
+ "preview",
586
+ "search",
587
+ "none"
588
+ ]
589
+ },
590
+ theme: {
591
+ value: "auto",
592
+ choices: [
593
+ "auto",
594
+ "light",
595
+ "dark"
596
+ ]
597
+ },
598
+ // Data
599
+ categories: null,
600
+ categoryIcons: null,
601
+ custom: null,
602
+ data: null,
603
+ i18n: null,
604
+ // Callbacks
605
+ getImageURL: null,
606
+ getSpritesheetURL: null,
607
+ onAddCustomEmoji: null,
608
+ onClickOutside: null,
609
+ onEmojiSelect: null,
610
+ // Deprecated
611
+ stickySearch: {
612
+ deprecated: !0,
613
+ value: !0
614
+ }
615
+ };
616
+ let w = null, g = null;
617
+ const J = {};
618
+ async function he(t) {
619
+ if (J[t]) return J[t];
620
+ const n = await (await fetch(t)).json();
621
+ return J[t] = n, n;
622
+ }
623
+ let Y = null, Ne = null, We = !1;
624
+ function G(t, { caller: e } = {}) {
625
+ return Y || (Y = new Promise((n) => {
626
+ Ne = n;
627
+ })), t ? ft(t) : e && !We && console.warn(`\`${e}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`), Y;
628
+ }
629
+ async function ft(t) {
630
+ We = !0;
631
+ let { emojiVersion: e, set: n, locale: r } = t;
632
+ if (e || (e = z.emojiVersion.value), n || (n = z.set.value), r || (r = z.locale.value), g)
633
+ g.categories = g.categories.filter((c) => !c.name);
634
+ else {
635
+ g = (typeof t.data == "function" ? await t.data() : t.data) || await he(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${e}/${n}.json`), g.emoticons = {}, g.natives = {}, g.categories.unshift({
636
+ id: "frequent",
637
+ emojis: []
638
+ });
639
+ for (const c in g.aliases) {
640
+ const u = g.aliases[c], a = g.emojis[u];
641
+ a && (a.aliases || (a.aliases = []), a.aliases.push(c));
642
+ }
643
+ g.originalCategories = g.categories;
644
+ }
645
+ if (w = (typeof t.i18n == "function" ? await t.i18n() : t.i18n) || (r == "en" ? /* @__PURE__ */ ze(Ue) : await he(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${r}.json`)), t.custom) for (let c in t.custom) {
646
+ c = parseInt(c);
647
+ const u = t.custom[c], a = t.custom[c - 1];
648
+ if (!(!u.emojis || !u.emojis.length)) {
649
+ u.id || (u.id = `custom_${c + 1}`), u.name || (u.name = w.categories.custom), a && !u.icon && (u.target = a.target || a), g.categories.push(u);
650
+ for (const p of u.emojis) g.emojis[p.id] = p;
651
+ }
652
+ }
653
+ t.categories && (g.categories = g.originalCategories.filter((c) => t.categories.indexOf(c.id) != -1).sort((c, u) => {
654
+ const a = t.categories.indexOf(c.id), p = t.categories.indexOf(u.id);
655
+ return a - p;
656
+ }));
657
+ let o = null, i = null;
658
+ n == "native" && (o = ue.latestVersion(), i = t.noCountryFlags || ue.noCountryFlags());
659
+ let s = g.categories.length, l = !1;
660
+ for (; s--; ) {
661
+ const c = g.categories[s];
662
+ if (c.id == "frequent") {
663
+ let { maxFrequentRows: p, perLine: h } = t;
664
+ p = p >= 0 ? p : z.maxFrequentRows.value, h || (h = z.perLine.value), c.emojis = Fe.get({
665
+ maxFrequentRows: p,
666
+ perLine: h
667
+ });
668
+ }
669
+ if (!c.emojis || !c.emojis.length) {
670
+ g.categories.splice(s, 1);
671
+ continue;
672
+ }
673
+ const { categoryIcons: u } = t;
674
+ if (u) {
675
+ const p = u[c.id];
676
+ p && !c.icon && (c.icon = p);
677
+ }
678
+ let a = c.emojis.length;
679
+ for (; a--; ) {
680
+ const p = c.emojis[a], h = p.id ? p : g.emojis[p], f = () => {
681
+ c.emojis.splice(a, 1);
682
+ };
683
+ if (!h || t.exceptEmojis && t.exceptEmojis.includes(h.id)) {
684
+ f();
685
+ continue;
686
+ }
687
+ if (o && h.version > o) {
688
+ f();
689
+ continue;
690
+ }
691
+ if (i && c.id == "flags" && !bt.includes(h.id)) {
692
+ f();
693
+ continue;
694
+ }
695
+ if (!h.search) {
696
+ if (l = !0, h.search = "," + [
697
+ [
698
+ h.id,
699
+ !1
700
+ ],
701
+ [
702
+ h.name,
703
+ !0
704
+ ],
705
+ [
706
+ h.keywords,
707
+ !1
708
+ ],
709
+ [
710
+ h.emoticons,
711
+ !1
712
+ ]
713
+ ].map(([m, b]) => {
714
+ if (m)
715
+ return (Array.isArray(m) ? m : [
716
+ m
717
+ ]).map(($) => (b ? $.split(/[-|_|\s]+/) : [
718
+ $
719
+ ]).map((y) => y.toLowerCase())).flat();
720
+ }).flat().filter((m) => m && m.trim()).join(","), h.emoticons) for (const m of h.emoticons)
721
+ g.emoticons[m] || (g.emoticons[m] = h.id);
722
+ let _ = 0;
723
+ for (const m of h.skins) {
724
+ if (!m) continue;
725
+ _++;
726
+ const { native: b } = m;
727
+ b && (g.natives[b] = h.id, h.search += `,${b}`);
728
+ const $ = _ == 1 ? "" : `:skin-tone-${_}:`;
729
+ m.shortcodes = `:${h.id}:${$}`;
730
+ }
731
+ }
732
+ }
733
+ }
734
+ l && L.reset(), Ne();
735
+ }
736
+ function qe(t, e, n) {
737
+ t || (t = {});
738
+ const r = {};
739
+ for (let o in e) r[o] = Ke(o, t, e, n);
740
+ return r;
741
+ }
742
+ function Ke(t, e, n, r) {
743
+ const o = n[t];
744
+ let i = r && r.getAttribute(t) || (e[t] != null && e[t] != null ? e[t] : null);
745
+ return o && (i != null && o.value && typeof o.value != typeof i && (typeof o.value == "boolean" ? i = i != "false" : i = o.value.constructor(i)), o.transform && i && (i = o.transform(i)), (i == null || o.choices && o.choices.indexOf(i) == -1) && (i = o.value)), i;
746
+ }
747
+ const pt = /^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/;
748
+ let te = null;
749
+ function vt(t) {
750
+ return t.id ? t : g.emojis[t] || g.emojis[g.aliases[t]] || g.emojis[g.natives[t]];
751
+ }
752
+ function _t() {
753
+ te = null;
754
+ }
755
+ async function gt(t, { maxResults: e, caller: n } = {}) {
756
+ if (!t || !t.trim().length) return null;
757
+ e || (e = 90), await G(null, {
758
+ caller: n || "SearchIndex.search"
759
+ });
760
+ const r = t.toLowerCase().replace(/(\w)-/, "$1 ").split(/[\s|,]+/).filter((l, c, u) => l.trim() && u.indexOf(l) == c);
761
+ if (!r.length) return;
762
+ let o = te || (te = Object.values(g.emojis)), i, s;
763
+ for (const l of r) {
764
+ if (!o.length) break;
765
+ i = [], s = {};
766
+ for (const c of o) {
767
+ if (!c.search) continue;
768
+ const u = c.search.indexOf(`,${l}`);
769
+ u != -1 && (i.push(c), s[c.id] || (s[c.id] = 0), s[c.id] += c.id == l ? 0 : u + 1);
770
+ }
771
+ o = i;
772
+ }
773
+ return i.length < 2 || (i.sort((l, c) => {
774
+ const u = s[l.id], a = s[c.id];
775
+ return u == a ? l.id.localeCompare(c.id) : u - a;
776
+ }), i.length > e && (i = i.slice(0, e))), i;
777
+ }
778
+ var L = {
779
+ search: gt,
780
+ get: vt,
781
+ reset: _t,
782
+ SHORTCODES_REGEX: pt
783
+ };
784
+ const bt = [
785
+ "checkered_flag",
786
+ "crossed_flags",
787
+ "pirate_flag",
788
+ "rainbow-flag",
789
+ "transgender_flag",
790
+ "triangular_flag_on_post",
791
+ "waving_black_flag",
792
+ "waving_white_flag"
793
+ ];
794
+ function mt(t, e) {
795
+ return Array.isArray(t) && Array.isArray(e) && t.length === e.length && t.every((n, r) => n == e[r]);
796
+ }
797
+ async function $t(t = 1) {
798
+ for (let e in [
799
+ ...Array(t).keys()
800
+ ]) await new Promise(requestAnimationFrame);
801
+ }
802
+ function kt(t, { skinIndex: e = 0 } = {}) {
803
+ const n = t.skins[e] || (e = 0, t.skins[e]), r = {
804
+ id: t.id,
805
+ name: t.name,
806
+ native: n.native,
807
+ unified: n.unified,
808
+ keywords: t.keywords,
809
+ shortcodes: n.shortcodes || t.shortcodes
810
+ };
811
+ return t.skins.length > 1 && (r.skin = e + 1), n.src && (r.src = n.src), t.aliases && t.aliases.length && (r.aliases = t.aliases), t.emoticons && t.emoticons.length && (r.emoticons = t.emoticons), r;
812
+ }
813
+ const wt = {
814
+ activity: {
815
+ outline: /* @__PURE__ */ d("svg", {
816
+ xmlns: "http://www.w3.org/2000/svg",
817
+ viewBox: "0 0 24 24",
818
+ children: /* @__PURE__ */ d("path", {
819
+ d: "M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"
820
+ })
821
+ }),
822
+ solid: /* @__PURE__ */ d("svg", {
823
+ xmlns: "http://www.w3.org/2000/svg",
824
+ viewBox: "0 0 512 512",
825
+ children: /* @__PURE__ */ d("path", {
826
+ d: "M16.17 337.5c0 44.98 7.565 83.54 13.98 107.9C35.22 464.3 50.46 496 174.9 496c9.566 0 19.59-.4707 29.84-1.271L17.33 307.3C16.53 317.6 16.17 327.7 16.17 337.5zM495.8 174.5c0-44.98-7.565-83.53-13.98-107.9c-4.688-17.54-18.34-31.23-36.04-35.95C435.5 27.91 392.9 16 337 16c-9.564 0-19.59 .4707-29.84 1.271l187.5 187.5C495.5 194.4 495.8 184.3 495.8 174.5zM26.77 248.8l236.3 236.3c142-36.1 203.9-150.4 222.2-221.1L248.9 26.87C106.9 62.96 45.07 177.2 26.77 248.8zM256 335.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L164.7 283.3C161.6 280.2 160 276.1 160 271.1c0-8.529 6.865-16 16-16c4.095 0 8.189 1.562 11.31 4.688l64.01 64C254.4 327.8 256 331.9 256 335.1zM304 287.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L212.7 235.3C209.6 232.2 208 228.1 208 223.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01C302.5 279.8 304 283.9 304 287.1zM256 175.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01c3.125 3.125 4.688 7.219 4.688 11.31c0 9.133-7.468 16-16 16c-4.094 0-8.189-1.562-11.31-4.688l-64.01-64.01C257.6 184.2 256 180.1 256 175.1z"
827
+ })
828
+ })
829
+ },
830
+ custom: /* @__PURE__ */ d("svg", {
831
+ xmlns: "http://www.w3.org/2000/svg",
832
+ viewBox: "0 0 448 512",
833
+ children: /* @__PURE__ */ d("path", {
834
+ d: "M417.1 368c-5.937 10.27-16.69 16-27.75 16c-5.422 0-10.92-1.375-15.97-4.281L256 311.4V448c0 17.67-14.33 32-31.1 32S192 465.7 192 448V311.4l-118.3 68.29C68.67 382.6 63.17 384 57.75 384c-11.06 0-21.81-5.734-27.75-16c-8.828-15.31-3.594-34.88 11.72-43.72L159.1 256L41.72 187.7C26.41 178.9 21.17 159.3 29.1 144C36.63 132.5 49.26 126.7 61.65 128.2C65.78 128.7 69.88 130.1 73.72 132.3L192 200.6V64c0-17.67 14.33-32 32-32S256 46.33 256 64v136.6l118.3-68.29c3.838-2.213 7.939-3.539 12.07-4.051C398.7 126.7 411.4 132.5 417.1 144c8.828 15.31 3.594 34.88-11.72 43.72L288 256l118.3 68.28C421.6 333.1 426.8 352.7 417.1 368z"
835
+ })
836
+ }),
837
+ flags: {
838
+ outline: /* @__PURE__ */ d("svg", {
839
+ xmlns: "http://www.w3.org/2000/svg",
840
+ viewBox: "0 0 24 24",
841
+ children: /* @__PURE__ */ d("path", {
842
+ d: "M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"
843
+ })
844
+ }),
845
+ solid: /* @__PURE__ */ d("svg", {
846
+ xmlns: "http://www.w3.org/2000/svg",
847
+ viewBox: "0 0 512 512",
848
+ children: /* @__PURE__ */ d("path", {
849
+ d: "M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"
850
+ })
851
+ })
852
+ },
853
+ foods: {
854
+ outline: /* @__PURE__ */ d("svg", {
855
+ xmlns: "http://www.w3.org/2000/svg",
856
+ viewBox: "0 0 24 24",
857
+ children: /* @__PURE__ */ d("path", {
858
+ d: "M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"
859
+ })
860
+ }),
861
+ solid: /* @__PURE__ */ d("svg", {
862
+ xmlns: "http://www.w3.org/2000/svg",
863
+ viewBox: "0 0 512 512",
864
+ children: /* @__PURE__ */ d("path", {
865
+ d: "M481.9 270.1C490.9 279.1 496 291.3 496 304C496 316.7 490.9 328.9 481.9 337.9C472.9 346.9 460.7 352 448 352H64C51.27 352 39.06 346.9 30.06 337.9C21.06 328.9 16 316.7 16 304C16 291.3 21.06 279.1 30.06 270.1C39.06 261.1 51.27 256 64 256H448C460.7 256 472.9 261.1 481.9 270.1zM475.3 388.7C478.3 391.7 480 395.8 480 400V416C480 432.1 473.3 449.3 461.3 461.3C449.3 473.3 432.1 480 416 480H96C79.03 480 62.75 473.3 50.75 461.3C38.74 449.3 32 432.1 32 416V400C32 395.8 33.69 391.7 36.69 388.7C39.69 385.7 43.76 384 48 384H464C468.2 384 472.3 385.7 475.3 388.7zM50.39 220.8C45.93 218.6 42.03 215.5 38.97 211.6C35.91 207.7 33.79 203.2 32.75 198.4C31.71 193.5 31.8 188.5 32.99 183.7C54.98 97.02 146.5 32 256 32C365.5 32 457 97.02 479 183.7C480.2 188.5 480.3 193.5 479.2 198.4C478.2 203.2 476.1 207.7 473 211.6C469.1 215.5 466.1 218.6 461.6 220.8C457.2 222.9 452.3 224 447.3 224H64.67C59.73 224 54.84 222.9 50.39 220.8zM372.7 116.7C369.7 119.7 368 123.8 368 128C368 131.2 368.9 134.3 370.7 136.9C372.5 139.5 374.1 141.6 377.9 142.8C380.8 143.1 384 144.3 387.1 143.7C390.2 143.1 393.1 141.6 395.3 139.3C397.6 137.1 399.1 134.2 399.7 131.1C400.3 128 399.1 124.8 398.8 121.9C397.6 118.1 395.5 116.5 392.9 114.7C390.3 112.9 387.2 111.1 384 111.1C379.8 111.1 375.7 113.7 372.7 116.7V116.7zM244.7 84.69C241.7 87.69 240 91.76 240 96C240 99.16 240.9 102.3 242.7 104.9C244.5 107.5 246.1 109.6 249.9 110.8C252.8 111.1 256 112.3 259.1 111.7C262.2 111.1 265.1 109.6 267.3 107.3C269.6 105.1 271.1 102.2 271.7 99.12C272.3 96.02 271.1 92.8 270.8 89.88C269.6 86.95 267.5 84.45 264.9 82.7C262.3 80.94 259.2 79.1 256 79.1C251.8 79.1 247.7 81.69 244.7 84.69V84.69zM116.7 116.7C113.7 119.7 112 123.8 112 128C112 131.2 112.9 134.3 114.7 136.9C116.5 139.5 118.1 141.6 121.9 142.8C124.8 143.1 128 144.3 131.1 143.7C134.2 143.1 137.1 141.6 139.3 139.3C141.6 137.1 143.1 134.2 143.7 131.1C144.3 128 143.1 124.8 142.8 121.9C141.6 118.1 139.5 116.5 136.9 114.7C134.3 112.9 131.2 111.1 128 111.1C123.8 111.1 119.7 113.7 116.7 116.7L116.7 116.7z"
866
+ })
867
+ })
868
+ },
869
+ frequent: {
870
+ outline: /* @__PURE__ */ d("svg", {
871
+ xmlns: "http://www.w3.org/2000/svg",
872
+ viewBox: "0 0 24 24",
873
+ children: [
874
+ /* @__PURE__ */ d("path", {
875
+ d: "M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"
876
+ }),
877
+ /* @__PURE__ */ d("path", {
878
+ d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"
879
+ })
880
+ ]
881
+ }),
882
+ solid: /* @__PURE__ */ d("svg", {
883
+ xmlns: "http://www.w3.org/2000/svg",
884
+ viewBox: "0 0 512 512",
885
+ children: /* @__PURE__ */ d("path", {
886
+ d: "M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"
887
+ })
888
+ })
889
+ },
890
+ nature: {
891
+ outline: /* @__PURE__ */ d("svg", {
892
+ xmlns: "http://www.w3.org/2000/svg",
893
+ viewBox: "0 0 24 24",
894
+ children: [
895
+ /* @__PURE__ */ d("path", {
896
+ d: "M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"
897
+ }),
898
+ /* @__PURE__ */ d("path", {
899
+ d: "M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"
900
+ })
901
+ ]
902
+ }),
903
+ solid: /* @__PURE__ */ d("svg", {
904
+ xmlns: "http://www.w3.org/2000/svg",
905
+ viewBox: "0 0 576 512",
906
+ children: /* @__PURE__ */ d("path", {
907
+ d: "M332.7 19.85C334.6 8.395 344.5 0 356.1 0C363.6 0 370.6 3.52 375.1 9.502L392 32H444.1C456.8 32 469.1 37.06 478.1 46.06L496 64H552C565.3 64 576 74.75 576 88V112C576 156.2 540.2 192 496 192H426.7L421.6 222.5L309.6 158.5L332.7 19.85zM448 64C439.2 64 432 71.16 432 80C432 88.84 439.2 96 448 96C456.8 96 464 88.84 464 80C464 71.16 456.8 64 448 64zM416 256.1V480C416 497.7 401.7 512 384 512H352C334.3 512 320 497.7 320 480V364.8C295.1 377.1 268.8 384 240 384C211.2 384 184 377.1 160 364.8V480C160 497.7 145.7 512 128 512H96C78.33 512 64 497.7 64 480V249.8C35.23 238.9 12.64 214.5 4.836 183.3L.9558 167.8C-3.331 150.6 7.094 133.2 24.24 128.1C41.38 124.7 58.76 135.1 63.05 152.2L66.93 167.8C70.49 182 83.29 191.1 97.97 191.1H303.8L416 256.1z"
908
+ })
909
+ })
910
+ },
911
+ objects: {
912
+ outline: /* @__PURE__ */ d("svg", {
913
+ xmlns: "http://www.w3.org/2000/svg",
914
+ viewBox: "0 0 24 24",
915
+ children: [
916
+ /* @__PURE__ */ d("path", {
917
+ d: "M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"
918
+ }),
919
+ /* @__PURE__ */ d("path", {
920
+ d: "M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"
921
+ })
922
+ ]
923
+ }),
924
+ solid: /* @__PURE__ */ d("svg", {
925
+ xmlns: "http://www.w3.org/2000/svg",
926
+ viewBox: "0 0 384 512",
927
+ children: /* @__PURE__ */ d("path", {
928
+ d: "M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"
929
+ })
930
+ })
931
+ },
932
+ people: {
933
+ outline: /* @__PURE__ */ d("svg", {
934
+ xmlns: "http://www.w3.org/2000/svg",
935
+ viewBox: "0 0 24 24",
936
+ children: [
937
+ /* @__PURE__ */ d("path", {
938
+ d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"
939
+ }),
940
+ /* @__PURE__ */ d("path", {
941
+ d: "M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"
942
+ })
943
+ ]
944
+ }),
945
+ solid: /* @__PURE__ */ d("svg", {
946
+ xmlns: "http://www.w3.org/2000/svg",
947
+ viewBox: "0 0 512 512",
948
+ children: /* @__PURE__ */ d("path", {
949
+ d: "M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 432C332.1 432 396.2 382 415.2 314.1C419.1 300.4 407.8 288 393.6 288H118.4C104.2 288 92.92 300.4 96.76 314.1C115.8 382 179.9 432 256 432V432zM176.4 160C158.7 160 144.4 174.3 144.4 192C144.4 209.7 158.7 224 176.4 224C194 224 208.4 209.7 208.4 192C208.4 174.3 194 160 176.4 160zM336.4 224C354 224 368.4 209.7 368.4 192C368.4 174.3 354 160 336.4 160C318.7 160 304.4 174.3 304.4 192C304.4 209.7 318.7 224 336.4 224z"
950
+ })
951
+ })
952
+ },
953
+ places: {
954
+ outline: /* @__PURE__ */ d("svg", {
955
+ xmlns: "http://www.w3.org/2000/svg",
956
+ viewBox: "0 0 24 24",
957
+ children: [
958
+ /* @__PURE__ */ d("path", {
959
+ d: "M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"
960
+ }),
961
+ /* @__PURE__ */ d("path", {
962
+ d: "M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"
963
+ })
964
+ ]
965
+ }),
966
+ solid: /* @__PURE__ */ d("svg", {
967
+ xmlns: "http://www.w3.org/2000/svg",
968
+ viewBox: "0 0 512 512",
969
+ children: /* @__PURE__ */ d("path", {
970
+ d: "M39.61 196.8L74.8 96.29C88.27 57.78 124.6 32 165.4 32H346.6C387.4 32 423.7 57.78 437.2 96.29L472.4 196.8C495.6 206.4 512 229.3 512 256V448C512 465.7 497.7 480 480 480H448C430.3 480 416 465.7 416 448V400H96V448C96 465.7 81.67 480 64 480H32C14.33 480 0 465.7 0 448V256C0 229.3 16.36 206.4 39.61 196.8V196.8zM109.1 192H402.9L376.8 117.4C372.3 104.6 360.2 96 346.6 96H165.4C151.8 96 139.7 104.6 135.2 117.4L109.1 192zM96 256C78.33 256 64 270.3 64 288C64 305.7 78.33 320 96 320C113.7 320 128 305.7 128 288C128 270.3 113.7 256 96 256zM416 320C433.7 320 448 305.7 448 288C448 270.3 433.7 256 416 256C398.3 256 384 270.3 384 288C384 305.7 398.3 320 416 320z"
971
+ })
972
+ })
973
+ },
974
+ symbols: {
975
+ outline: /* @__PURE__ */ d("svg", {
976
+ xmlns: "http://www.w3.org/2000/svg",
977
+ viewBox: "0 0 24 24",
978
+ children: /* @__PURE__ */ d("path", {
979
+ d: "M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"
980
+ })
981
+ }),
982
+ solid: /* @__PURE__ */ d("svg", {
983
+ xmlns: "http://www.w3.org/2000/svg",
984
+ viewBox: "0 0 512 512",
985
+ children: /* @__PURE__ */ d("path", {
986
+ d: "M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"
987
+ })
988
+ })
989
+ }
990
+ }, yt = {
991
+ loupe: /* @__PURE__ */ d("svg", {
992
+ xmlns: "http://www.w3.org/2000/svg",
993
+ viewBox: "0 0 20 20",
994
+ children: /* @__PURE__ */ d("path", {
995
+ d: "M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"
996
+ })
997
+ }),
998
+ delete: /* @__PURE__ */ d("svg", {
999
+ xmlns: "http://www.w3.org/2000/svg",
1000
+ viewBox: "0 0 20 20",
1001
+ children: /* @__PURE__ */ d("path", {
1002
+ d: "M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"
1003
+ })
1004
+ })
1005
+ };
1006
+ var W = {
1007
+ categories: wt,
1008
+ search: yt
1009
+ };
1010
+ function ne(t) {
1011
+ let { id: e, skin: n, emoji: r } = t;
1012
+ if (t.shortcodes) {
1013
+ const l = t.shortcodes.match(L.SHORTCODES_REGEX);
1014
+ l && (e = l[1], l[2] && (n = l[2]));
1015
+ }
1016
+ if (r || (r = L.get(e || t.native)), !r) return t.fallback;
1017
+ const o = r.skins[n - 1] || r.skins[0], i = o.src || (t.set != "native" && !t.spritesheet ? typeof t.getImageURL == "function" ? t.getImageURL(t.set, o.unified) : `https://cdn.jsdelivr.net/npm/emoji-datasource-${t.set}@15.0.1/img/${t.set}/64/${o.unified}.png` : void 0), s = typeof t.getSpritesheetURL == "function" ? t.getSpritesheetURL(t.set) : `https://cdn.jsdelivr.net/npm/emoji-datasource-${t.set}@15.0.1/img/${t.set}/sheets-256/64.png`;
1018
+ return /* @__PURE__ */ d("span", {
1019
+ class: "emoji-mart-emoji",
1020
+ "data-emoji-set": t.set,
1021
+ children: i ? /* @__PURE__ */ d("img", {
1022
+ style: {
1023
+ maxWidth: t.size || "1em",
1024
+ maxHeight: t.size || "1em",
1025
+ display: "inline-block"
1026
+ },
1027
+ alt: o.native || o.shortcodes,
1028
+ src: i
1029
+ }) : t.set == "native" ? /* @__PURE__ */ d("span", {
1030
+ style: {
1031
+ fontSize: t.size,
1032
+ fontFamily: '"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'
1033
+ },
1034
+ children: o.native
1035
+ }) : /* @__PURE__ */ d("span", {
1036
+ style: {
1037
+ display: "block",
1038
+ width: t.size,
1039
+ height: t.size,
1040
+ backgroundImage: `url(${s})`,
1041
+ backgroundSize: `${100 * g.sheet.cols}% ${100 * g.sheet.rows}%`,
1042
+ backgroundPosition: `${100 / (g.sheet.cols - 1) * o.x}% ${100 / (g.sheet.rows - 1) * o.y}%`
1043
+ }
1044
+ })
1045
+ });
1046
+ }
1047
+ const Ct = typeof window < "u" && window.HTMLElement ? window.HTMLElement : Object;
1048
+ class Ge extends Ct {
1049
+ static get observedAttributes() {
1050
+ return Object.keys(this.Props);
1051
+ }
1052
+ update(e = {}) {
1053
+ for (let n in e) this.attributeChangedCallback(n, null, e[n]);
1054
+ }
1055
+ attributeChangedCallback(e, n, r) {
1056
+ if (!this.component) return;
1057
+ const o = Ke(e, {
1058
+ [e]: r
1059
+ }, this.constructor.Props, this);
1060
+ this.component.componentWillReceiveProps ? this.component.componentWillReceiveProps({
1061
+ [e]: o
1062
+ }) : (this.component.props[e] = o, this.component.forceUpdate());
1063
+ }
1064
+ disconnectedCallback() {
1065
+ this.disconnected = !0, this.component && this.component.unregister && this.component.unregister();
1066
+ }
1067
+ constructor(e = {}) {
1068
+ if (super(), this.props = e, e.parent || e.ref) {
1069
+ let n = null;
1070
+ const r = e.parent || (n = e.ref && e.ref.current);
1071
+ n && (n.innerHTML = ""), r && r.appendChild(this);
1072
+ }
1073
+ }
1074
+ }
1075
+ class xt extends Ge {
1076
+ setShadow() {
1077
+ this.attachShadow({
1078
+ mode: "open"
1079
+ });
1080
+ }
1081
+ injectStyles(e) {
1082
+ if (!e) return;
1083
+ const n = document.createElement("style");
1084
+ n.textContent = e, this.shadowRoot.insertBefore(n, this.shadowRoot.firstChild);
1085
+ }
1086
+ constructor(e, { styles: n } = {}) {
1087
+ super(e), this.setShadow(), this.injectStyles(n);
1088
+ }
1089
+ }
1090
+ var Xe = {
1091
+ fallback: "",
1092
+ id: "",
1093
+ native: "",
1094
+ shortcodes: "",
1095
+ size: {
1096
+ value: "",
1097
+ transform: (t) => /\D/.test(t) ? t : `${t}px`
1098
+ },
1099
+ // Shared
1100
+ set: z.set,
1101
+ skin: z.skin
1102
+ };
1103
+ class Je extends Ge {
1104
+ async connectedCallback() {
1105
+ const e = qe(this.props, Xe, this);
1106
+ e.element = this, e.ref = (n) => {
1107
+ this.component = n;
1108
+ }, await G(), !this.disconnected && Oe(/* @__PURE__ */ d(ne, {
1109
+ ...e
1110
+ }), this);
1111
+ }
1112
+ constructor(e) {
1113
+ super(e);
1114
+ }
1115
+ }
1116
+ C(Je, "Props", Xe);
1117
+ typeof customElements < "u" && !customElements.get("em-emoji") && customElements.define("em-emoji", Je);
1118
+ var fe, re = [], pe = v.__b, ve = v.__r, _e = v.diffed, ge = v.__c, be = v.unmount;
1119
+ function St() {
1120
+ var t;
1121
+ for (re.sort(function(e, n) {
1122
+ return e.__v.__b - n.__v.__b;
1123
+ }); t = re.pop(); ) if (t.__P) try {
1124
+ t.__H.__h.forEach(O), t.__H.__h.forEach(ie), t.__H.__h = [];
1125
+ } catch (e) {
1126
+ t.__H.__h = [], v.__e(e, t.__v);
1127
+ }
1128
+ }
1129
+ v.__b = function(t) {
1130
+ pe && pe(t);
1131
+ }, v.__r = function(t) {
1132
+ ve && ve(t);
1133
+ var e = t.__c.__H;
1134
+ e && (e.__h.forEach(O), e.__h.forEach(ie), e.__h = []);
1135
+ }, v.diffed = function(t) {
1136
+ _e && _e(t);
1137
+ var e = t.__c;
1138
+ e && e.__H && e.__H.__h.length && (re.push(e) !== 1 && fe === v.requestAnimationFrame || ((fe = v.requestAnimationFrame) || function(n) {
1139
+ var r, o = function() {
1140
+ clearTimeout(i), me && cancelAnimationFrame(r), setTimeout(n);
1141
+ }, i = setTimeout(o, 100);
1142
+ me && (r = requestAnimationFrame(o));
1143
+ })(St));
1144
+ }, v.__c = function(t, e) {
1145
+ e.some(function(n) {
1146
+ try {
1147
+ n.__h.forEach(O), n.__h = n.__h.filter(function(r) {
1148
+ return !r.__ || ie(r);
1149
+ });
1150
+ } catch (r) {
1151
+ e.some(function(o) {
1152
+ o.__h && (o.__h = []);
1153
+ }), e = [], v.__e(r, n.__v);
1154
+ }
1155
+ }), ge && ge(t, e);
1156
+ }, v.unmount = function(t) {
1157
+ be && be(t);
1158
+ var e, n = t.__c;
1159
+ n && n.__H && (n.__H.__.forEach(function(r) {
1160
+ try {
1161
+ O(r);
1162
+ } catch (o) {
1163
+ e = o;
1164
+ }
1165
+ }), e && v.__e(e, n.__v));
1166
+ };
1167
+ var me = typeof requestAnimationFrame == "function";
1168
+ function O(t) {
1169
+ var e = t.__c;
1170
+ typeof e == "function" && (t.__c = void 0, e());
1171
+ }
1172
+ function ie(t) {
1173
+ t.__c = t.__();
1174
+ }
1175
+ function jt(t, e) {
1176
+ for (var n in e) t[n] = e[n];
1177
+ return t;
1178
+ }
1179
+ function $e(t, e) {
1180
+ for (var n in t) if (n !== "__source" && !(n in e)) return !0;
1181
+ for (var r in e) if (r !== "__source" && t[r] !== e[r]) return !0;
1182
+ return !1;
1183
+ }
1184
+ function q(t) {
1185
+ this.props = t;
1186
+ }
1187
+ (q.prototype = new S()).isPureReactComponent = !0, q.prototype.shouldComponentUpdate = function(t, e) {
1188
+ return $e(this.props, t) || $e(this.state, e);
1189
+ };
1190
+ var ke = v.__b;
1191
+ v.__b = function(t) {
1192
+ t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), ke && ke(t);
1193
+ };
1194
+ var zt = v.__e;
1195
+ v.__e = function(t, e, n) {
1196
+ if (t.then) {
1197
+ for (var r, o = e; o = o.__; ) if ((r = o.__c) && r.__c) return e.__e == null && (e.__e = n.__e, e.__k = n.__k), r.__c(t, e);
1198
+ }
1199
+ zt(t, e, n);
1200
+ };
1201
+ var we = v.unmount;
1202
+ function Z() {
1203
+ this.__u = 0, this.t = null, this.__b = null;
1204
+ }
1205
+ function Ye(t) {
1206
+ var e = t.__.__c;
1207
+ return e && e.__e && e.__e(t);
1208
+ }
1209
+ function T() {
1210
+ this.u = null, this.o = null;
1211
+ }
1212
+ v.unmount = function(t) {
1213
+ var e = t.__c;
1214
+ e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), we && we(t);
1215
+ }, (Z.prototype = new S()).__c = function(t, e) {
1216
+ var n = e.__c, r = this;
1217
+ r.t == null && (r.t = []), r.t.push(n);
1218
+ var o = Ye(r.__v), i = !1, s = function() {
1219
+ i || (i = !0, n.__R = null, o ? o(l) : l());
1220
+ };
1221
+ n.__R = s;
1222
+ var l = function() {
1223
+ if (!--r.__u) {
1224
+ if (r.state.__e) {
1225
+ var u = r.state.__e;
1226
+ r.__v.__k[0] = (function p(h, f, _) {
1227
+ return h && (h.__v = null, h.__k = h.__k && h.__k.map(function(m) {
1228
+ return p(m, f, _);
1229
+ }), h.__c && h.__c.__P === f && (h.__e && _.insertBefore(h.__e, h.__d), h.__c.__e = !0, h.__c.__P = _)), h;
1230
+ })(u, u.__c.__P, u.__c.__O);
1231
+ }
1232
+ var a;
1233
+ for (r.setState({
1234
+ __e: r.__b = null
1235
+ }); a = r.t.pop(); ) a.forceUpdate();
1236
+ }
1237
+ }, c = e.__h === !0;
1238
+ r.__u++ || c || r.setState({
1239
+ __e: r.__b = r.__v.__k[0]
1240
+ }), t.then(s, s);
1241
+ }, Z.prototype.componentWillUnmount = function() {
1242
+ this.t = [];
1243
+ }, Z.prototype.render = function(t, e) {
1244
+ if (this.__b) {
1245
+ if (this.__v.__k) {
1246
+ var n = document.createElement("div"), r = this.__v.__k[0].__c;
1247
+ this.__v.__k[0] = (function i(s, l, c) {
1248
+ return s && (s.__c && s.__c.__H && (s.__c.__H.__.forEach(function(u) {
1249
+ typeof u.__c == "function" && u.__c();
1250
+ }), s.__c.__H = null), (s = jt({}, s)).__c != null && (s.__c.__P === c && (s.__c.__P = l), s.__c = null), s.__k = s.__k && s.__k.map(function(u) {
1251
+ return i(u, l, c);
1252
+ })), s;
1253
+ })(this.__b, n, r.__O = r.__P);
1254
+ }
1255
+ this.__b = null;
1256
+ }
1257
+ var o = e.__e && Q(D, null, t.fallback);
1258
+ return o && (o.__h = null), [
1259
+ Q(D, null, e.__e ? null : t.children),
1260
+ o
1261
+ ];
1262
+ };
1263
+ var ye = function(t, e, n) {
1264
+ if (++n[1] === n[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size)) for (n = t.u; n; ) {
1265
+ for (; n.length > 3; ) n.pop()();
1266
+ if (n[1] < n[0]) break;
1267
+ t.u = n = n[2];
1268
+ }
1269
+ };
1270
+ (T.prototype = new S()).__e = function(t) {
1271
+ var e = this, n = Ye(e.__v), r = e.o.get(t);
1272
+ return r[0]++, function(o) {
1273
+ var i = function() {
1274
+ e.props.revealOrder ? (r.push(o), ye(e, t, r)) : o();
1275
+ };
1276
+ n ? n(i) : i();
1277
+ };
1278
+ }, T.prototype.render = function(t) {
1279
+ this.u = null, this.o = /* @__PURE__ */ new Map();
1280
+ var e = U(t.children);
1281
+ t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
1282
+ for (var n = e.length; n--; ) this.o.set(e[n], this.u = [
1283
+ 1,
1284
+ 0,
1285
+ this.u
1286
+ ]);
1287
+ return t.children;
1288
+ }, T.prototype.componentDidUpdate = T.prototype.componentDidMount = function() {
1289
+ var t = this;
1290
+ this.o.forEach(function(e, n) {
1291
+ ye(t, n, e);
1292
+ });
1293
+ };
1294
+ var Mt = typeof Symbol < "u" && Symbol.for && /* @__PURE__ */ Symbol.for("react.element") || 60103, Et = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Lt = typeof document < "u", Dt = function(t) {
1295
+ return (typeof Symbol < "u" && typeof /* @__PURE__ */ Symbol() == "symbol" ? /fil|che|rad/i : /fil|che|ra/i).test(t);
1296
+ };
1297
+ S.prototype.isReactComponent = {}, [
1298
+ "componentWillMount",
1299
+ "componentWillReceiveProps",
1300
+ "componentWillUpdate"
1301
+ ].forEach(function(t) {
1302
+ Object.defineProperty(S.prototype, t, {
1303
+ configurable: !0,
1304
+ get: function() {
1305
+ return this["UNSAFE_" + t];
1306
+ },
1307
+ set: function(e) {
1308
+ Object.defineProperty(this, t, {
1309
+ configurable: !0,
1310
+ writable: !0,
1311
+ value: e
1312
+ });
1313
+ }
1314
+ });
1315
+ });
1316
+ var Ce = v.event;
1317
+ function Rt() {
1318
+ }
1319
+ function Pt() {
1320
+ return this.cancelBubble;
1321
+ }
1322
+ function Bt() {
1323
+ return this.defaultPrevented;
1324
+ }
1325
+ v.event = function(t) {
1326
+ return Ce && (t = Ce(t)), t.persist = Rt, t.isPropagationStopped = Pt, t.isDefaultPrevented = Bt, t.nativeEvent = t;
1327
+ };
1328
+ var xe = {
1329
+ configurable: !0,
1330
+ get: function() {
1331
+ return this.class;
1332
+ }
1333
+ }, Se = v.vnode;
1334
+ v.vnode = function(t) {
1335
+ var e = t.type, n = t.props, r = n;
1336
+ if (typeof e == "string") {
1337
+ var o = e.indexOf("-") === -1;
1338
+ for (var i in r = {}, n) {
1339
+ var s = n[i];
1340
+ Lt && i === "children" && e === "noscript" || i === "value" && "defaultValue" in n && s == null || (i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && s === !0 ? s = "" : /ondoubleclick/i.test(i) ? i = "ondblclick" : /^onchange(textarea|input)/i.test(i + e) && !Dt(n.type) ? i = "oninput" : /^onfocus$/i.test(i) ? i = "onfocusin" : /^onblur$/i.test(i) ? i = "onfocusout" : /^on(Ani|Tra|Tou|BeforeInp)/.test(i) ? i = i.toLowerCase() : o && Et.test(i) ? i = i.replace(/[A-Z0-9]/, "-$&").toLowerCase() : s === null && (s = void 0), r[i] = s);
1341
+ }
1342
+ e == "select" && r.multiple && Array.isArray(r.value) && (r.value = U(n.children).forEach(function(l) {
1343
+ l.props.selected = r.value.indexOf(l.props.value) != -1;
1344
+ })), e == "select" && r.defaultValue != null && (r.value = U(n.children).forEach(function(l) {
1345
+ l.props.selected = r.multiple ? r.defaultValue.indexOf(l.props.value) != -1 : r.defaultValue == l.props.value;
1346
+ })), t.props = r, n.class != n.className && (xe.enumerable = "className" in n, n.className != null && (r.class = n.className), Object.defineProperty(r, "className", xe));
1347
+ }
1348
+ t.$$typeof = Mt, Se && Se(t);
1349
+ };
1350
+ var je = v.__r;
1351
+ v.__r = function(t) {
1352
+ je && je(t), t.__c;
1353
+ };
1354
+ const Ht = {
1355
+ light: "outline",
1356
+ dark: "solid"
1357
+ };
1358
+ class Tt extends q {
1359
+ renderIcon(e) {
1360
+ const { icon: n } = e;
1361
+ if (n) {
1362
+ if (n.svg) return /* @__PURE__ */ d("span", {
1363
+ class: "flex",
1364
+ dangerouslySetInnerHTML: {
1365
+ __html: n.svg
1366
+ }
1367
+ });
1368
+ if (n.src) return /* @__PURE__ */ d("img", {
1369
+ src: n.src
1370
+ });
1371
+ }
1372
+ const r = W.categories[e.id] || W.categories.custom, o = this.props.icons == "auto" ? Ht[this.props.theme] : this.props.icons;
1373
+ return r[o] || r;
1374
+ }
1375
+ render() {
1376
+ let e = null;
1377
+ return /* @__PURE__ */ d("nav", {
1378
+ id: "nav",
1379
+ class: "padding",
1380
+ "data-position": this.props.position,
1381
+ dir: this.props.dir,
1382
+ children: /* @__PURE__ */ d("div", {
1383
+ class: "flex relative",
1384
+ children: [
1385
+ this.categories.map((n, r) => {
1386
+ const o = n.name || w.categories[n.id], i = !this.props.unfocused && n.id == this.state.categoryId;
1387
+ return i && (e = r), /* @__PURE__ */ d("button", {
1388
+ "aria-label": o,
1389
+ "aria-selected": i || void 0,
1390
+ title: o,
1391
+ type: "button",
1392
+ class: "flex flex-grow flex-center",
1393
+ onMouseDown: (s) => s.preventDefault(),
1394
+ onClick: () => {
1395
+ this.props.onClick({
1396
+ category: n,
1397
+ i: r
1398
+ });
1399
+ },
1400
+ children: this.renderIcon(n)
1401
+ });
1402
+ }),
1403
+ /* @__PURE__ */ d("div", {
1404
+ class: "bar",
1405
+ style: {
1406
+ width: `${100 / this.categories.length}%`,
1407
+ opacity: e == null ? 0 : 1,
1408
+ transform: this.props.dir === "rtl" ? `scaleX(-1) translateX(${e * 100}%)` : `translateX(${e * 100}%)`
1409
+ }
1410
+ })
1411
+ ]
1412
+ })
1413
+ });
1414
+ }
1415
+ constructor() {
1416
+ super(), this.categories = g.categories.filter((e) => !e.target), this.state = {
1417
+ categoryId: this.categories[0].id
1418
+ };
1419
+ }
1420
+ }
1421
+ class At extends q {
1422
+ shouldComponentUpdate(e) {
1423
+ for (let n in e)
1424
+ if (n != "children" && e[n] != this.props[n])
1425
+ return !0;
1426
+ return !1;
1427
+ }
1428
+ render() {
1429
+ return this.props.children;
1430
+ }
1431
+ }
1432
+ const A = {
1433
+ rowsPerRender: 10
1434
+ };
1435
+ class It extends S {
1436
+ getInitialState(e = this.props) {
1437
+ return {
1438
+ skin: E.get("skin") || e.skin,
1439
+ theme: this.initTheme(e.theme)
1440
+ };
1441
+ }
1442
+ componentWillMount() {
1443
+ this.dir = w.rtl ? "rtl" : "ltr", this.refs = {
1444
+ menu: j(),
1445
+ navigation: j(),
1446
+ scroll: j(),
1447
+ search: j(),
1448
+ searchInput: j(),
1449
+ skinToneButton: j(),
1450
+ skinToneRadio: j()
1451
+ }, this.initGrid(), this.props.stickySearch == !1 && this.props.searchPosition == "sticky" && (console.warn("[EmojiMart] Deprecation warning: `stickySearch` has been renamed `searchPosition`."), this.props.searchPosition = "static");
1452
+ }
1453
+ componentDidMount() {
1454
+ if (this.register(), this.shadowRoot = this.base.parentNode, this.props.autoFocus) {
1455
+ const { searchInput: e } = this.refs;
1456
+ e.current && e.current.focus();
1457
+ }
1458
+ }
1459
+ componentWillReceiveProps(e) {
1460
+ this.nextState || (this.nextState = {});
1461
+ for (const n in e) this.nextState[n] = e[n];
1462
+ clearTimeout(this.nextStateTimer), this.nextStateTimer = setTimeout(() => {
1463
+ let n = !1;
1464
+ for (const o in this.nextState)
1465
+ this.props[o] = this.nextState[o], (o === "custom" || o === "categories") && (n = !0);
1466
+ delete this.nextState;
1467
+ const r = this.getInitialState();
1468
+ if (n) return this.reset(r);
1469
+ this.setState(r);
1470
+ });
1471
+ }
1472
+ componentWillUnmount() {
1473
+ this.unregister();
1474
+ }
1475
+ async reset(e = {}) {
1476
+ await G(this.props), this.initGrid(), this.unobserve(), this.setState(e, () => {
1477
+ this.observeCategories(), this.observeRows();
1478
+ });
1479
+ }
1480
+ register() {
1481
+ document.addEventListener("click", this.handleClickOutside), this.observe();
1482
+ }
1483
+ unregister() {
1484
+ document.removeEventListener("click", this.handleClickOutside), this.darkMedia?.removeEventListener("change", this.darkMediaCallback), this.unobserve();
1485
+ }
1486
+ observe() {
1487
+ this.observeCategories(), this.observeRows();
1488
+ }
1489
+ unobserve({ except: e = [] } = {}) {
1490
+ Array.isArray(e) || (e = [
1491
+ e
1492
+ ]);
1493
+ for (const n of this.observers)
1494
+ e.includes(n) || n.disconnect();
1495
+ this.observers = [].concat(e);
1496
+ }
1497
+ initGrid() {
1498
+ const { categories: e } = g;
1499
+ this.refs.categories = /* @__PURE__ */ new Map();
1500
+ const n = g.categories.map((o) => o.id).join(",");
1501
+ this.navKey && this.navKey != n && this.refs.scroll.current && (this.refs.scroll.current.scrollTop = 0), this.navKey = n, this.grid = [], this.grid.setsize = 0;
1502
+ const r = (o, i) => {
1503
+ const s = [];
1504
+ s.__categoryId = i.id, s.__index = o.length, this.grid.push(s);
1505
+ const l = this.grid.length - 1, c = l % A.rowsPerRender ? {} : j();
1506
+ return c.index = l, c.posinset = this.grid.setsize + 1, o.push(c), s;
1507
+ };
1508
+ for (let o of e) {
1509
+ const i = [];
1510
+ let s = r(i, o);
1511
+ for (let l of o.emojis)
1512
+ s.length == this.getPerLine() && (s = r(i, o)), this.grid.setsize += 1, s.push(l);
1513
+ this.refs.categories.set(o.id, {
1514
+ root: j(),
1515
+ rows: i
1516
+ });
1517
+ }
1518
+ }
1519
+ initTheme(e) {
1520
+ if (e != "auto") return e;
1521
+ if (!this.darkMedia) {
1522
+ if (this.darkMedia = matchMedia("(prefers-color-scheme: dark)"), this.darkMedia.media.match(/^not/)) return "light";
1523
+ this.darkMedia.addEventListener("change", this.darkMediaCallback);
1524
+ }
1525
+ return this.darkMedia.matches ? "dark" : "light";
1526
+ }
1527
+ initDynamicPerLine(e = this.props) {
1528
+ if (!e.dynamicWidth) return;
1529
+ const { element: n, emojiButtonSize: r } = e, o = () => {
1530
+ const { width: s } = n.getBoundingClientRect();
1531
+ return Math.floor(s / r);
1532
+ }, i = new ResizeObserver(() => {
1533
+ this.unobserve({
1534
+ except: i
1535
+ }), this.setState({
1536
+ perLine: o()
1537
+ }, () => {
1538
+ this.initGrid(), this.forceUpdate(() => {
1539
+ this.observeCategories(), this.observeRows();
1540
+ });
1541
+ });
1542
+ });
1543
+ return i.observe(n), this.observers.push(i), o();
1544
+ }
1545
+ getPerLine() {
1546
+ return this.state.perLine || this.props.perLine;
1547
+ }
1548
+ getEmojiByPos([e, n]) {
1549
+ const r = this.state.searchResults || this.grid, o = r[e] && r[e][n];
1550
+ if (o)
1551
+ return L.get(o);
1552
+ }
1553
+ observeCategories() {
1554
+ const e = this.refs.navigation.current;
1555
+ if (!e) return;
1556
+ const n = /* @__PURE__ */ new Map(), r = (s) => {
1557
+ s != e.state.categoryId && e.setState({
1558
+ categoryId: s
1559
+ });
1560
+ }, o = {
1561
+ root: this.refs.scroll.current,
1562
+ threshold: [
1563
+ 0,
1564
+ 1
1565
+ ]
1566
+ }, i = new IntersectionObserver((s) => {
1567
+ for (const c of s) {
1568
+ const u = c.target.dataset.id;
1569
+ n.set(u, c.intersectionRatio);
1570
+ }
1571
+ const l = [
1572
+ ...n
1573
+ ];
1574
+ for (const [c, u] of l) if (u) {
1575
+ r(c);
1576
+ break;
1577
+ }
1578
+ }, o);
1579
+ for (const { root: s } of this.refs.categories.values()) i.observe(s.current);
1580
+ this.observers.push(i);
1581
+ }
1582
+ observeRows() {
1583
+ const e = {
1584
+ ...this.state.visibleRows
1585
+ }, n = new IntersectionObserver((r) => {
1586
+ for (const o of r) {
1587
+ const i = parseInt(o.target.dataset.index);
1588
+ o.isIntersecting ? e[i] = !0 : delete e[i];
1589
+ }
1590
+ this.setState({
1591
+ visibleRows: e
1592
+ });
1593
+ }, {
1594
+ root: this.refs.scroll.current,
1595
+ rootMargin: `${this.props.emojiButtonSize * (A.rowsPerRender + 5)}px 0px ${this.props.emojiButtonSize * A.rowsPerRender}px`
1596
+ });
1597
+ for (const { rows: r } of this.refs.categories.values())
1598
+ for (const o of r) o.current && n.observe(o.current);
1599
+ this.observers.push(n);
1600
+ }
1601
+ preventDefault(e) {
1602
+ e.preventDefault();
1603
+ }
1604
+ unfocusSearch() {
1605
+ const e = this.refs.searchInput.current;
1606
+ e && e.blur();
1607
+ }
1608
+ navigate({ e, input: n, left: r, right: o, up: i, down: s }) {
1609
+ const l = this.state.searchResults || this.grid;
1610
+ if (!l.length) return;
1611
+ let [c, u] = this.state.pos;
1612
+ const a = (() => {
1613
+ if (c == 0 && u == 0 && !e.repeat && (r || i))
1614
+ return null;
1615
+ if (c == -1)
1616
+ return !e.repeat && (o || s) && n.selectionStart == n.value.length ? [
1617
+ 0,
1618
+ 0
1619
+ ] : null;
1620
+ if (r || o) {
1621
+ let p = l[c];
1622
+ const h = r ? -1 : 1;
1623
+ if (u += h, !p[u]) {
1624
+ if (c += h, p = l[c], !p)
1625
+ return c = r ? 0 : l.length - 1, u = r ? 0 : l[c].length - 1, [
1626
+ c,
1627
+ u
1628
+ ];
1629
+ u = r ? p.length - 1 : 0;
1630
+ }
1631
+ return [
1632
+ c,
1633
+ u
1634
+ ];
1635
+ }
1636
+ if (i || s) {
1637
+ c += i ? -1 : 1;
1638
+ const p = l[c];
1639
+ return p ? (p[u] || (u = p.length - 1), [
1640
+ c,
1641
+ u
1642
+ ]) : (c = i ? 0 : l.length - 1, u = i ? 0 : l[c].length - 1, [
1643
+ c,
1644
+ u
1645
+ ]);
1646
+ }
1647
+ })();
1648
+ if (a) e.preventDefault();
1649
+ else {
1650
+ this.state.pos[0] > -1 && this.setState({
1651
+ pos: [
1652
+ -1,
1653
+ -1
1654
+ ]
1655
+ });
1656
+ return;
1657
+ }
1658
+ this.setState({
1659
+ pos: a,
1660
+ keyboard: !0
1661
+ }, () => {
1662
+ this.scrollTo({
1663
+ row: a[0]
1664
+ });
1665
+ });
1666
+ }
1667
+ scrollTo({ categoryId: e, row: n }) {
1668
+ const r = this.state.searchResults || this.grid;
1669
+ if (!r.length) return;
1670
+ const o = this.refs.scroll.current, i = o.getBoundingClientRect();
1671
+ let s = 0;
1672
+ if (n >= 0 && (e = r[n].__categoryId), e && (s = (this.refs[e] || this.refs.categories.get(e).root).current.getBoundingClientRect().top - (i.top - o.scrollTop) + 1), n >= 0)
1673
+ if (!n) s = 0;
1674
+ else {
1675
+ const l = r[n].__index, c = s + l * this.props.emojiButtonSize, u = c + this.props.emojiButtonSize + this.props.emojiButtonSize * 0.88;
1676
+ if (c < o.scrollTop) s = c;
1677
+ else if (u > o.scrollTop + i.height) s = u - i.height;
1678
+ else return;
1679
+ }
1680
+ this.ignoreMouse(), o.scrollTop = s;
1681
+ }
1682
+ ignoreMouse() {
1683
+ this.mouseIsIgnored = !0, clearTimeout(this.ignoreMouseTimer), this.ignoreMouseTimer = setTimeout(() => {
1684
+ delete this.mouseIsIgnored;
1685
+ }, 100);
1686
+ }
1687
+ handleEmojiOver(e) {
1688
+ this.mouseIsIgnored || this.state.showSkins || this.setState({
1689
+ pos: e || [
1690
+ -1,
1691
+ -1
1692
+ ],
1693
+ keyboard: !1
1694
+ });
1695
+ }
1696
+ handleEmojiClick({ e, emoji: n, pos: r }) {
1697
+ if (this.props.onEmojiSelect && (!n && r && (n = this.getEmojiByPos(r)), n)) {
1698
+ const o = kt(n, {
1699
+ skinIndex: this.state.skin - 1
1700
+ });
1701
+ this.props.maxFrequentRows && Fe.add(o, this.props), this.props.onEmojiSelect(o, e);
1702
+ }
1703
+ }
1704
+ closeSkins() {
1705
+ this.state.showSkins && (this.setState({
1706
+ showSkins: null,
1707
+ tempSkin: null
1708
+ }), this.base.removeEventListener("click", this.handleBaseClick), this.base.removeEventListener("keydown", this.handleBaseKeydown));
1709
+ }
1710
+ handleSkinMouseOver(e) {
1711
+ this.setState({
1712
+ tempSkin: e
1713
+ });
1714
+ }
1715
+ handleSkinClick(e) {
1716
+ this.ignoreMouse(), this.closeSkins(), this.setState({
1717
+ skin: e,
1718
+ tempSkin: null
1719
+ }), E.set("skin", e);
1720
+ }
1721
+ renderNav() {
1722
+ return /* @__PURE__ */ d(Tt, {
1723
+ ref: this.refs.navigation,
1724
+ icons: this.props.icons,
1725
+ theme: this.state.theme,
1726
+ dir: this.dir,
1727
+ unfocused: !!this.state.searchResults,
1728
+ position: this.props.navPosition,
1729
+ onClick: this.handleCategoryClick
1730
+ }, this.navKey);
1731
+ }
1732
+ renderPreview() {
1733
+ const e = this.getEmojiByPos(this.state.pos), n = this.state.searchResults && !this.state.searchResults.length;
1734
+ return /* @__PURE__ */ d("div", {
1735
+ id: "preview",
1736
+ class: "flex flex-middle",
1737
+ dir: this.dir,
1738
+ "data-position": this.props.previewPosition,
1739
+ children: [
1740
+ /* @__PURE__ */ d("div", {
1741
+ class: "flex flex-middle flex-grow",
1742
+ children: [
1743
+ /* @__PURE__ */ d("div", {
1744
+ class: "flex flex-auto flex-middle flex-center",
1745
+ style: {
1746
+ height: this.props.emojiButtonSize,
1747
+ fontSize: this.props.emojiButtonSize
1748
+ },
1749
+ children: /* @__PURE__ */ d(ne, {
1750
+ emoji: e,
1751
+ id: n ? this.props.noResultsEmoji || "cry" : this.props.previewEmoji || (this.props.previewPosition == "top" ? "point_down" : "point_up"),
1752
+ set: this.props.set,
1753
+ size: this.props.emojiButtonSize,
1754
+ skin: this.state.tempSkin || this.state.skin,
1755
+ spritesheet: !0,
1756
+ getSpritesheetURL: this.props.getSpritesheetURL
1757
+ })
1758
+ }),
1759
+ /* @__PURE__ */ d("div", {
1760
+ class: `margin-${this.dir[0]}`,
1761
+ children: e || n ? /* @__PURE__ */ d("div", {
1762
+ class: `padding-${this.dir[2]} align-${this.dir[0]}`,
1763
+ children: [
1764
+ /* @__PURE__ */ d("div", {
1765
+ class: "preview-title ellipsis",
1766
+ children: e ? e.name : w.search_no_results_1
1767
+ }),
1768
+ /* @__PURE__ */ d("div", {
1769
+ class: "preview-subtitle ellipsis color-c",
1770
+ children: e ? e.skins[0].shortcodes : w.search_no_results_2
1771
+ })
1772
+ ]
1773
+ }) : /* @__PURE__ */ d("div", {
1774
+ class: "preview-placeholder color-c",
1775
+ children: w.pick
1776
+ })
1777
+ })
1778
+ ]
1779
+ }),
1780
+ !e && this.props.skinTonePosition == "preview" && this.renderSkinToneButton()
1781
+ ]
1782
+ });
1783
+ }
1784
+ renderEmojiButton(e, { pos: n, posinset: r, grid: o }) {
1785
+ const i = this.props.emojiButtonSize, s = this.state.tempSkin || this.state.skin, c = (e.skins[s - 1] || e.skins[0]).native, u = mt(this.state.pos, n), a = n.concat(e.id).join("");
1786
+ return /* @__PURE__ */ d(At, {
1787
+ selected: u,
1788
+ skin: s,
1789
+ size: i,
1790
+ children: /* @__PURE__ */ d("button", {
1791
+ "aria-label": c,
1792
+ "aria-selected": u || void 0,
1793
+ "aria-posinset": r,
1794
+ "aria-setsize": o.setsize,
1795
+ "data-keyboard": this.state.keyboard,
1796
+ title: this.props.previewPosition == "none" ? e.name : void 0,
1797
+ type: "button",
1798
+ class: "flex flex-center flex-middle",
1799
+ tabindex: "-1",
1800
+ onClick: (p) => this.handleEmojiClick({
1801
+ e: p,
1802
+ emoji: e
1803
+ }),
1804
+ onMouseEnter: () => this.handleEmojiOver(n),
1805
+ onMouseLeave: () => this.handleEmojiOver(),
1806
+ style: {
1807
+ width: this.props.emojiButtonSize,
1808
+ height: this.props.emojiButtonSize,
1809
+ fontSize: this.props.emojiSize,
1810
+ lineHeight: 0
1811
+ },
1812
+ children: [
1813
+ /* @__PURE__ */ d("div", {
1814
+ "aria-hidden": "true",
1815
+ class: "background",
1816
+ style: {
1817
+ borderRadius: this.props.emojiButtonRadius,
1818
+ backgroundColor: this.props.emojiButtonColors ? this.props.emojiButtonColors[(r - 1) % this.props.emojiButtonColors.length] : void 0
1819
+ }
1820
+ }),
1821
+ /* @__PURE__ */ d(ne, {
1822
+ emoji: e,
1823
+ set: this.props.set,
1824
+ size: this.props.emojiSize,
1825
+ skin: s,
1826
+ spritesheet: !0,
1827
+ getSpritesheetURL: this.props.getSpritesheetURL
1828
+ })
1829
+ ]
1830
+ })
1831
+ }, a);
1832
+ }
1833
+ renderSearch() {
1834
+ const e = this.props.previewPosition == "none" || this.props.skinTonePosition == "search";
1835
+ return /* @__PURE__ */ d("div", {
1836
+ children: [
1837
+ /* @__PURE__ */ d("div", {
1838
+ class: "spacer"
1839
+ }),
1840
+ /* @__PURE__ */ d("div", {
1841
+ class: "flex flex-middle",
1842
+ children: [
1843
+ /* @__PURE__ */ d("div", {
1844
+ class: "search relative flex-grow",
1845
+ children: [
1846
+ /* @__PURE__ */ d("input", {
1847
+ type: "search",
1848
+ ref: this.refs.searchInput,
1849
+ placeholder: w.search,
1850
+ onClick: this.handleSearchClick,
1851
+ onInput: this.handleSearchInput,
1852
+ onKeyDown: this.handleSearchKeyDown,
1853
+ autoComplete: "off"
1854
+ }),
1855
+ /* @__PURE__ */ d("span", {
1856
+ class: "icon loupe flex",
1857
+ children: W.search.loupe
1858
+ }),
1859
+ this.state.searchResults && /* @__PURE__ */ d("button", {
1860
+ title: "Clear",
1861
+ "aria-label": "Clear",
1862
+ type: "button",
1863
+ class: "icon delete flex",
1864
+ onClick: this.clearSearch,
1865
+ onMouseDown: this.preventDefault,
1866
+ children: W.search.delete
1867
+ })
1868
+ ]
1869
+ }),
1870
+ e && this.renderSkinToneButton()
1871
+ ]
1872
+ })
1873
+ ]
1874
+ });
1875
+ }
1876
+ renderSearchResults() {
1877
+ const { searchResults: e } = this.state;
1878
+ return e ? /* @__PURE__ */ d("div", {
1879
+ class: "category",
1880
+ ref: this.refs.search,
1881
+ children: [
1882
+ /* @__PURE__ */ d("div", {
1883
+ class: `sticky padding-small align-${this.dir[0]}`,
1884
+ children: w.categories.search
1885
+ }),
1886
+ /* @__PURE__ */ d("div", {
1887
+ children: e.length ? e.map((n, r) => /* @__PURE__ */ d("div", {
1888
+ class: "flex",
1889
+ children: n.map((o, i) => this.renderEmojiButton(o, {
1890
+ pos: [
1891
+ r,
1892
+ i
1893
+ ],
1894
+ posinset: r * this.props.perLine + i + 1,
1895
+ grid: e
1896
+ }))
1897
+ })) : /* @__PURE__ */ d("div", {
1898
+ class: `padding-small align-${this.dir[0]}`,
1899
+ children: this.props.onAddCustomEmoji && /* @__PURE__ */ d("a", {
1900
+ onClick: this.props.onAddCustomEmoji,
1901
+ children: w.add_custom
1902
+ })
1903
+ })
1904
+ })
1905
+ ]
1906
+ }) : null;
1907
+ }
1908
+ renderCategories() {
1909
+ const { categories: e } = g, n = !!this.state.searchResults, r = this.getPerLine();
1910
+ return /* @__PURE__ */ d("div", {
1911
+ style: {
1912
+ visibility: n ? "hidden" : void 0,
1913
+ display: n ? "none" : void 0,
1914
+ height: "100%"
1915
+ },
1916
+ children: e.map((o) => {
1917
+ const { root: i, rows: s } = this.refs.categories.get(o.id);
1918
+ return /* @__PURE__ */ d("div", {
1919
+ "data-id": o.target ? o.target.id : o.id,
1920
+ class: "category",
1921
+ ref: i,
1922
+ children: [
1923
+ /* @__PURE__ */ d("div", {
1924
+ class: `sticky padding-small align-${this.dir[0]}`,
1925
+ children: o.name || w.categories[o.id]
1926
+ }),
1927
+ /* @__PURE__ */ d("div", {
1928
+ class: "relative",
1929
+ style: {
1930
+ height: s.length * this.props.emojiButtonSize
1931
+ },
1932
+ children: s.map((l, c) => {
1933
+ const u = l.index - l.index % A.rowsPerRender, a = this.state.visibleRows[u], p = "current" in l ? l : void 0;
1934
+ if (!a && !p) return null;
1935
+ const h = c * r, f = h + r, _ = o.emojis.slice(h, f);
1936
+ return _.length < r && _.push(...new Array(r - _.length)), /* @__PURE__ */ d("div", {
1937
+ "data-index": l.index,
1938
+ ref: p,
1939
+ class: "flex row",
1940
+ style: {
1941
+ top: c * this.props.emojiButtonSize
1942
+ },
1943
+ children: a && _.map((m, b) => {
1944
+ if (!m) return /* @__PURE__ */ d("div", {
1945
+ style: {
1946
+ width: this.props.emojiButtonSize,
1947
+ height: this.props.emojiButtonSize
1948
+ }
1949
+ });
1950
+ const $ = L.get(m);
1951
+ return this.renderEmojiButton($, {
1952
+ pos: [
1953
+ l.index,
1954
+ b
1955
+ ],
1956
+ posinset: l.posinset + b,
1957
+ grid: this.grid
1958
+ });
1959
+ })
1960
+ }, l.index);
1961
+ })
1962
+ })
1963
+ ]
1964
+ });
1965
+ })
1966
+ });
1967
+ }
1968
+ renderSkinToneButton() {
1969
+ return this.props.skinTonePosition == "none" ? null : /* @__PURE__ */ d("div", {
1970
+ class: "flex flex-auto flex-center flex-middle",
1971
+ style: {
1972
+ position: "relative",
1973
+ width: this.props.emojiButtonSize,
1974
+ height: this.props.emojiButtonSize
1975
+ },
1976
+ children: /* @__PURE__ */ d("button", {
1977
+ type: "button",
1978
+ ref: this.refs.skinToneButton,
1979
+ class: "skin-tone-button flex flex-auto flex-center flex-middle",
1980
+ "aria-selected": this.state.showSkins ? "" : void 0,
1981
+ "aria-label": w.skins.choose,
1982
+ title: w.skins.choose,
1983
+ onClick: this.openSkins,
1984
+ style: {
1985
+ width: this.props.emojiSize,
1986
+ height: this.props.emojiSize
1987
+ },
1988
+ children: /* @__PURE__ */ d("span", {
1989
+ class: `skin-tone skin-tone-${this.state.skin}`
1990
+ })
1991
+ })
1992
+ });
1993
+ }
1994
+ renderLiveRegion() {
1995
+ const e = this.getEmojiByPos(this.state.pos), n = e ? e.name : "";
1996
+ return /* @__PURE__ */ d("div", {
1997
+ "aria-live": "polite",
1998
+ class: "sr-only",
1999
+ children: n
2000
+ });
2001
+ }
2002
+ renderSkins() {
2003
+ const n = this.refs.skinToneButton.current.getBoundingClientRect(), r = this.base.getBoundingClientRect(), o = {};
2004
+ return this.dir == "ltr" ? o.right = r.right - n.right - 3 : o.left = n.left - r.left - 3, this.props.previewPosition == "bottom" && this.props.skinTonePosition == "preview" ? o.bottom = r.bottom - n.top + 6 : (o.top = n.bottom - r.top + 3, o.bottom = "auto"), /* @__PURE__ */ d("div", {
2005
+ ref: this.refs.menu,
2006
+ role: "radiogroup",
2007
+ dir: this.dir,
2008
+ "aria-label": w.skins.choose,
2009
+ class: "menu hidden",
2010
+ "data-position": o.top ? "top" : "bottom",
2011
+ style: o,
2012
+ children: [
2013
+ ...Array(6).keys()
2014
+ ].map((i) => {
2015
+ const s = i + 1, l = this.state.skin == s;
2016
+ return /* @__PURE__ */ d("div", {
2017
+ children: [
2018
+ /* @__PURE__ */ d("input", {
2019
+ type: "radio",
2020
+ name: "skin-tone",
2021
+ value: s,
2022
+ "aria-label": w.skins[s],
2023
+ ref: l ? this.refs.skinToneRadio : null,
2024
+ defaultChecked: l,
2025
+ onChange: () => this.handleSkinMouseOver(s),
2026
+ onKeyDown: (c) => {
2027
+ (c.code == "Enter" || c.code == "Space" || c.code == "Tab") && (c.preventDefault(), this.handleSkinClick(s));
2028
+ }
2029
+ }),
2030
+ /* @__PURE__ */ d("button", {
2031
+ "aria-hidden": "true",
2032
+ tabindex: "-1",
2033
+ onClick: () => this.handleSkinClick(s),
2034
+ onMouseEnter: () => this.handleSkinMouseOver(s),
2035
+ onMouseLeave: () => this.handleSkinMouseOver(),
2036
+ class: "option flex flex-grow flex-middle",
2037
+ children: [
2038
+ /* @__PURE__ */ d("span", {
2039
+ class: `skin-tone skin-tone-${s}`
2040
+ }),
2041
+ /* @__PURE__ */ d("span", {
2042
+ class: "margin-small-lr",
2043
+ children: w.skins[s]
2044
+ })
2045
+ ]
2046
+ })
2047
+ ]
2048
+ });
2049
+ })
2050
+ });
2051
+ }
2052
+ render() {
2053
+ const e = this.props.perLine * this.props.emojiButtonSize;
2054
+ return /* @__PURE__ */ d("section", {
2055
+ id: "root",
2056
+ class: "flex flex-column",
2057
+ dir: this.dir,
2058
+ style: {
2059
+ width: this.props.dynamicWidth ? "100%" : `calc(${e}px + (var(--padding) + var(--sidebar-width)))`
2060
+ },
2061
+ "data-emoji-set": this.props.set,
2062
+ "data-theme": this.state.theme,
2063
+ "data-menu": this.state.showSkins ? "" : void 0,
2064
+ children: [
2065
+ this.props.previewPosition == "top" && this.renderPreview(),
2066
+ this.props.navPosition == "top" && this.renderNav(),
2067
+ this.props.searchPosition == "sticky" && /* @__PURE__ */ d("div", {
2068
+ class: "padding-lr",
2069
+ children: this.renderSearch()
2070
+ }),
2071
+ /* @__PURE__ */ d("div", {
2072
+ ref: this.refs.scroll,
2073
+ class: "scroll flex-grow padding-lr",
2074
+ children: /* @__PURE__ */ d("div", {
2075
+ style: {
2076
+ width: this.props.dynamicWidth ? "100%" : e,
2077
+ height: "100%"
2078
+ },
2079
+ children: [
2080
+ this.props.searchPosition == "static" && this.renderSearch(),
2081
+ this.renderSearchResults(),
2082
+ this.renderCategories()
2083
+ ]
2084
+ })
2085
+ }),
2086
+ this.props.navPosition == "bottom" && this.renderNav(),
2087
+ this.props.previewPosition == "bottom" && this.renderPreview(),
2088
+ this.state.showSkins && this.renderSkins(),
2089
+ this.renderLiveRegion()
2090
+ ]
2091
+ });
2092
+ }
2093
+ constructor(e) {
2094
+ super(), C(this, "darkMediaCallback", () => {
2095
+ this.props.theme == "auto" && this.setState({
2096
+ theme: this.darkMedia.matches ? "dark" : "light"
2097
+ });
2098
+ }), C(this, "handleClickOutside", (n) => {
2099
+ const { element: r } = this.props;
2100
+ n.target != r && (this.state.showSkins && this.closeSkins(), this.props.onClickOutside && this.props.onClickOutside(n));
2101
+ }), C(this, "handleBaseClick", (n) => {
2102
+ this.state.showSkins && (n.target.closest(".menu") || (n.preventDefault(), n.stopImmediatePropagation(), this.closeSkins()));
2103
+ }), C(this, "handleBaseKeydown", (n) => {
2104
+ this.state.showSkins && n.key == "Escape" && (n.preventDefault(), n.stopImmediatePropagation(), this.closeSkins());
2105
+ }), C(this, "handleSearchClick", () => {
2106
+ this.getEmojiByPos(this.state.pos) && this.setState({
2107
+ pos: [
2108
+ -1,
2109
+ -1
2110
+ ]
2111
+ });
2112
+ }), C(this, "handleSearchInput", async () => {
2113
+ const n = this.refs.searchInput.current;
2114
+ if (!n) return;
2115
+ const { value: r } = n, o = await L.search(r), i = () => {
2116
+ this.refs.scroll.current && (this.refs.scroll.current.scrollTop = 0);
2117
+ };
2118
+ if (!o) return this.setState({
2119
+ searchResults: o,
2120
+ pos: [
2121
+ -1,
2122
+ -1
2123
+ ]
2124
+ }, i);
2125
+ const s = n.selectionStart == n.value.length ? [
2126
+ 0,
2127
+ 0
2128
+ ] : [
2129
+ -1,
2130
+ -1
2131
+ ], l = [];
2132
+ l.setsize = o.length;
2133
+ let c = null;
2134
+ for (let u of o)
2135
+ (!l.length || c.length == this.getPerLine()) && (c = [], c.__categoryId = "search", c.__index = l.length, l.push(c)), c.push(u);
2136
+ this.ignoreMouse(), this.setState({
2137
+ searchResults: l,
2138
+ pos: s
2139
+ }, i);
2140
+ }), C(this, "handleSearchKeyDown", (n) => {
2141
+ const r = n.currentTarget;
2142
+ switch (n.stopImmediatePropagation(), n.key) {
2143
+ case "ArrowLeft":
2144
+ this.navigate({
2145
+ e: n,
2146
+ input: r,
2147
+ left: !0
2148
+ });
2149
+ break;
2150
+ case "ArrowRight":
2151
+ this.navigate({
2152
+ e: n,
2153
+ input: r,
2154
+ right: !0
2155
+ });
2156
+ break;
2157
+ case "ArrowUp":
2158
+ this.navigate({
2159
+ e: n,
2160
+ input: r,
2161
+ up: !0
2162
+ });
2163
+ break;
2164
+ case "ArrowDown":
2165
+ this.navigate({
2166
+ e: n,
2167
+ input: r,
2168
+ down: !0
2169
+ });
2170
+ break;
2171
+ case "Enter":
2172
+ n.preventDefault(), this.handleEmojiClick({
2173
+ e: n,
2174
+ pos: this.state.pos
2175
+ });
2176
+ break;
2177
+ case "Escape":
2178
+ n.preventDefault(), this.state.searchResults ? this.clearSearch() : this.unfocusSearch();
2179
+ break;
2180
+ }
2181
+ }), C(this, "clearSearch", () => {
2182
+ const n = this.refs.searchInput.current;
2183
+ n && (n.value = "", n.focus(), this.handleSearchInput());
2184
+ }), C(this, "handleCategoryClick", ({ category: n, i: r }) => {
2185
+ this.scrollTo(r == 0 ? {
2186
+ row: -1
2187
+ } : {
2188
+ categoryId: n.id
2189
+ });
2190
+ }), C(this, "openSkins", (n) => {
2191
+ const { currentTarget: r } = n, o = r.getBoundingClientRect();
2192
+ this.setState({
2193
+ showSkins: o
2194
+ }, async () => {
2195
+ await $t(2);
2196
+ const i = this.refs.menu.current;
2197
+ i && (i.classList.remove("hidden"), this.refs.skinToneRadio.current.focus(), this.base.addEventListener("click", this.handleBaseClick, !0), this.base.addEventListener("keydown", this.handleBaseKeydown, !0));
2198
+ });
2199
+ }), this.observers = [], this.state = {
2200
+ pos: [
2201
+ -1,
2202
+ -1
2203
+ ],
2204
+ perLine: this.initDynamicPerLine(e),
2205
+ visibleRows: {
2206
+ 0: !0
2207
+ },
2208
+ ...this.getInitialState(e)
2209
+ };
2210
+ }
2211
+ }
2212
+ class Ze extends xt {
2213
+ async connectedCallback() {
2214
+ const e = qe(this.props, z, this);
2215
+ e.element = this, e.ref = (n) => {
2216
+ this.component = n;
2217
+ }, await G(e), !this.disconnected && Oe(/* @__PURE__ */ d(It, {
2218
+ ...e
2219
+ }), this.shadowRoot);
2220
+ }
2221
+ constructor(e) {
2222
+ super(e, {
2223
+ styles: /* @__PURE__ */ ze(Qe)
2224
+ });
2225
+ }
2226
+ }
2227
+ C(Ze, "Props", z);
2228
+ typeof customElements < "u" && !customElements.get("em-emoji-picker") && customElements.define("em-emoji-picker", Ze);
2229
+ var Qe = {};
2230
+ Qe = `:host {
2231
+ width: min-content;
2232
+ height: 435px;
2233
+ min-height: 230px;
2234
+ border-radius: var(--border-radius);
2235
+ box-shadow: var(--shadow);
2236
+ --border-radius: 10px;
2237
+ --category-icon-size: 18px;
2238
+ --font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
2239
+ --font-size: 15px;
2240
+ --preview-placeholder-size: 21px;
2241
+ --preview-title-size: 1.1em;
2242
+ --preview-subtitle-size: .9em;
2243
+ --shadow-color: 0deg 0% 0%;
2244
+ --shadow: .3px .5px 2.7px hsl(var(--shadow-color) / .14), .4px .8px 1px -3.2px hsl(var(--shadow-color) / .14), 1px 2px 2.5px -4.5px hsl(var(--shadow-color) / .14);
2245
+ display: flex;
2246
+ }
2247
+
2248
+ [data-theme="light"] {
2249
+ --em-rgb-color: var(--rgb-color, 34, 36, 39);
2250
+ --em-rgb-accent: var(--rgb-accent, 34, 102, 237);
2251
+ --em-rgb-background: var(--rgb-background, 255, 255, 255);
2252
+ --em-rgb-input: var(--rgb-input, 255, 255, 255);
2253
+ --em-color-border: var(--color-border, rgba(0, 0, 0, .05));
2254
+ --em-color-border-over: var(--color-border-over, rgba(0, 0, 0, .1));
2255
+ }
2256
+
2257
+ [data-theme="dark"] {
2258
+ --em-rgb-color: var(--rgb-color, 222, 222, 221);
2259
+ --em-rgb-accent: var(--rgb-accent, 58, 130, 247);
2260
+ --em-rgb-background: var(--rgb-background, 21, 22, 23);
2261
+ --em-rgb-input: var(--rgb-input, 0, 0, 0);
2262
+ --em-color-border: var(--color-border, rgba(255, 255, 255, .1));
2263
+ --em-color-border-over: var(--color-border-over, rgba(255, 255, 255, .2));
2264
+ }
2265
+
2266
+ #root {
2267
+ --color-a: rgb(var(--em-rgb-color));
2268
+ --color-b: rgba(var(--em-rgb-color), .65);
2269
+ --color-c: rgba(var(--em-rgb-color), .45);
2270
+ --padding: 12px;
2271
+ --padding-small: calc(var(--padding) / 2);
2272
+ --sidebar-width: 16px;
2273
+ --duration: 225ms;
2274
+ --duration-fast: 125ms;
2275
+ --duration-instant: 50ms;
2276
+ --easing: cubic-bezier(.4, 0, .2, 1);
2277
+ width: 100%;
2278
+ text-align: left;
2279
+ border-radius: var(--border-radius);
2280
+ background-color: rgb(var(--em-rgb-background));
2281
+ position: relative;
2282
+ }
2283
+
2284
+ @media (prefers-reduced-motion) {
2285
+ #root {
2286
+ --duration: 0;
2287
+ --duration-fast: 0;
2288
+ --duration-instant: 0;
2289
+ }
2290
+ }
2291
+
2292
+ #root[data-menu] button {
2293
+ cursor: auto;
2294
+ }
2295
+
2296
+ #root[data-menu] .menu button {
2297
+ cursor: pointer;
2298
+ }
2299
+
2300
+ :host, #root, input, button {
2301
+ color: rgb(var(--em-rgb-color));
2302
+ font-family: var(--font-family);
2303
+ font-size: var(--font-size);
2304
+ -webkit-font-smoothing: antialiased;
2305
+ -moz-osx-font-smoothing: grayscale;
2306
+ line-height: normal;
2307
+ }
2308
+
2309
+ *, :before, :after {
2310
+ box-sizing: border-box;
2311
+ min-width: 0;
2312
+ margin: 0;
2313
+ padding: 0;
2314
+ }
2315
+
2316
+ .relative {
2317
+ position: relative;
2318
+ }
2319
+
2320
+ .flex {
2321
+ display: flex;
2322
+ }
2323
+
2324
+ .flex-auto {
2325
+ flex: none;
2326
+ }
2327
+
2328
+ .flex-center {
2329
+ justify-content: center;
2330
+ }
2331
+
2332
+ .flex-column {
2333
+ flex-direction: column;
2334
+ }
2335
+
2336
+ .flex-grow {
2337
+ flex: auto;
2338
+ }
2339
+
2340
+ .flex-middle {
2341
+ align-items: center;
2342
+ }
2343
+
2344
+ .flex-wrap {
2345
+ flex-wrap: wrap;
2346
+ }
2347
+
2348
+ .padding {
2349
+ padding: var(--padding);
2350
+ }
2351
+
2352
+ .padding-t {
2353
+ padding-top: var(--padding);
2354
+ }
2355
+
2356
+ .padding-lr {
2357
+ padding-left: var(--padding);
2358
+ padding-right: var(--padding);
2359
+ }
2360
+
2361
+ .padding-r {
2362
+ padding-right: var(--padding);
2363
+ }
2364
+
2365
+ .padding-small {
2366
+ padding: var(--padding-small);
2367
+ }
2368
+
2369
+ .padding-small-b {
2370
+ padding-bottom: var(--padding-small);
2371
+ }
2372
+
2373
+ .padding-small-lr {
2374
+ padding-left: var(--padding-small);
2375
+ padding-right: var(--padding-small);
2376
+ }
2377
+
2378
+ .margin {
2379
+ margin: var(--padding);
2380
+ }
2381
+
2382
+ .margin-r {
2383
+ margin-right: var(--padding);
2384
+ }
2385
+
2386
+ .margin-l {
2387
+ margin-left: var(--padding);
2388
+ }
2389
+
2390
+ .margin-small-l {
2391
+ margin-left: var(--padding-small);
2392
+ }
2393
+
2394
+ .margin-small-lr {
2395
+ margin-left: var(--padding-small);
2396
+ margin-right: var(--padding-small);
2397
+ }
2398
+
2399
+ .align-l {
2400
+ text-align: left;
2401
+ }
2402
+
2403
+ .align-r {
2404
+ text-align: right;
2405
+ }
2406
+
2407
+ .color-a {
2408
+ color: var(--color-a);
2409
+ }
2410
+
2411
+ .color-b {
2412
+ color: var(--color-b);
2413
+ }
2414
+
2415
+ .color-c {
2416
+ color: var(--color-c);
2417
+ }
2418
+
2419
+ .ellipsis {
2420
+ white-space: nowrap;
2421
+ max-width: 100%;
2422
+ width: auto;
2423
+ text-overflow: ellipsis;
2424
+ overflow: hidden;
2425
+ }
2426
+
2427
+ .sr-only {
2428
+ width: 1px;
2429
+ height: 1px;
2430
+ position: absolute;
2431
+ top: auto;
2432
+ left: -10000px;
2433
+ overflow: hidden;
2434
+ }
2435
+
2436
+ a {
2437
+ cursor: pointer;
2438
+ color: rgb(var(--em-rgb-accent));
2439
+ }
2440
+
2441
+ a:hover {
2442
+ text-decoration: underline;
2443
+ }
2444
+
2445
+ .spacer {
2446
+ height: 10px;
2447
+ }
2448
+
2449
+ [dir="rtl"] .scroll {
2450
+ padding-left: 0;
2451
+ padding-right: var(--padding);
2452
+ }
2453
+
2454
+ .scroll {
2455
+ padding-right: 0;
2456
+ overflow-x: hidden;
2457
+ overflow-y: auto;
2458
+ }
2459
+
2460
+ .scroll::-webkit-scrollbar {
2461
+ width: var(--sidebar-width);
2462
+ height: var(--sidebar-width);
2463
+ }
2464
+
2465
+ .scroll::-webkit-scrollbar-track {
2466
+ border: 0;
2467
+ }
2468
+
2469
+ .scroll::-webkit-scrollbar-button {
2470
+ width: 0;
2471
+ height: 0;
2472
+ display: none;
2473
+ }
2474
+
2475
+ .scroll::-webkit-scrollbar-corner {
2476
+ background-color: rgba(0, 0, 0, 0);
2477
+ }
2478
+
2479
+ .scroll::-webkit-scrollbar-thumb {
2480
+ min-height: 20%;
2481
+ min-height: 65px;
2482
+ border: 4px solid rgb(var(--em-rgb-background));
2483
+ border-radius: 8px;
2484
+ }
2485
+
2486
+ .scroll::-webkit-scrollbar-thumb:hover {
2487
+ background-color: var(--em-color-border-over) !important;
2488
+ }
2489
+
2490
+ .scroll:hover::-webkit-scrollbar-thumb {
2491
+ background-color: var(--em-color-border);
2492
+ }
2493
+
2494
+ .sticky {
2495
+ z-index: 1;
2496
+ background-color: rgba(var(--em-rgb-background), .9);
2497
+ -webkit-backdrop-filter: blur(4px);
2498
+ backdrop-filter: blur(4px);
2499
+ font-weight: 500;
2500
+ position: sticky;
2501
+ top: -1px;
2502
+ }
2503
+
2504
+ [dir="rtl"] .search input[type="search"] {
2505
+ padding: 10px 2.2em 10px 2em;
2506
+ }
2507
+
2508
+ [dir="rtl"] .search .loupe {
2509
+ left: auto;
2510
+ right: .7em;
2511
+ }
2512
+
2513
+ [dir="rtl"] .search .delete {
2514
+ left: .7em;
2515
+ right: auto;
2516
+ }
2517
+
2518
+ .search {
2519
+ z-index: 2;
2520
+ position: relative;
2521
+ }
2522
+
2523
+ .search input, .search button {
2524
+ font-size: calc(var(--font-size) - 1px);
2525
+ }
2526
+
2527
+ .search input[type="search"] {
2528
+ width: 100%;
2529
+ background-color: var(--em-color-border);
2530
+ transition-duration: var(--duration);
2531
+ transition-property: background-color, box-shadow;
2532
+ transition-timing-function: var(--easing);
2533
+ border: 0;
2534
+ border-radius: 10px;
2535
+ outline: 0;
2536
+ padding: 10px 2em 10px 2.2em;
2537
+ display: block;
2538
+ }
2539
+
2540
+ .search input[type="search"]::-ms-input-placeholder {
2541
+ color: inherit;
2542
+ opacity: .6;
2543
+ }
2544
+
2545
+ .search input[type="search"]::placeholder {
2546
+ color: inherit;
2547
+ opacity: .6;
2548
+ }
2549
+
2550
+ .search input[type="search"], .search input[type="search"]::-webkit-search-decoration, .search input[type="search"]::-webkit-search-cancel-button, .search input[type="search"]::-webkit-search-results-button, .search input[type="search"]::-webkit-search-results-decoration {
2551
+ -webkit-appearance: none;
2552
+ -ms-appearance: none;
2553
+ appearance: none;
2554
+ }
2555
+
2556
+ .search input[type="search"]:focus {
2557
+ background-color: rgb(var(--em-rgb-input));
2558
+ box-shadow: inset 0 0 0 1px rgb(var(--em-rgb-accent)), 0 1px 3px rgba(65, 69, 73, .2);
2559
+ }
2560
+
2561
+ .search .icon {
2562
+ z-index: 1;
2563
+ color: rgba(var(--em-rgb-color), .7);
2564
+ position: absolute;
2565
+ top: 50%;
2566
+ transform: translateY(-50%);
2567
+ }
2568
+
2569
+ .search .loupe {
2570
+ pointer-events: none;
2571
+ left: .7em;
2572
+ }
2573
+
2574
+ .search .delete {
2575
+ right: .7em;
2576
+ }
2577
+
2578
+ svg {
2579
+ fill: currentColor;
2580
+ width: 1em;
2581
+ height: 1em;
2582
+ }
2583
+
2584
+ button {
2585
+ -webkit-appearance: none;
2586
+ -ms-appearance: none;
2587
+ appearance: none;
2588
+ cursor: pointer;
2589
+ color: currentColor;
2590
+ background-color: rgba(0, 0, 0, 0);
2591
+ border: 0;
2592
+ }
2593
+
2594
+ #nav {
2595
+ z-index: 2;
2596
+ padding-top: 12px;
2597
+ padding-bottom: 12px;
2598
+ padding-right: var(--sidebar-width);
2599
+ position: relative;
2600
+ }
2601
+
2602
+ #nav button {
2603
+ color: var(--color-b);
2604
+ transition: color var(--duration) var(--easing);
2605
+ }
2606
+
2607
+ #nav button:hover {
2608
+ color: var(--color-a);
2609
+ }
2610
+
2611
+ #nav svg, #nav img {
2612
+ width: var(--category-icon-size);
2613
+ height: var(--category-icon-size);
2614
+ }
2615
+
2616
+ #nav[dir="rtl"] .bar {
2617
+ left: auto;
2618
+ right: 0;
2619
+ }
2620
+
2621
+ #nav .bar {
2622
+ width: 100%;
2623
+ height: 3px;
2624
+ background-color: rgb(var(--em-rgb-accent));
2625
+ transition: transform var(--duration) var(--easing);
2626
+ border-radius: 3px 3px 0 0;
2627
+ position: absolute;
2628
+ bottom: -12px;
2629
+ left: 0;
2630
+ }
2631
+
2632
+ #nav button[aria-selected] {
2633
+ color: rgb(var(--em-rgb-accent));
2634
+ }
2635
+
2636
+ #preview {
2637
+ z-index: 2;
2638
+ padding: calc(var(--padding) + 4px) var(--padding);
2639
+ padding-right: var(--sidebar-width);
2640
+ position: relative;
2641
+ }
2642
+
2643
+ #preview .preview-placeholder {
2644
+ font-size: var(--preview-placeholder-size);
2645
+ }
2646
+
2647
+ #preview .preview-title {
2648
+ font-size: var(--preview-title-size);
2649
+ }
2650
+
2651
+ #preview .preview-subtitle {
2652
+ font-size: var(--preview-subtitle-size);
2653
+ }
2654
+
2655
+ #nav:before, #preview:before {
2656
+ content: "";
2657
+ height: 2px;
2658
+ position: absolute;
2659
+ left: 0;
2660
+ right: 0;
2661
+ }
2662
+
2663
+ #nav[data-position="top"]:before, #preview[data-position="top"]:before {
2664
+ background: linear-gradient(to bottom, var(--em-color-border), transparent);
2665
+ top: 100%;
2666
+ }
2667
+
2668
+ #nav[data-position="bottom"]:before, #preview[data-position="bottom"]:before {
2669
+ background: linear-gradient(to top, var(--em-color-border), transparent);
2670
+ bottom: 100%;
2671
+ }
2672
+
2673
+ .category:last-child {
2674
+ min-height: calc(100% + 1px);
2675
+ }
2676
+
2677
+ .category button {
2678
+ font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, sans-serif;
2679
+ position: relative;
2680
+ }
2681
+
2682
+ .category button > * {
2683
+ position: relative;
2684
+ }
2685
+
2686
+ .category button .background {
2687
+ opacity: 0;
2688
+ background-color: var(--em-color-border);
2689
+ transition: opacity var(--duration-fast) var(--easing) var(--duration-instant);
2690
+ position: absolute;
2691
+ top: 0;
2692
+ bottom: 0;
2693
+ left: 0;
2694
+ right: 0;
2695
+ }
2696
+
2697
+ .category button:hover .background {
2698
+ transition-duration: var(--duration-instant);
2699
+ transition-delay: 0s;
2700
+ }
2701
+
2702
+ .category button[aria-selected] .background {
2703
+ opacity: 1;
2704
+ }
2705
+
2706
+ .category button[data-keyboard] .background {
2707
+ transition: none;
2708
+ }
2709
+
2710
+ .row {
2711
+ width: 100%;
2712
+ position: absolute;
2713
+ top: 0;
2714
+ left: 0;
2715
+ }
2716
+
2717
+ .skin-tone-button {
2718
+ border: 1px solid rgba(0, 0, 0, 0);
2719
+ border-radius: 100%;
2720
+ }
2721
+
2722
+ .skin-tone-button:hover {
2723
+ border-color: var(--em-color-border);
2724
+ }
2725
+
2726
+ .skin-tone-button:active .skin-tone {
2727
+ transform: scale(.85) !important;
2728
+ }
2729
+
2730
+ .skin-tone-button .skin-tone {
2731
+ transition: transform var(--duration) var(--easing);
2732
+ }
2733
+
2734
+ .skin-tone-button[aria-selected] {
2735
+ background-color: var(--em-color-border);
2736
+ border-top-color: rgba(0, 0, 0, .05);
2737
+ border-bottom-color: rgba(0, 0, 0, 0);
2738
+ border-left-width: 0;
2739
+ border-right-width: 0;
2740
+ }
2741
+
2742
+ .skin-tone-button[aria-selected] .skin-tone {
2743
+ transform: scale(.9);
2744
+ }
2745
+
2746
+ .menu {
2747
+ z-index: 2;
2748
+ white-space: nowrap;
2749
+ border: 1px solid var(--em-color-border);
2750
+ background-color: rgba(var(--em-rgb-background), .9);
2751
+ -webkit-backdrop-filter: blur(4px);
2752
+ backdrop-filter: blur(4px);
2753
+ transition-property: opacity, transform;
2754
+ transition-duration: var(--duration);
2755
+ transition-timing-function: var(--easing);
2756
+ border-radius: 10px;
2757
+ padding: 4px;
2758
+ position: absolute;
2759
+ box-shadow: 1px 1px 5px rgba(0, 0, 0, .05);
2760
+ }
2761
+
2762
+ .menu.hidden {
2763
+ opacity: 0;
2764
+ }
2765
+
2766
+ .menu[data-position="bottom"] {
2767
+ transform-origin: 100% 100%;
2768
+ }
2769
+
2770
+ .menu[data-position="bottom"].hidden {
2771
+ transform: scale(.9)rotate(-3deg)translateY(5%);
2772
+ }
2773
+
2774
+ .menu[data-position="top"] {
2775
+ transform-origin: 100% 0;
2776
+ }
2777
+
2778
+ .menu[data-position="top"].hidden {
2779
+ transform: scale(.9)rotate(3deg)translateY(-5%);
2780
+ }
2781
+
2782
+ .menu input[type="radio"] {
2783
+ clip: rect(0 0 0 0);
2784
+ width: 1px;
2785
+ height: 1px;
2786
+ border: 0;
2787
+ margin: 0;
2788
+ padding: 0;
2789
+ position: absolute;
2790
+ overflow: hidden;
2791
+ }
2792
+
2793
+ .menu input[type="radio"]:checked + .option {
2794
+ box-shadow: 0 0 0 2px rgb(var(--em-rgb-accent));
2795
+ }
2796
+
2797
+ .option {
2798
+ width: 100%;
2799
+ border-radius: 6px;
2800
+ padding: 4px 6px;
2801
+ }
2802
+
2803
+ .option:hover {
2804
+ color: #fff;
2805
+ background-color: rgb(var(--em-rgb-accent));
2806
+ }
2807
+
2808
+ .skin-tone {
2809
+ width: 16px;
2810
+ height: 16px;
2811
+ border-radius: 100%;
2812
+ display: inline-block;
2813
+ position: relative;
2814
+ overflow: hidden;
2815
+ }
2816
+
2817
+ .skin-tone:after {
2818
+ content: "";
2819
+ mix-blend-mode: overlay;
2820
+ background: linear-gradient(rgba(255, 255, 255, .2), rgba(0, 0, 0, 0));
2821
+ border: 1px solid rgba(0, 0, 0, .8);
2822
+ border-radius: 100%;
2823
+ position: absolute;
2824
+ top: 0;
2825
+ bottom: 0;
2826
+ left: 0;
2827
+ right: 0;
2828
+ box-shadow: inset 0 -2px 3px #000, inset 0 1px 2px #fff;
2829
+ }
2830
+
2831
+ .skin-tone-1 {
2832
+ background-color: #ffc93a;
2833
+ }
2834
+
2835
+ .skin-tone-2 {
2836
+ background-color: #ffdab7;
2837
+ }
2838
+
2839
+ .skin-tone-3 {
2840
+ background-color: #e7b98f;
2841
+ }
2842
+
2843
+ .skin-tone-4 {
2844
+ background-color: #c88c61;
2845
+ }
2846
+
2847
+ .skin-tone-5 {
2848
+ background-color: #a46134;
2849
+ }
2850
+
2851
+ .skin-tone-6 {
2852
+ background-color: #5d4437;
2853
+ }
2854
+
2855
+ [data-index] {
2856
+ justify-content: space-between;
2857
+ }
2858
+
2859
+ [data-emoji-set="twitter"] .skin-tone:after {
2860
+ box-shadow: none;
2861
+ border-color: rgba(0, 0, 0, .5);
2862
+ }
2863
+
2864
+ [data-emoji-set="twitter"] .skin-tone-1 {
2865
+ background-color: #fade72;
2866
+ }
2867
+
2868
+ [data-emoji-set="twitter"] .skin-tone-2 {
2869
+ background-color: #f3dfd0;
2870
+ }
2871
+
2872
+ [data-emoji-set="twitter"] .skin-tone-3 {
2873
+ background-color: #eed3a8;
2874
+ }
2875
+
2876
+ [data-emoji-set="twitter"] .skin-tone-4 {
2877
+ background-color: #cfad8d;
2878
+ }
2879
+
2880
+ [data-emoji-set="twitter"] .skin-tone-5 {
2881
+ background-color: #a8805d;
2882
+ }
2883
+
2884
+ [data-emoji-set="twitter"] .skin-tone-6 {
2885
+ background-color: #765542;
2886
+ }
2887
+
2888
+ [data-emoji-set="google"] .skin-tone:after {
2889
+ box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, .4);
2890
+ }
2891
+
2892
+ [data-emoji-set="google"] .skin-tone-1 {
2893
+ background-color: #f5c748;
2894
+ }
2895
+
2896
+ [data-emoji-set="google"] .skin-tone-2 {
2897
+ background-color: #f1d5aa;
2898
+ }
2899
+
2900
+ [data-emoji-set="google"] .skin-tone-3 {
2901
+ background-color: #d4b48d;
2902
+ }
2903
+
2904
+ [data-emoji-set="google"] .skin-tone-4 {
2905
+ background-color: #aa876b;
2906
+ }
2907
+
2908
+ [data-emoji-set="google"] .skin-tone-5 {
2909
+ background-color: #916544;
2910
+ }
2911
+
2912
+ [data-emoji-set="google"] .skin-tone-6 {
2913
+ background-color: #61493f;
2914
+ }
2915
+
2916
+ [data-emoji-set="facebook"] .skin-tone:after {
2917
+ border-color: rgba(0, 0, 0, .4);
2918
+ box-shadow: inset 0 -2px 3px #000, inset 0 1px 4px #fff;
2919
+ }
2920
+
2921
+ [data-emoji-set="facebook"] .skin-tone-1 {
2922
+ background-color: #f5c748;
2923
+ }
2924
+
2925
+ [data-emoji-set="facebook"] .skin-tone-2 {
2926
+ background-color: #f1d5aa;
2927
+ }
2928
+
2929
+ [data-emoji-set="facebook"] .skin-tone-3 {
2930
+ background-color: #d4b48d;
2931
+ }
2932
+
2933
+ [data-emoji-set="facebook"] .skin-tone-4 {
2934
+ background-color: #aa876b;
2935
+ }
2936
+
2937
+ [data-emoji-set="facebook"] .skin-tone-5 {
2938
+ background-color: #916544;
2939
+ }
2940
+
2941
+ [data-emoji-set="facebook"] .skin-tone-6 {
2942
+ background-color: #61493f;
2943
+ }
2944
+
2945
+ `;
2946
+ export {
2947
+ g as Data,
2948
+ Je as Emoji,
2949
+ Fe as FrequentlyUsed,
2950
+ w as I18n,
2951
+ Ze as Picker,
2952
+ bt as SafeFlags,
2953
+ L as SearchIndex,
2954
+ E as Store,
2955
+ G as init
2956
+ };
2957
+ //# sourceMappingURL=module-BQBGH1lE.js.map