riverbankcms 0.38.1 → 0.38.2

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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { Ar as unsafeAsPageSurfaceId, At as validateBookingPaymentOptionKinds, Fr as unsafeAsSiteId, Ir as unsafeAsUserId, Jn as unsafeAsContentEntryId, Kn as unsafeAsBookingRequirementId, Kr as err, Mn as fromArray, Nn as mapNonEmptyArray, Nr as parseSiteId, Pn as mapReadonlyNonEmptyArray, S as resolveSiteVerticalBookingConfig, Sr as unsafeAsProductId, T as ORDINARY_EVENT_PRESET_VALUES, Vr as unsafeAsEventCategoryId, Wn as assertNever, Wt as MAX_BOOKING_CUT_OFF_HOURS, X as parseConfiguredMailingListProvider, Z as parseMailingListGlobalForm, _ as NAVIGATION_LOCATIONS, _r as unsafeAsSafeDownloadFilename, a as isRecord$6, br as unsafeAsStoragePath, c as applyClearable, cr as unsafeAsBookingSessionId, dn as localScheduleTimePattern, dr as unsafeAsDetectedMimeType, fr as unsafeAsFileChecksumSha256, ft as SENSITIVE_COLLECTION_CONFIRMATION_VERSION, gr as unsafeAsPositiveSeconds, hr as unsafeAsPositiveByteCount, ht as stableJsonStringify, jr as unsafeAsSiteFontId, kt as BOOKING_COURSE_INSTALMENT_DEADLINES, l as clearableFrom, lr as parseMediaAssetId, lt as parsePublicContactDetails, mn as parseUtcIsoDateTimeString, mr as unsafeAsOriginalFilename, n as OFFLINE_PAYMENT_METHODS, ot as isCanonicalRichTextDoc, pr as unsafeAsMediaAssetId, pt as SENSITIVE_COLLECTION_MODES, qr as ok, rr as unsafeAsEntitlementId, t as isEventOccurrenceRouteSegment, tt as parseFooterCompositionV1, u as STAFF_OPERATIONAL_CAPABILITIES, ur as unsafeAsDeclaredMimeType, ut as parseWeeklyOpeningHours, vr as unsafeAsSiteScopedStoragePath, vt as locationValueSchema, w as EVENT_PRESET_VALUES, wt as isPresent, xr as unsafeAsUploadSessionId, yn as parseBookingTimeZone, yr as unsafeAsStorageBucketName } from "./src-e6JfJMDt.mjs";
2
+ import { At as BOOKING_COURSE_INSTALMENT_DEADLINES, Br as unsafeAsUserId, Cr as unsafeAsStorageBucketName, Er as unsafeAsProductId, Fn as mapReadonlyNonEmptyArray, Fr as unsafeAsSiteFontId, Gn as assertNever, Gr as unsafeAsEventCategoryId, Gt as MAX_BOOKING_CUT_OFF_HOURS, Lr as parseSiteId, Nn as fromArray, Pn as mapNonEmptyArray, Pr as unsafeAsPageSurfaceId, Q as parseMailingListGlobalForm, S as resolveSiteVerticalBookingConfig, Sr as unsafeAsSiteScopedStoragePath, T as ORDINARY_EVENT_PRESET_VALUES, Tr as unsafeAsUploadSessionId, Tt as isPresent, Xr as err, Z as parseConfiguredMailingListProvider, Zn as unsafeAsContentEntryId, Zr as ok, _ as NAVIGATION_LOCATIONS, _r as unsafeAsMediaAssetId, a as isRecord$6, bn as parseBookingTimeZone, br as unsafeAsPositiveSeconds, c as applyClearable, dt as parseWeeklyOpeningHours, fn as localScheduleTimePattern, fr as unsafeAsBookingSessionId, gr as unsafeAsFileChecksumSha256, gt as stableJsonStringify, hn as parseUtcIsoDateTimeString, hr as unsafeAsDetectedMimeType, jt as validateBookingPaymentOptionKinds, l as clearableFrom, mr as unsafeAsDeclaredMimeType, mt as SENSITIVE_COLLECTION_MODES, n as OFFLINE_PAYMENT_METHODS, nt as parseFooterCompositionV1, pr as parseMediaAssetId, pt as SENSITIVE_COLLECTION_CONFIRMATION_VERSION, qn as unsafeAsBookingRequirementId, sr as unsafeAsEntitlementId, st as isCanonicalRichTextDoc, t as isEventOccurrenceRouteSegment, u as STAFF_OPERATIONAL_CAPABILITIES, ut as parsePublicContactDetails, vr as unsafeAsOriginalFilename, w as EVENT_PRESET_VALUES, wr as unsafeAsStoragePath, xr as unsafeAsSafeDownloadFilename, yr as unsafeAsPositiveByteCount, yt as locationValueSchema, zr as unsafeAsSiteId } from "./src-CnUjAAn9.mjs";
3
3
  import { createRequire } from "node:module";
4
4
  import { z } from "zod";
5
5
 
@@ -829,7 +829,9 @@ const decorativeTransitionIntentValues = [
829
829
  "arc-edge-bulge",
830
830
  "angle-edge",
831
831
  "angle-edge-subtle",
832
- "angle-edge-steep"
832
+ "angle-edge-steep",
833
+ "angle-edge-steady",
834
+ "torn-edge-holes"
833
835
  ];
