@solid-labs/fab-one-widget 1.0.5 → 1.0.6

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.
@@ -3406,7 +3406,7 @@ let __tla = (async () => {
3406
3406
  U,
3407
3407
  j
3408
3408
  ]), K(() => {
3409
- l !== void 0 && (Ne.current = l), jn(true);
3409
+ l !== void 0 && (Ne.current = l), l !== void 0 && jn(true);
3410
3410
  }, [
3411
3411
  l
3412
3412
  ]);
@@ -4966,20 +4966,24 @@ let __tla = (async () => {
4966
4966
  K(() => {
4967
4967
  if (n != null) return;
4968
4968
  let e = false;
4969
- return (async () => {
4969
+ const m = async (d) => {
4970
4970
  try {
4971
- const m = await import("./geo_wasm-CDwm1q1Z.js");
4972
- await m.default(), e || s(m);
4973
- } catch (m) {
4974
- console.error("[GirthManagerWidget] Failed to auto-load WASM:", m);
4971
+ const f = await import("./geo_wasm-CDwm1q1Z.js");
4972
+ await f.default(), e || s(f);
4973
+ } catch (f) {
4974
+ if (d < 2 && !e) {
4975
+ const u = (d + 1) * 1e3 + d * 1e3;
4976
+ if (console.warn(`[GirthManagerWidget] WASM load failed (attempt ${d + 1}/3), retrying in ${u}ms...`, f), await new Promise((x) => setTimeout(x, u)), !e) return m(d + 1);
4977
+ } else console.error("[GirthManagerWidget] WASM load failed after 3 attempts:", f);
4975
4978
  }
4976
- })(), () => {
4979
+ };
4980
+ return m(0), () => {
4977
4981
  e = true;
4978
4982
  };
4979
4983
  }, [
4980
4984
  n
4981
4985
  ]);
4982
- const a = n ?? o, c = H(() => br(t.form_measurements, t.spacing_type), [
4986
+ const a = n !== void 0 ? n : o ?? void 0, c = H(() => br(t.form_measurements, t.spacing_type), [
4983
4987
  t.form_measurements,
4984
4988
  t.spacing_type
4985
4989
  ]), l = (e) => {