m0saic 0.0.0 → 0.2.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 (1510) hide show
  1. package/LICENSE +126 -0
  2. package/README.md +162 -2
  3. package/dist/browseE2e.js +1 -0
  4. package/dist/connectionsFromEnv.js +1 -0
  5. package/dist/e2eTemplateVariants.js +1 -0
  6. package/dist/frontDoor.js +1 -0
  7. package/dist/index.js +2 -0
  8. package/dist/inlineDsl.js +1 -0
  9. package/dist/mosaicxRunner.js +1 -0
  10. package/dist/outputPattern.js +1 -0
  11. package/dist/showcaseFeed.js +1 -0
  12. package/dist/templateDoctor.js +1 -0
  13. package/dist/utils/checkFeasibility.js +1 -0
  14. package/dist/utils/collectRenderErrors.js +1 -0
  15. package/dist/utils/enrichImageAlphaFromDoc.js +1 -0
  16. package/dist/utils/ensureFfmpeg.js +1 -0
  17. package/dist/utils/extractLayoutMeta.js +1 -0
  18. package/dist/utils/failureHints.js +1 -0
  19. package/dist/utils/ffmpegProbe.js +1 -0
  20. package/dist/utils/formatM0saicForCli.js +1 -0
  21. package/dist/utils/hashFile.js +1 -0
  22. package/dist/utils/helpGroups.js +1 -0
  23. package/dist/utils/invocation.js +1 -0
  24. package/dist/utils/mosaicSpinner.js +1 -0
  25. package/dist/utils/parseDimensions.js +1 -0
  26. package/dist/utils/pathInfo.js +1 -0
  27. package/dist/utils/readJsonArg.js +1 -0
  28. package/dist/utils/renderOutcome.js +1 -0
  29. package/dist/utils/renderReport.js +1 -0
  30. package/dist/utils/renderSignals.js +1 -0
  31. package/dist/utils/renderWorkspace.js +1 -0
  32. package/dist/utils/setupFfmpeg.js +1 -0
  33. package/dist/utils/telemetry.js +1 -0
  34. package/dist/utils/telemetryFlushWorker.js +1 -0
  35. package/dist/utils/telemetryUpstream.js +1 -0
  36. package/dist/utils/telemetryUsage.js +1 -0
  37. package/dist/utils/toolchainConfig.js +1 -0
  38. package/dist/utils/tutorialDuration.js +1 -0
  39. package/dist/utils/updateCheck.js +1 -0
  40. package/dist/utils/updateCheckWorker.js +1 -0
  41. package/dist/utils/validateSourceCounts.js +1 -0
  42. package/dist/utils/versions.js +1 -0
  43. package/dist/webCustomizeLink.js +1 -0
  44. package/node_modules/@m0saic/community-m/CONTRIBUTING.md +108 -0
  45. package/node_modules/@m0saic/community-m/LICENSE +28 -0
  46. package/node_modules/@m0saic/community-m/README.md +102 -0
  47. package/node_modules/@m0saic/community-m/geometry/m-33-tiles.json +270 -0
  48. package/node_modules/@m0saic/community-m/geometry/m-33.m0c +265 -0
  49. package/node_modules/@m0saic/community-m/index.json +148 -0
  50. package/node_modules/@m0saic/community-m/ms/001/community-m-001.m0p +346 -0
  51. package/node_modules/@m0saic/community-m/ms/001/m.json +12 -0
  52. package/node_modules/@m0saic/community-m/ms/001/root/assets/.gitkeep +0 -0
  53. package/node_modules/@m0saic/community-m/ms/001/root/piece.mosaic +105 -0
  54. package/node_modules/@m0saic/community-m/ms/001/root/portrait.jpg +0 -0
  55. package/node_modules/@m0saic/community-m/ms/001/root/slot.json +18 -0
  56. package/node_modules/@m0saic/community-m/ms/001/root/slot.m0c +296 -0
  57. package/node_modules/@m0saic/community-m/ms/001/root/tile.png +0 -0
  58. package/node_modules/@m0saic/community-m/ms/002/community-m-002.m0p +324 -0
  59. package/node_modules/@m0saic/community-m/ms/002/m.json +7 -0
  60. package/node_modules/@m0saic/community-m/package.json +5 -0
  61. package/node_modules/@m0saic/community-m/release.json +4 -0
  62. package/node_modules/@m0saic/community-m/tools/assemble.mjs +87 -0
  63. package/node_modules/@m0saic/community-m/tools/claim-order.mjs +42 -0
  64. package/node_modules/@m0saic/community-m/tools/lib.mjs +208 -0
  65. package/node_modules/@m0saic/community-m/tools/new-slot.mjs +123 -0
  66. package/node_modules/@m0saic/community-m/tools/validate.mjs +203 -0
  67. package/node_modules/@m0saic/core/LICENSE +7 -0
  68. package/node_modules/@m0saic/core/assets/pill_mask_1024.png +0 -0
  69. package/node_modules/@m0saic/core/assets/rounded_mask_1024.png +0 -0
  70. package/node_modules/@m0saic/core/dist/core/buildChildMosaicSource.js +1 -0
  71. package/node_modules/@m0saic/core/dist/core/buildChunkCommands.js +1 -0
  72. package/node_modules/@m0saic/core/dist/core/buildEncodeCommands.js +1 -0
  73. package/node_modules/@m0saic/core/dist/core/buildLavfiSource.js +1 -0
  74. package/node_modules/@m0saic/core/dist/core/buildMediaSource.js +1 -0
  75. package/node_modules/@m0saic/core/dist/core/buildMosaicNode.js +1 -0
  76. package/node_modules/@m0saic/core/dist/core/buildMosaicPlanFromFile.js +1 -0
  77. package/node_modules/@m0saic/core/dist/core/buildSvgTextSource.js +1 -0
  78. package/node_modules/@m0saic/core/dist/core/buildTextRenderCommand.js +1 -0
  79. package/node_modules/@m0saic/core/dist/core/collectRefTargets.js +1 -0
  80. package/node_modules/@m0saic/core/dist/core/index.js +1 -0
  81. package/node_modules/@m0saic/core/dist/core/maskCacheDir.js +1 -0
  82. package/node_modules/@m0saic/core/dist/core/maskWorkerBridge.js +1 -0
  83. package/node_modules/@m0saic/core/dist/core/playbackPlaySpeed.js +1 -0
  84. package/node_modules/@m0saic/core/dist/core/prepareProps.js +1 -0
  85. package/node_modules/@m0saic/core/dist/core/primaryOutput.js +1 -0
  86. package/node_modules/@m0saic/core/dist/core/rasterizeMaskPng.js +1 -0
  87. package/node_modules/@m0saic/core/dist/core/rasterizeSvgMediaPng.js +1 -0
  88. package/node_modules/@m0saic/core/dist/core/refTargetTap.js +1 -0
  89. package/node_modules/@m0saic/core/dist/core/resolveMasks.js +1 -0
  90. package/node_modules/@m0saic/core/dist/core/resolveMasksSync.js +1 -0
  91. package/node_modules/@m0saic/core/dist/core/resolveStrokeRingsSync.js +1 -0
  92. package/node_modules/@m0saic/core/dist/core/roundedRectMask.js +1 -0
  93. package/node_modules/@m0saic/core/dist/core/strokeRing.js +1 -0
  94. package/node_modules/@m0saic/core/dist/core/svgRaster.js +1 -0
  95. package/node_modules/@m0saic/core/dist/defaults.js +1 -0
  96. package/node_modules/@m0saic/core/dist/ffmpeg/backgroundImageInput.js +1 -0
  97. package/node_modules/@m0saic/core/dist/ffmpeg/bufferGuard.js +1 -0
  98. package/node_modules/@m0saic/core/dist/ffmpeg/ffmpegCommands.js +1 -0
  99. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBackdropBlur.js +1 -0
  100. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBlur.js +1 -0
  101. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBorderRadius.js +1 -0
  102. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyCamera.js +1 -0
  103. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyChromaKey.js +1 -0
  104. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyFade.js +1 -0
  105. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyGrade.js +1 -0
  106. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyMask.js +1 -0
  107. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyNoise.js +1 -0
  108. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyPixelize.js +1 -0
  109. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyRotate.js +1 -0
  110. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyStroke.js +1 -0
  111. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyTileEffects.js +1 -0
  112. package/node_modules/@m0saic/core/dist/ffmpeg/filters/coverCrop.js +1 -0
  113. package/node_modules/@m0saic/core/dist/ffmpeg/filters/index.js +1 -0
  114. package/node_modules/@m0saic/core/dist/ffmpeg/filters/sourceRectCrop.js +1 -0
  115. package/node_modules/@m0saic/core/dist/ffmpeg/gridLowering.js +1 -0
  116. package/node_modules/@m0saic/core/dist/ffmpeg/index.js +1 -0
  117. package/node_modules/@m0saic/core/dist/ffmpeg/splitAvMux.js +1 -0
  118. package/node_modules/@m0saic/core/dist/ffmpeg/threadGuard.js +1 -0
  119. package/node_modules/@m0saic/core/dist/flatten/index.js +1 -0
  120. package/node_modules/@m0saic/core/dist/fs/index.js +1 -0
  121. package/node_modules/@m0saic/core/dist/fs/tempWorkspace.js +1 -0
  122. package/node_modules/@m0saic/core/dist/index.js +1 -0
  123. package/node_modules/@m0saic/core/dist/media/buildAssetManifestFromInputs.js +1 -0
  124. package/node_modules/@m0saic/core/dist/media/buildMediaRegistryFromInput.js +1 -0
  125. package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromInvocationProps.js +1 -0
  126. package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromMosaicRenderableFile.js +1 -0
  127. package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromProps.js +1 -0
  128. package/node_modules/@m0saic/core/dist/media/index.js +1 -0
  129. package/node_modules/@m0saic/core/dist/media/internalMintAsset.js +1 -0
  130. package/node_modules/@m0saic/core/dist/media/remoteUrl.js +1 -0
  131. package/node_modules/@m0saic/core/dist/media/stageUnsafeFilenames.js +1 -0
  132. package/node_modules/@m0saic/core/dist/media/types.js +1 -0
  133. package/node_modules/@m0saic/core/dist/output/index.js +1 -0
  134. package/node_modules/@m0saic/core/dist/output/resolveOutputFormat.js +1 -0
  135. package/node_modules/@m0saic/core/dist/output/types.js +1 -0
  136. package/node_modules/@m0saic/core/dist/probe/cellLuminanceProbe.js +1 -0
  137. package/node_modules/@m0saic/core/dist/probe/extractSubtitleCues.js +1 -0
  138. package/node_modules/@m0saic/core/dist/probe/helpers.js +1 -0
  139. package/node_modules/@m0saic/core/dist/probe/index.js +1 -0
  140. package/node_modules/@m0saic/core/dist/probe/luminanceProbe.js +1 -0
  141. package/node_modules/@m0saic/core/dist/probe/probeMedia.js +1 -0
  142. package/node_modules/@m0saic/core/dist/probe/runFFprobe.js +1 -0
  143. package/node_modules/@m0saic/core/dist/probe/types.js +1 -0
  144. package/node_modules/@m0saic/core/dist/runtime/engineRedaction.js +1 -0
  145. package/node_modules/@m0saic/core/dist/runtime/ffmpegFailure.js +1 -0
  146. package/node_modules/@m0saic/core/dist/runtime/filterPreflight.js +1 -0
  147. package/node_modules/@m0saic/core/dist/runtime/hashFile.js +1 -0
  148. package/node_modules/@m0saic/core/dist/runtime/index.js +1 -0
  149. package/node_modules/@m0saic/core/dist/runtime/pathInfo.js +1 -0
  150. package/node_modules/@m0saic/core/dist/runtime/perfHeatmap.js +1 -0
  151. package/node_modules/@m0saic/core/dist/runtime/perfReport.js +1 -0
  152. package/node_modules/@m0saic/core/dist/runtime/pipelineM0p.js +1 -0
  153. package/node_modules/@m0saic/core/dist/runtime/renderCostModel.constants.js +1 -0
  154. package/node_modules/@m0saic/core/dist/runtime/renderCostModel.js +1 -0
  155. package/node_modules/@m0saic/core/dist/runtime/renderReport.js +1 -0
  156. package/node_modules/@m0saic/core/dist/runtime/renderSidecars.js +1 -0
  157. package/node_modules/@m0saic/core/dist/runtime/resolveMosaicx.js +1 -0
  158. package/node_modules/@m0saic/core/dist/runtime/runPlan.js +1 -0
  159. package/node_modules/@m0saic/core/dist/runtime/types.js +1 -0
  160. package/node_modules/@m0saic/core/dist/runtime/upstream.js +1 -0
  161. package/node_modules/@m0saic/core/dist/runtime/writeSidecars.js +1 -0
  162. package/node_modules/@m0saic/core/dist/types/chunk.js +1 -0
  163. package/node_modules/@m0saic/core/dist/types/index.js +1 -0
  164. package/node_modules/@m0saic/core/dist/types/mosaic-plan.js +1 -0
  165. package/node_modules/@m0saic/core/dist/utils/assertTiming.js +1 -0
  166. package/node_modules/@m0saic/core/dist/utils/command.js +1 -0
  167. package/node_modules/@m0saic/core/dist/utils/createEngineContext.js +1 -0
  168. package/node_modules/@m0saic/core/dist/utils/createTemplateRenderCache.js +1 -0
  169. package/node_modules/@m0saic/core/dist/utils/ffmpegColor.js +1 -0
  170. package/node_modules/@m0saic/core/dist/utils/formatDuration.js +1 -0
  171. package/node_modules/@m0saic/core/dist/utils/fsSafeId.js +1 -0
  172. package/node_modules/@m0saic/core/dist/utils/index.js +1 -0
  173. package/node_modules/@m0saic/core/dist/utils/lowerRenderableToMosaicDocument.js +1 -0
  174. package/node_modules/@m0saic/core/dist/utils/movSafeCodec.js +1 -0
  175. package/node_modules/@m0saic/core/dist/utils/resolveBoxFrac.js +1 -0
  176. package/node_modules/@m0saic/core/dist/validate/index.js +1 -0
  177. package/node_modules/@m0saic/core/package.json +6 -0
  178. package/node_modules/@m0saic/core/scripts/mask-rasterize-core.js +1 -0
  179. package/node_modules/@m0saic/core/scripts/mask-rasterize-worker.js +1 -0
  180. package/node_modules/@m0saic/core/scripts/mask-worker-thread.js +1 -0
  181. package/node_modules/@m0saic/dictionary/LICENSE +13 -0
  182. package/node_modules/@m0saic/dictionary/dist/browser.js +1 -0
  183. package/node_modules/@m0saic/dictionary/dist/entries/__generated__.js +1 -0
  184. package/node_modules/@m0saic/dictionary/dist/entries/brand/index.js +1 -0
  185. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/index.js +1 -0
  186. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0.json +1 -0
  187. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic.js +1 -0
  188. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic.m0c +265 -0
  189. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic_src.m0 +8 -0
  190. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic_visual.txt +274 -0
  191. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic_visual_areas.txt +272 -0
  192. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic_visual_art.txt +272 -0
  193. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/metadata.json +300 -0
  194. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/preview.png +0 -0
  195. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33_bitmap/index.js +1 -0
  196. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33_bitmap/m0saic.js +2 -0
  197. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33_bitmap/m0saic.m0 +9 -0
  198. package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33_bitmap/metadata.json +54 -0
  199. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/index.js +1 -0
  200. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/m0.json +1 -0
  201. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/m0saic.js +1 -0
  202. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/m0saic.m0c +205 -0
  203. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/m0saic_src.m0 +8 -0
  204. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/metadata.json +247 -0
  205. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/preview.png +0 -0
  206. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/index.js +1 -0
  207. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/m0.json +1 -0
  208. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/m0saic.js +1 -0
  209. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/m0saic.m0c +366 -0
  210. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/m0saic_src.m0 +8 -0
  211. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/metadata.json +406 -0
  212. package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/preview.png +0 -0
  213. package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/index.js +1 -0
  214. package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/m0.json +1 -0
  215. package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/m0saic.js +1 -0
  216. package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/m0saic.m0c +24 -0
  217. package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/m0saic_src.m0 +8 -0
  218. package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/metadata.json +49 -0
  219. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/index.js +1 -0
  220. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/m0saic.js +2 -0
  221. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/m0saic.m0 +7 -0
  222. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/m0saic_pretty.txt +10 -0
  223. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/m0saic_tree.txt +7 -0
  224. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/metadata.json +49 -0
  225. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/wireframe_1080x1080.mp4 +0 -0
  226. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/wireframe_1920x1080.mp4 +0 -0
  227. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/index.js +1 -0
  228. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/m0saic.js +2 -0
  229. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/m0saic.m0 +7 -0
  230. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/m0saic_pretty.txt +14 -0
  231. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/m0saic_tree.txt +10 -0
  232. package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/metadata.json +53 -0
  233. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/index.js +1 -0
  234. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/m0saic.js +2 -0
  235. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/m0saic.m0 +7 -0
  236. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/m0saic_pretty.txt +12 -0
  237. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/m0saic_tree.txt +9 -0
  238. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/metadata.json +49 -0
  239. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/index.js +1 -0
  240. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/m0saic.js +2 -0
  241. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/m0saic.m0 +7 -0
  242. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/m0saic_pretty.txt +17 -0
  243. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/m0saic_tree.txt +13 -0
  244. package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/metadata.json +48 -0
  245. package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/index.js +1 -0
  246. package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/m0saic.js +2 -0
  247. package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/m0saic.m0 +7 -0
  248. package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/m0saic_pretty.txt +26 -0
  249. package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/m0saic_tree.txt +21 -0
  250. package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/metadata.json +48 -0
  251. package/node_modules/@m0saic/dictionary/dist/entries/grids/index.js +1 -0
  252. package/node_modules/@m0saic/dictionary/dist/entries/index.js +1 -0
  253. package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/index.js +1 -0
  254. package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/m0saic.js +2 -0
  255. package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/m0saic.m0 +7 -0
  256. package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/m0saic_pretty.txt +13 -0
  257. package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/m0saic_tree.txt +10 -0
  258. package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/metadata.json +49 -0
  259. package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/index.js +1 -0
  260. package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/m0saic.js +2 -0
  261. package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/m0saic.m0 +7 -0
  262. package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/m0saic_pretty.txt +16 -0
  263. package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/m0saic_tree.txt +11 -0
  264. package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/metadata.json +49 -0
  265. package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/index.js +1 -0
  266. package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/m0saic.js +2 -0
  267. package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/m0saic.m0 +7 -0
  268. package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/m0saic_pretty.txt +20 -0
  269. package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/m0saic_tree.txt +16 -0
  270. package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/metadata.json +50 -0
  271. package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/index.js +1 -0
  272. package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/m0saic.js +2 -0
  273. package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/m0saic.m0 +7 -0
  274. package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/m0saic_pretty.txt +14 -0
  275. package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/m0saic_tree.txt +10 -0
  276. package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/metadata.json +49 -0
  277. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/index.js +1 -0
  278. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/m0saic.js +2 -0
  279. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/m0saic.m0 +7 -0
  280. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/m0saic_pretty.txt +8 -0
  281. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/m0saic_tree.txt +6 -0
  282. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/metadata.json +54 -0
  283. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/wireframe_1080x1080.mp4 +0 -0
  284. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/wireframe_1280x720.mp4 +0 -0
  285. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/wireframe_1920x1080.mp4 +0 -0
  286. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/index.js +1 -0
  287. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/m0saic.js +2 -0
  288. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/m0saic.m0 +7 -0
  289. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/m0saic_pretty.txt +7 -0
  290. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/m0saic_tree.txt +5 -0
  291. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/metadata.json +54 -0
  292. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/wireframe_1080x1080.mp4 +0 -0
  293. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/wireframe_1920x1080.mp4 +0 -0
  294. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/wireframe_2560x1080.mp4 +0 -0
  295. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/index.js +1 -0
  296. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/m0saic.js +2 -0
  297. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/m0saic.m0 +7 -0
  298. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/m0saic_pretty.txt +8 -0
  299. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/m0saic_tree.txt +6 -0
  300. package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/metadata.json +52 -0
  301. package/node_modules/@m0saic/dictionary/dist/entries/layouts/index.js +1 -0
  302. package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/index.js +1 -0
  303. package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/m0saic.js +2 -0
  304. package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/m0saic.m0 +7 -0
  305. package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/m0saic_pretty.txt +10 -0
  306. package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/m0saic_tree.txt +7 -0
  307. package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/metadata.json +48 -0
  308. package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/index.js +1 -0
  309. package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/m0saic.js +2 -0
  310. package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/m0saic.m0 +7 -0
  311. package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/m0saic_pretty.txt +8 -0
  312. package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/m0saic_tree.txt +6 -0
  313. package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/metadata.json +50 -0
  314. package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/index.js +1 -0
  315. package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/m0saic.js +2 -0
  316. package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/m0saic.m0 +7 -0
  317. package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/m0saic_pretty.txt +7 -0
  318. package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/m0saic_tree.txt +5 -0
  319. package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/metadata.json +48 -0
  320. package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/index.js +1 -0
  321. package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/m0saic.js +2 -0
  322. package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/m0saic.m0 +7 -0
  323. package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/m0saic_pretty.txt +15 -0
  324. package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/m0saic_tree.txt +11 -0
  325. package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/metadata.json +49 -0
  326. package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/index.js +1 -0
  327. package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/m0saic.js +2 -0
  328. package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/m0saic.m0 +7 -0
  329. package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/m0saic_pretty.txt +12 -0
  330. package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/m0saic_tree.txt +9 -0
  331. package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/metadata.json +49 -0
  332. package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/index.js +1 -0
  333. package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/m0saic.js +2 -0
  334. package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/m0saic.m0 +7 -0
  335. package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/m0saic_pretty.txt +7 -0
  336. package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/m0saic_tree.txt +5 -0
  337. package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/metadata.json +49 -0
  338. package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/index.js +1 -0
  339. package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/m0saic.js +2 -0
  340. package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/m0saic.m0 +7 -0
  341. package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/m0saic_pretty.txt +14 -0
  342. package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/m0saic_tree.txt +11 -0
  343. package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/metadata.json +50 -0
  344. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/index.js +1 -0
  345. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/m0saic.js +2 -0
  346. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/m0saic.m0 +7 -0
  347. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/m0saic_pretty.txt +5 -0
  348. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/m0saic_tree.txt +4 -0
  349. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/metadata.json +50 -0
  350. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/index.js +1 -0
  351. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/m0saic.js +2 -0
  352. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/m0saic.m0 +7 -0
  353. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/m0saic_pretty.txt +5 -0
  354. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/m0saic_tree.txt +4 -0
  355. package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/metadata.json +51 -0
  356. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/index.js +1 -0
  357. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/m0saic.js +2 -0
  358. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/m0saic.m0 +7 -0
  359. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/m0saic_pretty.txt +5 -0
  360. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/m0saic_tree.txt +4 -0
  361. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/metadata.json +50 -0
  362. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/index.js +1 -0
  363. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/m0saic.js +2 -0
  364. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/m0saic.m0 +7 -0
  365. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/m0saic_pretty.txt +5 -0
  366. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/m0saic_tree.txt +4 -0
  367. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/metadata.json +51 -0
  368. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/index.js +1 -0
  369. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/m0saic.js +2 -0
  370. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/m0saic.m0 +7 -0
  371. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/m0saic_pretty.txt +4 -0
  372. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/m0saic_tree.txt +3 -0
  373. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/metadata.json +49 -0
  374. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/wireframe_1080x1080.mp4 +0 -0
  375. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/wireframe_1920x1080.mp4 +0 -0
  376. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/index.js +1 -0
  377. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/m0saic.js +2 -0
  378. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/m0saic.m0 +7 -0
  379. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/m0saic_pretty.txt +4 -0
  380. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/m0saic_tree.txt +3 -0
  381. package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/metadata.json +49 -0
  382. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/index.js +1 -0
  383. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/m0saic.js +2 -0
  384. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/m0saic.m0 +7 -0
  385. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/m0saic_pretty.txt +5 -0
  386. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/m0saic_tree.txt +4 -0
  387. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/metadata.json +53 -0
  388. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/wireframe_1080x1080.mp4 +0 -0
  389. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/wireframe_1920x1080.mp4 +0 -0
  390. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/wireframe_2560x1080.mp4 +0 -0
  391. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/index.js +1 -0
  392. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/m0saic.js +2 -0
  393. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/m0saic.m0 +7 -0
  394. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/m0saic_pretty.txt +5 -0
  395. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/m0saic_tree.txt +4 -0
  396. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/metadata.json +54 -0
  397. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/wireframe_1080x1080.mp4 +0 -0
  398. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/wireframe_1080x1350.mp4 +0 -0
  399. package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/wireframe_1080x1920.mp4 +0 -0
  400. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/index.js +1 -0
  401. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/m0saic.js +2 -0
  402. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/m0saic.m0 +7 -0
  403. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/m0saic_pretty.txt +6 -0
  404. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/m0saic_tree.txt +5 -0
  405. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/metadata.json +48 -0
  406. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/index.js +1 -0
  407. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/m0saic.js +2 -0
  408. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/m0saic.m0 +7 -0
  409. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/m0saic_pretty.txt +6 -0
  410. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/m0saic_tree.txt +5 -0
  411. package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/metadata.json +53 -0
  412. package/node_modules/@m0saic/dictionary/dist/entries/splits/index.js +1 -0
  413. package/node_modules/@m0saic/dictionary/dist/generators/aspectFit.js +1 -0
  414. package/node_modules/@m0saic/dictionary/dist/generators/aspectSafeGrid.js +1 -0
  415. package/node_modules/@m0saic/dictionary/dist/generators/barcodeGenerator.js +1 -0
  416. package/node_modules/@m0saic/dictionary/dist/generators/bentoGridGenerator.js +1 -0
  417. package/node_modules/@m0saic/dictionary/dist/generators/comparisonGenerator.js +1 -0
  418. package/node_modules/@m0saic/dictionary/dist/generators/goldenLayout.js +1 -0
  419. package/node_modules/@m0saic/dictionary/dist/generators/goldenSpiralGenerator.js +1 -0
  420. package/node_modules/@m0saic/dictionary/dist/generators/grid.js +1 -0
  421. package/node_modules/@m0saic/dictionary/dist/generators/index.js +1 -0
  422. package/node_modules/@m0saic/dictionary/dist/generators/labelTier.js +1 -0
  423. package/node_modules/@m0saic/dictionary/dist/generators/magazine.js +1 -0
  424. package/node_modules/@m0saic/dictionary/dist/generators/magazineGenerator.js +1 -0
  425. package/node_modules/@m0saic/dictionary/dist/generators/placeRect.js +1 -0
  426. package/node_modules/@m0saic/dictionary/dist/generators/qrCodeGenerator.js +1 -0
  427. package/node_modules/@m0saic/dictionary/dist/generators/quantizationFix.js +1 -0
  428. package/node_modules/@m0saic/dictionary/dist/generators/rankedListGenerator.js +1 -0
  429. package/node_modules/@m0saic/dictionary/dist/generators/safeCanvas.js +1 -0
  430. package/node_modules/@m0saic/dictionary/dist/generators/snapGrid.js +1 -0
  431. package/node_modules/@m0saic/dictionary/dist/generators/spotlightGenerator.js +1 -0
  432. package/node_modules/@m0saic/dictionary/dist/generators/types.js +1 -0
  433. package/node_modules/@m0saic/dictionary/dist/index.js +1 -0
  434. package/node_modules/@m0saic/dictionary/dist/loadEntryM0.js +2 -0
  435. package/node_modules/@m0saic/dictionary/dist/operations/descriptors.js +1 -0
  436. package/node_modules/@m0saic/dictionary/dist/operations/index.js +1 -0
  437. package/node_modules/@m0saic/dictionary/dist/operations/types.js +1 -0
  438. package/node_modules/@m0saic/dictionary/dist/registry.js +1 -0
  439. package/node_modules/@m0saic/dictionary/dist/resolve.js +1 -0
  440. package/node_modules/@m0saic/dictionary/dist/sourceOrder.js +1 -0
  441. package/node_modules/@m0saic/dictionary/package.json +6 -0
  442. package/node_modules/@m0saic/dsl/LICENSE +201 -0
  443. package/node_modules/@m0saic/dsl/NOTICE +13 -0
  444. package/node_modules/@m0saic/dsl/README.md +417 -0
  445. package/node_modules/@m0saic/dsl/dist/cjs/complexity/complexity.js +1 -0
  446. package/node_modules/@m0saic/dsl/dist/cjs/complexity/index.js +1 -0
  447. package/node_modules/@m0saic/dsl/dist/cjs/equality/equality.js +1 -0
  448. package/node_modules/@m0saic/dsl/dist/cjs/equality/index.js +1 -0
  449. package/node_modules/@m0saic/dsl/dist/cjs/errors/errors.js +1 -0
  450. package/node_modules/@m0saic/dsl/dist/cjs/errors/index.js +1 -0
  451. package/node_modules/@m0saic/dsl/dist/cjs/feasibility/computeFeasibility.js +1 -0
  452. package/node_modules/@m0saic/dsl/dist/cjs/feasibility/index.js +1 -0
  453. package/node_modules/@m0saic/dsl/dist/cjs/format/index.js +1 -0
  454. package/node_modules/@m0saic/dsl/dist/cjs/format/m0StringCompact.js +1 -0
  455. package/node_modules/@m0saic/dsl/dist/cjs/format/m0StringFormat.js +1 -0
  456. package/node_modules/@m0saic/dsl/dist/cjs/index.js +1 -0
  457. package/node_modules/@m0saic/dsl/dist/cjs/internal/m0LexUtils.js +1 -0
  458. package/node_modules/@m0saic/dsl/dist/cjs/parse/index.js +1 -0
  459. package/node_modules/@m0saic/dsl/dist/cjs/parse/m0StringParser.js +1 -0
  460. package/node_modules/@m0saic/dsl/dist/cjs/parse/sortDeferredOverlays.js +1 -0
  461. package/node_modules/@m0saic/dsl/dist/cjs/types.js +1 -0
  462. package/node_modules/@m0saic/dsl/dist/cjs/validate/index.js +1 -0
  463. package/node_modules/@m0saic/dsl/dist/cjs/validate/m0StringValidator.js +1 -0
  464. package/node_modules/@m0saic/dsl/dist/cjs/warnings/index.js +1 -0
  465. package/node_modules/@m0saic/dsl/dist/cjs/warnings/warnings.js +1 -0
  466. package/node_modules/@m0saic/dsl/package.json +14 -0
  467. package/node_modules/@m0saic/dsl-file-formats/LICENSE +201 -0
  468. package/node_modules/@m0saic/dsl-file-formats/NOTICE +13 -0
  469. package/node_modules/@m0saic/dsl-file-formats/README.md +241 -0
  470. package/node_modules/@m0saic/dsl-file-formats/assets/icons/m0.svg +29 -0
  471. package/node_modules/@m0saic/dsl-file-formats/assets/icons/m0c.svg +29 -0
  472. package/node_modules/@m0saic/dsl-file-formats/assets/icons/m0p.svg +29 -0
  473. package/node_modules/@m0saic/dsl-file-formats/assets/icons/m0v.svg +29 -0
  474. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/conversions.js +1 -0
  475. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/derive.js +1 -0
  476. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/edit/editFileMeta.js +1 -0
  477. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/edit/index.js +1 -0
  478. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/index.js +1 -0
  479. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0/index.js +1 -0
  480. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0/parseM0File.js +1 -0
  481. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0/serializeM0File.js +3 -0
  482. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0Validation.js +1 -0
  483. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0c/index.js +1 -0
  484. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0c/m0cFile.js +5 -0
  485. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0p/index.js +1 -0
  486. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0p/m0pFile.js +2 -0
  487. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0v/index.js +1 -0
  488. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0v/m0vFile.js +2 -0
  489. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/types.js +1 -0
  490. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/index.js +1 -0
  491. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/types.js +1 -0
  492. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/validateFill.js +1 -0
  493. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/validateInsets.js +1 -0
  494. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/validateLabels.js +1 -0
  495. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/validatePack.js +1 -0
  496. package/node_modules/@m0saic/dsl-file-formats/package.json +14 -0
  497. package/node_modules/@m0saic/dsl-stdlib/LICENSE +201 -0
  498. package/node_modules/@m0saic/dsl-stdlib/NOTICE +13 -0
  499. package/node_modules/@m0saic/dsl-stdlib/README.md +388 -0
  500. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/_internal/barSplit.js +1 -0
  501. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/_internal/packLeafRects.js +1 -0
  502. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/aspectFit.js +1 -0
  503. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/aspectSafeGrid.js +1 -0
  504. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/bakeInsets.js +1 -0
  505. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/compactDocument.js +1 -0
  506. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/compactLossless.js +1 -0
  507. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/comparison.js +1 -0
  508. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/container.js +1 -0
  509. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/equalSplit.js +1 -0
  510. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/golden.js +1 -0
  511. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/grid.js +1 -0
  512. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/index.js +1 -0
  513. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/placeInsetRects.js +1 -0
  514. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/placeOptimizedRects.js +1 -0
  515. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/placeRect.js +1 -0
  516. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/placeRects.js +1 -0
  517. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/rankedList.js +1 -0
  518. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/rebuildRects.js +1 -0
  519. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/safeCanvas.js +1 -0
  520. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/scale.js +1 -0
  521. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/snapGrid.js +1 -0
  522. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/snapRectPrecision.js +1 -0
  523. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/spotlight.js +1 -0
  524. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/strip.js +1 -0
  525. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/weightedSplit.js +1 -0
  526. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/weightedTokens.js +1 -0
  527. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/constructors/index.js +1 -0
  528. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/constructors/toM0FileText.js +1 -0
  529. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/constructors/toM0String.js +4 -0
  530. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/index.js +1 -0
  531. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/barcodeChannels.js +1 -0
  532. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/barcodeToBars.js +1 -0
  533. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/barcodeToM0.js +1 -0
  534. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/barcodeToM0c.js +1 -0
  535. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/barcodeToRects.js +1 -0
  536. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/code128.js +1 -0
  537. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/ean13.js +1 -0
  538. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/eanShared.js +1 -0
  539. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/index.js +1 -0
  540. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/types.js +1 -0
  541. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/upca.js +1 -0
  542. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/binaryGridToM0.js +1 -0
  543. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/classifyPixels.js +1 -0
  544. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/despeckleGrid.js +1 -0
  545. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/index.js +1 -0
  546. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/labelAreas.js +1 -0
  547. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/types.js +1 -0
  548. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/visualSidecars.js +13 -0
  549. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/index.js +1 -0
  550. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/mask-shapes/index.js +1 -0
  551. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/encoder.js +1 -0
  552. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/index.js +1 -0
  553. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/mask.js +1 -0
  554. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/matrix.js +1 -0
  555. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/packDarkCells.js +1 -0
  556. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/qrPayloads.js +2 -0
  557. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/qrToM0.js +1 -0
  558. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/qrToM0c.js +1 -0
  559. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/qrToMatrix.js +1 -0
  560. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/qrToRects.js +1 -0
  561. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/reedSolomon.js +1 -0
  562. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/types.js +1 -0
  563. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/version.js +1 -0
  564. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/customRankSet.js +1 -0
  565. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/customStableKeyRankSet.js +1 -0
  566. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/generateRankSet.js +1 -0
  567. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/generateStableKeyRankSet.js +1 -0
  568. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/index.js +1 -0
  569. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/rankFramesFromM0.js +1 -0
  570. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/types.js +1 -0
  571. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/enumerateSvgToM0.js +1 -0
  572. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/extractGeometry.js +1 -0
  573. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/generateMasks.js +1 -0
  574. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/generateMasksByStableKey.js +1 -0
  575. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/index.js +1 -0
  576. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/inferGrid.js +1 -0
  577. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/parseSvg.js +1 -0
  578. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/rectsToM0.js +1 -0
  579. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/svgToM0.js +1 -0
  580. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/types.js +1 -0
  581. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/mirroredTypes.js +1 -0
  582. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/evaluateM0.js +1 -0
  583. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/extractNodeByStableId.js +1 -0
  584. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/findFrames.js +1 -0
  585. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/getLayerCount.js +1 -0
  586. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/hasOverlayAtSpan.js +1 -0
  587. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/index.js +1 -0
  588. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/quantizationSpread.js +1 -0
  589. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/queryFrames.js +1 -0
  590. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/withinBounds.js +1 -0
  591. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/constants.js +1 -0
  592. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/index.js +1 -0
  593. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/lexUtils.js +1 -0
  594. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/output.js +1 -0
  595. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/resolveSpanByStableId.js +1 -0
  596. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/walkByLogicalIndex.js +1 -0
  597. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/compose.js +1 -0
  598. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/measure/_internal/buildMeasureFragment.js +1 -0
  599. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/measure/index.js +1 -0
  600. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/measure/measureSplitByLogicalIndex.js +1 -0
  601. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/measure/measureSplitBySpan.js +1 -0
  602. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/measure/measureSplitByStableId.js +1 -0
  603. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/overlay/addOverlayToAllFrames.js +1 -0
  604. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/overlay/index.js +1 -0
  605. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/swap/index.js +1 -0
  606. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/swap/swapFramesByLogicalIndex.js +1 -0
  607. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/index.js +1 -0
  608. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/pipe.js +1 -0
  609. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/frame/index.js +1 -0
  610. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/frame/setFrameTypeByLogicalIndex.js +1 -0
  611. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/addOverlayByLogicalIndex.js +1 -0
  612. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/addOverlayBySpan.js +1 -0
  613. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/addOverlayByStableId.js +1 -0
  614. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/addOverlayLayer.js +1 -0
  615. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/index.js +1 -0
  616. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/removeOverlayByLogicalIndex.js +1 -0
  617. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/removeOverlayBySpan.js +1 -0
  618. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/removeOverlayByStableId.js +1 -0
  619. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/removePureNullLayers.js +1 -0
  620. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/wrapBelowByLogicalIndex.js +1 -0
  621. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/replace/index.js +1 -0
  622. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/replace/replaceNodeByLogicalIndex.js +1 -0
  623. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/replace/replaceNodeBySpan.js +1 -0
  624. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/replace/replaceNodeByStableId.js +1 -0
  625. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/_internal/buildSplitFragment.js +1 -0
  626. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/index.js +1 -0
  627. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/reduceSplitCounts.js +1 -0
  628. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/splitByLogicalIndex.js +1 -0
  629. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/splitBySpan.js +1 -0
  630. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/splitByStableId.js +1 -0
  631. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/tile/index.js +1 -0
  632. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/tile/setTileTypeBySpan.js +1 -0
  633. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/tile/setTileTypeByStableId.js +1 -0
  634. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/rewriteOverlayChains.js +1 -0
  635. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/types.js +1 -0
  636. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/addOverlay.js +1 -0
  637. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/index.js +1 -0
  638. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/measureSplit.js +1 -0
  639. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/removeOverlay.js +1 -0
  640. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/replace.js +1 -0
  641. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/setTileType.js +1 -0
  642. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/split.js +1 -0
  643. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/swapFrames.js +1 -0
  644. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/withHistory.js +1 -0
  645. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/withInverse.js +1 -0
  646. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/types.js +1 -0
  647. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/abs-svg-path/index.js +1 -0
  648. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/is-svg-path/index.js +1 -0
  649. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/normalize-svg-path/index.js +1 -0
  650. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/parse-svg-path/index.js +1 -0
  651. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/svg-arc-to-cubic-bezier/index.js +1 -0
  652. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/svg-path-bounds/index.js +1 -0
  653. package/node_modules/@m0saic/dsl-stdlib/package.json +14 -0
  654. package/node_modules/@m0saic/momo-types/LICENSE +201 -0
  655. package/node_modules/@m0saic/momo-types/NOTICE +13 -0
  656. package/node_modules/@m0saic/momo-types/dist/agent.js +6 -0
  657. package/node_modules/@m0saic/momo-types/dist/candidate.js +1 -0
  658. package/node_modules/@m0saic/momo-types/dist/category.js +1 -0
  659. package/node_modules/@m0saic/momo-types/dist/context.js +1 -0
  660. package/node_modules/@m0saic/momo-types/dist/index.js +1 -0
  661. package/node_modules/@m0saic/momo-types/dist/party.js +1 -0
  662. package/node_modules/@m0saic/momo-types/dist/region.js +1 -0
  663. package/node_modules/@m0saic/momo-types/dist/scoring.js +1 -0
  664. package/node_modules/@m0saic/momo-types/dist/session-summary.js +1 -0
  665. package/node_modules/@m0saic/momo-types/dist/session.js +1 -0
  666. package/node_modules/@m0saic/momo-types/package.json +16 -0
  667. package/node_modules/@m0saic/platform/LICENSE +201 -0
  668. package/node_modules/@m0saic/platform/NOTICE +13 -0
  669. package/node_modules/@m0saic/platform/dist/cjs/asset/index.js +1 -0
  670. package/node_modules/@m0saic/platform/dist/cjs/asset/resolveAsset.js +1 -0
  671. package/node_modules/@m0saic/platform/dist/cjs/asset/slugifyAssetKey.js +1 -0
  672. package/node_modules/@m0saic/platform/dist/cjs/bridges/protocol.js +1 -0
  673. package/node_modules/@m0saic/platform/dist/cjs/communityM/claimOrder.js +1 -0
  674. package/node_modules/@m0saic/platform/dist/cjs/communityM/index.js +1 -0
  675. package/node_modules/@m0saic/platform/dist/cjs/communityM/mTiles.generated.js +1 -0
  676. package/node_modules/@m0saic/platform/dist/cjs/communityM/node/hostCommunityDir.js +1 -0
  677. package/node_modules/@m0saic/platform/dist/cjs/communityM/node/index.js +1 -0
  678. package/node_modules/@m0saic/platform/dist/cjs/communityM/node/loadCommunityManifestFromDir.js +1 -0
  679. package/node_modules/@m0saic/platform/dist/cjs/communityM/node/validateCommunityPiece.js +1 -0
  680. package/node_modules/@m0saic/platform/dist/cjs/communityM/parseCommunityMManifest.js +1 -0
  681. package/node_modules/@m0saic/platform/dist/cjs/communityM/placeholderArt.js +1 -0
  682. package/node_modules/@m0saic/platform/dist/cjs/communityM/tileState.js +1 -0
  683. package/node_modules/@m0saic/platform/dist/cjs/ffexpr/balance.js +1 -0
  684. package/node_modules/@m0saic/platform/dist/cjs/ffexpr/compile.js +1 -0
  685. package/node_modules/@m0saic/platform/dist/cjs/ffexpr/ffmpeg.js +1 -0
  686. package/node_modules/@m0saic/platform/dist/cjs/ffexpr/guards.js +1 -0
  687. package/node_modules/@m0saic/platform/dist/cjs/ffexpr/index.js +1 -0
  688. package/node_modules/@m0saic/platform/dist/cjs/ffexpr/macros.js +1 -0
  689. package/node_modules/@m0saic/platform/dist/cjs/ffexpr/overlay.js +1 -0
  690. package/node_modules/@m0saic/platform/dist/cjs/ffexpr/time.js +1 -0
  691. package/node_modules/@m0saic/platform/dist/cjs/ffexpr/window.js +1 -0
  692. package/node_modules/@m0saic/platform/dist/cjs/host-connections/fileConnectionResolver.js +1 -0
  693. package/node_modules/@m0saic/platform/dist/cjs/host-connections/index.js +1 -0
  694. package/node_modules/@m0saic/platform/dist/cjs/index.js +1 -0
  695. package/node_modules/@m0saic/platform/dist/cjs/jobs/index.js +1 -0
  696. package/node_modules/@m0saic/platform/dist/cjs/jobs/types.js +1 -0
  697. package/node_modules/@m0saic/platform/dist/cjs/language/index.js +1 -0
  698. package/node_modules/@m0saic/platform/dist/cjs/language/language.js +1 -0
  699. package/node_modules/@m0saic/platform/dist/cjs/media/expandFolder.js +1 -0
  700. package/node_modules/@m0saic/platform/dist/cjs/media/index.js +1 -0
  701. package/node_modules/@m0saic/platform/dist/cjs/mosaic/absolutizeManifestPathsWeb.js +1 -0
  702. package/node_modules/@m0saic/platform/dist/cjs/mosaic/edit/applyRectEditToMosaicDocument.js +1 -0
  703. package/node_modules/@m0saic/platform/dist/cjs/mosaic/edit/bakeDocumentInsets.js +1 -0
  704. package/node_modules/@m0saic/platform/dist/cjs/mosaic/edit/index.js +1 -0
  705. package/node_modules/@m0saic/platform/dist/cjs/mosaic/edit/rebuildDocumentGeometry.js +1 -0
  706. package/node_modules/@m0saic/platform/dist/cjs/mosaic/flatten/flattenMosaicDocument.js +1 -0
  707. package/node_modules/@m0saic/platform/dist/cjs/mosaic/flatten/index.js +1 -0
  708. package/node_modules/@m0saic/platform/dist/cjs/mosaic/layoutFloors/index.js +1 -0
  709. package/node_modules/@m0saic/platform/dist/cjs/mosaic/layoutFloors/layoutFloors.js +1 -0
  710. package/node_modules/@m0saic/platform/dist/cjs/mosaic/loadMosaicDocument.js +1 -0
  711. package/node_modules/@m0saic/platform/dist/cjs/mosaic/loadMosaicXDocument.js +1 -0
  712. package/node_modules/@m0saic/platform/dist/cjs/mosaic/outputKind/index.js +1 -0
  713. package/node_modules/@m0saic/platform/dist/cjs/mosaic/outputKind/outputKind.js +1 -0
  714. package/node_modules/@m0saic/platform/dist/cjs/mosaic/propBindings/index.js +1 -0
  715. package/node_modules/@m0saic/platform/dist/cjs/mosaic/propBindings/propBindings.js +1 -0
  716. package/node_modules/@m0saic/platform/dist/cjs/mosaic/serializeMosaicDocument.js +1 -0
  717. package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/index.js +1 -0
  718. package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateAssetManifest.js +1 -0
  719. package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateLavfiSource.js +1 -0
  720. package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateMosaicDocument.js +1 -0
  721. package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateMosaicOutput.js +1 -0
  722. package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateMosaicXDocument.js +1 -0
  723. package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateSerializedMosaicDocument.js +1 -0
  724. package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateSources.js +1 -0
  725. package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateVariableSchema.js +1 -0
  726. package/node_modules/@m0saic/platform/dist/cjs/output/index.js +1 -0
  727. package/node_modules/@m0saic/platform/dist/cjs/output/validateOutputConfig.js +1 -0
  728. package/node_modules/@m0saic/platform/dist/cjs/paths/index.js +1 -0
  729. package/node_modules/@m0saic/platform/dist/cjs/paths/m0saicRoot.js +1 -0
  730. package/node_modules/@m0saic/platform/dist/cjs/paths/tempPrefix.js +1 -0
  731. package/node_modules/@m0saic/platform/dist/cjs/secrets/envSecretResolver.js +1 -0
  732. package/node_modules/@m0saic/platform/dist/cjs/secrets/index.js +1 -0
  733. package/node_modules/@m0saic/platform/dist/cjs/secrets/keychainSecretResolver.js +1 -0
  734. package/node_modules/@m0saic/platform/dist/cjs/secrets/schemeSecretResolver.js +1 -0
  735. package/node_modules/@m0saic/platform/dist/cjs/share/index.js +1 -0
  736. package/node_modules/@m0saic/platform/dist/cjs/share/mosaicxLink.js +1 -0
  737. package/node_modules/@m0saic/platform/dist/cjs/share/payloadCodec.js +1 -0
  738. package/node_modules/@m0saic/platform/dist/cjs/share/portableProps.js +1 -0
  739. package/node_modules/@m0saic/platform/dist/cjs/share/shareQuery.js +1 -0
  740. package/node_modules/@m0saic/platform/dist/cjs/system/index.js +1 -0
  741. package/node_modules/@m0saic/platform/dist/cjs/system/systemInfo.js +1 -0
  742. package/node_modules/@m0saic/platform/dist/cjs/telemetry/hostFingerprint.js +1 -0
  743. package/node_modules/@m0saic/platform/dist/cjs/telemetry/index.js +1 -0
  744. package/node_modules/@m0saic/platform/dist/cjs/telemetry/lifecycle.js +1 -0
  745. package/node_modules/@m0saic/platform/dist/cjs/telemetry/machineFactor.js +1 -0
  746. package/node_modules/@m0saic/platform/dist/cjs/telemetry/outbox.js +2 -0
  747. package/node_modules/@m0saic/platform/dist/cjs/telemetry/paths.js +1 -0
  748. package/node_modules/@m0saic/platform/dist/cjs/telemetry/preview.js +1 -0
  749. package/node_modules/@m0saic/platform/dist/cjs/telemetry/recordStore.js +3 -0
  750. package/node_modules/@m0saic/platform/dist/cjs/telemetry/recorder.js +1 -0
  751. package/node_modules/@m0saic/platform/dist/cjs/telemetry/redactor.js +1 -0
  752. package/node_modules/@m0saic/platform/dist/cjs/telemetry/renderRecord.js +1 -0
  753. package/node_modules/@m0saic/platform/dist/cjs/telemetry/rollup.js +1 -0
  754. package/node_modules/@m0saic/platform/dist/cjs/telemetry/scrambler.js +1 -0
  755. package/node_modules/@m0saic/platform/dist/cjs/telemetry/sender.js +1 -0
  756. package/node_modules/@m0saic/platform/dist/cjs/telemetry/settingsStore.js +2 -0
  757. package/node_modules/@m0saic/platform/dist/cjs/telemetry/status.js +1 -0
  758. package/node_modules/@m0saic/platform/dist/cjs/telemetry/summary.js +1 -0
  759. package/node_modules/@m0saic/platform/dist/cjs/telemetry/upstreamDefaults.js +1 -0
  760. package/node_modules/@m0saic/platform/dist/cjs/telemetry/usageRecorder.js +1 -0
  761. package/node_modules/@m0saic/platform/dist/cjs/telemetry/usageStore.js +3 -0
  762. package/node_modules/@m0saic/platform/dist/cjs/template-repos/depAllowlist.js +1 -0
  763. package/node_modules/@m0saic/platform/dist/cjs/template-repos/hostFirstResolution.js +1 -0
  764. package/node_modules/@m0saic/platform/dist/cjs/template-repos/index.js +1 -0
  765. package/node_modules/@m0saic/platform/dist/cjs/template-repos/loadTemplateRepoFromPath.js +6 -0
  766. package/node_modules/@m0saic/platform/dist/cjs/template-repos/resolveTemplatePreview.js +1 -0
  767. package/node_modules/@m0saic/platform/dist/cjs/template-repos/validateTemplateRoles.js +1 -0
  768. package/node_modules/@m0saic/platform/dist/cjs/templateId/index.js +1 -0
  769. package/node_modules/@m0saic/platform/dist/cjs/templateId/parseTemplateId.js +1 -0
  770. package/node_modules/@m0saic/platform/dist/cjs/toolchain/childEnv.js +1 -0
  771. package/node_modules/@m0saic/platform/dist/cjs/toolchain/defaultBinaries.js +1 -0
  772. package/node_modules/@m0saic/platform/dist/cjs/toolchain/ffmpeg/baseline.json +211 -0
  773. package/node_modules/@m0saic/platform/dist/cjs/toolchain/ffmpeg/index.js +1 -0
  774. package/node_modules/@m0saic/platform/dist/cjs/toolchain/ffmpeg/install.js +2 -0
  775. package/node_modules/@m0saic/platform/dist/cjs/toolchain/ffmpeg/release-dates.json +387 -0
  776. package/node_modules/@m0saic/platform/dist/cjs/toolchain/goldenFfmpeg.js +7 -0
  777. package/node_modules/@m0saic/platform/dist/cjs/toolchain/index.js +1 -0
  778. package/node_modules/@m0saic/platform/dist/cjs/toolchain/liveChildren.js +1 -0
  779. package/node_modules/@m0saic/platform/dist/cjs/toolchain/metadata.js +2 -0
  780. package/node_modules/@m0saic/platform/dist/cjs/toolchain/probe.js +1 -0
  781. package/node_modules/@m0saic/platform/dist/cjs/toolchain/probeChild.js +3 -0
  782. package/node_modules/@m0saic/platform/dist/cjs/toolchain/versionCompare.js +1 -0
  783. package/node_modules/@m0saic/platform/package.json +117 -0
  784. package/node_modules/@m0saic/product/LICENSE +7 -0
  785. package/node_modules/@m0saic/product/dist/communityRelease.js +1 -0
  786. package/node_modules/@m0saic/product/dist/freeTierLicense.js +1 -0
  787. package/node_modules/@m0saic/product/dist/index.js +1 -0
  788. package/node_modules/@m0saic/product/dist/licenseToken.js +1 -0
  789. package/node_modules/@m0saic/product/dist/postRenderWrapper.js +1 -0
  790. package/node_modules/@m0saic/product/dist/publicKeys.js +1 -0
  791. package/node_modules/@m0saic/product/dist/revokedKeys.js +1 -0
  792. package/node_modules/@m0saic/product/dist/upstreamDefaults.js +1 -0
  793. package/node_modules/@m0saic/product/package.json +6 -0
  794. package/node_modules/@m0saic/template-utils/LICENSE +201 -0
  795. package/node_modules/@m0saic/template-utils/NOTICE +13 -0
  796. package/node_modules/@m0saic/template-utils/README.md +3 -0
  797. package/node_modules/@m0saic/template-utils/assets/core/m-33_1024x1024.png +0 -0
  798. package/node_modules/@m0saic/template-utils/assets/core/placeholder-blue.png +0 -0
  799. package/node_modules/@m0saic/template-utils/assets/core/placeholder-gray.png +0 -0
  800. package/node_modules/@m0saic/template-utils/assets/core/placeholder-green.png +0 -0
  801. package/node_modules/@m0saic/template-utils/assets/core/placeholder-red.png +0 -0
  802. package/node_modules/@m0saic/template-utils/assets/core/placeholder.mp4 +0 -0
  803. package/node_modules/@m0saic/template-utils/assets/starter/avatar.svg +1 -0
  804. package/node_modules/@m0saic/template-utils/assets/starter/facecam.svg +1 -0
  805. package/node_modules/@m0saic/template-utils/assets/starter/landscape.svg +1 -0
  806. package/node_modules/@m0saic/template-utils/assets/starter/logo.svg +1 -0
  807. package/node_modules/@m0saic/template-utils/assets/starter/portrait.svg +1 -0
  808. package/node_modules/@m0saic/template-utils/assets/starter/square.svg +1 -0
  809. package/node_modules/@m0saic/template-utils/dist/anim/camera.js +1 -0
  810. package/node_modules/@m0saic/template-utils/dist/anim/index.js +1 -0
  811. package/node_modules/@m0saic/template-utils/dist/anim/keyframes.js +1 -0
  812. package/node_modules/@m0saic/template-utils/dist/anim/motion.js +1 -0
  813. package/node_modules/@m0saic/template-utils/dist/anim/timing.js +1 -0
  814. package/node_modules/@m0saic/template-utils/dist/anim/tracks.js +1 -0
  815. package/node_modules/@m0saic/template-utils/dist/assertTiming.js +1 -0
  816. package/node_modules/@m0saic/template-utils/dist/brand/brandGlyphs.js +1 -0
  817. package/node_modules/@m0saic/template-utils/dist/brand/hello-world/field-data.js +1 -0
  818. package/node_modules/@m0saic/template-utils/dist/brand/hello-world/helloWorld.js +1 -0
  819. package/node_modules/@m0saic/template-utils/dist/brand/hello-world/index.js +1 -0
  820. package/node_modules/@m0saic/template-utils/dist/brand/hello-world/m-rects.js +1 -0
  821. package/node_modules/@m0saic/template-utils/dist/brand/hello-world/wordmark.js +1 -0
  822. package/node_modules/@m0saic/template-utils/dist/brand/index.js +1 -0
  823. package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/index.js +1 -0
  824. package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/onboarding-cover.js +1 -0
  825. package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/screencap-grid-cover-assets.js +1 -0
  826. package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/screencap-grid-cover.js +1 -0
  827. package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/screencap-grid-tutorial.js +1 -0
  828. package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/theme-tokens.js +1 -0
  829. package/node_modules/@m0saic/template-utils/dist/codes/barcodeToRenderable.js +1 -0
  830. package/node_modules/@m0saic/template-utils/dist/codes/index.js +1 -0
  831. package/node_modules/@m0saic/template-utils/dist/codes/makeQrEyeChildDoc.js +1 -0
  832. package/node_modules/@m0saic/template-utils/dist/codes/qrStampExpressions.js +1 -0
  833. package/node_modules/@m0saic/template-utils/dist/codes/qrToRenderable.js +1 -0
  834. package/node_modules/@m0saic/template-utils/dist/codes/stampQr.js +1 -0
  835. package/node_modules/@m0saic/template-utils/dist/codes/styledQr.js +1 -0
  836. package/node_modules/@m0saic/template-utils/dist/data/connectionOptionsRegistry.js +1 -0
  837. package/node_modules/@m0saic/template-utils/dist/data/hostConnectionRegistry.js +1 -0
  838. package/node_modules/@m0saic/template-utils/dist/data/index.js +1 -0
  839. package/node_modules/@m0saic/template-utils/dist/data/upstream.js +1 -0
  840. package/node_modules/@m0saic/template-utils/dist/deprecated/gridCellInset.js +1 -0
  841. package/node_modules/@m0saic/template-utils/dist/deprecated/index.js +1 -0
  842. package/node_modules/@m0saic/template-utils/dist/deprecation.js +1 -0
  843. package/node_modules/@m0saic/template-utils/dist/dev/index.js +1 -0
  844. package/node_modules/@m0saic/template-utils/dist/dev/layoutFingerprintFs.js +3 -0
  845. package/node_modules/@m0saic/template-utils/dist/dev/renderTemplatePackToMosaicFiles.js +1 -0
  846. package/node_modules/@m0saic/template-utils/dist/dev/renderTemplateToMosaicFile.js +2 -0
  847. package/node_modules/@m0saic/template-utils/dist/ffexpr/index.js +1 -0
  848. package/node_modules/@m0saic/template-utils/dist/forensic/alphaPerCell.js +1 -0
  849. package/node_modules/@m0saic/template-utils/dist/forensic/bch.js +1 -0
  850. package/node_modules/@m0saic/template-utils/dist/forensic/decoder.js +1 -0
  851. package/node_modules/@m0saic/template-utils/dist/forensic/encoder.js +1 -0
  852. package/node_modules/@m0saic/template-utils/dist/forensic/gf.js +1 -0
  853. package/node_modules/@m0saic/template-utils/dist/forensic/index.js +1 -0
  854. package/node_modules/@m0saic/template-utils/dist/forensic/mask.js +1 -0
  855. package/node_modules/@m0saic/template-utils/dist/forensic/slotPlanner.js +1 -0
  856. package/node_modules/@m0saic/template-utils/dist/geometry/index.js +1 -0
  857. package/node_modules/@m0saic/template-utils/dist/geometry/polyline.js +1 -0
  858. package/node_modules/@m0saic/template-utils/dist/geometry-contract/assertGeometry.js +3 -0
  859. package/node_modules/@m0saic/template-utils/dist/geometry-contract/checkDocGeometry.js +1 -0
  860. package/node_modules/@m0saic/template-utils/dist/geometry-contract/frameResolution.js +1 -0
  861. package/node_modules/@m0saic/template-utils/dist/geometry-contract/index.js +1 -0
  862. package/node_modules/@m0saic/template-utils/dist/geometry-contract/latticeRelations.js +1 -0
  863. package/node_modules/@m0saic/template-utils/dist/geometry-contract/layoutConstraint.js +2 -0
  864. package/node_modules/@m0saic/template-utils/dist/geometry-contract/types.js +1 -0
  865. package/node_modules/@m0saic/template-utils/dist/geometry-contract/violationWireframe.js +1 -0
  866. package/node_modules/@m0saic/template-utils/dist/geometry-contract/withGeometryContract.js +3 -0
  867. package/node_modules/@m0saic/template-utils/dist/geometry-contract/withLayoutContract.js +5 -0
  868. package/node_modules/@m0saic/template-utils/dist/index.js +1 -0
  869. package/node_modules/@m0saic/template-utils/dist/lattice/index.js +1 -0
  870. package/node_modules/@m0saic/template-utils/dist/lattice/latticeReport.js +1 -0
  871. package/node_modules/@m0saic/template-utils/dist/lattice/smooth.js +1 -0
  872. package/node_modules/@m0saic/template-utils/dist/lattice/splitCounts.js +1 -0
  873. package/node_modules/@m0saic/template-utils/dist/layout/index.js +1 -0
  874. package/node_modules/@m0saic/template-utils/dist/layout/latticeCellInset.js +1 -0
  875. package/node_modules/@m0saic/template-utils/dist/layout/parseMosaicLayout.js +1 -0
  876. package/node_modules/@m0saic/template-utils/dist/layout/placeInsetPieces.js +1 -0
  877. package/node_modules/@m0saic/template-utils/dist/layout/placeOptimizedPieces.js +1 -0
  878. package/node_modules/@m0saic/template-utils/dist/m0saic/assetPath.js +1 -0
  879. package/node_modules/@m0saic/template-utils/dist/m0saic/build-overlay-stack.js +1 -0
  880. package/node_modules/@m0saic/template-utils/dist/m0saic/index.js +1 -0
  881. package/node_modules/@m0saic/template-utils/dist/m0saic/loadSession.js +1 -0
  882. package/node_modules/@m0saic/template-utils/dist/m0saic/readLayoutFile.js +1 -0
  883. package/node_modules/@m0saic/template-utils/dist/m0saic/utils.js +1 -0
  884. package/node_modules/@m0saic/template-utils/dist/media/buildStepNames.js +1 -0
  885. package/node_modules/@m0saic/template-utils/dist/media/canvasRegions.js +1 -0
  886. package/node_modules/@m0saic/template-utils/dist/media/computeFrameCount.js +1 -0
  887. package/node_modules/@m0saic/template-utils/dist/media/defaultMedia.js +1 -0
  888. package/node_modules/@m0saic/template-utils/dist/media/determineMediaType.js +1 -0
  889. package/node_modules/@m0saic/template-utils/dist/media/index.js +1 -0
  890. package/node_modules/@m0saic/template-utils/dist/media/timeRanges.js +1 -0
  891. package/node_modules/@m0saic/template-utils/dist/media/timedCues.js +1 -0
  892. package/node_modules/@m0saic/template-utils/dist/primitives/girdlines.js +1 -0
  893. package/node_modules/@m0saic/template-utils/dist/primitives/index.js +1 -0
  894. package/node_modules/@m0saic/template-utils/dist/primitives/lavfiStrip.js +1 -0
  895. package/node_modules/@m0saic/template-utils/dist/primitives/transparentSlot.js +1 -0
  896. package/node_modules/@m0saic/template-utils/dist/print/compliance.js +1 -0
  897. package/node_modules/@m0saic/template-utils/dist/print/dieline.js +1 -0
  898. package/node_modules/@m0saic/template-utils/dist/print/dpiCheck.js +1 -0
  899. package/node_modules/@m0saic/template-utils/dist/print/index.js +1 -0
  900. package/node_modules/@m0saic/template-utils/dist/print/latticeSnap.js +1 -0
  901. package/node_modules/@m0saic/template-utils/dist/print/units.js +1 -0
  902. package/node_modules/@m0saic/template-utils/dist/processRegistry.js +1 -0
  903. package/node_modules/@m0saic/template-utils/dist/render/autoCompactRenderable.js +1 -0
  904. package/node_modules/@m0saic/template-utils/dist/render/createDesignContext.js +1 -0
  905. package/node_modules/@m0saic/template-utils/dist/render/finalizeRenderable.js +1 -0
  906. package/node_modules/@m0saic/template-utils/dist/render/index.js +1 -0
  907. package/node_modules/@m0saic/template-utils/dist/render/renderNestedTemplate.js +1 -0
  908. package/node_modules/@m0saic/template-utils/dist/render/renderTemplateCover.js +1 -0
  909. package/node_modules/@m0saic/template-utils/dist/render/renderTemplateLite.js +1 -0
  910. package/node_modules/@m0saic/template-utils/dist/render/renderTemplateToRenderableFile.js +3 -0
  911. package/node_modules/@m0saic/template-utils/dist/render/renderTemplateTutorial.js +1 -0
  912. package/node_modules/@m0saic/template-utils/dist/render/stampOutput.js +1 -0
  913. package/node_modules/@m0saic/template-utils/dist/seededRng.js +1 -0
  914. package/node_modules/@m0saic/template-utils/dist/sources/index.js +1 -0
  915. package/node_modules/@m0saic/template-utils/dist/sources/makeColorTile.js +1 -0
  916. package/node_modules/@m0saic/template-utils/dist/sources/makeErrorMosaic.js +2 -0
  917. package/node_modules/@m0saic/template-utils/dist/sources/makeStubMosaic.js +1 -0
  918. package/node_modules/@m0saic/template-utils/dist/sources/solidBackground.js +1 -0
  919. package/node_modules/@m0saic/template-utils/dist/sources/svgTextSource.js +1 -0
  920. package/node_modules/@m0saic/template-utils/dist/stamp/index.js +1 -0
  921. package/node_modules/@m0saic/template-utils/dist/stamp/stampLayout.js +1 -0
  922. package/node_modules/@m0saic/template-utils/dist/stamp/stampOnMedia.js +1 -0
  923. package/node_modules/@m0saic/template-utils/dist/stamp/stampWindows.js +1 -0
  924. package/node_modules/@m0saic/template-utils/dist/template/auditDefaultProps.js +3 -0
  925. package/node_modules/@m0saic/template-utils/dist/template/auditRenderedTemplate.js +5 -0
  926. package/node_modules/@m0saic/template-utils/dist/template/auditRepoConventions.js +1 -0
  927. package/node_modules/@m0saic/template-utils/dist/template/auditSchemaConventions.js +1 -0
  928. package/node_modules/@m0saic/template-utils/dist/template/defineMosaicTemplate.js +1 -0
  929. package/node_modules/@m0saic/template-utils/dist/template/definePropsSchema.js +1 -0
  930. package/node_modules/@m0saic/template-utils/dist/template/index.js +1 -0
  931. package/node_modules/@m0saic/template-utils/dist/template/layoutFingerprintFile.js +1 -0
  932. package/node_modules/@m0saic/template-utils/dist/template/resolveTemplateOutputHints.js +1 -0
  933. package/node_modules/@m0saic/template-utils/dist/template/templateConventions.js +6 -0
  934. package/node_modules/@m0saic/template-utils/dist/template/templateOriginScope.js +1 -0
  935. package/node_modules/@m0saic/template-utils/dist/template/templateRegistry.js +3 -0
  936. package/node_modules/@m0saic/template-utils/dist/template/validateTemplateProps.js +1 -0
  937. package/node_modules/@m0saic/template-utils/dist/text/fitText.js +10 -0
  938. package/node_modules/@m0saic/template-utils/dist/text/index.js +1 -0
  939. package/node_modules/@m0saic/template-utils/dist/text/textToPath.js +1 -0
  940. package/node_modules/@m0saic/template-utils/dist/text/wrapText.js +1 -0
  941. package/node_modules/@m0saic/template-utils/dist/theming/index.js +1 -0
  942. package/node_modules/@m0saic/template-utils/dist/theming/resolveThemeTokens.js +1 -0
  943. package/node_modules/@m0saic/template-utils/dist/theming/theming.js +1 -0
  944. package/node_modules/@m0saic/template-utils/dist/transitions.js +1 -0
  945. package/node_modules/@m0saic/template-utils/package.json +6 -0
  946. package/node_modules/@m0saic/templates/LICENSE +13 -0
  947. package/node_modules/@m0saic/templates/dist/freeze.js +8 -0
  948. package/node_modules/@m0saic/templates/dist/index.js +1 -0
  949. package/node_modules/@m0saic/templates/dist/m0saic/_shared/onboarding-cover.js +1 -0
  950. package/node_modules/@m0saic/templates/dist/m0saic/_shared/raster.js +1 -0
  951. package/node_modules/@m0saic/templates/dist/m0saic/_shared/svgRaster.js +1 -0
  952. package/node_modules/@m0saic/templates/dist/m0saic/agents/commit-feed/index.js +1 -0
  953. package/node_modules/@m0saic/templates/dist/m0saic/agents/commit-feed/v1/commit-feed.js +1 -0
  954. package/node_modules/@m0saic/templates/dist/m0saic/agents/commit-feed/v1/index.js +1 -0
  955. package/node_modules/@m0saic/templates/dist/m0saic/agents/index.js +1 -0
  956. package/node_modules/@m0saic/templates/dist/m0saic/agents/trace-timeline/index.js +1 -0
  957. package/node_modules/@m0saic/templates/dist/m0saic/agents/trace-timeline/v1/index.js +1 -0
  958. package/node_modules/@m0saic/templates/dist/m0saic/agents/trace-timeline/v1/trace-timeline.js +1 -0
  959. package/node_modules/@m0saic/templates/dist/m0saic/alpine/_shared/alpine-anim.js +1 -0
  960. package/node_modules/@m0saic/templates/dist/m0saic/alpine/_shared/alpine-card.js +1 -0
  961. package/node_modules/@m0saic/templates/dist/m0saic/alpine/_shared/alpine-glyphs.js +1 -0
  962. package/node_modules/@m0saic/templates/dist/m0saic/alpine/_shared/alpine-theme.js +1 -0
  963. package/node_modules/@m0saic/templates/dist/m0saic/alpine/bar-graph/v1/bar-graph.js +1 -0
  964. package/node_modules/@m0saic/templates/dist/m0saic/alpine/bar-graph/v1/index.js +1 -0
  965. package/node_modules/@m0saic/templates/dist/m0saic/alpine/commit-feed/v1/commit-feed.js +1 -0
  966. package/node_modules/@m0saic/templates/dist/m0saic/alpine/commit-feed/v1/index.js +1 -0
  967. package/node_modules/@m0saic/templates/dist/m0saic/alpine/commit-feed/v2/commit-feed.js +1 -0
  968. package/node_modules/@m0saic/templates/dist/m0saic/alpine/commit-feed/v2/index.js +1 -0
  969. package/node_modules/@m0saic/templates/dist/m0saic/alpine/contributor-table/v1/assets/layout-lite.m0 +9 -0
  970. package/node_modules/@m0saic/templates/dist/m0saic/alpine/contributor-table/v1/assets/layout-standard.m0 +9 -0
  971. package/node_modules/@m0saic/templates/dist/m0saic/alpine/contributor-table/v1/contributor-table.js +1 -0
  972. package/node_modules/@m0saic/templates/dist/m0saic/alpine/contributor-table/v1/index.js +1 -0
  973. package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v1/donut.js +1 -0
  974. package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v1/index.js +1 -0
  975. package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v2/donut.js +1 -0
  976. package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v2/index.js +1 -0
  977. package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v3/donut.js +1 -0
  978. package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v3/index.js +1 -0
  979. package/node_modules/@m0saic/templates/dist/m0saic/alpine/heatmap/v1/heatmap.js +1 -0
  980. package/node_modules/@m0saic/templates/dist/m0saic/alpine/heatmap/v1/index.js +1 -0
  981. package/node_modules/@m0saic/templates/dist/m0saic/alpine/heatmap/v2/heatmap.js +1 -0
  982. package/node_modules/@m0saic/templates/dist/m0saic/alpine/heatmap/v2/index.js +1 -0
  983. package/node_modules/@m0saic/templates/dist/m0saic/alpine/index.js +1 -0
  984. package/node_modules/@m0saic/templates/dist/m0saic/alpine/kpi-card/v1/index.js +1 -0
  985. package/node_modules/@m0saic/templates/dist/m0saic/alpine/kpi-card/v1/kpi-card.js +1 -0
  986. package/node_modules/@m0saic/templates/dist/m0saic/alpine/kpi-card/v2/index.js +1 -0
  987. package/node_modules/@m0saic/templates/dist/m0saic/alpine/kpi-card/v2/kpi-card.js +1 -0
  988. package/node_modules/@m0saic/templates/dist/m0saic/alpine/leaderboard/v1/index.js +1 -0
  989. package/node_modules/@m0saic/templates/dist/m0saic/alpine/leaderboard/v1/leaderboard.js +1 -0
  990. package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v1/index.js +1 -0
  991. package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v1/line-chart.js +1 -0
  992. package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v2/index.js +1 -0
  993. package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v2/line-chart.js +1 -0
  994. package/node_modules/@m0saic/templates/dist/m0saic/alpine/progress-card/v1/index.js +1 -0
  995. package/node_modules/@m0saic/templates/dist/m0saic/alpine/progress-card/v1/progress-card.js +1 -0
  996. package/node_modules/@m0saic/templates/dist/m0saic/alpine/stat-card/v1/index.js +1 -0
  997. package/node_modules/@m0saic/templates/dist/m0saic/alpine/stat-card/v1/stat-card.js +1 -0
  998. package/node_modules/@m0saic/templates/dist/m0saic/alpine/timeline/v1/index.js +1 -0
  999. package/node_modules/@m0saic/templates/dist/m0saic/alpine/timeline/v1/timeline.js +1 -0
  1000. package/node_modules/@m0saic/templates/dist/m0saic/alpine/timeline/v2/index.js +1 -0
  1001. package/node_modules/@m0saic/templates/dist/m0saic/alpine/timeline/v2/timeline.js +4 -0
  1002. package/node_modules/@m0saic/templates/dist/m0saic/alpine/treemap/v1/index.js +1 -0
  1003. package/node_modules/@m0saic/templates/dist/m0saic/alpine/treemap/v1/treemap.js +1 -0
  1004. package/node_modules/@m0saic/templates/dist/m0saic/alpine/treemap/v2/index.js +1 -0
  1005. package/node_modules/@m0saic/templates/dist/m0saic/alpine/treemap/v2/treemap.js +1 -0
  1006. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/battery/manifest.js +1 -0
  1007. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/index.js +1 -0
  1008. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/report/v1/assets/m-logo.png +0 -0
  1009. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/report/v1/assets/sample-session/benchmark.json +41 -0
  1010. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/report/v1/index.js +1 -0
  1011. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/report/v1/report.js +1 -0
  1012. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/run/v1/benchmarkRun.js +1 -0
  1013. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/run/v1/confirmation.js +1 -0
  1014. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/run/v1/index.js +1 -0
  1015. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/run/v1/renderScenario.js +1 -0
  1016. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/run/v1/runner.js +4 -0
  1017. package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v1/back-catalog.js +1 -0
  1018. package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v1/business-card.js +1 -0
  1019. package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v1/index.js +1 -0
  1020. package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v1/layout.js +1 -0
  1021. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/camera.js +1 -0
  1022. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/caption.js +1 -0
  1023. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/community-m.js +1 -0
  1024. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/community-m.web.js +1 -0
  1025. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/gen-seed-piece.js +1 -0
  1026. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/geometry.js +1 -0
  1027. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/imageSize.node.js +1 -0
  1028. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/index.js +1 -0
  1029. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/loadPiece.node.js +1 -0
  1030. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/manifest.js +1 -0
  1031. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/mark.js +1 -0
  1032. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/paths.js +1 -0
  1033. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/piece.js +1 -0
  1034. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/pipeline.js +1 -0
  1035. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/preview.js +1 -0
  1036. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/props.js +1 -0
  1037. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/reveal.js +1 -0
  1038. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/seedPiece.js +2 -0
  1039. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/target.js +1 -0
  1040. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/timing.js +1 -0
  1041. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/webPiece.js +1 -0
  1042. package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/wordmark.js +1 -0
  1043. package/node_modules/@m0saic/templates/dist/m0saic/brand/index.js +1 -0
  1044. package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v1/index.js +1 -0
  1045. package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v1/logo.js +1 -0
  1046. package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v2/index.js +1 -0
  1047. package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v2/logo.js +1 -0
  1048. package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v3/index.js +1 -0
  1049. package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v3/logo.js +1 -0
  1050. package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v3/logo_runner.js +1 -0
  1051. package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/assets/brand-qr-with-logo.svg +8 -0
  1052. package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.mp4 +0 -0
  1053. package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.static.png +0 -0
  1054. package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.mp4 +0 -0
  1055. package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.static.png +0 -0
  1056. package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/still/v1/index.js +1 -0
  1057. package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/still/v1/qr-stamp-still.js +1 -0
  1058. package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/video/v2/index.js +1 -0
  1059. package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/video/v2/qr-stamp.js +1 -0
  1060. package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/video/v2/windows.js +1 -0
  1061. package/node_modules/@m0saic/templates/dist/m0saic/charts/_shared/index.js +1 -0
  1062. package/node_modules/@m0saic/templates/dist/m0saic/charts/_shared/line.js +2 -0
  1063. package/node_modules/@m0saic/templates/dist/m0saic/charts/_shared/scale.js +1 -0
  1064. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/anim.js +1 -0
  1065. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/axis.js +1 -0
  1066. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/bar-graph.js +1 -0
  1067. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/defaults.js +1 -0
  1068. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/format.js +1 -0
  1069. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/index.js +1 -0
  1070. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/bar-cell.js +1 -0
  1071. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/bar-fill.js +1 -0
  1072. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/bars-stack.js +1 -0
  1073. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/chart-frame.js +1 -0
  1074. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/labels.js +1 -0
  1075. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/plot-area.js +1 -0
  1076. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/types.js +1 -0
  1077. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v2/bar-graph.js +1 -0
  1078. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v2/index.js +1 -0
  1079. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v1/anim.js +1 -0
  1080. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v1/donut.js +1 -0
  1081. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v1/geometry.js +1 -0
  1082. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v1/index.js +1 -0
  1083. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v2/donut.js +1 -0
  1084. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v2/index.js +1 -0
  1085. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v3/anim.js +1 -0
  1086. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v3/donut.js +1 -0
  1087. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v3/geometry.js +1 -0
  1088. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v3/index.js +1 -0
  1089. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v4/donut.js +1 -0
  1090. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v4/index.js +1 -0
  1091. package/node_modules/@m0saic/templates/dist/m0saic/charts/index.js +1 -0
  1092. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/anim.js +1 -0
  1093. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/axis.js +1 -0
  1094. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/card.js +1 -0
  1095. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/chrome-spec.js +1 -0
  1096. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/chrome.js +1 -0
  1097. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/defaults.js +1 -0
  1098. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/format.js +1 -0
  1099. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/frame.js +1 -0
  1100. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/geometry.js +1 -0
  1101. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/index.js +1 -0
  1102. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/line-chart.js +1 -0
  1103. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/line-series.js +1 -0
  1104. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/types.js +1 -0
  1105. package/node_modules/@m0saic/templates/dist/m0saic/charts/stat-card/v1/index.js +1 -0
  1106. package/node_modules/@m0saic/templates/dist/m0saic/charts/stat-card/v1/stat-card.js +1 -0
  1107. package/node_modules/@m0saic/templates/dist/m0saic/code/_shared/code-diff.js +1 -0
  1108. package/node_modules/@m0saic/templates/dist/m0saic/code/_shared/code-lexer.js +3 -0
  1109. package/node_modules/@m0saic/templates/dist/m0saic/code/_shared/code-metrics.js +1 -0
  1110. package/node_modules/@m0saic/templates/dist/m0saic/code/_shared/code-theme.js +1 -0
  1111. package/node_modules/@m0saic/templates/dist/m0saic/code/index.js +1 -0
  1112. package/node_modules/@m0saic/templates/dist/m0saic/code/snippet-morph/v1/internal/chrome.js +1 -0
  1113. package/node_modules/@m0saic/templates/dist/m0saic/code/snippet-morph/v1/internal/plan.js +1 -0
  1114. package/node_modules/@m0saic/templates/dist/m0saic/code/snippet-morph/v1/internal/steps.js +1 -0
  1115. package/node_modules/@m0saic/templates/dist/m0saic/code/snippet-morph/v1/snippet-morph.js +3 -0
  1116. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/demo-fixture.js +1 -0
  1117. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/emit.js +1 -0
  1118. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/image-collage.js +1 -0
  1119. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/index.js +1 -0
  1120. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/candidates.js +1 -0
  1121. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/classify.js +1 -0
  1122. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/index.js +1 -0
  1123. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/paging.js +1 -0
  1124. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/score.js +1 -0
  1125. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/solve.js +1 -0
  1126. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/tiler.js +1 -0
  1127. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/types.js +1 -0
  1128. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/tutorial.js +1 -0
  1129. package/node_modules/@m0saic/templates/dist/m0saic/collage/index.js +1 -0
  1130. package/node_modules/@m0saic/templates/dist/m0saic/collage/spread-grid-mock/v1/grid-fixture.js +1 -0
  1131. package/node_modules/@m0saic/templates/dist/m0saic/collage/spread-grid-mock/v1/index.js +1 -0
  1132. package/node_modules/@m0saic/templates/dist/m0saic/collage/spread-grid-mock/v1/spread-grid-mock.js +1 -0
  1133. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/index.js +1 -0
  1134. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/_shared/brand-glyphs.js +1 -0
  1135. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/_shared/m0saic-logo.js +1 -0
  1136. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/_shared/node-kit.js +1 -0
  1137. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/_shared/text-fit.js +1 -0
  1138. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/dsl-tutorial.js +1 -0
  1139. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/index.js +1 -0
  1140. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/panels/canvas/v1/dsl-canvas.js +1 -0
  1141. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/panels/chrome/v1/dsl-chrome.js +1 -0
  1142. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/panels/dsl-string/v1/dsl-string.js +1 -0
  1143. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/panels/inspector/v1/dsl-inspector.js +1 -0
  1144. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/buildSteps.js +2 -0
  1145. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/camera.js +1 -0
  1146. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/cursor.js +1 -0
  1147. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/dslString.js +1 -0
  1148. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/inspector.js +1 -0
  1149. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/timing.js +1 -0
  1150. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/theme/tokens.js +1 -0
  1151. package/node_modules/@m0saic/templates/dist/m0saic/forensic/index.js +1 -0
  1152. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/_shared/cellLuminance.js +1 -0
  1153. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/index.js +1 -0
  1154. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/verify/index.js +1 -0
  1155. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/verify/v1/decode.js +1 -0
  1156. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/verify/v1/index.js +1 -0
  1157. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/verify/v1/report.js +1 -0
  1158. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/verify/v1/verify.js +1 -0
  1159. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/video/index.js +1 -0
  1160. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/video/v1/forensic-watermark.js +1 -0
  1161. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/video/v1/index.js +1 -0
  1162. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/video/v1/maskAsset.js +1 -0
  1163. package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/video/v1/probeHost.js +1 -0
  1164. package/node_modules/@m0saic/templates/dist/m0saic/github/client.js +1 -0
  1165. package/node_modules/@m0saic/templates/dist/m0saic/github/connection.js +1 -0
  1166. package/node_modules/@m0saic/templates/dist/m0saic/github/index.js +1 -0
  1167. package/node_modules/@m0saic/templates/dist/m0saic/github/repo-facts-fetcher/index.js +1 -0
  1168. package/node_modules/@m0saic/templates/dist/m0saic/github/repo-facts-fetcher/v1/build-facts.js +2 -0
  1169. package/node_modules/@m0saic/templates/dist/m0saic/github/repo-facts-fetcher/v1/facts.js +1 -0
  1170. package/node_modules/@m0saic/templates/dist/m0saic/github/repo-facts-fetcher/v1/repo-facts-fetcher.js +1 -0
  1171. package/node_modules/@m0saic/templates/dist/m0saic/github/repo-facts-fetcher/v1/sample-facts.js +1 -0
  1172. package/node_modules/@m0saic/templates/dist/m0saic/github/week-math.js +1 -0
  1173. package/node_modules/@m0saic/templates/dist/m0saic/github/weekly-pulse/index.js +1 -0
  1174. package/node_modules/@m0saic/templates/dist/m0saic/github/weekly-pulse/v1/weekly-pulse.js +1 -0
  1175. package/node_modules/@m0saic/templates/dist/m0saic/github/weekly-pulse-adapter/index.js +1 -0
  1176. package/node_modules/@m0saic/templates/dist/m0saic/github/weekly-pulse-adapter/v1/derive-pulse.js +1 -0
  1177. package/node_modules/@m0saic/templates/dist/m0saic/github/weekly-pulse-adapter/v1/weekly-pulse-adapter.js +1 -0
  1178. package/node_modules/@m0saic/templates/dist/m0saic/github/year-card/index.js +1 -0
  1179. package/node_modules/@m0saic/templates/dist/m0saic/github/year-card/v1/index.js +1 -0
  1180. package/node_modules/@m0saic/templates/dist/m0saic/github/year-card/v1/year-card.js +1 -0
  1181. package/node_modules/@m0saic/templates/dist/m0saic/hello-world/index.js +1 -0
  1182. package/node_modules/@m0saic/templates/dist/m0saic/hello-world/v1/hello-world.js +1 -0
  1183. package/node_modules/@m0saic/templates/dist/m0saic/hello-world/v1/index.js +1 -0
  1184. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg-logo.png +0 -0
  1185. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg_logo_480x480.svg +1 -0
  1186. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/m-hero.png +0 -0
  1187. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/qr-fin.mp4 +0 -0
  1188. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-desktop.mp4 +0 -0
  1189. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-layout.m0p +5146 -0
  1190. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-mobile.mp4 +0 -0
  1191. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-square.mp4 +0 -0
  1192. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/title-layout.m0p +130 -0
  1193. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-chrome.js +1 -0
  1194. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-data.js +1 -0
  1195. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-glyphs.js +1 -0
  1196. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-theme.js +1 -0
  1197. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/scatter.js +1 -0
  1198. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/activity-trend.js +1 -0
  1199. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/index.js +1 -0
  1200. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/changes-breakdown.js +1 -0
  1201. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/index.js +1 -0
  1202. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/contributions.js +1 -0
  1203. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/index.js +1 -0
  1204. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/fin/v1/fin.js +1 -0
  1205. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/fin/v1/index.js +1 -0
  1206. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/index.js +1 -0
  1207. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/index.js +1 -0
  1208. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/kpi-overview.js +1 -0
  1209. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/index.js +1 -0
  1210. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/notable-commits.js +1 -0
  1211. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/runner/v1/index.js +1 -0
  1212. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/runner/v1/runner.js +1 -0
  1213. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/index.js +1 -0
  1214. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/scatter-bake.js +1 -0
  1215. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/title/v1/index.js +1 -0
  1216. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/title/v1/title.js +1 -0
  1217. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/index.js +1 -0
  1218. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/top-contributors.js +1 -0
  1219. package/node_modules/@m0saic/templates/dist/m0saic/hero/index.js +1 -0
  1220. package/node_modules/@m0saic/templates/dist/m0saic/index.js +1 -0
  1221. package/node_modules/@m0saic/templates/dist/m0saic/media/barcode/v1/barcode.js +1 -0
  1222. package/node_modules/@m0saic/templates/dist/m0saic/media/barcode/v1/index.js +1 -0
  1223. package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/index.js +1 -0
  1224. package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/v1/blur-regions.js +1 -0
  1225. package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/v1/index.js +1 -0
  1226. package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/v1/plan.js +1 -0
  1227. package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/v1/tutorial.js +1 -0
  1228. package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/index.js +1 -0
  1229. package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/v1/highlights.js +1 -0
  1230. package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/v1/index.js +1 -0
  1231. package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/v1/pipeline.js +1 -0
  1232. package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/v1/plan.js +1 -0
  1233. package/node_modules/@m0saic/templates/dist/m0saic/media/index.js +1 -0
  1234. package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/index.js +1 -0
  1235. package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/default-logo.js +35 -0
  1236. package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/expressions.js +1 -0
  1237. package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/index.js +1 -0
  1238. package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/layout.js +1 -0
  1239. package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/logo-animate.js +1 -0
  1240. package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/svg-source.js +1 -0
  1241. package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/tutorial.js +1 -0
  1242. package/node_modules/@m0saic/templates/dist/m0saic/media/metadata-stamp/index.js +1 -0
  1243. package/node_modules/@m0saic/templates/dist/m0saic/media/metadata-stamp/v1/format-date.js +1 -0
  1244. package/node_modules/@m0saic/templates/dist/m0saic/media/metadata-stamp/v1/index.js +1 -0
  1245. package/node_modules/@m0saic/templates/dist/m0saic/media/metadata-stamp/v1/metadata-stamp.js +1 -0
  1246. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/_shared/brandMCenter.js +1 -0
  1247. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/animate/v1/expressions.js +1 -0
  1248. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/animate/v1/index.js +1 -0
  1249. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/animate/v1/qr-animate.js +1 -0
  1250. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/animate/v2/index.js +1 -0
  1251. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/animate/v2/qr-animate.js +1 -0
  1252. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/basic/v1/index.js +1 -0
  1253. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/basic/v1/qr.js +1 -0
  1254. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/code/v1/index.js +1 -0
  1255. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/code/v1/qr-code.js +1 -0
  1256. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/index.js +1 -0
  1257. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/rounded/v1/index.js +1 -0
  1258. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/rounded/v1/qr-rounded.js +1 -0
  1259. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/stamp/v1/qr-stamp-custom.js +1 -0
  1260. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/stamp-video/v1/expressions.js +1 -0
  1261. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/stamp-video/v1/gleamBand.js +19 -0
  1262. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/stamp-video/v1/index.js +1 -0
  1263. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/stamp-video/v1/qr-stamp.js +1 -0
  1264. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/index.js +1 -0
  1265. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/internal/index.js +1 -0
  1266. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/internal/info_pane.js +1 -0
  1267. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v1/index.js +1 -0
  1268. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v1/screencap-grid.js +3 -0
  1269. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/assets/tutorial-sheet.jpg +0 -0
  1270. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/index.js +1 -0
  1271. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover-assets.js +1 -0
  1272. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover.js +1 -0
  1273. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/screencap-grid-tutorial.js +1 -0
  1274. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/screencap-grid.js +4 -0
  1275. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/index.js +1 -0
  1276. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v1/assets/pair-sheet.jpg +0 -0
  1277. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v1/index.js +1 -0
  1278. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-cover.js +1 -0
  1279. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-tutorial.js +1 -0
  1280. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe.js +3 -0
  1281. package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/index.js +1 -0
  1282. package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/v1/geometry.js +1 -0
  1283. package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/v1/index.js +1 -0
  1284. package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/v1/motion.js +1 -0
  1285. package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/v1/scroll-wall.js +1 -0
  1286. package/node_modules/@m0saic/templates/dist/m0saic/media/subtitle-burn/index.js +1 -0
  1287. package/node_modules/@m0saic/templates/dist/m0saic/media/subtitle-burn/v1/index.js +1 -0
  1288. package/node_modules/@m0saic/templates/dist/m0saic/media/subtitle-burn/v1/subtitle-burn-cover.js +1 -0
  1289. package/node_modules/@m0saic/templates/dist/m0saic/media/subtitle-burn/v1/subtitle-burn.js +4 -0
  1290. package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/index.js +1 -0
  1291. package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v1/index.js +1 -0
  1292. package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v1/pipeline.js +1 -0
  1293. package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v1/plan.js +1 -0
  1294. package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v1/sidecars.js +7 -0
  1295. package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v1/trickplay.js +1 -0
  1296. package/node_modules/@m0saic/templates/dist/m0saic/media/video_to_png_sequence/index.js +1 -0
  1297. package/node_modules/@m0saic/templates/dist/m0saic/media/video_to_png_sequence/v1/index.js +1 -0
  1298. package/node_modules/@m0saic/templates/dist/m0saic/media/video_to_png_sequence/v1/video-to-png-sequence.js +1 -0
  1299. package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/index.js +1 -0
  1300. package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/adaptive.js +1 -0
  1301. package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/content.js +1 -0
  1302. package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/geometry.js +2 -0
  1303. package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/index.js +1 -0
  1304. package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/pageGrid.js +1 -0
  1305. package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/pipeline.js +1 -0
  1306. package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/watermark.js +1 -0
  1307. package/node_modules/@m0saic/templates/dist/m0saic/meta/camera-debug/index.js +1 -0
  1308. package/node_modules/@m0saic/templates/dist/m0saic/meta/camera-debug/v1/camera-debug.js +1 -0
  1309. package/node_modules/@m0saic/templates/dist/m0saic/meta/fixture-fetcher/index.js +1 -0
  1310. package/node_modules/@m0saic/templates/dist/m0saic/meta/fixture-fetcher/v1/fixture-fetcher.js +1 -0
  1311. package/node_modules/@m0saic/templates/dist/m0saic/meta/hot-reload-smoke/index.js +1 -0
  1312. package/node_modules/@m0saic/templates/dist/m0saic/meta/hot-reload-smoke/v1/hot-reload-smoke.js +1 -0
  1313. package/node_modules/@m0saic/templates/dist/m0saic/meta/index.js +1 -0
  1314. package/node_modules/@m0saic/templates/dist/m0saic/meta/post-mortem/index.js +1 -0
  1315. package/node_modules/@m0saic/templates/dist/m0saic/meta/post-mortem/v1/assets/human.png +0 -0
  1316. package/node_modules/@m0saic/templates/dist/m0saic/meta/post-mortem/v1/assets/robot.png +0 -0
  1317. package/node_modules/@m0saic/templates/dist/m0saic/meta/post-mortem/v1/post-mortem.js +1 -0
  1318. package/node_modules/@m0saic/templates/dist/m0saic/meta/upstream-echo/index.js +1 -0
  1319. package/node_modules/@m0saic/templates/dist/m0saic/meta/upstream-echo/v1/upstream-echo.js +1 -0
  1320. package/node_modules/@m0saic/templates/dist/m0saic/primitives/grid/index.js +1 -0
  1321. package/node_modules/@m0saic/templates/dist/m0saic/primitives/grid/v1/grid.js +1 -0
  1322. package/node_modules/@m0saic/templates/dist/m0saic/primitives/grid/v2/grid.js +1 -0
  1323. package/node_modules/@m0saic/templates/dist/m0saic/primitives/index.js +1 -0
  1324. package/node_modules/@m0saic/templates/dist/m0saic/social/index.js +1 -0
  1325. package/node_modules/@m0saic/templates/dist/m0saic/social/quote-card/index.js +1 -0
  1326. package/node_modules/@m0saic/templates/dist/m0saic/social/quote-card/v1/index.js +1 -0
  1327. package/node_modules/@m0saic/templates/dist/m0saic/social/quote-card/v1/layout.js +4 -0
  1328. package/node_modules/@m0saic/templates/dist/m0saic/social/quote-card/v1/quote-card.js +1 -0
  1329. package/node_modules/@m0saic/templates/dist/m0saic/story/index.js +1 -0
  1330. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/index.js +1 -0
  1331. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/captions.js +5 -0
  1332. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/demo-fixture.js +1 -0
  1333. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/index.js +1 -0
  1334. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/kenburns.js +1 -0
  1335. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/layout.js +1 -0
  1336. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/narrated-chapters.js +4 -0
  1337. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/pipeline.js +2 -0
  1338. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/plan.js +2 -0
  1339. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/props.js +1 -0
  1340. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/scenes/body.js +2 -0
  1341. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/scenes/card.js +4 -0
  1342. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/theme.js +1 -0
  1343. package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/document.js +1 -0
  1344. package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/index.js +1 -0
  1345. package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/page.js +1 -0
  1346. package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/pages.js +1 -0
  1347. package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/pipeline.js +1 -0
  1348. package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/placeholder.js +1 -0
  1349. package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/props.js +1 -0
  1350. package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/scrapbook.js +1 -0
  1351. package/node_modules/@m0saic/templates/dist/m0saic/theming/index.js +1 -0
  1352. package/node_modules/@m0saic/templates/dist/m0saic/theming/v1/brand-m-glyph.js +1 -0
  1353. package/node_modules/@m0saic/templates/dist/m0saic/theming/v1/index.js +1 -0
  1354. package/node_modules/@m0saic/templates/dist/m0saic/theming/v1/theme-tokens.js +1 -0
  1355. package/node_modules/@m0saic/templates/dist/m0saic/theming/v1/theming.js +1 -0
  1356. package/node_modules/@m0saic/templates/dist/m0saic/theming/v1/token-sheet.js +1 -0
  1357. package/node_modules/@m0saic/templates/dist/m0saic/web/index.js +1 -0
  1358. package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/capture/capture-snippet-source.js +2 -0
  1359. package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/index.js +1 -0
  1360. package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/layout.js +1 -0
  1361. package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/page-skeleton.js +1 -0
  1362. package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/sample-capture.js +1 -0
  1363. package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/schema.js +1 -0
  1364. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/animated/v1/animated-wireframe.js +2 -0
  1365. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/animated/v1/index.js +1 -0
  1366. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/base/v1/index.js +1 -0
  1367. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/base/v1/wireframe.js +2 -0
  1368. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/base/v2/index.js +1 -0
  1369. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/base/v2/wireframe.js +1 -0
  1370. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/index.js +1 -0
  1371. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/utils/paperGrid.js +1 -0
  1372. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/utils/wireframeCell.js +2 -0
  1373. package/node_modules/@m0saic/templates/dist/registry.js +1 -0
  1374. package/node_modules/@m0saic/templates/dist/repo.js +1 -0
  1375. package/node_modules/@m0saic/templates/dist/template-registry.js +1 -0
  1376. package/node_modules/@m0saic/templates/dist/web.js +1 -0
  1377. package/node_modules/@m0saic/templates/dist/webTemplateIds.js +1 -0
  1378. package/node_modules/@m0saic/templates/package.json +6 -0
  1379. package/node_modules/@m0saic/templates/template-manifest.json +2015 -0
  1380. package/node_modules/@m0saic/templates/web-template-ids.json +84 -0
  1381. package/node_modules/@m0saic/templates-advanced/LICENSE +13 -0
  1382. package/node_modules/@m0saic/templates-advanced/README.md +5 -0
  1383. package/node_modules/@m0saic/templates-advanced/dist/index.js +1 -0
  1384. package/node_modules/@m0saic/templates-advanced/package.json +6 -0
  1385. package/node_modules/@m0saic/text/LICENSE +201 -0
  1386. package/node_modules/@m0saic/text/NOTICE +18 -0
  1387. package/node_modules/@m0saic/text/README.md +34 -0
  1388. package/node_modules/@m0saic/text/assets/fonts/JetBrainsMono-Bold.ttf +0 -0
  1389. package/node_modules/@m0saic/text/assets/fonts/JetBrainsMono-BoldItalic.ttf +0 -0
  1390. package/node_modules/@m0saic/text/assets/fonts/JetBrainsMono-Italic.ttf +0 -0
  1391. package/node_modules/@m0saic/text/assets/fonts/JetBrainsMono-OFL-1.1.txt +93 -0
  1392. package/node_modules/@m0saic/text/assets/fonts/JetBrainsMono-Regular.ttf +0 -0
  1393. package/node_modules/@m0saic/text/assets/fonts/Roboto-Bold.ttf +0 -0
  1394. package/node_modules/@m0saic/text/assets/fonts/Roboto-BoldItalic.ttf +0 -0
  1395. package/node_modules/@m0saic/text/assets/fonts/Roboto-Italic.ttf +0 -0
  1396. package/node_modules/@m0saic/text/assets/fonts/Roboto-Regular.LICENSE.txt +18 -0
  1397. package/node_modules/@m0saic/text/assets/fonts/Roboto-Regular.ttf +0 -0
  1398. package/node_modules/@m0saic/text/dist/bundledFonts.js +1 -0
  1399. package/node_modules/@m0saic/text/dist/fontCache.js +1 -0
  1400. package/node_modules/@m0saic/text/dist/fontRegistry.js +1 -0
  1401. package/node_modules/@m0saic/text/dist/index.js +1 -0
  1402. package/node_modules/@m0saic/text/dist/runsToPaths.js +1 -0
  1403. package/node_modules/@m0saic/text/dist/textToPath.js +3 -0
  1404. package/node_modules/@m0saic/text/package.json +6 -0
  1405. package/node_modules/@m0saic/types/LICENSE +201 -0
  1406. package/node_modules/@m0saic/types/NOTICE +13 -0
  1407. package/node_modules/@m0saic/types/README.md +28 -0
  1408. package/node_modules/@m0saic/types/assets/icons/mosaic.svg +36 -0
  1409. package/node_modules/@m0saic/types/assets/icons/mosaicx.svg +32 -0
  1410. package/node_modules/@m0saic/types/dist/analytics/consent.js +1 -0
  1411. package/node_modules/@m0saic/types/dist/analytics/event.js +1 -0
  1412. package/node_modules/@m0saic/types/dist/analytics/index.js +1 -0
  1413. package/node_modules/@m0saic/types/dist/analytics/redaction.js +1 -0
  1414. package/node_modules/@m0saic/types/dist/analytics/redactor.js +1 -0
  1415. package/node_modules/@m0saic/types/dist/analytics/sink.js +1 -0
  1416. package/node_modules/@m0saic/types/dist/analytics/usageMetrics.js +1 -0
  1417. package/node_modules/@m0saic/types/dist/asset/asset.js +1 -0
  1418. package/node_modules/@m0saic/types/dist/asset/index.js +1 -0
  1419. package/node_modules/@m0saic/types/dist/benchmark/index.js +1 -0
  1420. package/node_modules/@m0saic/types/dist/benchmark/session.js +1 -0
  1421. package/node_modules/@m0saic/types/dist/colors/ffmpegNamedColors.js +1 -0
  1422. package/node_modules/@m0saic/types/dist/colors/index.js +1 -0
  1423. package/node_modules/@m0saic/types/dist/colors/mosaicColor.js +1 -0
  1424. package/node_modules/@m0saic/types/dist/colors/parseMosaicColors.js +1 -0
  1425. package/node_modules/@m0saic/types/dist/community-m/community-m.js +1 -0
  1426. package/node_modules/@m0saic/types/dist/community-m/index.js +1 -0
  1427. package/node_modules/@m0saic/types/dist/defaults/audio.js +1 -0
  1428. package/node_modules/@m0saic/types/dist/defaults/color.js +1 -0
  1429. package/node_modules/@m0saic/types/dist/defaults/effects.js +1 -0
  1430. package/node_modules/@m0saic/types/dist/defaults/index.js +1 -0
  1431. package/node_modules/@m0saic/types/dist/defaults/media.js +1 -0
  1432. package/node_modules/@m0saic/types/dist/defaults/output-target.js +1 -0
  1433. package/node_modules/@m0saic/types/dist/defaults/pipeline.js +1 -0
  1434. package/node_modules/@m0saic/types/dist/defaults/placement.js +1 -0
  1435. package/node_modules/@m0saic/types/dist/defaults/text.js +1 -0
  1436. package/node_modules/@m0saic/types/dist/defaults/timing.js +1 -0
  1437. package/node_modules/@m0saic/types/dist/defaults/visual.js +1 -0
  1438. package/node_modules/@m0saic/types/dist/diagnostic/diagnostic.js +1 -0
  1439. package/node_modules/@m0saic/types/dist/diagnostic/index.js +1 -0
  1440. package/node_modules/@m0saic/types/dist/dictionary/dictionary.js +1 -0
  1441. package/node_modules/@m0saic/types/dist/dictionary/index.js +1 -0
  1442. package/node_modules/@m0saic/types/dist/document/document-pipeline.js +1 -0
  1443. package/node_modules/@m0saic/types/dist/document/document.js +1 -0
  1444. package/node_modules/@m0saic/types/dist/document/index.js +1 -0
  1445. package/node_modules/@m0saic/types/dist/document/mosaicx-document.js +1 -0
  1446. package/node_modules/@m0saic/types/dist/document/pipeline-helpers.js +1 -0
  1447. package/node_modules/@m0saic/types/dist/document/sidecars.js +1 -0
  1448. package/node_modules/@m0saic/types/dist/document/xfadeModes.js +1 -0
  1449. package/node_modules/@m0saic/types/dist/engine-context/engine-context.js +1 -0
  1450. package/node_modules/@m0saic/types/dist/engine-context/index.js +1 -0
  1451. package/node_modules/@m0saic/types/dist/host-connections/host-connections.js +1 -0
  1452. package/node_modules/@m0saic/types/dist/host-connections/index.js +1 -0
  1453. package/node_modules/@m0saic/types/dist/identifiers/identifiers.js +1 -0
  1454. package/node_modules/@m0saic/types/dist/identifiers/index.js +1 -0
  1455. package/node_modules/@m0saic/types/dist/index.js +1 -0
  1456. package/node_modules/@m0saic/types/dist/language/index.js +1 -0
  1457. package/node_modules/@m0saic/types/dist/language/language.js +1 -0
  1458. package/node_modules/@m0saic/types/dist/luminance/LuminanceBucket.js +1 -0
  1459. package/node_modules/@m0saic/types/dist/luminance/index.js +1 -0
  1460. package/node_modules/@m0saic/types/dist/meta/index.js +1 -0
  1461. package/node_modules/@m0saic/types/dist/meta/meta.js +1 -0
  1462. package/node_modules/@m0saic/types/dist/output/audio-config.js +1 -0
  1463. package/node_modules/@m0saic/types/dist/output/color-config.js +1 -0
  1464. package/node_modules/@m0saic/types/dist/output/container-metadata.js +1 -0
  1465. package/node_modules/@m0saic/types/dist/output/encode.js +1 -0
  1466. package/node_modules/@m0saic/types/dist/output/format.js +1 -0
  1467. package/node_modules/@m0saic/types/dist/output/index.js +1 -0
  1468. package/node_modules/@m0saic/types/dist/output/output.js +1 -0
  1469. package/node_modules/@m0saic/types/dist/output/target.js +1 -0
  1470. package/node_modules/@m0saic/types/dist/primitives/index.js +1 -0
  1471. package/node_modules/@m0saic/types/dist/primitives/primitives.js +1 -0
  1472. package/node_modules/@m0saic/types/dist/secrets/index.js +1 -0
  1473. package/node_modules/@m0saic/types/dist/secrets/secrets.js +1 -0
  1474. package/node_modules/@m0saic/types/dist/source/effectKeys.js +1 -0
  1475. package/node_modules/@m0saic/types/dist/source/index.js +1 -0
  1476. package/node_modules/@m0saic/types/dist/source/source.js +1 -0
  1477. package/node_modules/@m0saic/types/dist/telemetry/category.js +1 -0
  1478. package/node_modules/@m0saic/types/dist/telemetry/emit.js +1 -0
  1479. package/node_modules/@m0saic/types/dist/telemetry/event.js +1 -0
  1480. package/node_modules/@m0saic/types/dist/telemetry/ffmpegFailure.js +4 -0
  1481. package/node_modules/@m0saic/types/dist/telemetry/index.js +1 -0
  1482. package/node_modules/@m0saic/types/dist/telemetry/level.js +1 -0
  1483. package/node_modules/@m0saic/types/dist/telemetry/personas.js +1 -0
  1484. package/node_modules/@m0saic/types/dist/telemetry/record.js +1 -0
  1485. package/node_modules/@m0saic/types/dist/telemetry/sink.js +1 -0
  1486. package/node_modules/@m0saic/types/dist/telemetry/usage.js +1 -0
  1487. package/node_modules/@m0saic/types/dist/telemetry-settings/index.js +1 -0
  1488. package/node_modules/@m0saic/types/dist/telemetry-settings/mode.js +1 -0
  1489. package/node_modules/@m0saic/types/dist/telemetry-settings/settings.js +1 -0
  1490. package/node_modules/@m0saic/types/dist/telemetry-settings/upstream.js +1 -0
  1491. package/node_modules/@m0saic/types/dist/template/forensic-watermark-check.js +1 -0
  1492. package/node_modules/@m0saic/types/dist/template/forensic-watermark.js +1 -0
  1493. package/node_modules/@m0saic/types/dist/template/index.js +1 -0
  1494. package/node_modules/@m0saic/types/dist/template/region.js +1 -0
  1495. package/node_modules/@m0saic/types/dist/template/template.js +1 -0
  1496. package/node_modules/@m0saic/types/dist/template/time-range.js +1 -0
  1497. package/node_modules/@m0saic/types/dist/template/time-window.js +1 -0
  1498. package/node_modules/@m0saic/types/dist/template/timed-cue.js +1 -0
  1499. package/node_modules/@m0saic/types/dist/template-repo/index.js +1 -0
  1500. package/node_modules/@m0saic/types/dist/template-repo/template-repo.js +1 -0
  1501. package/node_modules/@m0saic/types/dist/theme/index.js +1 -0
  1502. package/node_modules/@m0saic/types/dist/theme/theme.js +1 -0
  1503. package/node_modules/@m0saic/types/package.json +6 -0
  1504. package/node_modules/@m0saic/types/schemas/mosaic.schema.json +771 -0
  1505. package/node_modules/@m0saic/types-internal/LICENSE +7 -0
  1506. package/node_modules/@m0saic/types-internal/dist/analytics/featureKeys.js +1 -0
  1507. package/node_modules/@m0saic/types-internal/dist/analytics/webEvent.js +1 -0
  1508. package/node_modules/@m0saic/types-internal/dist/index.js +1 -0
  1509. package/node_modules/@m0saic/types-internal/package.json +6 -0
  1510. package/package.json +49 -8
