@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.cjs.js CHANGED
@@ -9301,9 +9301,16 @@ var parseBackgroundColor = function (context, element, backgroundColorOverride)
9301
9301
 
9302
9302
  // Screenshot capture using html2canvas
9303
9303
  class Screenshot {
9304
- constructor() {
9304
+ constructor(hooks, captureDelay, quality, format) {
9305
9305
  this.captureDelay = 500; // Default delay before capture
9306
+ this.hooks = {};
9307
+ this.quality = 0.95; // Default quality for JPEG/WebP
9308
+ this.format = "png"; // Default format
9306
9309
  this.currentScreenshot = null;
9310
+ if (hooks) this.hooks = hooks;
9311
+ if (captureDelay !== undefined) this.captureDelay = captureDelay;
9312
+ if (quality !== undefined) this.quality = quality;
9313
+ if (format) this.format = format;
9307
9314
  }
9308
9315
  /**
9309
9316
  * Wait for specified milliseconds
@@ -9368,7 +9375,15 @@ class Screenshot {
9368
9375
  document.body.offsetHeight;
9369
9376
  }
9370
9377
  async capture(mode = "fullpage") {
9378
+ const context = {
9379
+ mode,
9380
+ timestamp: Date.now()
9381
+ };
9371
9382
  try {
9383
+ // Hook: onCaptureStart - notify that capture is starting
9384
+ if (this.hooks.onCaptureStart) {
9385
+ await Promise.resolve(this.hooks.onCaptureStart(context));
9386
+ }
9372
9387
  // Show loading screen immediately (before hiding UI)
9373
9388
  this.showLoadingScreen();
9374
9389
  // Wait for DOM to stabilize, animations to complete, and assets to load
@@ -9378,6 +9393,10 @@ class Screenshot {
9378
9393
  this.hideUXbertElements();
9379
9394
  // Force a reflow to ensure all styles are computed
9380
9395
  this.forceReflow();
9396
+ // Hook: beforeCapture - allow developers to modify DOM before capture
9397
+ if (this.hooks.beforeCapture) {
9398
+ await Promise.resolve(this.hooks.beforeCapture(context));
9399
+ }
9381
9400
  let canvas;
9382
9401
  if (mode === "viewport") {
9383
9402
  // Capture only the current viewport
@@ -9512,13 +9531,40 @@ class Screenshot {
9512
9531
  }
9513
9532
  // Show UXbert UI elements again
9514
9533
  this.showUXbertElements();
9515
- // Convert to base64
9516
- this.currentScreenshot = canvas.toDataURL("image/png");
9534
+ // Add canvas to context for afterCapture hook
9535
+ context.canvas = canvas;
9536
+ // Convert to base64 with configurable format and quality
9537
+ let screenshotData;
9538
+ if (this.format === "png") {
9539
+ screenshotData = canvas.toDataURL("image/png");
9540
+ } else if (this.format === "jpeg") {
9541
+ screenshotData = canvas.toDataURL("image/jpeg", this.quality);
9542
+ } else {
9543
+ screenshotData = canvas.toDataURL("image/webp", this.quality);
9544
+ }
9545
+ context.screenshot = screenshotData;
9546
+ // Hook: afterCapture - allow developers to modify the screenshot or canvas
9547
+ if (this.hooks.afterCapture) {
9548
+ const result = await Promise.resolve(this.hooks.afterCapture(context));
9549
+ // If hook returns a string, use it as the screenshot; otherwise use the original
9550
+ if (typeof result === "string" && result.length > 0) {
9551
+ screenshotData = result;
9552
+ }
9553
+ }
9554
+ this.currentScreenshot = screenshotData;
9555
+ // Hook: onCaptureComplete - notify that capture completed successfully
9556
+ if (this.hooks.onCaptureComplete) {
9557
+ await Promise.resolve(this.hooks.onCaptureComplete(context));
9558
+ }
9517
9559
  return this.currentScreenshot;
9518
9560
  } catch (error) {
9519
9561
  console.error("Screenshot capture failed:", error);
9520
9562
  this.hideLoadingScreen();
9521
9563
  this.showUXbertElements();
9564
+ // Hook: onCaptureError - notify about the error
9565
+ if (this.hooks.onCaptureError) {
9566
+ await Promise.resolve(this.hooks.onCaptureError(error, context));
9567
+ }
9522
9568
  throw error;
9523
9569
  }
9524
9570
  }
@@ -9615,6 +9661,38 @@ class Screenshot {
9615
9661
  getCaptureDelay() {
9616
9662
  return this.captureDelay;
9617
9663
  }
9664
+ /**
9665
+ * Update screenshot hooks dynamically
9666
+ * @param hooks - New hooks configuration
9667
+ */
9668
+ setHooks(hooks) {
9669
+ this.hooks = {
9670
+ ...this.hooks,
9671
+ ...hooks
9672
+ };
9673
+ }
9674
+ /**
9675
+ * Get current hooks configuration
9676
+ */
9677
+ getHooks() {
9678
+ return {
9679
+ ...this.hooks
9680
+ };
9681
+ }
9682
+ /**
9683
+ * Set screenshot format
9684
+ * @param format - Image format (png, jpeg, webp)
9685
+ */
9686
+ setFormat(format) {
9687
+ this.format = format;
9688
+ }
9689
+ /**
9690
+ * Set screenshot quality (for JPEG/WebP)
9691
+ * @param quality - Quality between 0 and 1
9692
+ */
9693
+ setQuality(quality) {
9694
+ this.quality = Math.max(0, Math.min(quality, 1));
9695
+ }
9618
9696
  getScreenshot() {
9619
9697
  return this.currentScreenshot;
9620
9698
  }
@@ -9738,7 +9816,7 @@ function ReportlyProvider({
9738
9816
  // Initialize services with useMemo to ensure they're only created once and support SSR
9739
9817
  const deviceInfo = React.useMemo(() => new DeviceInfo(), []);
9740
9818
  const exportService = React.useMemo(() => new Export(config.integrations?.n8n), [config.integrations?.n8n]);
9741
- const screenshot = React.useMemo(() => new Screenshot(), []);
9819
+ const screenshot = React.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]);
9742
9820
  const openModal = React.useCallback(() => {
9743
9821
  dispatch({
9744
9822
  type: "OPEN_MODAL"
@@ -9923,6 +10001,70 @@ function useReportly() {
9923
10001
  return context;
9924
10002
  }
9925
10003
 
10004
+ 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}
10005
+
10006
+ /**
10007
+ * Combines class names without Tailwind merging
10008
+ * Use this for scoped CSS classes (uxbert-*)
10009
+ */
10010
+ function cn(...inputs) {
10011
+ return clsx(inputs);
10012
+ }
10013
+
10014
+ function Butterfly({
10015
+ width = "100%",
10016
+ height = "auto",
10017
+ className = "",
10018
+ style = {}
10019
+ }) {
10020
+ return /*#__PURE__*/React.createElement("svg", {
10021
+ id: "Layer_1",
10022
+ xmlns: "http://www.w3.org/2000/svg",
10023
+ version: "1.1",
10024
+ viewBox: "0 0 500 450",
10025
+ width: width,
10026
+ height: height,
10027
+ className: className,
10028
+ style: style
10029
+ }, /*#__PURE__*/React.createElement("path", {
10030
+ fill: "currentColor",
10031
+ 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"
10032
+ }));
10033
+ }
10034
+
10035
+ function FloatingButton({
10036
+ className = ""
10037
+ }) {
10038
+ const {
10039
+ state,
10040
+ startAnnotation
10041
+ } = useReportly();
10042
+ const {
10043
+ config
10044
+ } = state;
10045
+ if (state.isAnnotating) {
10046
+ return null;
10047
+ }
10048
+ const positionClasses = {
10049
+ "bottom-right": "position-bottom-right",
10050
+ "bottom-left": "position-bottom-left",
10051
+ "top-right": "position-top-right",
10052
+ "top-left": "position-top-left"
10053
+ };
10054
+ return /*#__PURE__*/React.createElement("button", {
10055
+ "data-uxbert-reportly": true,
10056
+ className: cn("uxbert-floating-button", positionClasses[config.ui.position], className),
10057
+ onClick: startAnnotation,
10058
+ title: "Report an issue",
10059
+ "aria-label": "Report an issue"
10060
+ }, /*#__PURE__*/React.createElement(Butterfly, {
10061
+ style: {
10062
+ color: "currentColor",
10063
+ width: "40px"
10064
+ }
10065
+ }));
10066
+ }
10067
+
9926
10068
  /**
9927
10069
  * @license lucide-react v0.545.0 - ISC
9928
10070
  *
@@ -10040,34 +10182,11 @@ const createLucideIcon = (iconName, iconNode) => {
10040
10182
  */
10041
10183
 
10042
10184
 
10043
- const __iconNode$e = [
10185
+ const __iconNode$c = [
10044
10186
  ["path", { d: "M7 7h10v10", key: "1tivn9" }],
10045
10187
  ["path", { d: "M7 17 17 7", key: "1vkiza" }]
10046
10188
  ];
10047
- const ArrowUpRight = createLucideIcon("arrow-up-right", __iconNode$e);
10048
-
10049
- /**
10050
- * @license lucide-react v0.545.0 - ISC
10051
- *
10052
- * This source code is licensed under the ISC license.
10053
- * See the LICENSE file in the root directory of this source tree.
10054
- */
10055
-
10056
-
10057
- const __iconNode$d = [
10058
- ["path", { d: "M12 20v-9", key: "1qisl0" }],
10059
- ["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" }],
10060
- ["path", { d: "M14.12 3.88 16 2", key: "qol33r" }],
10061
- ["path", { d: "M21 21a4 4 0 0 0-3.81-4", key: "1b0z45" }],
10062
- ["path", { d: "M21 5a4 4 0 0 1-3.55 3.97", key: "5cxbf6" }],
10063
- ["path", { d: "M22 13h-4", key: "1jl80f" }],
10064
- ["path", { d: "M3 21a4 4 0 0 1 3.81-4", key: "1fjd4g" }],
10065
- ["path", { d: "M3 5a4 4 0 0 0 3.55 3.97", key: "1d7oge" }],
10066
- ["path", { d: "M6 13H2", key: "82j7cp" }],
10067
- ["path", { d: "m8 2 1.88 1.88", key: "fmnt4t" }],
10068
- ["path", { d: "M9 7.13V6a3 3 0 1 1 6 0v1.13", key: "1vgav8" }]
10069
- ];
10070
- const Bug = createLucideIcon("bug", __iconNode$d);
10189
+ const ArrowUpRight = createLucideIcon("arrow-up-right", __iconNode$c);
10071
10190
 
10072
10191
  /**
10073
10192
  * @license lucide-react v0.545.0 - ISC
@@ -10077,7 +10196,7 @@ const Bug = createLucideIcon("bug", __iconNode$d);
10077
10196
  */
10078
10197
 
10079
10198
 
10080
- const __iconNode$c = [
10199
+ const __iconNode$b = [
10081
10200
  [
10082
10201
  "path",
10083
10202
  {
@@ -10087,18 +10206,7 @@ const __iconNode$c = [
10087
10206
  ],
10088
10207
  ["circle", { cx: "12", cy: "13", r: "3", key: "1vg3eu" }]
10089
10208
  ];
10090
- const Camera = createLucideIcon("camera", __iconNode$c);
10091
-
10092
- /**
10093
- * @license lucide-react v0.545.0 - ISC
10094
- *
10095
- * This source code is licensed under the ISC license.
10096
- * See the LICENSE file in the root directory of this source tree.
10097
- */
10098
-
10099
-
10100
- const __iconNode$b = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
10101
- const Check = createLucideIcon("check", __iconNode$b);
10209
+ const Camera = createLucideIcon("camera", __iconNode$b);
10102
10210
 
10103
10211
  /**
10104
10212
  * @license lucide-react v0.545.0 - ISC
@@ -10108,12 +10216,8 @@ const Check = createLucideIcon("check", __iconNode$b);
10108
10216
  */
10109
10217
 
10110
10218
 
10111
- const __iconNode$a = [
10112
- ["path", { d: "M12 15V3", key: "m9g1x1" }],
10113
- ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
10114
- ["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
10115
- ];
10116
- const Download = createLucideIcon("download", __iconNode$a);
10219
+ const __iconNode$a = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
10220
+ const Check = createLucideIcon("check", __iconNode$a);
10117
10221
 
10118
10222
  /**
10119
10223
  * @license lucide-react v0.545.0 - ISC
@@ -10272,64 +10376,102 @@ const __iconNode = [
10272
10376
  ];
10273
10377
  const X = createLucideIcon("x", __iconNode);
10274
10378
 
10275
- 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}
10276
-
10277
- /**
10278
- * Combines class names without Tailwind merging
10279
- * Use this for scoped CSS classes (uxbert-*)
10280
- */
10281
- function cn(...inputs) {
10282
- return clsx(inputs);
10283
- }
10284
-
10285
- function FloatingButton({
10379
+ function AminahUXbertLogo({
10380
+ width = "100%",
10381
+ height = "auto",
10286
10382
  className = ""
10287
10383
  }) {
10288
- const {
10289
- state,
10290
- startAnnotation
10291
- } = useReportly();
10292
- const {
10293
- config
10294
- } = state;
10295
- if (state.isAnnotating) {
10296
- return null;
10297
- }
10298
- const positionClasses = {
10299
- "bottom-right": "position-bottom-right",
10300
- "bottom-left": "position-bottom-left",
10301
- "top-right": "position-top-right",
10302
- "top-left": "position-top-left"
10303
- };
10304
- return /*#__PURE__*/React.createElement("button", {
10305
- "data-uxbert-reportly": true,
10306
- className: cn("uxbert-floating-button", positionClasses[config.ui.position], className),
10307
- onClick: startAnnotation,
10308
- title: "Report an issue",
10309
- "aria-label": "Report an issue"
10310
- }, /*#__PURE__*/React.createElement(Bug, {
10311
- className: "w-6 h-6",
10312
- style: {
10313
- color: "currentColor"
10314
- }
10315
- }));
10316
- }
10317
-
10318
- const Logo = () => {
10319
10384
  return /*#__PURE__*/React.createElement("svg", {
10385
+ id: "logo",
10320
10386
  xmlns: "http://www.w3.org/2000/svg",
10321
- width: "159",
10322
- height: "23",
10323
- fill: "currentColor",
10324
- viewBox: "0 0 159 23",
10325
- style: {
10326
- color: "currentColor"
10327
- }
10328
- }, /*#__PURE__*/React.createElement("path", {
10329
- fill: "currentColor",
10330
- 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"
10331
- }));
10332
- };
10387
+ version: "1.1",
10388
+ viewBox: "0 0 2700 450",
10389
+ width: width,
10390
+ height: height,
10391
+ className: className
10392
+ }, /*#__PURE__*/React.createElement("rect", {
10393
+ fill: "#0b0b0b",
10394
+ x: "12.8",
10395
+ y: "38",
10396
+ width: "1370.6",
10397
+ height: "363.9"
10398
+ }), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
10399
+ fill: "#cfcfce",
10400
+ 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"
10401
+ }), /*#__PURE__*/React.createElement("path", {
10402
+ fill: "#cfcfce",
10403
+ 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"
10404
+ }), /*#__PURE__*/React.createElement("path", {
10405
+ fill: "#cfcfce",
10406
+ d: "M584.3,310.2v-171.7h21.4v171.7h-21.4Z"
10407
+ }), /*#__PURE__*/React.createElement("path", {
10408
+ fill: "#cfcfce",
10409
+ d: "M834,310.2l-100.1-136.9v136.9h-21.4v-171.7h21.9l98.8,134.1v-134.1h21.4v171.7h-20.6Z"
10410
+ }), /*#__PURE__*/React.createElement("path", {
10411
+ fill: "#cfcfce",
10412
+ 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"
10413
+ }), /*#__PURE__*/React.createElement("path", {
10414
+ fill: "#cfcfce",
10415
+ d: "M1319.1,310.2v-78.8h-100.4v78.8h-21.4v-171.7h21.4v73.9h100.4v-73.9h21.4v171.7h-21.4Z"
10416
+ })), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
10417
+ fill: "#231f20",
10418
+ 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"
10419
+ }), /*#__PURE__*/React.createElement("path", {
10420
+ fill: "#231f20",
10421
+ 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"
10422
+ }), /*#__PURE__*/React.createElement("path", {
10423
+ fill: "#231f20",
10424
+ 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"
10425
+ }), /*#__PURE__*/React.createElement("path", {
10426
+ fill: "#231f20",
10427
+ 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"
10428
+ }), /*#__PURE__*/React.createElement("path", {
10429
+ fill: "#231f20",
10430
+ 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"
10431
+ }), /*#__PURE__*/React.createElement("path", {
10432
+ fill: "#231f20",
10433
+ 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"
10434
+ }), /*#__PURE__*/React.createElement("path", {
10435
+ fill: "#231f20",
10436
+ 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"
10437
+ }), /*#__PURE__*/React.createElement("path", {
10438
+ fill: "#231f20",
10439
+ 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"
10440
+ }), /*#__PURE__*/React.createElement("path", {
10441
+ fill: "#231f20",
10442
+ 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"
10443
+ }), /*#__PURE__*/React.createElement("path", {
10444
+ fill: "#231f20",
10445
+ 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"
10446
+ }), /*#__PURE__*/React.createElement("path", {
10447
+ fill: "#231f20",
10448
+ 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"
10449
+ }), /*#__PURE__*/React.createElement("path", {
10450
+ fill: "#231f20",
10451
+ 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"
10452
+ }), /*#__PURE__*/React.createElement("path", {
10453
+ fill: "#231f20",
10454
+ d: "M2267,219.1h-22.7v17.2h39.9v9h-50v-59h47.8v9h-37.7v14.6h22.7v9Z"
10455
+ }), /*#__PURE__*/React.createElement("path", {
10456
+ fill: "#231f20",
10457
+ 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"
10458
+ }), /*#__PURE__*/React.createElement("path", {
10459
+ fill: "#231f20",
10460
+ d: "M2361.8,186.5h56.4v9h-23.1v49.9h-10.1v-49.9h-23.2v-9Z"
10461
+ }), /*#__PURE__*/React.createElement("path", {
10462
+ fill: "#231f20",
10463
+ d: "M2441.3,186.5v49.9h36.2v9h-46.3v-59h10.1Z"
10464
+ }), /*#__PURE__*/React.createElement("path", {
10465
+ fill: "#231f20",
10466
+ 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"
10467
+ }), /*#__PURE__*/React.createElement("path", {
10468
+ fill: "#231f20",
10469
+ 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"
10470
+ }), /*#__PURE__*/React.createElement("path", {
10471
+ fill: "#231f20",
10472
+ 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"
10473
+ })));
10474
+ }
10333
10475
 
10334
10476
  function IssueModal({
10335
10477
  className = ""
@@ -10351,7 +10493,7 @@ function IssueModal({
10351
10493
  deviceType: "desktop"
10352
10494
  });
10353
10495
  const [captureMode, setCaptureMode] = React.useState("viewport");
10354
- const [isSubmitting, setIsSubmitting] = React.useState(false);
10496
+ // const [isSubmitting, setIsSubmitting] = useState(false);
10355
10497
  const [isSubmittingN8n, setIsSubmittingN8n] = React.useState(false);
10356
10498
  const [errors, setErrors] = React.useState({});
10357
10499
  const handleInputChange = React.useCallback((field, value) => {
@@ -10424,7 +10566,7 @@ function IssueModal({
10424
10566
  return;
10425
10567
  }
10426
10568
  try {
10427
- setIsSubmitting(true);
10569
+ // setIsSubmitting(true);
10428
10570
  submitIssue(formData);
10429
10571
  setFormData({
10430
10572
  title: "",
@@ -10438,7 +10580,7 @@ function IssueModal({
10438
10580
  general: "Failed to submit issue. Please try again."
10439
10581
  });
10440
10582
  } finally {
10441
- setIsSubmitting(false);
10583
+ // setIsSubmitting(false);
10442
10584
  }
10443
10585
  }, [formData, state.screenshot, submitIssue]);
10444
10586
  const handleN8nSubmit = React.useCallback(async () => {
@@ -10493,7 +10635,16 @@ function IssueModal({
10493
10635
  className: "uxbert-modal-header"
10494
10636
  }, /*#__PURE__*/React.createElement("div", {
10495
10637
  className: "uxbert-logo-container"
10496
- }, /*#__PURE__*/React.createElement(Logo, null)), /*#__PURE__*/React.createElement("div", {
10638
+ }, /*#__PURE__*/React.createElement(AminahUXbertLogo, null), /*#__PURE__*/React.createElement("button", {
10639
+ onClick: handleClose,
10640
+ className: "uxbert-modal-close",
10641
+ "aria-label": "Close"
10642
+ }, /*#__PURE__*/React.createElement(X, {
10643
+ className: "w-5 h-5",
10644
+ style: {
10645
+ color: "currentColor"
10646
+ }
10647
+ }))), /*#__PURE__*/React.createElement("div", {
10497
10648
  className: "uxbert-modal-header-content"
10498
10649
  }, /*#__PURE__*/React.createElement("div", {
10499
10650
  className: "uxbert-modal-title-wrapper"
@@ -10506,16 +10657,7 @@ function IssueModal({
10506
10657
  }
10507
10658
  })), /*#__PURE__*/React.createElement("h2", {
10508
10659
  className: "uxbert-modal-title"
10509
- }, "Report Issue")), /*#__PURE__*/React.createElement("button", {
10510
- onClick: handleClose,
10511
- className: "uxbert-modal-close",
10512
- "aria-label": "Close"
10513
- }, /*#__PURE__*/React.createElement(X, {
10514
- className: "w-5 h-5",
10515
- style: {
10516
- color: "currentColor"
10517
- }
10518
- })))), /*#__PURE__*/React.createElement("div", {
10660
+ }, "Report Issue")))), /*#__PURE__*/React.createElement("div", {
10519
10661
  className: "uxbert-modal-body"
10520
10662
  }, !state.screenshot ? (/*#__PURE__*/React.createElement("div", {
10521
10663
  className: "uxbert-capture-section"
@@ -10686,21 +10828,7 @@ function IssueModal({
10686
10828
  value: "mobile"
10687
10829
  }, "Mobile")))), /*#__PURE__*/React.createElement("div", {
10688
10830
  className: "uxbert-button-actions"
10689
- }, /*#__PURE__*/React.createElement("button", {
10690
- type: "submit",
10691
- disabled: isSubmitting,
10692
- className: cn("uxbert-button", "uxbert-button-primary", "uxbert-button-full")
10693
- }, isSubmitting ? (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(LoaderCircle, {
10694
- className: "w-4 h-4 uxbert-spinner",
10695
- style: {
10696
- color: "var(--uxbert-color-background)"
10697
- }
10698
- }), "Downloading...")) : (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Download, {
10699
- className: "w-4 h-4",
10700
- style: {
10701
- color: "var(--uxbert-color-background)"
10702
- }
10703
- }), "Download JSON"))), state.config.integrations?.n8n?.enabled && (/*#__PURE__*/React.createElement("button", {
10831
+ }, state.config.integrations?.n8n?.enabled && (/*#__PURE__*/React.createElement("button", {
10704
10832
  type: "button",
10705
10833
  onClick: handleN8nSubmit,
10706
10834
  disabled: isSubmittingN8n,
@@ -10718,6 +10846,46 @@ function IssueModal({
10718
10846
  }), "Create Ticket")))))))))));
