@koda-sl/baker-cli 0.553.0 → 0.555.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (857) hide show
  1. package/README.md +8 -4
  2. package/dist/account-H5CL6KUY.js +82 -0
  3. package/dist/account-assets-QMKT5AT7.js +290 -0
  4. package/dist/account-level-BELF6JHB.js +611 -0
  5. package/dist/account-reads-T6GTSAXE.js +219 -0
  6. package/dist/account-users-ZGJCVGX4.js +64 -0
  7. package/dist/accounts-EXQNPSYH.js +701 -0
  8. package/dist/accounts-GNVLFZ3X.js +80 -0
  9. package/dist/actions-Q2BMP27K.js +55 -0
  10. package/dist/activecampaign-SJO2YK6M.js +938 -0
  11. package/dist/add-Q3FGYX5Q.js +305 -0
  12. package/dist/add-YGQBSEVK.js +107 -0
  13. package/dist/ads-7QKQEHKT.js +48 -0
  14. package/dist/ads-H5AEYIY3.js +120 -0
  15. package/dist/adsets-BUIT7HF2.js +182 -0
  16. package/dist/advertisers-ZAHXMIAT.js +123 -0
  17. package/dist/analytics-B6ER4TQ7.js +2437 -0
  18. package/dist/analytics-QW5ZXDJR.js +447 -0
  19. package/dist/animate-Q43SOWB4.js +480 -0
  20. package/dist/asset-writes-JVFE457M.js +50 -0
  21. package/dist/assign-HJ2NXW4W.js +80 -0
  22. package/dist/audience-size-IM3N6W7C.js +76 -0
  23. package/dist/audience-writes-DWSCHYQF.js +327 -0
  24. package/dist/audiences-PYBJU2GV.js +106 -0
  25. package/dist/audit-N3LAQMD4.js +154 -0
  26. package/dist/autocomplete-FBTPT5MA.js +114 -0
  27. package/dist/avatars-Y3DALQIU.js +38 -0
  28. package/dist/bid-pricing-UUAC4GTQ.js +103 -0
  29. package/dist/brand-IZYD5SBJ.js +22 -0
  30. package/dist/brief-NA3E2W4P.js +543 -0
  31. package/dist/campaign-groups-3IUOLEK2.js +99 -0
  32. package/dist/campaign-writes-Y7QNFOE7.js +168 -0
  33. package/dist/campaigns-2Z6WXIVA.js +130 -0
  34. package/dist/campaigns-B2AUW4TV.js +111 -0
  35. package/dist/campaigns-IDEA3LOK.js +113 -0
  36. package/dist/canvas-WHFDCHUP.js +46 -0
  37. package/dist/capabilities-FVMMLKPY.js +147 -0
  38. package/dist/catalog-URTZYAPU.js +66 -0
  39. package/dist/catalogs-OEUNVE4N.js +782 -0
  40. package/dist/chatgpt-YBHXCXWZ.js +47 -0
  41. package/dist/chats-EENMDXWZ.js +449 -0
  42. package/dist/check-7735BPTR.js +107 -0
  43. package/dist/chunk-2QGGI7MF.js +831 -0
  44. package/dist/chunk-3HKZU3Y5.js +19 -0
  45. package/dist/chunk-3OMFSYQ3.js +344 -0
  46. package/dist/chunk-4N3Y5QWW.js +29 -0
  47. package/dist/chunk-4N3Y5QWW.js.map +1 -0
  48. package/dist/chunk-65CQYRMK.js +98 -0
  49. package/dist/chunk-6MZFOMLU.js +225 -0
  50. package/dist/chunk-6PT22YSR.js +91 -0
  51. package/dist/chunk-6WVYBY2G.js +8954 -0
  52. package/dist/chunk-757ZFIL4.js +910 -0
  53. package/dist/chunk-75HAGIH6.js +61 -0
  54. package/dist/chunk-7BVRFQN4.js +430 -0
  55. package/dist/chunk-7TDJCDKT.js +163 -0
  56. package/dist/chunk-AL4MRNYI.js +709 -0
  57. package/dist/chunk-BMNOMOWP.js +156 -0
  58. package/dist/chunk-BS2MC62Y.js +203 -0
  59. package/dist/chunk-C6PWVZQE.js +103 -0
  60. package/dist/chunk-CDTAKCJR.js +178 -0
  61. package/dist/chunk-CH44XVPE.js +142 -0
  62. package/dist/chunk-CJWLDKFO.js +494 -0
  63. package/dist/chunk-DAMC4FKK.js +224 -0
  64. package/dist/chunk-DSDI5DY3.js +115 -0
  65. package/dist/chunk-DSDI5DY3.js.map +1 -0
  66. package/dist/chunk-DWPOAU4Z.js +5471 -0
  67. package/dist/chunk-EENYLJUN.js +225 -0
  68. package/dist/chunk-EJBLF2LI.js +167 -0
  69. package/dist/chunk-EJMPKO6V.js +287 -0
  70. package/dist/chunk-EKXLJRO3.js +197 -0
  71. package/dist/chunk-EL3TDR5S.js +1744 -0
  72. package/dist/chunk-GRDZWZKQ.js +249 -0
  73. package/dist/chunk-GVUBRSD3.js +51 -0
  74. package/dist/chunk-GYREQDTJ.js +392 -0
  75. package/dist/chunk-HBRXFQQV.js +3510 -0
  76. package/dist/chunk-HLHR3EK2.js +23 -0
  77. package/dist/chunk-IMFIRELA.js +547 -0
  78. package/dist/chunk-IOKD77L2.js +89 -0
  79. package/dist/chunk-KDAINT54.js +131 -0
  80. package/dist/chunk-KKKZRQFY.js +297 -0
  81. package/dist/chunk-KOEXPN3G.js +2209 -0
  82. package/dist/chunk-KT5JVIPZ.js +91 -0
  83. package/dist/chunk-LC6PVPJX.js +76 -0
  84. package/dist/chunk-LETR3RQE.js +275 -0
  85. package/dist/chunk-MKLAZD23.js +7857 -0
  86. package/dist/chunk-MKLAZD23.js.map +1 -0
  87. package/dist/chunk-N3PASNUA.js +136 -0
  88. package/dist/chunk-NL77JRKE.js +170 -0
  89. package/dist/chunk-OBQ5YUOZ.js +1902 -0
  90. package/dist/chunk-OTFHIGEO.js +207 -0
  91. package/dist/chunk-PCUWBZM3.js +169 -0
  92. package/dist/chunk-PNWXTOQ4.js +455 -0
  93. package/dist/chunk-PQFTKHDA.js +479 -0
  94. package/dist/chunk-Q5DFEVLE.js +148 -0
  95. package/dist/chunk-QXCGWAC6.js +399 -0
  96. package/dist/chunk-RKDMYL4A.js +438 -0
  97. package/dist/chunk-SCBSAIVV.js +392 -0
  98. package/dist/chunk-SPBUE7R4.js +685 -0
  99. package/dist/chunk-TWFZIHKK.js +219 -0
  100. package/dist/chunk-U6G6ALXP.js +66 -0
  101. package/dist/chunk-UCJAPB5Y.js +334 -0
  102. package/dist/chunk-VFDWUIGR.js +57 -0
  103. package/dist/chunk-WC3YSN7L.js +604 -0
  104. package/dist/chunk-WIOPEK7K.js +930 -0
  105. package/dist/chunk-X3GWGFZP.js +5368 -0
  106. package/dist/chunk-X6U3B6YK.js +343 -0
  107. package/dist/chunk-X6U3B6YK.js.map +1 -0
  108. package/dist/chunk-XYKODRQR.js +191 -0
  109. package/dist/chunk-XZAVBONI.js +64 -0
  110. package/dist/chunk-Y5PNLB24.js +84 -0
  111. package/dist/claim-PGDIRXIC.js +200 -0
  112. package/dist/cli.js +34 -34
  113. package/dist/companies-WTPKGEB3.js +198 -0
  114. package/dist/company-6H2H73YP.js +308 -0
  115. package/dist/complete-2QBC3POO.js +84 -0
  116. package/dist/connect-35YPFAUL.js +45 -0
  117. package/dist/conversation-YZFNEWDV.js +96 -0
  118. package/dist/conversion-upload-command-J2FIO74Y.js +439 -0
  119. package/dist/conversions-ZFDBD3OU.js +140 -0
  120. package/dist/copy-writes-2B36QJUY.js +170 -0
  121. package/dist/create-3H67EUTO.js +62 -0
  122. package/dist/create-ALTOBDP4.js +239 -0
  123. package/dist/create-C3MWUYX2.js +210 -0
  124. package/dist/create-WHTT6IXY.js +135 -0
  125. package/dist/creatives-22BYP5VN.js +118 -0
  126. package/dist/creatives-LTIV3XPT.js +58 -0
  127. package/dist/creatives-Y2WLGDJW.js +223 -0
  128. package/dist/credentials-J5DMQJWN.js +290 -0
  129. package/dist/critique-RFTS2I46.js +232 -0
  130. package/dist/critique-X6XVPIUG.js +1451 -0
  131. package/dist/crm-LWRGJYHW.js +227 -0
  132. package/dist/crm-RUNEJY2R.js +323 -0
  133. package/dist/crop-4V4P3SKI.js +113 -0
  134. package/dist/custom-conversions-V7QPZIB4.js +128 -0
  135. package/dist/customers-IDB6NLQ6.js +65 -0
  136. package/dist/delete-2QKVUKKB.js +67 -0
  137. package/dist/delete-B7BKF24X.js +57 -0
  138. package/dist/delete-HBRYUWAA.js +69 -0
  139. package/dist/demographics-JHB3NFLU.js +141 -0
  140. package/dist/dimensions-KI3OENZD.js +101 -0
  141. package/dist/discard-FEJ6YL22.js +69 -0
  142. package/dist/domain-JYWNXBKS.js +101 -0
  143. package/dist/download-H3ZDQTFG.js +337 -0
  144. package/dist/download-H3ZDQTFG.js.map +1 -0
  145. package/dist/download-LOBPOIU5.js +172 -0
  146. package/dist/draft-2JVWCYRF.js +134 -0
  147. package/dist/draft-2JVWCYRF.js.map +1 -0
  148. package/dist/draft-4WMYCA7I.js +315 -0
  149. package/dist/draft-4WMYCA7I.js.map +1 -0
  150. package/dist/draft-7VGBJIJU.js +260 -0
  151. package/dist/draft-7VGBJIJU.js.map +1 -0
  152. package/dist/draft-DR5BJK7V.js +138 -0
  153. package/dist/draft-DR5BJK7V.js.map +1 -0
  154. package/dist/draft-EB5ZFDVN.js +557 -0
  155. package/dist/draft-EB5ZFDVN.js.map +1 -0
  156. package/dist/draft-I2FLECEX.js +220 -0
  157. package/dist/draft-N56HPS36.js +374 -0
  158. package/dist/draft-N56HPS36.js.map +1 -0
  159. package/dist/draft-ZLZRTPY6.js +332 -0
  160. package/dist/draft-ZLZRTPY6.js.map +1 -0
  161. package/dist/engine/index.js +5 -5
  162. package/dist/experiments-WVTBHD6G.js +236 -0
  163. package/dist/extract-UELZV3NI.js +142 -0
  164. package/dist/extract-UELZV3NI.js.map +1 -0
  165. package/dist/facets-V2ITIUKD.js +117 -0
  166. package/dist/feedback-PXWPR3NZ.js +136 -0
  167. package/dist/feedback-QSIPSNAL.js +115 -0
  168. package/dist/feedback-record-DJHJWJAF.js +269 -0
  169. package/dist/fetch-QVOOC3FA.js +204 -0
  170. package/dist/fit-REGMM46H.js +65 -0
  171. package/dist/flows-EZV3KCV6.js +250 -0
  172. package/dist/fonts-NUX66HEI.js +39 -0
  173. package/dist/forecast-W6HKYVX5.js +121 -0
  174. package/dist/forecast-XDRKCR65.js +169 -0
  175. package/dist/funnel-3YABA3G2.js +397 -0
  176. package/dist/ga4-IJ2UUICC.js +55 -0
  177. package/dist/generate-22HT24SA.js +263 -0
  178. package/dist/get-GQQLBE5C.js +82 -0
  179. package/dist/get-NL3YZFUJ.js +62 -0
  180. package/dist/google-BPB5JLJG.js +162 -0
  181. package/dist/google-BPB5JLJG.js.map +1 -0
  182. package/dist/google-UJ4YJGTJ.js +3285 -0
  183. package/dist/google-ads-RRKKSKDD.js +198 -0
  184. package/dist/history-2UANIBRN.js +102 -0
  185. package/dist/history-YZ727ZRG.js +153 -0
  186. package/dist/hubspot-KWLXJ6QD.js +782 -0
  187. package/dist/ideas-ZO533P5Y.js +45 -0
  188. package/dist/images-VUWUKGD6.js +92 -0
  189. package/dist/ingest-C2HJ5LUY.js +27 -0
  190. package/dist/ingest-H53JR4GK.js +123 -0
  191. package/dist/inspect-BM6GJHQV.js +192 -0
  192. package/dist/instant-experiences-U6U3FYIH.js +264 -0
  193. package/dist/keyword-metrics-R2QCEDYW.js +200 -0
  194. package/dist/keywords-for-site-NBV72C3W.js +131 -0
  195. package/dist/landing-L3WDTW4D.js +28 -0
  196. package/dist/leads-6PF7ZWCH.js +115 -0
  197. package/dist/leads-IG3IIHXG.js +541 -0
  198. package/dist/learn-V2LIBEEY.js +207 -0
  199. package/dist/line-item-writes-GMNWL4DI.js +211 -0
  200. package/dist/line-items-KPIKXLG4.js +107 -0
  201. package/dist/link-X7IYKR5V.js +67 -0
  202. package/dist/linkedin-RONIUYLJ.js +1330 -0
  203. package/dist/linkedin-RONIUYLJ.js.map +1 -0
  204. package/dist/linkedin-person-47XFTBIN.js +139 -0
  205. package/dist/list-PHNA7QIF.js +154 -0
  206. package/dist/list-QF3BANBM.js +306 -0
  207. package/dist/list-SB3SUTH6.js +67 -0
  208. package/dist/log-JFLSSUJ6.js +95 -0
  209. package/dist/make-ZIJQZD5K.js +1367 -0
  210. package/dist/map-NYJT2MGI.js +436 -0
  211. package/dist/mcp-ABQEICYR.js +729 -0
  212. package/dist/media-AT3VV3PU.js +18 -0
  213. package/dist/media-sources-L4BI7HFL.js +35 -0
  214. package/dist/members-BX37KHKO.js +47 -0
  215. package/dist/meta-2GJZPVKM.js +122 -0
  216. package/dist/normalize-M3VMWF4W.js +806 -0
  217. package/dist/normalize-MA2FBBIV.js +144 -0
  218. package/dist/options-NMWWF2HN.js +125 -0
  219. package/dist/organization-GRAA6ZXU.js +949 -0
  220. package/dist/page-photos-ABK4CJME.js +118 -0
  221. package/dist/performance-MQLRSH44.js +5565 -0
  222. package/dist/performance-RUBIGEAQ.js +27 -0
  223. package/dist/promoted-tweet-writes-3P6QFGLN.js +183 -0
  224. package/dist/promoted-tweets-TGFPH7UI.js +119 -0
  225. package/dist/publish-OUVO65Z5.js +344 -0
  226. package/dist/reddit-HWQCUSEM.js +29 -0
  227. package/dist/refresh-ENQDQGTK.js +97 -0
  228. package/dist/release-ZTVXLUQS.js +63 -0
  229. package/dist/remove-XAFRT7O7.js +53 -0
  230. package/dist/reopen-SWSZHXJZ.js +66 -0
  231. package/dist/rerun-MA2GB6WL.js +96 -0
  232. package/dist/research-TDH4OBX6.js +265 -0
  233. package/dist/research-WWJUNYSJ.js +75 -0
  234. package/dist/reset-34HTKUBQ.js +57 -0
  235. package/dist/reset-KMMGLM7W.js +57 -0
  236. package/dist/resolve-2CIIKADD.js +124 -0
  237. package/dist/retry-V7KZIZKR.js +63 -0
  238. package/dist/retry-YXM23NSB.js +65 -0
  239. package/dist/revenue-D4L6U2CW.js +91 -0
  240. package/dist/rule-writes-HUBHHYEO.js +530 -0
  241. package/dist/rules-47LFGCPW.js +217 -0
  242. package/dist/rules-F6RNUOXP.js +99 -0
  243. package/dist/rules-add-SAQRESVK.js +465 -0
  244. package/dist/run-FRPO2WNQ.js +69 -0
  245. package/dist/run-HENSSAQW.js +71 -0
  246. package/dist/scaffold-ad-QQBCUYUO.js +1513 -0
  247. package/dist/scaffold-static-ad-WUOAQEXS.js +1011 -0
  248. package/dist/scaffold-video-KFQAKQUO.js +885 -0
  249. package/dist/schedule-S4XAVVEI.js +64 -0
  250. package/dist/scheduled-agents-ZWAP6QLC.js +55 -0
  251. package/dist/schema-EJ2XPUN6.js +135 -0
  252. package/dist/search-2BAY3KKX.js +177 -0
  253. package/dist/select-K2SXPDDJ.js +110 -0
  254. package/dist/set-prompt-BZFOV3EB.js +199 -0
  255. package/dist/setup-links-QT63UZBR.js +144 -0
  256. package/dist/shopify-Q7TQIQ6N.js +4009 -0
  257. package/dist/shopify-Q7TQIQ6N.js.map +1 -0
  258. package/dist/site-S6QVMP7W.js +180 -0
  259. package/dist/sources-DTQ4NQAM.js +30 -0
  260. package/dist/sources-ORG5KQSW.js +457 -0
  261. package/dist/stale-5O7BQVTN.js +90 -0
  262. package/dist/status-4G2YUCZR.js +65 -0
  263. package/dist/stock-5SQ2PGEC.js +211 -0
  264. package/dist/stock-5SQ2PGEC.js.map +1 -0
  265. package/dist/studies-QLSKON6M.js +250 -0
  266. package/dist/studio-IDXFTGHP.js +49 -0
  267. package/dist/study-writes-GBUUKX4O.js +471 -0
  268. package/dist/sync-7LJZPHM3.js +57 -0
  269. package/dist/sync-definition-Q3XUSEZJ.js +70 -0
  270. package/dist/tag-manager-5WZPX2FJ.js +43 -0
  271. package/dist/tags-2ARVNEYS.js +23 -0
  272. package/dist/tags-F4IT7RQR.js +23 -0
  273. package/dist/tags-F7ZO52EM.js +23 -0
  274. package/dist/tags-NBGGBHXR.js +227 -0
  275. package/dist/tags-TCSGQYDR.js +26 -0
  276. package/dist/targeting-DAUTJDUB.js +762 -0
  277. package/dist/targeting-criteria-H42LRULY.js +113 -0
  278. package/dist/targets-WB4E5XL2.js +106 -0
  279. package/dist/testimonials-KLF3Y4QO.js +32 -0
  280. package/dist/themes-BGBDYQQK.js +95 -0
  281. package/dist/top-companies-C2W5TJ7G.js +111 -0
  282. package/dist/transcript-S7VR2GJE.js +165 -0
  283. package/dist/translate-CBITGC7C.js +603 -0
  284. package/dist/triggers-EOKMR74O.js +144 -0
  285. package/dist/unlink-PC3TMWUT.js +70 -0
  286. package/dist/unstage-SU2ATDSZ.js +88 -0
  287. package/dist/update-DKX3EEES.js +155 -0
  288. package/dist/update-JYZ45YJG.js +66 -0
  289. package/dist/update-TAZSUOAS.js +192 -0
  290. package/dist/update-WRJUH2NM.js +101 -0
  291. package/dist/upload-BLXTMK5Q.js +130 -0
  292. package/dist/url-params-YVOFU6MK.js +101 -0
  293. package/dist/validate-SAQEORZY.js +125 -0
  294. package/dist/videos-GOIDZVVD.js +41 -0
  295. package/dist/viewer-check-KTRRUVZN.js +83 -0
  296. package/dist/web-6KUM7Q7S.js +173 -0
  297. package/dist/winning-ads-LOMI72Q2.js +86 -0
  298. package/dist/write-commands-3U5ZMIHH.js +1524 -0
  299. package/dist/write-commands-F5XPPLOO.js +1169 -0
  300. package/dist/x-APVY4YHX.js +47 -0
  301. package/package.json +1 -1
  302. package/dist/account-XIC5TTV3.js +0 -82
  303. package/dist/account-assets-V7KSSTVP.js +0 -290
  304. package/dist/account-level-2KLG6HTG.js +0 -611
  305. package/dist/account-reads-ZPZUCB3P.js +0 -219
  306. package/dist/account-users-XTUKRDWK.js +0 -64
  307. package/dist/accounts-25JL77F7.js +0 -701
  308. package/dist/accounts-AF72N4NV.js +0 -80
  309. package/dist/actions-IJO4JW7J.js +0 -55
  310. package/dist/activecampaign-PBTUMTO5.js +0 -938
  311. package/dist/add-KHQXXHC5.js +0 -107
  312. package/dist/add-YQPFRDVM.js +0 -305
  313. package/dist/ads-EVQ37EV3.js +0 -120
  314. package/dist/ads-O5PUYU7H.js +0 -48
  315. package/dist/adsets-4IW5TRAK.js +0 -182
  316. package/dist/advertisers-JNOWSZZC.js +0 -123
  317. package/dist/analytics-CZMCM7XC.js +0 -2437
  318. package/dist/analytics-K5FCQLI5.js +0 -447
  319. package/dist/animate-C6BRMRRD.js +0 -480
  320. package/dist/asset-writes-RF6XTWLY.js +0 -50
  321. package/dist/assign-WXZNXVJH.js +0 -80
  322. package/dist/audience-size-ZCWH4CFC.js +0 -76
  323. package/dist/audience-writes-5KT6FHUY.js +0 -327
  324. package/dist/audiences-ZDOK3OYC.js +0 -106
  325. package/dist/audit-RBRXPPKK.js +0 -154
  326. package/dist/autocomplete-P5OU7QVL.js +0 -114
  327. package/dist/avatars-UHBA2BQ3.js +0 -38
  328. package/dist/bid-pricing-LHNYSDG4.js +0 -103
  329. package/dist/brand-7WL3O74X.js +0 -22
  330. package/dist/brief-HWZU75WP.js +0 -543
  331. package/dist/campaign-groups-BYS3GNEP.js +0 -99
  332. package/dist/campaign-writes-N6OHAK6V.js +0 -168
  333. package/dist/campaigns-2E4AQBFB.js +0 -113
  334. package/dist/campaigns-3U5IRXSV.js +0 -130
  335. package/dist/campaigns-QLKGN4FB.js +0 -111
  336. package/dist/canvas-GGHJ26ZM.js +0 -46
  337. package/dist/capabilities-TKEEHR7K.js +0 -147
  338. package/dist/catalog-7KQN43HS.js +0 -66
  339. package/dist/catalogs-5CHPI4H6.js +0 -782
  340. package/dist/chatgpt-RQQWU7AP.js +0 -47
  341. package/dist/chats-PBXYH2LT.js +0 -449
  342. package/dist/check-SVYI72DF.js +0 -107
  343. package/dist/chunk-2RL2T5JO.js +0 -142
  344. package/dist/chunk-3HLQZTQ3.js +0 -685
  345. package/dist/chunk-42JTSTQ3.js +0 -207
  346. package/dist/chunk-4AEAL63J.js +0 -203
  347. package/dist/chunk-4PM32OS3.js +0 -57
  348. package/dist/chunk-4ULGRGBG.js +0 -333
  349. package/dist/chunk-4ULGRGBG.js.map +0 -1
  350. package/dist/chunk-4XMPL3RU.js +0 -19
  351. package/dist/chunk-5AOTCCTT.js +0 -831
  352. package/dist/chunk-5NLUTJCQ.js +0 -5368
  353. package/dist/chunk-6FWVRXDW.js +0 -64
  354. package/dist/chunk-6MXM6DA6.js +0 -225
  355. package/dist/chunk-73MLPGI2.js +0 -66
  356. package/dist/chunk-7OVPQX4X.js +0 -163
  357. package/dist/chunk-B5UVOCYA.js +0 -344
  358. package/dist/chunk-BRNZMKO4.js +0 -604
  359. package/dist/chunk-CJFCQMUY.js +0 -438
  360. package/dist/chunk-D6VQPBVM.js +0 -5471
  361. package/dist/chunk-DK66PUXL.js +0 -275
  362. package/dist/chunk-DNH2ZPZP.js +0 -287
  363. package/dist/chunk-DWSSQBLO.js +0 -103
  364. package/dist/chunk-ESXUIV6V.js +0 -169
  365. package/dist/chunk-FSEFZZ2T.js +0 -930
  366. package/dist/chunk-I4BQTVMY.js +0 -225
  367. package/dist/chunk-IBBGABK2.js +0 -91
  368. package/dist/chunk-IC4MREQH.js +0 -219
  369. package/dist/chunk-IJ6NQKAT.js +0 -61
  370. package/dist/chunk-IZROFBH7.js +0 -167
  371. package/dist/chunk-J5UTL4HE.js +0 -3510
  372. package/dist/chunk-JBMZVC5D.js +0 -91
  373. package/dist/chunk-LFELUKCA.js +0 -249
  374. package/dist/chunk-LMOZWB4G.js +0 -98
  375. package/dist/chunk-LVLTWPRR.js +0 -392
  376. package/dist/chunk-N5AIO23H.js +0 -2209
  377. package/dist/chunk-NE3OMP7R.js +0 -23
  378. package/dist/chunk-NO52OH3Y.js +0 -156
  379. package/dist/chunk-NRIKX35V.js +0 -399
  380. package/dist/chunk-NZYWKZ3Q.js +0 -76
  381. package/dist/chunk-OIORUNKH.js +0 -1902
  382. package/dist/chunk-OKXLOLEV.js +0 -455
  383. package/dist/chunk-P4MXGSSJ.js +0 -178
  384. package/dist/chunk-PYAR343F.js +0 -479
  385. package/dist/chunk-QFVZIQRQ.js +0 -8954
  386. package/dist/chunk-QI5UKQX3.js +0 -297
  387. package/dist/chunk-RCNAKWK7.js +0 -7852
  388. package/dist/chunk-RCNAKWK7.js.map +0 -1
  389. package/dist/chunk-RHNNFCRY.js +0 -494
  390. package/dist/chunk-RJQT7QXX.js +0 -547
  391. package/dist/chunk-RMZLB4AH.js +0 -197
  392. package/dist/chunk-S4NMWYHW.js +0 -51
  393. package/dist/chunk-S6XZIBWV.js +0 -392
  394. package/dist/chunk-SFQFUQDW.js +0 -170
  395. package/dist/chunk-SP3MHBME.js +0 -89
  396. package/dist/chunk-TGT4XHLX.js +0 -131
  397. package/dist/chunk-VX6GTRT3.js +0 -910
  398. package/dist/chunk-WGJ2QEW4.js +0 -334
  399. package/dist/chunk-XB4NKZAQ.js +0 -136
  400. package/dist/chunk-XSBX3LJP.js +0 -430
  401. package/dist/chunk-XXBP73RV.js +0 -148
  402. package/dist/chunk-Y3SK6EMU.js +0 -84
  403. package/dist/chunk-Y4ZBNZBU.js +0 -191
  404. package/dist/chunk-YCAJCVW4.js +0 -224
  405. package/dist/chunk-ZANXEMON.js +0 -1744
  406. package/dist/chunk-ZMTWQDFC.js +0 -709
  407. package/dist/claim-Q76T3MYA.js +0 -200
  408. package/dist/companies-MLWRWQ73.js +0 -198
  409. package/dist/company-X5Z67PMK.js +0 -308
  410. package/dist/complete-3CFP6XVY.js +0 -84
  411. package/dist/connect-QXFAB4RJ.js +0 -45
  412. package/dist/conversation-C6K6IZTH.js +0 -96
  413. package/dist/conversion-upload-command-D7S5HF22.js +0 -439
  414. package/dist/conversions-4ILDIG3K.js +0 -140
  415. package/dist/copy-writes-FYXKHJDB.js +0 -170
  416. package/dist/create-LDQ3YHET.js +0 -62
  417. package/dist/create-TKOG7DNJ.js +0 -210
  418. package/dist/create-WFMJOZLO.js +0 -135
  419. package/dist/create-WQNT345R.js +0 -239
  420. package/dist/creatives-45SJAD3G.js +0 -118
  421. package/dist/creatives-E4CTMZJJ.js +0 -223
  422. package/dist/creatives-Q4OXNCTT.js +0 -58
  423. package/dist/credentials-E2AIMWKX.js +0 -290
  424. package/dist/critique-EWV3O3TD.js +0 -1451
  425. package/dist/critique-JVT6X2T3.js +0 -232
  426. package/dist/crm-NQH5FTK6.js +0 -227
  427. package/dist/crm-YGQKK76D.js +0 -323
  428. package/dist/crop-KV24WHOR.js +0 -113
  429. package/dist/custom-conversions-EJNX4MCK.js +0 -128
  430. package/dist/customers-YFEPJF4G.js +0 -65
  431. package/dist/delete-2UJVTHRE.js +0 -67
  432. package/dist/delete-7QAJSOCO.js +0 -69
  433. package/dist/delete-O4RO2HMR.js +0 -57
  434. package/dist/demographics-YWBHAMZ5.js +0 -141
  435. package/dist/dimensions-YXOXHOXW.js +0 -101
  436. package/dist/discard-YX4XUXG3.js +0 -69
  437. package/dist/domain-5R6CYVFY.js +0 -101
  438. package/dist/download-D2O4RYJ3.js +0 -172
  439. package/dist/download-SYWQXF57.js +0 -299
  440. package/dist/download-SYWQXF57.js.map +0 -1
  441. package/dist/draft-2NKXOBT6.js +0 -106
  442. package/dist/draft-2NKXOBT6.js.map +0 -1
  443. package/dist/draft-3MPADYS4.js +0 -220
  444. package/dist/draft-AAEGEQZZ.js +0 -247
  445. package/dist/draft-AAEGEQZZ.js.map +0 -1
  446. package/dist/draft-CRDQR5I3.js +0 -342
  447. package/dist/draft-CRDQR5I3.js.map +0 -1
  448. package/dist/draft-I63QQ7LY.js +0 -106
  449. package/dist/draft-I63QQ7LY.js.map +0 -1
  450. package/dist/draft-PO5X4UVA.js +0 -313
  451. package/dist/draft-PO5X4UVA.js.map +0 -1
  452. package/dist/draft-QCKJT7XQ.js +0 -288
  453. package/dist/draft-QCKJT7XQ.js.map +0 -1
  454. package/dist/draft-VMLXZQQX.js +0 -408
  455. package/dist/draft-VMLXZQQX.js.map +0 -1
  456. package/dist/experiments-DYNNWQRB.js +0 -236
  457. package/dist/extract-DWDZI35Y.js +0 -121
  458. package/dist/extract-DWDZI35Y.js.map +0 -1
  459. package/dist/facets-Y2IEM37E.js +0 -117
  460. package/dist/feedback-HJRVTU6C.js +0 -115
  461. package/dist/feedback-IVSLM5PN.js +0 -136
  462. package/dist/feedback-record-P7CO3IGE.js +0 -269
  463. package/dist/fetch-V2U5VUQZ.js +0 -204
  464. package/dist/fit-JDG6E46O.js +0 -65
  465. package/dist/flows-DP574PEX.js +0 -250
  466. package/dist/fonts-RMROS3LX.js +0 -39
  467. package/dist/forecast-AAHHVTBK.js +0 -169
  468. package/dist/forecast-BRXNGMGD.js +0 -121
  469. package/dist/funnel-FQX3DOE7.js +0 -397
  470. package/dist/ga4-A3HLGTSI.js +0 -55
  471. package/dist/generate-SYOQE3F7.js +0 -263
  472. package/dist/get-HMTI2IR6.js +0 -82
  473. package/dist/get-VFDNTZ54.js +0 -62
  474. package/dist/google-HWEDJ4YS.js +0 -144
  475. package/dist/google-HWEDJ4YS.js.map +0 -1
  476. package/dist/google-WH3IXXMX.js +0 -3285
  477. package/dist/google-ads-4DLYASRC.js +0 -198
  478. package/dist/history-6B6RXNV3.js +0 -102
  479. package/dist/history-NLZSX4BK.js +0 -153
  480. package/dist/hubspot-LABBRJ44.js +0 -782
  481. package/dist/ideas-A4ELJN23.js +0 -45
  482. package/dist/images-JVNT7KYM.js +0 -92
  483. package/dist/ingest-GQWR3RHR.js +0 -27
  484. package/dist/ingest-JYN2IDKV.js +0 -123
  485. package/dist/inspect-72DY33YD.js +0 -192
  486. package/dist/instant-experiences-6NTBX4SL.js +0 -264
  487. package/dist/keyword-metrics-GP7L2MQE.js +0 -200
  488. package/dist/keywords-for-site-6YWAUOKJ.js +0 -131
  489. package/dist/landing-EKHAZS5P.js +0 -28
  490. package/dist/leads-RN6RYOMU.js +0 -541
  491. package/dist/leads-UCXIIA5K.js +0 -115
  492. package/dist/learn-EJEFERQZ.js +0 -207
  493. package/dist/line-item-writes-IMCE2FDW.js +0 -211
  494. package/dist/line-items-ISUC3WDO.js +0 -107
  495. package/dist/link-6QL4ZVSU.js +0 -67
  496. package/dist/linkedin-ZOBYUBGV.js +0 -1330
  497. package/dist/linkedin-ZOBYUBGV.js.map +0 -1
  498. package/dist/linkedin-person-C24CBKCH.js +0 -139
  499. package/dist/list-2VNI3U7I.js +0 -154
  500. package/dist/list-PZD2QOZL.js +0 -67
  501. package/dist/list-SUXUMXPJ.js +0 -306
  502. package/dist/log-VLI7KQF2.js +0 -95
  503. package/dist/make-365ZJ25L.js +0 -1367
  504. package/dist/map-OEFL45WA.js +0 -436
  505. package/dist/mcp-NCZYQXQL.js +0 -729
  506. package/dist/media-WASM45QW.js +0 -18
  507. package/dist/media-sources-CZDK4W5Q.js +0 -35
  508. package/dist/members-N3PQSVQC.js +0 -47
  509. package/dist/meta-IRXPQRBH.js +0 -122
  510. package/dist/normalize-4OKUF5BJ.js +0 -806
  511. package/dist/normalize-6DEJPTBF.js +0 -144
  512. package/dist/options-OJX77MYT.js +0 -125
  513. package/dist/organization-URQGKFEC.js +0 -949
  514. package/dist/page-photos-N4S7U7FR.js +0 -118
  515. package/dist/performance-P5T4LJRG.js +0 -27
  516. package/dist/performance-SIWBDORI.js +0 -5565
  517. package/dist/promoted-tweet-writes-S2HP5DEI.js +0 -183
  518. package/dist/promoted-tweets-WZT4N5IR.js +0 -119
  519. package/dist/publish-EDYBQHGJ.js +0 -344
  520. package/dist/reddit-DEGGHR4M.js +0 -29
  521. package/dist/refresh-HPNJGI2U.js +0 -97
  522. package/dist/release-H7M37CEO.js +0 -63
  523. package/dist/remove-MV4YS72N.js +0 -53
  524. package/dist/reopen-EFW2SKOY.js +0 -66
  525. package/dist/rerun-OM4N74YK.js +0 -96
  526. package/dist/research-7YDQOKA6.js +0 -265
  527. package/dist/research-MHXKAQW4.js +0 -75
  528. package/dist/reset-HT4AGJPR.js +0 -57
  529. package/dist/reset-XPZQ5F4D.js +0 -57
  530. package/dist/resolve-RTTXEN2B.js +0 -124
  531. package/dist/retry-DVLVWHEK.js +0 -63
  532. package/dist/retry-SBGWOUQO.js +0 -65
  533. package/dist/revenue-KJLJ53XY.js +0 -91
  534. package/dist/rule-writes-DNXELESR.js +0 -530
  535. package/dist/rules-KCSET46P.js +0 -217
  536. package/dist/rules-NVKU732Z.js +0 -99
  537. package/dist/rules-add-KY42EHJE.js +0 -465
  538. package/dist/run-2LQ7XJEO.js +0 -69
  539. package/dist/run-M7YU6KCV.js +0 -71
  540. package/dist/scaffold-ad-6YPZ75YJ.js +0 -1513
  541. package/dist/scaffold-static-ad-UJEWTDU5.js +0 -1011
  542. package/dist/scaffold-video-M4VWSVJ6.js +0 -885
  543. package/dist/schedule-J7HZQ2EL.js +0 -64
  544. package/dist/scheduled-agents-IVUQUKF4.js +0 -55
  545. package/dist/schema-LHBKBUV7.js +0 -135
  546. package/dist/search-3AW52FO6.js +0 -177
  547. package/dist/select-STIWQ36I.js +0 -110
  548. package/dist/set-prompt-TODWV2F4.js +0 -199
  549. package/dist/setup-links-MNBD3UMH.js +0 -144
  550. package/dist/shopify-PVMHMVIC.js +0 -3980
  551. package/dist/shopify-PVMHMVIC.js.map +0 -1
  552. package/dist/site-ZZUKS6MQ.js +0 -180
  553. package/dist/sources-36MJ6T4V.js +0 -30
  554. package/dist/sources-GNLQHTSJ.js +0 -457
  555. package/dist/stale-GJN7UO3D.js +0 -90
  556. package/dist/status-6EGB6ORB.js +0 -65
  557. package/dist/stock-DJ6I3CTO.js +0 -187
  558. package/dist/stock-DJ6I3CTO.js.map +0 -1
  559. package/dist/studies-4XXCEAHH.js +0 -250
  560. package/dist/studio-OARORMDJ.js +0 -49
  561. package/dist/study-writes-J56UIIE3.js +0 -471
  562. package/dist/sync-QHM3LMAX.js +0 -57
  563. package/dist/sync-definition-YXGN6PIQ.js +0 -70
  564. package/dist/tag-manager-XAX5AI42.js +0 -43
  565. package/dist/tags-GHV5R7NI.js +0 -26
  566. package/dist/tags-IDWUV2FY.js +0 -227
  567. package/dist/tags-MBBRBZJH.js +0 -23
  568. package/dist/tags-MQYF2JHQ.js +0 -23
  569. package/dist/tags-ZGXJHATH.js +0 -23
  570. package/dist/targeting-KJ4DI56R.js +0 -762
  571. package/dist/targeting-criteria-GDCXOAUD.js +0 -113
  572. package/dist/targets-MYHOPAYY.js +0 -106
  573. package/dist/testimonials-R6RFGAKP.js +0 -32
  574. package/dist/themes-LHVXXVTX.js +0 -95
  575. package/dist/top-companies-POTV3Y2A.js +0 -111
  576. package/dist/transcript-4RVYKDVZ.js +0 -165
  577. package/dist/translate-UCASCVMN.js +0 -603
  578. package/dist/triggers-XHMMOZJK.js +0 -144
  579. package/dist/unlink-3IW3EORE.js +0 -70
  580. package/dist/unstage-APVF6KHB.js +0 -88
  581. package/dist/update-2VSJH4LQ.js +0 -66
  582. package/dist/update-42QYBUE3.js +0 -101
  583. package/dist/update-ESK6PSME.js +0 -192
  584. package/dist/update-V7SRDGHN.js +0 -155
  585. package/dist/upload-42IR5RIL.js +0 -130
  586. package/dist/url-params-GEESXN57.js +0 -101
  587. package/dist/validate-Z5SSEUES.js +0 -125
  588. package/dist/videos-PJAPZPOT.js +0 -41
  589. package/dist/viewer-check-6M34VY7K.js +0 -83
  590. package/dist/web-PUVVFMV3.js +0 -173
  591. package/dist/winning-ads-ZCP4MIEQ.js +0 -86
  592. package/dist/write-commands-5LEEPKA7.js +0 -1169
  593. package/dist/write-commands-ZS4O4DSV.js +0 -1524
  594. package/dist/x-2IZMW46M.js +0 -47
  595. /package/dist/{account-XIC5TTV3.js.map → account-H5CL6KUY.js.map} +0 -0
  596. /package/dist/{account-assets-V7KSSTVP.js.map → account-assets-QMKT5AT7.js.map} +0 -0
  597. /package/dist/{account-level-2KLG6HTG.js.map → account-level-BELF6JHB.js.map} +0 -0
  598. /package/dist/{account-reads-ZPZUCB3P.js.map → account-reads-T6GTSAXE.js.map} +0 -0
  599. /package/dist/{account-users-XTUKRDWK.js.map → account-users-ZGJCVGX4.js.map} +0 -0
  600. /package/dist/{accounts-25JL77F7.js.map → accounts-EXQNPSYH.js.map} +0 -0
  601. /package/dist/{accounts-AF72N4NV.js.map → accounts-GNVLFZ3X.js.map} +0 -0
  602. /package/dist/{actions-IJO4JW7J.js.map → actions-Q2BMP27K.js.map} +0 -0
  603. /package/dist/{activecampaign-PBTUMTO5.js.map → activecampaign-SJO2YK6M.js.map} +0 -0
  604. /package/dist/{add-YQPFRDVM.js.map → add-Q3FGYX5Q.js.map} +0 -0
  605. /package/dist/{add-KHQXXHC5.js.map → add-YGQBSEVK.js.map} +0 -0
  606. /package/dist/{ads-O5PUYU7H.js.map → ads-7QKQEHKT.js.map} +0 -0
  607. /package/dist/{ads-EVQ37EV3.js.map → ads-H5AEYIY3.js.map} +0 -0
  608. /package/dist/{adsets-4IW5TRAK.js.map → adsets-BUIT7HF2.js.map} +0 -0
  609. /package/dist/{advertisers-JNOWSZZC.js.map → advertisers-ZAHXMIAT.js.map} +0 -0
  610. /package/dist/{analytics-CZMCM7XC.js.map → analytics-B6ER4TQ7.js.map} +0 -0
  611. /package/dist/{analytics-K5FCQLI5.js.map → analytics-QW5ZXDJR.js.map} +0 -0
  612. /package/dist/{animate-C6BRMRRD.js.map → animate-Q43SOWB4.js.map} +0 -0
  613. /package/dist/{asset-writes-RF6XTWLY.js.map → asset-writes-JVFE457M.js.map} +0 -0
  614. /package/dist/{assign-WXZNXVJH.js.map → assign-HJ2NXW4W.js.map} +0 -0
  615. /package/dist/{audience-size-ZCWH4CFC.js.map → audience-size-IM3N6W7C.js.map} +0 -0
  616. /package/dist/{audience-writes-5KT6FHUY.js.map → audience-writes-DWSCHYQF.js.map} +0 -0
  617. /package/dist/{audiences-ZDOK3OYC.js.map → audiences-PYBJU2GV.js.map} +0 -0
  618. /package/dist/{audit-RBRXPPKK.js.map → audit-N3LAQMD4.js.map} +0 -0
  619. /package/dist/{autocomplete-P5OU7QVL.js.map → autocomplete-FBTPT5MA.js.map} +0 -0
  620. /package/dist/{avatars-UHBA2BQ3.js.map → avatars-Y3DALQIU.js.map} +0 -0
  621. /package/dist/{bid-pricing-LHNYSDG4.js.map → bid-pricing-UUAC4GTQ.js.map} +0 -0
  622. /package/dist/{brand-7WL3O74X.js.map → brand-IZYD5SBJ.js.map} +0 -0
  623. /package/dist/{brief-HWZU75WP.js.map → brief-NA3E2W4P.js.map} +0 -0
  624. /package/dist/{campaign-groups-BYS3GNEP.js.map → campaign-groups-3IUOLEK2.js.map} +0 -0
  625. /package/dist/{campaign-writes-N6OHAK6V.js.map → campaign-writes-Y7QNFOE7.js.map} +0 -0
  626. /package/dist/{campaigns-3U5IRXSV.js.map → campaigns-2Z6WXIVA.js.map} +0 -0
  627. /package/dist/{campaigns-QLKGN4FB.js.map → campaigns-B2AUW4TV.js.map} +0 -0
  628. /package/dist/{campaigns-2E4AQBFB.js.map → campaigns-IDEA3LOK.js.map} +0 -0
  629. /package/dist/{canvas-GGHJ26ZM.js.map → canvas-WHFDCHUP.js.map} +0 -0
  630. /package/dist/{capabilities-TKEEHR7K.js.map → capabilities-FVMMLKPY.js.map} +0 -0
  631. /package/dist/{catalog-7KQN43HS.js.map → catalog-URTZYAPU.js.map} +0 -0
  632. /package/dist/{catalogs-5CHPI4H6.js.map → catalogs-OEUNVE4N.js.map} +0 -0
  633. /package/dist/{chatgpt-RQQWU7AP.js.map → chatgpt-YBHXCXWZ.js.map} +0 -0
  634. /package/dist/{chats-PBXYH2LT.js.map → chats-EENMDXWZ.js.map} +0 -0
  635. /package/dist/{check-SVYI72DF.js.map → check-7735BPTR.js.map} +0 -0
  636. /package/dist/{chunk-5AOTCCTT.js.map → chunk-2QGGI7MF.js.map} +0 -0
  637. /package/dist/{chunk-4XMPL3RU.js.map → chunk-3HKZU3Y5.js.map} +0 -0
  638. /package/dist/{chunk-B5UVOCYA.js.map → chunk-3OMFSYQ3.js.map} +0 -0
  639. /package/dist/{chunk-LMOZWB4G.js.map → chunk-65CQYRMK.js.map} +0 -0
  640. /package/dist/{chunk-I4BQTVMY.js.map → chunk-6MZFOMLU.js.map} +0 -0
  641. /package/dist/{chunk-IBBGABK2.js.map → chunk-6PT22YSR.js.map} +0 -0
  642. /package/dist/{chunk-QFVZIQRQ.js.map → chunk-6WVYBY2G.js.map} +0 -0
  643. /package/dist/{chunk-VX6GTRT3.js.map → chunk-757ZFIL4.js.map} +0 -0
  644. /package/dist/{chunk-IJ6NQKAT.js.map → chunk-75HAGIH6.js.map} +0 -0
  645. /package/dist/{chunk-XSBX3LJP.js.map → chunk-7BVRFQN4.js.map} +0 -0
  646. /package/dist/{chunk-7OVPQX4X.js.map → chunk-7TDJCDKT.js.map} +0 -0
  647. /package/dist/{chunk-ZMTWQDFC.js.map → chunk-AL4MRNYI.js.map} +0 -0
  648. /package/dist/{chunk-NO52OH3Y.js.map → chunk-BMNOMOWP.js.map} +0 -0
  649. /package/dist/{chunk-4AEAL63J.js.map → chunk-BS2MC62Y.js.map} +0 -0
  650. /package/dist/{chunk-DWSSQBLO.js.map → chunk-C6PWVZQE.js.map} +0 -0
  651. /package/dist/{chunk-P4MXGSSJ.js.map → chunk-CDTAKCJR.js.map} +0 -0
  652. /package/dist/{chunk-2RL2T5JO.js.map → chunk-CH44XVPE.js.map} +0 -0
  653. /package/dist/{chunk-RHNNFCRY.js.map → chunk-CJWLDKFO.js.map} +0 -0
  654. /package/dist/{chunk-YCAJCVW4.js.map → chunk-DAMC4FKK.js.map} +0 -0
  655. /package/dist/{chunk-D6VQPBVM.js.map → chunk-DWPOAU4Z.js.map} +0 -0
  656. /package/dist/{chunk-6MXM6DA6.js.map → chunk-EENYLJUN.js.map} +0 -0
  657. /package/dist/{chunk-IZROFBH7.js.map → chunk-EJBLF2LI.js.map} +0 -0
  658. /package/dist/{chunk-DNH2ZPZP.js.map → chunk-EJMPKO6V.js.map} +0 -0
  659. /package/dist/{chunk-RMZLB4AH.js.map → chunk-EKXLJRO3.js.map} +0 -0
  660. /package/dist/{chunk-ZANXEMON.js.map → chunk-EL3TDR5S.js.map} +0 -0
  661. /package/dist/{chunk-LFELUKCA.js.map → chunk-GRDZWZKQ.js.map} +0 -0
  662. /package/dist/{chunk-S4NMWYHW.js.map → chunk-GVUBRSD3.js.map} +0 -0
  663. /package/dist/{chunk-LVLTWPRR.js.map → chunk-GYREQDTJ.js.map} +0 -0
  664. /package/dist/{chunk-J5UTL4HE.js.map → chunk-HBRXFQQV.js.map} +0 -0
  665. /package/dist/{chunk-NE3OMP7R.js.map → chunk-HLHR3EK2.js.map} +0 -0
  666. /package/dist/{chunk-RJQT7QXX.js.map → chunk-IMFIRELA.js.map} +0 -0
  667. /package/dist/{chunk-SP3MHBME.js.map → chunk-IOKD77L2.js.map} +0 -0
  668. /package/dist/{chunk-TGT4XHLX.js.map → chunk-KDAINT54.js.map} +0 -0
  669. /package/dist/{chunk-QI5UKQX3.js.map → chunk-KKKZRQFY.js.map} +0 -0
  670. /package/dist/{chunk-N5AIO23H.js.map → chunk-KOEXPN3G.js.map} +0 -0
  671. /package/dist/{chunk-JBMZVC5D.js.map → chunk-KT5JVIPZ.js.map} +0 -0
  672. /package/dist/{chunk-NZYWKZ3Q.js.map → chunk-LC6PVPJX.js.map} +0 -0
  673. /package/dist/{chunk-DK66PUXL.js.map → chunk-LETR3RQE.js.map} +0 -0
  674. /package/dist/{chunk-XB4NKZAQ.js.map → chunk-N3PASNUA.js.map} +0 -0
  675. /package/dist/{chunk-SFQFUQDW.js.map → chunk-NL77JRKE.js.map} +0 -0
  676. /package/dist/{chunk-OIORUNKH.js.map → chunk-OBQ5YUOZ.js.map} +0 -0
  677. /package/dist/{chunk-42JTSTQ3.js.map → chunk-OTFHIGEO.js.map} +0 -0
  678. /package/dist/{chunk-ESXUIV6V.js.map → chunk-PCUWBZM3.js.map} +0 -0
  679. /package/dist/{chunk-OKXLOLEV.js.map → chunk-PNWXTOQ4.js.map} +0 -0
  680. /package/dist/{chunk-PYAR343F.js.map → chunk-PQFTKHDA.js.map} +0 -0
  681. /package/dist/{chunk-XXBP73RV.js.map → chunk-Q5DFEVLE.js.map} +0 -0
  682. /package/dist/{chunk-NRIKX35V.js.map → chunk-QXCGWAC6.js.map} +0 -0
  683. /package/dist/{chunk-CJFCQMUY.js.map → chunk-RKDMYL4A.js.map} +0 -0
  684. /package/dist/{chunk-S6XZIBWV.js.map → chunk-SCBSAIVV.js.map} +0 -0
  685. /package/dist/{chunk-3HLQZTQ3.js.map → chunk-SPBUE7R4.js.map} +0 -0
  686. /package/dist/{chunk-IC4MREQH.js.map → chunk-TWFZIHKK.js.map} +0 -0
  687. /package/dist/{chunk-73MLPGI2.js.map → chunk-U6G6ALXP.js.map} +0 -0
  688. /package/dist/{chunk-WGJ2QEW4.js.map → chunk-UCJAPB5Y.js.map} +0 -0
  689. /package/dist/{chunk-4PM32OS3.js.map → chunk-VFDWUIGR.js.map} +0 -0
  690. /package/dist/{chunk-BRNZMKO4.js.map → chunk-WC3YSN7L.js.map} +0 -0
  691. /package/dist/{chunk-FSEFZZ2T.js.map → chunk-WIOPEK7K.js.map} +0 -0
  692. /package/dist/{chunk-5NLUTJCQ.js.map → chunk-X3GWGFZP.js.map} +0 -0
  693. /package/dist/{chunk-Y4ZBNZBU.js.map → chunk-XYKODRQR.js.map} +0 -0
  694. /package/dist/{chunk-6FWVRXDW.js.map → chunk-XZAVBONI.js.map} +0 -0
  695. /package/dist/{chunk-Y3SK6EMU.js.map → chunk-Y5PNLB24.js.map} +0 -0
  696. /package/dist/{claim-Q76T3MYA.js.map → claim-PGDIRXIC.js.map} +0 -0
  697. /package/dist/{companies-MLWRWQ73.js.map → companies-WTPKGEB3.js.map} +0 -0
  698. /package/dist/{company-X5Z67PMK.js.map → company-6H2H73YP.js.map} +0 -0
  699. /package/dist/{complete-3CFP6XVY.js.map → complete-2QBC3POO.js.map} +0 -0
  700. /package/dist/{connect-QXFAB4RJ.js.map → connect-35YPFAUL.js.map} +0 -0
  701. /package/dist/{conversation-C6K6IZTH.js.map → conversation-YZFNEWDV.js.map} +0 -0
  702. /package/dist/{conversion-upload-command-D7S5HF22.js.map → conversion-upload-command-J2FIO74Y.js.map} +0 -0
  703. /package/dist/{conversions-4ILDIG3K.js.map → conversions-ZFDBD3OU.js.map} +0 -0
  704. /package/dist/{copy-writes-FYXKHJDB.js.map → copy-writes-2B36QJUY.js.map} +0 -0
  705. /package/dist/{create-LDQ3YHET.js.map → create-3H67EUTO.js.map} +0 -0
  706. /package/dist/{create-WQNT345R.js.map → create-ALTOBDP4.js.map} +0 -0
  707. /package/dist/{create-TKOG7DNJ.js.map → create-C3MWUYX2.js.map} +0 -0
  708. /package/dist/{create-WFMJOZLO.js.map → create-WHTT6IXY.js.map} +0 -0
  709. /package/dist/{creatives-45SJAD3G.js.map → creatives-22BYP5VN.js.map} +0 -0
  710. /package/dist/{creatives-Q4OXNCTT.js.map → creatives-LTIV3XPT.js.map} +0 -0
  711. /package/dist/{creatives-E4CTMZJJ.js.map → creatives-Y2WLGDJW.js.map} +0 -0
  712. /package/dist/{credentials-E2AIMWKX.js.map → credentials-J5DMQJWN.js.map} +0 -0
  713. /package/dist/{critique-JVT6X2T3.js.map → critique-RFTS2I46.js.map} +0 -0
  714. /package/dist/{critique-EWV3O3TD.js.map → critique-X6XVPIUG.js.map} +0 -0
  715. /package/dist/{crm-NQH5FTK6.js.map → crm-LWRGJYHW.js.map} +0 -0
  716. /package/dist/{crm-YGQKK76D.js.map → crm-RUNEJY2R.js.map} +0 -0
  717. /package/dist/{crop-KV24WHOR.js.map → crop-4V4P3SKI.js.map} +0 -0
  718. /package/dist/{custom-conversions-EJNX4MCK.js.map → custom-conversions-V7QPZIB4.js.map} +0 -0
  719. /package/dist/{customers-YFEPJF4G.js.map → customers-IDB6NLQ6.js.map} +0 -0
  720. /package/dist/{delete-2UJVTHRE.js.map → delete-2QKVUKKB.js.map} +0 -0
  721. /package/dist/{delete-O4RO2HMR.js.map → delete-B7BKF24X.js.map} +0 -0
  722. /package/dist/{delete-7QAJSOCO.js.map → delete-HBRYUWAA.js.map} +0 -0
  723. /package/dist/{demographics-YWBHAMZ5.js.map → demographics-JHB3NFLU.js.map} +0 -0
  724. /package/dist/{dimensions-YXOXHOXW.js.map → dimensions-KI3OENZD.js.map} +0 -0
  725. /package/dist/{discard-YX4XUXG3.js.map → discard-FEJ6YL22.js.map} +0 -0
  726. /package/dist/{domain-5R6CYVFY.js.map → domain-JYWNXBKS.js.map} +0 -0
  727. /package/dist/{download-D2O4RYJ3.js.map → download-LOBPOIU5.js.map} +0 -0
  728. /package/dist/{draft-3MPADYS4.js.map → draft-I2FLECEX.js.map} +0 -0
  729. /package/dist/{experiments-DYNNWQRB.js.map → experiments-WVTBHD6G.js.map} +0 -0
  730. /package/dist/{facets-Y2IEM37E.js.map → facets-V2ITIUKD.js.map} +0 -0
  731. /package/dist/{feedback-IVSLM5PN.js.map → feedback-PXWPR3NZ.js.map} +0 -0
  732. /package/dist/{feedback-HJRVTU6C.js.map → feedback-QSIPSNAL.js.map} +0 -0
  733. /package/dist/{feedback-record-P7CO3IGE.js.map → feedback-record-DJHJWJAF.js.map} +0 -0
  734. /package/dist/{fetch-V2U5VUQZ.js.map → fetch-QVOOC3FA.js.map} +0 -0
  735. /package/dist/{fit-JDG6E46O.js.map → fit-REGMM46H.js.map} +0 -0
  736. /package/dist/{flows-DP574PEX.js.map → flows-EZV3KCV6.js.map} +0 -0
  737. /package/dist/{fonts-RMROS3LX.js.map → fonts-NUX66HEI.js.map} +0 -0
  738. /package/dist/{forecast-BRXNGMGD.js.map → forecast-W6HKYVX5.js.map} +0 -0
  739. /package/dist/{forecast-AAHHVTBK.js.map → forecast-XDRKCR65.js.map} +0 -0
  740. /package/dist/{funnel-FQX3DOE7.js.map → funnel-3YABA3G2.js.map} +0 -0
  741. /package/dist/{ga4-A3HLGTSI.js.map → ga4-IJ2UUICC.js.map} +0 -0
  742. /package/dist/{generate-SYOQE3F7.js.map → generate-22HT24SA.js.map} +0 -0
  743. /package/dist/{get-HMTI2IR6.js.map → get-GQQLBE5C.js.map} +0 -0
  744. /package/dist/{get-VFDNTZ54.js.map → get-NL3YZFUJ.js.map} +0 -0
  745. /package/dist/{google-WH3IXXMX.js.map → google-UJ4YJGTJ.js.map} +0 -0
  746. /package/dist/{google-ads-4DLYASRC.js.map → google-ads-RRKKSKDD.js.map} +0 -0
  747. /package/dist/{history-6B6RXNV3.js.map → history-2UANIBRN.js.map} +0 -0
  748. /package/dist/{history-NLZSX4BK.js.map → history-YZ727ZRG.js.map} +0 -0
  749. /package/dist/{hubspot-LABBRJ44.js.map → hubspot-KWLXJ6QD.js.map} +0 -0
  750. /package/dist/{ideas-A4ELJN23.js.map → ideas-ZO533P5Y.js.map} +0 -0
  751. /package/dist/{images-JVNT7KYM.js.map → images-VUWUKGD6.js.map} +0 -0
  752. /package/dist/{ingest-GQWR3RHR.js.map → ingest-C2HJ5LUY.js.map} +0 -0
  753. /package/dist/{ingest-JYN2IDKV.js.map → ingest-H53JR4GK.js.map} +0 -0
  754. /package/dist/{inspect-72DY33YD.js.map → inspect-BM6GJHQV.js.map} +0 -0
  755. /package/dist/{instant-experiences-6NTBX4SL.js.map → instant-experiences-U6U3FYIH.js.map} +0 -0
  756. /package/dist/{keyword-metrics-GP7L2MQE.js.map → keyword-metrics-R2QCEDYW.js.map} +0 -0
  757. /package/dist/{keywords-for-site-6YWAUOKJ.js.map → keywords-for-site-NBV72C3W.js.map} +0 -0
  758. /package/dist/{landing-EKHAZS5P.js.map → landing-L3WDTW4D.js.map} +0 -0
  759. /package/dist/{leads-UCXIIA5K.js.map → leads-6PF7ZWCH.js.map} +0 -0
  760. /package/dist/{leads-RN6RYOMU.js.map → leads-IG3IIHXG.js.map} +0 -0
  761. /package/dist/{learn-EJEFERQZ.js.map → learn-V2LIBEEY.js.map} +0 -0
  762. /package/dist/{line-item-writes-IMCE2FDW.js.map → line-item-writes-GMNWL4DI.js.map} +0 -0
  763. /package/dist/{line-items-ISUC3WDO.js.map → line-items-KPIKXLG4.js.map} +0 -0
  764. /package/dist/{link-6QL4ZVSU.js.map → link-X7IYKR5V.js.map} +0 -0
  765. /package/dist/{linkedin-person-C24CBKCH.js.map → linkedin-person-47XFTBIN.js.map} +0 -0
  766. /package/dist/{list-2VNI3U7I.js.map → list-PHNA7QIF.js.map} +0 -0
  767. /package/dist/{list-SUXUMXPJ.js.map → list-QF3BANBM.js.map} +0 -0
  768. /package/dist/{list-PZD2QOZL.js.map → list-SB3SUTH6.js.map} +0 -0
  769. /package/dist/{log-VLI7KQF2.js.map → log-JFLSSUJ6.js.map} +0 -0
  770. /package/dist/{make-365ZJ25L.js.map → make-ZIJQZD5K.js.map} +0 -0
  771. /package/dist/{map-OEFL45WA.js.map → map-NYJT2MGI.js.map} +0 -0
  772. /package/dist/{mcp-NCZYQXQL.js.map → mcp-ABQEICYR.js.map} +0 -0
  773. /package/dist/{media-WASM45QW.js.map → media-AT3VV3PU.js.map} +0 -0
  774. /package/dist/{media-sources-CZDK4W5Q.js.map → media-sources-L4BI7HFL.js.map} +0 -0
  775. /package/dist/{members-N3PQSVQC.js.map → members-BX37KHKO.js.map} +0 -0
  776. /package/dist/{meta-IRXPQRBH.js.map → meta-2GJZPVKM.js.map} +0 -0
  777. /package/dist/{normalize-4OKUF5BJ.js.map → normalize-M3VMWF4W.js.map} +0 -0
  778. /package/dist/{normalize-6DEJPTBF.js.map → normalize-MA2FBBIV.js.map} +0 -0
  779. /package/dist/{options-OJX77MYT.js.map → options-NMWWF2HN.js.map} +0 -0
  780. /package/dist/{organization-URQGKFEC.js.map → organization-GRAA6ZXU.js.map} +0 -0
  781. /package/dist/{page-photos-N4S7U7FR.js.map → page-photos-ABK4CJME.js.map} +0 -0
  782. /package/dist/{performance-SIWBDORI.js.map → performance-MQLRSH44.js.map} +0 -0
  783. /package/dist/{performance-P5T4LJRG.js.map → performance-RUBIGEAQ.js.map} +0 -0
  784. /package/dist/{promoted-tweet-writes-S2HP5DEI.js.map → promoted-tweet-writes-3P6QFGLN.js.map} +0 -0
  785. /package/dist/{promoted-tweets-WZT4N5IR.js.map → promoted-tweets-TGFPH7UI.js.map} +0 -0
  786. /package/dist/{publish-EDYBQHGJ.js.map → publish-OUVO65Z5.js.map} +0 -0
  787. /package/dist/{reddit-DEGGHR4M.js.map → reddit-HWQCUSEM.js.map} +0 -0
  788. /package/dist/{refresh-HPNJGI2U.js.map → refresh-ENQDQGTK.js.map} +0 -0
  789. /package/dist/{release-H7M37CEO.js.map → release-ZTVXLUQS.js.map} +0 -0
  790. /package/dist/{remove-MV4YS72N.js.map → remove-XAFRT7O7.js.map} +0 -0
  791. /package/dist/{reopen-EFW2SKOY.js.map → reopen-SWSZHXJZ.js.map} +0 -0
  792. /package/dist/{rerun-OM4N74YK.js.map → rerun-MA2GB6WL.js.map} +0 -0
  793. /package/dist/{research-7YDQOKA6.js.map → research-TDH4OBX6.js.map} +0 -0
  794. /package/dist/{research-MHXKAQW4.js.map → research-WWJUNYSJ.js.map} +0 -0
  795. /package/dist/{reset-HT4AGJPR.js.map → reset-34HTKUBQ.js.map} +0 -0
  796. /package/dist/{reset-XPZQ5F4D.js.map → reset-KMMGLM7W.js.map} +0 -0
  797. /package/dist/{resolve-RTTXEN2B.js.map → resolve-2CIIKADD.js.map} +0 -0
  798. /package/dist/{retry-DVLVWHEK.js.map → retry-V7KZIZKR.js.map} +0 -0
  799. /package/dist/{retry-SBGWOUQO.js.map → retry-YXM23NSB.js.map} +0 -0
  800. /package/dist/{revenue-KJLJ53XY.js.map → revenue-D4L6U2CW.js.map} +0 -0
  801. /package/dist/{rule-writes-DNXELESR.js.map → rule-writes-HUBHHYEO.js.map} +0 -0
  802. /package/dist/{rules-KCSET46P.js.map → rules-47LFGCPW.js.map} +0 -0
  803. /package/dist/{rules-NVKU732Z.js.map → rules-F6RNUOXP.js.map} +0 -0
  804. /package/dist/{rules-add-KY42EHJE.js.map → rules-add-SAQRESVK.js.map} +0 -0
  805. /package/dist/{run-2LQ7XJEO.js.map → run-FRPO2WNQ.js.map} +0 -0
  806. /package/dist/{run-M7YU6KCV.js.map → run-HENSSAQW.js.map} +0 -0
  807. /package/dist/{scaffold-ad-6YPZ75YJ.js.map → scaffold-ad-QQBCUYUO.js.map} +0 -0
  808. /package/dist/{scaffold-static-ad-UJEWTDU5.js.map → scaffold-static-ad-WUOAQEXS.js.map} +0 -0
  809. /package/dist/{scaffold-video-M4VWSVJ6.js.map → scaffold-video-KFQAKQUO.js.map} +0 -0
  810. /package/dist/{schedule-J7HZQ2EL.js.map → schedule-S4XAVVEI.js.map} +0 -0
  811. /package/dist/{scheduled-agents-IVUQUKF4.js.map → scheduled-agents-ZWAP6QLC.js.map} +0 -0
  812. /package/dist/{schema-LHBKBUV7.js.map → schema-EJ2XPUN6.js.map} +0 -0
  813. /package/dist/{search-3AW52FO6.js.map → search-2BAY3KKX.js.map} +0 -0
  814. /package/dist/{select-STIWQ36I.js.map → select-K2SXPDDJ.js.map} +0 -0
  815. /package/dist/{set-prompt-TODWV2F4.js.map → set-prompt-BZFOV3EB.js.map} +0 -0
  816. /package/dist/{setup-links-MNBD3UMH.js.map → setup-links-QT63UZBR.js.map} +0 -0
  817. /package/dist/{site-ZZUKS6MQ.js.map → site-S6QVMP7W.js.map} +0 -0
  818. /package/dist/{sources-36MJ6T4V.js.map → sources-DTQ4NQAM.js.map} +0 -0
  819. /package/dist/{sources-GNLQHTSJ.js.map → sources-ORG5KQSW.js.map} +0 -0
  820. /package/dist/{stale-GJN7UO3D.js.map → stale-5O7BQVTN.js.map} +0 -0
  821. /package/dist/{status-6EGB6ORB.js.map → status-4G2YUCZR.js.map} +0 -0
  822. /package/dist/{studies-4XXCEAHH.js.map → studies-QLSKON6M.js.map} +0 -0
  823. /package/dist/{studio-OARORMDJ.js.map → studio-IDXFTGHP.js.map} +0 -0
  824. /package/dist/{study-writes-J56UIIE3.js.map → study-writes-GBUUKX4O.js.map} +0 -0
  825. /package/dist/{sync-QHM3LMAX.js.map → sync-7LJZPHM3.js.map} +0 -0
  826. /package/dist/{sync-definition-YXGN6PIQ.js.map → sync-definition-Q3XUSEZJ.js.map} +0 -0
  827. /package/dist/{tag-manager-XAX5AI42.js.map → tag-manager-5WZPX2FJ.js.map} +0 -0
  828. /package/dist/{tags-MQYF2JHQ.js.map → tags-2ARVNEYS.js.map} +0 -0
  829. /package/dist/{tags-ZGXJHATH.js.map → tags-F4IT7RQR.js.map} +0 -0
  830. /package/dist/{tags-MBBRBZJH.js.map → tags-F7ZO52EM.js.map} +0 -0
  831. /package/dist/{tags-IDWUV2FY.js.map → tags-NBGGBHXR.js.map} +0 -0
  832. /package/dist/{tags-GHV5R7NI.js.map → tags-TCSGQYDR.js.map} +0 -0
  833. /package/dist/{targeting-KJ4DI56R.js.map → targeting-DAUTJDUB.js.map} +0 -0
  834. /package/dist/{targeting-criteria-GDCXOAUD.js.map → targeting-criteria-H42LRULY.js.map} +0 -0
  835. /package/dist/{targets-MYHOPAYY.js.map → targets-WB4E5XL2.js.map} +0 -0
  836. /package/dist/{testimonials-R6RFGAKP.js.map → testimonials-KLF3Y4QO.js.map} +0 -0
  837. /package/dist/{themes-LHVXXVTX.js.map → themes-BGBDYQQK.js.map} +0 -0
  838. /package/dist/{top-companies-POTV3Y2A.js.map → top-companies-C2W5TJ7G.js.map} +0 -0
  839. /package/dist/{transcript-4RVYKDVZ.js.map → transcript-S7VR2GJE.js.map} +0 -0
  840. /package/dist/{translate-UCASCVMN.js.map → translate-CBITGC7C.js.map} +0 -0
  841. /package/dist/{triggers-XHMMOZJK.js.map → triggers-EOKMR74O.js.map} +0 -0
  842. /package/dist/{unlink-3IW3EORE.js.map → unlink-PC3TMWUT.js.map} +0 -0
  843. /package/dist/{unstage-APVF6KHB.js.map → unstage-SU2ATDSZ.js.map} +0 -0
  844. /package/dist/{update-V7SRDGHN.js.map → update-DKX3EEES.js.map} +0 -0
  845. /package/dist/{update-2VSJH4LQ.js.map → update-JYZ45YJG.js.map} +0 -0
  846. /package/dist/{update-ESK6PSME.js.map → update-TAZSUOAS.js.map} +0 -0
  847. /package/dist/{update-42QYBUE3.js.map → update-WRJUH2NM.js.map} +0 -0
  848. /package/dist/{upload-42IR5RIL.js.map → upload-BLXTMK5Q.js.map} +0 -0
  849. /package/dist/{url-params-GEESXN57.js.map → url-params-YVOFU6MK.js.map} +0 -0
  850. /package/dist/{validate-Z5SSEUES.js.map → validate-SAQEORZY.js.map} +0 -0
  851. /package/dist/{videos-PJAPZPOT.js.map → videos-GOIDZVVD.js.map} +0 -0
  852. /package/dist/{viewer-check-6M34VY7K.js.map → viewer-check-KTRRUVZN.js.map} +0 -0
  853. /package/dist/{web-PUVVFMV3.js.map → web-6KUM7Q7S.js.map} +0 -0
  854. /package/dist/{winning-ads-ZCP4MIEQ.js.map → winning-ads-LOMI72Q2.js.map} +0 -0
  855. /package/dist/{write-commands-ZS4O4DSV.js.map → write-commands-3U5ZMIHH.js.map} +0 -0
  856. /package/dist/{write-commands-5LEEPKA7.js.map → write-commands-F5XPPLOO.js.map} +0 -0
  857. /package/dist/{x-2IZMW46M.js.map → x-APVY4YHX.js.map} +0 -0