@@ -0,0 +1 @@
1
+ "use strict";var C=Object.defineProperty;var d=(e,t)=>C(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.PREVIEW_PIECE_LONG_MS=exports.PREVIEW_PIECE_MS=void 0,exports.standInPhoto=standInPhoto,exports.simulatedClaims=simulatedClaims,exports.previewTileLine=previewTileLine,exports.previewPiece=previewPiece;const dsl_stdlib_1=require("@m0saic/dsl-stdlib"),template_utils_1=require("@m0saic/template-utils"),platform_1=require("@m0saic/platform"),caption_1=require("./caption");function standInPhoto(e,t){return{image:{kind:"data-uri",uri:(0,platform_1.placeholderArtUrl)(e,t.style,t.seed,t.logoShare)},size:{...platform_1.PLACEHOLDER_ART_SIZE},focus:(0,platform_1.placeholderArtFocus)(e,t.style,t.seed,t.logoShare)}}d(standInPhoto,"standInPhoto");function standInClaim(e,t){const s=standInPhoto(e,t);return{image:s.image,focus:{...s.focus,zoom:1}}}d(standInClaim,"standInClaim");function simulatedClaims(e,t,s){const i=new Map;if(s.claims<=0&&s.tile===null)return i;if(s.claims>0){let o=t.size;for(const r of e.claimOrder){if(o>=s.claims)break;t.has(r)||i.has(r)||(i.set(r,standInClaim(r,s)),o++)}}return s.tile!==null&&!t.has(s.tile)&&!i.has(s.tile)&&i.set(s.tile,standInClaim(s.tile,s)),i}d(simulatedClaims,"simulatedClaims");function previewTileLine(e,t,s=null,i=32){const o=s===null?"":` - claim ${s} of ${i}`;return`tile ${e}${o} - preview stand-in - ${t==="logos"?"logo":t==="faces"?"avatar":"mixed"}, unclaimed`}d(previewTileLine,"previewTileLine");const PIECE_SIZES={"16:9":{width:1920,height:1080},"1:1":{width:1080,height:1080},"9:16":{width:1080,height:1920}};exports.PREVIEW_PIECE_MS=4e3,exports.PREVIEW_PIECE_LONG_MS=6e3;const LOREM_BODY="Consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",PALETTE=["#f97316","#38bdf8","#a78bfa","#34d399","#fbbf24"];function beatCard(e,t,s,i,o,r){return{kind:"mosaic_document",version:1,m0:(0,dsl_stdlib_1.weightedSplit)([2,5],"row",{precision:7}),size:{width:e,height:t},fps:s.fps,durationMs:exports.PREVIEW_PIECE_LONG_MS,backgroundColor:r%2===0?s.canvasColor:"#141a26",audio:{mode:"off"},assets:{},sources:[(0,template_utils_1.svgLabel)((0,caption_1.asciiSafe)(i),e,Math.round(t*2/7),{color:s.accentColor,maxPx:Math.round(t*.07),maxLines:1}),(0,template_utils_1.svgLabel)((0,caption_1.asciiSafe)(o),e,Math.round(t*5/7),{color:s.textColor,maxPx:Math.round(t*.16),maxLines:2})]}}d(beatCard,"beatCard");function previewPiece(e){const t=PIECE_SIZES[e.aspect],{width:s,height:i}=t,o=d((n,a,c,h,l=.6)=>(0,template_utils_1.svgLabel)((0,caption_1.asciiSafe)(n),s,Math.round(i*a/c),{color:h,maxPx:Math.round(i*a/c*l),maxLines:a>2?3:1}),"text");let r,u,m;const f=e.style==="reel"||e.style==="grid"?exports.PREVIEW_PIECE_LONG_MS:exports.PREVIEW_PIECE_MS,g=f/1e3;if(e.style==="bars")r=(0,dsl_stdlib_1.weightedSplit)([1,1,1,1,1],"col"),u=PALETTE.map(n=>({type:"lavfi",color:n}));else if(e.style==="card")r=(0,dsl_stdlib_1.weightedSplit)([3,6,3],"row",{precision:12}),u=[o("CONTRIBUTORS",3,12,e.accentColor,.35),o("1,284",6,12,e.textColor,.8),o("+12% since last month",3,12,e.textColor,.3)];else if(e.style==="reel"){const n=[["THE CLAIM","One tile, forever"],["THE WORK","Your template, accepted"],["THE MARK","You are in the M"]],a=g/n.length;m={},u=[{type:"lavfi",color:e.canvasColor}],n.forEach(([c,h],l)=>{const p=`beat${l}`;m[p]=beatCard(s,i,e,c,h,l);const E=l*a,v=Math.min(.45,a*.3),x=[{t:E,v:0},{t:E+v,v:1}];l<n.length-1&&x.push({t:E+a-v,v:1},{t:E+a,v:0}),u.push({type:"mosaic",ref:p,overlay:{alpha:(0,template_utils_1.keyframeExpr)(x)}})}),r=(0,dsl_stdlib_1.toM0String)("1{1{1{1}}}","CommunityMV1-preview-reel")}else if(e.style==="grid"){const n=(0,dsl_stdlib_1.grid)({rows:3,cols:4}),a=12,c=g*.6;m={cells:{kind:"mosaic_document",version:1,m0:n.m0,size:{width:s,height:i},fps:e.fps,durationMs:f,backgroundColor:e.canvasColor,audio:{mode:"off"},assets:{},sources:Array.from({length:a},(h,l)=>{const p=l/a*c;return{type:"lavfi",color:PALETTE[l%PALETTE.length],overlay:{alpha:(0,template_utils_1.keyframeExpr)([{t:p,v:0},{t:p+.35,v:1}])}}})}},u=[{type:"mosaic",ref:"cells"},{...(0,template_utils_1.svgLabel)((0,caption_1.asciiSafe)("thirty-three tiles, one mark"),s,Math.round(i*.2),{color:e.textColor,maxPx:Math.round(i*.11),maxLines:2}),placement:{fit:"contain",inset:{x:.06,y:.4}},overlay:{alpha:(0,template_utils_1.keyframeExpr)([{t:c,v:0},{t:c+.5,v:1}])}}],r=(0,dsl_stdlib_1.toM0String)("1{1}","CommunityMV1-preview-grid")}else r=(0,dsl_stdlib_1.weightedSplit)([2,4,4,2],"row",{precision:12}),u=[o("LOREM IPSUM",2,12,e.accentColor,.45),o("Dolor sit amet, consectetur",4,12,e.textColor,.42),o(LOREM_BODY,4,12,e.textColor,.22),o("your canvas goes here",2,12,e.accentColor,.35)];return{doc:{kind:"mosaic_document",version:1,m0:(0,dsl_stdlib_1.toM0String)(r,"CommunityMV1-preview-piece"),size:t,fps:e.fps,durationMs:f,backgroundColor:e.canvasColor,audio:{mode:"off"},assets:{},...m?{children:m}:{},sources:u},declaredMs:f,size:t}}d(previewPiece,"previewPiece");
@@ -0,0 +1 @@
1
+ "use strict";var b=Object.defineProperty;var u=(o,s)=>b(o,"name",{value:s,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.propsSchema=exports.DEFAULT_PROPS=void 0,exports.resolveProps=resolveProps;const template_utils_1=require("@m0saic/template-utils");exports.DEFAULT_PROPS={m:"001",tile:"root",communityDir:"",asOf:"now",introMs:2400,zoomMs:1800,holdMs:600,revealMs:2e3,slideMs:900,popMs:450,pieceMaxMs:18e3,outroMs:2e3,closerMs:2500,xfadeMs:500,accentColor:"#f97316",dormantColor:"#34343A",canvasColor:"#0E1220",textColor:"#F4F4F5",preview:{claims:0,style:"mix",seed:1,mix:.34,piece:"off",aspect:"16:9"}},exports.propsSchema=(0,template_utils_1.definePropsSchema)({m:{type:"string",required:!1,description:"Community M id (three digits), e.g. 001.",meta:{ui:{label:"Community M",order:1}}},tile:{type:"string",required:!1,description:'Which tile the video is about: a claim number ("7"), "root" for the root award, or a GitHub handle ("@octocat").',meta:{ui:{label:"Tile",order:2}}},communityDir:{type:"string",required:!1,description:"Folder holding the community-m repo (its index.json). Leave empty for the bundled seed; Mosaic Desktop and the CLI fill in the local cache automatically.",meta:{control:{picker:"folder",placeholder:"bundled seed"},ui:{label:"community-m folder",order:3}}},asOf:{type:"string",required:!1,description:"Show the M as it stands now (re-renders age into the record) or as it stood when this tile was claimed.",meta:{constraints:{oneOf:["now","claim"]},control:{options:[{value:"now",label:"As it is now"},{value:"claim",label:"As it was when claimed"}]},ui:{label:"M as of",order:4}}},introMs:{type:"number",required:!1,description:"Hold on the whole M before the zoom (ms).",meta:{constraints:{min:200,max:15e3},ui:{label:"Intro hold"}}},zoomMs:{type:"number",required:!1,description:"Zoom travel into the tile (ms).",meta:{constraints:{min:200,max:1e4},ui:{label:"Zoom"}}},holdMs:{type:"number",required:!1,description:"Hold on the zoomed tile (ms).",meta:{constraints:{min:0,max:1e4},ui:{label:"Tile hold"}}},revealMs:{type:"number",required:!1,description:"The M fades out while the tile's original image fades in (ms).",meta:{constraints:{min:400,max:1e4},ui:{label:"Reveal"}}},slideMs:{type:"number",required:!1,description:"The original slides aside for the canvas, and back again at the end (ms).",meta:{constraints:{min:200,max:5e3},ui:{label:"Slide aside"}}},popMs:{type:"number",required:!1,description:"The contributor canvas pops into place (ms).",meta:{constraints:{min:100,max:3e3},ui:{label:"Canvas pop"}}},pieceMaxMs:{type:"number",required:!1,description:"Longest the contributor piece may play (ms); shorter pieces play their declared length.",meta:{constraints:{min:500,max:6e4},ui:{label:"Piece cap"}}},outroMs:{type:"number",required:!1,description:"Zoom back out to the whole M (ms).",meta:{constraints:{min:200,max:1e4},ui:{label:"Outro"}}},closerMs:{type:"number",required:!1,description:"Brand closer at the end (ms). 0 removes it.",meta:{constraints:{min:0,max:1e4},ui:{label:"Closer"}}},xfadeMs:{type:"number",required:!1,description:"Crossfade between beats (ms).",meta:{constraints:{min:0,max:2e3},ui:{label:"Crossfade"}}},zoom:{type:"number",required:!1,description:"Camera zoom into the tile (1\u20134). Unset = auto: the tile fills the frame's tighter axis, capped at 4.",meta:{constraints:{min:1,max:4},control:{placeholder:"auto (fit the tile)"},ui:{label:"Camera zoom"}}},accentColor:{type:"string",required:!1,description:"Accent colour: claimed-tile edges and captions.",meta:{ui:{label:"Accent color"},constraints:{isColor:!0},control:{colorPicker:!0}}},dormantColor:{type:"string",required:!1,description:"Colour of open (unclaimed) tiles.",meta:{ui:{label:"Open tile color"},constraints:{isColor:!0},control:{colorPicker:!0}}},canvasColor:{type:"string",required:!1,description:"Canvas behind the M and the piece.",meta:{ui:{label:"Canvas color"},constraints:{isColor:!0},control:{colorPicker:!0}}},textColor:{type:"string",required:!1,description:"Caption text colour.",meta:{ui:{label:"Caption color"},constraints:{isColor:!0},control:{colorPicker:!0}}},preview:{type:"group",required:!1,description:"Dev levers: stand in art for open tiles, point the video at any tile, and swap the contributor piece for a generated card \u2014 so the harness can be designed before real claims exist. All off by default.",meta:{ui:{label:"Dev preview",order:20,collapsedByDefault:!0}},fields:{claims:{type:"number",required:!1,description:"Paint this many tiles as claimed using stand-in art (the same bank the Community page previews with), dealt in the M's own claim order. 0 = only real claims.",meta:{constraints:{min:0,max:33},ui:{label:"Filled tiles"}}},style:{type:"string",required:!1,description:"Which stand-in family fills open tiles.",meta:{constraints:{oneOf:["faces","logos","mix"]},control:{options:[{value:"mix",label:"Mix"},{value:"faces",label:"Faces"},{value:"logos",label:"Logos"}]},ui:{label:"Stand-ins"}}},seed:{type:"number",required:!1,description:"Re-deal the stand-in art (shuffle).",meta:{constraints:{min:1,max:9999},ui:{label:"Shuffle"}}},mix:{type:"number",required:!1,description:"Share of a mix that is logos rather than faces.",meta:{constraints:{min:0,max:1},ui:{label:"Logo share"}}},tile:{type:"number",required:!1,description:"Make the video about claim N in the M's award order (1..32 \u2014 the same order the Community page lists open tiles in, and the order Filled tiles deals stand-ins in) with stand-in art; 0 = the root. The way to exercise the zoom and crop on a wide, tall or diagonal tile instead of the root's V. Unset = the tile the slot resolves to.",meta:{constraints:{min:0,max:32},control:{placeholder:"the resolved tile"},ui:{label:"Subject tile (claim #)"}}},piece:{type:"string",required:!1,description:"Replace the contributor piece with a generated card, so the canvas beat has something in it before a real .mosaic exists.",meta:{constraints:{oneOf:["off","lorem","card","bars","reel","grid"]},control:{options:[{value:"off",label:"Real piece"},{value:"lorem",label:"Lorem card"},{value:"card",label:"Stat card"},{value:"bars",label:"Colour bars"},{value:"reel",label:"Reel (3 beats)"},{value:"grid",label:"Grid (builds in)"}]},ui:{label:"Canvas"}}},aspect:{type:"string",required:!1,description:"Shape of that generated card \u2014 the portrait option is the one the harness has to survive.",meta:{constraints:{oneOf:["16:9","1:1","9:16"]},control:{options:[{value:"16:9",label:"Landscape 16:9"},{value:"1:1",label:"Square"},{value:"9:16",label:"Portrait 9:16"}]},ui:{label:"Canvas shape"}}}}}});function resolveProps(o){var s,l,p,f;const d={...exports.DEFAULT_PROPS.preview,...stripUndefined((s=o.preview)!==null&&s!==void 0?s:{})},t={claims:d.claims,style:d.style,seed:d.seed,logoShare:d.mix,tile:(p=(l=o.preview)===null||l===void 0?void 0:l.tile)!==null&&p!==void 0?p:null,piece:d.piece,pieceAspect:d.aspect},e={...exports.DEFAULT_PROPS,...stripUndefined(o),zoom:(f=o.zoom)!==null&&f!==void 0?f:null,preview:t},i=[];/^\d{3}$/.test(e.m)||i.push(`m must be three digits (got "${e.m}")`),(typeof e.tile!="string"||e.tile.trim()==="")&&i.push("tile is required"),e.asOf!=="now"&&e.asOf!=="claim"&&i.push(`asOf must be "now" or "claim" (got "${String(e.asOf)}")`);const r=u((a,n,m)=>{const c=e[a];(!Number.isFinite(c)||c<n||c>m)&&i.push(`${a} must be ${n}..${m} ms (got ${String(c)})`)},"num");r("introMs",200,15e3),r("zoomMs",200,1e4),r("holdMs",0,1e4),r("revealMs",400,1e4),r("slideMs",200,5e3),r("popMs",100,3e3),r("pieceMaxMs",500,6e4),r("outroMs",200,1e4),r("closerMs",0,1e4),r("xfadeMs",0,2e3),e.zoom!==null&&!(Number.isFinite(e.zoom)&&e.zoom>=1&&e.zoom<=4)&&i.push(`zoom must be 1..4 (got ${String(e.zoom)})`);const h=u((a,n,m,c)=>{(!Number.isFinite(n)||n<m||n>c)&&i.push(`preview.${a} must be ${m}..${c} (got ${String(n)})`)},"rng");h("claims",t.claims,0,33),h("seed",t.seed,1,9999),h("mix",t.logoShare,0,1),t.tile!==null&&!(Number.isInteger(t.tile)&&t.tile>=0&&t.tile<=32)&&i.push(`preview.tile must be a claim number 1..32 in award order, or 0 for the root (got ${String(t.tile)})`),["faces","logos","mix"].includes(t.style)||i.push(`preview.style must be faces, logos or mix (got "${String(t.style)}")`),["off","lorem","card","bars","reel","grid"].includes(t.piece)||i.push(`preview.piece must be off, lorem, card, bars, reel or grid (got "${String(t.piece)}")`),["16:9","1:1","9:16"].includes(t.pieceAspect)||i.push(`preview.aspect must be 16:9, 1:1 or 9:16 (got "${String(t.pieceAspect)}")`);for(const a of["accentColor","dormantColor","canvasColor","textColor"])/^#[0-9a-fA-F]{6}$/.test(e[a])||i.push(`${a} must be #rrggbb (got "${e[a]}")`);return e.xfadeMs*2>Math.min(e.outroMs,e.pieceMaxMs)&&i.push("xfadeMs is too long for the outro / piece beats"),i.length?{ok:!1,errors:i}:{ok:!0,value:e}}u(resolveProps,"resolveProps");function stripUndefined(o){const s={};for(const l of Object.keys(o))o[l]!==void 0&&(s[l]=o[l]);return s}u(stripUndefined,"stripUndefined");
@@ -0,0 +1 @@
1
+ "use strict";var f=Object.defineProperty;var h=(t,i)=>f(t,"name",{value:i,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.alignedPhotoRect=alignedPhotoRect,exports.roundRect=roundRect,exports.zoomFitCap=zoomFitCap,exports.pieceBeatBudget=pieceBeatBudget,exports.pieceAxisFor=pieceAxisFor,exports.zoomPartitionCap=zoomPartitionCap,exports.assertPieceBeatDisjoint=assertPieceBeatDisjoint,exports.pieceBeatLayout=pieceBeatLayout;const template_utils_1=require("@m0saic/template-utils");function alignedPhotoRect(t){const i=t.zoom,n=(t.tile.x+t.tile.width/2)/t.stageW,e=(t.tile.y+t.tile.height/2)/t.stageH,o=i>1?t.stageW*(i-1)*(0,template_utils_1.centerFocus)(n,i):0,r=i>1?t.stageH*(i-1)*(0,template_utils_1.centerFocus)(e,i):0,a=Math.max(t.tile.width/t.image.width,t.tile.height/t.image.height),c=t.image.width*a,u=t.image.height*a,d=(c-t.tile.width)*t.focus.x,m=(u-t.tile.height)*t.focus.y;return{x:(t.tile.x-d)*i-o,y:(t.tile.y-m)*i-r,width:c*i,height:u*i}}h(alignedPhotoRect,"alignedPhotoRect");function roundRect(t){const i=Math.max(2,Math.round(t.width/2)*2),n=Math.max(2,Math.round(t.height/2)*2);return{x:Math.round(t.x),y:Math.round(t.y),width:i,height:n}}h(roundRect,"roundRect");function zoomFitCap(t){var i,n;const e=(i=t.minZoom)!==null&&i!==void 0?i:1.02;return(n=largestZoom(h(r=>{const a=alignedPhotoRect({...t,zoom:r});return a.x>=t.margin&&a.y>=t.margin&&a.x+a.width<=t.stageW-t.margin&&a.y+a.height<=t.stageH-t.margin},"fits"),e,t.maxZoom))!==null&&n!==void 0?n:e}h(zoomFitCap,"zoomFitCap");function pieceBeatBudget(t,i){const n=Math.round(Math.min(t,i)*.045),e=n,o=Math.round(t*.3),r=Math.round(i*.3);return{margin:n,gap:e,pieceMinW:o,pieceMinH:r,photoMaxW:t-2*n-e-o,photoMaxH:i-2*n-e-r}}h(pieceBeatBudget,"pieceBeatBudget");function pieceAxisFor(t,i){const n=t.width<=i.photoMaxW,e=t.height<=i.photoMaxH;return n&&e?t.width/i.photoMaxW<=t.height/i.photoMaxH?"x":"y":n?"x":e?"y":null}h(pieceAxisFor,"pieceAxisFor");function largestZoom(t,i,n){if(t(n))return n;if(!t(i))return null;let e=i,o=n;for(let r=0;r<40;r++){const a=(e+o)/2;t(a)?e=a:o=a}return Math.floor(e*1e3)/1e3}h(largestZoom,"largestZoom");function zoomPartitionCap(t){var i,n,e;const o=(i=t.minZoom)!==null&&i!==void 0?i:1.02,r=pieceBeatBudget(t.frameW,t.frameH),a=h(s=>alignedPhotoRect({...t,zoom:s}),"rectAt"),c=h(s=>s.x>=t.margin&&s.y>=t.margin&&s.x+s.width<=t.stageW-t.margin&&s.y+s.height<=t.stageH-t.margin,"fitsStage"),u=h(s=>s.width<=r.photoMaxW,"onX"),d=h(s=>s.height<=r.photoMaxH,"onY"),m=h(s=>{const x=largestZoom(p=>{const g=a(p);return s(g)&&u(g)},o,t.maxZoom),l=largestZoom(p=>{const g=a(p);return s(g)&&d(g)},o,t.maxZoom);return x===null&&l===null?null:Math.max(x??-1/0,l??-1/0)},"best");return(e=(n=m(c))!==null&&n!==void 0?n:m(()=>!0))!==null&&e!==void 0?e:o}h(zoomPartitionCap,"zoomPartitionCap");function assertPieceBeatDisjoint(t,i,n,e){if(!(t==="x"?n.x>=i.x+i.width+e:n.y>=i.y+i.height+e))throw new Error(`community-m: piece-beat layout contract violated on axis ${t} \u2014 parked photo ${JSON.stringify(i)} vs piece ${JSON.stringify(n)} (gap ${e}). This is a bug in the zoom cap, not the inputs.`)}h(assertPieceBeatDisjoint,"assertPieceBeatDisjoint");function pieceBeatLayout(t){const i=pieceBeatBudget(t.frameW,t.frameH),n=pieceAxisFor(t.photo,i);if(n===null)throw new Error(`community-m: the parked original (${t.photo.width}\xD7${t.photo.height}) leaves the contributor canvas no room on a ${t.frameW}\xD7${t.frameH} frame (needs width \u2264 ${i.photoMaxW} or height \u2264 ${i.photoMaxH}); the zoom cap must run first.`);const e=n==="x"?{...t.photo,x:i.margin}:{...t.photo,y:i.margin},o=n==="x"?{x:e.x+e.width+i.gap,y:i.margin,width:t.frameW-i.margin-(e.x+e.width+i.gap),height:t.frameH-2*i.margin}:{x:i.margin,y:e.y+e.height+i.gap,width:t.frameW-2*i.margin,height:t.frameH-i.margin-(e.y+e.height+i.gap)},r=Math.min(o.width/t.piece.width,o.height/t.piece.height),a=Math.max(2,Math.floor(t.piece.width*r/2)*2),c=Math.max(2,Math.floor(t.piece.height*r/2)*2),u={x:o.x+Math.round((o.width-a)/2),y:o.y+Math.round((o.height-c)/2),width:a,height:c};return assertPieceBeatDisjoint(n,e,u,i.gap),{axis:n,parked:e,parkedX:e.x,parkedY:e.y,dx:e.x-t.photo.x,dy:e.y-t.photo.y,pieceRect:u,gap:i.gap}}h(pieceBeatLayout,"pieceBeatLayout");
@@ -0,0 +1,2 @@
1
+ "use strict";var x=Object.defineProperty;var r=(e,t)=>x(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.SEED_PIECE_TIMELINE=exports.SEED_PIECE_LINE=exports.SEED_PIECE_FPS=exports.SEED_PIECE_DURATION_MS=exports.SEED_PIECE_SIDE=void 0,exports.seedPieceLayout=seedPieceLayout,exports.mLegPaths=mLegPaths,exports.buildSeedPiece=buildSeedPiece,exports.seedPieceJson=seedPieceJson;const template_utils_1=require("@m0saic/template-utils");exports.SEED_PIECE_SIDE=1080,exports.SEED_PIECE_DURATION_MS=4e3,exports.SEED_PIECE_FPS=30,exports.SEED_PIECE_LINE="one tile, forever";const CANVAS="#0E1220",ACCENT="#f97316",DORMANT="#34343A",INK="#F4F4F5";exports.SEED_PIECE_TIMELINE={assembleStart:.4,assembleDur:1,legsStart:1.05,legsDur:.6,lineStart:1.9,lineDur:.5};function seedPieceLayout(e=exports.SEED_PIECE_SIDE){const t=Math.round(e*.54),n={x:Math.round((e-t)/2),y:Math.round(e*.139),w:t,h:t},s=Math.round(e*.118),o={x:Math.round(e*.074),y:Math.round(e*.737),w:e-2*Math.round(e*.074),h:s};return{mark:n,line:o}}r(seedPieceLayout,"seedPieceLayout");function subpathBBox(e){var t;const n=(t=e.match(/[MLHVZ]|-?\d*\.?\d+(?:e-?\d+)?/gi))!==null&&t!==void 0?t:[];let s="M",o=0,E=0,a=null,c=1/0,i=1/0,u=-1/0,l=-1/0;const m=r(()=>{c=Math.min(c,o),u=Math.max(u,o),i=Math.min(i,E),l=Math.max(l,E)},"mark");for(const _ of n){if(/^[MLHVZ]$/i.test(_)){s=_.toUpperCase(),a=null;continue}const p=Number(_);s==="H"?(o=p,m()):s==="V"?(E=p,m()):a===null?a=p:(o=a,E=p,a=null,m())}return{x:c,y:i,w:u-c,h:l-i}}r(subpathBBox,"subpathBBox");function mLegPaths(){const e=r(t=>template_utils_1.M_RECTS.some(([n,s,o,E])=>Math.abs(t.x-n)<.25&&Math.abs(t.y-s)<.25&&Math.abs(t.w-o)<.25&&Math.abs(t.h-E)<.25),"isRect");return template_utils_1.HEADER_M_GLYPH.path.split(/(?=M)/).map(t=>t.trim()).filter(t=>t&&!e(subpathBBox(t)))}r(mLegPaths,"mLegPaths");const r3=r(e=>Number(e.toFixed(3)),"r3");function ramp(e,t){return(0,template_utils_1.easingExpr)("easeOut",(0,template_utils_1.progressExpr)(r3(e),Math.max(.001,r3(t))))}r(ramp,"ramp");function fadeIn(e,t){return{alpha:(0,template_utils_1.easingExpr)("smoothstep",(0,template_utils_1.progressExpr)(r3(e),Math.max(.001,r3(t)))),startAtSec:r3(e),window:{startSec:r3(e)}}}r(fadeIn,"fadeIn");function riseIn(e,t,n){const s=ramp(e,t);return{alpha:s,yExpr:`(1-${s})*${n}`,startAtSec:r3(e),window:{startSec:r3(e)}}}r(riseIn,"riseIn");function buildSeedPiece(){const e=exports.SEED_PIECE_SIDE,t=exports.SEED_PIECE_TIMELINE,{mark:n,line:s}=seedPieceLayout(e),o={x:0,y:0,w:e,h:e},E=(0,template_utils_1.markAssembly)({W:e,H:e,S:e,mark:n,startSec:t.assembleStart,durSec:t.assembleDur,fps:exports.SEED_PIECE_FPS,fromColor:DORMANT,toColor:ACCENT}),a={bounds:template_utils_1.HEADER_M_GLYPH.bounds,path:mLegPaths().join(" ")},c=[{rect:{...o,importance:0},source:(0,template_utils_1.makeColorTile)(CANVAS)},...(0,template_utils_1.assemblyTracks)(E.boxes,ACCENT).map((u,l)=>({rect:{...o,importance:1+l},source:u})),{rect:{...n,importance:10},source:{...(0,template_utils_1.brandGlyphTile)(a,ACCENT),overlay:fadeIn(t.legsStart,t.legsDur)}},{rect:{...s,importance:11},source:{...(0,template_utils_1.svgLabel)(exports.SEED_PIECE_LINE,s.w,s.h,{color:INK,maxPx:Math.round(e*.07),maxLines:1}),overlay:riseIn(t.lineStart,t.lineDur,Math.round(e*.03))}}],i=(0,template_utils_1.placeInsetPieces)({rootW:e,rootH:e,pieces:c});return{kind:"mosaic_document",version:1,m0:i.m0,size:{width:e,height:e},fps:exports.SEED_PIECE_FPS,durationMs:exports.SEED_PIECE_DURATION_MS,backgroundColor:CANVAS,assets:{},sources:i.sources}}r(buildSeedPiece,"buildSeedPiece");function seedPieceJson(){return JSON.stringify(buildSeedPiece(),null,2)+`
2
+ `}r(seedPieceJson,"seedPieceJson");
@@ -0,0 +1 @@
1
+ "use strict";var I=Object.defineProperty;var l=(t,e)=>I(t,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.buildTarget=buildTarget,exports.syntheticSlot=syntheticSlot,exports.identityLine=identityLine,exports.tileLine=tileLine,exports.previewIsOn=previewIsOn,exports.awardToTileIndex=awardToTileIndex,exports.subjectOf=subjectOf,exports.harnessClaims=harnessClaims;const types_1=require("@m0saic/types"),platform_1=require("@m0saic/platform"),preview_1=require("./preview");function buildTarget(t,e){const n=(0,platform_1.resolveCommunitySlot)(t,e.m,e.tile);if(!n.ok&&!(n.code==="UNCLAIMED"&&e.allowUnclaimed))return{ok:!1,error:n.code==="UNCLAIMED"?`${n.error}. Turn on Dev preview (filled tiles, or a generated canvas) to preview it anyway.`:n.error};const o=n.ok?n.m:t.ms.find(c=>c.id===e.m);if(!o)return{ok:!1,error:`Community M "${e.m}" not found`};const i=!n.ok,a=n.ok?n.slot:syntheticSlot(o,e.tile);if(!a)return{ok:!1,error:`tile "${e.tile}" does not name a slot of Community M ${e.m}`};const s=e.asOf==="claim"?a.claimedAt:null,r=l(c=>s===null||c.claimedAt<=s,"visible"),d=new Map,f=l(c=>{const p=e.pictureFor(c);p&&d.set(c.tileIndex,{image:p,slot:c})},"add");for(const c of o.slots)r(c)&&f(c);const m=!!o.root.slot&&r(o.root.slot);o.root.slot&&m&&f(o.root.slot);const u=i?null:e.pictureFor(a);return{ok:!0,target:{manifest:t,entry:o,slot:a,tileImage:u,claimedTiles:d,rootShown:m,synthetic:i}}}l(buildTarget,"buildTarget");function syntheticSlot(t,e){var n;const o=e.trim(),i=l((d,f,m)=>{var u;return{slot:f,tileIndex:d,stableKey:m,handle:"preview",displayName:"Preview",claimedAt:(u=t.openedAt)!==null&&u!==void 0?u:"",tile:"",piece:""}},"at");if(o.toLowerCase()==="root"||o==="0")return i(types_1.COMMUNITY_M_TIP_TILE_INDEX,0,types_1.COMMUNITY_M_TIP_STABLE_KEY);if(!/^\d+$/.test(o))return null;const a=Number(o),s=t.claimOrder[a-1];if(s===void 0)return null;const r=(n=platform_1.M_TILES.find(d=>d.tileIndex===s))===null||n===void 0?void 0:n.stableKey;return r?i(s,a,r):null}l(syntheticSlot,"syntheticSlot");function identityLine(t){const e=t.openedAt?`opened ${t.openedAt.slice(0,10)}`:"not yet open",n=t.completedAt?`completed ${t.completedAt.slice(0,10)}`:t.status==="locked"?"locked":"in progress";return`${t.title} - ${e} - ${n}`}l(identityLine,"identityLine");function tileLine(t,e){const n=e.slot===0?"root":`claim ${e.slot} of ${t.capacity}`;return`tile ${e.tileIndex} - ${n} - @${e.handle} - ${e.claimedAt.slice(0,10)}`}l(tileLine,"tileLine");function previewIsOn(t){return t.claims>0||t.tile!==null||t.piece!=="off"}l(previewIsOn,"previewIsOn");function awardToTileIndex(t,e){if(e<=0)return{tileIndex:t.root.tileIndex,claimNo:null};const n=t.claimOrder[e-1];if(n===void 0)throw new Error(`community-m: claim ${e} is past this M's award order (${t.claimOrder.length} claims)`);return{tileIndex:n,claimNo:e}}l(awardToTileIndex,"awardToTileIndex");function subjectOf(t,e){const n=e.tile===null?null:awardToTileIndex(t.entry,e.tile),o=n?n.tileIndex:t.slot.tileIndex,i=e.tile!==null||t.tileImage===null;return{tileIndex:o,standIn:i,caption:i?(0,preview_1.previewTileLine)(o,e.style,n?n.claimNo:null,t.entry.capacity):tileLine(t.entry,t.slot),photo:i?(0,preview_1.standInPhoto)(o,e):null}}l(subjectOf,"subjectOf");function harnessClaims(t,e,n,o){const i=new Map;for(const[s,r]of t.claimedTiles)i.set(s,{image:r.image,...r.slot.focus?{focus:r.slot.focus}:{}});const a={...e,tile:n.standIn?n.tileIndex:null};for(const[s,r]of o(t.entry,new Set(i.keys()),a))i.set(s,r);return i}l(harnessClaims,"harnessClaims");
@@ -0,0 +1 @@
1
+ "use strict";var k=Object.defineProperty;var d=(s,f)=>k(s,"name",{value:f,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveTimeline=resolveTimeline;const template_utils_1=require("@m0saic/template-utils"),PIECE_MIN_MS=500;function resolveTimeline(s,f,_){const e=d(o=>Math.max(0,Math.round(o)),"r");let M=e(s.introMs),l=e(s.zoomMs),a=e(s.holdMs),m=e(s.revealMs),u=e(s.slideMs),r=e(s.outroMs),c=e(s.closerMs);const p=e(s.xfadeMs);let t=e(Math.min(f,s.pieceMaxMs));const i=d(()=>M+l+a+2*(m+u)+r+c,"harness");let h="natural";const x=(0,template_utils_1.resolvePinnedDurationMs)(_);if(x!==void 0){h="pinned";const o=e(x),v=1200+PIECE_MIN_MS;if(o<v)return{ok:!1,error:`pinned duration ${o} ms is too short (minimum ${v} ms)`};if(o>=i()+PIECE_MIN_MS)t=Math.min(t,o-i()),i()+t<o&&(t=o-i());else{t=PIECE_MIN_MS;const n=(o-PIECE_MIN_MS)/i();M=e(M*n),l=e(l*n),a=e(a*n),m=e(m*n),u=e(u*n),r=e(r*n),c=e(c*n),r+=o-(i()+t)}}const b=i()+t;return{ok:!0,timeline:{introVisibleMs:M+l+a,introHoldMs:M,zoomMs:l,tileHoldMs:a,revealMs:m,slideMs:u,popMs:Math.min(e(s.popMs),Math.floor(t/2)),pieceVisibleMs:t,outroMs:r,closerMs:c,xfadeMs:Math.min(p,Math.floor(Math.min(t,r)/2)),totalMs:b,source:h}}}d(resolveTimeline,"resolveTimeline");
@@ -0,0 +1 @@
1
+ "use strict";var c=Object.defineProperty;var o=(r,e)=>c(r,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.acceptWebPiece=acceptWebPiece,exports.fetchWebPiece=fetchWebPiece;const ALLOWED_SOURCE_KINDS=new Set(["lavfi","text","mosaic"]);function acceptWebPiece(r){if(!r||typeof r!="object")return{ok:!1,error:"piece is not an object"};const e=r;if(e.kind!=="mosaic_document")return{ok:!1,error:`piece kind is "${String(e.kind)}"`};const t=e.size;if(!t||!(t.width>0)||!(t.height>0))return{ok:!1,error:"piece declares no size"};if(typeof e.durationMs!="number"||!(e.durationMs>0))return{ok:!1,error:"piece declares no durationMs"};if(e.assets&&Object.keys(e.assets).length>0)return{ok:!1,error:"piece carries its own media, which the browser cannot reach"};if(!Array.isArray(e.sources)||e.sources.length===0)return{ok:!1,error:"piece has no sources"};for(const s of e.sources)if(!s||!ALLOWED_SOURCE_KINDS.has(String(s.type)))return{ok:!1,error:`piece uses a "${String(s?.type)}" source, which the browser cannot render`};const i=r;return{ok:!0,piece:{doc:i,declaredMs:i.durationMs,size:{width:t.width,height:t.height}}}}o(acceptWebPiece,"acceptWebPiece");async function fetchWebPiece(r){try{const e=await fetch(r);return e.ok?acceptWebPiece(await e.json()):{ok:!1,error:`piece not served (${e.status})`}}catch(e){return{ok:!1,error:`piece unreachable: ${e instanceof Error?e.message:String(e)}`}}}o(fetchWebPiece,"fetchWebPiece");
@@ -0,0 +1 @@
1
+ "use strict";var i=Object.defineProperty;var a=(t,e)=>i(t,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.WORDMARK_ROW_SHARE=void 0,exports.wordmarkBox=wordmarkBox,exports.wordmarkRowDoc=wordmarkRowDoc;const template_utils_1=require("@m0saic/template-utils");exports.WORDMARK_ROW_SHARE=.82;function wordmarkBox(t,e){const o=template_utils_1.WORDMARK_BOUNDS.width/template_utils_1.WORDMARK_BOUNDS.height;let s=Math.max(1,Math.round(e*exports.WORDMARK_ROW_SHARE)),r=Math.max(1,Math.round(s*o));return r>t&&(r=t,s=Math.max(1,Math.round(r/o))),{x:Math.floor((t-r)/2),y:Math.floor((e-s)/2),w:r,h:s}}a(wordmarkBox,"wordmarkBox");function pathTile(t,e){return(0,template_utils_1.makeColorTile)(e,{mask:{kind:"inline-mask",localPath:t.join(" "),bounds:{x:0,y:0,width:template_utils_1.WORDMARK_BOUNDS.width,height:template_utils_1.WORDMARK_BOUNDS.height}}})}a(pathTile,"pathTile");function wordmarkRowDoc(t){const e=wordmarkBox(t.rowW,t.rowH),o=(0,template_utils_1.placeInsetPieces)({rootW:t.rowW,rootH:t.rowH,pieces:[{rect:{...e,importance:0},source:pathTile(template_utils_1.WORDMARK_LETTER_PATHS,t.ink)},{rect:{...e,importance:1},source:pathTile(template_utils_1.WORDMARK_ZERO_PATHS,t.accent)}]});return{kind:"mosaic_document",version:1,m0:o.m0,size:{width:t.rowW,height:t.rowH},fps:t.fps,durationMs:t.durationMs,backgroundColor:t.canvasColor,audio:{mode:"off"},assets:{},sources:o.sources}}a(wordmarkRowDoc,"wordmarkRowDoc");
@@ -0,0 +1 @@
1
+ "use strict";var o=Object.defineProperty;var e=(r,t)=>o(r,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.BusinessCard=exports.CommunityMV1=exports.QrStampStill=exports.QrStampVideoV2=exports.TheMosaicMV3=exports.TheMosaicMV2=exports.TheMosaicM=void 0;var v1_1=require("./logo/v1");Object.defineProperty(exports,"TheMosaicM",{enumerable:!0,get:e(function(){return v1_1.TheMosaicM},"get")});var v2_1=require("./logo/v2");Object.defineProperty(exports,"TheMosaicMV2",{enumerable:!0,get:e(function(){return v2_1.TheMosaicMV2},"get")});var v3_1=require("./logo/v3");Object.defineProperty(exports,"TheMosaicMV3",{enumerable:!0,get:e(function(){return v3_1.TheMosaicMV3},"get")});var v2_2=require("./qr-stamp/video/v2");Object.defineProperty(exports,"QrStampVideoV2",{enumerable:!0,get:e(function(){return v2_2.QrStampVideoV2},"get")});var v1_2=require("./qr-stamp/still/v1");Object.defineProperty(exports,"QrStampStill",{enumerable:!0,get:e(function(){return v1_2.QrStampStill},"get")});var v1_3=require("./community-m/v1");Object.defineProperty(exports,"CommunityMV1",{enumerable:!0,get:e(function(){return v1_3.CommunityMV1},"get")});var v1_4=require("./business-card/v1");Object.defineProperty(exports,"BusinessCard",{enumerable:!0,get:e(function(){return v1_4.BusinessCard},"get")});
@@ -0,0 +1 @@
1
+ "use strict";var t=Object.defineProperty;var e=(r,o)=>t(r,"name",{value:o,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.TheMosaicM=void 0;var logo_1=require("./logo");Object.defineProperty(exports,"TheMosaicM",{enumerable:!0,get:e(function(){return logo_1.TheMosaicM},"get")});
@@ -0,0 +1 @@
1
+ "use strict";var Y=Object.defineProperty;var E=(e,o)=>Y(e,"name",{value:o,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.TheMosaicM=void 0;const types_1=require("@m0saic/types"),dsl_stdlib_1=require("@m0saic/dsl-stdlib"),template_utils_1=require("@m0saic/template-utils"),dictionary_1=require("@m0saic/dictionary"),HERO_ORANGE="#f97316",propsSchema=(0,template_utils_1.definePropsSchema)({color:{type:"string",required:!1,description:"Foreground color of the logo tiles",meta:{constraints:{isColor:!0},ui:{label:"Logo Color"},control:{colorPicker:!0,placeholder:HERO_ORANGE}}},size:{type:"string",required:!1,description:"Brand entry to render. v1 is bitmap-only: only m-33_bitmap is supported (272x272 grid, 36770 frames).",meta:{constraints:{oneOf:["m-33_bitmap"]},ui:{label:"Size"}}},animation:{type:"string",required:!1,description:"Animation mode: logo_loop (reveal in/out), progress_fill (0\u2192100%), loading_shimmer (looping shimmer while loading)",meta:{constraints:{oneOf:["logo_loop","progress_fill","loading_shimmer"]},ui:{label:"Animation",order:5}}},loopSec:{type:"number",required:!1,description:"Total duration of the animation loop (in seconds)",meta:{constraints:{min:.1,max:60},ui:{label:"Loop (sec)",order:10}}},inEnd:{type:"number",required:!1,description:"Fraction of the loop used for the reveal-in phase",meta:{constraints:{min:1e-4,max:1},ui:{label:"Reveal-in end",order:20}}},outStart:{type:"number",required:!1,description:"Fraction of the loop where reveal-out begins",meta:{constraints:{min:0,max:.9999},ui:{label:"Reveal-out start",order:30}}},feather:{type:"number",required:!1,description:"Feather amount in normalized units (0..1) to soften thresholds (fill / shimmer / reveal)",meta:{constraints:{min:0,max:.2},ui:{label:"Feather",order:35}}},startDelay:{type:"number",required:!1,description:"Fraction of the loop to hold on black BEFORE reveal starts.",meta:{constraints:{min:0,max:.9},ui:{label:"Start pause",order:25}}},endDelay:{type:"number",required:!1,description:"Fraction of the loop to hold on black AFTER reveal-out finishes.",meta:{constraints:{min:0,max:.9},ui:{label:"End pause",order:27}}},easing:{type:"string",required:!1,description:"Easing applied to the active progress. smoothstep = calm ease-in-out.",meta:{constraints:{oneOf:["linear","smoothstep"]},ui:{label:"Easing",order:45}}},progress:{type:"number",required:!1,description:"Progress 0..1 for progress_fill; when set, fills tiles directly (no time animation).",meta:{control:{placeholder:"auto (animated)"},constraints:{min:0,max:1},ui:{label:"Progress",order:50}}},progressSec:{type:"number",required:!1,description:"Duration (sec) for auto progress animation when progress is not set. Used only for progress_fill.",meta:{constraints:{min:.1,max:60},ui:{label:"Progress duration (sec)",order:52}}},oneShot:{type:"boolean",required:!1,description:"When true and progress is auto-animated, play once (no loop).",meta:{ui:{label:"One-shot",order:54}}},shimmerSec:{type:"number",required:!1,description:"Duration (sec) for one shimmer sweep. Used only for loading_shimmer.",meta:{constraints:{min:.1,max:60},ui:{label:"Shimmer duration (sec)",order:60}}},shimmerWidth:{type:"number",required:!1,description:"Width of the shimmer band in normalized units across the filled tiles (0..1). Used only for loading_shimmer.",meta:{constraints:{min:.01,max:1},ui:{label:"Shimmer width",order:62}}}}),DICT_ID_BITMAP="brand/m-33_bitmap",BITMAP_GRID=272;function bitmapRowMajorToCoords(e,o){const r=o*o,s=e.replace(/[^F1-]/g,"");if(s.length!==r)return{ok:!1,error:`Expected ${r} bitmap chars (F/1/-) after stripping DSL punctuation; got ${s.length}`};const i=[];for(let t=0;t<s.length;t++){const n=s[t];if(n==="F"||n==="1"){const l=t%o,c=Math.floor(t/o);i.push({x:l,y:c})}}return{ok:!0,coords:i,filledCount:i.length}}E(bitmapRowMajorToCoords,"bitmapRowMajorToCoords");function buildEnableExpr(e,o){const{loopSec:r,inEnd:s,outStart:i,feather:t,fps:n,startDelay:l,endDelay:c}=o,d=`mod(t,${r})/${r}`,S=`(1/${n})/${r}`,_=`gte(${d},${S})`,h=`${l}`,P=`(1-${c})`,D=`(${P}-${h})`,p=`gte(${d},${h})*lt(${d},${P})`,f=`(((${d})-${h})/${D})`,m=o.easing==="smoothstep"?`(${f})*(${f})*(3-2*(${f}))`:`${f}`,g=`(1-${i})`,q=`min((${m})/${s},1)`,$=`min(max(((${m})-${i})/${g},0),1)`;return`${_}*${p}*gte((${q})+${t},${e})*gte((1-(${$}))+${t},${e})`}E(buildEnableExpr,"buildEnableExpr");function progressFillRawScore(e,o,r){if(r<=1)return 0;const s=r-1,i=e/s,t=o/s;return .75*i+.25*(1-t)}E(progressFillRawScore,"progressFillRawScore");function buildPercentileRanks(e,o){const r=e.map((t,n)=>({idx:n,raw:progressFillRawScore(t.x,t.y,o)}));r.sort((t,n)=>t.raw-n.raw);const s=r.length,i=new Array(s);for(let t=0;t<s;t++){const n=s<=1?0:t/(s-1);i[r[t].idx]=n}return i}E(buildPercentileRanks,"buildPercentileRanks");function buildProgressFillEnableExpr(e,o){const{progress:r,progressSec:s,oneShot:i,feather:t,fps:n}=o,l=`gte(t,1/${n})`,c=r!==void 0?String(Math.max(0,Math.min(1,r))):i?`min(max(t/${s},0),1)`:`mod(t,${s})/${s}`;return`${l}*gte((${c})+${t},${e})`}E(buildProgressFillEnableExpr,"buildProgressFillEnableExpr");function buildLoadingShimmerEnableExpr(e,o){const{shimmerSec:r,shimmerWidth:s,feather:i,fps:t}=o,n=`gte(t,1/${t})`,l=`mod(t,${r})/${r}`,c=`(${s}/2)`,d=`abs(${e}-(${l}))`,S=`abs(${e}-((${l})-1))`,_=`abs(${e}-((${l})+1))`,h=`min(min(${d},${S}),${_})`;return`${n}*lte(${h},(${c})+${i})`}E(buildLoadingShimmerEnableExpr,"buildLoadingShimmerEnableExpr"),exports.TheMosaicM={id:(0,types_1.asTemplateId)("@m0saic/brand/logo/v1"),label:"The M0saic M Logo",version:1,lattice:{mode:"bitmap"},description:"Deterministic render of the canonical m0saic M bitmap",capabilities:{tier:"core"},tags:["brand","logo"],deprecated:{reason:"Bitmap-only (m-33_bitmap, 36,770 frames \u2014 slow). Superseded by @m0saic/brand/logo/v3, which renders every brand mark (M as rects or bitmap, the m0 logotype, the m0saic pattern) with an animated reveal.",replacement:(0,types_1.asTemplateId)("@m0saic/brand/logo/v3"),since:"2026-07-15"},outputHints:{fps:30,durationMs:3200,width:1080,height:1080,note:"Square logo loop"},propsSchema,defaultProps:{animation:"logo_loop",color:HERO_ORANGE,size:"m-33_bitmap",loopSec:3.2,inEnd:.25,outStart:.75,feather:.02,startDelay:.1,endDelay:.2,easing:"smoothstep",progressSec:2,oneShot:!1,shimmerSec:1.2,shimmerWidth:.18},render(e,o){var r,s,i,t,n,l,c,d,S,_,h,P,D;const p=(r=e.animation)!==null&&r!==void 0?r:"logo_loop",f=(s=e.loopSec)!==null&&s!==void 0?s:this.defaultProps.loopSec,m=(i=e.inEnd)!==null&&i!==void 0?i:this.defaultProps.inEnd,g=(t=e.outStart)!==null&&t!==void 0?t:this.defaultProps.outStart,q=(n=e.color)!==null&&n!==void 0?n:this.defaultProps.color,$=(l=e.feather)!==null&&l!==void 0?l:this.defaultProps.feather,b=(c=e.startDelay)!==null&&c!==void 0?c:this.defaultProps.startDelay,y=(d=e.endDelay)!==null&&d!==void 0?d:this.defaultProps.endDelay,F=(S=e.easing)!==null&&S!==void 0?S:this.defaultProps.easing,w=(_=e.progressSec)!==null&&_!==void 0?_:this.defaultProps.progressSec,U=(h=e.oneShot)!==null&&h!==void 0?h:this.defaultProps.oneShot,x=(P=e.shimmerSec)!==null&&P!==void 0?P:this.defaultProps.shimmerSec,T=(D=e.shimmerWidth)!==null&&D!==void 0?D:this.defaultProps.shimmerWidth,W=o.output.fps,a=[];if($>=0&&$<=.2||a.push(`feather must be in [0,0.2] (got ${$})`),p==="progress_fill")if(e.progress!==void 0){const u=e.progress;(!Number.isFinite(u)||u<0||u>1)&&a.push(`progress must be finite and in [0,1] (got ${u})`)}else w>0||a.push(`progressSec must be > 0 when progress is not set (got ${w})`),(w<.1||w>60)&&a.push(`progressSec must be in [0.1, 60] (got ${w})`);else p==="loading_shimmer"?(x>0||a.push(`shimmerSec must be > 0 (got ${x})`),(x<.1||x>60)&&a.push(`shimmerSec must be in [0.1, 60] (got ${x})`),T>0&&T<=1||a.push(`shimmerWidth must be in (0,1] (got ${T})`)):(f>0||a.push(`loopSec must be > 0 (got ${f})`),m>0&&m<=1||a.push(`inEnd must be in (0,1] (got ${m})`),g>=0&&g<1||a.push(`outStart must be in [0,1) (got ${g})`),m<g||a.push(`Expected inEnd < outStart (got inEnd=${m}, outStart=${g})`),b>=0&&b<1||a.push(`startDelay must be in [0,1) (got ${b})`),y>=0&&y<1||a.push(`endDelay must be in [0,1) (got ${y})`),b+y<1||a.push(`Expected startDelay + endDelay < 1 (got ${b+y})`),F!=="linear"&&F!=="smoothstep"&&a.push(`easing must be "linear" or "smoothstep" (got ${String(F)})`),1-y-b>0||a.push(`Active window must be > 0 (got ${1-y-b})`));if(a.length)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(a.join(" | "),{title:`${this.id} props`,width:o.output.width,height:o.output.height}));const G=DICT_ID_BITMAP,I=dictionary_1.registry.byId[G];if(!I)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(`Dictionary entry "${G}" not found.`,{title:`${this.id} entry`,width:o.output.width,height:o.output.height}));const k=I.sourceCount,L=I.m0,A=BITMAP_GRID,O=bitmapRowMajorToCoords(L,A);if(O.ok===!1)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(O.error,{title:`${this.id} mask`,width:o.output.width,height:o.output.height}));const C=O.coords;if(C.length!==k)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(`Filled-count (${C.length}) != sourceCount (${k}). (Treating 'F' and legacy '1' as filled.)`,{title:`${this.id} mask`,width:o.output.width,height:o.output.height}));const B=p==="progress_fill"||p==="loading_shimmer"?buildPercentileRanks(C,A):null,z={kind:"mosaic_document",version:1,sources:p==="progress_fill"?Array.from({length:k},(u,v)=>{const M=B[v],R=buildProgressFillEnableExpr(M,{progress:e.progress,progressSec:w,oneShot:U,feather:$,fps:W});return(0,template_utils_1.makeColorTile)(q,{overlay:{enable:R}})}):p==="loading_shimmer"?Array.from({length:k},(u,v)=>{const M=B[v],R=buildLoadingShimmerEnableExpr(M,{shimmerSec:x,shimmerWidth:T,feather:$,fps:W});return(0,template_utils_1.makeColorTile)(q,{overlay:{enable:R}})}):(()=>{const u=(A-1)/2,v=(A-1)/2,M=Math.sqrt(u*u+v*v),H=!0?1-m:g;return Array.from({length:k},(ee,V)=>{const{x:J,y:K}=C[V],j=J-u,N=K-v,Q=M===0?0:Math.sqrt(j*j+N*N)/M,X=buildEnableExpr(Q,{loopSec:f,inEnd:m,outStart:H,feather:$,fps:W,startDelay:b,endDelay:y,easing:F});return(0,template_utils_1.makeColorTile)(q,{overlay:{enable:X}})})})(),assets:{},m0:(0,dsl_stdlib_1.toM0String)(L,"LogoV1")};return Promise.resolve(z)}},(0,template_utils_1.registerTemplate)(exports.TheMosaicM);
@@ -0,0 +1 @@
1
+ "use strict";var t=Object.defineProperty;var e=(r,o)=>t(r,"name",{value:o,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.TheMosaicMV2=void 0;var logo_1=require("./logo");Object.defineProperty(exports,"TheMosaicMV2",{enumerable:!0,get:e(function(){return logo_1.TheMosaicMV2},"get")});
@@ -0,0 +1 @@
1
+ "use strict";var ee=Object.defineProperty;var x=(e,t)=>ee(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.TheMosaicMV2=void 0;const types_1=require("@m0saic/types"),dsl_stdlib_1=require("@m0saic/dsl-stdlib"),template_utils_1=require("@m0saic/template-utils"),dictionary_1=require("@m0saic/dictionary"),HERO_ORANGE="#f97316",propsSchema=(0,template_utils_1.definePropsSchema)({color:{type:"string",required:!1,description:"Foreground color of the logo tiles",meta:{constraints:{isColor:!0},ui:{label:"Logo Color"},control:{colorPicker:!0,placeholder:HERO_ORANGE}}},size:{type:"string",required:!1,description:"Brand entry to render. m-33 (33 rect frames with rank set, fast). m-33_bitmap (272x272 bitmap, 36770 frames \u2014 substantially slower).",meta:{constraints:{oneOf:["m-33","m-33_bitmap"]},ui:{label:"Size"}}},animation:{type:"string",required:!1,description:"Animation mode: logo_loop (reveal in/out), progress_fill (0\u2192100%), loading_shimmer (looping shimmer while loading), loading_ui_v2 (the default loading treatment)",meta:{constraints:{oneOf:["logo_loop","progress_fill","loading_shimmer","loading_ui_v2"]},ui:{label:"Animation",order:5}}},loopSec:{type:"number",required:!1,description:"Total duration of the animation loop (in seconds)",meta:{constraints:{min:.1,max:60},ui:{label:"Loop (sec)",order:10}}},inEnd:{type:"number",required:!1,description:"Fraction of the loop used for the reveal-in phase",meta:{constraints:{min:1e-4,max:1},ui:{label:"Reveal-in end",order:20}}},outStart:{type:"number",required:!1,description:"Fraction of the loop where reveal-out begins",meta:{constraints:{min:0,max:.9999},ui:{label:"Reveal-out start",order:30}}},feather:{type:"number",required:!1,description:"Feather amount in normalized units (0..1) to soften thresholds (fill / shimmer / reveal)",meta:{constraints:{min:0,max:.2},ui:{label:"Feather",order:35}}},startDelay:{type:"number",required:!1,description:"Fraction of the loop to hold on black BEFORE reveal starts.",meta:{constraints:{min:0,max:.9},ui:{label:"Start pause",order:25}}},endDelay:{type:"number",required:!1,description:"Fraction of the loop to hold on black AFTER reveal-out finishes.",meta:{constraints:{min:0,max:.9},ui:{label:"End pause",order:27}}},easing:{type:"string",required:!1,description:"Easing applied to the active progress. smoothstep = calm ease-in-out.",meta:{constraints:{oneOf:["linear","smoothstep"]},ui:{label:"Easing",order:45}}},progress:{type:"number",required:!1,description:"Progress 0..1 for progress_fill; when set, fills tiles directly (no time animation).",meta:{control:{placeholder:"auto (animated)"},constraints:{min:0,max:1},ui:{label:"Progress",order:50}}},progressSec:{type:"number",required:!1,description:"Duration (sec) for auto progress animation when progress is not set. Used only for progress_fill.",meta:{constraints:{min:.1,max:60},ui:{label:"Progress duration (sec)",order:52}}},oneShot:{type:"boolean",required:!1,description:"When true and progress is auto-animated, play once (no loop).",meta:{ui:{label:"One-shot",order:54}}},shimmerSec:{type:"number",required:!1,description:"Duration (sec) for one shimmer sweep. Used only for loading_shimmer.",meta:{constraints:{min:.1,max:60},ui:{label:"Shimmer duration (sec)",order:60}}},shimmerWidth:{type:"number",required:!1,description:"Width of the shimmer band in normalized units across the filled tiles (0..1). Used only for loading_shimmer.",meta:{constraints:{min:.01,max:1},ui:{label:"Shimmer width",order:62}}}}),DICT_ID_M33="brand/m-33",DICT_ID_BITMAP="brand/m-33_bitmap",DICT_ID_M33_RANKS="diag",BITMAP_GRID=272;function buildLoadingUiAlphaExpr(e,t){const{baseMin:s,baseMax:r,basePulseSec:n,shimmerSec:o,shimmerWidth:a,shimmerAmp:m,feather:u,fps:f}=t,k=`gte(t,1/${f})`,E=`(${s})+(${r}-${s})*0.5*(1-cos(2*PI*t/${n}))`,h=`mod(t,${o})/${o}`,w=`(${a}/2)`,D=`abs(${e}-(${h}))`,c=`abs(${e}-((${h})-1))`,y=`abs(${e}-((${h})+1))`,p=`max(min(1-(${`min(min(${D},${c}),${y})`})/(${w}),1),0)`,P=`(${p})*(${p})*(3-2*(${p}))`,$=`(${m})*${P}`,_=`max(min((${E})+(${$})+${u},1),0)`;return`${k}*(${_})`}x(buildLoadingUiAlphaExpr,"buildLoadingUiAlphaExpr");function bitmapRowMajorToCoords(e,t){const s=t*t,r=e.replace(/[^F1-]/g,"");if(r.length!==s)return{ok:!1,error:`Expected ${s} bitmap chars (F/1/-) after stripping DSL punctuation; got ${r.length}`};const n=[];for(let o=0;o<r.length;o++){const a=r[o];if(a==="F"||a==="1"){const m=o%t,u=Math.floor(o/t);n.push({x:m,y:u})}}return{ok:!0,coords:n,filledCount:n.length}}x(bitmapRowMajorToCoords,"bitmapRowMajorToCoords");function buildEnableExpr(e,t){const{loopSec:s,inEnd:r,outStart:n,feather:o,fps:a,startDelay:m,endDelay:u}=t,f=`mod(t,${s})/${s}`,k=`(1/${a})/${s}`,E=`gte(${f},${k})`,h=`${m}`,w=`(1-${u})`,D=`(${w}-${h})`,c=`gte(${f},${h})*lt(${f},${w})`,y=`(((${f})-${h})/${D})`,g=t.easing==="smoothstep"?`(${y})*(${y})*(3-2*(${y}))`:`${y}`,p=`(1-${n})`,P=`min((${g})/${r},1)`,$=`min(max(((${g})-${n})/${p},0),1)`;return`${E}*${c}*gte((${P})+${o},${e})*gte((1-(${$}))+${o},${e})`}x(buildEnableExpr,"buildEnableExpr");function progressFillRawScore(e,t,s){if(s<=1)return 0;const r=s-1,n=e/r,o=t/r;return .75*n+.25*(1-o)}x(progressFillRawScore,"progressFillRawScore");function buildPercentileRanks(e,t){const s=e.map((o,a)=>({idx:a,raw:progressFillRawScore(o.x,o.y,t)}));s.sort((o,a)=>o.raw-a.raw);const r=s.length,n=new Array(r);for(let o=0;o<r;o++){const a=r<=1?0:o/(r-1);n[s[o].idx]=a}return n}x(buildPercentileRanks,"buildPercentileRanks");function buildProgressFillEnableExpr(e,t){const{progress:s,progressSec:r,oneShot:n,feather:o,fps:a}=t,m=`gte(t,1/${a})`,u=s!==void 0?String(Math.max(0,Math.min(1,s))):n?`min(max(t/${r},0),1)`:`mod(t,${r})/${r}`;return`${m}*gte((${u})+${o},${e})`}x(buildProgressFillEnableExpr,"buildProgressFillEnableExpr");function buildLoadingShimmerEnableExpr(e,t){const{shimmerSec:s,shimmerWidth:r,feather:n,fps:o}=t,a=`gte(t,1/${o})`,m=`mod(t,${s})/${s}`,u=`(${r}/2)`,f=`abs(${e}-(${m}))`,k=`abs(${e}-((${m})-1))`,E=`abs(${e}-((${m})+1))`,h=`min(min(${f},${k}),${E})`;return`${a}*lte(${h},(${u})+${n})`}x(buildLoadingShimmerEnableExpr,"buildLoadingShimmerEnableExpr"),exports.TheMosaicMV2={id:(0,types_1.asTemplateId)("@m0saic/brand/logo/v2"),label:"The M0saic M Logo",version:2,lattice:{mode:"bitmap"},description:"Deterministic render of the canonical m0saic M bitmap",capabilities:{tier:"core"},tags:["brand","logo"],deprecated:{reason:"Superseded by @m0saic/brand/logo/v3, a superset \u2014 v3 renders the M as rects (m-33) or bitmap plus the m0 logotype, the m0saic pattern, and the animated composite.",replacement:(0,types_1.asTemplateId)("@m0saic/brand/logo/v3"),since:"2026-07-15"},outputHints:{fps:30,durationMs:3200,width:1080,height:1080,note:"Square logo loop"},propsSchema,defaultProps:{color:HERO_ORANGE,size:"m-33",animation:"loading_ui_v2",loopSec:3.2,inEnd:.25,outStart:.75,feather:.02,startDelay:.1,endDelay:.2,easing:"smoothstep",progressSec:2,oneShot:!1,shimmerSec:1.2,shimmerWidth:.18},render(e,t){var s,r,n,o,a,m,u,f,k,E,h,w,D;const c=(s=e.animation)!==null&&s!==void 0?s:this.defaultProps.animation,y=(r=e.loopSec)!==null&&r!==void 0?r:this.defaultProps.loopSec,g=(n=e.inEnd)!==null&&n!==void 0?n:this.defaultProps.inEnd,p=(o=e.outStart)!==null&&o!==void 0?o:this.defaultProps.outStart,P=(a=e.color)!==null&&a!==void 0?a:this.defaultProps.color,$=(m=e.feather)!==null&&m!==void 0?m:this.defaultProps.feather,_=(u=e.startDelay)!==null&&u!==void 0?u:this.defaultProps.startDelay,M=(f=e.endDelay)!==null&&f!==void 0?f:this.defaultProps.endDelay,I=(k=e.easing)!==null&&k!==void 0?k:this.defaultProps.easing,A=(E=e.progressSec)!==null&&E!==void 0?E:this.defaultProps.progressSec,Q=(h=e.oneShot)!==null&&h!==void 0?h:this.defaultProps.oneShot,q=(w=e.shimmerSec)!==null&&w!==void 0?w:this.defaultProps.shimmerSec,R=(D=e.shimmerWidth)!==null&&D!==void 0?D:this.defaultProps.shimmerWidth,W=t.output.fps,l=[];if($>=0&&$<=.2||l.push(`feather must be in [0,0.2] (got ${$})`),c==="progress_fill")if(e.progress!==void 0){const i=e.progress;(!Number.isFinite(i)||i<0||i>1)&&l.push(`progress must be finite and in [0,1] (got ${i})`)}else A>0||l.push(`progressSec must be > 0 when progress is not set (got ${A})`),(A<.1||A>60)&&l.push(`progressSec must be in [0.1, 60] (got ${A})`);else c==="loading_shimmer"?(q>0||l.push(`shimmerSec must be > 0 (got ${q})`),(q<.1||q>60)&&l.push(`shimmerSec must be in [0.1, 60] (got ${q})`),R>0&&R<=1||l.push(`shimmerWidth must be in (0,1] (got ${R})`)):(y>0||l.push(`loopSec must be > 0 (got ${y})`),g>0&&g<=1||l.push(`inEnd must be in (0,1] (got ${g})`),p>=0&&p<1||l.push(`outStart must be in [0,1) (got ${p})`),g<p||l.push(`Expected inEnd < outStart (got inEnd=${g}, outStart=${p})`),_>=0&&_<1||l.push(`startDelay must be in [0,1) (got ${_})`),M>=0&&M<1||l.push(`endDelay must be in [0,1) (got ${M})`),_+M<1||l.push(`Expected startDelay + endDelay < 1 (got ${_+M})`),I!=="linear"&&I!=="smoothstep"&&l.push(`easing must be "linear" or "smoothstep" (got ${String(I)})`),1-M-_>0||l.push(`Active window must be > 0 (got ${1-M-_})`));if(l.length)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(l.join(" | "),{title:`${this.id} props`,width:t.output.width,height:t.output.height}));const O=e.size==="m-33_bitmap",K=O?DICT_ID_BITMAP:DICT_ID_M33,L=dictionary_1.registry.byId[K];if(!L)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(`Dictionary entry "${K}" not found.`,{title:`${this.id} entry`,width:t.output.width,height:t.output.height}));const v=L.sourceCount,V=L.m0,N=O?BITMAP_GRID:0;let C=null,F=[];if(O){const i=bitmapRowMajorToCoords(V,N);if(i.ok===!1)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(i.error,{title:`${this.id} mask`,width:t.output.width,height:t.output.height}));if(C=i.coords,C.length!==v)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(`Filled-count (${C.length}) != sourceCount (${v}). (Treating 'F' and legacy '1' as filled.)`,{title:`${this.id} mask`,width:t.output.width,height:t.output.height}));F=c==="progress_fill"||c==="loading_shimmer"||c==="loading_ui_v2"?buildPercentileRanks(C,N):[]}else{const i=dictionary_1.registry.getRankSet(K,DICT_ID_M33_RANKS),d=(0,dictionary_1.getSourceOrderStableKeys)(L).map(S=>{var T;return(T=i.ranks[S])!==null&&T!==void 0?T:0});if(d.length!==v)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(`${DICT_ID_M33_RANKS} ranks length (${d.length}) != sourceCount (${v})`,{title:`${this.id} ranks`,width:t.output.width,height:t.output.height}));F=d}if((c==="progress_fill"||c==="loading_shimmer"||c==="loading_ui_v2")&&F.length!==v)throw new Error(`ranks missing for animMode="${c}" size="${e.size}"`);const z=c==="progress_fill"?Array.from({length:v},(i,b)=>{const d=F[b],S=buildProgressFillEnableExpr(d,{progress:e.progress,progressSec:A,oneShot:Q,feather:$,fps:W});return(0,template_utils_1.makeColorTile)(P,{overlay:{enable:S}})}):c==="loading_shimmer"?Array.from({length:v},(i,b)=>{const d=F[b],S=buildLoadingShimmerEnableExpr(d,{shimmerSec:q,shimmerWidth:R,feather:$,fps:W});return(0,template_utils_1.makeColorTile)(P,{overlay:{enable:S}})}):c==="loading_ui_v2"?Array.from({length:v},(i,b)=>{const d=F[b],S=buildLoadingUiAlphaExpr(d,{baseMin:.18,baseMax:.32,basePulseSec:1.6,shimmerSec:q,shimmerWidth:R,shimmerAmp:.75,feather:$,fps:W});return(0,template_utils_1.makeColorTile)(P,{overlay:{alpha:S}})}):(()=>{if(!O)return Array.from({length:v},(G,B)=>{const j=F[B],U=buildEnableExpr(j,{loopSec:y,inEnd:g,outStart:p,feather:$,fps:W,startDelay:_,endDelay:M,easing:I});return(0,template_utils_1.makeColorTile)(P,{overlay:{enable:U}})});if(!C)throw new Error("coords missing for bitmap logo_loop");const i=(N-1)/2,b=(N-1)/2,d=Math.sqrt(i*i+b*b),T=!0?1-g:p;return Array.from({length:v},(G,B)=>{const{x:j,y:U}=C[B],H=j-i,J=U-b,Y=d===0?0:Math.sqrt(H*H+J*J)/d,Z=buildEnableExpr(Y,{loopSec:y,inEnd:g,outStart:T,feather:$,fps:W,startDelay:_,endDelay:M,easing:I});return(0,template_utils_1.makeColorTile)(P,{overlay:{enable:Z}})})})(),X={kind:"mosaic_document",version:1,sources:(()=>{if(O)return z;const i=dictionary_1.registry.byId[K];if(!i||!i.masks)return z;const b=(0,dictionary_1.getSourceOrderStableKeys)(i),d=i.masks;return z.map((S,T)=>{const G=d[b[T]];return G?{...S,mask:{kind:"inline-mask",localPath:G.localPath,bounds:G.bounds}}:S})})(),assets:{},m0:(0,dsl_stdlib_1.toM0String)(V,"LogoV2")};return Promise.resolve(X)}},(0,template_utils_1.registerTemplate)(exports.TheMosaicMV2);
@@ -0,0 +1 @@
1
+ "use strict";var t=Object.defineProperty;var e=(r,o)=>t(r,"name",{value:o,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.TheMosaicMV3=void 0;var logo_runner_1=require("./logo_runner");Object.defineProperty(exports,"TheMosaicMV3",{enumerable:!0,get:e(function(){return logo_runner_1.TheMosaicMV3},"get")});
@@ -0,0 +1 @@
1
+ "use strict";var me=Object.defineProperty;var E=(e,t)=>me(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.TheMosaicMV3Base=void 0;const types_1=require("@m0saic/types"),dsl_stdlib_1=require("@m0saic/dsl-stdlib"),template_utils_1=require("@m0saic/template-utils"),dictionary_1=require("@m0saic/dictionary"),HERO_ORANGE="#f97316",propsSchema=(0,template_utils_1.definePropsSchema)({color:{type:"string",required:!1,description:"Foreground color of the logo tiles",meta:{constraints:{isColor:!0},ui:{label:"Logo Color"},control:{colorPicker:!0,placeholder:HERO_ORANGE}}},size:{type:"string",required:!1,description:"Which canonical brand entry to render. m-33 (33 rect frames, fast, with cutout masks). m0 (smooth m0 layout, with masks). m0saic-pattern (pattern layout, no masks). m-33_bitmap (272x272 bitmap, 36770 frames \u2014 substantially slower).",meta:{constraints:{oneOf:["m-33","m0","m0saic-pattern","m-33_bitmap"]},ui:{label:"Size"}}},animation:{type:"string",required:!1,description:"Animation mode: logo_loop (reveal in/out), progress_fill (0\u2192100%), loading_shimmer (looping shimmer while loading)",meta:{constraints:{oneOf:["logo_loop","progress_fill","loading_shimmer"]},ui:{label:"Animation",order:5}}},loopSec:{type:"number",required:!1,description:"Total duration of the animation loop (in seconds)",meta:{constraints:{min:.1,max:60},ui:{label:"Loop (sec)",order:10}}},inEnd:{type:"number",required:!1,description:"Fraction of the loop used for the reveal-in phase",meta:{constraints:{min:1e-4,max:1},ui:{label:"Reveal-in end",order:20}}},outStart:{type:"number",required:!1,description:"Fraction of the loop where reveal-out begins",meta:{constraints:{min:0,max:.9999},ui:{label:"Reveal-out start",order:30}}},feather:{type:"number",required:!1,description:"Feather amount in normalized units (0..1) to soften thresholds (fill / shimmer / reveal)",meta:{constraints:{min:0,max:.2},ui:{label:"Feather",order:35}}},startDelay:{type:"number",required:!1,description:"Fraction of the loop to hold on black BEFORE reveal starts.",meta:{constraints:{min:0,max:.9},ui:{label:"Start pause",order:25}}},endDelay:{type:"number",required:!1,description:"Fraction of the loop to hold on black AFTER reveal-out finishes.",meta:{constraints:{min:0,max:.9},ui:{label:"End pause",order:27}}},easing:{type:"string",required:!1,description:"Easing applied to the active progress. smoothstep = calm ease-in-out.",meta:{constraints:{oneOf:["linear","smoothstep"]},ui:{label:"Easing",order:45}}},progress:{type:"number",required:!1,description:"Progress 0..1 for progress_fill; when set, fills tiles directly (no time animation).",meta:{constraints:{min:0,max:1},ui:{label:"Progress",order:50}}},progressSec:{type:"number",required:!1,description:"Duration (sec) for auto progress animation when progress is not set. Used only for progress_fill.",meta:{constraints:{min:.1,max:60},ui:{label:"Progress duration (sec)",order:52}}},oneShot:{type:"boolean",required:!1,description:"When true and progress is auto-animated, play once (no loop).",meta:{ui:{label:"One-shot",order:54}}},shimmerSec:{type:"number",required:!1,description:"Duration (sec) for one shimmer sweep. Used only for loading_shimmer.",meta:{constraints:{min:.1,max:60},ui:{label:"Shimmer duration (sec)",order:60}}},shimmerWidth:{type:"number",required:!1,description:"Width of the shimmer band in normalized units across the filled tiles (0..1). Used only for loading_shimmer.",meta:{constraints:{min:.01,max:1},ui:{label:"Shimmer width",order:62}}},rankSet:{type:"string",required:!1,description:"Hero rank set for m0 / m-33 / m0saic-pattern animations. diag = top-left \u2192 bottom-right diagonal sweep (default, unique feel). cascade = strict top-down row-by-row wipe (smoothest, no anti-diagonal jumps). radial = center \u2192 edges pulse.",meta:{constraints:{oneOf:["diag","cascade","radial"]},ui:{label:"Rank set",order:8}}}}),DICT_ID_M33="brand/m-33",DICT_ID_M0="brand/m0",DICT_ID_PATTERN="brand/m0saic-pattern",DICT_ID_BITMAP="brand/m-33_bitmap",BITMAP_GRID=272,DEFAULT_BRAND_RANK_SET="diag";function buildLoadingUiAlphaExpr(e,t){const{baseMin:s,baseMax:i,basePulseSec:n,shimmerSec:o,shimmerWidth:a,shimmerAmp:d,feather:h,fps:u}=t,S=`gte(t,1/${u})`,v=`(${s})+(${i}-${s})*0.5*(1-cos(2*PI*t/${n}))`,f=`mod(t,${o})/${o}`,M=`(${a}/2)`,T=`abs(${e}-(${f}))`,x=`abs(${e}-((${f})-1))`,$=`abs(${e}-((${f})+1))`,k=`max(min(1-(${`min(min(${T},${x}),${$})`})/(${M}),1),0)`,m=`(${k})*(${k})*(3-2*(${k}))`,D=`(${d})*${m}`,b=`max(min((${v})+(${D})+${h},1),0)`;return`${S}*(${b})`}E(buildLoadingUiAlphaExpr,"buildLoadingUiAlphaExpr");function bitmapRowMajorToCoords(e,t){const s=t*t,i=e.replace(/[^F1-]/g,"");if(i.length!==s)return{ok:!1,error:`Expected ${s} bitmap chars (F/1/-) after stripping DSL punctuation; got ${i.length}`};const n=[];for(let o=0;o<i.length;o++){const a=i[o];if(a==="F"||a==="1"){const d=o%t,h=Math.floor(o/t);n.push({x:d,y:h})}}return{ok:!0,coords:n,filledCount:n.length}}E(bitmapRowMajorToCoords,"bitmapRowMajorToCoords");function buildEnableExpr(e,t){const{loopSec:s,inEnd:i,outStart:n,feather:o,fps:a,startDelay:d,endDelay:h}=t,u=`mod(t,${s})/${s}`,S=`(1/${a})/${s}`,v=`gte(${u},${S})`,f=`${d}`,M=`(1-${h})`,T=`(${M}-${f})`,x=`gte(${u},${f})*lt(${u},${M})`,$=`(((${u})-${f})/${T})`,A=t.easing==="smoothstep"?`(${$})*(${$})*(3-2*(${$}))`:`${$}`,k=`(1-${n})`,m=`min((${A})/${i},1)`,D=`min(max(((${A})-${n})/${k},0),1)`;return`${v}*${x}*gte((${m})+${o},${e})*gte((1-(${D}))+${o},${e})`}E(buildEnableExpr,"buildEnableExpr");function progressFillRawScore(e,t,s){if(s<=1)return 0;const i=s-1,n=e/i,o=t/i;return .75*n+.25*o}E(progressFillRawScore,"progressFillRawScore");function buildPercentileRanks(e,t){const s=e.map((o,a)=>({idx:a,raw:progressFillRawScore(o.x,o.y,t)}));s.sort((o,a)=>o.raw-a.raw);const i=s.length,n=new Array(i);for(let o=0;o<i;o++){const a=i<=1?0:o/(i-1);n[s[o].idx]=a}return n}E(buildPercentileRanks,"buildPercentileRanks");function buildProgressFillEnableExpr(e,t){const{progress:s,progressSec:i,oneShot:n,feather:o,fps:a}=t,h=s!==void 0?"1":`gte(t,1/${a})`,u=s!==void 0?String(Math.max(0,Math.min(1,s))):n?`min(max(t/${i},0),1)`:`mod(t,${i})/${i}`;return`${h}*gte((${u})+${o},${e})`}E(buildProgressFillEnableExpr,"buildProgressFillEnableExpr");function buildLoadingShimmerEnableExpr(e,t){const{shimmerSec:s,shimmerWidth:i,feather:n,fps:o}=t,a=`gte(t,1/${o})`,d=`mod(t,${s})/${s}`,h=`(${i}/2)`,u=`abs(${e}-(${d}))`,S=`abs(${e}-((${d})-1))`,v=`abs(${e}-((${d})+1))`,f=`min(min(${u},${S}),${v})`;return`${a}*lte(${f},(${h})+${n})`}E(buildLoadingShimmerEnableExpr,"buildLoadingShimmerEnableExpr"),exports.TheMosaicMV3Base={id:(0,types_1.asTemplateId)("@m0saic/brand/logo/v3"),label:"The M0saic M Logo",version:3,lattice:{mode:"bitmap"},description:"Deterministic render of the canonical m0saic M bitmap",capabilities:{tier:"core"},tags:["brand","logo","designers","marketers","intro","sting"],outputHints:{fps:30,durationMs:3200,width:1080,height:1080,note:"Square logo loop"},propsSchema,defaultProps:{color:HERO_ORANGE,size:"m-33",animation:"loading_ui_v2",loopSec:3.2,inEnd:.25,outStart:.75,feather:.02,startDelay:.1,endDelay:.2,easing:"smoothstep",progressSec:2,oneShot:!1,shimmerSec:1.2,shimmerWidth:.18},render(e,t){var s,i,n,o,a,d,h,u,S,v,f,M,T,x,$,A,k;const m=(s=e.animation)!==null&&s!==void 0?s:this.defaultProps.animation,D=(i=e.loopSec)!==null&&i!==void 0?i:this.defaultProps.loopSec,b=(n=e.inEnd)!==null&&n!==void 0?n:this.defaultProps.inEnd,F=(o=e.outStart)!==null&&o!==void 0?o:this.defaultProps.outStart,I=(a=e.color)!==null&&a!==void 0?a:this.defaultProps.color,q=(d=e.feather)!==null&&d!==void 0?d:this.defaultProps.feather,w=(h=e.startDelay)!==null&&h!==void 0?h:this.defaultProps.startDelay,P=(u=e.endDelay)!==null&&u!==void 0?u:this.defaultProps.endDelay,O=(S=e.easing)!==null&&S!==void 0?S:this.defaultProps.easing,z=(v=e.progressSec)!==null&&v!==void 0?v:this.defaultProps.progressSec,ne=(f=e.oneShot)!==null&&f!==void 0?f:this.defaultProps.oneShot,C=(M=e.shimmerSec)!==null&&M!==void 0?M:this.defaultProps.shimmerSec,L=(T=e.shimmerWidth)!==null&&T!==void 0?T:this.defaultProps.shimmerWidth,N=t.output.fps,c=[];if(q>=0&&q<=.2||c.push(`feather must be in [0,0.2] (got ${q})`),m==="progress_fill")if(e.progress!==void 0){const r=e.progress;(!Number.isFinite(r)||r<0||r>1)&&c.push(`progress must be finite and in [0,1] (got ${r})`)}else z>0||c.push(`progressSec must be > 0 when progress is not set (got ${z})`),(z<.1||z>60)&&c.push(`progressSec must be in [0.1, 60] (got ${z})`);else m==="loading_shimmer"?(C>0||c.push(`shimmerSec must be > 0 (got ${C})`),(C<.1||C>60)&&c.push(`shimmerSec must be in [0.1, 60] (got ${C})`),L>0&&L<=1||c.push(`shimmerWidth must be in (0,1] (got ${L})`)):(D>0||c.push(`loopSec must be > 0 (got ${D})`),b>0&&b<=1||c.push(`inEnd must be in (0,1] (got ${b})`),F>=0&&F<1||c.push(`outStart must be in [0,1) (got ${F})`),b<F||c.push(`Expected inEnd < outStart (got inEnd=${b}, outStart=${F})`),w>=0&&w<1||c.push(`startDelay must be in [0,1) (got ${w})`),P>=0&&P<1||c.push(`endDelay must be in [0,1) (got ${P})`),w+P<1||c.push(`Expected startDelay + endDelay < 1 (got ${w+P})`),O!=="linear"&&O!=="smoothstep"&&c.push(`easing must be "linear" or "smoothstep" (got ${String(O)})`),1-P-w>0||c.push(`Active window must be > 0 (got ${1-P-w})`));if(c.length)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(c.join(" | "),{title:`${this.id} props`,width:t.output.width,height:t.output.height}));const V=e.size==="m0"?DICT_ID_M0:e.size==="m0saic-pattern"?DICT_ID_PATTERN:e.size==="m-33_bitmap"?DICT_ID_BITMAP:DICT_ID_M33,_=dictionary_1.registry.byId[V];if(!_)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(`Dictionary entry "${V}" not found.`,{title:`${this.id} entry`,width:t.output.width,height:t.output.height}));if(!_.m0)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(`The "${e.size}" mark is not bundled for the browser \u2014 Mosaic Desktop and the CLI render it. Pick m-33, m0 or m0saic-pattern here.`,{title:`${this.id} size`,width:t.output.width,height:t.output.height}));const p=_.sourceCount,H=_.m0,K=($=(x=_.recommendedResolutions)===null||x===void 0?void 0:x[_.recommendedResolutions.length-1])!==null&&$!==void 0?$:{width:t.output.width,height:t.output.height},J=e.size==="m-33",Q=e.size==="m0",ee=e.size==="m0saic-pattern",te=e.size==="m-33_bitmap",j=te?BITMAP_GRID:0;let W=null;const oe=(J||Q)&&_.masks?(0,dictionary_1.getSourceOrderStableKeys)(_):null,se=(A=_.masks)!==null&&A!==void 0?A:null;function B(r){if(!se||!oe)return;const l=se[oe[r]];if(l)return{kind:"inline-mask",localPath:l.localPath,bounds:l.bounds}}E(B,"maskForSource");let R=[];if(Q||J||ee){const r=(k=e.rankSet)!==null&&k!==void 0?k:DEFAULT_BRAND_RANK_SET,l=dictionary_1.registry.getRankSet(V,r),y=(0,dictionary_1.getSourceOrderStableKeys)(_).map(X=>{var G;return(G=l.ranks[X])!==null&&G!==void 0?G:0});if(y.length!==p)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(`${r} ranks length (${y.length}) != sourceCount (${p})`,{title:`${this.id} ranks`,width:t.output.width,height:t.output.height}));R=y}else if(te){const r=bitmapRowMajorToCoords(H,j);if(r.ok===!1)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(r.error,{title:`${this.id} mask`,width:t.output.width,height:t.output.height}));if(W=r.coords,W.length!==p)return Promise.resolve((0,template_utils_1.makeErrorMosaic)(`Filled-count (${W.length}) != sourceCount (${p}). (Treating 'F' and legacy '1' as filled.)`,{title:`${this.id} mask`,width:t.output.width,height:t.output.height}));R=m==="progress_fill"||m==="loading_shimmer"||m==="loading_ui_v2"?buildPercentileRanks(W,j):[]}if((m==="progress_fill"||m==="loading_shimmer"||m==="loading_ui_v2")&&R.length!==p)throw new Error(`ranks missing for animMode="${m}" size="${e.size}"`);if(e.__static){const r=Array.from({length:p},(l,g)=>(0,template_utils_1.makeColorTile)(I,{mask:B(g)}));return{kind:"mosaic_document",version:1,m0:(0,dsl_stdlib_1.toM0String)(H,"LogoV3Static"),sources:r,size:{width:K.width,height:K.height},fps:t.output.fps,durationMs:t.output.durationMs,format:{kind:"video",container:"mp4"},audio:{mode:"off"}}}const ae={kind:"mosaic_document",version:1,sources:m==="progress_fill"?Array.from({length:p},(r,l)=>{const g=R[l],y=buildProgressFillEnableExpr(g,{progress:e.progress,progressSec:z,oneShot:ne,feather:q,fps:N});return(0,template_utils_1.makeColorTile)(I,{overlay:{enable:y},mask:B(l)})}):m==="loading_shimmer"?Array.from({length:p},(r,l)=>{const g=R[l],y=buildLoadingShimmerEnableExpr(g,{shimmerSec:C,shimmerWidth:L,feather:q,fps:N});return(0,template_utils_1.makeColorTile)(I,{overlay:{enable:y},mask:B(l)})}):m==="loading_ui_v2"?Array.from({length:p},(r,l)=>{const g=R[l],y=buildLoadingUiAlphaExpr(g,{baseMin:.18,baseMax:.32,basePulseSec:1.6,shimmerSec:C,shimmerWidth:L,shimmerAmp:.75,feather:q,fps:N});return(0,template_utils_1.makeColorTile)(I,{overlay:{alpha:y},mask:B(l)})}):(()=>{if(J||Q||ee)return Array.from({length:p},(G,U)=>{const Y=R[U],Z=buildEnableExpr(Y,{loopSec:D,inEnd:b,outStart:F,feather:q,fps:N,startDelay:w,endDelay:P,easing:O});return(0,template_utils_1.makeColorTile)(I,{overlay:{enable:Z},mask:B(U)})});if(!W)throw new Error("coords missing for bitmap logo_loop");const r=(j-1)/2,l=(j-1)/2,g=Math.sqrt(r*r+l*l),X=!0?1-b:F;return Array.from({length:p},(G,U)=>{const{x:Y,y:Z}=W[U],ie=Y-r,re=Z-l,le=g===0?0:Math.sqrt(ie*ie+re*re)/g,ce=buildEnableExpr(le,{loopSec:D,inEnd:b,outStart:X,feather:q,fps:N,startDelay:w,endDelay:P,easing:O});return(0,template_utils_1.makeColorTile)(I,{overlay:{enable:ce}})})})(),assets:{},m0:(0,dsl_stdlib_1.toM0String)(H,"LogoV3"),size:{width:K.width,height:K.height},format:{kind:"video",container:"mp4"},audio:{mode:"off"}};return Promise.resolve(ae)}};
@@ -0,0 +1 @@
1
+ "use strict";var M=Object.defineProperty;var b=(t,e)=>M(t,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.TheMosaicMV3=void 0;const types_1=require("@m0saic/types"),dsl_stdlib_1=require("@m0saic/dsl-stdlib"),template_utils_1=require("@m0saic/template-utils"),logo_1=require("./logo"),onboarding_cover_1=require("../../../_shared/onboarding-cover"),HERO_ORANGE="#f97316",propsSchema=(0,template_utils_1.definePropsSchema)({color:{type:"string",required:!1,meta:{ui:{label:"Color"},constraints:{isColor:!0},control:{colorPicker:!0,placeholder:HERO_ORANGE}}},size:{type:"string",required:!1,description:"m-33 (default): the fast rect M at its official 544\xB2 canvas. composite: m-33_bitmap base + rect M overlaid with an animated blend \u2014 the HEAVY render (minutes, not seconds). Also: m0 (logotype, 384\xD7512), m0saic-pattern (4354\xD72016), m-33_bitmap.",meta:{ui:{label:"Brand entry"},constraints:{oneOf:["composite","m-33","m0","m0saic-pattern","m-33_bitmap"]}}},animation:{type:"string",required:!1,meta:{ui:{label:"Animation"},constraints:{oneOf:["loading_ui_v2","logo_loop","progress_fill","loading_shimmer"]}}},blendInSec:{type:"number",required:!1,meta:{ui:{label:"Blend-in (s)"},constraints:{min:.01,max:10}}},blendDelaySec:{type:"number",required:!1,meta:{ui:{label:"Blend delay (s)"},constraints:{min:0,max:10}}},blendFeather:{type:"number",required:!1,meta:{ui:{label:"Blend feather"},constraints:{min:0,max:.1}}},feather:{type:"number",required:!1,meta:{ui:{label:"Feather"},constraints:{min:0,max:.2}}},shimmerSec:{type:"number",required:!1,meta:{ui:{label:"Shimmer sweep (s)"},constraints:{min:.1,max:60}}},shimmerWidth:{type:"number",required:!1,meta:{ui:{label:"Shimmer width"},constraints:{min:.01,max:1}}},progress:{type:"number",required:!1,meta:{ui:{label:"Progress"},control:{placeholder:"auto (animated)"},constraints:{min:0,max:1}}},progressSec:{type:"number",required:!1,meta:{ui:{label:"Progress duration (s)"},constraints:{min:.1,max:60}}},oneShot:{type:"boolean",required:!1,meta:{ui:{label:"Play once"}}},rankSet:{type:"string",required:!1,description:"Reveal order over the mark's tiles: diag (top-left \u2192 bottom-right), cascade (row-by-row), radial (center \u2192 edges).",meta:{constraints:{oneOf:["diag","cascade","radial"]},ui:{label:"Reveal order"}}},loopSec:{type:"number",required:!1,meta:{ui:{label:"Loop length (s)"},constraints:{min:.1,max:60}}},inEnd:{type:"number",required:!1,meta:{ui:{label:"Reveal-in end"},constraints:{min:1e-4,max:1}}},outStart:{type:"number",required:!1,meta:{ui:{label:"Reveal-out start"},constraints:{min:0,max:.9999}}},startDelay:{type:"number",required:!1,meta:{ui:{label:"Start hold"},constraints:{min:0,max:.9}}},endDelay:{type:"number",required:!1,meta:{ui:{label:"End hold"},constraints:{min:0,max:.9}}},easing:{type:"string",required:!1,meta:{ui:{label:"Easing"},constraints:{oneOf:["linear","smoothstep"]}}}});function buildRectFadeAlphaExpr(t){const{fps:e,delaySec:i,inSec:a,feather:r}=t,d=`gte(t,1/${e})`,s=`mod(t,${`(${i}+2*${a})`})`,n=`((${s}-${i})/${a})`,l=`(1-((${s}-(${i}+${a}))/${a}))`,o=`min(max(${`if(lt(${s},${i}),0, if(lt(${s},${i}+${a}), ${n}, ${l}))`},0),1)`,u=`(${o})*(${o})*(3-2*(${o}))`,p=.35,h=`max(min((${`(${p}) + (${.85}-${p})*(${u})`})+${r},1),0)`;return`${d}*(${h})`}b(buildRectFadeAlphaExpr,"buildRectFadeAlphaExpr"),exports.TheMosaicMV3={id:(0,types_1.asTemplateId)("@m0saic/brand/logo/v3"),label:"M0saic Brand Marks",version:3,lattice:{mode:"bitmap"},description:"Renders any m0saic brand mark \u2014 the M (as rects or bitmap), the m0 logotype, or the m0saic pattern \u2014 with an animated reveal, each at its official dictionary resolution. Default 'm-33' is the fast rect M; 'composite' (bitmap + rects blend) is the deliberate heavy render. Supersedes the v1/v2 M-logo templates.",capabilities:{tier:"core"},tags:["brand","logo","marks","animated"],outputHints:{format:{kind:"video",container:"mp4"},fps:30,durationMs:3200,width:1080,height:1080},propsSchema,defaultProps:{rankSet:"diag",color:HERO_ORANGE,size:"m-33",animation:"loading_ui_v2",blendDelaySec:.15,blendInSec:1.2,blendFeather:0,feather:.02,shimmerSec:1.2,shimmerWidth:.18,progressSec:2,oneShot:!1,loopSec:3.2,inEnd:.25,outStart:.75,startDelay:.1,endDelay:.2,easing:"smoothstep"},async render(t,e){var i,a,r,d,m,s,n;const l=(i=t.color)!==null&&i!==void 0?i:this.defaultProps.color,c=(a=t.animation)!==null&&a!==void 0?a:this.defaultProps.animation,o=(r=t.size)!==null&&r!==void 0?r:"m-33";if(o==="m-33"||o==="m0"||o==="m0saic-pattern"||o==="m-33_bitmap")return logo_1.TheMosaicMV3Base.render({...t,color:l,size:o,animation:c},e);const u=(d=t.blendDelaySec)!==null&&d!==void 0?d:this.defaultProps.blendDelaySec,p=(m=t.blendInSec)!==null&&m!==void 0?m:this.defaultProps.blendInSec,f=(s=t.blendFeather)!==null&&s!==void 0?s:this.defaultProps.blendFeather;if(!(p>0))return(0,template_utils_1.makeErrorMosaic)(`blendInSec must be > 0 (got ${p})`,{title:`${this.id} props`,width:e.output.width,height:e.output.height});const g={...t,color:l,size:"m-33_bitmap",animation:c},h=await logo_1.TheMosaicMV3Base.render(g,e),S={...t,color:l,size:"m-33",animation:c},y=await logo_1.TheMosaicMV3Base.render(S,e),v=buildRectFadeAlphaExpr({fps:e.output.fps,delaySec:u,inSec:p,feather:f});return{kind:"mosaic_document",version:1,assets:{},m0:(0,dsl_stdlib_1.toM0String)("F{F}","LogoRunner"),children:{bitmap:h,rects:y},sources:[{type:"mosaic",ref:"bitmap"},{type:"mosaic",ref:"rects",overlay:{alpha:v}}],size:(n=h.size)!==null&&n!==void 0?n:y.size,format:{kind:"video",container:"mp4"},audio:{mode:"off"}}},async renderCover(t,e){var i;const a=(0,onboarding_cover_1.brandedCoverHeroBox)(e,"band"),r=Math.max(2,Math.round(Math.min(a.width,a.height)*.86)),d={width:r,height:r,fps:e.target.fps,durationMs:e.target.durationMs},m=await logo_1.TheMosaicMV3Base.render({color:HERO_ORANGE,size:"m-33",__static:!0},{...e,target:d,output:{...e.output,width:r,height:r}}),s={m0:String(m.m0),sources:(i=m.sources)!==null&&i!==void 0?i:[]},n=b(u=>Math.max(1,Math.round(u/4)),"u"),l=Math.max(1,Math.round((a.width-r)/2)),c=Math.max(1,Math.round((a.height-r)/2)),o=(0,onboarding_cover_1.onboardingSplit)("row",[n(c),n(r),n(c)],[null,(0,onboarding_cover_1.onboardingSplit)("col",[n(l),n(r),n(l)],[null,s,null]),null]);return(0,onboarding_cover_1.buildBrandedCover)({ctx:e,variant:"band",copy:{productName:"Brand Marks",title:"The m0saic brand marks."},hero:b(u=>(0,onboarding_cover_1.onboardingFrame)((0,onboarding_cover_1.onboardingOverlay)((0,onboarding_cover_1.onboardingSolid)("#12111F"),o),u.borderStrong),"hero")})}},(0,template_utils_1.registerTemplate)(exports.TheMosaicMV3);
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 49 49" shape-rendering="crispEdges">
2
+ <rect x="0" y="0" width="49" height="49" fill="#ffffff"/>
3
+ <g fill="#f97316">
4
+ <rect x="4" y="4" width="1" height="1"/><rect x="5" y="4" width="1" height="1"/><rect x="6" y="4" width="1" height="1"/><rect x="7" y="4" width="1" height="1"/><rect x="8" y="4" width="1" height="1"/><rect x="9" y="4" width="1" height="1"/><rect x="10" y="4" width="1" height="1"/><rect x="12" y="4" width="1" height="1"/><rect x="15" y="4" width="1" height="1"/><rect x="16" y="4" width="1" height="1"/><rect x="17" y="4" width="1" height="1"/><rect x="18" y="4" width="1" height="1"/><rect x="20" y="4" width="1" height="1"/><rect x="22" y="4" width="1" height="1"/><rect x="24" y="4" width="1" height="1"/><rect x="25" y="4" width="1" height="1"/><rect x="26" y="4" width="1" height="1"/><rect x="27" y="4" width="1" height="1"/><rect x="28" y="4" width="1" height="1"/><rect x="29" y="4" width="1" height="1"/><rect x="32" y="4" width="1" height="1"/><rect x="34" y="4" width="1" height="1"/><rect x="38" y="4" width="1" height="1"/><rect x="39" y="4" width="1" height="1"/><rect x="40" y="4" width="1" height="1"/><rect x="41" y="4" width="1" height="1"/><rect x="42" y="4" width="1" height="1"/><rect x="43" y="4" width="1" height="1"/><rect x="44" y="4" width="1" height="1"/><rect x="4" y="5" width="1" height="1"/><rect x="10" y="5" width="1" height="1"/><rect x="12" y="5" width="1" height="1"/><rect x="14" y="5" width="1" height="1"/><rect x="15" y="5" width="1" height="1"/><rect x="23" y="5" width="1" height="1"/><rect x="26" y="5" width="1" height="1"/><rect x="29" y="5" width="1" height="1"/><rect x="30" y="5" width="1" height="1"/><rect x="31" y="5" width="1" height="1"/><rect x="33" y="5" width="1" height="1"/><rect x="35" y="5" width="1" height="1"/><rect x="38" y="5" width="1" height="1"/><rect x="44" y="5" width="1" height="1"/><rect x="4" y="6" width="1" height="1"/><rect x="6" y="6" width="1" height="1"/><rect x="7" y="6" width="1" height="1"/><rect x="8" y="6" width="1" height="1"/><rect x="10" y="6" width="1" height="1"/><rect x="16" y="6" width="1" height="1"/><rect x="17" y="6" width="1" height="1"/><rect x="20" y="6" width="1" height="1"/><rect x="22" y="6" width="1" height="1"/><rect x="23" y="6" width="1" height="1"/><rect x="24" y="6" width="1" height="1"/><rect x="25" y="6" width="1" height="1"/><rect x="29" y="6" width="1" height="1"/><rect x="32" y="6" width="1" height="1"/><rect x="33" y="6" width="1" height="1"/><rect x="35" y="6" width="1" height="1"/><rect x="36" y="6" width="1" height="1"/><rect x="38" y="6" width="1" height="1"/><rect x="40" y="6" width="1" height="1"/><rect x="41" y="6" width="1" height="1"/><rect x="42" y="6" width="1" height="1"/><rect x="44" y="6" width="1" height="1"/><rect x="4" y="7" width="1" height="1"/><rect x="6" y="7" width="1" height="1"/><rect x="7" y="7" width="1" height="1"/><rect x="8" y="7" width="1" height="1"/><rect x="10" y="7" width="1" height="1"/><rect x="12" y="7" width="1" height="1"/><rect x="15" y="7" width="1" height="1"/><rect x="16" y="7" width="1" height="1"/><rect x="17" y="7" width="1" height="1"/><rect x="21" y="7" width="1" height="1"/><rect x="26" y="7" width="1" height="1"/><rect x="27" y="7" width="1" height="1"/><rect x="29" y="7" width="1" height="1"/><rect x="30" y="7" width="1" height="1"/><rect x="31" y="7" width="1" height="1"/><rect x="33" y="7" width="1" height="1"/><rect x="36" y="7" width="1" height="1"/><rect x="38" y="7" width="1" height="1"/><rect x="40" y="7" width="1" height="1"/><rect x="41" y="7" width="1" height="1"/><rect x="42" y="7" width="1" height="1"/><rect x="44" y="7" width="1" height="1"/><rect x="4" y="8" width="1" height="1"/><rect x="6" y="8" width="1" height="1"/><rect x="7" y="8" width="1" height="1"/><rect x="8" y="8" width="1" height="1"/><rect x="10" y="8" width="1" height="1"/><rect x="12" y="8" width="1" height="1"/><rect x="14" y="8" width="1" height="1"/><rect x="15" y="8" width="1" height="1"/><rect x="18" y="8" width="1" height="1"/><rect x="19" y="8" width="1" height="1"/><rect x="20" y="8" width="1" height="1"/><rect x="21" y="8" width="1" height="1"/><rect x="23" y="8" width="1" height="1"/><rect x="24" y="8" width="1" height="1"/><rect x="25" y="8" width="1" height="1"/><rect x="26" y="8" width="1" height="1"/><rect x="27" y="8" width="1" height="1"/><rect x="28" y="8" width="1" height="1"/><rect x="29" y="8" width="1" height="1"/><rect x="30" y="8" width="1" height="1"/><rect x="32" y="8" width="1" height="1"/><rect x="35" y="8" width="1" height="1"/><rect x="36" y="8" width="1" height="1"/><rect x="38" y="8" width="1" height="1"/><rect x="40" y="8" width="1" height="1"/><rect x="41" y="8" width="1" height="1"/><rect x="42" y="8" width="1" height="1"/><rect x="44" y="8" width="1" height="1"/><rect x="4" y="9" width="1" height="1"/><rect x="10" y="9" width="1" height="1"/><rect x="12" y="9" width="1" height="1"/><rect x="15" y="9" width="1" height="1"/><rect x="19" y="9" width="1" height="1"/><rect x="20" y="9" width="1" height="1"/><rect x="22" y="9" width="1" height="1"/><rect x="24" y="9" width="1" height="1"/><rect x="27" y="9" width="1" height="1"/><rect x="29" y="9" width="1" height="1"/><rect x="33" y="9" width="1" height="1"/><rect x="34" y="9" width="1" height="1"/><rect x="35" y="9" width="1" height="1"/><rect x="38" y="9" width="1" height="1"/><rect x="44" y="9" width="1" height="1"/><rect x="4" y="10" width="1" height="1"/><rect x="5" y="10" width="1" height="1"/><rect x="6" y="10" width="1" height="1"/><rect x="7" y="10" width="1" height="1"/><rect x="8" y="10" width="1" height="1"/><rect x="9" y="10" width="1" height="1"/><rect x="10" y="10" width="1" height="1"/><rect x="12" y="10" width="1" height="1"/><rect x="14" y="10" width="1" height="1"/><rect x="16" y="10" width="1" height="1"/><rect x="18" y="10" width="1" height="1"/><rect x="20" y="10" width="1" height="1"/><rect x="22" y="10" width="1" height="1"/><rect x="24" y="10" width="1" height="1"/><rect x="26" y="10" width="1" height="1"/><rect x="28" y="10" width="1" height="1"/><rect x="30" y="10" width="1" height="1"/><rect x="32" y="10" width="1" height="1"/><rect x="34" y="10" width="1" height="1"/><rect x="36" y="10" width="1" height="1"/><rect x="38" y="10" width="1" height="1"/><rect x="39" y="10" width="1" height="1"/><rect x="40" y="10" width="1" height="1"/><rect x="41" y="10" width="1" height="1"/><rect x="42" y="10" width="1" height="1"/><rect x="43" y="10" width="1" height="1"/><rect x="44" y="10" width="1" height="1"/><rect x="13" y="11" width="1" height="1"/><rect x="17" y="11" width="1" height="1"/><rect x="19" y="11" width="1" height="1"/><rect x="20" y="11" width="1" height="1"/><rect x="21" y="11" width="1" height="1"/><rect x="22" y="11" width="1" height="1"/><rect x="23" y="11" width="1" height="1"/><rect x="24" y="11" width="1" height="1"/><rect x="26" y="11" width="1" height="1"/><rect x="27" y="11" width="1" height="1"/><rect x="28" y="11" width="1" height="1"/><rect x="29" y="11" width="1" height="1"/><rect x="33" y="11" width="1" height="1"/><rect x="34" y="11" width="1" height="1"/><rect x="7" y="12" width="1" height="1"/><rect x="10" y="12" width="1" height="1"/><rect x="14" y="12" width="1" height="1"/><rect x="17" y="12" width="1" height="1"/><rect x="21" y="12" width="1" height="1"/><rect x="22" y="12" width="1" height="1"/><rect x="23" y="12" width="1" height="1"/><rect x="27" y="12" width="1" height="1"/><rect x="29" y="12" width="1" height="1"/><rect x="30" y="12" width="1" height="1"/><rect x="31" y="12" width="1" height="1"/><rect x="36" y="12" width="1" height="1"/><rect x="39" y="12" width="1" height="1"/><rect x="40" y="12" width="1" height="1"/><rect x="41" y="12" width="1" height="1"/><rect x="43" y="12" width="1" height="1"/><rect x="44" y="12" width="1" height="1"/><rect x="4" y="13" width="1" height="1"/><rect x="5" y="13" width="1" height="1"/><rect x="6" y="13" width="1" height="1"/><rect x="7" y="13" width="1" height="1"/><rect x="11" y="13" width="1" height="1"/><rect x="12" y="13" width="1" height="1"/><rect x="16" y="13" width="1" height="1"/><rect x="17" y="13" width="1" height="1"/><rect x="18" y="13" width="1" height="1"/><rect x="22" y="13" width="1" height="1"/><rect x="23" y="13" width="1" height="1"/><rect x="24" y="13" width="1" height="1"/><rect x="26" y="13" width="1" height="1"/><rect x="28" y="13" width="1" height="1"/><rect x="29" y="13" width="1" height="1"/><rect x="30" y="13" width="1" height="1"/><rect x="34" y="13" width="1" height="1"/><rect x="36" y="13" width="1" height="1"/><rect x="37" y="13" width="1" height="1"/><rect x="40" y="13" width="1" height="1"/><rect x="41" y="13" width="1" height="1"/><rect x="42" y="13" width="1" height="1"/><rect x="5" y="14" width="1" height="1"/><rect x="6" y="14" width="1" height="1"/><rect x="7" y="14" width="1" height="1"/><rect x="10" y="14" width="1" height="1"/><rect x="12" y="14" width="1" height="1"/><rect x="15" y="14" width="1" height="1"/><rect x="16" y="14" width="1" height="1"/><rect x="17" y="14" width="1" height="1"/><rect x="20" y="14" width="1" height="1"/><rect x="22" y="14" width="1" height="1"/><rect x="24" y="14" width="1" height="1"/><rect x="28" y="14" width="1" height="1"/><rect x="32" y="14" width="1" height="1"/><rect x="33" y="14" width="1" height="1"/><rect x="35" y="14" width="1" height="1"/><rect x="41" y="14" width="1" height="1"/><rect x="42" y="14" width="1" height="1"/><rect x="4" y="15" width="1" height="1"/><rect x="8" y="15" width="1" height="1"/><rect x="9" y="15" width="1" height="1"/><rect x="11" y="15" width="1" height="1"/><rect x="12" y="15" width="1" height="1"/><rect x="16" y="15" width="1" height="1"/><rect x="17" y="15" width="1" height="1"/><rect x="19" y="15" width="1" height="1"/><rect x="22" y="15" width="1" height="1"/><rect x="23" y="15" width="1" height="1"/><rect x="26" y="15" width="1" height="1"/><rect x="31" y="15" width="1" height="1"/><rect x="32" y="15" width="1" height="1"/><rect x="33" y="15" width="1" height="1"/><rect x="39" y="15" width="1" height="1"/><rect x="40" y="15" width="1" height="1"/><rect x="42" y="15" width="1" height="1"/><rect x="4" y="16" width="1" height="1"/><rect x="7" y="16" width="1" height="1"/><rect x="10" y="16" width="1" height="1"/><rect x="16" y="16" width="1" height="1"/><rect x="19" y="16" width="1" height="1"/><rect x="20" y="16" width="1" height="1"/><rect x="23" y="16" width="1" height="1"/><rect x="26" y="16" width="1" height="1"/><rect x="28" y="16" width="1" height="1"/><rect x="29" y="16" width="1" height="1"/><rect x="30" y="16" width="1" height="1"/><rect x="31" y="16" width="1" height="1"/><rect x="35" y="16" width="1" height="1"/><rect x="36" y="16" width="1" height="1"/><rect x="38" y="16" width="1" height="1"/><rect x="41" y="16" width="1" height="1"/><rect x="44" y="16" width="1" height="1"/><rect x="5" y="17" width="1" height="1"/><rect x="6" y="17" width="1" height="1"/><rect x="9" y="17" width="1" height="1"/><rect x="11" y="17" width="1" height="1"/><rect x="13" y="17" width="1" height="1"/><rect x="14" y="17" width="1" height="1"/><rect x="17" y="17" width="1" height="1"/><rect x="22" y="17" width="1" height="1"/><rect x="26" y="17" width="1" height="1"/><rect x="28" y="17" width="1" height="1"/><rect x="29" y="17" width="1" height="1"/><rect x="31" y="17" width="1" height="1"/><rect x="32" y="17" width="1" height="1"/><rect x="33" y="17" width="1" height="1"/><rect x="36" y="17" width="1" height="1"/><rect x="38" y="17" width="1" height="1"/><rect x="43" y="17" width="1" height="1"/><rect x="44" y="17" width="1" height="1"/><rect x="4" y="18" width="1" height="1"/><rect x="6" y="18" width="1" height="1"/><rect x="7" y="18" width="1" height="1"/><rect x="8" y="18" width="1" height="1"/><rect x="10" y="18" width="1" height="1"/><rect x="12" y="18" width="1" height="1"/><rect x="15" y="18" width="1" height="1"/><rect x="17" y="18" width="1" height="1"/><rect x="33" y="18" width="1" height="1"/><rect x="34" y="18" width="1" height="1"/><rect x="35" y="18" width="1" height="1"/><rect x="38" y="18" width="1" height="1"/><rect x="39" y="18" width="1" height="1"/><rect x="41" y="18" width="1" height="1"/><rect x="43" y="18" width="1" height="1"/><rect x="4" y="19" width="1" height="1"/><rect x="7" y="19" width="1" height="1"/><rect x="9" y="19" width="1" height="1"/><rect x="15" y="19" width="1" height="1"/><rect x="16" y="19" width="1" height="1"/><rect x="31" y="19" width="1" height="1"/><rect x="33" y="19" width="1" height="1"/><rect x="34" y="19" width="1" height="1"/><rect x="36" y="19" width="1" height="1"/><rect x="38" y="19" width="1" height="1"/><rect x="40" y="19" width="1" height="1"/><rect x="43" y="19" width="1" height="1"/><rect x="44" y="19" width="1" height="1"/><rect x="4" y="20" width="1" height="1"/><rect x="6" y="20" width="1" height="1"/><rect x="7" y="20" width="1" height="1"/><rect x="10" y="20" width="1" height="1"/><rect x="11" y="20" width="1" height="1"/><rect x="12" y="20" width="1" height="1"/><rect x="13" y="20" width="1" height="1"/><rect x="14" y="20" width="1" height="1"/><rect x="15" y="20" width="1" height="1"/><rect x="34" y="20" width="1" height="1"/><rect x="39" y="20" width="1" height="1"/><rect x="41" y="20" width="1" height="1"/><rect x="43" y="20" width="1" height="1"/><rect x="44" y="20" width="1" height="1"/><rect x="5" y="21" width="1" height="1"/><rect x="6" y="21" width="1" height="1"/><rect x="8" y="21" width="1" height="1"/><rect x="12" y="21" width="1" height="1"/><rect x="14" y="21" width="1" height="1"/><rect x="15" y="21" width="1" height="1"/><rect x="16" y="21" width="1" height="1"/><rect x="17" y="21" width="1" height="1"/><rect x="31" y="21" width="1" height="1"/><rect x="32" y="21" width="1" height="1"/><rect x="33" y="21" width="1" height="1"/><rect x="34" y="21" width="1" height="1"/><rect x="35" y="21" width="1" height="1"/><rect x="36" y="21" width="1" height="1"/><rect x="38" y="21" width="1" height="1"/><rect x="39" y="21" width="1" height="1"/><rect x="41" y="21" width="1" height="1"/><rect x="42" y="21" width="1" height="1"/><rect x="43" y="21" width="1" height="1"/><rect x="44" y="21" width="1" height="1"/><rect x="4" y="22" width="1" height="1"/><rect x="5" y="22" width="1" height="1"/><rect x="6" y="22" width="1" height="1"/><rect x="7" y="22" width="1" height="1"/><rect x="10" y="22" width="1" height="1"/><rect x="11" y="22" width="1" height="1"/><rect x="12" y="22" width="1" height="1"/><rect x="14" y="22" width="1" height="1"/><rect x="16" y="22" width="1" height="1"/><rect x="31" y="22" width="1" height="1"/><rect x="32" y="22" width="1" height="1"/><rect x="33" y="22" width="1" height="1"/><rect x="40" y="22" width="1" height="1"/><rect x="41" y="22" width="1" height="1"/><rect x="42" y="22" width="1" height="1"/><rect x="43" y="22" width="1" height="1"/><rect x="44" y="22" width="1" height="1"/><rect x="4" y="23" width="1" height="1"/><rect x="8" y="23" width="1" height="1"/><rect x="9" y="23" width="1" height="1"/><rect x="14" y="23" width="1" height="1"/><rect x="17" y="23" width="1" height="1"/><rect x="38" y="23" width="1" height="1"/><rect x="39" y="23" width="1" height="1"/><rect x="5" y="24" width="1" height="1"/><rect x="6" y="24" width="1" height="1"/><rect x="7" y="24" width="1" height="1"/><rect x="8" y="24" width="1" height="1"/><rect x="10" y="24" width="1" height="1"/><rect x="15" y="24" width="1" height="1"/><rect x="16" y="24" width="1" height="1"/><rect x="17" y="24" width="1" height="1"/><rect x="31" y="24" width="1" height="1"/><rect x="33" y="24" width="1" height="1"/><rect x="37" y="24" width="1" height="1"/><rect x="38" y="24" width="1" height="1"/><rect x="39" y="24" width="1" height="1"/><rect x="40" y="24" width="1" height="1"/><rect x="41" y="24" width="1" height="1"/><rect x="44" y="24" width="1" height="1"/><rect x="4" y="25" width="1" height="1"/><rect x="6" y="25" width="1" height="1"/><rect x="11" y="25" width="1" height="1"/><rect x="12" y="25" width="1" height="1"/><rect x="14" y="25" width="1" height="1"/><rect x="15" y="25" width="1" height="1"/><rect x="17" y="25" width="1" height="1"/><rect x="31" y="25" width="1" height="1"/><rect x="33" y="25" width="1" height="1"/><rect x="35" y="25" width="1" height="1"/><rect x="36" y="25" width="1" height="1"/><rect x="37" y="25" width="1" height="1"/><rect x="38" y="25" width="1" height="1"/><rect x="40" y="25" width="1" height="1"/><rect x="42" y="25" width="1" height="1"/><rect x="43" y="25" width="1" height="1"/><rect x="44" y="25" width="1" height="1"/><rect x="4" y="26" width="1" height="1"/><rect x="5" y="26" width="1" height="1"/><rect x="7" y="26" width="1" height="1"/><rect x="9" y="26" width="1" height="1"/><rect x="10" y="26" width="1" height="1"/><rect x="11" y="26" width="1" height="1"/><rect x="12" y="26" width="1" height="1"/><rect x="13" y="26" width="1" height="1"/><rect x="14" y="26" width="1" height="1"/><rect x="15" y="26" width="1" height="1"/><rect x="16" y="26" width="1" height="1"/><rect x="17" y="26" width="1" height="1"/><rect x="32" y="26" width="1" height="1"/><rect x="33" y="26" width="1" height="1"/><rect x="36" y="26" width="1" height="1"/><rect x="41" y="26" width="1" height="1"/><rect x="43" y="26" width="1" height="1"/><rect x="5" y="27" width="1" height="1"/><rect x="8" y="27" width="1" height="1"/><rect x="12" y="27" width="1" height="1"/><rect x="14" y="27" width="1" height="1"/><rect x="16" y="27" width="1" height="1"/><rect x="31" y="27" width="1" height="1"/><rect x="34" y="27" width="1" height="1"/><rect x="39" y="27" width="1" height="1"/><rect x="40" y="27" width="1" height="1"/><rect x="4" y="28" width="1" height="1"/><rect x="6" y="28" width="1" height="1"/><rect x="8" y="28" width="1" height="1"/><rect x="9" y="28" width="1" height="1"/><rect x="10" y="28" width="1" height="1"/><rect x="12" y="28" width="1" height="1"/><rect x="13" y="28" width="1" height="1"/><rect x="16" y="28" width="1" height="1"/><rect x="32" y="28" width="1" height="1"/><rect x="33" y="28" width="1" height="1"/><rect x="35" y="28" width="1" height="1"/><rect x="36" y="28" width="1" height="1"/><rect x="38" y="28" width="1" height="1"/><rect x="39" y="28" width="1" height="1"/><rect x="40" y="28" width="1" height="1"/><rect x="42" y="28" width="1" height="1"/><rect x="43" y="28" width="1" height="1"/><rect x="44" y="28" width="1" height="1"/><rect x="4" y="29" width="1" height="1"/><rect x="5" y="29" width="1" height="1"/><rect x="11" y="29" width="1" height="1"/><rect x="12" y="29" width="1" height="1"/><rect x="14" y="29" width="1" height="1"/><rect x="16" y="29" width="1" height="1"/><rect x="33" y="29" width="1" height="1"/><rect x="34" y="29" width="1" height="1"/><rect x="35" y="29" width="1" height="1"/><rect x="38" y="29" width="1" height="1"/><rect x="39" y="29" width="1" height="1"/><rect x="41" y="29" width="1" height="1"/><rect x="43" y="29" width="1" height="1"/><rect x="44" y="29" width="1" height="1"/><rect x="7" y="30" width="1" height="1"/><rect x="8" y="30" width="1" height="1"/><rect x="10" y="30" width="1" height="1"/><rect x="13" y="30" width="1" height="1"/><rect x="15" y="30" width="1" height="1"/><rect x="16" y="30" width="1" height="1"/><rect x="17" y="30" width="1" height="1"/><rect x="32" y="30" width="1" height="1"/><rect x="33" y="30" width="1" height="1"/><rect x="34" y="30" width="1" height="1"/><rect x="36" y="30" width="1" height="1"/><rect x="37" y="30" width="1" height="1"/><rect x="40" y="30" width="1" height="1"/><rect x="43" y="30" width="1" height="1"/><rect x="4" y="31" width="1" height="1"/><rect x="5" y="31" width="1" height="1"/><rect x="7" y="31" width="1" height="1"/><rect x="11" y="31" width="1" height="1"/><rect x="12" y="31" width="1" height="1"/><rect x="16" y="31" width="1" height="1"/><rect x="21" y="31" width="1" height="1"/><rect x="22" y="31" width="1" height="1"/><rect x="25" y="31" width="1" height="1"/><rect x="27" y="31" width="1" height="1"/><rect x="29" y="31" width="1" height="1"/><rect x="30" y="31" width="1" height="1"/><rect x="32" y="31" width="1" height="1"/><rect x="33" y="31" width="1" height="1"/><rect x="34" y="31" width="1" height="1"/><rect x="36" y="31" width="1" height="1"/><rect x="37" y="31" width="1" height="1"/><rect x="38" y="31" width="1" height="1"/><rect x="39" y="31" width="1" height="1"/><rect x="43" y="31" width="1" height="1"/><rect x="44" y="31" width="1" height="1"/><rect x="4" y="32" width="1" height="1"/><rect x="5" y="32" width="1" height="1"/><rect x="6" y="32" width="1" height="1"/><rect x="7" y="32" width="1" height="1"/><rect x="10" y="32" width="1" height="1"/><rect x="13" y="32" width="1" height="1"/><rect x="14" y="32" width="1" height="1"/><rect x="19" y="32" width="1" height="1"/><rect x="21" y="32" width="1" height="1"/><rect x="22" y="32" width="1" height="1"/><rect x="23" y="32" width="1" height="1"/><rect x="27" y="32" width="1" height="1"/><rect x="29" y="32" width="1" height="1"/><rect x="31" y="32" width="1" height="1"/><rect x="34" y="32" width="1" height="1"/><rect x="37" y="32" width="1" height="1"/><rect x="38" y="32" width="1" height="1"/><rect x="43" y="32" width="1" height="1"/><rect x="44" y="32" width="1" height="1"/><rect x="5" y="33" width="1" height="1"/><rect x="7" y="33" width="1" height="1"/><rect x="8" y="33" width="1" height="1"/><rect x="12" y="33" width="1" height="1"/><rect x="13" y="33" width="1" height="1"/><rect x="16" y="33" width="1" height="1"/><rect x="17" y="33" width="1" height="1"/><rect x="20" y="33" width="1" height="1"/><rect x="21" y="33" width="1" height="1"/><rect x="22" y="33" width="1" height="1"/><rect x="25" y="33" width="1" height="1"/><rect x="26" y="33" width="1" height="1"/><rect x="31" y="33" width="1" height="1"/><rect x="32" y="33" width="1" height="1"/><rect x="33" y="33" width="1" height="1"/><rect x="34" y="33" width="1" height="1"/><rect x="35" y="33" width="1" height="1"/><rect x="36" y="33" width="1" height="1"/><rect x="37" y="33" width="1" height="1"/><rect x="41" y="33" width="1" height="1"/><rect x="4" y="34" width="1" height="1"/><rect x="6" y="34" width="1" height="1"/><rect x="7" y="34" width="1" height="1"/><rect x="9" y="34" width="1" height="1"/><rect x="10" y="34" width="1" height="1"/><rect x="12" y="34" width="1" height="1"/><rect x="13" y="34" width="1" height="1"/><rect x="17" y="34" width="1" height="1"/><rect x="18" y="34" width="1" height="1"/><rect x="19" y="34" width="1" height="1"/><rect x="20" y="34" width="1" height="1"/><rect x="21" y="34" width="1" height="1"/><rect x="22" y="34" width="1" height="1"/><rect x="24" y="34" width="1" height="1"/><rect x="26" y="34" width="1" height="1"/><rect x="28" y="34" width="1" height="1"/><rect x="29" y="34" width="1" height="1"/><rect x="30" y="34" width="1" height="1"/><rect x="31" y="34" width="1" height="1"/><rect x="32" y="34" width="1" height="1"/><rect x="33" y="34" width="1" height="1"/><rect x="39" y="34" width="1" height="1"/><rect x="41" y="34" width="1" height="1"/><rect x="42" y="34" width="1" height="1"/><rect x="44" y="34" width="1" height="1"/><rect x="8" y="35" width="1" height="1"/><rect x="12" y="35" width="1" height="1"/><rect x="17" y="35" width="1" height="1"/><rect x="19" y="35" width="1" height="1"/><rect x="20" y="35" width="1" height="1"/><rect x="22" y="35" width="1" height="1"/><rect x="23" y="35" width="1" height="1"/><rect x="26" y="35" width="1" height="1"/><rect x="27" y="35" width="1" height="1"/><rect x="29" y="35" width="1" height="1"/><rect x="30" y="35" width="1" height="1"/><rect x="37" y="35" width="1" height="1"/><rect x="39" y="35" width="1" height="1"/><rect x="41" y="35" width="1" height="1"/><rect x="44" y="35" width="1" height="1"/><rect x="4" y="36" width="1" height="1"/><rect x="7" y="36" width="1" height="1"/><rect x="8" y="36" width="1" height="1"/><rect x="9" y="36" width="1" height="1"/><rect x="10" y="36" width="1" height="1"/><rect x="11" y="36" width="1" height="1"/><rect x="14" y="36" width="1" height="1"/><rect x="17" y="36" width="1" height="1"/><rect x="18" y="36" width="1" height="1"/><rect x="19" y="36" width="1" height="1"/><rect x="26" y="36" width="1" height="1"/><rect x="27" y="36" width="1" height="1"/><rect x="29" y="36" width="1" height="1"/><rect x="31" y="36" width="1" height="1"/><rect x="33" y="36" width="1" height="1"/><rect x="36" y="36" width="1" height="1"/><rect x="37" y="36" width="1" height="1"/><rect x="38" y="36" width="1" height="1"/><rect x="39" y="36" width="1" height="1"/><rect x="40" y="36" width="1" height="1"/><rect x="42" y="36" width="1" height="1"/><rect x="44" y="36" width="1" height="1"/><rect x="12" y="37" width="1" height="1"/><rect x="14" y="37" width="1" height="1"/><rect x="15" y="37" width="1" height="1"/><rect x="20" y="37" width="1" height="1"/><rect x="21" y="37" width="1" height="1"/><rect x="22" y="37" width="1" height="1"/><rect x="24" y="37" width="1" height="1"/><rect x="25" y="37" width="1" height="1"/><rect x="26" y="37" width="1" height="1"/><rect x="28" y="37" width="1" height="1"/><rect x="31" y="37" width="1" height="1"/><rect x="33" y="37" width="1" height="1"/><rect x="35" y="37" width="1" height="1"/><rect x="36" y="37" width="1" height="1"/><rect x="40" y="37" width="1" height="1"/><rect x="42" y="37" width="1" height="1"/><rect x="44" y="37" width="1" height="1"/><rect x="4" y="38" width="1" height="1"/><rect x="5" y="38" width="1" height="1"/><rect x="6" y="38" width="1" height="1"/><rect x="7" y="38" width="1" height="1"/><rect x="8" y="38" width="1" height="1"/><rect x="9" y="38" width="1" height="1"/><rect x="10" y="38" width="1" height="1"/><rect x="13" y="38" width="1" height="1"/><rect x="14" y="38" width="1" height="1"/><rect x="16" y="38" width="1" height="1"/><rect x="18" y="38" width="1" height="1"/><rect x="19" y="38" width="1" height="1"/><rect x="20" y="38" width="1" height="1"/><rect x="21" y="38" width="1" height="1"/><rect x="23" y="38" width="1" height="1"/><rect x="24" y="38" width="1" height="1"/><rect x="26" y="38" width="1" height="1"/><rect x="27" y="38" width="1" height="1"/><rect x="28" y="38" width="1" height="1"/><rect x="30" y="38" width="1" height="1"/><rect x="32" y="38" width="1" height="1"/><rect x="34" y="38" width="1" height="1"/><rect x="35" y="38" width="1" height="1"/><rect x="36" y="38" width="1" height="1"/><rect x="38" y="38" width="1" height="1"/><rect x="40" y="38" width="1" height="1"/><rect x="41" y="38" width="1" height="1"/><rect x="43" y="38" width="1" height="1"/><rect x="4" y="39" width="1" height="1"/><rect x="10" y="39" width="1" height="1"/><rect x="13" y="39" width="1" height="1"/><rect x="14" y="39" width="1" height="1"/><rect x="18" y="39" width="1" height="1"/><rect x="19" y="39" width="1" height="1"/><rect x="20" y="39" width="1" height="1"/><rect x="21" y="39" width="1" height="1"/><rect x="23" y="39" width="1" height="1"/><rect x="24" y="39" width="1" height="1"/><rect x="29" y="39" width="1" height="1"/><rect x="31" y="39" width="1" height="1"/><rect x="34" y="39" width="1" height="1"/><rect x="36" y="39" width="1" height="1"/><rect x="40" y="39" width="1" height="1"/><rect x="43" y="39" width="1" height="1"/><rect x="4" y="40" width="1" height="1"/><rect x="6" y="40" width="1" height="1"/><rect x="7" y="40" width="1" height="1"/><rect x="8" y="40" width="1" height="1"/><rect x="10" y="40" width="1" height="1"/><rect x="16" y="40" width="1" height="1"/><rect x="19" y="40" width="1" height="1"/><rect x="20" y="40" width="1" height="1"/><rect x="21" y="40" width="1" height="1"/><rect x="23" y="40" width="1" height="1"/><rect x="25" y="40" width="1" height="1"/><rect x="27" y="40" width="1" height="1"/><rect x="32" y="40" width="1" height="1"/><rect x="34" y="40" width="1" height="1"/><rect x="35" y="40" width="1" height="1"/><rect x="36" y="40" width="1" height="1"/><rect x="37" y="40" width="1" height="1"/><rect x="38" y="40" width="1" height="1"/><rect x="39" y="40" width="1" height="1"/><rect x="40" y="40" width="1" height="1"/><rect x="42" y="40" width="1" height="1"/><rect x="44" y="40" width="1" height="1"/><rect x="4" y="41" width="1" height="1"/><rect x="6" y="41" width="1" height="1"/><rect x="7" y="41" width="1" height="1"/><rect x="8" y="41" width="1" height="1"/><rect x="10" y="41" width="1" height="1"/><rect x="12" y="41" width="1" height="1"/><rect x="14" y="41" width="1" height="1"/><rect x="15" y="41" width="1" height="1"/><rect x="18" y="41" width="1" height="1"/><rect x="19" y="41" width="1" height="1"/><rect x="20" y="41" width="1" height="1"/><rect x="26" y="41" width="1" height="1"/><rect x="27" y="41" width="1" height="1"/><rect x="28" y="41" width="1" height="1"/><rect x="29" y="41" width="1" height="1"/><rect x="31" y="41" width="1" height="1"/><rect x="33" y="41" width="1" height="1"/><rect x="34" y="41" width="1" height="1"/><rect x="36" y="41" width="1" height="1"/><rect x="37" y="41" width="1" height="1"/><rect x="38" y="41" width="1" height="1"/><rect x="40" y="41" width="1" height="1"/><rect x="44" y="41" width="1" height="1"/><rect x="4" y="42" width="1" height="1"/><rect x="6" y="42" width="1" height="1"/><rect x="7" y="42" width="1" height="1"/><rect x="8" y="42" width="1" height="1"/><rect x="10" y="42" width="1" height="1"/><rect x="16" y="42" width="1" height="1"/><rect x="17" y="42" width="1" height="1"/><rect x="20" y="42" width="1" height="1"/><rect x="23" y="42" width="1" height="1"/><rect x="25" y="42" width="1" height="1"/><rect x="26" y="42" width="1" height="1"/><rect x="31" y="42" width="1" height="1"/><rect x="32" y="42" width="1" height="1"/><rect x="35" y="42" width="1" height="1"/><rect x="36" y="42" width="1" height="1"/><rect x="40" y="42" width="1" height="1"/><rect x="41" y="42" width="1" height="1"/><rect x="44" y="42" width="1" height="1"/><rect x="4" y="43" width="1" height="1"/><rect x="10" y="43" width="1" height="1"/><rect x="15" y="43" width="1" height="1"/><rect x="16" y="43" width="1" height="1"/><rect x="19" y="43" width="1" height="1"/><rect x="21" y="43" width="1" height="1"/><rect x="23" y="43" width="1" height="1"/><rect x="27" y="43" width="1" height="1"/><rect x="30" y="43" width="1" height="1"/><rect x="32" y="43" width="1" height="1"/><rect x="33" y="43" width="1" height="1"/><rect x="34" y="43" width="1" height="1"/><rect x="35" y="43" width="1" height="1"/><rect x="38" y="43" width="1" height="1"/><rect x="39" y="43" width="1" height="1"/><rect x="41" y="43" width="1" height="1"/><rect x="43" y="43" width="1" height="1"/><rect x="4" y="44" width="1" height="1"/><rect x="5" y="44" width="1" height="1"/><rect x="6" y="44" width="1" height="1"/><rect x="7" y="44" width="1" height="1"/><rect x="8" y="44" width="1" height="1"/><rect x="9" y="44" width="1" height="1"/><rect x="10" y="44" width="1" height="1"/><rect x="16" y="44" width="1" height="1"/><rect x="18" y="44" width="1" height="1"/><rect x="19" y="44" width="1" height="1"/><rect x="24" y="44" width="1" height="1"/><rect x="27" y="44" width="1" height="1"/><rect x="28" y="44" width="1" height="1"/><rect x="29" y="44" width="1" height="1"/><rect x="31" y="44" width="1" height="1"/><rect x="33" y="44" width="1" height="1"/><rect x="34" y="44" width="1" height="1"/><rect x="35" y="44" width="1" height="1"/><rect x="36" y="44" width="1" height="1"/><rect x="37" y="44" width="1" height="1"/><rect x="38" y="44" width="1" height="1"/><rect x="39" y="44" width="1" height="1"/><rect x="40" y="44" width="1" height="1"/><rect x="42" y="44" width="1" height="1"/><rect x="43" y="44" width="1" height="1"/>
5
+ </g>
6
+ <rect x="18" y="18" width="13" height="13" fill="#ffffff"/>
7
+ <image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAADmCAYAAADBavm7AAAACXBIWXMAAFxGAABcRgEUlENBAAAQOElEQVR4nO2da4wkVRXHLy8VfBAjguCyyPQ5PeuiCxFBiB9Wo4ToBx/o4gsQIW6CuupO39uza4Qxhhjhg4iiOD6j8YmgGKPG9+OLKMZABDVBMCIr4E7f07OLgCC0udOz7LJ0dXdV3Vt1q+r/S/6fJn1v1bnnN7vTVXVLieFla/jRzNF0nUpADN+Za+wMEU2fTDoeUE+spsvF8KDIWM23jTme63KNbfhRJZp25ztA+m7SAYqhu4oumGj+VLAOAFFiIWZ1xRwsqAN9NQIonsEmdVDSzyBmhcXctZ2ebTWfl6EnQMnsWDj6MDG0NennELPiYrpzXTYznKE3QIlYTZ+zmhbH/BxiVlrMlZOm3w82n3xIhv4AJSBdPmu1zyBmncVcPeaFDD0CCmapS2uspiWI2RwxH+7p1ukZegUUxGBBHWg1/2KfNYOYdRdzePJ0x9IWekaGngEFYA1dsl+fQcwmiLkq55cy9AwITL/Lp1pDD0HMhorp0uvwmzP0DgiEnZ853P1vZkSfQcwmiWkNi52fWZuhh0AAxPDXEvoMYjZJzOFn6Dfj7iwBxSCazx/TZ4tJn4OYdRXT8KBvaD5DLwFP9DW1RNMuiMkQ8/HFoIfclw4ZegrkxN3wYQ3dMKHPFpM+DzFrLOaeYt+7sP5pGXoL5GAasSzEbK6Yq5+/OkNvgYxIp/Uyq/kRiMkQc/I5tV6bocdASnbNtY8QQ/+ass8Wk8aBmE0R09DOf79/3dEZeg1MyUCpA0Tz91L02WLSWBCzIWKuFufHrnky9ByYAqt5S8o+W0weC2I2Rsxhgeh9GXoOTKDXbZ0ghu+HmAwxs4nJD1rd3pCh90ACf1847ili6OYMfbaYNCbEbJiYq+PdcufWNYdm6EEwAjH86Yx9tpg0JsRsopjDQl2RoQfBfvQMv3pli1GIOYCYfsR81DVVhl4Eqyxt5ee6b7tz9Nli0tgQs6Firhbr3t3bjz8qQ082nuFuBPSznH22mDQ+xGywmMPQD3EJJT22y9vzi0AQE2Imp294c4bebCxLXTpt/90IICZDTN9iiqH7ds6112Xo0cZxd2fDU10D+xGBICbEnJg/4RLKZKzmL/gTgSAmxJymePSZDL3aGKxpvcavCAQxIebUcr4tQ8/WntX3xNwDMRliliHm8F0os7MZerfWWMPX+heBICbETBO6GX9v7kUMXRBGBIKYEDPtnHiLtUPmZ5/n3lAeRgSCmCkLBjHdxtGG36KafneP4V+GE4EgZsqCQczVjaP723hGNRQxbMKKQBAzZcEg5t5a3DhYWP8k1TCWOrTean4gcG0Xk+aHmBBzmqI26hGxwRZ6smi6KbwIBDFTFgxi7ldU0fx61RCs4cuKEYEaJqahb4jh67PGato2ZtE+n2fsLEm6ydy9C9MavqaQaFpswuvkh7/s6BtF1LQ/5uEBa1rnWkPfKTJi6Kpxf2/nG5+vDbZoAAAAAAAAAAAAAAAAAEZR9NfMw7TODXU80qELS79ckpBlM8OqooihSyeeY5ffPubzX85TO9F8fuLYmt7gLjHkidshftTYVtM5ecfOElX4DQDDi8WXJy9gmCc9irrBYMKF4z9U8ZY96dI7przo/rHEMfI+daL540ljW00X512bnWb26bHcvOACMSM69xjpa2qJpl3TnRvEFE+BmIWfOz/S79IZqgK4u5esoRtSnBvENH4CMUs5f76nCru6p70PFmKyt0DM0hL3ru7W0EZr+H/p1hViiqdAzBLj3qqsImTXXPsI0bQjw/lATOMnELPEuBfjiuaTVGSsPqmTYV0hpngKxCw/t+5YOPowFQlWt9+dfV0hpngKxIwhmq9WEdDrtk4Qw/dnX1eIKZ4CMSNJv9M6W1V8ixCIyd4CMSOJ1Wzt/MxaVRLuiXwP5wAxjZ9AzJii6TeDTeogVTC9TvtVK3sV5V5XiCmeAjEjizX8AVUg7kYHXy8AgpjsLRAzslhND/d063RV1O7pmn/i79ghpngKxIww1tAddn7mcBUY0dT1u64QU+oqpvtbJ0/E0JVVF3OlRoavUQER03qR1fRfv+sKMaWuYoaiamKu1GnMA+V5uLuz4alW01/9r2s5YvYNbXIbj+fJmAelIWZIqijmyotx59a1fdfCav5imHUtR8yQQMzAVFLMALseuG04wq0rxBRPgZgViNX8UR816M21jrWGegGPE2IaP4GYFcjKrgeaXxnzi2VXjxNiGj+BmBVJ3l0PxPCHCjhGiGlqKqbVfF6e9DvtU+ooZp5dD3q6/dK0uxFkW1eIWVsxc49fgxsMxteu/e5UjTU/c7jV9Pdijq0cMWW4r2yuPX9xuQRi5qud4QftPJ84WcnHmvbrxa0rbjAQT4GY1cytd25dc+hEKQ1dUOy6QkzxFIhZ1SS80j7LRs3+1hViiqdAzAqn322dOepc3TOdVtONxa8rxBRPgZjVTmfUubomK2ddIaZ4CsSsdiCmgpgeFxBiegrEVBDT4wJCTE+BmApielxAiOkpEFNBTI8LCDE9BWIqiOlxASGmp0BMBTE9LiDE9BSIqSCmxwWEmJ4CMRXE9LiAENNTIKaCmB4XEGJ6CsRUENPfAhq+LLnI/Eie1GVf2SkDMVVNxQRgmoet+9vWPnNSpnkULRSDBXVgniSOq9QBecf2eTwAAAAAAAAAAAAAoA5YTW8NlaRv6Za6/PxQcy516bSkb9fEtF/n3gzlO4Mt9ORRc/a6rRNC1nfnXHvdyHNd2HhwiPMsK8tmhsf1cL/Lp/Y7rbNDZNnMzo6a0213GWpOl6DXMXea2WOKeGHqfte7vpK0gFbTthBzumukI+cz/MEmXccMtJ7/XN627lnjxHRrHm5+6ibU+JiQ590oMYfv76Cf+p4TYoaJXblhpPXycVJCzBqIuaeg1tBOn3NCzGD58CQpIWZNxHT0DL96+Fp4P3NCTP+xmn432HzyIZO1hJi1EXN1MT/la06I6X0N+9JpHz/NOq6uJcSsi5juWzUxdLOPOSGm31hNb51mDff2E8SsjZh7LmeI4fvzzgkx/cUa+tK067e3nyBmrcR02C6/J++cENNPrOG/JT1+NQ6IWUMxhzce8PV55oSY+WMNPbTc4ZekWbs9QMwaiunYNdc+QjTtyDonxPQSozIiELOeYjqsoY1ZX4cOMXOv2a/yPBwsELO+YjrclidZ5oSY2eNu9kjqk2mBmDUX013QtoZuSDsnxMwWd5OHNa3XqJwIxKy3mI+9iTnlxlEQM2voE8oDAjHrL+bqQp+fZk6ImWmdbvG1eZdAzGaIuXKMhr827ZzuW91RY0DM0bGaH7C6vcHHOjkgZoPEdFs2WkN3TDMnxEwXq+ki5RGBmM0Rc8+T8e7C96Q5IWaa9aEfuJs6lEcEYjZLTIc1dMmkOSHmtKG7kmqVB4GYzRNzZdcDzb8YNyfEnHY3gvYrVAAEYjZPTMdSl9ZYTUtJc0LMqRr8IyoQAjGbKebKMXf5rKQ5Ieb4WE03DhbWPynEujggZoPFdFhNnxs1J8Qc29i7l+fWtVVABGI2W8wdC0cfJob+sv+cEDM5VtM5KjACMZstpsPOz77QXSDfd06IOTrW8LdUAQjETJc6irly/Ia27jsnxHxirKbbl7bQM1QBCMRMl7qKubLrgebv75kTYj4+VtPDPd06XRWEQMx0qauYjt2dmSPF8N1uToj5+Ngub1cFIhAzXeospqPfbZ3pnimEmPuGfj3YpA5SBSIQM13qLqbDGr4CYg5jNVs7P7NWFYxAzHRpgpjuFXxJr+Frmpgrr48rAYGY6dIEMcfRMDE/rUpCIGa6QMzGiHmru/lClYRAzHSBmPUX0xp+0M7ziapEBGKmC8RsgJiat6iSEYiZLhCz7mLSD33vRpAFgZjpAjHrK6bVfM/u7ccfpSJAIGa6QMx6iul2I+h36QwVCQIx0wVi1lVMulxFhEDMdIGY9RPTGv5DyN0IsiC1FLNLbwwV9zr1USflnmgPNWe/0z5FRcLOufa6kPVdNjM8at7BwsaD+4Y2hUhvrnWsiozlDr+k1+E3h4hbw1Fzut4ONadL8VUEAAAAAAAAAAAAAMXhvsErPurAYMcTwS1iAOQm8HW2VBeofVx/s5ouVpEjmj5ZRt1T1dGw2M7zjlMVQAx9Ivd1wwSs4cvKqD/ELAG344Fouqls+calb9pvUhVBPPyiSxrb9WoZ9YeYJbHUofVi+P6yBUyo4aKqEAIxIaZPrKF3lS3hE6Lpz2XuRpAFgZgQ0zdi+PrSZdxTO8MPiuaTVMUQiAkxfdPftvaZovkfZUu5UrsOv1dVEIGYEDME1tBGa/h/JYv5o6peahKICTFDYTV/tCwp3W4E9+rjnqMqikBMiBkKd3OEaP5tCVJGtRtBFgRiQsyQ9DW1xPByoWth+DJVcQRiQszQ2C6/vUApo9uNIAsCMSFmEYjmr4ZfB7pv2czOqhogEBNiFoGdnzncGroj7BrweaomCMSEmEXh9i6yhh4KUn/D16gaIRATYhaJO5cAtb/d/YusaoRATIhZJO65VWvo5x7r/nBPt05XNUMgZlgx3ZaAVtM380S6fJaqEUtdWmM1LXmpe5e3qxoiEDOsmGA07pdN/rrTrweb1EGqhvTN7IutpnPyJGlsiAnGYg19Nnu92dr5mbVln0MVsRATjMM9I+melcxW79Zryz7+qmIhJphErzPzAqv5gXT1pqvKPu4qYyEmmAYxtHXqWmu+5c6taw4t+5irjIWYYBrcM5Oi+fuTa8wPWN3eUPbxVh0LMYeXS0Tz9/Kk32mdrWrO7s7MkWL47gk1vqjs46wDFmLiBoM09LutM63hR0fWQdMPqrobQRbE0JWuFnmSNDbEhJipsYaveGIN6K5dc+0jVIMQ3GAAMWPbONoa/uPec+dHxLRfoRqGQEyIGRvurdKiaffw/OlS1UAEYkLMGOkb3mwN/X6w+eRDVAMRiAkxY6Vpf1fuC8SEmCBCBGJCTBAfAjEhJogPgZgQE8SHQEyICeJDICbEBPEhEBNigvgQiAkxQXwIxISYID4EYkJMEB9SRzHddvnFh96WuK9szrFF0xuCdgGIDunQhdbQd/IkaWxrWufmHdvn8QAAAAAAAAAAAAAAAAAIgjV8bZ6vdcWwSRrbbc9f/FfNrXPDVArEimh+pxi+vshYzV9MPh7q5hubvqkS9yad/oL+dUkHaDXfFsvNC6C+iIcbDNKH/pV0PM6JXGNr/g/EBJVHICbEBPEhEBNigvgQiAkxQXwIxISYID4EYkJMEB8CMSEmiA+BmBATxIdATIgJ4kMgJsQE8SEQE2KC+BCICTFBfAjEhJggPgRiQkwQHwIxISaID4GYEBPEh0BMiAniQyAmxATxIRATYoL4EIgJMUF8CMSEmCA+BGJCTBAfAjEhJogPgZgQE8SHQEyICeJDICbEBPEhEBNigvgQiAkxQXwIxISYID4EYkJMEB8CMSEmiA+BmBATxIdATIgJ4kMgJsQE8SEQE2KC+BCICTFBfAjEhJggPgRiQkwQHwIxISaIDzF0pevjIiOG7ko6Hqv527nG1rT7/wpYLbu+ITceAAAAAElFTkSuQmCC" x="19" y="19" width="11" height="11" preserveAspectRatio="xMidYMid meet"/>
8
+ </svg>
@@ -0,0 +1 @@
1
+ "use strict";var l=Object.defineProperty;var t=(e,r)=>l(e,"name",{value:r,configurable:!0});var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveStillVariant=exports.default=exports.QrStampStill=void 0;var qr_stamp_still_1=require("./qr-stamp-still");Object.defineProperty(exports,"QrStampStill",{enumerable:!0,get:t(function(){return qr_stamp_still_1.QrStampStill},"get")}),Object.defineProperty(exports,"default",{enumerable:!0,get:t(function(){return __importDefault(qr_stamp_still_1).default},"get")}),Object.defineProperty(exports,"resolveStillVariant",{enumerable:!0,get:t(function(){return qr_stamp_still_1.resolveStillVariant},"get")});
@@ -0,0 +1 @@
1
+ "use strict";var M=Object.defineProperty;var o=(e,t)=>M(e,"name",{value:t,configurable:!0});var __createBinding=this&&this.__createBinding||(Object.create?(function(e,t,r,i){i===void 0&&(i=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:o(function(){return t[r]},"get")}),Object.defineProperty(e,i,a)}):(function(e,t,r,i){i===void 0&&(i=r),e[i]=t[r]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),__importStar=this&&this.__importStar||(function(){var e=o(function(t){return e=Object.getOwnPropertyNames||function(r){var i=[];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i[i.length]=a);return i},e(t)},"ownKeys");return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i=e(t),a=0;a<i.length;a++)i[a]!=="default"&&__createBinding(r,t,i[a]);return __setModuleDefault(r,t),r}})();Object.defineProperty(exports,"__esModule",{value:!0}),exports.QrStampStill=void 0,exports.resolveStillVariant=resolveStillVariant;const path=__importStar(require("node:path")),types_1=require("@m0saic/types"),dsl_stdlib_1=require("@m0saic/dsl-stdlib"),template_utils_1=require("@m0saic/template-utils"),QR_ANIMATE_ASSETS_DIR=path.resolve(__dirname,"..","..","assets");function unpackedAsarPath(e){const t=`${path.sep}app.asar${path.sep}`;return e.includes(t)?e.split(t).join(`${path.sep}app.asar.unpacked${path.sep}`):e}o(unpackedAsarPath,"unpackedAsarPath");const VARIANT_STATIC_PATH={light:unpackedAsarPath(path.join(QR_ANIMATE_ASSETS_DIR,"qr-animate.light.static.png")),dark:unpackedAsarPath(path.join(QR_ANIMATE_ASSETS_DIR,"qr-animate.dark.static.png"))},FREE_TIER_URL_RE=/^https?:\/\/(?:www\.)?m0saic\.io\/?$/i,BRAND_ORANGE="#f97316",DEFAULTS={text:"https://www.m0saic.io",cornerInsetPx:24,stampSizePct:26,mode:"auto",autoThreshold:128,bgOpacity:.92},propsSchema=(0,template_utils_1.definePropsSchema)({imagePath:{type:"media",required:!0,description:"Path to the base image file to stamp.",meta:{control:{picker:"file",accept:["image"]}}},text:{type:"string",required:!1,description:"Text encoded into the QR \u2014 URL, plain string, or structured payload (default: https://www.m0saic.io).",meta:{control:{flavor:"url",placeholder:"https://www.m0saic.io"}}},cornerInsetPx:{type:"number",required:!1,description:"Padding from the bottom-right edge, in pixels.",meta:{constraints:{min:0,max:500}}},stampSizePct:{type:"number",required:!1,description:"Stamp size as a percent of min(W, H).",meta:{constraints:{min:1,max:50}}},mode:{type:"string",required:!1,description:"QR adaptation mode.",meta:{constraints:{oneOf:["auto","light","dark","transparent"]}}},overallLumaForAuto:{type:"number",required:!1,description:"Region-average luma (0..255) for auto mode; the CLI free-tier hook fills this from a single ffmpeg signalstats sample.",meta:{control:{placeholder:"measured from the frame"},constraints:{min:0,max:255}}},autoThreshold:{type:"number",required:!1,description:"Threshold; overallLumaForAuto above this \u2192 light-bg variant.",meta:{constraints:{min:0,max:255}}},bgOpacity:{type:"number",required:!1,description:"Opacity of the QR's solid background, 0..1 (default 0.92). Lower = softer sticker.",meta:{constraints:{min:0,max:1}}}});function resolveStillVariant(e,t,r){return e==="light"?"light":e==="dark"?"dark":e==="transparent"?"transparent":typeof t=="number"?t>r?"light":"dark":"light"}o(resolveStillVariant,"resolveStillVariant");function variantBackgroundColor(e,t){if(e==="transparent")return;const r=e==="dark"?"#000000":"#ffffff",i=Math.max(0,Math.min(1,t));if(i>=1)return r;const a=Math.round(i*255).toString(16).padStart(2,"0");return`${r}${a}`}o(variantBackgroundColor,"variantBackgroundColor"),exports.QrStampStill=(0,template_utils_1.defineMosaicTemplate)({id:(0,types_1.asTemplateId)("@m0saic/brand/qr-stamp/still/v1"),label:"QR Brand Attribution \u2014 Image",version:1,lattice:{mode:"bitmap"},description:"The official m0saic attribution stamp for IMAGE deliverables \u2014 the exact template the free tier runs on every rendered image. Stamps the m0saic QR card (light or dark, picked by a one-shot brightness probe of the corner region) in the bottom-right corner. Exists solely for that hook; to stamp your own media, use QR Stamp.",capabilities:{tier:"core"},internal:!0,tags:["brand","qr","watermark","free-tier","still","internal"],outputHints:{width:1920,height:1080,fps:30,durationMs:2e3,format:{kind:"image",container:"png",pixelFormat:"rgba"}},propsSchema,defaultProps:DEFAULTS,async render(e,t){var r,i,a,m,u,p;if(!e.imagePath)return(0,template_utils_1.makeErrorMosaic)("QrStampStill: imagePath prop is required (the base image to stamp).",{title:"QR Brand Attribution \u2014 Image",width:t.target.width,height:t.target.height});const h=(r=e.text)!==null&&r!==void 0?r:DEFAULTS.text,_=(i=e.cornerInsetPx)!==null&&i!==void 0?i:DEFAULTS.cornerInsetPx,S=(a=e.stampSizePct)!==null&&a!==void 0?a:DEFAULTS.stampSizePct,v=(m=e.mode)!==null&&m!==void 0?m:DEFAULTS.mode,y=(u=e.autoThreshold)!==null&&u!==void 0?u:DEFAULTS.autoThreshold,P=(p=e.bgOpacity)!==null&&p!==void 0?p:DEFAULTS.bgOpacity,l=resolveStillVariant(v,e.overallLumaForAuto,y),f=t.output.width,g=t.output.height,q=Math.max(64,Math.round(Math.min(f,g)*(S/100))),n=(0,template_utils_1.buildCornerStampM0)({canvasW:f,canvasH:g,stampPx:q,gutterPx:_,overlayCount:1}),w=l!=="transparent"&&FREE_TIER_URL_RE.test(h),d=(0,types_1.asAssetId)("qr_stamp_still_base");if(w){const s=(0,types_1.asAssetId)(`qr_stamp_still_${l}`),I={[d]:{kind:"file",path:e.imagePath,mediaType:"image"},[s]:{kind:"file",path:VARIANT_STATIC_PATH[l],mediaType:"image"}},R=[{type:"media",mediaType:"image",assetId:d,placement:{fit:"cover"}},{type:"media",mediaType:"image",assetId:s,placement:{fit:"contain",hAlign:"left",vAlign:"top",inset:{right:n.insetRight,bottom:n.insetBottom}}}];return{kind:"mosaic_document",version:1,m0:(0,dsl_stdlib_1.toM0String)(n.m0,"QrStampStill"),assets:I,sources:R}}let c;try{c=(0,template_utils_1.qrToRenderable)({text:h,moduleColor:BRAND_ORANGE,errorCorrectionLevel:"H"})}catch(s){return(0,template_utils_1.makeErrorMosaic)(`QrStampStill: ${s instanceof Error?s.message:String(s)}`,{title:"QR Brand Attribution \u2014 Image",width:t.target.width,height:t.target.height})}const b=variantBackgroundColor(l,P),x={kind:"mosaic_document",version:1,m0:(0,dsl_stdlib_1.toM0String)(String(c.m0),`QrStampStill-qr-${l}`),sources:c.sources,assets:{},size:{width:c.canvasW,height:c.canvasH},...b!==void 0?{backgroundColor:b}:{}},A={[d]:{kind:"file",path:e.imagePath,mediaType:"image"}},T=[{type:"media",mediaType:"image",assetId:d,placement:{fit:"cover"}},{type:"mosaic",ref:"qr",placement:{fit:"contain",hAlign:"left",vAlign:"top",inset:{right:n.insetRight,bottom:n.insetBottom}}}];return{kind:"mosaic_document",version:1,m0:(0,dsl_stdlib_1.toM0String)(n.m0,"QrStampStill"),assets:A,sources:T,children:{qr:x}}}}),(0,template_utils_1.registerTemplate)(exports.QrStampStill),exports.default=exports.QrStampStill;
@@ -0,0 +1 @@
1
+ "use strict";var u=Object.defineProperty;var t=(e,r)=>u(e,"name",{value:r,configurable:!0});var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.QrStampVideoV2=void 0;var qr_stamp_1=require("./qr-stamp");Object.defineProperty(exports,"QrStampVideoV2",{enumerable:!0,get:t(function(){return qr_stamp_1.QrStampVideoV2},"get")}),Object.defineProperty(exports,"default",{enumerable:!0,get:t(function(){return __importDefault(qr_stamp_1).default},"get")});
@@ -0,0 +1 @@
1
+ "use strict";var O=Object.defineProperty;var p=(t,e)=>O(t,"name",{value:e,configurable:!0});var __createBinding=this&&this.__createBinding||(Object.create?(function(t,e,r,i){i===void 0&&(i=r);var a=Object.getOwnPropertyDescriptor(e,r);(!a||("get"in a?!e.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:p(function(){return e[r]},"get")}),Object.defineProperty(t,i,a)}):(function(t,e,r,i){i===void 0&&(i=r),t[i]=e[r]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),__importStar=this&&this.__importStar||(function(){var t=p(function(e){return t=Object.getOwnPropertyNames||function(r){var i=[];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i[i.length]=a);return i},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i=t(e),a=0;a<i.length;a++)i[a]!=="default"&&__createBinding(r,e,i[a]);return __setModuleDefault(r,e),r}})();Object.defineProperty(exports,"__esModule",{value:!0}),exports.QrStampVideoV2=void 0;const path=__importStar(require("node:path")),types_1=require("@m0saic/types"),dsl_stdlib_1=require("@m0saic/dsl-stdlib"),template_utils_1=require("@m0saic/template-utils"),windows_1=require("./windows"),QR_ANIMATE_NATURAL_DUR_MS=7020,WINDOW_FADE_IN_SEC=.4,WINDOW_FADE_OUT_SEC=.4,STATIC_MAX_MS=2500,SHORT_FADE_IN_SEC=.2,STATIC_FADE_IN_SEC=.15,QR_ANIMATE_ASSETS_DIR=path.resolve(__dirname,"..","..","assets");function unpackedAsarPath(t){const e=`${path.sep}app.asar${path.sep}`;return t.includes(e)?t.split(e).join(`${path.sep}app.asar.unpacked${path.sep}`):t}p(unpackedAsarPath,"unpackedAsarPath");const VARIANT_ASSET_PATH={light:unpackedAsarPath(path.join(QR_ANIMATE_ASSETS_DIR,"qr-animate.light.mp4")),dark:unpackedAsarPath(path.join(QR_ANIMATE_ASSETS_DIR,"qr-animate.dark.mp4"))},VARIANT_STATIC_PATH={light:unpackedAsarPath(path.join(QR_ANIMATE_ASSETS_DIR,"qr-animate.light.static.png")),dark:unpackedAsarPath(path.join(QR_ANIMATE_ASSETS_DIR,"qr-animate.dark.static.png"))},DEFAULTS={qrSizePct:26,qrInsetPx:24,qrAlpha:.92,variantLumaThreshold:128},propsSchema=(0,template_utils_1.definePropsSchema)({videoPath:{type:"media",required:!0,description:"Path to the base video file to stamp.",meta:{control:{picker:"file",accept:["video"]}}},videoDurationMs:{meta:{control:{placeholder:"render length"}},type:"number",required:!1,description:"Total duration of the input video, ms (filled by the wrapper)."},luminanceBuckets:{type:"json",required:!1,description:"Pre-computed luminance buckets for the QR's destination rect."},qrSizePct:{type:"number",required:!1,description:"QR cell size as a percent of min(W, H).",meta:{constraints:{min:1,max:50}}},qrInsetPx:{type:"number",required:!1,description:"Padding from the bottom-right edge, px.",meta:{constraints:{min:0,max:500}}},qrAlpha:{type:"number",required:!1,description:"Overall opacity of the stamped QR, 0..1.",meta:{constraints:{min:0,max:1}}},coverageOverride:{type:"number",required:!1,description:"Override the coverage tier (0..1).",meta:{control:{placeholder:"auto"},constraints:{min:0,max:1}}},variantLumaThreshold:{type:"number",required:!1,description:"YAVG threshold for the light/dark variant pick.",meta:{constraints:{min:0,max:255}}},minGapMs:{type:"number",required:!1,description:"Minimum gap between consecutive multi-window QR appearances, ms.",meta:{control:{placeholder:"auto"},constraints:{min:0,max:6e4}}}});exports.QrStampVideoV2=(0,template_utils_1.defineMosaicTemplate)({id:(0,types_1.asTemplateId)("@m0saic/brand/qr-stamp/video/v2"),label:"QR Brand Attribution \u2014 Video",version:2,lattice:{mode:"bitmap"},description:"The official m0saic attribution stamp for VIDEO deliverables \u2014 the exact template the free tier runs on every rendered video. Plays the committed qr-animate brand mark in one or more time windows scaled to clip duration; each window's light/dark card is picked from a region luminance probe. Exists solely for that hook; to stamp your own media, use QR Stamp.",capabilities:{tier:"capability",caps:{fs:{read:!0,write:!0,temp:!0}}},internal:!0,tags:["brand","qr","watermark","free-tier","animated","internal"],outputHints:{width:1920,height:1080,fps:30,durationMs:1e4,format:{kind:"video",container:"mp4"}},propsSchema,defaultProps:DEFAULTS,async render(t,e){var r,i,a,u,m,h,f,v;if(!t.videoPath)return(0,template_utils_1.makeErrorMosaic)("QrStampVideoV2: videoPath prop is required (the base video to stamp).",{title:"QR Brand Attribution \u2014 Video",width:e.target.width,height:e.target.height});const s=(i=(r=t.videoDurationMs)!==null&&r!==void 0?r:e.target.durationMs)!==null&&i!==void 0?i:void 0;if(s==null||!Number.isFinite(s)||s<=0)return(0,template_utils_1.makeErrorMosaic)("QrStampVideoV2: videoDurationMs is required (the wrapper probes this via ffprobe).",{title:"QR Brand Attribution \u2014 Video",width:e.target.width,height:e.target.height});const x=(a=t.qrSizePct)!==null&&a!==void 0?a:DEFAULTS.qrSizePct,A=(u=t.qrInsetPx)!==null&&u!==void 0?u:DEFAULTS.qrInsetPx,S=(m=t.qrAlpha)!==null&&m!==void 0?m:DEFAULTS.qrAlpha,q=(h=t.variantLumaThreshold)!==null&&h!==void 0?h:DEFAULTS.variantLumaThreshold,_=e.output.width,g=e.output.height,w=Math.max(64,Math.round(Math.min(_,g)*(x/100)));if(s<QR_ANIMATE_NATURAL_DUR_MS){const n=(0,windows_1.pickVariantForWindow)((f=t.luminanceBuckets)!==null&&f!==void 0?f:[],0,s,q),d=s<STATIC_MAX_MS,o=(0,template_utils_1.buildCornerStampM0)({canvasW:_,canvasH:g,stampPx:w,gutterPx:A,overlayCount:1}),c=(0,types_1.asAssetId)("qr_stamp_v2_base"),l=(0,types_1.asAssetId)(`qr_stamp_v2_${n}`),k={alpha:(0,template_utils_1.composeAlpha)((0,template_utils_1.buildEntranceExpr)(0,d?STATIC_FADE_IN_SEC:SHORT_FADE_IN_SEC),S.toFixed(4))},E=d?{type:"media",mediaType:"image",assetId:l,placement:{fit:"contain",hAlign:"left",vAlign:"top",inset:{right:o.insetRight,bottom:o.insetBottom}},overlay:k}:{type:"media",mediaType:"video",assetId:l,placement:{fit:"contain",hAlign:"left",vAlign:"top",inset:{right:o.insetRight,bottom:o.insetBottom}},playback:{clipDurationMs:QR_ANIMATE_NATURAL_DUR_MS,playSpeed:1,loopMode:"loop"},overlay:k};return{kind:"mosaic_document",version:1,m0:(0,dsl_stdlib_1.toM0String)(o.m0,d?"QrStampVideoV2-static":"QrStampVideoV2-short"),assets:{[c]:{kind:"file",path:t.videoPath,mediaType:"video"},[l]:{kind:"file",path:d?VARIANT_STATIC_PATH[n]:VARIANT_ASSET_PATH[n],mediaType:d?"image":"video"}},sources:[{type:"media",mediaType:"video",assetId:c,placement:{fit:"cover"}},E]}}const T=(0,windows_1.planWindows)({videoDurMs:s,qrNaturalDurMs:QR_ANIMATE_NATURAL_DUR_MS,luminanceBuckets:(v=t.luminanceBuckets)!==null&&v!==void 0?v:[],coverageOverride:t.coverageOverride,variantThreshold:q,...t.minGapMs!==void 0?{minGapMs:t.minGapMs}:{}}),M=(0,windows_1.groupWindowsByVariant)(T.windows),b=["light","dark"].filter(n=>M[n].length>0);if(b.length===0)throw new Error("QrStampVideoV2: planWindows returned no windows \u2014 should be unreachable");const y=(0,template_utils_1.buildCornerStampM0)({canvasW:_,canvasH:g,stampPx:w,gutterPx:A,overlayCount:b.length}),P=(0,types_1.asAssetId)("qr_stamp_v2_base"),I={[P]:{kind:"file",path:t.videoPath,mediaType:"video"}},V=[{type:"media",mediaType:"video",assetId:P,placement:{fit:"cover"}}];for(const n of b){const d=M[n],o=(0,windows_1.buildWindowsAlphaExpr)(d,{peakAlpha:S,fadeInSec:WINDOW_FADE_IN_SEC,fadeOutSec:WINDOW_FADE_OUT_SEC});if(!o)continue;const c=(0,types_1.asAssetId)(`qr_stamp_v2_${n}`);I[c]={kind:"file",path:VARIANT_ASSET_PATH[n],mediaType:"video"};const l={alpha:o};V.push({type:"media",mediaType:"video",assetId:c,placement:{fit:"contain",hAlign:"left",vAlign:"top",inset:{right:y.insetRight,bottom:y.insetBottom}},playback:{loopMode:"loop",clipDurationMs:QR_ANIMATE_NATURAL_DUR_MS,playSpeed:T.playbackSpeed},overlay:l})}return{kind:"mosaic_document",version:1,m0:(0,dsl_stdlib_1.toM0String)(y.m0,"QrStampVideoV2"),assets:I,sources:V}}}),(0,template_utils_1.registerTemplate)(exports.QrStampVideoV2),exports.default=exports.QrStampVideoV2;
@@ -0,0 +1 @@
1
+ "use strict";var n=Object.defineProperty;var e=(r,t)=>n(r,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.pickVariantForWindow=exports.pickCoverage=exports.groupWindowsByVariant=exports.buildWindowsAlphaExpr=exports.avgLumaForWindow=void 0,exports.planWindows=planWindows;const template_utils_1=require("@m0saic/template-utils");var template_utils_2=require("@m0saic/template-utils");Object.defineProperty(exports,"avgLumaForWindow",{enumerable:!0,get:e(function(){return template_utils_2.avgLumaForWindow},"get")}),Object.defineProperty(exports,"buildWindowsAlphaExpr",{enumerable:!0,get:e(function(){return template_utils_2.buildWindowsAlphaExpr},"get")}),Object.defineProperty(exports,"groupWindowsByVariant",{enumerable:!0,get:e(function(){return template_utils_2.groupWindowsByVariant},"get")}),Object.defineProperty(exports,"pickCoverage",{enumerable:!0,get:e(function(){return template_utils_2.pickCoverage},"get")}),Object.defineProperty(exports,"pickVariantForWindow",{enumerable:!0,get:e(function(){return template_utils_2.pickVariantForWindow},"get")});function planWindows(r){const{qrNaturalDurMs:t,...o}=r;return(0,template_utils_1.planStampWindows)({...o,slotDurMs:t})}e(planWindows,"planWindows");
@@ -0,0 +1 @@
1
+ "use strict";var c=Object.defineProperty;var o=(r,e)=>c(r,"name",{value:e,configurable:!0});var __createBinding=this&&this.__createBinding||(Object.create?(function(r,e,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(e,t);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[t]},"get")}),Object.defineProperty(r,i,n)}):(function(r,e,t,i){i===void 0&&(i=t),r[i]=e[t]})),__exportStar=this&&this.__exportStar||function(r,e){for(var t in r)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&__createBinding(e,r,t)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(require("./scale"),exports),__exportStar(require("./line"),exports);
@@ -0,0 +1,2 @@
1
+ "use strict";var L=Object.defineProperty;var d=(e,t)=>L(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.normalizeRecords=normalizeRecords,exports.buildLineChartModel=buildLineChartModel,exports.linePathD=linePathD,exports.pointsPathD=pointsPathD,exports.renderLineChartSvg=renderLineChartSvg,exports.lineChartSvgFromRecords=lineChartSvgFromRecords;const scale_1=require("./scale");function normalizeRecords(e,t,i){return{labels:e.map(a=>String(a[t])),series:i.map(a=>{var c;return{name:(c=a.name)!==null&&c!==void 0?c:a.key,color:a.color,values:e.map(h=>Number(h[a.key]))}})}}d(normalizeRecords,"normalizeRecords");const DEFAULT_COLORS=["#2563eb","#16a34a","#db2777","#d97706","#7c3aed"];function buildLineChartModel(e,t={}){var i,a,c,h,g,m,u,v,o;const w=(i=t.width)!==null&&i!==void 0?i:1280,_=(a=t.height)!==null&&a!==void 0?a:720,f=(c=t.padding)!==null&&c!==void 0?c:{},b={left:(h=f.left)!==null&&h!==void 0?h:70,right:w-((g=f.right)!==null&&g!==void 0?g:24),top:(m=f.top)!==null&&m!==void 0?m:120,bottom:_-((u=f.bottom)!==null&&u!==void 0?u:48)},k=e.series.flatMap($=>$.values),M=k.length?Math.max(...k):1,s=k.length?Math.min(...k):0,l=(0,scale_1.linearScale)(s,M,{beginAtZero:(v=t.beginAtZero)!==null&&v!==void 0?v:!0,maxTicks:(o=t.maxTicks)!==null&&o!==void 0?o:11}),r=(0,scale_1.categoryCenters)(e.labels.length,b.left,b.right,!1),x=e.series.map(($,y)=>{var p;return{name:$.name,values:$.values,color:(p=$.color)!==null&&p!==void 0?p:DEFAULT_COLORS[y%DEFAULT_COLORS.length]}}),C=x.map($=>$.values.map((y,p)=>({x:r[p],y:(0,scale_1.project)(y,l.min,l.max,b.bottom,b.top)})));return{layout:{width:w,height:_,plot:b},scale:l,xs:r,points:C,labels:e.labels,series:x}}d(buildLineChartModel,"buildLineChartModel");const n=d(e=>Math.round(e*100)/100,"n");function linePathD(e){return e.map((t,i)=>`${i===0?"M":"L"} ${n(t.x)} ${n(t.y)}`).join(" ")}d(linePathD,"linePathD");function pointsPathD(e,t){return e.map(i=>`M ${n(i.x-t)} ${n(i.y)} a ${t} ${t} 0 1 0 ${n(t*2)} 0 a ${t} ${t} 0 1 0 ${n(-t*2)} 0 Z`).join(" ")}d(pointsPathD,"pointsPathD");const esc=d(e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"esc"),FONT="-apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif";function renderLineChartSvg(e,t={}){var i,a,c,h,g,m;const{width:u,height:v,plot:o}=e.layout,w=(i=t.background)!==null&&i!==void 0?i:"#ffffff",_=(a=t.gridColor)!==null&&a!==void 0?a:"#eef2f7",f=(c=t.axisTextColor)!==null&&c!==void 0?c:"#6b7280",b="#111827",k=(h=t.strokeWidth)!==null&&h!==void 0?h:2,M=(g=t.pointRadius)!==null&&g!==void 0?g:3,s=[];s.push(`<svg xmlns="http://www.w3.org/2000/svg" width="${u}" height="${v}" viewBox="0 0 ${u} ${v}">`),s.push(`<rect x="0" y="0" width="${u}" height="${v}" fill="${w}"/>`);for(const l of e.scale.ticks){const r=(0,scale_1.project)(l,e.scale.min,e.scale.max,o.bottom,o.top);s.push(`<line x1="${o.left}" y1="${n(r)}" x2="${o.right}" y2="${n(r)}" stroke="${_}" stroke-width="1"/>`),s.push(`<text x="${o.left-10}" y="${n(r+4)}" font-family="${FONT}" font-size="13" fill="${f}" text-anchor="end">${esc((0,scale_1.formatTick)(l))}</text>`)}for(let l=0;l<e.xs.length;l++){const r=e.xs[l];s.push(`<line x1="${n(r)}" y1="${o.top}" x2="${n(r)}" y2="${o.bottom}" stroke="${_}" stroke-width="1"/>`),s.push(`<text x="${n(r)}" y="${o.bottom+22}" font-family="${FONT}" font-size="13" fill="${f}" text-anchor="middle">${esc(e.labels[l])}</text>`)}s.push(`<line x1="${o.left}" y1="${o.top}" x2="${o.left}" y2="${o.bottom}" stroke="#d1d5db" stroke-width="1"/>`),s.push(`<line x1="${o.left}" y1="${o.bottom}" x2="${o.right}" y2="${o.bottom}" stroke="#d1d5db" stroke-width="1"/>`);for(const l of e.series.map((r,x)=>({...r,points:e.points[x]})))s.push(`<path d="${linePathD(l.points)}" fill="none" stroke="${l.color}" stroke-width="${k}" stroke-linejoin="round" stroke-linecap="round"/>`),s.push(`<path d="${pointsPathD(l.points,M)}" fill="${l.color}"/>`);if(t.title&&s.push(`<text x="${u/2}" y="40" font-family="${FONT}" font-size="22" font-weight="700" fill="${b}" text-anchor="middle">${esc(t.title)}</text>`),t.subtitle&&s.push(`<text x="${u/2}" y="64" font-family="${FONT}" font-size="13" fill="${f}" text-anchor="middle">${esc(t.subtitle)}</text>`),!((m=t.showLegend)!==null&&m!==void 0)||m){const l=e.series,r=18,x=22,$=x+6+70+r;let y=u/2-(l.length*$-r)/2;const p=92;for(const j of l)s.push(`<rect x="${n(y)}" y="${p-9}" width="${x}" height="11" rx="2" fill="${j.color}"/>`),s.push(`<text x="${n(y+x+6)}" y="${p}" font-family="${FONT}" font-size="13" fill="#374151">${esc(j.name)}</text>`),y+=$}return s.push("</svg>"),s.join(`
2
+ `)}d(renderLineChartSvg,"renderLineChartSvg");function lineChartSvgFromRecords(e,t,i,a={},c={}){const h=buildLineChartModel(normalizeRecords(e,t,i),a);return{svg:renderLineChartSvg(h,c),model:h}}d(lineChartSvgFromRecords,"lineChartSvgFromRecords");
@@ -0,0 +1 @@
1
+ "use strict";var n=Object.defineProperty;var e=(r,t)=>n(r,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.formatTick=exports.categoryCenters=exports.project=exports.linearScale=exports.niceNum=void 0;var dsl_stdlib_1=require("@m0saic/dsl-stdlib");Object.defineProperty(exports,"niceNum",{enumerable:!0,get:e(function(){return dsl_stdlib_1.niceNum},"get")}),Object.defineProperty(exports,"linearScale",{enumerable:!0,get:e(function(){return dsl_stdlib_1.linearScale},"get")}),Object.defineProperty(exports,"project",{enumerable:!0,get:e(function(){return dsl_stdlib_1.project},"get")}),Object.defineProperty(exports,"categoryCenters",{enumerable:!0,get:e(function(){return dsl_stdlib_1.categoryCenters},"get")}),Object.defineProperty(exports,"formatTick",{enumerable:!0,get:e(function(){return dsl_stdlib_1.formatTick},"get")});
@@ -0,0 +1 @@
1
+ "use strict";var o=Object.defineProperty;var n=(e,t)=>o(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.computeBarTiming=computeBarTiming,exports.easingExpr=easingExpr,exports.fillFractionExpr=fillFractionExpr;function computeBarTiming(e,t){const r=t.intro.delaySec+e*t.intro.staggerSec,i=r+t.intro.durationSec;return{startAtSec:r,endAtSec:i}}n(computeBarTiming,"computeBarTiming");function easingExpr(e,t="u"){return e==="smoothstep"?`(${t})*(${t})*(3-2*(${t}))`:e==="easeInOut"?`(${t})*(${t})*(3-2*(${t}))`:`${t}`}n(easingExpr,"easingExpr");function fillFractionExpr(e,t,r){return r.reduceMotion?`${e}`:""}n(fillFractionExpr,"fillFractionExpr");
@@ -0,0 +1 @@
1
+ "use strict";var t=Object.defineProperty;var i=(e,o)=>t(e,"name",{value:o,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveAxisConfig=resolveAxisConfig;function resolveAxisConfig(e){return e==="horizontal"?{fillAxis:"x",layoutAxis:"y",labelDock:"left",valueDock:"right",gridDirection:"vertical",baselineEdge:"left"}:{fillAxis:"y",layoutAxis:"x",labelDock:"bottom",valueDock:"top",gridDirection:"horizontal",baselineEdge:"bottom"}}i(resolveAxisConfig,"resolveAxisConfig");
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ChartsBarGraph=void 0;const types_1=require("@m0saic/types"),dsl_stdlib_1=require("@m0saic/dsl-stdlib"),template_utils_1=require("@m0saic/template-utils"),axis_1=require("./axis"),format_1=require("./format"),defaults_1=require("./defaults"),propsSchema=(0,template_utils_1.definePropsSchema)({values:{type:"number[]",required:!0,description:"Numeric data values driving the chart bars.",meta:{constraints:{minItems:1},ui:{label:"Values",order:1}}},orientation:{type:"string",required:!1,description:"Bar orientation: vertical or horizontal.",meta:{constraints:{oneOf:["vertical","horizontal"]},ui:{label:"Orientation",order:2}}},labels:{type:"string[]",required:!1,description:"Optional category labels (index-aligned to values).",meta:{ui:{label:"Category Labels",order:3}}},title:{type:"string",required:!1,description:"Chart title.",meta:{control:{placeholder:"e.g., Monthly Sales"},ui:{label:"Title",order:1}}},subtitle:{type:"string",required:!1,description:"Chart subtitle.",meta:{control:{placeholder:"e.g., Q4 2024"},ui:{label:"Subtitle",order:2}}},minValue:{type:"number",required:!1,description:"Explicit domain minimum (optional).",meta:{ui:{label:"Min Value",order:4}}},maxValue:{type:"number",required:!1,description:"Explicit domain maximum (optional).",meta:{control:{placeholder:"data max"},ui:{label:"Max Value",order:5}}},highlightIndex:{type:"number",required:!1,description:"Optional bar index to highlight (neutral emphasis).",meta:{control:{placeholder:"none"},constraints:{min:0},ui:{label:"Highlight Index",order:6}}},gap:{type:"number",required:!1,description:"Gap between bars in pixels.",meta:{constraints:{min:0,max:256},ui:{label:"Gap (px)",order:10}}},padding:{type:"number",required:!1,description:"Outer padding in pixels (symmetric).",meta:{constraints:{min:0,max:512},ui:{label:"Padding (px)",order:11}}},barThickness:{type:"number",required:!1,description:"Optional fixed bar thickness in pixels. If unset, bars share space evenly.",meta:{control:{placeholder:"auto (from gap)"},constraints:{min:1,max:4096},ui:{label:"Bar Thickness (px)",order:12}}},cornerRadius:{type:"number",required:!1,description:"Geometric radius fraction (0..1) for bars and container corners.",meta:{constraints:{min:0,max:1},ui:{label:"Corner Radius",order:13}}},preset:{type:"string",required:!1,description:"Theme preset.",meta:{constraints:{oneOf:["neutral","dark","terminal","glass","paper"]},ui:{label:"Preset",order:20}}},barColor:{type:"json",required:!1,description:"Bar fill color \u2014 a single color, or an array of per-bar colors (cycled in bar order).",meta:{constraints:{isColor:!0},control:{colorPicker:!0},ui:{label:"Bar Color",order:21}}},track:{type:"group",required:!1,description:"Track (background rail) configuration.",meta:{ui:{label:"Track",collapsedByDefault:!0}}},grid:{type:"group",required:!1,description:"Grid configuration (show, count).",meta:{ui:{label:"Grid",collapsedByDefault:!0}}},baseline:{type:"group",required:!1,description:"Baseline configuration (show).",meta:{ui:{label:"Baseline",collapsedByDefault:!0}}},valueAxis:{type:"group",required:!1,description:"Value-axis line at the max-value side (top for vertical / right for horizontal).",meta:{ui:{label:"Value Axis",collapsedByDefault:!0}}},valueLabels:{type:"group",required:!1,description:"Value label config (show/format/decimals).",meta:{ui:{label:"Value Labels",collapsedByDefault:!0}}},anim:{type:"group",required:!1,description:"Animation config (intro timing, easing, reduceMotion).",meta:{ui:{label:"Animation",collapsedByDefault:!0}}}});exports.ChartsBarGraph={id:(0,types_1.asTemplateId)("@m0saic/charts/bar-graph/v1"),label:"Bar Graph",version:1,description:"Canonical bar graph data-viz primitive supporting vertical/horizontal, with first-class animation and presets.",capabilities:{tier:"core"},primitive:!0,deprecated:{reason:"Early template: a 5-deep nested-template composition (ChartFrame \u2192 PlotArea \u2192 BarsStack \u2192 BarCell \u2192 BarFill) where every bar is a FULL-PLOT-HEIGHT tile carved by a transparent base + overlay crop \u2014 wasted pixels + per-layer composite tax, and it errors on the CLI render path once labels are added. Use v2 \u2014 same chart, flat single doc with tight baseline-anchored bar rects; ~2\xD7 fewer render steps and faster.",replacement:(0,types_1.asTemplateId)("@m0saic/charts/bar-graph/v2"),since:"2026-06-21"},tags:["charts","bar-graph","chart","data-viz"],outputHints:{width:1920,height:1080,fps:30,durationMs:2e3},propsSchema,defaultProps:{minValue:0,values:[35,60,85,45,70],orientation:defaults_1.DEFAULT_ORIENTATION,preset:defaults_1.DEFAULT_PRESET,gap:defaults_1.DEFAULT_GAP,padding:defaults_1.DEFAULT_PADDING.top,cornerRadius:defaults_1.DEFAULT_CORNER_RADIUS,track:defaults_1.DEFAULT_TRACK,grid:defaults_1.DEFAULT_GRID,baseline:defaults_1.DEFAULT_BASELINE,valueAxis:defaults_1.DEFAULT_VALUE_AXIS,valueLabels:defaults_1.DEFAULT_VALUE_LABELS,anim:defaults_1.DEFAULT_ANIM},async render(e,a){var d,u,m,p,h,b,g;if(!e.values||e.values.length===0)return(0,template_utils_1.makeErrorMosaic)("values[] must be non-empty",{title:`${this.id} props`,width:a.target.width,height:a.target.height});const q=(d=e.orientation)!==null&&d!==void 0?d:defaults_1.DEFAULT_ORIENTATION,f=(0,axis_1.resolveAxisConfig)(q),v=(u=e.preset)!==null&&u!==void 0?u:defaults_1.DEFAULT_PRESET,y=(m=e.gap)!==null&&m!==void 0?m:defaults_1.DEFAULT_GAP,s=(0,defaults_1.resolvePadding)(e.padding),A={top:s.top/a.target.height,bottom:s.bottom/a.target.height,left:s.left/a.target.width,right:s.right/a.target.width},x=(p=e.cornerRadius)!==null&&p!==void 0?p:defaults_1.DEFAULT_CORNER_RADIUS,k=(0,defaults_1.resolveTrack)(e.track),r=(0,defaults_1.resolveGrid)(e.grid),B=(0,defaults_1.resolveBaseline)(e.baseline),C=(0,defaults_1.resolveValueAxis)(e.valueAxis),T=(0,defaults_1.resolveValueLabels)(e.valueLabels),w=(0,defaults_1.resolveAnim)(e.anim),n=e.values,_=(h=e.minValue)!==null&&h!==void 0?h:0,E=(b=e.maxValue)!==null&&b!==void 0?b:Math.max(...n),I=e.minValue!=null&&e.maxValue!=null;let t=_,o=E,c=r.count;if(!I){const l=(0,format_1.niceAxis)(_,E,r.count+1);t=l.min,o=l.max,c=Math.max(1,l.ticks.length-1)}const L=o-t,U=n.map(l=>L===0?1:(l-t)/L),D=c===r.count?r:{...r,count:c},i={};return i["bars-stack"]=await(0,template_utils_1.renderNestedTemplate)("@m0saic/charts/bar-graph/internal/bars-stack/v1",{axisConfig:f,values:n,fractions:U,minValue:t,maxValue:o,barColor:(g=e.barColor)!==null&&g!==void 0?g:"#f97316",gap:y,barThickness:e.barThickness,highlightIndex:e.highlightIndex,track:k,valueLabels:T,labels:e.labels,anim:w,cornerRadius:x},a),i["plot-area"]=await(0,template_utils_1.renderNestedTemplate)("@m0saic/charts/bar-graph/internal/plot-area/v1",{axisConfig:f,grid:D,baseline:B,valueAxis:C,barsStackRef:"bars-stack"},a),i.labels=await(0,template_utils_1.renderNestedTemplate)("@m0saic/charts/bar-graph/internal/labels/v1",{axisConfig:f,title:e.title,subtitle:e.subtitle,labels:e.labels,values:n,minValue:t,maxValue:o,padding:A,gap:y,preset:v,valueLabels:T,gridCount:c,showValueTicks:D.show,plotAreaRef:"plot-area"},a),i["chart-frame"]=await(0,template_utils_1.renderNestedTemplate)("@m0saic/charts/bar-graph/internal/chart-frame/v1",{padding:A,cornerRadius:x,preset:v,plotAreaRef:"labels"},a),{kind:"mosaic_document",version:1,assets:{},m0:(0,dsl_stdlib_1.toM0String)("F","BarGraph"),children:i,sources:[{type:"mosaic",ref:"chart-frame"}]}}},(0,template_utils_1.registerTemplate)(exports.ChartsBarGraph);
@@ -0,0 +1 @@
1
+ "use strict";var E=Object.defineProperty;var e=(o,r)=>E(o,"name",{value:r,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.DEFAULT_PRESET=exports.DEFAULT_ANIM=exports.DEFAULT_VALUE_LABELS=exports.DEFAULT_VALUE_AXIS=exports.DEFAULT_BASELINE=exports.DEFAULT_GRID=exports.DEFAULT_TRACK=exports.DEFAULT_CORNER_RADIUS=exports.DEFAULT_PADDING=exports.DEFAULT_GAP=exports.DEFAULT_ORIENTATION=exports.PRESET_TOKENS=void 0,exports.resolvePadding=resolvePadding,exports.resolveBaseBarColor=resolveBaseBarColor,exports.resolveTrack=resolveTrack,exports.resolveGrid=resolveGrid,exports.resolveBaseline=resolveBaseline,exports.resolveValueAxis=resolveValueAxis,exports.resolveValueLabels=resolveValueLabels,exports.resolveAnim=resolveAnim,exports.PRESET_TOKENS={neutral:{barColor:"#111827"},dark:{barColor:"#f9fafb"},terminal:{barColor:"#22c55e"},glass:{barColor:"#60a5fa"},paper:{barColor:"#0f172a"}},exports.DEFAULT_ORIENTATION="vertical",exports.DEFAULT_GAP=18,exports.DEFAULT_PADDING={top:72,right:72,bottom:72,left:72},exports.DEFAULT_CORNER_RADIUS=.15,exports.DEFAULT_TRACK={show:!0},exports.DEFAULT_GRID={show:!0,count:5},exports.DEFAULT_BASELINE={show:!0},exports.DEFAULT_VALUE_AXIS={show:!0},exports.DEFAULT_VALUE_LABELS={show:!0,format:"compact",decimals:0,suffix:""},exports.DEFAULT_ANIM={intro:{durationSec:1.1,delaySec:.1,staggerSec:.06,ease:"smoothstep"},reduceMotion:!1},exports.DEFAULT_PRESET="neutral";function resolvePadding(o){return typeof o=="number"?{top:o,right:o,bottom:o,left:o}:o&&typeof o=="object"?{top:o.top,right:o.right,bottom:o.bottom,left:o.left}:exports.DEFAULT_PADDING}e(resolvePadding,"resolvePadding");function resolveBaseBarColor(o){const{preset:r,barColor:t}=o;return typeof t=="string"?t:exports.PRESET_TOKENS[r].barColor}e(resolveBaseBarColor,"resolveBaseBarColor");function resolveTrack(o){return{...exports.DEFAULT_TRACK,...o??{}}}e(resolveTrack,"resolveTrack");function resolveGrid(o){return{...exports.DEFAULT_GRID,...o??{}}}e(resolveGrid,"resolveGrid");function resolveBaseline(o){return{...exports.DEFAULT_BASELINE,...o??{}}}e(resolveBaseline,"resolveBaseline");function resolveValueAxis(o){return{...exports.DEFAULT_VALUE_AXIS,...o??{}}}e(resolveValueAxis,"resolveValueAxis");function resolveValueLabels(o){return{...exports.DEFAULT_VALUE_LABELS,...o??{}}}e(resolveValueLabels,"resolveValueLabels");function resolveAnim(o){var r,t;const s={...exports.DEFAULT_ANIM.intro,...(r=o?.intro)!==null&&r!==void 0?r:{}},A=(t=o?.reduceMotion)!==null&&t!==void 0?t:exports.DEFAULT_ANIM.reduceMotion;return{intro:s,reduceMotion:A}}e(resolveAnim,"resolveAnim");
@@ -0,0 +1 @@
1
+ "use strict";var p=Object.defineProperty;var c=(t,r)=>p(t,"name",{value:r,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.formatValue=formatValue,exports.niceAxis=niceAxis;const dsl_stdlib_1=require("@m0saic/dsl-stdlib");function formatValue(t,r,e,n,u){const o=(()=>{var i;switch(r){case"raw":return t.toFixed(e);case"percent":{const s=(i=n?.max)!==null&&i!==void 0?i:100;return s===0?0 .toFixed(e)+"%":(t/s*100).toFixed(e)+"%"}case"compact":return formatCompact(t,e)}})();return u?`${o}${u}`:o}c(formatValue,"formatValue");function formatCompact(t,r){const e=Math.abs(t),n=t<0?"-":"";return e>=1e12?n+(e/1e12).toFixed(r)+"T":e>=1e9?n+(e/1e9).toFixed(r)+"B":e>=1e6?n+(e/1e6).toFixed(r)+"M":e>=1e3?n+(e/1e3).toFixed(r)+"K":n+e.toFixed(r)}c(formatCompact,"formatCompact");function niceStep(t){return!Number.isFinite(t)||t<=0?1:(0,dsl_stdlib_1.niceNum)(t,[1,2,2.5,5])}c(niceStep,"niceStep");function niceAxis(t,r,e){if(r===t)return{min:t,max:r+1,step:1,ticks:[t,r+1]};const u=Math.abs(r-t)/Math.max(1,e-1),o=niceStep(u),i=Math.floor(t/o)*o,s=Math.ceil(r/o)*o,f=[],x=o*1e-6;for(let a=i;a<=s+x;a+=o)f.push(Number(a.toFixed(6)));return{min:i,max:s,step:o,ticks:f}}c(niceAxis,"niceAxis");