riverbankcms 0.36.0 → 0.38.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/dist/acceptance/matrix.mjs +3 -3
- package/dist/cli/index.mjs +6849 -3337
- package/dist/cli/init-docs/content/getting-started.md +10 -10
- package/dist/{entryCommands-Cx1aj859.mjs → entryCommands-Db_o9w2r.mjs} +5179 -1336
- package/dist/{eventUpsertInputSchema-Dj2LtxCt.mjs → eventUpsertInputSchema-CHMFsN8M.mjs} +2 -2
- package/dist/load-config-CkNUO_cn.mjs +4 -0
- package/dist/{load-config-k3XF8V97.mjs → load-config-aVpLIpK_.mjs} +2 -2
- package/dist/{plan-D-bOngd3.mjs → plan-CNisrgzZ.mjs} +9 -12
- package/dist/scaffold/index.mjs +2 -2
- package/dist/{sdk-event-upsert-n4in1E4v.mjs → sdk-event-upsert-CLqEh-D2.mjs} +207 -125
- package/dist/{src-DHIn60_q.mjs → src-CE4CDO3T.mjs} +396 -29
- package/dist/testing.mjs +4 -4
- package/package.json +1 -1
- package/dist/load-config-D7f6MXJV.mjs +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
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-CE4CDO3T.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
@@ -106,7 +106,6 @@ const resourceKinds = [
|
|
|
106
106
|
"event-series-registration",
|
|
107
107
|
"event-registration",
|
|
108
108
|
"pass-redemption",
|
|
109
|
-
"order",
|
|
110
109
|
"appointment-service",
|
|
111
110
|
"appointment-service-category",
|
|
112
111
|
"appointment-resource",
|
|
@@ -3043,6 +3042,16 @@ const PRODUCT_CATEGORY_CONTENT_TYPE_SCHEMA = {
|
|
|
3043
3042
|
|
|
3044
3043
|
//#endregion
|
|
3045
3044
|
//#region ../content-model/src/content-types/builtins.ts
|
|
3045
|
+
/** The content type that holds team member profiles, and their page sections. */
|
|
3046
|
+
const TEAM_MEMBER_CONTENT_TYPE_KEY = "team-member";
|
|
3047
|
+
/**
|
|
3048
|
+
* The empty bio a profile stores when its bio is cleared. The profile then
|
|
3049
|
+
* shows the person's short bio from About instead.
|
|
3050
|
+
*/
|
|
3051
|
+
const EMPTY_TEAM_MEMBER_BIO = {
|
|
3052
|
+
type: "doc",
|
|
3053
|
+
content: []
|
|
3054
|
+
};
|
|
3046
3055
|
/**
|
|
3047
3056
|
* Built-in `ContentTypeSchema` registry. Keyed exhaustively on
|
|
3048
3057
|
* `BuiltinContentTypeKey` via `satisfies` — adding a new builtin key
|
|
@@ -5346,6 +5355,14 @@ function removeTemplateBlockBinding(allBindings, blockId, propId) {
|
|
|
5346
5355
|
};
|
|
5347
5356
|
}
|
|
5348
5357
|
|
|
5358
|
+
//#endregion
|
|
5359
|
+
//#region ../content-model/src/templates/previewSource.ts
|
|
5360
|
+
function templatePreviewSource(typeKey) {
|
|
5361
|
+
if (typeKey === "event") return "event-page";
|
|
5362
|
+
if (typeKey === TEAM_MEMBER_CONTENT_TYPE_KEY) return "team-profile";
|
|
5363
|
+
return "content-entry";
|
|
5364
|
+
}
|
|
5365
|
+
|
|
5349
5366
|
//#endregion
|
|
5350
5367
|
//#region ../content-model/src/entry-slots/types.ts
|
|
5351
5368
|
function ok$2(value) {
|
|
@@ -6206,6 +6223,16 @@ const BODY_SECTION_KINDS = [
|
|
|
6206
6223
|
];
|
|
6207
6224
|
/** Short, owner-defined labels shown beside the event title and in listings. */
|
|
6208
6225
|
const FACT_SECTION_KINDS = ["choice", "shortText"];
|
|
6226
|
+
/**
|
|
6227
|
+
* Whose pages take sections. Each subject's key is also its content type's
|
|
6228
|
+
* key, which is where its definitions are kept. The type below is read from
|
|
6229
|
+
* this list, so the list is complete by construction.
|
|
6230
|
+
*/
|
|
6231
|
+
const SECTION_SUBJECTS = [
|
|
6232
|
+
"event",
|
|
6233
|
+
"service",
|
|
6234
|
+
"team-member"
|
|
6235
|
+
];
|
|
6209
6236
|
function unsafeAsPageSectionId(value) {
|
|
6210
6237
|
return value;
|
|
6211
6238
|
}
|
|
@@ -6252,11 +6279,15 @@ function nonEmptyUnique(item) {
|
|
|
6252
6279
|
});
|
|
6253
6280
|
}
|
|
6254
6281
|
const eventCategoryIdSchema = uuidSchema.transform(unsafeAsEventCategoryId);
|
|
6255
|
-
const applicabilitySchema = z.discriminatedUnion("subject", [
|
|
6256
|
-
subject: z.literal("
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6282
|
+
const applicabilitySchema = z.discriminatedUnion("subject", [
|
|
6283
|
+
z.object({ subject: z.literal("service") }).strict(),
|
|
6284
|
+
z.object({ subject: z.literal("team-member") }).strict(),
|
|
6285
|
+
z.object({
|
|
6286
|
+
subject: z.literal("event"),
|
|
6287
|
+
presets: z.union([z.literal("all"), nonEmptyUnique(z.enum(EVENT_PRESET_VALUES))]),
|
|
6288
|
+
categories: z.union([z.literal("all"), nonEmptyUnique(eventCategoryIdSchema)])
|
|
6289
|
+
}).strict()
|
|
6290
|
+
]);
|
|
6260
6291
|
function isBodyShape(shape) {
|
|
6261
6292
|
return shape.placement === "body";
|
|
6262
6293
|
}
|
|
@@ -6562,7 +6593,7 @@ function readSectionValue(stored, kind) {
|
|
|
6562
6593
|
//#region ../content-model/src/page-sections/applicability.ts
|
|
6563
6594
|
/** Whether one applicability covers a subject with these facts. */
|
|
6564
6595
|
function appliesTo(applicability, facts) {
|
|
6565
|
-
if (applicability.subject
|
|
6596
|
+
if (applicability.subject !== "event" || facts.subject !== "event") {
|
|
6566
6597
|
return applicability.subject === facts.subject;
|
|
6567
6598
|
}
|
|
6568
6599
|
const presetMatches = applicability.presets === "all" || applicability.presets.includes(facts.preset);
|
|
@@ -6575,7 +6606,7 @@ function listsIntersect(left, right) {
|
|
|
6575
6606
|
}
|
|
6576
6607
|
/** Whether some subject could be covered by both (used for the duplicate-heading check). */
|
|
6577
6608
|
function applicabilitiesIntersect(left, right) {
|
|
6578
|
-
if (left.subject
|
|
6609
|
+
if (left.subject !== "event" || right.subject !== "event") {
|
|
6579
6610
|
return left.subject === right.subject;
|
|
6580
6611
|
}
|
|
6581
6612
|
return listsIntersect(left.presets, right.presets) && listsIntersect(left.categories, right.categories);
|
|
@@ -6619,6 +6650,56 @@ function removeCategoryFromApplicability(applicability, categoryId) {
|
|
|
6619
6650
|
};
|
|
6620
6651
|
}
|
|
6621
6652
|
|
|
6653
|
+
//#endregion
|
|
6654
|
+
//#region ../content-model/src/page-sections/subjects.ts
|
|
6655
|
+
/**
|
|
6656
|
+
* The one table of what each subject's pages take, and who owns their values.
|
|
6657
|
+
* Events take sections in the page body and quick facts under the title, on
|
|
6658
|
+
* their Event and run pages. Services take body sections only. Team members
|
|
6659
|
+
* take quick facts only, kept on their profile entry, because profile pages
|
|
6660
|
+
* have no anchor for body sections.
|
|
6661
|
+
*/
|
|
6662
|
+
const SECTION_SUBJECT_RULES = {
|
|
6663
|
+
event: {
|
|
6664
|
+
placements: ["body", "facts"],
|
|
6665
|
+
values: {
|
|
6666
|
+
ownerKind: "page_surface",
|
|
6667
|
+
surfaceSubjectTypes: ["event_offering", "event_series"]
|
|
6668
|
+
}
|
|
6669
|
+
},
|
|
6670
|
+
service: {
|
|
6671
|
+
placements: ["body"],
|
|
6672
|
+
values: {
|
|
6673
|
+
ownerKind: "page_surface",
|
|
6674
|
+
surfaceSubjectTypes: ["appointment_service"]
|
|
6675
|
+
}
|
|
6676
|
+
},
|
|
6677
|
+
"team-member": {
|
|
6678
|
+
placements: ["facts"],
|
|
6679
|
+
values: {
|
|
6680
|
+
ownerKind: "entry",
|
|
6681
|
+
contentTypeKey: TEAM_MEMBER_CONTENT_TYPE_KEY
|
|
6682
|
+
}
|
|
6683
|
+
}
|
|
6684
|
+
};
|
|
6685
|
+
function isEntryOwnedSubject(subject) {
|
|
6686
|
+
return SECTION_SUBJECT_RULES[subject].values.ownerKind === "entry";
|
|
6687
|
+
}
|
|
6688
|
+
/**
|
|
6689
|
+
* The subject whose section values an entry of this content type holds, as
|
|
6690
|
+
* the facts its sections are resolved against. Null for every other content
|
|
6691
|
+
* type, whose content keeps a `sections` field as an ordinary field.
|
|
6692
|
+
*/
|
|
6693
|
+
function entrySectionSubjectFacts(contentTypeKey) {
|
|
6694
|
+
const subject = SECTION_SUBJECTS.filter(isEntryOwnedSubject).find((candidate) => SECTION_SUBJECT_RULES[candidate].values.contentTypeKey === contentTypeKey);
|
|
6695
|
+
return subject ? { subject } : null;
|
|
6696
|
+
}
|
|
6697
|
+
/** Whether a subject's pages can have sections in this placement. */
|
|
6698
|
+
function subjectOffersPlacement(subject, placement) {
|
|
6699
|
+
const offered = SECTION_SUBJECT_RULES[subject].placements;
|
|
6700
|
+
return offered.includes(placement);
|
|
6701
|
+
}
|
|
6702
|
+
|
|
6622
6703
|
//#endregion
|
|
6623
6704
|
//#region ../content-model/src/page-sections/editableSchema.ts
|
|
6624
6705
|
/**
|
|
@@ -6654,7 +6735,7 @@ function compileEditableFacts(sections) {
|
|
|
6654
6735
|
|
|
6655
6736
|
//#endregion
|
|
6656
6737
|
//#region ../content-model/src/page-sections/commands.ts
|
|
6657
|
-
const subjectSchema = z.enum(
|
|
6738
|
+
const subjectSchema = z.enum(SECTION_SUBJECTS);
|
|
6658
6739
|
const updateSchema = z.object({
|
|
6659
6740
|
label: sectionLabelSchema.optional(),
|
|
6660
6741
|
hint: sectionHintSchema.optional(),
|
|
@@ -6865,6 +6946,25 @@ function withSectionValueMediaFields(schema, contents) {
|
|
|
6865
6946
|
|
|
6866
6947
|
//#endregion
|
|
6867
6948
|
//#region ../content-model/src/page-sections/confirmation.ts
|
|
6949
|
+
const uuid = z.string().uuid();
|
|
6950
|
+
const sectionOwnerRefSchema = z.discriminatedUnion("kind", [z.object({
|
|
6951
|
+
kind: z.literal("pageSurface"),
|
|
6952
|
+
pageSurfaceId: uuid.transform(unsafeAsPageSurfaceId)
|
|
6953
|
+
}).strict(), z.object({
|
|
6954
|
+
kind: z.literal("contentEntry"),
|
|
6955
|
+
contentEntryId: uuid.transform(unsafeAsContentEntryId)
|
|
6956
|
+
}).strict()]);
|
|
6957
|
+
/** The id of the record that holds an owner's content. */
|
|
6958
|
+
function sectionOwnerId(owner) {
|
|
6959
|
+
return owner.kind === "pageSurface" ? owner.pageSurfaceId : owner.contentEntryId;
|
|
6960
|
+
}
|
|
6961
|
+
/** One owner's identity, for comparing and ordering owners: its kind and the record that holds its content. */
|
|
6962
|
+
function sectionOwnerKey(owner) {
|
|
6963
|
+
return `${owner.kind}:${sectionOwnerId(owner)}`;
|
|
6964
|
+
}
|
|
6965
|
+
function sameSectionOwner(left, right) {
|
|
6966
|
+
return sectionOwnerKey(left) === sectionOwnerKey(right);
|
|
6967
|
+
}
|
|
6868
6968
|
/** B’s live-page effects, shared by every prepare/apply transport and review. */
|
|
6869
6969
|
const pageSectionPageEffectSchema = z.enum([
|
|
6870
6970
|
"appears",
|
|
@@ -6872,7 +6972,7 @@ const pageSectionPageEffectSchema = z.enum([
|
|
|
6872
6972
|
"changes"
|
|
6873
6973
|
]);
|
|
6874
6974
|
const pageSectionConfirmationPageSchema = z.object({
|
|
6875
|
-
|
|
6975
|
+
owner: sectionOwnerRefSchema,
|
|
6876
6976
|
name: z.string(),
|
|
6877
6977
|
effect: pageSectionPageEffectSchema
|
|
6878
6978
|
}).strict();
|
|
@@ -6931,24 +7031,39 @@ const upsertPageSectionDefinitionCommandSchema = z.object({
|
|
|
6931
7031
|
label: sectionLabelSchema,
|
|
6932
7032
|
hint: sectionHintSchema.default(null),
|
|
6933
7033
|
shape: sectionShapeSchema,
|
|
6934
|
-
applicability: z.discriminatedUnion("subject", [
|
|
6935
|
-
subject: z.literal("
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
7034
|
+
applicability: z.discriminatedUnion("subject", [
|
|
7035
|
+
z.object({ subject: z.literal("service") }).strict(),
|
|
7036
|
+
z.object({ subject: z.literal("team-member") }).strict(),
|
|
7037
|
+
z.object({
|
|
7038
|
+
subject: z.literal("event"),
|
|
7039
|
+
presets: z.union([z.literal("all"), z.array(z.enum(EVENT_PRESET_VALUES)).min(1)]),
|
|
7040
|
+
categories: z.union([z.literal("all"), z.array(eventCategoryRefSchema).min(1)])
|
|
7041
|
+
}).strict()
|
|
7042
|
+
]),
|
|
6939
7043
|
state: z.enum(["active", "archived"]).default("active")
|
|
6940
7044
|
}).strict()
|
|
6941
7045
|
}).strict();
|
|
7046
|
+
/** Section values by definition ref; values are intentionally open, as in the assistant's content command. */
|
|
7047
|
+
const pageSectionValuesSchema = z.record(pageSectionRefSchema, unknownRecordSchema);
|
|
6942
7048
|
/** Section values are intentionally open, as in the assistant's content command. */
|
|
6943
7049
|
const setEventPageContentCommandSchema = z.object({
|
|
6944
7050
|
type: z.literal("setEventPageContent"),
|
|
6945
7051
|
ref: commandRefSchema,
|
|
6946
7052
|
input: z.object({
|
|
6947
7053
|
eventRef: eventSeriesRefSchema,
|
|
6948
|
-
sections:
|
|
7054
|
+
sections: pageSectionValuesSchema,
|
|
6949
7055
|
publish: z.boolean().default(false)
|
|
6950
7056
|
}).strict()
|
|
6951
7057
|
}).strict();
|
|
7058
|
+
/** Looks live on the full-page template's anchor, not the definition; null follows the site style. */
|
|
7059
|
+
const setPageSectionLookCommandSchema = z.object({
|
|
7060
|
+
type: z.literal("setPageSectionLook"),
|
|
7061
|
+
ref: commandRefSchema,
|
|
7062
|
+
input: z.object({
|
|
7063
|
+
sectionRef: pageSectionRefSchema,
|
|
7064
|
+
look: z.string().trim().min(1).max(100).nullable()
|
|
7065
|
+
}).strict()
|
|
7066
|
+
}).strict();
|
|
6952
7067
|
const pageSectionCommandMetadata = {
|
|
6953
7068
|
upsertPageSectionDefinition: {
|
|
6954
7069
|
scope: "content",
|
|
@@ -6975,6 +7090,19 @@ const pageSectionCommandMetadata = {
|
|
|
6975
7090
|
intendedExposure: recipeExposure,
|
|
6976
7091
|
capability: "content.entries.write",
|
|
6977
7092
|
support: "supported"
|
|
7093
|
+
},
|
|
7094
|
+
setPageSectionLook: {
|
|
7095
|
+
scope: "content",
|
|
7096
|
+
risk: "medium",
|
|
7097
|
+
writeSemantics: "patch",
|
|
7098
|
+
lifecycleIntent: "mutation",
|
|
7099
|
+
idempotencyStrategy: "recipe_ref",
|
|
7100
|
+
conflictPolicy: "update_existing",
|
|
7101
|
+
previewability: "dry_run_only",
|
|
7102
|
+
allowedRuntimes: allRuntimes,
|
|
7103
|
+
intendedExposure: recipeExposure,
|
|
7104
|
+
capability: "content.page_sections.write",
|
|
7105
|
+
support: "supported"
|
|
6978
7106
|
}
|
|
6979
7107
|
};
|
|
6980
7108
|
|
|
@@ -39351,6 +39479,7 @@ function mediaUsageLocationLabel(location$1) {
|
|
|
39351
39479
|
case "newsletterCampaign": return `Newsletter campaign: ${location$1.campaignName}`;
|
|
39352
39480
|
case "appointmentService": return `Appointment service: ${location$1.serviceTitle}`;
|
|
39353
39481
|
case "productFileDownload": return `${location$1.productTitle} — Product download`;
|
|
39482
|
+
case "eventRoomKind": return location$1.eventTitle ? `Room photo: ${location$1.roomKindName}, ${location$1.eventTitle}` : `Room photo: ${location$1.roomKindName}`;
|
|
39354
39483
|
default: return assertNever$1(location$1);
|
|
39355
39484
|
}
|
|
39356
39485
|
}
|
|
@@ -41322,8 +41451,43 @@ const FORBIDDEN_SELECTORS = [
|
|
|
41322
41451
|
];
|
|
41323
41452
|
/** Universal selector - forbidden because it affects everything */
|
|
41324
41453
|
const UNIVERSAL_SELECTOR = "*";
|
|
41325
|
-
/**
|
|
41326
|
-
|
|
41454
|
+
/**
|
|
41455
|
+
* The start of an address on another origin: an http(s) scheme (browsers
|
|
41456
|
+
* accept `http:evil.example` without slashes), or two slashes, where a
|
|
41457
|
+
* backslash counts as a slash and whitespace between them is dropped.
|
|
41458
|
+
*/
|
|
41459
|
+
const REMOTE_ADDRESS = String.raw`(?:https?:|[/\\]\s*[/\\])`;
|
|
41460
|
+
/**
|
|
41461
|
+
* A remote address in url(), or at the start of any quoted string, which is
|
|
41462
|
+
* how image-set(), -webkit-image-set() and src() take one without url(). In a
|
|
41463
|
+
* quoted string, two slashes followed by a space are text (`'// note'`): a
|
|
41464
|
+
* browser cannot read a host that starts with a space.
|
|
41465
|
+
*/
|
|
41466
|
+
const REMOTE_URL_PATTERN = new RegExp(String.raw`url\s*\(\s*['"]?\s*${REMOTE_ADDRESS}|['"]\s*(?:https?:|[/\\]\s*[/\\](?! ))`, "i");
|
|
41467
|
+
/** Comments and quoted strings, matched left to right the way a browser reads them. */
|
|
41468
|
+
const COMMENT_OR_STRING = /\/\*[\s\S]*?\*\/|"(?:[^"\\\n]|\\[\s\S])*"|'(?:[^'\\\n]|\\[\s\S])*'/g;
|
|
41469
|
+
const DATA_URL_STRING = /^["']\s*data:/i;
|
|
41470
|
+
/**
|
|
41471
|
+
* A quoted `data:` URL holds its file inline, so the addresses inside it are
|
|
41472
|
+
* text and nothing is fetched: the standard inline SVG carries
|
|
41473
|
+
* `xmlns='http://www.w3.org/2000/svg'`. Those strings are emptied before the
|
|
41474
|
+
* remote check. Only a string the browser would also read as one is emptied,
|
|
41475
|
+
* so a comment or another string cannot pose as a `data:` URL around a real
|
|
41476
|
+
* `url()`.
|
|
41477
|
+
*/
|
|
41478
|
+
function withoutDataUrlStrings(value) {
|
|
41479
|
+
return value.replace(COMMENT_OR_STRING, (token) => DATA_URL_STRING.test(token) ? "\"\"" : token);
|
|
41480
|
+
}
|
|
41481
|
+
/** CSS comments, and escapes such as `\72` or `\/`, which can spell `url(` or `//`. */
|
|
41482
|
+
const CSS_COMMENT = /\/\*[\s\S]*?\*\//g;
|
|
41483
|
+
const CSS_ESCAPE = /\\(?:([0-9a-fA-F]{1,6})\s?|([^\n0-9a-fA-F]))/g;
|
|
41484
|
+
function decodeCss(value) {
|
|
41485
|
+
return value.replace(CSS_COMMENT, "").replace(CSS_ESCAPE, (_match, hex, char) => {
|
|
41486
|
+
if (hex === undefined) return char ?? "";
|
|
41487
|
+
const codePoint = Number.parseInt(hex, 16);
|
|
41488
|
+
return codePoint > 0 && codePoint <= 1114111 ? String.fromCodePoint(codePoint) : "�";
|
|
41489
|
+
});
|
|
41490
|
+
}
|
|
41327
41491
|
/** Pattern to detect javascript: URLs */
|
|
41328
41492
|
const JAVASCRIPT_URL_PATTERN = /javascript\s*:/i;
|
|
41329
41493
|
/**
|
|
@@ -41373,13 +41537,14 @@ const selectorSchema = z.string().min(1, "Selector cannot be empty").max(200, "S
|
|
|
41373
41537
|
* Check if a CSS value contains a remote URL.
|
|
41374
41538
|
*/
|
|
41375
41539
|
function containsRemoteUrl(value) {
|
|
41376
|
-
|
|
41540
|
+
const checked = withoutDataUrlStrings(value);
|
|
41541
|
+
return REMOTE_URL_PATTERN.test(checked) || REMOTE_URL_PATTERN.test(decodeCss(checked));
|
|
41377
41542
|
}
|
|
41378
41543
|
/**
|
|
41379
41544
|
* Check if a CSS value contains a javascript: URL.
|
|
41380
41545
|
*/
|
|
41381
41546
|
function containsJavascriptUrl(value) {
|
|
41382
|
-
return JAVASCRIPT_URL_PATTERN.test(value);
|
|
41547
|
+
return JAVASCRIPT_URL_PATTERN.test(value) || JAVASCRIPT_URL_PATTERN.test(decodeCss(value));
|
|
41383
41548
|
}
|
|
41384
41549
|
/**
|
|
41385
41550
|
* Validates a CSS declaration value for safety.
|
|
@@ -41489,8 +41654,12 @@ const supportsAtRuleSchema = z.object({
|
|
|
41489
41654
|
function containsBlockedAtRule(css) {
|
|
41490
41655
|
return BLOCKED_AT_RULE_PATTERN.test(css);
|
|
41491
41656
|
}
|
|
41492
|
-
/**
|
|
41493
|
-
|
|
41657
|
+
/**
|
|
41658
|
+
* Raw CSS validation - blocks @import, @charset, must start with @.
|
|
41659
|
+
* A raw at-rule holds whole declarations, so it gets the same url() and
|
|
41660
|
+
* javascript: checks as a typed rule's declaration values.
|
|
41661
|
+
*/
|
|
41662
|
+
const rawCssSchema = z.string().min(1, "CSS is required").max(5e3, "Raw CSS too long (max 5000 characters)").refine((css) => css.trim().startsWith("@"), { message: "Raw at-rule must start with @" }).refine((css) => !containsBlockedAtRule(css), { message: `Blocked at-rules: ${BLOCKED_AT_RULES.join(", ")}. Use typed at-rules or local assets instead.` }).refine((css) => !containsRemoteUrl(css), { message: "Remote url() references are not allowed. Use local paths, data URIs, or fragment IDs." }).refine((css) => !containsJavascriptUrl(css), { message: "javascript: URLs are not allowed" });
|
|
41494
41663
|
/** Raw at-rule schema */
|
|
41495
41664
|
const rawAtRuleSchema = z.object({
|
|
41496
41665
|
id: ruleIdSchema,
|
|
@@ -42250,23 +42419,6 @@ const themeSchema = z.object({
|
|
|
42250
42419
|
styleGroups: z.record(z.string(), z.array(z.string())).optional()
|
|
42251
42420
|
});
|
|
42252
42421
|
|
|
42253
|
-
//#endregion
|
|
42254
|
-
//#region ../site-contracts/src/theme/hostedBooking.ts
|
|
42255
|
-
/**
|
|
42256
|
-
* The complete appearance contract accepted by the hosted-booking renderer.
|
|
42257
|
-
* It deliberately contains only the simplified theme choices: semantic
|
|
42258
|
-
* palette, palette mode, two font roles, and the canonical corner shape.
|
|
42259
|
-
*/
|
|
42260
|
-
const hostedBookingAppearanceSchema = z.object({
|
|
42261
|
-
palette: paletteColorsSchema,
|
|
42262
|
-
paletteMode: paletteModeSchema,
|
|
42263
|
-
typography: z.object({
|
|
42264
|
-
headingFamily: z.string().trim().min(1),
|
|
42265
|
-
bodyFamily: z.string().trim().min(1)
|
|
42266
|
-
}).strict(),
|
|
42267
|
-
corners
|
|
42268
|
-
}).strict();
|
|
42269
|
-
|
|
42270
42422
|
//#endregion
|
|
42271
42423
|
//#region ../site-contracts/src/theme/footerMode.ts
|
|
42272
42424
|
const footerModeSchema = z.enum([
|
|
@@ -42724,7 +42876,6 @@ const customerMembershipRefSchema = resourceRefSchema("customer-membership");
|
|
|
42724
42876
|
const customerPassRefSchema = resourceRefSchema("customer-pass");
|
|
42725
42877
|
const eventRegistrationRefSchema = resourceRefSchema("event-registration");
|
|
42726
42878
|
const membershipProductRefSchema = resourceRefSchema("membership");
|
|
42727
|
-
const orderRefSchema = resourceRefSchema("order");
|
|
42728
42879
|
const passProductRefSchema = resourceRefSchema("pass");
|
|
42729
42880
|
const passRedemptionRefSchema = resourceRefSchema("pass-redemption");
|
|
42730
42881
|
const requiredMoneyAmountSchema = z.object({
|
|
@@ -42963,24 +43114,6 @@ const seedPassRedemptionCommandSchema = z.object({
|
|
|
42963
43114
|
subject: passRedemptionSubjectSchema
|
|
42964
43115
|
}).strict()
|
|
42965
43116
|
}).strict();
|
|
42966
|
-
const portalOrderSubjectSchema = z.discriminatedUnion("kind", [z.object({
|
|
42967
|
-
kind: z.literal("event_registration"),
|
|
42968
|
-
eventRegistrationRef: eventRegistrationRefSchema
|
|
42969
|
-
}).strict(), z.object({
|
|
42970
|
-
kind: z.literal("event_series_registration"),
|
|
42971
|
-
eventSeriesRegistrationRef: eventSeriesRegistrationRefSchema
|
|
42972
|
-
}).strict()]);
|
|
42973
|
-
const seedPortalOrderCommandSchema = z.object({
|
|
42974
|
-
type: z.literal("seedPortalOrder"),
|
|
42975
|
-
ref: orderRefSchema,
|
|
42976
|
-
input: z.object({
|
|
42977
|
-
customerRef: bookingCustomerRefSchema,
|
|
42978
|
-
subject: portalOrderSubjectSchema,
|
|
42979
|
-
paymentMethod: z.enum(["free", "membership_access"]),
|
|
42980
|
-
subtotalCents: nonNegativeIntegerSchema,
|
|
42981
|
-
currency: currencySchema
|
|
42982
|
-
}).strict().superRefine(validatePortalOrder)
|
|
42983
|
-
}).strict();
|
|
42984
43117
|
const appointmentServiceCommonInputFields = {
|
|
42985
43118
|
bookingQuestions: bookingQuestionAttachmentSchema.nullable().optional(),
|
|
42986
43119
|
imageRef: mediaRefSchema.nullable().optional(),
|
|
@@ -43084,15 +43217,6 @@ const configureAppointmentAvailabilityCommandSchema = z.object({
|
|
|
43084
43217
|
windows: z.array(weeklyWindowSchema).readonly()
|
|
43085
43218
|
}).strict()
|
|
43086
43219
|
}).strict();
|
|
43087
|
-
function validatePortalOrder(input, ctx) {
|
|
43088
|
-
const isValid = input.paymentMethod === "free" && input.subtotalCents === 0 || input.paymentMethod === "membership_access" && input.subtotalCents > 0;
|
|
43089
|
-
if (isValid) return;
|
|
43090
|
-
ctx.addIssue({
|
|
43091
|
-
code: "custom",
|
|
43092
|
-
path: ["subtotalCents"],
|
|
43093
|
-
message: input.paymentMethod === "free" ? "Free portal order seeds must have subtotalCents 0." : "Membership-access portal order seeds must have a positive subtotalCents value."
|
|
43094
|
-
});
|
|
43095
|
-
}
|
|
43096
43220
|
|
|
43097
43221
|
//#endregion
|
|
43098
43222
|
//#region ../site-commands/src/discountCodeCommand.ts
|
|
@@ -43168,7 +43292,6 @@ const bookingCommandSchemaOptions = [
|
|
|
43168
43292
|
seedEventSeriesRegistrationCommandSchema,
|
|
43169
43293
|
seedEventRegistrationCommandSchema,
|
|
43170
43294
|
seedPassRedemptionCommandSchema,
|
|
43171
|
-
seedPortalOrderCommandSchema,
|
|
43172
43295
|
upsertAppointmentServiceCategoryCommandSchema,
|
|
43173
43296
|
upsertAppointmentServiceCommandSchema,
|
|
43174
43297
|
upsertBookableResourceCommandSchema,
|
|
@@ -43434,7 +43557,6 @@ const upsertStaffMemberCommandSchema = z.object({
|
|
|
43434
43557
|
shortBio: z.string().optional(),
|
|
43435
43558
|
avatarRef: mediaRefSchema.nullable().optional(),
|
|
43436
43559
|
timezone: z.string().min(1).optional(),
|
|
43437
|
-
specialties: stringArraySchema.optional(),
|
|
43438
43560
|
publicVisibility: z.enum(["hidden", "visible"]).optional()
|
|
43439
43561
|
}).strict()
|
|
43440
43562
|
}).strict();
|
|
@@ -43536,6 +43658,7 @@ const ensureTeamMemberProfileCommandSchema = z.object({
|
|
|
43536
43658
|
title: z.string().min(1),
|
|
43537
43659
|
slug: z.string().min(1),
|
|
43538
43660
|
draftContent: unknownRecordSchema.optional(),
|
|
43661
|
+
sections: pageSectionValuesSchema.optional(),
|
|
43539
43662
|
seedDraftContent: z.enum(["when_created", "never"]).default("when_created"),
|
|
43540
43663
|
publish: z.boolean().optional()
|
|
43541
43664
|
}).strict()
|
|
@@ -43545,6 +43668,7 @@ const siteCommandSchema = z.discriminatedUnion("type", [
|
|
|
43545
43668
|
upsertGiftingOfferCommandSchema,
|
|
43546
43669
|
upsertPageSectionDefinitionCommandSchema,
|
|
43547
43670
|
setEventPageContentCommandSchema,
|
|
43671
|
+
setPageSectionLookCommandSchema,
|
|
43548
43672
|
changeBookingQuestionsCommandSchema,
|
|
43549
43673
|
configureSiteIdentityCommandSchema,
|
|
43550
43674
|
configureBookingSettingsCommandSchema,
|
|
@@ -44363,19 +44487,6 @@ const siteCommandMetadata = {
|
|
|
44363
44487
|
capability: "bookings.pass_redemptions.write",
|
|
44364
44488
|
support: "supported"
|
|
44365
44489
|
},
|
|
44366
|
-
seedPortalOrder: {
|
|
44367
|
-
scope: "order",
|
|
44368
|
-
risk: "medium",
|
|
44369
|
-
writeSemantics: "append",
|
|
44370
|
-
lifecycleIntent: "seed",
|
|
44371
|
-
idempotencyStrategy: "natural_key",
|
|
44372
|
-
conflictPolicy: "append_once",
|
|
44373
|
-
previewability: "dry_run_only",
|
|
44374
|
-
allowedRuntimes: allRuntimes,
|
|
44375
|
-
intendedExposure: recipeExposure,
|
|
44376
|
-
capability: "commerce.orders.write",
|
|
44377
|
-
support: "supported"
|
|
44378
|
-
},
|
|
44379
44490
|
upsertAppointmentServiceCategory: {
|
|
44380
44491
|
scope: "appointment_service_category",
|
|
44381
44492
|
risk: "medium",
|
|
@@ -44612,7 +44723,6 @@ const bookingRefCommandTypeValues = [
|
|
|
44612
44723
|
"seedEventSeriesRegistration",
|
|
44613
44724
|
"seedEventRegistration",
|
|
44614
44725
|
"seedPassRedemption",
|
|
44615
|
-
"seedPortalOrder",
|
|
44616
44726
|
"upsertAppointmentServiceCategory",
|
|
44617
44727
|
"upsertAppointmentService",
|
|
44618
44728
|
"upsertBookableResource",
|
|
@@ -44698,10 +44808,6 @@ function bookingCommandRefContributions(command) {
|
|
|
44698
44808
|
ref: command.input.customerPassRef,
|
|
44699
44809
|
field: "input.customerPassRef"
|
|
44700
44810
|
}, passRedemptionSubjectRefContribution(command.input.subject)]);
|
|
44701
|
-
case "seedPortalOrder": return providedWithRequirements(command.ref, [{
|
|
44702
|
-
ref: command.input.customerRef,
|
|
44703
|
-
field: "input.customerRef"
|
|
44704
|
-
}, portalOrderSubjectRefContribution(command.input.subject)]);
|
|
44705
44811
|
case "assignAppointmentServiceResources": return {
|
|
44706
44812
|
provides: [],
|
|
44707
44813
|
requires: [{
|
|
@@ -44750,19 +44856,6 @@ function passRedemptionSubjectRefContribution(subject) {
|
|
|
44750
44856
|
default: return assertNever(subject);
|
|
44751
44857
|
}
|
|
44752
44858
|
}
|
|
44753
|
-
function portalOrderSubjectRefContribution(subject) {
|
|
44754
|
-
switch (subject.kind) {
|
|
44755
|
-
case "event_registration": return {
|
|
44756
|
-
ref: subject.eventRegistrationRef,
|
|
44757
|
-
field: "input.subject.eventRegistrationRef"
|
|
44758
|
-
};
|
|
44759
|
-
case "event_series_registration": return {
|
|
44760
|
-
ref: subject.eventSeriesRegistrationRef,
|
|
44761
|
-
field: "input.subject.eventSeriesRegistrationRef"
|
|
44762
|
-
};
|
|
44763
|
-
default: return assertNever(subject);
|
|
44764
|
-
}
|
|
44765
|
-
}
|
|
44766
44859
|
function passProductContributions(command) {
|
|
44767
44860
|
return providedWithRequirements(command.ref, [
|
|
44768
44861
|
...(command.input.eligibleCategoryRefs ?? []).map((ref, index) => ({
|
|
@@ -44817,6 +44910,13 @@ function commandRefContributions(command) {
|
|
|
44817
44910
|
field: `input.sections.${ref}`
|
|
44818
44911
|
}))]
|
|
44819
44912
|
};
|
|
44913
|
+
case "setPageSectionLook": return {
|
|
44914
|
+
provides: [],
|
|
44915
|
+
requires: [{
|
|
44916
|
+
ref: command.input.sectionRef,
|
|
44917
|
+
field: "input.sectionRef"
|
|
44918
|
+
}]
|
|
44919
|
+
};
|
|
44820
44920
|
case "changeBookingQuestions": return {
|
|
44821
44921
|
provides: [],
|
|
44822
44922
|
requires: bookingQuestionsCommandReferences(command.input)
|
|
@@ -44875,7 +44975,10 @@ function commandRefContributions(command) {
|
|
|
44875
44975
|
requires: [{
|
|
44876
44976
|
ref: command.input.staffMemberRef,
|
|
44877
44977
|
field: "input.staffMemberRef"
|
|
44878
|
-
}
|
|
44978
|
+
}, ...Object.keys(command.input.sections ?? {}).map((ref) => ({
|
|
44979
|
+
ref,
|
|
44980
|
+
field: `input.sections.${ref}`
|
|
44981
|
+
}))]
|
|
44879
44982
|
};
|
|
44880
44983
|
case "upsertBlockTree": return {
|
|
44881
44984
|
provides: [{
|
|
@@ -45455,7 +45558,7 @@ function validateCommandRelationships(batch) {
|
|
|
45455
45558
|
...batch,
|
|
45456
45559
|
commands: batch.commands.flatMap((command) => command.type === "upsertCourseOffering" ? runs.filter((run) => run.offering.ref === command.ref).map((run) => run.command) : [command])
|
|
45457
45560
|
};
|
|
45458
|
-
return [...checkPricingOptionQuantitiesWithinCapacity(expanded)
|
|
45561
|
+
return [...checkPricingOptionQuantitiesWithinCapacity(expanded)].map((error) => {
|
|
45459
45562
|
if (error.code !== "command_invariant_violation") return error;
|
|
45460
45563
|
const run = runs.find((run$1) => run$1.command.ref === error.commandRef);
|
|
45461
45564
|
return run !== undefined ? {
|
|
@@ -45465,27 +45568,6 @@ function validateCommandRelationships(batch) {
|
|
|
45465
45568
|
} : error;
|
|
45466
45569
|
});
|
|
45467
45570
|
}
|
|
45468
|
-
function checkPortalOrdersHaveUniqueSubjects(batch) {
|
|
45469
|
-
const seenBySubject = new Map();
|
|
45470
|
-
const errors = [];
|
|
45471
|
-
for (const command of batch.commands) {
|
|
45472
|
-
if (command.type !== "seedPortalOrder") continue;
|
|
45473
|
-
const key = portalOrderSubjectKey(command.input.subject);
|
|
45474
|
-
const previous = seenBySubject.get(key);
|
|
45475
|
-
if (previous !== undefined) {
|
|
45476
|
-
errors.push(commandInvariantViolation(command.ref, "input.subject", `Portal order subject ${key} is already claimed by ${previous.ref}.`));
|
|
45477
|
-
} else {
|
|
45478
|
-
seenBySubject.set(key, command);
|
|
45479
|
-
}
|
|
45480
|
-
}
|
|
45481
|
-
return errors;
|
|
45482
|
-
}
|
|
45483
|
-
function portalOrderSubjectKey(subject) {
|
|
45484
|
-
switch (subject.kind) {
|
|
45485
|
-
case "event_registration": return `event_registration:${subject.eventRegistrationRef}`;
|
|
45486
|
-
case "event_series_registration": return `event_series_registration:${subject.eventSeriesRegistrationRef}`;
|
|
45487
|
-
}
|
|
45488
|
-
}
|
|
45489
45571
|
function checkPricingOptionQuantitiesWithinCapacity(batch) {
|
|
45490
45572
|
return batch.commands.flatMap((command) => {
|
|
45491
45573
|
if (command.type !== "upsertEventSeries") return [];
|
|
@@ -46314,4 +46396,4 @@ function parseSdkEventRunUpsertInput(input, runIndex, options) {
|
|
|
46314
46396
|
}
|
|
46315
46397
|
|
|
46316
46398
|
//#endregion
|
|
46317
|
-
export { walkAndCollectImageAttrs as $,
|
|
46399
|
+
export { walkAndCollectImageAttrs as $, footerLookIdValues as $n, flatInkHoverTreatmentSchema as $t, parseSiteChromeBackgroundColorToken as A, isSafeRichTextHref as An, createBlocksRef as Ar, getMimeType as At, sectionStylesOverrideSchema as B, internalResolvedLinkSchema as Bn, createVenueRef as Br, footerPreferencesSchema as Bt, blockOrderIdentifiersForCommand as C, eventBookingOfferIntentSchema as Cn, asPageFlowPresetId as Cr, parseCanonicalMediaIdentifier as Ct, pagePathForCommand as D, sdkEntrySlotBlocksInputSchema as Dn, bookingQuestionAttachmentSchema as Dr, deriveVideoSlotPolicy as Dt, pageIdentifierForCommand as E, eventCommandScheduleSchema as En, compareEntrySlug as Er, slugifyMediaIdentifier as Et, defaultHeaderBrandPreferences as F, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Fn, createFooterRef as Fr, MAX_MANAGEMENT_MEDIA_UPLOAD_BYTES as Ft, headerInteractionQuietPalette as G, ICON_PICKER_PRESETS as Gn, cardRoleValues as Gt, skinBookingBarSchema as H, isResolvedInternalLinkEntityType as Hn, slugPart as Hr, accordionIconSchema as Ht, footerModeSchema as I, customLinkSchema as In, createFormRef as Ir, classifyKnownMimeType as It, boxBackgroundOverlaySchema as J, SUPPORTED_LOADER_ENDPOINTS as Jn, openCardRoleValue as Jt, blockCustomCssRuleSchema as K, gradientPresetIdValues as Kn, cardVariantRoleValues as Kt, cardStylesOverrideSchema as L, entryLinkSchema as Ln, createNavigationRef as Lr, managementMediaLibraryUploadLimitForMimeType as Lt, defaultHeaderPreferences as M, buildEntryScaffold as Mn, createContentEntryRef as Mr, normalizeAmbiguousStoragePathForSite as Mt, defaultHeaderNavPreferences as N, validateEntryInstance as Nn, createEventCategoryRef as Nr, parseRelativeStoragePath as Nt, hasConfiguredBookingVertical as O, RichTextDocSchema as On, ianaTimezoneSchema as Or, resolveVideoSelectionIntentForMediaField as Ot, defaultHeaderBrandPresentation as P, findUnfilledSentinels as Pn, createEventSeriesRef as Pr, FILE_SIZE_LIMITS as Pt, summarizePortableMediaReferences as Q, bookingPageLookIdValues as Qn, editorialLinkParametersSchema as Qt, containerStylesOverrideSchema as R, externalLinkSchema as Rn, createPageRef as Rr, parseSafeDownloadFilename as Rt, blockIdentifierForCommand as S, require_dist as Sn, asLayoutVariantKey as Sr, buildMediaIdentifierFromFilename as St, pageIdentifierForBlockCommand as T, bookingPaymentTermsSchema as Tn, makeBoundaryId as Tr, resolveMediaIdentifier as Tt, headerVariantValues as U, linkSchema as Un, __commonJSMin as Ur, boxlessCardVariantValue as Ut, themeSchema as V, internalRouteOnlyLinkSchema as Vn, refSlug as Vr, getFontWidthRange as Vt, headerInteractionPaletteValues as W, pageLinkSchema as Wn, __toESM as Wr, cardRoleSchema as Wt, runtimeBoxBackgroundSchema as X, asHeaderLayoutId as Xn, BUTTON_STYLE_IDS as Xt, boxBackgroundSchema as Y, asFooterLookId as Yn, surfaceCardRoleValues as Yt, collectPortableMediaReferencesFromContent as Z, asHeaderStyleId as Zn, buttonStyleSelectionSchema as Zt, mapEventCommandContent as _, paletteModeSchema as _n, asBoundaryOptionId as _r, resolveManagedMediaReference as _t, classifySdkEventSchedule as a, buttonSystemSchema as an, SYSTEM_BLOCK_KINDS as ar, parseAspectRatioValue as at, getSiteCommandMetadata as b, parseThemeColorToken as bn, asDesignPageId as br, mediaTypeDiscriminants as bt, isEventVisibility as c, opaqueButtonColourTokenSchema as cn, eventListTreatmentValues as cr, getDirectImageUrlForSiteScopedPath as ct, venueManagementFields as d, blockColorTokenNames as dn, isArrangementMode as dr, imageMediaSchema as dt, flatInkParametersSchema as en, headerLayoutIdValues as er, deleteEnvSpecificKeys as et, sortRecord as f, hexColorSchema as fn, tileTreatmentValues as fr, mediaSchema as ft, resolveEventSeriesWaitlistMapping as g, paletteColorsSchema as gn, asBlockOrderIndex as gr, buildRenderableMediaAssetIndex as gt, parseAndPlanCommandBatchForTypes as h, paletteColorsFromEntries as hn, asBlockContentVersionId as hr, videoMediaSchema as ht, sdkEventUpsertOptionalFieldSchemas as i, buttonPressOffsetSchema as in, siteChromeBackgroundOverrideOwner as ir, isExplicitRectCrop as it, backgroundAppearanceColorTokenNames as j, sanitizeHref as jn, createCommandRef as jr, asRecord as jt, headerPreferencesSchema as k, isRichTextDoc as kn, createBlockRef as kr, getExtensionForMimeType as kt, resolvePageUpsertSeo as l, parseOpaqueButtonColourToken as ln, eyebrowTreatmentValues as lr, getImageUrl as lt, createDryRunReport as m, paletteColorEntries as mn, asAppearancePresetId as mr, runtimeMediaSchema as mt, sdkCourseBookingSettingsSchema as n, squareOutlineParametersSchema as nn, pageDesignEditorBackgroundOverrideOwner as nr, rotateNormalizedPoint as nt, classifySdkEventBookingOffer as o, buttonVariantIdSchema as on, VARIANT_ROLES as or, resolveMediaTransformForAspect as ot, stableStringify as p, normalizePaletteHex as pn, visibleHeadingDecorationFamilyValues as pr, persistableMediaSchema as pt, customCssRuleSchema as q, parseGradientPresetId as qn, itemRoleValues as qt, sdkEventOccurrenceInputSchema as r, buttonEffectApplicationSchema as rn, parseBookingPageLookId as rr, normalizeWidthCandidates as rt, eventVisibilitySchema as s, buttonVisualStatesSchema as sn, arrangementModes as sr, getDirectImageUrlForRelativePath as st, classifySdkEventTiming as t, quietArrowParametersSchema as tn, headerStyleIdValues as tr, looksLikeUuid as tt, eventCategoryManagementFields as u, PALETTE_TOKEN_NAMES as un, headingDecorationColorTokenValues as ur, isSiteScopedDirectImageStoragePath as ut, evaluateSiteCommandBatchExposure as v, paletteTokenNameSchema as vn, asDesignBlockId as vr, PUBLIC_FILE_FIELD_KINDS as vt, entryIdentifierForCommand as w, bookingPaymentCollectionOptionSchema as wn, asSiteStyleId as wr, parseMediaIdentifier as wt, eventManagementTiming as x, changeBookingQuestionsInputSchema as xn, asDesignSystemTemplateId as xr, mediaIdentifierSchema as xt, evaluateSiteCommandExposure as y, parseColorTokenParts as yn, asDesignBoundaryId as yr, isDisplayMediaKind as yt, headerPositioningValues as z, internalLinkSchema as zn, createSiteCommandSiteRef as zr, defaultFooterPreferences as zt };
|