@koda-sl/baker-cli 0.568.0 → 0.569.0-dev.1b455b3fe

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 (1186) hide show
  1. package/README.md +3 -3
  2. package/dist/account-JREYXYNE.js +82 -0
  3. package/dist/account-OUKPRB7C.js +139 -0
  4. package/dist/account-WN5MJ5QN.js +82 -0
  5. package/dist/account-assets-IWJWYNQ3.js +290 -0
  6. package/dist/account-level-SHZBOMVV.js +612 -0
  7. package/dist/account-level-SHZBOMVV.js.map +1 -0
  8. package/dist/account-reads-GF3T25HX.js +220 -0
  9. package/dist/account-reads-GF3T25HX.js.map +1 -0
  10. package/dist/account-users-7NKBUVYA.js +65 -0
  11. package/dist/account-users-7NKBUVYA.js.map +1 -0
  12. package/dist/account-writes-IUIXIVRC.js +68 -0
  13. package/dist/accounts-4YRDRLHX.js +80 -0
  14. package/dist/accounts-HEGADQ6E.js +119 -0
  15. package/dist/accounts-OSVXKNSI.js +76 -0
  16. package/dist/accounts-SJOO4MQX.js +115 -0
  17. package/dist/accounts-V7EOUTNL.js +713 -0
  18. package/dist/actions-5LYJ3U6G.js +55 -0
  19. package/dist/active-entities-4KQQSMRZ.js +103 -0
  20. package/dist/activecampaign-CZHLHGT4.js +938 -0
  21. package/dist/activities-FRA33VZZ.js +75 -0
  22. package/dist/ad-group-writes-YQXBUA3Q.js +172 -0
  23. package/dist/ad-groups-NJR4ILEN.js +70 -0
  24. package/dist/ad-writes-TZV64CC2.js +176 -0
  25. package/dist/add-MZUSKY2L.js +305 -0
  26. package/dist/add-NAUSQKRS.js +107 -0
  27. package/dist/ads-A2FXTQES.js +120 -0
  28. package/dist/ads-PYTK3LJE.js +48 -0
  29. package/dist/ads-Q7DD5VXU.js +79 -0
  30. package/dist/adsets-ZHEVFOK4.js +182 -0
  31. package/dist/advertisers-HSTND4HE.js +123 -0
  32. package/dist/analytics-63Q3FJN4.js +447 -0
  33. package/dist/analytics-GLJODEIM.js +2437 -0
  34. package/dist/animate-EI6AYBDI.js +480 -0
  35. package/dist/asset-writes-MS45UKJ3.js +51 -0
  36. package/dist/assign-7HT3XSSN.js +80 -0
  37. package/dist/audience-size-DG7544D2.js +76 -0
  38. package/dist/audience-writes-IL64HQBS.js +328 -0
  39. package/dist/audience-writes-IL64HQBS.js.map +1 -0
  40. package/dist/audiences-2IVVS3SJ.js +280 -0
  41. package/dist/audiences-RN745R53.js +85 -0
  42. package/dist/audiences-Z2TQT35L.js +106 -0
  43. package/dist/audit-BIHMDO5K.js +88 -0
  44. package/dist/audit-ZYST7KCO.js +154 -0
  45. package/dist/autocomplete-5BKEMOQ3.js +114 -0
  46. package/dist/avatars-FQOCDWLW.js +38 -0
  47. package/dist/bid-pricing-JEW7T2VR.js +103 -0
  48. package/dist/brand-FR6BKWXN.js +22 -0
  49. package/dist/brief-32IXDJ4J.js +543 -0
  50. package/dist/businesses-HECSW3EL.js +54 -0
  51. package/dist/campaign-groups-LYPVIZT5.js +99 -0
  52. package/dist/campaign-writes-D5MM5LUH.js +168 -0
  53. package/dist/campaign-writes-S7A6W5V3.js +176 -0
  54. package/dist/campaigns-CMDF3P7Y.js +111 -0
  55. package/dist/campaigns-LIICP5JU.js +113 -0
  56. package/dist/campaigns-N72TOUQX.js +130 -0
  57. package/dist/campaigns-ZWJKBF3L.js +78 -0
  58. package/dist/canvas-3SNC3UUV.js +46 -0
  59. package/dist/capabilities-GL7P3SWY.js +147 -0
  60. package/dist/cards-RYQN5JLR.js +85 -0
  61. package/dist/catalog-PWAWDK42.js +66 -0
  62. package/dist/catalogs-2R5RV4L7.js +783 -0
  63. package/dist/catalogs-2R5RV4L7.js.map +1 -0
  64. package/dist/catalogs-SLPYHA7D.js +130 -0
  65. package/dist/changes-WOD4EOSN.js +167 -0
  66. package/dist/chatgpt-3GX4I6NH.js +47 -0
  67. package/dist/chats-K2WUFVCG.js +584 -0
  68. package/dist/check-ZSQ4EIFB.js +154 -0
  69. package/dist/check-ZSQ4EIFB.js.map +1 -0
  70. package/dist/chunk-34ARMQNL.js +197 -0
  71. package/dist/chunk-34MZGC2Y.js +207 -0
  72. package/dist/chunk-3JOGDGGP.js +24026 -0
  73. package/dist/chunk-3JOGDGGP.js.map +1 -0
  74. package/dist/chunk-46DHUWMV.js +642 -0
  75. package/dist/chunk-46DHUWMV.js.map +1 -0
  76. package/dist/chunk-4KBTW5NE.js +494 -0
  77. package/dist/chunk-4PAGS7QH.js +76 -0
  78. package/dist/chunk-53KV66ZZ.js +163 -0
  79. package/dist/chunk-55AX6DOP.js +86 -0
  80. package/dist/chunk-55AX6DOP.js.map +1 -0
  81. package/dist/chunk-5C4RRCKM.js +69 -0
  82. package/dist/chunk-5I6XOSNI.js +709 -0
  83. package/dist/chunk-5OE4Z7TP.js +287 -0
  84. package/dist/chunk-6OIKNJ7G.js +26 -0
  85. package/dist/chunk-6S4B67KP.js +962 -0
  86. package/dist/chunk-77LXZAX2.js +930 -0
  87. package/dist/chunk-7TVVYP7K.js +217 -0
  88. package/dist/chunk-7URHRPC7.js +3510 -0
  89. package/dist/chunk-7YMQEAGA.js +399 -0
  90. package/dist/chunk-A4O3JL6D.js +26 -0
  91. package/dist/chunk-ANRTDNPQ.js +115 -0
  92. package/dist/chunk-AQNTVM6S.js +1518 -0
  93. package/dist/chunk-BPDIY5CF.js +274 -0
  94. package/dist/chunk-CKHF7UXS.js +831 -0
  95. package/dist/chunk-CUTTTFAU.js +783 -0
  96. package/dist/chunk-D32EWSMB.js +150 -0
  97. package/dist/chunk-D55MN5IH.js +547 -0
  98. package/dist/chunk-DRQI2CJJ.js +138 -0
  99. package/dist/chunk-ESSA3AWR.js +133 -0
  100. package/dist/chunk-ESSA3AWR.js.map +1 -0
  101. package/dist/chunk-ETI6DGR2.js +312 -0
  102. package/dist/chunk-F3CZFUXZ.js +3187 -0
  103. package/dist/chunk-F3CZFUXZ.js.map +1 -0
  104. package/dist/chunk-FFTD7XDA.js +91 -0
  105. package/dist/chunk-FTKUHGTC.js +224 -0
  106. package/dist/chunk-GFYGVIT3.js +392 -0
  107. package/dist/chunk-GGXPO4NQ.js +225 -0
  108. package/dist/chunk-H56UJRLV.js +170 -0
  109. package/dist/chunk-HDMD6LXS.js +142 -0
  110. package/dist/chunk-HFZZKYUX.js +1320 -0
  111. package/dist/chunk-IAYJKH4R.js +5471 -0
  112. package/dist/chunk-IEPCI2EB.js +479 -0
  113. package/dist/chunk-IKADYUXK.js +344 -0
  114. package/dist/chunk-IMS53EQU.js +4277 -0
  115. package/dist/chunk-IMS53EQU.js.map +1 -0
  116. package/dist/chunk-IUX2LBW4.js +86 -0
  117. package/dist/chunk-IUX2LBW4.js.map +1 -0
  118. package/dist/chunk-J32CYEIH.js +74 -0
  119. package/dist/chunk-J5I3GYSJ.js +156 -0
  120. package/dist/chunk-JCVXKHVB.js +285 -0
  121. package/dist/chunk-JESSFI7R.js +468 -0
  122. package/dist/chunk-K4QPBXV7.js +61 -0
  123. package/dist/chunk-KJ3J2DYM.js +1919 -0
  124. package/dist/chunk-L43B2YGZ.js +2209 -0
  125. package/dist/chunk-L7UD57TV.js +219 -0
  126. package/dist/chunk-LJYXGUQ3.js +430 -0
  127. package/dist/chunk-LNYM4PQS.js +203 -0
  128. package/dist/chunk-LZR7LSYO.js +180 -0
  129. package/dist/chunk-LZR7LSYO.js.map +1 -0
  130. package/dist/chunk-MIXUMGJE.js +66 -0
  131. package/dist/chunk-MK4HCMEA.js +325 -0
  132. package/dist/chunk-MK4HCMEA.js.map +1 -0
  133. package/dist/chunk-MTFAG6E3.js +853 -0
  134. package/dist/chunk-MTFAG6E3.js.map +1 -0
  135. package/dist/chunk-MWJ6BCZJ.js +455 -0
  136. package/dist/chunk-MX5NQAK6.js +54 -0
  137. package/dist/chunk-MX5NQAK6.js.map +1 -0
  138. package/dist/chunk-O7WRA3JU.js +1902 -0
  139. package/dist/chunk-OADMSHME.js +334 -0
  140. package/dist/chunk-OLPABGH3.js +152 -0
  141. package/dist/chunk-ONGZKI5J.js +57 -0
  142. package/dist/chunk-OSZOUSK5.js +23 -0
  143. package/dist/chunk-PK7YNQ2T.js +454 -0
  144. package/dist/chunk-PN3CHL5W.js +98 -0
  145. package/dist/chunk-QMQSI4WA.js +89 -0
  146. package/dist/chunk-QUSDGZFS.js +188 -0
  147. package/dist/chunk-QXRSFH6M.js +604 -0
  148. package/dist/chunk-QZ4YHQLW.js +63 -0
  149. package/dist/chunk-RF3TP643.js +288 -0
  150. package/dist/chunk-RIRSFFWA.js +191 -0
  151. package/dist/chunk-ROHICQPK.js +8954 -0
  152. package/dist/chunk-RP3PC54R.js +169 -0
  153. package/dist/chunk-SIKCVWM3.js +76 -0
  154. package/dist/chunk-SOM4OTR5.js +167 -0
  155. package/dist/chunk-SYDPUGF5.js +126 -0
  156. package/dist/chunk-SYDPUGF5.js.map +1 -0
  157. package/dist/chunk-SZZ7BBED.js +148 -0
  158. package/dist/chunk-TAGJYHVI.js +191 -0
  159. package/dist/chunk-TB5JZTLN.js +19 -0
  160. package/dist/chunk-TQJLEVLA.js +131 -0
  161. package/dist/chunk-TW57RTKN.js +5368 -0
  162. package/dist/chunk-TXJOYQE2.js +1065 -0
  163. package/dist/chunk-TXJOYQE2.js.map +1 -0
  164. package/dist/chunk-UGIF56NZ.js +1254 -0
  165. package/dist/chunk-UGIF56NZ.js.map +1 -0
  166. package/dist/chunk-V3ANSXCB.js +51 -0
  167. package/dist/chunk-WSG4K2TR.js +103 -0
  168. package/dist/chunk-WXSRSMY3.js +64 -0
  169. package/dist/chunk-WZXMZFVB.js +238 -0
  170. package/dist/chunk-X3L5HYQM.js +91 -0
  171. package/dist/chunk-Y2TOB4N5.js +46 -0
  172. package/dist/chunk-YOHGEF2N.js +7899 -0
  173. package/dist/chunk-Z2LPYAN4.js +297 -0
  174. package/dist/chunk-ZICB4OI5.js +106 -0
  175. package/dist/chunk-ZOCAGPS5.js +225 -0
  176. package/dist/chunk-ZZWZUTEP.js +685 -0
  177. package/dist/claim-QHYA5UTF.js +200 -0
  178. package/dist/cli.js +36 -36
  179. package/dist/companies-BNMAOQUQ.js +198 -0
  180. package/dist/company-YANP3G62.js +308 -0
  181. package/dist/complete-ICZCBO6M.js +84 -0
  182. package/dist/config-GIETKZGS.js +88 -0
  183. package/dist/connect-ZXGEFS53.js +45 -0
  184. package/dist/conversation-YIWZIUIK.js +96 -0
  185. package/dist/conversion-report-E35RCZU7.js +127 -0
  186. package/dist/conversion-upload-command-QN33HEVV.js +440 -0
  187. package/dist/conversion-upload-command-QN33HEVV.js.map +1 -0
  188. package/dist/conversion-writes-MUD7WJDH.js +122 -0
  189. package/dist/conversions-B7HR6JMC.js +140 -0
  190. package/dist/conversions-WU7DNFF7.js +78 -0
  191. package/dist/copy-writes-R7VYSZXC.js +171 -0
  192. package/dist/copy-writes-R7VYSZXC.js.map +1 -0
  193. package/dist/create-EL47XN73.js +135 -0
  194. package/dist/create-GU5MUZ7U.js +62 -0
  195. package/dist/create-IKQ7A47F.js +239 -0
  196. package/dist/create-TKQDLX7M.js +218 -0
  197. package/dist/creatives-PW6HB4JB.js +58 -0
  198. package/dist/creatives-S4EGN44U.js +118 -0
  199. package/dist/creatives-VBD4T6C7.js +229 -0
  200. package/dist/credentials-57U2UQ7G.js +290 -0
  201. package/dist/critique-JTHSIXUF.js +233 -0
  202. package/dist/critique-JTHSIXUF.js.map +1 -0
  203. package/dist/critique-KAOJTSPQ.js +420 -0
  204. package/dist/critique-KAOJTSPQ.js.map +1 -0
  205. package/dist/crm-JCYLJQ7K.js +323 -0
  206. package/dist/crm-LQTYPDMZ.js +229 -0
  207. package/dist/currency-5NYTOLEL.js +88 -0
  208. package/dist/custom-conversions-NT7ONTEX.js +128 -0
  209. package/dist/customers-LP6I7POL.js +65 -0
  210. package/dist/delete-PZ6GP7J6.js +57 -0
  211. package/dist/delete-WW4JYQMX.js +69 -0
  212. package/dist/delete-XZNY426Q.js +67 -0
  213. package/dist/demographics-HZY2JEYQ.js +141 -0
  214. package/dist/discard-NRTGRVXR.js +69 -0
  215. package/dist/discover-5ZFAAPNG.js +172 -0
  216. package/dist/domain-YGKFTN6D.js +101 -0
  217. package/dist/download-XERSDEN3.js +172 -0
  218. package/dist/draft-2EVXU5XB.js +134 -0
  219. package/dist/draft-CQWYTMSS.js +138 -0
  220. package/dist/draft-EL74RDAG.js +374 -0
  221. package/dist/draft-EWB4A3FG.js +579 -0
  222. package/dist/draft-EWB4A3FG.js.map +1 -0
  223. package/dist/draft-GFZ3KMRX.js +315 -0
  224. package/dist/draft-JYZA3BFD.js +260 -0
  225. package/dist/draft-RBLMOZIL.js +333 -0
  226. package/dist/draft-RBLMOZIL.js.map +1 -0
  227. package/dist/draft-UNPTTHP4.js +220 -0
  228. package/dist/engine/index.js +8 -8
  229. package/dist/experiment-YAX26BOO.js +1397 -0
  230. package/dist/experiments-ERXZYY5E.js +237 -0
  231. package/dist/experiments-ERXZYY5E.js.map +1 -0
  232. package/dist/extract-QMY6WPTV.js +143 -0
  233. package/dist/facets-QHM2IQ3E.js +117 -0
  234. package/dist/feedback-NLPTKWOH.js +114 -0
  235. package/dist/feedback-X5FNVHKU.js +116 -0
  236. package/dist/feedback-X5FNVHKU.js.map +1 -0
  237. package/dist/feedback-record-7QCQTF26.js +270 -0
  238. package/dist/feedback-record-7QCQTF26.js.map +1 -0
  239. package/dist/fetch-72ZILZHO.js +204 -0
  240. package/dist/fit-AURKFPAY.js +65 -0
  241. package/dist/flows-CZPXHOZW.js +340 -0
  242. package/dist/fonts-NA26RQ4C.js +40 -0
  243. package/dist/forecast-ARIHRQAX.js +121 -0
  244. package/dist/forecast-BU22ZMOW.js +170 -0
  245. package/dist/forecast-BU22ZMOW.js.map +1 -0
  246. package/dist/funding-QDKFNQI2.js +85 -0
  247. package/dist/funnel-4VQB3T3M.js +397 -0
  248. package/dist/ga4-N6EBLN2W.js +55 -0
  249. package/dist/generate-IJLMJC4S.js +263 -0
  250. package/dist/get-LOEUOTG3.js +82 -0
  251. package/dist/get-W3VJIQBN.js +62 -0
  252. package/dist/google-5RKO3DND.js +3301 -0
  253. package/dist/google-5RKO3DND.js.map +1 -0
  254. package/dist/google-7VEPEBFV.js +163 -0
  255. package/dist/google-ads-YBOJ3XXK.js +198 -0
  256. package/dist/gsc-FILOUFCG.js +30 -0
  257. package/dist/history-6LLGAK7B.js +69 -0
  258. package/dist/history-H2SHADAM.js +153 -0
  259. package/dist/history-LJG64M6P.js +102 -0
  260. package/dist/hubspot-6JDARLIU.js +814 -0
  261. package/dist/ideas-MTWJDRRK.js +45 -0
  262. package/dist/images-RIFC6D3H.js +92 -0
  263. package/dist/ingest-K45T4OLM.js +131 -0
  264. package/dist/ingest-MSS52UO5.js +28 -0
  265. package/dist/insights-AVNMRFQ4.js +658 -0
  266. package/dist/insights-TBIT6DTF.js +132 -0
  267. package/dist/inspect-EBGYJOZ3.js +192 -0
  268. package/dist/instant-experiences-EEMQJ7H5.js +265 -0
  269. package/dist/instant-experiences-EEMQJ7H5.js.map +1 -0
  270. package/dist/intent-URHTU4AK.js +95 -0
  271. package/dist/job-OJB6KIDV.js +202 -0
  272. package/dist/job-create-C6FGCDW4.js +109 -0
  273. package/dist/job-status-4RJHESID.js +74 -0
  274. package/dist/keyword-gap-WXM6SN6A.js +130 -0
  275. package/dist/keyword-metrics-57MUTYMH.js +200 -0
  276. package/dist/keywords-for-site-ABZS7O5B.js +131 -0
  277. package/dist/landing-AXCYLUQZ.js +28 -0
  278. package/dist/languages-6XTVTFZC.js +40 -0
  279. package/dist/leads-C5BUBBLZ.js +115 -0
  280. package/dist/leads-IXF647ZC.js +542 -0
  281. package/dist/leads-IXF647ZC.js.map +1 -0
  282. package/dist/learn-M64GVGPX.js +207 -0
  283. package/dist/line-item-writes-HYLWBQTM.js +211 -0
  284. package/dist/line-items-Y4THDHSE.js +107 -0
  285. package/dist/link-BU7YCL2M.js +67 -0
  286. package/dist/linkedin-2SUTGGII.js +1345 -0
  287. package/dist/linkedin-2SUTGGII.js.map +1 -0
  288. package/dist/linkedin-person-FEIY7FYQ.js +139 -0
  289. package/dist/list-BKIL7O4G.js +306 -0
  290. package/dist/list-H3C345WG.js +154 -0
  291. package/dist/list-UGTDZ7YI.js +67 -0
  292. package/dist/locations-F4365X4S.js +40 -0
  293. package/dist/locations-HOI7AUZ2.js +69 -0
  294. package/dist/log-54SJV6MW.js +95 -0
  295. package/dist/lookup-QNLX2535.js +23 -0
  296. package/dist/make-AQ43J5LH.js +1368 -0
  297. package/dist/make-AQ43J5LH.js.map +1 -0
  298. package/dist/map-BPPGQGDV.js +445 -0
  299. package/dist/mcp-EXOMBMYL.js +729 -0
  300. package/dist/media-MITWBYVZ.js +18 -0
  301. package/dist/media-WGIEUEZW.js +89 -0
  302. package/dist/media-sources-XEC72K7X.js +35 -0
  303. package/dist/members-VDON57BE.js +47 -0
  304. package/dist/meta-NUBBKE2V.js +124 -0
  305. package/dist/metrics-V6FAZO5A.js +152 -0
  306. package/dist/models-TSMFIOZU.js +155 -0
  307. package/dist/normalize-632DD2HJ.js +144 -0
  308. package/dist/options-TZYZQZ3M.js +125 -0
  309. package/dist/organization-FYRXSGB4.js +949 -0
  310. package/dist/output-HZW7LNUL.js +24 -0
  311. package/dist/page-photos-4DNBQZUL.js +119 -0
  312. package/dist/page-photos-4DNBQZUL.js.map +1 -0
  313. package/dist/pages-UH6XEZBO.js +67 -0
  314. package/dist/performance-JKXHQIAV.js +27 -0
  315. package/dist/performance-OF3N43OP.js +5565 -0
  316. package/dist/pixels-KXA6R3G3.js +62 -0
  317. package/dist/pixels-PYNK73UG.js +109 -0
  318. package/dist/plan-4OYUV2EF.js +208 -0
  319. package/dist/preview-7E4E3QPT.js +245 -0
  320. package/dist/preview-FPBM75L2.js +101 -0
  321. package/dist/promoted-tweet-writes-IJRBFK7W.js +183 -0
  322. package/dist/promoted-tweets-7PYH3RPV.js +119 -0
  323. package/dist/properties-RDOGNY2O.js +101 -0
  324. package/dist/publish-MNSDFPEQ.js +350 -0
  325. package/dist/query-GMGWJW3X.js +62 -0
  326. package/dist/query-K7R5GQ4E.js +236 -0
  327. package/dist/query-PO3RT7BR.js +231 -0
  328. package/dist/questionnaire-4OH6K2BF.js +94 -0
  329. package/dist/read-MU5XGWMK.js +141 -0
  330. package/dist/reddit-JFFMZLJS.js +29 -0
  331. package/dist/refresh-EJ7WKW3H.js +97 -0
  332. package/dist/release-AFRLCZWB.js +63 -0
  333. package/dist/relevant-pages-4YGN3I2U.js +99 -0
  334. package/dist/remove-QD4PITBL.js +53 -0
  335. package/dist/reopen-JSC6AVJC.js +66 -0
  336. package/dist/rerun-QIAUVJX6.js +98 -0
  337. package/dist/rerun-QIAUVJX6.js.map +1 -0
  338. package/dist/research-MMFUFZGS.js +265 -0
  339. package/dist/research-SRISCVBM.js +75 -0
  340. package/dist/reset-752CNET3.js +57 -0
  341. package/dist/reset-R3TQAHRU.js +57 -0
  342. package/dist/resolve-EWHSJNBX.js +124 -0
  343. package/dist/retry-DVHDVHVP.js +65 -0
  344. package/dist/retry-PVULTONO.js +63 -0
  345. package/dist/revenue-B4N6QJM3.js +92 -0
  346. package/dist/revenue-B4N6QJM3.js.map +1 -0
  347. package/dist/rule-writes-YXK7HNLR.js +531 -0
  348. package/dist/rule-writes-YXK7HNLR.js.map +1 -0
  349. package/dist/rules-4YTY57FM.js +217 -0
  350. package/dist/rules-LRFDZFF6.js +108 -0
  351. package/dist/rules-LRFDZFF6.js.map +1 -0
  352. package/dist/rules-add-XVOGYHQO.js +497 -0
  353. package/dist/rules-add-XVOGYHQO.js.map +1 -0
  354. package/dist/run-PCZRYL42.js +69 -0
  355. package/dist/run-PRSAUWAJ.js +73 -0
  356. package/dist/scaffold-ad-A6SROV4X.js +1514 -0
  357. package/dist/scaffold-ad-A6SROV4X.js.map +1 -0
  358. package/dist/scaffold-static-ad-CRN5XZIZ.js +1013 -0
  359. package/dist/scaffold-static-ad-CRN5XZIZ.js.map +1 -0
  360. package/dist/scaffold-video-3F5JVFFR.js +886 -0
  361. package/dist/scaffold-video-3F5JVFFR.js.map +1 -0
  362. package/dist/schedule-6YTZBCZA.js +64 -0
  363. package/dist/scheduled-agents-XCPU57LU.js +55 -0
  364. package/dist/schema-4PS5BDG3.js +135 -0
  365. package/dist/search-IMZD5RGD.js +177 -0
  366. package/dist/select-GSO4BEIL.js +111 -0
  367. package/dist/select-GSO4BEIL.js.map +1 -0
  368. package/dist/sends-I2B6F5NW.js +349 -0
  369. package/dist/set-prompt-D32XJNWM.js +200 -0
  370. package/dist/set-prompt-D32XJNWM.js.map +1 -0
  371. package/dist/setup-links-PTL6RF2J.js +144 -0
  372. package/dist/shared-Z7INVKCZ.js +32 -0
  373. package/dist/shopify-SDZZ5HTA.js +4009 -0
  374. package/dist/site-NGQ7K6UD.js +180 -0
  375. package/dist/sitemaps-EOMSRKOD.js +77 -0
  376. package/dist/sites-6M73AONG.js +97 -0
  377. package/dist/sources-NKFSCI6M.js +30 -0
  378. package/dist/sources-O4CQ5KSX.js +457 -0
  379. package/dist/stale-CEZJ53RO.js +91 -0
  380. package/dist/stale-CEZJ53RO.js.map +1 -0
  381. package/dist/stats-MFEH2TSW.js +34 -0
  382. package/dist/status-DLYRPGFS.js +65 -0
  383. package/dist/stock-RDCDVBHX.js +212 -0
  384. package/dist/studies-SSA3SR2L.js +250 -0
  385. package/dist/studio-MBHPDGMN.js +49 -0
  386. package/dist/study-writes-EDV6OH7I.js +472 -0
  387. package/dist/study-writes-EDV6OH7I.js.map +1 -0
  388. package/dist/sync-BEW3TZP7.js +57 -0
  389. package/dist/sync-SI25TKY5.js +279 -0
  390. package/dist/sync-definition-RECCA3QH.js +71 -0
  391. package/dist/tag-manager-JFC6YYVP.js +43 -0
  392. package/dist/tags-IJIGZYR3.js +23 -0
  393. package/dist/tags-K4HIKHNU.js +26 -0
  394. package/dist/tags-OTA55BQ6.js +23 -0
  395. package/dist/tags-QF2V4B3M.js +23 -0
  396. package/dist/tags-SK7WXMBS.js +227 -0
  397. package/dist/targeting-NPNBPEHW.js +763 -0
  398. package/dist/targeting-NPNBPEHW.js.map +1 -0
  399. package/dist/targeting-constants-RF2732EW.js +118 -0
  400. package/dist/targeting-criteria-7BUUYDYC.js +113 -0
  401. package/dist/targets-7V3NCQSD.js +106 -0
  402. package/dist/terms-XFL6QO7A.js +102 -0
  403. package/dist/testimonials-XYD5DLBJ.js +32 -0
  404. package/dist/themes-HYDGH4GM.js +96 -0
  405. package/dist/themes-HYDGH4GM.js.map +1 -0
  406. package/dist/top-companies-LI26TONY.js +111 -0
  407. package/dist/transcript-FTHDWMGU.js +165 -0
  408. package/dist/translate-YATYKOEX.js +604 -0
  409. package/dist/translate-YATYKOEX.js.map +1 -0
  410. package/dist/triggers-3LHJVK5P.js +144 -0
  411. package/dist/tweets-6PQHJXJC.js +123 -0
  412. package/dist/unlink-BMOUBGWO.js +70 -0
  413. package/dist/unstage-O23ILHCY.js +96 -0
  414. package/dist/unstage-YEW5KXJL.js +88 -0
  415. package/dist/update-2IWZA5UU.js +101 -0
  416. package/dist/update-G7YZICSU.js +155 -0
  417. package/dist/update-T5INCQJZ.js +192 -0
  418. package/dist/update-UTQVTG45.js +66 -0
  419. package/dist/upload-UXYJDA2U.js +137 -0
  420. package/dist/url-options-Y7I5EL55.js +131 -0
  421. package/dist/url-params-PE4XAQNH.js +101 -0
  422. package/dist/validate-MMHBTNWU.js +126 -0
  423. package/dist/validate-MMHBTNWU.js.map +1 -0
  424. package/dist/videos-AHOLXU42.js +146 -0
  425. package/dist/videos-EVPJHY3B.js +41 -0
  426. package/dist/viewer-check-NA4TMNY4.js +83 -0
  427. package/dist/web-7EODEH25.js +173 -0
  428. package/dist/winning-ads-5UKX6QV7.js +86 -0
  429. package/dist/write-commands-HFP5KLYZ.js +1525 -0
  430. package/dist/write-commands-HFP5KLYZ.js.map +1 -0
  431. package/dist/write-commands-KVOMOYME.js +1170 -0
  432. package/dist/write-commands-KVOMOYME.js.map +1 -0
  433. package/dist/write-commands-LHEJESKL.js +206 -0
  434. package/dist/write-commands-SD6DXVNK.js +721 -0
  435. package/dist/x-R72UTFQT.js +47 -0
  436. package/package.json +1 -1
  437. package/dist/account-D2AGXMM3.js +0 -82
  438. package/dist/account-OCFXNHG7.js +0 -139
  439. package/dist/account-U6DFMD2V.js +0 -82
  440. package/dist/account-assets-W7K2PUYB.js +0 -290
  441. package/dist/account-level-Z2JEIJ3X.js +0 -611
  442. package/dist/account-level-Z2JEIJ3X.js.map +0 -1
  443. package/dist/account-reads-WPKD2LPB.js +0 -219
  444. package/dist/account-reads-WPKD2LPB.js.map +0 -1
  445. package/dist/account-users-BK45DBUH.js +0 -64
  446. package/dist/account-users-BK45DBUH.js.map +0 -1
  447. package/dist/account-writes-QSJ74QFR.js +0 -68
  448. package/dist/accounts-3DS67RX7.js +0 -119
  449. package/dist/accounts-55PDBEDN.js +0 -76
  450. package/dist/accounts-AK4QIG24.js +0 -115
  451. package/dist/accounts-FALANOYX.js +0 -80
  452. package/dist/accounts-VSJVFIPH.js +0 -713
  453. package/dist/actions-JIXQEVIN.js +0 -55
  454. package/dist/active-entities-HR7NJJLU.js +0 -103
  455. package/dist/activecampaign-4ST7BMHO.js +0 -938
  456. package/dist/activities-DEWHKBID.js +0 -75
  457. package/dist/ad-group-writes-QBHOPTT5.js +0 -172
  458. package/dist/ad-groups-JZDUFT6J.js +0 -70
  459. package/dist/ad-writes-QYJO4IB3.js +0 -176
  460. package/dist/add-NZ6SEWUR.js +0 -107
  461. package/dist/add-ZH5HJBUN.js +0 -305
  462. package/dist/ads-JYSYXF3U.js +0 -48
  463. package/dist/ads-QKVNPHBH.js +0 -120
  464. package/dist/ads-UMSWEI5X.js +0 -79
  465. package/dist/adsets-FEVYHKAQ.js +0 -182
  466. package/dist/advertisers-T37UHN3C.js +0 -123
  467. package/dist/analytics-7QSUKFXF.js +0 -2437
  468. package/dist/analytics-DR4DPUP4.js +0 -447
  469. package/dist/animate-WS63CZ3Y.js +0 -480
  470. package/dist/asset-writes-7RFZZYU7.js +0 -50
  471. package/dist/assign-3CVJL35R.js +0 -80
  472. package/dist/audience-size-6CZ2AZCK.js +0 -76
  473. package/dist/audience-writes-RUGU6KEC.js +0 -327
  474. package/dist/audience-writes-RUGU6KEC.js.map +0 -1
  475. package/dist/audiences-6GVUZUCN.js +0 -106
  476. package/dist/audiences-7OS2ZJYO.js +0 -85
  477. package/dist/audiences-RSAUXKHR.js +0 -280
  478. package/dist/audit-4L7IKIRY.js +0 -88
  479. package/dist/audit-Q66O3Z46.js +0 -154
  480. package/dist/autocomplete-T642QXBX.js +0 -114
  481. package/dist/avatars-33UGHCQA.js +0 -38
  482. package/dist/bid-pricing-LUWEWGCJ.js +0 -103
  483. package/dist/brand-36YIAVGK.js +0 -22
  484. package/dist/brief-A5XFT6VH.js +0 -543
  485. package/dist/businesses-42NZP6FP.js +0 -54
  486. package/dist/campaign-groups-SZSO5B6C.js +0 -99
  487. package/dist/campaign-writes-AN4IHY5G.js +0 -168
  488. package/dist/campaign-writes-GKNH2EHV.js +0 -176
  489. package/dist/campaigns-7RV65SXR.js +0 -78
  490. package/dist/campaigns-RDHQNOTI.js +0 -111
  491. package/dist/campaigns-TO74Z7UH.js +0 -130
  492. package/dist/campaigns-VLVV2PPO.js +0 -113
  493. package/dist/canvas-D7L7R4D2.js +0 -46
  494. package/dist/capabilities-YC36LOZU.js +0 -147
  495. package/dist/cards-CAOGPPG4.js +0 -85
  496. package/dist/catalog-URTZYAPU.js +0 -66
  497. package/dist/catalogs-5LWEXG5X.js +0 -130
  498. package/dist/catalogs-7IEXGLSR.js +0 -782
  499. package/dist/catalogs-7IEXGLSR.js.map +0 -1
  500. package/dist/changes-WWZYTLC6.js +0 -167
  501. package/dist/chatgpt-ZI4GWP6S.js +0 -47
  502. package/dist/chats-M3RP62YO.js +0 -584
  503. package/dist/check-FQYDJ5RS.js +0 -107
  504. package/dist/check-FQYDJ5RS.js.map +0 -1
  505. package/dist/chunk-22RM3UOO.js +0 -63
  506. package/dist/chunk-2DAWUWA4.js +0 -115
  507. package/dist/chunk-2JBPS2CV.js +0 -89
  508. package/dist/chunk-2LBQNTTH.js +0 -76
  509. package/dist/chunk-2N2R5YSN.js +0 -156
  510. package/dist/chunk-2Q7K4F4H.js +0 -7899
  511. package/dist/chunk-2TS2ITSG.js +0 -392
  512. package/dist/chunk-3E74OM2E.js +0 -288
  513. package/dist/chunk-4NZ47VXO.js +0 -137
  514. package/dist/chunk-4NZ47VXO.js.map +0 -1
  515. package/dist/chunk-5H6N36LS.js +0 -217
  516. package/dist/chunk-6E4KJMXO.js +0 -51
  517. package/dist/chunk-6IR7IQPV.js +0 -69
  518. package/dist/chunk-6QINKM6T.js +0 -46
  519. package/dist/chunk-7CORYCEZ.js +0 -142
  520. package/dist/chunk-AC7WLPXF.js +0 -8954
  521. package/dist/chunk-AIK2HPDZ.js +0 -312
  522. package/dist/chunk-BMMXYR7A.js +0 -238
  523. package/dist/chunk-C3EX5OKN.js +0 -188
  524. package/dist/chunk-CDTAKCJR.js +0 -178
  525. package/dist/chunk-CDTAKCJR.js.map +0 -1
  526. package/dist/chunk-CI3QSB6G.js +0 -207
  527. package/dist/chunk-CORECUKT.js +0 -685
  528. package/dist/chunk-DLM5OSHM.js +0 -843
  529. package/dist/chunk-DLM5OSHM.js.map +0 -1
  530. package/dist/chunk-DWPOAU4Z.js +0 -5471
  531. package/dist/chunk-E3PYHCQL.js +0 -344
  532. package/dist/chunk-EIDHLGQM.js +0 -249
  533. package/dist/chunk-EIDHLGQM.js.map +0 -1
  534. package/dist/chunk-EJBLF2LI.js +0 -167
  535. package/dist/chunk-FGAXZ7ET.js +0 -23
  536. package/dist/chunk-FGTOOTYC.js +0 -91
  537. package/dist/chunk-FWHEAR7F.js +0 -138
  538. package/dist/chunk-GDRJS2QJ.js +0 -197
  539. package/dist/chunk-GUYFVYLY.js +0 -170
  540. package/dist/chunk-GWLP45WQ.js +0 -1518
  541. package/dist/chunk-H3HA22Z3.js +0 -1919
  542. package/dist/chunk-H3RCEM6L.js +0 -61
  543. package/dist/chunk-HBRXFQQV.js +0 -3510
  544. package/dist/chunk-HH5WM5VA.js +0 -430
  545. package/dist/chunk-IGCS3X4F.js +0 -150
  546. package/dist/chunk-IID2MAYZ.js +0 -91
  547. package/dist/chunk-ILGRC7LJ.js +0 -287
  548. package/dist/chunk-JAC6JVCI.js +0 -26
  549. package/dist/chunk-JCDCIQMA.js +0 -479
  550. package/dist/chunk-JHS5PE5Y.js +0 -1246
  551. package/dist/chunk-JHS5PE5Y.js.map +0 -1
  552. package/dist/chunk-JIE45TKJ.js +0 -962
  553. package/dist/chunk-JSOOLOHP.js +0 -468
  554. package/dist/chunk-JTIWQLY5.js +0 -98
  555. package/dist/chunk-JWV7LUFM.js +0 -547
  556. package/dist/chunk-KDAINT54.js +0 -131
  557. package/dist/chunk-KH7AOX2R.js +0 -930
  558. package/dist/chunk-KJTMY7K6.js +0 -224
  559. package/dist/chunk-KZQQ6OLC.js +0 -169
  560. package/dist/chunk-L5GFFF5G.js +0 -604
  561. package/dist/chunk-LQACNCAV.js +0 -334
  562. package/dist/chunk-MCJ5I5LR.js +0 -3187
  563. package/dist/chunk-MCJ5I5LR.js.map +0 -1
  564. package/dist/chunk-MKG57P2E.js +0 -783
  565. package/dist/chunk-MOKZ5XZO.js +0 -455
  566. package/dist/chunk-MXVP7Z54.js +0 -163
  567. package/dist/chunk-MZPS46OR.js +0 -76
  568. package/dist/chunk-N2TXADL7.js +0 -1320
  569. package/dist/chunk-NTFNLVZG.js +0 -26
  570. package/dist/chunk-O3O7PXMK.js +0 -103
  571. package/dist/chunk-OASXBRXQ.js +0 -24026
  572. package/dist/chunk-OASXBRXQ.js.map +0 -1
  573. package/dist/chunk-ORQ3WBM6.js +0 -225
  574. package/dist/chunk-OSQTSS27.js +0 -74
  575. package/dist/chunk-OTRKBCUB.js +0 -219
  576. package/dist/chunk-Q5DFEVLE.js +0 -148
  577. package/dist/chunk-QVQKCVP7.js +0 -85
  578. package/dist/chunk-QVQKCVP7.js.map +0 -1
  579. package/dist/chunk-R4RWQ6YX.js +0 -152
  580. package/dist/chunk-RBCO3C3Q.js +0 -324
  581. package/dist/chunk-RBCO3C3Q.js.map +0 -1
  582. package/dist/chunk-SIUYWLXB.js +0 -494
  583. package/dist/chunk-TPGFX47R.js +0 -709
  584. package/dist/chunk-TYFXPC5D.js +0 -1902
  585. package/dist/chunk-TZTHGLWN.js +0 -66
  586. package/dist/chunk-UJTIMPEE.js +0 -203
  587. package/dist/chunk-UKZKLXTE.js +0 -638
  588. package/dist/chunk-UKZKLXTE.js.map +0 -1
  589. package/dist/chunk-ULIQNJ5J.js +0 -274
  590. package/dist/chunk-UQZZM6UM.js +0 -831
  591. package/dist/chunk-UUXGSDUC.js +0 -297
  592. package/dist/chunk-UYZ4FUC7.js +0 -225
  593. package/dist/chunk-UZHDNE6M.js +0 -2209
  594. package/dist/chunk-VJ4IOJQZ.js +0 -19
  595. package/dist/chunk-WBWEKZQ2.js +0 -191
  596. package/dist/chunk-X25XRSDP.js +0 -57
  597. package/dist/chunk-X3GWGFZP.js +0 -5368
  598. package/dist/chunk-X3YYZLBH.js +0 -285
  599. package/dist/chunk-XHWHBGKX.js +0 -4277
  600. package/dist/chunk-XHWHBGKX.js.map +0 -1
  601. package/dist/chunk-XRUB4KRV.js +0 -191
  602. package/dist/chunk-XZAVBONI.js +0 -64
  603. package/dist/chunk-YD6OZSSY.js +0 -106
  604. package/dist/chunk-YVFHDZ3K.js +0 -399
  605. package/dist/chunk-ZQ7JDYJB.js +0 -454
  606. package/dist/claim-CG3J32WS.js +0 -200
  607. package/dist/companies-X6O55ACG.js +0 -198
  608. package/dist/company-4CD2OJLB.js +0 -308
  609. package/dist/complete-JSP6VQYI.js +0 -84
  610. package/dist/config-NDL2YP37.js +0 -88
  611. package/dist/connect-O5NRDY4Y.js +0 -45
  612. package/dist/conversation-J22BH6O5.js +0 -96
  613. package/dist/conversion-report-76S5JOVT.js +0 -127
  614. package/dist/conversion-upload-command-5OILW65U.js +0 -439
  615. package/dist/conversion-upload-command-5OILW65U.js.map +0 -1
  616. package/dist/conversion-writes-6HX665JT.js +0 -122
  617. package/dist/conversions-I2ZOQHKJ.js +0 -140
  618. package/dist/conversions-QZJRF4WN.js +0 -78
  619. package/dist/copy-writes-X2LM5I4Z.js +0 -170
  620. package/dist/copy-writes-X2LM5I4Z.js.map +0 -1
  621. package/dist/create-DQ5X5AJT.js +0 -62
  622. package/dist/create-FNPFVKLT.js +0 -239
  623. package/dist/create-GXOFZCR5.js +0 -135
  624. package/dist/create-VAZ65QNJ.js +0 -218
  625. package/dist/creatives-4G2V4J6N.js +0 -229
  626. package/dist/creatives-QWNQDPNE.js +0 -58
  627. package/dist/creatives-SFPNXJ6Z.js +0 -118
  628. package/dist/credentials-VCERJE24.js +0 -290
  629. package/dist/critique-62QFBC33.js +0 -1451
  630. package/dist/critique-62QFBC33.js.map +0 -1
  631. package/dist/critique-MSL6EU5V.js +0 -232
  632. package/dist/critique-MSL6EU5V.js.map +0 -1
  633. package/dist/crm-HODCOAAI.js +0 -229
  634. package/dist/crm-J3SCOR4L.js +0 -323
  635. package/dist/currency-BZUNQ4XJ.js +0 -88
  636. package/dist/custom-conversions-UHRBVUD2.js +0 -128
  637. package/dist/customers-EYVTYCGY.js +0 -65
  638. package/dist/delete-7A6T6XBD.js +0 -69
  639. package/dist/delete-I3W3M6T7.js +0 -67
  640. package/dist/delete-RZCW3Y6L.js +0 -57
  641. package/dist/demographics-OFBRSF7A.js +0 -141
  642. package/dist/discard-I773LYVR.js +0 -69
  643. package/dist/discover-PDSEJR2P.js +0 -172
  644. package/dist/domain-7YO5HYHU.js +0 -101
  645. package/dist/download-IYK3UVBF.js +0 -172
  646. package/dist/draft-2Z7EGKBO.js +0 -220
  647. package/dist/draft-44KTLX4P.js +0 -134
  648. package/dist/draft-6MWXURYC.js +0 -374
  649. package/dist/draft-CKFSZDVI.js +0 -260
  650. package/dist/draft-PCXWAA2Y.js +0 -578
  651. package/dist/draft-PCXWAA2Y.js.map +0 -1
  652. package/dist/draft-QN5XXOS6.js +0 -332
  653. package/dist/draft-QN5XXOS6.js.map +0 -1
  654. package/dist/draft-RSKZSUOS.js +0 -138
  655. package/dist/draft-WOE7KQ7T.js +0 -315
  656. package/dist/experiment-AZUKJ7ZO.js +0 -1397
  657. package/dist/experiments-2DX4K3AQ.js +0 -236
  658. package/dist/experiments-2DX4K3AQ.js.map +0 -1
  659. package/dist/extract-ZIW5JFTY.js +0 -143
  660. package/dist/facets-OLRASLT7.js +0 -117
  661. package/dist/feedback-2YJ24NV7.js +0 -115
  662. package/dist/feedback-2YJ24NV7.js.map +0 -1
  663. package/dist/feedback-X3GLQ2QF.js +0 -114
  664. package/dist/feedback-record-A5JLS3QY.js +0 -269
  665. package/dist/feedback-record-A5JLS3QY.js.map +0 -1
  666. package/dist/fetch-6XMRKLYH.js +0 -204
  667. package/dist/fit-BRJSLR7P.js +0 -65
  668. package/dist/flows-LXJHL3KW.js +0 -340
  669. package/dist/fonts-UUSCLUHW.js +0 -39
  670. package/dist/forecast-3KMAJJWJ.js +0 -169
  671. package/dist/forecast-3KMAJJWJ.js.map +0 -1
  672. package/dist/forecast-7DZGLC7Y.js +0 -121
  673. package/dist/funding-BSAHWU35.js +0 -85
  674. package/dist/funnel-2ALYZ3GP.js +0 -397
  675. package/dist/ga4-YVKA3V4V.js +0 -55
  676. package/dist/generate-VGGXTZBP.js +0 -263
  677. package/dist/get-KVZSVN7U.js +0 -62
  678. package/dist/get-OZ7THI2W.js +0 -82
  679. package/dist/google-5U5KXEX7.js +0 -163
  680. package/dist/google-RTDPHVLU.js +0 -3300
  681. package/dist/google-RTDPHVLU.js.map +0 -1
  682. package/dist/google-ads-YZTK3YTW.js +0 -198
  683. package/dist/gsc-OJDMSP6H.js +0 -30
  684. package/dist/history-LXRFZNW7.js +0 -69
  685. package/dist/history-RYTNMGU5.js +0 -153
  686. package/dist/history-XDYDNQWK.js +0 -102
  687. package/dist/hubspot-MRUCRJLL.js +0 -814
  688. package/dist/ideas-TT24LJR5.js +0 -45
  689. package/dist/images-PLYPUXM2.js +0 -92
  690. package/dist/ingest-CSPC3RUK.js +0 -131
  691. package/dist/ingest-MSPQX3Z6.js +0 -28
  692. package/dist/insights-H6M6VI43.js +0 -132
  693. package/dist/insights-LZJZGNJZ.js +0 -658
  694. package/dist/inspect-VD6CB2NA.js +0 -192
  695. package/dist/instant-experiences-J4GSS3Y6.js +0 -264
  696. package/dist/instant-experiences-J4GSS3Y6.js.map +0 -1
  697. package/dist/intent-HXRSLFIO.js +0 -95
  698. package/dist/job-UFGGBDG7.js +0 -202
  699. package/dist/job-create-XM4NH322.js +0 -109
  700. package/dist/job-status-47L5Z57J.js +0 -74
  701. package/dist/keyword-gap-WUHMSTNR.js +0 -130
  702. package/dist/keyword-metrics-NJV3WR75.js +0 -200
  703. package/dist/keywords-for-site-B7MUDHFH.js +0 -131
  704. package/dist/landing-RKOEVY7L.js +0 -28
  705. package/dist/languages-SVTYYYOC.js +0 -40
  706. package/dist/leads-HFB5UXZJ.js +0 -115
  707. package/dist/leads-SEEJ3KRR.js +0 -541
  708. package/dist/leads-SEEJ3KRR.js.map +0 -1
  709. package/dist/learn-XNN3DGDF.js +0 -207
  710. package/dist/line-item-writes-VEJ5Y6X4.js +0 -211
  711. package/dist/line-items-U6L2TMPG.js +0 -107
  712. package/dist/link-ENZQAISO.js +0 -67
  713. package/dist/linkedin-SY2WZWKP.js +0 -1344
  714. package/dist/linkedin-SY2WZWKP.js.map +0 -1
  715. package/dist/linkedin-person-3RCX4MI3.js +0 -139
  716. package/dist/list-AF522LRC.js +0 -67
  717. package/dist/list-GPTYUCSX.js +0 -154
  718. package/dist/list-VYTHVUDP.js +0 -306
  719. package/dist/locations-5SLLGWZO.js +0 -69
  720. package/dist/locations-7EBZ6KRH.js +0 -40
  721. package/dist/log-NJR3FJWN.js +0 -95
  722. package/dist/lookup-OU6CLATK.js +0 -23
  723. package/dist/make-4XUB6RSF.js +0 -1367
  724. package/dist/make-4XUB6RSF.js.map +0 -1
  725. package/dist/map-LIYQCWXU.js +0 -445
  726. package/dist/mcp-QDOAKB3A.js +0 -729
  727. package/dist/media-DGV2AMZI.js +0 -89
  728. package/dist/media-YKCCMLXL.js +0 -18
  729. package/dist/media-sources-LFSDIPUB.js +0 -35
  730. package/dist/members-KGKQQFMN.js +0 -47
  731. package/dist/meta-5TRG7RTQ.js +0 -124
  732. package/dist/metrics-WRERNMRK.js +0 -152
  733. package/dist/models-SITHUNAA.js +0 -155
  734. package/dist/normalize-DQPKM3MG.js +0 -144
  735. package/dist/options-XIH7YPEG.js +0 -125
  736. package/dist/organization-BUSXIGA4.js +0 -949
  737. package/dist/output-7X5WPPCA.js +0 -24
  738. package/dist/page-photos-VYJU4RNQ.js +0 -118
  739. package/dist/page-photos-VYJU4RNQ.js.map +0 -1
  740. package/dist/pages-6YMPZDEY.js +0 -67
  741. package/dist/performance-PU4NHFUE.js +0 -27
  742. package/dist/performance-Y2DTYSFV.js +0 -5565
  743. package/dist/pixels-DZDVNIVL.js +0 -109
  744. package/dist/pixels-WTTLC4O5.js +0 -62
  745. package/dist/plan-JAWESWJN.js +0 -208
  746. package/dist/preview-3UOBVP6M.js +0 -101
  747. package/dist/preview-JZXGR4KN.js +0 -245
  748. package/dist/promoted-tweet-writes-6Y4MDPBH.js +0 -183
  749. package/dist/promoted-tweets-JAR2W6KC.js +0 -119
  750. package/dist/properties-Z5S3LRJ5.js +0 -101
  751. package/dist/publish-MDVPC77V.js +0 -350
  752. package/dist/query-3QFT42PG.js +0 -62
  753. package/dist/query-KKXCMH3Q.js +0 -236
  754. package/dist/query-QXKGVHZL.js +0 -231
  755. package/dist/questionnaire-U7UYICEA.js +0 -94
  756. package/dist/read-ENUS7P3L.js +0 -141
  757. package/dist/reddit-ZPKVVZGP.js +0 -29
  758. package/dist/refresh-V34YWN3W.js +0 -97
  759. package/dist/release-WRNUOSHB.js +0 -63
  760. package/dist/relevant-pages-OFKZYWR3.js +0 -99
  761. package/dist/remove-HKWV7P27.js +0 -53
  762. package/dist/reopen-VHHYVAKC.js +0 -66
  763. package/dist/rerun-THE43RCG.js +0 -97
  764. package/dist/rerun-THE43RCG.js.map +0 -1
  765. package/dist/research-773Y7GT4.js +0 -75
  766. package/dist/research-G5A2WXVK.js +0 -265
  767. package/dist/reset-GFJ3AKF5.js +0 -57
  768. package/dist/reset-MVTWA3HT.js +0 -57
  769. package/dist/resolve-JRSSTIAF.js +0 -124
  770. package/dist/retry-AGHA6IVT.js +0 -65
  771. package/dist/retry-LDJ6FZCZ.js +0 -63
  772. package/dist/revenue-Q2JK5VY6.js +0 -91
  773. package/dist/revenue-Q2JK5VY6.js.map +0 -1
  774. package/dist/rule-writes-WT6DQZZE.js +0 -530
  775. package/dist/rule-writes-WT6DQZZE.js.map +0 -1
  776. package/dist/rules-4A25K2P7.js +0 -99
  777. package/dist/rules-4A25K2P7.js.map +0 -1
  778. package/dist/rules-Y75KR2PC.js +0 -217
  779. package/dist/rules-add-GT7NCUB3.js +0 -465
  780. package/dist/rules-add-GT7NCUB3.js.map +0 -1
  781. package/dist/run-NFLKYVIC.js +0 -72
  782. package/dist/run-ZLHQNLCF.js +0 -69
  783. package/dist/scaffold-ad-AJN67FWG.js +0 -1513
  784. package/dist/scaffold-ad-AJN67FWG.js.map +0 -1
  785. package/dist/scaffold-static-ad-L6KXZ3TN.js +0 -1012
  786. package/dist/scaffold-static-ad-L6KXZ3TN.js.map +0 -1
  787. package/dist/scaffold-video-XQBZZ5TZ.js +0 -885
  788. package/dist/scaffold-video-XQBZZ5TZ.js.map +0 -1
  789. package/dist/schedule-45CJDHIX.js +0 -64
  790. package/dist/scheduled-agents-72MWHK63.js +0 -55
  791. package/dist/schema-VX66FH4O.js +0 -135
  792. package/dist/search-Y6TS5UZS.js +0 -177
  793. package/dist/select-MZ2U7U5U.js +0 -110
  794. package/dist/select-MZ2U7U5U.js.map +0 -1
  795. package/dist/sends-4ZO6BNZ4.js +0 -349
  796. package/dist/set-prompt-YH6PXNXB.js +0 -199
  797. package/dist/set-prompt-YH6PXNXB.js.map +0 -1
  798. package/dist/setup-links-Y4YYDQBK.js +0 -144
  799. package/dist/shared-UPMEBTVP.js +0 -32
  800. package/dist/shopify-HGFUHYT7.js +0 -4009
  801. package/dist/site-WZ654OP3.js +0 -180
  802. package/dist/sitemaps-P3K5Z4TW.js +0 -77
  803. package/dist/sites-TURWC53D.js +0 -97
  804. package/dist/sources-7ZFY3VEZ.js +0 -457
  805. package/dist/sources-FCBFLR2J.js +0 -30
  806. package/dist/stale-VSSDVB4H.js +0 -90
  807. package/dist/stale-VSSDVB4H.js.map +0 -1
  808. package/dist/stats-XNKAJD2Z.js +0 -34
  809. package/dist/status-L7LYUD3F.js +0 -65
  810. package/dist/stock-73PLAUYU.js +0 -212
  811. package/dist/studies-5G67ODR2.js +0 -250
  812. package/dist/studio-D2OMFCZZ.js +0 -49
  813. package/dist/study-writes-34BJFZAZ.js +0 -471
  814. package/dist/study-writes-34BJFZAZ.js.map +0 -1
  815. package/dist/sync-QVEUQKU5.js +0 -279
  816. package/dist/sync-XBC3PSSV.js +0 -57
  817. package/dist/sync-definition-IM2NY5QC.js +0 -70
  818. package/dist/tag-manager-3GIW6BPB.js +0 -43
  819. package/dist/tags-2KNOJ7A6.js +0 -26
  820. package/dist/tags-COALQ2CT.js +0 -23
  821. package/dist/tags-HCJTTLSR.js +0 -227
  822. package/dist/tags-MVC56SHA.js +0 -23
  823. package/dist/tags-UNUZVGUA.js +0 -23
  824. package/dist/targeting-TVZPIUUI.js +0 -762
  825. package/dist/targeting-TVZPIUUI.js.map +0 -1
  826. package/dist/targeting-constants-RJS2STR5.js +0 -118
  827. package/dist/targeting-criteria-SMBIEM7U.js +0 -113
  828. package/dist/targets-BNH37YAQ.js +0 -106
  829. package/dist/terms-AATAGKPT.js +0 -102
  830. package/dist/testimonials-IIAT5IDM.js +0 -32
  831. package/dist/themes-5HKRO5RR.js +0 -95
  832. package/dist/themes-5HKRO5RR.js.map +0 -1
  833. package/dist/top-companies-PY2NL2GS.js +0 -111
  834. package/dist/transcript-7WFXVRVW.js +0 -165
  835. package/dist/translate-IPTYPZF6.js +0 -603
  836. package/dist/translate-IPTYPZF6.js.map +0 -1
  837. package/dist/triggers-RBD2XGNG.js +0 -144
  838. package/dist/tweets-MLDLLLDB.js +0 -123
  839. package/dist/unlink-5IMEUVIS.js +0 -70
  840. package/dist/unstage-65DUBYNZ.js +0 -96
  841. package/dist/unstage-DSOVSWEK.js +0 -88
  842. package/dist/update-7JVV5ZL3.js +0 -66
  843. package/dist/update-FIU2ECYQ.js +0 -192
  844. package/dist/update-HSS6CVUK.js +0 -101
  845. package/dist/update-XWL3Q5QY.js +0 -155
  846. package/dist/upload-B5SM33MK.js +0 -137
  847. package/dist/url-options-4J3FRXHO.js +0 -131
  848. package/dist/url-params-TGCGWKAJ.js +0 -101
  849. package/dist/validate-4NXKYAL2.js +0 -125
  850. package/dist/validate-4NXKYAL2.js.map +0 -1
  851. package/dist/videos-FMV4AVB2.js +0 -41
  852. package/dist/videos-NITQKILV.js +0 -146
  853. package/dist/viewer-check-2W6BTVQV.js +0 -83
  854. package/dist/web-K2EMYVCD.js +0 -173
  855. package/dist/winning-ads-Q3RXH7EC.js +0 -86
  856. package/dist/write-commands-OBQPQUIE.js +0 -721
  857. package/dist/write-commands-SIOVTRHH.js +0 -1169
  858. package/dist/write-commands-SIOVTRHH.js.map +0 -1
  859. package/dist/write-commands-VQPEHKH7.js +0 -1524
  860. package/dist/write-commands-VQPEHKH7.js.map +0 -1
  861. package/dist/write-commands-XLZCRVTU.js +0 -206
  862. package/dist/x-PW43O6JS.js +0 -47
  863. /package/dist/{account-U6DFMD2V.js.map → account-JREYXYNE.js.map} +0 -0
  864. /package/dist/{account-OCFXNHG7.js.map → account-OUKPRB7C.js.map} +0 -0
  865. /package/dist/{account-D2AGXMM3.js.map → account-WN5MJ5QN.js.map} +0 -0
  866. /package/dist/{account-assets-W7K2PUYB.js.map → account-assets-IWJWYNQ3.js.map} +0 -0
  867. /package/dist/{account-writes-QSJ74QFR.js.map → account-writes-IUIXIVRC.js.map} +0 -0
  868. /package/dist/{accounts-FALANOYX.js.map → accounts-4YRDRLHX.js.map} +0 -0
  869. /package/dist/{accounts-3DS67RX7.js.map → accounts-HEGADQ6E.js.map} +0 -0
  870. /package/dist/{accounts-55PDBEDN.js.map → accounts-OSVXKNSI.js.map} +0 -0
  871. /package/dist/{accounts-AK4QIG24.js.map → accounts-SJOO4MQX.js.map} +0 -0
  872. /package/dist/{accounts-VSJVFIPH.js.map → accounts-V7EOUTNL.js.map} +0 -0
  873. /package/dist/{actions-JIXQEVIN.js.map → actions-5LYJ3U6G.js.map} +0 -0
  874. /package/dist/{active-entities-HR7NJJLU.js.map → active-entities-4KQQSMRZ.js.map} +0 -0
  875. /package/dist/{activecampaign-4ST7BMHO.js.map → activecampaign-CZHLHGT4.js.map} +0 -0
  876. /package/dist/{activities-DEWHKBID.js.map → activities-FRA33VZZ.js.map} +0 -0
  877. /package/dist/{ad-group-writes-QBHOPTT5.js.map → ad-group-writes-YQXBUA3Q.js.map} +0 -0
  878. /package/dist/{ad-groups-JZDUFT6J.js.map → ad-groups-NJR4ILEN.js.map} +0 -0
  879. /package/dist/{ad-writes-QYJO4IB3.js.map → ad-writes-TZV64CC2.js.map} +0 -0
  880. /package/dist/{add-ZH5HJBUN.js.map → add-MZUSKY2L.js.map} +0 -0
  881. /package/dist/{add-NZ6SEWUR.js.map → add-NAUSQKRS.js.map} +0 -0
  882. /package/dist/{ads-QKVNPHBH.js.map → ads-A2FXTQES.js.map} +0 -0
  883. /package/dist/{ads-JYSYXF3U.js.map → ads-PYTK3LJE.js.map} +0 -0
  884. /package/dist/{ads-UMSWEI5X.js.map → ads-Q7DD5VXU.js.map} +0 -0
  885. /package/dist/{adsets-FEVYHKAQ.js.map → adsets-ZHEVFOK4.js.map} +0 -0
  886. /package/dist/{advertisers-T37UHN3C.js.map → advertisers-HSTND4HE.js.map} +0 -0
  887. /package/dist/{analytics-DR4DPUP4.js.map → analytics-63Q3FJN4.js.map} +0 -0
  888. /package/dist/{analytics-7QSUKFXF.js.map → analytics-GLJODEIM.js.map} +0 -0
  889. /package/dist/{animate-WS63CZ3Y.js.map → animate-EI6AYBDI.js.map} +0 -0
  890. /package/dist/{asset-writes-7RFZZYU7.js.map → asset-writes-MS45UKJ3.js.map} +0 -0
  891. /package/dist/{assign-3CVJL35R.js.map → assign-7HT3XSSN.js.map} +0 -0
  892. /package/dist/{audience-size-6CZ2AZCK.js.map → audience-size-DG7544D2.js.map} +0 -0
  893. /package/dist/{audiences-RSAUXKHR.js.map → audiences-2IVVS3SJ.js.map} +0 -0
  894. /package/dist/{audiences-7OS2ZJYO.js.map → audiences-RN745R53.js.map} +0 -0
  895. /package/dist/{audiences-6GVUZUCN.js.map → audiences-Z2TQT35L.js.map} +0 -0
  896. /package/dist/{audit-4L7IKIRY.js.map → audit-BIHMDO5K.js.map} +0 -0
  897. /package/dist/{audit-Q66O3Z46.js.map → audit-ZYST7KCO.js.map} +0 -0
  898. /package/dist/{autocomplete-T642QXBX.js.map → autocomplete-5BKEMOQ3.js.map} +0 -0
  899. /package/dist/{avatars-33UGHCQA.js.map → avatars-FQOCDWLW.js.map} +0 -0
  900. /package/dist/{bid-pricing-LUWEWGCJ.js.map → bid-pricing-JEW7T2VR.js.map} +0 -0
  901. /package/dist/{brand-36YIAVGK.js.map → brand-FR6BKWXN.js.map} +0 -0
  902. /package/dist/{brief-A5XFT6VH.js.map → brief-32IXDJ4J.js.map} +0 -0
  903. /package/dist/{businesses-42NZP6FP.js.map → businesses-HECSW3EL.js.map} +0 -0
  904. /package/dist/{campaign-groups-SZSO5B6C.js.map → campaign-groups-LYPVIZT5.js.map} +0 -0
  905. /package/dist/{campaign-writes-AN4IHY5G.js.map → campaign-writes-D5MM5LUH.js.map} +0 -0
  906. /package/dist/{campaign-writes-GKNH2EHV.js.map → campaign-writes-S7A6W5V3.js.map} +0 -0
  907. /package/dist/{campaigns-RDHQNOTI.js.map → campaigns-CMDF3P7Y.js.map} +0 -0
  908. /package/dist/{campaigns-VLVV2PPO.js.map → campaigns-LIICP5JU.js.map} +0 -0
  909. /package/dist/{campaigns-TO74Z7UH.js.map → campaigns-N72TOUQX.js.map} +0 -0
  910. /package/dist/{campaigns-7RV65SXR.js.map → campaigns-ZWJKBF3L.js.map} +0 -0
  911. /package/dist/{canvas-D7L7R4D2.js.map → canvas-3SNC3UUV.js.map} +0 -0
  912. /package/dist/{capabilities-YC36LOZU.js.map → capabilities-GL7P3SWY.js.map} +0 -0
  913. /package/dist/{cards-CAOGPPG4.js.map → cards-RYQN5JLR.js.map} +0 -0
  914. /package/dist/{catalog-URTZYAPU.js.map → catalog-PWAWDK42.js.map} +0 -0
  915. /package/dist/{catalogs-5LWEXG5X.js.map → catalogs-SLPYHA7D.js.map} +0 -0
  916. /package/dist/{changes-WWZYTLC6.js.map → changes-WOD4EOSN.js.map} +0 -0
  917. /package/dist/{chatgpt-ZI4GWP6S.js.map → chatgpt-3GX4I6NH.js.map} +0 -0
  918. /package/dist/{chats-M3RP62YO.js.map → chats-K2WUFVCG.js.map} +0 -0
  919. /package/dist/{chunk-GDRJS2QJ.js.map → chunk-34ARMQNL.js.map} +0 -0
  920. /package/dist/{chunk-CI3QSB6G.js.map → chunk-34MZGC2Y.js.map} +0 -0
  921. /package/dist/{chunk-SIUYWLXB.js.map → chunk-4KBTW5NE.js.map} +0 -0
  922. /package/dist/{chunk-2LBQNTTH.js.map → chunk-4PAGS7QH.js.map} +0 -0
  923. /package/dist/{chunk-MXVP7Z54.js.map → chunk-53KV66ZZ.js.map} +0 -0
  924. /package/dist/{chunk-6IR7IQPV.js.map → chunk-5C4RRCKM.js.map} +0 -0
  925. /package/dist/{chunk-TPGFX47R.js.map → chunk-5I6XOSNI.js.map} +0 -0
  926. /package/dist/{chunk-ILGRC7LJ.js.map → chunk-5OE4Z7TP.js.map} +0 -0
  927. /package/dist/{chunk-JAC6JVCI.js.map → chunk-6OIKNJ7G.js.map} +0 -0
  928. /package/dist/{chunk-JIE45TKJ.js.map → chunk-6S4B67KP.js.map} +0 -0
  929. /package/dist/{chunk-KH7AOX2R.js.map → chunk-77LXZAX2.js.map} +0 -0
  930. /package/dist/{chunk-5H6N36LS.js.map → chunk-7TVVYP7K.js.map} +0 -0
  931. /package/dist/{chunk-HBRXFQQV.js.map → chunk-7URHRPC7.js.map} +0 -0
  932. /package/dist/{chunk-YVFHDZ3K.js.map → chunk-7YMQEAGA.js.map} +0 -0
  933. /package/dist/{chunk-NTFNLVZG.js.map → chunk-A4O3JL6D.js.map} +0 -0
  934. /package/dist/{chunk-2DAWUWA4.js.map → chunk-ANRTDNPQ.js.map} +0 -0
  935. /package/dist/{chunk-GWLP45WQ.js.map → chunk-AQNTVM6S.js.map} +0 -0
  936. /package/dist/{chunk-ULIQNJ5J.js.map → chunk-BPDIY5CF.js.map} +0 -0
  937. /package/dist/{chunk-UQZZM6UM.js.map → chunk-CKHF7UXS.js.map} +0 -0
  938. /package/dist/{chunk-MKG57P2E.js.map → chunk-CUTTTFAU.js.map} +0 -0
  939. /package/dist/{chunk-IGCS3X4F.js.map → chunk-D32EWSMB.js.map} +0 -0
  940. /package/dist/{chunk-JWV7LUFM.js.map → chunk-D55MN5IH.js.map} +0 -0
  941. /package/dist/{chunk-FWHEAR7F.js.map → chunk-DRQI2CJJ.js.map} +0 -0
  942. /package/dist/{chunk-AIK2HPDZ.js.map → chunk-ETI6DGR2.js.map} +0 -0
  943. /package/dist/{chunk-FGTOOTYC.js.map → chunk-FFTD7XDA.js.map} +0 -0
  944. /package/dist/{chunk-KJTMY7K6.js.map → chunk-FTKUHGTC.js.map} +0 -0
  945. /package/dist/{chunk-2TS2ITSG.js.map → chunk-GFYGVIT3.js.map} +0 -0
  946. /package/dist/{chunk-ORQ3WBM6.js.map → chunk-GGXPO4NQ.js.map} +0 -0
  947. /package/dist/{chunk-GUYFVYLY.js.map → chunk-H56UJRLV.js.map} +0 -0
  948. /package/dist/{chunk-7CORYCEZ.js.map → chunk-HDMD6LXS.js.map} +0 -0
  949. /package/dist/{chunk-N2TXADL7.js.map → chunk-HFZZKYUX.js.map} +0 -0
  950. /package/dist/{chunk-DWPOAU4Z.js.map → chunk-IAYJKH4R.js.map} +0 -0
  951. /package/dist/{chunk-JCDCIQMA.js.map → chunk-IEPCI2EB.js.map} +0 -0
  952. /package/dist/{chunk-E3PYHCQL.js.map → chunk-IKADYUXK.js.map} +0 -0
  953. /package/dist/{chunk-OSQTSS27.js.map → chunk-J32CYEIH.js.map} +0 -0
  954. /package/dist/{chunk-2N2R5YSN.js.map → chunk-J5I3GYSJ.js.map} +0 -0
  955. /package/dist/{chunk-X3YYZLBH.js.map → chunk-JCVXKHVB.js.map} +0 -0
  956. /package/dist/{chunk-JSOOLOHP.js.map → chunk-JESSFI7R.js.map} +0 -0
  957. /package/dist/{chunk-H3RCEM6L.js.map → chunk-K4QPBXV7.js.map} +0 -0
  958. /package/dist/{chunk-H3HA22Z3.js.map → chunk-KJ3J2DYM.js.map} +0 -0
  959. /package/dist/{chunk-UZHDNE6M.js.map → chunk-L43B2YGZ.js.map} +0 -0
  960. /package/dist/{chunk-OTRKBCUB.js.map → chunk-L7UD57TV.js.map} +0 -0
  961. /package/dist/{chunk-HH5WM5VA.js.map → chunk-LJYXGUQ3.js.map} +0 -0
  962. /package/dist/{chunk-UJTIMPEE.js.map → chunk-LNYM4PQS.js.map} +0 -0
  963. /package/dist/{chunk-TZTHGLWN.js.map → chunk-MIXUMGJE.js.map} +0 -0
  964. /package/dist/{chunk-MOKZ5XZO.js.map → chunk-MWJ6BCZJ.js.map} +0 -0
  965. /package/dist/{chunk-TYFXPC5D.js.map → chunk-O7WRA3JU.js.map} +0 -0
  966. /package/dist/{chunk-LQACNCAV.js.map → chunk-OADMSHME.js.map} +0 -0
  967. /package/dist/{chunk-R4RWQ6YX.js.map → chunk-OLPABGH3.js.map} +0 -0
  968. /package/dist/{chunk-X25XRSDP.js.map → chunk-ONGZKI5J.js.map} +0 -0
  969. /package/dist/{chunk-FGAXZ7ET.js.map → chunk-OSZOUSK5.js.map} +0 -0
  970. /package/dist/{chunk-ZQ7JDYJB.js.map → chunk-PK7YNQ2T.js.map} +0 -0
  971. /package/dist/{chunk-JTIWQLY5.js.map → chunk-PN3CHL5W.js.map} +0 -0
  972. /package/dist/{chunk-2JBPS2CV.js.map → chunk-QMQSI4WA.js.map} +0 -0
  973. /package/dist/{chunk-C3EX5OKN.js.map → chunk-QUSDGZFS.js.map} +0 -0
  974. /package/dist/{chunk-L5GFFF5G.js.map → chunk-QXRSFH6M.js.map} +0 -0
  975. /package/dist/{chunk-22RM3UOO.js.map → chunk-QZ4YHQLW.js.map} +0 -0
  976. /package/dist/{chunk-3E74OM2E.js.map → chunk-RF3TP643.js.map} +0 -0
  977. /package/dist/{chunk-WBWEKZQ2.js.map → chunk-RIRSFFWA.js.map} +0 -0
  978. /package/dist/{chunk-AC7WLPXF.js.map → chunk-ROHICQPK.js.map} +0 -0
  979. /package/dist/{chunk-KZQQ6OLC.js.map → chunk-RP3PC54R.js.map} +0 -0
  980. /package/dist/{chunk-MZPS46OR.js.map → chunk-SIKCVWM3.js.map} +0 -0
  981. /package/dist/{chunk-EJBLF2LI.js.map → chunk-SOM4OTR5.js.map} +0 -0
  982. /package/dist/{chunk-Q5DFEVLE.js.map → chunk-SZZ7BBED.js.map} +0 -0
  983. /package/dist/{chunk-XRUB4KRV.js.map → chunk-TAGJYHVI.js.map} +0 -0
  984. /package/dist/{chunk-VJ4IOJQZ.js.map → chunk-TB5JZTLN.js.map} +0 -0
  985. /package/dist/{chunk-KDAINT54.js.map → chunk-TQJLEVLA.js.map} +0 -0
  986. /package/dist/{chunk-X3GWGFZP.js.map → chunk-TW57RTKN.js.map} +0 -0
  987. /package/dist/{chunk-6E4KJMXO.js.map → chunk-V3ANSXCB.js.map} +0 -0
  988. /package/dist/{chunk-O3O7PXMK.js.map → chunk-WSG4K2TR.js.map} +0 -0
  989. /package/dist/{chunk-XZAVBONI.js.map → chunk-WXSRSMY3.js.map} +0 -0
  990. /package/dist/{chunk-BMMXYR7A.js.map → chunk-WZXMZFVB.js.map} +0 -0
  991. /package/dist/{chunk-IID2MAYZ.js.map → chunk-X3L5HYQM.js.map} +0 -0
  992. /package/dist/{chunk-6QINKM6T.js.map → chunk-Y2TOB4N5.js.map} +0 -0
  993. /package/dist/{chunk-2Q7K4F4H.js.map → chunk-YOHGEF2N.js.map} +0 -0
  994. /package/dist/{chunk-UUXGSDUC.js.map → chunk-Z2LPYAN4.js.map} +0 -0
  995. /package/dist/{chunk-YD6OZSSY.js.map → chunk-ZICB4OI5.js.map} +0 -0
  996. /package/dist/{chunk-UYZ4FUC7.js.map → chunk-ZOCAGPS5.js.map} +0 -0
  997. /package/dist/{chunk-CORECUKT.js.map → chunk-ZZWZUTEP.js.map} +0 -0
  998. /package/dist/{claim-CG3J32WS.js.map → claim-QHYA5UTF.js.map} +0 -0
  999. /package/dist/{companies-X6O55ACG.js.map → companies-BNMAOQUQ.js.map} +0 -0
  1000. /package/dist/{company-4CD2OJLB.js.map → company-YANP3G62.js.map} +0 -0
  1001. /package/dist/{complete-JSP6VQYI.js.map → complete-ICZCBO6M.js.map} +0 -0
  1002. /package/dist/{config-NDL2YP37.js.map → config-GIETKZGS.js.map} +0 -0
  1003. /package/dist/{connect-O5NRDY4Y.js.map → connect-ZXGEFS53.js.map} +0 -0
  1004. /package/dist/{conversation-J22BH6O5.js.map → conversation-YIWZIUIK.js.map} +0 -0
  1005. /package/dist/{conversion-report-76S5JOVT.js.map → conversion-report-E35RCZU7.js.map} +0 -0
  1006. /package/dist/{conversion-writes-6HX665JT.js.map → conversion-writes-MUD7WJDH.js.map} +0 -0
  1007. /package/dist/{conversions-I2ZOQHKJ.js.map → conversions-B7HR6JMC.js.map} +0 -0
  1008. /package/dist/{conversions-QZJRF4WN.js.map → conversions-WU7DNFF7.js.map} +0 -0
  1009. /package/dist/{create-GXOFZCR5.js.map → create-EL47XN73.js.map} +0 -0
  1010. /package/dist/{create-DQ5X5AJT.js.map → create-GU5MUZ7U.js.map} +0 -0
  1011. /package/dist/{create-FNPFVKLT.js.map → create-IKQ7A47F.js.map} +0 -0
  1012. /package/dist/{create-VAZ65QNJ.js.map → create-TKQDLX7M.js.map} +0 -0
  1013. /package/dist/{creatives-QWNQDPNE.js.map → creatives-PW6HB4JB.js.map} +0 -0
  1014. /package/dist/{creatives-SFPNXJ6Z.js.map → creatives-S4EGN44U.js.map} +0 -0
  1015. /package/dist/{creatives-4G2V4J6N.js.map → creatives-VBD4T6C7.js.map} +0 -0
  1016. /package/dist/{credentials-VCERJE24.js.map → credentials-57U2UQ7G.js.map} +0 -0
  1017. /package/dist/{crm-J3SCOR4L.js.map → crm-JCYLJQ7K.js.map} +0 -0
  1018. /package/dist/{crm-HODCOAAI.js.map → crm-LQTYPDMZ.js.map} +0 -0
  1019. /package/dist/{currency-BZUNQ4XJ.js.map → currency-5NYTOLEL.js.map} +0 -0
  1020. /package/dist/{custom-conversions-UHRBVUD2.js.map → custom-conversions-NT7ONTEX.js.map} +0 -0
  1021. /package/dist/{customers-EYVTYCGY.js.map → customers-LP6I7POL.js.map} +0 -0
  1022. /package/dist/{delete-RZCW3Y6L.js.map → delete-PZ6GP7J6.js.map} +0 -0
  1023. /package/dist/{delete-7A6T6XBD.js.map → delete-WW4JYQMX.js.map} +0 -0
  1024. /package/dist/{delete-I3W3M6T7.js.map → delete-XZNY426Q.js.map} +0 -0
  1025. /package/dist/{demographics-OFBRSF7A.js.map → demographics-HZY2JEYQ.js.map} +0 -0
  1026. /package/dist/{discard-I773LYVR.js.map → discard-NRTGRVXR.js.map} +0 -0
  1027. /package/dist/{discover-PDSEJR2P.js.map → discover-5ZFAAPNG.js.map} +0 -0
  1028. /package/dist/{domain-7YO5HYHU.js.map → domain-YGKFTN6D.js.map} +0 -0
  1029. /package/dist/{download-IYK3UVBF.js.map → download-XERSDEN3.js.map} +0 -0
  1030. /package/dist/{draft-44KTLX4P.js.map → draft-2EVXU5XB.js.map} +0 -0
  1031. /package/dist/{draft-RSKZSUOS.js.map → draft-CQWYTMSS.js.map} +0 -0
  1032. /package/dist/{draft-6MWXURYC.js.map → draft-EL74RDAG.js.map} +0 -0
  1033. /package/dist/{draft-WOE7KQ7T.js.map → draft-GFZ3KMRX.js.map} +0 -0
  1034. /package/dist/{draft-CKFSZDVI.js.map → draft-JYZA3BFD.js.map} +0 -0
  1035. /package/dist/{draft-2Z7EGKBO.js.map → draft-UNPTTHP4.js.map} +0 -0
  1036. /package/dist/{experiment-AZUKJ7ZO.js.map → experiment-YAX26BOO.js.map} +0 -0
  1037. /package/dist/{extract-ZIW5JFTY.js.map → extract-QMY6WPTV.js.map} +0 -0
  1038. /package/dist/{facets-OLRASLT7.js.map → facets-QHM2IQ3E.js.map} +0 -0
  1039. /package/dist/{feedback-X3GLQ2QF.js.map → feedback-NLPTKWOH.js.map} +0 -0
  1040. /package/dist/{fetch-6XMRKLYH.js.map → fetch-72ZILZHO.js.map} +0 -0
  1041. /package/dist/{fit-BRJSLR7P.js.map → fit-AURKFPAY.js.map} +0 -0
  1042. /package/dist/{flows-LXJHL3KW.js.map → flows-CZPXHOZW.js.map} +0 -0
  1043. /package/dist/{fonts-UUSCLUHW.js.map → fonts-NA26RQ4C.js.map} +0 -0
  1044. /package/dist/{forecast-7DZGLC7Y.js.map → forecast-ARIHRQAX.js.map} +0 -0
  1045. /package/dist/{funding-BSAHWU35.js.map → funding-QDKFNQI2.js.map} +0 -0
  1046. /package/dist/{funnel-2ALYZ3GP.js.map → funnel-4VQB3T3M.js.map} +0 -0
  1047. /package/dist/{ga4-YVKA3V4V.js.map → ga4-N6EBLN2W.js.map} +0 -0
  1048. /package/dist/{generate-VGGXTZBP.js.map → generate-IJLMJC4S.js.map} +0 -0
  1049. /package/dist/{get-OZ7THI2W.js.map → get-LOEUOTG3.js.map} +0 -0
  1050. /package/dist/{get-KVZSVN7U.js.map → get-W3VJIQBN.js.map} +0 -0
  1051. /package/dist/{google-5U5KXEX7.js.map → google-7VEPEBFV.js.map} +0 -0
  1052. /package/dist/{google-ads-YZTK3YTW.js.map → google-ads-YBOJ3XXK.js.map} +0 -0
  1053. /package/dist/{gsc-OJDMSP6H.js.map → gsc-FILOUFCG.js.map} +0 -0
  1054. /package/dist/{history-LXRFZNW7.js.map → history-6LLGAK7B.js.map} +0 -0
  1055. /package/dist/{history-RYTNMGU5.js.map → history-H2SHADAM.js.map} +0 -0
  1056. /package/dist/{history-XDYDNQWK.js.map → history-LJG64M6P.js.map} +0 -0
  1057. /package/dist/{hubspot-MRUCRJLL.js.map → hubspot-6JDARLIU.js.map} +0 -0
  1058. /package/dist/{ideas-TT24LJR5.js.map → ideas-MTWJDRRK.js.map} +0 -0
  1059. /package/dist/{images-PLYPUXM2.js.map → images-RIFC6D3H.js.map} +0 -0
  1060. /package/dist/{ingest-CSPC3RUK.js.map → ingest-K45T4OLM.js.map} +0 -0
  1061. /package/dist/{ingest-MSPQX3Z6.js.map → ingest-MSS52UO5.js.map} +0 -0
  1062. /package/dist/{insights-LZJZGNJZ.js.map → insights-AVNMRFQ4.js.map} +0 -0
  1063. /package/dist/{insights-H6M6VI43.js.map → insights-TBIT6DTF.js.map} +0 -0
  1064. /package/dist/{inspect-VD6CB2NA.js.map → inspect-EBGYJOZ3.js.map} +0 -0
  1065. /package/dist/{intent-HXRSLFIO.js.map → intent-URHTU4AK.js.map} +0 -0
  1066. /package/dist/{job-UFGGBDG7.js.map → job-OJB6KIDV.js.map} +0 -0
  1067. /package/dist/{job-create-XM4NH322.js.map → job-create-C6FGCDW4.js.map} +0 -0
  1068. /package/dist/{job-status-47L5Z57J.js.map → job-status-4RJHESID.js.map} +0 -0
  1069. /package/dist/{keyword-gap-WUHMSTNR.js.map → keyword-gap-WXM6SN6A.js.map} +0 -0
  1070. /package/dist/{keyword-metrics-NJV3WR75.js.map → keyword-metrics-57MUTYMH.js.map} +0 -0
  1071. /package/dist/{keywords-for-site-B7MUDHFH.js.map → keywords-for-site-ABZS7O5B.js.map} +0 -0
  1072. /package/dist/{landing-RKOEVY7L.js.map → landing-AXCYLUQZ.js.map} +0 -0
  1073. /package/dist/{languages-SVTYYYOC.js.map → languages-6XTVTFZC.js.map} +0 -0
  1074. /package/dist/{leads-HFB5UXZJ.js.map → leads-C5BUBBLZ.js.map} +0 -0
  1075. /package/dist/{learn-XNN3DGDF.js.map → learn-M64GVGPX.js.map} +0 -0
  1076. /package/dist/{line-item-writes-VEJ5Y6X4.js.map → line-item-writes-HYLWBQTM.js.map} +0 -0
  1077. /package/dist/{line-items-U6L2TMPG.js.map → line-items-Y4THDHSE.js.map} +0 -0
  1078. /package/dist/{link-ENZQAISO.js.map → link-BU7YCL2M.js.map} +0 -0
  1079. /package/dist/{linkedin-person-3RCX4MI3.js.map → linkedin-person-FEIY7FYQ.js.map} +0 -0
  1080. /package/dist/{list-VYTHVUDP.js.map → list-BKIL7O4G.js.map} +0 -0
  1081. /package/dist/{list-GPTYUCSX.js.map → list-H3C345WG.js.map} +0 -0
  1082. /package/dist/{list-AF522LRC.js.map → list-UGTDZ7YI.js.map} +0 -0
  1083. /package/dist/{locations-7EBZ6KRH.js.map → locations-F4365X4S.js.map} +0 -0
  1084. /package/dist/{locations-5SLLGWZO.js.map → locations-HOI7AUZ2.js.map} +0 -0
  1085. /package/dist/{log-NJR3FJWN.js.map → log-54SJV6MW.js.map} +0 -0
  1086. /package/dist/{lookup-OU6CLATK.js.map → lookup-QNLX2535.js.map} +0 -0
  1087. /package/dist/{map-LIYQCWXU.js.map → map-BPPGQGDV.js.map} +0 -0
  1088. /package/dist/{mcp-QDOAKB3A.js.map → mcp-EXOMBMYL.js.map} +0 -0
  1089. /package/dist/{media-YKCCMLXL.js.map → media-MITWBYVZ.js.map} +0 -0
  1090. /package/dist/{media-DGV2AMZI.js.map → media-WGIEUEZW.js.map} +0 -0
  1091. /package/dist/{media-sources-LFSDIPUB.js.map → media-sources-XEC72K7X.js.map} +0 -0
  1092. /package/dist/{members-KGKQQFMN.js.map → members-VDON57BE.js.map} +0 -0
  1093. /package/dist/{meta-5TRG7RTQ.js.map → meta-NUBBKE2V.js.map} +0 -0
  1094. /package/dist/{metrics-WRERNMRK.js.map → metrics-V6FAZO5A.js.map} +0 -0
  1095. /package/dist/{models-SITHUNAA.js.map → models-TSMFIOZU.js.map} +0 -0
  1096. /package/dist/{normalize-DQPKM3MG.js.map → normalize-632DD2HJ.js.map} +0 -0
  1097. /package/dist/{options-XIH7YPEG.js.map → options-TZYZQZ3M.js.map} +0 -0
  1098. /package/dist/{organization-BUSXIGA4.js.map → organization-FYRXSGB4.js.map} +0 -0
  1099. /package/dist/{output-7X5WPPCA.js.map → output-HZW7LNUL.js.map} +0 -0
  1100. /package/dist/{pages-6YMPZDEY.js.map → pages-UH6XEZBO.js.map} +0 -0
  1101. /package/dist/{performance-PU4NHFUE.js.map → performance-JKXHQIAV.js.map} +0 -0
  1102. /package/dist/{performance-Y2DTYSFV.js.map → performance-OF3N43OP.js.map} +0 -0
  1103. /package/dist/{pixels-WTTLC4O5.js.map → pixels-KXA6R3G3.js.map} +0 -0
  1104. /package/dist/{pixels-DZDVNIVL.js.map → pixels-PYNK73UG.js.map} +0 -0
  1105. /package/dist/{plan-JAWESWJN.js.map → plan-4OYUV2EF.js.map} +0 -0
  1106. /package/dist/{preview-JZXGR4KN.js.map → preview-7E4E3QPT.js.map} +0 -0
  1107. /package/dist/{preview-3UOBVP6M.js.map → preview-FPBM75L2.js.map} +0 -0
  1108. /package/dist/{promoted-tweet-writes-6Y4MDPBH.js.map → promoted-tweet-writes-IJRBFK7W.js.map} +0 -0
  1109. /package/dist/{promoted-tweets-JAR2W6KC.js.map → promoted-tweets-7PYH3RPV.js.map} +0 -0
  1110. /package/dist/{properties-Z5S3LRJ5.js.map → properties-RDOGNY2O.js.map} +0 -0
  1111. /package/dist/{publish-MDVPC77V.js.map → publish-MNSDFPEQ.js.map} +0 -0
  1112. /package/dist/{query-3QFT42PG.js.map → query-GMGWJW3X.js.map} +0 -0
  1113. /package/dist/{query-KKXCMH3Q.js.map → query-K7R5GQ4E.js.map} +0 -0
  1114. /package/dist/{query-QXKGVHZL.js.map → query-PO3RT7BR.js.map} +0 -0
  1115. /package/dist/{questionnaire-U7UYICEA.js.map → questionnaire-4OH6K2BF.js.map} +0 -0
  1116. /package/dist/{read-ENUS7P3L.js.map → read-MU5XGWMK.js.map} +0 -0
  1117. /package/dist/{reddit-ZPKVVZGP.js.map → reddit-JFFMZLJS.js.map} +0 -0
  1118. /package/dist/{refresh-V34YWN3W.js.map → refresh-EJ7WKW3H.js.map} +0 -0
  1119. /package/dist/{release-WRNUOSHB.js.map → release-AFRLCZWB.js.map} +0 -0
  1120. /package/dist/{relevant-pages-OFKZYWR3.js.map → relevant-pages-4YGN3I2U.js.map} +0 -0
  1121. /package/dist/{remove-HKWV7P27.js.map → remove-QD4PITBL.js.map} +0 -0
  1122. /package/dist/{reopen-VHHYVAKC.js.map → reopen-JSC6AVJC.js.map} +0 -0
  1123. /package/dist/{research-G5A2WXVK.js.map → research-MMFUFZGS.js.map} +0 -0
  1124. /package/dist/{research-773Y7GT4.js.map → research-SRISCVBM.js.map} +0 -0
  1125. /package/dist/{reset-GFJ3AKF5.js.map → reset-752CNET3.js.map} +0 -0
  1126. /package/dist/{reset-MVTWA3HT.js.map → reset-R3TQAHRU.js.map} +0 -0
  1127. /package/dist/{resolve-JRSSTIAF.js.map → resolve-EWHSJNBX.js.map} +0 -0
  1128. /package/dist/{retry-AGHA6IVT.js.map → retry-DVHDVHVP.js.map} +0 -0
  1129. /package/dist/{retry-LDJ6FZCZ.js.map → retry-PVULTONO.js.map} +0 -0
  1130. /package/dist/{rules-Y75KR2PC.js.map → rules-4YTY57FM.js.map} +0 -0
  1131. /package/dist/{run-ZLHQNLCF.js.map → run-PCZRYL42.js.map} +0 -0
  1132. /package/dist/{run-NFLKYVIC.js.map → run-PRSAUWAJ.js.map} +0 -0
  1133. /package/dist/{schedule-45CJDHIX.js.map → schedule-6YTZBCZA.js.map} +0 -0
  1134. /package/dist/{scheduled-agents-72MWHK63.js.map → scheduled-agents-XCPU57LU.js.map} +0 -0
  1135. /package/dist/{schema-VX66FH4O.js.map → schema-4PS5BDG3.js.map} +0 -0
  1136. /package/dist/{search-Y6TS5UZS.js.map → search-IMZD5RGD.js.map} +0 -0
  1137. /package/dist/{sends-4ZO6BNZ4.js.map → sends-I2B6F5NW.js.map} +0 -0
  1138. /package/dist/{setup-links-Y4YYDQBK.js.map → setup-links-PTL6RF2J.js.map} +0 -0
  1139. /package/dist/{shared-UPMEBTVP.js.map → shared-Z7INVKCZ.js.map} +0 -0
  1140. /package/dist/{shopify-HGFUHYT7.js.map → shopify-SDZZ5HTA.js.map} +0 -0
  1141. /package/dist/{site-WZ654OP3.js.map → site-NGQ7K6UD.js.map} +0 -0
  1142. /package/dist/{sitemaps-P3K5Z4TW.js.map → sitemaps-EOMSRKOD.js.map} +0 -0
  1143. /package/dist/{sites-TURWC53D.js.map → sites-6M73AONG.js.map} +0 -0
  1144. /package/dist/{sources-FCBFLR2J.js.map → sources-NKFSCI6M.js.map} +0 -0
  1145. /package/dist/{sources-7ZFY3VEZ.js.map → sources-O4CQ5KSX.js.map} +0 -0
  1146. /package/dist/{stats-XNKAJD2Z.js.map → stats-MFEH2TSW.js.map} +0 -0
  1147. /package/dist/{status-L7LYUD3F.js.map → status-DLYRPGFS.js.map} +0 -0
  1148. /package/dist/{stock-73PLAUYU.js.map → stock-RDCDVBHX.js.map} +0 -0
  1149. /package/dist/{studies-5G67ODR2.js.map → studies-SSA3SR2L.js.map} +0 -0
  1150. /package/dist/{studio-D2OMFCZZ.js.map → studio-MBHPDGMN.js.map} +0 -0
  1151. /package/dist/{sync-XBC3PSSV.js.map → sync-BEW3TZP7.js.map} +0 -0
  1152. /package/dist/{sync-QVEUQKU5.js.map → sync-SI25TKY5.js.map} +0 -0
  1153. /package/dist/{sync-definition-IM2NY5QC.js.map → sync-definition-RECCA3QH.js.map} +0 -0
  1154. /package/dist/{tag-manager-3GIW6BPB.js.map → tag-manager-JFC6YYVP.js.map} +0 -0
  1155. /package/dist/{tags-UNUZVGUA.js.map → tags-IJIGZYR3.js.map} +0 -0
  1156. /package/dist/{tags-2KNOJ7A6.js.map → tags-K4HIKHNU.js.map} +0 -0
  1157. /package/dist/{tags-COALQ2CT.js.map → tags-OTA55BQ6.js.map} +0 -0
  1158. /package/dist/{tags-MVC56SHA.js.map → tags-QF2V4B3M.js.map} +0 -0
  1159. /package/dist/{tags-HCJTTLSR.js.map → tags-SK7WXMBS.js.map} +0 -0
  1160. /package/dist/{targeting-constants-RJS2STR5.js.map → targeting-constants-RF2732EW.js.map} +0 -0
  1161. /package/dist/{targeting-criteria-SMBIEM7U.js.map → targeting-criteria-7BUUYDYC.js.map} +0 -0
  1162. /package/dist/{targets-BNH37YAQ.js.map → targets-7V3NCQSD.js.map} +0 -0
  1163. /package/dist/{terms-AATAGKPT.js.map → terms-XFL6QO7A.js.map} +0 -0
  1164. /package/dist/{testimonials-IIAT5IDM.js.map → testimonials-XYD5DLBJ.js.map} +0 -0
  1165. /package/dist/{top-companies-PY2NL2GS.js.map → top-companies-LI26TONY.js.map} +0 -0
  1166. /package/dist/{transcript-7WFXVRVW.js.map → transcript-FTHDWMGU.js.map} +0 -0
  1167. /package/dist/{triggers-RBD2XGNG.js.map → triggers-3LHJVK5P.js.map} +0 -0
  1168. /package/dist/{tweets-MLDLLLDB.js.map → tweets-6PQHJXJC.js.map} +0 -0
  1169. /package/dist/{unlink-5IMEUVIS.js.map → unlink-BMOUBGWO.js.map} +0 -0
  1170. /package/dist/{unstage-65DUBYNZ.js.map → unstage-O23ILHCY.js.map} +0 -0
  1171. /package/dist/{unstage-DSOVSWEK.js.map → unstage-YEW5KXJL.js.map} +0 -0
  1172. /package/dist/{update-HSS6CVUK.js.map → update-2IWZA5UU.js.map} +0 -0
  1173. /package/dist/{update-XWL3Q5QY.js.map → update-G7YZICSU.js.map} +0 -0
  1174. /package/dist/{update-FIU2ECYQ.js.map → update-T5INCQJZ.js.map} +0 -0
  1175. /package/dist/{update-7JVV5ZL3.js.map → update-UTQVTG45.js.map} +0 -0
  1176. /package/dist/{upload-B5SM33MK.js.map → upload-UXYJDA2U.js.map} +0 -0
  1177. /package/dist/{url-options-4J3FRXHO.js.map → url-options-Y7I5EL55.js.map} +0 -0
  1178. /package/dist/{url-params-TGCGWKAJ.js.map → url-params-PE4XAQNH.js.map} +0 -0
  1179. /package/dist/{videos-NITQKILV.js.map → videos-AHOLXU42.js.map} +0 -0
  1180. /package/dist/{videos-FMV4AVB2.js.map → videos-EVPJHY3B.js.map} +0 -0
  1181. /package/dist/{viewer-check-2W6BTVQV.js.map → viewer-check-NA4TMNY4.js.map} +0 -0
  1182. /package/dist/{web-K2EMYVCD.js.map → web-7EODEH25.js.map} +0 -0
  1183. /package/dist/{winning-ads-Q3RXH7EC.js.map → winning-ads-5UKX6QV7.js.map} +0 -0
  1184. /package/dist/{write-commands-XLZCRVTU.js.map → write-commands-LHEJESKL.js.map} +0 -0
  1185. /package/dist/{write-commands-OBQPQUIE.js.map → write-commands-SD6DXVNK.js.map} +0 -0
  1186. /package/dist/{x-PW43O6JS.js.map → x-R72UTFQT.js.map} +0 -0
