@builder.io/sdk-qwik 0.12.1 → 0.12.3

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.
@@ -4,7 +4,6 @@ const qwik = require("@builder.io/qwik");
4
4
  const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
5
5
  const build = require("@builder.io/qwik/build");
6
6
  const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
7
- qwik.useStylesScopedQrl(/* @__PURE__ */ qwik.inlinedQrl(STYLES$3, "Button_component_useStylesScoped_a1JZ0Q0Q2Oc"));
8
7
  return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
9
8
  children: props.link ? /* @__PURE__ */ qwik._jsxS("a", {
10
9
  ...props.attributes,
@@ -25,20 +24,16 @@ const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
25
24
  props
26
25
  ], "p0.text")
27
26
  }, {
28
- class: qwik._fnSignal((p0) => p0.attributes.class + " button-Button", [
27
+ class: qwik._fnSignal((p0) => `builder-button ${p0.attributes.class}`, [
29
28
  props
30
- ], 'p0.attributes.class+" button-Button"'),
29
+ ], "`builder-button ${p0.attributes.class}`"),
30
+ role: "button",
31
31
  style: qwik._fnSignal((p0) => p0.attributes.style, [
32
32
  props
33
33
  ], "p0.attributes.style")
34
34
  }, 0, null)
35
35
  }, 1, "jc_1");
36
36
  }, "Button_component_gJoMUICXoUQ"));
37
- const STYLES$3 = `
38
- .button-Button {
39
- all: unset;
40
- }
41
- `;
42
37
  const builderContext = qwik.createContextId("Builder");
43
38
  const ComponentsContext = qwik.createContextId("Components");
