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

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
  ]);
@@ -3642,12 +3642,12 @@ let __tla = (async () => {
3642
3642
  En(y), kt(y.circumferences), Ft(true), Ut(true);
3643
3643
  }, []), sn = Q(async (y) => {
3644
3644
  if (!s) return;
3645
- it(false), Pt(false), lt(true);
3646
3645
  const D = e ? await Promise.race([
3647
3646
  et(),
3648
3647
  new Promise((R) => setTimeout(() => R(void 0), 8e3))
3649
3648
  ]).catch(() => {
3650
3649
  }) : void 0;
3650
+ it(false), Pt(false), lt(true);
3651
3651
  try {
3652
3652
  s({
3653
3653
  spacingType: P ?? "BK",
@@ -3695,12 +3695,12 @@ let __tla = (async () => {
3695
3695
  ]);
3696
3696
  const Bt = Q(async (y) => {
3697
3697
  if (!s || !e || j.length === 0 || !P) return;
3698
- lt(true);
3699
3698
  const D = await Promise.race([
3700
3699
  et(),
3701
3700
  new Promise((R) => setTimeout(() => R(void 0), 8e3))
3702
3701
  ]).catch(() => {
3703
3702
  });
3703
+ lt(true);
3704
3704
  try {
3705
3705
  let R = 0, W = 0;
3706
3706
  if (T.length >= 2) {
@@ -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) => {