@uxbertlabs/reportly 1.0.29 → 1.0.31

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 (63) hide show
  1. package/README.md +0 -0
  2. package/dist/components/AnnotationToolbar.d.ts +0 -0
  3. package/dist/components/AnnotationToolbar.d.ts.map +1 -1
  4. package/dist/components/FloatingButton.d.ts +0 -0
  5. package/dist/components/FloatingButton.d.ts.map +1 -1
  6. package/dist/components/IssueModal.d.ts +0 -0
  7. package/dist/components/IssueModal.d.ts.map +1 -1
  8. package/dist/components/Logo.d.ts +0 -0
  9. package/dist/components/Logo.d.ts.map +0 -0
  10. package/dist/components/Reportly.d.ts +0 -0
  11. package/dist/components/Reportly.d.ts.map +0 -0
  12. package/dist/components/ReportlyProvider.d.ts +0 -0
  13. package/dist/components/ReportlyProvider.d.ts.map +1 -1
  14. package/dist/components/icons/AminahLogo.d.ts +7 -0
  15. package/dist/components/icons/AminahLogo.d.ts.map +1 -0
  16. package/dist/components/icons/AminahUXbertLogo.d.ts +7 -0
  17. package/dist/components/icons/AminahUXbertLogo.d.ts.map +1 -0
  18. package/dist/components/icons/Butterfly.d.ts +8 -0
  19. package/dist/components/icons/Butterfly.d.ts.map +1 -0
  20. package/dist/core/config.d.ts +12 -0
  21. package/dist/core/config.d.ts.map +1 -0
  22. package/dist/core/init.d.ts +43 -0
  23. package/dist/core/init.d.ts.map +1 -0
  24. package/dist/core/state.d.ts +27 -0
  25. package/dist/core/state.d.ts.map +1 -0
  26. package/dist/features/annotation.d.ts +0 -0
  27. package/dist/features/annotation.d.ts.map +0 -0
  28. package/dist/features/device-info.d.ts +0 -0
  29. package/dist/features/device-info.d.ts.map +0 -0
  30. package/dist/features/export.d.ts +0 -0
  31. package/dist/features/export.d.ts.map +0 -0
  32. package/dist/features/n8n-integration.d.ts +0 -0
  33. package/dist/features/n8n-integration.d.ts.map +0 -0
  34. package/dist/features/screenshot.d.ts +24 -1
  35. package/dist/features/screenshot.d.ts.map +1 -1
  36. package/dist/index.cjs.js +303 -131
  37. package/dist/index.cjs.js.map +1 -1
  38. package/dist/index.css +1 -1
  39. package/dist/index.d.ts +0 -0
  40. package/dist/index.d.ts.map +0 -0
  41. package/dist/index.esm.js +303 -131
  42. package/dist/index.esm.js.map +1 -1
  43. package/dist/index.min.js +5 -5
  44. package/dist/index.min.js.map +1 -1
  45. package/dist/lib/utils.d.ts +0 -0
  46. package/dist/lib/utils.d.ts.map +0 -0
  47. package/dist/reportly.cjs.js +10872 -0
  48. package/dist/reportly.cjs.js.map +1 -0
  49. package/dist/reportly.esm.js +10870 -0
  50. package/dist/reportly.esm.js.map +1 -0
  51. package/dist/reportly.js +10875 -0
  52. package/dist/reportly.js.map +1 -0
  53. package/dist/reportly.min.js +7 -0
  54. package/dist/reportly.min.js.map +1 -0
  55. package/dist/types.d.ts +19 -0
  56. package/dist/types.d.ts.map +1 -1
  57. package/dist/ui/button.d.ts +14 -0
  58. package/dist/ui/button.d.ts.map +1 -0
  59. package/dist/ui/modal.d.ts +21 -0
  60. package/dist/ui/modal.d.ts.map +1 -0
  61. package/dist/ui/toolbar.d.ts +18 -0
  62. package/dist/ui/toolbar.d.ts.map +1 -0
  63. package/package.json +6 -3
package/dist/index.esm.js CHANGED
@@ -9297,9 +9297,16 @@ var parseBackgroundColor = function (context, element, backgroundColorOverride)
9297
9297
 
9298
9298
  // Screenshot capture using html2canvas