44
39
  function getBlockComponentOptions(block) {
@@ -3469,26 +3464,6 @@ function getProcessedBlock({ block, context, shouldEvaluateBindings, localState,
3469
3464
  else
3470
3465
  return transformedBlock;
3471
3466
  }
3472
- const EMPTY_HTML_ELEMENTS = [
3473
- "area",
3474
- "base",
3475
- "br",
3476
- "col",
3477
- "embed",
3478
- "hr",
3479
- "img",
3480
- "input",
3481
- "keygen",
3482
- "link",
3483
- "meta",
3484
- "param",
3485
- "source",
3486
- "track",
3487
- "wbr"
3488
- ];
3489
- const isEmptyHtmlElement = (tagName) => {
3490
- return typeof tagName === "string" && EMPTY_HTML_ELEMENTS.includes(tagName.toLowerCase());
3491
- };
3492
3467
  const getComponent = ({ block, context, registeredComponents }) => {
3493
3468
  var _a;
3494
3469
  const componentName = (_a = getProcessedBlock({
@@ -3773,38 +3748,67 @@ function getStyleAttribute(style) {
3773
3748
  return style;
3774
3749
  }
3775
3750
  }
3776
- const BlockWrapper = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
3751
+ const EMPTY_HTML_ELEMENTS = /* @__PURE__ */ new Set([
3752
+ "area",
3753
+ "base",
3754
+ "br",
3755
+ "col",
3756
+ "embed",
3757
+ "hr",
3758
+ "img",
3759
+ "input",
3760
+ "keygen",
3761
+ "link",
3762
+ "meta",
3763
+ "param",
3764
+ "source",
3765
+ "track",
3766
+ "wbr"
3767
+ ]);
3768
+ const isEmptyElement = (tagName) => {
3769
+ return typeof tagName === "string" && EMPTY_HTML_ELEMENTS.has(tagName.toLowerCase());
3770
+ };
3771
+ const DynamicRenderer = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
3777
3772
  qwik._jsxBranch();
3778
3773
  return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
3779
- children: props.hasChildren ? /* @__PURE__ */ qwik._jsxC(props.Wrapper, {
3780
- ...getBlockProperties({
3781
- block: props.block,
3782
- context: props.context
3783
- }),
3784
- ...getBlockActions({
3785
- block: props.block,
3786
- rootState: props.context.rootState,
3787
- rootSetState: props.context.rootSetState,
3788
- localState: props.context.localState,
3789
- context: props.context.context,
3790
- stripPrefix: true
3791
- }),
3792
- children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "87_0")
3793
- }, 0, "87_1") : /* @__PURE__ */ qwik._jsxC(props.Wrapper, {
3794
- ...getBlockProperties({
3795
- block: props.block,
3796
- context: props.context
3797
- }),
3798
- ...getBlockActions({
3799
- block: props.block,
3800
- rootState: props.context.rootState,
3801
- rootSetState: props.context.rootSetState,
3802
- localState: props.context.localState,
3803
- context: props.context.context,
3804
- stripPrefix: true
3805
- })
3806
- }, 0, "87_2")
3807
- }, 1, "87_3");
3774
+ children: !isEmptyElement(props.TagName) ? typeof props.TagName === "string" ? /* @__PURE__ */ qwik._jsxC(props.TagName, {
3775
+ ...props.attributes,
3776
+ ...props.actionAttributes,
3777
+ children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_0")
3778
+ }, 0, "yW_1") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
3779
+ ...props.attributes,
3780
+ ...props.actionAttributes,
3781
+ children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "yW_2")
3782
+ }, 0, "yW_3") : /* @__PURE__ */ qwik._jsxC(props.TagName, {
3783
+ ...props.attributes,
3784
+ ...props.actionAttributes
3785
+ }, 0, "yW_4")
3786
+ }, 1, "yW_5");
3787
+ }, "DynamicRenderer_component_1Co0xkmyAfQ"));
3788
+ const BlockWrapper = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
3789
+ return /* @__PURE__ */ qwik._jsxC(DynamicRenderer, {
3790
+ get TagName() {
3791
+ return props.Wrapper;
3792
+ },
3793
+ actionAttributes: getBlockActions({
3794
+ block: props.block,
3795
+ rootState: props.context.rootState,
3796
+ rootSetState: props.context.rootSetState,
3797
+ localState: props.context.localState,
3798
+ context: props.context.context,
3799
+ stripPrefix: true
3800
+ }),
3801
+ attributes: getBlockProperties({
3802
+ block: props.block,
3803
+ context: props.context
3804
+ }),
3805
+ children: /* @__PURE__ */ qwik._jsxC(qwik.Slot, null, 3, "87_0"),
3806
+ [qwik._IMMUTABLE]: {
3807
+ TagName: qwik._fnSignal((p0) => p0.Wrapper, [
3808
+ props
3809
+ ], "p0.Wrapper")
3810
+ }
3811
+ }, 1, "87_1");
3808
3812
  }, "BlockWrapper_component_kOI0j0aW8Nw"));
3809
3813
  const InteractiveElement = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
3810
3814
  return /* @__PURE__ */ qwik._jsxC(props.Wrapper, {
@@ -4028,151 +4032,120 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
4028
4032
  ], "p0.context")
4029
4033
  }
4030
4034
  }, 3, "jN_0"),
