@penwin/discord-components-core 4.3.8 → 4.3.9-dev-32918495512.0

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 (207) hide show
  1. package/CHANGELOG.md +826 -826
  2. package/LICENSE.md +20 -0
  3. package/README.md +673 -673
  4. package/custom-elements.json +1803 -1708
  5. package/dist/bundle/index.mjs +1976 -1976
  6. package/dist/bundle/index.mjs.map +1 -1
  7. package/dist/bundle/styles/base.css +1 -2
  8. package/dist/components/_private/BaseDiscordSelectMenuOption.js +72 -72
  9. package/dist/components/_private/DiscordMediaAttachmentStyles.js +114 -114
  10. package/dist/components/_private/DiscordPlaybackControlStyles.js +153 -153
  11. package/dist/components/_private/DiscordVolumeControlStyles.js +158 -158
  12. package/dist/components/_private/DiscordWhiteSpace.js +4 -4
  13. package/dist/components/discord-action-row/DiscordActionRow.js +6 -6
  14. package/dist/components/discord-attachments/DiscordAttachments.js +18 -18
  15. package/dist/components/discord-audio-attachment/DiscordAudioAttachment.js +202 -202
  16. package/dist/components/discord-author-info/DiscordAuthorInfo.d.ts.map +1 -1
  17. package/dist/components/discord-author-info/DiscordAuthorInfo.js +156 -156
  18. package/dist/components/discord-author-info/DiscordAuthorInfo.js.map +1 -1
  19. package/dist/components/discord-bold/DiscordBold.js +4 -4
  20. package/dist/components/discord-button/DiscordButton.d.ts.map +1 -1
  21. package/dist/components/discord-button/DiscordButton.js +131 -128
  22. package/dist/components/discord-button/DiscordButton.js.map +1 -1
  23. package/dist/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.js +131 -131
  24. package/dist/components/discord-code/DiscordCode.js +64 -64
  25. package/dist/components/discord-code-block/DiscordCodeBlock.js +2 -2
  26. package/dist/components/discord-command/DiscordCommand.js +109 -109
  27. package/dist/components/discord-components-column/DiscordComponentsColumn.js +18 -18
  28. package/dist/components/discord-container/DiscordContainer.js +47 -47
  29. package/dist/components/discord-custom-emoji/DiscordCustomEmoji.js +36 -36
  30. package/dist/components/discord-embed/DiscordEmbed.d.ts.map +1 -1
  31. package/dist/components/discord-embed/DiscordEmbed.js +285 -285
  32. package/dist/components/discord-embed/DiscordEmbed.js.map +1 -1
  33. package/dist/components/discord-embed-description/DiscordEmbedDescription.js +25 -25
  34. package/dist/components/discord-embed-field/DiscordEmbedField.js +40 -40
  35. package/dist/components/discord-embed-fields/DiscordEmbedFields.js +19 -19
  36. package/dist/components/discord-embed-footer/DiscordEmbedFooter.js +36 -36
  37. package/dist/components/discord-file-attachment/DiscordFileAttachment.js +191 -191
  38. package/dist/components/discord-forwarded-message/DiscordForwardedMessage.js +126 -126
  39. package/dist/components/discord-header/DiscordHeader.js +27 -27
  40. package/dist/components/discord-image-attachment/DiscordImageAttachment.js +38 -38
  41. package/dist/components/discord-input-text/DiscordInputText.js +284 -284
  42. package/dist/components/discord-invite/DiscordInvite.js +225 -225
  43. package/dist/components/discord-italic/DiscordItalic.js +4 -4
  44. package/dist/components/discord-link/DiscordLink.js +19 -19
  45. package/dist/components/discord-list-item/DiscordListItem.d.ts.map +1 -1
  46. package/dist/components/discord-list-item/DiscordListItem.js +8 -5
  47. package/dist/components/discord-list-item/DiscordListItem.js.map +1 -1
  48. package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.js +463 -463
  49. package/dist/components/discord-media-gallery/DiscordMediaGallery.js +219 -219
  50. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.d.ts.map +1 -1
  51. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js +102 -99
  52. package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js.map +1 -1
  53. package/dist/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.js +65 -65
  54. package/dist/components/discord-mention/DiscordMention.js +66 -66
  55. package/dist/components/discord-message/DiscordMessage.d.ts.map +1 -1
  56. package/dist/components/discord-message/DiscordMessage.js +338 -335
  57. package/dist/components/discord-message/DiscordMessage.js.map +1 -1
  58. package/dist/components/discord-messages/DiscordMessages.js +77 -77
  59. package/dist/components/discord-modal/DiscordModal.js +465 -465
  60. package/dist/components/discord-ordered-list/DiscordOrderedList.d.ts.map +1 -1
  61. package/dist/components/discord-ordered-list/DiscordOrderedList.js +20 -14
  62. package/dist/components/discord-ordered-list/DiscordOrderedList.js.map +1 -1
  63. package/dist/components/discord-poll/DiscordPoll.js +157 -157
  64. package/dist/components/discord-poll-answer/DiscordPollAnswer.js +227 -227
  65. package/dist/components/discord-pre/DiscordPre.js +18 -18
  66. package/dist/components/discord-quote/DiscordQuote.js +31 -31
  67. package/dist/components/discord-reaction/DiscordReaction.js +73 -73
  68. package/dist/components/discord-reactions/DiscordReactions.js +9 -9
  69. package/dist/components/discord-reply/DiscordReply.d.ts.map +1 -1
  70. package/dist/components/discord-reply/DiscordReply.js +246 -246
  71. package/dist/components/discord-reply/DiscordReply.js.map +1 -1
  72. package/dist/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.js +75 -75
  73. package/dist/components/discord-section/DiscordSection.js +6 -6
  74. package/dist/components/discord-section-components/DiscordSectionComponents.js +14 -14
  75. package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.js +30 -30
  76. package/dist/components/discord-separator/DiscordSeparator.js +9 -9
  77. package/dist/components/discord-spoiler/DiscordSpoiler.js +31 -31
  78. package/dist/components/discord-string-select-menu/DiscordStringSelectMenu.js +192 -192
  79. package/dist/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.js +45 -45
  80. package/dist/components/discord-subscript/DiscordSubscript.js +15 -15
  81. package/dist/components/discord-system-message/DiscordSystemMessage.d.ts.map +1 -1
  82. package/dist/components/discord-system-message/DiscordSystemMessage.js +134 -131
  83. package/dist/components/discord-system-message/DiscordSystemMessage.js.map +1 -1
  84. package/dist/components/discord-tenor-video/DiscordTenorVideo.js +76 -76
  85. package/dist/components/discord-text-display/DiscordTextDisplay.js +10 -10
  86. package/dist/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.js +55 -55
  87. package/dist/components/discord-thread/DiscordThread.js +81 -81
  88. package/dist/components/discord-thread-message/DiscordThreadMessage.js +90 -90
  89. package/dist/components/discord-thumbnail/DiscordThumbnail.js +20 -20
  90. package/dist/components/discord-time/DiscordTime.js +7 -7
  91. package/dist/components/discord-transcript-header/DiscordTranscriptHeader.js +51 -51
  92. package/dist/components/discord-unordered-list/DiscordUnorderedList.d.ts.map +1 -1
  93. package/dist/components/discord-unordered-list/DiscordUnorderedList.js +18 -15
  94. package/dist/components/discord-unordered-list/DiscordUnorderedList.js.map +1 -1
  95. package/dist/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.js +58 -58
  96. package/dist/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.js +36 -36
  97. package/dist/components/discord-video-attachment/DiscordVideoAttachment.js +494 -494
  98. package/dist/components/discord-voice-message/DiscordVoiceMessage.js +255 -255
  99. package/dist/components/svgs/AttachmentDownloadButton.js +67 -67
  100. package/dist/components/svgs/AttachmentReply.js +5 -5
  101. package/dist/components/svgs/Boost.js +3 -3
  102. package/dist/components/svgs/ChannelForum.js +19 -19
  103. package/dist/components/svgs/ChannelIcon.js +17 -17
  104. package/dist/components/svgs/ChannelThread.js +15 -15
  105. package/dist/components/svgs/ChannelsAndRoles.js +23 -23
  106. package/dist/components/svgs/CommandIcon.js +4 -4
  107. package/dist/components/svgs/CommandIconName.js +5 -5
  108. package/dist/components/svgs/CommandReply.js +9 -9
  109. package/dist/components/svgs/CustomizeCommunity.js +17 -17
  110. package/dist/components/svgs/DMCall.js +6 -6
  111. package/dist/components/svgs/DMEdit.js +8 -8
  112. package/dist/components/svgs/DMMissedCall.js +8 -8
  113. package/dist/components/svgs/Ephemeral.js +21 -21
  114. package/dist/components/svgs/ExpandMore.js +4 -4
  115. package/dist/components/svgs/FileAttachment.js +10 -10
  116. package/dist/components/svgs/GuildBadge.js +8 -8
  117. package/dist/components/svgs/LaunchIcon.js +9 -9
  118. package/dist/components/svgs/LockedVoiceChannel.js +17 -17
  119. package/dist/components/svgs/MediaPauseIcon.js +2 -2
  120. package/dist/components/svgs/MediaPlayIcon.js +2 -2
  121. package/dist/components/svgs/MediaRestartIcon.js +2 -2
  122. package/dist/components/svgs/MediaVolumeAbove50PercentIcon.js +3 -3
  123. package/dist/components/svgs/MediaVolumeBelow50PercentIcon.js +2 -2
  124. package/dist/components/svgs/MediaVolumeMutedIcon.js +2 -2
  125. package/dist/components/svgs/MessageIcon.js +3 -3
  126. package/dist/components/svgs/ModalClose.js +4 -4
  127. package/dist/components/svgs/ModalWarning.js +5 -5
  128. package/dist/components/svgs/PartnerBadgeOverlay.js +11 -11
  129. package/dist/components/svgs/Pin.js +5 -5
  130. package/dist/components/svgs/PremiumIcon.js +6 -6
  131. package/dist/components/svgs/ReplyIcon.js +5 -5
  132. package/dist/components/svgs/ServerGuide.js +17 -17
  133. package/dist/components/svgs/ServerUpgrade.js +7 -7
  134. package/dist/components/svgs/SystemAlert.js +7 -7
  135. package/dist/components/svgs/SystemError.js +6 -6
  136. package/dist/components/svgs/Thread.js +9 -9
  137. package/dist/components/svgs/UserJoin.js +5 -5
  138. package/dist/components/svgs/UserLeave.js +5 -5
  139. package/dist/components/svgs/VerifiedBadgeOverlay.js +4 -4
  140. package/dist/components/svgs/VerifiedTick.js +13 -13
  141. package/dist/components/svgs/VideoFullScreenIcon.js +8 -8
  142. package/dist/components/svgs/VideoPausePopIcon.js +2 -2
  143. package/dist/components/svgs/VideoPlayPopIcon.js +2 -2
  144. package/dist/components/svgs/VoiceChannel.js +19 -19
  145. package/dist/components/svgs/clan-icons/Crystal.js +27 -27
  146. package/dist/components/svgs/clan-icons/Diamond.js +35 -35
  147. package/dist/components/svgs/clan-icons/Explosion.js +30 -30
  148. package/dist/components/svgs/clan-icons/Flame.js +23 -23
  149. package/dist/components/svgs/clan-icons/Flower.js +18 -18
  150. package/dist/components/svgs/clan-icons/Heart.js +19 -19
  151. package/dist/components/svgs/clan-icons/Key.js +32 -32
  152. package/dist/components/svgs/clan-icons/Leaf.js +23 -23
  153. package/dist/components/svgs/clan-icons/Lightning.js +25 -25
  154. package/dist/components/svgs/clan-icons/Magic.js +34 -34
  155. package/dist/components/svgs/clan-icons/Moon.js +21 -21
  156. package/dist/components/svgs/clan-icons/Mushroom.js +33 -33
  157. package/dist/components/svgs/clan-icons/Mythical.js +32 -32
  158. package/dist/components/svgs/clan-icons/Ornament.js +48 -48
  159. package/dist/components/svgs/clan-icons/Plasma.js +23 -23
  160. package/dist/components/svgs/clan-icons/Rock.js +20 -20
  161. package/dist/components/svgs/clan-icons/Shell.js +29 -29
  162. package/dist/components/svgs/clan-icons/Skull.js +28 -28
  163. package/dist/components/svgs/clan-icons/Sun.js +36 -36
  164. package/dist/components/svgs/clan-icons/Sword.js +27 -27
  165. package/dist/components/svgs/clan-icons/Water.js +20 -20
  166. package/dist/config.d.ts +1 -1
  167. package/dist/config.d.ts.map +1 -1
  168. package/dist/config.js +9 -3
  169. package/dist/config.js.map +1 -1
  170. package/dist/hydrate/index.d.ts +40 -0
  171. package/dist/hydrate/index.d.ts.map +1 -0
  172. package/dist/hydrate/index.js +48 -0
  173. package/dist/hydrate/index.js.map +1 -0
  174. package/package.json +222 -219
  175. package/dist/bundle/styles/base.css.map +0 -1
  176. package/dist/components/discord-container copy/DiscordContainer.d.ts +0 -22
  177. package/dist/components/discord-container copy/DiscordContainer.d.ts.map +0 -1
  178. package/dist/components/discord-container copy/DiscordContainer.js +0 -159
  179. package/dist/components/discord-container copy/DiscordContainer.js.map +0 -1
  180. package/dist/components/discord-media-fullscreen-previewer/context.d.ts +0 -10
  181. package/dist/components/discord-media-fullscreen-previewer/context.d.ts.map +0 -1
  182. package/dist/components/discord-media-fullscreen-previewer/context.js +0 -3
  183. package/dist/components/discord-media-fullscreen-previewer/context.js.map +0 -1
  184. package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.d.ts +0 -26
  185. package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.d.ts.map +0 -1
  186. package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.js +0 -183
  187. package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.js.map +0 -1
  188. package/dist/components/discord-section/DiscordContainer.d.ts +0 -22
  189. package/dist/components/discord-section/DiscordContainer.d.ts.map +0 -1
  190. package/dist/components/discord-section/DiscordContainer.js +0 -159
  191. package/dist/components/discord-section/DiscordContainer.js.map +0 -1
  192. package/dist/components/discord-section copy/DiscordSection.d.ts +0 -15
  193. package/dist/components/discord-section copy/DiscordSection.d.ts.map +0 -1
  194. package/dist/components/discord-section copy/DiscordSection.js +0 -77
  195. package/dist/components/discord-section copy/DiscordSection.js.map +0 -1
  196. package/dist/components/discord-section-components/DiscordSection.d.ts +0 -15
  197. package/dist/components/discord-section-components/DiscordSection.d.ts.map +0 -1
  198. package/dist/components/discord-section-components/DiscordSection.js +0 -77
  199. package/dist/components/discord-section-components/DiscordSection.js.map +0 -1
  200. package/dist/components/discord-text-display/DiscordSection.d.ts +0 -15
  201. package/dist/components/discord-text-display/DiscordSection.d.ts.map +0 -1
  202. package/dist/components/discord-text-display/DiscordSection.js +0 -79
  203. package/dist/components/discord-text-display/DiscordSection.js.map +0 -1
  204. package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.d.ts +0 -71
  205. package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.d.ts.map +0 -1
  206. package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.js +0 -238
  207. package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.js.map +0 -1
