@koda-sl/baker-cli 0.458.0 → 0.459.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1398) hide show
  1. package/dist/account-7Q3SWFEQ.js +78 -0
  2. package/dist/account-7Q3SWFEQ.js.map +1 -0
  3. package/dist/account-IRGRKYJY.js +80 -0
  4. package/dist/account-Y355AWQZ.js +49 -0
  5. package/dist/account-reads-76UWMB3T.js +218 -0
  6. package/dist/account-writes-G6B3D75J.js +66 -0
  7. package/dist/accounts-3EN57BBF.js +76 -0
  8. package/dist/accounts-3EN57BBF.js.map +1 -0
  9. package/dist/accounts-6BSNUSL2.js +115 -0
  10. package/dist/accounts-RFLO74GX.js +610 -0
  11. package/dist/accounts-RFLO74GX.js.map +1 -0
  12. package/dist/accounts-W3O34NIB.js +114 -0
  13. package/dist/accounts-ZCKOPY4V.js +75 -0
  14. package/dist/actions-SPJ7K3WP.js +55 -0
  15. package/dist/active-entities-OF34PSKJ.js +103 -0
  16. package/dist/activities-C5WK3MXQ.js +74 -0
  17. package/dist/ad-group-writes-NOJXE2SD.js +170 -0
  18. package/dist/ad-groups-YJQFLYXT.js +68 -0
  19. package/dist/ad-writes-NZITPMNK.js +174 -0
  20. package/dist/add-37RLQWXR.js +105 -0
  21. package/dist/add-BXTSVYMJ.js +97 -0
  22. package/dist/add-KREQCZ3B.js +103 -0
  23. package/dist/add-KREQCZ3B.js.map +1 -0
  24. package/dist/add-WFAYC64E.js +301 -0
  25. package/dist/add-WFAYC64E.js.map +1 -0
  26. package/dist/ads-4FVN7UTX.js +113 -0
  27. package/dist/ads-FZSPK3L7.js +77 -0
  28. package/dist/ads-KCIFEMF6.js +128 -0
  29. package/dist/ads-KCIFEMF6.js.map +1 -0
  30. package/dist/ads-YYVMBTMC.js +40 -0
  31. package/dist/adsets-I35MU53T.js +176 -0
  32. package/dist/advertisers-6C3JWMFN.js +125 -0
  33. package/dist/advertisers-S4YJJF36.js +119 -0
  34. package/dist/advertisers-S4YJJF36.js.map +1 -0
  35. package/dist/analytics-7XFTQHRQ.js +432 -0
  36. package/dist/analytics-7XFTQHRQ.js.map +1 -0
  37. package/dist/analytics-FTAYYC7B.js +1975 -0
  38. package/dist/analytics-FTAYYC7B.js.map +1 -0
  39. package/dist/animate-BZZ4PRNK.js +480 -0
  40. package/dist/assign-DS6P23RY.js +76 -0
  41. package/dist/assign-DS6P23RY.js.map +1 -0
  42. package/dist/audience-size-BFRNMLRD.js +93 -0
  43. package/dist/audience-size-BFRNMLRD.js.map +1 -0
  44. package/dist/audiences-57Z5DJ3C.js +78 -0
  45. package/dist/audiences-ALMKJXOE.js +85 -0
  46. package/dist/audiences-QEFTSR3A.js +268 -0
  47. package/dist/audit-4ODYNTLU.js +88 -0
  48. package/dist/audit-5FREWHG6.js +150 -0
  49. package/dist/audit-5FREWHG6.js.map +1 -0
  50. package/dist/autocomplete-CJMIVLXG.js +110 -0
  51. package/dist/autocomplete-CJMIVLXG.js.map +1 -0
  52. package/dist/avatars-D7RH6FQK.js +38 -0
  53. package/dist/bid-pricing-WEVFA3ZV.js +98 -0
  54. package/dist/bid-pricing-WEVFA3ZV.js.map +1 -0
  55. package/dist/brand-GON2DGDG.js +22 -0
  56. package/dist/brief-5ZXJG52M.js +490 -0
  57. package/dist/brief-5ZXJG52M.js.map +1 -0
  58. package/dist/businesses-U7V7D5O4.js +53 -0
  59. package/dist/campaign-groups-PRIQBLMQ.js +94 -0
  60. package/dist/campaign-groups-PRIQBLMQ.js.map +1 -0
  61. package/dist/campaign-writes-2URYK37Q.js +170 -0
  62. package/dist/campaign-writes-UYRSROW5.js +164 -0
  63. package/dist/campaign-writes-UYRSROW5.js.map +1 -0
  64. package/dist/campaigns-ENPXM4OI.js +110 -0
  65. package/dist/campaigns-IUPJX5EL.js +76 -0
  66. package/dist/campaigns-V66PVG7T.js +107 -0
  67. package/dist/campaigns-YRSLVSCL.js +108 -0
  68. package/dist/campaigns-YRSLVSCL.js.map +1 -0
  69. package/dist/canvas-BJQ556BB.js +46 -0
  70. package/dist/capabilities-WR5B364T.js +143 -0
  71. package/dist/capabilities-WR5B364T.js.map +1 -0
  72. package/dist/cards-5TOCOH5L.js +85 -0
  73. package/dist/catalog-7GPT7ZNH.js +65 -0
  74. package/dist/catalogs-I6PRBCEX.js +128 -0
  75. package/dist/changes-KSTSKL7T.js +135 -0
  76. package/dist/chatgpt-Y3UXQIRV.js +47 -0
  77. package/dist/chats-4ZTDTK7O.js +261 -0
  78. package/dist/chats-4ZTDTK7O.js.map +1 -0
  79. package/dist/chunk-2J5N24NW.js +98 -0
  80. package/dist/chunk-2WXLB66I.js +169 -0
  81. package/dist/chunk-2YK5XCY2.js +197 -0
  82. package/dist/chunk-2ZRSQDXR.js +160 -0
  83. package/dist/chunk-3GO6OOUD.js +474 -0
  84. package/dist/chunk-3L4P5X7N.js +75 -0
  85. package/dist/chunk-3XA4JVMY.js +454 -0
  86. package/dist/chunk-44RWJ33Z.js +74 -0
  87. package/dist/chunk-4AK4BUJR.js +191 -0
  88. package/dist/chunk-4EKRZKPX.js +84 -0
  89. package/dist/chunk-4RARCMPM.js +4410 -0
  90. package/dist/chunk-6MUPGGQ3.js +592 -0
  91. package/dist/chunk-6NS5HQUZ.js +74 -0
  92. package/dist/chunk-7VCD55XF.js +1599 -0
  93. package/dist/chunk-AINDZHQQ.js +225 -0
  94. package/dist/chunk-AUDVLNMT.js +172 -0
  95. package/dist/chunk-B7GQ4YUK.js +1830 -0
  96. package/dist/chunk-BABISVOU.js +74 -0
  97. package/dist/chunk-BBJWIA7F.js +159 -0
  98. package/dist/chunk-CE6IE364.js +215 -0
  99. package/dist/chunk-CL2X6KB5.js +846 -0
  100. package/dist/chunk-CUJ2F472.js +31 -0
  101. package/dist/chunk-DMXNT47S.js +136 -0
  102. package/dist/chunk-DQZEJV3K.js +494 -0
  103. package/dist/chunk-E5EJRF7J.js +139 -0
  104. package/dist/chunk-EHXZDWAE.js +25 -0
  105. package/dist/chunk-EPQXF3JZ.js +58 -0
  106. package/dist/chunk-FH23H72G.js +111 -0
  107. package/dist/chunk-FZT2UQF2.js +819 -0
  108. package/dist/chunk-GM4EDUTF.js +76 -0
  109. package/dist/chunk-HSAPEQBP.js +509 -0
  110. package/dist/chunk-I2HHXYRN.js +304 -0
  111. package/dist/chunk-IDORRX5W.js +275 -0
  112. package/dist/chunk-IFT6ID4T.js +28 -0
  113. package/dist/chunk-IK56IWZC.js +333 -0
  114. package/dist/chunk-IRUUPYCH.js +5189 -0
  115. package/dist/chunk-ITWB62LG.js +610 -0
  116. package/dist/chunk-IUPS2OYL.js +346 -0
  117. package/dist/chunk-J2UCNSRR.js +665 -0
  118. package/dist/chunk-JBDX74X5.js +1711 -0
  119. package/dist/chunk-JE2MELTY.js +19 -0
  120. package/dist/chunk-KDW5DT5B.js +297 -0
  121. package/dist/chunk-L4TPZLDW.js +45 -0
  122. package/dist/chunk-LFNVHAF3.js +172 -0
  123. package/dist/chunk-LLEF2Q66.js +486 -0
  124. package/dist/chunk-LXBRJNIB.js +337 -0
  125. package/dist/chunk-M2746TPS.js +207 -0
  126. package/dist/chunk-M6VLLYN2.js +98 -0
  127. package/dist/chunk-MD3B6MTI.js +103 -0
  128. package/dist/chunk-ME76DRT3.js +149 -0
  129. package/dist/chunk-MQEA2YZZ.js +96 -0
  130. package/dist/chunk-MQW4DEQD.js +382 -0
  131. package/dist/chunk-MWOIESOS.js +60 -0
  132. package/dist/chunk-NQGRCWKN.js +541 -0
  133. package/dist/chunk-NUHMHZTZ.js +214 -0
  134. package/dist/chunk-OAYHDIW2.js +309 -0
  135. package/dist/chunk-OB6QMAE3.js +84 -0
  136. package/dist/chunk-P2I4FSVO.js +188 -0
  137. package/dist/chunk-PSRKQJ6Y.js +125 -0
  138. package/dist/chunk-QDG5N7JH.js +106 -0
  139. package/dist/chunk-QNEKQWJS.js +175 -0
  140. package/dist/chunk-QZTIAVYI.js +274 -0
  141. package/dist/chunk-RGI7YZ6K.js +174 -0
  142. package/dist/chunk-S4EYRHCD.js +136 -0
  143. package/dist/chunk-SKAB7IBX.js +97 -0
  144. package/dist/chunk-SKXCU3XX.js +533 -0
  145. package/dist/chunk-SKXCU3XX.js.map +1 -0
  146. package/dist/chunk-SRAMULKE.js +67 -0
  147. package/dist/chunk-SXIPXBL2.js +96 -0
  148. package/dist/chunk-T6N4L5L5.js +65 -0
  149. package/dist/chunk-T7Q4SWW4.js +3153 -0
  150. package/dist/chunk-TD4PVILC.js +92 -0
  151. package/dist/chunk-TII4OUSW.js +42 -0
  152. package/dist/chunk-TU7DPHNP.js +6667 -0
  153. package/dist/chunk-TUYWBLHR.js +23 -0
  154. package/dist/chunk-UEQ4MZSP.js +51 -0
  155. package/dist/chunk-ULPPKJQH.js +296 -0
  156. package/dist/chunk-UMVRVX6L.js +76 -0
  157. package/dist/chunk-USFTTDIO.js +1965 -0
  158. package/dist/chunk-USFTTDIO.js.map +1 -0
  159. package/dist/chunk-UU6MRBKX.js +622 -0
  160. package/dist/chunk-VIZ5NYTI.js +94 -0
  161. package/dist/chunk-WAGMHPWG.js +455 -0
  162. package/dist/chunk-WCOZUD56.js +26 -0
  163. package/dist/chunk-WLRQPH3F.js +55 -0
  164. package/dist/chunk-WNP25LQF.js +46 -0
  165. package/dist/chunk-WSUZBTE6.js +1441 -0
  166. package/dist/chunk-WVABBPSH.js +166 -0
  167. package/dist/chunk-WZH3D2H7.js +106 -0
  168. package/dist/chunk-XF6OUF7E.js +363 -0
  169. package/dist/chunk-XN2OQQXR.js +23992 -0
  170. package/dist/chunk-XQITDMRD.js +133 -0
  171. package/dist/chunk-YZBQ4ACW.js +66 -0
  172. package/dist/chunk-ZH7F3M3L.js +56 -0
  173. package/dist/claim-IP7TW36G.js +196 -0
  174. package/dist/claim-IP7TW36G.js.map +1 -0
  175. package/dist/cli.js +36 -36
  176. package/dist/client-7ZMKIPDA.js +19 -0
  177. package/dist/code-T6ANPNY4.js +76 -0
  178. package/dist/companies-CVZSYR4I.js +194 -0
  179. package/dist/companies-CVZSYR4I.js.map +1 -0
  180. package/dist/complete-3EI3UAXO.js +80 -0
  181. package/dist/complete-3EI3UAXO.js.map +1 -0
  182. package/dist/config-4BUL56PU.js +88 -0
  183. package/dist/connect-OPAG6B4I.js +41 -0
  184. package/dist/content-627YHJUP.js +85 -0
  185. package/dist/conversation-DCV3XLVJ.js +92 -0
  186. package/dist/conversation-DCV3XLVJ.js.map +1 -0
  187. package/dist/conversion-report-5KFFJ2VU.js +125 -0
  188. package/dist/conversion-upload-command-JU6ZSJBV.js +438 -0
  189. package/dist/conversion-writes-RSCIEGWD.js +120 -0
  190. package/dist/conversions-YXBMEICL.js +134 -0
  191. package/dist/conversions-YXBMEICL.js.map +1 -0
  192. package/dist/conversions-ZODHC7RT.js +76 -0
  193. package/dist/countries-HKTPBBLQ.js +82 -0
  194. package/dist/create-PB7SQBVR.js +58 -0
  195. package/dist/create-PB7SQBVR.js.map +1 -0
  196. package/dist/create-POI3XUG4.js +206 -0
  197. package/dist/create-POI3XUG4.js.map +1 -0
  198. package/dist/create-UQT3B6RD.js +129 -0
  199. package/dist/create-UQT3B6RD.js.map +1 -0
  200. package/dist/create-W77RMT5Y.js +234 -0
  201. package/dist/create-W77RMT5Y.js.map +1 -0
  202. package/dist/creatives-G3L7TNF2.js +181 -0
  203. package/dist/creatives-G3L7TNF2.js.map +1 -0
  204. package/dist/creatives-KV3N6WGN.js +87 -0
  205. package/dist/creatives-NFKVUZE6.js +51 -0
  206. package/dist/credentials-ICIHZGMJ.js +286 -0
  207. package/dist/credentials-ICIHZGMJ.js.map +1 -0
  208. package/dist/critique-5ZBSMDQB.js +1448 -0
  209. package/dist/critique-5ZBSMDQB.js.map +1 -0
  210. package/dist/critique-WCTII73A.js +212 -0
  211. package/dist/critique-WCTII73A.js.map +1 -0
  212. package/dist/crm-37OBNSMQ.js +317 -0
  213. package/dist/crm-37OBNSMQ.js.map +1 -0
  214. package/dist/crm-WAYQIIPC.js +223 -0
  215. package/dist/crm-WAYQIIPC.js.map +1 -0
  216. package/dist/crop-JXBA435D.js +113 -0
  217. package/dist/currency-G3MQUET6.js +88 -0
  218. package/dist/custom-conversions-CKNJONBF.js +125 -0
  219. package/dist/customers-54DNP36T.js +55 -0
  220. package/dist/delete-5AE5ZXKZ.js +65 -0
  221. package/dist/delete-5AE5ZXKZ.js.map +1 -0
  222. package/dist/delete-DRIIOQVD.js +71 -0
  223. package/dist/delete-KEY72YMK.js +62 -0
  224. package/dist/delete-KEY72YMK.js.map +1 -0
  225. package/dist/delete-MJRH3R3P.js +69 -0
  226. package/dist/delete-UVCG2LTO.js +53 -0
  227. package/dist/delete-UVCG2LTO.js.map +1 -0
  228. package/dist/delete-ZO2NTIMH.js +71 -0
  229. package/dist/demographics-DFQAW2TZ.js +137 -0
  230. package/dist/demographics-DFQAW2TZ.js.map +1 -0
  231. package/dist/describe-2UB4CN5S.js +97 -0
  232. package/dist/describe-6744DROL.js +97 -0
  233. package/dist/dimensions-TZLKBZN7.js +101 -0
  234. package/dist/discard-N6IROZSY.js +65 -0
  235. package/dist/discard-N6IROZSY.js.map +1 -0
  236. package/dist/discover-73K5J5RJ.js +172 -0
  237. package/dist/domain-26HC6EFR.js +97 -0
  238. package/dist/domain-26HC6EFR.js.map +1 -0
  239. package/dist/download-FSZVKV5I.js +299 -0
  240. package/dist/draft-I33XVUQO.js +216 -0
  241. package/dist/draft-I33XVUQO.js.map +1 -0
  242. package/dist/draft-NWYVWHR4.js +103 -0
  243. package/dist/draft-OTEC5VNP.js +307 -0
  244. package/dist/draft-RVMSQTH6.js +233 -0
  245. package/dist/draft-TR6L3SUD.js +327 -0
  246. package/dist/draft-TR6L3SUD.js.map +1 -0
  247. package/dist/draft-XPUDO6BL.js +100 -0
  248. package/dist/draft-YTEETFEN.js +281 -0
  249. package/dist/draft-YXZHA6YH.js +305 -0
  250. package/dist/draft-YXZHA6YH.js.map +1 -0
  251. package/dist/engine/index.js +13 -13
  252. package/dist/env-CJCGNARF.js +43 -0
  253. package/dist/experiment-CBAGPNF4.js +1397 -0
  254. package/dist/export-5TK2LH7S.js +168 -0
  255. package/dist/extract-OP7YHID2.js +113 -0
  256. package/dist/facets-3XBOJEUW.js +113 -0
  257. package/dist/facets-3XBOJEUW.js.map +1 -0
  258. package/dist/favorites-S4ZT5JII.js +178 -0
  259. package/dist/feed-5U4RTYLR.js +179 -0
  260. package/dist/feedback-FRILY4XF.js +66 -0
  261. package/dist/feedback-record-T6JXOSAV.js +174 -0
  262. package/dist/feedback-record-T6JXOSAV.js.map +1 -0
  263. package/dist/fetch-E6SRZGRB.js +139 -0
  264. package/dist/fetch-ELCHOTCH.js +175 -0
  265. package/dist/fetch-ELCHOTCH.js.map +1 -0
  266. package/dist/find-KBXUSX2G.js +134 -0
  267. package/dist/fit-QBG3EXST.js +45 -0
  268. package/dist/flows-KGXKD2OV.js +246 -0
  269. package/dist/flows-KGXKD2OV.js.map +1 -0
  270. package/dist/follow-7JLLZBRN.js +80 -0
  271. package/dist/follow-7JLLZBRN.js.map +1 -0
  272. package/dist/follow-competitors-XNBHJAFQ.js +129 -0
  273. package/dist/follow-competitors-XNBHJAFQ.js.map +1 -0
  274. package/dist/following-AH24UDXY.js +113 -0
  275. package/dist/fonts-5OKN5H2C.js +33 -0
  276. package/dist/forecast-3KUCCPOJ.js +103 -0
  277. package/dist/forecast-3KUCCPOJ.js.map +1 -0
  278. package/dist/forecast-HDF4PALO.js +168 -0
  279. package/dist/funding-KGAE3LKV.js +85 -0
  280. package/dist/funnel-VSBJ5AZK.js +393 -0
  281. package/dist/funnel-VSBJ5AZK.js.map +1 -0
  282. package/dist/ga4-G5NBFPPT.js +55 -0
  283. package/dist/generate-HXE2MOAO.js +262 -0
  284. package/dist/get-2Q3FKYH7.js +63 -0
  285. package/dist/get-ALNQPO3F.js +59 -0
  286. package/dist/get-BLWUJWTJ.js +92 -0
  287. package/dist/get-BQYGOFSS.js +55 -0
  288. package/dist/get-BQYGOFSS.js.map +1 -0
  289. package/dist/get-OT3AANLU.js +61 -0
  290. package/dist/get-PFFST42A.js +63 -0
  291. package/dist/get-TMTKSZVG.js +77 -0
  292. package/dist/get-TMTKSZVG.js.map +1 -0
  293. package/dist/gif-QCH3FJHD.js +94 -0
  294. package/dist/google-5RM2V7PE.js +3190 -0
  295. package/dist/google-YQ5D4PB6.js +136 -0
  296. package/dist/google-ads-CJHPQ6ZB.js +194 -0
  297. package/dist/google-ads-CJHPQ6ZB.js.map +1 -0
  298. package/dist/group-CHOPV2I3.js +43 -0
  299. package/dist/group-KTFOHXGH.js +43 -0
  300. package/dist/gsc-35YVWJ4E.js +30 -0
  301. package/dist/history-7D3P5JDO.js +132 -0
  302. package/dist/history-7D3P5JDO.js.map +1 -0
  303. package/dist/history-Y4VNF5TU.js +67 -0
  304. package/dist/hubspot-NLHQKLH4.js +778 -0
  305. package/dist/hubspot-NLHQKLH4.js.map +1 -0
  306. package/dist/icon-WT2BZJ5G.js +137 -0
  307. package/dist/ideas-MT2NSIYS.js +31 -0
  308. package/dist/images-JFNAKV5U.js +90 -0
  309. package/dist/improve-4BN7ASFK.js +86 -0
  310. package/dist/ingest-JGVH4DZH.js +106 -0
  311. package/dist/ingest-JGVH4DZH.js.map +1 -0
  312. package/dist/ingest-XWWDPKPZ.js +22 -0
  313. package/dist/insights-2JRN53IF.js +423 -0
  314. package/dist/insights-Q3QN4YQ2.js +122 -0
  315. package/dist/inspect-FXUYLHPE.js +188 -0
  316. package/dist/inspect-FXUYLHPE.js.map +1 -0
  317. package/dist/inspiration-3MF6SN4M.js +53 -0
  318. package/dist/intent-4X76HZ4S.js +95 -0
  319. package/dist/job-IA7XUMHW.js +202 -0
  320. package/dist/job-create-A3YQCY4U.js +109 -0
  321. package/dist/job-status-56EON3DS.js +74 -0
  322. package/dist/keep-S6MJM5RW.js +78 -0
  323. package/dist/keyword-gap-JZQSQBCJ.js +130 -0
  324. package/dist/keyword-metrics-OWHQGCOD.js +196 -0
  325. package/dist/keyword-metrics-OWHQGCOD.js.map +1 -0
  326. package/dist/keywords-for-site-JPZUG65E.js +127 -0
  327. package/dist/keywords-for-site-JPZUG65E.js.map +1 -0
  328. package/dist/landing-T5X74INN.js +28 -0
  329. package/dist/landings-IBADDGX5.js +144 -0
  330. package/dist/landings-IBADDGX5.js.map +1 -0
  331. package/dist/languages-CVH5RLA3.js +40 -0
  332. package/dist/languages-OG5UB5HX.js +55 -0
  333. package/dist/launches-VA7F7VNW.js +108 -0
  334. package/dist/layerize-AD5QZ27N.js +190 -0
  335. package/dist/leads-MWLO42NZ.js +293 -0
  336. package/dist/leads-N43AJZ2A.js +89 -0
  337. package/dist/leads-N43AJZ2A.js.map +1 -0
  338. package/dist/learn-DF7MS7DH.js +202 -0
  339. package/dist/learn-DF7MS7DH.js.map +1 -0
  340. package/dist/library-JZWQF5LV.js +109 -0
  341. package/dist/lighthouse-PZVDR4V4.js +75 -0
  342. package/dist/line-item-writes-NLV2J5LT.js +207 -0
  343. package/dist/line-item-writes-NLV2J5LT.js.map +1 -0
  344. package/dist/line-items-U6W2WHK2.js +103 -0
  345. package/dist/link-TFWYRATB.js +63 -0
  346. package/dist/link-TFWYRATB.js.map +1 -0
  347. package/dist/linkedin-TOXNMGL5.js +1007 -0
  348. package/dist/linkedin-TOXNMGL5.js.map +1 -0
  349. package/dist/list-FHD6XLBG.js +50 -0
  350. package/dist/list-H77PTVSF.js +51 -0
  351. package/dist/list-JDJY55SE.js +76 -0
  352. package/dist/list-MIQZ6ARQ.js +302 -0
  353. package/dist/list-MIQZ6ARQ.js.map +1 -0
  354. package/dist/list-UZQ4J3GJ.js +62 -0
  355. package/dist/list-UZQ4J3GJ.js.map +1 -0
  356. package/dist/list-VP2FP2DZ.js +65 -0
  357. package/dist/list-Z44K4QN3.js +57 -0
  358. package/dist/list-ZWOILE3A.js +150 -0
  359. package/dist/list-ZWOILE3A.js.map +1 -0
  360. package/dist/locations-3PVEWKUN.js +40 -0
  361. package/dist/locations-KPB7YMY7.js +67 -0
  362. package/dist/log-LGOEQGH5.js +91 -0
  363. package/dist/log-LGOEQGH5.js.map +1 -0
  364. package/dist/logo-N7JOUSLF.js +18 -0
  365. package/dist/lookup-NTOAWVB7.js +22 -0
  366. package/dist/make-P6VL4GWO.js +633 -0
  367. package/dist/make-P6VL4GWO.js.map +1 -0
  368. package/dist/map-5Y367KMF.js +403 -0
  369. package/dist/map-5Y367KMF.js.map +1 -0
  370. package/dist/mcp-T6NHJX6O.js +462 -0
  371. package/dist/mcp-T6NHJX6O.js.map +1 -0
  372. package/dist/media-IZ4RDOGZ.js +15 -0
  373. package/dist/media-QNVOMX2L.js +89 -0
  374. package/dist/media-sources-ESDSKU77.js +32 -0
  375. package/dist/members-PKYLK6YN.js +43 -0
  376. package/dist/members-PKYLK6YN.js.map +1 -0
  377. package/dist/meta-P5CF3K3C.js +69 -0
  378. package/dist/metrics-DGEUY2UE.js +152 -0
  379. package/dist/models-KAAOFX22.js +155 -0
  380. package/dist/normalize-GTETIA76.js +140 -0
  381. package/dist/normalize-GTETIA76.js.map +1 -0
  382. package/dist/normalize-LC6FTTX2.js +806 -0
  383. package/dist/options-PJCPZWKV.js +120 -0
  384. package/dist/options-PJCPZWKV.js.map +1 -0
  385. package/dist/output-G3GBWY3I.js +24 -0
  386. package/dist/page-T27BIISC.js +105 -0
  387. package/dist/pages-Z7L65T4G.js +66 -0
  388. package/dist/performance-PIB64TCS.js +23 -0
  389. package/dist/pinterest-EGNWZUFU.js +96 -0
  390. package/dist/pixels-EXZO6PO7.js +108 -0
  391. package/dist/pixels-PK3NDJWX.js +60 -0
  392. package/dist/plan-2FBPAUNT.js +207 -0
  393. package/dist/preview-VON3MQGX.js +169 -0
  394. package/dist/profile-2UZLQUTP.js +131 -0
  395. package/dist/promoted-tweet-writes-OMUOQL2P.js +179 -0
  396. package/dist/promoted-tweet-writes-OMUOQL2P.js.map +1 -0
  397. package/dist/promoted-tweets-GHHCSHZU.js +119 -0
  398. package/dist/properties-TKJVTJWP.js +101 -0
  399. package/dist/publish-YCCZLTKN.js +321 -0
  400. package/dist/publish-YCCZLTKN.js.map +1 -0
  401. package/dist/query-E6G2FS4B.js +236 -0
  402. package/dist/query-IEJ6GDJT.js +61 -0
  403. package/dist/query-JDLAZAZB.js +247 -0
  404. package/dist/questionnaire-7TDP2OIX.js +93 -0
  405. package/dist/read-H3WO6TUB.js +141 -0
  406. package/dist/reddit-6U3NJUBN.js +25 -0
  407. package/dist/refresh-ZGUGIV4V.js +93 -0
  408. package/dist/refresh-ZGUGIV4V.js.map +1 -0
  409. package/dist/release-2DPMLDCF.js +59 -0
  410. package/dist/release-2DPMLDCF.js.map +1 -0
  411. package/dist/relevant-pages-E5IWT4JX.js +99 -0
  412. package/dist/remove-AKNVDNMY.js +49 -0
  413. package/dist/remove-AKNVDNMY.js.map +1 -0
  414. package/dist/remove-BNRKVQEW.js +48 -0
  415. package/dist/reopen-SDM64C4N.js +62 -0
  416. package/dist/reopen-SDM64C4N.js.map +1 -0
  417. package/dist/rerun-V4AMTVWG.js +84 -0
  418. package/dist/rerun-V4AMTVWG.js.map +1 -0
  419. package/dist/research-C6SQN5IV.js +261 -0
  420. package/dist/research-C6SQN5IV.js.map +1 -0
  421. package/dist/research-XRE3LGFO.js +62 -0
  422. package/dist/reset-G67E32S3.js +53 -0
  423. package/dist/reset-G67E32S3.js.map +1 -0
  424. package/dist/reset-GKF3PG5D.js +53 -0
  425. package/dist/reset-GKF3PG5D.js.map +1 -0
  426. package/dist/resolve-5LR4LNOX.js +120 -0
  427. package/dist/resolve-5LR4LNOX.js.map +1 -0
  428. package/dist/retry-YB2OHYYY.js +59 -0
  429. package/dist/retry-YB2OHYYY.js.map +1 -0
  430. package/dist/retry-YPLHXIDR.js +61 -0
  431. package/dist/retry-YPLHXIDR.js.map +1 -0
  432. package/dist/retry-failed-3DMGOEFM.js +45 -0
  433. package/dist/run-NK5LF3UC.js +59 -0
  434. package/dist/run-NWYMEPOI.js +64 -0
  435. package/dist/run-NWYMEPOI.js.map +1 -0
  436. package/dist/scaffold-ad-ZPHWORM7.js +1548 -0
  437. package/dist/scaffold-ad-ZPHWORM7.js.map +1 -0
  438. package/dist/scaffold-static-ad-TS42T3XI.js +971 -0
  439. package/dist/scaffold-static-ad-TS42T3XI.js.map +1 -0
  440. package/dist/scaffold-video-EY7LQHUY.js +872 -0
  441. package/dist/scaffold-video-EY7LQHUY.js.map +1 -0
  442. package/dist/schedule-5FHKONNU.js +60 -0
  443. package/dist/schedule-5FHKONNU.js.map +1 -0
  444. package/dist/schedule-EB3LSEUO.js +66 -0
  445. package/dist/scheduled-agents-UDH7LHT2.js +49 -0
  446. package/dist/schema-B6HPX7LD.js +131 -0
  447. package/dist/schema-B6HPX7LD.js.map +1 -0
  448. package/dist/schema-TSTEGRJ7.js +63 -0
  449. package/dist/scrape-VGSZS6SM.js +2241 -0
  450. package/dist/screenshot-NUVTRG3D.js +102 -0
  451. package/dist/search-265T7Y7G.js +92 -0
  452. package/dist/search-7XFVB6DH.js +26 -0
  453. package/dist/search-SOZ3HPIB.js +91 -0
  454. package/dist/search-UNYQXK6E.js +224 -0
  455. package/dist/search-ZPX5JOSI.js +173 -0
  456. package/dist/search-ZPX5JOSI.js.map +1 -0
  457. package/dist/search-copy-AKY73GKO.js +115 -0
  458. package/dist/seeds-FF6JTDIB.js +101 -0
  459. package/dist/select-43CHIWPI.js +93 -0
  460. package/dist/select-43CHIWPI.js.map +1 -0
  461. package/dist/sends-XOR6X3MW.js +309 -0
  462. package/dist/sequences-HJJTLSCV.js +146 -0
  463. package/dist/set-prompt-UTPNGH5C.js +185 -0
  464. package/dist/set-prompt-UTPNGH5C.js.map +1 -0
  465. package/dist/setup-links-W2CYPT3X.js +140 -0
  466. package/dist/setup-links-W2CYPT3X.js.map +1 -0
  467. package/dist/shared-NOT4U5P3.js +31 -0
  468. package/dist/site-MTXQAIMF.js +176 -0
  469. package/dist/site-MTXQAIMF.js.map +1 -0
  470. package/dist/sitemaps-GHFPKIGO.js +87 -0
  471. package/dist/sites-UGDJGEI4.js +101 -0
  472. package/dist/skills-RKCLARCX.js +47 -0
  473. package/dist/sources-RDRS6BKL.js +420 -0
  474. package/dist/sources-RDRS6BKL.js.map +1 -0
  475. package/dist/sources-ZQG5GKKC.js +30 -0
  476. package/dist/stale-LDDPU7U5.js +62 -0
  477. package/dist/stale-LDDPU7U5.js.map +1 -0
  478. package/dist/stats-RX67ANJJ.js +34 -0
  479. package/dist/status-ENQK53AS.js +61 -0
  480. package/dist/status-ENQK53AS.js.map +1 -0
  481. package/dist/sticker-FPIFV6J3.js +94 -0
  482. package/dist/stock-4BZVZYM5.js +179 -0
  483. package/dist/studio-6J4HFHKT.js +49 -0
  484. package/dist/sync-3XOV4JVW.js +54 -0
  485. package/dist/sync-ORAGCD3B.js +53 -0
  486. package/dist/sync-ORAGCD3B.js.map +1 -0
  487. package/dist/sync-XMQP4ASW.js +265 -0
  488. package/dist/sync-definition-IQ7LDTM2.js +52 -0
  489. package/dist/tag-manager-3FKPMUYJ.js +43 -0
  490. package/dist/tags-2JN5EFEM.js +223 -0
  491. package/dist/tags-2JN5EFEM.js.map +1 -0
  492. package/dist/tags-BT4U6UG2.js +19 -0
  493. package/dist/tags-BT4U6UG2.js.map +1 -0
  494. package/dist/tags-EEPRL747.js +26 -0
  495. package/dist/tags-EFBFX4RT.js +19 -0
  496. package/dist/tags-EFBFX4RT.js.map +1 -0
  497. package/dist/tags-ZN4AOY3F.js +19 -0
  498. package/dist/tags-ZN4AOY3F.js.map +1 -0
  499. package/dist/targeting-constants-T5SV3RBQ.js +118 -0
  500. package/dist/targeting-criteria-4CMZS63Y.js +113 -0
  501. package/dist/targets-6RCKH4KY.js +101 -0
  502. package/dist/targets-6RCKH4KY.js.map +1 -0
  503. package/dist/templates-H4EIQV6D.js +177 -0
  504. package/dist/templates-H4EIQV6D.js.map +1 -0
  505. package/dist/testimonials-HX7LCXEB.js +32 -0
  506. package/dist/themes-N3A5RRFO.js +94 -0
  507. package/dist/top-companies-7X23BKOG.js +107 -0
  508. package/dist/top-companies-7X23BKOG.js.map +1 -0
  509. package/dist/translate-A55Q7MGZ.js +597 -0
  510. package/dist/translate-A55Q7MGZ.js.map +1 -0
  511. package/dist/triggers-XKDF3ABP.js +140 -0
  512. package/dist/triggers-XKDF3ABP.js.map +1 -0
  513. package/dist/tweets-IR2HROMH.js +123 -0
  514. package/dist/unfollow-A7GRLMY2.js +46 -0
  515. package/dist/unlink-HITAQUFK.js +66 -0
  516. package/dist/unlink-HITAQUFK.js.map +1 -0
  517. package/dist/unstage-4UHFMQYC.js +83 -0
  518. package/dist/unstage-4UHFMQYC.js.map +1 -0
  519. package/dist/unstage-EY5GFBKG.js +95 -0
  520. package/dist/update-HO67FDTK.js +141 -0
  521. package/dist/update-HO67FDTK.js.map +1 -0
  522. package/dist/update-M2NPG4OC.js +154 -0
  523. package/dist/update-M2NPG4OC.js.map +1 -0
  524. package/dist/update-PBZSKQ2A.js +62 -0
  525. package/dist/update-PBZSKQ2A.js.map +1 -0
  526. package/dist/update-VH535NTO.js +97 -0
  527. package/dist/update-VH535NTO.js.map +1 -0
  528. package/dist/upload-GYJP3MTW.js +150 -0
  529. package/dist/upload-UQ5G7O5L.js +125 -0
  530. package/dist/upload-UQ5G7O5L.js.map +1 -0
  531. package/dist/upscale-IN7ONODV.js +109 -0
  532. package/dist/url-options-M2PRFR7P.js +130 -0
  533. package/dist/url-params-HGTPP2FP.js +97 -0
  534. package/dist/url-params-HGTPP2FP.js.map +1 -0
  535. package/dist/use-DRH3UODR.js +95 -0
  536. package/dist/validate-YSL4KA63.js +88 -0
  537. package/dist/validate-YSL4KA63.js.map +1 -0
  538. package/dist/variant-4JRLIUEF.js +338 -0
  539. package/dist/videos-M6OJINGL.js +39 -0
  540. package/dist/view-NKEOHFYX.js +121 -0
  541. package/dist/viewer-check-FVVKJROL.js +69 -0
  542. package/dist/web-YSFEOI53.js +139 -0
  543. package/dist/web-YSFEOI53.js.map +1 -0
  544. package/dist/winners-3QYUR4HE.js +113 -0
  545. package/dist/winning-ads-MCH5FYMT.js +79 -0
  546. package/dist/write-commands-24EXCNQQ.js +206 -0
  547. package/dist/write-commands-EXK4PK7F.js +1014 -0
  548. package/dist/write-commands-EXK4PK7F.js.map +1 -0
  549. package/dist/write-commands-K7UNX4CE.js +737 -0
  550. package/dist/write-commands-QQVMIG7U.js +713 -0
  551. package/dist/x-3CFDN2QM.js +47 -0
  552. package/package.json +1 -1
  553. package/dist/account-CZWMPCRJ.js +0 -79
  554. package/dist/account-CZWMPCRJ.js.map +0 -1
  555. package/dist/account-F2D257QB.js +0 -49
  556. package/dist/account-VGIKDAK3.js +0 -80
  557. package/dist/account-reads-OS6RLJFJ.js +0 -218
  558. package/dist/account-writes-7HZJWI5U.js +0 -66
  559. package/dist/accounts-25JDCWKR.js +0 -75
  560. package/dist/accounts-4IIILFLV.js +0 -115
  561. package/dist/accounts-6GNGCHU7.js +0 -77
  562. package/dist/accounts-6GNGCHU7.js.map +0 -1
  563. package/dist/accounts-X5MPAWZX.js +0 -114
  564. package/dist/accounts-Z45QINO4.js +0 -611
  565. package/dist/accounts-Z45QINO4.js.map +0 -1
  566. package/dist/actions-CLFWCFFA.js +0 -55
  567. package/dist/active-entities-V2K2S3UY.js +0 -103
  568. package/dist/activities-CUVZGTGA.js +0 -74
  569. package/dist/ad-group-writes-GG3BUQQY.js +0 -170
  570. package/dist/ad-groups-KRZ6YX7O.js +0 -68
  571. package/dist/ad-writes-YDMS7NPG.js +0 -174
  572. package/dist/add-7P4VYS7R.js +0 -302
  573. package/dist/add-7P4VYS7R.js.map +0 -1
  574. package/dist/add-BHLEFGCG.js +0 -97
  575. package/dist/add-LHAZ34ZF.js +0 -105
  576. package/dist/add-PC7YGO2Z.js +0 -104
  577. package/dist/add-PC7YGO2Z.js.map +0 -1
  578. package/dist/ads-5SGFPSQL.js +0 -113
  579. package/dist/ads-CP4VTPKO.js +0 -77
  580. package/dist/ads-FYSAF7HG.js +0 -130
  581. package/dist/ads-FYSAF7HG.js.map +0 -1
  582. package/dist/ads-Q54IPFAS.js +0 -40
  583. package/dist/adsets-4RXF4YXR.js +0 -176
  584. package/dist/advertisers-JDUAIACQ.js +0 -125
  585. package/dist/advertisers-LAIOXSCF.js +0 -120
  586. package/dist/advertisers-LAIOXSCF.js.map +0 -1
  587. package/dist/analytics-7M6JSC2C.js +0 -1976
  588. package/dist/analytics-7M6JSC2C.js.map +0 -1
  589. package/dist/analytics-7RGPJKUD.js +0 -433
  590. package/dist/analytics-7RGPJKUD.js.map +0 -1
  591. package/dist/animate-PYYWDHQ2.js +0 -480
  592. package/dist/assign-4UP6F6UX.js +0 -77
  593. package/dist/assign-4UP6F6UX.js.map +0 -1
  594. package/dist/audience-size-AYNVGVBR.js +0 -94
  595. package/dist/audience-size-AYNVGVBR.js.map +0 -1
  596. package/dist/audiences-6QF625VZ.js +0 -268
  597. package/dist/audiences-B2ZSJSOJ.js +0 -78
  598. package/dist/audiences-S6IHCG3G.js +0 -85
  599. package/dist/audit-43GSHWBO.js +0 -151
  600. package/dist/audit-43GSHWBO.js.map +0 -1
  601. package/dist/audit-IJUKCS2K.js +0 -88
  602. package/dist/autocomplete-YVP3WOFQ.js +0 -111
  603. package/dist/autocomplete-YVP3WOFQ.js.map +0 -1
  604. package/dist/avatars-O64BDZHC.js +0 -38
  605. package/dist/bid-pricing-GMEWVIQP.js +0 -99
  606. package/dist/bid-pricing-GMEWVIQP.js.map +0 -1
  607. package/dist/brand-W55FHWU6.js +0 -22
  608. package/dist/brief-QH7Z6QBP.js +0 -491
  609. package/dist/brief-QH7Z6QBP.js.map +0 -1
  610. package/dist/businesses-ZFP263RY.js +0 -53
  611. package/dist/campaign-groups-XPYTQFNQ.js +0 -95
  612. package/dist/campaign-groups-XPYTQFNQ.js.map +0 -1
  613. package/dist/campaign-writes-7MFHQAAI.js +0 -165
  614. package/dist/campaign-writes-7MFHQAAI.js.map +0 -1
  615. package/dist/campaign-writes-APYVRCNH.js +0 -170
  616. package/dist/campaigns-ANQW3YDH.js +0 -76
  617. package/dist/campaigns-LXSVJEXI.js +0 -109
  618. package/dist/campaigns-LXSVJEXI.js.map +0 -1
  619. package/dist/campaigns-UN3XB6TJ.js +0 -107
  620. package/dist/campaigns-YPI4KS7U.js +0 -110
  621. package/dist/canvas-GPXU2ZSC.js +0 -46
  622. package/dist/capabilities-HD2T6H24.js +0 -144
  623. package/dist/capabilities-HD2T6H24.js.map +0 -1
  624. package/dist/cards-QRX43TGI.js +0 -85
  625. package/dist/catalog-CRIYIXOJ.js +0 -65
  626. package/dist/catalogs-D677AN33.js +0 -128
  627. package/dist/changes-PWBOKKNL.js +0 -135
  628. package/dist/chatgpt-RYL44ASK.js +0 -47
  629. package/dist/chats-OQ6JOASV.js +0 -262
  630. package/dist/chats-OQ6JOASV.js.map +0 -1
  631. package/dist/chunk-2QLNGCFZ.js +0 -175
  632. package/dist/chunk-2V2M2CHS.js +0 -225
  633. package/dist/chunk-35QYDREI.js +0 -160
  634. package/dist/chunk-3BG2BVWN.js +0 -622
  635. package/dist/chunk-3FOE4P6A.js +0 -28
  636. package/dist/chunk-3JX4NUGF.js +0 -45
  637. package/dist/chunk-3KN3VCS3.js +0 -1711
  638. package/dist/chunk-54VIXBLO.js +0 -46
  639. package/dist/chunk-5IQL24NI.js +0 -76
  640. package/dist/chunk-5TOKIRCD.js +0 -1441
  641. package/dist/chunk-5URIFBIL.js +0 -75
  642. package/dist/chunk-5Z6SSOLG.js +0 -188
  643. package/dist/chunk-6C4S466W.js +0 -486
  644. package/dist/chunk-6HLPM7U3.js +0 -191
  645. package/dist/chunk-6R7CMUIZ.js +0 -74
  646. package/dist/chunk-6XPBHM5P.js +0 -84
  647. package/dist/chunk-6ZEFXZRD.js +0 -274
  648. package/dist/chunk-73JXX4LJ.js +0 -136
  649. package/dist/chunk-A2PTD6FL.js +0 -166
  650. package/dist/chunk-AGEJ7IJG.js +0 -592
  651. package/dist/chunk-APY53DKV.js +0 -304
  652. package/dist/chunk-BJ4SHBS2.js +0 -207
  653. package/dist/chunk-BXKJZBBJ.js +0 -125
  654. package/dist/chunk-C2DAPBYB.js +0 -4410
  655. package/dist/chunk-D2JOBGBD.js +0 -541
  656. package/dist/chunk-DE64GHEP.js +0 -74
  657. package/dist/chunk-E4ICSNSW.js +0 -215
  658. package/dist/chunk-EIAA3XTT.js +0 -275
  659. package/dist/chunk-EMLM2TKM.js +0 -6667
  660. package/dist/chunk-EOWMPN3Q.js +0 -51
  661. package/dist/chunk-F66W4QQL.js +0 -92
  662. package/dist/chunk-FCADB4RG.js +0 -535
  663. package/dist/chunk-FCADB4RG.js.map +0 -1
  664. package/dist/chunk-FIBL3EZN.js +0 -197
  665. package/dist/chunk-FJDTR2IN.js +0 -363
  666. package/dist/chunk-FNKOQQ2U.js +0 -42
  667. package/dist/chunk-FZKC65TR.js +0 -455
  668. package/dist/chunk-G4PE563Y.js +0 -309
  669. package/dist/chunk-G6UBBPH3.js +0 -106
  670. package/dist/chunk-GKUIGEY6.js +0 -56
  671. package/dist/chunk-GWFJAVWD.js +0 -97
  672. package/dist/chunk-HMKVVPWY.js +0 -333
  673. package/dist/chunk-HMVVNB23.js +0 -76
  674. package/dist/chunk-ICFITD5H.js +0 -31
  675. package/dist/chunk-IDEFDDTX.js +0 -819
  676. package/dist/chunk-IFZD2MDE.js +0 -474
  677. package/dist/chunk-IH4NS3NT.js +0 -172
  678. package/dist/chunk-ITYFVNLA.js +0 -846
  679. package/dist/chunk-IX6PPPOS.js +0 -346
  680. package/dist/chunk-JTSYEIHY.js +0 -103
  681. package/dist/chunk-K63BDJYR.js +0 -136
  682. package/dist/chunk-KNX2UBLI.js +0 -610
  683. package/dist/chunk-KPHBHRJY.js +0 -149
  684. package/dist/chunk-KWMCE3Q2.js +0 -23
  685. package/dist/chunk-KYQZM5FB.js +0 -1830
  686. package/dist/chunk-LAAJ3V67.js +0 -159
  687. package/dist/chunk-LCMGWIEQ.js +0 -296
  688. package/dist/chunk-MNCMAJKB.js +0 -337
  689. package/dist/chunk-N3DLCXMB.js +0 -98
  690. package/dist/chunk-NKU7RLAI.js +0 -169
  691. package/dist/chunk-NWAFH7K3.js +0 -98
  692. package/dist/chunk-NYVO4TND.js +0 -26
  693. package/dist/chunk-O5MNUL7C.js +0 -509
  694. package/dist/chunk-O5RBFETA.js +0 -665
  695. package/dist/chunk-ODMKCAAQ.js +0 -111
  696. package/dist/chunk-OIS3WG2U.js +0 -65
  697. package/dist/chunk-OL4RPZ64.js +0 -96
  698. package/dist/chunk-OP2OMNVN.js +0 -106
  699. package/dist/chunk-P5V7NXMY.js +0 -25
  700. package/dist/chunk-Q3PB5ZUT.js +0 -172
  701. package/dist/chunk-QT7FKFNS.js +0 -60
  702. package/dist/chunk-R5VW2ACF.js +0 -494
  703. package/dist/chunk-RGE7STV4.js +0 -3153
  704. package/dist/chunk-RIXGQIMZ.js +0 -84
  705. package/dist/chunk-RWEVT5SO.js +0 -133
  706. package/dist/chunk-S3TSJQOJ.js +0 -96
  707. package/dist/chunk-SMVHUBXE.js +0 -66
  708. package/dist/chunk-SZX5LUHK.js +0 -94
  709. package/dist/chunk-TG63NMMW.js +0 -58
  710. package/dist/chunk-TOYLG3ZY.js +0 -214
  711. package/dist/chunk-TZKJNSZH.js +0 -55
  712. package/dist/chunk-U57KAPAJ.js +0 -74
  713. package/dist/chunk-VAOMHPEX.js +0 -936
  714. package/dist/chunk-VAOMHPEX.js.map +0 -1
  715. package/dist/chunk-VFME5MT5.js +0 -297
  716. package/dist/chunk-WCHPZD64.js +0 -5189
  717. package/dist/chunk-WHOS7L4N.js +0 -19
  718. package/dist/chunk-WOB3ESBQ.js +0 -67
  719. package/dist/chunk-XM75RTFZ.js +0 -1599
  720. package/dist/chunk-XUGTYYXY.js +0 -174
  721. package/dist/chunk-Y4V55WFQ.js +0 -23992
  722. package/dist/chunk-YKSIHGIL.js +0 -454
  723. package/dist/chunk-YOLNNZ77.js +0 -382
  724. package/dist/chunk-ZW6EMA2U.js +0 -139
  725. package/dist/chunk-ZZFYDAJQ.js +0 -981
  726. package/dist/chunk-ZZFYDAJQ.js.map +0 -1
  727. package/dist/claim-B6LWKULS.js +0 -197
  728. package/dist/claim-B6LWKULS.js.map +0 -1
  729. package/dist/client-DUZXHJAT.js +0 -19
  730. package/dist/code-BQCH5ARZ.js +0 -76
  731. package/dist/companies-BC6TCRXY.js +0 -195
  732. package/dist/companies-BC6TCRXY.js.map +0 -1
  733. package/dist/complete-Y7ZAKY62.js +0 -81
  734. package/dist/complete-Y7ZAKY62.js.map +0 -1
  735. package/dist/config-2NKM5GSZ.js +0 -88
  736. package/dist/connect-4WXSJAIK.js +0 -42
  737. package/dist/content-MJ3W6FKW.js +0 -85
  738. package/dist/conversation-SEVRAH5J.js +0 -93
  739. package/dist/conversation-SEVRAH5J.js.map +0 -1
  740. package/dist/conversion-report-KLP2PJKJ.js +0 -125
  741. package/dist/conversion-upload-command-KB6ME34E.js +0 -438
  742. package/dist/conversion-writes-LO24U7NW.js +0 -120
  743. package/dist/conversions-OC2UHXG7.js +0 -135
  744. package/dist/conversions-OC2UHXG7.js.map +0 -1
  745. package/dist/conversions-QBWE4C5T.js +0 -76
  746. package/dist/countries-F67IA6DF.js +0 -82
  747. package/dist/create-BPHBGMFM.js +0 -59
  748. package/dist/create-BPHBGMFM.js.map +0 -1
  749. package/dist/create-IGZH5OFP.js +0 -235
  750. package/dist/create-IGZH5OFP.js.map +0 -1
  751. package/dist/create-NLNOXZ2T.js +0 -130
  752. package/dist/create-NLNOXZ2T.js.map +0 -1
  753. package/dist/create-YX3YN4SU.js +0 -207
  754. package/dist/create-YX3YN4SU.js.map +0 -1
  755. package/dist/creatives-4N6RRVBP.js +0 -87
  756. package/dist/creatives-ESTFGCVQ.js +0 -182
  757. package/dist/creatives-ESTFGCVQ.js.map +0 -1
  758. package/dist/creatives-ZDWQ7AP3.js +0 -51
  759. package/dist/credentials-GA4ZW4QL.js +0 -287
  760. package/dist/credentials-GA4ZW4QL.js.map +0 -1
  761. package/dist/critique-IJG6WBDW.js +0 -1449
  762. package/dist/critique-IJG6WBDW.js.map +0 -1
  763. package/dist/critique-SYBZXBHJ.js +0 -213
  764. package/dist/critique-SYBZXBHJ.js.map +0 -1
  765. package/dist/crm-2P7WHZBW.js +0 -224
  766. package/dist/crm-2P7WHZBW.js.map +0 -1
  767. package/dist/crm-SVDB2XHW.js +0 -318
  768. package/dist/crm-SVDB2XHW.js.map +0 -1
  769. package/dist/crop-ZAYOFRSS.js +0 -113
  770. package/dist/currency-UWW5QJGL.js +0 -88
  771. package/dist/custom-conversions-2BG2VUOY.js +0 -125
  772. package/dist/customers-2LZ3HG3V.js +0 -56
  773. package/dist/delete-A3JJJHC6.js +0 -63
  774. package/dist/delete-A3JJJHC6.js.map +0 -1
  775. package/dist/delete-ER3LIA3F.js +0 -71
  776. package/dist/delete-HVCQQSG4.js +0 -71
  777. package/dist/delete-QPPPLHS4.js +0 -54
  778. package/dist/delete-QPPPLHS4.js.map +0 -1
  779. package/dist/delete-T22GD7FG.js +0 -69
  780. package/dist/delete-VZUF57KL.js +0 -66
  781. package/dist/delete-VZUF57KL.js.map +0 -1
  782. package/dist/demographics-3KAK7JGZ.js +0 -138
  783. package/dist/demographics-3KAK7JGZ.js.map +0 -1
  784. package/dist/describe-ADQWM55K.js +0 -97
  785. package/dist/describe-XEGTSEUI.js +0 -97
  786. package/dist/dimensions-WQZBBY7I.js +0 -101
  787. package/dist/discard-VU72HO4B.js +0 -66
  788. package/dist/discard-VU72HO4B.js.map +0 -1
  789. package/dist/discover-HXKIQWH2.js +0 -172
  790. package/dist/domain-ERWROFZC.js +0 -98
  791. package/dist/domain-ERWROFZC.js.map +0 -1
  792. package/dist/download-7Z3BWAHR.js +0 -299
  793. package/dist/draft-3V3HOB5N.js +0 -217
  794. package/dist/draft-3V3HOB5N.js.map +0 -1
  795. package/dist/draft-4TCT6UQD.js +0 -103
  796. package/dist/draft-5YJY6YT5.js +0 -328
  797. package/dist/draft-5YJY6YT5.js.map +0 -1
  798. package/dist/draft-7LIGULA2.js +0 -100
  799. package/dist/draft-C2DDLJH2.js +0 -307
  800. package/dist/draft-FCCYMFKW.js +0 -281
  801. package/dist/draft-FELTG6LD.js +0 -306
  802. package/dist/draft-FELTG6LD.js.map +0 -1
  803. package/dist/draft-JIFFSL5U.js +0 -233
  804. package/dist/env-IUF4DTG2.js +0 -43
  805. package/dist/experiment-T3H6LFLK.js +0 -1397
  806. package/dist/export-V7WQJD4L.js +0 -168
  807. package/dist/extract-WW7WLLRB.js +0 -113
  808. package/dist/facets-J4JLHESD.js +0 -114
  809. package/dist/facets-J4JLHESD.js.map +0 -1
  810. package/dist/favorites-XLCT5S6E.js +0 -178
  811. package/dist/feed-PG6AXUYA.js +0 -179
  812. package/dist/feedback-J6FSCCWF.js +0 -66
  813. package/dist/feedback-record-4AY3MG2E.js +0 -175
  814. package/dist/feedback-record-4AY3MG2E.js.map +0 -1
  815. package/dist/fetch-C4JYRA53.js +0 -139
  816. package/dist/fetch-QIHGIATQ.js +0 -176
  817. package/dist/fetch-QIHGIATQ.js.map +0 -1
  818. package/dist/find-SLZO4FBR.js +0 -134
  819. package/dist/fit-SSR3JDDI.js +0 -45
  820. package/dist/flows-IRFHGBUR.js +0 -247
  821. package/dist/flows-IRFHGBUR.js.map +0 -1
  822. package/dist/follow-EKNBOS7Z.js +0 -82
  823. package/dist/follow-EKNBOS7Z.js.map +0 -1
  824. package/dist/follow-competitors-OYQXYSI5.js +0 -131
  825. package/dist/follow-competitors-OYQXYSI5.js.map +0 -1
  826. package/dist/following-M3C3XSHY.js +0 -113
  827. package/dist/fonts-ZU5Q4A6U.js +0 -34
  828. package/dist/forecast-KVPAU7OT.js +0 -104
  829. package/dist/forecast-KVPAU7OT.js.map +0 -1
  830. package/dist/forecast-XGBT722Z.js +0 -168
  831. package/dist/funding-BWSGYQPP.js +0 -85
  832. package/dist/funnel-JXC5WXLR.js +0 -394
  833. package/dist/funnel-JXC5WXLR.js.map +0 -1
  834. package/dist/ga4-XWK5H7HN.js +0 -55
  835. package/dist/generate-E6YDVJ23.js +0 -262
  836. package/dist/get-23E7ZEKP.js +0 -56
  837. package/dist/get-23E7ZEKP.js.map +0 -1
  838. package/dist/get-HXJSMHDC.js +0 -61
  839. package/dist/get-IWYF6PA4.js +0 -78
  840. package/dist/get-IWYF6PA4.js.map +0 -1
  841. package/dist/get-JGCMBA7Y.js +0 -63
  842. package/dist/get-QLFMRSLN.js +0 -59
  843. package/dist/get-XWIA6BEO.js +0 -63
  844. package/dist/get-ZLSZTGXA.js +0 -92
  845. package/dist/gif-KHF452GC.js +0 -94
  846. package/dist/google-5GESCEKC.js +0 -136
  847. package/dist/google-KTDHD75U.js +0 -3190
  848. package/dist/google-ads-VW5UGOGO.js +0 -195
  849. package/dist/google-ads-VW5UGOGO.js.map +0 -1
  850. package/dist/group-JYNKEOPG.js +0 -43
  851. package/dist/group-ZMCHUQMI.js +0 -43
  852. package/dist/gsc-I6RIFE7I.js +0 -30
  853. package/dist/history-F3N6M4JM.js +0 -67
  854. package/dist/history-IAKV2LJN.js +0 -133
  855. package/dist/history-IAKV2LJN.js.map +0 -1
  856. package/dist/hubspot-QVDLE3BF.js +0 -779
  857. package/dist/hubspot-QVDLE3BF.js.map +0 -1
  858. package/dist/icon-4C2JOBPE.js +0 -137
  859. package/dist/ideas-7COQX7C3.js +0 -32
  860. package/dist/images-5XNXXZLM.js +0 -90
  861. package/dist/improve-6VC6ORAG.js +0 -86
  862. package/dist/ingest-L6MMXL6R.js +0 -23
  863. package/dist/ingest-UP42M3WU.js +0 -107
  864. package/dist/ingest-UP42M3WU.js.map +0 -1
  865. package/dist/insights-3H736QZH.js +0 -122
  866. package/dist/insights-3TEVP4B2.js +0 -423
  867. package/dist/inspect-2WOLOPTV.js +0 -189
  868. package/dist/inspect-2WOLOPTV.js.map +0 -1
  869. package/dist/inspiration-I2XMXXEW.js +0 -53
  870. package/dist/intent-IYUKLNST.js +0 -95
  871. package/dist/job-MTHK2PPN.js +0 -202
  872. package/dist/job-create-AD3L6A6F.js +0 -109
  873. package/dist/job-status-MCFOA5V3.js +0 -74
  874. package/dist/keep-NNATO2B6.js +0 -78
  875. package/dist/keyword-gap-RSITTJ56.js +0 -130
  876. package/dist/keyword-metrics-E5D2ESIH.js +0 -197
  877. package/dist/keyword-metrics-E5D2ESIH.js.map +0 -1
  878. package/dist/keywords-for-site-SRUKRBCR.js +0 -128
  879. package/dist/keywords-for-site-SRUKRBCR.js.map +0 -1
  880. package/dist/landing-ZFZ4LYCB.js +0 -28
  881. package/dist/landings-JJELYF4P.js +0 -143
  882. package/dist/landings-JJELYF4P.js.map +0 -1
  883. package/dist/languages-3FETIHSB.js +0 -55
  884. package/dist/languages-SJ6ZWALA.js +0 -40
  885. package/dist/launches-ZZ7ST4SY.js +0 -108
  886. package/dist/layerize-NSF6NEWY.js +0 -190
  887. package/dist/leads-EVFLPNG6.js +0 -293
  888. package/dist/leads-P46ND2LT.js +0 -90
  889. package/dist/leads-P46ND2LT.js.map +0 -1
  890. package/dist/learn-EJSMXKSE.js +0 -203
  891. package/dist/learn-EJSMXKSE.js.map +0 -1
  892. package/dist/library-UKGHGGOG.js +0 -109
  893. package/dist/lighthouse-B2IBNWLX.js +0 -75
  894. package/dist/line-item-writes-EM6I5KIH.js +0 -208
  895. package/dist/line-item-writes-EM6I5KIH.js.map +0 -1
  896. package/dist/line-items-GLNMIKM5.js +0 -103
  897. package/dist/link-CZ4XFU2D.js +0 -64
  898. package/dist/link-CZ4XFU2D.js.map +0 -1
  899. package/dist/linkedin-ES3KPPHF.js +0 -1008
  900. package/dist/linkedin-ES3KPPHF.js.map +0 -1
  901. package/dist/list-3IJMAQHX.js +0 -51
  902. package/dist/list-B7GN44R3.js +0 -63
  903. package/dist/list-B7GN44R3.js.map +0 -1
  904. package/dist/list-BDPUPCQZ.js +0 -57
  905. package/dist/list-HGQY4OHN.js +0 -151
  906. package/dist/list-HGQY4OHN.js.map +0 -1
  907. package/dist/list-JD7EIBPU.js +0 -303
  908. package/dist/list-JD7EIBPU.js.map +0 -1
  909. package/dist/list-NZZ75O6C.js +0 -65
  910. package/dist/list-XBYKFXS3.js +0 -76
  911. package/dist/list-XRON5I6M.js +0 -50
  912. package/dist/locations-M2665NGJ.js +0 -40
  913. package/dist/locations-TKPILKLO.js +0 -67
  914. package/dist/log-KUHIZL53.js +0 -92
  915. package/dist/log-KUHIZL53.js.map +0 -1
  916. package/dist/logo-EVE3TAL5.js +0 -18
  917. package/dist/lookup-Z5TFHYDU.js +0 -22
  918. package/dist/make-ISUBJILH.js +0 -634
  919. package/dist/make-ISUBJILH.js.map +0 -1
  920. package/dist/map-NNMEQE6E.js +0 -404
  921. package/dist/map-NNMEQE6E.js.map +0 -1
  922. package/dist/mcp-AJDXG3NV.js +0 -463
  923. package/dist/mcp-AJDXG3NV.js.map +0 -1
  924. package/dist/media-DGNFOT7M.js +0 -89
  925. package/dist/media-FRNTELKI.js +0 -15
  926. package/dist/media-sources-V452RJ6B.js +0 -32
  927. package/dist/members-VUJ62KJQ.js +0 -44
  928. package/dist/members-VUJ62KJQ.js.map +0 -1
  929. package/dist/meta-NGBLUNVU.js +0 -69
  930. package/dist/metrics-QRRK473C.js +0 -152
  931. package/dist/models-4BTFIZZZ.js +0 -155
  932. package/dist/normalize-O47OIEUO.js +0 -806
  933. package/dist/normalize-OTNIBYUO.js +0 -141
  934. package/dist/normalize-OTNIBYUO.js.map +0 -1
  935. package/dist/options-FTXE6HFT.js +0 -121
  936. package/dist/options-FTXE6HFT.js.map +0 -1
  937. package/dist/output-W473ZLGR.js +0 -24
  938. package/dist/page-7TEJ5NA5.js +0 -105
  939. package/dist/pages-S2E3FHDH.js +0 -66
  940. package/dist/performance-IMD2N7OD.js +0 -24
  941. package/dist/pinterest-DQC3JXQT.js +0 -96
  942. package/dist/pixels-M5GS7DIH.js +0 -60
  943. package/dist/pixels-MHH4N35F.js +0 -108
  944. package/dist/plan-GGLBOLIU.js +0 -207
  945. package/dist/preview-AHDEJO2X.js +0 -169
  946. package/dist/profile-2TPKFD4Y.js +0 -131
  947. package/dist/promoted-tweet-writes-XUM4WGZH.js +0 -180
  948. package/dist/promoted-tweet-writes-XUM4WGZH.js.map +0 -1
  949. package/dist/promoted-tweets-TIHMJ5PU.js +0 -119
  950. package/dist/properties-KOY2GE45.js +0 -101
  951. package/dist/publish-Q7MHUVVZ.js +0 -322
  952. package/dist/publish-Q7MHUVVZ.js.map +0 -1
  953. package/dist/query-EO7BX4MH.js +0 -236
  954. package/dist/query-QZWMKAJZ.js +0 -247
  955. package/dist/query-XLTRAAQO.js +0 -61
  956. package/dist/questionnaire-BL3G6UYL.js +0 -93
  957. package/dist/read-ZMNYD3PA.js +0 -141
  958. package/dist/reddit-RO3VKMJ7.js +0 -26
  959. package/dist/refresh-OER4JT3Q.js +0 -94
  960. package/dist/refresh-OER4JT3Q.js.map +0 -1
  961. package/dist/release-4DLGFSYY.js +0 -60
  962. package/dist/release-4DLGFSYY.js.map +0 -1
  963. package/dist/relevant-pages-ZGGWFDLL.js +0 -99
  964. package/dist/remove-MQ3JY36P.js +0 -48
  965. package/dist/remove-WENY6GQU.js +0 -50
  966. package/dist/remove-WENY6GQU.js.map +0 -1
  967. package/dist/reopen-VSVK5EZI.js +0 -63
  968. package/dist/reopen-VSVK5EZI.js.map +0 -1
  969. package/dist/rerun-B32CIKVH.js +0 -85
  970. package/dist/rerun-B32CIKVH.js.map +0 -1
  971. package/dist/research-2XAQRMC3.js +0 -62
  972. package/dist/research-ZEIW667A.js +0 -262
  973. package/dist/research-ZEIW667A.js.map +0 -1
  974. package/dist/reset-DXBESBL7.js +0 -54
  975. package/dist/reset-DXBESBL7.js.map +0 -1
  976. package/dist/reset-G4A52FMR.js +0 -54
  977. package/dist/reset-G4A52FMR.js.map +0 -1
  978. package/dist/resolve-FA6CFVX4.js +0 -121
  979. package/dist/resolve-FA6CFVX4.js.map +0 -1
  980. package/dist/retry-CXTOGFZT.js +0 -60
  981. package/dist/retry-CXTOGFZT.js.map +0 -1
  982. package/dist/retry-THMD27CA.js +0 -62
  983. package/dist/retry-THMD27CA.js.map +0 -1
  984. package/dist/retry-failed-3R35LZ6I.js +0 -45
  985. package/dist/run-HRSNUGWJ.js +0 -60
  986. package/dist/run-NYJUDS32.js +0 -65
  987. package/dist/run-NYJUDS32.js.map +0 -1
  988. package/dist/scaffold-ad-RUJQIYQH.js +0 -1549
  989. package/dist/scaffold-ad-RUJQIYQH.js.map +0 -1
  990. package/dist/scaffold-static-ad-36KRZNWU.js +0 -973
  991. package/dist/scaffold-static-ad-36KRZNWU.js.map +0 -1
  992. package/dist/scaffold-video-RYVG4IFA.js +0 -873
  993. package/dist/scaffold-video-RYVG4IFA.js.map +0 -1
  994. package/dist/schedule-ENH4N66R.js +0 -61
  995. package/dist/schedule-ENH4N66R.js.map +0 -1
  996. package/dist/schedule-KSIMVG5U.js +0 -66
  997. package/dist/scheduled-agents-RM24BRGD.js +0 -49
  998. package/dist/schema-JJVSWKGP.js +0 -132
  999. package/dist/schema-JJVSWKGP.js.map +0 -1
  1000. package/dist/schema-MT76C7XK.js +0 -63
  1001. package/dist/scrape-ICS5UA62.js +0 -2241
  1002. package/dist/screenshot-YPUFPY5W.js +0 -102
  1003. package/dist/search-6BHODVNN.js +0 -27
  1004. package/dist/search-HOQZ3XIK.js +0 -92
  1005. package/dist/search-KFP4GPMJ.js +0 -174
  1006. package/dist/search-KFP4GPMJ.js.map +0 -1
  1007. package/dist/search-TCDI77HS.js +0 -91
  1008. package/dist/search-W7E5S347.js +0 -224
  1009. package/dist/search-copy-LXBPFQC3.js +0 -115
  1010. package/dist/seeds-Q6VS27LT.js +0 -101
  1011. package/dist/select-CB5BBKHR.js +0 -94
  1012. package/dist/select-CB5BBKHR.js.map +0 -1
  1013. package/dist/sends-HDTG7XRL.js +0 -309
  1014. package/dist/sequences-SISO5JGS.js +0 -146
  1015. package/dist/set-prompt-IS7JSFYY.js +0 -186
  1016. package/dist/set-prompt-IS7JSFYY.js.map +0 -1
  1017. package/dist/setup-links-NBO7B64S.js +0 -141
  1018. package/dist/setup-links-NBO7B64S.js.map +0 -1
  1019. package/dist/shared-MJEF5Z6R.js +0 -31
  1020. package/dist/site-5MPVICS2.js +0 -177
  1021. package/dist/site-5MPVICS2.js.map +0 -1
  1022. package/dist/sitemaps-G3YCZDEM.js +0 -87
  1023. package/dist/sites-YH2ZIMCP.js +0 -101
  1024. package/dist/skills-SQTM676S.js +0 -47
  1025. package/dist/sources-FSYJ2EQL.js +0 -421
  1026. package/dist/sources-FSYJ2EQL.js.map +0 -1
  1027. package/dist/sources-OES5YJY6.js +0 -30
  1028. package/dist/stale-YT3CGHAI.js +0 -63
  1029. package/dist/stale-YT3CGHAI.js.map +0 -1
  1030. package/dist/stats-IDL2KWGM.js +0 -34
  1031. package/dist/status-ZDKRO7TH.js +0 -62
  1032. package/dist/status-ZDKRO7TH.js.map +0 -1
  1033. package/dist/sticker-2R5LODHJ.js +0 -94
  1034. package/dist/stock-5DWDTNFB.js +0 -179
  1035. package/dist/studio-PPFFAUWO.js +0 -49
  1036. package/dist/sync-7DWOHCVF.js +0 -265
  1037. package/dist/sync-JRRGJWFH.js +0 -54
  1038. package/dist/sync-RNKJFPDI.js +0 -54
  1039. package/dist/sync-RNKJFPDI.js.map +0 -1
  1040. package/dist/sync-definition-SDJM567M.js +0 -53
  1041. package/dist/tag-manager-MBS6YCZM.js +0 -43
  1042. package/dist/tags-5EVJ73IX.js +0 -26
  1043. package/dist/tags-5THBYIHN.js +0 -20
  1044. package/dist/tags-5THBYIHN.js.map +0 -1
  1045. package/dist/tags-D74DMYCW.js +0 -20
  1046. package/dist/tags-D74DMYCW.js.map +0 -1
  1047. package/dist/tags-KFDRX4H7.js +0 -20
  1048. package/dist/tags-KFDRX4H7.js.map +0 -1
  1049. package/dist/tags-YEWHOSC5.js +0 -224
  1050. package/dist/tags-YEWHOSC5.js.map +0 -1
  1051. package/dist/targeting-constants-KIMGCL2N.js +0 -118
  1052. package/dist/targeting-criteria-5BN4EELG.js +0 -113
  1053. package/dist/targets-DBQNYE34.js +0 -102
  1054. package/dist/targets-DBQNYE34.js.map +0 -1
  1055. package/dist/templates-J2NZIOY2.js +0 -178
  1056. package/dist/templates-J2NZIOY2.js.map +0 -1
  1057. package/dist/testimonials-2IJE6K2L.js +0 -32
  1058. package/dist/themes-6BRONMJ2.js +0 -94
  1059. package/dist/top-companies-TAA7HKTA.js +0 -108
  1060. package/dist/top-companies-TAA7HKTA.js.map +0 -1
  1061. package/dist/translate-ZVQQJJQT.js +0 -598
  1062. package/dist/translate-ZVQQJJQT.js.map +0 -1
  1063. package/dist/triggers-2VPLSNP7.js +0 -141
  1064. package/dist/triggers-2VPLSNP7.js.map +0 -1
  1065. package/dist/tweets-YEMIGLP7.js +0 -123
  1066. package/dist/unfollow-S6XQVQIA.js +0 -46
  1067. package/dist/unlink-DDTHG25I.js +0 -67
  1068. package/dist/unlink-DDTHG25I.js.map +0 -1
  1069. package/dist/unstage-ABSCDW43.js +0 -84
  1070. package/dist/unstage-ABSCDW43.js.map +0 -1
  1071. package/dist/unstage-VDLTHNHY.js +0 -95
  1072. package/dist/update-C2QWKWXB.js +0 -98
  1073. package/dist/update-C2QWKWXB.js.map +0 -1
  1074. package/dist/update-COMDOEYG.js +0 -142
  1075. package/dist/update-COMDOEYG.js.map +0 -1
  1076. package/dist/update-FMROPHXQ.js +0 -155
  1077. package/dist/update-FMROPHXQ.js.map +0 -1
  1078. package/dist/update-SY54UP5O.js +0 -63
  1079. package/dist/update-SY54UP5O.js.map +0 -1
  1080. package/dist/upload-7QBWAQLM.js +0 -126
  1081. package/dist/upload-7QBWAQLM.js.map +0 -1
  1082. package/dist/upload-PTXQ7IEE.js +0 -150
  1083. package/dist/upscale-YQ2KZRCI.js +0 -109
  1084. package/dist/url-options-QRGN4Q34.js +0 -130
  1085. package/dist/url-params-ZBOCO4CG.js +0 -98
  1086. package/dist/url-params-ZBOCO4CG.js.map +0 -1
  1087. package/dist/use-BFD6WCDB.js +0 -95
  1088. package/dist/validate-M7B2SBDH.js +0 -89
  1089. package/dist/validate-M7B2SBDH.js.map +0 -1
  1090. package/dist/variant-U77I2UDY.js +0 -338
  1091. package/dist/videos-2EPKRCW6.js +0 -39
  1092. package/dist/view-BDLUTKMK.js +0 -121
  1093. package/dist/viewer-check-YF6ENNNL.js +0 -69
  1094. package/dist/web-JRDXE2GL.js +0 -140
  1095. package/dist/web-JRDXE2GL.js.map +0 -1
  1096. package/dist/winners-AWRCSFAC.js +0 -113
  1097. package/dist/winning-ads-QQ6Y5R7T.js +0 -79
  1098. package/dist/write-commands-3UXPJJ75.js +0 -1015
  1099. package/dist/write-commands-3UXPJJ75.js.map +0 -1
  1100. package/dist/write-commands-HZI5YF52.js +0 -737
  1101. package/dist/write-commands-MYA273DT.js +0 -206
  1102. package/dist/write-commands-OQPBPQ77.js +0 -713
  1103. package/dist/x-WA3Q46K6.js +0 -47
  1104. /package/dist/{account-VGIKDAK3.js.map → account-IRGRKYJY.js.map} +0 -0
  1105. /package/dist/{account-F2D257QB.js.map → account-Y355AWQZ.js.map} +0 -0
  1106. /package/dist/{account-reads-OS6RLJFJ.js.map → account-reads-76UWMB3T.js.map} +0 -0
  1107. /package/dist/{account-writes-7HZJWI5U.js.map → account-writes-G6B3D75J.js.map} +0 -0
  1108. /package/dist/{accounts-4IIILFLV.js.map → accounts-6BSNUSL2.js.map} +0 -0
  1109. /package/dist/{accounts-X5MPAWZX.js.map → accounts-W3O34NIB.js.map} +0 -0
  1110. /package/dist/{accounts-25JDCWKR.js.map → accounts-ZCKOPY4V.js.map} +0 -0
  1111. /package/dist/{actions-CLFWCFFA.js.map → actions-SPJ7K3WP.js.map} +0 -0
  1112. /package/dist/{active-entities-V2K2S3UY.js.map → active-entities-OF34PSKJ.js.map} +0 -0
  1113. /package/dist/{activities-CUVZGTGA.js.map → activities-C5WK3MXQ.js.map} +0 -0
  1114. /package/dist/{ad-group-writes-GG3BUQQY.js.map → ad-group-writes-NOJXE2SD.js.map} +0 -0
  1115. /package/dist/{ad-groups-KRZ6YX7O.js.map → ad-groups-YJQFLYXT.js.map} +0 -0
  1116. /package/dist/{ad-writes-YDMS7NPG.js.map → ad-writes-NZITPMNK.js.map} +0 -0
  1117. /package/dist/{add-LHAZ34ZF.js.map → add-37RLQWXR.js.map} +0 -0
  1118. /package/dist/{add-BHLEFGCG.js.map → add-BXTSVYMJ.js.map} +0 -0
  1119. /package/dist/{ads-5SGFPSQL.js.map → ads-4FVN7UTX.js.map} +0 -0
  1120. /package/dist/{ads-CP4VTPKO.js.map → ads-FZSPK3L7.js.map} +0 -0
  1121. /package/dist/{ads-Q54IPFAS.js.map → ads-YYVMBTMC.js.map} +0 -0
  1122. /package/dist/{adsets-4RXF4YXR.js.map → adsets-I35MU53T.js.map} +0 -0
  1123. /package/dist/{advertisers-JDUAIACQ.js.map → advertisers-6C3JWMFN.js.map} +0 -0
  1124. /package/dist/{animate-PYYWDHQ2.js.map → animate-BZZ4PRNK.js.map} +0 -0
  1125. /package/dist/{audiences-B2ZSJSOJ.js.map → audiences-57Z5DJ3C.js.map} +0 -0
  1126. /package/dist/{audiences-S6IHCG3G.js.map → audiences-ALMKJXOE.js.map} +0 -0
  1127. /package/dist/{audiences-6QF625VZ.js.map → audiences-QEFTSR3A.js.map} +0 -0
  1128. /package/dist/{audit-IJUKCS2K.js.map → audit-4ODYNTLU.js.map} +0 -0
  1129. /package/dist/{avatars-O64BDZHC.js.map → avatars-D7RH6FQK.js.map} +0 -0
  1130. /package/dist/{brand-W55FHWU6.js.map → brand-GON2DGDG.js.map} +0 -0
  1131. /package/dist/{businesses-ZFP263RY.js.map → businesses-U7V7D5O4.js.map} +0 -0
  1132. /package/dist/{campaign-writes-APYVRCNH.js.map → campaign-writes-2URYK37Q.js.map} +0 -0
  1133. /package/dist/{campaigns-YPI4KS7U.js.map → campaigns-ENPXM4OI.js.map} +0 -0
  1134. /package/dist/{campaigns-ANQW3YDH.js.map → campaigns-IUPJX5EL.js.map} +0 -0
  1135. /package/dist/{campaigns-UN3XB6TJ.js.map → campaigns-V66PVG7T.js.map} +0 -0
  1136. /package/dist/{canvas-GPXU2ZSC.js.map → canvas-BJQ556BB.js.map} +0 -0
  1137. /package/dist/{cards-QRX43TGI.js.map → cards-5TOCOH5L.js.map} +0 -0
  1138. /package/dist/{catalog-CRIYIXOJ.js.map → catalog-7GPT7ZNH.js.map} +0 -0
  1139. /package/dist/{catalogs-D677AN33.js.map → catalogs-I6PRBCEX.js.map} +0 -0
  1140. /package/dist/{changes-PWBOKKNL.js.map → changes-KSTSKL7T.js.map} +0 -0
  1141. /package/dist/{chatgpt-RYL44ASK.js.map → chatgpt-Y3UXQIRV.js.map} +0 -0
  1142. /package/dist/{chunk-N3DLCXMB.js.map → chunk-2J5N24NW.js.map} +0 -0
  1143. /package/dist/{chunk-NKU7RLAI.js.map → chunk-2WXLB66I.js.map} +0 -0
  1144. /package/dist/{chunk-FIBL3EZN.js.map → chunk-2YK5XCY2.js.map} +0 -0
  1145. /package/dist/{chunk-35QYDREI.js.map → chunk-2ZRSQDXR.js.map} +0 -0
  1146. /package/dist/{chunk-IFZD2MDE.js.map → chunk-3GO6OOUD.js.map} +0 -0
  1147. /package/dist/{chunk-5URIFBIL.js.map → chunk-3L4P5X7N.js.map} +0 -0
  1148. /package/dist/{chunk-YKSIHGIL.js.map → chunk-3XA4JVMY.js.map} +0 -0
  1149. /package/dist/{chunk-6R7CMUIZ.js.map → chunk-44RWJ33Z.js.map} +0 -0
  1150. /package/dist/{chunk-6HLPM7U3.js.map → chunk-4AK4BUJR.js.map} +0 -0
  1151. /package/dist/{chunk-6XPBHM5P.js.map → chunk-4EKRZKPX.js.map} +0 -0
  1152. /package/dist/{chunk-C2DAPBYB.js.map → chunk-4RARCMPM.js.map} +0 -0
  1153. /package/dist/{chunk-AGEJ7IJG.js.map → chunk-6MUPGGQ3.js.map} +0 -0
  1154. /package/dist/{chunk-U57KAPAJ.js.map → chunk-6NS5HQUZ.js.map} +0 -0
  1155. /package/dist/{chunk-XM75RTFZ.js.map → chunk-7VCD55XF.js.map} +0 -0
  1156. /package/dist/{chunk-2V2M2CHS.js.map → chunk-AINDZHQQ.js.map} +0 -0
  1157. /package/dist/{chunk-IH4NS3NT.js.map → chunk-AUDVLNMT.js.map} +0 -0
  1158. /package/dist/{chunk-KYQZM5FB.js.map → chunk-B7GQ4YUK.js.map} +0 -0
  1159. /package/dist/{chunk-DE64GHEP.js.map → chunk-BABISVOU.js.map} +0 -0
  1160. /package/dist/{chunk-LAAJ3V67.js.map → chunk-BBJWIA7F.js.map} +0 -0
  1161. /package/dist/{chunk-E4ICSNSW.js.map → chunk-CE6IE364.js.map} +0 -0
  1162. /package/dist/{chunk-ITYFVNLA.js.map → chunk-CL2X6KB5.js.map} +0 -0
  1163. /package/dist/{chunk-ICFITD5H.js.map → chunk-CUJ2F472.js.map} +0 -0
  1164. /package/dist/{chunk-K63BDJYR.js.map → chunk-DMXNT47S.js.map} +0 -0
  1165. /package/dist/{chunk-R5VW2ACF.js.map → chunk-DQZEJV3K.js.map} +0 -0
  1166. /package/dist/{chunk-ZW6EMA2U.js.map → chunk-E5EJRF7J.js.map} +0 -0
  1167. /package/dist/{chunk-P5V7NXMY.js.map → chunk-EHXZDWAE.js.map} +0 -0
  1168. /package/dist/{chunk-TG63NMMW.js.map → chunk-EPQXF3JZ.js.map} +0 -0
  1169. /package/dist/{chunk-ODMKCAAQ.js.map → chunk-FH23H72G.js.map} +0 -0
  1170. /package/dist/{chunk-IDEFDDTX.js.map → chunk-FZT2UQF2.js.map} +0 -0
  1171. /package/dist/{chunk-5IQL24NI.js.map → chunk-GM4EDUTF.js.map} +0 -0
  1172. /package/dist/{chunk-O5MNUL7C.js.map → chunk-HSAPEQBP.js.map} +0 -0
  1173. /package/dist/{chunk-APY53DKV.js.map → chunk-I2HHXYRN.js.map} +0 -0
  1174. /package/dist/{chunk-EIAA3XTT.js.map → chunk-IDORRX5W.js.map} +0 -0
  1175. /package/dist/{chunk-3FOE4P6A.js.map → chunk-IFT6ID4T.js.map} +0 -0
  1176. /package/dist/{chunk-HMKVVPWY.js.map → chunk-IK56IWZC.js.map} +0 -0
  1177. /package/dist/{chunk-WCHPZD64.js.map → chunk-IRUUPYCH.js.map} +0 -0
  1178. /package/dist/{chunk-KNX2UBLI.js.map → chunk-ITWB62LG.js.map} +0 -0
  1179. /package/dist/{chunk-IX6PPPOS.js.map → chunk-IUPS2OYL.js.map} +0 -0
  1180. /package/dist/{chunk-O5RBFETA.js.map → chunk-J2UCNSRR.js.map} +0 -0
  1181. /package/dist/{chunk-3KN3VCS3.js.map → chunk-JBDX74X5.js.map} +0 -0
  1182. /package/dist/{chunk-WHOS7L4N.js.map → chunk-JE2MELTY.js.map} +0 -0
  1183. /package/dist/{chunk-VFME5MT5.js.map → chunk-KDW5DT5B.js.map} +0 -0
  1184. /package/dist/{chunk-3JX4NUGF.js.map → chunk-L4TPZLDW.js.map} +0 -0
  1185. /package/dist/{chunk-Q3PB5ZUT.js.map → chunk-LFNVHAF3.js.map} +0 -0
  1186. /package/dist/{chunk-6C4S466W.js.map → chunk-LLEF2Q66.js.map} +0 -0
  1187. /package/dist/{chunk-MNCMAJKB.js.map → chunk-LXBRJNIB.js.map} +0 -0
  1188. /package/dist/{chunk-BJ4SHBS2.js.map → chunk-M2746TPS.js.map} +0 -0
  1189. /package/dist/{chunk-NWAFH7K3.js.map → chunk-M6VLLYN2.js.map} +0 -0
  1190. /package/dist/{chunk-JTSYEIHY.js.map → chunk-MD3B6MTI.js.map} +0 -0
  1191. /package/dist/{chunk-KPHBHRJY.js.map → chunk-ME76DRT3.js.map} +0 -0
  1192. /package/dist/{chunk-S3TSJQOJ.js.map → chunk-MQEA2YZZ.js.map} +0 -0
  1193. /package/dist/{chunk-YOLNNZ77.js.map → chunk-MQW4DEQD.js.map} +0 -0
  1194. /package/dist/{chunk-QT7FKFNS.js.map → chunk-MWOIESOS.js.map} +0 -0
  1195. /package/dist/{chunk-D2JOBGBD.js.map → chunk-NQGRCWKN.js.map} +0 -0
  1196. /package/dist/{chunk-TOYLG3ZY.js.map → chunk-NUHMHZTZ.js.map} +0 -0
  1197. /package/dist/{chunk-G4PE563Y.js.map → chunk-OAYHDIW2.js.map} +0 -0
  1198. /package/dist/{chunk-RIXGQIMZ.js.map → chunk-OB6QMAE3.js.map} +0 -0
  1199. /package/dist/{chunk-5Z6SSOLG.js.map → chunk-P2I4FSVO.js.map} +0 -0
  1200. /package/dist/{chunk-BXKJZBBJ.js.map → chunk-PSRKQJ6Y.js.map} +0 -0
  1201. /package/dist/{chunk-G6UBBPH3.js.map → chunk-QDG5N7JH.js.map} +0 -0
  1202. /package/dist/{chunk-2QLNGCFZ.js.map → chunk-QNEKQWJS.js.map} +0 -0
  1203. /package/dist/{chunk-6ZEFXZRD.js.map → chunk-QZTIAVYI.js.map} +0 -0
  1204. /package/dist/{chunk-XUGTYYXY.js.map → chunk-RGI7YZ6K.js.map} +0 -0
  1205. /package/dist/{chunk-73JXX4LJ.js.map → chunk-S4EYRHCD.js.map} +0 -0
  1206. /package/dist/{chunk-GWFJAVWD.js.map → chunk-SKAB7IBX.js.map} +0 -0
  1207. /package/dist/{chunk-WOB3ESBQ.js.map → chunk-SRAMULKE.js.map} +0 -0
  1208. /package/dist/{chunk-OL4RPZ64.js.map → chunk-SXIPXBL2.js.map} +0 -0
  1209. /package/dist/{chunk-OIS3WG2U.js.map → chunk-T6N4L5L5.js.map} +0 -0
  1210. /package/dist/{chunk-RGE7STV4.js.map → chunk-T7Q4SWW4.js.map} +0 -0
  1211. /package/dist/{chunk-F66W4QQL.js.map → chunk-TD4PVILC.js.map} +0 -0
  1212. /package/dist/{chunk-FNKOQQ2U.js.map → chunk-TII4OUSW.js.map} +0 -0
  1213. /package/dist/{chunk-EMLM2TKM.js.map → chunk-TU7DPHNP.js.map} +0 -0
  1214. /package/dist/{chunk-KWMCE3Q2.js.map → chunk-TUYWBLHR.js.map} +0 -0
  1215. /package/dist/{chunk-EOWMPN3Q.js.map → chunk-UEQ4MZSP.js.map} +0 -0
  1216. /package/dist/{chunk-LCMGWIEQ.js.map → chunk-ULPPKJQH.js.map} +0 -0
  1217. /package/dist/{chunk-HMVVNB23.js.map → chunk-UMVRVX6L.js.map} +0 -0
  1218. /package/dist/{chunk-3BG2BVWN.js.map → chunk-UU6MRBKX.js.map} +0 -0
  1219. /package/dist/{chunk-SZX5LUHK.js.map → chunk-VIZ5NYTI.js.map} +0 -0
  1220. /package/dist/{chunk-FZKC65TR.js.map → chunk-WAGMHPWG.js.map} +0 -0
  1221. /package/dist/{chunk-NYVO4TND.js.map → chunk-WCOZUD56.js.map} +0 -0
  1222. /package/dist/{chunk-TZKJNSZH.js.map → chunk-WLRQPH3F.js.map} +0 -0
  1223. /package/dist/{chunk-54VIXBLO.js.map → chunk-WNP25LQF.js.map} +0 -0
  1224. /package/dist/{chunk-5TOKIRCD.js.map → chunk-WSUZBTE6.js.map} +0 -0
  1225. /package/dist/{chunk-A2PTD6FL.js.map → chunk-WVABBPSH.js.map} +0 -0
  1226. /package/dist/{chunk-OP2OMNVN.js.map → chunk-WZH3D2H7.js.map} +0 -0
  1227. /package/dist/{chunk-FJDTR2IN.js.map → chunk-XF6OUF7E.js.map} +0 -0
  1228. /package/dist/{chunk-Y4V55WFQ.js.map → chunk-XN2OQQXR.js.map} +0 -0
  1229. /package/dist/{chunk-RWEVT5SO.js.map → chunk-XQITDMRD.js.map} +0 -0
  1230. /package/dist/{chunk-SMVHUBXE.js.map → chunk-YZBQ4ACW.js.map} +0 -0
  1231. /package/dist/{chunk-GKUIGEY6.js.map → chunk-ZH7F3M3L.js.map} +0 -0
  1232. /package/dist/{client-DUZXHJAT.js.map → client-7ZMKIPDA.js.map} +0 -0
  1233. /package/dist/{code-BQCH5ARZ.js.map → code-T6ANPNY4.js.map} +0 -0
  1234. /package/dist/{config-2NKM5GSZ.js.map → config-4BUL56PU.js.map} +0 -0
  1235. /package/dist/{connect-4WXSJAIK.js.map → connect-OPAG6B4I.js.map} +0 -0
  1236. /package/dist/{content-MJ3W6FKW.js.map → content-627YHJUP.js.map} +0 -0
  1237. /package/dist/{conversion-report-KLP2PJKJ.js.map → conversion-report-5KFFJ2VU.js.map} +0 -0
  1238. /package/dist/{conversion-upload-command-KB6ME34E.js.map → conversion-upload-command-JU6ZSJBV.js.map} +0 -0
  1239. /package/dist/{conversion-writes-LO24U7NW.js.map → conversion-writes-RSCIEGWD.js.map} +0 -0
  1240. /package/dist/{conversions-QBWE4C5T.js.map → conversions-ZODHC7RT.js.map} +0 -0
  1241. /package/dist/{countries-F67IA6DF.js.map → countries-HKTPBBLQ.js.map} +0 -0
  1242. /package/dist/{creatives-4N6RRVBP.js.map → creatives-KV3N6WGN.js.map} +0 -0
  1243. /package/dist/{creatives-ZDWQ7AP3.js.map → creatives-NFKVUZE6.js.map} +0 -0
  1244. /package/dist/{crop-ZAYOFRSS.js.map → crop-JXBA435D.js.map} +0 -0
  1245. /package/dist/{currency-UWW5QJGL.js.map → currency-G3MQUET6.js.map} +0 -0
  1246. /package/dist/{custom-conversions-2BG2VUOY.js.map → custom-conversions-CKNJONBF.js.map} +0 -0
  1247. /package/dist/{customers-2LZ3HG3V.js.map → customers-54DNP36T.js.map} +0 -0
  1248. /package/dist/{delete-HVCQQSG4.js.map → delete-DRIIOQVD.js.map} +0 -0
  1249. /package/dist/{delete-T22GD7FG.js.map → delete-MJRH3R3P.js.map} +0 -0
  1250. /package/dist/{delete-ER3LIA3F.js.map → delete-ZO2NTIMH.js.map} +0 -0
  1251. /package/dist/{describe-XEGTSEUI.js.map → describe-2UB4CN5S.js.map} +0 -0
  1252. /package/dist/{describe-ADQWM55K.js.map → describe-6744DROL.js.map} +0 -0
  1253. /package/dist/{dimensions-WQZBBY7I.js.map → dimensions-TZLKBZN7.js.map} +0 -0
  1254. /package/dist/{discover-HXKIQWH2.js.map → discover-73K5J5RJ.js.map} +0 -0
  1255. /package/dist/{download-7Z3BWAHR.js.map → download-FSZVKV5I.js.map} +0 -0
  1256. /package/dist/{draft-4TCT6UQD.js.map → draft-NWYVWHR4.js.map} +0 -0
  1257. /package/dist/{draft-C2DDLJH2.js.map → draft-OTEC5VNP.js.map} +0 -0
  1258. /package/dist/{draft-JIFFSL5U.js.map → draft-RVMSQTH6.js.map} +0 -0
  1259. /package/dist/{draft-7LIGULA2.js.map → draft-XPUDO6BL.js.map} +0 -0
  1260. /package/dist/{draft-FCCYMFKW.js.map → draft-YTEETFEN.js.map} +0 -0
  1261. /package/dist/{env-IUF4DTG2.js.map → env-CJCGNARF.js.map} +0 -0
  1262. /package/dist/{experiment-T3H6LFLK.js.map → experiment-CBAGPNF4.js.map} +0 -0
  1263. /package/dist/{export-V7WQJD4L.js.map → export-5TK2LH7S.js.map} +0 -0
  1264. /package/dist/{extract-WW7WLLRB.js.map → extract-OP7YHID2.js.map} +0 -0
  1265. /package/dist/{favorites-XLCT5S6E.js.map → favorites-S4ZT5JII.js.map} +0 -0
  1266. /package/dist/{feed-PG6AXUYA.js.map → feed-5U4RTYLR.js.map} +0 -0
  1267. /package/dist/{feedback-J6FSCCWF.js.map → feedback-FRILY4XF.js.map} +0 -0
  1268. /package/dist/{fetch-C4JYRA53.js.map → fetch-E6SRZGRB.js.map} +0 -0
  1269. /package/dist/{find-SLZO4FBR.js.map → find-KBXUSX2G.js.map} +0 -0
  1270. /package/dist/{fit-SSR3JDDI.js.map → fit-QBG3EXST.js.map} +0 -0
  1271. /package/dist/{following-M3C3XSHY.js.map → following-AH24UDXY.js.map} +0 -0
  1272. /package/dist/{fonts-ZU5Q4A6U.js.map → fonts-5OKN5H2C.js.map} +0 -0
  1273. /package/dist/{forecast-XGBT722Z.js.map → forecast-HDF4PALO.js.map} +0 -0
  1274. /package/dist/{funding-BWSGYQPP.js.map → funding-KGAE3LKV.js.map} +0 -0
  1275. /package/dist/{ga4-XWK5H7HN.js.map → ga4-G5NBFPPT.js.map} +0 -0
  1276. /package/dist/{generate-E6YDVJ23.js.map → generate-HXE2MOAO.js.map} +0 -0
  1277. /package/dist/{get-XWIA6BEO.js.map → get-2Q3FKYH7.js.map} +0 -0
  1278. /package/dist/{get-QLFMRSLN.js.map → get-ALNQPO3F.js.map} +0 -0
  1279. /package/dist/{get-ZLSZTGXA.js.map → get-BLWUJWTJ.js.map} +0 -0
  1280. /package/dist/{get-HXJSMHDC.js.map → get-OT3AANLU.js.map} +0 -0
  1281. /package/dist/{get-JGCMBA7Y.js.map → get-PFFST42A.js.map} +0 -0
  1282. /package/dist/{gif-KHF452GC.js.map → gif-QCH3FJHD.js.map} +0 -0
  1283. /package/dist/{google-KTDHD75U.js.map → google-5RM2V7PE.js.map} +0 -0
  1284. /package/dist/{google-5GESCEKC.js.map → google-YQ5D4PB6.js.map} +0 -0
  1285. /package/dist/{group-ZMCHUQMI.js.map → group-CHOPV2I3.js.map} +0 -0
  1286. /package/dist/{group-JYNKEOPG.js.map → group-KTFOHXGH.js.map} +0 -0
  1287. /package/dist/{gsc-I6RIFE7I.js.map → gsc-35YVWJ4E.js.map} +0 -0
  1288. /package/dist/{history-F3N6M4JM.js.map → history-Y4VNF5TU.js.map} +0 -0
  1289. /package/dist/{icon-4C2JOBPE.js.map → icon-WT2BZJ5G.js.map} +0 -0
  1290. /package/dist/{ideas-7COQX7C3.js.map → ideas-MT2NSIYS.js.map} +0 -0
  1291. /package/dist/{images-5XNXXZLM.js.map → images-JFNAKV5U.js.map} +0 -0
  1292. /package/dist/{improve-6VC6ORAG.js.map → improve-4BN7ASFK.js.map} +0 -0
  1293. /package/dist/{ingest-L6MMXL6R.js.map → ingest-XWWDPKPZ.js.map} +0 -0
  1294. /package/dist/{insights-3TEVP4B2.js.map → insights-2JRN53IF.js.map} +0 -0
  1295. /package/dist/{insights-3H736QZH.js.map → insights-Q3QN4YQ2.js.map} +0 -0
  1296. /package/dist/{inspiration-I2XMXXEW.js.map → inspiration-3MF6SN4M.js.map} +0 -0
  1297. /package/dist/{intent-IYUKLNST.js.map → intent-4X76HZ4S.js.map} +0 -0
  1298. /package/dist/{job-MTHK2PPN.js.map → job-IA7XUMHW.js.map} +0 -0
  1299. /package/dist/{job-create-AD3L6A6F.js.map → job-create-A3YQCY4U.js.map} +0 -0
  1300. /package/dist/{job-status-MCFOA5V3.js.map → job-status-56EON3DS.js.map} +0 -0
  1301. /package/dist/{keep-NNATO2B6.js.map → keep-S6MJM5RW.js.map} +0 -0
  1302. /package/dist/{keyword-gap-RSITTJ56.js.map → keyword-gap-JZQSQBCJ.js.map} +0 -0
  1303. /package/dist/{landing-ZFZ4LYCB.js.map → landing-T5X74INN.js.map} +0 -0
  1304. /package/dist/{languages-SJ6ZWALA.js.map → languages-CVH5RLA3.js.map} +0 -0
  1305. /package/dist/{languages-3FETIHSB.js.map → languages-OG5UB5HX.js.map} +0 -0
  1306. /package/dist/{launches-ZZ7ST4SY.js.map → launches-VA7F7VNW.js.map} +0 -0
  1307. /package/dist/{layerize-NSF6NEWY.js.map → layerize-AD5QZ27N.js.map} +0 -0
  1308. /package/dist/{leads-EVFLPNG6.js.map → leads-MWLO42NZ.js.map} +0 -0
  1309. /package/dist/{library-UKGHGGOG.js.map → library-JZWQF5LV.js.map} +0 -0
  1310. /package/dist/{lighthouse-B2IBNWLX.js.map → lighthouse-PZVDR4V4.js.map} +0 -0
  1311. /package/dist/{line-items-GLNMIKM5.js.map → line-items-U6W2WHK2.js.map} +0 -0
  1312. /package/dist/{list-XRON5I6M.js.map → list-FHD6XLBG.js.map} +0 -0
  1313. /package/dist/{list-3IJMAQHX.js.map → list-H77PTVSF.js.map} +0 -0
  1314. /package/dist/{list-XBYKFXS3.js.map → list-JDJY55SE.js.map} +0 -0
  1315. /package/dist/{list-NZZ75O6C.js.map → list-VP2FP2DZ.js.map} +0 -0
  1316. /package/dist/{list-BDPUPCQZ.js.map → list-Z44K4QN3.js.map} +0 -0
  1317. /package/dist/{locations-M2665NGJ.js.map → locations-3PVEWKUN.js.map} +0 -0
  1318. /package/dist/{locations-TKPILKLO.js.map → locations-KPB7YMY7.js.map} +0 -0
  1319. /package/dist/{logo-EVE3TAL5.js.map → logo-N7JOUSLF.js.map} +0 -0
  1320. /package/dist/{lookup-Z5TFHYDU.js.map → lookup-NTOAWVB7.js.map} +0 -0
  1321. /package/dist/{media-FRNTELKI.js.map → media-IZ4RDOGZ.js.map} +0 -0
  1322. /package/dist/{media-DGNFOT7M.js.map → media-QNVOMX2L.js.map} +0 -0
  1323. /package/dist/{media-sources-V452RJ6B.js.map → media-sources-ESDSKU77.js.map} +0 -0
  1324. /package/dist/{meta-NGBLUNVU.js.map → meta-P5CF3K3C.js.map} +0 -0
  1325. /package/dist/{metrics-QRRK473C.js.map → metrics-DGEUY2UE.js.map} +0 -0
  1326. /package/dist/{models-4BTFIZZZ.js.map → models-KAAOFX22.js.map} +0 -0
  1327. /package/dist/{normalize-O47OIEUO.js.map → normalize-LC6FTTX2.js.map} +0 -0
  1328. /package/dist/{output-W473ZLGR.js.map → output-G3GBWY3I.js.map} +0 -0
  1329. /package/dist/{page-7TEJ5NA5.js.map → page-T27BIISC.js.map} +0 -0
  1330. /package/dist/{pages-S2E3FHDH.js.map → pages-Z7L65T4G.js.map} +0 -0
  1331. /package/dist/{performance-IMD2N7OD.js.map → performance-PIB64TCS.js.map} +0 -0
  1332. /package/dist/{pinterest-DQC3JXQT.js.map → pinterest-EGNWZUFU.js.map} +0 -0
  1333. /package/dist/{pixels-MHH4N35F.js.map → pixels-EXZO6PO7.js.map} +0 -0
  1334. /package/dist/{pixels-M5GS7DIH.js.map → pixels-PK3NDJWX.js.map} +0 -0
  1335. /package/dist/{plan-GGLBOLIU.js.map → plan-2FBPAUNT.js.map} +0 -0
  1336. /package/dist/{preview-AHDEJO2X.js.map → preview-VON3MQGX.js.map} +0 -0
  1337. /package/dist/{profile-2TPKFD4Y.js.map → profile-2UZLQUTP.js.map} +0 -0
  1338. /package/dist/{promoted-tweets-TIHMJ5PU.js.map → promoted-tweets-GHHCSHZU.js.map} +0 -0
  1339. /package/dist/{properties-KOY2GE45.js.map → properties-TKJVTJWP.js.map} +0 -0
  1340. /package/dist/{query-EO7BX4MH.js.map → query-E6G2FS4B.js.map} +0 -0
  1341. /package/dist/{query-XLTRAAQO.js.map → query-IEJ6GDJT.js.map} +0 -0
  1342. /package/dist/{query-QZWMKAJZ.js.map → query-JDLAZAZB.js.map} +0 -0
  1343. /package/dist/{questionnaire-BL3G6UYL.js.map → questionnaire-7TDP2OIX.js.map} +0 -0
  1344. /package/dist/{read-ZMNYD3PA.js.map → read-H3WO6TUB.js.map} +0 -0
  1345. /package/dist/{reddit-RO3VKMJ7.js.map → reddit-6U3NJUBN.js.map} +0 -0
  1346. /package/dist/{relevant-pages-ZGGWFDLL.js.map → relevant-pages-E5IWT4JX.js.map} +0 -0
  1347. /package/dist/{remove-MQ3JY36P.js.map → remove-BNRKVQEW.js.map} +0 -0
  1348. /package/dist/{research-2XAQRMC3.js.map → research-XRE3LGFO.js.map} +0 -0
  1349. /package/dist/{retry-failed-3R35LZ6I.js.map → retry-failed-3DMGOEFM.js.map} +0 -0
  1350. /package/dist/{run-HRSNUGWJ.js.map → run-NK5LF3UC.js.map} +0 -0
  1351. /package/dist/{schedule-KSIMVG5U.js.map → schedule-EB3LSEUO.js.map} +0 -0
  1352. /package/dist/{scheduled-agents-RM24BRGD.js.map → scheduled-agents-UDH7LHT2.js.map} +0 -0
  1353. /package/dist/{schema-MT76C7XK.js.map → schema-TSTEGRJ7.js.map} +0 -0
  1354. /package/dist/{scrape-ICS5UA62.js.map → scrape-VGSZS6SM.js.map} +0 -0
  1355. /package/dist/{screenshot-YPUFPY5W.js.map → screenshot-NUVTRG3D.js.map} +0 -0
  1356. /package/dist/{search-HOQZ3XIK.js.map → search-265T7Y7G.js.map} +0 -0
  1357. /package/dist/{search-6BHODVNN.js.map → search-7XFVB6DH.js.map} +0 -0
  1358. /package/dist/{search-TCDI77HS.js.map → search-SOZ3HPIB.js.map} +0 -0
  1359. /package/dist/{search-W7E5S347.js.map → search-UNYQXK6E.js.map} +0 -0
  1360. /package/dist/{search-copy-LXBPFQC3.js.map → search-copy-AKY73GKO.js.map} +0 -0
  1361. /package/dist/{seeds-Q6VS27LT.js.map → seeds-FF6JTDIB.js.map} +0 -0
  1362. /package/dist/{sends-HDTG7XRL.js.map → sends-XOR6X3MW.js.map} +0 -0
  1363. /package/dist/{sequences-SISO5JGS.js.map → sequences-HJJTLSCV.js.map} +0 -0
  1364. /package/dist/{shared-MJEF5Z6R.js.map → shared-NOT4U5P3.js.map} +0 -0
  1365. /package/dist/{sitemaps-G3YCZDEM.js.map → sitemaps-GHFPKIGO.js.map} +0 -0
  1366. /package/dist/{sites-YH2ZIMCP.js.map → sites-UGDJGEI4.js.map} +0 -0
  1367. /package/dist/{skills-SQTM676S.js.map → skills-RKCLARCX.js.map} +0 -0
  1368. /package/dist/{sources-OES5YJY6.js.map → sources-ZQG5GKKC.js.map} +0 -0
  1369. /package/dist/{stats-IDL2KWGM.js.map → stats-RX67ANJJ.js.map} +0 -0
  1370. /package/dist/{sticker-2R5LODHJ.js.map → sticker-FPIFV6J3.js.map} +0 -0
  1371. /package/dist/{stock-5DWDTNFB.js.map → stock-4BZVZYM5.js.map} +0 -0
  1372. /package/dist/{studio-PPFFAUWO.js.map → studio-6J4HFHKT.js.map} +0 -0
  1373. /package/dist/{sync-JRRGJWFH.js.map → sync-3XOV4JVW.js.map} +0 -0
  1374. /package/dist/{sync-7DWOHCVF.js.map → sync-XMQP4ASW.js.map} +0 -0
  1375. /package/dist/{sync-definition-SDJM567M.js.map → sync-definition-IQ7LDTM2.js.map} +0 -0
  1376. /package/dist/{tag-manager-MBS6YCZM.js.map → tag-manager-3FKPMUYJ.js.map} +0 -0
  1377. /package/dist/{tags-5EVJ73IX.js.map → tags-EEPRL747.js.map} +0 -0
  1378. /package/dist/{targeting-constants-KIMGCL2N.js.map → targeting-constants-T5SV3RBQ.js.map} +0 -0
  1379. /package/dist/{targeting-criteria-5BN4EELG.js.map → targeting-criteria-4CMZS63Y.js.map} +0 -0
  1380. /package/dist/{testimonials-2IJE6K2L.js.map → testimonials-HX7LCXEB.js.map} +0 -0
  1381. /package/dist/{themes-6BRONMJ2.js.map → themes-N3A5RRFO.js.map} +0 -0
  1382. /package/dist/{tweets-YEMIGLP7.js.map → tweets-IR2HROMH.js.map} +0 -0
  1383. /package/dist/{unfollow-S6XQVQIA.js.map → unfollow-A7GRLMY2.js.map} +0 -0
  1384. /package/dist/{unstage-VDLTHNHY.js.map → unstage-EY5GFBKG.js.map} +0 -0
  1385. /package/dist/{upload-PTXQ7IEE.js.map → upload-GYJP3MTW.js.map} +0 -0
  1386. /package/dist/{upscale-YQ2KZRCI.js.map → upscale-IN7ONODV.js.map} +0 -0
  1387. /package/dist/{url-options-QRGN4Q34.js.map → url-options-M2PRFR7P.js.map} +0 -0
  1388. /package/dist/{use-BFD6WCDB.js.map → use-DRH3UODR.js.map} +0 -0
  1389. /package/dist/{variant-U77I2UDY.js.map → variant-4JRLIUEF.js.map} +0 -0
  1390. /package/dist/{videos-2EPKRCW6.js.map → videos-M6OJINGL.js.map} +0 -0
  1391. /package/dist/{view-BDLUTKMK.js.map → view-NKEOHFYX.js.map} +0 -0
  1392. /package/dist/{viewer-check-YF6ENNNL.js.map → viewer-check-FVVKJROL.js.map} +0 -0
  1393. /package/dist/{winners-AWRCSFAC.js.map → winners-3QYUR4HE.js.map} +0 -0
  1394. /package/dist/{winning-ads-QQ6Y5R7T.js.map → winning-ads-MCH5FYMT.js.map} +0 -0
  1395. /package/dist/{write-commands-MYA273DT.js.map → write-commands-24EXCNQQ.js.map} +0 -0
  1396. /package/dist/{write-commands-HZI5YF52.js.map → write-commands-K7UNX4CE.js.map} +0 -0
  1397. /package/dist/{write-commands-OQPBPQ77.js.map → write-commands-QQVMIG7U.js.map} +0 -0
  1398. /package/dist/{x-WA3Q46K6.js.map → x-3CFDN2QM.js.map} +0 -0