9299
9299
  class Screenshot {
9300
- constructor() {
9300
+ constructor(hooks, captureDelay, quality, format) {
9301
9301
  this.captureDelay = 500; // Default delay before capture
9302
+ this.hooks = {};
9303
+ this.quality = 0.95; // Default quality for JPEG/WebP
9304
+ this.format = "png"; // Default format
9302
9305
  this.currentScreenshot = null;
9306
+ if (hooks) this.hooks = hooks;
9307
+ if (captureDelay !== undefined) this.captureDelay = captureDelay;
9308
+ if (quality !== undefined) this.quality = quality;
9309
+ if (format) this.format = format;
9303
9310
  }
9304
9311
  /**
9305
9312
  * Wait for specified milliseconds
@@ -9364,7 +9371,15 @@ class Screenshot {
9364
9371
  document.body.offsetHeight;
9365
9372
  }
9366
9373
  async capture(mode = "fullpage") {
9374
+ const context = {
9375
+ mode,
9376
+ timestamp: Date.now()
9377
+ };
9367
9378
  try {
9379
+ // Hook: onCaptureStart - notify that capture is starting
9380
+ if (this.hooks.onCaptureStart) {
9381
+ await Promise.resolve(this.hooks.onCaptureStart(context));
9382
+ }
9368
9383
  // Show loading screen immediately (before hiding UI)
9369
9384
  this.showLoadingScreen();
9370
9385
  // Wait for DOM to stabilize, animations to complete, and assets to load
@@ -9374,6 +9389,10 @@ class Screenshot {
9374
9389
  this.hideUXbertElements();
9375
9390
  // Force a reflow to ensure all styles are computed
9376
9391
  this.forceReflow();
9392
+ // Hook: beforeCapture - allow developers to modify DOM before capture
9393
+ if (this.hooks.beforeCapture) {
9394
+ await Promise.resolve(this.hooks.beforeCapture(context));
9395
+ }
9377
9396
  let canvas;
9378
9397
  if (mode === "viewport") {
9379
9398
  // Capture only the current viewport
@@ -9508,13 +9527,40 @@ class Screenshot {
9508
9527
  }
9509
9528
  // Show UXbert UI elements again
9510
9529
  this.showUXbertElements();
9511
- // Convert to base64
9512
- this.currentScreenshot = canvas.toDataURL("image/png");
9530
+ // Add canvas to context for afterCapture hook
9531
+ context.canvas = canvas;
9532
+ // Convert to base64 with configurable format and quality
9533
+ let screenshotData;
9534
+ if (this.format === "png") {
9535
+ screenshotData = canvas.toDataURL("image/png");
9536
+ } else if (this.format === "jpeg") {
9537
+ screenshotData = canvas.toDataURL("image/jpeg", this.quality);
9538
+ } else {
9539
+ screenshotData = canvas.toDataURL("image/webp", this.quality);
9540
+ }
9541
+ context.screenshot = screenshotData;
9542
+ // Hook: afterCapture - allow developers to modify the screenshot or canvas
9543
+ if (this.hooks.afterCapture) {
9544
+ const result = await Promise.resolve(this.hooks.afterCapture(context));
9545
+ // If hook returns a string, use it as the screenshot; otherwise use the original
9546
+ if (typeof result === "string" && result.length > 0) {
9547
+ screenshotData = result;
9548
+ }
9549
+ }
9550
+ this.currentScreenshot = screenshotData;
9551
+ // Hook: onCaptureComplete - notify that capture completed successfully
9552
+ if (this.hooks.onCaptureComplete) {
9553
+ await Promise.resolve(this.hooks.onCaptureComplete(context));
9554
+ }
9513
9555
  return this.currentScreenshot;
9514
9556
  } catch (error) {
9515
9557
  console.error("Screenshot capture failed:", error);
9516
9558
  this.hideLoadingScreen();
9517
9559
  this.showUXbertElements();
9560
+ // Hook: onCaptureError - notify about the error
9561
+ if (this.hooks.onCaptureError) {
9562
+ await Promise.resolve(this.hooks.onCaptureError(error, context));
9563
+ }
9518
9564
  throw error;
9519
9565
  }
9520
9566
  }
@@ -9611,6 +9657,38 @@ class Screenshot {
9611
9657
  getCaptureDelay() {
9612
9658
  return this.captureDelay;
9613
9659
  }
9660
+ /**
9661
+ * Update screenshot hooks dynamically
9662
+ * @param hooks - New hooks configuration
9663
+ */
9664
+ setHooks(hooks) {
9665
+ this.hooks = {
9666
+ ...this.hooks,
9667
+ ...hooks
9668
+ };
9669
+ }
9670
+ /**
9671
+ * Get current hooks configuration
9672
+ */
9673
+ getHooks() {
9674
+ return {
9675
+ ...this.hooks
9676
+ };
9677
+ }
9678
+ /**
9679
+ * Set screenshot format
9680
+ * @param format - Image format (png, jpeg, webp)
9681
+ */
9682
+ setFormat(format) {
9683
+ this.format = format;
9684
+ }
9685
+ /**
9686
+ * Set screenshot quality (for JPEG/WebP)
9687
+ * @param quality - Quality between 0 and 1
9688
+ */
9689
+ setQuality(quality) {
9690
+ this.quality = Math.max(0, Math.min(quality, 1));
9691
+ }
9614
9692
  getScreenshot() {
9615
9693
  return this.currentScreenshot;
9616
9694
  }
@@ -9734,7 +9812,7 @@ function ReportlyProvider({
9734
9812
  // Initialize services with useMemo to ensure they're only created once and support SSR
9735
9813
  const deviceInfo = useMemo(() => new DeviceInfo(), []);
9736
9814
  const exportService = useMemo(() => new Export(config.integrations?.n8n), [config.integrations?.n8n]);
9737
- const screenshot = useMemo(() => new Screenshot(), []);
9815
+ const screenshot = useMemo(() => new Screenshot(config.screenshot?.hooks, config.screenshot?.captureDelay, config.screenshot?.quality, config.screenshot?.format), [config.screenshot?.hooks, config.screenshot?.captureDelay, config.screenshot?.quality, config.screenshot?.format]);
9738
9816
  const openModal = useCallback(() => {
9739
9817
  dispatch({
9740
9818
  type: "OPEN_MODAL"
@@ -9919,6 +9997,70 @@ function useReportly() {
9919
9997
  return context;
9920
9998
  }
9921
9999
 
10000
+ function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
10001
+
10002
+ /**
10003
+ * Combines class names without Tailwind merging
10004
+ * Use this for scoped CSS classes (uxbert-*)
10005
+ */
10006
+ function cn(...inputs) {
10007
+ return clsx(inputs);
10008
+ }
10009
+
10010
+ function Butterfly({
10011
+ width = "100%",
10012
+ height = "auto",
10013
+ className = "",
10014
+ style = {}
10015
+ }) {
10016
+ return /*#__PURE__*/React.createElement("svg", {
10017
+ id: "Layer_1",
10018
+ xmlns: "http://www.w3.org/2000/svg",
10019
+ version: "1.1",
10020
+ viewBox: "0 0 500 450",
10021
+ width: width,
10022
+ height: height,
10023
+ className: className,
10024
+ style: style
10025
+ }, /*#__PURE__*/React.createElement("path", {
10026
+ fill: "currentColor",
10027
+ d: "M77.6,118.7c-13.2,0-24,10.8-24,24s10.8,24,24,24,24-10.8,24-24-10.8-24-24-24ZM77.6,158.4c-8.6,0-15.7-7-15.7-15.7s7-15.7,15.7-15.7,15.7,7,15.7,15.7-7,15.7-15.7,15.7ZM120.2,334.8c-10,0-18.2,8.2-18.2,18.2s8.2,18.2,18.2,18.2,18.2-8.2,18.2-18.2-8.2-18.2-18.2-18.2ZM120.2,363c-5.5,0-9.9-4.5-9.9-9.9s4.5-9.9,9.9-9.9,9.9,4.5,9.9,9.9-4.5,9.9-9.9,9.9ZM77.9,296.9c-11.6,0-21,9.4-21,21s9.4,21,21,21,21-9.4,21-21-9.4-21-21-21ZM77.9,330.5c-7,0-12.7-5.7-12.7-12.7s5.7-12.7,12.7-12.7,12.7,5.7,12.7,12.7-5.7,12.7-12.7,12.7ZM423,243.7c3.8-1.5,7.3-3,10.7-4.7.2-.1.5-.2.7-.3,68.7-34,60.9-106.4,56-151.7l-.4-4c-2.1-19.7-11.4-26.1-18.9-28.1-22.6-5.9-55.2,20.8-64.2,33.5-11.9,16.9-28.1,29.8-42.4,41.3-12,9.6-23.3,18.6-30.6,28.7-13.2,18.2-54.4,40.7-63.6,45.6-2.3-4.8-6-9.1-11.1-12.9,2.2-8.4,6.8-15.7,12.4-21.9l13.1,2.3c.2,0,.5,0,.7,0,2,0,3.7-1.4,4.1-3.4.4-2.2-1.1-4.4-3.4-4.8l-7.2-1.3c2.2-1.9,4.4-3.6,6.6-5.2l11.9,3.8c.4.1.8.2,1.3.2,1.7,0,3.4-1.1,4-2.9.7-2.2-.5-4.5-2.7-5.2l-5.6-1.8c1.5-.9,3-1.8,4.5-2.5l13.2,5.3c.5.2,1,.3,1.5.3,1.6,0,3.2-1,3.8-2.6.8-2.1-.2-4.5-2.3-5.4l-6.4-2.5c3.7-1.6,6.1-2.5,6.2-2.6,2.2-.8,3.3-3.1,2.5-5.3-.8-2.2-3.2-3.3-5.3-2.5-.5.2-3.5,1.3-7.8,3.2l.9-7.4c.3-2.3-1.3-4.3-3.6-4.6-2.2-.2-4.3,1.3-4.6,3.6l-1.6,12.8c-2.2,1.2-4.6,2.5-7,4l.4-8.3c.1-2.3-1.6-4.2-3.9-4.3-2.2-.1-4.2,1.6-4.3,3.9l-.7,14.6c-2.1,1.6-4.3,3.2-6.4,5l-.6-7c-.2-2.3-2.2-4-4.5-3.8-2.3.2-4,2.2-3.8,4.5l1.2,13.7c-6.1,6.7-11.2,14.5-14,23.5-.5-.3-1-.6-1.5-.8-1.2-.6-2.5-.6-3.7,0-.5.3-1,.6-1.5.8-2.9-9-7.9-16.8-14-23.5l1.2-13.7c.2-2.3-1.5-4.3-3.8-4.5-2.3-.2-4.3,1.5-4.5,3.8l-.6,7c-2.1-1.8-4.2-3.5-6.4-5.1l-.7-14.6c-.1-2.3-2.1-4-4.3-3.9-2.3.1-4,2.1-3.9,4.3l.4,8.3c-2.4-1.5-4.8-2.8-7-4l-1.6-12.8c-.3-2.3-2.4-3.8-4.6-3.6-2.3.3-3.9,2.4-3.6,4.6l.9,7.4c-4.3-1.9-7.3-3-7.8-3.2-2.2-.8-4.5.4-5.3,2.5-.8,2.2.4,4.5,2.5,5.3.1,0,2.5.9,6.2,2.6l-6.4,2.5c-2.1.8-3.2,3.3-2.3,5.4.6,1.6,2.2,2.6,3.8,2.6s1,0,1.5-.3l13.2-5.3c1.4.8,2.9,1.6,4.5,2.5l-5.6,1.8c-2.2.7-3.4,3-2.7,5.2.6,1.8,2.2,2.9,4,2.9s.8,0,1.3-.2l11.9-3.8c2.2,1.6,4.5,3.3,6.6,5.2l-7.2,1.3c-2.2.4-3.8,2.5-3.4,4.8.3,2,2.1,3.4,4.1,3.4s.5,0,.7,0l13.1-2.3c5.7,6.3,10.2,13.6,12.4,21.9-5.1,3.8-8.8,8.1-11.1,12.9-9.2-4.9-50.4-27.4-63.6-45.6-7.3-10.1-18.6-19.1-30.6-28.7-14.3-11.4-30.4-24.4-42.4-41.3-8.9-12.7-41.6-39.4-64.2-33.5-7.5,1.9-16.8,8.4-18.9,28.1l-.4,4c-4.9,45.3-12.7,117.6,56,151.7.2.2.4.2.7.3,3.4,1.7,6.9,3.2,10.7,4.7-18.7,3.2-37.7,10.2-51.1,22.8-14.3,13.4-20,31.3-16.6,51.8,5.2,31,26.1,57.1,55.9,69.8,12,5.1,24.5,7.7,36.3,7.7s27.3-3.6,37.8-10.8c30.6-20.9,44.7-40.5,56.1-56.3,7.8-10.8,14.2-19.6,23.8-26.4-.2,6.1,0,12.7.6,20.2,5.2,55.3,19.8,75,31.8,75s26.6-19.7,31.8-75c.7-7.5.9-14.1.6-20.2,9.6,6.8,16.1,15.6,23.8,26.4,11.3,15.7,25.5,35.3,56.1,56.3,10.5,7.2,23.7,10.8,37.8,10.8s24.2-2.5,36.3-7.7c29.9-12.7,50.7-38.8,55.9-69.8,3.4-20.5-2.3-38.4-16.6-51.8-13.4-12.5-32.4-19.6-51.1-22.8h0ZM468.9,63c7.2,1.9,11.5,8.9,12.7,20.9l.4,4.1c4.8,44.3,11.6,107.9-46,140.5,1.1-9.4,7-21.4,13.3-34,13-26.2,29.2-58.7,9.7-86.3-17.5-24.7-15.5-36.8-14.5-39.9,8.8-4.5,17.7-7.1,24.4-5.3h0ZM340.5,163.3c6.7-9.2,17.5-17.9,29.1-27.1,14.7-11.8,31.4-25.1,44-43,4.1-5.9,12.5-13.5,22-19.7.2,8,3.5,20.8,16.7,39.5,16.7,23.5,2.3,52.3-10.3,77.8-8,16-14.9,30-14.3,42-7.5,3.5-15.8,6.5-25.3,8.9-11.4-.3-21.8.6-29.8,2.5-34.6,8.2-88,6.7-98.2,6.4-1.3-1.3-3-2.4-5.1-3.3,3.3-5.3,7.2-14,3.8-21.5-.4-.9-.9-1.7-1.4-2.5.8-2.4,1.5-6.4.9-11.1,4.9-2.5,52.5-27.5,67.9-48.9h0ZM272.6,310.2c-15.6-4.3-32.8-4.3-48.4,0-.1-4.8,0-8.9.3-12.5,15.1-4.7,32.6-4.7,47.7,0,.3,3.6.5,7.8.3,12.5ZM261.9,371.1c-8.7-1.3-18.3-1.3-27,0-1.3-3.4-2.6-7.4-3.8-12,11.4-2.4,23.3-2.4,34.6,0-1.2,4.6-2.5,8.6-3.8,12ZM229.2,351.1c-.8-3.7-1.5-7.6-2.2-12,13.9-3.7,28.9-3.7,42.8,0-.7,4.3-1.4,8.3-2.2,12-12.6-2.7-25.8-2.7-38.4,0h0ZM272,321.8c-.3,3.2-.6,6.2-1,9.1-14.7-3.8-30.5-3.8-45.1,0-.3-2.9-.7-5.9-1-9.1-.1-1.1-.1-2-.2-3,15.2-4.6,32.4-4.6,47.5,0,0,1-.1,1.9-.2,3h0ZM226,288.7c3.3-13.9,10-15.1,9.8-15.1h24.8c.1,0,6.8,1.2,10.2,15.1-14.5-3.7-30.4-3.7-44.8,0ZM231.3,229.2c1.7-3.7,7.8-5.9,16.9-6.3,9.5.4,15.6,2.6,17.2,6.3,2.1,4.6-2,11.9-4.7,15.8-3.6-.6-7.6-.9-12.4-.9s-8.8.3-12.4.9c-2.7-3.9-6.8-11.2-4.7-15.8h0ZM265.1,266.4c-2.1-.9-3.7-1.1-4.1-1.1h-25.4c-.3,0-1.8.2-3.9,1.1-2.6-3-4.9-6.9-4.1-9,.3-.8,2.8-5,20.8-5s20.5,4.2,20.8,5c.8,2.1-1.5,6-4.1,9h0ZM233.2,209.8c2-6,7.1-11.3,15.2-15.7,15.3,8.3,16.8,17.9,16.1,23.6-4.1-1.9-9.5-2.9-16.2-3.2-6.5.2-11.8,1.3-15.8,3.1-.3-2.1-.2-4.9.8-7.8h0ZM14.8,88l.4-4.1c1.3-12,5.6-19.1,12.7-20.9,6.7-1.7,15.6.8,24.4,5.3,1,3.1,3,15.2-14.5,39.9-19.5,27.5-3.3,60.1,9.7,86.3,6.3,12.6,12.2,24.6,13.3,34C3.1,195.9,10,132.2,14.8,88h0ZM69.2,232.8c.6-11.9-6.3-25.9-14.3-42-12.7-25.4-27-54.3-10.3-77.8,13.2-18.7,16.5-31.5,16.7-39.5,9.5,6.2,17.8,13.9,22,19.7,12.6,17.9,29.3,31.2,44,43,11.5,9.2,22.4,17.9,29.1,27.1,15.5,21.4,63.1,46.4,67.9,48.9-.6,4.7.2,8.6.9,11.1-.6.8-1,1.6-1.4,2.5-3.3,7.5.6,16.2,3.8,21.5-2.1.9-3.8,2-5.1,3.3-10.2.4-63.6,1.9-98.2-6.4-7.9-1.9-18.4-2.9-29.8-2.5-9.4-2.5-17.8-5.5-25.3-8.9h0ZM65.3,380.4c-27.6-11.8-46.2-34.9-51-63.5-3-17.9,1.7-32.8,14.1-44.4,4.7-4.4,10.3-8,16.4-11.1,1.8,3.7,4.3,11.1,2.6,22.2-.8,5.3-2.9,9.8-5,14.5-4.8,10.6-9.7,21.5.4,39.8,9.1,16.5,19.8,20.4,28.3,23.6,4.8,1.7,8.9,3.3,12.4,6.7,1.8,1.8,3.4,3.6,5,5.2,4.9,5.2,9.4,10.1,16.3,13.5-12.5,1.1-26.2-1-39.5-6.6h0ZM185.4,323.8c-11,15.2-24.6,34.2-54,54.2-3.1,2.1-6.6,3.8-10.2,5.2-13.9-1.9-19.1-7.3-26.6-15.4-1.6-1.7-3.3-3.6-5.2-5.4-4.7-4.7-10.1-6.7-15.4-8.6-8-2.9-16.3-6-23.9-19.8-8.1-14.7-4.6-22.5,0-32.4,2.3-5,4.6-10.2,5.6-16.7,2-12.7-.8-21.7-3.2-26.8,23.6-9.2,52.5-10.1,69.9-5.9,33.1,7.9,80.8,7.2,96.8,6.7.3,4.8,3.4,9.4,5.9,12.4-4.1,4.7-6.8,11.6-8.2,20.6-14.1,7.9-22.3,19.1-31.5,31.9h0ZM248.4,389.3c-2.4,0-6.1-3-10-10.3,6.5-.8,13.4-.8,20,0-3.9,7.3-7.6,10.3-10,10.3ZM311.4,323.8c-9.2-12.8-17.3-23.9-31.5-31.9-1.4-8.9-4.1-15.8-8.2-20.6h0c2.5-3,5.6-7.6,5.9-12.4,16,.5,63.8,1.1,96.8-6.7,17.4-4.1,46.3-3.2,69.9,5.9-2.4,5.1-5.2,14.1-3.2,26.8,1,6.4,3.4,11.6,5.6,16.7,4.5,9.9,8,17.7,0,32.4-7.6,13.8-15.9,16.9-23.9,19.8-5.2,1.9-10.7,3.9-15.4,8.6-1.9,1.9-3.6,3.7-5.2,5.4-7.5,8.1-12.7,13.5-26.6,15.4-3.6-1.4-7.1-3-10.2-5.2-29.4-20.1-43-39-54-54.2h0ZM482.5,316.9c-4.8,28.6-23.4,51.7-51,63.5-13.3,5.7-27,7.8-39.5,6.6,6.8-3.4,11.4-8.2,16.3-13.5,1.6-1.7,3.2-3.4,5-5.2,3.4-3.4,7.6-4.9,12.4-6.7,8.6-3.1,19.2-7,28.3-23.6,10.1-18.3,5.2-29.3.4-39.8-2.1-4.7-4.2-9.2-5-14.5-1.7-11.1.8-18.5,2.6-22.2,6.1,3,11.7,6.7,16.4,11.1,12.3,11.5,17.1,26.4,14.1,44.4h0ZM419.2,166.6c13.2,0,24-10.8,24-24s-10.8-24-24-24-24,10.8-24,24,10.8,24,24,24ZM419.2,127c8.7,0,15.7,7,15.7,15.7s-7,15.7-15.7,15.7-15.7-7-15.7-15.7,7-15.7,15.7-15.7ZM394.9,353c0-10-8.2-18.2-18.2-18.2s-18.2,8.2-18.2,18.2,8.2,18.2,18.2,18.2,18.2-8.2,18.2-18.2ZM366.7,353c0-5.5,4.5-9.9,9.9-9.9s9.9,4.5,9.9,9.9-4.5,9.9-9.9,9.9-9.9-4.5-9.9-9.9ZM419,338.8c11.6,0,21-9.4,21-21s-9.4-21-21-21-21,9.4-21,21,9.4,21,21,21ZM419,305.2c7,0,12.7,5.7,12.7,12.7s-5.7,12.7-12.7,12.7-12.7-5.7-12.7-12.7,5.7-12.7,12.7-12.7Z"
10028
+ }));
10029
+ }
10030
+
10031
+ function FloatingButton({
10032
+ className = ""
10033
+ }) {
10034
+ const {
10035
+ state,
10036
+ startAnnotation
10037
+ } = useReportly();
10038
+ const {
10039
+ config
10040
+ } = state;
10041
+ if (state.isAnnotating) {
10042
+ return null;
10043
+ }
10044
+ const positionClasses = {
10045
+ "bottom-right": "position-bottom-right",
10046
+ "bottom-left": "position-bottom-left",
10047
+ "top-right": "position-top-right",
10048
+ "top-left": "position-top-left"
10049
+ };
10050
+ return /*#__PURE__*/React.createElement("button", {
10051
+ "data-uxbert-reportly": true,
10052
+ className: cn("uxbert-floating-button", positionClasses[config.ui.position], className),
10053
+ onClick: startAnnotation,
10054
+ title: "Report an issue",
10055
+ "aria-label": "Report an issue"
10056
+ }, /*#__PURE__*/React.createElement(Butterfly, {
10057
+ style: {
10058
+ color: "currentColor",
10059
+ width: "40px"
10060
+ }
10061
+ }));
10062
+ }
10063
+
9922
10064
  /**
9923
10065
  * @license lucide-react v0.545.0 - ISC
9924
10066
  *
@@ -10036,34 +10178,11 @@ const createLucideIcon = (iconName, iconNode) => {
10036
10178
  */
10037
10179
 
10038
10180
 
10039
- const __iconNode$e = [
10181
+ const __iconNode$c = [
10040
10182
  ["path", { d: "M7 7h10v10", key: "1tivn9" }],
10041
10183
  ["path", { d: "M7 17 17 7", key: "1vkiza" }]
10042
10184
  ];
10043
- const ArrowUpRight = createLucideIcon("arrow-up-right", __iconNode$e);
10044
-
10045
- /**
10046
- * @license lucide-react v0.545.0 - ISC
10047
- *
10048
- * This source code is licensed under the ISC license.
10049
- * See the LICENSE file in the root directory of this source tree.
10050
- */
10051
-
10052
-
10053
- const __iconNode$d = [
10054
- ["path", { d: "M12 20v-9", key: "1qisl0" }],
10055
- ["path", { d: "M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z", key: "uouzyp" }],
10056
- ["path", { d: "M14.12 3.88 16 2", key: "qol33r" }],
10057
- ["path", { d: "M21 21a4 4 0 0 0-3.81-4", key: "1b0z45" }],
10058
- ["path", { d: "M21 5a4 4 0 0 1-3.55 3.97", key: "5cxbf6" }],
10059
- ["path", { d: "M22 13h-4", key: "1jl80f" }],
10060
- ["path", { d: "M3 21a4 4 0 0 1 3.81-4", key: "1fjd4g" }],
10061
- ["path", { d: "M3 5a4 4 0 0 0 3.55 3.97", key: "1d7oge" }],
10062
- ["path", { d: "M6 13H2", key: "82j7cp" }],
10063
- ["path", { d: "m8 2 1.88 1.88", key: "fmnt4t" }],
10064
- ["path", { d: "M9 7.13V6a3 3 0 1 1 6 0v1.13", key: "1vgav8" }]
10065
- ];
10066
- const Bug = createLucideIcon("bug", __iconNode$d);
10185
+ const ArrowUpRight = createLucideIcon("arrow-up-right", __iconNode$c);
10067
10186
 
10068
10187
  /**
10069
10188
  * @license lucide-react v0.545.0 - ISC
@@ -10073,7 +10192,7 @@ const Bug = createLucideIcon("bug", __iconNode$d);
10073
10192
  */
10074
10193
 
10075
10194
 
10076
- const __iconNode$c = [
10195
+ const __iconNode$b = [
10077
10196
  [
10078
10197
  "path",
10079
10198
  {
@@ -10083,18 +10202,7 @@ const __iconNode$c = [
10083
10202
  ],
10084
10203
  ["circle", { cx: "12", cy: "13", r: "3", key: "1vg3eu" }]
10085
10204
  ];
10086
- const Camera = createLucideIcon("camera", __iconNode$c);
10087
-
10088
- /**
10089
- * @license lucide-react v0.545.0 - ISC
10090
- *
10091
- * This source code is licensed under the ISC license.
10092
- * See the LICENSE file in the root directory of this source tree.
10093
- */
10094
-
10095
-
10096
- const __iconNode$b = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
10097
- const Check = createLucideIcon("check", __iconNode$b);
10205
+ const Camera = createLucideIcon("camera", __iconNode$b);
10098
10206
 
10099
10207
  /**
10100
10208
  * @license lucide-react v0.545.0 - ISC
@@ -10104,12 +10212,8 @@ const Check = createLucideIcon("check", __iconNode$b);
10104
10212
  */
10105
10213
 
10106
10214
 
10107
- const __iconNode$a = [
10108
- ["path", { d: "M12 15V3", key: "m9g1x1" }],
10109
- ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
10110
- ["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
10111
- ];
10112
- const Download = createLucideIcon("download", __iconNode$a);
10215
+ const __iconNode$a = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
10216
+ const Check = createLucideIcon("check", __iconNode$a);
10113
10217
 
10114
10218
  /**
10115
10219
  * @license lucide-react v0.545.0 - ISC
@@ -10268,64 +10372,102 @@ const __iconNode = [
10268
10372
  ];
10269
10373
  const X = createLucideIcon("x", __iconNode);
10270
10374
 
10271
- function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
10272
-
10273
- /**
10274
- * Combines class names without Tailwind merging
10275
- * Use this for scoped CSS classes (uxbert-*)
10276
- */
10277
- function cn(...inputs) {
10278
- return clsx(inputs);
10279
- }
10280
-
10281
- function FloatingButton({
10375
+ function AminahUXbertLogo({
10376
+ width = "100%",
10377
+ height = "auto",
10282
10378
  className = ""
10283
10379
  }) {
10284
- const {
10285
- state,
10286
- startAnnotation
10287
- } = useReportly();
10288
- const {
10289
- config
10290
- } = state;
10291
- if (state.isAnnotating) {
10292
- return null;
10293
- }
10294
- const positionClasses = {
10295
- "bottom-right": "position-bottom-right",
10296
- "bottom-left": "position-bottom-left",
10297
- "top-right": "position-top-right",
10298
- "top-left": "position-top-left"
10299
- };
10300
- return /*#__PURE__*/React.createElement("button", {
10301
- "data-uxbert-reportly": true,
10302
- className: cn("uxbert-floating-button", positionClasses[config.ui.position], className),
10303
- onClick: startAnnotation,
10304
- title: "Report an issue",
10305
- "aria-label": "Report an issue"
10306
- }, /*#__PURE__*/React.createElement(Bug, {
10307
- className: "w-6 h-6",
10308
- style: {
10309
- color: "currentColor"
10310
- }
10311
- }));
10312
- }
10313
-
10314
- const Logo = () => {
10315
10380
  return /*#__PURE__*/React.createElement("svg", {
10381
+ id: "logo",
10316
10382
  xmlns: "http://www.w3.org/2000/svg",
10317
- width: "159",
10318
- height: "23",
10319
- fill: "currentColor",
10320
- viewBox: "0 0 159 23",
10321
- style: {
10322
- color: "currentColor"
10323
- }
10324
- }, /*#__PURE__*/React.createElement("path", {
10325
- fill: "currentColor",
10326
- d: "M11.38 6.18V.426h3.807V6.55c0 .682-.131 1.283-.392 1.804-.261.522-.684.957-1.269 1.307-.585.35-1.35.616-2.294.796-.946.18-2.103.27-3.471.27-1.343 0-2.494-.083-3.452-.249-.958-.165-1.738-.414-2.341-.745C1.365 9.4.923 8.984.643 8.483c-.28-.503-.42-1.095-.42-1.777V.426h3.993v5.726c0 .294.04.573.121.838.081.265.246.5.495.704.248.204.603.363 1.063.483.46.118 1.07.177 1.829.177.758 0 1.378-.059 1.856-.177.479-.12.853-.28 1.12-.483.267-.204.448-.436.54-.697.094-.26.14-.532.14-.817ZM32.19.426l-5.41 4.703-.506.417 5.917 5.039H27.34l-3.434-3.04-3.432 3.04h-4.852l5.917-5.04-.506-.416-5.41-4.703h4.832l3.45 3.126L27.359.426h4.833ZM46.494 6.08c.217.209.385.443.503.703.117.26.177.539.177.832 0 .596-.128 1.089-.382 1.477a2.597 2.597 0 0 1-1.045.91 5.166 5.166 0 0 1-1.54.454c-.584.085-1.206.128-1.865.128h-9.236V.426h9.627c.535 0 1.051.048 1.549.143a4.45 4.45 0 0 1 1.316.454c.379.208.684.481.914.817.23.337.345.742.345 1.215 0 .256-.053.502-.159.739a2.38 2.38 0 0 1-1.12 1.158 3.148 3.148 0 0 1-.885.29v.03c.373.047.711.141 1.017.283.304.143.565.317.783.526Zm-3.256 1.777a.708.708 0 0 0 .149-.455c0-.2-.054-.363-.16-.49a1.11 1.11 0 0 0-.41-.306 2.164 2.164 0 0 0-.569-.164 3.982 3.982 0 0 0-.615-.05h-4.926v1.99h5.075c.187 0 .376-.017.57-.05a1.71 1.71 0 0 0 .513-.17c.148-.08.272-.183.373-.305Zm-6.531-5.315V4.29h4.963c.187 0 .366-.013.541-.042a1.8 1.8 0 0 0 .476-.142.828.828 0 0 0 .335-.27.715.715 0 0 0 .122-.426.707.707 0 0 0-.131-.441.838.838 0 0 0-.354-.263 1.98 1.98 0 0 0-.495-.127 4.112 4.112 0 0 0-.55-.036h-4.907Zm11.568 8.042V.426h12.445v2.316h-8.601v1.506h7.855v2.26h-7.855v1.676h8.601v2.401H48.274Zm26.062-4.22a7.53 7.53 0 0 1-1.334.228l5.449 3.992h-5.113l-4.72-3.709H66.34v3.709h-3.974V.426h9.889c.621 0 1.225.057 1.81.17a5.41 5.41 0 0 1 1.558.54c.454.247.818.564 1.09.952.275.388.412.858.412 1.407 0 .55-.14 1.014-.42 1.393-.28.379-.625.688-1.035.93-.411.242-.856.425-1.335.548Zm-1.921-1.954c.18-.079.329-.189.447-.327a.766.766 0 0 0 .178-.517.775.775 0 0 0-.159-.498 1.12 1.12 0 0 0-.4-.313 1.928 1.928 0 0 0-.561-.156 4.503 4.503 0 0 0-.616-.043h-4.963v2.075h4.814c.211 0 .43-.016.654-.05.223-.033.425-.09.606-.17ZM77.76.426h13.863v2.416h-5.037v7.743h-3.732V2.842H77.76V.426Zm76.462 4.019c3.187.214 4.374 1.172 4.374 2.797 0 2.23-2.477 3.338-7.445 3.338-4.44 0-6.388-1.158-7.239-2.582a2.705 2.705 0 0 1-.336-.932h4.181c.052.15.168.315.336.478.4.366 1.574.605 3.432.605 2.581 0 3.058-.252 3.058-.718 0-.454-.361-.58-2.516-.718-.955-.063-2.284-.126-2.942-.164-4.31-.227-5.446-1.36-5.446-2.872 0-1.802 2.517-3.25 7.175-3.25 4.09 0 6 1.133 6.8 2.292.258.39.439.794.517 1.16l-4.194.012c-.026-.152-.091-.24-.284-.416-.387-.34-1.355-.605-2.968-.605-2.349 0-2.981.177-2.981.655 0 .404.426.504 2.942.68 1.162.077 3.123.215 3.536.24Zm-11.405 2.326a2 2 0 0 1 .176.83c0 .595-.127 1.087-.38 1.474-.254.387-.6.69-1.04.907a5.125 5.125 0 0 1-1.531.454 12.89 12.89 0 0 1-1.855.128h-9.185V.426h9.574c.532 0 1.046.048 1.541.142.495.095.931.246 1.309.454.376.208.68.48.909.815.228.336.343.74.343 1.212 0 .256-.053.502-.158.738a2.377 2.377 0 0 1-1.113 1.156c-.266.136-.56.232-.882.29v.028a3.4 3.4 0 0 1 1.011.283c.304.143.563.317.78.525.217.208.383.442.501.702Zm-3.739 1.07a.708.708 0 0 0 .149-.453.745.745 0 0 0-.159-.49 1.097 1.097 0 0 0-.408-.304 2.12 2.12 0 0 0-.566-.163 3.883 3.883 0 0 0-.612-.05h-4.899v1.985h5.047c.186 0 .374-.016.567-.05.192-.033.361-.09.51-.17.148-.08.271-.182.371-.304Zm-6.495-5.303v1.745h4.936c.186 0 .365-.014.538-.043.173-.028.332-.075.473-.142a.823.823 0 0 0 .334-.269.714.714 0 0 0 .121-.425.7.7 0 0 0-.13-.44.833.833 0 0 0-.353-.262 1.961 1.961 0 0 0-.491-.127 4.074 4.074 0 0 0-.548-.037h-4.88Zm-31.317 5.147h7.673v2.9H97.35V.428h3.916v7.257ZM121.374.428l6.687 10.157h-4.289l-1.065-1.6h-7.54l-1.105 1.6h-4.183L116.912.428h4.462Zm-4.317 6.138h4.462c.013 0-1.652-2.483-1.652-2.483l-.533-.872-.572.872-1.705 2.483ZM2.375 22.65H1.62c-.132 0-.198-.063-.198-.189v-4.509c0-.066-.033-.099-.099-.099H.296c-.126 0-.189-.063-.189-.189v-.612c0-.126.063-.189.19-.189h3.401c.126 0 .19.063.19.19v.611c0 .126-.064.19-.19.19H2.672c-.072 0-.108.032-.108.098v4.51c0 .125-.063.188-.189.188ZM8.499 22.65h-.765c-.126 0-.19-.063-.19-.189v-5.409c0-.126.064-.189.19-.189h.765c.126 0 .189.063.189.19v2.114c0 .066.036.1.108.1h1.52c.067 0 .1-.034.1-.1v-2.115c0-.126.063-.189.189-.189h.765c.126 0 .189.063.189.19v5.408c0 .126-.063.19-.19.19h-.764c-.126 0-.19-.064-.19-.19v-2.106c0-.066-.032-.099-.098-.099H8.796c-.072 0-.108.033-.108.1v2.105c0 .126-.063.19-.19.19ZM18.832 22.65H15.89c-.126 0-.189-.063-.189-.189v-5.409c0-.126.063-.189.19-.189h2.942c.12 0 .18.063.18.19v.611c0 .126-.06.19-.18.19h-1.88c-.073 0-.109.032-.109.098v1.17c0 .066.036.1.108.1h1.54c.125 0 .188.062.188.188v.612c0 .126-.063.19-.189.19h-1.539c-.072 0-.108.032-.108.098v1.251c0 .066.036.1.108.1h1.881c.12 0 .18.062.18.188v.612c0 .126-.06.19-.18.19ZM31.056 22.65h-2.943c-.126 0-.189-.063-.189-.189v-5.409c0-.126.063-.189.19-.189h2.942c.12 0 .18.063.18.19v.611c0 .126-.06.19-.18.19h-1.88c-.073 0-.109.032-.109.098v1.17c0 .066.036.1.108.1h1.54c.125 0 .188.062.188.188v.612c0 .126-.063.19-.189.19h-1.539c-.072 0-.108.032-.108.098v1.251c0 .066.036.1.108.1h1.881c.12 0 .18.062.18.188v.612c0 .126-.06.19-.18.19ZM35.858 22.65h-.891c-.06 0-.102-.018-.126-.054-.024-.042-.024-.09 0-.144l1.395-2.763-1.35-2.628a.135.135 0 0 1 0-.135c.024-.042.066-.063.126-.063h.864c.15 0 .249.063.297.19l.855 1.934h.036l.846-1.935c.06-.126.156-.189.288-.189h.882c.06 0 .102.024.126.072.03.042.033.087.009.135l-1.368 2.62 1.395 2.753c.03.06.033.111.009.153-.024.036-.069.054-.135.054h-.9c-.126 0-.213-.06-.261-.18l-.891-1.944h-.036l-.9 1.944c-.054.12-.144.18-.27.18ZM43.985 22.65h-.765c-.126 0-.189-.063-.189-.189v-5.409c0-.126.063-.189.19-.189h2.195c.468 0 .831.13 1.09.387.257.252.386.612.386 1.08v.864c0 .468-.129.831-.387 1.09-.258.251-.62.377-1.089.377h-1.134c-.072 0-.108.033-.108.1v1.7c0 .126-.063.19-.189.19Zm.288-2.988h.954c.192 0 .327-.039.405-.117.078-.084.117-.219.117-.405v-.756c0-.192-.039-.327-.117-.405-.078-.084-.213-.126-.405-.126h-.954c-.066 0-.099.033-.099.1v1.61c0 .066.033.1.1.1ZM53.906 22.65h-2.943c-.126 0-.19-.063-.19-.189v-5.409c0-.126.064-.189.19-.189h2.943c.12 0 .18.063.18.19v.611c0 .126-.06.19-.18.19h-1.881c-.072 0-.108.032-.108.098v1.17c0 .066.036.1.108.1h1.539c.126 0 .189.062.189.188v.612c0 .126-.063.19-.19.19h-1.538c-.072 0-.108.032-.108.098v1.251c0 .066.036.1.108.1h1.88c.12 0 .18.062.18.188v.612c0 .126-.06.19-.18.19ZM59.005 22.65h-.766c-.125 0-.188-.063-.188-.189v-5.409c0-.126.063-.189.188-.189h2.143c.468 0 .834.13 1.098.387.264.258.396.621.396 1.09v.701c0 .678-.267 1.128-.801 1.35v.036l.962 2.007c.055.144.004.216-.152.216h-.73a.558.558 0 0 1-.233-.036c-.048-.024-.087-.075-.117-.153l-.9-1.944H59.3c-.072 0-.108.033-.108.1v1.844c0 .126-.063.19-.188.19Zm.287-3.05h.883c.192 0 .333-.04.422-.118.09-.084.136-.216.136-.396v-.702c0-.186-.045-.32-.136-.405-.09-.084-.23-.126-.422-.126h-.883c-.066 0-.099.033-.099.1V19.5c0 .066.034.1.1.1ZM67.13 17.052v5.41c0 .125-.063.188-.189.188h-.765c-.126 0-.189-.063-.189-.189v-5.409c0-.126.063-.189.19-.189h.764c.126 0 .19.063.19.19ZM74.444 22.65H71.5c-.126 0-.19-.063-.19-.189v-5.409c0-.126.064-.189.19-.189h2.943c.12 0 .18.063.18.19v.611c0 .126-.06.19-.18.19h-1.881c-.072 0-.108.032-.108.098v1.17c0 .066.036.1.108.1h1.539c.126 0 .189.062.189.188v.612c0 .126-.063.19-.19.19h-1.538c-.072 0-.108.032-.108.098v1.251c0 .066.036.1.108.1h1.88c.12 0 .18.062.18.188v.612c0 .126-.06.19-.18.19ZM79.524 22.65h-.747c-.126 0-.189-.063-.189-.189v-5.409c0-.126.063-.189.19-.189h.674c.126 0 .21.042.252.126l1.818 3.411h.036v-3.348c0-.126.063-.189.19-.189h.746c.126 0 .19.063.19.19v5.408c0 .126-.064.19-.19.19h-.657a.301.301 0 0 1-.288-.18l-1.8-3.349h-.036v3.34c0 .125-.063.188-.189.188ZM89.2 22.65h-.982c-.474 0-.84-.126-1.098-.378-.258-.252-.387-.615-.387-1.089V18.33c0-.474.13-.837.387-1.089.258-.252.624-.378 1.098-.378h.981c.468 0 .831.13 1.09.387.263.252.395.612.395 1.08v.423c0 .132-.066.198-.198.198h-.756c-.126 0-.189-.066-.189-.198v-.369c0-.192-.042-.327-.126-.405-.078-.084-.213-.126-.405-.126h-.612c-.186 0-.32.042-.405.126-.078.078-.117.213-.117.405v2.745c0 .192.04.33.117.414.084.078.22.117.405.117h.612c.192 0 .327-.039.405-.117.084-.084.126-.222.126-.414v-.369c0-.132.063-.198.19-.198h.755c.132 0 .198.066.198.198v.423c0 .468-.132.831-.396 1.09-.258.251-.62.377-1.089.377ZM97.768 22.65h-2.943c-.126 0-.19-.063-.19-.189v-5.409c0-.126.064-.189.19-.189h2.943c.12 0 .18.063.18.19v.611c0 .126-.06.19-.18.19h-1.881c-.072 0-.108.032-.108.098v1.17c0 .066.036.1.108.1h1.539c.126 0 .189.062.189.188v.612c0 .126-.063.19-.19.19h-1.538c-.072 0-.108.032-.108.098v1.251c0 .066.036.1.108.1h1.88c.12 0 .18.062.18.188v.612c0 .126-.06.19-.18.19ZM110.703 16.863h1.332c.126 0 .189.063.189.19v5.408c0 .126-.063.19-.189.19h-.738c-.126 0-.189-.064-.189-.19v-4.266h-.036l-.918 3.015c-.036.12-.111.18-.225.18h-.756c-.114 0-.189-.06-.225-.18l-.936-3.024h-.036v4.275c0 .072-.012.123-.036.153-.024.024-.075.036-.153.036h-.738c-.126 0-.189-.063-.189-.189v-5.409c0-.126.063-.189.189-.189h1.341c.084 0 .141.042.171.126l.954 3.177h.054l.963-3.177c.018-.084.075-.126.171-.126ZM116.963 22.65h-.864c-.108 0-.144-.063-.108-.189l1.422-5.409c.042-.126.132-.189.27-.189h1.197c.15 0 .24.063.27.19l1.422 5.408c.036.126 0 .19-.108.19h-.864c-.066 0-.111-.013-.135-.037a.343.343 0 0 1-.054-.153l-.252-.99h-1.755l-.252.99c-.012.072-.033.123-.063.153-.024.024-.066.036-.126.036Zm1.305-4.698-.648 2.601h1.332l-.648-2.6h-.036ZM126.131 22.65h-.756c-.132 0-.198-.063-.198-.189v-4.509c0-.066-.033-.099-.099-.099h-1.026c-.126 0-.189-.063-.189-.189v-.612c0-.126.063-.189.189-.189h3.402c.126 0 .189.063.189.19v.611c0 .126-.063.19-.189.19h-1.026c-.072 0-.108.032-.108.098v4.51c0 .125-.063.188-.189.188ZM133.091 22.65h-.756c-.132 0-.198-.063-.198-.189v-4.509c0-.066-.033-.099-.099-.099h-1.026c-.126 0-.189-.063-.189-.189v-.612c0-.126.063-.189.189-.189h3.402c.126 0 .189.063.189.19v.611c0 .126-.063.19-.189.19h-1.026c-.072 0-.108.032-.108.098v4.51c0 .125-.063.188-.189.188ZM141.393 22.65h-2.943c-.126 0-.189-.063-.189-.189v-5.409c0-.126.063-.189.189-.189h2.943c.12 0 .18.063.18.19v.611c0 .126-.06.19-.18.19h-1.881c-.072 0-.108.032-.108.098v1.17c0 .066.036.1.108.1h1.539c.126 0 .189.062.189.188v.612c0 .126-.063.19-.189.19h-1.539c-.072 0-.108.032-.108.098v1.251c0 .066.036.1.108.1h1.881c.12 0 .18.062.18.188v.612c0 .126-.06.19-.18.19ZM146.491 22.65h-.765c-.126 0-.189-.063-.189-.189v-5.409c0-.126.063-.189.189-.189h2.142c.468 0 .834.13 1.098.387.264.258.396.621.396 1.09v.701c0 .678-.267 1.128-.801 1.35v.036l.963 2.007c.054.144.003.216-.153.216h-.729a.558.558 0 0 1-.234-.036c-.048-.024-.087-.075-.117-.153l-.9-1.944h-.603c-.072 0-.108.033-.108.1v1.844c0 .126-.063.19-.189.19Zm.288-3.05h.882c.192 0 .333-.04.423-.118.09-.084.135-.216.135-.396v-.702c0-.186-.045-.32-.135-.405-.09-.084-.231-.126-.423-.126h-.882c-.066 0-.099.033-.099.1V19.5c0 .066.033.1.099.1ZM153.285 21.174v-.18c0-.126.063-.189.189-.189h.765c.126 0 .189.063.189.19v.071c0 .228.045.384.135.468.09.084.255.126.495.126h.423c.234 0 .396-.045.486-.135.096-.09.144-.258.144-.504v-.108a.438.438 0 0 0-.216-.396 1.056 1.056 0 0 0-.522-.17 6.482 6.482 0 0 1-.684-.1 5.244 5.244 0 0 1-.675-.198c-.21-.084-.387-.243-.531-.477-.138-.24-.207-.546-.207-.918v-.315c0-.468.132-.83.396-1.089.264-.258.63-.387 1.098-.387h.9c.474 0 .843.13 1.107.387.264.258.396.621.396 1.09v.17c0 .126-.063.19-.189.19h-.765c-.126 0-.189-.064-.189-.19v-.054c0-.234-.045-.393-.135-.477-.09-.084-.255-.126-.495-.126h-.351c-.246 0-.414.048-.504.144-.084.09-.126.27-.126.54v.171c0 .282.246.444.738.486.51.042.963.144 1.359.306.21.09.384.252.522.486.144.228.216.522.216.882v.306c0 .468-.132.831-.396 1.09-.264.257-.63.386-1.098.386h-.981c-.468 0-.834-.129-1.098-.387-.264-.258-.396-.62-.396-1.089Z"
10327
- }));
10328
- };
10383
+ version: "1.1",
10384
+ viewBox: "0 0 2700 450",
10385
+ width: width,
10386
+ height: height,
10387
+ className: className
10388
+ }, /*#__PURE__*/React.createElement("rect", {
10389
+ fill: "#0b0b0b",
10390
+ x: "12.8",
10391
+ y: "38",
10392
+ width: "1370.6",
10393
+ height: "363.9"
10394
+ }), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
10395
+ fill: "#cfcfce",
10396
+ d: "M195.9,310.2l-15.2-38.4h-85.5l-15.2,38.4h-24.5l69.2-171.7h26.5l69,171.7h-24.5ZM138,160.4l-36.3,92.7h72.8l-36.5-92.7Z"
10397
+ }), /*#__PURE__*/React.createElement("path", {
10398
+ fill: "#cfcfce",
10399
+ d: "M456.1,310.2v-144.4l-58.2,144.4h-8.8l-58.4-144.4v144.4h-21.4v-171.7h30.6l53.5,132.3,53.3-132.3h30.6v171.7h-21.4Z"
10400
+ }), /*#__PURE__*/React.createElement("path", {
10401
+ fill: "#cfcfce",
10402
+ d: "M584.3,310.2v-171.7h21.4v171.7h-21.4Z"
10403
+ }), /*#__PURE__*/React.createElement("path", {
10404
+ fill: "#cfcfce",
10405
+ d: "M834,310.2l-100.1-136.9v136.9h-21.4v-171.7h21.9l98.8,134.1v-134.1h21.4v171.7h-20.6Z"
10406
+ }), /*#__PURE__*/React.createElement("path", {
10407
+ fill: "#cfcfce",
10408
+ d: "M1083.9,310.2l-15.2-38.4h-85.5l-15.2,38.4h-24.5l69.2-171.7h26.5l69,171.7h-24.5ZM1026,160.4l-36.3,92.7h72.8l-36.5-92.7Z"
10409
+ }), /*#__PURE__*/React.createElement("path", {
10410
+ fill: "#cfcfce",
10411
+ d: "M1319.1,310.2v-78.8h-100.4v78.8h-21.4v-171.7h21.4v73.9h100.4v-73.9h21.4v171.7h-21.4Z"
10412
+ })), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
10413
+ fill: "#231f20",
10414
+ d: "M1491.8,245.4v-59h31.2c7.3,0,12.4,1.9,16.2,5.9,2.9,3.1,4.4,6.9,4.4,11s-1.9,8.7-5.1,11.7c-3.6,3.5-8.6,5.2-15.5,5.2h-25.2v25.1h-6ZM1497.8,191.9v23.1h25.2c4,0,7.9-.6,11.1-3.7,2.3-2.1,3.4-5,3.4-7.9s-1.1-5.3-3.1-7.5c-2.9-3.1-6.8-4-11.5-4h-25.2Z"
10415
+ }), /*#__PURE__*/React.createElement("path", {
10416
+ fill: "#231f20",
10417
+ d: "M1572.9,202.8c12.7,0,22.4,9.7,22.4,21.8s-9.7,22-22.4,22-22.3-9.7-22.3-22,9.6-21.8,22.3-21.8ZM1572.9,241.9c9.6,0,16.6-7.9,16.6-17.3s-7-17.2-16.6-17.2-16.4,7.9-16.4,17.2,6.9,17.3,16.4,17.3Z"
10418
+ }), /*#__PURE__*/React.createElement("path", {
10419
+ fill: "#231f20",
10420
+ d: "M1666.6,204l-13.8,41.4h-6.1l-10.8-33.5h-.5l-10.7,33.5h-6.1l-13.8-41.4h6l10.7,34.2h.5l11-34.2h5.9l11,34.2h.5l10.3-34.2h6.1Z"
10421
+ }), /*#__PURE__*/React.createElement("path", {
10422
+ fill: "#231f20",
10423
+ d: "M1717.6,238.7c-4.5,4.4-11.6,7.9-20.1,7.9-13.5,0-21.6-9.7-21.6-21.4s9.5-22.4,22-22.4,20.7,6,20.9,20.2c0,.5,0,1.2,0,1.8h-37.2v.2c0,9.1,6,16.6,16.5,16.6s12.2-2.6,15.8-6.5l3.8,3.6ZM1682,220.4h30.6c-.3-8.8-8-13-15-13s-13.9,5.7-15.6,13Z"
10424
+ }), /*#__PURE__*/React.createElement("path", {
10425
+ fill: "#231f20",
10426
+ d: "M1732.9,245.4v-31.6c0-3.2-.4-6.4-1.4-9.8h5.2c.8,2.4,1.1,4.6,1.2,7.3,2.9-4.2,7-8.5,13-8.5s5.3.8,6.6,2.4l-1.9,5c-1.3-1.4-4.1-2-5.9-2-5,0-8.7,4.3-11.3,7.9v29.2h-5.6Z"
10427
+ }), /*#__PURE__*/React.createElement("path", {
10428
+ fill: "#231f20",
10429
+ d: "M1804.1,238.7c-4.5,4.4-11.6,7.9-20.1,7.9-13.5,0-21.6-9.7-21.6-21.4s9.5-22.4,22-22.4,20.7,6,20.9,20.2c0,.5,0,1.2,0,1.8h-37.2v.2c0,9.1,6,16.6,16.5,16.6s12.2-2.6,15.8-6.5l3.8,3.6ZM1768.5,220.4h30.6c-.3-8.8-8-13-15-13s-13.9,5.7-15.6,13Z"
10430
+ }), /*#__PURE__*/React.createElement("path", {
10431
+ fill: "#231f20",
10432
+ d: "M1853.6,245.4c-.5-2.1-.6-4.3-.6-6.4-2.3,3-8,7.6-15.7,7.6-11.6,0-21.2-8.7-21.2-22s9.8-21.8,21.3-21.8,10.7,2.4,15.1,6.7v-27.3h5.6v53.3c0,3.2,0,6.5.8,9.9h-5.2ZM1822.3,224.6c0,10.4,7,17.2,15.5,17.2s13-5.1,14.6-7v-20c-4.2-4.2-9.5-7-14.6-7-8.6,0-15.5,6.7-15.5,16.9Z"
10433
+ }), /*#__PURE__*/React.createElement("path", {
10434
+ fill: "#231f20",
10435
+ d: "M1895.4,245.4c.6-3.4.8-6.8.8-9.9v-53.3h5.6v27.8c4.4-4.6,9.9-7.2,15.5-7.2,11.3,0,20.8,8.7,20.8,21.8s-9.8,22-21.6,22-13.1-4.6-15.3-7.6c0,2.1-.2,4.3-.6,6.4h-5.2ZM1901.9,214.6v20c1.6,2,6.7,7,14.3,7s15.9-6.8,15.9-17.2-6.8-16.9-15.2-16.9-10.7,2.7-15,7Z"
10436
+ }), /*#__PURE__*/React.createElement("path", {
10437
+ fill: "#231f20",
10438
+ d: "M1990.1,204l-29.5,60.6h-5.8l10.2-20.3-18.1-40.3h6.3l14.6,34.1h.3l16.2-34.1h5.7Z"
10439
+ }), /*#__PURE__*/React.createElement("path", {
10440
+ fill: "#231f20",
10441
+ d: "M2075,186.5v38c0,14.5-11.2,22.8-26.2,22.8s-26.1-8.2-26.1-22.8v-38h10.1v38c0,8.8,7,13.7,16,13.7s16.1-4.9,16.1-13.7v-38h10.1Z"
10442
+ }), /*#__PURE__*/React.createElement("path", {
10443
+ fill: "#231f20",
10444
+ d: "M2146.7,186.5l-23.2,28.2,24.4,30.8h-12.9l-18.1-23.7-18.8,23.7h-12.3l25-30.3-22.6-28.6h12.9l16.3,21.5,17-21.5h12.3Z"
10445
+ }), /*#__PURE__*/React.createElement("path", {
10446
+ fill: "#231f20",
10447
+ d: "M2160.4,245.4v-59h35.7c6.7,0,11.3,2.3,14.2,5.1s4,5.7,4,9.3c0,5.4-3.2,10.3-7.5,12,6.9,1.6,10.7,7.7,10.7,14.9s-1.4,8.8-5.4,12.5c-2.9,2.7-6.8,5.1-15.3,5.1h-36.4ZM2170.5,195.5v15.3h24.5c2.4,0,4.6-.5,6.2-2.2,1.5-1.5,2.4-3.7,2.4-5.9s-.8-3.8-2.1-5.1-3.8-2.3-6.6-2.3h-24.5ZM2170.5,219v17.4h26.6c2.8,0,5.5-.9,7.3-2.7s2.4-3.8,2.4-6-.9-4.1-2.3-5.6c-1.8-1.9-4.4-3.2-7.4-3.2h-26.6Z"
10448
+ }), /*#__PURE__*/React.createElement("path", {
10449
+ fill: "#231f20",
10450
+ d: "M2267,219.1h-22.7v17.2h39.9v9h-50v-59h47.8v9h-37.7v14.6h22.7v9Z"
10451
+ }), /*#__PURE__*/React.createElement("path", {
10452
+ fill: "#231f20",
10453
+ d: "M2298.6,245.4v-59h32.5c7.9,0,13.3,2.2,17.1,6.2,3,3.2,4.7,7.3,4.7,11.8,0,7.9-5.2,14-13,16.9l14.1,24h-11.6l-12.6-22.7h-20.9v22.7h-10.1ZM2308.8,195.5v18.2h24.2c5.3,0,9.8-4.2,9.8-9.2s-.9-4.2-2.4-5.9c-2.8-2.9-6-3.2-9.2-3.2h-22.4Z"
10454
+ }), /*#__PURE__*/React.createElement("path", {
10455
+ fill: "#231f20",
10456
+ d: "M2361.8,186.5h56.4v9h-23.1v49.9h-10.1v-49.9h-23.2v-9Z"
10457
+ }), /*#__PURE__*/React.createElement("path", {
10458
+ fill: "#231f20",
10459
+ d: "M2441.3,186.5v49.9h36.2v9h-46.3v-59h10.1Z"
10460
+ }), /*#__PURE__*/React.createElement("path", {
10461
+ fill: "#231f20",
10462
+ d: "M2508.9,186.5h9.2l27.4,59h-11.1l-7.1-15.9h-28.1l-7,15.9h-10.6l27.4-59ZM2502.8,221.4h20.9l-10.1-22.8h-.5l-10.2,22.8Z"
10463
+ }), /*#__PURE__*/React.createElement("path", {
10464
+ fill: "#231f20",
10465
+ d: "M2557.8,245.4v-59h35.7c6.7,0,11.3,2.3,14.2,5.1s4,5.7,4,9.3c0,5.4-3.2,10.3-7.5,12,6.9,1.6,10.7,7.7,10.7,14.9s-1.4,8.8-5.4,12.5c-2.9,2.7-6.8,5.1-15.3,5.1h-36.4ZM2568,195.5v15.3h24.5c2.4,0,4.6-.5,6.2-2.2,1.5-1.5,2.4-3.7,2.4-5.9s-.8-3.8-2.1-5.1-3.8-2.3-6.6-2.3h-24.5ZM2568,219v17.4h26.6c2.8,0,5.5-.9,7.3-2.7s2.4-3.8,2.4-6-.9-4.1-2.3-5.6c-1.8-1.9-4.4-3.2-7.4-3.2h-26.6Z"
10466
+ }), /*#__PURE__*/React.createElement("path", {
10467
+ fill: "#231f20",
10468
+ d: "M2673.3,200.3c-3.2-3-10.6-6.9-21.4-6.9s-13.3,2.3-13.3,8.5,8.8,6.7,17.7,7.3c10.6.7,27.2,1.8,27.2,18.2s-11.9,19.8-26,19.8-25.6-6.4-32.2-12.4l6.1-7c4.8,4.3,13.1,10.7,26.3,10.7s15.7-3,15.7-9.7-6.8-8.9-17.1-9.7c-13-.9-27.8-2-27.8-16.2s12.9-18.1,23.7-18.1,22.5,4.9,27.2,8.6l-6.1,7Z"
10469
+ })));
10470
+ }
10329
10471
 
10330
10472
  function IssueModal({
10331
10473
  className = ""
@@ -10347,7 +10489,7 @@ function IssueModal({
10347
10489
  deviceType: "desktop"
10348
10490
  });
10349
10491
  const [captureMode, setCaptureMode] = useState("viewport");
10350
- const [isSubmitting, setIsSubmitting] = useState(false);
10492
+ // const [isSubmitting, setIsSubmitting] = useState(false);
10351
10493
  const [isSubmittingN8n, setIsSubmittingN8n] = useState(false);
10352
10494
  const [errors, setErrors] = useState({});
10353
10495
  const handleInputChange = useCallback((field, value) => {
@@ -10420,7 +10562,7 @@ function IssueModal({
10420
10562
  return;
10421
10563
  }
10422
10564
  try {
10423
- setIsSubmitting(true);
10565
+ // setIsSubmitting(true);
10424
10566
  submitIssue(formData);
10425
10567
  setFormData({
10426
10568
  title: "",
@@ -10434,7 +10576,7 @@ function IssueModal({
10434
10576
  general: "Failed to submit issue. Please try again."
10435
10577
  });
10436
10578
  } finally {
10437
- setIsSubmitting(false);
10579
+ // setIsSubmitting(false);
10438
10580
  }
10439
10581
  }, [formData, state.screenshot, submitIssue]);
10440
10582
  const handleN8nSubmit = useCallback(async () => {
@@ -10489,7 +10631,16 @@ function IssueModal({
10489
10631
  className: "uxbert-modal-header"
10490
10632
  }, /*#__PURE__*/React.createElement("div", {
10491
10633
  className: "uxbert-logo-container"
10492
- }, /*#__PURE__*/React.createElement(Logo, null)), /*#__PURE__*/React.createElement("div", {
10634
+ }, /*#__PURE__*/React.createElement(AminahUXbertLogo, null), /*#__PURE__*/React.createElement("button", {
10635
+ onClick: handleClose,
10636
+ className: "uxbert-modal-close",
10637
+ "aria-label": "Close"
10638
+ }, /*#__PURE__*/React.createElement(X, {
10639
+ className: "w-5 h-5",
10640
+ style: {
10641
+ color: "currentColor"
10642
+ }
10643
+ }))), /*#__PURE__*/React.createElement("div", {
10493
10644
  className: "uxbert-modal-header-content"
10494
10645
  }, /*#__PURE__*/React.createElement("div", {
10495
10646
  className: "uxbert-modal-title-wrapper"
@@ -10502,16 +10653,7 @@ function IssueModal({
10502
10653
  }
10503
10654
  })), /*#__PURE__*/React.createElement("h2", {
10504
10655
  className: "uxbert-modal-title"
10505
- }, "Report Issue")), /*#__PURE__*/React.createElement("button", {
10506
- onClick: handleClose,
10507
- className: "uxbert-modal-close",
10508
- "aria-label": "Close"
10509
- }, /*#__PURE__*/React.createElement(X, {
10510
- className: "w-5 h-5",
10511
- style: {
10512
- color: "currentColor"
10513
- }
10514
- })))), /*#__PURE__*/React.createElement("div", {
10656
+ }, "Report Issue")))), /*#__PURE__*/React.createElement("div", {
10515
10657
  className: "uxbert-modal-body"
10516
10658
  }, !state.screenshot ? (/*#__PURE__*/React.createElement("div", {
10517
10659
  className: "uxbert-capture-section"
@@ -10682,21 +10824,7 @@ function IssueModal({
10682
10824
  value: "mobile"
10683
10825
  }, "Mobile")))), /*#__PURE__*/React.createElement("div", {
10684
10826
  className: "uxbert-button-actions"
10685
- }, /*#__PURE__*/React.createElement("button", {
10686
- type: "submit",
10687
- disabled: isSubmitting,
10688
- className: cn("uxbert-button", "uxbert-button-primary", "uxbert-button-full")
10689
- }, isSubmitting ? (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(LoaderCircle, {
10690
- className: "w-4 h-4 uxbert-spinner",
10691
- style: {
10692
- color: "var(--uxbert-color-background)"
10693
- }
10694
- }), "Downloading...")) : (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Download, {
10695
- className: "w-4 h-4",
10696
- style: {
10697
- color: "var(--uxbert-color-background)"
10698
- }
10699
- }), "Download JSON"))), state.config.integrations?.n8n?.enabled && (/*#__PURE__*/React.createElement("button", {
10827
+ }, state.config.integrations?.n8n?.enabled && (/*#__PURE__*/React.createElement("button", {
10700
10828
  type: "button",
10701
10829
  onClick: handleN8nSubmit,
10702
10830
  disabled: isSubmittingN8n,
@@ -10714,6 +10842,46 @@ function IssueModal({
10714
10842
  }), "Create Ticket")))))))))));
10715
10843
  }
10716
10844
 
10845
+ function AminahLogo({
10846
+ width = "100%",
10847
+ height = "auto",
10848
+ className = ""
10849
+ }) {
10850
+ return /*#__PURE__*/React.createElement("svg", {
10851
+ id: "Layer_1",
10852
+ xmlns: "http://www.w3.org/2000/svg",
10853
+ version: "1.1",
10854
+ viewBox: "0 0 1700 450",
10855
+ width: width,
10856
+ height: height,
10857
+ className: className
10858
+ }, /*#__PURE__*/React.createElement("rect", {
10859
+ fill: "#0b0b0b",
10860
+ x: "-1.7",
10861
+ y: "-.5",
10862
+ width: "1703.2",
10863
+ height: "452.3"
10864
+ }), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
10865
+ fill: "#cfcfce",
10866
+ d: "M225.9,332.3l-18.9-47.7h-106.2l-18.9,47.7h-30.4l86-213.3h32.9l85.7,213.3h-30.4ZM153.9,146.1l-45.1,115.1h90.5l-45.4-115.1Z"
10867
+ }), /*#__PURE__*/React.createElement("path", {
10868
+ fill: "#cfcfce",
10869
+ d: "M549.2,332.3v-179.4l-72.3,179.4h-10.9l-72.6-179.4v179.4h-26.5V119h38.1l66.5,164.4,66.2-164.4h38.1v213.3h-26.5Z"
10870
+ }), /*#__PURE__*/React.createElement("path", {
10871
+ fill: "#cfcfce",
10872
+ d: "M708.5,332.3V119h26.5v213.3h-26.5Z"
10873
+ }), /*#__PURE__*/React.createElement("path", {
10874
+ fill: "#cfcfce",
10875
+ d: "M1018.8,332.3l-124.4-170.2v170.2h-26.5V119h27.2l122.8,166.6V119h26.5v213.3h-25.6Z"
10876
+ }), /*#__PURE__*/React.createElement("path", {
10877
+ fill: "#cfcfce",
10878
+ d: "M1329.3,332.3l-18.9-47.7h-106.2l-18.9,47.7h-30.4l86-213.3h32.9l85.7,213.3h-30.4ZM1257.3,146.1l-45.1,115.1h90.5l-45.4-115.1Z"
10879
+ }), /*#__PURE__*/React.createElement("path", {
10880
+ fill: "#cfcfce",
10881
+ d: "M1621.6,332.3v-97.9h-124.7v97.9h-26.5V119h26.5v91.8h124.7v-91.8h26.5v213.3h-26.5Z"
10882
+ })));
10883
+ }
10884
+
10717
10885
  function AnnotationToolbar({
10718
10886
  className = "",
10719
10887
  onUndo,
@@ -10785,6 +10953,10 @@ function AnnotationToolbar({
10785
10953
  "data-uxbert-reportly": true,
10786
10954
  className: cn("uxbert-toolbar", className)
10787
10955
  }, /*#__PURE__*/React.createElement("div", {
10956
+ style: {
10957
+ marginBottom: "10px"
10958
+ }
10959
+ }, /*#__PURE__*/React.createElement(AminahLogo, null)), /*#__PURE__*/React.createElement("div", {
10788
10960
  className: "uxbert-toolbar-section"
10789
10961
  }, /*#__PURE__*/React.createElement("h4", {
10790
10962
  className: "uxbert-toolbar-heading"