@salesforce/lds-worker-api 1.134.6 → 1.134.8

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.
@@ -20,29 +20,29 @@ var SnapshotState$3;
20
20
  SnapshotState["Stale"] = "Stale";
21
21
  })(SnapshotState$3 || (SnapshotState$3 = {}));
22
22
 
23
- const { create: create$9, entries: entries$4, freeze: freeze$4, keys: keys$9, values: values$3 } = Object;
23
+ const { create: create$a, entries: entries$4, freeze: freeze$5, keys: keys$a, values: values$3 } = Object;
24
24
  const { hasOwnProperty: hasOwnProperty$3 } = Object.prototype;
25
- const { isArray: isArray$a } = Array;
25
+ const { isArray: isArray$9 } = Array;
26
26
  const { push: push$4, indexOf, slice: slice$2 } = Array.prototype;
27
27
  const { parse: parse$9, stringify: stringify$9 } = JSON;
28
28
 
29
- function deepFreeze$R(value) {
29
+ function deepFreeze(value) {
30
30
  // No need to freeze primitives
31
31
  if (typeof value !== 'object' || value === null) {
32
32
  return;
33
33
  }
34
- if (isArray$a(value)) {
34
+ if (isArray$9(value)) {
35
35
  for (let i = 0, len = value.length; i < len; i += 1) {
36
- deepFreeze$R(value[i]);
36
+ deepFreeze(value[i]);
37
37
  }
38
38
  }
39
39
  else {
40
- const keys$1 = keys$9(value);
40
+ const keys$1 = keys$a(value);
41
41
  for (let i = 0, len = keys$1.length; i < len; i += 1) {
42
- deepFreeze$R(value[keys$1[i]]);
42
+ deepFreeze(value[keys$1[i]]);
43
43
  }
44
44
  }
45
- freeze$4(value);
45
+ freeze$5(value);
46
46
  }
47
47
 
48
48
  function isErrorSnapshot$3(snapshot) {
@@ -61,7 +61,7 @@ function isPendingSnapshot$1(snapshot) {
61
61
  return snapshot.state === SnapshotState$3.Pending;
62
62
  }
63
63
  function createErrorSnapshot$1(error, refresh) {
64
- deepFreeze$R(error);
64
+ deepFreeze(error);
65
65
  const snap = {
66
66
  error,
67
67
  state: SnapshotState$3.Error,
@@ -285,7 +285,7 @@ function stableJSONStringify$3(node) {
285
285
  }
286
286
  let i;
287
287
  let out;
288
- if (isArray$a(node)) {
288
+ if (isArray$9(node)) {
289
289
  out = '[';
290
290
  for (i = 0; i < node.length; i++) {
291
291
  if (i) {
@@ -298,7 +298,7 @@ function stableJSONStringify$3(node) {
298
298
  if (node === null) {
299
299
  return 'null';
300
300
  }
301
- const keys$1 = keys$9(node).sort();
301
+ const keys$1 = keys$a(node).sort();
302
302
  out = '';
303
303
  for (i = 0; i < keys$1.length; i++) {
304
304
  const key = keys$1[i];
@@ -546,13 +546,13 @@ function getTTLOverride$1(ttlOverrideKey, ttlOverrides, defaultTTLOverride) {
546
546
  class StringKeyInMemoryStore {
547
547
  constructor(options = {}) {
548
548
  // public, in memory properties
549
- this.records = create$9(null);
550
- this.metadata = create$9(null);
551
- this.visitedIds = create$9(null);
552
- this.refreshedIds = create$9(null);
553
- this.redirectKeys = create$9(null);
554
- this.retainedIds = create$9(null);
555
- this.ttlOverrides = create$9(null);
549
+ this.records = create$a(null);
550
+ this.metadata = create$a(null);
551
+ this.visitedIds = create$a(null);
552
+ this.refreshedIds = create$a(null);
553
+ this.redirectKeys = create$a(null);
554
+ this.retainedIds = create$a(null);
555
+ this.ttlOverrides = create$a(null);
556
556
  this.snapshotSubscriptions = [];
557
557
  this.trimTask = null;
558
558
  this.pendingTrimKeys = new Set();
@@ -560,8 +560,8 @@ class StringKeyInMemoryStore {
560
560
  this.watchSubscriptions = [];
561
561
  this.eventObservers = [];
562
562
  // private/protected
563
- this.insertedIds = create$9(null);
564
- this.reverseRedirectKeys = create$9(null);
563
+ this.insertedIds = create$a(null);
564
+ this.reverseRedirectKeys = create$a(null);
565
565
  this.scheduler = options.scheduler || buildDefaultScheduler();
566
566
  }
567
567
  // interface methods
@@ -569,13 +569,13 @@ class StringKeyInMemoryStore {
569
569
  return this.records[this.getCanonicalRecordId(key)];
570
570
  }
571
571
  getNumEntries() {
572
- return keys$9(this.records).length;
572
+ return keys$a(this.records).length;
573
573
  }
574
574
  readMetadata(key) {
575
575
  return this.metadata[this.getCanonicalRecordId(key)];
576
576
  }
577
577
  readMetadataWhere(query) {
578
- const keys$1 = keys$9(this.metadata);
578
+ const keys$1 = keys$a(this.metadata);
579
579
  const results = [];
580
580
  const hasNamespaceQuery = hasOwnProperty$3.call(query, 'namespace');
581
581
  const hasRepresentationNameQuery = hasOwnProperty$3.call(query, 'representationName');
@@ -671,8 +671,8 @@ class StringKeyInMemoryStore {
671
671
  // Note: we should always get the subscription references from this at the beginning
672
672
  // of the function, in case the reference changes (because of an unsubscribe)
673
673
  const { snapshotSubscriptions, watchSubscriptions, visitedIds, refreshedIds, insertedIds } = this;
674
- const allVisitedIds = keys$9(visitedIds);
675
- const allRefreshedIds = keys$9(refreshedIds);
674
+ const allVisitedIds = keys$a(visitedIds);
675
+ const allRefreshedIds = keys$a(refreshedIds);
676
676
  // Early exit if nothing has changed
677
677
  if (allVisitedIds.length === 0 && allRefreshedIds.length === 0) {
678
678
  return Promise.resolve();
@@ -709,9 +709,9 @@ class StringKeyInMemoryStore {
709
709
  callback(watchCallbackEntries);
710
710
  }
711
711
  }
712
- this.visitedIds = create$9(null);
713
- this.refreshedIds = create$9(null);
714
- this.insertedIds = create$9(null);
712
+ this.visitedIds = create$a(null);
713
+ this.refreshedIds = create$a(null);
714
+ this.insertedIds = create$a(null);
715
715
  // the .then removes the return of an array of voids to a single void
716
716
  return Promise.all(snapshotSubPromises).then(() => { });
717
717
  }
@@ -876,18 +876,18 @@ class StringKeyInMemoryStore {
876
876
  return this.defaultTTLOverride;
877
877
  }
878
878
  reset() {
879
- this.records = create$9(null);
879
+ this.records = create$a(null);
880
880
  this.snapshotSubscriptions = [];
881
881
  this.watchSubscriptions = [];
882
- this.visitedIds = create$9(null);
883
- this.refreshedIds = create$9(null);
884
- this.insertedIds = create$9(null);
885
- this.redirectKeys = create$9(null);
886
- this.reverseRedirectKeys = create$9(null);
887
- this.retainedIds = create$9(null);
888
- this.ttlOverrides = create$9(null);
882
+ this.visitedIds = create$a(null);
883
+ this.refreshedIds = create$a(null);
884
+ this.insertedIds = create$a(null);
885
+ this.redirectKeys = create$a(null);
886
+ this.reverseRedirectKeys = create$a(null);
887
+ this.retainedIds = create$a(null);
888
+ this.ttlOverrides = create$a(null);
889
889
  this.trimTask = null;
890
- this.metadata = create$9(null);
890
+ this.metadata = create$a(null);
891
891
  this.defaultTTLOverride = undefined;
892
892
  emitLuvioStoreEvent({ type: 'store-reset', timestamp: Date.now() }, this.eventObservers);
893
893
  }
@@ -1119,7 +1119,7 @@ function isPendingSnapshotWithNoOverlappingIds(snapshot, visitedIds, refreshedId
1119
1119
  hasOverlappingIds(snapshot, visitedIds) === false);
1120
1120
  }
1121
1121
  function getMatchingIds(partialKey, visitedIds) {
1122
- const keys$1 = keys$9(partialKey);
1122
+ const keys$1 = keys$a(partialKey);
1123
1123
  return visitedIds.filter((visitedId) => {
1124
1124
  return keys$1.every((key) => {
1125
1125
  return partialKey[key] === visitedId[key];
@@ -1746,8 +1746,8 @@ class InMemoryStore {
1746
1746
  } while (redirectKey !== undefined);
1747
1747
  }
1748
1748
  isUsingStringKeys() {
1749
- return (keys$9(this.fallbackStringKeyInMemoryStore.visitedIds).length !== 0 ||
1750
- keys$9(this.fallbackStringKeyInMemoryStore.refreshedIds).length !== 0);
1749
+ return (keys$a(this.fallbackStringKeyInMemoryStore.visitedIds).length !== 0 ||
1750
+ keys$a(this.fallbackStringKeyInMemoryStore.refreshedIds).length !== 0);
1751
1751
  }
1752
1752
  delegateToFallbackStringKeyStore(snapshot) {
1753
1753
  return !isErrorSnapshot$3(snapshot) && typeof snapshot.recordId === 'string';
@@ -1789,7 +1789,7 @@ class InMemoryStore {
1789
1789
  buildKeySchema(keyMetadata) {
1790
1790
  // pull NamespacedType type out of NormalizedKeyMetadata
1791
1791
  const { namespace: _ns, representationName: _rn, ...keyParamValues } = keyMetadata;
1792
- const keySchema = keys$9(keyParamValues).sort();
1792
+ const keySchema = keys$a(keyParamValues).sort();
1793
1793
  return ['namespace', 'representationName', ...keySchema];
1794
1794
  }
1795
1795
  }
@@ -2077,7 +2077,7 @@ class GraphNode {
2077
2077
  return value;
2078
2078
  }
2079
2079
  keys() {
2080
- return keys$9(this.data);
2080
+ return keys$a(this.data);
2081
2081
  }
2082
2082
  isScalar(propertyName) {
2083
2083
  // TODO W-6900046 - merge.ts casts these to any and manually sets `data`
@@ -2382,6 +2382,7 @@ class Reader {
2382
2382
  if (this.snapshotChanged === false && selector.recordId === this.baseSnapshot.recordId) {
2383
2383
  return this.baseSnapshot;
2384
2384
  }
2385
+ deepFreeze(data);
2385
2386
  return {
2386
2387
  recordId: selector.recordId,
2387
2388
  select: selector,
@@ -2397,7 +2398,7 @@ class Reader {
2397
2398
  deepCopy(record, data, key, visitedKeys) {
2398
2399
  const value = record[key];
2399
2400
  this.enterPath(key);
2400
- if (isArray$a(value)) {
2401
+ if (isArray$9(value)) {
2401
2402
  // Array
2402
2403
  const items = [];
2403
2404
  this.selectAll(value, items, visitedKeys);
@@ -2408,7 +2409,7 @@ class Reader {
2408
2409
  if (value.__ref !== undefined) {
2409
2410
  // Link
2410
2411
  const nextRecordId = value.__ref;
2411
- if (isArray$a(nextRecordId)) {
2412
+ if (isArray$9(nextRecordId)) {
2412
2413
  const items = [];
2413
2414
  this.selectAll(nextRecordId, items, visitedKeys);
2414
2415
  data[key] = items;
@@ -2455,7 +2456,7 @@ class Reader {
2455
2456
  }
2456
2457
  }
2457
2458
  selectAllObject(record, data, visitedKeys) {
2458
- const recordKeys = keys$9(record);
2459
+ const recordKeys = keys$a(record);
2459
2460
  const { length } = recordKeys;
2460
2461
  for (let i = 0; i < length; i += 1) {
2461
2462
  const key = recordKeys[i];
@@ -2463,14 +2464,13 @@ class Reader {
2463
2464
  }
2464
2465
  }
2465
2466
  selectAll(record, data, visitedKeys = {}) {
2466
- const recordIsArray = isArray$a(record);
2467
+ const recordIsArray = isArray$9(record);
2467
2468
  if (recordIsArray === true) {
2468
2469
  this.selectAllArray(record, data, visitedKeys);
2469
2470
  }
2470
2471
  else {
2471
2472
  this.selectAllObject(record, data, visitedKeys);
2472
2473
  }
2473
- freeze$4(data);
2474
2474
  }
2475
2475
  markPending() {
2476
2476
  this.hasPendingData = true;
@@ -2497,7 +2497,6 @@ class Reader {
2497
2497
  }
2498
2498
  assignNonScalar(sink, key, value) {
2499
2499
  sink[key] = value;
2500
- freeze$4(value);
2501
2500
  }
2502
2501
  enterPath(key) {
2503
2502
  const parent = this.currentPath;
@@ -2602,7 +2601,7 @@ class Reader {
2602
2601
  }
2603
2602
  return this.markMissing();
2604
2603
  }
2605
- const sinkValue = isArray$a(sourceValue) ? [] : {};
2604
+ const sinkValue = isArray$9(sourceValue) ? [] : {};
2606
2605
  if (selection.selections === undefined) {
2607
2606
  this.selectAll(sourceValue, sinkValue);
2608
2607
  }
@@ -2638,7 +2637,7 @@ class Reader {
2638
2637
  }
2639
2638
  const { baseSnapshotValue } = this.currentPath;
2640
2639
  if (isDefined$1(baseSnapshotValue)) {
2641
- this.snapshotChanged = keys$1.length !== keys$9(baseSnapshotValue).length;
2640
+ this.snapshotChanged = keys$1.length !== keys$a(baseSnapshotValue).length;
2642
2641
  }
2643
2642
  }
2644
2643
  checkIfChanged(value) {
@@ -2666,7 +2665,6 @@ class Reader {
2666
2665
  this.exitPath();
2667
2666
  }
2668
2667
  this.checkIfArrayLengthChanged(sink);
2669
- freeze$4(sink);
2670
2668
  }
2671
2669
  readObjectMap(propertyName, selection, record, data) {
2672
2670
  const obj = record[propertyName];
@@ -2677,7 +2675,7 @@ class Reader {
2677
2675
  return this.markMissing();
2678
2676
  }
2679
2677
  const sink = (data[propertyName] = {});
2680
- const keys$1 = keys$9(obj);
2678
+ const keys$1 = keys$a(obj);
2681
2679
  this.checkIfObjectKeysLengthChanged(keys$1);
2682
2680
  for (let i = 0, len = keys$1.length; i < len; i += 1) {
2683
2681
  const key = keys$1[i];
@@ -2685,11 +2683,10 @@ class Reader {
2685
2683
  this.readObject(key, selection, obj, sink);
2686
2684
  this.exitPath();
2687
2685
  }
2688
- freeze$4(sink);
2689
2686
  }
2690
2687
  readLinkMap(propertyName, selection, record, data) {
2691
2688
  const map = record[propertyName];
2692
- const keys$1 = keys$9(map);
2689
+ const keys$1 = keys$a(map);
2693
2690
  const sink = {};
2694
2691
  this.checkIfObjectKeysLengthChanged(keys$1);
2695
2692
  for (let i = 0, len = keys$1.length; i < len; i += 1) {
@@ -2721,7 +2718,6 @@ class Reader {
2721
2718
  }
2722
2719
  if (isReaderFragment(fragment)) {
2723
2720
  const value = fragment.read(result.value, this);
2724
- freeze$4(value);
2725
2721
  return {
2726
2722
  state: FragmentReadResultState$1.Success,
2727
2723
  value,
@@ -2736,7 +2732,6 @@ class Reader {
2736
2732
  }
2737
2733
  const sink = {};
2738
2734
  this.traverseSelections(fragment, result.value, sink);
2739
- freeze$4(sink);
2740
2735
  return {
2741
2736
  state: FragmentReadResultState$1.Success,
2742
2737
  value: sink,
@@ -2754,7 +2749,6 @@ class Reader {
2754
2749
  value: value.value,
2755
2750
  };
2756
2751
  }
2757
- freeze$4(value);
2758
2752
  return {
2759
2753
  state: FragmentReadResultState$1.Success,
2760
2754
  value,
@@ -2798,11 +2792,9 @@ class Reader {
2798
2792
  const obj = {};
2799
2793
  this.traverseSelections(selection, nextRecord, obj);
2800
2794
  push$4.call(sink, obj);
2801
- freeze$4(obj);
2802
2795
  this.exitPath();
2803
2796
  }
2804
2797
  this.checkIfArrayLengthChanged(sink);
2805
- freeze$4(sink);
2806
2798
  }
2807
2799
  readOpaque(sink, propertyName, value, required) {
2808
2800
  this.checkIfChanged(value);
@@ -2822,7 +2814,7 @@ class Reader {
2822
2814
  return;
2823
2815
  }
2824
2816
  const sink = (data[propertyName] = {});
2825
- const keys$1 = keys$9(obj);
2817
+ const keys$1 = keys$a(obj);
2826
2818
  this.checkIfObjectKeysLengthChanged(keys$1);
2827
2819
  for (let i = 0, len = keys$1.length; i < len; i += 1) {
2828
2820
  const key = keys$1[i];
@@ -2830,7 +2822,6 @@ class Reader {
2830
2822
  this.readScalar(key, obj, sink);
2831
2823
  this.exitPath();
2832
2824
  }
2833
- freeze$4(sink);
2834
2825
  }
2835
2826
  readScalarPlural(propertyName, record, data, required) {
2836
2827
  const array = record[propertyName];
@@ -2847,7 +2838,6 @@ class Reader {
2847
2838
  if (this.snapshotChanged === true) {
2848
2839
  // fast path: just copy from array to sink
2849
2840
  push$4.apply(sink, array);
2850
- freeze$4(sink);
2851
2841
  return;
2852
2842
  }
2853
2843
  this.checkIfArrayLengthChanged(array);
@@ -2859,7 +2849,6 @@ class Reader {
2859
2849
  if (this.snapshotChanged === true) {
2860
2850
  // fast path: just copy from array to sink
2861
2851
  push$4.apply(sink, array);
2862
- freeze$4(sink);
2863
2852
  return;
2864
2853
  }
2865
2854
  for (let i = 0, len = array.length; i < len; i += 1) {
@@ -2880,7 +2869,6 @@ class Reader {
2880
2869
  break;
2881
2870
  }
2882
2871
  }
2883
- freeze$4(sink);
2884
2872
  }
2885
2873
  readScalar(propertyName, record, data, required) {
2886
2874
  if (!hasOwnProperty$3.call(record, propertyName)) {
@@ -3058,8 +3046,8 @@ class Environment {
3058
3046
  };
3059
3047
  this.store = store;
3060
3048
  this.networkAdapter = networkAdapter;
3061
- this.adapterContextMap = create$9(null);
3062
- this.typeQueryEvaluatorMap = create$9(null);
3049
+ this.adapterContextMap = create$a(null);
3050
+ this.typeQueryEvaluatorMap = create$a(null);
3063
3051
  // bind these methods so when they get passed into the
3064
3052
  // Store, the this reference is preserved
3065
3053
  this.createSnapshot = this.createSnapshot.bind(this);
@@ -3156,7 +3144,7 @@ class Environment {
3156
3144
  status: StoreErrorStatus$1.RESOURCE_NOT_FOUND,
3157
3145
  error,
3158
3146
  };
3159
- freeze$4(entry);
3147
+ freeze$5(entry);
3160
3148
  store.publish(key, entry);
3161
3149
  if (storeMetadataParams !== undefined) {
3162
3150
  const { ttl, namespace, representationName, version } = storeMetadataParams;
@@ -3250,7 +3238,7 @@ class Environment {
3250
3238
  // retrieve from adapterContextMap if contextId is supplied
3251
3239
  // we will only track context of adapters that explicitly provide a contextId
3252
3240
  if (this.adapterContextMap[contextId] === undefined) {
3253
- this.adapterContextMap[contextId] = create$9(null);
3241
+ this.adapterContextMap[contextId] = create$a(null);
3254
3242
  }
3255
3243
  const contextStore = this.adapterContextMap[contextId];
3256
3244
  const context = {
@@ -3503,6 +3491,24 @@ class Luvio {
3503
3491
  }
3504
3492
  }
3505
3493
  }
3494
+ // ResourceRequest params are derived from Adapter config properties, which
3495
+ // can be optional. This could leave some queryParams or urlParams with undefined
3496
+ // values. We don't want to put the responsibility of filtering out those
3497
+ // undefined values on the injected networkAdapter. So we do it here, on
3498
+ // the API that those adapters call to dispatch their ResourceRequests.
3499
+ const { queryParams, urlParams } = mergedResourceRequest;
3500
+ for (const paramKey of keys$a(queryParams)) {
3501
+ const value = queryParams[paramKey];
3502
+ if (value === undefined) {
3503
+ delete queryParams[paramKey];
3504
+ }
3505
+ }
3506
+ for (const paramKey of keys$a(urlParams)) {
3507
+ const value = urlParams[paramKey];
3508
+ if (value === undefined) {
3509
+ delete urlParams[paramKey];
3510
+ }
3511
+ }
3506
3512
  return this.environment.dispatchResourceRequest(mergedResourceRequest, resourceRequestContext, eventObservers);
3507
3513
  }
3508
3514
  refreshSnapshot(snapshot) {
@@ -3664,7 +3670,7 @@ class Luvio {
3664
3670
  return this.environment.buildStructuredKey(namespace, representationName, idValues);
3665
3671
  }
3666
3672
  }
3667
- // engine version: 0.139.1-f7268217
3673
+ // engine version: 0.139.6-cfd5fd23
3668
3674
 
3669
3675
  /**
3670
3676
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3791,7 +3797,7 @@ function withDefaultLuvio(callback) {
3791
3797
  }
3792
3798
  callbacks.push(callback);
3793
3799
  }
3794
- // version: 1.134.6-b7fe2f556
3800
+ // version: 1.134.8-87c38bf92
3795
3801
 
3796
3802
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3797
3803
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15215,7 +15221,7 @@ function parseAndVisit(source) {
15215
15221
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15216
15222
  return luvioDocumentNode;
15217
15223
  }
15218
- // version: 1.134.6-b7fe2f556
15224
+ // version: 1.134.8-87c38bf92
15219
15225
 
15220
15226
  function unwrap(data) {
15221
15227
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -15316,7 +15322,7 @@ function refreshData(data, dataToTuple, luvio) {
15316
15322
  return undefined;
15317
15323
  });
15318
15324
  }
15319
- const { isArray: isArray$9 } = Array;
15325
+ const { isArray: isArray$8 } = Array;
15320
15326
  const { stringify: stringify$8 } = JSON;
15321
15327
 
15322
15328
  function isPromise$1(value) {
@@ -15370,7 +15376,7 @@ class Sanitizer {
15370
15376
  }
15371
15377
  enter(key, value) {
15372
15378
  const { currentPath: parentPath } = this;
15373
- const data = (parentPath.data[key] = isArray$9(value) ? [] : {});
15379
+ const data = (parentPath.data[key] = isArray$8(value) ? [] : {});
15374
15380
  this.currentPath = {
15375
15381
  key,
15376
15382
  value,
@@ -15793,7 +15799,7 @@ function createLDSAdapter(luvio, name, factory) {
15793
15799
  return factory(luvio);
15794
15800
  }
15795
15801
 
15796
- const { create: create$8, defineProperty, defineProperties } = Object;
15802
+ const { create: create$9, defineProperty, defineProperties } = Object;
15797
15803
 
15798
15804
  var SnapshotState$2;
15799
15805
  (function (SnapshotState) {
@@ -16128,7 +16134,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16128
16134
  const { apiFamily, name } = metadata;
16129
16135
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16130
16136
  }
16131
- // version: 1.134.6-b7fe2f556
16137
+ // version: 1.134.8-87c38bf92
16132
16138
 
16133
16139
  /**
16134
16140
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16211,15 +16217,17 @@ var FragmentReadResultState;
16211
16217
  ({
16212
16218
  state: FragmentReadResultState.Missing,
16213
16219
  });
16214
- // engine version: 0.139.1-f7268217
16220
+ // engine version: 0.139.6-cfd5fd23
16215
16221
 
16216
- const { keys: ObjectKeys$3, freeze: ObjectFreeze$3, create: ObjectCreate$3 } = Object;
16222
+ const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
16223
+
16224
+ const { assign: assign$7, create: create$8, freeze: freeze$4, keys: keys$9 } = Object;
16217
16225
 
16218
16226
  ObjectCreate$3(null);
16219
16227
 
16220
16228
  ObjectCreate$3(null);
16221
16229
 
16222
- ObjectFreeze$3({
16230
+ freeze$4({
16223
16231
  name: '',
16224
16232
  children: {},
16225
16233
  });
@@ -16466,12 +16474,12 @@ let instrumentation$2 = {
16466
16474
  function instrument$2(newInstrumentation) {
16467
16475
  instrumentation$2 = Object.assign(instrumentation$2, newInstrumentation);
16468
16476
  }
16469
- const { keys: ObjectKeys$1$1, freeze: ObjectFreeze$1$1, create: ObjectCreate$1$1 } = Object;
16477
+ const { keys: ObjectKeys$1$1, create: ObjectCreate$1$1 } = Object;
16470
16478
  const { stringify: JSONStringify$1 } = JSON;
16471
- const { isArray: ArrayIsArray$1$1 } = Array;
16479
+ const { isArray: ArrayIsArray$1 } = Array;
16472
16480
  const { push: ArrayPrototypePush$1 } = Array.prototype;
16473
16481
  function untrustedIsObject$2(untrusted) {
16474
- return typeof untrusted === 'object' && untrusted !== null && ArrayIsArray$1$1(untrusted) === false;
16482
+ return typeof untrusted === 'object' && untrusted !== null && ArrayIsArray$1(untrusted) === false;
16475
16483
  }
16476
16484
  function areRequiredParametersPresent$1(config, configPropertyNames) {
16477
16485
  return configPropertyNames.parameters.required.every(req => req in config);
@@ -16511,7 +16519,7 @@ function stableJSONStringify$2(node) {
16511
16519
  }
16512
16520
  let i;
16513
16521
  let out;
16514
- if (ArrayIsArray$1$1(node)) {
16522
+ if (ArrayIsArray$1(node)) {
16515
16523
  out = '[';
16516
16524
  for (i = 0; i < node.length; i++) {
16517
16525
  if (i) {
@@ -16562,7 +16570,7 @@ function isUnfulfilledSnapshot$1(snapshot) {
16562
16570
  }
16563
16571
  const keyPrefix$1 = 'UiApi';
16564
16572
 
16565
- const { freeze: ObjectFreeze$2, keys: ObjectKeys$2, create: ObjectCreate$2, assign: ObjectAssign$1 } = Object;
16573
+ const { keys: ObjectKeys$2, create: ObjectCreate$2, assign: ObjectAssign$1 } = Object;
16566
16574
  const { isArray: ArrayIsArray$2 } = Array;
16567
16575
  const { stringify: JSONStringify$2 } = JSON;
16568
16576
  function equalsArray(a, b, equalsItem) {
@@ -16597,24 +16605,6 @@ function equalsObject$1(a, b, equalsProp) {
16597
16605
  }
16598
16606
  return true;
16599
16607
  }
16600
- function deepFreeze$P(value) {
16601
- // No need to freeze primitives
16602
- if (typeof value !== 'object' || value === null) {
16603
- return;
16604
- }
16605
- if (ArrayIsArray$2(value)) {
16606
- for (let i = 0, len = value.length; i < len; i += 1) {
16607
- deepFreeze$P(value[i]);
16608
- }
16609
- }
16610
- else {
16611
- const keys = ObjectKeys$2(value);
16612
- for (let i = 0, len = keys.length; i < len; i += 1) {
16613
- deepFreeze$P(value[keys[i]]);
16614
- }
16615
- }
16616
- ObjectFreeze$2(value);
16617
- }
16618
16608
  function createLink$3(ref) {
16619
16609
  return {
16620
16610
  __ref: serializeStructuredKey(ref),
@@ -16678,11 +16668,6 @@ const select$1G = function ListFilterByInfoRepresentationSelect() {
16678
16668
  ]
16679
16669
  };
16680
16670
  };
16681
- function deepFreeze$O(input) {
16682
- const input_operandLabels = input.operandLabels;
16683
- ObjectFreeze$2(input_operandLabels);
16684
- ObjectFreeze$2(input);
16685
- }
16686
16671
 
16687
16672
  const VERSION$1b = "76042ff4af603b2ac0ec69fa0bd12046";
16688
16673
  const select$1F = function ListReferenceRepresentationSelect() {
@@ -16756,9 +16741,6 @@ const select$1E = function ListOrderByInfoRepresentationSelect() {
16756
16741
  ]
16757
16742
  };
16758
16743
  };
16759
- function deepFreeze$N(input) {
16760
- ObjectFreeze$2(input);
16761
- }
16762
16744
 
16763
16745
  const VERSION$19 = "6506134f4d72fdfa349fe60ef1af2413";
16764
16746
  const select$1D = function ListUserPreferenceRepresentationSelect() {
@@ -16780,23 +16762,6 @@ const select$1D = function ListUserPreferenceRepresentationSelect() {
16780
16762
  ]
16781
16763
  };
16782
16764
  };
16783
- function deepFreeze$M(input) {
16784
- const input_columnWidths = input.columnWidths;
16785
- const input_columnWidths_keys = Object.keys(input_columnWidths);
16786
- const input_columnWidths_length = input_columnWidths_keys.length;
16787
- for (let i = 0; i < input_columnWidths_length; i++) {
16788
- input_columnWidths_keys[i];
16789
- }
16790
- ObjectFreeze$2(input_columnWidths);
16791
- const input_columnWrap = input.columnWrap;
16792
- const input_columnWrap_keys = Object.keys(input_columnWrap);
16793
- const input_columnWrap_length = input_columnWrap_keys.length;
16794
- for (let i = 0; i < input_columnWrap_length; i++) {
16795
- input_columnWrap_keys[i];
16796
- }
16797
- ObjectFreeze$2(input_columnWrap);
16798
- ObjectFreeze$2(input);
16799
- }
16800
16765
 
16801
16766
  const TTL$x = 900000;
16802
16767
  const VERSION$18 = "8f469cbf563d2ed6b2d3a7b2ee422e1f";
@@ -16997,9 +16962,6 @@ function equals$V(existing, incoming) {
16997
16962
  }
16998
16963
  return true;
16999
16964
  }
17000
- function deepFreeze$L(input) {
17001
- ObjectFreeze$2(input);
17002
- }
17003
16965
 
17004
16966
  const VERSION$16 = "195d918987a35f45e1aa4dce9a11d8c5";
17005
16967
  const RepresentationType$P = 'FieldValueRepresentation';
@@ -17057,13 +17019,6 @@ function equals$U(existing, incoming) {
17057
17019
  }
17058
17020
  return true;
17059
17021
  }
17060
- function deepFreeze$K(input) {
17061
- const input_value = input.value;
17062
- if (input_value !== null && typeof input_value === 'object') {
17063
- deepFreeze$I(input_value);
17064
- }
17065
- ObjectFreeze$2(input);
17066
- }
17067
17022
  const ingest$I$1 = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
17068
17023
  const key = path.fullPath;
17069
17024
  const existingRecord = store.readEntry(key);
@@ -17107,7 +17062,7 @@ function getTypeCacheKeys$Q(luvio, input, fullPathFactory) {
17107
17062
  const { assign: assign$6, create: create$7, freeze: freeze$3, keys: keys$8 } = Object;
17108
17063
  const { hasOwnProperty: hasOwnProperty$1 } = Object.prototype;
17109
17064
  const { split, endsWith } = String.prototype;
17110
- const { isArray: isArray$8 } = Array;
17065
+ const { isArray: isArray$7 } = Array;
17111
17066
  const { concat, filter: filter$1, includes: includes$1, push: push$3, reduce } = Array.prototype;
17112
17067
  const { parse: parse$7, stringify: stringify$7 } = JSON;
17113
17068
 
@@ -17253,15 +17208,6 @@ function equals$T(existing, incoming) {
17253
17208
  }
17254
17209
  return true;
17255
17210
  }
17256
- function deepFreeze$J(input) {
17257
- const input_records = input.records;
17258
- for (let i = 0; i < input_records.length; i++) {
17259
- const input_records_item = input_records[i];
17260
- deepFreeze$I(input_records_item);
17261
- }
17262
- ObjectFreeze$2(input_records);
17263
- ObjectFreeze$2(input);
17264
- }
17265
17211
  const ingest$H$1 = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
17266
17212
  const key = path.fullPath;
17267
17213
  const existingRecord = store.readEntry(key);
@@ -17550,31 +17496,6 @@ function equals$S(existing, incoming) {
17550
17496
  }
17551
17497
  return true;
17552
17498
  }
17553
- function deepFreeze$I(input) {
17554
- const input_childRelationships = input.childRelationships;
17555
- const input_childRelationships_keys = Object.keys(input_childRelationships);
17556
- const input_childRelationships_length = input_childRelationships_keys.length;
17557
- for (let i = 0; i < input_childRelationships_length; i++) {
17558
- const key = input_childRelationships_keys[i];
17559
- const input_childRelationships_prop = input_childRelationships[key];
17560
- deepFreeze$J(input_childRelationships_prop);
17561
- }
17562
- ObjectFreeze$2(input_childRelationships);
17563
- const input_fields = input.fields;
17564
- const input_fields_keys = Object.keys(input_fields);
17565
- const input_fields_length = input_fields_keys.length;
17566
- for (let i = 0; i < input_fields_length; i++) {
17567
- const key = input_fields_keys[i];
17568
- const input_fields_prop = input_fields[key];
17569
- deepFreeze$K(input_fields_prop);
17570
- }
17571
- ObjectFreeze$2(input_fields);
17572
- const input_recordTypeInfo = input.recordTypeInfo;
17573
- if (input_recordTypeInfo !== null && typeof input_recordTypeInfo === 'object') {
17574
- deepFreeze$L(input_recordTypeInfo);
17575
- }
17576
- ObjectFreeze$2(input);
17577
- }
17578
17499
  function getTypeCacheKeys$N(luvio, input, fullPathFactory) {
17579
17500
  const rootKeySet = new StoreKeyMap();
17580
17501
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
@@ -19418,7 +19339,7 @@ function convertTrieToFieldsRecursively(root) {
19418
19339
  }
19419
19340
  return reduce.call(childKeys, (acc, cur) => concat.call(acc, convertTrieToFieldsRecursively(root.children[cur]).map((i) => `${root.name}.${i}`)), []);
19420
19341
  }
19421
- const BLANK_RECORD_FIELDS_TRIE = ObjectFreeze$1$1({
19342
+ const BLANK_RECORD_FIELDS_TRIE = freeze$3({
19422
19343
  name: '',
19423
19344
  children: {},
19424
19345
  });
@@ -20035,8 +19956,8 @@ function fulfill(existing, incoming) {
20035
19956
  return isSuperset(existingFieldsUnion, incomingFieldsUnion);
20036
19957
  }
20037
19958
  function unionFields(fields, optionalFields) {
20038
- const fieldsArray = isArray$8(fields) ? fields : [];
20039
- const optionalFieldsArray = isArray$8(optionalFields) ? optionalFields : [];
19959
+ const fieldsArray = isArray$7(fields) ? fields : [];
19960
+ const optionalFieldsArray = isArray$7(optionalFields) ? optionalFields : [];
20040
19961
  return [...fieldsArray, ...optionalFieldsArray];
20041
19962
  }
20042
19963
  function getRecordIdsFromUrlParams(urlParams) {
@@ -20122,7 +20043,7 @@ function getRecordId18(value) {
20122
20043
  * @returns The field API name.
20123
20044
  */
20124
20045
  function getFieldApiNamesArray(value) {
20125
- const valueArray = isArray$8(value) ? value : [value];
20046
+ const valueArray = isArray$7(value) ? value : [value];
20126
20047
  const array = [];
20127
20048
  for (let i = 0, len = valueArray.length; i < len; i += 1) {
20128
20049
  const item = valueArray[i];
@@ -20139,7 +20060,7 @@ function getFieldApiNamesArray(value) {
20139
20060
  }
20140
20061
 
20141
20062
  function toSortedStringArray(value) {
20142
- const valueArray = isArray$8(value) ? value : [value];
20063
+ const valueArray = isArray$7(value) ? value : [value];
20143
20064
  if (valueArray.length !== 0 && isArrayOfNonEmptyStrings(valueArray)) {
20144
20065
  return dedupe(valueArray).sort();
20145
20066
  }
@@ -20203,7 +20124,7 @@ function typeCheckConfig$Z(untrustedConfig) {
20203
20124
  config.recordId = untrustedConfig_recordId;
20204
20125
  }
20205
20126
  const untrustedConfig_childRelationships = untrustedConfig.childRelationships;
20206
- if (ArrayIsArray$1$1(untrustedConfig_childRelationships)) {
20127
+ if (ArrayIsArray$1(untrustedConfig_childRelationships)) {
20207
20128
  const untrustedConfig_childRelationships_array = [];
20208
20129
  for (let i = 0, arrayLength = untrustedConfig_childRelationships.length; i < arrayLength; i++) {
20209
20130
  const untrustedConfig_childRelationships_item = untrustedConfig_childRelationships[i];
@@ -20214,7 +20135,7 @@ function typeCheckConfig$Z(untrustedConfig) {
20214
20135
  config.childRelationships = untrustedConfig_childRelationships_array;
20215
20136
  }
20216
20137
  const untrustedConfig_fields = untrustedConfig.fields;
20217
- if (ArrayIsArray$1$1(untrustedConfig_fields)) {
20138
+ if (ArrayIsArray$1(untrustedConfig_fields)) {
20218
20139
  const untrustedConfig_fields_array = [];
20219
20140
  for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
20220
20141
  const untrustedConfig_fields_item = untrustedConfig_fields[i];
@@ -20225,7 +20146,7 @@ function typeCheckConfig$Z(untrustedConfig) {
20225
20146
  config.fields = untrustedConfig_fields_array;
20226
20147
  }
20227
20148
  const untrustedConfig_forms = untrustedConfig.forms;
20228
- if (ArrayIsArray$1$1(untrustedConfig_forms)) {
20149
+ if (ArrayIsArray$1(untrustedConfig_forms)) {
20229
20150
  const untrustedConfig_forms_array = [];
20230
20151
  for (let i = 0, arrayLength = untrustedConfig_forms.length; i < arrayLength; i++) {
20231
20152
  const untrustedConfig_forms_item = untrustedConfig_forms[i];
@@ -20236,7 +20157,7 @@ function typeCheckConfig$Z(untrustedConfig) {
20236
20157
  config.forms = untrustedConfig_forms_array;
20237
20158
  }
20238
20159
  const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
20239
- if (ArrayIsArray$1$1(untrustedConfig_layoutTypes)) {
20160
+ if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
20240
20161
  const untrustedConfig_layoutTypes_array = [];
20241
20162
  for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
20242
20163
  const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
@@ -20247,7 +20168,7 @@ function typeCheckConfig$Z(untrustedConfig) {
20247
20168
  config.layoutTypes = untrustedConfig_layoutTypes_array;
20248
20169
  }
20249
20170
  const untrustedConfig_modes = untrustedConfig.modes;
20250
- if (ArrayIsArray$1$1(untrustedConfig_modes)) {
20171
+ if (ArrayIsArray$1(untrustedConfig_modes)) {
20251
20172
  const untrustedConfig_modes_array = [];
20252
20173
  for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
20253
20174
  const untrustedConfig_modes_item = untrustedConfig_modes[i];
@@ -20258,7 +20179,7 @@ function typeCheckConfig$Z(untrustedConfig) {
20258
20179
  config.modes = untrustedConfig_modes_array;
20259
20180
  }
20260
20181
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
20261
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
20182
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
20262
20183
  const untrustedConfig_optionalFields_array = [];
20263
20184
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
20264
20185
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -20413,7 +20334,7 @@ function getRecordByFields(luvio, config, requestContext) {
20413
20334
  return luvio.applyCachePolicy(requestContext || {}, { config, luvio }, buildCachedSnapshotCachePolicy$J, buildNetworkSnapshotCachePolicy$K);
20414
20335
  }
20415
20336
  function isSingleBatchRecordResponse(response) {
20416
- return (isArray$8(response.results) &&
20337
+ return (isArray$7(response.results) &&
20417
20338
  response.results.length === 1);
20418
20339
  }
20419
20340
 
@@ -20456,7 +20377,6 @@ function ingestSuccessChildResourceParams$5(luvio, childResourceParamsArray, chi
20456
20377
  statusCode: childStatusCode,
20457
20378
  result: childSnapshot.data,
20458
20379
  };
20459
- ObjectFreeze$1$1(childValue);
20460
20380
  childSnapshotDataResponses.push(childValue);
20461
20381
  }
20462
20382
  else {
@@ -20479,7 +20399,6 @@ function ingestSuccessChildResourceParams$5(luvio, childResourceParamsArray, chi
20479
20399
  statusCode: childStatusCode,
20480
20400
  result: childBody,
20481
20401
  };
20482
- ObjectFreeze$1$1(childValue);
20483
20402
  childSnapshotDataResponses.push(childValue);
20484
20403
  }
20485
20404
  // track non-cached responses so rebuilds work properly
@@ -20494,12 +20413,12 @@ function ingestSuccessChildResourceParams$5(luvio, childResourceParamsArray, chi
20494
20413
  delete nonCachedErrors$6[childKey];
20495
20414
  }
20496
20415
  }
20497
- ObjectFreeze$1$1(childSnapshotDataResponses);
20498
20416
  const childSnapshotData = {
20499
20417
  results: childSnapshotDataResponses,
20500
20418
  };
20419
+ deepFreeze(childSnapshotData);
20501
20420
  return {
20502
- childSnapshotData: ObjectFreeze$1$1(childSnapshotData),
20421
+ childSnapshotData,
20503
20422
  seenRecords,
20504
20423
  snapshotState,
20505
20424
  };
@@ -20612,12 +20531,11 @@ function selectChildResourceParams$6(luvio, childResources, resourceParams) {
20612
20531
  reader.markPending();
20613
20532
  break;
20614
20533
  }
20615
- ObjectFreeze$1$1(childSink);
20616
20534
  ArrayPrototypePush$1.call(results, childSink);
20617
20535
  reader.exitPath();
20618
20536
  }
20619
20537
  reader.assignNonScalar(sink, envelopePath, results);
20620
- ObjectFreeze$1$1(sink);
20538
+ deepFreeze(sink);
20621
20539
  reader.exitPath();
20622
20540
  return sink;
20623
20541
  },
@@ -20723,10 +20641,10 @@ function createChildResourceParams$7(config) {
20723
20641
  for (let innerIdx = 0, numOfRecordIds = recordIds.length; innerIdx < numOfRecordIds; innerIdx += 1) {
20724
20642
  const currentRecordId = recordIds[innerIdx];
20725
20643
  const queryParams = {};
20726
- if (ArrayIsArray$1$1(fields)) {
20644
+ if (ArrayIsArray$1(fields)) {
20727
20645
  queryParams.fields = fields;
20728
20646
  }
20729
- if (ArrayIsArray$1$1(optionalFields)) {
20647
+ if (ArrayIsArray$1(optionalFields)) {
20730
20648
  queryParams.optionalFields = optionalFields;
20731
20649
  }
20732
20650
  childResources.push({
@@ -21003,7 +20921,6 @@ const select$1x = function ListRecordCollectionRepresentationSelect(paginationPa
21003
20921
  reader.exitPath();
21004
20922
  }
21005
20923
  reader.exitPath();
21006
- ObjectFreeze$2(itemsSink);
21007
20924
  reader.assignNonScalar(sink, itemsProperty, itemsSink);
21008
20925
  }
21009
20926
  reader.enterPath('currentPageToken');
@@ -21114,7 +21031,6 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
21114
21031
  reader.exitPath();
21115
21032
  }
21116
21033
  reader.exitPath();
21117
- ObjectFreeze$2(itemsSink);
21118
21034
  reader.assignNonScalar(sink, itemsProperty, itemsSink);
21119
21035
  }
21120
21036
  reader.enterPath('currentPageToken');
@@ -21576,7 +21492,7 @@ function typeCheckConfig$Y(untrustedConfig) {
21576
21492
  config.objectApiName = untrustedConfig_objectApiName;
21577
21493
  }
21578
21494
  const untrustedConfig_fields = untrustedConfig.fields;
21579
- if (ArrayIsArray$1$1(untrustedConfig_fields)) {
21495
+ if (ArrayIsArray$1(untrustedConfig_fields)) {
21580
21496
  const untrustedConfig_fields_array = [];
21581
21497
  for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
21582
21498
  const untrustedConfig_fields_item = untrustedConfig_fields[i];
@@ -21587,7 +21503,7 @@ function typeCheckConfig$Y(untrustedConfig) {
21587
21503
  config.fields = untrustedConfig_fields_array;
21588
21504
  }
21589
21505
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
21590
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
21506
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
21591
21507
  const untrustedConfig_optionalFields_array = [];
21592
21508
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
21593
21509
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -21606,7 +21522,7 @@ function typeCheckConfig$Y(untrustedConfig) {
21606
21522
  config.pageToken = untrustedConfig_pageToken;
21607
21523
  }
21608
21524
  const untrustedConfig_sortBy = untrustedConfig.sortBy;
21609
- if (ArrayIsArray$1$1(untrustedConfig_sortBy)) {
21525
+ if (ArrayIsArray$1(untrustedConfig_sortBy)) {
21610
21526
  const untrustedConfig_sortBy_array = [];
21611
21527
  for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
21612
21528
  const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
@@ -21704,7 +21620,7 @@ function typeCheckConfig$X(untrustedConfig) {
21704
21620
  config.listViewId = untrustedConfig_listViewId;
21705
21621
  }
21706
21622
  const untrustedConfig_fields = untrustedConfig.fields;
21707
- if (ArrayIsArray$1$1(untrustedConfig_fields)) {
21623
+ if (ArrayIsArray$1(untrustedConfig_fields)) {
21708
21624
  const untrustedConfig_fields_array = [];
21709
21625
  for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
21710
21626
  const untrustedConfig_fields_item = untrustedConfig_fields[i];
@@ -21715,7 +21631,7 @@ function typeCheckConfig$X(untrustedConfig) {
21715
21631
  config.fields = untrustedConfig_fields_array;
21716
21632
  }
21717
21633
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
21718
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
21634
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
21719
21635
  const untrustedConfig_optionalFields_array = [];
21720
21636
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
21721
21637
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -21734,7 +21650,7 @@ function typeCheckConfig$X(untrustedConfig) {
21734
21650
  config.pageToken = untrustedConfig_pageToken;
21735
21651
  }
21736
21652
  const untrustedConfig_sortBy = untrustedConfig.sortBy;
21737
- if (ArrayIsArray$1$1(untrustedConfig_sortBy)) {
21653
+ if (ArrayIsArray$1(untrustedConfig_sortBy)) {
21738
21654
  const untrustedConfig_sortBy_array = [];
21739
21655
  for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
21740
21656
  const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
@@ -22327,7 +22243,6 @@ const select$1u = function ListViewSummaryCollectionRepresentationSelect(paginat
22327
22243
  reader.exitPath();
22328
22244
  }
22329
22245
  reader.exitPath();
22330
- ObjectFreeze$2(itemsSink);
22331
22246
  reader.assignNonScalar(sink, itemsProperty, itemsSink);
22332
22247
  }
22333
22248
  reader.enterPath('currentPageToken');
@@ -22575,6 +22490,7 @@ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
22575
22490
  node: select$1t(luvio, resourceParams),
22576
22491
  variables: {},
22577
22492
  }, snapshotRefresh);
22493
+ deepFreeze(snapshot.data);
22578
22494
  return snapshot;
22579
22495
  }
22580
22496
  function ingestError$C(luvio, params, error, snapshotRefresh) {
@@ -22906,7 +22822,7 @@ function typeCheckConfig$V(untrustedConfig) {
22906
22822
  config.objectApiName = untrustedConfig_objectApiName;
22907
22823
  }
22908
22824
  const untrustedConfig_fields = untrustedConfig.fields;
22909
- if (ArrayIsArray$1$1(untrustedConfig_fields)) {
22825
+ if (ArrayIsArray$1(untrustedConfig_fields)) {
22910
22826
  const untrustedConfig_fields_array = [];
22911
22827
  for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
22912
22828
  const untrustedConfig_fields_item = untrustedConfig_fields[i];
@@ -22917,7 +22833,7 @@ function typeCheckConfig$V(untrustedConfig) {
22917
22833
  config.fields = untrustedConfig_fields_array;
22918
22834
  }
22919
22835
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
22920
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
22836
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
22921
22837
  const untrustedConfig_optionalFields_array = [];
22922
22838
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
22923
22839
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -22936,7 +22852,7 @@ function typeCheckConfig$V(untrustedConfig) {
22936
22852
  config.pageToken = untrustedConfig_pageToken;
22937
22853
  }
22938
22854
  const untrustedConfig_sortBy = untrustedConfig.sortBy;
22939
- if (ArrayIsArray$1$1(untrustedConfig_sortBy)) {
22855
+ if (ArrayIsArray$1(untrustedConfig_sortBy)) {
22940
22856
  const untrustedConfig_sortBy_array = [];
22941
22857
  for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
22942
22858
  const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
@@ -23695,41 +23611,6 @@ const factory$g = (luvio) => {
23695
23611
  return null;
23696
23612
  }, { contextId: contextId$4 });
23697
23613
  };
23698
- function deepFreeze$H(input) {
23699
- const input_junctionIdListNames = input.junctionIdListNames;
23700
- ObjectFreeze$2(input_junctionIdListNames);
23701
- const input_junctionReferenceTo = input.junctionReferenceTo;
23702
- ObjectFreeze$2(input_junctionReferenceTo);
23703
- ObjectFreeze$2(input);
23704
- }
23705
- function deepFreeze$G(input) {
23706
- const input_controllingFields = input.controllingFields;
23707
- ObjectFreeze$2(input_controllingFields);
23708
- ObjectFreeze$2(input);
23709
- }
23710
- function deepFreeze$F(input) {
23711
- const input_nameFields = input.nameFields;
23712
- ObjectFreeze$2(input_nameFields);
23713
- ObjectFreeze$2(input);
23714
- }
23715
- function deepFreeze$E(input) {
23716
- const input_controllingFields = input.controllingFields;
23717
- ObjectFreeze$2(input_controllingFields);
23718
- const input_filteredLookupInfo = input.filteredLookupInfo;
23719
- if (input_filteredLookupInfo !== null && typeof input_filteredLookupInfo === 'object') {
23720
- deepFreeze$G(input_filteredLookupInfo);
23721
- }
23722
- const input_referenceToInfos = input.referenceToInfos;
23723
- for (let i = 0; i < input_referenceToInfos.length; i++) {
23724
- const input_referenceToInfos_item = input_referenceToInfos[i];
23725
- deepFreeze$F(input_referenceToInfos_item);
23726
- }
23727
- ObjectFreeze$2(input_referenceToInfos);
23728
- ObjectFreeze$2(input);
23729
- }
23730
- function deepFreeze$D(input) {
23731
- ObjectFreeze$2(input);
23732
- }
23733
23614
 
23734
23615
  const TTL$t = 900000;
23735
23616
  const VERSION$_ = "ec9370a0cd56f4769fe9ec5cd942ff30";
@@ -23857,48 +23738,6 @@ function equals$N(existing, incoming) {
23857
23738
  }
23858
23739
  return true;
23859
23740
  }
23860
- function deepFreeze$C(input) {
23861
- const input_childRelationships = input.childRelationships;
23862
- for (let i = 0; i < input_childRelationships.length; i++) {
23863
- const input_childRelationships_item = input_childRelationships[i];
23864
- deepFreeze$H(input_childRelationships_item);
23865
- }
23866
- ObjectFreeze$2(input_childRelationships);
23867
- const input_dependentFields = input.dependentFields;
23868
- const input_dependentFields_keys = Object.keys(input_dependentFields);
23869
- const input_dependentFields_length = input_dependentFields_keys.length;
23870
- for (let i = 0; i < input_dependentFields_length; i++) {
23871
- const key = input_dependentFields_keys[i];
23872
- const input_dependentFields_prop = input_dependentFields[key];
23873
- ObjectFreeze$2(input_dependentFields_prop);
23874
- }
23875
- ObjectFreeze$2(input_dependentFields);
23876
- const input_fields = input.fields;
23877
- const input_fields_keys = Object.keys(input_fields);
23878
- const input_fields_length = input_fields_keys.length;
23879
- for (let i = 0; i < input_fields_length; i++) {
23880
- const key = input_fields_keys[i];
23881
- const input_fields_prop = input_fields[key];
23882
- deepFreeze$E(input_fields_prop);
23883
- }
23884
- ObjectFreeze$2(input_fields);
23885
- const input_nameFields = input.nameFields;
23886
- ObjectFreeze$2(input_nameFields);
23887
- const input_recordTypeInfos = input.recordTypeInfos;
23888
- const input_recordTypeInfos_keys = Object.keys(input_recordTypeInfos);
23889
- const input_recordTypeInfos_length = input_recordTypeInfos_keys.length;
23890
- for (let i = 0; i < input_recordTypeInfos_length; i++) {
23891
- const key = input_recordTypeInfos_keys[i];
23892
- const input_recordTypeInfos_prop = input_recordTypeInfos[key];
23893
- deepFreeze$L(input_recordTypeInfos_prop);
23894
- }
23895
- ObjectFreeze$2(input_recordTypeInfos);
23896
- const input_themeInfo = input.themeInfo;
23897
- if (input_themeInfo !== null && typeof input_themeInfo === 'object') {
23898
- deepFreeze$D(input_themeInfo);
23899
- }
23900
- ObjectFreeze$2(input);
23901
- }
23902
23741
  const ingest$B$1 = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
23903
23742
  const key = keyBuilderFromType$s(luvio, input);
23904
23743
  const existingRecord = store.readEntry(key);
@@ -23909,7 +23748,6 @@ const ingest$B$1 = function ObjectInfoRepresentationIngest(input, path, luvio, s
23909
23748
  propertyName: path.propertyName,
23910
23749
  ttl: ttlToUse
23911
23750
  });
23912
- deepFreeze$C(input);
23913
23751
  if (existingRecord === undefined || equals$N(existingRecord, incomingRecord) === false) {
23914
23752
  luvio.storePublish(key, incomingRecord);
23915
23753
  }
@@ -23956,6 +23794,7 @@ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
23956
23794
  node: select$1r(),
23957
23795
  variables: {},
23958
23796
  }, snapshotRefresh);
23797
+ deepFreeze(snapshot.data);
23959
23798
  return snapshot;
23960
23799
  }
23961
23800
  function ingestError$B(luvio, params, error, snapshotRefresh) {
@@ -24098,9 +23937,6 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
24098
23937
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
24099
23938
  buildCachedSnapshotCachePolicy$H, buildNetworkSnapshotCachePolicy$I);
24100
23939
  };
24101
- function deepFreeze$B(input) {
24102
- ObjectFreeze$2(input);
24103
- }
24104
23940
 
24105
23941
  var DiscriminatorValues$4;
24106
23942
  (function (DiscriminatorValues) {
@@ -24111,36 +23947,6 @@ var DiscriminatorValues$4;
24111
23947
  DiscriminatorValues["Field"] = "Field";
24112
23948
  DiscriminatorValues["CustomLink"] = "CustomLink";
24113
23949
  })(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
24114
- function deepFreeze$A(input) {
24115
- ObjectFreeze$2(input);
24116
- }
24117
- function deepFreeze$z(input) {
24118
- const input_layoutComponents = input.layoutComponents;
24119
- for (let i = 0; i < input_layoutComponents.length; i++) {
24120
- const input_layoutComponents_item = input_layoutComponents[i];
24121
- deepFreeze$A(input_layoutComponents_item);
24122
- }
24123
- ObjectFreeze$2(input_layoutComponents);
24124
- ObjectFreeze$2(input);
24125
- }
24126
- function deepFreeze$y(input) {
24127
- const input_layoutItems = input.layoutItems;
24128
- for (let i = 0; i < input_layoutItems.length; i++) {
24129
- const input_layoutItems_item = input_layoutItems[i];
24130
- deepFreeze$z(input_layoutItems_item);
24131
- }
24132
- ObjectFreeze$2(input_layoutItems);
24133
- ObjectFreeze$2(input);
24134
- }
24135
- function deepFreeze$x(input) {
24136
- const input_layoutRows = input.layoutRows;
24137
- for (let i = 0; i < input_layoutRows.length; i++) {
24138
- const input_layoutRows_item = input_layoutRows[i];
24139
- deepFreeze$y(input_layoutRows_item);
24140
- }
24141
- ObjectFreeze$2(input_layoutRows);
24142
- ObjectFreeze$2(input);
24143
- }
24144
23950
 
24145
23951
  const TTL$s = 900000;
24146
23952
  const VERSION$Z = "fb515e25a89ca1ec154dc865e72b913a";
@@ -24207,21 +24013,6 @@ function equals$M(existing, incoming) {
24207
24013
  }
24208
24014
  return true;
24209
24015
  }
24210
- function deepFreeze$w(input) {
24211
- const input_saveOptions = input.saveOptions;
24212
- for (let i = 0; i < input_saveOptions.length; i++) {
24213
- const input_saveOptions_item = input_saveOptions[i];
24214
- deepFreeze$B(input_saveOptions_item);
24215
- }
24216
- ObjectFreeze$2(input_saveOptions);
24217
- const input_sections = input.sections;
24218
- for (let i = 0; i < input_sections.length; i++) {
24219
- const input_sections_item = input_sections[i];
24220
- deepFreeze$x(input_sections_item);
24221
- }
24222
- ObjectFreeze$2(input_sections);
24223
- ObjectFreeze$2(input);
24224
- }
24225
24016
  const ingest$A$1 = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
24226
24017
  const key = keyBuilderFromType$r(luvio, input);
24227
24018
  const existingRecord = store.readEntry(key);
@@ -24232,7 +24023,6 @@ const ingest$A$1 = function RecordLayoutRepresentationIngest(input, path, luvio,
24232
24023
  propertyName: path.propertyName,
24233
24024
  ttl: ttlToUse
24234
24025
  });
24235
- deepFreeze$w(input);
24236
24026
  if (existingRecord === undefined || equals$M(existingRecord, incomingRecord) === false) {
24237
24027
  luvio.storePublish(key, incomingRecord);
24238
24028
  }
@@ -24258,9 +24048,6 @@ function getTypeCacheKeys$H$1(luvio, input, fullPathFactory) {
24258
24048
  });
24259
24049
  return rootKeySet;
24260
24050
  }
24261
- function deepFreeze$v(input) {
24262
- ObjectFreeze$2(input);
24263
- }
24264
24051
 
24265
24052
  const TTL$r = 900000;
24266
24053
  const VERSION$Y = "4ba42e1fa0fb00cf78fce86082da41c9";
@@ -24309,18 +24096,6 @@ function equals$L(existing, incoming) {
24309
24096
  }
24310
24097
  return true;
24311
24098
  }
24312
- function deepFreeze$u(input) {
24313
- const input_sectionUserStates = input.sectionUserStates;
24314
- const input_sectionUserStates_keys = Object.keys(input_sectionUserStates);
24315
- const input_sectionUserStates_length = input_sectionUserStates_keys.length;
24316
- for (let i = 0; i < input_sectionUserStates_length; i++) {
24317
- const key = input_sectionUserStates_keys[i];
24318
- const input_sectionUserStates_prop = input_sectionUserStates[key];
24319
- deepFreeze$v(input_sectionUserStates_prop);
24320
- }
24321
- ObjectFreeze$2(input_sectionUserStates);
24322
- ObjectFreeze$2(input);
24323
- }
24324
24099
  const ingest$z$1 = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
24325
24100
  const key = keyBuilderFromType$q(luvio, input);
24326
24101
  const existingRecord = store.readEntry(key);
@@ -24331,7 +24106,6 @@ const ingest$z$1 = function RecordLayoutUserStateRepresentationIngest(input, pat
24331
24106
  propertyName: path.propertyName,
24332
24107
  ttl: ttlToUse
24333
24108
  });
24334
- deepFreeze$u(input);
24335
24109
  if (existingRecord === undefined || equals$L(existingRecord, incomingRecord) === false) {
24336
24110
  luvio.storePublish(key, incomingRecord);
24337
24111
  }
@@ -24569,7 +24343,7 @@ function createResourceRequest$R(config) {
24569
24343
  * @returns The object API name.
24570
24344
  */
24571
24345
  function getRecordId18Array(value) {
24572
- const valueArray = isArray$8(value) ? value : [value];
24346
+ const valueArray = isArray$7(value) ? value : [value];
24573
24347
  const array = [];
24574
24348
  for (let i = 0, len = valueArray.length; i < len; i += 1) {
24575
24349
  const item = valueArray[i];
@@ -24624,7 +24398,7 @@ function coerceConfig$v(config) {
24624
24398
  function typeCheckConfig$T(untrustedConfig) {
24625
24399
  const config = {};
24626
24400
  const untrustedConfig_recordIds = untrustedConfig.recordIds;
24627
- if (ArrayIsArray$1$1(untrustedConfig_recordIds)) {
24401
+ if (ArrayIsArray$1(untrustedConfig_recordIds)) {
24628
24402
  const untrustedConfig_recordIds_array = [];
24629
24403
  for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
24630
24404
  const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
@@ -24635,7 +24409,7 @@ function typeCheckConfig$T(untrustedConfig) {
24635
24409
  config.recordIds = untrustedConfig_recordIds_array;
24636
24410
  }
24637
24411
  const untrustedConfig_childRelationships = untrustedConfig.childRelationships;
24638
- if (ArrayIsArray$1$1(untrustedConfig_childRelationships)) {
24412
+ if (ArrayIsArray$1(untrustedConfig_childRelationships)) {
24639
24413
  const untrustedConfig_childRelationships_array = [];
24640
24414
  for (let i = 0, arrayLength = untrustedConfig_childRelationships.length; i < arrayLength; i++) {
24641
24415
  const untrustedConfig_childRelationships_item = untrustedConfig_childRelationships[i];
@@ -24650,7 +24424,7 @@ function typeCheckConfig$T(untrustedConfig) {
24650
24424
  config.formFactor = untrustedConfig_formFactor;
24651
24425
  }
24652
24426
  const untrustedConfig_layoutTypes = untrustedConfig.layoutTypes;
24653
- if (ArrayIsArray$1$1(untrustedConfig_layoutTypes)) {
24427
+ if (ArrayIsArray$1(untrustedConfig_layoutTypes)) {
24654
24428
  const untrustedConfig_layoutTypes_array = [];
24655
24429
  for (let i = 0, arrayLength = untrustedConfig_layoutTypes.length; i < arrayLength; i++) {
24656
24430
  const untrustedConfig_layoutTypes_item = untrustedConfig_layoutTypes[i];
@@ -24661,7 +24435,7 @@ function typeCheckConfig$T(untrustedConfig) {
24661
24435
  config.layoutTypes = untrustedConfig_layoutTypes_array;
24662
24436
  }
24663
24437
  const untrustedConfig_modes = untrustedConfig.modes;
24664
- if (ArrayIsArray$1$1(untrustedConfig_modes)) {
24438
+ if (ArrayIsArray$1(untrustedConfig_modes)) {
24665
24439
  const untrustedConfig_modes_array = [];
24666
24440
  for (let i = 0, arrayLength = untrustedConfig_modes.length; i < arrayLength; i++) {
24667
24441
  const untrustedConfig_modes_item = untrustedConfig_modes[i];
@@ -24672,7 +24446,7 @@ function typeCheckConfig$T(untrustedConfig) {
24672
24446
  config.modes = untrustedConfig_modes_array;
24673
24447
  }
24674
24448
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
24675
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
24449
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
24676
24450
  const untrustedConfig_optionalFields_array = [];
24677
24451
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
24678
24452
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -26284,6 +26058,7 @@ function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
26284
26058
  node: select$1k(),
26285
26059
  variables: {},
26286
26060
  }, snapshotRefresh);
26061
+ deepFreeze(snapshot.data);
26287
26062
  return snapshot;
26288
26063
  }
26289
26064
  function ingestError$A(luvio, params, error, snapshotRefresh) {
@@ -26313,7 +26088,7 @@ function createResourceRequest$Q(config) {
26313
26088
  }
26314
26089
 
26315
26090
  function toSortedStringArrayAllowEmpty(value) {
26316
- const valueArray = isArray$8(value) ? value : [value];
26091
+ const valueArray = isArray$7(value) ? value : [value];
26317
26092
  if (valueArray.length === 0) {
26318
26093
  return valueArray;
26319
26094
  }
@@ -26381,7 +26156,7 @@ function keyBuilder$1v(luvio, config) {
26381
26156
  function typeCheckConfig$S(untrustedConfig) {
26382
26157
  const config = {};
26383
26158
  const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
26384
- if (ArrayIsArray$1$1(untrustedConfig_actionTypes)) {
26159
+ if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
26385
26160
  const untrustedConfig_actionTypes_array = [];
26386
26161
  for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
26387
26162
  const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
@@ -26392,7 +26167,7 @@ function typeCheckConfig$S(untrustedConfig) {
26392
26167
  config.actionTypes = untrustedConfig_actionTypes_array;
26393
26168
  }
26394
26169
  const untrustedConfig_apiNames = untrustedConfig.apiNames;
26395
- if (ArrayIsArray$1$1(untrustedConfig_apiNames)) {
26170
+ if (ArrayIsArray$1(untrustedConfig_apiNames)) {
26396
26171
  const untrustedConfig_apiNames_array = [];
26397
26172
  for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
26398
26173
  const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
@@ -26411,7 +26186,7 @@ function typeCheckConfig$S(untrustedConfig) {
26411
26186
  config.retrievalMode = untrustedConfig_retrievalMode;
26412
26187
  }
26413
26188
  const untrustedConfig_sections = untrustedConfig.sections;
26414
- if (ArrayIsArray$1$1(untrustedConfig_sections)) {
26189
+ if (ArrayIsArray$1(untrustedConfig_sections)) {
26415
26190
  const untrustedConfig_sections_array = [];
26416
26191
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
26417
26192
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
@@ -26543,11 +26318,6 @@ function equals$F(existing, incoming) {
26543
26318
  }
26544
26319
  return true;
26545
26320
  }
26546
- function deepFreeze$t(input) {
26547
- const input_layout = input.layout;
26548
- deepFreeze$w(input_layout);
26549
- ObjectFreeze$2(input);
26550
- }
26551
26321
  const ingest$t$1 = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
26552
26322
  const key = keyBuilderFromType$m(luvio, input);
26553
26323
  const existingRecord = store.readEntry(key);
@@ -26558,7 +26328,6 @@ const ingest$t$1 = function QuickActionLayoutRepresentationIngest(input, path, l
26558
26328
  propertyName: path.propertyName,
26559
26329
  ttl: ttlToUse
26560
26330
  });
26561
- deepFreeze$t(input);
26562
26331
  if (existingRecord === undefined || equals$F(existingRecord, incomingRecord) === false) {
26563
26332
  luvio.storePublish(key, incomingRecord);
26564
26333
  }
@@ -26605,6 +26374,7 @@ function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
26605
26374
  node: select$1i(),
26606
26375
  variables: {},
26607
26376
  }, snapshotRefresh);
26377
+ deepFreeze(snapshot.data);
26608
26378
  return snapshot;
26609
26379
  }
26610
26380
  function ingestError$z(luvio, params, error, snapshotRefresh) {
@@ -26757,6 +26527,7 @@ function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
26757
26527
  node: select$1h(),
26758
26528
  variables: {},
26759
26529
  }, snapshotRefresh);
26530
+ deepFreeze(snapshot.data);
26760
26531
  return snapshot;
26761
26532
  }
26762
26533
  function ingestError$y(luvio, params, error, snapshotRefresh) {
@@ -26791,7 +26562,7 @@ function createResourceRequest$O(config) {
26791
26562
  * @returns The object API name.
26792
26563
  */
26793
26564
  function getObjectApiNamesArray(value) {
26794
- const valueArray = isArray$8(value) ? value : [value];
26565
+ const valueArray = isArray$7(value) ? value : [value];
26795
26566
  const array = [];
26796
26567
  for (let i = 0, len = valueArray.length; i < len; i += 1) {
26797
26568
  const item = valueArray[i];
@@ -26863,7 +26634,7 @@ function keyBuilder$1q(luvio, config) {
26863
26634
  function typeCheckConfig$Q(untrustedConfig) {
26864
26635
  const config = {};
26865
26636
  const untrustedConfig_objectApiNames = untrustedConfig.objectApiNames;
26866
- if (ArrayIsArray$1$1(untrustedConfig_objectApiNames)) {
26637
+ if (ArrayIsArray$1(untrustedConfig_objectApiNames)) {
26867
26638
  const untrustedConfig_objectApiNames_array = [];
26868
26639
  for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
26869
26640
  const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
@@ -26874,7 +26645,7 @@ function typeCheckConfig$Q(untrustedConfig) {
26874
26645
  config.objectApiNames = untrustedConfig_objectApiNames_array;
26875
26646
  }
26876
26647
  const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
26877
- if (ArrayIsArray$1$1(untrustedConfig_actionTypes)) {
26648
+ if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
26878
26649
  const untrustedConfig_actionTypes_array = [];
26879
26650
  for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
26880
26651
  const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
@@ -26889,7 +26660,7 @@ function typeCheckConfig$Q(untrustedConfig) {
26889
26660
  config.formFactor = untrustedConfig_formFactor;
26890
26661
  }
26891
26662
  const untrustedConfig_sections = untrustedConfig.sections;
26892
- if (ArrayIsArray$1$1(untrustedConfig_sections)) {
26663
+ if (ArrayIsArray$1(untrustedConfig_sections)) {
26893
26664
  const untrustedConfig_sections_array = [];
26894
26665
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
26895
26666
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
@@ -26998,6 +26769,7 @@ function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
26998
26769
  node: select$1g(),
26999
26770
  variables: {},
27000
26771
  }, snapshotRefresh);
26772
+ deepFreeze(snapshot.data);
27001
26773
  return snapshot;
27002
26774
  }
27003
26775
  function ingestError$x(luvio, params, error, snapshotRefresh) {
@@ -27076,7 +26848,7 @@ function typeCheckConfig$P(untrustedConfig) {
27076
26848
  config.objectApiName = untrustedConfig_objectApiName;
27077
26849
  }
27078
26850
  const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
27079
- if (ArrayIsArray$1$1(untrustedConfig_actionTypes)) {
26851
+ if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
27080
26852
  const untrustedConfig_actionTypes_array = [];
27081
26853
  for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
27082
26854
  const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
@@ -27091,7 +26863,7 @@ function typeCheckConfig$P(untrustedConfig) {
27091
26863
  config.formFactor = untrustedConfig_formFactor;
27092
26864
  }
27093
26865
  const untrustedConfig_sections = untrustedConfig.sections;
27094
- if (ArrayIsArray$1$1(untrustedConfig_sections)) {
26866
+ if (ArrayIsArray$1(untrustedConfig_sections)) {
27095
26867
  const untrustedConfig_sections_array = [];
27096
26868
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
27097
26869
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
@@ -27201,11 +26973,6 @@ function equals$E(existing, incoming) {
27201
26973
  }
27202
26974
  return true;
27203
26975
  }
27204
- function deepFreeze$s(input) {
27205
- const input_records = input.records;
27206
- ObjectFreeze$2(input_records);
27207
- ObjectFreeze$2(input);
27208
- }
27209
26976
  const ingest$s$1 = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
27210
26977
  const key = path.fullPath;
27211
26978
  const existingRecord = store.readEntry(key);
@@ -27216,7 +26983,6 @@ const ingest$s$1 = function ActionOverrideRepresentationIngest(input, path, luvi
27216
26983
  propertyName: path.propertyName,
27217
26984
  ttl: ttlToUse
27218
26985
  });
27219
- deepFreeze$s(input);
27220
26986
  if (existingRecord === undefined || equals$E(existingRecord, incomingRecord) === false) {
27221
26987
  luvio.storePublish(key, incomingRecord);
27222
26988
  }
@@ -27261,6 +27027,7 @@ function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
27261
27027
  node: select$1e(),
27262
27028
  variables: {},
27263
27029
  }, snapshotRefresh);
27030
+ deepFreeze(snapshot.data);
27264
27031
  return snapshot;
27265
27032
  }
27266
27033
  function ingestError$w(luvio, params, error, snapshotRefresh) {
@@ -27712,7 +27479,7 @@ function typeCheckConfig$N(untrustedConfig) {
27712
27479
  config.actionApiName = untrustedConfig_actionApiName;
27713
27480
  }
27714
27481
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
27715
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
27482
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
27716
27483
  const untrustedConfig_optionalFields_array = [];
27717
27484
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
27718
27485
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -27815,6 +27582,7 @@ function ingestSuccess$y(luvio, resourceParams, response, snapshotRefresh) {
27815
27582
  node: select$1d(),
27816
27583
  variables: {},
27817
27584
  }, snapshotRefresh);
27585
+ deepFreeze(snapshot.data);
27818
27586
  return snapshot;
27819
27587
  }
27820
27588
  function ingestError$u(luvio, params, error, snapshotRefresh) {
@@ -27897,7 +27665,7 @@ function keyBuilder$1h(luvio, config) {
27897
27665
  function typeCheckConfig$M(untrustedConfig) {
27898
27666
  const config = {};
27899
27667
  const untrustedConfig_recordIds = untrustedConfig.recordIds;
27900
- if (ArrayIsArray$1$1(untrustedConfig_recordIds)) {
27668
+ if (ArrayIsArray$1(untrustedConfig_recordIds)) {
27901
27669
  const untrustedConfig_recordIds_array = [];
27902
27670
  for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
27903
27671
  const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
@@ -27908,7 +27676,7 @@ function typeCheckConfig$M(untrustedConfig) {
27908
27676
  config.recordIds = untrustedConfig_recordIds_array;
27909
27677
  }
27910
27678
  const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
27911
- if (ArrayIsArray$1$1(untrustedConfig_actionTypes)) {
27679
+ if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
27912
27680
  const untrustedConfig_actionTypes_array = [];
27913
27681
  for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
27914
27682
  const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
@@ -27919,7 +27687,7 @@ function typeCheckConfig$M(untrustedConfig) {
27919
27687
  config.actionTypes = untrustedConfig_actionTypes_array;
27920
27688
  }
27921
27689
  const untrustedConfig_apiNames = untrustedConfig.apiNames;
27922
- if (ArrayIsArray$1$1(untrustedConfig_apiNames)) {
27690
+ if (ArrayIsArray$1(untrustedConfig_apiNames)) {
27923
27691
  const untrustedConfig_apiNames_array = [];
27924
27692
  for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
27925
27693
  const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
@@ -27938,7 +27706,7 @@ function typeCheckConfig$M(untrustedConfig) {
27938
27706
  config.retrievalMode = untrustedConfig_retrievalMode;
27939
27707
  }
27940
27708
  const untrustedConfig_sections = untrustedConfig.sections;
27941
- if (ArrayIsArray$1$1(untrustedConfig_sections)) {
27709
+ if (ArrayIsArray$1(untrustedConfig_sections)) {
27942
27710
  const untrustedConfig_sections_array = [];
27943
27711
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
27944
27712
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
@@ -28051,6 +27819,7 @@ function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
28051
27819
  node: select$1c(),
28052
27820
  variables: {},
28053
27821
  }, snapshotRefresh);
27822
+ deepFreeze(snapshot.data);
28054
27823
  return snapshot;
28055
27824
  }
28056
27825
  function ingestError$t(luvio, params, error, snapshotRefresh) {
@@ -28125,7 +27894,7 @@ function keyBuilder$1f(luvio, config) {
28125
27894
  function typeCheckConfig$L(untrustedConfig) {
28126
27895
  const config = {};
28127
27896
  const untrustedConfig_recordIds = untrustedConfig.recordIds;
28128
- if (ArrayIsArray$1$1(untrustedConfig_recordIds)) {
27897
+ if (ArrayIsArray$1(untrustedConfig_recordIds)) {
28129
27898
  const untrustedConfig_recordIds_array = [];
28130
27899
  for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
28131
27900
  const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
@@ -28136,7 +27905,7 @@ function typeCheckConfig$L(untrustedConfig) {
28136
27905
  config.recordIds = untrustedConfig_recordIds_array;
28137
27906
  }
28138
27907
  const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
28139
- if (ArrayIsArray$1$1(untrustedConfig_actionTypes)) {
27908
+ if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
28140
27909
  const untrustedConfig_actionTypes_array = [];
28141
27910
  for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
28142
27911
  const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
@@ -28151,7 +27920,7 @@ function typeCheckConfig$L(untrustedConfig) {
28151
27920
  config.formFactor = untrustedConfig_formFactor;
28152
27921
  }
28153
27922
  const untrustedConfig_sections = untrustedConfig.sections;
28154
- if (ArrayIsArray$1$1(untrustedConfig_sections)) {
27923
+ if (ArrayIsArray$1(untrustedConfig_sections)) {
28155
27924
  const untrustedConfig_sections_array = [];
28156
27925
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
28157
27926
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
@@ -28330,6 +28099,7 @@ function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
28330
28099
  node: select$1b(),
28331
28100
  variables: {},
28332
28101
  }, snapshotRefresh);
28102
+ deepFreeze(snapshot.data);
28333
28103
  return snapshot;
28334
28104
  }
28335
28105
  function ingestError$s(luvio, params, error, snapshotRefresh) {
@@ -28445,12 +28215,11 @@ function select$1a(luvio, resourceParams) {
28445
28215
  reader.markStale();
28446
28216
  break;
28447
28217
  }
28448
- ObjectFreeze$1$1(childSink);
28449
28218
  ArrayPrototypePush$1.call(results, childSink);
28450
28219
  reader.exitPath();
28451
28220
  }
28452
28221
  reader.assignNonScalar(sink, envelopePath, results);
28453
- ObjectFreeze$1$1(sink);
28222
+ deepFreeze(sink);
28454
28223
  reader.exitPath();
28455
28224
  return sink;
28456
28225
  },
@@ -28495,7 +28264,6 @@ function ingestSuccess$v(luvio, resourceParams, response, _snapshotRefresh) {
28495
28264
  statusCode: childStatusCode,
28496
28265
  result: childSnapshot.data,
28497
28266
  };
28498
- ObjectFreeze$1$1(childValue);
28499
28267
  childSnapshotDataResponses.push(childValue);
28500
28268
  }
28501
28269
  else {
@@ -28514,15 +28282,13 @@ function ingestSuccess$v(luvio, resourceParams, response, _snapshotRefresh) {
28514
28282
  statusCode: childStatusCode,
28515
28283
  result: childBody,
28516
28284
  };
28517
- ObjectFreeze$1$1(childValue);
28518
28285
  childSnapshotDataResponses.push(childValue);
28519
28286
  }
28520
28287
  }
28521
- ObjectFreeze$1$1(childSnapshotDataResponses);
28522
28288
  const childSnapshotData = {
28523
28289
  results: childSnapshotDataResponses,
28524
28290
  };
28525
- ObjectFreeze$1$1(childSnapshotData);
28291
+ deepFreeze(childSnapshotData);
28526
28292
  return {
28527
28293
  recordId: key,
28528
28294
  data: childSnapshotData,
@@ -28618,7 +28384,7 @@ function keyBuilder$1c(luvio, config) {
28618
28384
  function typeCheckConfig$K(untrustedConfig) {
28619
28385
  const config = {};
28620
28386
  const untrustedConfig_recordIds = untrustedConfig.recordIds;
28621
- if (ArrayIsArray$1$1(untrustedConfig_recordIds)) {
28387
+ if (ArrayIsArray$1(untrustedConfig_recordIds)) {
28622
28388
  const untrustedConfig_recordIds_array = [];
28623
28389
  for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
28624
28390
  const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
@@ -28629,7 +28395,7 @@ function typeCheckConfig$K(untrustedConfig) {
28629
28395
  config.recordIds = untrustedConfig_recordIds_array;
28630
28396
  }
28631
28397
  const untrustedConfig_relatedListsActionParameters = untrustedConfig.relatedListsActionParameters;
28632
- if (ArrayIsArray$1$1(untrustedConfig_relatedListsActionParameters)) {
28398
+ if (ArrayIsArray$1(untrustedConfig_relatedListsActionParameters)) {
28633
28399
  const untrustedConfig_relatedListsActionParameters_array = [];
28634
28400
  for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
28635
28401
  const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
@@ -28789,7 +28555,7 @@ function keyBuilder$1b(luvio, config) {
28789
28555
  function typeCheckConfig$J(untrustedConfig) {
28790
28556
  const config = {};
28791
28557
  const untrustedConfig_recordIds = untrustedConfig.recordIds;
28792
- if (ArrayIsArray$1$1(untrustedConfig_recordIds)) {
28558
+ if (ArrayIsArray$1(untrustedConfig_recordIds)) {
28793
28559
  const untrustedConfig_recordIds_array = [];
28794
28560
  for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
28795
28561
  const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
@@ -28804,7 +28570,7 @@ function typeCheckConfig$J(untrustedConfig) {
28804
28570
  config.relatedListId = untrustedConfig_relatedListId;
28805
28571
  }
28806
28572
  const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
28807
- if (ArrayIsArray$1$1(untrustedConfig_actionTypes)) {
28573
+ if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
28808
28574
  const untrustedConfig_actionTypes_array = [];
28809
28575
  for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
28810
28576
  const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
@@ -28815,7 +28581,7 @@ function typeCheckConfig$J(untrustedConfig) {
28815
28581
  config.actionTypes = untrustedConfig_actionTypes_array;
28816
28582
  }
28817
28583
  const untrustedConfig_apiNames = untrustedConfig.apiNames;
28818
- if (ArrayIsArray$1$1(untrustedConfig_apiNames)) {
28584
+ if (ArrayIsArray$1(untrustedConfig_apiNames)) {
28819
28585
  const untrustedConfig_apiNames_array = [];
28820
28586
  for (let i = 0, arrayLength = untrustedConfig_apiNames.length; i < arrayLength; i++) {
28821
28587
  const untrustedConfig_apiNames_item = untrustedConfig_apiNames[i];
@@ -28834,7 +28600,7 @@ function typeCheckConfig$J(untrustedConfig) {
28834
28600
  config.retrievalMode = untrustedConfig_retrievalMode;
28835
28601
  }
28836
28602
  const untrustedConfig_sections = untrustedConfig.sections;
28837
- if (ArrayIsArray$1$1(untrustedConfig_sections)) {
28603
+ if (ArrayIsArray$1(untrustedConfig_sections)) {
28838
28604
  const untrustedConfig_sections_array = [];
28839
28605
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
28840
28606
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
@@ -28943,6 +28709,7 @@ function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
28943
28709
  node: select$19(),
28944
28710
  variables: {},
28945
28711
  }, snapshotRefresh);
28712
+ deepFreeze(snapshot.data);
28946
28713
  return snapshot;
28947
28714
  }
28948
28715
  function ingestError$q(luvio, params, error, snapshotRefresh) {
@@ -29021,7 +28788,7 @@ function keyBuilder$19(luvio, config) {
29021
28788
  function typeCheckConfig$I(untrustedConfig) {
29022
28789
  const config = {};
29023
28790
  const untrustedConfig_recordIds = untrustedConfig.recordIds;
29024
- if (ArrayIsArray$1$1(untrustedConfig_recordIds)) {
28791
+ if (ArrayIsArray$1(untrustedConfig_recordIds)) {
29025
28792
  const untrustedConfig_recordIds_array = [];
29026
28793
  for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
29027
28794
  const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
@@ -29032,7 +28799,7 @@ function typeCheckConfig$I(untrustedConfig) {
29032
28799
  config.recordIds = untrustedConfig_recordIds_array;
29033
28800
  }
29034
28801
  const untrustedConfig_relatedListRecordIds = untrustedConfig.relatedListRecordIds;
29035
- if (ArrayIsArray$1$1(untrustedConfig_relatedListRecordIds)) {
28802
+ if (ArrayIsArray$1(untrustedConfig_relatedListRecordIds)) {
29036
28803
  const untrustedConfig_relatedListRecordIds_array = [];
29037
28804
  for (let i = 0, arrayLength = untrustedConfig_relatedListRecordIds.length; i < arrayLength; i++) {
29038
28805
  const untrustedConfig_relatedListRecordIds_item = untrustedConfig_relatedListRecordIds[i];
@@ -29043,7 +28810,7 @@ function typeCheckConfig$I(untrustedConfig) {
29043
28810
  config.relatedListRecordIds = untrustedConfig_relatedListRecordIds_array;
29044
28811
  }
29045
28812
  const untrustedConfig_actionTypes = untrustedConfig.actionTypes;
29046
- if (ArrayIsArray$1$1(untrustedConfig_actionTypes)) {
28813
+ if (ArrayIsArray$1(untrustedConfig_actionTypes)) {
29047
28814
  const untrustedConfig_actionTypes_array = [];
29048
28815
  for (let i = 0, arrayLength = untrustedConfig_actionTypes.length; i < arrayLength; i++) {
29049
28816
  const untrustedConfig_actionTypes_item = untrustedConfig_actionTypes[i];
@@ -29058,7 +28825,7 @@ function typeCheckConfig$I(untrustedConfig) {
29058
28825
  config.formFactor = untrustedConfig_formFactor;
29059
28826
  }
29060
28827
  const untrustedConfig_sections = untrustedConfig.sections;
29061
- if (ArrayIsArray$1$1(untrustedConfig_sections)) {
28828
+ if (ArrayIsArray$1(untrustedConfig_sections)) {
29062
28829
  const untrustedConfig_sections_array = [];
29063
28830
  for (let i = 0, arrayLength = untrustedConfig_sections.length; i < arrayLength; i++) {
29064
28831
  const untrustedConfig_sections_item = untrustedConfig_sections[i];
@@ -29168,27 +28935,6 @@ function equals$C(existing, incoming) {
29168
28935
  }
29169
28936
  return true;
29170
28937
  }
29171
- function deepFreeze$r(input) {
29172
- const input_attributes = input.attributes;
29173
- const input_attributes_keys = Object.keys(input_attributes);
29174
- const input_attributes_length = input_attributes_keys.length;
29175
- for (let i = 0; i < input_attributes_length; i++) {
29176
- const key = input_attributes_keys[i];
29177
- const input_attributes_prop = input_attributes[key];
29178
- deepFreeze$P(input_attributes_prop);
29179
- }
29180
- ObjectFreeze$2(input_attributes);
29181
- const input_state = input.state;
29182
- const input_state_keys = Object.keys(input_state);
29183
- const input_state_length = input_state_keys.length;
29184
- for (let i = 0; i < input_state_length; i++) {
29185
- const key = input_state_keys[i];
29186
- const input_state_prop = input_state[key];
29187
- ObjectFreeze$2(input_state_prop);
29188
- }
29189
- ObjectFreeze$2(input_state);
29190
- ObjectFreeze$2(input);
29191
- }
29192
28938
  const ingest$r$1 = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
29193
28939
  const key = path.fullPath;
29194
28940
  const existingRecord = store.readEntry(key);
@@ -29199,7 +28945,6 @@ const ingest$r$1 = function PageReferenceRepresentationIngest(input, path, luvio
29199
28945
  propertyName: path.propertyName,
29200
28946
  ttl: ttlToUse
29201
28947
  });
29202
- deepFreeze$r(input);
29203
28948
  if (existingRecord === undefined || equals$C(existingRecord, incomingRecord) === false) {
29204
28949
  luvio.storePublish(key, incomingRecord);
29205
28950
  }
@@ -29847,6 +29592,7 @@ function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
29847
29592
  node: select$14(),
29848
29593
  variables: {},
29849
29594
  }, snapshotRefresh);
29595
+ deepFreeze(snapshot.data);
29850
29596
  return snapshot;
29851
29597
  }
29852
29598
  function ingestError$p(luvio, params, error, snapshotRefresh) {
@@ -30018,6 +29764,7 @@ function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
30018
29764
  node: select$13(),
30019
29765
  variables: {},
30020
29766
  }, snapshotRefresh);
29767
+ deepFreeze(snapshot.data);
30021
29768
  return snapshot;
30022
29769
  }
30023
29770
  function ingestError$o(luvio, params, error, snapshotRefresh) {
@@ -30421,6 +30168,7 @@ function ingestSuccess$r(luvio, resourceParams, response, snapshotRefresh) {
30421
30168
  node: select$Z(),
30422
30169
  variables: {},
30423
30170
  }, snapshotRefresh);
30171
+ deepFreeze(snapshot.data);
30424
30172
  return snapshot;
30425
30173
  }
30426
30174
  function ingestError$n(luvio, params, error, snapshotRefresh) {
@@ -31051,6 +30799,7 @@ function ingestSuccess$q(luvio, resourceParams, response, snapshotRefresh) {
31051
30799
  node: select$Y(),
31052
30800
  variables: {},
31053
30801
  }, snapshotRefresh);
30802
+ deepFreeze(snapshot.data);
31054
30803
  return snapshot;
31055
30804
  }
31056
30805
  function ingestError$l(luvio, params, error, snapshotRefresh) {
@@ -31206,12 +30955,11 @@ function selectChildResourceParams$5(luvio, childResources, resourceParams) {
31206
30955
  reader.markPending();
31207
30956
  break;
31208
30957
  }
31209
- ObjectFreeze$1$1(childSink);
31210
30958
  ArrayPrototypePush$1.call(results, childSink);
31211
30959
  reader.exitPath();
31212
30960
  }
31213
30961
  reader.assignNonScalar(sink, envelopePath, results);
31214
- ObjectFreeze$1$1(sink);
30962
+ deepFreeze(sink);
31215
30963
  reader.exitPath();
31216
30964
  return sink;
31217
30965
  },
@@ -31283,7 +31031,6 @@ function ingestSuccessChildResourceParams$4(luvio, childResourceParamsArray, chi
31283
31031
  statusCode: 200,
31284
31032
  result: childSnapshot.data,
31285
31033
  };
31286
- ObjectFreeze$1$1(childValue);
31287
31034
  ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
31288
31035
  }
31289
31036
  else {
@@ -31302,7 +31049,6 @@ function ingestSuccessChildResourceParams$4(luvio, childResourceParamsArray, chi
31302
31049
  statusCode: childStatusCode,
31303
31050
  result: childBody,
31304
31051
  };
31305
- ObjectFreeze$1$1(childValue);
31306
31052
  ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
31307
31053
  }
31308
31054
  // track non-cached responses so rebuilds work properly
@@ -31317,11 +31063,11 @@ function ingestSuccessChildResourceParams$4(luvio, childResourceParamsArray, chi
31317
31063
  delete nonCachedErrors$5[childKey];
31318
31064
  }
31319
31065
  }
31320
- ObjectFreeze$1$1(childSnapshotDataResponses);
31321
31066
  const childSnapshotData = {
31322
31067
  results: childSnapshotDataResponses,
31323
31068
  };
31324
- return { childSnapshotData: ObjectFreeze$1$1(childSnapshotData), seenRecords, snapshotState };
31069
+ deepFreeze(childSnapshotData);
31070
+ return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
31325
31071
  }
31326
31072
  function ingestSuccess$p(luvio, resourceParams, response, snapshotRefresh) {
31327
31073
  const childEnvelopes = response.body.results;
@@ -31387,7 +31133,7 @@ function keyBuilder$Z(luvio, config) {
31387
31133
  function typeCheckConfig$C(untrustedConfig) {
31388
31134
  const config = {};
31389
31135
  const untrustedConfig_ids = untrustedConfig.ids;
31390
- if (ArrayIsArray$1$1(untrustedConfig_ids)) {
31136
+ if (ArrayIsArray$1(untrustedConfig_ids)) {
31391
31137
  const untrustedConfig_ids_array = [];
31392
31138
  for (let i = 0, arrayLength = untrustedConfig_ids.length; i < arrayLength; i++) {
31393
31139
  const untrustedConfig_ids_item = untrustedConfig_ids[i];
@@ -31398,7 +31144,7 @@ function typeCheckConfig$C(untrustedConfig) {
31398
31144
  config.ids = untrustedConfig_ids_array;
31399
31145
  }
31400
31146
  const untrustedConfig_names = untrustedConfig.names;
31401
- if (ArrayIsArray$1$1(untrustedConfig_names)) {
31147
+ if (ArrayIsArray$1(untrustedConfig_names)) {
31402
31148
  const untrustedConfig_names_array = [];
31403
31149
  for (let i = 0, arrayLength = untrustedConfig_names.length; i < arrayLength; i++) {
31404
31150
  const untrustedConfig_names_item = untrustedConfig_names[i];
@@ -31728,6 +31474,7 @@ function ingestSuccess$o(luvio, resourceParams, response, snapshotRefresh) {
31728
31474
  node: select$V(),
31729
31475
  variables: {},
31730
31476
  }, snapshotRefresh);
31477
+ deepFreeze(snapshot.data);
31731
31478
  return snapshot;
31732
31479
  }
31733
31480
  function ingestError$j(luvio, params, error, snapshotRefresh) {
@@ -31803,7 +31550,7 @@ function typeCheckConfig$A(untrustedConfig) {
31803
31550
  config.formFactor = untrustedConfig_formFactor;
31804
31551
  }
31805
31552
  const untrustedConfig_navItemNames = untrustedConfig.navItemNames;
31806
- if (ArrayIsArray$1$1(untrustedConfig_navItemNames)) {
31553
+ if (ArrayIsArray$1(untrustedConfig_navItemNames)) {
31807
31554
  const untrustedConfig_navItemNames_array = [];
31808
31555
  for (let i = 0, arrayLength = untrustedConfig_navItemNames.length; i < arrayLength; i++) {
31809
31556
  const untrustedConfig_navItemNames_item = untrustedConfig_navItemNames[i];
@@ -32011,12 +31758,10 @@ function selectChildResourceParams$4(luvio, childResources, resourceParams) {
32011
31758
  reader.markPending();
32012
31759
  break;
32013
31760
  }
32014
- ObjectFreeze$1$1(childSink);
32015
31761
  ArrayPrototypePush$1.call(results, childSink);
32016
31762
  reader.exitPath();
32017
31763
  }
32018
31764
  reader.assignNonScalar(sink, envelopePath, results);
32019
- ObjectFreeze$1$1(sink);
32020
31765
  reader.exitPath();
32021
31766
  return sink;
32022
31767
  }
@@ -32081,7 +31826,7 @@ function ingestSuccessChildResourceParams$3(luvio, childResourceParamsArray, chi
32081
31826
  statusCode: 200,
32082
31827
  result: childSnapshot.data,
32083
31828
  };
32084
- ObjectFreeze$1$1(childValue);
31829
+ deepFreeze(childValue);
32085
31830
  ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
32086
31831
  }
32087
31832
  else {
@@ -32100,7 +31845,7 @@ function ingestSuccessChildResourceParams$3(luvio, childResourceParamsArray, chi
32100
31845
  statusCode: childStatusCode,
32101
31846
  result: childBody,
32102
31847
  };
32103
- ObjectFreeze$1$1(childValue);
31848
+ deepFreeze(childValue);
32104
31849
  ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
32105
31850
  }
32106
31851
  // track non-cached responses so rebuilds work properly
@@ -32111,11 +31856,11 @@ function ingestSuccessChildResourceParams$3(luvio, childResourceParamsArray, chi
32111
31856
  delete nonCachedErrors$4[childKey];
32112
31857
  }
32113
31858
  }
32114
- ObjectFreeze$1$1(childSnapshotDataResponses);
32115
31859
  const childSnapshotData = {
32116
31860
  results: childSnapshotDataResponses
32117
31861
  };
32118
- return { childSnapshotData: ObjectFreeze$1$1(childSnapshotData), seenRecords, snapshotState };
31862
+ deepFreeze(childSnapshotData);
31863
+ return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
32119
31864
  }
32120
31865
  function ingestSuccess$n(luvio, resourceParams, response, snapshotRefresh) {
32121
31866
  const childEnvelopes = response.body.results;
@@ -32190,7 +31935,7 @@ function keyBuilder$U(luvio, config) {
32190
31935
  function typeCheckConfig$z(untrustedConfig) {
32191
31936
  const config = {};
32192
31937
  const untrustedConfig_objectApiNames = untrustedConfig.objectApiNames;
32193
- if (ArrayIsArray$1$1(untrustedConfig_objectApiNames)) {
31938
+ if (ArrayIsArray$1(untrustedConfig_objectApiNames)) {
32194
31939
  const untrustedConfig_objectApiNames_array = [];
32195
31940
  for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
32196
31941
  const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
@@ -32625,6 +32370,7 @@ function ingestSuccess$m(luvio, resourceParams, response, snapshotRefresh) {
32625
32370
  node: select$M$1(),
32626
32371
  variables: {},
32627
32372
  }, snapshotRefresh);
32373
+ deepFreeze(snapshot.data);
32628
32374
  return snapshot;
32629
32375
  }
32630
32376
  function ingestError$h(luvio, params, error, snapshotRefresh) {
@@ -32962,30 +32708,6 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
32962
32708
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
32963
32709
  buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$m);
32964
32710
  };
32965
- function deepFreeze$q(input) {
32966
- const input_recordIds = input.recordIds;
32967
- ObjectFreeze$2(input_recordIds);
32968
- ObjectFreeze$2(input);
32969
- }
32970
- function deepFreeze$p(input) {
32971
- const input_matchResultInfo = input.matchResultInfo;
32972
- deepFreeze$q(input_matchResultInfo);
32973
- ObjectFreeze$2(input);
32974
- }
32975
- function deepFreeze$o(input) {
32976
- const input_duplicateResultInfos = input.duplicateResultInfos;
32977
- const input_duplicateResultInfos_keys = Object.keys(input_duplicateResultInfos);
32978
- const input_duplicateResultInfos_length = input_duplicateResultInfos_keys.length;
32979
- for (let i = 0; i < input_duplicateResultInfos_length; i++) {
32980
- const key = input_duplicateResultInfos_keys[i];
32981
- const input_duplicateResultInfos_prop = input_duplicateResultInfos[key];
32982
- deepFreeze$p(input_duplicateResultInfos_prop);
32983
- }
32984
- ObjectFreeze$2(input_duplicateResultInfos);
32985
- const input_recordIds = input.recordIds;
32986
- ObjectFreeze$2(input_recordIds);
32987
- ObjectFreeze$2(input);
32988
- }
32989
32711
 
32990
32712
  const TTL$f = 30000;
32991
32713
  const VERSION$x$1 = "583c38564fa15ce0fb3dd2807be1bdc6";
@@ -33007,17 +32729,6 @@ function equals$u(existing, incoming) {
33007
32729
  }
33008
32730
  return true;
33009
32731
  }
33010
- function deepFreeze$n(input) {
33011
- const input_duplicateRules = input.duplicateRules;
33012
- ObjectFreeze$2(input_duplicateRules);
33013
- const input_matches = input.matches;
33014
- for (let i = 0; i < input_matches.length; i++) {
33015
- const input_matches_item = input_matches[i];
33016
- deepFreeze$o(input_matches_item);
33017
- }
33018
- ObjectFreeze$2(input_matches);
33019
- ObjectFreeze$2(input);
33020
- }
33021
32732
  const ingest$j$1 = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
33022
32733
  const key = path.fullPath;
33023
32734
  const existingRecord = store.readEntry(key);
@@ -33028,7 +32739,6 @@ const ingest$j$1 = function DuplicatesRepresentationIngest(input, path, luvio, s
33028
32739
  propertyName: path.propertyName,
33029
32740
  ttl: ttlToUse
33030
32741
  });
33031
- deepFreeze$n(input);
33032
32742
  if (existingRecord === undefined || equals$u(existingRecord, incomingRecord) === false) {
33033
32743
  luvio.storePublish(key, incomingRecord);
33034
32744
  }
@@ -33073,6 +32783,7 @@ function ingestSuccess$l(luvio, resourceParams, response, snapshotRefresh) {
33073
32783
  node: select$K$1(),
33074
32784
  variables: {},
33075
32785
  }, snapshotRefresh);
32786
+ deepFreeze(snapshot.data);
33076
32787
  return snapshot;
33077
32788
  }
33078
32789
  function ingestError$g(luvio, params, error, snapshotRefresh) {
@@ -34229,7 +33940,7 @@ function coerceConfig$c(config) {
34229
33940
  function typeCheckConfig$v(untrustedConfig) {
34230
33941
  const config = {};
34231
33942
  const untrustedConfig_recordIds = untrustedConfig.recordIds;
34232
- if (ArrayIsArray$1$1(untrustedConfig_recordIds)) {
33943
+ if (ArrayIsArray$1(untrustedConfig_recordIds)) {
34233
33944
  const untrustedConfig_recordIds_array = [];
34234
33945
  for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
34235
33946
  const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
@@ -34281,7 +33992,7 @@ const getRecordAvatarsAdapterFactory = (luvio) => function UiApi__getRecordAvata
34281
33992
  };
34282
33993
 
34283
33994
  function coerceRecordId18Array(value) {
34284
- const valueArray = ArrayIsArray$1$1(value) ? value : [value];
33995
+ const valueArray = ArrayIsArray$1(value) ? value : [value];
34285
33996
  const ret = [];
34286
33997
  for (let i = 0, len = valueArray.length; i < len; i += 1) {
34287
33998
  const item = valueArray[i];
@@ -34324,14 +34035,14 @@ function typeCheckConfig$u(untrustedConfig) {
34324
34035
  const coercedConfig = coerceConfig$b(untrustedConfig);
34325
34036
  const config = {};
34326
34037
  const untrustedConfigs_records = coercedConfig.records;
34327
- if (ArrayIsArray$1$1(untrustedConfigs_records)) {
34038
+ if (ArrayIsArray$1(untrustedConfigs_records)) {
34328
34039
  const records = [];
34329
34040
  for (let index = 0, len = untrustedConfigs_records.length; index < len; index += 1) {
34330
34041
  const output_recordEntityConfig = {};
34331
34042
  const untrustedConfig_recordEntity = untrustedConfigs_records[index];
34332
34043
  if (untrustedIsObject$2(untrustedConfig_recordEntity)) {
34333
34044
  const { recordIds: untrustedConfig_recordIds, fields: untrustedConfig_fields, optionalFields: untrustedConfig_optionalFields, } = untrustedConfig_recordEntity;
34334
- if (ArrayIsArray$1$1(untrustedConfig_recordIds)) {
34045
+ if (ArrayIsArray$1(untrustedConfig_recordIds)) {
34335
34046
  const untrustedConfig_recordIds_array = [];
34336
34047
  for (let i = 0, arrayLength = untrustedConfig_recordIds.length; i < arrayLength; i++) {
34337
34048
  const untrustedConfig_recordIds_item = untrustedConfig_recordIds[i];
@@ -34345,7 +34056,7 @@ function typeCheckConfig$u(untrustedConfig) {
34345
34056
  output_recordEntityConfig.recordIds.length === 0) {
34346
34057
  continue;
34347
34058
  }
34348
- if (ArrayIsArray$1$1(untrustedConfig_fields)) {
34059
+ if (ArrayIsArray$1(untrustedConfig_fields)) {
34349
34060
  const untrustedConfig_fields_array = [];
34350
34061
  for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
34351
34062
  const untrustedConfig_fields_item = untrustedConfig_fields[i];
@@ -34355,7 +34066,7 @@ function typeCheckConfig$u(untrustedConfig) {
34355
34066
  }
34356
34067
  output_recordEntityConfig.fields = untrustedConfig_fields_array;
34357
34068
  }
34358
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
34069
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
34359
34070
  const untrustedConfig_optionalFields_array = [];
34360
34071
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
34361
34072
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -34544,9 +34255,6 @@ function equals$j(existing, incoming) {
34544
34255
  }
34545
34256
  return true;
34546
34257
  }
34547
- function deepFreeze$m(input) {
34548
- ObjectFreeze$2(input);
34549
- }
34550
34258
 
34551
34259
  const VERSION$l$1 = "836b875b519813e7499efc62f0f1d04b";
34552
34260
  const RepresentationType$h = 'RelatedListRecordCountRepresentation';
@@ -34668,6 +34376,7 @@ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
34668
34376
  node: select$y$1(),
34669
34377
  variables: {},
34670
34378
  }, snapshotRefresh);
34379
+ deepFreeze(snapshot.data);
34671
34380
  return snapshot;
34672
34381
  }
34673
34382
  function ingestError$e(luvio, params, error, snapshotRefresh) {
@@ -34803,12 +34512,10 @@ function selectChildResourceParams$3(luvio, childResources, resourceParams) {
34803
34512
  reader.markPending();
34804
34513
  break;
34805
34514
  }
34806
- ObjectFreeze$1$1(childSink);
34807
34515
  ArrayPrototypePush$1.call(results, childSink);
34808
34516
  reader.exitPath();
34809
34517
  }
34810
34518
  reader.assignNonScalar(sink, envelopePath, results);
34811
- ObjectFreeze$1$1(sink);
34812
34519
  reader.exitPath();
34813
34520
  return sink;
34814
34521
  }
@@ -34872,7 +34579,7 @@ function ingestSuccessChildResourceParams$2(luvio, childResourceParamsArray, chi
34872
34579
  statusCode: 200,
34873
34580
  result: childSnapshot.data,
34874
34581
  };
34875
- ObjectFreeze$1$1(childValue);
34582
+ deepFreeze(childValue);
34876
34583
  ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
34877
34584
  }
34878
34585
  else {
@@ -34891,7 +34598,7 @@ function ingestSuccessChildResourceParams$2(luvio, childResourceParamsArray, chi
34891
34598
  statusCode: childStatusCode,
34892
34599
  result: childBody,
34893
34600
  };
34894
- ObjectFreeze$1$1(childValue);
34601
+ deepFreeze(childValue);
34895
34602
  ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
34896
34603
  }
34897
34604
  // track non-cached responses so rebuilds work properly
@@ -34902,11 +34609,11 @@ function ingestSuccessChildResourceParams$2(luvio, childResourceParamsArray, chi
34902
34609
  delete nonCachedErrors$3[childKey];
34903
34610
  }
34904
34611
  }
34905
- ObjectFreeze$1$1(childSnapshotDataResponses);
34906
34612
  const childSnapshotData = {
34907
34613
  results: childSnapshotDataResponses
34908
34614
  };
34909
- return { childSnapshotData: ObjectFreeze$1$1(childSnapshotData), seenRecords, snapshotState };
34615
+ deepFreeze(childSnapshotData);
34616
+ return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
34910
34617
  }
34911
34618
  function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
34912
34619
  const childEnvelopes = response.body.results;
@@ -34996,7 +34703,7 @@ function typeCheckConfig$t(untrustedConfig) {
34996
34703
  config.parentRecordId = untrustedConfig_parentRecordId;
34997
34704
  }
34998
34705
  const untrustedConfig_relatedListNames = untrustedConfig.relatedListNames;
34999
- if (ArrayIsArray$1$1(untrustedConfig_relatedListNames)) {
34706
+ if (ArrayIsArray$1(untrustedConfig_relatedListNames)) {
35000
34707
  const untrustedConfig_relatedListNames_array = [];
35001
34708
  for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
35002
34709
  const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
@@ -35207,20 +34914,6 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
35207
34914
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
35208
34915
  buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$h);
35209
34916
  };
35210
- function deepFreeze$l(input) {
35211
- const input_picklistValues = input.picklistValues;
35212
- for (let i = 0; i < input_picklistValues.length; i++) {
35213
- const input_picklistValues_item = input_picklistValues[i];
35214
- const input_picklistValues_item_keys = Object.keys(input_picklistValues_item);
35215
- const input_picklistValues_item_length = input_picklistValues_item_keys.length;
35216
- for (let i = 0; i < input_picklistValues_item_length; i++) {
35217
- input_picklistValues_item_keys[i];
35218
- }
35219
- ObjectFreeze$2(input_picklistValues_item);
35220
- }
35221
- ObjectFreeze$2(input_picklistValues);
35222
- ObjectFreeze$2(input);
35223
- }
35224
34917
 
35225
34918
  const TTL$c = 900000;
35226
34919
  const VERSION$k$1 = "c977d65d153a2b4e888ddd45fb083248";
@@ -35343,37 +35036,6 @@ function equals$h(existing, incoming) {
35343
35036
  }
35344
35037
  return true;
35345
35038
  }
35346
- function deepFreeze$k(input) {
35347
- const input_displayColumns = input.displayColumns;
35348
- for (let i = 0; i < input_displayColumns.length; i++) {
35349
- const input_displayColumns_item = input_displayColumns[i];
35350
- deepFreeze$l(input_displayColumns_item);
35351
- }
35352
- ObjectFreeze$2(input_displayColumns);
35353
- const input_fields = input.fields;
35354
- ObjectFreeze$2(input_fields);
35355
- const input_filteredByInfo = input.filteredByInfo;
35356
- for (let i = 0; i < input_filteredByInfo.length; i++) {
35357
- const input_filteredByInfo_item = input_filteredByInfo[i];
35358
- deepFreeze$O(input_filteredByInfo_item);
35359
- }
35360
- ObjectFreeze$2(input_filteredByInfo);
35361
- const input_listReference = input.listReference;
35362
- deepFreeze$m(input_listReference);
35363
- const input_objectApiNames = input.objectApiNames;
35364
- ObjectFreeze$2(input_objectApiNames);
35365
- const input_optionalFields = input.optionalFields;
35366
- ObjectFreeze$2(input_optionalFields);
35367
- const input_orderedByInfo = input.orderedByInfo;
35368
- for (let i = 0; i < input_orderedByInfo.length; i++) {
35369
- const input_orderedByInfo_item = input_orderedByInfo[i];
35370
- deepFreeze$N(input_orderedByInfo_item);
35371
- }
35372
- ObjectFreeze$2(input_orderedByInfo);
35373
- const input_userPreferences = input.userPreferences;
35374
- deepFreeze$M(input_userPreferences);
35375
- ObjectFreeze$2(input);
35376
- }
35377
35039
  const ingest$b$1 = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
35378
35040
  const key = keyBuilderFromType$d(luvio, input);
35379
35041
  const existingRecord = store.readEntry(key);
@@ -35384,7 +35046,6 @@ const ingest$b$1 = function RelatedListInfoRepresentationIngest(input, path, luv
35384
35046
  propertyName: path.propertyName,
35385
35047
  ttl: ttlToUse
35386
35048
  });
35387
- deepFreeze$k(input);
35388
35049
  if (existingRecord === undefined || equals$h(existingRecord, incomingRecord) === false) {
35389
35050
  luvio.storePublish(key, incomingRecord);
35390
35051
  }
@@ -35436,6 +35097,7 @@ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
35436
35097
  node: select$v$1(),
35437
35098
  variables: {},
35438
35099
  }, snapshotRefresh);
35100
+ deepFreeze(snapshot.data);
35439
35101
  return snapshot;
35440
35102
  }
35441
35103
  function ingestError$c(luvio, params, error, snapshotRefresh) {
@@ -35581,12 +35243,10 @@ function selectChildResourceParams$2(luvio, childResources, resourceParams) {
35581
35243
  reader.markPending();
35582
35244
  break;
35583
35245
  }
35584
- ObjectFreeze$1$1(childSink);
35585
35246
  ArrayPrototypePush$1.call(results, childSink);
35586
35247
  reader.exitPath();
35587
35248
  }
35588
35249
  reader.assignNonScalar(sink, envelopePath, results);
35589
- ObjectFreeze$1$1(sink);
35590
35250
  reader.exitPath();
35591
35251
  return sink;
35592
35252
  }
@@ -35651,7 +35311,7 @@ function ingestSuccessChildResourceParams$1(luvio, childResourceParamsArray, chi
35651
35311
  statusCode: 200,
35652
35312
  result: childSnapshot.data,
35653
35313
  };
35654
- ObjectFreeze$1$1(childValue);
35314
+ deepFreeze(childValue);
35655
35315
  ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
35656
35316
  }
35657
35317
  else {
@@ -35670,7 +35330,7 @@ function ingestSuccessChildResourceParams$1(luvio, childResourceParamsArray, chi
35670
35330
  statusCode: childStatusCode,
35671
35331
  result: childBody,
35672
35332
  };
35673
- ObjectFreeze$1$1(childValue);
35333
+ deepFreeze(childValue);
35674
35334
  ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
35675
35335
  }
35676
35336
  // track non-cached responses so rebuilds work properly
@@ -35681,11 +35341,11 @@ function ingestSuccessChildResourceParams$1(luvio, childResourceParamsArray, chi
35681
35341
  delete nonCachedErrors$2[childKey];
35682
35342
  }
35683
35343
  }
35684
- ObjectFreeze$1$1(childSnapshotDataResponses);
35685
35344
  const childSnapshotData = {
35686
35345
  results: childSnapshotDataResponses
35687
35346
  };
35688
- return { childSnapshotData: ObjectFreeze$1$1(childSnapshotData), seenRecords, snapshotState };
35347
+ deepFreeze(childSnapshotData);
35348
+ return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
35689
35349
  }
35690
35350
  function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
35691
35351
  const childEnvelopes = response.body.results;
@@ -35775,7 +35435,7 @@ function typeCheckConfig$r(untrustedConfig) {
35775
35435
  config.parentObjectApiName = untrustedConfig_parentObjectApiName;
35776
35436
  }
35777
35437
  const untrustedConfig_relatedListNames = untrustedConfig.relatedListNames;
35778
- if (ArrayIsArray$1$1(untrustedConfig_relatedListNames)) {
35438
+ if (ArrayIsArray$1(untrustedConfig_relatedListNames)) {
35779
35439
  const untrustedConfig_relatedListNames_array = [];
35780
35440
  for (let i = 0, arrayLength = untrustedConfig_relatedListNames.length; i < arrayLength; i++) {
35781
35441
  const untrustedConfig_relatedListNames_item = untrustedConfig_relatedListNames[i];
@@ -35869,13 +35529,6 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
35869
35529
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
35870
35530
  buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$g);
35871
35531
  };
35872
- function deepFreeze$j(input) {
35873
- const input_themeInfo = input.themeInfo;
35874
- if (input_themeInfo !== null && typeof input_themeInfo === 'object') {
35875
- deepFreeze$D(input_themeInfo);
35876
- }
35877
- ObjectFreeze$2(input);
35878
- }
35879
35532
 
35880
35533
  const VERSION$j$1 = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
35881
35534
  const RepresentationType$f = 'RelatedListSummaryInfoCollectionRepresentation';
@@ -35922,15 +35575,6 @@ function equals$g(existing, incoming) {
35922
35575
  }
35923
35576
  return true;
35924
35577
  }
35925
- function deepFreeze$i(input) {
35926
- const input_relatedLists = input.relatedLists;
35927
- for (let i = 0; i < input_relatedLists.length; i++) {
35928
- const input_relatedLists_item = input_relatedLists[i];
35929
- deepFreeze$j(input_relatedLists_item);
35930
- }
35931
- ObjectFreeze$2(input_relatedLists);
35932
- ObjectFreeze$2(input);
35933
- }
35934
35578
  const ingest$a$1 = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
35935
35579
  const key = keyBuilderFromType$c(luvio, input);
35936
35580
  const existingRecord = store.readEntry(key);
@@ -35941,7 +35585,6 @@ const ingest$a$1 = function RelatedListSummaryInfoCollectionRepresentationIngest
35941
35585
  propertyName: path.propertyName,
35942
35586
  ttl: ttlToUse
35943
35587
  });
35944
- deepFreeze$i(input);
35945
35588
  if (existingRecord === undefined || equals$g(existingRecord, incomingRecord) === false) {
35946
35589
  luvio.storePublish(key, incomingRecord);
35947
35590
  }
@@ -35989,6 +35632,7 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
35989
35632
  node: select$s$1(),
35990
35633
  variables: {},
35991
35634
  }, snapshotRefresh);
35635
+ deepFreeze(snapshot.data);
35992
35636
  return snapshot;
35993
35637
  }
35994
35638
  function ingestError$a(luvio, params, error, snapshotRefresh) {
@@ -36199,7 +35843,7 @@ function typeCheckConfig$p(untrustedConfig) {
36199
35843
  config.relatedListId = untrustedConfig_relatedListId;
36200
35844
  }
36201
35845
  const untrustedConfig_fields = untrustedConfig.fields;
36202
- if (ArrayIsArray$1$1(untrustedConfig_fields)) {
35846
+ if (ArrayIsArray$1(untrustedConfig_fields)) {
36203
35847
  const untrustedConfig_fields_array = [];
36204
35848
  for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
36205
35849
  const untrustedConfig_fields_item = untrustedConfig_fields[i];
@@ -36210,7 +35854,7 @@ function typeCheckConfig$p(untrustedConfig) {
36210
35854
  config.fields = untrustedConfig_fields_array;
36211
35855
  }
36212
35856
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
36213
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
35857
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
36214
35858
  const untrustedConfig_optionalFields_array = [];
36215
35859
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
36216
35860
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -36380,6 +36024,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
36380
36024
  node: select$r$1(),
36381
36025
  variables: {},
36382
36026
  });
36027
+ deepFreeze(snapshot.data);
36383
36028
  return snapshot;
36384
36029
  }
36385
36030
  function createResourceRequest$n(config) {
@@ -36456,7 +36101,7 @@ function typeCheckConfig$o(untrustedConfig) {
36456
36101
  config.recordTypeId = untrustedConfig_recordTypeId;
36457
36102
  }
36458
36103
  const untrustedConfig_orderedByInfo = untrustedConfig.orderedByInfo;
36459
- if (ArrayIsArray$1$1(untrustedConfig_orderedByInfo)) {
36104
+ if (ArrayIsArray$1(untrustedConfig_orderedByInfo)) {
36460
36105
  const untrustedConfig_orderedByInfo_array = [];
36461
36106
  for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
36462
36107
  const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
@@ -36495,7 +36140,7 @@ function buildNetworkSnapshot$m(luvio, config, options) {
36495
36140
  return luvio.storeBroadcast().then(() => snapshot);
36496
36141
  }, () => getResponseCacheKeys$k(luvio, resourceParams, response.body));
36497
36142
  }, (response) => {
36498
- deepFreeze$P(response);
36143
+ deepFreeze(response);
36499
36144
  throw response;
36500
36145
  });
36501
36146
  }
@@ -36539,29 +36184,6 @@ function equals$f(existing, incoming) {
36539
36184
  }
36540
36185
  return true;
36541
36186
  }
36542
- function deepFreeze$h(input) {
36543
- const input_columnWidths = input.columnWidths;
36544
- const input_columnWidths_keys = Object.keys(input_columnWidths);
36545
- const input_columnWidths_length = input_columnWidths_keys.length;
36546
- for (let i = 0; i < input_columnWidths_length; i++) {
36547
- input_columnWidths_keys[i];
36548
- }
36549
- ObjectFreeze$2(input_columnWidths);
36550
- const input_columnWrap = input.columnWrap;
36551
- const input_columnWrap_keys = Object.keys(input_columnWrap);
36552
- const input_columnWrap_length = input_columnWrap_keys.length;
36553
- for (let i = 0; i < input_columnWrap_length; i++) {
36554
- input_columnWrap_keys[i];
36555
- }
36556
- ObjectFreeze$2(input_columnWrap);
36557
- const input_orderedBy = input.orderedBy;
36558
- for (let i = 0; i < input_orderedBy.length; i++) {
36559
- const input_orderedBy_item = input_orderedBy[i];
36560
- deepFreeze$N(input_orderedBy_item);
36561
- }
36562
- ObjectFreeze$2(input_orderedBy);
36563
- ObjectFreeze$2(input);
36564
- }
36565
36187
  const ingest$9$1 = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
36566
36188
  const key = keyBuilderFromType$b(luvio, input);
36567
36189
  const existingRecord = store.readEntry(key);
@@ -36572,7 +36194,6 @@ const ingest$9$1 = function RelatedListUserPreferencesRepresentationIngest(input
36572
36194
  propertyName: path.propertyName,
36573
36195
  ttl: ttlToUse
36574
36196
  });
36575
- deepFreeze$h(input);
36576
36197
  if (existingRecord === undefined || equals$f(existingRecord, incomingRecord) === false) {
36577
36198
  luvio.storePublish(key, incomingRecord);
36578
36199
  }
@@ -36619,6 +36240,7 @@ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
36619
36240
  node: select$p$1(),
36620
36241
  variables: {},
36621
36242
  }, snapshotRefresh);
36243
+ deepFreeze(snapshot.data);
36622
36244
  return snapshot;
36623
36245
  }
36624
36246
  function ingestError$9(luvio, params, error, snapshotRefresh) {
@@ -36756,12 +36378,10 @@ function selectChildResourceParams$1(luvio, childResources, resourceParams) {
36756
36378
  reader.markPending();
36757
36379
  break;
36758
36380
  }
36759
- ObjectFreeze$1$1(childSink);
36760
36381
  ArrayPrototypePush$1.call(results, childSink);
36761
36382
  reader.exitPath();
36762
36383
  }
36763
36384
  reader.assignNonScalar(sink, envelopePath, results);
36764
- ObjectFreeze$1$1(sink);
36765
36385
  reader.exitPath();
36766
36386
  return sink;
36767
36387
  }
@@ -36826,7 +36446,7 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
36826
36446
  statusCode: 200,
36827
36447
  result: childSnapshot.data,
36828
36448
  };
36829
- ObjectFreeze$1$1(childValue);
36449
+ deepFreeze(childValue);
36830
36450
  ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
36831
36451
  }
36832
36452
  else {
@@ -36845,7 +36465,7 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
36845
36465
  statusCode: childStatusCode,
36846
36466
  result: childBody,
36847
36467
  };
36848
- ObjectFreeze$1$1(childValue);
36468
+ deepFreeze(childValue);
36849
36469
  ArrayPrototypePush$1.call(childSnapshotDataResponses, childValue);
36850
36470
  }
36851
36471
  // track non-cached responses so rebuilds work properly
@@ -36856,11 +36476,11 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
36856
36476
  delete nonCachedErrors$1[childKey];
36857
36477
  }
36858
36478
  }
36859
- ObjectFreeze$1$1(childSnapshotDataResponses);
36860
36479
  const childSnapshotData = {
36861
36480
  results: childSnapshotDataResponses
36862
36481
  };
36863
- return { childSnapshotData: ObjectFreeze$1$1(childSnapshotData), seenRecords, snapshotState };
36482
+ deepFreeze(childSnapshotData);
36483
+ return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
36864
36484
  }
36865
36485
  function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
36866
36486
  const childEnvelopes = response.body.results;
@@ -36927,7 +36547,7 @@ function keyBuilder$v$1(luvio, config) {
36927
36547
  function typeCheckConfig$n(untrustedConfig) {
36928
36548
  const config = {};
36929
36549
  const untrustedConfig_preferencesIds = untrustedConfig.preferencesIds;
36930
- if (ArrayIsArray$1$1(untrustedConfig_preferencesIds)) {
36550
+ if (ArrayIsArray$1(untrustedConfig_preferencesIds)) {
36931
36551
  const untrustedConfig_preferencesIds_array = [];
36932
36552
  for (let i = 0, arrayLength = untrustedConfig_preferencesIds.length; i < arrayLength; i++) {
36933
36553
  const untrustedConfig_preferencesIds_item = untrustedConfig_preferencesIds[i];
@@ -37138,6 +36758,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
37138
36758
  node: select$n$1(),
37139
36759
  variables: {},
37140
36760
  });
36761
+ deepFreeze(snapshot.data);
37141
36762
  return snapshot;
37142
36763
  }
37143
36764
  function createResourceRequest$k(config) {
@@ -37220,7 +36841,7 @@ function typeCheckConfig$l(untrustedConfig) {
37220
36841
  }
37221
36842
  }
37222
36843
  const untrustedConfig_orderedBy = untrustedConfig.orderedBy;
37223
- if (ArrayIsArray$1$1(untrustedConfig_orderedBy)) {
36844
+ if (ArrayIsArray$1(untrustedConfig_orderedBy)) {
37224
36845
  const untrustedConfig_orderedBy_array = [];
37225
36846
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
37226
36847
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
@@ -37253,7 +36874,7 @@ function buildNetworkSnapshot$j(luvio, config, options) {
37253
36874
  return luvio.storeBroadcast().then(() => snapshot);
37254
36875
  }, () => getResponseCacheKeys$h(luvio, resourceParams, response.body));
37255
36876
  }, (response) => {
37256
- deepFreeze$P(response);
36877
+ deepFreeze(response);
37257
36878
  throw response;
37258
36879
  });
37259
36880
  }
@@ -37609,7 +37230,6 @@ const dynamicSelect$4 = function dynamicRelatedListRecordCollectionRepresentatio
37609
37230
  reader.exitPath();
37610
37231
  }
37611
37232
  reader.exitPath();
37612
- ObjectFreeze$2(itemsSink);
37613
37233
  reader.assignNonScalar(sink, itemsProperty, itemsSink);
37614
37234
  }
37615
37235
  reader.enterPath('currentPageToken');
@@ -38066,12 +37686,11 @@ function selectChildResourceParams$7(luvio, childResources, resourceParams) {
38066
37686
  reader.markPending();
38067
37687
  break;
38068
37688
  }
38069
- ObjectFreeze$1$1(childSink);
38070
37689
  ArrayPrototypePush$1.call(results, childSink);
38071
37690
  reader.exitPath();
38072
37691
  }
38073
37692
  reader.assignNonScalar(sink, envelopePath, results);
38074
- ObjectFreeze$1$1(sink);
37693
+ deepFreeze(sink);
38075
37694
  reader.exitPath();
38076
37695
  return sink;
38077
37696
  },
@@ -38147,7 +37766,6 @@ function ingestSuccess$9(luvio, resourceParams, response, _snapshotRefresh) {
38147
37766
  statusCode: childStatusCode,
38148
37767
  result: childSnapshot.data,
38149
37768
  };
38150
- ObjectFreeze$1$1(childValue);
38151
37769
  childSnapshotDataResponses.push(childValue);
38152
37770
  }
38153
37771
  else {
@@ -38166,15 +37784,13 @@ function ingestSuccess$9(luvio, resourceParams, response, _snapshotRefresh) {
38166
37784
  statusCode: childStatusCode,
38167
37785
  result: childBody,
38168
37786
  };
38169
- ObjectFreeze$1$1(childValue);
38170
37787
  childSnapshotDataResponses.push(childValue);
38171
37788
  }
38172
37789
  }
38173
- ObjectFreeze$1$1(childSnapshotDataResponses);
38174
37790
  const childSnapshotData = {
38175
37791
  results: childSnapshotDataResponses,
38176
37792
  };
38177
- ObjectFreeze$1$1(childSnapshotData);
37793
+ deepFreeze(childSnapshotData);
38178
37794
  return {
38179
37795
  recordId: key,
38180
37796
  data: childSnapshotData,
@@ -38238,7 +37854,7 @@ function typeCheckConfig$k(untrustedConfig) {
38238
37854
  config.parentRecordId = untrustedConfig_parentRecordId;
38239
37855
  }
38240
37856
  const untrustedConfig_relatedListParameters = untrustedConfig.relatedListParameters;
38241
- if (ArrayIsArray$1$1(untrustedConfig_relatedListParameters)) {
37857
+ if (ArrayIsArray$1(untrustedConfig_relatedListParameters)) {
38242
37858
  const untrustedConfig_relatedListParameters_array = [];
38243
37859
  for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
38244
37860
  const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
@@ -38376,7 +37992,7 @@ function typeCheckConfig$j(untrustedConfig) {
38376
37992
  config.relatedListId = untrustedConfig_relatedListId;
38377
37993
  }
38378
37994
  const untrustedConfig_fields = untrustedConfig.fields;
38379
- if (ArrayIsArray$1$1(untrustedConfig_fields)) {
37995
+ if (ArrayIsArray$1(untrustedConfig_fields)) {
38380
37996
  const untrustedConfig_fields_array = [];
38381
37997
  for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
38382
37998
  const untrustedConfig_fields_item = untrustedConfig_fields[i];
@@ -38387,7 +38003,7 @@ function typeCheckConfig$j(untrustedConfig) {
38387
38003
  config.fields = untrustedConfig_fields_array;
38388
38004
  }
38389
38005
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
38390
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
38006
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
38391
38007
  const untrustedConfig_optionalFields_array = [];
38392
38008
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
38393
38009
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -38406,7 +38022,7 @@ function typeCheckConfig$j(untrustedConfig) {
38406
38022
  config.pageToken = untrustedConfig_pageToken;
38407
38023
  }
38408
38024
  const untrustedConfig_sortBy = untrustedConfig.sortBy;
38409
- if (ArrayIsArray$1$1(untrustedConfig_sortBy)) {
38025
+ if (ArrayIsArray$1(untrustedConfig_sortBy)) {
38410
38026
  const untrustedConfig_sortBy_array = [];
38411
38027
  for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
38412
38028
  const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
@@ -38588,9 +38204,6 @@ const select$k$1 = function SearchFilterOptionRepresentationSelect() {
38588
38204
  ]
38589
38205
  };
38590
38206
  };
38591
- function deepFreeze$g(input) {
38592
- ObjectFreeze$2(input);
38593
- }
38594
38207
 
38595
38208
  const VERSION$f$1 = "c00590d1dd241d43de42d1be20a6a179";
38596
38209
  const select$j$1 = function SearchFilterSelectAttributesRepresentationSelect() {
@@ -38860,6 +38473,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
38860
38473
  node: select$e$1(),
38861
38474
  variables: {},
38862
38475
  }, snapshotRefresh);
38476
+ deepFreeze(snapshot.data);
38863
38477
  return snapshot;
38864
38478
  }
38865
38479
  function ingestError$5(luvio, params, error, snapshotRefresh) {
@@ -39025,15 +38639,6 @@ function equals$a(existing, incoming) {
39025
38639
  }
39026
38640
  return true;
39027
38641
  }
39028
- function deepFreeze$f(input) {
39029
- const input_options = input.options;
39030
- for (let i = 0; i < input_options.length; i++) {
39031
- const input_options_item = input_options[i];
39032
- deepFreeze$g(input_options_item);
39033
- }
39034
- ObjectFreeze$2(input_options);
39035
- ObjectFreeze$2(input);
39036
- }
39037
38642
  const ingest$6$1 = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
39038
38643
  const key = keyBuilderFromType$8(luvio, input);
39039
38644
  const existingRecord = store.readEntry(key);
@@ -39044,7 +38649,6 @@ const ingest$6$1 = function SearchFilterOptionCollectionRepresentationIngest(inp
39044
38649
  propertyName: path.propertyName,
39045
38650
  ttl: ttlToUse
39046
38651
  });
39047
- deepFreeze$f(input);
39048
38652
  if (existingRecord === undefined || equals$a(existingRecord, incomingRecord) === false) {
39049
38653
  luvio.storePublish(key, incomingRecord);
39050
38654
  }
@@ -39093,6 +38697,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
39093
38697
  node: select$c$1(),
39094
38698
  variables: {},
39095
38699
  }, snapshotRefresh);
38700
+ deepFreeze(snapshot.data);
39096
38701
  return snapshot;
39097
38702
  }
39098
38703
  function ingestError$4(luvio, params, error, snapshotRefresh) {
@@ -39237,30 +38842,6 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
39237
38842
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
39238
38843
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$8);
39239
38844
  };
39240
- function deepFreeze$e(input) {
39241
- const input_displayFields = input.displayFields;
39242
- ObjectFreeze$2(input_displayFields);
39243
- ObjectFreeze$2(input);
39244
- }
39245
- function deepFreeze$d(input) {
39246
- const input_matchingFields = input.matchingFields;
39247
- ObjectFreeze$2(input_matchingFields);
39248
- ObjectFreeze$2(input);
39249
- }
39250
- function deepFreeze$c(input) {
39251
- const input_displayLayout = input.displayLayout;
39252
- deepFreeze$e(input_displayLayout);
39253
- const input_matchingInfo = input.matchingInfo;
39254
- deepFreeze$d(input_matchingInfo);
39255
- ObjectFreeze$2(input);
39256
- }
39257
- function deepFreeze$b(input) {
39258
- const input_fullSearchInfo = input.fullSearchInfo;
39259
- deepFreeze$c(input_fullSearchInfo);
39260
- const input_suggestionsInfo = input.suggestionsInfo;
39261
- deepFreeze$c(input_suggestionsInfo);
39262
- ObjectFreeze$2(input);
39263
- }
39264
38845
 
39265
38846
  const TTL$7 = 30000;
39266
38847
  const VERSION$9$1 = "ab99b79a5e8a78e051ec92b39d76a6bd";
@@ -39292,18 +38873,6 @@ function equals$9(existing, incoming) {
39292
38873
  }
39293
38874
  return true;
39294
38875
  }
39295
- function deepFreeze$a(input) {
39296
- const input_targetInfo = input.targetInfo;
39297
- const input_targetInfo_keys = Object.keys(input_targetInfo);
39298
- const input_targetInfo_length = input_targetInfo_keys.length;
39299
- for (let i = 0; i < input_targetInfo_length; i++) {
39300
- const key = input_targetInfo_keys[i];
39301
- const input_targetInfo_prop = input_targetInfo[key];
39302
- deepFreeze$b(input_targetInfo_prop);
39303
- }
39304
- ObjectFreeze$2(input_targetInfo);
39305
- ObjectFreeze$2(input);
39306
- }
39307
38876
  const ingest$5$1 = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
39308
38877
  const key = keyBuilderFromType$7(luvio, input);
39309
38878
  const existingRecord = store.readEntry(key);
@@ -39314,7 +38883,6 @@ const ingest$5$1 = function LookupMetadataRepresentationIngest(input, path, luvi
39314
38883
  propertyName: path.propertyName,
39315
38884
  ttl: ttlToUse
39316
38885
  });
39317
- deepFreeze$a(input);
39318
38886
  if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
39319
38887
  luvio.storePublish(key, incomingRecord);
39320
38888
  }
@@ -39362,6 +38930,7 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
39362
38930
  node: select$a$1(),
39363
38931
  variables: {},
39364
38932
  }, snapshotRefresh);
38933
+ deepFreeze(snapshot.data);
39365
38934
  return snapshot;
39366
38935
  }
39367
38936
  function ingestError$3(luvio, params, error, snapshotRefresh) {
@@ -39499,69 +39068,6 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
39499
39068
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
39500
39069
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$7);
39501
39070
  };
39502
- function deepFreeze$9(input) {
39503
- ObjectFreeze$2(input);
39504
- }
39505
-
39506
- function deepFreeze$8(input) {
39507
- const input_fields = input.fields;
39508
- const input_fields_keys = Object.keys(input_fields);
39509
- const input_fields_length = input_fields_keys.length;
39510
- for (let i = 0; i < input_fields_length; i++) {
39511
- input_fields_keys[i];
39512
- }
39513
- ObjectFreeze$2(input_fields);
39514
- ObjectFreeze$2(input);
39515
- }
39516
-
39517
- function deepFreeze$7(input) {
39518
- ObjectFreeze$2(input);
39519
- }
39520
-
39521
- function deepFreeze$6(input) {
39522
- const input_highlightInfo = input.highlightInfo;
39523
- if (input_highlightInfo !== undefined) {
39524
- deepFreeze$8(input_highlightInfo);
39525
- }
39526
- const input_record = input.record;
39527
- deepFreeze$I(input_record);
39528
- const input_searchInfo = input.searchInfo;
39529
- deepFreeze$7(input_searchInfo);
39530
- ObjectFreeze$2(input);
39531
- }
39532
- function deepFreeze$5(input) {
39533
- const input_error = input.error;
39534
- if (input_error !== null && typeof input_error === 'object') {
39535
- deepFreeze$9(input_error);
39536
- }
39537
- const input_orderBy = input.orderBy;
39538
- for (let i = 0; i < input_orderBy.length; i++) {
39539
- const input_orderBy_item = input_orderBy[i];
39540
- deepFreeze$N(input_orderBy_item);
39541
- }
39542
- ObjectFreeze$2(input_orderBy);
39543
- const input_records = input.records;
39544
- for (let i = 0; i < input_records.length; i++) {
39545
- const input_records_item = input_records[i];
39546
- deepFreeze$6(input_records_item);
39547
- }
39548
- ObjectFreeze$2(input_records);
39549
- const input_relatedObjectApiNames = input.relatedObjectApiNames;
39550
- ObjectFreeze$2(input_relatedObjectApiNames);
39551
- ObjectFreeze$2(input);
39552
- }
39553
- function deepFreeze$4(input) {
39554
- const input_results = input.results;
39555
- for (let i = 0; i < input_results.length; i++) {
39556
- const input_results_item = input_results[i];
39557
- deepFreeze$5(input_results_item);
39558
- }
39559
- ObjectFreeze$2(input_results);
39560
- ObjectFreeze$2(input);
39561
- }
39562
- function deepFreeze$3(input) {
39563
- ObjectFreeze$2(input);
39564
- }
39565
39071
 
39566
39072
  const TTL$6 = 200;
39567
39073
  const VERSION$8$1 = "9760c93d10288bb6889882c757514189";
@@ -39592,17 +39098,6 @@ function equals$8(existing, incoming) {
39592
39098
  }
39593
39099
  return true;
39594
39100
  }
39595
- function deepFreeze$2$1(input) {
39596
- const input_keywordSearchResults = input.keywordSearchResults;
39597
- if (input_keywordSearchResults !== null && typeof input_keywordSearchResults === 'object') {
39598
- deepFreeze$4(input_keywordSearchResults);
39599
- }
39600
- const input_qnaResult = input.qnaResult;
39601
- if (input_qnaResult !== null && typeof input_qnaResult === 'object') {
39602
- deepFreeze$3(input_qnaResult);
39603
- }
39604
- ObjectFreeze$2(input);
39605
- }
39606
39101
  const ingest$4$1 = function SearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
39607
39102
  const key = keyBuilderFromType$6(luvio, input);
39608
39103
  const existingRecord = store.readEntry(key);
@@ -39613,7 +39108,6 @@ const ingest$4$1 = function SearchResultsSummaryRepresentationIngest(input, path
39613
39108
  propertyName: path.propertyName,
39614
39109
  ttl: ttlToUse
39615
39110
  });
39616
- deepFreeze$2$1(input);
39617
39111
  if (existingRecord === undefined || equals$8(existingRecord, incomingRecord) === false) {
39618
39112
  luvio.storePublish(key, incomingRecord);
39619
39113
  }
@@ -39660,6 +39154,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
39660
39154
  node: select$8$1(),
39661
39155
  variables: {},
39662
39156
  }, snapshotRefresh);
39157
+ deepFreeze(snapshot.data);
39663
39158
  return snapshot;
39664
39159
  }
39665
39160
  function ingestError$2(luvio, params, error, snapshotRefresh) {
@@ -39722,7 +39217,7 @@ function typeCheckConfig$f(untrustedConfig) {
39722
39217
  config.q = untrustedConfig_q;
39723
39218
  }
39724
39219
  const untrustedConfig_answerTypes = untrustedConfig.answerTypes;
39725
- if (ArrayIsArray$1$1(untrustedConfig_answerTypes)) {
39220
+ if (ArrayIsArray$1(untrustedConfig_answerTypes)) {
39726
39221
  const untrustedConfig_answerTypes_array = [];
39727
39222
  for (let i = 0, arrayLength = untrustedConfig_answerTypes.length; i < arrayLength; i++) {
39728
39223
  const untrustedConfig_answerTypes_item = untrustedConfig_answerTypes[i];
@@ -39733,7 +39228,7 @@ function typeCheckConfig$f(untrustedConfig) {
39733
39228
  config.answerTypes = untrustedConfig_answerTypes_array;
39734
39229
  }
39735
39230
  const untrustedConfig_objectApiNames = untrustedConfig.objectApiNames;
39736
- if (ArrayIsArray$1$1(untrustedConfig_objectApiNames)) {
39231
+ if (ArrayIsArray$1(untrustedConfig_objectApiNames)) {
39737
39232
  const untrustedConfig_objectApiNames_array = [];
39738
39233
  for (let i = 0, arrayLength = untrustedConfig_objectApiNames.length; i < arrayLength; i++) {
39739
39234
  const untrustedConfig_objectApiNames_item = untrustedConfig_objectApiNames[i];
@@ -39922,11 +39417,6 @@ function equals$7(existing, incoming) {
39922
39417
  }
39923
39418
  return true;
39924
39419
  }
39925
- function deepFreeze$1$1(input) {
39926
- const input_keywordSearchResult = input.keywordSearchResult;
39927
- deepFreeze$5(input_keywordSearchResult);
39928
- ObjectFreeze$2(input);
39929
- }
39930
39420
  const ingest$3$1 = function KeywordSearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
39931
39421
  const key = keyBuilderFromType$5(luvio, input);
39932
39422
  const existingRecord = store.readEntry(key);
@@ -39937,7 +39427,6 @@ const ingest$3$1 = function KeywordSearchResultsSummaryRepresentationIngest(inpu
39937
39427
  propertyName: path.propertyName,
39938
39428
  ttl: ttlToUse
39939
39429
  });
39940
- deepFreeze$1$1(input);
39941
39430
  if (existingRecord === undefined || equals$7(existingRecord, incomingRecord) === false) {
39942
39431
  luvio.storePublish(key, incomingRecord);
39943
39432
  }
@@ -39985,6 +39474,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
39985
39474
  node: select$6$1(),
39986
39475
  variables: {},
39987
39476
  }, snapshotRefresh);
39477
+ deepFreeze(snapshot.data);
39988
39478
  return snapshot;
39989
39479
  }
39990
39480
  function ingestError$1$1(luvio, params, error, snapshotRefresh) {
@@ -40057,7 +39547,7 @@ function typeCheckConfig$e(untrustedConfig) {
40057
39547
  config.q = untrustedConfig_q;
40058
39548
  }
40059
39549
  const untrustedConfig_filters = untrustedConfig.filters;
40060
- if (ArrayIsArray$1$1(untrustedConfig_filters)) {
39550
+ if (ArrayIsArray$1(untrustedConfig_filters)) {
40061
39551
  const untrustedConfig_filters_array = [];
40062
39552
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
40063
39553
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
@@ -40178,6 +39668,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
40178
39668
  node: select$5$1(),
40179
39669
  variables: {},
40180
39670
  });
39671
+ deepFreeze(snapshot.data);
40181
39672
  return snapshot;
40182
39673
  }
40183
39674
  function createResourceRequest$c(config) {
@@ -40290,7 +39781,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
40290
39781
  return luvio.storeBroadcast().then(() => snapshot);
40291
39782
  }, () => getResponseCacheKeys$9(luvio, resourceParams, response.body));
40292
39783
  }, (response) => {
40293
- deepFreeze$P(response);
39784
+ deepFreeze(response);
40294
39785
  throw response;
40295
39786
  });
40296
39787
  }
@@ -40322,6 +39813,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
40322
39813
  node: select$4$1(),
40323
39814
  variables: {},
40324
39815
  });
39816
+ deepFreeze(snapshot.data);
40325
39817
  return snapshot;
40326
39818
  }
40327
39819
  function createResourceRequest$b(config) {
@@ -40434,7 +39926,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
40434
39926
  return luvio.storeBroadcast().then(() => snapshot);
40435
39927
  }, () => getResponseCacheKeys$8(luvio, resourceParams, response.body));
40436
39928
  }, (response) => {
40437
- deepFreeze$P(response);
39929
+ deepFreeze(response);
40438
39930
  throw response;
40439
39931
  });
40440
39932
  }
@@ -40451,25 +39943,6 @@ const performQuickActionAdapterFactory = (luvio) => {
40451
39943
 
40452
39944
  const factory$c = performQuickActionAdapterFactory;
40453
39945
 
40454
- function deepFreeze$Q(value) {
40455
- // No need to freeze primitives
40456
- if (typeof value !== 'object' || value === null) {
40457
- return;
40458
- }
40459
- if (isArray$8(value)) {
40460
- for (let i = 0, len = value.length; i < len; i += 1) {
40461
- deepFreeze$Q(value[i]);
40462
- }
40463
- }
40464
- else {
40465
- const keys$1 = keys$8(value);
40466
- for (let i = 0, len = keys$1.length; i < len; i += 1) {
40467
- deepFreeze$Q(value[keys$1[i]]);
40468
- }
40469
- }
40470
- freeze$3(value);
40471
- }
40472
-
40473
39946
  function createResourceRequest$a(config) {
40474
39947
  const headers = {};
40475
39948
  return {
@@ -40520,7 +39993,7 @@ function updateLayoutUserState$1(luvio, config, key, updateRequest) {
40520
39993
  const { body } = response;
40521
39994
  return luvio.handleSuccessResponse(() => ingestAndBroadcast(luvio, key, config, body), () => getTypeCacheKeys$G$1(luvio, body));
40522
39995
  }, (err) => {
40523
- deepFreeze$Q(err);
39996
+ deepFreeze(err);
40524
39997
  throw err;
40525
39998
  });
40526
39999
  }
@@ -40667,7 +40140,7 @@ function typeCheckConfig$b(untrustedConfig) {
40667
40140
  config.objectApiName = untrustedConfig_objectApiName;
40668
40141
  }
40669
40142
  const untrustedConfig_fields = untrustedConfig.fields;
40670
- if (ArrayIsArray$1$1(untrustedConfig_fields)) {
40143
+ if (ArrayIsArray$1(untrustedConfig_fields)) {
40671
40144
  const untrustedConfig_fields_array = [];
40672
40145
  for (let i = 0, arrayLength = untrustedConfig_fields.length; i < arrayLength; i++) {
40673
40146
  const untrustedConfig_fields_item = untrustedConfig_fields[i];
@@ -40678,7 +40151,7 @@ function typeCheckConfig$b(untrustedConfig) {
40678
40151
  config.fields = untrustedConfig_fields_array;
40679
40152
  }
40680
40153
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
40681
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
40154
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
40682
40155
  const untrustedConfig_optionalFields_array = [];
40683
40156
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
40684
40157
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -40697,7 +40170,7 @@ function typeCheckConfig$b(untrustedConfig) {
40697
40170
  config.pageToken = untrustedConfig_pageToken;
40698
40171
  }
40699
40172
  const untrustedConfig_sortBy = untrustedConfig.sortBy;
40700
- if (ArrayIsArray$1$1(untrustedConfig_sortBy)) {
40173
+ if (ArrayIsArray$1(untrustedConfig_sortBy)) {
40701
40174
  const untrustedConfig_sortBy_array = [];
40702
40175
  for (let i = 0, arrayLength = untrustedConfig_sortBy.length; i < arrayLength; i++) {
40703
40176
  const untrustedConfig_sortBy_item = untrustedConfig_sortBy[i];
@@ -40975,7 +40448,7 @@ function typeCheckConfig$a(untrustedConfig) {
40975
40448
  config.objectApiName = untrustedConfig_objectApiName;
40976
40449
  }
40977
40450
  const untrustedConfig_dependentFieldBindings = untrustedConfig.dependentFieldBindings;
40978
- if (ArrayIsArray$1$1(untrustedConfig_dependentFieldBindings)) {
40451
+ if (ArrayIsArray$1(untrustedConfig_dependentFieldBindings)) {
40979
40452
  const untrustedConfig_dependentFieldBindings_array = [];
40980
40453
  for (let i = 0, arrayLength = untrustedConfig_dependentFieldBindings.length; i < arrayLength; i++) {
40981
40454
  const untrustedConfig_dependentFieldBindings_item = untrustedConfig_dependentFieldBindings[i];
@@ -41114,7 +40587,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
41114
40587
  .map((targetApiName) => body.lookupResults[targetApiName].records)
41115
40588
  .reduce((allRecords, records) => allRecords.concat(records), [])
41116
40589
  .forEach((record) => removeEtags(record));
41117
- deepFreeze$Q(body);
40590
+ deepFreeze(body);
41118
40591
  return Promise.resolve({
41119
40592
  state: 'Fulfilled',
41120
40593
  recordId: key,
@@ -41284,7 +40757,7 @@ const factory$8 = (luvio) => {
41284
40757
  return luvio.storeBroadcast().then(() => snapshot);
41285
40758
  }, () => getTypeCacheKeys$n$1(luvio, body));
41286
40759
  }, (err) => {
41287
- deepFreeze$Q(err);
40760
+ deepFreeze(err);
41288
40761
  throw err;
41289
40762
  });
41290
40763
  };
@@ -41655,7 +41128,7 @@ function typeCheckConfig$8(untrustedConfig) {
41655
41128
  config.formFactor = untrustedConfig_formFactor;
41656
41129
  }
41657
41130
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
41658
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
41131
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
41659
41132
  const untrustedConfig_optionalFields_array = [];
41660
41133
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
41661
41134
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -42270,7 +41743,7 @@ function typeCheckConfig$7(untrustedConfig) {
42270
41743
  config.recordId = untrustedConfig_recordId;
42271
41744
  }
42272
41745
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
42273
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
41746
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
42274
41747
  const untrustedConfig_optionalFields_array = [];
42275
41748
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
42276
41749
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -42891,7 +42364,7 @@ function typeCheckConfig$6(untrustedConfig) {
42891
42364
  config.objectApiName = untrustedConfig_objectApiName;
42892
42365
  }
42893
42366
  const untrustedConfig_optionalFields = untrustedConfig.optionalFields;
42894
- if (ArrayIsArray$1$1(untrustedConfig_optionalFields)) {
42367
+ if (ArrayIsArray$1(untrustedConfig_optionalFields)) {
42895
42368
  const untrustedConfig_optionalFields_array = [];
42896
42369
  for (let i = 0, arrayLength = untrustedConfig_optionalFields.length; i < arrayLength; i++) {
42897
42370
  const untrustedConfig_optionalFields_item = untrustedConfig_optionalFields[i];
@@ -43142,7 +42615,7 @@ function buildNetworkSnapshot$4(luvio, config) {
43142
42615
  return luvio.dispatchResourceRequest(request).then((response) => {
43143
42616
  return luvio.handleSuccessResponse(() => onResponseSuccess$1(luvio, response, recordIngest, conflictMap), () => getResponseCacheKeys$3(luvio, resourceParams, response.body));
43144
42617
  }, (err) => {
43145
- deepFreeze$Q(err);
42618
+ deepFreeze(err);
43146
42619
  throw err;
43147
42620
  });
43148
42621
  }
@@ -43243,7 +42716,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
43243
42716
  return luvio.storeBroadcast();
43244
42717
  }, () => getResponseCacheKeys$2$1(luvio, resourceParams));
43245
42718
  }, (response) => {
43246
- deepFreeze$P(response);
42719
+ deepFreeze(response);
43247
42720
  throw response;
43248
42721
  });
43249
42722
  }
@@ -43477,7 +42950,7 @@ function buildNetworkSnapshot$2$1(luvio, config, clientOptions) {
43477
42950
  return luvio.dispatchResourceRequest(request).then((response) => {
43478
42951
  return luvio.handleSuccessResponse(() => onResponseSuccess(luvio, response, recordId, recordIngest, conflictMap), () => getResponseCacheKeys$1$1(luvio, resourceParams, response.body));
43479
42952
  }, (err) => {
43480
- deepFreeze$Q(err);
42953
+ deepFreeze(err);
43481
42954
  throw err;
43482
42955
  });
43483
42956
  }
@@ -43733,7 +43206,7 @@ function buildNetworkSnapshot$1$1(luvio, config, options) {
43733
43206
  return luvio.storeBroadcast().then(() => snapshot);
43734
43207
  }, () => getResponseCacheKeys$T(luvio, {}, response.body));
43735
43208
  }, (response) => {
43736
- deepFreeze$P(response);
43209
+ deepFreeze(response);
43737
43210
  throw response;
43738
43211
  });
43739
43212
  }
@@ -43800,7 +43273,7 @@ function buildNetworkSnapshot$X(luvio, config, options) {
43800
43273
  return luvio.storeBroadcast().then(() => snapshot);
43801
43274
  }, () => getResponseCacheKeys$T(luvio, resourceParams, response.body));
43802
43275
  }, (response) => {
43803
- deepFreeze$P(response);
43276
+ deepFreeze(response);
43804
43277
  throw response;
43805
43278
  });
43806
43279
  }
@@ -44428,7 +43901,7 @@ withDefaultLuvio((luvio) => {
44428
43901
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44429
43902
  });
44430
43903
  });
44431
- // version: 1.134.6-a88a77801
43904
+ // version: 1.134.8-c3d6d2cfc
44432
43905
 
44433
43906
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44434
43907
 
@@ -44505,7 +43978,7 @@ function formattingOptions(pattern) {
44505
43978
 
44506
43979
  const { parse: parse$5, stringify: stringify$5 } = JSON;
44507
43980
  const { join: join$2, push: push$2, unshift } = Array.prototype;
44508
- const { isArray: isArray$6 } = Array;
43981
+ const { isArray: isArray$5 } = Array;
44509
43982
  const { entries: entries$3, keys: keys$6 } = Object;
44510
43983
 
44511
43984
  const UI_API_BASE_URI = '/services/data/v59.0/ui-api';
@@ -44725,7 +44198,7 @@ const getRecordDispatcher = (req) => {
44725
44198
  const { queryParams, urlParams } = resourceRequest;
44726
44199
  const { fields, optionalFields } = queryParams;
44727
44200
  const recordId = urlParams.recordId;
44728
- const fieldsArray = fields !== undefined && isArray$6(fields) ? fields : [];
44201
+ const fieldsArray = fields !== undefined && isArray$5(fields) ? fields : [];
44729
44202
  const optionalFieldsArray = optionalFields !== undefined && Array.isArray(optionalFields)
44730
44203
  ? optionalFields
44731
44204
  : [];
@@ -44976,7 +44449,6 @@ function isDeprecatedDurableStoreEntry(durableRecord) {
44976
44449
  const DefaultDurableSegment = 'DEFAULT';
44977
44450
 
44978
44451
  const { keys: keys$5, create: create$5, assign: assign$4, freeze: freeze$1$1 } = Object;
44979
- const { isArray: isArray$5 } = Array;
44980
44452
 
44981
44453
  //Durable store error instrumentation key
44982
44454
  const DURABLE_STORE_ERROR = 'durable-store-error';
@@ -44999,25 +44471,6 @@ function handleDurableStoreRejection(instrument) {
44999
44471
  };
45000
44472
  }
45001
44473
 
45002
- function deepFreeze$2(value) {
45003
- // No need to freeze primitives
45004
- if (typeof value !== 'object' || value === null) {
45005
- return;
45006
- }
45007
- if (isArray$5(value)) {
45008
- for (let i = 0, len = value.length; i < len; i += 1) {
45009
- deepFreeze$2(value[i]);
45010
- }
45011
- }
45012
- else {
45013
- const keys$1 = keys$5(value);
45014
- for (let i = 0, len = keys$1.length; i < len; i += 1) {
45015
- deepFreeze$2(value[keys$1[i]]);
45016
- }
45017
- }
45018
- freeze$1$1(value);
45019
- }
45020
-
45021
44474
  function isStoreEntryError(storeRecord) {
45022
44475
  return storeRecord.__type === 'error';
45023
44476
  }
@@ -45069,7 +44522,7 @@ function publishDurableStoreEntries(durableRecords, put, publishMetadata) {
45069
44522
  }
45070
44523
  if (isStoreEntryError(data)) {
45071
44524
  // freeze errors on way into L1
45072
- deepFreeze$2(data.error);
44525
+ deepFreeze(data.error);
45073
44526
  }
45074
44527
  put(key, data);
45075
44528
  revivedKeys.add(key);
@@ -50692,7 +50145,7 @@ const API_NAMESPACE = 'UiApi';
50692
50145
  const RECORD_REPRESENTATION_NAME$1 = 'RecordRepresentation';
50693
50146
  const RECORD_VIEW_ENTITY_REPRESENTATION_NAME = 'RecordViewEntityRepresentation';
50694
50147
  const RECORD_ID_PREFIX = `${API_NAMESPACE}::${RECORD_REPRESENTATION_NAME$1}:`;
50695
- const RECORD_VIEW_ENTITY_ID_PREFIX = `${API_NAMESPACE}::${RECORD_VIEW_ENTITY_REPRESENTATION_NAME}:Name`;
50148
+ const RECORD_VIEW_ENTITY_ID_PREFIX = `${API_NAMESPACE}::${RECORD_VIEW_ENTITY_REPRESENTATION_NAME}:Name:`;
50696
50149
  const RECORD_FIELDS_KEY_JUNCTION = '__fields__';
50697
50150
  function isStoreKeyRecordId(key) {
50698
50151
  return key.indexOf(RECORD_ID_PREFIX) > -1 && key.indexOf(RECORD_FIELDS_KEY_JUNCTION) === -1;
@@ -57629,7 +57082,7 @@ const recordIdGenerator = (id) => {
57629
57082
  const { keys: keys$1$1, create: create$1$1, assign: assign$1, entries: entries$1 } = Object;
57630
57083
  const { stringify: stringify$1$1, parse: parse$1$1 } = JSON;
57631
57084
  const { push: push$1, join: join$1, slice: slice$1 } = Array.prototype;
57632
- const { isArray: isArray$7, from } = Array;
57085
+ const { isArray: isArray$6, from } = Array;
57633
57086
 
57634
57087
  function ldsParamsToString(params) {
57635
57088
  const returnParams = create$1$1(null);
@@ -57641,7 +57094,7 @@ function ldsParamsToString(params) {
57641
57094
  // filter out params that have no value
57642
57095
  continue;
57643
57096
  }
57644
- if (isArray$7(value)) {
57097
+ if (isArray$6(value)) {
57645
57098
  // filter out empty arrays
57646
57099
  if (value.length > 0) {
57647
57100
  returnParams[key] = value.join(',');
@@ -57704,7 +57157,7 @@ function isStatusOk(status) {
57704
57157
  }
57705
57158
  // adapted from adapter-utils untrustedIsObject
57706
57159
  function isObject(value) {
57707
- return typeof value === 'object' && value !== null && isArray$7(value) === false;
57160
+ return typeof value === 'object' && value !== null && isArray$6(value) === false;
57708
57161
  }
57709
57162
  function stringifyIfPresent(value) {
57710
57163
  if (value === undefined || value === null) {
@@ -58044,7 +57497,7 @@ function buildAggregateUiUrl(params, resourceRequest) {
58044
57497
  const queryString = [];
58045
57498
  for (const [key, value] of entries$1(mergedParams)) {
58046
57499
  if (value !== undefined) {
58047
- queryString.push(`${key}=${isArray$7(value) ? value.join(',') : value}`);
57500
+ queryString.push(`${key}=${isArray$6(value) ? value.join(',') : value}`);
58048
57501
  }
58049
57502
  }
58050
57503
  return `${resourceRequest.baseUri}${resourceRequest.basePath}?${join$1.call(queryString, '&')}`;
@@ -58191,7 +57644,7 @@ function isGetRequestForEndpoint(endpoint, request) {
58191
57644
  * @returns the array or an empty array
58192
57645
  */
58193
57646
  function arrayOrEmpty(array) {
58194
- return array !== undefined && isArray$7(array) ? array : [];
57647
+ return array !== undefined && isArray$6(array) ? array : [];
58195
57648
  }
58196
57649
 
58197
57650
  const RECORD_ENDPOINT_REGEX = /^\/ui-api\/records\/?(([a-zA-Z0-9]+))?$/;
@@ -58205,13 +57658,13 @@ const referenceId$3 = 'LDS_Records_AggregateUi';
58205
57658
  */
58206
57659
  function mergeGetRecordResult(first, second) {
58207
57660
  // return the error if first is error.
58208
- if (isArray$7(first) && !isArray$7(second))
57661
+ if (isArray$6(first) && !isArray$6(second))
58209
57662
  return first;
58210
57663
  // return the error if second is error.
58211
- if (!isArray$7(first) && isArray$7(second))
57664
+ if (!isArray$6(first) && isArray$6(second))
58212
57665
  return second;
58213
57666
  // concat the error array if both are error
58214
- if (isArray$7(first) && isArray$7(second)) {
57667
+ if (isArray$6(first) && isArray$6(second)) {
58215
57668
  return [...first, ...second];
58216
57669
  }
58217
57670
  mergeRecordFields(first, second);
@@ -60059,7 +59512,7 @@ register({
60059
59512
  id: '@salesforce/lds-network-adapter',
60060
59513
  instrument: instrument$1,
60061
59514
  });
60062
- // version: 1.134.6-b7fe2f556
59515
+ // version: 1.134.8-87c38bf92
60063
59516
 
60064
59517
  const { create: create$2, keys: keys$2 } = Object;
60065
59518
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -60072,12 +59525,12 @@ const { isArray: isArray$1 } = Array;
60072
59525
  */
60073
59526
 
60074
59527
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
60075
- const { keys: ObjectKeys$1, freeze: ObjectFreeze$1, create: ObjectCreate$1 } = Object;
59528
+ const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
60076
59529
  const { stringify: JSONStringify } = JSON;
60077
- const { isArray: ArrayIsArray$1 } = Array;
59530
+ const { isArray: ArrayIsArray } = Array;
60078
59531
  const { push: ArrayPrototypePush } = Array.prototype;
60079
59532
  function untrustedIsObject$1(untrusted) {
60080
- return typeof untrusted === 'object' && untrusted !== null && ArrayIsArray$1(untrusted) === false;
59533
+ return typeof untrusted === 'object' && untrusted !== null && ArrayIsArray(untrusted) === false;
60081
59534
  }
60082
59535
  function areRequiredParametersPresent(config, configPropertyNames) {
60083
59536
  return configPropertyNames.parameters.required.every(req => req in config);
@@ -60116,7 +59569,7 @@ function stableJSONStringify$1(node) {
60116
59569
  }
60117
59570
  let i;
60118
59571
  let out;
60119
- if (ArrayIsArray$1(node)) {
59572
+ if (ArrayIsArray(node)) {
60120
59573
  out = '[';
60121
59574
  for (i = 0; i < node.length; i++) {
60122
59575
  if (i) {
@@ -60164,8 +59617,7 @@ function getFetchResponseStatusText(status) {
60164
59617
  }
60165
59618
  const keyPrefix = 'UiApi';
60166
59619
 
60167
- const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
60168
- const { isArray: ArrayIsArray } = Array;
59620
+ const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
60169
59621
  function equalsObject(a, b, equalsProp) {
60170
59622
  const aKeys = ObjectKeys(a).sort();
60171
59623
  const bKeys = ObjectKeys(b).sort();
@@ -60185,24 +59637,6 @@ function equalsObject(a, b, equalsProp) {
60185
59637
  }
60186
59638
  return true;
60187
59639
  }
60188
- function deepFreeze$1(value) {
60189
- // No need to freeze primitives
60190
- if (typeof value !== 'object' || value === null) {
60191
- return;
60192
- }
60193
- if (ArrayIsArray(value)) {
60194
- for (let i = 0, len = value.length; i < len; i += 1) {
60195
- deepFreeze$1(value[i]);
60196
- }
60197
- }
60198
- else {
60199
- const keys = ObjectKeys(value);
60200
- for (let i = 0, len = keys.length; i < len; i += 1) {
60201
- deepFreeze$1(value[keys[i]]);
60202
- }
60203
- }
60204
- ObjectFreeze(value);
60205
- }
60206
59640
  function createLink$1(ref) {
60207
59641
  return {
60208
59642
  __ref: serializeStructuredKey(ref),
@@ -72214,7 +71648,7 @@ function ingestTypeWithStrategy(astNode, state, isCursorConnectionType, { key, i
72214
71648
  const fieldKey = getSerializedKeyForField(requestedField, variables, fieldType);
72215
71649
  if (fieldType === undefined) {
72216
71650
  console.warn(`Unknown Field: ${requestedField}. This field or nested fields cannot participate in normalization`);
72217
- deepFreeze$1(fieldData);
71651
+ deepFreeze(fieldData);
72218
71652
  sink[fieldKey] = fieldData;
72219
71653
  continue;
72220
71654
  }
@@ -73124,10 +72558,11 @@ function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key,
73124
72558
  }
73125
72559
  }
73126
72560
  }
72561
+ deepFreeze(trimmedEdges);
73127
72562
  const paginatedData = {
73128
72563
  data: {
73129
72564
  ...source,
73130
- edges: ObjectFreeze(trimmedEdges),
72565
+ edges: trimmedEdges,
73131
72566
  }
73132
72567
  };
73133
72568
  reader.markSeenId(parentRecordId);
@@ -73828,12 +73263,11 @@ function selectChildResourceParams(luvio, childResources, resourceParams) {
73828
73263
  reader.markPending();
73829
73264
  break;
73830
73265
  }
73831
- ObjectFreeze$1(childSink);
73832
73266
  ArrayPrototypePush.call(results, childSink);
73833
73267
  reader.exitPath();
73834
73268
  }
73835
73269
  reader.assignNonScalar(sink, envelopePath, results);
73836
- ObjectFreeze$1(sink);
73270
+ deepFreeze(sink);
73837
73271
  reader.exitPath();
73838
73272
  return sink;
73839
73273
  },
@@ -73907,7 +73341,6 @@ function ingestSuccessChildResourceParams(luvio, childConfigs, childResourcePara
73907
73341
  statusCode: 200,
73908
73342
  result: childSnapshot.data,
73909
73343
  };
73910
- ObjectFreeze$1(childValue);
73911
73344
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
73912
73345
  }
73913
73346
  else {
@@ -73926,7 +73359,6 @@ function ingestSuccessChildResourceParams(luvio, childConfigs, childResourcePara
73926
73359
  statusCode: childStatusCode,
73927
73360
  result: childBody,
73928
73361
  };
73929
- ObjectFreeze$1(childValue);
73930
73362
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
73931
73363
  }
73932
73364
  // track non-cached responses so rebuilds work properly
@@ -73937,12 +73369,12 @@ function ingestSuccessChildResourceParams(luvio, childConfigs, childResourcePara
73937
73369
  delete nonCachedErrors[childKey];
73938
73370
  }
73939
73371
  }
73940
- ObjectFreeze$1(childSnapshotDataResponses);
73941
73372
  const childSnapshotData = {
73942
73373
  results: childSnapshotDataResponses,
73943
73374
  };
73375
+ deepFreeze(childSnapshotData);
73944
73376
  return {
73945
- childSnapshotData: ObjectFreeze$1(childSnapshotData),
73377
+ childSnapshotData: childSnapshotData,
73946
73378
  seenRecords,
73947
73379
  snapshotState,
73948
73380
  };
@@ -74003,7 +73435,7 @@ function typeCheckConfig(untrustedConfig) {
74003
73435
  const config = {};
74004
73436
  const untrustedConfig_batchQuery = untrustedConfig.batchQuery;
74005
73437
  if (untrustedConfig_batchQuery !== undefined &&
74006
- ArrayIsArray$1(untrustedConfig_batchQuery)) {
73438
+ ArrayIsArray(untrustedConfig_batchQuery)) {
74007
73439
  const untrustedConfig_batchQuery_array = [];
74008
73440
  for (let i = 0, arrayLength = untrustedConfig_batchQuery.length; i < arrayLength; i++) {
74009
73441
  const untrustedConfig_batchQuery_item = untrustedConfig_batchQuery[i];
@@ -74211,7 +73643,7 @@ const getListUiByListViewId_ConfigPropertyNames = {
74211
73643
  }
74212
73644
  };
74213
73645
 
74214
- ObjectFreeze$1({
73646
+ freeze$1({
74215
73647
  name: '',
74216
73648
  children: {},
74217
73649
  });
@@ -74499,7 +73931,7 @@ register({
74499
73931
  configuration: { ...configurationForGraphQLAdapters },
74500
73932
  instrument,
74501
73933
  });
74502
- // version: 1.134.6-a88a77801
73934
+ // version: 1.134.8-c3d6d2cfc
74503
73935
 
74504
73936
  // On core the unstable adapters are re-exported with different names,
74505
73937
 
@@ -74579,25 +74011,6 @@ function sortAndCopyUsingObjectKey(arr, key) {
74579
74011
  function untrustedIsObject(untrusted) {
74580
74012
  return typeof untrusted === 'object' && untrusted !== null && isArray(untrusted) === false;
74581
74013
  }
74582
- function deepFreeze(value) {
74583
- // No need to freeze primitives
74584
- if (typeof value !== 'object' || value === null) {
74585
- return;
74586
- }
74587
- if (isArray(value)) {
74588
- for (let i = 0, len = value.length; i < len; i += 1) {
74589
- deepFreeze(value[i]);
74590
- }
74591
- }
74592
- else {
74593
- const keys$1 = keys(value);
74594
- for (let i = 0, len = keys$1.length; i < len; i += 1) {
74595
- const v = value[keys$1[i]];
74596
- deepFreeze(v);
74597
- }
74598
- }
74599
- return freeze(value);
74600
- }
74601
74014
  /**
74602
74015
  * A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
74603
74016
  * This is needed because insertion order for JSON.stringify(object) affects output:
@@ -76403,7 +75816,8 @@ function onFetchResponseSuccess(luvio, config, response, fragment) {
76403
75816
  reader.assignNonScalar(sink, 'data', body.data);
76404
75817
  reader.exitPath();
76405
75818
  reader.enterPath('errors');
76406
- reader.assignNonScalar(sink, 'errors', deepFreeze(body.errors));
75819
+ deepFreeze(body.errors);
75820
+ reader.assignNonScalar(sink, 'errors', body.errors);
76407
75821
  reader.exitPath();
76408
75822
  return sink;
76409
75823
  },
@@ -76628,7 +76042,7 @@ withDefaultLuvio((luvio) => {
76628
76042
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76629
76043
  graphQLImperative = ldsAdapter;
76630
76044
  });
76631
- // version: 1.134.6-a88a77801
76045
+ // version: 1.134.8-c3d6d2cfc
76632
76046
 
76633
76047
  var gqlApi = /*#__PURE__*/Object.freeze({
76634
76048
  __proto__: null,
@@ -77320,4 +76734,4 @@ const { luvio } = getRuntime();
77320
76734
  setDefaultLuvio({ luvio });
77321
76735
 
77322
76736
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
77323
- // version: 1.134.6-b7fe2f556
76737
+ // version: 1.134.8-87c38bf92