@replohq/canopy-sdk 3.0.3 → 3.0.5-beta.repl-30952-actions-validation-canopy.7.1.ged5b844

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 (287) hide show
  1. package/_vendor/replo-utils/lib/crypto.d.ts +2 -8
  2. package/_vendor/replo-utils/lib/errors.d.ts +1 -0
  3. package/_vendor/replo-utils/lib/fonts.d.ts +8 -0
  4. package/_vendor/replo-utils/lib/fonts.mjs +12 -3
  5. package/_vendor/replo-utils/lib/geometry.mjs +0 -1
  6. package/_vendor/replo-utils/lib/json.mjs +1 -1
  7. package/_vendor/replo-utils/lib/posthogReplay.mjs +0 -1
  8. package/_vendor/replo-utils/lib/string.d.ts +0 -2
  9. package/_vendor/replo-utils/lib/url.d.ts +6 -1
  10. package/_vendor/replo-utils/lib/url.mjs +1 -1
  11. package/_vendor/schemas/designLibrary.mjs +0 -1
  12. package/_vendor/schemas/errors.d.ts +15 -3
  13. package/_vendor/schemas/generated/errors.d.ts +3 -0
  14. package/_vendor/schemas/generated/selectMode.d.ts +1 -0
  15. package/_vendor/schemas/generated/selectModeIframeRpc.d.ts +14 -3
  16. package/_vendor/schemas/iframeRpcChannel.d.ts +1 -1
  17. package/_vendor/schemas/iframeRpcChannel.mjs +36 -18
  18. package/_vendor/schemas/loaderKeys.mjs +0 -2
  19. package/_vendor/schemas/money.d.ts +1 -1
  20. package/_vendor/schemas/money.mjs +1 -7
  21. package/_vendor/schemas/pageAnnotations.mjs +0 -2
  22. package/_vendor/schemas/routing/rules.mjs +2 -2
  23. package/_vendor/schemas/selectMode.d.ts +4 -4
  24. package/_vendor/schemas/selectMode.mjs +2 -2
  25. package/_vendor/schemas/selectModeIframeRpc.d.ts +216 -10
  26. package/_vendor/schemas/selectModeIframeRpc.mjs +60 -46
  27. package/analytics/analytics-provider.js +1 -2
  28. package/analytics/analytics-sink.js +0 -1
  29. package/analytics/get-analytics-sinks.js +1 -2
  30. package/analytics/hooks/use-product-viewed-analytics.js +1 -2
  31. package/analytics/replo-first-party-pixel.js +1 -2
  32. package/analytics/replo-pixel-script.js +1 -2
  33. package/analytics/sinks/ga4-sink.js +1 -3
  34. package/analytics/sinks/meta-sink.js +1 -3
  35. package/analytics/sinks/pinterest-sink.js +1 -3
  36. package/analytics/sinks/reddit-sink.js +1 -3
  37. package/analytics/sinks/replo-sink.js +1 -3
  38. package/analytics/sinks/snapchat-sink.js +1 -3
  39. package/analytics/sinks/tiktok-sink.js +1 -3
  40. package/analytics/sinks/window-sink.js +1 -4
  41. package/analytics/utils/analytics-utils.js +1 -2
  42. package/analytics/utils/navigation-tracker.js +1 -2
  43. package/analytics/utils/shopify-funnel-gate.js +1 -2
  44. package/cart/buy-now-action.js +1 -2
  45. package/cart/cart-actions.js +1 -2
  46. package/cart/cart-loader.js +1 -2
  47. package/cart/cart-provider.js +1 -2
  48. package/cart/cart-schema.js +1 -2
  49. package/cart/cart-types.js +1 -2
  50. package/cart/gateways/cart-constants.js +0 -1
  51. package/cart/gateways/cart-gateway.js +1 -2
  52. package/cart/gateways/cookie-cart-gateway.js +1 -2
  53. package/cart/gateways/default-cart-gateway.js +1 -2
  54. package/cart/gateways/resolver-cart-gateway.js +1 -2
  55. package/cart/gateways/stripe-cart-gateway.js +1 -2
  56. package/cart/hooks/use-add-to-cart.js +1 -2
  57. package/cart/hooks/use-buy-now.js +1 -2
  58. package/cart/utils/cart-utils.js +1 -2
  59. package/cart/utils/cookie-cart-persistence.js +1 -2
  60. package/cart/utils/variant-to-cart-line.js +1 -2
  61. package/{chunk-IQVZY6EV.mjs → chunk-3A2F6BOM.mjs} +9 -6
  62. package/chunk-AKZNN7F2.mjs +0 -11
  63. package/chunk-FNTGY7I5.mjs +0 -8
  64. package/chunk-H36NDYLG.mjs +5 -127
  65. package/{chunk-VKO7P3ED.mjs → chunk-HGXQNZW7.mjs} +2 -5
  66. package/chunk-ILGEM42C.mjs +0 -3
  67. package/chunk-UJCSKKID.mjs +0 -4
  68. package/chunk-VPEVERWE.mjs +0 -1
  69. package/{chunk-2BNHFQZH.mjs → chunk-VQASHJRQ.mjs} +2 -5
  70. package/{chunk-ZZPQ3E7S.mjs → chunk-VUXOGD76.mjs} +13 -15
  71. package/consent/consent-action.js +1 -2
  72. package/consent/consent-actions.js +1 -2
  73. package/consent/consent-store.js +1 -2
  74. package/consent/cookie.js +1 -2
  75. package/consent/replo-scripts.js +1 -2
  76. package/consent/script-registration-store.js +1 -2
  77. package/consent/script-snippets.js +1 -2
  78. package/consent/types.js +0 -1
  79. package/consent/window-api.js +1 -2
  80. package/editor/ClientErrorBoundary.js +1 -2
  81. package/editor/DocumentReadyBeacon.js +1 -2
  82. package/editor/LinkInterceptor.js +1 -2
  83. package/editor/NextErrorReporter.js +1 -2
  84. package/editor/annotations/AnnotationLayerMount.js +1 -2
  85. package/editor/annotations/annotationController.js +1 -2
  86. package/editor/annotations/bridgeGate.js +1 -2
  87. package/editor/design-library-preview/DesignLibraryPreview.js +1 -2
  88. package/editor/posthog-relay.js +1 -2
  89. package/editor/select-mode/EditorSelection.js +1 -2
  90. package/editor/select-mode/annotationFrames.js +1 -2
  91. package/editor/select-mode/descriptor/elementDescriptor.js +1 -2
  92. package/editor/select-mode/descriptor/styleExtraction.js +1 -2
  93. package/editor/select-mode/displayModeStore.js +1 -2
  94. package/editor/select-mode/fast-refresh-relay.js +1 -2
  95. package/editor/select-mode/fiber.js +1 -2
  96. package/editor/select-mode/hooks/useCrosshairCursor.js +1 -2
  97. package/editor/select-mode/hooks/useEditModeStateMachine.js +1 -2
  98. package/editor/select-mode/hooks/useOptimisticOverrides.js +1 -2
  99. package/editor/select-mode/hooks/useParentMessaging.js +1 -2
  100. package/editor/select-mode/hooks/useSelectModeController.js +1 -2
  101. package/editor/select-mode/hooks/useSelectionHover.js +1 -2
  102. package/editor/select-mode/hooks/useSelectionInteractions.js +1 -2
  103. package/editor/select-mode/hooks/useSelectionScrollSync.js +1 -2
  104. package/editor/select-mode/hooks/useSiblingResolution.js +1 -2
  105. package/editor/select-mode/iframeRpcChannel.d.ts +4 -4
  106. package/editor/select-mode/iframeRpcChannel.js +1 -2
  107. package/editor/select-mode/inlineTextMarks.js +1 -2
  108. package/editor/select-mode/interactions/selectionGeometry.js +1 -2
  109. package/editor/select-mode/selectModeSession.js +1 -2
  110. package/editor/select-mode/selectionFrame.js +1 -2
  111. package/editor/select-mode/symbolicate.js +1 -2
  112. package/editor/select-mode/tiptapInlineEditor.js +1 -2
  113. package/env.js +1 -2
  114. package/gateways/canopy-api.js +1 -5
  115. package/hooks/use-client-value.js +1 -2
  116. package/hooks/use-formatted-price.js +1 -2
  117. package/lib/canopy-error.js +1 -2
  118. package/lib/get-query-client.js +1 -2
  119. package/lib/integration-utils.js +1 -2
  120. package/lib/shopify-utils.js +1 -2
  121. package/lib/tombstone.js +0 -1
  122. package/lib/url-utils.js +1 -2
  123. package/loaders/collection-loader.js +1 -2
  124. package/loaders/collection-products-loader.js +1 -2
  125. package/loaders/contentful-entries-loader.js +1 -2
  126. package/loaders/contentful-entry-loader.js +1 -2
  127. package/loaders/invoke-loader-action.js +1 -2
  128. package/loaders/invoke-loader-server.js +1 -2
  129. package/loaders/invoke-loader.js +1 -2
  130. package/loaders/levanta-product-loader.js +1 -2
  131. package/loaders/loader-error-boundary.js +1 -2
  132. package/loaders/loader-keys.js +1 -2
  133. package/loaders/loader-schemas.js +1 -5
  134. package/loaders/metaobject-loader.js +1 -2
  135. package/loaders/metaobjects-loader.js +1 -2
  136. package/loaders/okendo-review-aggregate-loader.js +1 -2
  137. package/loaders/okendo-reviews-loader.js +1 -2
  138. package/loaders/prefetch-loaders.js +1 -2
  139. package/loaders/preview-placeholder.js +1 -2
  140. package/loaders/product-loader-args.js +1 -2
  141. package/loaders/product-loader.js +1 -2
  142. package/loaders/rebuy-recommendations-loader.js +1 -2
  143. package/loaders/reviews-io-review-aggregate-loader.js +1 -2
  144. package/loaders/reviews-io-reviews-loader.js +1 -2
  145. package/loaders/smile-earning-rules-loader.js +1 -2
  146. package/loaders/smile-rewards-loader.js +1 -2
  147. package/loaders/smile-vip-tiers-loader.js +1 -2
  148. package/loaders/statsig-experiment-loader.js +1 -2
  149. package/loaders/vendor-loader-keys.js +1 -2
  150. package/loaders/yotpo-review-aggregate-loader.js +1 -2
  151. package/loaders/yotpo-reviews-loader.js +1 -2
  152. package/money.js +1 -2
  153. package/next/config.js +4 -2
  154. package/next/image-loader.js +1 -2
  155. package/next/open-next.js +0 -1
  156. package/orders/order-status-schema.d.ts +3 -3
  157. package/orders/order-status-schema.js +1 -5
  158. package/orders/order-status.js +1 -2
  159. package/package.json +1 -1
  160. package/providers/query-provider.js +1 -2
  161. package/providers/replo-provider.js +1 -2
  162. package/routing/evaluate.js +1 -2
  163. package/routing/rules.js +1 -2
  164. package/analytics/analytics-provider.js.map +0 -7
  165. package/analytics/analytics-sink.js.map +0 -7
  166. package/analytics/get-analytics-sinks.js.map +0 -7
  167. package/analytics/hooks/use-product-viewed-analytics.js.map +0 -7
  168. package/analytics/replo-first-party-pixel.js.map +0 -7
  169. package/analytics/replo-pixel-script.js.map +0 -7
  170. package/analytics/sinks/ga4-sink.js.map +0 -7
  171. package/analytics/sinks/meta-sink.js.map +0 -7
  172. package/analytics/sinks/pinterest-sink.js.map +0 -7
  173. package/analytics/sinks/reddit-sink.js.map +0 -7
  174. package/analytics/sinks/replo-sink.js.map +0 -7
  175. package/analytics/sinks/snapchat-sink.js.map +0 -7
  176. package/analytics/sinks/tiktok-sink.js.map +0 -7
  177. package/analytics/sinks/window-sink.js.map +0 -7
  178. package/analytics/utils/analytics-utils.js.map +0 -7
  179. package/analytics/utils/navigation-tracker.js.map +0 -7
  180. package/analytics/utils/shopify-funnel-gate.js.map +0 -7
  181. package/cart/buy-now-action.js.map +0 -7
  182. package/cart/cart-actions.js.map +0 -7
  183. package/cart/cart-loader.js.map +0 -7
  184. package/cart/cart-provider.js.map +0 -7
  185. package/cart/cart-schema.js.map +0 -7
  186. package/cart/cart-types.js.map +0 -7
  187. package/cart/gateways/cart-constants.js.map +0 -7
  188. package/cart/gateways/cart-gateway.js.map +0 -7
  189. package/cart/gateways/cookie-cart-gateway.js.map +0 -7
  190. package/cart/gateways/default-cart-gateway.js.map +0 -7
  191. package/cart/gateways/resolver-cart-gateway.js.map +0 -7
  192. package/cart/gateways/stripe-cart-gateway.js.map +0 -7
  193. package/cart/hooks/use-add-to-cart.js.map +0 -7
  194. package/cart/hooks/use-buy-now.js.map +0 -7
  195. package/cart/utils/cart-utils.js.map +0 -7
  196. package/cart/utils/cookie-cart-persistence.js.map +0 -7
  197. package/cart/utils/variant-to-cart-line.js.map +0 -7
  198. package/consent/consent-action.js.map +0 -7
  199. package/consent/consent-actions.js.map +0 -7
  200. package/consent/consent-store.js.map +0 -7
  201. package/consent/cookie.js.map +0 -7
  202. package/consent/replo-scripts.js.map +0 -7
  203. package/consent/script-registration-store.js.map +0 -7
  204. package/consent/script-snippets.js.map +0 -7
  205. package/consent/types.js.map +0 -7
  206. package/consent/window-api.js.map +0 -7
  207. package/editor/ClientErrorBoundary.js.map +0 -7
  208. package/editor/DocumentReadyBeacon.js.map +0 -7
  209. package/editor/LinkInterceptor.js.map +0 -7
  210. package/editor/NextErrorReporter.js.map +0 -7
  211. package/editor/annotations/AnnotationLayerMount.js.map +0 -7
  212. package/editor/annotations/annotationController.js.map +0 -7
  213. package/editor/annotations/bridgeGate.js.map +0 -7
  214. package/editor/design-library-preview/DesignLibraryPreview.js.map +0 -7
  215. package/editor/posthog-relay.js.map +0 -7
  216. package/editor/select-mode/EditorSelection.js.map +0 -7
  217. package/editor/select-mode/annotationFrames.js.map +0 -7
  218. package/editor/select-mode/descriptor/elementDescriptor.js.map +0 -7
  219. package/editor/select-mode/descriptor/styleExtraction.js.map +0 -7
  220. package/editor/select-mode/displayModeStore.js.map +0 -7
  221. package/editor/select-mode/fast-refresh-relay.js.map +0 -7
  222. package/editor/select-mode/fiber.js.map +0 -7
  223. package/editor/select-mode/hooks/useCrosshairCursor.js.map +0 -7
  224. package/editor/select-mode/hooks/useEditModeStateMachine.js.map +0 -7
  225. package/editor/select-mode/hooks/useOptimisticOverrides.js.map +0 -7
  226. package/editor/select-mode/hooks/useParentMessaging.js.map +0 -7
  227. package/editor/select-mode/hooks/useSelectModeController.js.map +0 -7
  228. package/editor/select-mode/hooks/useSelectionHover.js.map +0 -7
  229. package/editor/select-mode/hooks/useSelectionInteractions.js.map +0 -7
  230. package/editor/select-mode/hooks/useSelectionScrollSync.js.map +0 -7
  231. package/editor/select-mode/hooks/useSiblingResolution.js.map +0 -7
  232. package/editor/select-mode/iframeRpcChannel.js.map +0 -7
  233. package/editor/select-mode/inlineTextMarks.js.map +0 -7
  234. package/editor/select-mode/interactions/selectionGeometry.js.map +0 -7
  235. package/editor/select-mode/selectModeSession.js.map +0 -7
  236. package/editor/select-mode/selectionFrame.js.map +0 -7
  237. package/editor/select-mode/symbolicate.js.map +0 -7
  238. package/editor/select-mode/tiptapInlineEditor.js.map +0 -7
  239. package/env.js.map +0 -7
  240. package/gateways/canopy-api.js.map +0 -7
  241. package/hooks/use-client-value.js.map +0 -7
  242. package/hooks/use-formatted-price.js.map +0 -7
  243. package/lib/canopy-error.js.map +0 -7
  244. package/lib/get-query-client.js.map +0 -7
  245. package/lib/integration-utils.js.map +0 -7
  246. package/lib/shopify-utils.js.map +0 -7
  247. package/lib/tombstone.js.map +0 -7
  248. package/lib/url-utils.js.map +0 -7
  249. package/loaders/collection-loader.js.map +0 -7
  250. package/loaders/collection-products-loader.js.map +0 -7
  251. package/loaders/contentful-entries-loader.js.map +0 -7
  252. package/loaders/contentful-entry-loader.js.map +0 -7
  253. package/loaders/invoke-loader-action.js.map +0 -7
  254. package/loaders/invoke-loader-server.js.map +0 -7
  255. package/loaders/invoke-loader.js.map +0 -7
  256. package/loaders/levanta-product-loader.js.map +0 -7
  257. package/loaders/loader-error-boundary.js.map +0 -7
  258. package/loaders/loader-keys.js.map +0 -7
  259. package/loaders/loader-schemas.js.map +0 -7
  260. package/loaders/metaobject-loader.js.map +0 -7
  261. package/loaders/metaobjects-loader.js.map +0 -7
  262. package/loaders/okendo-review-aggregate-loader.js.map +0 -7
  263. package/loaders/okendo-reviews-loader.js.map +0 -7
  264. package/loaders/prefetch-loaders.js.map +0 -7
  265. package/loaders/preview-placeholder.js.map +0 -7
  266. package/loaders/product-loader-args.js.map +0 -7
  267. package/loaders/product-loader.js.map +0 -7
  268. package/loaders/rebuy-recommendations-loader.js.map +0 -7
  269. package/loaders/reviews-io-review-aggregate-loader.js.map +0 -7
  270. package/loaders/reviews-io-reviews-loader.js.map +0 -7
  271. package/loaders/smile-earning-rules-loader.js.map +0 -7
  272. package/loaders/smile-rewards-loader.js.map +0 -7
  273. package/loaders/smile-vip-tiers-loader.js.map +0 -7
  274. package/loaders/statsig-experiment-loader.js.map +0 -7
  275. package/loaders/vendor-loader-keys.js.map +0 -7
  276. package/loaders/yotpo-review-aggregate-loader.js.map +0 -7
  277. package/loaders/yotpo-reviews-loader.js.map +0 -7
  278. package/money.js.map +0 -7
  279. package/next/config.js.map +0 -7
  280. package/next/image-loader.js.map +0 -7
  281. package/next/open-next.js.map +0 -7
  282. package/orders/order-status-schema.js.map +0 -7
  283. package/orders/order-status.js.map +0 -7
  284. package/providers/query-provider.js.map +0 -7
  285. package/providers/replo-provider.js.map +0 -7
  286. package/routing/evaluate.js.map +0 -7
  287. package/routing/rules.js.map +0 -7