@@ -0,0 +1,142 @@
1
+ import {
2
+ avatarsOf
3
+ } from "./chunk-IOKD77L2.js";
4
+ import {
5
+ readAvatars
6
+ } from "./chunk-PGAYESXE.js";
7
+ import {
8
+ readCreativeContext,
9
+ workspaceOfCreative
10
+ } from "./chunk-3OMFSYQ3.js";
11
+ import {
12
+ frontmatterOf,
13
+ ruleTells
14
+ } from "./chunk-UKZKLXTE.js";
15
+ import {
16
+ findWorkspaceRoot
17
+ } from "./chunk-N3PASNUA.js";
18
+ import {
19
+ isAdSpec,
20
+ nativeCopy,
21
+ readAdSpec
22
+ } from "./chunk-H3HA22Z3.js";
23
+ import {
24
+ marketFromCompanyDoc
25
+ } from "./chunk-2WZI36D3.js";
26
+
27
+ // src/engine/creative-context/ad-words.ts
28
+ import { readdir, readFile } from "fs/promises";
29
+ import path from "path";
30
+ var json = (file) => readFile(file, "utf8").then((raw) => JSON.parse(raw)).catch(() => null);
31
+ var text = (value) => typeof value === "string" && value.trim() ? value.trim() : void 0;
32
+ function waivedOf(spec) {
33
+ const waive = spec?.waive;
34
+ return Array.isArray(waive) ? waive.flatMap((w) => text(w?.rule) ?? []) : [];
35
+ }
36
+ function sceneWords(scene) {
37
+ const s = scene ?? {};
38
+ const spoken = Array.isArray(s.dialogue) ? s.dialogue.flatMap((d) => text(d?.line) ?? []) : [];
39
+ const shown = Array.isArray(s.overlays) ? s.overlays.flatMap((o) => text(o?.text) ?? []) : [];
40
+ return [...spoken, ...shown];
41
+ }
42
+ async function sceneFiles(creativeDir) {
43
+ const dir = path.join(creativeDir, "scenes");
44
+ const files = (await readdir(dir).catch(() => [])).filter((f) => f.endsWith(".json")).sort();
45
+ return await Promise.all(files.map((f) => json(path.join(dir, f))));
46
+ }
47
+ async function videoLanguage(creativeDir) {
48
+ const definition = frontmatterOf(await readFile(path.join(creativeDir, "_definition.md"), "utf8").catch(() => ""));
49
+ const beats = await json(path.join(creativeDir, "ad.spec.json"));
50
+ return text(definition?.language) ?? text(beats?.voice?.language);
51
+ }
52
+ async function videoWords(raw, creativeDir) {
53
+ const global = raw.global ?? {};
54
+ const transcript = text(global.transcript);
55
+ const scenes = [...Array.isArray(raw.scenes) ? raw.scenes : [], ...await sceneFiles(creativeDir)];
56
+ const lines = [.../* @__PURE__ */ new Set([...transcript ? [transcript] : [], ...scenes.flatMap(sceneWords)])];
57
+ const language = await videoLanguage(creativeDir);
58
+ return { kind: "video", lines, ...language ? { language } : {} };
59
+ }
60
+ function staticWords(raw) {
61
+ try {
62
+ const spec = readAdSpec(raw);
63
+ const lines = spec.native ? nativeCopy(spec.native) : spec.copy.map((l) => l.text);
64
+ const language = spec.viewer?.market?.language;
65
+ return { kind: "static", lines, ...language ? { language } : {} };
66
+ } catch {
67
+ return null;
68
+ }
69
+ }
70
+ async function readAdWords(creativeDir) {
71
+ const raw = await json(path.join(creativeDir, "prompt.json"));
72
+ if (!raw || typeof raw !== "object") return null;
73
+ const video = !isAdSpec(raw) && ("global" in raw || "scenes" in raw);
74
+ const words = video ? await videoWords(raw, creativeDir) : staticWords(raw);
75
+ if (!words) return null;
76
+ const product = text(raw.product);
77
+ const definition = frontmatterOf(await readFile(path.join(creativeDir, "_definition.md"), "utf8").catch(() => ""));
78
+ const platform = text(definition?.platform);
79
+ const listed = definition?.platforms;
80
+ const platforms = Array.isArray(listed) ? listed.map(text).filter((p) => p !== void 0) : [];
81
+ return {
82
+ ...words,
83
+ ...product ? { product } : {},
84
+ ...platform ? { platform } : {},
85
+ ...platforms.length > 0 ? { platforms } : {},
86
+ waived: waivedOf(raw)
87
+ };
88
+ }
89
+
90
+ // src/commands/canvas/rule-gate.ts
91
+ import { readFile as readFile2 } from "fs/promises";
92
+ import path2 from "path";
93
+ function tellLine(tell) {
94
+ const where = tell.kind === "forbidden" ? `"${tell.line ?? ""}" says "${tell.phrase}"` : `No line says "${tell.phrase}"`;
95
+ const words = tell.quote ? ` Their words: ${tell.quote}` : "";
96
+ return `${where}: ${tell.rule} (${tell.strength}) \u2014 ${tell.text}${words}`;
97
+ }
98
+ function ruleRefusal(tells) {
99
+ if (tells.length === 0) return null;
100
+ return {
101
+ problems: [...new Set(tells.map(tellLine))],
102
+ fix: 'Rewrite each line named above within its rule (a static: its `copy` in prompt.json; a video: its scene files and ad.spec.json), then re-run. Only when the person explicitly asked for these words in this ad, keep them and add to prompt.json `"waive": [{"rule": "<id>", "why": "<their ask>"}]`.'
103
+ };
104
+ }
105
+ var liveRoster = () => readAvatars("/api/avatars", { status: "ready" }).then(avatarsOf, () => null);
106
+ async function heldRules(creativeDir, ad) {
107
+ const words = ad === void 0 ? await readAdWords(creativeDir) : ad;
108
+ const root = findWorkspaceRoot(creativeDir) ?? workspaceOfCreative(creativeDir);
109
+ const context = await readCreativeContext(
110
+ root,
111
+ {
112
+ ...words ? { kind: words.kind } : {},
113
+ ...words?.product ? { product: words.product } : {},
114
+ ...words?.platform ? { platform: words.platform } : {},
115
+ ...words?.platforms ? { platforms: words.platforms } : {}
116
+ },
117
+ { waived: words?.waived ?? [] }
118
+ );
119
+ const language = words?.language ?? marketFromCompanyDoc(await readFile2(path2.join(root, "COMPANY.md"), "utf8").catch(() => null))?.language;
120
+ return { rules: context.rules, ...language ? { language } : {} };
121
+ }
122
+ async function ruleGate(creativeDir, roster = liveRoster) {
123
+ const ad = await readAdWords(creativeDir);
124
+ if (!ad) return { broken: null, realOnly: null };
125
+ const { rules, language } = await heldRules(creativeDir, ad);
126
+ const people = rules.find((r) => r.check?.people === "real" && r.strength !== "prefer");
127
+ return {
128
+ broken: ruleRefusal(ruleTells(ad.lines, rules, language)),
129
+ realOnly: people ? {
130
+ rule: { id: people.id, text: people.text, ...people.source.quote ? { quote: people.source.quote } : {} },
131
+ avatars: await roster().catch(() => null)
132
+ } : null
133
+ };
134
+ }
135
+
136
+ export {
137
+ readAdWords,
138
+ ruleRefusal,
139
+ heldRules,
140
+ ruleGate
141
+ };
142
+ //# sourceMappingURL=chunk-CH44XVPE.js.map
@@ -0,0 +1,494 @@
1
+ import {
2
+ DEFAULT_SUBSETS,
3
+ FONT_PROVIDERS,
4
+ checkFontRequests,
5
+ fontFileName,
6
+ fontsourceCatalogue,
7
+ fontsourceFamilies,
8
+ googleFontRequests,
9
+ missingFontFiles,
10
+ planFontAdoption,
11
+ renderFontFaceCss,
12
+ resolveBrandFaces,
13
+ resolveFetchStyles,
14
+ resolveFetchSubsets,
15
+ resolveFetchWeights,
16
+ selfHostedStyles,
17
+ selfHostedSubsets,
18
+ selfHostedWeights,
19
+ stripFontFaceBlocks,
20
+ suggestFamilies,
21
+ unresolvedBrandFamilies,
22
+ upsertFontFaceCss
23
+ } from "./chunk-PNWXTOQ4.js";
24
+ import {
25
+ registerSchema,
26
+ writeJson
27
+ } from "./chunk-CCYZJMZ7.js";
28
+
29
+ // src/commands/brand/fonts.ts
30
+ import { mkdir, readdir, readFile, writeFile } from "fs/promises";
31
+ import path from "path";
32
+ import { defineCommand } from "citty";
33
+ var GLOBAL_CSS = path.join("src", "styles", "global.css");
34
+ var FONTS_DIR = path.join("src", "brand", "fonts");
35
+ var DEFAULT_SUBSETS_LABEL = DEFAULT_SUBSETS.join(",");
36
+ var BROWSER_UA = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/120.0 Safari/537.36";
37
+ registerSchema({
38
+ command: "brand.fonts.check",
39
+ description: "Start here when a brand's fonts are 'confirmed' but nobody verified it. Fails if any --font-* family in src/styles/global.css has nothing loading it (no @font-face, no Google import) \u2014 the silent fallback that also fails the client's verify \u2014 then asks Google Fonts what it ACTUALLY serves for every family/weight the stylesheet requests.",
40
+ args: {}
41
+ });
42
+ registerSchema({
43
+ command: "brand.fonts.adopt",
44
+ description: "Move brand faces a page already self-hosts into src/styles/global.css, so every page loads them rather than only the page that declared them. Use when `check` reports a family as not loaded but its files are already in src/brand/fonts/. Never downloads: re-fetching would hand that page a different build of the same face.",
45
+ args: {}
46
+ });
47
+ registerSchema({
48
+ command: "brand.fonts.fetch",
49
+ description: "Download a font into src/brand/fonts/ so the brand stops depending on a third party at page load, and write its @font-face into src/styles/global.css above @theme. Resolves against Google Fonts first, then Fontsource \u2014 which carries ~2000 open-licence families Google does not, so a name Google 400s is often still fetchable. Idempotent: re-running replaces that family's faces rather than stacking duplicates.",
50
+ args: {
51
+ family: { type: "string", description: 'Font family, e.g. "DM Sans"', required: true },
52
+ weights: {
53
+ type: "string",
54
+ description: "Comma-separated weights (default: the weights global.css already requests or self-hosts, else 400)",
55
+ required: false
56
+ },
57
+ subsets: {
58
+ type: "string",
59
+ description: `Comma-separated unicode subsets (default: the subsets global.css already self-hosts, else ${DEFAULT_SUBSETS_LABEL})`,
60
+ required: false
61
+ },
62
+ italic: {
63
+ type: "boolean",
64
+ description: "Also self-host the family's italic faces. On automatically when global.css already loads one, so a re-fetch never strands it.",
65
+ required: false
66
+ }
67
+ }
68
+ });
69
+ function fail(code, message, fix) {
70
+ writeJson({ ok: false, error: { code, message, ...fix ? { fix } : {} } });
71
+ process.exit(2);
72
+ }
73
+ var REQUEST_TIMEOUT_MS = 15e3;
74
+ async function fetchJson(url) {
75
+ const res = await fetch(url, {
76
+ headers: { "User-Agent": BROWSER_UA },
77
+ signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS)
78
+ });
79
+ if (res.status === 404) return null;
80
+ if (!res.ok) throw new Error(`Fontsource answered ${res.status}`);
81
+ return await res.json();
82
+ }
83
+ async function lookupGoogleCss(url) {
84
+ try {
85
+ const res = await fetch(url, {
86
+ headers: { "User-Agent": BROWSER_UA },
87
+ signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS)
88
+ });
89
+ if (res.ok) return { status: "served", css: await res.text() };
90
+ return { status: res.status === 400 ? "absent" : "unreachable" };
91
+ } catch {
92
+ return { status: "unreachable" };
93
+ }
94
+ }
95
+ var fetchGoogleCss = async (url) => {
96
+ const got = await lookupGoogleCss(url);
97
+ return got.status === "served" ? got.css : null;
98
+ };
99
+ var WIRING_HINT = {
100
+ written: (family) => `Wrote the @font-face for "${family}" into ${GLOBAL_CSS}, above @theme. Remove "${family}" from the Google @import if one is still there, so the page stops fetching it at load.`,
101
+ // Told apart from "no stylesheet" on purpose: they used to share one hint, so
102
+ // an idempotent re-run instructed the agent to paste a block that was already
103
+ // in the file, and doing as it was told duplicated the face.
104
+ "already-wired": (family) => `${GLOBAL_CSS} already loads exactly these faces for "${family}" \u2014 nothing to change.`,
105
+ "no-stylesheet": () => `No ${GLOBAL_CSS} to write to \u2014 paste the \`fontFace\` block above the @theme block once the stylesheet exists, or the files just downloaded will never load.`
106
+ };
107
+ var PROVIDER_DEPS = { lookupGoogleCss, fetchJson };
108
+ var PROVIDER_LABEL = { google: "Google Fonts", fontsource: "Fontsource" };
109
+ function italicHints(family, wantedStyles, availableStyles, downloadedStyles, provider) {
110
+ const wanted = wantedStyles.includes("italic");
111
+ const available = availableStyles.includes("italic");
112
+ if (wanted && !downloadedStyles.includes("italic")) {
113
+ return [
114
+ `NO ITALIC: ${PROVIDER_LABEL[provider]} does not ship an italic for "${family}", so none was written. Drop italic from src/brand/BRAND.md, or the browser will slant the upright face instead.`
115
+ ];
116
+ }
117
+ if (!wanted && available) {
118
+ return [
119
+ `${PROVIDER_LABEL[provider]} also ships an italic for "${family}", which was NOT downloaded. If the brand uses italic anywhere, re-run with \`--italic\` \u2014 otherwise the browser slants the upright face, which is not the same shapes.`
120
+ ];
121
+ }
122
+ return [];
123
+ }
124
+ function fetchHints({
125
+ family,
126
+ downloadedWeights,
127
+ downloadedStyles,
128
+ incomplete,
129
+ wiring,
130
+ provider,
131
+ wantedStyles,
132
+ availableStyles
133
+ }) {
134
+ return [
135
+ WIRING_HINT[wiring](family),
136
+ ...italicHints(family, wantedStyles, availableStyles, downloadedStyles, provider),
137
+ `Record the exact weights (${downloadedWeights.join(", ")}) in src/brand/tokens.json and BRAND.md \u2014 a weight tokens.json lists but nothing loads renders as a synthesized fallback, and verify warns about it.`,
138
+ ...incomplete.length > 0 ? [
139
+ // The remedy is provider-specific: only a Google family has an @import
140
+ // to fall back on, and telling an agent to keep one for a Fontsource
141
+ // family sends it to write an import Google will 400.
142
+ provider === "google" ? `PARTIAL: ${incomplete.join(", ")} did not download and is NOT in the \`fontFace\` block. Re-run \`baker brand fonts fetch "${family}" --weights ${incomplete.join(",")}\` \u2014 a Google @import cannot cover those weights, because the build drops it before the page loads.` : `PARTIAL: ${incomplete.join(", ")} did not download and is NOT in the \`fontFace\` block. ${PROVIDER_LABEL[provider]} does not serve them, so re-run \`baker brand fonts fetch "${family}" --weights ${downloadedWeights.join(",")}\` and record only those weights in src/brand/BRAND.md.`
143
+ ] : [],
144
+ `Licensing: ${PROVIDER_LABEL[provider]} carries open-licensed families. A client's own typeface is licensed for its landings and ads too \u2014 self-host it without asking about rights.`
145
+ ];
146
+ }
147
+ async function wireFontFaceIntoStylesheet(css, family, fontFace) {
148
+ if (!css) return "no-stylesheet";
149
+ const wired = upsertFontFaceCss(css, family, fontFace);
150
+ if (wired === css) return "already-wired";
151
+ await writeFile(path.resolve(process.cwd(), GLOBAL_CSS), wired);
152
+ return "written";
153
+ }
154
+ function failResolution(family, weights, outcome) {
155
+ if (outcome.reason === "unreachable") {
156
+ return fail(
157
+ "CATALOGUE_UNREACHABLE",
158
+ `Could not reach ${PROVIDER_LABEL[outcome.provider]} to ask about "${family}".`,
159
+ {
160
+ action: "Run the same command again.",
161
+ explanation: `${PROVIDER_LABEL[outcome.provider]} did not answer, which is not the same as not having the family \u2014 so nothing was concluded from it. Guessing either way would self-host the wrong build, or report a real family as missing.`,
162
+ provider: outcome.provider
163
+ }
164
+ );
165
+ }
166
+ if (outcome.reason === "ambiguous-subsets") {
167
+ return fail(
168
+ "SUBSET_AMBIGUOUS",
169
+ `${PROVIDER_LABEL[outcome.provider]} serves "${family}" in several subsets but reports no unicode-range to tell them apart.`,
170
+ {
171
+ action: `Retry with a single --subsets value, e.g. --subsets ${outcome.available[0] ?? "latin"}.`,
172
+ explanation: "Two @font-face rules with the same family, style and weight and no unicode-range both claim every character, so the last one silently wins and the other file is downloaded and never read.",
173
+ available: outcome.available
174
+ }
175
+ );
176
+ }
177
+ if (outcome.reason === "subset") {
178
+ return fail("SUBSET_NOT_SERVED", `${PROVIDER_LABEL[outcome.provider]} has "${family}", but not in that subset.`, {
179
+ action: `Retry with --subsets set to one it serves: ${outcome.available.join(",")}.`,
180
+ explanation: "A family is split into unicode subsets and not every family ships every one. The weights you asked for are fine \u2014 only the subset is wrong.",
181
+ available: outcome.available
182
+ });
183
+ }
184
+ if (outcome.reason === "weight") {
185
+ return fail(
186
+ "FONT_NOT_SERVED",
187
+ `${PROVIDER_LABEL[outcome.provider]} has "${family}", but not at weight ${weights.join("/")}.`,
188
+ {
189
+ action: `Retry with --weights set to one of these: ${outcome.available.join(",")}.`,
190
+ explanation: "The family exists; the weight you asked for is not one it ships.",
191
+ served: outcome.available
192
+ }
193
+ );
194
+ }
195
+ return failUnknownFamily(family);
196
+ }
197
+ async function failUnknownFamily(family) {
198
+ const didYouMean = suggestFamilies(family, await fontsourceCatalogue(PROVIDER_DEPS));
199
+ return fail("FONT_NOT_SERVED", `No font catalogue carries a family called "${family}".`, {
200
+ action: didYouMean.length ? `Did you mean one of these? ${didYouMean.join(", ")}. Retry with the exact name, and update the --font-* token in ${GLOBAL_CSS} to match whichever you pick.` : `Check the exact spelling, then retry. If it is a commercial typeface, add the file to ${FONTS_DIR} and write the @font-face by hand \u2014 it cannot be downloaded.`,
201
+ explanation: `Tried ${FONT_PROVIDERS.join(" then ")}. Family names are case- and space-sensitive in every catalogue.`,
202
+ tried: [...FONT_PROVIDERS],
203
+ ...didYouMean.length ? { didYouMean } : {}
204
+ });
205
+ }
206
+ async function listFontFiles() {
207
+ try {
208
+ const entries = await readdir(path.resolve(process.cwd(), FONTS_DIR), { withFileTypes: true });
209
+ return entries.filter((e) => e.isFile()).map((e) => e.name);
210
+ } catch {
211
+ return [];
212
+ }
213
+ }
214
+ async function readGlobalCss() {
215
+ try {
216
+ return await readFile(path.resolve(process.cwd(), GLOBAL_CSS), "utf8");
217
+ } catch {
218
+ return "";
219
+ }
220
+ }
221
+ async function unresolvedAction(css, unresolved) {
222
+ const { plans } = planFontAdoption(await astroSources(), unresolved);
223
+ if (plans.length > 0) {
224
+ const names = plans.map((p) => `"${p.family}"`).join(", ");
225
+ return `Run \`baker brand fonts adopt\` \u2014 ${names} is already self-hosted by ${plans[0]?.files.join(", ")}, so it only needs moving into ${GLOBAL_CSS} to load on every page. Don't fetch it: that downloads a different build of the same face.`;
226
+ }
227
+ const viaFontsource = [...fontsourceFamilies(css)];
228
+ const stranded = unresolved.filter((family) => viaFontsource.includes(family.toLowerCase()));
229
+ if (stranded.length > 0) {
230
+ return `Run \`baker brand fonts fetch "${stranded[0]}"\` to self-host it. Its only provider is an @fontsource import, and that package does not survive a workspace sync \u2014 the import is left pointing at nothing, which fails the build before the font check even runs.`;
231
+ }
232
+ return `Run \`baker brand fonts fetch "${unresolved[0]}"\` to self-host it, which writes the @font-face for you. For a face no catalogue carries, add an @font-face pointing at a file in ${FONTS_DIR}.`;
233
+ }
234
+ var fontsCheckCommand = defineCommand({
235
+ meta: {
236
+ name: "check",
237
+ description: "Verify the brand's fonts really exist. First: every --font-* family in src/styles/global.css must be provided by a local @font-face, or it renders as a fallback on every page \u2014 a Google @import does not provide one here, the build drops it before the page loads. Then, for families still requested from Google, ask Google what it actually serves \u2014 a weight nobody serves is silently synthesized."
238
+ },
239
+ async run() {
240
+ const css = await readGlobalCss();
241
+ const requests = googleFontRequests(css);
242
+ const unresolved = unresolvedBrandFamilies(css);
243
+ if (unresolved.length > 0) {
244
+ fail("FONT_NOT_LOADED", `Nothing loads ${unresolved.map((f) => `"${f}"`).join(", ")} in ${GLOBAL_CSS}.`, {
245
+ action: await unresolvedAction(css, unresolved),
246
+ explanation: "The family is declared as a brand font but no @font-face provides it, so every page silently renders a fallback. A Google @import does not count: Astro merges component CSS ahead of global.css into one inlined <style>, so the import lands after rules and the browser drops it \u2014 measured on a live client site. The client's verify fails on this too.",
247
+ unresolved
248
+ });
249
+ }
250
+ if (requests.length === 0) {
251
+ writeJson({
252
+ ok: true,
253
+ data: { families: [], selfHosted: true },
254
+ hints: [
255
+ `No Google Fonts requested in ${GLOBAL_CSS}, and every brand face is provided by an @font-face \u2014 nothing to verify against Google.`
256
+ ]
257
+ });
258
+ return;
259
+ }
260
+ const families = await checkFontRequests(requests, fetchGoogleCss);
261
+ const broken = families.filter((f) => f.missing.length > 0);
262
+ if (broken.length > 0) {
263
+ const summary = broken.map(
264
+ (f) => f.cause === "unknown-family" ? `${f.family} (no such family on Google Fonts \u2014 check the exact spelling)` : `${f.family} ${f.missing.join("/")} (served: ${f.served.join("/") || "none"})`
265
+ ).join("; ");
266
+ fail("FONT_NOT_SERVED", `Google Fonts does not serve: ${summary}`, {
267
+ action: `Correct the family name or weight in ${GLOBAL_CSS} and src/brand/BRAND.md, picking from the \`served\` weights below.`,
268
+ explanation: "A requested weight Google does not serve is silently synthesized by the browser, so the page looks subtly wrong with nothing failing.",
269
+ // The per-family breakdown is the point of the command, so it ships on
270
+ // the failure path too — otherwise the only remedy is re-running the
271
+ // command that just failed. Healthy families are included so a
272
+ // multi-family brand shows what NOT to touch.
273
+ families
274
+ });
275
+ }
276
+ writeJson({
277
+ ok: true,
278
+ data: { families },
279
+ hints: [
280
+ "Every requested family and weight is really served by Google.",
281
+ `To stop depending on Google at page load, run \`baker brand fonts fetch "<family>"\` to self-host into ${FONTS_DIR}.`
282
+ ]
283
+ });
284
+ }
285
+ });
286
+ var fontsFetchCommand = defineCommand({
287
+ meta: {
288
+ name: "fetch",
289
+ description: "Download a font from Google Fonts or Fontsource into src/brand/fonts/ and write its @font-face into src/styles/global.css above @theme, so the family actually loads. Use when a brand font should be self-hosted rather than requested from a third party on every page load."
290
+ },
291
+ args: {
292
+ family: { type: "positional", required: true, description: 'Font family, e.g. "DM Sans"' },
293
+ weights: {
294
+ type: "string",
295
+ description: "Comma-separated weights (default: the weights global.css already requests or self-hosts, else 400)"
296
+ },
297
+ subsets: {
298
+ type: "string",
299
+ description: `Comma-separated unicode subsets (default: the subsets global.css already self-hosts, else ${DEFAULT_SUBSETS_LABEL})`
300
+ },
301
+ italic: {
302
+ type: "boolean",
303
+ description: "Also self-host the family's italic faces (default: on when global.css already loads one, off otherwise)"
304
+ }
305
+ },
306
+ async run({ args }) {
307
+ const family = String(args.family).trim();
308
+ if (!family) fail("INVALID_FAMILY", 'Pass a font family, e.g. `baker brand fonts fetch "DM Sans"`.');
309
+ const css = await readGlobalCss();
310
+ const declared = googleFontRequests(css).find((r) => r.family.toLowerCase() === family.toLowerCase());
311
+ const provided = declared?.weights.length ? declared.weights : selfHostedWeights(css, family);
312
+ const weights = resolveFetchWeights(args.weights, provided);
313
+ if (weights.length === 0) {
314
+ fail("INVALID_WEIGHTS", `"${args.weights}" has no usable weight \u2014 pass whole hundreds, e.g. --weights 400,700.`);
315
+ }
316
+ const wanted = new Set(resolveFetchSubsets(args.subsets, selfHostedSubsets(css, family)));
317
+ const styles = resolveFetchStyles(args.italic, selfHostedStyles(css, family));
318
+ const resolved = await resolveBrandFaces(family, weights, [...wanted], PROVIDER_DEPS, styles);
319
+ if (!resolved.ok) return failResolution(family, weights, resolved);
320
+ const faces = resolved.faces;
321
+ const fontsDir = path.resolve(process.cwd(), FONTS_DIR);
322
+ await mkdir(fontsDir, { recursive: true });
323
+ const downloaded = [];
324
+ for (const face of faces) {
325
+ const res = await fetch(face.url, {
326
+ headers: { "User-Agent": BROWSER_UA },
327
+ signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS)
328
+ });
329
+ if (!res.ok) continue;
330
+ await writeFile(path.join(fontsDir, fontFileName(face)), Buffer.from(await res.arrayBuffer()));
331
+ downloaded.push(face);
332
+ }
333
+ const written = downloaded.map(fontFileName);
334
+ if (written.length === 0) {
335
+ fail("DOWNLOAD_FAILED", `Could not download any file for "${family}".`, {
336
+ action: "Retry; if it keeps failing, keep the Google @import and note it in BRAND.md.",
337
+ explanation: "The font stylesheet resolved but the font files themselves did not download."
338
+ });
339
+ }
340
+ const fontFace = renderFontFaceCss(downloaded);
341
+ const downloadedWeights = [...new Set(downloaded.map((f) => f.weight))].sort((a, b) => a - b);
342
+ const downloadedStyles = [...new Set(downloaded.map((f) => f.style))].sort();
343
+ const incomplete = weights.filter((w) => !downloadedWeights.includes(w));
344
+ const wiring = await wireFontFaceIntoStylesheet(css, family, fontFace);
345
+ writeJson({
346
+ ok: true,
347
+ data: {
348
+ family,
349
+ provider: resolved.provider,
350
+ weights: downloadedWeights,
351
+ styles: downloadedStyles,
352
+ files: written,
353
+ fontFace,
354
+ stylesheet: wiring
355
+ },
356
+ hints: fetchHints({
357
+ family,
358
+ downloadedWeights,
359
+ downloadedStyles,
360
+ incomplete,
361
+ wiring,
362
+ provider: resolved.provider,
363
+ wantedStyles: styles,
364
+ availableStyles: resolved.availableStyles
365
+ })
366
+ });
367
+ }
368
+ });
369
+ async function astroSources() {
370
+ const out = [];
371
+ let entries;
372
+ try {
373
+ entries = await readdir("src", { recursive: true, withFileTypes: true });
374
+ } catch {
375
+ return out;
376
+ }
377
+ for (const entry of entries) {
378
+ if (!entry.isFile() || !entry.name.endsWith(".astro")) continue;
379
+ const file = path.posix.join(entry.parentPath ?? "src", entry.name);
380
+ try {
381
+ out.push({ path: file, source: await readFile(file, "utf8") });
382
+ } catch {
383
+ }
384
+ }
385
+ return out;
386
+ }
387
+ var fontsAdoptCommand = defineCommand({
388
+ meta: {
389
+ name: "adopt",
390
+ description: "Move brand faces a page already self-hosts into src/styles/global.css, so every page loads them instead of just that one. Use when `check` reports a family as not loaded but the font files are already in src/brand/fonts/ \u2014 downloading it again would hand that page a different build of the same face."
391
+ },
392
+ async run() {
393
+ const css = await readGlobalCss();
394
+ if (!css) fail("NO_STYLESHEET", `There is no ${GLOBAL_CSS} to adopt faces into.`);
395
+ const unresolved = unresolvedBrandFamilies(css);
396
+ if (unresolved.length === 0) {
397
+ writeJson({
398
+ ok: true,
399
+ data: { adopted: [], conflicts: [] },
400
+ hints: [`Every --font-* family in ${GLOBAL_CSS} is already loaded by it \u2014 nothing to adopt.`]
401
+ });
402
+ return;
403
+ }
404
+ const { plans, conflicts } = planFontAdoption(await astroSources(), unresolved);
405
+ const available = new Set(await listFontFiles());
406
+ const adopted = [];
407
+ const skipped = [];
408
+ let next = css;
409
+ for (const plan of plans) {
410
+ const missing = missingFontFiles(plan.urls, available);
411
+ if (missing.length > 0) {
412
+ skipped.push({ family: plan.family, reason: `${missing.join(", ")} is not in ${FONTS_DIR}` });
413
+ continue;
414
+ }
415
+ next = upsertFontFaceCss(next, plan.family, plan.blocks.join("\n"));
416
+ adopted.push({
417
+ family: plan.family,
418
+ files: plan.files,
419
+ weights: plan.blocks.map((b) => b.match(/font-weight\s*:\s*([^;]+)/i)?.[1]?.trim() ?? "400")
420
+ });
421
+ }
422
+ if (adopted.length === 0) {
423
+ if (conflicts.length > 0) {
424
+ fail(
425
+ "ADOPTION_CONFLICT",
426
+ `${conflicts.map((c) => `"${c.family}" is declared differently in ${c.files.join(" and ")}`).join("; ")}.`,
427
+ {
428
+ action: "Make the declarations match \u2014 same weights, same files \u2014 then re-run. Pick the one whose page renders correctly.",
429
+ explanation: "One global scope holds one mapping per family, so adopting would silently repaint whichever page lost.",
430
+ conflicts
431
+ }
432
+ );
433
+ }
434
+ if (skipped.length > 0) {
435
+ fail("FONT_FILE_MISSING", `${skipped.map((s) => `${s.family} \u2014 ${s.reason}`).join("; ")}.`, {
436
+ action: `Add the missing file to ${FONTS_DIR}, or fix the src: url() in the page that declares it, then re-run.`,
437
+ explanation: "The page declares the face but points at a file that is not in the repo, so the rule renders as a fallback. Moving it into the stylesheet would spread that fallback to every page.",
438
+ skipped
439
+ });
440
+ }
441
+ fail("NOTHING_TO_ADOPT", `No page declares a face for ${unresolved.map((f) => `"${f}"`).join(", ")}.`, {
442
+ action: `Self-host it instead: \`baker brand fonts fetch "${unresolved[0]}"\`.`,
443
+ explanation: "Adopting only moves faces the repo already ships; it never downloads one."
444
+ });
445
+ }
446
+ await writeFile(path.resolve(process.cwd(), GLOBAL_CSS), next);
447
+ for (const plan of plans.filter((p) => adopted.some((a) => a.family === p.family))) {
448
+ for (const file of plan.files) {
449
+ const source = await readFile(file, "utf8");
450
+ await writeFile(file, stripFontFaceBlocks(source, plan.family));
451
+ }
452
+ }
453
+ writeJson({
454
+ ok: true,
455
+ data: { adopted, conflicts, skipped },
456
+ hints: [
457
+ `Moved ${adopted.map((a) => `"${a.family}" (${a.weights.join("/")})`).join(", ")} into ${GLOBAL_CSS} and removed the page copies, so every page loads them \u2014 not just the one that declared them.`,
458
+ ...conflicts.length > 0 ? [
459
+ `CONFLICT: ${conflicts.map((c) => `"${c.family}" is declared differently in ${c.files.join(" and ")}`).join("; ")}. One global scope can hold only one mapping, so pick which files the family should use and make the declarations match before re-running.`
460
+ ] : [],
461
+ ...skipped.length > 0 ? [`SKIPPED: ${skipped.map((s) => `${s.family} \u2014 ${s.reason}`).join("; ")}.`] : [],
462
+ `Run \`baker brand fonts check\` to confirm nothing is left unresolved.`
463
+ ]
464
+ });
465
+ }
466
+ });
467
+ var fontsCommand = defineCommand({
468
+ meta: {
469
+ name: "fonts",
470
+ description: `Verify and self-host the brand's typefaces.
471
+
472
+ Start here: \`baker brand fonts check\` \u2014 confirms the fonts the brand claims really load.
473
+
474
+ Subcommands:
475
+ baker brand fonts check \u2014 fail if any --font-* family has nothing loading it, then ask Google what it actually serves for the ones global.css requests
476
+ baker brand fonts fetch <family> \u2014 download a family into src/brand/fonts/ and wire its @font-face into src/styles/global.css
477
+ baker brand fonts adopt \u2014 move faces a page already self-hosts into global.css, so every page loads them. Try this BEFORE fetch when the font files are already in src/brand/fonts/`
478
+ },
479
+ subCommands: {
480
+ check: fontsCheckCommand,
481
+ fetch: fontsFetchCommand,
482
+ adopt: fontsAdoptCommand
483
+ }
484
+ });
485
+
486
+ export {
487
+ fetchJson,
488
+ lookupGoogleCss,
489
+ fontsCheckCommand,
490
+ fontsFetchCommand,
491
+ fontsAdoptCommand,
492
+ fontsCommand
493
+ };
494
+ //# sourceMappingURL=chunk-CJWLDKFO.js.map