@koda-sl/baker-cli 0.561.0 → 0.563.0-dev.25ca3cbc8

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 (896) hide show
  1. package/README.md +2 -1
  2. package/dist/account-LFNHGUZP.js +82 -0
  3. package/dist/account-T2VKQW3R.js +82 -0
  4. package/dist/account-reads-XCXI4CXM.js +219 -0
  5. package/dist/account-users-HMFGFXG7.js +64 -0
  6. package/dist/account-writes-C5MSNEUU.js +68 -0
  7. package/dist/accounts-G5YAT5HL.js +80 -0
  8. package/dist/accounts-J4J5KBTY.js +119 -0
  9. package/dist/accounts-ZKZL5KOP.js +701 -0
  10. package/dist/actions-OR5ZCMBR.js +55 -0
  11. package/dist/activecampaign-G7KHC3BD.js +938 -0
  12. package/dist/ad-group-writes-7RSQHSUX.js +172 -0
  13. package/dist/ad-groups-MMYXS6NY.js +70 -0
  14. package/dist/ad-writes-E5CXFXPG.js +176 -0
  15. package/dist/add-KJRZREFO.js +305 -0
  16. package/dist/add-LX45HJ2Y.js +107 -0
  17. package/dist/ads-UUAJAWAG.js +79 -0
  18. package/dist/ads-WVSMMTY3.js +48 -0
  19. package/dist/advertisers-P3JHMAQH.js +123 -0
  20. package/dist/analytics-HPIH6WGB.js +447 -0
  21. package/dist/analytics-OTN24OJF.js +2437 -0
  22. package/dist/animate-LG55AZNJ.js +480 -0
  23. package/dist/assign-BCJG4QMO.js +80 -0
  24. package/dist/audience-size-FH6SNC7M.js +76 -0
  25. package/dist/audiences-CO4QVQGF.js +280 -0
  26. package/dist/audit-LKPZ2XPO.js +154 -0
  27. package/dist/autocomplete-CQSGHRMI.js +114 -0
  28. package/dist/avatars-B2MUQTUJ.js +38 -0
  29. package/dist/bid-pricing-EHPVGN4U.js +103 -0
  30. package/dist/brand-IETJLLMV.js +22 -0
  31. package/dist/brief-HSNY65DO.js +543 -0
  32. package/dist/campaign-groups-C3FKTALG.js +99 -0
  33. package/dist/campaign-writes-LKIROAJV.js +168 -0
  34. package/dist/campaign-writes-Y77J3SAI.js +176 -0
  35. package/dist/campaigns-57VQMODN.js +113 -0
  36. package/dist/campaigns-72BQQLVF.js +78 -0
  37. package/dist/campaigns-ICLQ4SRI.js +111 -0
  38. package/dist/canvas-F6E4U2U3.js +46 -0
  39. package/dist/capabilities-I5AO4SWW.js +147 -0
  40. package/dist/catalog-BQ7WEJ3T.js +66 -0
  41. package/dist/catalogs-TAX75WSS.js +130 -0
  42. package/dist/changes-M7KKGYFS.js +167 -0
  43. package/dist/chatgpt-K4HD6NNL.js +47 -0
  44. package/dist/chats-QLHOLSAC.js +449 -0
  45. package/dist/check-TT44PEH5.js +107 -0
  46. package/dist/chunk-2A4QXLYA.js +91 -0
  47. package/dist/chunk-2FMORF3B.js +638 -0
  48. package/dist/chunk-2H26UU5Y.js +167 -0
  49. package/dist/chunk-2RSUVSJU.js +98 -0
  50. package/dist/chunk-2UMQMFOA.js +685 -0
  51. package/dist/chunk-3AVFUHJI.js +224 -0
  52. package/dist/chunk-3U4DQRFG.js +5471 -0
  53. package/dist/chunk-43LDWE3R.js +66 -0
  54. package/dist/chunk-4JZ3NS43.js +3510 -0
  55. package/dist/chunk-6E5S477W.js +274 -0
  56. package/dist/chunk-6JM53JLR.js +150 -0
  57. package/dist/chunk-6U6YE5Z3.js +430 -0
  58. package/dist/chunk-6UNTNNQB.js +24026 -0
  59. package/dist/chunk-6UNTNNQB.js.map +1 -0
  60. package/dist/chunk-7XFVKPE5.js +4269 -0
  61. package/dist/chunk-7XFVKPE5.js.map +1 -0
  62. package/dist/chunk-A3MZX27M.js +8954 -0
  63. package/dist/chunk-AJFWK2DW.js +334 -0
  64. package/dist/chunk-B6NGBLOG.js +454 -0
  65. package/dist/chunk-BG25VWP6.js +191 -0
  66. package/dist/chunk-BJO7OAUA.js +930 -0
  67. package/dist/chunk-BRSEAVWZ.js +163 -0
  68. package/dist/chunk-DWA42GNM.js +131 -0
  69. package/dist/chunk-FHBMXLAF.js +2209 -0
  70. package/dist/chunk-FO5CVJ47.js +547 -0
  71. package/dist/chunk-FZJB77OK.js +1919 -0
  72. package/dist/chunk-GEGFJCAF.js +207 -0
  73. package/dist/chunk-GH6IU5BO.js +170 -0
  74. package/dist/chunk-GK2DUKJA.js +103 -0
  75. package/dist/chunk-HC6464KT.js +203 -0
  76. package/dist/chunk-HWDOKNJT.js +392 -0
  77. package/dist/chunk-I7UDOKXX.js +479 -0
  78. package/dist/chunk-IM4HHVY6.js +148 -0
  79. package/dist/chunk-IP6NHITS.js +285 -0
  80. package/dist/chunk-IR27GIFG.js +64 -0
  81. package/dist/chunk-IWNLW7ZC.js +139 -0
  82. package/dist/chunk-IZMSISEN.js +843 -0
  83. package/dist/chunk-J4LQ6GK5.js +1518 -0
  84. package/dist/chunk-J7IYLOPV.js +5368 -0
  85. package/dist/chunk-KFCN6DEX.js +89 -0
  86. package/dist/chunk-KHVZZTWD.js +46 -0
  87. package/dist/chunk-L3ITBLLD.js +197 -0
  88. package/dist/chunk-L4ATZPY2.js +76 -0
  89. package/dist/chunk-L6UWXOHS.js +26 -0
  90. package/dist/chunk-LEH6IUC4.js +399 -0
  91. package/dist/chunk-LQN7REMU.js +455 -0
  92. package/dist/chunk-LTUJKEAG.js +142 -0
  93. package/dist/chunk-M7LD4E6W.js +23 -0
  94. package/dist/chunk-OBOVOYJ5.js +1320 -0
  95. package/dist/chunk-OVNVYNVH.js +7861 -0
  96. package/dist/chunk-P4BFJOZD.js +225 -0
  97. package/dist/chunk-P54N2BRN.js +57 -0
  98. package/dist/chunk-P6SWLZGH.js +19 -0
  99. package/dist/chunk-PAJ4L26P.js +51 -0
  100. package/dist/chunk-PEZC3KZE.js +238 -0
  101. package/dist/chunk-PFIOOYZX.js +1246 -0
  102. package/dist/chunk-PFJHL4JS.js +604 -0
  103. package/dist/chunk-PI2XARDF.js +392 -0
  104. package/dist/chunk-PSMVR5UR.js +297 -0
  105. package/dist/chunk-RL4QUOVQ.js +91 -0
  106. package/dist/chunk-S5NSCPWH.js +249 -0
  107. package/dist/chunk-SROKJC6V.js +61 -0
  108. package/dist/chunk-SRR7XEI3.js +169 -0
  109. package/dist/chunk-SXNFXPAF.js +275 -0
  110. package/dist/chunk-TFF2G2WU.js +344 -0
  111. package/dist/chunk-TOQZ6WO2.js +709 -0
  112. package/dist/chunk-TTU7U3RU.js +156 -0
  113. package/dist/chunk-UL5LPRAC.js +1902 -0
  114. package/dist/chunk-UQA3ASVK.js +3187 -0
  115. package/dist/chunk-UQA3ASVK.js.map +1 -0
  116. package/dist/chunk-UT3VSNEM.js +494 -0
  117. package/dist/chunk-VFBNYBAA.js +63 -0
  118. package/dist/chunk-X2TCBD6H.js +783 -0
  119. package/dist/chunk-Y43COG3A.js +910 -0
  120. package/dist/chunk-ZXPFGNSJ.js +831 -0
  121. package/dist/claim-3KE5DZ75.js +200 -0
  122. package/dist/cli.js +35 -35
  123. package/dist/companies-JBZR5W56.js +198 -0
  124. package/dist/company-DQH4U7IH.js +308 -0
  125. package/dist/complete-YS4CTYPD.js +84 -0
  126. package/dist/connect-OG2URUXQ.js +45 -0
  127. package/dist/conversation-T5G2EOJ3.js +96 -0
  128. package/dist/conversion-report-4A4HJKZG.js +127 -0
  129. package/dist/conversion-upload-command-XREECG2M.js +439 -0
  130. package/dist/conversion-writes-T4ONKJTH.js +122 -0
  131. package/dist/conversions-336BIAR3.js +140 -0
  132. package/dist/conversions-EFPLZXN2.js +78 -0
  133. package/dist/create-D5XOJ7RZ.js +62 -0
  134. package/dist/create-JCPRS7JC.js +218 -0
  135. package/dist/create-YBXSCJSZ.js +135 -0
  136. package/dist/create-ZXEP5RKK.js +239 -0
  137. package/dist/creatives-PEGQCPXH.js +229 -0
  138. package/dist/creatives-YHVHL2JG.js +58 -0
  139. package/dist/credentials-DLN37Y53.js +290 -0
  140. package/dist/critique-BKPSE5TC.js +1451 -0
  141. package/dist/critique-FTD5HY3P.js +232 -0
  142. package/dist/crm-6VLBZP6R.js +229 -0
  143. package/dist/crm-CAHF5MFW.js +323 -0
  144. package/dist/currency-VHIIVTHK.js +88 -0
  145. package/dist/customers-3A72724B.js +65 -0
  146. package/dist/delete-AI6BTKRX.js +67 -0
  147. package/dist/delete-KRAI5WDX.js +69 -0
  148. package/dist/delete-OQJLGWSM.js +57 -0
  149. package/dist/demographics-YGRSGV33.js +141 -0
  150. package/dist/discard-E7NN7H5J.js +69 -0
  151. package/dist/discover-RASVEQYE.js +172 -0
  152. package/dist/domain-ROUKV26M.js +101 -0
  153. package/dist/download-2NSCKINN.js +172 -0
  154. package/dist/draft-DVKQV67R.js +557 -0
  155. package/dist/draft-FBXWPG6V.js +332 -0
  156. package/dist/draft-H2PICPFS.js +315 -0
  157. package/dist/draft-RQY63AJF.js +374 -0
  158. package/dist/draft-SQKEZUG5.js +220 -0
  159. package/dist/engine/index.js +8 -8
  160. package/dist/experiments-EMTSSDXU.js +236 -0
  161. package/dist/extract-AZFZHNJF.js +143 -0
  162. package/dist/facets-6BAX2PIL.js +117 -0
  163. package/dist/feedback-BB6HQ2ZD.js +114 -0
  164. package/dist/feedback-BB6HQ2ZD.js.map +1 -0
  165. package/dist/feedback-GVW7I2YF.js +115 -0
  166. package/dist/feedback-record-JAYONJAV.js +269 -0
  167. package/dist/fetch-PSA6V3LZ.js +204 -0
  168. package/dist/find-UGFONLSD.js +144 -0
  169. package/dist/fit-XFIZNCRH.js +65 -0
  170. package/dist/flows-E6WI2ITC.js +250 -0
  171. package/dist/fonts-TWYK4FZH.js +39 -0
  172. package/dist/forecast-5ZGRXXSJ.js +121 -0
  173. package/dist/forecast-NVHOQXWR.js +169 -0
  174. package/dist/funnel-GKIFAU32.js +397 -0
  175. package/dist/ga4-YVKA3V4V.js +55 -0
  176. package/dist/generate-YZL4GGUY.js +263 -0
  177. package/dist/get-3TBQJ2J4.js +82 -0
  178. package/dist/get-GVQABBCB.js +62 -0
  179. package/dist/google-EG7YCO5C.js +3300 -0
  180. package/dist/google-VNEVAKGL.js +163 -0
  181. package/dist/google-ads-WXZHRP2N.js +198 -0
  182. package/dist/gsc-OJDMSP6H.js +30 -0
  183. package/dist/history-4Q6SPKOJ.js +69 -0
  184. package/dist/history-JECMIEEV.js +153 -0
  185. package/dist/history-XQUH5MKO.js +102 -0
  186. package/dist/hubspot-LJBJPAYJ.js +814 -0
  187. package/dist/icon-THWS5VPO.js +138 -0
  188. package/dist/ideas-PMRLNUWW.js +45 -0
  189. package/dist/images-F6PLQH5L.js +92 -0
  190. package/dist/ingest-F4MXHO2R.js +28 -0
  191. package/dist/ingest-JSCIUSTZ.js +131 -0
  192. package/dist/insights-HJ5MU3F4.js +132 -0
  193. package/dist/inspect-JRHB4MQ3.js +192 -0
  194. package/dist/inspiration-FPB3IB7X.js +53 -0
  195. package/dist/intent-XCNRLGQQ.js +95 -0
  196. package/dist/keyword-gap-J6RP6L25.js +130 -0
  197. package/dist/keyword-metrics-KUXAU25B.js +200 -0
  198. package/dist/keywords-for-site-DLDWLPYU.js +131 -0
  199. package/dist/landing-7EYVD2OI.js +28 -0
  200. package/dist/languages-6QDUHAFN.js +40 -0
  201. package/dist/leads-TRDLBJ4M.js +115 -0
  202. package/dist/learn-EVGUFBTE.js +207 -0
  203. package/dist/line-item-writes-KIRLIJ72.js +211 -0
  204. package/dist/line-items-4PFGOI3Q.js +107 -0
  205. package/dist/link-WIAE43ZD.js +67 -0
  206. package/dist/linkedin-E4REUEOL.js +1344 -0
  207. package/dist/linkedin-person-6JRV6UNR.js +139 -0
  208. package/dist/list-6IRAZFIF.js +67 -0
  209. package/dist/list-Q6YLGEFQ.js +306 -0
  210. package/dist/list-ZVEIKL24.js +154 -0
  211. package/dist/locations-3JFYNQGD.js +40 -0
  212. package/dist/locations-SKK6AUKD.js +69 -0
  213. package/dist/log-OB7VG6JH.js +95 -0
  214. package/dist/logo-ZSSR66WS.js +19 -0
  215. package/dist/make-RKKZFUVC.js +1367 -0
  216. package/dist/map-362DNLE4.js +436 -0
  217. package/dist/mcp-TI35F2P2.js +729 -0
  218. package/dist/media-sources-UL6B4634.js +35 -0
  219. package/dist/members-CK6GCEGZ.js +47 -0
  220. package/dist/meta-5TRG7RTQ.js +124 -0
  221. package/dist/meta-5TRG7RTQ.js.map +1 -0
  222. package/dist/metrics-SNUZTO3L.js +152 -0
  223. package/dist/models-A3AUZRAF.js +155 -0
  224. package/dist/normalize-IQZHY7RU.js +144 -0
  225. package/dist/options-7FYTYB7F.js +125 -0
  226. package/dist/organization-NNHIEOC6.js +949 -0
  227. package/dist/performance-3A5IXPQA.js +5565 -0
  228. package/dist/performance-C3DWVGHX.js +27 -0
  229. package/dist/pixels-O2XIQOU2.js +62 -0
  230. package/dist/posts-F327IP23.js +36 -0
  231. package/dist/preview-365IBP2N.js +101 -0
  232. package/dist/promoted-tweet-writes-IKCEXJUP.js +183 -0
  233. package/dist/promoted-tweets-44KS4NSY.js +119 -0
  234. package/dist/publish-QZTFEV4L.js +350 -0
  235. package/dist/query-RWTMCFGF.js +62 -0
  236. package/dist/reddit-CN33MIDK.js +29 -0
  237. package/dist/refresh-QF2YUF2H.js +97 -0
  238. package/dist/release-IGEYKGDO.js +63 -0
  239. package/dist/relevant-pages-VD7CW2NE.js +99 -0
  240. package/dist/remove-PDDAHLXZ.js +53 -0
  241. package/dist/reopen-KED3LNLC.js +66 -0
  242. package/dist/rerun-5RZSACIO.js +97 -0
  243. package/dist/research-E5BDGW4F.js +265 -0
  244. package/dist/research-YENNSNDT.js +75 -0
  245. package/dist/reset-3NUBL7ZW.js +57 -0
  246. package/dist/reset-JZJH37IK.js +57 -0
  247. package/dist/resolve-IBJKPRXW.js +124 -0
  248. package/dist/retry-2EVDWOTU.js +63 -0
  249. package/dist/retry-UVVOQ3ZP.js +65 -0
  250. package/dist/revenue-OYGVWMWP.js +91 -0
  251. package/dist/rules-KLP3ACBB.js +99 -0
  252. package/dist/rules-add-TG5NUWCG.js +465 -0
  253. package/dist/run-MLBDKYCN.js +69 -0
  254. package/dist/run-YQEJT6CE.js +72 -0
  255. package/dist/scaffold-ad-OVKDFAT3.js +1513 -0
  256. package/dist/scaffold-static-ad-HCZDYPQT.js +1012 -0
  257. package/dist/scaffold-video-R7U5SU4W.js +885 -0
  258. package/dist/schedule-45S5XYUG.js +64 -0
  259. package/dist/scheduled-agents-3SBTUT27.js +55 -0
  260. package/dist/schema-M4PXJYXA.js +135 -0
  261. package/dist/search-B7CHHWJ2.js +177 -0
  262. package/dist/select-E2QVMBDU.js +110 -0
  263. package/dist/set-prompt-EL3BTDER.js +199 -0
  264. package/dist/setup-links-EVK7LFRN.js +144 -0
  265. package/dist/shopify-Z5MTB35H.js +4009 -0
  266. package/dist/site-2ZQVEKAK.js +180 -0
  267. package/dist/sources-AXVQQUVX.js +30 -0
  268. package/dist/sources-KGIJIBDT.js +457 -0
  269. package/dist/stale-3U7GH6H6.js +90 -0
  270. package/dist/status-2QCLEF3K.js +65 -0
  271. package/dist/stock-SJHR5PN7.js +212 -0
  272. package/dist/studio-3WGQA4SK.js +49 -0
  273. package/dist/sync-SLZTE4GN.js +57 -0
  274. package/dist/sync-definition-EGX27T7D.js +70 -0
  275. package/dist/tags-4OJPFYHD.js +23 -0
  276. package/dist/tags-N3VBTOL7.js +23 -0
  277. package/dist/tags-O6LWR6HA.js +26 -0
  278. package/dist/tags-R37YVLQ7.js +227 -0
  279. package/dist/tags-UT4GCC4R.js +23 -0
  280. package/dist/targeting-criteria-HLMSZJIH.js +113 -0
  281. package/dist/targets-B2IEEQAZ.js +106 -0
  282. package/dist/testimonials-556NQTPE.js +32 -0
  283. package/dist/themes-T3N7PSQS.js +95 -0
  284. package/dist/top-companies-3RXHHEHT.js +111 -0
  285. package/dist/transcript-FVDC57YN.js +165 -0
  286. package/dist/translate-L4WNSEGK.js +603 -0
  287. package/dist/triggers-7HUHRSR5.js +144 -0
  288. package/dist/unlink-YAZPQOHS.js +70 -0
  289. package/dist/unstage-S7DX2UNA.js +88 -0
  290. package/dist/update-7EK3QV4C.js +101 -0
  291. package/dist/update-CFKO67HM.js +192 -0
  292. package/dist/update-UCLITI3F.js +155 -0
  293. package/dist/update-ZJNAZOMG.js +66 -0
  294. package/dist/upload-GLNKFQYB.js +137 -0
  295. package/dist/url-options-RLFQVU7T.js +131 -0
  296. package/dist/url-params-GC73ACBR.js +101 -0
  297. package/dist/validate-7KONBGGV.js +125 -0
  298. package/dist/videos-3RLDBPN4.js +41 -0
  299. package/dist/videos-NITQKILV.js +146 -0
  300. package/dist/videos-NITQKILV.js.map +1 -0
  301. package/dist/viewer-check-4I7DP7LF.js +83 -0
  302. package/dist/web-GJEXXHSQ.js +173 -0
  303. package/dist/winning-ads-SVAER25L.js +86 -0
  304. package/dist/write-commands-QKATOYYS.js +1524 -0
  305. package/dist/x-WKFJMY24.js +47 -0
  306. package/package.json +1 -1
  307. package/dist/account-B77TBYMN.js +0 -82
  308. package/dist/account-U6DFMD2V.js +0 -82
  309. package/dist/account-reads-X35O4MCA.js +0 -219
  310. package/dist/account-users-UKKABT5U.js +0 -64
  311. package/dist/account-writes-QSJ74QFR.js +0 -68
  312. package/dist/accounts-HGCR3WFZ.js +0 -119
  313. package/dist/accounts-QYNZXW2E.js +0 -80
  314. package/dist/accounts-XL2TMLGE.js +0 -701
  315. package/dist/actions-CVTRCHPG.js +0 -55
  316. package/dist/activecampaign-UNNM6J7M.js +0 -938
  317. package/dist/ad-group-writes-QBHOPTT5.js +0 -172
  318. package/dist/ad-groups-JZDUFT6J.js +0 -70
  319. package/dist/ad-writes-QYJO4IB3.js +0 -176
  320. package/dist/add-3GOSW7LW.js +0 -107
  321. package/dist/add-DPCBGUA5.js +0 -305
  322. package/dist/ads-LDCZ65B5.js +0 -48
  323. package/dist/ads-UMSWEI5X.js +0 -79
  324. package/dist/advertisers-3D36UJTQ.js +0 -123
  325. package/dist/analytics-YHOXWFBI.js +0 -2437
  326. package/dist/analytics-ZPPZJETP.js +0 -447
  327. package/dist/animate-WS63CZ3Y.js +0 -480
  328. package/dist/assign-5P7OJBAH.js +0 -80
  329. package/dist/audience-size-PHFJ22TX.js +0 -76
  330. package/dist/audiences-RSAUXKHR.js +0 -280
  331. package/dist/audit-3GRXRDLR.js +0 -154
  332. package/dist/autocomplete-GQLXBG5V.js +0 -114
  333. package/dist/avatars-I73KFB3F.js +0 -38
  334. package/dist/bid-pricing-6MZ7SC72.js +0 -103
  335. package/dist/brand-OISTKMY4.js +0 -22
  336. package/dist/brief-MI4RLV4N.js +0 -543
  337. package/dist/campaign-groups-QZ2NW5AW.js +0 -99
  338. package/dist/campaign-writes-BGS53O4B.js +0 -168
  339. package/dist/campaign-writes-GKNH2EHV.js +0 -176
  340. package/dist/campaigns-7RV65SXR.js +0 -78
  341. package/dist/campaigns-FGIVPEVA.js +0 -113
  342. package/dist/campaigns-YBPXM6B3.js +0 -111
  343. package/dist/canvas-YTSJAEOF.js +0 -46
  344. package/dist/capabilities-YFXCTUJJ.js +0 -147
  345. package/dist/catalog-URTZYAPU.js +0 -66
  346. package/dist/catalogs-5LWEXG5X.js +0 -130
  347. package/dist/changes-6CL42LG3.js +0 -167
  348. package/dist/chatgpt-HLIQ7OJZ.js +0 -47
  349. package/dist/chats-D5W2UWD4.js +0 -449
  350. package/dist/check-FFMWUB72.js +0 -107
  351. package/dist/chunk-2DVFPCH3.js +0 -91
  352. package/dist/chunk-2VHYY4RU.js +0 -191
  353. package/dist/chunk-3FLSRUID.js +0 -344
  354. package/dist/chunk-4S5ZAG4S.js +0 -63
  355. package/dist/chunk-533R4P5O.js +0 -224
  356. package/dist/chunk-6I7GJDBX.js +0 -910
  357. package/dist/chunk-6QINKM6T.js +0 -46
  358. package/dist/chunk-6QNXBEIN.js +0 -207
  359. package/dist/chunk-72VH4FPY.js +0 -455
  360. package/dist/chunk-AHZIGJXD.js +0 -61
  361. package/dist/chunk-BVGRKVHL.js +0 -103
  362. package/dist/chunk-CHVLFACB.js +0 -91
  363. package/dist/chunk-D2GDHVZP.js +0 -51
  364. package/dist/chunk-DFDV42NY.js +0 -709
  365. package/dist/chunk-DLM5OSHM.js +0 -843
  366. package/dist/chunk-DWPOAU4Z.js +0 -5471
  367. package/dist/chunk-EJBLF2LI.js +0 -167
  368. package/dist/chunk-EOMY5SUJ.js +0 -783
  369. package/dist/chunk-F62BW6DJ.js +0 -139
  370. package/dist/chunk-FVDC6AKZ.js +0 -150
  371. package/dist/chunk-FXZGRP3F.js +0 -454
  372. package/dist/chunk-GQ4DMO5Q.js +0 -8954
  373. package/dist/chunk-GTYVWDCC.js +0 -392
  374. package/dist/chunk-GUH2A5R5.js +0 -66
  375. package/dist/chunk-GWLP45WQ.js +0 -1518
  376. package/dist/chunk-H3HA22Z3.js +0 -1919
  377. package/dist/chunk-HBRXFQQV.js +0 -3510
  378. package/dist/chunk-JAC6JVCI.js +0 -26
  379. package/dist/chunk-JTIWQLY5.js +0 -98
  380. package/dist/chunk-KDAINT54.js +0 -131
  381. package/dist/chunk-LAP23AND.js +0 -399
  382. package/dist/chunk-LFPBZL2X.js +0 -163
  383. package/dist/chunk-LWN3ZNZU.js +0 -57
  384. package/dist/chunk-MCJ5I5LR.js +0 -3187
  385. package/dist/chunk-MCJ5I5LR.js.map +0 -1
  386. package/dist/chunk-MSGIF4EC.js +0 -275
  387. package/dist/chunk-MSMTG6OC.js +0 -4269
  388. package/dist/chunk-MSMTG6OC.js.map +0 -1
  389. package/dist/chunk-MZPS46OR.js +0 -76
  390. package/dist/chunk-N34A56X7.js +0 -249
  391. package/dist/chunk-N472TRB4.js +0 -392
  392. package/dist/chunk-OAJ6LVL2.js +0 -430
  393. package/dist/chunk-OASXBRXQ.js +0 -24026
  394. package/dist/chunk-OASXBRXQ.js.map +0 -1
  395. package/dist/chunk-ORQ3WBM6.js +0 -225
  396. package/dist/chunk-OWEON2S7.js +0 -1246
  397. package/dist/chunk-PXLBPOI3.js +0 -203
  398. package/dist/chunk-Q2JDS6WL.js +0 -238
  399. package/dist/chunk-Q5DFEVLE.js +0 -148
  400. package/dist/chunk-QKHH7YNN.js +0 -494
  401. package/dist/chunk-QLXVHWAC.js +0 -685
  402. package/dist/chunk-QPTYTM2X.js +0 -142
  403. package/dist/chunk-R2Z5L5CF.js +0 -297
  404. package/dist/chunk-RHSKKWPO.js +0 -1902
  405. package/dist/chunk-S37ZZSNM.js +0 -604
  406. package/dist/chunk-SJIEU3VG.js +0 -831
  407. package/dist/chunk-SKI7QMDT.js +0 -170
  408. package/dist/chunk-SLLY4ZTT.js +0 -169
  409. package/dist/chunk-TCR6KI6P.js +0 -1320
  410. package/dist/chunk-TK7VRZKM.js +0 -7861
  411. package/dist/chunk-TXWKDDF6.js +0 -479
  412. package/dist/chunk-UKDILXEA.js +0 -23
  413. package/dist/chunk-UKZKLXTE.js +0 -638
  414. package/dist/chunk-ULIQNJ5J.js +0 -274
  415. package/dist/chunk-UR7ENZ3F.js +0 -547
  416. package/dist/chunk-V6N6UBOT.js +0 -156
  417. package/dist/chunk-WYXYAKUP.js +0 -19
  418. package/dist/chunk-X2OVFCRC.js +0 -334
  419. package/dist/chunk-X3GWGFZP.js +0 -5368
  420. package/dist/chunk-X3YYZLBH.js +0 -285
  421. package/dist/chunk-X7XFAFU4.js +0 -2209
  422. package/dist/chunk-XZAVBONI.js +0 -64
  423. package/dist/chunk-Y43FKOED.js +0 -89
  424. package/dist/chunk-YFBHZ57K.js +0 -197
  425. package/dist/chunk-ZD5MNBLA.js +0 -930
  426. package/dist/claim-G4TW75Z2.js +0 -200
  427. package/dist/companies-TYDUEKET.js +0 -198
  428. package/dist/company-V5WKGDGU.js +0 -308
  429. package/dist/complete-QEKKP7YL.js +0 -84
  430. package/dist/connect-5Q2HQ7LT.js +0 -45
  431. package/dist/conversation-JIVOIZ5E.js +0 -96
  432. package/dist/conversion-report-76S5JOVT.js +0 -127
  433. package/dist/conversion-upload-command-WNHVNVMW.js +0 -439
  434. package/dist/conversion-writes-6HX665JT.js +0 -122
  435. package/dist/conversions-A524MH5C.js +0 -78
  436. package/dist/conversions-PSXVU4JL.js +0 -140
  437. package/dist/create-7QGB33HI.js +0 -135
  438. package/dist/create-AV7UY4N5.js +0 -239
  439. package/dist/create-CHBC745Y.js +0 -62
  440. package/dist/create-SBQU7B3S.js +0 -218
  441. package/dist/creatives-LNUSBQXQ.js +0 -229
  442. package/dist/creatives-XQILGK6P.js +0 -58
  443. package/dist/credentials-IWF37PAQ.js +0 -290
  444. package/dist/critique-CYV7JQAY.js +0 -1451
  445. package/dist/critique-ETRQP3QZ.js +0 -232
  446. package/dist/crm-IDN55BIC.js +0 -323
  447. package/dist/crm-T2ZJNZ6G.js +0 -229
  448. package/dist/currency-VQMZZXSS.js +0 -88
  449. package/dist/customers-XANEOEW6.js +0 -65
  450. package/dist/delete-2WL6K24W.js +0 -69
  451. package/dist/delete-6K7EZXNR.js +0 -67
  452. package/dist/delete-SCAVFYZL.js +0 -57
  453. package/dist/demographics-JJKL7MZC.js +0 -141
  454. package/dist/discard-FQDZ5GKN.js +0 -69
  455. package/dist/discover-4F4USNHE.js +0 -172
  456. package/dist/domain-AFWPUOI7.js +0 -101
  457. package/dist/download-MXKBJPPF.js +0 -172
  458. package/dist/draft-EKJQGNFT.js +0 -374
  459. package/dist/draft-OJHTFELQ.js +0 -332
  460. package/dist/draft-VIZTQ6W4.js +0 -557
  461. package/dist/draft-WOE7KQ7T.js +0 -315
  462. package/dist/draft-Z5IVHUHR.js +0 -220
  463. package/dist/experiments-YUBVWNB5.js +0 -236
  464. package/dist/extract-VHM2UNIE.js +0 -143
  465. package/dist/facets-5GLKSHTA.js +0 -117
  466. package/dist/feedback-36TL4GPS.js +0 -115
  467. package/dist/feedback-VCYIVDO2.js +0 -136
  468. package/dist/feedback-VCYIVDO2.js.map +0 -1
  469. package/dist/feedback-record-QGAP4HA4.js +0 -269
  470. package/dist/fetch-X4RIDS7N.js +0 -204
  471. package/dist/find-57WYB4V3.js +0 -144
  472. package/dist/fit-V4CRDVQV.js +0 -65
  473. package/dist/flows-YPBWZR4P.js +0 -250
  474. package/dist/fonts-RV5KUGFE.js +0 -39
  475. package/dist/forecast-E2HJSD6E.js +0 -169
  476. package/dist/forecast-LMYMZHZE.js +0 -121
  477. package/dist/funnel-MF2KFXEX.js +0 -397
  478. package/dist/ga4-FCMTGV4S.js +0 -55
  479. package/dist/generate-VGGXTZBP.js +0 -263
  480. package/dist/get-7NI64G6K.js +0 -82
  481. package/dist/get-MVZWQ4BE.js +0 -62
  482. package/dist/google-YNVTLX5E.js +0 -163
  483. package/dist/google-ZRZGM2XI.js +0 -3300
  484. package/dist/google-ads-UER2CSQN.js +0 -198
  485. package/dist/gsc-A3KB36WH.js +0 -30
  486. package/dist/history-3GRRZSWW.js +0 -102
  487. package/dist/history-LBIA45H3.js +0 -153
  488. package/dist/history-LXRFZNW7.js +0 -69
  489. package/dist/hubspot-NEENQKIP.js +0 -814
  490. package/dist/icon-7WND6UPY.js +0 -138
  491. package/dist/ideas-LDQMFMJM.js +0 -45
  492. package/dist/images-2FDXHKMR.js +0 -92
  493. package/dist/ingest-OJDK7AGH.js +0 -131
  494. package/dist/ingest-PS2LOYBM.js +0 -28
  495. package/dist/insights-H6M6VI43.js +0 -132
  496. package/dist/inspect-ALSHVHUP.js +0 -192
  497. package/dist/inspiration-TQHQNILK.js +0 -53
  498. package/dist/intent-ZKLT4DAW.js +0 -95
  499. package/dist/keyword-gap-QC3ITLNG.js +0 -130
  500. package/dist/keyword-metrics-PERWGH54.js +0 -200
  501. package/dist/keywords-for-site-CCCB6KHE.js +0 -131
  502. package/dist/landing-VE3MHOA3.js +0 -28
  503. package/dist/languages-QMLC4QWZ.js +0 -40
  504. package/dist/leads-TPMLYLBH.js +0 -115
  505. package/dist/learn-KK3AJS3N.js +0 -207
  506. package/dist/line-item-writes-ONKDXKOM.js +0 -211
  507. package/dist/line-items-ILJYVUHX.js +0 -107
  508. package/dist/link-YDHTMDC5.js +0 -67
  509. package/dist/linkedin-N3NGCE5N.js +0 -1344
  510. package/dist/linkedin-person-6F3YJHXM.js +0 -139
  511. package/dist/list-EKL5HIR7.js +0 -306
  512. package/dist/list-F7UDUU7C.js +0 -67
  513. package/dist/list-WDTPTY2T.js +0 -154
  514. package/dist/locations-5SLLGWZO.js +0 -69
  515. package/dist/locations-DNRK7DY4.js +0 -40
  516. package/dist/log-BZBRXB5P.js +0 -95
  517. package/dist/logo-ODONF6N7.js +0 -19
  518. package/dist/make-W27CB5X4.js +0 -1367
  519. package/dist/map-FNB7IWDY.js +0 -436
  520. package/dist/mcp-QSDCAWMU.js +0 -729
  521. package/dist/media-sources-NMT4G45B.js +0 -35
  522. package/dist/members-2XQ6E33F.js +0 -47
  523. package/dist/meta-5KQ6CQBT.js +0 -122
  524. package/dist/meta-5KQ6CQBT.js.map +0 -1
  525. package/dist/metrics-P4QDFCVB.js +0 -152
  526. package/dist/models-SITHUNAA.js +0 -155
  527. package/dist/normalize-5AU7SKYY.js +0 -144
  528. package/dist/options-CH52EP5K.js +0 -125
  529. package/dist/organization-6T4Q6XYI.js +0 -949
  530. package/dist/performance-2SCAQSQK.js +0 -27
  531. package/dist/performance-4DMGJCN7.js +0 -5565
  532. package/dist/pixels-WTTLC4O5.js +0 -62
  533. package/dist/posts-TRQCRLYZ.js +0 -36
  534. package/dist/preview-ICZR3SGB.js +0 -101
  535. package/dist/promoted-tweet-writes-DR6V7MHW.js +0 -183
  536. package/dist/promoted-tweets-IRECARIO.js +0 -119
  537. package/dist/publish-4HM2CJVF.js +0 -350
  538. package/dist/query-AQ6HNKW7.js +0 -62
  539. package/dist/reddit-KOC7KLYS.js +0 -29
  540. package/dist/refresh-2KEQLXRK.js +0 -97
  541. package/dist/release-X3Q3RFQC.js +0 -63
  542. package/dist/relevant-pages-NZKXWMNA.js +0 -99
  543. package/dist/remove-RYR6EAJY.js +0 -53
  544. package/dist/reopen-PIKLC5OW.js +0 -66
  545. package/dist/rerun-2HBMXJ55.js +0 -97
  546. package/dist/research-ZBZONY3D.js +0 -75
  547. package/dist/research-ZTA4XKNA.js +0 -265
  548. package/dist/reset-7YTMXVNX.js +0 -57
  549. package/dist/reset-Q3XSD4WI.js +0 -57
  550. package/dist/resolve-P3AT2S6A.js +0 -124
  551. package/dist/retry-CEZLEN7Z.js +0 -63
  552. package/dist/retry-YNNFUDWI.js +0 -65
  553. package/dist/revenue-6PR3BJFJ.js +0 -91
  554. package/dist/rules-R7NK5X4Z.js +0 -99
  555. package/dist/rules-add-2GIJGODB.js +0 -465
  556. package/dist/run-CDMNDJ7B.js +0 -72
  557. package/dist/run-RORVKARV.js +0 -69
  558. package/dist/scaffold-ad-DDGYTRFK.js +0 -1513
  559. package/dist/scaffold-static-ad-ES5AIQPA.js +0 -1012
  560. package/dist/scaffold-video-NWRJZQ7N.js +0 -885
  561. package/dist/schedule-2ELAAXVW.js +0 -64
  562. package/dist/scheduled-agents-RRAWQYPE.js +0 -55
  563. package/dist/schema-FHP43TLD.js +0 -135
  564. package/dist/search-G6W4LGVZ.js +0 -177
  565. package/dist/select-GFPXXVBU.js +0 -110
  566. package/dist/set-prompt-TQDOBUFT.js +0 -199
  567. package/dist/setup-links-CK7LBYJK.js +0 -144
  568. package/dist/shopify-SOTGSWXW.js +0 -4009
  569. package/dist/site-IAIGIP3R.js +0 -180
  570. package/dist/sources-62MIDG3D.js +0 -457
  571. package/dist/sources-D5XODGIV.js +0 -30
  572. package/dist/stale-4STBM2Z3.js +0 -90
  573. package/dist/status-BKSOFB53.js +0 -65
  574. package/dist/stock-F5QNFRPM.js +0 -212
  575. package/dist/studio-ZRAZ2C25.js +0 -49
  576. package/dist/sync-VPE5G6YX.js +0 -57
  577. package/dist/sync-definition-VSNVCRNG.js +0 -70
  578. package/dist/tags-CBNWQTFX.js +0 -23
  579. package/dist/tags-IFBIJ7BE.js +0 -23
  580. package/dist/tags-J6IPWIZ5.js +0 -227
  581. package/dist/tags-XPLXA3LV.js +0 -26
  582. package/dist/tags-ZV7JAF6S.js +0 -23
  583. package/dist/targeting-criteria-VVZQFPNS.js +0 -113
  584. package/dist/targets-EQAZUKT6.js +0 -106
  585. package/dist/testimonials-5MA427KH.js +0 -32
  586. package/dist/themes-WMZJWXFT.js +0 -95
  587. package/dist/top-companies-V5FVQMCS.js +0 -111
  588. package/dist/transcript-2TE2R4DH.js +0 -165
  589. package/dist/translate-XIF6VTDN.js +0 -603
  590. package/dist/triggers-ZMNQ6W3M.js +0 -144
  591. package/dist/unlink-HRCAROB3.js +0 -70
  592. package/dist/unstage-5WSEDFNH.js +0 -88
  593. package/dist/update-A64IC24P.js +0 -101
  594. package/dist/update-BESMEMQU.js +0 -155
  595. package/dist/update-WU4FAGEA.js +0 -192
  596. package/dist/update-ZUBU5NQP.js +0 -66
  597. package/dist/upload-FR6WRGXI.js +0 -137
  598. package/dist/url-options-QLDSJ7QJ.js +0 -131
  599. package/dist/url-params-YWIBMV3P.js +0 -101
  600. package/dist/validate-5EWYG4QS.js +0 -125
  601. package/dist/videos-MXEQHDMN.js +0 -41
  602. package/dist/viewer-check-QI4HKF7A.js +0 -83
  603. package/dist/web-DYT5YHEU.js +0 -173
  604. package/dist/winning-ads-YKBB2UZC.js +0 -86
  605. package/dist/write-commands-USXHGCVT.js +0 -1524
  606. package/dist/x-OIDZY7DM.js +0 -47
  607. /package/dist/{account-B77TBYMN.js.map → account-LFNHGUZP.js.map} +0 -0
  608. /package/dist/{account-U6DFMD2V.js.map → account-T2VKQW3R.js.map} +0 -0
  609. /package/dist/{account-reads-X35O4MCA.js.map → account-reads-XCXI4CXM.js.map} +0 -0
  610. /package/dist/{account-users-UKKABT5U.js.map → account-users-HMFGFXG7.js.map} +0 -0
  611. /package/dist/{account-writes-QSJ74QFR.js.map → account-writes-C5MSNEUU.js.map} +0 -0
  612. /package/dist/{accounts-QYNZXW2E.js.map → accounts-G5YAT5HL.js.map} +0 -0
  613. /package/dist/{accounts-HGCR3WFZ.js.map → accounts-J4J5KBTY.js.map} +0 -0
  614. /package/dist/{accounts-XL2TMLGE.js.map → accounts-ZKZL5KOP.js.map} +0 -0
  615. /package/dist/{actions-CVTRCHPG.js.map → actions-OR5ZCMBR.js.map} +0 -0
  616. /package/dist/{activecampaign-UNNM6J7M.js.map → activecampaign-G7KHC3BD.js.map} +0 -0
  617. /package/dist/{ad-group-writes-QBHOPTT5.js.map → ad-group-writes-7RSQHSUX.js.map} +0 -0
  618. /package/dist/{ad-groups-JZDUFT6J.js.map → ad-groups-MMYXS6NY.js.map} +0 -0
  619. /package/dist/{ad-writes-QYJO4IB3.js.map → ad-writes-E5CXFXPG.js.map} +0 -0
  620. /package/dist/{add-DPCBGUA5.js.map → add-KJRZREFO.js.map} +0 -0
  621. /package/dist/{add-3GOSW7LW.js.map → add-LX45HJ2Y.js.map} +0 -0
  622. /package/dist/{ads-UMSWEI5X.js.map → ads-UUAJAWAG.js.map} +0 -0
  623. /package/dist/{ads-LDCZ65B5.js.map → ads-WVSMMTY3.js.map} +0 -0
  624. /package/dist/{advertisers-3D36UJTQ.js.map → advertisers-P3JHMAQH.js.map} +0 -0
  625. /package/dist/{analytics-ZPPZJETP.js.map → analytics-HPIH6WGB.js.map} +0 -0
  626. /package/dist/{analytics-YHOXWFBI.js.map → analytics-OTN24OJF.js.map} +0 -0
  627. /package/dist/{animate-WS63CZ3Y.js.map → animate-LG55AZNJ.js.map} +0 -0
  628. /package/dist/{assign-5P7OJBAH.js.map → assign-BCJG4QMO.js.map} +0 -0
  629. /package/dist/{audience-size-PHFJ22TX.js.map → audience-size-FH6SNC7M.js.map} +0 -0
  630. /package/dist/{audiences-RSAUXKHR.js.map → audiences-CO4QVQGF.js.map} +0 -0
  631. /package/dist/{audit-3GRXRDLR.js.map → audit-LKPZ2XPO.js.map} +0 -0
  632. /package/dist/{autocomplete-GQLXBG5V.js.map → autocomplete-CQSGHRMI.js.map} +0 -0
  633. /package/dist/{avatars-I73KFB3F.js.map → avatars-B2MUQTUJ.js.map} +0 -0
  634. /package/dist/{bid-pricing-6MZ7SC72.js.map → bid-pricing-EHPVGN4U.js.map} +0 -0
  635. /package/dist/{brand-OISTKMY4.js.map → brand-IETJLLMV.js.map} +0 -0
  636. /package/dist/{brief-MI4RLV4N.js.map → brief-HSNY65DO.js.map} +0 -0
  637. /package/dist/{campaign-groups-QZ2NW5AW.js.map → campaign-groups-C3FKTALG.js.map} +0 -0
  638. /package/dist/{campaign-writes-BGS53O4B.js.map → campaign-writes-LKIROAJV.js.map} +0 -0
  639. /package/dist/{campaign-writes-GKNH2EHV.js.map → campaign-writes-Y77J3SAI.js.map} +0 -0
  640. /package/dist/{campaigns-FGIVPEVA.js.map → campaigns-57VQMODN.js.map} +0 -0
  641. /package/dist/{campaigns-7RV65SXR.js.map → campaigns-72BQQLVF.js.map} +0 -0
  642. /package/dist/{campaigns-YBPXM6B3.js.map → campaigns-ICLQ4SRI.js.map} +0 -0
  643. /package/dist/{canvas-YTSJAEOF.js.map → canvas-F6E4U2U3.js.map} +0 -0
  644. /package/dist/{capabilities-YFXCTUJJ.js.map → capabilities-I5AO4SWW.js.map} +0 -0
  645. /package/dist/{catalog-URTZYAPU.js.map → catalog-BQ7WEJ3T.js.map} +0 -0
  646. /package/dist/{catalogs-5LWEXG5X.js.map → catalogs-TAX75WSS.js.map} +0 -0
  647. /package/dist/{changes-6CL42LG3.js.map → changes-M7KKGYFS.js.map} +0 -0
  648. /package/dist/{chatgpt-HLIQ7OJZ.js.map → chatgpt-K4HD6NNL.js.map} +0 -0
  649. /package/dist/{chats-D5W2UWD4.js.map → chats-QLHOLSAC.js.map} +0 -0
  650. /package/dist/{check-FFMWUB72.js.map → check-TT44PEH5.js.map} +0 -0
  651. /package/dist/{chunk-CHVLFACB.js.map → chunk-2A4QXLYA.js.map} +0 -0
  652. /package/dist/{chunk-UKZKLXTE.js.map → chunk-2FMORF3B.js.map} +0 -0
  653. /package/dist/{chunk-EJBLF2LI.js.map → chunk-2H26UU5Y.js.map} +0 -0
  654. /package/dist/{chunk-JTIWQLY5.js.map → chunk-2RSUVSJU.js.map} +0 -0
  655. /package/dist/{chunk-QLXVHWAC.js.map → chunk-2UMQMFOA.js.map} +0 -0
  656. /package/dist/{chunk-533R4P5O.js.map → chunk-3AVFUHJI.js.map} +0 -0
  657. /package/dist/{chunk-DWPOAU4Z.js.map → chunk-3U4DQRFG.js.map} +0 -0
  658. /package/dist/{chunk-GUH2A5R5.js.map → chunk-43LDWE3R.js.map} +0 -0
  659. /package/dist/{chunk-HBRXFQQV.js.map → chunk-4JZ3NS43.js.map} +0 -0
  660. /package/dist/{chunk-ULIQNJ5J.js.map → chunk-6E5S477W.js.map} +0 -0
  661. /package/dist/{chunk-FVDC6AKZ.js.map → chunk-6JM53JLR.js.map} +0 -0
  662. /package/dist/{chunk-OAJ6LVL2.js.map → chunk-6U6YE5Z3.js.map} +0 -0
  663. /package/dist/{chunk-GQ4DMO5Q.js.map → chunk-A3MZX27M.js.map} +0 -0
  664. /package/dist/{chunk-X2OVFCRC.js.map → chunk-AJFWK2DW.js.map} +0 -0
  665. /package/dist/{chunk-FXZGRP3F.js.map → chunk-B6NGBLOG.js.map} +0 -0
  666. /package/dist/{chunk-2VHYY4RU.js.map → chunk-BG25VWP6.js.map} +0 -0
  667. /package/dist/{chunk-ZD5MNBLA.js.map → chunk-BJO7OAUA.js.map} +0 -0
  668. /package/dist/{chunk-LFPBZL2X.js.map → chunk-BRSEAVWZ.js.map} +0 -0
  669. /package/dist/{chunk-KDAINT54.js.map → chunk-DWA42GNM.js.map} +0 -0
  670. /package/dist/{chunk-X7XFAFU4.js.map → chunk-FHBMXLAF.js.map} +0 -0
  671. /package/dist/{chunk-UR7ENZ3F.js.map → chunk-FO5CVJ47.js.map} +0 -0
  672. /package/dist/{chunk-H3HA22Z3.js.map → chunk-FZJB77OK.js.map} +0 -0
  673. /package/dist/{chunk-6QNXBEIN.js.map → chunk-GEGFJCAF.js.map} +0 -0
  674. /package/dist/{chunk-SKI7QMDT.js.map → chunk-GH6IU5BO.js.map} +0 -0
  675. /package/dist/{chunk-BVGRKVHL.js.map → chunk-GK2DUKJA.js.map} +0 -0
  676. /package/dist/{chunk-PXLBPOI3.js.map → chunk-HC6464KT.js.map} +0 -0
  677. /package/dist/{chunk-N472TRB4.js.map → chunk-HWDOKNJT.js.map} +0 -0
  678. /package/dist/{chunk-TXWKDDF6.js.map → chunk-I7UDOKXX.js.map} +0 -0
  679. /package/dist/{chunk-Q5DFEVLE.js.map → chunk-IM4HHVY6.js.map} +0 -0
  680. /package/dist/{chunk-X3YYZLBH.js.map → chunk-IP6NHITS.js.map} +0 -0
  681. /package/dist/{chunk-XZAVBONI.js.map → chunk-IR27GIFG.js.map} +0 -0
  682. /package/dist/{chunk-F62BW6DJ.js.map → chunk-IWNLW7ZC.js.map} +0 -0
  683. /package/dist/{chunk-DLM5OSHM.js.map → chunk-IZMSISEN.js.map} +0 -0
  684. /package/dist/{chunk-GWLP45WQ.js.map → chunk-J4LQ6GK5.js.map} +0 -0
  685. /package/dist/{chunk-X3GWGFZP.js.map → chunk-J7IYLOPV.js.map} +0 -0
  686. /package/dist/{chunk-Y43FKOED.js.map → chunk-KFCN6DEX.js.map} +0 -0
  687. /package/dist/{chunk-6QINKM6T.js.map → chunk-KHVZZTWD.js.map} +0 -0
  688. /package/dist/{chunk-YFBHZ57K.js.map → chunk-L3ITBLLD.js.map} +0 -0
  689. /package/dist/{chunk-MZPS46OR.js.map → chunk-L4ATZPY2.js.map} +0 -0
  690. /package/dist/{chunk-JAC6JVCI.js.map → chunk-L6UWXOHS.js.map} +0 -0
  691. /package/dist/{chunk-LAP23AND.js.map → chunk-LEH6IUC4.js.map} +0 -0
  692. /package/dist/{chunk-72VH4FPY.js.map → chunk-LQN7REMU.js.map} +0 -0
  693. /package/dist/{chunk-QPTYTM2X.js.map → chunk-LTUJKEAG.js.map} +0 -0
  694. /package/dist/{chunk-UKDILXEA.js.map → chunk-M7LD4E6W.js.map} +0 -0
  695. /package/dist/{chunk-TCR6KI6P.js.map → chunk-OBOVOYJ5.js.map} +0 -0
  696. /package/dist/{chunk-TK7VRZKM.js.map → chunk-OVNVYNVH.js.map} +0 -0
  697. /package/dist/{chunk-ORQ3WBM6.js.map → chunk-P4BFJOZD.js.map} +0 -0
  698. /package/dist/{chunk-LWN3ZNZU.js.map → chunk-P54N2BRN.js.map} +0 -0
  699. /package/dist/{chunk-WYXYAKUP.js.map → chunk-P6SWLZGH.js.map} +0 -0
  700. /package/dist/{chunk-D2GDHVZP.js.map → chunk-PAJ4L26P.js.map} +0 -0
  701. /package/dist/{chunk-Q2JDS6WL.js.map → chunk-PEZC3KZE.js.map} +0 -0
  702. /package/dist/{chunk-OWEON2S7.js.map → chunk-PFIOOYZX.js.map} +0 -0
  703. /package/dist/{chunk-S37ZZSNM.js.map → chunk-PFJHL4JS.js.map} +0 -0
  704. /package/dist/{chunk-GTYVWDCC.js.map → chunk-PI2XARDF.js.map} +0 -0
  705. /package/dist/{chunk-R2Z5L5CF.js.map → chunk-PSMVR5UR.js.map} +0 -0
  706. /package/dist/{chunk-2DVFPCH3.js.map → chunk-RL4QUOVQ.js.map} +0 -0
  707. /package/dist/{chunk-N34A56X7.js.map → chunk-S5NSCPWH.js.map} +0 -0
  708. /package/dist/{chunk-AHZIGJXD.js.map → chunk-SROKJC6V.js.map} +0 -0
  709. /package/dist/{chunk-SLLY4ZTT.js.map → chunk-SRR7XEI3.js.map} +0 -0
  710. /package/dist/{chunk-MSGIF4EC.js.map → chunk-SXNFXPAF.js.map} +0 -0
  711. /package/dist/{chunk-3FLSRUID.js.map → chunk-TFF2G2WU.js.map} +0 -0
  712. /package/dist/{chunk-DFDV42NY.js.map → chunk-TOQZ6WO2.js.map} +0 -0
  713. /package/dist/{chunk-V6N6UBOT.js.map → chunk-TTU7U3RU.js.map} +0 -0
  714. /package/dist/{chunk-RHSKKWPO.js.map → chunk-UL5LPRAC.js.map} +0 -0
  715. /package/dist/{chunk-QKHH7YNN.js.map → chunk-UT3VSNEM.js.map} +0 -0
  716. /package/dist/{chunk-4S5ZAG4S.js.map → chunk-VFBNYBAA.js.map} +0 -0
  717. /package/dist/{chunk-EOMY5SUJ.js.map → chunk-X2TCBD6H.js.map} +0 -0
  718. /package/dist/{chunk-6I7GJDBX.js.map → chunk-Y43COG3A.js.map} +0 -0
  719. /package/dist/{chunk-SJIEU3VG.js.map → chunk-ZXPFGNSJ.js.map} +0 -0
  720. /package/dist/{claim-G4TW75Z2.js.map → claim-3KE5DZ75.js.map} +0 -0
  721. /package/dist/{companies-TYDUEKET.js.map → companies-JBZR5W56.js.map} +0 -0
  722. /package/dist/{company-V5WKGDGU.js.map → company-DQH4U7IH.js.map} +0 -0
  723. /package/dist/{complete-QEKKP7YL.js.map → complete-YS4CTYPD.js.map} +0 -0
  724. /package/dist/{connect-5Q2HQ7LT.js.map → connect-OG2URUXQ.js.map} +0 -0
  725. /package/dist/{conversation-JIVOIZ5E.js.map → conversation-T5G2EOJ3.js.map} +0 -0
  726. /package/dist/{conversion-report-76S5JOVT.js.map → conversion-report-4A4HJKZG.js.map} +0 -0
  727. /package/dist/{conversion-upload-command-WNHVNVMW.js.map → conversion-upload-command-XREECG2M.js.map} +0 -0
  728. /package/dist/{conversion-writes-6HX665JT.js.map → conversion-writes-T4ONKJTH.js.map} +0 -0
  729. /package/dist/{conversions-PSXVU4JL.js.map → conversions-336BIAR3.js.map} +0 -0
  730. /package/dist/{conversions-A524MH5C.js.map → conversions-EFPLZXN2.js.map} +0 -0
  731. /package/dist/{create-CHBC745Y.js.map → create-D5XOJ7RZ.js.map} +0 -0
  732. /package/dist/{create-SBQU7B3S.js.map → create-JCPRS7JC.js.map} +0 -0
  733. /package/dist/{create-7QGB33HI.js.map → create-YBXSCJSZ.js.map} +0 -0
  734. /package/dist/{create-AV7UY4N5.js.map → create-ZXEP5RKK.js.map} +0 -0
  735. /package/dist/{creatives-LNUSBQXQ.js.map → creatives-PEGQCPXH.js.map} +0 -0
  736. /package/dist/{creatives-XQILGK6P.js.map → creatives-YHVHL2JG.js.map} +0 -0
  737. /package/dist/{credentials-IWF37PAQ.js.map → credentials-DLN37Y53.js.map} +0 -0
  738. /package/dist/{critique-CYV7JQAY.js.map → critique-BKPSE5TC.js.map} +0 -0
  739. /package/dist/{critique-ETRQP3QZ.js.map → critique-FTD5HY3P.js.map} +0 -0
  740. /package/dist/{crm-T2ZJNZ6G.js.map → crm-6VLBZP6R.js.map} +0 -0
  741. /package/dist/{crm-IDN55BIC.js.map → crm-CAHF5MFW.js.map} +0 -0
  742. /package/dist/{currency-VQMZZXSS.js.map → currency-VHIIVTHK.js.map} +0 -0
  743. /package/dist/{customers-XANEOEW6.js.map → customers-3A72724B.js.map} +0 -0
  744. /package/dist/{delete-6K7EZXNR.js.map → delete-AI6BTKRX.js.map} +0 -0
  745. /package/dist/{delete-2WL6K24W.js.map → delete-KRAI5WDX.js.map} +0 -0
  746. /package/dist/{delete-SCAVFYZL.js.map → delete-OQJLGWSM.js.map} +0 -0
  747. /package/dist/{demographics-JJKL7MZC.js.map → demographics-YGRSGV33.js.map} +0 -0
  748. /package/dist/{discard-FQDZ5GKN.js.map → discard-E7NN7H5J.js.map} +0 -0
  749. /package/dist/{discover-4F4USNHE.js.map → discover-RASVEQYE.js.map} +0 -0
  750. /package/dist/{domain-AFWPUOI7.js.map → domain-ROUKV26M.js.map} +0 -0
  751. /package/dist/{download-MXKBJPPF.js.map → download-2NSCKINN.js.map} +0 -0
  752. /package/dist/{draft-VIZTQ6W4.js.map → draft-DVKQV67R.js.map} +0 -0
  753. /package/dist/{draft-OJHTFELQ.js.map → draft-FBXWPG6V.js.map} +0 -0
  754. /package/dist/{draft-WOE7KQ7T.js.map → draft-H2PICPFS.js.map} +0 -0
  755. /package/dist/{draft-EKJQGNFT.js.map → draft-RQY63AJF.js.map} +0 -0
  756. /package/dist/{draft-Z5IVHUHR.js.map → draft-SQKEZUG5.js.map} +0 -0
  757. /package/dist/{experiments-YUBVWNB5.js.map → experiments-EMTSSDXU.js.map} +0 -0
  758. /package/dist/{extract-VHM2UNIE.js.map → extract-AZFZHNJF.js.map} +0 -0
  759. /package/dist/{facets-5GLKSHTA.js.map → facets-6BAX2PIL.js.map} +0 -0
  760. /package/dist/{feedback-36TL4GPS.js.map → feedback-GVW7I2YF.js.map} +0 -0
  761. /package/dist/{feedback-record-QGAP4HA4.js.map → feedback-record-JAYONJAV.js.map} +0 -0
  762. /package/dist/{fetch-X4RIDS7N.js.map → fetch-PSA6V3LZ.js.map} +0 -0
  763. /package/dist/{find-57WYB4V3.js.map → find-UGFONLSD.js.map} +0 -0
  764. /package/dist/{fit-V4CRDVQV.js.map → fit-XFIZNCRH.js.map} +0 -0
  765. /package/dist/{flows-YPBWZR4P.js.map → flows-E6WI2ITC.js.map} +0 -0
  766. /package/dist/{fonts-RV5KUGFE.js.map → fonts-TWYK4FZH.js.map} +0 -0
  767. /package/dist/{forecast-LMYMZHZE.js.map → forecast-5ZGRXXSJ.js.map} +0 -0
  768. /package/dist/{forecast-E2HJSD6E.js.map → forecast-NVHOQXWR.js.map} +0 -0
  769. /package/dist/{funnel-MF2KFXEX.js.map → funnel-GKIFAU32.js.map} +0 -0
  770. /package/dist/{ga4-FCMTGV4S.js.map → ga4-YVKA3V4V.js.map} +0 -0
  771. /package/dist/{generate-VGGXTZBP.js.map → generate-YZL4GGUY.js.map} +0 -0
  772. /package/dist/{get-7NI64G6K.js.map → get-3TBQJ2J4.js.map} +0 -0
  773. /package/dist/{get-MVZWQ4BE.js.map → get-GVQABBCB.js.map} +0 -0
  774. /package/dist/{google-ZRZGM2XI.js.map → google-EG7YCO5C.js.map} +0 -0
  775. /package/dist/{google-YNVTLX5E.js.map → google-VNEVAKGL.js.map} +0 -0
  776. /package/dist/{google-ads-UER2CSQN.js.map → google-ads-WXZHRP2N.js.map} +0 -0
  777. /package/dist/{gsc-A3KB36WH.js.map → gsc-OJDMSP6H.js.map} +0 -0
  778. /package/dist/{history-LXRFZNW7.js.map → history-4Q6SPKOJ.js.map} +0 -0
  779. /package/dist/{history-LBIA45H3.js.map → history-JECMIEEV.js.map} +0 -0
  780. /package/dist/{history-3GRRZSWW.js.map → history-XQUH5MKO.js.map} +0 -0
  781. /package/dist/{hubspot-NEENQKIP.js.map → hubspot-LJBJPAYJ.js.map} +0 -0
  782. /package/dist/{icon-7WND6UPY.js.map → icon-THWS5VPO.js.map} +0 -0
  783. /package/dist/{ideas-LDQMFMJM.js.map → ideas-PMRLNUWW.js.map} +0 -0
  784. /package/dist/{images-2FDXHKMR.js.map → images-F6PLQH5L.js.map} +0 -0
  785. /package/dist/{ingest-PS2LOYBM.js.map → ingest-F4MXHO2R.js.map} +0 -0
  786. /package/dist/{ingest-OJDK7AGH.js.map → ingest-JSCIUSTZ.js.map} +0 -0
  787. /package/dist/{insights-H6M6VI43.js.map → insights-HJ5MU3F4.js.map} +0 -0
  788. /package/dist/{inspect-ALSHVHUP.js.map → inspect-JRHB4MQ3.js.map} +0 -0
  789. /package/dist/{inspiration-TQHQNILK.js.map → inspiration-FPB3IB7X.js.map} +0 -0
  790. /package/dist/{intent-ZKLT4DAW.js.map → intent-XCNRLGQQ.js.map} +0 -0
  791. /package/dist/{keyword-gap-QC3ITLNG.js.map → keyword-gap-J6RP6L25.js.map} +0 -0
  792. /package/dist/{keyword-metrics-PERWGH54.js.map → keyword-metrics-KUXAU25B.js.map} +0 -0
  793. /package/dist/{keywords-for-site-CCCB6KHE.js.map → keywords-for-site-DLDWLPYU.js.map} +0 -0
  794. /package/dist/{landing-VE3MHOA3.js.map → landing-7EYVD2OI.js.map} +0 -0
  795. /package/dist/{languages-QMLC4QWZ.js.map → languages-6QDUHAFN.js.map} +0 -0
  796. /package/dist/{leads-TPMLYLBH.js.map → leads-TRDLBJ4M.js.map} +0 -0
  797. /package/dist/{learn-KK3AJS3N.js.map → learn-EVGUFBTE.js.map} +0 -0
  798. /package/dist/{line-item-writes-ONKDXKOM.js.map → line-item-writes-KIRLIJ72.js.map} +0 -0
  799. /package/dist/{line-items-ILJYVUHX.js.map → line-items-4PFGOI3Q.js.map} +0 -0
  800. /package/dist/{link-YDHTMDC5.js.map → link-WIAE43ZD.js.map} +0 -0
  801. /package/dist/{linkedin-N3NGCE5N.js.map → linkedin-E4REUEOL.js.map} +0 -0
  802. /package/dist/{linkedin-person-6F3YJHXM.js.map → linkedin-person-6JRV6UNR.js.map} +0 -0
  803. /package/dist/{list-F7UDUU7C.js.map → list-6IRAZFIF.js.map} +0 -0
  804. /package/dist/{list-EKL5HIR7.js.map → list-Q6YLGEFQ.js.map} +0 -0
  805. /package/dist/{list-WDTPTY2T.js.map → list-ZVEIKL24.js.map} +0 -0
  806. /package/dist/{locations-DNRK7DY4.js.map → locations-3JFYNQGD.js.map} +0 -0
  807. /package/dist/{locations-5SLLGWZO.js.map → locations-SKK6AUKD.js.map} +0 -0
  808. /package/dist/{log-BZBRXB5P.js.map → log-OB7VG6JH.js.map} +0 -0
  809. /package/dist/{logo-ODONF6N7.js.map → logo-ZSSR66WS.js.map} +0 -0
  810. /package/dist/{make-W27CB5X4.js.map → make-RKKZFUVC.js.map} +0 -0
  811. /package/dist/{map-FNB7IWDY.js.map → map-362DNLE4.js.map} +0 -0
  812. /package/dist/{mcp-QSDCAWMU.js.map → mcp-TI35F2P2.js.map} +0 -0
  813. /package/dist/{media-sources-NMT4G45B.js.map → media-sources-UL6B4634.js.map} +0 -0
  814. /package/dist/{members-2XQ6E33F.js.map → members-CK6GCEGZ.js.map} +0 -0
  815. /package/dist/{metrics-P4QDFCVB.js.map → metrics-SNUZTO3L.js.map} +0 -0
  816. /package/dist/{models-SITHUNAA.js.map → models-A3AUZRAF.js.map} +0 -0
  817. /package/dist/{normalize-5AU7SKYY.js.map → normalize-IQZHY7RU.js.map} +0 -0
  818. /package/dist/{options-CH52EP5K.js.map → options-7FYTYB7F.js.map} +0 -0
  819. /package/dist/{organization-6T4Q6XYI.js.map → organization-NNHIEOC6.js.map} +0 -0
  820. /package/dist/{performance-4DMGJCN7.js.map → performance-3A5IXPQA.js.map} +0 -0
  821. /package/dist/{performance-2SCAQSQK.js.map → performance-C3DWVGHX.js.map} +0 -0
  822. /package/dist/{pixels-WTTLC4O5.js.map → pixels-O2XIQOU2.js.map} +0 -0
  823. /package/dist/{posts-TRQCRLYZ.js.map → posts-F327IP23.js.map} +0 -0
  824. /package/dist/{preview-ICZR3SGB.js.map → preview-365IBP2N.js.map} +0 -0
  825. /package/dist/{promoted-tweet-writes-DR6V7MHW.js.map → promoted-tweet-writes-IKCEXJUP.js.map} +0 -0
  826. /package/dist/{promoted-tweets-IRECARIO.js.map → promoted-tweets-44KS4NSY.js.map} +0 -0
  827. /package/dist/{publish-4HM2CJVF.js.map → publish-QZTFEV4L.js.map} +0 -0
  828. /package/dist/{query-AQ6HNKW7.js.map → query-RWTMCFGF.js.map} +0 -0
  829. /package/dist/{reddit-KOC7KLYS.js.map → reddit-CN33MIDK.js.map} +0 -0
  830. /package/dist/{refresh-2KEQLXRK.js.map → refresh-QF2YUF2H.js.map} +0 -0
  831. /package/dist/{release-X3Q3RFQC.js.map → release-IGEYKGDO.js.map} +0 -0
  832. /package/dist/{relevant-pages-NZKXWMNA.js.map → relevant-pages-VD7CW2NE.js.map} +0 -0
  833. /package/dist/{remove-RYR6EAJY.js.map → remove-PDDAHLXZ.js.map} +0 -0
  834. /package/dist/{reopen-PIKLC5OW.js.map → reopen-KED3LNLC.js.map} +0 -0
  835. /package/dist/{rerun-2HBMXJ55.js.map → rerun-5RZSACIO.js.map} +0 -0
  836. /package/dist/{research-ZTA4XKNA.js.map → research-E5BDGW4F.js.map} +0 -0
  837. /package/dist/{research-ZBZONY3D.js.map → research-YENNSNDT.js.map} +0 -0
  838. /package/dist/{reset-Q3XSD4WI.js.map → reset-3NUBL7ZW.js.map} +0 -0
  839. /package/dist/{reset-7YTMXVNX.js.map → reset-JZJH37IK.js.map} +0 -0
  840. /package/dist/{resolve-P3AT2S6A.js.map → resolve-IBJKPRXW.js.map} +0 -0
  841. /package/dist/{retry-CEZLEN7Z.js.map → retry-2EVDWOTU.js.map} +0 -0
  842. /package/dist/{retry-YNNFUDWI.js.map → retry-UVVOQ3ZP.js.map} +0 -0
  843. /package/dist/{revenue-6PR3BJFJ.js.map → revenue-OYGVWMWP.js.map} +0 -0
  844. /package/dist/{rules-R7NK5X4Z.js.map → rules-KLP3ACBB.js.map} +0 -0
  845. /package/dist/{rules-add-2GIJGODB.js.map → rules-add-TG5NUWCG.js.map} +0 -0
  846. /package/dist/{run-RORVKARV.js.map → run-MLBDKYCN.js.map} +0 -0
  847. /package/dist/{run-CDMNDJ7B.js.map → run-YQEJT6CE.js.map} +0 -0
  848. /package/dist/{scaffold-ad-DDGYTRFK.js.map → scaffold-ad-OVKDFAT3.js.map} +0 -0
  849. /package/dist/{scaffold-static-ad-ES5AIQPA.js.map → scaffold-static-ad-HCZDYPQT.js.map} +0 -0
  850. /package/dist/{scaffold-video-NWRJZQ7N.js.map → scaffold-video-R7U5SU4W.js.map} +0 -0
  851. /package/dist/{schedule-2ELAAXVW.js.map → schedule-45S5XYUG.js.map} +0 -0
  852. /package/dist/{scheduled-agents-RRAWQYPE.js.map → scheduled-agents-3SBTUT27.js.map} +0 -0
  853. /package/dist/{schema-FHP43TLD.js.map → schema-M4PXJYXA.js.map} +0 -0
  854. /package/dist/{search-G6W4LGVZ.js.map → search-B7CHHWJ2.js.map} +0 -0
  855. /package/dist/{select-GFPXXVBU.js.map → select-E2QVMBDU.js.map} +0 -0
  856. /package/dist/{set-prompt-TQDOBUFT.js.map → set-prompt-EL3BTDER.js.map} +0 -0
  857. /package/dist/{setup-links-CK7LBYJK.js.map → setup-links-EVK7LFRN.js.map} +0 -0
  858. /package/dist/{shopify-SOTGSWXW.js.map → shopify-Z5MTB35H.js.map} +0 -0
  859. /package/dist/{site-IAIGIP3R.js.map → site-2ZQVEKAK.js.map} +0 -0
  860. /package/dist/{sources-D5XODGIV.js.map → sources-AXVQQUVX.js.map} +0 -0
  861. /package/dist/{sources-62MIDG3D.js.map → sources-KGIJIBDT.js.map} +0 -0
  862. /package/dist/{stale-4STBM2Z3.js.map → stale-3U7GH6H6.js.map} +0 -0
  863. /package/dist/{status-BKSOFB53.js.map → status-2QCLEF3K.js.map} +0 -0
  864. /package/dist/{stock-F5QNFRPM.js.map → stock-SJHR5PN7.js.map} +0 -0
  865. /package/dist/{studio-ZRAZ2C25.js.map → studio-3WGQA4SK.js.map} +0 -0
  866. /package/dist/{sync-VPE5G6YX.js.map → sync-SLZTE4GN.js.map} +0 -0
  867. /package/dist/{sync-definition-VSNVCRNG.js.map → sync-definition-EGX27T7D.js.map} +0 -0
  868. /package/dist/{tags-ZV7JAF6S.js.map → tags-4OJPFYHD.js.map} +0 -0
  869. /package/dist/{tags-CBNWQTFX.js.map → tags-N3VBTOL7.js.map} +0 -0
  870. /package/dist/{tags-XPLXA3LV.js.map → tags-O6LWR6HA.js.map} +0 -0
  871. /package/dist/{tags-J6IPWIZ5.js.map → tags-R37YVLQ7.js.map} +0 -0
  872. /package/dist/{tags-IFBIJ7BE.js.map → tags-UT4GCC4R.js.map} +0 -0
  873. /package/dist/{targeting-criteria-VVZQFPNS.js.map → targeting-criteria-HLMSZJIH.js.map} +0 -0
  874. /package/dist/{targets-EQAZUKT6.js.map → targets-B2IEEQAZ.js.map} +0 -0
  875. /package/dist/{testimonials-5MA427KH.js.map → testimonials-556NQTPE.js.map} +0 -0
  876. /package/dist/{themes-WMZJWXFT.js.map → themes-T3N7PSQS.js.map} +0 -0
  877. /package/dist/{top-companies-V5FVQMCS.js.map → top-companies-3RXHHEHT.js.map} +0 -0
  878. /package/dist/{transcript-2TE2R4DH.js.map → transcript-FVDC57YN.js.map} +0 -0
  879. /package/dist/{translate-XIF6VTDN.js.map → translate-L4WNSEGK.js.map} +0 -0
  880. /package/dist/{triggers-ZMNQ6W3M.js.map → triggers-7HUHRSR5.js.map} +0 -0
  881. /package/dist/{unlink-HRCAROB3.js.map → unlink-YAZPQOHS.js.map} +0 -0
  882. /package/dist/{unstage-5WSEDFNH.js.map → unstage-S7DX2UNA.js.map} +0 -0
  883. /package/dist/{update-A64IC24P.js.map → update-7EK3QV4C.js.map} +0 -0
  884. /package/dist/{update-WU4FAGEA.js.map → update-CFKO67HM.js.map} +0 -0
  885. /package/dist/{update-BESMEMQU.js.map → update-UCLITI3F.js.map} +0 -0
  886. /package/dist/{update-ZUBU5NQP.js.map → update-ZJNAZOMG.js.map} +0 -0
  887. /package/dist/{upload-FR6WRGXI.js.map → upload-GLNKFQYB.js.map} +0 -0
  888. /package/dist/{url-options-QLDSJ7QJ.js.map → url-options-RLFQVU7T.js.map} +0 -0
  889. /package/dist/{url-params-YWIBMV3P.js.map → url-params-GC73ACBR.js.map} +0 -0
  890. /package/dist/{validate-5EWYG4QS.js.map → validate-7KONBGGV.js.map} +0 -0
  891. /package/dist/{videos-MXEQHDMN.js.map → videos-3RLDBPN4.js.map} +0 -0
  892. /package/dist/{viewer-check-QI4HKF7A.js.map → viewer-check-4I7DP7LF.js.map} +0 -0
  893. /package/dist/{web-DYT5YHEU.js.map → web-GJEXXHSQ.js.map} +0 -0
  894. /package/dist/{winning-ads-YKBB2UZC.js.map → winning-ads-SVAER25L.js.map} +0 -0
  895. /package/dist/{write-commands-USXHGCVT.js.map → write-commands-QKATOYYS.js.map} +0 -0
  896. /package/dist/{x-OIDZY7DM.js.map → x-WKFJMY24.js.map} +0 -0
