@builder.io/sdk-qwik 0.14.9 → 0.14.11

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.
@@ -704,7 +704,7 @@ const InlinedStyles = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inl
704
704
  dangerouslySetInnerHTML: qwik._fnSignal((p0) => p0.styles, [
705
705
  props
706
706
  ], "p0.styles"),
707
- id: qwik._fnSignal((p0) => p0.id, [
707
+ "data-id": qwik._fnSignal((p0) => p0.id, [
708
708
  props
709
709
  ], "p0.id")
710
710
  }, null, 3, "NG_0");
@@ -773,10 +773,12 @@ const BlockStyles = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
773
773
  ]));
774
774
  return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
775
775
  children: css.value && canShowBlock.value ? /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
776
+ id: "builderio-block",
776
777
  get styles() {
777
778
  return css.value;
778
779
  },
779
780
  [qwik._IMMUTABLE]: {
781
+ id: qwik._IMMUTABLE,
780
782
  styles: qwik._fnSignal((p0) => p0.value, [
781
783
  css
782
784
  ], "p0.value")
@@ -1623,10 +1625,12 @@ const Columns = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQr
1623
1625
  ], "p0.value")
1624
1626
  }, [
1625
1627
  /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
1628
+ id: "builderio-columns",
1626
1629
  get styles() {
1627
1630
  return columnsStyles.value;
1628
1631
  },
1629
1632
  [qwik._IMMUTABLE]: {
1633
+ id: qwik._IMMUTABLE,
1630
1634
  styles: qwik._fnSignal((p0) => p0.value, [
1631
1635
  columnsStyles
1632
1636
  ], "p0.value")
@@ -3989,7 +3993,7 @@ const checkShouldRenderVariants = ({ canTrack, content }) => {
3989
3993
  };
3990
3994
  const getIsHydrationTarget = (target) => target === "react" || target === "reactNative";
3991
3995
  const isHydrationTarget = getIsHydrationTarget(TARGET);
3992
- const getScriptString = () => `
3996
+ const getInitVariantsFnsScriptString = () => `
3993
3997
  window.${UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME} = ${UPDATE_COOKIES_AND_STYLES_SCRIPT}
3994
3998
  window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME} = ${UPDATE_VARIANT_VISIBILITY_SCRIPT}
3995
3999
  `;
@@ -4005,9 +4009,9 @@ const InlinedScript = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inl
4005
4009
  dangerouslySetInnerHTML: qwik._fnSignal((p0) => p0.scriptStr, [
4006
4010
  props
4007
4011
  ], "p0.scriptStr"),
4008
- id: qwik._fnSignal((p0) => p0.id || "", [
4012
+ "data-id": qwik._fnSignal((p0) => p0.id, [
4009
4013
  props
4010
- ], 'p0.id||""')
4014
+ ], "p0.id")
4011
4015
  }, null, 3, "WO_0");
4012
4016
  }, "InlinedScript_component_hwThBdhA8rw"));
4013
4017
  function getGlobalThis() {
@@ -4141,7 +4145,8 @@ async function fetchOneEntry(options) {
4141
4145
  }
4142
4146
  const _fetchContent = async (options) => {
4143
4147
  const url = generateContentUrl(options);
4144
- const res = await fetch$1(url.href);
4148
+ const _fetch = options.fetch ?? fetch$1;
4149
+ const res = await _fetch(url.href, options.fetchOptions);
4145
4150
  const content = await res.json();
4146
4151
  return content;
4147
4152
  };
@@ -4394,7 +4399,7 @@ function isFromTrustedHost(trustedHosts, e) {
4394
4399
  const url = new URL(e.origin), hostname = url.hostname;
4395
4400
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4396
4401
  }
4397
- const SDK_VERSION = "0.14.9";
4402
+ const SDK_VERSION = "0.14.11";
4398
4403
  const registry = {};
4399
4404
  function register(type, info) {
4400
4405
  let typeList = registry[type];
@@ -5027,10 +5032,12 @@ ${getDefaultStyles(props.isNestedRender)}
5027
5032
  `.trim()
5028
5033
  });
5029
5034
  return /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
5035
+ id: "builderio-content",
5030
5036
  get styles() {
5031
5037
  return state.injectedStyles;
5032
5038
  },
5033
5039
  [qwik._IMMUTABLE]: {
5040
+ id: qwik._IMMUTABLE,
5034
5041
  styles: qwik._fnSignal((p0) => p0.injectedStyles, [
5035
5042
  state
5036
5043
  ], "p0.injectedStyles")
@@ -5161,10 +5168,12 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
5161
5168
  },