4031
- !((_a = blockComponent.value) == null ? void 0 : _a.noWrap) ? /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
4035
+ !((_a = blockComponent.value) == null ? void 0 : _a.noWrap) ? !repeatItem.value ? /* @__PURE__ */ qwik._jsxC(BlockWrapper, {
4036
+ get Wrapper() {
4037
+ return Tag.value;
4038
+ },
4039
+ get block() {
4040
+ return processedBlock.value;
4041
+ },
4042
+ get context() {
4043
+ return props.context;
4044
+ },
4032
4045
  children: [
4033
- isEmptyHtmlElement(Tag.value) ? /* @__PURE__ */ qwik._jsxC(BlockWrapper, {
4034
- get Wrapper() {
4035
- return Tag.value;
4046
+ /* @__PURE__ */ qwik._jsxC(ComponentRef, {
4047
+ get componentRef() {
4048
+ return componentRefProps.value.componentRef;
4049
+ },
4050
+ get componentOptions() {
4051
+ return componentRefProps.value.componentOptions;
4036
4052
  },
4037
- get block() {
4038
- return processedBlock.value;
4053
+ get blockChildren() {
4054
+ return componentRefProps.value.blockChildren;
4039
4055
  },
4040
4056
  get context() {
4041
- return props.context;
4057
+ return componentRefProps.value.context;
4058
+ },
4059
+ get registeredComponents() {
4060
+ return componentRefProps.value.registeredComponents;
4061
+ },
4062
+ get builderBlock() {
4063
+ return componentRefProps.value.builderBlock;
4064
+ },
4065
+ get includeBlockProps() {
4066
+ return componentRefProps.value.includeBlockProps;
4067
+ },
4068
+ get isInteractive() {
4069
+ return componentRefProps.value.isInteractive;
4042
4070
  },
4043
- hasChildren: false,
4044
4071
  [qwik._IMMUTABLE]: {
4045
- Wrapper: qwik._fnSignal((p0) => p0.value, [
4046
- Tag
4047
- ], "p0.value"),
4048
- block: qwik._fnSignal((p0) => p0.value, [
4049
- processedBlock
4050
- ], "p0.value"),
4051
- context: qwik._fnSignal((p0) => p0.context, [
4052
- props
4053
- ], "p0.context"),
4054
- hasChildren: qwik._IMMUTABLE
4072
+ blockChildren: qwik._fnSignal((p0) => p0.value.blockChildren, [
4073
+ componentRefProps
4074
+ ], "p0.value.blockChildren"),
4075
+ builderBlock: qwik._fnSignal((p0) => p0.value.builderBlock, [
4076
+ componentRefProps
4077
+ ], "p0.value.builderBlock"),
4078
+ componentOptions: qwik._fnSignal((p0) => p0.value.componentOptions, [
4079
+ componentRefProps
4080
+ ], "p0.value.componentOptions"),
4081
+ componentRef: qwik._fnSignal((p0) => p0.value.componentRef, [
4082
+ componentRefProps
4083
+ ], "p0.value.componentRef"),
4084
+ context: qwik._fnSignal((p0) => p0.value.context, [
4085
+ componentRefProps
4086
+ ], "p0.value.context"),
4087
+ includeBlockProps: qwik._fnSignal((p0) => p0.value.includeBlockProps, [
4088
+ componentRefProps
4089
+ ], "p0.value.includeBlockProps"),
4090
+ isInteractive: qwik._fnSignal((p0) => p0.value.isInteractive, [
4091
+ componentRefProps
4092
+ ], "p0.value.isInteractive"),
4093
+ registeredComponents: qwik._fnSignal((p0) => p0.value.registeredComponents, [
4094
+ componentRefProps
4095
+ ], "p0.value.registeredComponents")
4055
4096
  }
4056
- }, 3, "jN_1") : null,
4057
- !isEmptyHtmlElement(Tag.value) && repeatItem.value ? (repeatItem.value || []).map((data, index) => {
4058
- return /* @__PURE__ */ qwik._jsxC(RepeatedBlock, {
4059
- get repeatContext() {
4060
- return data.context;
4061
- },
4062
- get block() {
4063
- return data.block;
4097
+ }, 3, "jN_1"),
4098
+ (childrenWithoutParentComponent.value || []).map((child) => {
4099
+ return /* @__PURE__ */ qwik._jsxC(Block, {
4100
+ block: child,
4101
+ get context() {
4102
+ return state.childrenContext;
4064
4103
  },
4065
4104
  get registeredComponents() {
4066
4105
  return props.registeredComponents;
4067
4106
  },
4068
4107
  [qwik._IMMUTABLE]: {
4069
- block: qwik._wrapProp(data, "block"),
4108
+ context: qwik._fnSignal((p0) => p0.childrenContext, [
4109
+ state
4110
+ ], "p0.childrenContext"),
4070
4111
  registeredComponents: qwik._fnSignal((p0) => p0.registeredComponents, [
4071
4112
  props
4072
- ], "p0.registeredComponents"),
4073
- repeatContext: qwik._wrapProp(data, "context")
4113
+ ], "p0.registeredComponents")
4074
4114
  }
4075
- }, 3, index);
4076
- }) : null,
4077
- !isEmptyHtmlElement(Tag.value) && !repeatItem.value ? /* @__PURE__ */ qwik._jsxC(BlockWrapper, {
4078
- get Wrapper() {
4079
- return Tag.value;
4080
- },
4081
- get block() {
4082
- return processedBlock.value;
4083
- },
4084
- get context() {
4085
- return props.context;
4086
- },
4087
- children: [
4088
- /* @__PURE__ */ qwik._jsxC(ComponentRef, {
4089
- get componentRef() {
4090
- return componentRefProps.value.componentRef;
4091
- },
4092
- get componentOptions() {
4093
- return componentRefProps.value.componentOptions;
4094
- },
4095
- get blockChildren() {
4096
- return componentRefProps.value.blockChildren;
4097
- },
4098
- get context() {
4099
- return componentRefProps.value.context;
4100
- },
4101
- get registeredComponents() {
4102
- return componentRefProps.value.registeredComponents;
4103
- },
4104
- get builderBlock() {
4105
- return componentRefProps.value.builderBlock;
4106
- },
4107
- get includeBlockProps() {
4108
- return componentRefProps.value.includeBlockProps;
4109
- },
4110
- get isInteractive() {
4111
- return componentRefProps.value.isInteractive;
4112
- },
4113
- [qwik._IMMUTABLE]: {
4114
- blockChildren: qwik._fnSignal((p0) => p0.value.blockChildren, [
4115
- componentRefProps
4116
- ], "p0.value.blockChildren"),
4117
- builderBlock: qwik._fnSignal((p0) => p0.value.builderBlock, [
4118
- componentRefProps
4119
- ], "p0.value.builderBlock"),
4120
- componentOptions: qwik._fnSignal((p0) => p0.value.componentOptions, [
4121
- componentRefProps
4122
- ], "p0.value.componentOptions"),
4123
- componentRef: qwik._fnSignal((p0) => p0.value.componentRef, [
4124
- componentRefProps
4125
- ], "p0.value.componentRef"),
4126
- context: qwik._fnSignal((p0) => p0.value.context, [
4127
- componentRefProps
4128
- ], "p0.value.context"),
4129
- includeBlockProps: qwik._fnSignal((p0) => p0.value.includeBlockProps, [
4130
- componentRefProps
4131
- ], "p0.value.includeBlockProps"),
4132
- isInteractive: qwik._fnSignal((p0) => p0.value.isInteractive, [
4133
- componentRefProps
4134
- ], "p0.value.isInteractive"),
4135
- registeredComponents: qwik._fnSignal((p0) => p0.value.registeredComponents, [
4136
- componentRefProps
4137
- ], "p0.value.registeredComponents")
4138
- }
4139
- }, 3, "jN_2"),
4140
- (childrenWithoutParentComponent.value || []).map((child) => {
4141
- return /* @__PURE__ */ qwik._jsxC(Block, {
4142
- block: child,
4143
- get context() {
4144
- return state.childrenContext;
4145
- },
4146
- get registeredComponents() {
4147
- return props.registeredComponents;
4148
- },
4149
- [qwik._IMMUTABLE]: {
4150
- context: qwik._fnSignal((p0) => p0.childrenContext, [
4151
- state
4152
- ], "p0.childrenContext"),
4153
- registeredComponents: qwik._fnSignal((p0) => p0.registeredComponents, [
4154
- props
4155
- ], "p0.registeredComponents")
4156
- }
4157
- }, 3, child.id);
4158
- })
4159
- ],
4160
- hasChildren: true,
4161
- [qwik._IMMUTABLE]: {
4162
- Wrapper: qwik._fnSignal((p0) => p0.value, [
4163
- Tag
4164
- ], "p0.value"),
4165
- block: qwik._fnSignal((p0) => p0.value, [
4166
- processedBlock
4167
- ], "p0.value"),
4168
- context: qwik._fnSignal((p0) => p0.context, [
4169
- props
4170
- ], "p0.context"),
4171
- hasChildren: qwik._IMMUTABLE
4172
- }
4173
- }, 1, "jN_3") : null
4174
- ]
4175
- }, 1, "jN_4") : /* @__PURE__ */ qwik._jsxC(ComponentRef, {
4115
+ }, 3, child.id);
4116
+ })
4117
+ ],
4118
+ [qwik._IMMUTABLE]: {
4119
+ Wrapper: qwik._fnSignal((p0) => p0.value, [
4120
+ Tag
4121
+ ], "p0.value"),
4122
+ block: qwik._fnSignal((p0) => p0.value, [
4123
+ processedBlock
4124
+ ], "p0.value"),
4125
+ context: qwik._fnSignal((p0) => p0.context, [
4126
+ props
4127
+ ], "p0.context")
4128
+ }
4129
+ }, 1, "jN_2") : (repeatItem.value || []).map((data, index) => {
4130
+ return /* @__PURE__ */ qwik._jsxC(RepeatedBlock, {
4131
+ get repeatContext() {
4132
+ return data.context;
4133
+ },
4134
+ get block() {
4135
+ return data.block;
4136
+ },
4137
+ get registeredComponents() {
4138
+ return props.registeredComponents;
4139
+ },
4140
+ [qwik._IMMUTABLE]: {
4141
+ block: qwik._wrapProp(data, "block"),
4142
+ registeredComponents: qwik._fnSignal((p0) => p0.registeredComponents, [
4143
+ props
4144
+ ], "p0.registeredComponents"),
4145
+ repeatContext: qwik._wrapProp(data, "context")
4146
+ }
4147
+ }, 3, index);
4148
+ }) : /* @__PURE__ */ qwik._jsxC(ComponentRef, {
4176
4149
  get componentRef() {
4177
4150
  return componentRefProps.value.componentRef;
4178
4151
  },
@@ -4223,10 +4196,10 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
4223
4196
  componentRefProps
4224
4197
  ], "p0.value.registeredComponents")