@@ -0,0 +1,1514 @@
1
+ import {
2
+ stampCompositionDims
3
+ } from "./chunk-5MBPIONY.js";
4
+ import {
5
+ fetchClientLogo
6
+ } from "./chunk-GGXPO4NQ.js";
7
+ import {
8
+ SHIPPED_CAPTIONS_DIR,
9
+ SHIPPED_OVERLAY_COMPOSITION_DIR
10
+ } from "./chunk-SIKCVWM3.js";
11
+ import {
12
+ readDefinitionPlatforms,
13
+ syncCreativeDefinitionBestEffort
14
+ } from "./chunk-FTKUHGTC.js";
15
+ import "./chunk-WXSRSMY3.js";
16
+ import {
17
+ pinnedModelHint
18
+ } from "./chunk-6OIKNJ7G.js";
19
+ import "./chunk-SOM4OTR5.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-ROHICQPK.js";
49
+ import "./chunk-HDMD6LXS.js";
50
+ import "./chunk-CP6RFWLW.js";
51
+ import "./chunk-EKX37C3T.js";
52
+ import "./chunk-SZZ7BBED.js";
53
+ import "./chunk-QMQSI4WA.js";
54
+ import {
55
+ readAvatars
56
+ } from "./chunk-OFMFBRSL.js";
57
+ import "./chunk-IKADYUXK.js";
58
+ import "./chunk-46DHUWMV.js";
59
+ import {
60
+ fetchJson,
61
+ lookupGoogleCss
62
+ } from "./chunk-4KBTW5NE.js";
63
+ import "./chunk-MWJ6BCZJ.js";
64
+ import "./chunk-SYDPUGF5.js";
65
+ import "./chunk-ESSA3AWR.js";
66
+ import "./chunk-TQJLEVLA.js";
67
+ import "./chunk-4H6XLX7E.js";
68
+ import {
69
+ holdUnbilledSpend
70
+ } from "./chunk-Y5PNLB24.js";
71
+ import {
72
+ findWorkspaceRoot,
73
+ resolveRelativeCanvasPaths
74
+ } from "./chunk-N3PASNUA.js";
75
+ import {
76
+ defaultRegistry,
77
+ validateCanvasDeep
78
+ } from "./chunk-IAYJKH4R.js";
79
+ import "./chunk-7URHRPC7.js";
80
+ import {
81
+ BRAND_DIR,
82
+ READ_WORDS_PER_SECOND,
83
+ markInkIsLight,
84
+ markIsReal,
85
+ plateIsDark,
86
+ readBrandFromWorkspace,
87
+ svgIsLiveText,
88
+ wordCount
89
+ } from "./chunk-TW57RTKN.js";
90
+ import {
91
+ videoSafeArea
92
+ } from "./chunk-AQNTVM6S.js";
93
+ import "./chunk-DGCUPJZD.js";
94
+ import "./chunk-Y2TOB4N5.js";
95
+ import {
96
+ ACTOR_SHEET_MODEL
97
+ } from "./chunk-KJ3J2DYM.js";
98
+ import "./chunk-MTFAG6E3.js";
99
+ import {
100
+ AD_IMAGE_MODEL,
101
+ DEFAULT_VIDEO_GENERATE_MODEL,
102
+ SEEDANCE_DURATIONS,
103
+ SPOKEN_CLIP_DURATION_S,
104
+ VIDEO_GENERATE_MODELS,
105
+ clipDurationsFor,
106
+ frameRealismDirection,
107
+ withoutCastName
108
+ } from "./chunk-F3CZFUXZ.js";
109
+ import "./chunk-2WZI36D3.js";
110
+ import "./chunk-65Y3RCWP.js";
111
+ import {
112
+ askJevQuestions
113
+ } from "./chunk-E56V3RFO.js";
114
+ import "./chunk-EL3TDR5S.js";
115
+ import "./chunk-G6U45QD3.js";
116
+ import {
117
+ fetchExternalBytes
118
+ } from "./chunk-X6U3B6YK.js";
119
+ import "./chunk-YOHGEF2N.js";
120
+ import "./chunk-QV6AST5T.js";
121
+ import "./chunk-WCU362Z6.js";
122
+ import "./chunk-GIWHHCD6.js";
123
+ import "./chunk-SOPVIIUW.js";
124
+ import "./chunk-G4FG5EQO.js";
125
+ import "./chunk-R7XDGNZD.js";
126
+ import "./chunk-IMS53EQU.js";
127
+ import "./chunk-QEREDRZO.js";
128
+ import "./chunk-JXTNP3B5.js";
129
+ import "./chunk-45D6WRCJ.js";
130
+ import {
131
+ registerSchema,
132
+ writeJson
133
+ } from "./chunk-CCYZJMZ7.js";
134
+ import "./chunk-YQSBHWOI.js";
135
+
136
+ // src/commands/canvas/scaffold-ad.ts
137
+ import { copyFile, cp, mkdir, readFile, stat, writeFile } from "fs/promises";
138
+ import path from "path";
139
+ import { defineCommand } from "citty";
140
+
141
+ // src/engine/scaffold/ad-spec.ts
142
+ import { z } from "zod";
143
+ var oneClause = (line) => (line.match(/[.!?](\s|$)/g) ?? []).length <= 1;
144
+ var isSpeech = (line) => new RegExp("\\p{L}\\p{L}", "u").test(line);
145
+ var Beat = z.object({
146
+ /**
147
+ * The line the voice says in this beat — ONE clause, ending in its own
148
+ * punctuation. It becomes the caption card verbatim.
149
+ */
150
+ say: z.string().min(1).refine(
151
+ isSpeech,
152
+ "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"
153
+ ).refine(oneClause, "a beat is one clause: split a second sentence into its own beat"),
154
+ /** What is on screen while it is said, as a shot brief for the video model. */
155
+ show: z.string().min(1),
156
+ /**
157
+ * What this shot SOUNDS like — one effect, in words. Usually absent.
158
+ *
159
+ * An effect earns its place when the picture shows a SPECIFIC PHYSICAL EVENT the
160
+ * viewer expects to hear: a drill tightening a bolt, a door closing, rain on glass, a
161
+ * card tapping a reader, a graphic snapping into place. It grounds the shot.
162
+ *
163
+ * It does NOT belong on a talking head, on a lifestyle shot with no event in it, or
164
+ * on a beat that is simply someone sitting and reacting. Sound laid over those reads
165
+ * as a stock-library sting, and a bed of them turns a calm ad into a noisy one. Most
166
+ * ads are a music bed and a voice; a couple of effects at the right moments, or none
167
+ * at all, is a normal and often better answer than one per beat.
168
+ *
169
+ * Describe the SOUND, not the picture: "a cordless drill tightening a bolt", not "the
170
+ * fitter works on the rail".
171
+ */
172
+ sound: z.string().min(1).max(200).optional(),
173
+ /**
174
+ * Whether this beat's subject is talking to camera.
175
+ *
176
+ * Left unset it follows the cast: an ad that cast a presenter, in a shot they are in,
177
+ * with a line, is that person speaking. Set it to FALSE for the exception — a cutaway,
178
+ * a product shot, a beat you want a narrator to carry over.
179
+ *
180
+ * It used to be opt-in, back when the only route was dubbing and OFF was the safe
181
+ * default. That inverted the moment on-camera started meaning the video model voices
182
+ * the clip itself: measured on a real run, a brief that said "talking to camera all the
183
+ * way through" produced an ad with her face on screen and a narrator cast from a prose
184
+ * description reading her lines, because nothing set this flag.
185
+ */
186
+ on_camera: z.boolean().optional(),
187
+ /**
188
+ * Whether the ad's recurring person is in this shot. Defaults to true whenever the
189
+ * spec declares a `cast`, because an ad is usually about one person and defaulting
190
+ * the other way is how continuity gets forgotten. Set false for a beat they are not
191
+ * in — a fitter on a roof, a product close-up.
192
+ */
193
+ cast: z.boolean().optional()
194
+ });
195
+ var AdSpec = z.object({
196
+ format: z.object({
197
+ aspect_ratio: z.string().default("9:16"),
198
+ resolution: z.string().default("720p")
199
+ }).default({ aspect_ratio: "9:16", resolution: "720p" }),
200
+ brand: z.object({
201
+ name: z.string().optional(),
202
+ /** Figures to lift typographically — the one gold number every ad has. */
203
+ highlight: z.array(z.string()).optional(),
204
+ /**
205
+ * Brand hex colours, most important first. They dress the brand plate and
206
+ * the type — never the scenes: pushing hex into a shot brief makes the
207
+ * model paint the whole frame that colour, which reads as a filter.
208
+ */
209
+ palette: z.array(z.string()).optional(),
210
+ /** Repo path to the brand mark, so the CTA carries it instead of a name in a font. */
211
+ logo: z.string().optional()
212
+ }).optional(),
213
+ voice: z.object({
214
+ description: z.string().min(1),
215
+ language: z.string().optional()
216
+ }).optional(),
217
+ /**
218
+ * Where the ad is set, as a place a model can picture: "Spain", "Mexico",
219
+ * "the UK". Omitted, it is the country a regional `voice.language` names ("es-MX" →
220
+ * Mexico), else nowhere: a language alone names no country.
221
+ *
222
+ * It exists because nothing else in a shot brief says where it is, and a model
223
+ * with no location picks its own. An ad for Spain came back full of British
224
+ * houses — sash windows, slate roofs, English suburbs — in every single frame,
225
+ * from briefs that were otherwise perfectly good.
226
+ */
227
+ market: z.string().min(1).optional(),
228
+ /**
229
+ * The one person the ad is about.
230
+ *
231
+ * Declared once and grounded on every beat they appear in, because the engine already
232
+ * builds a reference sheet from this and tells each frame to render THE SAME
233
+ * individual. Without it each beat invents its own face: a 28-second ad came back
234
+ * with five different men playing one customer, which reads as a stock-footage
235
+ * collage rather than a story.
236
+ */
237
+ cast: z.object({
238
+ /**
239
+ * A cast Avatar's handle — `baker avatars list` shows who there is.
240
+ *
241
+ * The right way to put a person in an ad. The avatar already has a settled
242
+ * identity and a rendered identity sheet, so the ad grounds on the same face the
243
+ * rest of the company's work uses, and its subject description is copied verbatim
244
+ * rather than re-written per spec — re-phrasing it per render is the other reason
245
+ * a face drifts across a set.
246
+ */
247
+ avatar: z.string().min(1).optional(),
248
+ /** Who they are, plainly: age, build, hair, wardrobe, the register of the ad. */
249
+ description: z.string().min(1).optional()
250
+ }).refine((c) => Boolean(c.avatar || c.description), {
251
+ message: "give `avatar` (a cast avatar's handle) or `description` \u2014 a cast with neither grounds on nothing"
252
+ }).optional(),
253
+ /**
254
+ * The bed, described in words — or `false` for an ad that is meant to be dry.
255
+ *
256
+ * Omitted lays a soft, neutral bed. It used to leave the ad silent, on the reasoning
257
+ * that silence is a legitimate choice; it is, but only as a choice. In practice nothing
258
+ * ever set this, and finished ads shipped with a voice over nothing — which reads as
259
+ * unfinished, not as restraint. A bed is the ordinary case, so it is the default, and
260
+ * an ad that wants silence says `false` and means it.
261
+ *
262
+ * The bed never plays over the first beat: the opening line is the scroll-stopper and
263
+ * has to read clean. That is the engine's rule, not this one, and it is why the prompt
264
+ * is all this needs to carry.
265
+ */
266
+ music: z.union([z.string().min(1), z.literal(false)]).optional(),
267
+ /**
268
+ * The place the ad keeps coming back to, held still across every shot.
269
+ *
270
+ * The person has an identity sheet; nothing held the SETTING. Each shot's start frame is
271
+ * generated on its own, so three beats in "her living room" came back as three different
272
+ * living rooms. The engine already builds `location` reference sheets — its own comment
273
+ * calls them the strongest cross-scene consistency lock it has — and the ad path simply
274
+ * never emitted one.
275
+ *
276
+ * `image` is a real picture of the place, and it is what makes this work at all: a sheet
277
+ * fuses source material into a turnaround. Fed nothing, it is not a reference sheet, it
278
+ * is `image_generate` with extra steps — the model registry says exactly that. Generate
279
+ * the plate once with gpt-image-2 and pass its URL here.
280
+ */
281
+ set: z.object({
282
+ description: z.string().min(1).max(400),
283
+ image: z.string().min(1).optional()
284
+ }).optional(),
285
+ /**
286
+ * How the ad closes.
287
+ *
288
+ * On by default whenever the spec carries a brand, because an ad that stops instead
289
+ * of closing is what shipped: the last caption fell four seconds before the last
290
+ * frame and the picture simply ran out on a man shuffling paper. The closing beat's
291
+ * PICTURE becomes a flat brand plate — the engine already refuses to generate one as
292
+ * a photograph, since a video model garbles a wordmark — and the mark and the call to
293
+ * action are drawn over it by the composition.
294
+ *
295
+ * `false` opts out, for an ad that genuinely ends on its footage.
296
+ */
297
+ end_card: z.union([
298
+ z.literal(false),
299
+ z.object({
300
+ /**
301
+ * The words on the button. No default — with none the card carries the mark
302
+ * alone, because falling back to the last beat's line printed that sentence
303
+ * twice on the closing frame. See `endCardCta`.
304
+ */
305
+ cta: z.string().min(1).optional()
306
+ })
307
+ ]).optional(),
308
+ /**
309
+ * Whether a voice reads the lines.
310
+ *
311
+ * On by default. Turned off, the ad carries its music and its pictures and the `say`
312
+ * lines become ON-SCREEN text instead of spoken ones — which is how most music-led
313
+ * social ads are actually built.
314
+ *
315
+ * It exists because an agent wanted exactly this and had no way to ask: it wrote "·"
316
+ * as every line with a voice description reading "No voiceover; music only". The dot
317
+ * was sent to the voice model, the near-silence that came back was transcribed, and
318
+ * the transcriber hallucinated "Thank you." — which became the ad's only caption card,
319
+ * held over all sixteen seconds, in English, in a Spanish ad.
320
+ *
321
+ * The captions are BETTER on this path, not worse: they come from the script itself
322
+ * rather than from transcribing a rendered read, so the text is exact and no speech
323
+ * model is between the copy and the screen.
324
+ */
325
+ voiceover: z.boolean().default(true),
326
+ beats: z.array(Beat).min(2)
327
+ });
328
+ function presenterIsInEveryShot(spec) {
329
+ if (!spec.cast) return false;
330
+ const storyBeats = spec.beats.filter((_, i) => !(endCardWanted(spec) && i === spec.beats.length - 1));
331
+ return storyBeats.length >= 3 && storyBeats.every((b) => b.cast !== false);
332
+ }
333
+ var CURRENCY_BY_MARKET = {
334
+ spain: "\u20AC (euros)",
335
+ mexico: "$ (Mexican pesos)",
336
+ portugal: "\u20AC (euros)",
337
+ brazil: "R$ (reais)",
338
+ france: "\u20AC (euros)",
339
+ italy: "\u20AC (euros)",
340
+ germany: "\u20AC (euros)",
341
+ "united kingdom": "\xA3 (pounds sterling)",
342
+ "united states": "$ (US dollars)"
343
+ };
344
+ var currencyFor = (market) => CURRENCY_BY_MARKET[market.trim().toLowerCase().replace(/^the\s+/, "")];
345
+ function spokenLanguageFor(spec, known = {}) {
346
+ const declared = spec.voice?.language ? spokenLanguage(spec.voice.language) : null;
347
+ if (declared) return declared.tag;
348
+ const defined = known.definitionLanguage ? spokenLanguage(known.definitionLanguage) : null;
349
+ if (defined) return defined.tag;
350
+ return known.reading?.scriptLanguage;
351
+ }
352
+ function marketFor(spec, definitionLanguage) {
353
+ if (spec.market) return spec.market;
354
+ for (const tag of [spec.voice?.language, definitionLanguage]) {
355
+ const region = tag ? spokenLanguage(tag)?.region : void 0;
356
+ if (region) return region.name;
357
+ }
358
+ return void 0;
359
+ }
360
+ function beatSeconds(line, videoModel) {
361
+ const spoken = wordCount(line) / READ_WORDS_PER_SECOND;
362
+ const allowed = (videoModel ? clipDurationsFor(videoModel) : void 0) ?? [...SEEDANCE_DURATIONS].sort((a, b) => a - b);
363
+ const wanted = Math.max(spoken, SPOKEN_CLIP_DURATION_S);
364
+ return allowed.find((d) => d >= wanted) ?? allowed[allowed.length - 1];
365
+ }
366
+ var BRAND_PLATE = "A solid flat brand colour plate \u2014 an end card. No people, no objects, no scenery, no text of any kind.";
367
+ function endCardWanted(spec) {
368
+ if (spec.end_card === false) return false;
369
+ return Boolean(spec.brand?.name || spec.brand?.logo);
370
+ }
371
+ function endCardCta(spec) {
372
+ if (!endCardWanted(spec)) return null;
373
+ const declared = spec.end_card === false ? void 0 : spec.end_card?.cta?.trim();
374
+ if (!declared) return null;
375
+ const closing = (spec.beats[spec.beats.length - 1]?.say ?? "").trim().toLowerCase();
376
+ return declared.toLowerCase().replace(/[.!?]$/, "") === closing.replace(/[.!?]$/, "") ? null : declared;
377
+ }
378
+ var AD_CAST_ID = "customer";
379
+ var AD_NARRATOR_ID = "ad_narrator";
380
+ var AD_SET_ID = "set";
381
+ function castedAvatarOnRoster(ad, roster) {
382
+ if (ad.cast?.avatar) return null;
383
+ const haystack = [ad.cast?.description ?? "", ...(ad.beats ?? []).map((b) => b.show ?? "")].join(" ");
384
+ if (!haystack.trim()) return null;
385
+ const written = new Set(haystack.split(/[^\p{L}\p{N}]+/u).filter(Boolean));
386
+ for (const person of roster) {
387
+ if (labelWrittenAsName(person.name, written) || labelWrittenAsName(person.handle, written)) return person.handle;
388
+ }
389
+ return null;
390
+ }
391
+ function labelWrittenAsName(label, written) {
392
+ const token = label.trim();
393
+ if (!token || token.includes("-") || token.length < 3) return false;
394
+ const folded = token.toLowerCase();
395
+ for (const word of written) {
396
+ if (word.toLowerCase() === folded && word[0] === word[0]?.toUpperCase()) return true;
397
+ }
398
+ return false;
399
+ }
400
+ function adSpecCastElements(spec, avatar) {
401
+ const lastIndex = spec.beats.length - 1;
402
+ const speakingScenes = spec.beats.map((_, i) => i).filter((i) => !(endCardWanted(spec) && i === lastIndex));
403
+ const place = spec.set?.description?.trim();
404
+ const elements = [];
405
+ if (place && speakingScenes.length > 0) {
406
+ elements.push({
407
+ type: "location",
408
+ label: AD_SET_ID,
409
+ cast_id: AD_SET_ID,
410
+ description: place,
411
+ scenes: speakingScenes,
412
+ ...spec.set?.image?.trim() ? { source_image: spec.set.image.trim() } : {}
413
+ });
414
+ }
415
+ const description = (avatar?.subjectDescription ?? spec.cast?.description)?.trim();
416
+ if (!description) return elements;
417
+ const scenes = spec.beats.map((beat, i) => ({ beat, i })).filter(({ beat, i }) => beat.cast !== false && !(endCardWanted(spec) && i === lastIndex)).map(({ i }) => i);
418
+ if (scenes.length === 0) return elements;
419
+ const sheet = avatar?.sheetUrl?.trim();
420
+ elements.push({
421
+ type: "person",
422
+ label: AD_CAST_ID,
423
+ // Same id the dialogue names as speaker: that pairing is what lets the engine see
424
+ // the presenter as present in a scene and route it to native audio.
425
+ cast_id: AD_CAST_ID,
426
+ description,
427
+ scenes,
428
+ // An avatar's identity sheet IS the turnaround the engine would otherwise render,
429
+ // so it is handed over as one. Left unmarked, the run paid to generate a sheet OF
430
+ // a sheet and every frame grounded on the copy instead of the avatar.
431
+ ...sheet ? { source_image: sheet, source_is_sheet: true } : {}
432
+ });
433
+ return elements;
434
+ }
435
+ function motionPrompt(beat, toCamera, isClosingCard, place) {
436
+ if (isClosingCard) return BRAND_PLATE;
437
+ const shot = `${beat.show}${place}`;
438
+ if (toCamera) return shot;
439
+ 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.`;
440
+ }
441
+ function staticTranscript(spec, videoModel) {
442
+ const out = [];
443
+ let clock = 0;
444
+ for (const beat of spec.beats) {
445
+ const duration = beatSeconds(beat.say, videoModel);
446
+ const words = beat.say.trim().split(/\s+/).filter(Boolean);
447
+ const each = words.length > 0 ? duration / words.length : duration;
448
+ words.forEach((text, i) => {
449
+ const start = clock + i * each;
450
+ out.push({
451
+ text,
452
+ start: Math.round(start * 100) / 100,
453
+ end: Math.round((start + each) * 100) / 100
454
+ });
455
+ });
456
+ clock += duration;
457
+ }
458
+ return out;
459
+ }
460
+ function spokenVariety(avatarAccent, market) {
461
+ const accent = avatarAccent?.trim();
462
+ if (accent) return `${accent} \u2014 perform the pronunciation of that region, not a neutral one`;
463
+ if (!market) return null;
464
+ return `the local accent of ${market} \u2014 the way people there actually speak, not a neighbouring country's variety of the same language`;
465
+ }
466
+ function musicBed(spec) {
467
+ if (spec.music === false) return null;
468
+ if (typeof spec.music === "string") return spec.music;
469
+ 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.";
470
+ }
471
+ function beatToCamera(spec, beat, isClosingCard) {
472
+ if (isClosingCard) return false;
473
+ if (spec.cast?.avatar && beat.cast !== false) return true;
474
+ if (beat.on_camera !== void 0) return beat.on_camera;
475
+ return Boolean(spec.cast) && beat.cast !== false;
476
+ }
477
+ function beatsIntroducingSpeakerOffCamera(spec, reading) {
478
+ const closesOnCard = endCardWanted(spec);
479
+ const last = spec.beats.length - 1;
480
+ return spec.beats.flatMap(
481
+ (beat, i) => reading.introducesSpeaker[i] === true && !beatToCamera(spec, beat, closesOnCard && i === last) ? [i] : []
482
+ );
483
+ }
484
+ function beatSpeaksNatively(spec, beat, isClosingCard) {
485
+ if (!spec.cast || spec.voiceover === false) return false;
486
+ return beatToCamera(spec, beat, isClosingCard) && beat.cast !== false;
487
+ }
488
+ function beatDialogue(spec, beat, window) {
489
+ if (spec.voiceover === false) return [];
490
+ const narrator = narratorVoice(spec, window.avatarVoice);
491
+ return [
492
+ {
493
+ line: beat.say,
494
+ start_s: window.start,
495
+ end_s: window.end,
496
+ // Always stated, never left to the engine: absent, it guesses from who is in frame,
497
+ // which is how a still photograph once got lip-synced.
498
+ on_camera: beatToCamera(spec, beat, window.isClosingCard),
499
+ // Naming the CAST as speaker is the other half of what sends this beat down the
500
+ // native path. Left unnamed, the speaker defaults to "voiceover" — a narrator, who is
501
+ // by definition never on camera — so every beat took the dubbed path: a clip generated
502
+ // with one mouth and a separate ElevenLabs track laid over it. That is the mismatch
503
+ // behind every "the mouth does not match" in this ad's history.
504
+ //
505
+ // A beat that is NOT hers names the ad's OWN narrator (`AD_NARRATOR_ID`), rather
506
+ // than leaving the label off. A different speaker is what breaks the phrase, and a
507
+ // phrase break is what keeps each beat its own clip: left unlabelled, the engine read
508
+ // the cutaway as her narrating over an insert in one continuous take and merged the
509
+ // beats around it into a single native read with the dubbed one laid on top.
510
+ speaker: window.nativeSpeech ? AD_CAST_ID : AD_NARRATOR_ID,
511
+ // The narrator is cast from the ad's voice, and failing that from the CAST's own
512
+ // description. Naming a speaker of our own cost this: the engine casts an unnamed
513
+ // narrator by folding it into the lone presenter and reusing her casting, so the
514
+ // closing line inherited her persona for free. Named, it is a speaker in nobody's
515
+ // `cast`, and the engine's last-resort description for one of those is the literal
516
+ // "<speaker> voice" — so an ad with an avatar, a closing card and no `voice`
517
+ // (a perfectly ordinary spec) had its closing tagline cast off the words
518
+ // "ad_narrator voice".
519
+ ...narrator ? { voice_description: narrator } : {}
520
+ }
521
+ ];
522
+ }
523
+ function narratorVoice(spec, avatarVoice) {
524
+ return spec.voice?.description?.trim() || avatarVoice?.trim() || spec.cast?.description?.trim() || void 0;
525
+ }
526
+ function nativeSpeechByBeat(spec, closesOnCard) {
527
+ const last = spec.beats.length - 1;
528
+ return spec.beats.map((beat, i) => beatSpeaksNatively(spec, beat, closesOnCard && i === last));
529
+ }
530
+ function voiceoverMode(spec, nativeByBeat, closesOnCard) {
531
+ if (spec.voiceover === false) return "none";
532
+ const spoken = closesOnCard ? nativeByBeat.slice(0, -1) : nativeByBeat;
533
+ const native = spoken.filter(Boolean).length;
534
+ if (native === 0) return "voiceover";
535
+ return native === spoken.length ? "on_camera" : "mixed";
536
+ }
537
+ function castRole(spec, reading) {
538
+ if (!spec.cast) return void 0;
539
+ const described = spec.cast.description?.trim();
540
+ if (!described) return "a customer telling their own story, not a worker";
541
+ if (reading?.castWorksThere === false) return `${described} \u2014 a customer telling their own story, not a worker`;
542
+ return described;
543
+ }
544
+ function adSpecToBlueprint(spec, opts = {}) {
545
+ const avatarAccent = opts.avatarAccent;
546
+ const total = spec.beats.length;
547
+ const market = marketFor(spec, opts.definitionLanguage);
548
+ const place = market ? ` Set in ${market}: the architecture, streets and styling are ${market}'s.` : "";
549
+ const currency = market ? currencyFor(market) : void 0;
550
+ const physics = frameRealismDirection({ currency, role: castRole(spec, opts.reading) });
551
+ const closesOnCard = endCardWanted(spec);
552
+ const nativeByBeat = nativeSpeechByBeat(spec, closesOnCard);
553
+ const spokenMode = voiceoverMode(spec, nativeByBeat, closesOnCard);
554
+ let clock = 0;
555
+ const scenes = spec.beats.map((beat, i) => {
556
+ const isClosingCard = closesOnCard && i === total - 1;
557
+ const duration = beatSeconds(beat.say, opts.videoModel);
558
+ const start = clock;
559
+ clock += duration;
560
+ return {
561
+ start_s: Math.round(start * 100) / 100,
562
+ end_s: Math.round(clock * 100) / 100,
563
+ duration_s: duration,
564
+ summary: isClosingCard ? `${BRAND_PLATE} ${beat.say}` : beat.say,
565
+ narrative_role: authoredRole(i, total),
566
+ ...isClosingCard ? { route_hint: "brand_card" } : {},
567
+ // The read is built from per-scene dialogue, not from the global
568
+ // transcript: emitting only the transcript scaffolds a SILENT ad. And
569
+ // `on_camera` is the engine's own switch for "this line is narration" —
570
+ // absent, it guesses from who is in frame, which is how a still photograph
571
+ // once got lip-synced.
572
+ // No dialogue at all when nobody speaks: an empty array is what stops the engine
573
+ // wiring a voice track, and no voice track is what makes this a music-led ad
574
+ // rather than one with a silent narrator.
575
+ // One effect per beat, placed on this beat's window. The engine clamps the
576
+ // length to what the provider accepts. An ad emitted none of these until now,
577
+ // so every one shipped with a music bed and no sound design at all.
578
+ ...beat.sound?.trim() ? { sfx: [{ sound_effect_prompt: beat.sound.trim(), duration_s: Math.min(duration, 30) }] } : {},
579
+ dialogue: beatDialogue(spec, beat, {
580
+ start: Math.round(start * 100) / 100,
581
+ end: Math.round(clock * 100) / 100,
582
+ isClosingCard,
583
+ nativeSpeech: nativeByBeat[i] === true,
584
+ avatarVoice: opts.avatarVoice
585
+ }),
586
+ motion_prompt: motionPrompt(beat, beatToCamera(spec, beat, isClosingCard), isClosingCard, place),
587
+ start_frame_prompt: isClosingCard ? BRAND_PLATE : `${beat.show}${place}${physics}`
588
+ };
589
+ });
590
+ const accent = spokenVariety(avatarAccent, market);
591
+ const narrator = narratorVoice(spec, opts.avatarVoice);
592
+ const music = musicBed(spec);
593
+ return {
594
+ estimated_duration_s: Math.round(clock * 100) / 100,
595
+ global: {
596
+ transcript: spec.beats.map((b) => b.say).join(" "),
597
+ // Resolved: `marketFor` also reads the country a declared regional language names.
598
+ ...market ? { market } : {},
599
+ voiceover: {
600
+ mode: spokenMode,
601
+ ...accent ? { accent } : {},
602
+ ...narrator ? { voice_description: narrator } : {}
603
+ },
604
+ ...spec.cast ? {
605
+ cast: [
606
+ {
607
+ id: AD_CAST_ID,
608
+ description: (spec.cast.description ?? "the ad's recurring person").trim()
609
+ }
610
+ ]
611
+ } : {},
612
+ ...spec.brand?.name || spec.brand?.logo ? {
613
+ branding: {
614
+ ...spec.brand?.name ? { name: spec.brand.name } : {},
615
+ ...spec.brand?.logo ? { logo_path: spec.brand.logo } : {}
616
+ }
617
+ } : {},
618
+ ...spec.brand?.palette?.length ? { style: { palette: spec.brand.palette.map((hex) => ({ hex })) } } : {},
619
+ ...music ? { music: { music_prompt: music } } : {}
620
+ },
621
+ scenes
622
+ };
623
+ }
624
+ var MIN_BEAT_WORDS = 4;
625
+ function beatsTooShortToPlay(spec) {
626
+ 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);
627
+ }
628
+
629
+ // src/engine/scaffold/ad-spec-reading.ts
630
+ var INTRODUCES_SPEAKER_HELD = 0.5;
631
+ var WANTS_LEGIBLE_TEXT_HELD = 0.5;
632
+ var WORKS_THERE_HELD = 0.5;
633
+ 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.';
634
+ 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.";
635
+ 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?";
636
+ function adSpecVoices(spec, avatarVoice) {
637
+ const all = [spec.voice?.description, avatarVoice, spec.cast?.description].map((d) => d?.trim() ?? "");
638
+ return [...new Set(all.filter(Boolean))];
639
+ }
640
+ function unreadAdSpec(spec) {
641
+ return {
642
+ introducesSpeaker: spec.beats.map(() => false),
643
+ wantsLegibleText: spec.beats.map(() => false),
644
+ voiceGenders: {},
645
+ captionCarriesOn: [],
646
+ read: false
647
+ };
648
+ }
649
+ var yes = (answer, held) => answer !== void 0 && "noul" in answer && answer.noul >= held;
650
+ async function readAdSpec(spec, options, readers) {
651
+ const lines = spec.beats.map((b) => b.say);
652
+ const castDescription = spec.cast?.description?.trim();
653
+ const carries = carriesOnQuestions(lines);
654
+ const sections = [
655
+ { name: "language", questions: options.askLanguage ? [languageQuestion(lines)] : [] },
656
+ {
657
+ name: "intro",
658
+ questions: lines.map((line) => ({ type: "noul", instructions: { line, question: INTRODUCES_SPEAKER } }))
659
+ },
660
+ {
661
+ name: "legible",
662
+ questions: spec.beats.map((b) => ({
663
+ type: "noul",
664
+ instructions: { brief: b.show, question: WANTS_LEGIBLE_TEXT }
665
+ }))
666
+ },
667
+ {
668
+ name: "works",
669
+ questions: castDescription ? [{ type: "noul", instructions: { person: castDescription, question: WORKS_THERE } }] : []
670
+ },
671
+ { name: "carries", questions: carries.questions }
672
+ ];
673
+ const [answers, genders] = await Promise.all([
674
+ readers.ask(sections.flatMap((s) => s.questions)),
675
+ readers.genders(options.voices).catch(() => null)
676
+ ]);
677
+ const voiceGenders = genders ?? {};
678
+ if (!answers) return { ...unreadAdSpec(spec), voiceGenders };
679
+ const bySection = /* @__PURE__ */ new Map();
680
+ let at = 0;
681
+ for (const section of sections) {
682
+ bySection.set(section.name, answers.slice(at, at + section.questions.length));
683
+ at += section.questions.length;
684
+ }
685
+ const of = (name) => bySection.get(name) ?? [];
686
+ const scriptLanguage = languageFromAnswer(of("language")[0]);
687
+ const works = of("works")[0];
688
+ return {
689
+ ...scriptLanguage ? { scriptLanguage } : {},
690
+ introducesSpeaker: lines.map((_, i) => yes(of("intro")[i], INTRODUCES_SPEAKER_HELD)),
691
+ wantsLegibleText: spec.beats.map((_, i) => yes(of("legible")[i], WANTS_LEGIBLE_TEXT_HELD)),
692
+ ...works && "noul" in works ? { castWorksThere: works.noul >= WORKS_THERE_HELD } : {},
693
+ voiceGenders,
694
+ captionCarriesOn: carriesOnFromAnswers(carries.words, of("carries")),
695
+ read: true
696
+ };
697
+ }
698
+
699
+ // src/engine/scaffold/ad-display-face.ts
700
+ var AD_DISPLAY_FAMILY = "AdDisplay";
701
+ function displayFontStack(face) {
702
+ const fallback = "'Arial Black', 'Helvetica Neue', Arial, sans-serif";
703
+ return face ? `'${face}', ${fallback}` : fallback;
704
+ }
705
+ function adDisplayFaceCss(file) {
706
+ return [
707
+ " /* --- the brand's face (baker canvas scaffold-ad) --- */",
708
+ ` @font-face { font-family: '${AD_DISPLAY_FAMILY}'; src: url('./${file}'); font-weight: 100 900; font-display: block; }`,
709
+ ` .caption-group { font-family: ${displayFontStack(AD_DISPLAY_FAMILY)}; }`
710
+ ].join("\n");
711
+ }
712
+ function injectAdDisplayFace(indexHtml, file) {
713
+ return indexHtml.replace(" </style>", `${adDisplayFaceCss(file)}
714
+ </style>`);
715
+ }
716
+
717
+ // src/engine/scaffold/ad-layer-placement.ts
718
+ var CAPTION_MIN_LIFT = 0.1;
719
+ function adLayerPlacement(aspect) {
720
+ const safe = videoSafeArea(aspect);
721
+ return {
722
+ caption: { bottom: Math.max(safe.bottom, CAPTION_MIN_LIFT), side: Math.max(safe.left, safe.right) },
723
+ mark: { top: safe.top, left: safe.left },
724
+ card: safe
725
+ };
726
+ }
727
+ var cssPct = (fraction) => `${Math.round(fraction * 1e3) / 10}%`;
728
+ function adCaptionPlacementCss(aspect) {
729
+ const { caption } = adLayerPlacement(aspect);
730
+ return [
731
+ " /* --- caption placement (baker canvas scaffold-ad) --- */",
732
+ " /* Relative to the frame and inside what the platform leaves clear: Reels covers the",
733
+ " bottom 35% of a 9:16 frame, and cards drawn at the old 320px sat under it. */",
734
+ ` .caption-container { bottom: ${cssPct(caption.bottom)}; padding: 0 ${cssPct(caption.side)}; }`,
735
+ ` .caption-group { bottom: 0; max-width: ${cssPct(1 - 2 * caption.side)}; }`
736
+ ].join("\n");
737
+ }
738
+ function injectAdCaptionPlacement(indexHtml, aspect) {
739
+ return indexHtml.replace(" </style>", `${adCaptionPlacementCss(aspect)}
740
+ </style>`);
741
+ }
742
+
743
+ // src/engine/scaffold/ad-brand-overlay.ts
744
+ var markFallback = (name) => name.trim() ? ` onerror="this.replaceWith(Object.assign(document.createElement('span'),{className:this.className+' brand-wordmark',textContent:${escapeHtml(JSON.stringify(name.trim()))}}))"` : "";
745
+ function buildAdBrandOverlay(opts) {
746
+ const { logo, cta, cardAtS, cardDurationS, totalS } = opts;
747
+ if (!logo && !cta?.trim()) return "";
748
+ const inkClass = opts.markIsLight ? " on-dark" : "";
749
+ const parts = [
750
+ "<!-- Brand layer, emitted by `baker canvas scaffold-ad`. The mark and the closing",
751
+ " card are drawn HERE, by the composition \u2014 never generated as a picture, because",
752
+ " a video model garbles a wordmark every time. Restyle freely, but keep the",
753
+ " data-start/data-dur attributes and the script below: that script is what shows",
754
+ " and hides these, and the host composition has nothing that would. -->"
755
+ ];
756
+ if (logo) {
757
+ parts.push(
758
+ `<img class="clip brand-mark${inkClass}" src="${escapeHtml(logo.file)}" alt="${escapeHtml(logo.alt)}" data-start="0" data-dur="${totalS}"${markFallback(logo.alt)} />`
759
+ );
760
+ }
761
+ const cardBits = [];
762
+ if (logo) {
763
+ cardBits.push(
764
+ `<img class="endcard-logo${inkClass}" src="${escapeHtml(logo.file)}" alt="${escapeHtml(logo.alt)}"${markFallback(logo.alt)} />`
765
+ );
766
+ }
767
+ if (cta?.trim()) {
768
+ cardBits.push(
769
+ `<div class="endcard-cta${opts.plateIsDark ? " on-dark-plate" : ""}">${escapeHtml(cta.trim())}</div>`
770
+ );
771
+ }
772
+ parts.push(
773
+ `<div class="clip endcard" data-start="${cardAtS}" data-dur="${cardDurationS}" data-role="cta">`,
774
+ ...cardBits.map((b) => ` ${b}`),
775
+ "</div>",
776
+ brandLayerDriver()
777
+ );
778
+ return parts.join("\n");
779
+ }
780
+ function brandLayerDriver() {
781
+ return [
782
+ "<script>",
783
+ " (function () {",
784
+ " var els = Array.prototype.slice.call(document.querySelectorAll('.brand-mark, .endcard'));",
785
+ " if (!els.length) return;",
786
+ " els.forEach(function (el) { gsap.set(el, { visibility: 'hidden' }); });",
787
+ " var card = document.querySelector('.endcard');",
788
+ " var captions = document.getElementById('captions');",
789
+ " function attach(tl) {",
790
+ " if (!tl) return;",
791
+ " els.forEach(function (el) {",
792
+ " var at = parseFloat(el.getAttribute('data-start') || '0') || 0;",
793
+ " var dur = parseFloat(el.getAttribute('data-dur') || '0') || 0;",
794
+ " tl.set(el, { visibility: 'visible' }, at);",
795
+ " if (dur > 0) tl.set(el, { visibility: 'hidden' }, at + dur);",
796
+ " });",
797
+ " // The closing card owns the frame it lands on. The caption track otherwise",
798
+ " // keeps running underneath it, and what it captions there is the line spoken",
799
+ " // OVER the card \u2014 the call to action, printed a second time in smaller letters",
800
+ " // directly below the button that already says it. Hidden on the CONTAINER and",
801
+ " // with `display`, because each caption group sets its own `visibility: visible`",
802
+ " // and would win against anything set on its parent.",
803
+ " if (card && captions) {",
804
+ " var cardAt = parseFloat(card.getAttribute('data-start') || '0') || 0;",
805
+ " var cardDur = parseFloat(card.getAttribute('data-dur') || '0') || 0;",
806
+ " tl.set(captions, { display: 'none' }, cardAt);",
807
+ " if (cardDur > 0) tl.set(captions, { display: '' }, cardAt + cardDur);",
808
+ " }",
809
+ " }",
810
+ " var store = window.__timelines || {};",
811
+ " var main = store.main;",
812
+ " if (main) { attach(main); return; }",
813
+ " Object.defineProperty(store, 'main', {",
814
+ " configurable: true,",
815
+ " get: function () { return main; },",
816
+ " set: function (tl) { main = tl; attach(tl); },",
817
+ " });",
818
+ " window.__timelines = store;",
819
+ " })();",
820
+ "</script>"
821
+ ].join("\n");
822
+ }
823
+ function adBrandOverlayCss(opts = {}) {
824
+ const { mark, card } = adLayerPlacement(opts.aspect ?? "9:16");
825
+ return [
826
+ " /* --- brand layer (baker canvas scaffold-ad) --- */",
827
+ " /* Positioned by this block alone. The composition that actually renders an ad",
828
+ " is the caption track, which has no .pos-* helpers \u2014 relying on them put the",
829
+ " brand layer in a file nothing opens and shipped an empty green end plate. */",
830
+ " /* Height-led, not width-led. Pinned to 220px WIDE, a wordmark whose SVG",
831
+ " viewBox is wider than it is tall rendered clipped \u2014 the first real ad drew",
832
+ " `greenlea`. Constraining the height and letting the width follow keeps any",
833
+ " aspect ratio whole, and the max-width stops a very wide mark spanning the frame. */",
834
+ " /* A LIGHT panel behind the mark by DEFAULT. A brand mark is usually drawn to sit",
835
+ " on white \u2014 the first one here was #1D5D47 on transparent \u2014 so a dark backing hid",
836
+ " it on the corner and the brand-coloured closing plate erased it completely: the",
837
+ " end card came out as an empty green frame with a single leaf floating in it. A",
838
+ " near-white panel is the background most marks in a brand kit are designed",
839
+ " against; the ones that are not get `.on-dark` below. */",
840
+ " /* Placed in percentages inside the frame's safe area (`adLayerPlacement`): at a fixed",
841
+ " 90px from the top it sat under the Stories and Reels header on every 9:16 ad. */",
842
+ ` .brand-mark { position: absolute; top: ${cssPct(mark.top)}; left: ${cssPct(mark.left)}; height: 52px; width: auto;`,
843
+ " max-width: 420px; object-fit: contain; padding: 14px 22px; border-radius: 18px;",
844
+ " background: rgba(255,255,255,0.94);",
845
+ " filter: drop-shadow(0 3px 10px rgba(0,0,0,0.35)); }",
846
+ " /* Centred in the safe area, not the frame, so the mark and the call to action stay",
847
+ " clear of the chrome on a 9:16 closing card. */",
848
+ ` .endcard { position: absolute; top: ${cssPct(card.top)}; bottom: ${cssPct(card.bottom)}; left: ${cssPct(card.left)}; right: ${cssPct(card.right)};`,
849
+ " display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 56px;",
850
+ " text-align: center; }",
851
+ " /* Sized to FILL, not merely bounded. Given only max-* constraints an SVG",
852
+ " renders at its own intrinsic size, and a small viewBox drew a closing mark",
853
+ " a few dozen pixels tall in the middle of a 1080px frame. */",
854
+ " .endcard-logo { width: 62%; height: auto; max-height: 300px; object-fit: contain;",
855
+ " padding: 46px 56px; border-radius: 40px; background: rgba(255,255,255,0.96);",
856
+ " box-shadow: 0 10px 40px rgba(0,0,0,0.28); }",
857
+ " /* A mark whose own ink is LIGHT gets the opposite panel. The near-white panel",
858
+ " above is right for the mark a brand kit usually ships \u2014 drawn to sit on white",
859
+ " \u2014 and it erases the one it does not: a client's white `logo-dark.svg` rendered",
860
+ " as an empty white box in the corner, and again 300px tall on the closing card.",
861
+ " Which one a mark is gets MEASURED off the file (`markInkIsLight`), never read",
862
+ " off its name: `logo-dark` names the background it is for in one brand kit and",
863
+ " the ink itself in the next. */",
864
+ " .brand-mark.on-dark, .endcard-logo.on-dark { background: rgba(16,20,18,0.92); }",
865
+ " /* The name, when the mark itself could not be drawn. */",
866
+ ` .brand-wordmark { display: inline-block; font-family: ${displayFontStack(opts.face)};`,
867
+ " font-weight: 900; color: #14231b; letter-spacing: -0.01em; }",
868
+ " .brand-mark.brand-wordmark { font-size: 34px; line-height: 1; height: auto; }",
869
+ " .endcard-logo.brand-wordmark { font-size: 96px; line-height: 1; width: auto; }",
870
+ " /* Capped and wrapping, not sized to its content: measured in a real browser,",
871
+ " `GET YOUR FREE QUOTE` renders 948px wide against a 1080px canvas, so the next",
872
+ " slightly longer call to action runs off the frame. Two lines beat an edge. */",
873
+ " /* The SAME family the caption track uses, and only names the compiler maps.",
874
+ " Declaring one matters \u2014 rendered without it the call to action inherited the",
875
+ " document default and came out in Times beside sans-serif captions. But the",
876
+ " first attempt led with 'BrandFont', which the overlay composition defines and",
877
+ " the caption composition does not: HyperFrames refuses an unmapped family and",
878
+ " the whole render died with `No deterministic font mapping for: BrandFont`. */",
879
+ " /* The button is the OPPOSITE of the plate it sits on. Filling it with the brand",
880
+ " colour made it invisible \u2014 the plate is filled with that same colour, so the",
881
+ " button was brand-on-brand and its white copy read as another caption line \u2014",
882
+ " and a fixed near-black fill is that defect mirrored, on the black plate an ad",
883
+ " with no palette gets. The plate carries the brand; the button carries the",
884
+ " contrast. Light copy on the near-black default, dark copy on the light one. */",
885
+ ` .endcard-cta { font-family: ${displayFontStack(opts.face)};`,
886
+ " font-size: 64px; font-weight: 900; text-transform: uppercase;",
887
+ " letter-spacing: 0.01em; color: #fff; padding: 28px 58px; border-radius: 56px;",
888
+ " max-width: 900px; line-height: 1.15; background: rgba(0,0,0,0.82); }",
889
+ " .endcard-cta.on-dark-plate { background: rgba(255,255,255,0.96); color: #14231b; }"
890
+ ].join("\n");
891
+ }
892
+ function injectAdBrandOverlay(indexHtml, overlayHtml, style = {}) {
893
+ if (!overlayHtml.trim()) return indexHtml;
894
+ const withCss = indexHtml.replace(" </style>", `${adBrandOverlayCss(style)}
895
+ </style>`);
896
+ if (withCss.includes("<!--OVERLAYS-->")) return withCss.replace("<!--OVERLAYS-->", () => overlayHtml);
897
+ const rootClose = withCss.lastIndexOf("</div>");
898
+ if (rootClose === -1) return withCss;
899
+ return `${withCss.slice(0, rootClose)}${overlayHtml}
900
+ ${withCss.slice(rootClose)}`;
901
+ }
902
+
903
+ // src/commands/canvas/scaffold-ad.ts
904
+ function pinnedOnAvatar(handle, model) {
905
+ const hint = pinnedModelHint({ avatar: handle ?? void 0, model, generateAudio: true });
906
+ return hint ? [hint] : [];
907
+ }
908
+ var AD_SPEC_FILE = "ad.spec.json";
909
+ registerSchema({
910
+ command: "canvas.scaffold-ad",
911
+ 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.",
912
+ args: {
913
+ spec: {
914
+ type: "string",
915
+ required: true,
916
+ 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.'
917
+ },
918
+ avatar: {
919
+ type: "string",
920
+ required: false,
921
+ 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."
922
+ },
923
+ "no-brand": {
924
+ type: "boolean",
925
+ 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.",
926
+ required: false,
927
+ default: false
928
+ },
929
+ "video-model": {
930
+ type: "string",
931
+ required: false,
932
+ description: "Curated video model id for the shots. Only for comparing models on one brief.",
933
+ enum: [...VIDEO_GENERATE_MODELS]
934
+ },
935
+ platforms: {
936
+ type: "string",
937
+ required: false,
938
+ 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."
939
+ },
940
+ slug: {
941
+ type: "string",
942
+ required: false,
943
+ description: "Creative slug \u2014 writes to src/creatives/<slug>/<slug>.canvas.json"
944
+ },
945
+ out: {
946
+ type: "string",
947
+ required: false,
948
+ description: "Output canvas path (default <spec-dir>/<name>.canvas.json)"
949
+ }
950
+ }
951
+ });
952
+ function avatarVoiceBrief(avatar) {
953
+ if (!avatar) return void 0;
954
+ const parts = [avatar.subjectDescription, avatar.profile?.persona, avatar.profile?.speech].map((p) => p?.trim()).filter((p) => Boolean(p));
955
+ return parts.length > 0 ? parts.join("; ") : void 0;
956
+ }
957
+ var scaffoldAdCommand = defineCommand({
958
+ meta: {
959
+ name: "scaffold-ad",
960
+ 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>'
961
+ },
962
+ args: {
963
+ spec: { type: "string", required: true, description: "Path to the ad spec JSON" },
964
+ 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." },
965
+ "video-model": {
966
+ type: "string",
967
+ required: false,
968
+ 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."
969
+ },
970
+ "no-brand": {
971
+ type: "boolean",
972
+ required: false,
973
+ default: false,
974
+ 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."
975
+ },
976
+ platforms: {
977
+ type: "string",
978
+ required: false,
979
+ 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."
980
+ },
981
+ slug: {
982
+ type: "string",
983
+ required: false,
984
+ description: "Creative slug \u2014 writes to src/creatives/<slug>/<slug>.canvas.json"
985
+ },
986
+ out: { type: "string", required: false, description: "Output canvas path" }
987
+ },
988
+ async run({ args }) {
989
+ const specPath = args.spec;
990
+ let parsed;
991
+ try {
992
+ parsed = JSON.parse(await readFile(specPath, "utf-8"));
993
+ } catch (e) {
994
+ writeJson({
995
+ ok: false,
996
+ error: {
997
+ code: "VALIDATION_ERROR",
998
+ message: `Could not read the ad spec at ${specPath}: ${e instanceof Error ? e.message : String(e)}`,
999
+ fix: "Write the spec first \u2014 a JSON file with a `beats` array, each beat holding `say` (one clause) and `show` (the shot)."
1000
+ }
1001
+ });
1002
+ process.exit(1);
1003
+ return;
1004
+ }
1005
+ const spec = AdSpec.safeParse(parsed);
1006
+ if (!spec.success) {
1007
+ writeJson({
1008
+ ok: false,
1009
+ error: {
1010
+ code: "VALIDATION_ERROR",
1011
+ message: `That ad spec is not usable: ${spec.error.issues.map((i) => `${i.path.join(".")}: ${i.message}`).join("; ")}`,
1012
+ 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."
1013
+ }
1014
+ });
1015
+ process.exit(1);
1016
+ return;
1017
+ }
1018
+ const flagAvatar = args.avatar?.trim();
1019
+ if (flagAvatar) {
1020
+ spec.data.cast = { ...spec.data.cast, avatar: flagAvatar };
1021
+ }
1022
+ let autoCast = null;
1023
+ if (!flagAvatar && !spec.data.cast?.avatar) {
1024
+ const roster = await readAvatars(
1025
+ "/api/avatars",
1026
+ { status: "ready" }
1027
+ ).catch(() => null);
1028
+ const named = roster ? castedAvatarOnRoster(spec.data, roster.avatars) : null;
1029
+ if (named) {
1030
+ spec.data.cast = { ...spec.data.cast, avatar: named };
1031
+ autoCast = named;
1032
+ }
1033
+ }
1034
+ const specArtifact = structuredClone(spec.data);
1035
+ if (spec.data.set?.description && !spec.data.set.image?.trim()) {
1036
+ writeJson({
1037
+ ok: false,
1038
+ error: {
1039
+ code: "VALIDATION_ERROR",
1040
+ 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.",
1041
+ // Names `studio generate`, which is the command that exists — `baker images`
1042
+ // finds and ingests pictures, it does not make them, so the line this used to
1043
+ // print could not be run. No `--model` either: the lane already defaults to the
1044
+ // curated image model, and the one named here was the legacy id the picker now
1045
+ // offers to nobody.
1046
+ 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.`
1047
+ }
1048
+ });
1049
+ process.exit(1);
1050
+ return;
1051
+ }
1052
+ const requestedModel = args["video-model"]?.trim();
1053
+ if (requestedModel && !VIDEO_GENERATE_MODELS.includes(requestedModel)) {
1054
+ writeJson({
1055
+ ok: false,
1056
+ error: {
1057
+ code: "VALIDATION_ERROR",
1058
+ message: `\`${requestedModel}\` is not one of the curated video models.`,
1059
+ fix: `Pick one of: ${VIDEO_GENERATE_MODELS.join(", ")}. Leave --video-model off to use the default.`
1060
+ }
1061
+ });
1062
+ process.exit(1);
1063
+ return;
1064
+ }
1065
+ const chosenVideoModel = requestedModel ?? DEFAULT_VIDEO_GENERATE_MODEL;
1066
+ const handle = flagAvatar || spec.data.cast?.avatar?.trim();
1067
+ let avatar = null;
1068
+ let avatarError = null;
1069
+ if (handle) {
1070
+ try {
1071
+ avatar = await readAvatars(
1072
+ "/api/avatars/get",
1073
+ { handle, full: "true" }
1074
+ );
1075
+ if (avatar?.status && avatar.status !== "ready") {
1076
+ avatarError = `Avatar \`${handle}\` is ${avatar.status}, not ready \u2014 only a ready avatar can be cast. Check \`baker avatars get ${handle}\`.`;
1077
+ avatar = null;
1078
+ } else if (!avatar?.sheetUrl) {
1079
+ avatarError = `Avatar \`${handle}\` has no identity sheet yet, so the ad cannot ground on their face.`;
1080
+ avatar = null;
1081
+ }
1082
+ } catch (e) {
1083
+ avatarError = `Could not read avatar \`${handle}\`: ${e instanceof Error ? e.message : String(e)}. \`baker avatars list\` shows who there is.`;
1084
+ }
1085
+ }
1086
+ if (avatarError && !spec.data.cast?.description?.trim()) {
1087
+ writeJson({
1088
+ ok: false,
1089
+ error: {
1090
+ code: "VALIDATION_ERROR",
1091
+ message: avatarError,
1092
+ 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\`.`
1093
+ }
1094
+ });
1095
+ process.exit(1);
1096
+ return;
1097
+ }
1098
+ const fromWorkspace = await readBrandFromWorkspace();
1099
+ const filledLogo = !spec.data.brand?.logo && fromWorkspace.logo ? fromWorkspace.logo : void 0;
1100
+ const filledPalette = !spec.data.brand?.palette?.length && fromWorkspace.palette?.length ? fromWorkspace.palette : void 0;
1101
+ if (filledLogo || filledPalette) {
1102
+ spec.data.brand = {
1103
+ ...spec.data.brand,
1104
+ ...filledLogo ? { logo: filledLogo } : {},
1105
+ ...filledPalette ? { palette: filledPalette } : {}
1106
+ };
1107
+ }
1108
+ const resolvedLogo = spec.data.brand?.logo?.trim();
1109
+ const logoExists = resolvedLogo ? await stat(resolvedLogo).then(() => true, () => false) : false;
1110
+ const noBrand = Boolean(args["no-brand"]);
1111
+ const fetched = !logoExists && !noBrand ? await fetchClientLogo() : null;
1112
+ if (fetched?.ok) {
1113
+ spec.data.brand = { ...spec.data.brand, logo: fetched.path };
1114
+ }
1115
+ const haveLogo = logoExists || fetched?.ok === true;
1116
+ if (!haveLogo && spec.data.brand?.logo) {
1117
+ const { logo: _missing, ...rest } = spec.data.brand;
1118
+ spec.data.brand = rest;
1119
+ }
1120
+ const noLogoHint = !haveLogo && !noBrand ? [
1121
+ `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.`
1122
+ ] : [];
1123
+ const markPath = spec.data.brand?.logo?.trim();
1124
+ if (!noBrand && markPath?.toLowerCase().endsWith(".svg")) {
1125
+ const svg = await readFile(markPath, "utf-8").catch(() => null);
1126
+ if (svg === null) {
1127
+ writeJson({
1128
+ ok: false,
1129
+ error: {
1130
+ code: "VALIDATION_ERROR",
1131
+ 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.`,
1132
+ 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.`
1133
+ }
1134
+ });
1135
+ process.exit(1);
1136
+ return;
1137
+ }
1138
+ if (svgIsLiveText(svg)) {
1139
+ writeJson({
1140
+ ok: false,
1141
+ error: {
1142
+ code: "VALIDATION_ERROR",
1143
+ 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.`,
1144
+ 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.`
1145
+ }
1146
+ });
1147
+ process.exit(1);
1148
+ return;
1149
+ }
1150
+ }
1151
+ if (!noBrand && markPath && !await markIsReal(markPath)) {
1152
+ writeJson({
1153
+ ok: false,
1154
+ error: {
1155
+ code: "VALIDATION_ERROR",
1156
+ 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.`,
1157
+ 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.`
1158
+ }
1159
+ });
1160
+ process.exit(1);
1161
+ return;
1162
+ }
1163
+ if (handle) {
1164
+ const names = [handle, avatar?.name].filter((value) => Boolean(value));
1165
+ spec.data.beats = spec.data.beats.map((beat) => ({ ...beat, show: withoutCastName(beat.show, names) }));
1166
+ if (spec.data.cast?.description) {
1167
+ spec.data.cast = { ...spec.data.cast, description: withoutCastName(spec.data.cast.description, names) };
1168
+ }
1169
+ }
1170
+ const avatarVoice = avatarVoiceBrief(avatar);
1171
+ if (noBrand || !haveLogo && !endCardCta(spec.data)) spec.data.end_card = false;
1172
+ const slug = args.slug ?? path.basename(specPath).replace(/\.[^.]+$/, "");
1173
+ const outPath = args.out ?? (args.slug ? path.join("src/creatives", slug, `${slug}.canvas.json`) : path.join(path.dirname(specPath), `${slug}.canvas.json`));
1174
+ const definitionLanguage = parseDefinitionStrategyFields(
1175
+ await readFile(path.join(path.dirname(outPath), "_definition.md"), "utf8").catch(() => "")
1176
+ ).language;
1177
+ const cacheDir = path.join(findWorkspaceRoot(path.dirname(path.resolve(outPath))) ?? process.cwd(), "canvas", ".cache");
1178
+ const spent = [];
1179
+ const reading = await readAdSpec(
1180
+ spec.data,
1181
+ {
1182
+ voices: adSpecVoices(spec.data, avatarVoice),
1183
+ askLanguage: !spokenLanguageFor(spec.data, { definitionLanguage })
1184
+ },
1185
+ {
1186
+ ask: cachedJev(cacheDir, (questions) => askJevQuestions(questions, (u) => spent.push(u))),
1187
+ genders: voiceGenderModel(cacheDir, (u) => spent.push(u))
1188
+ }
1189
+ );
1190
+ await holdUnbilledSpend(cacheDir, spent).catch(() => {
1191
+ });
1192
+ const contradicts = spec.data.beats.flatMap((beat, i) => reading.wantsLegibleText[i] ? [{ i, show: beat.show }] : []);
1193
+ if (contradicts.length > 0) {
1194
+ writeJson({
1195
+ ok: false,
1196
+ error: {
1197
+ code: "VALIDATION_ERROR",
1198
+ 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.`,
1199
+ 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."
1200
+ }
1201
+ });
1202
+ process.exit(1);
1203
+ return;
1204
+ }
1205
+ const introducesOffCamera = beatsIntroducingSpeakerOffCamera(spec.data, reading);
1206
+ const firstIntro = introducesOffCamera[0];
1207
+ if (firstIntro !== void 0) {
1208
+ const line = (spec.data.beats[firstIntro]?.say ?? "").trim();
1209
+ writeJson({
1210
+ ok: false,
1211
+ error: {
1212
+ code: "VALIDATION_ERROR",
1213
+ 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.`,
1214
+ 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".'
1215
+ }
1216
+ });
1217
+ process.exit(1);
1218
+ return;
1219
+ }
1220
+ const spokenLanguage2 = spokenLanguageFor(spec.data, { definitionLanguage, reading });
1221
+ const blueprint = adSpecToBlueprint(spec.data, {
1222
+ avatarAccent: avatar?.profile?.accent,
1223
+ videoModel: chosenVideoModel,
1224
+ ...avatarVoice ? { avatarVoice } : {},
1225
+ ...definitionLanguage ? { definitionLanguage } : {},
1226
+ reading
1227
+ });
1228
+ let outAr;
1229
+ try {
1230
+ outAr = resolveAspect(void 0, spec.data.format.aspect_ratio, genAspectsFor(chosenVideoModel)).outAr;
1231
+ } catch (e) {
1232
+ writeJson({
1233
+ ok: false,
1234
+ error: {
1235
+ code: "VALIDATION_ERROR",
1236
+ message: e instanceof Error ? e.message : String(e),
1237
+ 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.'
1238
+ }
1239
+ });
1240
+ process.exit(1);
1241
+ return;
1242
+ }
1243
+ const outDims = canvasDims(outAr);
1244
+ const outDir = path.dirname(outPath);
1245
+ await mkdir(outDir, { recursive: true });
1246
+ const compositionDest = path.join(outDir, "video-overlay-composition");
1247
+ const captionsDest = path.join(outDir, "tiktok-captions-composition");
1248
+ await cp(SHIPPED_OVERLAY_COMPOSITION_DIR, compositionDest, { recursive: true });
1249
+ await cp(SHIPPED_CAPTIONS_DIR, captionsDest, { recursive: true });
1250
+ await stampCompositionDims(compositionDest, outDims);
1251
+ await stampCompositionDims(captionsDest, outDims);
1252
+ const captionsIndex = path.join(captionsDest, "index.html");
1253
+ await writeFile(captionsIndex, injectAdCaptionPlacement(await readFile(captionsIndex, "utf-8"), outAr), "utf-8");
1254
+ const face = await stageBrandDisplayFace(outDir, captionsDest);
1255
+ if (face) {
1256
+ await writeFile(captionsIndex, injectAdDisplayFace(await readFile(captionsIndex, "utf-8"), face.file), "utf-8");
1257
+ }
1258
+ const blueprintPath = path.join(outDir, "prompt.json");
1259
+ const blueprintStylePath = path.join(outDir, "prompt.style.json");
1260
+ await writeSceneFiles(outDir, blueprint);
1261
+ await writeFile(blueprintStylePath, renderStyleProjectionFromValue(blueprint), "utf8");
1262
+ await writeFile(path.join(outDir, AD_SPEC_FILE), `${JSON.stringify(specArtifact, null, 2)}
1263
+ `, "utf8");
1264
+ const logoPath = noBrand ? void 0 : spec.data.brand?.logo?.trim();
1265
+ const transcriptPath = path.join(outDir, "transcript.json");
1266
+ if (spec.data.voiceover === false) {
1267
+ await writeFile(transcriptPath, `${JSON.stringify(staticTranscript(spec.data, chosenVideoModel), null, 2)}
1268
+ `, "utf-8");
1269
+ }
1270
+ const opts = {
1271
+ imageModel: AD_IMAGE_MODEL,
1272
+ // The frames' model cannot make the sheet: `image_reference_sheet` registers only
1273
+ // the Gemini image models, and a sheet asked of gpt-image is an `unknown_model` node
1274
+ // that stops the whole canvas. The same sheet model every other scaffold uses.
1275
+ sheetModel: ACTOR_SHEET_MODEL,
1276
+ videoModel: chosenVideoModel,
1277
+ overlayCompositionPath: path.relative(outDir, compositionDest),
1278
+ captionsCompositionPath: path.relative(outDir, captionsDest),
1279
+ blueprintPath: path.relative(outDir, blueprintPath),
1280
+ blueprintStylePath: path.relative(outDir, blueprintStylePath),
1281
+ aspect: spec.data.format.aspect_ratio,
1282
+ resolution: spec.data.format.resolution,
1283
+ // A beat is one clause and one card, so the cap has to clear a whole clause.
1284
+ // The composition's default of 3 is TikTok karaoke styling; applied to an ad
1285
+ // it overrode the clause rule on every line and rendered "IS STANDARD. WE".
1286
+ // 8 is the composition's own maximum and clears every beat measured here.
1287
+ captionWordsPerGroup: 8,
1288
+ // The `say` lines are the copy the viewer reads, so they are what the captions print;
1289
+ // the transcription of the voice track only times them.
1290
+ captionsFromScript: true,
1291
+ // Declared, or read off the lines by Jev; never off the voice description.
1292
+ ...spokenLanguage2 ? { spokenLanguage: spokenLanguage2 } : {},
1293
+ voiceGenders: reading.voiceGenders,
1294
+ ...reading.captionCarriesOn.length ? { captionCarriesOn: reading.captionCarriesOn } : {},
1295
+ // The avatar's ACCENT reaches the clip through the blueprint (`avatarAccent` above,
1296
+ // baked into `global.voiceover.accent`), not a pinned voice. A pinned voice was
1297
+ // removed on purpose (ADR 0005): the re-voice is speech-to-speech, so it replaces
1298
+ // timbre and keeps the pronunciation it is handed. The clip speaks in the voice the
1299
+ // video model renders, and the region is directed in the prompt.
1300
+ //
1301
+ // Same decision, one step further: with an avatar on camera the clip's own voice is
1302
+ // kept, not re-voiced. The re-voice is the speech-to-speech route ADR 0005 measured
1303
+ // and rejected — it would swap the voice that matches the mouth and the directed
1304
+ // region for one cast off an English stock list. Only the on-camera voice; a
1305
+ // voiceover read has no rendered voice to keep and is still cast.
1306
+ //
1307
+ // The KNOWN RISK this carries, recorded here because it is decided here: keeping the
1308
+ // rendered voice also means no pass unifies her beats, and each beat is its own
1309
+ // generation, so nothing guarantees two of them sound like the same person. The
1310
+ // reference image fixes the face; nothing fixes the voice. Measured on a finished
1311
+ // three-beat ad (her, a cutaway, her): median speaking pitch 210.5 Hz and 216.2 Hz,
1312
+ // near-identical spreads — the same voice as far as pitch can say — and the two
1313
+ // extracts were then listened to side by side and judged to be the same person. Not
1314
+ // proof for every ad: one listener, one ad, and pitch is one dimension of a voice.
1315
+ //
1316
+ // If it does show up, the fix is not to drop `keepRenderedVoice` — that brings back
1317
+ // the stock voice this exists to avoid. It is to convert the LATER extracts onto the
1318
+ // first beat of the same speaker, which keeps a voice the clip really produced.
1319
+ ...avatar ? { keepRenderedVoice: true } : {},
1320
+ ...spec.data.voiceover === false ? { staticTranscriptPath: path.relative(outDir, transcriptPath) } : {}
1321
+ };
1322
+ const canvas = scaffoldVideoCanvas(blueprint, adSpecCastElements(spec.data, avatar), opts);
1323
+ const renderNode = canvas.nodes.find((n) => n.type === "hyperframe_render");
1324
+ const renderedDir = renderNode ? path.join(outDir, String(renderNode.params?.composition ?? "")) : null;
1325
+ let staged = null;
1326
+ let markIsLight = false;
1327
+ if (logoPath && renderedDir) {
1328
+ const ext = path.extname(logoPath) || ".png";
1329
+ try {
1330
+ await copyFile(logoPath, path.join(renderedDir, `brand-mark${ext}`));
1331
+ staged = { file: `brand-mark${ext}`, alt: spec.data.brand?.name ?? "brand" };
1332
+ markIsLight = await markInkIsLight(logoPath);
1333
+ } catch {
1334
+ }
1335
+ }
1336
+ const closing = blueprint.scenes[blueprint.scenes.length - 1];
1337
+ const overlayHtml = !noBrand && endCardWanted(spec.data) && closing && renderedDir ? buildAdBrandOverlay({
1338
+ logo: staged,
1339
+ cta: endCardCta(spec.data),
1340
+ cardAtS: closing.start_s,
1341
+ cardDurationS: closing.duration_s,
1342
+ totalS: blueprint.estimated_duration_s,
1343
+ markIsLight,
1344
+ // The card's button is coloured against the plate the engine will fill from
1345
+ // this same palette — including the black plate an ad with no palette gets.
1346
+ plateIsDark: plateIsDark(spec.data.brand?.palette)
1347
+ }) : "";
1348
+ if (overlayHtml && renderedDir) {
1349
+ const indexPath = path.join(renderedDir, "index.html");
1350
+ const html = await readFile(indexPath, "utf-8");
1351
+ await writeFile(indexPath, injectAdBrandOverlay(html, overlayHtml, { aspect: outAr, ...face ? { face: AD_DISPLAY_FAMILY } : {} }), "utf-8");
1352
+ }
1353
+ await writeFile(
1354
+ path.join(outDir, REBUILD_FILE),
1355
+ `${JSON.stringify({ elements: adSpecCastElements(spec.data, avatar), opts }, null, 2)}
1356
+ `,
1357
+ "utf8"
1358
+ );
1359
+ const validation = await validateCanvasDeep(resolveRelativeCanvasPaths(canvas, outDir), defaultRegistry());
1360
+ if (!validation.ok) {
1361
+ const meta = canvas.metadata;
1362
+ meta.todo = { ...meta.todo ?? {}, blocking_validation_issues: validation.issues };
1363
+ }
1364
+ await writeFile(outPath, `${JSON.stringify(canvas, null, 2)}
1365
+ `, "utf-8");
1366
+ if (!validation.ok) {
1367
+ process.stderr.write(
1368
+ `${JSON.stringify(
1369
+ {
1370
+ ok: false,
1371
+ error: { code: "validation", issues: validation.issues },
1372
+ canvas_path: outPath,
1373
+ 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."
1374
+ },
1375
+ null,
1376
+ 2
1377
+ )}
1378
+ `
1379
+ );
1380
+ process.exit(2);
1381
+ return;
1382
+ }
1383
+ if (args.slug) {
1384
+ const definitionPath = path.join(outDir, "_definition.md");
1385
+ const definitionExists = await stat(definitionPath).then(() => true, () => false);
1386
+ if (!definitionExists) {
1387
+ await writeFile(
1388
+ definitionPath,
1389
+ buildCreativeDefinition({
1390
+ title: titleFromSlug(slug),
1391
+ kind: "video",
1392
+ ...definitionPlatformsOf(args.platforms ? String(args.platforms) : void 0, void 0),
1393
+ formats: resolveFormats(spec.data.format.aspect_ratio),
1394
+ description: spec.data.beats.map((beat) => beat.say.trim()).join(" ")
1395
+ }),
1396
+ "utf8"
1397
+ );
1398
+ }
1399
+ await syncCreativeDefinitionBestEffort({
1400
+ slug,
1401
+ title: titleFromSlug(slug),
1402
+ ...await readDefinitionPlatforms(outPath),
1403
+ formats: [spec.data.format.aspect_ratio],
1404
+ canvas,
1405
+ sourceSha: await computeSourceSha(outPath)
1406
+ });
1407
+ }
1408
+ writeJson({
1409
+ ok: true,
1410
+ data: { canvas: outPath, beats: spec.data.beats.length, slug },
1411
+ hints: [
1412
+ // Before anything else: a beat too short to play is a beat to merge, and it is
1413
+ // free to fix here and expensive to discover in a finished ad.
1414
+ ...shortBeatHint(beatsTooShortToPlay(spec.data), spec.data.beats.length),
1415
+ ...noLogoHint,
1416
+ ...face ? [`The captions and the closing button are set in the brand's face: ${face.label}.`] : [],
1417
+ ...noBrand ? [
1418
+ "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."
1419
+ ] : [],
1420
+ // Same reasoning as `studio animate`: a cast avatar that speaks routes to the
1421
+ // default model on purpose, and pinning one discards that silently. An ad's
1422
+ // beats always speak, so there is no silent case to exclude here.
1423
+ ...pinnedOnAvatar(handle, requestedModel),
1424
+ // `--until frames` on anything carrying a face or a mark, because that is where
1425
+ // getting it wrong is expensive: the pictures cost a fraction of the clips, and
1426
+ // every defect anyone has caught in a finished ad was visible in them. The run
1427
+ // stops, the agent reviews the frames, and continuing pays for none of them twice.
1428
+ 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>"\`.`,
1429
+ ...autoCast ? [
1430
+ `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.'
1431
+ ] : [],
1432
+ `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.`,
1433
+ ...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.`] : [],
1434
+ ...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."] : [],
1435
+ ...endCardWanted(spec.data) ? ["The last beat closes on a flat brand plate with the call to action over it, instead of one more photograph."] : [],
1436
+ ...spec.data.brand?.logo && !filledLogo && !spec.data.brand.logo.startsWith(`${BRAND_DIR}/`) ? [
1437
+ `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.`
1438
+ ] : [],
1439
+ ...filledLogo || filledPalette ? [
1440
+ `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.`
1441
+ ] : [],
1442
+ ...avatarError ? [avatarError] : [],
1443
+ ...avatar ? [
1444
+ ...avatar?.profile?.accent?.trim() ? [] : [
1445
+ `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"\`.`
1446
+ ],
1447
+ `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.`
1448
+ ] : [],
1449
+ ...presenterIsInEveryShot(spec.data) ? [
1450
+ "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."
1451
+ ] : [],
1452
+ ...!spec.data.cast ? [
1453
+ '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.'
1454
+ ] : [],
1455
+ ...spec.data.cast && !avatar ? [
1456
+ "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`."
1457
+ ] : [],
1458
+ ...marketFor(spec.data, definitionLanguage) ? [] : [
1459
+ '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.'
1460
+ ],
1461
+ ...reading.read ? [] : [
1462
+ `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.`
1463
+ ],
1464
+ ...spec.data.voiceover === false ? [
1465
+ "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."
1466
+ ] : [],
1467
+ "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.",
1468
+ "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`.",
1469
+ // Keyed on what is MISSING, not on whether `brand` exists at all: a spec holding
1470
+ // `brand.name` and nothing else once rendered 28 seconds with no palette anywhere.
1471
+ // A missing logo is said once, by `noLogoHint`.
1472
+ ...spec.data.brand?.palette?.length ? [] : [
1473
+ "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."
1474
+ ],
1475
+ "`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."
1476
+ ]
1477
+ });
1478
+ }
1479
+ });
1480
+ function shortBeatHint(short, total) {
1481
+ if (short.length === 0) return [];
1482
+ return [
1483
+ `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.`
1484
+ ];
1485
+ }
1486
+ var MAX_FONT_BYTES = 5e6;
1487
+ async function stageBrandDisplayFace(outDir, compositionDir) {
1488
+ const root = await findBrandRoot(outDir) ?? process.cwd();
1489
+ const kit = await readStaticBrandKit(root);
1490
+ const face = await brandHeadlineFont({
1491
+ file: kit.headlineFont,
1492
+ named: await readNamedTypefaces(root),
1493
+ resolveUrl: (family, weight) => webFontUrl(family, weight, { lookupGoogleCss, fetchJson })
1494
+ }).catch(() => null);
1495
+ if (!face) return null;
1496
+ try {
1497
+ if ("path" in face.slot) {
1498
+ const file2 = `brand-face${path.extname(face.slot.path).toLowerCase()}`;
1499
+ await copyFile(face.slot.path, path.join(compositionDir, file2));
1500
+ return { file: file2, label: `the font file \`${path.relative(root, face.slot.path)}\`` };
1501
+ }
1502
+ const { buffer } = await fetchExternalBytes(face.slot.url, { maxBytes: MAX_FONT_BYTES });
1503
+ const extension = /\.(woff2|woff|ttf|otf)(?:\?|$)/i.exec(face.slot.url)?.[1]?.toLowerCase() ?? "woff2";
1504
+ const file = `brand-face.${extension}`;
1505
+ await writeFile(path.join(compositionDir, file), buffer);
1506
+ return { file, label: `${face.family ?? "the brand's typeface"}, loaded as a web font` };
1507
+ } catch {
1508
+ return null;
1509
+ }
1510
+ }
1511
+ export {
1512
+ scaffoldAdCommand
1513
+ };
1514
+ //# sourceMappingURL=scaffold-ad-A6SROV4X.js.map