ALT Linux Girar Builder robot reports
 help / color / mirror / Atom feed
From: "Girar awaiter (zerg)" <girar-builder@altlinux.org>
To: "Sergey V. Turchin" <zerg@altlinux.org>
Cc: sisyphus-incominger@lists.altlinux.org,
	girar-builder-p11@altlinux.org,
	girar-builder-p11@lists.altlinux.org
Subject: [#355692] [test-only] p11 FAILED qt6-base.git=6.7.2-alt1 qt6-shadertools.git=6.7.2-alt1 ...
Date: Wed, 21 Aug 2024 18:00:00 +0000
Message-ID: <girar.task.355692.1.1@gyle.mskdc.altlinux.org> (raw)

https://git.altlinux.org/tasks/355692/logs/events.1.1.log

subtask  name                 aarch64   i586   x86_64
   #100  qt6-base               29:08  18:18    17:31
   #200  qt6-shadertools         2:31   1:38     1:34
   #300  qt6-declarative        40:05  27:17    26:40
   #400  qt6-tools              10:21   6:35     6:23
   #500  qt6-translations        1:12     48       45
   #600  qt6-svg                 2:18   1:35     1:29
   #700  qt6-multimedia          8:59   5:48     5:15
  #1000  qt6-5compat             3:34   2:24     2:10
  #1100  qt6-websockets          2:20   1:31     1:27
  #1200  qt6-webchannel          2:13   1:31     1:25
  #1300  qt6-wayland            10:17   6:14     5:37
  #1400  qt6-imageformats        1:29   1:02       58
  #1500  qt6-serialport          1:58   1:21     1:15
  #1600  qt6-sensors             3:43   2:23     2:07
  #1700  qt6-connectivity        7:07   4:19     3:45
  #2000  qt6-positioning         3:26   2:09     2:03
  #2100  qt6-doc                 2:46   1:52     1:46
  #2200  qt6-remoteobjects       3:08   2:01     1:53
  #2300  qt6-datavis3d           5:33   3:05     2:53
  #2400  qt6-serialbus           2:48   1:48     1:43
  #2500  qt6-webengine         failed      -  1:00:53
  #2600  qt6-webview                ?      -     1:36
  #2700  qt6-virtualkeyboard        ?   2:46     2:34
  #3000  qt6-scxml                  ?   2:54     2:40
  #3100  qt6-quicktimeline          ?   1:19     1:17
  #3200  qt6-charts                 ?   5:08     4:44
  #3300  qt6-networkauth            ?   1:17     1:14
  #3400  qt6-3d                     ?  10:30     9:53
  #3500  qt6-speech                 ?   1:56     1:47
  #3600  qt6-quick3d                ?  11:39    10:54

2024-Aug-21 13:46:02 :: test-only task #355692 for p11 started by zerg:
#100 build 6.7.2-alt1 from /people/zerg/packages/qt6-base.git fetched at 2024-Aug-21 13:06:18
#200 build 6.7.2-alt1 from /people/zerg/packages/qt6-shadertools.git fetched at 2024-Aug-21 13:06:19
#300 build 6.7.2-alt1 from /people/zerg/packages/qt6-declarative.git fetched at 2024-Aug-21 13:06:25
#400 build 6.7.2-alt1 from /people/zerg/packages/qt6-tools.git fetched at 2024-Aug-21 13:06:27
#500 build 6.7.2-alt1 from /people/zerg/packages/qt6-translations.git fetched at 2024-Aug-21 13:06:29
#600 build 6.7.2-alt1 from /people/zerg/packages/qt6-svg.git fetched at 2024-Aug-21 13:06:30
#700 build 6.7.2-alt1 from /people/zerg/packages/qt6-multimedia.git fetched at 2024-Aug-21 13:06:32
#1000 build 6.7.2-alt1 from /people/zerg/packages/qt6-5compat.git fetched at 2024-Aug-21 13:06:34
#1100 build 6.7.2-alt1 from /people/zerg/packages/qt6-websockets.git fetched at 2024-Aug-21 13:06:35
#1200 build 6.7.2-alt1 from /people/zerg/packages/qt6-webchannel.git fetched at 2024-Aug-21 13:06:36
#1300 build 6.7.2-alt1 from /people/zerg/packages/qt6-wayland.git fetched at 2024-Aug-21 13:06:38
#1400 build 6.7.2-alt1 from /people/zerg/packages/qt6-imageformats.git fetched at 2024-Aug-21 13:06:39
#1500 build 6.7.2-alt1 from /people/zerg/packages/qt6-serialport.git fetched at 2024-Aug-21 13:06:40
#1600 build 6.7.2-alt1 from /people/zerg/packages/qt6-sensors.git fetched at 2024-Aug-21 13:06:42
#1700 build 6.7.2-alt1 from /people/zerg/packages/qt6-connectivity.git fetched at 2024-Aug-21 13:06:43
#2000 build 6.7.2-alt1 from /people/zerg/packages/qt6-positioning.git fetched at 2024-Aug-21 13:06:45
#2100 build 6.7.2-alt1 from /people/zerg/packages/qt6-doc.git fetched at 2024-Aug-21 13:06:47
#2200 build 6.7.2-alt1 from /people/zerg/packages/qt6-remoteobjects.git fetched at 2024-Aug-21 13:06:49
#2300 build 6.7.2-alt1 from /people/zerg/packages/qt6-datavis3d.git fetched at 2024-Aug-21 13:06:50
#2400 build 6.7.2-alt1 from /people/zerg/packages/qt6-serialbus.git fetched at 2024-Aug-21 13:06:52
#2500 build 6.7.2-alt1 from /people/zerg/packages/qt6-webengine.git fetched at 2024-Aug-21 13:08:16
#2600 build 6.7.2-alt1 from /people/zerg/packages/qt6-webview.git fetched at 2024-Aug-21 13:08:23
#2700 build 6.7.2-alt1 from /people/zerg/packages/qt6-virtualkeyboard.git fetched at 2024-Aug-21 13:08:25
#3000 build 6.7.2-alt1 from /people/zerg/packages/qt6-scxml.git fetched at 2024-Aug-21 13:08:27
#3100 build 6.7.2-alt1 from /people/zerg/packages/qt6-quicktimeline.git fetched at 2024-Aug-21 13:08:29
#3200 build 6.7.2-alt1 from /people/zerg/packages/qt6-charts.git fetched at 2024-Aug-21 13:08:30
#3300 build 6.7.2-alt1 from /people/zerg/packages/qt6-networkauth.git fetched at 2024-Aug-21 13:08:32
#3400 build 6.7.2-alt1 from /people/zerg/packages/qt6-3d.git fetched at 2024-Aug-21 13:08:38
#3500 build 6.7.2-alt1 from /people/zerg/packages/qt6-speech.git fetched at 2024-Aug-21 13:08:40
#3600 build 6.7.2-alt1 from /people/zerg/packages/qt6-quick3d.git fetched at 2024-Aug-21 13:08:45
2024-Aug-21 13:46:03 :: created build repo
2024-Aug-21 13:46:05 :: [i586] #100 qt6-base.git 6.7.2-alt1: build start
2024-Aug-21 13:46:05 :: [aarch64] #100 qt6-base.git 6.7.2-alt1: build start
2024-Aug-21 13:46:05 :: [x86_64] #100 qt6-base.git 6.7.2-alt1: build start
2024-Aug-21 14:03:36 :: [x86_64] #100 qt6-base.git 6.7.2-alt1: build OK
2024-Aug-21 14:03:36 :: [x86_64] #200 qt6-shadertools.git 6.7.2-alt1: build start
2024-Aug-21 14:04:23 :: [i586] #100 qt6-base.git 6.7.2-alt1: build OK
2024-Aug-21 14:04:24 :: [i586] #200 qt6-shadertools.git 6.7.2-alt1: build start
2024-Aug-21 14:05:10 :: [x86_64] #200 qt6-shadertools.git 6.7.2-alt1: build OK
2024-Aug-21 14:05:10 :: [x86_64] #300 qt6-declarative.git 6.7.2-alt1: build start
2024-Aug-21 14:06:02 :: [i586] #200 qt6-shadertools.git 6.7.2-alt1: build OK
2024-Aug-21 14:06:02 :: [i586] #300 qt6-declarative.git 6.7.2-alt1: build start
2024-Aug-21 14:15:13 :: [aarch64] #100 qt6-base.git 6.7.2-alt1: build OK
2024-Aug-21 14:15:13 :: [aarch64] #200 qt6-shadertools.git 6.7.2-alt1: build start
2024-Aug-21 14:17:44 :: [aarch64] #200 qt6-shadertools.git 6.7.2-alt1: build OK
2024-Aug-21 14:17:45 :: [aarch64] #300 qt6-declarative.git 6.7.2-alt1: build start
2024-Aug-21 14:31:50 :: [x86_64] #300 qt6-declarative.git 6.7.2-alt1: build OK
2024-Aug-21 14:31:51 :: [x86_64] #400 qt6-tools.git 6.7.2-alt1: build start
2024-Aug-21 14:33:19 :: [i586] #300 qt6-declarative.git 6.7.2-alt1: build OK
2024-Aug-21 14:33:20 :: [i586] #400 qt6-tools.git 6.7.2-alt1: build start
2024-Aug-21 14:38:14 :: [x86_64] #400 qt6-tools.git 6.7.2-alt1: build OK
2024-Aug-21 14:38:14 :: [x86_64] #500 qt6-translations.git 6.7.2-alt1: build start
2024-Aug-21 14:38:59 :: [x86_64] #500 qt6-translations.git 6.7.2-alt1: build OK
2024-Aug-21 14:38:59 :: [x86_64] #600 qt6-svg.git 6.7.2-alt1: build start
2024-Aug-21 14:39:55 :: [i586] #400 qt6-tools.git 6.7.2-alt1: build OK
2024-Aug-21 14:39:56 :: [i586] #500 qt6-translations.git 6.7.2-alt1: build start
2024-Aug-21 14:40:28 :: [x86_64] #600 qt6-svg.git 6.7.2-alt1: build OK
2024-Aug-21 14:40:29 :: [x86_64] #700 qt6-multimedia.git 6.7.2-alt1: build start
2024-Aug-21 14:40:44 :: [i586] #500 qt6-translations.git 6.7.2-alt1: build OK
2024-Aug-21 14:40:45 :: [i586] #600 qt6-svg.git 6.7.2-alt1: build start
2024-Aug-21 14:42:20 :: [i586] #600 qt6-svg.git 6.7.2-alt1: build OK
2024-Aug-21 14:42:21 :: [i586] #700 qt6-multimedia.git 6.7.2-alt1: build start
2024-Aug-21 14:45:44 :: [x86_64] #700 qt6-multimedia.git 6.7.2-alt1: build OK
2024-Aug-21 14:45:44 :: [x86_64] #1000 qt6-5compat.git 6.7.2-alt1: build start
2024-Aug-21 14:47:54 :: [x86_64] #1000 qt6-5compat.git 6.7.2-alt1: build OK
2024-Aug-21 14:47:54 :: [x86_64] #1100 qt6-websockets.git 6.7.2-alt1: build start
2024-Aug-21 14:48:09 :: [i586] #700 qt6-multimedia.git 6.7.2-alt1: build OK
2024-Aug-21 14:48:10 :: [i586] #1000 qt6-5compat.git 6.7.2-alt1: build start
2024-Aug-21 14:49:21 :: [x86_64] #1100 qt6-websockets.git 6.7.2-alt1: build OK
2024-Aug-21 14:49:22 :: [x86_64] #1200 qt6-webchannel.git 6.7.2-alt1: build start
2024-Aug-21 14:50:34 :: [i586] #1000 qt6-5compat.git 6.7.2-alt1: build OK
2024-Aug-21 14:50:35 :: [i586] #1100 qt6-websockets.git 6.7.2-alt1: build start
2024-Aug-21 14:50:47 :: [x86_64] #1200 qt6-webchannel.git 6.7.2-alt1: build OK
2024-Aug-21 14:50:48 :: [x86_64] #1300 qt6-wayland.git 6.7.2-alt1: build start
2024-Aug-21 14:52:06 :: [i586] #1100 qt6-websockets.git 6.7.2-alt1: build OK
2024-Aug-21 14:52:06 :: [i586] #1200 qt6-webchannel.git 6.7.2-alt1: build start
2024-Aug-21 14:53:37 :: [i586] #1200 qt6-webchannel.git 6.7.2-alt1: build OK
2024-Aug-21 14:53:38 :: [i586] #1300 qt6-wayland.git 6.7.2-alt1: build start
2024-Aug-21 14:56:25 :: [x86_64] #1300 qt6-wayland.git 6.7.2-alt1: build OK
2024-Aug-21 14:56:26 :: [x86_64] #1400 qt6-imageformats.git 6.7.2-alt1: build start
2024-Aug-21 14:57:24 :: [x86_64] #1400 qt6-imageformats.git 6.7.2-alt1: build OK
2024-Aug-21 14:57:25 :: [x86_64] #1500 qt6-serialport.git 6.7.2-alt1: build start
2024-Aug-21 14:57:50 :: [aarch64] #300 qt6-declarative.git 6.7.2-alt1: build OK
2024-Aug-21 14:57:50 :: [aarch64] #400 qt6-tools.git 6.7.2-alt1: build start
2024-Aug-21 14:58:40 :: [x86_64] #1500 qt6-serialport.git 6.7.2-alt1: build OK
2024-Aug-21 14:58:42 :: [x86_64] #1600 qt6-sensors.git 6.7.2-alt1: build start
2024-Aug-21 14:59:52 :: [i586] #1300 qt6-wayland.git 6.7.2-alt1: build OK
2024-Aug-21 14:59:52 :: [i586] #1400 qt6-imageformats.git 6.7.2-alt1: build start
2024-Aug-21 15:00:49 :: [x86_64] #1600 qt6-sensors.git 6.7.2-alt1: build OK
2024-Aug-21 15:00:49 :: [x86_64] #1700 qt6-connectivity.git 6.7.2-alt1: build start
2024-Aug-21 15:00:54 :: [i586] #1400 qt6-imageformats.git 6.7.2-alt1: build OK
2024-Aug-21 15:00:55 :: [i586] #1500 qt6-serialport.git 6.7.2-alt1: build start
2024-Aug-21 15:02:16 :: [i586] #1500 qt6-serialport.git 6.7.2-alt1: build OK
2024-Aug-21 15:02:16 :: [i586] #1600 qt6-sensors.git 6.7.2-alt1: build start
2024-Aug-21 15:04:34 :: [x86_64] #1700 qt6-connectivity.git 6.7.2-alt1: build OK
2024-Aug-21 15:04:35 :: [x86_64] #2000 qt6-positioning.git 6.7.2-alt1: build start
2024-Aug-21 15:04:39 :: [i586] #1600 qt6-sensors.git 6.7.2-alt1: build OK
2024-Aug-21 15:04:39 :: [i586] #1700 qt6-connectivity.git 6.7.2-alt1: build start
2024-Aug-21 15:06:38 :: [x86_64] #2000 qt6-positioning.git 6.7.2-alt1: build OK
2024-Aug-21 15:06:38 :: [x86_64] #2100 qt6-doc.git 6.7.2-alt1: build start
2024-Aug-21 15:08:11 :: [aarch64] #400 qt6-tools.git 6.7.2-alt1: build OK
2024-Aug-21 15:08:11 :: [aarch64] #500 qt6-translations.git 6.7.2-alt1: build start
2024-Aug-21 15:08:24 :: [x86_64] #2100 qt6-doc.git 6.7.2-alt1: build OK
2024-Aug-21 15:08:25 :: [x86_64] #2200 qt6-remoteobjects.git 6.7.2-alt1: build start
2024-Aug-21 15:08:58 :: [i586] #1700 qt6-connectivity.git 6.7.2-alt1: build OK
2024-Aug-21 15:08:58 :: [i586] #2000 qt6-positioning.git 6.7.2-alt1: build start
2024-Aug-21 15:09:23 :: [aarch64] #500 qt6-translations.git 6.7.2-alt1: build OK
2024-Aug-21 15:09:23 :: [aarch64] #600 qt6-svg.git 6.7.2-alt1: build start
2024-Aug-21 15:10:18 :: [x86_64] #2200 qt6-remoteobjects.git 6.7.2-alt1: build OK
2024-Aug-21 15:10:18 :: [x86_64] #2300 qt6-datavis3d.git 6.7.2-alt1: build start
2024-Aug-21 15:11:07 :: [i586] #2000 qt6-positioning.git 6.7.2-alt1: build OK
2024-Aug-21 15:11:08 :: [i586] #2100 qt6-doc.git 6.7.2-alt1: build start
2024-Aug-21 15:11:41 :: [aarch64] #600 qt6-svg.git 6.7.2-alt1: build OK
2024-Aug-21 15:11:41 :: [aarch64] #700 qt6-multimedia.git 6.7.2-alt1: build start
2024-Aug-21 15:13:00 :: [i586] #2100 qt6-doc.git 6.7.2-alt1: build OK
2024-Aug-21 15:13:00 :: [i586] #2200 qt6-remoteobjects.git 6.7.2-alt1: build start
2024-Aug-21 15:13:11 :: [x86_64] #2300 qt6-datavis3d.git 6.7.2-alt1: build OK
2024-Aug-21 15:13:11 :: [x86_64] #2400 qt6-serialbus.git 6.7.2-alt1: build start
2024-Aug-21 15:14:54 :: [x86_64] #2400 qt6-serialbus.git 6.7.2-alt1: build OK
2024-Aug-21 15:14:54 :: [x86_64] #2500 qt6-webengine.git 6.7.2-alt1: build start
2024-Aug-21 15:15:01 :: [i586] #2200 qt6-remoteobjects.git 6.7.2-alt1: build OK
2024-Aug-21 15:15:01 :: [i586] #2300 qt6-datavis3d.git 6.7.2-alt1: build start
2024-Aug-21 15:18:06 :: [i586] #2300 qt6-datavis3d.git 6.7.2-alt1: build OK
2024-Aug-21 15:18:07 :: [i586] #2400 qt6-serialbus.git 6.7.2-alt1: build start
2024-Aug-21 15:19:55 :: [i586] #2400 qt6-serialbus.git 6.7.2-alt1: build OK
2024-Aug-21 15:19:56 :: [i586] #2500 qt6-webengine.git 6.7.2-alt1: build start
2024-Aug-21 15:20:39 :: [i586] #2500 qt6-webengine.git 6.7.2-alt1: build SKIPPED
2024-Aug-21 15:20:40 :: [i586] #2600 qt6-webview.git 6.7.2-alt1: build start
2024-Aug-21 15:20:40 :: [aarch64] #700 qt6-multimedia.git 6.7.2-alt1: build OK
2024-Aug-21 15:20:41 :: [aarch64] #1000 qt6-5compat.git 6.7.2-alt1: build start
2024-Aug-21 15:20:54 :: [i586] #2600 qt6-webview.git 6.7.2-alt1: build SKIPPED
2024-Aug-21 15:20:55 :: [i586] #2700 qt6-virtualkeyboard.git 6.7.2-alt1: build start
2024-Aug-21 15:23:41 :: [i586] #2700 qt6-virtualkeyboard.git 6.7.2-alt1: build OK
2024-Aug-21 15:23:42 :: [i586] #3000 qt6-scxml.git 6.7.2-alt1: build start
2024-Aug-21 15:24:15 :: [aarch64] #1000 qt6-5compat.git 6.7.2-alt1: build OK
2024-Aug-21 15:24:15 :: [aarch64] #1100 qt6-websockets.git 6.7.2-alt1: build start
2024-Aug-21 15:26:35 :: [aarch64] #1100 qt6-websockets.git 6.7.2-alt1: build OK
2024-Aug-21 15:26:35 :: [aarch64] #1200 qt6-webchannel.git 6.7.2-alt1: build start
2024-Aug-21 15:26:36 :: [i586] #3000 qt6-scxml.git 6.7.2-alt1: build OK
2024-Aug-21 15:26:37 :: [i586] #3100 qt6-quicktimeline.git 6.7.2-alt1: build start
2024-Aug-21 15:27:56 :: [i586] #3100 qt6-quicktimeline.git 6.7.2-alt1: build OK
2024-Aug-21 15:27:57 :: [i586] #3200 qt6-charts.git 6.7.2-alt1: build start
2024-Aug-21 15:28:48 :: [aarch64] #1200 qt6-webchannel.git 6.7.2-alt1: build OK
2024-Aug-21 15:28:48 :: [aarch64] #1300 qt6-wayland.git 6.7.2-alt1: build start
2024-Aug-21 15:33:05 :: [i586] #3200 qt6-charts.git 6.7.2-alt1: build OK
2024-Aug-21 15:33:05 :: [i586] #3300 qt6-networkauth.git 6.7.2-alt1: build start
2024-Aug-21 15:34:22 :: [i586] #3300 qt6-networkauth.git 6.7.2-alt1: build OK
2024-Aug-21 15:34:23 :: [i586] #3400 qt6-3d.git 6.7.2-alt1: build start
2024-Aug-21 15:39:05 :: [aarch64] #1300 qt6-wayland.git 6.7.2-alt1: build OK
2024-Aug-21 15:39:05 :: [aarch64] #1400 qt6-imageformats.git 6.7.2-alt1: build start
2024-Aug-21 15:40:34 :: [aarch64] #1400 qt6-imageformats.git 6.7.2-alt1: build OK
2024-Aug-21 15:40:34 :: [aarch64] #1500 qt6-serialport.git 6.7.2-alt1: build start
2024-Aug-21 15:42:32 :: [aarch64] #1500 qt6-serialport.git 6.7.2-alt1: build OK
2024-Aug-21 15:42:33 :: [aarch64] #1600 qt6-sensors.git 6.7.2-alt1: build start
2024-Aug-21 15:44:53 :: [i586] #3400 qt6-3d.git 6.7.2-alt1: build OK
2024-Aug-21 15:44:53 :: [i586] #3500 qt6-speech.git 6.7.2-alt1: build start
2024-Aug-21 15:46:16 :: [aarch64] #1600 qt6-sensors.git 6.7.2-alt1: build OK
2024-Aug-21 15:46:17 :: [aarch64] #1700 qt6-connectivity.git 6.7.2-alt1: build start
2024-Aug-21 15:46:49 :: [i586] #3500 qt6-speech.git 6.7.2-alt1: build OK
2024-Aug-21 15:46:49 :: [i586] #3600 qt6-quick3d.git 6.7.2-alt1: build start
2024-Aug-21 15:53:24 :: [aarch64] #1700 qt6-connectivity.git 6.7.2-alt1: build OK
2024-Aug-21 15:53:25 :: [aarch64] #2000 qt6-positioning.git 6.7.2-alt1: build start
2024-Aug-21 15:56:51 :: [aarch64] #2000 qt6-positioning.git 6.7.2-alt1: build OK
2024-Aug-21 15:56:52 :: [aarch64] #2100 qt6-doc.git 6.7.2-alt1: build start
2024-Aug-21 15:58:28 :: [i586] #3600 qt6-quick3d.git 6.7.2-alt1: build OK
2024-Aug-21 15:59:38 :: [aarch64] #2100 qt6-doc.git 6.7.2-alt1: build OK
2024-Aug-21 15:59:38 :: [aarch64] #2200 qt6-remoteobjects.git 6.7.2-alt1: build start
2024-Aug-21 16:02:46 :: [aarch64] #2200 qt6-remoteobjects.git 6.7.2-alt1: build OK
2024-Aug-21 16:02:46 :: [aarch64] #2300 qt6-datavis3d.git 6.7.2-alt1: build start
2024-Aug-21 16:08:19 :: [aarch64] #2300 qt6-datavis3d.git 6.7.2-alt1: build OK
2024-Aug-21 16:08:20 :: [aarch64] #2400 qt6-serialbus.git 6.7.2-alt1: build start
2024-Aug-21 16:11:08 :: [aarch64] #2400 qt6-serialbus.git 6.7.2-alt1: build OK
2024-Aug-21 16:11:08 :: [aarch64] #2500 qt6-webengine.git 6.7.2-alt1: build start
2024-Aug-21 16:15:47 :: [x86_64] #2500 qt6-webengine.git 6.7.2-alt1: build OK
2024-Aug-21 16:15:47 :: [x86_64] #2600 qt6-webview.git 6.7.2-alt1: build start
2024-Aug-21 16:17:23 :: [x86_64] #2600 qt6-webview.git 6.7.2-alt1: build OK
2024-Aug-21 16:17:24 :: [x86_64] #2700 qt6-virtualkeyboard.git 6.7.2-alt1: build start
2024-Aug-21 16:19:58 :: [x86_64] #2700 qt6-virtualkeyboard.git 6.7.2-alt1: build OK
2024-Aug-21 16:19:58 :: [x86_64] #3000 qt6-scxml.git 6.7.2-alt1: build start
2024-Aug-21 16:22:38 :: [x86_64] #3000 qt6-scxml.git 6.7.2-alt1: build OK
2024-Aug-21 16:22:39 :: [x86_64] #3100 qt6-quicktimeline.git 6.7.2-alt1: build start
2024-Aug-21 16:23:56 :: [x86_64] #3100 qt6-quicktimeline.git 6.7.2-alt1: build OK
2024-Aug-21 16:23:56 :: [x86_64] #3200 qt6-charts.git 6.7.2-alt1: build start
2024-Aug-21 16:28:40 :: [x86_64] #3200 qt6-charts.git 6.7.2-alt1: build OK
2024-Aug-21 16:28:40 :: [x86_64] #3300 qt6-networkauth.git 6.7.2-alt1: build start
2024-Aug-21 16:29:54 :: [x86_64] #3300 qt6-networkauth.git 6.7.2-alt1: build OK
2024-Aug-21 16:29:55 :: [x86_64] #3400 qt6-3d.git 6.7.2-alt1: build start
2024-Aug-21 16:39:48 :: [x86_64] #3400 qt6-3d.git 6.7.2-alt1: build OK
2024-Aug-21 16:39:49 :: [x86_64] #3500 qt6-speech.git 6.7.2-alt1: build start
2024-Aug-21 16:41:36 :: [x86_64] #3500 qt6-speech.git 6.7.2-alt1: build OK
2024-Aug-21 16:41:37 :: [x86_64] #3600 qt6-quick3d.git 6.7.2-alt1: build start
2024-Aug-21 16:52:31 :: [x86_64] #3600 qt6-quick3d.git 6.7.2-alt1: build OK
[aarch64] gen/chrome/test/chromedriver/bidimapper/bidimapper.cc:11:28962: warning: trigraph ??! ignored, use -trigraphs to enable [-Wtrigraphs]
[aarch64]    11 |     "var mapperTab=function(){\"use strict\";var e=\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:{};function t(e){if(e.__esModule)return e;var t=e.default;if(\"function\"==typeof t){var a=function e(){if(this instanceof e){var a=[null];return a.push.apply(a,arguments),new(Function.bind.apply(t,a))}return t.apply(this,arguments)};a.prototype=t.prototype}else a={};return Object.defineProperty(a,\"__esModule\",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),a}var a={},n={},r={},s={};var o=t(Object.freeze({__proto__:null,default:function(e){return{all:e=e||new Map,on:function(t,a){var n=e.get(t);n?n.push(a):e.set(t,[a])},off:function(t,a){var n=e.get(t);n&&(a?n.splice(n.indexOf(a)>>>0,1):e.set(t,[]))},emit:function(t,a){var n=e.get(t);n&&n.slice().map((function(e){e(a)})),(n=e.get(\"*\"))&&n.slice().map((function(e){e(t,a)}))}}}})),i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(s,\"__esModule\",{value:!0}),s.EventEmitter=void 0;const c=i(o);s.EventEmitter=class{#e=(0,c.default)();on(e,t){return this.#e.on(e,t),this}once(e,t){const a=n=>{t(n),this.off(e,a)};return this.on(e,a)}off(e,t){return this.#e.off(e,t),this}emit(e,t){this.#e.emit(e,t)}removeAllListeners(e){return e?this.#e.all.delete(e):this.#e.all.clear(),this}};var d,l={};Object.defineProperty(l,\"__esModule\",{value:!0}),l.LogType=void 0,function(e){e.bidi=\"BiDi Messages\",e.browsingContexts=\"Browsing Contexts\",e.cdp=\"CDP\",e.system=\"System\"}(d||(l.LogType=d={}));var u={};Object.defineProperty(u,\"__esModule\",{value:!0}),u.ProcessingQueue=void 0;const m=l;u.ProcessingQueue=class{#t;#a;#n=[];#r=!1;constructor(e,t){this.#a=e,this.#t=t}add(e){this.#n.push(e),this.#s()}async#s(){if(!this.#r){for(this.#r=!0;this.#n.length>0;){const e=this.#n.shift();void 0!==e&&await e.then((e=>{if(\"error\"!==e.kind)return this.#a(e.value);this.#t?.(m.LogType.system,\"Event threw before sending:\",e.error)})).catch((e=>{this.#t?.(m.LogType.system,\"Event was not processed:\",e)}))}this.#r=!1}}};var p={},h={},f={};Object.defineProperty(f,\"__esModule\",{value:!0});var g,y,v,S,b={};Object.defineProperty(b,\"__esModule\",{value:!0}),b.Network=b.BrowsingContext=b.Log=b.Script=void 0,function(e){var t;(t=e.EventNames||(e.EventNames={})).AllScriptEvent=\"script\",t.MessageEvent=\"script.message\",t.RealmCreated=\"script.realmCreated\",t.RealmDestroyed=\"script.realmDestroyed\"}(g||(b.Script=g={})),function(e){var t;(t=e.EventNames||(e.EventNames={})).AllLogEvent=\"log\",t.LogEntryAddedEvent=\"log.entryAdded\"}(y||(b.Log=y={})),function(e){var t;(t=e.EventNames||(e.EventNames={})).AllBrowsingContextEvent=\"browsingContext\",t.ContextCreatedEvent=\"browsingContext.contextCreated\",t.ContextDestroyedEvent=\"browsingContext.contextDestroyed\",t.DomContentLoadedEvent=\"browsingContext.domContentLoaded\",t.FragmentNavigated=\"browsingContext.fragmentNavigated\",t.LoadEvent=\"browsingContext.load\",t.NavigationStarted=\"browsingContext.navigationStarted\",t.UserPromptClosed=\"browsingContext.userPromptClosed\",t.UserPromptOpened=\"browsingContext.userPromptOpened\"}(v||(b.BrowsingContext=v={})),function(e){var t;(t=e.EventNames||(e.EventNames={})).AllNetworkEvent=\"network\",t.BeforeRequestSentEvent=\"network.beforeRequestSent\",t.FetchErrorEvent=\"network.fetchError\",t.ResponseCompletedEvent=\"network.responseCompleted\",t.ResponseStartedEvent=\"network.responseStarted\"}(S||(b.Network=S={}));var C={};Object.defineProperty(C,\"__esModule\",{value:!0});var w={};Object.defineProperty(w,\"__esModule\",{value:!0}),w.UnsupportedOperationException=w.UnableToCloseBrowserException=w.UnableToCaptureScreenException=w.UnknownErrorException=w.UnknownCommandException=w.SessionNotCreatedException=w.NoSuchScriptException=w.NoSuchNodeException=w.NoSuchHandleException=w.NoSuchFrameException=w.NoSuchElementException=w.NoSuchAlertException=w.MoveTargetOutOfBoundsException=w.InvalidSessionIdException=w.InvalidArgumentException=w.Exception=void 0;class x{error;message;stacktrace;constructor(e,t,a){this.error=e,this.message=t,this.stacktrace=a}toErrorResponse(e){return{type:\"error\",id:e,error:this.error,message:this.message,stacktrace:this.stacktrace}}}w.Exception=x;w.InvalidArgumentException=class extends x{constructor(e,t){super(\"invalid argument\",e,t)}};w.InvalidSessionIdException=class extends x{constructor(e,t){super(\"invalid session id\",e,t)}};w.MoveTargetOutOfBoundsException=class extends x{constructor(e,t){super(\"move target out of bounds\",e,t)}};w.NoSuchAlertException=class extends x{constructor(e,t){super(\"no such alert\",e,t)}};w.NoSuchElementException=class extends x{constructor(e,t){super(\"no such element\",e,t)}};w.NoSuchFrameException=class extends x{constructor(e,t){super(\"no such frame\",e,t)}};w.NoSuchHandleException=class extends x{constructor(e,t){super(\"no such handle\",e,t)}};w.NoSuchNodeException=class extends x{constructor(e,t){super(\"no such node\",e,t)}};w.NoSuchScriptException=class extends x{constructor(e,t){super(\"no such script\",e,t)}};w.SessionNotCreatedException=class extends x{constructor(e,t){super(\"session not created\",e,t)}};w.UnknownCommandException=class extends x{constructor(e,t){super(\"unknown command\",e,t)}};w.UnknownErrorException=class extends x{constructor(e,t=(new Error).stack){super(\"unknown error\",e,t)}};w.UnableToCaptureScreenException=class extends x{constructor(e,t){super(\"unable to capture screen\",e,t)}};w.UnableToCloseBrowserException=class extends x{constructor(e,t){super(\"unable to close browser\",e,t)}};w.UnsupportedOperationException=class extends x{constructor(e,t){super(\"unsupported operation\",e,t)}},function(t){var a=e&&e.__createBinding||(Object.create?function(e,t,a,n){void 0===n&&(n=a);var r=Object.getOwnPropertyDescriptor(t,a);r&&!(\"get\"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,n,r)}:function(e,t,a,n){void 0===n&&(n=a),e[n]=t[a]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)\"default\"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&a(t,e,r);return n(t,e),t},s=e&&e.__exportStar||function(e,t){for(var n in e)\"default\"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,\"__esModule\",{value:!0}),t.ChromiumBidi=t.Cdp=void 0,t.Cdp=r(f),t.ChromiumBidi=r(b),s(C,t),s(w,t)}(h);var I={};Object.defineProperty(I,\"__esModule\",{value:!0}),I.BidiNoOpParser=void 0;I.BidiNoOpParser=class{parseActivateParams(e){return e}parseCaptureScreenshotParams(e){return e}parseCloseParams(e){return e}parseCreateParams(e){return e}parseGetTreeParams(e){return e}parseHandleUserPromptParams(e){return e}parseNavigateParams(e){return e}parsePrintParams(e){return e}parseReloadParams(e){return e}parseSetViewportParams(e){return e}parseGetSessionParams(e){return e}parseSendCommandParams(e){return e}parseAddPreloadScriptParams(e){return e}parseCallFunctionParams(e){return e}parseDisownParams(e){return e}parseEvaluateParams(e){return e}parseGetRealmsParams(e){return e}parseRemovePreloadScriptParams(e){return e}parsePerformActionsParams(e){return e}parseReleaseActionsParams(e){return e}parseSubscribeParams(e){return e}};var P={};Object.defineProperty(P,\"__esModule\",{value:!0}),P.OutgoingBidiMessage=void 0;class _{#o;#i;constructor(e,t=null){this.#o=e,this.#i=t}static createFromPromise(e,t){return e.then((e=>\"success\"===e.kind?{kind:\"success\",value:new _(e.value,t)}:e))}static createResolved(e,t){return Promise.resolve({kind:\"success\",value:new _(e,t)})}get message(){return this.#o}get channel(){return this.#i}}P.OutgoingBidiMessage=_;var E={};Object.defineProperty(E,\"__esModule\",{value:!0}),E.BrowserProcessor=void 0;E.BrowserProcessor=class{#c;constructor(e){this.#c=e}close(){const e=this.#c.browserClient();return setTimeout((()=>e.sendCommand(\"Browser.close\")),0),{}}};var T={};Object.defineProperty(T,\"__esModule\",{value:!0}),T.CdpProcessor=void 0;T.CdpProcessor=class{#d;#c;constructor(e,t){this.#d=e,this.#c=t}getSession(e){const t=e.context,a=this.#d.getContext(t).cdpTarget.cdpSessionId;return void 0===a?{}:{session:a}}async sendCommand(e){const t=e.session?this.#c.getCdpClient(e.session):this.#c.browserClient();return{result:await t.sendCommand(e.method,e.params),session:e.session}}};var k={},R={},N={};Object.defineProperty(N,\"__esModule\",{value:!0}),N.Deferred=void 0;class j{#l=!1;#u;#m;#p;get isFinished(){return this.#l}constructor(){this.#u=new Promise(((e,t)=>{this.#m=e,this.#p=t})),this.#u.catch((e=>{}))}then(e,t){return this.#u.then(e,t)}catch(e){return this.#u.catch(e)}resolve(e){this.#l||(this.#l=!0,this.#m(e))}reject(e){this.#l||(this.#l=!0,this.#p(e))}finally(e){return this.#u.finally(e)}[Symbol.toStringTag]=\"Promise\"}N.Deferred=j;var O={};Object.defineProperty(O,\"__esModule\",{value:!0}),O.inchesFromCm=void 0,O.inchesFromCm=function(e){return e/2.54};var M={},B={},D={};Object.defineProperty(D,\"__esModule\",{value:!0}),D.uuidv4=void 0,D.uuidv4=function(){if(\"crypto\"in globalThis&&\"randomUUID\"in globalThis.crypto)return globalThis.crypto.randomUUID();const e=new Uint8Array(16);\"crypto\"in globalThis&&\"getRandomValues\"in globalThis.crypto?globalThis.crypto.getRandomValues(e):require(\"crypto\").webcrypto.getRandomValues(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128;const t=e=>e.reduce(((e,t)=>e+t.toString(16).padStart(2,\"0\")),\"\");return[t(e.subarray(0,4)),t(e.subarray(4,6)),t(e.subarray(6,8)),t(e.subarray(8,10)),t(e.subarray(10,16))].join(\"-\")},Object.defineProperty(B,\"__esModule\",{value:!0}),B.ChannelProxy=void 0;const A=h,z=D;class Z{#h;#f=(0,z.uuidv4)();constructor(e){if(![0,null,void 0].includes(e.serializationOptions?.maxDomDepth))throw new Error(\"serializationOptions.maxDomDepth other than 0 or null is not supported\");if(![void 0,\"none\"].includes(e.serializationOptions?.includeShadowTree))throw new Error('serializationOptions.includeShadowTree other than \"none\" is not supported');this.#h=e}async init(e,t){const a=await Z.#g(e),n=await Z.#y(e,a);return this.#v(e,a,t),n}async startListenerFromWindow(e,t){const a=await this.#S(e);this.#v(e,a,t)}static#b(){return`(${String((()=>{const e=[];let t=null;return{async getMessage(){const a=e.length>0?Promise.resolve():new Promise((e=>{t=e}));return await a,e.shift()},sendMessage(a){e.push(a),null!==t&&(t(),t=null)}}}))})()`}static async#g(e){const t=await e.cdpClient.sendCommand(\"Runtime.evaluate\",{expression:this.#b(),contextId:e.executionContextId,serializationOptions:{serialization:\"idOnly\"}});if(t.exceptionDetails||void 0===t.result.objectId)throw new Error(\"Cannot create channel\");return t.result.objectId}static async#y(e,t){return(await e.cdpClient.sendCommand(\"Runtime.callFunctionOn\",{functionDeclaration:String((e=>e.sendMessage)),arguments:[{objectId:t}],executionContextId:e.executionContextId,serializationOptions:{serialization:\"idOnly\"}})).result.objectId}async#v(e,t,a){for(;;){const n=await e.cdpClient.sendCommand(\"Runtime.callFunctionOn\",{functionDeclaration:String((async e=>e.getMessage())),arguments:[{objectId:t}],awaitPromise:!0,executionContextId:e.executionContextId,serializationOptions:{serialization:\"deep\",...void 0===this.#h.serializationOptions?.maxObjectDepth||null===this.#h.serializationOptions.maxObjectDepth?{}:{maxDepth:this.#h.serializationOptions.maxObjectDepth}}});if(n.exceptionDetails)return;a.registerEvent({type:\"event\",method:A.ChromiumBidi.Script.EventNames.MessageEvent,params:{channel:this.#h.channel,data:e.cdpToBidiValue(n,this.#h.ownership??\"none\"),source:{realm:e.realmId,context:e.browsingContextId}}},e.browsingContextId)}}async#S(e){const t=await e.cdpClient.sendCommand(\"Runtime.callFunctionOn\",{functionDeclaration:String((e=>{const t=window;if(void 0===t[e])return new Promise((a=>t[e]=a));const a=t[e];return delete t[e],a})),arguments:[{value:this.#f}],executionContextId:e.executionContextId,awaitPromise:!0,serializationOptions:{serialization:\"idOnly\"}});if(void 0!==t.exceptionDetails||void 0===t.result.objectId)throw new Error(`ChannelHandle not found in window[\"${this.#f}\"]`);return t.result.objectId}getEvalInWindowStr(){const e=String(((e,t)=>{const a=window;return void 0===a[e]?a[e]=t:(a[e](t),delete a[e]),t.sendMessage})),t=Z.#b();return`(${e})('${this.#f}',${t})`}}B.ChannelProxy=Z,Object.defineProperty(M,\"__esModule\",{value:!0}),M.Realm=void 0;const L=h,V=l,U=B,F=\"_element_\";class K{#C;#d;#w;#x;#I;#P;#_;#E;#T;sandbox;#t;constructor(e,t,a,n,r,s,o,i,c,d,l){this.#w=a,this.#x=n,this.#I=r,this.sandbox=i,this.#P=s,this.#_=o,this.#E=c,this.#C=e,this.#d=t,this.#T=d,this.#t=l,this.#C.addRealm(this),this.#T.registerEvent({type:\"event\",method:L.ChromiumBidi.Script.EventNames.RealmCreated,params:this.realmInfo},this.browsingContextId)}cdpToBidiValue(e,t){const a=this.#k(e.result.deepSerializedValue);if(e.result.objectId){const n=e.result.objectId;\"root\"===t?(a.handle=n,this.#C.knownHandlesToRealmMap.set(n,this.realmId)):this.#R(n).catch((e=>this.#t?.(V.LogType.system,e)))}if(\"object\"===e.result.type)switch(e.result.subtype){case\"generator\":case\"iterator\":a.type=e.result.subtype,delete a.value}return a}#k(e){if(Object.hasOwn(e,\"weakLocalObjectReference\")&&(e.internalId=`${e.weakLocalObjectReference}`,delete e.weakLocalObjectReference),\"platformobject\"===e.type)return{type:\"object\"};const t=e.value;if(void 0===t)return e;if(\"node\"===e.type){if(Object.hasOwn(t,\"backendNodeId\")&&(e.sharedId=`${this.navigableId}${F}${t.backendNodeId}`,delete t.backendNodeId),Object.hasOwn(t,\"children\"))for(const e in t.children)t.children[e]=this.#k(t.children[e]);Object.hasOwn(t,\"shadowRoot\")&&null!==t.shadowRoot&&(t.shadowRoot=this.#k(t.shadowRoot))}if([\"array\",\"set\",\"htmlcollection\",\"nodelist\"].includes(e.type))for(const e in t)t[e]=this.#k(t[e]);if([\"object\",\"map\"].includes(e.type))for(const e in t)t[e]=[this.#k(t[e][0]),this.#k(t[e][1])];return e}get realmId(){return this.#w}get navigableId(){return this.#d.findContext(this.#x)?.navigableId??\"UNKNOWN\"}get browsingContextId(){return this.#x}get executionContextId(){return this.#I}get origin(){return this.#P}get type(){return this.#_}get cdpClient(){return this.#E}get realmInfo(){return{realm:this.realmId,origin:this.origin,type:this.type,context:this.browsingContextId,...void 0===this.sandbox?{}:{sandbox:this.sandbox}}}async evaluate(e,t,a,n,r=!1){await this.#d.getContext(this.browsingContextId).targetUnblocked();const s=await this.cdpClient.sendCommand(\"Runtime.evaluate\",{contextId:this.executionContextId,expression:e,awaitPromise:t,serializationOptions:K.#N(\"deep\",n),userGesture:r});return s.exceptionDetails?this.#j(s.exceptionDetails,0,a):{realm:this.realmId,result:this.cdpToBidiValue(s,a),type:\"success\"}}async serializeCdpObject(e,t){const a=K.#O(e),n=await this.cdpClient.sendCommand(\"Runtime.callFunctionOn\",{functionDeclaration:String((e=>e)),awaitPromise:!1,arguments:[a],serializationOptions:{serialization:\"deep\"},executionContextId:this.executionContextId});return this.cdpToBidiValue(n,t)}static#O(e){return void 0!==e.objectId?{objectId:e.objectId}:void 0!==e.unserializableValue?{unserializableValue:e.unserializableValue}:{value:e.value}}async stringifyObject(e){const{result:t}=await this.cdpClient.sendCommand(\"Runtime.callFunctionOn\",{functionDeclaration:String((e=>String(e))),awaitPromise:!1,arguments:[e],returnByValue:!0,executionContextId:this.executionContextId});return t.value}async#M(e){const t=[];for(const[a,n]of e){let e;e=\"string\"==typeof a?{value:a}:await this.#B(a);const r=await this.#B(n);t.push(e),t.push(r)}return t}async#D(e){return Promise.all(e.map((e=>this.#B(e))))}async#A(e,t,a){const n=e.stackTrace?.callFrames.map((e=>({url:e.url,functionName:e.functionName,lineNumber:e.lineNumber-t,columnNumber:e.columnNumber})))??[],r=e.exception;return{exception:await this.serializeCdpObject(r,a),columnNumber:e.columnNumber,lineNumber:e.lineNumber-t,stackTrace:{callFrames:n},text:await this.stringifyObject(r)||e.text}}async callFunction(e,t,a,n,r,s,o=!1){await this.#d.getContext(this.browsingContextId).targetUnblocked();const i=`(...args) => {\\n      function callFunction(f, args) {\\n        const deserializedThis = args.shift();\\n        const deserializedArgs = args;\\n        return f.apply(deserializedThis, deserializedArgs);\\n      }\\n      return callFunction((\\n        ${e}\\n      ), args);\\n    }`,c=[await this.#B(t),...await Promise.all(a.map((async e=>this.#B(e))))];let d;try{d=await this.cdpClient.sendCommand(\"Runtime.callFunctionOn\",{functionDeclaration:i,awaitPromise:n,arguments:c,serializationOptions:K.#N(\"deep\",s),executionContextId:this.executionContextId,userGesture:o})}catch(e){if(-32e3===e.code&&[\"Could not find object with given id\",\"Argument should belong to the same JavaScript world as target object\",\"Invalid remote object id\"].includes(e.message))throw new L.NoSuchHandleException(\"Handle was not found.\");throw e}return d.exceptionDetails?this.#j(d.exceptionDetails,1,r):{type:\"success\",result:this.cdpToBidiValue(d,r),realm:this.realmId}}async#B(e){if(\"sharedId\"in e&&e.sharedId){const[t,a]=e.sharedId.split(F),n=parseInt(a??\"\");if(isNaN(n)||void 0===n||void 0===t)throw new L.NoSuchNodeException(`SharedId \"${e.sharedId}\" was not found.`);if(this.navigableId!==t)throw new L.NoSuchNodeException(`SharedId \"${e.sharedId}\" belongs to different document. Current document is ${this.navigableId}.`);try{const{object:e}=await this.cdpClient.sendCommand(\"DOM.resolveNode\",{backendNodeId:n,executionContextId:this.executionContextId});return{objectId:e.objectId}}catch(t){if(-32e3===t.code&&\"No node with given id found\"===t.message)throw new L.NoSuchNodeException(`SharedId \"${e.sharedId}\" was not found.`);throw new L.UnknownErrorException(t.message,t.stack)}}else{if(\"handle\"in e&&e.handle)return{objectId:e.handle};if(\"handle\"in e||\"sharedId\"in e)throw new L.NoSuchHandleException(\"Handle was not found.\")}switch(e.type){case\"undefined\":return{unserializableValue:\"undefined\"};case\"null\":return{unserializableValue:\"null\"};case\"string\":return{value:e.value};case\"number\":return\"NaN\"===e.value?{unserializableValue:\"NaN\"}:\"-0\"===e.value?{unserializableValue:\"-0\"}:\"Infinity\"===e.value?{unserializableValue:\"Infinity\"}:\"-Infinity\"===e.value?{unserializableValue:\"-Infinity\"}:{value:e.value};case\"boolean\":return{value:Boolean(e.value)};case\"bigint\":return{unserializableValue:`BigInt(${JSON.stringify(e.value)})`};case\"date\":return{unserializableValue:`new Date(Date.parse(${JSON.stringify(e.value)}))`};case\"regexp\":return{unserializableValue:`new RegExp(${JSON.stringify(e.value.pattern)}, ${JSON.stringify(e.value.flags)})`};case\"map\":{const t=await this.#M(e.value),{result:a}=await this.cdpClient.sendCommand(\"Runtime.callFunctionOn\",{functionDeclaration:String(((...e)=>{const t=new Map;for(let a=0;a<e.length;a+=2)t.set(e[a],e[a+1]);return t})),awaitPromise:!1,arguments:t,returnByValue:!1,executionContextId:this.executionContextId});return{objectId:a.objectId}}case\"object\":{const t=await this.#M(e.value),{result:a}=await this.cdpClient.sendCommand(\"Runtime.callFunctionOn\",{functionDeclaration:String(((...e)=>{const t={};for(let a=0;a<e.length;a+=2){t[e[a]]=e[a+1]}return t})),awaitPromise:!1,arguments:t,returnByValue:!1,executionContextId:this.executionContextId});return{objectId:a.objectId}}case\"array\":{const t=await this.#D(e.value),{result:a}=await this.cdpClient.sendCommand(\"Runtime.callFunctionOn\",{functionDeclaration:String(((...e)=>e)),awaitPromise:!1,arguments:t,returnByValue:!1,executionContextId:this.executionContextId});return{objectId:a.objectId}}case\"set\":{const t=await this.#D(e.value),{result:a}=await this.cdpClient.sendCommand(\"Runtime.callFunctionOn\",{functionDeclaration:String(((...e)=>new Set(e))),awaitPromise:!1,arguments:t,returnByValue:!1,executionContextId:this.executionContextId});return{objectId:a.objectId}}case\"channel\":{const t=new U.ChannelProxy(e.value);return{objectId:await t.init(this,this.#T)}}}throw new Error(`Value ${JSON.stringify(e)} is not deserializable.`)}async#j(e,t,a){return{exceptionDetails:await this.#A(e,t,a),realm:this.realmId,type:\"exception\"}}static#N(e,t){return{serialization:e,additionalParameters:K.#z(t),...K.#Z(t)}}static#z(e){const t={};return void 0!==e.maxDomDepth&&(t.maxNodeDepth=null===e.maxDomDepth?1e3:e.maxDomDepth),void 0!==e.includeShadowTree&&(t.includeShadowTree=e.includeShadowTree),t}static#Z(e){return void 0===e.maxObjectDepth||null===e.maxObjectDepth?{}:{maxDepth:e.maxObjectDepth}}async#R(e){try{await this.cdpClient.sendCommand(\"Runtime.releaseObject\",{objectId:e})}catch(e){if(-32e3!==e.code||\"Invalid remote object id\"!==e.message)throw e}}async disown(e){this.#C.knownHandlesToRealmMap.get(e)===this.realmId&&(await this.#R(e),this.#C.knownHandlesToRealmMap.delete(e))}dispose(){this.#T.registerEvent({type:\"event\",method:L.ChromiumBidi.Script.EventNames.RealmDestroyed,params:{realm:this.realmId}},this.browsingContextId)}}M.Realm=K,Object.defineProperty(R,\"__esModule\",{value:!0}),R.BrowsingContextImpl=void 0;const q=h,$=N,W=l,J=O,H=M;class G{#f;#L;#V=new Set;#d;#U={Page:{navigatedWithinDocument:new $.Deferred,lifecycleEvent:{DOMContentLoaded:new $.Deferred,load:new $.Deferred}}};#F=\"about:blank\";#T;#C;#K;#q;#$;#t;constructor(e,t,a,n,r,s,o){this.#q=e,this.#C=t,this.#f=a,this.#L=n,this.#T=r,this.#d=s,this.#t=o}static create(e,t,a,n,r,s,o){const i=new G(e,t,a,n,r,s,o);return i.#W(),s.addContext(i),i.isTopLevelContext()||i.parent.addChild(i.id),r.registerEvent({type:\"event\",method:q.ChromiumBidi.BrowsingContext.EventNames.ContextCreatedEvent,params:i.serializeToBidiValue()},i.id),i}static getTimestamp(){return(new Date).getTime()}get navigableId(){return this.#K}dispose(){this.#J(),this.#C.deleteRealms({browsingContextId:this.id}),this.isTopLevelContext()||this.parent.#V.delete(this.id),this.#T.registerEvent({type:\"event\",method:q.ChromiumBidi.BrowsingContext.EventNames.ContextDestroyedEvent,params:this.serializeToBidiValue()},this.id),this.#d.deleteContextById(this.id)}get id(){return this.#f}get parentId(){return this.#L}get parent(){return null===this.parentId?null:this.#d.getContext(this.parentId)}get directChildren(){return[...this.#V].map((e=>this.#d.getContext(e)))}get allChildren(){const e=this.directChildren;return e.concat(...e.map((e=>e.allChildren)))}isTopLevelContext(){return null===this.#L}get top(){let e=this,t=e.parent;for(;t;)e=t,t=e.parent;return e}addChild(e){this.#V.add(e)}#J(){this.directChildren.map((e=>e.dispose()))}get#H(){if(void 0===this.#$)throw new Error(`No default realm for browsing context ${this.#f}`);return this.#$}get cdpTarget(){return this.#q}updateCdpTarget(e){this.#q=e,this.#W()}get url(){return this.#F}async lifecycleLoaded(){await this.#U.Page.lifecycleEvent.load}targetUnblocked(){return this.#q.targetUnblocked}async getOrCreateSandbox(e){if(void 0===e||\"\"===e)return this.#H;let t=this.#C.findRealms({browsingContextId:this.id,sandbox:e});if(0===t.length&&(await this.#q.cdpClient.sendCommand(\"Page.createIsolatedWorld\",{frameId:this.id,worldName:e}),t=this.#C.findRealms({browsingContextId:this.id,sandbox:e})),1!==t.length)throw Error(`Sandbox ${e} wasn't created.`);return t[0]}serializeToBidiValue(e=0,t=!0){return{context:this.#f,url:this.url,children:e>0?this.directChildren.map((t=>t.serializeToBidiValue(e-1,!1))):null,...t?{parent:this.#L}:{}}}onTargetInfoChanged(e){this.#F=e.targetInfo.url}#W(){this.#q.cdpClient.on(\"Page.frameNavigated\",(e=>{this.id===e.frame.id&&(this.#F=e.frame.url+(e.frame.urlFragment??\"\"),this.#J())})),this.#q.cdpClient.on(\"Page.navigatedWithinDocument\",(e=>{if(this.id!==e.frameId)return;const t=G.getTimestamp();this.#F=e.url,this.#U.Page.navigatedWithinDocument.resolve(e),this.#T.registerEvent({type:\"event\",method:q.ChromiumBidi.BrowsingContext.EventNames.FragmentNavigated,params:{context:this.id,navigation:null,timestamp:t,url:this.#F}},this.id)})),this.#q.cdpClient.on(\"Page.frameStartedLoading\",(e=>{this.id===e.frameId&&this.#T.registerEvent({type:\"event\",method:q.ChromiumBidi.BrowsingContext.EventNames.NavigationStarted,params:{context:this.id,navigation:null,timestamp:G.getTimestamp(),url:\"\"}},this.id)})),this.#q.cdpClient.on(\"Page.lifecycleEvent\",(e=>{if(this.id!==e.frameId)return;if(\"init\"===e.name)return void this.#G(e.loaderId);if(\"commit\"===e.name)return void(this.#K=e.loaderId);if(e.loaderId!==this.#K)return;const t=G.getTimestamp();switch(e.name){case\"DOMContentLoaded\":this.#T.registerEvent({type:\"event\",method:q.ChromiumBidi.BrowsingContext.EventNames.DomContentLoadedEvent,params:{context:this.id,navigation:this.#K??null,timestamp:t,url:this.#F}},this.id),this.#U.Page.lifecycleEvent.DOMContentLoaded.resolve(e);break;case\"load\":this.#T.registerEvent({type:\"event\",method:q.ChromiumBidi.BrowsingContext.EventNames.LoadEvent,params:{context:this.id,navigation:this.#K??null,timestamp:t,url:this.#F}},this.id),this.#U.Page.lifecycleEvent.load.resolve(e)}})),this.#q.cdpClient.on(\"Runtime.executionContextCreated\",(e=>{if(e.context.auxData.frameId!==this.id)return;if(![\"default\",\"isolated\"].includes(e.context.auxData.type))return;const t=new H.Realm(this.#C,this.#d,e.context.uniqueId,this.id,e.context.id,this.#X(e),\"window\",\"isolated\"===e.context.auxData.type?e.context.name:void 0,this.#q.cdpClient,this.#T,this.#t);e.context.auxData.isDefault&&(this.#$=t,Promise.all(this.#q.getChannels().map((e=>e.startListenerFromWindow(t,this.#T)))))})),this.#q.cdpClient.on(\"Runtime.executionContextDestroyed\",(e=>{this.#C.deleteRealms({cdpSessionId:this.#q.cdpSessionId,executionContextId:e.executionContextId})})),this.#q.cdpClient.on(\"Runtime.executionContextsCleared\",(()=>{this.#C.deleteRealms({cdpSessionId:this.#q.cdpSessionId})})),this.#q.cdpClient.on(\"Page.javascriptDialogClosed\",(e=>{this.#T.registerEvent({type:\"event\",method:q.ChromiumBidi.BrowsingContext.EventNames.UserPromptClosed,params:{context:this.id,accepted:e.result,userText:e.userInput?e.userInput:void 0}},this.id)})),this.#q.cdpClient.on(\"Page.javascriptDialogOpening\",(e=>{this.#T.registerEvent({type:\"event\",method:q.ChromiumBidi.BrowsingContext.EventNames.UserPromptOpened,params:{context:this.id,type:e.type,message:e.message}},this.id)}))}#X(e){return\"isolated\"===e.context.auxData.type?this.#H.origin:[\"://\",\"\"].includes(e.context.origin)?\"null\":e.context.origin}#G(e){void 0!==e&&this.#K!==e?(this.#Y(),this.#K=e):this.#U.Page.navigatedWithinDocument.isFinished?this.#U.Page.navigatedWithinDocument=new $.Deferred:this.#t?.(W.LogType.browsingContexts,\"Document changed (navigatedWithinDocument)\")}#Y(){this.#U.Page.lifecycleEvent.DOMContentLoaded.isFinished?this.#U.Page.lifecycleEvent.DOMContentLoaded=new $.Deferred:this.#t?.(W.LogType.browsingContexts,\"Document changed (DOMContentLoaded)\"),this.#U.Page.lifecycleEvent.load.isFinished?this.#U.Page.lifecycleEvent.load=new $.Deferred:this.#t?.(W.LogType.browsingContexts,\"Document changed (load)\")}async navigate(e,t){try{new URL(e)}catch{throw new q.InvalidArgumentException(`Invalid URL: ${e}`)}await this.targetUnblocked();const a=await this.#q.cdpClient.sendCommand(\"Page.navigate\",{url:e,frameId:this.id});if(a.errorText)throw new q.UnknownErrorException(a.errorText);switch(this.#G(a.loaderId),t){case\"none\":break;case\"interactive\":void 0===a.loaderId?await this.#U.Page.navigatedWithinDocument:await this.#U.Page.lifecycleEvent.DOMContentLoaded;break;case\"complete\":void 0===a.loaderId?await this.#U.Page.navigatedWithinDocument:await this.lifecycleLoaded()}return{navigation:a.loaderId??null,url:e}}async reload(e,t){switch(await this.targetUnblocked(),await this.#q.cdpClient.sendCommand(\"Page.reload\",{ignoreCache:e}),this.#Y(),t){case\"none\":break;case\"interactive\":await this.#U.Page.lifecycleEvent.DOMContentLoaded;break;case\"complete\":await this.lifecycleLoaded()}return{}}async setViewport(e){if(null===e)await this.#q.cdpClient.sendCommand(\"Emulation.clearDeviceMetricsOverride\");else try{await this.#q.cdpClient.sendCommand(\"Emulation.setDeviceMetricsOverride\",{width:e.width,height:e.height,deviceScaleFactor:0,mobile:!1,dontSetVisibleSize:!0})}catch(e){if(e.message.startsWith(\"Width and height values must be positive\"))throw new q.UnsupportedOperationException(\"Provided viewport dimensions are not supported\");throw e}}async handleUserPrompt(e){await this.#q.cdpClient.sendCommand(\"Page.handleJavaScriptDialog\",{accept:e.accept??!0,promptText:e.userText})}async activate(){await this.#q.cdpClient.sendCommand(\"Page.bringToFront\")}async captureScreenshot(){let e;if(await this.#q.cdpClient.sendCommand(\"Page.bringToFront\"),this.isTopLevelContext()){const{cssContentSize:t,cssLayoutViewport:a}=await this.#q.cdpClient.sendCommand(\"Page.getLayoutMetrics\");e={x:t.x,y:t.y,width:a.clientWidth,height:a.clientHeight}}else{const{result:{value:t}}=await this.#q.cdpClient.sendCommand(\"Runtime.callFunctionOn\",{functionDeclaration:String((()=>{const e=globalThis.document.documentElement.getBoundingClientRect();return JSON.stringify({x:e.x,y:e.y,width:e.width,height:e.height})})),executionContextId:this.#H.executionContextId});e=JSON.parse(t)}return{data:(await this.#q.cdpClient.sendCommand(\"Page.captureScreenshot\",{clip:{...e,scale:1}})).data}}async print(e){const t={};if(void 0!==e.background&&(t.printBackground=e.background),void 0!==e.margin?.bottom&&(t.marginBottom=(0,J.inchesFromCm)(e.margin.bottom)),void 0!==e.margin?.left&&(t.marginLeft=(0,J.inchesFromCm)(e.margin.left)),void 0!==e.margin?.right&&(t.marginRight=(0,J.inchesFromCm)(e.margin.right)),void 0!==e.margin?.top&&(t.marginTop=(0,J.inchesFromCm)(e.margin.top)),void 0!==e.orientation&&(t.landscape=\"landscape\"===e.orientation),void 0!==e.page?.height&&(t.paperHeight=(0,J.inchesFromCm)(e.page.height)),void 0!==e.page?.width&&(t.paperWidth=(0,J.inchesFromCm)(e.page.width)),void 0!==e.pageRanges){for(const t of e.pageRanges){if(\"number\"==typeof t)continue;const e=t.split(\"-\");if(e.length<1||e.length>2)throw new q.InvalidArgumentException(`Invalid page range: ${t} is not a valid integer range.`);if(1===e.length){X(e[0]??\"\");continue}let a,n;const[r=\"\",s=\"\"]=e;if(a=\"\"===r?1:X(r),n=\"\"===s?Number.MAX_SAFE_INTEGER:X(s),a>n)throw new q.InvalidArgumentException(`Invalid page range: ${r} > ${s}`)}t.pageRanges=e.pageRanges.join(\",\")}void 0!==e.scale&&(t.scale=e.scale),void 0!==e.shrinkToFit&&(t.preferCSSPageSize=!e.shrinkToFit);try{return{data:(await this.#q.cdpClient.sendCommand(\"Page.printToPDF\",t)).data}}catch(e){if(\"invalid print parameters: content area is empty\"===e.message)throw new q.UnsupportedOperationException(e.message);throw e}}async close(){await this.#q.cdpClient.sendCommand(\"Page.close\")}}function X(e){if(e=e.trim(),!/^[0-9]+$/.test(e))throw new q.InvalidArgumentException(`Invalid integer: ${e}`);return parseInt(e)}R.BrowsingContextImpl=G;var Y={},Q={},ee={};Object.defineProperty(ee,\"__esModule\",{value:!0}),ee.getRemoteValuesText=ee.logMessageFormatter=void 0;const te=[\"%s\",\"%d\",\"%i\",\"%f\",\"%o\",\"%O\",\"%c\"];function ae(e){return te.some((t=>e.includes(t)))}function ne(e){let t=\"\";const a=e[0].value.toString(),n=e.slice(1,void 0),r=a.split(new RegExp(te.map((e=>`(${e})`)).join(\"|\"),\"g\"));for(const a of r)if(void 0!==a&&\"\"!==a)if(ae(a)){const r=n.shift();if(void 0===r)throw new Error(`Less value is provided: \"${oe(e,!1)}\"`);\"%s\"===a?t+=se(r):\"%d\"===a||\"%i\"===a?\"bigint\"===r.type||\"number\"===r.type||\"string\"===r.type?t+=parseInt(r.value.toString(),10):t+=\"NaN\":\"%f\"===a?\"bigint\"===r.type||\"number\"===r.type||\"string\"===r.type?t+=parseFloat(r.value.toString()):t+=\"NaN\":t+=re(r)}else t+=a;if(n.length>0)throw new Error(`More value is provided: \"${oe(e,!1)}\"`);return t}function re(e){if(\"array\"!==e.type&&\"bigint\"!==e.type&&\"date\"!==e.type&&\"number\"!==e.type&&\"object\"!==e.type&&\"string\"!==e.type)return se(e);if(\"bigint\"===e.type)return`${e.value.toString()}n`;if(\"number\"===e.type)return e.value.toString();if([\"date\",\"string\"].includes(e.type))return JSON.stringify(e.value);if(\"object\"===e.type)return`{${e.value.map((e=>`${JSON.stringify(e[0])}:${re(e[1])}`)).join(\",\")}}`;if(\"array\"===e.type)return`[${e.value?.map((e=>re(e))).join(\",\")??\"\"}]`;throw Error(`Invalid value type: ${e}`)}function se(e){if(!Object.hasOwn(e,\"value\"))return e.type;switch(e.type){case\"string\":case\"number\":case\"boolean\":case\"bigint\":return String(e.value);case\"regexp\":return`/${e.value.pattern}/${e.value.flags??\"\"}`;case\"date\":return new Date(e.value).toString();case\"object\":return`Object(${e.value?.length??\"\"})`;case\"array\":return`Array(${e.value?.length??\"\"})`;case\"map\":return`Map(${e.value?.length})`;case\"set\":return`Set(${e.value?.length})`;default:return e.type}}function oe(e,t){const a=e[0];return a?\"string\"===a.type&&ae(a.value.toString())&&t?ne(e):e.map((e=>se(e))).join(\" \"):\"\"}ee.logMessageFormatter=ne,ee.getRemoteValuesText=oe,Object.defineProperty(Q,\"__esModule\",{value:!0}),Q.LogManager=void 0;const ie=h,ce=ee;function de(e){const t=e?.callFrames.map((e=>({columnNumber:e.columnNumber,functionName:e.functionName,lineNumber:e.lineNumber,url:e.url})));return t?{callFrames:t}:void 0}class le{#T;#C;#q;constructor(e,t,a){this.#q=e,this.#C=t,this.#T=a}static create(e,t,a){const n=new le(e,t,a);return n.#Q(),n}#Q(){this.#q.cdpClient.on(\"Runtime.consoleAPICalled\",(e=>{const t=this.#C.findRealm({cdpSessionId:this.#q.cdpSessionId,executionContextId:e.executionContextId}),a=void 0===t?Promise.resolve(e.args):Promise.all(e.args.map((e=>t.serializeCdpObject(e,\"none\"))));this.#T.registerPromiseEvent(a.then((a=>{return{kind:\"success\",value:{type:\"event\",method:ie.ChromiumBidi.Log.EventNames.LogEntryAddedEvent,params:{level:(n=e.type,[\"error\",\"assert\"].includes(n)?\"error\":[\"debug\",\"trace\"].includes(n)?\"debug\":[\"warn\",\"warning\"].includes(n)?\"warn\":\"info\"),source:{realm:t?.realmId??\"UNKNOWN\",context:t?.browsingContextId??\"UNKNOWN\"},text:(0,ce.getRemoteValuesText)(a,!0),timestamp:Math.round(e.timestamp),stackTrace:de(e.stackTrace),type:\"console\",method:\"warning\"===e.type?\"warn\":e.type,args:a}}};var n})),t?.browsingContextId??\"UNKNOWN\",ie.ChromiumBidi.Log.EventNames.LogEntryAddedEvent)})),this.#q.cdpClient.on(\"Runtime.exceptionThrown\",(e=>{const t=this.#C.findRealm({cdpSessionId:this.#q.cdpSessionId,executionContextId:e.exceptionDetails.executionContextId}),a=(async()=>e.exceptionDetails.exception?void 0===t?JSON.stringify(e.exceptionDetails.exception):t.stringifyObject(e.exceptionDetails.exception):e.exceptionDetails.text)();this.#T.registerPromiseEvent(a.then((a=>({kind:\"success\",value:{type:\"event\",method:ie.ChromiumBidi.Log.EventNames.LogEntryAddedEvent,params:{level:\"error\",source:{realm:t?.realmId??\"UNKNOWN\",context:t?.browsingContextId??\"UNKNOWN\"},text:a,timestamp:Math.round(e.timestamp),stackTrace:de(e.exceptionDetails.stackTrace),type:\"javascript\"}}}))),t?.browsingContextId??\"UNKNOWN\",ie.ChromiumBidi.Log.EventNames.LogEntryAddedEvent)}))}}Q.LogManager=le;var ue={},me={};Object.defineProperty(me,\"__esModule\",{value:!0}),me.DefaultMap=void 0;class pe extends Map{#ee;constructor(e,t){super(t),this.#ee=e}get(e){return this.has(e)||this.set(e,this.#ee(e)),super.get(e)}}me.DefaultMap=pe;var he={};Object.defineProperty(he,\"__esModule\",{value:!0}),he.NetworkRequest=void 0;const fe=N,ge=h;class ye{static#te=\"UNKNOWN\";requestId;#ae=!1;#ne=0;#T;#re;#se;#oe;#ie;#ce=new fe.Deferred;#de=new fe.Deferred;constructor(e,t){this.requestId=e,this.#T=t}onRequestWillBeSentEvent(e){void 0===this.#re&&(this.#re=e,void 0!==this.#se&&this.#ce.resolve({kind:\"success\",value:void 0}),this.#le())}onRequestWillBeSentExtraInfoEvent(e){void 0===this.#se&&(this.#se=e,void 0!==this.#re&&this.#ce.resolve({kind:\"success\",value:void 0}))}onResponseReceivedEventExtraInfo(e){void 0===this.#ie&&(this.#ie=e,void 0!==this.#oe&&this.#de.resolve({kind:\"success\",value:void 0}))}onResponseReceivedEvent(e){void 0===this.#oe&&(this.#oe=e,e.hasExtraInfo||this.#ce.isFinished||this.#ce.resolve({kind:\"success\",value:void 0}),e.hasExtraInfo&&void 0===this.#ie&&!this.#ae||this.#de.resolve({kind:\"success\",value:void 0}),this.#ue())}onServedFromCache(){void 0!==this.#re&&this.#ce.resolve({kind:\"success\",value:void 0}),void 0!==this.#oe&&this.#de.resolve({kind:\"success\",value:void 0}),this.#ae=!0}onLoadingFailedEvent(e){this.#ce.resolve({kind:\"success\",value:void 0}),this.#de.resolve({kind:\"error\",error:new Error(\"Loading Failed\")}),this.#T.registerEvent({type:\"event\",method:ge.ChromiumBidi.Network.EventNames.FetchErrorEvent,params:{...this.#me(),errorText:e.errorText}},this.#re?.frameId??null)}dispose(){const e={kind:\"error\",error:new Error(\"Network processor detached\")};this.#de.resolve(e),this.#ce.resolve(e)}#me(){return{context:this.#re?.frameId??null,navigation:this.#pe(),redirectCount:this.#ne,request:this.#he(),timestamp:Math.round(1e3*(this.#re?.wallTime??0))}}#pe(){return this.#re&&this.#re.loaderId&&this.#re.loaderId===this.#re.requestId?this.#re.loaderId:null}#he(){const e=this.#se?ye.#fe(this.#se.associatedCookies):[];return{request:this.#re?.requestId??ye.#te,url:this.#re?.request.url??ye.#te,method:this.#re?.request.method??ye.#te,headers:ye.#ge(this.#re?.request.headers),cookies:e,headersSize:-1,bodySize:0,timings:{timeOrigin:0,requestTime:0,redirectStart:0,redirectEnd:0,fetchStart:0,dnsStart:0,dnsEnd:0,connectStart:0,connectEnd:0,tlsStart:0,requestStart:0,responseStart:0,responseEnd:0}}}#le(){this.#ye()||this.#T.registerPromiseEvent(this.#ce.then((e=>\"success\"===e.kind?{kind:\"success\",value:Object.assign(this.#ve(),{type:\"event\"})}:e)),this.#re?.frameId??null,ge.ChromiumBidi.Network.EventNames.BeforeRequestSentEvent)}#ve(){if(void 0===this.#re)throw new Error(\"RequestWillBeSentEvent is not set\");return{method:ge.ChromiumBidi.Network.EventNames.BeforeRequestSentEvent,params:{...this.#me(),initiator:{type:ye.#Se(this.#re.initiator.type)}}}}#ue(){this.#ye()||this.#T.registerPromiseEvent(this.#de.then((e=>\"success\"===e.kind?{kind:\"success\",value:Object.assign(this.#be(),{type:\"event\"})}:e)),this.#oe?.frameId??null,ge.ChromiumBidi.Network.EventNames.ResponseCompletedEvent)}#be(){if(void 0===this.#re)throw new Error(\"RequestWillBeSentEvent is not set\");if(void 0===this.#oe)throw new Error(\"ResponseReceivedEvent is not set\");this.#oe.response.fromDiskCache&&(this.#ie=void 0);const e=ye.#ge(this.#oe.response.headers);return{method:ge.ChromiumBidi.Network.EventNames.ResponseCompletedEvent,params:{...this.#me(),response:{url:this.#oe.response.url,protocol:this.#oe.response.protocol??\"\",status:this.#ie?.statusCode??this.#oe.response.status,statusText:this.#oe.response.statusText,fromCache:this.#oe.response.fromDiskCache||this.#oe.response.fromPrefetchCache||this.#ae,headers:e,mimeType:this.#oe.response.mimeType,bytesReceived:this.#oe.response.encodedDataLength,headersSize:this.#Ce(e),bodySize:0,content:{size:0}}}}}#Ce(e){return e.reduce(((e,t)=>e+t.name.length+t.value.value.length+4),0)}#ye(){return this.#re?.request.url.endsWith(\"/favicon.ico\")??!1}static#ge(e){return e?Object.entries(e).map((([e,t])=>({name:e,value:{type:\"string\",value:t}}))):[]}static#Se(e){switch(e){case\"parser\":case\"script\":case\"preflight\":return e;default:return\"other\"}}static#fe(e){return e.map((e=>({name:e.cookie.name,value:{type:\"string\",value:e.cookie.value},domain:e.cookie.domain,path:e.cookie.path,expires:e.cookie.expires,size:e.cookie.size,httpOnly:e.cookie.httpOnly,secure:e.cookie.secure,sameSite:ye.#we(e.cookie.sameSite)})))}static#we(e){switch(e){case\"Strict\":return\"strict\";case\"Lax\":return\"lax\";default:return\"none\"}}}he.NetworkRequest=ye,Object.defineProperty(ue,\"__esModule\",{value:!0}),ue.NetworkManager=void 0;const ve=me,Se=he;class be{#T;#xe;constructor(e){this.#T=e,this.#xe=new ve.DefaultMap((e=>new Se.NetworkRequest(e,this.#T)))}static create(e,t){const a=new be(t);return e.browserClient().on(\"Target.detachedFromTarget\",(t=>{e.sessionId===t.sessionId&&a.dispose()})),e.on(\"Network.requestWillBeSent\",(e=>{a.#Ie(e.requestId).onRequestWillBeSentEvent(e)})),e.on(\"Network.requestWillBeSentExtraInfo\",(e=>{a.#Ie(e.requestId).onRequestWillBeSentExtraInfoEvent(e)})),e.on(\"Network.responseReceived\",(e=>{a.#Ie(e.requestId).onResponseReceivedEvent(e)})),e.on(\"Network.responseReceivedExtraInfo\",(e=>{a.#Ie(e.requestId).onResponseReceivedEventExtraInfo(e)})),e.on(\"Network.requestServedFromCache\",(e=>{a.#Ie(e.requestId).onServedFromCache()})),e.on(\"Network.loadingFailed\",(e=>{a.#Ie(e.requestId).onLoadingFailedEvent(e),a.#Pe(e.requestId)})),e.on(\"Network.loadingFinished\",(e=>{a.#Pe(e.requestId)})),a}dispose(){for(const e of this.#xe.values())e.dispose();this.#xe.clear()}#Ie(e){return this.#xe.get(e)}#Pe(e){const t=this.#xe.get(e);t&&(t.dispose(),this.#xe.delete(e))}}ue.NetworkManager=be,Object.defineProperty(Y,\"__esModule\",{value:!0}),Y.CdpTarget=void 0;const Ce=N,we=Q,xe=ue;class Ie{#_e;#E;#Ee;#T;#Te;#ke=new Ce.Deferred;static create(e,t,a,n,r,s){const o=new Ie(e,t,a,r,s);return we.LogManager.create(o,n,r),xe.NetworkManager.create(t,r),o.#Re(),o.#Ne(),o}constructor(e,t,a,n,r){this.#_e=e,this.#E=t,this.#Ee=a,this.#T=n,this.#Te=r}get targetUnblocked(){return this.#ke}get targetId(){return this.#_e}get cdpClient(){return this.#E}get cdpSessionId(){return this.#Ee}async#Ne(){try{const e=[];e.push(this.#E.sendCommand(\"Runtime.enable\"),this.#E.sendCommand(\"Page.enable\"),this.#E.sendCommand(\"Page.setLifecycleEventsEnabled\",{enabled:!0}),this.#E.sendCommand(\"Network.enable\"),this.#E.sendCommand(\"Target.setAutoAttach\",{autoAttach:!0,waitForDebuggerOnStart:!0,flatten:!0}),this.#je()),await this.#E.sendCommand(\"Runtime.runIfWaitingForDebugger\"),await Promise.all(e)}catch(e){if(!this.#E.isCloseError(e))throw e}this.#ke.resolve({kind:\"success\",value:void 0})}#Re(){this.#E.on(\"*\",((e,t)=>{\"string\"==typeof e&&this.#T.registerEvent({type:\"event\",method:`cdp.${e}`,params:{event:e,params:t,session:this.#Ee}},null)}))}getChannels(){return this.#Te.findPreloadScripts().flatMap((e=>e.channels))}async#je(){for(const e of this.#Te.findPreloadScripts())await e.initInTarget(this,!0)}}Y.CdpTarget=Ie,Object.defineProperty(k,\"__esModule\",{value:!0}),k.BrowsingContextProcessor=void 0;const Pe=h,_e=l,Ee=R,Te=Y;k.BrowsingContextProcessor=class{#c;#Oe;#T;#d;#Te;#C;#t;constructor(e,t,a,n,r,s,o){this.#c=e,this.#Oe=t,this.#T=a,this.#d=n,this.#Te=s,this.#C=r,this.#t=o,this.#Re(this.#c.browserClient())}getTree(e){return{contexts:(void 0===e.root?this.#d.getTopLevelContexts():[this.#d.getContext(e.root)]).map((t=>t.serializeToBidiValue(e.maxDepth??Number.MAX_VALUE)))}}async create(e){const t=this.#c.browserClient();let a,n;if(void 0!==e.referenceContext&&(a=this.#d.getContext(e.referenceContext),!a.isTopLevelContext()))throw new Pe.InvalidArgumentException(\"referenceContext should be a top-level context\");switch(e.type){case\"tab\":n=await t.sendCommand(\"Target.createTarget\",{url:\"about:blank\",newWindow:!1});break;case\"window\":n=await t.sendCommand(\"Target.createTarget\",{url:\"about:blank\",newWindow:!0})}const r=n.targetId,s=this.#d.getContext(r);return await s.lifecycleLoaded(),{context:s.id}}navigate(e){return this.#d.getContext(e.context).navigate(e.url,e.wait??\"none\")}reload(e){return this.#d.getContext(e.context).reload(e.ignoreCache??!1,e.wait??\"none\")}async activate(e){const t=this.#d.getContext(e.context);if(!t.isTopLevelContext())throw new Pe.InvalidArgumentException(\"Activation is only supported on the top-level context\");return await t.activate(),{}}async captureScreenshot(e){return this.#d.getContext(e.context).captureScreenshot()}async print(e){return this.#d.getContext(e.context).print(e)}async setViewport(e){const t=this.#d.getContext(e.context);if(!t.isTopLevelContext())throw new Pe.InvalidArgumentException(\"Emulating viewport is only supported on the top-level context\");return await t.setViewport(e.viewport),{}}async handleUserPrompt(e){const t=this.#d.getContext(e.context);return await t.handleUserPrompt(e),{}}async close(e){const t=this.#d.getContext(e.context);if(!t.isTopLevelContext())throw new Pe.InvalidArgumentException(`Non top-level browsing context ${t.id} cannot be closed.`);try{const a=this.#c.browserClient(),n=new Promise((t=>{const n=r=>{r.targetId===e.context&&(a.off(\"Target.detachedFromTarget\",n),t())};a.on(\"Target.detachedFromTarget\",n)}));await t.close(),await n}catch(e){if(-32e3!==e.code||\"Not attached to an active page\"!==e.message)throw e}return{}}#Re(e){e.on(\"Target.attachedToTarget\",(t=>{this.#Me(t,e)})),e.on(\"Target.detachedFromTarget\",(e=>{this.#Be(e)})),e.on(\"Target.targetInfoChanged\",(e=>{this.#De(e)})),e.on(\"Page.frameAttached\",(e=>{this.#Ae(e)})),e.on(\"Page.frameDetached\",(e=>{this.#ze(e)}))}#Ae(e){const t=this.#d.findContext(e.parentFrameId);void 0!==t&&Ee.BrowsingContextImpl.create(t.cdpTarget,this.#C,e.frameId,e.parentFrameId,this.#T,this.#d,this.#t)}#ze(e){\"swap\"!==e.reason&&this.#d.findContext(e.frameId)?.dispose()}#Me(e,t){const{sessionId:a,targetInfo:n}=e,r=this.#c.getCdpClient(a);if(!this.#Ze(n))return void r.sendCommand(\"Runtime.runIfWaitingForDebugger\").then((()=>t.sendCommand(\"Target.detachFromTarget\",e))).catch((e=>this.#t?.(_e.LogType.system,e)));this.#t?.(_e.LogType.browsingContexts,\"AttachedToTarget event received:\",JSON.stringify(e,null,2)),this.#Re(r);const s=this.#d.findContext(n.targetId),o=Te.CdpTarget.create(n.targetId,r,a,this.#C,this.#T,this.#Te);s?s.updateCdpTarget(o):Ee.BrowsingContextImpl.create(o,this.#C,n.targetId,null,this.#T,this.#d,this.#t)}#Be(e){const t=e.targetId;this.#d.findContext(t)?.dispose(),this.#Te.findPreloadScripts({targetId:t}).map((e=>e.dispose(t)))}#De(e){const t=e.targetInfo.targetId;this.#d.findContext(t)?.onTargetInfoChanged(e)}#Ze(e){return e.targetId!==this.#Oe&&[\"page\",\"iframe\"].includes(e.type)}};var ke={},Re={},Ne={};Object.defineProperty(Ne,\"__esModule\",{value:!0}),Ne.assert=void 0,Ne.assert=function(e){if(!e)throw new Error(\"Internal assertion failed.\")};var je={},Oe={};Object.defineProperty(Oe,\"__esModule\",{value:!0}),Oe.Mutex=void 0;Oe.Mutex=class{#Le=!1;#Ve=[];acquire(){const e={resolved:!1};return this.#Le?new Promise((t=>{this.#Ve.push((()=>t(this.#Ue.bind(this,e))))})):(this.#Le=!0,Promise.resolve(this.#Ue.bind(this,e)))}#Ue(e){if(e.resolved)throw new Error(\"Cannot release more than once.\");e.resolved=!0;const t=this.#Ve.shift();t?t():this.#Le=!1}async run(e){const t=await this.acquire();try{return await e()}finally{t()}}};var Me={};Object.defineProperty(Me,\"__esModule\",{value:!0}),Me.WheelSource=Me.PointerSource=Me.KeySource=Me.NoneSource=void 0;Me.NoneSource=class{type=\"none\"};Me.KeySource=class{type=\"key\";pressed=new Set;#Fe=0;get modifiers(){return this.#Fe}get alt(){return 1==(1&this.#Fe)}set alt(e){this.#Ke(e,1)}get ctrl(){return 2==(2&this.#Fe)}set ctrl(e){this.#Ke(e,2)}get meta(){return 4==(4&this.#Fe)}set meta(e){this.#Ke(e,4)}get shift(){return 8==(8&this.#Fe)}set shift(e){this.#Ke(e,8)}#Ke(e,t){e?this.#Fe|=t:this.#Fe&=~t}};class Be{type=\"pointer\";subtype;pointerId;pressed=new Set;x=0;y=0;constructor(e,t){this.pointerId=e,this.subtype=t}get buttons(){let e=0;for(const t of this.pressed)switch(t){case 0:e|=1;break;case 1:e|=4;break;case 2:e|=2;break;case 3:e|=8;break;case 4:e|=16}return e}static#qe=500;static#$e=2;#We=0;#Je;setClickCount(e){(!this.#Je||e.timeStamp-this.#Je.timeStamp>Be.#qe||Math.abs(this.#Je.x-e.x)>Be.#$e||Math.abs(this.#Je.y-e.y)>Be.#$e)&&(this.#We=0),++this.#We,this.#Je=e}get clickCount(){return this.#We}}Me.PointerSource=Be;Me.WheelSource=class{type=\"wheel\"},Object.defineProperty(je,\"__esModule\",{value:!0}),je.InputState=void 0;const De=h,Ae=Oe,ze=Me;je.InputState=class{cancelList=[];#He=new Map;#Ge=new Ae.Mutex;getOrCreate(e,t,a){let n=this.#He.get(e);if(!n){switch(t){case\"none\":n=new ze.NoneSource;break;case\"key\":n=new ze.KeySource;break;case\"pointer\":{let e=\"mouse\"===a?0:2;const t=new Set;for(const[,e]of this.#He)\"pointer\"===e.type&&t.add(e.pointerId);for(;t.has(e);)++e;n=new ze.PointerSource(e,a);break}case\"wheel\":n=new ze.WheelSource;break;default:throw new De.InvalidArgumentException(`Expected \"none\", \"key\", \"pointer\", or \"wheel\". Found unknown source type ${t}.`)}return this.#He.set(e,n),n}if(n.type!==t)throw new De.InvalidArgumentException(`Input source type of ${e} is ${n.type}, but received ${t}.`);return n}get(e){const t=this.#He.get(e);if(!t)throw new De.UnknownErrorException(\"Internal error.\");return t}getGlobalKeyState(){const e=new ze.KeySource;for(const[,t]of this.#He)if(\"key\"===t.type){for(const a of t.pressed)e.pressed.add(a);e.alt||=t.alt,e.ctrl||=t.ctrl,e.meta||=t.meta,e.shift||=t.shift}return e}get queue(){return this.#Ge}},Object.defineProperty(Re,\"__esModule\",{value:!0}),Re.InputStateManager=void 0;const Ze=Ne,Le=je;class Ve extends WeakMap{get(e){return(0,Ze.assert)(e.isTopLevelContext()),this.has(e)||this.set(e,new Le.InputState),super.get(e)}}Re.InputStateManager=Ve;var Ue={},Fe={};Object.defineProperty(Fe,\"__esModule\",{value:!0}),Fe.KeyToKeyCode=void 0,Fe.KeyToKeyCode={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,Abort:3,Help:6,Backspace:8,Tab:9,Numpad5:12,NumpadEnter:13,Enter:13,\"\\\\r\":13,\"\\\\n\":13,ShiftLeft:16,ShiftRight:16,ControlLeft:17,ControlRight:17,AltLeft:18,AltRight:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Space:32,Numpad9:33,PageUp:33,Numpad3:34,PageDown:34,End:35,Numpad1:35,Home:36,Numpad7:36,ArrowLeft:37,Numpad4:37,Numpad8:38,ArrowUp:38,ArrowRight:39,Numpad6:39,Numpad2:40,ArrowDown:40,Select:41,Open:43,PrintScreen:44,Insert:45,Numpad0:45,Delete:46,NumpadDecimal:46,Digit0:48,Digit1:49,Digit2:50,Digit3:51,Digit4:52,Digit5:53,Digit6:54,Digit7:55,Digit8:56,Digit9:57,KeyA:65,KeyB:66,KeyC:67,KeyD:68,KeyE:69,KeyF:70,KeyG:71,KeyH:72,KeyI:73,KeyJ:74,KeyK:75,KeyL:76,KeyM:77,KeyN:78,KeyO:79,KeyP:80,KeyQ:81,KeyR:82,KeyS:83,KeyT:84,KeyU:85,KeyV:86,KeyW:87,KeyX:88,KeyY:89,KeyZ:90,MetaLeft:91,MetaRight:92,ContextMenu:93,NumpadMultiply:106,NumpadAdd:107,NumpadSubtract:109,NumpadDivide:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,AudioVolumeMute:173,AudioVolumeDown:174,AudioVolumeUp:175,MediaTrackNext:176,MediaTrackPrevious:177,MediaStop:178,MediaPlayPause:179,Semicolon:186,Equal:187,NumpadEqual:187,Comma:188,Minus:189,Period:190,Slash:191,Backquote:192,BracketLeft:219,Backslash:220,BracketRight:221,Quote:222,AltGraph:225,Props:247,Cancel:3,Clear:12,Shift:16,Control:17,Alt:18,Accept:30,ModeChange:31,\" \":32,Print:42,Execute:43,\"\\\\u0000\":46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,Meta:91,\"*\":106,\"+\":107,\"-\":109,\"/\":111,\";\":186,\"=\":187,\",\":188,\".\":190,\"`\":192,\"[\":219,\"\\\\\\\\\":220,\"]\":221,\"'\":222,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251,\")\":48,\"!\":49,\"@\":50,\"#\":51,$:52,\"%\":53,\"^\":54,\"&\":55,\"(\":57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,\":\":186,\"<\":188,_:189,\">\":190,\"?\":191,\"~\":192,\"{\":219,\"|\":220,\"}\":221,'\"':222,Camera:44,EndCall:95,VolumeDown:182,VolumeUp:183};var Ke={};Object.defineProperty(Ke,\"__esModule\",{value:!0}),Ke.getKeyLocation=Ke.getKeyCode=Ke.getNormalizedKey=void 0,Ke.getNormalizedKey=function(e){switch(e){case\"\\ue000\":return\"Unidentified\";case\"\\ue001\":return\"Cancel\";case\"\\ue002\":return\"Help\";case\"\\ue003\":return\"Backspace\";case\"\\ue004\":return\"Tab\";case\"\\ue005\":return\"Clear\";case\"\\ue006\":return\"Return\";case\"\\ue007\":return\"Enter\";case\"\\ue008\":case\"\\ue050\":return\"Shift\";case\"\\ue009\":case\"\\ue051\":return\"Control\";case\"\\ue00a\":case\"\\ue052\":return\"Alt\";case\"\\ue00b\":return\"Pause\";case\"\\ue00c\":return\"Escape\";case\"\\ue00d\":return\" \";case\"\\ue00e\":case\"\\ue054\":return\"PageUp\";case\"\\ue00f\":case\"\\ue055\":return\"PageDown\";case\"\\ue010\":case\"\\ue056\":return\"End\";case\"\\ue011\":case\"\\ue057\":return\"Home\";case\"\\ue012\":case\"\\ue058\":return\"ArrowLeft\";case\"\\ue013\":case\"\\ue059\":return\"ArrowUp\";case\"\\ue014\":case\"\\ue05a\":return\"ArrowRight\";case\"\\ue015\":case\"\\ue05b\":return\"ArrowDown\";case\"\\ue016\":case\"\\ue05c\":return\"Insert\";case\"\\ue017\":case\"\\ue05d\":return\"Delete\";case\"\\ue018\":return\";\";case\"\\ue019\":return\"=\";case\"\\ue01a\":return\"0\";case\"\\ue01b\":return\"1\";case\"\\ue01c\":return\"2\";case\"\\ue01d\":return\"3\";case\"\\ue01e\":return\"4\";case\"\\ue01f\":return\"5\";case\"\\ue020\":return\"6\";case\"\\ue021\":return\"7\";case\"\\ue022\":return\"8\";case\"\\ue023\":return\"9\";case\"\\ue024\":return\"*\";case\"\\ue025\":return\"+\";case\"\\ue026\":return\",\";case\"\\ue027\":return\"-\";case\"\\ue028\":return\".\";case\"\\ue029\":return\"/\";case\"\\ue031\":return\"F1\";case\"\\ue032\":return\"F2\";case\"\\ue033\":return\"F3\";case\"\\ue034\":return\"F4\";case\"\\ue035\":return\"F5\";case\"\\ue036\":return\"F6\";case\"\\ue037\":return\"F7\";case\"\\ue038\":return\"F8\";case\"\\ue039\":return\"F9\";case\"\\ue03a\":return\"F10\";case\"\\ue03b\":return\"F11\";case\"\\ue03c\":return\"F12\";case\"\\ue03d\":case\"\\ue053\":return\"Meta\";case\"\\ue040\":return\"ZenkakuHankaku\";default:return e}},Ke.getKeyCode=function(e){switch(e){case\"`\":case\"~\":return\"Backquote\";case\"\\\\\":case\"|\":return\"Backslash\";case\"\\ue003\":return\"Backspace\";case\"[\":case\"{\":return\"BracketLeft\";case\"]\":case\"}\":return\"BracketRight\";case\",\":case\"<\":return\"Comma\";case\"0\":case\")\":return\"Digit0\";case\"1\":case\"!\":return\"Digit1\";case\"2\":case\"@\":return\"Digit2\";case\"3\":case\"#\":return\"Digit3\";case\"4\":case\"$\":return\"Digit4\";case\"5\":case\"%\":return\"Digit5\";case\"6\":case\"^\":return\"Digit6\";case\"7\":case\"&\":return\"Digit7\";case\"8\":case\"*\":return\"Digit8\";case\"9\":case\"(\":return\"Digit9\";case\"=\":case\"+\":return\"Equal\";case\"a\":case\"A\":return\"KeyA\";case\"b\":case\"B\":return\"KeyB\";case\"c\":case\"C\":return\"KeyC\";case\"d\":case\"D\":return\"KeyD\";case\"e\":case\"E\":return\"KeyE\";case\"f\":case\"F\":return\"KeyF\";case\"g\":case\"G\":return\"KeyG\";case\"h\":case\"H\":return\"KeyH\";case\"i\":case\"I\":return\"KeyI\";case\"j\":case\"J\":return\"KeyJ\";case\"k\":case\"K\":return\"KeyK\";case\"l\":case\"L\":return\"KeyL\";case\"m\":case\"M\":return\"KeyM\";case\"n\":case\"N\":return\"KeyN\";case\"o\":case\"O\":return\"KeyO\";case\"p\":case\"P\":return\"KeyP\";case\"q\":case\"Q\":return\"KeyQ\";case\"r\":case\"R\":return\"KeyR\";case\"s\":case\"S\":return\"KeyS\";case\"t\":case\"T\":return\"KeyT\";case\"u\":case\"U\":return\"KeyU\";case\"v\":case\"V\":return\"KeyV\";case\"w\":case\"W\":return\"KeyW\";case\"x\":case\"X\":return\"KeyX\";case\"y\":case\"Y\":return\"KeyY\";case\"z\":case\"Z\":return\"KeyZ\";case\"-\":case\"_\":return\"Minus\";case\".\":return\"Period\";case\"'\":case'\"':return\"Quote\";case\";\":case\":\":return\"Semicolon\";case\"/\":case\"?\":return\"Slash\";case\"\\ue00a\":return\"AltLeft\";case\"\\ue052\":return\"AltRight\";case\"\\ue009\":return\"ControlLeft\";case\"\\ue051\":return\"ControlRight\";case\"\\ue006\":return\"Enter\";case\"\\ue03d\":return\"MetaLeft\";case\"\\ue053\":return\"MetaRight\";case\"\\ue008\":return\"ShiftLeft\";case\"\\ue050\":return\"ShiftRight\";case\" \":case\"\\ue00d\":return\"Space\";case\"\\ue004\":return\"Tab\";case\"\\ue017\":return\"Delete\";case\"\\ue010\":return\"End\";case\"\\ue002\":return\"Help\";case\"\\ue011\":return\"Home\";case\"\\ue016\":return\"Insert\";case\"\\ue00f\":return\"PageDown\";case\"\\ue00e\":return\"PageUp\";case\"\\ue015\":return\"ArrowDown\";case\"\\ue012\":return\"ArrowLeft\";case\"\\ue014\":return\"ArrowRight\";case\"\\ue013\":return\"ArrowUp\";case\"\\ue00c\":return\"Escape\";case\"\\ue031\":return\"F1\";case\"\\ue032\":return\"F2\";case\"\\ue033\":return\"F3\";case\"\\ue034\":return\"F4\";case\"\\ue035\":return\"F5\";case\"\\ue036\":return\"F6\";case\"\\ue037\":return\"F7\";case\"\\ue038\":return\"F8\";case\"\\ue039\":return\"F9\";case\"\\ue03a\":return\"F10\";case\"\\ue03b\":return\"F11\";case\"\\ue03c\":return\"F12\";case\"\\ue01a\":case\"\\ue05c\":return\"Numpad0\";case\"\\ue01b\":case\"\\ue056\":return\"Numpad1\";case\"\\ue01c\":case\"\\ue05b\":return\"Numpad2\";case\"\\ue01d\":case\"\\ue055\":return\"Numpad3\";case\"\\ue01e\":case\"\\ue058\":return\"Numpad4\";case\"\\ue01f\":return\"Numpad5\";case\"\\ue020\":case\"\\ue05a\":return\"Numpad6\";case\"\\ue021\":case\"\\ue057\":return\"Numpad7\";case\"\\ue022\":case\"\\ue059\":return\"Numpad8\";case\"\\ue023\":case\"\\ue054\":return\"Numpad9\";case\"\\ue025\":return\"NumpadAdd\";case\"\\ue026\":return\"NumpadComma\";case\"\\ue028\":case\"\\ue05d\":return\"NumpadDecimal\";case\"\\ue029\":return\"NumpadDivide\";case\"\\ue007\":return\"NumpadEnter\";case\"\\ue024\":return\"NumpadMultiply\";case\"\\ue027\":return\"NumpadSubtract\";default:return}},Ke.getKeyLocation=function(e){switch(e){case\"\\ue007\":case\"\\ue008\":case\"\\ue009\":case\"\\ue00a\":case\"\\ue03d\":return 1;case\"\\ue01a\":case\"\\ue01b\":case\"\\ue01c\":case\"\\ue01d\":case\"\\ue01e\":case\"\\ue01f\":case\"\\ue020\":case\"\\ue021\":case\"\\ue022\":case\"\\ue023\":case\"\\ue024\":case\"\\ue025\":case\"\\ue026\":case\"\\ue027\":case\"\\ue028\":case\"\\ue029\":case\"\\ue054\":case\"\\ue055\":case\"\\ue056\":case\"\\ue057\":case\"\\ue058\":case\"\\ue059\":case\"\\ue05a\":case\"\\ue05b\":case\"\\ue05c\":case\"\\ue05d\":return 3;case\"\\ue050\":case\"\\ue051\":case\"\\ue052\":case\"\\ue053\":return 2;default:return 0}},Object.defineProperty(Ue,\"__esModule\",{value:!0}),Ue.ActionDispatcher=void 0;const qe=h,$e=Ne,We=Fe,Je=Ke,He=(e=>{const t=e.getClientRects()[0],a=Math.max(0,Math.min(t.x,t.x+t.width)),n=Math.min(window.innerWidth,Math.max(t.x,t.x+t.width)),r=Math.max(0,Math.min(t.y,t.y+t.height));return[a+(n-a>>1),r+(Math.min(window.innerHeight,Math.max(t.y,t.y+t.height))-r>>1)]}).toString(),Ge=(()=>navigator.platform.toLowerCase().includes(\"mac\")).toString();Ue.ActionDispatcher=class{static isMacOS=async e=>{const t=await(await e.getOrCreateSandbox(void 0)).callFunction(Ge,{type:\"undefined\"},[],!1,\"none\",{});return(0,$e.assert)(\"exception\"!==t.type),(0,$e.assert)(\"boolean\"===t.result.type),t.result.value};#Xe=0;#Ye=0;#Qe;#et;#tt;constructor(e,t,a){this.#Qe=e,this.#et=t,this.#tt=a}async dispatchActions(e){await this.#Qe.queue.run((async()=>{for(const t of e)await this.dispatchTickActions(t)}))}async dispatchTickActions(e){this.#Xe=performance.now(),this.#Ye=0;for(const{action:t}of e)\"duration\"in t&&void 0!==t.duration&&(this.#Ye=Math.max(this.#Ye,t.duration));const t=[new Promise((e=>setTimeout(e,this.#Ye)))];for(const a of e)t.push(this.#at(a));await Promise.all(t)}async#at({id:e,action:t}){const a=this.#Qe.get(e),n=this.#Qe.getGlobalKeyState();switch(t.type){case\"keyDown\":await this.#nt(a,t),this.#Qe.cancelList.push({id:e,action:{...t,type:\"keyUp\"}});break;case\"keyUp\":await this.#rt(a,t);break;case\"pause\":break;case\"pointerDown\":await this.#st(a,n,t),this.#Qe.cancelList.push({id:e,action:{...t,type:\"pointerUp\"}});break;case\"pointerMove\":await this.#ot(a,n,t);break;case\"pointerUp\":await this.#it(a,n,t);break;case\"scroll\":await this.#ct(a,n,t)}}#st(e,t,a){const{button:n}=a;if(e.pressed.has(n))return;e.pressed.add(n);const{x:r,y:s,subtype:o}=e,{width:i,height:c,pressure:d,twist:l,tangentialPressure:u}=a,{tiltX:m,tiltY:p}=\"tiltX\"in a?a:{},{modifiers:h}=t;switch(o){case\"mouse\":case\"pen\":return e.setClickCount({x:r,y:s,timeStamp:performance.now()}),this.#et.cdpTarget.cdpClient.sendCommand(\"Input.dispatchMouseEvent\",{type:\"mousePressed\",x:r,y:s,modifiers:h,button:Qe(n),buttons:e.buttons,clickCount:e.clickCount,pointerType:o,tangentialPressure:u,tiltX:m,tiltY:p,twist:l,force:d});case\"touch\":return this.#et.cdpTarget.cdpClient.sendCommand(\"Input.dispatchTouchEvent\",{type:\"touchStart\",touchPoints:[{x:r,y:s,radiusX:i,radiusY:c,tangentialPressure:u,tiltX:m,tiltY:p,twist:l,force:d,id:e.pointerId}],modifiers:h})}}#it(e,t,a){const{button:n}=a;if(!e.pressed.has(n))return;e.pressed.delete(n);const{x:r,y:s,subtype:o}=e,{modifiers:i}=t;switch(o){case\"mouse\":case\"pen\":return this.#et.cdpTarget.cdpClient.sendCommand(\"Input.dispatchMouseEvent\",{type:\"mouseReleased\",x:r,y:s,modifiers:i,button:Qe(n),buttons:e.buttons,clickCount:e.clickCount,pointerType:o});case\"touch\":return this.#et.cdpTarget.cdpClient.sendCommand(\"Input.dispatchTouchEvent\",{type:\"touchEnd\",touchPoints:[{x:r,y:s,id:e.pointerId}],modifiers:i})}}async#ot(e,t,a){const{x:n,y:r,subtype:s}=e,{width:o,height:i,pressure:c,twist:d,tangentialPressure:l,x:u,y:m,origin:p=\"viewport\",duration:h=this.#Ye}=a,{tiltX:f,tiltY:g}=\"tiltX\"in a?a:{},{targetX:y,targetY:v}=await this.#dt(p,u,m,n,r);if(y<0||v<0)throw new qe.MoveTargetOutOfBoundsException(`Cannot move beyond viewport (x: ${y}, y: ${v})`);let S;do{const a=h>0?(performance.now()-this.#Xe)/h:1;let u,m;if(S=a>=1,S?(u=y,m=v):(u=Math.round(a*(y-n)+n),m=Math.round(a*(v-r)+r)),e.x!==u||e.y!==m){const{modifiers:a}=t;switch(s){case\"mouse\":case\"pen\":await this.#et.cdpTarget.cdpClient.sendCommand(\"Input.dispatchMouseEvent\",{type:\"mouseMoved\",x:u,y:m,modifiers:a,clickCount:0,button:Qe(e.pressed.values().next().value??5),buttons:e.buttons,pointerType:s,tangentialPressure:l,tiltX:f,tiltY:g,twist:d,force:c});break;case\"touch\":await this.#et.cdpTarget.cdpClient.sendCommand(\"Input.dispatchTouchEvent\",{type:\"touchMove\",touchPoints:[{x:u,y:m,radiusX:o,radiusY:i,tangentialPressure:l,tiltX:f,tiltY:g,twist:d,force:c,id:e.pointerId}],modifiers:a})}e.x=u,e.y=m}}while(!S)}async#dt(e,t,a,n,r){let s,o;switch(e){case\"viewport\":s=t,o=a;break;case\"pointer\":s=n+t,o=r+a;break;default:{const{x:n,y:r}=await async function(e,t){const a=await e.getOrCreateSandbox(void 0),n=await a.callFunction(He,{type:\"undefined\"},[t],!1,\"none\",{});if(\"exception\"===n.type)throw new qe.NoSuchElementException(`Origin element ${t.sharedId} was not found`);(0,$e.assert)(\"array\"===n.result.type),(0,$e.assert)(\"number\"===n.result.value?.[0]?.type),(0,$e.assert)(\"number\"===n.result.value?.[1]?.type);const{result:{value:[{value:r},{value:s}]}}=n;return{x:r,y:s}}(this.#et,e.element);s=n+t,o=r+a;break}}return{targetX:s,targetY:o}}async#ct(e,t,a){const{deltaX:n,deltaY:r,x:s,y:o,origin:i=\"viewport\",duration:c=this.#Ye}=a;if(\"pointer\"===i)throw new qe.InvalidArgumentException('\"pointer\" origin is invalid for scrolling.');const{targetX:d,targetY:l}=await this.#dt(i,s,o,0,0);if(d<0||l<0)throw new qe.MoveTargetOutOfBoundsException(`Cannot move beyond viewport (x: ${d}, y: ${l})`);let u,m=0,p=0;do{const e=c>0?(performance.now()-this.#Xe)/c:1;let a,s;if(u=e>=1,u?(a=n-m,s=r-p):(a=Math.round(e*n-m),s=Math.round(e*r-p)),0!==a||0!==s){const{modifiers:e}=t;await this.#et.cdpTarget.cdpClient.sendCommand(\"Input.dispatchMouseEvent\",{type:\"mouseWheel\",deltaX:a,deltaY:s,x:d,y:l,modifiers:e}),m+=a,p+=s}}while(!u)}async#nt(e,t){if([...t.value].length>1)throw new qe.InvalidArgumentException(`Invalid key value: ${t.value}`);const a=t.value,n=(0,Je.getNormalizedKey)(a),r=e.pressed.has(n),s=(0,Je.getKeyCode)(a),o=(0,Je.getKeyLocation)(a);switch(n){case\"Alt\":e.alt=!0;break;case\"Shift\":e.shift=!0;break;case\"Control\":e.ctrl=!0;break;case\"Meta\":e.meta=!0}e.pressed.add(n);const{modifiers:i}=e,c=Xe(n,e),d=Ye(s??\"\",e)??c;let l;if(this.#tt&&e.meta)switch(s){case\"KeyA\":l=\"SelectAll\";break;case\"KeyC\":l=\"Copy\";break;case\"KeyV\":l=e.shift?\"PasteAndMatchStyle\":\"Paste\";break;case\"KeyX\":l=\"Cut\";break;case\"KeyZ\":l=e.shift?\"Redo\":\"Undo\"}const u=[this.#et.cdpTarget.cdpClient.sendCommand(\"Input.dispatchKeyEvent\",{type:d?\"keyDown\":\"rawKeyDown\",windowsVirtualKeyCode:We.KeyToKeyCode[n],key:n,code:s,text:d,unmodifiedText:c,autoRepeat:r,isSystemKey:e.alt||void 0,location:o<3?o:void 0,isKeypad:3===o,modifiers:i,commands:l?[l]:void 0})];\"Escape\"===n&&(e.alt||(!this.#tt||e.ctrl||e.meta)&&this.#tt||u.push(this.#et.cdpTarget.cdpClient.sendCommand(\"Input.cancelDragging\"))),await Promise.all(u)}#rt(e,t){if([...t.value].length>1)throw new qe.InvalidArgumentException(`Invalid key value: ${t.value}`);const a=t.value,n=(0,Je.getNormalizedKey)(a);if(!e.pressed.has(n))return;const r=(0,Je.getKeyCode)(a),s=(0,Je.getKeyLocation)(a);switch(n){case\"Alt\":e.alt=!1;break;case\"Shift\":e.shift=!1;break;case\"Control\":e.ctrl=!1;break;case\"Meta\":e.meta=!1}e.pressed.delete(n);const{modifiers:o}=e,i=Xe(n,e),c=Ye(r??\"\",e)??i;return this.#et.cdpTarget.cdpClient.sendCommand(\"Input.dispatchKeyEvent\",{type:\"keyUp\",windowsVirtualKeyCode:We.KeyToKeyCode[n],key:n,code:r,text:c,unmodifiedText:i,location:s<3?s:void 0,isSystemKey:e.alt||void 0,isKeypad:3===s,modifiers:o})}};const Xe=(e,t)=>\"Enter\"===e?\"\\r\":1===[...e].length?t.shift?e.toLocaleUpperCase(\"en-US\"):e:void 0,Ye=(e,t)=>{if(t.ctrl){switch(e){case\"Digit2\":if(t.shift)return\"\\0\";break;case\"KeyA\":return\"\\x01\";case\"KeyB\":return\"\\x02\";case\"KeyC\":return\"\\x03\";case\"KeyD\":return\"\\x04\";case\"KeyE\":return\"\\x05\";case\"KeyF\":return\"\\x06\";case\"KeyG\":return\"\\x07\";case\"KeyH\":return\"\\b\";case\"KeyI\":return\"\\t\";case\"KeyJ\":return\"\\n\";case\"KeyK\":return\"\\v\";case\"KeyL\":return\"\\f\";case\"KeyM\":return\"\\r\";case\"KeyN\":return\"\\x0e\";case\"KeyO\":return\"\\x0f\";case\"KeyP\":return\"\\x10\";case\"KeyQ\":return\"\\x11\";case\"KeyR\":return\"\\x12\";case\"KeyS\":return\"\\x13\";case\"KeyT\":return\"\\x14\";case\"KeyU\":return\"\\x15\";case\"KeyV\":return\"\\x16\";case\"KeyW\":return\"\\x17\";case\"KeyX\":return\"\\x18\";case\"KeyY\":return\"\\x19\";case\"KeyZ\":return\"\\x1a\";case\"BracketLeft\":return\"\\x1b\";case\"Backslash\":return\"\\x1c\";case\"BracketRight\":return\"\\x1d\";case\"Digit6\":if(t.shift)return\"\\x1e\";break;case\"Minus\":return\"\\x1f\"}return\"\"}if(t.alt)return\"\"};function Qe(e){switch(e){case 0:return\"left\";case 1:return\"middle\";case 2:return\"right\";case 3:return\"back\";case 4:return\"forward\";default:return\"none\"}}Object.defineProperty(ke,\"__esModule\",{value:!0}),ke.InputProcessor=void 0;const et=h,tt=Re,at=Ue;class nt{#d;#lt=new tt.InputStateManager;constructor(e){this.#d=e}static create(e){return new nt(e)}async performActions(e){const t=this.#d.getContext(e.context),a=this.#lt.get(t.top),n=this.#ut(e,a),r=new at.ActionDispatcher(a,t,await at.ActionDispatcher.isMacOS(t).catch((()=>!1)));return await r.dispatchActions(n),{}}async releaseActions(e){const t=this.#d.getContext(e.context),a=t.top,n=this.#lt.get(a),r=new at.ActionDispatcher(n,t,await at.ActionDispatcher.isMacOS(t).catch((()=>!1)));return await r.dispatchTickActions(n.cancelList.reverse()),this.#lt.delete(a),{}}#ut(e,t){const a=[];for(const n of e.actions){switch(n.type){case\"pointer\":{n.parameters??={pointerType:\"mouse\"},n.parameters.pointerType??=\"mouse\";const e=t.getOrCreate(n.id,\"pointer\",n.parameters.pointerType);if(e.subtype!==n.parameters.pointerType)throw new et.InvalidArgumentException(`Expected input source ${n.id} to be ${e.subtype}; got ${n.parameters.pointerType}.`);break}default:t.getOrCreate(n.id,n.type)}const e=n.actions.map((e=>({id:n.id,action:e})));for(let t=0;t<e.length;t++)a.length===t&&a.push([]),a[t].push(e[t])}return a}}ke.InputProcessor=nt;var rt={};Object.defineProperty(rt,\"__esModule\",{value:!0}),rt.PreloadScriptStorage=void 0;rt.PreloadScriptStorage=class{#mt=new Set;findPreloadScripts(e){return e?[...this.#mt].filter((t=>(void 0===e.id||e.id===t.id)&&!(void 0!==e.targetId&&!t.targetIds.has(e.targetId)))):[...this.#mt]}addPreloadScript(e){this.#mt.add(e)}removeBiDiPreloadScripts(e){for(const t of this.findPreloadScripts(e))this.#mt.delete(t)}};var st={},ot={};Object.defineProperty(ot,\"__esModule\",{value:!0}),ot.BidiPreloadScript=void 0;const it=D,ct=B;ot.BidiPreloadScript=class{#f=(0,it.uuidv4)();#pt=[];#ht;#ft=new Set;#gt;#yt;get id(){return this.#f}get targetIds(){return this.#ft}constructor(e){this.#gt=e.arguments?.map((e=>new ct.ChannelProxy(e.value)))??[],this.#ht=e.functionDeclaration,this.#yt=e.sandbox}get channels(){return this.#gt}#vt(){const e=`[${this.channels.map((e=>e.getEvalInWindowStr())).join(\", \")}]`;return`(()=>{(${this.#ht})(...${e})})()`}async initInTargets(e,t){await Promise.all(Array.from(e).map((e=>this.initInTarget(e,t))))}async initInTarget(e,t){const a=await e.cdpClient.sendCommand(\"Page.addScriptToEvaluateOnNewDocument\",{source:this.#vt(),worldName:this.#yt,runImmediately:t});this.#pt.push({target:e,preloadScriptId:a.identifier}),this.#ft.add(e.targetId)}async remove(){for(const e of this.#pt){const t=e.target,a=e.preloadScriptId;await t.cdpClient.sendCommand(\"Page.removeScriptToEvaluateOnNewDocument\",{identifier:a})}}dispose(e){this.#pt=this.#pt.filter((t=>t.target?.targetId!==e)),this.#ft.delete(e)}},Object.defineProperty(st,\"__esModule\",{value:!0}),st.ScriptProcessor=void 0;const dt=h,lt=ot;st.ScriptProcessor=class{#d;#C;#Te;constructor(e,t,a){this.#d=e,this.#C=t,this.#Te=a}async addPreloadScript(e){const t=new lt.BidiPreloadScript(e);this.#Te.addPreloadScript(t);const a=new Set(this.#d.getTopLevelContexts().map((e=>e.cdpTarget)));return await t.initInTargets(a,!1),{script:t.id}}async removePreloadScript(e){const t=e.script,a=this.#Te.findPreloadScripts({id:t});if(0===a.length)throw new dt.NoSuchScriptException(`No preload script with BiDi ID '${t}'`);return await Promise.all(a.map((e=>e.remove()))),this.#Te.removeBiDiPreloadScripts({id:t}),{}}async callFunction(e){return(await this.#St(e.target)).callFunction(e.functionDeclaration,e.this??{type:\"undefined\"},e.arguments??[],e.awaitPromise,e.resultOwnership??\"none\",e.serializationOptions??{},e.userActivation??!1)}async evaluate(e){return(await this.#St(e.target)).evaluate(e.expression,e.awaitPromise,e.resultOwnership??\"none\",e.serializationOptions??{},e.userActivation??!1)}async disown(e){const t=await this.#St(e.target);return await Promise.all(e.handles.map((async e=>t.disown(e)))),{}}getRealms(e){void 0!==e.context&&this.#d.getContext(e.context);const t=this.#C.findRealms({browsingContextId:e.context,type:e.type}).map((e=>e.realmInfo));return{realms:t}}async#St(e){if(\"realm\"in e)return this.#C.getRealm({realmId:e.realm});return this.#d.getContext(e.context).getOrCreateSandbox(e.sandbox)}};var ut={};Object.defineProperty(ut,\"__esModule\",{value:!0}),ut.SessionProcessor=void 0;ut.SessionProcessor=class{#T;constructor(e){this.#T=e}status(){return{ready:!1,message:\"already connected\"}}async subscribe(e,t=null){return await this.#T.subscribe(e.events,e.contexts??[null],t),{}}async unsubscribe(e,t=null){return await this.#T.unsubscribe(e.events,e.contexts??[null],t),{}}},Object.defineProperty(p,\"__esModule\",{value:!0}),p.CommandProcessor=void 0;const mt=h,pt=s,ht=l,ft=I,gt=P,yt=E,vt=T,St=k,bt=ke,Ct=rt,wt=st,xt=ut;class It extends pt.EventEmitter{#bt;#Ct;#wt;#xt;#It;#Pt;#_t;#t;constructor(e,t,a,n,r,s=new ft.BidiNoOpParser,o){super(),this.#_t=s,this.#t=o;const i=new Ct.PreloadScriptStorage;this.#bt=new yt.BrowserProcessor(e),this.#Ct=new St.BrowsingContextProcessor(e,a,t,n,r,i,o),this.#wt=bt.InputProcessor.create(n),this.#xt=new wt.ScriptProcessor(n,r,i),this.#It=new xt.SessionProcessor(t),this.#Pt=new vt.CdpProcessor(n,e)}async#Et(e){switch(e.method){case\"session.end\":case\"session.new\":break;case\"browser.close\":return this.#bt.close();case\"browsingContext.activate\":return this.#Ct.activate(this.#_t.parseActivateParams(e.params));case\"browsingContext.captureScreenshot\":return this.#Ct.captureScreenshot(this.#_t.parseCaptureScreenshotParams(e.params));case\"browsingContext.close\":return this.#Ct.close(this.#_t.parseCloseParams(e.params));case\"browsingContext.create\":return this.#Ct.create(this.#_t.parseCreateParams(e.params));case\"browsingContext.getTree\":return this.#Ct.getTree(this.#_t.parseGetTreeParams(e.params));case\"browsingContext.handleUserPrompt\":return this.#Ct.handleUserPrompt(this.#_t.parseHandleUserPromptParams(e.params));case\"browsingContext.navigate\":return this.#Ct.navigate(this.#_t.parseNavigateParams(e.params));case\"browsingContext.print\":return this.#Ct.print(this.#_t.parsePrintParams(e.params));case\"browsingContext.reload\":return this.#Ct.reload(this.#_t.parseReloadParams(e.params));case\"browsingContext.setViewport\":return this.#Ct.setViewport(this.#_t.parseSetViewportParams(e.params));case\"cdp.getSession\":return this.#Pt.getSession(this.#_t.parseGetSessionParams(e.params));case\"cdp.sendCommand\":return this.#Pt.sendCommand(this.#_t.parseSendCommandParams(e.params));case\"input.performActions\":return this.#wt.performActions(this.#_t.parsePerformActionsParams(e.params));case\"input.releaseActions\":return this.#wt.releaseActions(this.#_t.parseReleaseActionsParams(e.params));case\"script.addPreloadScript\":return this.#xt.addPreloadScript(this.#_t.parseAddPreloadScriptParams(e.params));case\"script.callFunction\":return this.#xt.callFunction(this.#_t.parseCallFunctionParams(e.params));case\"script.disown\":return this.#xt.disown(this.#_t.parseDisownParams(e.params));case\"script.evaluate\":return this.#xt.evaluate(this.#_t.parseEvaluateParams(e.params));case\"script.getRealms\":return this.#xt.getRealms(this.#_t.parseGetRealmsParams(e.params));case\"script.removePreloadScript\":return this.#xt.removePreloadScript(this.#_t.parseRemovePreloadScriptParams(e.params));case\"session.status\":return this.#It.status();case\"session.subscribe\":return this.#It.subscribe(this.#_t.parseSubscribeParams(e.params),e.channel);case\"session.unsubscribe\":return this.#It.unsubscribe(this.#_t.parseSubscribeParams(e.params),e.channel)}throw new mt.UnknownCommandException(`Unknown command '${e.method}'.`)}async processCommand(e){try{const t=await this.#Et(e),a={type:\"success\",id:e.id,result:t};this.emit(\"response\",gt.OutgoingBidiMessage.createResolved(a,e.channel))}catch(t){if(t instanceof mt.Exception){const a=t;this.emit(\"response\",gt.OutgoingBidiMessage.createResolved(a.toErrorResponse(e.id),e.channel))}else{const a=t;this.#t?.(ht.LogType.bidi,a),this.emit(\"response\",gt.OutgoingBidiMessage.createResolved(new mt.UnknownErrorException(a.message,a.stack).toErrorResponse(e.id),e.channel))}}}}p.CommandProcessor=It;var Pt={};Object.defineProperty(Pt,\"__esModule\",{value:!0}),Pt.BrowsingContextStorage=void 0;const _t=h;Pt.BrowsingContextStorage=class{#Tt=new Map;getTopLevelContexts(){return this.getAllContexts().filter((e=>e.isTopLevelContext()))}getAllContexts(){return Array.from(this.#Tt.values())}deleteContextById(e){this.#Tt.delete(e)}deleteContext(e){this.#Tt.delete(e.id)}addContext(e){this.#Tt.set(e.id,e)}hasContext(e){return this.#Tt.has(e)}findContext(e){return this.#Tt.get(e)}findTopLevelContextId(e){if(null===e)return null;const t=this.findContext(e),a=t?.parentId??null;return null===a?e:this.findTopLevelContextId(a)}getContext(e){const t=this.findContext(e);if(void 0===t)throw new _t.NoSuchFrameException(`Context ${e} not found`);return t}};var Et={},Tt={};Object.defineProperty(Tt,\"__esModule\",{value:!0}),Tt.Buffer=void 0;Tt.Buffer=class{#kt;#Rt=[];#Nt;constructor(e,t){this.#kt=e,this.#Nt=t}get(){return this.#Rt}add(e){for(this.#Rt.push(e);this.#Rt.length>this.#kt;){const e=this.#Rt.shift();void 0!==e&&this.#Nt?.(e)}}};var kt={};Object.defineProperty(kt,\"__esModule\",{value:!0}),kt.IdWrapper=void 0;class Rt{static#jt=0;#f;constructor(){this.#f=++Rt.#jt}get id(){return this.#f}}kt.IdWrapper=Rt;var Nt={};Object.defineProperty(Nt,\"__esModule\",{value:!0}),Nt.SubscriptionManager=Nt.unrollEvents=Nt.cartesianProduct=void 0;const jt=h;function Ot(...e){return e.reduce(((e,t)=>e.flatMap((e=>t.map((t=>[e,t].flat()))))))}function Mt(e){const t=new Set;function a(e){for(const a of e)t.add(a)}for(const n of e)switch(n){case jt.ChromiumBidi.BrowsingContext.EventNames.AllBrowsingContextEvent:a(Object.values(jt.ChromiumBidi.BrowsingContext.EventNames).filter((e=>e!==jt.ChromiumBidi.BrowsingContext.EventNames.AllBrowsingContextEvent)));break;case jt.ChromiumBidi.Log.EventNames.AllLogEvent:a(Object.values(jt.ChromiumBidi.Log.EventNames).filter((e=>e!==jt.ChromiumBidi.Log.EventNames.AllLogEvent)));break;case jt.ChromiumBidi.Network.EventNames.AllNetworkEvent:a(Object.values(jt.ChromiumBidi.Network.EventNames).filter((e=>e!==jt.ChromiumBidi.Network.EventNames.AllNetworkEvent)));break;case jt.ChromiumBidi.Script.EventNames.AllScriptEvent:a(Object.values(jt.ChromiumBidi.Script.EventNames).filter((e=>e!==jt.ChromiumBidi.Script.EventNames.AllScriptEvent)));break;default:t.add(n)}return[...t.values()]}Nt.cartesianProduct=Ot,Nt.unrollEvents=Mt;Nt.SubscriptionManager=class{#Ot=0;#Mt=new Map;#d;constructor(e){this.#d=e}getChannelsSubscribedToEvent(e,t){return Array.from(this.#Mt.keys()).map((a=>({priority:this.#Bt(e,t,a),channel:a}))).filter((({priority:e})=>null!==e)).sort(((e,t)=>e.priority-t.priority)).map((({channel:e})=>e))}#Bt(e,t,a){const n=this.#Mt.get(a);if(void 0===n)return null;const r=this.#d.findTopLevelContextId(t),s=[...new Set([null,r])].map((t=>n.get(t)?.get(e))).filter((e=>void 0!==e));return 0===s.length?null:Math.min(...s)}subscribe(e,t,a){switch(t=this.#d.findTopLevelContextId(t),e){case jt.ChromiumBidi.BrowsingContext.EventNames.AllBrowsingContextEvent:return void Object.values(jt.ChromiumBidi.BrowsingContext.EventNames).filter((e=>e!==jt.ChromiumBidi.BrowsingContext.EventNames.AllBrowsingContextEvent)).map((e=>this.subscribe(e,t,a)));case jt.ChromiumBidi.Log.EventNames.AllLogEvent:return void Object.values(jt.ChromiumBidi.Log.EventNames).filter((e=>e!==jt.ChromiumBidi.Log.EventNames.AllLogEvent)).map((e=>this.subscribe(e,t,a)));case jt.ChromiumBidi.Network.EventNames.AllNetworkEvent:return void Object.values(jt.ChromiumBidi.Network.EventNames).filter((e=>e!==jt.ChromiumBidi.Network.EventNames.AllNetworkEvent)).map((e=>this.subscribe(e,t,a)));case jt.ChromiumBidi.Script.EventNames.AllScriptEvent:return void Object.values(jt.ChromiumBidi.Script.EventNames).filter((e=>e!==jt.ChromiumBidi.Script.EventNames.AllScriptEvent)).map((e=>this.subscribe(e,t,a)))}this.#Mt.has(a)||this.#Mt.set(a,new Map);const n=this.#Mt.get(a);n.has(t)||n.set(t,new Map);const r=n.get(t);r.has(e)||r.set(e,this.#Ot++)}unsubscribeAll(e,t,a){for(const e of t)null!==e&&this.#d.getContext(e);Ot(Mt(e),t).map((([e,t])=>this.#Dt(e,t,a))).forEach((e=>e()))}unsubscribe(e,t,a){this.unsubscribeAll([e],[t],a)}#Dt(e,t,a){if(t=this.#d.findTopLevelContextId(t),!this.#Mt.has(a))throw new jt.InvalidArgumentException(`Cannot unsubscribe from ${e}, ${null===t?\"null\":t}. No subscription found.`);const n=this.#Mt.get(a);if(!n.has(t))throw new jt.InvalidArgumentException(`Cannot unsubscribe from ${e}, ${null===t?\"null\":t}. No subscription found.`);const r=n.get(t);if(!r.has(e))throw new jt.InvalidArgumentException(`Cannot unsubscribe from ${e}, ${null===t?\"null\":t}. No subscription found.`);return()=>{r.delete(e),0===r.size&&n.delete(e),0===n.size&&this.#Mt.delete(a)}}},Object.defineProperty(Et,\"__esModule\",{value:!0}),Et.EventManager=void 0;const Bt=h,Dt=me,At=Tt,zt=kt,Zt=P,Lt=Nt;class Vt{#At=new zt.IdWrapper;#zt;#Zt;constructor(e,t){this.#Zt=e,this.#zt=t}get id(){return this.#At.id}get contextId(){return this.#zt}get event(){return this.#Zt}}const Ut=new Map([[Bt.ChromiumBidi.Log.EventNames.LogEntryAddedEvent,100]]);class Ft{#Lt=new Dt.DefaultMap((()=>new Set));#Vt=new Map;#Ut=new Map;#Ft;#Kt;constructor(e){this.#Kt=e,this.#Ft=new Lt.SubscriptionManager(e.getBrowsingContextStorage())}static#qt(e,t,a){return JSON.stringify({eventName:e,browsingContext:t,channel:a})}registerEvent(e,t){this.registerPromiseEvent(Promise.resolve({kind:\"success\",value:e}),t,e.method)}registerPromiseEvent(e,t,a){const n=new Vt(e,t),r=this.#Ft.getChannelsSubscribedToEvent(a,t);this.#$t(n,a);for(const t of r)this.#Kt.emitOutgoingMessage(Zt.OutgoingBidiMessage.createFromPromise(e,t)),this.#Wt(n,t,a)}subscribe(e,t,a){for(const t of e)qt(t);for(const e of t)null!==e&&this.#Kt.getBrowsingContextStorage().getContext(e);for(const n of e)for(const e of t){this.#Ft.subscribe(n,e,a);for(const t of this.#Jt(n,e,a))this.#Kt.emitOutgoingMessage(Zt.OutgoingBidiMessage.createFromPromise(t.event,a)),this.#Wt(t,a,n)}}unsubscribe(e,t,a){for(const t of e)qt(t);this.#Ft.unsubscribeAll(e,t,a)}#$t(e,t){if(!Ut.has(t))return;const a=Ft.#qt(t,e.contextId);this.#Vt.has(a)||this.#Vt.set(a,new At.Buffer(Ut.get(t))),this.#Vt.get(a).add(e),this.#Lt.get(t).add(e.contextId)}#Wt(e,t,a){if(!Ut.has(a))return;const n=Ft.#qt(a,e.contextId,t);this.#Ut.set(n,Math.max(this.#Ut.get(n)??0,e.id))}#Jt(e,t,a){const n=Ft.#qt(e,t),r=Ft.#qt(e,t,a),s=this.#Ut.get(r)??-1/0,o=this.#Vt.get(n)?.get().filter((e=>e.id>s))??[];return null===t&&Array.from(this.#Lt.get(e).keys()).filter((e=>null!==e&&this.#Kt.getBrowsingContextStorage().hasContext(e))).map((t=>this.#Jt(e,t,a))).forEach((e=>o.push(...e))),o.sort(((e,t)=>e.id-t.id))}}Et.EventManager=Ft;const Kt=new Set([...Object.values(Bt.ChromiumBidi.BrowsingContext.EventNames),...Object.values(Bt.ChromiumBidi.Log.EventNames),...Object.values(Bt.ChromiumBidi.Network.EventNames),...Object.values(Bt.ChromiumBidi.Script.EventNames)]);function qt(e){if(!Kt.has(e)&&!e.startsWith(\"cdp.\")&&\"cdp\"!==e)throw new Bt.InvalidArgumentException(`Unknown event: ${e}`)}var $t={};Object.defineProperty($t,\"__esModule\",{value:!0}),$t.RealmStorage=void 0;const Wt=h;$t.RealmStorage=class{#Ht=new Map;#Gt=new Map;get knownHandlesToRealmMap(){return this.#Ht}addRealm(e){this.#Gt.set(e.realmId,e)}findRealms(e){return Array.from(this.#Gt.values()).filter((t=>(void 0===e.realmId||e.realmId===t.realmId)&&((void 0===e.browsingContextId||e.browsingContextId===t.browsingContextId)&&((void 0===e.navigableId||e.navigableId===t.navigableId)&&((void 0===e.executionContextId||e.executionContextId===t.executionContextId)&&((void 0===e.origin||e.origin===t.origin)&&((void 0===e.type||e.type===t.type)&&((void 0===e.sandbox||e.sandbox===t.sandbox)&&(void 0===e.cdpSessionId||e.cdpSessionId===t.cdpClient.sessionId)))))))))}findRealm(e){const t=this.findRealms(e);if(1===t.length)return t[0]}getRealm(e){const t=this.findRealm(e);if(void 0===t)throw new Wt.NoSuchFrameException(`Realm ${JSON.stringify(e)} not found`);return t}deleteRealms(e){this.findRealms(e).map((e=>{e.dispose(),this.#Gt.delete(e.realmId),Array.from(this.knownHandlesToRealmMap.entries()).filter((([,t])=>t===e.realmId)).map((([e])=>this.knownHandlesToRealmMap.delete(e)))}))}},Object.defineProperty(r,\"__esModule\",{value:!0}),r.BidiServer=void 0;const Jt=s,Ht=l,Gt=u,Xt=p,Yt=Pt,Qt=Et,ea=$t;class ta extends Jt.EventEmitter{#Xt;#Yt;#Qt;#d=new Yt.BrowsingContextStorage;#t;#ea=e=>{this.#Qt.processCommand(e).catch((e=>{this.#t?.(Ht.LogType.system,e)}))};#ta=async e=>{const t=e.message;null!==e.channel&&(t.channel=e.channel),await this.#Yt.sendMessage(t)};constructor(e,t,a,n,r){super(),this.#t=r,this.#Xt=new Gt.ProcessingQueue(this.#ta,this.#t),this.#Yt=e,this.#Yt.setOnMessage(this.#ea),this.#Qt=new Xt.CommandProcessor(t,new Qt.EventManager(this),a,this.#d,new ea.RealmStorage,n,this.#t),this.#Qt.on(\"response\",(e=>{this.emitOutgoingMessage(e)}))}static async createAndStart(e,t,a,n,r){const s=new ta(e,t,a,n,r),o=t.browserClient();return await o.sendCommand(\"Target.setDiscoverTargets\",{discover:!0}),await o.sendCommand(\"Target.setAutoAttach\",{autoAttach:!0,waitForDebuggerOnStart:!0,flatten:!0}),await s.#aa(),s}emitOutgoingMessage(e){this.#Xt.add(e)}close(){this.#Yt.close()}getBrowsingContextStorage(){return this.#d}async#aa(){await Promise.all(this.#d.getTopLevelContexts().map((e=>e.lifecycleLoaded())))}}r.BidiServer=ta,function(e){Object.defineProperty(e,\"__esModule\",{value:!0}),e.OutgoingBidiMessage=e.EventEmitter=e.BidiServer=void 0;var t=r;Object.defineProperty(e,\"BidiServer\",{enumerable:!0,get:function(){return t.BidiServer}});var a=s;Object.defineProperty(e,\"EventEmitter\",{enumerable:!0,get:function(){return a.EventEmitter}});var n=P;Object.defineProperty(e,\"OutgoingBidiMessage\",{enumerable:!0,get:function(){return n.OutgoingBidiMessage}})}(n);var aa={},na={};Object.defineProperty(na,\"__esModule\",{value:!0}),na.CdpClient=na.CloseError=void 0;const ra=s;class sa extends Error{}na.CloseError=sa;class oa extends ra.EventEmitter{#c;#na;constructor(e,t){super(),this.#c=e,this.#na=t}get sessionId(){return this.#na}browserClient(){return this.#c.browserClient()}sendCommand(e,...t){return this.#c.sendCommand(e,t[0],this.#na)}isCloseError(e){return e instanceof sa}}na.CdpClient=oa,Object.defineProperty(aa,\"__esModule\",{value:!0}),aa.CdpConnection=void 0;const ia=l,ca=na;aa.CdpConnection=class{#Yt;#ra;#sa=new Map;#oa=new Map;#t;#ia=0;constructor(e,t){this.#Yt=e,this.#t=t,this.#Yt.setOnMessage(this.#ca),this.#ra=new ca.CdpClient(this,void 0)}close(){this.#Yt.close();for(const[,{reject:e,error:t}]of this.#oa)e(t);this.#oa.clear(),this.#sa.clear()}browserClient(){return this.#ra}getCdpClient(e){const t=this.#sa.get(e);if(!t)throw new Error(\"Unknown CDP session ID\");return t}sendCommand(e,t,a){return new Promise(((n,r)=>{const s=this.#ia++;this.#oa.set(s,{resolve:n,reject:r,error:new ca.CloseError(`${e} ${JSON.stringify(t)} ${a??\"\"} call rejected because the connection has been closed.`)});const o={id:s,method:e,params:t};a&&(o.sessionId=a);const i=JSON.stringify(o);this.#Yt.sendMessage(i)?.catch((e=>{this.#t?.(`${ia.LogType.cdp}:ERROR`,e),this.#Yt.close()})),this.#t?.(`${ia.LogType.cdp}:SEND \\u25b8`,JSON.stringify(o,null,2))}))}#ca=e=>{const t=JSON.parse(e),a=JSON.stringify(t,null,2);if(this.#t?.(`${ia.LogType.cdp}:RECV \\u25c2`,a),\"Target.attachedToTarget\"===t.method){const{sessionId:e}=t.params;this.#sa.set(e,new ca.CdpClient(this,e))}if(void 0!==t.id){const e=this.#oa.get(t.id);this.#oa.delete(t.id),e&&(t.result?e.resolve(t.result):t.error&&e.reject(t.error))}else if(t.method){const e=t.sessionId?this.#sa.get(t.sessionId):this.#ra;if(e?.emit(t.method,t.params||{}),\"Target.detachedFromTarget\"===t.method){const{sessionId:e}=t.params,a=this.#sa.get(e);a&&(this.#sa.delete(e),a.removeAllListeners())}}}};var da={},la={},ua={},ma={},pa={},ha={},fa={};!function(e){var t;Object.defineProperty(e,\"__esModule\",{value:!0}),e.getParsedType=e.ZodParsedType=e.objectUtil=e.util=void 0,function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const a of e)t[a]=a;return t},e.getValidEnumValues=t=>{const a=e.objectKeys(t).filter((e=>\"number\"!=typeof t[t[e]])),n={};for(const e of a)n[e]=t[e];return e.objectValues(n)},e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]})),e.objectKeys=\"function\"==typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.push(a);return t},e.find=(e,t)=>{for(const a of e)if(t(a))return a},e.isInteger=\"function\"==typeof Number.isInteger?e=>Number.isInteger(e):e=>\"number\"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=\" | \"){return e.map((e=>\"string\"==typeof e?`'${e}'`:e)).join(t)},e.jsonStringifyReplacer=(e,t)=>\"bigint\"==typeof t?t.toString():t}(t=e.util||(e.util={})),(e.objectUtil||(e.objectUtil={})).mergeShapes=(e,t)=>({...e,...t}),e.ZodParsedType=t.arrayToEnum([\"string\",\"nan\",\"number\",\"integer\",\"float\",\"boolean\",\"date\",\"bigint\",\"symbol\",\"function\",\"undefined\",\"null\",\"array\",\"object\",\"unknown\",\"promise\",\"void\",\"never\",\"map\",\"set\"]);e.getParsedType=t=>{switch(typeof t){case\"undefined\":return e.ZodParsedType.undefined;case\"string\":return e.ZodParsedType.string;case\"number\":return isNaN(t)?e.ZodParsedType.nan:e.ZodParsedType.number;case\"boolean\":return e.ZodParsedType.boolean;case\"function\":return e.ZodParsedType.function;case\"bigint\":return e.ZodParsedType.bigint;case\"symbol\":return e.ZodParsedType.symbol;case\"object\":return Array.isArray(t)?e.ZodParsedType.array:null===t?e.ZodParsedType.null:t.then&&\"function\"==typeof t.then&&t.catch&&\"function\"==typeof t.catch?e.ZodParsedType.promise:\"undefined\"!=typeof Map&&t instanceof Map?e.ZodParsedType.map:\"undefined\"!=typeof Set&&t instanceof Set?e.ZodParsedType.set:\"undefined\"!=typeof Date&&t instanceof Date?e.ZodParsedType.date:e.ZodParsedType.object;default:return e.ZodParsedType.unknown}}}(fa);var ga={};Object.defineProperty(ga,\"__esModule\",{value:!0}),ga.ZodError=ga.quotelessJson=ga.ZodIssueCode=void 0;const ya=fa;ga.ZodIssueCode=ya.util.arrayToEnum([\"invalid_type\",\"invalid_literal\",\"custom\",\"invalid_union\",\"invalid_union_discriminator\",\"invalid_enum_value\",\"unrecognized_keys\",\"invalid_arguments\",\"invalid_return_type\",\"invalid_date\",\"invalid_string\",\"too_small\",\"too_big\",\"invalid_intersection_types\",\"not_multiple_of\",\"not_finite\"]);ga.quotelessJson=e=>JSON.stringify(e,null,2).replace(/\"([^\"]+)\":/g,\"$1:\");class va extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name=\"ZodError\",this.issues=e}get errors(){return this.issues}format(e){const t=e||function(e){return e.message},a={_errors:[]},n=e=>{for(const r of e.issues)if(\"invalid_union\"===r.code)r.unionErrors.map(n);else if(\"invalid_return_type\"===r.code)n(r.returnTypeError);else if(\"invalid_arguments\"===r.code)n(r.argumentsError);else if(0===r.path.length)a._errors.push(t(r));else{let e=a,n=0;for(;n<r.path.length;){const a=r.path[n];n===r.path.length-1?(e[a]=e[a]||{_errors:[]},e[a]._errors.push(t(r))):e[a]=e[a]||{_errors:[]},e=e[a],n++}}};return n(this),a}toString(){return this.message}get message(){return JSON.stringify(this.issues,ya.util.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=(e=>e.message)){const t={},a=[];for(const n of this.issues)n.path.length>0?(t[n.path[0]]=t[n.path[0]]||[],t[n.path[0]].push(e(n))):a.push(e(n));return{formErrors:a,fieldErrors:t}}get formErrors(){return this.flatten()}}ga.ZodError=va,va.create=e=>new va(e),Object.defineProperty(ha,\"__esModule\",{value:!0});const Sa=fa,ba=ga;ha.default=(e,t)=>{let a;switch(e.code){case ba.ZodIssueCode.invalid_type:a=e.received===Sa.ZodParsedType.undefined?\"Required\":`Expected ${e.expected}, received ${e.received}`;break;case ba.ZodIssueCode.invalid_literal:a=`Invalid literal value, expected ${JSON.stringify(e.expected,Sa.util.jsonStringifyReplacer)}`;break;case ba.ZodIssueCode.unrecognized_keys:a=`Unrecognized key(s) in object: ${Sa.util.joinValues(e.keys,\", \")}`;break;case ba.ZodIssueCode.invalid_union:a=\"Invalid input\";break;case ba.ZodIssueCode.invalid_union_discriminator:a=`Invalid discriminator value. Expected ${Sa.util.joinValues(e.options)}`;break;case ba.ZodIssueCode.invalid_enum_value:a=`Invalid enum value. Expected ${Sa.util.joinValues(e.options)}, received '${e.received}'`;break;case ba.ZodIssueCode.invalid_arguments:a=\"Invalid function arguments\";break;case ba.ZodIssueCode.invalid_return_type:a=\"Invalid function return type\";break;case ba.ZodIssueCode.invalid_date:a=\"Invalid date\";break;case ba.ZodIssueCode.invalid_string:\"object\"==typeof e.validation?\"includes\"in e.validation?(a=`Invalid input: must include \"${e.validation.includes}\"`,\"number\"==typeof e.validation.position&&(a=`${a} at one or more positions greater than or equal to ${e.validation.position}`)):\"startsWith\"in e.validation?a=`Invalid input: must start with \"${e.validation.startsWith}\"`:\"endsWith\"in e.validation?a=`Invalid input: must end with \"${e.validation.endsWith}\"`:Sa.util.assertNever(e.validation):a=\"regex\"!==e.validation?`Invalid ${e.validation}`:\"Invalid\";break;case ba.ZodIssueCode.too_small:a=\"array\"===e.type?`Array must contain ${e.exact?\"exactly\":e.inclusive?\"at least\":\"more than\"} ${e.minimum} element(s)`:\"string\"===e.type?`String must contain ${e.exact?\"exactly\":e.inclusive?\"at least\":\"over\"} ${e.minimum} character(s)`:\"number\"===e.type?`Number must be ${e.exact?\"exactly equal to \":e.inclusive?\"greater than or equal to \":\"greater than \"}${e.minimum}`:\"date\"===e.type?`Date must be ${e.exact?\"exactly equal to \":e.inclusive?\"greater than or equal to \":\"greater than \"}${new Date(Number(e.minimum))}`:\"Invalid input\";break;case ba.ZodIssueCode.too_big:a=\"array\"===e.type?`Array must contain ${e.exact?\"exactly\":e.inclusive?\"at most\":\"less than\"} ${e.maximum} element(s)`:\"string\"===e.type?`String must contain ${e.exact?\"exactly\":e.inclusive?\"at most\":\"under\"} ${e.maximum} character(s)`:\"number\"===e.type?`Number must be ${e.exact?\"exactly\":e.inclusive?\"less than or equal to\":\"less than\"} ${e.maximum}`:\"bigint\"===e.type?`BigInt must be ${e.exact?\"exactly\":e.inclusive?\"less than or equal to\":\"less than\"} ${e.maximum}`:\"date\"===e.type?`Date must be ${e.exact?\"exactly\":e.inclusive?\"smaller than or equal to\":\"smaller than\"} ${new Date(Number(e.maximum))}`:\"Invalid input\";break;case ba.ZodIssueCode.custom:a=\"Invalid input\";break;case ba.ZodIssueCode.invalid_intersection_types:a=\"Intersection results could not be merged\";break;case ba.ZodIssueCode.not_multiple_of:a=`Number must be a multiple of ${e.multipleOf}`;break;case ba.ZodIssueCode.not_finite:a=\"Number must be finite\";break;default:a=t.defaultError,Sa.util.assertNever(e)}return{message:a}};var Ca=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(pa,\"__esModule\",{value:!0}),pa.getErrorMap=pa.setErrorMap=pa.defaultErrorMap=void 0;const wa=Ca(ha);pa.defaultErrorMap=wa.default;let xa=wa.default;pa.setErrorMap=function(e){xa=e},pa.getErrorMap=function(){return xa};var Ia={};!function(t){var a=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.isAsync=t.isValid=t.isDirty=t.isAborted=t.OK=t.DIRTY=t.INVALID=t.ParseStatus=t.addIssueToContext=t.EMPTY_PATH=t.makeIssue=void 0;const n=pa,r=a(ha);t.makeIssue=e=>{const{data:t,path:a,errorMaps:n,issueData:r}=e,s=[...a,...r.path||[]],o={...r,path:s};let i=\"\";const c=n.filter((e=>!!e)).slice().reverse();for(const e of c)i=e(o,{data:t,defaultError:i}).message;return{...r,path:s,message:r.message||i}},t.EMPTY_PATH=[],t.addIssueToContext=function(e,a){const s=(0,t.makeIssue)({issueData:a,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,(0,n.getErrorMap)(),r.default].filter((e=>!!e))});e.common.issues.push(s)};class s{constructor(){this.value=\"valid\"}dirty(){\"valid\"===this.value&&(this.value=\"dirty\")}abort(){\"aborted\"!==this.value&&(this.value=\"aborted\")}static mergeArray(e,a){const n=[];for(const r of a){if(\"aborted\"===r.status)return t.INVALID;\"dirty\"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const a=[];for(const e of t)a.push({key:await e.key,value:await e.value});return s.mergeObjectSync(e,a)}static mergeObjectSync(e,a){const n={};for(const r of a){const{key:a,value:s}=r;if(\"aborted\"===a.status)return t.INVALID;if(\"aborted\"===s.status)return t.INVALID;\"dirty\"===a.status&&e.dirty(),\"dirty\"===s.status&&e.dirty(),(void 0!==s.value||r.alwaysSet)&&(n[a.value]=s.value)}return{status:e.value,value:n}}}t.ParseStatus=s,t.INVALID=Object.freeze({status:\"aborted\"});t.DIRTY=e=>({status:\"dirty\",value:e});t.OK=e=>({status:\"valid\",value:e});t.isAborted=e=>\"aborted\"===e.status;t.isDirty=e=>\"dirty\"===e.status;t.isValid=e=>\"valid\"===e.status;t.isAsync=e=>\"undefined\"!=typeof Promise&&e instanceof Promise}(Ia);var Pa={};Object.defineProperty(Pa,\"__esModule\",{value:!0});var _a,Ea={},Ta={};_a=Ta,Object.defineProperty(_a,\"__esModule\",{value:!0}),_a.errorUtil=void 0,function(e){e.errToObj=e=>\"string\"==typeof e?{message:e}:e||{},e.toString=e=>\"string\"==typeof e?e:null==e?void 0:e.message}(_a.errorUtil||(_a.errorUtil={})),function(e){Object.defineProperty(e,\"__esModule\",{value:!0}),e.discriminatedUnion=e.date=e.boolean=e.bigint=e.array=e.any=e.coerce=e.ZodFirstPartyTypeKind=e.late=e.ZodSchema=e.Schema=e.custom=e.ZodPipeline=e.ZodBranded=e.BRAND=e.ZodNaN=e.ZodCatch=e.ZodDefault=e.ZodNullable=e.ZodOptional=e.ZodTransformer=e.ZodEffects=e.ZodPromise=e.ZodNativeEnum=e.ZodEnum=e.ZodLiteral=e.ZodLazy=e.ZodFunction=e.ZodSet=e.ZodMap=e.ZodRecord=e.ZodTuple=e.ZodIntersection=e.ZodDiscriminatedUnion=e.ZodUnion=e.ZodObject=e.ZodArray=e.ZodVoid=e.ZodNever=e.ZodUnknown=e.ZodAny=e.ZodNull=e.ZodUndefined=e.ZodSymbol=e.ZodDate=e.ZodBoolean=e.ZodBigInt=e.ZodNumber=e.ZodString=e.ZodType=void 0,e.NEVER=e.void=e.unknown=e.union=e.undefined=e.tuple=e.transformer=e.symbol=e.string=e.strictObject=e.set=e.record=e.promise=e.preprocess=e.pipeline=e.ostring=e.optional=e.onumber=e.oboolean=e.object=e.number=e.nullable=e.null=e.never=e.nativeEnum=e.nan=e.map=e.literal=e.lazy=e.intersection=e.instanceof=e.function=e.enum=e.effect=void 0;const t=pa,a=Ta,n=Ia,r=fa,s=ga;class o{constructor(e,t,a,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=a,this._key=n}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const i=(e,t)=>{if((0,n.isValid)(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error(\"Validation failed but no issues detected.\");return{success:!1,get error(){if(this._error)return this._error;const t=new s.ZodError(e.common.issues);return this._error=t,this._error}}};function c(e){if(!e)return{};const{errorMap:t,invalid_type_error:a,required_error:n,description:r}=e;if(t&&(a||n))throw new Error('Can\\'t use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.');if(t)return{errorMap:t,description:r};return{errorMap:(e,t)=>\"invalid_type\"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=n?n:t.defaultError}:{message:null!=a?a:t.defaultError},description:r}}class d{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return(0,r.getParsedType)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,r.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new n.ParseStatus,ctx:{common:e.parent.common,data:e.data,parsedType:(0,r.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if((0,n.isAsync)(t))throw new Error(\"Synchronous parse encountered promise.\");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const a=this.safeParse(e,t);if(a.success)return a.data;throw a.error}safeParse(e,t){var a;const n={common:{issues:[],async:null!==(a=null==t?void 0:t.async)&&void 0!==a&&a,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,r.getParsedType)(e)},s=this._parseSync({data:e,path:n.path,parent:n});return i(n,s)}async parseAsync(e,t){const a=await this.safeParseAsync(e,t);if(a.success)return a.data;throw a.error}async safeParseAsync(e,t){const a={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,r.getParsedType)(e)},s=this._parse({data:e,path:a.path,parent:a}),o=await((0,n.isAsync)(s)?s:Promise.resolve(s));return i(a,o)}refine(e,t){const a=e=>\"string\"==typeof t||void 0===t?{message:t}:\"function\"==typeof t?t(e):t;return this._refinement(((t,n)=>{const r=e(t),o=()=>n.addIssue({code:s.ZodIssueCode.custom,...a(t)});return\"undefined\"!=typeof Promise&&r instanceof Promise?r.then((e=>!!e||(o(),!1))):!!r||(o(),!1)}))}refinement(e,t){return this._refinement(((a,n)=>!!e(a)||(n.addIssue(\"function\"==typeof t?t(a,n):t),!1)))}_refinement(e){return new G({schema:this,typeName:re.ZodEffects,effect:{type:\"refinement\",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return X.create(this,this._def)}nullable(){return Y.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return N.create(this,this._def)}promise(){return H.create(this,this._def)}or(e){return M.create([this,e],this._def)}and(e){return z.create(this,e,this._def)}transform(e){return new G({...c(this._def),schema:this,typeName:re.ZodEffects,effect:{type:\"transform\",transform:e}})}default(e){const t=\"function\"==typeof e?e:()=>e;return new Q({...c(this._def),innerType:this,defaultValue:t,typeName:re.ZodDefault})}brand(){return new ae({typeName:re.ZodBranded,type:this,...c(this._def)})}catch(e){const t=\"function\"==typeof e?e:()=>e;return new ee({...c(this._def),innerType:this,catchValue:t,typeName:re.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return ne.create(this,e)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}e.ZodType=d,e.Schema=d,e.ZodSchema=d;const l=/^c[^\\s-]{8,}$/i,u=/^[a-z][a-z0-9]*$/,m=/[0-9A-HJKMNP-TV-Z]{26}/,p=/^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i,h=/^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\])|(\\[IPv6:(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))\\])|([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])*(\\.[A-Za-z]{2,})+))$/,f=/^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$/u,g=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,y=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/;class v extends d{constructor(){super(...arguments),this._regex=(e,t,n)=>this.refinement((t=>e.test(t)),{validation:t,code:s.ZodIssueCode.invalid_string,...a.errorUtil.errToObj(n)}),this.nonempty=e=>this.min(1,a.errorUtil.errToObj(e)),this.trim=()=>new v({...this._def,checks:[...this._def.checks,{kind:\"trim\"}]}),this.toLowerCase=()=>new v({...this._def,checks:[...this._def.checks,{kind:\"toLowerCase\"}]}),this.toUpperCase=()=>new v({...this._def,checks:[...this._def.checks,{kind:\"toUpperCase\"}]})}_parse(e){this._def.coerce&&(e.data=String(e.data));if(this._getType(e)!==r.ZodParsedType.string){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.string,received:t.parsedType}),n.INVALID}const t=new n.ParseStatus;let a;for(const d of this._def.checks)if(\"min\"===d.kind)e.data.length<d.value&&(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.too_small,minimum:d.value,type:\"string\",inclusive:!0,exact:!1,message:d.message}),t.dirty());else if(\"max\"===d.kind)e.data.length>d.value&&(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.too_big,maximum:d.value,type:\"string\",inclusive:!0,exact:!1,message:d.message}),t.dirty());else if(\"length\"===d.kind){const r=e.data.length>d.value,o=e.data.length<d.value;(r||o)&&(a=this._getOrReturnCtx(e,a),r?(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.too_big,maximum:d.value,type:\"string\",inclusive:!0,exact:!0,message:d.message}):o&&(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.too_small,minimum:d.value,type:\"string\",inclusive:!0,exact:!0,message:d.message}),t.dirty())}else if(\"email\"===d.kind)h.test(e.data)||(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{validation:\"email\",code:s.ZodIssueCode.invalid_string,message:d.message}),t.dirty());else if(\"emoji\"===d.kind)f.test(e.data)||(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{validation:\"emoji\",code:s.ZodIssueCode.invalid_string,message:d.message}),t.dirty());else if(\"uuid\"===d.kind)p.test(e.data)||(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{validation:\"uuid\",code:s.ZodIssueCode.invalid_string,message:d.message}),t.dirty());else if(\"cuid\"===d.kind)l.test(e.data)||(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{validation:\"cuid\",code:s.ZodIssueCode.invalid_string,message:d.message}),t.dirty());else if(\"cuid2\"===d.kind)u.test(e.data)||(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{validation:\"cuid2\",code:s.ZodIssueCode.invalid_string,message:d.message}),t.dirty());else if(\"ulid\"===d.kind)m.test(e.data)||(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{validation:\"ulid\",code:s.ZodIssueCode.invalid_string,message:d.message}),t.dirty());else if(\"url\"===d.kind)try{new URL(e.data)}catch(r){a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{validation:\"url\",code:s.ZodIssueCode.invalid_string,message:d.message}),t.dirty()}else if(\"regex\"===d.kind){d.regex.lastIndex=0;d.regex.test(e.data)||(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{validation:\"regex\",code:s.ZodIssueCode.invalid_string,message:d.message}),t.dirty())}else if(\"trim\"===d.kind)e.data=e.data.trim();else if(\"includes\"===d.kind)e.data.includes(d.value,d.position)||(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_string,validation:{includes:d.value,position:d.position},message:d.message}),t.dirty());else if(\"toLowerCase\"===d.kind)e.data=e.data.toLowerCase();else if(\"toUpperCase\"===d.kind)e.data=e.data.toUpperCase();else if(\"startsWith\"===d.kind)e.data.startsWith(d.value)||(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_string,validation:{startsWith:d.value},message:d.message}),t.dirty());else if(\"endsWith\"===d.kind)e.data.endsWith(d.value)||(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_string,validation:{endsWith:d.value},message:d.message}),t.dirty());else if(\"datetime\"===d.kind){((c=d).precision?c.offset?new RegExp(`^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}\\\\.\\\\d{${c.precision}}(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$`):new RegExp(`^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}\\\\.\\\\d{${c.precision}}Z$`):0===c.precision?c.offset?new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$\"):new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$\"):c.offset?new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(\\\\.\\\\d+)?(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$\"):new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(\\\\.\\\\d+)?Z$\")).test(e.data)||(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_string,validation:\"datetime\",message:d.message}),t.dirty())}else\"ip\"===d.kind?(o=e.data,(\"v4\"!==(i=d.version)&&i||!g.test(o))&&(\"v6\"!==i&&i||!y.test(o))&&(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{validation:\"ip\",code:s.ZodIssueCode.invalid_string,message:d.message}),t.dirty())):r.util.assertNever(d);var o,i,c;return{status:t.value,value:e.data}}_addCheck(e){return new v({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:\"email\",...a.errorUtil.errToObj(e)})}url(e){return this._addCheck({kind:\"url\",...a.errorUtil.errToObj(e)})}emoji(e){return this._addCheck({kind:\"emoji\",...a.errorUtil.errToObj(e)})}uuid(e){return this._addCheck({kind:\"uuid\",...a.errorUtil.errToObj(e)})}cuid(e){return this._addCheck({kind:\"cuid\",...a.errorUtil.errToObj(e)})}cuid2(e){return this._addCheck({kind:\"cuid2\",...a.errorUtil.errToObj(e)})}ulid(e){return this._addCheck({kind:\"ulid\",...a.errorUtil.errToObj(e)})}ip(e){return this._addCheck({kind:\"ip\",...a.errorUtil.errToObj(e)})}datetime(e){var t;return\"string\"==typeof e?this._addCheck({kind:\"datetime\",precision:null,offset:!1,message:e}):this._addCheck({kind:\"datetime\",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,...a.errorUtil.errToObj(null==e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:\"regex\",regex:e,...a.errorUtil.errToObj(t)})}includes(e,t){return this._addCheck({kind:\"includes\",value:e,position:null==t?void 0:t.position,...a.errorUtil.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:\"startsWith\",value:e,...a.errorUtil.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:\"endsWith\",value:e,...a.errorUtil.errToObj(t)})}min(e,t){return this._addCheck({kind:\"min\",value:e,...a.errorUtil.errToObj(t)})}max(e,t){return this._addCheck({kind:\"max\",value:e,...a.errorUtil.errToObj(t)})}length(e,t){return this._addCheck({kind:\"length\",value:e,...a.errorUtil.errToObj(t)})}get isDatetime(){return!!this._def.checks.find((e=>\"datetime\"===e.kind))}get isEmail(){return!!this._def.checks.find((e=>\"email\"===e.kind))}get isURL(){return!!this._def.checks.find((e=>\"url\"===e.kind))}get isEmoji(){return!!this._def.checks.find((e=>\"emoji\"===e.kind))}get isUUID(){return!!this._def.checks.find((e=>\"uuid\"===e.kind))}get isCUID(){return!!this._def.checks.find((e=>\"cuid\"===e.kind))}get isCUID2(){return!!this._def.checks.find((e=>\"cuid2\"===e.kind))}get isULID(){return!!this._def.checks.find((e=>\"ulid\"===e.kind))}get isIP(){return!!this._def.checks.find((e=>\"ip\"===e.kind))}get minLength(){let e=null;for(const t of this._def.checks)\"min\"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)\"max\"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function S(e,t){const a=(e.toString().split(\".\")[1]||\"\").length,n=(t.toString().split(\".\")[1]||\"\").length,r=a>n?a:n;return parseInt(e.toFixed(r).replace(\".\",\"\"))%parseInt(t.toFixed(r).replace(\".\",\"\"))/Math.pow(10,r)}e.ZodString=v,v.create=e=>{var t;return new v({checks:[],typeName:re.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...c(e)})};class b extends d{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){this._def.coerce&&(e.data=Number(e.data));if(this._getType(e)!==r.ZodParsedType.number){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.number,received:t.parsedType}),n.INVALID}let t;const a=new n.ParseStatus;for(const o of this._def.checks)if(\"int\"===o.kind)r.util.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:\"integer\",received:\"float\",message:o.message}),a.dirty());else if(\"min\"===o.kind){(o.inclusive?e.data<o.value:e.data<=o.value)&&(t=this._getOrReturnCtx(e,t),(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.too_small,minimum:o.value,type:\"number\",inclusive:o.inclusive,exact:!1,message:o.message}),a.dirty())}else if(\"max\"===o.kind){(o.inclusive?e.data>o.value:e.data>=o.value)&&(t=this._getOrReturnCtx(e,t),(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.too_big,maximum:o.value,type:\"number\",inclusive:o.inclusive,exact:!1,message:o.message}),a.dirty())}else\"multipleOf\"===o.kind?0!==S(e.data,o.value)&&(t=this._getOrReturnCtx(e,t),(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.not_multiple_of,multipleOf:o.value,message:o.message}),a.dirty()):\"finite\"===o.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.not_finite,message:o.message}),a.dirty()):r.util.assertNever(o);return{status:a.value,value:e.data}}gte(e,t){return this.setLimit(\"min\",e,!0,a.errorUtil.toString(t))}gt(e,t){return this.setLimit(\"min\",e,!1,a.errorUtil.toString(t))}lte(e,t){return this.setLimit(\"max\",e,!0,a.errorUtil.toString(t))}lt(e,t){return this.setLimit(\"max\",e,!1,a.errorUtil.toString(t))}setLimit(e,t,n,r){return new b({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:a.errorUtil.toString(r)}]})}_addCheck(e){return new b({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:\"int\",message:a.errorUtil.toString(e)})}positive(e){return this._addCheck({kind:\"min\",value:0,inclusive:!1,message:a.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:\"max\",value:0,inclusive:!1,message:a.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:\"max\",value:0,inclusive:!0,message:a.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:\"min\",value:0,inclusive:!0,message:a.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:\"multipleOf\",value:e,message:a.errorUtil.toString(t)})}finite(e){return this._addCheck({kind:\"finite\",message:a.errorUtil.toString(e)})}safe(e){return this._addCheck({kind:\"min\",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:a.errorUtil.toString(e)})._addCheck({kind:\"max\",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:a.errorUtil.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)\"min\"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)\"max\"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find((e=>\"int\"===e.kind||\"multipleOf\"===e.kind&&r.util.isInteger(e.value)))}get isFinite(){let e=null,t=null;for(const a of this._def.checks){if(\"finite\"===a.kind||\"int\"===a.kind||\"multipleOf\"===a.kind)return!0;\"min\"===a.kind?(null===t||a.value>t)&&(t=a.value):\"max\"===a.kind&&(null===e||a.value<e)&&(e=a.value)}return Number.isFinite(t)&&Number.isFinite(e)}}e.ZodNumber=b,b.create=e=>new b({checks:[],typeName:re.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...c(e)});class C extends d{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){this._def.coerce&&(e.data=BigInt(e.data));if(this._getType(e)!==r.ZodParsedType.bigint){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.bigint,received:t.parsedType}),n.INVALID}let t;const a=new n.ParseStatus;for(const o of this._def.checks)if(\"min\"===o.kind){(o.inclusive?e.data<o.value:e.data<=o.value)&&(t=this._getOrReturnCtx(e,t),(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.too_small,type:\"bigint\",minimum:o.value,inclusive:o.inclusive,message:o.message}),a.dirty())}else if(\"max\"===o.kind){(o.inclusive?e.data>o.value:e.data>=o.value)&&(t=this._getOrReturnCtx(e,t),(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.too_big,type:\"bigint\",maximum:o.value,inclusive:o.inclusive,message:o.message}),a.dirty())}else\"multipleOf\"===o.kind?e.data%o.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.not_multiple_of,multipleOf:o.value,message:o.message}),a.dirty()):r.util.assertNever(o);return{status:a.value,value:e.data}}gte(e,t){return this.setLimit(\"min\",e,!0,a.errorUtil.toString(t))}gt(e,t){return this.setLimit(\"min\",e,!1,a.errorUtil.toString(t))}lte(e,t){return this.setLimit(\"max\",e,!0,a.errorUtil.toString(t))}lt(e,t){return this.setLimit(\"max\",e,!1,a.errorUtil.toString(t))}setLimit(e,t,n,r){return new C({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:a.errorUtil.toString(r)}]})}_addCheck(e){return new C({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:!1,message:a.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:!1,message:a.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:!0,message:a.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:!0,message:a.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:\"multipleOf\",value:e,message:a.errorUtil.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)\"min\"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)\"max\"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}e.ZodBigInt=C,C.create=e=>{var t;return new C({checks:[],typeName:re.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...c(e)})};class w extends d{_parse(e){this._def.coerce&&(e.data=Boolean(e.data));if(this._getType(e)!==r.ZodParsedType.boolean){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.boolean,received:t.parsedType}),n.INVALID}return(0,n.OK)(e.data)}}e.ZodBoolean=w,w.create=e=>new w({typeName:re.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...c(e)});class x extends d{_parse(e){this._def.coerce&&(e.data=new Date(e.data));if(this._getType(e)!==r.ZodParsedType.date){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.date,received:t.parsedType}),n.INVALID}if(isNaN(e.data.getTime())){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_date}),n.INVALID}const t=new n.ParseStatus;let a;for(const o of this._def.checks)\"min\"===o.kind?e.data.getTime()<o.value&&(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:\"date\"}),t.dirty()):\"max\"===o.kind?e.data.getTime()>o.value&&(a=this._getOrReturnCtx(e,a),(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:\"date\"}),t.dirty()):r.util.assertNever(o);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new x({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:\"min\",value:e.getTime(),message:a.errorUtil.toString(t)})}max(e,t){return this._addCheck({kind:\"max\",value:e.getTime(),message:a.errorUtil.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)\"min\"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)\"max\"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}e.ZodDate=x,x.create=e=>new x({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:re.ZodDate,...c(e)});class I extends d{_parse(e){if(this._getType(e)!==r.ZodParsedType.symbol){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.symbol,received:t.parsedType}),n.INVALID}return(0,n.OK)(e.data)}}e.ZodSymbol=I,I.create=e=>new I({typeName:re.ZodSymbol,...c(e)});class P extends d{_parse(e){if(this._getType(e)!==r.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.undefined,received:t.parsedType}),n.INVALID}return(0,n.OK)(e.data)}}e.ZodUndefined=P,P.create=e=>new P({typeName:re.ZodUndefined,...c(e)});class _ extends d{_parse(e){if(this._getType(e)!==r.ZodParsedType.null){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.null,received:t.parsedType}),n.INVALID}return(0,n.OK)(e.data)}}e.ZodNull=_,_.create=e=>new _({typeName:re.ZodNull,...c(e)});class E extends d{constructor(){super(...arguments),this._any=!0}_parse(e){return(0,n.OK)(e.data)}}e.ZodAny=E,E.create=e=>new E({typeName:re.ZodAny,...c(e)});class T extends d{constructor(){super(...arguments),this._unknown=!0}_parse(e){return(0,n.OK)(e.data)}}e.ZodUnknown=T,T.create=e=>new T({typeName:re.ZodUnknown,...c(e)});class k extends d{_parse(e){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.never,received:t.parsedType}),n.INVALID}}e.ZodNever=k,k.create=e=>new k({typeName:re.ZodNever,...c(e)});class R extends d{_parse(e){if(this._getType(e)!==r.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.void,received:t.parsedType}),n.INVALID}return(0,n.OK)(e.data)}}e.ZodVoid=R,R.create=e=>new R({typeName:re.ZodVoid,...c(e)});class N extends d{_parse(e){const{ctx:t,status:a}=this._processInputParams(e),i=this._def;if(t.parsedType!==r.ZodParsedType.array)return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.array,received:t.parsedType}),n.INVALID;if(null!==i.exactLength){const e=t.data.length>i.exactLength.value,r=t.data.length<i.exactLength.value;(e||r)&&((0,n.addIssueToContext)(t,{code:e?s.ZodIssueCode.too_big:s.ZodIssueCode.too_small,minimum:r?i.exactLength.value:void 0,maximum:e?i.exactLength.value:void 0,type:\"array\",inclusive:!0,exact:!0,message:i.exactLength.message}),a.dirty())}if(null!==i.minLength&&t.data.length<i.minLength.value&&((0,n.addIssueToContext)(t,{code:s.ZodIssueCode.too_small,minimum:i.minLength.value,type:\"array\",inclusive:!0,exact:!1,message:i.minLength.message}),a.dirty()),null!==i.maxLength&&t.data.length>i.maxLength.value&&((0,n.addIssueToContext)(t,{code:s.ZodIssueCode.too_big,maximum:i.maxLength.value,type:\"array\",inclusive:!0,exact:!1,message:i.maxLength.message}),a.dirty()),t.common.async)return Promise.all([...t.data].map(((e,a)=>i.type._parseAsync(new o(t,e,t.path,a))))).then((e=>n.ParseStatus.mergeArray(a,e)));const c=[...t.data].map(((e,a)=>i.type._parseSync(new o(t,e,t.path,a))));return n.ParseStatus.mergeArray(a,c)}get element(){return this._def.type}min(e,t){return new N({...this._def,minLength:{value:e,message:a.errorUtil.toString(t)}})}max(e,t){return new N({...this._def,maxLength:{value:e,message:a.errorUtil.toString(t)}})}length(e,t){return new N({...this._def,exactLength:{value:e,message:a.errorUtil.toString(t)}})}nonempty(e){return this.min(1,e)}}function j(e){if(e instanceof O){const t={};for(const a in e.shape){const n=e.shape[a];t[a]=X.create(j(n))}return new O({...e._def,shape:()=>t})}return e instanceof N?new N({...e._def,type:j(e.element)}):e instanceof X?X.create(j(e.unwrap())):e instanceof Y?Y.create(j(e.unwrap())):e instanceof Z?Z.create(e.items.map((e=>j(e)))):e}e.ZodArray=N,N.create=(e,t)=>new N({type:e,minLength:null,maxLength:null,exactLength:null,typeName:re.ZodArray,...c(t)});class O extends d{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=r.util.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==r.ZodParsedType.object){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.object,received:t.parsedType}),n.INVALID}const{status:t,ctx:a}=this._processInputParams(e),{shape:i,keys:c}=this._getCached(),d=[];if(!(this._def.catchall instanceof k&&\"strip\"===this._def.unknownKeys))for(const e in a.data)c.includes(e)||d.push(e);const l=[];for(const e of c){const t=i[e],n=a.data[e];l.push({key:{status:\"valid\",value:e},value:t._parse(new o(a,n,a.path,e)),alwaysSet:e in a.data})}if(this._def.catchall instanceof k){const e=this._def.unknownKeys;if(\"passthrough\"===e)for(const e of d)l.push({key:{status:\"valid\",value:e},value:{status:\"valid\",value:a.data[e]}});else if(\"strict\"===e)d.length>0&&((0,n.addIssueToContext)(a,{code:s.ZodIssueCode.unrecognized_keys,keys:d}),t.dirty());else if(\"strip\"!==e)throw new Error(\"Internal ZodObject error: invalid unknownKeys value.\")}else{const e=this._def.catchall;for(const t of d){const n=a.data[t];l.push({key:{status:\"valid\",value:t},value:e._parse(new o(a,n,a.path,t)),alwaysSet:t in a.data})}}return a.common.async?Promise.resolve().then((async()=>{const e=[];for(const t of l){const a=await t.key;e.push({key:a,value:await t.value,alwaysSet:t.alwaysSet})}return e})).then((e=>n.ParseStatus.mergeObjectSync(t,e))):n.ParseStatus.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return a.errorUtil.errToObj,new O({...this._def,unknownKeys:\"strict\",...void 0!==e?{errorMap:(t,n)=>{var r,s,o,i;const c=null!==(o=null===(s=(r=this._def).errorMap)||void 0===s?void 0:s.call(r,t,n).message)&&void 0!==o?o:n.defaultError;return\"unrecognized_keys\"===t.code?{message:null!==(i=a.errorUtil.errToObj(e).message)&&void 0!==i?i:c}:{message:c}}}:{}})}strip(){return new O({...this._def,unknownKeys:\"strip\"})}passthrough(){return new O({...this._def,unknownKeys:\"passthrough\"})}extend(e){return new O({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new O({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:re.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new O({...this._def,catchall:e})}pick(e){const t={};return r.util.objectKeys(e).forEach((a=>{e[a]&&this.shape[a]&&(t[a]=this.shape[a])})),new O({...this._def,shape:()=>t})}omit(e){const t={};return r.util.objectKeys(this.shape).forEach((a=>{e[a]||(t[a]=this.shape[a])})),new O({...this._def,shape:()=>t})}deepPartial(){return j(this)}partial(e){const t={};return r.util.objectKeys(this.shape).forEach((a=>{const n=this.shape[a];e&&!e[a]?t[a]=n:t[a]=n.optional()})),new O({...this._def,shape:()=>t})}required(e){const t={};return r.util.objectKeys(this.shape).forEach((a=>{if(e&&!e[a])t[a]=this.shape[a];else{let e=this.shape[a];for(;e instanceof X;)e=e._def.innerType;t[a]=e}})),new O({...this._def,shape:()=>t})}keyof(){return $(r.util.objectKeys(this.shape))}}e.ZodObject=O,O.create=(e,t)=>new O({shape:()=>e,unknownKeys:\"strip\",catchall:k.create(),typeName:re.ZodObject,...c(t)}),O.strictCreate=(e,t)=>new O({shape:()=>e,unknownKeys:\"strict\",catchall:k.create(),typeName:re.ZodObject,...c(t)}),O.lazycreate=(e,t)=>new O({shape:e,unknownKeys:\"strip\",catchall:k.create(),typeName:re.ZodObject,...c(t)});class M extends d{_parse(e){const{ctx:t}=this._processInputParams(e),a=this._def.options;if(t.common.async)return Promise.all(a.map((async e=>{const a={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:a}),ctx:a}}))).then((function(e){for(const t of e)if(\"valid\"===t.result.status)return t.result;for(const a of e)if(\"dirty\"===a.result.status)return t.common.issues.push(...a.ctx.common.issues),a.result;const a=e.map((e=>new s.ZodError(e.ctx.common.issues)));return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_union,unionErrors:a}),n.INVALID}));{let e;const r=[];for(const n of a){const a={...t,common:{...t.common,issues:[]},parent:null},s=n._parseSync({data:t.data,path:t.path,parent:a});if(\"valid\"===s.status)return s;\"dirty\"!==s.status||e||(e={result:s,ctx:a}),a.common.issues.length&&r.push(a.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const o=r.map((e=>new s.ZodError(e)));return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_union,unionErrors:o}),n.INVALID}}get options(){return this._def.options}}e.ZodUnion=M,M.create=(e,t)=>new M({options:e,typeName:re.ZodUnion,...c(t)});const B=e=>e instanceof K?B(e.schema):e instanceof G?B(e.innerType()):e instanceof q?[e.value]:e instanceof W?e.options:e instanceof J?Object.keys(e.enum):e instanceof Q?B(e._def.innerType):e instanceof P?[void 0]:e instanceof _?[null]:null;class D extends d{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==r.ZodParsedType.object)return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.object,received:t.parsedType}),n.INVALID;const a=this.discriminator,o=t.data[a],i=this.optionsMap.get(o);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):((0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),n.INVALID)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,a){const n=new Map;for(const a of t){const t=B(a.shape[e]);if(!t)throw new Error(`A discriminator value for key \\`${e}\\` could not be extracted from all schema options`);for(const r of t){if(n.has(r))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(r)}`);n.set(r,a)}}return new D({typeName:re.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:n,...c(a)})}}function A(e,t){const a=(0,r.getParsedType)(e),n=(0,r.getParsedType)(t);if(e===t)return{valid:!0,data:e};if(a===r.ZodParsedType.object&&n===r.ZodParsedType.object){const a=r.util.objectKeys(t),n=r.util.objectKeys(e).filter((e=>-1!==a.indexOf(e))),s={...e,...t};for(const a of n){const n=A(e[a],t[a]);if(!n.valid)return{valid:!1};s[a]=n.data}return{valid:!0,data:s}}if(a===r.ZodParsedType.array&&n===r.ZodParsedType.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let n=0;n<e.length;n++){const r=A(e[n],t[n]);if(!r.valid)return{valid:!1};a.push(r.data)}return{valid:!0,data:a}}return a===r.ZodParsedType.date&&n===r.ZodParsedType.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}e.ZodDiscriminatedUnion=D;class z extends d{_parse(e){const{status:t,ctx:a}=this._processInputParams(e),r=(e,r)=>{if((0,n.isAborted)(e)||(0,n.isAborted)(r))return n.INVALID;const o=A(e.value,r.value);return o.valid?(((0,n.isDirty)(e)||(0,n.isDirty)(r))&&t.dirty(),{status:t.value,value:o.data}):((0,n.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_intersection_types}),n.INVALID)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then((([e,t])=>r(e,t))):r(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}}e.ZodIntersection=z,z.create=(e,t,a)=>new z({left:e,right:t,typeName:re.ZodIntersection,...c(a)});class Z extends d{_parse(e){const{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==r.ZodParsedType.array)return(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.array,received:a.parsedType}),n.INVALID;if(a.data.length<this._def.items.length)return(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:\"array\"}),n.INVALID;!this._def.rest&&a.data.length>this._def.items.length&&((0,n.addIssueToContext)(a,{code:s.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:\"array\"}),t.dirty());const i=[...a.data].map(((e,t)=>{const n=this._def.items[t]||this._def.rest;return n?n._parse(new o(a,e,a.path,t)):null})).filter((e=>!!e));return a.common.async?Promise.all(i).then((e=>n.ParseStatus.mergeArray(t,e))):n.ParseStatus.mergeArray(t,i)}get items(){return this._def.items}rest(e){return new Z({...this._def,rest:e})}}e.ZodTuple=Z,Z.create=(e,t)=>{if(!Array.isArray(e))throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\");return new Z({items:e,typeName:re.ZodTuple,rest:null,...c(t)})};class L extends d{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==r.ZodParsedType.object)return(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.object,received:a.parsedType}),n.INVALID;const i=[],c=this._def.keyType,d=this._def.valueType;for(const e in a.data)i.push({key:c._parse(new o(a,e,a.path,e)),value:d._parse(new o(a,a.data[e],a.path,e))});return a.common.async?n.ParseStatus.mergeObjectAsync(t,i):n.ParseStatus.mergeObjectSync(t,i)}get element(){return this._def.valueType}static create(e,t,a){return new L(t instanceof d?{keyType:e,valueType:t,typeName:re.ZodRecord,...c(a)}:{keyType:v.create(),valueType:e,typeName:re.ZodRecord,...c(t)})}}e.ZodRecord=L;class V extends d{_parse(e){const{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==r.ZodParsedType.map)return(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.map,received:a.parsedType}),n.INVALID;const i=this._def.keyType,c=this._def.valueType,d=[...a.data.entries()].map((([e,t],n)=>({key:i._parse(new o(a,e,a.path,[n,\"key\"])),value:c._parse(new o(a,t,a.path,[n,\"value\"]))})));if(a.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const a of d){const r=await a.key,s=await a.value;if(\"aborted\"===r.status||\"aborted\"===s.status)return n.INVALID;\"dirty\"!==r.status&&\"dirty\"!==s.status||t.dirty(),e.set(r.value,s.value)}return{status:t.value,value:e}}))}{const e=new Map;for(const a of d){const r=a.key,s=a.value;if(\"aborted\"===r.status||\"aborted\"===s.status)return n.INVALID;\"dirty\"!==r.status&&\"dirty\"!==s.status||t.dirty(),e.set(r.value,s.value)}return{status:t.value,value:e}}}}e.ZodMap=V,V.create=(e,t,a)=>new V({valueType:t,keyType:e,typeName:re.ZodMap,...c(a)});class U extends d{_parse(e){const{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==r.ZodParsedType.set)return(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.set,received:a.parsedType}),n.INVALID;const i=this._def;null!==i.minSize&&a.data.size<i.minSize.value&&((0,n.addIssueToContext)(a,{code:s.ZodIssueCode.too_small,minimum:i.minSize.value,type:\"set\",inclusive:!0,exact:!1,message:i.minSize.message}),t.dirty()),null!==i.maxSize&&a.data.size>i.maxSize.value&&((0,n.addIssueToContext)(a,{code:s.ZodIssueCode.too_big,maximum:i.maxSize.value,type:\"set\",inclusive:!0,exact:!1,message:i.maxSize.message}),t.dirty());const c=this._def.valueType;function d(e){const a=new Set;for(const r of e){if(\"aborted\"===r.status)return n.INVALID;\"dirty\"===r.status&&t.dirty(),a.add(r.value)}return{status:t.value,value:a}}const l=[...a.data.values()].map(((e,t)=>c._parse(new o(a,e,a.path,t))));return a.common.async?Promise.all(l).then((e=>d(e))):d(l)}min(e,t){return new U({...this._def,minSize:{value:e,message:a.errorUtil.toString(t)}})}max(e,t){return new U({...this._def,maxSize:{value:e,message:a.errorUtil.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}e.ZodSet=U,U.create=(e,t)=>new U({valueType:e,minSize:null,maxSize:null,typeName:re.ZodSet,...c(t)});class F extends d{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:a}=this._processInputParams(e);if(a.parsedType!==r.ZodParsedType.function)return(0,n.addIssueToContext)(a,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.function,received:a.parsedType}),n.INVALID;function o(e,r){return(0,n.makeIssue)({data:e,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,(0,t.getErrorMap)(),t.defaultErrorMap].filter((e=>!!e)),issueData:{code:s.ZodIssueCode.invalid_arguments,argumentsError:r}})}function i(e,r){return(0,n.makeIssue)({data:e,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,(0,t.getErrorMap)(),t.defaultErrorMap].filter((e=>!!e)),issueData:{code:s.ZodIssueCode.invalid_return_type,returnTypeError:r}})}const c={errorMap:a.common.contextualErrorMap},d=a.data;return this._def.returns instanceof H?(0,n.OK)((async(...e)=>{const t=new s.ZodError([]),a=await this._def.args.parseAsync(e,c).catch((a=>{throw t.addIssue(o(e,a)),t})),n=await d(...a);return await this._def.returns._def.type.parseAsync(n,c).catch((e=>{throw t.addIssue(i(n,e)),t}))})):(0,n.OK)(((...e)=>{const t=this._def.args.safeParse(e,c);if(!t.success)throw new s.ZodError([o(e,t.error)]);const a=d(...t.data),n=this._def.returns.safeParse(a,c);if(!n.success)throw new s.ZodError([i(a,n.error)]);return n.data}))}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new F({...this._def,args:Z.create(e).rest(T.create())})}returns(e){return new F({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,a){return new F({args:e||Z.create([]).rest(T.create()),returns:t||T.create(),typeName:re.ZodFunction,...c(a)})}}e.ZodFunction=F;class K extends d{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}e.ZodLazy=K,K.create=(e,t)=>new K({getter:e,typeName:re.ZodLazy,...c(t)});class q extends d{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{received:t.data,code:s.ZodIssueCode.invalid_literal,expected:this._def.value}),n.INVALID}return{status:\"valid\",value:e.data}}get value(){return this._def.value}}function $(e,t){return new W({values:e,typeName:re.ZodEnum,...c(t)})}e.ZodLiteral=q,q.create=(e,t)=>new q({value:e,typeName:re.ZodLiteral,...c(t)});class W extends d{_parse(e){if(\"string\"!=typeof e.data){const t=this._getOrReturnCtx(e),a=this._def.values;return(0,n.addIssueToContext)(t,{expected:r.util.joinValues(a),received:t.parsedType,code:s.ZodIssueCode.invalid_type}),n.INVALID}if(-1===this._def.values.indexOf(e.data)){const t=this._getOrReturnCtx(e),a=this._def.values;return(0,n.addIssueToContext)(t,{received:t.data,code:s.ZodIssueCode.invalid_enum_value,options:a}),n.INVALID}return(0,n.OK)(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e){return W.create(e)}exclude(e){return W.create(this.options.filter((t=>!e.includes(t))))}}e.ZodEnum=W,W.create=$;class J extends d{_parse(e){const t=r.util.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==r.ZodParsedType.string&&a.parsedType!==r.ZodParsedType.number){const e=r.util.objectValues(t);return(0,n.addIssueToContext)(a,{expected:r.util.joinValues(e),received:a.parsedType,code:s.ZodIssueCode.invalid_type}),n.INVALID}if(-1===t.indexOf(e.data)){const e=r.util.objectValues(t);return(0,n.addIssueToContext)(a,{received:a.data,code:s.ZodIssueCode.invalid_enum_value,options:e}),n.INVALID}return(0,n.OK)(e.data)}get enum(){return this._def.values}}e.ZodNativeEnum=J,J.create=(e,t)=>new J({values:e,typeName:re.ZodNativeEnum,...c(t)});class H extends d{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==r.ZodParsedType.promise&&!1===t.common.async)return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.promise,received:t.parsedType}),n.INVALID;const a=t.parsedType===r.ZodParsedType.promise?t.data:Promise.resolve(t.data);return(0,n.OK)(a.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}e.ZodPromise=H,H.create=(e,t)=>new H({type:e,typeName:re.ZodPromise,...c(t)});class G extends d{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===re.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:a}=this._processInputParams(e),s=this._def.effect||null;if(\"preprocess\"===s.type){const e=s.transform(a.data);return a.common.async?Promise.resolve(e).then((e=>this._def.schema._parseAsync({data:e,path:a.path,parent:a}))):this._def.schema._parseSync({data:e,path:a.path,parent:a})}const o={addIssue:e=>{(0,n.addIssueToContext)(a,e),e.fatal?t.abort():t.dirty()},get path(){return a.path}};if(o.addIssue=o.addIssue.bind(o),\"refinement\"===s.type){const e=e=>{const t=s.refinement(e,o);if(a.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");return e};if(!1===a.common.async){const r=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return\"aborted\"===r.status?n.INVALID:(\"dirty\"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then((a=>\"aborted\"===a.status?n.INVALID:(\"dirty\"===a.status&&t.dirty(),e(a.value).then((()=>({status:t.value,value:a.value}))))))}if(\"transform\"===s.type){if(!1===a.common.async){const e=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!(0,n.isValid)(e))return e;const r=s.transform(e.value,o);if(r instanceof Promise)throw new Error(\"Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.\");return{status:t.value,value:r}}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then((e=>(0,n.isValid)(e)?Promise.resolve(s.transform(e.value,o)).then((e=>({status:t.value,value:e}))):e))}r.util.assertNever(s)}}e.ZodEffects=G,e.ZodTransformer=G,G.create=(e,t,a)=>new G({schema:e,typeName:re.ZodEffects,effect:t,...c(a)}),G.createWithPreprocess=(e,t,a)=>new G({schema:t,effect:{type:\"preprocess\",transform:e},typeName:re.ZodEffects,...c(a)});class X extends d{_parse(e){return this._getType(e)===r.ZodParsedType.undefined?(0,n.OK)(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}e.ZodOptional=X,X.create=(e,t)=>new X({innerType:e,typeName:re.ZodOptional,...c(t)});class Y extends d{_parse(e){return this._getType(e)===r.ZodParsedType.null?(0,n.OK)(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}e.ZodNullable=Y,Y.create=(e,t)=>new Y({innerType:e,typeName:re.ZodNullable,...c(t)});class Q extends d{_parse(e){const{ctx:t}=this._processInputParams(e);let a=t.data;return t.parsedType===r.ZodParsedType.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}e.ZodDefault=Q,Q.create=(e,t)=>new Q({innerType:e,typeName:re.ZodDefault,defaultValue:\"function\"==typeof t.default?t.default:()=>t.default,...c(t)});class ee extends d{_parse(e){const{ctx:t}=this._processInputParams(e),a={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return(0,n.isAsync)(r)?r.then((e=>({status:\"valid\",value:\"valid\"===e.status?e.value:this._def.catchValue({get error(){return new s.ZodError(a.common.issues)},input:a.data})}))):{status:\"valid\",value:\"valid\"===r.status?r.value:this._def.catchValue({get error(){return new s.ZodError(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}}e.ZodCatch=ee,ee.create=(e,t)=>new ee({innerType:e,typeName:re.ZodCatch,catchValue:\"function\"==typeof t.catch?t.catch:()=>t.catch,...c(t)});class te extends d{_parse(e){if(this._getType(e)!==r.ZodParsedType.nan){const t=this._getOrReturnCtx(e);return(0,n.addIssueToContext)(t,{code:s.ZodIssueCode.invalid_type,expected:r.ZodParsedType.nan,received:t.parsedType}),n.INVALID}return{status:\"valid\",value:e.data}}}e.ZodNaN=te,te.create=e=>new te({typeName:re.ZodNaN,...c(e)}),e.BRAND=Symbol(\"zod_brand\");class ae extends d{_parse(e){const{ctx:t}=this._processInputParams(e),a=t.data;return this._def.type._parse({data:a,path:t.path,parent:t})}unwrap(){return this._def.type}}e.ZodBranded=ae;class ne extends d{_parse(e){const{status:t,ctx:a}=this._processInputParams(e);if(a.common.async){return(async()=>{const e=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return\"aborted\"===e.status?n.INVALID:\"dirty\"===e.status?(t.dirty(),(0,n.DIRTY)(e.value)):this._def.out._parseAsync({data:e.value,path:a.path,parent:a})})()}{const e=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return\"aborted\"===e.status?n.INVALID:\"dirty\"===e.status?(t.dirty(),{status:\"dirty\",value:e.value}):this._def.out._parseSync({data:e.value,path:a.path,parent:a})}}static create(e,t){return new ne({in:e,out:t,typeName:re.ZodPipeline})}}e.ZodPipeline=ne;var re;e.custom=(e,t={},a)=>e?E.create().superRefine(((n,r)=>{var s,o;if(!e(n)){const e=\"function\"==typeof t?t(n):\"string\"==typeof t?{message:t}:t,i=null===(o=null!==(s=e.fatal)&&void 0!==s?s:a)||void 0===o||o,c=\"string\"==typeof e?{message:e}:e;r.addIssue({code:\"custom\",...c,fatal:i})}})):E.create(),e.late={object:O.lazycreate},function(e){e.ZodString=\"ZodString\",e.ZodNumber=\"ZodNumber\",e.ZodNaN=\"ZodNaN\",e.ZodBigInt=\"ZodBigInt\",e.ZodBoolean=\"ZodBoolean\",e.ZodDate=\"ZodDate\",e.ZodSymbol=\"ZodSymbol\",e.ZodUndefined=\"ZodUndefined\",e.ZodNull=\"ZodNull\",e.ZodAny=\"ZodAny\",e.ZodUnknown=\"ZodUnknown\",e.ZodNever=\"ZodNever\",e.ZodVoid=\"ZodVoid\",e.ZodArray=\"ZodArray\",e.ZodObject=\"ZodObject\",e.ZodUnion=\"ZodUnion\",e.ZodDiscriminatedUnion=\"ZodDiscriminatedUnion\",e.ZodIntersection=\"ZodIntersection\",e.ZodTuple=\"ZodTuple\",e.ZodRecord=\"ZodRecord\",e.ZodMap=\"ZodMap\",e.ZodSet=\"ZodSet\",e.ZodFunction=\"ZodFunction\",e.ZodLazy=\"ZodLazy\",e.ZodLiteral=\"ZodLiteral\",e.ZodEnum=\"ZodEnum\",e.ZodEffects=\"ZodEffects\",e.ZodNativeEnum=\"ZodNativeEnum\",e.ZodOptional=\"ZodOptional\",e.ZodNullable=\"ZodNullable\",e.ZodDefault=\"ZodDefault\",e.ZodCatch=\"ZodCatch\",e.ZodPromise=\"ZodPromise\",e.ZodBranded=\"ZodBranded\",e.ZodPipeline=\"ZodPipeline\"}(re=e.ZodFirstPartyTypeKind||(e.ZodFirstPartyTypeKind={}));e.instanceof=(t,a={message:`Input not instance of ${t.name}`})=>(0,e.custom)((e=>e instanceof t),a);const se=v.create;e.string=se;const oe=b.create;e.number=oe;const ie=te.create;e.nan=ie;const ce=C.create;e.bigint=ce;const de=w.create;e.boolean=de;const le=x.create;e.date=le;const ue=I.create;e.symbol=ue;const me=P.create;e.undefined=me;const pe=_.create;e.null=pe;const he=E.create;e.any=he;const fe=T.create;e.unknown=fe;const ge=k.create;e.never=ge;const ye=R.create;e.void=ye;const ve=N.create;e.array=ve;const Se=O.create;e.object=Se;const be=O.strictCreate;e.strictObject=be;const Ce=M.create;e.union=Ce;const we=D.create;e.discriminatedUnion=we;const xe=z.create;e.intersection=xe;const Ie=Z.create;e.tuple=Ie;const Pe=L.create;e.record=Pe;const _e=V.create;e.map=_e;const Ee=U.create;e.set=Ee;const Te=F.create;e.function=Te;const ke=K.create;e.lazy=ke;const Re=q.create;e.literal=Re;const Ne=W.create;e.enum=Ne;const je=J.create;e.nativeEnum=je;const Oe=H.create;e.promise=Oe;const Me=G.create;e.effect=Me,e.transformer=Me;const Be=X.create;e.optional=Be;const De=Y.create;e.nullable=De;const Ae=G.createWithPreprocess;e.preprocess=Ae;const ze=ne.create;e.pipeline=ze;e.ostring=()=>se().optional();e.onumber=()=>oe().optional();e.oboolean=()=>de().optional(),e.coerce={string:e=>v.create({...e,coerce:!0}),number:e=>b.create({...e,coerce:!0}),boolean:e=>w.create({...e,coerce:!0}),bigint:e=>C.create({...e,coerce:!0}),date:e=>x.create({...e,coerce:!0})},e.NEVER=n.INVALID}(Ea),function(t){var a=e&&e.__createBinding||(Object.create?function(e,t,a,n){void 0===n&&(n=a),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[a]}})}:function(e,t,a,n){void 0===n&&(n=a),e[n]=t[a]}),n=e&&e.__exportStar||function(e,t){for(var n in e)\"default\"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,\"__esModule\",{value:!0}),n(pa,t),n(Ia,t),n(Pa,t),n(fa,t),n(Ea,t),n(ga,t)}(ma),function(t){var a=e&&e.__createBinding||(Object.create?function(e,t,a,n){void 0===n&&(n=a),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[a]}})}:function(e,t,a,n){void 0===n&&(n=a),e[n]=t[a]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)\"default\"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&a(t,e,r);return n(t,e),t},s=e&&e.__exportStar||function(e,t){for(var n in e)\"default\"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,\"__esModule\",{value:!0}),t.z=void 0;const o=r(ma);t.z=o,s(ma,t),t.default=o}(ua);var ka={};!function(t){var a=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.Input=t.InputCommandSchema=t.Log=t.LogEventSchema=t.Script=t.ScriptEventSchema=t.ScriptResultSchema=t.ScriptCommandSchema=t.Network=t.NetworkEventSchema=t.NetworkResultSchema=t.NetworkCommandSchema=t.BrowsingContext=t.BrowsingContextEventSchema=t.BrowsingContextResultSchema=t.BrowsingContextCommandSchema=t.Browser=t.BrowserCommandSchema=t.Session=t.SessionResultSchema=t.SessionCommandSchema=t.ErrorCodeSchema=t.JsUintSchema=t.JsIntSchema=t.ExtensibleSchema=t.EventDataSchema=t.EventSchema=t.EmptyResultSchema=t.ResultDataSchema=t.ErrorResponseSchema=t.CommandResponseSchema=t.MessageSchema=t.EmptyParamsSchema=t.CommandDataSchema=t.CommandSchema=void 0;const n=a(ua);var r,s,o,i,c,d,l;t.CommandSchema=n.default.lazy((()=>n.default.object({id:t.JsUintSchema}).and(t.CommandDataSchema).and(t.ExtensibleSchema))),t.CommandDataSchema=n.default.lazy((()=>n.default.union([t.BrowserCommandSchema,t.BrowsingContextCommandSchema,t.InputCommandSchema,t.NetworkCommandSchema,t.ScriptCommandSchema,t.SessionCommandSchema]))),t.EmptyParamsSchema=n.default.lazy((()=>t.ExtensibleSchema)),t.MessageSchema=n.default.lazy((()=>n.default.union([t.CommandResponseSchema,t.ErrorResponseSchema,t.EventSchema]))),t.CommandResponseSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"success\"),id:t.JsUintSchema,result:t.ResultDataSchema}).and(t.ExtensibleSchema))),t.ErrorResponseSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"error\"),id:n.default.union([t.JsUintSchema,n.default.null()]),error:t.ErrorCodeSchema,message:n.default.string(),stacktrace:n.default.string().optional()}).and(t.ExtensibleSchema))),t.ResultDataSchema=n.default.lazy((()=>n.default.union([t.BrowsingContextResultSchema,t.EmptyResultSchema,t.NetworkResultSchema,t.ScriptResultSchema,t.SessionResultSchema]))),t.EmptyResultSchema=n.default.lazy((()=>t.ExtensibleSchema)),t.EventSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"event\")}).and(t.EventDataSchema).and(t.ExtensibleSchema))),t.EventDataSchema=n.default.lazy((()=>n.default.union([t.BrowsingContextEventSchema,t.LogEventSchema,t.NetworkEventSchema,t.ScriptEventSchema]))),t.ExtensibleSchema=n.default.lazy((()=>n.default.record(n.default.string(),n.default.any()))),t.JsIntSchema=n.default.lazy((()=>n.default.number().int().gte(-9007199254740991).lte(9007199254740991))),t.JsUintSchema=n.default.lazy((()=>n.default.number().int().nonnegative().gte(0).lte(9007199254740991))),t.ErrorCodeSchema=n.default.lazy((()=>n.default.enum([\"invalid argument\",\"invalid session id\",\"move target out of bounds\",\"no such alert\",\"no such element\",\"no such frame\",\"no such handle\",\"no such node\",\"no such script\",\"session not created\",\"unable to capture screen\",\"unable to close browser\",\"unknown command\",\"unknown error\",\"unsupported operation\"]))),t.SessionCommandSchema=n.default.lazy((()=>n.default.union([r.EndSchema,r.NewSchema,r.StatusSchema,r.SubscribeSchema,r.UnsubscribeSchema]))),t.SessionResultSchema=n.default.lazy((()=>n.default.union([r.NewResultSchema,r.StatusResultSchema]))),function(e){e.CapabilitiesRequestSchema=n.default.lazy((()=>n.default.object({alwaysMatch:e.CapabilityRequestSchema.optional(),firstMatch:n.default.array(e.CapabilityRequestSchema).optional()})))}(r||(t.Session=r={})),function(e){e.CapabilityRequestSchema=n.default.lazy((()=>n.default.object({acceptInsecureCerts:n.default.boolean().optional(),browserName:n.default.string().optional(),browserVersion:n.default.string().optional(),platformName:n.default.string().optional(),proxy:n.default.object({proxyType:n.default.enum([\"pac\",\"direct\",\"autodetect\",\"system\",\"manual\"]).optional(),proxyAutoconfigUrl:n.default.string().optional(),ftpProxy:n.default.string().optional(),httpProxy:n.default.string().optional(),noProxy:n.default.array(n.default.string()).optional(),sslProxy:n.default.string().optional(),socksProxy:n.default.string().optional(),socksVersion:n.default.number().int().nonnegative().gte(0).lte(255).optional()}).optional()}).and(t.ExtensibleSchema)))}(r||(t.Session=r={})),function(e){e.SubscriptionRequestSchema=n.default.lazy((()=>n.default.object({events:n.default.array(n.default.string()),contexts:n.default.array(o.BrowsingContextSchema).optional()})))}(r||(t.Session=r={})),function(e){e.StatusSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"session.status\"),params:t.EmptyParamsSchema})))}(r||(t.Session=r={})),function(e){e.StatusResultSchema=n.default.lazy((()=>n.default.object({ready:n.default.boolean(),message:n.default.string()})))}(r||(t.Session=r={})),function(e){e.NewSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"session.new\"),params:e.NewParametersSchema})))}(r||(t.Session=r={})),function(e){e.NewParametersSchema=n.default.lazy((()=>n.default.object({capabilities:e.CapabilitiesRequestSchema})))}(r||(t.Session=r={})),function(e){e.NewResultSchema=n.default.lazy((()=>n.default.object({sessionId:n.default.string(),capabilities:n.default.object({acceptInsecureCerts:n.default.boolean(),browserName:n.default.string(),browserVersion:n.default.string(),platformName:n.default.string(),proxy:n.default.object({proxyType:n.default.enum([\"pac\",\"direct\",\"autodetect\",\"system\",\"manual\"]).optional(),proxyAutoconfigUrl:n.default.string().optional(),ftpProxy:n.default.string().optional(),httpProxy:n.default.string().optional(),noProxy:n.default.array(n.default.string()).optional(),sslProxy:n.default.string().optional(),socksProxy:n.default.string().optional(),socksVersion:n.default.number().int().nonnegative().gte(0).lte(255).optional()}),setWindowRect:n.default.boolean()}).and(t.ExtensibleSchema)})))}(r||(t.Session=r={})),function(e){e.EndSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"session.end\"),params:t.EmptyParamsSchema})))}(r||(t.Session=r={})),function(e){e.SubscribeSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"session.subscribe\"),params:e.SubscriptionRequestSchema})))}(r||(t.Session=r={})),function(e){e.UnsubscribeSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"session.unsubscribe\"),params:e.SubscriptionRequestSchema})))}(r||(t.Session=r={})),t.BrowserCommandSchema=n.default.lazy((()=>s.CloseSchema)),function(e){e.CloseSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browser.close\"),params:t.EmptyParamsSchema})))}(s||(t.Browser=s={})),t.BrowsingContextCommandSchema=n.default.lazy((()=>n.default.union([o.ActivateSchema,o.CaptureScreenshotSchema,o.CloseSchema,o.CreateSchema,o.GetTreeSchema,o.HandleUserPromptSchema,o.NavigateSchema,o.PrintSchema,o.ReloadSchema,o.SetViewportSchema]))),t.BrowsingContextResultSchema=n.default.lazy((()=>n.default.union([o.CaptureScreenshotResultSchema,o.CreateResultSchema,o.GetTreeResultSchema,o.NavigateResultSchema,o.PrintResultSchema]))),t.BrowsingContextEventSchema=n.default.lazy((()=>n.default.union([o.ContextCreatedSchema,o.ContextDestroyedSchema,o.NavigationStartedSchema,o.FragmentNavigatedSchema,o.DomContentLoadedSchema,o.LoadSchema,o.DownloadWillBeginSchema,o.NavigationAbortedSchema,o.NavigationFailedSchema,o.UserPromptClosedSchema,o.UserPromptOpenedSchema]))),function(e){e.BrowsingContextSchema=n.default.lazy((()=>n.default.string()))}(o||(t.BrowsingContext=o={})),function(e){e.InfoListSchema=n.default.lazy((()=>n.default.array(e.InfoSchema)))}(o||(t.BrowsingContext=o={})),function(e){e.InfoSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema,url:n.default.string(),children:n.default.union([e.InfoListSchema,n.default.null()]),parent:n.default.union([e.BrowsingContextSchema,n.default.null()]).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigationSchema=n.default.lazy((()=>n.default.string()))}(o||(t.BrowsingContext=o={})),function(e){e.NavigationInfoSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema,navigation:n.default.union([e.NavigationSchema,n.default.null()]),timestamp:t.JsUintSchema,url:n.default.string()})))}(o||(t.BrowsingContext=o={})),function(e){e.ReadinessStateSchema=n.default.lazy((()=>n.default.enum([\"none\",\"interactive\",\"complete\"])))}(o||(t.BrowsingContext=o={})),function(e){e.ActivateSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.activate\"),params:e.ActivateParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.ActivateParametersSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.CaptureScreenshotSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.captureScreenshot\"),params:e.CaptureScreenshotParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.CaptureScreenshotParametersSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema,clip:e.ClipRectangleSchema.optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.ClipRectangleSchema=n.default.lazy((()=>n.default.union([e.BoxClipRectangleSchema,e.ElementClipRectangleSchema])))}(o||(t.BrowsingContext=o={})),function(e){e.ElementClipRectangleSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"element\"),element:c.SharedReferenceSchema,scrollIntoView:n.default.boolean().optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.BoxClipRectangleSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"viewport\"),x:n.default.number(),y:n.default.number(),width:n.default.number(),height:n.default.number()})))}(o||(t.BrowsingContext=o={})),function(e){e.CaptureScreenshotResultSchema=n.default.lazy((()=>n.default.object({data:n.default.string()})))}(o||(t.BrowsingContext=o={})),function(e){e.CloseSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.close\"),params:e.CloseParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.CloseParametersSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.CreateSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.create\"),params:e.CreateParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.CreateTypeSchema=n.default.lazy((()=>n.default.enum([\"tab\",\"window\"])))}(o||(t.BrowsingContext=o={})),function(e){e.CreateParametersSchema=n.default.lazy((()=>n.default.object({type:e.CreateTypeSchema,referenceContext:e.BrowsingContextSchema.optional(),background:n.default.boolean().default(!1).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.CreateResultSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.GetTreeSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.getTree\"),params:e.GetTreeParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.GetTreeParametersSchema=n.default.lazy((()=>n.default.object({maxDepth:t.JsUintSchema.optional(),root:e.BrowsingContextSchema.optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.GetTreeResultSchema=n.default.lazy((()=>n.default.object({contexts:e.InfoListSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.HandleUserPromptSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.handleUserPrompt\"),params:e.HandleUserPromptParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.HandleUserPromptParametersSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema,accept:n.default.boolean().optional(),userText:n.default.string().optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigateSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.navigate\"),params:e.NavigateParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigateParametersSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema,url:n.default.string(),wait:e.ReadinessStateSchema.optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigateResultSchema=n.default.lazy((()=>n.default.object({navigation:n.default.union([e.NavigationSchema,n.default.null()]),url:n.default.string()})))}(o||(t.BrowsingContext=o={})),function(e){e.PrintSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.print\"),params:e.PrintParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.PrintParametersSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema,background:n.default.boolean().default(!1).optional(),margin:e.PrintMarginParametersSchema.optional(),orientation:n.default.enum([\"portrait\",\"landscape\"]).default(\"portrait\").optional(),page:e.PrintPageParametersSchema.optional(),pageRanges:n.default.array(n.default.union([t.JsUintSchema,n.default.string()])).optional(),scale:n.default.number().gte(.1).lte(2).default(1).optional(),shrinkToFit:n.default.boolean().default(!0).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.PrintMarginParametersSchema=n.default.lazy((()=>n.default.object({bottom:n.default.number().gte(0).default(1).optional(),left:n.default.number().gte(0).default(1).optional(),right:n.default.number().gte(0).default(1).optional(),top:n.default.number().gte(0).default(1).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.PrintPageParametersSchema=n.default.lazy((()=>n.default.object({height:n.default.number().gte(0).default(27.94).optional(),width:n.default.number().gte(0).default(21.59).optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.PrintResultSchema=n.default.lazy((()=>n.default.object({data:n.default.string()})))}(o||(t.BrowsingContext=o={})),function(e){e.ReloadSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.reload\"),params:e.ReloadParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.ReloadParametersSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema,ignoreCache:n.default.boolean().optional(),wait:e.ReadinessStateSchema.optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.SetViewportSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.setViewport\"),params:e.SetViewportParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.SetViewportParametersSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema,viewport:n.default.union([e.ViewportSchema,n.default.null()])})))}(o||(t.BrowsingContext=o={})),function(e){e.ViewportSchema=n.default.lazy((()=>n.default.object({width:t.JsUintSchema,height:t.JsUintSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.ContextCreatedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.contextCreated\"),params:e.InfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.ContextDestroyedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.contextDestroyed\"),params:e.InfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigationStartedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.navigationStarted\"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.FragmentNavigatedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.fragmentNavigated\"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.DomContentLoadedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.domContentLoaded\"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.LoadSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.load\"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.DownloadWillBeginSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.downloadWillBegin\"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigationAbortedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.navigationAborted\"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.NavigationFailedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.navigationFailed\"),params:e.NavigationInfoSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.UserPromptClosedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.userPromptClosed\"),params:e.UserPromptClosedParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.UserPromptClosedParametersSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema,accepted:n.default.boolean(),userText:n.default.string().optional()})))}(o||(t.BrowsingContext=o={})),function(e){e.UserPromptOpenedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"browsingContext.userPromptOpened\"),params:e.UserPromptOpenedParametersSchema})))}(o||(t.BrowsingContext=o={})),function(e){e.UserPromptOpenedParametersSchema=n.default.lazy((()=>n.default.object({context:e.BrowsingContextSchema,type:n.default.enum([\"alert\",\"confirm\",\"prompt\",\"beforeunload\"]),message:n.default.string()})))}(o||(t.BrowsingContext=o={})),t.NetworkCommandSchema=n.default.lazy((()=>n.default.object({}))),t.NetworkResultSchema=n.default.lazy((()=>n.default.object({}))),t.NetworkEventSchema=n.default.lazy((()=>n.default.union([i.BeforeRequestSentSchema,i.FetchErrorSchema,i.ResponseStartedSchema,i.ResponseCompletedSchema]))),function(e){e.BaseParametersSchema=n.default.lazy((()=>n.default.object({context:n.default.union([o.BrowsingContextSchema,n.default.null()]),navigation:n.default.union([o.NavigationSchema,n.default.null()]),redirectCount:t.JsUintSchema,request:e.RequestDataSchema,timestamp:t.JsUintSchema})))}(i||(t.Network=i={})),function(e){e.BytesValueSchema=n.default.lazy((()=>n.default.union([e.StringValueSchema,e.Base64ValueSchema])))}(i||(t.Network=i={})),function(e){e.StringValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"string\"),value:n.default.string()})))}(i||(t.Network=i={})),function(e){e.Base64ValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"base64\"),value:n.default.string()})))}(i||(t.Network=i={})),function(e){e.CookieSchema=n.default.lazy((()=>n.default.object({name:n.default.string(),value:e.BytesValueSchema,domain:n.default.string(),path:n.default.string(),expires:t.JsUintSchema.optional(),size:t.JsUintSchema,httpOnly:n.default.boolean(),secure:n.default.boolean(),sameSite:n.default.enum([\"strict\",\"lax\",\"none\"])})))}(i||(t.Network=i={})),function(e){e.FetchTimingInfoSchema=n.default.lazy((()=>n.default.object({timeOrigin:n.default.number(),requestTime:n.default.number(),redirectStart:n.default.number(),redirectEnd:n.default.number(),fetchStart:n.default.number(),dnsStart:n.default.number(),dnsEnd:n.default.number(),connectStart:n.default.number(),connectEnd:n.default.number(),tlsStart:n.default.number(),requestStart:n.default.number(),responseStart:n.default.number(),responseEnd:n.default.number()})))}(i||(t.Network=i={})),function(e){e.HeaderSchema=n.default.lazy((()=>n.default.object({name:n.default.string(),value:e.BytesValueSchema})))}(i||(t.Network=i={})),function(e){e.InitiatorSchema=n.default.lazy((()=>n.default.object({type:n.default.enum([\"parser\",\"script\",\"preflight\",\"other\"]),columnNumber:t.JsUintSchema.optional(),lineNumber:t.JsUintSchema.optional(),stackTrace:c.StackTraceSchema.optional(),request:e.RequestSchema.optional()})))}(i||(t.Network=i={})),function(e){e.RequestSchema=n.default.lazy((()=>n.default.string()))}(i||(t.Network=i={})),function(e){e.RequestDataSchema=n.default.lazy((()=>n.default.object({request:e.RequestSchema,url:n.default.string(),method:n.default.string(),headers:n.default.array(e.HeaderSchema),cookies:n.default.array(e.CookieSchema),headersSize:t.JsUintSchema,bodySize:n.default.union([t.JsUintSchema,n.default.null()]),timings:e.FetchTimingInfoSchema})))}(i||(t.Network=i={})),function(e){e.ResponseContentSchema=n.default.lazy((()=>n.default.object({size:t.JsUintSchema})))}(i||(t.Network=i={})),function(e){e.ResponseDataSchema=n.default.lazy((()=>n.default.object({url:n.default.string(),protocol:n.default.string(),status:t.JsUintSchema,statusText:n.default.string(),fromCache:n.default.boolean(),headers:n.default.array(e.HeaderSchema),mimeType:n.default.string(),bytesReceived:t.JsUintSchema,headersSize:n.default.union([t.JsUintSchema,n.default.null()]),bodySize:n.default.union([t.JsUintSchema,n.default.null()]),content:e.ResponseContentSchema})))}(i||(t.Network=i={})),function(e){e.BeforeRequestSentSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"network.beforeRequestSent\"),params:e.BeforeRequestSentParametersSchema})))}(i||(t.Network=i={})),function(e){e.BeforeRequestSentParametersSchema=n.default.lazy((()=>e.BaseParametersSchema.and(n.default.object({initiator:e.InitiatorSchema}))))}(i||(t.Network=i={})),function(e){e.FetchErrorSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"network.fetchError\"),params:e.FetchErrorParametersSchema})))}(i||(t.Network=i={})),function(e){e.FetchErrorParametersSchema=n.default.lazy((()=>e.BaseParametersSchema.and(n.default.object({errorText:n.default.string()}))))}(i||(t.Network=i={})),function(e){e.ResponseCompletedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"network.responseCompleted\"),params:e.ResponseCompletedParametersSchema})))}(i||(t.Network=i={})),function(e){e.ResponseCompletedParametersSchema=n.default.lazy((()=>e.BaseParametersSchema.and(n.default.object({response:e.ResponseDataSchema}))))}(i||(t.Network=i={})),function(e){e.ResponseStartedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"network.responseStarted\"),params:e.ResponseStartedParametersSchema})))}(i||(t.Network=i={})),function(e){e.ResponseStartedParametersSchema=n.default.lazy((()=>e.BaseParametersSchema.and(n.default.object({response:e.ResponseDataSchema}))))}(i||(t.Network=i={})),t.ScriptCommandSchema=n.default.lazy((()=>n.default.union([c.AddPreloadScriptCommandSchema,c.CallFunctionSchema,c.DisownSchema,c.EvaluateSchema,c.GetRealmsSchema,c.RemovePreloadScriptCommandSchema]))),t.ScriptResultSchema=n.default.lazy((()=>n.default.union([c.AddPreloadScriptResultSchema,c.EvaluateResultSchema,c.GetRealmsResultSchema]))),t.ScriptEventSchema=n.default.lazy((()=>n.default.union([c.MessageSchema,c.RealmCreatedSchema,c.RealmDestroyedSchema]))),function(e){e.ChannelSchema=n.default.lazy((()=>n.default.string()))}(c||(t.Script=c={})),function(e){e.ChannelValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"channel\"),value:e.ChannelPropertiesSchema})))}(c||(t.Script=c={})),function(e){e.ChannelPropertiesSchema=n.default.lazy((()=>n.default.object({channel:e.ChannelSchema,serializationOptions:e.SerializationOptionsSchema.optional(),ownership:e.ResultOwnershipSchema.optional()})))}(c||(t.Script=c={})),function(e){e.EvaluateResultSchema=n.default.lazy((()=>n.default.union([e.EvaluateResultSuccessSchema,e.EvaluateResultExceptionSchema])))}(c||(t.Script=c={})),function(e){e.EvaluateResultSuccessSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"success\"),result:e.RemoteValueSchema,realm:e.RealmSchema})))}(c||(t.Script=c={})),function(e){e.EvaluateResultExceptionSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"exception\"),exceptionDetails:e.ExceptionDetailsSchema,realm:e.RealmSchema})))}(c||(t.Script=c={})),function(e){e.ExceptionDetailsSchema=n.default.lazy((()=>n.default.object({columnNumber:t.JsUintSchema,exception:e.RemoteValueSchema,lineNumber:t.JsUintSchema,stackTrace:e.StackTraceSchema,text:n.default.string()})))}(c||(t.Script=c={})),function(e){e.HandleSchema=n.default.lazy((()=>n.default.string()))}(c||(t.Script=c={})),function(e){e.LocalValueSchema=n.default.lazy((()=>n.default.union([e.RemoteReferenceSchema,e.PrimitiveProtocolValueSchema,e.ChannelValueSchema,e.ArrayLocalValueSchema,e.DateLocalValueSchema,e.MapLocalValueSchema,e.ObjectLocalValueSchema,e.RegExpLocalValueSchema,e.SetLocalValueSchema])))}(c||(t.Script=c={})),function(e){e.ListLocalValueSchema=n.default.lazy((()=>n.default.array(e.LocalValueSchema)))}(c||(t.Script=c={})),function(e){e.ArrayLocalValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"array\"),value:e.ListLocalValueSchema})))}(c||(t.Script=c={})),function(e){e.DateLocalValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"date\"),value:n.default.string()})))}(c||(t.Script=c={})),function(e){e.MappingLocalValueSchema=n.default.lazy((()=>n.default.array(n.default.tuple([n.default.union([e.LocalValueSchema,n.default.string()]),e.LocalValueSchema]))))}(c||(t.Script=c={})),function(e){e.MapLocalValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"map\"),value:e.MappingLocalValueSchema})))}(c||(t.Script=c={})),function(e){e.ObjectLocalValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"object\"),value:e.MappingLocalValueSchema})))}(c||(t.Script=c={})),function(e){e.RegExpValueSchema=n.default.lazy((()=>n.default.object({pattern:n.default.string(),flags:n.default.string().optional()})))}(c||(t.Script=c={})),function(e){e.RegExpLocalValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"regexp\"),value:e.RegExpValueSchema})))}(c||(t.Script=c={})),function(e){e.SetLocalValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"set\"),value:e.ListLocalValueSchema})))}(c||(t.Script=c={})),function(e){e.PreloadScriptSchema=n.default.lazy((()=>n.default.string()))}(c||(t.Script=c={})),function(e){e.RealmSchema=n.default.lazy((()=>n.default.string()))}(c||(t.Script=c={})),function(e){e.PrimitiveProtocolValueSchema=n.default.lazy((()=>n.default.union([e.UndefinedValueSchema,e.NullValueSchema,e.StringValueSchema,e.NumberValueSchema,e.BooleanValueSchema,e.BigIntValueSchema])))}(c||(t.Script=c={})),function(e){e.UndefinedValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"undefined\")})))}(c||(t.Script=c={})),function(e){e.NullValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"null\")})))}(c||(t.Script=c={})),function(e){e.StringValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"string\"),value:n.default.string()})))}(c||(t.Script=c={})),function(e){e.SpecialNumberSchema=n.default.lazy((()=>n.default.enum([\"NaN\",\"-0\",\"Infinity\",\"-Infinity\"])))}(c||(t.Script=c={})),function(e){e.NumberValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"number\"),value:n.default.union([n.default.number(),e.SpecialNumberSchema])})))}(c||(t.Script=c={})),function(e){e.BooleanValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"boolean\"),value:n.default.boolean()})))}(c||(t.Script=c={})),function(e){e.BigIntValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"bigint\"),value:n.default.string()})))}(c||(t.Script=c={})),function(e){e.RealmInfoSchema=n.default.lazy((()=>n.default.union([e.WindowRealmInfoSchema,e.DedicatedWorkerRealmInfoSchema,e.SharedWorkerRealmInfoSchema,e.ServiceWorkerRealmInfoSchema,e.WorkerRealmInfoSchema,e.PaintWorkletRealmInfoSchema,e.AudioWorkletRealmInfoSchema,e.WorkletRealmInfoSchema])))}(c||(t.Script=c={})),function(e){e.BaseRealmInfoSchema=n.default.lazy((()=>n.default.object({realm:e.RealmSchema,origin:n.default.string()})))}(c||(t.Script=c={})),function(e){e.WindowRealmInfoSchema=n.default.lazy((()=>e.BaseRealmInfoSchema.and(n.default.object({type:n.default.literal(\"window\"),context:o.BrowsingContextSchema,sandbox:n.default.string().optional()}))))}(c||(t.Script=c={})),function(e){e.DedicatedWorkerRealmInfoSchema=n.default.lazy((()=>e.BaseRealmInfoSchema.and(n.default.object({type:n.default.literal(\"dedicated-worker\")}))))}(c||(t.Script=c={})),function(e){e.SharedWorkerRealmInfoSchema=n.default.lazy((()=>e.BaseRealmInfoSchema.and(n.default.object({type:n.default.literal(\"shared-worker\")}))))}(c||(t.Script=c={})),function(e){e.ServiceWorkerRealmInfoSchema=n.default.lazy((()=>e.BaseRealmInfoSchema.and(n.default.object({type:n.default.literal(\"service-worker\")}))))}(c||(t.Script=c={})),function(e){e.WorkerRealmInfoSchema=n.default.lazy((()=>e.BaseRealmInfoSchema.and(n.default.object({type:n.default.literal(\"worker\")}))))}(c||(t.Script=c={})),function(e){e.PaintWorkletRealmInfoSchema=n.default.lazy((()=>e.BaseRealmInfoSchema.and(n.default.object({type:n.default.literal(\"paint-worklet\")}))))}(c||(t.Script=c={})),function(e){e.AudioWorkletRealmInfoSchema=n.default.lazy((()=>e.BaseRealmInfoSchema.and(n.default.object({type:n.default.literal(\"audio-worklet\")}))))}(c||(t.Script=c={})),function(e){e.WorkletRealmInfoSchema=n.default.lazy((()=>e.BaseRealmInfoSchema.and(n.default.object({type:n.default.literal(\"worklet\")}))))}(c||(t.Script=c={})),function(e){e.RealmTypeSchema=n.default.lazy((()=>n.default.enum([\"window\",\"dedicated-worker\",\"shared-worker\",\"service-worker\",\"worker\",\"paint-worklet\",\"audio-worklet\",\"worklet\"])))}(c||(t.Script=c={})),function(e){e.RemoteReferenceSchema=n.default.lazy((()=>n.default.union([e.SharedReferenceSchema,e.RemoteObjectReferenceSchema])))}(c||(t.Script=c={})),function(e){e.SharedReferenceSchema=n.default.lazy((()=>n.default.object({sharedId:e.SharedIdSchema,handle:e.HandleSchema.optional()}).and(t.ExtensibleSchema)))}(c||(t.Script=c={})),function(e){e.RemoteObjectReferenceSchema=n.default.lazy((()=>n.default.object({handle:e.HandleSchema,sharedId:e.SharedIdSchema.optional()}).and(t.ExtensibleSchema)))}(c||(t.Script=c={})),function(e){e.RemoteValueSchema=n.default.lazy((()=>n.default.union([e.PrimitiveProtocolValueSchema,e.SymbolRemoteValueSchema,e.ArrayRemoteValueSchema,e.ObjectRemoteValueSchema,e.FunctionRemoteValueSchema,e.RegExpRemoteValueSchema,e.DateRemoteValueSchema,e.MapRemoteValueSchema,e.SetRemoteValueSchema,e.WeakMapRemoteValueSchema,e.WeakSetRemoteValueSchema,e.IteratorRemoteValueSchema,e.GeneratorRemoteValueSchema,e.ErrorRemoteValueSchema,e.ProxyRemoteValueSchema,e.PromiseRemoteValueSchema,e.TypedArrayRemoteValueSchema,e.ArrayBufferRemoteValueSchema,e.NodeListRemoteValueSchema,e.HtmlCollectionRemoteValueSchema,e.NodeRemoteValueSchema,e.WindowProxyRemoteValueSchema])))}(c||(t.Script=c={})),function(e){e.InternalIdSchema=n.default.lazy((()=>t.JsUintSchema))}(c||(t.Script=c={})),function(e){e.ListRemoteValueSchema=n.default.lazy((()=>n.default.array(e.RemoteValueSchema)))}(c||(t.Script=c={})),function(e){e.MappingRemoteValueSchema=n.default.lazy((()=>n.default.array(n.default.tuple([n.default.union([e.RemoteValueSchema,n.default.string()]),e.RemoteValueSchema]))))}(c||(t.Script=c={})),function(e){e.SymbolRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"symbol\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.ArrayRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"array\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.ListRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.ObjectRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"object\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.MappingRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.FunctionRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"function\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.RegExpRemoteValueSchema=n.default.lazy((()=>n.default.object({handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()}).and(e.RegExpLocalValueSchema)))}(c||(t.Script=c={})),function(e){e.DateRemoteValueSchema=n.default.lazy((()=>n.default.object({handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()}).and(e.DateLocalValueSchema)))}(c||(t.Script=c={})),function(e){e.MapRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"map\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.MappingRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.SetRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"set\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.ListRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.WeakMapRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"weakmap\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.WeakSetRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"weakset\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.IteratorRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"iterator\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.GeneratorRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"generator\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.ErrorRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"error\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.ProxyRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"proxy\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.PromiseRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"promise\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.TypedArrayRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"typedarray\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.ArrayBufferRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"arraybuffer\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.NodeListRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"nodelist\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.ListRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.HtmlCollectionRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"htmlcollection\"),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.ListRemoteValueSchema.optional()})))}(c||(t.Script=c={})),function(e){e.NodeRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"node\"),sharedId:e.SharedIdSchema.optional(),handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional(),value:e.NodePropertiesSchema.optional()})))}(c||(t.Script=c={})),function(e){e.NodePropertiesSchema=n.default.lazy((()=>n.default.object({nodeType:t.JsUintSchema,childNodeCount:t.JsUintSchema,attributes:n.default.record(n.default.string(),n.default.string()).optional(),children:n.default.array(e.NodeRemoteValueSchema).optional(),localName:n.default.string().optional(),mode:n.default.enum([\"open\",\"closed\"]).optional(),namespaceURI:n.default.string().optional(),nodeValue:n.default.string().optional(),shadowRoot:n.default.union([e.NodeRemoteValueSchema,n.default.null()]).optional()})))}(c||(t.Script=c={})),function(e){e.WindowProxyRemoteValueSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"window\"),value:e.WindowProxyPropertiesSchema,handle:e.HandleSchema.optional(),internalId:e.InternalIdSchema.optional()})))}(c||(t.Script=c={})),function(e){e.WindowProxyPropertiesSchema=n.default.lazy((()=>n.default.object({context:o.BrowsingContextSchema})))}(c||(t.Script=c={})),function(e){e.ResultOwnershipSchema=n.default.lazy((()=>n.default.enum([\"root\",\"none\"])))}(c||(t.Script=c={})),function(e){e.SerializationOptionsSchema=n.default.lazy((()=>n.default.object({maxDomDepth:n.default.union([t.JsUintSchema,n.default.null()]).default(0).optional(),maxObjectDepth:n.default.union([t.JsUintSchema,n.default.null()]).default(null).optional(),includeShadowTree:n.default.enum([\"none\",\"open\",\"all\"]).default(\"none\").optional()})))}(c||(t.Script=c={})),function(e){e.SharedIdSchema=n.default.lazy((()=>n.default.string()))}(c||(t.Script=c={})),function(e){e.StackFrameSchema=n.default.lazy((()=>n.default.object({columnNumber:t.JsUintSchema,functionName:n.default.string(),lineNumber:t.JsUintSchema,url:n.default.string()})))}(c||(t.Script=c={})),function(e){e.StackTraceSchema=n.default.lazy((()=>n.default.object({callFrames:n.default.array(e.StackFrameSchema)})))}(c||(t.Script=c={})),function(e){e.SourceSchema=n.default.lazy((()=>n.default.object({realm:e.RealmSchema,context:o.BrowsingContextSchema.optional()})))}(c||(t.Script=c={})),function(e){e.RealmTargetSchema=n.default.lazy((()=>n.default.object({realm:e.RealmSchema})))}(c||(t.Script=c={})),function(e){e.ContextTargetSchema=n.default.lazy((()=>n.default.object({context:o.BrowsingContextSchema,sandbox:n.default.string().optional()})))}(c||(t.Script=c={})),function(e){e.TargetSchema=n.default.lazy((()=>n.default.union([e.RealmTargetSchema,e.ContextTargetSchema])))}(c||(t.Script=c={})),function(e){e.AddPreloadScriptCommandSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"script.addPreloadScript\"),params:e.AddPreloadScriptParametersSchema})))}(c||(t.Script=c={})),function(e){e.AddPreloadScriptParametersSchema=n.default.lazy((()=>n.default.object({functionDeclaration:n.default.string(),arguments:n.default.array(e.ChannelValueSchema).optional(),sandbox:n.default.string().optional()})))}(c||(t.Script=c={})),function(e){e.AddPreloadScriptResultSchema=n.default.lazy((()=>n.default.object({script:e.PreloadScriptSchema})))}(c||(t.Script=c={})),function(e){e.DisownSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"script.disown\"),params:e.DisownParametersSchema})))}(c||(t.Script=c={})),function(e){e.DisownParametersSchema=n.default.lazy((()=>n.default.object({handles:n.default.array(e.HandleSchema),target:e.TargetSchema})))}(c||(t.Script=c={})),function(e){e.CallFunctionSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"script.callFunction\"),params:e.CallFunctionParametersSchema})))}(c||(t.Script=c={})),function(e){e.CallFunctionParametersSchema=n.default.lazy((()=>n.default.object({functionDeclaration:n.default.string(),awaitPromise:n.default.boolean(),target:e.TargetSchema,arguments:n.default.array(e.LocalValueSchema).optional(),resultOwnership:e.ResultOwnershipSchema.optional(),serializationOptions:e.SerializationOptionsSchema.optional(),this:e.LocalValueSchema.optional(),userActivation:n.default.boolean().default(!1).optional()})))}(c||(t.Script=c={})),function(e){e.EvaluateSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"script.evaluate\"),params:e.EvaluateParametersSchema})))}(c||(t.Script=c={})),function(e){e.EvaluateParametersSchema=n.default.lazy((()=>n.default.object({expression:n.default.string(),target:e.TargetSchema,awaitPromise:n.default.boolean(),resultOwnership:e.ResultOwnershipSchema.optional(),serializationOptions:e.SerializationOptionsSchema.optional(),userActivation:n.default.boolean().default(!1).optional()})))}(c||(t.Script=c={})),function(e){e.GetRealmsSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"script.getRealms\"),params:e.GetRealmsParametersSchema})))}(c||(t.Script=c={})),function(e){e.GetRealmsParametersSchema=n.default.lazy((()=>n.default.object({context:o.BrowsingContextSchema.optional(),type:e.RealmTypeSchema.optional()})))}(c||(t.Script=c={})),function(e){e.GetRealmsResultSchema=n.default.lazy((()=>n.default.object({realms:n.default.array(e.RealmInfoSchema)})))}(c||(t.Script=c={})),function(e){e.RemovePreloadScriptCommandSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"script.removePreloadScript\"),params:e.RemovePreloadScriptParametersSchema})))}(c||(t.Script=c={})),function(e){e.RemovePreloadScriptParametersSchema=n.default.lazy((()=>n.default.object({script:e.PreloadScriptSchema})))}(c||(t.Script=c={})),function(e){e.MessageSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"script.message\"),params:e.MessageParametersSchema})))}(c||(t.Script=c={})),function(e){e.MessageParametersSchema=n.default.lazy((()=>n.default.object({channel:e.ChannelSchema,data:e.RemoteValueSchema,source:e.SourceSchema})))}(c||(t.Script=c={})),function(e){e.RealmCreatedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"script.realmCreated\"),params:e.RealmInfoSchema})))}(c||(t.Script=c={})),function(e){e.RealmDestroyedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"script.realmDestroyed\"),params:e.RealmDestroyedParametersSchema})))}(c||(t.Script=c={})),function(e){e.RealmDestroyedParametersSchema=n.default.lazy((()=>n.default.object({realm:e.RealmSchema})))}(c||(t.Script=c={})),t.LogEventSchema=n.default.lazy((()=>d.EntryAddedSchema)),function(e){e.LevelSchema=n.default.lazy((()=>n.default.enum([\"debug\",\"info\",\"warn\",\"error\"])))}(d||(t.Log=d={})),function(e){e.EntrySchema=n.default.lazy((()=>n.default.union([e.GenericLogEntrySchema,e.ConsoleLogEntrySchema,e.JavascriptLogEntrySchema])))}(d||(t.Log=d={})),function(e){e.BaseLogEntrySchema=n.default.lazy((()=>n.default.object({level:e.LevelSchema,source:c.SourceSchema,text:n.default.union([n.default.string(),n.default.null()]),timestamp:t.JsUintSchema,stackTrace:c.StackTraceSchema.optional()})))}(d||(t.Log=d={})),function(e){e.GenericLogEntrySchema=n.default.lazy((()=>e.BaseLogEntrySchema.and(n.default.object({type:n.default.string()}))))}(d||(t.Log=d={})),function(e){e.ConsoleLogEntrySchema=n.default.lazy((()=>e.BaseLogEntrySchema.and(n.default.object({type:n.default.literal(\"console\"),method:n.default.string(),args:n.default.array(c.RemoteValueSchema)}))))}(d||(t.Log=d={})),function(e){e.JavascriptLogEntrySchema=n.default.lazy((()=>e.BaseLogEntrySchema.and(n.default.object({type:n.default.literal(\"javascript\")}))))}(d||(t.Log=d={})),function(e){e.EntryAddedSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"log.entryAdded\"),params:e.EntrySchema})))}(d||(t.Log=d={})),t.InputCommandSchema=n.default.lazy((()=>n.default.union([l.PerformActionsSchema,l.ReleaseActionsSchema]))),function(e){e.ElementOriginSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"element\"),element:c.SharedReferenceSchema})))}(l||(t.Input=l={})),function(e){e.PerformActionsSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"input.performActions\"),params:e.PerformActionsParametersSchema})))}(l||(t.Input=l={})),function(e){e.PerformActionsParametersSchema=n.default.lazy((()=>n.default.object({context:o.BrowsingContextSchema,actions:n.default.array(e.SourceActionsSchema)})))}(l||(t.Input=l={})),function(e){e.SourceActionsSchema=n.default.lazy((()=>n.default.union([e.NoneSourceActionsSchema,e.KeySourceActionsSchema,e.PointerSourceActionsSchema,e.WheelSourceActionsSchema])))}(l||(t.Input=l={})),function(e){e.NoneSourceActionsSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"none\"),id:n.default.string(),actions:n.default.array(e.NoneSourceActionSchema)})))}(l||(t.Input=l={})),function(e){e.NoneSourceActionSchema=n.default.lazy((()=>e.PauseActionSchema))}(l||(t.Input=l={})),function(e){e.KeySourceActionsSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"key\"),id:n.default.string(),actions:n.default.array(e.KeySourceActionSchema)})))}(l||(t.Input=l={})),function(e){e.KeySourceActionSchema=n.default.lazy((()=>n.default.union([e.PauseActionSchema,e.KeyDownActionSchema,e.KeyUpActionSchema])))}(l||(t.Input=l={})),function(e){e.PointerSourceActionsSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"pointer\"),id:n.default.string(),parameters:e.PointerParametersSchema.optional(),actions:n.default.array(e.PointerSourceActionSchema)})))}(l||(t.Input=l={})),function(e){e.PointerTypeSchema=n.default.lazy((()=>n.default.enum([\"mouse\",\"pen\",\"touch\"])))}(l||(t.Input=l={})),function(e){e.PointerParametersSchema=n.default.lazy((()=>n.default.object({pointerType:e.PointerTypeSchema.default(\"mouse\").optional()})))}(l||(t.Input=l={})),function(e){e.PointerSourceActionSchema=n.default.lazy((()=>n.default.union([e.PauseActionSchema,e.PointerDownActionSchema,e.PointerUpActionSchema,e.PointerMoveActionSchema])))}(l||(t.Input=l={})),function(e){e.WheelSourceActionsSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"wheel\"),id:n.default.string(),actions:n.default.array(e.WheelSourceActionSchema)})))}(l||(t.Input=l={})),function(e){e.WheelSourceActionSchema=n.default.lazy((()=>n.default.union([e.PauseActionSchema,e.WheelScrollActionSchema])))}(l||(t.Input=l={})),function(e){e.PauseActionSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"pause\"),duration:t.JsUintSchema.optional()})))}(l||(t.Input=l={})),function(e){e.KeyDownActionSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"keyDown\"),value:n.default.string()})))}(l||(t.Input=l={})),function(e){e.KeyUpActionSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"keyUp\"),value:n.default.string()})))}(l||(t.Input=l={})),function(e){e.PointerUpActionSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"pointerUp\"),button:t.JsUintSchema}).and(e.PointerCommonPropertiesSchema)))}(l||(t.Input=l={})),function(e){e.PointerDownActionSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"pointerDown\"),button:t.JsUintSchema}).and(e.PointerCommonPropertiesSchema)))}(l||(t.Input=l={})),function(e){e.PointerMoveActionSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"pointerMove\"),x:t.JsIntSchema,y:t.JsIntSchema,duration:t.JsUintSchema.optional(),origin:e.OriginSchema.optional()}).and(e.PointerCommonPropertiesSchema)))}(l||(t.Input=l={})),function(e){e.WheelScrollActionSchema=n.default.lazy((()=>n.default.object({type:n.default.literal(\"scroll\"),x:t.JsIntSchema,y:t.JsIntSchema,deltaX:t.JsIntSchema,deltaY:t.JsIntSchema,duration:t.JsUintSchema.optional(),origin:e.OriginSchema.default(\"viewport\").optional()})))}(l||(t.Input=l={})),function(e){e.PointerCommonPropertiesSchema=n.default.lazy((()=>n.default.object({width:t.JsUintSchema.default(1).optional(),height:t.JsUintSchema.default(1).optional(),pressure:n.default.number().default(0).optional(),tangentialPressure:n.default.number().default(0).optional(),twist:n.default.number().int().nonnegative().gte(0).lte(359).default(0).optional()}).and(n.default.union([e.TiltPropertiesSchema,e.AnglePropertiesSchema]))))}(l||(t.Input=l={})),function(e){e.AnglePropertiesSchema=n.default.lazy((()=>n.default.object({altitudeAngle:n.default.number().default(0).optional(),azimuthAngle:n.default.number().default(0).optional()})))}(l||(t.Input=l={})),function(e){e.TiltPropertiesSchema=n.default.lazy((()=>n.default.object({tiltX:n.default.number().int().gte(-90).lte(90).default(0).optional(),tiltY:n.default.number().int().gte(-90).lte(90).default(0).optional()})))}(l||(t.Input=l={})),function(e){e.OriginSchema=n.default.lazy((()=>n.default.union([n.default.literal(\"viewport\"),n.default.literal(\"pointer\"),e.ElementOriginSchema])))}(l||(t.Input=l={})),function(e){e.ReleaseActionsSchema=n.default.lazy((()=>n.default.object({method:n.default.literal(\"input.releaseActions\"),params:e.ReleaseActionsParametersSchema})))}(l||(t.Input=l={})),function(e){e.ReleaseActionsParametersSchema=n.default.lazy((()=>n.default.object({context:o.BrowsingContextSchema})))}(l||(t.Input=l={}))}(ka);var Ra=e&&e.__createBinding||(Object.create?function(e,t,a,n){void 0===n&&(n=a);var r=Object.getOwnPropertyDescriptor(t,a);r&&!(\"get\"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,n,r)}:function(e,t,a,n){void 0===n&&(n=a),e[n]=t[a]}),Na=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ja=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)\"default\"!==a&&Object.prototype.hasOwnProperty.call(e,a)&&Ra(t,e,a);return Na(t,e),t};Object.defineProperty(la,\"__esModule\",{value:!0}),la.Cdp=la.Input=la.Session=la.BrowsingContext=la.Script=la.parseObject=void 0;const Oa=ua,Ma=h,Ba=ja(ka);function Da(e,t){const a=t.safeParse(e);if(a.success)return a.data;const n=a.error.errors.map((e=>`${e.message} in ${e.path.map((e=>JSON.stringify(e))).join(\"/\")}.`)).join(\" \");throw new Ma.InvalidArgumentException(n)}var Aa,za,Za,La,Va;la.parseObject=Da,function(e){e.parseGetRealmsParams=function(e){return Da(e,Ba.Script.GetRealmsParametersSchema)},e.parseEvaluateParams=function(e){return Da(e,Ba.Script.EvaluateParametersSchema)},e.parseDisownParams=function(e){return Da(e,Ba.Script.DisownParametersSchema)},e.parseAddPreloadScriptParams=function(e){return Da(e,Ba.Script.AddPreloadScriptParametersSchema)},e.parseRemovePreloadScriptParams=function(e){return Da(e,Ba.Script.RemovePreloadScriptParametersSchema)},e.parseCallFunctionParams=function(e){return Da(e,Ba.Script.CallFunctionParametersSchema)}}(Aa||(la.Script=Aa={})),function(e){e.parseActivateParams=function(e){return Da(e,Ba.BrowsingContext.ActivateParametersSchema)},e.parseGetTreeParams=function(e){return Da(e,Ba.BrowsingContext.GetTreeParametersSchema)},e.parseNavigateParams=function(e){return Da(e,Ba.BrowsingContext.NavigateParametersSchema)},e.parseReloadParams=function(e){return Da(e,Ba.BrowsingContext.ReloadParametersSchema)},e.parseCreateParams=function(e){return Da(e,Ba.BrowsingContext.CreateParametersSchema)},e.parseCloseParams=function(e){return Da(e,Ba.BrowsingContext.CloseParametersSchema)},e.parseCaptureScreenshotParams=function(e){return Da(e,Ba.BrowsingContext.CaptureScreenshotParametersSchema)},e.parsePrintParams=function(e){return Da(e,Ba.BrowsingContext.PrintParametersSchema)},e.parseSetViewportParams=function(e){return Da(e,Ba.BrowsingContext.SetViewportParametersSchema)},e.parseHandleUserPromptParameters=function(e){return Da(e,Ba.BrowsingContext.HandleUserPromptParametersSchema)}}(za||(la.BrowsingContext=za={})),function(e){e.parseSubscribeParams=function(e){return Da(e,Ba.Session.SubscriptionRequestSchema)}}(Za||(la.Session=Za={})),function(e){e.parsePerformActionsParams=function(e){return Da(e,Ba.Input.PerformActionsParametersSchema)},e.parseReleaseActionsParams=function(e){return Da(e,Ba.Input.ReleaseActionsParametersSchema)}}(La||(la.Input=La={})),function(e){const t=Oa.z.object({method:Oa.z.string(),params:Oa.z.object({}).passthrough().optional(),session:Oa.z.string().optional()}),a=Oa.z.object({context:Ba.BrowsingContext.BrowsingContextSchema});e.parseSendCommandRequest=function(e){return Da(e,t)},e.parseGetSessionRequest=function(e){return Da(e,a)}}(Va||(la.Cdp=Va={}));var Ua=e&&e.__createBinding||(Object.create?function(e,t,a,n){void 0===n&&(n=a);var r=Object.getOwnPropertyDescriptor(t,a);r&&!(\"get\"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,n,r)}:function(e,t,a,n){void 0===n&&(n=a),e[n]=t[a]}),Fa=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Ka=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)\"default\"!==a&&Object.prototype.hasOwnProperty.call(e,a)&&Ua(t,e,a);return Fa(t,e),t};Object.defineProperty(da,\"__esModule\",{value:!0}),da.BidiParserImpl=void 0;const qa=Ka(la);da.BidiParserImpl=class{parseActivateParams(e){return qa.BrowsingContext.parseActivateParams(e)}parseCaptureScreenshotParams(e){return qa.BrowsingContext.parseCaptureScreenshotParams(e)}parseCloseParams(e){return qa.BrowsingContext.parseCloseParams(e)}parseCreateParams(e){return qa.BrowsingContext.parseCreateParams(e)}parseGetTreeParams(e){return qa.BrowsingContext.parseGetTreeParams(e)}parseHandleUserPromptParams(e){return qa.BrowsingContext.parseHandleUserPromptParameters(e)}parseNavigateParams(e){return qa.BrowsingContext.parseNavigateParams(e)}parsePrintParams(e){return qa.BrowsingContext.parsePrintParams(e)}parseReloadParams(e){return qa.BrowsingContext.parseReloadParams(e)}parseSetViewportParams(e){return qa.BrowsingContext.parseSetViewportParams(e)}parseGetSessionParams(e){return qa.Cdp.parseGetSessionRequest(e)}parseSendCommandParams(e){return qa.Cdp.parseSendCommandRequest(e)}parsePerformActionsParams(e){return qa.Input.parsePerformActionsParams(e)}parseReleaseActionsParams(e){return qa.Input.parseReleaseActionsParams(e)}parseAddPreloadScriptParams(e){return qa.Script.parseAddPreloadScriptParams(e)}parseCallFunctionParams(e){return qa.Script.parseCallFunctionParams(e)}parseDisownParams(e){return qa.Script.parseDisownParams(e)}parseEvaluateParams(e){return qa.Script.parseEvaluateParams(e)}parseGetRealmsParams(e){return qa.Script.parseGetRealmsParams(e)}parseRemovePreloadScriptParams(e){return qa.Script.parseRemovePreloadScriptParams(e)}parseSubscribeParams(e){return qa.Session.parseSubscribeParams(e)}};var $a={};Object.defineProperty($a,\"__esModule\",{value:!0}),$a.log=$a.generatePage=void 0;const Wa=l;function Ja(e){const t=`${e}_log`,a=document.getElementById(t);if(a)return a;const n=document.getElementById(\"details\"),r=document.createElement(\"div\");r.className=\"divider\",n.appendChild(r);const s=document.createElement(\"div\");return s.className=\"item\",s.innerHTML=`<h3>${e}</h3><div id=\"${t}\" class=\"log\"></div>`,n.appendChild(s),document.getElementById(t)}$a.generatePage=function(){globalThis.document.documentElement&&(globalThis.document.documentElement.innerHTML='<!DOCTYPE html><title>BiDi-CDP Mapper</title><style>body{font-family: Roboto, serif; font-size: 13px; color: #202124;}.log{padding: 12px; font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace; font-size: 11px; line-height: 180%; background: #f1f3f4; border-radius: 4px;}.pre{overflow-wrap: break-word; padding: 10px;}.card{margin: 60px auto; padding: 2px 0; max-width: 900px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15), 0 1px 6px rgba(0, 0, 0, 0.2); border-radius: 8px;}.divider{height: 1px; background: #f0f0f0;}.item{padding: 16px 20px;}</style><div class=\"card\"><div class=\"item\"><h1>BiDi-CDP Mapper is controlling this tab</h1><p>Closing or reloading it will stop the BiDi process. <a target=\"_blank\" title=\"BiDi-CDP Mapper GitHub Repository\" href=\"https://github.com/GoogleChromeLabs/chromium-bidi\">Details.</a></p></div><div class=\"divider\"></div><details id=\"details\"><summary class=\"item\">Debug information</summary></details></div>',Ja(Wa.LogType.system),Ja(Wa.LogType.bidi),Ja(Wa.LogType.browsingContexts),Ja(Wa.LogType.cdp))},$a.log=function(t,...a){if(!globalThis.document.documentElement)return;e.window?.sendDebugMessage?.(JSON.stringify({logType:t,messages:a}));const n=Ja(t),r=document.createElement(\"div\");r.className=\"pre\",r.textContent=a.join(\" \"),n.appendChild(r)},\n"
[aarch64] gen/chrome/test/chromedriver/bidimapper/bidimapper.cc:11:39698: warning: trigraph ??! ignored, use -trigraphs to enable [-Wtrigraphs]
[aarch64] --
[aarch64] [184/425] : && /usr/bin/c++ -fPIC -pipe -frecord-gcc-switches -Wall -g1 -O2 -flto=auto -fPIC -DPIC -Wno-error=return-type -g -DNDEBUG -O2  -Wl,--no-undefined -Wl,--version-script,/usr/src/RPM/BUILD/qtwebengine-everywhere-src-6.7.2/BUILD/src/core/api/WebEngineCore.version @/usr/src/RPM/BUILD/qtwebengine-everywhere-src-6.7.2/BUILD/src/core/RelWithDebInfo/aarch64/QtWebEngineCore_objects.rsp -Wl,--gc-sections -Wl,--enable-new-dtags -shared -Wl,-soname,libQt6WebEngineCore.so.6 -o lib64/libQt6WebEngineCore.so.6.7.2 src/core/api/CMakeFiles/WebEngineCore.dir/WebEngineCore_autogen/mocs_compilation.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qtwebenginecoreglobal.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificateselection.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificatestore.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecontextmenurequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedesktopmediarequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedownloadrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefilesystemaccessrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefindtextresult.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefullscreenrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehistory.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehttprequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineloadinginfo.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginemessagepumpscheduler.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenavigationrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenewwindowrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenotification.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginepage.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineprofile.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginequotarequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineregisterprotocolhandlerrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescript.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescriptcollection.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginesettings.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinfo.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinterceptor.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestjob.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlscheme.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlschemehandler.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineglobalsettings.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginewebauthuxrequest.cpp.o  -Wl,--start-group @/usr/src/RPM/BUILD/qtwebengine-everywhere-src-6.7.2/BUILD/src/core/RelWithDebInfo/aarch64/QtWebEngineCore_archives.rsp -Wl,--end-group  -Wl,--no-fatal-warnings @/usr/src/RPM/BUILD/qtwebengine-everywhere-src-6.7.2/BUILD/src/core/RelWithDebInfo/aarch64/QtWebEngineCore_ldir.rsp @/usr/src/RPM/BUILD/qtwebengine-everywhere-src-6.7.2/BUILD/src/core/RelWithDebInfo/aarch64/QtWebEngineCore_libs.rsp -Wl,--no-fatal-warnings  /usr/lib64/libxkbcommon.so  /usr/lib64/libQt6Quick.so.6.7.2  /usr/lib64/libQt6OpenGL.so.6.7.2  /usr/lib64/libQt6Gui.so.6.7.2  /usr/lib64/libGLX.so  /usr/lib64/libOpenGL.so  /usr/lib64/libQt6QmlModels.so.6.7.2  /usr/lib64/libQt6WebChannel.so.6.7.2  /usr/lib64/libQt6Qml.so.6.7.2  /usr/lib64/libQt6Network.so.6.7.2  /usr/lib64/libQt6QmlBuiltins.a  /usr/lib64/libQt6Positioning.so.6.7.2  /usr/lib64/libQt6Core.so.6.7.2 && :
[aarch64] FAILED: lib64/libQt6WebEngineCore.so.6.7.2 
[aarch64] : && /usr/bin/c++ -fPIC -pipe -frecord-gcc-switches -Wall -g1 -O2 -flto=auto -fPIC -DPIC -Wno-error=return-type -g -DNDEBUG -O2  -Wl,--no-undefined -Wl,--version-script,/usr/src/RPM/BUILD/qtwebengine-everywhere-src-6.7.2/BUILD/src/core/api/WebEngineCore.version @/usr/src/RPM/BUILD/qtwebengine-everywhere-src-6.7.2/BUILD/src/core/RelWithDebInfo/aarch64/QtWebEngineCore_objects.rsp -Wl,--gc-sections -Wl,--enable-new-dtags -shared -Wl,-soname,libQt6WebEngineCore.so.6 -o lib64/libQt6WebEngineCore.so.6.7.2 src/core/api/CMakeFiles/WebEngineCore.dir/WebEngineCore_autogen/mocs_compilation.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qtwebenginecoreglobal.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificateselection.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificatestore.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecontextmenurequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedesktopmediarequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedownloadrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefilesystemaccessrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefindtextresult.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefullscreenrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehistory.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehttprequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineloadinginfo.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginemessagepumpscheduler.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenavigationrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenewwindowrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenotification.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginepage.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineprofile.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginequotarequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineregisterprotocolhandlerrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescript.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescriptcollection.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginesettings.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinfo.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinterceptor.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestjob.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlscheme.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlschemehandler.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineglobalsettings.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginewebauthuxrequest.cpp.o  -Wl,--start-group @/usr/src/RPM/BUILD/qtwebengine-everywhere-src-6.7.2/BUILD/src/core/RelWithDebInfo/aarch64/QtWebEngineCore_archives.rsp -Wl,--end-group  -Wl,--no-fatal-warnings @/usr/src/RPM/BUILD/qtwebengine-everywhere-src-6.7.2/BUILD/src/core/RelWithDebInfo/aarch64/QtWebEngineCore_ldir.rsp @/usr/src/RPM/BUILD/qtwebengine-everywhere-src-6.7.2/BUILD/src/core/RelWithDebInfo/aarch64/QtWebEngineCore_libs.rsp -Wl,--no-fatal-warnings  /usr/lib64/libxkbcommon.so  /usr/lib64/libQt6Quick.so.6.7.2  /usr/lib64/libQt6OpenGL.so.6.7.2  /usr/lib64/libQt6Gui.so.6.7.2  /usr/lib64/libGLX.so  /usr/lib64/libOpenGL.so  /usr/lib64/libQt6QmlModels.so.6.7.2  /usr/lib64/libQt6WebChannel.so.6.7.2  /usr/lib64/libQt6Qml.so.6.7.2  /usr/lib64/libQt6Network.so.6.7.2  /usr/lib64/libQt6QmlBuiltins.a  /usr/lib64/libQt6Positioning.so.6.7.2  /usr/lib64/libQt6Core.so.6.7.2 && :
[aarch64] ld: /usr/src/RPM/BUILD/qtwebengine-everywhere-src-6.7.2/BUILD/src/core/RelWithDebInfo/aarch64/obj/third_party/minigbm/minigbm/i915.o: in function `i915_bo_flush':
[aarch64] i915.c:(.text.i915_bo_flush+0x44): undefined reference to `__builtin_ia32_mfence'
[aarch64] ld: i915.c:(.text.i915_bo_flush+0x58): undefined reference to `__builtin_ia32_clflush'
[aarch64] collect2: error: ld returned 1 exit status
[aarch64] ninja: build stopped: subcommand failed.
2024-Aug-21 17:59:58 :: [aarch64] qt6-webengine.git 6.7.2-alt1: remote: build failed
2024-Aug-21 17:59:59 :: [aarch64] #2500 qt6-webengine.git 6.7.2-alt1: build FAILED
2024-Aug-21 17:59:59 :: [aarch64] requesting cancellation of task processing
2024-Aug-21 17:59:59 :: [aarch64] build FAILED
2024-Aug-21 17:59:59 :: task #355692 for p11 FAILED


             reply	other threads:[~2024-08-21 18:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21 18:00 Girar awaiter (zerg) [this message]
2024-08-22 12:17 ` [#355692] [test-only] p11 FAILED (try 2) " Girar awaiter (zerg)
2024-08-23 11:36 ` [#355692] [test-only] p11 FAILED (try 3) " Girar awaiter (zerg)
2024-08-23 12:06 ` [#355692] [test-only] p11 FAILED (try 4) " Girar awaiter (zerg)
2024-08-26 13:48 ` [#355692] [test-only] p11 FAILED (try 5) " Girar awaiter (zerg)
2024-08-27 12:04 ` [#355692] [test-only] p11 FAILED (try 6) " Girar awaiter (zerg)
2024-08-27 13:30 ` [#355692] [test-only] p11 FAILED (try 7) " Girar awaiter (zerg)
2024-08-27 15:48 ` [#355692] [test-only] p11 FAILED (try 8) " Girar awaiter (zerg)
2024-08-28  5:20 ` [#355692] [test-only] p11 FAILED (try 9) " Girar awaiter (zerg)
2024-08-28  9:09 ` [#355692] [test-only] p11 FAILED (try 10) " Girar awaiter (zerg)
2024-08-28 10:18 ` [#355692] [test-only] p11 FAILED (try 11) " Girar awaiter (zerg)
2024-08-29 10:21 ` [#355692] [test-only] p11 FAILED (try 12) " Girar awaiter (zerg)
2024-08-29 11:25 ` [#355692] [test-only] p11 FAILED (try 13) " Girar awaiter (zerg)
2024-08-29 12:54 ` [#355692] [test-only] p11 FAILED (try 14) " Girar awaiter (zerg)
2024-08-29 13:35 ` [#355692] [test-only] p11 FAILED (try 15) " Girar awaiter (zerg)
2024-08-29 15:43 ` [#355692] [test-only] p11 FAILED (try 16) " Girar awaiter (zerg)
2024-09-04 16:31 ` [#355692] [test-only] p11 FAILED (try 17) qt6-base.git=6.7.2-alt2 qt6-shadertools.git=6.7.2-alt1 Girar awaiter (zerg)
2024-09-09 14:52 ` [#355692] p11 FAILED (try 18) " Girar awaiter (zerg)
2024-09-10  9:26 ` [#355692] p11 EPERM (try 19) " Girar awaiter (zerg)
2024-10-04  0:53 ` [#355692] p11 EPERM (try 20) " Girar awaiter (zerg)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=girar.task.355692.1.1@gyle.mskdc.altlinux.org \
    --to=girar-builder@altlinux.org \
    --cc=devel@lists.altlinux.org \
    --cc=girar-builder-p11@altlinux.org \
    --cc=girar-builder-p11@lists.altlinux.org \
    --cc=sisyphus-incominger@lists.altlinux.org \
    --cc=zerg@altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Girar Builder robot reports

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus-incominger/0 sisyphus-incominger/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus-incominger sisyphus-incominger/ http://lore.altlinux.org/sisyphus-incominger \
		sisyphus-incominger@lists.altlinux.org sisyphus-incominger@lists.altlinux.ru sisyphus-incominger@lists.altlinux.com
	public-inbox-index sisyphus-incominger

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus-incominger


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git