forgecad 0.9.8 → 0.9.9

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.
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, L as Link } from "./vendor-react-Da3A2QmU.js";
2
- import { u as useAuthStore } from "./app-Dn4EwHhN.js";
2
+ import { u as useAuthStore } from "./app-BjSEB4sY.js";
3
3
  function formatUptime(seconds) {
4
4
  const d = Math.floor(seconds / 86400);
5
5
  const h = Math.floor(seconds % 86400 / 3600);
@@ -1,5 +1,5 @@
1
1
  import { u as useParams, j as jsxRuntimeExports, L as Link } from "./vendor-react-Da3A2QmU.js";
2
- import { B as BrandMark } from "./app-Dn4EwHhN.js";
2
+ import { B as BrandMark } from "./app-BjSEB4sY.js";
3
3
  const POSTS = [
4
4
  {
5
5
  slug: "hello-forgecad-io",
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4
4
  var _a;
5
5
  import { u as useParams, f as useNavigate, r as reactExports, j as jsxRuntimeExports, L as Link } from "./vendor-react-Da3A2QmU.js";
6
6
  import { H as HighlightJS, j as javascript$1 } from "./javascript-70-4uGcz.js";
7
- import { a as applyTheme } from "./app-Dn4EwHhN.js";
7
+ import { a as applyTheme } from "./app-BjSEB4sY.js";
8
8
  function M() {
9
9
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
10
10
  }
@@ -1,9 +1,9 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-CsHnaBWt.css"])))=>i.map(i=>d[i]);
2
2
  import { r as reactExports, j as jsxRuntimeExports, R as React, f as useNavigate, c as create$1 } from "./vendor-react-Da3A2QmU.js";
3
- import { c8 as generateCuttingLayoutPdf, aB as getShapeCompilePlan, c9 as getCameraForwardVector, ca as RENDER_STYLE_OPTIONS, _ as __vitePreload, $ as Matrix4, bC as getSketchWorldMatrix, G as Box3, A as ACESFilmicToneMapping, b3 as shapeToGeometry, D as DoubleSide, cb as initKernelManifoldOnly, bT as initSolverWasm, bS as initKernel } from "./scalar-sampling-budget-iBAeF8RM.js";
4
- import { u as useAuthStore, c as authApi, d as showToast, A as AuthApiError, e as useProjectStore, t as triggerDownload, g as useForgeStore, r as readProjectFilesFromDataTransfer, h as hasImports, i as collectDependencies, j as buildBundleShareUrl, k as buildBundleEmbedUrl, l as buildShareUrl, m as buildEmbedUrl, n as fileSystem, o as useFeatureFlagStore, p as fetchGistModel, q as fetchUrlModel, F as FLAG_DEFINITIONS, v as exportMeshFromStore, w as exportReportFromStore, x as exportOrbitVideoFromStore, y as exportSketchFromStore, z as buildGistShareUrl, C as exportExactFromStore, D as deriveExportStem, b as authFetch, E as storageQuotaUpgradeMessage, G as isImportableProjectMeshFile, H as isImportableProjectBinaryFile, I as hasExternalFiles, J as isImportableProjectExactFile, K as resolvePreviewFile, L as countParamSnapshotDiff, M as buildEmbedSnippet, a as applyTheme, N as themes, O as formatArea, P as sliderToAnimationSpeed, Q as animationSpeedToSlider, R as formatAnimationSpeed, S as resolveJointRange, T as useJointsConfig, U as useJointAnimationValues, V as INSPECT_POINT_SAMPLE_COUNT_MAX, W as INSPECT_POINT_SAMPLE_COUNT_MIN, X as expandBoundsByTransformedAabb, Y as Canvas, Z as PerspectiveCamera, _ as ControlsInteractionBridge, $ as ViewController, a0 as SceneConfigurator, a1 as LocalStudioEnvironment, a2 as RenderLabelsOverlay, a3 as Grid, a4 as OrbitControls, a5 as TOUCH_GESTURES_3D, a6 as MOUSE_BUTTONS_3D, a7 as ModelJourneyBar, a8 as FOCUS_MODE_DIM_OPACITY, a9 as useJointAnimationLoop, aa as computeJointNodeMatrices, ab as computeObjectJointMatrices, ac as readLastActiveFileForUser, ad as ToastContainer, ae as isMobile, af as useFeatureFlag, ag as decodeSharedHash, ah as decodeSharedBundle, ai as getExternalUrl, aj as getGistId, ak as Viewport, al as shouldBlockBrowserShortcut, am as useDrawStore, an as storePendingShareCopy } from "./app-Dn4EwHhN.js";
3
+ import { ck as generateCuttingLayoutPdf, aB as getShapeCompilePlan, cl as getCameraForwardVector, cm as RENDER_STYLE_OPTIONS, _ as __vitePreload, $ as Matrix4, bG as getSketchWorldMatrix, G as Box3, A as ACESFilmicToneMapping, b3 as shapeToGeometry, D as DoubleSide, cn as initKernelManifoldOnly, bX as initSolverWasm, bW as initKernel } from "./scalar-sampling-budget-Bmewod18.js";
4
+ import { u as useAuthStore, c as authApi, d as showToast, A as AuthApiError, e as useProjectStore, t as triggerDownload, g as useForgeStore, r as readProjectFilesFromDataTransfer, h as hasImports, i as collectDependencies, j as buildBundleShareUrl, k as buildBundleEmbedUrl, l as buildShareUrl, m as buildEmbedUrl, n as fileSystem, o as useFeatureFlagStore, p as fetchGistModel, q as fetchUrlModel, F as FLAG_DEFINITIONS, v as exportMeshFromStore, w as exportReportFromStore, x as exportOrbitVideoFromStore, y as exportSketchFromStore, z as buildGistShareUrl, C as exportExactFromStore, D as deriveExportStem, b as authFetch, E as storageQuotaUpgradeMessage, G as isImportableProjectMeshFile, H as isImportableProjectBinaryFile, I as hasExternalFiles, J as isImportableProjectExactFile, K as resolvePreviewFile, L as countParamSnapshotDiff, M as buildEmbedSnippet, a as applyTheme, N as themes, O as formatArea, P as sliderToAnimationSpeed, Q as animationSpeedToSlider, R as formatAnimationSpeed, S as resolveJointRange, T as useJointsConfig, U as useJointAnimationValues, V as INSPECT_POINT_SAMPLE_COUNT_MAX, W as INSPECT_POINT_SAMPLE_COUNT_MIN, X as expandBoundsByTransformedAabb, Y as Canvas, Z as PerspectiveCamera, _ as ControlsInteractionBridge, $ as ViewController, a0 as SceneConfigurator, a1 as LocalStudioEnvironment, a2 as RenderLabelsOverlay, a3 as Grid, a4 as OrbitControls, a5 as TOUCH_GESTURES_3D, a6 as MOUSE_BUTTONS_3D, a7 as ModelJourneyBar, a8 as FOCUS_MODE_DIM_OPACITY, a9 as useJointAnimationLoop, aa as computeJointNodeMatrices, ab as computeObjectJointMatrices, ac as readLastActiveFileForUser, ad as ToastContainer, ae as isMobile, af as useFeatureFlag, ag as decodeSharedHash, ah as decodeSharedBundle, ai as getExternalUrl, aj as getGistId, ak as Viewport, al as shouldBlockBrowserShortcut, am as useDrawStore, an as storePendingShareCopy } from "./app-BjSEB4sY.js";
5
5
  import { a as PRODUCTION_EXPORT_COPY } from "./copy-CQKQppF-.js";
6
- import { f as formatRenderSceneCliSpec } from "./renderSceneState-BIvOkPK3.js";
6
+ import { f as formatRenderSceneCliSpec } from "./renderSceneState-CWO8rHlt.js";
7
7
  import { H as HighlightJS, j as javascript } from "./javascript-70-4uGcz.js";
8
8
  const RESEND_COOLDOWN_S = 60;
9
9
  function EmailVerificationBanner() {
@@ -9882,7 +9882,7 @@ function MobileCommandPalette({ onClose, onOpenFilePicker, onOpenJoints }) {
9882
9882
  const match = input.match(/gist\.github\.com\/(?:[^/]+\/)?([a-f0-9]+)/i);
9883
9883
  const gistId = match ? match[1] : input.trim();
9884
9884
  __vitePreload(async () => {
9885
- const { fetchGistModel: fetchGistModel2 } = await import("./app-Dn4EwHhN.js").then((n) => n.ao);
9885
+ const { fetchGistModel: fetchGistModel2 } = await import("./app-BjSEB4sY.js").then((n) => n.ao);
9886
9886
  return { fetchGistModel: fetchGistModel2 };
9887
9887
  }, true ? __vite__mapDeps([0]) : void 0).then(
9888
9888
  ({ fetchGistModel: fetchGistModel2 }) => fetchGistModel2(gistId).then((model) => {
@@ -9900,7 +9900,7 @@ function MobileCommandPalette({ onClose, onOpenFilePicker, onOpenJoints }) {
9900
9900
  const input = window.prompt("Paste a URL to a .forge.js file:");
9901
9901
  if (!input) return;
9902
9902
  __vitePreload(async () => {
9903
- const { fetchUrlModel: fetchUrlModel2 } = await import("./app-Dn4EwHhN.js").then((n) => n.ao);
9903
+ const { fetchUrlModel: fetchUrlModel2 } = await import("./app-BjSEB4sY.js").then((n) => n.ao);
9904
9904
  return { fetchUrlModel: fetchUrlModel2 };
9905
9905
  }, true ? __vite__mapDeps([0]) : void 0).then(
9906
9906
  ({ fetchUrlModel: fetchUrlModel2 }) => fetchUrlModel2(input.trim()).then((model) => {
@@ -1,6 +1,6 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "./vendor-react-Da3A2QmU.js";
2
- import { bS as initKernel, bT as initSolverWasm } from "./scalar-sampling-budget-iBAeF8RM.js";
3
- import { g as useForgeStore, ai as getExternalUrl, aj as getGistId, q as fetchUrlModel, p as fetchGistModel, l as buildShareUrl, B as BrandMark, ak as Viewport } from "./app-Dn4EwHhN.js";
2
+ import { bW as initKernel, bX as initSolverWasm } from "./scalar-sampling-budget-Bmewod18.js";
3
+ import { g as useForgeStore, ai as getExternalUrl, aj as getGistId, q as fetchUrlModel, p as fetchGistModel, l as buildShareUrl, B as BrandMark, ak as Viewport } from "./app-BjSEB4sY.js";
4
4
  function EmbedViewer() {
5
5
  const kernelReady = useForgeStore((s) => s.kernelReady);
6
6
  const setKernelReady = useForgeStore((s) => s.setKernelReady);
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, L as Link } from "./vendor-react-Da3A2QmU.js";
2
- import { B as BrandMark } from "./app-Dn4EwHhN.js";
2
+ import { B as BrandMark } from "./app-BjSEB4sY.js";
3
3
  /* empty css */
4
4
  const LINKS = {
5
5
  glasses: {
@@ -1,5 +1,5 @@
1
1
  import { f as useNavigate, r as reactExports, j as jsxRuntimeExports, L as Link } from "./vendor-react-Da3A2QmU.js";
2
- import { u as useAuthStore, b as authFetch, B as BrandMark } from "./app-Dn4EwHhN.js";
2
+ import { u as useAuthStore, b as authFetch, B as BrandMark } from "./app-BjSEB4sY.js";
3
3
  import { C as COMMERCIAL_USE_CASES } from "./copy-CQKQppF-.js";
4
4
  /* empty css */
5
5
  function checkoutIntentPath(interval) {
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, L as Link } from "./vendor-react-Da3A2QmU.js";
2
- import { u as useAuthStore, b as authFetch, s as storageUsagePercent, f as formatStorageBytes } from "./app-Dn4EwHhN.js";
2
+ import { u as useAuthStore, b as authFetch, s as storageUsagePercent, f as formatStorageBytes } from "./app-BjSEB4sY.js";
3
3
  import { C as COMMERCIAL_USE_CASES, P as PRO_STORAGE_UPGRADE_COPY } from "./copy-CQKQppF-.js";
4
4
  function timeAgo(dateStr) {
5
5
  const ms = Date.now() - new Date(dateStr).getTime();