@dextinity/site-react 2.0.0-canary-20260729062014

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 (191) hide show
  1. package/LICENSE +24 -0
  2. package/lib/aiContentDisclosure/AiContentDisclosure.d.ts +33 -0
  3. package/lib/aiContentDisclosure/AiContentDisclosure.d.ts.map +1 -0
  4. package/lib/aiContentDisclosure/AiContentDisclosure.js +2 -0
  5. package/lib/aiContentDisclosure/AiContentDisclosure.module.scss.js +1 -0
  6. package/lib/aiContentDisclosure/getAiContentAltTextWithPrefix.d.ts +23 -0
  7. package/lib/aiContentDisclosure/getAiContentAltTextWithPrefix.d.ts.map +1 -0
  8. package/lib/aiContentDisclosure/getAiContentAltTextWithPrefix.js +1 -0
  9. package/lib/aiContentDisclosure/icons/AiGeneratedBlackIcon.d.ts +3 -0
  10. package/lib/aiContentDisclosure/icons/AiGeneratedBlackIcon.d.ts.map +1 -0
  11. package/lib/aiContentDisclosure/icons/AiGeneratedBlackIcon.js +15 -0
  12. package/lib/aiContentDisclosure/icons/AiGeneratedWhiteIcon.d.ts +3 -0
  13. package/lib/aiContentDisclosure/icons/AiGeneratedWhiteIcon.d.ts.map +1 -0
  14. package/lib/aiContentDisclosure/icons/AiGeneratedWhiteIcon.js +15 -0
  15. package/lib/aiContentDisclosure/icons/AiModifiedBlackIcon.d.ts +3 -0
  16. package/lib/aiContentDisclosure/icons/AiModifiedBlackIcon.d.ts.map +1 -0
  17. package/lib/aiContentDisclosure/icons/AiModifiedBlackIcon.js +14 -0
  18. package/lib/aiContentDisclosure/icons/AiModifiedWhiteIcon.d.ts +3 -0
  19. package/lib/aiContentDisclosure/icons/AiModifiedWhiteIcon.d.ts.map +1 -0
  20. package/lib/aiContentDisclosure/icons/AiModifiedWhiteIcon.js +14 -0
  21. package/lib/blockLoader/blockLoader.d.ts +34 -0
  22. package/lib/blockLoader/blockLoader.d.ts.map +1 -0
  23. package/lib/blockLoader/blockLoader.js +1 -0
  24. package/lib/blocks/DamFileDownloadLinkBlock.d.ts +10 -0
  25. package/lib/blocks/DamFileDownloadLinkBlock.d.ts.map +1 -0
  26. package/lib/blocks/DamFileDownloadLinkBlock.js +2 -0
  27. package/lib/blocks/DamVideoBlock.d.ts +26 -0
  28. package/lib/blocks/DamVideoBlock.d.ts.map +1 -0
  29. package/lib/blocks/DamVideoBlock.js +6 -0
  30. package/lib/blocks/DamVideoBlock.module.scss.js +1 -0
  31. package/lib/blocks/EmailLinkBlock.d.ts +10 -0
  32. package/lib/blocks/EmailLinkBlock.d.ts.map +1 -0
  33. package/lib/blocks/EmailLinkBlock.js +1 -0
  34. package/lib/blocks/ExternalLinkBlock.d.ts +10 -0
  35. package/lib/blocks/ExternalLinkBlock.d.ts.map +1 -0
  36. package/lib/blocks/ExternalLinkBlock.js +2 -0
  37. package/lib/blocks/PhoneLinkBlock.d.ts +10 -0
  38. package/lib/blocks/PhoneLinkBlock.d.ts.map +1 -0
  39. package/lib/blocks/PhoneLinkBlock.js +1 -0
  40. package/lib/blocks/PropsWithData.d.ts +4 -0
  41. package/lib/blocks/PropsWithData.d.ts.map +1 -0
  42. package/lib/blocks/SvgImageBlock.d.ts +10 -0
  43. package/lib/blocks/SvgImageBlock.d.ts.map +1 -0
  44. package/lib/blocks/SvgImageBlock.js +2 -0
  45. package/lib/blocks/VimeoVideoBlock.d.ts +18 -0
  46. package/lib/blocks/VimeoVideoBlock.d.ts.map +1 -0
  47. package/lib/blocks/VimeoVideoBlock.js +5 -0
  48. package/lib/blocks/VimeoVideoBlock.module.scss.js +1 -0
  49. package/lib/blocks/YouTubeVideoBlock.d.ts +18 -0
  50. package/lib/blocks/YouTubeVideoBlock.d.ts.map +1 -0
  51. package/lib/blocks/YouTubeVideoBlock.js +5 -0
  52. package/lib/blocks/YouTubeVideoBlock.module.scss.js +1 -0
  53. package/lib/blocks/factories/BlocksBlock.d.ts +15 -0
  54. package/lib/blocks/factories/BlocksBlock.d.ts.map +1 -0
  55. package/lib/blocks/factories/BlocksBlock.js +1 -0
  56. package/lib/blocks/factories/ListBlock.d.ts +14 -0
  57. package/lib/blocks/factories/ListBlock.d.ts.map +1 -0
  58. package/lib/blocks/factories/ListBlock.js +1 -0
  59. package/lib/blocks/factories/OneOfBlock.d.ts +15 -0
  60. package/lib/blocks/factories/OneOfBlock.d.ts.map +1 -0
  61. package/lib/blocks/factories/OneOfBlock.js +1 -0
  62. package/lib/blocks/factories/OptionalBlock.d.ts +11 -0
  63. package/lib/blocks/factories/OptionalBlock.d.ts.map +1 -0
  64. package/lib/blocks/factories/OptionalBlock.js +1 -0
  65. package/lib/blocks/factories/types.d.ts +5 -0
  66. package/lib/blocks/factories/types.d.ts.map +1 -0
  67. package/lib/blocks/helpers/PlayPauseButton.d.ts +8 -0
  68. package/lib/blocks/helpers/PlayPauseButton.d.ts.map +1 -0
  69. package/lib/blocks/helpers/PlayPauseButton.js +1 -0
  70. package/lib/blocks/helpers/PlayPauseButton.module.scss.js +1 -0
  71. package/lib/blocks/helpers/RichTextBlockHelper.d.ts +3 -0
  72. package/lib/blocks/helpers/RichTextBlockHelper.d.ts.map +1 -0
  73. package/lib/blocks/helpers/RichTextBlockHelper.js +1 -0
  74. package/lib/blocks/helpers/TipTapRichTextRenderer.d.ts +35 -0
  75. package/lib/blocks/helpers/TipTapRichTextRenderer.d.ts.map +1 -0
  76. package/lib/blocks/helpers/TipTapRichTextRenderer.js +3 -0
  77. package/lib/blocks/helpers/VideoPreviewImage.d.ts +21 -0
  78. package/lib/blocks/helpers/VideoPreviewImage.d.ts.map +1 -0
  79. package/lib/blocks/helpers/VideoPreviewImage.js +2 -0
  80. package/lib/blocks/helpers/VideoPreviewImage.module.scss.js +1 -0
  81. package/lib/blocks/helpers/useIsElementInViewport.d.ts +3 -0
  82. package/lib/blocks/helpers/useIsElementInViewport.d.ts.map +1 -0
  83. package/lib/blocks/helpers/useIsElementInViewport.js +2 -0
  84. package/lib/blocks.generated.d.ts +200 -0
  85. package/lib/blocks.generated.d.ts.map +1 -0
  86. package/lib/cookies/CookieApiContext.d.ts +14 -0
  87. package/lib/cookies/CookieApiContext.d.ts.map +1 -0
  88. package/lib/cookies/CookieApiContext.js +3 -0
  89. package/lib/cookies/CookieSafe.d.ts +9 -0
  90. package/lib/cookies/CookieSafe.d.ts.map +1 -0
  91. package/lib/cookies/CookieSafe.js +3 -0
  92. package/lib/cookies/useCookieBotCookieApi.d.ts +3 -0
  93. package/lib/cookies/useCookieBotCookieApi.d.ts.map +1 -0
  94. package/lib/cookies/useCookieBotCookieApi.js +2 -0
  95. package/lib/cookies/useLocalStorageCookieApi.d.ts +11 -0
  96. package/lib/cookies/useLocalStorageCookieApi.d.ts.map +1 -0
  97. package/lib/cookies/useLocalStorageCookieApi.js +2 -0
  98. package/lib/cookies/useOneTrustCookieApi.d.ts +3 -0
  99. package/lib/cookies/useOneTrustCookieApi.d.ts.map +1 -0
  100. package/lib/cookies/useOneTrustCookieApi.js +2 -0
  101. package/lib/errorHandler/ErrorHandlerBoundary.d.ts +3 -0
  102. package/lib/errorHandler/ErrorHandlerBoundary.d.ts.map +1 -0
  103. package/lib/errorHandler/ErrorHandlerBoundary.js +2 -0
  104. package/lib/errorHandler/ErrorHandlerBoundaryInternal.d.ts +17 -0
  105. package/lib/errorHandler/ErrorHandlerBoundaryInternal.d.ts.map +1 -0
  106. package/lib/errorHandler/ErrorHandlerBoundaryInternal.js +2 -0
  107. package/lib/errorHandler/ErrorHandlerProvider.d.ts +8 -0
  108. package/lib/errorHandler/ErrorHandlerProvider.d.ts.map +1 -0
  109. package/lib/errorHandler/ErrorHandlerProvider.js +3 -0
  110. package/lib/graphQLFetch/fetchInMemoryCache.d.ts +4 -0
  111. package/lib/graphQLFetch/fetchInMemoryCache.d.ts.map +1 -0
  112. package/lib/graphQLFetch/fetchInMemoryCache.js +1 -0
  113. package/lib/graphQLFetch/graphQLFetch.d.ts +12 -0
  114. package/lib/graphQLFetch/graphQLFetch.d.ts.map +1 -0
  115. package/lib/graphQLFetch/graphQLFetch.js +1 -0
  116. package/lib/iframebridge/IFrameBridge.d.ts +42 -0
  117. package/lib/iframebridge/IFrameBridge.d.ts.map +1 -0
  118. package/lib/iframebridge/IFrameBridge.js +5 -0
  119. package/lib/iframebridge/IFrameBridge.module.scss.js +1 -0
  120. package/lib/iframebridge/IFrameMessage.d.ts +122 -0
  121. package/lib/iframebridge/IFrameMessage.d.ts.map +1 -0
  122. package/lib/iframebridge/IFrameMessage.js +1 -0
  123. package/lib/iframebridge/Preview.d.ts +9 -0
  124. package/lib/iframebridge/Preview.d.ts.map +1 -0
  125. package/lib/iframebridge/Preview.js +2 -0
  126. package/lib/iframebridge/Preview.module.scss.js +1 -0
  127. package/lib/iframebridge/PreviewOverlay.d.ts +2 -0
  128. package/lib/iframebridge/PreviewOverlay.d.ts.map +1 -0
  129. package/lib/iframebridge/PreviewOverlay.js +1 -0
  130. package/lib/iframebridge/PreviewOverlay.module.scss.js +1 -0
  131. package/lib/iframebridge/PreviewOverlayElement.d.ts +7 -0
  132. package/lib/iframebridge/PreviewOverlayElement.d.ts.map +1 -0
  133. package/lib/iframebridge/PreviewOverlayElement.js +2 -0
  134. package/lib/iframebridge/PreviewOverlayElement.module.scss.js +1 -0
  135. package/lib/iframebridge/useBlockPreviewFetch.d.ts +16 -0
  136. package/lib/iframebridge/useBlockPreviewFetch.d.ts.map +1 -0
  137. package/lib/iframebridge/useBlockPreviewFetch.js +2 -0
  138. package/lib/iframebridge/useIFrameBridge.d.ts +3 -0
  139. package/lib/iframebridge/useIFrameBridge.d.ts.map +1 -0
  140. package/lib/iframebridge/useIFrameBridge.js +1 -0
  141. package/lib/iframebridge/utils.d.ts +10 -0
  142. package/lib/iframebridge/utils.d.ts.map +1 -0
  143. package/lib/iframebridge/utils.js +1 -0
  144. package/lib/iframebridge/withPreview.d.ts +18 -0
  145. package/lib/iframebridge/withPreview.d.ts.map +1 -0
  146. package/lib/iframebridge/withPreview.js +2 -0
  147. package/lib/image/Image.d.ts +9 -0
  148. package/lib/image/Image.d.ts.map +1 -0
  149. package/lib/image/Image.js +2 -0
  150. package/lib/image/image.utils.d.ts +18 -0
  151. package/lib/image/image.utils.d.ts.map +1 -0
  152. package/lib/image/image.utils.js +1 -0
  153. package/lib/index.d.ts +49 -0
  154. package/lib/index.d.ts.map +1 -0
  155. package/lib/index.js +1 -0
  156. package/lib/jsonLd/JsonLd.d.ts +7 -0
  157. package/lib/jsonLd/JsonLd.d.ts.map +1 -0
  158. package/lib/jsonLd/JsonLd.js +1 -0
  159. package/lib/persistedQueries/createPersistedQueryGraphQLFetch.d.ts +5 -0
  160. package/lib/persistedQueries/createPersistedQueryGraphQLFetch.d.ts.map +1 -0
  161. package/lib/persistedQueries/createPersistedQueryGraphQLFetch.js +1 -0
  162. package/lib/persistedQueries/persistedQueryRoute.d.ts +7 -0
  163. package/lib/persistedQueries/persistedQueryRoute.d.ts.map +1 -0
  164. package/lib/persistedQueries/persistedQueryRoute.js +1 -0
  165. package/lib/persistedQueries/webpackPersistedQueriesLoader.d.ts +7 -0
  166. package/lib/persistedQueries/webpackPersistedQueriesLoader.d.ts.map +1 -0
  167. package/lib/persistedQueries/webpackPersistedQueriesLoader.js +1 -0
  168. package/lib/preview/BlockPreviewProvider.d.ts +3 -0
  169. package/lib/preview/BlockPreviewProvider.d.ts.map +1 -0
  170. package/lib/preview/BlockPreviewProvider.js +2 -0
  171. package/lib/preview/PreviewContext.d.ts +6 -0
  172. package/lib/preview/PreviewContext.d.ts.map +1 -0
  173. package/lib/preview/PreviewContext.js +2 -0
  174. package/lib/preview/usePreview.d.ts +12 -0
  175. package/lib/preview/usePreview.d.ts.map +1 -0
  176. package/lib/preview/usePreview.js +1 -0
  177. package/lib/previewskeleton/PreviewSkeleton.d.ts +15 -0
  178. package/lib/previewskeleton/PreviewSkeleton.d.ts.map +1 -0
  179. package/lib/previewskeleton/PreviewSkeleton.js +9 -0
  180. package/lib/previewskeleton/PreviewSkeleton.module.scss.js +1 -0
  181. package/lib/server.d.ts +2 -0
  182. package/lib/server.d.ts.map +1 -0
  183. package/lib/server.js +1 -0
  184. package/lib/sitePreview/iframebridge/SitePreviewIFrameMessage.d.ts +18 -0
  185. package/lib/sitePreview/iframebridge/SitePreviewIFrameMessage.d.ts.map +1 -0
  186. package/lib/sitePreview/iframebridge/SitePreviewIFrameMessage.js +1 -0
  187. package/lib/sitePreview/iframebridge/sendSitePreviewIFrameMessage.d.ts +3 -0
  188. package/lib/sitePreview/iframebridge/sendSitePreviewIFrameMessage.d.ts.map +1 -0
  189. package/lib/sitePreview/iframebridge/sendSitePreviewIFrameMessage.js +1 -0
  190. package/lib/style.css +1 -0
  191. package/package.json +91 -0