4225
4198
  }
4226
- }, 3, "jN_5")
4199
+ }, 3, "jN_3")
4227
4200
  ]
4228
- }, 1, "jN_6") : null
4229
- }, 1, "jN_7");
4201
+ }, 1, "jN_4") : null
4202
+ }, 1, "jN_5");
4230
4203
  }, "Block_component_nnPv0RY0U0k"));
4231
4204
  const onClick$1 = function onClick2(props, state) {
4232
4205
  var _a, _b;
@@ -6273,6 +6246,17 @@ async function fetchEntries(options) {
6273
6246
  }
6274
6247
  }
6275
6248
  const getAllContent = fetchEntries;
6249
+ const DEFAULT_TRUSTED_HOSTS = [
6250
+ "*.beta.builder.io",
6251
+ "beta.builder.io",
6252
+ "builder.io",
6253
+ "localhost",
6254
+ "qa.builder.io"
6255
+ ];
6256
+ function isFromTrustedHost(trustedHosts, e) {
6257
+ const url = new URL(e.origin), hostname = url.hostname;
6258
+ return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
6259
+ }
6276
6260
  function isPreviewing() {
6277
6261
  if (!isBrowser())
6278
6262
  return false;
@@ -6472,7 +6456,7 @@ const getInteractionPropertiesForEvent = (event) => {
6472
6456
  }
6473
6457
  };