@@ -1,2 +1 @@
1
- @font-face{font-family:Whitney;src:url(https://cdn.skyra.pw/whitney-font/v2/Book.woff) format("woff");font-weight:400}@font-face{font-family:Whitney;src:url(https://cdn.skyra.pw/whitney-font/v2/Medium.woff) format("woff");font-weight:500}@font-face{font-family:Whitney;src:url(https://cdn.skyra.pw/whitney-font/v2/Semibold.woff) format("woff");font-weight:600}@font-face{font-family:Whitney;src:url(https://cdn.skyra.pw/whitney-font/v2/Bold.woff) format("woff");font-weight:700}discord-code-block pre code.hljs{display:block;overflow-x:auto;padding:1em}discord-code-block code.hljs{padding:3px 5px}discord-code-block .hljs{color:#c9d1d9;background:#0d1117}discord-code-block .hljs-doctag,discord-code-block .hljs-keyword,discord-code-block .hljs-meta .hljs-keyword,discord-code-block .hljs-template-tag,discord-code-block .hljs-template-variable,discord-code-block .hljs-type,discord-code-block .hljs-variable.language_{color:#ff7b72}discord-code-block .hljs-title,discord-code-block .hljs-title.class_,discord-code-block .hljs-title.class_.inherited__,discord-code-block .hljs-title.function_{color:#d2a8ff}discord-code-block .hljs-attr,discord-code-block .hljs-attribute,discord-code-block .hljs-literal,discord-code-block .hljs-meta,discord-code-block .hljs-number,discord-code-block .hljs-operator,discord-code-block .hljs-variable,discord-code-block .hljs-selector-attr,discord-code-block .hljs-selector-class,discord-code-block .hljs-selector-id{color:#79c0ff}discord-code-block .hljs-regexp,discord-code-block .hljs-string,discord-code-block .hljs-meta .hljs-string{color:#a5d6ff}discord-code-block .hljs-built_in,discord-code-block .hljs-symbol{color:#ffa657}discord-code-block .hljs-comment,discord-code-block .hljs-code,discord-code-block .hljs-formula{color:#8b949e}discord-code-block .hljs-name,discord-code-block .hljs-quote,discord-code-block .hljs-selector-tag,discord-code-block .hljs-selector-pseudo{color:#7ee787}discord-code-block .hljs-subst{color:#c9d1d9}discord-code-block .hljs-section{color:#1f6feb;font-weight:700}discord-code-block .hljs-bullet{color:#f2cc60}discord-code-block .hljs-emphasis{color:#c9d1d9;font-style:italic}discord-code-block .hljs-strong{color:#c9d1d9;font-weight:700}discord-code-block .hljs-addition{color:#aff5b4;background-color:#033a16}discord-code-block .hljs-deletion{color:#ffdcd7;background-color:#67060c}[light-theme] discord-code-block pre code.hljs,discord-code-block[light-theme] pre code.hljs{display:block;overflow-x:auto;padding:1em}[light-theme] discord-code-block code.hljs,discord-code-block[light-theme] code.hljs{padding:3px 5px}[light-theme] discord-code-block .hljs,discord-code-block[light-theme] .hljs{color:#24292e;background:#fff}[light-theme] discord-code-block .hljs-doctag,[light-theme] discord-code-block .hljs-keyword,[light-theme] discord-code-block .hljs-meta .hljs-keyword,[light-theme] discord-code-block .hljs-template-tag,[light-theme] discord-code-block .hljs-template-variable,[light-theme] discord-code-block .hljs-type,[light-theme] discord-code-block .hljs-variable.language_,discord-code-block[light-theme] .hljs-doctag,discord-code-block[light-theme] .hljs-keyword,discord-code-block[light-theme] .hljs-meta .hljs-keyword,discord-code-block[light-theme] .hljs-template-tag,discord-code-block[light-theme] .hljs-template-variable,discord-code-block[light-theme] .hljs-type,discord-code-block[light-theme] .hljs-variable.language_{color:#d73a49}[light-theme] discord-code-block .hljs-title,[light-theme] discord-code-block .hljs-title.class_,[light-theme] discord-code-block .hljs-title.class_.inherited__,[light-theme] discord-code-block .hljs-title.function_,discord-code-block[light-theme] .hljs-title,discord-code-block[light-theme] .hljs-title.class_,discord-code-block[light-theme] .hljs-title.class_.inherited__,discord-code-block[light-theme] .hljs-title.function_{color:#6f42c1}[light-theme] discord-code-block .hljs-attr,[light-theme] discord-code-block .hljs-attribute,[light-theme] discord-code-block .hljs-literal,[light-theme] discord-code-block .hljs-meta,[light-theme] discord-code-block .hljs-number,[light-theme] discord-code-block .hljs-operator,[light-theme] discord-code-block .hljs-variable,[light-theme] discord-code-block .hljs-selector-attr,[light-theme] discord-code-block .hljs-selector-class,[light-theme] discord-code-block .hljs-selector-id,discord-code-block[light-theme] .hljs-attr,discord-code-block[light-theme] .hljs-attribute,discord-code-block[light-theme] .hljs-literal,discord-code-block[light-theme] .hljs-meta,discord-code-block[light-theme] .hljs-number,discord-code-block[light-theme] .hljs-operator,discord-code-block[light-theme] .hljs-variable,discord-code-block[light-theme] .hljs-selector-attr,discord-code-block[light-theme] .hljs-selector-class,discord-code-block[light-theme] .hljs-selector-id{color:#005cc5}[light-theme] discord-code-block .hljs-regexp,[light-theme] discord-code-block .hljs-string,[light-theme] discord-code-block .hljs-meta .hljs-string,discord-code-block[light-theme] .hljs-regexp,discord-code-block[light-theme] .hljs-string,discord-code-block[light-theme] .hljs-meta .hljs-string{color:#032f62}[light-theme] discord-code-block .hljs-built_in,[light-theme] discord-code-block .hljs-symbol,discord-code-block[light-theme] .hljs-built_in,discord-code-block[light-theme] .hljs-symbol{color:#e36209}[light-theme] discord-code-block .hljs-comment,[light-theme] discord-code-block .hljs-code,[light-theme] discord-code-block .hljs-formula,discord-code-block[light-theme] .hljs-comment,discord-code-block[light-theme] .hljs-code,discord-code-block[light-theme] .hljs-formula{color:#6a737d}[light-theme] discord-code-block .hljs-name,[light-theme] discord-code-block .hljs-quote,[light-theme] discord-code-block .hljs-selector-tag,[light-theme] discord-code-block .hljs-selector-pseudo,discord-code-block[light-theme] .hljs-name,discord-code-block[light-theme] .hljs-quote,discord-code-block[light-theme] .hljs-selector-tag,discord-code-block[light-theme] .hljs-selector-pseudo{color:#22863a}[light-theme] discord-code-block .hljs-subst,discord-code-block[light-theme] .hljs-subst{color:#24292e}[light-theme] discord-code-block .hljs-section,discord-code-block[light-theme] .hljs-section{color:#005cc5;font-weight:700}[light-theme] discord-code-block .hljs-bullet,discord-code-block[light-theme] .hljs-bullet{color:#735c0f}[light-theme] discord-code-block .hljs-emphasis,discord-code-block[light-theme] .hljs-emphasis{color:#24292e;font-style:italic}[light-theme] discord-code-block .hljs-strong,discord-code-block[light-theme] .hljs-strong{color:#24292e;font-weight:700}[light-theme] discord-code-block .hljs-addition,discord-code-block[light-theme] .hljs-addition{color:#22863a;background-color:#f0fff4}[light-theme] discord-code-block .hljs-deletion,discord-code-block[light-theme] .hljs-deletion{color:#b31d28;background-color:#ffeef0}discord-code-block[light-theme] .discord-code-block-pre{--border: 1px solid #d3d4da;--background-color: #f4f5fa}.discord-code-block-pre{font-family:Consolas,Courier New,Courier,monospace;margin-top:.25rem;background-color:var(--background-color, color-mix(in oklab, hsla(234.935, 85.556%, 64.706%, .0784313725) 100%, hsla(0, 0%, 0%, .0784313725) 0%));max-width:600px;white-space:normal!important;border:var(--border, 1px solid color-mix(in oklab, hsla(240, 4%, 60.784%, .2) 100%, hsla(0, 0%, 0%, .2) 0%))}discord-text-file-attachment-previewer{margin:8px 0;display:flex;flex-direction:column;max-width:80%;border-radius:8px;--border-color: color-mix(in oklab, hsl(240 4% 60.784% /.12156862745098039) 100%, hsl(0 0% 0% /.12156862745098039) 0%);border:1px solid var(--border-color);background-color:#323339}discord-text-file-attachment-previewer .discord-code-block-pre{margin-bottom:0;padding:16px;background-color:transparent;border:none;overflow:auto;min-height:100px;max-width:unset}discord-text-file-attachment-previewer .discord-code-block-pre code{white-space:pre}discord-text-file-attachment-previewer .discord-code-block-pre::-webkit-scrollbar{width:4px;height:4px}discord-text-file-attachment-previewer .discord-code-block-pre::-webkit-scrollbar-thumb{background:#1f1f23;border-radius:8px}discord-text-file-attachment-previewer :focus-visible{outline:none}discord-text-file-attachment-previewer .file-metadata{display:flex;justify-content:flex-end;align-items:center;padding:0 16px;min-height:40px;border-top:1px solid var(--border-color);gap:4px;color:color-mix(in oklab,hsl(220,4.918%,88.039%) 100%,#000 0%);background-color:color-mix(in oklab,hsl(232.5,6.557%,23.922%) 100%,#000 0%);border-radius:0 0 8px 8px;font-size:.875rem}discord-text-file-attachment-previewer .file-metadata button{display:flex;align-items:center;justify-content:center;background:transparent;border:none;padding:0;color:color-mix(in oklab,hsl(228,4.425%,77.843%) 100%,#000 0%);cursor:pointer}discord-text-file-attachment-previewer .file-metadata button a{color:color-mix(in oklab,hsl(228,4.425%,77.843%) 100%,#000 0%)}discord-text-file-attachment-previewer .file-metadata button:hover,discord-text-file-attachment-previewer .file-metadata button:hover a{color:color-mix(in oklab,hsl(0,0%,100%) 100%,#000 0%)}discord-text-file-attachment-previewer .file-metadata button svg{width:24px;height:24px}discord-text-file-attachment-previewer .file-metadata>button:focus-visible,discord-text-file-attachment-previewer .file-metadata>button a:focus-visible{outline:2px solid hsl(234.935,85.556%,64.706%);outline-offset:2px;border-radius:2px}discord-text-file-attachment-previewer .file-metadata .file-metadata-name{display:inline-block;flex:0 1 auto;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;color:color-mix(in oklab,hsl(228,4.425%,77.843%) 100%,#000 0%)}discord-text-file-attachment-previewer .file-metadata .file-metadata-name:hover{color:color-mix(in oklab,hsl(0,0%,100%) 100%,#000 0%)}discord-text-file-attachment-previewer .file-metadata .file-metadata-size{color:color-mix(in oklab,hsl(234.545,6.509%,33.137%) 100%,#000 0%);padding-left:2px;text-align:right}discord-text-file-attachment-previewer .file-metadata .file-metadata-size:hover{color:color-mix(in oklab,hsl(0,0%,100%) 100%,#000 0%)}discord-text-file-attachment-previewer .file-metadata .language-selector{display:flex;flex-direction:column;width:192px;height:296px;background-color:color-mix(in oklab,hsl(232.5,6.557%,23.922%) 100%,#000 0%);box-shadow:0 8px 16px #0000003d;padding:8px 8px 4px;border-radius:4px;margin-top:4px;font-family:gg sans,Noto Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px;gap:8px;animation:discord-text-file-attachment-previewer-language-selector-appear .08s ease-out;z-index:1000;user-select:none}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container{display:flex;gap:2px;padding:10px 12px;border-radius:8px;border:1px solid color-mix(in oklab,hsla(240,4%,60.784%,.2) 100%,hsla(0,0%,0%,.2) 0%);background-color:color-mix(in oklab,hsla(0,0%,0%,.2) 100%,hsla(0,0%,0%,.2) 0%);box-sizing:border-box}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container:has(input:focus),discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container:has(button:active){border:1px solid color-mix(in oklab,hsl(213.934,85.915%,72.157%) 100%,#000 0%)}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container input{width:0%;flex:1;background:transparent;border:none;outline:none;color:color-mix(in oklab,hsl(220,4.918%,88.039%) 100%,#000 0%);line-height:20px;padding:0;margin:0}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container svg{width:16px;height:16px}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container .search-button{pointer-events:none}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container button:focus-visible{outline:2px solid hsl(234.935,85.556%,64.706%);outline-offset:2px;border-radius:8px}discord-text-file-attachment-previewer .file-metadata .language-selector ul{padding:0;margin:0;overflow:auto}discord-text-file-attachment-previewer .file-metadata .language-selector ul li{list-style:none;display:block}discord-text-file-attachment-previewer .file-metadata .language-selector ul::-webkit-scrollbar{width:0px;height:0px}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-item{width:100%;justify-content:flex-start;align-items:center;border-radius:4px;color:color-mix(in oklab,hsl(228,4.425%,77.843%) 100%,#000 0%);cursor:pointer;display:flex;font-weight:500;margin-bottom:4px;outline:none;padding:10px 8px;font-size:16px}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-item.selected{background-color:#97979f33}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-item:hover{background-color:#97979f14;color:color-mix(in oklab,hsl(0,0%,100%) 100%,#000 0%)}discord-text-file-attachment-previewer .file-metadata .language-selector .no-results{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;gap:12px}discord-text-file-attachment-previewer .file-metadata .language-selector .no-results h3{margin:0;font-size:16px}discord-text-file-attachment-previewer .file-metadata .language-selector .no-results p{text-align:center;margin:0;line-height:1.25;font-weight:400;color:color-mix(in oklab,hsl(231.429,4.459%,69.216%) 100%,#000 0%)}discord-text-file-attachment-previewer[light-theme]{--border-color: #dfdfe1;background-color:#fbfbfb}discord-text-file-attachment-previewer[light-theme] .discord-code-block-pre::-webkit-scrollbar-thumb{background-color:#707071}discord-text-file-attachment-previewer[light-theme] .file-metadata{background-color:color-mix(in oklab,hsl(0,0%,100%) 100%,#000 0%)}discord-text-file-attachment-previewer[light-theme] .file-metadata .file-metadata-name,discord-text-file-attachment-previewer[light-theme] .file-metadata button,discord-text-file-attachment-previewer[light-theme] .file-metadata button a{color:color-mix(in oklab,hsl(234.545,5.473%,39.412%) 100%,#000 0%)}discord-text-file-attachment-previewer[light-theme] .file-metadata .file-metadata-size{color:color-mix(in oklab,hsl(240,4.762%,79.412%) 100%,#000 0%)}discord-text-file-attachment-previewer[light-theme] .file-metadata :where(button,button a,.file-metadata-name,.file-metadata-size):hover{color:color-mix(in oklab,hsl(231.429,6.542%,20.98%) 100%,#000 0%)}discord-text-file-attachment-previewer[light-theme] .language-selector{background-color:color-mix(in oklab,hsl(0,0%,100%) 100%,#000 0%)}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-input-container{background-color:color-mix(in oklab,hsla(0,0%,0%,.0784313725) 100%,hsla(0,0%,0%,.0784313725) 0%);border-color:color-mix(in oklab,hsla(240,4%,60.784%,.3607843137) 100%,hsla(0,0%,0%,.3607843137) 0%)}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-input-container:has(input:focus),discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-input-container:has(button:active){border-color:#0074e3}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-input-container input{color:color-mix(in oklab,hsl(231.429,6.542%,20.98%) 100%,#000 0%)}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-item{color:color-mix(in oklab,hsl(234.545,5.473%,39.412%) 100%,#000 0%)}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-item.selected{background-color:#97979f3d}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-item:hover{background-color:#97979f1f;color:color-mix(in oklab,hsl(230,6%,19.608%) 100%,#000 0%)}discord-text-file-attachment-previewer[light-theme] .language-selector .no-results h3{color:color-mix(in oklab,hsl(231.429,6.542%,20.98%) 100%,#000 0%)}discord-text-file-attachment-previewer[light-theme] .language-selector .no-results p{color:color-mix(in oklab,hsl(234,4.386%,44.706%) 100%,#000 0%)}@keyframes discord-text-file-attachment-previewer-language-selector-appear{0%{opacity:0}to{opacity:1}}.discord-code-block-pre--multiline{display:block;margin-bottom:.5rem;margin-top:.25em;padding:.5em;border-radius:4px;color:#b9bbbe;font-size:.875rem}.discord-code-block-pre--multiline.hljs{color:#b9bbbe}code.hljs{white-space:pre-wrap;background:none!important;padding:unset!important}discord-embed .discord-code-block-pre{--background-color: color-mix(in oklab, hsl(230 6.383% 18.431% /1) 100%, #000 0%);--border: none}discord-embed[light-theme] .discord-code-block-pre{--background-color: #f3f3f4}
2
- /*# sourceMappingURL=base.css.map */
1
+ @font-face{font-family:Whitney;src:url(https://cdn.skyra.pw/whitney-font/v2/Book.woff)format("woff");font-weight:400}@font-face{font-family:Whitney;src:url(https://cdn.skyra.pw/whitney-font/v2/Medium.woff)format("woff");font-weight:500}@font-face{font-family:Whitney;src:url(https://cdn.skyra.pw/whitney-font/v2/Semibold.woff)format("woff");font-weight:600}@font-face{font-family:Whitney;src:url(https://cdn.skyra.pw/whitney-font/v2/Bold.woff)format("woff");font-weight:700}discord-code-block pre code.hljs{padding:1em;display:block;overflow-x:auto}discord-code-block code.hljs{padding:3px 5px}discord-code-block .hljs{color:#c9d1d9;background:#0d1117}discord-code-block .hljs-doctag,discord-code-block .hljs-keyword,discord-code-block .hljs-meta .hljs-keyword,discord-code-block .hljs-template-tag,discord-code-block .hljs-template-variable,discord-code-block .hljs-type,discord-code-block .hljs-variable.language_{color:#ff7b72}discord-code-block .hljs-title,discord-code-block .hljs-title.class_,discord-code-block .hljs-title.class_.inherited__,discord-code-block .hljs-title.function_{color:#d2a8ff}discord-code-block .hljs-attr,discord-code-block .hljs-attribute,discord-code-block .hljs-literal,discord-code-block .hljs-meta,discord-code-block .hljs-number,discord-code-block .hljs-operator,discord-code-block .hljs-variable,discord-code-block .hljs-selector-attr,discord-code-block .hljs-selector-class,discord-code-block .hljs-selector-id{color:#79c0ff}discord-code-block .hljs-regexp,discord-code-block .hljs-string,discord-code-block .hljs-meta .hljs-string{color:#a5d6ff}discord-code-block .hljs-built_in,discord-code-block .hljs-symbol{color:#ffa657}discord-code-block .hljs-comment,discord-code-block .hljs-code,discord-code-block .hljs-formula{color:#8b949e}discord-code-block .hljs-name,discord-code-block .hljs-quote,discord-code-block .hljs-selector-tag,discord-code-block .hljs-selector-pseudo{color:#7ee787}discord-code-block .hljs-subst{color:#c9d1d9}discord-code-block .hljs-section{color:#1f6feb;font-weight:700}discord-code-block .hljs-bullet{color:#f2cc60}discord-code-block .hljs-emphasis{color:#c9d1d9;font-style:italic}discord-code-block .hljs-strong{color:#c9d1d9;font-weight:700}discord-code-block .hljs-addition{color:#aff5b4;background-color:#033a16}discord-code-block .hljs-deletion{color:#ffdcd7;background-color:#67060c}[light-theme] discord-code-block pre code.hljs,discord-code-block[light-theme] pre code.hljs{padding:1em;display:block;overflow-x:auto}[light-theme] discord-code-block code.hljs,discord-code-block[light-theme] code.hljs{padding:3px 5px}[light-theme] discord-code-block .hljs,discord-code-block[light-theme] .hljs{color:#24292e;background:#fff}[light-theme] discord-code-block .hljs-doctag,[light-theme] discord-code-block .hljs-keyword,[light-theme] discord-code-block .hljs-meta .hljs-keyword,[light-theme] discord-code-block .hljs-template-tag,[light-theme] discord-code-block .hljs-template-variable,[light-theme] discord-code-block .hljs-type,[light-theme] discord-code-block .hljs-variable.language_,discord-code-block[light-theme] .hljs-doctag,discord-code-block[light-theme] .hljs-keyword,discord-code-block[light-theme] .hljs-meta .hljs-keyword,discord-code-block[light-theme] .hljs-template-tag,discord-code-block[light-theme] .hljs-template-variable,discord-code-block[light-theme] .hljs-type,discord-code-block[light-theme] .hljs-variable.language_{color:#d73a49}[light-theme] discord-code-block .hljs-title,[light-theme] discord-code-block .hljs-title.class_,[light-theme] discord-code-block .hljs-title.class_.inherited__,[light-theme] discord-code-block .hljs-title.function_,discord-code-block[light-theme] .hljs-title,discord-code-block[light-theme] .hljs-title.class_,discord-code-block[light-theme] .hljs-title.class_.inherited__,discord-code-block[light-theme] .hljs-title.function_{color:#6f42c1}[light-theme] discord-code-block .hljs-attr,[light-theme] discord-code-block .hljs-attribute,[light-theme] discord-code-block .hljs-literal,[light-theme] discord-code-block .hljs-meta,[light-theme] discord-code-block .hljs-number,[light-theme] discord-code-block .hljs-operator,[light-theme] discord-code-block .hljs-variable,[light-theme] discord-code-block .hljs-selector-attr,[light-theme] discord-code-block .hljs-selector-class,[light-theme] discord-code-block .hljs-selector-id,discord-code-block[light-theme] .hljs-attr,discord-code-block[light-theme] .hljs-attribute,discord-code-block[light-theme] .hljs-literal,discord-code-block[light-theme] .hljs-meta,discord-code-block[light-theme] .hljs-number,discord-code-block[light-theme] .hljs-operator,discord-code-block[light-theme] .hljs-variable,discord-code-block[light-theme] .hljs-selector-attr,discord-code-block[light-theme] .hljs-selector-class,discord-code-block[light-theme] .hljs-selector-id{color:#005cc5}[light-theme] discord-code-block .hljs-regexp,[light-theme] discord-code-block .hljs-string,[light-theme] discord-code-block .hljs-meta .hljs-string,discord-code-block[light-theme] .hljs-regexp,discord-code-block[light-theme] .hljs-string,discord-code-block[light-theme] .hljs-meta .hljs-string{color:#032f62}[light-theme] discord-code-block .hljs-built_in,[light-theme] discord-code-block .hljs-symbol,discord-code-block[light-theme] .hljs-built_in,discord-code-block[light-theme] .hljs-symbol{color:#e36209}[light-theme] discord-code-block .hljs-comment,[light-theme] discord-code-block .hljs-code,[light-theme] discord-code-block .hljs-formula,discord-code-block[light-theme] .hljs-comment,discord-code-block[light-theme] .hljs-code,discord-code-block[light-theme] .hljs-formula{color:#6a737d}[light-theme] discord-code-block .hljs-name,[light-theme] discord-code-block .hljs-quote,[light-theme] discord-code-block .hljs-selector-tag,[light-theme] discord-code-block .hljs-selector-pseudo,discord-code-block[light-theme] .hljs-name,discord-code-block[light-theme] .hljs-quote,discord-code-block[light-theme] .hljs-selector-tag,discord-code-block[light-theme] .hljs-selector-pseudo{color:#22863a}[light-theme] discord-code-block .hljs-subst,discord-code-block[light-theme] .hljs-subst{color:#24292e}[light-theme] discord-code-block .hljs-section,discord-code-block[light-theme] .hljs-section{color:#005cc5;font-weight:700}[light-theme] discord-code-block .hljs-bullet,discord-code-block[light-theme] .hljs-bullet{color:#735c0f}[light-theme] discord-code-block .hljs-emphasis,discord-code-block[light-theme] .hljs-emphasis{color:#24292e;font-style:italic}[light-theme] discord-code-block .hljs-strong,discord-code-block[light-theme] .hljs-strong{color:#24292e;font-weight:700}[light-theme] discord-code-block .hljs-addition,discord-code-block[light-theme] .hljs-addition{color:#22863a;background-color:#f0fff4}[light-theme] discord-code-block .hljs-deletion,discord-code-block[light-theme] .hljs-deletion{color:#b31d28;background-color:#ffeef0}discord-code-block[light-theme] .discord-code-block-pre{--border:1px solid #d3d4da;--background-color:#f4f5fa}.discord-code-block-pre{background-color:var(--background-color,oklab(57.7436% .0140405 -.208618/.0784314));border:var(--border,1px solid oklab(67.8931% .00322345 -.0111782/.2));max-width:600px;margin-top:.25rem;font-family:Consolas,Courier New,Courier,monospace;white-space:normal!important}discord-text-file-attachment-previewer{--border-color:oklab(67.8931% .00322345 -.0111782/.121569);border:1px solid var(--border-color);background-color:#323339;border-radius:8px;flex-direction:column;max-width:80%;margin:8px 0;display:flex}discord-text-file-attachment-previewer .discord-code-block-pre{margin-bottom:0;padding:16px}discord-text-file-attachment-previewer .discord-code-block-pre code{white-space:pre}discord-text-file-attachment-previewer .discord-code-block-pre{min-height:100px;max-width:unset;background-color:#0000;border:none;overflow:auto}discord-text-file-attachment-previewer .discord-code-block-pre::-webkit-scrollbar{width:4px;height:4px}discord-text-file-attachment-previewer .discord-code-block-pre::-webkit-scrollbar-thumb{background:#1f1f23;border-radius:8px}discord-text-file-attachment-previewer :focus-visible{outline:none}discord-text-file-attachment-previewer .file-metadata{border-top:1px solid var(--border-color);color:oklab(90.65% -.000277698 -.00290775);background-color:oklab(35.0183% .00196305 -.0120089);border-radius:0 0 8px 8px;justify-content:flex-end;align-items:center;gap:4px;min-height:40px;padding:0 16px;font-size:.875rem;display:flex}discord-text-file-attachment-previewer .file-metadata button{color:oklab(82.3833% .000488132 -.00563574);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:flex}discord-text-file-attachment-previewer .file-metadata button a{color:oklab(82.3833% .000488132 -.00563574)}discord-text-file-attachment-previewer .file-metadata button:hover,discord-text-file-attachment-previewer .file-metadata button:hover a{color:oklab(100% 0 5.96046e-8)}discord-text-file-attachment-previewer .file-metadata button svg{width:24px;height:24px}discord-text-file-attachment-previewer .file-metadata>button:focus-visible,discord-text-file-attachment-previewer .file-metadata>button a:focus-visible{outline-offset:2px;border-radius:2px;outline:2px solid #5865f2}discord-text-file-attachment-previewer .file-metadata .file-metadata-name{text-align:right;text-overflow:ellipsis;white-space:nowrap;color:oklab(82.3833% .000488132 -.00563574);flex:0 auto;display:inline-block;overflow:hidden}discord-text-file-attachment-previewer .file-metadata .file-metadata-name:hover{color:oklab(100% 0 5.96046e-8)}discord-text-file-attachment-previewer .file-metadata .file-metadata-size{color:oklab(43.4027% .00317496 -.0161066);text-align:right;padding-left:2px}discord-text-file-attachment-previewer .file-metadata .file-metadata-size:hover{color:oklab(100% 0 5.96046e-8)}discord-text-file-attachment-previewer .file-metadata .language-selector{z-index:1000;user-select:none;background-color:oklab(35.0183% .00196305 -.0120089);border-radius:4px;flex-direction:column;gap:8px;width:192px;height:296px;margin-top:4px;padding:8px 8px 4px;font-family:gg sans,Noto Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px;animation:80ms ease-out discord-text-file-attachment-previewer-language-selector-appear;display:flex;box-shadow:0 8px 16px #0000003d}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container{box-sizing:border-box;background-color:oklab(0% none none/.2);border:1px solid oklab(67.8931% .00322345 -.0111782/.2);border-radius:8px;gap:2px;padding:10px 12px;display:flex}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container:has(input:focus),discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container:has(button:active){border:1px solid oklab(74.7858% -.0289834 -.111316)}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container input{color:oklab(90.65% -.000277698 -.00290775);background:0 0;border:none;outline:none;flex:1;width:0%;margin:0;padding:0;line-height:20px}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container svg{width:16px;height:16px}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container .search-button{pointer-events:none}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-input-container button:focus-visible{outline-offset:2px;border-radius:8px;outline:2px solid #5865f2}discord-text-file-attachment-previewer .file-metadata .language-selector ul{margin:0;padding:0}discord-text-file-attachment-previewer .file-metadata .language-selector ul li{list-style:none;display:block}discord-text-file-attachment-previewer .file-metadata .language-selector ul{overflow:auto}discord-text-file-attachment-previewer .file-metadata .language-selector ul::-webkit-scrollbar{width:0;height:0}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-item{color:oklab(82.3833% .000488132 -.00563574);cursor:pointer;border-radius:4px;outline:none;justify-content:flex-start;align-items:center;width:100%;margin-bottom:4px;padding:10px 8px;font-size:16px;font-weight:500;display:flex}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-item.selected{background-color:#97979f33}discord-text-file-attachment-previewer .file-metadata .language-selector .language-selector-item:hover{color:oklab(100% 0 5.96046e-8);background-color:#97979f14}discord-text-file-attachment-previewer .file-metadata .language-selector .no-results{flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:20px;display:flex}discord-text-file-attachment-previewer .file-metadata .language-selector .no-results h3{margin:0;font-size:16px}discord-text-file-attachment-previewer .file-metadata .language-selector .no-results p{text-align:center;color:oklab(75.1845% .00128311 -.00849432);margin:0;font-weight:400;line-height:1.25}discord-text-file-attachment-previewer[light-theme]{--border-color:#dfdfe1;background-color:#fbfbfb}discord-text-file-attachment-previewer[light-theme] .discord-code-block-pre::-webkit-scrollbar-thumb{background-color:#707071}discord-text-file-attachment-previewer[light-theme] .file-metadata{background-color:oklab(100% 0 5.96046e-8)}discord-text-file-attachment-previewer[light-theme] .file-metadata .file-metadata-name,discord-text-file-attachment-previewer[light-theme] .file-metadata button,discord-text-file-attachment-previewer[light-theme] .file-metadata button a{color:oklab(49.1682% .00310068 -.0155901)}discord-text-file-attachment-previewer[light-theme] .file-metadata .file-metadata-size{color:oklab(83.4271% .00192839 -.00661641)}discord-text-file-attachment-previewer[light-theme] .file-metadata :where(button,button a,.file-metadata-name,.file-metadata-size):hover{color:oklab(32.2453% .00153181 -.0105624)}discord-text-file-attachment-previewer[light-theme] .language-selector{background-color:oklab(100% 0 5.96046e-8)}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-input-container{background-color:oklab(0% none none/.0784314);border-color:oklab(67.8931% .00322345 -.0111782/.360784)}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-input-container:has(input:focus),discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-input-container:has(button:active){border-color:#0074e3}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-input-container input{color:oklab(32.2453% .00153181 -.0105624)}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-item{color:oklab(49.1682% .00310068 -.0155901)}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-item.selected{background-color:#97979f3d}discord-text-file-attachment-previewer[light-theme] .language-selector .language-selector-item:hover{color:oklab(31.0149% .00107375 -.00894806);background-color:#97979f1f}discord-text-file-attachment-previewer[light-theme] .language-selector .no-results h3{color:oklab(32.2453% .00153181 -.0105624)}discord-text-file-attachment-previewer[light-theme] .language-selector .no-results p{color:oklab(54.042% .00263104 -.0137157)}@keyframes discord-text-file-attachment-previewer-language-selector-appear{0%{opacity:0}to{opacity:1}}.discord-code-block-pre--multiline{color:#b9bbbe;border-radius:4px;margin-top:.25em;margin-bottom:.5rem;padding:.5em;font-size:.875rem;display:block}.discord-code-block-pre--multiline.hljs{color:#b9bbbe}code.hljs{white-space:pre-wrap;padding:unset!important;background:0 0!important}discord-embed .discord-code-block-pre{--background-color:oklab(29.8142% .00108114 -.00904034);--border:none}discord-embed[light-theme] .discord-code-block-pre{--background-color:#f3f3f4}
@@ -20,80 +20,80 @@ export class BaseDiscordSelectMenuOption extends LitElement {
20
20
  this.selected = false;
21
21
  this.visible = true;
22
22
  }
23
- static { this.baseStyles = css `
24
- label {
25
- display: flex;
26
- align-items: center;
27
- max-width: 400px;
28
- padding: 12px 8px 8px 12px;
29
- gap: 10px;
30
- font-size: small;
31
- cursor: pointer;
32
- }
33
-
34
- :host {
35
- user-select: none;
36
- }
37
-
38
- label:hover,
39
- :host([selected]) label {
40
- background-color: rgba(255, 255, 255, 0.1);
41
- }
42
-
43
- :host([light-theme]) {
44
- background-color: #f2f3f5 !important;
45
- border-color: #d9d9d9 !important;
46
- color: #2e3338;
47
- span {
48
- color: #434c4f;
49
- }
50
- }
51
-
52
- :host([light-theme]) label:hover,
53
- :host([selected][light-theme]) label {
54
- background-color: rgba(204, 204, 204, 2) !important;
55
- }
56
-
57
- .selected-tick {
58
- width: 20px;
59
- height: 20px;
60
- border-radius: 50%;
61
- background-color: #5865f2;
62
- color: #fff;
63
- display: flex;
64
- align-items: center;
65
- justify-content: center;
66
-
67
- svg {
68
- width: 32px;
69
- height: 32px;
70
- }
71
- }
72
-
73
- .flex-container {
74
- flex: 1;
75
- display: flex;
76
- align-items: center;
77
- gap: 4px;
78
- justify-content: space-between;
79
- }
80
-
81
- :host([slot='default']) {
82
- pointer-events: none;
83
- background-color: transparent !important;
84
- border-color: transparent !important;
85
- label {
86
- padding-left: 4px !important;
87
- }
88
- }
89
-
90
- :host(:not([visible])) {
91
- display: none;
92
- }
23
+ static { this.baseStyles = css `
24
+ label {
25
+ display: flex;
26
+ align-items: center;
27
+ max-width: 400px;
28
+ padding: 12px 8px 8px 12px;
29
+ gap: 10px;
30
+ font-size: small;
31
+ cursor: pointer;
32
+ }
33
+
34
+ :host {
35
+ user-select: none;
36
+ }
37
+
38
+ label:hover,
39
+ :host([selected]) label {
40
+ background-color: rgba(255, 255, 255, 0.1);
41
+ }
42
+
43
+ :host([light-theme]) {
44
+ background-color: #f2f3f5 !important;
45
+ border-color: #d9d9d9 !important;
46
+ color: #2e3338;
47
+ span {
48
+ color: #434c4f;
49
+ }
50
+ }
51
+
52
+ :host([light-theme]) label:hover,
53
+ :host([selected][light-theme]) label {
54
+ background-color: rgba(204, 204, 204, 2) !important;
55
+ }
56
+
57
+ .selected-tick {
58
+ width: 20px;
59
+ height: 20px;
60
+ border-radius: 50%;
61
+ background-color: #5865f2;
62
+ color: #fff;
63
+ display: flex;
64
+ align-items: center;
65
+ justify-content: center;
66
+
67
+ svg {
68
+ width: 32px;
69
+ height: 32px;
70
+ }
71
+ }
72
+
73
+ .flex-container {
74
+ flex: 1;
75
+ display: flex;
76
+ align-items: center;
77
+ gap: 4px;
78
+ justify-content: space-between;
79
+ }
80
+
81
+ :host([slot='default']) {
82
+ pointer-events: none;
83
+ background-color: transparent !important;
84
+ border-color: transparent !important;
85
+ label {
86
+ padding-left: 4px !important;
87
+ }
88
+ }
89
+
90
+ :host(:not([visible])) {
91
+ display: none;
92
+ }
93
93
  `; }
94
94
  renderSelectedContainer(content) {
95
- return html `
96
- <div class="flex-container">${content} ${when(this.selected, () => html `<div class="selected-tick">${VerifiedTick()}</div>`)}</div>
95
+ return html `
96
+ <div class="flex-container">${content} ${when(this.selected, () => html `<div class="selected-tick">${VerifiedTick()}</div>`)}</div>
97
97
  `;
98
98
  }
99
99
  selectOption() {
@@ -2,119 +2,119 @@ import { css } from 'lit';
2
2
  /**
3
3
  * @internal
4
4
  */
5
- export const DiscordMediaAttachmentStyles = css `
6
- .discord-media-attachment-non-visual-media-item-container {
7
- justify-self: start;
8
- align-self: start;
9
- margin-top: 8px;
10
- max-width: 100%;
11
- display: flex;
12
- flex-direction: column;
13
- position: relative;
14
- }
15
-
16
- :host(.no-top-margin) {
17
- .discord-media-attachment-non-visual-media-item-container {
18
- margin-top: 0px !important;
19
- }
20
- }
21
-
22
- .discord-media-attachment-mosaic-item-media {
23
- border-radius: 2px;
24
- display: flex;
25
- flex-flow: row nowrap;
26
- height: 100%;
27
- max-height: inherit;
28
- max-width: 100%;
29
- position: relative;
30
- }
31
-
32
- .discord-media-attachment-controls {
33
- width: 100%;
34
- display: flex;
35
- align-items: center;
36
- margin-top: 4px;
37
- background-color: hsl(0 calc(1 * 0%) 0% / 0.6);
38
- border-radius: 8px;
39
- }
40
-
41
- .discord-media-attachment-video-button {
42
- margin-right: 8px;
43
- }
44
-
45
- .discord-media-attachment-control-icon {
46
- display: block;
47
- width: 24px;
48
- height: 24px;
49
- padding: 4px;
50
- cursor: pointer;
51
- flex: 0 0 auto;
52
- opacity: 0.6;
53
- }
54
-
55
- .discord-media-attachment-duration-time-wrapper {
56
- flex: 0 0 auto;
57
- margin: 4px;
58
- height: 12px;
59
- }
60
-
61
- .discord-media-attachment-duration-time-display {
62
- font-weight: 500;
63
- display: inline-block;
64
- font-family:
65
- 'gg mono', 'Source Code Pro', Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono',
66
- 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace;
67
- font-size: 12px;
68
- line-height: 12px;
69
- vertical-align: text-top;
70
- }
71
-
72
- .discord-media-attachment-duration-time-separator {
73
- margin: 0 2px;
74
- }
75
-
76
- .discord-media-attachment-non-visual-media-item-container:hover .discord-button-download-attachment {
77
- display: block !important;
78
- }
79
-
80
- .discord-button-download-attachment {
81
- display: none;
82
- position: absolute;
83
- top: -8px;
84
- right: -8px;
85
- border-radius: 5px;
86
- outline: color-mix(in oklab, hsl(220 calc(1 * 6.5%) 18% / 1) 100%, black 0%);
87
- background-color: color-mix(in oklab, hsl(223 calc(1 * 6.7%) 20.6% / 1) 100%, black 0%);
88
- }
89
-
90
- .discord-link-download-attachment {
91
- color: color-mix(in oklab, hsl(215 calc(1 * 8.8%) 73.3% / 1) 100%, black 0%);
92
- display: flex;
93
- }
94
-
95
- .discord-button-download-attachment {
96
- overflow: hidden;
97
- background-color: color-mix(in oklab, hsl(232.5 calc(1 * 6.897%) 22.745% /1) 100%, #000 0%);
98
- outline: 1px solid color-mix(in oklab, hsl(231.429 calc(1 * 6.542%) 20.98% /1) 100%, #000 0%);
99
- }
100
-
101
- :host([light-theme]) .discord-button-download-attachment {
102
- outline-color: #fbfbfb;
103
- background-color: #fbfbfb;
104
- .discord-link-download-attachment {
105
- color: #5f606a;
106
- }
107
- &:hover {
108
- outline-color: #e4e4e4 !important;
109
- background-color: #e4e4e4;
110
- .discord-link-download-attachment {
111
- color: #2e2f34;
112
- }
113
- }
114
- }
115
-
116
- .discord-icon-download {
117
- padding: 6px;
118
- }
5
+ export const DiscordMediaAttachmentStyles = css `
6
+ .discord-media-attachment-non-visual-media-item-container {
7
+ justify-self: start;
8
+ align-self: start;
9
+ margin-top: 8px;
10
+ max-width: 100%;
11
+ display: flex;
12
+ flex-direction: column;
13
+ position: relative;
14
+ }
15
+
16
+ :host(.no-top-margin) {
17
+ .discord-media-attachment-non-visual-media-item-container {
18
+ margin-top: 0px !important;
19
+ }
20
+ }
21
+
22
+ .discord-media-attachment-mosaic-item-media {
23
+ border-radius: 2px;
24
+ display: flex;
25
+ flex-flow: row nowrap;
26
+ height: 100%;
27
+ max-height: inherit;
28
+ max-width: 100%;
29
+ position: relative;
30
+ }
31
+
32
+ .discord-media-attachment-controls {
33
+ width: 100%;
34
+ display: flex;
35
+ align-items: center;
36
+ margin-top: 4px;
37
+ background-color: hsl(0 calc(1 * 0%) 0% / 0.6);
38
+ border-radius: 8px;
39
+ }
40
+
41
+ .discord-media-attachment-video-button {
42
+ margin-right: 8px;
43
+ }
44
+
45
+ .discord-media-attachment-control-icon {
46
+ display: block;
47
+ width: 24px;
48
+ height: 24px;
49
+ padding: 4px;
50
+ cursor: pointer;
51
+ flex: 0 0 auto;
52
+ opacity: 0.6;
53
+ }
54
+
55
+ .discord-media-attachment-duration-time-wrapper {
56
+ flex: 0 0 auto;
57
+ margin: 4px;
58
+ height: 12px;
59
+ }
60
+
61
+ .discord-media-attachment-duration-time-display {
62
+ font-weight: 500;
63
+ display: inline-block;
64
+ font-family:
65
+ 'gg mono', 'Source Code Pro', Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono',
66
+ 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace;
67
+ font-size: 12px;
68
+ line-height: 12px;
69
+ vertical-align: text-top;
70
+ }
71
+
72
+ .discord-media-attachment-duration-time-separator {
73
+ margin: 0 2px;
74
+ }
75
+
76
+ .discord-media-attachment-non-visual-media-item-container:hover .discord-button-download-attachment {
77
+ display: block !important;
78
+ }
79
+
80
+ .discord-button-download-attachment {
81
+ display: none;
82
+ position: absolute;
83
+ top: -8px;
84
+ right: -8px;
85
+ border-radius: 5px;
86
+ outline: color-mix(in oklab, hsl(220 calc(1 * 6.5%) 18% / 1) 100%, black 0%);
87
+ background-color: color-mix(in oklab, hsl(223 calc(1 * 6.7%) 20.6% / 1) 100%, black 0%);
88
+ }
89
+
90
+ .discord-link-download-attachment {
91
+ color: color-mix(in oklab, hsl(215 calc(1 * 8.8%) 73.3% / 1) 100%, black 0%);
92
+ display: flex;
93
+ }
94
+
95
+ .discord-button-download-attachment {
96
+ overflow: hidden;
97
+ background-color: color-mix(in oklab, hsl(232.5 calc(1 * 6.897%) 22.745% /1) 100%, #000 0%);
98
+ outline: 1px solid color-mix(in oklab, hsl(231.429 calc(1 * 6.542%) 20.98% /1) 100%, #000 0%);
99
+ }
100
+
101
+ :host([light-theme]) .discord-button-download-attachment {
102
+ outline-color: #fbfbfb;
103
+ background-color: #fbfbfb;
104
+ .discord-link-download-attachment {
105
+ color: #5f606a;
106
+ }
107
+ &:hover {
108
+ outline-color: #e4e4e4 !important;
109
+ background-color: #e4e4e4;
110
+ .discord-link-download-attachment {
111
+ color: #2e2f34;
112
+ }
113
+ }
114
+ }
115
+
116
+ .discord-icon-download {
117
+ padding: 6px;
118
+ }
119
119
  `;
120
120
  //# sourceMappingURL=DiscordMediaAttachmentStyles.js.map