package/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2023, Vivid Planet Software GmbH
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
19
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,33 @@
1
+ export type AiContentType = "Generated" | "Modified";
2
+ export interface AiContentDisclosureProps {
3
+ /** Which EU label to show: fully AI-generated or partially AI-modified content. */
4
+ type: AiContentType;
5
+ /** Icon height in pixels. Defaults to 28. */
6
+ size?: number;
7
+ /**
8
+ * "black" (default) shows the black EU label with a light halo; "white" shows the white
9
+ * EU label with a dark halo. The halo keeps the label legible against arbitrary imagery either way.
10
+ */
11
+ iconColor?: "black" | "white";
12
+ /** Prevent the badge from being positioned absolutely in relation to its parent. Default: false. */
13
+ disableAbsolutePositioning?: boolean;
14
+ /**
15
+ * Corner to place the badge in when it is positioned absolutely. Defaults to "topRight" so the badge
16
+ * doesn't overlap video playback controls (which sit at the bottom).
17
+ */
18
+ position?: "bottomLeft" | "topRight";
19
+ className?: string;
20
+ }
21
+ /**
22
+ * Visual AI-content disclosure badge using the official EU AI-content labels (Article 50 AI Act).
23
+ *
24
+ * The EU label sits on a scrim (light behind the black label, dark behind the white one) so it stays
25
+ * legible against arbitrary imagery, as required by the Code of Practice ("remain visible against any
26
+ * background").
27
+ *
28
+ * The badge is decorative (`aria-hidden`): the machine-readable disclosure must be carried by the
29
+ * accessible name of the associated media element (see `getAiContentAltTextWithPrefix`), so screen-reader
30
+ * users learn which asset is AI-generated.
31
+ */
32
+ export declare function AiContentDisclosure({ type, size, iconColor, disableAbsolutePositioning, position, className, }: AiContentDisclosureProps): import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=AiContentDisclosure.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AiContentDisclosure.d.ts","sourceRoot":"","sources":["../../src/aiContentDisclosure/AiContentDisclosure.tsx"],"names":[],"mappings":"AAQA,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,UAAU,CAAC;AAOrD,MAAM,WAAW,wBAAwB;IACrC,mFAAmF;IACnF,IAAI,EAAE,aAAa,CAAC;IACpB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC9B,oGAAoG;IACpG,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;;OAGG;IACH,QAAQ,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,EAChC,IAAI,EACJ,IAAS,EACT,SAAmB,EACnB,0BAAkC,EAClC,QAAqB,EACrB,SAAS,GACZ,EAAE,wBAAwB,2CAkB1B"}
@@ -0,0 +1,2 @@
1
+ import{jsx as o}from"react/jsx-runtime";import i from"clsx";import e from"./AiContentDisclosure.module.scss.js";import{AiGeneratedBlackIcon as s}from"./icons/AiGeneratedBlackIcon.js";import{AiGeneratedWhiteIcon as t}from"./icons/AiGeneratedWhiteIcon.js";import{AiModifiedBlackIcon as n}from"./icons/AiModifiedBlackIcon.js";import{AiModifiedWhiteIcon as r}from"./icons/AiModifiedWhiteIcon.js";const c={Generated:{black:s,white:t},Modified:{black:n,white:r}};function a({type:s,size:t=28,iconColor:n="black",disableAbsolutePositioning:r=!1,position:a="topRight",className:m}){const l=c[s][n];/* @__PURE__ */
2
+ return o("span",{className:i(e.root,e[n],!r&&e.overlay,!r&&e[a],m),style:{"--ai-content-disclosure-icon-size":`${t}px`},"aria-hidden":"true",children:/* @__PURE__ */o(l,{className:e.icon})})}export{a as AiContentDisclosure};
@@ -0,0 +1 @@
1
+ const o="_root_3o74i_1",_="_overlay_3o74i_6",t="_bottomLeft_3o74i_11",i="_topRight_3o74i_16",e="_icon_3o74i_21",a="_black_3o74i_27",c="_white_3o74i_31",l={root:o,overlay:_,bottomLeft:t,topRight:i,icon:e,black:a,white:c};export{a as black,t as bottomLeft,l as default,e as icon,_ as overlay,o as root,i as topRight,c as white};
@@ -0,0 +1,23 @@
1
+ import { AiContentType } from './AiContentDisclosure';
2
+ /** Prefixes prepended to the accessible name, keyed by AI content type. Override to localize. */
3
+ export interface AiContentAltTextPrefixLabels {
4
+ generated: string;
5
+ modified: string;
6
+ }
7
+ /**
8
+ * Composes the accessible name for an AI-disclosed media element by prepending a prefix.
9
+ *
10
+ * The AI disclosure is merged into the media element's accessible name (leading), so screen-reader
11
+ * users learn which asset is AI-generated at first exposure (EU Article 50 AI Act). When the asset
12
+ * is not marked as AI content, the plain description (alt text) is returned unchanged.
13
+ *
14
+ * The prefixes default to English (matching the wording baked into the official EU labels). Pass
15
+ * `prefixLabels` to localize them, and an already localized `description` (e.g. the DAM alt text in
16
+ * the content language) for the descriptive part.
17
+ */
18
+ export declare function getAiContentAltTextWithPrefix({ aiContentType, description, prefixLabels, }: {
19
+ aiContentType?: AiContentType | null;
20
+ description?: string | null;
21
+ prefixLabels?: Partial<AiContentAltTextPrefixLabels>;
22
+ }): string;
23
+ //# sourceMappingURL=getAiContentAltTextWithPrefix.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAiContentAltTextWithPrefix.d.ts","sourceRoot":"","sources":["../../src/aiContentDisclosure/getAiContentAltTextWithPrefix.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,iGAAiG;AACjG,MAAM,WAAW,4BAA4B;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,6BAA6B,CAAC,EAC1C,aAAa,EACb,WAAW,EACX,YAAY,GACf,EAAE;IACC,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC,4BAA4B,CAAC,CAAC;CACxD,GAAG,MAAM,CAST"}
@@ -0,0 +1 @@
1
+ function e({aiContentType:e,description:n,prefixLabels:t}){if(!e)return n??"";const{generated:i="[AI-generated]",modified:r="[AI-modified]"}=t??{},d="Generated"===e?i:r;return n?`${d} – ${n}`:d}export{e as getAiContentAltTextWithPrefix};
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const AiGeneratedBlackIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=AiGeneratedBlackIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AiGeneratedBlackIcon.d.ts","sourceRoot":"","sources":["../../../src/aiContentDisclosure/icons/AiGeneratedBlackIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAItC,eAAO,MAAM,oBAAoB,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAwDlE,CAAC"}
@@ -0,0 +1,15 @@
1
+ import{jsxs as c,jsx as h}from"react/jsx-runtime";const f=f=>/* @__PURE__ */c("svg",{viewBox:"0 0 1789.84 566.93",xmlns:"http://www.w3.org/2000/svg",...f,children:[
2
+ /* @__PURE__ */h("path",{fill:"#000000",fillRule:"evenodd",d:"M352.84,410.77h1093.16c85.55,0,145.54-59.94,145.54-133.2h0c0-73.27-59.99-133.21-145.54-133.21H352.84c-85.55,0-145.54,59.94-145.54,133.2h0c0,73.26,64.99,133.2,150.54,133.2"}),
3
+ /* @__PURE__ */c("g",{children:[
4
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M326.09,341c-.98,0-1.87-.4-2.66-1.19-.8-.8-1.19-1.68-1.19-2.66,0-.61.06-1.16.18-1.65l43.18-117.96c.37-1.35,1.13-2.54,2.3-3.58,1.16-1.04,2.79-1.56,4.87-1.56h27.19c2.08,0,3.7.52,4.87,1.56,1.16,1.04,1.93,2.24,2.3,3.58l42.99,117.96c.24.49.37,1.04.37,1.65,0,.98-.4,1.87-1.19,2.66-.8.8-1.75,1.19-2.85,1.19h-22.6c-1.84,0-3.22-.46-4.13-1.38-.92-.92-1.5-1.75-1.75-2.48l-7.17-18.74h-49.06l-6.98,18.74c-.25.73-.8,1.56-1.65,2.48-.86.92-2.33,1.38-4.41,1.38h-22.6ZM369.27,291.94h34.18l-17.27-48.51-16.9,48.51Z"}),
5
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M469.58,341c-1.35,0-2.45-.43-3.31-1.29-.86-.86-1.29-1.96-1.29-3.31v-119.43c0-1.35.43-2.45,1.29-3.31s1.96-1.29,3.31-1.29h24.62c1.35,0,2.45.43,3.31,1.29.86.86,1.29,1.96,1.29,3.31v119.43c0,1.35-.43,2.45-1.29,3.31s-1.96,1.29-3.31,1.29h-24.62Z"})]}),
6
+ /* @__PURE__ */c("g",{children:[
7
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M639.25,325.87c-8.43,0-15.63-1.41-21.59-4.24-5.97-2.83-10.58-6.95-13.86-12.38-3.27-5.43-5.04-11.99-5.31-19.71-.09-3.85-.13-7.98-.13-12.38s.04-8.56.13-12.51c.27-7.53,2.04-13.94,5.31-19.24,3.27-5.29,7.94-9.35,13.99-12.17,6.05-2.83,13.2-4.24,21.46-4.24,6.64,0,12.46.85,17.49,2.56,5.02,1.7,9.24,3.92,12.65,6.66,3.41,2.74,6.01,5.72,7.8,8.95,1.79,3.23,2.74,6.32,2.83,9.28,0,.81-.27,1.5-.81,2.08-.54.58-1.26.87-2.15.87h-16.68c-.9,0-1.59-.18-2.08-.54-.49-.36-.92-.9-1.28-1.61-.63-1.61-1.64-3.25-3.03-4.91-1.39-1.66-3.25-3.07-5.58-4.24-2.33-1.16-5.38-1.75-9.15-1.75-5.65,0-10.11,1.48-13.39,4.44-3.27,2.96-5.04,7.8-5.31,14.53-.27,7.71-.27,15.56,0,23.54.27,7,2.08,12.02,5.45,15.07,3.36,3.05,7.87,4.57,13.52,4.57,3.68,0,6.97-.65,9.89-1.95,2.91-1.3,5.22-3.34,6.93-6.12,1.7-2.78,2.56-6.32,2.56-10.63v-3.36h-14.66c-.9,0-1.66-.34-2.29-1.01-.63-.67-.94-1.46-.94-2.35v-8.61c0-.99.31-1.79.94-2.42.63-.63,1.39-.94,2.29-.94h32.96c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v14.66c0,7.71-1.68,14.31-5.04,19.77-3.36,5.47-8.16,9.66-14.39,12.58-6.23,2.92-13.52,4.37-21.86,4.37Z"}),
8
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M710.73,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h60.94c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
9
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M805.88,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h12.24c1.34,0,2.33.31,2.96.94.63.63,1.03,1.12,1.21,1.48l35.92,56.1v-55.15c0-.99.31-1.79.94-2.42.63-.63,1.39-.94,2.29-.94h13.72c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v87.44c0,.9-.32,1.68-.94,2.35-.63.67-1.44,1.01-2.42,1.01h-12.38c-1.35,0-2.31-.34-2.89-1.01-.58-.67-1.01-1.14-1.28-1.41l-35.78-54.35v53.41c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-13.59Z"}),
10
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M912.19,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h60.94c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
11
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1007.35,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h35.65c11.21,0,20.04,2.58,26.5,7.73,6.46,5.16,9.69,12.58,9.69,22.26,0,6.55-1.57,12.02-4.71,16.41-3.14,4.4-7.35,7.67-12.65,9.82l18.97,33.63c.27.54.4,1.03.4,1.48,0,.72-.27,1.37-.81,1.95-.54.58-1.21.87-2.02.87h-14.93c-1.61,0-2.82-.42-3.63-1.28-.81-.85-1.39-1.64-1.75-2.35l-16.41-30.81h-16.28v31.07c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-14.66ZM1025.38,273h17.22c4.93,0,8.59-1.12,10.96-3.36,2.38-2.24,3.56-5.38,3.56-9.42s-1.17-7.22-3.5-9.55c-2.33-2.33-6.01-3.5-11.03-3.5h-17.22v25.83Z"}),
12
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1100.62,324.52c-.81,0-1.48-.29-2.02-.87-.54-.58-.81-1.23-.81-1.95,0-.45.04-.85.13-1.21l32.02-86.5c.27-.99.81-1.84,1.61-2.56.81-.72,1.93-1.08,3.36-1.08h17.22c1.43,0,2.56.36,3.36,1.08.81.72,1.35,1.57,1.61,2.56l32.02,86.5c.09.36.13.76.13,1.21,0,.72-.27,1.37-.81,1.95-.54.58-1.21.87-2.02.87h-13.99c-1.35,0-2.33-.31-2.96-.94-.63-.63-1.03-1.21-1.21-1.75l-5.78-15.07h-37.94l-5.78,15.07c-.18.54-.58,1.12-1.21,1.75-.63.63-1.61.94-2.96.94h-13.99ZM1129.54,289.41h27.85l-13.86-38.74-13.99,38.74Z"}),
13
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1225.64,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-72.1h-24.48c-.9,0-1.66-.31-2.29-.94-.63-.63-.94-1.39-.94-2.29v-12.11c0-.99.31-1.79.94-2.42.63-.63,1.39-.94,2.29-.94h70.49c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v12.11c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-24.35v72.1c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-14.93Z"}),
14
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1298.32,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h60.94c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
15
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1393.48,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h33.77c8.97,0,16.46,1.41,22.46,4.24,6.01,2.83,10.6,6.95,13.79,12.38,3.18,5.43,4.86,12.13,5.04,20.11.09,3.95.13,7.4.13,10.36s-.05,6.37-.13,10.22c-.27,8.34-1.93,15.25-4.98,20.72-3.05,5.47-7.53,9.53-13.45,12.17-5.92,2.65-13.32,3.97-22.2,3.97h-34.44ZM1411.51,307.17h15.74c4.48,0,8.16-.67,11.03-2.02,2.87-1.35,5-3.47,6.39-6.39,1.39-2.91,2.13-6.7,2.22-11.37.09-2.6.16-4.93.2-7,.04-2.06.04-4.12,0-6.19-.05-2.06-.11-4.35-.2-6.86-.18-6.73-1.91-11.68-5.18-14.86-3.27-3.18-8.32-4.78-15.13-4.78h-15.07v59.46Z"})]})]});export{f as AiGeneratedBlackIcon};
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const AiGeneratedWhiteIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=AiGeneratedWhiteIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AiGeneratedWhiteIcon.d.ts","sourceRoot":"","sources":["../../../src/aiContentDisclosure/icons/AiGeneratedWhiteIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAItC,eAAO,MAAM,oBAAoB,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAwDlE,CAAC"}
@@ -0,0 +1,15 @@
1
+ import{jsxs as c,jsx as h}from"react/jsx-runtime";const l=l=>/* @__PURE__ */c("svg",{viewBox:"0 0 1789.84 566.93",xmlns:"http://www.w3.org/2000/svg",...l,children:[
2
+ /* @__PURE__ */h("path",{fill:"#fff",fillRule:"evenodd",d:"M352.84,410.77h1093.16c85.55,0,145.54-59.94,145.54-133.2h0c0-73.27-59.99-133.21-145.54-133.21H352.84c-85.55,0-145.54,59.94-145.54,133.2h0c0,73.26,64.99,133.2,150.54,133.2"}),
3
+ /* @__PURE__ */c("g",{children:[
4
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M326.09,341c-.98,0-1.87-.4-2.66-1.19-.8-.79-1.19-1.68-1.19-2.66,0-.61.06-1.16.18-1.65l43.18-117.96c.37-1.35,1.13-2.54,2.3-3.58,1.16-1.04,2.79-1.56,4.87-1.56h27.19c2.08,0,3.7.52,4.87,1.56,1.16,1.04,1.93,2.24,2.3,3.58l42.99,117.96c.24.49.37,1.04.37,1.65,0,.98-.4,1.87-1.19,2.66-.8.8-1.75,1.19-2.85,1.19h-22.6c-1.84,0-3.22-.46-4.13-1.38-.92-.92-1.5-1.75-1.75-2.48l-7.17-18.74h-49.06l-6.98,18.74c-.25.74-.8,1.56-1.65,2.48-.86.92-2.33,1.38-4.41,1.38h-22.6ZM369.27,291.94h34.18l-17.27-48.51-16.9,48.51Z"}),
5
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M469.58,341c-1.35,0-2.45-.43-3.31-1.29-.86-.86-1.29-1.96-1.29-3.31v-119.43c0-1.35.43-2.45,1.29-3.31s1.96-1.29,3.31-1.29h24.62c1.35,0,2.45.43,3.31,1.29.86.86,1.29,1.96,1.29,3.31v119.43c0,1.35-.43,2.45-1.29,3.31s-1.96,1.29-3.31,1.29h-24.62Z"})]}),
6
+ /* @__PURE__ */c("g",{children:[
7
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M639.25,325.87c-8.43,0-15.63-1.41-21.59-4.24-5.97-2.83-10.58-6.95-13.86-12.38-3.27-5.42-5.04-11.99-5.31-19.71-.09-3.86-.13-7.98-.13-12.38s.04-8.56.13-12.51c.27-7.53,2.04-13.94,5.31-19.24,3.27-5.29,7.94-9.35,13.99-12.17,6.05-2.83,13.2-4.24,21.46-4.24,6.64,0,12.46.85,17.49,2.56,5.02,1.7,9.24,3.92,12.65,6.66,3.41,2.74,6.01,5.72,7.8,8.95,1.79,3.23,2.74,6.32,2.83,9.28,0,.81-.27,1.5-.81,2.08-.54.58-1.26.87-2.15.87h-16.68c-.9,0-1.59-.18-2.08-.54-.49-.36-.92-.9-1.28-1.61-.63-1.61-1.64-3.25-3.03-4.91-1.39-1.66-3.25-3.07-5.58-4.24-2.33-1.16-5.38-1.75-9.15-1.75-5.65,0-10.11,1.48-13.39,4.44-3.27,2.96-5.04,7.8-5.31,14.53-.27,7.71-.27,15.56,0,23.54.27,7,2.08,12.02,5.45,15.07,3.36,3.05,7.87,4.57,13.52,4.57,3.68,0,6.97-.65,9.89-1.95,2.91-1.3,5.22-3.34,6.93-6.12,1.7-2.78,2.56-6.32,2.56-10.63v-3.36h-14.66c-.9,0-1.66-.34-2.29-1.01-.63-.67-.94-1.46-.94-2.35v-8.61c0-.99.31-1.79.94-2.42.63-.63,1.39-.94,2.29-.94h32.96c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v14.66c0,7.71-1.68,14.31-5.04,19.78-3.36,5.47-8.16,9.66-14.39,12.58-6.23,2.92-13.52,4.37-21.86,4.37Z"}),
8
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M710.73,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h60.94c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
9
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M805.88,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h12.24c1.34,0,2.33.32,2.96.94.63.63,1.03,1.12,1.21,1.48l35.92,56.1v-55.15c0-.99.31-1.79.94-2.42s1.39-.94,2.29-.94h13.72c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v87.44c0,.9-.32,1.68-.94,2.35-.63.67-1.44,1.01-2.42,1.01h-12.38c-1.35,0-2.31-.34-2.89-1.01-.58-.67-1.01-1.14-1.28-1.41l-35.78-54.35v53.41c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-13.59Z"}),
10
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M912.19,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h60.94c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
11
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1007.35,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h35.65c11.21,0,20.04,2.58,26.5,7.74,6.46,5.16,9.69,12.58,9.69,22.26,0,6.55-1.57,12.02-4.71,16.41-3.14,4.4-7.35,7.67-12.65,9.82l18.97,33.63c.27.54.4,1.03.4,1.48,0,.72-.27,1.37-.81,1.95-.54.58-1.21.88-2.02.88h-14.93c-1.61,0-2.82-.42-3.63-1.28-.81-.85-1.39-1.63-1.75-2.35l-16.41-30.8h-16.28v31.07c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-14.66ZM1025.38,273h17.22c4.93,0,8.59-1.12,10.96-3.36,2.38-2.24,3.56-5.38,3.56-9.42s-1.17-7.22-3.5-9.55c-2.33-2.33-6.01-3.5-11.03-3.5h-17.22v25.83Z"}),
12
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1100.62,324.52c-.81,0-1.48-.29-2.02-.88-.54-.58-.81-1.23-.81-1.95,0-.45.04-.85.13-1.21l32.02-86.5c.27-.99.81-1.84,1.61-2.56.81-.72,1.93-1.08,3.36-1.08h17.22c1.43,0,2.56.36,3.36,1.08.81.72,1.35,1.57,1.61,2.56l32.02,86.5c.09.36.13.76.13,1.21,0,.72-.27,1.37-.81,1.95-.54.58-1.21.88-2.02.88h-13.99c-1.35,0-2.33-.31-2.96-.94-.63-.63-1.03-1.21-1.21-1.75l-5.78-15.07h-37.94l-5.78,15.07c-.18.54-.58,1.12-1.21,1.75-.63.63-1.61.94-2.96.94h-13.99ZM1129.54,289.41h27.85l-13.86-38.74-13.99,38.74Z"}),
13
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1225.64,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-72.1h-24.48c-.9,0-1.66-.31-2.29-.94-.63-.63-.94-1.39-.94-2.29v-12.11c0-.99.31-1.79.94-2.42s1.39-.94,2.29-.94h70.49c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v12.11c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-24.35v72.1c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-14.93Z"}),
14
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1298.32,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h60.94c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
15
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1393.48,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h33.77c8.97,0,16.46,1.41,22.46,4.24,6.01,2.83,10.6,6.95,13.79,12.38,3.18,5.43,4.86,12.13,5.04,20.11.09,3.95.13,7.4.13,10.36s-.05,6.37-.13,10.22c-.27,8.34-1.93,15.25-4.98,20.72-3.05,5.47-7.53,9.53-13.45,12.17-5.92,2.65-13.32,3.97-22.2,3.97h-34.44ZM1411.51,307.17h15.74c4.48,0,8.16-.67,11.03-2.02,2.87-1.35,5-3.47,6.39-6.39,1.39-2.91,2.13-6.7,2.22-11.37.09-2.6.16-4.93.2-7,.04-2.06.04-4.12,0-6.19-.05-2.06-.11-4.35-.2-6.86-.18-6.73-1.91-11.68-5.18-14.87-3.27-3.18-8.32-4.78-15.13-4.78h-15.07v59.46Z"})]})]});export{l as AiGeneratedWhiteIcon};
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const AiModifiedBlackIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=AiModifiedBlackIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AiModifiedBlackIcon.d.ts","sourceRoot":"","sources":["../../../src/aiContentDisclosure/icons/AiModifiedBlackIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAItC,eAAO,MAAM,mBAAmB,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAoDjE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import{jsxs as c,jsx as h}from"react/jsx-runtime";const f=f=>/* @__PURE__ */c("svg",{viewBox:"0 0 1700.79 566.93",xmlns:"http://www.w3.org/2000/svg",...f,children:[
2
+ /* @__PURE__ */h("path",{fill:"#000000",fillRule:"evenodd",d:"M376.65,410.77h939.48c85.55,0,145.54-59.94,145.54-133.2h0c0-73.27-59.99-133.21-145.54-133.21H381.65c-85.55,0-150.54,59.94-150.54,133.2h0c0,73.26,64.99,133.2,150.54,133.2"}),
3
+ /* @__PURE__ */c("g",{children:[
4
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M626.46,325.63c-.92,0-1.72-.32-2.4-.96-.69-.64-1.03-1.46-1.03-2.47v-89.25c0-1.01.34-1.83,1.03-2.47.69-.64,1.49-.96,2.4-.96h12.77c1.37,0,2.4.37,3.09,1.1.69.73,1.17,1.28,1.44,1.65l25.27,46.55,25.54-46.55c.18-.36.62-.91,1.3-1.65.69-.73,1.72-1.1,3.09-1.1h12.77c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v89.25c0,1.01-.32,1.83-.96,2.47s-1.47.96-2.47.96h-14.01c-.92,0-1.69-.32-2.33-.96-.64-.64-.96-1.46-.96-2.47v-55.48l-17.44,32.68c-.46.82-1.05,1.56-1.79,2.2-.73.64-1.69.96-2.88.96h-6.45c-1.19,0-2.15-.32-2.88-.96-.73-.64-1.33-1.37-1.79-2.2l-17.44-32.68v55.48c0,1.01-.32,1.83-.96,2.47-.64.64-1.42.96-2.33.96h-14.01Z"}),
5
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M784.28,327c-8.33,0-15.52-1.37-21.56-4.12-6.04-2.75-10.76-6.89-14.14-12.43-3.39-5.54-5.22-12.52-5.49-20.94-.09-3.94-.14-7.85-.14-11.74s.04-7.85.14-11.88c.27-8.24,2.13-15.17,5.56-20.8,3.43-5.63,8.19-9.86,14.28-12.7,6.09-2.84,13.2-4.26,21.35-4.26s15.13,1.42,21.21,4.26c6.09,2.84,10.87,7.07,14.35,12.7,3.48,5.63,5.31,12.56,5.49,20.8.18,4.03.28,7.99.28,11.88s-.09,7.81-.28,11.74c-.27,8.42-2.11,15.4-5.49,20.94-3.39,5.54-8.1,9.68-14.14,12.43-6.04,2.75-13.18,4.12-21.42,4.12ZM784.28,309.29c5.31,0,9.68-1.62,13.11-4.88,3.43-3.25,5.24-8.44,5.42-15.58.18-4.03.27-7.8.27-11.33s-.09-7.25-.27-11.19c-.09-4.76-.96-8.65-2.61-11.67-1.65-3.02-3.82-5.24-6.52-6.66-2.7-1.42-5.84-2.13-9.41-2.13s-6.73.71-9.47,2.13c-2.75,1.42-4.92,3.64-6.52,6.66-1.6,3.02-2.5,6.91-2.68,11.67-.09,3.94-.14,7.67-.14,11.19s.04,7.3.14,11.33c.27,7.14,2.1,12.34,5.49,15.58,3.39,3.25,7.78,4.88,13.18,4.88Z"}),
6
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M856.69,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h34.47c9.15,0,16.8,1.44,22.93,4.33,6.13,2.88,10.82,7.1,14.07,12.63,3.25,5.54,4.96,12.38,5.15,20.53.09,4.03.14,7.55.14,10.57s-.05,6.5-.14,10.44c-.27,8.51-1.97,15.56-5.08,21.15-3.11,5.58-7.69,9.73-13.73,12.43-6.04,2.7-13.59,4.05-22.66,4.05h-35.15ZM875.09,307.92h16.07c4.58,0,8.33-.69,11.26-2.06,2.93-1.37,5.1-3.55,6.52-6.52,1.42-2.97,2.17-6.84,2.27-11.6.09-2.65.16-5.03.21-7.14.04-2.1.04-4.21,0-6.32-.05-2.1-.12-4.44-.21-7-.18-6.87-1.95-11.92-5.29-15.17-3.34-3.25-8.49-4.87-15.45-4.87h-15.38v60.69Z"}),
7
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M964.67,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h15.52c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v89.25c0,1.01-.32,1.83-.96,2.47-.64.64-1.46.96-2.47.96h-15.52Z"}),
8
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1018,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h61.24c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v11.67c0,1.01-.32,1.83-.96,2.47-.64.64-1.47.96-2.47.96h-43.25v23.21h40.51c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v11.67c0,.92-.32,1.69-.96,2.33-.64.64-1.46.96-2.47.96h-40.51v32.54c0,1.01-.32,1.83-.96,2.47-.64.64-1.46.96-2.47.96h-14.56Z"}),
9
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1112.25,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h15.52c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v89.25c0,1.01-.32,1.83-.96,2.47-.64.64-1.46.96-2.47.96h-15.52Z"}),
10
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1165.57,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h62.2c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v10.99c0,.92-.32,1.69-.96,2.33-.64.64-1.47.96-2.47.96h-44.49v21.56h41.47c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v10.16c0,.92-.32,1.7-.96,2.33-.64.64-1.47.96-2.47.96h-41.47v22.25h45.59c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v10.85c0,1.01-.32,1.83-.96,2.47-.64.64-1.47.96-2.47.96h-63.3Z"}),
11
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1262.7,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h34.47c9.15,0,16.8,1.44,22.93,4.33,6.13,2.88,10.82,7.1,14.07,12.63,3.25,5.54,4.96,12.38,5.15,20.53.09,4.03.14,7.55.14,10.57s-.05,6.5-.14,10.44c-.27,8.51-1.97,15.56-5.08,21.15-3.11,5.58-7.69,9.73-13.73,12.43-6.04,2.7-13.59,4.05-22.66,4.05h-35.15ZM1281.1,307.92h16.07c4.58,0,8.33-.69,11.26-2.06,2.93-1.37,5.1-3.55,6.52-6.52,1.42-2.97,2.17-6.84,2.27-11.6.09-2.65.16-5.03.21-7.14.04-2.1.04-4.21,0-6.32-.05-2.1-.12-4.44-.21-7-.18-6.87-1.95-11.92-5.29-15.17-3.34-3.25-8.49-4.87-15.45-4.87h-15.38v60.69Z"})]}),
12
+ /* @__PURE__ */c("g",{children:[
13
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M349.9,341c-.98,0-1.87-.4-2.66-1.19-.8-.8-1.19-1.68-1.19-2.66,0-.61.06-1.16.18-1.65l43.18-117.96c.37-1.35,1.13-2.54,2.3-3.58,1.16-1.04,2.78-1.56,4.87-1.56h27.19c2.08,0,3.7.52,4.87,1.56,1.16,1.04,1.93,2.24,2.3,3.58l42.99,117.96c.24.49.37,1.04.37,1.65,0,.98-.4,1.87-1.19,2.66-.8.8-1.75,1.19-2.85,1.19h-22.6c-1.84,0-3.22-.46-4.13-1.38s-1.5-1.75-1.75-2.48l-7.17-18.74h-49.06l-6.98,18.74c-.25.73-.8,1.56-1.65,2.48-.86.92-2.33,1.38-4.41,1.38h-22.6ZM393.08,291.94h34.18l-17.27-48.51-16.9,48.51Z"}),
14
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M493.39,341c-1.35,0-2.45-.43-3.31-1.29-.86-.86-1.29-1.96-1.29-3.31v-119.43c0-1.35.43-2.45,1.29-3.31s1.96-1.29,3.31-1.29h24.62c1.35,0,2.45.43,3.31,1.29.86.86,1.29,1.96,1.29,3.31v119.43c0,1.35-.43,2.45-1.29,3.31s-1.96,1.29-3.31,1.29h-24.62Z"})]})]});export{f as AiModifiedBlackIcon};
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const AiModifiedWhiteIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=AiModifiedWhiteIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AiModifiedWhiteIcon.d.ts","sourceRoot":"","sources":["../../../src/aiContentDisclosure/icons/AiModifiedWhiteIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAItC,eAAO,MAAM,mBAAmB,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAoDjE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import{jsxs as c,jsx as h}from"react/jsx-runtime";const l=l=>/* @__PURE__ */c("svg",{viewBox:"0 0 1700.79 566.93",xmlns:"http://www.w3.org/2000/svg",...l,children:[
2
+ /* @__PURE__ */h("path",{fill:"#fff",fillRule:"evenodd",d:"M376.65,410.77h939.48c85.55,0,145.54-59.94,145.54-133.2h0c0-73.27-59.99-133.21-145.54-133.21H381.65c-85.55,0-150.54,59.94-150.54,133.2h0c0,73.26,64.99,133.2,150.54,133.2"}),
3
+ /* @__PURE__ */c("g",{children:[
4
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M626.46,325.63c-.92,0-1.72-.32-2.4-.96-.69-.64-1.03-1.46-1.03-2.47v-89.25c0-1.01.34-1.83,1.03-2.47.69-.64,1.49-.96,2.4-.96h12.77c1.37,0,2.4.37,3.09,1.1.69.73,1.17,1.28,1.44,1.65l25.27,46.55,25.54-46.55c.18-.37.62-.91,1.3-1.65.69-.73,1.72-1.1,3.09-1.1h12.77c1.01,0,1.83.32,2.47.96.64.64.96,1.46.96,2.47v89.25c0,1.01-.32,1.83-.96,2.47-.64.64-1.47.96-2.47.96h-14.01c-.92,0-1.69-.32-2.33-.96-.64-.64-.96-1.46-.96-2.47v-55.47l-17.44,32.68c-.46.82-1.05,1.56-1.79,2.2-.73.64-1.69.96-2.88.96h-6.45c-1.19,0-2.15-.32-2.88-.96-.73-.64-1.33-1.37-1.79-2.2l-17.44-32.68v55.47c0,1.01-.32,1.83-.96,2.47-.64.64-1.42.96-2.33.96h-14.01Z"}),
5
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M784.28,327c-8.33,0-15.52-1.37-21.56-4.12-6.04-2.75-10.76-6.89-14.14-12.43-3.39-5.54-5.22-12.52-5.49-20.94-.09-3.93-.14-7.85-.14-11.74s.04-7.85.14-11.88c.27-8.24,2.13-15.17,5.56-20.8,3.43-5.63,8.19-9.86,14.28-12.7,6.09-2.84,13.2-4.26,21.35-4.26s15.13,1.42,21.21,4.26c6.09,2.84,10.87,7.07,14.35,12.7,3.48,5.63,5.31,12.56,5.49,20.8.18,4.03.28,7.99.28,11.88s-.09,7.81-.28,11.74c-.27,8.42-2.11,15.4-5.49,20.94-3.39,5.54-8.1,9.68-14.14,12.43-6.04,2.75-13.18,4.12-21.42,4.12ZM784.28,309.29c5.31,0,9.68-1.62,13.11-4.88,3.43-3.25,5.24-8.44,5.42-15.58.18-4.03.27-7.8.27-11.33s-.09-7.25-.27-11.19c-.09-4.76-.96-8.65-2.61-11.67-1.65-3.02-3.82-5.24-6.52-6.66-2.7-1.42-5.84-2.13-9.41-2.13s-6.73.71-9.47,2.13c-2.75,1.42-4.92,3.64-6.52,6.66-1.6,3.02-2.5,6.91-2.68,11.67-.09,3.94-.14,7.67-.14,11.19s.04,7.3.14,11.33c.27,7.14,2.1,12.34,5.49,15.58,3.39,3.25,7.78,4.88,13.18,4.88Z"}),
6
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M856.69,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h34.47c9.15,0,16.8,1.44,22.93,4.33,6.13,2.88,10.82,7.09,14.07,12.63,3.25,5.54,4.96,12.38,5.15,20.53.09,4.03.14,7.55.14,10.57s-.05,6.5-.14,10.44c-.27,8.51-1.97,15.56-5.08,21.15-3.11,5.58-7.69,9.73-13.73,12.43-6.04,2.7-13.59,4.05-22.66,4.05h-35.15ZM875.09,307.92h16.07c4.58,0,8.33-.69,11.26-2.06,2.93-1.37,5.1-3.55,6.52-6.52,1.42-2.97,2.17-6.84,2.27-11.6.09-2.65.16-5.03.21-7.14.04-2.11.04-4.21,0-6.32-.05-2.1-.12-4.44-.21-7-.18-6.87-1.95-11.92-5.29-15.17-3.34-3.25-8.49-4.88-15.45-4.88h-15.38v60.69Z"}),
7
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M964.67,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h15.52c1.01,0,1.83.32,2.47.96.64.64.96,1.46.96,2.47v89.25c0,1.01-.32,1.83-.96,2.47-.64.64-1.46.96-2.47.96h-15.52Z"}),
8
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1018,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h61.24c1.01,0,1.83.32,2.47.96.64.64.96,1.46.96,2.47v11.67c0,1.01-.32,1.83-.96,2.47-.64.64-1.47.96-2.47.96h-43.25v23.21h40.51c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v11.67c0,.92-.32,1.7-.96,2.33s-1.46.96-2.47.96h-40.51v32.54c0,1.01-.32,1.83-.96,2.47-.64.64-1.46.96-2.47.96h-14.56Z"}),
9
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1112.25,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h15.52c1.01,0,1.83.32,2.47.96.64.64.96,1.46.96,2.47v89.25c0,1.01-.32,1.83-.96,2.47-.64.64-1.46.96-2.47.96h-15.52Z"}),
10
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1165.57,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h62.2c1.01,0,1.83.32,2.47.96.64.64.96,1.46.96,2.47v10.99c0,.92-.32,1.69-.96,2.33s-1.47.96-2.47.96h-44.49v21.56h41.47c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v10.16c0,.92-.32,1.7-.96,2.33-.64.64-1.47.96-2.47.96h-41.47v22.25h45.59c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v10.85c0,1.01-.32,1.83-.96,2.47-.64.64-1.47.96-2.47.96h-63.3Z"}),
11
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1262.7,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h34.47c9.15,0,16.8,1.44,22.93,4.33,6.13,2.88,10.82,7.09,14.07,12.63,3.25,5.54,4.96,12.38,5.15,20.53.09,4.03.14,7.55.14,10.57s-.05,6.5-.14,10.44c-.27,8.51-1.97,15.56-5.08,21.15-3.11,5.58-7.69,9.73-13.73,12.43-6.04,2.7-13.59,4.05-22.66,4.05h-35.15ZM1281.1,307.92h16.07c4.58,0,8.33-.69,11.26-2.06,2.93-1.37,5.1-3.55,6.52-6.52,1.42-2.97,2.17-6.84,2.27-11.6.09-2.65.16-5.03.21-7.14.04-2.11.04-4.21,0-6.32-.05-2.1-.12-4.44-.21-7-.18-6.87-1.95-11.92-5.29-15.17-3.34-3.25-8.49-4.88-15.45-4.88h-15.38v60.69Z"})]}),
12
+ /* @__PURE__ */c("g",{children:[
13
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M349.9,341c-.98,0-1.87-.4-2.66-1.19-.8-.79-1.19-1.68-1.19-2.66,0-.61.06-1.16.18-1.65l43.18-117.96c.37-1.35,1.13-2.54,2.3-3.58,1.16-1.04,2.78-1.56,4.87-1.56h27.19c2.08,0,3.7.52,4.87,1.56,1.16,1.04,1.93,2.24,2.3,3.58l42.99,117.96c.24.49.37,1.04.37,1.65,0,.98-.4,1.87-1.19,2.66-.8.8-1.75,1.19-2.85,1.19h-22.6c-1.84,0-3.22-.46-4.13-1.38-.92-.92-1.5-1.75-1.75-2.48l-7.17-18.74h-49.06l-6.98,18.74c-.25.74-.8,1.56-1.65,2.48-.86.92-2.33,1.38-4.41,1.38h-22.6ZM393.08,291.94h34.18l-17.27-48.51-16.9,48.51Z"}),
14
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M493.39,341c-1.35,0-2.45-.43-3.31-1.29-.86-.86-1.29-1.96-1.29-3.31v-119.43c0-1.35.43-2.45,1.29-3.31s1.96-1.29,3.31-1.29h24.62c1.35,0,2.45.43,3.31,1.29.86.86,1.29,1.96,1.29,3.31v119.43c0,1.35-.43,2.45-1.29,3.31s-1.96,1.29-3.31,1.29h-24.62Z"})]})]});export{l as AiModifiedWhiteIcon};
@@ -0,0 +1,34 @@
1
+ import { GraphQLFetch } from '../graphQLFetch/graphQLFetch';
2
+ type BlockMetaField = {
3
+ name: string;
4
+ kind: string;
5
+ nullable: boolean;
6
+ enum?: string[];
7
+ block?: string;
8
+ blocks?: Record<string, string>;
9
+ childBlocks?: Record<string, string>;
10
+ object?: {
11
+ fields: BlockMetaField[];
12
+ };
13
+ };
14
+ interface BlockMeta {
15
+ name: string;
16
+ fields: BlockMetaField[];
17
+ inputFields: BlockMetaField[];
18
+ }
19
+ export type BlockLoader<BlockData = any> = (options: BlockLoaderOptions<BlockData>) => Promise<any> | any;
20
+ export type BlockLoaderOptions<BlockData = any> = {
21
+ blockData: BlockData;
22
+ } & BlockLoaderDependencies;
23
+ export interface BlockLoaderDependencies {
24
+ graphQLFetch: GraphQLFetch;
25
+ fetch: typeof fetch;
26
+ }
27
+ export declare function recursivelyLoadBlockData({ blockType, blockData, blocksMeta, loaders, ...dependencies }: {
28
+ blockType: string;
29
+ blockData: unknown;
30
+ blocksMeta: BlockMeta[];
31
+ loaders: Record<string, BlockLoader>;
32
+ } & BlockLoaderDependencies): Promise<any>;
33
+ export {};
34
+ //# sourceMappingURL=blockLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockLoader.d.ts","sourceRoot":"","sources":["../../src/blockLoader/blockLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAEjE,KAAK,cAAc,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,MAAM,CAAC,EAAE;QAAE,MAAM,EAAE,cAAc,EAAE,CAAA;KAAE,CAAC;CACzC,CAAC;AAEF,UAAU,SAAS;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,WAAW,EAAE,cAAc,EAAE,CAAC;CACjC;AAsDD,MAAM,MAAM,WAAW,CAAC,SAAS,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,KAAK,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;AAG1G,MAAM,MAAM,kBAAkB,CAAC,SAAS,GAAG,GAAG,IAAI;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE,GAAG,uBAAuB,CAAC;AAErG,MAAM,WAAW,uBAAuB;IACpC,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,OAAO,KAAK,CAAC;CACvB;AAED,wBAAsB,wBAAwB,CAAC,EAC3C,SAAS,EACT,SAAS,EACT,UAAU,EACV,OAAO,EACP,GAAG,YAAY,EAClB,EAAE;IACC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;CACxC,GAAG,uBAAuB,gBA6F1B"}
@@ -0,0 +1 @@
1
+ async function e({blockType:e,blockData:o,blocksMeta:t,loaders:a,...n}){function c(e,o){if(!e||"object"!=typeof e)return e;let t=e;const a="cmsBlock"===e.type||"cmsInlineBlock"===e.type?e.attrs?.blockType:void 0;return a&&o[a]&&(t={...t,attrs:{...t.attrs,data:r({blockType:o[a],blockData:t.attrs.data})}}),Array.isArray(t.content)&&(t={...t,content:t.content.map(e=>c(e,o))}),t}function l(e,o){const t={...o};for(const a of e.fields)if(t[a.name])if("NestedObjectList"==a.kind)t[a.name]=t[a.name].map(e=>l(a.object,e));else if("NestedObject"==a.kind)t[a.name]=l(a.object,t[a.name]);else if("OneOfBlocks"==a.kind){const e=a.blocks[t.type];if(!e)throw new Error("invalid blockType");t[a.name]=r({blockType:e,blockData:t[a.name]})}else"Block"==a.kind?t[a.name]=r({blockType:a.block,blockData:t[a.name]}):"TipTapRichTextBlock"==a.kind&&(t[a.name]=c(t[a.name],a.childBlocks));return t}const i=[];function r({blockType:e,blockData:o}){const c=t.find(o=>o.name===e);if(!c)throw new Error("invalid blockType");const r=l(c,o);return a[e]&&(r.loaded=a[e]({blockData:o,...n}),i.push(r)),r}const s=r({blockType:e,blockData:o});await Promise.all(i.map(e=>e.loaded));for(const k of i)k.loaded=await k.loaded;return s}export{e as recursivelyLoadBlockData};
@@ -0,0 +1,10 @@
1
+ import { AnchorHTMLAttributes, ReactElement } from 'react';
2
+ import { DamFileDownloadLinkBlockData } from '../blocks.generated';
3
+ import { PropsWithData } from './PropsWithData';
4
+ interface Props extends PropsWithData<DamFileDownloadLinkBlockData>, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "href"> {
5
+ children: ReactElement;
6
+ legacyBehavior?: boolean;
7
+ }
8
+ export declare const DamFileDownloadLinkBlock: ({ ...componentProps }: import('..').WithPreviewProps & Props) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=DamFileDownloadLinkBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DamFileDownloadLinkBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/DamFileDownloadLinkBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAgB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAEnF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAExE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,KAAM,SAAQ,aAAa,CAAC,4BAA4B,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACtH,QAAQ,EAAE,YAAY,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,wBAAwB,2GA4BpC,CAAC"}
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as e}from"react/jsx-runtime";import{cloneElement as r}from"react";import{withPreview as a}from"../iframebridge/withPreview.js";const t=a(({data:{file:a,openFileType:t},children:i,legacyBehavior:l,...n})=>{if(!a)return l?i:/* @__PURE__ */e("span",{className:n.className,children:i});const o=a.fileUrl,m="NewTab"===t?"_blank":n.target;return l?r(i,{...n,href:o,target:m}):/* @__PURE__ */e("a",{...n,href:o,target:m,children:i})},{label:"DamFileDownloadLink"});export{t as DamFileDownloadLinkBlock};
@@ -0,0 +1,26 @@
1
+ import { ComponentType, ReactElement, ReactNode } from 'react';
2
+ import { AiContentDisclosureProps } from '../aiContentDisclosure/AiContentDisclosure';
3
+ import { AiContentAltTextPrefixLabels } from '../aiContentDisclosure/getAiContentAltTextWithPrefix';
4
+ import { DamVideoBlockData } from '../blocks.generated';
5
+ import { PlayPauseButtonProps } from './helpers/PlayPauseButton';
6
+ import { VideoPreviewImageProps } from './helpers/VideoPreviewImage';
7
+ import { PropsWithData } from './PropsWithData';
8
+ interface DamVideoBlockProps extends PropsWithData<DamVideoBlockData> {
9
+ aspectRatio?: string;
10
+ previewImageSizes?: string;
11
+ renderPreviewImage: (props: VideoPreviewImageProps) => ReactElement;
12
+ fill?: boolean;
13
+ previewImageIcon?: ReactNode;
14
+ playButtonAriaLabel?: string;
15
+ pauseButtonAriaLabel?: string;
16
+ playPauseButton?: ComponentType<PlayPauseButtonProps>;
17
+ /** Override props passed to the AI content disclosure badge. */
18
+ aiContentDisclosureProps?: Partial<AiContentDisclosureProps>;
19
+ /** Render your own AI content disclosure instead of the built-in badge. Pass `null` to render none, e.g. when the project renders its own. */
20
+ aiContentDisclosure?: ReactNode;
21
+ /** AI content prefix prepended to the accessible name. Defaults to English; ideally pass a translated string here. */
22
+ aiContentAltTextPrefixLabels?: Partial<AiContentAltTextPrefixLabels>;
23
+ }
24
+ export declare const DamVideoBlock: ({ ...componentProps }: import('..').WithPreviewProps & DamVideoBlockProps) => import("react/jsx-runtime").JSX.Element;
25
+ export {};
26
+ //# sourceMappingURL=DamVideoBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DamVideoBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/DamVideoBlock.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAyB,MAAM,OAAO,CAAC;AAErG,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAChH,OAAO,EAAE,KAAK,4BAA4B,EAAiC,MAAM,sDAAsD,CAAC;AACxI,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAI7D,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEvF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,kBAAmB,SAAQ,aAAa,CAAC,iBAAiB,CAAC;IACjE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,YAAY,CAAC;IACpE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;IACtD,gEAAgE;IAChE,wBAAwB,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAC7D,8IAA8I;IAC9I,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,sHAAsH;IACtH,4BAA4B,CAAC,EAAE,OAAO,CAAC,4BAA4B,CAAC,CAAC;CACxE;AAED,eAAO,MAAM,aAAa,wHAoIzB,CAAC"}
@@ -0,0 +1,6 @@
1
+ "use client";
2
+ import{jsx as e,Fragment as t,jsxs as i}from"react/jsx-runtime";import o from"clsx";import{useState as a,useCallback as r}from"react";import{AiContentDisclosure as l}from"../aiContentDisclosure/AiContentDisclosure.js";import{getAiContentAltTextWithPrefix as s}from"../aiContentDisclosure/getAiContentAltTextWithPrefix.js";import{withPreview as n}from"../iframebridge/withPreview.js";import{PreviewSkeleton as p}from"../previewskeleton/PreviewSkeleton.js";import m from"./DamVideoBlock.module.scss.js";import{PlayPauseButton as c}from"./helpers/PlayPauseButton.js";import{useIsElementInViewport as u}from"./helpers/useIsElementInViewport.js";const d=n(({data:{damFile:n,autoplay:d,loop:y,showControls:f,previewImage:C},aspectRatio:P="16x9",previewImageSizes:v,renderPreviewImage:g,fill:x,previewImageIcon:b,playButtonAriaLabel:w,pauseButtonAriaLabel:h,playPauseButton:j,aiContentDisclosureProps:I,aiContentDisclosure:L,aiContentAltTextPrefixLabels:T})=>{if(void 0===n)/* @__PURE__ */
3
+ return e(p,{type:"media",hasContent:!1,aspectRatio:P});const k=s({aiContentType:n?.aiContentType,description:n?.altText,prefixLabels:T}),[A,B]=a(!0),[D,R]=a(d??!1),[V,z]=a(!1),F=Boolean(C&&C.damFile),[N,S]=a(null),U=r(e=>{S(e),e&&F&&!A&&e.paused&&e.play()},[F,A]),E=r(e=>{!V&&N&&(e&&d?(N.play(),R(!0)):(N.pause(),R(!1)))},[d,V,N]);u({current:N},E);const W=()=>{D?(R(!1),z(!0),N?.pause()):(R(!0),N?.play())};/* @__PURE__ */
4
+ return e(t,{children:F&&A?g({onPlay:()=>{B(!1),R(!0),z(!0)},image:C,aspectRatio:P,sizes:v,fill:x,icon:b,playButtonAriaLabel:w}):/* @__PURE__ */i("div",{className:m.root,children:[
5
+ /* @__PURE__ */i("video",{autoPlay:d,controls:f,loop:y,playsInline:!0,muted:d,ref:U,"aria-label":n.aiContentType?k:void 0,className:o(m.video,x&&m.fill),style:x?void 0:{"--aspect-ratio":P.replace("x"," / ")},children:[n.captions?.map(t=>/* @__PURE__ */e("track",{src:t.fileUrl,kind:"captions",srcLang:t.language},t.id)),
6
+ /* @__PURE__ */e("source",{src:n.fileUrl,type:n.mimetype})]}),!f&&(j?/* @__PURE__ */e(j,{isPlaying:D,onClick:W}):/* @__PURE__ */e(c,{isPlaying:D,onClick:W,ariaLabelPlay:w,ariaLabelPause:h})),n.aiContentType&&(void 0!==L?L:/* @__PURE__ */e(l,{type:n.aiContentType,...I}))]})})},{label:"Video"});export{d as DamVideoBlock};
@@ -0,0 +1 @@
1
+ const o="_root_1jlho_1",_="_video_1jlho_6",l="_fill_1jlho_12",t={root:o,video:_,fill:l};export{t as default,l as fill,o as root,_ as video};
@@ -0,0 +1,10 @@
1
+ import { AnchorHTMLAttributes, ReactElement } from 'react';
2
+ import { EmailLinkBlockData } from '../blocks.generated';
3
+ import { PropsWithData } from './PropsWithData';
4
+ interface EmailLinkBlockProps extends PropsWithData<EmailLinkBlockData>, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "href"> {
5
+ children: ReactElement;
6
+ legacyBehavior?: boolean;
7
+ }
8
+ export declare const EmailLinkBlock: ({ data: { email }, children, legacyBehavior, ...anchorProps }: EmailLinkBlockProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=EmailLinkBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmailLinkBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/EmailLinkBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAwC,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE3G,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,mBAAoB,SAAQ,aAAa,CAAC,kBAAkB,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC1H,QAAQ,EAAE,YAAY,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,cAAc,GAAI,+DAA+D,mBAAmB,4CAuBhH,CAAC"}
@@ -0,0 +1 @@
1
+ import{jsx as r}from"react/jsx-runtime";import{cloneElement as e}from"react";const a=({data:{email:a},children:t,legacyBehavior:c,...i})=>{if(!a)return c?t:/* @__PURE__ */r("span",{className:i.className,children:t});const m=`mailto:${a}`;return c?e(t,{...i,href:m}):/* @__PURE__ */r("a",{...i,href:m,children:t})};export{a as EmailLinkBlock};
@@ -0,0 +1,10 @@
1
+ import { AnchorHTMLAttributes, ReactElement } from 'react';
2
+ import { ExternalLinkBlockData } from '../blocks.generated';
3
+ import { PropsWithData } from './PropsWithData';
4
+ interface ExternalLinkBlockProps extends PropsWithData<ExternalLinkBlockData>, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "href"> {
5
+ children: ReactElement;
6
+ legacyBehavior?: boolean;
7
+ }
8
+ export declare function ExternalLinkBlock({ data: { targetUrl, openInNewWindow, noFollow }, children, legacyBehavior, ...anchorProps }: ExternalLinkBlockProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=ExternalLinkBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExternalLinkBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/ExternalLinkBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAgE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAEnI,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAIjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,sBAAuB,SAAQ,aAAa,CAAC,qBAAqB,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAChI,QAAQ,EAAE,YAAY,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAgB,iBAAiB,CAAC,EAC9B,IAAI,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,QAAQ,EAAE,EAC9C,QAAQ,EACR,cAAc,EACd,GAAG,WAAW,EACjB,EAAE,sBAAsB,2CAwDxB"}
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as e}from"react/jsx-runtime";import{cloneElement as r}from"react";import{usePreview as i}from"../preview/usePreview.js";import{sendSitePreviewIFrameMessage as o}from"../sitePreview/iframebridge/sendSitePreviewIFrameMessage.js";import{SitePreviewIFrameMessageType as t}from"../sitePreview/iframebridge/SitePreviewIFrameMessage.js";function n({data:{targetUrl:n,openInNewWindow:a,noFollow:l},children:s,legacyBehavior:p,...w}){const m=i();if("SitePreview"===m.previewType||"BlockPreview"===m.previewType){const i=e=>{e.preventDefault(),"SitePreview"===m.previewType&&o({cometType:t.OpenLink,data:{link:{openInNewWindow:a,targetUrl:n,noFollow:l}}})};return p?r(s,{...w,href:"#",onClick:i}):/* @__PURE__ */e("a",{...w,href:"#",onClick:i,children:s})}{if(!n)return p?s:/* @__PURE__ */e("span",{className:w.className,children:s});const i=n,o=a?"_blank":w.target,t=[w.rel,l?"nofollow":void 0].filter(Boolean).join(" ")||void 0;return p?r(s,{...w,href:i,target:o,rel:t}):/* @__PURE__ */e("a",{...w,href:i,target:o,rel:t,children:s})}}export{n as ExternalLinkBlock};
@@ -0,0 +1,10 @@
1
+ import { AnchorHTMLAttributes, ReactElement } from 'react';
2
+ import { PhoneLinkBlockData } from '../blocks.generated';
3
+ import { PropsWithData } from './PropsWithData';
4
+ interface PhoneLinkBlockProps extends PropsWithData<PhoneLinkBlockData>, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "href"> {
5
+ children: ReactElement;
6
+ legacyBehavior?: boolean;
7
+ }
8
+ export declare const PhoneLinkBlock: ({ data: { phone }, children, legacyBehavior, ...anchorProps }: PhoneLinkBlockProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=PhoneLinkBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PhoneLinkBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/PhoneLinkBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAwC,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE3G,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,mBAAoB,SAAQ,aAAa,CAAC,kBAAkB,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC1H,QAAQ,EAAE,YAAY,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,cAAc,GAAI,+DAA+D,mBAAmB,4CAuBhH,CAAC"}
@@ -0,0 +1 @@
1
+ import{jsx as r}from"react/jsx-runtime";import{cloneElement as e}from"react";const a=({data:{phone:a},children:t,legacyBehavior:c,...n})=>{if(!a)return c?t:/* @__PURE__ */r("span",{className:n.className,children:t});const o=`tel:${a}`;return c?e(t,{...n,href:o}):/* @__PURE__ */r("a",{...n,href:o,children:t})};export{a as PhoneLinkBlock};
@@ -0,0 +1,4 @@
1
+ export interface PropsWithData<Data = unknown> {
2
+ data: Data;
3
+ }
4
+ //# sourceMappingURL=PropsWithData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropsWithData.d.ts","sourceRoot":"","sources":["../../src/blocks/PropsWithData.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa,CAAC,IAAI,GAAG,OAAO;IACzC,IAAI,EAAE,IAAI,CAAC;CACd"}
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { SvgImageBlockData } from '../blocks.generated';
3
+ import { PropsWithData } from './PropsWithData';
4
+ interface SvgImageBlockProps extends PropsWithData<SvgImageBlockData> {
5
+ width?: string | number | "auto";
6
+ height?: string | number | "auto";
7
+ }
8
+ export declare const SvgImageBlock: ({ ...componentProps }: import('..').WithPreviewProps & SvgImageBlockProps & Omit<HTMLAttributes<HTMLImageElement>, "width" | "height">) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=SvgImageBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SvgImageBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/SvgImageBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,kBAAmB,SAAQ,aAAa,CAAC,iBAAiB,CAAC;IACjE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CACrC;AAED,eAAO,MAAM,aAAa,qLAsBzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import{jsx as t}from"react/jsx-runtime";import{withPreview as e}from"../iframebridge/withPreview.js";import{PreviewSkeleton as i}from"../previewskeleton/PreviewSkeleton.js";const o=e(({data:{damFile:e},width:o="100%",height:r="auto",...a})=>e?/* @__PURE__ */t("img",{src:e.fileUrl,width:"auto"===o?void 0:o,height:"auto"===r?void 0:r,alt:e.altText??"",title:e.title??"",...a}):/* @__PURE__ */t(i,{type:"media",hasContent:!1,height:"auto"===r?void 0:r}),{label:"SvgImage"});export{o as SvgImageBlock};
@@ -0,0 +1,18 @@
1
+ import { ComponentType, ReactElement, ReactNode } from 'react';
2
+ import { VimeoVideoBlockData } from '../blocks.generated';
3
+ import { PlayPauseButtonProps } from './helpers/PlayPauseButton';
4
+ import { VideoPreviewImageProps } from './helpers/VideoPreviewImage';
5
+ import { PropsWithData } from './PropsWithData';
6
+ interface VimeoVideoBlockProps extends PropsWithData<VimeoVideoBlockData> {
7
+ aspectRatio?: string;
8
+ previewImageSizes?: string;
9
+ renderPreviewImage: (props: VideoPreviewImageProps) => ReactElement;
10
+ fill?: boolean;
11
+ previewImageIcon?: ReactNode;
12
+ playButtonAriaLabel?: string;
13
+ pauseButtonAriaLabel?: string;
14
+ playPauseButton?: ComponentType<PlayPauseButtonProps>;
15
+ }
16
+ export declare const VimeoVideoBlock: ({ ...componentProps }: import('..').WithPreviewProps & VimeoVideoBlockProps) => import("react/jsx-runtime").JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=VimeoVideoBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VimeoVideoBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/VimeoVideoBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAiC,MAAM,OAAO,CAAC;AAE7G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAG/D,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEvF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAqBrD,UAAU,oBAAqB,SAAQ,aAAa,CAAC,mBAAmB,CAAC;IACrE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,YAAY,CAAC;IACpE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;CACzD;AAED,eAAO,MAAM,eAAe,0HAqI3B,CAAC"}
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ import{jsx as e,Fragment as o,jsxs as t}from"react/jsx-runtime";import a from"clsx";import{useState as i,useRef as r,useCallback as n}from"react";import{withPreview as l}from"../iframebridge/withPreview.js";import{PreviewSkeleton as s}from"../previewskeleton/PreviewSkeleton.js";import{PlayPauseButton as p}from"./helpers/PlayPauseButton.js";import{useIsElementInViewport as m}from"./helpers/useIsElementInViewport.js";import c from"./VimeoVideoBlock.module.scss.js";const d=l(({data:{vimeoIdentifier:l,autoplay:d,loop:u,showControls:f,previewImage:y},aspectRatio:v="16x9",previewImageSizes:w,renderPreviewImage:h,fill:g,previewImageIcon:P,playButtonAriaLabel:S,pauseButtonAriaLabel:b,playPauseButton:I})=>{const[L,j]=i(!0),B=!(!y||!y.damFile),C=r(null),[N,k]=i(null),x=k,[R,z]=i(d??!1),[V,A]=i(!1),$=n(()=>{N?.contentWindow?.postMessage(JSON.stringify({method:"pause"}),"https://player.vimeo.com")},[N]),F=n(()=>{N?.contentWindow?.postMessage(JSON.stringify({method:"play"}),"https://player.vimeo.com")},[N]),J=n(e=>{V||(e&&d?(F(),z(!0)):($(),z(!1)))},[d,V,F,$]);if(m(C,J),!l)/* @__PURE__ */
3
+ return e(s,{type:"media",hasContent:!1,aspectRatio:v});const M=function(e){const o=e.match(/^(https?:\/\/)?((www\.|player\.)?vimeo\.com\/?(showcase\/)*([0-9a-z]*\/)*([0-9]{6,11})[?]?.*)$/),t=e.match(/^([0-9]{6,11})$/);if(o||t)return o?o[6]:t?t[1]:void 0}(l),O=new URLSearchParams;(d||B&&!L)&&O.append("autoplay","1"),d&&O.append("muted","1"),void 0!==u&&O.append("loop",Number(u).toString()),void 0!==f&&O.append("controls",Number(f).toString()),O.append("dnt","1");const U=new URL(`https://player.vimeo.com/video/${M??""}`);U.search=O.toString();const W=()=>{R?(z(!1),A(!0),$()):(z(!0),F())};/* @__PURE__ */
4
+ return e(o,{children:B&&L?h({onPlay:()=>{j(!1),z(!0),A(!0)},image:y,aspectRatio:v,sizes:w,fill:g,icon:P,playButtonAriaLabel:S}):/* @__PURE__ */t("div",{ref:C,className:a(c.videoContainer,g&&c.fill),style:g?void 0:{"--aspect-ratio":v.replace("x","/")},children:[
5
+ /* @__PURE__ */e("iframe",{ref:x,className:c.vimeoContainer,src:U.toString(),allow:"autoplay",allowFullScreen:!0,loading:"lazy"}),!f&&(I?/* @__PURE__ */e(I,{isPlaying:R,onClick:W}):/* @__PURE__ */e(p,{isPlaying:R,onClick:W,ariaLabelPlay:S,ariaLabelPause:b}))]})})},{label:"Video"});export{d as VimeoVideoBlock};
@@ -0,0 +1 @@
1
+ const e="_videoContainer_1flq1_1",i="_fill_1flq1_7",o="_vimeoContainer_1flq1_12",n={videoContainer:e,fill:i,vimeoContainer:o};export{n as default,i as fill,e as videoContainer,o as vimeoContainer};
@@ -0,0 +1,18 @@
1
+ import { ComponentType, ReactElement, ReactNode } from 'react';
2
+ import { YouTubeVideoBlockData } from '../blocks.generated';
3
+ import { PlayPauseButtonProps } from './helpers/PlayPauseButton';
4
+ import { VideoPreviewImageProps } from './helpers/VideoPreviewImage';
5
+ import { PropsWithData } from './PropsWithData';
6
+ interface YouTubeVideoBlockProps extends PropsWithData<YouTubeVideoBlockData> {
7
+ aspectRatio?: string;
8
+ previewImageSizes?: string;
9
+ renderPreviewImage: (props: VideoPreviewImageProps) => ReactElement;
10
+ fill?: boolean;
11
+ previewImageIcon?: ReactNode;
12
+ playButtonAriaLabel?: string;
13
+ pauseButtonAriaLabel?: string;
14
+ playPauseButton?: ComponentType<PlayPauseButtonProps>;
15
+ }
16
+ export declare const YouTubeVideoBlock: ({ ...componentProps }: import('..').WithPreviewProps & YouTubeVideoBlockProps) => import("react/jsx-runtime").JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=YouTubeVideoBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"YouTubeVideoBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/YouTubeVideoBlock.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAiC,MAAM,OAAO,CAAC;AAE7G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAGjE,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEvF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAerD,UAAU,sBAAuB,SAAQ,aAAa,CAAC,qBAAqB,CAAC;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,YAAY,CAAC;IACpE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;CACzD;AAED,eAAO,MAAM,iBAAiB,4HA2I7B,CAAC"}
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ import{jsx as e,Fragment as o,jsxs as t}from"react/jsx-runtime";import a from"clsx";import{useState as i,useRef as r,useCallback as n}from"react";import{withPreview as s}from"../iframebridge/withPreview.js";import{PreviewSkeleton as l}from"../previewskeleton/PreviewSkeleton.js";import{PlayPauseButton as p}from"./helpers/PlayPauseButton.js";import{useIsElementInViewport as m}from"./helpers/useIsElementInViewport.js";import u from"./YouTubeVideoBlock.module.scss.js";const c=s(({data:{youtubeIdentifier:s,autoplay:c,loop:d,showControls:w,previewImage:y},aspectRatio:g="16x9",previewImageSizes:b,renderPreviewImage:f,fill:v,previewImageIcon:h,playButtonAriaLabel:P,pauseButtonAriaLabel:k,playPauseButton:I})=>{const[j,L]=i(!0),[S,B]=i(c??!1),[C,x]=i(!1),R=!(!y||!y.damFile),[V,A]=i(null),N=A,z=r(null),M=n(()=>{V?.contentWindow?.postMessage('{"event":"command","func":"pauseVideo","args":""}',"https://www.youtube-nocookie.com")},[V]),U=n(()=>{V?.contentWindow?.postMessage('{"event":"command","func":"playVideo","args":""}',"https://www.youtube-nocookie.com")},[V]),W=n(e=>{C||(e&&c?(U(),B(!0)):(M(),B(!1)))},[c,C,U,M]);if(m(z,W),!s)/* @__PURE__ */
3
+ return e(l,{type:"media",hasContent:!1,aspectRatio:g});const E=(e=>{const o=e.match(/(https?:\/\/)?(((m|www)\.)?(youtube(-nocookie)?|youtube.googleapis)\.com.*(v\/|v=|vi=|vi\/|e\/|embed\/|user\/.*\/u\/\d+\/)|youtu\.be\/)([_0-9a-zA-Z-]+)/);return(11===e.length?e:o&&11===o[8].length?o[8]:null)??void 0})(s),F=new URLSearchParams;F.append("modestbranding","1"),F.append("rel","0"),F.append("enablejsapi","1"),R&&!j&&F.append("autoplay","1"),c&&F.append("mute","1"),void 0!==w&&F.append("controls",Number(w).toString()),void 0!==d&&F.append("loop",Number(d).toString()),d&&E&&F.append("playlist",E);const T=new URL(`https://www.youtube-nocookie.com/embed/${E??""}`);T.search=F.toString();const Y=()=>{S?(B(!1),x(!0),M()):(B(!0),U())};/* @__PURE__ */
4
+ return e(o,{children:R&&j?f({onPlay:()=>{L(!1),B(!0),x(!0)},image:y,aspectRatio:g,sizes:b,fill:v,icon:h,playButtonAriaLabel:P}):/* @__PURE__ */t("div",{ref:z,className:a(u.videoContainer,v&&u.fill),style:v?void 0:{"--aspect-ratio":g.replace("x","/")},children:[!w&&(I?/* @__PURE__ */e(I,{isPlaying:S,onClick:Y}):/* @__PURE__ */e(p,{isPlaying:S,onClick:Y,ariaLabelPlay:P,ariaLabelPause:k})),
5
+ /* @__PURE__ */e("iframe",{ref:N,className:u.youtubeContainer,allow:"autoplay",referrerPolicy:"strict-origin-when-cross-origin",src:T.toString()})]})})},{label:"Video"});export{c as YouTubeVideoBlock};
@@ -0,0 +1 @@
1
+ const e="_videoContainer_bhmhr_1",o="_fill_bhmhr_7",n="_youtubeContainer_bhmhr_12",t={videoContainer:e,fill:o,youtubeContainer:n};export{t as default,o as fill,e as videoContainer,n as youtubeContainer};
@@ -0,0 +1,15 @@
1
+ import { SupportedBlocks } from './types';
2
+ interface Props {
3
+ supportedBlocks: SupportedBlocks;
4
+ data: {
5
+ blocks: Array<{
6
+ key: string;
7
+ type: string;
8
+ visible: boolean;
9
+ props: unknown;
10
+ }>;
11
+ };
12
+ }
13
+ export declare const BlocksBlock: ({ supportedBlocks, data: { blocks } }: Props) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=BlocksBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlocksBlock.d.ts","sourceRoot":"","sources":["../../../src/blocks/factories/BlocksBlock.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,UAAU,KAAK;IACX,eAAe,EAAE,eAAe,CAAC;IACjC,IAAI,EAAE;QACF,MAAM,EAAE,KAAK,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAA;SAAE,CAAC,CAAC;KAClF,CAAC;CACL;AAED,eAAO,MAAM,WAAW,GAAI,uCAAuC,KAAK,4CAgCvE,CAAC"}
@@ -0,0 +1 @@
1
+ import{jsx as r,Fragment as e,jsxs as o}from"react/jsx-runtime";import{Fragment as n}from"react";import{ErrorHandlerBoundary as t}from"../../errorHandler/ErrorHandlerBoundary.js";import{PreviewSkeleton as p}from"../../previewskeleton/PreviewSkeleton.js";const s=({supportedBlocks:s,data:{blocks:l}})=>0===l.length?/* @__PURE__ */r(p,{hasContent:!1}):/* @__PURE__ */r(e,{children:l.map(e=>{const p=s[e.type];return p?/* @__PURE__ */r(n,{children:/* @__PURE__ */r(t,{children:p(e.props)})},e.key):"development"===process.env.NODE_ENV?/* @__PURE__ */o("pre",{children:["Unknown type (",e.type,"): ",JSON.stringify(e.props)]},e.key):null})});export{s as BlocksBlock};
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ interface Props {
3
+ block: (props: any) => ReactNode;
4
+ data: {
5
+ blocks: Array<{
6
+ key: string;
7
+ visible: boolean;
8
+ props: unknown;
9
+ }>;
10
+ };
11
+ }
12
+ export declare const ListBlock: ({ block: blockFunction, data: { blocks } }: Props) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=ListBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListBlock.d.ts","sourceRoot":"","sources":["../../../src/blocks/factories/ListBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKjD,UAAU,KAAK;IAEX,KAAK,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,SAAS,CAAC;IACjC,IAAI,EAAE;QACF,MAAM,EAAE,KAAK,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAA;SAAE,CAAC,CAAC;KACpE,CAAC;CACL;AAED,eAAO,MAAM,SAAS,GAAI,4CAA4C,KAAK,4CAc1E,CAAC"}