6474
6458
  };
6475
- const SDK_VERSION = "0.12.1";
6459
+ const SDK_VERSION = "0.12.3";
6476
6460
  const registry = {};
6477
6461
  function register(type, info) {
6478
6462
  let typeList = registry[type];
@@ -6555,8 +6539,11 @@ const setupBrowserForEditing = (options = {}) => {
6555
6539
  options
6556
6540
  }
6557
6541
  }, "*");
6558
- window.addEventListener("message", ({ data }) => {
6542
+ window.addEventListener("message", (event) => {
6559
6543
  var _a2, _b2;
6544
+ if (!isFromTrustedHost(options.trustedHosts, event))
6545
+ return;
6546
+ const { data } = event;
6560
6547
  if (!(data == null ? void 0 : data.type))
6561
6548
  return;
6562
6549
  switch (data.type) {
@@ -6635,6 +6622,8 @@ const mergeNewContent = function mergeNewContent2(props, state, elementRef, newC
6635
6622
  };
6636
6623
  const processMessage = function processMessage2(props, state, elementRef, event) {
6637
6624
  var _a;
6625
+ if (!isFromTrustedHost(props.trustedHosts, event))
6626
+ return;
6638
6627
  const { data } = event;
6639
6628
  if (data)
6640
6629
  switch (data.type) {
@@ -6769,6 +6758,9 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
6769
6758
  } : {},
6770
6759
  ...props2.enrich ? {
6771
6760
  enrich: props2.enrich
6761
+ } : {},
6762
+ ...props2.trustedHosts ? {
6763
+ trustedHosts: props2.trustedHosts
6772
6764
  } : {}
6773
6765
  });
6774
6766
  Object.values(props2.builderContextSignal.componentInfos).forEach((registeredComponent) => {
@@ -6991,6 +6983,10 @@ ${getFontCss({
6991
6983
  customFonts: props.customFonts
6992
6984
  })}
6993
6985
 
6986
+ .builder-button {
6987
+ all: unset;
6988
+ }
6989
+
6994
6990
  .builder-text > p:first-of-type, .builder-text > .builder-paragraph:first-of-type {
6995
6991
  margin: 0;
6996
6992
  }
@@ -7147,6 +7143,9 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
7147
7143
  get contentWrapperProps() {
7148
7144
  return props.contentWrapperProps;
7149
7145
  },
7146
+ get trustedHosts() {
7147
+ return props.trustedHosts;
7148
+ },
7150
7149
  children: [
7151
7150
  props.isSsrAbTest ? /* @__PURE__ */ qwik._jsxC(InlinedScript, {
7152
7151
  get scriptStr() {
@@ -7258,7 +7257,10 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
7258
7257
  ], "p0.model"),
7259
7258
  showContent: qwik._fnSignal((p0) => p0.showContent, [
7260
7259
  props
7261
- ], "p0.showContent")
7260
+ ], "p0.showContent"),
7261
+ trustedHosts: qwik._fnSignal((p0) => p0.trustedHosts, [
7262
+ props
7263
+ ], "p0.trustedHosts")
7262
7264
  }
7263
7265
  }, 1, "LQ_3");
7264
7266
  }, "ContentComponent_component_HIsczUcxjCE"));