834
836
  const tileTreatmentValues = [
835
837
  "default",
@@ -33409,6 +33411,406 @@ const letterSpacingSchema = z.enum([
33409
33411
  "wide"
33410
33412
  ]);
33411
33413
 
33414
+ //#endregion
33415
+ //#region ../site-contracts/src/theme/buttonParts.ts
33416
+ /**
33417
+ * Button parts: what a recipe may draw beyond the button's own box.
33418
+ *
33419
+ * A recipe state can dress four parts: the button itself (`self`), its label
33420
+ * span (`label`), and the two pseudo-elements (`before`, `after`). Each part is
33421
+ * a map of CSS declarations from a closed property list. Values are written in
33422
+ * a small closed grammar: numbers with units, a fixed list of keywords and
33423
+ * functions, and paint placeholders. No colour can be written literally, so
33424
+ * every colour a part paints comes from the button's resolved state colours,
33425
+ * the surface's mark colour or a named palette token.
33426
+ *
33427
+ * Placeholders:
33428
+ * {ink} the label colour of whichever state is showing
33429
+ * {ink:hover} the resolved label colour of a named state
33430
+ * {fill:hover} the resolved fill of a named state (transparent for a surface treatment)
33431
+ * {token:accent} a palette colour, for decoration only
33432
+ * {mark} the surface's mark colour (falls back to the accent)
33433
+ * {label} the button's label text, for `content`
33434
+ * {shape:Name} a mask shape from the button shape registry
33435
+ * {key:name} one of the variant's declared keyframes
33436
+ */
33437
+ const BUTTON_PART_NAMES = [
33438
+ "self",
33439
+ "label",
33440
+ "before",
33441
+ "after"
33442
+ ];
33443
+ const MOTION_PROPERTIES = [
33444
+ "transform",
33445
+ "transform-origin",
33446
+ "translate",
33447
+ "rotate",
33448
+ "scale",
33449
+ "opacity",
33450
+ "transition",
33451
+ "animation",
33452
+ "filter"
33453
+ ];
33454
+ const BOX_PROPERTIES = [
33455
+ "position",
33456
+ "inset",
33457
+ "top",
33458
+ "right",
33459
+ "bottom",
33460
+ "left",
33461
+ "width",
33462
+ "height",
33463
+ "min-width",
33464
+ "min-height",
33465
+ "margin",
33466
+ "margin-inline-start",
33467
+ "margin-inline-end",
33468
+ "padding",
33469
+ "padding-bottom",
33470
+ "display",
33471
+ "align-items",
33472
+ "align-self",
33473
+ "justify-content",
33474
+ "flex",
33475
+ "z-index",
33476
+ "overflow",
33477
+ "pointer-events",
33478
+ "clip-path",
33479
+ "border-radius",
33480
+ "background",
33481
+ "background-color",
33482
+ "background-image",
33483
+ "background-size",
33484
+ "background-position",
33485
+ "background-repeat",
33486
+ "box-shadow",
33487
+ "mask",
33488
+ "mask-position",
33489
+ "mask-composite",
33490
+ "backdrop-filter",
33491
+ "color",
33492
+ "white-space",
33493
+ "text-shadow"
33494
+ ];
33495
+ /** The button itself keeps its colours, border, shadow and padding in the typed fields. */
33496
+ const SELF_PROPERTIES = [
33497
+ ...MOTION_PROPERTIES,
33498
+ "position",
33499
+ "isolation",
33500
+ "overflow",
33501
+ "backdrop-filter",
33502
+ "text-shadow",
33503
+ "letter-spacing",
33504
+ "font-variant-caps",
33505
+ "font-stretch",
33506
+ "white-space",
33507
+ "line-height",
33508
+ "min-height",
33509
+ "gap",
33510
+ "text-decoration-line",
33511
+ "text-decoration-thickness",
33512
+ "text-underline-offset"
33513
+ ];
33514
+ const BUTTON_PART_PROPERTIES = {
33515
+ self: SELF_PROPERTIES,
33516
+ label: [
33517
+ ...MOTION_PROPERTIES,
33518
+ ...BOX_PROPERTIES,
33519
+ "word-spacing"
33520
+ ],
33521
+ before: [
33522
+ ...MOTION_PROPERTIES,
33523
+ ...BOX_PROPERTIES,
33524
+ "content"
33525
+ ],
33526
+ after: [
33527
+ ...MOTION_PROPERTIES,
33528
+ ...BOX_PROPERTIES,
33529
+ "content"
33530
+ ]
33531
+ };
33532
+ const KEYFRAME_PROPERTIES = [
33533
+ "transform",
33534
+ "translate",
33535
+ "rotate",
33536
+ "scale",
33537
+ "opacity",
33538
+ "border-radius",
33539
+ "clip-path",
33540
+ "background-position",
33541
+ "background-size",
33542
+ "mask-position",
33543
+ "filter",
33544
+ "animation-timing-function"
33545
+ ];
33546
+ const UNITS = [
33547
+ "",
33548
+ "px",
33549
+ "em",
33550
+ "rem",
33551
+ "%",
33552
+ "ms",
33553
+ "s",
33554
+ "deg",
33555
+ "fr"
33556
+ ];
33557
+ /** Every bare word a value may contain. Colour names are deliberately absent. */
33558
+ const KEYWORDS = new Set([
33559
+ "none",
33560
+ "auto",
33561
+ "inherit",
33562
+ "initial",
33563
+ "normal",
33564
+ "absolute",
33565
+ "relative",
33566
+ "static",
33567
+ "hidden",
33568
+ "visible",
33569
+ "isolate",
33570
+ "block",
33571
+ "inline-block",
33572
+ "inline-flex",
33573
+ "flex",
33574
+ "grid",
33575
+ "center",
33576
+ "stretch",
33577
+ "flex-start",
33578
+ "flex-end",
33579
+ "start",
33580
+ "end",
33581
+ "nowrap",
33582
+ "underline",
33583
+ "transparent",
33584
+ "top",
33585
+ "right",
33586
+ "bottom",
33587
+ "left",
33588
+ "no-repeat",
33589
+ "repeat-x",
33590
+ "repeat-y",
33591
+ "repeat",
33592
+ "content-box",
33593
+ "border-box",
33594
+ "padding-box",
33595
+ "exclude",
33596
+ "cover",
33597
+ "contain",
33598
+ "to",
33599
+ "from",
33600
+ "at",
33601
+ "in",
33602
+ "srgb",
33603
+ "oklab",
33604
+ "circle",
33605
+ "closest-side",
33606
+ "farthest-side",
33607
+ "all",
33608
+ "ease",
33609
+ "ease-in",
33610
+ "ease-out",
33611
+ "ease-in-out",
33612
+ "linear",
33613
+ "step-end",
33614
+ "step-start",
33615
+ "infinite",
33616
+ "alternate",
33617
+ "both",
33618
+ "forwards",
33619
+ "backwards",
33620
+ "all-small-caps",
33621
+ "small-caps",
33622
+ "transform",
33623
+ "translate",
33624
+ "rotate",
33625
+ "scale",
33626
+ "opacity",
33627
+ "filter",
33628
+ "clip-path",
33629
+ "inset",
33630
+ "color",
33631
+ "background-color",
33632
+ "background-size",
33633
+ "background-position",
33634
+ "box-shadow",
33635
+ "border-radius",
33636
+ "text-shadow",
33637
+ "width",
33638
+ "height",
33639
+ "bottom",
33640
+ "mask-position",
33641
+ "backdrop-filter",
33642
+ "text-decoration-thickness",
33643
+ "text-underline-offset",
33644
+ "calc",
33645
+ "translateX",
33646
+ "translateY",
33647
+ "scaleX",
33648
+ "scaleY",
33649
+ "skewX",
33650
+ "polygon",
33651
+ "cubic-bezier",
33652
+ "steps",
33653
+ "linear-gradient",
33654
+ "radial-gradient",
33655
+ "repeating-linear-gradient",
33656
+ "repeating-conic-gradient",
33657
+ "conic-gradient",
33658
+ "color-mix",
33659
+ "blur",
33660
+ "brightness",
33661
+ "saturate"
33662
+ ]);
33663
+ /**
33664
+ * The mask shapes a part may name with `{shape:Name}`: the affordance icons and
33665
+ * the filled shapes. theme-core draws them (`buttonShapeMaskUrl`), and its tests
33666
+ * check that every name here has a drawing.
33667
+ */
33668
+ const BUTTON_SHAPE_IDS = [
33669
+ "ArrowRight",
33670
+ "ArrowLeft",
33671
+ "ChevronRight",
33672
+ "ChevronLeft",
33673
+ "ChevronDown",
33674
+ "ArrowUpRight",
33675
+ "Wave"
33676
+ ];
33677
+ function isButtonShapeId(value) {
33678
+ return value !== undefined && BUTTON_SHAPE_IDS.includes(value);
33679
+ }
33680
+ const PAINT_STATES = [
33681
+ "base",
33682
+ "hover",
33683
+ "active",
33684
+ "disabled"
33685
+ ];
33686
+ const TOKEN_PATTERN = /\{[^{}]*\}|-?(?:\d+\.?\d*|\.\d+)[a-z%]*|[a-zA-Z][a-zA-Z0-9-]*|[ ,()/+*-]/g;
33687
+ const NUMBER_PATTERN = /^-?(?:\d+\.?\d*|\.\d+)([a-z%]*)$/;
33688
+ const NAME_PATTERN = /^[a-z][a-z0-9-]{0,39}$/;
33689
+ function isPaintState(value) {
33690
+ return value !== undefined && PAINT_STATES.includes(value);
33691
+ }
33692
+ function opaqueToken(argument) {
33693
+ const token = parseThemeColorToken(argument);
33694
+ if (token === null) return null;
33695
+ const parts = parseColorTokenParts(token);
33696
+ return parts.kind === "token" && parts.opacityPercent === null ? token : null;
33697
+ }
33698
+ function bare(token) {
33699
+ return (argument) => argument === undefined ? token : null;
33700
+ }
33701
+ /** One parser per placeholder kind; each is handed the text after the colon, if any. */
33702
+ const PLACEHOLDERS = {
33703
+ ink: (argument) => argument === undefined ? {
33704
+ kind: "ink",
33705
+ state: null
33706
+ } : isPaintState(argument) ? {
33707
+ kind: "ink",
33708
+ state: argument
33709
+ } : null,
33710
+ fill: (argument) => isPaintState(argument) ? {
33711
+ kind: "fill",
33712
+ state: argument
33713
+ } : null,
33714
+ token: (argument) => {
33715
+ const token = opaqueToken(argument);
33716
+ return token === null ? null : {
33717
+ kind: "token",
33718
+ token
33719
+ };
33720
+ },
33721
+ mark: bare({ kind: "mark" }),
33722
+ label: bare({ kind: "label" }),
33723
+ shape: (argument) => isButtonShapeId(argument) ? {
33724
+ kind: "shape",
33725
+ id: argument
33726
+ } : null,
33727
+ key: (argument) => argument !== undefined && NAME_PATTERN.test(argument) ? {
33728
+ kind: "key",
33729
+ name: argument
33730
+ } : null
33731
+ };
33732
+ function parsePlaceholder(body) {
33733
+ const [kind = "", argument, ...rest] = body.split(":");
33734
+ const parse = Object.prototype.hasOwnProperty.call(PLACEHOLDERS, kind) ? PLACEHOLDERS[kind] : undefined;
33735
+ return rest.length > 0 || parse === undefined ? null : parse(argument);
33736
+ }
33737
+ function isAllowedWord(text) {
33738
+ const number = NUMBER_PATTERN.exec(text);
33739
+ if (number) return UNITS.includes(number[1] ?? "");
33740
+ return !/^[a-zA-Z]/.test(text) || KEYWORDS.has(text);
33741
+ }
33742
+ function parsePiece(text) {
33743
+ if (text.startsWith("{")) return parsePlaceholder(text.slice(1, -1));
33744
+ return isAllowedWord(text) ? {
33745
+ kind: "text",
33746
+ text
33747
+ } : null;
33748
+ }
33749
+ /** Every bracket closes one that was opened, and none is left open: an unclosed one would swallow the `;` and `}` after it. */
33750
+ function hasBalancedBrackets(pieces) {
33751
+ const depth = pieces.reduce((open, piece) => open < 0 ? open : piece === "(" ? open + 1 : piece === ")" ? open - 1 : open, 0);
33752
+ return depth === 0;
33753
+ }
33754
+ /** Split a part value into literal text and placeholders; null when it leaves the grammar. */
33755
+ function parseButtonPartValue(value) {
33756
+ if (value.length === 0 || value.length > 400) return null;
33757
+ if (value.includes("/*") || value.includes("*/")) return null;
33758
+ const pieces = [...value.matchAll(TOKEN_PATTERN)].map((match) => match[0]);
33759
+ if (pieces.join("") !== value || !hasBalancedBrackets(pieces)) return null;
33760
+ const tokens = pieces.map(parsePiece);
33761
+ return tokens.every((token) => token !== null) ? tokens : null;
33762
+ }
33763
+ const partValueSchema = z.string().refine((value) => parseButtonPartValue(value) !== null, { message: "Button part values use numbers, the listed keywords and paint placeholders only" });
33764
+ function declarationsSchema$1(properties) {
33765
+ return z.record(z.string(), partValueSchema).superRefine((declarations, ctx) => {
33766
+ Object.entries(declarations).forEach(([property, value]) => {
33767
+ if (!properties.includes(property)) {
33768
+ ctx.addIssue({
33769
+ code: "custom",
33770
+ path: [property],
33771
+ message: `"${property}" is not a property this button part may set`
33772
+ });
33773
+ return;
33774
+ }
33775
+ const usesLabel = parseButtonPartValue(value)?.some((token) => token.kind === "label") ?? false;
33776
+ if (usesLabel !== (property === "content")) {
33777
+ ctx.addIssue({
33778
+ code: "custom",
33779
+ path: [property],
33780
+ message: "`content` takes {label}, and nothing else does"
33781
+ });
33782
+ }
33783
+ });
33784
+ });
33785
+ }
33786
+ const buttonPartsSchema = z.strictObject({
33787
+ self: declarationsSchema$1(BUTTON_PART_PROPERTIES.self).optional(),
33788
+ label: declarationsSchema$1(BUTTON_PART_PROPERTIES.label).optional(),
33789
+ before: declarationsSchema$1(BUTTON_PART_PROPERTIES.before).optional(),
33790
+ after: declarationsSchema$1(BUTTON_PART_PROPERTIES.after).optional()
33791
+ });
33792
+ /** One layer of a state's box-shadow. Lengths are pixels; `paint` is a part value. */
33793
+ const buttonShadowLayerSchema = z.strictObject({
33794
+ inset: z.literal(true).optional(),
33795
+ x: z.number().finite().min(-64).max(64),
33796
+ y: z.number().finite().min(-64).max(64),
33797
+ blur: z.number().finite().min(0).max(96),
33798
+ spread: z.number().finite().min(-48).max(48),
33799
+ paint: partValueSchema
33800
+ });
33801
+ const keyframeOffsetPattern = /^(?:from|to|\d{1,3}(?:\.\d{1,2})?%)$/;
33802
+ /** Named keyframes a variant's parts may run, e.g. `animation: {key:sweep} 900ms ease 1 both`. */
33803
+ const buttonKeyframesSchema = z.record(z.string().regex(NAME_PATTERN), z.record(z.string().regex(keyframeOffsetPattern), declarationsSchema$1(KEYFRAME_PROPERTIES)));
33804
+ /**
33805
+ * A free border radius: one to four lengths or percentages, optionally a
33806
+ * second set after a slash. Tailwind radius tokens stay valid beside it.
33807
+ */
33808
+ const RADIUS_LENGTH = String.raw`(?:0|\d+(?:\.\d+)?(?:px|rem|em|%))`;
33809
+ const FREE_RADIUS_PATTERN = new RegExp(String.raw`^${RADIUS_LENGTH}(?: ${RADIUS_LENGTH}){0,3}(?: \/ ${RADIUS_LENGTH}(?: ${RADIUS_LENGTH}){0,3})?$`);
33810
+ function isFreeButtonRadius(value) {
33811
+ return FREE_RADIUS_PATTERN.test(value);
33812
+ }
33813
+
33412
33814
  //#endregion
33413
33815
  //#region ../site-contracts/src/theme/buttons.ts
33414
33816
  /**
@@ -33591,10 +33993,25 @@ const prioritySchema = z.union([
33591
33993
  z.literal(2),
33592
33994
  z.literal(3)
33593
33995
  ]);
33594
- const buttonSurfaceFallbackSchema = z.discriminatedUnion("kind", [z.strictObject({ kind: z.literal("surface-outline") }), z.strictObject({
33595
- kind: z.literal("variant"),
33596
- role: variantRoleSchema
33597
- })]);
33996
+ /**
33997
+ * What a role becomes on a ground where its own colours fail.
33998
+ * `surface-outline` is an outline in the ground's ink that fills on hover.
33999
+ * `surface-solid` is its mirror: filled with the ground's ink. Its hover either
34000
+ * keeps that fill (`steady`, for a button whose hover is movement or decoration)
34001
+ * or takes the ground's own colour (`swap`, for a button whose hover is a change
34002
+ * of fill). Both kinds use the surface's checked colour pair.
34003
+ */
34004
+ const buttonSurfaceFallbackSchema = z.discriminatedUnion("kind", [
34005
+ z.strictObject({ kind: z.literal("surface-outline") }),
34006
+ z.strictObject({
34007
+ kind: z.literal("surface-solid"),
34008
+ hover: z.enum(["steady", "swap"])
34009
+ }),
34010
+ z.strictObject({
34011
+ kind: z.literal("variant"),
34012
+ role: variantRoleSchema
34013
+ })
34014
+ ]);
33598
34015
  const buttonSurfacePolicyShape = Object.fromEntries(VARIANT_ROLES.map((role) => [role, z.array(buttonSurfaceFallbackSchema).max(VARIANT_ROLES.length)]));
33599
34016
  const buttonSurfacePolicySchema = z.strictObject(buttonSurfacePolicyShape);
33600
34017
  /**
@@ -33732,9 +34149,11 @@ const buttonVisualAppearanceSchema = z.strictObject({
33732
34149
  }),
33733
34150
  effects: z.array(buttonEffectApplicationSchema),
33734
34151
  transform: z.literal("none").optional(),
33735
- contextualHover: contextualButtonHoverSchema.optional()
34152
+ contextualHover: contextualButtonHoverSchema.optional(),
34153
+ shadowLayers: z.array(buttonShadowLayerSchema).max(4).optional(),
34154
+ parts: buttonPartsSchema.optional()
33736
34155
  });
33737
- const buttonVisualStatesSchema = z.strictObject({
34156
+ const buttonVisualStatesObjectSchema = z.strictObject({
33738
34157
  base: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema }),
33739
34158
  hover: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema }),
33740
34159
  focus: buttonVisualAppearanceSchema.extend({
@@ -33748,6 +34167,50 @@ const buttonVisualStatesSchema = z.strictObject({
33748
34167
  active: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema }),
33749
34168
  disabled: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema })
33750
34169
  });
34170
+ const BUTTON_STATE_NAMES = [
34171
+ "base",
34172
+ "hover",
34173
+ "focus",
34174
+ "active",
34175
+ "disabled"
34176
+ ];
34177
+ /**
34178
+ * Parts are explicit like everything else in a recipe: a part declared in one
34179
+ * state is declared in all five, with the same properties, so no state inherits
34180
+ * a value from another. Shadow layers replace the flat shadow; they never sit on top of one.
34181
+ */
34182
+ const buttonVisualStatesSchema = buttonVisualStatesObjectSchema.superRefine((states, ctx) => {
34183
+ BUTTON_STATE_NAMES.forEach((state) => {
34184
+ const appearance = states[state];
34185
+ if (appearance.shadowLayers && appearance.shadow !== "focus-indicator" && appearance.shadow.elevation !== "none") {
34186
+ ctx.addIssue({
34187
+ code: "custom",
34188
+ path: [state, "shadowLayers"],
34189
+ message: "A state with shadow layers declares a flat `shadow`"
34190
+ });
34191
+ }
34192
+ });
34193
+ BUTTON_PART_NAMES.forEach((part) => {
34194
+ const keys = (state) => {
34195
+ const declarations = states[state].parts?.[part];
34196
+ return declarations === undefined ? null : Object.keys(declarations).sort().join(" ");
34197
+ };
34198
+ const base = keys("base");
34199
+ BUTTON_STATE_NAMES.forEach((state) => {
34200
+ if (keys(state) !== base) {
34201
+ ctx.addIssue({
34202
+ code: "custom",
34203
+ path: [
34204
+ state,
34205
+ "parts",
34206
+ part
34207
+ ],
34208
+ message: `The ${part} part must declare the same properties in every state`
34209
+ });
34210
+ }
34211
+ });
34212
+ });
34213
+ });
33751
34214
  const variantEffectsSchema = z.strictObject({
33752
34215
  base: z.array(buttonEffectApplicationSchema).optional(),
33753
34216
  hover: z.array(buttonEffectApplicationSchema).optional(),
@@ -33787,7 +34250,28 @@ const buttonVariantSchema = z.strictObject({
33787
34250
  contextualHover: contextualButtonHoverSchema.optional(),
33788
34251
  effects: variantEffectsSchema.optional(),
33789
34252
  sizes: variantSizeOverridesSchema.optional(),
33790
- affordance: buttonVariantAffordanceSchema.optional()
34253
+ affordance: buttonVariantAffordanceSchema.optional(),
34254
+ keyframes: buttonKeyframesSchema.optional()
34255
+ }).superRefine((variant, ctx) => {
34256
+ const declared = Object.keys(variant.keyframes ?? {});
34257
+ BUTTON_STATE_NAMES.forEach((state) => {
34258
+ Object.entries(variant.visualStates?.[state].parts ?? {}).forEach(([part, declarations]) => {
34259
+ Object.entries(declarations ?? {}).forEach(([property, value]) => {
34260
+ const missing = (parseButtonPartValue(value) ?? []).flatMap((token) => token.kind === "key" && !declared.includes(token.name) ? [token.name] : []);
34261
+ missing.forEach((name) => ctx.addIssue({
34262
+ code: "custom",
34263
+ path: [
34264
+ "visualStates",
34265
+ state,
34266
+ "parts",
34267
+ part,
34268
+ property
34269
+ ],
34270
+ message: `No keyframes named "${name}" are declared for this variant`
34271
+ }));
34272
+ });
34273
+ });
34274
+ });
33791
34275
  });
33792
34276
  const buttonSystemSchema = z.strictObject({
33793
34277
  global: buttonGlobalSettingsSchema,
@@ -33840,7 +34324,20 @@ const BUTTON_STYLE_IDS = [
33840
34324
  "marquee",
33841
34325
  "sewn-label",
33842
34326
  "edged-pill",
33843
- "orbit-pill"
34327
+ "orbit-pill",
34328
+ "editorial-wipe",
34329
+ "stationer-rule",
34330
+ "swiss-arrow",
34331
+ "poster-block",
34332
+ "lantern-glow",
34333
+ "marquee-capitals",
34334
+ "arcade-key",
34335
+ "liquid-pebble",
34336
+ "soft-glass",
34337
+ "ticket-stub",
34338
+ "forge-plate",
34339
+ "press-keyline",
34340
+ "trailing-line"
33844
34341
  ];
33845
34342
  const quietArrowParametersSchema = z.object({
33846
34343
  secondaryTreatment: z.enum(["outlined", "solid-accent"]),
@@ -33893,7 +34390,20 @@ const buttonStyleSelectionWireSchema = z.discriminatedUnion("styleId", [
33893
34390
  selectionBranch("marquee", emptyParametersSchema),
33894
34391
  selectionBranch("sewn-label", emptyParametersSchema),
33895
34392
  selectionBranch("edged-pill", emptyParametersSchema),
33896
- selectionBranch("orbit-pill", emptyParametersSchema)
34393
+ selectionBranch("orbit-pill", emptyParametersSchema),
34394
+ selectionBranch("editorial-wipe", emptyParametersSchema),
34395
+ selectionBranch("stationer-rule", emptyParametersSchema),
34396
+ selectionBranch("ticket-stub", emptyParametersSchema),
34397
+ selectionBranch("forge-plate", emptyParametersSchema),
34398
+ selectionBranch("press-keyline", emptyParametersSchema),
34399
+ selectionBranch("trailing-line", emptyParametersSchema),
34400
+ selectionBranch("swiss-arrow", emptyParametersSchema),
34401
+ selectionBranch("poster-block", emptyParametersSchema),
34402
+ selectionBranch("lantern-glow", emptyParametersSchema),
34403
+ selectionBranch("marquee-capitals", emptyParametersSchema),
34404
+ selectionBranch("arcade-key", emptyParametersSchema),
34405
+ selectionBranch("liquid-pebble", emptyParametersSchema),
34406
+ selectionBranch("soft-glass", emptyParametersSchema)
33897
34407
  ]);
33898
34408
  const buttonStyleSelectionSchema = buttonStyleSelectionWireSchema;
33899
34409
 
@@ -34869,12 +35379,21 @@ const curatedFontWidths = {
34869
35379
  "Instrument Sans": {
34870
35380
  min: 75,
34871
35381
  max: 100
35382
+ },
35383
+ "Bricolage Grotesque": {
35384
+ min: 75,
35385
+ max: 100
34872
35386
  }
34873
35387
  };
34874
35388
  function getFontWidthRange(family) {
34875
35389
  const primary = (family.split(",")[0] ?? "").trim().replace(/^["']|["']$/g, "");
34876
35390
  return curatedFontWidths[primary];
34877
35391
  }
35392
+ /** Whether a family's width axis reaches this width. A family without a declared axis reaches none. */
35393
+ function fontWidthFits(width, family) {
35394
+ const range = getFontWidthRange(family);
35395
+ return range !== undefined && width >= range.min && width <= range.max;
35396
+ }
34878
35397
  const bodyFontFamilyKeys = new Set(bodyFontFamilies.map((family) => family.toLocaleLowerCase()));
34879
35398
  /**
34880
35399
  * Whether a Google family is built for body text: paragraphs, menus and
@@ -34889,16 +35408,18 @@ function isBodyFontFamily(family) {
34889
35408
 
34890
35409
  //#endregion
34891
35410
  //#region ../site-contracts/src/theme/typography.ts
35411
+ /** The typography weight vocabulary; every role that names a weight uses it (light..bold → 300..700). */
35412
+ const typographyWeightSchema = z.enum([
35413
+ "light",
35414
+ "regular",
35415
+ "medium",
35416
+ "semibold",
35417
+ "bold"
35418
+ ]);
34892
35419
  const typographyStyleSchema = z.object({
34893
35420
  width: fontWidthSchema.optional(),
34894
35421
  family: z.string().min(1),
34895
- weight: z.enum([
34896
- "light",
34897
- "regular",
34898
- "medium",
34899
- "semibold",
34900
- "bold"
34901
- ]),
35422
+ weight: typographyWeightSchema,
34902
35423
  letterSpacing: z.enum([
34903
35424
  "tight",
34904
35425
  "normal",
@@ -34925,13 +35446,7 @@ const headingSizeSchema = z.enum([
34925
35446
  ]);
34926
35447
  const headingTypographyOverridesSchema = z.object({
34927
35448
  width: fontWidthSchema.nullable().optional(),
34928
- weight: z.enum([
34929
- "light",
34930
- "regular",
34931
- "medium",
34932
- "semibold",
34933
- "bold"
34934
- ]).nullable().optional(),
35449
+ weight: typographyWeightSchema.nullable().optional(),
34935
35450
  letterSpacing: z.enum([
34936
35451
  "tight",
34937
35452
  "normal",
@@ -35001,13 +35516,7 @@ const eyebrowTypographyStyleSchema = z.object({
35001
35516
  "md",
35002
35517
  "lg"
35003
35518
  ]).optional(),
35004
- weight: z.enum([
35005
- "light",
35006
- "regular",
35007
- "medium",
35008
- "semibold",
35009
- "bold"
35010
- ]).optional(),
35519
+ weight: typographyWeightSchema.optional(),
35011
35520
  letterSpacing: z.enum([
35012
35521
  "tight",
35013
35522
  "normal",
@@ -35078,15 +35587,13 @@ const typographySchema = z.object({
35078
35587
  }
35079
35588
  ];
35080
35589
  roles.forEach(({ style, family, path }) => {
35081
- if (style?.width == null) return;
35590
+ if (style?.width == null || fontWidthFits(style.width, family)) return;
35082
35591
  const range = getFontWidthRange(family);
35083
- if (!range || style.width < range.min || style.width > range.max) {
35084
- ctx.addIssue({
35085
- code: "custom",
35086
- path,
35087
- message: range ? `Font width must be between ${range.min}% and ${range.max}% for ${family}.` : `Font width is not declared for ${family}.`
35088
- });
35089
- }
35592
+ ctx.addIssue({
35593
+ code: "custom",
35594
+ path,
35595
+ message: range ? `Font width must be between ${range.min}% and ${range.max}% for ${family}.` : `Font width is not declared for ${family}.`
35596
+ });
35090
35597
  });
35091
35598
  });
35092
35599
 
@@ -35133,7 +35640,21 @@ const componentShadowSchema = z.object({ elevation: z.enum([
35133
35640
 
35134
35641
  //#endregion
35135
35642
  //#region ../site-contracts/src/siteStyle/footerPreferences.ts
35136
- const footerEdgeIntentValues = decorativeTransitionIntentValues.filter((id) => id !== "wave-edge-echo");
35643
+ const footerEdgeIntentValues = [
35644
+ "soft-fade-short",
35645
+ "soft-fade-long",
35646
+ "soft-fade-expansive",
35647
+ "wave-edge",
35648
+ "wave-edge-balanced",
35649
+ "wave-edge-gentle",
35650
+ "wave-edge-bold",
35651
+ "wave-edge-drift",
35652
+ "arc-edge-echo",
35653
+ "angle-edge",
35654
+ "angle-edge-subtle",
35655
+ "angle-edge-steep",
35656
+ "torn-edge-holes"
35657
+ ];
35137
35658
  const defaultFooterPreferences = { edge: { kind: "style-default" } };
35138
35659
  const footerEdgePreferenceSchema = z.discriminatedUnion("kind", [
35139
35660
  z.strictObject({ kind: z.literal("style-default") }),
@@ -42116,6 +42637,9 @@ const logoStyleSchema = z.object({
42116
42637
  gradient: z.boolean().default(false),
42117
42638
  brandDisplay: z.enum(brandDisplayModeValues).optional(),
42118
42639
  size: z.enum(logoSizePolicyValues).optional(),
42640
+ weight: typographyWeightSchema.optional(),
42641
+ case: z.enum(["uppercase", "normal"]).optional(),
42642
+ width: fontWidthSchema.optional(),
42119
42643
  accommodation: z.enum(logoAccommodationPatternValues).optional()
42120
42644
  }).optional();
42121
42645
  const headerLogoTextSchema = z.object({
@@ -46396,4 +46920,4 @@ function parseSdkEventRunUpsertInput(input, runIndex, options) {
46396
46920
  }
46397
46921
 
46398
46922
  //#endregion
46399
- export { walkAndCollectImageAttrs as $, bookingPageLookIdValues as $n, flatInkHoverTreatmentSchema as $t, parseSiteChromeBackgroundColorToken as A, isRichTextDoc as An, createBlockRef as Ar, getMimeType as At, sectionStylesOverrideSchema as B, internalLinkSchema as Bn, createSiteCommandSiteRef as Br, footerPreferencesSchema as Bt, blockOrderIdentifiersForCommand as C, require_dist as Cn, asLayoutVariantKey as Cr, parseCanonicalMediaIdentifier as Ct, pagePathForCommand as D, eventCommandScheduleSchema as Dn, compareEntrySlug as Dr, deriveVideoSlotPolicy as Dt, pageIdentifierForCommand as E, bookingPaymentTermsSchema as En, makeBoundaryId as Er, slugifyMediaIdentifier as Et, defaultHeaderBrandPreferences as F, findUnfilledSentinels as Fn, createEventSeriesRef as Fr, MAX_MANAGEMENT_MEDIA_UPLOAD_BYTES as Ft, headerInteractionQuietPalette as G, pageLinkSchema as Gn, __toESM as Gr, cardRoleValues as Gt, skinBookingBarSchema as H, internalRouteOnlyLinkSchema as Hn, refSlug as Hr, accordionIconSchema as Ht, footerModeSchema as I, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as In, createFooterRef as Ir, classifyKnownMimeType as It, boxBackgroundOverlaySchema as J, parseGradientPresetId as Jn, openCardRoleValue as Jt, blockCustomCssRuleSchema as K, ICON_PICKER_PRESETS as Kn, cardVariantRoleValues as Kt, cardStylesOverrideSchema as L, customLinkSchema as Ln, createFormRef as Lr, managementMediaLibraryUploadLimitForMimeType as Lt, defaultHeaderPreferences as M, sanitizeHref as Mn, createCommandRef as Mr, normalizeAmbiguousStoragePathForSite as Mt, defaultHeaderNavPreferences as N, buildEntryScaffold as Nn, createContentEntryRef as Nr, parseRelativeStoragePath as Nt, hasConfiguredBookingVertical as O, sdkEntrySlotBlocksInputSchema as On, bookingQuestionAttachmentSchema as Or, resolveVideoSelectionIntentForMediaField as Ot, defaultHeaderBrandPresentation as P, validateEntryInstance as Pn, createEventCategoryRef as Pr, FILE_SIZE_LIMITS as Pt, summarizePortableMediaReferences as Q, asHeaderStyleId as Qn, editorialLinkParametersSchema as Qt, containerStylesOverrideSchema as R, entryLinkSchema as Rn, createNavigationRef as Rr, parseSafeDownloadFilename as Rt, blockIdentifierForCommand as S, changeBookingQuestionsInputSchema as Sn, asDesignSystemTemplateId as Sr, buildMediaIdentifierFromFilename as St, pageIdentifierForBlockCommand as T, bookingPaymentCollectionOptionSchema as Tn, asSiteStyleId as Tr, resolveMediaIdentifier as Tt, headerVariantValues as U, isResolvedInternalLinkEntityType as Un, slugPart as Ur, boxlessCardVariantValue as Ut, themeSchema as V, internalResolvedLinkSchema as Vn, createVenueRef as Vr, getFontWidthRange as Vt, headerInteractionPaletteValues as W, linkSchema as Wn, __commonJSMin as Wr, cardRoleSchema as Wt, runtimeBoxBackgroundSchema as X, asFooterLookId as Xn, BUTTON_STYLE_IDS as Xt, boxBackgroundSchema as Y, SUPPORTED_LOADER_ENDPOINTS as Yn, surfaceCardRoleValues as Yt, collectPortableMediaReferencesFromContent as Z, asHeaderLayoutId as Zn, buttonStyleSelectionSchema as Zt, mapEventCommandContent as _, paletteColorsSchema as _n, asBlockOrderIndex as _r, resolveManagedMediaReference as _t, classifySdkEventSchedule as a, buttonSystemSchema as an, siteChromeBackgroundOverrideOwner as ar, parseAspectRatioValue as at, getSiteCommandMetadata as b, parseColorTokenParts as bn, asDesignBoundaryId as br, mediaTypeDiscriminants as bt, isEventVisibility as c, opaqueButtonColourTokenSchema as cn, arrangementModes as cr, getDirectImageUrlForSiteScopedPath as ct, venueManagementFields as d, blockColorTokenNames as dn, headingDecorationColorTokenValues as dr, imageMediaSchema as dt, flatInkParametersSchema as en, footerLookIdValues as er, deleteEnvSpecificKeys as et, sortRecord as f, hexColorSchema as fn, isArrangementMode as fr, mediaSchema as ft, resolveEventSeriesWaitlistMapping as g, paletteColorsFromEntries as gn, asBlockContentVersionId as gr, buildRenderableMediaAssetIndex as gt, parseAndPlanCommandBatchForTypes as h, paletteColorEntries as hn, asAppearancePresetId as hr, videoMediaSchema as ht, sdkEventUpsertOptionalFieldSchemas as i, buttonPressOffsetSchema as in, parseBookingPageLookId as ir, isExplicitRectCrop as it, backgroundAppearanceColorTokenNames as j, isSafeRichTextHref as jn, createBlocksRef as jr, asRecord as jt, headerPreferencesSchema as k, RichTextDocSchema as kn, ianaTimezoneSchema as kr, getExtensionForMimeType as kt, resolvePageUpsertSeo as l, parseOpaqueButtonColourToken as ln, eventListTreatmentValues as lr, getImageUrl as lt, createDryRunReport as m, normalizePaletteHex as mn, visibleHeadingDecorationFamilyValues as mr, runtimeMediaSchema as mt, sdkCourseBookingSettingsSchema as n, squareOutlineParametersSchema as nn, headerStyleIdValues as nr, rotateNormalizedPoint as nt, classifySdkEventBookingOffer as o, buttonVariantIdSchema as on, SYSTEM_BLOCK_KINDS as or, resolveMediaTransformForAspect as ot, stableStringify as p, isThemeColorToken as pn, tileTreatmentValues as pr, persistableMediaSchema as pt, customCssRuleSchema as q, gradientPresetIdValues as qn, itemRoleValues as qt, sdkEventOccurrenceInputSchema as r, buttonEffectApplicationSchema as rn, pageDesignEditorBackgroundOverrideOwner as rr, normalizeWidthCandidates as rt, eventVisibilitySchema as s, buttonVisualStatesSchema as sn, VARIANT_ROLES as sr, getDirectImageUrlForRelativePath as st, classifySdkEventTiming as t, quietArrowParametersSchema as tn, headerLayoutIdValues as tr, looksLikeUuid as tt, eventCategoryManagementFields as u, PALETTE_TOKEN_NAMES as un, eyebrowTreatmentValues as ur, isSiteScopedDirectImageStoragePath as ut, evaluateSiteCommandBatchExposure as v, paletteModeSchema as vn, asBoundaryOptionId as vr, PUBLIC_FILE_FIELD_KINDS as vt, entryIdentifierForCommand as w, eventBookingOfferIntentSchema as wn, asPageFlowPresetId as wr, parseMediaIdentifier as wt, eventManagementTiming as x, parseThemeColorToken as xn, asDesignPageId as xr, mediaIdentifierSchema as xt, evaluateSiteCommandExposure as y, paletteTokenNameSchema as yn, asDesignBlockId as yr, isDisplayMediaKind as yt, headerPositioningValues as z, externalLinkSchema as zn, createPageRef as zr, defaultFooterPreferences as zt };
46923
+ export { walkAndCollectImageAttrs as $, parseGradientPresetId as $n, editorialLinkParametersSchema as $t, parseSiteChromeBackgroundColorToken as A, bookingPaymentCollectionOptionSchema as An, asSiteStyleId as Ar, getMimeType as At, sectionStylesOverrideSchema as B, findUnfilledSentinels as Bn, createEventSeriesRef as Br, footerPreferencesSchema as Bt, blockOrderIdentifiersForCommand as C, paletteModeSchema as Cn, asBoundaryOptionId as Cr, parseCanonicalMediaIdentifier as Ct, pagePathForCommand as D, changeBookingQuestionsInputSchema as Dn, asDesignSystemTemplateId as Dr, deriveVideoSlotPolicy as Dt, pageIdentifierForCommand as E, parseThemeColorToken as En, asDesignPageId as Er, slugifyMediaIdentifier as Et, defaultHeaderBrandPreferences as F, isRichTextDoc as Fn, createBlockRef as Fr, MAX_MANAGEMENT_MEDIA_UPLOAD_BYTES as Ft, headerInteractionQuietPalette as G, internalLinkSchema as Gn, createSiteCommandSiteRef as Gr, cardRoleSchema as Gt, skinBookingBarSchema as H, customLinkSchema as Hn, createFormRef as Hr, getFontWidthRange as Ht, footerModeSchema as I, isSafeRichTextHref as In, createBlocksRef as Ir, classifyKnownMimeType as It, boxBackgroundOverlaySchema as J, isResolvedInternalLinkEntityType as Jn, slugPart as Jr, itemRoleValues as Jt, blockCustomCssRuleSchema as K, internalResolvedLinkSchema as Kn, createVenueRef as Kr, cardRoleValues as Kt, cardStylesOverrideSchema as L, sanitizeHref as Ln, createCommandRef as Lr, managementMediaLibraryUploadLimitForMimeType as Lt, defaultHeaderPreferences as M, eventCommandScheduleSchema as Mn, compareEntrySlug as Mr, normalizeAmbiguousStoragePathForSite as Mt, defaultHeaderNavPreferences as N, sdkEntrySlotBlocksInputSchema as Nn, bookingQuestionAttachmentSchema as Nr, parseRelativeStoragePath as Nt, hasConfiguredBookingVertical as O, require_dist as On, asLayoutVariantKey as Or, resolveVideoSelectionIntentForMediaField as Ot, defaultHeaderBrandPresentation as P, RichTextDocSchema as Pn, ianaTimezoneSchema as Pr, FILE_SIZE_LIMITS as Pt, summarizePortableMediaReferences as Q, gradientPresetIdValues as Qn, buttonStyleSelectionSchema as Qt, containerStylesOverrideSchema as R, buildEntryScaffold as Rn, createContentEntryRef as Rr, parseSafeDownloadFilename as Rt, blockIdentifierForCommand as S, paletteColorsSchema as Sn, asBlockOrderIndex as Sr, buildMediaIdentifierFromFilename as St, pageIdentifierForBlockCommand as T, parseColorTokenParts as Tn, asDesignBoundaryId as Tr, resolveMediaIdentifier as Tt, headerVariantValues as U, entryLinkSchema as Un, createNavigationRef as Ur, accordionIconSchema as Ut, themeSchema as V, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Vn, createFooterRef as Vr, fontWidthFits as Vt, headerInteractionPaletteValues as W, externalLinkSchema as Wn, createPageRef as Wr, boxlessCardVariantValue as Wt, runtimeBoxBackgroundSchema as X, pageLinkSchema as Xn, __toESM as Xr, surfaceCardRoleValues as Xt, boxBackgroundSchema as Y, linkSchema as Yn, __commonJSMin as Yr, openCardRoleValue as Yt, collectPortableMediaReferencesFromContent as Z, ICON_PICKER_PRESETS as Zn, BUTTON_STYLE_IDS as Zt, mapEventCommandContent as _, hexColorSchema as _n, isArrangementMode as _r, resolveManagedMediaReference as _t, classifySdkEventSchedule as a, buttonPressOffsetSchema as an, footerLookIdValues as ar, parseAspectRatioValue as at, getSiteCommandMetadata as b, paletteColorEntries as bn, asAppearancePresetId as br, mediaTypeDiscriminants as bt, isEventVisibility as c, buttonVisualStatesSchema as cn, pageDesignEditorBackgroundOverrideOwner as cr, getDirectImageUrlForSiteScopedPath as ct, venueManagementFields as d, BUTTON_PART_NAMES as dn, SYSTEM_BLOCK_KINDS as dr, imageMediaSchema as dt, flatInkHoverTreatmentSchema as en, SUPPORTED_LOADER_ENDPOINTS as er, deleteEnvSpecificKeys as et, sortRecord as f, buttonKeyframesSchema as fn, VARIANT_ROLES as fr, mediaSchema as ft, resolveEventSeriesWaitlistMapping as g, blockColorTokenNames as gn, headingDecorationColorTokenValues as gr, buildRenderableMediaAssetIndex as gt, parseAndPlanCommandBatchForTypes as h, PALETTE_TOKEN_NAMES as hn, eyebrowTreatmentValues as hr, videoMediaSchema as ht, sdkEventUpsertOptionalFieldSchemas as i, buttonEffectApplicationSchema as in, bookingPageLookIdValues as ir, isExplicitRectCrop as it, backgroundAppearanceColorTokenNames as j, bookingPaymentTermsSchema as jn, makeBoundaryId as jr, asRecord as jt, headerPreferencesSchema as k, eventBookingOfferIntentSchema as kn, asPageFlowPresetId as kr, getExtensionForMimeType as kt, resolvePageUpsertSeo as l, opaqueButtonColourTokenSchema as ln, parseBookingPageLookId as lr, getImageUrl as lt, createDryRunReport as m, parseButtonPartValue as mn, eventListTreatmentValues as mr, runtimeMediaSchema as mt, sdkCourseBookingSettingsSchema as n, quietArrowParametersSchema as nn, asHeaderLayoutId as nr, rotateNormalizedPoint as nt, classifySdkEventBookingOffer as o, buttonSystemSchema as on, headerLayoutIdValues as or, resolveMediaTransformForAspect as ot, stableStringify as p, isFreeButtonRadius as pn, arrangementModes as pr, persistableMediaSchema as pt, customCssRuleSchema as q, internalRouteOnlyLinkSchema as qn, refSlug as qr, cardVariantRoleValues as qt, sdkEventOccurrenceInputSchema as r, squareOutlineParametersSchema as rn, asHeaderStyleId as rr, normalizeWidthCandidates as rt, eventVisibilitySchema as s, buttonVariantIdSchema as sn, headerStyleIdValues as sr, getDirectImageUrlForRelativePath as st, classifySdkEventTiming as t, flatInkParametersSchema as tn, asFooterLookId as tr, looksLikeUuid as tt, eventCategoryManagementFields as u, parseOpaqueButtonColourToken as un, siteChromeBackgroundOverrideOwner as ur, isSiteScopedDirectImageStoragePath as ut, evaluateSiteCommandBatchExposure as v, isThemeColorToken as vn, tileTreatmentValues as vr, PUBLIC_FILE_FIELD_KINDS as vt, entryIdentifierForCommand as w, paletteTokenNameSchema as wn, asDesignBlockId as wr, parseMediaIdentifier as wt, eventManagementTiming as x, paletteColorsFromEntries as xn, asBlockContentVersionId as xr, mediaIdentifierSchema as xt, evaluateSiteCommandExposure as y, normalizePaletteHex as yn, visibleHeadingDecorationFamilyValues as yr, isDisplayMediaKind as yt, headerPositioningValues as z, validateEntryInstance as zn, createEventCategoryRef as zr, defaultFooterPreferences as zt };