@@ -1,2241 +0,0 @@
1
- import {
2
- INSPIRATION_HINTS
3
- } from "./chunk-SZX5LUHK.js";
4
- import {
5
- perceptualHash
6
- } from "./chunk-DGCUPJZD.js";
7
- import "./chunk-TOYLG3ZY.js";
8
- import "./chunk-E4ICSNSW.js";
9
- import {
10
- captureBudgetMs,
11
- captureProxyCredentials,
12
- isProxyFailure,
13
- nextPlannedRoute,
14
- plannedRoutes,
15
- refuseNonPublicUrl,
16
- shouldEscalate
17
- } from "./chunk-YKSIHGIL.js";
18
- import {
19
- registerSchema,
20
- writeJson
21
- } from "./chunk-ZZFYDAJQ.js";
22
- import "./chunk-YQSBHWOI.js";
23
-
24
- // src/commands/landing/inspiration/scrape.ts
25
- import { defineCommand } from "citty";
26
-
27
- // src/engine/landing-library/proxyFailure.ts
28
- var PROXY_STATUS = 407;
29
- var PROXY_NET_ERRORS = [
30
- "ERR_TUNNEL_CONNECTION_FAILED",
31
- "ERR_PROXY_CONNECTION_FAILED",
32
- "ERR_PROXY_AUTH_REQUESTED",
33
- "ERR_PROXY_CERTIFICATE_INVALID",
34
- "ERR_UNEXPECTED_PROXY_AUTH",
35
- "ERR_MANDATORY_PROXY_CONFIGURATION_FAILED",
36
- "ERR_HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT"
37
- ];
38
- var PROXY_UNAVAILABLE_MESSAGE = "We couldn't reach this page just now. Please try adding it again.";
39
- function describeProxyFailure(error) {
40
- const raw = error instanceof Error ? error.message : typeof error === "string" ? error : "";
41
- if (!raw) return null;
42
- const netError = /net::(ERR_[A-Z0-9_]+)/.exec(raw)?.[1];
43
- if (!netError || !PROXY_NET_ERRORS.includes(netError)) return null;
44
- return { code: "PROXY_UNAVAILABLE", message: PROXY_UNAVAILABLE_MESSAGE };
45
- }
46
-
47
- // src/engine/landing-library/unreachable.ts
48
- var NET_ERROR_REASONS = [
49
- {
50
- prefixes: ["ERR_NAME_NOT_RESOLVED", "ERR_NAME_RESOLUTION_FAILED"],
51
- message: "We couldn't find this site \u2014 check the address is spelled right."
52
- },
53
- {
54
- prefixes: ["ERR_SSL_", "ERR_CERT_", "ERR_TLS_", "ERR_BAD_SSL_"],
55
- message: "This site's secure connection is broken, so no browser can open it \u2014 including ours. That's a fault on their side, not something you can fix here."
56
- },
57
- {
58
- prefixes: ["ERR_TOO_MANY_REDIRECTS"],
59
- message: "This site kept redirecting us and never settled on a page."
60
- },
61
- {
62
- prefixes: ["ERR_BLOCKED_BY_", "ERR_ACCESS_DENIED"],
63
- message: "This site refused our visit, so we couldn't read the page."
64
- },
65
- {
66
- prefixes: [
67
- "ERR_CONNECTION_",
68
- "ERR_ADDRESS_UNREACHABLE",
69
- "ERR_EMPTY_RESPONSE",
70
- "ERR_NETWORK_CHANGED",
71
- "ERR_INTERNET_DISCONNECTED",
72
- "ERR_SOCKET_NOT_CONNECTED",
73
- "ERR_TIMED_OUT"
74
- ],
75
- // No "try again later" here. This resolves to `SITE_UNREACHABLE`, which the
76
- // corpus files as not worth re-running, so inviting a retry would promise
77
- // something the retry surface then declines to do.
78
- message: "This site didn't respond, so we couldn't read the page."
79
- }
80
- ];
81
- var GENERIC_UNREACHABLE = "We couldn't open this site, so there was no page to study.";
82
- var TOO_SLOW = "This site took too long to load, so we stopped waiting. Try again later.";
83
- function describeUnreachableSite(error) {
84
- const raw = error instanceof Error ? error.message : typeof error === "string" ? error : "";
85
- if (!raw) return null;
86
- const netError = /net::(ERR_[A-Z0-9_]+)/.exec(raw)?.[1];
87
- if (netError) {
88
- const reason = NET_ERROR_REASONS.find(
89
- (candidate) => candidate.prefixes.some((prefix) => netError.startsWith(prefix))
90
- );
91
- return { code: "SITE_UNREACHABLE", message: reason?.message ?? GENERIC_UNREACHABLE };
92
- }
93
- if (/Timeout \d+ms exceeded/.test(raw) || raw.includes("page.goto: Timeout")) {
94
- return { code: "SITE_TOO_SLOW", message: TOO_SLOW };
95
- }
96
- return null;
97
- }
98
- function netErrorName(error) {
99
- const raw = error instanceof Error ? error.message : typeof error === "string" ? error : "";
100
- return raw ? /net::(ERR_[A-Z0-9_]+)/.exec(raw)?.[1] ?? null : null;
101
- }
102
-
103
- // src/engine/landing-library/blocked.ts
104
- var CHALLENGE_PHRASES = [
105
- "just a moment",
106
- "attention required",
107
- "verify you are human",
108
- "checking your browser",
109
- "enable javascript and cookies to continue",
110
- "unusual traffic",
111
- "access denied",
112
- "you have been blocked",
113
- "request unsuccessful",
114
- "are you a robot",
115
- "security check",
116
- "ddos protection",
117
- "captcha"
118
- ];
119
- var CHALLENGE_MARKERS = ["cf-browser-verification", "cf_chl_", "px-captcha", "_incapsula_", "distil_r_captcha"];
120
- function detectBlockedPage(page) {
121
- if (page.status === PROXY_STATUS) {
122
- return { code: "PROXY_UNAVAILABLE", message: PROXY_UNAVAILABLE_MESSAGE };
123
- }
124
- if (page.status !== null && page.status >= 400) {
125
- return {
126
- code: "HTTP_ERROR",
127
- message: `The site returned ${page.status} instead of the page \u2014 it may be blocking automated visits.`
128
- };
129
- }
130
- const haystack = `${page.title}
131
- ${page.bodyText.slice(0, 2e3)}`.toLowerCase();
132
- const phrase = CHALLENGE_PHRASES.find((candidate) => haystack.includes(candidate));
133
- if (phrase) {
134
- return { code: "BOT_CHALLENGE", message: "The site showed a security check instead of the page." };
135
- }
136
- const html = page.html?.toLowerCase() ?? "";
137
- if (CHALLENGE_MARKERS.some((marker) => html.includes(marker))) {
138
- return { code: "BOT_CHALLENGE", message: "The site showed a security check instead of the page." };
139
- }
140
- return null;
141
- }
142
- var BlockedPageError = class extends Error {
143
- code;
144
- constructor(blocked) {
145
- super(blocked.message);
146
- this.name = "BlockedPageError";
147
- this.code = blocked.code;
148
- }
149
- };
150
- var CaptureFailureError = class extends Error {
151
- failure;
152
- /**
153
- * Which rungs were tried, and what each of them said.
154
- *
155
- * Carried out of the engine because nothing downstream could otherwise tell a
156
- * page refused from three different addresses apart from one refused once —
157
- * and those two call for opposite conclusions about whether to try again.
158
- *
159
- * It is also the only way to see the rollout fail silently. The E2B image
160
- * installs the CLI at build time, so until the template is rebuilt a Runtime
161
- * runs an older binary that ignores the credentials Convex hands it. That
162
- * capture returns an envelope with **no rungs at all** — indistinguishable,
163
- * from the outside, from a page that simply was not worth escalating.
164
- *
165
- * Deliberately thin: tier names and status codes only, so nothing here can
166
- * carry a credential or the raw browser text that once reached a user.
167
- */
168
- rungs;
169
- constructor(failure, rungs = []) {
170
- super(failure.message);
171
- this.name = "CaptureFailureError";
172
- this.failure = failure;
173
- this.rungs = rungs;
174
- }
175
- };
176
- var LOCAL_ADDRESS_REFUSAL = "That address only opens from inside your own network, so there is nothing there for us to read. A reference page has to be live on the web.";
177
- var NODE_LEVEL_UNREACHABLE = ["econnrefused", "enotfound", "getaddrinfo"];
178
- var UNREACHABLE_MESSAGE = "We couldn't reach this page \u2014 the site didn't answer, or its security certificate isn't one we can read.";
179
- var TOO_SLOW_MESSAGE = "This page took too long to load, so we stopped waiting for it.";
180
- var CAPTURE_FAILED_MESSAGE = "We couldn't read this page.";
181
- function classifyCaptureFailure(error) {
182
- if (error instanceof CaptureFailureError) return error.failure;
183
- if (error instanceof BlockedPageError) {
184
- return { code: error.code, message: error.message };
185
- }
186
- const proxyFailure = describeProxyFailure(error);
187
- if (proxyFailure) return proxyFailure;
188
- const unreachable = describeUnreachableSite(error);
189
- if (unreachable) return unreachable;
190
- const message = (error instanceof Error ? error.message : String(error)).toLowerCase();
191
- if (NODE_LEVEL_UNREACHABLE.some((marker) => message.includes(marker))) {
192
- return { code: "SITE_UNREACHABLE", message: UNREACHABLE_MESSAGE };
193
- }
194
- if (message.includes("timeout") && message.includes("exceeded")) {
195
- return { code: "SITE_TOO_SLOW", message: TOO_SLOW_MESSAGE };
196
- }
197
- return { code: "CAPTURE_FAILED", message: CAPTURE_FAILED_MESSAGE };
198
- }
199
-
200
- // src/engine/landing-library/run.ts
201
- import { mkdir, writeFile as writeFile2 } from "fs/promises";
202
- import path2 from "path";
203
-
204
- // ../proxy/src/preflight.ts
205
- import http from "http";
206
- function classifyPreflightStatus(status) {
207
- if (status === 200) return { usable: true };
208
- if (status === 407) return { usable: false, problem: "auth" };
209
- return { usable: false, problem: "unreachable" };
210
- }
211
- async function preflightProxyRoute(route, options = {}) {
212
- if (route.kind !== "proxy") return { usable: true };
213
- const timeoutMs = options.timeoutMs ?? 8e3;
214
- const target = options.target ?? "example.com:443";
215
- const endpoint = new URL(route.server);
216
- const auth = Buffer.from(`${route.username}:${route.password}`).toString("base64");
217
- return await new Promise((resolve) => {
218
- const settle = (result) => {
219
- request.destroy();
220
- resolve(result);
221
- };
222
- const request = http.request({
223
- host: endpoint.hostname,
224
- port: Number(endpoint.port),
225
- method: "CONNECT",
226
- path: target,
227
- headers: { "Proxy-Authorization": `Basic ${auth}`, Host: target },
228
- timeout: timeoutMs
229
- });
230
- request.on("connect", (response, socket) => {
231
- socket.destroy();
232
- settle(classifyPreflightStatus(response.statusCode));
233
- });
234
- request.on("response", (response) => {
235
- response.destroy();
236
- settle(classifyPreflightStatus(response.statusCode));
237
- });
238
- request.on("timeout", () => settle({ usable: false, problem: "timeout" }));
239
- request.on("error", () => settle({ usable: false, problem: "unreachable" }));
240
- request.end();
241
- });
242
- }
243
-
244
- // src/engine/landing-library/browser.ts
245
- import { createRequire } from "module";
246
- var require_ = createRequire(import.meta.url);
247
- var pwSpecifier = ["play", "wright"].join("");
248
- var DESKTOP_VIEWPORT = { width: 1440, height: 900 };
249
- var MOBILE_VIEWPORT = { width: 390, height: 844 };
250
- var DEVICE_SCALE_FACTOR = 2;
251
- async function launchBrowser(route = { kind: "direct" }) {
252
- const playwright = require_(pwSpecifier);
253
- return await playwright.chromium.launch({
254
- headless: true,
255
- args: ["--hide-scrollbars", "--disable-blink-features=AutomationControlled", "--mute-audio"],
256
- ...route.kind === "proxy" ? { proxy: { server: route.server, username: route.username, password: route.password } } : {}
257
- });
258
- }
259
- async function newPage(browser, viewport, opts = { motion: false }) {
260
- const context = await browser.newContext({
261
- viewport,
262
- deviceScaleFactor: DEVICE_SCALE_FACTOR,
263
- // We read third-party marketing pages and send them nothing — no cookies we
264
- // own, no credentials, no form posts — so the usual reason to refuse a bad
265
- // certificate (an attacker between us and a session we care about) does not
266
- // apply. Refusing one instead makes a whole class of real sites permanently
267
- // uncapturable: `growthspree.com` and `arcus.so` both fail the handshake,
268
- // and `inspiration scrape` is the escalation the whole repo points agents at
269
- // when `WebFetch` fails, so it inheriting the same blind spot means there is
270
- // no route to those pages at all. Every capture therefore records that the
271
- // certificate was not validated — see `PrepareResult.security`.
272
- ignoreHTTPSErrors: true,
273
- // Still captures freeze motion so screenshots are reproducible; the motion
274
- // pass re-opens a context with animation enabled.
275
- reducedMotion: opts.motion ? "no-preference" : "reduce",
276
- userAgent: viewport.width < 500 ? "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"
277
- });
278
- const page = await context.newPage();
279
- return { context, page };
280
- }
281
-
282
- // src/engine/landing-library/usedCss.ts
283
- async function collectUsedCss(page, selector) {
284
- const collected = await page.evaluate(inPageCollectUsedCss, selector);
285
- const extra = [];
286
- for (const href of collected.unreadableHrefs) {
287
- const text = await fetchStylesheet(page, href);
288
- if (text) extra.push(`/* ${href} */
289
- ${text}`);
290
- }
291
- return { ...collected, css: [collected.css, ...extra].filter(Boolean).join("\n\n") };
292
- }
293
- async function fetchStylesheet(page, href) {
294
- try {
295
- const response = await page.request.get(href, { timeout: 1e4 });
296
- if (!response.ok()) return null;
297
- return await response.text();
298
- } catch {
299
- return null;
300
- }
301
- }
302
- var inPageCollectUsedCss = (selector) => {
303
- const root = document.querySelector(selector);
304
- const empty = {
305
- css: "",
306
- variables: "",
307
- inheritedSeed: "",
308
- unreadableHrefs: [],
309
- stats: { totalRules: 0, keptRules: 0, fontFaces: 0, keyframes: 0 }
310
- };
311
- if (!root) return empty;
312
- const INHERITED = [
313
- "color",
314
- "font-family",
315
- "font-size",
316
- "font-weight",
317
- "line-height",
318
- "letter-spacing",
319
- "text-align",
320
- "background-color",
321
- "-webkit-font-smoothing"
322
- ];
323
- const unreadableHrefs = [];
324
- const kept = [];
325
- const fontFaces = [];
326
- const keyframesByName = /* @__PURE__ */ new Map();
327
- let totalRules = 0;
328
- let keptStyleRules = 0;
329
- const matchesInSection = (selectorText) => {
330
- for (const part of selectorText.split(",")) {
331
- const base = part.replace(/::[a-zA-Z-]+(\([^)]*\))?/g, "").replace(/:(hover|focus|focus-visible|focus-within|active|visited|target|checked|disabled)\b/g, "").trim();
332
- if (!base) continue;
333
- try {
334
- if (root.matches(base) || root.querySelector(base)) return true;
335
- } catch {
336
- return true;
337
- }
338
- }
339
- return false;
340
- };
341
- const walk = (rules, sink) => {
342
- for (const rule of Array.from(rules)) {
343
- totalRules++;
344
- if (rule instanceof CSSStyleRule) {
345
- if (matchesInSection(rule.selectorText)) {
346
- sink.push(rule.cssText);
347
- keptStyleRules++;
348
- }
349
- continue;
350
- }
351
- if (rule instanceof CSSFontFaceRule) {
352
- fontFaces.push(rule.cssText);
353
- continue;
354
- }
355
- if (rule instanceof CSSKeyframesRule) {
356
- keyframesByName.set(rule.name, rule.cssText);
357
- continue;
358
- }
359
- const grouping = rule instanceof CSSMediaRule || rule instanceof CSSSupportsRule || typeof CSSLayerBlockRule !== "undefined" && rule instanceof CSSLayerBlockRule || typeof CSSContainerRule !== "undefined" && rule instanceof CSSContainerRule;
360
- if (grouping) {
361
- const inner = [];
362
- walk(rule.cssRules, inner);
363
- if (inner.length === 0) continue;
364
- const condition = rule.conditionText ?? "";
365
- const prelude = rule instanceof CSSMediaRule ? `@media ${condition}` : rule.cssText.split("{")[0]?.trim();
366
- sink.push(`${prelude} {
367
- ${inner.join("\n")}
368
- }`);
369
- }
370
- }
371
- };
372
- for (const sheet of Array.from(document.styleSheets)) {
373
- const owner = sheet.ownerNode;
374
- if (owner?.hasAttribute?.("data-baker-freeze")) continue;
375
- try {
376
- walk(sheet.cssRules, kept);
377
- } catch {
378
- if (sheet.href) unreadableHrefs.push(sheet.href);
379
- }
380
- }
381
- const keptText = kept.join("\n");
382
- const usedKeyframes = [];
383
- for (const [name, text] of keyframesByName) {
384
- if (new RegExp(`(^|[\\s:,])${name}([\\s;,}]|$)`).test(keptText)) usedKeyframes.push(text);
385
- }
386
- const rootStyle = getComputedStyle(root);
387
- const variableDeclarations = [];
388
- for (const property of Array.from(rootStyle)) {
389
- if (!property.startsWith("--")) continue;
390
- const value = rootStyle.getPropertyValue(property).trim();
391
- if (value) variableDeclarations.push(` ${property}: ${value};`);
392
- }
393
- const seed = INHERITED.map((property) => ` ${property}: ${rootStyle.getPropertyValue(property)};`).join("\n");
394
- return {
395
- css: [...fontFaces, ...usedKeyframes, ...kept].join("\n"),
396
- variables: variableDeclarations.length ? `:root {
397
- ${variableDeclarations.join("\n")}
398
- }` : "",
399
- inheritedSeed: seed,
400
- unreadableHrefs,
401
- stats: {
402
- totalRules,
403
- keptRules: keptStyleRules,
404
- fontFaces: fontFaces.length,
405
- keyframes: usedKeyframes.length
406
- }
407
- };
408
- };
409
-
410
- // src/engine/landing-library/bundle.ts
411
- async function buildSectionBundle(page, selector, pageUrl) {
412
- const used = await collectUsedCss(page, selector);
413
- const extracted = await page.evaluate(inPageExtractMarkup, {
414
- selector,
415
- pageUrl,
416
- rootAttribute: SECTION_ROOT_ATTRIBUTE
417
- });
418
- const css = [
419
- "*, *::before, *::after { box-sizing: border-box; }",
420
- "html, body { margin: 0; padding: 0; }",
421
- used.variables,
422
- `body {
423
- ${used.inheritedSeed}
424
- }`,
425
- used.css
426
- ].filter(Boolean).join("\n\n");
427
- const html = `<!doctype html>
428
- <html ${extracted.rootAttributes}>
429
- <head>
430
- <meta charset="utf-8">
431
- <meta name="viewport" content="width=device-width, initial-scale=1">
432
- <title>Section from ${escapeHtml(extracted.host)}</title>
433
- <style>
434
- ${css}
435
- </style>
436
- </head>
437
- <body ${extracted.bodyAttributes}>
438
- ${wrapInLayoutContext(extracted.html, extracted.layoutContext)}
439
- </body>
440
- </html>
441
- `;
442
- return { html, css, assetUrls: extracted.assetUrls, stats: used.stats };
443
- }
444
- function escapeHtml(value) {
445
- return value.replace(/[&<>"]/g, (c) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;" })[c] ?? c);
446
- }
447
- var SECTION_ROOT_ATTRIBUTE = "data-baker-section-root";
448
- function wrapInLayoutContext(html, context) {
449
- let wrapped = context.width > 0 && context.width < context.viewportWidth ? `<div style="width:${context.width}px;margin:0 auto;">
450
- ${html}
451
- </div>` : html;
452
- for (const ancestor of [...context.ancestors].reverse()) {
453
- const attributes = ancestor.attributes ? ` ${ancestor.attributes}` : "";
454
- const container = ancestor.containerType && ancestor.containerType !== "normal" ? `container-type:${ancestor.containerType};${ancestor.containerName && ancestor.containerName !== "none" ? `container-name:${ancestor.containerName};` : ""}` : "";
455
- wrapped = `<${ancestor.tag}${attributes} style="${NEUTRALIZED_ANCESTOR_STYLE}${container}">
456
- ${wrapped}
457
- </${ancestor.tag}>`;
458
- }
459
- return wrapped;
460
- }
461
- var NEUTRALIZED_ANCESTOR_STYLE = [
462
- "display:block !important",
463
- "position:static !important",
464
- "margin:0 !important",
465
- "padding:0 !important",
466
- "border:0 !important",
467
- "width:auto !important",
468
- "min-width:0 !important",
469
- "max-width:none !important",
470
- "height:auto !important",
471
- "min-height:0 !important",
472
- "max-height:none !important",
473
- "transform:none !important",
474
- "overflow:visible !important",
475
- ""
476
- ].join(";");
477
- var inPageExtractMarkup = ({
478
- selector,
479
- pageUrl,
480
- rootAttribute
481
- }) => {
482
- const root = document.querySelector(selector);
483
- const emptyContext = { ancestors: [], width: 0, viewportWidth: 0 };
484
- const serializeAttributes = (element) => {
485
- if (!element) return "";
486
- return Array.from(element.attributes).filter((attribute) => attribute.name !== "style").map((attribute) => `${attribute.name}="${attribute.value.replace(/"/g, "&quot;")}"`).join(" ");
487
- };
488
- const rootAttributes = serializeAttributes(document.documentElement) || 'lang="en"';
489
- const bodyAttributes = serializeAttributes(document.body);
490
- if (!root) {
491
- return {
492
- html: "",
493
- assetUrls: [],
494
- host: "",
495
- layoutContext: emptyContext,
496
- rootAttributes,
497
- bodyAttributes
498
- };
499
- }
500
- const ancestors = [];
501
- for (let ancestor = root.parentElement; ancestor && ancestor !== document.body; ) {
502
- const style = getComputedStyle(ancestor);
503
- ancestors.unshift({
504
- tag: /^[a-zA-Z][a-zA-Z0-9-]*$/.test(ancestor.tagName) ? ancestor.tagName.toLowerCase() : "div",
505
- attributes: Array.from(ancestor.attributes).filter((a) => a.name === "class" || a.name === "id" || a.name.startsWith("data-")).map((a) => `${a.name}="${a.value.replace(/"/g, "&quot;")}"`).join(" "),
506
- containerType: style.containerType,
507
- containerName: style.containerName
508
- });
509
- ancestor = ancestor.parentElement;
510
- }
511
- const layoutContext = {
512
- ancestors,
513
- width: Math.round(root.getBoundingClientRect().width),
514
- viewportWidth: window.innerWidth
515
- };
516
- const absolute = (value) => {
517
- try {
518
- return new URL(value, pageUrl).href;
519
- } catch {
520
- return value;
521
- }
522
- };
523
- const clone = root.cloneNode(true);
524
- clone.setAttribute(rootAttribute, "");
525
- const assetUrls = /* @__PURE__ */ new Set();
526
- for (const element of [clone, ...Array.from(clone.querySelectorAll("*"))]) {
527
- for (const attribute of ["src", "href", "poster"]) {
528
- const value = element.getAttribute(attribute);
529
- if (!value || value.startsWith("data:") || value.startsWith("#")) continue;
530
- const url = absolute(value);
531
- element.setAttribute(attribute, url);
532
- if (attribute !== "href" || element.tagName === "LINK") assetUrls.add(url);
533
- }
534
- const srcset = element.getAttribute("srcset");
535
- if (srcset) {
536
- element.setAttribute(
537
- "srcset",
538
- srcset.split(",").map((candidate) => {
539
- const [url, descriptor] = candidate.trim().split(/\s+/, 2);
540
- if (!url) return candidate;
541
- const resolved = absolute(url);
542
- assetUrls.add(resolved);
543
- return descriptor ? `${resolved} ${descriptor}` : resolved;
544
- }).join(", ")
545
- );
546
- }
547
- const style = element.getAttribute("style");
548
- if (style?.includes("url(")) {
549
- element.setAttribute(
550
- "style",
551
- style.replace(/url\((['"]?)([^'")]+)\1\)/g, (_match, quote, url) => {
552
- if (url.startsWith("data:")) return `url(${quote}${url}${quote})`;
553
- const resolved = absolute(url);
554
- assetUrls.add(resolved);
555
- return `url(${quote}${resolved}${quote})`;
556
- })
557
- );
558
- }
559
- }
560
- return {
561
- html: clone.outerHTML,
562
- assetUrls: Array.from(assetUrls),
563
- host: location.host,
564
- layoutContext,
565
- rootAttributes,
566
- bodyAttributes
567
- };
568
- };
569
-
570
- // src/engine/landing-library/capture.ts
571
- async function captureSection(page, section) {
572
- const locator = page.locator(section.selector).first();
573
- if (await locator.count().catch(() => 0)) {
574
- const shot = await locator.screenshot({ type: "png", timeout: 15e3 }).catch(() => null);
575
- if (shot) return shot;
576
- }
577
- const doc = await page.evaluate(() => ({
578
- width: Math.max(document.documentElement.scrollWidth, document.body?.scrollWidth ?? 0),
579
- height: Math.max(document.documentElement.scrollHeight, document.body?.scrollHeight ?? 0)
580
- }));
581
- const width = Math.min(section.rect.width, doc.width - section.rect.left);
582
- const height = Math.min(section.rect.height, doc.height - section.rect.top);
583
- if (width <= 0 || height <= 0) return null;
584
- return await page.screenshot({
585
- type: "png",
586
- clip: { x: section.rect.left, y: section.rect.top, width, height },
587
- timeout: 15e3
588
- }).catch(() => null);
589
- }
590
- async function captureSectionOnMobile(page, section) {
591
- const locator = page.locator(section.selector).first();
592
- if (!await locator.count().catch(() => 0)) return null;
593
- if (!await locator.isVisible().catch(() => false)) return null;
594
- return await locator.screenshot({ type: "png", timeout: 15e3 }).catch(() => null);
595
- }
596
-
597
- // src/engine/landing-library/escalation.ts
598
- var CAPTURE_RESERVE_MS = 18e4;
599
- function attemptSignal(outcome) {
600
- const code = outcome.failure.code;
601
- return {
602
- challenge: code === "BOT_CHALLENGE",
603
- status: outcome.status,
604
- netError: outcome.netError,
605
- timedOut: code === "SITE_TOO_SLOW"
606
- };
607
- }
608
- function ambiguousProxyTimeout(outcome) {
609
- return outcome.route.kind === "proxy" && outcome.failure.code === "SITE_TOO_SLOW" && outcome.status === null && outcome.netError === null;
610
- }
611
- function asProxyFailure(outcome, problem) {
612
- return {
613
- ...outcome,
614
- failure: { code: "PROXY_UNAVAILABLE", message: PROXY_UNAVAILABLE_MESSAGE },
615
- // Borrowing Chromium's own vocabulary so `isProxyFailure` recognises this
616
- // without having to learn a second way of being told the same thing.
617
- netError: problem === "auth" ? "ERR_PROXY_AUTH_REQUESTED" : "ERR_PROXY_CONNECTION_FAILED"
618
- };
619
- }
620
- function nextRoute(args) {
621
- const last = args.attempts[args.attempts.length - 1];
622
- if (!last) return { next: null, reason: "ladder_exhausted" };
623
- const brokenProxy = isProxyFailure(attemptSignal(last));
624
- if (!brokenProxy && !shouldEscalate(attemptSignal(last))) {
625
- return { next: null, reason: "site_fault_is_final" };
626
- }
627
- const next = nextPlannedRoute(
628
- args.routes,
629
- args.attempts.map((attempt) => ({
630
- tier: attempt.route.kind === "proxy" ? attempt.route.tier : "direct",
631
- proxyFailure: isProxyFailure(attemptSignal(attempt))
632
- }))
633
- );
634
- if (!next) return { next: null, reason: args.routes.length === 1 ? "not_configured" : "ladder_exhausted" };
635
- if (args.remainingMs < args.reserveMs + args.navTimeoutMs) {
636
- return { next: null, reason: "out_of_budget" };
637
- }
638
- return { next, reason: "escalate" };
639
- }
640
- function reportableFailure(attempts) {
641
- const siteVerdicts = attempts.filter((attempt) => !isProxyFailure(attemptSignal(attempt)));
642
- const chosen = siteVerdicts.find((attempt) => attempt.status !== null) ?? siteVerdicts[siteVerdicts.length - 1] ?? attempts[attempts.length - 1];
643
- if (!chosen) throw new Error("reportableFailure called with no attempts");
644
- return chosen.failure;
645
- }
646
-
647
- // src/engine/landing-library/fidelity.ts
648
- import sharp from "sharp";
649
- var COMPARISON_SIZE = 32;
650
- function pixelSimilarity(a, b) {
651
- const length = Math.min(a.length, b.length);
652
- if (length === 0) return 0;
653
- let total = 0;
654
- for (let i = 0; i < length; i++) {
655
- total += Math.abs((a[i] ?? 0) - (b[i] ?? 0));
656
- }
657
- return 1 - total / (length * 255);
658
- }
659
- async function scoreFidelity(live, rendered) {
660
- const [liveMeta, renderedMeta] = await Promise.all([sharp(live).metadata(), sharp(rendered).metadata()]);
661
- const liveSize = { width: liveMeta.width ?? 0, height: liveMeta.height ?? 0 };
662
- const renderedSize = { width: renderedMeta.width ?? 0, height: renderedMeta.height ?? 0 };
663
- const [livePixels, renderedPixels] = await Promise.all([toGreyGrid(live), toGreyGrid(rendered)]);
664
- const score = pixelSimilarity(livePixels, renderedPixels);
665
- const heightRatio = liveSize.height > 0 && renderedSize.height > 0 ? Math.min(liveSize.height, renderedSize.height) / Math.max(liveSize.height, renderedSize.height) : 0;
666
- return {
667
- score,
668
- liveSize,
669
- renderedSize,
670
- ...heightRatio < 0.8 ? { note: `height differs by ${Math.round((1 - heightRatio) * 100)}% \u2014 the bundle reflowed` } : {}
671
- };
672
- }
673
- async function toGreyGrid(image) {
674
- const raw = await sharp(image).greyscale().resize(COMPARISON_SIZE, COMPARISON_SIZE, { fit: "fill" }).raw().toBuffer();
675
- return new Uint8Array(raw);
676
- }
677
-
678
- // src/engine/landing-library/motion.ts
679
- var EMPTY_MOTION = {
680
- hasMotion: false,
681
- // `none` rather than "no motion": it is the `MOTION_KINDS` member for this,
682
- // so a section with no movement is findable by the same facet as everything
683
- // else instead of being a special case only prose describes.
684
- summary: "none",
685
- entrance: [],
686
- hover: [],
687
- scroll: [],
688
- loop: [],
689
- libraries: [],
690
- respectsReducedMotion: false
691
- };
692
- function isWorthFilming(motion) {
693
- return motion.entrance.length + motion.scroll.length + motion.loop.length > 0;
694
- }
695
- async function collectMotion(page, selector) {
696
- const raw = await page.evaluate(inPageCollectMotion, selector).catch(() => null);
697
- if (!raw) return EMPTY_MOTION;
698
- return { ...raw, summary: summarizeMotion(raw) };
699
- }
700
- var HOVER_TRANSFORMS = /* @__PURE__ */ new Set(["lift", "grow", "tilt", "shift", "spin", "shadow", "animate"]);
701
- var KEYFRAME_PATTERNS = [
702
- [/marquee|ticker|scroll(ing)?-?(x|left|right)/, "marquee"],
703
- [/parallax/, "parallax"],
704
- [/sticky|pin(ned)?/, "sticky-pin"],
705
- [/count(er|up)/, "counter"],
706
- [/zoom|scale|pulse|grow/, "zoom"],
707
- [/fade|opacity|appear/, "fade"],
708
- [/slide|translate|in-?(left|right|up|down)/, "slide-in"]
709
- ];
710
- function toMotionKinds(kind, channel) {
711
- if (channel === "hover") return [HOVER_TRANSFORMS.has(kind) ? "hover-lift" : "fade"];
712
- const name = kind.toLowerCase();
713
- const matched = KEYFRAME_PATTERNS.filter(([pattern]) => pattern.test(name)).map(([, motionKind]) => motionKind);
714
- if (matched.length > 0) return matched;
715
- return [channel === "loop" ? "marquee" : "scroll-reveal"];
716
- }
717
- function motionKindsOf(motion) {
718
- const kinds = /* @__PURE__ */ new Set();
719
- const collect = (effects, channel) => {
720
- for (const effect of effects) {
721
- for (const kind of toMotionKinds(effect.kind, channel)) kinds.add(kind);
722
- }
723
- };
724
- collect(motion.entrance, "entrance");
725
- collect(motion.hover, "hover");
726
- collect(motion.scroll, "scroll");
727
- collect(motion.loop, "loop");
728
- const delays = new Set(motion.entrance.map((effect) => effect.delayMs ?? 0).filter((ms) => ms > 0));
729
- if (delays.size > 1) kinds.add("stagger");
730
- return [...kinds];
731
- }
732
- function summarizeMotion(motion) {
733
- const kinds = motionKindsOf(motion);
734
- if (kinds.length === 0 && motion.libraries.length === 0) return "none";
735
- const parts = [...kinds];
736
- if (motion.libraries.length > 0) parts.push(`via ${motion.libraries.join("/")}`);
737
- return parts.join(", ") + (motion.respectsReducedMotion ? "" : " (ignores reduced-motion)");
738
- }
739
- var inPageCollectMotion = (selector) => {
740
- const root = document.querySelector(selector);
741
- const empty = {
742
- hasMotion: false,
743
- entrance: [],
744
- hover: [],
745
- scroll: [],
746
- loop: [],
747
- libraries: [],
748
- respectsReducedMotion: false
749
- };
750
- if (!root) return empty;
751
- const entrance = [];
752
- const hover = [];
753
- const scroll = [];
754
- const loop = [];
755
- const keyframesByName = /* @__PURE__ */ new Map();
756
- let respectsReducedMotion = false;
757
- const inSection = (selectorText) => {
758
- for (const part of selectorText.split(",")) {
759
- const base = part.replace(/::[a-zA-Z-]+(\([^)]*\))?/g, "").replace(/:(hover|focus|focus-visible|focus-within|active|visited|target|checked|disabled)\b/g, "").trim();
760
- if (!base) continue;
761
- try {
762
- if (root.matches(base) || root.querySelector(base)) return true;
763
- } catch {
764
- return true;
765
- }
766
- }
767
- return false;
768
- };
769
- const toMs = (value) => {
770
- const first = value.split(",")[0]?.trim() ?? "";
771
- if (first.endsWith("ms")) return Number.parseFloat(first);
772
- if (first.endsWith("s")) return Number.parseFloat(first) * 1e3;
773
- return void 0;
774
- };
775
- const classifyKeyframes = (body) => {
776
- const text = body.toLowerCase();
777
- const fades = /opacity\s*:\s*0(\.0+)?\s*[;}]/.test(text);
778
- if (/translatey\(\s*-?\d/.test(text)) {
779
- const upward = /translatey\(\s*(\d|\.)/.test(text);
780
- return fades ? upward ? "fade-up" : "fade-down" : upward ? "slide-up" : "slide-down";
781
- }
782
- if (/translatex\(\s*-?\d/.test(text)) return fades ? "fade-in-x" : "slide-in-x";
783
- if (/scale\(/.test(text)) return fades ? "fade-zoom" : "zoom";
784
- if (/rotate\(/.test(text)) return "spin";
785
- if (fades) return "fade";
786
- return "animate";
787
- };
788
- const classifyHover = (style) => {
789
- const transform = style.transform ?? "";
790
- if (/translatey\(\s*-/i.test(transform)) return "lift";
791
- if (/scale\(\s*(1\.\d|[2-9])/i.test(transform)) return "grow";
792
- if (/rotate\(/i.test(transform)) return "tilt";
793
- if (transform && transform !== "none") return "shift";
794
- if (style.boxShadow) return "shadow";
795
- if (style.opacity) return "dim";
796
- if (style.backgroundColor || style.color) return "recolor";
797
- return null;
798
- };
799
- const readStyleRule = (rule, insideScrollTimeline) => {
800
- const style = rule.style;
801
- const isHover = /:hover\b/.test(rule.selectorText);
802
- if (isHover) {
803
- const kind = classifyHover(style);
804
- if (!kind || !inSection(rule.selectorText)) return;
805
- hover.push({
806
- kind,
807
- selector: rule.selectorText.slice(0, 120),
808
- durationMs: toMs(style.transitionDuration ?? ""),
809
- easing: style.transitionTimingFunction || void 0
810
- });
811
- return;
812
- }
813
- const animationName = style.animationName;
814
- if (!animationName || animationName === "none") return;
815
- if (!inSection(rule.selectorText)) return;
816
- const effect = {
817
- kind: animationName,
818
- selector: rule.selectorText.slice(0, 120),
819
- durationMs: toMs(style.animationDuration ?? ""),
820
- delayMs: toMs(style.animationDelay ?? ""),
821
- easing: style.animationTimingFunction || void 0
822
- };
823
- const infinite = (style.animationIterationCount ?? "").includes("infinite");
824
- const scrollDriven = insideScrollTimeline || Boolean(style.getPropertyValue("animation-timeline"));
825
- if (scrollDriven) scroll.push(effect);
826
- else if (infinite) loop.push(effect);
827
- else entrance.push(effect);
828
- };
829
- const walk = (rules, insideScrollTimeline) => {
830
- for (const rule of Array.from(rules)) {
831
- if (rule instanceof CSSKeyframesRule) {
832
- keyframesByName.set(rule.name, rule.cssText);
833
- continue;
834
- }
835
- if (rule instanceof CSSStyleRule) {
836
- try {
837
- readStyleRule(rule, insideScrollTimeline);
838
- } catch {
839
- }
840
- continue;
841
- }
842
- if (rule instanceof CSSMediaRule) {
843
- if (rule.conditionText.includes("prefers-reduced-motion")) {
844
- respectsReducedMotion = true;
845
- continue;
846
- }
847
- walk(rule.cssRules, insideScrollTimeline);
848
- continue;
849
- }
850
- const grouping = rule;
851
- if (grouping.cssRules) walk(grouping.cssRules, insideScrollTimeline);
852
- }
853
- };
854
- for (const sheet of Array.from(document.styleSheets)) {
855
- if (sheet.ownerNode?.hasAttribute?.("data-baker-freeze")) continue;
856
- try {
857
- walk(sheet.cssRules, false);
858
- } catch {
859
- }
860
- }
861
- for (const effect of [...entrance, ...loop, ...scroll]) {
862
- const body = keyframesByName.get(effect.kind);
863
- if (!body) continue;
864
- const classified = classifyKeyframes(body);
865
- effect.kind = loop.includes(effect) && classified.startsWith("slide") ? "marquee" : classified;
866
- }
867
- const libraries = [];
868
- const scoped = window ?? {};
869
- if (scoped.gsap || document.querySelector("[data-gsap]")) libraries.push("gsap");
870
- if (document.querySelector("[data-framer-name], [data-projection-id]")) libraries.push("framer-motion");
871
- if (document.querySelector("[data-aos]")) libraries.push("aos");
872
- if (scoped.Lenis || document.querySelector("[data-lenis]")) libraries.push("lenis");
873
- if (document.querySelector("[data-scroll], [data-scroll-container]")) libraries.push("locomotive");
874
- return {
875
- hasMotion: entrance.length + hover.length + scroll.length + loop.length + libraries.length > 0,
876
- entrance: entrance.slice(0, 12),
877
- hover: hover.slice(0, 12),
878
- scroll: scroll.slice(0, 12),
879
- loop: loop.slice(0, 12),
880
- libraries,
881
- respectsReducedMotion
882
- };
883
- };
884
-
885
- // src/engine/landing-library/motionTake.ts
886
- import sharp2 from "sharp";
887
-
888
- // src/engine/landing-library/certificate.ts
889
- function formatDate(unixSeconds) {
890
- return new Date(unixSeconds * 1e3).toLocaleDateString("en-GB", {
891
- day: "numeric",
892
- month: "long",
893
- year: "numeric"
894
- });
895
- }
896
- function describeCapturedCertificate(details, now = Date.now()) {
897
- if (!details) {
898
- return {
899
- certificateValidated: false,
900
- certificate: null,
901
- certificateNotes: ["This page was served over an unencrypted connection, so nothing about it could be verified."]
902
- };
903
- }
904
- const notes = [];
905
- if (details.validTo !== void 0 && details.validTo * 1e3 < now) {
906
- notes.push(`The site's security certificate expired on ${formatDate(details.validTo)}.`);
907
- }
908
- if (details.validFrom !== void 0 && details.validFrom * 1e3 > now) {
909
- notes.push(`The site's security certificate is not valid until ${formatDate(details.validFrom)}.`);
910
- }
911
- return { certificateValidated: false, certificate: details, certificateNotes: notes };
912
- }
913
-
914
- // src/engine/landing-library/prepare.ts
915
- function isNavigationTeardown(error) {
916
- const message = error instanceof Error ? error.message : typeof error === "string" ? error : "";
917
- return message.includes("Execution context was destroyed") || message.includes("Cannot find context with specified id") || message.includes("frame was detached") || message.includes("has been closed");
918
- }
919
- var CONSENT_SELECTORS = [
920
- "#onetrust-accept-btn-handler",
921
- "#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll",
922
- "button#didomi-notice-agree-button",
923
- "[aria-label='Accept all']",
924
- "[data-testid='uc-accept-all-button']",
925
- ".cc-allow",
926
- ".cookie-accept"
927
- ];
928
- var CONSENT_TEXTS = ["Accept all", "Accept All", "Allow all", "I agree", "Got it", "Aceptar todo"];
929
- var CONSENT_HOSTS = [
930
- "transcend-cdn.com",
931
- "cookielaw.org",
932
- "onetrust.com",
933
- "cookiebot.com",
934
- "osano.com",
935
- "trustarc.com",
936
- "truste.com",
937
- "usercentrics.eu",
938
- "didomi.io",
939
- "privacy-center.org",
940
- "iubenda.com",
941
- "termly.io",
942
- "cookieyes.com",
943
- "sp-prod.net",
944
- "quantcast.com",
945
- "consensu.org",
946
- "ketch.com",
947
- "secureprivacy.ai",
948
- "civicuk.com"
949
- ];
950
- async function blockConsentManagers(page) {
951
- await page.route("**/*", (route) => {
952
- let host = "";
953
- try {
954
- host = new URL(route.request().url()).host;
955
- } catch {
956
- return route.continue();
957
- }
958
- const isConsentVendor = CONSENT_HOSTS.some((vendor) => host === vendor || host.endsWith(`.${vendor}`));
959
- return isConsentVendor ? route.abort() : route.continue();
960
- });
961
- }
962
- var ignore = () => void 0;
963
- async function preparePage(page, url, timeoutMs) {
964
- const documentStatus = trackMainDocumentStatus(page);
965
- try {
966
- const response = await page.goto(url, { waitUntil: "domcontentloaded", timeout: timeoutMs });
967
- await settleNavigation(page);
968
- await page.waitForLoadState("networkidle", { timeout: 8e3 }).catch(ignore);
969
- await dismissConsent(page, 4e3);
970
- await scrollThroughPage(page);
971
- await dismissConsent(page, 1e3);
972
- await acrossNavigation(
973
- page,
974
- () => page.evaluate(async () => {
975
- await document.fonts.ready;
976
- })
977
- );
978
- await freezeMotion(page);
979
- await unpinOverlays(page);
980
- const measured = await acrossNavigation(
981
- page,
982
- () => page.evaluate(() => ({
983
- finalUrl: location.href,
984
- title: document.title,
985
- documentHeight: Math.max(document.documentElement.scrollHeight, document.body?.scrollHeight ?? 0),
986
- bodyText: (document.body?.innerText ?? "").slice(0, 2e3)
987
- }))
988
- );
989
- const served = documentStatus.lastResponse() ?? response;
990
- const certificate = await served?.securityDetails().catch(() => null);
991
- return {
992
- ...measured,
993
- status: documentStatus.last() ?? response?.status() ?? null,
994
- security: describeCapturedCertificate(certificate)
995
- };
996
- } finally {
997
- documentStatus.stop();
998
- }
999
- }
1000
- function trackMainDocumentStatus(page) {
1001
- let status = null;
1002
- let last = null;
1003
- const onResponse = (response) => {
1004
- const request = response.request();
1005
- if (request.resourceType() !== "document" || request.frame() !== page.mainFrame()) return;
1006
- const code = response.status();
1007
- if (code >= 300 && code < 400) return;
1008
- status = code;
1009
- last = response;
1010
- };
1011
- page.on("response", onResponse);
1012
- return { last: () => status, lastResponse: () => last, stop: () => page.off("response", onResponse) };
1013
- }
1014
- var NAVIGATION_QUIET_MS = 1500;
1015
- var NAVIGATION_SETTLE_BUDGET_MS = 2e4;
1016
- async function settleNavigation(page, budgetMs = NAVIGATION_SETTLE_BUDGET_MS) {
1017
- let lastNavigatedAt = Date.now();
1018
- const onNavigated = (frame) => {
1019
- if (frame === page.mainFrame()) lastNavigatedAt = Date.now();
1020
- };
1021
- page.on("framenavigated", onNavigated);
1022
- try {
1023
- const deadline = Date.now() + budgetMs;
1024
- while (Date.now() < deadline && Date.now() - lastNavigatedAt < NAVIGATION_QUIET_MS) {
1025
- await page.waitForTimeout(250);
1026
- }
1027
- } finally {
1028
- page.off("framenavigated", onNavigated);
1029
- }
1030
- }
1031
- async function acrossNavigation(page, run) {
1032
- try {
1033
- return await run();
1034
- } catch (error) {
1035
- if (!isNavigationTeardown(error)) throw error;
1036
- await settleNavigation(page);
1037
- return await run();
1038
- }
1039
- }
1040
- async function settleConsent(page) {
1041
- await dismissConsent(page, 4e3);
1042
- await page.mouse.wheel(0, 400).catch(ignore);
1043
- await page.waitForTimeout(1500);
1044
- await dismissConsent(page, 2e3);
1045
- await page.evaluate(() => window.scrollTo(0, 0)).catch(ignore);
1046
- }
1047
- async function dismissConsent(page, waitForBannerMs) {
1048
- await page.locator(CONSENT_SELECTORS.join(", ")).first().waitFor({ state: "attached", timeout: waitForBannerMs }).catch(ignore);
1049
- for (const selector of CONSENT_SELECTORS) {
1050
- const found = page.locator(selector).first();
1051
- if (!await found.count().catch(() => 0)) continue;
1052
- await found.click({ timeout: 2e3, force: true }).catch(ignore);
1053
- await page.waitForTimeout(400);
1054
- return;
1055
- }
1056
- for (const text of CONSENT_TEXTS) {
1057
- const button = page.getByRole("button", { name: text, exact: false }).first();
1058
- if (!await button.count().catch(() => 0)) continue;
1059
- if (!await button.isVisible().catch(() => false)) continue;
1060
- await button.click({ timeout: 2e3, force: true }).catch(ignore);
1061
- await page.waitForTimeout(400);
1062
- return;
1063
- }
1064
- }
1065
- async function scrollThroughPage(page) {
1066
- await acrossNavigation(
1067
- page,
1068
- () => page.evaluate(async () => {
1069
- const step = 600;
1070
- const pause = () => new Promise((resolve) => setTimeout(resolve, 250));
1071
- for (let i = 0; i < 40; i++) {
1072
- window.scrollBy(0, step);
1073
- await pause();
1074
- const reachedBottom = window.scrollY + window.innerHeight >= document.documentElement.scrollHeight - 2;
1075
- if (reachedBottom) break;
1076
- }
1077
- window.scrollTo(0, 0);
1078
- await pause();
1079
- })
1080
- );
1081
- await page.waitForTimeout(500);
1082
- }
1083
- var MAX_HEADER_HEIGHT = 220;
1084
- function inPageUnpinOverlays(maxHeaderHeight) {
1085
- window.scrollTo(0, 0);
1086
- for (const element of Array.from(document.querySelectorAll("*"))) {
1087
- const position = getComputedStyle(element).position;
1088
- if (position === "sticky") {
1089
- element.style.setProperty("position", "static", "important");
1090
- continue;
1091
- }
1092
- if (position !== "fixed") continue;
1093
- const rect = element.getBoundingClientRect();
1094
- const isTopAnchoredHeader = rect.top <= 8 && rect.height > 0 && rect.height <= maxHeaderHeight;
1095
- if (isTopAnchoredHeader) {
1096
- element.style.setProperty("position", "absolute", "important");
1097
- element.style.setProperty("bottom", "auto", "important");
1098
- } else {
1099
- element.style.setProperty("display", "none", "important");
1100
- }
1101
- }
1102
- }
1103
- async function unpinOverlays(page) {
1104
- await acrossNavigation(page, () => page.evaluate(inPageUnpinOverlays, MAX_HEADER_HEIGHT));
1105
- await page.waitForTimeout(250);
1106
- }
1107
- async function freezeMotion(page) {
1108
- await acrossNavigation(
1109
- page,
1110
- () => page.evaluate(() => {
1111
- const highestTimer = window.setTimeout(() => void 0, 0);
1112
- for (let id = 1; id <= highestTimer; id++) window.clearInterval(id);
1113
- const style = document.createElement("style");
1114
- style.setAttribute("data-baker-freeze", "true");
1115
- style.textContent = `*, *::before, *::after {
1116
- animation-play-state: paused !important;
1117
- animation-delay: 0s !important;
1118
- transition: none !important;
1119
- }`;
1120
- document.head.appendChild(style);
1121
- for (const video of Array.from(document.querySelectorAll("video"))) {
1122
- video.pause();
1123
- }
1124
- })
1125
- );
1126
- await page.waitForTimeout(250);
1127
- }
1128
-
1129
- // src/engine/landing-library/geometry.ts
1130
- function adaptiveGapThreshold(bands) {
1131
- const sorted = [...bands].sort((a, b) => a.top - b.top);
1132
- const gaps = [];
1133
- for (let i = 0; i < sorted.length - 1; i++) {
1134
- const current = sorted[i];
1135
- const next = sorted[i + 1];
1136
- if (!current || !next) continue;
1137
- if (next.top > current.bottom) {
1138
- const gap = next.top - current.bottom;
1139
- if (gap < 200) gaps.push(gap);
1140
- }
1141
- }
1142
- gaps.sort((a, b) => a - b);
1143
- const p75 = gaps[Math.floor(gaps.length * 0.75)];
1144
- if (p75 === void 0) return 15;
1145
- return Math.max(10, Math.min(50, p75));
1146
- }
1147
- function bandsCollide(a, b, margin, maxGap) {
1148
- const shrunkA = { top: a.top + margin, bottom: a.bottom - margin };
1149
- const shrunkB = { top: b.top + margin, bottom: b.bottom - margin };
1150
- const overlaps = shrunkA.top <= shrunkB.bottom && shrunkA.bottom >= shrunkB.top || shrunkB.top <= shrunkA.bottom && shrunkB.bottom >= shrunkA.top;
1151
- if (overlaps) return true;
1152
- const gap = Math.min(Math.abs(shrunkA.bottom - shrunkB.top), Math.abs(shrunkB.bottom - shrunkA.top));
1153
- return gap <= maxGap;
1154
- }
1155
- function shouldPromoteToParent(group) {
1156
- const isRunt = group.childCount < 3 || group.height < 80;
1157
- return isRunt && group.parentHeight < 1600;
1158
- }
1159
-
1160
- // src/engine/landing-library/segment.ts
1161
- async function installPageRuntime(page) {
1162
- await page.addInitScript({
1163
- content: `
1164
- window.__name = window.__name || function (target) { return target; };
1165
- window.__bakerGeom = {
1166
- adaptiveGapThreshold: ${adaptiveGapThreshold.toString()},
1167
- bandsCollide: ${bandsCollide.toString()},
1168
- shouldPromoteToParent: ${shouldPromoteToParent.toString()},
1169
- };`
1170
- });
1171
- }
1172
- async function segmentPage(page, options) {
1173
- return await page.evaluate(inPageSegment, options);
1174
- }
1175
- var inPageSegment = (options) => {
1176
- const geom = window.__bakerGeom;
1177
- const scrollX = window.scrollX;
1178
- const scrollY = window.scrollY;
1179
- const docWidth = Math.max(document.documentElement.scrollWidth, document.body?.scrollWidth ?? 0);
1180
- const docHeight = Math.max(document.documentElement.scrollHeight, document.body?.scrollHeight ?? 0);
1181
- const rectOf = (element) => {
1182
- const r = element.getBoundingClientRect();
1183
- const top = Math.max(0, Math.round(r.top + scrollY));
1184
- const left = Math.max(0, Math.round(r.left + scrollX));
1185
- return {
1186
- top,
1187
- left,
1188
- bottom: Math.min(docHeight, Math.round(r.bottom + scrollY)),
1189
- right: Math.min(docWidth, Math.round(r.right + scrollX))
1190
- };
1191
- };
1192
- const syntheticRect = (element) => {
1193
- const children = Array.from(element.children);
1194
- if (children.length === 0) return null;
1195
- let top = Number.POSITIVE_INFINITY;
1196
- let left = Number.POSITIVE_INFINITY;
1197
- let bottom = Number.NEGATIVE_INFINITY;
1198
- let right = Number.NEGATIVE_INFINITY;
1199
- for (const child of children) {
1200
- const r = rectOf(child);
1201
- if (r.bottom - r.top <= 0 && r.right - r.left <= 0) continue;
1202
- top = Math.min(top, r.top);
1203
- left = Math.min(left, r.left);
1204
- bottom = Math.max(bottom, r.bottom);
1205
- right = Math.max(right, r.right);
1206
- }
1207
- if (!Number.isFinite(top) || !Number.isFinite(bottom)) return null;
1208
- return { top, left, bottom, right };
1209
- };
1210
- const boxOf = (element) => {
1211
- const style = getComputedStyle(element);
1212
- const r = style.display === "contents" ? syntheticRect(element) : rectOf(element);
1213
- if (!r) return null;
1214
- return { ...r, height: r.bottom - r.top, width: r.right - r.left };
1215
- };
1216
- const hasHiddenAncestor = (element) => {
1217
- let current = element;
1218
- while (current && current !== document.documentElement) {
1219
- const style = getComputedStyle(current);
1220
- if (style.display === "none" || style.visibility === "hidden" || Number(style.opacity) === 0) return true;
1221
- current = current.parentElement;
1222
- }
1223
- return false;
1224
- };
1225
- const isClippedByAncestor = (element, box) => {
1226
- let parent = element.parentElement;
1227
- while (parent && parent !== document.documentElement) {
1228
- const style = getComputedStyle(parent);
1229
- const clips = style.overflow === "hidden" || style.overflowX === "hidden" || style.overflowY === "hidden" || style.overflow === "clip";
1230
- if (clips) {
1231
- const p = rectOf(parent);
1232
- const intersects = box.left < p.right && box.right > p.left && box.top < p.bottom && box.bottom > p.top;
1233
- if (!intersects) return true;
1234
- }
1235
- parent = parent.parentElement;
1236
- }
1237
- return false;
1238
- };
1239
- const directText = (element) => {
1240
- let text = "";
1241
- for (const node of Array.from(element.childNodes)) {
1242
- if (node.nodeType === 3) text += node.textContent ?? "";
1243
- }
1244
- return text.trim();
1245
- };
1246
- const NON_COPY_TAGS = /* @__PURE__ */ new Set(["SCRIPT", "STYLE", "NOSCRIPT", "TEMPLATE"]);
1247
- const visibleText = (root) => {
1248
- let text = "";
1249
- const hiddenCache = /* @__PURE__ */ new Map();
1250
- const isHidden = (element) => {
1251
- const cached = hiddenCache.get(element);
1252
- if (cached !== void 0) return cached;
1253
- const style = getComputedStyle(element);
1254
- const hidden = style.display === "none" || style.visibility === "hidden";
1255
- hiddenCache.set(element, hidden);
1256
- return hidden;
1257
- };
1258
- const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT, {
1259
- acceptNode: (node) => {
1260
- let parent = node.parentElement;
1261
- while (parent) {
1262
- if (NON_COPY_TAGS.has(parent.tagName) || isHidden(parent)) return NodeFilter.FILTER_REJECT;
1263
- if (parent === root) break;
1264
- parent = parent.parentElement;
1265
- }
1266
- return NodeFilter.FILTER_ACCEPT;
1267
- }
1268
- });
1269
- while (walker.nextNode() && text.length < 400) {
1270
- text += ` ${walker.currentNode.textContent ?? ""}`;
1271
- }
1272
- return text.replace(/\s+/g, " ").trim();
1273
- };
1274
- const GRAPHIC_TAGS = /* @__PURE__ */ new Set(["img", "svg", "video", "picture", "canvas", "iframe"]);
1275
- const hasBackgroundImage = (element) => {
1276
- const bg = getComputedStyle(element).backgroundImage;
1277
- return Boolean(bg) && bg !== "none" && bg.includes("url(");
1278
- };
1279
- const isContentLeaf = (element) => {
1280
- const tag = element.tagName.toLowerCase();
1281
- if (GRAPHIC_TAGS.has(tag)) return true;
1282
- if (directText(element).length > 0) return true;
1283
- return hasBackgroundImage(element);
1284
- };
1285
- const selectorFor = (element) => {
1286
- const parts = [];
1287
- let current = element;
1288
- while (current && current !== document.documentElement) {
1289
- const tag = current.tagName.toLowerCase();
1290
- if (tag === "body") {
1291
- parts.unshift("body");
1292
- break;
1293
- }
1294
- const parent = current.parentElement;
1295
- if (!parent) {
1296
- parts.unshift(tag);
1297
- break;
1298
- }
1299
- const sameTag = Array.from(parent.children).filter((c) => c.tagName === current?.tagName);
1300
- const position = sameTag.indexOf(current) + 1;
1301
- parts.unshift(sameTag.length > 1 ? `${tag}:nth-of-type(${position})` : tag);
1302
- current = parent;
1303
- }
1304
- return parts.join(" > ");
1305
- };
1306
- const leaves = [];
1307
- const all = document.querySelectorAll("*");
1308
- const limit = Math.min(all.length, options.maxElements);
1309
- for (let i = 0; i < limit; i++) {
1310
- const element = all[i];
1311
- if (!element) continue;
1312
- const tag = element.tagName.toLowerCase();
1313
- if (tag === "script" || tag === "style" || tag === "noscript" || tag === "link" || tag === "head") continue;
1314
- if (!isContentLeaf(element)) continue;
1315
- const box = boxOf(element);
1316
- if (!box || box.height <= 0 || box.width <= 0) continue;
1317
- if (box.height > options.maxSectionHeight) continue;
1318
- if (hasHiddenAncestor(element)) continue;
1319
- if (isClippedByAncestor(element, box)) continue;
1320
- leaves.push({
1321
- element,
1322
- top: box.top,
1323
- bottom: box.bottom,
1324
- left: box.left,
1325
- right: box.right,
1326
- height: box.height
1327
- });
1328
- }
1329
- if (leaves.length === 0) return [];
1330
- const gapThreshold = geom.adaptiveGapThreshold(leaves.map((l) => ({ top: l.top, bottom: l.bottom })));
1331
- const commonAncestor = (elements) => {
1332
- let ancestor = elements[0] ?? null;
1333
- while (ancestor && !elements.every((e) => ancestor?.contains(e))) {
1334
- ancestor = ancestor.parentElement;
1335
- }
1336
- return ancestor;
1337
- };
1338
- const abandon = (members) => members.map((m) => ({ ...m, sealed: true }));
1339
- const findCoveringAncestor = (start, bounds) => {
1340
- let element = start;
1341
- while (element) {
1342
- const box = boxOf(element);
1343
- if (!box) return null;
1344
- if (box.height > options.maxSectionHeight) return null;
1345
- const covers = box.top <= bounds.top && box.bottom >= bounds.bottom && box.left <= bounds.left && box.right >= bounds.right;
1346
- if (covers) return { element, box };
1347
- if (!element.parentElement || element.parentElement === document.documentElement) return null;
1348
- element = element.parentElement;
1349
- }
1350
- return null;
1351
- };
1352
- const mergeBucket = (members) => {
1353
- const bounds = {
1354
- top: Math.min(...members.map((m) => m.top)),
1355
- bottom: Math.max(...members.map((m) => m.bottom)),
1356
- left: Math.min(...members.map((m) => m.left)),
1357
- right: Math.max(...members.map((m) => m.right))
1358
- };
1359
- const covering = findCoveringAncestor(commonAncestor(members.map((m) => m.root)), bounds);
1360
- if (!covering) return abandon(members);
1361
- return [
1362
- {
1363
- root: covering.element,
1364
- top: covering.box.top,
1365
- bottom: covering.box.bottom,
1366
- left: covering.box.left,
1367
- right: covering.box.right,
1368
- height: covering.box.height,
1369
- leaves: members.flatMap((m) => m.leaves),
1370
- sealed: false
1371
- }
1372
- ];
1373
- };
1374
- const clusterOnce = (groups2) => {
1375
- const buckets = [];
1376
- for (const group of groups2) {
1377
- if (group.sealed) {
1378
- buckets.push([group]);
1379
- continue;
1380
- }
1381
- const target = buckets.find(
1382
- (bucket) => bucket.some(
1383
- (member) => !member.sealed && geom.bandsCollide(
1384
- { top: member.top, bottom: member.bottom },
1385
- { top: group.top, bottom: group.bottom },
1386
- options.collisionMargin,
1387
- gapThreshold
1388
- )
1389
- )
1390
- );
1391
- if (target) target.push(group);
1392
- else buckets.push([group]);
1393
- }
1394
- if (buckets.length === groups2.length) return groups2;
1395
- return buckets.flatMap((bucket) => bucket.length === 1 ? [bucket[0]] : mergeBucket(bucket));
1396
- };
1397
- let groups = leaves.map((leaf) => ({
1398
- root: leaf.element,
1399
- top: leaf.top,
1400
- bottom: leaf.bottom,
1401
- left: leaf.left,
1402
- right: leaf.right,
1403
- height: leaf.height,
1404
- leaves: [leaf],
1405
- sealed: false
1406
- }));
1407
- for (let pass = 0; pass < 40; pass++) {
1408
- const next = clusterOnce(groups);
1409
- if (next.length === groups.length) break;
1410
- groups = next;
1411
- }
1412
- for (let pass = 0; pass < 10; pass++) {
1413
- let promoted = false;
1414
- groups = groups.map((group) => {
1415
- const parent = group.root.parentElement;
1416
- if (!parent || parent === document.documentElement || parent === document.body) return group;
1417
- const parentBox = boxOf(parent);
1418
- if (!parentBox) return group;
1419
- if (!geom.shouldPromoteToParent({
1420
- childCount: group.leaves.length,
1421
- height: group.height,
1422
- parentHeight: parentBox.height
1423
- })) {
1424
- return group;
1425
- }
1426
- promoted = true;
1427
- return {
1428
- ...group,
1429
- root: parent,
1430
- top: parentBox.top,
1431
- bottom: parentBox.bottom,
1432
- left: parentBox.left,
1433
- right: parentBox.right,
1434
- height: parentBox.height
1435
- };
1436
- });
1437
- if (!promoted) break;
1438
- groups = clusterOnce(groups);
1439
- }
1440
- const sameBox = (a, b) => Math.abs(a.top - b.top) <= 4 && Math.abs(a.bottom - b.bottom) <= 4 && Math.abs(a.left - b.left) <= 4 && Math.abs(a.right - b.right) <= 4;
1441
- const containsBox = (outer, inner) => outer.top - 4 <= inner.top && outer.bottom + 4 >= inner.bottom && outer.left - 4 <= inner.left && outer.right + 4 >= inner.right;
1442
- const deduped = [];
1443
- const area = (g) => (g.right - g.left) * g.height;
1444
- for (const group of groups.slice().sort((a, b) => area(b) - area(a) || b.leaves.length - a.leaves.length)) {
1445
- const duplicate = deduped.some(
1446
- (kept) => kept.root === group.root || kept.root.contains(group.root) || sameBox(kept, group) || containsBox(kept, group)
1447
- );
1448
- if (!duplicate) deduped.push(group);
1449
- }
1450
- return deduped.filter((group) => group.height > 0 && group.right - group.left > 0).sort((a, b) => a.top - b.top).map((group, index) => ({
1451
- index,
1452
- selector: selectorFor(group.root),
1453
- rect: {
1454
- top: group.top,
1455
- left: group.left,
1456
- width: group.right - group.left,
1457
- height: group.height
1458
- },
1459
- leafCount: group.leaves.length,
1460
- textPreview: visibleText(group.root).slice(0, 200)
1461
- }));
1462
- };
1463
-
1464
- // src/engine/landing-library/motionTake.ts
1465
- var FRAME_TIMES_MS = [0, 120, 260, 450, 800, 1400];
1466
- var FRAME_WIDTH = 460;
1467
- var GRID_COLUMNS = 3;
1468
- var LABEL_HEIGHT = 22;
1469
- var FRAME_MARGIN_PX = 16;
1470
- function clampToViewport(box, viewport) {
1471
- const left = Math.max(0, Math.min(box.left, viewport.width));
1472
- const top = Math.max(0, Math.min(box.top, viewport.height));
1473
- const width = Math.min(box.width - (left - box.left), viewport.width - left);
1474
- const height = Math.min(box.height - (top - box.top), viewport.height - top);
1475
- if (width < 1 || height < 1) return null;
1476
- return { left, top, width, height };
1477
- }
1478
- async function captureMotionTake(browser, url, selector, timeoutMs = 45e3) {
1479
- const { context, page } = await newPage(browser, DESKTOP_VIEWPORT, { motion: true });
1480
- try {
1481
- await blockConsentManagers(page);
1482
- await installPageRuntime(page);
1483
- await page.goto(url, { waitUntil: "domcontentloaded", timeout: timeoutMs });
1484
- await settleNavigation(page);
1485
- await page.waitForLoadState("networkidle", { timeout: 8e3 }).catch(() => void 0);
1486
- await settleConsent(page);
1487
- const target = page.locator(selector).first();
1488
- if (!await target.count().catch(() => 0)) return null;
1489
- await page.evaluate((sectionSelector) => {
1490
- const element = document.querySelector(sectionSelector);
1491
- if (!element) return;
1492
- const top = element.getBoundingClientRect().top + window.scrollY;
1493
- window.scrollTo({ top: Math.max(0, top - window.innerHeight - 200), behavior: "instant" });
1494
- }, selector);
1495
- await page.waitForTimeout(600);
1496
- const clip = await aimAtSection(page, selector);
1497
- if (!clip) return null;
1498
- await hideFloatingFurniture(page, selector);
1499
- const frames = [];
1500
- let previous = 0;
1501
- for (const time of FRAME_TIMES_MS) {
1502
- await page.waitForTimeout(Math.max(0, time - previous));
1503
- previous = time;
1504
- const shot = await page.screenshot({
1505
- type: "png",
1506
- timeout: 1e4,
1507
- clip: { x: clip.left, y: clip.top, width: clip.width, height: clip.height }
1508
- }).catch(() => null);
1509
- if (shot) frames.push(shot);
1510
- }
1511
- if (frames.length === 0) return null;
1512
- return { filmstrip: await composeFilmstrip(frames), frameCount: frames.length };
1513
- } catch {
1514
- return null;
1515
- } finally {
1516
- await context.close();
1517
- }
1518
- }
1519
- async function aimAtSection(page, selector) {
1520
- const box = await page.evaluate(
1521
- ([sectionSelector, margin]) => {
1522
- const element = document.querySelector(sectionSelector);
1523
- if (!element) return null;
1524
- const before = element.getBoundingClientRect();
1525
- window.scrollTo({ top: Math.max(0, before.top + window.scrollY - margin), behavior: "instant" });
1526
- const after = element.getBoundingClientRect();
1527
- return {
1528
- left: after.left,
1529
- top: after.top - margin,
1530
- width: after.width,
1531
- height: after.height + margin,
1532
- viewport: { width: window.innerWidth, height: window.innerHeight }
1533
- };
1534
- },
1535
- [selector, FRAME_MARGIN_PX]
1536
- );
1537
- if (!box) return null;
1538
- return clampToViewport(box, box.viewport);
1539
- }
1540
- async function hideFloatingFurniture(page, selector) {
1541
- await page.evaluate((sectionSelector) => {
1542
- const target = document.querySelector(sectionSelector);
1543
- if (!target) return;
1544
- for (const element of Array.from(document.querySelectorAll("*"))) {
1545
- const position = getComputedStyle(element).position;
1546
- if (position !== "fixed" && position !== "sticky") continue;
1547
- if (element.contains(target) || target.contains(element) || element === target) continue;
1548
- element.style.setProperty("visibility", "hidden", "important");
1549
- }
1550
- }, selector);
1551
- }
1552
- async function composeFilmstrip(frames) {
1553
- const scaled = await Promise.all(frames.map((frame) => sharp2(frame).resize({ width: FRAME_WIDTH }).png().toBuffer()));
1554
- const first = await sharp2(scaled[0]).metadata();
1555
- const frameHeight = first.height ?? 300;
1556
- const cellHeight = frameHeight + LABEL_HEIGHT;
1557
- const rows = Math.ceil(scaled.length / GRID_COLUMNS);
1558
- const width = FRAME_WIDTH * Math.min(GRID_COLUMNS, scaled.length);
1559
- const composites = scaled.flatMap((frame, index) => {
1560
- const column = index % GRID_COLUMNS;
1561
- const row = Math.floor(index / GRID_COLUMNS);
1562
- const label = Buffer.from(
1563
- `<svg width="${FRAME_WIDTH}" height="${LABEL_HEIGHT}">
1564
- <rect width="100%" height="100%" fill="#111827"/>
1565
- <text x="8" y="15" font-family="monospace" font-size="12" fill="#f9fafb">+${FRAME_TIMES_MS[index] ?? 0}ms</text>
1566
- </svg>`
1567
- );
1568
- return [
1569
- { input: label, left: column * FRAME_WIDTH, top: row * cellHeight },
1570
- { input: frame, left: column * FRAME_WIDTH, top: row * cellHeight + LABEL_HEIGHT }
1571
- ];
1572
- });
1573
- return await sharp2({
1574
- create: {
1575
- width,
1576
- height: cellHeight * rows,
1577
- channels: 3,
1578
- background: { r: 17, g: 24, b: 39 }
1579
- }
1580
- }).composite(composites).png().toBuffer();
1581
- }
1582
-
1583
- // src/engine/landing-library/renderBundle.ts
1584
- var SETTLE_ANIMATIONS_CSS = `*, *::before, *::after {
1585
- animation-play-state: running !important;
1586
- animation-delay: 0s !important;
1587
- animation-duration: 1ms !important;
1588
- animation-iteration-count: 1 !important;
1589
- animation-fill-mode: forwards !important;
1590
- transition: none !important;
1591
- }`;
1592
- async function renderBundleToPng(browser, html, viewportWidth, options = {}) {
1593
- const { wholePage = false, timeoutMs = 2e4 } = options;
1594
- const { context, page } = await newPage(browser, { width: viewportWidth, height: 900 });
1595
- try {
1596
- await page.setContent(html, { waitUntil: "load", timeout: timeoutMs });
1597
- await page.addStyleTag({ content: SETTLE_ANIMATIONS_CSS });
1598
- await page.evaluate(async () => {
1599
- await document.fonts.ready;
1600
- });
1601
- await page.waitForTimeout(300);
1602
- if (!wholePage) {
1603
- for (const selector of [`[${SECTION_ROOT_ATTRIBUTE}]`, "body > *"]) {
1604
- const target = page.locator(selector).first();
1605
- if (!await target.count()) continue;
1606
- const shot = await target.screenshot({ type: "png", timeout: timeoutMs }).catch(() => null);
1607
- if (shot) return shot;
1608
- }
1609
- }
1610
- return await page.screenshot({ type: "png", fullPage: true }).catch(() => null);
1611
- } catch {
1612
- return null;
1613
- } finally {
1614
- await context.close();
1615
- }
1616
- }
1617
-
1618
- // src/engine/landing-library/report.ts
1619
- import { writeFile } from "fs/promises";
1620
- import path from "path";
1621
- async function writeCaptureReport(manifest, outDir) {
1622
- const file = path.join(outDir, "report.html");
1623
- await writeFile(file, renderReport(manifest));
1624
- return file;
1625
- }
1626
- function escapeHtml2(value) {
1627
- return value.replace(
1628
- /[&<>"']/g,
1629
- (character) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" })[character] ?? character
1630
- );
1631
- }
1632
- function fidelityTone(fidelity) {
1633
- if (fidelity === null) return "unknown";
1634
- if (fidelity >= 0.95) return "good";
1635
- if (fidelity >= 0.85) return "fair";
1636
- return "poor";
1637
- }
1638
- function medianFidelity(sections) {
1639
- const scored = sections.map((section) => section.fidelity).filter((value) => value !== null).sort((a, b) => a - b);
1640
- return scored.length === 0 ? null : scored[Math.floor(scored.length / 2)] ?? null;
1641
- }
1642
- function formatFidelity(fidelity) {
1643
- return fidelity === null ? "\u2014" : fidelity.toFixed(2);
1644
- }
1645
- function renderSection(section) {
1646
- const tone = fidelityTone(section.fidelity);
1647
- const rendered = section.bundle ? section.bundle.replace(/section\.html$/, "section-rendered.png") : null;
1648
- const shot = (label, src, note) => {
1649
- if (!src) return `<figure class="shot empty"><figcaption>${label} \u2014 none</figcaption></figure>`;
1650
- return `<figure class="shot">
1651
- <figcaption>${label}${note ? ` <span class="note">${escapeHtml2(note)}</span>` : ""}</figcaption>
1652
- <a href="${escapeHtml2(src)}" target="_blank" rel="noopener"><img src="${escapeHtml2(src)}" alt="" loading="lazy"></a>
1653
- </figure>`;
1654
- };
1655
- return `<section class="card">
1656
- <header>
1657
- <h2><span class="index">${String(section.index).padStart(2, "0")}</span> ${section.rect.width}\xD7${section.rect.height}</h2>
1658
- <span class="badge ${tone}">fidelity ${formatFidelity(section.fidelity)}</span>
1659
- ${section.fidelityNote ? `<span class="badge warn">${escapeHtml2(section.fidelityNote)}</span>` : ""}
1660
- ${section.motion.hasMotion ? `<span class="badge motion">${escapeHtml2(section.motion.summary)}</span>` : ""}
1661
- </header>
1662
- <p class="preview">${escapeHtml2(section.textPreview.slice(0, 220)) || "<em>no text</em>"}</p>
1663
- <div class="shots">
1664
- ${shot("Live", section.desktopShot)}
1665
- ${shot("Reproduction", rendered, "rendered from the extracted bundle")}
1666
- ${shot("Mobile", section.mobileShot)}
1667
- </div>
1668
- ${section.motionFilmstrip ? `<div class="filmstrip">${shot("Motion \u2014 six frames, left to right", section.motionFilmstrip)}</div>` : ""}
1669
- <footer>
1670
- <code>${escapeHtml2(section.selector)}</code>
1671
- ${section.bundle ? `<a href="${escapeHtml2(section.bundle)}" target="_blank" rel="noopener">open the standalone bundle \u2192</a>` : ""}
1672
- </footer>
1673
- </section>`;
1674
- }
1675
- function renderReport(manifest) {
1676
- const median = medianFidelity(manifest.sections);
1677
- const moving = manifest.sections.filter((section) => section.motionFilmstrip !== null).length;
1678
- return `<!doctype html>
1679
- <html lang="en">
1680
- <head>
1681
- <meta charset="utf-8">
1682
- <meta name="viewport" content="width=device-width, initial-scale=1">
1683
- <title>Capture report \u2014 ${escapeHtml2(manifest.title || manifest.url)}</title>
1684
- <style>
1685
- :root { color-scheme: light dark; --line: #e5e7eb; --muted: #6b7280; --bg: #fafafa; --card: #fff; }
1686
- @media (prefers-color-scheme: dark) {
1687
- :root { --line: #27272a; --muted: #a1a1aa; --bg: #09090b; --card: #131316; }
1688
- }
1689
- * { box-sizing: border-box; }
1690
- body { margin: 0; padding: 24px; background: var(--bg);
1691
- font: 14px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
1692
- h1 { margin: 0 0 4px; font-size: 20px; }
1693
- a { color: inherit; }
1694
- .sub { color: var(--muted); margin: 0 0 20px; }
1695
- .stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
1696
- .stat { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--card); }
1697
- .stat b { display: block; font-size: 18px; }
1698
- .stat span { color: var(--muted); font-size: 12px; }
1699
- .card { border: 1px solid var(--line); border-radius: 12px; background: var(--card);
1700
- padding: 16px; margin-bottom: 16px; }
1701
- .card header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
1702
- .card h2 { font-size: 15px; margin: 0; font-weight: 600; }
1703
- .index { display: inline-block; min-width: 26px; color: var(--muted); }
1704
- .badge { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
1705
- .badge.good { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
1706
- .badge.fair { background: #fef3c7; color: #92400e; border-color: #fde68a; }
1707
- .badge.poor { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
1708
- .badge.warn { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
1709
- .badge.motion { background: #ede9fe; color: #5b21b6; border-color: #ddd6fe; }
1710
- .preview { color: var(--muted); margin: 0 0 12px; font-size: 13px; }
1711
- .shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; align-items: start; }
1712
- .filmstrip { margin-top: 12px; }
1713
- figure { margin: 0; }
1714
- figcaption { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
1715
- figcaption .note { opacity: .75; }
1716
- .shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px;
1717
- background: #fff; display: block; }
1718
- .shot.empty { border: 1px dashed var(--line); border-radius: 8px; padding: 20px; text-align: center; }
1719
- .card footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px;
1720
- font-size: 12px; color: var(--muted); }
1721
- code { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
1722
- </style>
1723
- </head>
1724
- <body>
1725
- <h1>${escapeHtml2(manifest.title || "Capture report")}</h1>
1726
- <p class="sub"><a href="${escapeHtml2(manifest.finalUrl)}" target="_blank" rel="noopener">${escapeHtml2(manifest.finalUrl)}</a> \xB7 captured ${escapeHtml2(manifest.capturedAt)}</p>
1727
-
1728
- <div class="stats">
1729
- <div class="stat"><b>${manifest.sections.length}</b><span>sections</span></div>
1730
- <div class="stat"><b>${formatFidelity(median)}</b><span>median fidelity</span></div>
1731
- <div class="stat"><b>${formatFidelity(manifest.page.fidelity)}</b><span>whole page</span></div>
1732
- <div class="stat"><b>${moving}</b><span>filmed moving</span></div>
1733
- <div class="stat"><b>${manifest.documentHeight}px</b><span>page height</span></div>
1734
- </div>
1735
-
1736
- <section class="card">
1737
- <header>
1738
- <h2>Whole page</h2>
1739
- <span class="badge ${fidelityTone(manifest.page.fidelity)}">fidelity ${formatFidelity(manifest.page.fidelity)}</span>
1740
- </header>
1741
- <p class="preview">The same extractor rooted at &lt;body&gt; \u2014 one standalone file that should render like the original.</p>
1742
- <div class="shots">
1743
- <figure class="shot"><figcaption>Live</figcaption><a href="full-page.png" target="_blank" rel="noopener"><img src="full-page.png" alt="" loading="lazy"></a></figure>
1744
- ${manifest.page.bundle ? `<figure class="shot"><figcaption>Reproduction <span class="note">from page.html</span></figcaption><a href="page-rendered.png" target="_blank" rel="noopener"><img src="page-rendered.png" alt="" loading="lazy"></a></figure>` : `<figure class="shot empty"><figcaption>Reproduction \u2014 none</figcaption></figure>`}
1745
- </div>
1746
- </section>
1747
-
1748
- ${manifest.sections.map(renderSection).join("\n")}
1749
- </body>
1750
- </html>
1751
- `;
1752
- }
1753
-
1754
- // src/engine/landing-library/types.ts
1755
- var DEFAULT_SEGMENT_OPTIONS = {
1756
- maxSectionHeight: 2160,
1757
- collisionMargin: 2,
1758
- maxElements: 15e3
1759
- };
1760
-
1761
- // src/engine/landing-library/run.ts
1762
- async function reproducePage(args) {
1763
- const { browser, page, outDir, pageUrl, livePageShot } = args;
1764
- const built = await buildSectionBundle(page, "body", pageUrl).catch(() => null);
1765
- if (!built) return { bundle: null, fidelity: null };
1766
- await writeFile2(path2.join(outDir, "page.html"), built.html);
1767
- const rendered = await renderBundleToPng(browser, built.html, DESKTOP_VIEWPORT.width, {
1768
- wholePage: true,
1769
- timeoutMs: 6e4
1770
- });
1771
- if (!rendered || !livePageShot) return { bundle: "page.html", fidelity: null };
1772
- await writeFile2(path2.join(outDir, "page-rendered.png"), rendered);
1773
- const { score, note } = await scoreFidelity(livePageShot, rendered);
1774
- return { bundle: "page.html", fidelity: score, ...note ? { fidelityNote: note } : {} };
1775
- }
1776
- async function captureOneSection(args) {
1777
- const { browser, page, candidate, sectionsDir, outDir, pageUrl, withCode } = args;
1778
- const dir = path2.join(sectionsDir, String(candidate.index).padStart(2, "0"));
1779
- await mkdir(dir, { recursive: true });
1780
- const desktop = await captureSection(page, candidate);
1781
- if (desktop) await writeFile2(path2.join(dir, "desktop.png"), desktop);
1782
- const visualHash = desktop ? await perceptualHash(desktop) : null;
1783
- const motion = await collectMotion(page, candidate.selector);
1784
- const built = withCode ? await buildSectionBundle(page, candidate.selector, pageUrl) : null;
1785
- let fidelity = null;
1786
- let fidelityNote;
1787
- if (built) {
1788
- await writeFile2(path2.join(dir, "section.html"), built.html);
1789
- const rendered = await renderBundleToPng(browser, built.html, DESKTOP_VIEWPORT.width);
1790
- if (rendered && desktop) {
1791
- await writeFile2(path2.join(dir, "section-rendered.png"), rendered);
1792
- const result = await scoreFidelity(desktop, rendered);
1793
- fidelity = result.score;
1794
- fidelityNote = result.note;
1795
- }
1796
- }
1797
- return {
1798
- ...candidate,
1799
- desktopShot: desktop ? path2.relative(outDir, path2.join(dir, "desktop.png")) : null,
1800
- mobileShot: null,
1801
- bundle: built ? path2.relative(outDir, path2.join(dir, "section.html")) : null,
1802
- fidelity,
1803
- ...fidelityNote ? { fidelityNote } : {},
1804
- ...built ? { cssStats: built.stats } : {},
1805
- motion,
1806
- motionFilmstrip: null,
1807
- visualHash
1808
- };
1809
- }
1810
- async function captureMobileShots(args) {
1811
- const { browser, sections, sectionsDir, outDir, pageUrl, timeoutMs } = args;
1812
- const mobile = await newPage(browser, MOBILE_VIEWPORT);
1813
- try {
1814
- await blockConsentManagers(mobile.page);
1815
- await installPageRuntime(mobile.page);
1816
- await preparePage(mobile.page, pageUrl, timeoutMs);
1817
- for (const section of sections) {
1818
- const shot = await captureSectionOnMobile(mobile.page, section);
1819
- if (!shot) continue;
1820
- const file = path2.join(sectionsDir, String(section.index).padStart(2, "0"), "mobile.png");
1821
- await writeFile2(file, shot);
1822
- section.mobileShot = path2.relative(outDir, file);
1823
- }
1824
- } finally {
1825
- await mobile.context.close();
1826
- }
1827
- }
1828
- var MOTION_CONCURRENCY = 3;
1829
- async function captureMotionTakes(args) {
1830
- const { browser, sections, sectionsDir, outDir, pageUrl, log } = args;
1831
- const moving = sections.filter((section) => isWorthFilming(section.motion));
1832
- if (moving.length === 0) return;
1833
- log(`filming ${moving.length} moving sections`);
1834
- const filmOne = async (section) => {
1835
- const take = await captureMotionTake(browser, pageUrl, section.selector).catch(() => null);
1836
- if (!take) return;
1837
- const dir = path2.join(sectionsDir, String(section.index).padStart(2, "0"));
1838
- const file = path2.join(dir, "motion-filmstrip.png");
1839
- await writeFile2(file, take.filmstrip);
1840
- section.motionFilmstrip = path2.relative(outDir, file);
1841
- log(` [${section.index}] ${section.motion.summary}`);
1842
- };
1843
- const queue = [...moving];
1844
- await Promise.all(
1845
- Array.from({ length: Math.min(MOTION_CONCURRENCY, queue.length) }, async () => {
1846
- for (let next = queue.shift(); next; next = queue.shift()) {
1847
- await filmOne(next);
1848
- }
1849
- })
1850
- );
1851
- }
1852
- async function openPageVia(route, url, timeoutMs) {
1853
- const startedAt = Date.now();
1854
- const browser = await launchBrowser(route);
1855
- let status = null;
1856
- try {
1857
- const { context, page } = await newPage(browser, DESKTOP_VIEWPORT);
1858
- await blockConsentManagers(page);
1859
- await installPageRuntime(page);
1860
- const prepared = await preparePage(page, url, timeoutMs);
1861
- status = prepared.status;
1862
- const blocked = detectBlockedPage({
1863
- status: prepared.status,
1864
- title: prepared.title,
1865
- bodyText: prepared.bodyText,
1866
- html: await page.content().catch(() => "")
1867
- });
1868
- if (blocked) throw new BlockedPageError(blocked);
1869
- return { ok: true, browser, context, page, prepared };
1870
- } catch (error) {
1871
- await browser.close().catch(() => void 0);
1872
- return {
1873
- ok: false,
1874
- outcome: {
1875
- route,
1876
- failure: classifyCaptureFailure(error),
1877
- status,
1878
- netError: netErrorName(error),
1879
- elapsedMs: Date.now() - startedAt
1880
- }
1881
- };
1882
- }
1883
- }
1884
- async function captureAlternateViews(args) {
1885
- const { browser, sections, sectionsDir, outDir, pageUrl, timeoutMs, withMobile, withMotion, log } = args;
1886
- if (withMobile) {
1887
- log("capturing mobile");
1888
- await captureMobileShots({ browser, sections, sectionsDir, outDir, pageUrl, timeoutMs });
1889
- }
1890
- if (withMotion) {
1891
- await captureMotionTakes({ browser, sections, sectionsDir, outDir, pageUrl, log });
1892
- }
1893
- }
1894
- async function reproduceWholePage(args) {
1895
- const { browser, page, outDir, pageUrl, withCode, log } = args;
1896
- const fullPage = await page.screenshot({ type: "png", fullPage: true }).catch(() => null);
1897
- if (fullPage) await writeFile2(path2.join(outDir, "full-page.png"), fullPage);
1898
- if (!withCode) return { bundle: null, fidelity: null };
1899
- const reproduction = await reproducePage({ browser, page, outDir, pageUrl, livePageShot: fullPage });
1900
- log(`page reproduction: ${reproduction.fidelity === null ? "unavailable" : reproduction.fidelity.toFixed(2)}`);
1901
- return reproduction;
1902
- }
1903
- async function captureSections(args) {
1904
- const { browser, page, sectionsDir, outDir, pageUrl, withCode, log } = args;
1905
- log("segmenting");
1906
- const candidates = await segmentPage(page, DEFAULT_SEGMENT_OPTIONS);
1907
- log(`found ${candidates.length} sections`);
1908
- const sections = [];
1909
- for (const candidate of candidates) {
1910
- const section = await captureOneSection({
1911
- browser,
1912
- page,
1913
- candidate,
1914
- sectionsDir,
1915
- outDir,
1916
- pageUrl,
1917
- withCode
1918
- });
1919
- sections.push(section);
1920
- log(
1921
- ` [${candidate.index}] ${candidate.rect.width}x${candidate.rect.height}${section.fidelity === null ? "" : ` fidelity=${section.fidelity.toFixed(2)}`} \u2014 ${candidate.textPreview.slice(0, 50)}`
1922
- );
1923
- }
1924
- return sections;
1925
- }
1926
- function rungReport(outcome) {
1927
- return {
1928
- tier: outcome.route.kind === "proxy" ? outcome.route.tier : "direct",
1929
- code: outcome.failure.code,
1930
- status: outcome.status
1931
- };
1932
- }
1933
- async function resolveAmbiguousTimeout(outcome, log) {
1934
- if (!ambiguousProxyTimeout(outcome)) return outcome;
1935
- const verdict = await preflightProxyRoute(outcome.route).catch(() => null);
1936
- if (!verdict || verdict.usable) return outcome;
1937
- log(`that timeout was our own route, not the site (${verdict.problem}) \u2014 carrying on up the ladder`);
1938
- return asProxyFailure(outcome, verdict.problem);
1939
- }
1940
- async function openViaLadder(args) {
1941
- const { url, routes, timeoutMs, deadline, log } = args;
1942
- const attempts = [];
1943
- for (let route = routes[0] ?? { kind: "direct" }; route; ) {
1944
- log(`loading ${url}${route.kind === "proxy" ? ` (retrying via ${route.tier})` : ""}`);
1945
- const attempt = await openPageVia(route, url, timeoutMs);
1946
- if (attempt.ok) {
1947
- return { opened: attempt, attempts, tier: route.kind === "proxy" ? route.tier : "direct" };
1948
- }
1949
- attempts.push(await resolveAmbiguousTimeout(attempt.outcome, log));
1950
- const decision = nextRoute({
1951
- routes,
1952
- attempts,
1953
- remainingMs: deadline ? deadline - Date.now() : Number.POSITIVE_INFINITY,
1954
- reserveMs: CAPTURE_RESERVE_MS,
1955
- navTimeoutMs: timeoutMs
1956
- });
1957
- if (!decision.next) {
1958
- log(`giving up after ${attempts.length} attempt(s) \u2014 ${decision.reason}`);
1959
- break;
1960
- }
1961
- route = decision.next;
1962
- }
1963
- throw new CaptureFailureError(reportableFailure(attempts), attempts.map(rungReport));
1964
- }
1965
- async function scrapeLanding(options) {
1966
- const timeoutMs = options.timeoutMs ?? 45e3;
1967
- const log = options.onProgress ?? (() => void 0);
1968
- const sectionsDir = path2.join(options.outDir, "sections");
1969
- const nonPublic = refuseNonPublicUrl(options.url);
1970
- if (nonPublic) {
1971
- throw new BlockedPageError({
1972
- code: "HTTP_ERROR",
1973
- message: nonPublic === "unparseable" ? "That doesn't look like a web address we can open." : LOCAL_ADDRESS_REFUSAL
1974
- });
1975
- }
1976
- const { opened, attempts, tier } = await openViaLadder({
1977
- url: options.url,
1978
- routes: plannedRoutes(options.url, options.proxyCredentials ?? {}),
1979
- timeoutMs,
1980
- deadline: options.budgetMs ? Date.now() + options.budgetMs : null,
1981
- log
1982
- });
1983
- const { browser, context, page, prepared } = opened;
1984
- const escalated = attempts.length > 0;
1985
- const withMotion = options.motion !== false && !escalated;
1986
- const renderBrowser = options.code === false ? null : await launchBrowser();
1987
- try {
1988
- await mkdir(sectionsDir, { recursive: true });
1989
- const sections = await captureSections({
1990
- browser: renderBrowser ?? browser,
1991
- page,
1992
- sectionsDir,
1993
- outDir: options.outDir,
1994
- pageUrl: prepared.finalUrl,
1995
- withCode: options.code !== false,
1996
- log
1997
- });
1998
- const reproduction = await reproduceWholePage({
1999
- browser: renderBrowser ?? browser,
2000
- page,
2001
- outDir: options.outDir,
2002
- pageUrl: prepared.finalUrl,
2003
- withCode: options.code !== false,
2004
- log
2005
- });
2006
- await context.close();
2007
- await captureAlternateViews({
2008
- browser,
2009
- sections,
2010
- sectionsDir,
2011
- outDir: options.outDir,
2012
- pageUrl: prepared.finalUrl,
2013
- timeoutMs,
2014
- withMobile: options.mobile !== false,
2015
- withMotion,
2016
- log
2017
- });
2018
- const manifest = {
2019
- url: options.url,
2020
- finalUrl: prepared.finalUrl,
2021
- title: prepared.title,
2022
- documentHeight: prepared.documentHeight,
2023
- viewport: DESKTOP_VIEWPORT,
2024
- capturedAt: (/* @__PURE__ */ new Date()).toISOString(),
2025
- sections,
2026
- page: reproduction,
2027
- security: prepared.security,
2028
- captureTier: tier
2029
- };
2030
- await writeFile2(path2.join(options.outDir, "manifest.json"), `${JSON.stringify(manifest, null, 2)}
2031
- `);
2032
- if (options.report !== false) {
2033
- const reportPath = await writeCaptureReport(manifest, options.outDir);
2034
- log(`report: ${reportPath}`);
2035
- }
2036
- return manifest;
2037
- } finally {
2038
- await browser.close();
2039
- if (renderBrowser) await renderBrowser.close();
2040
- }
2041
- }
2042
-
2043
- // src/commands/landing/inspiration/captureOut.ts
2044
- import { existsSync } from "fs";
2045
- import path3 from "path";
2046
- var SCRATCH_DIR = ".baker";
2047
- function isWithin(parent, target) {
2048
- const relative = path3.relative(parent, target);
2049
- return relative === "" || !relative.startsWith("..") && !path3.isAbsolute(relative);
2050
- }
2051
- function findRepoRoot(from) {
2052
- let dir = path3.resolve(from);
2053
- for (; ; ) {
2054
- if (existsSync(path3.join(dir, ".git"))) return dir;
2055
- const parent = path3.dirname(dir);
2056
- if (parent === dir) return null;
2057
- dir = parent;
2058
- }
2059
- }
2060
- function checkCaptureOut(out, options) {
2061
- const { cwd, repoRoot } = options;
2062
- const resolved = path3.resolve(cwd, out);
2063
- if (repoRoot === null || !isWithin(repoRoot, resolved)) return { ok: true };
2064
- const scratch = path3.join(repoRoot, SCRATCH_DIR);
2065
- if (isWithin(scratch, resolved)) return { ok: true };
2066
- const suggestion = path3.posix.join(SCRATCH_DIR, "teardowns", path3.basename(resolved) || "capture");
2067
- return {
2068
- ok: false,
2069
- error: {
2070
- code: "CAPTURE_OUT_NOT_SCRATCH",
2071
- message: `A capture has to be written to ${SCRATCH_DIR}/ inside this workspace. It is reference material for this turn, and anywhere else it becomes a permanent part of the client's files.`,
2072
- fix: {
2073
- action: "retry_with_changes",
2074
- explanation: `Re-run with --out ${suggestion}.`
2075
- },
2076
- retryable: false
2077
- }
2078
- };
2079
- }
2080
-
2081
- // src/commands/landing/inspiration/scrape.ts
2082
- var RETRYABLE_FAILURES = /* @__PURE__ */ new Set([
2083
- "SITE_TOO_SLOW",
2084
- "CAPTURE_FAILED",
2085
- // Ours, not the site's. Filing it as final is exactly how a mistyped password
2086
- // would blacklist a page that was never actually judged.
2087
- "PROXY_UNAVAILABLE"
2088
- ]);
2089
- function captureHints(args) {
2090
- const { manifest, outDir, report } = args;
2091
- const shots = manifest.sections.filter((section) => section.desktopShot !== null).length;
2092
- const anyScored = manifest.sections.some((section) => section.fidelity !== null);
2093
- const hints = [];
2094
- if (manifest.security.certificateNotes.length > 0) {
2095
- hints.push(
2096
- `Captured anyway, but this site's certificate did not check out: ${manifest.security.certificateNotes.join(" ")} Treat the page as a design reference only \u2014 do not repeat its claims, prices or customer names.`
2097
- );
2098
- }
2099
- if (shots === 0) {
2100
- hints.push(
2101
- `No section screenshots were produced, so there is nothing to look at in ${outDir}/sections/. Treat this capture as unusable rather than designing from the counts.`
2102
- );
2103
- } else {
2104
- hints.push(
2105
- report ? `Read ${outDir}/report.html \u2014 every section side by side${anyScored ? " with its fidelity score" : ""}.` : `Read the section screenshots in ${outDir}/sections/*/desktop.png before you design.`,
2106
- `${shots} of ${manifest.sections.length} sections captured to ${outDir}/sections/ \u2014 look at them, then decide which the client's page actually needs.`
2107
- );
2108
- }
2109
- hints.push(INSPIRATION_HINTS.structureNotCopy, INSPIRATION_HINTS.adapt);
2110
- return hints;
2111
- }
2112
- registerSchema({
2113
- command: "landing.inspiration.scrape",
2114
- description: "Start here when the user points at a specific page and wants it now: capture one landing page into a directory of section screenshots, standalone HTML bundles, a whole-page reproduction and motion filmstrips. Returns when the capture is done, unlike `add`. Read the screenshots.",
2115
- args: {
2116
- url: { type: "string", description: "Page to capture", required: true },
2117
- out: { type: "string", description: "Output directory under .baker/", required: true },
2118
- mobile: { type: "boolean", description: "Phone-viewport pass. `--no-mobile` to skip", required: false },
2119
- code: {
2120
- type: "boolean",
2121
- description: "Standalone HTML+CSS bundles and fidelity scores. `--no-code` to segment and screenshot only",
2122
- required: false
2123
- },
2124
- motion: {
2125
- type: "boolean",
2126
- description: "Film sections that move. `--no-motion` to skip \u2014 the single biggest lever on runtime",
2127
- required: false
2128
- },
2129
- report: { type: "boolean", description: "Write report.html. `--no-report` to skip", required: false }
2130
- }
2131
- });
2132
- var scrapeCommand = defineCommand({
2133
- meta: {
2134
- name: "scrape",
2135
- description: "Capture a landing page to a directory, now. Example: baker landing inspiration scrape https://linear.app --out .baker/inspiration/linear.app"
2136
- },
2137
- args: {
2138
- url: { type: "positional", description: "Page to capture", required: true },
2139
- out: { type: "string", description: "Output directory, under .baker/", required: true },
2140
- mobile: {
2141
- type: "boolean",
2142
- description: "Phone-viewport pass (--no-mobile to skip)",
2143
- required: false,
2144
- default: true
2145
- },
2146
- code: { type: "boolean", description: "Bundles + fidelity (--no-code to skip)", required: false, default: true },
2147
- motion: {
2148
- type: "boolean",
2149
- description: "Film moving sections (--no-motion to skip)",
2150
- required: false,
2151
- default: true
2152
- },
2153
- report: { type: "boolean", description: "Write report.html (--no-report to skip)", required: false, default: true }
2154
- },
2155
- run: async ({ args }) => {
2156
- const location2 = checkCaptureOut(args.out, {
2157
- cwd: process.cwd(),
2158
- repoRoot: findRepoRoot(process.cwd())
2159
- });
2160
- if (!location2.ok) {
2161
- writeJson({ ok: false, error: location2.error });
2162
- process.exit(1);
2163
- }
2164
- try {
2165
- const manifest = await scrapeLanding({
2166
- url: args.url,
2167
- outDir: args.out,
2168
- mobile: args.mobile,
2169
- code: args.code,
2170
- motion: args.motion,
2171
- report: args.report,
2172
- // Both come from the environment, never from a flag — see their docs in
2173
- // `src/env.ts`. Absent credentials this is the direct route only, which
2174
- // is exactly the behaviour that shipped before the ladder existed.
2175
- proxyCredentials: captureProxyCredentials(),
2176
- budgetMs: captureBudgetMs() ?? void 0,
2177
- // Progress goes to stderr so stdout stays a clean JSON envelope.
2178
- onProgress: (message) => process.stderr.write(`${message}
2179
- `)
2180
- });
2181
- const scored = manifest.sections.map((section) => section.fidelity).filter((value) => value !== null).sort((a, b) => a - b);
2182
- writeJson({
2183
- ok: true,
2184
- data: {
2185
- title: manifest.title,
2186
- sections: manifest.sections.length,
2187
- medianFidelity: scored.length > 0 ? scored[Math.floor(scored.length / 2)] : null,
2188
- pageFidelity: manifest.page.fidelity,
2189
- out: args.out,
2190
- report: args.report ? `${args.out}/report.html` : null,
2191
- // Never omitted, and that is the point: an envelope without it is a
2192
- // capture that ran a build predating the ladder, which is otherwise
2193
- // indistinguishable from one that took the direct route and is the
2194
- // exact silence the E2B template rebuild is easy to forget about.
2195
- capture_tier: manifest.captureTier,
2196
- // Compact by default, but never omitted: a capture that could not
2197
- // verify who served the page is worth less as evidence, and the
2198
- // reader has to be told without going looking for it.
2199
- certificate_verified: false,
2200
- ...manifest.security.certificateNotes.length > 0 ? { certificate_notes: manifest.security.certificateNotes } : {}
2201
- },
2202
- hints: captureHints({ manifest, outDir: args.out, report: args.report })
2203
- });
2204
- } catch (error) {
2205
- const failure = classifyCaptureFailure(error);
2206
- process.stderr.write(`[landing.inspiration.scrape] ${failure.code}: ${String(error)}
2207
- `);
2208
- writeJson({
2209
- ok: false,
2210
- error: {
2211
- code: failure.code,
2212
- message: failure.message,
2213
- // Which addresses were tried and what each was told. One rung means
2214
- // the failure was final wherever we stood; three mean the page turned
2215
- // us away from three different places, which is a fact about the page.
2216
- // **Absent** means this Runtime is running a CLI that predates the
2217
- // ladder — the one way the rollout fails without anything looking
2218
- // wrong.
2219
- ...error instanceof CaptureFailureError && error.rungs.length > 0 ? { rungs: error.rungs } : {},
2220
- // Degrade, don't abort: one unreadable reference is never a reason to
2221
- // abandon the job it was research for. `retryable` is the decision
2222
- // the agent would otherwise have to guess at.
2223
- fix: RETRYABLE_FAILURES.has(failure.code) ? {
2224
- action: "Retry once with --no-motion, which is roughly half the work.",
2225
- explanation: "This looks temporary. If the second attempt fails too, carry on with the references you can reach and tell the user this one page was unavailable.",
2226
- retryable: true
2227
- } : {
2228
- action: "Do not retry this page \u2014 work from the references you can reach.",
2229
- explanation: "This page cannot be read by an automated reader, and running it again will fail the same way. Tell the user this one page was unavailable and continue with the rest.",
2230
- retryable: false
2231
- }
2232
- }
2233
- });
2234
- process.exit(1);
2235
- }
2236
- }
2237
- });
2238
- export {
2239
- scrapeCommand
2240
- };
2241
- //# sourceMappingURL=scrape-ICS5UA62.js.map