@@ -0,0 +1,1513 @@
1
+ import {
2
+ stampCompositionDims
3
+ } from "./chunk-5MBPIONY.js";
4
+ import {
5
+ fetchClientLogo
6
+ } from "./chunk-P4BFJOZD.js";
7
+ import {
8
+ SHIPPED_CAPTIONS_DIR,
9
+ SHIPPED_OVERLAY_COMPOSITION_DIR
10
+ } from "./chunk-L4ATZPY2.js";
11
+ import {
12
+ readDefinitionPlatforms,
13
+ syncCreativeDefinitionBestEffort
14
+ } from "./chunk-3AVFUHJI.js";
15
+ import "./chunk-IR27GIFG.js";
16
+ import {
17
+ pinnedModelHint
18
+ } from "./chunk-L6UWXOHS.js";
19
+ import "./chunk-2H26UU5Y.js";
20
+ import {
21
+ REBUILD_FILE,
22
+ authoredRole,
23
+ brandHeadlineFont,
24
+ buildCreativeDefinition,
25
+ cachedJev,
26
+ canvasDims,
27
+ carriesOnFromAnswers,
28
+ carriesOnQuestions,
29
+ computeSourceSha,
30
+ definitionPlatformsOf,
31
+ escapeHtml,
32
+ findBrandRoot,
33
+ genAspectsFor,
34
+ languageFromAnswer,
35
+ languageQuestion,
36
+ parseDefinitionStrategyFields,
37
+ readNamedTypefaces,
38
+ readStaticBrandKit,
39
+ renderStyleProjectionFromValue,
40
+ resolveAspect,
41
+ resolveFormats,
42
+ scaffoldVideoCanvas,
43
+ spokenLanguage,
44
+ titleFromSlug,
45
+ voiceGenderModel,
46
+ webFontUrl,
47
+ writeSceneFiles
48
+ } from "./chunk-A3MZX27M.js";
49
+ import "./chunk-LTUJKEAG.js";
50
+ import "./chunk-CP6RFWLW.js";
51
+ import "./chunk-EKX37C3T.js";
52
+ import "./chunk-IM4HHVY6.js";
53
+ import "./chunk-KFCN6DEX.js";
54
+ import {
55
+ readAvatars
56
+ } from "./chunk-OFMFBRSL.js";
57
+ import "./chunk-TFF2G2WU.js";
58
+ import "./chunk-2FMORF3B.js";
59
+ import {
60
+ fetchJson,
61
+ lookupGoogleCss
62
+ } from "./chunk-UT3VSNEM.js";
63
+ import "./chunk-LQN7REMU.js";
64
+ import "./chunk-S5NSCPWH.js";
65
+ import "./chunk-DWA42GNM.js";
66
+ import "./chunk-4H6XLX7E.js";
67
+ import {
68
+ holdUnbilledSpend
69
+ } from "./chunk-Y5PNLB24.js";
70
+ import {
71
+ findWorkspaceRoot,
72
+ resolveRelativeCanvasPaths
73
+ } from "./chunk-N3PASNUA.js";
74
+ import {
75
+ defaultRegistry,
76
+ validateCanvasDeep
77
+ } from "./chunk-3U4DQRFG.js";
78
+ import "./chunk-4JZ3NS43.js";
79
+ import {
80
+ BRAND_DIR,
81
+ READ_WORDS_PER_SECOND,
82
+ markInkIsLight,
83
+ markIsReal,
84
+ plateIsDark,
85
+ readBrandFromWorkspace,
86
+ svgIsLiveText,
87
+ wordCount
88
+ } from "./chunk-J7IYLOPV.js";
89
+ import {
90
+ videoSafeArea
91
+ } from "./chunk-J4LQ6GK5.js";
92
+ import "./chunk-DGCUPJZD.js";
93
+ import "./chunk-KHVZZTWD.js";
94
+ import {
95
+ ACTOR_SHEET_MODEL
96
+ } from "./chunk-FZJB77OK.js";
97
+ import "./chunk-IZMSISEN.js";
98
+ import {
99
+ AD_IMAGE_MODEL,
100
+ DEFAULT_VIDEO_GENERATE_MODEL,
101
+ SEEDANCE_DURATIONS,
102
+ SPOKEN_CLIP_DURATION_S,
103
+ VIDEO_GENERATE_MODELS,
104
+ clipDurationsFor,
105
+ frameRealismDirection,
106
+ withoutCastName
107
+ } from "./chunk-UQA3ASVK.js";
108
+ import "./chunk-2WZI36D3.js";
109
+ import "./chunk-65Y3RCWP.js";
110
+ import {
111
+ askJevQuestions
112
+ } from "./chunk-E56V3RFO.js";
113
+ import "./chunk-EL3TDR5S.js";
114
+ import "./chunk-G6U45QD3.js";
115
+ import {
116
+ fetchExternalBytes
117
+ } from "./chunk-X6U3B6YK.js";
118
+ import "./chunk-OVNVYNVH.js";
119
+ import "./chunk-QV6AST5T.js";
120
+ import "./chunk-WCU362Z6.js";
121
+ import "./chunk-GIWHHCD6.js";
122
+ import "./chunk-SOPVIIUW.js";
123
+ import "./chunk-G4FG5EQO.js";
124
+ import "./chunk-R7XDGNZD.js";
125
+ import "./chunk-7XFVKPE5.js";
126
+ import "./chunk-QEREDRZO.js";
127
+ import "./chunk-JXTNP3B5.js";
128
+ import "./chunk-45D6WRCJ.js";
129
+ import {
130
+ registerSchema,
131
+ writeJson
132
+ } from "./chunk-CCYZJMZ7.js";
133
+ import "./chunk-YQSBHWOI.js";
134
+
135
+ // src/commands/canvas/scaffold-ad.ts
136
+ import { copyFile, cp, mkdir, readFile, stat, writeFile } from "fs/promises";
137
+ import path from "path";
138
+ import { defineCommand } from "citty";
139
+
140
+ // src/engine/scaffold/ad-spec.ts
141
+ import { z } from "zod";
142
+ var oneClause = (line) => (line.match(/[.!?](\s|$)/g) ?? []).length <= 1;
143
+ var isSpeech = (line) => new RegExp("\\p{L}\\p{L}", "u").test(line);
144
+ var Beat = z.object({
145
+ /**
146
+ * The line the voice says in this beat — ONE clause, ending in its own
147
+ * punctuation. It becomes the caption card verbatim.
148
+ */
149
+ say: z.string().min(1).refine(
150
+ isSpeech,
151
+ "a beat's line has to be words someone says \u2014 a dot or a dash is not a line, and an ad with no voiceover is not supported yet"
152
+ ).refine(oneClause, "a beat is one clause: split a second sentence into its own beat"),
153
+ /** What is on screen while it is said, as a shot brief for the video model. */
154
+ show: z.string().min(1),
155
+ /**
156
+ * What this shot SOUNDS like — one effect, in words. Usually absent.
157
+ *
158
+ * An effect earns its place when the picture shows a SPECIFIC PHYSICAL EVENT the
159
+ * viewer expects to hear: a drill tightening a bolt, a door closing, rain on glass, a
160
+ * card tapping a reader, a graphic snapping into place. It grounds the shot.
161
+ *
162
+ * It does NOT belong on a talking head, on a lifestyle shot with no event in it, or
163
+ * on a beat that is simply someone sitting and reacting. Sound laid over those reads
164
+ * as a stock-library sting, and a bed of them turns a calm ad into a noisy one. Most
165
+ * ads are a music bed and a voice; a couple of effects at the right moments, or none
166
+ * at all, is a normal and often better answer than one per beat.
167
+ *
168
+ * Describe the SOUND, not the picture: "a cordless drill tightening a bolt", not "the
169
+ * fitter works on the rail".
170
+ */
171
+ sound: z.string().min(1).max(200).optional(),
172
+ /**
173
+ * Whether this beat's subject is talking to camera.
174
+ *
175
+ * Left unset it follows the cast: an ad that cast a presenter, in a shot they are in,
176
+ * with a line, is that person speaking. Set it to FALSE for the exception — a cutaway,
177
+ * a product shot, a beat you want a narrator to carry over.
178
+ *
179
+ * It used to be opt-in, back when the only route was dubbing and OFF was the safe
180
+ * default. That inverted the moment on-camera started meaning the video model voices
181
+ * the clip itself: measured on a real run, a brief that said "talking to camera all the
182
+ * way through" produced an ad with her face on screen and a narrator cast from a prose
183
+ * description reading her lines, because nothing set this flag.
184
+ */
185
+ on_camera: z.boolean().optional(),
186
+ /**
187
+ * Whether the ad's recurring person is in this shot. Defaults to true whenever the
188
+ * spec declares a `cast`, because an ad is usually about one person and defaulting
189
+ * the other way is how continuity gets forgotten. Set false for a beat they are not
190
+ * in — a fitter on a roof, a product close-up.
191
+ */
192
+ cast: z.boolean().optional()
193
+ });
194
+ var AdSpec = z.object({
195
+ format: z.object({
196
+ aspect_ratio: z.string().default("9:16"),
197
+ resolution: z.string().default("720p")
198
+ }).default({ aspect_ratio: "9:16", resolution: "720p" }),
199
+ brand: z.object({
200
+ name: z.string().optional(),
201
+ /** Figures to lift typographically — the one gold number every ad has. */
202
+ highlight: z.array(z.string()).optional(),
203
+ /**
204
+ * Brand hex colours, most important first. They dress the brand plate and
205
+ * the type — never the scenes: pushing hex into a shot brief makes the
206
+ * model paint the whole frame that colour, which reads as a filter.
207
+ */
208
+ palette: z.array(z.string()).optional(),
209
+ /** Repo path to the brand mark, so the CTA carries it instead of a name in a font. */
210
+ logo: z.string().optional()
211
+ }).optional(),
212
+ voice: z.object({
213
+ description: z.string().min(1),
214
+ language: z.string().optional()
215
+ }).optional(),
216
+ /**
217
+ * Where the ad is set, as a place a model can picture: "Spain", "Mexico",
218
+ * "the UK". Omitted, it is the country a regional `voice.language` names ("es-MX" →
219
+ * Mexico), else nowhere: a language alone names no country.
220
+ *
221
+ * It exists because nothing else in a shot brief says where it is, and a model
222
+ * with no location picks its own. An ad for Spain came back full of British
223
+ * houses — sash windows, slate roofs, English suburbs — in every single frame,
224
+ * from briefs that were otherwise perfectly good.
225
+ */
226
+ market: z.string().min(1).optional(),
227
+ /**
228
+ * The one person the ad is about.
229
+ *
230
+ * Declared once and grounded on every beat they appear in, because the engine already
231
+ * builds a reference sheet from this and tells each frame to render THE SAME
232
+ * individual. Without it each beat invents its own face: a 28-second ad came back
233
+ * with five different men playing one customer, which reads as a stock-footage
234
+ * collage rather than a story.
235
+ */
236
+ cast: z.object({
237
+ /**
238
+ * A cast Avatar's handle — `baker avatars list` shows who there is.
239
+ *
240
+ * The right way to put a person in an ad. The avatar already has a settled
241
+ * identity and a rendered identity sheet, so the ad grounds on the same face the
242
+ * rest of the company's work uses, and its subject description is copied verbatim
243
+ * rather than re-written per spec — re-phrasing it per render is the other reason
244
+ * a face drifts across a set.
245
+ */
246
+ avatar: z.string().min(1).optional(),
247
+ /** Who they are, plainly: age, build, hair, wardrobe, the register of the ad. */
248
+ description: z.string().min(1).optional()
249
+ }).refine((c) => Boolean(c.avatar || c.description), {
250
+ message: "give `avatar` (a cast avatar's handle) or `description` \u2014 a cast with neither grounds on nothing"
251
+ }).optional(),
252
+ /**
253
+ * The bed, described in words — or `false` for an ad that is meant to be dry.
254
+ *
255
+ * Omitted lays a soft, neutral bed. It used to leave the ad silent, on the reasoning
256
+ * that silence is a legitimate choice; it is, but only as a choice. In practice nothing
257
+ * ever set this, and finished ads shipped with a voice over nothing — which reads as
258
+ * unfinished, not as restraint. A bed is the ordinary case, so it is the default, and
259
+ * an ad that wants silence says `false` and means it.
260
+ *
261
+ * The bed never plays over the first beat: the opening line is the scroll-stopper and
262
+ * has to read clean. That is the engine's rule, not this one, and it is why the prompt
263
+ * is all this needs to carry.
264
+ */
265
+ music: z.union([z.string().min(1), z.literal(false)]).optional(),
266
+ /**
267
+ * The place the ad keeps coming back to, held still across every shot.
268
+ *
269
+ * The person has an identity sheet; nothing held the SETTING. Each shot's start frame is
270
+ * generated on its own, so three beats in "her living room" came back as three different
271
+ * living rooms. The engine already builds `location` reference sheets — its own comment
272
+ * calls them the strongest cross-scene consistency lock it has — and the ad path simply
273
+ * never emitted one.
274
+ *
275
+ * `image` is a real picture of the place, and it is what makes this work at all: a sheet
276
+ * fuses source material into a turnaround. Fed nothing, it is not a reference sheet, it
277
+ * is `image_generate` with extra steps — the model registry says exactly that. Generate
278
+ * the plate once with gpt-image-2 and pass its URL here.
279
+ */
280
+ set: z.object({
281
+ description: z.string().min(1).max(400),
282
+ image: z.string().min(1).optional()
283
+ }).optional(),
284
+ /**
285
+ * How the ad closes.
286
+ *
287
+ * On by default whenever the spec carries a brand, because an ad that stops instead
288
+ * of closing is what shipped: the last caption fell four seconds before the last
289
+ * frame and the picture simply ran out on a man shuffling paper. The closing beat's
290
+ * PICTURE becomes a flat brand plate — the engine already refuses to generate one as
291
+ * a photograph, since a video model garbles a wordmark — and the mark and the call to
292
+ * action are drawn over it by the composition.
293
+ *
294
+ * `false` opts out, for an ad that genuinely ends on its footage.
295
+ */
296
+ end_card: z.union([
297
+ z.literal(false),
298
+ z.object({
299
+ /**
300
+ * The words on the button. No default — with none the card carries the mark
301
+ * alone, because falling back to the last beat's line printed that sentence
302
+ * twice on the closing frame. See `endCardCta`.
303
+ */
304
+ cta: z.string().min(1).optional()
305
+ })
306
+ ]).optional(),
307
+ /**
308
+ * Whether a voice reads the lines.
309
+ *
310
+ * On by default. Turned off, the ad carries its music and its pictures and the `say`
311
+ * lines become ON-SCREEN text instead of spoken ones — which is how most music-led
312
+ * social ads are actually built.
313
+ *
314
+ * It exists because an agent wanted exactly this and had no way to ask: it wrote "·"
315
+ * as every line with a voice description reading "No voiceover; music only". The dot
316
+ * was sent to the voice model, the near-silence that came back was transcribed, and
317
+ * the transcriber hallucinated "Thank you." — which became the ad's only caption card,
318
+ * held over all sixteen seconds, in English, in a Spanish ad.
319
+ *
320
+ * The captions are BETTER on this path, not worse: they come from the script itself
321
+ * rather than from transcribing a rendered read, so the text is exact and no speech
322
+ * model is between the copy and the screen.
323
+ */
324
+ voiceover: z.boolean().default(true),
325
+ beats: z.array(Beat).min(2)
326
+ });
327
+ function presenterIsInEveryShot(spec) {
328
+ if (!spec.cast) return false;
329
+ const storyBeats = spec.beats.filter((_, i) => !(endCardWanted(spec) && i === spec.beats.length - 1));
330
+ return storyBeats.length >= 3 && storyBeats.every((b) => b.cast !== false);
331
+ }
332
+ var CURRENCY_BY_MARKET = {
333
+ spain: "\u20AC (euros)",
334
+ mexico: "$ (Mexican pesos)",
335
+ portugal: "\u20AC (euros)",
336
+ brazil: "R$ (reais)",
337
+ france: "\u20AC (euros)",
338
+ italy: "\u20AC (euros)",
339
+ germany: "\u20AC (euros)",
340
+ "united kingdom": "\xA3 (pounds sterling)",
341
+ "united states": "$ (US dollars)"
342
+ };
343
+ var currencyFor = (market) => CURRENCY_BY_MARKET[market.trim().toLowerCase().replace(/^the\s+/, "")];
344
+ function spokenLanguageFor(spec, known = {}) {
345
+ const declared = spec.voice?.language ? spokenLanguage(spec.voice.language) : null;
346
+ if (declared) return declared.tag;
347
+ const defined = known.definitionLanguage ? spokenLanguage(known.definitionLanguage) : null;
348
+ if (defined) return defined.tag;
349
+ return known.reading?.scriptLanguage;
350
+ }
351
+ function marketFor(spec, definitionLanguage) {
352
+ if (spec.market) return spec.market;
353
+ for (const tag of [spec.voice?.language, definitionLanguage]) {
354
+ const region = tag ? spokenLanguage(tag)?.region : void 0;
355
+ if (region) return region.name;
356
+ }
357
+ return void 0;
358
+ }
359
+ function beatSeconds(line, videoModel) {
360
+ const spoken = wordCount(line) / READ_WORDS_PER_SECOND;
361
+ const allowed = (videoModel ? clipDurationsFor(videoModel) : void 0) ?? [...SEEDANCE_DURATIONS].sort((a, b) => a - b);
362
+ const wanted = Math.max(spoken, SPOKEN_CLIP_DURATION_S);
363
+ return allowed.find((d) => d >= wanted) ?? allowed[allowed.length - 1];
364
+ }
365
+ var BRAND_PLATE = "A solid flat brand colour plate \u2014 an end card. No people, no objects, no scenery, no text of any kind.";
366
+ function endCardWanted(spec) {
367
+ if (spec.end_card === false) return false;
368
+ return Boolean(spec.brand?.name || spec.brand?.logo);
369
+ }
370
+ function endCardCta(spec) {
371
+ if (!endCardWanted(spec)) return null;
372
+ const declared = spec.end_card === false ? void 0 : spec.end_card?.cta?.trim();
373
+ if (!declared) return null;
374
+ const closing = (spec.beats[spec.beats.length - 1]?.say ?? "").trim().toLowerCase();
375
+ return declared.toLowerCase().replace(/[.!?]$/, "") === closing.replace(/[.!?]$/, "") ? null : declared;
376
+ }
377
+ var AD_CAST_ID = "customer";
378
+ var AD_NARRATOR_ID = "ad_narrator";
379
+ var AD_SET_ID = "set";
380
+ function castedAvatarOnRoster(ad, roster) {
381
+ if (ad.cast?.avatar) return null;
382
+ const haystack = [ad.cast?.description ?? "", ...(ad.beats ?? []).map((b) => b.show ?? "")].join(" ");
383
+ if (!haystack.trim()) return null;
384
+ const written = new Set(haystack.split(/[^\p{L}\p{N}]+/u).filter(Boolean));
385
+ for (const person of roster) {
386
+ if (labelWrittenAsName(person.name, written) || labelWrittenAsName(person.handle, written)) return person.handle;
387
+ }
388
+ return null;
389
+ }
390
+ function labelWrittenAsName(label, written) {
391
+ const token = label.trim();
392
+ if (!token || token.includes("-") || token.length < 3) return false;
393
+ const folded = token.toLowerCase();
394
+ for (const word of written) {
395
+ if (word.toLowerCase() === folded && word[0] === word[0]?.toUpperCase()) return true;
396
+ }
397
+ return false;
398
+ }
399
+ function adSpecCastElements(spec, avatar) {
400
+ const lastIndex = spec.beats.length - 1;
401
+ const speakingScenes = spec.beats.map((_, i) => i).filter((i) => !(endCardWanted(spec) && i === lastIndex));
402
+ const place = spec.set?.description?.trim();
403
+ const elements = [];
404
+ if (place && speakingScenes.length > 0) {
405
+ elements.push({
406
+ type: "location",
407
+ label: AD_SET_ID,
408
+ cast_id: AD_SET_ID,
409
+ description: place,
410
+ scenes: speakingScenes,
411
+ ...spec.set?.image?.trim() ? { source_image: spec.set.image.trim() } : {}
412
+ });
413
+ }
414
+ const description = (avatar?.subjectDescription ?? spec.cast?.description)?.trim();
415
+ if (!description) return elements;
416
+ const scenes = spec.beats.map((beat, i) => ({ beat, i })).filter(({ beat, i }) => beat.cast !== false && !(endCardWanted(spec) && i === lastIndex)).map(({ i }) => i);
417
+ if (scenes.length === 0) return elements;
418
+ const sheet = avatar?.sheetUrl?.trim();
419
+ elements.push({
420
+ type: "person",
421
+ label: AD_CAST_ID,
422
+ // Same id the dialogue names as speaker: that pairing is what lets the engine see
423
+ // the presenter as present in a scene and route it to native audio.
424
+ cast_id: AD_CAST_ID,
425
+ description,
426
+ scenes,
427
+ // An avatar's identity sheet IS the turnaround the engine would otherwise render,
428
+ // so it is handed over as one. Left unmarked, the run paid to generate a sheet OF
429
+ // a sheet and every frame grounded on the copy instead of the avatar.
430
+ ...sheet ? { source_image: sheet, source_is_sheet: true } : {}
431
+ });
432
+ return elements;
433
+ }
434
+ function motionPrompt(beat, toCamera, isClosingCard, place) {
435
+ if (isClosingCard) return BRAND_PLATE;
436
+ const shot = `${beat.show}${place}`;
437
+ if (toCamera) return shot;
438
+ return `${shot} Nobody in frame is speaking: mouths CLOSED and STILL throughout, no talking, no lip movement. Whoever is in shot is looking, reacting or working \u2014 never addressing the camera.`;
439
+ }
440
+ function staticTranscript(spec, videoModel) {
441
+ const out = [];
442
+ let clock = 0;
443
+ for (const beat of spec.beats) {
444
+ const duration = beatSeconds(beat.say, videoModel);
445
+ const words = beat.say.trim().split(/\s+/).filter(Boolean);
446
+ const each = words.length > 0 ? duration / words.length : duration;
447
+ words.forEach((text, i) => {
448
+ const start = clock + i * each;
449
+ out.push({
450
+ text,
451
+ start: Math.round(start * 100) / 100,
452
+ end: Math.round((start + each) * 100) / 100
453
+ });
454
+ });
455
+ clock += duration;
456
+ }
457
+ return out;
458
+ }
459
+ function spokenVariety(avatarAccent, market) {
460
+ const accent = avatarAccent?.trim();
461
+ if (accent) return `${accent} \u2014 perform the pronunciation of that region, not a neutral one`;
462
+ if (!market) return null;
463
+ return `the local accent of ${market} \u2014 the way people there actually speak, not a neighbouring country's variety of the same language`;
464
+ }
465
+ function musicBed(spec) {
466
+ if (spec.music === false) return null;
467
+ if (typeof spec.music === "string") return spec.music;
468
+ return "A soft, warm instrumental bed that sits well under a spoken voiceover: gentle acoustic guitar or soft piano with light pads, steady and unobtrusive, no vocals, no lyrics, no drop, no build to a climax, nothing that pulls attention off the voice.";
469
+ }
470
+ function beatToCamera(spec, beat, isClosingCard) {
471
+ if (isClosingCard) return false;
472
+ if (spec.cast?.avatar && beat.cast !== false) return true;
473
+ if (beat.on_camera !== void 0) return beat.on_camera;
474
+ return Boolean(spec.cast) && beat.cast !== false;
475
+ }
476
+ function beatsIntroducingSpeakerOffCamera(spec, reading) {
477
+ const closesOnCard = endCardWanted(spec);
478
+ const last = spec.beats.length - 1;
479
+ return spec.beats.flatMap(
480
+ (beat, i) => reading.introducesSpeaker[i] === true && !beatToCamera(spec, beat, closesOnCard && i === last) ? [i] : []
481
+ );
482
+ }
483
+ function beatSpeaksNatively(spec, beat, isClosingCard) {
484
+ if (!spec.cast || spec.voiceover === false) return false;
485
+ return beatToCamera(spec, beat, isClosingCard) && beat.cast !== false;
486
+ }
487
+ function beatDialogue(spec, beat, window) {
488
+ if (spec.voiceover === false) return [];
489
+ const narrator = narratorVoice(spec, window.avatarVoice);
490
+ return [
491
+ {
492
+ line: beat.say,
493
+ start_s: window.start,
494
+ end_s: window.end,
495
+ // Always stated, never left to the engine: absent, it guesses from who is in frame,
496
+ // which is how a still photograph once got lip-synced.
497
+ on_camera: beatToCamera(spec, beat, window.isClosingCard),
498
+ // Naming the CAST as speaker is the other half of what sends this beat down the
499
+ // native path. Left unnamed, the speaker defaults to "voiceover" — a narrator, who is
500
+ // by definition never on camera — so every beat took the dubbed path: a clip generated
501
+ // with one mouth and a separate ElevenLabs track laid over it. That is the mismatch
502
+ // behind every "the mouth does not match" in this ad's history.
503
+ //
504
+ // A beat that is NOT hers names the ad's OWN narrator (`AD_NARRATOR_ID`), rather
505
+ // than leaving the label off. A different speaker is what breaks the phrase, and a
506
+ // phrase break is what keeps each beat its own clip: left unlabelled, the engine read
507
+ // the cutaway as her narrating over an insert in one continuous take and merged the
508
+ // beats around it into a single native read with the dubbed one laid on top.
509
+ speaker: window.nativeSpeech ? AD_CAST_ID : AD_NARRATOR_ID,
510
+ // The narrator is cast from the ad's voice, and failing that from the CAST's own
511
+ // description. Naming a speaker of our own cost this: the engine casts an unnamed
512
+ // narrator by folding it into the lone presenter and reusing her casting, so the
513
+ // closing line inherited her persona for free. Named, it is a speaker in nobody's
514
+ // `cast`, and the engine's last-resort description for one of those is the literal
515
+ // "<speaker> voice" — so an ad with an avatar, a closing card and no `voice`
516
+ // (a perfectly ordinary spec) had its closing tagline cast off the words
517
+ // "ad_narrator voice".
518
+ ...narrator ? { voice_description: narrator } : {}
519
+ }
520
+ ];
521
+ }
522
+ function narratorVoice(spec, avatarVoice) {
523
+ return spec.voice?.description?.trim() || avatarVoice?.trim() || spec.cast?.description?.trim() || void 0;
524
+ }
525
+ function nativeSpeechByBeat(spec, closesOnCard) {
526
+ const last = spec.beats.length - 1;
527
+ return spec.beats.map((beat, i) => beatSpeaksNatively(spec, beat, closesOnCard && i === last));
528
+ }
529
+ function voiceoverMode(spec, nativeByBeat, closesOnCard) {
530
+ if (spec.voiceover === false) return "none";
531
+ const spoken = closesOnCard ? nativeByBeat.slice(0, -1) : nativeByBeat;
532
+ const native = spoken.filter(Boolean).length;
533
+ if (native === 0) return "voiceover";
534
+ return native === spoken.length ? "on_camera" : "mixed";
535
+ }
536
+ function castRole(spec, reading) {
537
+ if (!spec.cast) return void 0;
538
+ const described = spec.cast.description?.trim();
539
+ if (!described) return "a customer telling their own story, not a worker";
540
+ if (reading?.castWorksThere === false) return `${described} \u2014 a customer telling their own story, not a worker`;
541
+ return described;
542
+ }
543
+ function adSpecToBlueprint(spec, opts = {}) {
544
+ const avatarAccent = opts.avatarAccent;
545
+ const total = spec.beats.length;
546
+ const market = marketFor(spec, opts.definitionLanguage);
547
+ const place = market ? ` Set in ${market}: the architecture, streets and styling are ${market}'s.` : "";
548
+ const currency = market ? currencyFor(market) : void 0;
549
+ const physics = frameRealismDirection({ currency, role: castRole(spec, opts.reading) });
550
+ const closesOnCard = endCardWanted(spec);
551
+ const nativeByBeat = nativeSpeechByBeat(spec, closesOnCard);
552
+ const spokenMode = voiceoverMode(spec, nativeByBeat, closesOnCard);
553
+ let clock = 0;
554
+ const scenes = spec.beats.map((beat, i) => {
555
+ const isClosingCard = closesOnCard && i === total - 1;
556
+ const duration = beatSeconds(beat.say, opts.videoModel);
557
+ const start = clock;
558
+ clock += duration;
559
+ return {
560
+ start_s: Math.round(start * 100) / 100,
561
+ end_s: Math.round(clock * 100) / 100,
562
+ duration_s: duration,
563
+ summary: isClosingCard ? `${BRAND_PLATE} ${beat.say}` : beat.say,
564
+ narrative_role: authoredRole(i, total),
565
+ ...isClosingCard ? { route_hint: "brand_card" } : {},
566
+ // The read is built from per-scene dialogue, not from the global
567
+ // transcript: emitting only the transcript scaffolds a SILENT ad. And
568
+ // `on_camera` is the engine's own switch for "this line is narration" —
569
+ // absent, it guesses from who is in frame, which is how a still photograph
570
+ // once got lip-synced.
571
+ // No dialogue at all when nobody speaks: an empty array is what stops the engine
572
+ // wiring a voice track, and no voice track is what makes this a music-led ad
573
+ // rather than one with a silent narrator.
574
+ // One effect per beat, placed on this beat's window. The engine clamps the
575
+ // length to what the provider accepts. An ad emitted none of these until now,
576
+ // so every one shipped with a music bed and no sound design at all.
577
+ ...beat.sound?.trim() ? { sfx: [{ sound_effect_prompt: beat.sound.trim(), duration_s: Math.min(duration, 30) }] } : {},
578
+ dialogue: beatDialogue(spec, beat, {
579
+ start: Math.round(start * 100) / 100,
580
+ end: Math.round(clock * 100) / 100,
581
+ isClosingCard,
582
+ nativeSpeech: nativeByBeat[i] === true,
583
+ avatarVoice: opts.avatarVoice
584
+ }),
585
+ motion_prompt: motionPrompt(beat, beatToCamera(spec, beat, isClosingCard), isClosingCard, place),
586
+ start_frame_prompt: isClosingCard ? BRAND_PLATE : `${beat.show}${place}${physics}`
587
+ };
588
+ });
589
+ const accent = spokenVariety(avatarAccent, market);
590
+ const narrator = narratorVoice(spec, opts.avatarVoice);
591
+ const music = musicBed(spec);
592
+ return {
593
+ estimated_duration_s: Math.round(clock * 100) / 100,
594
+ global: {
595
+ transcript: spec.beats.map((b) => b.say).join(" "),
596
+ // Resolved: `marketFor` also reads the country a declared regional language names.
597
+ ...market ? { market } : {},
598
+ voiceover: {
599
+ mode: spokenMode,
600
+ ...accent ? { accent } : {},
601
+ ...narrator ? { voice_description: narrator } : {}
602
+ },
603
+ ...spec.cast ? {
604
+ cast: [
605
+ {
606
+ id: AD_CAST_ID,
607
+ description: (spec.cast.description ?? "the ad's recurring person").trim()
608
+ }
609
+ ]
610
+ } : {},
611
+ ...spec.brand?.name || spec.brand?.logo ? {
612
+ branding: {
613
+ ...spec.brand?.name ? { name: spec.brand.name } : {},
614
+ ...spec.brand?.logo ? { logo_path: spec.brand.logo } : {}
615
+ }
616
+ } : {},
617
+ ...spec.brand?.palette?.length ? { style: { palette: spec.brand.palette.map((hex) => ({ hex })) } } : {},
618
+ ...music ? { music: { music_prompt: music } } : {}
619
+ },
620
+ scenes
621
+ };
622
+ }
623
+ var MIN_BEAT_WORDS = 4;
624
+ function beatsTooShortToPlay(spec) {
625
+ return spec.beats.map((beat, i) => ({ i, words: beat.say.trim().split(/\s+/).filter(Boolean).length })).filter(({ words }) => words < MIN_BEAT_WORDS).map(({ i }) => i + 1);
626
+ }
627
+
628
+ // src/engine/scaffold/ad-spec-reading.ts
629
+ var INTRODUCES_SPEAKER_HELD = 0.5;
630
+ var WANTS_LEGIBLE_TEXT_HELD = 0.5;
631
+ var WORKS_THERE_HELD = 0.5;
632
+ var INTRODUCES_SPEAKER = 'Does the speaker of `line` introduce themselves, saying their own name or who they are ("Hi, I\'m Marta")? A line about somebody else, or a first-person line that names nobody, is not.';
633
+ var WANTS_LEGIBLE_TEXT = "Does `brief` ask for words, a number, a price or a figure in the picture to be readable (in focus, legible, highlighted, the point of the shot)? A document, screen or sign that is only present, out of focus or not meant to be read is not.";
634
+ var WORKS_THERE = "Does `person` describe someone who works for the business in the ad (an installer, a technician, an employee, a doctor, a chef, its founder or owner, its team) rather than a customer or an ordinary person?";
635
+ function adSpecVoices(spec, avatarVoice) {
636
+ const all = [spec.voice?.description, avatarVoice, spec.cast?.description].map((d) => d?.trim() ?? "");
637
+ return [...new Set(all.filter(Boolean))];
638
+ }
639
+ function unreadAdSpec(spec) {
640
+ return {
641
+ introducesSpeaker: spec.beats.map(() => false),
642
+ wantsLegibleText: spec.beats.map(() => false),
643
+ voiceGenders: {},
644
+ captionCarriesOn: [],
645
+ read: false
646
+ };
647
+ }
648
+ var yes = (answer, held) => answer !== void 0 && "noul" in answer && answer.noul >= held;
649
+ async function readAdSpec(spec, options, readers) {
650
+ const lines = spec.beats.map((b) => b.say);
651
+ const castDescription = spec.cast?.description?.trim();
652
+ const carries = carriesOnQuestions(lines);
653
+ const sections = [
654
+ { name: "language", questions: options.askLanguage ? [languageQuestion(lines)] : [] },
655
+ {
656
+ name: "intro",
657
+ questions: lines.map((line) => ({ type: "noul", instructions: { line, question: INTRODUCES_SPEAKER } }))
658
+ },
659
+ {
660
+ name: "legible",
661
+ questions: spec.beats.map((b) => ({
662
+ type: "noul",
663
+ instructions: { brief: b.show, question: WANTS_LEGIBLE_TEXT }
664
+ }))
665
+ },
666
+ {
667
+ name: "works",
668
+ questions: castDescription ? [{ type: "noul", instructions: { person: castDescription, question: WORKS_THERE } }] : []
669
+ },
670
+ { name: "carries", questions: carries.questions }
671
+ ];
672
+ const [answers, genders] = await Promise.all([
673
+ readers.ask(sections.flatMap((s) => s.questions)),
674
+ readers.genders(options.voices).catch(() => null)
675
+ ]);
676
+ const voiceGenders = genders ?? {};
677
+ if (!answers) return { ...unreadAdSpec(spec), voiceGenders };
678
+ const bySection = /* @__PURE__ */ new Map();
679
+ let at = 0;
680
+ for (const section of sections) {
681
+ bySection.set(section.name, answers.slice(at, at + section.questions.length));
682
+ at += section.questions.length;
683
+ }
684
+ const of = (name) => bySection.get(name) ?? [];
685
+ const scriptLanguage = languageFromAnswer(of("language")[0]);
686
+ const works = of("works")[0];
687
+ return {
688
+ ...scriptLanguage ? { scriptLanguage } : {},
689
+ introducesSpeaker: lines.map((_, i) => yes(of("intro")[i], INTRODUCES_SPEAKER_HELD)),
690
+ wantsLegibleText: spec.beats.map((_, i) => yes(of("legible")[i], WANTS_LEGIBLE_TEXT_HELD)),
691
+ ...works && "noul" in works ? { castWorksThere: works.noul >= WORKS_THERE_HELD } : {},
692
+ voiceGenders,
693
+ captionCarriesOn: carriesOnFromAnswers(carries.words, of("carries")),
694
+ read: true
695
+ };
696
+ }
697
+
698
+ // src/engine/scaffold/ad-display-face.ts
699
+ var AD_DISPLAY_FAMILY = "AdDisplay";
700
+ function displayFontStack(face) {
701
+ const fallback = "'Arial Black', 'Helvetica Neue', Arial, sans-serif";
702
+ return face ? `'${face}', ${fallback}` : fallback;
703
+ }
704
+ function adDisplayFaceCss(file) {
705
+ return [
706
+ " /* --- the brand's face (baker canvas scaffold-ad) --- */",
707
+ ` @font-face { font-family: '${AD_DISPLAY_FAMILY}'; src: url('./${file}'); font-weight: 100 900; font-display: block; }`,
708
+ ` .caption-group { font-family: ${displayFontStack(AD_DISPLAY_FAMILY)}; }`
709
+ ].join("\n");
710
+ }
711
+ function injectAdDisplayFace(indexHtml, file) {
712
+ return indexHtml.replace(" </style>", `${adDisplayFaceCss(file)}
713
+ </style>`);
714
+ }
715
+
716
+ // src/engine/scaffold/ad-layer-placement.ts
717
+ var CAPTION_MIN_LIFT = 0.1;
718
+ function adLayerPlacement(aspect) {
719
+ const safe = videoSafeArea(aspect);
720
+ return {
721
+ caption: { bottom: Math.max(safe.bottom, CAPTION_MIN_LIFT), side: Math.max(safe.left, safe.right) },
722
+ mark: { top: safe.top, left: safe.left },
723
+ card: safe
724
+ };
725
+ }
726
+ var cssPct = (fraction) => `${Math.round(fraction * 1e3) / 10}%`;
727
+ function adCaptionPlacementCss(aspect) {
728
+ const { caption } = adLayerPlacement(aspect);
729
+ return [
730
+ " /* --- caption placement (baker canvas scaffold-ad) --- */",
731
+ " /* Relative to the frame and inside what the platform leaves clear: Reels covers the",
732
+ " bottom 35% of a 9:16 frame, and cards drawn at the old 320px sat under it. */",
733
+ ` .caption-container { bottom: ${cssPct(caption.bottom)}; padding: 0 ${cssPct(caption.side)}; }`,
734
+ ` .caption-group { bottom: 0; max-width: ${cssPct(1 - 2 * caption.side)}; }`
735
+ ].join("\n");
736
+ }
737
+ function injectAdCaptionPlacement(indexHtml, aspect) {
738
+ return indexHtml.replace(" </style>", `${adCaptionPlacementCss(aspect)}
739
+ </style>`);
740
+ }
741
+
742
+ // src/engine/scaffold/ad-brand-overlay.ts
743
+ var markFallback = (name) => name.trim() ? ` onerror="this.replaceWith(Object.assign(document.createElement('span'),{className:this.className+' brand-wordmark',textContent:${escapeHtml(JSON.stringify(name.trim()))}}))"` : "";
744
+ function buildAdBrandOverlay(opts) {
745
+ const { logo, cta, cardAtS, cardDurationS, totalS } = opts;
746
+ if (!logo && !cta?.trim()) return "";
747
+ const inkClass = opts.markIsLight ? " on-dark" : "";
748
+ const parts = [
749
+ "<!-- Brand layer, emitted by `baker canvas scaffold-ad`. The mark and the closing",
750
+ " card are drawn HERE, by the composition \u2014 never generated as a picture, because",
751
+ " a video model garbles a wordmark every time. Restyle freely, but keep the",
752
+ " data-start/data-dur attributes and the script below: that script is what shows",
753
+ " and hides these, and the host composition has nothing that would. -->"
754
+ ];
755
+ if (logo) {
756
+ parts.push(
757
+ `<img class="clip brand-mark${inkClass}" src="${escapeHtml(logo.file)}" alt="${escapeHtml(logo.alt)}" data-start="0" data-dur="${totalS}"${markFallback(logo.alt)} />`
758
+ );
759
+ }
760
+ const cardBits = [];
761
+ if (logo) {
762
+ cardBits.push(
763
+ `<img class="endcard-logo${inkClass}" src="${escapeHtml(logo.file)}" alt="${escapeHtml(logo.alt)}"${markFallback(logo.alt)} />`
764
+ );
765
+ }
766
+ if (cta?.trim()) {
767
+ cardBits.push(
768
+ `<div class="endcard-cta${opts.plateIsDark ? " on-dark-plate" : ""}">${escapeHtml(cta.trim())}</div>`
769
+ );
770
+ }
771
+ parts.push(
772
+ `<div class="clip endcard" data-start="${cardAtS}" data-dur="${cardDurationS}" data-role="cta">`,
773
+ ...cardBits.map((b) => ` ${b}`),
774
+ "</div>",
775
+ brandLayerDriver()
776
+ );
777
+ return parts.join("\n");
778
+ }
779
+ function brandLayerDriver() {
780
+ return [
781
+ "<script>",
782
+ " (function () {",
783
+ " var els = Array.prototype.slice.call(document.querySelectorAll('.brand-mark, .endcard'));",
784
+ " if (!els.length) return;",
785
+ " els.forEach(function (el) { gsap.set(el, { visibility: 'hidden' }); });",
786
+ " var card = document.querySelector('.endcard');",
787
+ " var captions = document.getElementById('captions');",
788
+ " function attach(tl) {",
789
+ " if (!tl) return;",
790
+ " els.forEach(function (el) {",
791
+ " var at = parseFloat(el.getAttribute('data-start') || '0') || 0;",
792
+ " var dur = parseFloat(el.getAttribute('data-dur') || '0') || 0;",
793
+ " tl.set(el, { visibility: 'visible' }, at);",
794
+ " if (dur > 0) tl.set(el, { visibility: 'hidden' }, at + dur);",
795
+ " });",
796
+ " // The closing card owns the frame it lands on. The caption track otherwise",
797
+ " // keeps running underneath it, and what it captions there is the line spoken",
798
+ " // OVER the card \u2014 the call to action, printed a second time in smaller letters",
799
+ " // directly below the button that already says it. Hidden on the CONTAINER and",
800
+ " // with `display`, because each caption group sets its own `visibility: visible`",
801
+ " // and would win against anything set on its parent.",
802
+ " if (card && captions) {",
803
+ " var cardAt = parseFloat(card.getAttribute('data-start') || '0') || 0;",
804
+ " var cardDur = parseFloat(card.getAttribute('data-dur') || '0') || 0;",
805
+ " tl.set(captions, { display: 'none' }, cardAt);",
806
+ " if (cardDur > 0) tl.set(captions, { display: '' }, cardAt + cardDur);",
807
+ " }",
808
+ " }",
809
+ " var store = window.__timelines || {};",
810
+ " var main = store.main;",
811
+ " if (main) { attach(main); return; }",
812
+ " Object.defineProperty(store, 'main', {",
813
+ " configurable: true,",
814
+ " get: function () { return main; },",
815
+ " set: function (tl) { main = tl; attach(tl); },",
816
+ " });",
817
+ " window.__timelines = store;",
818
+ " })();",
819
+ "</script>"
820
+ ].join("\n");
821
+ }
822
+ function adBrandOverlayCss(opts = {}) {
823
+ const { mark, card } = adLayerPlacement(opts.aspect ?? "9:16");
824
+ return [
825
+ " /* --- brand layer (baker canvas scaffold-ad) --- */",
826
+ " /* Positioned by this block alone. The composition that actually renders an ad",
827
+ " is the caption track, which has no .pos-* helpers \u2014 relying on them put the",
828
+ " brand layer in a file nothing opens and shipped an empty green end plate. */",
829
+ " /* Height-led, not width-led. Pinned to 220px WIDE, a wordmark whose SVG",
830
+ " viewBox is wider than it is tall rendered clipped \u2014 the first real ad drew",
831
+ " `greenlea`. Constraining the height and letting the width follow keeps any",
832
+ " aspect ratio whole, and the max-width stops a very wide mark spanning the frame. */",
833
+ " /* A LIGHT panel behind the mark by DEFAULT. A brand mark is usually drawn to sit",
834
+ " on white \u2014 the first one here was #1D5D47 on transparent \u2014 so a dark backing hid",
835
+ " it on the corner and the brand-coloured closing plate erased it completely: the",
836
+ " end card came out as an empty green frame with a single leaf floating in it. A",
837
+ " near-white panel is the background most marks in a brand kit are designed",
838
+ " against; the ones that are not get `.on-dark` below. */",
839
+ " /* Placed in percentages inside the frame's safe area (`adLayerPlacement`): at a fixed",
840
+ " 90px from the top it sat under the Stories and Reels header on every 9:16 ad. */",
841
+ ` .brand-mark { position: absolute; top: ${cssPct(mark.top)}; left: ${cssPct(mark.left)}; height: 52px; width: auto;`,
842
+ " max-width: 420px; object-fit: contain; padding: 14px 22px; border-radius: 18px;",
843
+ " background: rgba(255,255,255,0.94);",
844
+ " filter: drop-shadow(0 3px 10px rgba(0,0,0,0.35)); }",
845
+ " /* Centred in the safe area, not the frame, so the mark and the call to action stay",
846
+ " clear of the chrome on a 9:16 closing card. */",
847
+ ` .endcard { position: absolute; top: ${cssPct(card.top)}; bottom: ${cssPct(card.bottom)}; left: ${cssPct(card.left)}; right: ${cssPct(card.right)};`,
848
+ " display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 56px;",
849
+ " text-align: center; }",
850
+ " /* Sized to FILL, not merely bounded. Given only max-* constraints an SVG",
851
+ " renders at its own intrinsic size, and a small viewBox drew a closing mark",
852
+ " a few dozen pixels tall in the middle of a 1080px frame. */",
853
+ " .endcard-logo { width: 62%; height: auto; max-height: 300px; object-fit: contain;",
854
+ " padding: 46px 56px; border-radius: 40px; background: rgba(255,255,255,0.96);",
855
+ " box-shadow: 0 10px 40px rgba(0,0,0,0.28); }",
856
+ " /* A mark whose own ink is LIGHT gets the opposite panel. The near-white panel",
857
+ " above is right for the mark a brand kit usually ships \u2014 drawn to sit on white",
858
+ " \u2014 and it erases the one it does not: a client's white `logo-dark.svg` rendered",
859
+ " as an empty white box in the corner, and again 300px tall on the closing card.",
860
+ " Which one a mark is gets MEASURED off the file (`markInkIsLight`), never read",
861
+ " off its name: `logo-dark` names the background it is for in one brand kit and",
862
+ " the ink itself in the next. */",
863
+ " .brand-mark.on-dark, .endcard-logo.on-dark { background: rgba(16,20,18,0.92); }",
864
+ " /* The name, when the mark itself could not be drawn. */",
865
+ ` .brand-wordmark { display: inline-block; font-family: ${displayFontStack(opts.face)};`,
866
+ " font-weight: 900; color: #14231b; letter-spacing: -0.01em; }",
867
+ " .brand-mark.brand-wordmark { font-size: 34px; line-height: 1; height: auto; }",
868
+ " .endcard-logo.brand-wordmark { font-size: 96px; line-height: 1; width: auto; }",
869
+ " /* Capped and wrapping, not sized to its content: measured in a real browser,",
870
+ " `GET YOUR FREE QUOTE` renders 948px wide against a 1080px canvas, so the next",
871
+ " slightly longer call to action runs off the frame. Two lines beat an edge. */",
872
+ " /* The SAME family the caption track uses, and only names the compiler maps.",
873
+ " Declaring one matters \u2014 rendered without it the call to action inherited the",
874
+ " document default and came out in Times beside sans-serif captions. But the",
875
+ " first attempt led with 'BrandFont', which the overlay composition defines and",
876
+ " the caption composition does not: HyperFrames refuses an unmapped family and",
877
+ " the whole render died with `No deterministic font mapping for: BrandFont`. */",
878
+ " /* The button is the OPPOSITE of the plate it sits on. Filling it with the brand",
879
+ " colour made it invisible \u2014 the plate is filled with that same colour, so the",
880
+ " button was brand-on-brand and its white copy read as another caption line \u2014",
881
+ " and a fixed near-black fill is that defect mirrored, on the black plate an ad",
882
+ " with no palette gets. The plate carries the brand; the button carries the",
883
+ " contrast. Light copy on the near-black default, dark copy on the light one. */",
884
+ ` .endcard-cta { font-family: ${displayFontStack(opts.face)};`,
885
+ " font-size: 64px; font-weight: 900; text-transform: uppercase;",
886
+ " letter-spacing: 0.01em; color: #fff; padding: 28px 58px; border-radius: 56px;",
887
+ " max-width: 900px; line-height: 1.15; background: rgba(0,0,0,0.82); }",
888
+ " .endcard-cta.on-dark-plate { background: rgba(255,255,255,0.96); color: #14231b; }"
889
+ ].join("\n");
890
+ }
891
+ function injectAdBrandOverlay(indexHtml, overlayHtml, style = {}) {
892
+ if (!overlayHtml.trim()) return indexHtml;
893
+ const withCss = indexHtml.replace(" </style>", `${adBrandOverlayCss(style)}
894
+ </style>`);
895
+ if (withCss.includes("<!--OVERLAYS-->")) return withCss.replace("<!--OVERLAYS-->", () => overlayHtml);
896
+ const rootClose = withCss.lastIndexOf("</div>");
897
+ if (rootClose === -1) return withCss;
898
+ return `${withCss.slice(0, rootClose)}${overlayHtml}
899
+ ${withCss.slice(rootClose)}`;
900
+ }
901
+
902
+ // src/commands/canvas/scaffold-ad.ts
903
+ function pinnedOnAvatar(handle, model) {
904
+ const hint = pinnedModelHint({ avatar: handle ?? void 0, model, generateAudio: true });
905
+ return hint ? [hint] : [];
906
+ }
907
+ var AD_SPEC_FILE = "ad.spec.json";
908
+ registerSchema({
909
+ command: "canvas.scaffold-ad",
910
+ description: "Build a captioned vertical ad from a WRITTEN SPEC \u2014 no reference video. Start here when someone asks for an ad, a promo or a UGC-style clip and there is nothing to copy: `scaffold-video` reproduces a video you already have, this one writes a new one. You supply a spec of BEATS, and a beat is one line the voice says plus one shot the viewer sees while it is said. Everything else \u2014 the read, the caption cards, the clips, the music, the render \u2014 is derived from that pair, so the ad cannot drift out of sync with itself.",
911
+ args: {
912
+ spec: {
913
+ type: "string",
914
+ required: true,
915
+ description: 'Path to the ad spec JSON. Shape: { format?, market?, brand?, cast?, end_card?, voice?, music?, beats: [{ say, show, on_camera?, cast? }] }. Fill `brand` from src/brand/BRAND.md \u2014 `palette` (its hex tokens, most important first) and `logo` (the repo path to the mark) are what make the ad look like the client rather than like stock. `market` is where the ad is set ("Mexico"); omitted, it is the country of a regional `voice.language` ("es-MX"), else nowhere \u2014 a language alone names no country, and an ad with no place is what fills a Spanish ad with British houses. `voice.language` is a BCP-47 tag; omitted, the language is read off the `say` lines. `say` is one clause ending in its own punctuation \u2014 it becomes a caption card verbatim, so two sentences in one beat produce a card holding both. `show` is the shot brief for that line. Set `on_camera` only when that beat\'s subject talks to camera. A beat\'s `sound` is one sound effect for that shot, and most beats should not have one. Add it only where the picture shows a specific physical event the viewer expects to hear (a drill tightening a bolt, a door closing, rain on glass, a graphic snapping in). On a talking head or a calm lifestyle shot it reads as a stock sting, and one per beat turns a quiet ad into a noisy one. A music bed plus two well-placed effects beats eight. `voiceover: false` makes it a MUSIC-LED ad: nobody speaks, the `say` lines become on-screen text captioned straight from the script, and it needs `music`. `cast` is WHO the ad is about, and an ad with people in it needs one: `{ "avatar": "marta" }` names a cast avatar (`baker avatars list`) and every beat is grounded on that avatar\'s identity sheet with its subject description copied verbatim \u2014 the same face here as in the rest of the company\'s work. Without it each beat invents its own stranger, which is how one 28-second ad came back with five different men playing one customer. `{ "description": "..." }` invents a realistic person for this one ad: a candid portrait is generated from the description and every beat grounds on it. Use an avatar only when the same actor must recur across ads. A beat sets `cast: false` for a shot they are not in. `end_card` is on by default whenever `brand` is set: the last beat becomes a flat brand plate with the mark and a call to action drawn over it. `{ "cta": "..." }` sets the button copy \u2014 there is no default, so with no `cta` the card carries the mark alone, and a `cta` repeating the closing line is dropped rather than printed twice. `false` keeps the footage.'
916
+ },
917
+ avatar: {
918
+ type: "string",
919
+ required: false,
920
+ description: "Cast this avatar as the ad's recurring person \u2014 the same flag, the same word and the same meaning as on `baker studio generate` and `baker studio animate`. Every beat they appear in is grounded on their identity sheet and their subject description is copied verbatim, so it is one face throughout and the same face as the rest of the company's work. Overrides `cast.avatar` in the spec. `baker avatars list` shows who there is."
921
+ },
922
+ "no-brand": {
923
+ type: "boolean",
924
+ description: "Build the ad with no brand layer at all: no logo and no closing card. For an ad they asked to keep plain. A missing logo does not need it: with no mark in src/brand/logos/ the ad is built without the corner mark and the hints say how to add one. Never draw a stand-in mark.",
925
+ required: false,
926
+ default: false
927
+ },
928
+ "video-model": {
929
+ type: "string",
930
+ required: false,
931
+ description: "Curated video model id for the shots. Only for comparing models on one brief.",
932
+ enum: [...VIDEO_GENERATE_MODELS]
933
+ },
934
+ platforms: {
935
+ type: "string",
936
+ required: false,
937
+ description: "Where the ad runs, the main platform first (meta, linkedin, tiktok, \u2026): recorded in _definition.md. Take it from the person's request or the idea."
938
+ },
939
+ slug: {
940
+ type: "string",
941
+ required: false,
942
+ description: "Creative slug \u2014 writes to src/creatives/<slug>/<slug>.canvas.json"
943
+ },
944
+ out: {
945
+ type: "string",
946
+ required: false,
947
+ description: "Output canvas path (default <spec-dir>/<name>.canvas.json)"
948
+ }
949
+ }
950
+ });
951
+ function avatarVoiceBrief(avatar) {
952
+ if (!avatar) return void 0;
953
+ const parts = [avatar.subjectDescription, avatar.profile?.persona, avatar.profile?.speech].map((p) => p?.trim()).filter((p) => Boolean(p));
954
+ return parts.length > 0 ? parts.join("; ") : void 0;
955
+ }
956
+ var scaffoldAdCommand = defineCommand({
957
+ meta: {
958
+ name: "scaffold-ad",
959
+ description: 'Build a captioned vertical ad from a written spec, with no reference video to copy.\n\nA spec is a list of BEATS. One beat = one line the voice says + one shot on screen while it is said. That pairing is what keeps the ad honest: the caption card IS the line, so it can never end mid-sentence, and the picture can never drift from the read.\n\nTwo rules the spec enforces for you, both learned the expensive way:\n \u2022 `say` is one clause with its own punctuation. Two sentences in a beat is rejected.\n \u2022 Nobody in shot is speaking unless you set `on_camera` on that beat. A person visibly talking under a voice that is not theirs reads as bad dubbing.\n\nExample spec:\n { "beats": [\n { "say": "Mientras t\xFA sigues pagando la luz a precio de oro,", "show": "Aerial over Spanish rooftops at golden hour." },\n { "say": "Haz clic en el enlace y reserva tu estudio gratuito.", "show": "A couple walking home at sunset." } ] }\n\nWho is in it:\n `cast: { avatar: "marta" }` grounds every beat on that avatar\'s face \u2014 cast one with `baker avatars`.\n Without a cast, each beat invents its own person and the ad reads as a stock-footage collage.\n\nHow it ends: with a `brand`, the last beat closes on a flat brand plate carrying the mark and the CTA.\n\nThen: baker canvas run <the canvas it writes>'
960
+ },
961
+ args: {
962
+ spec: { type: "string", required: true, description: "Path to the ad spec JSON" },
963
+ avatar: { type: "string", required: false, description: "Cast this avatar as the ad's recurring person \u2014 the same flag, the same word and the same meaning as on `baker studio generate` and `baker studio animate`. Every beat they appear in is grounded on their identity sheet and their subject description is copied verbatim, so it is one face throughout and the same face as the rest of the company's work. Overrides `cast.avatar` in the spec. `baker avatars list` shows who there is." },
964
+ "video-model": {
965
+ type: "string",
966
+ required: false,
967
+ description: "Which curated video model renders the shots. Defaults to the one the lane picks; pass this only to compare models on the same brief, because mixing models across a campaign changes how the same face reads. `baker canvas catalog --node video_generate` lists what each one takes."
968
+ },
969
+ "no-brand": {
970
+ type: "boolean",
971
+ required: false,
972
+ default: false,
973
+ description: "Build the ad with no brand layer at all: no logo and no closing card. For an ad they asked to keep plain. A missing logo does not need it: the ad is then built without the corner mark."
974
+ },
975
+ platforms: {
976
+ type: "string",
977
+ required: false,
978
+ description: "Where the ad runs, the main platform first (meta, linkedin, tiktok, \u2026): recorded in _definition.md. Take it from the person's request or the idea."
979
+ },
980
+ slug: {
981
+ type: "string",
982
+ required: false,
983
+ description: "Creative slug \u2014 writes to src/creatives/<slug>/<slug>.canvas.json"
984
+ },
985
+ out: { type: "string", required: false, description: "Output canvas path" }
986
+ },
987
+ async run({ args }) {
988
+ const specPath = args.spec;
989
+ let parsed;
990
+ try {
991
+ parsed = JSON.parse(await readFile(specPath, "utf-8"));
992
+ } catch (e) {
993
+ writeJson({
994
+ ok: false,
995
+ error: {
996
+ code: "VALIDATION_ERROR",
997
+ message: `Could not read the ad spec at ${specPath}: ${e instanceof Error ? e.message : String(e)}`,
998
+ fix: "Write the spec first \u2014 a JSON file with a `beats` array, each beat holding `say` (one clause) and `show` (the shot)."
999
+ }
1000
+ });
1001
+ process.exit(1);
1002
+ return;
1003
+ }
1004
+ const spec = AdSpec.safeParse(parsed);
1005
+ if (!spec.success) {
1006
+ writeJson({
1007
+ ok: false,
1008
+ error: {
1009
+ code: "VALIDATION_ERROR",
1010
+ message: `That ad spec is not usable: ${spec.error.issues.map((i) => `${i.path.join(".")}: ${i.message}`).join("; ")}`,
1011
+ fix: "A beat is ONE line and ONE shot. If a beat holds two sentences, split it into two beats \u2014 the line becomes a caption card verbatim, and a card holding two sentences is the defect this refuses."
1012
+ }
1013
+ });
1014
+ process.exit(1);
1015
+ return;
1016
+ }
1017
+ const flagAvatar = args.avatar?.trim();
1018
+ if (flagAvatar) {
1019
+ spec.data.cast = { ...spec.data.cast, avatar: flagAvatar };
1020
+ }
1021
+ let autoCast = null;
1022
+ if (!flagAvatar && !spec.data.cast?.avatar) {
1023
+ const roster = await readAvatars(
1024
+ "/api/avatars",
1025
+ { status: "ready" }
1026
+ ).catch(() => null);
1027
+ const named = roster ? castedAvatarOnRoster(spec.data, roster.avatars) : null;
1028
+ if (named) {
1029
+ spec.data.cast = { ...spec.data.cast, avatar: named };
1030
+ autoCast = named;
1031
+ }
1032
+ }
1033
+ const specArtifact = structuredClone(spec.data);
1034
+ if (spec.data.set?.description && !spec.data.set.image?.trim()) {
1035
+ writeJson({
1036
+ ok: false,
1037
+ error: {
1038
+ code: "VALIDATION_ERROR",
1039
+ message: "This ad names a recurring place but gives no picture of it. A location sheet is fused from a real image; with nothing to fuse there is no sheet, and every shot invents the room again.",
1040
+ // Names `studio generate`, which is the command that exists — `baker images`
1041
+ // finds and ingests pictures, it does not make them, so the line this used to
1042
+ // print could not be run. No `--model` either: the lane already defaults to the
1043
+ // curated image model, and the one named here was the legacy id the picker now
1044
+ // offers to nobody.
1045
+ fix: `Make the plate once, then pass it: \`baker studio generate "${spec.data.set.description}"\`, then put its url in the spec as \`"set": { "description": "\u2026", "image": "<url>" }\`. Drop \`set\` entirely if the ad does not keep returning to one place.`
1046
+ }
1047
+ });
1048
+ process.exit(1);
1049
+ return;
1050
+ }
1051
+ const requestedModel = args["video-model"]?.trim();
1052
+ if (requestedModel && !VIDEO_GENERATE_MODELS.includes(requestedModel)) {
1053
+ writeJson({
1054
+ ok: false,
1055
+ error: {
1056
+ code: "VALIDATION_ERROR",
1057
+ message: `\`${requestedModel}\` is not one of the curated video models.`,
1058
+ fix: `Pick one of: ${VIDEO_GENERATE_MODELS.join(", ")}. Leave --video-model off to use the default.`
1059
+ }
1060
+ });
1061
+ process.exit(1);
1062
+ return;
1063
+ }
1064
+ const chosenVideoModel = requestedModel ?? DEFAULT_VIDEO_GENERATE_MODEL;
1065
+ const handle = flagAvatar || spec.data.cast?.avatar?.trim();
1066
+ let avatar = null;
1067
+ let avatarError = null;
1068
+ if (handle) {
1069
+ try {
1070
+ avatar = await readAvatars(
1071
+ "/api/avatars/get",
1072
+ { handle, full: "true" }
1073
+ );
1074
+ if (avatar?.status && avatar.status !== "ready") {
1075
+ avatarError = `Avatar \`${handle}\` is ${avatar.status}, not ready \u2014 only a ready avatar can be cast. Check \`baker avatars get ${handle}\`.`;
1076
+ avatar = null;
1077
+ } else if (!avatar?.sheetUrl) {
1078
+ avatarError = `Avatar \`${handle}\` has no identity sheet yet, so the ad cannot ground on their face.`;
1079
+ avatar = null;
1080
+ }
1081
+ } catch (e) {
1082
+ avatarError = `Could not read avatar \`${handle}\`: ${e instanceof Error ? e.message : String(e)}. \`baker avatars list\` shows who there is.`;
1083
+ }
1084
+ }
1085
+ if (avatarError && !spec.data.cast?.description?.trim()) {
1086
+ writeJson({
1087
+ ok: false,
1088
+ error: {
1089
+ code: "VALIDATION_ERROR",
1090
+ message: avatarError,
1091
+ fix: `This ad casts \`${handle}\` and describes nobody else, so without them every shot renders a person nobody chose. Wait for the avatar and re-run \u2014 \`baker avatars get ${handle} --wait\` returns the moment it is ready \u2014 or cast someone who is (\`baker avatars list\`). To build it with an invented person instead, put a written description in \`cast.description\`.`
1092
+ }
1093
+ });
1094
+ process.exit(1);
1095
+ return;
1096
+ }
1097
+ const fromWorkspace = await readBrandFromWorkspace();
1098
+ const filledLogo = !spec.data.brand?.logo && fromWorkspace.logo ? fromWorkspace.logo : void 0;
1099
+ const filledPalette = !spec.data.brand?.palette?.length && fromWorkspace.palette?.length ? fromWorkspace.palette : void 0;
1100
+ if (filledLogo || filledPalette) {
1101
+ spec.data.brand = {
1102
+ ...spec.data.brand,
1103
+ ...filledLogo ? { logo: filledLogo } : {},
1104
+ ...filledPalette ? { palette: filledPalette } : {}
1105
+ };
1106
+ }
1107
+ const resolvedLogo = spec.data.brand?.logo?.trim();
1108
+ const logoExists = resolvedLogo ? await stat(resolvedLogo).then(() => true, () => false) : false;
1109
+ const noBrand = Boolean(args["no-brand"]);
1110
+ const fetched = !logoExists && !noBrand ? await fetchClientLogo() : null;
1111
+ if (fetched?.ok) {
1112
+ spec.data.brand = { ...spec.data.brand, logo: fetched.path };
1113
+ }
1114
+ const haveLogo = logoExists || fetched?.ok === true;
1115
+ if (!haveLogo && spec.data.brand?.logo) {
1116
+ const { logo: _missing, ...rest } = spec.data.brand;
1117
+ spec.data.brand = rest;
1118
+ }
1119
+ const noLogoHint = !haveLogo && !noBrand ? [
1120
+ `This ad has no logo on screen: ${resolvedLogo ? `the mark at \`${resolvedLogo}\` does not exist` : `there is no mark in \`${BRAND_DIR}/logos/\``}. ${fetched && !fetched.ok ? `${fetched.reason} ` : ""}Meta still shows the page name and picture above it, so it can run as it is; say in your reply that it has no logo. To add the client's logo, put the file their designer delivered in \`${BRAND_DIR}/logos/\` and re-run this command. Never draw one.`
1121
+ ] : [];
1122
+ const markPath = spec.data.brand?.logo?.trim();
1123
+ if (!noBrand && markPath?.toLowerCase().endsWith(".svg")) {
1124
+ const svg = await readFile(markPath, "utf-8").catch(() => null);
1125
+ if (svg === null) {
1126
+ writeJson({
1127
+ ok: false,
1128
+ error: {
1129
+ code: "VALIDATION_ERROR",
1130
+ message: `The brand mark at \`${markPath}\` could not be read, so there is no way to tell whether it is a real logo or a typed stand-in. An ad is not shipped on a mark nobody could open.`,
1131
+ fix: `Check the file is there and readable, or put the client's logo in \`${BRAND_DIR}/logos/\` \u2014 the file their designer delivered \u2014 an outlined SVG, or the PNG they gave you.`
1132
+ }
1133
+ });
1134
+ process.exit(1);
1135
+ return;
1136
+ }
1137
+ if (svgIsLiveText(svg)) {
1138
+ writeJson({
1139
+ ok: false,
1140
+ error: {
1141
+ code: "VALIDATION_ERROR",
1142
+ message: `The mark at \`${markPath}\` draws its wordmark with live \`<text>\`, not outlines. That is a typed stand-in, not a logo: it renders in whatever font the machine happens to have, and the one that shipped this way came out reading "greenle\xE1" in every frame.`,
1143
+ fix: `Ask the client for their real logo file and put it in \`${BRAND_DIR}/logos/\` \u2014 the one their designer delivered, as an outlined SVG or a PNG they gave you. Do not redraw it, and do not export this file to PNG: rasterising it only bakes the invented letters into pixels, where nothing downstream can tell they are wrong.`
1144
+ }
1145
+ });
1146
+ process.exit(1);
1147
+ return;
1148
+ }
1149
+ }
1150
+ if (!noBrand && markPath && !await markIsReal(markPath)) {
1151
+ writeJson({
1152
+ ok: false,
1153
+ error: {
1154
+ code: "VALIDATION_ERROR",
1155
+ message: `There is no real logo in \`${BRAND_DIR}/logos/\` \u2014 what is there is a typed stand-in, whose wordmark is drawn as live text in a font the renderer does not have. An ad built on it wears letters the machine invented, and converting it to a PNG only bakes them in.`,
1156
+ fix: `Ask the client for their actual logo file and put it in \`${BRAND_DIR}/logos/\` \u2014 the one their designer delivered, as an outlined SVG or a PNG they gave you. Do not redraw it and do not export the stand-in to another format.`
1157
+ }
1158
+ });
1159
+ process.exit(1);
1160
+ return;
1161
+ }
1162
+ if (handle) {
1163
+ const names = [handle, avatar?.name].filter((value) => Boolean(value));
1164
+ spec.data.beats = spec.data.beats.map((beat) => ({ ...beat, show: withoutCastName(beat.show, names) }));
1165
+ if (spec.data.cast?.description) {
1166
+ spec.data.cast = { ...spec.data.cast, description: withoutCastName(spec.data.cast.description, names) };
1167
+ }
1168
+ }
1169
+ const avatarVoice = avatarVoiceBrief(avatar);
1170
+ if (noBrand || !haveLogo && !endCardCta(spec.data)) spec.data.end_card = false;
1171
+ const slug = args.slug ?? path.basename(specPath).replace(/\.[^.]+$/, "");
1172
+ const outPath = args.out ?? (args.slug ? path.join("src/creatives", slug, `${slug}.canvas.json`) : path.join(path.dirname(specPath), `${slug}.canvas.json`));
1173
+ const definitionLanguage = parseDefinitionStrategyFields(
1174
+ await readFile(path.join(path.dirname(outPath), "_definition.md"), "utf8").catch(() => "")
1175
+ ).language;
1176
+ const cacheDir = path.join(findWorkspaceRoot(path.dirname(path.resolve(outPath))) ?? process.cwd(), "canvas", ".cache");
1177
+ const spent = [];
1178
+ const reading = await readAdSpec(
1179
+ spec.data,
1180
+ {
1181
+ voices: adSpecVoices(spec.data, avatarVoice),
1182
+ askLanguage: !spokenLanguageFor(spec.data, { definitionLanguage })
1183
+ },
1184
+ {
1185
+ ask: cachedJev(cacheDir, (questions) => askJevQuestions(questions, (u) => spent.push(u))),
1186
+ genders: voiceGenderModel(cacheDir, (u) => spent.push(u))
1187
+ }
1188
+ );
1189
+ await holdUnbilledSpend(cacheDir, spent).catch(() => {
1190
+ });
1191
+ const contradicts = spec.data.beats.flatMap((beat, i) => reading.wantsLegibleText[i] ? [{ i, show: beat.show }] : []);
1192
+ if (contradicts.length > 0) {
1193
+ writeJson({
1194
+ ok: false,
1195
+ error: {
1196
+ code: "VALIDATION_ERROR",
1197
+ message: `Beat ${contradicts.map(({ i }) => i + 1).join(", ")} asks the picture for a readable figure (e.g. "${contradicts[0]?.show.trim().slice(0, 90)}"). Every frame also carries "no readable text or numbers", so the two fight and the picture wins \u2014 one such brief rendered a bill reading $58,085.00 over a total of $139.00.`,
1198
+ fix: "Say what the shot LOOKS like, not what it reads: 'a bill in her hands, her face falling'. The ad's numbers belong in the `say` line, where the caption track renders them correctly."
1199
+ }
1200
+ });
1201
+ process.exit(1);
1202
+ return;
1203
+ }
1204
+ const introducesOffCamera = beatsIntroducingSpeakerOffCamera(spec.data, reading);
1205
+ const firstIntro = introducesOffCamera[0];
1206
+ if (firstIntro !== void 0) {
1207
+ const line = (spec.data.beats[firstIntro]?.say ?? "").trim();
1208
+ writeJson({
1209
+ ok: false,
1210
+ error: {
1211
+ code: "VALIDATION_ERROR",
1212
+ message: `Beat ${firstIntro + 1} says "${line}" \u2014 the speaker introducing themselves \u2014 but nobody is on camera saying it. A voice from off screen introducing the person standing in shot reads as a mistake, the same way a moving mouth under someone else's voice does.`,
1213
+ fix: 'Either set `on_camera: true` on that beat so they say it themselves \u2014 which needs the avatar to have their own accent \u2014 or rewrite the line as narration about them rather than by them: "Marta instal\xF3 placas en nueve d\xEDas", not "Hola, soy Marta".'
1214
+ }
1215
+ });
1216
+ process.exit(1);
1217
+ return;
1218
+ }
1219
+ const spokenLanguage2 = spokenLanguageFor(spec.data, { definitionLanguage, reading });
1220
+ const blueprint = adSpecToBlueprint(spec.data, {
1221
+ avatarAccent: avatar?.profile?.accent,
1222
+ videoModel: chosenVideoModel,
1223
+ ...avatarVoice ? { avatarVoice } : {},
1224
+ ...definitionLanguage ? { definitionLanguage } : {},
1225
+ reading
1226
+ });
1227
+ let outAr;
1228
+ try {
1229
+ outAr = resolveAspect(void 0, spec.data.format.aspect_ratio, genAspectsFor(chosenVideoModel)).outAr;
1230
+ } catch (e) {
1231
+ writeJson({
1232
+ ok: false,
1233
+ error: {
1234
+ code: "VALIDATION_ERROR",
1235
+ message: e instanceof Error ? e.message : String(e),
1236
+ fix: 'Set `format.aspect_ratio` to one of the ratios the message lists, e.g. "9:16" for Reels and Stories or "4:5" for the feed.'
1237
+ }
1238
+ });
1239
+ process.exit(1);
1240
+ return;
1241
+ }
1242
+ const outDims = canvasDims(outAr);
1243
+ const outDir = path.dirname(outPath);
1244
+ await mkdir(outDir, { recursive: true });
1245
+ const compositionDest = path.join(outDir, "video-overlay-composition");
1246
+ const captionsDest = path.join(outDir, "tiktok-captions-composition");
1247
+ await cp(SHIPPED_OVERLAY_COMPOSITION_DIR, compositionDest, { recursive: true });
1248
+ await cp(SHIPPED_CAPTIONS_DIR, captionsDest, { recursive: true });
1249
+ await stampCompositionDims(compositionDest, outDims);
1250
+ await stampCompositionDims(captionsDest, outDims);
1251
+ const captionsIndex = path.join(captionsDest, "index.html");
1252
+ await writeFile(captionsIndex, injectAdCaptionPlacement(await readFile(captionsIndex, "utf-8"), outAr), "utf-8");
1253
+ const face = await stageBrandDisplayFace(outDir, captionsDest);
1254
+ if (face) {
1255
+ await writeFile(captionsIndex, injectAdDisplayFace(await readFile(captionsIndex, "utf-8"), face.file), "utf-8");
1256
+ }
1257
+ const blueprintPath = path.join(outDir, "prompt.json");
1258
+ const blueprintStylePath = path.join(outDir, "prompt.style.json");
1259
+ await writeSceneFiles(outDir, blueprint);
1260
+ await writeFile(blueprintStylePath, renderStyleProjectionFromValue(blueprint), "utf8");
1261
+ await writeFile(path.join(outDir, AD_SPEC_FILE), `${JSON.stringify(specArtifact, null, 2)}
1262
+ `, "utf8");
1263
+ const logoPath = noBrand ? void 0 : spec.data.brand?.logo?.trim();
1264
+ const transcriptPath = path.join(outDir, "transcript.json");
1265
+ if (spec.data.voiceover === false) {
1266
+ await writeFile(transcriptPath, `${JSON.stringify(staticTranscript(spec.data, chosenVideoModel), null, 2)}
1267
+ `, "utf-8");
1268
+ }
1269
+ const opts = {
1270
+ imageModel: AD_IMAGE_MODEL,
1271
+ // The frames' model cannot make the sheet: `image_reference_sheet` registers only
1272
+ // the Gemini image models, and a sheet asked of gpt-image is an `unknown_model` node
1273
+ // that stops the whole canvas. The same sheet model every other scaffold uses.
1274
+ sheetModel: ACTOR_SHEET_MODEL,
1275
+ videoModel: chosenVideoModel,
1276
+ overlayCompositionPath: path.relative(outDir, compositionDest),
1277
+ captionsCompositionPath: path.relative(outDir, captionsDest),
1278
+ blueprintPath: path.relative(outDir, blueprintPath),
1279
+ blueprintStylePath: path.relative(outDir, blueprintStylePath),
1280
+ aspect: spec.data.format.aspect_ratio,
1281
+ resolution: spec.data.format.resolution,
1282
+ // A beat is one clause and one card, so the cap has to clear a whole clause.
1283
+ // The composition's default of 3 is TikTok karaoke styling; applied to an ad
1284
+ // it overrode the clause rule on every line and rendered "IS STANDARD. WE".
1285
+ // 8 is the composition's own maximum and clears every beat measured here.
1286
+ captionWordsPerGroup: 8,
1287
+ // The `say` lines are the copy the viewer reads, so they are what the captions print;
1288
+ // the transcription of the voice track only times them.
1289
+ captionsFromScript: true,
1290
+ // Declared, or read off the lines by Jev; never off the voice description.
1291
+ ...spokenLanguage2 ? { spokenLanguage: spokenLanguage2 } : {},
1292
+ voiceGenders: reading.voiceGenders,
1293
+ ...reading.captionCarriesOn.length ? { captionCarriesOn: reading.captionCarriesOn } : {},
1294
+ // The avatar's ACCENT reaches the clip through the blueprint (`avatarAccent` above,
1295
+ // baked into `global.voiceover.accent`), not a pinned voice. A pinned voice was
1296
+ // removed on purpose (ADR 0005): the re-voice is speech-to-speech, so it replaces
1297
+ // timbre and keeps the pronunciation it is handed. The clip speaks in the voice the
1298
+ // video model renders, and the region is directed in the prompt.
1299
+ //
1300
+ // Same decision, one step further: with an avatar on camera the clip's own voice is
1301
+ // kept, not re-voiced. The re-voice is the speech-to-speech route ADR 0005 measured
1302
+ // and rejected — it would swap the voice that matches the mouth and the directed
1303
+ // region for one cast off an English stock list. Only the on-camera voice; a
1304
+ // voiceover read has no rendered voice to keep and is still cast.
1305
+ //
1306
+ // The KNOWN RISK this carries, recorded here because it is decided here: keeping the
1307
+ // rendered voice also means no pass unifies her beats, and each beat is its own
1308
+ // generation, so nothing guarantees two of them sound like the same person. The
1309
+ // reference image fixes the face; nothing fixes the voice. Measured on a finished
1310
+ // three-beat ad (her, a cutaway, her): median speaking pitch 210.5 Hz and 216.2 Hz,
1311
+ // near-identical spreads — the same voice as far as pitch can say — and the two
1312
+ // extracts were then listened to side by side and judged to be the same person. Not
1313
+ // proof for every ad: one listener, one ad, and pitch is one dimension of a voice.
1314
+ //
1315
+ // If it does show up, the fix is not to drop `keepRenderedVoice` — that brings back
1316
+ // the stock voice this exists to avoid. It is to convert the LATER extracts onto the
1317
+ // first beat of the same speaker, which keeps a voice the clip really produced.
1318
+ ...avatar ? { keepRenderedVoice: true } : {},
1319
+ ...spec.data.voiceover === false ? { staticTranscriptPath: path.relative(outDir, transcriptPath) } : {}
1320
+ };
1321
+ const canvas = scaffoldVideoCanvas(blueprint, adSpecCastElements(spec.data, avatar), opts);
1322
+ const renderNode = canvas.nodes.find((n) => n.type === "hyperframe_render");
1323
+ const renderedDir = renderNode ? path.join(outDir, String(renderNode.params?.composition ?? "")) : null;
1324
+ let staged = null;
1325
+ let markIsLight = false;
1326
+ if (logoPath && renderedDir) {
1327
+ const ext = path.extname(logoPath) || ".png";
1328
+ try {
1329
+ await copyFile(logoPath, path.join(renderedDir, `brand-mark${ext}`));
1330
+ staged = { file: `brand-mark${ext}`, alt: spec.data.brand?.name ?? "brand" };
1331
+ markIsLight = await markInkIsLight(logoPath);
1332
+ } catch {
1333
+ }
1334
+ }
1335
+ const closing = blueprint.scenes[blueprint.scenes.length - 1];
1336
+ const overlayHtml = !noBrand && endCardWanted(spec.data) && closing && renderedDir ? buildAdBrandOverlay({
1337
+ logo: staged,
1338
+ cta: endCardCta(spec.data),
1339
+ cardAtS: closing.start_s,
1340
+ cardDurationS: closing.duration_s,
1341
+ totalS: blueprint.estimated_duration_s,
1342
+ markIsLight,
1343
+ // The card's button is coloured against the plate the engine will fill from
1344
+ // this same palette — including the black plate an ad with no palette gets.
1345
+ plateIsDark: plateIsDark(spec.data.brand?.palette)
1346
+ }) : "";
1347
+ if (overlayHtml && renderedDir) {
1348
+ const indexPath = path.join(renderedDir, "index.html");
1349
+ const html = await readFile(indexPath, "utf-8");
1350
+ await writeFile(indexPath, injectAdBrandOverlay(html, overlayHtml, { aspect: outAr, ...face ? { face: AD_DISPLAY_FAMILY } : {} }), "utf-8");
1351
+ }
1352
+ await writeFile(
1353
+ path.join(outDir, REBUILD_FILE),
1354
+ `${JSON.stringify({ elements: adSpecCastElements(spec.data, avatar), opts }, null, 2)}
1355
+ `,
1356
+ "utf8"
1357
+ );
1358
+ const validation = await validateCanvasDeep(resolveRelativeCanvasPaths(canvas, outDir), defaultRegistry());
1359
+ if (!validation.ok) {
1360
+ const meta = canvas.metadata;
1361
+ meta.todo = { ...meta.todo ?? {}, blocking_validation_issues: validation.issues };
1362
+ }
1363
+ await writeFile(outPath, `${JSON.stringify(canvas, null, 2)}
1364
+ `, "utf-8");
1365
+ if (!validation.ok) {
1366
+ process.stderr.write(
1367
+ `${JSON.stringify(
1368
+ {
1369
+ ok: false,
1370
+ error: { code: "validation", issues: validation.issues },
1371
+ canvas_path: outPath,
1372
+ note: "The canvas WAS written despite the blocking issue(s). Fix the spec and re-run this command, or fix them in place, then `baker canvas validate` before running."
1373
+ },
1374
+ null,
1375
+ 2
1376
+ )}
1377
+ `
1378
+ );
1379
+ process.exit(2);
1380
+ return;
1381
+ }
1382
+ if (args.slug) {
1383
+ const definitionPath = path.join(outDir, "_definition.md");
1384
+ const definitionExists = await stat(definitionPath).then(() => true, () => false);
1385
+ if (!definitionExists) {
1386
+ await writeFile(
1387
+ definitionPath,
1388
+ buildCreativeDefinition({
1389
+ title: titleFromSlug(slug),
1390
+ kind: "video",
1391
+ ...definitionPlatformsOf(args.platforms ? String(args.platforms) : void 0, void 0),
1392
+ formats: resolveFormats(spec.data.format.aspect_ratio),
1393
+ description: spec.data.beats.map((beat) => beat.say.trim()).join(" ")
1394
+ }),
1395
+ "utf8"
1396
+ );
1397
+ }
1398
+ await syncCreativeDefinitionBestEffort({
1399
+ slug,
1400
+ title: titleFromSlug(slug),
1401
+ ...await readDefinitionPlatforms(outPath),
1402
+ formats: [spec.data.format.aspect_ratio],
1403
+ canvas,
1404
+ sourceSha: await computeSourceSha(outPath)
1405
+ });
1406
+ }
1407
+ writeJson({
1408
+ ok: true,
1409
+ data: { canvas: outPath, beats: spec.data.beats.length, slug },
1410
+ hints: [
1411
+ // Before anything else: a beat too short to play is a beat to merge, and it is
1412
+ // free to fix here and expensive to discover in a finished ad.
1413
+ ...shortBeatHint(beatsTooShortToPlay(spec.data), spec.data.beats.length),
1414
+ ...noLogoHint,
1415
+ ...face ? [`The captions and the closing button are set in the brand's face: ${face.label}.`] : [],
1416
+ ...noBrand ? [
1417
+ "Built with NO brand mark and no closing card, because you passed --no-brand. Say that in your reply: the user is getting an unbranded ad and should know it, not discover it. When they do have a logo, put it in `src/brand/logos/` and re-run without the flag."
1418
+ ] : [],
1419
+ // Same reasoning as `studio animate`: a cast avatar that speaks routes to the
1420
+ // default model on purpose, and pinning one discards that silently. An ad's
1421
+ // beats always speak, so there is no silent case to exclude here.
1422
+ ...pinnedOnAvatar(handle, requestedModel),
1423
+ // `--until frames` on anything carrying a face or a mark, because that is where
1424
+ // getting it wrong is expensive: the pictures cost a fraction of the clips, and
1425
+ // every defect anyone has caught in a finished ad was visible in them. The run
1426
+ // stops, the agent reviews the frames, and continuing pays for none of them twice.
1427
+ handle || staged ? `Wrote ${spec.data.beats.length} beats to ${outPath}. Run it with \`baker canvas run ${outPath} --until frames --brief "<what they asked for, their words>"\`, review the frames against the brief and Brand, fix any defects, then resume immediately with the \`--run-id\` it gives you. Wait for the user only when they explicitly requested storyboards only or a review before continuing. This ad carries ${handle ? "a person's face" : "the client's mark"}, and a wrong look costs a whole ad to discover after the clips.` : `Wrote ${spec.data.beats.length} beats to ${outPath}. Run it with \`baker canvas run ${outPath} --brief "<what they asked for, their words>"\`.`,
1428
+ ...autoCast ? [
1429
+ `Cast \`${autoCast}\` \u2014 the spec described this person in words, and they are one of this company's avatars. Every shot now grounds on their identity sheet and carries their accent and delivery. Write \`"cast": { "avatar": "` + autoCast + '" }` yourself next time; a written description is for someone the company does not have.'
1430
+ ] : [],
1431
+ `These beats run about ${blueprint.estimated_duration_s}s. If the ask was longer, add beats \u2014 the length is the sum of the lines, so a 25s ad needs roughly 25s of script and cannot be stretched by holding shots.`,
1432
+ ...logoPath && !staged ? [`Could not read the logo at \`${logoPath}\` \u2014 the ad has no mark on screen. Give the path as it appears in src/brand/BRAND.md, relative to the workspace root.`] : [],
1433
+ ...staged ? ["The brand mark is drawn by the composition \u2014 top-left throughout, and large on the closing card. It is never generated as a picture, so it cannot come back garbled."] : [],
1434
+ ...endCardWanted(spec.data) ? ["The last beat closes on a flat brand plate with the call to action over it, instead of one more photograph."] : [],
1435
+ ...spec.data.brand?.logo && !filledLogo && !spec.data.brand.logo.startsWith(`${BRAND_DIR}/`) ? [
1436
+ `The mark at \`${spec.data.brand.logo}\` is not in \`${BRAND_DIR}/logos/\`. If you drew it for this ad, it is not the client's logo and the ad is going out wearing something you invented \u2014 put the real one in the brand folder (\`/brand-build\`) and re-run. A hand-drawn wordmark also tends to overflow its own viewBox, which renders as a clipped word.`
1437
+ ] : [],
1438
+ ...filledLogo || filledPalette ? [
1439
+ `The spec left the brand empty, so it was read from the workspace: ${[filledLogo ? `logo \`${filledLogo}\`` : null, filledPalette ? `palette ${filledPalette.slice(0, 3).join(", ")}` : null].filter(Boolean).join(" and ")}. Pass them yourself when the ad needs a different mark or colour.`
1440
+ ] : [],
1441
+ ...avatarError ? [avatarError] : [],
1442
+ ...avatar ? [
1443
+ ...avatar?.profile?.accent?.trim() ? [] : [
1444
+ `Avatar \`${handle}\` has no accent on their profile, so the video model picks a region on its own and usually picks the commonest one. An avatar has no pinned voice by design (ADR 0005) \u2014 the accent IS the lever: \`baker avatars update ${handle} --accent "Spanish from Spain, Madrid"\`.`
1445
+ ],
1446
+ `Every beat the customer appears in is grounded on \`${handle}\`'s identity sheet, and their subject description was copied into the frames verbatim \u2014 so it is the same face throughout and the same face as the rest of this company's work.`
1447
+ ] : [],
1448
+ ...presenterIsInEveryShot(spec.data) ? [
1449
+ "The presenter is in every beat, so this ad has no cutaway \u2014 the viewer never sees the bill, the roof, the install or the house, only a face. A rendered ad built this way came back as three near-identical shots of one person smiling. Set `cast: false` on the beats that should show the thing itself."
1450
+ ] : [],
1451
+ ...!spec.data.cast ? [
1452
+ 'This ad declares no `cast`, so every beat renders whoever the model invents \u2014 a different face per shot. If a person appears more than once, describe them in `cast: { description: "..." }` (one invented person throughout), or cast an avatar with `cast: { avatar: "<handle>" }` when they must recur across ads.'
1453
+ ] : [],
1454
+ ...spec.data.cast && !avatar ? [
1455
+ "This cast has a description but no avatar, so a realistic person is invented from it for this ad (a candid portrait every beat grounds on). That is right for a one-off ad; if the same actor has to come back in other ads, cast an avatar (`baker avatars list`) and pass `cast.avatar`."
1456
+ ] : [],
1457
+ ...marketFor(spec.data, definitionLanguage) ? [] : [
1458
+ 'This ad names no `market`, so its frames say nowhere and the model picks the place. A language is not a country: set `market` ("Mexico", "Spain") or give `voice.language` with its country ("es-MX") and re-run.'
1459
+ ],
1460
+ ...reading.read ? [] : [
1461
+ `The spec's lines could not be read this time, so ${spokenLanguage2 ? "" : "the voice is cast with no language, "}no voice is held to a gender, captions break on the word count alone, and no line or brief was checked for a self-introduction or readable text. Re-run to read them, or set \`voice.language\` to say the language.`
1462
+ ],
1463
+ ...spec.data.voiceover === false ? [
1464
+ "Nobody speaks in this ad, so the `say` lines are ON-SCREEN text: they are captioned straight from the script, exactly as written, with no voice and no transcription in between. Give it `music` \u2014 a music-led ad with no bed is a silent one."
1465
+ ] : [],
1466
+ "The caption cards print your `say` lines as written, timed to the voice as it reads them; a word the voice slurs or the recogniser mishears still shows as you wrote it. Read the lines back before running: that is the copy the viewer sees.",
1467
+ "Every clip renders with nobody speaking unless a beat set `on_camera`. If a beat needs a presenter talking, set it there rather than describing it in `show`.",
1468
+ // Keyed on what is MISSING, not on whether `brand` exists at all: a spec holding
1469
+ // `brand.name` and nothing else once rendered 28 seconds with no palette anywhere.
1470
+ // A missing logo is said once, by `noLogoHint`.
1471
+ ...spec.data.brand?.palette?.length ? [] : [
1472
+ "This spec has no `brand.palette`. Read src/brand/BRAND.md and re-run with it: a name alone leaves the ad in someone else's clothes."
1473
+ ],
1474
+ "`brand.palette` colours the closing plate the card sits on; `brand.logo` is the repo path to the mark, and it is drawn by the composition \u2014 top-left throughout and large on the closing card \u2014 never generated as a picture, so it cannot come back garbled. Give it whenever the client has one."
1475
+ ]
1476
+ });
1477
+ }
1478
+ });
1479
+ function shortBeatHint(short, total) {
1480
+ if (short.length === 0) return [];
1481
+ return [
1482
+ `Beat${short.length === 1 ? "" : "s"} ${short.join(", ")} of ${total} ${short.length === 1 ? "is" : "are"} a fragment rather than a line \u2014 a few words with a whole shot to themselves. Every beat's picture holds for at least ${SPOKEN_CLIP_DURATION_S}s, so a two-word beat buys six seconds of somebody standing still, and a run of those plays as a slideshow rather than an ad. Don't pad them. Merge them into the beat before or after, so each one carries a whole thought. Edit the spec and re-run this command.`
1483
+ ];
1484
+ }
1485
+ var MAX_FONT_BYTES = 5e6;
1486
+ async function stageBrandDisplayFace(outDir, compositionDir) {
1487
+ const root = await findBrandRoot(outDir) ?? process.cwd();
1488
+ const kit = await readStaticBrandKit(root);
1489
+ const face = await brandHeadlineFont({
1490
+ file: kit.headlineFont,
1491
+ named: await readNamedTypefaces(root),
1492
+ resolveUrl: (family, weight) => webFontUrl(family, weight, { lookupGoogleCss, fetchJson })
1493
+ }).catch(() => null);
1494
+ if (!face) return null;
1495
+ try {
1496
+ if ("path" in face.slot) {
1497
+ const file2 = `brand-face${path.extname(face.slot.path).toLowerCase()}`;
1498
+ await copyFile(face.slot.path, path.join(compositionDir, file2));
1499
+ return { file: file2, label: `the font file \`${path.relative(root, face.slot.path)}\`` };
1500
+ }
1501
+ const { buffer } = await fetchExternalBytes(face.slot.url, { maxBytes: MAX_FONT_BYTES });
1502
+ const extension = /\.(woff2|woff|ttf|otf)(?:\?|$)/i.exec(face.slot.url)?.[1]?.toLowerCase() ?? "woff2";
1503
+ const file = `brand-face.${extension}`;
1504
+ await writeFile(path.join(compositionDir, file), buffer);
1505
+ return { file, label: `${face.family ?? "the brand's typeface"}, loaded as a web font` };
1506
+ } catch {
1507
+ return null;
1508
+ }
1509
+ }
1510
+ export {
1511
+ scaffoldAdCommand
1512
+ };
1513
+ //# sourceMappingURL=scaffold-ad-OVKDFAT3.js.map