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.
- package/LICENSE +126 -0
- package/README.md +162 -2
- package/dist/browseE2e.js +1 -0
- package/dist/connectionsFromEnv.js +1 -0
- package/dist/e2eTemplateVariants.js +1 -0
- package/dist/frontDoor.js +1 -0
- package/dist/index.js +2 -0
- package/dist/inlineDsl.js +1 -0
- package/dist/mosaicxRunner.js +1 -0
- package/dist/outputPattern.js +1 -0
- package/dist/showcaseFeed.js +1 -0
- package/dist/templateDoctor.js +1 -0
- package/dist/utils/checkFeasibility.js +1 -0
- package/dist/utils/collectRenderErrors.js +1 -0
- package/dist/utils/enrichImageAlphaFromDoc.js +1 -0
- package/dist/utils/ensureFfmpeg.js +1 -0
- package/dist/utils/extractLayoutMeta.js +1 -0
- package/dist/utils/failureHints.js +1 -0
- package/dist/utils/ffmpegProbe.js +1 -0
- package/dist/utils/formatM0saicForCli.js +1 -0
- package/dist/utils/hashFile.js +1 -0
- package/dist/utils/helpGroups.js +1 -0
- package/dist/utils/invocation.js +1 -0
- package/dist/utils/mosaicSpinner.js +1 -0
- package/dist/utils/parseDimensions.js +1 -0
- package/dist/utils/pathInfo.js +1 -0
- package/dist/utils/readJsonArg.js +1 -0
- package/dist/utils/renderOutcome.js +1 -0
- package/dist/utils/renderReport.js +1 -0
- package/dist/utils/renderSignals.js +1 -0
- package/dist/utils/renderWorkspace.js +1 -0
- package/dist/utils/setupFfmpeg.js +1 -0
- package/dist/utils/telemetry.js +1 -0
- package/dist/utils/telemetryFlushWorker.js +1 -0
- package/dist/utils/telemetryUpstream.js +1 -0
- package/dist/utils/telemetryUsage.js +1 -0
- package/dist/utils/toolchainConfig.js +1 -0
- package/dist/utils/tutorialDuration.js +1 -0
- package/dist/utils/updateCheck.js +1 -0
- package/dist/utils/updateCheckWorker.js +1 -0
- package/dist/utils/validateSourceCounts.js +1 -0
- package/dist/utils/versions.js +1 -0
- package/dist/webCustomizeLink.js +1 -0
- package/node_modules/@m0saic/community-m/CONTRIBUTING.md +108 -0
- package/node_modules/@m0saic/community-m/LICENSE +28 -0
- package/node_modules/@m0saic/community-m/README.md +102 -0
- package/node_modules/@m0saic/community-m/geometry/m-33-tiles.json +270 -0
- package/node_modules/@m0saic/community-m/geometry/m-33.m0c +265 -0
- package/node_modules/@m0saic/community-m/index.json +148 -0
- package/node_modules/@m0saic/community-m/ms/001/community-m-001.m0p +346 -0
- package/node_modules/@m0saic/community-m/ms/001/m.json +12 -0
- package/node_modules/@m0saic/community-m/ms/001/root/assets/.gitkeep +0 -0
- package/node_modules/@m0saic/community-m/ms/001/root/piece.mosaic +105 -0
- package/node_modules/@m0saic/community-m/ms/001/root/portrait.jpg +0 -0
- package/node_modules/@m0saic/community-m/ms/001/root/slot.json +18 -0
- package/node_modules/@m0saic/community-m/ms/001/root/slot.m0c +296 -0
- package/node_modules/@m0saic/community-m/ms/001/root/tile.png +0 -0
- package/node_modules/@m0saic/community-m/ms/002/community-m-002.m0p +324 -0
- package/node_modules/@m0saic/community-m/ms/002/m.json +7 -0
- package/node_modules/@m0saic/community-m/package.json +5 -0
- package/node_modules/@m0saic/community-m/release.json +4 -0
- package/node_modules/@m0saic/community-m/tools/assemble.mjs +87 -0
- package/node_modules/@m0saic/community-m/tools/claim-order.mjs +42 -0
- package/node_modules/@m0saic/community-m/tools/lib.mjs +208 -0
- package/node_modules/@m0saic/community-m/tools/new-slot.mjs +123 -0
- package/node_modules/@m0saic/community-m/tools/validate.mjs +203 -0
- package/node_modules/@m0saic/core/LICENSE +7 -0
- package/node_modules/@m0saic/core/assets/pill_mask_1024.png +0 -0
- package/node_modules/@m0saic/core/assets/rounded_mask_1024.png +0 -0
- package/node_modules/@m0saic/core/dist/core/buildChildMosaicSource.js +1 -0
- package/node_modules/@m0saic/core/dist/core/buildChunkCommands.js +1 -0
- package/node_modules/@m0saic/core/dist/core/buildEncodeCommands.js +1 -0
- package/node_modules/@m0saic/core/dist/core/buildLavfiSource.js +1 -0
- package/node_modules/@m0saic/core/dist/core/buildMediaSource.js +1 -0
- package/node_modules/@m0saic/core/dist/core/buildMosaicNode.js +1 -0
- package/node_modules/@m0saic/core/dist/core/buildMosaicPlanFromFile.js +1 -0
- package/node_modules/@m0saic/core/dist/core/buildSvgTextSource.js +1 -0
- package/node_modules/@m0saic/core/dist/core/buildTextRenderCommand.js +1 -0
- package/node_modules/@m0saic/core/dist/core/collectRefTargets.js +1 -0
- package/node_modules/@m0saic/core/dist/core/index.js +1 -0
- package/node_modules/@m0saic/core/dist/core/maskCacheDir.js +1 -0
- package/node_modules/@m0saic/core/dist/core/maskWorkerBridge.js +1 -0
- package/node_modules/@m0saic/core/dist/core/playbackPlaySpeed.js +1 -0
- package/node_modules/@m0saic/core/dist/core/prepareProps.js +1 -0
- package/node_modules/@m0saic/core/dist/core/primaryOutput.js +1 -0
- package/node_modules/@m0saic/core/dist/core/rasterizeMaskPng.js +1 -0
- package/node_modules/@m0saic/core/dist/core/rasterizeSvgMediaPng.js +1 -0
- package/node_modules/@m0saic/core/dist/core/refTargetTap.js +1 -0
- package/node_modules/@m0saic/core/dist/core/resolveMasks.js +1 -0
- package/node_modules/@m0saic/core/dist/core/resolveMasksSync.js +1 -0
- package/node_modules/@m0saic/core/dist/core/resolveStrokeRingsSync.js +1 -0
- package/node_modules/@m0saic/core/dist/core/roundedRectMask.js +1 -0
- package/node_modules/@m0saic/core/dist/core/strokeRing.js +1 -0
- package/node_modules/@m0saic/core/dist/core/svgRaster.js +1 -0
- package/node_modules/@m0saic/core/dist/defaults.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/backgroundImageInput.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/bufferGuard.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/ffmpegCommands.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBackdropBlur.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBlur.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBorderRadius.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyCamera.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyChromaKey.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyFade.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyGrade.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyMask.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyNoise.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyPixelize.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyRotate.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyStroke.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyTileEffects.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/coverCrop.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/index.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/sourceRectCrop.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/gridLowering.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/index.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/splitAvMux.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/threadGuard.js +1 -0
- package/node_modules/@m0saic/core/dist/flatten/index.js +1 -0
- package/node_modules/@m0saic/core/dist/fs/index.js +1 -0
- package/node_modules/@m0saic/core/dist/fs/tempWorkspace.js +1 -0
- package/node_modules/@m0saic/core/dist/index.js +1 -0
- package/node_modules/@m0saic/core/dist/media/buildAssetManifestFromInputs.js +1 -0
- package/node_modules/@m0saic/core/dist/media/buildMediaRegistryFromInput.js +1 -0
- package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromInvocationProps.js +1 -0
- package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromMosaicRenderableFile.js +1 -0
- package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromProps.js +1 -0
- package/node_modules/@m0saic/core/dist/media/index.js +1 -0
- package/node_modules/@m0saic/core/dist/media/internalMintAsset.js +1 -0
- package/node_modules/@m0saic/core/dist/media/remoteUrl.js +1 -0
- package/node_modules/@m0saic/core/dist/media/stageUnsafeFilenames.js +1 -0
- package/node_modules/@m0saic/core/dist/media/types.js +1 -0
- package/node_modules/@m0saic/core/dist/output/index.js +1 -0
- package/node_modules/@m0saic/core/dist/output/resolveOutputFormat.js +1 -0
- package/node_modules/@m0saic/core/dist/output/types.js +1 -0
- package/node_modules/@m0saic/core/dist/probe/cellLuminanceProbe.js +1 -0
- package/node_modules/@m0saic/core/dist/probe/extractSubtitleCues.js +1 -0
- package/node_modules/@m0saic/core/dist/probe/helpers.js +1 -0
- package/node_modules/@m0saic/core/dist/probe/index.js +1 -0
- package/node_modules/@m0saic/core/dist/probe/luminanceProbe.js +1 -0
- package/node_modules/@m0saic/core/dist/probe/probeMedia.js +1 -0
- package/node_modules/@m0saic/core/dist/probe/runFFprobe.js +1 -0
- package/node_modules/@m0saic/core/dist/probe/types.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/engineRedaction.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/ffmpegFailure.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/filterPreflight.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/hashFile.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/index.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/pathInfo.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/perfHeatmap.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/perfReport.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/pipelineM0p.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/renderCostModel.constants.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/renderCostModel.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/renderReport.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/renderSidecars.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/resolveMosaicx.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/runPlan.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/types.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/upstream.js +1 -0
- package/node_modules/@m0saic/core/dist/runtime/writeSidecars.js +1 -0
- package/node_modules/@m0saic/core/dist/types/chunk.js +1 -0
- package/node_modules/@m0saic/core/dist/types/index.js +1 -0
- package/node_modules/@m0saic/core/dist/types/mosaic-plan.js +1 -0
- package/node_modules/@m0saic/core/dist/utils/assertTiming.js +1 -0
- package/node_modules/@m0saic/core/dist/utils/command.js +1 -0
- package/node_modules/@m0saic/core/dist/utils/createEngineContext.js +1 -0
- package/node_modules/@m0saic/core/dist/utils/createTemplateRenderCache.js +1 -0
- package/node_modules/@m0saic/core/dist/utils/ffmpegColor.js +1 -0
- package/node_modules/@m0saic/core/dist/utils/formatDuration.js +1 -0
- package/node_modules/@m0saic/core/dist/utils/fsSafeId.js +1 -0
- package/node_modules/@m0saic/core/dist/utils/index.js +1 -0
- package/node_modules/@m0saic/core/dist/utils/lowerRenderableToMosaicDocument.js +1 -0
- package/node_modules/@m0saic/core/dist/utils/movSafeCodec.js +1 -0
- package/node_modules/@m0saic/core/dist/utils/resolveBoxFrac.js +1 -0
- package/node_modules/@m0saic/core/dist/validate/index.js +1 -0
- package/node_modules/@m0saic/core/package.json +6 -0
- package/node_modules/@m0saic/core/scripts/mask-rasterize-core.js +1 -0
- package/node_modules/@m0saic/core/scripts/mask-rasterize-worker.js +1 -0
- package/node_modules/@m0saic/core/scripts/mask-worker-thread.js +1 -0
- package/node_modules/@m0saic/dictionary/LICENSE +13 -0
- package/node_modules/@m0saic/dictionary/dist/browser.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/__generated__.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0.json +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic.m0c +265 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic_src.m0 +8 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic_visual.txt +274 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic_visual_areas.txt +272 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/m0saic_visual_art.txt +272 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/metadata.json +300 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33/preview.png +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33_bitmap/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33_bitmap/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33_bitmap/m0saic.m0 +9 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m-33_bitmap/metadata.json +54 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/m0.json +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/m0saic.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/m0saic.m0c +205 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/m0saic_src.m0 +8 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/metadata.json +247 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0/preview.png +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/m0.json +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/m0saic.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/m0saic.m0c +366 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/m0saic_src.m0 +8 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/metadata.json +406 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/m0saic-pattern/preview.png +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/m0.json +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/m0saic.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/m0saic.m0c +24 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/m0saic_src.m0 +8 -0
- package/node_modules/@m0saic/dictionary/dist/entries/brand/qr/metadata.json +49 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/m0saic_pretty.txt +10 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/m0saic_tree.txt +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/metadata.json +49 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/wireframe_1080x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x2/wireframe_1920x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/m0saic_pretty.txt +14 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/m0saic_tree.txt +10 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/2x3/metadata.json +53 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/m0saic_pretty.txt +12 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/m0saic_tree.txt +9 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x2/metadata.json +49 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/m0saic_pretty.txt +17 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/m0saic_tree.txt +13 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/3x3/metadata.json +48 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/m0saic_pretty.txt +26 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/m0saic_tree.txt +21 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/4x4/metadata.json +48 -0
- package/node_modules/@m0saic/dictionary/dist/entries/grids/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/m0saic_pretty.txt +13 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/m0saic_tree.txt +10 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/bottom-feature/metadata.json +49 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/m0saic_pretty.txt +16 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/m0saic_tree.txt +11 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/column-grid/metadata.json +49 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/m0saic_pretty.txt +20 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/m0saic_tree.txt +16 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/dense-dashboard/metadata.json +50 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/m0saic_pretty.txt +14 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/m0saic_tree.txt +10 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/feature-sidebar/metadata.json +49 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/m0saic_pretty.txt +8 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/m0saic_tree.txt +6 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/metadata.json +54 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/wireframe_1080x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/wireframe_1280x720.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-bottom-strip/wireframe_1920x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/m0saic_pretty.txt +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/m0saic_tree.txt +5 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/metadata.json +54 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/wireframe_1080x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/wireframe_1920x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-sidebar/wireframe_2560x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/m0saic_pretty.txt +8 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/m0saic_tree.txt +6 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/hero-top-strip/metadata.json +52 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/m0saic_pretty.txt +10 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/m0saic_tree.txt +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/l-shape/metadata.json +48 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/m0saic_pretty.txt +8 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/m0saic_tree.txt +6 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/main-two-supporting/metadata.json +50 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/m0saic_pretty.txt +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/m0saic_tree.txt +5 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/sidebar-main/metadata.json +48 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/m0saic_pretty.txt +15 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/m0saic_tree.txt +11 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/stacked-pairs/metadata.json +49 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/m0saic_pretty.txt +12 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/m0saic_tree.txt +9 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/t-shape/metadata.json +49 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/m0saic_pretty.txt +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/m0saic_tree.txt +5 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/three-up/metadata.json +49 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/m0saic_pretty.txt +14 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/m0saic_tree.txt +11 -0
- package/node_modules/@m0saic/dictionary/dist/entries/layouts/wide-feature/metadata.json +50 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/m0saic_pretty.txt +5 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/m0saic_tree.txt +4 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-col/metadata.json +50 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/m0saic_pretty.txt +5 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/m0saic_tree.txt +4 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/1-2-row/metadata.json +51 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/m0saic_pretty.txt +5 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/m0saic_tree.txt +4 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-col/metadata.json +50 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/m0saic_pretty.txt +5 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/m0saic_tree.txt +4 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-1-row/metadata.json +51 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/m0saic_pretty.txt +4 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/m0saic_tree.txt +3 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/metadata.json +49 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/wireframe_1080x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-col/wireframe_1920x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/m0saic_pretty.txt +4 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/m0saic_tree.txt +3 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/2-row/metadata.json +49 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/m0saic_pretty.txt +5 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/m0saic_tree.txt +4 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/metadata.json +53 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/wireframe_1080x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/wireframe_1920x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-col/wireframe_2560x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/m0saic_pretty.txt +5 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/m0saic_tree.txt +4 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/metadata.json +54 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/wireframe_1080x1080.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/wireframe_1080x1350.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/3-row/wireframe_1080x1920.mp4 +0 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/m0saic_pretty.txt +6 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/m0saic_tree.txt +5 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-col/metadata.json +48 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/m0saic.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/m0saic.m0 +7 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/m0saic_pretty.txt +6 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/m0saic_tree.txt +5 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/4-row/metadata.json +53 -0
- package/node_modules/@m0saic/dictionary/dist/entries/splits/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/aspectFit.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/aspectSafeGrid.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/barcodeGenerator.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/bentoGridGenerator.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/comparisonGenerator.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/goldenLayout.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/goldenSpiralGenerator.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/grid.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/labelTier.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/magazine.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/magazineGenerator.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/placeRect.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/qrCodeGenerator.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/quantizationFix.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/rankedListGenerator.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/safeCanvas.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/snapGrid.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/spotlightGenerator.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/generators/types.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/loadEntryM0.js +2 -0
- package/node_modules/@m0saic/dictionary/dist/operations/descriptors.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/operations/index.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/operations/types.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/registry.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/resolve.js +1 -0
- package/node_modules/@m0saic/dictionary/dist/sourceOrder.js +1 -0
- package/node_modules/@m0saic/dictionary/package.json +6 -0
- package/node_modules/@m0saic/dsl/LICENSE +201 -0
- package/node_modules/@m0saic/dsl/NOTICE +13 -0
- package/node_modules/@m0saic/dsl/README.md +417 -0
- package/node_modules/@m0saic/dsl/dist/cjs/complexity/complexity.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/complexity/index.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/equality/equality.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/equality/index.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/errors/errors.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/errors/index.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/feasibility/computeFeasibility.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/feasibility/index.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/format/index.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/format/m0StringCompact.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/format/m0StringFormat.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/index.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/internal/m0LexUtils.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/parse/index.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/parse/m0StringParser.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/parse/sortDeferredOverlays.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/types.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/validate/index.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/validate/m0StringValidator.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/warnings/index.js +1 -0
- package/node_modules/@m0saic/dsl/dist/cjs/warnings/warnings.js +1 -0
- package/node_modules/@m0saic/dsl/package.json +14 -0
- package/node_modules/@m0saic/dsl-file-formats/LICENSE +201 -0
- package/node_modules/@m0saic/dsl-file-formats/NOTICE +13 -0
- package/node_modules/@m0saic/dsl-file-formats/README.md +241 -0
- package/node_modules/@m0saic/dsl-file-formats/assets/icons/m0.svg +29 -0
- package/node_modules/@m0saic/dsl-file-formats/assets/icons/m0c.svg +29 -0
- package/node_modules/@m0saic/dsl-file-formats/assets/icons/m0p.svg +29 -0
- package/node_modules/@m0saic/dsl-file-formats/assets/icons/m0v.svg +29 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/conversions.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/derive.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/edit/editFileMeta.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/edit/index.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/index.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0/index.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0/parseM0File.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0/serializeM0File.js +3 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0Validation.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0c/index.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0c/m0cFile.js +5 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0p/index.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0p/m0pFile.js +2 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0v/index.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0v/m0vFile.js +2 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/types.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/index.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/types.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/validateFill.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/validateInsets.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/validateLabels.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/validate/validatePack.js +1 -0
- package/node_modules/@m0saic/dsl-file-formats/package.json +14 -0
- package/node_modules/@m0saic/dsl-stdlib/LICENSE +201 -0
- package/node_modules/@m0saic/dsl-stdlib/NOTICE +13 -0
- package/node_modules/@m0saic/dsl-stdlib/README.md +388 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/_internal/barSplit.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/_internal/packLeafRects.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/aspectFit.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/aspectSafeGrid.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/bakeInsets.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/compactDocument.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/compactLossless.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/comparison.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/container.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/equalSplit.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/golden.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/grid.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/placeInsetRects.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/placeOptimizedRects.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/placeRect.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/placeRects.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/rankedList.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/rebuildRects.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/safeCanvas.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/scale.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/snapGrid.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/snapRectPrecision.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/spotlight.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/strip.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/weightedSplit.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/weightedTokens.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/constructors/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/constructors/toM0FileText.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/constructors/toM0String.js +4 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/barcodeChannels.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/barcodeToBars.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/barcodeToM0.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/barcodeToM0c.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/barcodeToRects.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/code128.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/ean13.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/eanShared.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/types.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/barcode/upca.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/binaryGridToM0.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/classifyPixels.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/despeckleGrid.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/labelAreas.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/types.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/bitmap/visualSidecars.js +13 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/mask-shapes/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/encoder.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/mask.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/matrix.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/packDarkCells.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/qrPayloads.js +2 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/qrToM0.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/qrToM0c.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/qrToMatrix.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/qrToRects.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/reedSolomon.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/types.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/qr/version.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/customRankSet.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/customStableKeyRankSet.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/generateRankSet.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/generateStableKeyRankSet.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/rankFramesFromM0.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/ranks/types.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/enumerateSvgToM0.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/extractGeometry.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/generateMasks.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/generateMasksByStableKey.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/inferGrid.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/parseSvg.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/rectsToM0.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/svgToM0.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/libraries/svg/types.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/mirroredTypes.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/evaluateM0.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/extractNodeByStableId.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/findFrames.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/getLayerCount.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/hasOverlayAtSpan.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/quantizationSpread.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/queryFrames.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/queries/withinBounds.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/constants.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/lexUtils.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/output.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/resolveSpanByStableId.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/_internal/walkByLogicalIndex.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/compose.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/measure/_internal/buildMeasureFragment.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/measure/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/measure/measureSplitByLogicalIndex.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/measure/measureSplitBySpan.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/measure/measureSplitByStableId.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/overlay/addOverlayToAllFrames.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/overlay/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/swap/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/composed/swap/swapFramesByLogicalIndex.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/pipe.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/frame/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/frame/setFrameTypeByLogicalIndex.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/addOverlayByLogicalIndex.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/addOverlayBySpan.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/addOverlayByStableId.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/addOverlayLayer.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/removeOverlayByLogicalIndex.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/removeOverlayBySpan.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/removeOverlayByStableId.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/removePureNullLayers.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/overlay/wrapBelowByLogicalIndex.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/replace/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/replace/replaceNodeByLogicalIndex.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/replace/replaceNodeBySpan.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/replace/replaceNodeByStableId.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/_internal/buildSplitFragment.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/reduceSplitCounts.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/splitByLogicalIndex.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/splitBySpan.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/split/splitByStableId.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/tile/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/tile/setTileTypeBySpan.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/primitives/tile/setTileTypeByStableId.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/rewriteOverlayChains.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/types.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/addOverlay.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/measureSplit.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/removeOverlay.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/replace.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/setTileType.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/split.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/unified/swapFrames.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/withHistory.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/transforms/withInverse.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/types.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/abs-svg-path/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/is-svg-path/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/normalize-svg-path/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/parse-svg-path/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/svg-arc-to-cubic-bezier/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/dist/cjs/vendor/svg-path-bounds/index.js +1 -0
- package/node_modules/@m0saic/dsl-stdlib/package.json +14 -0
- package/node_modules/@m0saic/momo-types/LICENSE +201 -0
- package/node_modules/@m0saic/momo-types/NOTICE +13 -0
- package/node_modules/@m0saic/momo-types/dist/agent.js +6 -0
- package/node_modules/@m0saic/momo-types/dist/candidate.js +1 -0
- package/node_modules/@m0saic/momo-types/dist/category.js +1 -0
- package/node_modules/@m0saic/momo-types/dist/context.js +1 -0
- package/node_modules/@m0saic/momo-types/dist/index.js +1 -0
- package/node_modules/@m0saic/momo-types/dist/party.js +1 -0
- package/node_modules/@m0saic/momo-types/dist/region.js +1 -0
- package/node_modules/@m0saic/momo-types/dist/scoring.js +1 -0
- package/node_modules/@m0saic/momo-types/dist/session-summary.js +1 -0
- package/node_modules/@m0saic/momo-types/dist/session.js +1 -0
- package/node_modules/@m0saic/momo-types/package.json +16 -0
- package/node_modules/@m0saic/platform/LICENSE +201 -0
- package/node_modules/@m0saic/platform/NOTICE +13 -0
- package/node_modules/@m0saic/platform/dist/cjs/asset/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/asset/resolveAsset.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/asset/slugifyAssetKey.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/bridges/protocol.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/communityM/claimOrder.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/communityM/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/communityM/mTiles.generated.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/communityM/node/hostCommunityDir.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/communityM/node/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/communityM/node/loadCommunityManifestFromDir.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/communityM/node/validateCommunityPiece.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/communityM/parseCommunityMManifest.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/communityM/placeholderArt.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/communityM/tileState.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/ffexpr/balance.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/ffexpr/compile.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/ffexpr/ffmpeg.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/ffexpr/guards.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/ffexpr/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/ffexpr/macros.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/ffexpr/overlay.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/ffexpr/time.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/ffexpr/window.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/host-connections/fileConnectionResolver.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/host-connections/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/jobs/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/jobs/types.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/language/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/language/language.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/media/expandFolder.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/media/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/absolutizeManifestPathsWeb.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/edit/applyRectEditToMosaicDocument.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/edit/bakeDocumentInsets.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/edit/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/edit/rebuildDocumentGeometry.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/flatten/flattenMosaicDocument.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/flatten/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/layoutFloors/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/layoutFloors/layoutFloors.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/loadMosaicDocument.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/loadMosaicXDocument.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/outputKind/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/outputKind/outputKind.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/propBindings/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/propBindings/propBindings.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/serializeMosaicDocument.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateAssetManifest.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateLavfiSource.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateMosaicDocument.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateMosaicOutput.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateMosaicXDocument.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateSerializedMosaicDocument.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateSources.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateVariableSchema.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/output/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/output/validateOutputConfig.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/paths/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/paths/m0saicRoot.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/paths/tempPrefix.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/secrets/envSecretResolver.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/secrets/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/secrets/keychainSecretResolver.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/secrets/schemeSecretResolver.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/share/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/share/mosaicxLink.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/share/payloadCodec.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/share/portableProps.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/share/shareQuery.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/system/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/system/systemInfo.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/hostFingerprint.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/lifecycle.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/machineFactor.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/outbox.js +2 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/paths.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/preview.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/recordStore.js +3 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/recorder.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/redactor.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/renderRecord.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/rollup.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/scrambler.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/sender.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/settingsStore.js +2 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/status.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/summary.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/upstreamDefaults.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/usageRecorder.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/telemetry/usageStore.js +3 -0
- package/node_modules/@m0saic/platform/dist/cjs/template-repos/depAllowlist.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/template-repos/hostFirstResolution.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/template-repos/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/template-repos/loadTemplateRepoFromPath.js +6 -0
- package/node_modules/@m0saic/platform/dist/cjs/template-repos/resolveTemplatePreview.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/template-repos/validateTemplateRoles.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/templateId/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/templateId/parseTemplateId.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/childEnv.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/defaultBinaries.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/ffmpeg/baseline.json +211 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/ffmpeg/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/ffmpeg/install.js +2 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/ffmpeg/release-dates.json +387 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/goldenFfmpeg.js +7 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/index.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/liveChildren.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/metadata.js +2 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/probe.js +1 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/probeChild.js +3 -0
- package/node_modules/@m0saic/platform/dist/cjs/toolchain/versionCompare.js +1 -0
- package/node_modules/@m0saic/platform/package.json +117 -0
- package/node_modules/@m0saic/product/LICENSE +7 -0
- package/node_modules/@m0saic/product/dist/communityRelease.js +1 -0
- package/node_modules/@m0saic/product/dist/freeTierLicense.js +1 -0
- package/node_modules/@m0saic/product/dist/index.js +1 -0
- package/node_modules/@m0saic/product/dist/licenseToken.js +1 -0
- package/node_modules/@m0saic/product/dist/postRenderWrapper.js +1 -0
- package/node_modules/@m0saic/product/dist/publicKeys.js +1 -0
- package/node_modules/@m0saic/product/dist/revokedKeys.js +1 -0
- package/node_modules/@m0saic/product/dist/upstreamDefaults.js +1 -0
- package/node_modules/@m0saic/product/package.json +6 -0
- package/node_modules/@m0saic/template-utils/LICENSE +201 -0
- package/node_modules/@m0saic/template-utils/NOTICE +13 -0
- package/node_modules/@m0saic/template-utils/README.md +3 -0
- package/node_modules/@m0saic/template-utils/assets/core/m-33_1024x1024.png +0 -0
- package/node_modules/@m0saic/template-utils/assets/core/placeholder-blue.png +0 -0
- package/node_modules/@m0saic/template-utils/assets/core/placeholder-gray.png +0 -0
- package/node_modules/@m0saic/template-utils/assets/core/placeholder-green.png +0 -0
- package/node_modules/@m0saic/template-utils/assets/core/placeholder-red.png +0 -0
- package/node_modules/@m0saic/template-utils/assets/core/placeholder.mp4 +0 -0
- package/node_modules/@m0saic/template-utils/assets/starter/avatar.svg +1 -0
- package/node_modules/@m0saic/template-utils/assets/starter/facecam.svg +1 -0
- package/node_modules/@m0saic/template-utils/assets/starter/landscape.svg +1 -0
- package/node_modules/@m0saic/template-utils/assets/starter/logo.svg +1 -0
- package/node_modules/@m0saic/template-utils/assets/starter/portrait.svg +1 -0
- package/node_modules/@m0saic/template-utils/assets/starter/square.svg +1 -0
- package/node_modules/@m0saic/template-utils/dist/anim/camera.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/anim/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/anim/keyframes.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/anim/motion.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/anim/timing.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/anim/tracks.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/assertTiming.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/brandGlyphs.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/hello-world/field-data.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/hello-world/helloWorld.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/hello-world/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/hello-world/m-rects.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/hello-world/wordmark.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/onboarding-cover.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/screencap-grid-cover-assets.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/screencap-grid-cover.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/screencap-grid-tutorial.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/brand/onboarding-cover/theme-tokens.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/codes/barcodeToRenderable.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/codes/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/codes/makeQrEyeChildDoc.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/codes/qrStampExpressions.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/codes/qrToRenderable.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/codes/stampQr.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/codes/styledQr.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/data/connectionOptionsRegistry.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/data/hostConnectionRegistry.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/data/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/data/upstream.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/deprecated/gridCellInset.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/deprecated/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/deprecation.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/dev/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/dev/layoutFingerprintFs.js +3 -0
- package/node_modules/@m0saic/template-utils/dist/dev/renderTemplatePackToMosaicFiles.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/dev/renderTemplateToMosaicFile.js +2 -0
- package/node_modules/@m0saic/template-utils/dist/ffexpr/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/forensic/alphaPerCell.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/forensic/bch.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/forensic/decoder.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/forensic/encoder.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/forensic/gf.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/forensic/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/forensic/mask.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/forensic/slotPlanner.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/geometry/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/geometry/polyline.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/geometry-contract/assertGeometry.js +3 -0
- package/node_modules/@m0saic/template-utils/dist/geometry-contract/checkDocGeometry.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/geometry-contract/frameResolution.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/geometry-contract/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/geometry-contract/latticeRelations.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/geometry-contract/layoutConstraint.js +2 -0
- package/node_modules/@m0saic/template-utils/dist/geometry-contract/types.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/geometry-contract/violationWireframe.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/geometry-contract/withGeometryContract.js +3 -0
- package/node_modules/@m0saic/template-utils/dist/geometry-contract/withLayoutContract.js +5 -0
- package/node_modules/@m0saic/template-utils/dist/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/lattice/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/lattice/latticeReport.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/lattice/smooth.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/lattice/splitCounts.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/layout/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/layout/latticeCellInset.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/layout/parseMosaicLayout.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/layout/placeInsetPieces.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/layout/placeOptimizedPieces.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/m0saic/assetPath.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/m0saic/build-overlay-stack.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/m0saic/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/m0saic/loadSession.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/m0saic/readLayoutFile.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/m0saic/utils.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/media/buildStepNames.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/media/canvasRegions.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/media/computeFrameCount.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/media/defaultMedia.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/media/determineMediaType.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/media/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/media/timeRanges.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/media/timedCues.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/primitives/girdlines.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/primitives/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/primitives/lavfiStrip.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/primitives/transparentSlot.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/print/compliance.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/print/dieline.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/print/dpiCheck.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/print/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/print/latticeSnap.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/print/units.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/processRegistry.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/render/autoCompactRenderable.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/render/createDesignContext.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/render/finalizeRenderable.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/render/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/render/renderNestedTemplate.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/render/renderTemplateCover.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/render/renderTemplateLite.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/render/renderTemplateToRenderableFile.js +3 -0
- package/node_modules/@m0saic/template-utils/dist/render/renderTemplateTutorial.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/render/stampOutput.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/seededRng.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/sources/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/sources/makeColorTile.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/sources/makeErrorMosaic.js +2 -0
- package/node_modules/@m0saic/template-utils/dist/sources/makeStubMosaic.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/sources/solidBackground.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/sources/svgTextSource.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/stamp/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/stamp/stampLayout.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/stamp/stampOnMedia.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/stamp/stampWindows.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/template/auditDefaultProps.js +3 -0
- package/node_modules/@m0saic/template-utils/dist/template/auditRenderedTemplate.js +5 -0
- package/node_modules/@m0saic/template-utils/dist/template/auditRepoConventions.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/template/auditSchemaConventions.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/template/defineMosaicTemplate.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/template/definePropsSchema.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/template/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/template/layoutFingerprintFile.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/template/resolveTemplateOutputHints.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/template/templateConventions.js +6 -0
- package/node_modules/@m0saic/template-utils/dist/template/templateOriginScope.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/template/templateRegistry.js +3 -0
- package/node_modules/@m0saic/template-utils/dist/template/validateTemplateProps.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/text/fitText.js +10 -0
- package/node_modules/@m0saic/template-utils/dist/text/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/text/textToPath.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/text/wrapText.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/theming/index.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/theming/resolveThemeTokens.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/theming/theming.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/transitions.js +1 -0
- package/node_modules/@m0saic/template-utils/package.json +6 -0
- package/node_modules/@m0saic/templates/LICENSE +13 -0
- package/node_modules/@m0saic/templates/dist/freeze.js +8 -0
- package/node_modules/@m0saic/templates/dist/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/_shared/onboarding-cover.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/_shared/raster.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/_shared/svgRaster.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/agents/commit-feed/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/agents/commit-feed/v1/commit-feed.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/agents/commit-feed/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/agents/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/agents/trace-timeline/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/agents/trace-timeline/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/agents/trace-timeline/v1/trace-timeline.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/_shared/alpine-anim.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/_shared/alpine-card.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/_shared/alpine-glyphs.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/_shared/alpine-theme.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/bar-graph/v1/bar-graph.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/bar-graph/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/commit-feed/v1/commit-feed.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/commit-feed/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/commit-feed/v2/commit-feed.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/commit-feed/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/contributor-table/v1/assets/layout-lite.m0 +9 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/contributor-table/v1/assets/layout-standard.m0 +9 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/contributor-table/v1/contributor-table.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/contributor-table/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v1/donut.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v2/donut.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v3/donut.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v3/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/heatmap/v1/heatmap.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/heatmap/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/heatmap/v2/heatmap.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/heatmap/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/kpi-card/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/kpi-card/v1/kpi-card.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/kpi-card/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/kpi-card/v2/kpi-card.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/leaderboard/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/leaderboard/v1/leaderboard.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v1/line-chart.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v2/line-chart.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/progress-card/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/progress-card/v1/progress-card.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/stat-card/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/stat-card/v1/stat-card.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/timeline/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/timeline/v1/timeline.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/timeline/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/timeline/v2/timeline.js +4 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/treemap/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/treemap/v1/treemap.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/treemap/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/treemap/v2/treemap.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/benchmark/battery/manifest.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/benchmark/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/benchmark/report/v1/assets/m-logo.png +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/benchmark/report/v1/assets/sample-session/benchmark.json +41 -0
- package/node_modules/@m0saic/templates/dist/m0saic/benchmark/report/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/benchmark/report/v1/report.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/benchmark/run/v1/benchmarkRun.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/benchmark/run/v1/confirmation.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/benchmark/run/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/benchmark/run/v1/renderScenario.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/benchmark/run/v1/runner.js +4 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v1/back-catalog.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v1/business-card.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v1/layout.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/camera.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/caption.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/community-m.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/community-m.web.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/gen-seed-piece.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/geometry.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/imageSize.node.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/loadPiece.node.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/manifest.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/mark.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/paths.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/piece.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/pipeline.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/preview.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/props.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/reveal.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/seedPiece.js +2 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/target.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/timing.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/webPiece.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/community-m/v1/wordmark.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v1/logo.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v2/logo.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v3/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v3/logo.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v3/logo_runner.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/assets/brand-qr-with-logo.svg +8 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.mp4 +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.static.png +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.mp4 +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.static.png +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/still/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/still/v1/qr-stamp-still.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/video/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/video/v2/qr-stamp.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/qr-stamp/video/v2/windows.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/_shared/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/_shared/line.js +2 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/_shared/scale.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/anim.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/axis.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/bar-graph.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/defaults.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/format.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/bar-cell.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/bar-fill.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/bars-stack.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/chart-frame.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/labels.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/internal/plot-area.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v1/types.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v2/bar-graph.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v1/anim.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v1/donut.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v1/geometry.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v2/donut.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v3/anim.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v3/donut.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v3/geometry.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v3/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v4/donut.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v4/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/anim.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/axis.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/card.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/chrome-spec.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/chrome.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/defaults.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/format.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/frame.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/geometry.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/line-chart.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/line-series.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v1/types.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/stat-card/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/charts/stat-card/v1/stat-card.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/code/_shared/code-diff.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/code/_shared/code-lexer.js +3 -0
- package/node_modules/@m0saic/templates/dist/m0saic/code/_shared/code-metrics.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/code/_shared/code-theme.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/code/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/code/snippet-morph/v1/internal/chrome.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/code/snippet-morph/v1/internal/plan.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/code/snippet-morph/v1/internal/steps.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/code/snippet-morph/v1/snippet-morph.js +3 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/demo-fixture.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/emit.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/image-collage.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/candidates.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/classify.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/paging.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/score.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/solve.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/tiler.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/packer/types.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v1/tutorial.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/spread-grid-mock/v1/grid-fixture.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/spread-grid-mock/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/collage/spread-grid-mock/v1/spread-grid-mock.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/_shared/brand-glyphs.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/_shared/m0saic-logo.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/_shared/node-kit.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/_shared/text-fit.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/dsl-tutorial.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/panels/canvas/v1/dsl-canvas.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/panels/chrome/v1/dsl-chrome.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/panels/dsl-string/v1/dsl-string.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/panels/inspector/v1/dsl-inspector.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/buildSteps.js +2 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/camera.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/cursor.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/dslString.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/inspector.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/pipeline/timing.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v1/theme/tokens.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/_shared/cellLuminance.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/verify/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/verify/v1/decode.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/verify/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/verify/v1/report.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/verify/v1/verify.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/video/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/video/v1/forensic-watermark.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/video/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/video/v1/maskAsset.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/forensic/watermark/video/v1/probeHost.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/client.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/connection.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/repo-facts-fetcher/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/repo-facts-fetcher/v1/build-facts.js +2 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/repo-facts-fetcher/v1/facts.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/repo-facts-fetcher/v1/repo-facts-fetcher.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/repo-facts-fetcher/v1/sample-facts.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/week-math.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/weekly-pulse/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/weekly-pulse/v1/weekly-pulse.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/weekly-pulse-adapter/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/weekly-pulse-adapter/v1/derive-pulse.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/weekly-pulse-adapter/v1/weekly-pulse-adapter.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/year-card/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/year-card/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/github/year-card/v1/year-card.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hello-world/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hello-world/v1/hello-world.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hello-world/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg-logo.png +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg_logo_480x480.svg +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/m-hero.png +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/qr-fin.mp4 +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-desktop.mp4 +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-layout.m0p +5146 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-mobile.mp4 +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-square.mp4 +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/title-layout.m0p +130 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-chrome.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-data.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-glyphs.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-theme.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/_shared/scatter.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/activity-trend.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/changes-breakdown.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/contributions.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/fin/v1/fin.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/fin/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/kpi-overview.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/notable-commits.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/runner/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/runner/v1/runner.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/scatter-bake.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/title/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/title/v1/title.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/top-contributors.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/hero/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/barcode/v1/barcode.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/barcode/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/v1/blur-regions.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/v1/plan.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/v1/tutorial.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/v1/highlights.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/v1/pipeline.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/v1/plan.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/default-logo.js +35 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/expressions.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/layout.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/logo-animate.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/svg-source.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v1/tutorial.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/metadata-stamp/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/metadata-stamp/v1/format-date.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/metadata-stamp/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/metadata-stamp/v1/metadata-stamp.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/_shared/brandMCenter.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/animate/v1/expressions.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/animate/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/animate/v1/qr-animate.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/animate/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/animate/v2/qr-animate.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/basic/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/basic/v1/qr.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/code/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/code/v1/qr-code.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/rounded/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/rounded/v1/qr-rounded.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/stamp/v1/qr-stamp-custom.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/stamp-video/v1/expressions.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/stamp-video/v1/gleamBand.js +19 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/stamp-video/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/qr/stamp-video/v1/qr-stamp.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/internal/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/internal/info_pane.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v1/screencap-grid.js +3 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/assets/tutorial-sheet.jpg +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover-assets.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/screencap-grid-tutorial.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v2/screencap-grid.js +4 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v1/assets/pair-sheet.jpg +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-cover.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-tutorial.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe.js +3 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/v1/geometry.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/v1/motion.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/v1/scroll-wall.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/subtitle-burn/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/subtitle-burn/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/subtitle-burn/v1/subtitle-burn-cover.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/subtitle-burn/v1/subtitle-burn.js +4 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v1/pipeline.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v1/plan.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v1/sidecars.js +7 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v1/trickplay.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/video_to_png_sequence/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/video_to_png_sequence/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/video_to_png_sequence/v1/video-to-png-sequence.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/adaptive.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/content.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/geometry.js +2 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/pageGrid.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/pipeline.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v1/watermark.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/camera-debug/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/camera-debug/v1/camera-debug.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/fixture-fetcher/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/fixture-fetcher/v1/fixture-fetcher.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/hot-reload-smoke/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/hot-reload-smoke/v1/hot-reload-smoke.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/post-mortem/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/post-mortem/v1/assets/human.png +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/post-mortem/v1/assets/robot.png +0 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/post-mortem/v1/post-mortem.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/upstream-echo/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/meta/upstream-echo/v1/upstream-echo.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/primitives/grid/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/primitives/grid/v1/grid.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/primitives/grid/v2/grid.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/primitives/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/social/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/social/quote-card/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/social/quote-card/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/social/quote-card/v1/layout.js +4 -0
- package/node_modules/@m0saic/templates/dist/m0saic/social/quote-card/v1/quote-card.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/captions.js +5 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/demo-fixture.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/kenburns.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/layout.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/narrated-chapters.js +4 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/pipeline.js +2 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/plan.js +2 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/props.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/scenes/body.js +2 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/scenes/card.js +4 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v1/theme.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/document.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/page.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/pages.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/pipeline.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/placeholder.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/props.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v1/scrapbook.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/theming/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/theming/v1/brand-m-glyph.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/theming/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/theming/v1/theme-tokens.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/theming/v1/theming.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/theming/v1/token-sheet.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/web/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/capture/capture-snippet-source.js +2 -0
- package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/layout.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/page-skeleton.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/sample-capture.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v1/schema.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/wireframe/animated/v1/animated-wireframe.js +2 -0
- package/node_modules/@m0saic/templates/dist/m0saic/wireframe/animated/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/wireframe/base/v1/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/wireframe/base/v1/wireframe.js +2 -0
- package/node_modules/@m0saic/templates/dist/m0saic/wireframe/base/v2/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/wireframe/base/v2/wireframe.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/wireframe/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/wireframe/utils/paperGrid.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/wireframe/utils/wireframeCell.js +2 -0
- package/node_modules/@m0saic/templates/dist/registry.js +1 -0
- package/node_modules/@m0saic/templates/dist/repo.js +1 -0
- package/node_modules/@m0saic/templates/dist/template-registry.js +1 -0
- package/node_modules/@m0saic/templates/dist/web.js +1 -0
- package/node_modules/@m0saic/templates/dist/webTemplateIds.js +1 -0
- package/node_modules/@m0saic/templates/package.json +6 -0
- package/node_modules/@m0saic/templates/template-manifest.json +2015 -0
- package/node_modules/@m0saic/templates/web-template-ids.json +84 -0
- package/node_modules/@m0saic/templates-advanced/LICENSE +13 -0
- package/node_modules/@m0saic/templates-advanced/README.md +5 -0
- package/node_modules/@m0saic/templates-advanced/dist/index.js +1 -0
- package/node_modules/@m0saic/templates-advanced/package.json +6 -0
- package/node_modules/@m0saic/text/LICENSE +201 -0
- package/node_modules/@m0saic/text/NOTICE +18 -0
- package/node_modules/@m0saic/text/README.md +34 -0
- package/node_modules/@m0saic/text/assets/fonts/JetBrainsMono-Bold.ttf +0 -0
- package/node_modules/@m0saic/text/assets/fonts/JetBrainsMono-BoldItalic.ttf +0 -0
- package/node_modules/@m0saic/text/assets/fonts/JetBrainsMono-Italic.ttf +0 -0
- package/node_modules/@m0saic/text/assets/fonts/JetBrainsMono-OFL-1.1.txt +93 -0
- package/node_modules/@m0saic/text/assets/fonts/JetBrainsMono-Regular.ttf +0 -0
- package/node_modules/@m0saic/text/assets/fonts/Roboto-Bold.ttf +0 -0
- package/node_modules/@m0saic/text/assets/fonts/Roboto-BoldItalic.ttf +0 -0
- package/node_modules/@m0saic/text/assets/fonts/Roboto-Italic.ttf +0 -0
- package/node_modules/@m0saic/text/assets/fonts/Roboto-Regular.LICENSE.txt +18 -0
- package/node_modules/@m0saic/text/assets/fonts/Roboto-Regular.ttf +0 -0
- package/node_modules/@m0saic/text/dist/bundledFonts.js +1 -0
- package/node_modules/@m0saic/text/dist/fontCache.js +1 -0
- package/node_modules/@m0saic/text/dist/fontRegistry.js +1 -0
- package/node_modules/@m0saic/text/dist/index.js +1 -0
- package/node_modules/@m0saic/text/dist/runsToPaths.js +1 -0
- package/node_modules/@m0saic/text/dist/textToPath.js +3 -0
- package/node_modules/@m0saic/text/package.json +6 -0
- package/node_modules/@m0saic/types/LICENSE +201 -0
- package/node_modules/@m0saic/types/NOTICE +13 -0
- package/node_modules/@m0saic/types/README.md +28 -0
- package/node_modules/@m0saic/types/assets/icons/mosaic.svg +36 -0
- package/node_modules/@m0saic/types/assets/icons/mosaicx.svg +32 -0
- package/node_modules/@m0saic/types/dist/analytics/consent.js +1 -0
- package/node_modules/@m0saic/types/dist/analytics/event.js +1 -0
- package/node_modules/@m0saic/types/dist/analytics/index.js +1 -0
- package/node_modules/@m0saic/types/dist/analytics/redaction.js +1 -0
- package/node_modules/@m0saic/types/dist/analytics/redactor.js +1 -0
- package/node_modules/@m0saic/types/dist/analytics/sink.js +1 -0
- package/node_modules/@m0saic/types/dist/analytics/usageMetrics.js +1 -0
- package/node_modules/@m0saic/types/dist/asset/asset.js +1 -0
- package/node_modules/@m0saic/types/dist/asset/index.js +1 -0
- package/node_modules/@m0saic/types/dist/benchmark/index.js +1 -0
- package/node_modules/@m0saic/types/dist/benchmark/session.js +1 -0
- package/node_modules/@m0saic/types/dist/colors/ffmpegNamedColors.js +1 -0
- package/node_modules/@m0saic/types/dist/colors/index.js +1 -0
- package/node_modules/@m0saic/types/dist/colors/mosaicColor.js +1 -0
- package/node_modules/@m0saic/types/dist/colors/parseMosaicColors.js +1 -0
- package/node_modules/@m0saic/types/dist/community-m/community-m.js +1 -0
- package/node_modules/@m0saic/types/dist/community-m/index.js +1 -0
- package/node_modules/@m0saic/types/dist/defaults/audio.js +1 -0
- package/node_modules/@m0saic/types/dist/defaults/color.js +1 -0
- package/node_modules/@m0saic/types/dist/defaults/effects.js +1 -0
- package/node_modules/@m0saic/types/dist/defaults/index.js +1 -0
- package/node_modules/@m0saic/types/dist/defaults/media.js +1 -0
- package/node_modules/@m0saic/types/dist/defaults/output-target.js +1 -0
- package/node_modules/@m0saic/types/dist/defaults/pipeline.js +1 -0
- package/node_modules/@m0saic/types/dist/defaults/placement.js +1 -0
- package/node_modules/@m0saic/types/dist/defaults/text.js +1 -0
- package/node_modules/@m0saic/types/dist/defaults/timing.js +1 -0
- package/node_modules/@m0saic/types/dist/defaults/visual.js +1 -0
- package/node_modules/@m0saic/types/dist/diagnostic/diagnostic.js +1 -0
- package/node_modules/@m0saic/types/dist/diagnostic/index.js +1 -0
- package/node_modules/@m0saic/types/dist/dictionary/dictionary.js +1 -0
- package/node_modules/@m0saic/types/dist/dictionary/index.js +1 -0
- package/node_modules/@m0saic/types/dist/document/document-pipeline.js +1 -0
- package/node_modules/@m0saic/types/dist/document/document.js +1 -0
- package/node_modules/@m0saic/types/dist/document/index.js +1 -0
- package/node_modules/@m0saic/types/dist/document/mosaicx-document.js +1 -0
- package/node_modules/@m0saic/types/dist/document/pipeline-helpers.js +1 -0
- package/node_modules/@m0saic/types/dist/document/sidecars.js +1 -0
- package/node_modules/@m0saic/types/dist/document/xfadeModes.js +1 -0
- package/node_modules/@m0saic/types/dist/engine-context/engine-context.js +1 -0
- package/node_modules/@m0saic/types/dist/engine-context/index.js +1 -0
- package/node_modules/@m0saic/types/dist/host-connections/host-connections.js +1 -0
- package/node_modules/@m0saic/types/dist/host-connections/index.js +1 -0
- package/node_modules/@m0saic/types/dist/identifiers/identifiers.js +1 -0
- package/node_modules/@m0saic/types/dist/identifiers/index.js +1 -0
- package/node_modules/@m0saic/types/dist/index.js +1 -0
- package/node_modules/@m0saic/types/dist/language/index.js +1 -0
- package/node_modules/@m0saic/types/dist/language/language.js +1 -0
- package/node_modules/@m0saic/types/dist/luminance/LuminanceBucket.js +1 -0
- package/node_modules/@m0saic/types/dist/luminance/index.js +1 -0
- package/node_modules/@m0saic/types/dist/meta/index.js +1 -0
- package/node_modules/@m0saic/types/dist/meta/meta.js +1 -0
- package/node_modules/@m0saic/types/dist/output/audio-config.js +1 -0
- package/node_modules/@m0saic/types/dist/output/color-config.js +1 -0
- package/node_modules/@m0saic/types/dist/output/container-metadata.js +1 -0
- package/node_modules/@m0saic/types/dist/output/encode.js +1 -0
- package/node_modules/@m0saic/types/dist/output/format.js +1 -0
- package/node_modules/@m0saic/types/dist/output/index.js +1 -0
- package/node_modules/@m0saic/types/dist/output/output.js +1 -0
- package/node_modules/@m0saic/types/dist/output/target.js +1 -0
- package/node_modules/@m0saic/types/dist/primitives/index.js +1 -0
- package/node_modules/@m0saic/types/dist/primitives/primitives.js +1 -0
- package/node_modules/@m0saic/types/dist/secrets/index.js +1 -0
- package/node_modules/@m0saic/types/dist/secrets/secrets.js +1 -0
- package/node_modules/@m0saic/types/dist/source/effectKeys.js +1 -0
- package/node_modules/@m0saic/types/dist/source/index.js +1 -0
- package/node_modules/@m0saic/types/dist/source/source.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry/category.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry/emit.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry/event.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry/ffmpegFailure.js +4 -0
- package/node_modules/@m0saic/types/dist/telemetry/index.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry/level.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry/personas.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry/record.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry/sink.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry/usage.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry-settings/index.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry-settings/mode.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry-settings/settings.js +1 -0
- package/node_modules/@m0saic/types/dist/telemetry-settings/upstream.js +1 -0
- package/node_modules/@m0saic/types/dist/template/forensic-watermark-check.js +1 -0
- package/node_modules/@m0saic/types/dist/template/forensic-watermark.js +1 -0
- package/node_modules/@m0saic/types/dist/template/index.js +1 -0
- package/node_modules/@m0saic/types/dist/template/region.js +1 -0
- package/node_modules/@m0saic/types/dist/template/template.js +1 -0
- package/node_modules/@m0saic/types/dist/template/time-range.js +1 -0
- package/node_modules/@m0saic/types/dist/template/time-window.js +1 -0
- package/node_modules/@m0saic/types/dist/template/timed-cue.js +1 -0
- package/node_modules/@m0saic/types/dist/template-repo/index.js +1 -0
- package/node_modules/@m0saic/types/dist/template-repo/template-repo.js +1 -0
- package/node_modules/@m0saic/types/dist/theme/index.js +1 -0
- package/node_modules/@m0saic/types/dist/theme/theme.js +1 -0
- package/node_modules/@m0saic/types/package.json +6 -0
- package/node_modules/@m0saic/types/schemas/mosaic.schema.json +771 -0
- package/node_modules/@m0saic/types-internal/LICENSE +7 -0
- package/node_modules/@m0saic/types-internal/dist/analytics/featureKeys.js +1 -0
- package/node_modules/@m0saic/types-internal/dist/analytics/webEvent.js +1 -0
- package/node_modules/@m0saic/types-internal/dist/index.js +1 -0
- package/node_modules/@m0saic/types-internal/package.json +6 -0
- package/package.json +49 -8
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
# @m0saic/dsl-stdlib
|
|
2
|
+
|
|
3
|
+
Standard library for the m0saic DSL. Builders, transforms, queries, and construction helpers.
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm install @m0saic/dsl-stdlib
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Depends on `@m0saic/dsl` only.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Where this fits
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
@m0saic/dsl
|
|
17
|
+
the language core (zero deps)
|
|
18
|
+
grammar, parser, validator, types
|
|
19
|
+
|
|
|
20
|
+
+-------------+-------------+
|
|
21
|
+
| |
|
|
22
|
+
@m0saic/dsl- @m0saic/dsl-stdlib <── you are here
|
|
23
|
+
file-formats builders, transforms
|
|
24
|
+
.m0 .m0c authoring toolkit
|
|
25
|
+
| |
|
|
26
|
+
+-------------+-------------+
|
|
27
|
+
|
|
|
28
|
+
@m0saic/dictionary
|
|
29
|
+
curated entries + generators
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The stdlib is **additive and optional**. The core DSL defines the language; the stdlib provides tools for building and manipulating DSL strings programmatically. Nothing in stdlib changes language semantics.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## API overview
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
┌──────────────────────────────────────────────────────────────────┐
|
|
40
|
+
│ @m0saic/dsl-stdlib │
|
|
41
|
+
│ │
|
|
42
|
+
│ CONSTRUCTORS BUILDERS TRANSFORMS │
|
|
43
|
+
│ ──────────── ──────── ────────── │
|
|
44
|
+
│ toM0String container split │
|
|
45
|
+
│ tryM0String equalSplit replace │
|
|
46
|
+
│ weightedSplit addOverlay │
|
|
47
|
+
│ QUERIES weightedTokens removeOverlay │
|
|
48
|
+
│ ─────── grid setTileType │
|
|
49
|
+
│ hasOverlayAtSpan strip measureSplit │
|
|
50
|
+
│ aspectFit swapFrames │
|
|
51
|
+
│ NON-TARGETED placeRect │
|
|
52
|
+
│ ──────────── aspectSafeGrid All targeted ops │
|
|
53
|
+
│ addOverlayToAllFrames safeCanvas accept a │
|
|
54
|
+
│ rewriteOverlayChains spotlight TransformTarget │
|
|
55
|
+
│ comparison │
|
|
56
|
+
│ rankedList │
|
|
57
|
+
│ bentoGrid │
|
|
58
|
+
└──────────────────────────────────────────────────────────────────┘
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Constructors
|
|
64
|
+
|
|
65
|
+
### `toM0String(raw): M0String`
|
|
66
|
+
|
|
67
|
+
Canonicalize, validate, and brand a raw string. Throws on invalid input.
|
|
68
|
+
|
|
69
|
+
```typescript
|
|
70
|
+
import { toM0String } from "@m0saic/dsl-stdlib";
|
|
71
|
+
|
|
72
|
+
const layout = toM0String("2(F, F)"); // branded M0String: "2(1,1)"
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### `tryM0String(raw): M0StringResult`
|
|
76
|
+
|
|
77
|
+
Same pipeline, but returns a Result instead of throwing.
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
import { tryM0String } from "@m0saic/dsl-stdlib";
|
|
81
|
+
|
|
82
|
+
const result = tryM0String("2(1,1,1)");
|
|
83
|
+
if (result.ok) {
|
|
84
|
+
console.log(result.value); // M0String
|
|
85
|
+
} else {
|
|
86
|
+
console.log(result.error.code); // "TOKEN_COUNT"
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
M0StringResult =
|
|
92
|
+
| { ok: true; value: M0String }
|
|
93
|
+
| { ok: false; error: M0ValidationError }
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Neither constructor performs overlay chain rewriting. If input may contain `}{`, call `rewriteOverlayChains` first.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Builders
|
|
101
|
+
|
|
102
|
+
Builders produce validated `M0String` values from structured parameters.
|
|
103
|
+
|
|
104
|
+
### Primitives
|
|
105
|
+
|
|
106
|
+
```typescript
|
|
107
|
+
import { container, equalSplit, weightedSplit } from "@m0saic/dsl-stdlib";
|
|
108
|
+
|
|
109
|
+
container(["1", "1", "1"], "col"); // "3(1,1,1)"
|
|
110
|
+
equalSplit(4, "row"); // "4[1,1,1,1]"
|
|
111
|
+
weightedSplit([2, 1, 1], "col"); // "4(0,1,0,1)" — 2:1:1 ratio
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
container(tokens, axis) wrap tokens in counted split
|
|
116
|
+
equalSplit(count, axis, claimant?) N equal children
|
|
117
|
+
weightedSplit(weights, axis, opts?) proportional distribution
|
|
118
|
+
weightedTokens(weights, claimant?) weight tokens without wrapping
|
|
119
|
+
strip(count, axis, opts) linear stack with gutter control
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Layout builders
|
|
123
|
+
|
|
124
|
+
```typescript
|
|
125
|
+
import { grid, aspectFit, spotlight, bentoGrid } from "@m0saic/dsl-stdlib";
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
#### `grid(opts): GridResult`
|
|
129
|
+
|
|
130
|
+
Rectangular grid with optional gutters.
|
|
131
|
+
|
|
132
|
+
```typescript
|
|
133
|
+
const { m0, order } = grid({ rows: 3, cols: 4, gutter: 0.1 });
|
|
134
|
+
// 3 rows × 4 cols with 10% gutter
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
#### `aspectFit(opts): AspectFitResult`
|
|
138
|
+
|
|
139
|
+
Constrain content to an aspect ratio within a container.
|
|
140
|
+
|
|
141
|
+
```typescript
|
|
142
|
+
const { m0, frameW, frameH } = aspectFit({
|
|
143
|
+
rootW: 1920, rootH: 1080,
|
|
144
|
+
target: { w: 1, h: 1 }, // square
|
|
145
|
+
hAlign: "center",
|
|
146
|
+
vAlign: "center",
|
|
147
|
+
});
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
#### `placeRect(opts): PlaceRectResult`
|
|
151
|
+
|
|
152
|
+
Position a rectangle of known size within a canvas.
|
|
153
|
+
|
|
154
|
+
```typescript
|
|
155
|
+
const { m0 } = placeRect({
|
|
156
|
+
rootW: 1920, rootH: 1080,
|
|
157
|
+
rectW: 1280, rectH: 720,
|
|
158
|
+
hAlign: "center", vAlign: "center",
|
|
159
|
+
});
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
#### `spotlight(opts): SpotlightResult`
|
|
163
|
+
|
|
164
|
+
Hero tile with supporting tiles. Four arrangements:
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
"bottom" hero on top, supports below
|
|
168
|
+
"right" hero on left, supports right
|
|
169
|
+
"l-wrap" hero top-left, supports in L around it
|
|
170
|
+
"u-wrap" hero top, supports in U below
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
```typescript
|
|
174
|
+
const { m0 } = spotlight({ supportCount: 3, arrangement: "bottom" });
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
#### `comparison(opts): ComparisonResult`
|
|
178
|
+
|
|
179
|
+
Before/after comparison pairs.
|
|
180
|
+
|
|
181
|
+
```typescript
|
|
182
|
+
const { m0 } = comparison({ pairs: 2, direction: "horizontal" });
|
|
183
|
+
// 4 tiles: 2 side-by-side pairs
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
#### `rankedList(opts): RankedListResult`
|
|
187
|
+
|
|
188
|
+
Ranked/priority list with size decay.
|
|
189
|
+
|
|
190
|
+
```typescript
|
|
191
|
+
const { m0 } = rankedList({ count: 5, decay: "steep", direction: "vertical" });
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
#### `bentoGrid(opts): BentoGridResult`
|
|
195
|
+
|
|
196
|
+
Curated irregular grids (Apple marketing page aesthetic).
|
|
197
|
+
|
|
198
|
+
```typescript
|
|
199
|
+
const { m0, tileCount } = bentoGrid({ base: "3x3", variant: 1 });
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
```
|
|
203
|
+
Base sizes Variants
|
|
204
|
+
────────── ────────
|
|
205
|
+
"3x3" 1, 2, 3
|
|
206
|
+
"4x3" 1, 2
|
|
207
|
+
"4x4" 1, 2
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
#### Other builders
|
|
211
|
+
|
|
212
|
+
```
|
|
213
|
+
safeCanvas(opts) canvas grid with feasibility constraints
|
|
214
|
+
aspectSafeGrid(opts) grid with aspect ratio preservation
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## Transforms
|
|
220
|
+
|
|
221
|
+
Structural edits on DSL strings. Each transform accepts a `TransformTarget` to identify which node to operate on:
|
|
222
|
+
|
|
223
|
+
```typescript
|
|
224
|
+
type TransformTarget =
|
|
225
|
+
| { by: "logicalIndex"; index: number } // 0-based rendered frame index
|
|
226
|
+
| { by: "span"; span: { start: number; end: number } } // character span
|
|
227
|
+
| { by: "stableKey"; key: string }; // structural identity path
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### `split(m0, target, opts)`
|
|
231
|
+
|
|
232
|
+
Split a tile into N children along an axis.
|
|
233
|
+
|
|
234
|
+
```typescript
|
|
235
|
+
import { split } from "@m0saic/dsl-stdlib";
|
|
236
|
+
|
|
237
|
+
// Split the first frame into 3 columns
|
|
238
|
+
split(m0, { by: "logicalIndex", index: 0 }, { axis: "col", count: 3 });
|
|
239
|
+
|
|
240
|
+
// With weights
|
|
241
|
+
split(m0, { by: "span", span }, { axis: "row", count: 2, weights: [2, 1] });
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
### `replace(m0, target, replacement)`
|
|
245
|
+
|
|
246
|
+
Replace a node with a new DSL fragment.
|
|
247
|
+
|
|
248
|
+
```typescript
|
|
249
|
+
import { replace } from "@m0saic/dsl-stdlib";
|
|
250
|
+
|
|
251
|
+
replace(m0, { by: "stableKey", key: stableKey }, "3(1,1,1)");
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
### `addOverlay(m0, target)` / `removeOverlay(m0, target)`
|
|
255
|
+
|
|
256
|
+
Add or remove an overlay `{1}` on a node. No-op if already present/absent.
|
|
257
|
+
|
|
258
|
+
```typescript
|
|
259
|
+
import { addOverlay, removeOverlay } from "@m0saic/dsl-stdlib";
|
|
260
|
+
|
|
261
|
+
addOverlay(m0, { by: "span", span });
|
|
262
|
+
removeOverlay(m0, { by: "stableKey", key: stableKey });
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
### `setTileType(m0, target, type)`
|
|
266
|
+
|
|
267
|
+
Change a leaf node's type (`"1"`, `"0"`, `"-"`, `"F"`, `">"`).
|
|
268
|
+
|
|
269
|
+
```typescript
|
|
270
|
+
import { setTileType } from "@m0saic/dsl-stdlib";
|
|
271
|
+
|
|
272
|
+
setTileType(m0, { by: "logicalIndex", index: 2 }, "-");
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
### `measureSplit(m0, target, opts)`
|
|
276
|
+
|
|
277
|
+
Replace a tile with a measure-mode split (kept regions within N slots).
|
|
278
|
+
|
|
279
|
+
```typescript
|
|
280
|
+
import { measureSplit } from "@m0saic/dsl-stdlib";
|
|
281
|
+
|
|
282
|
+
measureSplit(m0, { by: "logicalIndex", index: 0 }, {
|
|
283
|
+
axis: "col", count: 4,
|
|
284
|
+
ranges: [{ start: 1, end: 3 }],
|
|
285
|
+
});
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### `swapFrames(m0, indexA, indexB)`
|
|
289
|
+
|
|
290
|
+
Atomically swap two rendered frames (including overlays). Addressed by logical index only.
|
|
291
|
+
|
|
292
|
+
```typescript
|
|
293
|
+
import { swapFrames } from "@m0saic/dsl-stdlib";
|
|
294
|
+
|
|
295
|
+
swapFrames(m0, 0, 2);
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
### Non-targeted transforms
|
|
299
|
+
|
|
300
|
+
```typescript
|
|
301
|
+
import { addOverlayToAllFrames, rewriteOverlayChains } from "@m0saic/dsl-stdlib";
|
|
302
|
+
|
|
303
|
+
addOverlayToAllFrames(m0); // overlay every rendered frame
|
|
304
|
+
rewriteOverlayChains("1{1}{1}"); // → "1{1{1}}" (collapse chains)
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
|
|
309
|
+
## Overlay Chain Rewriting
|
|
310
|
+
|
|
311
|
+
`rewriteOverlayChains` collapses overlay chains (`}{`) into nested form. The DSL validator rejects `}{` — this helper is required preprocessing for generated/intermediate strings.
|
|
312
|
+
|
|
313
|
+
```
|
|
314
|
+
Input Output
|
|
315
|
+
───── ──────
|
|
316
|
+
X{A}{B} X{A{B}}
|
|
317
|
+
X{A}{B}{C} X{A{B{C}}}
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
Idempotent. Already-nested strings pass through unchanged. Not part of the DSL language — it is a preprocessing helper for composition/flattening pipelines.
|
|
321
|
+
|
|
322
|
+
```typescript
|
|
323
|
+
import { rewriteOverlayChains, toM0String } from "@m0saic/dsl-stdlib";
|
|
324
|
+
|
|
325
|
+
const raw = rewriteOverlayChains("1{1}{1}"); // "1{1{1}}"
|
|
326
|
+
const branded = toM0String(raw); // validated + branded
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
---
|
|
330
|
+
|
|
331
|
+
## Queries
|
|
332
|
+
|
|
333
|
+
```typescript
|
|
334
|
+
import { hasOverlayAtSpan } from "@m0saic/dsl-stdlib";
|
|
335
|
+
|
|
336
|
+
hasOverlayAtSpan("1{1}", { start: 0, end: 3 }); // true
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
---
|
|
340
|
+
|
|
341
|
+
## Types
|
|
342
|
+
|
|
343
|
+
```typescript
|
|
344
|
+
import type {
|
|
345
|
+
// Constructors
|
|
346
|
+
M0StringResult,
|
|
347
|
+
|
|
348
|
+
// Transforms
|
|
349
|
+
TransformTarget, // { by: "logicalIndex" | "span" | "stableKey", ... }
|
|
350
|
+
SplitOptions,
|
|
351
|
+
MeasureSplitOptions,
|
|
352
|
+
MeasureRange,
|
|
353
|
+
|
|
354
|
+
// Builder primitives
|
|
355
|
+
ContainerAxis, // "col" | "row"
|
|
356
|
+
WeightedSplitOptions,
|
|
357
|
+
TileTypePrimitive, // "F" | "1" | ">" | "0" | "-"
|
|
358
|
+
|
|
359
|
+
// Builder options / results
|
|
360
|
+
GridOptions,
|
|
361
|
+
GridResult,
|
|
362
|
+
StripOptions,
|
|
363
|
+
AspectRatio, // { w: number; h: number }
|
|
364
|
+
AspectFitOptions,
|
|
365
|
+
AspectFitResult,
|
|
366
|
+
AspectFitHAlign, // "left" | "center" | "right"
|
|
367
|
+
AspectFitVAlign, // "top" | "center" | "bottom"
|
|
368
|
+
} from "@m0saic/dsl-stdlib";
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
`ContainerAxis` is structurally identical to `M0Axis` from `@m0saic/dsl` (`"col" | "row"`). They are interchangeable via TypeScript structural typing.
|
|
372
|
+
|
|
373
|
+
---
|
|
374
|
+
|
|
375
|
+
## Design principles
|
|
376
|
+
|
|
377
|
+
- **Additive only** — stdlib never changes DSL semantics
|
|
378
|
+
- **All builders validate** — every builder returns a branded `M0String` (validation overhead is < 25us)
|
|
379
|
+
- **No implicit rewrites** — overlay chain rewriting is explicit, never automatic
|
|
380
|
+
- **One function, three addressing schemes** — every transform takes a `TransformTarget` discriminated union: `logicalIndex` for arrays, `span` for text editors, `stableKey` for structural operations
|
|
381
|
+
- **Deterministic output** — same params always produce the same DSL string
|
|
382
|
+
|
|
383
|
+
---
|
|
384
|
+
|
|
385
|
+
## License
|
|
386
|
+
|
|
387
|
+
Licensed under the Apache License, Version 2.0.
|
|
388
|
+
See `LICENSE` and `NOTICE`.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var w=Object.defineProperty;var r=(e,t)=>w(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.gcd=gcd,exports.gcdOfArray=gcdOfArray,exports.buildSingleAxisSplit=buildSingleAxisSplit,exports.buildNestedSplit=buildNestedSplit;const weightedTokens_1=require("../weightedTokens"),container_1=require("../container");function gcd(e,t){for(e=Math.abs(e),t=Math.abs(t);t;)[e,t]=[t,e%t];return e}r(gcd,"gcd");function gcdOfArray(e){let t=e[0];for(let n=1;n<e.length;n++)t=gcd(t,e[n]);return t}r(gcdOfArray,"gcdOfArray");function buildSingleAxisSplit(e,t,n,d,f="1"){const o=[],h=[];e>0&&(o.push(e),h.push("-")),o.push(t),h.push(f),n>0&&(o.push(n),h.push("-"));const u=gcdOfArray(o),c=o.map(i=>i/u),p=[];for(let i=0;i<c.length;i++)p.push(...(0,weightedTokens_1.weightedTokens)(c[i],h[i]));return{m0:(0,container_1.container)(p,d),totalWeight:p.length}}r(buildSingleAxisSplit,"buildSingleAxisSplit");function buildNestedSplit(e,t,n,d,f,o,h="1"){const u=[],c=[];n>0&&(u.push(n),c.push("-")),u.push(f),c.push(h),d>0&&(u.push(d),c.push("-"));const p=gcdOfArray(u),i=u.map(s=>s/p),m=[];for(let s=0;s<i.length;s++)m.push(...(0,weightedTokens_1.weightedTokens)(i[s],c[s]));const x=(0,container_1.container)(m,"col"),l=[],g=[];e>0&&(l.push(e),g.push("-")),l.push(o),g.push(x),t>0&&(l.push(t),g.push("-"));const S=gcdOfArray(l),k=l.map(s=>s/S),a=[];for(let s=0;s<k.length;s++)a.push(...(0,weightedTokens_1.weightedTokens)(k[s],g[s]));return{m0:(0,container_1.container)(a,"row"),totalWeight:a.length}}r(buildNestedSplit,"buildNestedSplit");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var L=Object.defineProperty;var f=(r,a)=>L(r,"name",{value:a,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.isRenderedLeaf=isRenderedLeaf,exports.packLeafRects=packLeafRects;const placeRects_1=require("../placeRects"),queryFrames_1=require("../../queries/queryFrames"),getLayerCount_1=require("../../queries/getLayerCount"),reduceSplitCounts_1=require("../../transforms/primitives/split/reduceSplitCounts"),output_1=require("../../transforms/_internal/output");function isRenderedLeaf(r){return(r.kind==="frame"||r.kind==="root")&&!r.nullFrame&&!r.passthroughFrame}f(isRenderedLeaf,"isRenderedLeaf");function packLeafRects(r){const{width:a,height:i}=r;if(!Number.isInteger(a)||a<1)throw new Error(`packLeafRects: width must be a positive integer, got ${a}`);if(!Number.isInteger(i)||i<1)throw new Error(`packLeafRects: height must be a positive integer, got ${i}`);const n=r.rects;if(n.length===0)throw new Error("packLeafRects: rects must be non-empty");const y=r.preserveZOrder??!0,w=r.reduceSplits??!1,k={width:a,height:i},c=[],u=new Array(n.length).fill(0);for(let e=0;e<n.length;e++){let t=0;if(y)for(let o=0;o<e;o++)(0,placeRects_1.rectsOverlap)(n[e],n[o])&&(t=Math.max(t,u[o]+1));let s=-1;for(let o=t;o<c.length;o++)if(c[o].every($=>!(0,placeRects_1.rectsConflict)(n[e],n[$]))){s=o;break}s<0&&(c.push([]),s=c.length-1),c[s].push(e),u[e]=s}const p=c.map(e=>{const t=(0,placeRects_1.placeRects)({rootW:a,rootH:i,rects:e.map(s=>n[s])});if(t.layers.length!==1)throw new Error("packLeafRects: internal invariant \u2014 conflict-free layer still spilled in placeRects");return String(t.layers[0].m0)});let d=p[p.length-1];for(let e=p.length-2;e>=0;e--)d=`${p[e]}{${d}}`;let l=(0,output_1.validateInputOrThrow)("packLeafRects (output)",d),h=0;if(w){const e=(0,reduceSplitCounts_1.reduceSplitCounts)(l,{width:a,height:i});l=e.m0,h=e.reduced.length}const R=(0,queryFrames_1.queryFrames)(l,k).editor().filter(isRenderedLeaf),g=new Map;for(const e of R){const t=`${e.overlayDepth}|${Math.round(e.x)}|${Math.round(e.y)}|${Math.round(e.width)}|${Math.round(e.height)}`;g.set(t,{key:String(e.meta.stableKey),li:e.logicalIndex??0})}const m=new Array(n.length);for(let e=0;e<n.length;e++){const t=n[e],s=g.get(`${u[e]}|${t.x}|${t.y}|${t.w}|${t.h}`);if(!s)throw new Error(`packLeafRects: internal invariant \u2014 repacked rect ${e} not found in rebuilt document`);m[e]={stableKey:s.key,logicalIndex:s.li,layer:u[e]}}return{m0:l,placed:m,layersAfter:(0,getLayerCount_1.getLayerCount)(l)??1,reducedSplits:h}}f(packLeafRects,"packLeafRects");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var G=Object.defineProperty;var N=(t,e)=>G(t,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.aspectFit=aspectFit;const container_1=require("./container"),barSplit_1=require("./_internal/barSplit");function fitInside(t,e,o,r){const g=t*r,h=o*e;return g===h?{w:t,h:e}:g<h?{w:t,h:Math.floor(t*r/o)}:{w:Math.floor(e*o/r),h:e}}N(fitInside,"fitInside");function aspectFit(t){const{rootW:e,rootH:o,target:r,hAlign:g="center",vAlign:h="center"}=t;if(!Number.isInteger(e)||e<1)throw new Error(`aspectFit: rootW must be a positive integer, got ${e}`);if(!Number.isInteger(o)||o<1)throw new Error(`aspectFit: rootH must be a positive integer, got ${o}`);if(typeof r?.w!="number"||r.w<=0)throw new Error(`aspectFit: target.w must be positive, got ${r?.w}`);if(typeof r?.h!="number"||r.h<=0)throw new Error(`aspectFit: target.h must be positive, got ${r?.h}`);const d=t.paddingLeft??t.padding??0,p=t.paddingRight??t.padding??0,f=t.paddingTop??t.padding??0,u=t.paddingBottom??t.padding??0;if(d<0||p<0||f<0||u<0)throw new Error("aspectFit: padding values must be non-negative");if(d+p>=1)throw new Error(`aspectFit: paddingLeft + paddingRight must be < 1, got ${d+p}`);if(f+u>=1)throw new Error(`aspectFit: paddingTop + paddingBottom must be < 1, got ${f+u}`);const T=Math.floor(e*d),_=Math.floor(e*p),A=Math.floor(o*f),L=Math.floor(o*u),W=e-T-_,S=o-A-L;if(W<1||S<1)throw new Error("aspectFit: padding is too large for the given dimensions");let n=r.w,s=r.h;(!Number.isInteger(n)||!Number.isInteger(s))&&(n=Math.round(n*1e6),s=Math.round(s*1e6));const R=(0,barSplit_1.gcd)(n,s);n/=R,s/=R;const b=fitInside(W,S,n,s);if(b.w<1||b.h<1)throw new Error("aspectFit: target ratio is too extreme for the given root dimensions");const w=b.w,m=b.h,v=W-w;let a,B;switch(g){case"left":a=0,B=v;break;case"right":a=v,B=0;break;case"center":default:a=Math.floor(v/2),B=v-a;break}const F=S-m;let c,M;switch(h){case"top":c=0,M=F;break;case"bottom":c=F,M=0;break;case"center":default:c=Math.floor(F/2),M=F-c;break}const k=T+a,U=_+B,$=A+c,I=L+M,y=k>0||U>0,q=$>0||I>0;let l,E=0;if(!y&&!q)l=(0,container_1.container)(["1"],"col");else if(y)if(q){const i=(0,barSplit_1.buildNestedSplit)($,I,k,U,w,m);l=i.m0,E=i.totalWeight}else{const i=(0,barSplit_1.buildSingleAxisSplit)(k,w,U,"col");l=i.m0,E=i.totalWeight}else{const i=(0,barSplit_1.buildSingleAxisSplit)($,m,I,"row");l=i.m0,E=i.totalWeight}return{m0:l,frameW:w,frameH:m,totalWeight:E}}N(aspectFit,"aspectFit");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var F=Object.defineProperty;var W=(e,t)=>F(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.aspectSafeGrid=aspectSafeGrid;const strip_1=require("./strip"),snapGrid_1=require("./snapGrid");function findAxisWeights(e,t,n,l){const i=l?e+1:e-1;if(n<=0||i===0){if(t%e!==0)return null;const r=t/e;return r>=1?{cellW:r,gutterW:0,totalW:t}:null}let c=null,o=1/0;const a=Math.floor(t/(i+e));for(let r=1;r<=a;r++){const p=t-i*r;if(p<=0||p%e!==0)continue;const d=p/e;if(d<1)continue;const m=Math.abs(r/d-n);m<o&&(o=m,c={cellW:d,gutterW:r,totalW:t})}return c}W(findAxisWeights,"findAxisWeights");function buildOrientedGrid(e,t,n,l,i,c){const o=findAxisWeights(t,n,i,c);if(!o)return null;const a=findAxisWeights(e,l,i,c);if(!a)return null;const r=(0,strip_1.strip)(t,"col",{cellWeight:o.cellW,gutterWeight:o.gutterW,outerGutters:c});return{m0:(0,strip_1.strip)(e,"row",{cellWeight:a.cellW,gutterWeight:a.gutterW,outerGutters:c,claimant:r}),rows:e,cols:t,canvasW:n,canvasH:l,cellWPx:o.cellW,cellHPx:a.cellW,cellAspectRatio:o.cellW/a.cellW,gutterPxX:o.gutterW,gutterPxY:a.gutterW}}W(buildOrientedGrid,"buildOrientedGrid");function buildLetterboxedOrientedGrid(e,t,n,l,i,c,o,a){try{const r=(0,snapGrid_1.snapGridFit)({rootW:n,rootH:l,rows:e,cols:t,gutter:i,outerGutters:c,hAlign:o,vAlign:a});return{m0:r.m0,rows:e,cols:t,canvasW:n,canvasH:l,cellWPx:r.cellW,cellHPx:r.cellH,cellAspectRatio:r.cellW/r.cellH,gutterPxX:r.gutterPxX,gutterPxY:r.gutterPxY}}catch{return null}}W(buildLetterboxedOrientedGrid,"buildLetterboxedOrientedGrid");const AR_PENALTY_WEIGHT=1e3,TARGET_AR_PENALTY_WEIGHT=500;function scoreCandidate(e,t,n){let l=e.cellAspectLogDelta*AR_PENALTY_WEIGHT;if(n!=null&&n>0){const i=Math.abs(Math.log(n)-Math.log(e.landscape.cellAspectRatio));l+=i*TARGET_AR_PENALTY_WEIGHT}switch(e.minCellPx<30?l+=(30-e.minCellPx)*10:e.minCellPx<80&&(l+=(80-e.minCellPx)*2),t){case"cleanPixels":l-=Math.min(e.minCellPx,300);break;case"moreCells":l-=e.cellCount*5;break;case"largerCells":l-=Math.min(e.minCellPx,500)*2;break;case"balanced":default:l-=e.cellCount*2,l-=Math.min(e.minCellPx,200);break}return l}W(scoreCandidate,"scoreCandidate");function aspectSafeGrid(e={}){const{landscapeW:t=1920,landscapeH:n=1080,portraitW:l=1080,portraitH:i=1920,minCols:c=2,maxCols:o=8,minRows:a=2,maxRows:r=8,gutter:p=0,outerGutters:d=!1,priority:m="balanced",targetCellAspectRatio:P,targetCellCount:C,cellCountTolerance:q=4}=e,w=e.landscapeMinRows??a,L=e.landscapeMaxRows??r,A=e.landscapeMinCols??c,S=e.landscapeMaxCols??o,R=e.portraitMinRows??a,I=e.portraitMaxRows??r,G=e.portraitMinCols??c,_=e.portraitMaxCols??o,D=P!=null&&P>0?P:null,O=e.letterbox===!0,X=e.hAlign??"center",v=e.vAlign??"center",y=O?(s,u,f,x)=>buildLetterboxedOrientedGrid(s,u,f,x,p,d,X,v):(s,u,f,x)=>buildOrientedGrid(s,u,f,x,p,d);if(!Number.isInteger(t)||t<1)throw new Error("aspectSafeGrid: landscapeW must be a positive integer");if(!Number.isInteger(n)||n<1)throw new Error("aspectSafeGrid: landscapeH must be a positive integer");if(!Number.isInteger(l)||l<1)throw new Error("aspectSafeGrid: portraitW must be a positive integer");if(!Number.isInteger(i)||i<1)throw new Error("aspectSafeGrid: portraitH must be a positive integer");if(A<1||S<A||G<1||_<G)throw new Error("aspectSafeGrid: invalid column range");if(w<1||L<w||R<1||I<R)throw new Error("aspectSafeGrid: invalid row range");let T=1/0,g=null;for(let s=w;s<=L;s++)for(let u=A;u<=S;u++){if(C!=null&&C>0){const h=s*u;if(Math.abs(h-C)>q)continue}const f=y(s,u,t,n);if(!f)continue;const x=s*u,j=Math.log(f.cellAspectRatio);let b=null,E=1/0;for(let h=R;h<=I;h++)for(let M=G;M<=_;M++){if(h*M!==x)continue;const H=y(h,M,l,i);if(!H)continue;const k=Math.abs(j-Math.log(H.cellAspectRatio));k<E&&(E=k,b=H)}if(!b)continue;const z=Math.min(f.cellWPx,f.cellHPx,b.cellWPx,b.cellHPx),N={landscape:f,portrait:b,cellCount:x,minCellPx:z,cellAspectLogDelta:E},Y=scoreCandidate(N,m,D);Y<T&&(T=Y,g=N)}if(!g)throw new Error("aspectSafeGrid: no aspect-matched grid pair found that's quantization-free at both canvases for the given parameters.");return{cellCount:g.cellCount,cellAspectLogDelta:g.cellAspectLogDelta,landscape:g.landscape,portrait:g.portrait}}W(aspectSafeGrid,"aspectSafeGrid");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var x=Object.defineProperty;var M=(t,r)=>x(t,"name",{value:r,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.bakeInsets=bakeInsets;const packLeafRects_1=require("./_internal/packLeafRects"),queryFrames_1=require("../queries/queryFrames"),output_1=require("../transforms/_internal/output");function bakeInsets(t){const{width:r,height:n}=t;if(!Number.isInteger(r)||r<1)throw new Error(`bakeInsets: width must be a positive integer, got ${r}`);if(!Number.isInteger(n)||n<1)throw new Error(`bakeInsets: height must be a positive integer, got ${n}`);const l=(0,output_1.validateInputOrThrow)("bakeInsets",t.m0),s=(0,queryFrames_1.queryFrames)(l,{width:r,height:n}).render();if(s.length===0)throw new Error("bakeInsets: document has no rendered frames");if(t.insets.length!==s.length)throw new Error(`bakeInsets: insets length (${t.insets.length}) must equal the render-frame count (${s.length})`);let m=0;const f=s.map((e,p)=>{const d=Math.max(0,Math.round(e.x)),g=Math.max(0,Math.round(e.y)),o=Math.max(1,Math.round(e.width)),h=Math.max(1,Math.round(e.height)),a=t.insets[p];if(!a)return{x:d,y:g,w:o,h};const u=Math.floor(a.left*o),w=Math.floor(a.right*o),c=Math.floor(a.top*h),b=Math.floor(a.bottom*h);return(u||w||c||b)&&m++,{x:d+u,y:g+c,w:Math.max(1,o-(u+w)),h:Math.max(1,h-(c+b))}}),i=(0,packLeafRects_1.packLeafRects)({rects:f,width:r,height:n,preserveZOrder:!0,reduceSplits:t.reduceSplits??!0});return{m0:i.m0,rects:f.map(e=>({x:e.x,y:e.y,w:e.w,h:e.h})),meta:{frameCount:s.length,insetCount:m,dslLengthBefore:l.length,dslLengthAfter:i.m0.length,layersAfter:i.layersAfter}}}M(bakeInsets,"bakeInsets");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var J=Object.defineProperty;var w=(c,o)=>J(c,"name",{value:o,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.compactDocument=compactDocument;const packLeafRects_1=require("./_internal/packLeafRects"),queryFrames_1=require("../queries/queryFrames"),getLayerCount_1=require("../queries/getLayerCount"),inferGrid_1=require("../libraries/svg/inferGrid"),removePureNullLayers_1=require("../transforms/primitives/overlay/removePureNullLayers"),reduceSplitCounts_1=require("../transforms/primitives/split/reduceSplitCounts"),output_1=require("../transforms/_internal/output");function compactDocument(c){const{width:o,height:d}=c;if(!Number.isInteger(o)||o<1)throw new Error(`compactDocument: width must be a positive integer, got ${o}`);if(!Number.isInteger(d)||d<1)throw new Error(`compactDocument: height must be a positive integer, got ${d}`);const I=c.removeNullLayers??!0,$=c.pack??!0,Z=c.preserveZOrder??!0,K=c.reduceSplits??!1,f=c.gcdDriftPercent??0;if(!Number.isFinite(f)||f<0)throw new Error(`compactDocument: gcdDriftPercent must be a non-negative number, got ${f}`);const g=(0,output_1.validateInputOrThrow)("compactDocument",c.m0),P={width:o,height:d},D=(0,queryFrames_1.queryFrames)(g,P),s=D.render();if(s.length===0)throw new Error("compactDocument: document has no rendered frames");const B=new Map;for(const e of D.editor().filter(packLeafRects_1.isRenderedLeaf))e.logicalIndex!=null&&B.set(e.logicalIndex,String(e.meta.stableKey));const q=w(e=>B.get(s[e].logicalIndex)??String(s[e].meta.stableKey),"oldEditorKeyOf"),j=(0,getLayerCount_1.getLayerCount)(g)??1;let x=g,L=[],k=s.map((e,r)=>q(r)),N=s.map((e,r)=>r),O=null,R=0,C=0,E=0,S=0;const z=w(e=>{const r=D.editor().filter(packLeafRects_1.isRenderedLeaf).sort((a,y)=>(a.logicalIndex??0)-(y.logicalIndex??0)),h=(0,queryFrames_1.queryFrames)(e,P).editor().filter(packLeafRects_1.isRenderedLeaf).sort((a,y)=>(a.logicalIndex??0)-(y.logicalIndex??0));if(h.length!==r.length)throw new Error("compactDocument: internal invariant \u2014 a lossless step changed the rendered frame count");const u=[],p=[];for(let a=0;a<r.length;a++){const y=String(r[a].meta.stableKey),b=String(h[a].meta.stableKey);p.push(b),y!==b&&u.push({from:y,to:b})}return{rekey:u,liveKeys:p}},"deriveByOrder"),F=w(()=>{let e=g;I&&(e=(0,removePureNullLayers_1.removePureNullLayers)(e));let r=0;if(K){const u=(0,reduceSplitCounts_1.reduceSplitCounts)(e,{width:o,height:d});e=u.m0,r=u.reduced.length}if(e===g)return{m0:e,rekey:[],liveKeys:s.map((u,p)=>q(p)),reducedSplits:0};const h=z(e);return{m0:e,rekey:h.rekey,liveKeys:h.liveKeys,reducedSplits:r}},"computeBaseline");if($||f>0){const e=s.map(n=>({x:Math.max(0,Math.round(n.x)),y:Math.max(0,Math.round(n.y)),w:Math.max(1,Math.round(n.width)),h:Math.max(1,Math.round(n.height))}));let r=e,h=null,u=0;if(f>0){const n=e.map((t,m)=>({id:String(m),index:m,type:"path",geometry:{d:""},style:{fill:null,stroke:null,style:null},bounds:{x:t.x,y:t.y,width:t.w,height:t.h,left:t.x,top:t.y,right:t.x+t.w,bottom:t.y+t.h,cx:t.x+t.w/2,cy:t.y+t.h/2}})),i=(0,inferGrid_1.inferGrid)(n,{x:0,y:0,width:o,height:d},{driftPercent:f,driftMode:"gcd-snap"});r=i.shapes.map(t=>{const m=Math.max(0,Math.min(o-1,Math.round(t.snappedBounds.left))),l=Math.max(0,Math.min(d-1,Math.round(t.snappedBounds.top))),v=Math.max(1,Math.min(o-m,Math.round(t.snappedBounds.right)-m)),H=Math.max(1,Math.min(d-l,Math.round(t.snappedBounds.bottom)-l));return{x:m,y:l,w:v,h:H}}),h=i.meta?.achievedGcd??null,u=i.meta?.maxActualDriftPx??0}const p=(0,packLeafRects_1.packLeafRects)({rects:r,width:o,height:d,preserveZOrder:Z,reduceSplits:K}),a=p.m0,y=p.reducedSplits,b=[],G=[],A=new Array(s.length).fill(0);let _=0,T=0;for(let n=0;n<s.length;n++){const i=r[n],t=p.placed[n];G.push(t.stableKey),A[t.logicalIndex]=n;const m=q(n);m!==t.stableKey&&b.push({from:m,to:t.stableKey});const l=s[n],v=Math.max(Math.abs(l.x-i.x),Math.abs(l.y-i.y),Math.abs(l.x+l.width-(i.x+i.w)),Math.abs(l.y+l.height-(i.y+i.h)));T+=v,v>_&&(_=v)}const M=F();a.length<M.m0.length?(x=a,L=b,k=G,N=A,C=_,E=T,O=h,R=u,S=y):(x=M.m0,L=M.rekey,k=M.liveKeys,S=M.reducedSplits)}else if(I||K){const e=F();x=e.m0,L=e.rekey,k=e.liveKeys,S=e.reducedSplits}return{m0:x,rekey:L,liveKeys:k,sourceOrder:N,meta:{layersBefore:j,layersAfter:(0,getLayerCount_1.getLayerCount)(x)??1,frameCount:s.length,dslLengthBefore:g.length,dslLengthAfter:x.length,gcd:O,maxDriftPx:R,driftMaxPx:C,driftTotalPx:E,reducedSplits:S}}}w(compactDocument,"compactDocument");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var y=Object.defineProperty;var l=(e,t)=>y(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.compactLossless=compactLossless;const dsl_1=require("@m0saic/dsl"),removePureNullLayers_1=require("../transforms/primitives/overlay/removePureNullLayers"),reduceSplitCounts_1=require("../transforms/primitives/split/reduceSplitCounts"),getLayerCount_1=require("../queries/getLayerCount"),output_1=require("../transforms/_internal/output"),isRenderedLeaf=l(e=>(e.kind==="frame"||e.kind==="root")&&!e.nullFrame&&!e.passthroughFrame,"isRenderedLeaf");function renderedLeavesByLogical(e,t,r){return(0,dsl_1.parseM0StringToFullGraph)(e,t,r).filter(isRenderedLeaf).sort((a,u)=>(a.logicalIndex??0)-(u.logicalIndex??0))}l(renderedLeavesByLogical,"renderedLeavesByLogical");function compactLossless(e){const{width:t,height:r}=e;if(!Number.isInteger(t)||t<1)throw new Error(`compactLossless: width must be a positive integer, got ${t}`);if(!Number.isInteger(r)||r<1)throw new Error(`compactLossless: height must be a positive integer, got ${r}`);const a=e.removeNullLayers??!0,u=e.reduceSplits??!0,n=(0,output_1.validateInputOrThrow)("compactLossless",e.m0),L=(0,getLayerCount_1.getLayerCount)(n)??1,i=renderedLeavesByLogical(n,t,r);let s=n;a&&(s=(0,removePureNullLayers_1.removePureNullLayers)(s));let d=0,g=0;if(u){const o=(0,reduceSplitCounts_1.reduceSplitCounts)(s,{width:t,height:r,maxDriftPx:e.maxDriftPx??0});s=o.m0,d=o.reduced.length,g=o.maxDriftPx}const h=renderedLeavesByLogical(s,t,r);if(h.length!==i.length)throw new Error("compactLossless: internal invariant \u2014 compaction changed the rendered frame count");const c=[],f=[];for(let o=0;o<i.length;o++){const p=String(i[o].meta.stableKey),m=String(h[o].meta.stableKey);f.push(m),p!==m&&c.push({from:p,to:m})}return{m0:s,keysStable:c.length===0,rekey:c,liveKeys:f,meta:{reducedSplits:d,layersBefore:L,layersAfter:(0,getLayerCount_1.getLayerCount)(s)??1,frameCount:i.length,dslLengthBefore:n.length,dslLengthAfter:s.length,maxDriftPx:g}}}l(compactLossless,"compactLossless");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var x=Object.defineProperty;var s=(i,t)=>x(i,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.comparison=comparison;const weightedSplit_1=require("./weightedSplit"),CELL=50;function comparison(i={}){const{pairs:t=1,direction:a="horizontal",labelSpace:c=0,gutter:l=0}=i;if(!Number.isInteger(t)||t<1||t>4)throw new Error("comparison: pairs must be 1\u20134");const u=l>0,f=u?Math.max(1,Math.round(CELL*l)):0,p=c>0?Math.max(1,Math.round(CELL*c)):0,h=a==="horizontal"?"col":"row";function m(){return p>0?(0,weightedSplit_1.weightedSplit)([CELL,p,CELL],h,{claimants:["1","-","1"]}):(0,weightedSplit_1.weightedSplit)([CELL,CELL],h)}s(m,"buildPair");const e=t*2;if(t===1)return{m0:m(),tileCount:e};const d=a==="horizontal"?"row":"col",w=m();if(!u){const r=Array(t).fill(CELL),g=Array(t).fill(w);return{m0:(0,weightedSplit_1.weightedSplit)(r,d,{claimants:g}),tileCount:e}}const o=[],n=[];for(let r=0;r<t;r++)r>0&&(o.push(f),n.push("-")),o.push(CELL),n.push(w);return{m0:(0,weightedSplit_1.weightedSplit)(o,d,{claimants:n}),tileCount:e}}s(comparison,"comparison");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var c=Object.defineProperty;var r=(t,n)=>c(t,"name",{value:n,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.container=container;const toM0String_1=require("../constructors/toM0String");function container(t,n){if(t.length===0)throw new Error("container: tokens must be non-empty");if(t.length===1)return(0,toM0String_1.toM0String)(t[0],"container");const[e,o]=n==="col"?["(",")"]:["[","]"],i=`${t.length}${e}${t.join(",")}${o}`;return(0,toM0String_1.toM0String)(i,"container")}r(container,"container");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var s=Object.defineProperty;var r=(e,t)=>s(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.equalSplit=equalSplit;const container_1=require("./container");function equalSplit(e,t,i){if(!Number.isInteger(e)||e<1)throw new Error(`equalSplit: count must be a positive integer, got ${e}`);const n=i??"1",o=Array(e).fill(n);return(0,container_1.container)(o,t)}r(equalSplit,"equalSplit");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var g=Object.defineProperty;var d=(i,t)=>g(i,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.goldenSplit=goldenSplit,exports.goldenSpiral=goldenSpiral,exports.goldenRect=goldenRect;const weightedSplit_1=require("./weightedSplit"),placeRect_1=require("./placeRect"),FIBONACCI_PAIRS=[[13,8],[21,13],[34,21],[55,34],[89,55],[144,89]],PRECISION_INDEX={"13/8":0,"21/13":1,"34/21":2,"55/34":3,"89/55":4,"144/89":5};function pickPair(i="21/13"){return FIBONACCI_PAIRS[PRECISION_INDEX[i]??1]}d(pickPair,"pickPair");function goldenSplit(i){const{axis:t,dominantFirst:e=!0,precision:a="21/13",largeClaimant:s="F",smallClaimant:c="F"}=i,[o,l]=pickPair(a),n=e?[o,l]:[l,o],r=e?[String(s),String(c)]:[String(c),String(s)];return(0,weightedSplit_1.weightedSplit)(n,t,{claimants:r,mode:"literal"})}d(goldenSplit,"goldenSplit");function goldenSpiral(i){const{depth:t,direction:e="br",precision:a="21/13"}=i;if(!Number.isInteger(t)||t<1)throw new Error(`goldenSpiral: depth must be a positive integer, got ${t}`);if(t>10)throw new Error(`goldenSpiral: depth ${t} produces an impractically long DSL (limit 10)`);const s="col",c={tl:{dominantFirstStart:!1,clockwise:!0},tr:{dominantFirstStart:!0,clockwise:!1},bl:{dominantFirstStart:!1,clockwise:!1},br:{dominantFirstStart:!0,clockwise:!0}},{dominantFirstStart:o,clockwise:l}=c[e];let n="F";for(let r=t-1;r>=0;r--){const p=r%2===0==(s==="col")?"col":"row",u=r%2===0?o:l?!o:o;n=goldenSplit({axis:p,dominantFirst:u,precision:a,largeClaimant:"F",smallClaimant:n})}return n}d(goldenSpiral,"goldenSpiral");const PHI=1.618033988749895;function goldenRect(i){const{rootW:t,rootH:e,orientation:a="auto",hAlign:s="center",vAlign:c="center"}=i;if(!Number.isInteger(t)||t<1)throw new Error("goldenRect: rootW must be a positive integer");if(!Number.isInteger(e)||e<1)throw new Error("goldenRect: rootH must be a positive integer");const o=t/e,l=a==="landscape"?!0:a==="portrait"?!1:o>=1;let n,r;return l?t/e>=PHI?(r=e,n=Math.round(e*PHI)):(n=t,r=Math.round(t/PHI)):e/t>=PHI?(n=t,r=Math.round(t*PHI)):(r=e,n=Math.round(e/PHI)),n=Math.min(n,t),r=Math.min(r,e),{...(0,placeRect_1.placeRect)({rootW:t,rootH:e,rectW:n,rectH:r,hAlign:s,vAlign:c}),landscape:l}}d(goldenRect,"goldenRect");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var H=Object.defineProperty;var f=(t,e)=>H(t,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.grid=grid;const equalSplit_1=require("./equalSplit"),strip_1=require("./strip"),MIN_PX_PER_WEIGHT=4,DEFAULT_CELL_WEIGHT=50;function grid(t){const{rows:e,cols:l,gutter:s,outerGutters:i=!1}=t,n=s!=null&&s>0;if(!n&&!i&&t.cellWeightBase==null&&t.outputWidth==null&&t.outputHeight==null){const o=(0,equalSplit_1.equalSplit)(l,"col"),a=e===1?o:(0,equalSplit_1.equalSplit)(e,"row",o),d=[];for(let g=0;g<e*l;g++)d.push(g);return{m0:a,order:d,totalX:l,totalY:e,cellW:1,cellH:1,gutterW:0}}const h=n?i?l+1:l-1:0,W=n?i?e+1:e-1:0;let u;if(t.cellWeightBase!=null)u=t.cellWeightBase;else if(t.outputWidth!=null&&t.outputWidth>0){const o=Math.floor(t.outputWidth/MIN_PX_PER_WEIGHT);u=Math.max(2,Math.min(DEFAULT_CELL_WEIGHT,Math.floor((o-(n?h:0))/l)))}else u=DEFAULT_CELL_WEIGHT;const r=n?Math.max(1,Math.round(u*s)):0;let c=u;if(t.outputWidth!=null&&t.outputHeight!=null&&t.outputWidth>0&&t.outputHeight>0){const a=(l*u+h*r)*t.outputHeight/t.outputWidth;c=Math.max(1,Math.round((a-W*r)/e))}const x=l*u+h*r,M=e*c+W*r,_=(0,strip_1.strip)(l,"col",{cellWeight:u,gutterWeight:r,outerGutters:i}),m=(0,strip_1.strip)(e,"row",{cellWeight:c,gutterWeight:r,outerGutters:i,claimant:_}),p=[];for(let o=0;o<e*l;o++)p.push(o);return{m0:m,order:p,totalX:x,totalY:M,cellW:u,cellH:c,gutterW:r}}f(grid,"grid");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var n=Object.defineProperty;var e=(t,r)=>n(t,"name",{value:r,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.formatTick=exports.categoryCenters=exports.project=exports.linearScale=exports.niceNum=exports.compactLossless=exports.bakeInsets=exports.rebuildRects=exports.compactDocument=exports.goldenRect=exports.goldenSpiral=exports.goldenSplit=exports.snapGridEnumerate=exports.snapGridFind=exports.snapGridFit=exports.rankedList=exports.comparison=exports.spotlight=exports.safeCanvas=exports.aspectSafeGrid=exports.placeInsetRects=exports.placeOptimizedRects=exports.snapRectPrecision=exports.placeRects=exports.placeRect=exports.aspectFit=exports.strip=exports.grid=exports.container=exports.weightedSplit=exports.weightedTokens=exports.equalSplit=void 0;var equalSplit_1=require("./equalSplit");Object.defineProperty(exports,"equalSplit",{enumerable:!0,get:e(function(){return equalSplit_1.equalSplit},"get")});var weightedTokens_1=require("./weightedTokens");Object.defineProperty(exports,"weightedTokens",{enumerable:!0,get:e(function(){return weightedTokens_1.weightedTokens},"get")});var weightedSplit_1=require("./weightedSplit");Object.defineProperty(exports,"weightedSplit",{enumerable:!0,get:e(function(){return weightedSplit_1.weightedSplit},"get")});var container_1=require("./container");Object.defineProperty(exports,"container",{enumerable:!0,get:e(function(){return container_1.container},"get")});var grid_1=require("./grid");Object.defineProperty(exports,"grid",{enumerable:!0,get:e(function(){return grid_1.grid},"get")});var strip_1=require("./strip");Object.defineProperty(exports,"strip",{enumerable:!0,get:e(function(){return strip_1.strip},"get")});var aspectFit_1=require("./aspectFit");Object.defineProperty(exports,"aspectFit",{enumerable:!0,get:e(function(){return aspectFit_1.aspectFit},"get")});var placeRect_1=require("./placeRect");Object.defineProperty(exports,"placeRect",{enumerable:!0,get:e(function(){return placeRect_1.placeRect},"get")});var placeRects_1=require("./placeRects");Object.defineProperty(exports,"placeRects",{enumerable:!0,get:e(function(){return placeRects_1.placeRects},"get")});var snapRectPrecision_1=require("./snapRectPrecision");Object.defineProperty(exports,"snapRectPrecision",{enumerable:!0,get:e(function(){return snapRectPrecision_1.snapRectPrecision},"get")});var placeOptimizedRects_1=require("./placeOptimizedRects");Object.defineProperty(exports,"placeOptimizedRects",{enumerable:!0,get:e(function(){return placeOptimizedRects_1.placeOptimizedRects},"get")});var placeInsetRects_1=require("./placeInsetRects");Object.defineProperty(exports,"placeInsetRects",{enumerable:!0,get:e(function(){return placeInsetRects_1.placeInsetRects},"get")});var aspectSafeGrid_1=require("./aspectSafeGrid");Object.defineProperty(exports,"aspectSafeGrid",{enumerable:!0,get:e(function(){return aspectSafeGrid_1.aspectSafeGrid},"get")});var safeCanvas_1=require("./safeCanvas");Object.defineProperty(exports,"safeCanvas",{enumerable:!0,get:e(function(){return safeCanvas_1.safeCanvas},"get")});var spotlight_1=require("./spotlight");Object.defineProperty(exports,"spotlight",{enumerable:!0,get:e(function(){return spotlight_1.spotlight},"get")});var comparison_1=require("./comparison");Object.defineProperty(exports,"comparison",{enumerable:!0,get:e(function(){return comparison_1.comparison},"get")});var rankedList_1=require("./rankedList");Object.defineProperty(exports,"rankedList",{enumerable:!0,get:e(function(){return rankedList_1.rankedList},"get")});var snapGrid_1=require("./snapGrid");Object.defineProperty(exports,"snapGridFit",{enumerable:!0,get:e(function(){return snapGrid_1.snapGridFit},"get")}),Object.defineProperty(exports,"snapGridFind",{enumerable:!0,get:e(function(){return snapGrid_1.snapGridFind},"get")}),Object.defineProperty(exports,"snapGridEnumerate",{enumerable:!0,get:e(function(){return snapGrid_1.snapGridEnumerate},"get")});var golden_1=require("./golden");Object.defineProperty(exports,"goldenSplit",{enumerable:!0,get:e(function(){return golden_1.goldenSplit},"get")}),Object.defineProperty(exports,"goldenSpiral",{enumerable:!0,get:e(function(){return golden_1.goldenSpiral},"get")}),Object.defineProperty(exports,"goldenRect",{enumerable:!0,get:e(function(){return golden_1.goldenRect},"get")});var compactDocument_1=require("./compactDocument");Object.defineProperty(exports,"compactDocument",{enumerable:!0,get:e(function(){return compactDocument_1.compactDocument},"get")});var rebuildRects_1=require("./rebuildRects");Object.defineProperty(exports,"rebuildRects",{enumerable:!0,get:e(function(){return rebuildRects_1.rebuildRects},"get")});var bakeInsets_1=require("./bakeInsets");Object.defineProperty(exports,"bakeInsets",{enumerable:!0,get:e(function(){return bakeInsets_1.bakeInsets},"get")});var compactLossless_1=require("./compactLossless");Object.defineProperty(exports,"compactLossless",{enumerable:!0,get:e(function(){return compactLossless_1.compactLossless},"get")});var scale_1=require("./scale");Object.defineProperty(exports,"niceNum",{enumerable:!0,get:e(function(){return scale_1.niceNum},"get")}),Object.defineProperty(exports,"linearScale",{enumerable:!0,get:e(function(){return scale_1.linearScale},"get")}),Object.defineProperty(exports,"project",{enumerable:!0,get:e(function(){return scale_1.project},"get")}),Object.defineProperty(exports,"categoryCenters",{enumerable:!0,get:e(function(){return scale_1.categoryCenters},"get")}),Object.defineProperty(exports,"formatTick",{enumerable:!0,get:e(function(){return scale_1.formatTick},"get")});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var I=Object.defineProperty;var u=(r,i)=>I(r,"name",{value:i,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.placeInsetRects=placeInsetRects;const placeRects_1=require("./placeRects");function divisorsAsc(r){const i=new Set;for(let s=1;s*s<=r;s++)r%s===0&&(i.add(s),i.add(r/s));return[...i].sort((s,o)=>s-o)}u(divisorsAsc,"divisorsAsc");const INSET_CAP=.49;function fillOk(r,i,s){for(const o of i){const h=Math.floor(o.start/r)*r,a=Math.ceil((o.start+o.size)/r)*r;if(o.size/(a-h)<s)return!1}return!0}u(fillOk,"fillOk");function insetFracOk(r,i){for(const s of i){const o=Math.floor(s.start/r)*r,h=Math.ceil((s.start+s.size)/r)*r,a=h-o,l=s.start-o,p=h-(s.start+s.size);if(l>0&&(l+.5)/a>INSET_CAP||p>0&&(p+.5)/a>INSET_CAP)return!1}return!0}u(insetFracOk,"insetFracOk");function pickPitch(r,i,s,o){const h=divisorsAsc(r),a=r/i,l=u(c=>fillOk(c,o,s)&&insetFracOk(c,o),"usable");for(const c of h)if(!(c<a)&&l(c))return{pitch:c,clamped:!1};const p=h.filter(c=>c<a);for(let c=p.length-1;c>=0;c--)if(l(p[c]))return{pitch:p[c],clamped:!0};return{pitch:1,clamped:!0}}u(pickPitch,"pickPitch");const halfPixelFrac=u((r,i)=>r===0?0:(r+.5)/i,"halfPixelFrac");function placeInsetRects(r){const{rootW:i,rootH:s,rects:o,emptyToken:h,basis:a=120,minFill:l=.5,onHostile:p="throw"}=r;if(!Number.isInteger(i)||i<1)throw new Error(`placeInsetRects: rootW must be a positive integer, got ${i}`);if(!Number.isInteger(s)||s<1)throw new Error(`placeInsetRects: rootH must be a positive integer, got ${s}`);if(o.length===0)throw new Error("placeInsetRects: rects must be non-empty.");for(let t=0;t<o.length;t++){const e=o[t];if(!Number.isInteger(e.x)||e.x<0)throw new Error(`placeInsetRects: rects[${t}].x must be a non-negative integer, got ${e.x}`);if(!Number.isInteger(e.y)||e.y<0)throw new Error(`placeInsetRects: rects[${t}].y must be a non-negative integer, got ${e.y}`);if(!Number.isInteger(e.w)||e.w<1)throw new Error(`placeInsetRects: rects[${t}].w must be a positive integer, got ${e.w}`);if(!Number.isInteger(e.h)||e.h<1)throw new Error(`placeInsetRects: rects[${t}].h must be a positive integer, got ${e.h}`);if(e.x+e.w>i)throw new Error(`placeInsetRects: rects[${t}] (x=${e.x}, w=${e.w}) overflows rootW=${i}`);if(e.y+e.h>s)throw new Error(`placeInsetRects: rects[${t}] (y=${e.y}, h=${e.h}) overflows rootH=${s}`)}if(!(a>=1))throw new Error(`placeInsetRects: basis must be \u2265 1, got ${a}`);if(!(l>0&&l<=1))throw new Error(`placeInsetRects: minFill must be in (0, 1], got ${l}`);const c=pickPitch(i,a,l,o.map(t=>({start:t.x,size:t.w}))),f=pickPitch(s,a,l,o.map(t=>({start:t.y,size:t.h}))),b={x:!1,y:!1};for(const[t,e,n]of[["x",i,c],["y",s,f]])if(n.pitch===1&&e>a){if(p==="exact"){b[t]=!0;continue}throw new Error(`placeInsetRects: axis ${t} (${e}px) has no usable divisor pitch for basis ${a} with minFill ${l} \u2014 the emit would be ~100% precision. Escapes: build in a self-framed P-divisible frame (handbook feasibility-precision-quantization.md \xA73c, fix six), accept drift via placeOptimizedRects, raise basis / lower minFill, or pass onHostile: "exact" (runtime templates: render exactly and report it).`)}const x=o.map(t=>{const e=Math.floor(t.x/c.pitch)*c.pitch,n=Math.floor(t.y/f.pitch)*f.pitch,m=Math.ceil((t.x+t.w)/c.pitch)*c.pitch-e,w=Math.ceil((t.y+t.h)/f.pitch)*f.pitch-n;return{x:e,y:n,w:m,h:w}}),d=(0,placeRects_1.placeRects)({rootW:i,rootH:s,rects:x.map((t,e)=>({...t,claimant:o[e].claimant,importance:o[e].importance})),emptyToken:h}),$=o.map((t,e)=>{const n=x[e],m=t.x-n.x,w=n.x+n.w-(t.x+t.w),y=t.y-n.y,g=n.y+n.h-(t.y+t.h);return m===0&&w===0&&y===0&&g===0?null:{top:halfPixelFrac(y,n.h),right:halfPixelFrac(w,n.w),bottom:halfPixelFrac(g,n.h),left:halfPixelFrac(m,n.w)}});return{m0:d.m0,layers:d.layers,insets:$,cells:x,pitch:{x:c.pitch,y:f.pitch},basis:{x:i/c.pitch,y:s/f.pitch},clamped:{x:c.clamped,y:f.clamped},hostile:b}}u(placeInsetRects,"placeInsetRects");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var R=Object.defineProperty;var g=(n,r)=>R(n,"name",{value:r,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.placeOptimizedRects=placeOptimizedRects;const placeRects_1=require("./placeRects"),barSplit_1=require("./_internal/barSplit");function divisorsDesc(n){const r=new Set;for(let s=1;s*s<=n;s++)n%s===0&&(r.add(s),r.add(n/s));return[...r].sort((s,i)=>i-s)}g(divisorsDesc,"divisorsDesc");const snapMult=g((n,r)=>Math.round(n/r)*r,"snapMult");function snapAxis(n,r){const s=[0,n];for(const o of r)o.budget===0&&s.push(o.start,o.start+o.size);const i=(0,barSplit_1.gcdOfArray)(s);for(const o of divisorsDesc(i)){let f=!0;const d=[];for(const a of r){const h=a.start,p=a.start+a.size,c=a.budget===0?h:snapMult(h,o),u=a.budget===0?p:snapMult(p,o);if(a.budget!==0&&(Math.abs(c-h)>a.budget||Math.abs(u-p)>a.budget)){f=!1;break}if(u-c<1||c<0||u>n){f=!1;break}d.push({start:c,size:u-c,drift:Math.abs(c-h)+Math.abs(u-p)})}if(f)return{pitch:o,out:d}}return{pitch:1,out:r.map(o=>({start:o.start,size:o.size,drift:0}))}}g(snapAxis,"snapAxis");function placeOptimizedRects(n){const{rootW:r,rootH:s,rects:i,emptyToken:o,driftPercent:f=0,driftPx:d}=n;if(!Number.isInteger(r)||r<1)throw new Error(`placeOptimizedRects: rootW must be a positive integer, got ${r}`);if(!Number.isInteger(s)||s<1)throw new Error(`placeOptimizedRects: rootH must be a positive integer, got ${s}`);if(i.length===0)throw new Error("placeOptimizedRects: rects must be non-empty.");for(let e=0;e<i.length;e++){const t=i[e];if(!Number.isInteger(t.x)||t.x<0)throw new Error(`placeOptimizedRects: rects[${e}].x must be a non-negative integer, got ${t.x}`);if(!Number.isInteger(t.y)||t.y<0)throw new Error(`placeOptimizedRects: rects[${e}].y must be a non-negative integer, got ${t.y}`);if(!Number.isInteger(t.w)||t.w<1)throw new Error(`placeOptimizedRects: rects[${e}].w must be a positive integer, got ${t.w}`);if(!Number.isInteger(t.h)||t.h<1)throw new Error(`placeOptimizedRects: rects[${e}].h must be a positive integer, got ${t.h}`);if(t.x+t.w>r)throw new Error(`placeOptimizedRects: rects[${e}] (x=${t.x}, w=${t.w}) overflows rootW=${r}`);if(t.y+t.h>s)throw new Error(`placeOptimizedRects: rects[${e}] (y=${t.y}, h=${t.h}) overflows rootH=${s}`);if(t.driftPx!==void 0&&(!Number.isInteger(t.driftPx)||t.driftPx<0))throw new Error(`placeOptimizedRects: rects[${e}].driftPx must be a non-negative integer, got ${t.driftPx}`)}if(f<0)throw new Error(`placeOptimizedRects: driftPercent must be non-negative, got ${f}`);if(d!==void 0&&(!Number.isInteger(d)||d<0))throw new Error(`placeOptimizedRects: driftPx must be a non-negative integer, got ${d}`);const a=d!==void 0?d:Math.round(f/100*Math.min(r,s)),h=g(e=>e.driftPx!==void 0?e.driftPx:a,"budgetOf"),p=snapAxis(r,i.map(e=>({start:e.x,size:e.w,budget:h(e)}))),c=snapAxis(s,i.map(e=>({start:e.y,size:e.h,budget:h(e)}))),u=i.map((e,t)=>({x:p.out[t].start,y:c.out[t].start,w:p.out[t].size,h:c.out[t].size,claimant:e.claimant,importance:e.importance})),l=(0,placeRects_1.placeRects)({rootW:r,rootH:s,rects:u,emptyToken:o});let m=0,b=0;const $=u.map((e,t)=>{const w=Math.abs(e.x-i[t].x),x=Math.abs(e.y-i[t].y),y=Math.abs(e.w-i[t].w),z=Math.abs(e.h-i[t].h);return m=Math.max(m,w,x,y,z),b+=w+x+y+z,{x:e.x,y:e.y,w:e.w,h:e.h}});return{m0:l.m0,layers:l.layers,rects:$,pitch:{x:p.pitch,y:c.pitch},basis:{x:r/p.pitch,y:s/c.pitch},driftMaxPx:m,driftTotalPx:b}}g(placeOptimizedRects,"placeOptimizedRects");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var W=Object.defineProperty;var d=(h,r)=>W(h,"name",{value:r,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.placeRect=placeRect;const container_1=require("./container"),barSplit_1=require("./_internal/barSplit");function placeRect(h){const{rootW:r,rootH:n,rectW:e,rectH:t,x:o,y:i,hAlign:$="center",vAlign:R="center"}=h;if(!Number.isInteger(r)||r<1)throw new Error(`placeRect: rootW must be a positive integer, got ${r}`);if(!Number.isInteger(n)||n<1)throw new Error(`placeRect: rootH must be a positive integer, got ${n}`);if(!Number.isInteger(e)||e<1)throw new Error(`placeRect: rectW must be a positive integer, got ${e}`);if(!Number.isInteger(t)||t<1)throw new Error(`placeRect: rectH must be a positive integer, got ${t}`);if(e>r)throw new Error(`placeRect: rectW (${e}) must be <= rootW (${r})`);if(t>n)throw new Error(`placeRect: rectH (${t}) must be <= rootH (${n})`);if(o!==void 0){if(!Number.isInteger(o)||o<0)throw new Error(`placeRect: x must be a non-negative integer, got ${o}`);if(o+e>r)throw new Error(`placeRect: x (${o}) + rectW (${e}) must be <= rootW (${r})`)}if(i!==void 0){if(!Number.isInteger(i)||i<0)throw new Error(`placeRect: y must be a non-negative integer, got ${i}`);if(i+t>n)throw new Error(`placeRect: y (${i}) + rectH (${t}) must be <= rootH (${n})`)}const b=r-e;let c,l;if(o!==void 0)c=o,l=b-o;else switch($){case"left":c=0,l=b;break;case"right":c=b,l=0;break;case"center":default:c=Math.floor(b/2),l=b-c;break}const g=n-t;let a,u;if(i!==void 0)a=i,u=g-i;else switch(R){case"top":a=0,u=g;break;case"bottom":a=g,u=0;break;case"center":default:a=Math.floor(g/2),u=g-a;break}const w=c>0||l>0,m=a>0||u>0;let f,p=0;if(!w&&!m)f=(0,container_1.container)(["1"],"col");else if(w)if(m){const s=(0,barSplit_1.buildNestedSplit)(a,u,c,l,e,t);f=s.m0,p=s.totalWeight}else{const s=(0,barSplit_1.buildSingleAxisSplit)(c,e,l,"col");f=s.m0,p=s.totalWeight}else{const s=(0,barSplit_1.buildSingleAxisSplit)(a,t,u,"row");f=s.m0,p=s.totalWeight}return{m0:f,rectW:e,rectH:t,totalWeight:p}}d(placeRect,"placeRect");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var m=Object.defineProperty;var p=(e,n)=>m(e,"name",{value:n,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.placeRects=placeRects,exports.rectsOverlap=rectsOverlap,exports.rectsConflict=rectsConflict;const toM0String_1=require("../constructors/toM0String"),weightedTokens_1=require("./weightedTokens"),barSplit_1=require("./_internal/barSplit");function placeRects(e){const{rootW:n,rootH:i,rects:a,emptyToken:c="-"}=e;if(!Number.isInteger(n)||n<1)throw new Error(`placeRects: rootW must be a positive integer, got ${n}`);if(!Number.isInteger(i)||i<1)throw new Error(`placeRects: rootH must be a positive integer, got ${i}`);for(let t=0;t<a.length;t++){const o=a[t];if(!Number.isInteger(o.x)||o.x<0)throw new Error(`placeRects: rects[${t}].x must be a non-negative integer, got ${o.x}`);if(!Number.isInteger(o.y)||o.y<0)throw new Error(`placeRects: rects[${t}].y must be a non-negative integer, got ${o.y}`);if(!Number.isInteger(o.w)||o.w<1)throw new Error(`placeRects: rects[${t}].w must be a positive integer, got ${o.w}`);if(!Number.isInteger(o.h)||o.h<1)throw new Error(`placeRects: rects[${t}].h must be a positive integer, got ${o.h}`);if(o.x+o.w>n)throw new Error(`placeRects: rects[${t}] (x=${o.x}, w=${o.w}) overflows rootW=${n}`);if(o.y+o.h>i)throw new Error(`placeRects: rects[${t}] (y=${o.y}, h=${o.h}) overflows rootH=${i}`);if(o.importance!==void 0&&!Number.isFinite(o.importance))throw new Error(`placeRects: rects[${t}].importance must be a finite number, got ${o.importance}`)}if(a.length===0)throw new Error("placeRects: rects must be non-empty. Callers should guard the empty case themselves (no overlay needed when there's nothing to place).");const u=packIntoLayers(a).map(t=>{const o=t.map(g=>a[g]),f=buildLayerExpression(o,n,i,c);return{rectIndices:t,m0:f}});let r="";for(let t=u.length-1;t>=0;t--)r=r?`${String(u[t].m0)}{${r}}`:String(u[t].m0);return{m0:a.some(t=>claimantHasPaint(t.claimant??"F"))?(0,toM0String_1.toM0String)(r,"placeRects"):r,layers:u}}p(placeRects,"placeRects");function rectsOverlap(e,n){return e.x<n.x+n.w&&n.x<e.x+e.w&&e.y<n.y+n.h&&n.y<e.y+e.h}p(rectsOverlap,"rectsOverlap");function yBoundarySubdivides(e,n){const i=e.y,a=e.y+e.h,c=n.y,s=n.y+n.h;return i>c&&i<s||a>c&&a<s}p(yBoundarySubdivides,"yBoundarySubdivides");function rectsConflict(e,n){return rectsOverlap(e,n)||yBoundarySubdivides(e,n)||yBoundarySubdivides(n,e)}p(rectsConflict,"rectsConflict");function packIntoLayers(e){const n=new Map;for(let c=0;c<e.length;c++){const s=e[c].importance??0,u=n.get(s);u?u.push(c):n.set(s,[c])}const i=[...n.keys()].sort((c,s)=>c-s),a=[];for(const c of i){const s=[];for(const u of n.get(c)){let r=!1;for(const h of s)if(h.every(l=>!rectsConflict(e[u],e[l]))){h.push(u),r=!0;break}r||s.push([u])}a.push(...s)}return a}p(packIntoLayers,"packIntoLayers");function buildLayerExpression(e,n,i,a){const c=new Set([0,i]);for(const r of e)c.add(r.y),c.add(r.y+r.h);const s=Array.from(c).sort((r,h)=>r-h),u=[];for(let r=0;r<s.length-1;r++){const h=s[r],l=s[r+1],t=l-h;if(t===0)continue;const o=e.filter(f=>f.y<=h&&f.y+f.h>=l);if(o.length===0)u.push({height:t,content:a});else{const f=buildHorizontalRowExpression(o,n,a);u.push({height:t,content:f})}}return buildOuterColumn(u,"row")}p(buildLayerExpression,"buildLayerExpression");function buildHorizontalRowExpression(e,n,i){const a=[...e].sort((t,o)=>t.x-o.x),c=[];let s=0;for(const t of a)t.x>s&&c.push({width:t.x-s,claimant:i}),c.push({width:t.w,claimant:t.claimant??"F"}),s=t.x+t.w;s<n&&c.push({width:n-s,claimant:i});const u=c.map(t=>t.width),r=(0,barSplit_1.gcdOfArray)(u),h=u.map(t=>t/r),l=[];for(let t=0;t<c.length;t++)l.push(...(0,weightedTokens_1.weightedTokens)(h[t],c[t].claimant));return l.length===1?l[0]:`${l.length}(${l.join(",")})`}p(buildHorizontalRowExpression,"buildHorizontalRowExpression");function buildOuterColumn(e,n){const i=e.map(r=>r.height),a=(0,barSplit_1.gcdOfArray)(i),c=i.map(r=>r/a),s=[];for(let r=0;r<e.length;r++)s.push(...(0,weightedTokens_1.weightedTokens)(c[r],e[r].content));return s.length===1?s[0]:`${s.length}[${s.join(",")}]`}p(buildOuterColumn,"buildOuterColumn");function claimantHasPaint(e){return e.indexOf("F")!==-1?!0:/(?<![0-9])1(?![0-9])/.test(e)}p(claimantHasPaint,"claimantHasPaint");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var o=Object.defineProperty;var s=(t,e)=>o(t,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.rankedList=rankedList;const weightedSplit_1=require("./weightedSplit");function computeWeights(t,e){const i=[];for(let r=0;r<t;r++)switch(e){case"steep":i.push(Math.max(1,Math.round(100*Math.pow(.6,r))));break;case"gentle":i.push(Math.max(1,100-Math.round(r*(60/t))));break;case"linear":default:i.push(t-r);break}return i}s(computeWeights,"computeWeights");function rankedList(t={}){const{count:e=3,decay:i="linear",direction:r="vertical",gutter:u=0}=t;if(!Number.isInteger(e)||e<2||e>10)throw new Error("rankedList: count must be 2\u201310");const a=computeWeights(e,i),n=r==="vertical"?"row":"col";return{m0:(0,weightedSplit_1.weightedSplit)(a,n),tileCount:e,weights:a}}s(rankedList,"rankedList");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var K=Object.defineProperty;var y=(o,s)=>K(o,"name",{value:s,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.rebuildRects=rebuildRects;const packLeafRects_1=require("./_internal/packLeafRects"),queryFrames_1=require("../queries/queryFrames"),getLayerCount_1=require("../queries/getLayerCount"),output_1=require("../transforms/_internal/output");function rebuildRects(o){const{width:s,height:i}=o;if(!Number.isInteger(s)||s<1)throw new Error(`rebuildRects: width must be a positive integer, got ${s}`);if(!Number.isInteger(i)||i<1)throw new Error(`rebuildRects: height must be a positive integer, got ${i}`);const h=(0,output_1.validateInputOrThrow)("rebuildRects",o.m0),R=o.reduceSplits??!0,$={width:s,height:i},w=(0,queryFrames_1.queryFrames)(h,$),a=w.render();if(a.length===0)throw new Error("rebuildRects: document has no rendered frames");const b=new Map;for(const r of w.editor().filter(packLeafRects_1.isRenderedLeaf))r.logicalIndex!=null&&b.set(r.logicalIndex,String(r.meta.stableKey));const v=y(r=>b.get(a[r].logicalIndex)??String(a[r].meta.stableKey),"oldEditorKeyOf"),t=a.length,f=new Array(t),l=new Map;for(let r=0;r<t;r++){const e=v(r);if(l.has(e))throw new Error(`rebuildRects: duplicate rendered-leaf stableKey "${e}" \u2014 cannot address rects unambiguously`);f[r]=e,l.set(e,r)}const k=a.map(r=>({x:Math.max(0,Math.round(r.x)),y:Math.max(0,Math.round(r.y)),w:Math.max(1,Math.round(r.width)),h:Math.max(1,Math.round(r.height))})),g=o.overrides??{};for(const[r,e]of Object.entries(g)){if(!l.has(r))throw new Error(`rebuildRects: override references unknown rendered-leaf stableKey "${r}"`);if(![e.x,e.y,e.w,e.h].every(Number.isInteger))throw new Error(`rebuildRects: override for "${r}" must be integer px`);if(e.w<1||e.h<1)throw new Error(`rebuildRects: override for "${r}" must have w/h \u2265 1 (got ${e.w}x${e.h})`);if(e.x<0||e.y<0||e.x+e.w>s||e.y+e.h>i)throw new Error(`rebuildRects: override for "${r}" (${e.x},${e.y},${e.w},${e.h}) is out of bounds for ${s}x${i}`)}let c;if(o.order){if(o.order.length!==t)throw new Error(`rebuildRects: order must be a full permutation of the ${t} rendered-leaf keys (got ${o.order.length})`);const r=new Set;c=new Array(t);for(let e=0;e<t;e++){const n=o.order[e],d=l.get(n);if(d===void 0)throw new Error(`rebuildRects: order references unknown rendered-leaf stableKey "${n}"`);if(r.has(n))throw new Error(`rebuildRects: order repeats stableKey "${n}" \u2014 must be a permutation`);r.add(n),c[e]=d}}else c=Array.from({length:t},(r,e)=>e);const E=c.map(r=>{const e=g[f[r]];return e?{x:e.x,y:e.y,w:e.w,h:e.h}:k[r]}),u=(0,packLeafRects_1.packLeafRects)({rects:E,width:s,height:i,preserveZOrder:!0,reduceSplits:R}),m=[],p=new Array(t),x=new Array(t);for(let r=0;r<t;r++){const e=c[r],n=u.placed[r];p[r]=n.stableKey,x[n.logicalIndex]=e;const d=f[e];d!==n.stableKey&&m.push({from:d,to:n.stableKey})}return{m0:u.m0,rekey:m,liveKeys:p,sourceOrder:x,meta:{layersBefore:(0,getLayerCount_1.getLayerCount)(h)??1,layersAfter:u.layersAfter,frameCount:t,dslLengthBefore:h.length,dslLengthAfter:u.m0.length}}}y(rebuildRects,"rebuildRects");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var l=Object.defineProperty;var g=(s,e)=>l(s,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.safeCanvas=safeCanvas;const grid_1=require("./grid");function safeCanvas(s){const{cols:e,rows:o,gutter:a=0,outerGutters:d=!1,maxWidth:u=1920,maxHeight:c=1080}=s;if(!Number.isInteger(e)||e<1)throw new Error("safeCanvas: cols must be a positive integer");if(!Number.isInteger(o)||o<1)throw new Error("safeCanvas: rows must be a positive integer");const f=(0,grid_1.grid)({rows:o,cols:e,gutter:a>0?a:void 0,outerGutters:d}),{totalX:t,totalY:r}=f,i=Math.floor(u/t),n=Math.floor(c/r);if(i<1||n<1)throw new Error(`safeCanvas: grid total weight (${t}\xD7${r}) exceeds max dimensions (${u}\xD7${c})`);const w=i*t,h=n*r;return{width:w,height:h,totalX:t,totalY:r,ppwX:i,ppwY:n,gridResult:f}}g(safeCanvas,"safeCanvas");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var d=Object.defineProperty;var s=(n,e)=>d(n,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.niceNum=niceNum,exports.linearScale=linearScale,exports.project=project,exports.categoryCenters=categoryCenters,exports.formatTick=formatTick;function niceNum(n,e=[1,2,5]){const t=Math.pow(10,Math.floor(Math.log10(n))),c=n/t;return(e.find(r=>c<=r)??10)*t}s(niceNum,"niceNum");function linearScale(n,e,t={}){const c=t.beginAtZero??!0,a=Math.max(2,t.maxTicks??11);let r=t.min??n,i=t.max??e;c&&(r>0&&(r=0),i<0&&(i=0)),i===r&&(i=r+1);const f=a-1;let o=niceNum((i-r)/f);const u=Math.ceil(i/o)-Math.floor(r/o);u>f&&(o=niceNum(u*o/f));const l=t.min??Math.floor(r/o)*o,h=t.max??Math.ceil(i/o)*o,g=[],x=decimalPlaces(o),M=o*1e-6;for(let m=l;m<=h+M;m+=o)g.push(round(m,x));return{min:l,max:h,step:o,ticks:g}}s(linearScale,"linearScale");function project(n,e,t,c,a){const r=t-e,i=r===0?0:(n-e)/r;return c+i*(a-c)}s(project,"project");function categoryCenters(n,e,t,c=!1){if(n<=0)return[];if(n===1)return[(e+t)/2];const a=t-e;if(c){const r=a/n;return Array.from({length:n},(i,f)=>e+r*(f+.5))}return Array.from({length:n},(r,i)=>e+a*i/(n-1))}s(categoryCenters,"categoryCenters");function formatTick(n){return Number.isInteger(n)?n.toLocaleString("en-US"):n.toLocaleString("en-US",{maximumFractionDigits:3})}s(formatTick,"formatTick");function decimalPlaces(n){if(!Number.isFinite(n)||n===0)return 0;const e=String(n),t=e.indexOf(".");return t<0?0:e.length-t-1}s(decimalPlaces,"decimalPlaces");function round(n,e){const t=Math.pow(10,e);return Math.round(n*t)/t}s(round,"round");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var H=Object.defineProperty;var f=(e,t)=>H(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.snapGridFit=snapGridFit,exports.snapGridEnumerate=snapGridEnumerate,exports.snapGridFind=snapGridFind;const grid_1=require("./grid"),placeRect_1=require("./placeRect"),safeCanvas_1=require("./safeCanvas"),replace_1=require("../transforms/unified/replace");function snapGridFit(e){const{rootW:t,rootH:o,rows:a,cols:u,gutter:c=0,outerGutters:l=!1,hAlign:d="center",vAlign:h="center"}=e,r=(0,safeCanvas_1.safeCanvas)({rows:a,cols:u,gutter:c>0?c:void 0,outerGutters:l,maxWidth:t,maxHeight:o}),n=(0,grid_1.grid)({rows:a,cols:u,gutter:c>0?c:void 0,outerGutters:l}),i=n.cellW*r.ppwX,s=n.cellH*r.ppwY,g=n.gutterW*r.ppwX,p=n.gutterW*r.ppwY;let w;if(r.width===t&&r.height===o)w=n.m0;else{const W=(0,placeRect_1.placeRect)({rootW:t,rootH:o,rectW:r.width,rectH:r.height,hAlign:d,vAlign:h});w=(0,replace_1.replace)(W.m0,{by:"logicalIndex",index:0},n.m0)}const m=r.width*r.height/(t*o);return{m0:w,rectW:r.width,rectH:r.height,cellW:i,cellH:s,gutterPxX:g,gutterPxY:p,tileCount:a*u,coverage:m}}f(snapGridFit,"snapGridFit");function snapGridEnumerate(e){const{rootW:t,rootH:o,minRows:a=1,maxRows:u=8,minCols:c=1,maxCols:l=8,gutter:d=0,outerGutters:h=!1}=e;if(!Number.isInteger(t)||t<1)throw new Error(`snapGridEnumerate: rootW must be a positive integer, got ${t}`);if(!Number.isInteger(o)||o<1)throw new Error(`snapGridEnumerate: rootH must be a positive integer, got ${o}`);if(a<1||u<a)throw new Error(`snapGridEnumerate: invalid row range [${a}, ${u}]`);if(c<1||l<c)throw new Error(`snapGridEnumerate: invalid col range [${c}, ${l}]`);const r=[];for(let n=a;n<=u;n++)for(let i=c;i<=l;i++)try{const s=(0,safeCanvas_1.safeCanvas)({rows:n,cols:i,gutter:d>0?d:void 0,outerGutters:h,maxWidth:t,maxHeight:o}),g=(0,grid_1.grid)({rows:n,cols:i,gutter:d>0?d:void 0,outerGutters:h}),p=g.cellW*s.ppwX,w=g.cellH*s.ppwY,m=g.gutterW*s.ppwX,W=g.gutterW*s.ppwY,x=s.width*s.height/(t*o),G=n*i;r.push({rows:n,cols:i,rectW:s.width,rectH:s.height,cellW:p,cellH:w,gutterPxX:m,gutterPxY:W,tileCount:G,coverage:x,fitScore:x*G})}catch{}return r.sort((n,i)=>i.fitScore-n.fitScore)}f(snapGridEnumerate,"snapGridEnumerate");function snapGridFind(e){const t=snapGridEnumerate(e);if(t.length===0)throw new Error(`snapGridFind: no grid fits inside ${e.rootW}\xD7${e.rootH} for rows \u2208 [${e.minRows??1}, ${e.maxRows??8}], cols \u2208 [${e.minCols??1}, ${e.maxCols??8}], gutter ${e.gutter??0}`);const o=t[0];return snapGridFit({rootW:e.rootW,rootH:e.rootH,rows:o.rows,cols:o.cols,gutter:e.gutter,outerGutters:e.outerGutters,hAlign:e.hAlign,vAlign:e.vAlign})}f(snapGridFind,"snapGridFind");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Y=Object.defineProperty;var h=(i,r)=>Y(i,"name",{value:r,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.snapRectPrecision=snapRectPrecision;const placeRect_1=require("./placeRect"),barSplit_1=require("./_internal/barSplit");function axisFrontier(i,r,o,s,n,f){const a=[],H=n?-s:0,R=n?s:0,u=f?-s:0,x=f?s:0;for(let c=H;c<=R;c++)for(let p=u;p<=x;p++){const b=r+c,P=o+p,w=i-b-P;if(b<0||P<1||w<0)continue;const $=(0,barSplit_1.gcdOfArray)([b,P,w]);a.push({pos:b,size:P,basis:i/$,delta:Math.abs(c)+Math.abs(p)})}a.sort((c,p)=>c.delta-p.delta||c.basis-p.basis);const l=[];let d=1/0;for(const c of a)c.basis<d&&(l.push(c),d=c.basis);return l}h(axisFrontier,"axisFrontier");function resolvePos(i,r,o,s){if(o!==void 0)return o;const n=i-r;return s==="start"?0:s==="end"?n:Math.floor(n/2)}h(resolvePos,"resolvePos");const round1=h(i=>Math.round(i*10)/10,"round1");function snapRectPrecision(i){const{rootW:r,rootH:o,rectW:s,rectH:n,x:f,y:a,hAlign:H="center",vAlign:R="center",maxDeltaPx:u=8,maxPrecisionPct:x,nudge:l}=i,d=h((t,e)=>{if(!Number.isInteger(t)||t<1)throw new Error(`snapRectPrecision: ${e} must be a positive integer, got ${t}`)},"posInt");if(d(r,"rootW"),d(o,"rootH"),d(s,"rectW"),d(n,"rectH"),s>r)throw new Error(`snapRectPrecision: rectW (${s}) must be <= rootW (${r})`);if(n>o)throw new Error(`snapRectPrecision: rectH (${n}) must be <= rootH (${o})`);if(!Number.isInteger(u)||u<0)throw new Error(`snapRectPrecision: maxDeltaPx must be a non-negative integer, got ${u}`);if(f!==void 0&&(!Number.isInteger(f)||f<0||f+s>r))throw new Error(`snapRectPrecision: x (${f}) out of range for rectW ${s} in rootW ${r}`);if(a!==void 0&&(!Number.isInteger(a)||a<0||a+n>o))throw new Error(`snapRectPrecision: y (${a}) out of range for rectH ${n} in rootH ${o}`);const c={left:"start",center:"center",right:"end"},p={top:"start",center:"center",bottom:"end"},b=resolvePos(r,s,f,c[H]),P=resolvePos(o,n,a,p[R]),w=axisFrontier(r,b,s,u,l?.x!==!1,l?.w!==!1),$=axisFrontier(o,P,n,u,l?.y!==!1,l?.h!==!1),M=h((t,e)=>{const g=t.size,W=e.size,_=t.basis/r*100,N=e.basis/o*100;return{rect:{x:t.pos,y:e.pos,w:g,h:W},precisionPct:round1(Math.max(_,N)),precisionPctX:round1(_),precisionPctY:round1(N),basisX:t.basis,basisY:e.basis,deltaPx:{x:t.pos-b,y:e.pos-P,w:g-s,h:W-n},totalDeltaPx:t.delta+e.delta,m0:(0,placeRect_1.placeRect)({rootW:r,rootH:o,rectW:g,rectH:W,x:t.pos,y:e.pos}).m0}},"make"),m=[];for(const t of w)for(const e of $){const g=M(t,e);m.push({c:g,rawPrec:Math.max(t.basis/r*100,e.basis/o*100)})}m.sort((t,e)=>t.c.totalDeltaPx-e.c.totalDeltaPx||t.rawPrec-e.rawPrec);const X=M(w[0],$[0]),y=[];let I=1/0;for(const{c:t,rawPrec:e}of m)e<I-1e-9&&(y.push(t),I=e);let E=null;if(x!==void 0){for(const{c:t,rawPrec:e}of m)if(e<=x+1e-9){E=t;break}}return{exact:X,frontier:y,best:E}}h(snapRectPrecision,"snapRectPrecision");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var x=Object.defineProperty;var b=(a,s)=>x(a,"name",{value:s,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.spotlight=spotlight;const weightedSplit_1=require("./weightedSplit"),strip_1=require("./strip"),DEFAULT_CELL=50;function spotlight(a={}){const{supportCount:s=3,arrangement:f="bottom",heroWeight:w=2,gutter:C=0}=a;if(!Number.isInteger(s)||s<1||s>8)throw new Error("spotlight: supportCount must be 1\u20138");if(w<1||w>4)throw new Error("spotlight: heroWeight must be 1\u20134");const i=DEFAULT_CELL,p=C>0,e=p?Math.max(1,Math.round(i*C)):0,l=Math.max(1,Math.round(w*i)),c=i,d=1+s,S=(0,strip_1.strip)(s,f==="bottom"?"col":"row",{cellWeight:i,gutterWeight:e});let n;switch(f){case"bottom":{const o=[l],t=["1"];p&&(o.push(e),t.push("-")),o.push(c),t.push(S),n=(0,weightedSplit_1.weightedSplit)(o,"row",{claimants:t});break}case"right":{const o=(0,strip_1.strip)(s,"row",{cellWeight:i,gutterWeight:e}),t=[l],u=["1"];p&&(t.push(e),u.push("-")),t.push(c),u.push(o),n=(0,weightedSplit_1.weightedSplit)(t,"col",{claimants:u});break}case"l-wrap":{const o=Math.ceil(s/2),t=s-o,u=(0,strip_1.strip)(o,"row",{cellWeight:i,gutterWeight:e}),r=[l],h=["1"];p&&(r.push(e),h.push("-")),r.push(c),h.push(u);const g=(0,weightedSplit_1.weightedSplit)(r,"col",{claimants:h});if(t>0){const M=(0,strip_1.strip)(t,"col",{cellWeight:i,gutterWeight:e}),W=[l],m=[g];p&&(W.push(e),m.push("-")),W.push(c),m.push(M),n=(0,weightedSplit_1.weightedSplit)(W,"row",{claimants:m})}else n=g;break}case"u-wrap":{const o=Math.ceil(s/2),t=s-o,u=(0,strip_1.strip)(o,"row",{cellWeight:i,gutterWeight:e}),r=[c],h=[u];if(p&&(r.push(e),h.push("-")),r.push(l),h.push("1"),t>0){const g=(0,strip_1.strip)(t,"row",{cellWeight:i,gutterWeight:e});p&&(r.push(e),h.push("-")),r.push(c),h.push(g)}n=(0,weightedSplit_1.weightedSplit)(r,"col",{claimants:h});break}}return{m0:n,tileCount:d}}b(spotlight,"spotlight");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var a=Object.defineProperty;var o=(t,u)=>a(t,"name",{value:u,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.strip=strip;const weightedSplit_1=require("./weightedSplit");function strip(t,u,g){if(!Number.isInteger(t)||t<1)throw new Error(`strip: count must be a positive integer, got ${t}`);const{cellWeight:p,gutterWeight:i=0,outerGutters:n=!1,claimant:h="1",mode:l="optimized"}=g;if(!Number.isInteger(p)||p<1)throw new Error(`strip: cellWeight must be a positive integer, got ${p}`);if(!Number.isInteger(i)||i<0)throw new Error(`strip: gutterWeight must be a non-negative integer, got ${i}`);const f=i>0,r=[],s=[];if(f)if(n){r.push(i),s.push("-");for(let e=0;e<t;e++)r.push(p),s.push(h),r.push(i),s.push("-")}else for(let e=0;e<t;e++)e>0&&(r.push(i),s.push("-")),r.push(p),s.push(h);else for(let e=0;e<t;e++)r.push(p),s.push(h);return(0,weightedSplit_1.weightedSplit)(r,u,{claimants:s,mode:l})}o(strip,"strip");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var m=Object.defineProperty;var f=(i,a)=>m(i,"name",{value:a,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.weightedSplit=weightedSplit;const buildSplitFragment_1=require("../transforms/primitives/split/_internal/buildSplitFragment"),weightedTokens_1=require("./weightedTokens"),container_1=require("./container");function weightedSplit(i,a,u){if(i.length===0)throw new Error("weightedSplit: weights must be non-empty");const{claimant:c,claimants:r,precision:l,mode:s="optimized"}=u??{};if(c!==void 0&&r!==void 0)throw new Error("weightedSplit: claimant and claimants are mutually exclusive");if(r!==void 0&&r.length!==i.length)throw new Error(`weightedSplit: claimants.length (${r.length}) must equal weights.length (${i.length})`);for(let o=0;o<i.length;o++){const d=i[o];if(!Number.isInteger(d)||d<1)throw new Error(`weightedSplit: weight[${o}] must be a positive integer, got ${d}`)}let t;if(l!==void 0){if(!Number.isInteger(l)||l<1)throw new Error(`weightedSplit: precision must be a positive integer, got ${l}`);if(l<i.length)throw new Error(`weightedSplit: precision (${l}) must be >= weights.length (${i.length})`);t=scaleWeights(i,l)}else t=i;if(s==="optimized"){const o=(0,buildSplitFragment_1.gcdArray)(t);o>1&&(t=t.map(d=>d/o))}const e=c??"1",n=[];for(let o=0;o<t.length;o++){const d=r?r[o]:e;n.push(...(0,weightedTokens_1.weightedTokens)(t[o],d))}return(0,container_1.container)(n,a)}f(weightedSplit,"weightedSplit");function scaleWeights(i,a){const u=i.reduce((t,e)=>t+e,0),c=i.map(t=>t/u*a),r=c.map(t=>Math.max(1,Math.floor(t))),l=r.reduce((t,e)=>t+e,0);let s=a-l;if(s>0){const t=c.map((e,n)=>({index:n,frac:e-r[n]}));t.sort((e,n)=>n.frac-e.frac||e.index-n.index);for(let e=0;e<s;e++)r[t[e].index]++}else if(s<0){const t=r.map((e,n)=>({index:n,val:e})).filter(e=>e.val>1).sort((e,n)=>n.val-e.val||e.index-n.index);for(let e=0;s<0&&e<t.length;e++){const n=Math.min(t[e].val-1,-s);r[t[e].index]-=n,s+=n}}return r}f(scaleWeights,"scaleWeights");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var r=Object.defineProperty;var i=(e,t)=>r(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.weightedTokens=weightedTokens;const buildSplitFragment_1=require("../transforms/primitives/split/_internal/buildSplitFragment");function weightedTokens(e,t){return(0,buildSplitFragment_1.expandWeightCanonical)(e,t)}i(weightedTokens,"weightedTokens");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var o=Object.defineProperty;var e=(t,r)=>o(t,"name",{value:r,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.toM0FileText=exports.tryM0String=exports.toM0String=void 0;var toM0String_1=require("./toM0String");Object.defineProperty(exports,"toM0String",{enumerable:!0,get:e(function(){return toM0String_1.toM0String},"get")}),Object.defineProperty(exports,"tryM0String",{enumerable:!0,get:e(function(){return toM0String_1.tryM0String},"get")});var toM0FileText_1=require("./toM0FileText");Object.defineProperty(exports,"toM0FileText",{enumerable:!0,get:e(function(){return toM0FileText_1.toM0FileText},"get")});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var n=Object.defineProperty;var i=(t,e)=>n(t,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.toM0FileText=toM0FileText;const dsl_file_formats_1=require("@m0saic/dsl-file-formats"),toM0String_1=require("./toM0String");function toM0FileText(t,e){const r=(0,toM0String_1.toM0String)(t,"toM0FileText");return(0,dsl_file_formats_1.serializeM0File)({m0:r,size:e?.size,created:e?.created,app:e?.app??null,appVersion:e?.appVersion??null,meta:e?.meta??null,agent:e?.agent?e.agent:null})}i(toM0FileText,"toM0FileText");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";var a=Object.defineProperty;var o=(r,t)=>a(r,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.tryM0String=tryM0String,exports.toM0String=toM0String;const dsl_1=require("@m0saic/dsl");function tryM0String(r){const t=(0,dsl_1.toCanonicalM0String)(r),n=(0,dsl_1.validateM0String)(t);return!n.ok&&"error"in n?{ok:!1,error:n.error}:n.ok?{ok:!0,value:t}:{ok:!1,error:{code:"UNKNOWN",kind:"SYNTAX",message:"Unknown validation error",span:null,position:null}}}o(tryM0String,"tryM0String");function toM0String(r,t="toM0String"){const n=(0,dsl_1.toCanonicalM0String)(r),i=(0,dsl_1.validateM0String)(n);if(!i.ok){const e="error"in i?i.error:"Unknown validation error";throw new Error(`${t}: invalid m0
|
|
2
|
+
${formatValidationError(e)}
|
|
3
|
+
|
|
4
|
+
m0: ${n}`)}return n}o(toM0String,"toM0String");function formatValidationError(r){try{return typeof r=="string"?r:JSON.stringify(r,null,2)}catch{return String(r)}}o(formatValidationError,"formatValidationError");
|