m0saic 0.3.2 → 0.4.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/README.md +23 -16
- package/dist/browseE2e.js +1 -1
- package/dist/connectionsFromEnv.js +1 -1
- package/dist/e2eTemplateVariants.js +1 -1
- package/dist/frontDoor.js +1 -1
- package/dist/index.js +1 -1
- package/dist/inlineDsl.js +1 -1
- package/dist/mcp/bridgeClient.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools.js +1 -1
- package/dist/mosaicxRunner.js +1 -1
- package/dist/outputPattern.js +1 -1
- package/dist/showcaseFeed.js +1 -1
- package/dist/templateDoctor.js +1 -1
- package/dist/utils/checkFeasibility.js +1 -1
- package/dist/utils/collectRenderErrors.js +1 -1
- package/dist/utils/enrichImageAlphaFromDoc.js +1 -1
- package/dist/utils/ensureFfmpeg.js +1 -1
- package/dist/utils/extractLayoutMeta.js +1 -1
- package/dist/utils/failureHints.js +1 -1
- package/dist/utils/ffmpegProbe.js +1 -1
- package/dist/utils/formatM0saicForCli.js +1 -1
- package/dist/utils/hashFile.js +1 -1
- package/dist/utils/helpGroups.js +1 -1
- package/dist/utils/installContext.js +1 -1
- package/dist/utils/invocation.js +1 -1
- package/dist/utils/licenseActivation.js +1 -1
- package/dist/utils/licenseActivationWorker.js +1 -1
- package/dist/utils/mosaicSpinner.js +1 -1
- package/dist/utils/parseDimensions.js +1 -1
- package/dist/utils/pathInfo.js +1 -1
- package/dist/utils/readJsonArg.js +1 -1
- package/dist/utils/renderOutcome.js +1 -1
- package/dist/utils/renderReport.js +1 -1
- package/dist/utils/renderSignals.js +1 -1
- package/dist/utils/renderWorkspace.js +1 -1
- package/dist/utils/reportOutputFormat.js +1 -1
- package/dist/utils/resolveLayoutFileProps.js +1 -0
- package/dist/utils/setupFfmpeg.js +1 -1
- package/dist/utils/telemetry.js +1 -1
- package/dist/utils/telemetryFlushWorker.js +1 -1
- package/dist/utils/telemetryUpstream.js +1 -1
- package/dist/utils/telemetryUsage.js +1 -1
- package/dist/utils/templateInstall.js +1 -0
- package/dist/utils/templateRepoKeys.js +1 -0
- package/dist/utils/templateSources.js +1 -0
- package/dist/utils/toolchainConfig.js +1 -1
- package/dist/utils/tutorialDuration.js +1 -1
- package/dist/utils/updateCheck.js +1 -1
- package/dist/utils/updateCheckWorker.js +1 -1
- package/dist/utils/validateSourceCounts.js +1 -1
- package/dist/utils/versions.js +1 -1
- package/dist/webCustomizeLink.js +1 -1
- package/node_modules/@m0saic/core/dist/core/buildChildMosaicSource.js +1 -1
- package/node_modules/@m0saic/core/dist/core/buildChunkCommands.js +1 -1
- package/node_modules/@m0saic/core/dist/core/buildEncodeCommands.js +1 -1
- package/node_modules/@m0saic/core/dist/core/buildLavfiSource.js +1 -1
- package/node_modules/@m0saic/core/dist/core/buildMediaSource.js +1 -1
- package/node_modules/@m0saic/core/dist/core/buildMosaicNode.js +1 -1
- package/node_modules/@m0saic/core/dist/core/buildMosaicPlanFromFile.js +1 -1
- package/node_modules/@m0saic/core/dist/core/buildSvgTextSource.js +1 -1
- package/node_modules/@m0saic/core/dist/core/buildTextRenderCommand.js +1 -1
- package/node_modules/@m0saic/core/dist/core/collectRefTargets.js +1 -1
- package/node_modules/@m0saic/core/dist/core/index.js +1 -1
- package/node_modules/@m0saic/core/dist/core/maskCacheDir.js +1 -1
- package/node_modules/@m0saic/core/dist/core/maskWorkerBridge.js +1 -1
- package/node_modules/@m0saic/core/dist/core/playbackPlaySpeed.js +1 -1
- package/node_modules/@m0saic/core/dist/core/prepareProps.js +1 -1
- package/node_modules/@m0saic/core/dist/core/primaryOutput.js +1 -1
- package/node_modules/@m0saic/core/dist/core/rasterizeMaskPng.js +1 -1
- package/node_modules/@m0saic/core/dist/core/rasterizeSvgMediaPng.js +1 -1
- package/node_modules/@m0saic/core/dist/core/refTargetTap.js +1 -1
- package/node_modules/@m0saic/core/dist/core/resolveMasks.js +1 -1
- package/node_modules/@m0saic/core/dist/core/resolveMasksSync.js +1 -1
- package/node_modules/@m0saic/core/dist/core/resolveStrokeRingsSync.js +1 -1
- package/node_modules/@m0saic/core/dist/core/roundedRectMask.js +1 -1
- package/node_modules/@m0saic/core/dist/core/strokeRing.js +1 -1
- package/node_modules/@m0saic/core/dist/core/svgRaster.js +1 -1
- package/node_modules/@m0saic/core/dist/defaults.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/backgroundImageInput.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/bufferGuard.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/ffmpegCommands.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBackdropBlur.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBlur.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBorderRadius.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyCamera.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyChromaKey.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyFade.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyGrade.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyMask.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyNoise.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyPixelize.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyRotate.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyStroke.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyTileEffects.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/coverCrop.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/index.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/filters/sourceRectCrop.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/gridLowering.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/index.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/splitAvMux.js +1 -1
- package/node_modules/@m0saic/core/dist/ffmpeg/stillOutput.js +1 -0
- package/node_modules/@m0saic/core/dist/ffmpeg/threadGuard.js +1 -1
- package/node_modules/@m0saic/core/dist/flatten/index.js +1 -1
- package/node_modules/@m0saic/core/dist/fs/index.js +1 -1
- package/node_modules/@m0saic/core/dist/fs/tempWorkspace.js +1 -1
- package/node_modules/@m0saic/core/dist/index.js +1 -1
- package/node_modules/@m0saic/core/dist/media/buildAssetManifestFromInputs.js +1 -1
- package/node_modules/@m0saic/core/dist/media/buildMediaRegistryFromInput.js +1 -1
- package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromInvocationProps.js +1 -1
- package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromMosaicRenderableFile.js +1 -1
- package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromProps.js +1 -1
- package/node_modules/@m0saic/core/dist/media/index.js +1 -1
- package/node_modules/@m0saic/core/dist/media/internalMintAsset.js +1 -1
- package/node_modules/@m0saic/core/dist/media/remoteUrl.js +1 -1
- package/node_modules/@m0saic/core/dist/media/stageUnsafeFilenames.js +1 -1
- package/node_modules/@m0saic/core/dist/media/types.js +1 -1
- package/node_modules/@m0saic/core/dist/output/index.js +1 -1
- package/node_modules/@m0saic/core/dist/output/resolveOutputFormat.js +1 -1
- package/node_modules/@m0saic/core/dist/output/types.js +1 -1
- package/node_modules/@m0saic/core/dist/probe/cellLuminanceProbe.js +1 -1
- package/node_modules/@m0saic/core/dist/probe/extractSubtitleCues.js +1 -1
- package/node_modules/@m0saic/core/dist/probe/helpers.js +1 -1
- package/node_modules/@m0saic/core/dist/probe/index.js +1 -1
- package/node_modules/@m0saic/core/dist/probe/luminanceProbe.js +1 -1
- package/node_modules/@m0saic/core/dist/probe/probeMedia.js +1 -1
- package/node_modules/@m0saic/core/dist/probe/runFFprobe.js +1 -1
- package/node_modules/@m0saic/core/dist/probe/types.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/engineRedaction.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/ffmpegFailure.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/filterPreflight.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/hashFile.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/index.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/pathInfo.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/perfHeatmap.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/perfReport.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/pipelineM0p.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/renderCostModel.constants.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/renderCostModel.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/renderReport.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/renderSidecars.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/resolveMosaicx.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/runPlan.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/types.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/upstream.js +1 -1
- package/node_modules/@m0saic/core/dist/runtime/writeSidecars.js +1 -1
- package/node_modules/@m0saic/core/dist/types/chunk.js +1 -1
- package/node_modules/@m0saic/core/dist/types/index.js +1 -1
- package/node_modules/@m0saic/core/dist/types/mosaic-plan.js +1 -1
- package/node_modules/@m0saic/core/dist/utils/assertTiming.js +1 -1
- package/node_modules/@m0saic/core/dist/utils/command.js +1 -1
- package/node_modules/@m0saic/core/dist/utils/createEngineContext.js +1 -1
- package/node_modules/@m0saic/core/dist/utils/createTemplateRenderCache.js +1 -1
- package/node_modules/@m0saic/core/dist/utils/ffmpegColor.js +1 -1
- package/node_modules/@m0saic/core/dist/utils/formatDuration.js +1 -1
- package/node_modules/@m0saic/core/dist/utils/fsSafeId.js +1 -1
- package/node_modules/@m0saic/core/dist/utils/index.js +1 -1
- package/node_modules/@m0saic/core/dist/utils/lowerRenderableToMosaicDocument.js +1 -1
- package/node_modules/@m0saic/core/dist/utils/movSafeCodec.js +1 -1
- package/node_modules/@m0saic/core/dist/utils/resolveBoxFrac.js +1 -1
- package/node_modules/@m0saic/core/dist/validate/index.js +1 -1
- package/node_modules/@m0saic/core/package.json +1 -1
- package/node_modules/@m0saic/core/scripts/mask-rasterize-core.js +1 -1
- package/node_modules/@m0saic/core/scripts/mask-rasterize-worker.js +1 -1
- package/node_modules/@m0saic/core/scripts/mask-worker-thread.js +1 -1
- package/node_modules/@m0saic/dictionary/package.json +1 -1
- package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0v/m0vFile.js +2 -2
- package/node_modules/@m0saic/dsl-file-formats/package.json +1 -1
- package/node_modules/@m0saic/knowledge/docs/README.md +1 -0
- package/node_modules/@m0saic/knowledge/docs/file-formats/m0p-and-custom-field.md +1 -1
- package/node_modules/@m0saic/knowledge/docs/runtime/cli-usage.md +186 -46
- package/node_modules/@m0saic/knowledge/docs/runtime/ffmpeg-expression-limits.md +7 -0
- package/node_modules/@m0saic/knowledge/docs/templates/README.md +5 -1
- package/node_modules/@m0saic/knowledge/docs/templates/patterns/print-authoring.md +97 -0
- package/node_modules/@m0saic/knowledge/docs/templates/reference/brand-schema.md +73 -0
- package/node_modules/@m0saic/knowledge/docs/templates/reference/prop-bindings.md +31 -1
- package/node_modules/@m0saic/knowledge/docs/templates/render-lifecycle.md +26 -1
- package/node_modules/@m0saic/knowledge/docs/templates/ui-controls.md +42 -0
- package/node_modules/@m0saic/knowledge/package.json +1 -1
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/propBindings/index.js +1 -1
- package/node_modules/@m0saic/platform/dist/cjs/mosaic/propBindings/propBindings.js +1 -1
- package/node_modules/@m0saic/platform/dist/cjs/share/shareQuery.js +1 -1
- package/node_modules/@m0saic/platform/package.json +1 -1
- package/node_modules/@m0saic/product/dist/__fixtures__/tarGz.js +1 -0
- package/node_modules/@m0saic/product/dist/communityRelease.js +1 -1
- package/node_modules/@m0saic/product/dist/freeTierLicense.js +1 -1
- package/node_modules/@m0saic/product/dist/index.js +1 -1
- package/node_modules/@m0saic/product/dist/installedTemplateRepos.js +1 -0
- package/node_modules/@m0saic/product/dist/licenseActivationNotice.js +1 -1
- package/node_modules/@m0saic/product/dist/licenseFile.js +1 -1
- package/node_modules/@m0saic/product/dist/licenseToken.js +1 -1
- package/node_modules/@m0saic/product/dist/makeScratchPath.js +1 -1
- package/node_modules/@m0saic/product/dist/postRenderWrapper.js +1 -1
- package/node_modules/@m0saic/product/dist/publicKeys.js +1 -1
- package/node_modules/@m0saic/product/dist/revokedKeys.js +1 -1
- package/node_modules/@m0saic/product/dist/templateBundle.js +1 -0
- package/node_modules/@m0saic/product/dist/upstreamDefaults.js +1 -1
- package/node_modules/@m0saic/product/dist/workspaceScaffold.js +1 -1
- package/node_modules/@m0saic/product/package.json +1 -1
- package/node_modules/@m0saic/template-utils/dist/media/defaultMedia.browser.js +1 -0
- package/node_modules/@m0saic/template-utils/dist/media/starterSvgInline.js +1 -0
- package/node_modules/@m0saic/template-utils/package.json +1 -1
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/bar-graph/v3/bar-graph.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/bar-graph/v3/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/index.js +1 -1
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v4/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v4/line-chart.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v3/business-card.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v3/index.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v3/layout.js +1 -0
- package/node_modules/@m0saic/templates/dist/m0saic/brand/index.js +1 -1
- package/node_modules/@m0saic/templates/dist/template-catalog.json +486 -6
- package/node_modules/@m0saic/templates/dist/template-registry.js +1 -1
- package/node_modules/@m0saic/templates/dist/web.js +1 -1
- package/node_modules/@m0saic/templates/package.json +1 -1
- package/node_modules/@m0saic/templates/template-catalog.json +486 -6
- package/node_modules/@m0saic/templates/template-manifest.json +69 -0
- package/node_modules/@m0saic/templates/web-template-ids.json +3 -0
- package/node_modules/@m0saic/templates-advanced/package.json +1 -1
- package/node_modules/@m0saic/text/package.json +1 -1
- package/node_modules/@m0saic/types/package.json +1 -1
- package/node_modules/@m0saic/types-internal/dist/analytics/featureKeys.js +1 -1
- package/node_modules/@m0saic/types-internal/package.json +1 -1
- package/package.json +13 -13
|
@@ -53,7 +53,8 @@ duplicated here.
|
|
|
53
53
|
[`prop type: json`](reference/json-prop-type.md) ·
|
|
54
54
|
[`template flags`](reference/template-flags.md) ·
|
|
55
55
|
[`grid builder`](reference/grid.md) · [`MosaicColor`](reference/mosaic-color.md) ·
|
|
56
|
-
[`prop bindings`](reference/prop-bindings.md)
|
|
56
|
+
[`prop bindings`](reference/prop-bindings.md) ·
|
|
57
|
+
[`brand schema`](reference/brand-schema.md)
|
|
57
58
|
|
|
58
59
|
## patterns/ — distilled experience
|
|
59
60
|
|
|
@@ -63,3 +64,6 @@ duplicated here.
|
|
|
63
64
|
early template generation.
|
|
64
65
|
- [`primitive-extraction-pattern.md`](patterns/primitive-extraction-pattern.md)
|
|
65
66
|
— when/how to extract primitives (incl. Rule 7: verify NESTED).
|
|
67
|
+
- [`print-authoring.md`](patterns/print-authoring.md) — P1–P6 for a deliverable
|
|
68
|
+
that goes to paper: paper's black floor, the gap a pattern needs, recheck the
|
|
69
|
+
small inks, lock it in a test, proof on the stock.
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Print authoring rules
|
|
2
|
+
|
|
3
|
+
> Templates layer. For any template whose deliverable goes to paper (cards, banners,
|
|
4
|
+
> wraps, posters). A screen is backlit; paper only reflects, and has a black floor.
|
|
5
|
+
> Tune a print palette on the screen and the shadows that read there print as one
|
|
6
|
+
> flat black. P1–P5 were paid for by a printed business card (2026-10-18); P6 by a
|
|
7
|
+
> 10 ft booth banner (2026-10-16).
|
|
8
|
+
|
|
9
|
+
## P1 — A dark pattern must clear paper's black floor
|
|
10
|
+
Paper only gets so black. Soft-proofed through Adobe's press profiles, a near-black
|
|
11
|
+
navy (#050314, L\* 1.3 on screen) prints at **L\* 11 on coated stock (FOGRA39)** and
|
|
12
|
+
**L\* 29 on uncoated stock (FOGRA29)**. Everything darker than the floor collapses
|
|
13
|
+
onto it, and the gaps just above it shrink. Keep every ink that must stay distinct
|
|
14
|
+
well clear of it: the pattern at **L\* 28 or more** in the file, at least **25 L\*
|
|
15
|
+
over the ground**. That prints about 20 apart on coated stock and 10 on uncoated.
|
|
16
|
+
|
|
17
|
+
Paid for: `@m0saic/brand/business-card/v1` and `v2` tuned the dark field on screen,
|
|
18
|
+
tiles at L\* 6.5 on an L\* 1.3 navy (`DEFAULT_FIELD_OPACITY = 0.28`,
|
|
19
|
+
https://github.com/m0saic-project/m0saic-packages/blob/main/packages/templates/src/m0saic/brand/business-card/v1/business-card.ts#L142). The
|
|
20
|
+
printed cards were flat black; the brick showed only under a strong light. The
|
|
21
|
+
soft proof agrees: those tiles print 2.4 L\* above the navy on coated stock and 1.6 on
|
|
22
|
+
uncoated. v3's dark tiles default to #434574 (L\* 31.1), which prints 20 and 10.6 above
|
|
23
|
+
(https://github.com/m0saic-project/m0saic-packages/blob/main/packages/templates/src/m0saic/brand/business-card/v3/business-card.ts#L174).
|
|
24
|
+
|
|
25
|
+
**Lift the lightness, keep the hue, and raise the chroma — then raise it again for
|
|
26
|
+
paper.** A dark brand colour lifted to print lightness at its old chroma reads as
|
|
27
|
+
grey: v3's first cut, #48465C (chroma 14), was the navy's hue but looked like slate.
|
|
28
|
+
Luminance stays put as chroma rises, so the print gap and every text contrast hold.
|
|
29
|
+
Print also takes chroma away: soft-proofed, chroma 24 printed at 21 (coated) and 17
|
|
30
|
+
(uncoated), and chroma 30 printed at 26 and 20, with the hue steady (294° → 288°).
|
|
31
|
+
Only 30 still read blue on uncoated stock, so v3 ships 30. Judge hue and chroma in
|
|
32
|
+
CIELCh through the press profile, not by eye on a backlit screen.
|
|
33
|
+
|
|
34
|
+
## P2 — A light pattern needs a smaller gap
|
|
35
|
+
Highlights survive print well. About **9 L\* under the page** reads as "clearly there,
|
|
36
|
+
still soft": business card v3's light tiles #E5DCD0 under an ivory #FAF7F2, the same
|
|
37
|
+
tint as the jewelry booth's printed fabric banner.
|
|
38
|
+
|
|
39
|
+
## P3 — Lifting a dark pattern lowers text contrast; recheck the small inks
|
|
40
|
+
Text sits on the pattern as well as the ground. When the tiles move from L\* 6.5 to
|
|
41
|
+
30.8, v2's secondary grey #8A89A3 falls to 2.7:1. v3 lifts it to #B0AFC6 (4.2:1 on
|
|
42
|
+
the tiles, 9.5:1 on the navy) so the 8 pt role / handle / command lines still read
|
|
43
|
+
(https://github.com/m0saic-project/m0saic-packages/blob/main/packages/templates/src/m0saic/brand/business-card/v3/business-card.ts#L257). Hold
|
|
44
|
+
secondary inks to **4:1 or better against the pattern**.
|
|
45
|
+
|
|
46
|
+
## P4 — Lock print contrast in a test
|
|
47
|
+
Compute L\* and contrast from the template's palette function, and assert P1–P3. A
|
|
48
|
+
later screen-only tweak then cannot quietly undo them. Reference: the "print
|
|
49
|
+
contrast" block in
|
|
50
|
+
https://github.com/m0saic-project/m0saic-packages/blob/main/packages/templates/src/m0saic/brand/business-card/v3/business-card.test.ts#L138.
|
|
51
|
+
|
|
52
|
+
## P5 — Soft-proof, then proof on the stock you are ordering
|
|
53
|
+
Stocks differ: uncoated, coated and fabric each have their own floor and gamut.
|
|
54
|
+
First soft-proof. Take each ink sRGB → the press CMYK profile (relative colorimetric
|
|
55
|
+
with black-point compensation, a RIP's usual RGB path), then → Lab (absolute
|
|
56
|
+
colorimetric) for what the sheet will measure. littleCMS through Pillow's
|
|
57
|
+
`ImageCms` does it with Adobe's `CoatedFOGRA39.icc` / `UncoatedFOGRA29.icc`. Then give
|
|
58
|
+
the reviewer a ladder, a few strengths of the knob that sets the pattern, to print
|
|
59
|
+
before the order. Keep that knob exposed (v3: `fieldOpacity`) so a stock that needs
|
|
60
|
+
more can get it without a new version.
|
|
61
|
+
|
|
62
|
+
Re-verify (as of 2026-10-18):
|
|
63
|
+
`grep -n "DEFAULT_FIELD_OPACITY\|DARK_FIELD_INK\|#B0AFC6" https://github.com/m0saic-project/m0saic-packages/blob/main/packages/templates/src/m0saic/brand/business-card/v3/business-card.ts
|
|
64
|
+
|
|
65
|
+
## P6 — Print scale: the walls past 8K
|
|
66
|
+
A 10 ft banner at 150 DPI is 18000 × 14400 px, 259 MP. Measured on the 8 GB M1 Air
|
|
67
|
+
(`@qsbuilds/booth/backdrop/v1`, 2026-10-16; re-measured 2026-10-20 through the
|
|
68
|
+
engine's own jpeg path):
|
|
69
|
+
|
|
70
|
+
- **ffmpeg's frame limit** is `(8·W + 1024)·(H + 128) < 2^31 − 1`
|
|
71
|
+
(`av_image_check_size`). 18000 × 14400 passes by about 2 %; at that width a frame
|
|
72
|
+
can be at most 14679 px tall, so a 120 × 102 in artwork (pocket allowance) does not
|
|
73
|
+
fit at 150 DPI (146 DPI is the most). Compute this in the template and refuse with
|
|
74
|
+
the max DPI; do not discover it in ffmpeg.
|
|
75
|
+
- **It renders.** About 105 flat tiles plus one masked M: 128–148 s and ~1.5 GB peak
|
|
76
|
+
RSS for the lossless PNG master, which is under 1 MB for flat colour art. One scaled
|
|
77
|
+
image at the same size goes straight to a jpeg in 6 s at 1.4 GB.
|
|
78
|
+
- **JPEG at that size is the engine's job since 0.4.0.** Every `.jpg` still is
|
|
79
|
+
`mjpeg` at `yuvj444p` with the quantizer pinned to the best tables
|
|
80
|
+
(`-q:v 1 -qmin 1 -qmax 1`), one encoder thread, and `-huffman default` once the
|
|
81
|
+
canvas is 64 MP or more: the encoder's default `-huffman optimal` buffers every
|
|
82
|
+
coefficient of ~12 M blocks and failed to open (`ENOMEM`) at 259 MP. Huffman is
|
|
83
|
+
lossless, so quality is unchanged. `encodes` to `jpeg` / `png` / `tiff` / `bmp`
|
|
84
|
+
reach a real muxer too. A `.jpg` output or a `jpeg` encode is enough; the `mjpeg`
|
|
85
|
+
container with hand-set encoder options is no longer needed.
|
|
86
|
+
- **Metadata:** the engine writes no DPI and no ICC. A JPEG's JFIF APP0 density and
|
|
87
|
+
an APP2 `ICC_PROFILE` can be written afterwards by rebuilding only the header
|
|
88
|
+
segments, leaving the scan data byte-identical (the booth's `render.mjs` does this).
|
|
89
|
+
- **Proof labels:** svg-rasterized text is one inline mask per line; ~45 labels over
|
|
90
|
+
a full-canvas drawbox track drove `OVERLAY_CHAIN_DEEP` to 24. Plain `drawtext`
|
|
91
|
+
labels (no `rasterizer`) carry no mask; the only mask left is the logo.
|
|
92
|
+
- **Keep inches authoritative** and convert edges, not sizes, with one rounding
|
|
93
|
+
rule. Never upscale a proof. Verify the written file (dimensions, chroma sampling,
|
|
94
|
+
density, profile, a full decode), not the plan.
|
|
95
|
+
|
|
96
|
+
Re-verify (as of 2026-10-20):
|
|
97
|
+
`grep -n "DEFAULT_JPEG_STILL_HUGE_PIXELS\|huffman" the render engine source (not published)
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# A template repo's brand schema (`m0saic.brand.json`)
|
|
2
|
+
|
|
3
|
+
**Since:** Mosaic Desktop 0.4.0 line (2026-10-19). **Applies to:** any template repo a solution or a
|
|
4
|
+
Mosaic Consumer install connects. The CLI ignores the file.
|
|
5
|
+
|
|
6
|
+
## What it is
|
|
7
|
+
|
|
8
|
+
A person using Mosaic for Jewelry, or a Mosaic Consumer install built around one business, fills in
|
|
9
|
+
their details **once** — "Your brand" on the Templates page: a name, a logo, colours, a website, where
|
|
10
|
+
they post most — and every design that has a place for those opens with them already in. The profile is
|
|
11
|
+
kept per solution on the machine as `~/m0saic/solutions/<id>/brand.m0v`, the `brand` slot of a Mosaic
|
|
12
|
+
Vocabulary (`.m0v`; see `file-formats/m0p-and-custom-field.md` §1).
|
|
13
|
+
|
|
14
|
+
A template repo says **what to ask for** and **which props take it** by shipping `m0saic.brand.json`
|
|
15
|
+
at its root, beside `m0saic.workspace.json`:
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"fields": [
|
|
20
|
+
{ "key": "lyricFont", "label": "Your font", "placeholder": "The one your lyrics land in", "kind": "choice",
|
|
21
|
+
"options": [{ "value": "anton", "label": "Anton" }, { "value": "bebas-neue", "label": "Bebas Neue" }] },
|
|
22
|
+
{ "key": "textColor", "label": "Lyric colour", "placeholder": "#FFFFFF", "kind": "color" },
|
|
23
|
+
{ "key": "fontFile", "label": "Your own font file", "placeholder": "A .ttf or .otf", "kind": "file" },
|
|
24
|
+
{ "key": "channel", "label": "Where you post most", "kind": "choice",
|
|
25
|
+
"options": [{ "value": "instagram-reel", "label": "Instagram Reels" }, { "value": "tiktok", "label": "TikTok" }] }
|
|
26
|
+
],
|
|
27
|
+
"props": { "font": "lyricFont", "textColor": "textColor", "fontFile": "fontFile", "platform": "channel" }
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- `fields[]` — what the profile asks for. `key` (a prop-style identifier), `label`, optional
|
|
32
|
+
`placeholder`, and `kind`: `text` | `color` | `file` | `choice`. A `choice` needs `options`
|
|
33
|
+
(`{ value, label }`; a bare string is a value that is its own label). A value outside the options is
|
|
34
|
+
never seeded.
|
|
35
|
+
- `props` — template prop name → field key. **Top-level props only.** The field must be one of
|
|
36
|
+
`fields[]` (or one of the app's own, below).
|
|
37
|
+
|
|
38
|
+
## What Desktop does with it
|
|
39
|
+
|
|
40
|
+
- Reads the file when the repo loads (a local folder, or a GitHub source once installed), beside the
|
|
41
|
+
manifest; drops it when the source is forgotten.
|
|
42
|
+
- **Seeds on a fresh open.** When a template opens with no props of its own (not from a `.mosaicx`, a
|
|
43
|
+
share link or an agent), every mapped prop the template declares gets the profile's value, folded into
|
|
44
|
+
the template's **defaults** — so the open is not dirty, a rebuild keeps the values, and a saved recipe
|
|
45
|
+
carries them like any value. The person can still change any of them per post. A `media` prop takes
|
|
46
|
+
the file path; a `media[]` prop takes a one-item list.
|
|
47
|
+
- **Asks only what some prop takes.** The profile shows the fields that some mapped prop reads; a field
|
|
48
|
+
nothing reads would promise what no design does.
|
|
49
|
+
- **Merges across repos.** A solution may have a map of its own (the jewelry pack's prop names are declared
|
|
50
|
+
in the app) and several connected repos; the solution's map comes first, then each repo's, and a prop
|
|
51
|
+
is never re-mapped once mapped.
|
|
52
|
+
- **The app's own fields win for their keys:** `name`, `tagline`, `logo`, `accent`, `site`, `email`,
|
|
53
|
+
`phone`, `address`, `platform` (the app's channel list: story / feed / square / landscape / email). A
|
|
54
|
+
repo mapping `brand → name` gets the app's "Brand name" field. A repo whose `platform` prop takes
|
|
55
|
+
**its own** values should map it to a key of its own (`channel`), not `platform`.
|
|
56
|
+
|
|
57
|
+
## Authoring rules
|
|
58
|
+
|
|
59
|
+
- One schema per repo, at the root. Keep the prop names consistent across the repo's templates — the
|
|
60
|
+
schema is the API the templates adhere to; a template that spells `brandName` differently is simply
|
|
61
|
+
not seeded.
|
|
62
|
+
- Keys are identifiers (`^[a-zA-Z][a-zA-Z0-9]*$`); at most 24 fields. Odd fields and unmapped props are
|
|
63
|
+
dropped, not fatal.
|
|
64
|
+
- The file is outside the signature (`dist/` + the manifest, package and catalog): adding or changing it never
|
|
65
|
+
moves a release's verdict. It rides in `runtime.tgz` when present (packer `BRAND_FILE`, 2026-10-20), so a repo
|
|
66
|
+
installed from a release has it too — **re-pack and re-publish the bundle** after changing it; a clone or the
|
|
67
|
+
dev stand-in reads it straight from disk.
|
|
68
|
+
- The CLI reads none of this; a `.mosaicx` written by Make carries the seeded values as plain props.
|
|
69
|
+
|
|
70
|
+
## See also
|
|
71
|
+
|
|
72
|
+
- `templates/reference/prop-bindings.md` — how props reach tiles on the canvas.
|
|
73
|
+
- `file-formats/m0p-and-custom-field.md` §1 — `.m0v`, the Mosaic Vocabulary, and its `brand` slot.
|
|
@@ -21,11 +21,12 @@ binding: {
|
|
|
21
21
|
propKey: string; // dotted path as propsSchema nests it: "label", "titles.title"
|
|
22
22
|
index?: number; // ONE element of string[] / number[] / media[]
|
|
23
23
|
path?: Array<string | number>; // route into a json / list / array value: [2, "title"]
|
|
24
|
-
kind?: "string" | "number" | "color" | "rect" | "media"; // required on structured leaves
|
|
24
|
+
kind?: "string" | "number" | "color" | "choice" | "rect" | "media"; // required on structured leaves
|
|
25
25
|
layer?: number; // which text layer shows the leaf (multi-layer text)
|
|
26
26
|
onClear?: "remove-element" | "unset-leaf";
|
|
27
27
|
seedDraft?: string;
|
|
28
28
|
companion?: boolean;
|
|
29
|
+
value?: string | number | boolean; // ONE ANSWER: a click writes it, no editor opens
|
|
29
30
|
range?: { start: number; end: number }; // one line of a multi-line string leaf
|
|
30
31
|
focus?: { start: number; end: number }; // the token the rect shows, inside range
|
|
31
32
|
}
|
|
@@ -67,6 +68,14 @@ Rules:
|
|
|
67
68
|
Order the entries the way a double-click should read them: `fields[0]` is the
|
|
68
69
|
primary action (a plain double-click); the badge row offers every kind.
|
|
69
70
|
|
|
71
|
+
**Grips (2026-10-19).** Several tiles may bind one rect leaf. The FIRST (walk order) PAINTS it:
|
|
72
|
+
every session on the leaf, opened from any of them (double-click, the move badge, the tile card's
|
|
73
|
+
Adjust on canvas, the panel's Draw on preview), seeds from that tile (Make `paintedRectTileFor`).
|
|
74
|
+
Later tiles are grips. Use one when other bound content covers the box: in Make a later tile wins
|
|
75
|
+
the pointer, so a box its own words fill is unreachable. Bind the box itself (under the content: it
|
|
76
|
+
paints the rect and seeds the session) AND a small grip on top, beside the box, bound to the same
|
|
77
|
+
leaf. Exemplar: Rainier `@rainier/reels/lyric-stack/v2` "Move lyrics" (`area-handle.ts`).
|
|
78
|
+
|
|
70
79
|
## The roll call — `bindingsDeclared` (THROW, 2026-09-25)
|
|
71
80
|
|
|
72
81
|
**Every prop that CAN carry a canvas handle is either bound, or declared.** A new template that does
|
|
@@ -247,6 +256,27 @@ panel stays the primary place rows are deleted — canvas clear is an accelerato
|
|
|
247
256
|
- Focus lands on the FIRST field: order a seeded field first when the seed is
|
|
248
257
|
the whole suggestion.
|
|
249
258
|
|
|
259
|
+
## `value` — a rect that IS one answer (2026-10-19)
|
|
260
|
+
|
|
261
|
+
```ts
|
|
262
|
+
editor: { bindings: [{ propKey: "takeCount", value: "3" }, { propKey: "layout3", value: "feature" }] }
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
- A click on the rect writes the value(s). Nothing opens: no inline editor, no tile card, no badge.
|
|
266
|
+
- Validated by `@m0saic/platform` `bindingValue`: a `choice` leaf takes one of its set's values, a
|
|
267
|
+
`number` leaf a finite number (never a numeric string), a basic `boolean` prop `true` / `false`.
|
|
268
|
+
Anything else is dropped, and the rect stays an ordinary binding. A typo in an answer never writes a
|
|
269
|
+
value the template would reject.
|
|
270
|
+
- A rect whose bindings ALL carry a value is an **answer tile**: one click writes every one (the count
|
|
271
|
+
and the layout together). A rect with a value on only some entries is an ordinary editor tile.
|
|
272
|
+
- A **boolean** prop binds ONLY as an answer (`value: true`). There is still no boolean editor on the
|
|
273
|
+
canvas, so a boolean without a value, or on a tile that is not an answer, is never bindable.
|
|
274
|
+
- Draw an option in pieces (its card, its panes, its label) and give EVERY piece the same bindings: a
|
|
275
|
+
click anywhere on it answers, and Make lights the pieces as one on hover.
|
|
276
|
+
- The case it exists for: a `renderCover()` START PAGE, where the template asks its first questions
|
|
277
|
+
(see [`../render-lifecycle.md`](../render-lifecycle.md), "The start page"). Never move those questions
|
|
278
|
+
into `defaultProps`: the defaults stay the template's real render.
|
|
279
|
+
|
|
250
280
|
## `kind: "media"` — a rect that takes a dropped file
|
|
251
281
|
|
|
252
282
|
A media-bound rect is a DROP target on the Make canvas (a file dragged onto it
|
|
@@ -60,7 +60,9 @@ than throwing.
|
|
|
60
60
|
node-only imports.
|
|
61
61
|
- **Never read `ctx.media`.** Both hosts pass `{}` (no ffprobe pass), so these
|
|
62
62
|
surfaces are self-contained by contract.
|
|
63
|
-
- **Size to `ctx.target
|
|
63
|
+
- **Size to `ctx.target`**, which carries the editor's canvas dimensions — or, for a cover, return
|
|
64
|
+
your own size. Make shows a cover at the size it returns, so a portrait template may open on a
|
|
65
|
+
landscape start page that reads at desktop size (the Device fields stay the template's).
|
|
64
66
|
- **Real geometry.** A cover page's bands and a tutorial's diagram are known
|
|
65
67
|
rects — carve m0 cells, don't float drawtext over a full-canvas source. The
|
|
66
68
|
Rect Thesis does not get a pass for onboarding content (see
|
|
@@ -92,6 +94,7 @@ than throwing.
|
|
|
92
94
|
caller-supplied props" (so `m0saic open --props` skips the cover), and is
|
|
93
95
|
flipped permanently by the first user prop edit. Deliberately **not** derived
|
|
94
96
|
from `props === defaults` — edit-then-undo must not resurrect it.
|
|
97
|
+
The one exception is an ANSWER on a cover (below): it writes without dismissing.
|
|
95
98
|
- A cover is a **stand-in**, like a `renderLite` card: it must stay out of the
|
|
96
99
|
render-progress hero filmstrip. Note a template can have a cover *without* a
|
|
97
100
|
`renderLite`, so a hero guard written against `hasRenderLite` alone misses it.
|
|
@@ -100,6 +103,28 @@ than throwing.
|
|
|
100
103
|
doc-stats, and `renderRequest`, so view-only holds by construction rather than
|
|
101
104
|
by discipline — the Make button always renders the real template.
|
|
102
105
|
|
|
106
|
+
## The start page (2026-10-19)
|
|
107
|
+
|
|
108
|
+
A cover may ASK the few things a person decides before anything else — the minimum for a solid
|
|
109
|
+
start (founder: "this can become direction of renderCover"). Lyric Stack's asks how many takes and
|
|
110
|
+
which layout, and which app or all three, then Start.
|
|
111
|
+
|
|
112
|
+
- Its rects are **answer tiles** (`binding.value`, see
|
|
113
|
+
[`reference/prop-bindings.md`](reference/prop-bindings.md)). On a cover, an answer writes its
|
|
114
|
+
props WITHOUT dismissing the cover (`handlePropEdit(u, { keepCover: true })`); Make re-renders the
|
|
115
|
+
cover with the new props, so it shows what is picked. Read the working props (merged with your
|
|
116
|
+
defaults) to draw the picks: at first open they ARE the defaults, so Start at once is a solid start.
|
|
117
|
+
- **`editor.start: true`** on a source makes it the cover's Start: a click closes the cover and opens
|
|
118
|
+
the template. Put it on every piece of the button.
|
|
119
|
+
- A cover that asks (answers or a Start on it) closes ONLY on its Start, the cover chip's close, Play
|
|
120
|
+
or MAKE: a stray click between cards does nothing, so the picks are never lost. A cover with no
|
|
121
|
+
answers still closes on any click, as covers always have.
|
|
122
|
+
- Make: the Mosaic Desktop / Web app source (not published) (`partitionAnswerTiles`, `stageClickAction`,
|
|
123
|
+
`startTileIds`). Answers resolve on a cover (ordinary bindings do not).
|
|
124
|
+
- Agents skip the page by supplying props (a cover never shows on such an open), so a start page is
|
|
125
|
+
never in an agent's way. Exemplar: Rainier `@rainier/reels/lyric-stack/v2`
|
|
126
|
+
(`src/reels/lyric-stack/v2/cover.ts`).
|
|
127
|
+
|
|
103
128
|
## Meta flags
|
|
104
129
|
|
|
105
130
|
`templates:get` reports `hasRenderLite` / `hasRenderCover` / `hasRenderTutorial`,
|
|
@@ -36,6 +36,48 @@ not supersede the singular. Pick by cardinality:
|
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
39
|
+
## Data files: a `media` prop the template reads
|
|
40
|
+
|
|
41
|
+
A `media` prop's value is a file path, and the template may read that file itself. That is
|
|
42
|
+
how a template takes data from a file: a CSV, a spreadsheet, line-delimited JSON, a parquet
|
|
43
|
+
or SQLite export.
|
|
44
|
+
|
|
45
|
+
```ts
|
|
46
|
+
sheet: {
|
|
47
|
+
type: "media",
|
|
48
|
+
required: false,
|
|
49
|
+
meta: { control: { extensions: ["csv", "tsv", "xlsx"] } },
|
|
50
|
+
},
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
- **The picker.** Every `media` prop gets the OS file picker. `meta.control.extensions`
|
|
54
|
+
(lowercase, no dot) replaces its default filter, which offers only video, image and audio
|
|
55
|
+
files, so without it a data file cannot be picked. Make's drop target follows the same
|
|
56
|
+
list. `picker: "file"` is not needed.
|
|
57
|
+
- **The template parses it.** `render` gets the path, reads the file and parses it. CSV,
|
|
58
|
+
TSV and JSON lines take a few lines of code; xlsx, parquet or SQLite need a parser library,
|
|
59
|
+
which is the pack's dependency decision (a community template imports only what
|
|
60
|
+
`dep-allowlist.json` allows, and `fs` itself needs a per-file exception there).
|
|
61
|
+
- **Declare the read.** `capabilities: { tier: "capability", caps: { fs: { read: true } } }`.
|
|
62
|
+
A `core`-tier template touches no filesystem.
|
|
63
|
+
- **Never probed.** Before a render the engine probes every existing file path in the props
|
|
64
|
+
with ffprobe, and a failed probe stops the render. Data and text formats skip the probe:
|
|
65
|
+
json, jsonc, yml, yaml, xml, csv, tsv, toml; subtitles (srt, vtt, ass, ssa, sub); txt, md,
|
|
66
|
+
log, html; m0saic's own formats; fonts; spreadsheets (xlsx, xlsm, xlsb, xls, ods,
|
|
67
|
+
numbers); line-delimited and geo JSON (ndjson, jsonl, geojson, topojson); columnar files
|
|
68
|
+
(parquet, avro, orc, arrow, feather); embedded databases (sqlite, sqlite3, db, duckdb);
|
|
69
|
+
statistics files (sav, dta, sas7bdat, xpt, rds, rdata, h5, hdf5). Any other extension
|
|
70
|
+
reaches ffprobe and fails the render; the list is `NON_MEDIA_EXTENSIONS` in
|
|
71
|
+
the render engine source (not published).
|
|
72
|
+
- **CLI and Desktop only.** Reading a file needs node's `fs`, which the browser build cannot
|
|
73
|
+
bundle, so the template is a Desktop-only card on the web.
|
|
74
|
+
- **The file is an input.** The render follows the file's contents, not only its path: the
|
|
75
|
+
same path over an edited file renders a different video.
|
|
76
|
+
- **Small data needs no file.** A `json`, `number[]` or `string[]` prop holds the rows
|
|
77
|
+
directly, travels in a share link and works on the web.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
39
81
|
## `"time-range"` — the paired-prop picker
|
|
40
82
|
|
|
41
83
|
Declared on **both** halves of a `<base>StartMs` / `<base>EndMs` numeric pair, with the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=Object.defineProperty;var e=(r,t)=>n(r,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.sourceBindings=exports.resolveBindableProp=exports.bindingCompanion=exports.bindingSeedDraft=exports.defaultOnClear=exports.bindingOnClear=exports.bindingPath=exports.isColorPropDef=exports.isStructuredPropType=exports.isMediaPropType=exports.isListPropType=exports.isRectListPickerProp=exports.isRectPickerProp=exports.choiceOptionsOf=exports.classifyBindableProp=exports.propDefinitionAtPath=void 0;var propBindings_1=require("./propBindings");Object.defineProperty(exports,"propDefinitionAtPath",{enumerable:!0,get:e(function(){return propBindings_1.propDefinitionAtPath},"get")}),Object.defineProperty(exports,"classifyBindableProp",{enumerable:!0,get:e(function(){return propBindings_1.classifyBindableProp},"get")}),Object.defineProperty(exports,"choiceOptionsOf",{enumerable:!0,get:e(function(){return propBindings_1.choiceOptionsOf},"get")}),Object.defineProperty(exports,"isRectPickerProp",{enumerable:!0,get:e(function(){return propBindings_1.isRectPickerProp},"get")}),Object.defineProperty(exports,"isRectListPickerProp",{enumerable:!0,get:e(function(){return propBindings_1.isRectListPickerProp},"get")}),Object.defineProperty(exports,"isListPropType",{enumerable:!0,get:e(function(){return propBindings_1.isListPropType},"get")}),Object.defineProperty(exports,"isMediaPropType",{enumerable:!0,get:e(function(){return propBindings_1.isMediaPropType},"get")}),Object.defineProperty(exports,"isStructuredPropType",{enumerable:!0,get:e(function(){return propBindings_1.isStructuredPropType},"get")}),Object.defineProperty(exports,"isColorPropDef",{enumerable:!0,get:e(function(){return propBindings_1.isColorPropDef},"get")}),Object.defineProperty(exports,"bindingPath",{enumerable:!0,get:e(function(){return propBindings_1.bindingPath},"get")}),Object.defineProperty(exports,"bindingOnClear",{enumerable:!0,get:e(function(){return propBindings_1.bindingOnClear},"get")}),Object.defineProperty(exports,"defaultOnClear",{enumerable:!0,get:e(function(){return propBindings_1.defaultOnClear},"get")}),Object.defineProperty(exports,"bindingSeedDraft",{enumerable:!0,get:e(function(){return propBindings_1.bindingSeedDraft},"get")}),Object.defineProperty(exports,"bindingCompanion",{enumerable:!0,get:e(function(){return propBindings_1.bindingCompanion},"get")}),Object.defineProperty(exports,"resolveBindableProp",{enumerable:!0,get:e(function(){return propBindings_1.resolveBindableProp},"get")}),Object.defineProperty(exports,"sourceBindings",{enumerable:!0,get:e(function(){return propBindings_1.sourceBindings},"get")});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var e=(r,t)=>n(r,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.sourceBindings=exports.resolveBindableProp=exports.bindingValue=exports.bindingCompanion=exports.bindingSeedDraft=exports.defaultOnClear=exports.bindingOnClear=exports.bindingPath=exports.isColorPropDef=exports.isStructuredPropType=exports.isMediaPropType=exports.isListPropType=exports.isRectListPickerProp=exports.isRectPickerProp=exports.choiceOptionsOf=exports.classifyBindableProp=exports.propDefinitionAtPath=void 0;var propBindings_1=require("./propBindings");Object.defineProperty(exports,"propDefinitionAtPath",{enumerable:!0,get:e(function(){return propBindings_1.propDefinitionAtPath},"get")}),Object.defineProperty(exports,"classifyBindableProp",{enumerable:!0,get:e(function(){return propBindings_1.classifyBindableProp},"get")}),Object.defineProperty(exports,"choiceOptionsOf",{enumerable:!0,get:e(function(){return propBindings_1.choiceOptionsOf},"get")}),Object.defineProperty(exports,"isRectPickerProp",{enumerable:!0,get:e(function(){return propBindings_1.isRectPickerProp},"get")}),Object.defineProperty(exports,"isRectListPickerProp",{enumerable:!0,get:e(function(){return propBindings_1.isRectListPickerProp},"get")}),Object.defineProperty(exports,"isListPropType",{enumerable:!0,get:e(function(){return propBindings_1.isListPropType},"get")}),Object.defineProperty(exports,"isMediaPropType",{enumerable:!0,get:e(function(){return propBindings_1.isMediaPropType},"get")}),Object.defineProperty(exports,"isStructuredPropType",{enumerable:!0,get:e(function(){return propBindings_1.isStructuredPropType},"get")}),Object.defineProperty(exports,"isColorPropDef",{enumerable:!0,get:e(function(){return propBindings_1.isColorPropDef},"get")}),Object.defineProperty(exports,"bindingPath",{enumerable:!0,get:e(function(){return propBindings_1.bindingPath},"get")}),Object.defineProperty(exports,"bindingOnClear",{enumerable:!0,get:e(function(){return propBindings_1.bindingOnClear},"get")}),Object.defineProperty(exports,"defaultOnClear",{enumerable:!0,get:e(function(){return propBindings_1.defaultOnClear},"get")}),Object.defineProperty(exports,"bindingSeedDraft",{enumerable:!0,get:e(function(){return propBindings_1.bindingSeedDraft},"get")}),Object.defineProperty(exports,"bindingCompanion",{enumerable:!0,get:e(function(){return propBindings_1.bindingCompanion},"get")}),Object.defineProperty(exports,"bindingValue",{enumerable:!0,get:e(function(){return propBindings_1.bindingValue},"get")}),Object.defineProperty(exports,"resolveBindableProp",{enumerable:!0,get:e(function(){return propBindings_1.resolveBindableProp},"get")}),Object.defineProperty(exports,"sourceBindings",{enumerable:!0,get:e(function(){return propBindings_1.sourceBindings},"get")});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var f=Object.defineProperty;var u=(n,e)=>f(n,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.isMediaPropType=isMediaPropType,exports.isRectPickerProp=isRectPickerProp,exports.isRectListPickerProp=isRectListPickerProp,exports.bindingRange=bindingRange,exports.bindingOnClear=bindingOnClear,exports.defaultOnClear=defaultOnClear,exports.bindingSeedDraft=bindingSeedDraft,exports.bindingCompanion=bindingCompanion,exports.bindingValue=bindingValue,exports.sourceBindings=sourceBindings,exports.isStructuredPropType=isStructuredPropType,exports.bindingPath=bindingPath,exports.propDefinitionAtPath=propDefinitionAtPath,exports.isColorPropDef=isColorPropDef,exports.choiceOptionsOf=choiceOptionsOf,exports.classifyBindableProp=classifyBindableProp,exports.isListPropType=isListPropType,exports.resolveBindableProp=resolveBindableProp;function isKind(n){return n==="string"||n==="number"||n==="color"||n==="choice"||n==="rect"||n==="media"}u(isKind,"isKind");function isMediaPropType(n){return n?.type==="media"||n?.type==="media[]"}u(isMediaPropType,"isMediaPropType");function isRectPickerProp(n){var e,t;if(!n||n.type!=="json")return!1;const r=(e=n.meta)===null||e===void 0?void 0:e.control;return r?.picker==="regions"&&((t=r.regions)===null||t===void 0?void 0:t.max)===1}u(isRectPickerProp,"isRectPickerProp");function isRectListPickerProp(n,e){var t,r;if(!n||n.type!=="json")return!1;const i=(t=n.meta)===null||t===void 0?void 0:t.control;if(i?.picker!=="regions")return!1;const o=(r=i.regions)===null||r===void 0?void 0:r.max;return typeof o!="number"||o>1&&o>e}u(isRectListPickerProp,"isRectListPickerProp");function isClearAction(n){return n==="remove-element"||n==="unset-leaf"}u(isClearAction,"isClearAction");function isSpan(n){if(!n||typeof n!="object")return!1;const{start:e,end:t}=n;return typeof e=="number"&&Number.isInteger(e)&&e>=0&&typeof t=="number"&&Number.isInteger(t)&&t>=e}u(isSpan,"isSpan");function bindingRange(n,e){if(e!=="string"||!isSpan(n.range))return;const t={start:n.range.start,end:n.range.end},r=n.focus;return isSpan(r)&&r.start>=t.start&&r.end<=t.end?{range:t,focus:{start:r.start,end:r.end}}:{range:t}}u(bindingRange,"bindingRange");function bindingOnClear(n,e,t){if(e===null||!isClearAction(n.onClear))return;if(n.onClear==="remove-element")return typeof t[0]=="number"?"remove-element":void 0;const r=t[t.length-1];return t.length===0||typeof r=="string"?"unset-leaf":void 0}u(bindingOnClear,"bindingOnClear");function defaultOnClear(n,e,t){return e==="color"&&t.length===0&&n?.required!==!0?"unset-leaf":void 0}u(defaultOnClear,"defaultOnClear");function bindingSeedDraft(n,e){if(e===null||e==="rect"||e==="media"||e==="choice"||e==="boolean")return;const t=n.seedDraft;if(!(typeof t!="string"||t.trim()==="")&&!(e==="number"&&!Number.isFinite(Number(t.trim()))))return t}u(bindingSeedDraft,"bindingSeedDraft");function bindingCompanion(n,e){return n.companion===!0&&e!==void 0}u(bindingCompanion,"bindingCompanion");function bindingValue(n,e,t){var r;const i=n.value;if(i!==void 0){if(e==="choice")return typeof i=="string"&&((r=choiceOptionsOf(t))!==null&&r!==void 0?r:[]).some(o=>o.value===i)?i:void 0;if(e==="number")return typeof i=="number"&&Number.isFinite(i)?i:void 0;if(e==="boolean")return typeof i=="boolean"?i:void 0}}u(bindingValue,"bindingValue");function sourceBindings(n){return(Array.isArray(n?.bindings)&&n.bindings.length?n.bindings:n?.binding?[n.binding]:[]).filter(t=>!!t&&typeof t=="object"&&typeof t.propKey=="string"&&!!t.propKey)}u(sourceBindings,"sourceBindings");const STRUCTURED_TYPES=new Set(["json","list","array"]);function isStructuredPropType(n){return!!n&&STRUCTURED_TYPES.has(n.type)}u(isStructuredPropType,"isStructuredPropType");function bindingPath(n){const e=n.path?[...n.path]:[];return n.index!==void 0?[n.index,...e]:e}u(bindingPath,"bindingPath");function propDefinitionAtPath(n,e){if(!n||!e)return;let t=n,r;for(const i of e.split(".")){if(!i||(r=t?.[i],!r))return;t=r.type==="group"?r.fields:void 0}return r}u(propDefinitionAtPath,"propDefinitionAtPath");function isValidIndex(n){return n!==void 0&&Number.isInteger(n)&&n>=0}u(isValidIndex,"isValidIndex");function isValidPath(n){return n.every(e=>typeof e=="number"?isValidIndex(e):typeof e=="string"&&e.length>0)}u(isValidPath,"isValidPath");function isColorPropDef(n){var e,t,r,i;return!!n&&!!(!((t=(e=n.meta)===null||e===void 0?void 0:e.constraints)===null||t===void 0)&&t.isColor||!((i=(r=n.meta)===null||r===void 0?void 0:r.control)===null||i===void 0)&&i.colorPicker)}u(isColorPropDef,"isColorPropDef");function isFreeTextString(n){var e,t,r;const i=n.meta;return!(!((e=i?.constraints)===null||e===void 0)&&e.oneOf||!((t=i?.control)===null||t===void 0)&&t.options||!((r=i?.control)===null||r===void 0)&&r.optionsFromConnection)}u(isFreeTextString,"isFreeTextString");function choiceOptionsOf(n){var e,t;const r=n?.meta;if(!r)return null;const i=(e=r.control)===null||e===void 0?void 0:e.options;if(Array.isArray(i)&&i.length>0){const l=i.filter(s=>!!s&&typeof s=="object"&&typeof s.value=="string").map(s=>({value:s.value,label:typeof s.label=="string"&&s.label?s.label:s.value}));return l.length>0?l:null}const o=(t=r.constraints)===null||t===void 0?void 0:t.oneOf;return Array.isArray(o)&&o.length>0&&o.every(l=>typeof l=="string")?o.map(l=>({value:l,label:l})):null}u(choiceOptionsOf,"choiceOptionsOf");function stringKind(n){return isColorPropDef(n)?"color":isFreeTextString(n)?"string":choiceOptionsOf(n)?"choice":null}u(stringKind,"stringKind");function classifyBindableProp(n,e){var t,r;if(!n||!((r=(t=n.meta)===null||t===void 0?void 0:t.ui)===null||r===void 0)&&r.hidden)return null;const i=typeof e=="number"?{index:e}:e??{},o=bindingPath(i);switch(n.type){case"string":return stringKind(n);case"boolean":return typeof i.value=="boolean"?"boolean":null;case"number":return"number";case"media":return"media";case"string[]":return o.length===1&&typeof o[0]=="number"&&isValidIndex(o[0])?stringKind(n):null;case"number[]":return o.length===1&&typeof o[0]=="number"&&isValidIndex(o[0])?"number":null;case"media[]":return o.length===1&&typeof o[0]=="number"&&isValidIndex(o[0])?"media":null;default:if(!isStructuredPropType(n))return null;if(i.kind==="rect"){if(o.length===0)return isRectPickerProp(n)?"rect":null;const l=o.length===1&&typeof o[0]=="number"&&isValidIndex(o[0])?o[0]:null;return l!==null&&i.path===void 0&&isRectListPickerProp(n,l)?"rect":null}return o.length===0||!isValidPath(o)||i.kind==="choice"?null:isKind(i.kind)?i.kind:null}}u(classifyBindableProp,"classifyBindableProp");function isListPropType(n){return n?.type==="string[]"||n?.type==="number[]"||n?.type==="media[]"}u(isListPropType,"isListPropType");function resolveBindableProp(n,e){var t;const r=propDefinitionAtPath(n,e.propKey),i=classifyBindableProp(r,e),o=bindingRange(e,i),l=bindingPath(e),s=r?.type==="string"||r?.type==="number"||r?.type==="media"?[]:l,d=(t=bindingOnClear(e,i,s))!==null&&t!==void 0?t:defaultOnClear(r,i,s),a=bindingSeedDraft(e,i),p=bindingCompanion(e,a),c=bindingValue(e,i,r);return{def:r,kind:i,path:l,...d?{onClear:d}:{},...a!==void 0?{seedDraft:a}:{},...p?{companion:!0}:{},...c!==void 0?{value:c}:{},...o??{}}}u(resolveBindableProp,"resolveBindableProp");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var M=Object.defineProperty;var i=(e,t)=>M(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.SHARE_TEMPLATE_ID_MAX=exports.SHARE_FROM_MAX=exports.SHARE_NOTE_MAX=void 0,exports.sanitizePropsBag=sanitizePropsBag,exports.sanitizeShareNote=sanitizeShareNote,exports.sanitizeShareFrom=sanitizeShareFrom,exports.hasTemplateShareParams=hasTemplateShareParams,exports.parseTemplateShareQuery=parseTemplateShareQuery,exports.buildTemplateShareQuery=buildTemplateShareQuery;const types_1=require("@m0saic/types"),payloadCodec_1=require("./payloadCodec");exports.SHARE_NOTE_MAX=200,exports.SHARE_FROM_MAX=500,exports.SHARE_TEMPLATE_ID_MAX=300;const MAX_CANVAS_DIM=16384,MAX_FPS=240,MAX_DURATION_MS=864e5,PROTO_KEYS=new Set(["__proto__","constructor","prototype"]),CONVENTION_KEYS=new Set(["sourceId","sourceIds"]);function isPlainObject(e){return Object.prototype.toString.call(e)==="[object Object]"}i(isPlainObject,"isPlainObject");function sanitizePropsBag(e){if(!isPlainObject(e))return null;const t={};for(const n of Object.keys(e))PROTO_KEYS.has(n)||CONVENTION_KEYS.has(n)||(t[n]=e[n]);return t}i(sanitizePropsBag,"sanitizePropsBag");function blankControlChars(e){let t="";for(const n of e){const o=n.charCodeAt(0);t+=o<32||o===127?" ":n}return t}i(blankControlChars,"blankControlChars");function sanitizeShareNote(e){if(typeof e!="string")return;const t=blankControlChars(e).replace(/\s+/g," ").trim();if(t)return t.length>exports.SHARE_NOTE_MAX?t.slice(0,exports.SHARE_NOTE_MAX):t}i(sanitizeShareNote,"sanitizeShareNote");function sanitizeShareFrom(e){if(typeof e!="string")return;const t=e.trim();if(!t||t.length>exports.SHARE_FROM_MAX)return;let n;try{n=new URL(t)}catch{return}if(!(n.protocol!=="http:"&&n.protocol!=="https:"))return t}i(sanitizeShareFrom,"sanitizeShareFrom");function isValidTemplateId(e){return e.length>0&&e.length<=exports.SHARE_TEMPLATE_ID_MAX&&types_1.NAMESPACED_ID_PATTERN.test(e)}i(isValidTemplateId,"isValidTemplateId");function parseBoundedInt(e,t,n){if(!/^-?\d+$/.test(e))return null;const o=Number(e);return!Number.isSafeInteger(o)||o<t||o>n?null:o}i(parseBoundedInt,"parseBoundedInt");function hasTemplateShareParams(e){return e.has("t")}i(hasTemplateShareParams,"hasTemplateShareParams");async function parseTemplateShareQuery(e,t){const n=e.get("t");if(n==null)return{ok:!1,error:"Missing param: t"};if(!isValidTemplateId(n))return{ok:!1,error:"Invalid template id"};const o=e.get("w"),r=e.get("h");if(o==null!=(r==null))return{ok:!1,error:"Width and height go together"};let a,s;if(o!=null&&r!=null){const l=parseBoundedInt(o,1,MAX_CANVAS_DIM);if(l==null)return{ok:!1,error:`Invalid width: ${o}`};const h=parseBoundedInt(r,1,MAX_CANVAS_DIM);if(h==null)return{ok:!1,error:`Invalid height: ${r}`};a=l,s=h}let d={};const u=e.get("p");if(u!=null){if(!u.startsWith(payloadCodec_1.PAYLOAD_VERSION_PREFIX))return{ok:!1,error:"Unsupported share payload"};let l;try{l=await(0,payloadCodec_1.decodeSharePayload)(u,t)}catch{return{ok:!1,error:"Invalid share payload"}}const h=sanitizePropsBag(l);if(!h)return{ok:!1,error:"Share payload is not a props object"};d=h}const f={},_=e.get("fps");if(_!=null){const l=parseBoundedInt(_,1,MAX_FPS);if(l==null)return{ok:!1,error:`Invalid fps: ${_}`};f.fps=l}const g=e.get("d");if(g!=null){const l=parseBoundedInt(g,1,MAX_DURATION_MS);if(l==null)return{ok:!1,error:`Invalid duration: ${g}`};f.durationMs=l}const c=e.get("f");if(c!=null){if(c!=="video"&&c!=="image")return{ok:!1,error:`Invalid format: ${c}`};f.outputKind=c}const p=e.get("a");if(p!=null){if(p!=="0"&&p!=="1")return{ok:!1,error:`Invalid alpha: ${p}`};f.alpha=p==="1"}const A=sanitizeShareNote(e.get("note")),S=sanitizeShareFrom(e.get("from")),E=S!==void 0&&e.get("bundle")==="1";return{ok:!0,params:{templateId:n,props:d,...a!=null&&s!=null?{w:a,h:s}:{},...Object.keys(f).length>0?{asks:f}:{},...A!==void 0?{note:A}:{},...S!==void 0?{from:S}:{},...E?{bundle:!0}:{}}}}i(parseTemplateShareQuery,"parseTemplateShareQuery");async function buildTemplateShareQuery(e,t){var n,o;const r=new URLSearchParams;r.set("t",e.templateId);const a=(n=sanitizePropsBag(e.props))!==null&&n!==void 0?n:{};if(Object.keys(a).length>0&&r.set("p",await(0,payloadCodec_1.encodeSharePayload)(a,t)),e.w==null!=(e.h==null))throw new Error("Width and height go together");e.w!=null&&e.h!=null&&(r.set("w",String(e.w)),r.set("h",String(e.h)));const s=(o=e.asks)!==null&&o!==void 0?o:{};s.fps!=null&&r.set("fps",String(s.fps)),s.durationMs!=null&&r.set("d",String(s.durationMs)),s.outputKind&&r.set("f",s.outputKind),s.alpha!==void 0&&r.set("a",s.alpha?"1":"0");const d=sanitizeShareNote(e.note);d&&r.set("note",d);const u=sanitizeShareFrom(e.from);return u&&r.set("from",u),u&&e.bundle===!0&&r.set("bundle","1"),r}i(buildTemplateShareQuery,"buildTemplateShareQuery");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function _0x3d7f(_0x2ca6d1,_0x2c1d00){_0x2ca6d1=_0x2ca6d1-0x19d;const _0x3ef447=_0x3ef4();let _0x3d7f88=_0x3ef447[_0x2ca6d1];if(_0x3d7f['ZrPyjS']===undefined){var _0x5c3a0c=function(_0x1280c5){const _0x5a367c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xc256f5='',_0x5132e8='';for(let _0x3974c8=0x0,_0x227bc1,_0x63b061,_0x121c31=0x0;_0x63b061=_0x1280c5['charAt'](_0x121c31++);~_0x63b061&&(_0x227bc1=_0x3974c8%0x4?_0x227bc1*0x40+_0x63b061:_0x63b061,_0x3974c8++%0x4)?_0xc256f5+=String['fromCharCode'](0xff&_0x227bc1>>(-0x2*_0x3974c8&0x6)):0x0){_0x63b061=_0x5a367c['indexOf'](_0x63b061);}for(let _0x55d05c=0x0,_0x4964ed=_0xc256f5['length'];_0x55d05c<_0x4964ed;_0x55d05c++){_0x5132e8+='%'+('00'+_0xc256f5['charCodeAt'](_0x55d05c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5132e8);};_0x3d7f['SVyqlK']=_0x5c3a0c,_0x3d7f['uxCoWd']={},_0x3d7f['ZrPyjS']=!![];}const _0x3e3992=_0x3ef447[0x0],_0xc4f800=_0x2ca6d1+_0x3e3992,_0x1262ae=_0x3d7f['uxCoWd'][_0xc4f800];return!_0x1262ae?(_0x3d7f88=_0x3d7f['SVyqlK'](_0x3d7f88),_0x3d7f['uxCoWd'][_0xc4f800]=_0x3d7f88):_0x3d7f88=_0x1262ae,_0x3d7f88;}const _0x2929bf=_0x3d7f;(function(_0x1697c1,_0x41b0d0){const _0x1a680c=_0x3d7f,_0x13d0cb=_0x1697c1();while(!![]){try{const _0x452c3e=parseInt(_0x1a680c(0x1d7))/0x1+parseInt(_0x1a680c(0x1dd))/0x2*(parseInt(_0x1a680c(0x1b9))/0x3)+-parseInt(_0x1a680c(0x1ba))/0x4*(-parseInt(_0x1a680c(0x1ad))/0x5)+parseInt(_0x1a680c(0x1c8))/0x6*(parseInt(_0x1a680c(0x1bf))/0x7)+-parseInt(_0x1a680c(0x19d))/0x8*(parseInt(_0x1a680c(0x1cd))/0x9)+parseInt(_0x1a680c(0x1a6))/0xa*(-parseInt(_0x1a680c(0x1b5))/0xb)+-parseInt(_0x1a680c(0x1cc))/0xc*(-parseInt(_0x1a680c(0x1a9))/0xd);if(_0x452c3e===_0x41b0d0)break;else _0x13d0cb['push'](_0x13d0cb['shift']());}catch(_0x289dc6){_0x13d0cb['push'](_0x13d0cb['shift']());}}}(_0x3ef4,0x859a9));var _0xc256f5=this&&this[_0x2929bf(0x1d9)]||(Object[_0x2929bf(0x1d4)]?function(_0x5547c8,_0xc33b3a,_0x28bb3f,_0xa4c19c){const _0x3117db=_0x2929bf;_0xa4c19c===void 0x0&&(_0xa4c19c=_0x28bb3f);var _0x5d8bba=Object[_0x3117db(0x1cf)](_0xc33b3a,_0x28bb3f);(!_0x5d8bba||(_0x3117db(0x1a3)in _0x5d8bba?!_0xc33b3a[_0x3117db(0x1ae)]:_0x5d8bba[_0x3117db(0x1d6)]||_0x5d8bba[_0x3117db(0x1d3)]))&&(_0x5d8bba={'enumerable':!0x0,'get':function(){return _0xc33b3a[_0x28bb3f];}}),Object[_0x3117db(0x1ab)](_0x5547c8,_0xa4c19c,_0x5d8bba);}:function(_0x3c13fa,_0x395313,_0x375135,_0x111cdb){_0x111cdb===void 0x0&&(_0x111cdb=_0x375135),_0x3c13fa[_0x111cdb]=_0x395313[_0x375135];}),_0x5132e8=this&&this[_0x2929bf(0x1df)]||(Object[_0x2929bf(0x1d4)]?function(_0x4c0b19,_0x1e1cca){const _0x5585d6=_0x2929bf;Object[_0x5585d6(0x1ab)](_0x4c0b19,_0x5585d6(0x1d5),{'enumerable':!0x0,'value':_0x1e1cca});}:function(_0x12a9d3,_0x47b37e){const _0x3b8e88=_0x2929bf;_0x12a9d3[_0x3b8e88(0x1d5)]=_0x47b37e;}),_0x3974c8=this&&this[_0x2929bf(0x1a0)]||(function(){var _0xeaa41a=function(_0x51e993){const _0x5f2d35=_0x3d7f;return _0xeaa41a=Object[_0x5f2d35(0x1de)]||function(_0x468625){const _0x5cdcf3=_0x5f2d35;var _0x48e781=[];for(var _0xfe45a1 in _0x468625)Object[_0x5cdcf3(0x1c5)][_0x5cdcf3(0x1d0)][_0x5cdcf3(0x1c0)](_0x468625,_0xfe45a1)&&(_0x48e781[_0x48e781[_0x5cdcf3(0x1b3)]]=_0xfe45a1);return _0x48e781;},_0xeaa41a(_0x51e993);};return function(_0x4aa066){const _0x1c8620=_0x3d7f;if(_0x4aa066&&_0x4aa066[_0x1c8620(0x1ae)])return _0x4aa066;var _0x5dff7c={};if(_0x4aa066!=null){for(var _0x57cd98=_0xeaa41a(_0x4aa066),_0x459cfb=0x0;_0x459cfb<_0x57cd98[_0x1c8620(0x1b3)];_0x459cfb++)_0x57cd98[_0x459cfb]!==_0x1c8620(0x1d5)&&_0xc256f5(_0x5dff7c,_0x4aa066,_0x57cd98[_0x459cfb]);}return _0x5132e8(_0x5dff7c,_0x4aa066),_0x5dff7c;};}());Object[_0x2929bf(0x1ab)](exports,_0x2929bf(0x1ae),{'value':!0x0}),exports[_0x2929bf(0x1a5)]=void 0x0,exports[_0x2929bf(0x1da)]=_0x2edac1,exports[_0x2929bf(0x1b7)]=_0x8c10cf,exports[_0x2929bf(0x1b1)]=_0x581d92,exports[_0x2929bf(0x1bd)]=_0x587f52;const _0x227bc1=_0x3974c8(require(_0x2929bf(0x1dc))),_0x63b061=_0x3974c8(require('fs')),_0x121c31=_0x3974c8(require(_0x2929bf(0x1bc))),_0x55d05c=_0x3974c8(require(_0x2929bf(0x1cb)));function _0x4964ed(_0x56be8a,_0x283f13){const _0x2fdaa2=_0x2929bf;return _0x56be8a[_0x2fdaa2(0x1d1)](0x8)[_0x2fdaa2(0x1a8)](_0x283f13-0x1,'0')+'\x00';}function _0x3ef4(){const _0x19117f=['BgvUz3rO','CMvHzezPBgvtEw5J','mtG3CK5TqwHO','yMfKq2HLy2TZDw0','DgfYr3O','ChvZAa','mZyZtxjjvLbe','mtm4nduYtNjeuhbu','ywXSB2m','Cgf0Aa','zw50CMLLC09M','yNL0zuXLBMD0Aa','ntu3mKTnqLfPzW','y2fSBa','y3jLyxrLsgfZAa','yxnJAwK','zNjVBq','AxneAxjLy3rVCNK','ChjVDg90ExbL','ChjLzML4','DxrMoa','mty0neHizwDLBW','zgf0yq','BgLUA25HBwu','EMXPyG','mtCWndG0r1LMANfu','mta0ngjwBgTeqG','DxbKyxrL','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','AgfZt3DUuhjVCgvYDhK','Dg9tDhjPBMC','ugf4sgvHzgvY','y29UzMLNDxjHyMXL','y3jLyxrL','zgvMyxvSDa','D3jPDgfIBgu','ntCZmtmXyxL3D2Po','z3PPCfn5BMm','x19JCMvHDgvcAw5KAw5N','DgfYqNvMzMvY','AM9PBG','y3j5ChrV','mtu3nJr2ufzHwhK','z2v0t3DUuhjVCgvYDhLoyw1LCW','x19ZzxrnB2r1BgvezwzHDwX0','AxncDwzMzxi','ntmYntzxvhH1EKe','Dxn0yxia','ihbHDgG9','x19PBxbVCNrtDgfY','CMvHzgrPCLn5BMm','BMfTzq','z2v0','D3jPDgu','C2HHmJu2','ndGYnJiWC0jIufjJ','icaGicaGica','CgfKu3rHCNq','mtntCezzC0e','DhLWzq','zgvMAw5LuhjVCgvYDhK','zgLNzxn0','ntv0ru5zuxK','x19LC01VzhvSzq','C29YDa','Agv4','Cgf4ugf0Aa','y29Uy2f0'];_0x3ef4=function(){return _0x19117f;};return _0x3ef4();}function _0x2aebf3(_0x53665b,_0x2a682a){const _0x1fdfa9=_0x2929bf;var _0x336f8a;const _0xc5ac6f=Buffer[_0x1fdfa9(0x1bb)](0x200);_0xc5ac6f[_0x1fdfa9(0x1a4)](_0x53665b[_0x1fdfa9(0x1a2)],0x0,0x64,_0x1fdfa9(0x1c7)),_0xc5ac6f[_0x1fdfa9(0x1a4)](_0x4964ed(0x1a4,0x8),0x64,_0x1fdfa9(0x1c2)),_0xc5ac6f[_0x1fdfa9(0x1a4)](_0x4964ed(0x0,0x8),0x6c,_0x1fdfa9(0x1c2)),_0xc5ac6f[_0x1fdfa9(0x1a4)](_0x4964ed(0x0,0x8),0x74,_0x1fdfa9(0x1c2)),_0xc5ac6f[_0x1fdfa9(0x1a4)](_0x4964ed(_0x2a682a,0xc),0x7c,_0x1fdfa9(0x1c2)),_0xc5ac6f[_0x1fdfa9(0x1a4)](_0x4964ed(0x0,0xc),0x88,_0x1fdfa9(0x1c2)),_0xc5ac6f[_0x1fdfa9(0x1a4)](_0x1fdfa9(0x1a7),0x94,_0x1fdfa9(0x1c2)),_0xc5ac6f[_0x1fdfa9(0x1a4)]((_0x336f8a=_0x53665b[_0x1fdfa9(0x1aa)])!==null&&_0x336f8a!==void 0x0?_0x336f8a:'0',0x9c,_0x1fdfa9(0x1c2)),_0x53665b[_0x1fdfa9(0x1ca)]&&_0xc5ac6f[_0x1fdfa9(0x1a4)](_0x53665b[_0x1fdfa9(0x1ca)],0x9d,0x64,_0x1fdfa9(0x1c7)),_0xc5ac6f[_0x1fdfa9(0x1a4)](_0x1fdfa9(0x19e),0x101,_0x1fdfa9(0x1c2)),_0xc5ac6f[_0x1fdfa9(0x1a4)]('00',0x107,_0x1fdfa9(0x1c2)),_0x53665b[_0x1fdfa9(0x1c6)]&&_0xc5ac6f[_0x1fdfa9(0x1a4)](_0x53665b[_0x1fdfa9(0x1c6)],0x159,0x9b,_0x1fdfa9(0x1c7));let _0x3295e5=0x0;for(const _0x19c121 of _0xc5ac6f)_0x3295e5+=_0x19c121;return _0xc5ac6f[_0x1fdfa9(0x1a4)](_0x4964ed(_0x53665b[_0x1fdfa9(0x1b6)]?_0x3295e5+0x1:_0x3295e5,0x7)+'\x20',0x94,_0x1fdfa9(0x1c2)),_0xc5ac6f;}function _0x2edac1(_0x525823){const _0x59afa9=_0x2929bf;var _0x2cd02d;const _0x94cb79=[];for(const _0x413cc3 of _0x525823){const _0xe751d6=Buffer[_0x59afa9(0x1e0)](_0x413cc3[_0x59afa9(0x1c9)])?_0x413cc3[_0x59afa9(0x1c9)]:Buffer[_0x59afa9(0x1c3)]((_0x2cd02d=_0x413cc3[_0x59afa9(0x1c9)])!==null&&_0x2cd02d!==void 0x0?_0x2cd02d:'',_0x59afa9(0x1c7));_0x94cb79[_0x59afa9(0x1b8)](_0x2aebf3(_0x413cc3,_0xe751d6[_0x59afa9(0x1b3)]),_0xe751d6);const _0x15fcbb=_0xe751d6[_0x59afa9(0x1b3)]%0x200;_0x15fcbb&&_0x94cb79[_0x59afa9(0x1b8)](Buffer[_0x59afa9(0x1bb)](0x200-_0x15fcbb));}return _0x94cb79[_0x59afa9(0x1b8)](Buffer[_0x59afa9(0x1bb)](0x400)),Buffer[_0x59afa9(0x1b2)](_0x94cb79);}function _0x8c10cf(_0x2a01c9){const _0x4ee86a=_0x2929bf;return _0x55d05c[_0x4ee86a(0x1d8)](_0x2edac1(_0x2a01c9));}function _0x581d92(_0x319e5e){const _0xfc499d=_0x2929bf,_0x59b060=_0xfc499d(0x19f)+_0x319e5e+'\x0a';let _0x491aab=Buffer[_0xfc499d(0x1be)](_0x59b060)+0x1;for(;Buffer[_0xfc499d(0x1be)](_0x59b060)+String(_0x491aab)[_0xfc499d(0x1b3)]!==_0x491aab;)_0x491aab=Buffer[_0xfc499d(0x1be)](_0x59b060)+String(_0x491aab)[_0xfc499d(0x1b3)];return{'name':_0xfc499d(0x1d2),'type':'x','data':''+_0x491aab+_0x59b060};}function _0x587f52(_0x5c6d0f,_0x475c36=''){const _0xa83ae1=_0x2929bf,_0x4a41be=[];for(const _0x151252 of _0x63b061[_0xa83ae1(0x1a1)](_0x121c31[_0xa83ae1(0x1db)](_0x5c6d0f,_0x475c36),{'withFileTypes':!0x0})[_0xa83ae1(0x1af)]((_0x413c48,_0x33b94d)=>_0x413c48[_0xa83ae1(0x1a2)]<_0x33b94d[_0xa83ae1(0x1a2)]?-0x1:0x1)){const _0x427fcf=_0x475c36?_0x475c36+'/'+_0x151252[_0xa83ae1(0x1a2)]:_0x151252[_0xa83ae1(0x1a2)];_0x151252[_0xa83ae1(0x1c4)]()?_0x4a41be[_0xa83ae1(0x1b8)](..._0x587f52(_0x5c6d0f,_0x427fcf)):_0x4a41be[_0xa83ae1(0x1b8)]({'name':_0x427fcf,'data':_0x63b061[_0xa83ae1(0x1b4)](_0x121c31[_0xa83ae1(0x1db)](_0x5c6d0f,_0x427fcf))});}return _0x4a41be[_0xa83ae1(0x1af)]((_0x4959de,_0x4dd76a)=>_0x4959de[_0xa83ae1(0x1a2)]<_0x4dd76a[_0xa83ae1(0x1a2)]?-0x1:_0x4959de[_0xa83ae1(0x1a2)]>_0x4dd76a[_0xa83ae1(0x1a2)]?0x1:0x0);}const _0x5c37ac=_0x1a1c1f=>_0x227bc1[_0x2929bf(0x1c1)](_0x2929bf(0x1a5))[_0x2929bf(0x1ce)](_0x1a1c1f)[_0x2929bf(0x1ac)](_0x2929bf(0x1b0));exports[_0x2929bf(0x1a5)]=_0x5c37ac;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x36cabf=_0x4ebe;(function(_0x27d9bc,_0x44c8a2){const _0x4b6611=_0x4ebe,_0x3292e8=_0x27d9bc();while(!![]){try{const _0x409f80=parseInt(_0x4b6611(0x1cd))/0x1*(parseInt(_0x4b6611(0x17b))/0x2)+-parseInt(_0x4b6611(0x1aa))/0x3+-parseInt(_0x4b6611(0x177))/0x4*(parseInt(_0x4b6611(0x1bf))/0x5)+parseInt(_0x4b6611(0x1fd))/0x6*(parseInt(_0x4b6611(0x205))/0x7)+-parseInt(_0x4b6611(0x1d9))/0x8*(parseInt(_0x4b6611(0x1d0))/0x9)+-parseInt(_0x4b6611(0x1b7))/0xa*(parseInt(_0x4b6611(0x1c8))/0xb)+parseInt(_0x4b6611(0x1e8))/0xc*(parseInt(_0x4b6611(0x1a6))/0xd);if(_0x409f80===_0x44c8a2)break;else _0x3292e8['push'](_0x3292e8['shift']());}catch(_0x190004){_0x3292e8['push'](_0x3292e8['shift']());}}}(_0x29b6,0x2488c));var _0x1a3888=this&&this[_0x36cabf(0x1a5)]||(Object[_0x36cabf(0x17f)]?function(_0x44f500,_0x1d9716,_0x167e0f,_0x3097a3){const _0x39f015=_0x36cabf;_0x3097a3===void 0x0&&(_0x3097a3=_0x167e0f);var _0x16fe90=Object[_0x39f015(0x1ee)](_0x1d9716,_0x167e0f);(!_0x16fe90||(_0x39f015(0x175)in _0x16fe90?!_0x1d9716[_0x39f015(0x1e9)]:_0x16fe90[_0x39f015(0x1e1)]||_0x16fe90[_0x39f015(0x1e4)]))&&(_0x16fe90={'enumerable':!0x0,'get':function(){return _0x1d9716[_0x167e0f];}}),Object[_0x39f015(0x1ca)](_0x44f500,_0x3097a3,_0x16fe90);}:function(_0x4f6f28,_0x1e80d1,_0x4ce9ca,_0x4cd558){_0x4cd558===void 0x0&&(_0x4cd558=_0x4ce9ca),_0x4f6f28[_0x4cd558]=_0x1e80d1[_0x4ce9ca];}),_0x3a4928=this&&this[_0x36cabf(0x199)]||(Object[_0x36cabf(0x17f)]?function(_0x787043,_0x49b796){const _0xeb64f=_0x36cabf;Object[_0xeb64f(0x1ca)](_0x787043,_0xeb64f(0x17d),{'enumerable':!0x0,'value':_0x49b796});}:function(_0x18dab9,_0x203311){const _0x3165b1=_0x36cabf;_0x18dab9[_0x3165b1(0x17d)]=_0x203311;}),_0x32f95e=this&&this[_0x36cabf(0x1bb)]||(function(){var _0x5e7ae9=function(_0x152e4b){const _0x2eca6b=_0x4ebe;return _0x5e7ae9=Object[_0x2eca6b(0x1a8)]||function(_0x5ebc1d){const _0x1bf167=_0x2eca6b;var _0x520853=[];for(var _0x2a5689 in _0x5ebc1d)Object[_0x1bf167(0x1da)][_0x1bf167(0x1c1)][_0x1bf167(0x186)](_0x5ebc1d,_0x2a5689)&&(_0x520853[_0x520853[_0x1bf167(0x1fc)]]=_0x2a5689);return _0x520853;},_0x5e7ae9(_0x152e4b);};return function(_0x14d64f){const _0x1f1737=_0x4ebe;if(_0x14d64f&&_0x14d64f[_0x1f1737(0x1e9)])return _0x14d64f;var _0x5f4d1c={};if(_0x14d64f!=null){for(var _0x1587bc=_0x5e7ae9(_0x14d64f),_0x523c8e=0x0;_0x523c8e<_0x1587bc[_0x1f1737(0x1fc)];_0x523c8e++)_0x1587bc[_0x523c8e]!==_0x1f1737(0x17d)&&_0x1a3888(_0x5f4d1c,_0x14d64f,_0x1587bc[_0x523c8e]);}return _0x3a4928(_0x5f4d1c,_0x14d64f),_0x5f4d1c;};}());Object[_0x36cabf(0x1ca)](exports,_0x36cabf(0x1e9),{'value':!0x0}),exports[_0x36cabf(0x1e0)]=exports[_0x36cabf(0x17a)]=exports[_0x36cabf(0x1d7)]=exports[_0x36cabf(0x1ae)]=exports[_0x36cabf(0x1c9)]=exports[_0x36cabf(0x1af)]=void 0x0,exports[_0x36cabf(0x191)]=_0x31d56,exports[_0x36cabf(0x18f)]=_0x3b1db5,exports[_0x36cabf(0x1a0)]=_0x75a71c,exports[_0x36cabf(0x179)]=_0x45fcb6,exports[_0x36cabf(0x1b8)]=_0x5b1142,exports[_0x36cabf(0x1f5)]=_0x40549b,exports[_0x36cabf(0x200)]=_0x51500a,exports[_0x36cabf(0x1dc)]=_0xffa744,exports[_0x36cabf(0x1e3)]=_0x1d8f3b;const _0x221b09=_0x32f95e(require(_0x36cabf(0x1cf))),_0x723c8b=_0x32f95e(require('fs')),_0x376139=_0x32f95e(require(_0x36cabf(0x194))),_0x5b05bb=require(_0x36cabf(0x172));exports[_0x36cabf(0x1af)]=0x1,exports[_0x36cabf(0x1c9)]=_0x36cabf(0x184),exports[_0x36cabf(0x1ae)]=_0x36cabf(0x1d4),exports[_0x36cabf(0x1d7)]=_0x36cabf(0x1d5),exports[_0x36cabf(0x17a)]=[_0x36cabf(0x174),_0x36cabf(0x1df),_0x36cabf(0x1b5)];class _0x2f894f extends Error{constructor(_0x11a01c){const _0x233816=_0x36cabf;super(_0x233816(0x1a1)+_0x11a01c[_0x233816(0x1ed)]+':\x20'+_0x11a01c[_0x233816(0x198)]+')'),this[_0x233816(0x1f3)]=_0x233816(0x1e0),this[_0x233816(0x1c5)]=_0x11a01c;}}exports[_0x36cabf(0x1e0)]=_0x2f894f;const _0x527aaf=/^[0-9a-f]{64}$/,_0x512e5f=/^[A-Za-z0-9][\w.-]*$/,_0x33b476=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,9})?(?:Z|[+-]\d{2}:\d{2})$/,_0x4b8e26=_0x36cabf(0x1c4);function _0x5573fe(_0x4ff63d){const _0x3220ba=_0x36cabf;return _0x4ff63d[_0x3220ba(0x1a9)]()===_0x4b8e26;}function _0xb77a08(_0x1519eb){const _0x42f128=_0x36cabf;return _0x221b09[_0x42f128(0x1c7)](_0x42f128(0x1e6))[_0x42f128(0x18b)](_0x1519eb)[_0x42f128(0x1b1)](_0x42f128(0x1e2));}function _0x31d56(_0x167373){const _0x5c37bc=_0x36cabf,_0x1ad6dc=_0x723c8b[_0x5c37bc(0x1c2)](_0x167373);if(_0x167373[_0x5c37bc(0x1a9)]()[_0x5c37bc(0x1a7)](_0x5c37bc(0x1f7)))try{const _0x449bd8=_0x1ad6dc[_0x5c37bc(0x204)](_0x5c37bc(0x1b6))[_0x5c37bc(0x182)](/^/,'');return _0xb77a08(JSON[_0x5c37bc(0x1f2)](JSON[_0x5c37bc(0x1ab)](_0x449bd8)));}catch{}return _0xb77a08(_0x1ad6dc);}function _0x1232a7(_0x4a8849){const _0x2b7371=_0x36cabf;try{const _0x5b0ae5=_0x723c8b[_0x2b7371(0x1be)](_0x4a8849,{'withFileTypes':!0x0});return _0x5b0ae5[_0x2b7371(0x1a4)]((_0x24a6e2,_0x530c22)=>_0x24a6e2[_0x2b7371(0x1f3)]<_0x530c22[_0x2b7371(0x1f3)]?-0x1:_0x24a6e2[_0x2b7371(0x1f3)]>_0x530c22[_0x2b7371(0x1f3)]?0x1:0x0),_0x5b0ae5;}catch{return null;}}function _0x2efd55(_0x487166){const _0x5c0acc=_0x36cabf;return _0x487166[_0x5c0acc(0x18c)]()?_0x5c0acc(0x203):_0x487166[_0x5c0acc(0x1f1)]()?_0x5c0acc(0x1b4):_0x487166[_0x5c0acc(0x190)]()?_0x5c0acc(0x187):_0x5c0acc(0x192);}function _0x39ee4e(_0x272bce){const _0xb0ae7=_0x36cabf;try{const _0x539319=_0x723c8b[_0xb0ae7(0x1ec)](_0x272bce);return _0x539319[_0xb0ae7(0x18c)]()?_0xb0ae7(0x203):_0x539319[_0xb0ae7(0x1f1)]()?_0xb0ae7(0x1b4):_0x539319[_0xb0ae7(0x190)]()?_0xb0ae7(0x187):_0xb0ae7(0x192);}catch{return _0xb0ae7(0x195);}}function _0x37dd7c(_0x4a2dd2,_0xbe38c4,_0xa0f6b8){const _0x52910a=_0x36cabf,_0x3c8ccd=_0x1232a7(_0x4a2dd2);if(_0x3c8ccd)for(const _0x4d4b43 of _0x3c8ccd){const _0x1c487b=_0xbe38c4?_0xbe38c4+'/'+_0x4d4b43[_0x52910a(0x1f3)]:_0x4d4b43[_0x52910a(0x1f3)];switch(_0x2efd55(_0x4d4b43)){case _0x52910a(0x203):break;case _0x52910a(0x1b4):_0x37dd7c(_0x376139[_0x52910a(0x196)](_0x4a2dd2,_0x4d4b43[_0x52910a(0x1f3)]),_0x1c487b,_0xa0f6b8);break;case _0x52910a(0x187):_0xa0f6b8[_0x52910a(0x1a2)](_0x1c487b);break;case _0x52910a(0x192):throw new _0x2f894f({'reason':_0x52910a(0x1c0),'detail':_0x1c487b});}}}function _0x4ebe(_0x168df5,_0x47ee98){_0x168df5=_0x168df5-0x171;const _0x29b678=_0x29b6();let _0x4ebe38=_0x29b678[_0x168df5];if(_0x4ebe['sGgJTf']===undefined){var _0x2e4ae3=function(_0x28a57f){const _0x5786ba='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a3888='',_0x3a4928='';for(let _0x32f95e=0x0,_0x221b09,_0x723c8b,_0x376139=0x0;_0x723c8b=_0x28a57f['charAt'](_0x376139++);~_0x723c8b&&(_0x221b09=_0x32f95e%0x4?_0x221b09*0x40+_0x723c8b:_0x723c8b,_0x32f95e++%0x4)?_0x1a3888+=String['fromCharCode'](0xff&_0x221b09>>(-0x2*_0x32f95e&0x6)):0x0){_0x723c8b=_0x5786ba['indexOf'](_0x723c8b);}for(let _0x5b05bb=0x0,_0x2f894f=_0x1a3888['length'];_0x5b05bb<_0x2f894f;_0x5b05bb++){_0x3a4928+='%'+('00'+_0x1a3888['charCodeAt'](_0x5b05bb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3a4928);};_0x4ebe['rTPQgh']=_0x2e4ae3,_0x4ebe['uxvXpC']={},_0x4ebe['sGgJTf']=!![];}const _0xf54b97=_0x29b678[0x0],_0x3a1d94=_0x168df5+_0xf54b97,_0x46cfa3=_0x4ebe['uxvXpC'][_0x3a1d94];return!_0x46cfa3?(_0x4ebe38=_0x4ebe['rTPQgh'](_0x4ebe38),_0x4ebe['uxvXpC'][_0x3a1d94]=_0x4ebe38):_0x4ebe38=_0x46cfa3,_0x4ebe38;}function _0x452b94(_0x2d502c,_0x10d8d9){const _0x3bf028=_0x36cabf,_0x315cf3=_0x1232a7(_0x2d502c);if(!_0x315cf3)return null;for(const _0x191743 of _0x315cf3){const _0x460bd0=_0x10d8d9+'/'+_0x191743[_0x3bf028(0x1f3)];switch(_0x2efd55(_0x191743)){case _0x3bf028(0x203):return{'reason':_0x3bf028(0x201),'detail':_0x460bd0};case _0x3bf028(0x192):return{'reason':_0x3bf028(0x1c0),'detail':_0x460bd0};case _0x3bf028(0x187):break;case _0x3bf028(0x1b4):{if(_0x5573fe(_0x191743[_0x3bf028(0x1f3)]))return{'reason':_0x3bf028(0x171),'detail':_0x460bd0};const _0x35c908=_0x452b94(_0x376139[_0x3bf028(0x196)](_0x2d502c,_0x191743[_0x3bf028(0x1f3)]),_0x460bd0);if(_0x35c908)return _0x35c908;}}}return null;}function _0x3b1db5(_0x4a96aa){const _0x541fa2=_0x36cabf,_0xcea07f=_0x1232a7(_0x4a96aa);if(_0xcea07f)for(const _0x11742a of _0xcea07f){const _0x5bddd8=_0x2efd55(_0x11742a);if(_0x5bddd8===_0x541fa2(0x203))return{'reason':_0x541fa2(0x201),'detail':_0x11742a[_0x541fa2(0x1f3)]};if(_0x5bddd8===_0x541fa2(0x192))return{'reason':_0x541fa2(0x1c0),'detail':_0x11742a[_0x541fa2(0x1f3)]};if(_0x5bddd8===_0x541fa2(0x1b4)&&_0x5573fe(_0x11742a[_0x541fa2(0x1f3)]))return{'reason':_0x541fa2(0x171),'detail':_0x11742a[_0x541fa2(0x1f3)]};}const _0x4dbc3d=_0x39ee4e(_0x376139[_0x541fa2(0x196)](_0x4a96aa,exports[_0x541fa2(0x1d7)]));if(_0x4dbc3d===_0x541fa2(0x203))return{'reason':_0x541fa2(0x201),'detail':exports[_0x541fa2(0x1d7)]};if(_0x4dbc3d===_0x541fa2(0x192))return{'reason':_0x541fa2(0x1c0),'detail':exports[_0x541fa2(0x1d7)]};if(_0x4dbc3d===_0x541fa2(0x1b4)){const _0x4766a4=_0x452b94(_0x376139[_0x541fa2(0x196)](_0x4a96aa,exports[_0x541fa2(0x1d7)]),exports[_0x541fa2(0x1d7)]);if(_0x4766a4)return _0x4766a4;}for(const _0x4c417d of exports[_0x541fa2(0x17a)]){const _0x4269a4=_0x39ee4e(_0x376139[_0x541fa2(0x196)](_0x4a96aa,_0x4c417d));if(_0x4269a4===_0x541fa2(0x203))return{'reason':_0x541fa2(0x201),'detail':_0x4c417d};if(_0x4269a4===_0x541fa2(0x192))return{'reason':_0x541fa2(0x1c0),'detail':_0x4c417d};}return null;}function _0x75a71c(_0x2d08fe){const _0x2c89ec=_0x36cabf,_0x5c8730=[],_0x5b161d=_0x376139[_0x2c89ec(0x196)](_0x2d08fe,exports[_0x2c89ec(0x1d7)]),_0x359650=_0x39ee4e(_0x5b161d);if(_0x359650===_0x2c89ec(0x192))throw new _0x2f894f({'reason':_0x2c89ec(0x1c0),'detail':exports[_0x2c89ec(0x1d7)]});_0x359650===_0x2c89ec(0x1b4)&&_0x37dd7c(_0x5b161d,exports[_0x2c89ec(0x1d7)],_0x5c8730);for(const _0xcd03a3 of exports[_0x2c89ec(0x17a)]){const _0x522cc0=_0x39ee4e(_0x376139[_0x2c89ec(0x196)](_0x2d08fe,_0xcd03a3));if(_0x522cc0===_0x2c89ec(0x192))throw new _0x2f894f({'reason':_0x2c89ec(0x1c0),'detail':_0xcd03a3});_0x522cc0===_0x2c89ec(0x187)&&_0x5c8730[_0x2c89ec(0x1a2)](_0xcd03a3);}return _0x5c8730[_0x2c89ec(0x1a4)]((_0xae3078,_0x239339)=>_0xae3078<_0x239339?-0x1:_0xae3078>_0x239339?0x1:0x0),_0x5c8730[_0x2c89ec(0x1b2)](_0xb54f16=>({'path':_0xb54f16,'sha256':_0x31d56(_0x376139[_0x2c89ec(0x196)](_0x2d08fe,..._0xb54f16[_0x2c89ec(0x1e7)]('/')))}));}function _0x45fcb6(_0x9ee218){const _0x32529b=_0x36cabf;return _0x75a71c(_0x9ee218)[_0x32529b(0x1b2)](_0x2f70f9=>_0x2f70f9[_0x32529b(0x194)]+'\x00'+_0x2f70f9[_0x32529b(0x1e6)]+'\x0a')[_0x32529b(0x196)]('');}function _0x5b1142(_0x5197d9){return _0xb77a08(_0x45fcb6(_0x5197d9));}function _0x40549b(_0x3f5566,_0x202218,_0x34f70b){const _0x566b11=_0x36cabf;return Buffer[_0x566b11(0x1bd)](exports[_0x566b11(0x1c9)]+'\x0a'+_0x3f5566+'\x0a'+_0x202218+'\x0a'+_0x34f70b+'\x0a',_0x566b11(0x1b6));}function _0x51500a(_0x4b9761){const _0x516187=_0x36cabf;var _0x15cf44,_0x1dba91;if(!_0x512e5f[_0x516187(0x17e)](_0x4b9761[_0x516187(0x178)]))throw new Error(_0x516187(0x193)+_0x4b9761[_0x516187(0x178)]+'\x22');if(!_0x4b9761[_0x516187(0x188)]||typeof _0x4b9761[_0x516187(0x188)]!=_0x516187(0x1e5))throw new Error(_0x516187(0x197));const _0x4b9ac4=_0x3b1db5(_0x4b9761[_0x516187(0x185)]);if(_0x4b9ac4)throw new _0x2f894f(_0x4b9ac4);const _0x26efe6=((_0x15cf44=_0x4b9761[_0x516187(0x1f4)])!==null&&_0x15cf44!==void 0x0?_0x15cf44:new Date())[_0x516187(0x1dd)](),_0x1f8efa=_0x5b1142(_0x4b9761[_0x516187(0x185)]),_0x38366b=_0x221b09[_0x516187(0x1fa)](_0x4b9761[_0x516187(0x1cc)]);if(_0x38366b[_0x516187(0x1d6)]!==_0x516187(0x1db))throw new Error(_0x516187(0x1ea)+((_0x1dba91=_0x38366b[_0x516187(0x1d6)])!==null&&_0x1dba91!==void 0x0?_0x1dba91:_0x516187(0x173))+_0x516187(0x1de));const _0x1c074f=_0x221b09[_0x516187(0x1c6)](null,_0x40549b(_0x4b9761[_0x516187(0x178)],_0x26efe6,_0x1f8efa),_0x38366b);return{'schemaVersion':exports[_0x516187(0x1af)],'tag':_0x4b9761[_0x516187(0x178)],'publishedAt':_0x26efe6,'treeSha256':_0x1f8efa,'signature':{'kid':_0x4b9761[_0x516187(0x188)],'alg':_0x516187(0x1db),'sig':_0x1c074f[_0x516187(0x204)](_0x516187(0x1b9))}};}function _0xffa744(_0x5683e7,_0x2acf1b,_0x1145e4){const _0x2c5801=_0x36cabf;if(!_0x512e5f[_0x2c5801(0x17e)](_0x2acf1b))throw new Error(_0x2c5801(0x193)+_0x2acf1b+'\x22');return{'schemaVersion':exports[_0x2c5801(0x1af)],'tag':_0x2acf1b,'publishedAt':(_0x1145e4??new Date())[_0x2c5801(0x1dd)](),'treeSha256':_0x5b1142(_0x5683e7)};}function _0x1d8f3b(_0x40c6ce){const _0x3a64b6=_0x36cabf;var _0x1c8801;const _0xb87512=(_0x1c8801=_0x40c6ce[_0x3a64b6(0x1a3)])!==null&&_0x1c8801!==void 0x0?_0x1c8801:_0x5b05bb[_0x3a64b6(0x18d)],_0x2a6152=_0x376139[_0x3a64b6(0x196)](_0x40c6ce[_0x3a64b6(0x185)],exports[_0x3a64b6(0x1ae)]),_0x11b445=_0x39ee4e(_0x2a6152);if(_0x11b445===_0x3a64b6(0x203))return{'ok':!0x1,'reason':_0x3a64b6(0x201),'detail':exports[_0x3a64b6(0x1ae)]};if(_0x11b445===_0x3a64b6(0x192))return{'ok':!0x1,'reason':_0x3a64b6(0x1c0),'detail':exports[_0x3a64b6(0x1ae)]};let _0x58df3e;try{_0x58df3e=_0x723c8b[_0x3a64b6(0x1c2)](_0x2a6152,_0x3a64b6(0x1b6));}catch{return{'ok':!0x1,'reason':_0x3a64b6(0x1b3),'detail':_0x3a64b6(0x1d1)+exports[_0x3a64b6(0x1ae)]+_0x3a64b6(0x1ac)};}let _0x21f2ba;try{_0x21f2ba=JSON[_0x3a64b6(0x1ab)](_0x58df3e[_0x3a64b6(0x182)](/^/,''));}catch{return{'ok':!0x1,'reason':_0x3a64b6(0x1d3),'detail':exports[_0x3a64b6(0x1ae)]+_0x3a64b6(0x18a)};}if(!_0x21f2ba||typeof _0x21f2ba!=_0x3a64b6(0x19b)||Array[_0x3a64b6(0x1c3)](_0x21f2ba))return{'ok':!0x1,'reason':_0x3a64b6(0x1d3),'detail':exports[_0x3a64b6(0x1ae)]+_0x3a64b6(0x1fb)};const _0x8e1616=_0x21f2ba;if(typeof _0x8e1616[_0x3a64b6(0x178)]!=_0x3a64b6(0x1e5)||!_0x512e5f[_0x3a64b6(0x17e)](_0x8e1616[_0x3a64b6(0x178)]))return{'ok':!0x1,'reason':_0x3a64b6(0x1d3),'detail':_0x3a64b6(0x19c)};const _0xd1696f=_0x8e1616[_0x3a64b6(0x178)];if(_0x8e1616[_0x3a64b6(0x183)]===void 0x0||_0x8e1616[_0x3a64b6(0x183)]===null)return{'ok':!0x1,'reason':_0x3a64b6(0x1f9),'detail':exports[_0x3a64b6(0x1ae)]+_0x3a64b6(0x1f6)};if(_0x8e1616[_0x3a64b6(0x176)]!==exports[_0x3a64b6(0x1af)])return{'ok':!0x1,'reason':_0x3a64b6(0x1d3),'detail':_0x3a64b6(0x1cb)+String(_0x8e1616[_0x3a64b6(0x176)])+_0x3a64b6(0x1ba)+exports[_0x3a64b6(0x1af)]};if(typeof _0x8e1616[_0x3a64b6(0x181)]!=_0x3a64b6(0x1e5)||!_0x527aaf[_0x3a64b6(0x17e)](_0x8e1616[_0x3a64b6(0x181)]))return{'ok':!0x1,'reason':_0x3a64b6(0x1d3),'detail':_0x3a64b6(0x1ef)};if(typeof _0x8e1616[_0x3a64b6(0x19f)]!=_0x3a64b6(0x1e5)||!_0x33b476[_0x3a64b6(0x17e)](_0x8e1616[_0x3a64b6(0x19f)]))return{'ok':!0x1,'reason':_0x3a64b6(0x1d3),'detail':_0x3a64b6(0x17c)};const _0x35049a=_0x8e1616[_0x3a64b6(0x19f)],_0x5da7dd=_0x8e1616[_0x3a64b6(0x183)];if(!_0x5da7dd||typeof _0x5da7dd!=_0x3a64b6(0x19b)||Array[_0x3a64b6(0x1c3)](_0x5da7dd))return{'ok':!0x1,'reason':_0x3a64b6(0x1d3),'detail':_0x3a64b6(0x1ce)};const {kid:_0x5e3f68,alg:_0xdfa2b4,sig:_0x1e652d}=_0x5da7dd;if(typeof _0x5e3f68!=_0x3a64b6(0x1e5)||!_0x5e3f68)return{'ok':!0x1,'reason':_0x3a64b6(0x1d3),'detail':_0x3a64b6(0x19e)};if(_0xdfa2b4!==_0x3a64b6(0x1db))return{'ok':!0x1,'reason':_0x3a64b6(0x1d3),'detail':_0x3a64b6(0x1b0)+String(_0xdfa2b4)+_0x3a64b6(0x189)};if(typeof _0x1e652d!=_0x3a64b6(0x1e5)||!_0x1e652d)return{'ok':!0x1,'reason':_0x3a64b6(0x1d3),'detail':_0x3a64b6(0x18e)};const _0x5b1f6f=_0xb87512[_0x5e3f68];if(!_0x5b1f6f)return{'ok':!0x1,'reason':_0x3a64b6(0x202),'detail':_0x3a64b6(0x19a)+_0x5e3f68+_0x3a64b6(0x1d8)};let _0x4612b2;try{if(_0x4612b2=Buffer[_0x3a64b6(0x1bd)](_0x1e652d,_0x3a64b6(0x1b9)),_0x4612b2[_0x3a64b6(0x1fc)]===0x0)throw new Error(_0x3a64b6(0x1f0));}catch{return{'ok':!0x1,'reason':_0x3a64b6(0x1d3),'detail':_0x3a64b6(0x19d)};}let _0x361759=!0x1;try{_0x361759=_0x221b09[_0x3a64b6(0x1ad)](null,_0x40549b(_0xd1696f,_0x35049a,_0x8e1616[_0x3a64b6(0x181)]),_0x221b09[_0x3a64b6(0x1ff)](_0x5b1f6f),_0x4612b2);}catch{_0x361759=!0x1;}if(!_0x361759)return{'ok':!0x1,'reason':_0x3a64b6(0x1f8),'detail':_0x3a64b6(0x1fe)+_0xd1696f+'\x20('+_0x5e3f68+')'};const _0x7aaccf=_0x3b1db5(_0x40c6ce[_0x3a64b6(0x185)]);if(_0x7aaccf)return{'ok':!0x1,'reason':_0x7aaccf[_0x3a64b6(0x1ed)],'detail':_0x7aaccf[_0x3a64b6(0x198)]};let _0x5ee5a3;try{_0x5ee5a3=_0x5b1142(_0x40c6ce[_0x3a64b6(0x185)]);}catch(_0x279f43){return _0x279f43 instanceof _0x2f894f?{'ok':!0x1,'reason':_0x279f43[_0x3a64b6(0x1c5)][_0x3a64b6(0x1ed)],'detail':_0x279f43[_0x3a64b6(0x1c5)][_0x3a64b6(0x198)]}:{'ok':!0x1,'reason':_0x3a64b6(0x180),'detail':_0x3a64b6(0x1eb)+(_0x279f43 instanceof Error?_0x279f43[_0x3a64b6(0x1bc)]:String(_0x279f43))};}return _0x5ee5a3!==_0x8e1616[_0x3a64b6(0x181)]?{'ok':!0x1,'reason':_0x3a64b6(0x180),'detail':_0x3a64b6(0x1d2)}:{'ok':!0x0,'tag':_0xd1696f,'kid':_0x5e3f68,'treeSha256':_0x8e1616[_0x3a64b6(0x181)]};}function _0x29b6(){const _0x595d1a=['x19PBxbVCNrtDgfY','BwvZC2fNzq','zNjVBq','CMvHzgrPCLn5BMm','mteYntu1vwDTs1rU','C3bLy2LHBc1MAwXLlwLUlxrYzwu','AgfZt3DUuhjVCgvYDhK','CMvHzezPBgvtEw5J','AxnbCNjHEq','BM9Kzv9TB2r1BgvZ','ChjVyMXLBq','C2LNBG','y3jLyxrLsgfZAa','mtfODgnPA1K','q09ntvvosvrzx1jftevbu0vFuefzte9brf9quKvgsvG','zgvMAw5LuhjVCgvYDhK','CMvSzwfZzsbZy2HLBwfwzxjZAw9Uia','ChjPDMf0zuTLEvbLBq','ntu2rfD6qNDQ','C2LNBMf0DxjLigLZig5VDcbHBIbVyMPLy3q','y3j5ChrV','mte5mdy5mujiBNHoDW','BM8G','CMvSzwfZzsb0CMvLigrPzMzLCNmGzNjVBsb0AguGC2LNBMvKig9UzsaOzgLZDc8SihrLBxbSyxrLlw1HBMLMzxn0lMPZB24GB3iGCgfJA2fNzs5QC29Uig1VzgLMAwvKkq','BwfSzM9YBwvK','CMvSzwfZzs5QC29U','zgLZDa','yxn5Bw1LDhjPy0TLEvr5Cgu','q09ntvvosvrzx1jftevbu0vFu0LhtKvex0rjuG','iIdIGjqGDxbKyxrLig0WC2fPyYbVCIbYzs1JAgvJAYb0AguGy2HLy2TVDxq','mtzUqLLxzMG','ChjVDg90ExbL','zwqYntuXoq','yNvPBgrvBNnPz25LzenVBw11BML0EvjLBgvHC2u','Dg9ju09tDhjPBMC','lcbLEhbLy3rLzcbLzdi1nte5','CgfJA2fNzs5QC29U','uMvSzwfZzvrYzwvfCNjVCG','D3jPDgfIBgu','Agv4','DMvYAwz5q29TBxvUAxr5uMvSzwfZzq','y29UzMLNDxjHyMXL','C3rYAw5N','C2HHmJu2','C3bSAxq','mtjXvKnHrfK','x19LC01VzhvSzq','C2LNBMLUzYbRzxKGAxmG','y291BgqGBM90igHHC2GGDgHLignOzwnRB3v0oIa','Bhn0yxrtEw5J','CMvHC29U','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','DhjLzvnOyti1nIbTAxnZAw5Nig9Yig5VDcbHigHLEcbZAgeYnty','zw1WDhK','AxneAxjLy3rVCNK','C3rYAw5NAwz5','BMfTzq','BM93','yNvPBgrszwXLyxnLugf5Bg9Hza','ignHCNjPzxmGBM8GC2LNBMf0DxjLicH1BNnPz25LzcbZBMfWC2HVDcK','lMPZB24','yMfKlxnPz25HDhvYzq','BwLZC2LUzY1ZAwDUyxr1CMu','y3jLyxrLuhjPDMf0zuTLEq','igLZig5VDcbHBIbVyMPLy3q','BgvUz3rO','mtHQu1f4zMi','C2LNBMf0DxjLignOzwnRigzHAwXLzcbMB3iGDgfNia','y3jLyxrLuhvIBgLJs2v5','C2LNBKnVBw11BML0EvjLBgvHC2u','C3LTBgLUAY1PBI10CMvL','Dw5RBM93BI1RAwq','C3LTBgLUAW','Dg9tDhjPBMC','mZi3mdi2BhjNvvvS','zM9YzwLNBI1TB2r1BgvZ','lI9WDwjSAwnlzxLZ','Dw5RBM93BG','DgvTCgXHDguTBwfUAwzLC3qUANnVBG','z2v0','C2nOzw1HvMvYC2LVBG','ndrgyLPNDu8','DgfN','yNvPBgrszwXLyxnLvhjLzuXPC3rPBMC','q09ntvvosvrzx1jftevbu0vFu0LhtKvex0zjtevt','mtK0DMr0teTI','ChvIBgLZAgvKqxqGBwLZC2LUzYbVCIbUB3qGyw4GsvnpidG2mdeGDgLTzxn0yw1W','zgvMyxvSDa','DgvZDa','y3jLyxrL','DhjLzs1TAxnTyxrJAa','DhjLzvnOyti1nG','CMvWBgfJzq','C2LNBMf0DxjL','BtbZywLJlwnVBw11BML0Es1YzwXLyxnLl3yX','CMvWB0rPCG','y2fSBa','zMLSzq','A2LK','iIbPCYbUB3qGzwqYntuXoq','igLZig5VDcb2ywXPzcbku09o','DxbKyxrL','AxntEw1IB2XPy0XPBMS','teLdru5trv9qvujmsunFs0vzuW','C2LNBMf0DxjLlNnPzYbTAxnZAw5N','Aw5ZCgvJDfjLBgvHC2vuCMvL','AxngAwXL','AgfZAfjLBgvHC2vgAwXL','C3bLy2LHBa','Aw52ywXPzcbYzwXLyxnLihrHzYaI','Cgf0Aa','BwLZC2LUzW','AM9PBG','BwLZC2LUzYbZAwDUAw5NigTPza','zgv0ywLS','x19ZzxrnB2r1BgvezwzHDwX0','Dw5RBM93BIbZAwDUAw5NigTLEsaI','B2jQzwn0','CMvSzwfZzsb0ywCGBwLZC2LUzYbVCIbPBNzHBgLK','C2LNBMf0DxjLlNnPzYbPCYbUB3qGyMfZzty0DxjS','C2LNBMf0DxjLlMTPzcbTAxnZAw5N','ChvIBgLZAgvKqxq','BgLZDfjLBgvHC2vuCMvL','CMvSzwfZzsb0CMvLihDVDwXKig5VDcb2zxjPzNKGka','ChvZAa','ChvIBgLJs2v5CW','C29YDa','x19JCMvHDgvcAw5KAw5N','mtiYodK5nZLOChn6wMi','zw5KC1DPDgG','z2v0t3DUuhjVCgvYDhLoyw1LCW','Dg9mB3DLCKnHC2u','nZm4mdeYBKPIsfnh','CgfYC2u','igLUignOzwnRB3v0','DMvYAwz5','q09ntvvosvrzx1jftevbu0vFrKLmrq','q09ntvvosvrzx1jftevbu0vFu0niru1bx1zfuLnjt04','C2LNBMf0DxjLlMfSzYaI','zgLNzxn0','BwfW','BwLZC2LUzY1YzwXLyxnL','zgLY','DgvTCgXHDguTy2f0ywXVzY5QC29U','DxrMoa','mJmXnJaYmfLoqLPrvG','y29TChv0zvjLBgvHC2vuCMvLu2HHmJu2','yMfZzty0DxjS','ice9psa'];_0x29b6=function(){return _0x595d1a;};return _0x29b6();}
|
|
1
|
+
'use strict';const _0x5a0d47=_0x1829;(function(_0x24db96,_0x4e3adf){const _0x4b2079=_0x1829,_0xdc7524=_0x24db96();while(!![]){try{const _0x431897=parseInt(_0x4b2079(0x177))/0x1+parseInt(_0x4b2079(0x162))/0x2*(-parseInt(_0x4b2079(0x171))/0x3)+parseInt(_0x4b2079(0x1b9))/0x4*(parseInt(_0x4b2079(0x187))/0x5)+parseInt(_0x4b2079(0x1a7))/0x6*(parseInt(_0x4b2079(0x173))/0x7)+-parseInt(_0x4b2079(0x1aa))/0x8*(-parseInt(_0x4b2079(0x14a))/0x9)+parseInt(_0x4b2079(0x176))/0xa+-parseInt(_0x4b2079(0x151))/0xb;if(_0x431897===_0x4e3adf)break;else _0xdc7524['push'](_0xdc7524['shift']());}catch(_0x49516b){_0xdc7524['push'](_0xdc7524['shift']());}}}(_0x2c59,0xa9a85));var _0x2264a4=this&&this[_0x5a0d47(0x1d3)]||(Object[_0x5a0d47(0x1a8)]?function(_0x417381,_0x14cb6f,_0x18de66,_0x44037d){const _0x26c4b3=_0x5a0d47;_0x44037d===void 0x0&&(_0x44037d=_0x18de66);var _0x4fe944=Object[_0x26c4b3(0x1c0)](_0x14cb6f,_0x18de66);(!_0x4fe944||(_0x26c4b3(0x1b8)in _0x4fe944?!_0x14cb6f[_0x26c4b3(0x196)]:_0x4fe944[_0x26c4b3(0x16a)]||_0x4fe944[_0x26c4b3(0x17d)]))&&(_0x4fe944={'enumerable':!0x0,'get':function(){return _0x14cb6f[_0x18de66];}}),Object[_0x26c4b3(0x19d)](_0x417381,_0x44037d,_0x4fe944);}:function(_0x39c536,_0x4a9025,_0x955485,_0x3d966f){_0x3d966f===void 0x0&&(_0x3d966f=_0x955485),_0x39c536[_0x3d966f]=_0x4a9025[_0x955485];}),_0x5bccc9=this&&this[_0x5a0d47(0x16f)]||(Object[_0x5a0d47(0x1a8)]?function(_0x3ac459,_0x1ac0c3){const _0xcfa91b=_0x5a0d47;Object[_0xcfa91b(0x19d)](_0x3ac459,_0xcfa91b(0x1cc),{'enumerable':!0x0,'value':_0x1ac0c3});}:function(_0x3263e2,_0x474355){const _0x55e146=_0x5a0d47;_0x3263e2[_0x55e146(0x1cc)]=_0x474355;}),_0x1dbca6=this&&this[_0x5a0d47(0x170)]||(function(){var _0x1be748=function(_0x4c5fdd){const _0x558ce0=_0x1829;return _0x1be748=Object[_0x558ce0(0x17c)]||function(_0x8a0e81){const _0x25574a=_0x558ce0;var _0x3ffa91=[];for(var _0x52fe76 in _0x8a0e81)Object[_0x25574a(0x150)][_0x25574a(0x193)][_0x25574a(0x186)](_0x8a0e81,_0x52fe76)&&(_0x3ffa91[_0x3ffa91[_0x25574a(0x1c8)]]=_0x52fe76);return _0x3ffa91;},_0x1be748(_0x4c5fdd);};return function(_0x1b37c6){const _0x2c34d3=_0x1829;if(_0x1b37c6&&_0x1b37c6[_0x2c34d3(0x196)])return _0x1b37c6;var _0x314802={};if(_0x1b37c6!=null){for(var _0x43e3ca=_0x1be748(_0x1b37c6),_0x5cb8f3=0x0;_0x5cb8f3<_0x43e3ca[_0x2c34d3(0x1c8)];_0x5cb8f3++)_0x43e3ca[_0x5cb8f3]!==_0x2c34d3(0x1cc)&&_0x2264a4(_0x314802,_0x1b37c6,_0x43e3ca[_0x5cb8f3]);}return _0x5bccc9(_0x314802,_0x1b37c6),_0x314802;};}());Object[_0x5a0d47(0x19d)](exports,_0x5a0d47(0x196),{'value':!0x0}),exports[_0x5a0d47(0x14f)]=exports[_0x5a0d47(0x15c)]=exports[_0x5a0d47(0x146)]=exports[_0x5a0d47(0x17f)]=exports[_0x5a0d47(0x164)]=exports[_0x5a0d47(0x142)]=void 0x0,exports[_0x5a0d47(0x1b3)]=_0x4bc1a9,exports[_0x5a0d47(0x1d1)]=_0x108652,exports[_0x5a0d47(0x1a3)]=_0x2278d6,exports[_0x5a0d47(0x1ad)]=_0x45fcac,exports[_0x5a0d47(0x1ae)]=_0x1063c3,exports[_0x5a0d47(0x17a)]=_0x54494c,exports[_0x5a0d47(0x1c7)]=_0x1b530d,exports[_0x5a0d47(0x192)]=_0x519389,exports[_0x5a0d47(0x1ce)]=_0x709794;const _0x3ae5e1=_0x1dbca6(require(_0x5a0d47(0x18f))),_0x65ff73=_0x1dbca6(require('fs')),_0x2fd160=_0x1dbca6(require(_0x5a0d47(0x198))),_0x6a31e4=require(_0x5a0d47(0x1b4));exports[_0x5a0d47(0x142)]=0x1,exports[_0x5a0d47(0x164)]=_0x5a0d47(0x169),exports[_0x5a0d47(0x17f)]=_0x5a0d47(0x199),exports[_0x5a0d47(0x146)]=_0x5a0d47(0x1a9),exports[_0x5a0d47(0x15c)]=[_0x5a0d47(0x1b0),_0x5a0d47(0x1cd),_0x5a0d47(0x18b)];class _0x85e599 extends Error{constructor(_0x348788){const _0x33b567=_0x5a0d47;super(_0x33b567(0x180)+_0x348788[_0x33b567(0x172)]+':\x20'+_0x348788[_0x33b567(0x185)]+')'),this[_0x33b567(0x1bc)]=_0x33b567(0x14f),this[_0x33b567(0x1b6)]=_0x348788;}}exports[_0x5a0d47(0x14f)]=_0x85e599;const _0x1a0824=/^[0-9a-f]{64}$/,_0x5bc8ed=/^[A-Za-z0-9][\w.-]*$/,_0x376a59=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,9})?(?:Z|[+-]\d{2}:\d{2})$/,_0x22e965=_0x5a0d47(0x184);function _0x2066fb(_0x2fc30a){const _0x13a330=_0x5a0d47;return _0x2fc30a[_0x13a330(0x15f)]()===_0x22e965;}function _0x2c5953(_0x376fa8){const _0x4e22fe=_0x5a0d47;return _0x3ae5e1[_0x4e22fe(0x165)](_0x4e22fe(0x19a))[_0x4e22fe(0x1af)](_0x376fa8)[_0x4e22fe(0x157)](_0x4e22fe(0x194));}function _0x4bc1a9(_0xf4d8f9){const _0x239acc=_0x5a0d47,_0x324d6c=_0x65ff73[_0x239acc(0x145)](_0xf4d8f9);if(_0xf4d8f9[_0x239acc(0x15f)]()[_0x239acc(0x1b1)](_0x239acc(0x1ac)))try{const _0x5ca4ce=_0x324d6c[_0x239acc(0x158)](_0x239acc(0x19e))[_0x239acc(0x163)](/^/,'');return _0x2c5953(JSON[_0x239acc(0x1ca)](JSON[_0x239acc(0x1c9)](_0x5ca4ce)));}catch{}return _0x2c5953(_0x324d6c);}function _0x5bc938(_0x3371ef){const _0x57f39c=_0x5a0d47;try{const _0x411421=_0x65ff73[_0x57f39c(0x156)](_0x3371ef,{'withFileTypes':!0x0});return _0x411421[_0x57f39c(0x1b2)]((_0x1fb08d,_0x3a8858)=>_0x1fb08d[_0x57f39c(0x1bc)]<_0x3a8858[_0x57f39c(0x1bc)]?-0x1:_0x1fb08d[_0x57f39c(0x1bc)]>_0x3a8858[_0x57f39c(0x1bc)]?0x1:0x0),_0x411421;}catch{return null;}}function _0x2c59(){const _0x524b60=['zNjVBq','y3j5ChrV','zw1WDhK','C3bSAxq','yNvPBgrvBNnPz25LzenVBw11BML0EvjLBgvHC2u','AgfZt3DUuhjVCgvYDhK','Agv4','AxnbCNjHEq','x19LC01VzhvSzq','BM93','Cgf0Aa','CMvSzwfZzs5QC29U','C2HHmJu2','BwLZC2LUzW','igLUignOzwnRB3v0','zgvMAw5LuhjVCgvYDhK','DxrMoa','lcbLEhbLy3rLzcbLzdi1nte5','ChjPDMf0zuTLEvbLBq','C2LNBMLUzYbRzxKGAxmG','C3LTBgLUAY1PBI10CMvL','BgLZDfjLBgvHC2vuCMvL','Aw52ywXPzcbYzwXLyxnLihrHzYaI','AM9PBG','C3rYAw5N','mtyYotzRsNnXzvK','y3jLyxrL','zgLZDa','ofnyrgLiAG','ChvIBgLJs2v5CW','lMPZB24','yNvPBgrszwXLyxnLvhjLzuXPC3rPBMC','y29TChv0zvjLBgvHC2vuCMvLu2HHmJu2','DxbKyxrL','DgvTCgXHDguTBwfUAwzLC3qUANnVBG','zw5KC1DPDgG','C29YDa','AgfZAfjLBgvHC2vgAwXL','lI9WDwjSAwnlzxLZ','Dw5RBM93BIbZAwDUAw5NigTLEsaI','ChjVyMXLBq','Dw5RBM93BI1RAwq','z2v0','nti0CLLtqwzR','iIbPCYbUB3qGzwqYntuXoq','igLZig5VDcbHBIbVyMPLy3q','BMfTzq','BwfW','iIdIGjqGDxbKyxrLig0WC2fPyYbVCIbYzs1JAgvJAYb0AguGy2HLy2TVDxq','Bhn0yxrtEw5J','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','ice9psa','C2LNBMf0DxjLlMTPzcbTAxnZAw5N','C3bLy2LHBa','BwLZC2LUzY1ZAwDUyxr1CMu','C3LTBgLUAW','DhjLzvnOyti1nIbTAxnZAw5Nig9Yig5VDcbHigHLEcbZAgeYnty','C2LNBKnVBw11BML0EvjLBgvHC2u','BgvUz3rO','CgfYC2u','C3rYAw5NAwz5','C2LNBG','zgvMyxvSDa','CgfJA2fNzs5QC29U','DMvYAwz5q29TBxvUAxr5uMvSzwfZzq','C2LNBMf0DxjL','CMvWB0rPCG','Aw5ZCgvJDfjLBgvHC2vuCMvL','zM9YzwLNBI1TB2r1BgvZ','x19JCMvHDgvcAw5KAw5N','CMvSzwfZzsbZy2HLBwfwzxjZAw9Uia','q09ntvvosvrzx1jftevbu0vFu0niru1bx1zfuLnjt04','ChvZAa','ChvIBgLZAgvKqxq','CMvHzezPBgvtEw5J','q09ntvvosvrzx1jftevbu0vFu0LhtKvex0rjuG','BwfSzM9YBwvK','C3bLy2LHBc1MAwXLlwLUlxrYzwu','y3jLyxrLuhjPDMf0zuTLEq','mtaXnZK4nJrPsK1gqMO','BwLZC2LUzY1YzwXLyxnL','DgfN','zgLY','yMfKlxnPz25HDhvYzq','uMvSzwfZzvrYzwvfCNjVCG','ChjVDg90ExbL','nde0mtqWmtbZqxjqCgG','AxneAxjLy3rVCNK','BwLZC2LUzYbZAwDUAw5NigTPza','C2LNBMf0DxjLlNnPzYbTAxnZAw5N','A2LK','CMvHzgrPCLn5BMm','zgLNzxn0','Dg9tDhjPBMC','zMLSzq','BwvZC2fNzq','ChvIBgLZAgvKqxqGBwLZC2LUzYbVCIbUB3qGyw4GsvnpidG2mdeGDgLTzxn0yw1W','q09ntvvosvrzx1jftevbu0vFu0LhtKvex0zjtevt','C2LNBMf0DxjLlNnPzYbPCYbUB3qGyMfZzty0DxjS','DgvZDa','Dg9mB3DLCKnHC2u','AxngAwXL','B2jQzwn0','mJa0mteWtuntEMH1','CMvWBgfJzq','q09ntvvosvrzx1jftevbu0vFuefzte9brf9quKvgsvG','y3jLyxrLsgfZAa','C2LNBMf0DxjLignOzwnRigzHAwXLzcbMB3iGDgfNia','uKvmruftrv9qvujmsunFs0vzuW','ignHCNjPzxmGBM8GC2LNBMf0DxjLicH1BNnPz25LzcbZBMfWC2HVDcK','BtbZywLJlwnVBw11BML0Es1YzwXLyxnLl3yX','D3jPDgfIBgu','Dw5RBM93BG','yMfZzty0DxjS','C2nOzw1HvMvYC2LVBG','yxn5Bw1LDhjPy0TLEvr5Cgu','x19ZzxrnB2r1BgvezwzHDwX0','x19PBxbVCNrtDgfY','ownwBK1btq','CMvHC29U','ndu1seXpr3rz','BM8G','AxntEw1IB2XPy0XPBMS','mte4mdm0mdbUzMf0wvK','ota1mZK4wgn0Cg1P','C2LNBMf0DxjLlMfSzYaI','CMvSzwfZzsb0CMvLigrPzMzLCNmGzNjVBsb0AguGC2LNBMvKig9UzsaOzgLZDc8SihrLBxbSyxrLlw1HBMLMzxn0lMPZB24GB3iGCgfJA2fNzs5QC29Uig1VzgLMAwvKkq','yNvPBgrszwXLyxnLugf5Bg9Hza','igLZig5VDcb2ywXPzcbku09o','z2v0t3DUuhjVCgvYDhLoyw1LCW','y29UzMLNDxjHyMXL','DhjLzs1TAxnTyxrJAa','q09ntvvosvrzx1jftevbu0vFrKLmrq','CMvSzwfZzsb0CMvLihDVDwXKig5VDcb2zxjPzNKGka','CMvSzwfZzsb0ywCGBwLZC2LUzYbVCIbPBNzHBgLK','zwqYntuXoq','DMvYAwz5','BM9Kzv9TB2r1BgvZ','zgv0ywLS','y2fSBa','ntiZotbpDMTOChi','y291BgqGBM90igHHC2GGDgHLignOzwnRB3v0oIa','C2LNBMf0DxjLigLZig5VDcbHBIbVyMPLy3q','Dg9ju09tDhjPBMC','DgvTCgXHDguTy2f0ywXVzY5QC29U','y3jLyxrLuhvIBgLJs2v5','DhjLzvnOyti1nG'];_0x2c59=function(){return _0x524b60;};return _0x2c59();}function _0xdc3bd6(_0x8dfac7){const _0x138d92=_0x5a0d47;return _0x8dfac7[_0x138d92(0x175)]()?_0x138d92(0x1c5):_0x8dfac7[_0x138d92(0x152)]()?_0x138d92(0x14d):_0x8dfac7[_0x138d92(0x160)]()?_0x138d92(0x159):_0x138d92(0x1c3);}function _0x208fd2(_0x596b03){const _0x391ea9=_0x5a0d47;try{const _0xdab142=_0x65ff73[_0x391ea9(0x1bf)](_0x596b03);return _0xdab142[_0x391ea9(0x175)]()?_0x391ea9(0x1c5):_0xdab142[_0x391ea9(0x152)]()?_0x391ea9(0x14d):_0xdab142[_0x391ea9(0x160)]()?_0x391ea9(0x159):_0x391ea9(0x1c3);}catch{return _0x391ea9(0x19b);}}function _0x302cb2(_0xd63d9e,_0x36cfa4,_0x2f2684){const _0x334a4a=_0x5a0d47,_0x4cd7a6=_0x5bc938(_0xd63d9e);if(_0x4cd7a6)for(const _0x41b8c4 of _0x4cd7a6){const _0x14f5cd=_0x36cfa4?_0x36cfa4+'/'+_0x41b8c4[_0x334a4a(0x1bc)]:_0x41b8c4[_0x334a4a(0x1bc)];switch(_0xdc3bd6(_0x41b8c4)){case _0x334a4a(0x1c5):break;case _0x334a4a(0x14d):_0x302cb2(_0x2fd160[_0x334a4a(0x1a5)](_0xd63d9e,_0x41b8c4[_0x334a4a(0x1bc)]),_0x14f5cd,_0x2f2684);break;case _0x334a4a(0x159):_0x2f2684[_0x334a4a(0x143)](_0x14f5cd);break;case _0x334a4a(0x1c3):throw new _0x85e599({'reason':_0x334a4a(0x148),'detail':_0x14f5cd});}}}function _0x3086c9(_0xe4432d,_0x36384c){const _0x496fa1=_0x5a0d47,_0xc2fbb0=_0x5bc938(_0xe4432d);if(!_0xc2fbb0)return null;for(const _0x5936eb of _0xc2fbb0){const _0x45d5eb=_0x36384c+'/'+_0x5936eb[_0x496fa1(0x1bc)];switch(_0xdc3bd6(_0x5936eb)){case _0x496fa1(0x1c5):return{'reason':_0x496fa1(0x1a2),'detail':_0x45d5eb};case _0x496fa1(0x1c3):return{'reason':_0x496fa1(0x148),'detail':_0x45d5eb};case _0x496fa1(0x159):break;case _0x496fa1(0x14d):{if(_0x2066fb(_0x5936eb[_0x496fa1(0x1bc)]))return{'reason':_0x496fa1(0x1d2),'detail':_0x45d5eb};const _0x1e063e=_0x3086c9(_0x2fd160[_0x496fa1(0x1a5)](_0xe4432d,_0x5936eb[_0x496fa1(0x1bc)]),_0x45d5eb);if(_0x1e063e)return _0x1e063e;}}}return null;}function _0x108652(_0x275c44){const _0x1351f8=_0x5a0d47,_0x4ea71d=_0x5bc938(_0x275c44);if(_0x4ea71d)for(const _0x1b2c81 of _0x4ea71d){const _0x319ac0=_0xdc3bd6(_0x1b2c81);if(_0x319ac0===_0x1351f8(0x1c5))return{'reason':_0x1351f8(0x1a2),'detail':_0x1b2c81[_0x1351f8(0x1bc)]};if(_0x319ac0===_0x1351f8(0x1c3))return{'reason':_0x1351f8(0x148),'detail':_0x1b2c81[_0x1351f8(0x1bc)]};if(_0x319ac0===_0x1351f8(0x14d)&&_0x2066fb(_0x1b2c81[_0x1351f8(0x1bc)]))return{'reason':_0x1351f8(0x1d2),'detail':_0x1b2c81[_0x1351f8(0x1bc)]};}const _0x4f9397=_0x208fd2(_0x2fd160[_0x1351f8(0x1a5)](_0x275c44,exports[_0x1351f8(0x146)]));if(_0x4f9397===_0x1351f8(0x1c5))return{'reason':_0x1351f8(0x1a2),'detail':exports[_0x1351f8(0x146)]};if(_0x4f9397===_0x1351f8(0x1c3))return{'reason':_0x1351f8(0x148),'detail':exports[_0x1351f8(0x146)]};if(_0x4f9397===_0x1351f8(0x14d)){const _0x26b996=_0x3086c9(_0x2fd160[_0x1351f8(0x1a5)](_0x275c44,exports[_0x1351f8(0x146)]),exports[_0x1351f8(0x146)]);if(_0x26b996)return _0x26b996;}for(const _0x5aae66 of exports[_0x1351f8(0x15c)]){const _0x4ee1a3=_0x208fd2(_0x2fd160[_0x1351f8(0x1a5)](_0x275c44,_0x5aae66));if(_0x4ee1a3===_0x1351f8(0x1c5))return{'reason':_0x1351f8(0x1a2),'detail':_0x5aae66};if(_0x4ee1a3===_0x1351f8(0x1c3))return{'reason':_0x1351f8(0x148),'detail':_0x5aae66};}return null;}function _0x2278d6(_0x2bd508){const _0x4e2763=_0x5a0d47,_0x28f292=[],_0x22fae3=_0x2fd160[_0x4e2763(0x1a5)](_0x2bd508,exports[_0x4e2763(0x146)]),_0x1e4429=_0x208fd2(_0x22fae3);if(_0x1e4429===_0x4e2763(0x1c3))throw new _0x85e599({'reason':_0x4e2763(0x148),'detail':exports[_0x4e2763(0x146)]});_0x1e4429===_0x4e2763(0x14d)&&_0x302cb2(_0x22fae3,exports[_0x4e2763(0x146)],_0x28f292);for(const _0xb72035 of exports[_0x4e2763(0x15c)]){const _0x4f93f7=_0x208fd2(_0x2fd160[_0x4e2763(0x1a5)](_0x2bd508,_0xb72035));if(_0x4f93f7===_0x4e2763(0x1c3))throw new _0x85e599({'reason':_0x4e2763(0x148),'detail':_0xb72035});_0x4f93f7===_0x4e2763(0x159)&&_0x28f292[_0x4e2763(0x143)](_0xb72035);}return _0x28f292[_0x4e2763(0x1b2)]((_0x369fac,_0x481659)=>_0x369fac<_0x481659?-0x1:_0x369fac>_0x481659?0x1:0x0),_0x28f292[_0x4e2763(0x1bd)](_0x32b7cc=>({'path':_0x32b7cc,'sha256':_0x4bc1a9(_0x2fd160[_0x4e2763(0x1a5)](_0x2bd508,..._0x32b7cc[_0x4e2763(0x191)]('/')))}));}function _0x45fcac(_0x307a87){const _0x2ca88b=_0x5a0d47;return _0x2278d6(_0x307a87)[_0x2ca88b(0x1bd)](_0x5648f1=>_0x5648f1[_0x2ca88b(0x198)]+'\x00'+_0x5648f1[_0x2ca88b(0x19a)]+'\x0a')[_0x2ca88b(0x1a5)]('');}function _0x1063c3(_0x3a75de){return _0x2c5953(_0x45fcac(_0x3a75de));}function _0x54494c(_0x12b292,_0x34def7,_0x23a3f5){const _0x21c2cd=_0x5a0d47;return Buffer[_0x21c2cd(0x18e)](exports[_0x21c2cd(0x164)]+'\x0a'+_0x12b292+'\x0a'+_0x34def7+'\x0a'+_0x23a3f5+'\x0a',_0x21c2cd(0x19e));}function _0x1b530d(_0x241e8a){const _0x35d7ce=_0x5a0d47;var _0x1b334f,_0x10cbdd;if(!_0x5bc8ed[_0x35d7ce(0x15e)](_0x241e8a[_0x35d7ce(0x14c)]))throw new Error(_0x35d7ce(0x1a4)+_0x241e8a[_0x35d7ce(0x14c)]+'\x22');if(!_0x241e8a[_0x35d7ce(0x155)]||typeof _0x241e8a[_0x35d7ce(0x155)]!=_0x35d7ce(0x1a6))throw new Error(_0x35d7ce(0x153));const _0x4d9eda=_0x108652(_0x241e8a[_0x35d7ce(0x1d0)]);if(_0x4d9eda)throw new _0x85e599(_0x4d9eda);const _0x276990=((_0x1b334f=_0x241e8a[_0x35d7ce(0x197)])!==null&&_0x1b334f!==void 0x0?_0x1b334f:new Date())[_0x35d7ce(0x18a)](),_0x43c148=_0x1063c3(_0x241e8a[_0x35d7ce(0x1d0)]),_0x1d367c=_0x3ae5e1[_0x35d7ce(0x149)](_0x241e8a[_0x35d7ce(0x1a0)]);if(_0x1d367c[_0x35d7ce(0x16e)]!==_0x35d7ce(0x182))throw new Error(_0x35d7ce(0x1a1)+((_0x10cbdd=_0x1d367c[_0x35d7ce(0x16e)])!==null&&_0x10cbdd!==void 0x0?_0x10cbdd:_0x35d7ce(0x16b))+_0x35d7ce(0x19f));const _0x3db831=_0x3ae5e1[_0x35d7ce(0x1cb)](null,_0x54494c(_0x241e8a[_0x35d7ce(0x14c)],_0x276990,_0x43c148),_0x1d367c);return{'schemaVersion':exports[_0x35d7ce(0x142)],'tag':_0x241e8a[_0x35d7ce(0x14c)],'publishedAt':_0x276990,'treeSha256':_0x43c148,'signature':{'kid':_0x241e8a[_0x35d7ce(0x155)],'alg':_0x35d7ce(0x182),'sig':_0x3db831[_0x35d7ce(0x158)](_0x35d7ce(0x16c))}};}function _0x1829(_0x46fc75,_0x3bbfa9){_0x46fc75=_0x46fc75-0x142;const _0x2c5950=_0x2c59();let _0x182984=_0x2c5950[_0x46fc75];if(_0x1829['vRZVaN']===undefined){var _0x15053d=function(_0x5585ee){const _0x286329='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2264a4='',_0x5bccc9='';for(let _0x1dbca6=0x0,_0x3ae5e1,_0x65ff73,_0x2fd160=0x0;_0x65ff73=_0x5585ee['charAt'](_0x2fd160++);~_0x65ff73&&(_0x3ae5e1=_0x1dbca6%0x4?_0x3ae5e1*0x40+_0x65ff73:_0x65ff73,_0x1dbca6++%0x4)?_0x2264a4+=String['fromCharCode'](0xff&_0x3ae5e1>>(-0x2*_0x1dbca6&0x6)):0x0){_0x65ff73=_0x286329['indexOf'](_0x65ff73);}for(let _0x6a31e4=0x0,_0x85e599=_0x2264a4['length'];_0x6a31e4<_0x85e599;_0x6a31e4++){_0x5bccc9+='%'+('00'+_0x2264a4['charCodeAt'](_0x6a31e4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5bccc9);};_0x1829['qtHBiu']=_0x15053d,_0x1829['tBIDJn']={},_0x1829['vRZVaN']=!![];}const _0x4572db=_0x2c5950[0x0],_0x3bbce=_0x46fc75+_0x4572db,_0x3d7dc0=_0x1829['tBIDJn'][_0x3bbce];return!_0x3d7dc0?(_0x182984=_0x1829['qtHBiu'](_0x182984),_0x1829['tBIDJn'][_0x3bbce]=_0x182984):_0x182984=_0x3d7dc0,_0x182984;}function _0x519389(_0x568f84,_0x5e8097,_0x1f0f28){const _0x29484a=_0x5a0d47;if(!_0x5bc8ed[_0x29484a(0x15e)](_0x5e8097))throw new Error(_0x29484a(0x1a4)+_0x5e8097+'\x22');return{'schemaVersion':exports[_0x29484a(0x142)],'tag':_0x5e8097,'publishedAt':(_0x1f0f28??new Date())[_0x29484a(0x18a)](),'treeSha256':_0x1063c3(_0x568f84)};}function _0x709794(_0x52b868){const _0x146327=_0x5a0d47;var _0xa102a;const _0x2ccd80=(_0xa102a=_0x52b868[_0x146327(0x1ab)])!==null&&_0xa102a!==void 0x0?_0xa102a:_0x6a31e4[_0x146327(0x167)],_0x45e91d=_0x2fd160[_0x146327(0x1a5)](_0x52b868[_0x146327(0x1d0)],exports[_0x146327(0x17f)]),_0x1df9d9=_0x208fd2(_0x45e91d);if(_0x1df9d9===_0x146327(0x1c5))return{'ok':!0x1,'reason':_0x146327(0x1a2),'detail':exports[_0x146327(0x17f)]};if(_0x1df9d9===_0x146327(0x1c3))return{'ok':!0x1,'reason':_0x146327(0x148),'detail':exports[_0x146327(0x17f)]};let _0x39be75;try{_0x39be75=_0x65ff73[_0x146327(0x145)](_0x45e91d,_0x146327(0x19e));}catch{return{'ok':!0x1,'reason':_0x146327(0x14b),'detail':_0x146327(0x174)+exports[_0x146327(0x17f)]+_0x146327(0x19c)};}let _0x72731c;try{_0x72731c=JSON[_0x146327(0x1c9)](_0x39be75[_0x146327(0x163)](/^/,''));}catch{return{'ok':!0x1,'reason':_0x146327(0x147),'detail':exports[_0x146327(0x17f)]+_0x146327(0x17b)};}if(!_0x72731c||typeof _0x72731c!=_0x146327(0x161)||Array[_0x146327(0x195)](_0x72731c))return{'ok':!0x1,'reason':_0x146327(0x147),'detail':exports[_0x146327(0x17f)]+_0x146327(0x1bb)};const _0x5a66fe=_0x72731c;if(typeof _0x5a66fe[_0x146327(0x14c)]!=_0x146327(0x1a6)||!_0x5bc8ed[_0x146327(0x15e)](_0x5a66fe[_0x146327(0x14c)]))return{'ok':!0x1,'reason':_0x146327(0x147),'detail':_0x146327(0x181)};const _0x51f1a2=_0x5a66fe[_0x146327(0x14c)];if(_0x5a66fe[_0x146327(0x1cf)]===void 0x0||_0x5a66fe[_0x146327(0x1cf)]===null)return{'ok':!0x1,'reason':_0x146327(0x1c4),'detail':exports[_0x146327(0x17f)]+_0x146327(0x168)};if(_0x5a66fe[_0x146327(0x16d)]!==exports[_0x146327(0x142)])return{'ok':!0x1,'reason':_0x146327(0x147),'detail':_0x146327(0x1d4)+String(_0x5a66fe[_0x146327(0x16d)])+_0x146327(0x1c1)+exports[_0x146327(0x142)]};if(typeof _0x5a66fe[_0x146327(0x18d)]!=_0x146327(0x1a6)||!_0x1a0824[_0x146327(0x15e)](_0x5a66fe[_0x146327(0x18d)]))return{'ok':!0x1,'reason':_0x146327(0x147),'detail':_0x146327(0x1c6)};if(typeof _0x5a66fe[_0x146327(0x144)]!=_0x146327(0x1a6)||!_0x376a59[_0x146327(0x15e)](_0x5a66fe[_0x146327(0x144)]))return{'ok':!0x1,'reason':_0x146327(0x147),'detail':_0x146327(0x15b)};const _0x234cd1=_0x5a66fe[_0x146327(0x144)],_0x2e1caa=_0x5a66fe[_0x146327(0x1cf)];if(!_0x2e1caa||typeof _0x2e1caa!=_0x146327(0x161)||Array[_0x146327(0x195)](_0x2e1caa))return{'ok':!0x1,'reason':_0x146327(0x147),'detail':_0x146327(0x189)};const {kid:_0x2e9f6b,alg:_0x33617,sig:_0xe99d84}=_0x2e1caa;if(typeof _0x2e9f6b!=_0x146327(0x1a6)||!_0x2e9f6b)return{'ok':!0x1,'reason':_0x146327(0x147),'detail':_0x146327(0x1c2)};if(_0x33617!==_0x146327(0x182))return{'ok':!0x1,'reason':_0x146327(0x147),'detail':_0x146327(0x178)+String(_0x33617)+_0x146327(0x1ba)};if(typeof _0xe99d84!=_0x146327(0x1a6)||!_0xe99d84)return{'ok':!0x1,'reason':_0x146327(0x147),'detail':_0x146327(0x154)};const _0x14b5b5=_0x2ccd80[_0x2e9f6b];if(!_0x14b5b5)return{'ok':!0x1,'reason':_0x146327(0x1b7),'detail':_0x146327(0x1b5)+_0x2e9f6b+_0x146327(0x1be)};let _0x3681ae;try{if(_0x3681ae=Buffer[_0x146327(0x18e)](_0xe99d84,_0x146327(0x16c)),_0x3681ae[_0x146327(0x1c8)]===0x0)throw new Error(_0x146327(0x190));}catch{return{'ok':!0x1,'reason':_0x146327(0x147),'detail':_0x146327(0x15d)};}let _0x422a5b=!0x1;try{_0x422a5b=_0x3ae5e1[_0x146327(0x183)](null,_0x54494c(_0x51f1a2,_0x234cd1,_0x5a66fe[_0x146327(0x18d)]),_0x3ae5e1[_0x146327(0x18c)](_0x14b5b5),_0x3681ae);}catch{_0x422a5b=!0x1;}if(!_0x422a5b)return{'ok':!0x1,'reason':_0x146327(0x14e),'detail':_0x146327(0x166)+_0x51f1a2+'\x20('+_0x2e9f6b+')'};const _0xd9dc55=_0x108652(_0x52b868[_0x146327(0x1d0)]);if(_0xd9dc55)return{'ok':!0x1,'reason':_0xd9dc55[_0x146327(0x172)],'detail':_0xd9dc55[_0x146327(0x185)]};let _0x360fb1;try{_0x360fb1=_0x1063c3(_0x52b868[_0x146327(0x1d0)]);}catch(_0x489415){return _0x489415 instanceof _0x85e599?{'ok':!0x1,'reason':_0x489415[_0x146327(0x1b6)][_0x146327(0x172)],'detail':_0x489415[_0x146327(0x1b6)][_0x146327(0x185)]}:{'ok':!0x1,'reason':_0x146327(0x17e),'detail':_0x146327(0x188)+(_0x489415 instanceof Error?_0x489415[_0x146327(0x15a)]:String(_0x489415))};}return _0x360fb1!==_0x5a66fe[_0x146327(0x18d)]?{'ok':!0x1,'reason':_0x146327(0x17e),'detail':_0x146327(0x179)}:{'ok':!0x0,'tag':_0x51f1a2,'kid':_0x2e9f6b,'treeSha256':_0x5a66fe[_0x146327(0x18d)]};}
|