5162
5169
  children: [
5163
5170
  props.isSsrAbTest ? /* @__PURE__ */ qwik._jsxC(InlinedScript, {
5171
+ id: "builderio-variant-visibility",
5164
5172
  get scriptStr() {
5165
5173
  return state.scriptStr;
5166
5174
  },
5167
5175
  [qwik._IMMUTABLE]: {
5176
+ id: qwik._IMMUTABLE,
5168
5177
  scriptStr: qwik._fnSignal((p0) => p0.scriptStr, [
5169
5178
  state
5170
5179
  ], "p0.scriptStr")
@@ -5330,40 +5339,36 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
5330
5339
  return /* @__PURE__ */ qwik._jsxC(qwik.Fragment, {
5331
5340
  children: [
5332
5341
  !props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */ qwik._jsxC(InlinedScript, {
5342
+ id: "builderio-init-variants-fns",
5333
5343
  get scriptStr() {
5334
- return getScriptString();
5344
+ return getInitVariantsFnsScriptString();
5335
5345
  },
5336
5346
  [qwik._IMMUTABLE]: {
5347
+ id: qwik._IMMUTABLE,
5337
5348
  scriptStr: qwik._IMMUTABLE
5338
5349
  }
5339
5350
  }, 3, "XM_0") : null,
5340
5351
  state.shouldRenderVariants ? /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
5341
5352
  children: [
5342
5353
  /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
5343
- get id() {
5344
- var _a;
5345
- return `variants-styles-${(_a = props.content) == null ? void 0 : _a.id}`;
5346
- },
5354
+ id: "builderio-variants",
5347
5355
  get styles() {
5348
5356
  return hideVariantsStyleString.value;
5349
5357
  },
5350
5358
  [qwik._IMMUTABLE]: {
5351
- id: qwik._fnSignal((p0) => {
5352
- var _a;
5353
- return `variants-styles-${(_a = p0.content) == null ? void 0 : _a.id}`;
5354
- }, [
5355
- props
5356
- ], "`variants-styles-${p0.content?.id}`"),
5359
+ id: qwik._IMMUTABLE,
5357
5360
  styles: qwik._fnSignal((p0) => p0.value, [
5358
5361
  hideVariantsStyleString
5359
5362
  ], "p0.value")
5360
5363
  }
5361
5364
  }, 3, "XM_1"),
5362
5365
  /* @__PURE__ */ qwik._jsxC(InlinedScript, {
5366
+ id: "builderio-variants-visibility",
5363
5367
  get scriptStr() {
5364
5368
  return updateCookieAndStylesScriptStr.value;
5365
5369
  },
5366
5370
  [qwik._IMMUTABLE]: {
5371
+ id: qwik._IMMUTABLE,
5367
5372
  scriptStr: qwik._fnSignal((p0) => p0.value, [
5368
5373
  updateCookieAndStylesScriptStr
5369
5374
  ], "p0.value")
@@ -702,7 +702,7 @@ const InlinedStyles = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
702
702
  dangerouslySetInnerHTML: _fnSignal((p0) => p0.styles, [
703
703
  props
704
704
  ], "p0.styles"),
705
- id: _fnSignal((p0) => p0.id, [
705
+ "data-id": _fnSignal((p0) => p0.id, [
706
706
  props
707
707
  ], "p0.id")
708
708
  }, null, 3, "NG_0");
@@ -771,10 +771,12 @@ const BlockStyles = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
771
771
  ]));
772
772
  return /* @__PURE__ */ _jsxC(Fragment, {
773
773
  children: css.value && canShowBlock.value ? /* @__PURE__ */ _jsxC(InlinedStyles, {
774
+ id: "builderio-block",
774
775
  get styles() {
775
776
  return css.value;
776
777
  },
777
778
  [_IMMUTABLE]: {
779
+ id: _IMMUTABLE,
778
780
  styles: _fnSignal((p0) => p0.value, [
779
781
  css
780
782
  ], "p0.value")
@@ -1621,10 +1623,12 @@ const Columns = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
1621
1623
  ], "p0.value")
1622
1624
  }, [
1623
1625
  /* @__PURE__ */ _jsxC(InlinedStyles, {
1626
+ id: "builderio-columns",
1624
1627
  get styles() {
1625
1628
  return columnsStyles.value;
1626
1629
  },
1627
1630
  [_IMMUTABLE]: {
1631
+ id: _IMMUTABLE,
1628
1632
  styles: _fnSignal((p0) => p0.value, [
1629
1633
  columnsStyles
1630
1634
  ], "p0.value")
@@ -3987,7 +3991,7 @@ const checkShouldRenderVariants = ({ canTrack, content }) => {
3987
3991
  };
3988
3992
  const getIsHydrationTarget = (target) => target === "react" || target === "reactNative";
3989
3993
  const isHydrationTarget = getIsHydrationTarget(TARGET);
3990
- const getScriptString = () => `
3994
+ const getInitVariantsFnsScriptString = () => `
3991
3995
  window.${UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME} = ${UPDATE_COOKIES_AND_STYLES_SCRIPT}
3992
3996
  window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME} = ${UPDATE_VARIANT_VISIBILITY_SCRIPT}
3993
3997
  `;
@@ -4003,9 +4007,9 @@ const InlinedScript = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
4003
4007
  dangerouslySetInnerHTML: _fnSignal((p0) => p0.scriptStr, [
4004
4008
  props
4005
4009
  ], "p0.scriptStr"),
4006
- id: _fnSignal((p0) => p0.id || "", [
4010
+ "data-id": _fnSignal((p0) => p0.id, [
4007
4011
  props
4008
- ], 'p0.id||""')
4012
+ ], "p0.id")
4009
4013
  }, null, 3, "WO_0");
4010
4014
  }, "InlinedScript_component_hwThBdhA8rw"));
4011
4015
  function getGlobalThis() {
@@ -4139,7 +4143,8 @@ async function fetchOneEntry(options) {
4139
4143
  }
4140
4144
  const _fetchContent = async (options) => {
4141
4145
  const url = generateContentUrl(options);
4142
- const res = await fetch$1(url.href);
4146
+ const _fetch = options.fetch ?? fetch$1;
4147
+ const res = await _fetch(url.href, options.fetchOptions);
4143
4148
  const content = await res.json();
4144
4149
  return content;
4145
4150
  };
@@ -4392,7 +4397,7 @@ function isFromTrustedHost(trustedHosts, e) {
4392
4397
  const url = new URL(e.origin), hostname = url.hostname;
4393
4398
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4394
4399
  }
4395
- const SDK_VERSION = "0.14.9";
4400
+ const SDK_VERSION = "0.14.11";
4396
4401
  const registry = {};
4397
4402
  function register(type, info) {
4398
4403
  let typeList = registry[type];
@@ -5025,10 +5030,12 @@ ${getDefaultStyles(props.isNestedRender)}
5025
5030
  `.trim()
5026
5031
  });
5027
5032
  return /* @__PURE__ */ _jsxC(InlinedStyles, {
5033
+ id: "builderio-content",
5028
5034
  get styles() {
5029
5035
  return state.injectedStyles;
5030
5036
  },
5031
5037
  [_IMMUTABLE]: {
5038
+ id: _IMMUTABLE,
5032
5039
  styles: _fnSignal((p0) => p0.injectedStyles, [
5033
5040
  state
5034
5041
  ], "p0.injectedStyles")
@@ -5159,10 +5166,12 @@ const ContentComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl
5159
5166
  },
5160
5167
  children: [
5161
5168
  props.isSsrAbTest ? /* @__PURE__ */ _jsxC(InlinedScript, {
5169
+ id: "builderio-variant-visibility",
5162
5170
  get scriptStr() {
5163
5171
  return state.scriptStr;
5164
5172
  },
5165
5173
  [_IMMUTABLE]: {
5174
+ id: _IMMUTABLE,
5166
5175
  scriptStr: _fnSignal((p0) => p0.scriptStr, [
5167
5176
  state
5168
5177
  ], "p0.scriptStr")
@@ -5328,40 +5337,36 @@ const ContentVariants = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
5328
5337
  return /* @__PURE__ */ _jsxC(Fragment$1, {
5329
5338
  children: [
5330
5339
  !props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */ _jsxC(InlinedScript, {
5340
+ id: "builderio-init-variants-fns",
5331
5341
  get scriptStr() {
5332
- return getScriptString();
5342
+ return getInitVariantsFnsScriptString();
5333
5343
  },
5334
5344
  [_IMMUTABLE]: {
5345
+ id: _IMMUTABLE,
5335
5346
  scriptStr: _IMMUTABLE
5336
5347
  }
5337
5348
  }, 3, "XM_0") : null,
5338
5349
  state.shouldRenderVariants ? /* @__PURE__ */ _jsxC(Fragment, {
5339
5350
  children: [
5340
5351
  /* @__PURE__ */ _jsxC(InlinedStyles, {
5341
- get id() {
5342
- var _a;
5343
- return `variants-styles-${(_a = props.content) == null ? void 0 : _a.id}`;
5344
- },
5352
+ id: "builderio-variants",
5345
5353
  get styles() {
5346
5354
  return hideVariantsStyleString.value;
5347
5355
  },
5348
5356
  [_IMMUTABLE]: {
5349
- id: _fnSignal((p0) => {
5350
- var _a;
5351
- return `variants-styles-${(_a = p0.content) == null ? void 0 : _a.id}`;
5352
- }, [
5353
- props
5354
- ], "`variants-styles-${p0.content?.id}`"),
5357
+ id: _IMMUTABLE,
5355
5358
  styles: _fnSignal((p0) => p0.value, [
5356
5359
  hideVariantsStyleString
5357
5360
  ], "p0.value")
5358
5361
  }
5359
5362
  }, 3, "XM_1"),
5360
5363
  /* @__PURE__ */ _jsxC(InlinedScript, {
5364
+ id: "builderio-variants-visibility",
5361
5365
  get scriptStr() {
5362
5366
  return updateCookieAndStylesScriptStr.value;
5363
5367
  },
5364
5368
  [_IMMUTABLE]: {
5369
+ id: _IMMUTABLE,
5365
5370
  scriptStr: _fnSignal((p0) => p0.value, [
5366
5371
  updateCookieAndStylesScriptStr
5367
5372
  ], "p0.value")
@@ -3935,7 +3935,7 @@ const InlinedStyles = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inl
3935
3935
  dangerouslySetInnerHTML: qwik._fnSignal((p0) => p0.styles, [
3936
3936
  props
3937
3937
  ], "p0.styles"),
3938
- id: qwik._fnSignal((p0) => p0.id, [
3938
+ "data-id": qwik._fnSignal((p0) => p0.id, [
3939
3939
  props
3940
3940
  ], "p0.id")
3941
3941
  }, null, 3, "NG_0");
@@ -4004,10 +4004,12 @@ const BlockStyles = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
4004
4004
  ]));
4005
4005
  return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
4006
4006
  children: css.value && canShowBlock.value ? /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
4007
+ id: "builderio-block",
4007
4008
  get styles() {
4008
4009
  return css.value;
4009
4010
  },
4010
4011
  [qwik._IMMUTABLE]: {
4012
+ id: qwik._IMMUTABLE,
4011
4013
  styles: qwik._fnSignal((p0) => p0.value, [
4012
4014
  css
4013
4015
  ], "p0.value")
@@ -4854,10 +4856,12 @@ const Columns = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQr
4854
4856
  ], "p0.value")
4855
4857
  }, [
4856
4858
  /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
4859
+ id: "builderio-columns",
4857
4860
  get styles() {
4858
4861
  return columnsStyles.value;
4859
4862
  },
4860
4863
  [qwik._IMMUTABLE]: {
4864
+ id: qwik._IMMUTABLE,
4861
4865
  styles: qwik._fnSignal((p0) => p0.value, [
4862
4866
  columnsStyles
4863
4867
  ], "p0.value")
@@ -7220,7 +7224,7 @@ const checkShouldRenderVariants = ({ canTrack, content }) => {
7220
7224
  };
7221
7225
  const getIsHydrationTarget = (target) => target === "react" || target === "reactNative";
7222
7226
  const isHydrationTarget = getIsHydrationTarget(TARGET);
7223
- const getScriptString = () => `
7227
+ const getInitVariantsFnsScriptString = () => `
7224
7228
  window.${UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME} = ${UPDATE_COOKIES_AND_STYLES_SCRIPT}
7225
7229
  window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME} = ${UPDATE_VARIANT_VISIBILITY_SCRIPT}
7226
7230
  `;
@@ -7236,9 +7240,9 @@ const InlinedScript = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inl
7236
7240
  dangerouslySetInnerHTML: qwik._fnSignal((p0) => p0.scriptStr, [
7237
7241
  props
7238
7242
  ], "p0.scriptStr"),
7239
- id: qwik._fnSignal((p0) => p0.id || "", [
7243
+ "data-id": qwik._fnSignal((p0) => p0.id, [
7240
7244
  props
7241
- ], 'p0.id||""')
7245
+ ], "p0.id")
7242
7246
  }, null, 3, "WO_0");
7243
7247
  }, "InlinedScript_component_hwThBdhA8rw"));
7244
7248
  function getGlobalThis() {
@@ -7372,7 +7376,8 @@ async function fetchOneEntry(options) {
7372
7376
  }
7373
7377
  const _fetchContent = async (options) => {
7374
7378
  const url = generateContentUrl(options);
7375
- const res = await fetch$1(url.href);
7379
+ const _fetch = options.fetch ?? fetch$1;
7380
+ const res = await _fetch(url.href, options.fetchOptions);
7376
7381
  const content = await res.json();
7377
7382
  return content;
7378
7383
  };
@@ -7625,7 +7630,7 @@ function isFromTrustedHost(trustedHosts, e) {
7625
7630
  const url = new URL(e.origin), hostname = url.hostname;
7626
7631
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
7627
7632
  }
7628
- const SDK_VERSION = "0.14.9";
7633
+ const SDK_VERSION = "0.14.11";
7629
7634
  const registry = {};
7630
7635
  function register(type, info) {
7631
7636
  let typeList = registry[type];
@@ -8258,10 +8263,12 @@ ${getDefaultStyles(props.isNestedRender)}
8258
8263
  `.trim()
8259
8264
  });
8260
8265
  return /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
8266
+ id: "builderio-content",
8261
8267
  get styles() {
8262
8268
  return state.injectedStyles;
8263
8269
  },
8264
8270
  [qwik._IMMUTABLE]: {
8271
+ id: qwik._IMMUTABLE,
8265
8272
  styles: qwik._fnSignal((p0) => p0.injectedStyles, [
8266
8273
  state
8267
8274
  ], "p0.injectedStyles")
@@ -8392,10 +8399,12 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
8392
8399
  },
8393
8400
  children: [
8394
8401
  props.isSsrAbTest ? /* @__PURE__ */ qwik._jsxC(InlinedScript, {
8402
+ id: "builderio-variant-visibility",
8395
8403
  get scriptStr() {
8396
8404
  return state.scriptStr;
8397
8405
  },
8398
8406
  [qwik._IMMUTABLE]: {
8407
+ id: qwik._IMMUTABLE,
8399
8408
  scriptStr: qwik._fnSignal((p0) => p0.scriptStr, [
8400
8409
  state
8401
8410
  ], "p0.scriptStr")
@@ -8561,40 +8570,36 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
8561
8570
  return /* @__PURE__ */ qwik._jsxC(qwik.Fragment, {
8562
8571
  children: [
8563
8572
  !props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */ qwik._jsxC(InlinedScript, {
8573
+ id: "builderio-init-variants-fns",
8564
8574
  get scriptStr() {
8565
- return getScriptString();
8575
+ return getInitVariantsFnsScriptString();
8566
8576
  },
8567
8577
  [qwik._IMMUTABLE]: {
8578
+ id: qwik._IMMUTABLE,
8568
8579
  scriptStr: qwik._IMMUTABLE
8569
8580
  }
8570
8581
  }, 3, "XM_0") : null,
8571
8582
  state.shouldRenderVariants ? /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
8572
8583
  children: [
8573
8584
  /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
8574
- get id() {
8575
- var _a;
8576
- return `variants-styles-${(_a = props.content) == null ? void 0 : _a.id}`;
8577
- },
8585
+ id: "builderio-variants",
8578
8586
  get styles() {
8579
8587
  return hideVariantsStyleString.value;
8580
8588
  },
8581
8589
  [qwik._IMMUTABLE]: {
8582
- id: qwik._fnSignal((p0) => {
8583
- var _a;
8584
- return `variants-styles-${(_a = p0.content) == null ? void 0 : _a.id}`;
8585
- }, [
8586
- props
8587
- ], "`variants-styles-${p0.content?.id}`"),
8590
+ id: qwik._IMMUTABLE,
8588
8591
  styles: qwik._fnSignal((p0) => p0.value, [
8589
8592
  hideVariantsStyleString
8590
8593
  ], "p0.value")
8591
8594
  }
8592
8595
  }, 3, "XM_1"),
8593
8596
  /* @__PURE__ */ qwik._jsxC(InlinedScript, {
8597
+ id: "builderio-variants-visibility",
8594
8598
  get scriptStr() {
8595
8599
  return updateCookieAndStylesScriptStr.value;
8596
8600
  },
8597
8601
  [qwik._IMMUTABLE]: {
8602
+ id: qwik._IMMUTABLE,
8598
8603
  scriptStr: qwik._fnSignal((p0) => p0.value, [
8599
8604
  updateCookieAndStylesScriptStr
8600
8605
  ], "p0.value")
@@ -3933,7 +3933,7 @@ const InlinedStyles = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
3933
3933
  dangerouslySetInnerHTML: _fnSignal((p0) => p0.styles, [
3934
3934
  props
3935
3935
  ], "p0.styles"),
3936
- id: _fnSignal((p0) => p0.id, [
3936
+ "data-id": _fnSignal((p0) => p0.id, [
3937
3937
  props
3938
3938
  ], "p0.id")
3939
3939
  }, null, 3, "NG_0");
@@ -4002,10 +4002,12 @@ const BlockStyles = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
4002
4002
  ]));
4003
4003
  return /* @__PURE__ */ _jsxC(Fragment, {
4004
4004
  children: css.value && canShowBlock.value ? /* @__PURE__ */ _jsxC(InlinedStyles, {
4005
+ id: "builderio-block",
4005
4006
  get styles() {
4006
4007
  return css.value;
4007
4008
  },
4008
4009
  [_IMMUTABLE]: {
4010
+ id: _IMMUTABLE,
4009
4011
  styles: _fnSignal((p0) => p0.value, [
4010
4012
  css
4011
4013
  ], "p0.value")
@@ -4852,10 +4854,12 @@ const Columns = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
4852
4854
  ], "p0.value")
4853
4855
  }, [
4854
4856
  /* @__PURE__ */ _jsxC(InlinedStyles, {
4857
+ id: "builderio-columns",
4855
4858
  get styles() {
4856
4859
  return columnsStyles.value;
4857
4860
  },
4858
4861
  [_IMMUTABLE]: {
4862
+ id: _IMMUTABLE,
4859
4863
  styles: _fnSignal((p0) => p0.value, [
4860
4864
  columnsStyles
4861
4865
  ], "p0.value")
@@ -7218,7 +7222,7 @@ const checkShouldRenderVariants = ({ canTrack, content }) => {
7218
7222
  };
7219
7223
  const getIsHydrationTarget = (target) => target === "react" || target === "reactNative";
7220
7224
  const isHydrationTarget = getIsHydrationTarget(TARGET);
7221
- const getScriptString = () => `
7225
+ const getInitVariantsFnsScriptString = () => `
7222
7226
  window.${UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME} = ${UPDATE_COOKIES_AND_STYLES_SCRIPT}
7223
7227
  window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME} = ${UPDATE_VARIANT_VISIBILITY_SCRIPT}
7224
7228
  `;
@@ -7234,9 +7238,9 @@ const InlinedScript = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
7234
7238
  dangerouslySetInnerHTML: _fnSignal((p0) => p0.scriptStr, [
7235
7239
  props
7236
7240
  ], "p0.scriptStr"),
7237
- id: _fnSignal((p0) => p0.id || "", [
7241
+ "data-id": _fnSignal((p0) => p0.id, [
7238
7242
  props
7239
- ], 'p0.id||""')
7243
+ ], "p0.id")
7240
7244
  }, null, 3, "WO_0");
7241
7245
  }, "InlinedScript_component_hwThBdhA8rw"));
7242
7246
  function getGlobalThis() {
@@ -7370,7 +7374,8 @@ async function fetchOneEntry(options) {
7370
7374
  }
7371
7375
  const _fetchContent = async (options) => {
7372
7376
  const url = generateContentUrl(options);
7373
- const res = await fetch$1(url.href);
7377
+ const _fetch = options.fetch ?? fetch$1;
7378
+ const res = await _fetch(url.href, options.fetchOptions);
7374
7379
  const content = await res.json();
7375
7380
  return content;
7376
7381
  };
@@ -7623,7 +7628,7 @@ function isFromTrustedHost(trustedHosts, e) {
7623
7628
  const url = new URL(e.origin), hostname = url.hostname;
7624
7629
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
7625
7630
  }
7626
- const SDK_VERSION = "0.14.9";
7631
+ const SDK_VERSION = "0.14.11";
7627
7632
  const registry = {};
7628
7633
  function register(type, info) {
7629
7634
  let typeList = registry[type];
@@ -8256,10 +8261,12 @@ ${getDefaultStyles(props.isNestedRender)}
8256
8261
  `.trim()
8257
8262
  });
8258
8263
  return /* @__PURE__ */ _jsxC(InlinedStyles, {
8264
+ id: "builderio-content",
8259
8265
  get styles() {
8260
8266
  return state.injectedStyles;
8261
8267
  },
8262
8268
  [_IMMUTABLE]: {
8269
+ id: _IMMUTABLE,
8263
8270
  styles: _fnSignal((p0) => p0.injectedStyles, [
8264
8271
  state
8265
8272
  ], "p0.injectedStyles")
@@ -8390,10 +8397,12 @@ const ContentComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl
8390
8397
  },
8391
8398
  children: [
8392
8399
  props.isSsrAbTest ? /* @__PURE__ */ _jsxC(InlinedScript, {
8400
+ id: "builderio-variant-visibility",
8393
8401
  get scriptStr() {
8394
8402
  return state.scriptStr;
8395
8403
  },
8396
8404
  [_IMMUTABLE]: {
8405
+ id: _IMMUTABLE,
8397
8406
  scriptStr: _fnSignal((p0) => p0.scriptStr, [
8398
8407
  state
8399
8408
  ], "p0.scriptStr")
@@ -8559,40 +8568,36 @@ const ContentVariants = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
8559
8568
  return /* @__PURE__ */ _jsxC(Fragment$1, {
8560
8569
  children: [
8561
8570
  !props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */ _jsxC(InlinedScript, {
8571
+ id: "builderio-init-variants-fns",
8562
8572
  get scriptStr() {
8563
- return getScriptString();
8573
+ return getInitVariantsFnsScriptString();
8564
8574
  },
8565
8575
  [_IMMUTABLE]: {
8576
+ id: _IMMUTABLE,
8566
8577
  scriptStr: _IMMUTABLE
8567
8578
  }
8568
8579
  }, 3, "XM_0") : null,
8569
8580
  state.shouldRenderVariants ? /* @__PURE__ */ _jsxC(Fragment, {
8570
8581
  children: [
8571
8582
  /* @__PURE__ */ _jsxC(InlinedStyles, {
8572
- get id() {
8573
- var _a;
8574
- return `variants-styles-${(_a = props.content) == null ? void 0 : _a.id}`;
8575
- },
8583
+ id: "builderio-variants",
8576
8584
  get styles() {
8577
8585
  return hideVariantsStyleString.value;
8578
8586
  },
8579
8587
  [_IMMUTABLE]: {
8580
- id: _fnSignal((p0) => {
8581
- var _a;
8582
- return `variants-styles-${(_a = p0.content) == null ? void 0 : _a.id}`;
8583
- }, [
8584
- props
8585
- ], "`variants-styles-${p0.content?.id}`"),
8588
+ id: _IMMUTABLE,
8586
8589
  styles: _fnSignal((p0) => p0.value, [
8587
8590
  hideVariantsStyleString
8588
8591
  ], "p0.value")
8589
8592
  }
8590
8593
  }, 3, "XM_1"),
8591
8594
  /* @__PURE__ */ _jsxC(InlinedScript, {
8595
+ id: "builderio-variants-visibility",
8592
8596
  get scriptStr() {
8593
8597
  return updateCookieAndStylesScriptStr.value;
8594
8598
  },
8595
8599
  [_IMMUTABLE]: {
8600
+ id: _IMMUTABLE,
8596
8601
  scriptStr: _fnSignal((p0) => p0.value, [
8597
8602
  updateCookieAndStylesScriptStr
8598
8603
  ], "p0.value")
@@ -806,7 +806,7 @@ const InlinedStyles = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inl
806
806
  dangerouslySetInnerHTML: qwik._fnSignal((p0) => p0.styles, [
807
807
  props
808
808
  ], "p0.styles"),
809
- id: qwik._fnSignal((p0) => p0.id, [
809
+ "data-id": qwik._fnSignal((p0) => p0.id, [
810
810
  props
811
811
  ], "p0.id")
812
812
  }, null, 3, "NG_0");
@@ -875,10 +875,12 @@ const BlockStyles = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlin
875
875
  ]));
876
876
  return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
877
877
  children: css.value && canShowBlock.value ? /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
878
+ id: "builderio-block",
878
879
  get styles() {
879
880
  return css.value;
880
881
  },
881
882
  [qwik._IMMUTABLE]: {
883
+ id: qwik._IMMUTABLE,
882
884
  styles: qwik._fnSignal((p0) => p0.value, [
883
885
  css
884
886
  ], "p0.value")
@@ -1725,10 +1727,12 @@ const Columns = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQr
1725
1727
  ], "p0.value")
1726
1728
  }, [
1727
1729
  /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
1730
+ id: "builderio-columns",
1728
1731
  get styles() {
1729
1732
  return columnsStyles.value;
1730
1733
  },
1731
1734
  [qwik._IMMUTABLE]: {
1735
+ id: qwik._IMMUTABLE,
1732
1736
  styles: qwik._fnSignal((p0) => p0.value, [
1733
1737
  columnsStyles
1734
1738
  ], "p0.value")
@@ -4091,7 +4095,7 @@ const checkShouldRenderVariants = ({ canTrack, content }) => {
4091
4095
  };
4092
4096
  const getIsHydrationTarget = (target) => target === "react" || target === "reactNative";
4093
4097
  const isHydrationTarget = getIsHydrationTarget(TARGET);
4094
- const getScriptString = () => `
4098
+ const getInitVariantsFnsScriptString = () => `
4095
4099
  window.${UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME} = ${UPDATE_COOKIES_AND_STYLES_SCRIPT}
4096
4100
  window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME} = ${UPDATE_VARIANT_VISIBILITY_SCRIPT}
4097
4101
  `;
@@ -4107,9 +4111,9 @@ const InlinedScript = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inl
4107
4111
  dangerouslySetInnerHTML: qwik._fnSignal((p0) => p0.scriptStr, [
4108
4112
  props
4109
4113
  ], "p0.scriptStr"),
4110
- id: qwik._fnSignal((p0) => p0.id || "", [
4114
+ "data-id": qwik._fnSignal((p0) => p0.id, [
4111
4115
  props
4112
- ], 'p0.id||""')
4116
+ ], "p0.id")
4113
4117
  }, null, 3, "WO_0");
4114
4118
  }, "InlinedScript_component_hwThBdhA8rw"));
4115
4119
  function getGlobalThis() {
@@ -4243,7 +4247,8 @@ async function fetchOneEntry(options) {
4243
4247
  }
4244
4248
  const _fetchContent = async (options) => {
4245
4249
  const url = generateContentUrl(options);
4246
- const res = await fetch$1(url.href);
4250
+ const _fetch = options.fetch ?? fetch$1;
4251
+ const res = await _fetch(url.href, options.fetchOptions);
4247
4252
  const content = await res.json();
4248
4253
  return content;
4249
4254
  };
@@ -4496,7 +4501,7 @@ function isFromTrustedHost(trustedHosts, e) {
4496
4501
  const url = new URL(e.origin), hostname = url.hostname;
4497
4502
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4498
4503
  }
4499
- const SDK_VERSION = "0.14.9";
4504
+ const SDK_VERSION = "0.14.11";
4500
4505
  const registry = {};
4501
4506
  function register(type, info) {
4502
4507
  let typeList = registry[type];
@@ -5129,10 +5134,12 @@ ${getDefaultStyles(props.isNestedRender)}
5129
5134
  `.trim()
5130
5135
  });
5131
5136
  return /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
5137
+ id: "builderio-content",
5132
5138
  get styles() {
5133
5139
  return state.injectedStyles;
5134
5140
  },
5135
5141
  [qwik._IMMUTABLE]: {
5142
+ id: qwik._IMMUTABLE,
5136
5143
  styles: qwik._fnSignal((p0) => p0.injectedStyles, [
5137
5144
  state
5138
5145
  ], "p0.injectedStyles")
@@ -5263,10 +5270,12 @@ const ContentComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.
5263
5270
  },
5264
5271
  children: [
5265
5272
  props.isSsrAbTest ? /* @__PURE__ */ qwik._jsxC(InlinedScript, {
5273
+ id: "builderio-variant-visibility",
5266
5274
  get scriptStr() {
5267
5275
  return state.scriptStr;
5268
5276
  },
5269
5277
  [qwik._IMMUTABLE]: {
5278
+ id: qwik._IMMUTABLE,
5270
5279
  scriptStr: qwik._fnSignal((p0) => p0.scriptStr, [
5271
5280
  state
5272
5281
  ], "p0.scriptStr")
@@ -5432,40 +5441,36 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
5432
5441
  return /* @__PURE__ */ qwik._jsxC(qwik.Fragment, {
5433
5442
  children: [
5434
5443
  !props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */ qwik._jsxC(InlinedScript, {
5444
+ id: "builderio-init-variants-fns",
5435
5445
  get scriptStr() {
5436
- return getScriptString();
5446
+ return getInitVariantsFnsScriptString();
5437
5447
  },
5438
5448
  [qwik._IMMUTABLE]: {
5449
+ id: qwik._IMMUTABLE,
5439
5450
  scriptStr: qwik._IMMUTABLE
5440
5451
  }
5441
5452
  }, 3, "XM_0") : null,
5442
5453
  state.shouldRenderVariants ? /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
5443
5454
  children: [
5444
5455
  /* @__PURE__ */ qwik._jsxC(InlinedStyles, {
5445
- get id() {
5446
- var _a;
5447
- return `variants-styles-${(_a = props.content) == null ? void 0 : _a.id}`;
5448
- },
5456
+ id: "builderio-variants",
5449
5457
  get styles() {
5450
5458
  return hideVariantsStyleString.value;
5451
5459
  },
5452
5460
  [qwik._IMMUTABLE]: {
5453
- id: qwik._fnSignal((p0) => {
5454
- var _a;
5455
- return `variants-styles-${(_a = p0.content) == null ? void 0 : _a.id}`;
5456
- }, [
5457
- props
5458
- ], "`variants-styles-${p0.content?.id}`"),
5461
+ id: qwik._IMMUTABLE,
5459
5462
  styles: qwik._fnSignal((p0) => p0.value, [
5460
5463
  hideVariantsStyleString
5461
5464
  ], "p0.value")
5462
5465
  }
5463
5466
  }, 3, "XM_1"),
5464
5467
  /* @__PURE__ */ qwik._jsxC(InlinedScript, {
5468
+ id: "builderio-variants-visibility",
5465
5469
  get scriptStr() {
5466
5470
  return updateCookieAndStylesScriptStr.value;
5467
5471
  },
5468
5472
  [qwik._IMMUTABLE]: {
5473
+ id: qwik._IMMUTABLE,
5469
5474
  scriptStr: qwik._fnSignal((p0) => p0.value, [
5470
5475
  updateCookieAndStylesScriptStr
5471
5476
  ], "p0.value")
@@ -804,7 +804,7 @@ const InlinedStyles = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
804
804
  dangerouslySetInnerHTML: _fnSignal((p0) => p0.styles, [
805
805
  props
806
806
  ], "p0.styles"),
807
- id: _fnSignal((p0) => p0.id, [
807
+ "data-id": _fnSignal((p0) => p0.id, [
808
808
  props
809
809
  ], "p0.id")
810
810
  }, null, 3, "NG_0");
@@ -873,10 +873,12 @@ const BlockStyles = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
873
873
  ]));
874
874
  return /* @__PURE__ */ _jsxC(Fragment, {
875
875
  children: css.value && canShowBlock.value ? /* @__PURE__ */ _jsxC(InlinedStyles, {
876
+ id: "builderio-block",
876
877
  get styles() {
877
878
  return css.value;
878
879
  },
879
880
  [_IMMUTABLE]: {
881
+ id: _IMMUTABLE,
880
882
  styles: _fnSignal((p0) => p0.value, [
881
883
  css
882
884
  ], "p0.value")
@@ -1723,10 +1725,12 @@ const Columns = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
1723
1725
  ], "p0.value")
1724
1726
  }, [
1725
1727
  /* @__PURE__ */ _jsxC(InlinedStyles, {
1728
+ id: "builderio-columns",
1726
1729
  get styles() {
1727
1730
  return columnsStyles.value;
1728
1731
  },
1729
1732
  [_IMMUTABLE]: {
1733
+ id: _IMMUTABLE,
1730
1734
  styles: _fnSignal((p0) => p0.value, [
1731
1735
  columnsStyles
1732
1736
  ], "p0.value")
@@ -4089,7 +4093,7 @@ const checkShouldRenderVariants = ({ canTrack, content }) => {
4089
4093
  };
4090
4094
  const getIsHydrationTarget = (target) => target === "react" || target === "reactNative";
4091
4095
  const isHydrationTarget = getIsHydrationTarget(TARGET);
4092
- const getScriptString = () => `
4096
+ const getInitVariantsFnsScriptString = () => `
4093
4097
  window.${UPDATE_COOKIES_AND_STYLES_SCRIPT_NAME} = ${UPDATE_COOKIES_AND_STYLES_SCRIPT}
4094
4098
  window.${UPDATE_VARIANT_VISIBILITY_SCRIPT_FN_NAME} = ${UPDATE_VARIANT_VISIBILITY_SCRIPT}
4095
4099
  `;
@@ -4105,9 +4109,9 @@ const InlinedScript = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
4105
4109
  dangerouslySetInnerHTML: _fnSignal((p0) => p0.scriptStr, [
4106
4110
  props
4107
4111
  ], "p0.scriptStr"),
4108
- id: _fnSignal((p0) => p0.id || "", [
4112
+ "data-id": _fnSignal((p0) => p0.id, [
4109
4113
  props
4110
- ], 'p0.id||""')
4114
+ ], "p0.id")
4111
4115
  }, null, 3, "WO_0");
4112
4116
  }, "InlinedScript_component_hwThBdhA8rw"));
4113
4117
  function getGlobalThis() {
@@ -4241,7 +4245,8 @@ async function fetchOneEntry(options) {
4241
4245
  }
4242
4246
  const _fetchContent = async (options) => {
4243
4247
  const url = generateContentUrl(options);
4244
- const res = await fetch$1(url.href);
4248
+ const _fetch = options.fetch ?? fetch$1;
4249
+ const res = await _fetch(url.href, options.fetchOptions);
4245
4250
  const content = await res.json();
4246
4251
  return content;
4247
4252
  };
@@ -4494,7 +4499,7 @@ function isFromTrustedHost(trustedHosts, e) {
4494
4499
  const url = new URL(e.origin), hostname = url.hostname;
4495
4500
  return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
4496
4501
  }
4497
- const SDK_VERSION = "0.14.9";
4502
+ const SDK_VERSION = "0.14.11";
4498
4503
  const registry = {};
4499
4504
  function register(type, info) {
4500
4505
  let typeList = registry[type];
@@ -5127,10 +5132,12 @@ ${getDefaultStyles(props.isNestedRender)}
5127
5132
  `.trim()
5128
5133
  });
5129
5134
  return /* @__PURE__ */ _jsxC(InlinedStyles, {
5135
+ id: "builderio-content",
5130
5136
  get styles() {
5131
5137
  return state.injectedStyles;
5132
5138
  },
5133
5139
  [_IMMUTABLE]: {
5140
+ id: _IMMUTABLE,
5134
5141
  styles: _fnSignal((p0) => p0.injectedStyles, [
5135
5142
  state
5136
5143
  ], "p0.injectedStyles")
@@ -5261,10 +5268,12 @@ const ContentComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl
5261
5268
  },
5262
5269
  children: [
5263
5270
  props.isSsrAbTest ? /* @__PURE__ */ _jsxC(InlinedScript, {
5271
+ id: "builderio-variant-visibility",
5264
5272
  get scriptStr() {
5265
5273
  return state.scriptStr;
5266
5274
  },
5267
5275
  [_IMMUTABLE]: {
5276
+ id: _IMMUTABLE,
5268
5277
  scriptStr: _fnSignal((p0) => p0.scriptStr, [
5269
5278
  state
5270
5279
  ], "p0.scriptStr")
@@ -5430,40 +5439,36 @@ const ContentVariants = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
5430
5439
  return /* @__PURE__ */ _jsxC(Fragment$1, {
5431
5440
  children: [
5432
5441
  !props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */ _jsxC(InlinedScript, {
5442
+ id: "builderio-init-variants-fns",
5433
5443
  get scriptStr() {
5434
- return getScriptString();
5444
+ return getInitVariantsFnsScriptString();
5435
5445
  },
5436
5446
  [_IMMUTABLE]: {
5447
+ id: _IMMUTABLE,
5437
5448
  scriptStr: _IMMUTABLE
5438
5449
  }
5439
5450
  }, 3, "XM_0") : null,
5440
5451
  state.shouldRenderVariants ? /* @__PURE__ */ _jsxC(Fragment, {
5441
5452
  children: [
5442
5453
  /* @__PURE__ */ _jsxC(InlinedStyles, {
5443
- get id() {
5444
- var _a;
5445
- return `variants-styles-${(_a = props.content) == null ? void 0 : _a.id}`;
5446
- },
5454
+ id: "builderio-variants",
5447
5455
  get styles() {
5448
5456
  return hideVariantsStyleString.value;
5449
5457
  },
5450
5458
  [_IMMUTABLE]: {
5451
- id: _fnSignal((p0) => {
5452
- var _a;
5453
- return `variants-styles-${(_a = p0.content) == null ? void 0 : _a.id}`;
5454
- }, [
5455
- props
5456
- ], "`variants-styles-${p0.content?.id}`"),
5459
+ id: _IMMUTABLE,
5457
5460
  styles: _fnSignal((p0) => p0.value, [
5458
5461
  hideVariantsStyleString
5459
5462
  ], "p0.value")
5460
5463
  }
5461
5464
  }, 3, "XM_1"),
5462
5465
  /* @__PURE__ */ _jsxC(InlinedScript, {
5466
+ id: "builderio-variants-visibility",
5463
5467
  get scriptStr() {
5464
5468
  return updateCookieAndStylesScriptStr.value;
5465
5469
  },
5466
5470
  [_IMMUTABLE]: {
5471
+ id: _IMMUTABLE,
5467
5472
  scriptStr: _fnSignal((p0) => p0.value, [
5468
5473
  updateCookieAndStylesScriptStr
5469
5474
  ], "p0.value")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.14.9",
3
+ "version": "0.14.11",
4
4
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,7 +32,7 @@ type VariantData = {
32
32
  id: string;
33
33
  testRatio?: number;
34
34
  };
35
- export declare const getScriptString: () => string;
35
+ export declare const getInitVariantsFnsScriptString: () => string;
36
36
  export declare const getUpdateCookieAndStylesScript: (variants: VariantData[], contentId: string) => string;
37
37
  export declare const getUpdateVariantVisibilityScript: ({ contentId, variationId }: {
38
38
  variationId: string;
@@ -1,6 +1,6 @@
1
1
  interface Props {
2
2
  scriptStr: string;
3
- id?: string;
3
+ id: string;
4
4
  }
5
5
  export declare const InlinedScript: import("@builder.io/qwik").Component<Props>;
6
6
  export default InlinedScript;
@@ -1,6 +1,6 @@
1
1
  interface Props {
2
2
  styles: string;
3
- id?: string;
3
+ id: string;
4
4
  }
5
5
  export declare const InlinedStyles: import("@builder.io/qwik").Component<Props>;
6
6
  export default InlinedStyles;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.14.9";
1
+ export declare const SDK_VERSION = "0.14.11";
@@ -128,4 +128,12 @@ export interface GetContentOptions {
128
128
  * draft mode and un-archived. Default is false.
129
129
  */
130
130
  includeUnpublished?: boolean;
131
+ /**
132
+ * Optional override of the `fetch` function. (Defaults to global `fetch`)
133
+ */
134
+ fetch?: typeof global.fetch;
135
+ /**
136
+ * Optional fetch options to be passed to the `fetch` function.
137
+ */
138
+ fetchOptions?: RequestInit;
131
139
  }