@@ -12,14 +12,8 @@ export declare function randomBase64Url(byteLength: number): string;
12
12
  * `crypto.getRandomValues`, which carries no such restriction.
13
13
  */
14
14
  export declare function randomUUID(): string;
15
- /**
16
- * Returns the SHA-256 of `input` as a 64-char lowercase hex string.
17
- *
18
- * Used for storing opaque secrets (e.g. public API tokens) where we want
19
- * constant-length hex output suitable for a `VARCHAR(64)` column with a
20
- * unique index.
21
- */
22
- export declare function sha256Hex(input: string): Promise<string>;
15
+ /** Strings use UTF-8; binary inputs are hashed unchanged. */
16
+ export declare function sha256Hex(input: string | Parameters<typeof crypto.subtle.digest>[1]): Promise<string>;
23
17
  export declare function constantTimeEqual({ left, right, }: {
24
18
  left: Uint8Array;
25
19
  right: Uint8Array;
@@ -80,4 +80,5 @@ export declare function isNetworkErrorMessage(message: string): boolean;
80
80
  * fallback string or `String(error)`.
81
81
  */
82
82
  export declare function getErrorMessage(error: unknown, fallback?: string): string;
83
+ export declare function appendErrorId(detail: string, errorId: string | null | undefined): string;
83
84
  export {};
@@ -1,3 +1,11 @@
1
+ /** Known symbol assets are not text typefaces; unknown families stay eligible. */
2
+ export declare function isKnownSymbolFontFamily(family: string): boolean;
3
+ export declare function getTypographyFonts<FontType extends {
4
+ family: string;
5
+ faces: {
6
+ cssFamily: string;
7
+ }[];
8
+ }>(fonts: FontType[]): FontType[];
1
9
  /**
2
10
  * Slugified family name, matching how `fontNameToCssVariable` derives a CSS var
3
11
  * (e.g. "DM Sans" → "dm-sans"), so a `--font-<slug>` var round-trips back to a
@@ -2,13 +2,22 @@ import { upperFirst_default, toString_default } from '../../../chunk-AKZNN7F2.mj
2
2
  import '../../../chunk-FNTGY7I5.mjs';
3
3
  import '../../../chunk-UJCSKKID.mjs';
4
4
 
5
- // ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/capitalize.js
6
5
  function capitalize(string) {
7
6
  return upperFirst_default(toString_default(string).toLowerCase());
8
7
  }
9
8
  var capitalize_default = capitalize;
10
9
 
11
- // ../replo-utils/lib/fonts.ts
10
+ function isKnownSymbolFontFamily(family) {
11
+ const normalized = family.trim().replace(/^["']|["']$/gu, "");
12
+ return /(?:^|[\s_-])(?:icons?|symbols?)(?:$|[\s_-])/iu.test(normalized) || /^(?:webrupee|fontawesome(?:[0-9]+)?(?:free|pro|brands|duotone|sharp)?|icomoon|glyphicons|wingdings|webdings|materialicons)$/iu.test(
13
+ normalized.replace(/[\s_-]/gu, "")
14
+ );
15
+ }
16
+ function getTypographyFonts(fonts) {
17
+ return fonts.filter((font) => {
18
+ return !isKnownSymbolFontFamily(font.family) && (font.faces.length === 0 || font.faces.some((face) => !isKnownSymbolFontFamily(face.cssFamily)));
19
+ });
20
+ }
12
21
  function slugifyFontFamily(family) {
13
22
  return family.replace(/([a-z])([A-Z])/g, "$1-$2").split(/[\s_-]+/u).map((word) => word.toLowerCase()).join("-");
14
23
  }
@@ -85,4 +94,4 @@ var escapeFontFamilyName = (fontFamily) => {
85
94
  return fontFamily.replace(/"/g, '\\"').replace(/'/g, "\\'");
86
95
  };
87
96
 
88
- export { buildFontFaceCss, buildGoogleFontsCssUrl, describeFontFile, escapeFontFamilyName, fontFormatFromExtension, fontFormatFromMimeType, fontNameToCssVariable, fontNameToVariableName, quoteFontFamily, slugifyFontFamily };
97
+ export { buildFontFaceCss, buildGoogleFontsCssUrl, describeFontFile, escapeFontFamilyName, fontFormatFromExtension, fontFormatFromMimeType, fontNameToCssVariable, fontNameToVariableName, getTypographyFonts, isKnownSymbolFontFamily, quoteFontFamily, slugifyFontFamily };
@@ -1,6 +1,5 @@
1
1
  import '../../../chunk-UJCSKKID.mjs';
2
2
 
3
- // ../replo-utils/lib/geometry.ts
4
3
  function isIntersecting(targetRect, destinationRect, { tolerance = 0 } = {}) {
5
4
  return targetRect.left <= destinationRect.right + tolerance && targetRect.right >= destinationRect.left - tolerance && targetRect.top <= destinationRect.bottom + tolerance && targetRect.bottom >= destinationRect.top - tolerance;
6
5
  }
@@ -1,4 +1,4 @@
1
- export { jsonStringifyOrNull, omitJsonObjectFieldsOrNull, parseJsonOrNull } from '../../../chunk-VKO7P3ED.mjs';
1
+ export { jsonStringifyOrNull, omitJsonObjectFieldsOrNull, parseJsonOrNull } from '../../../chunk-HGXQNZW7.mjs';
2
2
  import '../../../chunk-ILGEM42C.mjs';
3
3
  import '../../../chunk-FNTGY7I5.mjs';
4
4
  import '../../../chunk-UJCSKKID.mjs';
@@ -1,6 +1,5 @@
1
1
  import '../../../chunk-UJCSKKID.mjs';
2
2
 
3
- // ../replo-utils/lib/posthogReplay.ts
4
3
  var POSTHOG_REPLAY_SNAPSHOT_REQUEST = "posthog:replay:request-full-snapshot";
5
4
  var POSTHOG_REPLAY_READY_POLL_INTERVAL_MS = 100;
6
5
  var POSTHOG_REPLAY_READY_POLL_TIMEOUT_MS = 1e4;
@@ -4,8 +4,6 @@ export declare function metafieldContainsHtml(metafieldValue: string): boolean;
4
4
  export declare function capitalizeFirstLetter(inputString: string): string;
5
5
  /**
6
6
  * Get url without query params.
7
- *
8
- * @author Kurt 2024-10-14
9
7
  */
10
8
  export declare const getUrlWithoutQueryParams: (url: string) => string | undefined;
11
9
  /**
@@ -64,6 +64,11 @@ export declare function fileExtensionFromUrl(url: string): string;
64
64
  * Registration inputs are attacker-typeable, and the pipeline fetches them
65
65
  * server-side — so only plain public https(+http) origins pass: no
66
66
  * credentials, no ports, no IP literals, no localhost/RFC-6762 style names.
67
+ * Upgrades http to https and strips the fragment by default; `preserveProtocol`
68
+ * keeps the requested scheme.
67
69
  */
68
- export declare function sanitizePublicHttpUrl(value: string | null): string | null;
70
+ export declare function sanitizePublicHttpUrl(value: string | null, { preserveProtocol }?: {
71
+ preserveProtocol?: boolean;
72
+ }): string | null;
73
+ export declare function isPublicHttpsUrl(value: string): boolean;
69
74
  export declare function safeHost(url: string): string | null;
@@ -1,4 +1,4 @@
1
- export { buildUrlSearchParams, fileExtensionFromUrl, isPreviewInternalHostname, isPreviewOrigin, isValidHttpUrl, isValidRoutePath, normalizeCustomDomain, normalizeUrlIncludingProtocolRelative, normalizeUrlScheme, parseUrl, safeHost, sanitizePublicHttpUrl, truncateDomain } from '../../../chunk-IQVZY6EV.mjs';
1
+ export { buildUrlSearchParams, fileExtensionFromUrl, isPreviewInternalHostname, isPreviewOrigin, isPublicHttpsUrl, isValidHttpUrl, isValidRoutePath, normalizeCustomDomain, normalizeUrlIncludingProtocolRelative, normalizeUrlScheme, parseUrl, safeHost, sanitizePublicHttpUrl, truncateDomain } from '../../../chunk-3A2F6BOM.mjs';
2
2
  import '../../../chunk-AKZNN7F2.mjs';
3
3
  import '../../../chunk-FNTGY7I5.mjs';
4
4
  import '../../../chunk-UJCSKKID.mjs';
@@ -55,7 +55,6 @@ z.discriminatedUnion("type", [
55
55
  savedStyleTextAttributesSchema
56
56
  ]).describe("SavedStyleAttributes");
57
57
 
58
- // ../schemas/designLibrary.ts
59
58
  var savedColorStyleSchema = z.object({
60
59
  type: z.literal("color"),
61
60
  name: z.string(),
@@ -120,6 +120,13 @@ export declare class Uncommon_GloballyMappedError extends ReploError {
120
120
  userFacingDetails: ErrorUserFacingDetails;
121
121
  });
122
122
  }
123
+ /**
124
+ * The `userFacingDetails.key` publisher puts on its 404 for a missing project.
125
+ * It lives here rather than next to the error class because a caller across a
126
+ * service boundary (airlock) matches on it to tell "this project is gone" apart
127
+ * from any other 404 that URL could produce.
128
+ */
129
+ export declare const PROJECT_NOT_FOUND_ERROR_KEY = "errors.project.notFound";
123
130
  export declare class ReploValidationError extends ReploError {
124
131
  constructor(message: string);
125
132
  }
@@ -186,9 +193,6 @@ export type ErrorDetails = {
186
193
  * Map of error keys to custom user-facing details. Should ONLY be used
187
194
  * in cases where we want to override the default behavior of ErrorUserFacingDetails
188
195
  * from the backend.
189
- *
190
- * TODO (Noah, 2024-01-15): Clean up these custom configs, all of them
191
- * are only used by Django (and 'base' can be moved directly into the reducer function)
192
196
  */
193
197
  export declare const CUSTOM_ERROR_KEY_TO_PROPS: {
194
198
  "shopifyArticle.failedToPublish": () => {
@@ -261,6 +265,7 @@ export declare const errorUserFacingDetailsMessageSchema: z.ZodObject<{
261
265
  isRecoverable: z.ZodOptional<z.ZodBoolean>;
262
266
  detail: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodString]>>;
263
267
  key: z.ZodString;
268
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
264
269
  usage: z.ZodOptional<z.ZodObject<{
265
270
  current: z.ZodNumber;
266
271
  maximum: z.ZodNumber;
@@ -327,6 +332,7 @@ export declare const errorUserFacingDetailsSchema: z.ZodDiscriminatedUnion<[z.Zo
327
332
  isRecoverable: z.ZodOptional<z.ZodBoolean>;
328
333
  detail: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodString]>>;
329
334
  key: z.ZodString;
335
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
330
336
  usage: z.ZodOptional<z.ZodObject<{
331
337
  current: z.ZodNumber;
332
338
  maximum: z.ZodNumber;
@@ -430,6 +436,12 @@ export declare class IframeRpcChannelTimeoutError extends IframeRpcChannelError
430
436
  timeoutMs: number;
431
437
  });
432
438
  }
439
+ export declare class IframeRpcChannelTargetUnavailableError extends IframeRpcChannelError {
440
+ constructor({ callType, method, }: {
441
+ callType: "notify" | "request" | "response";
442
+ method?: string;
443
+ });
444
+ }
433
445
  export declare class IframeRpcChannelRemoteError extends IframeRpcChannelError {
434
446
  constructor({ method, message }: {
435
447
  method: string;
@@ -4,6 +4,9 @@ export type ErrorUserFacingDetailsWithMessage = {
4
4
  isRecoverable?: boolean;
5
5
  detail?: string[] | string;
6
6
  key: string;
7
+ details?: {
8
+ [x: string]: unknown;
9
+ };
7
10
  usage?: {
8
11
  current: number;
9
12
  maximum: number;
@@ -86,6 +86,7 @@ export type SelectableDataPayload = SelectablePlanPayload;
86
86
  export type SelectableData = SelectedElement | SelectablePlanData;
87
87
  export type SelectModeOptimisticUpdatePayload = {
88
88
  kind: "css";
89
+ fontSource?: "google" | "site";
89
90
  property: string;
90
91
  value: string | null;
91
92
  } | {
@@ -1,4 +1,8 @@
1
- import type { DisplayMode, SelectModeSelectionType, SelectModeOptimisticUpdatePayload, SelectModeFormatCommand, SelectableData, SelectModeBoundingRect, SelectModeClickPosition, SelectModeSelectionRect, SelectModeTiptapActiveMarks } from "./selectMode";
1
+ import type { SelectModeBoundingRect, DisplayMode, SelectModeSelectionType, SelectModeOptimisticUpdatePayload, SelectModeFormatCommand, SelectableData, SelectModeClickPosition, SelectModeSelectionRect, SelectModeTiptapActiveMarks } from "./selectMode";
2
+ export type InlineEditFeedback = {
3
+ status: "pending" | "unavailable" | "failed";
4
+ rect: SelectModeBoundingRect;
5
+ };
2
6
  export type IframeRuntimeBuildMetadata = {
3
7
  packageName: string;
4
8
  version: string;
@@ -15,6 +19,7 @@ export type SelectModeParentMessage = {
15
19
  method: "setSelectionType";
16
20
  data: {
17
21
  selectionType: SelectModeSelectionType;
22
+ selectors?: string[];
18
23
  };
19
24
  } | {
20
25
  method: "applyOptimisticUpdate";
@@ -53,7 +58,7 @@ export type SelectModeParentMessage = {
53
58
  };
54
59
  export type SelectModeIframeMessage = {
55
60
  method: "iframeReady";
56
- data?: IframeRuntimeBuildMetadata;
61
+ data: IframeRuntimeBuildMetadata;
57
62
  } | {
58
63
  method: "elementSelected";
59
64
  data: {
@@ -97,11 +102,17 @@ export type SelectModeIframeMessage = {
97
102
  };
98
103
  originalInnerHTML: string;
99
104
  };
105
+ } | {
106
+ method: "inlineEditFeedbackChanged";
107
+ data: {
108
+ feedback: InlineEditFeedback | null;
109
+ };
100
110
  } | {
101
111
  method: "editorStateUpdate";
102
112
  data: {
103
113
  activeMarks: SelectModeTiptapActiveMarks;
104
- isEditing: boolean;
114
+ isInlineEditing: boolean;
115
+ isInlineEditPending: boolean;
105
116
  };
106
117
  } | {
107
118
  method: "fastRefreshComplete";
@@ -16,7 +16,7 @@ export type IframeRpcChannelHandlerMeta<OutgoingMethods extends IframeRpcChannel
16
16
  channel: IframeRpcChannelRemote<OutgoingMethods>;
17
17
  };
18
18
  export type IframeRpcChannelHandlers<IncomingMethods extends IframeRpcChannelMethodConfig, OutgoingMethods extends IframeRpcChannelMethodConfig = IframeRpcChannelMethodConfig> = {
19
- [Method in keyof IncomingMethods]: (input: z.output<IncomingMethods[Method]["inputSchema"]>, meta: IframeRpcChannelHandlerMeta<OutgoingMethods>) => IsVoidMethod<IncomingMethods, Method> extends true ? void : // Valued handlers stay `unknown` so callers can return domain/generated
19
+ [Method in keyof IncomingMethods]: (input: z.output<IncomingMethods[Method]["inputSchema"]>, meta: IframeRpcChannelHandlerMeta<OutgoingMethods>) => IsVoidMethod<IncomingMethods, Method> extends true ? void :
20
20
  unknown | Promise<unknown>;
21
21
  };
22
22
  export type IframeRpcChannelInputHandlers<IncomingMethods extends IframeRpcChannelMethodConfig> = {
@@ -1,11 +1,10 @@
1
- import { IframeRpcChannelConfigurationError, IframeRpcChannelUnsubscribedError, IframeRpcChannelUnknownMethodError, IframeRpcChannelInvalidInputError, randomUUID, IframeRpcChannelTimeoutError, IframeRpcChannelRemoteError } from '../../chunk-ZZPQ3E7S.mjs';
1
+ import { IframeRpcChannelConfigurationError, IframeRpcChannelUnsubscribedError, IframeRpcChannelUnknownMethodError, IframeRpcChannelInvalidInputError, IframeRpcChannelTargetUnavailableError, randomUUID, IframeRpcChannelTimeoutError, IframeRpcChannelRemoteError } from '../../chunk-VUXOGD76.mjs';
2
2
  import { isNullish } from '../../chunk-H36NDYLG.mjs';
3
3
  import '../../chunk-ILGEM42C.mjs';
4
4
  import '../../chunk-FNTGY7I5.mjs';
5
5
  import '../../chunk-UJCSKKID.mjs';
6
6
  import { z } from 'zod';
7
7
 
8
- // ../replo-utils/lib/log.ts
9
8
  var defaultLogger = {
10
9
  info: console.log,
11
10
  debug: console.debug,
@@ -103,8 +102,8 @@ function createIframeRpcChannel(options) {
103
102
  const pendingRequests = /* @__PURE__ */ new Map();
104
103
  let subscriberCount = 0;
105
104
  let handlerMeta;
106
- const postMessage = (call2) => {
107
- getTargetWindow()?.postMessage(
105
+ const postMessage = (call2, targetWindow = getTargetWindow()) => {
106
+ targetWindow?.postMessage(
108
107
  {
109
108
  channelIdentifier,
110
109
  version,
@@ -147,7 +146,6 @@ function createIframeRpcChannel(options) {
147
146
  }
148
147
  try {
149
148
  const handler = handlers[
150
- // eslint-disable-next-line replo/no-as-cast -- NOTE (Noah, 2026-07-25): The method existence check above narrows this dynamic wire string to the configured handler keys.
151
149
  message.method
152
150
  ];
153
151
  const result = await handler(parsedInput.data, handlerMeta);
@@ -189,7 +187,6 @@ function createIframeRpcChannel(options) {
189
187
  return;
190
188
  }
191
189
  const handler = handlers[
192
- // eslint-disable-next-line replo/no-as-cast -- NOTE (Noah, 2026-08-07): Method existence check narrows this wire string to configured handler keys.
193
190
  message.method
194
191
  ];
195
192
  handler(parsedInput.data, handlerMeta);
@@ -226,9 +223,6 @@ function createIframeRpcChannel(options) {
226
223
  pendingRequest.resolve(parsedOutput.data);
227
224
  };
228
225
  const handleMessage = (event) => {
229
- if (!isExpectedMessage(event)) {
230
- return;
231
- }
232
226
  const parsedMetadata = z.object({
233
227
  channelIdentifier: z.literal(channelIdentifier),
234
228
  version: z.literal(version)
@@ -236,6 +230,15 @@ function createIframeRpcChannel(options) {
236
230
  if (!parsedMetadata.success) {
237
231
  return;
238
232
  }
233
+ if (!isExpectedMessage(event)) {
234
+ defaultLogger.error("[iframeRpcChannel] Dropping unexpected message", {
235
+ channelIdentifier,
236
+ version,
237
+ origin: event.origin,
238
+ hasSource: Boolean(event.source)
239
+ });
240
+ return;
241
+ }
239
242
  const parsedCall = iframeRpcCallSchema.safeParse(event.data);
240
243
  if (!parsedCall.success) {
241
244
  return;
@@ -322,6 +325,15 @@ function createIframeRpcChannel(options) {
322
325
  new IframeRpcChannelUnsubscribedError({ method })
323
326
  );
324
327
  }
328
+ const targetWindow = getTargetWindow();
329
+ if (!targetWindow) {
330
+ return Promise.reject(
331
+ new IframeRpcChannelTargetUnavailableError({
332
+ callType: "request",
333
+ method
334
+ })
335
+ );
336
+ }
325
337
  const id = randomUUID();
326
338
  const timeoutMs = definition.timeoutMs ?? 3e4;
327
339
  return new Promise(
@@ -332,21 +344,27 @@ function createIframeRpcChannel(options) {
332
344
  }, timeoutMs);
333
345
  pendingRequests.set(id, {
334
346
  method,
335
- // PendingRequest is shared across methods, so resolve is typed as
336
- // unknown; handleResponse already validated against this method's
337
- // outputSchema before calling it.
338
347
  resolve: (value) => {
339
348
  resolve(value);
340
349
  },
341
350
  reject,
342
351
  timeoutId
343
352
  });
344
- postMessage({
345
- type: "request",
346
- id,
347
- method,
348
- data: parsedInput.data
349
- });
353
+ try {
354
+ postMessage(
355
+ {
356
+ type: "request",
357
+ id,
358
+ method,
359
+ data: parsedInput.data
360
+ },
361
+ targetWindow
362
+ );
363
+ } catch (error) {
364
+ clearTimeout(timeoutId);
365
+ pendingRequests.delete(id);
366
+ reject(error);
367
+ }
350
368
  }
351
369
  );
352
370
  };
@@ -1,6 +1,5 @@
1
1
  import '../../chunk-UJCSKKID.mjs';
2
2
 
3
- // lib/tombstone.ts
4
3
  var migrationCommand = `pnpm add --ignore-workspace @replohq/sdk@latest @replohq/sandbox-runtime@latest && pnpm remove --ignore-workspace canopy-sdk
5
4
  (if package.json lists "@replohq/canopy-sdk" instead of the "canopy-sdk" alias, run: pnpm remove --ignore-workspace @replohq/canopy-sdk)`;
6
5
  var providerComposition = `import { ReploProvider } from "@replohq/sdk/providers/replo-provider";
@@ -96,7 +95,6 @@ function canopyTombstoneObject(location) {
96
95
  });
97
96
  }
98
97
 
99
- // loaders/vendor-loader-keys.ts
100
98
  var DATA_LOADER_KEYS = canopyTombstoneObject({
101
99
  symbol: "DATA_LOADER_KEYS",
102
100
  subpath: "_vendor/schemas/loaderKeys"
@@ -15,7 +15,7 @@ export declare function fromMajorUnitsToMinorUnits({ amount, currencyCode, }: {
15
15
  currencyCode: string;
16
16
  }): number;
17
17
  /**
18
- * NOTE (Max, 2026-08-03): safe companion to fromMajorUnitsToMinorUnits for
18
+ * safe companion to fromMajorUnitsToMinorUnits for
19
19
  * possibly-blank or user/CSV/provider-entered decimal strings — returns null
20
20
  * for blank or non-numeric input instead of throwing. Callers with a
21
21
  * source-specific cleaning or validation policy sanitize first, then convert
@@ -1,11 +1,10 @@
1
- import { ReploError } from '../../chunk-ZZPQ3E7S.mjs';
1
+ import { ReploError } from '../../chunk-VUXOGD76.mjs';
2
2
  import '../../chunk-H36NDYLG.mjs';
3
3
  import '../../chunk-ILGEM42C.mjs';
4
4
  import '../../chunk-FNTGY7I5.mjs';
5
5
  import { __commonJS, __toESM } from '../../chunk-UJCSKKID.mjs';
6
6
  import { z } from 'zod';
7
7
 
8
- // ../../node_modules/.pnpm/first-match@0.0.1/node_modules/first-match/index.js
9
8
  var require_first_match = __commonJS({
10
9
  "../../node_modules/.pnpm/first-match@0.0.1/node_modules/first-match/index.js"(exports, module) {
11
10
  function truthy(d) {
@@ -21,7 +20,6 @@ var require_first_match = __commonJS({
21
20
  }
22
21
  });
23
22
 
24
- // ../../node_modules/.pnpm/nub@0.0.0/node_modules/nub/index.js
25
23
  var require_nub = __commonJS({
26
24
  "../../node_modules/.pnpm/nub@0.0.0/node_modules/nub/index.js"(exports, module) {
27
25
  var nub = module.exports = function(xs, cmp) {
@@ -76,7 +74,6 @@ var require_nub = __commonJS({
76
74
  }
77
75
  });
78
76
 
79
- // ../../node_modules/.pnpm/currency-codes@2.2.0/node_modules/currency-codes/data.js
80
77
  var require_data = __commonJS({
81
78
  "../../node_modules/.pnpm/currency-codes@2.2.0/node_modules/currency-codes/data.js"(exports, module) {
82
79
  module.exports = [
@@ -1793,14 +1790,12 @@ var require_data = __commonJS({
1793
1790
  }
1794
1791
  });
1795
1792
 
1796
- // ../../node_modules/.pnpm/currency-codes@2.2.0/node_modules/currency-codes/iso-4217-publish-date.js
1797
1793
  var require_iso_4217_publish_date = __commonJS({
1798
1794
  "../../node_modules/.pnpm/currency-codes@2.2.0/node_modules/currency-codes/iso-4217-publish-date.js"(exports, module) {
1799
1795
  module.exports = "2024-06-25";
1800
1796
  }
1801
1797
  });
1802
1798
 
1803
- // ../../node_modules/.pnpm/currency-codes@2.2.0/node_modules/currency-codes/index.js
1804
1799
  var require_currency_codes = __commonJS({
1805
1800
  "../../node_modules/.pnpm/currency-codes@2.2.0/node_modules/currency-codes/index.js"(exports) {
1806
1801
  var first = require_first_match();
@@ -1860,7 +1855,6 @@ var require_currency_codes = __commonJS({
1860
1855
  }
1861
1856
  });
1862
1857
 
1863
- // ../schemas/money.ts
1864
1858
  var import_currency_codes = __toESM(require_currency_codes());
1865
1859
  var InvalidAmountError = class extends ReploError {
1866
1860
  };
@@ -9,8 +9,6 @@ var pageAnnotationMarkerSchema = z.object({
9
9
  number: z.number().int().min(1).max(99),
10
10
  color: pageAnnotationColorSchema,
11
11
  selector: z.string().min(1).max(2e3),
12
- // "pageTop" markers ignore the selector and stack near the top of the
13
- // page (page-wide findings); "element" markers pin to their selector.
14
12
  placement: pageAnnotationPlacementSchema.default("element")
15
13
  }).describe("PageAnnotationMarker");
16
14
  var pageAnnotationViewportRectSchema = z.object({
@@ -1,7 +1,7 @@
1
1
  import { getParamSegment, getRouteParams, hasRouteParam, matchSource } from '../../../chunk-VPEVERWE.mjs';
2
- import { parseUrl } from '../../../chunk-IQVZY6EV.mjs';
2
+ import { parseUrl } from '../../../chunk-3A2F6BOM.mjs';
3
3
  import '../../../chunk-AKZNN7F2.mjs';
4
- import { ReploError } from '../../../chunk-ZZPQ3E7S.mjs';
4
+ import { ReploError } from '../../../chunk-VUXOGD76.mjs';
5
5
  import '../../../chunk-H36NDYLG.mjs';
6
6
  import '../../../chunk-ILGEM42C.mjs';
7
7
  import '../../../chunk-FNTGY7I5.mjs';
@@ -275,6 +275,10 @@ export declare function readSelectablePayload(rawPayload: string | null): {
275
275
  } | null;
276
276
  export declare const selectModeOptimisticUpdatePayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
277
277
  kind: z.ZodLiteral<"css">;
278
+ fontSource: z.ZodOptional<z.ZodEnum<{
279
+ google: "google";
280
+ site: "site";
281
+ }>>;
278
282
  property: z.ZodString;
279
283
  value: z.ZodNullable<z.ZodString>;
280
284
  }, z.core.$strip>, z.ZodObject<{
@@ -312,8 +316,6 @@ export declare const selectModeFormatCommandSchema: z.ZodEnum<{
312
316
  * are pinned to this enum via `Extract<SelectModeSelectionType, …>`
313
317
  *
314
318
  * Renaming or adding a variant here is a TS error in all three.
315
- *
316
- * @author Kevin O'Connell 2026-04-20
317
319
  */
318
320
  export declare const selectModeSelectionTypeSchema: z.ZodEnum<{
319
321
  none: "none";
@@ -337,8 +339,6 @@ export declare const selectModeSelectionTypeSchema: z.ZodEnum<{
337
339
  * Distinct from the SDK-internal `SelectModeInteractionSession`, which
338
340
  * holds live DOM `Element` refs and live pointer/scroll geometry. This
339
341
  * type holds only the message-passable, serialized projection.
340
- *
341
- * @author Kevin O'Connell 2026-04-23
342
342
  */
343
343
  export declare const selectModeSelectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
344
344
  type: z.ZodLiteral<"none">;
@@ -1,5 +1,5 @@
1
- export { SELECT_MODE_SELECTABLE_ATTRIBUTE, SELECT_MODE_SELECTABLE_PAYLOAD_ATTRIBUTE, displayModeSchema, getIframeOffset, readSelectablePayload, selectModeBoundingRectSchema, selectModeClickPositionSchema, selectModeDefinedStyleSchema, selectModeFiberChainEntrySchema, selectModeFormatCommandSchema, selectModeInlineTextStatusSchema, selectModeOptimisticUpdatePayloadSchema, selectModeSelectionRectSchema, selectModeSelectionSchema, selectModeSelectionTypeSchema, selectModeSourceLocationSchema, selectModeStyleAtRuleSchema, selectModeStyleVariantSchema, selectModeTextMetricsSchema, selectModeTiptapActiveMarksSchema, selectableDataPayloadSchema, selectableDataSchema, selectablePlanDataSchema, selectablePlanPayloadSchema, selectedElementSchema, transformPoint, transformRect, transformSelectableData, transformSelectedElement } from '../../chunk-2BNHFQZH.mjs';
2
- import '../../chunk-VKO7P3ED.mjs';
1
+ export { SELECT_MODE_SELECTABLE_ATTRIBUTE, SELECT_MODE_SELECTABLE_PAYLOAD_ATTRIBUTE, displayModeSchema, getIframeOffset, readSelectablePayload, selectModeBoundingRectSchema, selectModeClickPositionSchema, selectModeDefinedStyleSchema, selectModeFiberChainEntrySchema, selectModeFormatCommandSchema, selectModeInlineTextStatusSchema, selectModeOptimisticUpdatePayloadSchema, selectModeSelectionRectSchema, selectModeSelectionSchema, selectModeSelectionTypeSchema, selectModeSourceLocationSchema, selectModeStyleAtRuleSchema, selectModeStyleVariantSchema, selectModeTextMetricsSchema, selectModeTiptapActiveMarksSchema, selectableDataPayloadSchema, selectableDataSchema, selectablePlanDataSchema, selectablePlanPayloadSchema, selectedElementSchema, transformPoint, transformRect, transformSelectableData, transformSelectedElement } from '../../chunk-VQASHJRQ.mjs';
2
+ import '../../chunk-HGXQNZW7.mjs';
3
3
  import '../../chunk-H36NDYLG.mjs';
4
4
  import '../../chunk-ILGEM42C.mjs';
5
5
  import '../../chunk-FNTGY7I5.mjs';