10719
10847
  }
10720
10848
 
10849
+ function AminahLogo({
10850
+ width = "100%",
10851
+ height = "auto",
10852
+ className = ""
10853
+ }) {
10854
+ return /*#__PURE__*/React.createElement("svg", {
10855
+ id: "Layer_1",
10856
+ xmlns: "http://www.w3.org/2000/svg",
10857
+ version: "1.1",
10858
+ viewBox: "0 0 1700 450",
10859
+ width: width,
10860
+ height: height,
10861
+ className: className
10862
+ }, /*#__PURE__*/React.createElement("rect", {
10863
+ fill: "#0b0b0b",
10864
+ x: "-1.7",
10865
+ y: "-.5",
10866
+ width: "1703.2",
10867
+ height: "452.3"
10868
+ }), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
10869
+ fill: "#cfcfce",
10870
+ 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"
10871
+ }), /*#__PURE__*/React.createElement("path", {
10872
+ fill: "#cfcfce",
10873
+ 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"
10874
+ }), /*#__PURE__*/React.createElement("path", {
10875
+ fill: "#cfcfce",
10876
+ d: "M708.5,332.3V119h26.5v213.3h-26.5Z"
10877
+ }), /*#__PURE__*/React.createElement("path", {
10878
+ fill: "#cfcfce",
10879
+ d: "M1018.8,332.3l-124.4-170.2v170.2h-26.5V119h27.2l122.8,166.6V119h26.5v213.3h-25.6Z"
10880
+ }), /*#__PURE__*/React.createElement("path", {
10881
+ fill: "#cfcfce",
10882
+ 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"
10883
+ }), /*#__PURE__*/React.createElement("path", {
10884
+ fill: "#cfcfce",
10885
+ d: "M1621.6,332.3v-97.9h-124.7v97.9h-26.5V119h26.5v91.8h124.7v-91.8h26.5v213.3h-26.5Z"
10886
+ })));
10887
+ }
10888
+
10721
10889
  function AnnotationToolbar({
10722
10890
  className = "",
10723
10891
  onUndo,
@@ -10789,6 +10957,10 @@ function AnnotationToolbar({
10789
10957
  "data-uxbert-reportly": true,
10790
10958
  className: cn("uxbert-toolbar", className)
10791
10959
  }, /*#__PURE__*/React.createElement("div", {
10960
+ style: {
10961
+ marginBottom: "10px"
10962
+ }
10963
+ }, /*#__PURE__*/React.createElement(AminahLogo, null)), /*#__PURE__*/React.createElement("div", {
10792
10964
  className: "uxbert-toolbar-section"
10793
10965
  }, /*#__PURE__*/React.createElement("h4", {
10794
10966
  className: "uxbert-toolbar-heading"