@@ -7391,6 +7393,9 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
7391
7393
  get contentWrapperProps() {
7392
7394
  return props.contentWrapperProps;
7393
7395
  },
7396
+ get trustedHosts() {
7397
+ return props.trustedHosts;
7398
+ },
7394
7399
  [qwik._IMMUTABLE]: {
7395
7400
  apiKey: qwik._fnSignal((p0) => p0.apiKey, [
7396
7401
  props
@@ -7437,7 +7442,10 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
7437
7442
  model: qwik._fnSignal((p0) => p0.model, [
7438
7443
  props
7439
7444
  ], "p0.model"),
7440
- showContent: qwik._IMMUTABLE
7445
+ showContent: qwik._IMMUTABLE,
7446
+ trustedHosts: qwik._fnSignal((p0) => p0.trustedHosts, [
7447
+ props
7448
+ ], "p0.trustedHosts")
7441
7449
  }
7442
7450
  }, 3, variant.testVariationId);
7443
7451
  })
@@ -7493,6 +7501,9 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
7493
7501
  get contentWrapperProps() {
7494
7502
  return props.contentWrapperProps;
7495
7503
  },
7504
+ get trustedHosts() {
7505
+ return props.trustedHosts;
7506
+ },
7496
7507
  [qwik._IMMUTABLE]: {
7497
7508
  apiKey: qwik._fnSignal((p0) => p0.apiKey, [
7498
7509
  props
@@ -7542,7 +7553,10 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
7542
7553
  model: qwik._fnSignal((p0) => p0.model, [
7543
7554
  props
7544
7555
  ], "p0.model"),
7545
- showContent: qwik._IMMUTABLE
7556
+ showContent: qwik._IMMUTABLE,
7557
+ trustedHosts: qwik._fnSignal((p0) => p0.trustedHosts, [
7558
+ props
7559
+ ], "p0.trustedHosts")
7546
7560
  }
7547
7561
  }, 3, "XM_4")
7548
7562
  ]